@otto-de/b2b-core-components 1.31.3 → 1.32.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-61bc1384.entry.js → p-01f46118.entry.js} +1 -1
- package/dist/b2b-core-components/{p-6913515c.entry.js → p-0322b052.entry.js} +1 -1
- package/dist/b2b-core-components/{p-6536595a.entry.js → p-092855b3.entry.js} +1 -1
- package/dist/b2b-core-components/{p-f5b69b85.entry.js → p-0bd177d4.entry.js} +1 -1
- package/dist/b2b-core-components/p-0bf2c192.entry.js +1 -0
- package/dist/b2b-core-components/{p-a6ccf7f6.entry.js → p-15df2a47.entry.js} +1 -1
- package/dist/b2b-core-components/{p-74db37ef.entry.js → p-16872771.entry.js} +1 -1
- package/dist/b2b-core-components/{p-72dbc623.entry.js → p-190a7350.entry.js} +1 -1
- package/dist/b2b-core-components/{p-3d881765.entry.js → p-1abe3f2f.entry.js} +1 -1
- package/dist/b2b-core-components/p-1cfaf44a.js +1 -0
- package/dist/b2b-core-components/{p-05010d10.entry.js → p-1d6f73dd.entry.js} +1 -1
- package/dist/b2b-core-components/{p-71a4c9da.entry.js → p-26755654.entry.js} +1 -1
- package/dist/b2b-core-components/p-28a06853.entry.js +1 -0
- package/dist/b2b-core-components/{p-ca46f7fe.entry.js → p-2a2653c2.entry.js} +1 -1
- package/dist/b2b-core-components/{p-b9fed5dc.entry.js → p-2d625559.entry.js} +1 -1
- package/dist/b2b-core-components/{p-42058858.entry.js → p-3a088f2b.entry.js} +1 -1
- package/dist/b2b-core-components/p-3f8dc6e5.entry.js +1 -0
- package/dist/b2b-core-components/{p-a155219a.entry.js → p-40371f89.entry.js} +1 -1
- package/dist/b2b-core-components/{p-b510e8c5.entry.js → p-521303c4.entry.js} +1 -1
- package/dist/b2b-core-components/{p-9efb72c4.entry.js → p-58e9953b.entry.js} +1 -1
- package/dist/b2b-core-components/{p-e56705a6.entry.js → p-639d68a2.entry.js} +1 -1
- package/dist/b2b-core-components/{p-025896df.entry.js → p-660c758b.entry.js} +1 -1
- package/dist/b2b-core-components/p-67484ecc.entry.js +1 -0
- package/dist/b2b-core-components/{p-d13c613b.entry.js → p-6749d668.entry.js} +1 -1
- package/dist/b2b-core-components/{p-943a3829.entry.js → p-6c60d337.entry.js} +1 -1
- package/dist/b2b-core-components/p-6d64a994.entry.js +1 -0
- package/dist/b2b-core-components/{p-5077207f.entry.js → p-797c85c2.entry.js} +1 -1
- package/dist/b2b-core-components/{p-359e5f9d.entry.js → p-7df12ddf.entry.js} +1 -1
- package/dist/b2b-core-components/{p-d1c8105b.entry.js → p-82a2809e.entry.js} +1 -1
- package/dist/b2b-core-components/{p-66ab9de5.entry.js → p-848e4af7.entry.js} +1 -1
- package/dist/b2b-core-components/p-9fb493de.entry.js +1 -0
- package/dist/b2b-core-components/{p-2e0f9821.entry.js → p-b1191aa7.entry.js} +1 -1
- package/dist/b2b-core-components/{p-6ae8c29f.entry.js → p-bade1cab.entry.js} +1 -1
- package/dist/b2b-core-components/{p-1036bf3d.entry.js → p-bf9c8817.entry.js} +1 -1
- package/dist/b2b-core-components/p-d88113f5.entry.js +1 -0
- package/dist/b2b-core-components/{p-e78f9131.entry.js → p-db92de92.entry.js} +1 -1
- package/dist/b2b-core-components/{p-39a9ff8d.entry.js → p-dcef84a5.entry.js} +1 -1
- package/dist/b2b-core-components/{p-bd567ca9.entry.js → p-e2518c43.entry.js} +1 -1
- package/dist/b2b-core-components/{p-301695a4.entry.js → p-e7590b6e.entry.js} +1 -1
- package/dist/b2b-core-components/p-ed5c6006.entry.js +1 -0
- package/dist/b2b-core-components/{p-11f5ef4c.entry.js → p-ef598009.entry.js} +1 -1
- package/dist/b2b-core-components/{p-ccff4b4e.entry.js → p-f661154c.entry.js} +1 -1
- package/dist/b2b-core-components/{p-9c76af72.entry.js → p-fb0338a8.entry.js} +1 -1
- package/dist/b2b-core-components/{p-fc73eb96.entry.js → p-fc431bbe.entry.js} +1 -1
- package/dist/b2b-core-components/{p-46fc97cc.entry.js → p-fedefca2.entry.js} +1 -1
- package/dist/b2b-core-components/{p-27d8f295.entry.js → p-ff6a0874.entry.js} +1 -1
- package/dist/cjs/b2b-button_2.cjs.entry.js +1 -1
- package/dist/cjs/b2b-chip-component_2.cjs.entry.js +2 -2
- package/dist/cjs/b2b-core-components.cjs.js +1 -1
- package/dist/cjs/b2b-custom-dropdown-option.cjs.entry.js +57 -0
- package/dist/cjs/b2b-custom-dropdown.cjs.entry.js +94 -0
- package/dist/cjs/b2b-date-picker-days_5.cjs.entry.js +9 -9
- package/dist/cjs/b2b-dropdown.cjs.entry.js +10 -4
- package/dist/cjs/b2b-flyout-menu-option.cjs.entry.js +1 -1
- package/dist/cjs/b2b-flyout-menu.cjs.entry.js +5 -23
- package/dist/cjs/b2b-grid-col.cjs.entry.js +1 -1
- package/dist/cjs/b2b-grid-row.cjs.entry.js +2 -2
- package/dist/cjs/b2b-grid.cjs.entry.js +1 -1
- package/dist/cjs/b2b-input-group_2.cjs.entry.js +3 -3
- package/dist/cjs/b2b-input-label.cjs.entry.js +2 -2
- package/dist/cjs/b2b-input_2.cjs.entry.js +5 -5
- package/dist/cjs/b2b-label.cjs.entry.js +2 -2
- package/dist/cjs/b2b-modal.cjs.entry.js +2 -2
- package/dist/cjs/b2b-multiselect-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/b2b-pagination.cjs.entry.js +1 -1
- package/dist/cjs/b2b-paragraph.cjs.entry.js +2 -2
- package/dist/cjs/b2b-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/b2b-radio-button.cjs.entry.js +2 -2
- package/dist/cjs/b2b-radio-group.cjs.entry.js +2 -2
- package/dist/cjs/b2b-required-separator.cjs.entry.js +1 -1
- package/dist/cjs/b2b-rounded-icon.cjs.entry.js +4 -4
- package/dist/cjs/b2b-scrollable-container.cjs.entry.js +1 -1
- package/dist/cjs/b2b-search.cjs.entry.js +1 -1
- package/dist/cjs/b2b-separator.cjs.entry.js +1 -1
- package/dist/cjs/b2b-shimmer.cjs.entry.js +1 -1
- 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 +12 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/utils-7919f19f.js +22 -0
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/custom-dropdown/custom-dropdown-option.css +296 -0
- package/dist/collection/components/custom-dropdown/custom-dropdown-option.js +247 -0
- package/dist/collection/components/custom-dropdown/custom-dropdown.css +280 -0
- package/dist/collection/components/custom-dropdown/custom-dropdown.e2e.js +66 -0
- package/dist/collection/components/custom-dropdown/custom-dropdown.js +227 -0
- package/dist/collection/components/custom-dropdown/custom-dropdown.stories.js +197 -0
- package/dist/collection/components/date-picker/date-picker-days-header.js +1 -1
- package/dist/collection/components/date-picker/date-picker-days.js +1 -1
- package/dist/collection/components/date-picker/date-picker-header.js +5 -5
- package/dist/collection/components/date-picker/date-picker-months.js +1 -1
- package/dist/collection/components/date-picker/date-picker-years.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +1 -1
- package/dist/collection/components/dropdown/dropdown.js +9 -3
- package/dist/collection/components/flyout-menu/flyout-menu-option.js +1 -1
- package/dist/collection/components/flyout-menu/flyout-menu.js +3 -3
- package/dist/collection/components/grid/column.js +1 -1
- package/dist/collection/components/grid/grid.js +1 -1
- package/dist/collection/components/grid/row.js +2 -2
- package/dist/collection/components/input/input.js +4 -4
- package/dist/collection/components/input-group/input-group.js +1 -1
- package/dist/collection/components/input-label/input-label.js +2 -2
- package/dist/collection/components/input-list/input-list-option.js +1 -1
- package/dist/collection/components/input-list/input-list.js +2 -2
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/modal/modal.js +2 -2
- package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.js +3 -3
- package/dist/collection/components/multiselect-dropdown/multiselect-option/multiselect-option.js +2 -2
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/paragraph/paragraph.js +2 -2
- package/dist/collection/components/progress-bar/progress-bar.js +3 -3
- package/dist/collection/components/radio/radio.js +2 -2
- package/dist/collection/components/radio-group/radio-group.js +2 -2
- package/dist/collection/components/required-separator/required-separator.js +1 -1
- package/dist/collection/components/rounded-icon/rounded-icon.js +4 -4
- package/dist/collection/components/scrollable-container/scrollable-container.js +1 -1
- package/dist/collection/components/search/search.js +1 -1
- package/dist/collection/components/separator/separator.js +1 -1
- package/dist/collection/components/shimmer/shimmer.js +1 -1
- package/dist/collection/components/snackbar/snackbar.js +4 -4
- package/dist/collection/components/spinner/spinner.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/table/table-cell/table-cell.js +2 -2
- package/dist/collection/components/table/table-header/table-header.js +1 -1
- package/dist/collection/components/table/table-row/table-row.js +2 -2
- package/dist/collection/components/table/table-rowgroup/table-rowgroup.js +2 -2
- package/dist/collection/components/table/table.js +2 -2
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/toggle-button/toggle-button.js +3 -3
- package/dist/collection/components/toggle-chip/toggle-chip.js +3 -3
- package/dist/collection/components/toggle-group/toggle-group.js +2 -2
- package/dist/collection/components/toggle-switch/toggle-switch.js +4 -4
- 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.js +1 -1
- package/dist/collection/components/wizard-icon/wizard-icon.js +1 -1
- package/dist/components/b2b-background-box.js +1 -51
- package/dist/components/b2b-custom-dropdown-option.d.ts +11 -0
- package/dist/components/b2b-custom-dropdown-option.js +87 -0
- package/dist/components/b2b-custom-dropdown.d.ts +11 -0
- package/dist/components/b2b-custom-dropdown.js +142 -0
- package/dist/components/b2b-dropdown.js +10 -4
- package/dist/components/b2b-flyout-menu-option.js +1 -1
- package/dist/components/b2b-flyout-menu.js +4 -22
- package/dist/components/b2b-grid-col.js +1 -1
- package/dist/components/b2b-grid-row.js +2 -2
- package/dist/components/b2b-grid.js +1 -1
- package/dist/components/b2b-label.js +2 -2
- package/dist/components/b2b-modal.js +2 -2
- package/dist/components/b2b-multiselect-dropdown.js +3 -3
- package/dist/components/b2b-pagination.js +1 -1
- package/dist/components/b2b-paragraph.js +2 -2
- package/dist/components/b2b-progress-bar.js +3 -3
- package/dist/components/b2b-radio-button.js +2 -2
- package/dist/components/b2b-radio-group.js +2 -2
- package/dist/components/b2b-required-separator.js +1 -1
- package/dist/components/b2b-scrollable-container.js +1 -1
- package/dist/components/b2b-search.js +1 -1
- package/dist/components/b2b-shimmer.js +1 -1
- 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 +3 -3
- package/dist/components/b2b-table-rowgroup.js +3 -3
- package/dist/components/b2b-table.js +3 -3
- 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/background-box.js +53 -0
- package/dist/components/date-picker-days-header.js +1 -1
- package/dist/components/date-picker-days.js +1 -1
- package/dist/components/date-picker-header.js +5 -5
- package/dist/components/date-picker-months.js +1 -1
- package/dist/components/date-picker-years.js +1 -1
- package/dist/components/input-group.js +1 -1
- package/dist/components/input-label.js +2 -2
- package/dist/components/input-list-option.js +1 -1
- package/dist/components/input-list.js +2 -2
- package/dist/components/input.js +4 -4
- package/dist/components/multiselect-option.js +2 -2
- package/dist/components/rounded-icon.js +4 -4
- package/dist/components/separator.js +1 -1
- package/dist/components/spinner.js +1 -1
- package/dist/components/table-cell.js +3 -3
- package/dist/components/table-header.js +2 -2
- package/dist/components/utils.js +18 -68
- package/dist/components/utils2.js +70 -0
- package/dist/components/wizard-icon.js +1 -1
- package/dist/custom-elements.json +74 -0
- package/dist/esm/b2b-button_2.entry.js +1 -1
- package/dist/esm/b2b-chip-component_2.entry.js +2 -2
- package/dist/esm/b2b-core-components.js +1 -1
- package/dist/esm/b2b-custom-dropdown-option.entry.js +53 -0
- package/dist/esm/b2b-custom-dropdown.entry.js +90 -0
- package/dist/esm/b2b-date-picker-days_5.entry.js +9 -9
- package/dist/esm/b2b-dropdown.entry.js +10 -4
- package/dist/esm/b2b-flyout-menu-option.entry.js +1 -1
- package/dist/esm/b2b-flyout-menu.entry.js +4 -22
- package/dist/esm/b2b-grid-col.entry.js +1 -1
- package/dist/esm/b2b-grid-row.entry.js +2 -2
- package/dist/esm/b2b-grid.entry.js +1 -1
- package/dist/esm/b2b-input-group_2.entry.js +3 -3
- package/dist/esm/b2b-input-label.entry.js +2 -2
- package/dist/esm/b2b-input_2.entry.js +5 -5
- package/dist/esm/b2b-label.entry.js +2 -2
- package/dist/esm/b2b-modal.entry.js +2 -2
- package/dist/esm/b2b-multiselect-dropdown.entry.js +3 -3
- package/dist/esm/b2b-pagination.entry.js +1 -1
- package/dist/esm/b2b-paragraph.entry.js +2 -2
- package/dist/esm/b2b-progress-bar.entry.js +3 -3
- package/dist/esm/b2b-radio-button.entry.js +2 -2
- package/dist/esm/b2b-radio-group.entry.js +2 -2
- package/dist/esm/b2b-required-separator.entry.js +1 -1
- package/dist/esm/b2b-rounded-icon.entry.js +4 -4
- package/dist/esm/b2b-scrollable-container.entry.js +1 -1
- package/dist/esm/b2b-search.entry.js +1 -1
- package/dist/esm/b2b-separator.entry.js +1 -1
- package/dist/esm/b2b-shimmer.entry.js +1 -1
- 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 +12 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/utils-17e4d283.js +20 -0
- package/dist/types/components/custom-dropdown/custom-dropdown-option.d.ts +29 -0
- package/dist/types/components/custom-dropdown/custom-dropdown.d.ts +29 -0
- package/dist/types/components/custom-dropdown/custom-dropdown.stories.d.ts +12 -0
- package/dist/types/components.d.ts +157 -0
- package/dist/web-types.json +176 -1
- package/package.json +2 -2
- package/dist/b2b-core-components/p-383d0a10.entry.js +0 -1
- package/dist/b2b-core-components/p-3845cd27.entry.js +0 -1
- package/dist/b2b-core-components/p-3f592e92.entry.js +0 -1
- package/dist/b2b-core-components/p-400fa973.entry.js +0 -1
- package/dist/b2b-core-components/p-db205434.entry.js +0 -1
- package/dist/b2b-core-components/p-f5786cad.entry.js +0 -1
|
@@ -5,11 +5,11 @@ export class InputLabelComponent {
|
|
|
5
5
|
this.disabled = false;
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: '1fd715c6e6929bf14631434e54112ae7dadcc9d4' }, h("label", { key: 'fc0fb3b130825b9ba41b9ed1a1b007010091065e', class: {
|
|
9
9
|
'b2b-input-label': true,
|
|
10
10
|
'b2b-input-label--required': this.required,
|
|
11
11
|
'b2b-input-label--disabled': this.disabled,
|
|
12
|
-
} }, h("slot", { key: '
|
|
12
|
+
} }, h("slot", { key: 'c811d6c50bd4e5284c48a94dab49bed8c26f29cb' }))));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "b2b-input-label"; }
|
|
15
15
|
static get encapsulation() { return "shadow"; }
|
|
@@ -12,7 +12,7 @@ export class InputListOptionComponent {
|
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: '8a38a1768fad0607a658270145dd8f265987982c', class: "b2b-input-list__option", onClick: this.handleClick, role: "option" }, this.option));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "b2b-input-list-option"; }
|
|
18
18
|
static get originalStyleUrls() {
|
|
@@ -137,13 +137,13 @@ export class InputListComponent {
|
|
|
137
137
|
*/
|
|
138
138
|
render() {
|
|
139
139
|
const groupOrderClass = this.getGroupOrderClassName() || '';
|
|
140
|
-
return (h(Host, { key: '
|
|
140
|
+
return (h(Host, { key: '0ff3040354f57d752194f6f37795d2242e9ece5c', onBlur: this.setElementOnBlur, onFocus: this.setElementOnFocus }, h("div", { key: '92ca26fa99608f371a3bee1e25977887bc22bb63', class: {
|
|
141
141
|
'b2b-input-list': true,
|
|
142
142
|
'b2b-input-list__options-on': this.hasOptionList &&
|
|
143
143
|
this.isElementFocused &&
|
|
144
144
|
Boolean(this.value),
|
|
145
145
|
[groupOrderClass]: true,
|
|
146
|
-
} }, h("b2b-input", { key: '
|
|
146
|
+
} }, h("b2b-input", { key: '2d91287804fb835406c87bbc184da9c715820a61', type: "text", label: this.label, value: this.value, disabled: this.disabled || this.groupDisabled, "onb2b-input": this.handleInput, placeholder: this.placeholder, required: this.required }, !(this.disabled || this.groupDisabled) && Boolean(this.value) && (h("b2b-icon-100", { icon: "b2b_icon-close", "aria-label": "reset", slot: "end", tabIndex: 0, onMouseDown: this.resetInput, onKeyDown: this.resetInput }))), this.isElementFocused && Boolean(this.value) ? (h("div", { class: "b2b-input-list__options-container" }, this.hasOptionList ? (h("div", { class: "b2b-input-list__options", role: "listbox" }, this.optionsList.map(option => (h("b2b-input-list-option", { option: option, tabIndex: -1, "onb2b-option-selected": this.onOptionSelected }))))) : (h("slot", null)))) : null)));
|
|
147
147
|
}
|
|
148
148
|
static get is() { return "b2b-input-list"; }
|
|
149
149
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,10 +4,10 @@ export class LabelComponent {
|
|
|
4
4
|
this.type = 'neutral';
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h("span", { key: '
|
|
7
|
+
return (h("span", { key: '8c2d58fc6dc0f07f81e68263300772fdd80b107b', class: {
|
|
8
8
|
'b2b-label': true,
|
|
9
9
|
[`b2b-label--${this.type}`]: true,
|
|
10
|
-
} }, h("slot", { key: '
|
|
10
|
+
} }, h("slot", { key: '6c2f5acd1e5b3b5f938617b605aa28f0e808cbce' })));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "b2b-label"; }
|
|
13
13
|
static get encapsulation() { return "shadow"; }
|
|
@@ -82,10 +82,10 @@ export class ModalComponent {
|
|
|
82
82
|
this.attemptFocus(this.getFirstFocusableElement());
|
|
83
83
|
}
|
|
84
84
|
render() {
|
|
85
|
-
return (h(Host, { key: '
|
|
85
|
+
return (h(Host, { key: '86f6276caa0969c0774d0280ff201520d0f196b0' }, h("div", { key: '3b13f9a8ae037d37cba280d5c51b0845be9d73ca', class: { 'b2b-modal': true, 'b2b-modal--open': this.opened } }, h("div", { key: 'cb900ff72552157d2d5ef0678785149703b3cb75', "data-focus-trap-edge": true, onFocus: this.handleTopFocus, tabIndex: 0 }), h("div", { key: '407944b6f4f9e1bf2b6503263bd433b78bd76dd4', class: {
|
|
86
86
|
'b2b-modal__dialog': true,
|
|
87
87
|
[`b2b-modal__dialog--${this.variant}`]: true,
|
|
88
|
-
} }, h("div", { key: '
|
|
88
|
+
} }, h("div", { key: 'a92940bc841a6c1c3da7020ab4c23c0462f1efed', class: "b2b-modal__dialog__header" }, h("div", { key: 'fb9345d8d4b2186a64693d62bb28d111dbdb0668', class: "b2b-modal__dialog__header-left" }, h("b2b-headline", { key: '5cb0366f501859821afbeb251dee93042fc411b1', align: "center", size: "200", noMargin: true }, this.heading), h("slot", { key: '9069aa74363dd8e77ca0e25331c8e17c173a0704', name: "header-icon" })), h("div", { key: '9cbb5673e12e4fcca0ecf3415332d2e08440ff65', class: "b2b-modal__dialog__header-right" }, h("button", { key: '8548eed3ba5972a025dec1a82890229d6d2d2222', type: "button", class: "b2b-modal__dialog__close", onMouseEnter: this.toggleIconHover, onMouseLeave: this.toggleIconHover, onClick: this.handleClickDismiss, ref: el => (this.closeButton = el) }, h("b2b-icon-100", { key: '47a7ca18a7d53a7e0580156fba3e5bd6767bed1a', clickable: true, icon: "b2b_icon-close", color: this.iconHover ? 'primary' : 'secondary' })))), h("div", { key: 'de41ddf14b257c8f3775c8496b033ce8cf5930b8', class: "b2b-modal__dialog__body" }, h("slot", { key: 'd2ecc0d873fede8286c73bced27b8037083595d2' })), h("div", { key: '918d7224c0e4e5039c3882307e204576d419fd16', class: "b2b-modal__dialog__footer" }, h("div", { key: '01827c54ed56fc4bb57c3dedc0d73cd7ea5c7221', class: "b2b-modal__dialog__footer-left" }, h("slot", { key: '333630a7d42220f17d0503f732275d5e54258dce', name: "footer-left" })), h("div", { key: '8673cc883110f6d45965a7061163bcd1b5d33bfb', class: "b2b-modal__dialog__footer-right" }, h("slot", { key: '1e6fd4feba579586186d4d1f755bc9682a80a899', name: "footer-right" })))), h("div", { key: 'a42f949568f0503bd0037d840c91a8005814a8a2', "data-focus-trap-edge": true, onFocus: this.handleBottomFocus, tabIndex: 0 }), h("div", { key: '051c47c640c2d4b5d5767db1eabb2e506eabfb5a', class: "b2b-modal__backdrop", onClick: this.handleBackdropDismiss }))));
|
|
89
89
|
}
|
|
90
90
|
static get is() { return "b2b-modal"; }
|
|
91
91
|
static get encapsulation() { return "shadow"; }
|
|
@@ -191,16 +191,16 @@ export class B2bMultiSelectDropdown {
|
|
|
191
191
|
this.updateSelectAll(options);
|
|
192
192
|
}
|
|
193
193
|
render() {
|
|
194
|
-
return (h(Host, { key: '
|
|
194
|
+
return (h(Host, { key: 'e60f59edf1496cb0e087cde11fc96867e4ebba25', onFocus: this.setElementOnFocus, onBlur: this.setElementOnBlur, onClick: this.handleMouseDown, onKeyDown: this.handleKeyDown }, h("b2b-input-label", { key: '4d6014efc8cbb1ca0b20b0d581eb5657088ab72d', required: this.required }, this.label), h("div", { key: 'b2b63ef89008b8d7ffdfc29c18d2bf0ef5ddc008', class: {
|
|
195
195
|
'b2b-multiselect-dropdown': true,
|
|
196
196
|
'b2b-multiselect-dropdown--open': this.isOpen,
|
|
197
197
|
'b2b-multiselect-dropdown--error': this.invalid && !this.disabled,
|
|
198
198
|
'b2b-multiselect-dropdown--disabled': this.disabled,
|
|
199
199
|
'b2b-multiselect-dropdown--focused': this.invalid && this.isElementFocused,
|
|
200
|
-
}, tabindex: 0, role: "combobox", onClick: () => (this.isOpen = !this.isOpen), "aria-expanded": this.isElementFocused }, h("div", { key: '
|
|
200
|
+
}, tabindex: 0, role: "combobox", onClick: () => (this.isOpen = !this.isOpen), "aria-expanded": this.isElementFocused }, h("div", { key: '2b2fea8d4021d3f0f4706087fcb7b3e67197f09a', class: "b2b-multiselect-dropdown__chip-container" }, this.currentSelectedValues.length === 0 ? (h("span", { class: "b2b-multiselect-dropdown__placeholder" }, this.placeholder)) : (this.renderChips())), h("b2b-icon-100", { key: 'a06b5afbf2992887348a5ca01b323e0660534a44', icon: "b2b_icon-arrow-down" })), h("div", { key: '73d7087e7dfc30deb9946d3ed6302dbab1d37c0c', class: {
|
|
201
201
|
'b2b-multiselect-dropdown__options-container': true,
|
|
202
202
|
'b2b-multiselect-dropdown__options-container--visible': this.isOpen,
|
|
203
|
-
} }, h("div", { key: '
|
|
203
|
+
} }, h("div", { key: '7f6cd0531d71da7506d5fb5d907e110f737c2ba8', class: "b2b-multiselect-dropdown__options", role: "listbox", "aria-label": this.label, tabIndex: -1 }, h("div", { key: 'f3577ca1b970398b4c16a9aad51ffcd47be1c1ba', class: "b2b-multiselect-dropdown__option__search" }, h("input", { key: '63a01d6971aa4b37cc23b025fd8d07b0e6774b9e', type: "text", onInput: this.handleInput, class: "b2b-multiselect-dropdown__option__search__input", placeholder: this.searchPlaceholder })), h("b2b-multiselect-option", { key: '568d6ffac5173addc461ff5e4d5add25183e66b1', class: "b2b-multiselect-dropdown__option__select-all", option: this.selectAllLabel, id: "select-all", "onB2b-option-selected": this.handleSelectAll }), this.hasOptionList &&
|
|
204
204
|
this.currentList.map(option => (h("b2b-multiselect-option", { "onB2b-option-selected": this.handleSelectedChange, option: option }))))), (this.hint !== undefined && !this.invalid) ||
|
|
205
205
|
(this.hint !== undefined && this.disabled) ? (h("span", { class: "b2b-multiselect-dropdown__hint" }, this.hint)) : (''), this.errorMessage !== undefined && this.invalid && !this.disabled ? (h("span", { class: "b2b-multiselect-dropdown__error-message" }, this.errorMessage)) : ('')));
|
|
206
206
|
}
|
package/dist/collection/components/multiselect-dropdown/multiselect-option/multiselect-option.js
CHANGED
|
@@ -13,9 +13,9 @@ export class B2bMultiSelectOption {
|
|
|
13
13
|
this.indeterminate = false;
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: 'b1e6b024ef3d453040eb0995cab48eeb25586189', role: "option", class: {
|
|
17
17
|
'b2b-multiselect-dropdown__option': true,
|
|
18
|
-
} }, h("b2b-checkbox", { key: '
|
|
18
|
+
} }, h("b2b-checkbox", { key: '9c4e912adeefec9787822529ba791d2a44aee03d', checked: this.selected, "onB2b-change": this.handleCheckboxChange, label: this.option, indeterminate: this.indeterminate, value: this.option })));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "b2b-multiselect-option"; }
|
|
21
21
|
static get originalStyleUrls() {
|
|
@@ -91,7 +91,7 @@ export class PaginationComponent {
|
|
|
91
91
|
};
|
|
92
92
|
}
|
|
93
93
|
render() {
|
|
94
|
-
return (h("nav", { key: '
|
|
94
|
+
return (h("nav", { key: '85ed17dc25a803e800888a084e3b99a663bb3e0a' }, h("ol", { key: '544841f818e07f5091abb05dbb98e46b8b26fa07', class: "b2b-pagination" }, this.activePage !== 1 && (h("li", { class: "b2b-pagination--previous" }, h("b2b-button", { onClick: this.selectPreviousPage, size: "50", variant: "secondary", "aria-label": this.ariaLabelPreviousPage }, "\u2039" /* PaginationConstants.BACK */))), this.navItems.map((navItem, index) => {
|
|
95
95
|
const isItemActive = this.activePage === navItem;
|
|
96
96
|
return (h("li", { class: this.getItemClass(navItem) }, h("b2b-button", { onClick: () => this.setSelectedPage(navItem, index), active: isItemActive, disabled: isItemActive, size: "50", variant: "secondary" }, navItem)));
|
|
97
97
|
}), this.activePage !== this.totalPages && (h("li", { class: "b2b-pagination--next" }, h("b2b-button", { onClick: this.selectNextPage, size: "50", variant: "secondary", "aria-label": this.ariaLabelNextPage }, "\u203A" /* PaginationConstants.NEXT */))))));
|
|
@@ -13,7 +13,7 @@ export class ParagraphComponent {
|
|
|
13
13
|
this.display = 'block';
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h("p", { key: '
|
|
16
|
+
return (h("p", { key: 'e34be906b02a82e422ecd49ccd6adf15d1744897', style: {
|
|
17
17
|
display: this.display,
|
|
18
18
|
}, class: {
|
|
19
19
|
'b2b-paragraph': true,
|
|
@@ -22,7 +22,7 @@ export class ParagraphComponent {
|
|
|
22
22
|
['b2b-paragraph--align-' + this.align]: true,
|
|
23
23
|
['b2b-paragraph--no-margin']: !this.margin,
|
|
24
24
|
['b2b-paragraph--variant-' + this.variant]: true,
|
|
25
|
-
} }, h("slot", { key: '
|
|
25
|
+
} }, h("slot", { key: '3af5b741adf391a40b7a5e08d33cb04c5ab30ad7' })));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "b2b-paragraph"; }
|
|
28
28
|
static get encapsulation() { return "shadow"; }
|
|
@@ -17,11 +17,11 @@ export class ProgressBarComponent {
|
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
19
|
const labelExists = this.label !== undefined && this.label !== '';
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '26303d337146025b9a77d20c030065275f47b31d' }, h("div", { key: 'a005917216bb9d16cf8c33c40c8eb86c35bbf2f6', class: {
|
|
21
21
|
[`b2b-progress-bar__${this.labelPosition}-${this.labelType}`]: true,
|
|
22
|
-
} }, h("div", { key: '
|
|
22
|
+
} }, h("div", { key: 'afbd557e3f2650016ad6c185c0192d34e5b5741a', class: "b2b-progress-bar__wrapper" }, h("div", { key: '94c2a19e96ed5b4060946893e6f42c74b488aaea', class: "b2b-progress-bar__progress", style: {
|
|
23
23
|
width: `${this.getProgress()}%`,
|
|
24
|
-
} })), h("div", { key: '
|
|
24
|
+
} })), h("div", { key: '859d78ef40b96e6fe170ffb0c7dc790f7811d002', class: {
|
|
25
25
|
'b2b-progress-bar__label': labelExists,
|
|
26
26
|
'b2b-progress-bar__label-none': !labelExists,
|
|
27
27
|
[`b2b-progress-bar__label__${this.labelPosition}-${this.labelType}`]: labelExists,
|
|
@@ -53,11 +53,11 @@ export class B2bRadioButtonComponent {
|
|
|
53
53
|
return Array.from(document.querySelectorAll(`b2b-radio-button[name="${this.name}"]`)).filter((radio) => radio.value !== this.value);
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: 'a95ee91fc3410f85abc9898a2488b6999bff6ef7', onClick: this.onClick }, h("div", { key: 'e458b345dd6f1a3759e82d1e2bcc08ffd6486848', class: {
|
|
57
57
|
'b2b-radio': true,
|
|
58
58
|
'b2b-radio--error': this.invalid && !this.disabled,
|
|
59
59
|
'b2b-radio--disabled': this.disabled,
|
|
60
|
-
} }, h("div", { key: '
|
|
60
|
+
} }, h("div", { key: 'fee31d517e56f603b49a668705b18825518b5acd', class: "b2b-radio-items" }, h("input", { key: 'ac5279b2ce604c520345896076900f63500beb20', class: "b2b-radio-input", "aria-labelledby": this.name, type: "radio", checked: this.checked, disabled: this.disabled, name: this.name, onBlur: this.onBlur, onFocus: this.onFocus, value: this.value }), h("b2b-input-label", { key: '222d5dd63cb02426b6b4a2e2d072fbb49dfe46d4', id: this.name, required: this.required, disabled: this.disabled }, h("slot", { key: '047ac0baf8984ea6ff0d098ea5874ab0bf03c6fa', name: "label" }, this.label))), (this.hint !== undefined && !this.invalid) ||
|
|
61
61
|
(this.hint !== undefined && this.disabled) ? (h("span", null, this.hint)) : (''), this.error !== undefined && this.invalid && !this.disabled ? (h("span", null, this.error)) : (''))));
|
|
62
62
|
}
|
|
63
63
|
static get is() { return "b2b-radio-button"; }
|
|
@@ -67,11 +67,11 @@ export class RadioButtonGroupComponent {
|
|
|
67
67
|
this.removeChildText();
|
|
68
68
|
}
|
|
69
69
|
render() {
|
|
70
|
-
return (h(Host, { key: '
|
|
70
|
+
return (h(Host, { key: '2f7d02a11bd8ef158aa3a50483b530dc75f55cdc' }, h("div", { key: '15be31753d13efc5677a1f5e75d5cb66643222b6', class: {
|
|
71
71
|
'b2b-radio-group': true,
|
|
72
72
|
'b2b-radio-group--error': this.invalid && !this.disabled,
|
|
73
73
|
[`b2b-radio-group--${this.alignment}`]: true,
|
|
74
|
-
} }, (this.label || this.labelSlot) && (h("b2b-input-label", { id: this.name, required: this.required }, h("slot", { name: "label" }, this.label))), h("fieldset", { key: '
|
|
74
|
+
} }, (this.label || this.labelSlot) && (h("b2b-input-label", { id: this.name, required: this.required }, h("slot", { name: "label" }, this.label))), h("fieldset", { key: 'ba13a4ee078874c74d24d3ef46f1b6c6b4aa0ff0' }, h("div", { key: '412c32c37064d4418a5149f6190f830902ba8310', class: "b2b-radio-group-options" }, h("slot", { key: '8a54755d559c188d07eb32cbe9839a5c3c2a974f' }))), (this.hint !== undefined && !this.invalid) ||
|
|
75
75
|
(this.hint !== undefined && this.disabled) ? (h("span", null, this.hint)) : (''), this.error !== undefined && this.invalid && !this.disabled ? (h("span", null, this.error)) : (''))));
|
|
76
76
|
}
|
|
77
77
|
static get is() { return "b2b-radio-group"; }
|
|
@@ -4,7 +4,7 @@ export class B2BRequiredSeparator {
|
|
|
4
4
|
this.label = 'Pflichtfeld';
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '1288dd4226f5d951717a306db2557f7dd4dbb4fd' }, h("div", { key: '34cc56445d5bf7c93ba9e522d269cb6d5b337792', class: "b2b-required-separator__label" }, h("span", { key: '8ecc6fb192884982dcc7f16c8db1302bc2ceddcb', class: "b2b-required-separator__asterisk" }, "* "), h("span", { key: '5e40bc2d53b13708ca546e4fb5a7e4816601c3d1' }, this.label)), h("b2b-separator", { key: '3494da2d3740ff18a322d28ca112fe4339862605' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "b2b-required-separator"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,16 +6,16 @@ export class RoundedIconComponent {
|
|
|
6
6
|
this.contentColor = 'var(--b2b-color-copy-default)';
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: '366b1c49bb56404825f131381b56a15daa457bfe' }, h("div", { key: 'f7a087f49858502bb7d74276d601c8a42e2215c0', style: {
|
|
10
10
|
['background-color']: this.color,
|
|
11
11
|
['border']: `1px solid ${this.borderColor || this.color}`,
|
|
12
12
|
}, class: {
|
|
13
13
|
'b2b-rounded-icon': true,
|
|
14
|
-
} }, h("div", { key: '
|
|
14
|
+
} }, h("div", { key: '050e8a6d21b27c8fdccfffc021c45080ebdbde7d', style: {
|
|
15
15
|
['color']: this.contentColor,
|
|
16
|
-
} }, h("slot", { key: '
|
|
16
|
+
} }, h("slot", { key: 'ecd49a7ffdf65913edbba010734f522a45ac4096', name: "icon" })), h("div", { key: 'f7e1f7507674a38e7eeebc92f08ea5805400c92f', style: {
|
|
17
17
|
['color']: this.contentColor,
|
|
18
|
-
} }, h("slot", { key: '
|
|
18
|
+
} }, h("slot", { key: '116d9796a00791165984fc71e29aa79d4a9040c1', name: "text" })))));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "b2b-rounded-icon"; }
|
|
21
21
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class ScrollableContainerComponent {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'b455812c0f370a849758c9ca169a63b7ecde9bad' }, h("slot", { key: 'cd2c7bf54cedfac2de42f5b248e3279f288e6a3d' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "b2b-scrollable-container"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -22,7 +22,7 @@ export class SearchComponent {
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: 'a3f42d5d53ac7beeb4c0e241d81271ac2a116fe3' }, h("b2b-input-group", { key: '490be3e7bc4d60b5eba239f754453b2cbe0a6df7', disabled: this.disabled }, h("b2b-input-list", { key: '15a4d81a9bffaa8cd14ffaebe021da90493feb4e', slot: "start", value: this.value, placeholder: this.placeholder, optionsList: this.optionsList, "onb2b-input": this.onInput, "onb2b-option-selected": this.onOptionSelected }, h("slot", { key: '06ce3d043b96b282ad3076c9a65fd5e2b4b48b67' })), h("b2b-button", { key: '1a45269314806d9d9cf476db6a08b8d7c14933c8', slot: "end", variant: "primary", onClick: this.onSearchClicked }, h("b2b-icon-100", { key: '797b412d6bab0104497465a80b1a344dbfa97e75', icon: "b2b_icon-search", clickable: true })))));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "b2b-search"; }
|
|
28
28
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@ export class B2bSeparatorComponent {
|
|
|
4
4
|
this.alignment = 'horizontal';
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '00b1ecb31c7ca143b3d6c3c1d5bddcc369bde312' }, h("div", { key: 'e29629b7554c21b12af943ae0aaafb936fa36ea6', class: {
|
|
8
8
|
[`b2b-separator--${this.alignment}`]: true,
|
|
9
9
|
} })));
|
|
10
10
|
}
|
|
@@ -10,7 +10,7 @@ export class ShimmerComponent {
|
|
|
10
10
|
width: `${this.width}px`,
|
|
11
11
|
height: `${this.height}px`,
|
|
12
12
|
};
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '10ef516c64332313b8915a4bdb43d527eb92c43c' }, this.loading ? (h("div", { class: "b2b-shimmer", style: shimmerStyle })) : (h("slot", null))));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "b2b-shimmer"; }
|
|
16
16
|
static get encapsulation() { return "shadow"; }
|
|
@@ -86,17 +86,17 @@ export class SnackbarComponent {
|
|
|
86
86
|
clearTimeout(this.timeoutId);
|
|
87
87
|
}
|
|
88
88
|
render() {
|
|
89
|
-
return (h(Host, { key: '
|
|
89
|
+
return (h(Host, { key: '33ace44479760181672e60c0750462c9d8ea60dc', onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, h("div", { key: '1f739551dbbcea7dfa04f2fdf04cfcdeceab4a9f', class: {
|
|
90
90
|
'b2b-snackbar': true,
|
|
91
91
|
[`b2b-snackbar--${this.type}`]: true,
|
|
92
92
|
'b2b-snackbar--opened': this.opened,
|
|
93
|
-
}, style: this.width ? { width: this.width } : { width: 'auto' } }, h("div", { key: '
|
|
93
|
+
}, style: this.width ? { width: this.width } : { width: 'auto' } }, h("div", { key: 'e5a8aeeb9e550d0ca6b8cb94049dc3d229cb5fdb', class: "b2b-snackbar__content" }, h("span", { key: 'dba27cdd15921dd0aeade5be294f9e92f9c4b024', class: { [`b2b-snackbar--${this.type}__icon`]: true } }, this.chooseIcon()), h("p", { key: '537da669b42397f0b016d2767f9b8b170d333ac3', class: "b2b-snackbar__content__description" }, this.description)), this.isActionPresent() && (h("div", { class: {
|
|
94
94
|
'b2b-snackbar__action': true,
|
|
95
95
|
[`b2b-snackbar__action--${this.type}`]: true,
|
|
96
|
-
}, onClick: this.handleActionClick }, h("a", null, this.actionLabel))), h("div", { key: '
|
|
96
|
+
}, onClick: this.handleActionClick }, h("a", null, this.actionLabel))), h("div", { key: '73fb2d7f257c22f6ac6506dd1e1ed6da6b2e051d', class: {
|
|
97
97
|
'b2b-snackbar__close-icon': true,
|
|
98
98
|
[`b2b-snackbar__close-icon--${this.type}`]: true,
|
|
99
|
-
}, onClick: this.close }, h("b2b-icon-100", { key: '
|
|
99
|
+
}, onClick: this.close }, h("b2b-icon-100", { key: 'ecdba62cbdbca4815cd207fb804341a08c6b76b2', clickable: true, size: 24, icon: "b2b_icon-close" })))));
|
|
100
100
|
}
|
|
101
101
|
static get is() { return "b2b-snackbar"; }
|
|
102
102
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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: '1bb8f6699313da9fac485d9cb94087ee79eef253', class: {
|
|
13
13
|
'b2b-spinner': true,
|
|
14
14
|
['b2b-spinner--size-' + this.size]: true,
|
|
15
15
|
['b2b-spinner--color-' + this.color]: true,
|
|
@@ -17,12 +17,12 @@ export class B2bTabComponent {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: 'b4ed6dd0f35da1b2ac366ab772caa1dc900d4f5e', 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: '1bb21fa15b4d7d07b4ef8134b18e8819d1a4a8e4', 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: 'b0dfb40b808650b49410a25f2d01a042b27aca16' }))));
|
|
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: 'c09986eb1b9997eaa4ca37376132ce7d7d5ca855' }, h("slot", { key: '091a1eb4d6c95b5bc0af2eb5d94803068ef7f529', name: "tab" }), h("b2b-separator", { key: '0e2e540da62aa29c9c09e3cb28ade9ebf51e6977' }), h("slot", { key: '0713eab995ff1f9e7a7932b58651799ed3b7c161', name: "panel" })));
|
|
125
125
|
}
|
|
126
126
|
static get is() { return "b2b-tab-group"; }
|
|
127
127
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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: '895835ee9542f04852f08ed863d9214355741211', id: `b2b-tab-panel-${this.generatedId}`, role: "tabpanel" }, h("div", { key: '127afd55dfff1e9642180ee6db0f72e002914a22', class: "b2b-tab-panel" }, h("slot", { key: '199bca30f2cda69bbb63cfbc3f67bce5ba6136fa' }))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "b2b-tab-panel"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -36,14 +36,14 @@ export class TableCellComponent {
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: '5697dfe2db80803acd704355efc7235022000773', 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: '3499f59899e1f2e2743252490c522a3fd2ab5ca6' })));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "b2b-table-cell"; }
|
|
49
49
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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: 'eb2f861c5ff85be7e1f313a1eecdb698e7da2f38', 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,
|
|
@@ -110,12 +110,12 @@ export class TableRowComponent {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
render() {
|
|
113
|
-
return (h(Host, { key: '
|
|
113
|
+
return (h(Host, { key: 'b28513a5d03b1328fbe8d54d35fc45077ae00403', 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: 'eeb52f24d09ea0aa24e36709dcb8bd35de6bd4d5' })));
|
|
119
119
|
}
|
|
120
120
|
static get is() { return "b2b-table-row"; }
|
|
121
121
|
static get encapsulation() { return "shadow"; }
|
|
@@ -113,11 +113,11 @@ export class TableRowgroupComponent {
|
|
|
113
113
|
this.makeHeaderRowNotSelectable();
|
|
114
114
|
}
|
|
115
115
|
render() {
|
|
116
|
-
return (h(Host, { key: '
|
|
116
|
+
return (h(Host, { key: '2990111f95881991d6a5af1e9a60adb0471549cc', class: {
|
|
117
117
|
['b2b-table-rowgroup__' + this.type]: true,
|
|
118
118
|
'b2b-table-rowgroup--fixed': this.fixed,
|
|
119
119
|
'b2b-table-rowgroup--colspan': this.size === TableSizes.COLSPAN,
|
|
120
|
-
}, role: "rowgroup" }, h("slot", { key: '
|
|
120
|
+
}, role: "rowgroup" }, h("slot", { key: '34df739d91953efc2b0c9400f7ff76aca51facf3' })));
|
|
121
121
|
}
|
|
122
122
|
static get is() { return "b2b-table-rowgroup"; }
|
|
123
123
|
static get encapsulation() { return "shadow"; }
|
|
@@ -60,9 +60,9 @@ export class TableComponent {
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (h(Host, { key: '
|
|
63
|
+
return (h(Host, { key: '49c1ea9491880fa3a65e35fa83159b8764a85efd', class: {
|
|
64
64
|
['b2b-table--' + this.size]: true,
|
|
65
|
-
}, role: "table" }, h("slot", { key: '
|
|
65
|
+
}, role: "table" }, h("slot", { key: '3531b7eea4444cfe5c70239efb42f4144324d2d1' })));
|
|
66
66
|
}
|
|
67
67
|
static get is() { return "b2b-table"; }
|
|
68
68
|
static get encapsulation() { return "shadow"; }
|
|
@@ -45,10 +45,10 @@ export class B2BTextareaComponent {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: '152cd0b6b61c20443384dd7b898975d2ebac9f03', class: {
|
|
49
49
|
'b2b-textarea': true,
|
|
50
50
|
'b2b-textarea--error': this.invalid && !this.disabled,
|
|
51
|
-
} }, this.label && (h("b2b-input-label", { id: this.name, required: this.required }, this.label)), h("textarea", { key: '
|
|
51
|
+
} }, this.label && (h("b2b-input-label", { id: this.name, required: this.required }, this.label)), h("textarea", { key: '414082cbe0efb410b8360a155b598a5ac49e7b85', 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.focusOnLoad, onFocus: this.onFocus, onBlur: this.onBlur, onInput: this.onInput, maxLength: this.maxLength }), (this.hint !== undefined && !this.invalid) ||
|
|
52
52
|
(this.hint !== undefined && this.disabled) ? (h("span", null, this.hint)) : (''), this.error !== undefined && this.invalid && !this.disabled ? (h("span", null, this.error)) : ('')));
|
|
53
53
|
}
|
|
54
54
|
static get is() { return "b2b-textarea"; }
|
|
@@ -31,13 +31,13 @@ export class B2bToggleButtonComponent {
|
|
|
31
31
|
return Array.from(document.querySelectorAll(`b2b-toggle-button[name="${this.name}"]`)).filter((toggle) => toggle.value !== this.value);
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: '08205f0ff5e41a66ca594a5f2cf19232c9c82bc2', onClick: this.onClick }, h("span", { key: 'aaeb4aeab543570d25babbbc4df67feaf2c5c34d', class: {
|
|
35
35
|
'b2b-toggle-button': true,
|
|
36
36
|
'b2b-toggle-button--disabled': this.disabled,
|
|
37
|
-
} }, h("input", { key: '
|
|
37
|
+
} }, h("input", { key: '077163eb91465cfd51b7b3a01790ff4e4980d151', tabindex: 0, class: {
|
|
38
38
|
'b2b-toggle-button__input': true,
|
|
39
39
|
'b2b-toggle-button__input--disabled': this.disabled,
|
|
40
|
-
}, "aria-labelledby": this.name, type: "radio", checked: this.checked && !this.disabled, disabled: this.disabled, name: this.name, value: this.value }), h("label", { key: '
|
|
40
|
+
}, "aria-labelledby": this.name, type: "radio", checked: this.checked && !this.disabled, disabled: this.disabled, name: this.name, value: this.value }), h("label", { key: '6de6d24c151b2376b881de22f769db855b02df52', id: this.name, tabindex: -1, class: {
|
|
41
41
|
'b2b-toggle-button__label': true,
|
|
42
42
|
'b2b-toggle-button__label--disabled': this.disabled,
|
|
43
43
|
'b2b-toggle-button__label--checked': this.checked && !this.disabled,
|
|
@@ -32,11 +32,11 @@ export class B2BToggleChipComponent {
|
|
|
32
32
|
this.disabled = false;
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: '4249e2b8324bf5a0d0044c0dfe27a7711877debf' }, h("span", { key: '87d524d982e89489d0eb533e328b4aab64735fe0', onClick: this.onClick, onKeyDown: this.onKeyDown, class: {
|
|
36
36
|
'b2b-toggle-chip': true,
|
|
37
|
-
} }, h("input", { key: '
|
|
37
|
+
} }, h("input", { key: '31ec59f2207e0d18ae8aeee6f2b8b36b407b2316', "aria-labelledby": this.name, tabindex: this.disabled ? -1 : 0, class: {
|
|
38
38
|
'b2b-toggle-chip__input': true,
|
|
39
|
-
}, type: "checkbox", checked: this.active && !this.disabled, disabled: this.disabled, name: this.name, value: this.value }), h("label", { key: '
|
|
39
|
+
}, type: "checkbox", checked: this.active && !this.disabled, disabled: this.disabled, name: this.name, value: this.value }), h("label", { key: 'a86f79e017825f424e1558cc3c10bc60b79b1a9f', id: this.name, tabIndex: -1, class: {
|
|
40
40
|
'b2b-toggle-chip__label': true,
|
|
41
41
|
'b2b-toggle-chip__label--active': this.active && !this.disabled,
|
|
42
42
|
'b2b-toggle-chip__label--disabled': this.disabled,
|
|
@@ -45,10 +45,10 @@ export class B2BToggleGroup {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: '6ff23eb9f72b78843113d71b0b0fcff8c9ff095c' }, h("div", { key: 'a727833a576ba2e0b09a4657e7c7f4d410d59f09', class: {
|
|
49
49
|
'b2b-toggle-group': true,
|
|
50
50
|
'b2b-toggle-group--disabled': this.disabled,
|
|
51
|
-
} }, h("fieldset", { key: '
|
|
51
|
+
} }, h("fieldset", { key: '5c7c4238d1d083c4aa94ce56b510620cd14f477d' }, h("slot", { key: '064ebb2b81fb9f9431de7e46f847948b9ce6adac' })))));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "b2b-toggle-group"; }
|
|
54
54
|
static get encapsulation() { return "shadow"; }
|
|
@@ -38,17 +38,17 @@ export class B2bToggleSwitchComponent {
|
|
|
38
38
|
render() {
|
|
39
39
|
// workaround for purgecss as safelist doesn't work
|
|
40
40
|
const isLeft = this.labelPosition === 'left';
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: 'e846b3ea20f9eaf056026f8e45f9b0c32d710ac4' }, h("div", { key: '2e952a4fb7b5afd951ca86028c611ac8fe75f479', class: {
|
|
42
42
|
'b2b-toggle': true,
|
|
43
43
|
'b2b-toggle--disabled': this.disabled,
|
|
44
44
|
'b2b-toggle--checked': this.state,
|
|
45
|
-
} }, h("div", { key: '
|
|
45
|
+
} }, h("div", { key: '1948cbf18a97af496a2422dcf863cc2da4d00658', class: {
|
|
46
46
|
'b2b-toggle__label': true,
|
|
47
47
|
'b2b-toggle__label--left': isLeft,
|
|
48
|
-
} }, h("span", { key: '
|
|
48
|
+
} }, h("span", { key: '565e67692f1851168101a673caacd1a292542a4f', class: "b2b-toggle__switch", role: "switch", tabIndex: 0, onKeyDown: this.onKeyDown, onClick: this.onClick }, h("svg", { key: '6ca55c2cdcab89280fc5cf2928dd67bd5e529a93', class: {
|
|
49
49
|
'b2b-toggle__icon': true,
|
|
50
50
|
'b2b-toggle__icon--show': this.state,
|
|
51
|
-
}, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 30 30" }, h("path", { key: '
|
|
51
|
+
}, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 30 30" }, h("path", { key: '20b2a6b70688866a58efbdc82e3eb712a3dfba64', 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: {
|
|
52
52
|
'b2b-toggle__text': true,
|
|
53
53
|
'b2b-toggle__text--left': isLeft,
|
|
54
54
|
} }, this.label))))));
|
|
@@ -59,13 +59,13 @@ export class B2BTooltipComponent {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: 'feecfb0370d2f9fc3214ed98fbc3eba0dc4f8604', onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave }, h("span", { key: '5e0960bc94fae8502ee1b037d86f2c4880dd278d', class: {
|
|
63
63
|
[`b2b-tooltip--${this.position}`]: true,
|
|
64
64
|
'b2b-tooltip__trigger': true,
|
|
65
|
-
} }, h("slot", { key: '
|
|
65
|
+
} }, h("slot", { key: 'c8dafd372f8ddd820bac5ae3185ed34eb4e1d1ce' }), h("div", { key: '3936218fc35b9d3c50bce063ab7b2fe4b7cab44f', class: {
|
|
66
66
|
'b2b-tooltip__content': true,
|
|
67
67
|
'b2b-tooltip--visible': this.opened,
|
|
68
|
-
} }, h("slot", { key: '
|
|
68
|
+
} }, h("slot", { key: '3074bd86a7388667ba2c807680955e73c978fd24', name: "content" }, this.content)))));
|
|
69
69
|
}
|
|
70
70
|
static get is() { return "b2b-tooltip"; }
|
|
71
71
|
static get encapsulation() { return "shadow"; }
|
|
@@ -7,10 +7,10 @@ export class WizardStepComponent {
|
|
|
7
7
|
this.checkIcon = true;
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: '2e748daaf9cfbee380eb437d69a5bf07d41ca0b4' }, h("div", { key: 'bc0bbc16e05627423f5b5f0656f2368a2779ac7b', class: "b2b_wizard__step" }, h("b2b-wizard-icon", { key: '24baa2045a987f178e8262f10a813f7539ac10b9', step: this.step, state: this.state, checkIcon: this.checkIcon }), h("div", { key: 'f97906eff6140f9234b749c1ce3bbed074c82186', class: {
|
|
11
11
|
'b2b_wizard__step__label': true,
|
|
12
12
|
'b2b_wizard__step__label--default': this.state === WizardStatus.DEFAULT,
|
|
13
|
-
} }, h("slot", { key: '
|
|
13
|
+
} }, h("slot", { key: '417f43ae1bdee177efdbcc100f15d986a2d69998' })))));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "b2b-wizard-step"; }
|
|
16
16
|
static get encapsulation() { return "shadow"; }
|
|
@@ -44,7 +44,7 @@ export class WizardComponent {
|
|
|
44
44
|
this.setStepsState();
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: 'f99bb57277db92b8fc31d446f0270044438422bd' }, h("div", { key: 'f810c56c2df73dd750623be7420638ceb54af58c', class: "b2b_wizard" }, h("slot", { key: '5269079effefba0af4fe959b8ff0fc09996549e5' }))));
|
|
48
48
|
}
|
|
49
49
|
static get is() { return "b2b-wizard"; }
|
|
50
50
|
static get encapsulation() { return "shadow"; }
|