@db-ux/core-components 4.7.1 → 4.7.2-pnpm-1cacdb5

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 (129) hide show
  1. package/CHANGELOG.md +22 -16
  2. package/LICENSE +253 -0
  3. package/build/components/accordion/accordion.css +2 -0
  4. package/build/components/accordion-item/accordion-item.css +2 -0
  5. package/build/components/badge/badge.css +2 -0
  6. package/build/components/brand/brand.css +2 -0
  7. package/build/components/button/button.css +2 -0
  8. package/build/components/card/card.css +2 -0
  9. package/build/components/checkbox/checkbox.css +2 -0
  10. package/build/components/custom-button/custom-button.css +2 -0
  11. package/build/components/custom-select/custom-select.css +2 -0
  12. package/build/components/custom-select-dropdown/custom-select-dropdown.css +2 -0
  13. package/build/components/custom-select-form-field/custom-select-form-field.css +2 -0
  14. package/build/components/custom-select-list/custom-select-list.css +2 -0
  15. package/build/components/custom-select-list-item/custom-select-list-item.css +2 -0
  16. package/build/components/divider/divider.css +2 -0
  17. package/build/components/drawer/drawer.css +2 -0
  18. package/build/components/drawer/drawer.scss +2 -8
  19. package/build/components/header/header.css +2 -0
  20. package/build/components/icon/icon.css +2 -0
  21. package/build/components/infotext/infotext.css +2 -0
  22. package/build/components/input/input.css +2 -0
  23. package/build/components/link/link.css +2 -0
  24. package/build/components/navigation/navigation.css +2 -0
  25. package/build/components/navigation-item/navigation-item.css +30 -6
  26. package/build/components/navigation-item/navigation-item.scss +13 -11
  27. package/build/components/notification/notification.css +2 -0
  28. package/build/components/page/page.css +2 -0
  29. package/build/components/popover/popover.css +2 -0
  30. package/build/components/radio/radio.css +2 -0
  31. package/build/components/section/section.css +2 -0
  32. package/build/components/select/select.css +2 -0
  33. package/build/components/stack/stack-web-component.css +2 -0
  34. package/build/components/stack/stack.css +2 -0
  35. package/build/components/switch/switch.css +2 -0
  36. package/build/components/tab-item/tab-item.css +2 -0
  37. package/build/components/tab-list/tab-list.css +2 -0
  38. package/build/components/tab-panel/tab-panel.css +2 -0
  39. package/build/components/tabs/tabs.css +2 -0
  40. package/build/components/tag/tag.css +2 -0
  41. package/build/components/textarea/textarea.css +2 -0
  42. package/build/components/tooltip/tooltip.css +2 -0
  43. package/build/styles/absolute.css +2 -2
  44. package/build/styles/bundle.css +2 -2
  45. package/build/styles/index.css +1 -1
  46. package/build/styles/relative.css +2 -2
  47. package/build/styles/rollup.css +2 -2
  48. package/build/styles/webpack.css +2 -2
  49. package/package.json +38 -37
  50. package/build/assets/fallback-icon.svg +0 -3
  51. package/build/assets/fonts/OFL.txt +0 -93
  52. package/build/assets/fonts/OpenSans-Bold-EU.woff2 +0 -0
  53. package/build/assets/fonts/OpenSans-Bold.ttf +0 -0
  54. package/build/assets/fonts/OpenSans-ExtraBold-EU.woff2 +0 -0
  55. package/build/assets/fonts/OpenSans-ExtraBold.ttf +0 -0
  56. package/build/assets/fonts/OpenSans-Light-EU.woff2 +0 -0
  57. package/build/assets/fonts/OpenSans-Light.ttf +0 -0
  58. package/build/assets/fonts/OpenSans-Medium-EU.woff2 +0 -0
  59. package/build/assets/fonts/OpenSans-Medium.ttf +0 -0
  60. package/build/assets/fonts/OpenSans-Regular-EU.woff2 +0 -0
  61. package/build/assets/fonts/OpenSans-Regular.ttf +0 -0
  62. package/build/assets/fonts/OpenSans-SemiBold-EU.woff2 +0 -0
  63. package/build/assets/fonts/OpenSans-SemiBold.ttf +0 -0
  64. package/build/assets/fonts/README.md +0 -23
  65. package/build/assets/fonts/generate-eu-fonts.ts +0 -59
  66. package/build/assets/fonts/unicode-eu.txt +0 -15
  67. package/build/assets/icons/DB_LICENSE +0 -253
  68. package/build/assets/icons/LICENCES.json +0 -231
  69. package/build/assets/icons/arrow_down.svg +0 -1
  70. package/build/assets/icons/arrow_left.svg +0 -1
  71. package/build/assets/icons/arrow_right.svg +0 -1
  72. package/build/assets/icons/arrow_up.svg +0 -1
  73. package/build/assets/icons/arrow_up_right.svg +0 -1
  74. package/build/assets/icons/brand.svg +0 -1
  75. package/build/assets/icons/calendar.svg +0 -5
  76. package/build/assets/icons/chat.svg +0 -1
  77. package/build/assets/icons/check.svg +0 -1
  78. package/build/assets/icons/check_circle.svg +0 -1
  79. package/build/assets/icons/chevron_down.svg +0 -1
  80. package/build/assets/icons/chevron_left.svg +0 -1
  81. package/build/assets/icons/chevron_right.svg +0 -1
  82. package/build/assets/icons/chevron_up.svg +0 -1
  83. package/build/assets/icons/circle.svg +0 -1
  84. package/build/assets/icons/circle_small.svg +0 -1
  85. package/build/assets/icons/circular_arrows.svg +0 -1
  86. package/build/assets/icons/clock.svg +0 -1
  87. package/build/assets/icons/copy.svg +0 -1
  88. package/build/assets/icons/cross.svg +0 -1
  89. package/build/assets/icons/cross_circle.svg +0 -1
  90. package/build/assets/icons/double_chevron_down.svg +0 -1
  91. package/build/assets/icons/double_chevron_left.svg +0 -1
  92. package/build/assets/icons/double_chevron_right.svg +0 -1
  93. package/build/assets/icons/double_chevron_up.svg +0 -1
  94. package/build/assets/icons/exclamation_mark_circle.svg +0 -1
  95. package/build/assets/icons/exclamation_mark_triangle.svg +0 -1
  96. package/build/assets/icons/eye.svg +0 -1
  97. package/build/assets/icons/eye_disabled.svg +0 -1
  98. package/build/assets/icons/fonts/all/db-ux.woff2 +0 -0
  99. package/build/assets/icons/fonts/default/db-ux.woff2 +0 -0
  100. package/build/assets/icons/fonts/default_12/db-ux.woff2 +0 -0
  101. package/build/assets/icons/fonts/default_14/db-ux.woff2 +0 -0
  102. package/build/assets/icons/fonts/default_16/db-ux.woff2 +0 -0
  103. package/build/assets/icons/fonts/default_20/db-ux.woff2 +0 -0
  104. package/build/assets/icons/fonts/default_24/db-ux.woff2 +0 -0
  105. package/build/assets/icons/fonts/default_28/db-ux.woff2 +0 -0
  106. package/build/assets/icons/fonts/default_32/db-ux.woff2 +0 -0
  107. package/build/assets/icons/fonts/default_48/db-ux.woff2 +0 -0
  108. package/build/assets/icons/fonts/default_64/db-ux.woff2 +0 -0
  109. package/build/assets/icons/fonts/fallback/icon-font-fallback.woff2 +0 -0
  110. package/build/assets/icons/fonts/filled/db-ux.woff2 +0 -0
  111. package/build/assets/icons/fonts/filled_12/db-ux.woff2 +0 -0
  112. package/build/assets/icons/fonts/filled_14/db-ux.woff2 +0 -0
  113. package/build/assets/icons/fonts/filled_16/db-ux.woff2 +0 -0
  114. package/build/assets/icons/fonts/filled_20/db-ux.woff2 +0 -0
  115. package/build/assets/icons/fonts/filled_24/db-ux.woff2 +0 -0
  116. package/build/assets/icons/fonts/filled_28/db-ux.woff2 +0 -0
  117. package/build/assets/icons/fonts/filled_32/db-ux.woff2 +0 -0
  118. package/build/assets/icons/fonts/filled_48/db-ux.woff2 +0 -0
  119. package/build/assets/icons/fonts/filled_64/db-ux.woff2 +0 -0
  120. package/build/assets/icons/house.svg +0 -1
  121. package/build/assets/icons/information_circle.svg +0 -1
  122. package/build/assets/icons/magnifying_glass.svg +0 -1
  123. package/build/assets/icons/menu.svg +0 -1
  124. package/build/assets/icons/minus.svg +0 -1
  125. package/build/assets/icons/moon.svg +0 -1
  126. package/build/assets/icons/plus.svg +0 -1
  127. package/build/assets/icons/resize_handle_corner.svg +0 -1
  128. package/build/assets/icons/sun.svg +0 -1
  129. package/build/assets/icons/x_placeholder.svg +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @db-ux/core-components
2
2
 
3
+ ## 4.7.2
4
+
5
+ ### Patch Changes
6
+
7
+ - fix(navigation): changed transform inside the drawer led to overlapping sub-navigation on smaller viewports - [see commit dd88a33](https://github.com/db-ux-design-system/core-web/commit/dd88a339fe6e7510e964c6979eeee84f4e40df59)
8
+
3
9
  ## 4.7.1
4
10
 
5
11
  ### Patch Changes
@@ -39,7 +45,7 @@
39
45
  - docs(vite): mentioning version 8 configuration in `README.md` file - [see commit 4c5fc92](https://github.com/db-ux-design-system/core-web/commit/4c5fc9266402d9585087f4738a1a800cff1515f1)
40
46
 
41
47
  - fix(number input): prevent from clearing on intermediate decimal entry - [see commit aa85967](https://github.com/db-ux-design-system/core-web/commit/aa85967ffeaa685f6b647069d0e1d415d812dc87):
42
- - fix(input,textarea): allow using `undefined` as `value`
48
+ - fix(input,textarea): allow using `undefined` as `value`
43
49
 
44
50
  ## 4.5.4
45
51
 
@@ -180,14 +186,14 @@ _version bump_
180
186
  - 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)
181
187
 
182
188
  - fix(DBCustomSelect): properly announce selected options - [see commit 773edeb](https://github.com/db-ux-design-system/core-web/commit/773edeb943a085eb79e1c8d59059137b2830fbf0):
183
- - feat(DBCustomSelect): introduce new property `selectedPrefix`
189
+ - feat(DBCustomSelect): introduce new property `selectedPrefix`
184
190
 
185
191
  ### Patch Changes
186
192
 
187
193
  - fix(DBCustomSelect): automatically handle form reset events - [see commit 6af5246](https://github.com/db-ux-design-system/core-web/commit/6af5246b3b2e6febdc6ff6342ba1a8eb10184d14):
188
- - An event listener is now added for every form component (input, custom-select, etc.) when a `form` property is passed.
189
- - This listener detects form resets and updates the component's internal value/checked state accordingly.
190
- - > **Note**: This does not work for `ngModel` in Angular.
194
+ - An event listener is now added for every form component (input, custom-select, etc.) when a `form` property is passed.
195
+ - This listener detects form resets and updates the component's internal value/checked state accordingly.
196
+ - > **Note**: This does not work for `ngModel` in Angular.
191
197
 
192
198
  - 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)
193
199
 
@@ -210,7 +216,7 @@ _version bump_
210
216
  ### Patch Changes
211
217
 
212
218
  - chore: update instructions files for better copilot outputs - [see commit e4bc905](https://github.com/db-ux-design-system/core-web/commit/e4bc90508479387371d816d5776f9f568aa5fb82):
213
- - fix: add some missing variables
219
+ - fix: add some missing variables
214
220
 
215
221
  - 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)
216
222
 
@@ -225,9 +231,9 @@ _version bump_
225
231
  ### Major Changes
226
232
 
227
233
  - feat: Switch stable rework - [see commit cb2deb0](https://github.com/db-ux-design-system/core-web/commit/cb2deb0f1c54900d1967483aea05d81279c02f59):
228
- - **BREAKING CHANGE**: remove `emphasis` property
229
- - introduce validation (invalid and valid)
230
- - configurable label position
234
+ - **BREAKING CHANGE**: remove `emphasis` property
235
+ - introduce validation (invalid and valid)
236
+ - configurable label position
231
237
 
232
238
  - **BREAKING CHANGE**: refactor(Custom Select): renamed `ariaListLabel` property to `listLabel` - [see commit 966d5ad](https://github.com/db-ux-design-system/core-web/commit/966d5ad01f00d0ca1707cc316a63e2d431fff1e9)
233
239
 
@@ -246,12 +252,12 @@ _version bump_
246
252
  ### Patch Changes
247
253
 
248
254
  - fix(DBTabs): ensure navigation arrows appear correctly on window resize - [see commit 4e65e00](https://github.com/db-ux-design-system/core-web/commit/4e65e00d280cae18baee03b5a7a9b13eec063835):
249
- - 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.
255
+ - 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.
250
256
 
251
257
  - fix(select): jumping placeholder for label above - [see commit 7ed8d22](https://github.com/db-ux-design-system/core-web/commit/7ed8d2225102e0e9044437e95917e11eef4bc73f)
252
258
 
253
259
  - 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):
254
- - auto-generate/auto-update `.github/copilot-instructions.md`, to ensure GitHub Copilot uses DB UX Components for code generation
260
+ - auto-generate/auto-update `.github/copilot-instructions.md`, to ensure GitHub Copilot uses DB UX Components for code generation
255
261
 
256
262
  ## 3.1.17
257
263
 
@@ -259,17 +265,17 @@ _version bump_
259
265
 
260
266
  - 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)
261
267
  - 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)
262
- - @db-ux/core-foundations@3.1.17
268
+ - @db-ux/core-foundations@3.1.17
263
269
 
264
270
  ## 3.1.16
265
271
 
266
272
  ### Patch Changes
267
273
 
268
274
  - 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):
269
- - Fixes a keyboard accessibility issue where users could not navigate to options in subsequent option groups using arrow keys in single-select mode.
270
- - Now, all options are accessible via keyboard regardless of group boundaries.
275
+ - Fixes a keyboard accessibility issue where users could not navigate to options in subsequent option groups using arrow keys in single-select mode.
276
+ - Now, all options are accessible via keyboard regardless of group boundaries.
271
277
  - 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)
272
- - @db-ux/core-foundations@3.1.16
278
+ - @db-ux/core-foundations@3.1.16
273
279
 
274
280
  ## 3.1.15
275
281
 
@@ -278,4 +284,4 @@ _version bump_
278
284
  - 262964b: fix(Switch): double event firing with Angular signals
279
285
  - 262964b: fix(CustomSelect): tags remaining visible when form values are reset
280
286
  - 262964b: fix(CustomSelect): custom removeTagsTexts are not applied correctly
281
- - @db-ux/core-foundations@3.1.15
287
+ - @db-ux/core-foundations@3.1.15
package/LICENSE ADDED
@@ -0,0 +1,253 @@
1
+ The DB source code is licensed under the Apache License, Version 2.0, January 2004;
2
+ you may not use this file except in compliance with the License. You may obtain a copy
3
+ of the Apache License at https://apache.org/licenses/LICENSE-2.0. The DB source code
4
+ does not include any DB specific design assets like fonts, icons, trademarks, brandings, etc.
5
+
6
+ All Deutsche Bahn AG (hereinafter “DB”) specific design assets like fonts, icons,
7
+ trademarks, brandings, etc. (hereinafter “DB Designs”) are licensed under the following
8
+ license agreement (the “DB Designs License”):
9
+
10
+ - The DB Designs may only be used by external users who are acting as contractors or
11
+ service providers for DB or a group company by virtue of a contractual relationship and
12
+ use the DB Designs in this context ("User"). A license agreement with third parties who
13
+ are not in a contractual relationship with DB or a group company is not possible.
14
+ - DB is and remains the owner or holds the exclusive usage rights to the DB Designs.
15
+ DB grants the User a royalty-free, non-exclusive, non-transferable, and non-sublicensable
16
+ right, limited geographically, temporally, and in content to the duration and purposes
17
+ of the contractual relationship with DB or a group company, to use the DB Designs in
18
+ accordance with this license agreement.
19
+ - The User may use the DB Designs only in connection with or for the fulfillment of
20
+ orders and/or services that they provide for DB or a group company. Any other use,
21
+ particularly for private personal purposes or for unauthorized third parties, is
22
+ prohibited. The User may not sublicense, distribute, or otherwise make the DB Designs
23
+ accessible to third parties who are not part of DB AG or a group company, unless this
24
+ is expressly permitted by the underlying contractual relationship between the User and
25
+ DB or the group company. The User may not modify, alter, convert, edit, reverse engineer,
26
+ or decompile the DB Designs; in particular, they may not make any graphical changes
27
+ and/or alter, remove, or add technical functions. Editing or using the DB Designs in
28
+ an altered form is only permitted with the express prior written consent of DB.
29
+ - Unless required by applicable law or agreed to in writing, DB provides the DB Designs
30
+ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
31
+ implied, including, without limitation, any warranties or conditions of title,
32
+ non-infringement, merchantability, or fitness for a particular purpose. DB is only liable
33
+ in cases of intent or gross negligence, within the framework of mandatory statutory
34
+ liability provisions, particularly the Product Liability Act, as well as for damages
35
+ arising from injury to life, body, or health of individuals. In cases of gross negligence,
36
+ liability is limited to typical and foreseeable damages. This limitation of liability also
37
+ applies in favor of group companies as well as in favor of vicarious agents of DB and
38
+ its group companies.
39
+ - This DB Designs License automatically ends at the time when the underlying contractual
40
+ relationship between the user and DB or a group company ends. DB may terminate this
41
+ DB Designs License at any time without notice for good cause, in particular, if the User
42
+ violates this DB Designs License and does not cease the violation within a reasonable
43
+ period after a warning. The User is obligated to cease using the DB Designs immediately
44
+ upon termination of this DB Designs License and to delete all DB Designs and related files
45
+ in their possession or installed on their systems, as well as any backup copies, without delay.
46
+ - If any provision of this agreement is or becomes invalid or unenforceable, the remaining
47
+ provisions of this agreement shall remain unaffected. In place of the invalid or unenforceable
48
+ provision, a provision shall be deemed agreed upon that comes closest to the economic purpose
49
+ of the invalid or unenforceable provision in a legally permissible manner. The same applies in
50
+ the event of a gap in the agreement. This DB Designs License is governed by and construed in
51
+ accordance with the laws of Germany, excluding conflicts of law rules and principles.
52
+
53
+ Apache License
54
+ Version 2.0, January 2004
55
+ http://www.apache.org/licenses/
56
+
57
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
58
+
59
+ 1. Definitions.
60
+
61
+ "License" shall mean the terms and conditions for use, reproduction,
62
+ and distribution as defined by Sections 1 through 9 of this document.
63
+
64
+ "Licensor" shall mean the copyright owner or entity authorized by
65
+ the copyright owner that is granting the License.
66
+
67
+ "Legal Entity" shall mean the union of the acting entity and all
68
+ other entities that control, are controlled by, or are under common
69
+ control with that entity. For the purposes of this definition,
70
+ "control" means (i) the power, direct or indirect, to cause the
71
+ direction or management of such entity, whether by contract or
72
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
73
+ outstanding shares, or (iii) beneficial ownership of such entity.
74
+
75
+ "You" (or "Your") shall mean an individual or Legal Entity
76
+ exercising permissions granted by this License.
77
+
78
+ "Source" form shall mean the preferred form for making modifications,
79
+ including but not limited to software source code, documentation
80
+ source, and configuration files.
81
+
82
+ "Object" form shall mean any form resulting from mechanical
83
+ transformation or translation of a Source form, including but
84
+ not limited to compiled object code, generated documentation,
85
+ and conversions to other media types.
86
+
87
+ "Work" shall mean the work of authorship, whether in Source or
88
+ Object form, made available under the License, as indicated by a
89
+ copyright notice that is included in or attached to the work
90
+ (an example is provided in the Appendix below).
91
+
92
+ "Derivative Works" shall mean any work, whether in Source or Object
93
+ form, that is based on (or derived from) the Work and for which the
94
+ editorial revisions, annotations, elaborations, or other modifications
95
+ represent, as a whole, an original work of authorship. For the purposes
96
+ of this License, Derivative Works shall not include works that remain
97
+ separable from, or merely link (or bind by name) to the interfaces of,
98
+ the Work and Derivative Works thereof.
99
+
100
+ "Contribution" shall mean any work of authorship, including
101
+ the original version of the Work and any modifications or additions
102
+ to that Work or Derivative Works thereof, that is intentionally
103
+ submitted to Licensor for inclusion in the Work by the copyright owner
104
+ or by an individual or Legal Entity authorized to submit on behalf of
105
+ the copyright owner. For the purposes of this definition, "submitted"
106
+ means any form of electronic, verbal, or written communication sent
107
+ to the Licensor or its representatives, including but not limited to
108
+ communication on electronic mailing lists, source code control systems,
109
+ and issue tracking systems that are managed by, or on behalf of, the
110
+ Licensor for the purpose of discussing and improving the Work, but
111
+ excluding communication that is conspicuously marked or otherwise
112
+ designated in writing by the copyright owner as "Not a Contribution."
113
+
114
+ "Contributor" shall mean Licensor and any individual or Legal Entity
115
+ on behalf of whom a Contribution has been received by Licensor and
116
+ subsequently incorporated within the Work.
117
+
118
+ 2. Grant of Copyright License. Subject to the terms and conditions of
119
+ this License, each Contributor hereby grants to You a perpetual,
120
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
121
+ copyright license to reproduce, prepare Derivative Works of,
122
+ publicly display, publicly perform, sublicense, and distribute the
123
+ Work and such Derivative Works in Source or Object form.
124
+
125
+ 3. Grant of Patent License. Subject to the terms and conditions of
126
+ this License, each Contributor hereby grants to You a perpetual,
127
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
128
+ (except as stated in this section) patent license to make, have made,
129
+ use, offer to sell, sell, import, and otherwise transfer the Work,
130
+ where such license applies only to those patent claims licensable
131
+ by such Contributor that are necessarily infringed by their
132
+ Contribution(s) alone or by combination of their Contribution(s)
133
+ with the Work to which such Contribution(s) was submitted. If You
134
+ institute patent litigation against any entity (including a
135
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
136
+ or a Contribution incorporated within the Work constitutes direct
137
+ or contributory patent infringement, then any patent licenses
138
+ granted to You under this License for that Work shall terminate
139
+ as of the date such litigation is filed.
140
+
141
+ 4. Redistribution. You may reproduce and distribute copies of the
142
+ Work or Derivative Works thereof in any medium, with or without
143
+ modifications, and in Source or Object form, provided that You
144
+ meet the following conditions:
145
+
146
+ (a) You must give any other recipients of the Work or
147
+ Derivative Works a copy of this License; and
148
+
149
+ (b) You must cause any modified files to carry prominent notices
150
+ stating that You changed the files; and
151
+
152
+ (c) You must retain, in the Source form of any Derivative Works
153
+ that You distribute, all copyright, patent, trademark, and
154
+ attribution notices from the Source form of the Work,
155
+ excluding those notices that do not pertain to any part of
156
+ the Derivative Works; and
157
+
158
+ (d) If the Work includes a "NOTICE" text file as part of its
159
+ distribution, then any Derivative Works that You distribute must
160
+ include a readable copy of the attribution notices contained
161
+ within such NOTICE file, excluding those notices that do not
162
+ pertain to any part of the Derivative Works, in at least one
163
+ of the following places: within a NOTICE text file distributed
164
+ as part of the Derivative Works; within the Source form or
165
+ documentation, if provided along with the Derivative Works; or,
166
+ within a display generated by the Derivative Works, if and
167
+ wherever such third-party notices normally appear. The contents
168
+ of the NOTICE file are for informational purposes only and
169
+ do not modify the License. You may add Your own attribution
170
+ notices within Derivative Works that You distribute, alongside
171
+ or as an addendum to the NOTICE text from the Work, provided
172
+ that such additional attribution notices cannot be construed
173
+ as modifying the License.
174
+
175
+ You may add Your own copyright statement to Your modifications and
176
+ may provide additional or different license terms and conditions
177
+ for use, reproduction, or distribution of Your modifications, or
178
+ for any such Derivative Works as a whole, provided Your use,
179
+ reproduction, and distribution of the Work otherwise complies with
180
+ the conditions stated in this License.
181
+
182
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
183
+ any Contribution intentionally submitted for inclusion in the Work
184
+ by You to the Licensor shall be under the terms and conditions of
185
+ this License, without any additional terms or conditions.
186
+ Notwithstanding the above, nothing herein shall supersede or modify
187
+ the terms of any separate license agreement you may have executed
188
+ with Licensor regarding such Contributions.
189
+
190
+ 6. Trademarks. This License does not grant permission to use the trade
191
+ names, trademarks, service marks, or product names of the Licensor,
192
+ except as required for reasonable and customary use in describing the
193
+ origin of the Work and reproducing the content of the NOTICE file.
194
+
195
+ 7. Disclaimer of Warranty. Unless required by applicable law or
196
+ agreed to in writing, Licensor provides the Work (and each
197
+ Contributor provides its Contributions) on an "AS IS" BASIS,
198
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
199
+ implied, including, without limitation, any warranties or conditions
200
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
201
+ PARTICULAR PURPOSE. You are solely responsible for determining the
202
+ appropriateness of using or redistributing the Work and assume any
203
+ risks associated with Your exercise of permissions under this License.
204
+
205
+ 8. Limitation of Liability. In no event and under no legal theory,
206
+ whether in tort (including negligence), contract, or otherwise,
207
+ unless required by applicable law (such as deliberate and grossly
208
+ negligent acts) or agreed to in writing, shall any Contributor be
209
+ liable to You for damages, including any direct, indirect, special,
210
+ incidental, or consequential damages of any character arising as a
211
+ result of this License or out of the use or inability to use the
212
+ Work (including but not limited to damages for loss of goodwill,
213
+ work stoppage, computer failure or malfunction, or any and all
214
+ other commercial damages or losses), even if such Contributor
215
+ has been advised of the possibility of such damages.
216
+
217
+ 9. Accepting Warranty or Additional Liability. While redistributing
218
+ the Work or Derivative Works thereof, You may choose to offer,
219
+ and charge a fee for, acceptance of support, warranty, indemnity,
220
+ or other liability obligations and/or rights consistent with this
221
+ License. However, in accepting such obligations, You may act only
222
+ on Your own behalf and on Your sole responsibility, not on behalf
223
+ of any other Contributor, and only if You agree to indemnify,
224
+ defend, and hold each Contributor harmless for any liability
225
+ incurred by, or claims asserted against, such Contributor by reason
226
+ of your accepting any such warranty or additional liability.
227
+
228
+ END OF TERMS AND CONDITIONS
229
+
230
+ APPENDIX: How to apply the Apache License to your work.
231
+
232
+ To apply the Apache License to your work, attach the following
233
+ boilerplate notice, with the fields enclosed by brackets "[]"
234
+ replaced with your own identifying information. (Don't include
235
+ the brackets!) The text should be enclosed in the appropriate
236
+ comment syntax for the file format. We also recommend that a
237
+ file or class name and description of purpose be included on the
238
+ same "printed page" as the copyright notice for easier
239
+ identification within third-party archives.
240
+
241
+ Copyright [yyyy] [name of copyright owner]
242
+
243
+ Licensed under the Apache License, Version 2.0 (the "License");
244
+ you may not use this file except in compliance with the License.
245
+ You may obtain a copy of the License at
246
+
247
+ http://www.apache.org/licenses/LICENSE-2.0
248
+
249
+ Unless required by applicable law or agreed to in writing, software
250
+ distributed under the License is distributed on an "AS IS" BASIS,
251
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
252
+ See the License for the specific language governing permissions and
253
+ limitations under the License.
@@ -1,3 +1,5 @@
1
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
2
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
1
3
  /* Variants for adaptive components like input, select, notification, ... */
2
4
  .db-accordion[data-variant=card] .db-accordion-item::after {
3
5
  border: var(--db-border-width-3xs) solid var(--db-adaptive-on-bg-basic-emphasis-60-default);
@@ -17,6 +17,8 @@
17
17
  pointer-events: none !important;
18
18
  }
19
19
 
20
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
21
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
20
22
  /* Variants for adaptive components like input, select, notification, ... */
21
23
  @keyframes popover-animation {
22
24
  0% {
@@ -1,3 +1,5 @@
1
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
2
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
1
3
  /* Variants for adaptive components like input, select, notification, ... */
2
4
  .db-badge[data-size=medium], .db-badge[data-size=medium] > *,
3
5
  .db-badge[data-size=medium] .db-icon {
@@ -1,3 +1,5 @@
1
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
2
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
1
3
  /* Variants for adaptive components like input, select, notification, ... */
2
4
  .db-brand {
3
5
  font: var(--db-type-body-md);
@@ -1,3 +1,5 @@
1
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
2
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
1
3
  /* Variants for adaptive components like input, select, notification, ... */
2
4
  .db-button {
3
5
  font: var(--db-type-body-md);
@@ -1,3 +1,5 @@
1
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
2
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
1
3
  /* Variants for adaptive components like input, select, notification, ... */
2
4
  .db-card {
3
5
  border: var(--db-border-width-3xs) solid var(--db-adaptive-on-bg-basic-emphasis-60-default);
@@ -17,6 +17,8 @@
17
17
  pointer-events: none !important;
18
18
  }
19
19
 
20
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
21
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
20
22
  /* Variants for adaptive components like input, select, notification, ... */
21
23
  .db-checkbox input:checked:not([data-show-icon-leading=false])::before, .db-checkbox input:indeterminate:not([data-show-icon-leading=false])::before {
22
24
  color: var(--db-icon-color, inherit);
@@ -1,3 +1,5 @@
1
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
2
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
1
3
  /* Variants for adaptive components like input, select, notification, ... */
2
4
  .db-custom-button input {
3
5
  clip: rect(0, 0, 0, 0) !important;
@@ -1,3 +1,5 @@
1
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
2
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
1
3
  /* Variants for adaptive components like input, select, notification, ... */
2
4
  .db-custom-select[data-hide-label=true] > label, .db-visually-hidden,
3
5
  [data-visually-hidden=true] {
@@ -1,3 +1,5 @@
1
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
2
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
1
3
  /* Variants for adaptive components like input, select, notification, ... */
2
4
  .db-visually-hidden,
3
5
  [data-visually-hidden=true] {
@@ -17,6 +17,8 @@
17
17
  pointer-events: none !important;
18
18
  }
19
19
 
20
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
21
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
20
22
  /* Variants for adaptive components like input, select, notification, ... */
21
23
  .db-custom-select-form-field:is(summary) {
22
24
  list-style: none;
@@ -17,6 +17,8 @@
17
17
  pointer-events: none !important;
18
18
  }
19
19
 
20
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
21
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
20
22
  /* Variants for adaptive components like input, select, notification, ... */
21
23
  .db-custom-select-list {
22
24
  all: unset;
@@ -1,3 +1,5 @@
1
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
2
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
1
3
  /* Variants for adaptive components like input, select, notification, ... */
2
4
  .db-visually-hidden,
3
5
  [data-visually-hidden=true] {
@@ -1,3 +1,5 @@
1
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
2
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
1
3
  /* Variants for adaptive components like input, select, notification, ... */
2
4
  .db-divider:is(:not([data-margin]), [data-margin=small]) {
3
5
  margin: var(--db-spacing-fixed-sm) 0;
@@ -1,3 +1,5 @@
1
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
2
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
1
3
  /* Variants for adaptive components like input, select, notification, ... */
2
4
  @keyframes popover-animation {
3
5
  0% {
@@ -38,10 +38,7 @@
38
38
  calc(100% - #{variables.$db-spacing-fixed-xl})
39
39
  );
40
40
  /* stylelint-disable-next-line db-ux/use-sizing */
41
- min-block-size: var(
42
- --db-drawer-min-height,
43
- auto
44
- );
41
+ min-block-size: var(--db-drawer-min-height, auto);
45
42
  max-inline-size: none;
46
43
  }
47
44
  }
@@ -171,10 +168,7 @@ $spacings: (
171
168
  calc(100% - #{variables.$db-spacing-fixed-xl})
172
169
  );
173
170
  /* stylelint-disable-next-line db-ux/use-sizing */
174
- min-inline-size: var(
175
- --db-drawer-min-width,
176
- auto
177
- );
171
+ min-inline-size: var(--db-drawer-min-width, auto);
178
172
 
179
173
  &:not([data-direction]),
180
174
  &[data-direction="right"] {
@@ -1,3 +1,5 @@
1
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
2
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
1
3
  /* Variants for adaptive components like input, select, notification, ... */
2
4
  .db-header-meta-navigation {
3
5
  font: var(--db-type-body-md);
@@ -1,3 +1,5 @@
1
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
2
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
1
3
  /* Variants for adaptive components like input, select, notification, ... */
2
4
  .db-icon {
3
5
  font-size: 0 !important;
@@ -1,3 +1,5 @@
1
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
2
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
1
3
  /* Variants for adaptive components like input, select, notification, ... */
2
4
  .db-infotext {
3
5
  font: var(--db-type-body-sm);
@@ -17,6 +17,8 @@
17
17
  pointer-events: none !important;
18
18
  }
19
19
 
20
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
21
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
20
22
  /* Variants for adaptive components like input, select, notification, ... */
21
23
  .db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-invalid), .db-input:has(input[data-custom-validity=invalid]), .db-input[data-custom-validity=invalid] {
22
24
  --db-adaptive-bg-basic-level-1-default: var(
@@ -1,3 +1,5 @@
1
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
2
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
1
3
  /* Variants for adaptive components like input, select, notification, ... */
2
4
  .db-link {
3
5
  font: var(--db-type-body-md);
@@ -17,6 +17,8 @@
17
17
  pointer-events: none !important;
18
18
  }
19
19
 
20
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
21
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
20
22
  /* Variants for adaptive components like input, select, notification, ... */
21
23
  .db-navigation > menu .db-navigation-item::after {
22
24
  content: "";
@@ -1,3 +1,5 @@
1
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
2
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
1
3
  /* Variants for adaptive components like input, select, notification, ... */
2
4
  .db-navigation-item, .db-navigation-item a, .db-navigation-item .db-navigation-item-expand-button:is(button),
3
5
  .db-navigation-item .db-navigation-item-expand-button > button {
@@ -277,6 +279,9 @@
277
279
  white-space: normal;
278
280
  text-align: start;
279
281
  }
282
+ .db-navigation-item[data-force-mobile=true]:not([data-width=full]) {
283
+ inline-size: 100%;
284
+ }
280
285
  .db-navigation-item[data-force-mobile=true]:not([data-width=full]) .db-navigation-item-expand-button::after {
281
286
  --db-icon-margin-start: auto;
282
287
  }
@@ -284,6 +289,9 @@
284
289
  /* stylelint-disable-next-line media-query-no-invalid */
285
290
  }
286
291
  @media (max-width: 63.9375em) {
292
+ .db-navigation-item:not([data-width=full]) {
293
+ inline-size: 100%;
294
+ }
287
295
  .db-navigation-item:not([data-width=full]) .db-navigation-item-expand-button::after {
288
296
  --db-icon-margin-start: auto;
289
297
  }
@@ -304,7 +312,9 @@
304
312
  }
305
313
  }
306
314
  .db-navigation-item .db-navigation-item-expand-button[data-force-mobile=true][aria-expanded=true] ~ .db-sub-navigation .db-sub-navigation {
307
- inset-block: 0;
315
+ inset: 0;
316
+ inline-size: 100%;
317
+ border-color: transparent;
308
318
  }
309
319
  .db-navigation-item .db-navigation-item-expand-button[data-force-mobile=true]:not(.db-navigation-item .db-navigation-item-expand-button[data-force-mobile=true][aria-expanded=true]) ~ .db-sub-navigation {
310
320
  transform: translateX(110%);
@@ -330,7 +340,9 @@
330
340
  }
331
341
  @media (max-width: 63.9375em) {
332
342
  .db-navigation-item .db-navigation-item-expand-button[aria-expanded=true] ~ .db-sub-navigation .db-sub-navigation {
333
- inset-block: 0;
343
+ inset: 0;
344
+ inline-size: 100%;
345
+ border-color: transparent;
334
346
  }
335
347
  .db-navigation-item .db-navigation-item-expand-button:not(.db-navigation-item .db-navigation-item-expand-button[aria-expanded=true]) ~ .db-sub-navigation {
336
348
  transform: translateX(110%);
@@ -389,10 +401,16 @@
389
401
  }
390
402
  .db-sub-navigation[data-force-mobile=true] {
391
403
  padding: var(--db-spacing-fixed-md);
392
- inline-size: 100%;
404
+ inline-size: calc(100% - var(--db-spacing-fixed-xl));
393
405
  position: fixed;
394
406
  overflow: hidden auto;
395
- inset-block: calc(calc(var(--db-sizing-md) + 2 * var(--db-spacing-fixed-xs)) + var(--db-spacing-fixed-3xs)) calc(var(--db-sizing-md) + var(--db-spacing-fixed-xs) * 2 + var(--db-spacing-fixed-3xs));
407
+ inset-inline-start: var(--db-spacing-fixed-xl);
408
+ }
409
+ .db-drawer-container[data-direction=left] .db-sub-navigation[data-force-mobile=true] {
410
+ inset-inline: auto var(--db-spacing-fixed-xl);
411
+ }
412
+ .db-sub-navigation[data-force-mobile=true] {
413
+ inset-block: calc(calc(var(--db-sizing-md) + 2 * var(--db-spacing-fixed-xs))) calc(var(--db-sizing-md) + var(--db-spacing-fixed-xs) * 2);
396
414
  }
397
415
  .db-sub-navigation {
398
416
  /* stylelint-disable-next-line media-query-no-invalid */
@@ -400,10 +418,16 @@
400
418
  @media (max-width: 63.9375em) {
401
419
  .db-sub-navigation {
402
420
  padding: var(--db-spacing-fixed-md);
403
- inline-size: 100%;
421
+ inline-size: calc(100% - var(--db-spacing-fixed-xl));
404
422
  position: fixed;
405
423
  overflow: hidden auto;
406
- inset-block: calc(calc(var(--db-sizing-md) + 2 * var(--db-spacing-fixed-xs)) + var(--db-spacing-fixed-3xs)) calc(var(--db-sizing-md) + var(--db-spacing-fixed-xs) * 2 + var(--db-spacing-fixed-3xs));
424
+ inset-inline-start: var(--db-spacing-fixed-xl);
425
+ }
426
+ .db-drawer-container[data-direction=left] .db-sub-navigation {
427
+ inset-inline: auto var(--db-spacing-fixed-xl);
428
+ }
429
+ .db-sub-navigation {
430
+ inset-block: calc(calc(var(--db-sizing-md) + 2 * var(--db-spacing-fixed-xs))) calc(var(--db-sizing-md) + var(--db-spacing-fixed-xs) * 2);
407
431
  }
408
432
  }
409
433
  .db-sub-navigation {