@otto-de/b2b-core-components 1.23.4 → 1.24.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-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-992dd377.entry.js → p-2b5b4472.entry.js} +1 -1
- 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-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-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-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-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-button_2.cjs.entry.js +1 -1
- package/dist/cjs/b2b-core-components.cjs.js +1 -1
- package/dist/cjs/b2b-shimmer.cjs.entry.js +27 -0
- package/dist/cjs/b2b-snackbar.cjs.entry.js +4 -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/anchor/anchor.css +2 -2
- package/dist/collection/components/background-box/background-box.css +2 -2
- package/dist/collection/components/breadcrumb/breadcrumb.css +2 -2
- package/dist/collection/components/button/button.css +2 -2
- 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/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/dropdown/dropdown.css +2 -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/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-50/icon-50.css +2 -2
- package/dist/collection/components/input/input.css +2 -2
- package/dist/collection/components/input-group/input-group.css +2 -2
- package/dist/collection/components/input-list/input-list.css +2 -2
- package/dist/collection/components/label/label.css +2 -2
- package/dist/collection/components/modal/modal.css +2 -2
- package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.css +2 -2
- package/dist/collection/components/pagination/pagination.css +2 -2
- package/dist/collection/components/paragraph/paragraph.css +2 -2
- package/dist/collection/components/progress-bar/progress-bar.css +2 -2
- 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 +4 -4
- 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.js +2 -2
- 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-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/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-shimmer.d.ts +11 -0
- package/dist/components/b2b-shimmer.js +45 -0
- package/dist/components/b2b-snackbar.js +4 -4
- 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/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 +21 -0
- package/dist/esm/b2b-button_2.entry.js +1 -1
- package/dist/esm/b2b-core-components.js +1 -1
- package/dist/esm/b2b-shimmer.entry.js +23 -0
- package/dist/esm/b2b-snackbar.entry.js +4 -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/shimmer/shimmer.d.ts +9 -0
- package/dist/types/components/shimmer/shimmer.stories.d.ts +5 -0
- package/dist/types/components.d.ts +37 -0
- package/dist/web-types.json +41 -1
- package/package.json +2 -2
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly
|
|
3
|
+
* Generated on Thu, 27 Feb 2025 06:22:03 GMT
|
|
4
|
+
*/
|
|
5
|
+
:root, :host {
|
|
6
|
+
--b2b-size-200: 5rem; /* 80px */
|
|
7
|
+
--b2b-size-160: 4rem; /* 64px */
|
|
8
|
+
--b2b-size-150: 3.75rem; /* 60px */
|
|
9
|
+
--b2b-size-140: 3.5rem; /* 56px */
|
|
10
|
+
--b2b-size-120: 3rem; /* 48px */
|
|
11
|
+
--b2b-size-100: 2.5rem; /* 40px */
|
|
12
|
+
--b2b-size-90: 2.25rem; /* 36px */
|
|
13
|
+
--b2b-size-80: 2rem; /* 32px */
|
|
14
|
+
--b2b-size-70: 1.75rem; /* 28px */
|
|
15
|
+
--b2b-size-60: 1.5rem; /* 24px */
|
|
16
|
+
--b2b-size-55: 1.375rem; /* 22px */
|
|
17
|
+
--b2b-size-53: 1.3125rem; /* 21px */
|
|
18
|
+
--b2b-size-50: 1.25rem; /* 20px */
|
|
19
|
+
--b2b-size-45: 1.125rem; /* 18px */
|
|
20
|
+
--b2b-size-40: 1rem; /* 16px */
|
|
21
|
+
--b2b-size-35: 0.875rem; /* 14px */
|
|
22
|
+
--b2b-size-30: 0.75rem; /* 12px */
|
|
23
|
+
--b2b-size-25: 0.625rem; /* 10px */
|
|
24
|
+
--b2b-size-20: 0.5rem; /* 8px */
|
|
25
|
+
--b2b-size-15: 0.375rem; /* 6px */
|
|
26
|
+
--b2b-size-10: 0.25rem; /* 4px */
|
|
27
|
+
--b2b-size-7: 0.1875rem; /* 3px */
|
|
28
|
+
--b2b-size-5: 0.125rem; /* 2px */
|
|
29
|
+
--b2b-size-1: 0.0625rem; /* 1px */
|
|
30
|
+
--b2b-font-weight-bold: 700;
|
|
31
|
+
--b2b-font-weight-normal: 500;
|
|
32
|
+
--b2b-font-weight-thin: 100;
|
|
33
|
+
--b2b-font-family-default: OttoSans, Arial, Helvetica, sans-serif;
|
|
34
|
+
--b2b-color-table-expand-hover: #e6f4ff;
|
|
35
|
+
--b2b-color-table-selected-default: #cce9ff;
|
|
36
|
+
--b2b-color-background-overlay-transparent-40: rgba(34, 34, 34, 0.25);
|
|
37
|
+
--b2b-color-background-overlay-transparent-80: rgba(34, 34, 34, 0.5);
|
|
38
|
+
--b2b-color-hover-black: #3b3b3b;
|
|
39
|
+
--b2b-color-hover-default: #e6f4ff;
|
|
40
|
+
--b2b-color-info-100: #003264;
|
|
41
|
+
--b2b-color-info-50: #ccd6e0;
|
|
42
|
+
--b2b-color-success-100: #326400;
|
|
43
|
+
--b2b-color-success-50: #d6e0cc;
|
|
44
|
+
--b2b-color-warning-100: #ffb432;
|
|
45
|
+
--b2b-color-warning-50: #ffd998;
|
|
46
|
+
--b2b-color-error-100: #e6344b;
|
|
47
|
+
--b2b-color-primary: #d4021d;
|
|
48
|
+
--b2b-color-red-250: #850012;
|
|
49
|
+
--b2b-color-red-200: #bb0004;
|
|
50
|
+
--b2b-color-red-150: #e6344b;
|
|
51
|
+
--b2b-color-red-100: #d4021d;
|
|
52
|
+
--b2b-color-red-50: #ffdde3;
|
|
53
|
+
--b2b-color-grey-400: #777777;
|
|
54
|
+
--b2b-color-grey-300: #9e9e9e;
|
|
55
|
+
--b2b-color-grey-250: #b1b1b1;
|
|
56
|
+
--b2b-color-grey-200: #c4c4c4;
|
|
57
|
+
--b2b-color-grey-150: #d5d5d5;
|
|
58
|
+
--b2b-color-grey-100: #e6e6e6;
|
|
59
|
+
--b2b-color-grey-50: #eeeeee;
|
|
60
|
+
--b2b-color-grey-25: #f6f6f6;
|
|
61
|
+
--b2b-color-white-100: #ffffff;
|
|
62
|
+
--b2b-color-black-100: #222222;
|
|
63
|
+
--b2b-color-black-50: #333333;
|
|
64
|
+
--b2b-size-headline-line-height-400: var(--b2b-size-60);
|
|
65
|
+
--b2b-size-headline-line-height-200: var(--b2b-size-60);
|
|
66
|
+
--b2b-size-headline-line-height-100: var(--b2b-size-60);
|
|
67
|
+
--b2b-size-headline-400: var(--b2b-size-60);
|
|
68
|
+
--b2b-size-headline-200: var(--b2b-size-45);
|
|
69
|
+
--b2b-size-headline-100: var(--b2b-size-40);
|
|
70
|
+
--b2b-size-copy-line-height-300: var(--b2b-size-90);
|
|
71
|
+
--b2b-size-copy-line-height-200: var(--b2b-size-60);
|
|
72
|
+
--b2b-size-copy-line-height-125: var(--b2b-size-60);
|
|
73
|
+
--b2b-size-copy-line-height-100: var(--b2b-size-53); /* Will use 21px until design facelift */
|
|
74
|
+
--b2b-size-copy-line-height-75: var(--b2b-size-45); /* Will use 18px until design facelift */
|
|
75
|
+
--b2b-size-copy-line-height-50: var(--b2b-size-40);
|
|
76
|
+
--b2b-size-copy-300: var(--b2b-size-60);
|
|
77
|
+
--b2b-size-copy-200: var(--b2b-size-45);
|
|
78
|
+
--b2b-size-copy-125: var(--b2b-size-40);
|
|
79
|
+
--b2b-size-copy-100: var(--b2b-size-35);
|
|
80
|
+
--b2b-size-copy-50: var(--b2b-size-30);
|
|
81
|
+
--b2b-size-border-no-radius-bottom: var(--b2b-size-7) var(--b2b-size-7) 0 0;
|
|
82
|
+
--b2b-size-border-no-radius-top: 0 0 var(--b2b-size-7) var(--b2b-size-7);
|
|
83
|
+
--b2b-size-border-no-radius-right: var(--b2b-size-7) 0 0 var(--b2b-size-7);
|
|
84
|
+
--b2b-size-border-no-radius-left: 0 var(--b2b-size-7) var(--b2b-size-7) 0;
|
|
85
|
+
--b2b-size-border-radius-100: var(--b2b-size-7);
|
|
86
|
+
--b2b-size-border-width-150: var(--b2b-size-10);
|
|
87
|
+
--b2b-size-border-width-100: var(--b2b-size-5);
|
|
88
|
+
--b2b-size-border-width-50: var(--b2b-size-1);
|
|
89
|
+
--b2b-size-padding-175: var(--b2b-size-80);
|
|
90
|
+
--b2b-size-padding-150: var(--b2b-size-60);
|
|
91
|
+
--b2b-size-padding-100: var(--b2b-size-40);
|
|
92
|
+
--b2b-size-padding-50: var(--b2b-size-20);
|
|
93
|
+
--b2b-size-space-300: var(--b2b-size-200);
|
|
94
|
+
--b2b-size-space-250: var(--b2b-size-160);
|
|
95
|
+
--b2b-size-space-200: var(--b2b-size-100);
|
|
96
|
+
--b2b-size-space-175: var(--b2b-size-80);
|
|
97
|
+
--b2b-size-space-150: var(--b2b-size-60);
|
|
98
|
+
--b2b-size-space-100: var(--b2b-size-40);
|
|
99
|
+
--b2b-size-space-75: var(--b2b-size-30);
|
|
100
|
+
--b2b-size-space-50: var(--b2b-size-20);
|
|
101
|
+
--b2b-size-space-25: var(--b2b-size-10);
|
|
102
|
+
--b2b-size-icon-400: var(--b2b-size-120);
|
|
103
|
+
--b2b-size-icon-200: var(--b2b-size-80);
|
|
104
|
+
--b2b-size-icon-100: var(--b2b-size-60);
|
|
105
|
+
--b2b-size-icon-50: var(--b2b-size-40);
|
|
106
|
+
--b2b-color-table-expand-default: var(--b2b-color-grey-25);
|
|
107
|
+
--b2b-color-icon-inverted: var(--b2b-color-white-100);
|
|
108
|
+
--b2b-color-icon-secondary: var(--b2b-color-grey-400);
|
|
109
|
+
--b2b-color-icon-default: var(--b2b-color-black-100);
|
|
110
|
+
--b2b-color-headline-inverted: var(--b2b-color-white-100);
|
|
111
|
+
--b2b-color-headline-default: var(--b2b-color-black-100);
|
|
112
|
+
--b2b-color-headline-title: var(--b2b-color-red-100);
|
|
113
|
+
--b2b-color-copy-overlay: var(--b2b-color-white-100);
|
|
114
|
+
--b2b-color-copy-inverted: var(--b2b-color-white-100);
|
|
115
|
+
--b2b-color-copy-secondary: var(--b2b-color-grey-400);
|
|
116
|
+
--b2b-color-copy-default: var(--b2b-color-black-100);
|
|
117
|
+
--b2b-color-border-100: var(--b2b-color-grey-200);
|
|
118
|
+
--b2b-color-background-overlay: var(--b2b-color-black-100);
|
|
119
|
+
--b2b-color-background-card: var(--b2b-color-white-100);
|
|
120
|
+
--b2b-color-background-box: var(--b2b-color-white-100);
|
|
121
|
+
--b2b-color-background-page: var(--b2b-color-grey-25);
|
|
122
|
+
--b2b-color-error-50: var(--b2b-color-red-50);
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Do not edit directly
|
|
126
|
+
* Generated on Thu, 27 Feb 2025 06:22:03 GMT
|
|
127
|
+
*/
|
|
128
|
+
:root [data-theme="dark"] {
|
|
129
|
+
--b2b-size-200: 5rem; /* 80px */
|
|
130
|
+
--b2b-size-160: 4rem; /* 64px */
|
|
131
|
+
--b2b-size-150: 3.75rem; /* 60px */
|
|
132
|
+
--b2b-size-140: 3.5rem; /* 56px */
|
|
133
|
+
--b2b-size-120: 3rem; /* 48px */
|
|
134
|
+
--b2b-size-100: 2.5rem; /* 40px */
|
|
135
|
+
--b2b-size-90: 2.25rem; /* 36px */
|
|
136
|
+
--b2b-size-80: 2rem; /* 32px */
|
|
137
|
+
--b2b-size-70: 1.75rem; /* 28px */
|
|
138
|
+
--b2b-size-60: 1.5rem; /* 24px */
|
|
139
|
+
--b2b-size-55: 1.375rem; /* 22px */
|
|
140
|
+
--b2b-size-53: 1.3125rem; /* 21px */
|
|
141
|
+
--b2b-size-50: 1.25rem; /* 20px */
|
|
142
|
+
--b2b-size-45: 1.125rem; /* 18px */
|
|
143
|
+
--b2b-size-40: 1rem; /* 16px */
|
|
144
|
+
--b2b-size-35: 0.875rem; /* 14px */
|
|
145
|
+
--b2b-size-30: 0.75rem; /* 12px */
|
|
146
|
+
--b2b-size-25: 0.625rem; /* 10px */
|
|
147
|
+
--b2b-size-20: 0.5rem; /* 8px */
|
|
148
|
+
--b2b-size-15: 0.375rem; /* 6px */
|
|
149
|
+
--b2b-size-10: 0.25rem; /* 4px */
|
|
150
|
+
--b2b-size-7: 0.1875rem; /* 3px */
|
|
151
|
+
--b2b-size-5: 0.125rem; /* 2px */
|
|
152
|
+
--b2b-size-1: 0.0625rem; /* 1px */
|
|
153
|
+
--b2b-font-weight-bold: 700;
|
|
154
|
+
--b2b-font-weight-normal: 500;
|
|
155
|
+
--b2b-font-weight-thin: 100;
|
|
156
|
+
--b2b-font-family-default: OttoSans, Arial, Helvetica, sans-serif;
|
|
157
|
+
--b2b-color-hover-black: #3b3b3b;
|
|
158
|
+
--b2b-color-hover-default: #e6f4ff;
|
|
159
|
+
--b2b-color-info-100: #003264;
|
|
160
|
+
--b2b-color-info-50: #ccd6e0;
|
|
161
|
+
--b2b-color-success-100: #326400;
|
|
162
|
+
--b2b-color-success-50: #d6e0cc;
|
|
163
|
+
--b2b-color-warning-100: #ffb432;
|
|
164
|
+
--b2b-color-warning-50: #ffd998;
|
|
165
|
+
--b2b-color-error-100: #e6344b;
|
|
166
|
+
--b2b-color-primary: #d4021d;
|
|
167
|
+
--b2b-color-red-250: #850012;
|
|
168
|
+
--b2b-color-red-200: #bb0004;
|
|
169
|
+
--b2b-color-red-150: #e6344b;
|
|
170
|
+
--b2b-color-red-100: #d4021d;
|
|
171
|
+
--b2b-color-red-50: #ffdde3;
|
|
172
|
+
--b2b-color-grey-400: #777777;
|
|
173
|
+
--b2b-color-grey-300: #9e9e9e;
|
|
174
|
+
--b2b-color-grey-250: #b1b1b1;
|
|
175
|
+
--b2b-color-grey-200: #c4c4c4;
|
|
176
|
+
--b2b-color-grey-150: #d5d5d5;
|
|
177
|
+
--b2b-color-grey-100: #e6e6e6;
|
|
178
|
+
--b2b-color-grey-50: #eeeeee;
|
|
179
|
+
--b2b-color-grey-25: #f6f6f6;
|
|
180
|
+
--b2b-color-white-100: #ffffff;
|
|
181
|
+
--b2b-color-black-100: #222222;
|
|
182
|
+
--b2b-color-black-50: #333333;
|
|
183
|
+
--b2b-color-icon-inverted: var(--b2b-color-black-100);
|
|
184
|
+
--b2b-color-icon-secondary: var(--b2b-color-grey-400);
|
|
185
|
+
--b2b-color-icon-default: var(--b2b-color-white-100);
|
|
186
|
+
--b2b-color-headline-inverted: var(--b2b-color-black-100);
|
|
187
|
+
--b2b-color-headline-default: var(--b2b-color-white-100);
|
|
188
|
+
--b2b-color-headline-title: var(--b2b-color-red-50);
|
|
189
|
+
--b2b-color-copy-inverted: var(--b2b-color-black-100);
|
|
190
|
+
--b2b-color-copy-secondary: var(--b2b-color-grey-100);
|
|
191
|
+
--b2b-color-copy-default: var(--b2b-color-white-100);
|
|
192
|
+
--b2b-color-border-100: var(--b2b-color-white-100);
|
|
193
|
+
--b2b-color-background-page: var(--b2b-color-grey-100);
|
|
194
|
+
--b2b-color-background-card: var(--b2b-color-black-50);
|
|
195
|
+
--b2b-color-background-box: var(--b2b-color-black-50);
|
|
196
|
+
--b2b-color-error-50: var(--b2b-color-red-50);
|
|
197
|
+
}
|
|
198
|
+
@font-face {
|
|
199
|
+
font-family: OttoSans;
|
|
200
|
+
src: url("https://pattern-library.portal.otto.market/static/assets/fonts/otto-sans.ttf");
|
|
201
|
+
font-weight: normal;
|
|
202
|
+
font-style: normal;
|
|
203
|
+
}
|
|
204
|
+
@font-face {
|
|
205
|
+
font-family: OttoSans;
|
|
206
|
+
src: url("https://pattern-library.portal.otto.market/static/assets/fonts/otto-sans-bold.woff") format("woff"), url("https://pattern-library.portal.otto.market/static/assets/fonts/otto-sans-bold.ttf") format("truetype");
|
|
207
|
+
font-weight: bold;
|
|
208
|
+
font-style: normal;
|
|
209
|
+
}
|
|
210
|
+
@font-face {
|
|
211
|
+
font-family: OttoSans;
|
|
212
|
+
src: url("https://pattern-library.portal.otto.market/static/assets/fonts/otto-sans-thin.woff") format("woff"), url("https://pattern-library.portal.otto.market/static/assets/fonts/otto-sans-thin.ttf") format("truetype");
|
|
213
|
+
font-weight: 100;
|
|
214
|
+
font-style: normal;
|
|
215
|
+
}
|
|
216
|
+
@font-face {
|
|
217
|
+
font-family: ObcIcons;
|
|
218
|
+
src: url("https://pattern-library.portal.otto.market/static/assets/fonts/obc-icons.woff");
|
|
219
|
+
}
|
|
220
|
+
.b2b-shimmer {
|
|
221
|
+
position: relative;
|
|
222
|
+
overflow: hidden;
|
|
223
|
+
border-radius: 3px;
|
|
224
|
+
}
|
|
225
|
+
.b2b-shimmer::before {
|
|
226
|
+
content: "";
|
|
227
|
+
position: absolute;
|
|
228
|
+
top: 0;
|
|
229
|
+
left: 0;
|
|
230
|
+
width: 100%;
|
|
231
|
+
height: 100%;
|
|
232
|
+
background-color: var(--b2b-color-grey-150);
|
|
233
|
+
animation: b2b-shimmer 2s infinite;
|
|
234
|
+
}
|
|
235
|
+
@keyframes b2b-shimmer {
|
|
236
|
+
0%, 100% {
|
|
237
|
+
opacity: 1;
|
|
238
|
+
}
|
|
239
|
+
50% {
|
|
240
|
+
opacity: 0.5;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { newE2EPage } from "@stencil/core/testing";
|
|
2
|
+
describe('B2B-Shimmer', () => {
|
|
3
|
+
let page;
|
|
4
|
+
beforeEach(async () => {
|
|
5
|
+
page = await newE2EPage();
|
|
6
|
+
await page.setContent('<b2b-shimmer loading="true" width="100" height="100"></b2b-shimmer>');
|
|
7
|
+
});
|
|
8
|
+
it('should render shimmer component', async () => {
|
|
9
|
+
const element = await page.find('b2b-shimmer');
|
|
10
|
+
expect(element).toBeDefined();
|
|
11
|
+
});
|
|
12
|
+
it('should show slot content if loading is false', async () => {
|
|
13
|
+
const page = await newE2EPage();
|
|
14
|
+
await page.setContent('<b2b-shimmer><h1>dummy content</h1></b2b-shimmer>');
|
|
15
|
+
const element = await page.find('h1');
|
|
16
|
+
expect(element).toEqualText('dummy content');
|
|
17
|
+
});
|
|
18
|
+
});
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
|
+
export class ShimmerComponent {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.loading = undefined;
|
|
5
|
+
this.width = undefined;
|
|
6
|
+
this.height = undefined;
|
|
7
|
+
}
|
|
8
|
+
render() {
|
|
9
|
+
const shimmerStyle = {
|
|
10
|
+
width: `${this.width}px`,
|
|
11
|
+
height: `${this.height}px`,
|
|
12
|
+
};
|
|
13
|
+
return (h(Host, { key: 'd49facd00500b965059c0322adfc56961bc69f8e' }, this.loading ? (h("div", { class: "b2b-shimmer", style: shimmerStyle })) : (h("slot", null))));
|
|
14
|
+
}
|
|
15
|
+
static get is() { return "b2b-shimmer"; }
|
|
16
|
+
static get encapsulation() { return "shadow"; }
|
|
17
|
+
static get originalStyleUrls() {
|
|
18
|
+
return {
|
|
19
|
+
"$": ["shimmer.scss"]
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
static get styleUrls() {
|
|
23
|
+
return {
|
|
24
|
+
"$": ["shimmer.css"]
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
static get properties() {
|
|
28
|
+
return {
|
|
29
|
+
"loading": {
|
|
30
|
+
"type": "boolean",
|
|
31
|
+
"mutable": false,
|
|
32
|
+
"complexType": {
|
|
33
|
+
"original": "boolean",
|
|
34
|
+
"resolved": "boolean",
|
|
35
|
+
"references": {}
|
|
36
|
+
},
|
|
37
|
+
"required": false,
|
|
38
|
+
"optional": false,
|
|
39
|
+
"docs": {
|
|
40
|
+
"tags": [],
|
|
41
|
+
"text": "Whether the shimmer effect is shown or not."
|
|
42
|
+
},
|
|
43
|
+
"attribute": "loading",
|
|
44
|
+
"reflect": false
|
|
45
|
+
},
|
|
46
|
+
"width": {
|
|
47
|
+
"type": "number",
|
|
48
|
+
"mutable": false,
|
|
49
|
+
"complexType": {
|
|
50
|
+
"original": "number",
|
|
51
|
+
"resolved": "number",
|
|
52
|
+
"references": {}
|
|
53
|
+
},
|
|
54
|
+
"required": false,
|
|
55
|
+
"optional": false,
|
|
56
|
+
"docs": {
|
|
57
|
+
"tags": [],
|
|
58
|
+
"text": "The width of the shimmer effect im px."
|
|
59
|
+
},
|
|
60
|
+
"attribute": "width",
|
|
61
|
+
"reflect": false
|
|
62
|
+
},
|
|
63
|
+
"height": {
|
|
64
|
+
"type": "number",
|
|
65
|
+
"mutable": false,
|
|
66
|
+
"complexType": {
|
|
67
|
+
"original": "number",
|
|
68
|
+
"resolved": "number",
|
|
69
|
+
"references": {}
|
|
70
|
+
},
|
|
71
|
+
"required": false,
|
|
72
|
+
"optional": false,
|
|
73
|
+
"docs": {
|
|
74
|
+
"tags": [],
|
|
75
|
+
"text": "The height of the shimmer effect in px."
|
|
76
|
+
},
|
|
77
|
+
"attribute": "height",
|
|
78
|
+
"reflect": false
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { newSpecPage } from "@stencil/core/testing";
|
|
2
|
+
import { ShimmerComponent } from "./shimmer";
|
|
3
|
+
import { h } from "@stencil/core";
|
|
4
|
+
describe('B2B-Shimmer', () => {
|
|
5
|
+
async function renderPage(template) {
|
|
6
|
+
return newSpecPage({
|
|
7
|
+
components: [ShimmerComponent],
|
|
8
|
+
template: () => template,
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
it('should render shimmer effect with width 100 and height 100 attributes', async () => {
|
|
12
|
+
const dummyContent = 'Dummy content';
|
|
13
|
+
const page = await renderPage(h("b2b-shimmer", { loading: true, width: 100, height: 100 }, dummyContent));
|
|
14
|
+
expect(page.root).toEqualHtml(`
|
|
15
|
+
<b2b-shimmer>
|
|
16
|
+
<mock:shadow-root>
|
|
17
|
+
<div class="b2b-shimmer" style="width: 100px; height: 100px;"></div>
|
|
18
|
+
</mock:shadow-root>
|
|
19
|
+
${dummyContent}
|
|
20
|
+
</b2b-shimmer>
|
|
21
|
+
`);
|
|
22
|
+
});
|
|
23
|
+
it('should show slot content and hide shimmer effect', async () => {
|
|
24
|
+
const dummyContent = 'Dummy content';
|
|
25
|
+
const page = await renderPage(h("b2b-shimmer", { loading: false, width: 100, height: 100 }, dummyContent));
|
|
26
|
+
expect(page.root).toEqualHtml(`
|
|
27
|
+
<b2b-shimmer>
|
|
28
|
+
<mock:shadow-root>
|
|
29
|
+
<slot></slot>
|
|
30
|
+
</mock:shadow-root>
|
|
31
|
+
${dummyContent}
|
|
32
|
+
</b2b-shimmer>
|
|
33
|
+
`);
|
|
34
|
+
});
|
|
35
|
+
});
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for (var p in s)
|
|
4
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
import { html } from "lit-html";
|
|
14
|
+
import { getArgTypes } from "../../docs/config/utils";
|
|
15
|
+
const meta = {
|
|
16
|
+
title: 'Components/Status & Feedback/Shimmer',
|
|
17
|
+
component: 'b2b-shimmer',
|
|
18
|
+
args: {
|
|
19
|
+
loading: true,
|
|
20
|
+
width: 400,
|
|
21
|
+
height: 25,
|
|
22
|
+
},
|
|
23
|
+
argTypes: Object.assign({}, getArgTypes('b2b-shimmer')),
|
|
24
|
+
render: (_a) => {
|
|
25
|
+
var args = __rest(_a, []);
|
|
26
|
+
return html `<b2b-shimmer
|
|
27
|
+
loading="${args.loading}"
|
|
28
|
+
width="${args.width}"
|
|
29
|
+
height="${args.height}">
|
|
30
|
+
This is the mean content which takes a while to load.
|
|
31
|
+
</b2b-shimmer>`;
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
export default meta;
|
|
35
|
+
export const story010Default = {
|
|
36
|
+
name: 'Default',
|
|
37
|
+
args: Object.assign({}, meta.args),
|
|
38
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 27 Feb 2025 06:22:03 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, 27 Feb 2025 06:22:03 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -79,17 +79,17 @@ export class SnackbarComponent {
|
|
|
79
79
|
clearTimeout(this.timeoutId);
|
|
80
80
|
}
|
|
81
81
|
render() {
|
|
82
|
-
return (h(Host, { key: '
|
|
82
|
+
return (h(Host, { key: '2c1fa25b458eb820c0d5b2bbff6e8b5c4f67a435', onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, h("div", { key: '9c84de32c173d00d275946785236a799a4044955', class: {
|
|
83
83
|
'b2b-snackbar': true,
|
|
84
84
|
[`b2b-snackbar--${this.type}`]: true,
|
|
85
85
|
'b2b-snackbar--opened': this.opened,
|
|
86
|
-
} }, h("div", { key: '
|
|
86
|
+
} }, h("div", { key: 'a6cdf11eb13128287c1eb0c0cd5158ce940b5ce1', class: "b2b-snackbar__content" }, h("span", { key: '5e68c325dc40a7e78af3103b7a748cf1ffb4519d', class: { [`b2b-snackbar--${this.type}__icon`]: true } }, this.chooseIcon()), h("p", { key: '740611167aadea1a6e6aee692f6b634401220875', class: "b2b-snackbar__content__description" }, this.description)), this.isActionPresent() && (h("div", { class: {
|
|
87
87
|
'b2b-snackbar__action': true,
|
|
88
88
|
[`b2b-snackbar__action--${this.type}`]: true,
|
|
89
|
-
}, onClick: this.handleActionClick }, h("a", null, this.actionLabel))), h("div", { key: '
|
|
89
|
+
}, onClick: this.handleActionClick }, h("a", null, this.actionLabel))), h("div", { key: '1f5a0bd09d7dfc7c2753fc9acc5b56a81315c0a0', class: {
|
|
90
90
|
'b2b-snackbar__close-icon': true,
|
|
91
91
|
[`b2b-snackbar__close-icon--${this.type}`]: true,
|
|
92
|
-
}, onClick: this.close }, h("b2b-icon-100", { key: '
|
|
92
|
+
}, onClick: this.close }, h("b2b-icon-100", { key: '4b0ea44065f95e776ef0650092aea0742b1588a5', clickable: true, size: 24, icon: "b2b_icon-close" })))));
|
|
93
93
|
}
|
|
94
94
|
static get is() { return "b2b-snackbar"; }
|
|
95
95
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 27 Feb 2025 06:22:03 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, 27 Feb 2025 06:22:03 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -9,7 +9,7 @@ export class SpinnerComponent {
|
|
|
9
9
|
this.color = 'primary';
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h("div", { key: '
|
|
12
|
+
return (h("div", { key: '8739a726fd4f0a51b87d51cab6a3f85264f1ed08', class: {
|
|
13
13
|
'b2b-spinner': true,
|
|
14
14
|
['b2b-spinner--size-' + this.size]: true,
|
|
15
15
|
['b2b-spinner--color-' + this.color]: true,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 27 Feb 2025 06:22:03 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, 27 Feb 2025 06:22:03 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -17,12 +17,12 @@ export class B2bTabComponent {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '12d81a324c80b9005c0ac9524fcfe5db9efb831d', id: `b2b-tab-${this.generatedId}`, "aria-role": "tab", "aria-selected": this.selected, role: this.disabled ? false : 'tab', disabled: this.disabled, tabindex: this.disabled ? false : this.selected ? '0' : '-1' }, h("span", { key: 'f7c39b2cd098336fa4808a0ab8830631dc3db7db', class: {
|
|
21
21
|
'b2b-tab': true,
|
|
22
22
|
'b2b-tab--selected': this.selected,
|
|
23
23
|
'b2b-tab--disabled': this.disabled,
|
|
24
24
|
'b2b-tab--error': this.invalid,
|
|
25
|
-
} }, h("slot", { key: '
|
|
25
|
+
} }, h("slot", { key: 'd8066ec2d861a5d623e118a14a474af951d9ea70' }))));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "b2b-tab"; }
|
|
28
28
|
static get encapsulation() { return "shadow"; }
|
|
@@ -121,7 +121,7 @@ export class B2bTabGroupComponent {
|
|
|
121
121
|
});
|
|
122
122
|
}
|
|
123
123
|
render() {
|
|
124
|
-
return (h(Host, { key: '
|
|
124
|
+
return (h(Host, { key: '8324f8a2a6c8b77a048bab28d3a5382f27c07ce1' }, h("slot", { key: 'b97fc6fb827875d8f70bd0f6c8e4b01d9b57d098', name: "tab" }), h("b2b-separator", { key: 'b1b68f251b274afc40cdb9e2e79fe3410cd21063' }), h("slot", { key: '93587b074a6354d31b038a130ca35548f6803f43', name: "panel" })));
|
|
125
125
|
}
|
|
126
126
|
static get is() { return "b2b-tab-group"; }
|
|
127
127
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 27 Feb 2025 06:22:03 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, 27 Feb 2025 06:22:03 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -5,7 +5,7 @@ export class B2bTabPanelComponent {
|
|
|
5
5
|
this.generatedId = i++;
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: 'e4d4215b6795a66b2a944ef5d535552ef5adbba2', id: `b2b-tab-panel-${this.generatedId}`, role: "tabpanel" }, h("div", { key: '90736ddfab88b436b1b63cad2a69d8bbfcf3485d', class: "b2b-tab-panel" }, h("slot", { key: '11793052ee41b883a968e0d667ff44c9c30b73aa' }))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "b2b-tab-panel"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 27 Feb 2025 06:22:03 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, 27 Feb 2025 06:22:03 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -36,14 +36,14 @@ export class TableCellComponent {
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: 'c9054312fdf96b346c6ed6633845b676471ee1e6', onMouseEnter: this.addExpandStyles, onMouseLeave: this.removeExpandStyles, class: {
|
|
40
40
|
'b2b-table-cell': true,
|
|
41
41
|
['b2b-table-cell--colspan']: this.size === TableSizes.COLSPAN,
|
|
42
42
|
['b2b-table-cell--ellipsis']: this.useTextEllipsis,
|
|
43
43
|
['b2b-table-cell--' + this.align]: true,
|
|
44
44
|
['b2b-table-cell--divider']: this.divider,
|
|
45
45
|
[`b2b-table-cell-color-${this.color}`]: true,
|
|
46
|
-
}, role: "cell" }, h("slot", { key: '
|
|
46
|
+
}, role: "cell" }, h("slot", { key: 'f05c8ea4484ce55c6f08a85034883fe74051638f' })));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "b2b-table-cell"; }
|
|
49
49
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 27 Feb 2025 06:22:03 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, 27 Feb 2025 06:22:03 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -72,7 +72,7 @@ export class TableHeaderComponent {
|
|
|
72
72
|
this.setIconPlacement();
|
|
73
73
|
}
|
|
74
74
|
render() {
|
|
75
|
-
return (h(Host, { key: '
|
|
75
|
+
return (h(Host, { key: 'e6604084cded7295c561d2ddcb443fa4ac890a96', class: {
|
|
76
76
|
[`b2b-table-header--${this.sortDirection && this.iconAlign}`]: true,
|
|
77
77
|
'b2b-table-header--divider': this.divider,
|
|
78
78
|
[`b2b-table-header--${this.size}`]: true,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 27 Feb 2025 06:22:03 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, 27 Feb 2025 06:22:03 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -110,12 +110,12 @@ export class TableRowComponent {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
render() {
|
|
113
|
-
return (h(Host, { key: '
|
|
113
|
+
return (h(Host, { key: 'e2986d793ab548b9452aded06773b63c86db8375', class: {
|
|
114
114
|
'b2b-table-row': true,
|
|
115
115
|
['b2b-table-row--colspan']: this.size === TableSizes.COLSPAN,
|
|
116
116
|
['b2b-table-row--highlight']: this.highlight,
|
|
117
117
|
[`b2b-table-row--color-${this.getRowColor()}`]: true,
|
|
118
|
-
}, role: "row" }, this.getAccordionColumns(), this.getCheckbox(), h("slot", { key: '
|
|
118
|
+
}, role: "row" }, this.getAccordionColumns(), this.getCheckbox(), h("slot", { key: '72962668970275a6e00cd99c98871241f6fd2956' })));
|
|
119
119
|
}
|
|
120
120
|
static get is() { return "b2b-table-row"; }
|
|
121
121
|
static get encapsulation() { return "shadow"; }
|