@aurodesignsystem-dev/auro-formkit 0.0.0-pr1594.2 → 0.0.0-pr1595.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.
- package/components/bibtemplate/dist/auro-bibtemplate.d.ts +11 -0
- package/components/bibtemplate/dist/index.js +13 -0
- package/components/bibtemplate/dist/registered.js +13 -0
- package/components/checkbox/demo/api.md +17 -11
- package/components/checkbox/demo/customize.min.js +23 -6
- package/components/checkbox/demo/getting-started.min.js +23 -6
- package/components/checkbox/demo/index.min.js +23 -6
- package/components/checkbox/dist/auro-checkbox-group.d.ts +8 -0
- package/components/checkbox/dist/auro-checkbox.d.ts +4 -0
- package/components/checkbox/dist/index.js +23 -6
- package/components/checkbox/dist/registered.js +23 -6
- package/components/combobox/demo/api.md +24 -16
- package/components/combobox/demo/customize.min.js +405 -121
- package/components/combobox/demo/getting-started.min.js +405 -121
- package/components/combobox/demo/index.min.js +405 -121
- package/components/combobox/dist/auro-combobox.d.ts +29 -0
- package/components/combobox/dist/index.js +320 -107
- package/components/combobox/dist/registered.js +320 -107
- package/components/counter/demo/api.md +33 -15
- package/components/counter/demo/customize.min.js +201 -64
- package/components/counter/demo/index.min.js +201 -64
- package/components/counter/dist/auro-counter-button.d.ts +4 -0
- package/components/counter/dist/auro-counter-group.d.ts +23 -0
- package/components/counter/dist/auro-counter.d.ts +7 -0
- package/components/counter/dist/index.js +201 -64
- package/components/counter/dist/registered.js +201 -64
- package/components/datepicker/demo/api.md +55 -49
- package/components/datepicker/demo/customize.min.js +483 -131
- package/components/datepicker/demo/index.min.js +483 -131
- package/components/datepicker/dist/auro-calendar-cell.d.ts +55 -0
- package/components/datepicker/dist/auro-calendar-month.d.ts +9 -1
- package/components/datepicker/dist/auro-calendar.d.ts +16 -0
- package/components/datepicker/dist/auro-datepicker.d.ts +63 -10
- package/components/datepicker/dist/index.js +483 -131
- package/components/datepicker/dist/registered.js +483 -131
- package/components/dropdown/demo/api.md +25 -22
- package/components/dropdown/demo/customize.min.js +106 -37
- package/components/dropdown/demo/getting-started.min.js +232 -79
- package/components/dropdown/demo/index.min.js +106 -37
- package/components/dropdown/dist/auro-dropdown.d.ts +33 -4
- package/components/dropdown/dist/auro-dropdownBib.d.ts +17 -5
- package/components/dropdown/dist/index.js +106 -37
- package/components/dropdown/dist/registered.js +106 -37
- package/components/form/demo/customize.min.js +1448 -455
- package/components/form/demo/getting-started.min.js +1448 -455
- package/components/form/demo/index.min.js +1448 -455
- package/components/form/demo/registerDemoDeps.min.js +1448 -455
- package/components/helptext/dist/auro-helptext.d.ts +8 -7
- package/components/helptext/dist/index.js +7 -2
- package/components/helptext/dist/registered.js +7 -2
- package/components/input/demo/api.md +30 -30
- package/components/input/demo/customize.min.js +126 -42
- package/components/input/demo/getting-started.min.js +126 -42
- package/components/input/demo/index.min.js +126 -42
- package/components/input/dist/base-input.d.ts +67 -22
- package/components/input/dist/index.js +126 -42
- package/components/input/dist/registered.js +126 -42
- package/components/layoutElement/dist/auroElement.d.ts +10 -17
- package/components/layoutElement/dist/index.js +20 -20
- package/components/layoutElement/dist/registered.js +20 -20
- package/components/menu/demo/api.md +30 -27
- package/components/menu/demo/index.min.js +105 -34
- package/components/menu/dist/auro-menu.d.ts +24 -13
- package/components/menu/dist/auro-menuoption.d.ts +26 -0
- package/components/menu/dist/index.js +105 -34
- package/components/menu/dist/registered.js +105 -34
- package/components/radio/demo/api.md +8 -7
- package/components/radio/demo/customize.min.js +20 -7
- package/components/radio/demo/getting-started.min.js +20 -7
- package/components/radio/demo/index.min.js +20 -7
- package/components/radio/dist/auro-radio-group.d.ts +7 -0
- package/components/radio/dist/auro-radio.d.ts +1 -0
- package/components/radio/dist/index.js +20 -7
- package/components/radio/dist/registered.js +20 -7
- package/components/select/demo/api.md +18 -15
- package/components/select/demo/customize.min.js +255 -78
- package/components/select/demo/getting-started.min.js +255 -78
- package/components/select/demo/index.min.js +255 -78
- package/components/select/dist/auro-select.d.ts +17 -0
- package/components/select/dist/index.js +170 -64
- package/components/select/dist/registered.js +170 -64
- package/custom-elements.json +2573 -2680
- package/package.json +1 -1
|
@@ -4587,37 +4587,37 @@ class AuroFormValidation {
|
|
|
4587
4587
|
}
|
|
4588
4588
|
}
|
|
4589
4589
|
|
|
4590
|
+
/**
|
|
4591
|
+
* AuroElement is the shared base class for layout-aware Auro form components.
|
|
4592
|
+
*
|
|
4593
|
+
* It defines the common `layout`, `shape`, `size`, and `ondark` reactive
|
|
4594
|
+
* properties and the architecture helpers (`renderLayout`, `resetShapeClasses`,
|
|
4595
|
+
* `resetLayoutClasses`) that subclasses use to render a chosen layout and apply
|
|
4596
|
+
* the matching `shape-*` / `layout-*` wrapper classes. Subclasses supply their
|
|
4597
|
+
* own default and valid value set for `layout`, `shape`, and `size`.
|
|
4598
|
+
*/
|
|
4590
4599
|
class AuroElement extends i$3 {
|
|
4591
4600
|
static get properties() {
|
|
4592
4601
|
return {
|
|
4593
4602
|
|
|
4594
4603
|
/**
|
|
4595
|
-
*
|
|
4596
|
-
* @default {'default'}
|
|
4604
|
+
* When true, renders the component styled for use on a dark background.
|
|
4597
4605
|
*/
|
|
4598
|
-
layout: {
|
|
4599
|
-
type: String,
|
|
4600
|
-
attribute: "layout",
|
|
4601
|
-
reflect: true
|
|
4602
|
-
},
|
|
4603
|
-
|
|
4604
|
-
shape: {
|
|
4605
|
-
type: String,
|
|
4606
|
-
attribute: "shape",
|
|
4607
|
-
reflect: true
|
|
4608
|
-
},
|
|
4609
|
-
|
|
4610
|
-
size: {
|
|
4611
|
-
type: String,
|
|
4612
|
-
attribute: "size",
|
|
4613
|
-
reflect: true
|
|
4614
|
-
},
|
|
4615
|
-
|
|
4616
4606
|
onDark: {
|
|
4617
4607
|
type: Boolean,
|
|
4618
4608
|
attribute: "ondark",
|
|
4619
4609
|
reflect: true
|
|
4620
4610
|
}
|
|
4611
|
+
|
|
4612
|
+
// NOTE: `layout`, `shape`, and `size` are intentionally NOT declared here.
|
|
4613
|
+
// Their valid value sets differ per component, and the CEM analyzer roots
|
|
4614
|
+
// an inherited property's `type` in the class that declares it — a base
|
|
4615
|
+
// declaration would force every subclass's `@type` to be discarded and
|
|
4616
|
+
// emitted as plain `string`. Each subclass declares its own `layout` /
|
|
4617
|
+
// `shape` / `size` with an exact `@type` union instead. AuroElement still
|
|
4618
|
+
// consumes `this.layout` / `this.shape` / `this.size` in its render and
|
|
4619
|
+
// architecture helpers below (subclasses guarantee the reactive props).
|
|
4620
|
+
// See AlaskaAirlines/discussions#653.
|
|
4621
4621
|
};
|
|
4622
4622
|
}
|
|
4623
4623
|
|
|
@@ -10584,6 +10584,7 @@ class DomHandler {
|
|
|
10584
10584
|
* Base class for auro-input component that provides core input functionality.
|
|
10585
10585
|
* @event input - Event fires when the value of an `auro-input` has been changed.
|
|
10586
10586
|
* @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` value has changed.
|
|
10587
|
+
* @event auroInput-validityChange - Notifies that the `validity` state of the input has changed.
|
|
10587
10588
|
*/
|
|
10588
10589
|
class BaseInput extends AuroElement {
|
|
10589
10590
|
|
|
@@ -10623,6 +10624,8 @@ class BaseInput extends AuroElement {
|
|
|
10623
10624
|
"credit-card",
|
|
10624
10625
|
"tel"
|
|
10625
10626
|
];
|
|
10627
|
+
|
|
10628
|
+
/** @type {'default' | 'inverse'} */
|
|
10626
10629
|
this.appearance = "default";
|
|
10627
10630
|
|
|
10628
10631
|
/** @private */
|
|
@@ -10656,7 +10659,6 @@ class BaseInput extends AuroElement {
|
|
|
10656
10659
|
|
|
10657
10660
|
/** @private */
|
|
10658
10661
|
this.label = 'Input label is undefined';
|
|
10659
|
-
this.layout = 'classic';
|
|
10660
10662
|
this.locale = 'en-US';
|
|
10661
10663
|
this._format = undefined;
|
|
10662
10664
|
|
|
@@ -10678,11 +10680,9 @@ class BaseInput extends AuroElement {
|
|
|
10678
10680
|
"password",
|
|
10679
10681
|
"email"
|
|
10680
10682
|
];
|
|
10681
|
-
this.shape = 'classic';
|
|
10682
10683
|
|
|
10683
10684
|
/** @private */
|
|
10684
10685
|
this.showPassword = false;
|
|
10685
|
-
this.size = 'lg';
|
|
10686
10686
|
this.touched = false;
|
|
10687
10687
|
|
|
10688
10688
|
/** @private */
|
|
@@ -10700,6 +10700,24 @@ class BaseInput extends AuroElement {
|
|
|
10700
10700
|
/** @private */
|
|
10701
10701
|
this.validationCCLength = undefined;
|
|
10702
10702
|
this.value = undefined;
|
|
10703
|
+
|
|
10704
|
+
this.initializeArchitectureDefaults();
|
|
10705
|
+
}
|
|
10706
|
+
|
|
10707
|
+
/**
|
|
10708
|
+
* Sets the default `layout`, `shape`, and `size` values.
|
|
10709
|
+
*
|
|
10710
|
+
* These are assigned in a helper method rather than the constructor body so
|
|
10711
|
+
* the CEM analyzer keeps their `@type` string-literal unions (a literal
|
|
10712
|
+
* assignment in the constructor would make the analyzer infer `string` and
|
|
10713
|
+
* override the union — see AlaskaAirlines/discussions#653, gotcha 1).
|
|
10714
|
+
* @private
|
|
10715
|
+
* @returns {void}
|
|
10716
|
+
*/
|
|
10717
|
+
initializeArchitectureDefaults() {
|
|
10718
|
+
this.layout = 'classic';
|
|
10719
|
+
this.shape = 'classic';
|
|
10720
|
+
this.size = 'lg';
|
|
10703
10721
|
}
|
|
10704
10722
|
|
|
10705
10723
|
// function to define props used within the scope of this component
|
|
@@ -10707,11 +10725,45 @@ class BaseInput extends AuroElement {
|
|
|
10707
10725
|
return {
|
|
10708
10726
|
...super.properties,
|
|
10709
10727
|
|
|
10728
|
+
/**
|
|
10729
|
+
* Sets the layout variant of the input.
|
|
10730
|
+
* @type {'classic' | 'emphasized' | 'emphasized-left' | 'emphasized-right' | 'snowflake' | 'snowflake-left' | 'snowflake-right'}
|
|
10731
|
+
* @default 'classic'
|
|
10732
|
+
*/
|
|
10733
|
+
layout: {
|
|
10734
|
+
type: String,
|
|
10735
|
+
attribute: "layout",
|
|
10736
|
+
reflect: true
|
|
10737
|
+
},
|
|
10738
|
+
|
|
10739
|
+
/**
|
|
10740
|
+
* Sets the shape of the input.
|
|
10741
|
+
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
10742
|
+
* @default 'classic'
|
|
10743
|
+
*/
|
|
10744
|
+
shape: {
|
|
10745
|
+
type: String,
|
|
10746
|
+
attribute: "shape",
|
|
10747
|
+
reflect: true
|
|
10748
|
+
},
|
|
10749
|
+
|
|
10750
|
+
/**
|
|
10751
|
+
* Sets the size of the input.
|
|
10752
|
+
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
10753
|
+
* @default 'lg'
|
|
10754
|
+
*/
|
|
10755
|
+
size: {
|
|
10756
|
+
type: String,
|
|
10757
|
+
attribute: "size",
|
|
10758
|
+
reflect: true
|
|
10759
|
+
},
|
|
10760
|
+
|
|
10710
10761
|
/**
|
|
10711
10762
|
* The value for the role attribute.
|
|
10712
10763
|
*/
|
|
10713
10764
|
a11yRole: {
|
|
10714
10765
|
type: String,
|
|
10766
|
+
attribute: 'a11yrole',
|
|
10715
10767
|
reflect: true
|
|
10716
10768
|
},
|
|
10717
10769
|
|
|
@@ -10720,6 +10772,7 @@ class BaseInput extends AuroElement {
|
|
|
10720
10772
|
*/
|
|
10721
10773
|
a11yControls: {
|
|
10722
10774
|
type: String,
|
|
10775
|
+
attribute: 'a11ycontrols',
|
|
10723
10776
|
reflect: true
|
|
10724
10777
|
},
|
|
10725
10778
|
|
|
@@ -10728,6 +10781,7 @@ class BaseInput extends AuroElement {
|
|
|
10728
10781
|
*/
|
|
10729
10782
|
a11yExpanded: {
|
|
10730
10783
|
type: Boolean,
|
|
10784
|
+
attribute: 'a11yexpanded',
|
|
10731
10785
|
reflect: true
|
|
10732
10786
|
},
|
|
10733
10787
|
|
|
@@ -10737,6 +10791,7 @@ class BaseInput extends AuroElement {
|
|
|
10737
10791
|
*/
|
|
10738
10792
|
a11yActivedescendant: {
|
|
10739
10793
|
type: String,
|
|
10794
|
+
attribute: 'a11yactivedescendant',
|
|
10740
10795
|
reflect: true
|
|
10741
10796
|
},
|
|
10742
10797
|
|
|
@@ -10747,6 +10802,7 @@ class BaseInput extends AuroElement {
|
|
|
10747
10802
|
*/
|
|
10748
10803
|
activeLabel: {
|
|
10749
10804
|
type: Boolean,
|
|
10805
|
+
attribute: 'activelabel',
|
|
10750
10806
|
reflect: true
|
|
10751
10807
|
},
|
|
10752
10808
|
|
|
@@ -10761,7 +10817,8 @@ class BaseInput extends AuroElement {
|
|
|
10761
10817
|
},
|
|
10762
10818
|
|
|
10763
10819
|
/**
|
|
10764
|
-
* An enumerated attribute that controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
10820
|
+
* An enumerated attribute that controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
10821
|
+
* @type {'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters'}
|
|
10765
10822
|
*/
|
|
10766
10823
|
autocapitalize: {
|
|
10767
10824
|
type: String,
|
|
@@ -10778,6 +10835,7 @@ class BaseInput extends AuroElement {
|
|
|
10778
10835
|
|
|
10779
10836
|
/**
|
|
10780
10837
|
* When set to `off`, stops iOS from auto-correcting words when typed into a text box.
|
|
10838
|
+
* @type {'on' | 'off'}
|
|
10781
10839
|
*/
|
|
10782
10840
|
autocorrect: {
|
|
10783
10841
|
type: String,
|
|
@@ -10788,7 +10846,8 @@ class BaseInput extends AuroElement {
|
|
|
10788
10846
|
* Custom help text message for email type validity.
|
|
10789
10847
|
*/
|
|
10790
10848
|
customValidityTypeEmail: {
|
|
10791
|
-
type: String
|
|
10849
|
+
type: String,
|
|
10850
|
+
attribute: 'customvaliditytypeemail'
|
|
10792
10851
|
},
|
|
10793
10852
|
|
|
10794
10853
|
/**
|
|
@@ -10804,6 +10863,7 @@ class BaseInput extends AuroElement {
|
|
|
10804
10863
|
*/
|
|
10805
10864
|
dvInputOnly: {
|
|
10806
10865
|
type: Boolean,
|
|
10866
|
+
attribute: 'dvinputonly',
|
|
10807
10867
|
reflect: true
|
|
10808
10868
|
},
|
|
10809
10869
|
|
|
@@ -10819,7 +10879,8 @@ class BaseInput extends AuroElement {
|
|
|
10819
10879
|
* Contains the help text message for the current validity error.
|
|
10820
10880
|
*/
|
|
10821
10881
|
errorMessage: {
|
|
10822
|
-
type: String
|
|
10882
|
+
type: String,
|
|
10883
|
+
attribute: 'errormessage'
|
|
10823
10884
|
},
|
|
10824
10885
|
|
|
10825
10886
|
/**
|
|
@@ -10855,6 +10916,7 @@ class BaseInput extends AuroElement {
|
|
|
10855
10916
|
*/
|
|
10856
10917
|
hideLabelVisually: {
|
|
10857
10918
|
type: Boolean,
|
|
10919
|
+
attribute: 'hidelabelvisually',
|
|
10858
10920
|
reflect: true
|
|
10859
10921
|
},
|
|
10860
10922
|
|
|
@@ -10921,6 +10983,7 @@ class BaseInput extends AuroElement {
|
|
|
10921
10983
|
*/
|
|
10922
10984
|
maxLength: {
|
|
10923
10985
|
type: Number,
|
|
10986
|
+
attribute: 'maxlength',
|
|
10924
10987
|
reflect: true
|
|
10925
10988
|
},
|
|
10926
10989
|
|
|
@@ -10936,6 +10999,7 @@ class BaseInput extends AuroElement {
|
|
|
10936
10999
|
*/
|
|
10937
11000
|
minLength: {
|
|
10938
11001
|
type: Number,
|
|
11002
|
+
attribute: 'minlength',
|
|
10939
11003
|
reflect: true
|
|
10940
11004
|
},
|
|
10941
11005
|
|
|
@@ -10961,6 +11025,7 @@ class BaseInput extends AuroElement {
|
|
|
10961
11025
|
*/
|
|
10962
11026
|
noValidate: {
|
|
10963
11027
|
type: Boolean,
|
|
11028
|
+
attribute: 'novalidate',
|
|
10964
11029
|
reflect: true
|
|
10965
11030
|
},
|
|
10966
11031
|
|
|
@@ -10969,6 +11034,7 @@ class BaseInput extends AuroElement {
|
|
|
10969
11034
|
*/
|
|
10970
11035
|
onDark: {
|
|
10971
11036
|
type: Boolean,
|
|
11037
|
+
attribute: 'ondark',
|
|
10972
11038
|
reflect: true
|
|
10973
11039
|
},
|
|
10974
11040
|
|
|
@@ -11008,77 +11074,88 @@ class BaseInput extends AuroElement {
|
|
|
11008
11074
|
* Sets a custom help text message to display for all validityStates.
|
|
11009
11075
|
*/
|
|
11010
11076
|
setCustomValidity: {
|
|
11011
|
-
type: String
|
|
11077
|
+
type: String,
|
|
11078
|
+
attribute: 'setcustomvalidity'
|
|
11012
11079
|
},
|
|
11013
11080
|
|
|
11014
11081
|
/**
|
|
11015
11082
|
* Custom help text message to display when validity = `badInput`.
|
|
11016
11083
|
*/
|
|
11017
11084
|
setCustomValidityBadInput: {
|
|
11018
|
-
type: String
|
|
11085
|
+
type: String,
|
|
11086
|
+
attribute: 'setcustomvaliditybadinput'
|
|
11019
11087
|
},
|
|
11020
11088
|
|
|
11021
11089
|
/**
|
|
11022
11090
|
* Custom help text message to display when validity = `customError`.
|
|
11023
11091
|
*/
|
|
11024
11092
|
setCustomValidityCustomError: {
|
|
11025
|
-
type: String
|
|
11093
|
+
type: String,
|
|
11094
|
+
attribute: 'setcustomvaliditycustomerror'
|
|
11026
11095
|
},
|
|
11027
11096
|
|
|
11028
11097
|
/**
|
|
11029
11098
|
* Custom help text message to display for the declared element `type` and type validity fails.
|
|
11030
11099
|
*/
|
|
11031
11100
|
setCustomValidityForType: {
|
|
11032
|
-
type: String
|
|
11101
|
+
type: String,
|
|
11102
|
+
attribute: 'setcustomvalidityfortype'
|
|
11033
11103
|
},
|
|
11034
11104
|
|
|
11035
11105
|
/**
|
|
11036
11106
|
* Custom help text message to display when validity = `patternMismatch`.
|
|
11037
11107
|
*/
|
|
11038
11108
|
setCustomValidityPatternMismatch: {
|
|
11039
|
-
type: String
|
|
11109
|
+
type: String,
|
|
11110
|
+
attribute: 'setcustomvaliditypatternmismatch'
|
|
11040
11111
|
},
|
|
11041
11112
|
|
|
11042
11113
|
/**
|
|
11043
11114
|
* Custom help text message to display when validity = `rangeOverflow`.
|
|
11044
11115
|
*/
|
|
11045
11116
|
setCustomValidityRangeOverflow: {
|
|
11046
|
-
type: String
|
|
11117
|
+
type: String,
|
|
11118
|
+
attribute: 'setcustomvalidityrangeoverflow'
|
|
11047
11119
|
},
|
|
11048
11120
|
|
|
11049
11121
|
/**
|
|
11050
11122
|
* Custom help text message to display when validity = `rangeUnderflow`.
|
|
11051
11123
|
*/
|
|
11052
11124
|
setCustomValidityRangeUnderflow: {
|
|
11053
|
-
type: String
|
|
11125
|
+
type: String,
|
|
11126
|
+
attribute: 'setcustomvalidityrangeunderflow'
|
|
11054
11127
|
},
|
|
11055
11128
|
|
|
11056
11129
|
/**
|
|
11057
11130
|
* Custom help text message to display when validity = `tooLong`.
|
|
11058
11131
|
*/
|
|
11059
11132
|
setCustomValidityTooLong: {
|
|
11060
|
-
type: String
|
|
11133
|
+
type: String,
|
|
11134
|
+
attribute: 'setcustomvaliditytoolong'
|
|
11061
11135
|
},
|
|
11062
11136
|
|
|
11063
11137
|
/**
|
|
11064
11138
|
* Custom help text message to display when validity = `tooShort`.
|
|
11065
11139
|
*/
|
|
11066
11140
|
setCustomValidityTooShort: {
|
|
11067
|
-
type: String
|
|
11141
|
+
type: String,
|
|
11142
|
+
attribute: 'setcustomvaliditytooshort'
|
|
11068
11143
|
},
|
|
11069
11144
|
|
|
11070
11145
|
/**
|
|
11071
11146
|
* Custom help text message to display when validity = `valueMissing`.
|
|
11072
11147
|
*/
|
|
11073
11148
|
setCustomValidityValueMissing: {
|
|
11074
|
-
type: String
|
|
11149
|
+
type: String,
|
|
11150
|
+
attribute: 'setcustomvalidityvaluemissing'
|
|
11075
11151
|
},
|
|
11076
11152
|
|
|
11077
11153
|
/**
|
|
11078
11154
|
* @ignore
|
|
11079
11155
|
*/
|
|
11080
11156
|
showPassword: {
|
|
11081
|
-
state: true
|
|
11157
|
+
state: true,
|
|
11158
|
+
attribute: false
|
|
11082
11159
|
},
|
|
11083
11160
|
|
|
11084
11161
|
/**
|
|
@@ -11090,7 +11167,8 @@ class BaseInput extends AuroElement {
|
|
|
11090
11167
|
},
|
|
11091
11168
|
|
|
11092
11169
|
/**
|
|
11093
|
-
* An enumerated attribute defines whether the element may be checked for spelling errors.
|
|
11170
|
+
* An enumerated attribute defines whether the element may be checked for spelling errors. When set to `false` the attribute `autocorrect` is set to `off` and `autocapitalize` is set to `none`.
|
|
11171
|
+
* @type {'true' | 'false'}
|
|
11094
11172
|
*/
|
|
11095
11173
|
spellcheck: {
|
|
11096
11174
|
type: String,
|
|
@@ -11121,7 +11199,8 @@ class BaseInput extends AuroElement {
|
|
|
11121
11199
|
* Sets validation mode to re-eval with each input.
|
|
11122
11200
|
*/
|
|
11123
11201
|
validateOnInput: {
|
|
11124
|
-
type: Boolean
|
|
11202
|
+
type: Boolean,
|
|
11203
|
+
attribute: 'validateoninput'
|
|
11125
11204
|
},
|
|
11126
11205
|
|
|
11127
11206
|
/**
|
|
@@ -12175,6 +12254,8 @@ class AuroHelpText extends i$3 {
|
|
|
12175
12254
|
super();
|
|
12176
12255
|
|
|
12177
12256
|
this.error = false;
|
|
12257
|
+
|
|
12258
|
+
/** @type {'default' | 'inverse'} */
|
|
12178
12259
|
this.appearance = "default";
|
|
12179
12260
|
this.onDark = false;
|
|
12180
12261
|
this.hasTextContent = false;
|
|
@@ -12195,8 +12276,8 @@ class AuroHelpText extends i$3 {
|
|
|
12195
12276
|
return {
|
|
12196
12277
|
|
|
12197
12278
|
/**
|
|
12198
|
-
*
|
|
12199
|
-
* @
|
|
12279
|
+
* The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
|
|
12280
|
+
* @type {'default' | 'inverse'}
|
|
12200
12281
|
* @default 'default'
|
|
12201
12282
|
*/
|
|
12202
12283
|
appearance: {
|
|
@@ -12209,6 +12290,7 @@ class AuroHelpText extends i$3 {
|
|
|
12209
12290
|
*/
|
|
12210
12291
|
slotNodes: {
|
|
12211
12292
|
type: Boolean,
|
|
12293
|
+
attribute: 'slotnodes',
|
|
12212
12294
|
},
|
|
12213
12295
|
|
|
12214
12296
|
/**
|
|
@@ -12216,6 +12298,7 @@ class AuroHelpText extends i$3 {
|
|
|
12216
12298
|
*/
|
|
12217
12299
|
hasTextContent: {
|
|
12218
12300
|
type: Boolean,
|
|
12301
|
+
attribute: 'hastextcontent',
|
|
12219
12302
|
},
|
|
12220
12303
|
|
|
12221
12304
|
/**
|
|
@@ -12231,6 +12314,7 @@ class AuroHelpText extends i$3 {
|
|
|
12231
12314
|
*/
|
|
12232
12315
|
onDark: {
|
|
12233
12316
|
type: Boolean,
|
|
12317
|
+
attribute: 'ondark',
|
|
12234
12318
|
reflect: true
|
|
12235
12319
|
}
|
|
12236
12320
|
};
|
|
@@ -12301,7 +12385,7 @@ class AuroHelpText extends i$3 {
|
|
|
12301
12385
|
}
|
|
12302
12386
|
}
|
|
12303
12387
|
|
|
12304
|
-
var formkitVersion = '
|
|
12388
|
+
var formkitVersion = '202608291822';
|
|
12305
12389
|
|
|
12306
12390
|
/**
|
|
12307
12391
|
* @license
|