@aurodesignsystem-dev/auro-formkit 0.0.0-pr1594.2 → 0.0.0-pr1595.1
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 +26 -18
- package/components/combobox/demo/customize.min.js +426 -126
- package/components/combobox/demo/getting-started.min.js +426 -126
- package/components/combobox/demo/index.min.js +426 -126
- package/components/combobox/dist/auro-combobox.d.ts +38 -21
- package/components/combobox/dist/index.js +338 -111
- package/components/combobox/dist/registered.js +338 -111
- package/components/counter/demo/api.md +34 -16
- package/components/counter/demo/customize.min.js +204 -64
- package/components/counter/demo/index.min.js +204 -64
- package/components/counter/dist/auro-counter-button.d.ts +4 -0
- package/components/counter/dist/auro-counter-group.d.ts +27 -4
- package/components/counter/dist/auro-counter.d.ts +7 -0
- package/components/counter/dist/index.js +204 -64
- package/components/counter/dist/registered.js +204 -64
- package/components/datepicker/demo/api.md +55 -49
- package/components/datepicker/demo/customize.min.js +515 -134
- package/components/datepicker/demo/index.min.js +515 -134
- package/components/datepicker/dist/auro-calendar-cell.d.ts +58 -4
- package/components/datepicker/dist/auro-calendar-month.d.ts +10 -4
- package/components/datepicker/dist/auro-calendar.d.ts +25 -6
- package/components/datepicker/dist/auro-datepicker.d.ts +70 -22
- package/components/datepicker/dist/index.js +515 -134
- package/components/datepicker/dist/registered.js +515 -134
- package/components/dropdown/demo/api.md +25 -22
- package/components/dropdown/demo/customize.min.js +107 -37
- package/components/dropdown/demo/getting-started.min.js +245 -82
- package/components/dropdown/demo/index.min.js +107 -37
- package/components/dropdown/dist/auro-dropdown.d.ts +34 -8
- package/components/dropdown/dist/auro-dropdownBib.d.ts +17 -5
- package/components/dropdown/dist/index.js +107 -37
- package/components/dropdown/dist/registered.js +107 -37
- package/components/form/demo/customize.min.js +1518 -466
- package/components/form/demo/getting-started.min.js +1518 -466
- package/components/form/demo/index.min.js +1518 -466
- package/components/form/demo/registerDemoDeps.min.js +1518 -466
- 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 +138 -45
- package/components/input/demo/getting-started.min.js +138 -45
- package/components/input/demo/index.min.js +138 -45
- package/components/input/dist/base-input.d.ts +79 -25
- package/components/input/dist/index.js +138 -45
- package/components/input/dist/registered.js +138 -45
- 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 +31 -27
- package/components/menu/demo/index.min.js +108 -35
- package/components/menu/dist/auro-menu.d.ts +26 -21
- package/components/menu/dist/auro-menuoption.d.ts +27 -1
- package/components/menu/dist/index.js +108 -35
- package/components/menu/dist/registered.js +108 -35
- package/components/radio/demo/api.md +8 -7
- package/components/radio/demo/customize.min.js +21 -7
- package/components/radio/demo/getting-started.min.js +21 -7
- package/components/radio/demo/index.min.js +21 -7
- package/components/radio/dist/auro-radio-group.d.ts +8 -3
- package/components/radio/dist/auro-radio.d.ts +1 -0
- package/components/radio/dist/index.js +21 -7
- package/components/radio/dist/registered.js +21 -7
- package/components/select/demo/api.md +18 -15
- package/components/select/demo/customize.min.js +259 -79
- package/components/select/demo/getting-started.min.js +259 -79
- package/components/select/demo/index.min.js +259 -79
- package/components/select/dist/auro-select.d.ts +17 -0
- package/components/select/dist/index.js +171 -64
- package/components/select/dist/registered.js +171 -64
- package/custom-elements.json +1189 -1336
- package/package.json +1 -1
|
@@ -4529,37 +4529,37 @@ class AuroFormValidation {
|
|
|
4529
4529
|
}
|
|
4530
4530
|
}
|
|
4531
4531
|
|
|
4532
|
+
/**
|
|
4533
|
+
* AuroElement is the shared base class for layout-aware Auro form components.
|
|
4534
|
+
*
|
|
4535
|
+
* It defines the common `layout`, `shape`, `size`, and `ondark` reactive
|
|
4536
|
+
* properties and the architecture helpers (`renderLayout`, `resetShapeClasses`,
|
|
4537
|
+
* `resetLayoutClasses`) that subclasses use to render a chosen layout and apply
|
|
4538
|
+
* the matching `shape-*` / `layout-*` wrapper classes. Subclasses supply their
|
|
4539
|
+
* own default and valid value set for `layout`, `shape`, and `size`.
|
|
4540
|
+
*/
|
|
4532
4541
|
class AuroElement extends LitElement {
|
|
4533
4542
|
static get properties() {
|
|
4534
4543
|
return {
|
|
4535
4544
|
|
|
4536
4545
|
/**
|
|
4537
|
-
*
|
|
4538
|
-
* @default {'default'}
|
|
4546
|
+
* When true, renders the component styled for use on a dark background.
|
|
4539
4547
|
*/
|
|
4540
|
-
layout: {
|
|
4541
|
-
type: String,
|
|
4542
|
-
attribute: "layout",
|
|
4543
|
-
reflect: true
|
|
4544
|
-
},
|
|
4545
|
-
|
|
4546
|
-
shape: {
|
|
4547
|
-
type: String,
|
|
4548
|
-
attribute: "shape",
|
|
4549
|
-
reflect: true
|
|
4550
|
-
},
|
|
4551
|
-
|
|
4552
|
-
size: {
|
|
4553
|
-
type: String,
|
|
4554
|
-
attribute: "size",
|
|
4555
|
-
reflect: true
|
|
4556
|
-
},
|
|
4557
|
-
|
|
4558
4548
|
onDark: {
|
|
4559
4549
|
type: Boolean,
|
|
4560
4550
|
attribute: "ondark",
|
|
4561
4551
|
reflect: true
|
|
4562
4552
|
}
|
|
4553
|
+
|
|
4554
|
+
// NOTE: `layout`, `shape`, and `size` are intentionally NOT declared here.
|
|
4555
|
+
// Their valid value sets differ per component, and the CEM analyzer roots
|
|
4556
|
+
// an inherited property's `type` in the class that declares it — a base
|
|
4557
|
+
// declaration would force every subclass's `@type` to be discarded and
|
|
4558
|
+
// emitted as plain `string`. Each subclass declares its own `layout` /
|
|
4559
|
+
// `shape` / `size` with an exact `@type` union instead. AuroElement still
|
|
4560
|
+
// consumes `this.layout` / `this.shape` / `this.size` in its render and
|
|
4561
|
+
// architecture helpers below (subclasses guarantee the reactive props).
|
|
4562
|
+
// See AlaskaAirlines/discussions#653.
|
|
4563
4563
|
};
|
|
4564
4564
|
}
|
|
4565
4565
|
|
|
@@ -10526,6 +10526,7 @@ class DomHandler {
|
|
|
10526
10526
|
* Base class for auro-input component that provides core input functionality.
|
|
10527
10527
|
* @event input - Event fires when the value of an `auro-input` has been changed.
|
|
10528
10528
|
* @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` value has changed.
|
|
10529
|
+
* @event auroInput-validityChange - Notifies that the `validity` state of the input has changed.
|
|
10529
10530
|
*/
|
|
10530
10531
|
class BaseInput extends AuroElement {
|
|
10531
10532
|
|
|
@@ -10556,7 +10557,10 @@ class BaseInput extends AuroElement {
|
|
|
10556
10557
|
// during its own update cycle sees a populated util instance.
|
|
10557
10558
|
this.activeLabel = false;
|
|
10558
10559
|
|
|
10559
|
-
/**
|
|
10560
|
+
/**
|
|
10561
|
+
* @private
|
|
10562
|
+
* @type {string[]}
|
|
10563
|
+
*/
|
|
10560
10564
|
this.allowedInputTypes = [
|
|
10561
10565
|
"text",
|
|
10562
10566
|
"number",
|
|
@@ -10565,9 +10569,14 @@ class BaseInput extends AuroElement {
|
|
|
10565
10569
|
"credit-card",
|
|
10566
10570
|
"tel"
|
|
10567
10571
|
];
|
|
10572
|
+
|
|
10573
|
+
/** @type {'default' | 'inverse'} */
|
|
10568
10574
|
this.appearance = "default";
|
|
10569
10575
|
|
|
10570
|
-
/**
|
|
10576
|
+
/**
|
|
10577
|
+
* @private
|
|
10578
|
+
* @type {Record<string, string>}
|
|
10579
|
+
*/
|
|
10571
10580
|
this.dateFormatMap = {
|
|
10572
10581
|
'mm/dd/yyyy': 'dateMMDDYYYY',
|
|
10573
10582
|
'dd/mm/yyyy': 'dateDDMMYYYY',
|
|
@@ -10598,7 +10607,6 @@ class BaseInput extends AuroElement {
|
|
|
10598
10607
|
|
|
10599
10608
|
/** @private */
|
|
10600
10609
|
this.label = 'Input label is undefined';
|
|
10601
|
-
this.layout = 'classic';
|
|
10602
10610
|
this.locale = 'en-US';
|
|
10603
10611
|
this._format = undefined;
|
|
10604
10612
|
|
|
@@ -10614,17 +10622,18 @@ class BaseInput extends AuroElement {
|
|
|
10614
10622
|
this.setCustomValidityForType = undefined;
|
|
10615
10623
|
// Credit Card is intentionally excluded — its mask manages the cursor
|
|
10616
10624
|
// itself, and listing it here caused cursor placement issues in Safari.
|
|
10617
|
-
/**
|
|
10625
|
+
/**
|
|
10626
|
+
* @private
|
|
10627
|
+
* @type {string[]}
|
|
10628
|
+
*/
|
|
10618
10629
|
this.setSelectionInputTypes = [
|
|
10619
10630
|
"text",
|
|
10620
10631
|
"password",
|
|
10621
10632
|
"email"
|
|
10622
10633
|
];
|
|
10623
|
-
this.shape = 'classic';
|
|
10624
10634
|
|
|
10625
10635
|
/** @private */
|
|
10626
10636
|
this.showPassword = false;
|
|
10627
|
-
this.size = 'lg';
|
|
10628
10637
|
this.touched = false;
|
|
10629
10638
|
|
|
10630
10639
|
/** @private */
|
|
@@ -10642,6 +10651,24 @@ class BaseInput extends AuroElement {
|
|
|
10642
10651
|
/** @private */
|
|
10643
10652
|
this.validationCCLength = undefined;
|
|
10644
10653
|
this.value = undefined;
|
|
10654
|
+
|
|
10655
|
+
this.initializeArchitectureDefaults();
|
|
10656
|
+
}
|
|
10657
|
+
|
|
10658
|
+
/**
|
|
10659
|
+
* Sets the default `layout`, `shape`, and `size` values.
|
|
10660
|
+
*
|
|
10661
|
+
* These are assigned in a helper method rather than the constructor body so
|
|
10662
|
+
* the CEM analyzer keeps their `@type` string-literal unions (a literal
|
|
10663
|
+
* assignment in the constructor would make the analyzer infer `string` and
|
|
10664
|
+
* override the union — see AlaskaAirlines/discussions#653, gotcha 1).
|
|
10665
|
+
* @private
|
|
10666
|
+
* @returns {void}
|
|
10667
|
+
*/
|
|
10668
|
+
initializeArchitectureDefaults() {
|
|
10669
|
+
this.layout = 'classic';
|
|
10670
|
+
this.shape = 'classic';
|
|
10671
|
+
this.size = 'lg';
|
|
10645
10672
|
}
|
|
10646
10673
|
|
|
10647
10674
|
// function to define props used within the scope of this component
|
|
@@ -10649,11 +10676,45 @@ class BaseInput extends AuroElement {
|
|
|
10649
10676
|
return {
|
|
10650
10677
|
...super.properties,
|
|
10651
10678
|
|
|
10679
|
+
/**
|
|
10680
|
+
* Sets the layout variant of the input.
|
|
10681
|
+
* @type {'classic' | 'emphasized' | 'emphasized-left' | 'emphasized-right' | 'snowflake' | 'snowflake-left' | 'snowflake-right'}
|
|
10682
|
+
* @default 'classic'
|
|
10683
|
+
*/
|
|
10684
|
+
layout: {
|
|
10685
|
+
type: String,
|
|
10686
|
+
attribute: "layout",
|
|
10687
|
+
reflect: true
|
|
10688
|
+
},
|
|
10689
|
+
|
|
10690
|
+
/**
|
|
10691
|
+
* Sets the shape of the input.
|
|
10692
|
+
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
10693
|
+
* @default 'classic'
|
|
10694
|
+
*/
|
|
10695
|
+
shape: {
|
|
10696
|
+
type: String,
|
|
10697
|
+
attribute: "shape",
|
|
10698
|
+
reflect: true
|
|
10699
|
+
},
|
|
10700
|
+
|
|
10701
|
+
/**
|
|
10702
|
+
* Sets the size of the input.
|
|
10703
|
+
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
10704
|
+
* @default 'lg'
|
|
10705
|
+
*/
|
|
10706
|
+
size: {
|
|
10707
|
+
type: String,
|
|
10708
|
+
attribute: "size",
|
|
10709
|
+
reflect: true
|
|
10710
|
+
},
|
|
10711
|
+
|
|
10652
10712
|
/**
|
|
10653
10713
|
* The value for the role attribute.
|
|
10654
10714
|
*/
|
|
10655
10715
|
a11yRole: {
|
|
10656
10716
|
type: String,
|
|
10717
|
+
attribute: 'a11yrole',
|
|
10657
10718
|
reflect: true
|
|
10658
10719
|
},
|
|
10659
10720
|
|
|
@@ -10662,6 +10723,7 @@ class BaseInput extends AuroElement {
|
|
|
10662
10723
|
*/
|
|
10663
10724
|
a11yControls: {
|
|
10664
10725
|
type: String,
|
|
10726
|
+
attribute: 'a11ycontrols',
|
|
10665
10727
|
reflect: true
|
|
10666
10728
|
},
|
|
10667
10729
|
|
|
@@ -10670,6 +10732,7 @@ class BaseInput extends AuroElement {
|
|
|
10670
10732
|
*/
|
|
10671
10733
|
a11yExpanded: {
|
|
10672
10734
|
type: Boolean,
|
|
10735
|
+
attribute: 'a11yexpanded',
|
|
10673
10736
|
reflect: true
|
|
10674
10737
|
},
|
|
10675
10738
|
|
|
@@ -10679,6 +10742,7 @@ class BaseInput extends AuroElement {
|
|
|
10679
10742
|
*/
|
|
10680
10743
|
a11yActivedescendant: {
|
|
10681
10744
|
type: String,
|
|
10745
|
+
attribute: 'a11yactivedescendant',
|
|
10682
10746
|
reflect: true
|
|
10683
10747
|
},
|
|
10684
10748
|
|
|
@@ -10689,6 +10753,7 @@ class BaseInput extends AuroElement {
|
|
|
10689
10753
|
*/
|
|
10690
10754
|
activeLabel: {
|
|
10691
10755
|
type: Boolean,
|
|
10756
|
+
attribute: 'activelabel',
|
|
10692
10757
|
reflect: true
|
|
10693
10758
|
},
|
|
10694
10759
|
|
|
@@ -10703,7 +10768,8 @@ class BaseInput extends AuroElement {
|
|
|
10703
10768
|
},
|
|
10704
10769
|
|
|
10705
10770
|
/**
|
|
10706
|
-
* An enumerated attribute that controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
10771
|
+
* An enumerated attribute that controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
10772
|
+
* @type {'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters'}
|
|
10707
10773
|
*/
|
|
10708
10774
|
autocapitalize: {
|
|
10709
10775
|
type: String,
|
|
@@ -10720,6 +10786,7 @@ class BaseInput extends AuroElement {
|
|
|
10720
10786
|
|
|
10721
10787
|
/**
|
|
10722
10788
|
* When set to `off`, stops iOS from auto-correcting words when typed into a text box.
|
|
10789
|
+
* @type {'on' | 'off'}
|
|
10723
10790
|
*/
|
|
10724
10791
|
autocorrect: {
|
|
10725
10792
|
type: String,
|
|
@@ -10730,7 +10797,8 @@ class BaseInput extends AuroElement {
|
|
|
10730
10797
|
* Custom help text message for email type validity.
|
|
10731
10798
|
*/
|
|
10732
10799
|
customValidityTypeEmail: {
|
|
10733
|
-
type: String
|
|
10800
|
+
type: String,
|
|
10801
|
+
attribute: 'customvaliditytypeemail'
|
|
10734
10802
|
},
|
|
10735
10803
|
|
|
10736
10804
|
/**
|
|
@@ -10746,6 +10814,7 @@ class BaseInput extends AuroElement {
|
|
|
10746
10814
|
*/
|
|
10747
10815
|
dvInputOnly: {
|
|
10748
10816
|
type: Boolean,
|
|
10817
|
+
attribute: 'dvinputonly',
|
|
10749
10818
|
reflect: true
|
|
10750
10819
|
},
|
|
10751
10820
|
|
|
@@ -10761,7 +10830,8 @@ class BaseInput extends AuroElement {
|
|
|
10761
10830
|
* Contains the help text message for the current validity error.
|
|
10762
10831
|
*/
|
|
10763
10832
|
errorMessage: {
|
|
10764
|
-
type: String
|
|
10833
|
+
type: String,
|
|
10834
|
+
attribute: 'errormessage'
|
|
10765
10835
|
},
|
|
10766
10836
|
|
|
10767
10837
|
/**
|
|
@@ -10797,6 +10867,7 @@ class BaseInput extends AuroElement {
|
|
|
10797
10867
|
*/
|
|
10798
10868
|
hideLabelVisually: {
|
|
10799
10869
|
type: Boolean,
|
|
10870
|
+
attribute: 'hidelabelvisually',
|
|
10800
10871
|
reflect: true
|
|
10801
10872
|
},
|
|
10802
10873
|
|
|
@@ -10863,6 +10934,7 @@ class BaseInput extends AuroElement {
|
|
|
10863
10934
|
*/
|
|
10864
10935
|
maxLength: {
|
|
10865
10936
|
type: Number,
|
|
10937
|
+
attribute: 'maxlength',
|
|
10866
10938
|
reflect: true
|
|
10867
10939
|
},
|
|
10868
10940
|
|
|
@@ -10878,6 +10950,7 @@ class BaseInput extends AuroElement {
|
|
|
10878
10950
|
*/
|
|
10879
10951
|
minLength: {
|
|
10880
10952
|
type: Number,
|
|
10953
|
+
attribute: 'minlength',
|
|
10881
10954
|
reflect: true
|
|
10882
10955
|
},
|
|
10883
10956
|
|
|
@@ -10903,6 +10976,7 @@ class BaseInput extends AuroElement {
|
|
|
10903
10976
|
*/
|
|
10904
10977
|
noValidate: {
|
|
10905
10978
|
type: Boolean,
|
|
10979
|
+
attribute: 'novalidate',
|
|
10906
10980
|
reflect: true
|
|
10907
10981
|
},
|
|
10908
10982
|
|
|
@@ -10911,6 +10985,7 @@ class BaseInput extends AuroElement {
|
|
|
10911
10985
|
*/
|
|
10912
10986
|
onDark: {
|
|
10913
10987
|
type: Boolean,
|
|
10988
|
+
attribute: 'ondark',
|
|
10914
10989
|
reflect: true
|
|
10915
10990
|
},
|
|
10916
10991
|
|
|
@@ -10950,77 +11025,88 @@ class BaseInput extends AuroElement {
|
|
|
10950
11025
|
* Sets a custom help text message to display for all validityStates.
|
|
10951
11026
|
*/
|
|
10952
11027
|
setCustomValidity: {
|
|
10953
|
-
type: String
|
|
11028
|
+
type: String,
|
|
11029
|
+
attribute: 'setcustomvalidity'
|
|
10954
11030
|
},
|
|
10955
11031
|
|
|
10956
11032
|
/**
|
|
10957
11033
|
* Custom help text message to display when validity = `badInput`.
|
|
10958
11034
|
*/
|
|
10959
11035
|
setCustomValidityBadInput: {
|
|
10960
|
-
type: String
|
|
11036
|
+
type: String,
|
|
11037
|
+
attribute: 'setcustomvaliditybadinput'
|
|
10961
11038
|
},
|
|
10962
11039
|
|
|
10963
11040
|
/**
|
|
10964
11041
|
* Custom help text message to display when validity = `customError`.
|
|
10965
11042
|
*/
|
|
10966
11043
|
setCustomValidityCustomError: {
|
|
10967
|
-
type: String
|
|
11044
|
+
type: String,
|
|
11045
|
+
attribute: 'setcustomvaliditycustomerror'
|
|
10968
11046
|
},
|
|
10969
11047
|
|
|
10970
11048
|
/**
|
|
10971
11049
|
* Custom help text message to display for the declared element `type` and type validity fails.
|
|
10972
11050
|
*/
|
|
10973
11051
|
setCustomValidityForType: {
|
|
10974
|
-
type: String
|
|
11052
|
+
type: String,
|
|
11053
|
+
attribute: 'setcustomvalidityfortype'
|
|
10975
11054
|
},
|
|
10976
11055
|
|
|
10977
11056
|
/**
|
|
10978
11057
|
* Custom help text message to display when validity = `patternMismatch`.
|
|
10979
11058
|
*/
|
|
10980
11059
|
setCustomValidityPatternMismatch: {
|
|
10981
|
-
type: String
|
|
11060
|
+
type: String,
|
|
11061
|
+
attribute: 'setcustomvaliditypatternmismatch'
|
|
10982
11062
|
},
|
|
10983
11063
|
|
|
10984
11064
|
/**
|
|
10985
11065
|
* Custom help text message to display when validity = `rangeOverflow`.
|
|
10986
11066
|
*/
|
|
10987
11067
|
setCustomValidityRangeOverflow: {
|
|
10988
|
-
type: String
|
|
11068
|
+
type: String,
|
|
11069
|
+
attribute: 'setcustomvalidityrangeoverflow'
|
|
10989
11070
|
},
|
|
10990
11071
|
|
|
10991
11072
|
/**
|
|
10992
11073
|
* Custom help text message to display when validity = `rangeUnderflow`.
|
|
10993
11074
|
*/
|
|
10994
11075
|
setCustomValidityRangeUnderflow: {
|
|
10995
|
-
type: String
|
|
11076
|
+
type: String,
|
|
11077
|
+
attribute: 'setcustomvalidityrangeunderflow'
|
|
10996
11078
|
},
|
|
10997
11079
|
|
|
10998
11080
|
/**
|
|
10999
11081
|
* Custom help text message to display when validity = `tooLong`.
|
|
11000
11082
|
*/
|
|
11001
11083
|
setCustomValidityTooLong: {
|
|
11002
|
-
type: String
|
|
11084
|
+
type: String,
|
|
11085
|
+
attribute: 'setcustomvaliditytoolong'
|
|
11003
11086
|
},
|
|
11004
11087
|
|
|
11005
11088
|
/**
|
|
11006
11089
|
* Custom help text message to display when validity = `tooShort`.
|
|
11007
11090
|
*/
|
|
11008
11091
|
setCustomValidityTooShort: {
|
|
11009
|
-
type: String
|
|
11092
|
+
type: String,
|
|
11093
|
+
attribute: 'setcustomvaliditytooshort'
|
|
11010
11094
|
},
|
|
11011
11095
|
|
|
11012
11096
|
/**
|
|
11013
11097
|
* Custom help text message to display when validity = `valueMissing`.
|
|
11014
11098
|
*/
|
|
11015
11099
|
setCustomValidityValueMissing: {
|
|
11016
|
-
type: String
|
|
11100
|
+
type: String,
|
|
11101
|
+
attribute: 'setcustomvalidityvaluemissing'
|
|
11017
11102
|
},
|
|
11018
11103
|
|
|
11019
11104
|
/**
|
|
11020
11105
|
* @ignore
|
|
11021
11106
|
*/
|
|
11022
11107
|
showPassword: {
|
|
11023
|
-
state: true
|
|
11108
|
+
state: true,
|
|
11109
|
+
attribute: false
|
|
11024
11110
|
},
|
|
11025
11111
|
|
|
11026
11112
|
/**
|
|
@@ -11032,7 +11118,8 @@ class BaseInput extends AuroElement {
|
|
|
11032
11118
|
},
|
|
11033
11119
|
|
|
11034
11120
|
/**
|
|
11035
|
-
* An enumerated attribute defines whether the element may be checked for spelling errors.
|
|
11121
|
+
* 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`.
|
|
11122
|
+
* @type {'true' | 'false'}
|
|
11036
11123
|
*/
|
|
11037
11124
|
spellcheck: {
|
|
11038
11125
|
type: String,
|
|
@@ -11063,7 +11150,8 @@ class BaseInput extends AuroElement {
|
|
|
11063
11150
|
* Sets validation mode to re-eval with each input.
|
|
11064
11151
|
*/
|
|
11065
11152
|
validateOnInput: {
|
|
11066
|
-
type: Boolean
|
|
11153
|
+
type: Boolean,
|
|
11154
|
+
attribute: 'validateoninput'
|
|
11067
11155
|
},
|
|
11068
11156
|
|
|
11069
11157
|
/**
|
|
@@ -12117,6 +12205,8 @@ class AuroHelpText extends LitElement {
|
|
|
12117
12205
|
super();
|
|
12118
12206
|
|
|
12119
12207
|
this.error = false;
|
|
12208
|
+
|
|
12209
|
+
/** @type {'default' | 'inverse'} */
|
|
12120
12210
|
this.appearance = "default";
|
|
12121
12211
|
this.onDark = false;
|
|
12122
12212
|
this.hasTextContent = false;
|
|
@@ -12137,8 +12227,8 @@ class AuroHelpText extends LitElement {
|
|
|
12137
12227
|
return {
|
|
12138
12228
|
|
|
12139
12229
|
/**
|
|
12140
|
-
*
|
|
12141
|
-
* @
|
|
12230
|
+
* The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
|
|
12231
|
+
* @type {'default' | 'inverse'}
|
|
12142
12232
|
* @default 'default'
|
|
12143
12233
|
*/
|
|
12144
12234
|
appearance: {
|
|
@@ -12151,6 +12241,7 @@ class AuroHelpText extends LitElement {
|
|
|
12151
12241
|
*/
|
|
12152
12242
|
slotNodes: {
|
|
12153
12243
|
type: Boolean,
|
|
12244
|
+
attribute: 'slotnodes',
|
|
12154
12245
|
},
|
|
12155
12246
|
|
|
12156
12247
|
/**
|
|
@@ -12158,6 +12249,7 @@ class AuroHelpText extends LitElement {
|
|
|
12158
12249
|
*/
|
|
12159
12250
|
hasTextContent: {
|
|
12160
12251
|
type: Boolean,
|
|
12252
|
+
attribute: 'hastextcontent',
|
|
12161
12253
|
},
|
|
12162
12254
|
|
|
12163
12255
|
/**
|
|
@@ -12173,6 +12265,7 @@ class AuroHelpText extends LitElement {
|
|
|
12173
12265
|
*/
|
|
12174
12266
|
onDark: {
|
|
12175
12267
|
type: Boolean,
|
|
12268
|
+
attribute: 'ondark',
|
|
12176
12269
|
reflect: true
|
|
12177
12270
|
}
|
|
12178
12271
|
};
|
|
@@ -12243,7 +12336,7 @@ class AuroHelpText extends LitElement {
|
|
|
12243
12336
|
}
|
|
12244
12337
|
}
|
|
12245
12338
|
|
|
12246
|
-
var formkitVersion = '
|
|
12339
|
+
var formkitVersion = '202608300032';
|
|
12247
12340
|
|
|
12248
12341
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12249
12342
|
// See LICENSE in the project root for license information.
|