@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
|
@@ -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-dialog@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-dialog@latest/+esm" type="module"></script>
|
|
56
56
|
|
|
57
57
|
<script type="module" data-demo-script="true">
|
|
58
58
|
import { initExamples } from "./api.min.js";
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
| Property | Attribute | Modifiers | Type | Default | Description |
|
|
9
9
|
|------------------------------------|-----------------------------------|-----------|--------------------------------------------------|--------------------------------------------------|--------------------------------------------------|
|
|
10
|
+
| [appearance](#appearance) | `appearance` | | `string` | "'default'" | Defines whether the component will be on lighter or darker backgrounds. |
|
|
10
11
|
| [autoPlacement](#autoPlacement) | `autoPlacement` | | `boolean` | "false" | If declared, bib's position will be automatically calculated where to appear. |
|
|
11
12
|
| [calendarEndDate](#calendarEndDate) | `calendarEndDate` | | `string` | "undefined" | The last date that may be displayed in the calendar. |
|
|
12
13
|
| [calendarFocusDate](#calendarFocusDate) | `calendarFocusDate` | | `string` | "value" | The date that will first be visually rendered to the user in the calendar. |
|
|
@@ -28,7 +29,7 @@
|
|
|
28
29
|
| [noFlip](#noFlip) | `noFlip` | | `boolean` | "false" | If declared, the bib will NOT flip to an alternate position<br />when there isn't enough space in the specified `placement`. |
|
|
29
30
|
| [noValidate](#noValidate) | `noValidate` | | `boolean` | false | If set, disables auto-validation on blur. |
|
|
30
31
|
| [offset](#offset) | `offset` | | `number` | "0" | Gap between the trigger element and bib. |
|
|
31
|
-
| [onDark](#onDark) | `onDark` | | `boolean` | false |
|
|
32
|
+
| [onDark](#onDark) | `onDark` | | `boolean` | false | DEPRECATED - use `appearance` instead. |
|
|
32
33
|
| [placeholder](#placeholder) | `placeholder` | | `string` | | Placeholder text to display in the input(s) when no value is set. |
|
|
33
34
|
| [placeholderEndDate](#placeholderEndDate) | `placeholderEndDate` | | `string` | | Optional placeholder text to display in the second input when using date range.<br />By default, datepicker will use `placeholder` for both inputs if placeholder is<br />specified, but placeholderendDate is not. |
|
|
34
35
|
| [placement](#placement) | `placement` | | `string` | "bottom-start" | Position where the bib should appear relative to the trigger.<br />Accepted values:<br />"top" \| "right" \| "bottom" \| "left" \|<br />"bottom-start" \| "top-start" \| "top-end" \|<br />"right-start" \| "right-end" \| "bottom-end" \|<br />"left-start" \| "left-end" |
|
|
@@ -78,6 +79,7 @@
|
|
|
78
79
|
| Name | Description |
|
|
79
80
|
|----------------------------|--------------------------------------------------|
|
|
80
81
|
| `ariaLabel.bib.close` | Sets aria-label on close button in fullscreen bib |
|
|
82
|
+
| `ariaLabel.input.clear` | Sets aria-label on clear button |
|
|
81
83
|
| `bib.fullscreen.dateLabel` | Defines the content to display above selected dates in the mobile layout. |
|
|
82
84
|
| `bib.fullscreen.headline` | Defines the headline to display above bib.fullscreen.dateLabels in the mobile layout. |
|
|
83
85
|
| `date_MM_DD_YYYY` | Defines the content to display in the auro-calendar-cell for the specified date. The content text is colored using the success state token when the `highlight` attribute is applied to the slot. |
|
|
@@ -962,6 +964,39 @@ Sets the label used for the input. When the `range` attribute is used this is th
|
|
|
962
964
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
963
965
|
</auro-accordion>
|
|
964
966
|
|
|
967
|
+
#### toLabel
|
|
968
|
+
|
|
969
|
+
Only for use with the `range` attribute. Sets the label for the second input.
|
|
970
|
+
|
|
971
|
+
<div class="exampleWrapper">
|
|
972
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basicRange.html) -->
|
|
973
|
+
<!-- The below content is automatically added from ./../apiExamples/basicRange.html -->
|
|
974
|
+
<auro-datepicker range minDate="07/08/2025">
|
|
975
|
+
<span slot="ariaLabel.bib.close">Close Calendar</span>
|
|
976
|
+
<span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
|
|
977
|
+
<span slot="fromLabel">Departure</span>
|
|
978
|
+
<span slot="toLabel">Return</span>
|
|
979
|
+
<span slot="bib.fullscreen.dateLabel">Roundtrip</span>
|
|
980
|
+
</auro-datepicker>
|
|
981
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
982
|
+
</div>
|
|
983
|
+
<auro-accordion alignRight>
|
|
984
|
+
<span slot="trigger">See code</span>
|
|
985
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/basicRange.html) -->
|
|
986
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/basicRange.html -->
|
|
987
|
+
|
|
988
|
+
```html
|
|
989
|
+
<auro-datepicker range minDate="07/08/2025">
|
|
990
|
+
<span slot="ariaLabel.bib.close">Close Calendar</span>
|
|
991
|
+
<span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
|
|
992
|
+
<span slot="fromLabel">Departure</span>
|
|
993
|
+
<span slot="toLabel">Return</span>
|
|
994
|
+
<span slot="bib.fullscreen.dateLabel">Roundtrip</span>
|
|
995
|
+
</auro-datepicker>
|
|
996
|
+
```
|
|
997
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
998
|
+
</auro-accordion>
|
|
999
|
+
|
|
965
1000
|
#### helpText
|
|
966
1001
|
|
|
967
1002
|
Sets the help text displayed below the trigger. The `helpText` slot can be used to provide additional context for the combobox. When using the `error` attribute, the `helpText` slot can be used to describe the error.
|
|
@@ -1025,34 +1060,47 @@ To view this demo, set your window to a mobile screen size.
|
|
|
1025
1060
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
1026
1061
|
</auro-accordion>
|
|
1027
1062
|
|
|
1028
|
-
####
|
|
1063
|
+
#### ariaLabel.input.clear
|
|
1064
|
+
|
|
1065
|
+
Use the `ariaLabel.input.clear` slot to set the `aria-label` for the clear button in the trigger input.
|
|
1029
1066
|
|
|
1030
|
-
Only for use with the `range` attribute. Sets the label for the second input.
|
|
1031
|
-
|
|
1032
1067
|
<div class="exampleWrapper">
|
|
1033
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/
|
|
1034
|
-
<!-- The below content is automatically added from ./../apiExamples/
|
|
1035
|
-
<auro-datepicker
|
|
1068
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/ariaLabelInputClear.html) -->
|
|
1069
|
+
<!-- The below content is automatically added from ./../apiExamples/ariaLabelInputClear.html -->
|
|
1070
|
+
<auro-datepicker>
|
|
1036
1071
|
<span slot="ariaLabel.bib.close">Close Calendar</span>
|
|
1037
|
-
<span slot="bib.fullscreen.headline">Datepicker
|
|
1038
|
-
<span slot="fromLabel">
|
|
1039
|
-
<span slot="
|
|
1040
|
-
<span slot="
|
|
1072
|
+
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
1073
|
+
<span slot="fromLabel">Choose a date</span>
|
|
1074
|
+
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
1075
|
+
<span slot="ariaLabel.input.clear">Custom Clear Input Button</span>
|
|
1041
1076
|
</auro-datepicker>
|
|
1042
1077
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
1043
|
-
</div>
|
|
1078
|
+
</div>
|
|
1079
|
+
<div class="exampleWrapper--ondark">
|
|
1080
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/snowflake/ariaLabelInputClear.html) -->
|
|
1081
|
+
<!-- The below content is automatically added from ./../apiExamples/snowflake/ariaLabelInputClear.html -->
|
|
1082
|
+
<auro-datepicker layout="snowflake" shape="snowflake" ondark placeholder="MM/DD/YYYY">
|
|
1083
|
+
<span slot="ariaLabel.bib.close">Close Calendar</span>
|
|
1084
|
+
<span slot="label">Date</span>
|
|
1085
|
+
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
1086
|
+
<span slot="fromLabel">Choose a date</span>
|
|
1087
|
+
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
1088
|
+
<span slot="ariaLabel.input.clear">Snowflake Clear Input Button</span>
|
|
1089
|
+
</auro-datepicker>
|
|
1090
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
1091
|
+
</div>
|
|
1044
1092
|
<auro-accordion alignRight>
|
|
1045
1093
|
<span slot="trigger">See code</span>
|
|
1046
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/
|
|
1047
|
-
<!-- The below code snippet is automatically added from ./../apiExamples/
|
|
1094
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/ariaLabelInputClear.html) -->
|
|
1095
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/ariaLabelInputClear.html -->
|
|
1048
1096
|
|
|
1049
1097
|
```html
|
|
1050
|
-
<auro-datepicker
|
|
1098
|
+
<auro-datepicker>
|
|
1051
1099
|
<span slot="ariaLabel.bib.close">Close Calendar</span>
|
|
1052
|
-
<span slot="bib.fullscreen.headline">Datepicker
|
|
1053
|
-
<span slot="fromLabel">
|
|
1054
|
-
<span slot="
|
|
1055
|
-
<span slot="
|
|
1100
|
+
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
1101
|
+
<span slot="fromLabel">Choose a date</span>
|
|
1102
|
+
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
1103
|
+
<span slot="ariaLabel.input.clear">Custom Clear Input Button</span>
|
|
1056
1104
|
</auro-datepicker>
|
|
1057
1105
|
```
|
|
1058
1106
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -1504,7 +1552,8 @@ The component may be restyled using the following code sample and changing the v
|
|
|
1504
1552
|
|
|
1505
1553
|
@use "@aurodesignsystem/design-tokens/dist/themes/alaska/SCSSVariables--alaska" as v;
|
|
1506
1554
|
|
|
1507
|
-
:host(:not([ondark]))
|
|
1555
|
+
:host(:not([ondark])),
|
|
1556
|
+
:host(:not([appearance="inverse"])) {
|
|
1508
1557
|
// datepicker
|
|
1509
1558
|
--ds-auro-datepicker-range-input-divider-color: var(--ds-basic-color-border-bold, #{v.$ds-basic-color-border-bold});
|
|
1510
1559
|
--ds-auro-datepicker-error-icon-color: var(--ds-basic-color-status-error, #{v.$ds-basic-color-status-error});
|
|
@@ -1527,7 +1576,8 @@ The component may be restyled using the following code sample and changing the v
|
|
|
1527
1576
|
--ds-auro-calendar-cell-text-color: var(--ds-basic-color-texticon-default, #{v.$ds-basic-color-texticon-default});
|
|
1528
1577
|
}
|
|
1529
1578
|
|
|
1530
|
-
:host([ondark])
|
|
1579
|
+
:host([ondark]),
|
|
1580
|
+
:host([appearance="inverse"]) {
|
|
1531
1581
|
--ds-auro-datepicker-range-input-divider-color: var(--ds-basic-color-texticon-inverse-muted, #{v.$ds-basic-color-texticon-inverse-muted});
|
|
1532
1582
|
--ds-auro-datepicker-error-icon-color: var(--ds-advanced-color-state-error-inverse, #{v.$ds-advanced-color-state-error-inverse});
|
|
1533
1583
|
--ds-auro-datepicker-label-text-color: var(--ds-basic-color-texticon-inverse-muted, #{v.$ds-basic-color-texticon-inverse-muted});
|