@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.
Files changed (83) hide show
  1. package/components/bibtemplate/dist/auro-bibtemplate.d.ts +11 -0
  2. package/components/bibtemplate/dist/index.js +13 -0
  3. package/components/bibtemplate/dist/registered.js +13 -0
  4. package/components/checkbox/demo/api.md +17 -11
  5. package/components/checkbox/demo/customize.min.js +23 -6
  6. package/components/checkbox/demo/getting-started.min.js +23 -6
  7. package/components/checkbox/demo/index.min.js +23 -6
  8. package/components/checkbox/dist/auro-checkbox-group.d.ts +8 -0
  9. package/components/checkbox/dist/auro-checkbox.d.ts +4 -0
  10. package/components/checkbox/dist/index.js +23 -6
  11. package/components/checkbox/dist/registered.js +23 -6
  12. package/components/combobox/demo/api.md +26 -18
  13. package/components/combobox/demo/customize.min.js +426 -126
  14. package/components/combobox/demo/getting-started.min.js +426 -126
  15. package/components/combobox/demo/index.min.js +426 -126
  16. package/components/combobox/dist/auro-combobox.d.ts +38 -21
  17. package/components/combobox/dist/index.js +338 -111
  18. package/components/combobox/dist/registered.js +338 -111
  19. package/components/counter/demo/api.md +34 -16
  20. package/components/counter/demo/customize.min.js +204 -64
  21. package/components/counter/demo/index.min.js +204 -64
  22. package/components/counter/dist/auro-counter-button.d.ts +4 -0
  23. package/components/counter/dist/auro-counter-group.d.ts +27 -4
  24. package/components/counter/dist/auro-counter.d.ts +7 -0
  25. package/components/counter/dist/index.js +204 -64
  26. package/components/counter/dist/registered.js +204 -64
  27. package/components/datepicker/demo/api.md +55 -49
  28. package/components/datepicker/demo/customize.min.js +515 -134
  29. package/components/datepicker/demo/index.min.js +515 -134
  30. package/components/datepicker/dist/auro-calendar-cell.d.ts +58 -4
  31. package/components/datepicker/dist/auro-calendar-month.d.ts +10 -4
  32. package/components/datepicker/dist/auro-calendar.d.ts +25 -6
  33. package/components/datepicker/dist/auro-datepicker.d.ts +70 -22
  34. package/components/datepicker/dist/index.js +515 -134
  35. package/components/datepicker/dist/registered.js +515 -134
  36. package/components/dropdown/demo/api.md +25 -22
  37. package/components/dropdown/demo/customize.min.js +107 -37
  38. package/components/dropdown/demo/getting-started.min.js +245 -82
  39. package/components/dropdown/demo/index.min.js +107 -37
  40. package/components/dropdown/dist/auro-dropdown.d.ts +34 -8
  41. package/components/dropdown/dist/auro-dropdownBib.d.ts +17 -5
  42. package/components/dropdown/dist/index.js +107 -37
  43. package/components/dropdown/dist/registered.js +107 -37
  44. package/components/form/demo/customize.min.js +1518 -466
  45. package/components/form/demo/getting-started.min.js +1518 -466
  46. package/components/form/demo/index.min.js +1518 -466
  47. package/components/form/demo/registerDemoDeps.min.js +1518 -466
  48. package/components/helptext/dist/auro-helptext.d.ts +8 -7
  49. package/components/helptext/dist/index.js +7 -2
  50. package/components/helptext/dist/registered.js +7 -2
  51. package/components/input/demo/api.md +30 -30
  52. package/components/input/demo/customize.min.js +138 -45
  53. package/components/input/demo/getting-started.min.js +138 -45
  54. package/components/input/demo/index.min.js +138 -45
  55. package/components/input/dist/base-input.d.ts +79 -25
  56. package/components/input/dist/index.js +138 -45
  57. package/components/input/dist/registered.js +138 -45
  58. package/components/layoutElement/dist/auroElement.d.ts +10 -17
  59. package/components/layoutElement/dist/index.js +20 -20
  60. package/components/layoutElement/dist/registered.js +20 -20
  61. package/components/menu/demo/api.md +31 -27
  62. package/components/menu/demo/index.min.js +108 -35
  63. package/components/menu/dist/auro-menu.d.ts +26 -21
  64. package/components/menu/dist/auro-menuoption.d.ts +27 -1
  65. package/components/menu/dist/index.js +108 -35
  66. package/components/menu/dist/registered.js +108 -35
  67. package/components/radio/demo/api.md +8 -7
  68. package/components/radio/demo/customize.min.js +21 -7
  69. package/components/radio/demo/getting-started.min.js +21 -7
  70. package/components/radio/demo/index.min.js +21 -7
  71. package/components/radio/dist/auro-radio-group.d.ts +8 -3
  72. package/components/radio/dist/auro-radio.d.ts +1 -0
  73. package/components/radio/dist/index.js +21 -7
  74. package/components/radio/dist/registered.js +21 -7
  75. package/components/select/demo/api.md +18 -15
  76. package/components/select/demo/customize.min.js +259 -79
  77. package/components/select/demo/getting-started.min.js +259 -79
  78. package/components/select/demo/index.min.js +259 -79
  79. package/components/select/dist/auro-select.d.ts +17 -0
  80. package/components/select/dist/index.js +171 -64
  81. package/components/select/dist/registered.js +171 -64
  82. package/custom-elements.json +1189 -1336
  83. package/package.json +1 -1
@@ -4321,8 +4321,11 @@ const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
4321
4321
  ];
4322
4322
 
4323
4323
  /**
4324
+ * The `auro-dropdownbib` element renders the dropdown's bib as a dialog/popover container and manages its fullscreen and modal display.
4324
4325
  * @prop { String } fullscreenBreakpoint - Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
4325
4326
  * @csspart bibContainer - Apply css to the bib container.
4327
+ * @event auro-dropdownbib-connected - Notifies that the dropdown bib has connected to the DOM, passing a reference to the element in the event detail.
4328
+ * @event auro-bib-cancel - Notifies that the bib was cancelled (e.g. via the ESC key) so parent components can close it.
4326
4329
  */
4327
4330
 
4328
4331
  class AuroDropdownBib extends LitElement {
@@ -4337,9 +4340,17 @@ class AuroDropdownBib extends LitElement {
4337
4340
 
4338
4341
  AuroLibraryRuntimeUtils$1$2.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
4339
4342
 
4340
- this.shape = "rounded";
4341
4343
  this.matchWidth = false;
4342
4344
  this.hasActiveDescendant = false;
4345
+
4346
+ this.initializeArchitectureDefaults();
4347
+ }
4348
+
4349
+ // The `shape` default is set in a helper (not the constructor body) so the CEM
4350
+ // analyzer keeps its `@type` union instead of inferring `string` from a
4351
+ // constructor-literal assignment. See AlaskaAirlines/discussions#653.
4352
+ initializeArchitectureDefaults() {
4353
+ this.shape = "rounded";
4343
4354
  }
4344
4355
 
4345
4356
  static get styles() {
@@ -4358,6 +4369,7 @@ class AuroDropdownBib extends LitElement {
4358
4369
  */
4359
4370
  isFullscreen: {
4360
4371
  type: Boolean,
4372
+ attribute: 'isfullscreen',
4361
4373
  reflect: true
4362
4374
  },
4363
4375
 
@@ -4383,6 +4395,7 @@ class AuroDropdownBib extends LitElement {
4383
4395
  */
4384
4396
  matchWidth: {
4385
4397
  type: Boolean,
4398
+ attribute: 'matchwidth',
4386
4399
  reflect: true
4387
4400
  },
4388
4401
 
@@ -4398,11 +4411,18 @@ class AuroDropdownBib extends LitElement {
4398
4411
  * A reference to the associated bib template element.
4399
4412
  */
4400
4413
  bibTemplate: {
4401
- type: Object
4414
+ type: Object,
4415
+ attribute: 'bibtemplate'
4402
4416
  },
4403
4417
 
4418
+ /**
4419
+ * Sets the shape of the dropdown bib.
4420
+ * @type {'box' | 'classic' | 'pill' | 'rounded' | 'snowflake'}
4421
+ * @default 'rounded'
4422
+ */
4404
4423
  shape: {
4405
4424
  type: String,
4425
+ attribute: "shape",
4406
4426
  reflect: true
4407
4427
  },
4408
4428
 
@@ -4414,7 +4434,8 @@ class AuroDropdownBib extends LitElement {
4414
4434
  * @private
4415
4435
  */
4416
4436
  dialogLabel: {
4417
- type: String
4437
+ type: String,
4438
+ attribute: 'dialoglabel'
4418
4439
  },
4419
4440
 
4420
4441
  /**
@@ -4425,7 +4446,8 @@ class AuroDropdownBib extends LitElement {
4425
4446
  * @private
4426
4447
  */
4427
4448
  dialogRole: {
4428
- type: String
4449
+ type: String,
4450
+ attribute: 'dialogrole'
4429
4451
  },
4430
4452
 
4431
4453
  /**
@@ -4433,7 +4455,8 @@ class AuroDropdownBib extends LitElement {
4433
4455
  * @private
4434
4456
  */
4435
4457
  hasActiveDescendant: {
4436
- type: Boolean
4458
+ type: Boolean,
4459
+ attribute: 'hasactivedescendant'
4437
4460
  }
4438
4461
  };
4439
4462
  }
@@ -4784,6 +4807,8 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
4784
4807
  super();
4785
4808
 
4786
4809
  this.error = false;
4810
+
4811
+ /** @type {'default' | 'inverse'} */
4787
4812
  this.appearance = "default";
4788
4813
  this.onDark = false;
4789
4814
  this.hasTextContent = false;
@@ -4804,8 +4829,8 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
4804
4829
  return {
4805
4830
 
4806
4831
  /**
4807
- * Defines whether the component will be on lighter or darker backgrounds.
4808
- * @property {'default', 'inverse'} - The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
4832
+ * The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
4833
+ * @type {'default' | 'inverse'}
4809
4834
  * @default 'default'
4810
4835
  */
4811
4836
  appearance: {
@@ -4818,6 +4843,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
4818
4843
  */
4819
4844
  slotNodes: {
4820
4845
  type: Boolean,
4846
+ attribute: 'slotnodes',
4821
4847
  },
4822
4848
 
4823
4849
  /**
@@ -4825,6 +4851,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
4825
4851
  */
4826
4852
  hasTextContent: {
4827
4853
  type: Boolean,
4854
+ attribute: 'hastextcontent',
4828
4855
  },
4829
4856
 
4830
4857
  /**
@@ -4840,6 +4867,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
4840
4867
  */
4841
4868
  onDark: {
4842
4869
  type: Boolean,
4870
+ attribute: 'ondark',
4843
4871
  reflect: true
4844
4872
  }
4845
4873
  };
@@ -4910,39 +4938,39 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
4910
4938
  }
4911
4939
  };
4912
4940
 
4913
- var formkitVersion$2 = '202608261850';
4941
+ var formkitVersion$2 = '202608300032';
4914
4942
 
4943
+ /**
4944
+ * AuroElement is the shared base class for layout-aware Auro form components.
4945
+ *
4946
+ * It defines the common `layout`, `shape`, `size`, and `ondark` reactive
4947
+ * properties and the architecture helpers (`renderLayout`, `resetShapeClasses`,
4948
+ * `resetLayoutClasses`) that subclasses use to render a chosen layout and apply
4949
+ * the matching `shape-*` / `layout-*` wrapper classes. Subclasses supply their
4950
+ * own default and valid value set for `layout`, `shape`, and `size`.
4951
+ */
4915
4952
  let AuroElement$2 = class AuroElement extends LitElement {
4916
4953
  static get properties() {
4917
4954
  return {
4918
4955
 
4919
4956
  /**
4920
- * Defines the language of an element.
4921
- * @default {'default'}
4957
+ * When true, renders the component styled for use on a dark background.
4922
4958
  */
4923
- layout: {
4924
- type: String,
4925
- attribute: "layout",
4926
- reflect: true
4927
- },
4928
-
4929
- shape: {
4930
- type: String,
4931
- attribute: "shape",
4932
- reflect: true
4933
- },
4934
-
4935
- size: {
4936
- type: String,
4937
- attribute: "size",
4938
- reflect: true
4939
- },
4940
-
4941
4959
  onDark: {
4942
4960
  type: Boolean,
4943
4961
  attribute: "ondark",
4944
4962
  reflect: true
4945
4963
  }
4964
+
4965
+ // NOTE: `layout`, `shape`, and `size` are intentionally NOT declared here.
4966
+ // Their valid value sets differ per component, and the CEM analyzer roots
4967
+ // an inherited property's `type` in the class that declares it — a base
4968
+ // declaration would force every subclass's `@type` to be discarded and
4969
+ // emitted as plain `string`. Each subclass declares its own `layout` /
4970
+ // `shape` / `size` with an exact `@type` union instead. AuroElement still
4971
+ // consumes `this.layout` / `this.shape` / `this.size` in its render and
4972
+ // architecture helpers below (subclasses guarantee the reactive props).
4973
+ // See AlaskaAirlines/discussions#653.
4946
4974
  };
4947
4975
  }
4948
4976
 
@@ -5028,6 +5056,7 @@ let AuroElement$2 = class AuroElement extends LitElement {
5028
5056
  * @slot helpText - Defines the content of the helpText.
5029
5057
  * @slot trigger - Defines the content of the trigger.
5030
5058
  * @csspart trigger - The trigger content container.
5059
+ * @csspart wrapper - The trigger wrapper element surrounding the trigger content and chevron.
5031
5060
  * @csspart chevron - The collapsed/expanded state icon container.
5032
5061
  * @csspart size - The size of the dropdown bib. (height, width, maxHeight, maxWidth only)
5033
5062
  * @csspart helpText - The helpText content container.
@@ -5052,7 +5081,7 @@ class AuroDropdown extends AuroElement$2 {
5052
5081
 
5053
5082
  /**
5054
5083
  * When true, the dropdown skips its generic focus restoration on close.
5055
- * Set by consumers (e.g. combobox) that manage their own focus routing
5084
+ * Set by consumers (for example combobox) that manage their own focus routing
5056
5085
  * via setClearBtnFocus / setInputFocus / keyboard strategy.
5057
5086
  * Separate from noHideOnThisFocusLoss (which controls auto-close behavior).
5058
5087
  * @private
@@ -5221,7 +5250,7 @@ class AuroDropdown extends AuroElement$2 {
5221
5250
  /**
5222
5251
  * Focus the trigger content. When the trigger wrapper itself is focusable
5223
5252
  * (has tabindex), focus it directly. Otherwise, focus the first focusable
5224
- * element slotted into the trigger slot (e.g. the auro-input).
5253
+ * element slotted into the trigger slot (for example the auro-input).
5225
5254
  * @private
5226
5255
  */
5227
5256
  focusTrigger() {
@@ -5318,6 +5347,7 @@ class AuroDropdown extends AuroElement$2 {
5318
5347
  */
5319
5348
  autoPlacement: {
5320
5349
  type: Boolean,
5350
+ attribute: 'autoplacement',
5321
5351
  reflect: true
5322
5352
  },
5323
5353
 
@@ -5326,6 +5356,7 @@ class AuroDropdown extends AuroElement$2 {
5326
5356
  */
5327
5357
  desktopModal: {
5328
5358
  type: Boolean,
5359
+ attribute: 'desktopmodal',
5329
5360
  reflect: true
5330
5361
  },
5331
5362
 
@@ -5334,6 +5365,7 @@ class AuroDropdown extends AuroElement$2 {
5334
5365
  */
5335
5366
  disableEventShow: {
5336
5367
  type: Boolean,
5368
+ attribute: 'disableeventshow',
5337
5369
  reflect: true
5338
5370
  },
5339
5371
 
@@ -5367,14 +5399,16 @@ class AuroDropdown extends AuroElement$2 {
5367
5399
  */
5368
5400
  disableKeyboardHandling: {
5369
5401
  type: Boolean,
5402
+ attribute: 'disablekeyboardhandling',
5370
5403
  reflect: true
5371
5404
  },
5372
5405
 
5373
5406
  /**
5374
- * @private
5407
+ * Sets the width of the dropdown bib in pixels.
5375
5408
  */
5376
5409
  dropdownWidth: {
5377
- type: Number
5410
+ type: Number,
5411
+ attribute: 'dropdownwidth'
5378
5412
  },
5379
5413
 
5380
5414
  /**
@@ -5399,7 +5433,8 @@ class AuroDropdown extends AuroElement$2 {
5399
5433
  * Contains the help text message for the current validity error.
5400
5434
  */
5401
5435
  errorMessage: {
5402
- type: String
5436
+ type: String,
5437
+ attribute: 'errormessage'
5403
5438
  },
5404
5439
 
5405
5440
  /**
@@ -5407,6 +5442,7 @@ class AuroDropdown extends AuroElement$2 {
5407
5442
  */
5408
5443
  focusShow: {
5409
5444
  type: Boolean,
5445
+ attribute: 'focusshow',
5410
5446
  reflect: true
5411
5447
  },
5412
5448
 
@@ -5424,6 +5460,7 @@ class AuroDropdown extends AuroElement$2 {
5424
5460
  */
5425
5461
  isBibFullscreen: {
5426
5462
  type: Boolean,
5463
+ attribute: 'isbibfullscreen',
5427
5464
  reflect: true
5428
5465
  },
5429
5466
 
@@ -5432,6 +5469,7 @@ class AuroDropdown extends AuroElement$2 {
5432
5469
  */
5433
5470
  hoverToggle: {
5434
5471
  type: Boolean,
5472
+ attribute: 'hovertoggle',
5435
5473
  reflect: true
5436
5474
  },
5437
5475
 
@@ -5439,7 +5477,8 @@ class AuroDropdown extends AuroElement$2 {
5439
5477
  * @private
5440
5478
  */
5441
5479
  hasTriggerContent: {
5442
- type: Boolean
5480
+ type: Boolean,
5481
+ attribute: false
5443
5482
  },
5444
5483
 
5445
5484
  /**
@@ -5452,6 +5491,7 @@ class AuroDropdown extends AuroElement$2 {
5452
5491
  */
5453
5492
  fullscreenBreakpoint: {
5454
5493
  type: String,
5494
+ attribute: "fullscreenbreakpoint",
5455
5495
  reflect: true
5456
5496
  },
5457
5497
 
@@ -5462,6 +5502,27 @@ class AuroDropdown extends AuroElement$2 {
5462
5502
  */
5463
5503
  layout: {
5464
5504
  type: String,
5505
+ attribute: "layout",
5506
+ reflect: true
5507
+ },
5508
+
5509
+ /**
5510
+ * Sets the shape of the dropdown.
5511
+ * @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
5512
+ */
5513
+ shape: {
5514
+ type: String,
5515
+ attribute: "shape",
5516
+ reflect: true
5517
+ },
5518
+
5519
+ /**
5520
+ * Sets the size of the dropdown.
5521
+ * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
5522
+ */
5523
+ size: {
5524
+ type: String,
5525
+ attribute: "size",
5465
5526
  reflect: true
5466
5527
  },
5467
5528
 
@@ -5471,6 +5532,7 @@ class AuroDropdown extends AuroElement$2 {
5471
5532
  */
5472
5533
  parentBorder: {
5473
5534
  type: Boolean,
5535
+ attribute: 'parentborder',
5474
5536
  reflect: true
5475
5537
  },
5476
5538
 
@@ -5479,6 +5541,7 @@ class AuroDropdown extends AuroElement$2 {
5479
5541
  */
5480
5542
  matchWidth: {
5481
5543
  type: Boolean,
5544
+ attribute: 'matchwidth',
5482
5545
  reflect: true
5483
5546
  },
5484
5547
 
@@ -5488,6 +5551,7 @@ class AuroDropdown extends AuroElement$2 {
5488
5551
  */
5489
5552
  noFlip: {
5490
5553
  type: Boolean,
5554
+ attribute: 'noflip',
5491
5555
  reflect: true
5492
5556
  },
5493
5557
 
@@ -5504,6 +5568,7 @@ class AuroDropdown extends AuroElement$2 {
5504
5568
  */
5505
5569
  noHideOnThisFocusLoss: {
5506
5570
  type: Boolean,
5571
+ attribute: 'nohideonthisfocusloss',
5507
5572
  reflect: true
5508
5573
  },
5509
5574
 
@@ -5512,6 +5577,7 @@ class AuroDropdown extends AuroElement$2 {
5512
5577
  */
5513
5578
  noToggle: {
5514
5579
  type: Boolean,
5580
+ attribute: 'notoggle',
5515
5581
  reflect: true
5516
5582
  },
5517
5583
 
@@ -5529,14 +5595,17 @@ class AuroDropdown extends AuroElement$2 {
5529
5595
  */
5530
5596
  onDark: {
5531
5597
  type: Boolean,
5598
+ attribute: 'ondark',
5532
5599
  reflect: true
5533
5600
  },
5534
5601
 
5535
5602
  /**
5536
5603
  * If declared, and a function is set, that function will execute when the slot content is updated.
5604
+ * @type {() => void}
5537
5605
  */
5538
5606
  onSlotChange: {
5539
5607
  type: Function,
5608
+ attribute: 'onslotchange',
5540
5609
  reflect: false
5541
5610
  },
5542
5611
 
@@ -5551,10 +5620,11 @@ class AuroDropdown extends AuroElement$2 {
5551
5620
  },
5552
5621
 
5553
5622
  /**
5554
- * @private
5623
+ * Sets the tabindex applied to the dropdown trigger for keyboard focus order.
5555
5624
  */
5556
5625
  tabIndex: {
5557
- type: Number
5626
+ type: Number,
5627
+ attribute: 'tabindex'
5558
5628
  },
5559
5629
 
5560
5630
  /**
@@ -5778,7 +5848,7 @@ class AuroDropdown extends AuroElement$2 {
5778
5848
  /**
5779
5849
  * @description Let subscribers know that the dropdown ID ha been generated and added.
5780
5850
  * @event auroDropdown-idAdded
5781
- * @type {Object<key: 'id', value: string>} - The ID of the dropdown bib element.
5851
+ * @type {CustomEvent<{ id: string }>} - Detail carries the generated ID of the dropdown bib element.
5782
5852
  */
5783
5853
  this.dispatchEvent(new CustomEvent('auroDropdown-idAdded', {detail: {id: this.floater.element.id}}));
5784
5854
 
@@ -10920,37 +10990,37 @@ class AuroFormValidation {
10920
10990
  }
10921
10991
  }
10922
10992
 
10993
+ /**
10994
+ * AuroElement is the shared base class for layout-aware Auro form components.
10995
+ *
10996
+ * It defines the common `layout`, `shape`, `size`, and `ondark` reactive
10997
+ * properties and the architecture helpers (`renderLayout`, `resetShapeClasses`,
10998
+ * `resetLayoutClasses`) that subclasses use to render a chosen layout and apply
10999
+ * the matching `shape-*` / `layout-*` wrapper classes. Subclasses supply their
11000
+ * own default and valid value set for `layout`, `shape`, and `size`.
11001
+ */
10923
11002
  let AuroElement$1 = class AuroElement extends LitElement {
10924
11003
  static get properties() {
10925
11004
  return {
10926
11005
 
10927
11006
  /**
10928
- * Defines the language of an element.
10929
- * @default {'default'}
11007
+ * When true, renders the component styled for use on a dark background.
10930
11008
  */
10931
- layout: {
10932
- type: String,
10933
- attribute: "layout",
10934
- reflect: true
10935
- },
10936
-
10937
- shape: {
10938
- type: String,
10939
- attribute: "shape",
10940
- reflect: true
10941
- },
10942
-
10943
- size: {
10944
- type: String,
10945
- attribute: "size",
10946
- reflect: true
10947
- },
10948
-
10949
11009
  onDark: {
10950
11010
  type: Boolean,
10951
11011
  attribute: "ondark",
10952
11012
  reflect: true
10953
11013
  }
11014
+
11015
+ // NOTE: `layout`, `shape`, and `size` are intentionally NOT declared here.
11016
+ // Their valid value sets differ per component, and the CEM analyzer roots
11017
+ // an inherited property's `type` in the class that declares it — a base
11018
+ // declaration would force every subclass's `@type` to be discarded and
11019
+ // emitted as plain `string`. Each subclass declares its own `layout` /
11020
+ // `shape` / `size` with an exact `@type` union instead. AuroElement still
11021
+ // consumes `this.layout` / `this.shape` / `this.size` in its render and
11022
+ // architecture helpers below (subclasses guarantee the reactive props).
11023
+ // See AlaskaAirlines/discussions#653.
10954
11024
  };
10955
11025
  }
10956
11026
 
@@ -16917,6 +16987,7 @@ class DomHandler {
16917
16987
  * Base class for auro-input component that provides core input functionality.
16918
16988
  * @event input - Event fires when the value of an `auro-input` has been changed.
16919
16989
  * @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` value has changed.
16990
+ * @event auroInput-validityChange - Notifies that the `validity` state of the input has changed.
16920
16991
  */
16921
16992
  class BaseInput extends AuroElement$1 {
16922
16993
 
@@ -16947,7 +17018,10 @@ class BaseInput extends AuroElement$1 {
16947
17018
  // during its own update cycle sees a populated util instance.
16948
17019
  this.activeLabel = false;
16949
17020
 
16950
- /** @private */
17021
+ /**
17022
+ * @private
17023
+ * @type {string[]}
17024
+ */
16951
17025
  this.allowedInputTypes = [
16952
17026
  "text",
16953
17027
  "number",
@@ -16956,9 +17030,14 @@ class BaseInput extends AuroElement$1 {
16956
17030
  "credit-card",
16957
17031
  "tel"
16958
17032
  ];
17033
+
17034
+ /** @type {'default' | 'inverse'} */
16959
17035
  this.appearance = "default";
16960
17036
 
16961
- /** @private */
17037
+ /**
17038
+ * @private
17039
+ * @type {Record<string, string>}
17040
+ */
16962
17041
  this.dateFormatMap = {
16963
17042
  'mm/dd/yyyy': 'dateMMDDYYYY',
16964
17043
  'dd/mm/yyyy': 'dateDDMMYYYY',
@@ -16989,7 +17068,6 @@ class BaseInput extends AuroElement$1 {
16989
17068
 
16990
17069
  /** @private */
16991
17070
  this.label = 'Input label is undefined';
16992
- this.layout = 'classic';
16993
17071
  this.locale = 'en-US';
16994
17072
  this._format = undefined;
16995
17073
 
@@ -17005,17 +17083,18 @@ class BaseInput extends AuroElement$1 {
17005
17083
  this.setCustomValidityForType = undefined;
17006
17084
  // Credit Card is intentionally excluded — its mask manages the cursor
17007
17085
  // itself, and listing it here caused cursor placement issues in Safari.
17008
- /** @private */
17086
+ /**
17087
+ * @private
17088
+ * @type {string[]}
17089
+ */
17009
17090
  this.setSelectionInputTypes = [
17010
17091
  "text",
17011
17092
  "password",
17012
17093
  "email"
17013
17094
  ];
17014
- this.shape = 'classic';
17015
17095
 
17016
17096
  /** @private */
17017
17097
  this.showPassword = false;
17018
- this.size = 'lg';
17019
17098
  this.touched = false;
17020
17099
 
17021
17100
  /** @private */
@@ -17033,6 +17112,24 @@ class BaseInput extends AuroElement$1 {
17033
17112
  /** @private */
17034
17113
  this.validationCCLength = undefined;
17035
17114
  this.value = undefined;
17115
+
17116
+ this.initializeArchitectureDefaults();
17117
+ }
17118
+
17119
+ /**
17120
+ * Sets the default `layout`, `shape`, and `size` values.
17121
+ *
17122
+ * These are assigned in a helper method rather than the constructor body so
17123
+ * the CEM analyzer keeps their `@type` string-literal unions (a literal
17124
+ * assignment in the constructor would make the analyzer infer `string` and
17125
+ * override the union — see AlaskaAirlines/discussions#653, gotcha 1).
17126
+ * @private
17127
+ * @returns {void}
17128
+ */
17129
+ initializeArchitectureDefaults() {
17130
+ this.layout = 'classic';
17131
+ this.shape = 'classic';
17132
+ this.size = 'lg';
17036
17133
  }
17037
17134
 
17038
17135
  // function to define props used within the scope of this component
@@ -17040,11 +17137,45 @@ class BaseInput extends AuroElement$1 {
17040
17137
  return {
17041
17138
  ...super.properties,
17042
17139
 
17140
+ /**
17141
+ * Sets the layout variant of the input.
17142
+ * @type {'classic' | 'emphasized' | 'emphasized-left' | 'emphasized-right' | 'snowflake' | 'snowflake-left' | 'snowflake-right'}
17143
+ * @default 'classic'
17144
+ */
17145
+ layout: {
17146
+ type: String,
17147
+ attribute: "layout",
17148
+ reflect: true
17149
+ },
17150
+
17151
+ /**
17152
+ * Sets the shape of the input.
17153
+ * @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
17154
+ * @default 'classic'
17155
+ */
17156
+ shape: {
17157
+ type: String,
17158
+ attribute: "shape",
17159
+ reflect: true
17160
+ },
17161
+
17162
+ /**
17163
+ * Sets the size of the input.
17164
+ * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
17165
+ * @default 'lg'
17166
+ */
17167
+ size: {
17168
+ type: String,
17169
+ attribute: "size",
17170
+ reflect: true
17171
+ },
17172
+
17043
17173
  /**
17044
17174
  * The value for the role attribute.
17045
17175
  */
17046
17176
  a11yRole: {
17047
17177
  type: String,
17178
+ attribute: 'a11yrole',
17048
17179
  reflect: true
17049
17180
  },
17050
17181
 
@@ -17053,6 +17184,7 @@ class BaseInput extends AuroElement$1 {
17053
17184
  */
17054
17185
  a11yControls: {
17055
17186
  type: String,
17187
+ attribute: 'a11ycontrols',
17056
17188
  reflect: true
17057
17189
  },
17058
17190
 
@@ -17061,6 +17193,7 @@ class BaseInput extends AuroElement$1 {
17061
17193
  */
17062
17194
  a11yExpanded: {
17063
17195
  type: Boolean,
17196
+ attribute: 'a11yexpanded',
17064
17197
  reflect: true
17065
17198
  },
17066
17199
 
@@ -17070,6 +17203,7 @@ class BaseInput extends AuroElement$1 {
17070
17203
  */
17071
17204
  a11yActivedescendant: {
17072
17205
  type: String,
17206
+ attribute: 'a11yactivedescendant',
17073
17207
  reflect: true
17074
17208
  },
17075
17209
 
@@ -17080,6 +17214,7 @@ class BaseInput extends AuroElement$1 {
17080
17214
  */
17081
17215
  activeLabel: {
17082
17216
  type: Boolean,
17217
+ attribute: 'activelabel',
17083
17218
  reflect: true
17084
17219
  },
17085
17220
 
@@ -17094,7 +17229,8 @@ class BaseInput extends AuroElement$1 {
17094
17229
  },
17095
17230
 
17096
17231
  /**
17097
- * An enumerated attribute that controls whether and how text input is automatically capitalized as it is entered/edited by the user. [off/none, on/sentences, words, characters].
17232
+ * An enumerated attribute that controls whether and how text input is automatically capitalized as it is entered/edited by the user.
17233
+ * @type {'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters'}
17098
17234
  */
17099
17235
  autocapitalize: {
17100
17236
  type: String,
@@ -17111,6 +17247,7 @@ class BaseInput extends AuroElement$1 {
17111
17247
 
17112
17248
  /**
17113
17249
  * When set to `off`, stops iOS from auto-correcting words when typed into a text box.
17250
+ * @type {'on' | 'off'}
17114
17251
  */
17115
17252
  autocorrect: {
17116
17253
  type: String,
@@ -17121,7 +17258,8 @@ class BaseInput extends AuroElement$1 {
17121
17258
  * Custom help text message for email type validity.
17122
17259
  */
17123
17260
  customValidityTypeEmail: {
17124
- type: String
17261
+ type: String,
17262
+ attribute: 'customvaliditytypeemail'
17125
17263
  },
17126
17264
 
17127
17265
  /**
@@ -17137,6 +17275,7 @@ class BaseInput extends AuroElement$1 {
17137
17275
  */
17138
17276
  dvInputOnly: {
17139
17277
  type: Boolean,
17278
+ attribute: 'dvinputonly',
17140
17279
  reflect: true
17141
17280
  },
17142
17281
 
@@ -17152,7 +17291,8 @@ class BaseInput extends AuroElement$1 {
17152
17291
  * Contains the help text message for the current validity error.
17153
17292
  */
17154
17293
  errorMessage: {
17155
- type: String
17294
+ type: String,
17295
+ attribute: 'errormessage'
17156
17296
  },
17157
17297
 
17158
17298
  /**
@@ -17188,6 +17328,7 @@ class BaseInput extends AuroElement$1 {
17188
17328
  */
17189
17329
  hideLabelVisually: {
17190
17330
  type: Boolean,
17331
+ attribute: 'hidelabelvisually',
17191
17332
  reflect: true
17192
17333
  },
17193
17334
 
@@ -17254,6 +17395,7 @@ class BaseInput extends AuroElement$1 {
17254
17395
  */
17255
17396
  maxLength: {
17256
17397
  type: Number,
17398
+ attribute: 'maxlength',
17257
17399
  reflect: true
17258
17400
  },
17259
17401
 
@@ -17269,6 +17411,7 @@ class BaseInput extends AuroElement$1 {
17269
17411
  */
17270
17412
  minLength: {
17271
17413
  type: Number,
17414
+ attribute: 'minlength',
17272
17415
  reflect: true
17273
17416
  },
17274
17417
 
@@ -17294,6 +17437,7 @@ class BaseInput extends AuroElement$1 {
17294
17437
  */
17295
17438
  noValidate: {
17296
17439
  type: Boolean,
17440
+ attribute: 'novalidate',
17297
17441
  reflect: true
17298
17442
  },
17299
17443
 
@@ -17302,6 +17446,7 @@ class BaseInput extends AuroElement$1 {
17302
17446
  */
17303
17447
  onDark: {
17304
17448
  type: Boolean,
17449
+ attribute: 'ondark',
17305
17450
  reflect: true
17306
17451
  },
17307
17452
 
@@ -17341,77 +17486,88 @@ class BaseInput extends AuroElement$1 {
17341
17486
  * Sets a custom help text message to display for all validityStates.
17342
17487
  */
17343
17488
  setCustomValidity: {
17344
- type: String
17489
+ type: String,
17490
+ attribute: 'setcustomvalidity'
17345
17491
  },
17346
17492
 
17347
17493
  /**
17348
17494
  * Custom help text message to display when validity = `badInput`.
17349
17495
  */
17350
17496
  setCustomValidityBadInput: {
17351
- type: String
17497
+ type: String,
17498
+ attribute: 'setcustomvaliditybadinput'
17352
17499
  },
17353
17500
 
17354
17501
  /**
17355
17502
  * Custom help text message to display when validity = `customError`.
17356
17503
  */
17357
17504
  setCustomValidityCustomError: {
17358
- type: String
17505
+ type: String,
17506
+ attribute: 'setcustomvaliditycustomerror'
17359
17507
  },
17360
17508
 
17361
17509
  /**
17362
17510
  * Custom help text message to display for the declared element `type` and type validity fails.
17363
17511
  */
17364
17512
  setCustomValidityForType: {
17365
- type: String
17513
+ type: String,
17514
+ attribute: 'setcustomvalidityfortype'
17366
17515
  },
17367
17516
 
17368
17517
  /**
17369
17518
  * Custom help text message to display when validity = `patternMismatch`.
17370
17519
  */
17371
17520
  setCustomValidityPatternMismatch: {
17372
- type: String
17521
+ type: String,
17522
+ attribute: 'setcustomvaliditypatternmismatch'
17373
17523
  },
17374
17524
 
17375
17525
  /**
17376
17526
  * Custom help text message to display when validity = `rangeOverflow`.
17377
17527
  */
17378
17528
  setCustomValidityRangeOverflow: {
17379
- type: String
17529
+ type: String,
17530
+ attribute: 'setcustomvalidityrangeoverflow'
17380
17531
  },
17381
17532
 
17382
17533
  /**
17383
17534
  * Custom help text message to display when validity = `rangeUnderflow`.
17384
17535
  */
17385
17536
  setCustomValidityRangeUnderflow: {
17386
- type: String
17537
+ type: String,
17538
+ attribute: 'setcustomvalidityrangeunderflow'
17387
17539
  },
17388
17540
 
17389
17541
  /**
17390
17542
  * Custom help text message to display when validity = `tooLong`.
17391
17543
  */
17392
17544
  setCustomValidityTooLong: {
17393
- type: String
17545
+ type: String,
17546
+ attribute: 'setcustomvaliditytoolong'
17394
17547
  },
17395
17548
 
17396
17549
  /**
17397
17550
  * Custom help text message to display when validity = `tooShort`.
17398
17551
  */
17399
17552
  setCustomValidityTooShort: {
17400
- type: String
17553
+ type: String,
17554
+ attribute: 'setcustomvaliditytooshort'
17401
17555
  },
17402
17556
 
17403
17557
  /**
17404
17558
  * Custom help text message to display when validity = `valueMissing`.
17405
17559
  */
17406
17560
  setCustomValidityValueMissing: {
17407
- type: String
17561
+ type: String,
17562
+ attribute: 'setcustomvalidityvaluemissing'
17408
17563
  },
17409
17564
 
17410
17565
  /**
17411
17566
  * @ignore
17412
17567
  */
17413
17568
  showPassword: {
17414
- state: true
17569
+ state: true,
17570
+ attribute: false
17415
17571
  },
17416
17572
 
17417
17573
  /**
@@ -17423,7 +17579,8 @@ class BaseInput extends AuroElement$1 {
17423
17579
  },
17424
17580
 
17425
17581
  /**
17426
- * An enumerated attribute defines whether the element may be checked for spelling errors. [true, false]. When set to `false` the attribute `autocorrect` is set to `off` and `autocapitalize` is set to `none`.
17582
+ * 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`.
17583
+ * @type {'true' | 'false'}
17427
17584
  */
17428
17585
  spellcheck: {
17429
17586
  type: String,
@@ -17454,7 +17611,8 @@ class BaseInput extends AuroElement$1 {
17454
17611
  * Sets validation mode to re-eval with each input.
17455
17612
  */
17456
17613
  validateOnInput: {
17457
- type: Boolean
17614
+ type: Boolean,
17615
+ attribute: 'validateoninput'
17458
17616
  },
17459
17617
 
17460
17618
  /**
@@ -18508,6 +18666,8 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
18508
18666
  super();
18509
18667
 
18510
18668
  this.error = false;
18669
+
18670
+ /** @type {'default' | 'inverse'} */
18511
18671
  this.appearance = "default";
18512
18672
  this.onDark = false;
18513
18673
  this.hasTextContent = false;
@@ -18528,8 +18688,8 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
18528
18688
  return {
18529
18689
 
18530
18690
  /**
18531
- * Defines whether the component will be on lighter or darker backgrounds.
18532
- * @property {'default', 'inverse'} - The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
18691
+ * The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
18692
+ * @type {'default' | 'inverse'}
18533
18693
  * @default 'default'
18534
18694
  */
18535
18695
  appearance: {
@@ -18542,6 +18702,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
18542
18702
  */
18543
18703
  slotNodes: {
18544
18704
  type: Boolean,
18705
+ attribute: 'slotnodes',
18545
18706
  },
18546
18707
 
18547
18708
  /**
@@ -18549,6 +18710,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
18549
18710
  */
18550
18711
  hasTextContent: {
18551
18712
  type: Boolean,
18713
+ attribute: 'hastextcontent',
18552
18714
  },
18553
18715
 
18554
18716
  /**
@@ -18564,6 +18726,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
18564
18726
  */
18565
18727
  onDark: {
18566
18728
  type: Boolean,
18729
+ attribute: 'ondark',
18567
18730
  reflect: true
18568
18731
  }
18569
18732
  };
@@ -18634,7 +18797,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
18634
18797
  }
18635
18798
  };
18636
18799
 
18637
- var formkitVersion$1 = '202608261850';
18800
+ var formkitVersion$1 = '202608300032';
18638
18801
 
18639
18802
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
18640
18803
  // See LICENSE in the project root for license information.
@@ -19648,6 +19811,9 @@ var headerVersion = '5.0.1';
19648
19811
  * @slot subheader - Slot for the subheader content.
19649
19812
  * @slot footer - Slot for the footer content.
19650
19813
  * @slot ariaLabel.close - Slot for the close button aria-label.
19814
+ * @csspart bibtemplate - The outermost bibtemplate container element.
19815
+ * @event close-click - Notifies when the close button is clicked.
19816
+ * @event auro-bibtemplate-connected - Notifies that the bibtemplate has connected to the DOM, passing a reference to the element in the event detail.
19651
19817
  */
19652
19818
  class AuroBibtemplate extends LitElement {
19653
19819
 
@@ -19687,10 +19853,19 @@ class AuroBibtemplate extends LitElement {
19687
19853
  // function to define props used within the scope of this component
19688
19854
  static get properties() {
19689
19855
  return {
19856
+
19857
+ /**
19858
+ * If declared, the bibtemplate renders in fullscreen mode, exposing the header, subheader, and footer regions.
19859
+ */
19690
19860
  isFullscreen: {
19691
19861
  type: Boolean,
19862
+ attribute: 'isfullscreen',
19692
19863
  reflect: true
19693
19864
  },
19865
+
19866
+ /**
19867
+ * If declared, the fullscreen headline renders using the larger display heading style.
19868
+ */
19694
19869
  large: {
19695
19870
  type: Boolean,
19696
19871
  reflect: true
@@ -19701,6 +19876,7 @@ class AuroBibtemplate extends LitElement {
19701
19876
  */
19702
19877
  showFooter: {
19703
19878
  type: Boolean,
19879
+ attribute: 'showfooter',
19704
19880
  reflect: true
19705
19881
  }
19706
19882
  };
@@ -19813,7 +19989,7 @@ class AuroBibtemplate extends LitElement {
19813
19989
  }
19814
19990
  }
19815
19991
 
19816
- var formkitVersion = '202608261850';
19992
+ var formkitVersion = '202608300032';
19817
19993
 
19818
19994
  var styleCss$1 = css`.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}`;
19819
19995
 
@@ -19821,37 +19997,37 @@ var styleEmphasizedCss = css`:host([layout*=emphasized][shape*=pill]) [auro-inpu
19821
19997
 
19822
19998
  var styleSnowflakeCss = css`:host([layout*=snowflake][shape*=snowflake]) [auro-input]{width:100%}:host([layout*=snowflake][shape*=snowflake]) [auro-input]::part(inputHelpText){display:none}:host([layout*=snowflake][shape*=snowflake])::part(helpText){text-align:center}`;
19823
19999
 
20000
+ /**
20001
+ * AuroElement is the shared base class for layout-aware Auro form components.
20002
+ *
20003
+ * It defines the common `layout`, `shape`, `size`, and `ondark` reactive
20004
+ * properties and the architecture helpers (`renderLayout`, `resetShapeClasses`,
20005
+ * `resetLayoutClasses`) that subclasses use to render a chosen layout and apply
20006
+ * the matching `shape-*` / `layout-*` wrapper classes. Subclasses supply their
20007
+ * own default and valid value set for `layout`, `shape`, and `size`.
20008
+ */
19824
20009
  class AuroElement extends LitElement {
19825
20010
  static get properties() {
19826
20011
  return {
19827
20012
 
19828
20013
  /**
19829
- * Defines the language of an element.
19830
- * @default {'default'}
20014
+ * When true, renders the component styled for use on a dark background.
19831
20015
  */
19832
- layout: {
19833
- type: String,
19834
- attribute: "layout",
19835
- reflect: true
19836
- },
19837
-
19838
- shape: {
19839
- type: String,
19840
- attribute: "shape",
19841
- reflect: true
19842
- },
19843
-
19844
- size: {
19845
- type: String,
19846
- attribute: "size",
19847
- reflect: true
19848
- },
19849
-
19850
20016
  onDark: {
19851
20017
  type: Boolean,
19852
20018
  attribute: "ondark",
19853
20019
  reflect: true
19854
20020
  }
20021
+
20022
+ // NOTE: `layout`, `shape`, and `size` are intentionally NOT declared here.
20023
+ // Their valid value sets differ per component, and the CEM analyzer roots
20024
+ // an inherited property's `type` in the class that declares it — a base
20025
+ // declaration would force every subclass's `@type` to be discarded and
20026
+ // emitted as plain `string`. Each subclass declares its own `layout` /
20027
+ // `shape` / `size` with an exact `@type` union instead. AuroElement still
20028
+ // consumes `this.layout` / `this.shape` / `this.size` in its render and
20029
+ // architecture helpers below (subclasses guarantee the reactive props).
20030
+ // See AlaskaAirlines/discussions#653.
19855
20031
  };
19856
20032
  }
19857
20033
 
@@ -20027,6 +20203,8 @@ class AuroHelpText extends LitElement {
20027
20203
  super();
20028
20204
 
20029
20205
  this.error = false;
20206
+
20207
+ /** @type {'default' | 'inverse'} */
20030
20208
  this.appearance = "default";
20031
20209
  this.onDark = false;
20032
20210
  this.hasTextContent = false;
@@ -20047,8 +20225,8 @@ class AuroHelpText extends LitElement {
20047
20225
  return {
20048
20226
 
20049
20227
  /**
20050
- * Defines whether the component will be on lighter or darker backgrounds.
20051
- * @property {'default', 'inverse'} - The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
20228
+ * The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
20229
+ * @type {'default' | 'inverse'}
20052
20230
  * @default 'default'
20053
20231
  */
20054
20232
  appearance: {
@@ -20061,6 +20239,7 @@ class AuroHelpText extends LitElement {
20061
20239
  */
20062
20240
  slotNodes: {
20063
20241
  type: Boolean,
20242
+ attribute: 'slotnodes',
20064
20243
  },
20065
20244
 
20066
20245
  /**
@@ -20068,6 +20247,7 @@ class AuroHelpText extends LitElement {
20068
20247
  */
20069
20248
  hasTextContent: {
20070
20249
  type: Boolean,
20250
+ attribute: 'hastextcontent',
20071
20251
  },
20072
20252
 
20073
20253
  /**
@@ -20083,6 +20263,7 @@ class AuroHelpText extends LitElement {
20083
20263
  */
20084
20264
  onDark: {
20085
20265
  type: Boolean,
20266
+ attribute: 'ondark',
20086
20267
  reflect: true
20087
20268
  }
20088
20269
  };
@@ -20213,6 +20394,7 @@ function getOptionLabel(option) {
20213
20394
  * @slot label - Defines the content of the label.
20214
20395
  * @slot helpText - Defines the content of the helpText.
20215
20396
  * @slot displayValue - Allows custom HTML content to display the selected value when the combobox is not focused. Only works with `snowflake` and `emphasized` layouts.
20397
+ * @csspart helpText - The help text and error message content container.
20216
20398
  * @event auroCombobox-valueSet - (Deprecated) Notifies that the component has a new value set.
20217
20399
  * @event input - Notifies that the component has a new value set.
20218
20400
  * @event inputValue - Notifies that the components internal HTML5 input value has changed.
@@ -20232,6 +20414,7 @@ class AuroCombobox extends AuroElement {
20232
20414
  */
20233
20415
  _initializeDefaults() {
20234
20416
  // Defaults that effect the combobox behavior and state
20417
+ /** @type {'default' | 'inverse'} */
20235
20418
  this.appearance = "default";
20236
20419
  this.disabled = false;
20237
20420
  this.msgSelectionMissing = 'Please select an option.';
@@ -20317,7 +20500,7 @@ class AuroCombobox extends AuroElement {
20317
20500
 
20318
20501
  /**
20319
20502
  * Defines whether the component will be on lighter or darker backgrounds.
20320
- * @property {'default' | 'inverse'} appearance - The visual appearance of the component.
20503
+ * @type {'default' | 'inverse'}
20321
20504
  * @default 'default'
20322
20505
  */
20323
20506
  appearance: {
@@ -20338,6 +20521,7 @@ class AuroCombobox extends AuroElement {
20338
20521
  */
20339
20522
  autoPlacement: {
20340
20523
  type: Boolean,
20524
+ attribute: 'autoplacement',
20341
20525
  reflect: true
20342
20526
  },
20343
20527
 
@@ -20345,9 +20529,11 @@ class AuroCombobox extends AuroElement {
20345
20529
  * Array of available options to display in the dropdown.
20346
20530
  * This array contains all non-hidden options (e.g., hidden by filtering on input value).
20347
20531
  * @private
20532
+ * @type {HTMLElement[]}
20348
20533
  */
20349
20534
  availableOptions: {
20350
20535
  state: true,
20536
+ attribute: false,
20351
20537
  type: Array,
20352
20538
  reflect: false,
20353
20539
  hasChanged(newVal, oldVal) {
@@ -20417,6 +20603,7 @@ class AuroCombobox extends AuroElement {
20417
20603
  */
20418
20604
  dvInputOnly: {
20419
20605
  type: Boolean,
20606
+ attribute: 'dvinputonly',
20420
20607
  reflect: true
20421
20608
  },
20422
20609
 
@@ -20450,6 +20637,29 @@ class AuroCombobox extends AuroElement {
20450
20637
  */
20451
20638
  layout: {
20452
20639
  type: String,
20640
+ attribute: "layout",
20641
+ reflect: true
20642
+ },
20643
+
20644
+ /**
20645
+ * Sets the shape of the combobox.
20646
+ * @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
20647
+ * @default 'classic'
20648
+ */
20649
+ shape: {
20650
+ type: String,
20651
+ attribute: "shape",
20652
+ reflect: true
20653
+ },
20654
+
20655
+ /**
20656
+ * Sets the size of the combobox.
20657
+ * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
20658
+ * @default 'xl'
20659
+ */
20660
+ size: {
20661
+ type: String,
20662
+ attribute: "size",
20453
20663
  reflect: true
20454
20664
  },
20455
20665
 
@@ -20459,6 +20669,7 @@ class AuroCombobox extends AuroElement {
20459
20669
  */
20460
20670
  matchWidth: {
20461
20671
  type: Boolean,
20672
+ attribute: 'matchwidth',
20462
20673
  reflect: true
20463
20674
  },
20464
20675
 
@@ -20467,6 +20678,7 @@ class AuroCombobox extends AuroElement {
20467
20678
  */
20468
20679
  noFilter: {
20469
20680
  type: Boolean,
20681
+ attribute: 'nofilter',
20470
20682
  reflect: true
20471
20683
  },
20472
20684
 
@@ -20476,6 +20688,7 @@ class AuroCombobox extends AuroElement {
20476
20688
  */
20477
20689
  noFlip: {
20478
20690
  type: Boolean,
20691
+ attribute: 'noflip',
20479
20692
  reflect: true
20480
20693
  },
20481
20694
 
@@ -20492,6 +20705,7 @@ class AuroCombobox extends AuroElement {
20492
20705
  */
20493
20706
  noValidate: {
20494
20707
  type: Boolean,
20708
+ attribute: 'novalidate',
20495
20709
  reflect: true
20496
20710
  },
20497
20711
 
@@ -20509,6 +20723,7 @@ class AuroCombobox extends AuroElement {
20509
20723
  */
20510
20724
  onDark: {
20511
20725
  type: Boolean,
20726
+ attribute: 'ondark',
20512
20727
  reflect: true
20513
20728
  },
20514
20729
 
@@ -20517,7 +20732,8 @@ class AuroCombobox extends AuroElement {
20517
20732
  * @type {HTMLElement}
20518
20733
  */
20519
20734
  optionSelected: {
20520
- type: Object
20735
+ type: Object,
20736
+ attribute: 'optionselected'
20521
20737
  },
20522
20738
 
20523
20739
  /**
@@ -20527,6 +20743,7 @@ class AuroCombobox extends AuroElement {
20527
20743
  */
20528
20744
  persistInput: {
20529
20745
  type: Boolean,
20746
+ attribute: 'persistinput',
20530
20747
  reflect: true
20531
20748
  },
20532
20749
 
@@ -20560,28 +20777,32 @@ class AuroCombobox extends AuroElement {
20560
20777
  * Sets a custom help text message to display for all validityStates.
20561
20778
  */
20562
20779
  setCustomValidity: {
20563
- type: String
20780
+ type: String,
20781
+ attribute: 'setcustomvalidity'
20564
20782
  },
20565
20783
 
20566
20784
  /**
20567
20785
  * Custom help text message to display when validity = `customError`.
20568
20786
  */
20569
20787
  setCustomValidityCustomError: {
20570
- type: String
20788
+ type: String,
20789
+ attribute: 'setcustomvaliditycustomerror'
20571
20790
  },
20572
20791
 
20573
20792
  /**
20574
20793
  * Custom help text message to display when validity = `valueMissing`.
20575
20794
  */
20576
20795
  setCustomValidityValueMissing: {
20577
- type: String
20796
+ type: String,
20797
+ attribute: 'setcustomvalidityvaluemissing'
20578
20798
  },
20579
20799
 
20580
20800
  /**
20581
20801
  * Custom help text message to display when validity = `valueMissing` due to the user not choosing a menu option when behavior = "filter".
20582
20802
  */
20583
20803
  setCustomValidityValueMissingFilter: {
20584
- type: String
20804
+ type: String,
20805
+ attribute: 'setcustomvalidityvaluemissingfilter'
20585
20806
  },
20586
20807
 
20587
20808
  /**
@@ -20601,11 +20822,13 @@ class AuroCombobox extends AuroElement {
20601
20822
  */
20602
20823
  triggerIcon: {
20603
20824
  type: Boolean,
20825
+ attribute: 'triggericon',
20604
20826
  reflect: true
20605
20827
  },
20606
20828
 
20607
20829
  /**
20608
20830
  * Applies the defined value as the type attribute on `auro-input`.
20831
+ * @type {'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number' | 'date'}
20609
20832
  */
20610
20833
  type: {
20611
20834
  type: String,
@@ -20617,6 +20840,7 @@ class AuroCombobox extends AuroElement {
20617
20840
  */
20618
20841
  typedValue: {
20619
20842
  type: String,
20843
+ attribute: 'typedvalue',
20620
20844
  reflect: true
20621
20845
  },
20622
20846
 
@@ -20642,6 +20866,7 @@ class AuroCombobox extends AuroElement {
20642
20866
  */
20643
20867
  largeFullscreenHeadline: {
20644
20868
  type: Boolean,
20869
+ attribute: 'largefullscreenheadline',
20645
20870
  reflect: true
20646
20871
  },
20647
20872
  /* eslint-enable jsdoc/require-description-complete-sentence */
@@ -20656,12 +20881,14 @@ class AuroCombobox extends AuroElement {
20656
20881
  */
20657
20882
  fullscreenBreakpoint: {
20658
20883
  type: String,
20884
+ attribute: "fullscreenbreakpoint",
20659
20885
  reflect: true
20660
20886
  },
20661
20887
 
20662
20888
  /**
20663
20889
  * Specifies the currently active option.
20664
20890
  * @private
20891
+ * @type {HTMLElement}
20665
20892
  */
20666
20893
  optionActive: {
20667
20894
  type: Object,