@db-ux/core-components 4.13.1-angular-signal-forms12-ac097f6 → 4.14.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 +12 -0
- package/build/components/accordion/accordion.css +33 -6
- package/build/components/accordion/accordion.scss +25 -0
- package/build/components/accordion-item/accordion-item.css +9 -14
- package/build/components/accordion-item/accordion-item.scss +5 -3
- package/build/components/badge/badge.css +1 -1
- package/build/components/badge/badge.scss +1 -1
- package/build/components/button/button.css +0 -8
- package/build/components/button/button.scss +0 -11
- package/build/components/checkbox/checkbox.css +6 -11
- package/build/components/custom-button/custom-button.css +15 -20
- package/build/components/custom-button/custom-button.scss +1 -1
- package/build/components/custom-select/custom-select.css +17 -16
- package/build/components/custom-select/custom-select.scss +1 -1
- package/build/components/custom-select-dropdown/custom-select-dropdown.css +39 -26
- package/build/components/custom-select-form-field/custom-select-form-field.css +6 -11
- package/build/components/custom-select-list/custom-select-list.css +6 -11
- package/build/components/custom-select-list-item/custom-select-list-item.css +24 -19
- package/build/components/divider/divider.css +18 -8
- package/build/components/drawer/drawer.css +9 -4
- package/build/components/header/header.css +33 -15
- package/build/components/input/input.css +6 -11
- package/build/components/link/link.css +8 -1
- package/build/components/navigation/navigation.css +6 -11
- package/build/components/navigation-item/navigation-item.css +15 -11
- package/build/components/notification/notification.css +8 -1
- package/build/components/radio/radio.css +6 -11
- package/build/components/select/select.css +6 -11
- package/build/components/switch/switch.css +6 -11
- package/build/components/tab-item/tab-item.css +6 -11
- package/build/components/tab-list/tab-list.css +6 -11
- package/build/components/table/table.css +6 -11
- package/build/components/tabs/tabs.css +50 -33
- package/build/components/tabs/tabs.scss +10 -55
- package/build/components/tag/tag.css +7 -10
- package/build/components/tag/tag.scss +1 -5
- package/build/components/textarea/textarea.css +6 -11
- package/build/styles/absolute.css +7 -7
- package/build/styles/bundle.css +7 -7
- package/build/styles/index.css +6 -6
- package/build/styles/internal/_icon-passing.scss +20 -10
- package/build/styles/internal/_link-components.scss +8 -1
- package/build/styles/internal/_scrollbar.scss +71 -0
- package/build/styles/relative.css +7 -7
- package/build/styles/rollup.css +7 -7
- package/build/styles/visually-hidden.css +1 -1
- package/build/styles/webpack.css +7 -7
- package/package.json +2 -2
|
@@ -3,27 +3,36 @@
|
|
|
3
3
|
|
|
4
4
|
$interactive-button-selectors: "label,button,a";
|
|
5
5
|
|
|
6
|
-
@mixin icon-passing(
|
|
6
|
+
@mixin icon-passing(
|
|
7
|
+
$inline-start: variables.$db-spacing-fixed-sm,
|
|
8
|
+
$block-start: calc(50% - 0.5em)
|
|
9
|
+
) {
|
|
7
10
|
&[data-icon-leading]:not([data-show-icon-leading="false"]),
|
|
8
11
|
&[data-icon]:not([data-show-icon="false"]) {
|
|
9
12
|
&::before {
|
|
10
13
|
position: absolute;
|
|
11
|
-
inset-block-start:
|
|
14
|
+
inset-block-start: var(
|
|
15
|
+
--db-icon-passing-inset-block-start,
|
|
16
|
+
#{$block-start}
|
|
17
|
+
);
|
|
12
18
|
inset-inline-start: var(
|
|
13
|
-
--db-icon-passing-inline-start,
|
|
19
|
+
--db-icon-passing-inset-inline-start,
|
|
14
20
|
#{$inline-start}
|
|
15
21
|
);
|
|
16
22
|
pointer-events: none;
|
|
17
23
|
z-index: 1;
|
|
18
24
|
}
|
|
19
25
|
|
|
20
|
-
#{$interactive-button-selectors}
|
|
21
|
-
|
|
22
|
-
#{$inline-start} + #{icons.$default-icon-margin-end} + 1lh
|
|
23
|
-
);
|
|
24
|
-
|
|
26
|
+
> :is(#{$interactive-button-selectors}),
|
|
27
|
+
> * > :is(#{$interactive-button-selectors}) {
|
|
25
28
|
/* stylelint-disable-next-line db-ux/use-spacings */
|
|
26
|
-
padding-inline-start: var(
|
|
29
|
+
padding-inline-start: var(
|
|
30
|
+
--db-icon-passing-padding-inline-start,
|
|
31
|
+
calc(
|
|
32
|
+
#{$inline-start} + #{icons.$default-icon-margin-end} +
|
|
33
|
+
var(--db-icon-font-size)
|
|
34
|
+
)
|
|
35
|
+
);
|
|
27
36
|
}
|
|
28
37
|
}
|
|
29
38
|
}
|
|
@@ -38,7 +47,8 @@ $interactive-button-selectors: "label,button,a";
|
|
|
38
47
|
z-index: 1;
|
|
39
48
|
}
|
|
40
49
|
|
|
41
|
-
#{$interactive-button-selectors}
|
|
50
|
+
> :is(#{$interactive-button-selectors}),
|
|
51
|
+
> * > :is(#{$interactive-button-selectors}) {
|
|
42
52
|
padding-inline-end: calc(
|
|
43
53
|
#{$inline-end} + #{icons.$default-icon-margin-end} +
|
|
44
54
|
var(--db-icon-font-size)
|
|
@@ -8,7 +8,10 @@
|
|
|
8
8
|
@include helpers.display(inline-block);
|
|
9
9
|
|
|
10
10
|
&:not([data-wrap="true"]) {
|
|
11
|
-
|
|
11
|
+
@include helpers.display(inline-flex);
|
|
12
|
+
|
|
13
|
+
block-size: 1lh;
|
|
14
|
+
align-items: center;
|
|
12
15
|
}
|
|
13
16
|
}
|
|
14
17
|
|
|
@@ -64,4 +67,8 @@
|
|
|
64
67
|
opacity: variables.$db-opacity-md;
|
|
65
68
|
pointer-events: none;
|
|
66
69
|
}
|
|
70
|
+
|
|
71
|
+
&::after {
|
|
72
|
+
text-decoration: none;
|
|
73
|
+
}
|
|
67
74
|
}
|
|
@@ -111,3 +111,74 @@ $scrollbar-width: helpers.px-to-rem(8);
|
|
|
111
111
|
border-end-end-radius: variables.$db-border-radius-xs;
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
|
+
|
|
115
|
+
@mixin angular-button-workaround() {
|
|
116
|
+
> .db-button,
|
|
117
|
+
&:is(.db-button) {
|
|
118
|
+
@content;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
$db-overflow-scroll-buttons-background: 21;
|
|
123
|
+
$db-overflow-scroll-buttons-button: 22;
|
|
124
|
+
|
|
125
|
+
@mixin set-overflow-scroll-button-backgrounds {
|
|
126
|
+
&::before,
|
|
127
|
+
&::after {
|
|
128
|
+
position: absolute;
|
|
129
|
+
z-index: $db-overflow-scroll-buttons-background;
|
|
130
|
+
background-color: colors.$db-adaptive-bg-basic-level-1-default;
|
|
131
|
+
inline-size: variables.$db-sizing-md;
|
|
132
|
+
block-size: calc(
|
|
133
|
+
var(
|
|
134
|
+
--db-overflow-scroll-button-background-block-size,
|
|
135
|
+
#{variables.$db-spacing-fixed-sm}
|
|
136
|
+
) +
|
|
137
|
+
#{variables.$db-sizing-md}
|
|
138
|
+
);
|
|
139
|
+
flex: 0 0 auto;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
&::before {
|
|
143
|
+
inset-inline-start: var(
|
|
144
|
+
--db-overflow-scroll-button-inset-inline-start,
|
|
145
|
+
0
|
|
146
|
+
);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
&::after {
|
|
150
|
+
inset-inline-end: 0;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
@mixin set-overflow-scroll-buttons {
|
|
155
|
+
/*
|
|
156
|
+
* Scroll left / right buttons
|
|
157
|
+
*/
|
|
158
|
+
.overflow-scroll-left-button {
|
|
159
|
+
@include angular-button-workaround {
|
|
160
|
+
inset-inline-start: var(
|
|
161
|
+
--db-overflow-scroll-button-inset-inline-start,
|
|
162
|
+
0
|
|
163
|
+
);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.overflow-scroll-right-button {
|
|
168
|
+
@include angular-button-workaround {
|
|
169
|
+
inset-inline-end: 0;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.overflow-scroll-left-button,
|
|
174
|
+
.overflow-scroll-right-button {
|
|
175
|
+
@include angular-button-workaround {
|
|
176
|
+
position: absolute;
|
|
177
|
+
z-index: $db-overflow-scroll-buttons-button;
|
|
178
|
+
inset-block: var(
|
|
179
|
+
--db-overflow-scroll-button-inset-block,
|
|
180
|
+
#{variables.$db-spacing-fixed-xs}
|
|
181
|
+
);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|