@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.
- package/components/combobox/demo/api.md +29 -29
- package/components/combobox/demo/api.min.js +178 -361
- package/components/combobox/demo/index.html +0 -1
- package/components/combobox/demo/index.md +43 -0
- package/components/combobox/demo/index.min.js +176 -359
- package/components/combobox/dist/auro-combobox.d.ts +5 -10
- package/components/combobox/dist/index.js +110 -225
- package/components/combobox/dist/registered.js +110 -225
- package/components/counter/demo/api.min.js +79 -61
- package/components/counter/demo/index.min.js +79 -61
- package/components/counter/dist/index.js +79 -61
- package/components/counter/dist/registered.js +79 -61
- package/components/datepicker/demo/api.min.js +86 -68
- package/components/datepicker/demo/index.min.js +86 -68
- package/components/datepicker/dist/index.js +86 -68
- package/components/datepicker/dist/registered.js +86 -68
- package/components/dropdown/demo/api.md +1 -1
- package/components/dropdown/demo/api.min.js +79 -61
- package/components/dropdown/demo/index.md +45 -0
- package/components/dropdown/demo/index.min.js +79 -61
- package/components/dropdown/dist/index.js +79 -61
- package/components/dropdown/dist/registered.js +79 -61
- package/components/input/demo/api.md +7 -2
- package/components/input/demo/api.min.js +7 -7
- package/components/input/demo/index.min.js +7 -7
- package/components/input/dist/index.js +7 -7
- package/components/input/dist/registered.js +7 -7
- package/components/layoutElement/dist/index.d.ts +1 -0
- package/components/layoutElement/dist/index.js +95 -1
- package/components/menu/demo/api.md +14 -12
- package/components/menu/demo/api.min.js +64 -132
- package/components/menu/demo/index.min.js +64 -132
- package/components/menu/dist/auro-menu-utils.d.ts +0 -8
- package/components/menu/dist/auro-menu.d.ts +5 -8
- package/components/menu/dist/auro-menuoption.d.ts +1 -0
- package/components/menu/dist/index.d.ts +1 -1
- package/components/menu/dist/index.js +65 -92
- package/components/menu/dist/registered.js +64 -132
- package/components/select/demo/api.md +32 -32
- package/components/select/demo/api.min.js +206 -273
- package/components/select/demo/index.min.js +204 -271
- package/components/select/dist/auro-select.d.ts +12 -13
- package/components/select/dist/index.js +139 -138
- package/components/select/dist/registered.js +139 -138
- package/package.json +1 -1
- 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
|
|
9
|
-
|
|
10
|
-
| [autoPlacement](#autoPlacement) | `autoPlacement` | `boolean`
|
|
11
|
-
| [autocomplete](#autocomplete) | `autocomplete` | `string`
|
|
12
|
-
| [checkmark](#checkmark) | `checkmark` | `boolean`
|
|
13
|
-
| [disabled](#disabled) | `disabled` | `boolean`
|
|
14
|
-
| [error](#error) | `error` | `string`
|
|
15
|
-
| [fullscreenBreakpoint](#fullscreenBreakpoint) | `fullscreenBreakpoint` | `string`
|
|
16
|
-
| [inputmode](#inputmode) | `inputmode` | `string`
|
|
17
|
-
| [largeFullscreenHeadline](#largeFullscreenHeadline) | `largeFullscreenHeadline` | `boolean`
|
|
18
|
-
| [layout](#layout) | | `string`
|
|
19
|
-
| [noFilter](#noFilter) | `noFilter` | `boolean`
|
|
20
|
-
| [noFlip](#noFlip) | `noFlip` | `boolean`
|
|
21
|
-
| [noValidate](#noValidate) | `noValidate` | `boolean`
|
|
22
|
-
| [offset](#offset) | `offset` | `number`
|
|
23
|
-
| [onDark](#onDark) | `onDark` | `boolean`
|
|
24
|
-
| [optionSelected](#optionSelected) | `optionSelected` | `
|
|
25
|
-
| [placeholder](#placeholder) | `placeholder` | `string`
|
|
26
|
-
| [placement](#placement) | `placement` | `string`
|
|
27
|
-
| [required](#required) | `required` | `boolean`
|
|
28
|
-
| [setCustomValidity](#setCustomValidity) | `setCustomValidity` | `string`
|
|
29
|
-
| [setCustomValidityCustomError](#setCustomValidityCustomError) | `setCustomValidityCustomError` | `string`
|
|
30
|
-
| [setCustomValidityValueMissing](#setCustomValidityValueMissing) | `setCustomValidityValueMissing` | `string`
|
|
31
|
-
| [triggerIcon](#triggerIcon) | `triggerIcon` | `boolean`
|
|
32
|
-
| [type](#type) | `type` | `string`
|
|
33
|
-
| [validity](#validity) | `validity` | `string`
|
|
34
|
-
| [value](#value) | `value` | `
|
|
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 =
|
|
690
|
+
valueExample.value = 'Oranges';
|
|
691
691
|
});
|
|
692
692
|
|
|
693
693
|
document.querySelector('#valueInvalidExampleBtn').addEventListener('click', () => {
|
|
694
|
-
valueExample.value =
|
|
694
|
+
valueExample.value = 'Dragon Fruit';
|
|
695
695
|
});
|
|
696
696
|
|
|
697
697
|
document.querySelector('#valueUndefinedExampleBtn').addEventListener('click', () => {
|