@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
|
@@ -200,6 +200,10 @@ let AuroLibraryRuntimeUtils$4 = class AuroLibraryRuntimeUtils {
|
|
|
200
200
|
// See LICENSE in the project root for license information.
|
|
201
201
|
|
|
202
202
|
|
|
203
|
+
/**
|
|
204
|
+
* The `auro-counter-button` element provides the increment and decrement control button used within an `auro-counter`.
|
|
205
|
+
* @customElement auro-counter-button
|
|
206
|
+
*/
|
|
203
207
|
class AuroCounterButton extends T$1 {
|
|
204
208
|
|
|
205
209
|
constructor() {
|
|
@@ -991,6 +995,8 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
991
995
|
super();
|
|
992
996
|
|
|
993
997
|
this.error = false;
|
|
998
|
+
|
|
999
|
+
/** @type {'default' | 'inverse'} */
|
|
994
1000
|
this.appearance = "default";
|
|
995
1001
|
this.onDark = false;
|
|
996
1002
|
this.hasTextContent = false;
|
|
@@ -1011,8 +1017,8 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1011
1017
|
return {
|
|
1012
1018
|
|
|
1013
1019
|
/**
|
|
1014
|
-
*
|
|
1015
|
-
* @
|
|
1020
|
+
* The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
|
|
1021
|
+
* @type {'default' | 'inverse'}
|
|
1016
1022
|
* @default 'default'
|
|
1017
1023
|
*/
|
|
1018
1024
|
appearance: {
|
|
@@ -1025,6 +1031,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1025
1031
|
*/
|
|
1026
1032
|
slotNodes: {
|
|
1027
1033
|
type: Boolean,
|
|
1034
|
+
attribute: 'slotnodes',
|
|
1028
1035
|
},
|
|
1029
1036
|
|
|
1030
1037
|
/**
|
|
@@ -1032,6 +1039,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1032
1039
|
*/
|
|
1033
1040
|
hasTextContent: {
|
|
1034
1041
|
type: Boolean,
|
|
1042
|
+
attribute: 'hastextcontent',
|
|
1035
1043
|
},
|
|
1036
1044
|
|
|
1037
1045
|
/**
|
|
@@ -1047,6 +1055,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1047
1055
|
*/
|
|
1048
1056
|
onDark: {
|
|
1049
1057
|
type: Boolean,
|
|
1058
|
+
attribute: 'ondark',
|
|
1050
1059
|
reflect: true
|
|
1051
1060
|
}
|
|
1052
1061
|
};
|
|
@@ -1117,7 +1126,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1117
1126
|
}
|
|
1118
1127
|
};
|
|
1119
1128
|
|
|
1120
|
-
var formkitVersion$1 = '
|
|
1129
|
+
var formkitVersion$1 = '202608291822';
|
|
1121
1130
|
|
|
1122
1131
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
1123
1132
|
// See LICENSE in the project root for license information.
|
|
@@ -1155,6 +1164,13 @@ const keyboardStrategy = {
|
|
|
1155
1164
|
* @slot ariaLabel.plus - Accessible label for the increment button.
|
|
1156
1165
|
* @slot helpText - Help text content for the counter.
|
|
1157
1166
|
* @slot description - Descriptive content for the counter.
|
|
1167
|
+
*
|
|
1168
|
+
* @csspart counterControl - The container for the counter's spinbutton controls and value.
|
|
1169
|
+
* @csspart controlMinus - The decrement button.
|
|
1170
|
+
* @csspart controlPlus - The increment button.
|
|
1171
|
+
* @csspart helpText - The help text and error message container.
|
|
1172
|
+
*
|
|
1173
|
+
* @event input - Notifies that the counter's value has changed.
|
|
1158
1174
|
*/
|
|
1159
1175
|
class AuroCounter extends i$2 {
|
|
1160
1176
|
static get shadowRootOptions() {
|
|
@@ -1266,7 +1282,8 @@ class AuroCounter extends i$2 {
|
|
|
1266
1282
|
* @private
|
|
1267
1283
|
*/
|
|
1268
1284
|
defaultSlot: {
|
|
1269
|
-
type: String
|
|
1285
|
+
type: String,
|
|
1286
|
+
attribute: "defaultslot"
|
|
1270
1287
|
},
|
|
1271
1288
|
|
|
1272
1289
|
/**
|
|
@@ -1282,7 +1299,8 @@ class AuroCounter extends i$2 {
|
|
|
1282
1299
|
* @private
|
|
1283
1300
|
*/
|
|
1284
1301
|
disableMax: {
|
|
1285
|
-
type: Boolean
|
|
1302
|
+
type: Boolean,
|
|
1303
|
+
attribute: "disablemax"
|
|
1286
1304
|
},
|
|
1287
1305
|
|
|
1288
1306
|
/**
|
|
@@ -1290,7 +1308,8 @@ class AuroCounter extends i$2 {
|
|
|
1290
1308
|
* @private
|
|
1291
1309
|
*/
|
|
1292
1310
|
disableMin: {
|
|
1293
|
-
type: Boolean
|
|
1311
|
+
type: Boolean,
|
|
1312
|
+
attribute: "disablemin"
|
|
1294
1313
|
},
|
|
1295
1314
|
|
|
1296
1315
|
/**
|
|
@@ -1323,6 +1342,7 @@ class AuroCounter extends i$2 {
|
|
|
1323
1342
|
*/
|
|
1324
1343
|
onDark: {
|
|
1325
1344
|
type: Boolean,
|
|
1345
|
+
attribute: "ondark",
|
|
1326
1346
|
reflect: true
|
|
1327
1347
|
},
|
|
1328
1348
|
|
|
@@ -4699,8 +4719,11 @@ const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
|
|
|
4699
4719
|
];
|
|
4700
4720
|
|
|
4701
4721
|
/**
|
|
4722
|
+
* The `auro-dropdownbib` element renders the dropdown's bib as a dialog/popover container and manages its fullscreen and modal display.
|
|
4702
4723
|
* @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.
|
|
4703
4724
|
* @csspart bibContainer - Apply css to the bib container.
|
|
4725
|
+
* @event auro-dropdownbib-connected - Notifies that the dropdown bib has connected to the DOM, passing a reference to the element in the event detail.
|
|
4726
|
+
* @event auro-bib-cancel - Notifies that the bib was cancelled (e.g. via the ESC key) so parent components can close it.
|
|
4704
4727
|
*/
|
|
4705
4728
|
|
|
4706
4729
|
class AuroDropdownBib extends i$2 {
|
|
@@ -4715,9 +4738,17 @@ class AuroDropdownBib extends i$2 {
|
|
|
4715
4738
|
|
|
4716
4739
|
AuroLibraryRuntimeUtils$1.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
|
|
4717
4740
|
|
|
4718
|
-
this.shape = "rounded";
|
|
4719
4741
|
this.matchWidth = false;
|
|
4720
4742
|
this.hasActiveDescendant = false;
|
|
4743
|
+
|
|
4744
|
+
this.initializeArchitectureDefaults();
|
|
4745
|
+
}
|
|
4746
|
+
|
|
4747
|
+
// The `shape` default is set in a helper (not the constructor body) so the CEM
|
|
4748
|
+
// analyzer keeps its `@type` union instead of inferring `string` from a
|
|
4749
|
+
// constructor-literal assignment. See AlaskaAirlines/discussions#653.
|
|
4750
|
+
initializeArchitectureDefaults() {
|
|
4751
|
+
this.shape = "rounded";
|
|
4721
4752
|
}
|
|
4722
4753
|
|
|
4723
4754
|
static get styles() {
|
|
@@ -4736,6 +4767,7 @@ class AuroDropdownBib extends i$2 {
|
|
|
4736
4767
|
*/
|
|
4737
4768
|
isFullscreen: {
|
|
4738
4769
|
type: Boolean,
|
|
4770
|
+
attribute: 'isfullscreen',
|
|
4739
4771
|
reflect: true
|
|
4740
4772
|
},
|
|
4741
4773
|
|
|
@@ -4761,6 +4793,7 @@ class AuroDropdownBib extends i$2 {
|
|
|
4761
4793
|
*/
|
|
4762
4794
|
matchWidth: {
|
|
4763
4795
|
type: Boolean,
|
|
4796
|
+
attribute: 'matchwidth',
|
|
4764
4797
|
reflect: true
|
|
4765
4798
|
},
|
|
4766
4799
|
|
|
@@ -4776,11 +4809,18 @@ class AuroDropdownBib extends i$2 {
|
|
|
4776
4809
|
* A reference to the associated bib template element.
|
|
4777
4810
|
*/
|
|
4778
4811
|
bibTemplate: {
|
|
4779
|
-
type: Object
|
|
4812
|
+
type: Object,
|
|
4813
|
+
attribute: 'bibtemplate'
|
|
4780
4814
|
},
|
|
4781
4815
|
|
|
4816
|
+
/**
|
|
4817
|
+
* Sets the shape of the dropdown bib.
|
|
4818
|
+
* @type {'box' | 'classic' | 'pill' | 'rounded' | 'snowflake'}
|
|
4819
|
+
* @default 'rounded'
|
|
4820
|
+
*/
|
|
4782
4821
|
shape: {
|
|
4783
4822
|
type: String,
|
|
4823
|
+
attribute: "shape",
|
|
4784
4824
|
reflect: true
|
|
4785
4825
|
},
|
|
4786
4826
|
|
|
@@ -4792,7 +4832,8 @@ class AuroDropdownBib extends i$2 {
|
|
|
4792
4832
|
* @private
|
|
4793
4833
|
*/
|
|
4794
4834
|
dialogLabel: {
|
|
4795
|
-
type: String
|
|
4835
|
+
type: String,
|
|
4836
|
+
attribute: 'dialoglabel'
|
|
4796
4837
|
},
|
|
4797
4838
|
|
|
4798
4839
|
/**
|
|
@@ -4803,7 +4844,8 @@ class AuroDropdownBib extends i$2 {
|
|
|
4803
4844
|
* @private
|
|
4804
4845
|
*/
|
|
4805
4846
|
dialogRole: {
|
|
4806
|
-
type: String
|
|
4847
|
+
type: String,
|
|
4848
|
+
attribute: 'dialogrole'
|
|
4807
4849
|
},
|
|
4808
4850
|
|
|
4809
4851
|
/**
|
|
@@ -4811,7 +4853,8 @@ class AuroDropdownBib extends i$2 {
|
|
|
4811
4853
|
* @private
|
|
4812
4854
|
*/
|
|
4813
4855
|
hasActiveDescendant: {
|
|
4814
|
-
type: Boolean
|
|
4856
|
+
type: Boolean,
|
|
4857
|
+
attribute: 'hasactivedescendant'
|
|
4815
4858
|
}
|
|
4816
4859
|
};
|
|
4817
4860
|
}
|
|
@@ -5162,6 +5205,8 @@ class AuroHelpText extends i$2 {
|
|
|
5162
5205
|
super();
|
|
5163
5206
|
|
|
5164
5207
|
this.error = false;
|
|
5208
|
+
|
|
5209
|
+
/** @type {'default' | 'inverse'} */
|
|
5165
5210
|
this.appearance = "default";
|
|
5166
5211
|
this.onDark = false;
|
|
5167
5212
|
this.hasTextContent = false;
|
|
@@ -5182,8 +5227,8 @@ class AuroHelpText extends i$2 {
|
|
|
5182
5227
|
return {
|
|
5183
5228
|
|
|
5184
5229
|
/**
|
|
5185
|
-
*
|
|
5186
|
-
* @
|
|
5230
|
+
* The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
|
|
5231
|
+
* @type {'default' | 'inverse'}
|
|
5187
5232
|
* @default 'default'
|
|
5188
5233
|
*/
|
|
5189
5234
|
appearance: {
|
|
@@ -5196,6 +5241,7 @@ class AuroHelpText extends i$2 {
|
|
|
5196
5241
|
*/
|
|
5197
5242
|
slotNodes: {
|
|
5198
5243
|
type: Boolean,
|
|
5244
|
+
attribute: 'slotnodes',
|
|
5199
5245
|
},
|
|
5200
5246
|
|
|
5201
5247
|
/**
|
|
@@ -5203,6 +5249,7 @@ class AuroHelpText extends i$2 {
|
|
|
5203
5249
|
*/
|
|
5204
5250
|
hasTextContent: {
|
|
5205
5251
|
type: Boolean,
|
|
5252
|
+
attribute: 'hastextcontent',
|
|
5206
5253
|
},
|
|
5207
5254
|
|
|
5208
5255
|
/**
|
|
@@ -5218,6 +5265,7 @@ class AuroHelpText extends i$2 {
|
|
|
5218
5265
|
*/
|
|
5219
5266
|
onDark: {
|
|
5220
5267
|
type: Boolean,
|
|
5268
|
+
attribute: 'ondark',
|
|
5221
5269
|
reflect: true
|
|
5222
5270
|
}
|
|
5223
5271
|
};
|
|
@@ -5288,39 +5336,39 @@ class AuroHelpText extends i$2 {
|
|
|
5288
5336
|
}
|
|
5289
5337
|
}
|
|
5290
5338
|
|
|
5291
|
-
var formkitVersion = '
|
|
5339
|
+
var formkitVersion = '202608291822';
|
|
5292
5340
|
|
|
5341
|
+
/**
|
|
5342
|
+
* AuroElement is the shared base class for layout-aware Auro form components.
|
|
5343
|
+
*
|
|
5344
|
+
* It defines the common `layout`, `shape`, `size`, and `ondark` reactive
|
|
5345
|
+
* properties and the architecture helpers (`renderLayout`, `resetShapeClasses`,
|
|
5346
|
+
* `resetLayoutClasses`) that subclasses use to render a chosen layout and apply
|
|
5347
|
+
* the matching `shape-*` / `layout-*` wrapper classes. Subclasses supply their
|
|
5348
|
+
* own default and valid value set for `layout`, `shape`, and `size`.
|
|
5349
|
+
*/
|
|
5293
5350
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
5294
5351
|
static get properties() {
|
|
5295
5352
|
return {
|
|
5296
5353
|
|
|
5297
5354
|
/**
|
|
5298
|
-
*
|
|
5299
|
-
* @default {'default'}
|
|
5355
|
+
* When true, renders the component styled for use on a dark background.
|
|
5300
5356
|
*/
|
|
5301
|
-
layout: {
|
|
5302
|
-
type: String,
|
|
5303
|
-
attribute: "layout",
|
|
5304
|
-
reflect: true
|
|
5305
|
-
},
|
|
5306
|
-
|
|
5307
|
-
shape: {
|
|
5308
|
-
type: String,
|
|
5309
|
-
attribute: "shape",
|
|
5310
|
-
reflect: true
|
|
5311
|
-
},
|
|
5312
|
-
|
|
5313
|
-
size: {
|
|
5314
|
-
type: String,
|
|
5315
|
-
attribute: "size",
|
|
5316
|
-
reflect: true
|
|
5317
|
-
},
|
|
5318
|
-
|
|
5319
5357
|
onDark: {
|
|
5320
5358
|
type: Boolean,
|
|
5321
5359
|
attribute: "ondark",
|
|
5322
5360
|
reflect: true
|
|
5323
5361
|
}
|
|
5362
|
+
|
|
5363
|
+
// NOTE: `layout`, `shape`, and `size` are intentionally NOT declared here.
|
|
5364
|
+
// Their valid value sets differ per component, and the CEM analyzer roots
|
|
5365
|
+
// an inherited property's `type` in the class that declares it — a base
|
|
5366
|
+
// declaration would force every subclass's `@type` to be discarded and
|
|
5367
|
+
// emitted as plain `string`. Each subclass declares its own `layout` /
|
|
5368
|
+
// `shape` / `size` with an exact `@type` union instead. AuroElement still
|
|
5369
|
+
// consumes `this.layout` / `this.shape` / `this.size` in its render and
|
|
5370
|
+
// architecture helpers below (subclasses guarantee the reactive props).
|
|
5371
|
+
// See AlaskaAirlines/discussions#653.
|
|
5324
5372
|
};
|
|
5325
5373
|
}
|
|
5326
5374
|
|
|
@@ -5406,6 +5454,7 @@ let AuroElement$1 = class AuroElement extends i$2 {
|
|
|
5406
5454
|
* @slot helpText - Defines the content of the helpText.
|
|
5407
5455
|
* @slot trigger - Defines the content of the trigger.
|
|
5408
5456
|
* @csspart trigger - The trigger content container.
|
|
5457
|
+
* @csspart wrapper - The trigger wrapper element surrounding the trigger content and chevron.
|
|
5409
5458
|
* @csspart chevron - The collapsed/expanded state icon container.
|
|
5410
5459
|
* @csspart size - The size of the dropdown bib. (height, width, maxHeight, maxWidth only)
|
|
5411
5460
|
* @csspart helpText - The helpText content container.
|
|
@@ -5430,7 +5479,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5430
5479
|
|
|
5431
5480
|
/**
|
|
5432
5481
|
* When true, the dropdown skips its generic focus restoration on close.
|
|
5433
|
-
* Set by consumers (
|
|
5482
|
+
* Set by consumers (for example combobox) that manage their own focus routing
|
|
5434
5483
|
* via setClearBtnFocus / setInputFocus / keyboard strategy.
|
|
5435
5484
|
* Separate from noHideOnThisFocusLoss (which controls auto-close behavior).
|
|
5436
5485
|
* @private
|
|
@@ -5599,7 +5648,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5599
5648
|
/**
|
|
5600
5649
|
* Focus the trigger content. When the trigger wrapper itself is focusable
|
|
5601
5650
|
* (has tabindex), focus it directly. Otherwise, focus the first focusable
|
|
5602
|
-
* element slotted into the trigger slot (
|
|
5651
|
+
* element slotted into the trigger slot (for example the auro-input).
|
|
5603
5652
|
* @private
|
|
5604
5653
|
*/
|
|
5605
5654
|
focusTrigger() {
|
|
@@ -5696,6 +5745,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5696
5745
|
*/
|
|
5697
5746
|
autoPlacement: {
|
|
5698
5747
|
type: Boolean,
|
|
5748
|
+
attribute: 'autoplacement',
|
|
5699
5749
|
reflect: true
|
|
5700
5750
|
},
|
|
5701
5751
|
|
|
@@ -5704,6 +5754,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5704
5754
|
*/
|
|
5705
5755
|
desktopModal: {
|
|
5706
5756
|
type: Boolean,
|
|
5757
|
+
attribute: 'desktopmodal',
|
|
5707
5758
|
reflect: true
|
|
5708
5759
|
},
|
|
5709
5760
|
|
|
@@ -5712,6 +5763,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5712
5763
|
*/
|
|
5713
5764
|
disableEventShow: {
|
|
5714
5765
|
type: Boolean,
|
|
5766
|
+
attribute: 'disableeventshow',
|
|
5715
5767
|
reflect: true
|
|
5716
5768
|
},
|
|
5717
5769
|
|
|
@@ -5745,14 +5797,16 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5745
5797
|
*/
|
|
5746
5798
|
disableKeyboardHandling: {
|
|
5747
5799
|
type: Boolean,
|
|
5800
|
+
attribute: 'disablekeyboardhandling',
|
|
5748
5801
|
reflect: true
|
|
5749
5802
|
},
|
|
5750
5803
|
|
|
5751
5804
|
/**
|
|
5752
|
-
*
|
|
5805
|
+
* Sets the width of the dropdown bib in pixels.
|
|
5753
5806
|
*/
|
|
5754
5807
|
dropdownWidth: {
|
|
5755
|
-
type: Number
|
|
5808
|
+
type: Number,
|
|
5809
|
+
attribute: 'dropdownwidth'
|
|
5756
5810
|
},
|
|
5757
5811
|
|
|
5758
5812
|
/**
|
|
@@ -5777,7 +5831,8 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5777
5831
|
* Contains the help text message for the current validity error.
|
|
5778
5832
|
*/
|
|
5779
5833
|
errorMessage: {
|
|
5780
|
-
type: String
|
|
5834
|
+
type: String,
|
|
5835
|
+
attribute: 'errormessage'
|
|
5781
5836
|
},
|
|
5782
5837
|
|
|
5783
5838
|
/**
|
|
@@ -5785,6 +5840,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5785
5840
|
*/
|
|
5786
5841
|
focusShow: {
|
|
5787
5842
|
type: Boolean,
|
|
5843
|
+
attribute: 'focusshow',
|
|
5788
5844
|
reflect: true
|
|
5789
5845
|
},
|
|
5790
5846
|
|
|
@@ -5802,6 +5858,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5802
5858
|
*/
|
|
5803
5859
|
isBibFullscreen: {
|
|
5804
5860
|
type: Boolean,
|
|
5861
|
+
attribute: 'isbibfullscreen',
|
|
5805
5862
|
reflect: true
|
|
5806
5863
|
},
|
|
5807
5864
|
|
|
@@ -5810,6 +5867,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5810
5867
|
*/
|
|
5811
5868
|
hoverToggle: {
|
|
5812
5869
|
type: Boolean,
|
|
5870
|
+
attribute: 'hovertoggle',
|
|
5813
5871
|
reflect: true
|
|
5814
5872
|
},
|
|
5815
5873
|
|
|
@@ -5817,7 +5875,8 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5817
5875
|
* @private
|
|
5818
5876
|
*/
|
|
5819
5877
|
hasTriggerContent: {
|
|
5820
|
-
type: Boolean
|
|
5878
|
+
type: Boolean,
|
|
5879
|
+
attribute: 'hastriggercontent'
|
|
5821
5880
|
},
|
|
5822
5881
|
|
|
5823
5882
|
/**
|
|
@@ -5830,6 +5889,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5830
5889
|
*/
|
|
5831
5890
|
fullscreenBreakpoint: {
|
|
5832
5891
|
type: String,
|
|
5892
|
+
attribute: "fullscreenbreakpoint",
|
|
5833
5893
|
reflect: true
|
|
5834
5894
|
},
|
|
5835
5895
|
|
|
@@ -5840,6 +5900,27 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5840
5900
|
*/
|
|
5841
5901
|
layout: {
|
|
5842
5902
|
type: String,
|
|
5903
|
+
attribute: "layout",
|
|
5904
|
+
reflect: true
|
|
5905
|
+
},
|
|
5906
|
+
|
|
5907
|
+
/**
|
|
5908
|
+
* Sets the shape of the dropdown.
|
|
5909
|
+
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
5910
|
+
*/
|
|
5911
|
+
shape: {
|
|
5912
|
+
type: String,
|
|
5913
|
+
attribute: "shape",
|
|
5914
|
+
reflect: true
|
|
5915
|
+
},
|
|
5916
|
+
|
|
5917
|
+
/**
|
|
5918
|
+
* Sets the size of the dropdown.
|
|
5919
|
+
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
5920
|
+
*/
|
|
5921
|
+
size: {
|
|
5922
|
+
type: String,
|
|
5923
|
+
attribute: "size",
|
|
5843
5924
|
reflect: true
|
|
5844
5925
|
},
|
|
5845
5926
|
|
|
@@ -5849,6 +5930,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5849
5930
|
*/
|
|
5850
5931
|
parentBorder: {
|
|
5851
5932
|
type: Boolean,
|
|
5933
|
+
attribute: 'parentborder',
|
|
5852
5934
|
reflect: true
|
|
5853
5935
|
},
|
|
5854
5936
|
|
|
@@ -5857,6 +5939,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5857
5939
|
*/
|
|
5858
5940
|
matchWidth: {
|
|
5859
5941
|
type: Boolean,
|
|
5942
|
+
attribute: 'matchwidth',
|
|
5860
5943
|
reflect: true
|
|
5861
5944
|
},
|
|
5862
5945
|
|
|
@@ -5866,6 +5949,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5866
5949
|
*/
|
|
5867
5950
|
noFlip: {
|
|
5868
5951
|
type: Boolean,
|
|
5952
|
+
attribute: 'noflip',
|
|
5869
5953
|
reflect: true
|
|
5870
5954
|
},
|
|
5871
5955
|
|
|
@@ -5882,6 +5966,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5882
5966
|
*/
|
|
5883
5967
|
noHideOnThisFocusLoss: {
|
|
5884
5968
|
type: Boolean,
|
|
5969
|
+
attribute: 'nohideonthisfocusloss',
|
|
5885
5970
|
reflect: true
|
|
5886
5971
|
},
|
|
5887
5972
|
|
|
@@ -5890,6 +5975,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5890
5975
|
*/
|
|
5891
5976
|
noToggle: {
|
|
5892
5977
|
type: Boolean,
|
|
5978
|
+
attribute: 'notoggle',
|
|
5893
5979
|
reflect: true
|
|
5894
5980
|
},
|
|
5895
5981
|
|
|
@@ -5907,6 +5993,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5907
5993
|
*/
|
|
5908
5994
|
onDark: {
|
|
5909
5995
|
type: Boolean,
|
|
5996
|
+
attribute: 'ondark',
|
|
5910
5997
|
reflect: true
|
|
5911
5998
|
},
|
|
5912
5999
|
|
|
@@ -5915,6 +6002,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5915
6002
|
*/
|
|
5916
6003
|
onSlotChange: {
|
|
5917
6004
|
type: Function,
|
|
6005
|
+
attribute: 'onslotchange',
|
|
5918
6006
|
reflect: false
|
|
5919
6007
|
},
|
|
5920
6008
|
|
|
@@ -5929,10 +6017,11 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5929
6017
|
},
|
|
5930
6018
|
|
|
5931
6019
|
/**
|
|
5932
|
-
*
|
|
6020
|
+
* Sets the tabindex applied to the dropdown trigger for keyboard focus order.
|
|
5933
6021
|
*/
|
|
5934
6022
|
tabIndex: {
|
|
5935
|
-
type: Number
|
|
6023
|
+
type: Number,
|
|
6024
|
+
attribute: 'tabindex'
|
|
5936
6025
|
},
|
|
5937
6026
|
|
|
5938
6027
|
/**
|
|
@@ -6156,7 +6245,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6156
6245
|
/**
|
|
6157
6246
|
* @description Let subscribers know that the dropdown ID ha been generated and added.
|
|
6158
6247
|
* @event auroDropdown-idAdded
|
|
6159
|
-
* @type {
|
|
6248
|
+
* @type {CustomEvent<{ id: string }>} - Detail carries the generated ID of the dropdown bib element.
|
|
6160
6249
|
*/
|
|
6161
6250
|
this.dispatchEvent(new CustomEvent('auroDropdown-idAdded', {detail: {id: this.floater.element.id}}));
|
|
6162
6251
|
|
|
@@ -7006,6 +7095,9 @@ var headerVersion = '5.0.1';
|
|
|
7006
7095
|
* @slot subheader - Slot for the subheader content.
|
|
7007
7096
|
* @slot footer - Slot for the footer content.
|
|
7008
7097
|
* @slot ariaLabel.close - Slot for the close button aria-label.
|
|
7098
|
+
* @csspart bibtemplate - The outermost bibtemplate container element.
|
|
7099
|
+
* @event close-click - Notifies when the close button is clicked.
|
|
7100
|
+
* @event auro-bibtemplate-connected - Notifies that the bibtemplate has connected to the DOM, passing a reference to the element in the event detail.
|
|
7009
7101
|
*/
|
|
7010
7102
|
class AuroBibtemplate extends i$2 {
|
|
7011
7103
|
|
|
@@ -7045,10 +7137,19 @@ class AuroBibtemplate extends i$2 {
|
|
|
7045
7137
|
// function to define props used within the scope of this component
|
|
7046
7138
|
static get properties() {
|
|
7047
7139
|
return {
|
|
7140
|
+
|
|
7141
|
+
/**
|
|
7142
|
+
* If declared, the bibtemplate renders in fullscreen mode, exposing the header, subheader, and footer regions.
|
|
7143
|
+
*/
|
|
7048
7144
|
isFullscreen: {
|
|
7049
7145
|
type: Boolean,
|
|
7146
|
+
attribute: 'isfullscreen',
|
|
7050
7147
|
reflect: true
|
|
7051
7148
|
},
|
|
7149
|
+
|
|
7150
|
+
/**
|
|
7151
|
+
* If declared, the fullscreen headline renders using the larger display heading style.
|
|
7152
|
+
*/
|
|
7052
7153
|
large: {
|
|
7053
7154
|
type: Boolean,
|
|
7054
7155
|
reflect: true
|
|
@@ -7059,6 +7160,7 @@ class AuroBibtemplate extends i$2 {
|
|
|
7059
7160
|
*/
|
|
7060
7161
|
showFooter: {
|
|
7061
7162
|
type: Boolean,
|
|
7163
|
+
attribute: 'showfooter',
|
|
7062
7164
|
reflect: true
|
|
7063
7165
|
}
|
|
7064
7166
|
};
|
|
@@ -7213,37 +7315,37 @@ if (!customElements.get("auro-counter-wrapper")) {
|
|
|
7213
7315
|
customElements.define("auro-counter-wrapper", AuroCounterWrapper);
|
|
7214
7316
|
}
|
|
7215
7317
|
|
|
7318
|
+
/**
|
|
7319
|
+
* AuroElement is the shared base class for layout-aware Auro form components.
|
|
7320
|
+
*
|
|
7321
|
+
* It defines the common `layout`, `shape`, `size`, and `ondark` reactive
|
|
7322
|
+
* properties and the architecture helpers (`renderLayout`, `resetShapeClasses`,
|
|
7323
|
+
* `resetLayoutClasses`) that subclasses use to render a chosen layout and apply
|
|
7324
|
+
* the matching `shape-*` / `layout-*` wrapper classes. Subclasses supply their
|
|
7325
|
+
* own default and valid value set for `layout`, `shape`, and `size`.
|
|
7326
|
+
*/
|
|
7216
7327
|
class AuroElement extends i$2 {
|
|
7217
7328
|
static get properties() {
|
|
7218
7329
|
return {
|
|
7219
7330
|
|
|
7220
7331
|
/**
|
|
7221
|
-
*
|
|
7222
|
-
* @default {'default'}
|
|
7332
|
+
* When true, renders the component styled for use on a dark background.
|
|
7223
7333
|
*/
|
|
7224
|
-
layout: {
|
|
7225
|
-
type: String,
|
|
7226
|
-
attribute: "layout",
|
|
7227
|
-
reflect: true
|
|
7228
|
-
},
|
|
7229
|
-
|
|
7230
|
-
shape: {
|
|
7231
|
-
type: String,
|
|
7232
|
-
attribute: "shape",
|
|
7233
|
-
reflect: true
|
|
7234
|
-
},
|
|
7235
|
-
|
|
7236
|
-
size: {
|
|
7237
|
-
type: String,
|
|
7238
|
-
attribute: "size",
|
|
7239
|
-
reflect: true
|
|
7240
|
-
},
|
|
7241
|
-
|
|
7242
7334
|
onDark: {
|
|
7243
7335
|
type: Boolean,
|
|
7244
7336
|
attribute: "ondark",
|
|
7245
7337
|
reflect: true
|
|
7246
7338
|
}
|
|
7339
|
+
|
|
7340
|
+
// NOTE: `layout`, `shape`, and `size` are intentionally NOT declared here.
|
|
7341
|
+
// Their valid value sets differ per component, and the CEM analyzer roots
|
|
7342
|
+
// an inherited property's `type` in the class that declares it — a base
|
|
7343
|
+
// declaration would force every subclass's `@type` to be discarded and
|
|
7344
|
+
// emitted as plain `string`. Each subclass declares its own `layout` /
|
|
7345
|
+
// `shape` / `size` with an exact `@type` union instead. AuroElement still
|
|
7346
|
+
// consumes `this.layout` / `this.shape` / `this.size` in its render and
|
|
7347
|
+
// architecture helpers below (subclasses guarantee the reactive props).
|
|
7348
|
+
// See AlaskaAirlines/discussions#653.
|
|
7247
7349
|
};
|
|
7248
7350
|
}
|
|
7249
7351
|
|
|
@@ -7350,6 +7452,11 @@ const counterGroupKeyboardStrategy = {
|
|
|
7350
7452
|
* @slot label - Dropdown label content. Only used when `isDropdown` is true.
|
|
7351
7453
|
* @slot valueText - Dropdown value text display. Only used when `isDropdown` is true.
|
|
7352
7454
|
* @slot helpText - Dropdown help text content. Only used when `isDropdown` is true.
|
|
7455
|
+
*
|
|
7456
|
+
* @csspart dropdown - The dropdown element rendered when `isDropdown` is true.
|
|
7457
|
+
* @csspart helpText - The help text and error message container.
|
|
7458
|
+
*
|
|
7459
|
+
* @event input - Notifies that the counter group's value has changed.
|
|
7353
7460
|
*/
|
|
7354
7461
|
class AuroCounterGroup extends AuroElement {
|
|
7355
7462
|
constructor() {
|
|
@@ -7462,6 +7569,7 @@ class AuroCounterGroup extends AuroElement {
|
|
|
7462
7569
|
*/
|
|
7463
7570
|
autoPlacement: {
|
|
7464
7571
|
type: Boolean,
|
|
7572
|
+
attribute: "autoplacement",
|
|
7465
7573
|
reflect: true
|
|
7466
7574
|
},
|
|
7467
7575
|
|
|
@@ -7494,6 +7602,7 @@ class AuroCounterGroup extends AuroElement {
|
|
|
7494
7602
|
*/
|
|
7495
7603
|
fullscreenBreakpoint: {
|
|
7496
7604
|
type: String,
|
|
7605
|
+
attribute: "fullscreenbreakpoint",
|
|
7497
7606
|
reflect: true
|
|
7498
7607
|
},
|
|
7499
7608
|
|
|
@@ -7501,7 +7610,8 @@ class AuroCounterGroup extends AuroElement {
|
|
|
7501
7610
|
* If true, the counter group is displayed as a dropdown.
|
|
7502
7611
|
*/
|
|
7503
7612
|
isDropdown: {
|
|
7504
|
-
type: Boolean
|
|
7613
|
+
type: Boolean,
|
|
7614
|
+
attribute: "isdropdown"
|
|
7505
7615
|
},
|
|
7506
7616
|
|
|
7507
7617
|
/**
|
|
@@ -7511,6 +7621,29 @@ class AuroCounterGroup extends AuroElement {
|
|
|
7511
7621
|
*/
|
|
7512
7622
|
layout: {
|
|
7513
7623
|
type: String,
|
|
7624
|
+
attribute: "layout",
|
|
7625
|
+
reflect: true
|
|
7626
|
+
},
|
|
7627
|
+
|
|
7628
|
+
/**
|
|
7629
|
+
* Sets the shape of the counter group when it is a dropdown.
|
|
7630
|
+
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
7631
|
+
* @default 'classic'
|
|
7632
|
+
*/
|
|
7633
|
+
shape: {
|
|
7634
|
+
type: String,
|
|
7635
|
+
attribute: "shape",
|
|
7636
|
+
reflect: true
|
|
7637
|
+
},
|
|
7638
|
+
|
|
7639
|
+
/**
|
|
7640
|
+
* Sets the size of the counter group when it is a dropdown.
|
|
7641
|
+
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
7642
|
+
* @default 'xl'
|
|
7643
|
+
*/
|
|
7644
|
+
size: {
|
|
7645
|
+
type: String,
|
|
7646
|
+
attribute: "size",
|
|
7514
7647
|
reflect: true
|
|
7515
7648
|
},
|
|
7516
7649
|
|
|
@@ -7520,6 +7653,7 @@ class AuroCounterGroup extends AuroElement {
|
|
|
7520
7653
|
*/
|
|
7521
7654
|
matchWidth: {
|
|
7522
7655
|
type: Boolean,
|
|
7656
|
+
attribute: "matchwidth",
|
|
7523
7657
|
reflect: true
|
|
7524
7658
|
},
|
|
7525
7659
|
|
|
@@ -7545,6 +7679,7 @@ class AuroCounterGroup extends AuroElement {
|
|
|
7545
7679
|
*/
|
|
7546
7680
|
largeFullscreenHeadline: {
|
|
7547
7681
|
type: Boolean,
|
|
7682
|
+
attribute: "largefullscreenheadline",
|
|
7548
7683
|
reflect: true
|
|
7549
7684
|
},
|
|
7550
7685
|
|
|
@@ -7554,6 +7689,7 @@ class AuroCounterGroup extends AuroElement {
|
|
|
7554
7689
|
*/
|
|
7555
7690
|
noFlip: {
|
|
7556
7691
|
type: Boolean,
|
|
7692
|
+
attribute: "noflip",
|
|
7557
7693
|
reflect: true
|
|
7558
7694
|
},
|
|
7559
7695
|
|
|
@@ -7579,6 +7715,7 @@ class AuroCounterGroup extends AuroElement {
|
|
|
7579
7715
|
*/
|
|
7580
7716
|
onDark: {
|
|
7581
7717
|
type: Boolean,
|
|
7718
|
+
attribute: "ondark",
|
|
7582
7719
|
reflect: true
|
|
7583
7720
|
},
|
|
7584
7721
|
|