@aurodesignsystem-dev/auro-formkit 0.0.0-pr811.1 → 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.
@@ -18468,12 +18468,12 @@ class AuroMenuOption extends AuroElement$1 {
18468
18468
  /**
18469
18469
  * @private
18470
18470
  */
18471
- this.shape = "box";
18471
+ this.shape = undefined;
18472
18472
 
18473
18473
  /**
18474
18474
  * @private
18475
18475
  */
18476
- this.size = "sm";
18476
+ this.size = undefined;
18477
18477
 
18478
18478
  /**
18479
18479
  * Generate unique names for dependency components.
@@ -18546,6 +18546,13 @@ class AuroMenuOption extends AuroElement$1 {
18546
18546
  // Add the tag name as an attribute if it is different than the component name
18547
18547
  this.runtimeUtils.handleComponentTagRename(this, 'auro-menuoption');
18548
18548
 
18549
+ if (!this.hasAttribute('size')) {
18550
+ this.size = this.parentElement.getAttribute('size') || 'sm';
18551
+ }
18552
+ if (!this.hasAttribute('shape')) {
18553
+ this.shape = this.parentElement.getAttribute('shape') || 'box';
18554
+ }
18555
+
18549
18556
  this.setAttribute('role', 'option');
18550
18557
  this.setAttribute('aria-selected', 'false');
18551
18558
 
@@ -18326,12 +18326,12 @@ class AuroMenuOption extends AuroElement$1 {
18326
18326
  /**
18327
18327
  * @private
18328
18328
  */
18329
- this.shape = "box";
18329
+ this.shape = undefined;
18330
18330
 
18331
18331
  /**
18332
18332
  * @private
18333
18333
  */
18334
- this.size = "sm";
18334
+ this.size = undefined;
18335
18335
 
18336
18336
  /**
18337
18337
  * Generate unique names for dependency components.
@@ -18404,6 +18404,13 @@ class AuroMenuOption extends AuroElement$1 {
18404
18404
  // Add the tag name as an attribute if it is different than the component name
18405
18405
  this.runtimeUtils.handleComponentTagRename(this, 'auro-menuoption');
18406
18406
 
18407
+ if (!this.hasAttribute('size')) {
18408
+ this.size = this.parentElement.getAttribute('size') || 'sm';
18409
+ }
18410
+ if (!this.hasAttribute('shape')) {
18411
+ this.shape = this.parentElement.getAttribute('shape') || 'box';
18412
+ }
18413
+
18407
18414
  this.setAttribute('role', 'option');
18408
18415
  this.setAttribute('aria-selected', 'false');
18409
18416
 
@@ -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
 
@@ -10288,12 +10288,12 @@ class AuroMenuOption extends AuroElement$4 {
10288
10288
  /**
10289
10289
  * @private
10290
10290
  */
10291
- this.shape = "box";
10291
+ this.shape = undefined;
10292
10292
 
10293
10293
  /**
10294
10294
  * @private
10295
10295
  */
10296
- this.size = "sm";
10296
+ this.size = undefined;
10297
10297
 
10298
10298
  /**
10299
10299
  * Generate unique names for dependency components.
@@ -10366,6 +10366,13 @@ class AuroMenuOption extends AuroElement$4 {
10366
10366
  // Add the tag name as an attribute if it is different than the component name
10367
10367
  this.runtimeUtils.handleComponentTagRename(this, 'auro-menuoption');
10368
10368
 
10369
+ if (!this.hasAttribute('size')) {
10370
+ this.size = this.parentElement.getAttribute('size') || 'sm';
10371
+ }
10372
+ if (!this.hasAttribute('shape')) {
10373
+ this.shape = this.parentElement.getAttribute('shape') || 'box';
10374
+ }
10375
+
10369
10376
  this.setAttribute('role', 'option');
10370
10377
  this.setAttribute('aria-selected', 'false');
10371
10378
 
@@ -10196,12 +10196,12 @@ class AuroMenuOption extends AuroElement$4 {
10196
10196
  /**
10197
10197
  * @private
10198
10198
  */
10199
- this.shape = "box";
10199
+ this.shape = undefined;
10200
10200
 
10201
10201
  /**
10202
10202
  * @private
10203
10203
  */
10204
- this.size = "sm";
10204
+ this.size = undefined;
10205
10205
 
10206
10206
  /**
10207
10207
  * Generate unique names for dependency components.
@@ -10274,6 +10274,13 @@ class AuroMenuOption extends AuroElement$4 {
10274
10274
  // Add the tag name as an attribute if it is different than the component name
10275
10275
  this.runtimeUtils.handleComponentTagRename(this, 'auro-menuoption');
10276
10276
 
10277
+ if (!this.hasAttribute('size')) {
10278
+ this.size = this.parentElement.getAttribute('size') || 'sm';
10279
+ }
10280
+ if (!this.hasAttribute('shape')) {
10281
+ this.shape = this.parentElement.getAttribute('shape') || 'box';
10282
+ }
10283
+
10277
10284
  this.setAttribute('role', 'option');
10278
10285
  this.setAttribute('aria-selected', 'false');
10279
10286
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurodesignsystem-dev/auro-formkit",
3
- "version": "0.0.0-pr811.1",
3
+ "version": "0.0.0-pr815.0",
4
4
  "description": "A collection of web components used to build forms.",
5
5
  "homepage": "https://github.com/AlaskaAirlines/auro-formkit#readme",
6
6
  "bugs": {