@aurodesignsystem-dev/auro-formkit 0.0.0-pr785.3 → 0.0.0-pr788.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/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 +136 -121
- package/components/bibtemplate/dist/registered.js +136 -121
- package/components/checkbox/demo/api.md +2 -1
- package/components/checkbox/demo/api.min.js +23 -5
- package/components/checkbox/demo/index.min.js +23 -5
- package/components/checkbox/dist/index.js +23 -5
- package/components/checkbox/dist/registered.js +23 -5
- package/components/combobox/README.md +2 -0
- package/components/combobox/demo/api.md +9 -0
- package/components/combobox/demo/api.min.js +310 -202
- package/components/combobox/demo/index.md +12 -0
- package/components/combobox/demo/index.min.js +310 -202
- package/components/combobox/demo/readme.md +2 -0
- package/components/combobox/dist/auro-combobox.d.ts +9 -4
- package/components/combobox/dist/index.js +304 -196
- package/components/combobox/dist/registered.js +304 -196
- package/components/counter/demo/api.md +11 -0
- package/components/counter/demo/api.min.js +283 -177
- package/components/counter/demo/index.md +6 -0
- package/components/counter/demo/index.min.js +283 -177
- package/components/counter/dist/auro-counter-group.d.ts +11 -0
- package/components/counter/dist/iconVersion.d.ts +1 -1
- package/components/counter/dist/index.js +278 -172
- package/components/counter/dist/registered.js +278 -172
- package/components/datepicker/README.md +2 -1
- package/components/datepicker/demo/api.md +53 -19
- package/components/datepicker/demo/api.min.js +588 -283
- package/components/datepicker/demo/index.md +16 -4
- package/components/datepicker/demo/index.min.js +588 -283
- package/components/datepicker/demo/readme.md +2 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +66 -12
- package/components/datepicker/dist/index.js +588 -283
- package/components/datepicker/dist/registered.js +588 -283
- package/components/datepicker/dist/styles/classic/style-css.d.ts +2 -0
- package/components/dropdown/demo/api.md +1 -1
- package/components/dropdown/demo/api.min.js +7 -0
- package/components/dropdown/demo/index.min.js +7 -0
- package/components/dropdown/dist/index.js +7 -0
- package/components/dropdown/dist/registered.js +7 -0
- package/components/input/README.md +1 -0
- package/components/input/demo/api.md +16 -7
- package/components/input/demo/api.min.js +115 -49
- package/components/input/demo/index.md +7 -0
- package/components/input/demo/index.min.js +115 -49
- package/components/input/demo/readme.md +1 -0
- package/components/input/dist/auro-input.d.ts +0 -6
- package/components/input/dist/base-input.d.ts +8 -1
- package/components/input/dist/index.js +115 -49
- package/components/input/dist/registered.js +115 -49
- package/components/menu/demo/api.min.js +2 -2
- package/components/menu/demo/index.min.js +2 -2
- package/components/menu/dist/iconVersion.d.ts +1 -1
- package/components/menu/dist/index.js +2 -2
- package/components/menu/dist/registered.js +2 -2
- package/components/radio/demo/api.md +32 -1
- package/components/radio/demo/api.min.js +18 -7
- package/components/radio/demo/index.min.js +18 -7
- package/components/radio/dist/index.js +18 -7
- package/components/radio/dist/registered.js +18 -7
- package/components/select/README.md +1 -0
- package/components/select/demo/api.md +49 -64
- package/components/select/demo/api.min.js +196 -149
- package/components/select/demo/index.html +1 -0
- package/components/select/demo/index.md +1065 -137
- package/components/select/demo/index.min.js +196 -149
- package/components/select/demo/readme.md +1 -0
- package/components/select/dist/auro-select.d.ts +11 -5
- package/components/select/dist/index.js +190 -143
- package/components/select/dist/registered.js +190 -143
- package/package.json +5 -5
- /package/components/datepicker/dist/styles/{default → classic}/color-css.d.ts +0 -0
|
@@ -83,7 +83,8 @@ This configuration enables proper module resolution for the component's TypeScri
|
|
|
83
83
|
<!-- The below code snippet is automatically added from ./apiExamples/basic.html -->
|
|
84
84
|
|
|
85
85
|
```html
|
|
86
|
-
<auro-datepicker>
|
|
86
|
+
<auro-datepicker required="">
|
|
87
|
+
<span slot="ariaLabel.close">Close Calendar</span>
|
|
87
88
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
88
89
|
<span slot="fromLabel">Choose a date</span>
|
|
89
90
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -50,17 +50,14 @@
|
|
|
50
50
|
|
|
51
51
|
| Method | Type | Description |
|
|
52
52
|
|-------------------------------|----------------------------------------|--------------------------------------------------|
|
|
53
|
-
| [
|
|
54
|
-
| [
|
|
55
|
-
| [
|
|
56
|
-
| [renderHtmlIconError](#renderHtmlIconError) | `(): TemplateResult` | |
|
|
57
|
-
| [renderHtmlInputs](#renderHtmlInputs) | `(): TemplateResult` | |
|
|
53
|
+
| [clear](#clear) | `(): void` | Clears the current value(s) of the datepicker. |
|
|
54
|
+
| [focus](#focus) | `(focusInput?: string): void` | Focuses the datepicker trigger input.<br /><br />**focusInput**: Pass in `endDate` to focus on the return input. No parameter is needed to focus on the depart input. |
|
|
55
|
+
| [hideBib](#hideBib) | `(): void` | Hides the dropdown bib if its open. |
|
|
58
56
|
| [reset](#reset) | `(): void` | Resets component to initial state. |
|
|
59
57
|
| [resetLayoutClasses](#resetLayoutClasses) | `(): void` | |
|
|
60
58
|
| [resetShapeClasses](#resetShapeClasses) | `(): void` | |
|
|
61
59
|
| [resetValues](#resetValues) | `(): void` | Resets values without resetting validation. |
|
|
62
|
-
| [
|
|
63
|
-
| [setHasValue](#setHasValue) | `(): void` | |
|
|
60
|
+
| [showBib](#showBib) | `(): void` | Shows the dropdown bib if there are options to show. |
|
|
64
61
|
| [updateComponentArchitecture](#updateComponentArchitecture) | `(): void` | |
|
|
65
62
|
| [validate](#validate) | `(force?: boolean \| undefined): void` | Validates value.<br /><br />**force**: Whether to force validation. |
|
|
66
63
|
|
|
@@ -78,6 +75,7 @@
|
|
|
78
75
|
|
|
79
76
|
| Name | Description |
|
|
80
77
|
|----------------------------|--------------------------------------------------|
|
|
78
|
+
| `ariaLabel.close` | Sets aria-label on close button in fullscreen bib |
|
|
81
79
|
| `bib.fullscreen.dateLabel` | Defines the content to display above selected dates in the mobile layout. |
|
|
82
80
|
| `bib.fullscreen.headline` | Defines the headline to display above bib.fullscreen.dateLabels in the mobile layout. |
|
|
83
81
|
| `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. |
|
|
@@ -106,7 +104,8 @@
|
|
|
106
104
|
<div class="exampleWrapper">
|
|
107
105
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
108
106
|
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
109
|
-
<auro-datepicker>
|
|
107
|
+
<auro-datepicker required="">
|
|
108
|
+
<span slot="ariaLabel.close">Close Calendar</span>
|
|
110
109
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
111
110
|
<span slot="fromLabel">Choose a date</span>
|
|
112
111
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -119,7 +118,8 @@
|
|
|
119
118
|
<!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
|
|
120
119
|
|
|
121
120
|
```html
|
|
122
|
-
<auro-datepicker>
|
|
121
|
+
<auro-datepicker required="">
|
|
122
|
+
<span slot="ariaLabel.close">Close Calendar</span>
|
|
123
123
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
124
124
|
<span slot="fromLabel">Choose a date</span>
|
|
125
125
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -135,7 +135,8 @@ When used, the datepicker will display two inputs and the component will support
|
|
|
135
135
|
<div class="exampleWrapper">
|
|
136
136
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basicRange.html) -->
|
|
137
137
|
<!-- The below content is automatically added from ./../apiExamples/basicRange.html -->
|
|
138
|
-
<auro-datepicker range>
|
|
138
|
+
<auro-datepicker range minDate="07/08/2025">
|
|
139
|
+
<span slot="ariaLabel.close">Close Calendar</span>
|
|
139
140
|
<span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
|
|
140
141
|
<span slot="fromLabel">Departure</span>
|
|
141
142
|
<span slot="toLabel">Return</span>
|
|
@@ -149,7 +150,8 @@ When used, the datepicker will display two inputs and the component will support
|
|
|
149
150
|
<!-- The below code snippet is automatically added from ./../apiExamples/basicRange.html -->
|
|
150
151
|
|
|
151
152
|
```html
|
|
152
|
-
<auro-datepicker range>
|
|
153
|
+
<auro-datepicker range minDate="07/08/2025">
|
|
154
|
+
<span slot="ariaLabel.close">Close Calendar</span>
|
|
153
155
|
<span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
|
|
154
156
|
<span slot="fromLabel">Departure</span>
|
|
155
157
|
<span slot="toLabel">Return</span>
|
|
@@ -913,7 +915,8 @@ Sets the label used for the input. When the `range` attribute is used this is th
|
|
|
913
915
|
<div class="exampleWrapper">
|
|
914
916
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
915
917
|
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
916
|
-
<auro-datepicker>
|
|
918
|
+
<auro-datepicker required="">
|
|
919
|
+
<span slot="ariaLabel.close">Close Calendar</span>
|
|
917
920
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
918
921
|
<span slot="fromLabel">Choose a date</span>
|
|
919
922
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -926,7 +929,8 @@ Sets the label used for the input. When the `range` attribute is used this is th
|
|
|
926
929
|
<!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
|
|
927
930
|
|
|
928
931
|
```html
|
|
929
|
-
<auro-datepicker>
|
|
932
|
+
<auro-datepicker required="">
|
|
933
|
+
<span slot="ariaLabel.close">Close Calendar</span>
|
|
930
934
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
931
935
|
<span slot="fromLabel">Choose a date</span>
|
|
932
936
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -974,7 +978,8 @@ To view this demo, set your window to a mobile screen size.
|
|
|
974
978
|
<div class="exampleWrapper">
|
|
975
979
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
976
980
|
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
977
|
-
<auro-datepicker>
|
|
981
|
+
<auro-datepicker required="">
|
|
982
|
+
<span slot="ariaLabel.close">Close Calendar</span>
|
|
978
983
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
979
984
|
<span slot="fromLabel">Choose a date</span>
|
|
980
985
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -987,7 +992,8 @@ To view this demo, set your window to a mobile screen size.
|
|
|
987
992
|
<!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
|
|
988
993
|
|
|
989
994
|
```html
|
|
990
|
-
<auro-datepicker>
|
|
995
|
+
<auro-datepicker required="">
|
|
996
|
+
<span slot="ariaLabel.close">Close Calendar</span>
|
|
991
997
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
992
998
|
<span slot="fromLabel">Choose a date</span>
|
|
993
999
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -1003,7 +1009,8 @@ Only for use with the `range` attribute. Sets the label for the second input.
|
|
|
1003
1009
|
<div class="exampleWrapper">
|
|
1004
1010
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basicRange.html) -->
|
|
1005
1011
|
<!-- The below content is automatically added from ./../apiExamples/basicRange.html -->
|
|
1006
|
-
<auro-datepicker range>
|
|
1012
|
+
<auro-datepicker range minDate="07/08/2025">
|
|
1013
|
+
<span slot="ariaLabel.close">Close Calendar</span>
|
|
1007
1014
|
<span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
|
|
1008
1015
|
<span slot="fromLabel">Departure</span>
|
|
1009
1016
|
<span slot="toLabel">Return</span>
|
|
@@ -1017,7 +1024,8 @@ Only for use with the `range` attribute. Sets the label for the second input.
|
|
|
1017
1024
|
<!-- The below code snippet is automatically added from ./../apiExamples/basicRange.html -->
|
|
1018
1025
|
|
|
1019
1026
|
```html
|
|
1020
|
-
<auro-datepicker range>
|
|
1027
|
+
<auro-datepicker range minDate="07/08/2025">
|
|
1028
|
+
<span slot="ariaLabel.close">Close Calendar</span>
|
|
1021
1029
|
<span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
|
|
1022
1030
|
<span slot="fromLabel">Departure</span>
|
|
1023
1031
|
<span slot="toLabel">Return</span>
|
|
@@ -1473,9 +1481,35 @@ The component may be restyled using the following code sample and changing the v
|
|
|
1473
1481
|
|
|
1474
1482
|
@use "@aurodesignsystem/design-tokens/dist/themes/alaska/SCSSVariables--alaska" as v;
|
|
1475
1483
|
|
|
1476
|
-
:host {
|
|
1477
|
-
|
|
1484
|
+
:host(:not([ondark])) {
|
|
1485
|
+
// datepicker
|
|
1478
1486
|
--ds-auro-datepicker-range-input-divider-color: var(--ds-basic-color-border-bold, #{v.$ds-basic-color-border-bold});
|
|
1487
|
+
--ds-auro-datepicker-error-icon-color: var(--ds-basic-color-status-error, #{v.$ds-basic-color-status-error});
|
|
1488
|
+
--ds-auro-datepicker-label-text-color: var(--ds-basic-color-texticon-muted, #{v.$ds-basic-color-texticon-muted});
|
|
1489
|
+
|
|
1490
|
+
// calendar
|
|
1491
|
+
--ds-auro-calendar-mobile-header-container-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
1492
|
+
--ds-auro-calendar-mobile-header-divider-color: var(--ds-basic-color-border-divider, #{v.$ds-basic-color-border-divider});
|
|
1493
|
+
--ds-auro-calendar-mobile-header-text-color: var(--ds-basic-color-texticon-muted, #{v.$ds-basic-color-texticon-muted});
|
|
1494
|
+
--ds-auro-calendar-nav-btn-border-color: transparent;
|
|
1495
|
+
--ds-auro-calendar-nav-btn-chevron-color: var(--ds-basic-color-brand-primary, #{v.$ds-basic-color-brand-primary});
|
|
1496
|
+
--ds-auro-calendar-nav-btn-container-color: transparent;
|
|
1497
|
+
--ds-auro-calendar-month-container-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
1498
|
+
--ds-auro-calendar-month-divider-color: var(--ds-basic-color-border-divider, #{v.$ds-basic-color-border-divider});
|
|
1499
|
+
--ds-auro-calendar-month-header-color: var(--ds-basic-color-texticon-default, #{v.$ds-basic-color-texticon-default});
|
|
1500
|
+
--ds-auro-calendar-cell-border-color: transparent;
|
|
1501
|
+
--ds-auro-calendar-cell-container-color: transparent;
|
|
1502
|
+
--ds-auro-calendar-cell-in-range-color: var(--ds-advanced-color-shared-background-muted, #{v.$ds-advanced-color-shared-background-muted});
|
|
1503
|
+
--ds-auro-calendar-cell-price-text-color: var(--ds-basic-color-texticon-default, #{v.$ds-basic-color-texticon-default});
|
|
1504
|
+
--ds-auro-calendar-cell-text-color: var(--ds-basic-color-texticon-default, #{v.$ds-basic-color-texticon-default});
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
:host([ondark]) {
|
|
1508
|
+
--ds-auro-datepicker-range-input-divider-color: var(--ds-basic-color-texticon-inverse-muted, v.$ds-basic-color-texticon-inverse-muted);
|
|
1509
|
+
--ds-auro-datepicker-error-icon-color: var(--ds-basic-color-status-error-subtle, v.$ds-basic-color-status-error-subtle);
|
|
1510
|
+
--ds-auro-datepicker-label-text-color: var(--ds-basic-color-texticon-inverse-muted, v.$ds-basic-color-texticon-inverse-muted);
|
|
1511
|
+
|
|
1512
|
+
// calendar
|
|
1479
1513
|
--ds-auro-calendar-mobile-header-container-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
1480
1514
|
--ds-auro-calendar-mobile-header-divider-color: var(--ds-basic-color-border-divider, #{v.$ds-basic-color-border-divider});
|
|
1481
1515
|
--ds-auro-calendar-mobile-header-text-color: var(--ds-basic-color-texticon-muted, #{v.$ds-basic-color-texticon-muted});
|