@aurodesignsystem-dev/auro-formkit 0.0.0-pr785.2 → 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 +315 -202
- package/components/combobox/demo/index.md +12 -0
- package/components/combobox/demo/index.min.js +315 -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 +309 -196
- package/components/combobox/dist/registered.js +309 -196
- package/components/counter/demo/api.md +11 -0
- package/components/counter/demo/api.min.js +288 -177
- package/components/counter/demo/index.md +6 -0
- package/components/counter/demo/index.min.js +288 -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 +283 -172
- package/components/counter/dist/registered.js +283 -172
- package/components/datepicker/README.md +2 -1
- package/components/datepicker/demo/api.md +53 -20
- package/components/datepicker/demo/api.min.js +595 -284
- package/components/datepicker/demo/index.md +16 -4
- package/components/datepicker/demo/index.min.js +595 -284
- package/components/datepicker/demo/readme.md +2 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +69 -14
- package/components/datepicker/dist/index.js +595 -284
- package/components/datepicker/dist/registered.js +595 -284
- package/components/datepicker/dist/styles/classic/style-css.d.ts +2 -0
- package/components/dropdown/demo/api.md +7 -8
- package/components/dropdown/demo/api.min.js +12 -0
- package/components/dropdown/demo/index.min.js +12 -0
- package/components/dropdown/dist/auro-dropdown.d.ts +6 -1
- package/components/dropdown/dist/index.js +12 -0
- package/components/dropdown/dist/registered.js +12 -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 +201 -149
- package/components/select/demo/index.html +1 -0
- package/components/select/demo/index.md +1065 -137
- package/components/select/demo/index.min.js +201 -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 +195 -143
- package/components/select/dist/registered.js +195 -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,18 +50,14 @@
|
|
|
50
50
|
|
|
51
51
|
| Method | Type | Description |
|
|
52
52
|
|-------------------------------|----------------------------------------|--------------------------------------------------|
|
|
53
|
-
| [
|
|
54
|
-
| [
|
|
55
|
-
| [
|
|
56
|
-
| [renderHtmlIconCalendar](#renderHtmlIconCalendar) | `(): TemplateResult` | |
|
|
57
|
-
| [renderHtmlIconError](#renderHtmlIconError) | `(): TemplateResult` | |
|
|
58
|
-
| [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. |
|
|
59
56
|
| [reset](#reset) | `(): void` | Resets component to initial state. |
|
|
60
57
|
| [resetLayoutClasses](#resetLayoutClasses) | `(): void` | |
|
|
61
58
|
| [resetShapeClasses](#resetShapeClasses) | `(): void` | |
|
|
62
59
|
| [resetValues](#resetValues) | `(): void` | Resets values without resetting validation. |
|
|
63
|
-
| [
|
|
64
|
-
| [setHasValue](#setHasValue) | `(): void` | |
|
|
60
|
+
| [showBib](#showBib) | `(): void` | Shows the dropdown bib if there are options to show. |
|
|
65
61
|
| [updateComponentArchitecture](#updateComponentArchitecture) | `(): void` | |
|
|
66
62
|
| [validate](#validate) | `(force?: boolean \| undefined): void` | Validates value.<br /><br />**force**: Whether to force validation. |
|
|
67
63
|
|
|
@@ -79,6 +75,7 @@
|
|
|
79
75
|
|
|
80
76
|
| Name | Description |
|
|
81
77
|
|----------------------------|--------------------------------------------------|
|
|
78
|
+
| `ariaLabel.close` | Sets aria-label on close button in fullscreen bib |
|
|
82
79
|
| `bib.fullscreen.dateLabel` | Defines the content to display above selected dates in the mobile layout. |
|
|
83
80
|
| `bib.fullscreen.headline` | Defines the headline to display above bib.fullscreen.dateLabels in the mobile layout. |
|
|
84
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. |
|
|
@@ -107,7 +104,8 @@
|
|
|
107
104
|
<div class="exampleWrapper">
|
|
108
105
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
109
106
|
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
110
|
-
<auro-datepicker>
|
|
107
|
+
<auro-datepicker required="">
|
|
108
|
+
<span slot="ariaLabel.close">Close Calendar</span>
|
|
111
109
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
112
110
|
<span slot="fromLabel">Choose a date</span>
|
|
113
111
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -120,7 +118,8 @@
|
|
|
120
118
|
<!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
|
|
121
119
|
|
|
122
120
|
```html
|
|
123
|
-
<auro-datepicker>
|
|
121
|
+
<auro-datepicker required="">
|
|
122
|
+
<span slot="ariaLabel.close">Close Calendar</span>
|
|
124
123
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
125
124
|
<span slot="fromLabel">Choose a date</span>
|
|
126
125
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -136,7 +135,8 @@ When used, the datepicker will display two inputs and the component will support
|
|
|
136
135
|
<div class="exampleWrapper">
|
|
137
136
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basicRange.html) -->
|
|
138
137
|
<!-- The below content is automatically added from ./../apiExamples/basicRange.html -->
|
|
139
|
-
<auro-datepicker range>
|
|
138
|
+
<auro-datepicker range minDate="07/08/2025">
|
|
139
|
+
<span slot="ariaLabel.close">Close Calendar</span>
|
|
140
140
|
<span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
|
|
141
141
|
<span slot="fromLabel">Departure</span>
|
|
142
142
|
<span slot="toLabel">Return</span>
|
|
@@ -150,7 +150,8 @@ When used, the datepicker will display two inputs and the component will support
|
|
|
150
150
|
<!-- The below code snippet is automatically added from ./../apiExamples/basicRange.html -->
|
|
151
151
|
|
|
152
152
|
```html
|
|
153
|
-
<auro-datepicker range>
|
|
153
|
+
<auro-datepicker range minDate="07/08/2025">
|
|
154
|
+
<span slot="ariaLabel.close">Close Calendar</span>
|
|
154
155
|
<span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
|
|
155
156
|
<span slot="fromLabel">Departure</span>
|
|
156
157
|
<span slot="toLabel">Return</span>
|
|
@@ -914,7 +915,8 @@ Sets the label used for the input. When the `range` attribute is used this is th
|
|
|
914
915
|
<div class="exampleWrapper">
|
|
915
916
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
916
917
|
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
917
|
-
<auro-datepicker>
|
|
918
|
+
<auro-datepicker required="">
|
|
919
|
+
<span slot="ariaLabel.close">Close Calendar</span>
|
|
918
920
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
919
921
|
<span slot="fromLabel">Choose a date</span>
|
|
920
922
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -927,7 +929,8 @@ Sets the label used for the input. When the `range` attribute is used this is th
|
|
|
927
929
|
<!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
|
|
928
930
|
|
|
929
931
|
```html
|
|
930
|
-
<auro-datepicker>
|
|
932
|
+
<auro-datepicker required="">
|
|
933
|
+
<span slot="ariaLabel.close">Close Calendar</span>
|
|
931
934
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
932
935
|
<span slot="fromLabel">Choose a date</span>
|
|
933
936
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -975,7 +978,8 @@ To view this demo, set your window to a mobile screen size.
|
|
|
975
978
|
<div class="exampleWrapper">
|
|
976
979
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
977
980
|
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
978
|
-
<auro-datepicker>
|
|
981
|
+
<auro-datepicker required="">
|
|
982
|
+
<span slot="ariaLabel.close">Close Calendar</span>
|
|
979
983
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
980
984
|
<span slot="fromLabel">Choose a date</span>
|
|
981
985
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -988,7 +992,8 @@ To view this demo, set your window to a mobile screen size.
|
|
|
988
992
|
<!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
|
|
989
993
|
|
|
990
994
|
```html
|
|
991
|
-
<auro-datepicker>
|
|
995
|
+
<auro-datepicker required="">
|
|
996
|
+
<span slot="ariaLabel.close">Close Calendar</span>
|
|
992
997
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
993
998
|
<span slot="fromLabel">Choose a date</span>
|
|
994
999
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -1004,7 +1009,8 @@ Only for use with the `range` attribute. Sets the label for the second input.
|
|
|
1004
1009
|
<div class="exampleWrapper">
|
|
1005
1010
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basicRange.html) -->
|
|
1006
1011
|
<!-- The below content is automatically added from ./../apiExamples/basicRange.html -->
|
|
1007
|
-
<auro-datepicker range>
|
|
1012
|
+
<auro-datepicker range minDate="07/08/2025">
|
|
1013
|
+
<span slot="ariaLabel.close">Close Calendar</span>
|
|
1008
1014
|
<span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
|
|
1009
1015
|
<span slot="fromLabel">Departure</span>
|
|
1010
1016
|
<span slot="toLabel">Return</span>
|
|
@@ -1018,7 +1024,8 @@ Only for use with the `range` attribute. Sets the label for the second input.
|
|
|
1018
1024
|
<!-- The below code snippet is automatically added from ./../apiExamples/basicRange.html -->
|
|
1019
1025
|
|
|
1020
1026
|
```html
|
|
1021
|
-
<auro-datepicker range>
|
|
1027
|
+
<auro-datepicker range minDate="07/08/2025">
|
|
1028
|
+
<span slot="ariaLabel.close">Close Calendar</span>
|
|
1022
1029
|
<span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
|
|
1023
1030
|
<span slot="fromLabel">Departure</span>
|
|
1024
1031
|
<span slot="toLabel">Return</span>
|
|
@@ -1474,9 +1481,35 @@ The component may be restyled using the following code sample and changing the v
|
|
|
1474
1481
|
|
|
1475
1482
|
@use "@aurodesignsystem/design-tokens/dist/themes/alaska/SCSSVariables--alaska" as v;
|
|
1476
1483
|
|
|
1477
|
-
:host {
|
|
1478
|
-
|
|
1484
|
+
:host(:not([ondark])) {
|
|
1485
|
+
// datepicker
|
|
1479
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
|
|
1480
1513
|
--ds-auro-calendar-mobile-header-container-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
1481
1514
|
--ds-auro-calendar-mobile-header-divider-color: var(--ds-basic-color-border-divider, #{v.$ds-basic-color-border-divider});
|
|
1482
1515
|
--ds-auro-calendar-mobile-header-text-color: var(--ds-basic-color-texticon-muted, #{v.$ds-basic-color-texticon-muted});
|