@otto-de/b2b-core-components 1.11.1 → 1.12.1
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-b0cc9895.entry.js → p-01b9b983.entry.js} +1 -1
- package/dist/b2b-core-components/p-0db8724d.entry.js +1 -0
- package/dist/b2b-core-components/{p-567a827a.entry.js → p-12c001ea.entry.js} +1 -1
- package/dist/b2b-core-components/{p-de4857da.entry.js → p-1e12baa0.entry.js} +1 -1
- package/dist/b2b-core-components/{p-6e656e5c.entry.js → p-20fa0351.entry.js} +1 -1
- package/dist/b2b-core-components/{p-9cf6d10b.entry.js → p-23e23cf4.entry.js} +1 -1
- package/dist/b2b-core-components/{p-7293eda0.entry.js → p-330cc114.entry.js} +1 -1
- package/dist/b2b-core-components/{p-65e497d7.entry.js → p-33ffc3fe.entry.js} +1 -1
- package/dist/b2b-core-components/{p-228d4489.entry.js → p-3789f04c.entry.js} +1 -1
- package/dist/b2b-core-components/{p-bd14b3a6.entry.js → p-4d32cb20.entry.js} +1 -1
- package/dist/b2b-core-components/{p-2624f56d.entry.js → p-59551ff4.entry.js} +1 -1
- package/dist/b2b-core-components/{p-29166e22.entry.js → p-601ec2f0.entry.js} +1 -1
- package/dist/b2b-core-components/{p-2285568d.entry.js → p-68c08852.entry.js} +1 -1
- package/dist/b2b-core-components/{p-4b6d056b.entry.js → p-7735d43f.entry.js} +1 -1
- package/dist/b2b-core-components/{p-f7288fb4.entry.js → p-893df150.entry.js} +1 -1
- package/dist/b2b-core-components/{p-7ae31329.entry.js → p-8f0b98f0.entry.js} +1 -1
- package/dist/b2b-core-components/{p-48466e2e.entry.js → p-9edd95d2.entry.js} +1 -1
- package/dist/b2b-core-components/{p-fb33d6df.entry.js → p-a17c27f9.entry.js} +1 -1
- package/dist/b2b-core-components/{p-2667b51d.entry.js → p-b8e93522.entry.js} +1 -1
- package/dist/b2b-core-components/{p-972ab127.entry.js → p-c2429f59.entry.js} +1 -1
- package/dist/b2b-core-components/p-c55de08a.entry.js +1 -0
- package/dist/b2b-core-components/p-c8ad53c7.entry.js +1 -0
- package/dist/b2b-core-components/{p-1c0daedd.entry.js → p-cdbefe41.entry.js} +1 -1
- package/dist/b2b-core-components/{p-91d82529.entry.js → p-d54e93b9.entry.js} +1 -1
- package/dist/b2b-core-components/{p-3c776a9c.entry.js → p-d8cc67d9.entry.js} +1 -1
- package/dist/b2b-core-components/{p-7788b868.entry.js → p-da41cd26.entry.js} +1 -1
- package/dist/b2b-core-components/{p-32b6b2c8.entry.js → p-e23d42f0.entry.js} +1 -1
- package/dist/b2b-core-components/{p-ff16fd1a.entry.js → p-e2d3d211.entry.js} +1 -1
- package/dist/b2b-core-components/{p-90c700a4.entry.js → p-ee9cbc06.entry.js} +1 -1
- package/dist/b2b-core-components/{p-68350423.entry.js → p-ef64c336.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-modal.cjs.entry.js +2 -2
- package/dist/cjs/b2b-multiselect-dropdown.cjs.entry.js +18 -14
- 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-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 +3 -3
- 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 +4 -4
- 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/loader.cjs.js +1 -1
- package/dist/collection/components/alert/alert.css +2 -2
- package/dist/collection/components/anchor/anchor.css +2 -2
- package/dist/collection/components/breadcrumb/breadcrumb.css +2 -2
- package/dist/collection/components/button/button.css +2 -2
- package/dist/collection/components/calendar/calendar-days-header.css +2 -2
- package/dist/collection/components/calendar/calendar-days.css +2 -2
- package/dist/collection/components/calendar/calendar-header.css +2 -2
- package/dist/collection/components/calendar/calendar.css +2 -2
- package/dist/collection/components/calendar/calendar.e2e.js +12 -6
- 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/dropdown/dropdown.css +2 -2
- package/dist/collection/components/flyout-menu/flyout-menu.css +2 -2
- package/dist/collection/components/headline/headline.css +2 -2
- package/dist/collection/components/icon/icon.css +2 -2
- package/dist/collection/components/icon-100/icon-100.css +2 -2
- package/dist/collection/components/icon-50/icon-50.css +2 -2
- package/dist/collection/components/input/input.css +2 -2
- package/dist/collection/components/input-group/input-group.css +2 -2
- package/dist/collection/components/input-list/input-list.css +2 -2
- package/dist/collection/components/label/label.css +2 -2
- package/dist/collection/components/modal/modal.css +13 -2
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/modal.stories.js +1 -0
- package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.css +2 -2
- package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.js +35 -15
- package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.stories.js +19 -1
- package/dist/collection/components/multiselect-dropdown/multiselect-option/multiselect-option.js +2 -2
- package/dist/collection/components/pagination/pagination.css +2 -2
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/paragraph/paragraph.css +2 -2
- package/dist/collection/components/paragraph/paragraph.js +2 -2
- package/dist/collection/components/progress-bar/progress-bar.css +2 -2
- package/dist/collection/components/progress-bar/progress-bar.js +3 -3
- package/dist/collection/components/radio/radio.css +2 -2
- package/dist/collection/components/radio/radio.js +2 -2
- package/dist/collection/components/radio-group/radio-group.css +2 -2
- package/dist/collection/components/radio-group/radio-group.js +2 -2
- package/dist/collection/components/required-separator/required-separator.css +2 -2
- package/dist/collection/components/required-separator/required-separator.js +1 -1
- package/dist/collection/components/rounded-icon/rounded-icon.css +2 -2
- package/dist/collection/components/rounded-icon/rounded-icon.js +4 -4
- package/dist/collection/components/scrollable-container/scrollable-container.css +2 -2
- 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.css +2 -2
- package/dist/collection/components/separator/separator.js +1 -1
- 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 +4 -4
- package/dist/collection/components/table/table-row/table-row.js +2 -2
- package/dist/collection/components/table/table-rowgroup/table-rowgroup.css +2 -2
- package/dist/collection/components/table/table-rowgroup/table-rowgroup.js +2 -2
- package/dist/collection/components/table/table.css +2 -2
- package/dist/collection/components/table/table.js +2 -2
- package/dist/collection/components/textarea/textarea.css +2 -2
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/toggle-button/toggle-button.css +2 -2
- package/dist/collection/components/toggle-button/toggle-button.js +3 -3
- package/dist/collection/components/toggle-chip/toggle-chip.css +2 -2
- package/dist/collection/components/toggle-chip/toggle-chip.js +3 -3
- package/dist/collection/components/toggle-group/toggle-group.css +2 -2
- package/dist/collection/components/toggle-group/toggle-group.js +2 -2
- package/dist/collection/components/toggle-switch/toggle-switch.css +2 -2
- package/dist/collection/components/toggle-switch/toggle-switch.js +4 -4
- package/dist/collection/components/tooltip/tooltip.css +3 -3
- 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-modal.js +2 -2
- package/dist/components/b2b-multiselect-dropdown.js +21 -16
- 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-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 +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 +4 -4
- package/dist/components/b2b-wizard-step.js +2 -2
- package/dist/components/b2b-wizard.js +1 -1
- 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 +2 -2
- package/dist/components/table-header.js +1 -1
- package/dist/components/wizard-icon.js +1 -1
- 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-modal.entry.js +2 -2
- package/dist/esm/b2b-multiselect-dropdown.entry.js +18 -14
- 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-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 +3 -3
- 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 +4 -4
- 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/loader.js +1 -1
- package/dist/types/components/multiselect-dropdown/multiselect-dropdown.d.ts +5 -2
- package/dist/types/components/multiselect-dropdown/multiselect-dropdown.stories.d.ts +1 -0
- package/dist/types/components.d.ts +8 -0
- package/dist/web-types.json +11 -1
- package/package.json +2 -2
- package/dist/b2b-core-components/p-6a3ac673.entry.js +0 -1
- package/dist/b2b-core-components/p-b8ac302c.entry.js +0 -1
- package/dist/b2b-core-components/p-e94bd252.entry.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 31 Jul 2024 07:09:47 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
126
|
+
* Generated on Wed, 31 Jul 2024 07:09:47 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -261,6 +261,17 @@
|
|
|
261
261
|
align-items: center;
|
|
262
262
|
margin-bottom: var(--b2b-size-space-75);
|
|
263
263
|
}
|
|
264
|
+
:host .b2b-modal__dialog__header-left {
|
|
265
|
+
display: flex;
|
|
266
|
+
justify-content: flex-start;
|
|
267
|
+
}
|
|
268
|
+
:host .b2b-modal__dialog__header-left b2b-headline {
|
|
269
|
+
padding-right: 8px;
|
|
270
|
+
}
|
|
271
|
+
:host .b2b-modal__dialog__header-right {
|
|
272
|
+
display: flex;
|
|
273
|
+
justify-content: flex-end;
|
|
274
|
+
}
|
|
264
275
|
:host .b2b-modal__dialog__close {
|
|
265
276
|
cursor: pointer;
|
|
266
277
|
background: transparent;
|
|
@@ -85,7 +85,7 @@ export class ModalComponent {
|
|
|
85
85
|
return (h(Host, { key: '1e3ae2d0db3df6fd7fb249181560471102f81ad4' }, h("div", { key: 'b6a9ce0bc06ca54cba7885b3094f448df6440194', class: { 'b2b-modal': true, 'b2b-modal--open': this.opened } }, h("div", { key: 'a114fc4834406ac93c554fa5c2058500c229ecfe', "data-focus-trap-edge": true, onFocus: this.handleTopFocus, tabIndex: 0 }), h("div", { key: '49ce79940badc68db9a6469f96bbe43b5803ced2', class: {
|
|
86
86
|
'b2b-modal__dialog': true,
|
|
87
87
|
[`b2b-modal__dialog--${this.variant}`]: true,
|
|
88
|
-
} }, h("div", { key: 'e1542497ec46e553b5883a8bec9fb97bc8e41bb8', class: "b2b-modal__dialog__header" }, h("b2b-headline", { key: '
|
|
88
|
+
} }, h("div", { key: 'e1542497ec46e553b5883a8bec9fb97bc8e41bb8', class: "b2b-modal__dialog__header" }, h("div", { key: 'eeb61001cfc5090b6f4bd969fb8b79d24a69bfa5', class: "b2b-modal__dialog__header-left" }, h("b2b-headline", { key: '84172ec8e265fce0aa43bbc23b448338524a5308', align: "center", size: "200", noMargin: true }, this.heading), h("slot", { key: 'd77b0510ea6499190dcb84fdf0568bf350dd335a', name: "header-icon" })), h("div", { key: '9593ad5db17f58b9d6fd78dd2ba2222cf79a898d', class: "b2b-modal__dialog__header-right" }, h("button", { key: '58891bff498f89f768cce4f47e4f645f30e7cdad', type: "button", class: "b2b-modal__dialog__close", onMouseEnter: this.toggleIconHover, onMouseLeave: this.toggleIconHover, onClick: this.handleClickDismiss, ref: el => (this.closeButton = el) }, h("b2b-icon", { key: '13e59be8efad1023f31dfa312587e35ef8d9fe67', clickable: true, icon: "b2b_icon-close", color: this.iconHover ? 'primary' : 'secondary' })))), h("div", { key: '924bef84d6894ce17a3d66a2d9b23f691b9223cd', class: "b2b-modal__dialog__body" }, h("slot", { key: 'b07dc09829fac404e024d088ac2d81077e8324a5' })), h("div", { key: '7433546732ce4e1328cf69f2854f9fa28b0a9fdd', class: "b2b-modal__dialog__footer" }, h("div", { key: 'c27513e66a231d28fe1daa43161314c618ba796b', class: "b2b-modal__dialog__footer-left" }, h("slot", { key: '7a6207d701937ba3862556baf8bd3fc7d0a5723a', name: "footer-left" })), h("div", { key: '987111726c944467252370d3584cfc48abe73fd4', class: "b2b-modal__dialog__footer-right" }, h("slot", { key: '2937656f11a5f6ab715790635d36ece40f87ce98', name: "footer-right" })))), h("div", { key: '4dda8705d09b21f15472bc1b0971d50dd8c3b9bb', "data-focus-trap-edge": true, onFocus: this.handleBottomFocus, tabIndex: 0 }), h("div", { key: 'b8097e7b4bcbada1bec1e937296567e01042cf3d', class: "b2b-modal__backdrop", onClick: this.handleBackdropDismiss }))));
|
|
89
89
|
}
|
|
90
90
|
static get is() { return "b2b-modal"; }
|
|
91
91
|
static get encapsulation() { return "shadow"; }
|
|
@@ -27,6 +27,7 @@ const Template = ({ opened, variant, heading, backdropDismiss, escDismiss, conte
|
|
|
27
27
|
heading="${heading}"
|
|
28
28
|
backdrop-dismiss="${backdropDismiss}"
|
|
29
29
|
esc-dismiss="${escDismiss}">
|
|
30
|
+
<b2b-icon-100 slot="header-icon" icon="b2b_icon-info"></b2b-icon-100>
|
|
30
31
|
<div>${content}</div>
|
|
31
32
|
<b2b-paragraph slot="footer-left">* Left Slot</b2b-paragraph>
|
|
32
33
|
<b2b-button @click=${closeModal} slot="footer-right">Close</b2b-button>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 31 Jul 2024 07:09:47 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
126
|
+
* Generated on Wed, 31 Jul 2024 07:09:47 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -15,7 +15,7 @@ export class B2bMultiSelectDropdown {
|
|
|
15
15
|
return Array.from(this.hostElement.shadowRoot.querySelectorAll('b2b-multiselect-option')).slice(1);
|
|
16
16
|
};
|
|
17
17
|
this.renderChips = () => {
|
|
18
|
-
return this.
|
|
18
|
+
return this.currentSelectedValues.map((option, index) => {
|
|
19
19
|
if (index < this.maxOptionsVisible) {
|
|
20
20
|
return (h("b2b-chip-component", { label: option, value: option, "onB2b-close": this.handleChipClose }));
|
|
21
21
|
}
|
|
@@ -35,14 +35,14 @@ export class B2bMultiSelectDropdown {
|
|
|
35
35
|
this.handleSelectedChange = event => {
|
|
36
36
|
const newOption = event.detail.selectedOption;
|
|
37
37
|
if (event.detail.selected) {
|
|
38
|
-
this.
|
|
38
|
+
this.currentSelectedValues = [...this.currentSelectedValues, newOption];
|
|
39
39
|
}
|
|
40
40
|
else {
|
|
41
|
-
this.
|
|
41
|
+
this.currentSelectedValues = this.currentSelectedValues.filter(el => el !== newOption);
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
this.handleChipClose = event => {
|
|
45
|
-
this.
|
|
45
|
+
this.currentSelectedValues = this.currentSelectedValues.filter(el => el !== event.detail.value);
|
|
46
46
|
this.updateOption(event.detail.value);
|
|
47
47
|
this.resetFocus();
|
|
48
48
|
};
|
|
@@ -55,7 +55,7 @@ export class B2bMultiSelectDropdown {
|
|
|
55
55
|
// Deselect all to avoid caching issues in Vue
|
|
56
56
|
options.forEach(option => (option.selected = false));
|
|
57
57
|
options
|
|
58
|
-
.filter(option => this.
|
|
58
|
+
.filter(option => this.currentSelectedValues.includes(option.option))
|
|
59
59
|
.forEach(option => (option.selected = true));
|
|
60
60
|
};
|
|
61
61
|
this.setElementOnFocus = () => {
|
|
@@ -96,10 +96,10 @@ export class B2bMultiSelectDropdown {
|
|
|
96
96
|
}
|
|
97
97
|
if (newVal) {
|
|
98
98
|
// filter out duplicates
|
|
99
|
-
this.
|
|
99
|
+
this.currentSelectedValues = Array.from(new Set([...this.currentSelectedValues, ...newVals]));
|
|
100
100
|
}
|
|
101
101
|
else {
|
|
102
|
-
this.
|
|
102
|
+
this.currentSelectedValues = this.currentSelectedValues.filter(option => !newVals.includes(option));
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
105
|
this.updateSelectAll = (options) => {
|
|
@@ -111,16 +111,20 @@ export class B2bMultiSelectDropdown {
|
|
|
111
111
|
};
|
|
112
112
|
this.label = undefined;
|
|
113
113
|
this.placeholder = undefined;
|
|
114
|
+
this.selectedValues = [];
|
|
114
115
|
this.optionsList = [];
|
|
115
116
|
this.searchPlaceholder = undefined;
|
|
116
117
|
this.selectAllLabel = undefined;
|
|
117
118
|
this.maxOptionsVisible = 8;
|
|
118
|
-
this.
|
|
119
|
+
this.currentSelectedValues = [];
|
|
119
120
|
this.currentList = this.optionsList;
|
|
120
121
|
this.value = '';
|
|
121
122
|
this.isElementFocused = false;
|
|
122
123
|
this.hasOptionList = this.optionsList.length > 0;
|
|
123
124
|
}
|
|
125
|
+
componentWillLoad() {
|
|
126
|
+
this.currentSelectedValues = this.selectedValues.filter(value => this.optionsList.includes(value));
|
|
127
|
+
}
|
|
124
128
|
/** Needed to trigger a re-render for async data */
|
|
125
129
|
watchPropHandler(newList) {
|
|
126
130
|
this.hasOptionList = newList.length > 0;
|
|
@@ -128,8 +132,8 @@ export class B2bMultiSelectDropdown {
|
|
|
128
132
|
this.currentList = newList;
|
|
129
133
|
}
|
|
130
134
|
}
|
|
131
|
-
handleSelectedValuesChange() {
|
|
132
|
-
this.b2bChange.emit(
|
|
135
|
+
handleSelectedValuesChange(newValues) {
|
|
136
|
+
this.b2bChange.emit(newValues);
|
|
133
137
|
}
|
|
134
138
|
componentDidUpdate() {
|
|
135
139
|
const options = this.getOptions();
|
|
@@ -137,13 +141,13 @@ export class B2bMultiSelectDropdown {
|
|
|
137
141
|
this.updateSelectAll(options);
|
|
138
142
|
}
|
|
139
143
|
render() {
|
|
140
|
-
return (h(Host, { key: '
|
|
144
|
+
return (h(Host, { key: 'daeee1f39392ed4b83f2c51a90a1971dcbbb2843', onFocus: this.setElementOnFocus, onBlur: this.setElementOnBlur, onClick: this.handleMouseDown, onKeyDown: this.handleKeyDown }, h("b2b-input-label", { key: '7733bc1155f8eafdd14dc066d545f8aaef609fa7' }, this.label), h("div", { key: 'a68d14971e947a23fd60684eb91919ac71814fe1', class: {
|
|
141
145
|
'b2b-multiselect-dropdown': true,
|
|
142
146
|
'b2b-multiselect-dropdown--open': this.isElementFocused,
|
|
143
|
-
}, tabindex: 0, role: "combobox", "aria-expanded": this.isElementFocused }, this.
|
|
147
|
+
}, tabindex: 0, role: "combobox", "aria-expanded": this.isElementFocused }, this.currentSelectedValues.length === 0 ? (h("span", { class: "b2b-multiselect-dropdown__placeholder" }, this.placeholder)) : (h("div", { class: "b2b-multiselect-dropdown__chip-container" }, this.renderChips())), h("b2b-icon", { key: 'd4e290f3b03cb805d525f8896709f1fe48e9b455', icon: "b2b_icon-arrow-down" })), h("div", { key: 'd9578e28d9fe2f33c4010ad664f7d1f0abb62864', class: {
|
|
144
148
|
'b2b-multiselect-dropdown__options-container': true,
|
|
145
149
|
'b2b-multiselect-dropdown__options-container--visible': this.isElementFocused,
|
|
146
|
-
} }, h("div", { key: '
|
|
150
|
+
} }, h("div", { key: '2bcc252dda29ff86e8c3867c78e43b46ef596709', class: "b2b-multiselect-dropdown__options", role: "listbox", "aria-label": this.label, tabIndex: -1 }, h("div", { key: '5e3d3cc7aee8f2ba8d654959b901863c9e02b266', class: "b2b-multiselect-dropdown__option__search" }, h("input", { key: 'be3b6becbcb710cbab950c55ffc5c11b2ea7319f', type: "text", onInput: this.handleInput, class: "b2b-multiselect-dropdown__option__search__input", placeholder: this.searchPlaceholder })), h("b2b-multiselect-option", { key: '8ecde85fc975c9abc10ec89e77278547852055ea', class: "b2b-multiselect-dropdown__option__select-all", option: this.selectAllLabel, id: "select-all", "onB2b-option-selected": this.handleSelectAll }), this.hasOptionList &&
|
|
147
151
|
this.currentList.map(option => (h("b2b-multiselect-option", { "onB2b-option-selected": this.handleSelectedChange, option: option })))))));
|
|
148
152
|
}
|
|
149
153
|
static get is() { return "b2b-multiselect-dropdown"; }
|
|
@@ -194,6 +198,22 @@ export class B2bMultiSelectDropdown {
|
|
|
194
198
|
"attribute": "placeholder",
|
|
195
199
|
"reflect": true
|
|
196
200
|
},
|
|
201
|
+
"selectedValues": {
|
|
202
|
+
"type": "unknown",
|
|
203
|
+
"mutable": false,
|
|
204
|
+
"complexType": {
|
|
205
|
+
"original": "string[]",
|
|
206
|
+
"resolved": "string[]",
|
|
207
|
+
"references": {}
|
|
208
|
+
},
|
|
209
|
+
"required": false,
|
|
210
|
+
"optional": false,
|
|
211
|
+
"docs": {
|
|
212
|
+
"tags": [],
|
|
213
|
+
"text": "The initial values to be selected in the dropdown."
|
|
214
|
+
},
|
|
215
|
+
"defaultValue": "[]"
|
|
216
|
+
},
|
|
197
217
|
"optionsList": {
|
|
198
218
|
"type": "unknown",
|
|
199
219
|
"mutable": false,
|
|
@@ -266,7 +286,7 @@ export class B2bMultiSelectDropdown {
|
|
|
266
286
|
}
|
|
267
287
|
static get states() {
|
|
268
288
|
return {
|
|
269
|
-
"
|
|
289
|
+
"currentSelectedValues": {},
|
|
270
290
|
"currentList": {},
|
|
271
291
|
"value": {},
|
|
272
292
|
"isElementFocused": {},
|
|
@@ -297,7 +317,7 @@ export class B2bMultiSelectDropdown {
|
|
|
297
317
|
"propName": "optionsList",
|
|
298
318
|
"methodName": "watchPropHandler"
|
|
299
319
|
}, {
|
|
300
|
-
"propName": "
|
|
320
|
+
"propName": "currentSelectedValues",
|
|
301
321
|
"methodName": "handleSelectedValuesChange"
|
|
302
322
|
}];
|
|
303
323
|
}
|
|
@@ -24,8 +24,9 @@ const meta = {
|
|
|
24
24
|
searchPlaceholder: 'Search fruits',
|
|
25
25
|
selectAllLabel: 'Select All',
|
|
26
26
|
maxOptionsVisible: 8,
|
|
27
|
+
selectedValues: ['Watermelon', 'Banana'],
|
|
27
28
|
},
|
|
28
|
-
argTypes: Object.assign(Object.assign({}, multiselectArgs), { optionsList: { table: { disable: true } } }),
|
|
29
|
+
argTypes: Object.assign(Object.assign({}, multiselectArgs), { optionsList: { table: { disable: true } }, selectedValues: { table: { disable: true } } }),
|
|
29
30
|
render: (_a) => {
|
|
30
31
|
var args = __rest(_a, []);
|
|
31
32
|
return html `<div style="width: 400px">
|
|
@@ -44,3 +45,20 @@ export default meta;
|
|
|
44
45
|
export const Default = {
|
|
45
46
|
args: Object.assign({}, meta.args),
|
|
46
47
|
};
|
|
48
|
+
export const InitialSelectedValues = {
|
|
49
|
+
args: Object.assign({}, meta.args),
|
|
50
|
+
render: (_a) => {
|
|
51
|
+
var args = __rest(_a, []);
|
|
52
|
+
return html `<div style="width: 400px">
|
|
53
|
+
<b2b-multiselect-dropdown
|
|
54
|
+
label=${args.label}
|
|
55
|
+
max-options-visible=${args.maxOptionsVisible}
|
|
56
|
+
select-all-label=${args.selectAllLabel}
|
|
57
|
+
placeholder=${args.placeholder}
|
|
58
|
+
search-placeholder=${args.searchPlaceholder}
|
|
59
|
+
.optionsList=${args.optionsList}
|
|
60
|
+
.selectedValues=${args.selectedValues}>
|
|
61
|
+
</b2b-multiselect-dropdown>
|
|
62
|
+
</div>`;
|
|
63
|
+
},
|
|
64
|
+
};
|
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: '203177a3042f3914563e5909d13b3a3e84636d44', role: "option", class: {
|
|
17
17
|
'b2b-multiselect-dropdown__option': true,
|
|
18
|
-
} }, h("b2b-checkbox", { key: '
|
|
18
|
+
} }, h("b2b-checkbox", { key: 'e5cf6ff54a4b6748cf387c9e901cc872e7613553', 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() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 31 Jul 2024 07:09:47 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
126
|
+
* Generated on Wed, 31 Jul 2024 07:09:47 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -92,7 +92,7 @@ export class PaginationComponent {
|
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
94
|
render() {
|
|
95
|
-
return (h("nav", { key: '
|
|
95
|
+
return (h("nav", { key: '8fa4e333ccf87ae1533fb06433459926b5e01907' }, h("ol", { key: 'ab31cd8b5a958c174868753b274f5a9633757b54', 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 }, PaginationConstants.BACK))), this.navItems.map((navItem, index) => {
|
|
96
96
|
const isItemActive = this.activePage === navItem;
|
|
97
97
|
return (h("li", { class: this.getItemClass(navItem) }, h("b2b-button", { onClick: () => this.setSelectedPage(navItem, index), active: isItemActive, disabled: isItemActive, size: "50", variant: "secondary" }, navItem)));
|
|
98
98
|
}), this.activePage !== this.totalPages && (h("li", { class: "b2b-pagination--next" }, h("b2b-button", { onClick: this.selectNextPage, size: "50", variant: "secondary", "aria-label": this.ariaLabelNextPage }, PaginationConstants.NEXT))))));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 31 Jul 2024 07:09:47 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
126
|
+
* Generated on Wed, 31 Jul 2024 07:09:47 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -10,12 +10,12 @@ export class ParagraphComponent {
|
|
|
10
10
|
this.align = 'left';
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h("p", { key: '
|
|
13
|
+
return (h("p", { key: '116744e495658dd8f36730ae2660e66a65faaabc', class: {
|
|
14
14
|
'b2b-paragraph': true,
|
|
15
15
|
['b2b-paragraph--size-' + this.size]: true,
|
|
16
16
|
['b2b-paragraph--weight-' + this.weight]: true,
|
|
17
17
|
['b2b-paragraph--align-' + this.align]: true,
|
|
18
|
-
} }, h("slot", { key: '
|
|
18
|
+
} }, h("slot", { key: '276a51b52de920e5a0a2114cd49919c2d78d1dcd' })));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "b2b-paragraph"; }
|
|
21
21
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 31 Jul 2024 07:09:47 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
126
|
+
* Generated on Wed, 31 Jul 2024 07:09:47 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -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: '0a39b6b14e428d976a25f93a0e46319428b5d494' }, h("div", { key: '4c7aabd29013863f86e158147098253b135b46b1', class: {
|
|
21
21
|
[`b2b-progress-bar__${this.labelPosition}-${this.labelType}`]: true,
|
|
22
|
-
} }, h("div", { key: '
|
|
22
|
+
} }, h("div", { key: '19b9840ce6204727dab53ef2d6b73092bfeaef36', class: "b2b-progress-bar__wrapper" }, h("div", { key: 'd60e6051f10c38d6708f0e35c45901cb5a7a30fc', class: "b2b-progress-bar__progress", style: {
|
|
23
23
|
width: `${this.getProgress()}%`,
|
|
24
|
-
} })), h("div", { key: '
|
|
24
|
+
} })), h("div", { key: '45ef8e099ae071712e67f7175dc409780621c4cc', 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,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 31 Jul 2024 07:09:47 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
126
|
+
* Generated on Wed, 31 Jul 2024 07:09:47 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -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: 'e9f470e9014b1cd2e062a56fe3acefbb7fbce41e', onClick: this.onClick }, h("div", { key: 'dfbf91527d2ddcacb765e5642d3b01cdfa90f482', 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: '9f31bd15de285e3f95f7493a2b38b8c30b88eb56', class: "b2b-radio-items" }, h("input", { key: '10224be09adc48cb363a40556248e7bb3fe1a542', 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: '39a120a1a44a1327c2123149ef22bfd356fc79e4', id: this.name, required: this.required, disabled: this.disabled }, 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"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 31 Jul 2024 07:09:47 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
126
|
+
* Generated on Wed, 31 Jul 2024 07:09:47 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -66,11 +66,11 @@ export class RadioButtonGroupComponent {
|
|
|
66
66
|
this.removeChildText();
|
|
67
67
|
}
|
|
68
68
|
render() {
|
|
69
|
-
return (h(Host, { key: '
|
|
69
|
+
return (h(Host, { key: '55d628ab2c309c6001047fc70b21a78be453e7f4' }, h("div", { key: 'af11a6b06351922eecc52799adcea891466b8420', class: {
|
|
70
70
|
'b2b-radio-group': true,
|
|
71
71
|
'b2b-radio-group--error': this.invalid && !this.disabled,
|
|
72
72
|
[`b2b-radio-group--${this.alignment}`]: true,
|
|
73
|
-
} }, this.label && (h("b2b-input-label", { id: this.name, required: this.required }, this.label)), h("fieldset", { key: '
|
|
73
|
+
} }, this.label && (h("b2b-input-label", { id: this.name, required: this.required }, this.label)), h("fieldset", { key: 'fb4c191577566aad73e03effd5112a2356e05195' }, h("div", { key: '647d4df01ec64fc444897c2795073d5e629c2b1b', class: "b2b-radio-group-options" }, h("slot", { key: '3bfe34c9d3d6c1059554789a15a3c65b2d2251df' }))), (this.hint !== undefined && !this.invalid) ||
|
|
74
74
|
(this.hint !== undefined && this.disabled) ? (h("span", null, this.hint)) : (''), this.error !== undefined && this.invalid && !this.disabled ? (h("span", null, this.error)) : (''))));
|
|
75
75
|
}
|
|
76
76
|
static get is() { return "b2b-radio-group"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 31 Jul 2024 07:09:47 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
126
|
+
* Generated on Wed, 31 Jul 2024 07:09:47 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -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: '980ff451bc77415b4be2e6483913c25230df71c8' }, h("div", { key: '3372d15f1c22487cf5410ebb7ecd12fa2e040a3e', class: "b2b-required-separator__label" }, h("span", { key: 'fb94d9c46ea930c3d1481bdffe3fa3ff994521fd', class: "b2b-required-separator__asterisk" }, "* "), h("span", { key: '4dd2f2f6f2718683a1398f60b5a50a02d103821b' }, this.label)), h("b2b-separator", { key: '093bb2473e62a0b57d535cc9a7652e93e06ec47f' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "b2b-required-separator"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 31 Jul 2024 07:09:47 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
126
|
+
* Generated on Wed, 31 Jul 2024 07:09:47 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -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: 'aff67c5e9913d8a157fff480d26a1fb5cc72d849' }, h("div", { key: 'ed16eb230b738ad60b295f4208a99bc92b6aaaf6', 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: '1e35a094d38b7afc51c114b8e767ad12ba6c338e', style: {
|
|
15
15
|
['color']: this.contentColor,
|
|
16
|
-
} }, h("slot", { key: '
|
|
16
|
+
} }, h("slot", { key: 'e6906fa604583425a9678f6a2b452da4aa3f3703', name: "icon" })), h("div", { key: 'b1926c222caf5307a2ff9cbab455b607026ac883', style: {
|
|
17
17
|
['color']: this.contentColor,
|
|
18
|
-
} }, h("slot", { key: '
|
|
18
|
+
} }, h("slot", { key: '70493cb6e76136a4d7c95ed8cd1d3c2d10ec00b8', name: "text" })))));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "b2b-rounded-icon"; }
|
|
21
21
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 31 Jul 2024 07:09:47 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
126
|
+
* Generated on Wed, 31 Jul 2024 07:09:47 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -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: 'cf1acdef7e26ad1d85bde804d4a3d51ceabe38c8' }, h("slot", { key: '5ec43c51cdac7a67ce146859ac0398ecca013852' })));
|
|
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: '6d7613cdd4db258a966144d82e39d12e03d68e03' }, h("b2b-input-group", { key: '2d2c92286f0ca1de3eedeedfd3450de6df646ff2', disabled: this.disabled }, h("b2b-input-list", { key: '8bd4b9debfed77a5692f35efab78842279f0cb01', slot: "start", value: this.value, placeholder: this.placeholder, optionsList: this.optionsList, "onb2b-input": this.onInput, "onb2b-option-selected": this.onOptionSelected }, h("slot", { key: '70e790224ee58ce4b1fecdeaa97fcb9d83d7bf28' })), h("b2b-button", { key: '18e56ed573a9a5213dbcbc656932921e2b834295', slot: "end", variant: "primary", onClick: this.onSearchClicked }, h("b2b-icon", { key: 'ea1b114947eb214743793cdffa34ea400b1934b8', icon: "b2b_icon-search", clickable: true })))));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "b2b-search"; }
|
|
28
28
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 31 Jul 2024 07:09:47 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
126
|
+
* Generated on Wed, 31 Jul 2024 07:09:47 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -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: '42031c92d9e0e60bd3dbf226e189e81908a3720f' }, h("div", { key: '6cd11f5f5365ad23c33d0da06556dad6637f29f0', class: {
|
|
8
8
|
[`b2b-separator--${this.alignment}`]: true,
|
|
9
9
|
} })));
|
|
10
10
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 31 Jul 2024 07:09:47 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
126
|
+
* Generated on Wed, 31 Jul 2024 07:09:47 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -9,7 +9,7 @@ export class SpinnerComponent {
|
|
|
9
9
|
this.color = 'primary';
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h("div", { key: '
|
|
12
|
+
return (h("div", { key: '1f2fce9b5e76db551512b80a30f79acba981f841', class: {
|
|
13
13
|
'b2b-spinner': true,
|
|
14
14
|
['b2b-spinner--size-' + this.size]: true,
|
|
15
15
|
['b2b-spinner--color-' + this.color]: true,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 31 Jul 2024 07:09:47 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
126
|
+
* Generated on Wed, 31 Jul 2024 07:09:47 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|