@aurodesignsystem-dev/auro-formkit 0.0.0-pr1594.2 → 0.0.0-pr1595.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 (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 +24 -16
  13. package/components/combobox/demo/customize.min.js +405 -121
  14. package/components/combobox/demo/getting-started.min.js +405 -121
  15. package/components/combobox/demo/index.min.js +405 -121
  16. package/components/combobox/dist/auro-combobox.d.ts +29 -0
  17. package/components/combobox/dist/index.js +320 -107
  18. package/components/combobox/dist/registered.js +320 -107
  19. package/components/counter/demo/api.md +33 -15
  20. package/components/counter/demo/customize.min.js +201 -64
  21. package/components/counter/demo/index.min.js +201 -64
  22. package/components/counter/dist/auro-counter-button.d.ts +4 -0
  23. package/components/counter/dist/auro-counter-group.d.ts +23 -0
  24. package/components/counter/dist/auro-counter.d.ts +7 -0
  25. package/components/counter/dist/index.js +201 -64
  26. package/components/counter/dist/registered.js +201 -64
  27. package/components/datepicker/demo/api.md +55 -49
  28. package/components/datepicker/demo/customize.min.js +483 -131
  29. package/components/datepicker/demo/index.min.js +483 -131
  30. package/components/datepicker/dist/auro-calendar-cell.d.ts +55 -0
  31. package/components/datepicker/dist/auro-calendar-month.d.ts +9 -1
  32. package/components/datepicker/dist/auro-calendar.d.ts +16 -0
  33. package/components/datepicker/dist/auro-datepicker.d.ts +63 -10
  34. package/components/datepicker/dist/index.js +483 -131
  35. package/components/datepicker/dist/registered.js +483 -131
  36. package/components/dropdown/demo/api.md +25 -22
  37. package/components/dropdown/demo/customize.min.js +106 -37
  38. package/components/dropdown/demo/getting-started.min.js +232 -79
  39. package/components/dropdown/demo/index.min.js +106 -37
  40. package/components/dropdown/dist/auro-dropdown.d.ts +33 -4
  41. package/components/dropdown/dist/auro-dropdownBib.d.ts +17 -5
  42. package/components/dropdown/dist/index.js +106 -37
  43. package/components/dropdown/dist/registered.js +106 -37
  44. package/components/form/demo/customize.min.js +1448 -455
  45. package/components/form/demo/getting-started.min.js +1448 -455
  46. package/components/form/demo/index.min.js +1448 -455
  47. package/components/form/demo/registerDemoDeps.min.js +1448 -455
  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 +126 -42
  53. package/components/input/demo/getting-started.min.js +126 -42
  54. package/components/input/demo/index.min.js +126 -42
  55. package/components/input/dist/base-input.d.ts +67 -22
  56. package/components/input/dist/index.js +126 -42
  57. package/components/input/dist/registered.js +126 -42
  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 +30 -27
  62. package/components/menu/demo/index.min.js +105 -34
  63. package/components/menu/dist/auro-menu.d.ts +24 -13
  64. package/components/menu/dist/auro-menuoption.d.ts +26 -0
  65. package/components/menu/dist/index.js +105 -34
  66. package/components/menu/dist/registered.js +105 -34
  67. package/components/radio/demo/api.md +8 -7
  68. package/components/radio/demo/customize.min.js +20 -7
  69. package/components/radio/demo/getting-started.min.js +20 -7
  70. package/components/radio/demo/index.min.js +20 -7
  71. package/components/radio/dist/auro-radio-group.d.ts +7 -0
  72. package/components/radio/dist/auro-radio.d.ts +1 -0
  73. package/components/radio/dist/index.js +20 -7
  74. package/components/radio/dist/registered.js +20 -7
  75. package/components/select/demo/api.md +18 -15
  76. package/components/select/demo/customize.min.js +255 -78
  77. package/components/select/demo/getting-started.min.js +255 -78
  78. package/components/select/demo/index.min.js +255 -78
  79. package/components/select/dist/auro-select.d.ts +17 -0
  80. package/components/select/dist/index.js +170 -64
  81. package/components/select/dist/registered.js +170 -64
  82. package/custom-elements.json +2573 -2680
  83. package/package.json +1 -1
@@ -217,6 +217,7 @@ class AuroRadio extends LitElement {
217
217
  */
218
218
  onDark: {
219
219
  type: Boolean,
220
+ attribute: 'ondark',
220
221
  reflect: true
221
222
  },
222
223
 
@@ -1040,6 +1041,8 @@ class AuroHelpText extends LitElement {
1040
1041
  super();
1041
1042
 
1042
1043
  this.error = false;
1044
+
1045
+ /** @type {'default' | 'inverse'} */
1043
1046
  this.appearance = "default";
1044
1047
  this.onDark = false;
1045
1048
  this.hasTextContent = false;
@@ -1060,8 +1063,8 @@ class AuroHelpText extends LitElement {
1060
1063
  return {
1061
1064
 
1062
1065
  /**
1063
- * Defines whether the component will be on lighter or darker backgrounds.
1064
- * @property {'default', 'inverse'} - The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
1066
+ * The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
1067
+ * @type {'default' | 'inverse'}
1065
1068
  * @default 'default'
1066
1069
  */
1067
1070
  appearance: {
@@ -1074,6 +1077,7 @@ class AuroHelpText extends LitElement {
1074
1077
  */
1075
1078
  slotNodes: {
1076
1079
  type: Boolean,
1080
+ attribute: 'slotnodes',
1077
1081
  },
1078
1082
 
1079
1083
  /**
@@ -1081,6 +1085,7 @@ class AuroHelpText extends LitElement {
1081
1085
  */
1082
1086
  hasTextContent: {
1083
1087
  type: Boolean,
1088
+ attribute: 'hastextcontent',
1084
1089
  },
1085
1090
 
1086
1091
  /**
@@ -1096,6 +1101,7 @@ class AuroHelpText extends LitElement {
1096
1101
  */
1097
1102
  onDark: {
1098
1103
  type: Boolean,
1104
+ attribute: 'ondark',
1099
1105
  reflect: true
1100
1106
  }
1101
1107
  };
@@ -1166,7 +1172,7 @@ class AuroHelpText extends LitElement {
1166
1172
  }
1167
1173
  }
1168
1174
 
1169
- var formkitVersion = '202608261850';
1175
+ var formkitVersion = '202608291822';
1170
1176
 
1171
1177
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
1172
1178
  // See LICENSE in the project root for license information.
@@ -1181,6 +1187,7 @@ var formkitVersion = '202608261850';
1181
1187
  * @customElement auro-radio-group
1182
1188
  *
1183
1189
  * @csspart radio-group - Apply css to the fieldset element in the shadow DOM
1190
+ * @csspart helpText - Apply css to the help text element that displays helper or error messages.
1184
1191
  * @slot {HTMLSlotElement} legend - Allows for the legend to be overridden.
1185
1192
  * @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
1186
1193
  * @slot {HTMLSlotElement} helpText - Allows for the helper text to be overridden.
@@ -1295,6 +1302,7 @@ class AuroRadioGroup extends LitElement {
1295
1302
  */
1296
1303
  noValidate: {
1297
1304
  type: Boolean,
1305
+ attribute: 'novalidate',
1298
1306
  reflect: true
1299
1307
  },
1300
1308
 
@@ -1303,6 +1311,7 @@ class AuroRadioGroup extends LitElement {
1303
1311
  */
1304
1312
  onDark: {
1305
1313
  type: Boolean,
1314
+ attribute: 'ondark',
1306
1315
  reflect: true
1307
1316
  },
1308
1317
 
@@ -1310,7 +1319,8 @@ class AuroRadioGroup extends LitElement {
1310
1319
  * Specifies the current selected radio button.
1311
1320
  */
1312
1321
  optionSelected: {
1313
- type: Object
1322
+ type: Object,
1323
+ attribute: 'optionselected'
1314
1324
  },
1315
1325
 
1316
1326
  /**
@@ -1325,21 +1335,24 @@ class AuroRadioGroup extends LitElement {
1325
1335
  * Sets a custom help text message to display for all validityStates.
1326
1336
  */
1327
1337
  setCustomValidity: {
1328
- type: String
1338
+ type: String,
1339
+ attribute: 'setcustomvalidity'
1329
1340
  },
1330
1341
 
1331
1342
  /**
1332
1343
  * Custom help text message to display when validity = `customError`.
1333
1344
  */
1334
1345
  setCustomValidityCustomError: {
1335
- type: String
1346
+ type: String,
1347
+ attribute: 'setcustomvaliditycustomerror'
1336
1348
  },
1337
1349
 
1338
1350
  /**
1339
1351
  * Custom help text message to display when validity = `valueMissing`.
1340
1352
  */
1341
1353
  setCustomValidityValueMissing: {
1342
- type: String
1354
+ type: String,
1355
+ attribute: 'setcustomvalidityvaluemissing'
1343
1356
  },
1344
1357
 
1345
1358
  /**
@@ -217,6 +217,7 @@ class AuroRadio extends LitElement {
217
217
  */
218
218
  onDark: {
219
219
  type: Boolean,
220
+ attribute: 'ondark',
220
221
  reflect: true
221
222
  },
222
223
 
@@ -1040,6 +1041,8 @@ class AuroHelpText extends LitElement {
1040
1041
  super();
1041
1042
 
1042
1043
  this.error = false;
1044
+
1045
+ /** @type {'default' | 'inverse'} */
1043
1046
  this.appearance = "default";
1044
1047
  this.onDark = false;
1045
1048
  this.hasTextContent = false;
@@ -1060,8 +1063,8 @@ class AuroHelpText extends LitElement {
1060
1063
  return {
1061
1064
 
1062
1065
  /**
1063
- * Defines whether the component will be on lighter or darker backgrounds.
1064
- * @property {'default', 'inverse'} - The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
1066
+ * The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
1067
+ * @type {'default' | 'inverse'}
1065
1068
  * @default 'default'
1066
1069
  */
1067
1070
  appearance: {
@@ -1074,6 +1077,7 @@ class AuroHelpText extends LitElement {
1074
1077
  */
1075
1078
  slotNodes: {
1076
1079
  type: Boolean,
1080
+ attribute: 'slotnodes',
1077
1081
  },
1078
1082
 
1079
1083
  /**
@@ -1081,6 +1085,7 @@ class AuroHelpText extends LitElement {
1081
1085
  */
1082
1086
  hasTextContent: {
1083
1087
  type: Boolean,
1088
+ attribute: 'hastextcontent',
1084
1089
  },
1085
1090
 
1086
1091
  /**
@@ -1096,6 +1101,7 @@ class AuroHelpText extends LitElement {
1096
1101
  */
1097
1102
  onDark: {
1098
1103
  type: Boolean,
1104
+ attribute: 'ondark',
1099
1105
  reflect: true
1100
1106
  }
1101
1107
  };
@@ -1166,7 +1172,7 @@ class AuroHelpText extends LitElement {
1166
1172
  }
1167
1173
  }
1168
1174
 
1169
- var formkitVersion = '202608261850';
1175
+ var formkitVersion = '202608291822';
1170
1176
 
1171
1177
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
1172
1178
  // See LICENSE in the project root for license information.
@@ -1181,6 +1187,7 @@ var formkitVersion = '202608261850';
1181
1187
  * @customElement auro-radio-group
1182
1188
  *
1183
1189
  * @csspart radio-group - Apply css to the fieldset element in the shadow DOM
1190
+ * @csspart helpText - Apply css to the help text element that displays helper or error messages.
1184
1191
  * @slot {HTMLSlotElement} legend - Allows for the legend to be overridden.
1185
1192
  * @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
1186
1193
  * @slot {HTMLSlotElement} helpText - Allows for the helper text to be overridden.
@@ -1295,6 +1302,7 @@ class AuroRadioGroup extends LitElement {
1295
1302
  */
1296
1303
  noValidate: {
1297
1304
  type: Boolean,
1305
+ attribute: 'novalidate',
1298
1306
  reflect: true
1299
1307
  },
1300
1308
 
@@ -1303,6 +1311,7 @@ class AuroRadioGroup extends LitElement {
1303
1311
  */
1304
1312
  onDark: {
1305
1313
  type: Boolean,
1314
+ attribute: 'ondark',
1306
1315
  reflect: true
1307
1316
  },
1308
1317
 
@@ -1310,7 +1319,8 @@ class AuroRadioGroup extends LitElement {
1310
1319
  * Specifies the current selected radio button.
1311
1320
  */
1312
1321
  optionSelected: {
1313
- type: Object
1322
+ type: Object,
1323
+ attribute: 'optionselected'
1314
1324
  },
1315
1325
 
1316
1326
  /**
@@ -1325,21 +1335,24 @@ class AuroRadioGroup extends LitElement {
1325
1335
  * Sets a custom help text message to display for all validityStates.
1326
1336
  */
1327
1337
  setCustomValidity: {
1328
- type: String
1338
+ type: String,
1339
+ attribute: 'setcustomvalidity'
1329
1340
  },
1330
1341
 
1331
1342
  /**
1332
1343
  * Custom help text message to display when validity = `customError`.
1333
1344
  */
1334
1345
  setCustomValidityCustomError: {
1335
- type: String
1346
+ type: String,
1347
+ attribute: 'setcustomvaliditycustomerror'
1336
1348
  },
1337
1349
 
1338
1350
  /**
1339
1351
  * Custom help text message to display when validity = `valueMissing`.
1340
1352
  */
1341
1353
  setCustomValidityValueMissing: {
1342
- type: String
1354
+ type: String,
1355
+ attribute: 'setcustomvalidityvaluemissing'
1343
1356
  },
1344
1357
 
1345
1358
  /**
@@ -10,35 +10,35 @@ The `auro-select` element is a wrapper for auro-dropdown and auro-menu to create
10
10
  | Property | Attribute | Type | Default | Description |
11
11
  |---------------------------------|---------------------------------|--------------------------------------------------|------------------|--------------------------------------------------|
12
12
  | `appearance` | `appearance` | `'default' \| 'inverse'` | "'default'" | Defines whether the component will be on lighter or darker backgrounds. |
13
- | `autoPlacement` | `autoPlacement` | `boolean` | false | If declared, bib's position will be automatically calculated where to appear. |
13
+ | `autoPlacement` | `autoplacement` | `boolean` | false | If declared, bib's position will be automatically calculated where to appear. |
14
14
  | `autocomplete` | `autocomplete` | `string` | | If declared, sets the autocomplete attribute for the select element. |
15
15
  | `disabled` | `disabled` | `boolean` | | When attribute is present, element shows disabled state. |
16
16
  | `error` | `error` | `string` | | When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value. |
17
- | `flexMenuWidth` | `flexMenuWidth` | `boolean` | | If declared, make the width of the bib match the width of the content, rather than the trigger. |
17
+ | `flexMenuWidth` | `flexmenuwidth` | `boolean` | | If declared, make the width of the bib match the width of the content, rather than the trigger. |
18
18
  | `fluid` | `fluid` | `boolean` | | When attribute is present, element will be 100% width of container element. |
19
- | `forceDisplayValue` | `forceDisplayValue` | `boolean` | false | If declared, the label and value will be visually hidden and the displayValue will render 100% of the time. |
20
- | `fullscreenBreakpoint` | `fullscreenBreakpoint` | `'xs' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'disabled'` | "'sm'" | Defines the screen size breakpoint at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.<br /><br />When expanded, the dropdown will automatically display in fullscreen mode<br />if the screen size is equal to or smaller than the selected breakpoint. |
21
- | `largeFullscreenHeadline` | `largeFullscreenHeadline` | `boolean` | | If declared, make bib.fullscreen.headline in HeadingDisplay.<br />Otherwise, Heading 600. |
19
+ | `forceDisplayValue` | `forcedisplayvalue` | `boolean` | false | If declared, the label and value will be visually hidden and the displayValue will render 100% of the time. |
20
+ | `fullscreenBreakpoint` | `fullscreenbreakpoint` | `'xs' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'disabled'` | "'sm'" | Defines the screen size breakpoint at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.<br /><br />When expanded, the dropdown will automatically display in fullscreen mode<br />if the screen size is equal to or smaller than the selected breakpoint. |
21
+ | `largeFullscreenHeadline` | `largefullscreenheadline` | `boolean` | | If declared, make bib.fullscreen.headline in HeadingDisplay.<br />Otherwise, Heading 600. |
22
22
  | `layout` | `layout` | `'classic' \| 'emphasized' \| 'snowflake'` | "'classic'" | Determines the overall layout of the select component. |
23
- | `matchWidth` | `matchWidth` | `boolean` | false | If declared, the popover and trigger will be set to the same width. |
23
+ | `matchWidth` | `matchwidth` | `boolean` | false | If declared, the popover and trigger will be set to the same width. |
24
24
  | `multiSelect` | `multiselect` | `boolean` | | Sets multi-select mode, allowing multiple options to be selected at once. |
25
25
  | `name` | `name` | `string` | | The name for the select element. |
26
- | `noCheckmark` | `noCheckmark` | `boolean` | | When true, checkmark on selected option will no longer be present. |
27
- | `noFlip` | `noFlip` | `boolean` | false | If declared, the bib will NOT flip to an alternate position<br />when there isn't enough space in the specified `placement`. |
28
- | `noValidate` | `noValidate` | `boolean` | | If set, disables auto-validation on blur. |
26
+ | `noCheckmark` | `nocheckmark` | `boolean` | | When true, checkmark on selected option will no longer be present. |
27
+ | `noFlip` | `noflip` | `boolean` | false | If declared, the bib will NOT flip to an alternate position<br />when there isn't enough space in the specified `placement`. |
28
+ | `noValidate` | `novalidate` | `boolean` | | If set, disables auto-validation on blur. |
29
29
  | `offset` | `offset` | `number` | "0" | Gap between the trigger element and bib. |
30
- | `onDark` | `onDark` | `boolean` | | DEPRECATED - use `appearance="inverse"` instead. |
31
- | `optionSelected` | `optionSelected` | `HTMLElement\|Array<HTMLElement>` | | Specifies the current selected menuOption. Default type is `HTMLElement`, changing to `Array<HTMLElement>` when `multiSelect` is true. |
30
+ | `onDark` | `ondark` | `boolean` | | DEPRECATED - use `appearance="inverse"` instead. |
31
+ | `optionSelected` | `optionselected` | `HTMLElement\|Array<HTMLElement>` | | Specifies the current selected menuOption. Default type is `HTMLElement`, changing to `Array<HTMLElement>` when `multiSelect` is true. |
32
32
  | `placeholder` | `placeholder` | `string` | | Define custom placeholder text. |
33
33
  | `placement` | `placement` | `'top' \| 'right' \| 'bottom' \| 'left' \| 'bottom-start' \| 'top-start' \| 'top-end' \| 'right-start' \| 'right-end' \| 'bottom-end' \| 'left-start' \| 'left-end'` | "'bottom-start'" | Position where the bib should appear relative to the trigger. |
34
34
  | `required` | `required` | `boolean` | | Populates the `required` attribute on the element. Used for client-side validation. |
35
- | `setCustomValidity` | `setCustomValidity` | `string` | | Sets a custom help text message to display for all validityStates. |
36
- | `setCustomValidityCustomError` | `setCustomValidityCustomError` | `string` | | Custom help text message to display when validity = `customError`. |
37
- | `setCustomValidityValueMissing` | `setCustomValidityValueMissing` | `string` | | Custom help text message to display when validity = `valueMissing`. |
35
+ | `setCustomValidity` | `setcustomvalidity` | `string` | | Sets a custom help text message to display for all validityStates. |
36
+ | `setCustomValidityCustomError` | `setcustomvaliditycustomerror` | `string` | | Custom help text message to display when validity = `customError`. |
37
+ | `setCustomValidityValueMissing` | `setcustomvalidityvaluemissing` | `string` | | Custom help text message to display when validity = `valueMissing`. |
38
38
  | `shape` | `shape` | `'classic' \| 'pill' \| 'pill-left' \| 'pill-right' \| 'snowflake'` | | Determines the shape of the dropdown bib. |
39
39
  | `shift` | `shift` | `boolean` | false | If set, the dropdown will shift its position to avoid being cut off by the viewport. |
40
40
  | `size` | `size` | `'lg' \| 'xl'` | | Determines the size of the dropdown bib. Only the `emphasized` layout supports size=`xl`, while all other layouts support size=`lg`. |
41
- | `typeaheadTimeoutMs` | `typeaheadTimeoutMs` | `number` | "500" | Milliseconds of keyboard inactivity before the type-ahead buffer resets.<br />Increase for users who type slowly. |
41
+ | `typeaheadTimeoutMs` | `typeaheadtimeoutms` | `number` | "500" | Milliseconds of keyboard inactivity before the type-ahead buffer resets.<br />Increase for users who type slowly. |
42
42
  | `validity` | `validity` | `string` | | Specifies the `validityState` this element is in. |
43
43
  | `value` | `value` | `string` | | Value selected for the component. When set programmatically or as a preset attribute, the value must match a selectable option. If it matches an option marked `disabled` or `static`, the selection is rejected: `value` is cleared to `undefined` while `optionSelected` is cleared to `undefined` in single-select or `[]` in multiSelect. `hidden` options remain selectable by value. |
44
44
 
@@ -78,8 +78,11 @@ The `auro-select` element is a wrapper for auro-dropdown and auro-menu to create
78
78
 
79
79
  | Part | Description |
80
80
  |-------------------|--------------------------------------------------|
81
+ | `displayValue` | Apply CSS to the custom displayValue container. |
82
+ | `dropdown` | Apply CSS to the underlying dropdown element. |
81
83
  | `dropdownChevron` | Apply CSS to the collapsed/expanded state icon container. |
82
84
  | `dropdownSize` | Apply size styles to the dropdown bib (height, width, maxHeight, maxWidth only). |
83
85
  | `dropdownTrigger` | Apply CSS to the trigger content container. |
84
86
  | `helpText` | Apply CSS to the help text. |
87
+ | `wrapper` | Apply CSS to the root wrapper element of the select. |
85
88
  <!-- AURO-GENERATED-CONTENT:END -->