@aurodesignsystem-dev/auro-formkit 0.0.0-pr811.0 → 0.0.0-pr815.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 (43) hide show
  1. package/components/bibtemplate/dist/headerVersion.d.ts +1 -1
  2. package/components/bibtemplate/dist/index.js +60 -96
  3. package/components/bibtemplate/dist/registered.js +60 -96
  4. package/components/combobox/demo/api.min.js +187 -124
  5. package/components/combobox/demo/index.md +2 -4
  6. package/components/combobox/demo/index.min.js +187 -124
  7. package/components/combobox/dist/auro-combobox.d.ts +8 -2
  8. package/components/combobox/dist/index.js +174 -118
  9. package/components/combobox/dist/registered.js +174 -118
  10. package/components/counter/demo/api.min.js +90 -124
  11. package/components/counter/demo/index.min.js +90 -124
  12. package/components/counter/dist/index.js +90 -124
  13. package/components/counter/dist/registered.js +90 -124
  14. package/components/datepicker/demo/api.min.js +187 -135
  15. package/components/datepicker/demo/index.min.js +187 -135
  16. package/components/datepicker/dist/index.js +187 -135
  17. package/components/datepicker/dist/registered.js +187 -135
  18. package/components/dropdown/demo/api.min.js +2 -2
  19. package/components/dropdown/demo/index.min.js +2 -2
  20. package/components/dropdown/dist/index.js +2 -2
  21. package/components/dropdown/dist/registered.js +2 -2
  22. package/components/input/demo/api.md +2 -5
  23. package/components/input/demo/api.min.js +91 -10
  24. package/components/input/demo/index.md +2 -2
  25. package/components/input/demo/index.min.js +91 -10
  26. package/components/input/dist/auro-input.d.ts +24 -0
  27. package/components/input/dist/base-input.d.ts +8 -2
  28. package/components/input/dist/index.js +91 -10
  29. package/components/input/dist/registered.js +91 -10
  30. package/components/menu/demo/api.min.js +9 -2
  31. package/components/menu/demo/index.min.js +9 -2
  32. package/components/menu/dist/index.js +9 -2
  33. package/components/menu/dist/registered.js +9 -2
  34. package/components/select/demo/api.md +1 -3
  35. package/components/select/demo/api.min.js +122 -134
  36. package/components/select/demo/index.min.js +122 -134
  37. package/components/select/dist/auro-select.d.ts +11 -5
  38. package/components/select/dist/index.js +109 -128
  39. package/components/select/dist/registered.js +109 -128
  40. package/package.json +1 -1
  41. package/components/input/dist/styles/default/input-css.d.ts +0 -2
  42. package/components/input/dist/styles/default/label-css.d.ts +0 -2
  43. 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 = "box";
1586
+ this.shape = undefined;
1587
1587
 
1588
1588
  /**
1589
1589
  * @private
1590
1590
  */
1591
- this.size = "sm";
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 = "box";
1546
+ this.shape = undefined;
1547
1547
 
1548
1548
  /**
1549
1549
  * @private
1550
1550
  */
1551
- this.size = "sm";
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 = "box";
1540
+ this.shape = undefined;
1541
1541
 
1542
1542
  /**
1543
1543
  * @private
1544
1544
  */
1545
- this.size = "sm";
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 = "box";
1499
+ this.shape = undefined;
1500
1500
 
1501
1501
  /**
1502
1502
  * @private
1503
1503
  */
1504
- this.size = "sm";
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
 
@@ -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` | "snowflake" | |
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