@db-ux/core-components 4.0.2 → 4.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/CHANGELOG.md +19 -7
  2. package/agent/Best-Practise_Common-AI-Mistakes.md +15 -0
  3. package/agent/_instructions.md +2 -13
  4. package/build/components/brand/brand.scss +2 -2
  5. package/build/components/custom-select-list/custom-select-list.css +1 -3
  6. package/build/components/custom-select-list/custom-select-list.scss +2 -4
  7. package/build/components/drawer/drawer.css +4 -8
  8. package/build/components/drawer/drawer.scss +5 -4
  9. package/build/components/icon/icon.scss +2 -2
  10. package/build/components/infotext/infotext.scss +2 -2
  11. package/build/components/navigation/navigation.css +1 -3
  12. package/build/components/navigation/navigation.scss +3 -4
  13. package/build/components/notification/notification-grid-non-overlay.scss +1 -3
  14. package/build/components/notification/notification.css +1 -1
  15. package/build/components/notification/notification.scss +2 -2
  16. package/build/components/page/page.css +35 -0
  17. package/build/components/page/page.scss +4 -4
  18. package/build/components/popover/popover.scss +2 -2
  19. package/build/components/select/select.css +1 -1
  20. package/build/components/select/select.scss +1 -2
  21. package/build/components/tab-list/tab-list.css +1 -3
  22. package/build/components/tab-list/tab-list.scss +1 -2
  23. package/build/components/tab-panel/tab-panel.css +35 -0
  24. package/build/components/tab-panel/tab-panel.scss +2 -2
  25. package/build/components/tabs/tabs.scss +4 -4
  26. package/build/styles/absolute.css +4 -4
  27. package/build/styles/index.css +4 -4
  28. package/build/styles/internal/_button-components.scss +2 -2
  29. package/build/styles/relative.css +4 -4
  30. package/build/styles/rollup.css +4 -4
  31. package/build/styles/webpack.css +4 -4
  32. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,15 +1,27 @@
1
1
  # @db-ux/core-components
2
2
 
3
+ ## 4.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: hide-animation for drawer - [see commit d4a73fa](https://github.com/db-ux-design-system/core-web/commit/d4a73fa9faba38b6f20fda6f7c85d5c6617793fe)
8
+
9
+ ## 4.0.3
10
+
11
+ ### Patch Changes
12
+
13
+ - chore: generate Amazon Q rule file with [`@db-ux/agent-cli` node package](https://www.npmjs.com/package/@db-ux/agent-cli) - [see commit b61c8b1](https://github.com/db-ux-design-system/core-web/commit/b61c8b14992f5a5b3615c6bff74018d5682aa0cc)
14
+
3
15
  ## 4.0.2
4
16
 
5
17
  ### Patch Changes
6
18
 
7
- - chore: update instructions files for better copilot outputs - [see commit 797a114](https://github.com/db-ux-design-system/core-web/commit/797a114d7abc680667276f8ffc2f7f4482d89d3e):
19
+ - chore: update instructions files for better copilot outputs - [see commit e4bc905](https://github.com/db-ux-design-system/core-web/commit/e4bc90508479387371d816d5776f9f568aa5fb82):
8
20
  - fix: add some missing variables
9
21
 
10
- - fix(card): Remove the obsolete but harmful declaration regarding wrapping button and link styles. - [see commit 797a114](https://github.com/db-ux-design-system/core-web/commit/797a114d7abc680667276f8ffc2f7f4482d89d3e)
22
+ - 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)
11
23
 
12
- - Set border of select, textarea, custom select and input to corresponding color when in/valid state is set. - [see commit 797a114](https://github.com/db-ux-design-system/core-web/commit/797a114d7abc680667276f8ffc2f7f4482d89d3e)
24
+ - Set border of select, textarea, custom select and input to corresponding color when in/valid state is set. - [see commit 2a02263](https://github.com/db-ux-design-system/core-web/commit/2a022632f8fea7445e77fb632f109d6cd093e2d3)
13
25
 
14
26
  ## 4.0.1
15
27
 
@@ -52,18 +64,18 @@ _version bump_
52
64
 
53
65
  ### Patch Changes
54
66
 
55
- - 0c20c00: fix: color mode for textarea resizer control set by color-mode-switch documentation UI component
56
- - 0c20c00: refactor: enabling `hidden` HTML attribute in every context in which we need to set overwriting styling declarations (`display`)
67
+ - 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)
68
+ - 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)
57
69
  - @db-ux/core-foundations@3.1.17
58
70
 
59
71
  ## 3.1.16
60
72
 
61
73
  ### Patch Changes
62
74
 
63
- - a28eb71: fix(custom-select): keyboard navigation for option groups in single-select mode:
75
+ - 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):
64
76
  - Fixes a keyboard accessibility issue where users could not navigate to options in subsequent option groups using arrow keys in single-select mode.
65
77
  - Now, all options are accessible via keyboard regardless of group boundaries.
66
- - a28eb71: fix: JS framework core-components packages are missing `@db-ux` dependencies
78
+ - 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)
67
79
  - @db-ux/core-foundations@3.1.16
68
80
 
69
81
  ## 3.1.15
@@ -0,0 +1,15 @@
1
+ # Best Practise / Common AI mistakes
2
+
3
+ ## `DBButton` or `db-button`
4
+
5
+ - available variants are `outlined`, `brand`, `filled`, `ghost`
6
+ - always use variant `outlined` as default
7
+ - use variant `brand` as CTA or primary action
8
+ - if `noText`/`no-text` property is used add a `DBTooltip` or `db-tooltip` inside the Button
9
+ - always add a `type` as property as best practise
10
+ - there is no `size=large` button
11
+
12
+ ## `DBStack` or `db-stack`
13
+
14
+ - there is no property `gap="fix-md"`, available values are `small`, `medium`, etc.
15
+ - there is no property `direction="horizontal"`, available values are `row`, `column`, etc.
@@ -1,14 +1,3 @@
1
- ## Common AI mistakes
1
+ ## Best Practise / Common AI mistakes
2
2
 
3
- ### `DBButton` or `db-button`
4
-
5
- - available variants are `outlined`, `brand`, `filled`, `ghost`
6
- - always use variant `outlined` as default
7
- - use variant `brand` as CTA or primary action
8
- - if `noText`/`no-text` property is used add a `DBTooltip` or `db-tooltip` inside the Button
9
- - always add a `type` as property as best practise
10
-
11
- ### `DBStack` or `db-stack`
12
-
13
- - there is no property `gap="fix-md"`, available values are `small`, `medium`, etc.
14
- - there is no property `direction="horizontal"`, available values are `row`, `column`, etc.
3
+ - always read this file if you use Components: `**agent-path**/agent/Best-Practise_Common-AI-Mistakes.md`
@@ -1,11 +1,11 @@
1
1
  @use "@db-ux/core-foundations/build/styles/variables";
2
2
  @use "@db-ux/core-foundations/build/styles/colors";
3
3
  @use "@db-ux/core-foundations/build/styles/fonts";
4
- @use "@db-ux/core-foundations/build/styles/helpers/display";
4
+ @use "@db-ux/core-foundations/build/styles/helpers";
5
5
 
6
6
  .db-brand {
7
7
  @extend %db-overwrite-font-size-md;
8
- @include display.display(flex);
8
+ @include helpers.display(flex);
9
9
 
10
10
  gap: variables.$db-spacing-fixed-sm;
11
11
  align-items: center;
@@ -141,10 +141,8 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
141
141
  }
142
142
  .db-custom-select-list > ul {
143
143
  all: unset;
144
- flex-direction: column;
145
- }
146
- .db-custom-select-list > ul:not([hidden]) {
147
144
  display: flex;
145
+ flex-direction: column;
148
146
  }
149
147
  .db-custom-select-list > ul:has(span) {
150
148
  --db-custom-select-list-item-group-padding: 1;
@@ -1,6 +1,6 @@
1
1
  @use "@db-ux/core-foundations/build/styles/variables";
2
2
  @use "../../styles/internal/form-components";
3
- @use "@db-ux/core-foundations/build/styles/helpers/display";
3
+ @use "@db-ux/core-foundations/build/styles/helpers";
4
4
 
5
5
  .db-custom-select-list {
6
6
  all: unset;
@@ -27,9 +27,7 @@
27
27
 
28
28
  > ul {
29
29
  all: unset;
30
-
31
- @include display.display(flex);
32
-
30
+ display: flex;
33
31
  flex-direction: column;
34
32
 
35
33
  &:has(span) {
@@ -278,6 +278,7 @@ dialog:not([data-backdrop=none])[data-backdrop=weak]::backdrop, dialog:not([data
278
278
  }
279
279
 
280
280
  .db-drawer .db-drawer-container {
281
+ display: flex;
281
282
  flex-direction: column;
282
283
  background-color: var(--db-adaptive-bg-basic-level-1-default);
283
284
  block-size: 100%;
@@ -285,9 +286,6 @@ dialog:not([data-backdrop=none])[data-backdrop=weak]::backdrop, dialog:not([data
285
286
  position: fixed;
286
287
  box-shadow: var(--db-elevation-md);
287
288
  }
288
- .db-drawer .db-drawer-container:not([hidden]) {
289
- display: flex;
290
- }
291
289
  .db-drawer .db-drawer-container:not([data-width=full]) {
292
290
  max-inline-size: var(--db-drawer-max-width, calc(100% - var(--db-spacing-fixed-xl)));
293
291
  min-inline-size: var(--db-drawer-min-width, calc(100% - var(--db-spacing-fixed-xl)));
@@ -308,12 +306,10 @@ dialog:not([data-backdrop=none])[data-backdrop=weak]::backdrop, dialog:not([data
308
306
  box-shadow: var(--db-elevation-md);
309
307
  }
310
308
  .db-drawer .db-drawer-container .db-drawer-header {
309
+ display: none;
311
310
  --db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-60-default);
312
311
  position: var(--db-tooltip-parent-position, relative);
313
312
  }
314
- .db-drawer .db-drawer-container .db-drawer-header:not([hidden]) {
315
- display: none;
316
- }
317
313
  .db-drawer .db-drawer-container .db-drawer-header[data-emphasis=strong] {
318
314
  --db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-70-default);
319
315
  }
@@ -342,7 +338,7 @@ dialog:not([data-backdrop=none])[data-backdrop=weak]::backdrop, dialog:not([data
342
338
  .db-drawer .db-drawer-container .db-drawer-header .button-close-drawer button {
343
339
  margin-inline-start: auto;
344
340
  }
345
- .db-drawer .db-drawer-container .db-drawer-header:has(.button-close-drawer):not([hidden]), .db-drawer .db-drawer-container .db-drawer-header:has(:not(.db-drawer-header-text:empty)):not([hidden]) {
341
+ .db-drawer .db-drawer-container .db-drawer-header:has(.button-close-drawer), .db-drawer .db-drawer-container .db-drawer-header:has(:not(.db-drawer-header-text:empty)) {
346
342
  display: flex;
347
343
  }
348
344
  .db-drawer[data-position=absolute] {
@@ -353,7 +349,7 @@ dialog:not([data-backdrop=none])[data-backdrop=weak]::backdrop, dialog:not([data
353
349
  inline-size: 100%;
354
350
  background-color: transparent;
355
351
  }
356
- .db-drawer[data-position=absolute][open]:not([hidden]) {
352
+ .db-drawer[data-position=absolute][open] {
357
353
  display: flex;
358
354
  }
359
355
  .db-drawer[data-position=absolute]:not([data-direction]), .db-drawer[data-position=absolute][data-direction=right], .db-drawer[data-position=absolute][data-direction=left] {
@@ -137,8 +137,8 @@ $spacings: (
137
137
  .db-drawer-container {
138
138
  @extend %direction-right;
139
139
  @extend %spacing-drawer;
140
- @include helpers.display(flex);
141
140
 
141
+ display: flex;
142
142
  flex-direction: column;
143
143
  background-color: colors.$db-adaptive-bg-basic-level-1-default;
144
144
  block-size: 100%;
@@ -204,7 +204,8 @@ $spacings: (
204
204
  }
205
205
 
206
206
  .db-drawer-header {
207
- @include helpers.display(none);
207
+ display: none;
208
+
208
209
  @include helpers.divider("bottom");
209
210
 
210
211
  .db-drawer-header-text {
@@ -223,7 +224,7 @@ $spacings: (
223
224
 
224
225
  &:has(.button-close-drawer),
225
226
  &:has(:not(.db-drawer-header-text:empty)) {
226
- @include helpers.display(flex);
227
+ display: flex;
227
228
  }
228
229
  }
229
230
  }
@@ -237,7 +238,7 @@ $spacings: (
237
238
  background-color: transparent;
238
239
 
239
240
  &[open] {
240
- @include helpers.display(flex);
241
+ display: flex;
241
242
  }
242
243
 
243
244
  &:not([data-direction]),
@@ -1,12 +1,12 @@
1
1
  @use "@db-ux/core-foundations/build/styles/icons";
2
- @use "@db-ux/core-foundations/build/styles/helpers/display";
2
+ @use "@db-ux/core-foundations/build/styles/helpers";
3
3
 
4
4
  .db-icon {
5
5
  @include icons.is-icon-text-replace;
6
6
 
7
7
  /* Safari hack */
8
8
  @supports (-webkit-hyphens: none) {
9
- @include display.display(inline-block);
9
+ @include helpers.display(inline-block);
10
10
 
11
11
  &::before {
12
12
  block-size: auto;
@@ -1,7 +1,7 @@
1
1
  @use "sass:map";
2
2
  @use "@db-ux/core-foundations/build/styles/fonts";
3
3
  @use "@db-ux/core-foundations/build/styles/variables";
4
- @use "@db-ux/core-foundations/build/styles/helpers/display";
4
+ @use "@db-ux/core-foundations/build/styles/helpers";
5
5
  @use "@db-ux/core-foundations/build/styles/colors";
6
6
  @use "@db-ux/core-foundations/build/styles/icons";
7
7
 
@@ -9,7 +9,7 @@
9
9
  --db-icon-margin-end: #{variables.$db-spacing-fixed-2xs};
10
10
 
11
11
  @extend %db-overwrite-font-size-sm;
12
- @include display.display(flex);
12
+ @include helpers.display(flex);
13
13
 
14
14
  @include icons.has-no-icon {
15
15
  @include icons.to-filled-icon;
@@ -200,6 +200,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
200
200
  }
201
201
  }
202
202
  .db-navigation > menu {
203
+ display: flex;
203
204
  flex-direction: column;
204
205
  padding: 0;
205
206
  margin: 0;
@@ -207,9 +208,6 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
207
208
  /* stylelint-disable-next-line media-query-no-invalid */
208
209
  /* stylelint-disable-next-line at-rule-empty-line-before */
209
210
  }
210
- .db-navigation > menu:not([hidden]) {
211
- display: flex;
212
- }
213
211
  @media screen and (min-width: 64em) {
214
212
  .db-navigation > menu:not([data-force-mobile]), .db-navigation > menu[data-force-mobile=false] {
215
213
  flex-direction: row;
@@ -1,7 +1,7 @@
1
1
  @use "@db-ux/core-foundations/build/styles/variables";
2
2
  @use "@db-ux/core-foundations/build/styles/screen-sizes";
3
3
  @use "../../styles/internal/component";
4
- @use "@db-ux/core-foundations/build/styles/helpers/display";
4
+ @use "@db-ux/core-foundations/build/styles/helpers";
5
5
  @use "../../styles/internal/form-components";
6
6
  @use "../../styles/internal/db-puls";
7
7
 
@@ -15,8 +15,7 @@
15
15
  }
16
16
 
17
17
  > menu {
18
- @include display.display(flex);
19
-
18
+ display: flex;
20
19
  flex-direction: column;
21
20
  padding: 0;
22
21
  margin: 0;
@@ -102,7 +101,7 @@
102
101
  &[data-force-close="true"] {
103
102
  > menu menu {
104
103
  @include screen-sizes.screen("md") {
105
- @include display.display(none);
104
+ @include helpers.display(none);
106
105
  }
107
106
  }
108
107
  }
@@ -1,8 +1,6 @@
1
- @use "@db-ux/core-foundations/build/styles/helpers/display";
2
-
3
1
  %grid-layout-variant-not-overlay {
4
2
  span {
5
- @include display.display(none);
3
+ display: none;
6
4
  }
7
5
 
8
6
  // has link
@@ -1162,7 +1162,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
1162
1162
  grid-template-areas: "icon head timestamp close" "icon content content content";
1163
1163
  }
1164
1164
 
1165
- .db-notification:not([data-variant=overlay]) span:not([hidden]) {
1165
+ .db-notification:not([data-variant=overlay]) span {
1166
1166
  display: none;
1167
1167
  }
1168
1168
  .db-notification:has(a):not([data-link-variant=inline]):not([data-variant=overlay]) {
@@ -1,7 +1,7 @@
1
1
  @use "sass:map";
2
2
  @use "@db-ux/core-foundations/build/styles/density";
3
3
  @use "@db-ux/core-foundations/build/styles/variables";
4
- @use "@db-ux/core-foundations/build/styles/helpers/display";
4
+ @use "@db-ux/core-foundations/build/styles/helpers";
5
5
  @use "@db-ux/core-foundations/build/styles/colors";
6
6
  @use "@db-ux/core-foundations/build/styles/icons";
7
7
  @use "@db-ux/core-foundations/build/styles/screen-sizes";
@@ -28,7 +28,7 @@
28
28
  @extend %component-border;
29
29
  @extend %grid-layout-default;
30
30
  @extend %ugly-line-height-workarounds;
31
- @include display.display(grid);
31
+ @include helpers.display(grid);
32
32
 
33
33
  padding: variables.$db-spacing-fixed-md;
34
34
  gap: variables.$db-spacing-fixed-xs variables.$db-spacing-fixed-md;
@@ -8,6 +8,41 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
8
8
  /* Transitions */
9
9
  /* Screen sizes */
10
10
  /* Container sizes */
11
+ /* Variants for adaptive components like input, select, notification, ... */
12
+ @layer variables {}
13
+
14
+ @layer variables {}
15
+
16
+ @layer variables {}
17
+
18
+ @layer variables {}
19
+
20
+ @layer variables {}
21
+
22
+ @layer variables {}
23
+
24
+ @layer variables {}
25
+
26
+ @layer variables {}
27
+
28
+ @layer variables {}
29
+
30
+ @layer variables {}
31
+
32
+ @layer variables {}
33
+
34
+ @layer variables {}
35
+
36
+ @layer variables {}
37
+
38
+ @layer variables {}
39
+
40
+ @layer variables {}
41
+
42
+ @layer variables {}
43
+
44
+ @layer variables {}
45
+
11
46
  .db-page-document {
12
47
  block-size: 100%;
13
48
  overflow: hidden;
@@ -1,5 +1,5 @@
1
1
  @use "@db-ux/core-foundations/build/styles/variables";
2
- @use "@db-ux/core-foundations/build/styles/helpers/display";
2
+ @use "@db-ux/core-foundations/build/styles/helpers";
3
3
 
4
4
  .db-page-document {
5
5
  block-size: 100%;
@@ -8,7 +8,7 @@
8
8
 
9
9
  @mixin header-footer-style {
10
10
  > :is(.db-header, .db-footer, header, footer) {
11
- @include display.display(flex);
11
+ @include helpers.display(flex);
12
12
 
13
13
  flex: 0 1 auto;
14
14
  flex-grow: 0;
@@ -36,7 +36,7 @@
36
36
  block-size: 100%;
37
37
  min-block-size: 100%;
38
38
 
39
- @include display.display(flex);
39
+ @include helpers.display(flex);
40
40
 
41
41
  flex-direction: column;
42
42
 
@@ -46,7 +46,7 @@
46
46
  }
47
47
 
48
48
  > .db-main {
49
- @include display.display(flex);
49
+ @include helpers.display(flex);
50
50
 
51
51
  flex-direction: column;
52
52
  overflow: auto;
@@ -1,12 +1,12 @@
1
1
  @use "@db-ux/core-foundations/build/styles/variables";
2
- @use "@db-ux/core-foundations/build/styles/helpers/display";
2
+ @use "@db-ux/core-foundations/build/styles/helpers";
3
3
  @use "../../styles/internal/popover-component";
4
4
  @use "../../styles/internal/component";
5
5
 
6
6
  .db-popover {
7
7
  position: relative;
8
8
 
9
- @include display.display(flex);
9
+ @include helpers.display(flex);
10
10
 
11
11
  block-size: fit-content;
12
12
  inline-size: fit-content;
@@ -943,6 +943,6 @@ select[aria-disabled=true]) {
943
943
  .db-select optgroup {
944
944
  background-color: var(--db-adaptive-bg-basic-level-3-default);
945
945
  }
946
- .db-select:has(> select option:checked:not(.placeholder)) [id$=-placeholder]:not([hidden]) {
946
+ .db-select:has(> select option:checked:not(.placeholder)) [id$=-placeholder] {
947
947
  display: none;
948
948
  }
@@ -6,7 +6,6 @@
6
6
  @use "../../styles/internal/form-components";
7
7
  @use "../../styles/internal/component";
8
8
  @use "../../styles/internal/select-components";
9
- @use "@db-ux/core-foundations/build/styles/helpers/display";
10
9
 
11
10
  .db-select-placeholder {
12
11
  @extend %select-absolute-placeholder;
@@ -47,7 +46,7 @@
47
46
 
48
47
  &:has(> select option:checked:not(.placeholder)) {
49
48
  [id$="-placeholder"] {
50
- @include display.display(none);
49
+ display: none;
51
50
  }
52
51
  }
53
52
  }
@@ -301,11 +301,9 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
301
301
  position: relative;
302
302
  }
303
303
  .db-tab-list > ul {
304
+ display: flex;
304
305
  gap: var(--db-spacing-fixed-sm);
305
306
  scroll-behavior: smooth;
306
307
  padding: 0;
307
308
  margin: 0;
308
309
  }
309
- .db-tab-list > ul:not([hidden]) {
310
- display: flex;
311
- }
@@ -1,5 +1,4 @@
1
1
  @use "@db-ux/core-foundations/build/styles/variables";
2
- @use "@db-ux/core-foundations/build/styles/helpers/display";
3
2
  @use "../../styles/internal/scrollbar";
4
3
 
5
4
  .db-tab-list {
@@ -9,8 +8,8 @@
9
8
 
10
9
  > ul {
11
10
  @extend %scrollbar;
12
- @include display.display(flex);
13
11
 
12
+ display: flex;
14
13
  gap: variables.$db-spacing-fixed-sm;
15
14
  scroll-behavior: smooth;
16
15
  padding: 0;
@@ -8,6 +8,41 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
8
8
  /* Transitions */
9
9
  /* Screen sizes */
10
10
  /* Container sizes */
11
+ /* Variants for adaptive components like input, select, notification, ... */
12
+ @layer variables {}
13
+
14
+ @layer variables {}
15
+
16
+ @layer variables {}
17
+
18
+ @layer variables {}
19
+
20
+ @layer variables {}
21
+
22
+ @layer variables {}
23
+
24
+ @layer variables {}
25
+
26
+ @layer variables {}
27
+
28
+ @layer variables {}
29
+
30
+ @layer variables {}
31
+
32
+ @layer variables {}
33
+
34
+ @layer variables {}
35
+
36
+ @layer variables {}
37
+
38
+ @layer variables {}
39
+
40
+ @layer variables {}
41
+
42
+ @layer variables {}
43
+
44
+ @layer variables {}
45
+
11
46
  .db-tab-panel:not([hidden]) {
12
47
  display: none;
13
48
  }
@@ -1,6 +1,6 @@
1
1
  @use "@db-ux/core-foundations/build/styles/variables";
2
- @use "@db-ux/core-foundations/build/styles/helpers/display";
2
+ @use "@db-ux/core-foundations/build/styles/helpers";
3
3
 
4
4
  .db-tab-panel {
5
- @include display.display(none);
5
+ @include helpers.display(none);
6
6
  }
@@ -2,7 +2,7 @@
2
2
  @use "@db-ux/core-foundations/build/styles/colors";
3
3
  @use "../../styles/internal/form-components";
4
4
  @use "../../styles/internal/db-puls";
5
- @use "@db-ux/core-foundations/build/styles/helpers/display";
5
+ @use "@db-ux/core-foundations/build/styles/helpers";
6
6
 
7
7
  $max-tabs: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
8
8
 
@@ -13,7 +13,7 @@ $max-tabs: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
13
13
  &:has([id$="-tab-#{$index}"]:checked) {
14
14
  ~ dbtabpanel > [id$="-tab-panel-#{$index}"],
15
15
  ~ db-tab-panel > [id$="-tab-panel-#{$index}"] {
16
- @include display.display(block);
16
+ @include helpers.display(block);
17
17
  }
18
18
  }
19
19
  }
@@ -75,7 +75,7 @@ $max-tabs: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
75
75
  $db-tabs-z-index-button: 22;
76
76
 
77
77
  @extend %angular-workaround;
78
- @include display.display(flex);
78
+ @include helpers.display(flex);
79
79
 
80
80
  inline-size: 100%;
81
81
  position: relative;
@@ -91,7 +91,7 @@ $max-tabs: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
91
91
  @each $index in $max-tabs {
92
92
  &:has([id$="-tab-#{$index}"]:checked)
93
93
  ~ [id$="-tab-panel-#{$index}"] {
94
- @include display.display(block);
94
+ @include helpers.display(block);
95
95
  }
96
96
  }
97
97
  }