@db-ux/core-components 4.10.2 → 4.11.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.
- package/CHANGELOG.md +10 -0
- package/build/components/checkbox/checkbox.css +1 -1
- package/build/components/custom-button/custom-button.css +0 -5
- package/build/components/custom-select-list-item/custom-select-list-item.css +0 -5
- package/build/components/infotext/infotext.css +4 -1
- package/build/components/infotext/infotext.scss +3 -1
- package/build/components/input/input.css +0 -5
- package/build/components/link/link.css +4 -2
- package/build/components/notification/notification.css +4 -2
- package/build/components/radio/radio.css +1 -1
- package/build/components/switch/switch.css +1 -1
- package/build/components/tab-item/tab-item.css +0 -5
- package/build/components/tab-list/tab-list.css +4 -2
- package/build/components/table/table.css +591 -0
- package/build/components/table/table.scss +293 -0
- package/build/components/table-body/table-body.css +8 -0
- package/build/components/table-body/table-body.scss +5 -0
- package/build/components/table-caption/table-caption.css +3 -0
- package/build/components/table-caption/table-caption.scss +3 -0
- package/build/components/table-data-cell/table-data-cell.css +144 -0
- package/build/components/table-data-cell/table-data-cell.scss +5 -0
- package/build/components/table-footer/table-footer.css +8 -0
- package/build/components/table-footer/table-footer.scss +5 -0
- package/build/components/table-head/table-head.css +19 -0
- package/build/components/table-head/table-head.scss +17 -0
- package/build/components/table-header-cell/table-header-cell.css +148 -0
- package/build/components/table-header-cell/table-header-cell.scss +9 -0
- package/build/components/table-row/table-row.css +230 -0
- package/build/components/table-row/table-row.scss +116 -0
- package/build/components/tag/tag.css +4 -2
- package/build/components/textarea/textarea.css +4 -2
- package/build/styles/absolute.css +8 -8
- package/build/styles/bundle.css +8 -8
- package/build/styles/component-animations.css +1 -1
- package/build/styles/index.css +7 -7
- package/build/styles/index.scss +8 -0
- package/build/styles/internal/_custom-elements.scss +3 -1
- package/build/styles/internal/_form-components.scss +1 -1
- package/build/styles/internal/_table-components.scss +64 -0
- package/build/styles/relative.css +8 -8
- package/build/styles/rollup.css +8 -8
- package/build/styles/wc-workarounds.css +1 -1
- package/build/styles/webpack.css +8 -8
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @db-ux/core-components
|
|
2
2
|
|
|
3
|
+
## 4.11.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- feat: add DBTable, DBTableHead, DBTableBody, DBTableFooter, DBTableRow, DBTableHeaderCell, and DBTableDataCell components - [see commit f64b6e0](https://github.com/db-ux-design-system/core-web/commit/f64b6e0f4b36ea4987c1d9ac7a0328bf317cdcad)
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- fix: Remove unwanted whitespace characters from rendered output to prevent layout shifts - [see commit a0f23a4](https://github.com/db-ux-design-system/core-web/commit/a0f23a4a3e715414de3d045b59b88dc3ac28d5e7)
|
|
12
|
+
|
|
3
13
|
## 4.10.2
|
|
4
14
|
|
|
5
15
|
_version bump_
|
|
@@ -119,7 +119,6 @@
|
|
|
119
119
|
.db-checkbox:is(label),
|
|
120
120
|
.db-checkbox > label {
|
|
121
121
|
align-items: flex-start;
|
|
122
|
-
position: relative;
|
|
123
122
|
color: var(--db-check-element-label-color, var(--db-adaptive-on-bg-basic-emphasis-100-default));
|
|
124
123
|
}
|
|
125
124
|
.db-checkbox input {
|
|
@@ -139,6 +138,7 @@
|
|
|
139
138
|
}
|
|
140
139
|
.db-checkbox[data-hide-label=true] {
|
|
141
140
|
font-size: 0;
|
|
141
|
+
inline-size: fit-content;
|
|
142
142
|
}
|
|
143
143
|
.db-checkbox[data-hide-label=true] input {
|
|
144
144
|
margin-inline-end: 0;
|
|
@@ -24,11 +24,6 @@
|
|
|
24
24
|
outline-offset: var(--db-border-width-xs);
|
|
25
25
|
box-shadow: 0 0 0 var(--db-border-width-xs) var(--db-focus-box-shadow-bg-color, transparent);
|
|
26
26
|
}
|
|
27
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
28
|
-
.db-custom-button:not([data-disable-focus=true]):has(input):focus-within {
|
|
29
|
-
transition: outline var(--db-transition-duration-extra-fast), box-shadow var(--db-transition-duration-extra-fast);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
27
|
.db-custom-button:not([data-disable-focus=true]):not([type=radio], [role=switch]):has(input):focus-within {
|
|
33
28
|
border-radius: var(--db-border-radius-xs);
|
|
34
29
|
}
|
|
@@ -25,11 +25,6 @@
|
|
|
25
25
|
outline-offset: var(--db-border-width-xs);
|
|
26
26
|
box-shadow: 0 0 0 var(--db-border-width-xs) var(--db-focus-box-shadow-bg-color, transparent);
|
|
27
27
|
}
|
|
28
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
29
|
-
.db-custom-select-list-item:not([data-disable-focus=true]):has(> label > input:focus-visible) {
|
|
30
|
-
transition: outline var(--db-transition-duration-extra-fast), box-shadow var(--db-transition-duration-extra-fast);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
28
|
.db-custom-select-list-item:not([data-disable-focus=true]):not([type=radio], [role=switch]):has(> label > input:focus-visible) {
|
|
34
29
|
border-radius: var(--db-border-radius-xs);
|
|
35
30
|
}
|
|
@@ -59,11 +59,14 @@
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
.db-infotext {
|
|
62
|
-
--db-icon-margin-end:
|
|
62
|
+
--db-icon-margin-end: 0;
|
|
63
63
|
}
|
|
64
64
|
.db-infotext:not([hidden]) {
|
|
65
65
|
display: flex;
|
|
66
66
|
}
|
|
67
|
+
.db-infotext {
|
|
68
|
+
gap: 0.5ch;
|
|
69
|
+
}
|
|
67
70
|
.db-infotext:not([data-icon]) {
|
|
68
71
|
--db-icon-font-family: var(
|
|
69
72
|
--db-icon-filled-font-family,
|
|
@@ -6,11 +6,13 @@
|
|
|
6
6
|
@use "@db-ux/core-foundations/build/styles/icons";
|
|
7
7
|
|
|
8
8
|
.db-infotext {
|
|
9
|
-
--db-icon-margin-end:
|
|
9
|
+
--db-icon-margin-end: 0;
|
|
10
10
|
|
|
11
11
|
@extend %db-overwrite-font-size-sm;
|
|
12
12
|
@include helpers.display(flex);
|
|
13
13
|
|
|
14
|
+
gap: calc(1ch / 2);
|
|
15
|
+
|
|
14
16
|
@include icons.has-no-icon {
|
|
15
17
|
@include icons.to-filled-icon;
|
|
16
18
|
@include icons.set-icon("information_circle");
|
|
@@ -914,11 +914,6 @@ input:focus-visible)::after {
|
|
|
914
914
|
outline-offset: var(--db-border-width-xs);
|
|
915
915
|
box-shadow: 0 0 0 var(--db-border-width-xs) var(--db-focus-box-shadow-bg-color, transparent);
|
|
916
916
|
}
|
|
917
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
918
|
-
.db-input input::-webkit-calendar-picker-indicator:focus-visible, .db-input input::-webkit-search-cancel-button:focus-visible {
|
|
919
|
-
transition: outline var(--db-transition-duration-extra-fast), box-shadow var(--db-transition-duration-extra-fast);
|
|
920
|
-
}
|
|
921
|
-
}
|
|
922
917
|
.db-input input::-webkit-search-cancel-button {
|
|
923
918
|
appearance: none;
|
|
924
919
|
position: absolute;
|
|
@@ -15,8 +15,10 @@
|
|
|
15
15
|
--db-icon-font-size: var(--db-base-body-icon-font-size-sm);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
19
|
+
.db-link {
|
|
20
|
+
transition: outline var(--db-transition-duration-extra-fast), box-shadow var(--db-transition-duration-extra-fast), color var(--db-transition-straight-emotional);
|
|
21
|
+
}
|
|
20
22
|
}
|
|
21
23
|
|
|
22
24
|
@keyframes popover-animation {
|
|
@@ -817,8 +817,10 @@
|
|
|
817
817
|
border-radius: var(--default-card-border-radius, var(--db-border-radius-sm));
|
|
818
818
|
}
|
|
819
819
|
|
|
820
|
-
|
|
821
|
-
|
|
820
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
821
|
+
.db-notification a {
|
|
822
|
+
transition: outline var(--db-transition-duration-extra-fast), box-shadow var(--db-transition-duration-extra-fast), color var(--db-transition-straight-emotional);
|
|
823
|
+
}
|
|
822
824
|
}
|
|
823
825
|
|
|
824
826
|
@keyframes popover-animation {
|
|
@@ -58,7 +58,6 @@
|
|
|
58
58
|
.db-radio:is(label),
|
|
59
59
|
.db-radio > label {
|
|
60
60
|
align-items: flex-start;
|
|
61
|
-
position: relative;
|
|
62
61
|
color: var(--db-check-element-label-color, var(--db-adaptive-on-bg-basic-emphasis-100-default));
|
|
63
62
|
}
|
|
64
63
|
.db-radio input {
|
|
@@ -78,6 +77,7 @@
|
|
|
78
77
|
}
|
|
79
78
|
.db-radio[data-hide-label=true] {
|
|
80
79
|
font-size: 0;
|
|
80
|
+
inline-size: fit-content;
|
|
81
81
|
}
|
|
82
82
|
.db-radio[data-hide-label=true] input {
|
|
83
83
|
margin-inline-end: 0;
|
|
@@ -130,7 +130,6 @@
|
|
|
130
130
|
.db-switch:is(label),
|
|
131
131
|
.db-switch > label {
|
|
132
132
|
align-items: flex-start;
|
|
133
|
-
position: relative;
|
|
134
133
|
color: var(--db-check-element-label-color, var(--db-adaptive-on-bg-basic-emphasis-100-default));
|
|
135
134
|
}
|
|
136
135
|
.db-switch input {
|
|
@@ -150,6 +149,7 @@
|
|
|
150
149
|
}
|
|
151
150
|
.db-switch[data-hide-label=true] {
|
|
152
151
|
font-size: 0;
|
|
152
|
+
inline-size: fit-content;
|
|
153
153
|
}
|
|
154
154
|
.db-switch[data-hide-label=true] input {
|
|
155
155
|
margin-inline-end: 0;
|
|
@@ -25,11 +25,6 @@
|
|
|
25
25
|
outline-offset: var(--db-border-width-xs);
|
|
26
26
|
box-shadow: 0 0 0 var(--db-border-width-xs) var(--db-focus-box-shadow-bg-color, transparent);
|
|
27
27
|
}
|
|
28
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
29
|
-
.db-tab-item input:not([data-disable-focus=true]):focus-visible::before {
|
|
30
|
-
transition: outline var(--db-transition-duration-extra-fast), box-shadow var(--db-transition-duration-extra-fast);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
28
|
.db-tab-item input:not([data-disable-focus=true]):not([type=radio], [role=switch]):focus-visible::before {
|
|
34
29
|
border-radius: var(--db-border-radius-xs);
|
|
35
30
|
}
|
|
@@ -20,8 +20,10 @@
|
|
|
20
20
|
pointer-events: none !important;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
24
|
+
.db-tab-list > ul::-webkit-scrollbar, .db-tab-list > ul::-webkit-scrollbar-corner {
|
|
25
|
+
transition: outline var(--db-transition-duration-extra-fast), box-shadow var(--db-transition-duration-extra-fast), border-color var(--db-transition-straight-emotional), background-color var(--db-transition-straight-emotional);
|
|
26
|
+
}
|
|
25
27
|
}
|
|
26
28
|
|
|
27
29
|
@keyframes popover-animation {
|