@aurodesignsystem-dev/auro-formkit 0.0.0-pr792.0 → 0.0.0-pr794.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.min.js +2 -4
- package/components/checkbox/demo/index.min.js +2 -4
- package/components/checkbox/dist/index.js +2 -4
- package/components/checkbox/dist/registered.js +2 -4
- package/components/combobox/demo/api.min.js +29 -21
- package/components/combobox/demo/index.min.js +29 -21
- package/components/combobox/dist/index.js +7 -13
- package/components/combobox/dist/registered.js +7 -13
- package/components/counter/demo/api.min.js +6 -10
- package/components/counter/demo/index.md +4 -4
- package/components/counter/demo/index.min.js +6 -10
- package/components/counter/dist/index.js +6 -10
- package/components/counter/dist/registered.js +6 -10
- package/components/datepicker/README.md +1 -1
- package/components/datepicker/demo/api.md +19 -39
- package/components/datepicker/demo/api.min.js +82 -167
- package/components/datepicker/demo/index.md +4 -4
- package/components/datepicker/demo/index.min.js +82 -167
- package/components/datepicker/demo/readme.md +1 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +12 -50
- package/components/datepicker/dist/index.js +82 -167
- package/components/datepicker/dist/registered.js +82 -167
- package/components/dropdown/demo/api.min.js +2 -4
- package/components/dropdown/demo/index.min.js +2 -4
- package/components/dropdown/dist/index.js +2 -4
- package/components/dropdown/dist/registered.js +2 -4
- package/components/helptext/dist/auro-helptext.d.ts +0 -2
- package/components/helptext/dist/index.js +2 -4
- package/components/helptext/dist/registered.js +2 -4
- package/components/input/demo/api.min.js +2 -4
- package/components/input/demo/index.min.js +2 -4
- package/components/input/dist/index.js +2 -4
- package/components/input/dist/registered.js +2 -4
- package/components/menu/demo/api.html +0 -15
- package/components/menu/demo/api.md +12 -12
- package/components/menu/demo/api.min.js +22 -8
- package/components/menu/demo/index.min.js +22 -8
- package/components/menu/dist/auro-menu.d.ts +2 -2
- package/components/menu/dist/auro-menuoption.d.ts +2 -2
- package/components/menu/dist/index.js +22 -8
- package/components/menu/dist/registered.js +22 -8
- package/components/radio/demo/api.min.js +2 -4
- package/components/radio/demo/index.min.js +2 -4
- package/components/radio/dist/index.js +2 -4
- package/components/radio/dist/registered.js +2 -4
- package/components/select/demo/api.min.js +27 -17
- package/components/select/demo/index.min.js +27 -17
- package/components/select/dist/index.js +5 -9
- package/components/select/dist/registered.js +5 -9
- package/package.json +1 -1
- package/components/datepicker/dist/styles/classic/style-css.d.ts +0 -2
- /package/components/datepicker/dist/styles/{classic → default}/color-css.d.ts +0 -0
|
@@ -51,11 +51,17 @@
|
|
|
51
51
|
| Method | Type | Description |
|
|
52
52
|
|-------------------------------|----------------------------------------|--------------------------------------------------|
|
|
53
53
|
| [clear](#clear) | `(): void` | Clears the current value(s) of the datepicker. |
|
|
54
|
-
| [focus](#focus) | `(focusInput
|
|
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
|
+
| [renderHtmlActionClear](#renderHtmlActionClear) | `(): TemplateResult` | |
|
|
56
|
+
| [renderHtmlIconCalendar](#renderHtmlIconCalendar) | `(): TemplateResult` | |
|
|
57
|
+
| [renderHtmlIconError](#renderHtmlIconError) | `(): TemplateResult` | |
|
|
58
|
+
| [renderHtmlInputs](#renderHtmlInputs) | `(): TemplateResult` | |
|
|
55
59
|
| [reset](#reset) | `(): void` | Resets component to initial state. |
|
|
56
60
|
| [resetLayoutClasses](#resetLayoutClasses) | `(): void` | |
|
|
57
61
|
| [resetShapeClasses](#resetShapeClasses) | `(): void` | |
|
|
58
62
|
| [resetValues](#resetValues) | `(): void` | Resets values without resetting validation. |
|
|
63
|
+
| [setHasFocus](#setHasFocus) | `(): void` | |
|
|
64
|
+
| [setHasValue](#setHasValue) | `(): void` | |
|
|
59
65
|
| [updateComponentArchitecture](#updateComponentArchitecture) | `(): void` | |
|
|
60
66
|
| [validate](#validate) | `(force?: boolean \| undefined): void` | Validates value.<br /><br />**force**: Whether to force validation. |
|
|
61
67
|
|
|
@@ -101,7 +107,7 @@
|
|
|
101
107
|
<div class="exampleWrapper">
|
|
102
108
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
103
109
|
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
104
|
-
<auro-datepicker
|
|
110
|
+
<auro-datepicker>
|
|
105
111
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
106
112
|
<span slot="fromLabel">Choose a date</span>
|
|
107
113
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -114,7 +120,7 @@
|
|
|
114
120
|
<!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
|
|
115
121
|
|
|
116
122
|
```html
|
|
117
|
-
<auro-datepicker
|
|
123
|
+
<auro-datepicker>
|
|
118
124
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
119
125
|
<span slot="fromLabel">Choose a date</span>
|
|
120
126
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -130,7 +136,7 @@ When used, the datepicker will display two inputs and the component will support
|
|
|
130
136
|
<div class="exampleWrapper">
|
|
131
137
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basicRange.html) -->
|
|
132
138
|
<!-- The below content is automatically added from ./../apiExamples/basicRange.html -->
|
|
133
|
-
<auro-datepicker range
|
|
139
|
+
<auro-datepicker range>
|
|
134
140
|
<span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
|
|
135
141
|
<span slot="fromLabel">Departure</span>
|
|
136
142
|
<span slot="toLabel">Return</span>
|
|
@@ -144,7 +150,7 @@ When used, the datepicker will display two inputs and the component will support
|
|
|
144
150
|
<!-- The below code snippet is automatically added from ./../apiExamples/basicRange.html -->
|
|
145
151
|
|
|
146
152
|
```html
|
|
147
|
-
<auro-datepicker range
|
|
153
|
+
<auro-datepicker range>
|
|
148
154
|
<span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
|
|
149
155
|
<span slot="fromLabel">Departure</span>
|
|
150
156
|
<span slot="toLabel">Return</span>
|
|
@@ -908,7 +914,7 @@ Sets the label used for the input. When the `range` attribute is used this is th
|
|
|
908
914
|
<div class="exampleWrapper">
|
|
909
915
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
910
916
|
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
911
|
-
<auro-datepicker
|
|
917
|
+
<auro-datepicker>
|
|
912
918
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
913
919
|
<span slot="fromLabel">Choose a date</span>
|
|
914
920
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -921,7 +927,7 @@ Sets the label used for the input. When the `range` attribute is used this is th
|
|
|
921
927
|
<!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
|
|
922
928
|
|
|
923
929
|
```html
|
|
924
|
-
<auro-datepicker
|
|
930
|
+
<auro-datepicker>
|
|
925
931
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
926
932
|
<span slot="fromLabel">Choose a date</span>
|
|
927
933
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -969,7 +975,7 @@ To view this demo, set your window to a mobile screen size.
|
|
|
969
975
|
<div class="exampleWrapper">
|
|
970
976
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
971
977
|
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
972
|
-
<auro-datepicker
|
|
978
|
+
<auro-datepicker>
|
|
973
979
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
974
980
|
<span slot="fromLabel">Choose a date</span>
|
|
975
981
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -982,7 +988,7 @@ To view this demo, set your window to a mobile screen size.
|
|
|
982
988
|
<!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
|
|
983
989
|
|
|
984
990
|
```html
|
|
985
|
-
<auro-datepicker
|
|
991
|
+
<auro-datepicker>
|
|
986
992
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
987
993
|
<span slot="fromLabel">Choose a date</span>
|
|
988
994
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -998,7 +1004,7 @@ Only for use with the `range` attribute. Sets the label for the second input.
|
|
|
998
1004
|
<div class="exampleWrapper">
|
|
999
1005
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basicRange.html) -->
|
|
1000
1006
|
<!-- The below content is automatically added from ./../apiExamples/basicRange.html -->
|
|
1001
|
-
<auro-datepicker range
|
|
1007
|
+
<auro-datepicker range>
|
|
1002
1008
|
<span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
|
|
1003
1009
|
<span slot="fromLabel">Departure</span>
|
|
1004
1010
|
<span slot="toLabel">Return</span>
|
|
@@ -1012,7 +1018,7 @@ Only for use with the `range` attribute. Sets the label for the second input.
|
|
|
1012
1018
|
<!-- The below code snippet is automatically added from ./../apiExamples/basicRange.html -->
|
|
1013
1019
|
|
|
1014
1020
|
```html
|
|
1015
|
-
<auro-datepicker range
|
|
1021
|
+
<auro-datepicker range>
|
|
1016
1022
|
<span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
|
|
1017
1023
|
<span slot="fromLabel">Departure</span>
|
|
1018
1024
|
<span slot="toLabel">Return</span>
|
|
@@ -1468,35 +1474,9 @@ The component may be restyled using the following code sample and changing the v
|
|
|
1468
1474
|
|
|
1469
1475
|
@use "@aurodesignsystem/design-tokens/dist/themes/alaska/SCSSVariables--alaska" as v;
|
|
1470
1476
|
|
|
1471
|
-
:host
|
|
1472
|
-
|
|
1477
|
+
:host {
|
|
1478
|
+
--ds-auro-datepicker-placeholder-color: var(--ds-basic-color-texticon-default, #{v.$ds-basic-color-texticon-default});
|
|
1473
1479
|
--ds-auro-datepicker-range-input-divider-color: var(--ds-basic-color-border-bold, #{v.$ds-basic-color-border-bold});
|
|
1474
|
-
--ds-auro-datepicker-error-icon-color: var(--ds-basic-color-status-error, #{v.$ds-basic-color-status-error});
|
|
1475
|
-
--ds-auro-datepicker-label-text-color: var(--ds-basic-color-texticon-muted, #{v.$ds-basic-color-texticon-muted});
|
|
1476
|
-
|
|
1477
|
-
// calendar
|
|
1478
|
-
--ds-auro-calendar-mobile-header-container-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
1479
|
-
--ds-auro-calendar-mobile-header-divider-color: var(--ds-basic-color-border-divider, #{v.$ds-basic-color-border-divider});
|
|
1480
|
-
--ds-auro-calendar-mobile-header-text-color: var(--ds-basic-color-texticon-muted, #{v.$ds-basic-color-texticon-muted});
|
|
1481
|
-
--ds-auro-calendar-nav-btn-border-color: transparent;
|
|
1482
|
-
--ds-auro-calendar-nav-btn-chevron-color: var(--ds-basic-color-brand-primary, #{v.$ds-basic-color-brand-primary});
|
|
1483
|
-
--ds-auro-calendar-nav-btn-container-color: transparent;
|
|
1484
|
-
--ds-auro-calendar-month-container-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
1485
|
-
--ds-auro-calendar-month-divider-color: var(--ds-basic-color-border-divider, #{v.$ds-basic-color-border-divider});
|
|
1486
|
-
--ds-auro-calendar-month-header-color: var(--ds-basic-color-texticon-default, #{v.$ds-basic-color-texticon-default});
|
|
1487
|
-
--ds-auro-calendar-cell-border-color: transparent;
|
|
1488
|
-
--ds-auro-calendar-cell-container-color: transparent;
|
|
1489
|
-
--ds-auro-calendar-cell-in-range-color: var(--ds-advanced-color-shared-background-muted, #{v.$ds-advanced-color-shared-background-muted});
|
|
1490
|
-
--ds-auro-calendar-cell-price-text-color: var(--ds-basic-color-texticon-default, #{v.$ds-basic-color-texticon-default});
|
|
1491
|
-
--ds-auro-calendar-cell-text-color: var(--ds-basic-color-texticon-default, #{v.$ds-basic-color-texticon-default});
|
|
1492
|
-
}
|
|
1493
|
-
|
|
1494
|
-
:host([ondark]) {
|
|
1495
|
-
--ds-auro-datepicker-range-input-divider-color: var(--ds-basic-color-texticon-inverse-muted, v.$ds-basic-color-texticon-inverse-muted);
|
|
1496
|
-
--ds-auro-datepicker-error-icon-color: var(--ds-basic-color-status-error-subtle, v.$ds-basic-color-status-error-subtle);
|
|
1497
|
-
--ds-auro-datepicker-label-text-color: var(--ds-basic-color-texticon-inverse-muted, v.$ds-basic-color-texticon-inverse-muted);
|
|
1498
|
-
|
|
1499
|
-
// calendar
|
|
1500
1480
|
--ds-auro-calendar-mobile-header-container-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
1501
1481
|
--ds-auro-calendar-mobile-header-divider-color: var(--ds-basic-color-border-divider, #{v.$ds-basic-color-border-divider});
|
|
1502
1482
|
--ds-auro-calendar-mobile-header-text-color: var(--ds-basic-color-texticon-muted, #{v.$ds-basic-color-texticon-muted});
|