@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
|
@@ -58,6 +58,7 @@ const SnackbarComponent = /*@__PURE__*/ proxyCustomElement(class SnackbarCompone
|
|
|
58
58
|
this.duration = 5000;
|
|
59
59
|
this.hasAction = false;
|
|
60
60
|
this.actionLabel = undefined;
|
|
61
|
+
this.width = undefined;
|
|
61
62
|
}
|
|
62
63
|
onVisibleChange(newValue) {
|
|
63
64
|
if (this.timed && this.type !== 'error') {
|
|
@@ -89,17 +90,17 @@ const SnackbarComponent = /*@__PURE__*/ proxyCustomElement(class SnackbarCompone
|
|
|
89
90
|
clearTimeout(this.timeoutId);
|
|
90
91
|
}
|
|
91
92
|
render() {
|
|
92
|
-
return (h(Host, { key: '
|
|
93
|
+
return (h(Host, { key: '693f7639a65edfd76e101540ccd663cc3f533448', onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, h("div", { key: 'f522b01889ee90866e2fd01036805139aa0f39df', class: {
|
|
93
94
|
'b2b-snackbar': true,
|
|
94
95
|
[`b2b-snackbar--${this.type}`]: true,
|
|
95
96
|
'b2b-snackbar--opened': this.opened,
|
|
96
|
-
} }, h("div", { key: '
|
|
97
|
+
}, style: this.width ? { width: this.width } : { width: 'auto' } }, h("div", { key: '3cafcd2cbff1203950ad15b038f0346e12232131', class: "b2b-snackbar__content" }, h("span", { key: '5811cd72a94d7ba281f3733dd9ed0281cb47c37f', class: { [`b2b-snackbar--${this.type}__icon`]: true } }, this.chooseIcon()), h("p", { key: '079f6ad5e83c365a224bc0c1f9862cd6409a7a6d', class: "b2b-snackbar__content__description" }, this.description)), this.isActionPresent() && (h("div", { class: {
|
|
97
98
|
'b2b-snackbar__action': true,
|
|
98
99
|
[`b2b-snackbar__action--${this.type}`]: true,
|
|
99
|
-
}, onClick: this.handleActionClick }, h("a", null, this.actionLabel))), h("div", { key: '
|
|
100
|
+
}, onClick: this.handleActionClick }, h("a", null, this.actionLabel))), h("div", { key: '901aa5ad65f440e7de8a87e5a1fd88643b9766b6', class: {
|
|
100
101
|
'b2b-snackbar__close-icon': true,
|
|
101
102
|
[`b2b-snackbar__close-icon--${this.type}`]: true,
|
|
102
|
-
}, onClick: this.close }, h("b2b-icon-100", { key: '
|
|
103
|
+
}, onClick: this.close }, h("b2b-icon-100", { key: 'efd48b87b50a36d790f59bccfc3553a9d105adfd', clickable: true, size: 24, icon: "b2b_icon-close" })))));
|
|
103
104
|
}
|
|
104
105
|
static get watchers() { return {
|
|
105
106
|
"opened": ["onVisibleChange"]
|
|
@@ -112,7 +113,8 @@ const SnackbarComponent = /*@__PURE__*/ proxyCustomElement(class SnackbarCompone
|
|
|
112
113
|
"timed": [4],
|
|
113
114
|
"duration": [2],
|
|
114
115
|
"hasAction": [4, "has-action"],
|
|
115
|
-
"actionLabel": [1, "action-label"]
|
|
116
|
+
"actionLabel": [1, "action-label"],
|
|
117
|
+
"width": [1]
|
|
116
118
|
}, undefined, {
|
|
117
119
|
"opened": ["onVisibleChange"]
|
|
118
120
|
}]);
|
|
@@ -127,7 +127,7 @@ const B2bTabGroupComponent = /*@__PURE__*/ proxyCustomElement(class B2bTabGroupC
|
|
|
127
127
|
});
|
|
128
128
|
}
|
|
129
129
|
render() {
|
|
130
|
-
return (h(Host, { key: '
|
|
130
|
+
return (h(Host, { key: '8324f8a2a6c8b77a048bab28d3a5382f27c07ce1' }, h("slot", { key: 'b97fc6fb827875d8f70bd0f6c8e4b01d9b57d098', name: "tab" }), h("b2b-separator", { key: 'b1b68f251b274afc40cdb9e2e79fe3410cd21063' }), h("slot", { key: '93587b074a6354d31b038a130ca35548f6803f43', name: "panel" })));
|
|
131
131
|
}
|
|
132
132
|
get hostElement() { return this; }
|
|
133
133
|
}, [1, "b2b-tab-group", {
|
|
@@ -12,7 +12,7 @@ const B2bTabPanelComponent = /*@__PURE__*/ proxyCustomElement(class B2bTabPanelC
|
|
|
12
12
|
this.generatedId = i++;
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
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' }))));
|
|
16
16
|
}
|
|
17
17
|
static get style() { return B2bTabPanelStyle0; }
|
|
18
18
|
}, [1, "b2b-tab-panel"]);
|
|
@@ -25,12 +25,12 @@ const B2bTabComponent = /*@__PURE__*/ proxyCustomElement(class B2bTabComponent e
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
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: {
|
|
29
29
|
'b2b-tab': true,
|
|
30
30
|
'b2b-tab--selected': this.selected,
|
|
31
31
|
'b2b-tab--disabled': this.disabled,
|
|
32
32
|
'b2b-tab--error': this.invalid,
|
|
33
|
-
} }, h("slot", { key: '
|
|
33
|
+
} }, h("slot", { key: 'd8066ec2d861a5d623e118a14a474af951d9ea70' }))));
|
|
34
34
|
}
|
|
35
35
|
get hostElement() { return this; }
|
|
36
36
|
static get watchers() { return {
|
|
@@ -123,12 +123,12 @@ const TableRowComponent = /*@__PURE__*/ proxyCustomElement(class TableRowCompone
|
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
render() {
|
|
126
|
-
return (h(Host, { key: '
|
|
126
|
+
return (h(Host, { key: 'e2986d793ab548b9452aded06773b63c86db8375', class: {
|
|
127
127
|
'b2b-table-row': true,
|
|
128
128
|
['b2b-table-row--colspan']: this.size === TableSizes.COLSPAN,
|
|
129
129
|
['b2b-table-row--highlight']: this.highlight,
|
|
130
130
|
[`b2b-table-row--color-${this.getRowColor()}`]: true,
|
|
131
|
-
}, role: "row" }, this.getAccordionColumns(), this.getCheckbox(), h("slot", { key: '
|
|
131
|
+
}, role: "row" }, this.getAccordionColumns(), this.getCheckbox(), h("slot", { key: '72962668970275a6e00cd99c98871241f6fd2956' })));
|
|
132
132
|
}
|
|
133
133
|
get hostElement() { return this; }
|
|
134
134
|
static get style() { return B2bTableRowStyle0; }
|
|
@@ -120,11 +120,11 @@ const TableRowgroupComponent = /*@__PURE__*/ proxyCustomElement(class TableRowgr
|
|
|
120
120
|
this.makeHeaderRowNotSelectable();
|
|
121
121
|
}
|
|
122
122
|
render() {
|
|
123
|
-
return (h(Host, { key: '
|
|
123
|
+
return (h(Host, { key: '5f69a02dde8828439de23f661b3237c8cd2061da', class: {
|
|
124
124
|
['b2b-table-rowgroup__' + this.type]: true,
|
|
125
125
|
'b2b-table-rowgroup--fixed': this.fixed,
|
|
126
126
|
'b2b-table-rowgroup--colspan': this.size === TableSizes.COLSPAN,
|
|
127
|
-
}, role: "rowgroup" }, h("slot", { key: '
|
|
127
|
+
}, role: "rowgroup" }, h("slot", { key: '4df0d32b50e5c4dccee61cfd39d44da34c37960a' })));
|
|
128
128
|
}
|
|
129
129
|
get host() { return this; }
|
|
130
130
|
static get style() { return B2bTableRowgroupStyle0; }
|
|
@@ -67,9 +67,9 @@ const TableComponent = /*@__PURE__*/ proxyCustomElement(class TableComponent ext
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
render() {
|
|
70
|
-
return (h(Host, { key: '
|
|
70
|
+
return (h(Host, { key: '065f6cb66e8195bd73258b636585ef26acb9f0ac', class: {
|
|
71
71
|
['b2b-table--' + this.size]: true,
|
|
72
|
-
}, role: "table" }, h("slot", { key: '
|
|
72
|
+
}, role: "table" }, h("slot", { key: 'f9d9ab1c60c408d0c3931d31bb05d645e6744038' })));
|
|
73
73
|
}
|
|
74
74
|
get host() { return this; }
|
|
75
75
|
static get style() { return B2bTableStyle0; }
|
|
@@ -53,10 +53,10 @@ const B2BTextareaComponent = /*@__PURE__*/ proxyCustomElement(class B2BTextareaC
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: 'dd2881928405f65eb0e6e142c4241a0f985053bc', class: {
|
|
57
57
|
'b2b-textarea': true,
|
|
58
58
|
'b2b-textarea--error': this.invalid && !this.disabled,
|
|
59
|
-
} }, this.label && (h("b2b-input-label", { id: this.name, required: this.required }, this.label)), h("textarea", { key: '
|
|
59
|
+
} }, this.label && (h("b2b-input-label", { id: this.name, required: this.required }, this.label)), h("textarea", { key: '05a53ba78cef9e2558226d99a04eefeed3b1a549', class: "textarea-input", "aria-labelledby": this.name, style: Object.assign({ height: this.height }, (Boolean(this.resize) && { resize: this.resize })), value: this.value, name: this.name, placeholder: this.placeholder, disabled: this.disabled, autoFocus: this.autofocus, onFocus: this.onFocus, onBlur: this.onBlur, onInput: this.onInput, maxLength: this.maxLength }), (this.hint !== undefined && !this.invalid) ||
|
|
60
60
|
(this.hint !== undefined && this.disabled) ? (h("span", null, this.hint)) : (''), this.error !== undefined && this.invalid && !this.disabled ? (h("span", null, this.error)) : ('')));
|
|
61
61
|
}
|
|
62
62
|
get hostElement() { return this; }
|
|
@@ -39,13 +39,13 @@ const B2bToggleButtonComponent = /*@__PURE__*/ proxyCustomElement(class B2bToggl
|
|
|
39
39
|
return Array.from(document.querySelectorAll(`b2b-toggle-button[name="${this.name}"]`)).filter((toggle) => toggle.value !== this.value);
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return (h(Host, { key: '
|
|
42
|
+
return (h(Host, { key: '255ef8569e3f8ef1bb9bbb5c48a423dbadcb2f72', onClick: this.onClick }, h("span", { key: '1511b7dc188f7e9285d4d443500b8b0551c7956d', class: {
|
|
43
43
|
'b2b-toggle-button': true,
|
|
44
44
|
'b2b-toggle-button--disabled': this.disabled,
|
|
45
|
-
} }, h("input", { key: '
|
|
45
|
+
} }, h("input", { key: '0cfccff92c1470e2d3e62ee9c09bed049e5ba2f6', tabindex: 0, class: {
|
|
46
46
|
'b2b-toggle-button__input': true,
|
|
47
47
|
'b2b-toggle-button__input--disabled': this.disabled,
|
|
48
|
-
}, "aria-labelledby": this.name, type: "radio", checked: this.checked && !this.disabled, disabled: this.disabled, name: this.name, value: this.value }), h("label", { key: '
|
|
48
|
+
}, "aria-labelledby": this.name, type: "radio", checked: this.checked && !this.disabled, disabled: this.disabled, name: this.name, value: this.value }), h("label", { key: 'f99e5fce510f5979b5281b24616000d80f80c457', id: this.name, tabindex: -1, class: {
|
|
49
49
|
'b2b-toggle-button__label': true,
|
|
50
50
|
'b2b-toggle-button__label--disabled': this.disabled,
|
|
51
51
|
'b2b-toggle-button__label--checked': this.checked && !this.disabled,
|
|
@@ -40,11 +40,11 @@ const B2BToggleChipComponent = /*@__PURE__*/ proxyCustomElement(class B2BToggleC
|
|
|
40
40
|
this.disabled = false;
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: '3eed467bbc6068073c8bd601115fc54b3b6f3fe0' }, h("span", { key: '4a94f8cb72a4f129df07b39c0676b7a51b309d77', onClick: this.onClick, onKeyDown: this.onKeyDown, class: {
|
|
44
44
|
'b2b-toggle-chip': true,
|
|
45
|
-
} }, h("input", { key: '
|
|
45
|
+
} }, h("input", { key: '38d66b138ffc4215fe22d430c3c396f09c763a86', "aria-labelledby": this.name, tabindex: this.disabled ? -1 : 0, class: {
|
|
46
46
|
'b2b-toggle-chip__input': true,
|
|
47
|
-
}, type: "checkbox", checked: this.active && !this.disabled, disabled: this.disabled, name: this.name, value: this.value }), h("label", { key: '
|
|
47
|
+
}, type: "checkbox", checked: this.active && !this.disabled, disabled: this.disabled, name: this.name, value: this.value }), h("label", { key: '3b29bd1cfb6d0387715d8d151f024dc369071a47', id: this.name, tabIndex: -1, class: {
|
|
48
48
|
'b2b-toggle-chip__label': true,
|
|
49
49
|
'b2b-toggle-chip__label--active': this.active && !this.disabled,
|
|
50
50
|
'b2b-toggle-chip__label--disabled': this.disabled,
|
|
@@ -53,10 +53,10 @@ const B2BToggleGroup = /*@__PURE__*/ proxyCustomElement(class B2BToggleGroup ext
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: '2736df48eff433ad9040e2cad8668b1a08e97c25' }, h("div", { key: '32c10360a73e3c901d4b244ed9584290365b70b1', class: {
|
|
57
57
|
'b2b-toggle-group': true,
|
|
58
58
|
'b2b-toggle-group--disabled': this.disabled,
|
|
59
|
-
} }, h("fieldset", { key: '
|
|
59
|
+
} }, h("fieldset", { key: '053f62bdb8a5293b2c5e9f8e55686181726f6870' }, h("slot", { key: 'a25c46e0def62b2bf31228e350eaf2d78580b661' })))));
|
|
60
60
|
}
|
|
61
61
|
get host() { return this; }
|
|
62
62
|
static get watchers() { return {
|
|
@@ -46,17 +46,17 @@ const B2bToggleSwitchComponent = /*@__PURE__*/ proxyCustomElement(class B2bToggl
|
|
|
46
46
|
render() {
|
|
47
47
|
// workaround for purgecss as safelist doesn't work
|
|
48
48
|
const isLeft = this.labelPosition === 'left';
|
|
49
|
-
return (h(Host, { key: '
|
|
49
|
+
return (h(Host, { key: '75acfc0ca73754d89f4fb2400de58c4684177bb1' }, h("div", { key: '8c3ba099e53c97877391b19cbf75f6e2a767cc8b', class: {
|
|
50
50
|
'b2b-toggle': true,
|
|
51
51
|
'b2b-toggle--disabled': this.disabled,
|
|
52
52
|
'b2b-toggle--checked': this.state,
|
|
53
|
-
} }, h("div", { key: '
|
|
53
|
+
} }, h("div", { key: '400f2c983e0583087e6d44d10885bfd433128bea', class: {
|
|
54
54
|
'b2b-toggle__label': true,
|
|
55
55
|
'b2b-toggle__label--left': isLeft,
|
|
56
|
-
} }, h("span", { key: '
|
|
56
|
+
} }, h("span", { key: 'fc8a40bc9e89a506482df840f6ded6d9417e3424', class: "b2b-toggle__switch", role: "switch", tabIndex: 0, onKeyDown: this.onKeyDown, onClick: this.onClick }, h("svg", { key: 'b8dc5e77008cd4c50b2add85696367e9911b1a49', class: {
|
|
57
57
|
'b2b-toggle__icon': true,
|
|
58
58
|
'b2b-toggle__icon--show': this.state,
|
|
59
|
-
}, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 30 30" }, h("path", { key: '
|
|
59
|
+
}, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 30 30" }, h("path", { key: '5f858db03eccfcd5b5c93f1d0fd4cfbb502b49e5', d: "M11.798 25.082c-.341 0-.681-.13-.942-.389l-7.132-7.115a1.334 1.334 0 0 1 1.884-1.888l6.19 6.175L26.391 7.307a1.334 1.334 0 0 1 1.884 1.888L12.74 24.693c-.26.259-.601.389-.942.389z" }))), this.label && (h("span", { class: {
|
|
60
60
|
'b2b-toggle__text': true,
|
|
61
61
|
'b2b-toggle__text--left': isLeft,
|
|
62
62
|
} }, this.label))))));
|
|
@@ -60,13 +60,13 @@ const B2BTooltipComponent = /*@__PURE__*/ proxyCustomElement(class B2BTooltipCom
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (h(Host, { key: '
|
|
63
|
+
return (h(Host, { key: 'f9a6137367e0fba411d1fa120da93e9285c17e3b', onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave }, h("span", { key: '22bee575f4c47158cd075c9797ac98c647839d36', class: {
|
|
64
64
|
[`b2b-tooltip--${this.position}`]: true,
|
|
65
65
|
'b2b-tooltip__trigger': true,
|
|
66
|
-
} }, h("slot", { key: '
|
|
66
|
+
} }, h("slot", { key: '1cf6cc406c9aa2e214e8243f24ebebd1c740b971' }), h("div", { key: 'ef39ce548f77cc800583a378a604fd63cab6abfe', class: {
|
|
67
67
|
'b2b-tooltip__content': true,
|
|
68
68
|
'b2b-tooltip--visible': this.opened,
|
|
69
|
-
} }, h("slot", { key: '
|
|
69
|
+
} }, h("slot", { key: '19d707e1d91109773e22aec89fece5604b9f54df', name: "content" }, this.content)))));
|
|
70
70
|
}
|
|
71
71
|
get host() { return this; }
|
|
72
72
|
static get watchers() { return {
|
|
@@ -17,10 +17,10 @@ const WizardStepComponent = /*@__PURE__*/ proxyCustomElement(class WizardStepCom
|
|
|
17
17
|
this.checkIcon = true;
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: 'de11a98f1a1dc94d534e072ffe441f20bfc7b278' }, h("div", { key: 'a605b3bd1392e112e66c4c1197d424b22339aa8a', class: "b2b_wizard__step" }, h("b2b-wizard-icon", { key: 'ac4fee0ddbb85bda2061f66b16bc10dbf912326b', step: this.step, state: this.state, checkIcon: this.checkIcon }), h("div", { key: '7473b84e66eea620126f3618ba42ea7eaa9cf90f', class: {
|
|
21
21
|
'b2b_wizard__step__label': true,
|
|
22
22
|
'b2b_wizard__step__label--default': this.state === WizardStatus.DEFAULT,
|
|
23
|
-
} }, h("slot", { key: '
|
|
23
|
+
} }, h("slot", { key: '0a60b0aca0daa1db77988fb06916a01fbe594d63' })))));
|
|
24
24
|
}
|
|
25
25
|
static get style() { return B2bWizardStepStyle0; }
|
|
26
26
|
}, [1, "b2b-wizard-step", {
|
|
@@ -51,7 +51,7 @@ const WizardComponent = /*@__PURE__*/ proxyCustomElement(class WizardComponent e
|
|
|
51
51
|
this.setStepsState();
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: 'fcd70fb677b2502faf1d5d7cb7e3a88fc61680ca' }, h("div", { key: '8af1baead3bd41083d1d4dc7c161079d37983261', class: "b2b_wizard" }, h("slot", { key: 'cd1390349f4d1b9e54afa59c67526fd4bf41bfa0' }))));
|
|
55
55
|
}
|
|
56
56
|
get host() { return this; }
|
|
57
57
|
static get style() { return B2bWizardStyle0; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
|
|
3
|
-
const inputGroupCss = ":root,:host{--b2b-size-200:5rem;--b2b-size-160:4rem;--b2b-size-150:3.75rem;--b2b-size-140:3.5rem;--b2b-size-120:3rem;--b2b-size-100:2.5rem;--b2b-size-90:2.25rem;--b2b-size-80:2rem;--b2b-size-70:1.75rem;--b2b-size-60:1.5rem;--b2b-size-55:1.375rem;--b2b-size-53:1.3125rem;--b2b-size-50:1.25rem;--b2b-size-45:1.125rem;--b2b-size-40:1rem;--b2b-size-35:0.875rem;--b2b-size-30:0.75rem;--b2b-size-25:0.625rem;--b2b-size-20:0.5rem;--b2b-size-15:0.375rem;--b2b-size-10:0.25rem;--b2b-size-7:0.1875rem;--b2b-size-5:0.125rem;--b2b-size-1:0.0625rem;--b2b-font-weight-bold:700;--b2b-font-weight-normal:500;--b2b-font-weight-thin:100;--b2b-font-family-default:OttoSans, Arial, Helvetica, sans-serif;--b2b-color-table-expand-hover:#e6f4ff;--b2b-color-table-selected-default:#cce9ff;--b2b-color-background-overlay-transparent-40:rgba(34, 34, 34, 0.25);--b2b-color-background-overlay-transparent-80:rgba(34, 34, 34, 0.5);--b2b-color-hover-black:#3b3b3b;--b2b-color-hover-default:#e6f4ff;--b2b-color-info-100:#003264;--b2b-color-info-50:#ccd6e0;--b2b-color-success-100:#326400;--b2b-color-success-50:#d6e0cc;--b2b-color-warning-100:#ffb432;--b2b-color-warning-50:#ffd998;--b2b-color-error-100:#e6344b;--b2b-color-primary:#d4021d;--b2b-color-red-250:#850012;--b2b-color-red-200:#bb0004;--b2b-color-red-150:#e6344b;--b2b-color-red-100:#d4021d;--b2b-color-red-50:#ffdde3;--b2b-color-grey-400:#777777;--b2b-color-grey-300:#9e9e9e;--b2b-color-grey-250:#b1b1b1;--b2b-color-grey-200:#c4c4c4;--b2b-color-grey-150:#d5d5d5;--b2b-color-grey-100:#e6e6e6;--b2b-color-grey-50:#eeeeee;--b2b-color-grey-25:#f6f6f6;--b2b-color-white-100:#ffffff;--b2b-color-black-100:#222222;--b2b-color-black-50:#333333;--b2b-size-headline-line-height-400:var(--b2b-size-60);--b2b-size-headline-line-height-200:var(--b2b-size-60);--b2b-size-headline-line-height-100:var(--b2b-size-60);--b2b-size-headline-400:var(--b2b-size-60);--b2b-size-headline-200:var(--b2b-size-45);--b2b-size-headline-100:var(--b2b-size-40);--b2b-size-copy-line-height-300:var(--b2b-size-90);--b2b-size-copy-line-height-200:var(--b2b-size-60);--b2b-size-copy-line-height-125:var(--b2b-size-60);--b2b-size-copy-line-height-100:var(--b2b-size-53);--b2b-size-copy-line-height-75:var(--b2b-size-45);--b2b-size-copy-line-height-50:var(--b2b-size-40);--b2b-size-copy-300:var(--b2b-size-60);--b2b-size-copy-200:var(--b2b-size-45);--b2b-size-copy-125:var(--b2b-size-40);--b2b-size-copy-100:var(--b2b-size-35);--b2b-size-copy-50:var(--b2b-size-30);--b2b-size-border-no-radius-bottom:var(--b2b-size-7) var(--b2b-size-7) 0 0;--b2b-size-border-no-radius-top:0 0 var(--b2b-size-7) var(--b2b-size-7);--b2b-size-border-no-radius-right:var(--b2b-size-7) 0 0 var(--b2b-size-7);--b2b-size-border-no-radius-left:0 var(--b2b-size-7) var(--b2b-size-7) 0;--b2b-size-border-radius-100:var(--b2b-size-7);--b2b-size-border-width-150:var(--b2b-size-10);--b2b-size-border-width-100:var(--b2b-size-5);--b2b-size-border-width-50:var(--b2b-size-1);--b2b-size-padding-175:var(--b2b-size-80);--b2b-size-padding-150:var(--b2b-size-60);--b2b-size-padding-100:var(--b2b-size-40);--b2b-size-padding-50:var(--b2b-size-20);--b2b-size-space-300:var(--b2b-size-200);--b2b-size-space-250:var(--b2b-size-160);--b2b-size-space-200:var(--b2b-size-100);--b2b-size-space-175:var(--b2b-size-80);--b2b-size-space-150:var(--b2b-size-60);--b2b-size-space-100:var(--b2b-size-40);--b2b-size-space-75:var(--b2b-size-30);--b2b-size-space-50:var(--b2b-size-20);--b2b-size-space-25:var(--b2b-size-10);--b2b-size-icon-400:var(--b2b-size-120);--b2b-size-icon-200:var(--b2b-size-80);--b2b-size-icon-100:var(--b2b-size-60);--b2b-size-icon-50:var(--b2b-size-40);--b2b-color-table-expand-default:var(--b2b-color-grey-25);--b2b-color-icon-inverted:var(--b2b-color-white-100);--b2b-color-icon-secondary:var(--b2b-color-grey-400);--b2b-color-icon-default:var(--b2b-color-black-100);--b2b-color-headline-inverted:var(--b2b-color-white-100);--b2b-color-headline-default:var(--b2b-color-black-100);--b2b-color-headline-title:var(--b2b-color-red-100);--b2b-color-copy-overlay:var(--b2b-color-white-100);--b2b-color-copy-inverted:var(--b2b-color-white-100);--b2b-color-copy-secondary:var(--b2b-color-grey-400);--b2b-color-copy-default:var(--b2b-color-black-100);--b2b-color-border-100:var(--b2b-color-grey-200);--b2b-color-background-overlay:var(--b2b-color-black-100);--b2b-color-background-card:var(--b2b-color-white-100);--b2b-color-background-box:var(--b2b-color-white-100);--b2b-color-background-page:var(--b2b-color-grey-25);--b2b-color-error-50:var(--b2b-color-red-50)}:root [data-theme=\"dark\"]{--b2b-size-200:5rem;--b2b-size-160:4rem;--b2b-size-150:3.75rem;--b2b-size-140:3.5rem;--b2b-size-120:3rem;--b2b-size-100:2.5rem;--b2b-size-90:2.25rem;--b2b-size-80:2rem;--b2b-size-70:1.75rem;--b2b-size-60:1.5rem;--b2b-size-55:1.375rem;--b2b-size-53:1.3125rem;--b2b-size-50:1.25rem;--b2b-size-45:1.125rem;--b2b-size-40:1rem;--b2b-size-35:0.875rem;--b2b-size-30:0.75rem;--b2b-size-25:0.625rem;--b2b-size-20:0.5rem;--b2b-size-15:0.375rem;--b2b-size-10:0.25rem;--b2b-size-7:0.1875rem;--b2b-size-5:0.125rem;--b2b-size-1:0.0625rem;--b2b-font-weight-bold:700;--b2b-font-weight-normal:500;--b2b-font-weight-thin:100;--b2b-font-family-default:OttoSans, Arial, Helvetica, sans-serif;--b2b-color-hover-black:#3b3b3b;--b2b-color-hover-default:#e6f4ff;--b2b-color-info-100:#003264;--b2b-color-info-50:#ccd6e0;--b2b-color-success-100:#326400;--b2b-color-success-50:#d6e0cc;--b2b-color-warning-100:#ffb432;--b2b-color-warning-50:#ffd998;--b2b-color-error-100:#e6344b;--b2b-color-primary:#d4021d;--b2b-color-red-250:#850012;--b2b-color-red-200:#bb0004;--b2b-color-red-150:#e6344b;--b2b-color-red-100:#d4021d;--b2b-color-red-50:#ffdde3;--b2b-color-grey-400:#777777;--b2b-color-grey-300:#9e9e9e;--b2b-color-grey-250:#b1b1b1;--b2b-color-grey-200:#c4c4c4;--b2b-color-grey-150:#d5d5d5;--b2b-color-grey-100:#e6e6e6;--b2b-color-grey-50:#eeeeee;--b2b-color-grey-25:#f6f6f6;--b2b-color-white-100:#ffffff;--b2b-color-black-100:#222222;--b2b-color-black-50:#333333;--b2b-color-icon-inverted:var(--b2b-color-black-100);--b2b-color-icon-secondary:var(--b2b-color-grey-400);--b2b-color-icon-default:var(--b2b-color-white-100);--b2b-color-headline-inverted:var(--b2b-color-black-100);--b2b-color-headline-default:var(--b2b-color-white-100);--b2b-color-headline-title:var(--b2b-color-red-50);--b2b-color-copy-inverted:var(--b2b-color-black-100);--b2b-color-copy-secondary:var(--b2b-color-grey-100);--b2b-color-copy-default:var(--b2b-color-white-100);--b2b-color-border-100:var(--b2b-color-white-100);--b2b-color-background-page:var(--b2b-color-grey-100);--b2b-color-background-card:var(--b2b-color-black-50);--b2b-color-background-box:var(--b2b-color-black-50);--b2b-color-error-50:var(--b2b-color-red-50)}@font-face{font-family:OttoSans;src:url(\"https://pattern-library.portal.otto.market/static/assets/fonts/otto-sans.ttf\");font-weight:normal;font-style:normal}@font-face{font-family:OttoSans;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\");font-weight:bold;font-style:normal}@font-face{font-family:OttoSans;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\");font-weight:100;font-style:normal}@font-face{font-family:ObcIcons;src:url(\"https://pattern-library.portal.otto.market/static/assets/fonts/obc-icons.woff\")}:host .b2b-input-wrapper{display:flex;align-items:flex-end;flex:0 0 auto;max-width:800px}:host .b2b-input-wrapper__hint{font-size:var(--b2b-size-copy-50);line-height:var(--b2b-size-copy-line-height-75);display:block;margin-top:var(--b2b-size-
|
|
3
|
+
const inputGroupCss = ":root,:host{--b2b-size-200:5rem;--b2b-size-160:4rem;--b2b-size-150:3.75rem;--b2b-size-140:3.5rem;--b2b-size-120:3rem;--b2b-size-100:2.5rem;--b2b-size-90:2.25rem;--b2b-size-80:2rem;--b2b-size-70:1.75rem;--b2b-size-60:1.5rem;--b2b-size-55:1.375rem;--b2b-size-53:1.3125rem;--b2b-size-50:1.25rem;--b2b-size-45:1.125rem;--b2b-size-40:1rem;--b2b-size-35:0.875rem;--b2b-size-30:0.75rem;--b2b-size-25:0.625rem;--b2b-size-20:0.5rem;--b2b-size-15:0.375rem;--b2b-size-10:0.25rem;--b2b-size-7:0.1875rem;--b2b-size-5:0.125rem;--b2b-size-1:0.0625rem;--b2b-font-weight-bold:700;--b2b-font-weight-normal:500;--b2b-font-weight-thin:100;--b2b-font-family-default:OttoSans, Arial, Helvetica, sans-serif;--b2b-color-table-expand-hover:#e6f4ff;--b2b-color-table-selected-default:#cce9ff;--b2b-color-background-overlay-transparent-40:rgba(34, 34, 34, 0.25);--b2b-color-background-overlay-transparent-80:rgba(34, 34, 34, 0.5);--b2b-color-hover-black:#3b3b3b;--b2b-color-hover-default:#e6f4ff;--b2b-color-info-100:#003264;--b2b-color-info-50:#ccd6e0;--b2b-color-success-100:#326400;--b2b-color-success-50:#d6e0cc;--b2b-color-warning-100:#ffb432;--b2b-color-warning-50:#ffd998;--b2b-color-error-100:#e6344b;--b2b-color-primary:#d4021d;--b2b-color-red-250:#850012;--b2b-color-red-200:#bb0004;--b2b-color-red-150:#e6344b;--b2b-color-red-100:#d4021d;--b2b-color-red-50:#ffdde3;--b2b-color-grey-400:#777777;--b2b-color-grey-300:#9e9e9e;--b2b-color-grey-250:#b1b1b1;--b2b-color-grey-200:#c4c4c4;--b2b-color-grey-150:#d5d5d5;--b2b-color-grey-100:#e6e6e6;--b2b-color-grey-50:#eeeeee;--b2b-color-grey-25:#f6f6f6;--b2b-color-white-100:#ffffff;--b2b-color-black-100:#222222;--b2b-color-black-50:#333333;--b2b-size-headline-line-height-400:var(--b2b-size-60);--b2b-size-headline-line-height-200:var(--b2b-size-60);--b2b-size-headline-line-height-100:var(--b2b-size-60);--b2b-size-headline-400:var(--b2b-size-60);--b2b-size-headline-200:var(--b2b-size-45);--b2b-size-headline-100:var(--b2b-size-40);--b2b-size-copy-line-height-300:var(--b2b-size-90);--b2b-size-copy-line-height-200:var(--b2b-size-60);--b2b-size-copy-line-height-125:var(--b2b-size-60);--b2b-size-copy-line-height-100:var(--b2b-size-53);--b2b-size-copy-line-height-75:var(--b2b-size-45);--b2b-size-copy-line-height-50:var(--b2b-size-40);--b2b-size-copy-300:var(--b2b-size-60);--b2b-size-copy-200:var(--b2b-size-45);--b2b-size-copy-125:var(--b2b-size-40);--b2b-size-copy-100:var(--b2b-size-35);--b2b-size-copy-50:var(--b2b-size-30);--b2b-size-border-no-radius-bottom:var(--b2b-size-7) var(--b2b-size-7) 0 0;--b2b-size-border-no-radius-top:0 0 var(--b2b-size-7) var(--b2b-size-7);--b2b-size-border-no-radius-right:var(--b2b-size-7) 0 0 var(--b2b-size-7);--b2b-size-border-no-radius-left:0 var(--b2b-size-7) var(--b2b-size-7) 0;--b2b-size-border-radius-100:var(--b2b-size-7);--b2b-size-border-width-150:var(--b2b-size-10);--b2b-size-border-width-100:var(--b2b-size-5);--b2b-size-border-width-50:var(--b2b-size-1);--b2b-size-padding-175:var(--b2b-size-80);--b2b-size-padding-150:var(--b2b-size-60);--b2b-size-padding-100:var(--b2b-size-40);--b2b-size-padding-50:var(--b2b-size-20);--b2b-size-space-300:var(--b2b-size-200);--b2b-size-space-250:var(--b2b-size-160);--b2b-size-space-200:var(--b2b-size-100);--b2b-size-space-175:var(--b2b-size-80);--b2b-size-space-150:var(--b2b-size-60);--b2b-size-space-100:var(--b2b-size-40);--b2b-size-space-75:var(--b2b-size-30);--b2b-size-space-50:var(--b2b-size-20);--b2b-size-space-25:var(--b2b-size-10);--b2b-size-icon-400:var(--b2b-size-120);--b2b-size-icon-200:var(--b2b-size-80);--b2b-size-icon-100:var(--b2b-size-60);--b2b-size-icon-50:var(--b2b-size-40);--b2b-color-table-expand-default:var(--b2b-color-grey-25);--b2b-color-icon-inverted:var(--b2b-color-white-100);--b2b-color-icon-secondary:var(--b2b-color-grey-400);--b2b-color-icon-default:var(--b2b-color-black-100);--b2b-color-headline-inverted:var(--b2b-color-white-100);--b2b-color-headline-default:var(--b2b-color-black-100);--b2b-color-headline-title:var(--b2b-color-red-100);--b2b-color-copy-overlay:var(--b2b-color-white-100);--b2b-color-copy-inverted:var(--b2b-color-white-100);--b2b-color-copy-secondary:var(--b2b-color-grey-400);--b2b-color-copy-default:var(--b2b-color-black-100);--b2b-color-border-100:var(--b2b-color-grey-200);--b2b-color-background-overlay:var(--b2b-color-black-100);--b2b-color-background-card:var(--b2b-color-white-100);--b2b-color-background-box:var(--b2b-color-white-100);--b2b-color-background-page:var(--b2b-color-grey-25);--b2b-color-error-50:var(--b2b-color-red-50)}:root [data-theme=\"dark\"]{--b2b-size-200:5rem;--b2b-size-160:4rem;--b2b-size-150:3.75rem;--b2b-size-140:3.5rem;--b2b-size-120:3rem;--b2b-size-100:2.5rem;--b2b-size-90:2.25rem;--b2b-size-80:2rem;--b2b-size-70:1.75rem;--b2b-size-60:1.5rem;--b2b-size-55:1.375rem;--b2b-size-53:1.3125rem;--b2b-size-50:1.25rem;--b2b-size-45:1.125rem;--b2b-size-40:1rem;--b2b-size-35:0.875rem;--b2b-size-30:0.75rem;--b2b-size-25:0.625rem;--b2b-size-20:0.5rem;--b2b-size-15:0.375rem;--b2b-size-10:0.25rem;--b2b-size-7:0.1875rem;--b2b-size-5:0.125rem;--b2b-size-1:0.0625rem;--b2b-font-weight-bold:700;--b2b-font-weight-normal:500;--b2b-font-weight-thin:100;--b2b-font-family-default:OttoSans, Arial, Helvetica, sans-serif;--b2b-color-hover-black:#3b3b3b;--b2b-color-hover-default:#e6f4ff;--b2b-color-info-100:#003264;--b2b-color-info-50:#ccd6e0;--b2b-color-success-100:#326400;--b2b-color-success-50:#d6e0cc;--b2b-color-warning-100:#ffb432;--b2b-color-warning-50:#ffd998;--b2b-color-error-100:#e6344b;--b2b-color-primary:#d4021d;--b2b-color-red-250:#850012;--b2b-color-red-200:#bb0004;--b2b-color-red-150:#e6344b;--b2b-color-red-100:#d4021d;--b2b-color-red-50:#ffdde3;--b2b-color-grey-400:#777777;--b2b-color-grey-300:#9e9e9e;--b2b-color-grey-250:#b1b1b1;--b2b-color-grey-200:#c4c4c4;--b2b-color-grey-150:#d5d5d5;--b2b-color-grey-100:#e6e6e6;--b2b-color-grey-50:#eeeeee;--b2b-color-grey-25:#f6f6f6;--b2b-color-white-100:#ffffff;--b2b-color-black-100:#222222;--b2b-color-black-50:#333333;--b2b-color-icon-inverted:var(--b2b-color-black-100);--b2b-color-icon-secondary:var(--b2b-color-grey-400);--b2b-color-icon-default:var(--b2b-color-white-100);--b2b-color-headline-inverted:var(--b2b-color-black-100);--b2b-color-headline-default:var(--b2b-color-white-100);--b2b-color-headline-title:var(--b2b-color-red-50);--b2b-color-copy-inverted:var(--b2b-color-black-100);--b2b-color-copy-secondary:var(--b2b-color-grey-100);--b2b-color-copy-default:var(--b2b-color-white-100);--b2b-color-border-100:var(--b2b-color-white-100);--b2b-color-background-page:var(--b2b-color-grey-100);--b2b-color-background-card:var(--b2b-color-black-50);--b2b-color-background-box:var(--b2b-color-black-50);--b2b-color-error-50:var(--b2b-color-red-50)}@font-face{font-family:OttoSans;src:url(\"https://pattern-library.portal.otto.market/static/assets/fonts/otto-sans.ttf\");font-weight:normal;font-style:normal}@font-face{font-family:OttoSans;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\");font-weight:bold;font-style:normal}@font-face{font-family:OttoSans;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\");font-weight:100;font-style:normal}@font-face{font-family:ObcIcons;src:url(\"https://pattern-library.portal.otto.market/static/assets/fonts/obc-icons.woff\")}:host .b2b-input-wrapper{display:flex;align-items:flex-end;flex:0 0 auto;max-width:800px}:host .b2b-input-wrapper__hint{font-size:var(--b2b-size-copy-50);line-height:var(--b2b-size-copy-line-height-75);display:block;margin-top:var(--b2b-size-7);color:var(--b2b-color-grey-300)}:host .b2b-input-wrapper__hint--error{color:var(--b2b-color-error-100)}::slotted(*[slot=start]){--b2b-border-radius:var(--b2b-size-border-radius-100) 0 0\n var(--b2b-size-border-radius-100);--b2b-border-right:0}::slotted(*){--b2b-border-radius:0;--b2b-border-right:0}::slotted(*[slot=end]){--b2b-border-radius:0 var(--b2b-size-border-radius-100)\n var(--b2b-size-border-radius-100) 0;--b2b-border-right:1px solid var(--b2b-color-grey-200)}";
|
|
4
4
|
const B2bInputGroupStyle0 = inputGroupCss;
|
|
5
5
|
|
|
6
6
|
const B2BInputGroup = /*@__PURE__*/ proxyCustomElement(class B2BInputGroup extends HTMLElement {
|
package/dist/components/input.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { d as defineCustomElement$1 } from './input-label.js';
|
|
3
3
|
|
|
4
|
-
const inputCss = ":root,:host{--b2b-size-200:5rem;--b2b-size-160:4rem;--b2b-size-150:3.75rem;--b2b-size-140:3.5rem;--b2b-size-120:3rem;--b2b-size-100:2.5rem;--b2b-size-90:2.25rem;--b2b-size-80:2rem;--b2b-size-70:1.75rem;--b2b-size-60:1.5rem;--b2b-size-55:1.375rem;--b2b-size-53:1.3125rem;--b2b-size-50:1.25rem;--b2b-size-45:1.125rem;--b2b-size-40:1rem;--b2b-size-35:0.875rem;--b2b-size-30:0.75rem;--b2b-size-25:0.625rem;--b2b-size-20:0.5rem;--b2b-size-15:0.375rem;--b2b-size-10:0.25rem;--b2b-size-7:0.1875rem;--b2b-size-5:0.125rem;--b2b-size-1:0.0625rem;--b2b-font-weight-bold:700;--b2b-font-weight-normal:500;--b2b-font-weight-thin:100;--b2b-font-family-default:OttoSans, Arial, Helvetica, sans-serif;--b2b-color-table-expand-hover:#e6f4ff;--b2b-color-table-selected-default:#cce9ff;--b2b-color-background-overlay-transparent-40:rgba(34, 34, 34, 0.25);--b2b-color-background-overlay-transparent-80:rgba(34, 34, 34, 0.5);--b2b-color-hover-black:#3b3b3b;--b2b-color-hover-default:#e6f4ff;--b2b-color-info-100:#003264;--b2b-color-info-50:#ccd6e0;--b2b-color-success-100:#326400;--b2b-color-success-50:#d6e0cc;--b2b-color-warning-100:#ffb432;--b2b-color-warning-50:#ffd998;--b2b-color-error-100:#e6344b;--b2b-color-primary:#d4021d;--b2b-color-red-250:#850012;--b2b-color-red-200:#bb0004;--b2b-color-red-150:#e6344b;--b2b-color-red-100:#d4021d;--b2b-color-red-50:#ffdde3;--b2b-color-grey-400:#777777;--b2b-color-grey-300:#9e9e9e;--b2b-color-grey-250:#b1b1b1;--b2b-color-grey-200:#c4c4c4;--b2b-color-grey-150:#d5d5d5;--b2b-color-grey-100:#e6e6e6;--b2b-color-grey-50:#eeeeee;--b2b-color-grey-25:#f6f6f6;--b2b-color-white-100:#ffffff;--b2b-color-black-100:#222222;--b2b-color-black-50:#333333;--b2b-size-headline-line-height-400:var(--b2b-size-60);--b2b-size-headline-line-height-200:var(--b2b-size-60);--b2b-size-headline-line-height-100:var(--b2b-size-60);--b2b-size-headline-400:var(--b2b-size-60);--b2b-size-headline-200:var(--b2b-size-45);--b2b-size-headline-100:var(--b2b-size-40);--b2b-size-copy-line-height-300:var(--b2b-size-90);--b2b-size-copy-line-height-200:var(--b2b-size-60);--b2b-size-copy-line-height-125:var(--b2b-size-60);--b2b-size-copy-line-height-100:var(--b2b-size-53);--b2b-size-copy-line-height-75:var(--b2b-size-45);--b2b-size-copy-line-height-50:var(--b2b-size-40);--b2b-size-copy-300:var(--b2b-size-60);--b2b-size-copy-200:var(--b2b-size-45);--b2b-size-copy-125:var(--b2b-size-40);--b2b-size-copy-100:var(--b2b-size-35);--b2b-size-copy-50:var(--b2b-size-30);--b2b-size-border-no-radius-bottom:var(--b2b-size-7) var(--b2b-size-7) 0 0;--b2b-size-border-no-radius-top:0 0 var(--b2b-size-7) var(--b2b-size-7);--b2b-size-border-no-radius-right:var(--b2b-size-7) 0 0 var(--b2b-size-7);--b2b-size-border-no-radius-left:0 var(--b2b-size-7) var(--b2b-size-7) 0;--b2b-size-border-radius-100:var(--b2b-size-7);--b2b-size-border-width-150:var(--b2b-size-10);--b2b-size-border-width-100:var(--b2b-size-5);--b2b-size-border-width-50:var(--b2b-size-1);--b2b-size-padding-175:var(--b2b-size-80);--b2b-size-padding-150:var(--b2b-size-60);--b2b-size-padding-100:var(--b2b-size-40);--b2b-size-padding-50:var(--b2b-size-20);--b2b-size-space-300:var(--b2b-size-200);--b2b-size-space-250:var(--b2b-size-160);--b2b-size-space-200:var(--b2b-size-100);--b2b-size-space-175:var(--b2b-size-80);--b2b-size-space-150:var(--b2b-size-60);--b2b-size-space-100:var(--b2b-size-40);--b2b-size-space-75:var(--b2b-size-30);--b2b-size-space-50:var(--b2b-size-20);--b2b-size-space-25:var(--b2b-size-10);--b2b-size-icon-400:var(--b2b-size-120);--b2b-size-icon-200:var(--b2b-size-80);--b2b-size-icon-100:var(--b2b-size-60);--b2b-size-icon-50:var(--b2b-size-40);--b2b-color-table-expand-default:var(--b2b-color-grey-25);--b2b-color-icon-inverted:var(--b2b-color-white-100);--b2b-color-icon-secondary:var(--b2b-color-grey-400);--b2b-color-icon-default:var(--b2b-color-black-100);--b2b-color-headline-inverted:var(--b2b-color-white-100);--b2b-color-headline-default:var(--b2b-color-black-100);--b2b-color-headline-title:var(--b2b-color-red-100);--b2b-color-copy-overlay:var(--b2b-color-white-100);--b2b-color-copy-inverted:var(--b2b-color-white-100);--b2b-color-copy-secondary:var(--b2b-color-grey-400);--b2b-color-copy-default:var(--b2b-color-black-100);--b2b-color-border-100:var(--b2b-color-grey-200);--b2b-color-background-overlay:var(--b2b-color-black-100);--b2b-color-background-card:var(--b2b-color-white-100);--b2b-color-background-box:var(--b2b-color-white-100);--b2b-color-background-page:var(--b2b-color-grey-25);--b2b-color-error-50:var(--b2b-color-red-50)}:root [data-theme=\"dark\"]{--b2b-size-200:5rem;--b2b-size-160:4rem;--b2b-size-150:3.75rem;--b2b-size-140:3.5rem;--b2b-size-120:3rem;--b2b-size-100:2.5rem;--b2b-size-90:2.25rem;--b2b-size-80:2rem;--b2b-size-70:1.75rem;--b2b-size-60:1.5rem;--b2b-size-55:1.375rem;--b2b-size-53:1.3125rem;--b2b-size-50:1.25rem;--b2b-size-45:1.125rem;--b2b-size-40:1rem;--b2b-size-35:0.875rem;--b2b-size-30:0.75rem;--b2b-size-25:0.625rem;--b2b-size-20:0.5rem;--b2b-size-15:0.375rem;--b2b-size-10:0.25rem;--b2b-size-7:0.1875rem;--b2b-size-5:0.125rem;--b2b-size-1:0.0625rem;--b2b-font-weight-bold:700;--b2b-font-weight-normal:500;--b2b-font-weight-thin:100;--b2b-font-family-default:OttoSans, Arial, Helvetica, sans-serif;--b2b-color-hover-black:#3b3b3b;--b2b-color-hover-default:#e6f4ff;--b2b-color-info-100:#003264;--b2b-color-info-50:#ccd6e0;--b2b-color-success-100:#326400;--b2b-color-success-50:#d6e0cc;--b2b-color-warning-100:#ffb432;--b2b-color-warning-50:#ffd998;--b2b-color-error-100:#e6344b;--b2b-color-primary:#d4021d;--b2b-color-red-250:#850012;--b2b-color-red-200:#bb0004;--b2b-color-red-150:#e6344b;--b2b-color-red-100:#d4021d;--b2b-color-red-50:#ffdde3;--b2b-color-grey-400:#777777;--b2b-color-grey-300:#9e9e9e;--b2b-color-grey-250:#b1b1b1;--b2b-color-grey-200:#c4c4c4;--b2b-color-grey-150:#d5d5d5;--b2b-color-grey-100:#e6e6e6;--b2b-color-grey-50:#eeeeee;--b2b-color-grey-25:#f6f6f6;--b2b-color-white-100:#ffffff;--b2b-color-black-100:#222222;--b2b-color-black-50:#333333;--b2b-color-icon-inverted:var(--b2b-color-black-100);--b2b-color-icon-secondary:var(--b2b-color-grey-400);--b2b-color-icon-default:var(--b2b-color-white-100);--b2b-color-headline-inverted:var(--b2b-color-black-100);--b2b-color-headline-default:var(--b2b-color-white-100);--b2b-color-headline-title:var(--b2b-color-red-50);--b2b-color-copy-inverted:var(--b2b-color-black-100);--b2b-color-copy-secondary:var(--b2b-color-grey-100);--b2b-color-copy-default:var(--b2b-color-white-100);--b2b-color-border-100:var(--b2b-color-white-100);--b2b-color-background-page:var(--b2b-color-grey-100);--b2b-color-background-card:var(--b2b-color-black-50);--b2b-color-background-box:var(--b2b-color-black-50);--b2b-color-error-50:var(--b2b-color-red-50)}@font-face{font-family:OttoSans;src:url(\"https://pattern-library.portal.otto.market/static/assets/fonts/otto-sans.ttf\");font-weight:normal;font-style:normal}@font-face{font-family:OttoSans;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\");font-weight:bold;font-style:normal}@font-face{font-family:OttoSans;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\");font-weight:100;font-style:normal}@font-face{font-family:ObcIcons;src:url(\"https://pattern-library.portal.otto.market/static/assets/fonts/obc-icons.woff\")}:host(.b2b-input){--b2b-border-radius:var(--b2b-size-border-radius-100);--b2b-border-right:1px solid var(--b2b-color-grey-200);display:block;width:100%;min-width:var(--b2b-size-120);max-width:600px;font-family:var(--b2b-font-family-default)}:host(.b2b-input) .b2b-input__wrapper{display:flex;align-items:center;height:var(--b2b-size-60);border:1px solid var(--b2b-color-grey-200);border-right:var(--b2b-border-right);border-radius:var(--b2b-border-radius);padding:5px var(--b2b-size-25) 5px;background-color:var(--b2b-color-white-100);color:var(--b2b-color-black-100);position:relative}:host(.b2b-input) .b2b-input__wrapper--focused{outline:2px solid Highlight;outline:2px solid -webkit-focus-ring-color;outline-offset:-1px;border-radius:var(--b2b-border-radius);z-index:9999}:host(.b2b-input) .b2b-input__wrapper--disabled{color:var(--b2b-color-grey-250);background-color:var(--b2b-color-grey-25)}:host(.b2b-input) .b2b-input__wrapper--disabled .b2b-input__native-input{background-color:var(--b2b-color-grey-25)}:host(.b2b-input) .b2b-input__wrapper .border{border-left:1px solid var(--b2b-color-grey-300);height:100%;margin:0 8px}:host(.b2b-input) .b2b-input__wrapper .b2b-input__native-input{font-family:var(--b2b-font-family-default);font-size:var(--b2b-size-copy-100);line-height:var(--b2b-size-copy-line-height-100);box-sizing:border-box;outline:none;border:none;appearance:none;height:auto;flex:1 1 auto;width:0}:host(.b2b-input) .b2b-input__wrapper .b2b-input__native-input::placeholder{color:var(--b2b-color-grey-300)}:host(.b2b-input) .b2b-input__wrapper .b2b-input__native-input--align-left{text-align:left}:host(.b2b-input) .b2b-input__wrapper .b2b-input__native-input--align-right{text-align:right}:host(.b2b-input) .b2b-input__wrapper .b2b-input__native-input--align-center{text-align:center}:host(.b2b-input) .b2b-input__wrapper .b2b-input__native-input--disabled{color:var(--b2b-color-grey-300)}:host(.b2b-input) b2b-input-label{display:block;margin-bottom:var(--b2b-size-5);color:var(--b2b-color-black-100)}:host(.b2b-input) span{font-size:var(--b2b-size-copy-50);line-height:var(--b2b-size-copy-line-height-75);display:block;margin-top:var(--b2b-size-7);color:var(--b2b-color-grey-300)}:host(.b2b-input--error) .b2b-input__wrapper,:host(.b2b-input--error) .b2b-input__native-input{background-color:var(--b2b-color-error-50);border:1px solid var(--b2b-color-error-100);border-right:var(--b2b-border-right);border-color:var(--b2b-color-error-100);color:var(--b2b-color-copy-default)}:host(.b2b-input--error) .b2b-input__wrapper::placeholder,:host(.b2b-input--error) .b2b-input__native-input::placeholder{color:var(--b2b-color-copy-default)}:host(.b2b-input--error) .b2b-input__input-wrapper--focused{outline:2px solid var(--b2b-color-error-100);outline-offset:-1px}:host(.b2b-input--error) span{color:var(--b2b-color-error-100)}::slotted(span){font-size:var(--b2b-size-copy-100);cursor:default;user-select:none;display:inline-block;overflow:hidden;white-space:nowrap}";
|
|
4
|
+
const inputCss = ":root,:host{--b2b-size-200:5rem;--b2b-size-160:4rem;--b2b-size-150:3.75rem;--b2b-size-140:3.5rem;--b2b-size-120:3rem;--b2b-size-100:2.5rem;--b2b-size-90:2.25rem;--b2b-size-80:2rem;--b2b-size-70:1.75rem;--b2b-size-60:1.5rem;--b2b-size-55:1.375rem;--b2b-size-53:1.3125rem;--b2b-size-50:1.25rem;--b2b-size-45:1.125rem;--b2b-size-40:1rem;--b2b-size-35:0.875rem;--b2b-size-30:0.75rem;--b2b-size-25:0.625rem;--b2b-size-20:0.5rem;--b2b-size-15:0.375rem;--b2b-size-10:0.25rem;--b2b-size-7:0.1875rem;--b2b-size-5:0.125rem;--b2b-size-1:0.0625rem;--b2b-font-weight-bold:700;--b2b-font-weight-normal:500;--b2b-font-weight-thin:100;--b2b-font-family-default:OttoSans, Arial, Helvetica, sans-serif;--b2b-color-table-expand-hover:#e6f4ff;--b2b-color-table-selected-default:#cce9ff;--b2b-color-background-overlay-transparent-40:rgba(34, 34, 34, 0.25);--b2b-color-background-overlay-transparent-80:rgba(34, 34, 34, 0.5);--b2b-color-hover-black:#3b3b3b;--b2b-color-hover-default:#e6f4ff;--b2b-color-info-100:#003264;--b2b-color-info-50:#ccd6e0;--b2b-color-success-100:#326400;--b2b-color-success-50:#d6e0cc;--b2b-color-warning-100:#ffb432;--b2b-color-warning-50:#ffd998;--b2b-color-error-100:#e6344b;--b2b-color-primary:#d4021d;--b2b-color-red-250:#850012;--b2b-color-red-200:#bb0004;--b2b-color-red-150:#e6344b;--b2b-color-red-100:#d4021d;--b2b-color-red-50:#ffdde3;--b2b-color-grey-400:#777777;--b2b-color-grey-300:#9e9e9e;--b2b-color-grey-250:#b1b1b1;--b2b-color-grey-200:#c4c4c4;--b2b-color-grey-150:#d5d5d5;--b2b-color-grey-100:#e6e6e6;--b2b-color-grey-50:#eeeeee;--b2b-color-grey-25:#f6f6f6;--b2b-color-white-100:#ffffff;--b2b-color-black-100:#222222;--b2b-color-black-50:#333333;--b2b-size-headline-line-height-400:var(--b2b-size-60);--b2b-size-headline-line-height-200:var(--b2b-size-60);--b2b-size-headline-line-height-100:var(--b2b-size-60);--b2b-size-headline-400:var(--b2b-size-60);--b2b-size-headline-200:var(--b2b-size-45);--b2b-size-headline-100:var(--b2b-size-40);--b2b-size-copy-line-height-300:var(--b2b-size-90);--b2b-size-copy-line-height-200:var(--b2b-size-60);--b2b-size-copy-line-height-125:var(--b2b-size-60);--b2b-size-copy-line-height-100:var(--b2b-size-53);--b2b-size-copy-line-height-75:var(--b2b-size-45);--b2b-size-copy-line-height-50:var(--b2b-size-40);--b2b-size-copy-300:var(--b2b-size-60);--b2b-size-copy-200:var(--b2b-size-45);--b2b-size-copy-125:var(--b2b-size-40);--b2b-size-copy-100:var(--b2b-size-35);--b2b-size-copy-50:var(--b2b-size-30);--b2b-size-border-no-radius-bottom:var(--b2b-size-7) var(--b2b-size-7) 0 0;--b2b-size-border-no-radius-top:0 0 var(--b2b-size-7) var(--b2b-size-7);--b2b-size-border-no-radius-right:var(--b2b-size-7) 0 0 var(--b2b-size-7);--b2b-size-border-no-radius-left:0 var(--b2b-size-7) var(--b2b-size-7) 0;--b2b-size-border-radius-100:var(--b2b-size-7);--b2b-size-border-width-150:var(--b2b-size-10);--b2b-size-border-width-100:var(--b2b-size-5);--b2b-size-border-width-50:var(--b2b-size-1);--b2b-size-padding-175:var(--b2b-size-80);--b2b-size-padding-150:var(--b2b-size-60);--b2b-size-padding-100:var(--b2b-size-40);--b2b-size-padding-50:var(--b2b-size-20);--b2b-size-space-300:var(--b2b-size-200);--b2b-size-space-250:var(--b2b-size-160);--b2b-size-space-200:var(--b2b-size-100);--b2b-size-space-175:var(--b2b-size-80);--b2b-size-space-150:var(--b2b-size-60);--b2b-size-space-100:var(--b2b-size-40);--b2b-size-space-75:var(--b2b-size-30);--b2b-size-space-50:var(--b2b-size-20);--b2b-size-space-25:var(--b2b-size-10);--b2b-size-icon-400:var(--b2b-size-120);--b2b-size-icon-200:var(--b2b-size-80);--b2b-size-icon-100:var(--b2b-size-60);--b2b-size-icon-50:var(--b2b-size-40);--b2b-color-table-expand-default:var(--b2b-color-grey-25);--b2b-color-icon-inverted:var(--b2b-color-white-100);--b2b-color-icon-secondary:var(--b2b-color-grey-400);--b2b-color-icon-default:var(--b2b-color-black-100);--b2b-color-headline-inverted:var(--b2b-color-white-100);--b2b-color-headline-default:var(--b2b-color-black-100);--b2b-color-headline-title:var(--b2b-color-red-100);--b2b-color-copy-overlay:var(--b2b-color-white-100);--b2b-color-copy-inverted:var(--b2b-color-white-100);--b2b-color-copy-secondary:var(--b2b-color-grey-400);--b2b-color-copy-default:var(--b2b-color-black-100);--b2b-color-border-100:var(--b2b-color-grey-200);--b2b-color-background-overlay:var(--b2b-color-black-100);--b2b-color-background-card:var(--b2b-color-white-100);--b2b-color-background-box:var(--b2b-color-white-100);--b2b-color-background-page:var(--b2b-color-grey-25);--b2b-color-error-50:var(--b2b-color-red-50)}:root [data-theme=\"dark\"]{--b2b-size-200:5rem;--b2b-size-160:4rem;--b2b-size-150:3.75rem;--b2b-size-140:3.5rem;--b2b-size-120:3rem;--b2b-size-100:2.5rem;--b2b-size-90:2.25rem;--b2b-size-80:2rem;--b2b-size-70:1.75rem;--b2b-size-60:1.5rem;--b2b-size-55:1.375rem;--b2b-size-53:1.3125rem;--b2b-size-50:1.25rem;--b2b-size-45:1.125rem;--b2b-size-40:1rem;--b2b-size-35:0.875rem;--b2b-size-30:0.75rem;--b2b-size-25:0.625rem;--b2b-size-20:0.5rem;--b2b-size-15:0.375rem;--b2b-size-10:0.25rem;--b2b-size-7:0.1875rem;--b2b-size-5:0.125rem;--b2b-size-1:0.0625rem;--b2b-font-weight-bold:700;--b2b-font-weight-normal:500;--b2b-font-weight-thin:100;--b2b-font-family-default:OttoSans, Arial, Helvetica, sans-serif;--b2b-color-hover-black:#3b3b3b;--b2b-color-hover-default:#e6f4ff;--b2b-color-info-100:#003264;--b2b-color-info-50:#ccd6e0;--b2b-color-success-100:#326400;--b2b-color-success-50:#d6e0cc;--b2b-color-warning-100:#ffb432;--b2b-color-warning-50:#ffd998;--b2b-color-error-100:#e6344b;--b2b-color-primary:#d4021d;--b2b-color-red-250:#850012;--b2b-color-red-200:#bb0004;--b2b-color-red-150:#e6344b;--b2b-color-red-100:#d4021d;--b2b-color-red-50:#ffdde3;--b2b-color-grey-400:#777777;--b2b-color-grey-300:#9e9e9e;--b2b-color-grey-250:#b1b1b1;--b2b-color-grey-200:#c4c4c4;--b2b-color-grey-150:#d5d5d5;--b2b-color-grey-100:#e6e6e6;--b2b-color-grey-50:#eeeeee;--b2b-color-grey-25:#f6f6f6;--b2b-color-white-100:#ffffff;--b2b-color-black-100:#222222;--b2b-color-black-50:#333333;--b2b-color-icon-inverted:var(--b2b-color-black-100);--b2b-color-icon-secondary:var(--b2b-color-grey-400);--b2b-color-icon-default:var(--b2b-color-white-100);--b2b-color-headline-inverted:var(--b2b-color-black-100);--b2b-color-headline-default:var(--b2b-color-white-100);--b2b-color-headline-title:var(--b2b-color-red-50);--b2b-color-copy-inverted:var(--b2b-color-black-100);--b2b-color-copy-secondary:var(--b2b-color-grey-100);--b2b-color-copy-default:var(--b2b-color-white-100);--b2b-color-border-100:var(--b2b-color-white-100);--b2b-color-background-page:var(--b2b-color-grey-100);--b2b-color-background-card:var(--b2b-color-black-50);--b2b-color-background-box:var(--b2b-color-black-50);--b2b-color-error-50:var(--b2b-color-red-50)}@font-face{font-family:OttoSans;src:url(\"https://pattern-library.portal.otto.market/static/assets/fonts/otto-sans.ttf\");font-weight:normal;font-style:normal}@font-face{font-family:OttoSans;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\");font-weight:bold;font-style:normal}@font-face{font-family:OttoSans;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\");font-weight:100;font-style:normal}@font-face{font-family:ObcIcons;src:url(\"https://pattern-library.portal.otto.market/static/assets/fonts/obc-icons.woff\")}:host(.b2b-input){--b2b-border-radius:var(--b2b-size-border-radius-100);--b2b-border-right:1px solid var(--b2b-color-grey-200);display:block;width:100%;min-width:var(--b2b-size-120);max-width:600px;font-family:var(--b2b-font-family-default)}:host(.b2b-input) .b2b-input__wrapper{display:flex;align-items:center;height:var(--b2b-size-60);border:1px solid var(--b2b-color-grey-200);border-right:var(--b2b-border-right);border-radius:var(--b2b-border-radius);padding:5px var(--b2b-size-25) 5px;background-color:var(--b2b-color-white-100);color:var(--b2b-color-black-100);position:relative}:host(.b2b-input) .b2b-input__wrapper--focused{outline:2px solid Highlight;outline:2px solid -webkit-focus-ring-color;outline-offset:-1px;border-radius:var(--b2b-border-radius);z-index:9999}:host(.b2b-input) .b2b-input__wrapper--disabled{color:var(--b2b-color-grey-250);background-color:var(--b2b-color-grey-25)}:host(.b2b-input) .b2b-input__wrapper--disabled .b2b-input__native-input{background-color:var(--b2b-color-grey-25)}:host(.b2b-input) .b2b-input__wrapper .border{border-left:1px solid var(--b2b-color-grey-300);height:100%;margin:0 8px}:host(.b2b-input) .b2b-input__wrapper .b2b-input__native-input{font-family:var(--b2b-font-family-default);font-size:var(--b2b-size-copy-100);line-height:var(--b2b-size-copy-line-height-100);box-sizing:border-box;outline:none;border:none;appearance:none;height:auto;flex:1 1 auto;width:0}:host(.b2b-input) .b2b-input__wrapper .b2b-input__native-input::placeholder{color:var(--b2b-color-grey-300)}:host(.b2b-input) .b2b-input__wrapper .b2b-input__native-input--align-left{text-align:left}:host(.b2b-input) .b2b-input__wrapper .b2b-input__native-input--align-right{text-align:right}:host(.b2b-input) .b2b-input__wrapper .b2b-input__native-input--align-center{text-align:center}:host(.b2b-input) .b2b-input__wrapper .b2b-input__native-input--disabled{color:var(--b2b-color-grey-300)}:host(.b2b-input) b2b-input-label{display:block;margin-bottom:var(--b2b-size-5);color:var(--b2b-color-black-100)}:host(.b2b-input) span{font-size:var(--b2b-size-copy-50);line-height:var(--b2b-size-copy-line-height-75);display:block;margin-top:var(--b2b-size-7);color:var(--b2b-color-grey-300)}:host(.b2b-input--error) .b2b-input__wrapper,:host(.b2b-input--error) .b2b-input__native-input{background-color:var(--b2b-color-error-50);border:1px solid var(--b2b-color-error-100);border-right:var(--b2b-border-right);border-color:var(--b2b-color-error-100);color:var(--b2b-color-copy-default)}:host(.b2b-input--error) .b2b-input__wrapper::placeholder,:host(.b2b-input--error) .b2b-input__native-input::placeholder{color:var(--b2b-color-copy-default)}:host(.b2b-input--error) .b2b-input__input-wrapper--focused{outline:2px solid var(--b2b-color-error-100);outline-offset:-1px}:host(.b2b-input--error) span{color:var(--b2b-color-error-100)}::slotted(span:not([slot=hint],[slot=label])){font-size:var(--b2b-size-copy-100);cursor:default;user-select:none;display:inline-block;overflow:hidden;white-space:nowrap}";
|
|
5
5
|
const B2bInputStyle0 = inputCss;
|
|
6
6
|
|
|
7
7
|
const InputComponent = /*@__PURE__*/ proxyCustomElement(class InputComponent extends HTMLElement {
|
|
@@ -83,23 +83,44 @@ const InputComponent = /*@__PURE__*/ proxyCustomElement(class InputComponent ext
|
|
|
83
83
|
}
|
|
84
84
|
this.getSlottedText();
|
|
85
85
|
}
|
|
86
|
+
processHintSlotContent() {
|
|
87
|
+
if (this.hintSlot === null || this.hintSlot === undefined)
|
|
88
|
+
return;
|
|
89
|
+
const disallowedElements = this.hintSlot.querySelectorAll(':not(b2b-anchor, b, strong, i, em, span)');
|
|
90
|
+
disallowedElements.forEach(element => {
|
|
91
|
+
if (element.nodeType === Node.ELEMENT_NODE) {
|
|
92
|
+
element.remove();
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
filterHintSlotContent() {
|
|
97
|
+
this.processHintSlotContent();
|
|
98
|
+
if (this.hintSlot !== null && this.hintSlot !== undefined) {
|
|
99
|
+
const observer = new MutationObserver(() => this.processHintSlotContent());
|
|
100
|
+
observer.observe(this.hintSlot, { childList: true, subtree: true });
|
|
101
|
+
}
|
|
102
|
+
}
|
|
86
103
|
componentWillLoad() {
|
|
87
104
|
this.labelSlot = this.hostElement.querySelector('[slot="label"]');
|
|
105
|
+
this.hintSlot = this.hostElement.querySelector('[slot="hint"]');
|
|
106
|
+
}
|
|
107
|
+
componentDidLoad() {
|
|
108
|
+
this.filterHintSlotContent();
|
|
88
109
|
}
|
|
89
110
|
render() {
|
|
90
|
-
return (h(Host, { key: '
|
|
111
|
+
return (h(Host, { key: '8d1ca422e0a614f9fdd808c5be225c1e5f20393d', class: {
|
|
91
112
|
'b2b-input': true,
|
|
92
113
|
'b2b-input--error': this.invalid && !this.disabled,
|
|
93
|
-
} }, (this.label || this.labelSlot) && (h("b2b-input-label", { id: this.name, required: this.required }, h("slot", { name: "label" }, this.label))), h("div", { key: '
|
|
114
|
+
} }, (this.label || this.labelSlot) && (h("b2b-input-label", { id: this.name, required: this.required }, h("slot", { name: "label" }, this.label))), h("div", { key: '9a0881a2659bd4cd165be43b62e082c6e54d78d4', class: {
|
|
94
115
|
'b2b-input__wrapper': true,
|
|
95
116
|
'b2b-input__wrapper--focused': this.hasFocus,
|
|
96
117
|
'b2b-input__wrapper--disabled': this.disabled || this.groupDisabled,
|
|
97
|
-
} }, h("slot", { key: '
|
|
118
|
+
} }, h("slot", { key: '5e64fdbdf8c4f2c206f2796510b4a91af4cc0b4d', name: "start" }), this.hasTextPrefix && h("div", { class: "border" }), h("input", { key: 'a661e9b0e1553aa28bb0151f917041b57b42f07a', class: {
|
|
98
119
|
'b2b-input__native-input': true,
|
|
99
120
|
['b2b-input__native-input--align-' + this.inputTextAlign]: true,
|
|
100
121
|
'b2b-input__native-input--disabled': this.disabled,
|
|
101
|
-
}, "aria-labelledby": this.name, type: this.type, placeholder: this.placeholder, value: this.value, name: this.name, disabled: this.disabled || this.groupDisabled, autoFocus: this.autofocus, onFocus: this.onFocus, onBlur: this.onBlur, onInput: this.onInput, ref: el => (this.focusableElement = el) }), this.hasTextSuffix && h("div", { class: "border" }), h("slot", { key: '
|
|
102
|
-
(this.
|
|
122
|
+
}, "aria-labelledby": this.name, type: this.type, placeholder: this.placeholder, value: this.value, name: this.name, disabled: this.disabled || this.groupDisabled, autoFocus: this.autofocus, onFocus: this.onFocus, onBlur: this.onBlur, onInput: this.onInput, ref: el => (this.focusableElement = el) }), this.hasTextSuffix && h("div", { class: "border" }), h("slot", { key: 'cb32fe135408274018be0b800d0b2321756c0c9c', name: "end" })), (this.hint !== undefined || this.hintSlot) &&
|
|
123
|
+
(!this.invalid || this.disabled) ? (h("span", null, h("slot", { name: "hint" }, this.hint))) : (''), this.error !== undefined && this.invalid && !this.disabled ? (h("span", null, this.error)) : ('')));
|
|
103
124
|
}
|
|
104
125
|
get hostElement() { return this; }
|
|
105
126
|
static get style() { return B2bInputStyle0; }
|
|
@@ -12,7 +12,7 @@ const SpinnerComponent = /*@__PURE__*/ proxyCustomElement(class SpinnerComponent
|
|
|
12
12
|
this.color = 'primary';
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h("div", { key: '
|
|
15
|
+
return (h("div", { key: '8739a726fd4f0a51b87d51cab6a3f85264f1ed08', class: {
|
|
16
16
|
'b2b-spinner': true,
|
|
17
17
|
['b2b-spinner--size-' + this.size]: true,
|
|
18
18
|
['b2b-spinner--color-' + this.color]: true,
|
|
@@ -42,14 +42,14 @@ const TableCellComponent = /*@__PURE__*/ proxyCustomElement(class TableCellCompo
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: 'c9054312fdf96b346c6ed6633845b676471ee1e6', onMouseEnter: this.addExpandStyles, onMouseLeave: this.removeExpandStyles, class: {
|
|
46
46
|
'b2b-table-cell': true,
|
|
47
47
|
['b2b-table-cell--colspan']: this.size === TableSizes.COLSPAN,
|
|
48
48
|
['b2b-table-cell--ellipsis']: this.useTextEllipsis,
|
|
49
49
|
['b2b-table-cell--' + this.align]: true,
|
|
50
50
|
['b2b-table-cell--divider']: this.divider,
|
|
51
51
|
[`b2b-table-cell-color-${this.color}`]: true,
|
|
52
|
-
}, role: "cell" }, h("slot", { key: '
|
|
52
|
+
}, role: "cell" }, h("slot", { key: 'f05c8ea4484ce55c6f08a85034883fe74051638f' })));
|
|
53
53
|
}
|
|
54
54
|
get host() { return this; }
|
|
55
55
|
static get style() { return B2bTableCellStyle0; }
|
|
@@ -77,7 +77,7 @@ const TableHeaderComponent = /*@__PURE__*/ proxyCustomElement(class TableHeaderC
|
|
|
77
77
|
this.setIconPlacement();
|
|
78
78
|
}
|
|
79
79
|
render() {
|
|
80
|
-
return (h(Host, { key: '
|
|
80
|
+
return (h(Host, { key: 'e6604084cded7295c561d2ddcb443fa4ac890a96', class: {
|
|
81
81
|
[`b2b-table-header--${this.sortDirection && this.iconAlign}`]: true,
|
|
82
82
|
'b2b-table-header--divider': this.divider,
|
|
83
83
|
[`b2b-table-header--${this.size}`]: true,
|
|
@@ -16,7 +16,7 @@ const WizardIconComponent = /*@__PURE__*/ proxyCustomElement(class WizardIconCom
|
|
|
16
16
|
this.checkIcon = true;
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: '39dc12381df4f379bffbe539fe9002c98efa9428' }, h("div", { key: '800c098e3e6dac41fae9e1a38dd6d0ae30839d9e', class: {
|
|
20
20
|
'b2b-wizard-icon': true,
|
|
21
21
|
} }, this.state === WizardStatus.COMPLETED && (h("b2b-rounded-icon", { color: "var(--b2b-color-success-50)", "content-color": "var(--b2b-color-success-100)" }, this.checkIcon ? (h("b2b-icon-100", { slot: "icon", icon: "b2b_icon-check" })) : (h("span", { slot: "text" }, this.step)))), this.state === WizardStatus.PENDING && (h("b2b-rounded-icon", { color: "var(--b2b-color-icon-default)", "content-color": "var(--b2b-color-icon-inverted)" }, h("span", { slot: "text" }, this.step))), this.state === WizardStatus.DISABLED && (h("b2b-rounded-icon", { color: "var(--b2b-color-grey-100)", "content-color": "var(--b2b-color-grey-400)" }, h("span", { slot: "text" }, this.step))), this.state === WizardStatus.DEFAULT && (h("b2b-rounded-icon", { color: "transparent", "border-color": "var(--b2b-color-icon-secondary)", "content-color": "var(--b2b-color-icon-secondary)" }, h("span", { slot: "text" }, this.step))))));
|
|
22
22
|
}
|
|
@@ -171,8 +171,8 @@
|
|
|
171
171
|
]
|
|
172
172
|
},
|
|
173
173
|
{
|
|
174
|
-
"name": "
|
|
175
|
-
"description": "
|
|
174
|
+
"name": "max-width",
|
|
175
|
+
"description": "Sets max width to 1212px. Per default, it is false"
|
|
176
176
|
},
|
|
177
177
|
{
|
|
178
178
|
"name": "no-padding",
|
|
@@ -564,6 +564,10 @@
|
|
|
564
564
|
"name": "pre-selected-date",
|
|
565
565
|
"description": "Default date picker date"
|
|
566
566
|
},
|
|
567
|
+
{
|
|
568
|
+
"name": "required",
|
|
569
|
+
"description": "Adds an asterisk at the end of the label to signify that the field is required."
|
|
570
|
+
},
|
|
567
571
|
{
|
|
568
572
|
"name": "show-hint",
|
|
569
573
|
"description": "Whether to show hint message or not."
|
|
@@ -726,6 +730,14 @@
|
|
|
726
730
|
"name": "name",
|
|
727
731
|
"description": "The name of the select. This is used to associate the label to the dropdown element. It is important for accessibility."
|
|
728
732
|
},
|
|
733
|
+
{
|
|
734
|
+
"name": "placeholder",
|
|
735
|
+
"description": "Placeholder text for the dropdown."
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
"name": "placeholder-value",
|
|
739
|
+
"description": "Value for the placeholder. Defaults to an empty string but can be customized."
|
|
740
|
+
},
|
|
729
741
|
{
|
|
730
742
|
"name": "required",
|
|
731
743
|
"description": "Adds an asterisk at the end of the label to signify that the field is required."
|
|
@@ -3792,6 +3804,27 @@
|
|
|
3792
3804
|
}
|
|
3793
3805
|
]
|
|
3794
3806
|
},
|
|
3807
|
+
{
|
|
3808
|
+
"name": "b2b-shimmer",
|
|
3809
|
+
"description": {
|
|
3810
|
+
"kind": "markdown",
|
|
3811
|
+
"value": ""
|
|
3812
|
+
},
|
|
3813
|
+
"attributes": [
|
|
3814
|
+
{
|
|
3815
|
+
"name": "height",
|
|
3816
|
+
"description": "The height of the shimmer effect in px."
|
|
3817
|
+
},
|
|
3818
|
+
{
|
|
3819
|
+
"name": "loading",
|
|
3820
|
+
"description": "Whether the shimmer effect is shown or not."
|
|
3821
|
+
},
|
|
3822
|
+
{
|
|
3823
|
+
"name": "width",
|
|
3824
|
+
"description": "The width of the shimmer effect im px."
|
|
3825
|
+
}
|
|
3826
|
+
]
|
|
3827
|
+
},
|
|
3795
3828
|
{
|
|
3796
3829
|
"name": "b2b-snackbar",
|
|
3797
3830
|
"description": {
|
|
@@ -3840,6 +3873,10 @@
|
|
|
3840
3873
|
"name": "warning"
|
|
3841
3874
|
}
|
|
3842
3875
|
]
|
|
3876
|
+
},
|
|
3877
|
+
{
|
|
3878
|
+
"name": "width",
|
|
3879
|
+
"description": "Width of the snackbar can be specified in px. If not provided, the default value is auto, which will adjust the width to fit the content."
|
|
3843
3880
|
}
|
|
3844
3881
|
]
|
|
3845
3882
|
},
|