@db-ux/core-components 4.7.2 → 4.8.0

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 +26 -16
  2. package/build/components/accordion/accordion.css +2 -0
  3. package/build/components/accordion-item/accordion-item.css +2 -0
  4. package/build/components/badge/badge.css +2 -0
  5. package/build/components/brand/brand.css +2 -0
  6. package/build/components/button/button.css +2 -0
  7. package/build/components/card/card.css +2 -0
  8. package/build/components/checkbox/checkbox.css +2 -0
  9. package/build/components/custom-button/custom-button.css +2 -0
  10. package/build/components/custom-select/custom-select.css +2 -0
  11. package/build/components/custom-select-dropdown/custom-select-dropdown.css +2 -0
  12. package/build/components/custom-select-form-field/custom-select-form-field.css +2 -0
  13. package/build/components/custom-select-list/custom-select-list.css +2 -0
  14. package/build/components/custom-select-list-item/custom-select-list-item.css +2 -0
  15. package/build/components/divider/divider.css +2 -0
  16. package/build/components/drawer/drawer.css +2 -0
  17. package/build/components/header/header.css +2 -0
  18. package/build/components/icon/icon.css +2 -0
  19. package/build/components/infotext/infotext.css +2 -0
  20. package/build/components/input/input.css +2 -0
  21. package/build/components/link/link.css +2 -0
  22. package/build/components/navigation/navigation.css +2 -0
  23. package/build/components/navigation-item/navigation-item.css +2 -0
  24. package/build/components/notification/notification-grid-non-overlay.scss +1 -1
  25. package/build/components/notification/notification-grid-overlay.scss +2 -2
  26. package/build/components/notification/notification.css +66 -64
  27. package/build/components/notification/notification.scss +9 -9
  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 +3 -3
  44. package/build/styles/bundle.css +3 -3
  45. package/build/styles/index.css +2 -2
  46. package/build/styles/relative.css +3 -3
  47. package/build/styles/rollup.css +3 -3
  48. package/build/styles/webpack.css +3 -3
  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
@@ -13,8 +13,8 @@
13
13
 
14
14
  %timestamp-line-height-adjustments {
15
15
  // Adjusts line-height for elements when timestamp is present
16
- &:has(span) {
17
- header,
16
+ &:has([data-area="timestamp"]) {
17
+ [data-area="head"],
18
18
  p,
19
19
  &::before,
20
20
  .db-button {
@@ -59,7 +59,7 @@
59
59
  }
60
60
 
61
61
  // headline
62
- header {
62
+ [data-area="head"] {
63
63
  grid-area: head;
64
64
 
65
65
  &,
@@ -101,7 +101,7 @@
101
101
  }
102
102
 
103
103
  // timestamp
104
- span {
104
+ [data-area="timestamp"] {
105
105
  @extend %db-overwrite-font-size-sm;
106
106
 
107
107
  grid-area: timestamp;
@@ -114,7 +114,7 @@
114
114
  }
115
115
 
116
116
  // Inline links stay within content flow
117
- &[data-link-variant="inline"] a {
117
+ &[data-link-variant="inline"] > :is(a, db-link) {
118
118
  // 1. Assign the link to the "timestamp" area.
119
119
  // All layouts (overlay and default) must recognize this area.
120
120
  grid-area: timestamp;
@@ -131,15 +131,15 @@
131
131
  // If an inline link is present, it takes precedence over the timestamp
132
132
  // Note: :has() pseudo-class has limited browser support (Firefox < 121)
133
133
  // Progressive enhancement - timestamps gracefully shown in older browsers
134
- &[data-link-variant="inline"]:has(a) {
135
- > span {
134
+ &[data-link-variant="inline"]:has(> a, > db-link) {
135
+ > [data-area="timestamp"] {
136
136
  display: none;
137
137
  }
138
138
  }
139
139
 
140
140
  // Block links get placed in grid area (default behavior)
141
141
  // This applies when linkVariant is "block" or not specified
142
- &:not([data-link-variant="inline"]) a {
142
+ &:not([data-link-variant="inline"]) > :is(a, db-link) {
143
143
  grid-area: link;
144
144
  white-space: nowrap;
145
145
  }
@@ -179,7 +179,7 @@
179
179
  // This applies when linkVariant is "block" (explicit or default when links are present)
180
180
  &:not([data-variant="overlay"]) {
181
181
  &[data-link-variant="block"],
182
- &:not([data-link-variant]):has(a) {
182
+ &:not([data-link-variant]):has(> a, > db-link) {
183
183
  @extend %grid-layout-variant-not-overlay;
184
184
  }
185
185
  }
@@ -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
  @media screen {
3
5
  .db-page-document {
@@ -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% {
@@ -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-section:not([data-width]), .db-section[data-width=full] {
3
5
  padding-inline: var(--db-spacing-fixed-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-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-stack:not([hidden]) {
3
5
  display: flex;
@@ -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-stack:not([hidden]) {
3
5
  display: flex;
@@ -1,4 +1,6 @@
1
1
  @charset "UTF-8";
2
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
3
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
2
4
  /* Variants for adaptive components like input, select, notification, ... */
3
5
  .db-visually-hidden,
4
6
  [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] {
@@ -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-tab-panel:not([hidden]) {
3
5
  display: none;
@@ -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] {
@@ -19,6 +19,8 @@
19
19
  transform: rotate(1turn);
20
20
  }
21
21
  }
22
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
23
+ /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
22
24
  /* Variants for adaptive components like input, select, notification, ... */
23
25
  .db-tag:has(label, button:not(.db-tab-remove-button), a)[data-semantic=neutral] {
24
26
  --db-adaptive-bg-basic-level-1-default: var(
@@ -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-textarea[data-variant=floating] > label, .db-textarea textarea {
22
24
  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-tooltip {
3
5
  font: var(--db-type-body-sm);