@aurodesignsystem-dev/auro-formkit 0.0.0-pr652.1 → 0.0.0-pr652.3

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 (46) hide show
  1. package/components/combobox/demo/api.md +29 -29
  2. package/components/combobox/demo/api.min.js +178 -361
  3. package/components/combobox/demo/index.html +0 -1
  4. package/components/combobox/demo/index.md +43 -0
  5. package/components/combobox/demo/index.min.js +176 -359
  6. package/components/combobox/dist/auro-combobox.d.ts +5 -10
  7. package/components/combobox/dist/index.js +110 -225
  8. package/components/combobox/dist/registered.js +110 -225
  9. package/components/counter/demo/api.min.js +79 -61
  10. package/components/counter/demo/index.min.js +79 -61
  11. package/components/counter/dist/index.js +79 -61
  12. package/components/counter/dist/registered.js +79 -61
  13. package/components/datepicker/demo/api.min.js +86 -68
  14. package/components/datepicker/demo/index.min.js +86 -68
  15. package/components/datepicker/dist/index.js +86 -68
  16. package/components/datepicker/dist/registered.js +86 -68
  17. package/components/dropdown/demo/api.md +1 -1
  18. package/components/dropdown/demo/api.min.js +79 -61
  19. package/components/dropdown/demo/index.md +45 -0
  20. package/components/dropdown/demo/index.min.js +79 -61
  21. package/components/dropdown/dist/index.js +79 -61
  22. package/components/dropdown/dist/registered.js +79 -61
  23. package/components/input/demo/api.md +7 -2
  24. package/components/input/demo/api.min.js +7 -7
  25. package/components/input/demo/index.min.js +7 -7
  26. package/components/input/dist/index.js +7 -7
  27. package/components/input/dist/registered.js +7 -7
  28. package/components/layoutElement/dist/index.d.ts +1 -0
  29. package/components/layoutElement/dist/index.js +95 -1
  30. package/components/menu/demo/api.md +14 -12
  31. package/components/menu/demo/api.min.js +64 -132
  32. package/components/menu/demo/index.min.js +64 -132
  33. package/components/menu/dist/auro-menu-utils.d.ts +0 -8
  34. package/components/menu/dist/auro-menu.d.ts +5 -8
  35. package/components/menu/dist/auro-menuoption.d.ts +1 -0
  36. package/components/menu/dist/index.d.ts +1 -1
  37. package/components/menu/dist/index.js +65 -92
  38. package/components/menu/dist/registered.js +64 -132
  39. package/components/select/demo/api.md +32 -32
  40. package/components/select/demo/api.min.js +206 -273
  41. package/components/select/demo/index.min.js +204 -271
  42. package/components/select/dist/auro-select.d.ts +12 -13
  43. package/components/select/dist/index.js +139 -138
  44. package/components/select/dist/registered.js +139 -138
  45. package/package.json +1 -1
  46. package/components/menu/dist/styles/emphasized/color-menuoption-css.d.ts +0 -2
@@ -5,33 +5,33 @@
5
5
 
6
6
  ## Properties
7
7
 
8
- | Property | Attribute | Type | Default | Description |
9
- |---------------------------------|---------------------------------|------------------------|----------------|--------------------------------------------------|
10
- | [autoPlacement](#autoPlacement) | `autoPlacement` | `boolean` | | If declared, bib's position will be automatically calculated where to appear. |
11
- | [autocomplete](#autocomplete) | `autocomplete` | `string` | "false" | An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported. |
12
- | [checkmark](#checkmark) | `checkmark` | `boolean` | | When attribute is present auro-menu will apply checkmarks to selected options. |
13
- | [disabled](#disabled) | `disabled` | `boolean` | | If set, disables the combobox. |
14
- | [error](#error) | `error` | `string` | | When defined, sets persistent validity to `customError` and sets the validation message to the attribute value. |
15
- | [fullscreenBreakpoint](#fullscreenBreakpoint) | `fullscreenBreakpoint` | `string` | "sm" | Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)<br />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. |
16
- | [inputmode](#inputmode) | `inputmode` | `string` | | Exposes inputmode attribute for input. |
17
- | [largeFullscreenHeadline](#largeFullscreenHeadline) | `largeFullscreenHeadline` | `boolean` | | If declared, make bib.fullscreen.headline in HeadingDisplay.<br />Otherwise, Heading 600 |
18
- | [layout](#layout) | | `string` | | |
19
- | [noFilter](#noFilter) | `noFilter` | `boolean` | | If set, combobox will not filter menuoptions based in input. |
20
- | [noFlip](#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`. |
21
- | [noValidate](#noValidate) | `noValidate` | `boolean` | | If set, disables auto-validation on blur. |
22
- | [offset](#offset) | `offset` | `number` | "0" | Gap between the trigger element and bib. |
23
- | [onDark](#onDark) | `onDark` | `boolean` | | If declared, onDark styles will be applied to the trigger. |
24
- | [optionSelected](#optionSelected) | `optionSelected` | `object` | | Specifies the current selected option. |
25
- | [placeholder](#placeholder) | `placeholder` | `string` | | Define custom placeholder text, only supported by date input formats. |
26
- | [placement](#placement) | `placement` | `string` | "bottom-start" | Position where the bib should appear relative to the trigger.<br />Accepted values:<br />"top" \| "right" \| "bottom" \| "left" \|<br />"bottom-start" \| "top-start" \| "top-end" \|<br />"right-start" \| "right-end" \| "bottom-end" \|<br />"left-start" \| "left-end" |
27
- | [required](#required) | `required` | `boolean` | | Populates the `required` attribute on the input. Used for client-side validation. |
28
- | [setCustomValidity](#setCustomValidity) | `setCustomValidity` | `string` | | Sets a custom help text message to display for all validityStates. |
29
- | [setCustomValidityCustomError](#setCustomValidityCustomError) | `setCustomValidityCustomError` | `string` | | Custom help text message to display when validity = `customError`. |
30
- | [setCustomValidityValueMissing](#setCustomValidityValueMissing) | `setCustomValidityValueMissing` | `string` | | Custom help text message to display when validity = `valueMissing`. |
31
- | [triggerIcon](#triggerIcon) | `triggerIcon` | `boolean` | | If set, the `icon` attribute will be applied to the trigger `auro-input` element. |
32
- | [type](#type) | `type` | `string` | | Applies the defined value as the type attribute on auro-input. |
33
- | [validity](#validity) | `validity` | `string` | | Specifies the `validityState` this element is in. |
34
- | [value](#value) | `value` | `Array\|String<Array>` | | Value selected for the dropdown menu. |
8
+ | Property | Attribute | Type | Default | Description |
9
+ |---------------------------------|---------------------------------|---------------|----------------|--------------------------------------------------|
10
+ | [autoPlacement](#autoPlacement) | `autoPlacement` | `boolean` | | If declared, bib's position will be automatically calculated where to appear. |
11
+ | [autocomplete](#autocomplete) | `autocomplete` | `string` | "false" | An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported. |
12
+ | [checkmark](#checkmark) | `checkmark` | `boolean` | | When attribute is present auro-menu will apply checkmarks to selected options. |
13
+ | [disabled](#disabled) | `disabled` | `boolean` | | If set, disables the combobox. |
14
+ | [error](#error) | `error` | `string` | | When defined, sets persistent validity to `customError` and sets the validation message to the attribute value. |
15
+ | [fullscreenBreakpoint](#fullscreenBreakpoint) | `fullscreenBreakpoint` | `string` | "sm" | Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)<br />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. |
16
+ | [inputmode](#inputmode) | `inputmode` | `string` | | Exposes inputmode attribute for input. |
17
+ | [largeFullscreenHeadline](#largeFullscreenHeadline) | `largeFullscreenHeadline` | `boolean` | | If declared, make bib.fullscreen.headline in HeadingDisplay.<br />Otherwise, Heading 600 |
18
+ | [layout](#layout) | | `string` | | |
19
+ | [noFilter](#noFilter) | `noFilter` | `boolean` | | If set, combobox will not filter menuoptions based in input. |
20
+ | [noFlip](#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`. |
21
+ | [noValidate](#noValidate) | `noValidate` | `boolean` | | If set, disables auto-validation on blur. |
22
+ | [offset](#offset) | `offset` | `number` | "0" | Gap between the trigger element and bib. |
23
+ | [onDark](#onDark) | `onDark` | `boolean` | | If declared, onDark styles will be applied to the trigger. |
24
+ | [optionSelected](#optionSelected) | `optionSelected` | `HTMLElement` | | Specifies the current selected option. |
25
+ | [placeholder](#placeholder) | `placeholder` | `string` | | Define custom placeholder text, only supported by date input formats. |
26
+ | [placement](#placement) | `placement` | `string` | "bottom-start" | Position where the bib should appear relative to the trigger.<br />Accepted values:<br />"top" \| "right" \| "bottom" \| "left" \|<br />"bottom-start" \| "top-start" \| "top-end" \|<br />"right-start" \| "right-end" \| "bottom-end" \|<br />"left-start" \| "left-end" |
27
+ | [required](#required) | `required` | `boolean` | | Populates the `required` attribute on the input. Used for client-side validation. |
28
+ | [setCustomValidity](#setCustomValidity) | `setCustomValidity` | `string` | | Sets a custom help text message to display for all validityStates. |
29
+ | [setCustomValidityCustomError](#setCustomValidityCustomError) | `setCustomValidityCustomError` | `string` | | Custom help text message to display when validity = `customError`. |
30
+ | [setCustomValidityValueMissing](#setCustomValidityValueMissing) | `setCustomValidityValueMissing` | `string` | | Custom help text message to display when validity = `valueMissing`. |
31
+ | [triggerIcon](#triggerIcon) | `triggerIcon` | `boolean` | | If set, the `icon` attribute will be applied to the trigger `auro-input` element. |
32
+ | [type](#type) | `type` | `string` | | Applies the defined value as the type attribute on auro-input. |
33
+ | [validity](#validity) | `validity` | `string` | | Specifies the `validityState` this element is in. |
34
+ | [value](#value) | `value` | `string` | | Value selected for the dropdown menu. |
35
35
 
36
36
  ## Methods
37
37
 
@@ -687,11 +687,11 @@ export function valueExample() {
687
687
  const valueExample = document.querySelector('#valueExample');
688
688
 
689
689
  document.querySelector('#valueValidExampleBtn').addEventListener('click', () => {
690
- valueExample.value = ['Oranges'];
690
+ valueExample.value = 'Oranges';
691
691
  });
692
692
 
693
693
  document.querySelector('#valueInvalidExampleBtn').addEventListener('click', () => {
694
- valueExample.value = ['Dragon Fruit'];
694
+ valueExample.value = 'Dragon Fruit';
695
695
  });
696
696
 
697
697
  document.querySelector('#valueUndefinedExampleBtn').addEventListener('click', () => {