@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.15 → 0.0.0-pr1628.17
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/checkbox/demo/api.md +18 -18
- package/components/checkbox/demo/customize.md +2 -2
- package/components/checkbox/demo/customize.min.js +3 -3
- package/components/checkbox/demo/getting-started.min.js +3 -3
- package/components/checkbox/demo/index.min.js +3 -3
- package/components/checkbox/dist/auro-checkbox-group.d.ts +1 -1
- package/components/checkbox/dist/auro-checkbox.d.ts +1 -1
- package/components/checkbox/dist/index.js +3 -3
- package/components/checkbox/dist/registered.js +3 -3
- package/components/combobox/demo/api.md +16 -16
- package/components/combobox/demo/customize.min.js +32 -38
- package/components/combobox/demo/getting-started.md +1 -1
- package/components/combobox/demo/getting-started.min.js +32 -38
- package/components/combobox/demo/index.min.js +32 -38
- package/components/combobox/dist/auro-combobox.d.ts +5 -3
- package/components/combobox/dist/index.js +30 -36
- package/components/combobox/dist/registered.js +30 -36
- package/components/counter/demo/accessibility.md +1 -1
- package/components/counter/demo/css-only.md +5 -5
- package/components/counter/demo/customize.min.js +15 -13
- package/components/counter/demo/getting-started.min.js +15 -13
- package/components/counter/demo/index.min.js +15 -13
- package/components/counter/demo/voiceover.md +1 -1
- package/components/counter/demo/why-counter.md +3 -3
- package/components/counter/dist/auro-counter-group.d.ts +1 -0
- package/components/counter/dist/index.js +15 -13
- package/components/counter/dist/registered.js +15 -13
- package/components/datepicker/demo/customize.min.js +22 -19
- package/components/datepicker/demo/getting-started.min.js +22 -19
- package/components/datepicker/demo/index.min.js +22 -19
- package/components/datepicker/dist/index.js +22 -19
- package/components/datepicker/dist/registered.js +22 -19
- package/components/dropdown/demo/api.md +1 -1
- package/components/dropdown/demo/customize.min.js +8 -7
- package/components/dropdown/demo/getting-started.min.js +15 -13
- package/components/dropdown/demo/index.min.js +8 -7
- package/components/dropdown/dist/auro-dropdown.d.ts +1 -1
- package/components/dropdown/dist/index.js +8 -7
- package/components/dropdown/dist/registered.js +8 -7
- package/components/form/demo/api.md +1 -1
- package/components/form/demo/customize.min.js +111 -117
- package/components/form/demo/getting-started.min.js +111 -117
- package/components/form/demo/index.min.js +111 -117
- package/components/form/demo/registerDemoDeps.min.js +110 -116
- package/components/form/demo/why-form.md +1 -1
- package/components/form/dist/auro-form.d.ts +1 -1
- package/components/form/dist/index.js +1 -1
- package/components/form/dist/registered.js +1 -1
- package/components/input/demo/api.md +6 -6
- package/components/input/demo/customize.min.js +7 -6
- package/components/input/demo/getting-started.min.js +7 -6
- package/components/input/demo/index.min.js +7 -6
- package/components/input/dist/auro-input.d.ts +1 -1
- package/components/input/dist/base-input.d.ts +2 -1
- package/components/input/dist/index.js +7 -6
- package/components/input/dist/registered.js +7 -6
- package/components/layoutElement/dist/auroElement.d.ts +4 -3
- package/components/layoutElement/dist/index.js +4 -3
- package/components/layoutElement/dist/registered.js +4 -3
- package/components/menu/demo/api.md +1 -1
- package/components/menu/demo/index.min.js +6 -5
- package/components/menu/dist/auro-menu.d.ts +8 -3
- package/components/menu/dist/auro-menuoption.d.ts +2 -2
- package/components/menu/dist/index.js +6 -5
- package/components/menu/dist/registered.js +6 -5
- package/components/radio/demo/api.md +16 -16
- package/components/radio/demo/customize.md +1 -1
- package/components/radio/demo/customize.min.js +4 -4
- package/components/radio/demo/getting-started.min.js +4 -4
- package/components/radio/demo/index.min.js +4 -4
- package/components/radio/dist/auro-radio-group.d.ts +2 -2
- package/components/radio/dist/auro-radio.d.ts +1 -1
- package/components/radio/dist/index.js +4 -4
- package/components/radio/dist/registered.js +4 -4
- package/components/select/demo/api.md +47 -47
- package/components/select/demo/css-only.md +1 -1
- package/components/select/demo/customize.min.js +25 -32
- package/components/select/demo/getting-started.min.js +25 -32
- package/components/select/demo/index.md +1 -1
- package/components/select/demo/index.min.js +25 -32
- package/components/select/dist/auro-select.d.ts +4 -3
- package/components/select/dist/index.js +23 -30
- package/components/select/dist/registered.js +23 -30
- package/custom-elements.json +25 -25
- package/package.json +1 -1
|
@@ -3289,8 +3289,8 @@ class p{registerComponent(t,a){customElements.get(t)||customElements.define(t,cl
|
|
|
3289
3289
|
var iconVersion = '9.2.0';
|
|
3290
3290
|
|
|
3291
3291
|
/**
|
|
3292
|
-
* Creates a snapshot of the dropdown's display state for one keydown event.
|
|
3293
|
-
*
|
|
3292
|
+
* Creates a snapshot of the dropdown's display state for one `keydown` event.
|
|
3293
|
+
* Handles a missing dropdown without throwing, so callers don't need their own checks.
|
|
3294
3294
|
*
|
|
3295
3295
|
* @param {HTMLElement} component - The component with a dropdown reference.
|
|
3296
3296
|
* @param {Object} [options] - The optional settings.
|
|
@@ -4039,16 +4039,17 @@ class AuroHelpText extends LitElement {
|
|
|
4039
4039
|
}
|
|
4040
4040
|
}
|
|
4041
4041
|
|
|
4042
|
-
var formkitVersion = '
|
|
4042
|
+
var formkitVersion = '202611121951';
|
|
4043
4043
|
|
|
4044
4044
|
/**
|
|
4045
4045
|
* Shared base class for layout-aware Auro form components, such as `auro-input`, `auro-select`, and `auro-menu`.
|
|
4046
4046
|
*
|
|
4047
4047
|
* It declares the `onDark` property and provides helpers that apply the
|
|
4048
4048
|
* `layout-*` and `shape-*` classes for the current `layout`, `shape`, and `size`
|
|
4049
|
-
* to the subclass's `.wrapper` element.
|
|
4050
|
-
* `shape`, and `size` properties with its own values and
|
|
4051
|
-
*
|
|
4049
|
+
* to the subclass's `.wrapper` element. Subclasses declare the `layout`,
|
|
4050
|
+
* `shape`, and `size` properties they use, each with its own values and
|
|
4051
|
+
* default. The base `render()` calls `renderLayout()`, which a subclass
|
|
4052
|
+
* implements unless it overrides `render()`.
|
|
4052
4053
|
*
|
|
4053
4054
|
* **Key capabilities**
|
|
4054
4055
|
* - **Layout and shape classes**: The base class updates the `.wrapper` element's `layout-*` and `shape-*` classes whenever `layout`, `shape`, or `size` changes, unless a subclass overrides `updated()` without calling `super.updated()`.
|
|
@@ -4707,7 +4708,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4707
4708
|
/**
|
|
4708
4709
|
* Sets the height of the trigger, from `xs`, the shortest, to `xl`, the tallest.
|
|
4709
4710
|
* Applies only when `shape` is also set.
|
|
4710
|
-
*
|
|
4711
|
+
* Each shape has styles for only some sizes: `box` for all five; `pill`, `pill-left`, and `pill-right` for `md` and `xl`; `rounded` for `lg`; and `classic` and `snowflake` for one fixed height at any size.
|
|
4711
4712
|
* @relevantWhen shape !== undefined
|
|
4712
4713
|
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
4713
4714
|
* @category ui
|
|
@@ -24,7 +24,7 @@ Collects the values and validity of the Auro form elements inside it, and handle
|
|
|
24
24
|
|
|
25
25
|
| Properties | Attributes | Modifiers | Type | Default | Category | Description |
|
|
26
26
|
| ----------------- | ---------- | --------- | ----------------------------------------------------------------------------------------- | ------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
27
|
-
| isInitialState | | readonly | boolean | | behavior | Checks whether the form is unchanged, with every field still holding its starting value, the value it had when the form first found it. The form counts as changed while any field's value differs from its starting value or any field has failed validation
|
|
27
|
+
| isInitialState | | readonly | boolean | | behavior | Checks whether the form is unchanged, with every field still holding its starting value, the value it had when the form first found it. The form counts as changed while any field's value differs from its starting value or any field has failed validation. |
|
|
28
28
|
| validity | | readonly | "valid" \| "invalid" \| null | | behavior | Gets the form's overall validity: `invalid` when any enabled field has failed validation or is required but empty, and `valid` otherwise. Stays `null` while `isInitialState` is true, so you can hold back error messages until the user changes something. |
|
|
29
29
|
| value | | readonly | Record<string, string \| number \| boolean \| string[] \| Record<string, number> \| null> | | behavior | Gets the current values of all named, enabled form elements as one object, keyed by each element's `name` attribute. Each value is the child component's own `.value`, so its shape depends on the element type: for example, `auro-checkbox-group` gives an array, `auro-counter-group` gives an object keyed by counter name, and `auro-select` with `multiSelect` gives a JSON-encoded string. The one form-specific exception is a `range` `auro-datepicker`, which gives its `.values` array (`[start, end]`) instead of its single `.value` string once the user has entered dates. |
|
|
30
30
|
| buttonElementTags | | readonly | string[] | | | Gets the tag names of the buttons the form can use as submit and reset buttons, when they have `type="submit"` or `type="reset"`. |
|