@aurodesignsystem-dev/auro-formkit 0.0.0-pr1594.2 → 0.0.0-pr1595.1

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 (83) hide show
  1. package/components/bibtemplate/dist/auro-bibtemplate.d.ts +11 -0
  2. package/components/bibtemplate/dist/index.js +13 -0
  3. package/components/bibtemplate/dist/registered.js +13 -0
  4. package/components/checkbox/demo/api.md +17 -11
  5. package/components/checkbox/demo/customize.min.js +23 -6
  6. package/components/checkbox/demo/getting-started.min.js +23 -6
  7. package/components/checkbox/demo/index.min.js +23 -6
  8. package/components/checkbox/dist/auro-checkbox-group.d.ts +8 -0
  9. package/components/checkbox/dist/auro-checkbox.d.ts +4 -0
  10. package/components/checkbox/dist/index.js +23 -6
  11. package/components/checkbox/dist/registered.js +23 -6
  12. package/components/combobox/demo/api.md +26 -18
  13. package/components/combobox/demo/customize.min.js +426 -126
  14. package/components/combobox/demo/getting-started.min.js +426 -126
  15. package/components/combobox/demo/index.min.js +426 -126
  16. package/components/combobox/dist/auro-combobox.d.ts +38 -21
  17. package/components/combobox/dist/index.js +338 -111
  18. package/components/combobox/dist/registered.js +338 -111
  19. package/components/counter/demo/api.md +34 -16
  20. package/components/counter/demo/customize.min.js +204 -64
  21. package/components/counter/demo/index.min.js +204 -64
  22. package/components/counter/dist/auro-counter-button.d.ts +4 -0
  23. package/components/counter/dist/auro-counter-group.d.ts +27 -4
  24. package/components/counter/dist/auro-counter.d.ts +7 -0
  25. package/components/counter/dist/index.js +204 -64
  26. package/components/counter/dist/registered.js +204 -64
  27. package/components/datepicker/demo/api.md +55 -49
  28. package/components/datepicker/demo/customize.min.js +515 -134
  29. package/components/datepicker/demo/index.min.js +515 -134
  30. package/components/datepicker/dist/auro-calendar-cell.d.ts +58 -4
  31. package/components/datepicker/dist/auro-calendar-month.d.ts +10 -4
  32. package/components/datepicker/dist/auro-calendar.d.ts +25 -6
  33. package/components/datepicker/dist/auro-datepicker.d.ts +70 -22
  34. package/components/datepicker/dist/index.js +515 -134
  35. package/components/datepicker/dist/registered.js +515 -134
  36. package/components/dropdown/demo/api.md +25 -22
  37. package/components/dropdown/demo/customize.min.js +107 -37
  38. package/components/dropdown/demo/getting-started.min.js +245 -82
  39. package/components/dropdown/demo/index.min.js +107 -37
  40. package/components/dropdown/dist/auro-dropdown.d.ts +34 -8
  41. package/components/dropdown/dist/auro-dropdownBib.d.ts +17 -5
  42. package/components/dropdown/dist/index.js +107 -37
  43. package/components/dropdown/dist/registered.js +107 -37
  44. package/components/form/demo/customize.min.js +1518 -466
  45. package/components/form/demo/getting-started.min.js +1518 -466
  46. package/components/form/demo/index.min.js +1518 -466
  47. package/components/form/demo/registerDemoDeps.min.js +1518 -466
  48. package/components/helptext/dist/auro-helptext.d.ts +8 -7
  49. package/components/helptext/dist/index.js +7 -2
  50. package/components/helptext/dist/registered.js +7 -2
  51. package/components/input/demo/api.md +30 -30
  52. package/components/input/demo/customize.min.js +138 -45
  53. package/components/input/demo/getting-started.min.js +138 -45
  54. package/components/input/demo/index.min.js +138 -45
  55. package/components/input/dist/base-input.d.ts +79 -25
  56. package/components/input/dist/index.js +138 -45
  57. package/components/input/dist/registered.js +138 -45
  58. package/components/layoutElement/dist/auroElement.d.ts +10 -17
  59. package/components/layoutElement/dist/index.js +20 -20
  60. package/components/layoutElement/dist/registered.js +20 -20
  61. package/components/menu/demo/api.md +31 -27
  62. package/components/menu/demo/index.min.js +108 -35
  63. package/components/menu/dist/auro-menu.d.ts +26 -21
  64. package/components/menu/dist/auro-menuoption.d.ts +27 -1
  65. package/components/menu/dist/index.js +108 -35
  66. package/components/menu/dist/registered.js +108 -35
  67. package/components/radio/demo/api.md +8 -7
  68. package/components/radio/demo/customize.min.js +21 -7
  69. package/components/radio/demo/getting-started.min.js +21 -7
  70. package/components/radio/demo/index.min.js +21 -7
  71. package/components/radio/dist/auro-radio-group.d.ts +8 -3
  72. package/components/radio/dist/auro-radio.d.ts +1 -0
  73. package/components/radio/dist/index.js +21 -7
  74. package/components/radio/dist/registered.js +21 -7
  75. package/components/select/demo/api.md +18 -15
  76. package/components/select/demo/customize.min.js +259 -79
  77. package/components/select/demo/getting-started.min.js +259 -79
  78. package/components/select/demo/index.min.js +259 -79
  79. package/components/select/dist/auro-select.d.ts +17 -0
  80. package/components/select/dist/index.js +171 -64
  81. package/components/select/dist/registered.js +171 -64
  82. package/custom-elements.json +1189 -1336
  83. package/package.json +1 -1
@@ -10,6 +10,7 @@
10
10
  * @slot label - Defines the content of the label.
11
11
  * @slot helpText - Defines the content of the helpText.
12
12
  * @slot displayValue - Allows custom HTML content to display the selected value when the combobox is not focused. Only works with `snowflake` and `emphasized` layouts.
13
+ * @csspart helpText - The help text and error message content container.
13
14
  * @event auroCombobox-valueSet - (Deprecated) Notifies that the component has a new value set.
14
15
  * @event input - Notifies that the component has a new value set.
15
16
  * @event inputValue - Notifies that the components internal HTML5 input value has changed.
@@ -19,13 +20,10 @@ export class AuroCombobox extends AuroElement {
19
20
  static get properties(): {
20
21
  /**
21
22
  * Defines whether the component will be on lighter or darker backgrounds.
22
- * @property {'default' | 'inverse'} appearance - The visual appearance of the component.
23
+ * @type {'default' | 'inverse'}
23
24
  * @default 'default'
24
25
  */
25
- appearance: {
26
- type: StringConstructor;
27
- reflect: boolean;
28
- };
26
+ appearance: "default" | "inverse";
29
27
  /**
30
28
  * An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
31
29
  */
@@ -38,19 +36,16 @@ export class AuroCombobox extends AuroElement {
38
36
  */
39
37
  autoPlacement: {
40
38
  type: BooleanConstructor;
39
+ attribute: string;
41
40
  reflect: boolean;
42
41
  };
43
42
  /**
44
43
  * Array of available options to display in the dropdown.
45
44
  * This array contains all non-hidden options (e.g., hidden by filtering on input value).
46
45
  * @private
46
+ * @type {HTMLElement[]}
47
47
  */
48
- availableOptions: {
49
- state: boolean;
50
- type: ArrayConstructor;
51
- reflect: boolean;
52
- hasChanged(newVal: any, oldVal: any): any;
53
- };
48
+ availableOptions: HTMLElement[];
54
49
  /**
55
50
  * Sets the behavior of the combobox, "filter" or "suggestion".
56
51
  * "filter" requires the user to select an option from the menu.
@@ -96,6 +91,7 @@ export class AuroCombobox extends AuroElement {
96
91
  */
97
92
  dvInputOnly: {
98
93
  type: BooleanConstructor;
94
+ attribute: string;
99
95
  reflect: boolean;
100
96
  };
101
97
  /**
@@ -124,12 +120,25 @@ export class AuroCombobox extends AuroElement {
124
120
  * @default 'classic'
125
121
  */
126
122
  layout: "classic" | "emphasized" | "snowflake";
123
+ /**
124
+ * Sets the shape of the combobox.
125
+ * @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
126
+ * @default 'classic'
127
+ */
128
+ shape: "box" | "classic" | "pill" | "pill-left" | "pill-right" | "rounded" | "snowflake";
129
+ /**
130
+ * Sets the size of the combobox.
131
+ * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
132
+ * @default 'xl'
133
+ */
134
+ size: "xs" | "sm" | "md" | "lg" | "xl";
127
135
  /**
128
136
  * If declared, the popover and trigger will be set to the same width.
129
137
  * @private
130
138
  */
131
139
  matchWidth: {
132
140
  type: BooleanConstructor;
141
+ attribute: string;
133
142
  reflect: boolean;
134
143
  };
135
144
  /**
@@ -137,6 +146,7 @@ export class AuroCombobox extends AuroElement {
137
146
  */
138
147
  noFilter: {
139
148
  type: BooleanConstructor;
149
+ attribute: string;
140
150
  reflect: boolean;
141
151
  };
142
152
  /**
@@ -145,6 +155,7 @@ export class AuroCombobox extends AuroElement {
145
155
  */
146
156
  noFlip: {
147
157
  type: BooleanConstructor;
158
+ attribute: string;
148
159
  reflect: boolean;
149
160
  };
150
161
  /**
@@ -159,6 +170,7 @@ export class AuroCombobox extends AuroElement {
159
170
  */
160
171
  noValidate: {
161
172
  type: BooleanConstructor;
173
+ attribute: string;
162
174
  reflect: boolean;
163
175
  };
164
176
  /**
@@ -174,6 +186,7 @@ export class AuroCombobox extends AuroElement {
174
186
  */
175
187
  onDark: {
176
188
  type: BooleanConstructor;
189
+ attribute: string;
177
190
  reflect: boolean;
178
191
  };
179
192
  /**
@@ -188,6 +201,7 @@ export class AuroCombobox extends AuroElement {
188
201
  */
189
202
  persistInput: {
190
203
  type: BooleanConstructor;
204
+ attribute: string;
191
205
  reflect: boolean;
192
206
  };
193
207
  /**
@@ -215,24 +229,28 @@ export class AuroCombobox extends AuroElement {
215
229
  */
216
230
  setCustomValidity: {
217
231
  type: StringConstructor;
232
+ attribute: string;
218
233
  };
219
234
  /**
220
235
  * Custom help text message to display when validity = `customError`.
221
236
  */
222
237
  setCustomValidityCustomError: {
223
238
  type: StringConstructor;
239
+ attribute: string;
224
240
  };
225
241
  /**
226
242
  * Custom help text message to display when validity = `valueMissing`.
227
243
  */
228
244
  setCustomValidityValueMissing: {
229
245
  type: StringConstructor;
246
+ attribute: string;
230
247
  };
231
248
  /**
232
249
  * Custom help text message to display when validity = `valueMissing` due to the user not choosing a menu option when behavior = "filter".
233
250
  */
234
251
  setCustomValidityValueMissingFilter: {
235
252
  type: StringConstructor;
253
+ attribute: string;
236
254
  };
237
255
  /**
238
256
  * Indicates whether the combobox is in a dirty state (has been interacted with).
@@ -250,20 +268,20 @@ export class AuroCombobox extends AuroElement {
250
268
  */
251
269
  triggerIcon: {
252
270
  type: BooleanConstructor;
271
+ attribute: string;
253
272
  reflect: boolean;
254
273
  };
255
274
  /**
256
275
  * Applies the defined value as the type attribute on `auro-input`.
276
+ * @type {'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number' | 'date'}
257
277
  */
258
- type: {
259
- type: StringConstructor;
260
- reflect: boolean;
261
- };
278
+ type: "text" | "password" | "email" | "credit-card" | "tel" | "number" | "date";
262
279
  /**
263
280
  * Specifies the value of the input element within the combobox.
264
281
  */
265
282
  typedValue: {
266
283
  type: StringConstructor;
284
+ attribute: string;
267
285
  reflect: boolean;
268
286
  };
269
287
  /**
@@ -285,6 +303,7 @@ export class AuroCombobox extends AuroElement {
285
303
  */
286
304
  largeFullscreenHeadline: {
287
305
  type: BooleanConstructor;
306
+ attribute: string;
288
307
  reflect: boolean;
289
308
  };
290
309
  /**
@@ -299,12 +318,9 @@ export class AuroCombobox extends AuroElement {
299
318
  /**
300
319
  * Specifies the currently active option.
301
320
  * @private
321
+ * @type {HTMLElement}
302
322
  */
303
- optionActive: {
304
- type: ObjectConstructor;
305
- reflect: boolean;
306
- attribute: boolean;
307
- };
323
+ optionActive: HTMLElement;
308
324
  };
309
325
  static get styles(): import("lit").CSSResult[];
310
326
  /**
@@ -321,7 +337,8 @@ export class AuroCombobox extends AuroElement {
321
337
  * @returns {void} Internal defaults.
322
338
  */
323
339
  private _initializeDefaults;
324
- appearance: string | undefined;
340
+ /** @type {'default' | 'inverse'} */
341
+ appearance: "default" | "inverse" | undefined;
325
342
  disabled: boolean | undefined;
326
343
  msgSelectionMissing: string | undefined;
327
344
  noFilter: boolean | undefined;