@db-ux/core-components 3.0.2-copilot2-e7bf98b → 3.0.2-shell2-badc28f
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 +24 -0
- package/build/assets/icons/double_chevron_left.svg +1 -0
- package/build/assets/icons/double_chevron_right.svg +1 -0
- 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/assets/icons/house.svg +1 -0
- package/build/assets/icons/intermediary_stop.svg +1 -0
- package/build/components/accordion/accordion.css +5 -5
- package/build/components/button/button.scss +1 -1
- package/build/components/{brand/brand.css → control-panel-brand/control-panel-brand.css} +12 -6
- package/build/components/{brand/brand.scss → control-panel-brand/control-panel-brand.scss} +10 -1
- package/build/components/control-panel-desktop/control-panel-desktop.css +791 -0
- package/build/components/control-panel-desktop/control-panel-desktop.scss +29 -0
- package/build/components/control-panel-flat-icon-navigation/control-panel-flat-icon-navigation.css +192 -0
- package/build/components/control-panel-flat-icon-navigation/control-panel-flat-icon-navigation.scss +84 -0
- package/build/components/control-panel-meta-navigation/control-panel-meta-navigation.css +54 -0
- package/build/components/control-panel-meta-navigation/control-panel-meta-navigation.scss +12 -0
- package/build/components/control-panel-mobile/control-panel-mobile.css +716 -0
- package/build/components/control-panel-mobile/control-panel-mobile.scss +125 -0
- package/build/components/control-panel-primary-actions/control-panel-primary-actions.css +16 -0
- package/build/components/control-panel-primary-actions/control-panel-primary-actions.scss +8 -0
- package/build/components/control-panel-secondary-actions/control-panel-secondary-actions.css +16 -0
- package/build/components/control-panel-secondary-actions/control-panel-secondary-actions.scss +8 -0
- 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 -5
- package/build/components/drawer/drawer.scss +6 -26
- package/build/components/navigation/navigation.css +394 -123
- package/build/components/navigation/navigation.scss +155 -72
- package/build/components/navigation-item/navigation-item.css +35 -418
- package/build/components/navigation-item/navigation-item.scss +8 -310
- package/build/components/navigation-item-group/navigation-item-group-menu-popover.css +189 -0
- package/build/components/navigation-item-group/navigation-item-group-menu-popover.scss +105 -0
- package/build/components/navigation-item-group/navigation-item-group-menu-tree.css +208 -0
- package/build/components/navigation-item-group/navigation-item-group-menu-tree.scss +40 -0
- package/build/components/navigation-item-group/navigation-item-group.css +432 -0
- package/build/components/navigation-item-group/navigation-item-group.scss +69 -0
- package/build/components/shell/shell-desktop.css +548 -0
- package/build/components/shell/shell-desktop.scss +187 -0
- package/build/components/shell/shell-mobile.css +633 -0
- package/build/components/shell/shell-mobile.scss +107 -0
- package/build/components/shell/shell.css +1876 -0
- package/build/components/shell/shell.scss +84 -0
- package/build/components/shell-sub-navigation/shell-sub-navigation.css +11 -0
- package/build/components/shell-sub-navigation/shell-sub-navigation.scss +15 -0
- package/build/components/stack/stack-web-component.css +1 -0
- package/build/components/stack/stack.css +1 -0
- package/build/components/tab-item/tab-item.scss +0 -1
- package/build/components/tab-list/tab-list.css +1 -1
- package/build/components/tabs/tabs.css +106 -23
- package/build/components/tabs/tabs.scss +25 -70
- package/build/components/tag/tag.css +5 -11
- package/build/components/tag/tag.scss +1 -5
- package/build/components/textarea/textarea.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 +11 -3
- package/build/styles/internal/_control-panel-desktop.scss +455 -0
- package/build/styles/internal/_control-panel-mobile.scss +130 -0
- package/build/styles/internal/_custom-elements.scss +22 -4
- package/build/styles/internal/_icon-passing.scss +19 -9
- package/build/styles/internal/{_db-puls.scss → _indicator.scss} +37 -16
- package/build/styles/internal/_navigation-item.scss +122 -0
- package/build/styles/internal/_scrollbar.scss +71 -0
- 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 +11 -0
- package/build/styles/webpack.css +6 -6
- package/package.json +3 -7
- package/agent/_instructions.md +0 -9
- package/build/components/header/header.css +0 -759
- package/build/components/header/header.scss +0 -259
- package/build/components/page/page.css +0 -52
- package/build/components/page/page.scss +0 -52
|
@@ -1,259 +0,0 @@
|
|
|
1
|
-
@use "@db-ux/core-foundations/build/styles/variables";
|
|
2
|
-
@use "@db-ux/core-foundations/build/styles/screen-sizes";
|
|
3
|
-
@use "@db-ux/core-foundations/build/styles/helpers";
|
|
4
|
-
@use "@db-ux/core-foundations/build/styles/density";
|
|
5
|
-
@use "@db-ux/core-foundations/build/styles/colors";
|
|
6
|
-
@use "../../styles/internal/component";
|
|
7
|
-
|
|
8
|
-
.db-header {
|
|
9
|
-
background-color: colors.$db-adaptive-bg-basic-level-1-default;
|
|
10
|
-
display: flex;
|
|
11
|
-
flex-direction: column;
|
|
12
|
-
position: relative;
|
|
13
|
-
min-block-size: component.$min-mobile-header-height;
|
|
14
|
-
border-block-end: variables.$db-border-width-3xs solid
|
|
15
|
-
colors.$db-adaptive-on-bg-basic-emphasis-60-default;
|
|
16
|
-
|
|
17
|
-
@include screen-sizes.screen("md") {
|
|
18
|
-
--db-drawer-max-width: #{screen-sizes.$db-breakpoint-sm};
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&[data-width="small"] {
|
|
22
|
-
margin-inline: auto;
|
|
23
|
-
max-inline-size: screen-sizes.$db-breakpoint-sm;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&[data-width="medium"] {
|
|
27
|
-
margin-inline: auto;
|
|
28
|
-
max-inline-size: screen-sizes.$db-breakpoint-md;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&[data-width="large"] {
|
|
32
|
-
margin-inline: auto;
|
|
33
|
-
max-inline-size: screen-sizes.$db-breakpoint-lg;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.db-link {
|
|
37
|
-
display: inline-block;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&[data-on-forcing-mobile="true"] {
|
|
41
|
-
/*
|
|
42
|
-
We make the header invisible for a short time if the user passes in data-force-mobile property.
|
|
43
|
-
We do it because otherwise we see the default desktop-navigation for some mil. sec.
|
|
44
|
-
*/
|
|
45
|
-
visibility: hidden;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
// All use-cases where we hide the divider
|
|
49
|
-
&:has(.db-header-navigation:empty),
|
|
50
|
-
&:has(.db-brand:empty) {
|
|
51
|
-
.db-header-navigation-container::before {
|
|
52
|
-
display: none;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
// Hide the burger menu if there is no navigation
|
|
57
|
-
&:has(.db-header-navigation:empty) {
|
|
58
|
-
.db-header-burger-menu-container {
|
|
59
|
-
display: none;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&:has(.db-header-secondary-action:empty) {
|
|
63
|
-
.db-header-action-container::before {
|
|
64
|
-
display: none;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.db-header-navigation-bar {
|
|
71
|
-
display: flex;
|
|
72
|
-
position: relative;
|
|
73
|
-
padding: variables.$db-spacing-fixed-xs variables.$db-spacing-fixed-md;
|
|
74
|
-
inline-size: 100%;
|
|
75
|
-
align-items: center;
|
|
76
|
-
|
|
77
|
-
@include screen-sizes.screen("md") {
|
|
78
|
-
padding: variables.$db-spacing-fixed-md variables.$db-spacing-fixed-lg;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.db-header-meta-navigation {
|
|
83
|
-
@extend %db-density-functional;
|
|
84
|
-
|
|
85
|
-
display: flex;
|
|
86
|
-
flex-direction: column;
|
|
87
|
-
gap: variables.$db-spacing-fixed-sm;
|
|
88
|
-
justify-content: flex-end;
|
|
89
|
-
background-color: colors.$db-adaptive-bg-basic-level-2-default;
|
|
90
|
-
padding: variables.$db-spacing-fixed-md;
|
|
91
|
-
|
|
92
|
-
@include helpers.divider("top");
|
|
93
|
-
|
|
94
|
-
@include screen-sizes.screen("md") {
|
|
95
|
-
padding: variables.$db-spacing-fixed-xs variables.$db-spacing-fixed-lg;
|
|
96
|
-
margin: 0;
|
|
97
|
-
gap: variables.$db-spacing-fixed-md;
|
|
98
|
-
flex-direction: row;
|
|
99
|
-
|
|
100
|
-
&::before {
|
|
101
|
-
display: none;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
&:empty {
|
|
105
|
-
display: none;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
&:empty {
|
|
110
|
-
display: none;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.db-header-navigation-container {
|
|
115
|
-
display: inherit;
|
|
116
|
-
flex: 1 1 auto;
|
|
117
|
-
inline-size: 100%;
|
|
118
|
-
align-items: center;
|
|
119
|
-
block-size: 100%;
|
|
120
|
-
|
|
121
|
-
@include screen-sizes.screen("md") {
|
|
122
|
-
@include helpers.divider("left");
|
|
123
|
-
|
|
124
|
-
&::before {
|
|
125
|
-
position: inherit;
|
|
126
|
-
block-size: variables.$db-sizing-md;
|
|
127
|
-
margin-inline-start: variables.$db-spacing-fixed-lg;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.db-header-primary-action {
|
|
133
|
-
margin-inline-start: auto;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.db-header-brand-container:not(:has(> :nth-child(1))) {
|
|
137
|
-
display: none;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.db-header-action-container:has(> .db-header-secondary-action:empty) {
|
|
141
|
-
@include screen-sizes.screen("md") {
|
|
142
|
-
display: none;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.db-header-brand-container {
|
|
147
|
-
min-block-size: variables.$db-sizing-md;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.db-header-action-container {
|
|
151
|
-
@include helpers.divider("left");
|
|
152
|
-
|
|
153
|
-
@include screen-sizes.screen("md") {
|
|
154
|
-
&::before {
|
|
155
|
-
margin-inline: variables.$db-spacing-fixed-sm;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
&::before {
|
|
160
|
-
margin-inline: variables.$db-spacing-fixed-xs;
|
|
161
|
-
position: inherit;
|
|
162
|
-
block-size: variables.$db-sizing-md;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.db-header-brand-container,
|
|
167
|
-
.db-header-action-container {
|
|
168
|
-
align-items: center;
|
|
169
|
-
block-size: 100%;
|
|
170
|
-
display: inherit;
|
|
171
|
-
gap: inherit;
|
|
172
|
-
flex: 0 1 auto;
|
|
173
|
-
flex-grow: 0;
|
|
174
|
-
flex-shrink: 0;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.db-header-secondary-action {
|
|
178
|
-
flex: 0 1 auto;
|
|
179
|
-
flex-grow: 0;
|
|
180
|
-
flex-shrink: 0;
|
|
181
|
-
padding-block-start: variables.$db-spacing-fixed-xs;
|
|
182
|
-
|
|
183
|
-
@include helpers.divider("top");
|
|
184
|
-
|
|
185
|
-
@include screen-sizes.screen("md") {
|
|
186
|
-
&::before {
|
|
187
|
-
display: none;
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.db-header-drawer-navigation {
|
|
193
|
-
display: flex;
|
|
194
|
-
flex-direction: column;
|
|
195
|
-
flex: 1 1 auto;
|
|
196
|
-
block-size: 100%;
|
|
197
|
-
overflow: auto;
|
|
198
|
-
justify-content: space-between;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
.db-header-navigation {
|
|
202
|
-
padding-block: variables.$db-spacing-fixed-md;
|
|
203
|
-
|
|
204
|
-
@include screen-sizes.screen("md") {
|
|
205
|
-
margin-inline: variables.$db-spacing-fixed-lg;
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.db-header-navigation,
|
|
210
|
-
.db-header-secondary-action {
|
|
211
|
-
display: flex;
|
|
212
|
-
gap: variables.$db-spacing-fixed-sm;
|
|
213
|
-
padding-inline: variables.$db-spacing-fixed-md;
|
|
214
|
-
|
|
215
|
-
@include screen-sizes.screen("md") {
|
|
216
|
-
gap: variables.$db-spacing-fixed-xs;
|
|
217
|
-
padding: 0;
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
.db-header-drawer {
|
|
222
|
-
--db-drawer-content-padding-inline: 0;
|
|
223
|
-
// 1px for box shadow of header
|
|
224
|
-
--db-drawer-header-padding-block-end: calc(
|
|
225
|
-
1px + #{variables.$db-spacing-fixed-xs}
|
|
226
|
-
);
|
|
227
|
-
|
|
228
|
-
padding-block-end: 0;
|
|
229
|
-
|
|
230
|
-
.db-drawer-content {
|
|
231
|
-
display: flex;
|
|
232
|
-
flex-direction: column;
|
|
233
|
-
block-size: 100%;
|
|
234
|
-
overflow: hidden;
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
/* Only for Desktop */
|
|
239
|
-
.db-header-meta-navigation,
|
|
240
|
-
.db-header-navigation-container > .db-header-navigation,
|
|
241
|
-
.db-header-action-container > .db-header-secondary-action {
|
|
242
|
-
display: none;
|
|
243
|
-
|
|
244
|
-
@include screen-sizes.screen("md") {
|
|
245
|
-
display: inherit;
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
/* Only for Mobile */
|
|
250
|
-
.db-header-drawer-navigation > .db-header-meta-navigation:not(:empty) {
|
|
251
|
-
display: inherit;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
.db-header-drawer,
|
|
255
|
-
.db-header-burger-menu-container {
|
|
256
|
-
@include screen-sizes.screen("md") {
|
|
257
|
-
display: none;
|
|
258
|
-
}
|
|
259
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/* Use sizing's for fixed heights/widths e.g. the db-button has always a fixed height */
|
|
2
|
-
/* Use fixed spacings for all kind of distances (margin, padding, ...) */
|
|
3
|
-
/* The primary use-case for responsive spacings are
|
|
4
|
-
paddings/gaps in an application e.g. the <main> should have a responsive padding. */
|
|
5
|
-
/* Elevation */
|
|
6
|
-
/* Border */
|
|
7
|
-
/* Opacity */
|
|
8
|
-
/* Transitions */
|
|
9
|
-
/* Screen sizes */
|
|
10
|
-
/* Container sizes */
|
|
11
|
-
.db-page-document {
|
|
12
|
-
block-size: 100%;
|
|
13
|
-
overflow: hidden;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.db-page {
|
|
17
|
-
opacity: 0;
|
|
18
|
-
}
|
|
19
|
-
@media screen and (prefers-reduced-motion: no-preference) {
|
|
20
|
-
.db-page[data-fade-in=true] {
|
|
21
|
-
transition: opacity var(--db-transition-straight-emotional);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
.db-page:not([data-fonts-loaded]), .db-page[data-fonts-loaded=true] {
|
|
25
|
-
opacity: 1;
|
|
26
|
-
}
|
|
27
|
-
.db-page[data-variant=fixed] {
|
|
28
|
-
block-size: 100%;
|
|
29
|
-
min-block-size: 100%;
|
|
30
|
-
display: flex;
|
|
31
|
-
flex-direction: column;
|
|
32
|
-
/* workaround for angular */
|
|
33
|
-
}
|
|
34
|
-
.db-page[data-variant=fixed] > :is(.db-header, .db-footer, header, footer) {
|
|
35
|
-
display: flex;
|
|
36
|
-
flex: 0 1 auto;
|
|
37
|
-
flex-grow: 0;
|
|
38
|
-
flex-shrink: 0;
|
|
39
|
-
}
|
|
40
|
-
.db-page[data-variant=fixed] > :is(db-header, dbheader, dbfooter, db-footer) > :is(.db-header, .db-footer, header, footer) {
|
|
41
|
-
display: flex;
|
|
42
|
-
flex: 0 1 auto;
|
|
43
|
-
flex-grow: 0;
|
|
44
|
-
flex-shrink: 0;
|
|
45
|
-
}
|
|
46
|
-
.db-page[data-variant=fixed] > .db-main {
|
|
47
|
-
display: flex;
|
|
48
|
-
flex-direction: column;
|
|
49
|
-
overflow: auto;
|
|
50
|
-
flex: 1 1 auto;
|
|
51
|
-
inline-size: 100%;
|
|
52
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
@use "@db-ux/core-foundations/build/styles/variables";
|
|
2
|
-
|
|
3
|
-
.db-page-document {
|
|
4
|
-
block-size: 100%;
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
@mixin header-footer-style {
|
|
9
|
-
> :is(.db-header, .db-footer, header, footer) {
|
|
10
|
-
display: flex;
|
|
11
|
-
flex: 0 1 auto;
|
|
12
|
-
flex-grow: 0;
|
|
13
|
-
flex-shrink: 0;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.db-page {
|
|
18
|
-
opacity: 0;
|
|
19
|
-
|
|
20
|
-
@media screen and (prefers-reduced-motion: no-preference) {
|
|
21
|
-
&[data-fade-in="true"] {
|
|
22
|
-
transition: opacity variables.$db-transition-straight-emotional;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&:not([data-fonts-loaded]),
|
|
27
|
-
&[data-fonts-loaded="true"] {
|
|
28
|
-
opacity: 1;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&[data-variant="fixed"] {
|
|
32
|
-
@include header-footer-style();
|
|
33
|
-
|
|
34
|
-
block-size: 100%;
|
|
35
|
-
min-block-size: 100%;
|
|
36
|
-
display: flex;
|
|
37
|
-
flex-direction: column;
|
|
38
|
-
|
|
39
|
-
/* workaround for angular */
|
|
40
|
-
> :is(db-header, dbheader, dbfooter, db-footer) {
|
|
41
|
-
@include header-footer-style();
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
> .db-main {
|
|
45
|
-
display: flex;
|
|
46
|
-
flex-direction: column;
|
|
47
|
-
overflow: auto;
|
|
48
|
-
flex: 1 1 auto;
|
|
49
|
-
inline-size: 100%;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|