@aurodesignsystem-dev/auro-formkit 0.0.0-pr624.86 → 0.0.0-pr624.88
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.min.js +11 -8
- package/components/combobox/demo/index.min.js +11 -8
- package/components/combobox/dist/index.js +2 -6
- package/components/combobox/dist/registered.js +2 -6
- package/components/datepicker/demo/api.min.js +2 -6
- package/components/datepicker/demo/index.min.js +2 -6
- package/components/datepicker/dist/index.js +2 -6
- package/components/datepicker/dist/registered.js +2 -6
- package/components/input/demo/api.min.js +2 -6
- package/components/input/demo/index.min.js +2 -6
- package/components/input/dist/index.js +2 -6
- package/components/input/dist/registered.js +2 -6
- 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/select/demo/api.min.js +9 -2
- package/components/select/demo/index.min.js +9 -2
- package/package.json +1 -1
|
@@ -10479,6 +10479,8 @@ class BaseInput extends AuroElement$2$1 {
|
|
|
10479
10479
|
* @private
|
|
10480
10480
|
*/
|
|
10481
10481
|
this.size = 'lg';
|
|
10482
|
+
|
|
10483
|
+
this.privateDefaults();
|
|
10482
10484
|
}
|
|
10483
10485
|
|
|
10484
10486
|
/**
|
|
@@ -10497,10 +10499,6 @@ class BaseInput extends AuroElement$2$1 {
|
|
|
10497
10499
|
this.label = 'Input label is undefined';
|
|
10498
10500
|
this.placeholderStr = '';
|
|
10499
10501
|
|
|
10500
|
-
this.layout = 'classic';
|
|
10501
|
-
this.shape = 'classic';
|
|
10502
|
-
this.size = 'lg';
|
|
10503
|
-
|
|
10504
10502
|
this.allowedInputTypes = [
|
|
10505
10503
|
"text",
|
|
10506
10504
|
"number",
|
|
@@ -10906,8 +10904,6 @@ class BaseInput extends AuroElement$2$1 {
|
|
|
10906
10904
|
connectedCallback() {
|
|
10907
10905
|
super.connectedCallback();
|
|
10908
10906
|
|
|
10909
|
-
this.privateDefaults();
|
|
10910
|
-
|
|
10911
10907
|
notifyOnLangChange(this);
|
|
10912
10908
|
}
|
|
10913
10909
|
|
|
@@ -18468,12 +18464,12 @@ class AuroMenuOption extends AuroElement$1 {
|
|
|
18468
18464
|
/**
|
|
18469
18465
|
* @private
|
|
18470
18466
|
*/
|
|
18471
|
-
this.shape =
|
|
18467
|
+
this.shape = undefined;
|
|
18472
18468
|
|
|
18473
18469
|
/**
|
|
18474
18470
|
* @private
|
|
18475
18471
|
*/
|
|
18476
|
-
this.size =
|
|
18472
|
+
this.size = undefined;
|
|
18477
18473
|
|
|
18478
18474
|
/**
|
|
18479
18475
|
* Generate unique names for dependency components.
|
|
@@ -18546,6 +18542,13 @@ class AuroMenuOption extends AuroElement$1 {
|
|
|
18546
18542
|
// Add the tag name as an attribute if it is different than the component name
|
|
18547
18543
|
this.runtimeUtils.handleComponentTagRename(this, 'auro-menuoption');
|
|
18548
18544
|
|
|
18545
|
+
if (!this.hasAttribute('size')) {
|
|
18546
|
+
this.size = this.parentElement.getAttribute('size') || 'sm';
|
|
18547
|
+
}
|
|
18548
|
+
if (!this.hasAttribute('shape')) {
|
|
18549
|
+
this.shape = this.parentElement.getAttribute('shape') || 'box';
|
|
18550
|
+
}
|
|
18551
|
+
|
|
18549
18552
|
this.setAttribute('role', 'option');
|
|
18550
18553
|
this.setAttribute('aria-selected', 'false');
|
|
18551
18554
|
|
|
@@ -10337,6 +10337,8 @@ class BaseInput extends AuroElement$2$1 {
|
|
|
10337
10337
|
* @private
|
|
10338
10338
|
*/
|
|
10339
10339
|
this.size = 'lg';
|
|
10340
|
+
|
|
10341
|
+
this.privateDefaults();
|
|
10340
10342
|
}
|
|
10341
10343
|
|
|
10342
10344
|
/**
|
|
@@ -10355,10 +10357,6 @@ class BaseInput extends AuroElement$2$1 {
|
|
|
10355
10357
|
this.label = 'Input label is undefined';
|
|
10356
10358
|
this.placeholderStr = '';
|
|
10357
10359
|
|
|
10358
|
-
this.layout = 'classic';
|
|
10359
|
-
this.shape = 'classic';
|
|
10360
|
-
this.size = 'lg';
|
|
10361
|
-
|
|
10362
10360
|
this.allowedInputTypes = [
|
|
10363
10361
|
"text",
|
|
10364
10362
|
"number",
|
|
@@ -10764,8 +10762,6 @@ class BaseInput extends AuroElement$2$1 {
|
|
|
10764
10762
|
connectedCallback() {
|
|
10765
10763
|
super.connectedCallback();
|
|
10766
10764
|
|
|
10767
|
-
this.privateDefaults();
|
|
10768
|
-
|
|
10769
10765
|
notifyOnLangChange(this);
|
|
10770
10766
|
}
|
|
10771
10767
|
|
|
@@ -18326,12 +18322,12 @@ class AuroMenuOption extends AuroElement$1 {
|
|
|
18326
18322
|
/**
|
|
18327
18323
|
* @private
|
|
18328
18324
|
*/
|
|
18329
|
-
this.shape =
|
|
18325
|
+
this.shape = undefined;
|
|
18330
18326
|
|
|
18331
18327
|
/**
|
|
18332
18328
|
* @private
|
|
18333
18329
|
*/
|
|
18334
|
-
this.size =
|
|
18330
|
+
this.size = undefined;
|
|
18335
18331
|
|
|
18336
18332
|
/**
|
|
18337
18333
|
* Generate unique names for dependency components.
|
|
@@ -18404,6 +18400,13 @@ class AuroMenuOption extends AuroElement$1 {
|
|
|
18404
18400
|
// Add the tag name as an attribute if it is different than the component name
|
|
18405
18401
|
this.runtimeUtils.handleComponentTagRename(this, 'auro-menuoption');
|
|
18406
18402
|
|
|
18403
|
+
if (!this.hasAttribute('size')) {
|
|
18404
|
+
this.size = this.parentElement.getAttribute('size') || 'sm';
|
|
18405
|
+
}
|
|
18406
|
+
if (!this.hasAttribute('shape')) {
|
|
18407
|
+
this.shape = this.parentElement.getAttribute('shape') || 'box';
|
|
18408
|
+
}
|
|
18409
|
+
|
|
18407
18410
|
this.setAttribute('role', 'option');
|
|
18408
18411
|
this.setAttribute('aria-selected', 'false');
|
|
18409
18412
|
|
|
@@ -10255,6 +10255,8 @@ class BaseInput extends AuroElement$2$1 {
|
|
|
10255
10255
|
* @private
|
|
10256
10256
|
*/
|
|
10257
10257
|
this.size = 'lg';
|
|
10258
|
+
|
|
10259
|
+
this.privateDefaults();
|
|
10258
10260
|
}
|
|
10259
10261
|
|
|
10260
10262
|
/**
|
|
@@ -10273,10 +10275,6 @@ class BaseInput extends AuroElement$2$1 {
|
|
|
10273
10275
|
this.label = 'Input label is undefined';
|
|
10274
10276
|
this.placeholderStr = '';
|
|
10275
10277
|
|
|
10276
|
-
this.layout = 'classic';
|
|
10277
|
-
this.shape = 'classic';
|
|
10278
|
-
this.size = 'lg';
|
|
10279
|
-
|
|
10280
10278
|
this.allowedInputTypes = [
|
|
10281
10279
|
"text",
|
|
10282
10280
|
"number",
|
|
@@ -10682,8 +10680,6 @@ class BaseInput extends AuroElement$2$1 {
|
|
|
10682
10680
|
connectedCallback() {
|
|
10683
10681
|
super.connectedCallback();
|
|
10684
10682
|
|
|
10685
|
-
this.privateDefaults();
|
|
10686
|
-
|
|
10687
10683
|
notifyOnLangChange(this);
|
|
10688
10684
|
}
|
|
10689
10685
|
|
|
@@ -10255,6 +10255,8 @@ class BaseInput extends AuroElement$2$1 {
|
|
|
10255
10255
|
* @private
|
|
10256
10256
|
*/
|
|
10257
10257
|
this.size = 'lg';
|
|
10258
|
+
|
|
10259
|
+
this.privateDefaults();
|
|
10258
10260
|
}
|
|
10259
10261
|
|
|
10260
10262
|
/**
|
|
@@ -10273,10 +10275,6 @@ class BaseInput extends AuroElement$2$1 {
|
|
|
10273
10275
|
this.label = 'Input label is undefined';
|
|
10274
10276
|
this.placeholderStr = '';
|
|
10275
10277
|
|
|
10276
|
-
this.layout = 'classic';
|
|
10277
|
-
this.shape = 'classic';
|
|
10278
|
-
this.size = 'lg';
|
|
10279
|
-
|
|
10280
10278
|
this.allowedInputTypes = [
|
|
10281
10279
|
"text",
|
|
10282
10280
|
"number",
|
|
@@ -10682,8 +10680,6 @@ class BaseInput extends AuroElement$2$1 {
|
|
|
10682
10680
|
connectedCallback() {
|
|
10683
10681
|
super.connectedCallback();
|
|
10684
10682
|
|
|
10685
|
-
this.privateDefaults();
|
|
10686
|
-
|
|
10687
10683
|
notifyOnLangChange(this);
|
|
10688
10684
|
}
|
|
10689
10685
|
|
|
@@ -23911,6 +23911,8 @@ class BaseInput extends AuroElement$2 {
|
|
|
23911
23911
|
* @private
|
|
23912
23912
|
*/
|
|
23913
23913
|
this.size = 'lg';
|
|
23914
|
+
|
|
23915
|
+
this.privateDefaults();
|
|
23914
23916
|
}
|
|
23915
23917
|
|
|
23916
23918
|
/**
|
|
@@ -23929,10 +23931,6 @@ class BaseInput extends AuroElement$2 {
|
|
|
23929
23931
|
this.label = 'Input label is undefined';
|
|
23930
23932
|
this.placeholderStr = '';
|
|
23931
23933
|
|
|
23932
|
-
this.layout = 'classic';
|
|
23933
|
-
this.shape = 'classic';
|
|
23934
|
-
this.size = 'lg';
|
|
23935
|
-
|
|
23936
23934
|
this.allowedInputTypes = [
|
|
23937
23935
|
"text",
|
|
23938
23936
|
"number",
|
|
@@ -24338,8 +24336,6 @@ class BaseInput extends AuroElement$2 {
|
|
|
24338
24336
|
connectedCallback() {
|
|
24339
24337
|
super.connectedCallback();
|
|
24340
24338
|
|
|
24341
|
-
this.privateDefaults();
|
|
24342
|
-
|
|
24343
24339
|
notifyOnLangChange(this);
|
|
24344
24340
|
}
|
|
24345
24341
|
|
|
@@ -23652,6 +23652,8 @@ class BaseInput extends AuroElement$2 {
|
|
|
23652
23652
|
* @private
|
|
23653
23653
|
*/
|
|
23654
23654
|
this.size = 'lg';
|
|
23655
|
+
|
|
23656
|
+
this.privateDefaults();
|
|
23655
23657
|
}
|
|
23656
23658
|
|
|
23657
23659
|
/**
|
|
@@ -23670,10 +23672,6 @@ class BaseInput extends AuroElement$2 {
|
|
|
23670
23672
|
this.label = 'Input label is undefined';
|
|
23671
23673
|
this.placeholderStr = '';
|
|
23672
23674
|
|
|
23673
|
-
this.layout = 'classic';
|
|
23674
|
-
this.shape = 'classic';
|
|
23675
|
-
this.size = 'lg';
|
|
23676
|
-
|
|
23677
23675
|
this.allowedInputTypes = [
|
|
23678
23676
|
"text",
|
|
23679
23677
|
"number",
|
|
@@ -24079,8 +24077,6 @@ class BaseInput extends AuroElement$2 {
|
|
|
24079
24077
|
connectedCallback() {
|
|
24080
24078
|
super.connectedCallback();
|
|
24081
24079
|
|
|
24082
|
-
this.privateDefaults();
|
|
24083
|
-
|
|
24084
24080
|
notifyOnLangChange(this);
|
|
24085
24081
|
}
|
|
24086
24082
|
|
|
@@ -23588,6 +23588,8 @@ class BaseInput extends AuroElement$2 {
|
|
|
23588
23588
|
* @private
|
|
23589
23589
|
*/
|
|
23590
23590
|
this.size = 'lg';
|
|
23591
|
+
|
|
23592
|
+
this.privateDefaults();
|
|
23591
23593
|
}
|
|
23592
23594
|
|
|
23593
23595
|
/**
|
|
@@ -23606,10 +23608,6 @@ class BaseInput extends AuroElement$2 {
|
|
|
23606
23608
|
this.label = 'Input label is undefined';
|
|
23607
23609
|
this.placeholderStr = '';
|
|
23608
23610
|
|
|
23609
|
-
this.layout = 'classic';
|
|
23610
|
-
this.shape = 'classic';
|
|
23611
|
-
this.size = 'lg';
|
|
23612
|
-
|
|
23613
23611
|
this.allowedInputTypes = [
|
|
23614
23612
|
"text",
|
|
23615
23613
|
"number",
|
|
@@ -24015,8 +24013,6 @@ class BaseInput extends AuroElement$2 {
|
|
|
24015
24013
|
connectedCallback() {
|
|
24016
24014
|
super.connectedCallback();
|
|
24017
24015
|
|
|
24018
|
-
this.privateDefaults();
|
|
24019
|
-
|
|
24020
24016
|
notifyOnLangChange(this);
|
|
24021
24017
|
}
|
|
24022
24018
|
|
|
@@ -23588,6 +23588,8 @@ class BaseInput extends AuroElement$2 {
|
|
|
23588
23588
|
* @private
|
|
23589
23589
|
*/
|
|
23590
23590
|
this.size = 'lg';
|
|
23591
|
+
|
|
23592
|
+
this.privateDefaults();
|
|
23591
23593
|
}
|
|
23592
23594
|
|
|
23593
23595
|
/**
|
|
@@ -23606,10 +23608,6 @@ class BaseInput extends AuroElement$2 {
|
|
|
23606
23608
|
this.label = 'Input label is undefined';
|
|
23607
23609
|
this.placeholderStr = '';
|
|
23608
23610
|
|
|
23609
|
-
this.layout = 'classic';
|
|
23610
|
-
this.shape = 'classic';
|
|
23611
|
-
this.size = 'lg';
|
|
23612
|
-
|
|
23613
23611
|
this.allowedInputTypes = [
|
|
23614
23612
|
"text",
|
|
23615
23613
|
"number",
|
|
@@ -24015,8 +24013,6 @@ class BaseInput extends AuroElement$2 {
|
|
|
24015
24013
|
connectedCallback() {
|
|
24016
24014
|
super.connectedCallback();
|
|
24017
24015
|
|
|
24018
|
-
this.privateDefaults();
|
|
24019
|
-
|
|
24020
24016
|
notifyOnLangChange(this);
|
|
24021
24017
|
}
|
|
24022
24018
|
|
|
@@ -5153,6 +5153,8 @@ class BaseInput extends AuroElement$2 {
|
|
|
5153
5153
|
* @private
|
|
5154
5154
|
*/
|
|
5155
5155
|
this.size = 'lg';
|
|
5156
|
+
|
|
5157
|
+
this.privateDefaults();
|
|
5156
5158
|
}
|
|
5157
5159
|
|
|
5158
5160
|
/**
|
|
@@ -5171,10 +5173,6 @@ class BaseInput extends AuroElement$2 {
|
|
|
5171
5173
|
this.label = 'Input label is undefined';
|
|
5172
5174
|
this.placeholderStr = '';
|
|
5173
5175
|
|
|
5174
|
-
this.layout = 'classic';
|
|
5175
|
-
this.shape = 'classic';
|
|
5176
|
-
this.size = 'lg';
|
|
5177
|
-
|
|
5178
5176
|
this.allowedInputTypes = [
|
|
5179
5177
|
"text",
|
|
5180
5178
|
"number",
|
|
@@ -5580,8 +5578,6 @@ class BaseInput extends AuroElement$2 {
|
|
|
5580
5578
|
connectedCallback() {
|
|
5581
5579
|
super.connectedCallback();
|
|
5582
5580
|
|
|
5583
|
-
this.privateDefaults();
|
|
5584
|
-
|
|
5585
5581
|
notifyOnLangChange(this);
|
|
5586
5582
|
}
|
|
5587
5583
|
|
|
@@ -5078,6 +5078,8 @@ class BaseInput extends AuroElement$2 {
|
|
|
5078
5078
|
* @private
|
|
5079
5079
|
*/
|
|
5080
5080
|
this.size = 'lg';
|
|
5081
|
+
|
|
5082
|
+
this.privateDefaults();
|
|
5081
5083
|
}
|
|
5082
5084
|
|
|
5083
5085
|
/**
|
|
@@ -5096,10 +5098,6 @@ class BaseInput extends AuroElement$2 {
|
|
|
5096
5098
|
this.label = 'Input label is undefined';
|
|
5097
5099
|
this.placeholderStr = '';
|
|
5098
5100
|
|
|
5099
|
-
this.layout = 'classic';
|
|
5100
|
-
this.shape = 'classic';
|
|
5101
|
-
this.size = 'lg';
|
|
5102
|
-
|
|
5103
5101
|
this.allowedInputTypes = [
|
|
5104
5102
|
"text",
|
|
5105
5103
|
"number",
|
|
@@ -5505,8 +5503,6 @@ class BaseInput extends AuroElement$2 {
|
|
|
5505
5503
|
connectedCallback() {
|
|
5506
5504
|
super.connectedCallback();
|
|
5507
5505
|
|
|
5508
|
-
this.privateDefaults();
|
|
5509
|
-
|
|
5510
5506
|
notifyOnLangChange(this);
|
|
5511
5507
|
}
|
|
5512
5508
|
|
|
@@ -5002,6 +5002,8 @@ class BaseInput extends AuroElement$2 {
|
|
|
5002
5002
|
* @private
|
|
5003
5003
|
*/
|
|
5004
5004
|
this.size = 'lg';
|
|
5005
|
+
|
|
5006
|
+
this.privateDefaults();
|
|
5005
5007
|
}
|
|
5006
5008
|
|
|
5007
5009
|
/**
|
|
@@ -5020,10 +5022,6 @@ class BaseInput extends AuroElement$2 {
|
|
|
5020
5022
|
this.label = 'Input label is undefined';
|
|
5021
5023
|
this.placeholderStr = '';
|
|
5022
5024
|
|
|
5023
|
-
this.layout = 'classic';
|
|
5024
|
-
this.shape = 'classic';
|
|
5025
|
-
this.size = 'lg';
|
|
5026
|
-
|
|
5027
5025
|
this.allowedInputTypes = [
|
|
5028
5026
|
"text",
|
|
5029
5027
|
"number",
|
|
@@ -5429,8 +5427,6 @@ class BaseInput extends AuroElement$2 {
|
|
|
5429
5427
|
connectedCallback() {
|
|
5430
5428
|
super.connectedCallback();
|
|
5431
5429
|
|
|
5432
|
-
this.privateDefaults();
|
|
5433
|
-
|
|
5434
5430
|
notifyOnLangChange(this);
|
|
5435
5431
|
}
|
|
5436
5432
|
|
|
@@ -5002,6 +5002,8 @@ class BaseInput extends AuroElement$2 {
|
|
|
5002
5002
|
* @private
|
|
5003
5003
|
*/
|
|
5004
5004
|
this.size = 'lg';
|
|
5005
|
+
|
|
5006
|
+
this.privateDefaults();
|
|
5005
5007
|
}
|
|
5006
5008
|
|
|
5007
5009
|
/**
|
|
@@ -5020,10 +5022,6 @@ class BaseInput extends AuroElement$2 {
|
|
|
5020
5022
|
this.label = 'Input label is undefined';
|
|
5021
5023
|
this.placeholderStr = '';
|
|
5022
5024
|
|
|
5023
|
-
this.layout = 'classic';
|
|
5024
|
-
this.shape = 'classic';
|
|
5025
|
-
this.size = 'lg';
|
|
5026
|
-
|
|
5027
5025
|
this.allowedInputTypes = [
|
|
5028
5026
|
"text",
|
|
5029
5027
|
"number",
|
|
@@ -5429,8 +5427,6 @@ class BaseInput extends AuroElement$2 {
|
|
|
5429
5427
|
connectedCallback() {
|
|
5430
5428
|
super.connectedCallback();
|
|
5431
5429
|
|
|
5432
|
-
this.privateDefaults();
|
|
5433
|
-
|
|
5434
5430
|
notifyOnLangChange(this);
|
|
5435
5431
|
}
|
|
5436
5432
|
|
|
@@ -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
|
|
|
@@ -10288,12 +10288,12 @@ class AuroMenuOption extends AuroElement$4 {
|
|
|
10288
10288
|
/**
|
|
10289
10289
|
* @private
|
|
10290
10290
|
*/
|
|
10291
|
-
this.shape =
|
|
10291
|
+
this.shape = undefined;
|
|
10292
10292
|
|
|
10293
10293
|
/**
|
|
10294
10294
|
* @private
|
|
10295
10295
|
*/
|
|
10296
|
-
this.size =
|
|
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 =
|
|
10199
|
+
this.shape = undefined;
|
|
10200
10200
|
|
|
10201
10201
|
/**
|
|
10202
10202
|
* @private
|
|
10203
10203
|
*/
|
|
10204
|
-
this.size =
|
|
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