@aurodesignsystem/auro-formkit 5.6.0 → 5.8.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/CHANGELOG.md +12 -6
- package/components/bibtemplate/dist/buttonVersion.d.ts +1 -1
- package/components/bibtemplate/dist/headerVersion.d.ts +1 -1
- package/components/bibtemplate/dist/iconVersion.d.ts +1 -1
- package/components/bibtemplate/dist/index.js +120 -1659
- package/components/bibtemplate/dist/registered.js +120 -1659
- package/components/checkbox/demo/api.html +2 -2
- package/components/checkbox/demo/api.md +31 -28
- package/components/checkbox/demo/api.min.js +148 -10
- package/components/checkbox/demo/index.html +1 -1
- package/components/checkbox/demo/index.md +18 -18
- package/components/checkbox/demo/index.min.js +148 -10
- package/components/checkbox/dist/auro-checkbox-group.d.ts +11 -1
- package/components/checkbox/dist/auro-checkbox.d.ts +11 -1
- package/components/checkbox/dist/index.js +148 -10
- package/components/checkbox/dist/registered.js +148 -10
- package/components/combobox/demo/api.html +4 -4
- package/components/combobox/demo/api.md +256 -63
- package/components/combobox/demo/api.min.js +4500 -7887
- package/components/combobox/demo/index.html +3 -3
- package/components/combobox/demo/index.md +114 -10
- package/components/combobox/demo/index.min.js +5671 -9058
- package/components/combobox/dist/auro-combobox.d.ts +29 -10
- package/components/combobox/dist/index.js +4500 -7510
- package/components/combobox/dist/registered.js +4500 -7510
- package/components/counter/demo/api.html +3 -3
- package/components/counter/demo/api.md +35 -26
- package/components/counter/demo/api.min.js +2968 -6073
- package/components/counter/demo/index.html +3 -3
- package/components/counter/demo/index.md +42 -42
- package/components/counter/demo/index.min.js +2968 -6073
- package/components/counter/dist/auro-counter-button.d.ts +2 -11
- package/components/counter/dist/auro-counter-group.d.ts +11 -1
- package/components/counter/dist/auro-counter.d.ts +9 -1
- package/components/counter/dist/iconVersion.d.ts +1 -1
- package/components/counter/dist/index.js +4915 -8020
- package/components/counter/dist/registered.js +4915 -8020
- package/components/datepicker/demo/api.html +3 -3
- package/components/datepicker/demo/api.md +111 -21
- package/components/datepicker/demo/api.min.js +10474 -14790
- package/components/datepicker/demo/index.html +2 -2
- package/components/datepicker/demo/index.md +30 -30
- package/components/datepicker/demo/index.min.js +10474 -14790
- package/components/datepicker/dist/auro-calendar-cell.d.ts +6 -0
- package/components/datepicker/dist/auro-calendar.d.ts +8 -0
- package/components/datepicker/dist/auro-datepicker.d.ts +21 -1
- package/components/datepicker/dist/index.js +10367 -14683
- package/components/datepicker/dist/registered.js +10367 -14683
- package/components/dropdown/demo/api.html +5 -5
- package/components/dropdown/demo/api.md +38 -29
- package/components/dropdown/demo/api.min.js +88 -417
- package/components/dropdown/demo/index.html +3 -3
- package/components/dropdown/demo/index.md +16 -16
- package/components/dropdown/demo/index.min.js +88 -417
- package/components/dropdown/dist/auro-dropdown.d.ts +11 -1
- package/components/dropdown/dist/index.js +75 -404
- package/components/dropdown/dist/registered.js +75 -404
- package/components/form/demo/api.html +1 -1
- package/components/form/demo/api.min.js +13 -0
- package/components/form/demo/index.html +1 -1
- package/components/form/demo/index.min.js +13 -0
- package/components/form/demo/working.html +2 -2
- package/components/form/dist/index.js +13 -0
- package/components/form/dist/registered.js +13 -0
- package/components/helptext/dist/auro-helptext.d.ts +11 -1
- package/components/helptext/dist/index.js +26 -2
- package/components/helptext/dist/registered.js +26 -2
- package/components/input/demo/api.html +3 -3
- package/components/input/demo/api.js +1 -1
- package/components/input/demo/api.md +37 -34
- package/components/input/demo/api.min.js +323 -1580
- package/components/input/demo/index.html +1 -2
- package/components/input/demo/index.md +17 -17
- package/components/input/demo/index.min.js +323 -1580
- package/components/input/dist/base-input.d.ts +11 -1
- package/components/input/dist/buttonVersion.d.ts +1 -1
- package/components/input/dist/iconVersion.d.ts +1 -1
- package/components/input/dist/index.js +289 -1546
- package/components/input/dist/registered.js +289 -1546
- package/components/menu/demo/api.html +4 -4
- package/components/menu/demo/api.min.js +57 -421
- package/components/menu/demo/index.html +1 -1
- package/components/menu/demo/index.min.js +57 -421
- package/components/menu/dist/iconVersion.d.ts +1 -1
- package/components/menu/dist/index.js +49 -413
- package/components/menu/dist/registered.js +49 -413
- package/components/radio/demo/api.html +2 -2
- package/components/radio/demo/api.md +46 -44
- package/components/radio/demo/api.min.js +183 -14
- package/components/radio/demo/index.html +1 -1
- package/components/radio/demo/index.md +12 -12
- package/components/radio/demo/index.min.js +183 -14
- package/components/radio/dist/auro-radio-group.d.ts +25 -1
- package/components/radio/dist/auro-radio.d.ts +11 -1
- package/components/radio/dist/index.js +183 -14
- package/components/radio/dist/registered.js +183 -14
- package/components/select/demo/api.html +4 -4
- package/components/select/demo/api.md +20 -19
- package/components/select/demo/api.min.js +2859 -4984
- package/components/select/demo/index.html +3 -3
- package/components/select/demo/index.md +25 -25
- package/components/select/demo/index.min.js +2859 -4984
- package/components/select/dist/auro-select.d.ts +11 -1
- package/components/select/dist/index.js +990 -2738
- package/components/select/dist/registered.js +990 -2738
- package/package.json +15 -15
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
</script>
|
|
51
51
|
|
|
52
52
|
<!-- If additional elements are needed for the demo, add them here. -->
|
|
53
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-accordion@latest
|
|
54
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-button@latest
|
|
55
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-icon@latest
|
|
53
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-accordion@latest/+esm" type="module"></script>
|
|
54
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-button@latest/+esm" type="module"></script>
|
|
55
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-icon@latest/+esm" type="module"></script>
|
|
56
56
|
|
|
57
57
|
<script type="module" data-demo-script="true">
|
|
58
58
|
import { initExamples } from "./index.min.js"
|
|
@@ -49,9 +49,9 @@ The `<auro-combobox>` element should be used in situations where users may:
|
|
|
49
49
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
50
50
|
</div>
|
|
51
51
|
<div class="exampleWrapper--ondark">
|
|
52
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/classic/
|
|
53
|
-
<!-- The below content is automatically added from ./../apiExamples/classic/
|
|
54
|
-
<auro-combobox layout="classic" shape="classic" size="lg" placeholder="Placeholder content"
|
|
52
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/classic/inverseAppearance.html) -->
|
|
53
|
+
<!-- The below content is automatically added from ./../apiExamples/classic/inverseAppearance.html -->
|
|
54
|
+
<auro-combobox layout="classic" shape="classic" size="lg" placeholder="Placeholder content" appearance="inverse" required style="width: 249px;">
|
|
55
55
|
<span slot="ariaLabel.bib.close">Close combobox</span>
|
|
56
56
|
<span slot="ariaLabel.input.clear">Clear All</span>
|
|
57
57
|
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
@@ -107,7 +107,7 @@ The `<auro-combobox>` element should be used in situations where users may:
|
|
|
107
107
|
<div class="exampleWrapper--ondark">
|
|
108
108
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/snowflake/basic.html) -->
|
|
109
109
|
<!-- The below content is automatically added from ./../apiExamples/snowflake/basic.html -->
|
|
110
|
-
<auro-combobox layout="snowflake" shape="snowflake" size="lg" placeholder="Placeholder content" required
|
|
110
|
+
<auro-combobox layout="snowflake" shape="snowflake" size="lg" placeholder="Placeholder content" required appearance="inverse" style="width: 249px;">
|
|
111
111
|
<span slot="ariaLabel.bib.close">Close combobox</span>
|
|
112
112
|
<span slot="ariaLabel.input.clear">Clear All</span>
|
|
113
113
|
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
@@ -126,6 +126,9 @@ The `<auro-combobox>` element should be used in situations where users may:
|
|
|
126
126
|
</auro-combobox>
|
|
127
127
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
128
128
|
</div>
|
|
129
|
+
|
|
130
|
+
### Basic
|
|
131
|
+
|
|
129
132
|
<div class="exampleWrapper">
|
|
130
133
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
131
134
|
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
@@ -146,9 +149,9 @@ The `<auro-combobox>` element should be used in situations where users may:
|
|
|
146
149
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
147
150
|
</div>
|
|
148
151
|
<div class="exampleWrapper--ondark" aria-hidden>
|
|
149
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/
|
|
150
|
-
<!-- The below content is automatically added from ./../apiExamples/
|
|
151
|
-
<auro-combobox
|
|
152
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/inverseAppearance.html) -->
|
|
153
|
+
<!-- The below content is automatically added from ./../apiExamples/inverseAppearance.html -->
|
|
154
|
+
<auro-combobox appearance="inverse">
|
|
152
155
|
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
153
156
|
<span slot="label">Name</span>
|
|
154
157
|
<auro-menu>
|
|
@@ -184,9 +187,9 @@ The `<auro-combobox>` element should be used in situations where users may:
|
|
|
184
187
|
</auro-combobox>
|
|
185
188
|
```
|
|
186
189
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
187
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/
|
|
188
|
-
<!-- The below content is automatically added from ./../apiExamples/
|
|
189
|
-
<auro-combobox
|
|
190
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/inverseAppearance.html) -->
|
|
191
|
+
<!-- The below content is automatically added from ./../apiExamples/inverseAppearance.html -->
|
|
192
|
+
<auro-combobox appearance="inverse">
|
|
190
193
|
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
191
194
|
<span slot="label">Name</span>
|
|
192
195
|
<auro-menu>
|
|
@@ -201,6 +204,107 @@ The `<auro-combobox>` element should be used in situations where users may:
|
|
|
201
204
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
202
205
|
</auro-accordion>
|
|
203
206
|
|
|
207
|
+
### Behavior
|
|
208
|
+
|
|
209
|
+
There are two behaviors available for the combo box: suggestion and filter.
|
|
210
|
+
The default behavior is "suggestion".
|
|
211
|
+
|
|
212
|
+
#### Suggestion
|
|
213
|
+
|
|
214
|
+
With the suggestion behavior, the menu options are displayed to the user as suggestions, but the user may enter whatever value they like into the input
|
|
215
|
+
|
|
216
|
+
<div class="exampleWrapper">
|
|
217
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/suggestion.html) -->
|
|
218
|
+
<!-- The below content is automatically added from ./../apiExamples/suggestion.html -->
|
|
219
|
+
<auro-combobox behavior="suggestion">
|
|
220
|
+
<span slot="ariaLabel.bib.close">Close combobox</span>
|
|
221
|
+
<span slot="ariaLabel.input.clear">Clear All</span>
|
|
222
|
+
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
223
|
+
<span slot="label">Name</span>
|
|
224
|
+
<auro-menu>
|
|
225
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
226
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
227
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
228
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
229
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
230
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
231
|
+
</auro-menu>
|
|
232
|
+
</auro-combobox>
|
|
233
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
234
|
+
</div>
|
|
235
|
+
<auro-accordion alignRight>
|
|
236
|
+
<span slot="trigger">See code</span>
|
|
237
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/suggestion.html) -->
|
|
238
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/suggestion.html -->
|
|
239
|
+
|
|
240
|
+
```html
|
|
241
|
+
<auro-combobox behavior="suggestion">
|
|
242
|
+
<span slot="ariaLabel.bib.close">Close combobox</span>
|
|
243
|
+
<span slot="ariaLabel.input.clear">Clear All</span>
|
|
244
|
+
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
245
|
+
<span slot="label">Name</span>
|
|
246
|
+
<auro-menu>
|
|
247
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
248
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
249
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
250
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
251
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
252
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
253
|
+
</auro-menu>
|
|
254
|
+
</auro-combobox>
|
|
255
|
+
```
|
|
256
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
257
|
+
</auro-accordion>
|
|
258
|
+
|
|
259
|
+
#### Filter
|
|
260
|
+
|
|
261
|
+
With the filter behavior, the menu options are displayed to the user, and the user is required to choose one of the menu options in order for the input to be considered valid.
|
|
262
|
+
|
|
263
|
+
The `setCustomValidityValueMissingFilter` attribute is also available to display a custom message to the user when this validation check fails.
|
|
264
|
+
|
|
265
|
+
<div class="exampleWrapper">
|
|
266
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/filter.html) -->
|
|
267
|
+
<!-- The below content is automatically added from ./../apiExamples/filter.html -->
|
|
268
|
+
<auro-combobox behavior="filter" setCustomValidityValueMissingFilter="Please select an option from the list">
|
|
269
|
+
<span slot="ariaLabel.bib.close">Close combobox</span>
|
|
270
|
+
<span slot="ariaLabel.input.clear">Clear All</span>
|
|
271
|
+
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
272
|
+
<span slot="label">Name</span>
|
|
273
|
+
<auro-menu>
|
|
274
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
275
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
276
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
277
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
278
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
279
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
280
|
+
</auro-menu>
|
|
281
|
+
</auro-combobox>
|
|
282
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
283
|
+
</div>
|
|
284
|
+
<auro-accordion alignRight>
|
|
285
|
+
<span slot="trigger">See code</span>
|
|
286
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/filter.html) -->
|
|
287
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/filter.html -->
|
|
288
|
+
|
|
289
|
+
```html
|
|
290
|
+
<auro-combobox behavior="filter" setCustomValidityValueMissingFilter="Please select an option from the list">
|
|
291
|
+
<span slot="ariaLabel.bib.close">Close combobox</span>
|
|
292
|
+
<span slot="ariaLabel.input.clear">Clear All</span>
|
|
293
|
+
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
294
|
+
<span slot="label">Name</span>
|
|
295
|
+
<auro-menu>
|
|
296
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
297
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
298
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
299
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
300
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
301
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
302
|
+
</auro-menu>
|
|
303
|
+
</auro-combobox>
|
|
304
|
+
```
|
|
305
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
306
|
+
</auro-accordion>
|
|
307
|
+
|
|
204
308
|
### Airports example
|
|
205
309
|
|
|
206
310
|
<div class="exampleWrapper">
|