@db-ux/core-components 2.0.9 → 2.1.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 (50) hide show
  1. package/build/components/accordion/accordion.css +4 -0
  2. package/build/components/accordion-item/accordion-item.css +30 -31
  3. package/build/components/accordion-item/accordion-item.scss +35 -39
  4. package/build/components/badge/badge.css +42 -13
  5. package/build/components/brand/brand.css +4 -0
  6. package/build/components/button/button.css +4 -0
  7. package/build/components/card/card.css +4 -0
  8. package/build/components/checkbox/checkbox.css +4 -0
  9. package/build/components/custom-select/custom-select.css +4 -0
  10. package/build/components/custom-select-dropdown/custom-select-dropdown.css +4 -0
  11. package/build/components/custom-select-form-field/custom-select-form-field.css +4 -0
  12. package/build/components/custom-select-list/custom-select-list.css +4 -0
  13. package/build/components/custom-select-list-item/custom-select-list-item.css +7 -21
  14. package/build/components/custom-select-list-item/custom-select-list-item.scss +5 -9
  15. package/build/components/divider/divider.css +4 -0
  16. package/build/components/drawer/drawer.css +16 -0
  17. package/build/components/drawer/drawer.scss +17 -0
  18. package/build/components/header/header.css +4 -0
  19. package/build/components/icon/icon.css +4 -0
  20. package/build/components/infotext/infotext.css +4 -0
  21. package/build/components/input/input.css +4 -0
  22. package/build/components/link/link.css +4 -0
  23. package/build/components/navigation/navigation.css +4 -0
  24. package/build/components/navigation-item/navigation-item.css +4 -0
  25. package/build/components/notification/notification.css +4 -0
  26. package/build/components/popover/popover.css +4 -0
  27. package/build/components/radio/radio.css +4 -0
  28. package/build/components/section/section.css +4 -0
  29. package/build/components/select/select.css +4 -0
  30. package/build/components/stack/stack-web-component.css +4 -0
  31. package/build/components/stack/stack.css +4 -0
  32. package/build/components/switch/switch.css +4 -0
  33. package/build/components/tab-item/tab-item.css +4 -0
  34. package/build/components/tab-list/tab-list.css +4 -0
  35. package/build/components/tabs/tabs.css +4 -0
  36. package/build/components/tag/tag.css +55 -17
  37. package/build/components/tag/tag.scss +6 -1
  38. package/build/components/textarea/textarea.css +4 -0
  39. package/build/components/tooltip/tooltip.css +25 -21
  40. package/build/components/tooltip/tooltip.scss +1 -1
  41. package/build/styles/absolute.css +215 -5
  42. package/build/styles/dialog-init.css +1 -1
  43. package/build/styles/index.css +30 -4
  44. package/build/styles/internal/_component.scss +5 -2
  45. package/build/styles/internal/_tag-components.scss +6 -3
  46. package/build/styles/relative.css +215 -5
  47. package/build/styles/rollup.css +215 -5
  48. package/build/styles/visually-hidden.css +1 -1
  49. package/build/styles/webpack.css +215 -5
  50. package/package.json +2 -2
@@ -10,6 +10,9 @@ $min-mobile-header-height: calc(
10
10
  $default-disabled: 0.4;
11
11
  $placeholder-disabled: 0.75;
12
12
 
13
+ $component-border: variables.$db-border-width-3xs solid
14
+ colors.$db-adaptive-on-bg-basic-emphasis-60-default;
15
+
13
16
  %default-adaptive-border {
14
17
  border: variables.$db-border-width-3xs solid
15
18
  colors.$db-adaptive-on-bg-basic-emphasis-100-default;
@@ -20,8 +23,8 @@ $placeholder-disabled: 0.75;
20
23
  }
21
24
 
22
25
  %component-border {
23
- border: variables.$db-border-width-3xs solid
24
- colors.$db-adaptive-on-bg-basic-emphasis-60-default;
26
+ // stylelint-disable-next-line db-ux/use-border-width, db-ux/use-border-color
27
+ border: $component-border;
25
28
  }
26
29
 
27
30
  %form-component-border {
@@ -7,10 +7,11 @@
7
7
  $interactive-selectors: "label, button:not(.db-tab-remove-button), a";
8
8
 
9
9
  @mixin get-weak($name: "adaptive", $border-color: 60, $background-color: 1) {
10
- // stylelint-disable-next-line db-ux/use-border-color
11
- border-color: var(
10
+ --db-tag-border-color: var(
12
11
  --db-#{$name}-on-bg-basic-emphasis-#{$border-color}-default
13
12
  );
13
+ // stylelint-disable-next-line db-ux/use-border-color
14
+ border-color: var(--db-tag-border-color);
14
15
 
15
16
  @include colors.set-current-colors(
16
17
  var(--db-#{$name}-bg-basic-level-#{$background-color}-default),
@@ -19,7 +20,9 @@ $interactive-selectors: "label, button:not(.db-tab-remove-button), a";
19
20
  }
20
21
 
21
22
  @mixin get-strong($name: "adaptive") {
22
- border-color: var(--db-#{$name}-on-bg-basic-emphasis-70-default);
23
+ --db-tag-border-color: var(--db-#{$name}-on-bg-basic-emphasis-70-default);
24
+ // stylelint-disable-next-line db-ux/use-border-color
25
+ border-color: var(--db-tag-border-color);
23
26
 
24
27
  @include colors.set-current-colors(
25
28
  var(--db-#{$name}-bg-vibrant-default),