@aurodesignsystem-dev/auro-formkit 0.0.0-pr1628.11 → 0.0.0-pr1628.13
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/customize.min.js +1 -1
- package/components/checkbox/demo/getting-started.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/customize.min.js +15 -23
- package/components/combobox/demo/getting-started.min.js +15 -23
- package/components/combobox/demo/index.min.js +15 -23
- package/components/combobox/dist/index.js +4 -16
- package/components/combobox/dist/registered.js +4 -16
- package/components/counter/demo/api.md +28 -28
- package/components/counter/demo/css-only.md +1 -1
- package/components/counter/demo/customize.md +2 -2
- package/components/counter/demo/customize.min.js +12 -11
- package/components/counter/demo/getting-started.md +2 -2
- package/components/counter/demo/getting-started.min.js +12 -11
- package/components/counter/demo/index.min.js +12 -11
- package/components/counter/demo/voiceover.md +2 -2
- package/components/counter/demo/why-counter.md +1 -1
- package/components/counter/dist/auro-counter-group.d.ts +7 -6
- package/components/counter/dist/auro-counter.d.ts +3 -3
- package/components/counter/dist/index.js +12 -11
- package/components/counter/dist/registered.js +12 -11
- package/components/datepicker/demo/customize.min.js +5 -17
- package/components/datepicker/demo/getting-started.min.js +5 -17
- package/components/datepicker/demo/index.min.js +5 -17
- package/components/datepicker/dist/index.js +5 -17
- package/components/datepicker/dist/registered.js +5 -17
- package/components/dropdown/demo/customize.min.js +1 -1
- package/components/dropdown/demo/getting-started.min.js +3 -15
- package/components/dropdown/demo/index.min.js +1 -1
- package/components/dropdown/dist/index.js +1 -1
- package/components/dropdown/dist/registered.js +1 -1
- package/components/form/demo/customize.min.js +40 -71
- package/components/form/demo/getting-started.min.js +40 -71
- package/components/form/demo/index.min.js +40 -71
- package/components/form/demo/registerDemoDeps.min.js +40 -71
- package/components/input/demo/api.md +12 -12
- package/components/input/demo/css-only.md +4 -4
- package/components/input/demo/customize.md +4 -4
- package/components/input/demo/customize.min.js +2 -14
- package/components/input/demo/getting-started.min.js +2 -14
- package/components/input/demo/index.min.js +2 -14
- package/components/input/demo/voiceover.md +1 -1
- package/components/input/demo/why-input.md +2 -2
- package/components/input/dist/base-input.d.ts +0 -12
- package/components/input/dist/index.js +2 -14
- package/components/input/dist/registered.js +2 -14
- package/components/menu/demo/api.md +18 -7
- package/components/menu/demo/index.min.js +11 -7
- package/components/menu/dist/auro-menu.d.ts +5 -3
- package/components/menu/dist/auro-menuoption.d.ts +6 -4
- package/components/menu/dist/index.js +11 -7
- package/components/menu/dist/registered.js +11 -7
- package/components/radio/demo/customize.min.js +1 -1
- package/components/radio/demo/getting-started.min.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/api.md +46 -46
- package/components/select/demo/customize.md +48 -0
- package/components/select/demo/customize.min.js +15 -11
- package/components/select/demo/design.md +6 -0
- package/components/select/demo/getting-started.min.js +15 -11
- package/components/select/demo/index.md +2 -0
- package/components/select/demo/index.min.js +15 -11
- package/components/select/demo/keyboard-behavior.md +1 -1
- package/components/select/demo/voiceover.md +5 -5
- package/components/select/dist/auro-select.d.ts +2 -2
- package/components/select/dist/index.js +4 -4
- package/components/select/dist/registered.js +4 -4
- package/custom-elements.json +23 -71
- package/package.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -2916,7 +2916,7 @@
|
|
|
2916
2916
|
{
|
|
2917
2917
|
"kind": "method",
|
|
2918
2918
|
"name": "configureCounters",
|
|
2919
|
-
"description": "
|
|
2919
|
+
"description": "Sets up every `auro-counter` and `[auro-counter]` element in the group.\nFor each counter, this method copies the group's `appearance` and `onDark` values,\ncalls `updateValue()` on `input`, and calls `updateValidity()` on `auroFormElement-validated`.\nIt then calls `updateValue()` and `updateValidity()` once to sync the group's total and validity.",
|
|
2920
2920
|
"privacy": "private"
|
|
2921
2921
|
},
|
|
2922
2922
|
{
|
|
@@ -3015,7 +3015,7 @@
|
|
|
3015
3015
|
"parameters": [
|
|
3016
3016
|
{
|
|
3017
3017
|
"name": "event",
|
|
3018
|
-
"description": "`slotchange` event.",
|
|
3018
|
+
"description": "The `slotchange` event.",
|
|
3019
3019
|
"type": {
|
|
3020
3020
|
"text": "Event"
|
|
3021
3021
|
}
|
|
@@ -3402,7 +3402,7 @@
|
|
|
3402
3402
|
"type": {
|
|
3403
3403
|
"text": "'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'"
|
|
3404
3404
|
},
|
|
3405
|
-
"description": "Sets the shape of the dropdown.
|
|
3405
|
+
"description": "Sets the shape of the dropdown's trigger. Use `classic` with the `classic` layout and `snowflake` with the `snowflake` layout; when not set, it matches the layout. Applies only when `isDropdown` is set.",
|
|
3406
3406
|
"default": "'classic'",
|
|
3407
3407
|
"attribute": "shape",
|
|
3408
3408
|
"reflects": true,
|
|
@@ -3440,7 +3440,7 @@
|
|
|
3440
3440
|
"type": {
|
|
3441
3441
|
"text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
|
|
3442
3442
|
},
|
|
3443
|
-
"description": "Sets the
|
|
3443
|
+
"description": "Sets the height of the dropdown's trigger, from `xs`, the shortest, to `xl`, the tallest. The `classic` and `snowflake` shapes have a fixed height, so `size` doesn't change them. Applies only when `isDropdown` is set.",
|
|
3444
3444
|
"default": "'xl'",
|
|
3445
3445
|
"attribute": "size",
|
|
3446
3446
|
"reflects": true,
|
|
@@ -3726,7 +3726,7 @@
|
|
|
3726
3726
|
"type": {
|
|
3727
3727
|
"text": "'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'"
|
|
3728
3728
|
},
|
|
3729
|
-
"description": "Sets the shape of the dropdown.
|
|
3729
|
+
"description": "Sets the shape of the dropdown's trigger. Use `classic` with the `classic` layout and `snowflake` with the `snowflake` layout; when not set, it matches the layout. Applies only when `isDropdown` is set.",
|
|
3730
3730
|
"default": "'classic'",
|
|
3731
3731
|
"fieldName": "shape",
|
|
3732
3732
|
"relevantWhen": "isDropdown",
|
|
@@ -3748,7 +3748,7 @@
|
|
|
3748
3748
|
"type": {
|
|
3749
3749
|
"text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
|
|
3750
3750
|
},
|
|
3751
|
-
"description": "Sets the
|
|
3751
|
+
"description": "Sets the height of the dropdown's trigger, from `xs`, the shortest, to `xl`, the tallest. The `classic` and `snowflake` shapes have a fixed height, so `size` doesn't change them. Applies only when `isDropdown` is set.",
|
|
3752
3752
|
"default": "'xl'",
|
|
3753
3753
|
"fieldName": "size",
|
|
3754
3754
|
"relevantWhen": "isDropdown",
|
|
@@ -3891,7 +3891,7 @@
|
|
|
3891
3891
|
}
|
|
3892
3892
|
}
|
|
3893
3893
|
],
|
|
3894
|
-
"description": "Decreases the value by 1, or by the given amount. Does nothing when the counter is disabled
|
|
3894
|
+
"description": "Decreases the value by 1, or by the given amount. Does nothing while the minus button is off: when the counter is disabled, its value is at or below `min`, or its group's total is at or below the group's `min`. It doesn't stop a larger step at `min`.",
|
|
3895
3895
|
"return": {
|
|
3896
3896
|
"type": {
|
|
3897
3897
|
"text": "void"
|
|
@@ -3987,7 +3987,7 @@
|
|
|
3987
3987
|
}
|
|
3988
3988
|
}
|
|
3989
3989
|
],
|
|
3990
|
-
"description": "Increases the value by 1, or by the given amount. Does nothing when the counter is disabled
|
|
3990
|
+
"description": "Increases the value by 1, or by the given amount. Does nothing while the plus button is off: when the counter is disabled, its value is at or above `max`, or its group's total has reached the group's `max`. It doesn't cap a larger step at `max`.",
|
|
3991
3991
|
"return": {
|
|
3992
3992
|
"type": {
|
|
3993
3993
|
"text": "void"
|
|
@@ -4137,7 +4137,7 @@
|
|
|
4137
4137
|
{
|
|
4138
4138
|
"name": "force",
|
|
4139
4139
|
"default": "false",
|
|
4140
|
-
"description": "If true,
|
|
4140
|
+
"description": "If true, checks `min` and `max` even while the counter has focus. If false, skips those checks while the counter has focus.",
|
|
4141
4141
|
"optional": true,
|
|
4142
4142
|
"type": {
|
|
4143
4143
|
"text": "boolean"
|
|
@@ -12496,7 +12496,6 @@
|
|
|
12496
12496
|
},
|
|
12497
12497
|
"description": "Does not currently change any message. To set the error message for an invalid email address,\nuse `setCustomValidityForType`.",
|
|
12498
12498
|
"attribute": "customvaliditytypeemail",
|
|
12499
|
-
"relevantWhen": "!noValidate",
|
|
12500
12499
|
"category": "behavior",
|
|
12501
12500
|
"inheritedFrom": {
|
|
12502
12501
|
"name": "BaseInput",
|
|
@@ -13549,7 +13548,6 @@
|
|
|
13549
13548
|
"default": "false",
|
|
13550
13549
|
"attribute": "required",
|
|
13551
13550
|
"reflects": true,
|
|
13552
|
-
"relevantWhen": "!noValidate",
|
|
13553
13551
|
"category": "behavior",
|
|
13554
13552
|
"inheritedFrom": {
|
|
13555
13553
|
"name": "BaseInput",
|
|
@@ -13631,7 +13629,6 @@
|
|
|
13631
13629
|
},
|
|
13632
13630
|
"description": "Sets one error message for every kind of validation error. When set, it replaces the messages from\n`error` and every other `setCustomValidity*` property.",
|
|
13633
13631
|
"attribute": "setcustomvalidity",
|
|
13634
|
-
"relevantWhen": "!noValidate",
|
|
13635
13632
|
"category": "behavior",
|
|
13636
13633
|
"inheritedFrom": {
|
|
13637
13634
|
"name": "BaseInput",
|
|
@@ -13647,7 +13644,6 @@
|
|
|
13647
13644
|
},
|
|
13648
13645
|
"description": "Sets the error message for `validity=\"badInput\"`. Does not currently change any message,\nbecause the input never reports `badInput`.",
|
|
13649
13646
|
"attribute": "setcustomvaliditybadinput",
|
|
13650
|
-
"relevantWhen": "!noValidate",
|
|
13651
13647
|
"category": "behavior",
|
|
13652
13648
|
"inheritedFrom": {
|
|
13653
13649
|
"name": "BaseInput",
|
|
@@ -13663,7 +13659,6 @@
|
|
|
13663
13659
|
},
|
|
13664
13660
|
"description": "Sets the error message shown while the `error` attribute is set, in place of the `error` value.",
|
|
13665
13661
|
"attribute": "setcustomvaliditycustomerror",
|
|
13666
|
-
"relevantWhen": "!noValidate",
|
|
13667
13662
|
"category": "behavior",
|
|
13668
13663
|
"inheritedFrom": {
|
|
13669
13664
|
"name": "BaseInput",
|
|
@@ -13680,7 +13675,6 @@
|
|
|
13680
13675
|
"description": "Sets the error message shown when the value doesn't fit its `type`, such as a badly formed email address,\nan incomplete card number, or an incomplete date. When not set, `email`, `credit-card`, and most `date` inputs use a built-in message.",
|
|
13681
13676
|
"default": "undefined",
|
|
13682
13677
|
"attribute": "setcustomvalidityfortype",
|
|
13683
|
-
"relevantWhen": "!noValidate",
|
|
13684
13678
|
"category": "behavior",
|
|
13685
13679
|
"inheritedFrom": {
|
|
13686
13680
|
"name": "BaseInput",
|
|
@@ -13696,7 +13690,6 @@
|
|
|
13696
13690
|
},
|
|
13697
13691
|
"description": "Sets the error message shown when the value doesn't match `pattern`, or when a date isn't a real calendar date.\nFor `pattern`, it does not currently work when set only as a property, so set the attribute instead.",
|
|
13698
13692
|
"attribute": "setcustomvaliditypatternmismatch",
|
|
13699
|
-
"relevantWhen": "!noValidate",
|
|
13700
13693
|
"category": "behavior",
|
|
13701
13694
|
"inheritedFrom": {
|
|
13702
13695
|
"name": "BaseInput",
|
|
@@ -13712,7 +13705,6 @@
|
|
|
13712
13705
|
},
|
|
13713
13706
|
"description": "Sets the error message shown when the value is above `max`.",
|
|
13714
13707
|
"attribute": "setcustomvalidityrangeoverflow",
|
|
13715
|
-
"relevantWhen": "!noValidate",
|
|
13716
13708
|
"category": "behavior",
|
|
13717
13709
|
"inheritedFrom": {
|
|
13718
13710
|
"name": "BaseInput",
|
|
@@ -13728,7 +13720,6 @@
|
|
|
13728
13720
|
},
|
|
13729
13721
|
"description": "Sets the error message shown when the value is below `min`.",
|
|
13730
13722
|
"attribute": "setcustomvalidityrangeunderflow",
|
|
13731
|
-
"relevantWhen": "!noValidate",
|
|
13732
13723
|
"category": "behavior",
|
|
13733
13724
|
"inheritedFrom": {
|
|
13734
13725
|
"name": "BaseInput",
|
|
@@ -13744,7 +13735,6 @@
|
|
|
13744
13735
|
},
|
|
13745
13736
|
"description": "Sets the error message shown when the value is longer than `maxlength`.\nDoes not currently work when set only as a property, so set the attribute instead.",
|
|
13746
13737
|
"attribute": "setcustomvaliditytoolong",
|
|
13747
|
-
"relevantWhen": "!noValidate",
|
|
13748
13738
|
"category": "behavior",
|
|
13749
13739
|
"inheritedFrom": {
|
|
13750
13740
|
"name": "BaseInput",
|
|
@@ -13760,7 +13750,6 @@
|
|
|
13760
13750
|
},
|
|
13761
13751
|
"description": "Sets the error message shown when the value is shorter than `minlength`.\nDoes not currently work when set only as a property, so set the attribute instead.",
|
|
13762
13752
|
"attribute": "setcustomvaliditytooshort",
|
|
13763
|
-
"relevantWhen": "!noValidate",
|
|
13764
13753
|
"category": "behavior",
|
|
13765
13754
|
"inheritedFrom": {
|
|
13766
13755
|
"name": "BaseInput",
|
|
@@ -13776,7 +13765,6 @@
|
|
|
13776
13765
|
},
|
|
13777
13766
|
"description": "Sets the error message shown when a `required` input is left empty.",
|
|
13778
13767
|
"attribute": "setcustomvalidityvaluemissing",
|
|
13779
|
-
"relevantWhen": "!noValidate",
|
|
13780
13768
|
"category": "behavior",
|
|
13781
13769
|
"inheritedFrom": {
|
|
13782
13770
|
"name": "BaseInput",
|
|
@@ -14240,7 +14228,6 @@
|
|
|
14240
14228
|
},
|
|
14241
14229
|
"description": "Does not currently change any message. To set the error message for an invalid email address,\nuse `setCustomValidityForType`.",
|
|
14242
14230
|
"fieldName": "customValidityTypeEmail",
|
|
14243
|
-
"relevantWhen": "!noValidate",
|
|
14244
14231
|
"category": "behavior",
|
|
14245
14232
|
"inheritedFrom": {
|
|
14246
14233
|
"name": "BaseInput",
|
|
@@ -14539,7 +14526,6 @@
|
|
|
14539
14526
|
"description": "Makes the input invalid when it's left empty, and removes the \" (optional)\" text after the label.\nUse `setCustomValidityValueMissing` to set the error message.",
|
|
14540
14527
|
"default": "false",
|
|
14541
14528
|
"fieldName": "required",
|
|
14542
|
-
"relevantWhen": "!noValidate",
|
|
14543
14529
|
"category": "behavior",
|
|
14544
14530
|
"inheritedFrom": {
|
|
14545
14531
|
"name": "BaseInput",
|
|
@@ -14553,7 +14539,6 @@
|
|
|
14553
14539
|
},
|
|
14554
14540
|
"description": "Sets one error message for every kind of validation error. When set, it replaces the messages from\n`error` and every other `setCustomValidity*` property.",
|
|
14555
14541
|
"fieldName": "setCustomValidity",
|
|
14556
|
-
"relevantWhen": "!noValidate",
|
|
14557
14542
|
"category": "behavior",
|
|
14558
14543
|
"inheritedFrom": {
|
|
14559
14544
|
"name": "BaseInput",
|
|
@@ -14567,7 +14552,6 @@
|
|
|
14567
14552
|
},
|
|
14568
14553
|
"description": "Sets the error message for `validity=\"badInput\"`. Does not currently change any message,\nbecause the input never reports `badInput`.",
|
|
14569
14554
|
"fieldName": "setCustomValidityBadInput",
|
|
14570
|
-
"relevantWhen": "!noValidate",
|
|
14571
14555
|
"category": "behavior",
|
|
14572
14556
|
"inheritedFrom": {
|
|
14573
14557
|
"name": "BaseInput",
|
|
@@ -14581,7 +14565,6 @@
|
|
|
14581
14565
|
},
|
|
14582
14566
|
"description": "Sets the error message shown while the `error` attribute is set, in place of the `error` value.",
|
|
14583
14567
|
"fieldName": "setCustomValidityCustomError",
|
|
14584
|
-
"relevantWhen": "!noValidate",
|
|
14585
14568
|
"category": "behavior",
|
|
14586
14569
|
"inheritedFrom": {
|
|
14587
14570
|
"name": "BaseInput",
|
|
@@ -14596,7 +14579,6 @@
|
|
|
14596
14579
|
"description": "Sets the error message shown when the value doesn't fit its `type`, such as a badly formed email address,\nan incomplete card number, or an incomplete date. When not set, `email`, `credit-card`, and most `date` inputs use a built-in message.",
|
|
14597
14580
|
"default": "undefined",
|
|
14598
14581
|
"fieldName": "setCustomValidityForType",
|
|
14599
|
-
"relevantWhen": "!noValidate",
|
|
14600
14582
|
"category": "behavior",
|
|
14601
14583
|
"inheritedFrom": {
|
|
14602
14584
|
"name": "BaseInput",
|
|
@@ -14610,7 +14592,6 @@
|
|
|
14610
14592
|
},
|
|
14611
14593
|
"description": "Sets the error message shown when the value doesn't match `pattern`, or when a date isn't a real calendar date.\nFor `pattern`, it does not currently work when set only as a property, so set the attribute instead.",
|
|
14612
14594
|
"fieldName": "setCustomValidityPatternMismatch",
|
|
14613
|
-
"relevantWhen": "!noValidate",
|
|
14614
14595
|
"category": "behavior",
|
|
14615
14596
|
"inheritedFrom": {
|
|
14616
14597
|
"name": "BaseInput",
|
|
@@ -14624,7 +14605,6 @@
|
|
|
14624
14605
|
},
|
|
14625
14606
|
"description": "Sets the error message shown when the value is above `max`.",
|
|
14626
14607
|
"fieldName": "setCustomValidityRangeOverflow",
|
|
14627
|
-
"relevantWhen": "!noValidate",
|
|
14628
14608
|
"category": "behavior",
|
|
14629
14609
|
"inheritedFrom": {
|
|
14630
14610
|
"name": "BaseInput",
|
|
@@ -14638,7 +14618,6 @@
|
|
|
14638
14618
|
},
|
|
14639
14619
|
"description": "Sets the error message shown when the value is below `min`.",
|
|
14640
14620
|
"fieldName": "setCustomValidityRangeUnderflow",
|
|
14641
|
-
"relevantWhen": "!noValidate",
|
|
14642
14621
|
"category": "behavior",
|
|
14643
14622
|
"inheritedFrom": {
|
|
14644
14623
|
"name": "BaseInput",
|
|
@@ -14652,7 +14631,6 @@
|
|
|
14652
14631
|
},
|
|
14653
14632
|
"description": "Sets the error message shown when the value is longer than `maxlength`.\nDoes not currently work when set only as a property, so set the attribute instead.",
|
|
14654
14633
|
"fieldName": "setCustomValidityTooLong",
|
|
14655
|
-
"relevantWhen": "!noValidate",
|
|
14656
14634
|
"category": "behavior",
|
|
14657
14635
|
"inheritedFrom": {
|
|
14658
14636
|
"name": "BaseInput",
|
|
@@ -14666,7 +14644,6 @@
|
|
|
14666
14644
|
},
|
|
14667
14645
|
"description": "Sets the error message shown when the value is shorter than `minlength`.\nDoes not currently work when set only as a property, so set the attribute instead.",
|
|
14668
14646
|
"fieldName": "setCustomValidityTooShort",
|
|
14669
|
-
"relevantWhen": "!noValidate",
|
|
14670
14647
|
"category": "behavior",
|
|
14671
14648
|
"inheritedFrom": {
|
|
14672
14649
|
"name": "BaseInput",
|
|
@@ -14680,7 +14657,6 @@
|
|
|
14680
14657
|
},
|
|
14681
14658
|
"description": "Sets the error message shown when a `required` input is left empty.",
|
|
14682
14659
|
"fieldName": "setCustomValidityValueMissing",
|
|
14683
|
-
"relevantWhen": "!noValidate",
|
|
14684
14660
|
"category": "behavior",
|
|
14685
14661
|
"inheritedFrom": {
|
|
14686
14662
|
"name": "BaseInput",
|
|
@@ -15058,7 +15034,6 @@
|
|
|
15058
15034
|
},
|
|
15059
15035
|
"description": "Does not currently change any message. To set the error message for an invalid email address,\nuse `setCustomValidityForType`.",
|
|
15060
15036
|
"attribute": "customvaliditytypeemail",
|
|
15061
|
-
"relevantWhen": "!noValidate",
|
|
15062
15037
|
"category": "behavior"
|
|
15063
15038
|
},
|
|
15064
15039
|
{
|
|
@@ -15610,7 +15585,6 @@
|
|
|
15610
15585
|
"default": "false",
|
|
15611
15586
|
"attribute": "required",
|
|
15612
15587
|
"reflects": true,
|
|
15613
|
-
"relevantWhen": "!noValidate",
|
|
15614
15588
|
"category": "behavior"
|
|
15615
15589
|
},
|
|
15616
15590
|
{
|
|
@@ -15680,7 +15654,6 @@
|
|
|
15680
15654
|
},
|
|
15681
15655
|
"description": "Sets one error message for every kind of validation error. When set, it replaces the messages from\n`error` and every other `setCustomValidity*` property.",
|
|
15682
15656
|
"attribute": "setcustomvalidity",
|
|
15683
|
-
"relevantWhen": "!noValidate",
|
|
15684
15657
|
"category": "behavior"
|
|
15685
15658
|
},
|
|
15686
15659
|
{
|
|
@@ -15692,7 +15665,6 @@
|
|
|
15692
15665
|
},
|
|
15693
15666
|
"description": "Sets the error message for `validity=\"badInput\"`. Does not currently change any message,\nbecause the input never reports `badInput`.",
|
|
15694
15667
|
"attribute": "setcustomvaliditybadinput",
|
|
15695
|
-
"relevantWhen": "!noValidate",
|
|
15696
15668
|
"category": "behavior"
|
|
15697
15669
|
},
|
|
15698
15670
|
{
|
|
@@ -15704,7 +15676,6 @@
|
|
|
15704
15676
|
},
|
|
15705
15677
|
"description": "Sets the error message shown while the `error` attribute is set, in place of the `error` value.",
|
|
15706
15678
|
"attribute": "setcustomvaliditycustomerror",
|
|
15707
|
-
"relevantWhen": "!noValidate",
|
|
15708
15679
|
"category": "behavior"
|
|
15709
15680
|
},
|
|
15710
15681
|
{
|
|
@@ -15717,7 +15688,6 @@
|
|
|
15717
15688
|
"description": "Sets the error message shown when the value doesn't fit its `type`, such as a badly formed email address,\nan incomplete card number, or an incomplete date. When not set, `email`, `credit-card`, and most `date` inputs use a built-in message.",
|
|
15718
15689
|
"default": "undefined",
|
|
15719
15690
|
"attribute": "setcustomvalidityfortype",
|
|
15720
|
-
"relevantWhen": "!noValidate",
|
|
15721
15691
|
"category": "behavior"
|
|
15722
15692
|
},
|
|
15723
15693
|
{
|
|
@@ -15729,7 +15699,6 @@
|
|
|
15729
15699
|
},
|
|
15730
15700
|
"description": "Sets the error message shown when the value doesn't match `pattern`, or when a date isn't a real calendar date.\nFor `pattern`, it does not currently work when set only as a property, so set the attribute instead.",
|
|
15731
15701
|
"attribute": "setcustomvaliditypatternmismatch",
|
|
15732
|
-
"relevantWhen": "!noValidate",
|
|
15733
15702
|
"category": "behavior"
|
|
15734
15703
|
},
|
|
15735
15704
|
{
|
|
@@ -15741,7 +15710,6 @@
|
|
|
15741
15710
|
},
|
|
15742
15711
|
"description": "Sets the error message shown when the value is above `max`.",
|
|
15743
15712
|
"attribute": "setcustomvalidityrangeoverflow",
|
|
15744
|
-
"relevantWhen": "!noValidate",
|
|
15745
15713
|
"category": "behavior"
|
|
15746
15714
|
},
|
|
15747
15715
|
{
|
|
@@ -15753,7 +15721,6 @@
|
|
|
15753
15721
|
},
|
|
15754
15722
|
"description": "Sets the error message shown when the value is below `min`.",
|
|
15755
15723
|
"attribute": "setcustomvalidityrangeunderflow",
|
|
15756
|
-
"relevantWhen": "!noValidate",
|
|
15757
15724
|
"category": "behavior"
|
|
15758
15725
|
},
|
|
15759
15726
|
{
|
|
@@ -15765,7 +15732,6 @@
|
|
|
15765
15732
|
},
|
|
15766
15733
|
"description": "Sets the error message shown when the value is longer than `maxlength`.\nDoes not currently work when set only as a property, so set the attribute instead.",
|
|
15767
15734
|
"attribute": "setcustomvaliditytoolong",
|
|
15768
|
-
"relevantWhen": "!noValidate",
|
|
15769
15735
|
"category": "behavior"
|
|
15770
15736
|
},
|
|
15771
15737
|
{
|
|
@@ -15777,7 +15743,6 @@
|
|
|
15777
15743
|
},
|
|
15778
15744
|
"description": "Sets the error message shown when the value is shorter than `minlength`.\nDoes not currently work when set only as a property, so set the attribute instead.",
|
|
15779
15745
|
"attribute": "setcustomvaliditytooshort",
|
|
15780
|
-
"relevantWhen": "!noValidate",
|
|
15781
15746
|
"category": "behavior"
|
|
15782
15747
|
},
|
|
15783
15748
|
{
|
|
@@ -15789,7 +15754,6 @@
|
|
|
15789
15754
|
},
|
|
15790
15755
|
"description": "Sets the error message shown when a `required` input is left empty.",
|
|
15791
15756
|
"attribute": "setcustomvalidityvaluemissing",
|
|
15792
|
-
"relevantWhen": "!noValidate",
|
|
15793
15757
|
"category": "behavior"
|
|
15794
15758
|
},
|
|
15795
15759
|
{
|
|
@@ -16135,7 +16099,6 @@
|
|
|
16135
16099
|
},
|
|
16136
16100
|
"description": "Does not currently change any message. To set the error message for an invalid email address,\nuse `setCustomValidityForType`.",
|
|
16137
16101
|
"fieldName": "customValidityTypeEmail",
|
|
16138
|
-
"relevantWhen": "!noValidate",
|
|
16139
16102
|
"category": "behavior"
|
|
16140
16103
|
},
|
|
16141
16104
|
{
|
|
@@ -16346,7 +16309,6 @@
|
|
|
16346
16309
|
"description": "Makes the input invalid when it's left empty, and removes the \" (optional)\" text after the label.\nUse `setCustomValidityValueMissing` to set the error message.",
|
|
16347
16310
|
"default": "false",
|
|
16348
16311
|
"fieldName": "required",
|
|
16349
|
-
"relevantWhen": "!noValidate",
|
|
16350
16312
|
"category": "behavior"
|
|
16351
16313
|
},
|
|
16352
16314
|
{
|
|
@@ -16356,7 +16318,6 @@
|
|
|
16356
16318
|
},
|
|
16357
16319
|
"description": "Sets one error message for every kind of validation error. When set, it replaces the messages from\n`error` and every other `setCustomValidity*` property.",
|
|
16358
16320
|
"fieldName": "setCustomValidity",
|
|
16359
|
-
"relevantWhen": "!noValidate",
|
|
16360
16321
|
"category": "behavior"
|
|
16361
16322
|
},
|
|
16362
16323
|
{
|
|
@@ -16366,7 +16327,6 @@
|
|
|
16366
16327
|
},
|
|
16367
16328
|
"description": "Sets the error message for `validity=\"badInput\"`. Does not currently change any message,\nbecause the input never reports `badInput`.",
|
|
16368
16329
|
"fieldName": "setCustomValidityBadInput",
|
|
16369
|
-
"relevantWhen": "!noValidate",
|
|
16370
16330
|
"category": "behavior"
|
|
16371
16331
|
},
|
|
16372
16332
|
{
|
|
@@ -16376,7 +16336,6 @@
|
|
|
16376
16336
|
},
|
|
16377
16337
|
"description": "Sets the error message shown while the `error` attribute is set, in place of the `error` value.",
|
|
16378
16338
|
"fieldName": "setCustomValidityCustomError",
|
|
16379
|
-
"relevantWhen": "!noValidate",
|
|
16380
16339
|
"category": "behavior"
|
|
16381
16340
|
},
|
|
16382
16341
|
{
|
|
@@ -16387,7 +16346,6 @@
|
|
|
16387
16346
|
"description": "Sets the error message shown when the value doesn't fit its `type`, such as a badly formed email address,\nan incomplete card number, or an incomplete date. When not set, `email`, `credit-card`, and most `date` inputs use a built-in message.",
|
|
16388
16347
|
"default": "undefined",
|
|
16389
16348
|
"fieldName": "setCustomValidityForType",
|
|
16390
|
-
"relevantWhen": "!noValidate",
|
|
16391
16349
|
"category": "behavior"
|
|
16392
16350
|
},
|
|
16393
16351
|
{
|
|
@@ -16397,7 +16355,6 @@
|
|
|
16397
16355
|
},
|
|
16398
16356
|
"description": "Sets the error message shown when the value doesn't match `pattern`, or when a date isn't a real calendar date.\nFor `pattern`, it does not currently work when set only as a property, so set the attribute instead.",
|
|
16399
16357
|
"fieldName": "setCustomValidityPatternMismatch",
|
|
16400
|
-
"relevantWhen": "!noValidate",
|
|
16401
16358
|
"category": "behavior"
|
|
16402
16359
|
},
|
|
16403
16360
|
{
|
|
@@ -16407,7 +16364,6 @@
|
|
|
16407
16364
|
},
|
|
16408
16365
|
"description": "Sets the error message shown when the value is above `max`.",
|
|
16409
16366
|
"fieldName": "setCustomValidityRangeOverflow",
|
|
16410
|
-
"relevantWhen": "!noValidate",
|
|
16411
16367
|
"category": "behavior"
|
|
16412
16368
|
},
|
|
16413
16369
|
{
|
|
@@ -16417,7 +16373,6 @@
|
|
|
16417
16373
|
},
|
|
16418
16374
|
"description": "Sets the error message shown when the value is below `min`.",
|
|
16419
16375
|
"fieldName": "setCustomValidityRangeUnderflow",
|
|
16420
|
-
"relevantWhen": "!noValidate",
|
|
16421
16376
|
"category": "behavior"
|
|
16422
16377
|
},
|
|
16423
16378
|
{
|
|
@@ -16427,7 +16382,6 @@
|
|
|
16427
16382
|
},
|
|
16428
16383
|
"description": "Sets the error message shown when the value is longer than `maxlength`.\nDoes not currently work when set only as a property, so set the attribute instead.",
|
|
16429
16384
|
"fieldName": "setCustomValidityTooLong",
|
|
16430
|
-
"relevantWhen": "!noValidate",
|
|
16431
16385
|
"category": "behavior"
|
|
16432
16386
|
},
|
|
16433
16387
|
{
|
|
@@ -16437,7 +16391,6 @@
|
|
|
16437
16391
|
},
|
|
16438
16392
|
"description": "Sets the error message shown when the value is shorter than `minlength`.\nDoes not currently work when set only as a property, so set the attribute instead.",
|
|
16439
16393
|
"fieldName": "setCustomValidityTooShort",
|
|
16440
|
-
"relevantWhen": "!noValidate",
|
|
16441
16394
|
"category": "behavior"
|
|
16442
16395
|
},
|
|
16443
16396
|
{
|
|
@@ -16447,7 +16400,6 @@
|
|
|
16447
16400
|
},
|
|
16448
16401
|
"description": "Sets the error message shown when a `required` input is left empty.",
|
|
16449
16402
|
"fieldName": "setCustomValidityValueMissing",
|
|
16450
|
-
"relevantWhen": "!noValidate",
|
|
16451
16403
|
"category": "behavior"
|
|
16452
16404
|
},
|
|
16453
16405
|
{
|
|
@@ -17416,7 +17368,7 @@
|
|
|
17416
17368
|
"declarations": [
|
|
17417
17369
|
{
|
|
17418
17370
|
"kind": "class",
|
|
17419
|
-
"description": "A list of options that people choose from, used as the options list inside `auro-select` and `auro-combobox`.\n\n**Key capabilities**\n- **Multiple selection**: Set `multiselect` to let people select more than one option.\n- **Preset selection**: Set `value` to select the matching option when the menu renders.\n- **Match highlighting**: Set `matchword` to show the matching text in each option in bold.\n- **Loading state**: Set `loading` to show the `loadingIcon` and `loadingText` slots in place of the options.\n- **Grouped options**: Nest an `auro-menu` inside another to indent a group of options, while the outer menu keeps track of the selection.\n- **Disabled menu**: Set `disabled` to turn off every option without changing each option's own `disabled` setting
|
|
17371
|
+
"description": "A list of options that people choose from, used as the options list inside `auro-select` and `auro-combobox`.\n\n**Key capabilities**\n- **Multiple selection**: Set `multiselect` to let people select more than one option.\n- **Preset selection**: Set `value` to select the matching option when the menu renders.\n- **Match highlighting**: Set `matchword` to show the matching text in each option in bold.\n- **Loading state**: Set `loading` to show the `loadingIcon` and `loadingText` slots in place of the options.\n- **Grouped options**: Nest an `auro-menu` inside another to indent a group of options, while the outer menu keeps track of the selection.\n- **Disabled menu**: Set `disabled` to turn off every option without changing each option's own `disabled` setting.\n\n**Example**\n```html\n<auro-menu>\n <auro-menuoption value=\"stops\">Stops</auro-menuoption>\n <auro-menuoption value=\"price\">Price</auro-menuoption>\n</auro-menu>\n```",
|
|
17420
17372
|
"name": "AuroMenu",
|
|
17421
17373
|
"slots": [
|
|
17422
17374
|
{
|
|
@@ -17492,7 +17444,7 @@
|
|
|
17492
17444
|
"type": {
|
|
17493
17445
|
"text": "boolean"
|
|
17494
17446
|
},
|
|
17495
|
-
"description": "Turns off the whole menu. Every option is shown in a muted style and can't be highlighted or selected with the mouse or keyboard, but each option's own `disabled` setting stays unchanged.",
|
|
17447
|
+
"description": "Turns off the whole menu. Every option is shown in a muted style and can't be highlighted or selected with the mouse or keyboard, but each option's own `disabled` setting stays unchanged. A selected option in a nested menu doesn't currently switch to the muted style unless the nested menu is also disabled.",
|
|
17496
17448
|
"attribute": "disabled",
|
|
17497
17449
|
"reflects": true,
|
|
17498
17450
|
"category": "ui"
|
|
@@ -17993,7 +17945,7 @@
|
|
|
17993
17945
|
"type": {
|
|
17994
17946
|
"text": "'box' | 'pill' | 'snowflake'"
|
|
17995
17947
|
},
|
|
17996
|
-
"description": "Sets the corner shape of every option in the menu. `box`
|
|
17948
|
+
"description": "Sets the corner shape of every option in the menu. `box` and `snowflake` have square corners, and `pill` has fully rounded ends. An option's own `shape` overrides it.",
|
|
17997
17949
|
"default": "'box'",
|
|
17998
17950
|
"attribute": "shape",
|
|
17999
17951
|
"reflects": true,
|
|
@@ -18153,7 +18105,7 @@
|
|
|
18153
18105
|
"type": {
|
|
18154
18106
|
"text": "boolean"
|
|
18155
18107
|
},
|
|
18156
|
-
"description": "Turns off the whole menu. Every option is shown in a muted style and can't be highlighted or selected with the mouse or keyboard, but each option's own `disabled` setting stays unchanged.",
|
|
18108
|
+
"description": "Turns off the whole menu. Every option is shown in a muted style and can't be highlighted or selected with the mouse or keyboard, but each option's own `disabled` setting stays unchanged. A selected option in a nested menu doesn't currently switch to the muted style unless the nested menu is also disabled.",
|
|
18157
18109
|
"fieldName": "disabled",
|
|
18158
18110
|
"category": "ui"
|
|
18159
18111
|
},
|
|
@@ -18224,7 +18176,7 @@
|
|
|
18224
18176
|
"type": {
|
|
18225
18177
|
"text": "'box' | 'pill' | 'snowflake'"
|
|
18226
18178
|
},
|
|
18227
|
-
"description": "Sets the corner shape of every option in the menu. `box`
|
|
18179
|
+
"description": "Sets the corner shape of every option in the menu. `box` and `snowflake` have square corners, and `pill` has fully rounded ends. An option's own `shape` overrides it.",
|
|
18228
18180
|
"default": "'box'",
|
|
18229
18181
|
"fieldName": "shape",
|
|
18230
18182
|
"category": "ui"
|
|
@@ -18276,7 +18228,7 @@
|
|
|
18276
18228
|
"declarations": [
|
|
18277
18229
|
{
|
|
18278
18230
|
"kind": "class",
|
|
18279
|
-
"description": "One option in an `auro-menu` list, which people can highlight and select.\n\n**Key capabilities**\n- **Disabled option**: Set `disabled` to show the option in a muted style and stop it from being selected.\n- **Rows that can't be selected**: Set `static` to show a row, such as a section heading, that the arrow keys skip.\n- **Custom actions**: Set `event` to have the menu fire a named event instead of selecting the option.\n- **Unchanged text**: Set `persistent` to keep the option's text as written when the menu highlights matching text
|
|
18231
|
+
"description": "One option in an `auro-menu` list, which people can highlight and select.\n\n**Key capabilities**\n- **Disabled option**: Set `disabled` to show the option in a muted style and stop it from being selected.\n- **Rows that can't be selected**: Set `static` to show a row, such as a section heading, that the arrow keys skip.\n- **Custom actions**: Set `event` to have the menu fire a named event instead of selecting the option.\n- **Unchanged text**: Set `persistent` to keep the option's text as written when the menu highlights matching text.\n\n**Example**\n```html\n<auro-menu>\n <auro-menuoption value=\"stops\">Stops</auro-menuoption>\n</auro-menu>\n```",
|
|
18280
18232
|
"name": "AuroMenuOption",
|
|
18281
18233
|
"slots": [
|
|
18282
18234
|
{
|
|
@@ -18543,7 +18495,7 @@
|
|
|
18543
18495
|
"type": {
|
|
18544
18496
|
"text": "string"
|
|
18545
18497
|
},
|
|
18546
|
-
"description": "Sets the value that identifies this option, such as `stops`. The menu's `value` becomes this value when the option is selected.",
|
|
18498
|
+
"description": "Sets the value that identifies this option, such as `stops`. The menu's `value` becomes this value when the option is selected, or includes it in multi-select mode.",
|
|
18547
18499
|
"attribute": "value",
|
|
18548
18500
|
"reflects": true,
|
|
18549
18501
|
"requiredWhen": "always",
|
|
@@ -18552,13 +18504,13 @@
|
|
|
18552
18504
|
{
|
|
18553
18505
|
"kind": "method",
|
|
18554
18506
|
"name": "attachTo",
|
|
18555
|
-
"description": "Deprecated: Remove calls to it; it has no effect.\
|
|
18507
|
+
"description": "Deprecated: Remove calls to it; it has no effect.\nIt connected the option to the menu, before the menu took back control of its options' state. It will be removed in a future major release.",
|
|
18556
18508
|
"deprecated": "Has no effect. Remove calls to it."
|
|
18557
18509
|
},
|
|
18558
18510
|
{
|
|
18559
18511
|
"kind": "method",
|
|
18560
18512
|
"name": "handleMenuChange",
|
|
18561
|
-
"description": "Deprecated: Remove calls to it; it has no effect.\
|
|
18513
|
+
"description": "Deprecated: Remove calls to it; it has no effect.\nIt updated the option when the menu changed, before the menu took back control of its options' state. It will be removed in a future major release.",
|
|
18562
18514
|
"deprecated": "Has no effect. Remove calls to it."
|
|
18563
18515
|
},
|
|
18564
18516
|
{
|
|
@@ -18727,7 +18679,7 @@
|
|
|
18727
18679
|
"type": {
|
|
18728
18680
|
"text": "string"
|
|
18729
18681
|
},
|
|
18730
|
-
"description": "Sets the value that identifies this option, such as `stops`. The menu's `value` becomes this value when the option is selected.",
|
|
18682
|
+
"description": "Sets the value that identifies this option, such as `stops`. The menu's `value` becomes this value when the option is selected, or includes it in multi-select mode.",
|
|
18731
18683
|
"fieldName": "value",
|
|
18732
18684
|
"requiredWhen": "always",
|
|
18733
18685
|
"category": "behavior"
|
|
@@ -20813,7 +20765,7 @@
|
|
|
20813
20765
|
}
|
|
20814
20766
|
}
|
|
20815
20767
|
],
|
|
20816
|
-
"description": "Selects the menu option whose value matches, as setting `value` does.\nA value that matches no option, or matches
|
|
20768
|
+
"description": "Selects the menu option whose value matches, as setting `value` does.\nA value that matches no option, or matches only `disabled` or `static` options, clears `value` and `optionSelected`; `hidden` options can still be selected."
|
|
20817
20769
|
},
|
|
20818
20770
|
{
|
|
20819
20771
|
"kind": "field",
|
|
@@ -21018,7 +20970,7 @@
|
|
|
21018
20970
|
"type": {
|
|
21019
20971
|
"text": "string"
|
|
21020
20972
|
},
|
|
21021
|
-
"description": "Sets the selected option by its value, such as `price`. In `multiSelect` mode, it's a JSON array string, such as `[\"stops\",\"price\"]`.\nA value that matches no option, or matches
|
|
20973
|
+
"description": "Sets the selected option by its value, such as `price`. In `multiSelect` mode, it's a JSON array string, such as `[\"stops\",\"price\"]`.\nA value that matches no option, or matches only `disabled` or `static` options, clears both `value` and `optionSelected`; `hidden` options can still be selected by value.",
|
|
21022
20974
|
"attribute": "value",
|
|
21023
20975
|
"reflects": true,
|
|
21024
20976
|
"category": "behavior"
|
|
@@ -21351,7 +21303,7 @@
|
|
|
21351
21303
|
"type": {
|
|
21352
21304
|
"text": "string"
|
|
21353
21305
|
},
|
|
21354
|
-
"description": "Sets the selected option by its value, such as `price`. In `multiSelect` mode, it's a JSON array string, such as `[\"stops\",\"price\"]`.\nA value that matches no option, or matches
|
|
21306
|
+
"description": "Sets the selected option by its value, such as `price`. In `multiSelect` mode, it's a JSON array string, such as `[\"stops\",\"price\"]`.\nA value that matches no option, or matches only `disabled` or `static` options, clears both `value` and `optionSelected`; `hidden` options can still be selected by value.",
|
|
21355
21307
|
"fieldName": "value",
|
|
21356
21308
|
"category": "behavior"
|
|
21357
21309
|
},
|
|
@@ -21510,5 +21462,5 @@
|
|
|
21510
21462
|
]
|
|
21511
21463
|
}
|
|
21512
21464
|
],
|
|
21513
|
-
"package": "@aurodesignsystem-dev/auro-formkit@0.0.0-pr1628.
|
|
21465
|
+
"package": "@aurodesignsystem-dev/auro-formkit@0.0.0-pr1628.13"
|
|
21514
21466
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aurodesignsystem-dev/auro-formkit",
|
|
3
|
-
"version": "0.0.0-pr1628.
|
|
3
|
+
"version": "0.0.0-pr1628.13",
|
|
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": {
|