@aurodesignsystem-dev/auro-formkit 0.0.0-pr794.1 → 0.0.0-pr800.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/index.js +22 -72
- package/components/bibtemplate/dist/registered.js +22 -72
- package/components/checkbox/demo/api.md +1 -2
- package/components/checkbox/demo/api.min.js +4 -9
- package/components/checkbox/demo/index.min.js +4 -9
- package/components/checkbox/dist/index.js +4 -9
- package/components/checkbox/dist/registered.js +4 -9
- package/components/combobox/demo/api.min.js +68 -182
- package/components/combobox/demo/index.min.js +68 -182
- package/components/combobox/dist/index.js +60 -160
- package/components/combobox/dist/registered.js +60 -160
- package/components/counter/demo/api.md +1 -1
- package/components/counter/demo/api.min.js +72 -174
- package/components/counter/demo/index.md +4 -4
- package/components/counter/demo/index.min.js +72 -174
- package/components/counter/dist/auro-counter-group.d.ts +10 -10
- package/components/counter/dist/index.js +72 -174
- package/components/counter/dist/registered.js +72 -174
- package/components/datepicker/README.md +1 -1
- package/components/datepicker/demo/api.md +20 -40
- package/components/datepicker/demo/api.min.js +187 -462
- package/components/datepicker/demo/index.md +4 -4
- package/components/datepicker/demo/index.min.js +187 -462
- package/components/datepicker/demo/readme.md +1 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +22 -60
- package/components/datepicker/dist/index.js +187 -462
- package/components/datepicker/dist/registered.js +187 -462
- package/components/dropdown/demo/api.md +8 -7
- package/components/dropdown/demo/api.min.js +5 -9
- package/components/dropdown/demo/index.min.js +5 -9
- package/components/dropdown/dist/index.js +5 -9
- package/components/dropdown/dist/registered.js +5 -9
- package/components/helptext/dist/auro-helptext.d.ts +2 -0
- package/components/helptext/dist/index.js +4 -2
- package/components/helptext/dist/registered.js +4 -2
- package/components/input/demo/api.min.js +28 -76
- package/components/input/demo/index.min.js +28 -76
- package/components/input/dist/index.js +28 -76
- package/components/input/dist/registered.js +28 -76
- package/components/menu/demo/api.html +15 -0
- package/components/menu/demo/api.md +12 -12
- package/components/menu/demo/api.min.js +8 -22
- package/components/menu/demo/index.min.js +8 -22
- 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 +8 -22
- package/components/menu/dist/registered.js +8 -22
- package/components/radio/demo/api.md +1 -32
- package/components/radio/demo/api.min.js +6 -4
- package/components/radio/demo/index.min.js +6 -4
- package/components/radio/dist/index.js +6 -4
- package/components/radio/dist/registered.js +6 -4
- package/components/select/demo/api.md +71 -48
- package/components/select/demo/api.min.js +64 -126
- package/components/select/demo/index.md +137 -1057
- package/components/select/demo/index.min.js +64 -126
- package/components/select/dist/auro-select.d.ts +14 -10
- package/components/select/dist/index.js +56 -104
- package/components/select/dist/registered.js +56 -104
- 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
|
@@ -83,7 +83,7 @@ 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>
|
|
87
87
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
88
88
|
<span slot="fromLabel">Choose a date</span>
|
|
89
89
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -51,12 +51,18 @@
|
|
|
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
|
-
| [hideBib](#hideBib) | `(): void` |
|
|
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` | Hide dropdownbib if it's open. |
|
|
56
|
+
| [renderHtmlActionClear](#renderHtmlActionClear) | `(): TemplateResult` | |
|
|
57
|
+
| [renderHtmlIconCalendar](#renderHtmlIconCalendar) | `(): TemplateResult` | |
|
|
58
|
+
| [renderHtmlIconError](#renderHtmlIconError) | `(): TemplateResult` | |
|
|
59
|
+
| [renderHtmlInputs](#renderHtmlInputs) | `(): TemplateResult` | |
|
|
56
60
|
| [reset](#reset) | `(): void` | Resets component to initial state. |
|
|
57
61
|
| [resetLayoutClasses](#resetLayoutClasses) | `(): void` | |
|
|
58
62
|
| [resetShapeClasses](#resetShapeClasses) | `(): void` | |
|
|
59
63
|
| [resetValues](#resetValues) | `(): void` | Resets values without resetting validation. |
|
|
64
|
+
| [setHasFocus](#setHasFocus) | `(): void` | |
|
|
65
|
+
| [setHasValue](#setHasValue) | `(): void` | |
|
|
60
66
|
| [showBib](#showBib) | `(): void` | Shows the dropdown bib if there are options to show. |
|
|
61
67
|
| [updateComponentArchitecture](#updateComponentArchitecture) | `(): void` | |
|
|
62
68
|
| [validate](#validate) | `(force?: boolean \| undefined): void` | Validates value.<br /><br />**force**: Whether to force validation. |
|
|
@@ -103,7 +109,7 @@
|
|
|
103
109
|
<div class="exampleWrapper">
|
|
104
110
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
105
111
|
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
106
|
-
<auro-datepicker
|
|
112
|
+
<auro-datepicker>
|
|
107
113
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
108
114
|
<span slot="fromLabel">Choose a date</span>
|
|
109
115
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -116,7 +122,7 @@
|
|
|
116
122
|
<!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
|
|
117
123
|
|
|
118
124
|
```html
|
|
119
|
-
<auro-datepicker
|
|
125
|
+
<auro-datepicker>
|
|
120
126
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
121
127
|
<span slot="fromLabel">Choose a date</span>
|
|
122
128
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -132,7 +138,7 @@ When used, the datepicker will display two inputs and the component will support
|
|
|
132
138
|
<div class="exampleWrapper">
|
|
133
139
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basicRange.html) -->
|
|
134
140
|
<!-- The below content is automatically added from ./../apiExamples/basicRange.html -->
|
|
135
|
-
<auro-datepicker range
|
|
141
|
+
<auro-datepicker range>
|
|
136
142
|
<span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
|
|
137
143
|
<span slot="fromLabel">Departure</span>
|
|
138
144
|
<span slot="toLabel">Return</span>
|
|
@@ -146,7 +152,7 @@ When used, the datepicker will display two inputs and the component will support
|
|
|
146
152
|
<!-- The below code snippet is automatically added from ./../apiExamples/basicRange.html -->
|
|
147
153
|
|
|
148
154
|
```html
|
|
149
|
-
<auro-datepicker range
|
|
155
|
+
<auro-datepicker range>
|
|
150
156
|
<span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
|
|
151
157
|
<span slot="fromLabel">Departure</span>
|
|
152
158
|
<span slot="toLabel">Return</span>
|
|
@@ -910,7 +916,7 @@ Sets the label used for the input. When the `range` attribute is used this is th
|
|
|
910
916
|
<div class="exampleWrapper">
|
|
911
917
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
912
918
|
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
913
|
-
<auro-datepicker
|
|
919
|
+
<auro-datepicker>
|
|
914
920
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
915
921
|
<span slot="fromLabel">Choose a date</span>
|
|
916
922
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -923,7 +929,7 @@ Sets the label used for the input. When the `range` attribute is used this is th
|
|
|
923
929
|
<!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
|
|
924
930
|
|
|
925
931
|
```html
|
|
926
|
-
<auro-datepicker
|
|
932
|
+
<auro-datepicker>
|
|
927
933
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
928
934
|
<span slot="fromLabel">Choose a date</span>
|
|
929
935
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -971,7 +977,7 @@ To view this demo, set your window to a mobile screen size.
|
|
|
971
977
|
<div class="exampleWrapper">
|
|
972
978
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
973
979
|
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
974
|
-
<auro-datepicker
|
|
980
|
+
<auro-datepicker>
|
|
975
981
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
976
982
|
<span slot="fromLabel">Choose a date</span>
|
|
977
983
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -984,7 +990,7 @@ To view this demo, set your window to a mobile screen size.
|
|
|
984
990
|
<!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
|
|
985
991
|
|
|
986
992
|
```html
|
|
987
|
-
<auro-datepicker
|
|
993
|
+
<auro-datepicker>
|
|
988
994
|
<span slot="bib.fullscreen.headline">Datepicker Headline</span>
|
|
989
995
|
<span slot="fromLabel">Choose a date</span>
|
|
990
996
|
<span slot="bib.fullscreen.dateLabel">Choose a date</span>
|
|
@@ -1000,7 +1006,7 @@ Only for use with the `range` attribute. Sets the label for the second input.
|
|
|
1000
1006
|
<div class="exampleWrapper">
|
|
1001
1007
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basicRange.html) -->
|
|
1002
1008
|
<!-- The below content is automatically added from ./../apiExamples/basicRange.html -->
|
|
1003
|
-
<auro-datepicker range
|
|
1009
|
+
<auro-datepicker range>
|
|
1004
1010
|
<span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
|
|
1005
1011
|
<span slot="fromLabel">Departure</span>
|
|
1006
1012
|
<span slot="toLabel">Return</span>
|
|
@@ -1014,7 +1020,7 @@ Only for use with the `range` attribute. Sets the label for the second input.
|
|
|
1014
1020
|
<!-- The below code snippet is automatically added from ./../apiExamples/basicRange.html -->
|
|
1015
1021
|
|
|
1016
1022
|
```html
|
|
1017
|
-
<auro-datepicker range
|
|
1023
|
+
<auro-datepicker range>
|
|
1018
1024
|
<span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
|
|
1019
1025
|
<span slot="fromLabel">Departure</span>
|
|
1020
1026
|
<span slot="toLabel">Return</span>
|
|
@@ -1470,35 +1476,9 @@ The component may be restyled using the following code sample and changing the v
|
|
|
1470
1476
|
|
|
1471
1477
|
@use "@aurodesignsystem/design-tokens/dist/themes/alaska/SCSSVariables--alaska" as v;
|
|
1472
1478
|
|
|
1473
|
-
:host
|
|
1474
|
-
|
|
1479
|
+
:host {
|
|
1480
|
+
--ds-auro-datepicker-placeholder-color: var(--ds-basic-color-texticon-default, #{v.$ds-basic-color-texticon-default});
|
|
1475
1481
|
--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
|
|
1502
1482
|
--ds-auro-calendar-mobile-header-container-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
1503
1483
|
--ds-auro-calendar-mobile-header-divider-color: var(--ds-basic-color-border-divider, #{v.$ds-basic-color-border-divider});
|
|
1504
1484
|
--ds-auro-calendar-mobile-header-text-color: var(--ds-basic-color-texticon-muted, #{v.$ds-basic-color-texticon-muted});
|