@db-ux/core-components 2.1.0 → 2.1.2
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.
- package/build/components/accordion/accordion.css +1 -0
- package/build/components/accordion-item/accordion-item.css +2 -1
- package/build/components/accordion-item/accordion-item.scss +1 -1
- package/build/components/badge/badge.css +1 -0
- package/build/components/brand/brand.css +1 -0
- package/build/components/button/button.css +2 -1
- package/build/components/button/button.scss +1 -1
- package/build/components/card/card.css +1 -0
- package/build/components/checkbox/checkbox.css +2 -1
- package/build/components/custom-select/custom-select.css +12 -12
- package/build/components/custom-select/custom-select.scss +2 -2
- package/build/components/custom-select-dropdown/custom-select-dropdown.css +1 -0
- package/build/components/custom-select-form-field/custom-select-form-field.css +1 -0
- package/build/components/custom-select-list/custom-select-list.css +1 -0
- package/build/components/custom-select-list-item/custom-select-list-item.css +4 -3
- package/build/components/divider/divider.css +1 -0
- package/build/components/drawer/drawer.css +4 -4
- package/build/components/header/header.css +1 -0
- package/build/components/icon/icon.css +1 -0
- package/build/components/infotext/infotext.css +1 -0
- package/build/components/input/input.css +41 -21
- package/build/components/input/input.scss +31 -8
- package/build/components/link/link.css +2 -1
- package/build/components/navigation/navigation.css +1 -0
- package/build/components/navigation-item/navigation-item.css +2 -1
- package/build/components/navigation-item/navigation-item.scss +1 -1
- package/build/components/notification/notification.css +2 -1
- package/build/components/page/page.css +1 -0
- package/build/components/popover/popover.css +1 -0
- package/build/components/radio/radio.css +2 -1
- package/build/components/section/section.css +1 -0
- package/build/components/select/select.css +5 -4
- package/build/components/stack/stack-web-component.css +1 -0
- package/build/components/stack/stack.css +1 -0
- package/build/components/switch/switch.css +2 -1
- package/build/components/tab-item/tab-item.css +5 -4
- package/build/components/tab-item/tab-item.scss +1 -1
- package/build/components/tab-list/tab-list.css +1 -0
- package/build/components/tab-panel/tab-panel.css +1 -0
- package/build/components/tabs/tabs.css +1 -0
- package/build/components/tag/tag.css +2 -1
- package/build/components/tag/tag.scss +1 -1
- package/build/components/textarea/textarea.css +5 -4
- package/build/components/tooltip/tooltip.css +1 -0
- package/build/styles/absolute.css +7 -7
- package/build/styles/dialog-init.css +1 -1
- package/build/styles/dialog-init.scss +12 -7
- package/build/styles/index.css +7 -7
- package/build/styles/internal/_component.scss +0 -3
- package/build/styles/internal/_form-components.scss +5 -5
- package/build/styles/internal/_link-components.scss +1 -1
- package/build/styles/relative.css +7 -7
- package/build/styles/rollup.css +7 -7
- package/build/styles/webpack.css +7 -7
- package/package.json +3 -3
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
paddings/gaps in an application e.g. the <main> should have a responsive padding. */
|
|
5
5
|
/* Elevation */
|
|
6
6
|
/* Border */
|
|
7
|
+
/* Opacity */
|
|
7
8
|
/* Transitions */
|
|
8
9
|
/* Variants for adaptive components like input, select, notification, ... */
|
|
9
10
|
.db-select[data-hide-label=true] > label, .db-visually-hidden,
|
|
@@ -618,7 +619,7 @@ input[type=radio]:checked) > label {
|
|
|
618
619
|
--db-label-visible-above: 0;
|
|
619
620
|
}
|
|
620
621
|
.db-select[data-variant=floating] > label {
|
|
621
|
-
opacity:
|
|
622
|
+
opacity: var(--db-opacity-xl);
|
|
622
623
|
position: absolute;
|
|
623
624
|
z-index: 2;
|
|
624
625
|
inset-block-start: calc((var(--db-sizing-md) - var(--db-icon-font-size)) / 2);
|
|
@@ -657,7 +658,7 @@ select:is(input, textarea):not(:placeholder-shown),
|
|
|
657
658
|
> select option:checked:not([hidden]),
|
|
658
659
|
input[type=checkbox]:checked,
|
|
659
660
|
input[type=radio]:checked) [id$=-placeholder] {
|
|
660
|
-
opacity:
|
|
661
|
+
opacity: var(--db-opacity-xl);
|
|
661
662
|
font-family: var(--db-font-family-sans);
|
|
662
663
|
font-style: italic;
|
|
663
664
|
/* stylelint-disable-next-line db-ux/use-spacings */
|
|
@@ -799,7 +800,7 @@ input[type=radio]:checked) [id$=-placeholder] {
|
|
|
799
800
|
}
|
|
800
801
|
.db-select select::placeholder,
|
|
801
802
|
.db-select [id$=-placeholder] {
|
|
802
|
-
opacity:
|
|
803
|
+
opacity: var(--db-opacity-xl);
|
|
803
804
|
font-family: var(--db-font-family-sans);
|
|
804
805
|
font-style: italic;
|
|
805
806
|
}
|
|
@@ -845,7 +846,7 @@ input[type=radio]:checked) [id$=-placeholder] {
|
|
|
845
846
|
.db-select:has(select:disabled,
|
|
846
847
|
select[data-disabled=true],
|
|
847
848
|
select[aria-disabled=true]) {
|
|
848
|
-
opacity:
|
|
849
|
+
opacity: var(--db-opacity-md);
|
|
849
850
|
pointer-events: none;
|
|
850
851
|
}
|
|
851
852
|
.db-select::after, .db-select::before {
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
paddings/gaps in an application e.g. the <main> should have a responsive padding. */
|
|
6
6
|
/* Elevation */
|
|
7
7
|
/* Border */
|
|
8
|
+
/* Opacity */
|
|
8
9
|
/* Transitions */
|
|
9
10
|
/* Variants for adaptive components like input, select, notification, ... */
|
|
10
11
|
.db-visually-hidden,
|
|
@@ -513,7 +514,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
513
514
|
}
|
|
514
515
|
}
|
|
515
516
|
.db-switch:has(input:disabled) {
|
|
516
|
-
opacity:
|
|
517
|
+
opacity: var(--db-opacity-md);
|
|
517
518
|
}
|
|
518
519
|
.db-switch:is(label),
|
|
519
520
|
.db-switch > label {
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
paddings/gaps in an application e.g. the <main> should have a responsive padding. */
|
|
5
5
|
/* Elevation */
|
|
6
6
|
/* Border */
|
|
7
|
+
/* Opacity */
|
|
7
8
|
/* Transitions */
|
|
8
9
|
/* Variants for adaptive components like input, select, notification, ... */
|
|
9
10
|
.db-visually-hidden,
|
|
@@ -64,14 +65,14 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
64
65
|
outline-offset: var(--db-border-width-xs);
|
|
65
66
|
box-shadow: 0 0 0 var(--db-border-width-xs) var(--db-focus-box-shadow-bg-color, transparent);
|
|
66
67
|
}
|
|
67
|
-
.db-tab-item input:not([data-disable-focus=true]):not([type=radio], [role=switch]):focus-visible::before {
|
|
68
|
-
border-radius: var(--db-border-radius-xs);
|
|
69
|
-
}
|
|
70
68
|
@media screen and (prefers-reduced-motion: no-preference) {
|
|
71
69
|
.db-tab-item input:not([data-disable-focus=true]):focus-visible::before {
|
|
72
70
|
transition: outline var(--db-transition-duration-extra-fast), box-shadow var(--db-transition-duration-extra-fast);
|
|
73
71
|
}
|
|
74
72
|
}
|
|
73
|
+
.db-tab-item input:not([data-disable-focus=true]):not([type=radio], [role=switch]):focus-visible::before {
|
|
74
|
+
border-radius: var(--db-border-radius-xs);
|
|
75
|
+
}
|
|
75
76
|
|
|
76
77
|
/**
|
|
77
78
|
* @mixin screen-min-max
|
|
@@ -144,7 +145,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
144
145
|
border-radius: var(--db-border-radius-sm);
|
|
145
146
|
}
|
|
146
147
|
.db-tab-item:has(input:disabled) {
|
|
147
|
-
opacity:
|
|
148
|
+
opacity: var(--db-opacity-md);
|
|
148
149
|
}
|
|
149
150
|
.db-tab-item label {
|
|
150
151
|
background-color: var(--db-adaptive-bg-basic-transparent-full-default);
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
paddings/gaps in an application e.g. the <main> should have a responsive padding. */
|
|
5
5
|
/* Elevation */
|
|
6
6
|
/* Border */
|
|
7
|
+
/* Opacity */
|
|
7
8
|
/* Transitions */
|
|
8
9
|
.db-tag label, .db-tag a {
|
|
9
10
|
transition: outline var(--db-transition-duration-extra-fast), border-color var(--db-transition-straight-emotional), background-color var(--db-transition-straight-emotional);
|
|
@@ -1512,7 +1513,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
1512
1513
|
block-size: inherit;
|
|
1513
1514
|
}
|
|
1514
1515
|
.db-tag:has(:disabled), .db-tag[data-disabled=true] {
|
|
1515
|
-
opacity:
|
|
1516
|
+
opacity: var(--db-opacity-md);
|
|
1516
1517
|
pointer-events: none;
|
|
1517
1518
|
}
|
|
1518
1519
|
.db-tag[data-overflow=true] {
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
paddings/gaps in an application e.g. the <main> should have a responsive padding. */
|
|
5
5
|
/* Elevation */
|
|
6
6
|
/* Border */
|
|
7
|
+
/* Opacity */
|
|
7
8
|
/* Transitions */
|
|
8
9
|
.db-textarea[data-hide-label=true] > label, .db-visually-hidden,
|
|
9
10
|
[data-visually-hidden=true] {
|
|
@@ -372,7 +373,7 @@ input[type=radio]:checked) > label {
|
|
|
372
373
|
--db-label-visible-above: 0;
|
|
373
374
|
}
|
|
374
375
|
.db-textarea[data-variant=floating] > label {
|
|
375
|
-
opacity:
|
|
376
|
+
opacity: var(--db-opacity-xl);
|
|
376
377
|
position: absolute;
|
|
377
378
|
z-index: 2;
|
|
378
379
|
inset-block-start: calc((var(--db-sizing-md) - var(--db-icon-font-size)) / 2);
|
|
@@ -411,7 +412,7 @@ textarea:is(input, textarea):not(:placeholder-shown),
|
|
|
411
412
|
> select option:checked:not([hidden]),
|
|
412
413
|
input[type=checkbox]:checked,
|
|
413
414
|
input[type=radio]:checked) [id$=-placeholder] {
|
|
414
|
-
opacity:
|
|
415
|
+
opacity: var(--db-opacity-xl);
|
|
415
416
|
font-family: var(--db-font-family-sans);
|
|
416
417
|
font-style: italic;
|
|
417
418
|
}
|
|
@@ -623,7 +624,7 @@ input[type=radio]:checked) [id$=-placeholder] {
|
|
|
623
624
|
}
|
|
624
625
|
.db-textarea textarea::placeholder,
|
|
625
626
|
.db-textarea [id$=-placeholder] {
|
|
626
|
-
opacity:
|
|
627
|
+
opacity: var(--db-opacity-xl);
|
|
627
628
|
font-family: var(--db-font-family-sans);
|
|
628
629
|
font-style: italic;
|
|
629
630
|
}
|
|
@@ -669,7 +670,7 @@ input[type=radio]:checked) [id$=-placeholder] {
|
|
|
669
670
|
.db-textarea:has(textarea:disabled,
|
|
670
671
|
textarea[data-disabled=true],
|
|
671
672
|
textarea[aria-disabled=true]) {
|
|
672
|
-
opacity:
|
|
673
|
+
opacity: var(--db-opacity-md);
|
|
673
674
|
pointer-events: none;
|
|
674
675
|
}
|
|
675
676
|
.db-textarea::after, .db-textarea::before {
|