@aurodesignsystem/auro-formkit 5.6.0 → 5.7.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 +22 -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 +82 -8
- package/components/checkbox/demo/index.html +1 -1
- package/components/checkbox/demo/index.md +18 -18
- package/components/checkbox/demo/index.min.js +82 -8
- 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 +82 -8
- package/components/checkbox/dist/registered.js +82 -8
- package/components/combobox/demo/api.html +4 -4
- package/components/combobox/demo/api.md +28 -27
- package/components/combobox/demo/api.min.js +5041 -8577
- package/components/combobox/demo/index.html +3 -3
- package/components/combobox/demo/index.md +10 -10
- package/components/combobox/demo/index.min.js +7543 -11079
- package/components/combobox/dist/auro-combobox.d.ts +11 -9
- package/components/combobox/dist/index.js +4507 -7666
- package/components/combobox/dist/registered.js +4507 -7666
- package/components/counter/demo/api.html +3 -3
- package/components/counter/demo/api.md +35 -26
- package/components/counter/demo/api.min.js +4890 -8059
- package/components/counter/demo/index.html +3 -3
- package/components/counter/demo/index.md +42 -42
- package/components/counter/demo/index.min.js +4890 -8059
- 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 +4889 -8058
- package/components/counter/dist/registered.js +4889 -8058
- package/components/datepicker/demo/api.html +3 -3
- package/components/datepicker/demo/api.md +71 -21
- package/components/datepicker/demo/api.min.js +10215 -14694
- package/components/datepicker/demo/index.html +2 -2
- package/components/datepicker/demo/index.md +30 -30
- package/components/datepicker/demo/index.min.js +10215 -14694
- package/components/datepicker/dist/auro-calendar.d.ts +8 -0
- package/components/datepicker/dist/auro-datepicker.d.ts +13 -1
- package/components/datepicker/dist/index.js +10172 -14651
- package/components/datepicker/dist/registered.js +10172 -14651
- 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 +262 -1583
- package/components/input/demo/index.html +1 -2
- package/components/input/demo/index.md +17 -17
- package/components/input/demo/index.min.js +262 -1583
- 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 +228 -1549
- package/components/input/dist/registered.js +228 -1549
- 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 +86 -9
- package/components/radio/demo/index.html +1 -1
- package/components/radio/demo/index.md +12 -12
- package/components/radio/demo/index.min.js +86 -9
- package/components/radio/dist/auro-radio-group.d.ts +11 -1
- package/components/radio/dist/auro-radio.d.ts +11 -1
- package/components/radio/dist/index.js +86 -9
- package/components/radio/dist/registered.js +86 -9
- package/components/select/demo/api.html +4 -4
- package/components/select/demo/api.md +20 -19
- package/components/select/demo/api.min.js +2223 -4412
- package/components/select/demo/index.html +3 -3
- package/components/select/demo/index.md +25 -25
- package/components/select/demo/index.min.js +2223 -4412
- package/components/select/dist/auro-select.d.ts +11 -1
- package/components/select/dist/index.js +1279 -3091
- package/components/select/dist/registered.js +1279 -3091
- package/package.json +15 -15
|
@@ -54,10 +54,10 @@
|
|
|
54
54
|
initExamples();
|
|
55
55
|
</script>
|
|
56
56
|
<!-- If additional elements are needed for the demo, add them here. -->
|
|
57
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-accordion@latest
|
|
58
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-button@latest
|
|
59
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-dialog@latest
|
|
60
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-icon@latest
|
|
61
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-
|
|
57
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-accordion@latest/+esm" type="module"></script>
|
|
58
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-button@latest/+esm" type="module"></script>
|
|
59
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-dialog@latest/+esm" type="module"></script>
|
|
60
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-icon@latest/+esm" type="module"></script>
|
|
61
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@latest/auro-input/+esm" type="module"></script>
|
|
62
62
|
</body>
|
|
63
63
|
</html>
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
| Property | Attribute | Type | Default | Description |
|
|
9
9
|
|-------------------------|-------------------------|-------------|----------------|--------------------------------------------------|
|
|
10
10
|
| `a11yRole` | | | | The value for the role attribute of the trigger element. |
|
|
11
|
+
| [appearance](#appearance) | `appearance` | `string` | "'default'" | Defines whether the component will be on lighter or darker backgrounds. |
|
|
11
12
|
| [autoPlacement](#autoPlacement) | `autoPlacement` | `boolean` | "false" | If declared, bib's position will be automatically calculated where to appear. |
|
|
12
13
|
| [chevron](#chevron) | `chevron` | ` Boolean ` | | If declared, the dropdown displays a chevron on the right. |
|
|
13
14
|
| [disableEventShow](#disableEventShow) | `disableEventShow` | ` Boolean ` | "false" | If declared, the dropdown will only show by calling the API .show() public method. |
|
|
@@ -26,7 +27,7 @@
|
|
|
26
27
|
| [noHideOnThisFocusLoss](#noHideOnThisFocusLoss) | `noHideOnThisFocusLoss` | ` Boolean ` | false | If declared, the dropdown will not hide when moving focus outside the element. |
|
|
27
28
|
| [noToggle](#noToggle) | `noToggle` | ` Boolean ` | | If declared, the trigger will only show the dropdown bib. |
|
|
28
29
|
| [offset](#offset) | `offset` | `number` | "0" | Gap between the trigger element and bib. |
|
|
29
|
-
| [onDark](#onDark) | `onDark` | `boolean` | |
|
|
30
|
+
| [onDark](#onDark) | `onDark` | `boolean` | | DEPRECATED - use `appearance` instead. |
|
|
30
31
|
| [onSlotChange](#onSlotChange) | `onSlotChange` | | | If declared, and a function is set, that function will execute when the slot content is updated. |
|
|
31
32
|
| [placement](#placement) | `placement` | `string` | "bottom-start" | Position where the bib should appear relative to the trigger. |
|
|
32
33
|
| [shape](#shape) | | | "undefined" | |
|
|
@@ -90,9 +91,9 @@ The most basic, simple version of `auro-dropdown`.
|
|
|
90
91
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
91
92
|
</div>
|
|
92
93
|
<div class="exampleWrapper--ondark" aria-hidden>
|
|
93
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/
|
|
94
|
-
<!-- The below content is automatically added from ./../apiExamples/
|
|
95
|
-
<auro-dropdown
|
|
94
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/inverseAppearance.html) -->
|
|
95
|
+
<!-- The below content is automatically added from ./../apiExamples/inverseAppearance.html -->
|
|
96
|
+
<auro-dropdown appearance="inverse" aria-label="custom label">
|
|
96
97
|
Lorem ipsum solar
|
|
97
98
|
<div slot="trigger">
|
|
98
99
|
Trigger
|
|
@@ -114,9 +115,9 @@ The most basic, simple version of `auro-dropdown`.
|
|
|
114
115
|
</auro-dropdown>
|
|
115
116
|
```
|
|
116
117
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
117
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/
|
|
118
|
-
<!-- The below content is automatically added from ./../apiExamples/
|
|
119
|
-
<auro-dropdown
|
|
118
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/inverseAppearance.html) -->
|
|
119
|
+
<!-- The below content is automatically added from ./../apiExamples/inverseAppearance.html -->
|
|
120
|
+
<auro-dropdown appearance="inverse" aria-label="custom label">
|
|
120
121
|
Lorem ipsum solar
|
|
121
122
|
<div slot="trigger">
|
|
122
123
|
Trigger
|
|
@@ -206,9 +207,9 @@ Adds the border style around the dropdown trigger.
|
|
|
206
207
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
207
208
|
</div>
|
|
208
209
|
<div class="exampleWrapper--ondark" aria-hidden>
|
|
209
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/
|
|
210
|
-
<!-- The below content is automatically added from ./../apiExamples/
|
|
211
|
-
<auro-dropdown
|
|
210
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/inverseAppearanceBordered.html) -->
|
|
211
|
+
<!-- The below content is automatically added from ./../apiExamples/inverseAppearanceBordered.html -->
|
|
212
|
+
<auro-dropdown appearance="inverse" aria-label="custom label" layout="classic" shape="classic" size="lg">
|
|
212
213
|
Lorem ipsum solar
|
|
213
214
|
<div slot="trigger">
|
|
214
215
|
Trigger
|
|
@@ -230,9 +231,9 @@ Adds the border style around the dropdown trigger.
|
|
|
230
231
|
</auro-dropdown>
|
|
231
232
|
```
|
|
232
233
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
233
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/
|
|
234
|
-
<!-- The below content is automatically added from ./../apiExamples/
|
|
235
|
-
<auro-dropdown
|
|
234
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/inverseAppearanceBordered.html) -->
|
|
235
|
+
<!-- The below content is automatically added from ./../apiExamples/inverseAppearanceBordered.html -->
|
|
236
|
+
<auro-dropdown appearance="inverse" aria-label="custom label" layout="classic" shape="classic" size="lg">
|
|
236
237
|
Lorem ipsum solar
|
|
237
238
|
<div slot="trigger">
|
|
238
239
|
Trigger
|
|
@@ -392,12 +393,12 @@ Disables the trigger preventing the dropdown bib from being shown.
|
|
|
392
393
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
393
394
|
</div>
|
|
394
395
|
<div class="exampleWrapper--ondark" aria-hidden>
|
|
395
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/
|
|
396
|
-
<!-- The below content is automatically added from ./../apiExamples/
|
|
396
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/inverseAppearanceDisabled.html) -->
|
|
397
|
+
<!-- The below content is automatically added from ./../apiExamples/inverseAppearanceDisabled.html -->
|
|
397
398
|
<auro-dropdown
|
|
398
399
|
aria-label="custom label"
|
|
399
400
|
disabled
|
|
400
|
-
|
|
401
|
+
appearance="inverse"
|
|
401
402
|
chevron
|
|
402
403
|
layout="classic" shape="classic" size="lg">
|
|
403
404
|
Lorem ipsum solar
|
|
@@ -439,12 +440,14 @@ Disables the trigger preventing the dropdown bib from being shown.
|
|
|
439
440
|
</auro-dropdown>
|
|
440
441
|
```
|
|
441
442
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
442
|
-
<!-- AURO-GENERATED-CONTENT:START (
|
|
443
|
-
<!-- The below
|
|
443
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/inverseAppearanceDisabled.html) -->
|
|
444
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/inverseAppearanceDisabled.html -->
|
|
445
|
+
|
|
446
|
+
```html
|
|
444
447
|
<auro-dropdown
|
|
445
448
|
aria-label="custom label"
|
|
446
449
|
disabled
|
|
447
|
-
|
|
450
|
+
appearance="inverse"
|
|
448
451
|
chevron
|
|
449
452
|
layout="classic" shape="classic" size="lg">
|
|
450
453
|
Lorem ipsum solar
|
|
@@ -457,7 +460,8 @@ Disables the trigger preventing the dropdown bib from being shown.
|
|
|
457
460
|
<span slot="label">
|
|
458
461
|
Name
|
|
459
462
|
</span>
|
|
460
|
-
</auro-dropdown>
|
|
463
|
+
</auro-dropdown>
|
|
464
|
+
```
|
|
461
465
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
462
466
|
</auro-accordion>
|
|
463
467
|
|
|
@@ -489,9 +493,9 @@ Adds the error state UI to the trigger.
|
|
|
489
493
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
490
494
|
</div>
|
|
491
495
|
<div class="exampleWrapper--ondark" aria-hidden>
|
|
492
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/
|
|
493
|
-
<!-- The below content is automatically added from ./../apiExamples/
|
|
494
|
-
<auro-dropdown
|
|
496
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/inverseAppearanceError.html) -->
|
|
497
|
+
<!-- The below content is automatically added from ./../apiExamples/inverseAppearanceError.html -->
|
|
498
|
+
<auro-dropdown appearance="inverse" layout="classic" shape="classic" size="lg" error id="commonSlotErrorOnDark">
|
|
495
499
|
<div style="padding: var(--ds-size-150);">
|
|
496
500
|
Lorem ipsum solar
|
|
497
501
|
<br />
|
|
@@ -537,9 +541,11 @@ Adds the error state UI to the trigger.
|
|
|
537
541
|
</auro-dropdown>
|
|
538
542
|
```
|
|
539
543
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
540
|
-
<!-- AURO-GENERATED-CONTENT:START (
|
|
541
|
-
<!-- The below
|
|
542
|
-
|
|
544
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/inverseAppearanceError.html) -->
|
|
545
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/inverseAppearanceError.html -->
|
|
546
|
+
|
|
547
|
+
```html
|
|
548
|
+
<auro-dropdown appearance="inverse" layout="classic" shape="classic" size="lg" error id="commonSlotErrorOnDark">
|
|
543
549
|
<div style="padding: var(--ds-size-150);">
|
|
544
550
|
Lorem ipsum solar
|
|
545
551
|
<br />
|
|
@@ -556,7 +562,8 @@ Adds the error state UI to the trigger.
|
|
|
556
562
|
<div slot="trigger">
|
|
557
563
|
Trigger
|
|
558
564
|
</div>
|
|
559
|
-
</auro-dropdown>
|
|
565
|
+
</auro-dropdown>
|
|
566
|
+
```
|
|
560
567
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
561
568
|
</auro-accordion>
|
|
562
569
|
|
|
@@ -1281,7 +1288,8 @@ The component may be restyled using the following code sample and changing the v
|
|
|
1281
1288
|
@use "@aurodesignsystem/design-tokens/dist/themes/alaska/SCSSVariables--alaska" as v;
|
|
1282
1289
|
@use "@aurodesignsystem/design-tokens/dist/legacy/auro-classic/SCSSVariables" as vac;
|
|
1283
1290
|
|
|
1284
|
-
:host(:not([ondark]))
|
|
1291
|
+
:host(:not([ondark])),
|
|
1292
|
+
:host(:not([appearance="inverse"])) {
|
|
1285
1293
|
--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-muted, #{v.$ds-basic-color-texticon-muted});
|
|
1286
1294
|
--ds-auro-dropdown-trigger-background-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
1287
1295
|
--ds-auro-dropdown-trigger-hover-background-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
@@ -1295,7 +1303,8 @@ The component may be restyled using the following code sample and changing the v
|
|
|
1295
1303
|
--ds-auro-dropdownbib-text-color: var(--ds-basic-color-texticon-default, #{v.$ds-basic-color-texticon-default});
|
|
1296
1304
|
}
|
|
1297
1305
|
|
|
1298
|
-
:host([ondark])
|
|
1306
|
+
:host([ondark]),
|
|
1307
|
+
:host([appearance="inverse"]) {
|
|
1299
1308
|
--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-inverse-muted, #{v.$ds-basic-color-texticon-inverse-muted});
|
|
1300
1309
|
--ds-auro-dropdown-trigger-background-color: var(--ds-advanced-color-shared-background-inverse, #{v.$ds-advanced-color-shared-background-inverse});
|
|
1301
1310
|
--ds-auro-dropdown-trigger-hover-background-color: var(--ds-advanced-color-shared-background-inverse, #{v.$ds-advanced-color-shared-background-inverse});
|