Skip to content

Commit a89a8e9

Browse files
dependabot[bot]github-actions[bot]mfranzke
authored
chore(deps-dev): bump prettier from 3.6.2 to 3.7.3 in the prettier group (#5550)
* chore(deps-dev): bump prettier from 3.6.2 to 3.7.2 in the prettier group Bumps the prettier group with 1 update: [prettier](https://github.com/prettier/prettier). Updates `prettier` from 3.6.2 to 3.7.2 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.6.2...3.7.2) --- updated-dependencies: - dependency-name: prettier dependency-version: 3.7.2 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: prettier ... Signed-off-by: dependabot[bot] <support@github.com> * auto format code (#5551) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update _variables.scss --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Maximilian Franzke <Maximilian.Franzke@deutschebahn.com> Co-authored-by: Maximilian Franzke <787658+mfranzke@users.noreply.github.com>
1 parent d7a1fd7 commit a89a8e9

File tree

13 files changed

+66
-65
lines changed

13 files changed

+66
-65
lines changed

docs/migration/alpha-beta.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ The prop labelVariant for form-components (input, checkbox, ...) has been rename
3636
| -------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
3737
| 🔄 renamed `db-alert` to `db-notification` | renamed `alert` to `notification` and add/changed some additional properties | 1. Replace `DBAlert`, `db-alert` by `DBNotification` / `db-notification`<br/>2. `Link` was removed, add a normal `a` or `DBLink` to the `slotLink`<br/>3. `props.type` has been changed to `props.variant`<br/>4. `onClick` has been changed to `onClose` |
3838
| 🔄 renamed `db-main-navigation` to `db-navigation` | renamed `main-navigation` to `navigation` | Replace `DBMainNavigation`, `db-main-navigation` by `DBNavigation` / `db-navigation` |
39-
| 🔄 changed `db-button` variants | We renamed the variants for the button | `primary``brand`<br/>`solid``filled`<br/>`text``ghost` |
40-
| 🔄 changed `db-card` elevation | We replaced the box-shadow elevation with bg-level | 1. `props.elevation``props.elevationLevel` (1,2,3) <br/>2. `props.variant``props.behaviour` <br/>3. Removed card-image |
39+
| 🔄 changed `db-button` variants | We renamed the variants for the button | `primary``brand`<br/>`solid``filled`<br/>`text``ghost` |
40+
| 🔄 changed `db-card` elevation | We replaced the box-shadow elevation with bg-level | 1. `props.elevation``props.elevationLevel` (1,2,3) <br/>2. `props.variant``props.behaviour` <br/>3. Removed card-image |
4141
| 🆕 valid/invalid message form-components | We add additional messages for `required` form-components like `DBInput` etc. | Use `validMessage="XXX"` and `invalidMessage="XXX"` to display the required information for form-components. Otherwise you will see a default message with a `TODO: ...` |
42-
| 🔄 changed `db-link` variant | We renamed the variants for the link | `primary``brand` |
42+
| 🔄 changed `db-link` variant | We renamed the variants for the link | `primary``brand` |
4343
| ❌ removed `data-variant="information/critical/..."` for form-components like `input`, `select` and `textarea` | We don't support the colors changes anymore. Use `required`, `pattern`, `min` etc. to trigger `user-valid` for green and red components | `data-variant` changes the label variant now |
4444
| 🔄 changed `db-accordion` title | We replaced `title` with `headlinePlain` because there is already a html default `title`, which caused trouble | Rename `title` to `headlinePlain` or use the slot `headline` |
4545
| ❌ removed prop `areaPopup` from `db-navigation-item` | We no longer support opening sub-navigations from via prop. | There is no alternative at the moment. |
46-
| 🔄 changed `db-header` slot names | The slot names for "action" containers changed | 1. `callToAction``primaryAction` <br/>2. `actionBar``secondaryAction` |
46+
| 🔄 changed `db-header` slot names | The slot names for "action" containers changed | 1. `callToAction``primaryAction` <br/>2. `actionBar``secondaryAction` |
4747
| 🔄 renamed `size` & `variant` in `db-section` | The properties `size` and `variant` in `db-section` were renamed to `spacing` & `width` to align it with other components | Search for every `db-section` and replace `size` with `spacing` and `variant` with `width` |
4848

4949
### React

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
"playwright-core": "1.56.1",
138138
"postcss": "8.5.6",
139139
"postcss-cli": "11.0.1",
140-
"prettier": "3.6.2",
140+
"prettier": "3.7.3",
141141
"prettier-plugin-organize-imports": "4.3.0",
142142
"prettier-plugin-pkg": "0.21.2",
143143
"publint": "0.3.15",

packages/agent-cli/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ _version bump_
3636
### Patch Changes
3737

3838
- chore: update instructions files for better copilot outputs - [see commit e4bc905](https://github.com/db-ux-design-system/core-web/commit/e4bc90508479387371d816d5776f9f568aa5fb82):
39-
- fix: add some missing variables
39+
- fix: add some missing variables
4040

4141
## 4.0.1
4242

@@ -59,4 +59,4 @@ _version bump_
5959
### Patch Changes
6060

6161
- enabled [`@db-ux/agent-cli`](https://www.npmjs.com/package/@db-ux/agent-cli) for every package - [see commit 0233048](https://github.com/db-ux-design-system/core-web/commit/023304869e61f5a506dca66a22d69e5f3d70f4d0):
62-
- auto-generate/auto-update `.github/copilot-instructions.md`, to ensure GitHub Copilot uses DB UX Components for code generation
62+
- auto-generate/auto-update `.github/copilot-instructions.md`, to ensure GitHub Copilot uses DB UX Components for code generation

packages/components/CHANGELOG.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ _version bump_
3131
- refactor(notification): update and simplify grid layout for block link variant - [see commit cb83f96](https://github.com/db-ux-design-system/core-web/commit/cb83f966eaf29c85b4cf0079750bdd563f216d6e)
3232

3333
- fix(DBCustomSelect): properly announce selected options - [see commit 773edeb](https://github.com/db-ux-design-system/core-web/commit/773edeb943a085eb79e1c8d59059137b2830fbf0):
34-
- feat(DBCustomSelect): introduce new property `selectedPrefix`
34+
- feat(DBCustomSelect): introduce new property `selectedPrefix`
3535

3636
### Patch Changes
3737

3838
- fix(DBCustomSelect): automatically handle form reset events - [see commit 6af5246](https://github.com/db-ux-design-system/core-web/commit/6af5246b3b2e6febdc6ff6342ba1a8eb10184d14):
39-
- An event listener is now added for every form component (input, custom-select, etc.) when a `form` property is passed.
40-
- This listener detects form resets and updates the component's internal value/checked state accordingly.
41-
- > **Note**: This does not work for `ngModel` in Angular.
39+
- An event listener is now added for every form component (input, custom-select, etc.) when a `form` property is passed.
40+
- This listener detects form resets and updates the component's internal value/checked state accordingly.
41+
- > **Note**: This does not work for `ngModel` in Angular.
4242
4343
- fix(button): Replace fixed height with min-height for buttons to allow dynamic height adjustment when text wraps - [see commit d1fd2c4](https://github.com/db-ux-design-system/core-web/commit/d1fd2c4e58a5ed6f75fab44700cd2d93c7232474)
4444

@@ -61,7 +61,7 @@ _version bump_
6161
### Patch Changes
6262

6363
- chore: update instructions files for better copilot outputs - [see commit e4bc905](https://github.com/db-ux-design-system/core-web/commit/e4bc90508479387371d816d5776f9f568aa5fb82):
64-
- fix: add some missing variables
64+
- fix: add some missing variables
6565

6666
- fix(card): Remove the obsolete but harmful declaration regarding wrapping button and link styles. - [see commit 34c78df](https://github.com/db-ux-design-system/core-web/commit/34c78dffd4f43b0ac740574358b426a562e05cd0)
6767

@@ -76,9 +76,9 @@ _version bump_
7676
### Major Changes
7777

7878
- feat: Switch stable rework - [see commit cb2deb0](https://github.com/db-ux-design-system/core-web/commit/cb2deb0f1c54900d1967483aea05d81279c02f59):
79-
- **BREAKING CHANGE**: remove `emphasis` property
80-
- introduce validation (invalid and valid)
81-
- configurable label position
79+
- **BREAKING CHANGE**: remove `emphasis` property
80+
- introduce validation (invalid and valid)
81+
- configurable label position
8282

8383
- **BREAKING CHANGE**: refactor(Custom Select): renamed `ariaListLabel` property to `listLabel` - [see commit 966d5ad](https://github.com/db-ux-design-system/core-web/commit/966d5ad01f00d0ca1707cc316a63e2d431fff1e9)
8484

@@ -97,30 +97,30 @@ _version bump_
9797
### Patch Changes
9898

9999
- fix(DBTabs): ensure navigation arrows appear correctly on window resize - [see commit 4e65e00](https://github.com/db-ux-design-system/core-web/commit/4e65e00d280cae18baee03b5a7a9b13eec063835):
100-
- This update resolves an issue where navigation arrows in DBTabs would not appear or update correctly when the window was resized. The component now properly responds to resize events, ensuring arrows are always shown or hidden as needed.
100+
- This update resolves an issue where navigation arrows in DBTabs would not appear or update correctly when the window was resized. The component now properly responds to resize events, ensuring arrows are always shown or hidden as needed.
101101

102102
- fix(select): jumping placeholder for label above - [see commit 7ed8d22](https://github.com/db-ux-design-system/core-web/commit/7ed8d2225102e0e9044437e95917e11eef4bc73f)
103103

104104
- enabled [`@db-ux/agent-cli`](https://www.npmjs.com/package/@db-ux/agent-cli) for every package - [see commit 0233048](https://github.com/db-ux-design-system/core-web/commit/023304869e61f5a506dca66a22d69e5f3d70f4d0):
105-
- auto-generate/auto-update `.github/copilot-instructions.md`, to ensure GitHub Copilot uses DB UX Components for code generation
105+
- auto-generate/auto-update `.github/copilot-instructions.md`, to ensure GitHub Copilot uses DB UX Components for code generation
106106

107107
## 3.1.17
108108

109109
### Patch Changes
110110

111111
- fix: color mode for textarea resizer control set by color-mode-switch documentation UI component - [see commit 354e270](https://github.com/db-ux-design-system/core-web/commit/354e27029a4378288a97ed5e31b75c11758f0c01)
112112
- refactor: enabling `hidden` HTML attribute in every context in which we need to set overwriting styling declarations (`display`) - [see commit 4826455](https://github.com/db-ux-design-system/core-web/commit/4826455637590b6ae780afb93abb9effe9380342)
113-
- @db-ux/core-foundations@3.1.17
113+
- @db-ux/core-foundations@3.1.17
114114

115115
## 3.1.16
116116

117117
### Patch Changes
118118

119119
- a28eb71: fix(custom-select): keyboard navigation for option groups in single-select mode - [see commit 6d60bab](https://github.com/db-ux-design-system/core-web/commit/6d60bab2eb87f16a9ffa942085bffd658564769c):
120-
- Fixes a keyboard accessibility issue where users could not navigate to options in subsequent option groups using arrow keys in single-select mode.
121-
- Now, all options are accessible via keyboard regardless of group boundaries.
120+
- Fixes a keyboard accessibility issue where users could not navigate to options in subsequent option groups using arrow keys in single-select mode.
121+
- Now, all options are accessible via keyboard regardless of group boundaries.
122122
- fix: JS framework core-components packages are missing `@db-ux` dependencies - [see commit 49df866](https://github.com/db-ux-design-system/core-web/commit/49df866e753a9459f5acdca4ad1e19141b477471)
123-
- @db-ux/core-foundations@3.1.16
123+
- @db-ux/core-foundations@3.1.16
124124

125125
## 3.1.15
126126

@@ -129,4 +129,4 @@ _version bump_
129129
- 262964b: fix(Switch): double event firing with Angular signals
130130
- 262964b: fix(CustomSelect): tags remaining visible when form values are reset
131131
- 262964b: fix(CustomSelect): custom removeTagsTexts are not applied correctly
132-
- @db-ux/core-foundations@3.1.15
132+
- @db-ux/core-foundations@3.1.15

packages/components/src/components/drawer/drawer.spec.tsx

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,13 @@ const testComponent = (viewport) => {
1515
await expect(component).toContainText('Test');
1616
});
1717

18-
test.fixme(
19-
`should match screenshot for device ${viewport.name}`,
20-
async ({ mount }) => {
21-
const component = await mount(comp);
22-
// TODO: Screenshots are not captured for top-layer
23-
await expect(component).toHaveScreenshot();
24-
}
25-
);
18+
test.fixme(`should match screenshot for device ${viewport.name}`, async ({
19+
mount
20+
}) => {
21+
const component = await mount(comp);
22+
// TODO: Screenshots are not captured for top-layer
23+
await expect(component).toHaveScreenshot();
24+
});
2625
};
2726

2827
const testA11y = () => {

packages/components/src/components/switch/switch.spec.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ test.describe('DBSwitch', () => {
3636

3737
test('should toggle on ENTER key press', async ({ mount, page }) => {
3838
const component = await mount(<DBSwitch>Test Switch</DBSwitch>);
39-
const input = component.locator('input[type="checkbox"][role="switch"]');
39+
const input = component.locator(
40+
'input[type="checkbox"][role="switch"]'
41+
);
4042

4143
// Initially unchecked
4244
await expect(input).not.toBeChecked();

packages/components/src/utils/navigation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const isEventTargetNavigationItem = (event: unknown): boolean => {
1313
const { target } = event as { target: HTMLElement };
1414
return Boolean(
1515
!target?.classList?.contains('db-navigation-item-expand-button') &&
16-
target?.parentElement?.classList.contains('db-navigation-item')
16+
target?.parentElement?.classList.contains('db-navigation-item')
1717
);
1818
};
1919

0 commit comments

Comments
 (0)