@aurodesignsystem-dev/auro-formkit 0.0.0-pr801.2 → 0.0.0-pr802.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.
Files changed (56) hide show
  1. package/components/bibtemplate/dist/index.js +1 -1
  2. package/components/bibtemplate/dist/registered.js +1 -1
  3. package/components/checkbox/demo/api.md +1 -2
  4. package/components/checkbox/demo/api.min.js +1 -8
  5. package/components/checkbox/demo/index.min.js +1 -8
  6. package/components/checkbox/dist/index.js +1 -8
  7. package/components/checkbox/dist/registered.js +1 -8
  8. package/components/combobox/demo/api.md +0 -2
  9. package/components/combobox/demo/api.min.js +13 -79
  10. package/components/combobox/demo/index.min.js +13 -79
  11. package/components/combobox/dist/auro-combobox.d.ts +4 -2
  12. package/components/combobox/dist/index.js +12 -78
  13. package/components/combobox/dist/registered.js +12 -78
  14. package/components/counter/demo/api.md +0 -2
  15. package/components/counter/demo/api.min.js +1 -28
  16. package/components/counter/demo/index.min.js +1 -28
  17. package/components/counter/dist/auro-counter-group.d.ts +0 -10
  18. package/components/counter/dist/index.js +1 -28
  19. package/components/counter/dist/registered.js +1 -28
  20. package/components/datepicker/README.md +1 -1
  21. package/components/datepicker/demo/api.md +19 -41
  22. package/components/datepicker/demo/api.min.js +86 -252
  23. package/components/datepicker/demo/index.md +4 -4
  24. package/components/datepicker/demo/index.min.js +86 -252
  25. package/components/datepicker/demo/readme.md +1 -1
  26. package/components/datepicker/dist/auro-datepicker.d.ts +12 -60
  27. package/components/datepicker/dist/index.js +86 -252
  28. package/components/datepicker/dist/registered.js +86 -252
  29. package/components/dropdown/demo/api.md +1 -1
  30. package/components/dropdown/demo/api.min.js +0 -7
  31. package/components/dropdown/demo/index.min.js +0 -7
  32. package/components/dropdown/dist/index.js +0 -7
  33. package/components/dropdown/dist/registered.js +0 -7
  34. package/components/input/demo/api.min.js +9 -70
  35. package/components/input/demo/index.min.js +9 -70
  36. package/components/input/dist/auro-input.d.ts +0 -24
  37. package/components/input/dist/index.js +9 -70
  38. package/components/input/dist/registered.js +9 -70
  39. package/components/menu/demo/api.min.js +1 -1
  40. package/components/menu/demo/index.min.js +1 -1
  41. package/components/menu/dist/index.js +1 -1
  42. package/components/menu/dist/registered.js +1 -1
  43. package/components/radio/demo/api.min.js +1 -1
  44. package/components/radio/demo/index.min.js +1 -1
  45. package/components/radio/dist/index.js +1 -1
  46. package/components/radio/dist/registered.js +1 -1
  47. package/components/select/demo/api.md +64 -46
  48. package/components/select/demo/api.min.js +16 -58
  49. package/components/select/demo/index.md +137 -1057
  50. package/components/select/demo/index.min.js +16 -58
  51. package/components/select/dist/auro-select.d.ts +5 -22
  52. package/components/select/dist/index.js +15 -57
  53. package/components/select/dist/registered.js +15 -57
  54. package/package.json +2 -2
  55. package/components/datepicker/dist/styles/classic/style-css.d.ts +0 -2
  56. /package/components/datepicker/dist/styles/{classic → default}/color-css.d.ts +0 -0
@@ -7087,13 +7087,6 @@ class AuroDropdown extends AuroElement$3 {
7087
7087
 
7088
7088
  // Add the tag name as an attribute if it is different than the component name
7089
7089
  this.runtimeUtils.handleComponentTagRename(this, 'auro-dropdown');
7090
-
7091
- this.trigger.addEventListener('click', () => {
7092
- this.dispatchEvent(new CustomEvent('auroDropdown-triggerClick', {
7093
- bubbles: true,
7094
- composed: true
7095
- }));
7096
- });
7097
7090
  }
7098
7091
 
7099
7092
  /**
@@ -9380,7 +9373,7 @@ class AuroBibtemplate extends i$2 {
9380
9373
  /**
9381
9374
  * @private
9382
9375
  */
9383
- this.buttonTag = versioning.generateTag('auro-formkit-bibtemplate-button', buttonVersion, AuroButton);
9376
+ this.buttonTag = versioning.generateTag('auro-formkit-input-button', buttonVersion, AuroButton);
9384
9377
  }
9385
9378
 
9386
9379
  static get styles() {
@@ -10047,26 +10040,6 @@ class AuroCounterGroup extends AuroElement {
10047
10040
  });
10048
10041
  }
10049
10042
 
10050
- /**
10051
- * Hides the dropdown bib if its open.
10052
- * @returns {void}
10053
- */
10054
- hideBib() {
10055
- if (this.dropdown && this.dropdown.isPopoverVisible) {
10056
- this.dropdown.hide();
10057
- }
10058
- }
10059
-
10060
- /**
10061
- * Shows the dropdown bib if there are options to show.
10062
- * @returns {void}
10063
- */
10064
- showBib() {
10065
- if (this.dropdown && !this.dropdown.isPopoverVisible) {
10066
- this.dropdown.show();
10067
- }
10068
- }
10069
-
10070
10043
  /**
10071
10044
  * Configures the dropdown counters by selecting all `auro-counter` elements,
10072
10045
  * appending them to the `auro-counter-wrapper` element within the shadow DOM,
@@ -7087,13 +7087,6 @@ class AuroDropdown extends AuroElement$3 {
7087
7087
 
7088
7088
  // Add the tag name as an attribute if it is different than the component name
7089
7089
  this.runtimeUtils.handleComponentTagRename(this, 'auro-dropdown');
7090
-
7091
- this.trigger.addEventListener('click', () => {
7092
- this.dispatchEvent(new CustomEvent('auroDropdown-triggerClick', {
7093
- bubbles: true,
7094
- composed: true
7095
- }));
7096
- });
7097
7090
  }
7098
7091
 
7099
7092
  /**
@@ -9380,7 +9373,7 @@ class AuroBibtemplate extends i$2 {
9380
9373
  /**
9381
9374
  * @private
9382
9375
  */
9383
- this.buttonTag = versioning.generateTag('auro-formkit-bibtemplate-button', buttonVersion, AuroButton);
9376
+ this.buttonTag = versioning.generateTag('auro-formkit-input-button', buttonVersion, AuroButton);
9384
9377
  }
9385
9378
 
9386
9379
  static get styles() {
@@ -10047,26 +10040,6 @@ class AuroCounterGroup extends AuroElement {
10047
10040
  });
10048
10041
  }
10049
10042
 
10050
- /**
10051
- * Hides the dropdown bib if its open.
10052
- * @returns {void}
10053
- */
10054
- hideBib() {
10055
- if (this.dropdown && this.dropdown.isPopoverVisible) {
10056
- this.dropdown.hide();
10057
- }
10058
- }
10059
-
10060
- /**
10061
- * Shows the dropdown bib if there are options to show.
10062
- * @returns {void}
10063
- */
10064
- showBib() {
10065
- if (this.dropdown && !this.dropdown.isPopoverVisible) {
10066
- this.dropdown.show();
10067
- }
10068
- }
10069
-
10070
10043
  /**
10071
10044
  * Configures the dropdown counters by selecting all `auro-counter` elements,
10072
10045
  * appending them to the `auro-counter-wrapper` element within the shadow DOM,
@@ -267,16 +267,6 @@ export class AuroCounterGroup extends LitElement {
267
267
  */
268
268
  private getErrorMessages;
269
269
  errorMessage: any;
270
- /**
271
- * Hides the dropdown bib if its open.
272
- * @returns {void}
273
- */
274
- hideBib(): void;
275
- /**
276
- * Shows the dropdown bib if there are options to show.
277
- * @returns {void}
278
- */
279
- showBib(): void;
280
270
  /**
281
271
  * Configures the dropdown counters by selecting all `auro-counter` elements,
282
272
  * appending them to the `auro-counter-wrapper` element within the shadow DOM,
@@ -7040,13 +7040,6 @@ class AuroDropdown extends AuroElement$3 {
7040
7040
 
7041
7041
  // Add the tag name as an attribute if it is different than the component name
7042
7042
  this.runtimeUtils.handleComponentTagRename(this, 'auro-dropdown');
7043
-
7044
- this.trigger.addEventListener('click', () => {
7045
- this.dispatchEvent(new CustomEvent('auroDropdown-triggerClick', {
7046
- bubbles: true,
7047
- composed: true
7048
- }));
7049
- });
7050
7043
  }
7051
7044
 
7052
7045
  /**
@@ -9333,7 +9326,7 @@ class AuroBibtemplate extends LitElement {
9333
9326
  /**
9334
9327
  * @private
9335
9328
  */
9336
- this.buttonTag = versioning.generateTag('auro-formkit-bibtemplate-button', buttonVersion, AuroButton);
9329
+ this.buttonTag = versioning.generateTag('auro-formkit-input-button', buttonVersion, AuroButton);
9337
9330
  }
9338
9331
 
9339
9332
  static get styles() {
@@ -10000,26 +9993,6 @@ class AuroCounterGroup extends AuroElement {
10000
9993
  });
10001
9994
  }
10002
9995
 
10003
- /**
10004
- * Hides the dropdown bib if its open.
10005
- * @returns {void}
10006
- */
10007
- hideBib() {
10008
- if (this.dropdown && this.dropdown.isPopoverVisible) {
10009
- this.dropdown.hide();
10010
- }
10011
- }
10012
-
10013
- /**
10014
- * Shows the dropdown bib if there are options to show.
10015
- * @returns {void}
10016
- */
10017
- showBib() {
10018
- if (this.dropdown && !this.dropdown.isPopoverVisible) {
10019
- this.dropdown.show();
10020
- }
10021
- }
10022
-
10023
9996
  /**
10024
9997
  * Configures the dropdown counters by selecting all `auro-counter` elements,
10025
9998
  * appending them to the `auro-counter-wrapper` element within the shadow DOM,
@@ -7040,13 +7040,6 @@ class AuroDropdown extends AuroElement$3 {
7040
7040
 
7041
7041
  // Add the tag name as an attribute if it is different than the component name
7042
7042
  this.runtimeUtils.handleComponentTagRename(this, 'auro-dropdown');
7043
-
7044
- this.trigger.addEventListener('click', () => {
7045
- this.dispatchEvent(new CustomEvent('auroDropdown-triggerClick', {
7046
- bubbles: true,
7047
- composed: true
7048
- }));
7049
- });
7050
7043
  }
7051
7044
 
7052
7045
  /**
@@ -9333,7 +9326,7 @@ class AuroBibtemplate extends LitElement {
9333
9326
  /**
9334
9327
  * @private
9335
9328
  */
9336
- this.buttonTag = versioning.generateTag('auro-formkit-bibtemplate-button', buttonVersion, AuroButton);
9329
+ this.buttonTag = versioning.generateTag('auro-formkit-input-button', buttonVersion, AuroButton);
9337
9330
  }
9338
9331
 
9339
9332
  static get styles() {
@@ -10000,26 +9993,6 @@ class AuroCounterGroup extends AuroElement {
10000
9993
  });
10001
9994
  }
10002
9995
 
10003
- /**
10004
- * Hides the dropdown bib if its open.
10005
- * @returns {void}
10006
- */
10007
- hideBib() {
10008
- if (this.dropdown && this.dropdown.isPopoverVisible) {
10009
- this.dropdown.hide();
10010
- }
10011
- }
10012
-
10013
- /**
10014
- * Shows the dropdown bib if there are options to show.
10015
- * @returns {void}
10016
- */
10017
- showBib() {
10018
- if (this.dropdown && !this.dropdown.isPopoverVisible) {
10019
- this.dropdown.show();
10020
- }
10021
- }
10022
-
10023
9996
  /**
10024
9997
  * Configures the dropdown counters by selecting all `auro-counter` elements,
10025
9998
  * appending them to the `auro-counter-wrapper` element within the shadow DOM,
@@ -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 required="">
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,13 +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?: 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. |
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` | |
56
59
  | [reset](#reset) | `(): void` | Resets component to initial state. |
57
60
  | [resetLayoutClasses](#resetLayoutClasses) | `(): void` | |
58
61
  | [resetShapeClasses](#resetShapeClasses) | `(): void` | |
59
62
  | [resetValues](#resetValues) | `(): void` | Resets values without resetting validation. |
60
- | [showBib](#showBib) | `(): void` | Shows the dropdown bib if there are options to show. |
63
+ | [setHasFocus](#setHasFocus) | `(): void` | |
64
+ | [setHasValue](#setHasValue) | `(): void` | |
61
65
  | [updateComponentArchitecture](#updateComponentArchitecture) | `(): void` | |
62
66
  | [validate](#validate) | `(force?: boolean \| undefined): void` | Validates value.<br /><br />**force**: Whether to force validation. |
63
67
 
@@ -103,7 +107,7 @@
103
107
  <div class="exampleWrapper">
104
108
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
105
109
  <!-- The below content is automatically added from ./../apiExamples/basic.html -->
106
- <auro-datepicker required="">
110
+ <auro-datepicker>
107
111
  <span slot="bib.fullscreen.headline">Datepicker Headline</span>
108
112
  <span slot="fromLabel">Choose a date</span>
109
113
  <span slot="bib.fullscreen.dateLabel">Choose a date</span>
@@ -116,7 +120,7 @@
116
120
  <!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
117
121
 
118
122
  ```html
119
- <auro-datepicker required="">
123
+ <auro-datepicker>
120
124
  <span slot="bib.fullscreen.headline">Datepicker Headline</span>
121
125
  <span slot="fromLabel">Choose a date</span>
122
126
  <span slot="bib.fullscreen.dateLabel">Choose a date</span>
@@ -132,7 +136,7 @@ When used, the datepicker will display two inputs and the component will support
132
136
  <div class="exampleWrapper">
133
137
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basicRange.html) -->
134
138
  <!-- The below content is automatically added from ./../apiExamples/basicRange.html -->
135
- <auro-datepicker range minDate="07/08/2025">
139
+ <auro-datepicker range>
136
140
  <span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
137
141
  <span slot="fromLabel">Departure</span>
138
142
  <span slot="toLabel">Return</span>
@@ -146,7 +150,7 @@ When used, the datepicker will display two inputs and the component will support
146
150
  <!-- The below code snippet is automatically added from ./../apiExamples/basicRange.html -->
147
151
 
148
152
  ```html
149
- <auro-datepicker range minDate="07/08/2025">
153
+ <auro-datepicker range>
150
154
  <span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
151
155
  <span slot="fromLabel">Departure</span>
152
156
  <span slot="toLabel">Return</span>
@@ -910,7 +914,7 @@ Sets the label used for the input. When the `range` attribute is used this is th
910
914
  <div class="exampleWrapper">
911
915
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
912
916
  <!-- The below content is automatically added from ./../apiExamples/basic.html -->
913
- <auro-datepicker required="">
917
+ <auro-datepicker>
914
918
  <span slot="bib.fullscreen.headline">Datepicker Headline</span>
915
919
  <span slot="fromLabel">Choose a date</span>
916
920
  <span slot="bib.fullscreen.dateLabel">Choose a date</span>
@@ -923,7 +927,7 @@ Sets the label used for the input. When the `range` attribute is used this is th
923
927
  <!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
924
928
 
925
929
  ```html
926
- <auro-datepicker required="">
930
+ <auro-datepicker>
927
931
  <span slot="bib.fullscreen.headline">Datepicker Headline</span>
928
932
  <span slot="fromLabel">Choose a date</span>
929
933
  <span slot="bib.fullscreen.dateLabel">Choose a date</span>
@@ -971,7 +975,7 @@ To view this demo, set your window to a mobile screen size.
971
975
  <div class="exampleWrapper">
972
976
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
973
977
  <!-- The below content is automatically added from ./../apiExamples/basic.html -->
974
- <auro-datepicker required="">
978
+ <auro-datepicker>
975
979
  <span slot="bib.fullscreen.headline">Datepicker Headline</span>
976
980
  <span slot="fromLabel">Choose a date</span>
977
981
  <span slot="bib.fullscreen.dateLabel">Choose a date</span>
@@ -984,7 +988,7 @@ To view this demo, set your window to a mobile screen size.
984
988
  <!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
985
989
 
986
990
  ```html
987
- <auro-datepicker required="">
991
+ <auro-datepicker>
988
992
  <span slot="bib.fullscreen.headline">Datepicker Headline</span>
989
993
  <span slot="fromLabel">Choose a date</span>
990
994
  <span slot="bib.fullscreen.dateLabel">Choose a date</span>
@@ -1000,7 +1004,7 @@ Only for use with the `range` attribute. Sets the label for the second input.
1000
1004
  <div class="exampleWrapper">
1001
1005
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basicRange.html) -->
1002
1006
  <!-- The below content is automatically added from ./../apiExamples/basicRange.html -->
1003
- <auro-datepicker range minDate="07/08/2025">
1007
+ <auro-datepicker range>
1004
1008
  <span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
1005
1009
  <span slot="fromLabel">Departure</span>
1006
1010
  <span slot="toLabel">Return</span>
@@ -1014,7 +1018,7 @@ Only for use with the `range` attribute. Sets the label for the second input.
1014
1018
  <!-- The below code snippet is automatically added from ./../apiExamples/basicRange.html -->
1015
1019
 
1016
1020
  ```html
1017
- <auro-datepicker range minDate="07/08/2025">
1021
+ <auro-datepicker range>
1018
1022
  <span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
1019
1023
  <span slot="fromLabel">Departure</span>
1020
1024
  <span slot="toLabel">Return</span>
@@ -1470,35 +1474,9 @@ The component may be restyled using the following code sample and changing the v
1470
1474
 
1471
1475
  @use "@aurodesignsystem/design-tokens/dist/themes/alaska/SCSSVariables--alaska" as v;
1472
1476
 
1473
- :host(:not([ondark])) {
1474
- // datepicker
1477
+ :host {
1478
+ --ds-auro-datepicker-placeholder-color: var(--ds-basic-color-texticon-default, #{v.$ds-basic-color-texticon-default});
1475
1479
  --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
1480
  --ds-auro-calendar-mobile-header-container-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
1503
1481
  --ds-auro-calendar-mobile-header-divider-color: var(--ds-basic-color-border-divider, #{v.$ds-basic-color-border-divider});
1504
1482
  --ds-auro-calendar-mobile-header-text-color: var(--ds-basic-color-texticon-muted, #{v.$ds-basic-color-texticon-muted});