@db-ux/core-components 4.14.0-shell-52d18db → 5.0.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 +28 -0
- package/agent/Best-Practise_Common-AI-Mistakes.md +3 -3
- package/build/components/accordion-item/accordion-item.css +0 -1
- package/build/components/brand/brand.css +0 -1
- package/build/components/brand/brand.scss +0 -1
- package/build/components/button/button.css +4 -9
- package/build/components/checkbox/checkbox.css +0 -3
- package/build/components/checkbox/checkbox.scss +0 -2
- package/build/components/custom-button/custom-button.css +8 -13
- package/build/components/custom-button/custom-button.scss +2 -3
- package/build/components/custom-select/custom-select.css +0 -1
- package/build/components/custom-select-list-item/custom-select-list-item.css +6 -2
- package/build/components/custom-select-list-item/custom-select-list-item.scss +8 -3
- package/build/components/drawer/drawer.css +32 -21
- package/build/components/drawer/drawer.scss +50 -26
- package/build/components/header/header.css +3 -10
- package/build/components/header/header.scss +7 -6
- package/build/components/icon/icon.css +0 -6
- package/build/components/infotext/infotext.css +0 -4
- package/build/components/infotext/infotext.scss +0 -2
- package/build/components/input/input.css +0 -5
- package/build/components/link/link.css +6 -9
- package/build/components/link/link.scss +8 -3
- package/build/components/navigation/navigation.css +1 -2
- package/build/components/navigation/navigation.scss +2 -2
- package/build/components/navigation-item/navigation-item.css +5 -28
- package/build/components/navigation-item/navigation-item.scss +5 -24
- package/build/components/notification/notification.css +1 -5
- package/build/components/notification/notification.scss +0 -2
- package/build/components/page/page.css +0 -8
- package/build/components/page/page.scss +0 -8
- package/build/components/select/select.css +0 -1
- package/build/components/stack/stack-web-component.css +0 -1
- package/build/components/stack/stack.css +0 -1
- package/build/components/switch/switch.css +0 -3
- package/build/components/switch/switch.scss +0 -1
- package/build/components/tab-item/tab-item.css +120 -98
- package/build/components/tab-item/tab-item.scss +89 -90
- package/build/components/tab-list/tab-list.css +38 -36
- package/build/components/tab-list/tab-list.scss +11 -9
- package/build/components/tab-panel/tab-panel.css +30 -4
- package/build/components/tab-panel/tab-panel.scss +60 -2
- package/build/components/table/table.css +0 -4
- package/build/components/table-row/table-row.css +0 -4
- package/build/components/table-row/table-row.scss +0 -5
- package/build/components/tabs/tabs.css +152 -263
- package/build/components/tabs/tabs.scss +243 -198
- package/build/components/tag/tag.css +2 -21
- package/build/components/tag/tag.scss +5 -7
- package/build/styles/absolute.css +12 -12
- package/build/styles/bundle.css +12 -12
- package/build/styles/index.css +11 -11
- package/build/styles/index.scss +3 -17
- package/build/styles/internal/_button-components.scss +7 -4
- package/build/styles/internal/_custom-elements.scss +8 -32
- package/build/styles/internal/_icon-passing.scss +9 -10
- package/build/styles/internal/_link-components.scss +1 -3
- package/build/styles/relative.css +12 -12
- package/build/styles/rollup.css +12 -12
- package/build/styles/wc-workarounds.css +1 -1
- package/build/styles/wc-workarounds.scss +0 -11
- package/build/styles/webpack.css +12 -12
- package/package.json +4 -4
- package/build/components/control-panel-brand/control-panel-brand.css +0 -53
- package/build/components/control-panel-brand/control-panel-brand.scss +0 -48
- package/build/components/control-panel-desktop/control-panel-desktop.css +0 -579
- package/build/components/control-panel-desktop/control-panel-desktop.scss +0 -30
- package/build/components/control-panel-flat-icon/control-panel-flat-icon.css +0 -258
- package/build/components/control-panel-flat-icon/control-panel-flat-icon.scss +0 -239
- package/build/components/control-panel-meta/control-panel-meta.css +0 -14
- package/build/components/control-panel-meta/control-panel-meta.scss +0 -15
- package/build/components/control-panel-mobile/control-panel-mobile.css +0 -442
- package/build/components/control-panel-mobile/control-panel-mobile.scss +0 -119
- package/build/components/control-panel-navigation/control-panel-navigation.css +0 -402
- package/build/components/control-panel-navigation/control-panel-navigation.scss +0 -186
- package/build/components/control-panel-navigation-item/control-panel-navigation-item.css +0 -87
- package/build/components/control-panel-navigation-item/control-panel-navigation-item.scss +0 -39
- package/build/components/control-panel-navigation-item-group/control-panel-navigation-item-group-menu-popover.css +0 -21
- package/build/components/control-panel-navigation-item-group/control-panel-navigation-item-group-menu-popover.scss +0 -129
- package/build/components/control-panel-navigation-item-group/control-panel-navigation-item-group-menu-tree.css +0 -35
- package/build/components/control-panel-navigation-item-group/control-panel-navigation-item-group-menu-tree.scss +0 -36
- package/build/components/control-panel-navigation-item-group/control-panel-navigation-item-group.css +0 -158
- package/build/components/control-panel-navigation-item-group/control-panel-navigation-item-group.scss +0 -80
- package/build/components/control-panel-primary-actions/control-panel-primary-actions.css +0 -12
- package/build/components/control-panel-primary-actions/control-panel-primary-actions.scss +0 -7
- package/build/components/control-panel-secondary-actions/control-panel-secondary-actions.css +0 -12
- package/build/components/control-panel-secondary-actions/control-panel-secondary-actions.scss +0 -7
- package/build/components/control-panel-skip-navigation/control-panel-skip-navigation.css +0 -23
- package/build/components/control-panel-skip-navigation/control-panel-skip-navigation.scss +0 -25
- package/build/components/shell/shell-desktop.css +0 -475
- package/build/components/shell/shell-desktop.scss +0 -105
- package/build/components/shell/shell-mobile.css +0 -441
- package/build/components/shell/shell-mobile.scss +0 -148
- package/build/components/shell/shell.css +0 -1670
- package/build/components/shell/shell.scss +0 -70
- package/build/components/shell-content/shell-content.css +0 -34
- package/build/components/shell-content/shell-content.scss +0 -53
- package/build/components/shell-sub-navigation/shell-sub-navigation.css +0 -51
- package/build/components/shell-sub-navigation/shell-sub-navigation.scss +0 -184
- package/build/styles/internal/_control-panel-actions.scss +0 -11
- package/build/styles/internal/_control-panel-desktop.scss +0 -412
- package/build/styles/internal/_control-panel-mobile.scss +0 -107
- package/build/styles/internal/_navigation-item.scss +0 -122
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@db-ux/core-components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "General technical components (styling, fonts and icons) out of DB UX Design System (Version 3)",
|
|
6
6
|
"repository": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"build"
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@db-ux/core-foundations": "
|
|
18
|
+
"@db-ux/core-foundations": "5.0.0"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@builder.io/eslint-plugin-mitosis": "0.0.17",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"hygen": "6.2.11",
|
|
28
28
|
"nodemon": "3.1.14",
|
|
29
29
|
"npm-run-all2": "9.0.2",
|
|
30
|
-
"postcss": "8.5.
|
|
30
|
+
"postcss": "8.5.18",
|
|
31
31
|
"postcss-cli": "11.0.1",
|
|
32
32
|
"replace-in-file": "8.4.0",
|
|
33
33
|
"sass": "1.101.0",
|
|
34
|
-
"storybook": "10.
|
|
34
|
+
"storybook": "10.5.0",
|
|
35
35
|
"tsx": "4.23.0",
|
|
36
36
|
"vitest": "4.1.10"
|
|
37
37
|
},
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
|
|
2
|
-
/* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
|
|
3
|
-
/* Variants for adaptive components like input, select, notification, ... */
|
|
4
|
-
.db-control-panel-brand a {
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
text-indent: 100%;
|
|
7
|
-
white-space: nowrap;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.db-control-panel-brand {
|
|
11
|
-
font: var(--db-type-body-md);
|
|
12
|
-
/* Those variables are only for components to calculate heights and change icons */
|
|
13
|
-
--db-icon-font-weight: var(--db-base-body-icon-weight-md);
|
|
14
|
-
--db-icon-font-size: var(--db-base-body-icon-font-size-md);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.db-control-panel-desktop-brand-container {
|
|
18
|
-
display: flex;
|
|
19
|
-
grid-area: brand;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.db-control-panel-brand:not([hidden]) {
|
|
23
|
-
display: flex;
|
|
24
|
-
}
|
|
25
|
-
.db-control-panel-brand {
|
|
26
|
-
align-items: center;
|
|
27
|
-
block-size: var(--db-sizing-md);
|
|
28
|
-
min-block-size: var(--db-sizing-md);
|
|
29
|
-
inline-size: fit-content;
|
|
30
|
-
gap: var(--db-spacing-fixed-sm);
|
|
31
|
-
position: relative;
|
|
32
|
-
grid-area: brand;
|
|
33
|
-
}
|
|
34
|
-
.db-control-panel-brand::before {
|
|
35
|
-
content: "";
|
|
36
|
-
}
|
|
37
|
-
@supports (content: ""/"") {
|
|
38
|
-
.db-control-panel-brand::before {
|
|
39
|
-
content: ""/"";
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
.db-control-panel-brand::before {
|
|
43
|
-
block-size: 1lh;
|
|
44
|
-
aspect-ratio: var(--db-logo-aspect-ratio, 1);
|
|
45
|
-
background-image: var(--db-logo-url);
|
|
46
|
-
background-repeat: no-repeat;
|
|
47
|
-
background-size: auto var(--db-sizing-sm);
|
|
48
|
-
}
|
|
49
|
-
.db-control-panel-brand a {
|
|
50
|
-
text-decoration: none;
|
|
51
|
-
position: absolute;
|
|
52
|
-
inset: 0;
|
|
53
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
@use "@db-ux/core-foundations/build/styles/variables";
|
|
2
|
-
@use "@db-ux/core-foundations/build/styles/colors";
|
|
3
|
-
@use "@db-ux/core-foundations/build/styles/fonts";
|
|
4
|
-
@use "@db-ux/core-foundations/build/styles/helpers";
|
|
5
|
-
|
|
6
|
-
.db-control-panel-desktop-brand-container {
|
|
7
|
-
display: flex;
|
|
8
|
-
grid-area: brand;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.db-control-panel-brand {
|
|
12
|
-
@extend %db-overwrite-font-size-md;
|
|
13
|
-
@include helpers.display(flex);
|
|
14
|
-
|
|
15
|
-
align-items: center;
|
|
16
|
-
block-size: variables.$db-sizing-md;
|
|
17
|
-
min-block-size: variables.$db-sizing-md;
|
|
18
|
-
inline-size: fit-content;
|
|
19
|
-
gap: variables.$db-spacing-fixed-sm;
|
|
20
|
-
position: relative;
|
|
21
|
-
grid-area: brand;
|
|
22
|
-
|
|
23
|
-
// The brand logo depends on the theme package (e.g. @db-ux/db-theme)
|
|
24
|
-
// providing --db-logo-url and --db-logo-aspect-ratio CSS custom properties.
|
|
25
|
-
// Without a theme, the logo will not be visible.
|
|
26
|
-
&::before {
|
|
27
|
-
content: "";
|
|
28
|
-
|
|
29
|
-
@supports (content: ""/"") {
|
|
30
|
-
content: "" / "";
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
block-size: 1lh;
|
|
34
|
-
aspect-ratio: var(--db-logo-aspect-ratio, 1);
|
|
35
|
-
background-image: var(--db-logo-url);
|
|
36
|
-
background-repeat: no-repeat;
|
|
37
|
-
background-size: auto #{variables.$db-sizing-sm};
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
// Deactivate underline on site name being made clickable by added to the link as well
|
|
41
|
-
a {
|
|
42
|
-
text-decoration: none;
|
|
43
|
-
position: absolute;
|
|
44
|
-
inset: 0;
|
|
45
|
-
|
|
46
|
-
@extend %a11y-visually-hidden-text;
|
|
47
|
-
}
|
|
48
|
-
}
|