@aurodesignsystem-dev/auro-formkit 0.0.0-pr1271.4 → 0.0.0-pr1271.5

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.
Files changed (42) hide show
  1. package/components/checkbox/demo/api.min.js +1 -1
  2. package/components/checkbox/demo/index.min.js +1 -1
  3. package/components/checkbox/dist/index.js +1 -1
  4. package/components/checkbox/dist/registered.js +1 -1
  5. package/components/combobox/demo/api.min.js +86 -81
  6. package/components/combobox/demo/index.min.js +86 -81
  7. package/components/combobox/dist/index.js +86 -81
  8. package/components/combobox/dist/registered.js +86 -81
  9. package/components/counter/demo/api.min.js +2 -2
  10. package/components/counter/demo/index.min.js +2 -2
  11. package/components/counter/dist/index.js +2 -2
  12. package/components/counter/dist/registered.js +2 -2
  13. package/components/datepicker/demo/api.min.js +86 -81
  14. package/components/datepicker/demo/index.min.js +86 -81
  15. package/components/datepicker/dist/index.js +86 -81
  16. package/components/datepicker/dist/registered.js +86 -81
  17. package/components/dropdown/demo/api.min.js +1 -1
  18. package/components/dropdown/demo/index.min.js +1 -1
  19. package/components/dropdown/dist/index.js +1 -1
  20. package/components/dropdown/dist/registered.js +1 -1
  21. package/components/input/README.md +64 -61
  22. package/components/input/demo/api.js +3 -5
  23. package/components/input/demo/api.md +507 -488
  24. package/components/input/demo/api.min.js +99 -112
  25. package/components/input/demo/index.js +0 -1
  26. package/components/input/demo/index.md +90 -203
  27. package/components/input/demo/index.min.js +84 -96
  28. package/components/input/demo/readme.html +3 -4
  29. package/components/input/demo/readme.md +98 -27
  30. package/components/input/dist/auro-input.d.ts +6 -5
  31. package/components/input/dist/base-input.d.ts +67 -68
  32. package/components/input/dist/index.js +84 -79
  33. package/components/input/dist/registered.js +84 -79
  34. package/components/radio/demo/api.min.js +1 -1
  35. package/components/radio/demo/index.min.js +1 -1
  36. package/components/radio/dist/index.js +1 -1
  37. package/components/radio/dist/registered.js +1 -1
  38. package/components/select/demo/api.min.js +2 -2
  39. package/components/select/demo/index.min.js +2 -2
  40. package/components/select/dist/index.js +2 -2
  41. package/components/select/dist/registered.js +2 -2
  42. package/package.json +1 -1
@@ -1614,7 +1614,7 @@ class AuroHelpText extends i$2 {
1614
1614
  }
1615
1615
  }
1616
1616
 
1617
- var formkitVersion = '202601081825';
1617
+ var formkitVersion = '202601082019';
1618
1618
 
1619
1619
  // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1620
1620
  // See LICENSE in the project root for license information.
@@ -1606,7 +1606,7 @@ class AuroHelpText extends i$2 {
1606
1606
  }
1607
1607
  }
1608
1608
 
1609
- var formkitVersion = '202601081825';
1609
+ var formkitVersion = '202601082019';
1610
1610
 
1611
1611
  // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1612
1612
  // See LICENSE in the project root for license information.
@@ -1559,7 +1559,7 @@ class AuroHelpText extends LitElement {
1559
1559
  }
1560
1560
  }
1561
1561
 
1562
- var formkitVersion = '202601081825';
1562
+ var formkitVersion = '202601082019';
1563
1563
 
1564
1564
  // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1565
1565
  // See LICENSE in the project root for license information.
@@ -1559,7 +1559,7 @@ class AuroHelpText extends LitElement {
1559
1559
  }
1560
1560
  }
1561
1561
 
1562
- var formkitVersion = '202601081825';
1562
+ var formkitVersion = '202601082019';
1563
1563
 
1564
1564
  // Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
1565
1565
  // See LICENSE in the project root for license information.
@@ -4224,7 +4224,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$3 {
4224
4224
  }
4225
4225
  };
4226
4226
 
4227
- var formkitVersion$2 = '202601081825';
4227
+ var formkitVersion$2 = '202601082019';
4228
4228
 
4229
4229
  let AuroElement$2 = class AuroElement extends i$3 {
4230
4230
  static get properties() {
@@ -10333,19 +10333,16 @@ let AuroElement$1 = class AuroElement extends i$3 {
10333
10333
 
10334
10334
 
10335
10335
  /**
10336
- * Auro-input provides users a way to enter data into a text field.
10337
- *
10338
- * @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
10339
- * @attr id
10336
+ * The `auro-input` element provides users a way to enter data into a text field.
10337
+ * @customElement auro-input
10340
10338
  *
10341
10339
  * @slot ariaLabel.clear - Sets aria-label on clear button for screen reader to read
10342
10340
  * @slot ariaLabel.password.show - Sets aria-label on password button to toggle on showing password
10343
10341
  * @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
10344
10342
  * @slot helpText - Sets the help text displayed below the input.
10345
10343
  * @slot label - Sets the label text for the input.
10346
- * @slot {HTMLSlotElement} optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
10344
+ * @slot optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
10347
10345
  * @slot displayValue - Allows custom HTML content to display in place of the value when the input is not focused.
10348
- *
10349
10346
  * @csspart wrapper - Use for customizing the style of the root element
10350
10347
  * @csspart label - Use for customizing the style of the label element
10351
10348
  * @csspart helpText - Use for customizing the style of the helpText element
@@ -10363,6 +10360,15 @@ class BaseInput extends AuroElement$1 {
10363
10360
  constructor() {
10364
10361
  super();
10365
10362
 
10363
+ this._initializeDefaults();
10364
+ }
10365
+
10366
+ /**
10367
+ * Internal Defaults.
10368
+ * @private
10369
+ * @returns {void}
10370
+ */
10371
+ _initializeDefaults() {
10366
10372
  this.activeLabel = false;
10367
10373
  this.appearance = "default";
10368
10374
  this.icon = false;
@@ -10392,15 +10398,6 @@ class BaseInput extends AuroElement$1 {
10392
10398
  */
10393
10399
  this.size = 'lg';
10394
10400
 
10395
- this.privateDefaults();
10396
- }
10397
-
10398
- /**
10399
- * Internal Defaults.
10400
- * @private
10401
- * @returns {void}
10402
- */
10403
- privateDefaults() {
10404
10401
  this.touched = false;
10405
10402
  this.util = new AuroInputUtilities();
10406
10403
  this.validation = new AuroFormValidation();
@@ -10461,17 +10458,17 @@ class BaseInput extends AuroElement$1 {
10461
10458
  ...super.properties,
10462
10459
 
10463
10460
  /**
10464
- * If defined, the display value slot content will only mask the HTML5 input element. The input's label will not be masked.
10461
+ * The value for the role attribute.
10465
10462
  */
10466
- dvInputOnly: {
10467
- type: Boolean,
10463
+ a11yRole: {
10464
+ type: String,
10468
10465
  reflect: true
10469
10466
  },
10470
10467
 
10471
10468
  /**
10472
- * The value for the role attribute.
10469
+ * The value for the aria-controls attribute.
10473
10470
  */
10474
- a11yRole: {
10471
+ a11yControls: {
10475
10472
  type: String,
10476
10473
  reflect: true
10477
10474
  },
@@ -10484,14 +10481,6 @@ class BaseInput extends AuroElement$1 {
10484
10481
  reflect: true
10485
10482
  },
10486
10483
 
10487
- /**
10488
- * The value for the aria-controls attribute.
10489
- */
10490
- a11yControls: {
10491
- type: String,
10492
- reflect: true
10493
- },
10494
-
10495
10484
  /**
10496
10485
  * If set, the label will remain fixed in the active position.
10497
10486
  */
@@ -10502,7 +10491,7 @@ class BaseInput extends AuroElement$1 {
10502
10491
 
10503
10492
  /**
10504
10493
  * Defines whether the component will be on lighter or darker backgrounds.
10505
- * @property {'default', 'inverse'}
10494
+ * @type {'default' | 'inverse'}
10506
10495
  * @default 'default'
10507
10496
  */
10508
10497
  appearance: {
@@ -10534,6 +10523,13 @@ class BaseInput extends AuroElement$1 {
10534
10523
  reflect: true
10535
10524
  },
10536
10525
 
10526
+ /**
10527
+ * Custom help text message for email type validity.
10528
+ */
10529
+ customValidityTypeEmail: {
10530
+ type: String
10531
+ },
10532
+
10537
10533
  /**
10538
10534
  * If set, disables the input.
10539
10535
  */
@@ -10542,6 +10538,14 @@ class BaseInput extends AuroElement$1 {
10542
10538
  reflect: true
10543
10539
  },
10544
10540
 
10541
+ /**
10542
+ * If defined, the display value slot content will only mask the HTML5 input element. The input's label will not be masked.
10543
+ */
10544
+ dvInputOnly: {
10545
+ type: Boolean,
10546
+ reflect: true
10547
+ },
10548
+
10545
10549
  /**
10546
10550
  * When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value.
10547
10551
  */
@@ -10566,20 +10570,18 @@ class BaseInput extends AuroElement$1 {
10566
10570
  },
10567
10571
 
10568
10572
  /**
10569
- * @private
10570
- * Flag to indicate if the input currently has value.
10573
+ * Flag to indicate if the input currently has focus.
10571
10574
  */
10572
- hasValue: {
10575
+ hasFocus: {
10573
10576
  type: Boolean,
10574
10577
  reflect: false,
10575
10578
  attribute: false
10576
10579
  },
10577
10580
 
10578
10581
  /**
10579
- * @private
10580
- * Flag to indicate if the input currently has focus.
10582
+ * Flag to indicate if the input currently has value.
10581
10583
  */
10582
- hasFocus: {
10584
+ hasValue: {
10583
10585
  type: Boolean,
10584
10586
  reflect: false,
10585
10587
  attribute: false
@@ -10593,6 +10595,23 @@ class BaseInput extends AuroElement$1 {
10593
10595
  reflect: true
10594
10596
  },
10595
10597
 
10598
+ /**
10599
+ * The id global attribute defines an identifier (ID) which must be unique in the whole document.
10600
+ */
10601
+ id: {
10602
+ type: String
10603
+ },
10604
+
10605
+ /**
10606
+ * The id for input node.
10607
+ * @private
10608
+ */
10609
+ inputId: {
10610
+ type: String,
10611
+ reflect: false,
10612
+ attribute: false
10613
+ },
10614
+
10596
10615
  /** Exposes inputmode attribute for input. */
10597
10616
  inputmode: {
10598
10617
  type: String,
@@ -10663,7 +10682,7 @@ class BaseInput extends AuroElement$1 {
10663
10682
  },
10664
10683
 
10665
10684
  /**
10666
- * DEPRECATED - use `appearance` instead.
10685
+ * DEPRECATED - use `appearance="inverse"` instead.
10667
10686
  */
10668
10687
  onDark: {
10669
10688
  type: Boolean,
@@ -10702,13 +10721,6 @@ class BaseInput extends AuroElement$1 {
10702
10721
  reflect: true
10703
10722
  },
10704
10723
 
10705
- /**
10706
- * @ignore
10707
- */
10708
- showPassword: {
10709
- state: true
10710
- },
10711
-
10712
10724
  /**
10713
10725
  * Sets a custom help text message to display for all validityStates.
10714
10726
  */
@@ -10773,18 +10785,18 @@ class BaseInput extends AuroElement$1 {
10773
10785
  },
10774
10786
 
10775
10787
  /**
10776
- * Simple makes the input render without a border.
10788
+ * @ignore
10777
10789
  */
10778
- simple: {
10779
- type: Boolean,
10780
- reflect: true
10790
+ showPassword: {
10791
+ state: true
10781
10792
  },
10782
10793
 
10783
10794
  /**
10784
- * Custom help text message for email type validity.
10795
+ * Simple makes the input render without a border.
10785
10796
  */
10786
- customValidityTypeEmail: {
10787
- type: String
10797
+ simple: {
10798
+ type: Boolean,
10799
+ reflect: true
10788
10800
  },
10789
10801
 
10790
10802
  /**
@@ -10796,18 +10808,23 @@ class BaseInput extends AuroElement$1 {
10796
10808
  },
10797
10809
 
10798
10810
  /**
10799
- * Populates the `type` attribute on the input. Allowed values are `password`, `email`, `credit-card`, `date`, `tel` or `text`. If given value is not allowed or set, defaults to `text`.
10811
+ * Indicates whether the input is in a dirty state (has been interacted with).
10812
+ * @private
10800
10813
  */
10801
- type: {
10802
- type: String,
10803
- reflect: true
10814
+ touched: {
10815
+ type: Boolean,
10816
+ reflect: true,
10817
+ attribute: false
10804
10818
  },
10805
10819
 
10806
10820
  /**
10807
- * Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
10821
+ * Populates the `type` attribute on the input.
10822
+ * @type {'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number'}
10823
+ * @default 'text'
10808
10824
  */
10809
- value: {
10810
- type: String
10825
+ type: {
10826
+ type: String,
10827
+ reflect: true
10811
10828
  },
10812
10829
 
10813
10830
  /**
@@ -10826,25 +10843,10 @@ class BaseInput extends AuroElement$1 {
10826
10843
  },
10827
10844
 
10828
10845
  /**
10829
- * Indicates whether the input is in a dirty state (has been interacted with).
10830
- * @type {boolean}
10831
- * @default false
10832
- * @private
10833
- */
10834
- touched: {
10835
- type: Boolean,
10836
- reflect: true,
10837
- attribute: false
10838
- },
10839
-
10840
- /**
10841
- * The id for input node.
10842
- * @private
10846
+ * Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
10843
10847
  */
10844
- inputId: {
10845
- type: String,
10846
- reflect: false,
10847
- attribute: false
10848
+ value: {
10849
+ type: String
10848
10850
  }
10849
10851
  };
10850
10852
  }
@@ -11153,7 +11155,7 @@ class BaseInput extends AuroElement$1 {
11153
11155
  }
11154
11156
 
11155
11157
  /**
11156
- * @param {Event} event - The input event
11158
+ * @param {Event} event - The input event.
11157
11159
  * @private
11158
11160
  * @returns {void}
11159
11161
  */
@@ -11858,13 +11860,12 @@ let AuroHelpText$1 = class AuroHelpText extends i$3 {
11858
11860
  }
11859
11861
  };
11860
11862
 
11861
- var formkitVersion$1 = '202601081825';
11863
+ var formkitVersion$1 = '202601082019';
11862
11864
 
11863
11865
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
11864
11866
  // See LICENSE in the project root for license information.
11865
11867
 
11866
11868
 
11867
- // build the component class
11868
11869
  class AuroInput extends BaseInput {
11869
11870
 
11870
11871
  constructor() {
@@ -12036,6 +12037,10 @@ class AuroInput extends BaseInput {
12036
12037
  };
12037
12038
  }
12038
12039
 
12040
+ /**
12041
+ * Common display value wrapper classes.
12042
+ * @private
12043
+ */
12039
12044
  get commonDisplayValueWrapperClasses() {
12040
12045
  return {
12041
12046
  'displayValueWrapper': true,
@@ -12083,7 +12088,7 @@ class AuroInput extends BaseInput {
12083
12088
 
12084
12089
  /**
12085
12090
  * This will register this element with the browser.
12086
- * @param {string} [name="auro-input"] - The name of element that you want to register to.
12091
+ * @param {string} [name="auro-input"] - The name of the element that you want to register.
12087
12092
  *
12088
12093
  * @example
12089
12094
  * AuroInput.register("custom-input") // this will register this element to <custom-input/>
@@ -12848,7 +12853,7 @@ class AuroBibtemplate extends i$3 {
12848
12853
  }
12849
12854
  }
12850
12855
 
12851
- var formkitVersion = '202601081825';
12856
+ var formkitVersion = '202601082019';
12852
12857
 
12853
12858
  var styleCss$3 = i$6`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
12854
12859