@aurodesignsystem-dev/auro-formkit 0.0.0-pr802.0 → 0.0.0-pr805.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/index.js +1 -1
- package/components/bibtemplate/dist/registered.js +1 -1
- package/components/checkbox/demo/api.md +2 -1
- package/components/checkbox/demo/api.min.js +7 -0
- package/components/checkbox/demo/index.min.js +7 -0
- package/components/checkbox/dist/index.js +7 -0
- package/components/checkbox/dist/registered.js +7 -0
- package/components/combobox/demo/api.md +2 -0
- package/components/combobox/demo/api.min.js +11 -63
- package/components/combobox/demo/index.min.js +11 -63
- package/components/combobox/dist/auro-combobox.d.ts +2 -4
- package/components/combobox/dist/index.js +11 -63
- package/components/combobox/dist/registered.js +11 -63
- package/components/counter/demo/api.md +2 -0
- package/components/counter/demo/api.min.js +31 -61
- package/components/counter/demo/index.min.js +31 -61
- package/components/counter/dist/auro-counter-group.d.ts +10 -0
- package/components/counter/dist/index.js +31 -61
- package/components/counter/dist/registered.js +31 -61
- package/components/datepicker/README.md +1 -1
- package/components/datepicker/demo/api.md +41 -19
- package/components/datepicker/demo/api.min.js +242 -159
- package/components/datepicker/demo/index.md +4 -4
- package/components/datepicker/demo/index.min.js +242 -159
- package/components/datepicker/demo/readme.md +1 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +73 -12
- package/components/datepicker/dist/index.js +242 -159
- package/components/datepicker/dist/registered.js +242 -159
- 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 +10 -60
- package/components/dropdown/demo/index.min.js +10 -60
- package/components/dropdown/dist/auro-dropdown.d.ts +0 -7
- package/components/dropdown/dist/index.js +10 -60
- package/components/dropdown/dist/registered.js +10 -60
- package/components/select/demo/api.md +46 -64
- package/components/select/demo/api.min.js +32 -72
- package/components/select/demo/index.md +1057 -137
- package/components/select/demo/index.min.js +32 -72
- package/components/select/dist/auro-select.d.ts +10 -5
- package/components/select/dist/index.js +32 -72
- package/components/select/dist/registered.js +32 -72
- package/package.json +1 -1
- /package/components/datepicker/dist/styles/{default → classic}/color-css.d.ts +0 -0
|
@@ -51,17 +51,13 @@
|
|
|
51
51
|
| Method | Type | Description |
|
|
52
52
|
|-------------------------------|----------------------------------------|--------------------------------------------------|
|
|
53
53
|
| [clear](#clear) | `(): void` | Clears the current value(s) of the datepicker. |
|
|
54
|
-
| [focus](#focus) | `(focusInput
|
|
55
|
-
| [
|
|
56
|
-
| [renderHtmlIconCalendar](#renderHtmlIconCalendar) | `(): TemplateResult` | |
|
|
57
|
-
| [renderHtmlIconError](#renderHtmlIconError) | `(): TemplateResult` | |
|
|
58
|
-
| [renderHtmlInputs](#renderHtmlInputs) | `(): TemplateResult` | |
|
|
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
|
|
|
@@ -107,7 +103,7 @@
|
|
|
107
103
|
<div class="exampleWrapper">
|
|
108
104
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
109
105
|
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
110
|
-
<auro-datepicker>
|
|
106
|
+
<auro-datepicker required="">
|
|
111
107
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
112
108
|
<span slot="fromLabel">Choose a date</span>
|
|
113
109
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -120,7 +116,7 @@
|
|
|
120
116
|
<!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
|
|
121
117
|
|
|
122
118
|
```html
|
|
123
|
-
<auro-datepicker>
|
|
119
|
+
<auro-datepicker required="">
|
|
124
120
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
125
121
|
<span slot="fromLabel">Choose a date</span>
|
|
126
122
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -136,7 +132,7 @@ When used, the datepicker will display two inputs and the component will support
|
|
|
136
132
|
<div class="exampleWrapper">
|
|
137
133
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basicRange.html) -->
|
|
138
134
|
<!-- The below content is automatically added from ./../apiExamples/basicRange.html -->
|
|
139
|
-
<auro-datepicker range>
|
|
135
|
+
<auro-datepicker range minDate="07/08/2025">
|
|
140
136
|
<span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
|
|
141
137
|
<span slot="fromLabel">Departure</span>
|
|
142
138
|
<span slot="toLabel">Return</span>
|
|
@@ -150,7 +146,7 @@ When used, the datepicker will display two inputs and the component will support
|
|
|
150
146
|
<!-- The below code snippet is automatically added from ./../apiExamples/basicRange.html -->
|
|
151
147
|
|
|
152
148
|
```html
|
|
153
|
-
<auro-datepicker range>
|
|
149
|
+
<auro-datepicker range minDate="07/08/2025">
|
|
154
150
|
<span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
|
|
155
151
|
<span slot="fromLabel">Departure</span>
|
|
156
152
|
<span slot="toLabel">Return</span>
|
|
@@ -914,7 +910,7 @@ Sets the label used for the input. When the `range` attribute is used this is th
|
|
|
914
910
|
<div class="exampleWrapper">
|
|
915
911
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
916
912
|
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
917
|
-
<auro-datepicker>
|
|
913
|
+
<auro-datepicker required="">
|
|
918
914
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
919
915
|
<span slot="fromLabel">Choose a date</span>
|
|
920
916
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -927,7 +923,7 @@ Sets the label used for the input. When the `range` attribute is used this is th
|
|
|
927
923
|
<!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
|
|
928
924
|
|
|
929
925
|
```html
|
|
930
|
-
<auro-datepicker>
|
|
926
|
+
<auro-datepicker required="">
|
|
931
927
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
932
928
|
<span slot="fromLabel">Choose a date</span>
|
|
933
929
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -975,7 +971,7 @@ To view this demo, set your window to a mobile screen size.
|
|
|
975
971
|
<div class="exampleWrapper">
|
|
976
972
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
977
973
|
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
978
|
-
<auro-datepicker>
|
|
974
|
+
<auro-datepicker required="">
|
|
979
975
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
980
976
|
<span slot="fromLabel">Choose a date</span>
|
|
981
977
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -988,7 +984,7 @@ To view this demo, set your window to a mobile screen size.
|
|
|
988
984
|
<!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
|
|
989
985
|
|
|
990
986
|
```html
|
|
991
|
-
<auro-datepicker>
|
|
987
|
+
<auro-datepicker required="">
|
|
992
988
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
993
989
|
<span slot="fromLabel">Choose a date</span>
|
|
994
990
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -1004,7 +1000,7 @@ Only for use with the `range` attribute. Sets the label for the second input.
|
|
|
1004
1000
|
<div class="exampleWrapper">
|
|
1005
1001
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basicRange.html) -->
|
|
1006
1002
|
<!-- The below content is automatically added from ./../apiExamples/basicRange.html -->
|
|
1007
|
-
<auro-datepicker range>
|
|
1003
|
+
<auro-datepicker range minDate="07/08/2025">
|
|
1008
1004
|
<span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
|
|
1009
1005
|
<span slot="fromLabel">Departure</span>
|
|
1010
1006
|
<span slot="toLabel">Return</span>
|
|
@@ -1018,7 +1014,7 @@ Only for use with the `range` attribute. Sets the label for the second input.
|
|
|
1018
1014
|
<!-- The below code snippet is automatically added from ./../apiExamples/basicRange.html -->
|
|
1019
1015
|
|
|
1020
1016
|
```html
|
|
1021
|
-
<auro-datepicker range>
|
|
1017
|
+
<auro-datepicker range minDate="07/08/2025">
|
|
1022
1018
|
<span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
|
|
1023
1019
|
<span slot="fromLabel">Departure</span>
|
|
1024
1020
|
<span slot="toLabel">Return</span>
|
|
@@ -1474,9 +1470,35 @@ The component may be restyled using the following code sample and changing the v
|
|
|
1474
1470
|
|
|
1475
1471
|
@use "@aurodesignsystem/design-tokens/dist/themes/alaska/SCSSVariables--alaska" as v;
|
|
1476
1472
|
|
|
1477
|
-
:host {
|
|
1478
|
-
|
|
1473
|
+
:host(:not([ondark])) {
|
|
1474
|
+
// datepicker
|
|
1479
1475
|
--ds-auro-datepicker-range-input-divider-color: var(--ds-basic-color-border-bold, #{v.$ds-basic-color-border-bold});
|
|
1476
|
+
--ds-auro-datepicker-error-icon-color: var(--ds-basic-color-status-error, #{v.$ds-basic-color-status-error});
|
|
1477
|
+
--ds-auro-datepicker-label-text-color: var(--ds-basic-color-texticon-muted, #{v.$ds-basic-color-texticon-muted});
|
|
1478
|
+
|
|
1479
|
+
// calendar
|
|
1480
|
+
--ds-auro-calendar-mobile-header-container-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
1481
|
+
--ds-auro-calendar-mobile-header-divider-color: var(--ds-basic-color-border-divider, #{v.$ds-basic-color-border-divider});
|
|
1482
|
+
--ds-auro-calendar-mobile-header-text-color: var(--ds-basic-color-texticon-muted, #{v.$ds-basic-color-texticon-muted});
|
|
1483
|
+
--ds-auro-calendar-nav-btn-border-color: transparent;
|
|
1484
|
+
--ds-auro-calendar-nav-btn-chevron-color: var(--ds-basic-color-brand-primary, #{v.$ds-basic-color-brand-primary});
|
|
1485
|
+
--ds-auro-calendar-nav-btn-container-color: transparent;
|
|
1486
|
+
--ds-auro-calendar-month-container-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
1487
|
+
--ds-auro-calendar-month-divider-color: var(--ds-basic-color-border-divider, #{v.$ds-basic-color-border-divider});
|
|
1488
|
+
--ds-auro-calendar-month-header-color: var(--ds-basic-color-texticon-default, #{v.$ds-basic-color-texticon-default});
|
|
1489
|
+
--ds-auro-calendar-cell-border-color: transparent;
|
|
1490
|
+
--ds-auro-calendar-cell-container-color: transparent;
|
|
1491
|
+
--ds-auro-calendar-cell-in-range-color: var(--ds-advanced-color-shared-background-muted, #{v.$ds-advanced-color-shared-background-muted});
|
|
1492
|
+
--ds-auro-calendar-cell-price-text-color: var(--ds-basic-color-texticon-default, #{v.$ds-basic-color-texticon-default});
|
|
1493
|
+
--ds-auro-calendar-cell-text-color: var(--ds-basic-color-texticon-default, #{v.$ds-basic-color-texticon-default});
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
:host([ondark]) {
|
|
1497
|
+
--ds-auro-datepicker-range-input-divider-color: var(--ds-basic-color-texticon-inverse-muted, v.$ds-basic-color-texticon-inverse-muted);
|
|
1498
|
+
--ds-auro-datepicker-error-icon-color: var(--ds-basic-color-status-error-subtle, v.$ds-basic-color-status-error-subtle);
|
|
1499
|
+
--ds-auro-datepicker-label-text-color: var(--ds-basic-color-texticon-inverse-muted, v.$ds-basic-color-texticon-inverse-muted);
|
|
1500
|
+
|
|
1501
|
+
// calendar
|
|
1480
1502
|
--ds-auro-calendar-mobile-header-container-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
1481
1503
|
--ds-auro-calendar-mobile-header-divider-color: var(--ds-basic-color-border-divider, #{v.$ds-basic-color-border-divider});
|
|
1482
1504
|
--ds-auro-calendar-mobile-header-text-color: var(--ds-basic-color-texticon-muted, #{v.$ds-basic-color-texticon-muted});
|