@otto-de/b2b-core-components 1.18.0 → 1.20.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/icons-50/b2b_icon-arrow-down.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-arrow-left.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-arrow-right.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-arrow-up.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-basket.svg +3 -2
- package/dist/b2b-core-components/icons-50/b2b_icon-check.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-close.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-delete.svg +5 -4
- package/dist/b2b-core-components/icons-50/b2b_icon-error-hint.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-filter.svg +4 -3
- package/dist/b2b-core-components/icons-50/b2b_icon-info-hint.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-info.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-leaving-page.svg +3 -2
- package/dist/b2b-core-components/icons-50/b2b_icon-minus.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-pin.svg +3 -2
- package/dist/b2b-core-components/icons-50/b2b_icon-plus.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-question-hint.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-question.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-rating-empty.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-rating-filled.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-rating-half.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-refresh.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-reply.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-smiley-positive.svg +5 -4
- package/dist/b2b-core-components/icons-50/b2b_icon-sort-ascending.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-sort-descending.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-sort.svg +6 -5
- package/dist/b2b-core-components/icons-50/b2b_icon-success-hint.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-trend-down.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-trend-up.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-warning-hint.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-wishlist-active.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-wishlist.svg +2 -1
- package/dist/b2b-core-components/p-08a26519.entry.js +1 -0
- package/dist/b2b-core-components/p-19392020.js +1 -0
- package/dist/b2b-core-components/{p-7128c388.entry.js → p-3665d675.entry.js} +1 -1
- package/dist/b2b-core-components/p-376ba9ef.entry.js +1 -0
- package/dist/b2b-core-components/p-4ac8b0ba.entry.js +1 -0
- package/dist/b2b-core-components/p-670a0599.entry.js +1 -0
- package/dist/b2b-core-components/p-68a836cb.entry.js +1 -0
- package/dist/b2b-core-components/p-6e031b32.entry.js +1 -0
- package/dist/b2b-core-components/{p-d4ab2a73.entry.js → p-72e23a4e.entry.js} +1 -1
- package/dist/b2b-core-components/p-ab8d496b.entry.js +1 -0
- package/dist/b2b-core-components/p-c03d0533.entry.js +1 -0
- package/dist/b2b-core-components/p-d0e930f2.entry.js +1 -0
- package/dist/b2b-core-components/p-d51551c9.entry.js +1 -0
- package/dist/cjs/b2b-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/b2b-breadcrumb.cjs.entry.js +8 -3
- package/dist/cjs/b2b-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/b2b-core-components.cjs.js +1 -1
- package/dist/cjs/b2b-date-picker-days_5.cjs.entry.js +1 -1
- package/dist/cjs/b2b-date-picker.cjs.entry.js +28 -14
- package/dist/cjs/b2b-modal.cjs.entry.js +1 -1
- package/dist/cjs/b2b-multiselect-dropdown.cjs.entry.js +15 -3
- package/dist/cjs/b2b-paragraph.cjs.entry.js +10 -3
- package/dist/cjs/b2b-table-cell_2.cjs.entry.js +18 -19
- package/dist/cjs/b2b-table-row.cjs.entry.js +27 -20
- package/dist/cjs/b2b-table-rowgroup.cjs.entry.js +10 -27
- package/dist/cjs/b2b-table.cjs.entry.js +3 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-41f7ffa8.js → utils-499e9db5.js} +43 -0
- package/dist/collection/components/alert/alert.css +2 -2
- package/dist/collection/components/anchor/anchor.css +2 -2
- package/dist/collection/components/background-box/background-box.css +2 -2
- package/dist/collection/components/breadcrumb/breadcrumb.css +13 -11
- package/dist/collection/components/breadcrumb/breadcrumb.js +47 -2
- package/dist/collection/components/breadcrumb/breadcrumb.stories.js +15 -6
- package/dist/collection/components/button/button.css +2 -2
- package/dist/collection/components/card/card.css +2 -2
- package/dist/collection/components/checkbox/checkbox.css +2 -2
- package/dist/collection/components/checkbox/checkbox.e2e.js +6 -0
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/checkbox/checkbox.stories.js +5 -0
- package/dist/collection/components/checkbox-group/checkbox-group.css +2 -2
- package/dist/collection/components/chip/chip.css +2 -2
- package/dist/collection/components/date-picker/date-picker-days-header.css +2 -2
- package/dist/collection/components/date-picker/date-picker-days.css +2 -3
- package/dist/collection/components/date-picker/date-picker-header.css +2 -2
- package/dist/collection/components/date-picker/date-picker-months.css +2 -2
- package/dist/collection/components/date-picker/date-picker-years.css +2 -2
- package/dist/collection/components/date-picker/date-picker.css +5 -5
- package/dist/collection/components/date-picker/date-picker.js +27 -13
- package/dist/collection/components/dropdown/dropdown.css +2 -2
- package/dist/collection/components/flyout-menu/flyout-menu-option.css +2 -2
- package/dist/collection/components/flyout-menu/flyout-menu.css +2 -2
- package/dist/collection/components/headline/headline.css +2 -2
- package/dist/collection/components/icon/icon.css +2 -2
- package/dist/collection/components/icon-100/icon-100.css +2 -2
- package/dist/collection/components/icon-50/icon-50.css +2 -2
- package/dist/collection/components/icon-50/icons-50/b2b_icon-arrow-down.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-arrow-left.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-arrow-right.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-arrow-up.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-basket.svg +3 -2
- package/dist/collection/components/icon-50/icons-50/b2b_icon-check.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-close.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-delete.svg +5 -4
- package/dist/collection/components/icon-50/icons-50/b2b_icon-error-hint.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-filter.svg +4 -3
- package/dist/collection/components/icon-50/icons-50/b2b_icon-info-hint.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-info.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-leaving-page.svg +3 -2
- package/dist/collection/components/icon-50/icons-50/b2b_icon-minus.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-pin.svg +3 -2
- package/dist/collection/components/icon-50/icons-50/b2b_icon-plus.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-question-hint.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-question.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-rating-empty.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-rating-filled.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-rating-half.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-refresh.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-reply.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-smiley-positive.svg +5 -4
- package/dist/collection/components/icon-50/icons-50/b2b_icon-sort-ascending.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-sort-descending.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-sort.svg +6 -5
- package/dist/collection/components/icon-50/icons-50/b2b_icon-success-hint.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-trend-down.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-trend-up.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-warning-hint.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-wishlist-active.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-wishlist.svg +2 -1
- 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 +3 -3
- package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.css +2 -2
- package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.js +25 -9
- package/dist/collection/components/pagination/pagination.css +2 -2
- package/dist/collection/components/paragraph/paragraph.css +11 -3
- package/dist/collection/components/paragraph/paragraph.js +63 -2
- package/dist/collection/components/paragraph/paragraph.stories.js +130 -27
- package/dist/collection/components/progress-bar/progress-bar.css +2 -2
- package/dist/collection/components/radio/radio.css +2 -2
- package/dist/collection/components/radio-group/radio-group.css +2 -2
- package/dist/collection/components/required-separator/required-separator.css +2 -2
- package/dist/collection/components/rounded-icon/rounded-icon.css +2 -2
- package/dist/collection/components/scrollable-container/scrollable-container.css +2 -2
- package/dist/collection/components/separator/separator.css +2 -2
- package/dist/collection/components/spinner/spinner.css +2 -2
- package/dist/collection/components/tab/tab.css +2 -2
- package/dist/collection/components/tab-panel/tab-panel.css +2 -2
- package/dist/collection/components/table/table-cell/table-cell.css +2 -2
- package/dist/collection/components/table/table-header/table-header.css +2 -2
- package/dist/collection/components/table/table-row/table-row.css +2 -2
- package/dist/collection/components/table/table-row/table-row.js +25 -43
- package/dist/collection/components/table/table-rowgroup/table-rowgroup.css +2 -2
- package/dist/collection/components/table/table-rowgroup/table-rowgroup.js +6 -22
- package/dist/collection/components/table/table.css +2 -2
- package/dist/collection/components/table/table.e2e.js +5 -5
- package/dist/collection/components/table/utils.js +5 -0
- package/dist/collection/components/textarea/textarea.css +2 -2
- package/dist/collection/components/toggle-button/toggle-button.css +2 -2
- package/dist/collection/components/toggle-chip/toggle-chip.css +2 -2
- package/dist/collection/components/toggle-group/toggle-group.css +2 -2
- package/dist/collection/components/toggle-switch/toggle-switch.css +2 -2
- package/dist/collection/components/tooltip/tooltip.css +2 -2
- package/dist/collection/components/wizard/wizard.css +2 -2
- package/dist/collection/components/wizard-icon/wizard-icon.css +2 -2
- package/dist/collection/utils/types/table.types.js +0 -5
- package/dist/components/b2b-breadcrumb-item.js +1 -1
- package/dist/components/b2b-breadcrumb.js +12 -4
- package/dist/components/b2b-date-picker.js +28 -14
- package/dist/components/b2b-modal.js +1 -1
- package/dist/components/b2b-multiselect-dropdown.js +17 -5
- package/dist/components/b2b-paragraph.js +14 -4
- package/dist/components/b2b-table-row.js +24 -18
- package/dist/components/b2b-table-rowgroup.js +5 -21
- package/dist/components/checkbox.js +1 -1
- package/dist/components/date-picker-days.js +1 -1
- package/dist/components/utils.js +6 -6
- package/dist/custom-elements.json +49 -1
- package/dist/esm/b2b-breadcrumb-item.entry.js +1 -1
- package/dist/esm/b2b-breadcrumb.entry.js +8 -3
- package/dist/esm/b2b-checkbox.entry.js +1 -1
- package/dist/esm/b2b-core-components.js +1 -1
- package/dist/esm/b2b-date-picker-days_5.entry.js +1 -1
- package/dist/esm/b2b-date-picker.entry.js +28 -14
- package/dist/esm/b2b-modal.entry.js +1 -1
- package/dist/esm/b2b-multiselect-dropdown.entry.js +15 -3
- package/dist/esm/b2b-paragraph.entry.js +10 -3
- package/dist/esm/b2b-table-cell_2.entry.js +1 -2
- package/dist/esm/b2b-table-row.entry.js +24 -17
- package/dist/esm/b2b-table-rowgroup.entry.js +5 -22
- package/dist/esm/b2b-table.entry.js +1 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-71968b12.js → utils-868299de.js} +37 -1
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +4 -0
- package/dist/types/components/breadcrumb/breadcrumb.stories.d.ts +1 -0
- package/dist/types/components/checkbox/checkbox.stories.d.ts +2 -1
- package/dist/types/components/date-picker/date-picker.d.ts +1 -0
- package/dist/types/components/multiselect-dropdown/multiselect-dropdown.d.ts +5 -3
- package/dist/types/components/paragraph/paragraph.d.ts +6 -0
- package/dist/types/components/paragraph/paragraph.stories.d.ts +13 -8
- package/dist/types/components/table/table-row/table-row.d.ts +3 -3
- package/dist/types/components/table/table-rowgroup/table-rowgroup.d.ts +0 -1
- package/dist/types/components/table/utils.d.ts +1 -0
- package/dist/types/components.d.ts +46 -7
- package/dist/types/utils/types/table.types.d.ts +0 -6
- package/dist/web-types.json +59 -8
- package/package.json +2 -2
- package/dist/b2b-core-components/p-000d700d.entry.js +0 -1
- package/dist/b2b-core-components/p-0af31837.entry.js +0 -1
- package/dist/b2b-core-components/p-2c60a909.entry.js +0 -1
- package/dist/b2b-core-components/p-2d3de3a7.entry.js +0 -1
- package/dist/b2b-core-components/p-39254a15.entry.js +0 -1
- package/dist/b2b-core-components/p-6148866a.entry.js +0 -1
- package/dist/b2b-core-components/p-619f67f6.entry.js +0 -1
- package/dist/b2b-core-components/p-92bfd54e.entry.js +0 -1
- package/dist/b2b-core-components/p-a6fa7831.entry.js +0 -1
- package/dist/b2b-core-components/p-bff69403.js +0 -1
- package/dist/b2b-core-components/p-d6400aa5.js +0 -1
- package/dist/b2b-core-components/p-e1672700.entry.js +0 -1
- package/dist/cjs/table.types-5df665b6.js +0 -45
- package/dist/esm/table.types-083a173a.js +0 -37
|
@@ -1,19 +1,28 @@
|
|
|
1
1
|
import { html } from "lit-html";
|
|
2
2
|
import { getArgTypes } from "../../docs/config/utils";
|
|
3
|
-
const Template = ({ href, active }) => {
|
|
4
|
-
return html `
|
|
5
|
-
<b2b-breadcrumb
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
const Template = ({ href, active, paddingTop, paddingBottom }) => {
|
|
4
|
+
return html `
|
|
5
|
+
<b2b-breadcrumb
|
|
6
|
+
padding-top="${paddingTop}"
|
|
7
|
+
padding-bottom="${paddingBottom}">
|
|
8
|
+
<b2b-breadcrumb-item href="${href}">Start</b2b-breadcrumb-item>
|
|
9
|
+
<b2b-breadcrumb-item>Weiter</b2b-breadcrumb-item>
|
|
10
|
+
<b2b-breadcrumb-item active="${active}">Ende</b2b-breadcrumb-item>
|
|
11
|
+
</b2b-breadcrumb>
|
|
12
|
+
`;
|
|
9
13
|
};
|
|
10
14
|
const defaultArgs = {
|
|
11
15
|
href: 'https://www.otto.de',
|
|
12
16
|
active: true,
|
|
17
|
+
paddingTop: 0, // Default padding top in px
|
|
18
|
+
paddingBottom: 0, // Default padding bottom in px
|
|
13
19
|
};
|
|
14
20
|
export const story010Default = Template.bind({});
|
|
15
21
|
story010Default.args = Object.assign({}, defaultArgs);
|
|
16
22
|
story010Default.storyName = 'Default Breadcrumb';
|
|
23
|
+
export const story020PaddingTopBottom = Template.bind({});
|
|
24
|
+
story020PaddingTopBottom.args = Object.assign(Object.assign({}, defaultArgs), { paddingTop: 10, paddingBottom: 15 });
|
|
25
|
+
story020PaddingTopBottom.storyName = 'Custom Padding';
|
|
17
26
|
const breadcrumbArgs = getArgTypes('b2b-breadcrumb');
|
|
18
27
|
export default {
|
|
19
28
|
title: 'Components/Interaction/Breadcrumb',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -27,4 +27,10 @@ describe('b2b-checkbox', () => {
|
|
|
27
27
|
await page.waitForChanges();
|
|
28
28
|
expect(element).toHaveClass('b2b-checkbox--checked');
|
|
29
29
|
});
|
|
30
|
+
it('use label slot if provided', async () => {
|
|
31
|
+
const page = await newE2EPage();
|
|
32
|
+
await page.setContent('<b2b-checkbox><span slot="label">Custom label</span></b2b-checkbox>');
|
|
33
|
+
const element = await page.find('span');
|
|
34
|
+
expect(element).toEqualText('Custom label');
|
|
35
|
+
});
|
|
30
36
|
});
|
|
@@ -72,7 +72,7 @@ export class CheckboxComponent {
|
|
|
72
72
|
'b2b-checkbox--checked': this.checked,
|
|
73
73
|
'b2b-checkbox--standalone': this.standalone,
|
|
74
74
|
'b2b-checkbox--indeterminate': this.indeterminate,
|
|
75
|
-
} }, h("div", { key: '
|
|
75
|
+
} }, h("div", { key: 'dab97157c87fbc3a9599355113b930039afeb1d0', class: "b2b-checkbox__items" }, this.renderIcon(), h("input", { key: '253f9206dc69ce6c404c7e4b3c260da6772d2786', class: "b2b-checkbox__input", "aria-labelledby": this.name, type: "checkbox", name: this.name, id: this.name, value: this.value, checked: this.checked, disabled: this.disabled || this.groupDisabled, onFocus: this.onFocus, onBlur: this.onBlur }), !this.standalone && (h("b2b-input-label", { id: this.name, required: this.required, disabled: this.disabled }, h("slot", { name: "label" }, this.label)))), (this.hint !== undefined && !this.invalid) ||
|
|
76
76
|
(this.hint !== undefined && this.disabled) ? (h("span", null, this.hint)) : (''), this.error !== undefined && this.invalid && !this.disabled ? (h("span", null, this.error)) : (''))));
|
|
77
77
|
}
|
|
78
78
|
static get is() { return "b2b-checkbox"; }
|
|
@@ -41,6 +41,11 @@ story050Disabled.storyName = 'Disabled';
|
|
|
41
41
|
export const story060Required = Template.bind({});
|
|
42
42
|
story060Required.args = Object.assign(Object.assign({}, defaultArgs), { label: 'Required checkbox', required: true });
|
|
43
43
|
story060Required.storyName = 'Required';
|
|
44
|
+
export const story070LabelSlot = {
|
|
45
|
+
args: Object.assign({}, defaultArgs),
|
|
46
|
+
render: ({}) => html `<b2b-checkbox><span slot="label">Label Slot</span></b2b-input>`,
|
|
47
|
+
};
|
|
48
|
+
story070LabelSlot.storyName = 'Label slot';
|
|
44
49
|
const controls = {};
|
|
45
50
|
const inputCheckboxArgs = getArgTypes('b2b-checkbox', controls);
|
|
46
51
|
export default {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -253,7 +253,6 @@
|
|
|
253
253
|
color: var(--b2b-color-white-100);
|
|
254
254
|
pointer-events: none;
|
|
255
255
|
width: 100%;
|
|
256
|
-
height: 100%;
|
|
257
256
|
}
|
|
258
257
|
.b2b-date-picker-days .b2b-date-picker-day--focussed {
|
|
259
258
|
background-color: var(--b2b-color-hover);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
}
|
|
218
218
|
:host .b2b-date-picker {
|
|
219
219
|
position: relative;
|
|
220
|
-
z-index:
|
|
220
|
+
z-index: 300;
|
|
221
221
|
}
|
|
222
222
|
:host .b2b-date-picker__backdrop {
|
|
223
223
|
position: fixed;
|
|
@@ -263,7 +263,7 @@
|
|
|
263
263
|
margin-left: 0;
|
|
264
264
|
padding-left: 0;
|
|
265
265
|
height: 100%;
|
|
266
|
-
width:
|
|
266
|
+
width: 100%;
|
|
267
267
|
color: var(--b2b-color-black-100);
|
|
268
268
|
font-size: var(--b2b-size-35);
|
|
269
269
|
line-height: var(--b2b-size-copy-line-height-100);
|
|
@@ -306,7 +306,7 @@
|
|
|
306
306
|
padding-bottom: var(--b2b-size-40);
|
|
307
307
|
outline: none;
|
|
308
308
|
background-color: var(--b2b-color-white-100);
|
|
309
|
-
z-index:
|
|
309
|
+
z-index: 200;
|
|
310
310
|
}
|
|
311
311
|
:host .b2b-date-picker-body--hidden {
|
|
312
312
|
display: none;
|
|
@@ -18,6 +18,9 @@ export class B2bDatePicker {
|
|
|
18
18
|
event.target.value = value;
|
|
19
19
|
if (value.length === 10) {
|
|
20
20
|
this.parseDateInput(value);
|
|
21
|
+
if (this.invalid) {
|
|
22
|
+
this.showDatePicker = false;
|
|
23
|
+
}
|
|
21
24
|
}
|
|
22
25
|
};
|
|
23
26
|
this.handleKeyDown = (event) => {
|
|
@@ -120,6 +123,7 @@ export class B2bDatePicker {
|
|
|
120
123
|
this.focused = false;
|
|
121
124
|
}
|
|
122
125
|
getPreviousMonth() {
|
|
126
|
+
this.invalid = false;
|
|
123
127
|
if (this.selectedMonth === 0) {
|
|
124
128
|
this.setCurrentMonth(11);
|
|
125
129
|
this.setCurrentYear(this.selectedYear - 1);
|
|
@@ -136,7 +140,6 @@ export class B2bDatePicker {
|
|
|
136
140
|
}
|
|
137
141
|
if (!regex.test(dateString)) {
|
|
138
142
|
this.invalid = true;
|
|
139
|
-
this.showDatePicker = false;
|
|
140
143
|
this.errorMessage = this.FORMATTING_ERROR_MESSAGE;
|
|
141
144
|
return;
|
|
142
145
|
}
|
|
@@ -151,7 +154,6 @@ export class B2bDatePicker {
|
|
|
151
154
|
this.setSelectedDateForDisplay();
|
|
152
155
|
}
|
|
153
156
|
else {
|
|
154
|
-
this.showDatePicker = false;
|
|
155
157
|
this.invalid = true;
|
|
156
158
|
this.focused = false;
|
|
157
159
|
this.selectedDay = this.todayWithoutTime.getDate();
|
|
@@ -161,9 +163,13 @@ export class B2bDatePicker {
|
|
|
161
163
|
}
|
|
162
164
|
isValidDate(day, month, year) {
|
|
163
165
|
const date = new Date(year, month - 1, day);
|
|
164
|
-
const isValidDay =
|
|
165
|
-
const isValidMonth =
|
|
166
|
-
const isValidYear = year
|
|
166
|
+
const isValidDay = date.getDate() === day;
|
|
167
|
+
const isValidMonth = date.getMonth() + 1 === month;
|
|
168
|
+
const isValidYear = date.getFullYear() === year && year >= 1900 && year <= 2100;
|
|
169
|
+
if (!isValidDay || !isValidMonth || !isValidYear) {
|
|
170
|
+
this.errorMessage = this.DISABLED_DATE_ERROR_MESSAGE;
|
|
171
|
+
return false;
|
|
172
|
+
}
|
|
167
173
|
let isValidRange = true;
|
|
168
174
|
if (this.disablePastDates && date < this.todayWithoutTime) {
|
|
169
175
|
this.errorMessage = this.DISABLED_DATE_ERROR_MESSAGE;
|
|
@@ -177,7 +183,7 @@ export class B2bDatePicker {
|
|
|
177
183
|
this.errorMessage = this.DISABLED_DATE_ERROR_MESSAGE;
|
|
178
184
|
isValidRange = false;
|
|
179
185
|
}
|
|
180
|
-
return
|
|
186
|
+
return isValidRange;
|
|
181
187
|
}
|
|
182
188
|
emitSelectedDate() {
|
|
183
189
|
this.b2bSelected.emit({
|
|
@@ -197,6 +203,7 @@ export class B2bDatePicker {
|
|
|
197
203
|
this.invalid = false;
|
|
198
204
|
}
|
|
199
205
|
getNextMonth() {
|
|
206
|
+
this.invalid = false;
|
|
200
207
|
if (this.selectedMonth === 11) {
|
|
201
208
|
this.setCurrentMonth(0);
|
|
202
209
|
this.setCurrentYear(this.selectedYear + 1);
|
|
@@ -246,6 +253,12 @@ export class B2bDatePicker {
|
|
|
246
253
|
closeIcon.focus();
|
|
247
254
|
}
|
|
248
255
|
}
|
|
256
|
+
handleFocusOut() {
|
|
257
|
+
if (this.userInputDate === '' || this.invalid) {
|
|
258
|
+
return;
|
|
259
|
+
}
|
|
260
|
+
this.parseDateInput(this.userInputDate);
|
|
261
|
+
}
|
|
249
262
|
moveFocusToInputComponent() {
|
|
250
263
|
const inputElement = this.host.shadowRoot.querySelector('input.b2b-date-picker-input');
|
|
251
264
|
if (inputElement !== undefined && !this.invalid) {
|
|
@@ -263,18 +276,19 @@ export class B2bDatePicker {
|
|
|
263
276
|
}
|
|
264
277
|
}
|
|
265
278
|
render() {
|
|
266
|
-
return (h(Host, { key: '
|
|
279
|
+
return (h(Host, { key: '8c47388da5b4d322847338e17106f6421e570f94' }, h("div", { key: 'a5c01d164a0fd8555df6ee8cd01380072832bc8a', class: "b2b-date-picker" }, h("div", { key: 'ce234fe5588126890b384d742c5fe9cc6482e298', class: "b2b-date-picker-label" }, this.label), h("div", { key: '017889d17ab599540bb4db90b25b90bad1c37f2e', class: {
|
|
267
280
|
'b2b-date-picker-input-wrapper': true,
|
|
268
281
|
'b2b-date-picker-input-wrapper--focused': this.focused || this.showDatePicker,
|
|
269
282
|
'b2b-date-picker-input-wrapper--error': this.invalid,
|
|
270
|
-
} }, h("div", { key: '
|
|
283
|
+
} }, h("div", { key: 'dbb4c054fd05e75d4fd51cf37d8771062bfc4501', class: "b2b-date-picker-input-focus-wrapper", onClick: () => {
|
|
271
284
|
this.moveFocusToInputComponent();
|
|
272
|
-
} }, h("input", { key: '
|
|
285
|
+
} }, h("input", { key: 'f4e4a9a6ba7304d12d3e84290647df5d1e7acd15', type: "text", tabindex: 0, class: {
|
|
273
286
|
'b2b-date-picker-input': true,
|
|
274
287
|
'b2b-date-picker-input--error': this.invalid,
|
|
275
288
|
}, value: this.userInputDate, onInput: this.handleInputChange, onKeyDown: this.handleKeyDown, onFocus: this.handleInputFocus, onBlur: () => {
|
|
276
289
|
this.focused = false;
|
|
277
|
-
|
|
290
|
+
this.handleFocusOut();
|
|
291
|
+
} })), h("div", { key: 'c604c6f2908bc9d96f0f489fd4758e0fe6c8e5f9', class: "b2b-icons" }, this.userInputDate && (h("div", { tabIndex: 0, onClick: () => {
|
|
278
292
|
this.invalid = false;
|
|
279
293
|
this.clearDateInput();
|
|
280
294
|
}, class: "b2b-close-icon", onKeyDown: event => {
|
|
@@ -282,7 +296,7 @@ export class B2bDatePicker {
|
|
|
282
296
|
this.invalid = false;
|
|
283
297
|
this.clearDateInput();
|
|
284
298
|
}
|
|
285
|
-
} }, h("b2b-icon", { icon: "b2b_icon-close", "aria-label": "clear input", clickable: true }))), h("div", { key: '
|
|
299
|
+
} }, h("b2b-icon", { icon: "b2b_icon-close", "aria-label": "clear input", clickable: true }))), h("div", { key: 'c3e12e0904a2ee72ff672415e49e0ebaa48e46d9', tabindex: 0, onClick: () => {
|
|
286
300
|
if (this.invalid) {
|
|
287
301
|
this.invalid = false;
|
|
288
302
|
}
|
|
@@ -294,9 +308,9 @@ export class B2bDatePicker {
|
|
|
294
308
|
}
|
|
295
309
|
this.showHideDatePicker();
|
|
296
310
|
}
|
|
297
|
-
}, class: "b2b-event-icon" }, h("b2b-icon", { key: '
|
|
311
|
+
}, class: "b2b-event-icon" }, h("b2b-icon", { key: 'a38cbfb24b84ca95bcd2507357e3e003cd5fd708', "aria-label": this.showDatePicker
|
|
298
312
|
? 'close date picker'
|
|
299
|
-
: 'open date picker', icon: "b2b_icon-event", clickable: true }))))), h("div", { key: '
|
|
313
|
+
: 'open date picker', icon: "b2b_icon-event", clickable: true }))))), h("div", { key: 'addb043cc83121ad0e70611a1621f95d473f7cd1', class: {
|
|
300
314
|
'b2b-date-picker-body': true,
|
|
301
315
|
'b2b-date-picker-body--hidden': !this.showDatePicker,
|
|
302
316
|
} }, this.datePickerView === DatePickerView.Days && (h("div", null, h("b2b-date-picker-header", { selectedMonth: this.selectedMonth, selectedYear: this.selectedYear }), h("b2b-date-picker-days-header", null), h("b2b-date-picker-days", { selectedMonth: this.selectedMonth, selectedYear: this.selectedYear, selectedDay: this.selectedDay, disableWeekends: this.disableWeekends, disableFutureDates: this.disableFutureDates, disablePastDates: this.disablePastDates }))), this.datePickerView === DatePickerView.Months && (h("b2b-date-picker-months", { selectedMonth: this.selectedMonth })), this.datePickerView === DatePickerView.Years && (h("b2b-date-picker-years", { selectedYear: this.selectedYear }))), this.showDatePicker && (h("div", { class: "b2b-date-picker__backdrop", onClick: this.handleBackdropDismiss })), !this.showDatePicker && (h("span", { class: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Thu, 12 Dec 2024 07:14:23 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
<svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M10.3765 4.17133C10.1939 3.96235 9.87747 3.94184 9.67092 4.12397L6.00002 7.33637L2.32913 4.12787C2.12161 3.94623 1.8052 3.96576 1.62356 4.17524C1.44192 4.38324 1.46292 4.69916 1.67092 4.8808L5.67092 8.3769C5.76516 8.45942 5.88284 8.50043 6.00002 8.50043C6.1177 8.50043 6.23489 8.45942 6.32913 8.3769L10.3291 4.8769C10.5371 4.69477 10.5581 4.37885 10.3765 4.17133Z"
|
|
2
|
+
<path d="M10.3765 4.17133C10.1939 3.96235 9.87747 3.94184 9.67092 4.12397L6.00002 7.33637L2.32913 4.12787C2.12161 3.94623 1.8052 3.96576 1.62356 4.17524C1.44192 4.38324 1.46292 4.69916 1.67092 4.8808L5.67092 8.3769C5.76516 8.45942 5.88284 8.50043 6.00002 8.50043C6.1177 8.50043 6.23489 8.45942 6.32913 8.3769L10.3291 4.8769C10.5371 4.69477 10.5581 4.37885 10.3765 4.17133Z"/>
|
|
3
3
|
</svg>
|
|
4
|
+
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
<svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M4.66406 6.00072L7.87646 2.32982C8.05811 2.1223 8.03711 1.80638 7.8291 1.62425C7.62158 1.44213 7.30566 1.46215 7.12354 1.67162L3.62354 5.67162C3.45898 5.86009 3.45898 6.14134 3.62354 6.32982L7.11963 10.3298C7.21826 10.4431 7.35693 10.5007 7.49609 10.5007C7.61328 10.5007 7.73047 10.4602 7.8252 10.3772C8.0332 10.1955 8.0542 9.87963 7.87256 9.67162L4.66406 6.00072Z"
|
|
2
|
+
<path d="M4.66406 6.00072L7.87646 2.32982C8.05811 2.1223 8.03711 1.80638 7.8291 1.62425C7.62158 1.44213 7.30566 1.46215 7.12354 1.67162L3.62354 5.67162C3.45898 5.86009 3.45898 6.14134 3.62354 6.32982L7.11963 10.3298C7.21826 10.4431 7.35693 10.5007 7.49609 10.5007C7.61328 10.5007 7.73047 10.4602 7.8252 10.3772C8.0332 10.1955 8.0542 9.87963 7.87256 9.67162L4.66406 6.00072Z"/>
|
|
3
3
|
</svg>
|
|
4
|
+
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
<svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M8.37646 5.67162L4.87646 1.67162C4.69335 1.46215 4.37744 1.44213 4.17089 1.62425C3.96288 1.80638 3.94189 2.1223 4.12353 2.32982L7.33593 6.00072L4.12744 9.67162C3.94579 9.87963 3.96679 10.1955 4.1748 10.3772C4.26953 10.4602 4.38671 10.5007 4.5039 10.5007C4.64306 10.5007 4.78173 10.4426 4.88037 10.3298L8.37646 6.32982C8.54101 6.14134 8.54101 5.86009 8.37646 5.67162Z"
|
|
2
|
+
<path d="M8.37646 5.67162L4.87646 1.67162C4.69335 1.46215 4.37744 1.44213 4.17089 1.62425C3.96288 1.80638 3.94189 2.1223 4.12353 2.32982L7.33593 6.00072L4.12744 9.67162C3.94579 9.87963 3.96679 10.1955 4.1748 10.3772C4.26953 10.4602 4.38671 10.5007 4.5039 10.5007C4.64306 10.5007 4.78173 10.4426 4.88037 10.3298L8.37646 6.32982C8.54101 6.14134 8.54101 5.86009 8.37646 5.67162Z"/>
|
|
3
3
|
</svg>
|
|
4
|
+
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
<svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M10.3291 7.12842L6.32913 3.62842C6.14114 3.46338 5.86038 3.4624 5.67092 3.62842L1.67092 7.12451C1.46291 7.30615 1.44192 7.62207 1.62356 7.83008C1.8052 8.03857 2.12161 8.05859 2.32913 7.87744L6.00002 4.66895L9.67092 7.88135C9.76565 7.96436 9.88284 8.00488 10 8.00488C10.1392 8.00488 10.2774 7.94727 10.3765 7.83398C10.5581 7.62647 10.5371 7.31055 10.3291 7.12842Z"
|
|
2
|
+
<path d="M10.3291 7.12842L6.32913 3.62842C6.14114 3.46338 5.86038 3.4624 5.67092 3.62842L1.67092 7.12451C1.46291 7.30615 1.44192 7.62207 1.62356 7.83008C1.8052 8.03857 2.12161 8.05859 2.32913 7.87744L6.00002 4.66895L9.67092 7.88135C9.76565 7.96436 9.88284 8.00488 10 8.00488C10.1392 8.00488 10.2774 7.94727 10.3765 7.83398C10.5581 7.62647 10.5371 7.31055 10.3291 7.12842Z"/>
|
|
3
3
|
</svg>
|
|
4
|
+
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M9.96338 1.43604C9.93115 1.18652 9.71875 1 9.46729 1H2.5332C2.28174 1 2.06934 1.18652 2.03711 1.43604L1.00391 9.43604C0.98584 9.57861 1.02979 9.72217 1.12451 9.83008C1.21924 9.93799 1.35645 10 1.5 10H10.5C10.6436 10 10.7808 9.93799 10.8755 9.83008C10.9702 9.72217 11.0142 9.57861 10.9961 9.43604L9.96338 1.43604ZM2.06885 9L2.97266 2H9.02783L9.93115 9H2.06885Z"
|
|
3
|
-
<path d="M7.50049 3C7.22412 3 7.00049 3.22363 7.00049 3.5C7.00049 4.23828 6.46191 4.5 6.00049 4.5C5.53906 4.5 5.00049 4.23828 5.00049 3.5C5.00049 3.22363 4.77686 3 4.50049 3C4.22412 3 4.00049 3.22363 4.00049 3.5C4.00049 4.271 4.34668 4.74072 4.63721 4.99854C5.00049 5.32178 5.48486 5.5 6.00049 5.5C6.99414 5.5 8.00049 4.81299 8.00049 3.5C8.00049 3.22363 7.77686 3 7.50049 3Z"
|
|
2
|
+
<path d="M9.96338 1.43604C9.93115 1.18652 9.71875 1 9.46729 1H2.5332C2.28174 1 2.06934 1.18652 2.03711 1.43604L1.00391 9.43604C0.98584 9.57861 1.02979 9.72217 1.12451 9.83008C1.21924 9.93799 1.35645 10 1.5 10H10.5C10.6436 10 10.7808 9.93799 10.8755 9.83008C10.9702 9.72217 11.0142 9.57861 10.9961 9.43604L9.96338 1.43604ZM2.06885 9L2.97266 2H9.02783L9.93115 9H2.06885Z"/>
|
|
3
|
+
<path d="M7.50049 3C7.22412 3 7.00049 3.22363 7.00049 3.5C7.00049 4.23828 6.46191 4.5 6.00049 4.5C5.53906 4.5 5.00049 4.23828 5.00049 3.5C5.00049 3.22363 4.77686 3 4.50049 3C4.22412 3 4.00049 3.22363 4.00049 3.5C4.00049 4.271 4.34668 4.74072 4.63721 4.99854C5.00049 5.32178 5.48486 5.5 6.00049 5.5C6.99414 5.5 8.00049 4.81299 8.00049 3.5C8.00049 3.22363 7.77686 3 7.50049 3Z"/>
|
|
4
4
|
</svg>
|
|
5
|
+
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
<svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M10.8584 3.15143C10.6656 2.95416 10.3496 2.9483 10.1514 3.14166L4.34671 8.78766L1.8638 6.1568C1.67435 5.9566 1.35745 5.94781 1.15677 6.13629C0.956085 6.32623 0.946807 6.64264 1.13626 6.84332L3.9678 9.84332C4.06009 9.94049 4.18704 9.99713 4.32083 10.0001C4.32425 10.0001 4.32816 10.0001 4.33157 10.0001C4.46146 10.0001 4.58694 9.94928 4.68021 9.85846L10.8487 3.85846C11.0464 3.66607 11.0508 3.34918 10.8584 3.15143Z"
|
|
2
|
+
<path d="M10.8584 3.15143C10.6656 2.95416 10.3496 2.9483 10.1514 3.14166L4.34671 8.78766L1.8638 6.1568C1.67435 5.9566 1.35745 5.94781 1.15677 6.13629C0.956085 6.32623 0.946807 6.64264 1.13626 6.84332L3.9678 9.84332C4.06009 9.94049 4.18704 9.99713 4.32083 10.0001C4.32425 10.0001 4.32816 10.0001 4.33157 10.0001C4.46146 10.0001 4.58694 9.94928 4.68021 9.85846L10.8487 3.85846C11.0464 3.66607 11.0508 3.34918 10.8584 3.15143Z"/>
|
|
3
3
|
</svg>
|
|
4
|
+
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
<svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M6.70703 6L9.85352 2.85352C10.0488 2.6582 10.0488 2.3418 9.85352 2.14648C9.6582 1.95117 9.3418 1.95117 9.14648 2.14648L6 5.29297L2.85352 2.14648C2.6582 1.95117 2.3418 1.95117 2.14648 2.14648C1.95117 2.3418 1.95117 2.6582 2.14648 2.85352L5.29297 6L2.14648 9.14648C1.95117 9.3418 1.95117 9.6582 2.14648 9.85352C2.24414 9.95117 2.37207 10 2.5 10C2.62793 10 2.75586 9.95117 2.85352 9.85352L6 6.70703L9.14648 9.85352C9.24414 9.95117 9.37207 10 9.5 10C9.62793 10 9.75586 9.95117 9.85352 9.85352C10.0488 9.6582 10.0488 9.3418 9.85352 9.14648L6.70703 6Z"
|
|
2
|
+
<path d="M6.70703 6L9.85352 2.85352C10.0488 2.6582 10.0488 2.3418 9.85352 2.14648C9.6582 1.95117 9.3418 1.95117 9.14648 2.14648L6 5.29297L2.85352 2.14648C2.6582 1.95117 2.3418 1.95117 2.14648 2.14648C1.95117 2.3418 1.95117 2.6582 2.14648 2.85352L5.29297 6L2.14648 9.14648C1.95117 9.3418 1.95117 9.6582 2.14648 9.85352C2.24414 9.95117 2.37207 10 2.5 10C2.62793 10 2.75586 9.95117 2.85352 9.85352L6 6.70703L9.14648 9.85352C9.24414 9.95117 9.37207 10 9.5 10C9.62793 10 9.75586 9.95117 9.85352 9.85352C10.0488 9.6582 10.0488 9.3418 9.85352 9.14648L6.70703 6Z"/>
|
|
3
3
|
</svg>
|
|
4
|
+
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M4.5 9C4.77637 9 5 8.77637 5 8.5V4.5C5 4.22363 4.77637 4 4.5 4C4.22363 4 4 4.22363 4 4.5V8.5C4 8.77637 4.22363 9 4.5 9Z"
|
|
3
|
-
<path d="M6.5 9C6.77637 9 7 8.77637 7 8.5V4.5C7 4.22363 6.77637 4 6.5 4C6.22363 4 6 4.22363 6 4.5V8.5C6 8.77637 6.22363 9 6.5 9Z"
|
|
4
|
-
<path d="M8.5 9C8.77637 9 9 8.77637 9 8.5V4.5C9 4.22363 8.77637 4 8.5 4C8.22363 4 8 4.22363 8 4.5V8.5C8 8.77637 8.22363 9 8.5 9Z"
|
|
5
|
-
<path d="M11.5 1H7.9989L8 0.994629V0.494629C8 0.218262 7.77637 -0.00537109 7.5 -0.00537109H5.5C5.22363 -0.00537109 5 0.218262 5 0.494629V0.994629L5.0011 1H1.5C1.22363 1 1 1.22363 1 1.5C1 1.77637 1.22363 2 1.5 2H2V11.5C2 11.7764 2.22363 12 2.5 12H10.5C10.7764 12 11 11.7764 11 11.5V2H11.5C11.7764 2 12 1.77637 12 1.5C12 1.22363 11.7764 1 11.5 1ZM10 11H3V2.00537H10V11Z"
|
|
2
|
+
<path d="M4.5 9C4.77637 9 5 8.77637 5 8.5V4.5C5 4.22363 4.77637 4 4.5 4C4.22363 4 4 4.22363 4 4.5V8.5C4 8.77637 4.22363 9 4.5 9Z"/>
|
|
3
|
+
<path d="M6.5 9C6.77637 9 7 8.77637 7 8.5V4.5C7 4.22363 6.77637 4 6.5 4C6.22363 4 6 4.22363 6 4.5V8.5C6 8.77637 6.22363 9 6.5 9Z"/>
|
|
4
|
+
<path d="M8.5 9C8.77637 9 9 8.77637 9 8.5V4.5C9 4.22363 8.77637 4 8.5 4C8.22363 4 8 4.22363 8 4.5V8.5C8 8.77637 8.22363 9 8.5 9Z"/>
|
|
5
|
+
<path d="M11.5 1H7.9989L8 0.994629V0.494629C8 0.218262 7.77637 -0.00537109 7.5 -0.00537109H5.5C5.22363 -0.00537109 5 0.218262 5 0.494629V0.994629L5.0011 1H1.5C1.22363 1 1 1.22363 1 1.5C1 1.77637 1.22363 2 1.5 2H2V11.5C2 11.7764 2.22363 12 2.5 12H10.5C10.7764 12 11 11.7764 11 11.5V2H11.5C11.7764 2 12 1.77637 12 1.5C12 1.22363 11.7764 1 11.5 1ZM10 11H3V2.00537H10V11Z"/>
|
|
6
6
|
</svg>
|
|
7
|
+
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
<svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M7.85352 3.14648C7.6582 2.95117 7.3418 2.95117 7.14648 3.14648L5.5 4.79297L3.85352 3.14648C3.6582 2.95117 3.3418 2.95117 3.14648 3.14648C2.95117 3.3418 2.95117 3.6582 3.14648 3.85352L4.79297 5.5L3.14648 7.14648C2.95117 7.3418 2.95117 7.6582 3.14648 7.85352C3.24414 7.95117 3.37207 8 3.5 8C3.62793 8 3.75586 7.95117 3.85352 7.85352L5.5 6.20703L7.14648 7.85352C7.24414 7.95117 7.37207 8 7.5 8C7.62793 8 7.75586 7.95117 7.85352 7.85352C8.04883 7.6582 8.04883 7.3418 7.85352 7.14648L6.20703 5.5L7.85352 3.85352C8.04883 3.6582 8.04883 3.3418 7.85352 3.14648ZM5.5 0C2.46729 0 0 2.46729 0 5.5C0 8.53271 2.46729 11 5.5 11C8.53271 11 11 8.53271 11 5.5C11 2.46729 8.53271 0 5.5 0ZM5.5 10C3.01855 10 1 7.98145 1 5.5C1 3.01855 3.01855 1 5.5 1C7.98145 1 10 3.01855 10 5.5C10 7.98145 7.98145 10 5.5 10Z"
|
|
2
|
+
<path d="M7.85352 3.14648C7.6582 2.95117 7.3418 2.95117 7.14648 3.14648L5.5 4.79297L3.85352 3.14648C3.6582 2.95117 3.3418 2.95117 3.14648 3.14648C2.95117 3.3418 2.95117 3.6582 3.14648 3.85352L4.79297 5.5L3.14648 7.14648C2.95117 7.3418 2.95117 7.6582 3.14648 7.85352C3.24414 7.95117 3.37207 8 3.5 8C3.62793 8 3.75586 7.95117 3.85352 7.85352L5.5 6.20703L7.14648 7.85352C7.24414 7.95117 7.37207 8 7.5 8C7.62793 8 7.75586 7.95117 7.85352 7.85352C8.04883 7.6582 8.04883 7.3418 7.85352 7.14648L6.20703 5.5L7.85352 3.85352C8.04883 3.6582 8.04883 3.3418 7.85352 3.14648ZM5.5 0C2.46729 0 0 2.46729 0 5.5C0 8.53271 2.46729 11 5.5 11C8.53271 11 11 8.53271 11 5.5C11 2.46729 8.53271 0 5.5 0ZM5.5 10C3.01855 10 1 7.98145 1 5.5C1 3.01855 3.01855 1 5.5 1C7.98145 1 10 3.01855 10 5.5C10 7.98145 7.98145 10 5.5 10Z"/>
|
|
3
3
|
</svg>
|
|
4
|
+
|