@aurodesignsystem-dev/auro-formkit 0.0.0-pr807.1 → 0.0.0-pr807.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/bibtemplate/dist/headerVersion.d.ts +1 -1
- package/components/bibtemplate/dist/index.js +60 -96
- package/components/bibtemplate/dist/registered.js +60 -96
- package/components/checkbox/demo/api.md +1 -1
- package/components/checkbox/demo/api.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/dist/auro-checkbox.d.ts +1 -1
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/api.min.js +185 -126
- package/components/combobox/demo/index.md +2 -4
- package/components/combobox/demo/index.min.js +185 -126
- package/components/combobox/dist/auro-combobox.d.ts +8 -2
- package/components/combobox/dist/index.js +172 -120
- package/components/combobox/dist/registered.js +172 -120
- package/components/counter/demo/api.min.js +90 -124
- package/components/counter/demo/index.min.js +90 -124
- package/components/counter/dist/index.js +90 -124
- package/components/counter/dist/registered.js +90 -124
- package/components/datepicker/demo/api.min.js +185 -137
- package/components/datepicker/demo/index.min.js +185 -137
- package/components/datepicker/dist/index.js +185 -137
- package/components/datepicker/dist/registered.js +185 -137
- package/components/dropdown/demo/api.min.js +2 -2
- package/components/dropdown/demo/index.min.js +2 -2
- package/components/dropdown/dist/index.js +2 -2
- package/components/dropdown/dist/registered.js +2 -2
- package/components/input/demo/api.md +2 -5
- package/components/input/demo/api.min.js +89 -12
- package/components/input/demo/index.md +2 -2
- package/components/input/demo/index.min.js +89 -12
- package/components/input/dist/auro-input.d.ts +24 -0
- package/components/input/dist/base-input.d.ts +8 -2
- package/components/input/dist/index.js +89 -12
- package/components/input/dist/registered.js +89 -12
- package/components/menu/demo/api.min.js +9 -2
- package/components/menu/demo/index.min.js +9 -2
- package/components/menu/dist/index.js +9 -2
- package/components/menu/dist/registered.js +9 -2
- package/components/radio/demo/api.md +1 -1
- package/components/radio/demo/api.min.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/dist/auro-radio.d.ts +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/api.md +1 -3
- package/components/select/demo/api.min.js +143 -140
- package/components/select/demo/index.min.js +143 -140
- package/components/select/dist/auro-select.d.ts +11 -5
- package/components/select/dist/index.js +130 -134
- package/components/select/dist/registered.js +130 -134
- package/package.json +1 -1
- package/components/input/dist/styles/default/input-css.d.ts +0 -2
- package/components/input/dist/styles/default/label-css.d.ts +0 -2
- package/components/input/dist/styles/input-css.d.ts +0 -2
|
@@ -1583,12 +1583,12 @@ class AuroMenuOption extends AuroElement$1 {
|
|
|
1583
1583
|
/**
|
|
1584
1584
|
* @private
|
|
1585
1585
|
*/
|
|
1586
|
-
this.shape =
|
|
1586
|
+
this.shape = undefined;
|
|
1587
1587
|
|
|
1588
1588
|
/**
|
|
1589
1589
|
* @private
|
|
1590
1590
|
*/
|
|
1591
|
-
this.size =
|
|
1591
|
+
this.size = undefined;
|
|
1592
1592
|
|
|
1593
1593
|
/**
|
|
1594
1594
|
* Generate unique names for dependency components.
|
|
@@ -1661,6 +1661,13 @@ class AuroMenuOption extends AuroElement$1 {
|
|
|
1661
1661
|
// Add the tag name as an attribute if it is different than the component name
|
|
1662
1662
|
this.runtimeUtils.handleComponentTagRename(this, 'auro-menuoption');
|
|
1663
1663
|
|
|
1664
|
+
if (!this.hasAttribute('size')) {
|
|
1665
|
+
this.size = this.parentElement.getAttribute('size') || 'sm';
|
|
1666
|
+
}
|
|
1667
|
+
if (!this.hasAttribute('shape')) {
|
|
1668
|
+
this.shape = this.parentElement.getAttribute('shape') || 'box';
|
|
1669
|
+
}
|
|
1670
|
+
|
|
1664
1671
|
this.setAttribute('role', 'option');
|
|
1665
1672
|
this.setAttribute('aria-selected', 'false');
|
|
1666
1673
|
|
|
@@ -1543,12 +1543,12 @@ class AuroMenuOption extends AuroElement$1 {
|
|
|
1543
1543
|
/**
|
|
1544
1544
|
* @private
|
|
1545
1545
|
*/
|
|
1546
|
-
this.shape =
|
|
1546
|
+
this.shape = undefined;
|
|
1547
1547
|
|
|
1548
1548
|
/**
|
|
1549
1549
|
* @private
|
|
1550
1550
|
*/
|
|
1551
|
-
this.size =
|
|
1551
|
+
this.size = undefined;
|
|
1552
1552
|
|
|
1553
1553
|
/**
|
|
1554
1554
|
* Generate unique names for dependency components.
|
|
@@ -1621,6 +1621,13 @@ class AuroMenuOption extends AuroElement$1 {
|
|
|
1621
1621
|
// Add the tag name as an attribute if it is different than the component name
|
|
1622
1622
|
this.runtimeUtils.handleComponentTagRename(this, 'auro-menuoption');
|
|
1623
1623
|
|
|
1624
|
+
if (!this.hasAttribute('size')) {
|
|
1625
|
+
this.size = this.parentElement.getAttribute('size') || 'sm';
|
|
1626
|
+
}
|
|
1627
|
+
if (!this.hasAttribute('shape')) {
|
|
1628
|
+
this.shape = this.parentElement.getAttribute('shape') || 'box';
|
|
1629
|
+
}
|
|
1630
|
+
|
|
1624
1631
|
this.setAttribute('role', 'option');
|
|
1625
1632
|
this.setAttribute('aria-selected', 'false');
|
|
1626
1633
|
|
|
@@ -1537,12 +1537,12 @@ class AuroMenuOption extends AuroElement$1 {
|
|
|
1537
1537
|
/**
|
|
1538
1538
|
* @private
|
|
1539
1539
|
*/
|
|
1540
|
-
this.shape =
|
|
1540
|
+
this.shape = undefined;
|
|
1541
1541
|
|
|
1542
1542
|
/**
|
|
1543
1543
|
* @private
|
|
1544
1544
|
*/
|
|
1545
|
-
this.size =
|
|
1545
|
+
this.size = undefined;
|
|
1546
1546
|
|
|
1547
1547
|
/**
|
|
1548
1548
|
* Generate unique names for dependency components.
|
|
@@ -1615,6 +1615,13 @@ class AuroMenuOption extends AuroElement$1 {
|
|
|
1615
1615
|
// Add the tag name as an attribute if it is different than the component name
|
|
1616
1616
|
this.runtimeUtils.handleComponentTagRename(this, 'auro-menuoption');
|
|
1617
1617
|
|
|
1618
|
+
if (!this.hasAttribute('size')) {
|
|
1619
|
+
this.size = this.parentElement.getAttribute('size') || 'sm';
|
|
1620
|
+
}
|
|
1621
|
+
if (!this.hasAttribute('shape')) {
|
|
1622
|
+
this.shape = this.parentElement.getAttribute('shape') || 'box';
|
|
1623
|
+
}
|
|
1624
|
+
|
|
1618
1625
|
this.setAttribute('role', 'option');
|
|
1619
1626
|
this.setAttribute('aria-selected', 'false');
|
|
1620
1627
|
|
|
@@ -1496,12 +1496,12 @@ class AuroMenuOption extends AuroElement$1 {
|
|
|
1496
1496
|
/**
|
|
1497
1497
|
* @private
|
|
1498
1498
|
*/
|
|
1499
|
-
this.shape =
|
|
1499
|
+
this.shape = undefined;
|
|
1500
1500
|
|
|
1501
1501
|
/**
|
|
1502
1502
|
* @private
|
|
1503
1503
|
*/
|
|
1504
|
-
this.size =
|
|
1504
|
+
this.size = undefined;
|
|
1505
1505
|
|
|
1506
1506
|
/**
|
|
1507
1507
|
* Generate unique names for dependency components.
|
|
@@ -1574,6 +1574,13 @@ class AuroMenuOption extends AuroElement$1 {
|
|
|
1574
1574
|
// Add the tag name as an attribute if it is different than the component name
|
|
1575
1575
|
this.runtimeUtils.handleComponentTagRename(this, 'auro-menuoption');
|
|
1576
1576
|
|
|
1577
|
+
if (!this.hasAttribute('size')) {
|
|
1578
|
+
this.size = this.parentElement.getAttribute('size') || 'sm';
|
|
1579
|
+
}
|
|
1580
|
+
if (!this.hasAttribute('shape')) {
|
|
1581
|
+
this.shape = this.parentElement.getAttribute('shape') || 'box';
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1577
1584
|
this.setAttribute('role', 'option');
|
|
1578
1585
|
this.setAttribute('aria-selected', 'false');
|
|
1579
1586
|
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
|----------------------|--------------------|--------------------------------------------------|
|
|
77
77
|
| `auroRadio-blur` | `CustomEvent<any>` | Notifies that the component has lost focus. |
|
|
78
78
|
| `auroRadio-selected` | `CustomEvent<any>` | Notifies that the component has been marked as checked/selected. |
|
|
79
|
-
| [change](#change) | `CustomEvent<any>` | Notifies when checked value is changed.
|
|
79
|
+
| [change](#change) | `CustomEvent<any>` | (Deprecated) Notifies when checked value is changed. |
|
|
80
80
|
| [focusSelected](#focusSelected) | `CustomEvent<any>` | Notifies that the component has gained focus. |
|
|
81
81
|
| [input](#input) | `InputEvent` | Notifies when when checked value is changed by user's interface. |
|
|
82
82
|
| [resetRadio](#resetRadio) | `CustomEvent<any>` | Notifies that the component has reset the checked/selected state. |
|
|
@@ -162,7 +162,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
|
162
162
|
* @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
|
|
163
163
|
* @attr id
|
|
164
164
|
*
|
|
165
|
-
* @event {CustomEvent<any>} change - Notifies when checked value is changed.
|
|
165
|
+
* @event {CustomEvent<any>} change - (Deprecated) Notifies when checked value is changed.
|
|
166
166
|
* @event {InputEvent} input - Notifies when when checked value is changed by user's interface.
|
|
167
167
|
* @event focusSelected - Notifies that the component has gained focus.
|
|
168
168
|
* @event auroRadio-blur - Notifies that the component has lost focus.
|
|
@@ -137,7 +137,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
|
137
137
|
* @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
|
|
138
138
|
* @attr id
|
|
139
139
|
*
|
|
140
|
-
* @event {CustomEvent<any>} change - Notifies when checked value is changed.
|
|
140
|
+
* @event {CustomEvent<any>} change - (Deprecated) Notifies when checked value is changed.
|
|
141
141
|
* @event {InputEvent} input - Notifies when when checked value is changed by user's interface.
|
|
142
142
|
* @event focusSelected - Notifies that the component has gained focus.
|
|
143
143
|
* @event auroRadio-blur - Notifies that the component has lost focus.
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
|
|
10
10
|
* @attr id
|
|
11
11
|
*
|
|
12
|
-
* @event {CustomEvent<any>} change - Notifies when checked value is changed.
|
|
12
|
+
* @event {CustomEvent<any>} change - (Deprecated) Notifies when checked value is changed.
|
|
13
13
|
* @event {InputEvent} input - Notifies when when checked value is changed by user's interface.
|
|
14
14
|
* @event focusSelected - Notifies that the component has gained focus.
|
|
15
15
|
* @event auroRadio-blur - Notifies that the component has lost focus.
|
|
@@ -97,7 +97,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
|
97
97
|
* @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
|
|
98
98
|
* @attr id
|
|
99
99
|
*
|
|
100
|
-
* @event {CustomEvent<any>} change - Notifies when checked value is changed.
|
|
100
|
+
* @event {CustomEvent<any>} change - (Deprecated) Notifies when checked value is changed.
|
|
101
101
|
* @event {InputEvent} input - Notifies when when checked value is changed by user's interface.
|
|
102
102
|
* @event focusSelected - Notifies that the component has gained focus.
|
|
103
103
|
* @event auroRadio-blur - Notifies that the component has lost focus.
|
|
@@ -97,7 +97,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
|
97
97
|
* @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
|
|
98
98
|
* @attr id
|
|
99
99
|
*
|
|
100
|
-
* @event {CustomEvent<any>} change - Notifies when checked value is changed.
|
|
100
|
+
* @event {CustomEvent<any>} change - (Deprecated) Notifies when checked value is changed.
|
|
101
101
|
* @event {InputEvent} input - Notifies when when checked value is changed by user's interface.
|
|
102
102
|
* @event focusSelected - Notifies that the component has gained focus.
|
|
103
103
|
* @event auroRadio-blur - Notifies that the component has lost focus.
|
|
@@ -23,7 +23,7 @@ The auro-select element is a wrapper for auro-dropdown and auro-menu to create a
|
|
|
23
23
|
| [forceDisplayValue](#forceDisplayValue) | `forceDisplayValue` | `boolean` | false | If declared, the label and value will be visually hidden and the displayValue will render 100% of the time. |
|
|
24
24
|
| [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. |
|
|
25
25
|
| [largeFullscreenHeadline](#largeFullscreenHeadline) | `largeFullscreenHeadline` | `boolean` | | If declared, make bib.fullscreen.headline in HeadingDisplay.<br />Otherwise, Heading 600. |
|
|
26
|
-
| [layout](#layout) | | `string` |
|
|
26
|
+
| [layout](#layout) | | `string` | | |
|
|
27
27
|
| [matchWidth](#matchWidth) | `matchWidth` | `boolean` | false | If declared, the popover and trigger will be set to the same width. |
|
|
28
28
|
| [multiSelect](#multiSelect) | `multiselect` | `boolean` | | Sets multi-select mode, allowing multiple options to be selected at once. |
|
|
29
29
|
| [name](#name) | `name` | `string` | | The name for the select element. |
|
|
@@ -39,8 +39,6 @@ The auro-select element is a wrapper for auro-dropdown and auro-menu to create a
|
|
|
39
39
|
| [setCustomValidity](#setCustomValidity) | `setCustomValidity` | `string` | | Sets a custom help text message to display for all validityStates. |
|
|
40
40
|
| [setCustomValidityCustomError](#setCustomValidityCustomError) | `setCustomValidityCustomError` | `string` | | Custom help text message to display when validity = `customError`. |
|
|
41
41
|
| [setCustomValidityValueMissing](#setCustomValidityValueMissing) | `setCustomValidityValueMissing` | `string` | | Custom help text message to display when validity = `valueMissing`. |
|
|
42
|
-
| [shape](#shape) | | `string` | "snowflake" | |
|
|
43
|
-
| [size](#size) | | `string` | "xl" | |
|
|
44
42
|
| [validity](#validity) | `validity` | `string` | | Specifies the `validityState` this element is in. |
|
|
45
43
|
| [value](#value) | `value` | `string` | | Value selected for the component. |
|
|
46
44
|
|