@ukic/web-components 3.15.0 → 3.17.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/cjs/core.cjs.js +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-list.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer.cjs.entry.js +9 -5
- package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +2 -2
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +1 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination.cjs.entry.js +8 -4
- package/dist/cjs/ic-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +9 -6
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +14 -6
- package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js +18 -3
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/ic-button/ic-button.stories.js +3 -3
- package/dist/collection/components/ic-checkbox/ic-checkbox.css +2 -0
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.stories.js +18 -18
- package/dist/collection/components/ic-data-list/ic-data-list.css +1 -0
- package/dist/collection/components/ic-data-row/ic-data-row.css +2 -0
- package/dist/collection/components/ic-footer/ic-footer.js +29 -5
- package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
- package/dist/collection/components/ic-footer/ic-footer.stories.js +31 -0
- package/dist/collection/components/ic-hero/ic-hero.css +0 -2
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +9 -0
- package/dist/collection/components/ic-input-validation/ic-input-validation.css +2 -1
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.stories.js +17 -18
- package/dist/collection/components/ic-menu/ic-menu.css +8 -0
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +12 -0
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +2 -7
- package/dist/collection/components/ic-pagination/ic-pagination.js +28 -4
- package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -1
- package/dist/collection/components/ic-pagination/ic-pagination.stories.js +5 -3
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.stories.js +7 -7
- package/dist/collection/components/ic-radio-group/ic-radio-group.css +6 -6
- package/dist/collection/components/ic-radio-group/ic-radio-group.stories.js +12 -12
- package/dist/collection/components/ic-radio-option/ic-radio-option.css +60 -54
- package/dist/collection/components/ic-radio-option/ic-radio-option.js +9 -5
- package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.css +8 -0
- package/dist/collection/components/ic-search-bar/ic-search-bar.stories.js +19 -19
- package/dist/collection/components/ic-select/ic-select_(multi).stories.js +20 -20
- package/dist/collection/components/ic-select/ic-select_(searchable).stories.js +21 -21
- package/dist/collection/components/ic-tab-context/ic-tabs.stories.js +1 -1
- package/dist/collection/components/ic-text-field/ic-text-field.stories.js +19 -19
- package/dist/collection/components/ic-toast/ic-toast.css +26 -1
- package/dist/collection/components/ic-toast/ic-toast.js +39 -5
- package/dist/collection/components/ic-toast/ic-toast.js.map +1 -1
- package/dist/collection/components/ic-toast/ic-toast.stories.js +21 -9
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.stories.js +14 -14
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +52 -4
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js.map +1 -1
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.stories.js +7 -7
- package/dist/collection/components/ic-tooltip/ic-tooltip.stories.js +11 -11
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.stories.js +15 -15
- package/dist/collection/components/ic-typography/ic-typography.stories.js +1 -1
- package/dist/collection/patterns/top-nav-content-footer.stories.js +1 -1
- package/dist/components/ic-checkbox.js.map +1 -1
- package/dist/components/ic-data-list.js.map +1 -1
- package/dist/components/ic-data-row.js.map +1 -1
- package/dist/components/ic-footer.js +10 -5
- package/dist/components/ic-footer.js.map +1 -1
- package/dist/components/ic-hero.js.map +1 -1
- package/dist/components/ic-input-component-container2.js +1 -1
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-input-validation2.js +1 -1
- package/dist/components/ic-input-validation2.js.map +1 -1
- package/dist/components/ic-menu2.js +1 -1
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-group.js +1 -1
- package/dist/components/ic-navigation-group.js.map +1 -1
- package/dist/components/ic-navigation-item.js +1 -1
- package/dist/components/ic-navigation-item.js.map +1 -1
- package/dist/components/ic-pagination.js +9 -4
- package/dist/components/ic-pagination.js.map +1 -1
- package/dist/components/ic-popover-menu.js.map +1 -1
- package/dist/components/ic-radio-group.js +1 -1
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +10 -7
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +1 -1
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-side-navigation.js.map +1 -1
- package/dist/components/ic-skeleton.js.map +1 -1
- package/dist/components/ic-toast.js +15 -6
- package/dist/components/ic-toast.js.map +1 -1
- package/dist/components/ic-toggle-button-group.js +21 -4
- package/dist/components/ic-toggle-button-group.js.map +1 -1
- package/dist/core/core.css +28 -6
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/p-082e0068.entry.js +2 -0
- package/dist/core/p-082e0068.entry.js.map +1 -0
- package/dist/core/p-3238389a.entry.js +2 -0
- package/dist/core/p-3238389a.entry.js.map +1 -0
- package/dist/core/p-33e35173.entry.js.map +1 -1
- package/dist/core/p-3636be4f.entry.js +2 -0
- package/dist/core/p-3636be4f.entry.js.map +1 -0
- package/dist/core/p-52c66bfe.entry.js +2 -0
- package/dist/core/p-52c66bfe.entry.js.map +1 -0
- package/dist/core/p-6ed48c46.entry.js +2 -0
- package/dist/core/p-6ed48c46.entry.js.map +1 -0
- package/dist/core/p-8abcc114.entry.js.map +1 -1
- package/dist/core/p-9c52ee48.entry.js +2 -0
- package/dist/core/p-9c52ee48.entry.js.map +1 -0
- package/dist/core/p-afbba548.entry.js +2 -0
- package/dist/core/p-afbba548.entry.js.map +1 -0
- package/dist/core/p-b4a2f6fa.entry.js.map +1 -1
- package/dist/core/{p-0c4ceed9.entry.js → p-b59504f1.entry.js} +2 -2
- package/dist/core/p-b59504f1.entry.js.map +1 -0
- package/dist/core/p-b83a736d.entry.js +3 -0
- package/dist/core/p-b83a736d.entry.js.map +1 -0
- package/dist/core/{p-4bdeb62d.entry.js → p-bdda404b.entry.js} +2 -2
- package/dist/core/p-bdda404b.entry.js.map +1 -0
- package/dist/core/p-ca82850f.entry.js +2 -0
- package/dist/core/p-ca82850f.entry.js.map +1 -0
- package/dist/core/p-ffd0d9d1.entry.js.map +1 -1
- package/dist/esm/core.js +1 -1
- package/dist/esm/ic-checkbox.entry.js.map +1 -1
- package/dist/esm/ic-data-list.entry.js.map +1 -1
- package/dist/esm/ic-data-row.entry.js.map +1 -1
- package/dist/esm/ic-footer.entry.js +9 -5
- package/dist/esm/ic-footer.entry.js.map +1 -1
- package/dist/esm/ic-hero.entry.js.map +1 -1
- package/dist/esm/ic-input-component-container_3.entry.js +2 -2
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
- package/dist/esm/ic-input-label_2.entry.js +1 -1
- package/dist/esm/ic-input-label_2.entry.js.map +1 -1
- package/dist/esm/ic-navigation-group.entry.js +1 -1
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +1 -1
- package/dist/esm/ic-navigation-item.entry.js.map +1 -1
- package/dist/esm/ic-pagination.entry.js +8 -4
- package/dist/esm/ic-pagination.entry.js.map +1 -1
- package/dist/esm/ic-radio-group.entry.js +1 -1
- package/dist/esm/ic-radio-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +9 -6
- package/dist/esm/ic-radio-option.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +1 -1
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-toast.entry.js +14 -6
- package/dist/esm/ic-toast.entry.js.map +1 -1
- package/dist/esm/ic-toggle-button-group.entry.js +18 -3
- package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/ic-footer/ic-footer.d.ts +4 -0
- package/dist/types/components/ic-pagination/ic-pagination.d.ts +4 -0
- package/dist/types/components/ic-toast/ic-toast.d.ts +5 -1
- package/dist/types/components/ic-toggle-button-group/ic-toggle-button-group.d.ts +5 -0
- package/dist/types/components.d.ts +25 -0
- package/hydrate/index.js +72 -33
- package/hydrate/index.mjs +72 -33
- package/package.json +24 -24
- package/vscode-data.json +23 -0
- package/dist/core/p-042cfc35.entry.js +0 -2
- package/dist/core/p-042cfc35.entry.js.map +0 -1
- package/dist/core/p-06c950a3.entry.js +0 -2
- package/dist/core/p-06c950a3.entry.js.map +0 -1
- package/dist/core/p-0c4ceed9.entry.js.map +0 -1
- package/dist/core/p-11d8a504.entry.js +0 -3
- package/dist/core/p-11d8a504.entry.js.map +0 -1
- package/dist/core/p-14d43f64.entry.js +0 -2
- package/dist/core/p-14d43f64.entry.js.map +0 -1
- package/dist/core/p-3680f22c.entry.js +0 -2
- package/dist/core/p-3680f22c.entry.js.map +0 -1
- package/dist/core/p-4bdeb62d.entry.js.map +0 -1
- package/dist/core/p-762ea31a.entry.js +0 -2
- package/dist/core/p-762ea31a.entry.js.map +0 -1
- package/dist/core/p-a5415f6c.entry.js +0 -2
- package/dist/core/p-a5415f6c.entry.js.map +0 -1
- package/dist/core/p-b3cb1e35.entry.js +0 -2
- package/dist/core/p-b3cb1e35.entry.js.map +0 -1
- package/dist/core/p-e7af1e2d.entry.js +0 -2
- package/dist/core/p-e7af1e2d.entry.js.map +0 -1
|
@@ -27,7 +27,7 @@ export default {
|
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
export const Default = {
|
|
30
|
-
render: (
|
|
30
|
+
render: () =>
|
|
31
31
|
html` <ic-search-bar label="What is your favourite coffee?">
|
|
32
32
|
</ic-search-bar>`,
|
|
33
33
|
|
|
@@ -35,7 +35,7 @@ export const Default = {
|
|
|
35
35
|
};
|
|
36
36
|
|
|
37
37
|
export const Basic = {
|
|
38
|
-
render: (
|
|
38
|
+
render: () =>
|
|
39
39
|
html` <ic-search-bar label="What is your favourite coffee?"></ic-search-bar>
|
|
40
40
|
<script>
|
|
41
41
|
document.querySelector("ic-search-bar").options = [
|
|
@@ -54,7 +54,7 @@ export const Basic = {
|
|
|
54
54
|
};
|
|
55
55
|
|
|
56
56
|
export const WithCustomLabelAndValueFields = {
|
|
57
|
-
render: (
|
|
57
|
+
render: () =>
|
|
58
58
|
html` <ic-search-bar
|
|
59
59
|
label="What is your favourite coffee?"
|
|
60
60
|
label-field="urn"
|
|
@@ -77,7 +77,7 @@ export const WithCustomLabelAndValueFields = {
|
|
|
77
77
|
};
|
|
78
78
|
|
|
79
79
|
export const WithOptions = {
|
|
80
|
-
render: (
|
|
80
|
+
render: () =>
|
|
81
81
|
html` <ic-search-bar
|
|
82
82
|
label="What is your favourite coffee?"
|
|
83
83
|
value="Flat White"
|
|
@@ -103,7 +103,7 @@ export const WithOptions = {
|
|
|
103
103
|
};
|
|
104
104
|
|
|
105
105
|
export const WithOptionsNoFiltering = {
|
|
106
|
-
render: (
|
|
106
|
+
render: () =>
|
|
107
107
|
html` <ic-search-bar
|
|
108
108
|
label="What is your favourite coffee?"
|
|
109
109
|
disable-auto-filtering
|
|
@@ -125,7 +125,7 @@ export const WithOptionsNoFiltering = {
|
|
|
125
125
|
};
|
|
126
126
|
|
|
127
127
|
export const InAForm = {
|
|
128
|
-
render: (
|
|
128
|
+
render: () =>
|
|
129
129
|
html` <form>
|
|
130
130
|
<ic-search-bar
|
|
131
131
|
name="search-01"
|
|
@@ -137,7 +137,7 @@ export const InAForm = {
|
|
|
137
137
|
};
|
|
138
138
|
|
|
139
139
|
export const HelperText = {
|
|
140
|
-
render: (
|
|
140
|
+
render: () =>
|
|
141
141
|
html` <ic-search-bar
|
|
142
142
|
label="What is your favourite coffee?"
|
|
143
143
|
helper-text="Some helper text"
|
|
@@ -168,7 +168,7 @@ export const HelperText = {
|
|
|
168
168
|
};
|
|
169
169
|
|
|
170
170
|
export const Small = {
|
|
171
|
-
render: (
|
|
171
|
+
render: () =>
|
|
172
172
|
html` <ic-search-bar
|
|
173
173
|
label="What is your favourite coffee?"
|
|
174
174
|
size="small"
|
|
@@ -178,7 +178,7 @@ export const Small = {
|
|
|
178
178
|
};
|
|
179
179
|
|
|
180
180
|
export const HiddenLabel = {
|
|
181
|
-
render: (
|
|
181
|
+
render: () =>
|
|
182
182
|
html` <ic-search-bar
|
|
183
183
|
label="What is your favourite coffee?"
|
|
184
184
|
hide-label
|
|
@@ -188,7 +188,7 @@ export const HiddenLabel = {
|
|
|
188
188
|
};
|
|
189
189
|
|
|
190
190
|
export const Disabled = {
|
|
191
|
-
render: (
|
|
191
|
+
render: () =>
|
|
192
192
|
html` <ic-search-bar
|
|
193
193
|
label="What is your favourite coffee?"
|
|
194
194
|
disabled
|
|
@@ -198,7 +198,7 @@ export const Disabled = {
|
|
|
198
198
|
};
|
|
199
199
|
|
|
200
200
|
export const FullWidth = {
|
|
201
|
-
render: (
|
|
201
|
+
render: () =>
|
|
202
202
|
html` <ic-search-bar
|
|
203
203
|
label="What is your favourite coffee?"
|
|
204
204
|
full-width
|
|
@@ -224,7 +224,7 @@ export const FullWidth = {
|
|
|
224
224
|
};
|
|
225
225
|
|
|
226
226
|
export const ExternalFiltering = {
|
|
227
|
-
render: (
|
|
227
|
+
render: () =>
|
|
228
228
|
html` <ic-search-bar
|
|
229
229
|
label="Search for coffee"
|
|
230
230
|
placeholder="Type to search"
|
|
@@ -288,7 +288,7 @@ export const ExternalFiltering = {
|
|
|
288
288
|
};
|
|
289
289
|
|
|
290
290
|
export const ExternalFilteringWithLoading = {
|
|
291
|
-
render: (
|
|
291
|
+
render: () =>
|
|
292
292
|
html` <ic-search-bar
|
|
293
293
|
label="Search for coffee"
|
|
294
294
|
placeholder="Type to search"
|
|
@@ -356,7 +356,7 @@ export const ExternalFilteringWithLoading = {
|
|
|
356
356
|
};
|
|
357
357
|
|
|
358
358
|
export const ExternalFilteringWithCustomLoadingMessages = {
|
|
359
|
-
render: (
|
|
359
|
+
render: () =>
|
|
360
360
|
html` <ic-search-bar
|
|
361
361
|
label="Search for coffee"
|
|
362
362
|
placeholder="Type to search"
|
|
@@ -426,7 +426,7 @@ export const ExternalFilteringWithCustomLoadingMessages = {
|
|
|
426
426
|
};
|
|
427
427
|
|
|
428
428
|
export const QuerySearchMode = {
|
|
429
|
-
render: (
|
|
429
|
+
render: () =>
|
|
430
430
|
html` <ic-search-bar
|
|
431
431
|
label="What is your favourite coffee?"
|
|
432
432
|
search-mode="query"
|
|
@@ -447,7 +447,7 @@ export const QuerySearchMode = {
|
|
|
447
447
|
};
|
|
448
448
|
|
|
449
449
|
export const EmptyOptionListText = {
|
|
450
|
-
render: (
|
|
450
|
+
render: () =>
|
|
451
451
|
html` <ic-search-bar
|
|
452
452
|
label="What is your favourite coffee?"
|
|
453
453
|
empty-option-list-text="There's nothing here"
|
|
@@ -468,7 +468,7 @@ export const EmptyOptionListText = {
|
|
|
468
468
|
};
|
|
469
469
|
|
|
470
470
|
export const CharactersUntilSuggestion = {
|
|
471
|
-
render: (
|
|
471
|
+
render: () =>
|
|
472
472
|
html` <ic-search-bar
|
|
473
473
|
label="What is your favourite coffee?"
|
|
474
474
|
characters-until-suggestion="5"
|
|
@@ -489,7 +489,7 @@ export const CharactersUntilSuggestion = {
|
|
|
489
489
|
};
|
|
490
490
|
|
|
491
491
|
export const HintText = {
|
|
492
|
-
render: (
|
|
492
|
+
render: () =>
|
|
493
493
|
html` <ic-search-bar
|
|
494
494
|
label="What is your favourite coffee?"
|
|
495
495
|
assistive-hint-text="You can use up and down arrows to navigate the options when they are available, and press enter to select an option."
|
|
@@ -511,7 +511,7 @@ export const HintText = {
|
|
|
511
511
|
};
|
|
512
512
|
|
|
513
513
|
export const LongOptionLabels = {
|
|
514
|
-
render: (
|
|
514
|
+
render: () =>
|
|
515
515
|
html` <ic-search-bar label="What is your favourite coffee?"></ic-search-bar>
|
|
516
516
|
<script>
|
|
517
517
|
document.querySelector("ic-search-bar").options = [
|
|
@@ -25,7 +25,7 @@ export default {
|
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
export const Default = {
|
|
28
|
-
render: (
|
|
28
|
+
render: () =>
|
|
29
29
|
html`<ic-select
|
|
30
30
|
id="select-default"
|
|
31
31
|
label="What are your favourite types of coffee?"
|
|
@@ -66,7 +66,7 @@ export const Default = {
|
|
|
66
66
|
};
|
|
67
67
|
|
|
68
68
|
export const AsyncDefault = {
|
|
69
|
-
render: (
|
|
69
|
+
render: () =>
|
|
70
70
|
html`<ic-select
|
|
71
71
|
label="What are your favourite types of coffee?"
|
|
72
72
|
id="select-async"
|
|
@@ -96,7 +96,7 @@ export const AsyncDefault = {
|
|
|
96
96
|
};
|
|
97
97
|
|
|
98
98
|
export const DefaultValue = {
|
|
99
|
-
render: (
|
|
99
|
+
render: () =>
|
|
100
100
|
html`<ic-select
|
|
101
101
|
id="select-default-value"
|
|
102
102
|
label="What are your favourite types of coffee?"
|
|
@@ -123,7 +123,7 @@ export const DefaultValue = {
|
|
|
123
123
|
};
|
|
124
124
|
|
|
125
125
|
export const WithClearButton = {
|
|
126
|
-
render: (
|
|
126
|
+
render: () =>
|
|
127
127
|
html`<ic-select
|
|
128
128
|
id="select-clear"
|
|
129
129
|
label="What are your favourite types of coffee?"
|
|
@@ -150,7 +150,7 @@ export const WithClearButton = {
|
|
|
150
150
|
};
|
|
151
151
|
|
|
152
152
|
export const WithDescriptions = {
|
|
153
|
-
render: (
|
|
153
|
+
render: () =>
|
|
154
154
|
html`<ic-select
|
|
155
155
|
id="select-descriptions"
|
|
156
156
|
label="What are your favourite types of coffee?"
|
|
@@ -206,7 +206,7 @@ export const WithDescriptions = {
|
|
|
206
206
|
};
|
|
207
207
|
|
|
208
208
|
export const HelperText = {
|
|
209
|
-
render: (
|
|
209
|
+
render: () =>
|
|
210
210
|
html`<ic-select
|
|
211
211
|
label="What are your favourite types of coffee?"
|
|
212
212
|
multiple
|
|
@@ -241,7 +241,7 @@ export const HelperText = {
|
|
|
241
241
|
};
|
|
242
242
|
|
|
243
243
|
export const CustomPlaceholder = {
|
|
244
|
-
render: (
|
|
244
|
+
render: () =>
|
|
245
245
|
html`<ic-select
|
|
246
246
|
id="select-placeholder"
|
|
247
247
|
label="What are your favourite types of coffee?"
|
|
@@ -268,7 +268,7 @@ export const CustomPlaceholder = {
|
|
|
268
268
|
};
|
|
269
269
|
|
|
270
270
|
export const CustomComponents = {
|
|
271
|
-
render: (
|
|
271
|
+
render: () =>
|
|
272
272
|
html`<ic-select
|
|
273
273
|
id="select-custom-components"
|
|
274
274
|
label="What are your favourite types of coffee?"
|
|
@@ -311,7 +311,7 @@ export const CustomComponents = {
|
|
|
311
311
|
};
|
|
312
312
|
|
|
313
313
|
export const Sizes = {
|
|
314
|
-
render: (
|
|
314
|
+
render: () =>
|
|
315
315
|
html`<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
316
316
|
<ic-select
|
|
317
317
|
id="select-size-small"
|
|
@@ -381,7 +381,7 @@ export const Sizes = {
|
|
|
381
381
|
};
|
|
382
382
|
|
|
383
383
|
export const Disabled = {
|
|
384
|
-
render: (
|
|
384
|
+
render: () =>
|
|
385
385
|
html`<ic-select
|
|
386
386
|
id="select-disabled"
|
|
387
387
|
label="What are your favourite types of coffee?"
|
|
@@ -408,7 +408,7 @@ export const Disabled = {
|
|
|
408
408
|
};
|
|
409
409
|
|
|
410
410
|
export const DisabledOptions = {
|
|
411
|
-
render: (
|
|
411
|
+
render: () =>
|
|
412
412
|
html`<ic-select
|
|
413
413
|
id="select-disabled-options"
|
|
414
414
|
label="What are your favourite types of coffee?"
|
|
@@ -434,7 +434,7 @@ export const DisabledOptions = {
|
|
|
434
434
|
};
|
|
435
435
|
|
|
436
436
|
export const FullWidth = {
|
|
437
|
-
render: (
|
|
437
|
+
render: () =>
|
|
438
438
|
html`<ic-select
|
|
439
439
|
id="select-full-width"
|
|
440
440
|
label="What are your favourite types of coffee?"
|
|
@@ -461,7 +461,7 @@ export const FullWidth = {
|
|
|
461
461
|
};
|
|
462
462
|
|
|
463
463
|
export const HiddenLabel = {
|
|
464
|
-
render: (
|
|
464
|
+
render: () =>
|
|
465
465
|
html`<ic-select
|
|
466
466
|
id="select-hidden-label"
|
|
467
467
|
label="What are your favourite types of coffee?"
|
|
@@ -488,7 +488,7 @@ export const HiddenLabel = {
|
|
|
488
488
|
};
|
|
489
489
|
|
|
490
490
|
export const Required = {
|
|
491
|
-
render: (
|
|
491
|
+
render: () =>
|
|
492
492
|
html`<ic-select
|
|
493
493
|
id="select-required"
|
|
494
494
|
label="What are your favourite types of coffee?"
|
|
@@ -543,7 +543,7 @@ export const ReadOnly = {
|
|
|
543
543
|
};
|
|
544
544
|
|
|
545
545
|
export const Groups = {
|
|
546
|
-
render: (
|
|
546
|
+
render: () =>
|
|
547
547
|
html`<ic-select
|
|
548
548
|
id="select-groups"
|
|
549
549
|
label="What are your favourite types of coffee?"
|
|
@@ -576,7 +576,7 @@ export const Groups = {
|
|
|
576
576
|
};
|
|
577
577
|
|
|
578
578
|
export const Recommended = {
|
|
579
|
-
render: (
|
|
579
|
+
render: () =>
|
|
580
580
|
html`<ic-select
|
|
581
581
|
id="select-recommended"
|
|
582
582
|
label="What are your favourite types of coffee?"
|
|
@@ -602,7 +602,7 @@ export const Recommended = {
|
|
|
602
602
|
};
|
|
603
603
|
|
|
604
604
|
export const Validation = {
|
|
605
|
-
render: (
|
|
605
|
+
render: () =>
|
|
606
606
|
html`<ic-select
|
|
607
607
|
id="select-success"
|
|
608
608
|
label="What are your favourite types of coffee?"
|
|
@@ -674,7 +674,7 @@ export const Validation = {
|
|
|
674
674
|
};
|
|
675
675
|
|
|
676
676
|
export const ScrollBehaviour = {
|
|
677
|
-
render: (
|
|
677
|
+
render: () =>
|
|
678
678
|
html`<ic-select
|
|
679
679
|
id="select-scroll"
|
|
680
680
|
label="What are your favourite types of coffee?"
|
|
@@ -705,7 +705,7 @@ export const ScrollBehaviour = {
|
|
|
705
705
|
};
|
|
706
706
|
|
|
707
707
|
export const LoadingWithError = {
|
|
708
|
-
render: (
|
|
708
|
+
render: () =>
|
|
709
709
|
html`<ic-select
|
|
710
710
|
id="select-loading"
|
|
711
711
|
label="What are your favourite types of coffee?"
|
|
@@ -736,7 +736,7 @@ export const LoadingWithError = {
|
|
|
736
736
|
};
|
|
737
737
|
|
|
738
738
|
export const InForm = {
|
|
739
|
-
render: (
|
|
739
|
+
render: () => html`
|
|
740
740
|
<form>
|
|
741
741
|
<ic-select
|
|
742
742
|
id="select-form"
|
|
@@ -27,7 +27,7 @@ export default {
|
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
export const Default = {
|
|
30
|
-
render: (
|
|
30
|
+
render: () =>
|
|
31
31
|
html`<ic-select
|
|
32
32
|
id="select-default"
|
|
33
33
|
label="What is your favourite coffee?"
|
|
@@ -65,7 +65,7 @@ export const Default = {
|
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
export const AsyncDefault = {
|
|
68
|
-
render: (
|
|
68
|
+
render: () =>
|
|
69
69
|
html`<ic-select
|
|
70
70
|
id="select-async"
|
|
71
71
|
label="What is your favourite coffee?"
|
|
@@ -95,7 +95,7 @@ export const AsyncDefault = {
|
|
|
95
95
|
};
|
|
96
96
|
|
|
97
97
|
export const DefaultValue = {
|
|
98
|
-
render: (
|
|
98
|
+
render: () =>
|
|
99
99
|
html`<ic-select
|
|
100
100
|
id="select-default-value"
|
|
101
101
|
label="What is your favourite coffee?"
|
|
@@ -122,7 +122,7 @@ export const DefaultValue = {
|
|
|
122
122
|
};
|
|
123
123
|
|
|
124
124
|
export const FilterByStartOfOptions = {
|
|
125
|
-
render: (
|
|
125
|
+
render: () =>
|
|
126
126
|
html`<ic-select
|
|
127
127
|
id="select-filter-start"
|
|
128
128
|
label="What is your favourite coffee?"
|
|
@@ -149,7 +149,7 @@ export const FilterByStartOfOptions = {
|
|
|
149
149
|
};
|
|
150
150
|
|
|
151
151
|
export const WithDescriptions = {
|
|
152
|
-
render: (
|
|
152
|
+
render: () =>
|
|
153
153
|
html`<ic-select
|
|
154
154
|
id="select-descriptions"
|
|
155
155
|
label="What is your favourite coffee?"
|
|
@@ -205,7 +205,7 @@ export const WithDescriptions = {
|
|
|
205
205
|
};
|
|
206
206
|
|
|
207
207
|
export const WithDescriptionsIncludedInSearch = {
|
|
208
|
-
render: (
|
|
208
|
+
render: () =>
|
|
209
209
|
html`<ic-select
|
|
210
210
|
id="select-descriptions-included"
|
|
211
211
|
label="What is your favourite coffee?"
|
|
@@ -262,7 +262,7 @@ export const WithDescriptionsIncludedInSearch = {
|
|
|
262
262
|
};
|
|
263
263
|
|
|
264
264
|
export const HelperText = {
|
|
265
|
-
render: (
|
|
265
|
+
render: () =>
|
|
266
266
|
html`<ic-select
|
|
267
267
|
label="What is your favourite coffee?"
|
|
268
268
|
searchable
|
|
@@ -297,7 +297,7 @@ export const HelperText = {
|
|
|
297
297
|
};
|
|
298
298
|
|
|
299
299
|
export const Sizes = {
|
|
300
|
-
render: (
|
|
300
|
+
render: () =>
|
|
301
301
|
html`<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
302
302
|
<ic-select
|
|
303
303
|
id="select-size-small"
|
|
@@ -367,7 +367,7 @@ export const Sizes = {
|
|
|
367
367
|
};
|
|
368
368
|
|
|
369
369
|
export const Disabled = {
|
|
370
|
-
render: (
|
|
370
|
+
render: () =>
|
|
371
371
|
html`<ic-select
|
|
372
372
|
id="select-disabled"
|
|
373
373
|
label="What is your favourite coffee?"
|
|
@@ -394,7 +394,7 @@ export const Disabled = {
|
|
|
394
394
|
};
|
|
395
395
|
|
|
396
396
|
export const DisabledOptions = {
|
|
397
|
-
render: (
|
|
397
|
+
render: () =>
|
|
398
398
|
html`<ic-select
|
|
399
399
|
id="select-disabled-options"
|
|
400
400
|
label="What is your favourite coffee?"
|
|
@@ -420,7 +420,7 @@ export const DisabledOptions = {
|
|
|
420
420
|
};
|
|
421
421
|
|
|
422
422
|
export const HiddenLabel = {
|
|
423
|
-
render: (
|
|
423
|
+
render: () =>
|
|
424
424
|
html`<ic-select
|
|
425
425
|
id="select-hidden-label"
|
|
426
426
|
label="What is your favourite coffee?"
|
|
@@ -447,7 +447,7 @@ export const HiddenLabel = {
|
|
|
447
447
|
};
|
|
448
448
|
|
|
449
449
|
export const Required = {
|
|
450
|
-
render: (
|
|
450
|
+
render: () =>
|
|
451
451
|
html`<ic-select
|
|
452
452
|
id="select-required"
|
|
453
453
|
label="What is your favourite coffee?"
|
|
@@ -474,7 +474,7 @@ export const Required = {
|
|
|
474
474
|
};
|
|
475
475
|
|
|
476
476
|
export const Groups = {
|
|
477
|
-
render: (
|
|
477
|
+
render: () =>
|
|
478
478
|
html`<ic-select
|
|
479
479
|
id="select-groups"
|
|
480
480
|
label="What is your favourite coffee?"
|
|
@@ -507,7 +507,7 @@ export const Groups = {
|
|
|
507
507
|
};
|
|
508
508
|
|
|
509
509
|
export const GroupsGroupTitlesIncludedInSearch = {
|
|
510
|
-
render: (
|
|
510
|
+
render: () =>
|
|
511
511
|
html`<ic-select
|
|
512
512
|
id="select-groups-included"
|
|
513
513
|
label="What is your favourite coffee?"
|
|
@@ -541,7 +541,7 @@ export const GroupsGroupTitlesIncludedInSearch = {
|
|
|
541
541
|
};
|
|
542
542
|
|
|
543
543
|
export const Recommended = {
|
|
544
|
-
render: (
|
|
544
|
+
render: () =>
|
|
545
545
|
html`<ic-select
|
|
546
546
|
id="select-recommended"
|
|
547
547
|
label="What is your favourite coffee?"
|
|
@@ -567,7 +567,7 @@ export const Recommended = {
|
|
|
567
567
|
};
|
|
568
568
|
|
|
569
569
|
export const Validation = {
|
|
570
|
-
render: (
|
|
570
|
+
render: () =>
|
|
571
571
|
html`<ic-select
|
|
572
572
|
id="select-success"
|
|
573
573
|
label="What is your favourite coffee?"
|
|
@@ -642,7 +642,7 @@ export const Validation = {
|
|
|
642
642
|
};
|
|
643
643
|
|
|
644
644
|
export const ScrollBehaviour = {
|
|
645
|
-
render: (
|
|
645
|
+
render: () =>
|
|
646
646
|
html`<ic-select
|
|
647
647
|
id="select-scroll"
|
|
648
648
|
label="What is your favourite coffee?"
|
|
@@ -672,7 +672,7 @@ export const ScrollBehaviour = {
|
|
|
672
672
|
};
|
|
673
673
|
|
|
674
674
|
export const ExternalFiltering = {
|
|
675
|
-
render: (
|
|
675
|
+
render: () =>
|
|
676
676
|
html`<ic-select
|
|
677
677
|
label="What is your favourite coffee?"
|
|
678
678
|
searchable
|
|
@@ -742,7 +742,7 @@ export const ExternalFiltering = {
|
|
|
742
742
|
};
|
|
743
743
|
|
|
744
744
|
export const InForm = {
|
|
745
|
-
render: (
|
|
745
|
+
render: () => html`
|
|
746
746
|
<form>
|
|
747
747
|
<ic-select
|
|
748
748
|
id="select-form"
|
|
@@ -775,7 +775,7 @@ export const InForm = {
|
|
|
775
775
|
};
|
|
776
776
|
|
|
777
777
|
export const UpdateInputValueFromExternalRequest = {
|
|
778
|
-
render: (
|
|
778
|
+
render: () =>
|
|
779
779
|
html`<ic-section-container>
|
|
780
780
|
<ic-select
|
|
781
781
|
id="select-external-request"
|
|
@@ -811,7 +811,7 @@ export const UpdateInputValueFromExternalRequest = {
|
|
|
811
811
|
};
|
|
812
812
|
|
|
813
813
|
export const EmittingIcOptionSelectOnEnter = {
|
|
814
|
-
render: (
|
|
814
|
+
render: () =>
|
|
815
815
|
html`<ic-select
|
|
816
816
|
id="select-icoptionselect"
|
|
817
817
|
label="What is your favourite coffee?"
|
|
@@ -41,7 +41,7 @@ const defaultArgs = {
|
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
export const Default = {
|
|
44
|
-
render: (
|
|
44
|
+
render: () =>
|
|
45
45
|
html`<ic-text-field label="What is your favourite coffee?"> </ic-text-field>
|
|
46
46
|
<ic-text-field rows="6" label="What is your favourite coffee?">
|
|
47
47
|
</ic-text-field>`,
|
|
@@ -50,7 +50,7 @@ export const Default = {
|
|
|
50
50
|
};
|
|
51
51
|
|
|
52
52
|
export const Autofocus = {
|
|
53
|
-
render: (
|
|
53
|
+
render: () =>
|
|
54
54
|
html`<ic-text-field autofocus label="What is your favourite coffee?">
|
|
55
55
|
</ic-text-field>`,
|
|
56
56
|
|
|
@@ -58,7 +58,7 @@ export const Autofocus = {
|
|
|
58
58
|
};
|
|
59
59
|
|
|
60
60
|
export const PlaceholderAndRequired = {
|
|
61
|
-
render: (
|
|
61
|
+
render: () =>
|
|
62
62
|
html`<ic-text-field
|
|
63
63
|
label="What is your favourite coffee?"
|
|
64
64
|
required
|
|
@@ -77,7 +77,7 @@ export const PlaceholderAndRequired = {
|
|
|
77
77
|
};
|
|
78
78
|
|
|
79
79
|
export const HelperText = {
|
|
80
|
-
render: (
|
|
80
|
+
render: () =>
|
|
81
81
|
html`<ic-text-field
|
|
82
82
|
label="What is your favourite coffee?"
|
|
83
83
|
required
|
|
@@ -109,7 +109,7 @@ export const HelperText = {
|
|
|
109
109
|
};
|
|
110
110
|
|
|
111
111
|
export const WithIcon = {
|
|
112
|
-
render: (
|
|
112
|
+
render: () =>
|
|
113
113
|
html`<ic-text-field
|
|
114
114
|
label="What is your favourite coffee?"
|
|
115
115
|
required
|
|
@@ -156,7 +156,7 @@ export const WithIcon = {
|
|
|
156
156
|
};
|
|
157
157
|
|
|
158
158
|
export const WithValue = {
|
|
159
|
-
render: (
|
|
159
|
+
render: () =>
|
|
160
160
|
html`<ic-text-field
|
|
161
161
|
value="Arabica"
|
|
162
162
|
label="What is your favourite coffee?"
|
|
@@ -205,7 +205,7 @@ export const WithValue = {
|
|
|
205
205
|
};
|
|
206
206
|
|
|
207
207
|
export const CustomWidth = {
|
|
208
|
-
render: (
|
|
208
|
+
render: () =>
|
|
209
209
|
html`<style>
|
|
210
210
|
ic-text-field {
|
|
211
211
|
--input-width: 400px;
|
|
@@ -264,7 +264,7 @@ export const CustomWidth = {
|
|
|
264
264
|
};
|
|
265
265
|
|
|
266
266
|
export const FullWidth = {
|
|
267
|
-
render: (
|
|
267
|
+
render: () =>
|
|
268
268
|
html`<div style="display: flex">
|
|
269
269
|
<ic-text-field
|
|
270
270
|
full-width="true"
|
|
@@ -322,7 +322,7 @@ export const FullWidth = {
|
|
|
322
322
|
};
|
|
323
323
|
|
|
324
324
|
export const Disabled = {
|
|
325
|
-
render: (
|
|
325
|
+
render: () =>
|
|
326
326
|
html`<ic-text-field
|
|
327
327
|
value="Arabica"
|
|
328
328
|
label="What is your favourite coffee?"
|
|
@@ -416,7 +416,7 @@ export const Disabled = {
|
|
|
416
416
|
};
|
|
417
417
|
|
|
418
418
|
export const ReadOnly = {
|
|
419
|
-
render: (
|
|
419
|
+
render: () =>
|
|
420
420
|
html`<ic-text-field
|
|
421
421
|
value="Arabica"
|
|
422
422
|
max-characters="25"
|
|
@@ -486,7 +486,7 @@ export const ReadOnly = {
|
|
|
486
486
|
};
|
|
487
487
|
|
|
488
488
|
export const Validation = {
|
|
489
|
-
render: (
|
|
489
|
+
render: () =>
|
|
490
490
|
html`<ic-text-field
|
|
491
491
|
validation-status="success"
|
|
492
492
|
validation-text="Good choice!"
|
|
@@ -802,7 +802,7 @@ export const Validation = {
|
|
|
802
802
|
};
|
|
803
803
|
|
|
804
804
|
export const AriaLiveBehaviour = {
|
|
805
|
-
render: (
|
|
805
|
+
render: () =>
|
|
806
806
|
html`<ic-text-field
|
|
807
807
|
id="field-1"
|
|
808
808
|
label="What is your favourite coffee?"
|
|
@@ -886,7 +886,7 @@ export const AriaLiveBehaviour = {
|
|
|
886
886
|
};
|
|
887
887
|
|
|
888
888
|
export const TextAreaWithResize = {
|
|
889
|
-
render: (
|
|
889
|
+
render: () =>
|
|
890
890
|
html`<ic-text-field
|
|
891
891
|
rows="6"
|
|
892
892
|
value="Arabica"
|
|
@@ -915,7 +915,7 @@ export const TextAreaWithResize = {
|
|
|
915
915
|
};
|
|
916
916
|
|
|
917
917
|
export const Form = {
|
|
918
|
-
render: (
|
|
918
|
+
render: () => html`
|
|
919
919
|
<form>
|
|
920
920
|
<ic-text-field label="What is your favourite coffee?"></ic-text-field>
|
|
921
921
|
<br />
|
|
@@ -937,7 +937,7 @@ export const Form = {
|
|
|
937
937
|
};
|
|
938
938
|
|
|
939
939
|
export const MinAndMax = {
|
|
940
|
-
render: (
|
|
940
|
+
render: () =>
|
|
941
941
|
html`<ic-text-field
|
|
942
942
|
inputmode="numeric"
|
|
943
943
|
label="How many coffees do you want?"
|
|
@@ -963,7 +963,7 @@ export const MinAndMax = {
|
|
|
963
963
|
};
|
|
964
964
|
|
|
965
965
|
export const LoggingIcChange = {
|
|
966
|
-
render: (
|
|
966
|
+
render: () =>
|
|
967
967
|
html`<script>
|
|
968
968
|
function handleIcChange(ev) {
|
|
969
969
|
console.log(ev.detail.value, "icChange");
|
|
@@ -978,7 +978,7 @@ export const LoggingIcChange = {
|
|
|
978
978
|
};
|
|
979
979
|
|
|
980
980
|
export const LoggingIcKeydown = {
|
|
981
|
-
render: (
|
|
981
|
+
render: () =>
|
|
982
982
|
html`<script>
|
|
983
983
|
function handleIcChange(ev) {
|
|
984
984
|
console.log(ev.detail.value, "icChange");
|
|
@@ -1000,7 +1000,7 @@ export const LoggingIcKeydown = {
|
|
|
1000
1000
|
};
|
|
1001
1001
|
|
|
1002
1002
|
export const MaximumAndMinimumCharacters = {
|
|
1003
|
-
render: (
|
|
1003
|
+
render: () =>
|
|
1004
1004
|
html`<ic-text-field
|
|
1005
1005
|
max-characters="2"
|
|
1006
1006
|
label="What is your favourite coffee?"
|
|
@@ -1034,7 +1034,7 @@ export const MaximumAndMinimumCharacters = {
|
|
|
1034
1034
|
};
|
|
1035
1035
|
|
|
1036
1036
|
export const Internationalisation = {
|
|
1037
|
-
render: (
|
|
1037
|
+
render: () =>
|
|
1038
1038
|
html`<span lang="fr">
|
|
1039
1039
|
<ic-text-field
|
|
1040
1040
|
label="Boisson préférée"
|