@aurodesignsystem-dev/auro-formkit 0.0.0-pr1594.2 → 0.0.0-pr1595.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/bibtemplate/dist/auro-bibtemplate.d.ts +11 -0
- package/components/bibtemplate/dist/index.js +13 -0
- package/components/bibtemplate/dist/registered.js +13 -0
- package/components/checkbox/demo/api.md +17 -11
- package/components/checkbox/demo/customize.min.js +23 -6
- package/components/checkbox/demo/getting-started.min.js +23 -6
- package/components/checkbox/demo/index.min.js +23 -6
- package/components/checkbox/dist/auro-checkbox-group.d.ts +8 -0
- package/components/checkbox/dist/auro-checkbox.d.ts +4 -0
- package/components/checkbox/dist/index.js +23 -6
- package/components/checkbox/dist/registered.js +23 -6
- package/components/combobox/demo/api.md +26 -18
- package/components/combobox/demo/customize.min.js +426 -126
- package/components/combobox/demo/getting-started.min.js +426 -126
- package/components/combobox/demo/index.min.js +426 -126
- package/components/combobox/dist/auro-combobox.d.ts +38 -21
- package/components/combobox/dist/index.js +338 -111
- package/components/combobox/dist/registered.js +338 -111
- package/components/counter/demo/api.md +34 -16
- package/components/counter/demo/customize.min.js +204 -64
- package/components/counter/demo/index.min.js +204 -64
- package/components/counter/dist/auro-counter-button.d.ts +4 -0
- package/components/counter/dist/auro-counter-group.d.ts +27 -4
- package/components/counter/dist/auro-counter.d.ts +7 -0
- package/components/counter/dist/index.js +204 -64
- package/components/counter/dist/registered.js +204 -64
- package/components/datepicker/demo/api.md +55 -49
- package/components/datepicker/demo/customize.min.js +515 -134
- package/components/datepicker/demo/index.min.js +515 -134
- package/components/datepicker/dist/auro-calendar-cell.d.ts +58 -4
- package/components/datepicker/dist/auro-calendar-month.d.ts +10 -4
- package/components/datepicker/dist/auro-calendar.d.ts +25 -6
- package/components/datepicker/dist/auro-datepicker.d.ts +70 -22
- package/components/datepicker/dist/index.js +515 -134
- package/components/datepicker/dist/registered.js +515 -134
- package/components/dropdown/demo/api.md +25 -22
- package/components/dropdown/demo/customize.min.js +107 -37
- package/components/dropdown/demo/getting-started.min.js +245 -82
- package/components/dropdown/demo/index.min.js +107 -37
- package/components/dropdown/dist/auro-dropdown.d.ts +34 -8
- package/components/dropdown/dist/auro-dropdownBib.d.ts +17 -5
- package/components/dropdown/dist/index.js +107 -37
- package/components/dropdown/dist/registered.js +107 -37
- package/components/form/demo/customize.min.js +1518 -466
- package/components/form/demo/getting-started.min.js +1518 -466
- package/components/form/demo/index.min.js +1518 -466
- package/components/form/demo/registerDemoDeps.min.js +1518 -466
- package/components/helptext/dist/auro-helptext.d.ts +8 -7
- package/components/helptext/dist/index.js +7 -2
- package/components/helptext/dist/registered.js +7 -2
- package/components/input/demo/api.md +30 -30
- package/components/input/demo/customize.min.js +138 -45
- package/components/input/demo/getting-started.min.js +138 -45
- package/components/input/demo/index.min.js +138 -45
- package/components/input/dist/base-input.d.ts +79 -25
- package/components/input/dist/index.js +138 -45
- package/components/input/dist/registered.js +138 -45
- package/components/layoutElement/dist/auroElement.d.ts +10 -17
- package/components/layoutElement/dist/index.js +20 -20
- package/components/layoutElement/dist/registered.js +20 -20
- package/components/menu/demo/api.md +31 -27
- package/components/menu/demo/index.min.js +108 -35
- package/components/menu/dist/auro-menu.d.ts +26 -21
- package/components/menu/dist/auro-menuoption.d.ts +27 -1
- package/components/menu/dist/index.js +108 -35
- package/components/menu/dist/registered.js +108 -35
- package/components/radio/demo/api.md +8 -7
- package/components/radio/demo/customize.min.js +21 -7
- package/components/radio/demo/getting-started.min.js +21 -7
- package/components/radio/demo/index.min.js +21 -7
- package/components/radio/dist/auro-radio-group.d.ts +8 -3
- package/components/radio/dist/auro-radio.d.ts +1 -0
- package/components/radio/dist/index.js +21 -7
- package/components/radio/dist/registered.js +21 -7
- package/components/select/demo/api.md +18 -15
- package/components/select/demo/customize.min.js +259 -79
- package/components/select/demo/getting-started.min.js +259 -79
- package/components/select/demo/index.min.js +259 -79
- package/components/select/dist/auro-select.d.ts +17 -0
- package/components/select/dist/index.js +171 -64
- package/components/select/dist/registered.js +171 -64
- package/custom-elements.json +1189 -1336
- package/package.json +1 -1
|
@@ -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 = '202608300032';
|
|
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 = '202608300032';
|
|
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: false
|
|
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,14 +5993,17 @@ 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
|
|
|
5913
6000
|
/**
|
|
5914
6001
|
* If declared, and a function is set, that function will execute when the slot content is updated.
|
|
6002
|
+
* @type {() => void}
|
|
5915
6003
|
*/
|
|
5916
6004
|
onSlotChange: {
|
|
5917
6005
|
type: Function,
|
|
6006
|
+
attribute: 'onslotchange',
|
|
5918
6007
|
reflect: false
|
|
5919
6008
|
},
|
|
5920
6009
|
|
|
@@ -5929,10 +6018,11 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
5929
6018
|
},
|
|
5930
6019
|
|
|
5931
6020
|
/**
|
|
5932
|
-
*
|
|
6021
|
+
* Sets the tabindex applied to the dropdown trigger for keyboard focus order.
|
|
5933
6022
|
*/
|
|
5934
6023
|
tabIndex: {
|
|
5935
|
-
type: Number
|
|
6024
|
+
type: Number,
|
|
6025
|
+
attribute: 'tabindex'
|
|
5936
6026
|
},
|
|
5937
6027
|
|
|
5938
6028
|
/**
|
|
@@ -6156,7 +6246,7 @@ class AuroDropdown extends AuroElement$1 {
|
|
|
6156
6246
|
/**
|
|
6157
6247
|
* @description Let subscribers know that the dropdown ID ha been generated and added.
|
|
6158
6248
|
* @event auroDropdown-idAdded
|
|
6159
|
-
* @type {
|
|
6249
|
+
* @type {CustomEvent<{ id: string }>} - Detail carries the generated ID of the dropdown bib element.
|
|
6160
6250
|
*/
|
|
6161
6251
|
this.dispatchEvent(new CustomEvent('auroDropdown-idAdded', {detail: {id: this.floater.element.id}}));
|
|
6162
6252
|
|
|
@@ -7006,6 +7096,9 @@ var headerVersion = '5.0.1';
|
|
|
7006
7096
|
* @slot subheader - Slot for the subheader content.
|
|
7007
7097
|
* @slot footer - Slot for the footer content.
|
|
7008
7098
|
* @slot ariaLabel.close - Slot for the close button aria-label.
|
|
7099
|
+
* @csspart bibtemplate - The outermost bibtemplate container element.
|
|
7100
|
+
* @event close-click - Notifies when the close button is clicked.
|
|
7101
|
+
* @event auro-bibtemplate-connected - Notifies that the bibtemplate has connected to the DOM, passing a reference to the element in the event detail.
|
|
7009
7102
|
*/
|
|
7010
7103
|
class AuroBibtemplate extends i$2 {
|
|
7011
7104
|
|
|
@@ -7045,10 +7138,19 @@ class AuroBibtemplate extends i$2 {
|
|
|
7045
7138
|
// function to define props used within the scope of this component
|
|
7046
7139
|
static get properties() {
|
|
7047
7140
|
return {
|
|
7141
|
+
|
|
7142
|
+
/**
|
|
7143
|
+
* If declared, the bibtemplate renders in fullscreen mode, exposing the header, subheader, and footer regions.
|
|
7144
|
+
*/
|
|
7048
7145
|
isFullscreen: {
|
|
7049
7146
|
type: Boolean,
|
|
7147
|
+
attribute: 'isfullscreen',
|
|
7050
7148
|
reflect: true
|
|
7051
7149
|
},
|
|
7150
|
+
|
|
7151
|
+
/**
|
|
7152
|
+
* If declared, the fullscreen headline renders using the larger display heading style.
|
|
7153
|
+
*/
|
|
7052
7154
|
large: {
|
|
7053
7155
|
type: Boolean,
|
|
7054
7156
|
reflect: true
|
|
@@ -7059,6 +7161,7 @@ class AuroBibtemplate extends i$2 {
|
|
|
7059
7161
|
*/
|
|
7060
7162
|
showFooter: {
|
|
7061
7163
|
type: Boolean,
|
|
7164
|
+
attribute: 'showfooter',
|
|
7062
7165
|
reflect: true
|
|
7063
7166
|
}
|
|
7064
7167
|
};
|
|
@@ -7213,37 +7316,37 @@ if (!customElements.get("auro-counter-wrapper")) {
|
|
|
7213
7316
|
customElements.define("auro-counter-wrapper", AuroCounterWrapper);
|
|
7214
7317
|
}
|
|
7215
7318
|
|
|
7319
|
+
/**
|
|
7320
|
+
* AuroElement is the shared base class for layout-aware Auro form components.
|
|
7321
|
+
*
|
|
7322
|
+
* It defines the common `layout`, `shape`, `size`, and `ondark` reactive
|
|
7323
|
+
* properties and the architecture helpers (`renderLayout`, `resetShapeClasses`,
|
|
7324
|
+
* `resetLayoutClasses`) that subclasses use to render a chosen layout and apply
|
|
7325
|
+
* the matching `shape-*` / `layout-*` wrapper classes. Subclasses supply their
|
|
7326
|
+
* own default and valid value set for `layout`, `shape`, and `size`.
|
|
7327
|
+
*/
|
|
7216
7328
|
class AuroElement extends i$2 {
|
|
7217
7329
|
static get properties() {
|
|
7218
7330
|
return {
|
|
7219
7331
|
|
|
7220
7332
|
/**
|
|
7221
|
-
*
|
|
7222
|
-
* @default {'default'}
|
|
7333
|
+
* When true, renders the component styled for use on a dark background.
|
|
7223
7334
|
*/
|
|
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
7335
|
onDark: {
|
|
7243
7336
|
type: Boolean,
|
|
7244
7337
|
attribute: "ondark",
|
|
7245
7338
|
reflect: true
|
|
7246
7339
|
}
|
|
7340
|
+
|
|
7341
|
+
// NOTE: `layout`, `shape`, and `size` are intentionally NOT declared here.
|
|
7342
|
+
// Their valid value sets differ per component, and the CEM analyzer roots
|
|
7343
|
+
// an inherited property's `type` in the class that declares it — a base
|
|
7344
|
+
// declaration would force every subclass's `@type` to be discarded and
|
|
7345
|
+
// emitted as plain `string`. Each subclass declares its own `layout` /
|
|
7346
|
+
// `shape` / `size` with an exact `@type` union instead. AuroElement still
|
|
7347
|
+
// consumes `this.layout` / `this.shape` / `this.size` in its render and
|
|
7348
|
+
// architecture helpers below (subclasses guarantee the reactive props).
|
|
7349
|
+
// See AlaskaAirlines/discussions#653.
|
|
7247
7350
|
};
|
|
7248
7351
|
}
|
|
7249
7352
|
|
|
@@ -7350,11 +7453,17 @@ const counterGroupKeyboardStrategy = {
|
|
|
7350
7453
|
* @slot label - Dropdown label content. Only used when `isDropdown` is true.
|
|
7351
7454
|
* @slot valueText - Dropdown value text display. Only used when `isDropdown` is true.
|
|
7352
7455
|
* @slot helpText - Dropdown help text content. Only used when `isDropdown` is true.
|
|
7456
|
+
*
|
|
7457
|
+
* @csspart dropdown - The dropdown element rendered when `isDropdown` is true.
|
|
7458
|
+
* @csspart helpText - The help text and error message container.
|
|
7459
|
+
*
|
|
7460
|
+
* @event input - Notifies that the counter group's value has changed.
|
|
7353
7461
|
*/
|
|
7354
7462
|
class AuroCounterGroup extends AuroElement {
|
|
7355
7463
|
constructor() {
|
|
7356
7464
|
super();
|
|
7357
7465
|
|
|
7466
|
+
/** @type {'default' | 'inverse'} */
|
|
7358
7467
|
this.appearance = "default";
|
|
7359
7468
|
this.max = undefined;
|
|
7360
7469
|
this.min = undefined;
|
|
@@ -7462,6 +7571,7 @@ class AuroCounterGroup extends AuroElement {
|
|
|
7462
7571
|
*/
|
|
7463
7572
|
autoPlacement: {
|
|
7464
7573
|
type: Boolean,
|
|
7574
|
+
attribute: "autoplacement",
|
|
7465
7575
|
reflect: true
|
|
7466
7576
|
},
|
|
7467
7577
|
|
|
@@ -7494,6 +7604,7 @@ class AuroCounterGroup extends AuroElement {
|
|
|
7494
7604
|
*/
|
|
7495
7605
|
fullscreenBreakpoint: {
|
|
7496
7606
|
type: String,
|
|
7607
|
+
attribute: "fullscreenbreakpoint",
|
|
7497
7608
|
reflect: true
|
|
7498
7609
|
},
|
|
7499
7610
|
|
|
@@ -7501,7 +7612,8 @@ class AuroCounterGroup extends AuroElement {
|
|
|
7501
7612
|
* If true, the counter group is displayed as a dropdown.
|
|
7502
7613
|
*/
|
|
7503
7614
|
isDropdown: {
|
|
7504
|
-
type: Boolean
|
|
7615
|
+
type: Boolean,
|
|
7616
|
+
attribute: "isdropdown"
|
|
7505
7617
|
},
|
|
7506
7618
|
|
|
7507
7619
|
/**
|
|
@@ -7511,6 +7623,29 @@ class AuroCounterGroup extends AuroElement {
|
|
|
7511
7623
|
*/
|
|
7512
7624
|
layout: {
|
|
7513
7625
|
type: String,
|
|
7626
|
+
attribute: "layout",
|
|
7627
|
+
reflect: true
|
|
7628
|
+
},
|
|
7629
|
+
|
|
7630
|
+
/**
|
|
7631
|
+
* Sets the shape of the counter group when it is a dropdown.
|
|
7632
|
+
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
7633
|
+
* @default 'classic'
|
|
7634
|
+
*/
|
|
7635
|
+
shape: {
|
|
7636
|
+
type: String,
|
|
7637
|
+
attribute: "shape",
|
|
7638
|
+
reflect: true
|
|
7639
|
+
},
|
|
7640
|
+
|
|
7641
|
+
/**
|
|
7642
|
+
* Sets the size of the counter group when it is a dropdown.
|
|
7643
|
+
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
7644
|
+
* @default 'xl'
|
|
7645
|
+
*/
|
|
7646
|
+
size: {
|
|
7647
|
+
type: String,
|
|
7648
|
+
attribute: "size",
|
|
7514
7649
|
reflect: true
|
|
7515
7650
|
},
|
|
7516
7651
|
|
|
@@ -7520,6 +7655,7 @@ class AuroCounterGroup extends AuroElement {
|
|
|
7520
7655
|
*/
|
|
7521
7656
|
matchWidth: {
|
|
7522
7657
|
type: Boolean,
|
|
7658
|
+
attribute: "matchwidth",
|
|
7523
7659
|
reflect: true
|
|
7524
7660
|
},
|
|
7525
7661
|
|
|
@@ -7545,6 +7681,7 @@ class AuroCounterGroup extends AuroElement {
|
|
|
7545
7681
|
*/
|
|
7546
7682
|
largeFullscreenHeadline: {
|
|
7547
7683
|
type: Boolean,
|
|
7684
|
+
attribute: "largefullscreenheadline",
|
|
7548
7685
|
reflect: true
|
|
7549
7686
|
},
|
|
7550
7687
|
|
|
@@ -7554,6 +7691,7 @@ class AuroCounterGroup extends AuroElement {
|
|
|
7554
7691
|
*/
|
|
7555
7692
|
noFlip: {
|
|
7556
7693
|
type: Boolean,
|
|
7694
|
+
attribute: "noflip",
|
|
7557
7695
|
reflect: true
|
|
7558
7696
|
},
|
|
7559
7697
|
|
|
@@ -7579,6 +7717,7 @@ class AuroCounterGroup extends AuroElement {
|
|
|
7579
7717
|
*/
|
|
7580
7718
|
onDark: {
|
|
7581
7719
|
type: Boolean,
|
|
7720
|
+
attribute: "ondark",
|
|
7582
7721
|
reflect: true
|
|
7583
7722
|
},
|
|
7584
7723
|
|
|
@@ -7609,6 +7748,7 @@ class AuroCounterGroup extends AuroElement {
|
|
|
7609
7748
|
|
|
7610
7749
|
/**
|
|
7611
7750
|
* The current individual values of the nested counters.
|
|
7751
|
+
* @type {Record<string, number>}
|
|
7612
7752
|
*/
|
|
7613
7753
|
value: {
|
|
7614
7754
|
type: Object,
|