@aurodesignsystem/auro-formkit 5.9.0 → 5.9.2

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 (136) hide show
  1. package/CHANGELOG.md +13 -4
  2. package/README.md +4 -4
  3. package/components/bibtemplate/dist/iconVersion.d.ts +1 -1
  4. package/components/bibtemplate/dist/index.js +2 -2
  5. package/components/bibtemplate/dist/registered.js +2 -2
  6. package/components/checkbox/README.md +62 -62
  7. package/components/checkbox/demo/api.js +1 -1
  8. package/components/checkbox/demo/api.md +127 -84
  9. package/components/checkbox/demo/api.min.js +125 -42
  10. package/components/checkbox/demo/index.md +9 -281
  11. package/components/checkbox/demo/index.min.js +125 -42
  12. package/components/checkbox/demo/readme.html +3 -4
  13. package/components/checkbox/demo/readme.md +62 -62
  14. package/components/checkbox/dist/auro-checkbox-group.d.ts +7 -8
  15. package/components/checkbox/dist/auro-checkbox.d.ts +74 -20
  16. package/components/checkbox/dist/index.js +125 -42
  17. package/components/checkbox/dist/registered.js +125 -42
  18. package/components/combobox/README.md +76 -74
  19. package/components/combobox/demo/api.html +1 -0
  20. package/components/combobox/demo/api.js +11 -12
  21. package/components/combobox/demo/api.md +1302 -875
  22. package/components/combobox/demo/api.min.js +416 -492
  23. package/components/combobox/demo/index.html +1 -7
  24. package/components/combobox/demo/index.js +0 -19
  25. package/components/combobox/demo/index.md +43 -723
  26. package/components/combobox/demo/index.min.js +369 -302
  27. package/components/combobox/demo/readme.html +3 -4
  28. package/components/combobox/demo/readme.md +76 -74
  29. package/components/combobox/dist/auro-combobox.d.ts +42 -42
  30. package/components/combobox/dist/index.js +204 -210
  31. package/components/combobox/dist/registered.js +204 -210
  32. package/components/counter/README.md +81 -66
  33. package/components/counter/demo/api.html +1 -2
  34. package/components/counter/demo/api.js +2 -2
  35. package/components/counter/demo/api.md +777 -259
  36. package/components/counter/demo/api.min.js +119 -171
  37. package/components/counter/demo/index.html +0 -2
  38. package/components/counter/demo/index.md +20 -329
  39. package/components/counter/demo/index.min.js +117 -152
  40. package/components/counter/demo/readme.html +3 -4
  41. package/components/counter/demo/readme.md +81 -66
  42. package/components/counter/dist/auro-counter-group.d.ts +21 -36
  43. package/components/counter/dist/auro-counter-wrapper.d.ts +1 -6
  44. package/components/counter/dist/auro-counter.d.ts +5 -8
  45. package/components/counter/dist/index.js +117 -152
  46. package/components/counter/dist/registered.js +117 -152
  47. package/components/datepicker/README.md +57 -61
  48. package/components/datepicker/demo/api.js +8 -8
  49. package/components/datepicker/demo/api.md +720 -561
  50. package/components/datepicker/demo/api.min.js +678 -2769
  51. package/components/datepicker/demo/index.md +65 -117
  52. package/components/datepicker/demo/index.min.js +678 -2769
  53. package/components/datepicker/demo/readme.html +3 -4
  54. package/components/datepicker/demo/readme.md +57 -61
  55. package/components/datepicker/dist/auro-calendar.d.ts +60 -34
  56. package/components/datepicker/dist/auro-datepicker.d.ts +32 -32
  57. package/components/datepicker/dist/iconVersion.d.ts +1 -1
  58. package/components/datepicker/dist/index.js +505 -2596
  59. package/components/datepicker/dist/popoverVersion.d.ts +1 -1
  60. package/components/datepicker/dist/registered.js +505 -2596
  61. package/components/dropdown/README.md +78 -62
  62. package/components/dropdown/demo/api.js +4 -4
  63. package/components/dropdown/demo/api.md +520 -478
  64. package/components/dropdown/demo/api.min.js +80 -95
  65. package/components/dropdown/demo/index.md +65 -119
  66. package/components/dropdown/demo/index.min.js +70 -85
  67. package/components/dropdown/demo/readme.html +3 -4
  68. package/components/dropdown/demo/readme.md +78 -62
  69. package/components/dropdown/dist/auro-dropdown.d.ts +42 -33
  70. package/components/dropdown/dist/iconVersion.d.ts +1 -1
  71. package/components/dropdown/dist/index.js +70 -85
  72. package/components/dropdown/dist/registered.js +70 -85
  73. package/components/form/README.md +16 -58
  74. package/components/form/demo/api.md +16 -21
  75. package/components/form/demo/api.min.js +13 -8
  76. package/components/form/demo/index.md +38 -39
  77. package/components/form/demo/index.min.js +13 -8
  78. package/components/form/demo/readme.md +16 -58
  79. package/components/form/demo/working.html +1 -1
  80. package/components/form/dist/auro-form.d.ts +15 -3
  81. package/components/form/dist/index.js +13 -8
  82. package/components/form/dist/registered.js +13 -8
  83. package/components/input/README.md +55 -60
  84. package/components/input/demo/api.js +3 -5
  85. package/components/input/demo/api.md +558 -537
  86. package/components/input/demo/api.min.js +102 -115
  87. package/components/input/demo/index.js +0 -1
  88. package/components/input/demo/index.md +90 -203
  89. package/components/input/demo/index.min.js +87 -99
  90. package/components/input/demo/readme.html +3 -4
  91. package/components/input/demo/readme.md +55 -60
  92. package/components/input/dist/auro-input.d.ts +6 -5
  93. package/components/input/dist/base-input.d.ts +68 -69
  94. package/components/input/dist/iconVersion.d.ts +1 -1
  95. package/components/input/dist/index.js +87 -82
  96. package/components/input/dist/registered.js +87 -82
  97. package/components/menu/README.md +61 -61
  98. package/components/menu/demo/api.js +6 -8
  99. package/components/menu/demo/api.md +520 -577
  100. package/components/menu/demo/api.min.js +199 -97
  101. package/components/menu/demo/index.js +0 -5
  102. package/components/menu/demo/index.md +36 -119
  103. package/components/menu/demo/index.min.js +164 -101
  104. package/components/menu/demo/readme.html +3 -4
  105. package/components/menu/demo/readme.md +61 -61
  106. package/components/menu/dist/auro-menu.context.d.ts +5 -0
  107. package/components/menu/dist/auro-menu.d.ts +75 -37
  108. package/components/menu/dist/auro-menuoption.d.ts +38 -13
  109. package/components/menu/dist/index.js +164 -50
  110. package/components/menu/dist/registered.js +164 -50
  111. package/components/radio/README.md +61 -57
  112. package/components/radio/demo/api.js +2 -2
  113. package/components/radio/demo/api.md +241 -170
  114. package/components/radio/demo/api.min.js +154 -77
  115. package/components/radio/demo/index.md +22 -99
  116. package/components/radio/demo/index.min.js +145 -68
  117. package/components/radio/demo/readme.html +3 -4
  118. package/components/radio/demo/readme.md +61 -57
  119. package/components/radio/dist/auro-radio-group.d.ts +67 -35
  120. package/components/radio/dist/auro-radio.d.ts +56 -33
  121. package/components/radio/dist/index.js +145 -68
  122. package/components/radio/dist/registered.js +145 -68
  123. package/components/select/README.md +68 -65
  124. package/components/select/demo/api.html +1 -0
  125. package/components/select/demo/api.js +7 -7
  126. package/components/select/demo/api.md +1305 -625
  127. package/components/select/demo/api.min.js +357 -262
  128. package/components/select/demo/index.html +0 -2
  129. package/components/select/demo/index.md +25 -833
  130. package/components/select/demo/index.min.js +356 -230
  131. package/components/select/demo/readme.html +3 -4
  132. package/components/select/demo/readme.md +68 -65
  133. package/components/select/dist/auro-select.d.ts +99 -90
  134. package/components/select/dist/index.js +192 -180
  135. package/components/select/dist/registered.js +192 -180
  136. package/package.json +9 -4
@@ -48,10 +48,9 @@
48
48
  Prism.highlightAll();
49
49
  })
50
50
  </script>
51
- <script type="module">
52
- import { initExamples } from "./index.min.js";
51
+ <script src="./index.min.js" data-demo-script="true" type="module"></script>
53
52
 
54
- initExamples();
55
- </script>
53
+ <!-- If additional elements are needed for the demo, add them here. -->
54
+ <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-accordion@latest/+esm" type="module"></script>
56
55
  </body>
57
56
  </html>
@@ -18,6 +18,7 @@ The following sections are editable by making changes to the following files:
18
18
  -->
19
19
 
20
20
  # Combobox
21
+
21
22
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/description.md) -->
22
23
  <!-- The below content is automatically added from ./docs/partials/description.md -->
23
24
  `<auro-combobox>` is the combination of [dropdown](http://auro.alaskaair.com/components/auro/dropdown), [input](http://auro.alaskaair.com/components/auro/input), and [menu](http://auro.alaskaair.com/components/auro/menu) and allows users to filter search results from a predefined list as they type. When the user starts typing in the text input, a dropdown of a menu shows up to display options that match the user’s search.
@@ -29,7 +30,23 @@ By default, `auro-combobox` behaves as a suggestion list. This means any value m
29
30
  <!-- AURO-GENERATED-CONTENT This file is to be used for any additional content that should be included in the README.md which is specific to this component. -->
30
31
  <!-- AURO-GENERATED-CONTENT:END -->
31
32
 
33
+ ## Combobox Use Cases
34
+
35
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/useCases.md) -->
36
+ <!-- The below content is automatically added from ./docs/partials/useCases.md -->
37
+ The `<auro-combobox>` element should be used in situations where users may:
38
+
39
+ * Search
40
+ * Airports: user looks for a specific airport by searching for the city name or airport code
41
+ * Site wide: user searches for a topic site wide and combobox makes suggestions on searchable results
42
+ * Filter
43
+ * Options: user chooses filters for their search by using combobox
44
+ * Select
45
+ * Quantity: user types a quantity to select an option within a range (for example, the user may be limited to 2-34)
46
+ <!-- AURO-GENERATED-CONTENT:END -->
47
+
32
48
  ## Getting Started
49
+
33
50
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/componentInstall.md) -->
34
51
  <!-- The below content is automatically added from ../../docs/templates/componentInstall.md -->
35
52
 
@@ -42,30 +59,7 @@ $ npm i @aurodesignsystem/auro-formkit
42
59
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/gettingStarted.md) -->
43
60
  <!-- The below content is automatically added from ../../docs/templates/gettingStarted.md -->
44
61
 
45
- ### Import Options
46
-
47
- #### Automatic Registration
48
-
49
- For automatic registration, simply import the component:
50
-
51
- ```javascript
52
- // Registers <auro-combobox> automatically
53
- import '@aurodesignsystem/auro-formkit/auro-combobox';
54
- ```
55
-
56
- #### Custom Registration
57
-
58
- To protect from versioning conflicts with other instances of the component being loaded, it is recommended to use our static `AuroCombobox.register('custom-combobox')` method on the component class and pass in a unique name.
59
-
60
- ```javascript
61
- // Import the class only
62
- import { AuroCombobox } from '@aurodesignsystem/auro-formkit/auro-combobox/class';
63
-
64
- // Register with a custom name if desired
65
- AuroCombobox.register('custom-combobox');
66
- ```
67
-
68
- #### TypeScript Module Resolution
62
+ ### TypeScript Module Resolution
69
63
 
70
64
  When using TypeScript set `moduleResolution` to `bundler`, add the following to your `tsconfig.json`:
71
65
 
@@ -78,38 +72,10 @@ When using TypeScript set `moduleResolution` to `bundler`, add the following to
78
72
  ```
79
73
 
80
74
  This configuration enables proper module resolution for the component's TypeScript files.
81
- <!-- AURO-GENERATED-CONTENT:END -->
82
- **Reference component in HTML**
83
-
84
- <!-- AURO-GENERATED-CONTENT:START (CODE:src=./apiExamples/basic.html) -->
85
- <!-- The below code snippet is automatically added from ./apiExamples/basic.html -->
86
-
87
- ```html
88
- <auro-combobox>
89
- <span slot="ariaLabel.bib.close">Close combobox</span>
90
- <span slot="ariaLabel.input.clear">Clear All</span>
91
- <span slot="bib.fullscreen.headline">Bib Header</span>
92
- <span slot="label">Name</span>
93
- <auro-menu>
94
- <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
95
- <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
96
- <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
97
- <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
98
- <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
99
- <auro-menuoption static nomatch>No matching option</auro-menuoption>
100
- </auro-menu>
101
- </auro-combobox>
102
- ```
103
- <!-- AURO-GENERATED-CONTENT:END -->
104
-
105
- ### Design Token CSS Custom Property dependency
106
-
107
- <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/development/designTokens.md) -->
108
- The use of any Auro custom element has a dependency on the [Auro Design Tokens](https://auro.alaskaair.com/getting-started/developers/design-tokens).
109
-
110
75
  <!-- AURO-GENERATED-CONTENT:END -->
111
76
 
112
77
  ## Install from CDN
78
+
113
79
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/bundleInstallDescription.md) -->
114
80
  <!-- The below content is automatically added from ../../docs/templates/bundleInstallDescription.md -->
115
81
  In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
@@ -119,27 +85,7 @@ In cases where the project is not able to process JS assets, there are pre-proce
119
85
  ```
120
86
  <!-- AURO-GENERATED-CONTENT:END -->
121
87
 
122
- ## UI development browser support
123
- <!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/browserSupport.md) -->
124
- For the most up to date information on [UI development browser support](https://auro.alaskaair.com/support/browsersSupport)
125
-
126
- <!-- AURO-GENERATED-CONTENT:END -->
127
-
128
- ## auro-combobox use cases
129
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/useCases.md) -->
130
- <!-- The below content is automatically added from ./docs/partials/useCases.md -->
131
- The `<auro-combobox>` element should be used in situations where users may:
132
-
133
- * Search
134
- * Airports: user looks for a specific airport by searching for the city name or airport code
135
- * Site wide: user searches for a topic site wide and combobox makes suggestions on searchable results
136
- * Filter
137
- * Options: user chooses filters for their search by using combobox
138
- * Select
139
- * Quantity: user types a quantity to select an option within a range (for example, the user may be limited to 2-34)
140
- <!-- AURO-GENERATED-CONTENT:END -->
141
-
142
- ## Formkit development
88
+ ## Formkit Development
143
89
 
144
90
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/partials/developmentDescription.md) -->
145
91
  <!-- The below content is automatically added from ../../docs/partials/developmentDescription.md -->
@@ -153,4 +99,60 @@ To only develop a single component, use the `--filter` flag:
153
99
  ```shell
154
100
  npx turbo dev --filter=@aurodesignsystem/auro-input
155
101
  ```
102
+ <!-- AURO-GENERATED-CONTENT:END -->
103
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/customRegistration.md) -->
104
+ <!-- The below content is automatically added from ./docs/partials/customRegistration.md -->
105
+
106
+ ## Custom Component Registration for Version Management
107
+
108
+ There are two key parts to every Auro component: the <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes">class</a> and the custom element definition. The class defines the component’s behavior, while the custom element registers it under a specific name so it can be used in HTML.
109
+
110
+ When you install the component as described on the `Install` page, the class is imported automatically, and the component is registered globally for you.
111
+
112
+ However, if you need to load multiple versions of the same component on a single page (for example, when two projects depend on different versions), you can manually register the class under a custom element name to avoid conflicts.
113
+
114
+ You can do this by importing only the component class and using the `register(name)` method with a unique name:
115
+
116
+ ```js
117
+ // Import the class only
118
+ import { AuroCombobox } from '@aurodesignsystem/auro-formkit/auro-combobox/class';
119
+
120
+ // Register with a custom name if desired
121
+ AuroCombobox.register('custom-combobox');
122
+ ```
123
+
124
+ This will create a new custom element `<custom-combobox>` that behaves exactly like `<auro-combobox>`, allowing both to coexist on the same page without interfering with each other.
125
+
126
+ <div class="exampleWrapper exampleWrapper--flex">
127
+ <custom-combobox>
128
+ <span slot="bib.fullscreen.headline">Bib Header</span>
129
+ <span slot="label">Name</span>
130
+ <auro-menu>
131
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
132
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
133
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
134
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
135
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
136
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
137
+ </auro-menu>
138
+ </custom-combobox>
139
+ </div>
140
+ <auro-accordion alignRight>
141
+ <span slot="trigger">See code</span>
142
+
143
+ ```html
144
+ <custom-combobox>
145
+ <span slot="bib.fullscreen.headline">Bib Header</span>
146
+ <span slot="label">Name</span>
147
+ <auro-menu>
148
+ <auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
149
+ <auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
150
+ <auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
151
+ <auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
152
+ <auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
153
+ <auro-menuoption static nomatch>No matching option</auro-menuoption>
154
+ </auro-menu>
155
+ </custom-combobox>
156
+ ```
157
+ </auro-accordion>
156
158
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -1,4 +1,7 @@
1
1
  /**
2
+ * The `auro-combobox` element provides users with a way to select an option from a list of filtered or suggested options based on user input.
3
+ * @customElement auro-combobox
4
+ *
2
5
  * @slot - Default slot for the menu content.
3
6
  * @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
4
7
  * @slot ariaLabel.input.clear - Sets aria-label on clear button
@@ -16,7 +19,7 @@ export class AuroCombobox extends AuroElement {
16
19
  static get properties(): {
17
20
  /**
18
21
  * Defines whether the component will be on lighter or darker backgrounds.
19
- * @property {'default', 'inverse'}
22
+ * @property {'default' | 'inverse'}
20
23
  * @default 'default'
21
24
  */
22
25
  appearance: {
@@ -25,7 +28,6 @@ export class AuroCombobox extends AuroElement {
25
28
  };
26
29
  /**
27
30
  * An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
28
- * @default false
29
31
  */
30
32
  autocomplete: {
31
33
  type: StringConstructor;
@@ -51,12 +53,10 @@ export class AuroCombobox extends AuroElement {
51
53
  * Sets the behavior of the combobox, "filter" or "suggestion".
52
54
  * "filter" requires the user to select an option from the menu.
53
55
  * "suggestion" allows the user to enter a value not present in the menu options.
54
- * @default suggestion
56
+ * @type {'filter' | 'suggestion'}
57
+ * @default 'suggestion'
55
58
  */
56
- behavior: {
57
- type: StringConstructor;
58
- reflect: boolean;
59
- };
59
+ behavior: "filter" | "suggestion";
60
60
  /**
61
61
  * When attribute is present auro-menu will apply check marks to selected options.
62
62
  */
@@ -116,8 +116,15 @@ export class AuroCombobox extends AuroElement {
116
116
  attribute: boolean;
117
117
  reflect: boolean;
118
118
  };
119
+ /**
120
+ * Sets the layout of the combobox.
121
+ * @type {'classic' | 'emphasized' | 'snowflake'}
122
+ * @default 'classic'
123
+ */
124
+ layout: "classic" | "emphasized" | "snowflake";
119
125
  /**
120
126
  * If declared, the popover and trigger will be set to the same width.
127
+ * @private
121
128
  */
122
129
  matchWidth: {
123
130
  type: BooleanConstructor;
@@ -133,7 +140,6 @@ export class AuroCombobox extends AuroElement {
133
140
  /**
134
141
  * If declared, the bib will NOT flip to an alternate position
135
142
  * when there isn't enough space in the specified `placement`.
136
- * @default false
137
143
  */
138
144
  noFlip: {
139
145
  type: BooleanConstructor;
@@ -141,7 +147,6 @@ export class AuroCombobox extends AuroElement {
141
147
  };
142
148
  /**
143
149
  * If declared, the dropdown will shift its position to avoid being cut off by the viewport.
144
- * @default false
145
150
  */
146
151
  shift: {
147
152
  type: BooleanConstructor;
@@ -163,7 +168,7 @@ export class AuroCombobox extends AuroElement {
163
168
  reflect: boolean;
164
169
  };
165
170
  /**
166
- * DEPRECATED - use `appearance` instead.
171
+ * DEPRECATED - use `appearance="inverse"` instead.
167
172
  */
168
173
  onDark: {
169
174
  type: BooleanConstructor;
@@ -178,22 +183,17 @@ export class AuroCombobox extends AuroElement {
178
183
  * If declared, selecting a menu option will not change the input value. By doing so,
179
184
  * the current menu filter will be preserved and the user can continue from their last
180
185
  * filter state. It is recommended to use this in combination with the `displayValue` slot.
181
- * @type {Boolean}
182
186
  */
183
- persistInput: boolean;
184
- /**
185
- * Position where the bib should appear relative to the trigger.
186
- * Accepted values:
187
- * "top" | "right" | "bottom" | "left" |
188
- * "bottom-start" | "top-start" | "top-end" |
189
- * "right-start" | "right-end" | "bottom-end" |
190
- * "left-start" | "left-end"
191
- * @default bottom-start
192
- */
193
- placement: {
194
- type: StringConstructor;
187
+ persistInput: {
188
+ type: BooleanConstructor;
195
189
  reflect: boolean;
196
190
  };
191
+ /**
192
+ * Position where the bib should appear relative to the trigger.
193
+ * @type {'top' | 'right' | 'bottom' | 'left' | 'bottom-start' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-end' | 'left-start' | 'left-end'}
194
+ * @default 'bottom-start'
195
+ */
196
+ placement: "top" | "right" | "bottom" | "left" | "bottom-start" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-end" | "left-start" | "left-end";
197
197
  /**
198
198
  * Define custom placeholder text, only supported by date input formats.
199
199
  */
@@ -234,11 +234,13 @@ export class AuroCombobox extends AuroElement {
234
234
  };
235
235
  /**
236
236
  * Indicates whether the combobox is in a dirty state (has been interacted with).
237
- * @type {boolean}
238
- * @default false
239
237
  * @private
240
238
  */
241
- touched: boolean;
239
+ touched: {
240
+ type: BooleanConstructor;
241
+ reflect: boolean;
242
+ attribute: boolean;
243
+ };
242
244
  /**
243
245
  * If set, the `icon` attribute will be applied to the trigger `auro-input` element.
244
246
  */
@@ -247,7 +249,7 @@ export class AuroCombobox extends AuroElement {
247
249
  reflect: boolean;
248
250
  };
249
251
  /**
250
- * Applies the defined value as the type attribute on auro-input.
252
+ * Applies the defined value as the type attribute on `auro-input`.
251
253
  */
252
254
  type: {
253
255
  type: StringConstructor;
@@ -282,17 +284,14 @@ export class AuroCombobox extends AuroElement {
282
284
  reflect: boolean;
283
285
  };
284
286
  /**
285
- * Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)
286
- * at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
287
+ * Defines the screen size breakpointat which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
287
288
  *
288
289
  * When expanded, the dropdown will automatically display in fullscreen mode
289
290
  * if the screen size is equal to or smaller than the selected breakpoint.
290
- * @default sm
291
+ * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'disabled'}
292
+ * @default 'sm'
291
293
  */
292
- fullscreenBreakpoint: {
293
- type: StringConstructor;
294
- reflect: boolean;
295
- };
294
+ fullscreenBreakpoint: "xs" | "sm" | "md" | "lg" | "xl" | "disabled";
296
295
  /**
297
296
  * Specifies the currently active option.
298
297
  * @private
@@ -306,13 +305,18 @@ export class AuroCombobox extends AuroElement {
306
305
  static get styles(): import("lit").CSSResult[];
307
306
  /**
308
307
  * This will register this element with the browser.
309
- * @param {string} [name='auro-combobox'] - The name of element that you want to register to.
308
+ * @param {string} [name='auro-combobox'] - The name of the element that you want to register.
310
309
  *
311
310
  * @example
312
311
  * AuroCombobox.register('custom-combobox') // this will register this element to <custom-combobox/>
313
312
  *
314
313
  */
315
314
  static register(name?: string): void;
315
+ /**
316
+ * @private
317
+ * @returns {void} Internal defaults.
318
+ */
319
+ private _initializeDefaults;
316
320
  appearance: string;
317
321
  disabled: boolean;
318
322
  msgSelectionMissing: string;
@@ -336,11 +340,6 @@ export class AuroCombobox extends AuroElement {
336
340
  noFlip: boolean;
337
341
  shift: boolean;
338
342
  autoPlacement: boolean;
339
- /**
340
- * @private
341
- * @returns {void} Internal defaults.
342
- */
343
- private privateDefaults;
344
343
  dropdownTag: any;
345
344
  bibtemplateTag: any;
346
345
  inputTag: any;
@@ -381,6 +380,7 @@ export class AuroCombobox extends AuroElement {
381
380
  private syncValuesAndStates;
382
381
  /**
383
382
  * Update displayValue or input.value, it's called when making a selection.
383
+ * @param {string} label - The label of the selected option.
384
384
  * @private
385
385
  */
386
386
  private updateTriggerTextDisplay;
@@ -500,7 +500,7 @@ export class AuroCombobox extends AuroElement {
500
500
  * @param {boolean} [force=false] - Whether to force validation.
501
501
  */
502
502
  validate(force?: boolean): void;
503
- updated(changedProperties: any): void;
503
+ updated(changedProperties: any): Promise<void>;
504
504
  hasValue: boolean;
505
505
  /**
506
506
  * Applies slotted nodes to a target element with a new slot name.
@@ -526,4 +526,4 @@ export class AuroCombobox extends AuroElement {
526
526
  render(): import("lit-html").TemplateResult;
527
527
  }
528
528
  import { AuroElement } from '../../layoutElement/src/auroElement.js';
529
- import AuroFormValidation from '@auro-formkit/form-validation';
529
+ import AuroFormValidation from '@aurodesignsystem/form-validation';