@db-ux/core-components 3.0.2-shell4-bdb351c → 3.0.3
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/assets/icons/LICENCES.json +0 -24
- package/build/assets/icons/fonts/all/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/default/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/default_12/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/default_14/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/default_16/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/default_20/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/default_24/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/default_28/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/default_32/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/default_48/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/default_64/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/filled/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/filled_12/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/filled_14/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/filled_16/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/filled_20/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/filled_24/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/filled_28/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/filled_32/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/filled_48/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/filled_64/db-ux.woff2 +0 -0
- package/build/components/accordion/accordion.css +5 -5
- package/build/components/{control-panel-brand/control-panel-brand.css → brand/brand.css} +6 -12
- package/build/components/{control-panel-brand/control-panel-brand.scss → brand/brand.scss} +1 -10
- package/build/components/button/button.css +1 -1
- package/build/components/button/button.scss +2 -2
- package/build/components/custom-select/custom-select.css +4 -4
- package/build/components/custom-select-dropdown/custom-select-dropdown.css +12 -12
- package/build/components/custom-select-list-item/custom-select-list-item.css +6 -6
- package/build/components/divider/divider.css +6 -6
- package/build/components/drawer/drawer.css +6 -7
- package/build/components/drawer/drawer.scss +2 -7
- package/build/components/header/header.css +759 -0
- package/build/components/header/header.scss +259 -0
- package/build/components/navigation/navigation.css +123 -394
- package/build/components/navigation/navigation.scss +72 -155
- package/build/components/navigation-item/navigation-item.css +418 -35
- package/build/components/navigation-item/navigation-item.scss +310 -8
- package/build/components/page/page.css +52 -0
- package/build/components/page/page.scss +52 -0
- package/build/components/popover/popover.css +1 -1
- package/build/components/stack/stack-web-component.css +0 -1
- package/build/components/stack/stack.css +0 -1
- package/build/components/tab-item/tab-item.scss +1 -0
- package/build/components/tab-list/tab-list.css +1 -1
- package/build/components/tabs/tabs.css +23 -106
- package/build/components/tabs/tabs.scss +70 -25
- package/build/components/tag/tag.css +11 -5
- package/build/components/tag/tag.scss +5 -1
- package/build/components/textarea/textarea.css +1 -1
- package/build/components/tooltip/tooltip.css +1 -1
- package/build/styles/absolute.css +6 -6
- package/build/styles/component-animations.css +1 -1
- package/build/styles/index.css +5 -5
- package/build/styles/index.scss +3 -11
- package/build/styles/internal/_custom-elements.scss +4 -22
- package/build/styles/internal/{_indicator.scss → _db-puls.scss} +16 -37
- package/build/styles/internal/_icon-passing.scss +9 -19
- package/build/styles/internal/_popover-component.scss +4 -1
- package/build/styles/internal/_scrollbar.scss +0 -71
- package/build/styles/relative.css +6 -6
- package/build/styles/rollup.css +6 -6
- package/build/styles/wc-workarounds.css +1 -1
- package/build/styles/wc-workarounds.scss +0 -11
- package/build/styles/webpack.css +6 -6
- package/package.json +3 -3
- package/build/assets/icons/double_chevron_left.svg +0 -1
- package/build/assets/icons/double_chevron_right.svg +0 -1
- package/build/assets/icons/house.svg +0 -1
- package/build/assets/icons/intermediary_stop.svg +0 -1
- package/build/components/control-panel-desktop/control-panel-desktop.css +0 -791
- package/build/components/control-panel-desktop/control-panel-desktop.scss +0 -29
- package/build/components/control-panel-flat-icon-navigation/control-panel-flat-icon-navigation.css +0 -222
- package/build/components/control-panel-flat-icon-navigation/control-panel-flat-icon-navigation.scss +0 -95
- package/build/components/control-panel-meta-navigation/control-panel-meta-navigation.css +0 -54
- package/build/components/control-panel-meta-navigation/control-panel-meta-navigation.scss +0 -12
- package/build/components/control-panel-mobile/control-panel-mobile.css +0 -718
- package/build/components/control-panel-mobile/control-panel-mobile.scss +0 -127
- package/build/components/control-panel-primary-actions/control-panel-primary-actions.css +0 -16
- package/build/components/control-panel-primary-actions/control-panel-primary-actions.scss +0 -8
- package/build/components/control-panel-secondary-actions/control-panel-secondary-actions.css +0 -16
- package/build/components/control-panel-secondary-actions/control-panel-secondary-actions.scss +0 -8
- package/build/components/navigation-item-group/navigation-item-group-menu-popover.css +0 -189
- package/build/components/navigation-item-group/navigation-item-group-menu-popover.scss +0 -105
- package/build/components/navigation-item-group/navigation-item-group-menu-tree.css +0 -208
- package/build/components/navigation-item-group/navigation-item-group-menu-tree.scss +0 -40
- package/build/components/navigation-item-group/navigation-item-group.css +0 -432
- package/build/components/navigation-item-group/navigation-item-group.scss +0 -69
- package/build/components/shell/shell-desktop.css +0 -548
- package/build/components/shell/shell-desktop.scss +0 -187
- package/build/components/shell/shell-mobile.css +0 -647
- package/build/components/shell/shell-mobile.scss +0 -137
- package/build/components/shell/shell.css +0 -1890
- package/build/components/shell/shell.scss +0 -84
- package/build/components/shell-sub-navigation/shell-sub-navigation.css +0 -11
- package/build/components/shell-sub-navigation/shell-sub-navigation.scss +0 -15
- package/build/styles/internal/_control-panel-desktop.scss +0 -455
- package/build/styles/internal/_control-panel-mobile.scss +0 -130
- package/build/styles/internal/_navigation-item.scss +0 -122
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
@use "@db-ux/core-foundations/build/styles/variables";
|
|
2
2
|
@use "@db-ux/core-foundations/build/styles/colors";
|
|
3
3
|
@use "../../styles/internal/form-components";
|
|
4
|
-
@use "../../styles/internal/
|
|
5
|
-
@use "../../styles/internal/scrollbar";
|
|
4
|
+
@use "../../styles/internal/db-puls";
|
|
6
5
|
|
|
7
6
|
$max-tabs: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
8
7
|
|
|
@@ -20,12 +19,12 @@ $max-tabs: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
|
20
19
|
}
|
|
21
20
|
}
|
|
22
21
|
|
|
23
|
-
%horizontal-
|
|
22
|
+
%horizontal-pulse {
|
|
24
23
|
.db-tab-item {
|
|
25
|
-
@include
|
|
24
|
+
@include db-puls.set-db-puls-horizontal;
|
|
26
25
|
|
|
27
26
|
&:has(input:checked) {
|
|
28
|
-
@include
|
|
27
|
+
@include db-puls.show-db-puls-horizontal;
|
|
29
28
|
|
|
30
29
|
&::after {
|
|
31
30
|
inset-block-end: calc(
|
|
@@ -40,9 +39,9 @@ $max-tabs: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
|
40
39
|
}
|
|
41
40
|
}
|
|
42
41
|
|
|
43
|
-
%vertical-
|
|
42
|
+
%vertical-pulse {
|
|
44
43
|
.db-tab-item {
|
|
45
|
-
@include
|
|
44
|
+
@include db-puls.set-db-puls-vertical;
|
|
46
45
|
|
|
47
46
|
&::after {
|
|
48
47
|
inset-inline-start: 0;
|
|
@@ -50,20 +49,29 @@ $max-tabs: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
|
50
49
|
}
|
|
51
50
|
|
|
52
51
|
&:has(input:checked) {
|
|
53
|
-
@include
|
|
52
|
+
@include db-puls.show-db-puls-vertical;
|
|
54
53
|
}
|
|
55
54
|
}
|
|
56
55
|
}
|
|
57
56
|
|
|
58
|
-
%
|
|
57
|
+
%pulse-track {
|
|
59
58
|
background-color: colors.$db-adaptive-bg-basic-transparent-semi-default;
|
|
60
59
|
content: "";
|
|
61
60
|
border-radius: variables.$db-border-radius-xs;
|
|
62
61
|
position: absolute;
|
|
63
62
|
}
|
|
64
63
|
|
|
64
|
+
@mixin angular-button-workaround() {
|
|
65
|
+
> .db-button,
|
|
66
|
+
&:is(.db-button) {
|
|
67
|
+
@content;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
65
71
|
.db-tabs {
|
|
66
72
|
$db-tabs-z-index-tab-list: 20;
|
|
73
|
+
$db-tabs-z-index-button-background: 21;
|
|
74
|
+
$db-tabs-z-index-button: 22;
|
|
67
75
|
|
|
68
76
|
@extend %angular-workaround;
|
|
69
77
|
|
|
@@ -88,7 +96,7 @@ $max-tabs: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
|
88
96
|
}
|
|
89
97
|
|
|
90
98
|
.db-tab-item {
|
|
91
|
-
@extend %
|
|
99
|
+
@extend %db-puls;
|
|
92
100
|
}
|
|
93
101
|
|
|
94
102
|
/*
|
|
@@ -102,9 +110,9 @@ $max-tabs: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
|
102
110
|
}
|
|
103
111
|
|
|
104
112
|
.db-tab-list {
|
|
105
|
-
/* horizontal track for
|
|
113
|
+
/* horizontal track for pulse */
|
|
106
114
|
&::before {
|
|
107
|
-
@extend %
|
|
115
|
+
@extend %pulse-track;
|
|
108
116
|
|
|
109
117
|
block-size: variables.$db-border-width-xs;
|
|
110
118
|
inset-inline: variables.$db-spacing-fixed-xs;
|
|
@@ -118,7 +126,7 @@ $max-tabs: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
|
118
126
|
}
|
|
119
127
|
|
|
120
128
|
> ul {
|
|
121
|
-
@extend %horizontal-
|
|
129
|
+
@extend %horizontal-pulse;
|
|
122
130
|
|
|
123
131
|
overflow: auto hidden;
|
|
124
132
|
inline-size: 100%;
|
|
@@ -206,9 +214,9 @@ $max-tabs: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
|
206
214
|
}
|
|
207
215
|
}
|
|
208
216
|
|
|
209
|
-
/* vertical track for
|
|
217
|
+
/* vertical track for pulse */
|
|
210
218
|
&::before {
|
|
211
|
-
@extend %
|
|
219
|
+
@extend %pulse-track;
|
|
212
220
|
|
|
213
221
|
inline-size: variables.$db-border-width-xs;
|
|
214
222
|
inset-block: variables.$db-spacing-fixed-xs;
|
|
@@ -216,7 +224,7 @@ $max-tabs: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
|
216
224
|
}
|
|
217
225
|
|
|
218
226
|
> ul {
|
|
219
|
-
@extend %vertical-
|
|
227
|
+
@extend %vertical-pulse;
|
|
220
228
|
|
|
221
229
|
flex-direction: column;
|
|
222
230
|
block-size: 100%;
|
|
@@ -283,34 +291,71 @@ $max-tabs: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
|
283
291
|
}
|
|
284
292
|
|
|
285
293
|
&[data-scroll-behavior="arrows"] {
|
|
286
|
-
@include scrollbar.set-overflow-scroll-buttons;
|
|
287
|
-
|
|
288
294
|
.db-tab-list {
|
|
289
295
|
> ul {
|
|
290
|
-
@supports (scrollbar-width: none) {
|
|
291
|
-
scrollbar-width: none;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
296
|
&::-webkit-scrollbar {
|
|
295
297
|
display: none;
|
|
296
298
|
}
|
|
297
299
|
}
|
|
298
300
|
}
|
|
299
301
|
|
|
300
|
-
&:has(.
|
|
302
|
+
&:has(.tabs-scroll-left) {
|
|
301
303
|
&::before {
|
|
302
304
|
content: "";
|
|
303
305
|
}
|
|
304
306
|
}
|
|
305
307
|
|
|
306
|
-
&:has(.
|
|
308
|
+
&:has(.tabs-scroll-right) {
|
|
307
309
|
&::after {
|
|
308
310
|
content: "";
|
|
309
311
|
}
|
|
310
312
|
}
|
|
311
313
|
|
|
312
314
|
&:has(.db-button) {
|
|
313
|
-
|
|
315
|
+
&::before,
|
|
316
|
+
&::after {
|
|
317
|
+
position: absolute;
|
|
318
|
+
z-index: $db-tabs-z-index-button-background;
|
|
319
|
+
background-color: colors.$db-adaptive-bg-basic-level-1-default;
|
|
320
|
+
inline-size: variables.$db-sizing-md;
|
|
321
|
+
block-size: calc(
|
|
322
|
+
#{variables.$db-spacing-fixed-sm} +
|
|
323
|
+
#{variables.$db-sizing-md}
|
|
324
|
+
);
|
|
325
|
+
flex: 0 0 auto;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
&::before {
|
|
329
|
+
inset-inline-start: 0;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
&::after {
|
|
333
|
+
inset-inline-end: 0;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
/*
|
|
338
|
+
* Scroll left / right buttons
|
|
339
|
+
*/
|
|
340
|
+
.tabs-scroll-left {
|
|
341
|
+
@include angular-button-workaround() {
|
|
342
|
+
inset-inline-start: 0;
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.tabs-scroll-right {
|
|
347
|
+
@include angular-button-workaround() {
|
|
348
|
+
inset-inline-end: 0;
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.tabs-scroll-left,
|
|
353
|
+
.tabs-scroll-right {
|
|
354
|
+
@include angular-button-workaround() {
|
|
355
|
+
position: absolute;
|
|
356
|
+
z-index: $db-tabs-z-index-button;
|
|
357
|
+
inset-block: variables.$db-spacing-fixed-xs;
|
|
358
|
+
}
|
|
314
359
|
}
|
|
315
360
|
}
|
|
316
361
|
}
|
|
@@ -9,7 +9,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
9
9
|
/* Screen sizes */
|
|
10
10
|
/* Container sizes */
|
|
11
11
|
.db-tag label, .db-tag a {
|
|
12
|
-
transition: outline var(--db-transition-duration-extra-fast), background-color var(--db-transition-straight-emotional);
|
|
12
|
+
transition: outline var(--db-transition-duration-extra-fast), border-color var(--db-transition-straight-emotional), background-color var(--db-transition-straight-emotional);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
@keyframes show-right-to-left {
|
|
@@ -1229,7 +1229,9 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
1229
1229
|
--db-icon-margin-end: 0;
|
|
1230
1230
|
}
|
|
1231
1231
|
.db-tag:not([data-no-text=true]) {
|
|
1232
|
-
padding-inline: var(--db-spacing-fixed-2xs);
|
|
1232
|
+
--db-padding-inline-start: var(--db-spacing-fixed-2xs);
|
|
1233
|
+
/* stylelint-disable-next-line db-ux/use-spacings */
|
|
1234
|
+
padding-inline: var(--db-padding-inline-start) var(--db-spacing-fixed-2xs);
|
|
1233
1235
|
}
|
|
1234
1236
|
.db-tag:not([data-no-text=true]):has(.db-tab-remove-button) {
|
|
1235
1237
|
padding-inline-end: 0;
|
|
@@ -1373,16 +1375,20 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
1373
1375
|
}
|
|
1374
1376
|
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-icon]:not([data-show-icon=false])::before {
|
|
1375
1377
|
position: absolute;
|
|
1376
|
-
inset-block-start:
|
|
1377
|
-
inset-inline-start: var(--db-
|
|
1378
|
+
inset-block-start: calc(50% - 0.5em);
|
|
1379
|
+
inset-inline-start: var(--db-spacing-fixed-2xs);
|
|
1378
1380
|
pointer-events: none;
|
|
1379
1381
|
z-index: 1;
|
|
1380
1382
|
}
|
|
1381
1383
|
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-icon]:not([data-show-icon=false]) a,
|
|
1382
1384
|
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-icon]:not([data-show-icon=false]) button,
|
|
1383
1385
|
.db-tag:has(label, button:not(.db-tab-remove-button), a)[data-icon]:not([data-show-icon=false]) label {
|
|
1386
|
+
--db-padding-inline-start: calc(
|
|
1387
|
+
var(--db-spacing-fixed-2xs) + var(--db-icon-margin-end, var(--db-spacing-fixed-xs)) +
|
|
1388
|
+
var(--db-icon-font-size)
|
|
1389
|
+
);
|
|
1384
1390
|
/* stylelint-disable-next-line db-ux/use-spacings */
|
|
1385
|
-
padding-inline-start: var(--db-
|
|
1391
|
+
padding-inline-start: var(--db-padding-inline-start);
|
|
1386
1392
|
}
|
|
1387
1393
|
.db-tag:has(label, button:not(.db-tab-remove-button), a) input:checked {
|
|
1388
1394
|
background-color: transparent;
|
|
@@ -25,7 +25,11 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
&:not([data-no-text="true"]) {
|
|
28
|
-
padding-inline: variables.$db-spacing-fixed-2xs;
|
|
28
|
+
--db-padding-inline-start: #{variables.$db-spacing-fixed-2xs};
|
|
29
|
+
|
|
30
|
+
/* stylelint-disable-next-line db-ux/use-spacings */
|
|
31
|
+
padding-inline: var(--db-padding-inline-start)
|
|
32
|
+
#{variables.$db-spacing-fixed-2xs};
|
|
29
33
|
|
|
30
34
|
&:has(.db-tab-remove-button) {
|
|
31
35
|
padding-inline-end: 0;
|
|
@@ -196,7 +196,7 @@ input[type=radio]:checked) > label {
|
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
.db-textarea[data-variant=floating]:has(textarea:is(:focus-within, :not(:placeholder-shown)))::before, .db-textarea textarea::-webkit-scrollbar, .db-textarea textarea::-webkit-scrollbar-corner {
|
|
199
|
-
transition: outline var(--db-transition-duration-extra-fast), background-color var(--db-transition-straight-emotional);
|
|
199
|
+
transition: outline var(--db-transition-duration-extra-fast), border-color var(--db-transition-straight-emotional), background-color var(--db-transition-straight-emotional);
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
@keyframes show-right-to-left {
|
|
@@ -409,7 +409,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
409
409
|
visibility: hidden;
|
|
410
410
|
z-index: 1337;
|
|
411
411
|
white-space: normal;
|
|
412
|
-
max-inline-size: var(--db-container-xs);
|
|
412
|
+
max-inline-size: min(var(--db-container-xs), 100vw - 2 * var(--db-spacing-fixed-md));
|
|
413
413
|
block-size: fit-content;
|
|
414
414
|
inline-size: fit-content;
|
|
415
415
|
}
|