@otto-de/b2b-core-components 1.23.4 → 1.26.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/dist/b2b-core-components/b2b-core-components.esm.js +1 -1
- package/dist/b2b-core-components/p-01a5c813.entry.js +1 -0
- package/dist/b2b-core-components/{p-9c055a4e.entry.js → p-02b5dcb1.entry.js} +1 -1
- package/dist/b2b-core-components/{p-1cbf75dd.entry.js → p-10e9a961.entry.js} +1 -1
- package/dist/b2b-core-components/{p-ec4f82b1.entry.js → p-150f78f4.entry.js} +1 -1
- package/dist/b2b-core-components/{p-ae71a78f.entry.js → p-201b438d.entry.js} +1 -1
- package/dist/b2b-core-components/p-225e561a.entry.js +1 -0
- package/dist/b2b-core-components/{p-96968c24.entry.js → p-3e50a85d.entry.js} +1 -1
- package/dist/b2b-core-components/{p-8967cc6c.entry.js → p-40c31c85.entry.js} +1 -1
- package/dist/b2b-core-components/{p-9a6c243e.entry.js → p-45e19c6e.entry.js} +1 -1
- package/dist/b2b-core-components/p-4d96ee04.entry.js +1 -0
- package/dist/b2b-core-components/p-51dab4f2.entry.js +1 -0
- package/dist/b2b-core-components/p-5c576b32.entry.js +1 -0
- package/dist/b2b-core-components/{p-4cfb4131.entry.js → p-71f1d9a1.entry.js} +1 -1
- package/dist/b2b-core-components/{p-a033a6b5.entry.js → p-8c3b4f01.entry.js} +1 -1
- package/dist/b2b-core-components/{p-44d5a9d3.entry.js → p-900f47c2.entry.js} +1 -1
- package/dist/b2b-core-components/{p-25fa6d92.entry.js → p-99060fad.entry.js} +1 -1
- package/dist/b2b-core-components/p-9e3d9908.entry.js +1 -0
- package/dist/b2b-core-components/{p-47081742.entry.js → p-a6dec156.entry.js} +1 -1
- package/dist/b2b-core-components/{p-c1135326.entry.js → p-b98f7c3c.entry.js} +1 -1
- package/dist/b2b-core-components/p-b9cc3f9f.entry.js +1 -0
- package/dist/b2b-core-components/{p-928e7db4.entry.js → p-c69df063.entry.js} +1 -1
- package/dist/b2b-core-components/{p-2a80fb82.entry.js → p-c8838f46.entry.js} +1 -1
- package/dist/b2b-core-components/p-e73552ea.entry.js +1 -0
- package/dist/b2b-core-components/{p-921e7a37.entry.js → p-ee371752.entry.js} +1 -1
- package/dist/b2b-core-components/{p-3caed6e8.entry.js → p-ef0bbdd1.entry.js} +1 -1
- package/dist/b2b-core-components/p-f31cc91d.entry.js +1 -0
- package/dist/cjs/b2b-background-box.cjs.entry.js +5 -5
- package/dist/cjs/b2b-button_2.cjs.entry.js +1 -1
- package/dist/cjs/b2b-core-components.cjs.js +1 -1
- package/dist/cjs/b2b-date-picker.cjs.entry.js +2 -1
- package/dist/cjs/b2b-dropdown.cjs.entry.js +12 -3
- package/dist/cjs/b2b-grid-row.cjs.entry.js +65 -11
- package/dist/cjs/b2b-input-group_2.cjs.entry.js +1 -1
- package/dist/cjs/b2b-input_2.cjs.entry.js +27 -6
- package/dist/cjs/b2b-multiselect-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/b2b-shimmer.cjs.entry.js +27 -0
- package/dist/cjs/b2b-snackbar.cjs.entry.js +5 -4
- package/dist/cjs/b2b-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/b2b-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/b2b-tab.cjs.entry.js +2 -2
- package/dist/cjs/b2b-table-cell_2.cjs.entry.js +3 -3
- package/dist/cjs/b2b-table-row.cjs.entry.js +2 -2
- package/dist/cjs/b2b-table-rowgroup.cjs.entry.js +2 -2
- package/dist/cjs/b2b-table.cjs.entry.js +2 -2
- package/dist/cjs/b2b-textarea.cjs.entry.js +2 -2
- package/dist/cjs/b2b-toggle-button.cjs.entry.js +3 -3
- package/dist/cjs/b2b-toggle-chip.cjs.entry.js +3 -3
- package/dist/cjs/b2b-toggle-group.cjs.entry.js +2 -2
- package/dist/cjs/b2b-toggle-switch.cjs.entry.js +4 -4
- package/dist/cjs/b2b-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/b2b-wizard-icon.cjs.entry.js +1 -1
- package/dist/cjs/b2b-wizard-step.cjs.entry.js +2 -2
- package/dist/cjs/b2b-wizard.cjs.entry.js +1 -1
- package/dist/cjs/index-668808fd.js +4 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/alert/alert.css +2 -2
- package/dist/collection/components/alert/alert.stories.js +1 -2
- package/dist/collection/components/anchor/anchor.css +2 -2
- package/dist/collection/components/background-box/background-box.css +6 -6
- package/dist/collection/components/background-box/background-box.e2e.js +3 -3
- package/dist/collection/components/background-box/background-box.js +7 -7
- package/dist/collection/components/background-box/background-box.spec.js +3 -3
- package/dist/collection/components/background-box/background-box.stories.js +18 -18
- package/dist/collection/components/breadcrumb/breadcrumb.css +2 -2
- package/dist/collection/components/button/button.css +2 -2
- package/dist/collection/components/button/button.stories.js +79 -79
- package/dist/collection/components/card/card.css +2 -2
- package/dist/collection/components/checkbox/checkbox.css +2 -2
- package/dist/collection/components/checkbox-group/checkbox-group.css +2 -2
- package/dist/collection/components/chip/chip.css +2 -2
- package/dist/collection/components/chip/chip.stories.js +15 -15
- package/dist/collection/components/date-picker/date-picker-days-header.css +2 -2
- package/dist/collection/components/date-picker/date-picker-days.css +2 -2
- package/dist/collection/components/date-picker/date-picker-header.css +2 -2
- package/dist/collection/components/date-picker/date-picker-months.css +2 -2
- package/dist/collection/components/date-picker/date-picker-years.css +2 -2
- package/dist/collection/components/date-picker/date-picker.css +2 -2
- package/dist/collection/components/date-picker/date-picker.js +20 -1
- package/dist/collection/components/date-picker/date-picker.stories.js +4 -1
- package/dist/collection/components/dropdown/dropdown.css +4 -4
- package/dist/collection/components/dropdown/dropdown.js +47 -2
- package/dist/collection/components/flyout-menu/flyout-menu-option.css +2 -2
- package/dist/collection/components/flyout-menu/flyout-menu.css +2 -2
- package/dist/collection/components/flyout-menu/flyout-menu.stories.js +44 -44
- package/dist/collection/components/grid/grid.stories.js +151 -148
- package/dist/collection/components/grid/row.js +65 -11
- package/dist/collection/components/headline/headline.css +2 -2
- package/dist/collection/components/icon/icon.css +2 -2
- package/dist/collection/components/icon-100/icon-100.css +2 -2
- package/dist/collection/components/icon-100/icon-100.stories.js +5 -5
- package/dist/collection/components/icon-50/icon-50.css +2 -2
- package/dist/collection/components/icon-50/icon-50.stories.js +4 -4
- package/dist/collection/components/input/input.css +3 -3
- package/dist/collection/components/input/input.e2e.js +28 -0
- package/dist/collection/components/input/input.js +26 -5
- package/dist/collection/components/input/input.stories.js +75 -55
- package/dist/collection/components/input-group/input-group.css +3 -3
- package/dist/collection/components/input-list/input-list.css +2 -2
- package/dist/collection/components/input-list/input-list.stories.js +50 -50
- package/dist/collection/components/label/label.css +2 -2
- package/dist/collection/components/modal/modal.css +2 -2
- package/dist/collection/components/modal/modal.stories.js +1 -1
- package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.css +2 -2
- package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.js +4 -4
- package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.stories.js +19 -19
- package/dist/collection/components/pagination/pagination.css +2 -2
- package/dist/collection/components/paragraph/paragraph.css +2 -2
- package/dist/collection/components/paragraph/paragraph.stories.js +82 -78
- package/dist/collection/components/progress-bar/progress-bar.css +2 -2
- package/dist/collection/components/progress-bar/progress-bar.stories.js +4 -4
- package/dist/collection/components/radio/radio.css +2 -2
- package/dist/collection/components/radio-group/radio-group.css +2 -2
- package/dist/collection/components/required-separator/required-separator.css +2 -2
- package/dist/collection/components/rounded-icon/rounded-icon.css +2 -2
- package/dist/collection/components/scrollable-container/scrollable-container.css +2 -2
- package/dist/collection/components/separator/separator.css +2 -2
- package/dist/collection/components/shimmer/shimmer.css +242 -0
- package/dist/collection/components/shimmer/shimmer.e2e.js +18 -0
- package/dist/collection/components/shimmer/shimmer.js +82 -0
- package/dist/collection/components/shimmer/shimmer.spec.js +35 -0
- package/dist/collection/components/shimmer/shimmer.stories.js +38 -0
- package/dist/collection/components/snackbar/snackbar.css +2 -2
- package/dist/collection/components/snackbar/snackbar.js +22 -4
- package/dist/collection/components/snackbar/snackbar.stories.js +10 -2
- package/dist/collection/components/spinner/spinner.css +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/tab/tab.css +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-group/tab-group.js +1 -1
- package/dist/collection/components/tab-panel/tab-panel.css +2 -2
- package/dist/collection/components/tab-panel/tab-panel.js +1 -1
- package/dist/collection/components/table/table-cell/table-cell.css +2 -2
- package/dist/collection/components/table/table-cell/table-cell.js +2 -2
- package/dist/collection/components/table/table-header/table-header.css +2 -2
- package/dist/collection/components/table/table-header/table-header.js +1 -1
- package/dist/collection/components/table/table-row/table-row.css +2 -2
- package/dist/collection/components/table/table-row/table-row.js +2 -2
- package/dist/collection/components/table/table-rowgroup/table-rowgroup.css +2 -2
- package/dist/collection/components/table/table-rowgroup/table-rowgroup.js +2 -2
- package/dist/collection/components/table/table.css +2 -2
- package/dist/collection/components/table/table.e2e.js +2 -1
- package/dist/collection/components/table/table.js +2 -2
- package/dist/collection/components/table/table.stories.js +157 -157
- package/dist/collection/components/textarea/textarea.css +2 -2
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/toggle-button/toggle-button.css +2 -2
- package/dist/collection/components/toggle-button/toggle-button.js +3 -3
- package/dist/collection/components/toggle-chip/toggle-chip.css +2 -2
- package/dist/collection/components/toggle-chip/toggle-chip.js +3 -3
- package/dist/collection/components/toggle-chip/toggle-chip.stories.js +14 -2
- package/dist/collection/components/toggle-group/toggle-group.css +2 -2
- package/dist/collection/components/toggle-group/toggle-group.js +2 -2
- package/dist/collection/components/toggle-switch/toggle-switch.css +2 -2
- package/dist/collection/components/toggle-switch/toggle-switch.js +4 -4
- package/dist/collection/components/toggle-switch/toggle-switch.stories.js +4 -4
- package/dist/collection/components/tooltip/tooltip.css +2 -2
- package/dist/collection/components/tooltip/tooltip.js +3 -3
- package/dist/collection/components/wizard/wizard-step.js +2 -2
- package/dist/collection/components/wizard/wizard.css +2 -2
- package/dist/collection/components/wizard/wizard.js +1 -1
- package/dist/collection/components/wizard-icon/wizard-icon.css +2 -2
- package/dist/collection/components/wizard-icon/wizard-icon.js +1 -1
- package/dist/components/b2b-background-box.js +6 -6
- package/dist/components/b2b-date-picker.js +23 -15
- package/dist/components/b2b-dropdown.js +14 -3
- package/dist/components/b2b-grid-row.js +65 -11
- package/dist/components/b2b-multiselect-dropdown.js +4 -4
- package/dist/components/b2b-shimmer.d.ts +11 -0
- package/dist/components/b2b-shimmer.js +45 -0
- package/dist/components/b2b-snackbar.js +7 -5
- package/dist/components/b2b-tab-group.js +1 -1
- package/dist/components/b2b-tab-panel.js +1 -1
- package/dist/components/b2b-tab.js +2 -2
- package/dist/components/b2b-table-row.js +2 -2
- package/dist/components/b2b-table-rowgroup.js +2 -2
- package/dist/components/b2b-table.js +2 -2
- package/dist/components/b2b-textarea.js +2 -2
- package/dist/components/b2b-toggle-button.js +3 -3
- package/dist/components/b2b-toggle-chip.js +3 -3
- package/dist/components/b2b-toggle-group.js +2 -2
- package/dist/components/b2b-toggle-switch.js +4 -4
- package/dist/components/b2b-tooltip.js +3 -3
- package/dist/components/b2b-wizard-step.js +2 -2
- package/dist/components/b2b-wizard.js +1 -1
- package/dist/components/input-group.js +1 -1
- package/dist/components/input.js +27 -6
- package/dist/components/spinner.js +1 -1
- package/dist/components/table-cell.js +2 -2
- package/dist/components/table-header.js +1 -1
- package/dist/components/wizard-icon.js +1 -1
- package/dist/custom-elements.json +39 -2
- package/dist/esm/b2b-background-box.entry.js +5 -5
- package/dist/esm/b2b-button_2.entry.js +1 -1
- package/dist/esm/b2b-core-components.js +1 -1
- package/dist/esm/b2b-date-picker.entry.js +2 -1
- package/dist/esm/b2b-dropdown.entry.js +12 -3
- package/dist/esm/b2b-grid-row.entry.js +65 -11
- package/dist/esm/b2b-input-group_2.entry.js +1 -1
- package/dist/esm/b2b-input_2.entry.js +27 -6
- package/dist/esm/b2b-multiselect-dropdown.entry.js +4 -4
- package/dist/esm/b2b-shimmer.entry.js +23 -0
- package/dist/esm/b2b-snackbar.entry.js +5 -4
- package/dist/esm/b2b-tab-group.entry.js +1 -1
- package/dist/esm/b2b-tab-panel.entry.js +1 -1
- package/dist/esm/b2b-tab.entry.js +2 -2
- package/dist/esm/b2b-table-cell_2.entry.js +3 -3
- package/dist/esm/b2b-table-row.entry.js +2 -2
- package/dist/esm/b2b-table-rowgroup.entry.js +2 -2
- package/dist/esm/b2b-table.entry.js +2 -2
- package/dist/esm/b2b-textarea.entry.js +2 -2
- package/dist/esm/b2b-toggle-button.entry.js +3 -3
- package/dist/esm/b2b-toggle-chip.entry.js +3 -3
- package/dist/esm/b2b-toggle-group.entry.js +2 -2
- package/dist/esm/b2b-toggle-switch.entry.js +4 -4
- package/dist/esm/b2b-tooltip.entry.js +3 -3
- package/dist/esm/b2b-wizard-icon.entry.js +1 -1
- package/dist/esm/b2b-wizard-step.entry.js +2 -2
- package/dist/esm/b2b-wizard.entry.js +1 -1
- package/dist/esm/index-ab9eb36d.js +4 -0
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/background-box/background-box.d.ts +2 -2
- package/dist/types/components/background-box/background-box.stories.d.ts +1 -1
- package/dist/types/components/button/button.stories.d.ts +2 -2
- package/dist/types/components/date-picker/date-picker.d.ts +2 -0
- package/dist/types/components/dropdown/dropdown.d.ts +4 -0
- package/dist/types/components/grid/row.d.ts +3 -0
- package/dist/types/components/icon/icon.stories.d.ts +3 -3
- package/dist/types/components/input/input.d.ts +4 -0
- package/dist/types/components/input/input.stories.d.ts +1 -0
- package/dist/types/components/shimmer/shimmer.d.ts +9 -0
- package/dist/types/components/shimmer/shimmer.stories.d.ts +5 -0
- package/dist/types/components/snackbar/snackbar.d.ts +2 -0
- package/dist/types/components/snackbar/snackbar.stories.d.ts +1 -0
- package/dist/types/components/toggle-chip/toggle-chip.stories.d.ts +3 -2
- package/dist/types/components.d.ts +73 -4
- package/dist/web-types.json +82 -3
- package/package.json +21 -16
- package/dist/b2b-core-components/p-191b7d0b.entry.js +0 -1
- package/dist/b2b-core-components/p-333969c9.entry.js +0 -1
- package/dist/b2b-core-components/p-339dd3ba.entry.js +0 -1
- package/dist/b2b-core-components/p-56293400.entry.js +0 -1
- package/dist/b2b-core-components/p-95d3519f.entry.js +0 -1
- package/dist/b2b-core-components/p-992dd377.entry.js +0 -1
- package/dist/b2b-core-components/p-be5c3d5d.entry.js +0 -1
- package/dist/b2b-core-components/p-fdfdc92d.entry.js +0 -1
|
@@ -12,7 +12,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
12
12
|
};
|
|
13
13
|
import { html } from "lit-html";
|
|
14
14
|
import { getArgTypes } from "../../docs/config/utils";
|
|
15
|
-
const
|
|
15
|
+
const button = {
|
|
16
16
|
title: 'Components/Interaction/Button',
|
|
17
17
|
component: 'b2b-button',
|
|
18
18
|
args: {
|
|
@@ -30,133 +30,133 @@ const meta = {
|
|
|
30
30
|
render: (_a) => {
|
|
31
31
|
var args = __rest(_a, []);
|
|
32
32
|
return html `<b2b-button
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
33
|
+
variant="${args.variant}"
|
|
34
|
+
size="${args.size}"
|
|
35
|
+
disabled="${args.disabled}"
|
|
36
|
+
loading="${args.loading}"
|
|
37
|
+
type="${args.type}">
|
|
38
|
+
${args.label}
|
|
39
|
+
</b2b-button>`;
|
|
40
40
|
},
|
|
41
41
|
};
|
|
42
|
-
export default
|
|
42
|
+
export default button;
|
|
43
43
|
export const Primary = {
|
|
44
|
-
args: Object.assign(Object.assign({},
|
|
44
|
+
args: Object.assign(Object.assign({}, button.args), { variant: 'primary', label: 'Primary' }),
|
|
45
45
|
};
|
|
46
46
|
export const Secondary = {
|
|
47
|
-
args: Object.assign(Object.assign({},
|
|
47
|
+
args: Object.assign(Object.assign({}, button.args), { label: 'Secondary' }),
|
|
48
48
|
};
|
|
49
49
|
export const Loading = {
|
|
50
|
-
args: Object.assign(Object.assign({},
|
|
50
|
+
args: Object.assign(Object.assign({}, button.args), { loading: true, label: 'Loading' }),
|
|
51
51
|
};
|
|
52
52
|
export const IconStart = {
|
|
53
|
-
args: Object.assign(Object.assign({},
|
|
53
|
+
args: Object.assign(Object.assign({}, button.args), { label: 'Icon Start' }),
|
|
54
54
|
render: (_a) => {
|
|
55
55
|
var args = __rest(_a, []);
|
|
56
56
|
return html `<b2b-button
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
57
|
+
variant="${args.variant}"
|
|
58
|
+
size="${args.size}"
|
|
59
|
+
disabled="${args.disabled}"
|
|
60
|
+
loading="${args.loading}"
|
|
61
|
+
type="${args.type}">
|
|
62
|
+
<b2b-icon-100 slot="start" icon="b2b_icon-check"></b2b-icon-100>
|
|
63
|
+
${args.label}
|
|
64
|
+
</b2b-button>`;
|
|
65
65
|
},
|
|
66
66
|
};
|
|
67
67
|
export const IconEnd = {
|
|
68
|
-
args: Object.assign(Object.assign({},
|
|
68
|
+
args: Object.assign(Object.assign({}, button.args), { label: 'Icon End' }),
|
|
69
69
|
render: (_a) => {
|
|
70
70
|
var args = __rest(_a, []);
|
|
71
71
|
return html `<b2b-button
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
72
|
+
variant="${args.variant}"
|
|
73
|
+
size="${args.size}"
|
|
74
|
+
disabled="${args.disabled}"
|
|
75
|
+
loading="${args.loading}"
|
|
76
|
+
type="${args.type}">
|
|
77
|
+
${args.label}
|
|
78
|
+
<b2b-icon-100 slot="end" icon="b2b_icon-check"></b2b-icon-100>
|
|
79
|
+
</b2b-button>`;
|
|
80
80
|
},
|
|
81
81
|
};
|
|
82
82
|
export const PaliIcon = {
|
|
83
|
-
args: Object.assign(Object.assign({},
|
|
83
|
+
args: Object.assign(Object.assign({}, button.args), { label: 'Icon from PaLi' }),
|
|
84
84
|
render: (_a) => {
|
|
85
85
|
var args = __rest(_a, []);
|
|
86
86
|
return html `<b2b-button
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
87
|
+
variant="${args.variant}"
|
|
88
|
+
size="${args.size}"
|
|
89
|
+
disabled="${args.disabled}"
|
|
90
|
+
loading="${args.loading}"
|
|
91
|
+
type="${args.type}">
|
|
92
|
+
<i slot="start" class="obc_icon-info"></i>
|
|
93
|
+
${args.label}
|
|
94
|
+
</b2b-button>`;
|
|
95
95
|
},
|
|
96
96
|
};
|
|
97
97
|
export const IconOnly = {
|
|
98
|
-
args: Object.assign({},
|
|
98
|
+
args: Object.assign({}, button.args),
|
|
99
99
|
render: (_a) => {
|
|
100
100
|
var args = __rest(_a, []);
|
|
101
101
|
return html `<b2b-button
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
102
|
+
variant="${args.variant}"
|
|
103
|
+
size="${args.size}"
|
|
104
|
+
disabled="${args.disabled}"
|
|
105
|
+
loading="${args.loading}"
|
|
106
|
+
type="${args.type}">
|
|
107
|
+
<b2b-icon-100 slot="end" icon="b2b_icon-search"></b2b-icon-100>
|
|
108
|
+
</b2b-button>`;
|
|
109
109
|
},
|
|
110
110
|
};
|
|
111
111
|
export const Disabled = {
|
|
112
|
-
args: Object.assign(Object.assign({},
|
|
112
|
+
args: Object.assign(Object.assign({}, button.args), { disabled: true, label: 'Disabled' }),
|
|
113
113
|
};
|
|
114
114
|
export const Anchor = {
|
|
115
|
-
args: Object.assign({},
|
|
115
|
+
args: Object.assign({}, button.args),
|
|
116
116
|
render: (_a) => {
|
|
117
117
|
var args = __rest(_a, []);
|
|
118
118
|
return html `<b2b-button
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
119
|
+
variant="${args.variant}"
|
|
120
|
+
size="${args.size}"
|
|
121
|
+
disabled="${args.disabled}"
|
|
122
|
+
loading="${args.loading}"
|
|
123
|
+
href="www.otto.de"
|
|
124
|
+
target="blank"
|
|
125
|
+
type="${args.type}">
|
|
126
|
+
Go to otto.de
|
|
127
|
+
</b2b-button>`;
|
|
128
128
|
},
|
|
129
129
|
};
|
|
130
130
|
export const DisabledAnchor = {
|
|
131
|
-
args: Object.assign(Object.assign({},
|
|
131
|
+
args: Object.assign(Object.assign({}, button.args), { disabled: true }),
|
|
132
132
|
render: (_a) => {
|
|
133
133
|
var args = __rest(_a, []);
|
|
134
134
|
return html `<b2b-button
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
135
|
+
variant="${args.variant}"
|
|
136
|
+
size="${args.size}"
|
|
137
|
+
disabled="${args.disabled}"
|
|
138
|
+
loading="${args.loading}"
|
|
139
|
+
href="www.otto.de"
|
|
140
|
+
target="blank"
|
|
141
|
+
type="${args.type}">
|
|
142
|
+
Go to otto.de
|
|
143
|
+
</b2b-button>`;
|
|
144
144
|
},
|
|
145
145
|
};
|
|
146
146
|
export const CustomWidth = {
|
|
147
|
-
args: Object.assign(Object.assign({},
|
|
147
|
+
args: Object.assign(Object.assign({}, button.args), { width: 'custom' }),
|
|
148
148
|
render: (_a) => {
|
|
149
149
|
var args = __rest(_a, []);
|
|
150
150
|
return html ` <b2b-button
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
151
|
+
class="docs-button-obc-overwrite"
|
|
152
|
+
style="width: 300px"
|
|
153
|
+
variant="${args.variant}"
|
|
154
|
+
size="${args.size}"
|
|
155
|
+
width="${args.width}"
|
|
156
|
+
disabled="${args.disabled}"
|
|
157
|
+
loading="${args.loading}"
|
|
158
|
+
type="${args.type}">
|
|
159
|
+
300px custom width
|
|
160
|
+
</b2b-button>`;
|
|
161
161
|
},
|
|
162
162
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 06:20:36 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 06:20:36 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 06:20:36 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 06:20:36 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 06:20:36 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 06:20:36 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 06:20:36 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 06:20:36 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -27,12 +27,12 @@ const meta = {
|
|
|
27
27
|
render: (_a) => {
|
|
28
28
|
var args = __rest(_a, []);
|
|
29
29
|
return html `<b2b-chip-component
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
30
|
+
label="${args.label}"
|
|
31
|
+
type="${args.type}"
|
|
32
|
+
label-style="${args.labelStyle}"
|
|
33
|
+
disabled="${args.disabled}"
|
|
34
|
+
value="${args.value}"
|
|
35
|
+
has-close-button="${args.hasCloseButton}" />`;
|
|
36
36
|
},
|
|
37
37
|
};
|
|
38
38
|
export default meta;
|
|
@@ -54,15 +54,15 @@ export const story040WithTruncatedText = {
|
|
|
54
54
|
render: (_a) => {
|
|
55
55
|
var args = __rest(_a, []);
|
|
56
56
|
return html `<div
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
57
|
+
style="width: 170px; border: 1px solid grey; border-radius: 3px; padding: 6px;">
|
|
58
|
+
<b2b-chip-component
|
|
59
|
+
label="${args.label}"
|
|
60
|
+
type="${args.type}"
|
|
61
|
+
label-style="${args.labelStyle}"
|
|
62
|
+
disabled="${args.disabled}"
|
|
63
|
+
value="${args.value}"
|
|
64
|
+
has-close-button="${args.hasCloseButton}" />
|
|
65
|
+
</div>`;
|
|
66
66
|
},
|
|
67
67
|
};
|
|
68
68
|
export const story050SuccessChip = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 06:20:36 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 06:20:36 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 06:20:36 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 06:20:36 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 06:20:36 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 06:20:36 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 06:20:36 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 06:20:36 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 06:20:36 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 06:20:36 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 06:20:36 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 06:20:36 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -86,6 +86,7 @@ export class B2bDatePicker {
|
|
|
86
86
|
this.disableWeekends = undefined;
|
|
87
87
|
this.disableDates = [];
|
|
88
88
|
this.label = 'Zeitpunkt auswählen';
|
|
89
|
+
this.required = false;
|
|
89
90
|
this.preSelectedDate = undefined;
|
|
90
91
|
this.showHint = true;
|
|
91
92
|
this.width = 300;
|
|
@@ -325,7 +326,7 @@ export class B2bDatePicker {
|
|
|
325
326
|
render() {
|
|
326
327
|
if (!this.isWithWithinLimit())
|
|
327
328
|
return null;
|
|
328
|
-
return (h(Host, null, h("div", { class: "b2b-date-picker" }, h("
|
|
329
|
+
return (h(Host, null, h("div", { class: "b2b-date-picker" }, h("b2b-input-label", { id: this.label, required: this.required }, this.label), h("div", { style: { width: `${this.width}px` }, class: {
|
|
329
330
|
'b2b-date-picker-input-wrapper': true,
|
|
330
331
|
'b2b-date-picker-input-wrapper--focused': this.focused || this.showDatePicker,
|
|
331
332
|
'b2b-date-picker-input-wrapper--error': this.invalid,
|
|
@@ -468,6 +469,24 @@ export class B2bDatePicker {
|
|
|
468
469
|
"reflect": false,
|
|
469
470
|
"defaultValue": "'Zeitpunkt ausw\u00E4hlen'"
|
|
470
471
|
},
|
|
472
|
+
"required": {
|
|
473
|
+
"type": "boolean",
|
|
474
|
+
"mutable": false,
|
|
475
|
+
"complexType": {
|
|
476
|
+
"original": "boolean",
|
|
477
|
+
"resolved": "boolean",
|
|
478
|
+
"references": {}
|
|
479
|
+
},
|
|
480
|
+
"required": false,
|
|
481
|
+
"optional": false,
|
|
482
|
+
"docs": {
|
|
483
|
+
"tags": [],
|
|
484
|
+
"text": "Adds an asterisk at the end of the label to signify that the field is required."
|
|
485
|
+
},
|
|
486
|
+
"attribute": "required",
|
|
487
|
+
"reflect": true,
|
|
488
|
+
"defaultValue": "false"
|
|
489
|
+
},
|
|
471
490
|
"preSelectedDate": {
|
|
472
491
|
"type": "string",
|
|
473
492
|
"mutable": false,
|
|
@@ -12,11 +12,12 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
12
12
|
};
|
|
13
13
|
import { html } from "lit-html";
|
|
14
14
|
import { getArgTypes } from "../../docs/config/utils";
|
|
15
|
-
import { userEvent } from "@storybook/
|
|
15
|
+
import { userEvent } from "@storybook/test";
|
|
16
16
|
const meta = {
|
|
17
17
|
title: 'Components/Form/Date Picker',
|
|
18
18
|
component: 'b2b-date-picker',
|
|
19
19
|
args: {
|
|
20
|
+
required: false,
|
|
20
21
|
disablePastDates: false,
|
|
21
22
|
disableFutureDates: false,
|
|
22
23
|
disableWeekends: false,
|
|
@@ -39,6 +40,7 @@ const meta = {
|
|
|
39
40
|
return html ` <div style="margin-left: 2px">
|
|
40
41
|
<b2b-date-picker
|
|
41
42
|
label=${args.label}
|
|
43
|
+
required=${args.required}
|
|
42
44
|
disable-past-dates=${args.disablePastDates}
|
|
43
45
|
disable-future-dates=${args.disableFutureDates}
|
|
44
46
|
disable-weekends=${args.disableWeekends}
|
|
@@ -58,6 +60,7 @@ const meta = {
|
|
|
58
60
|
return html ` <div style="margin-left: 2px">
|
|
59
61
|
<b2b-date-picker
|
|
60
62
|
label=${args.label}
|
|
63
|
+
required=${args.required}
|
|
61
64
|
disable-past-dates=${args.disablePastDates}
|
|
62
65
|
disable-future-dates=${args.disableFutureDates}
|
|
63
66
|
disable-weekends=${args.disableWeekends}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 06:20:36 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 06:20:36 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -241,7 +241,7 @@
|
|
|
241
241
|
border: 1px solid var(--b2b-color-grey-200);
|
|
242
242
|
border-right: var(--b2b-border-right);
|
|
243
243
|
border-radius: var(--b2b-border-radius);
|
|
244
|
-
padding: 7px
|
|
244
|
+
padding: 7px 10px 6px;
|
|
245
245
|
padding-right: calc(1.75rem + 6px);
|
|
246
246
|
height: var(--b2b-size-90);
|
|
247
247
|
line-height: var(--b2b-size-copy-line-height-100);
|
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
}
|
|
258
258
|
:host(.b2b-dropdown) b2b-input-label {
|
|
259
259
|
display: block;
|
|
260
|
-
margin-bottom: var(--b2b-size-
|
|
260
|
+
margin-bottom: var(--b2b-size-5);
|
|
261
261
|
}
|
|
262
262
|
:host(.b2b-dropdown) span {
|
|
263
263
|
display: block;
|
|
@@ -25,6 +25,8 @@ export class DropdownComponent {
|
|
|
25
25
|
this.label = undefined;
|
|
26
26
|
this.required = false;
|
|
27
27
|
this.name = undefined;
|
|
28
|
+
this.placeholder = 'Select an option...';
|
|
29
|
+
this.placeholderValue = '';
|
|
28
30
|
this.disabled = false;
|
|
29
31
|
this.invalid = false;
|
|
30
32
|
this.hint = undefined;
|
|
@@ -40,14 +42,21 @@ export class DropdownComponent {
|
|
|
40
42
|
componentDidRender() {
|
|
41
43
|
let options = this.hostElement.querySelectorAll('option');
|
|
42
44
|
const selectElement = this.getSelectElement();
|
|
45
|
+
selectElement.innerHTML = '';
|
|
46
|
+
const placeholderOption = document.createElement('option');
|
|
47
|
+
placeholderOption.value = this.placeholderValue;
|
|
48
|
+
placeholderOption.textContent = this.placeholder;
|
|
49
|
+
placeholderOption.disabled = true;
|
|
50
|
+
placeholderOption.selected = true;
|
|
51
|
+
selectElement.append(placeholderOption);
|
|
43
52
|
selectElement.append(...options);
|
|
44
53
|
}
|
|
45
54
|
render() {
|
|
46
|
-
return (h(Host, { key: '
|
|
55
|
+
return (h(Host, { key: '0bdbaf3576571cc9a44355e23db97e867a3bd19d', class: {
|
|
47
56
|
'b2b-dropdown': true,
|
|
48
57
|
'b2b-dropdown--error': this.invalid && !this.disabled,
|
|
49
58
|
'b2b-dropdown--disabled': this.disabled,
|
|
50
|
-
} }, this.label && (h("b2b-input-label", { id: this.name, required: this.required }, this.label)), h("select", { key: '
|
|
59
|
+
} }, this.label && (h("b2b-input-label", { id: this.name, required: this.required }, this.label)), h("select", { key: '7d53810ef3e04fcdd37d0383659057cfbdb0d72c', class: "b2b-dropdown__select", "aria-labelledby": this.name, name: this.name, disabled: this.disabled, onChange: this.onSelect, onFocus: this.onFocus, onBlur: this.onBlur }), (this.hint !== undefined && !this.invalid) ||
|
|
51
60
|
(this.hint !== undefined && this.disabled) ? (h("span", null, this.hint)) : (''), this.error !== undefined && this.invalid && !this.disabled ? (h("span", null, this.error)) : ('')));
|
|
52
61
|
}
|
|
53
62
|
static get is() { return "b2b-dropdown"; }
|
|
@@ -116,6 +125,42 @@ export class DropdownComponent {
|
|
|
116
125
|
"attribute": "name",
|
|
117
126
|
"reflect": true
|
|
118
127
|
},
|
|
128
|
+
"placeholder": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"mutable": false,
|
|
131
|
+
"complexType": {
|
|
132
|
+
"original": "string",
|
|
133
|
+
"resolved": "string",
|
|
134
|
+
"references": {}
|
|
135
|
+
},
|
|
136
|
+
"required": false,
|
|
137
|
+
"optional": false,
|
|
138
|
+
"docs": {
|
|
139
|
+
"tags": [],
|
|
140
|
+
"text": "Placeholder text for the dropdown."
|
|
141
|
+
},
|
|
142
|
+
"attribute": "placeholder",
|
|
143
|
+
"reflect": false,
|
|
144
|
+
"defaultValue": "'Select an option...'"
|
|
145
|
+
},
|
|
146
|
+
"placeholderValue": {
|
|
147
|
+
"type": "string",
|
|
148
|
+
"mutable": false,
|
|
149
|
+
"complexType": {
|
|
150
|
+
"original": "string",
|
|
151
|
+
"resolved": "string",
|
|
152
|
+
"references": {}
|
|
153
|
+
},
|
|
154
|
+
"required": false,
|
|
155
|
+
"optional": false,
|
|
156
|
+
"docs": {
|
|
157
|
+
"tags": [],
|
|
158
|
+
"text": "Value for the placeholder. Defaults to an empty string but can be customized."
|
|
159
|
+
},
|
|
160
|
+
"attribute": "placeholder-value",
|
|
161
|
+
"reflect": false,
|
|
162
|
+
"defaultValue": "''"
|
|
163
|
+
},
|
|
119
164
|
"disabled": {
|
|
120
165
|
"type": "boolean",
|
|
121
166
|
"mutable": false,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 06:20:36 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 06:20:36 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|