@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
|
@@ -44,37 +44,37 @@ const t={ATTRIBUTE:1,CHILD:2},e$3=t=>(...e)=>({_$litDirective$:t,values:e});let
|
|
|
44
44
|
*/
|
|
45
45
|
const a=Symbol.for(""),o$3=t=>{if(t?.r===a)return t?._$litStatic$},s$1=t=>({_$litStatic$:t,r:a}),i=(t,...r)=>({_$litStatic$:r.reduce((r,e,a)=>r+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1],t[0]),r:a}),l$1=new Map,n$3=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&void 0!==(i=e[$],s=o$3(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");void 0===(r=l$1.get(t))&&(n.raw=n,l$1.set(t,r=n)),e=u;}return t(r,...e)},u$4=n$3(b$1);
|
|
46
46
|
|
|
47
|
+
/**
|
|
48
|
+
* AuroElement is the shared base class for layout-aware Auro form components.
|
|
49
|
+
*
|
|
50
|
+
* It defines the common `layout`, `shape`, `size`, and `ondark` reactive
|
|
51
|
+
* properties and the architecture helpers (`renderLayout`, `resetShapeClasses`,
|
|
52
|
+
* `resetLayoutClasses`) that subclasses use to render a chosen layout and apply
|
|
53
|
+
* the matching `shape-*` / `layout-*` wrapper classes. Subclasses supply their
|
|
54
|
+
* own default and valid value set for `layout`, `shape`, and `size`.
|
|
55
|
+
*/
|
|
47
56
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
48
57
|
static get properties() {
|
|
49
58
|
return {
|
|
50
59
|
|
|
51
60
|
/**
|
|
52
|
-
*
|
|
53
|
-
* @default {'default'}
|
|
61
|
+
* When true, renders the component styled for use on a dark background.
|
|
54
62
|
*/
|
|
55
|
-
layout: {
|
|
56
|
-
type: String,
|
|
57
|
-
attribute: "layout",
|
|
58
|
-
reflect: true
|
|
59
|
-
},
|
|
60
|
-
|
|
61
|
-
shape: {
|
|
62
|
-
type: String,
|
|
63
|
-
attribute: "shape",
|
|
64
|
-
reflect: true
|
|
65
|
-
},
|
|
66
|
-
|
|
67
|
-
size: {
|
|
68
|
-
type: String,
|
|
69
|
-
attribute: "size",
|
|
70
|
-
reflect: true
|
|
71
|
-
},
|
|
72
|
-
|
|
73
63
|
onDark: {
|
|
74
64
|
type: Boolean,
|
|
75
65
|
attribute: "ondark",
|
|
76
66
|
reflect: true
|
|
77
67
|
}
|
|
68
|
+
|
|
69
|
+
// NOTE: `layout`, `shape`, and `size` are intentionally NOT declared here.
|
|
70
|
+
// Their valid value sets differ per component, and the CEM analyzer roots
|
|
71
|
+
// an inherited property's `type` in the class that declares it — a base
|
|
72
|
+
// declaration would force every subclass's `@type` to be discarded and
|
|
73
|
+
// emitted as plain `string`. Each subclass declares its own `layout` /
|
|
74
|
+
// `shape` / `size` with an exact `@type` union instead. AuroElement still
|
|
75
|
+
// consumes `this.layout` / `this.shape` / `this.size` in its render and
|
|
76
|
+
// architecture helpers below (subclasses guarantee the reactive props).
|
|
77
|
+
// See AlaskaAirlines/discussions#653.
|
|
78
78
|
};
|
|
79
79
|
}
|
|
80
80
|
|
|
@@ -4247,8 +4247,11 @@ const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
|
|
|
4247
4247
|
];
|
|
4248
4248
|
|
|
4249
4249
|
/**
|
|
4250
|
+
* The `auro-dropdownbib` element renders the dropdown's bib as a dialog/popover container and manages its fullscreen and modal display.
|
|
4250
4251
|
* @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.
|
|
4251
4252
|
* @csspart bibContainer - Apply css to the bib container.
|
|
4253
|
+
* @event auro-dropdownbib-connected - Notifies that the dropdown bib has connected to the DOM, passing a reference to the element in the event detail.
|
|
4254
|
+
* @event auro-bib-cancel - Notifies that the bib was cancelled (e.g. via the ESC key) so parent components can close it.
|
|
4252
4255
|
*/
|
|
4253
4256
|
|
|
4254
4257
|
class AuroDropdownBib extends i$2 {
|
|
@@ -4263,9 +4266,17 @@ class AuroDropdownBib extends i$2 {
|
|
|
4263
4266
|
|
|
4264
4267
|
AuroLibraryRuntimeUtils$1$1.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
|
|
4265
4268
|
|
|
4266
|
-
this.shape = "rounded";
|
|
4267
4269
|
this.matchWidth = false;
|
|
4268
4270
|
this.hasActiveDescendant = false;
|
|
4271
|
+
|
|
4272
|
+
this.initializeArchitectureDefaults();
|
|
4273
|
+
}
|
|
4274
|
+
|
|
4275
|
+
// The `shape` default is set in a helper (not the constructor body) so the CEM
|
|
4276
|
+
// analyzer keeps its `@type` union instead of inferring `string` from a
|
|
4277
|
+
// constructor-literal assignment. See AlaskaAirlines/discussions#653.
|
|
4278
|
+
initializeArchitectureDefaults() {
|
|
4279
|
+
this.shape = "rounded";
|
|
4269
4280
|
}
|
|
4270
4281
|
|
|
4271
4282
|
static get styles() {
|
|
@@ -4284,6 +4295,7 @@ class AuroDropdownBib extends i$2 {
|
|
|
4284
4295
|
*/
|
|
4285
4296
|
isFullscreen: {
|
|
4286
4297
|
type: Boolean,
|
|
4298
|
+
attribute: 'isfullscreen',
|
|
4287
4299
|
reflect: true
|
|
4288
4300
|
},
|
|
4289
4301
|
|
|
@@ -4309,6 +4321,7 @@ class AuroDropdownBib extends i$2 {
|
|
|
4309
4321
|
*/
|
|
4310
4322
|
matchWidth: {
|
|
4311
4323
|
type: Boolean,
|
|
4324
|
+
attribute: 'matchwidth',
|
|
4312
4325
|
reflect: true
|
|
4313
4326
|
},
|
|
4314
4327
|
|
|
@@ -4324,11 +4337,18 @@ class AuroDropdownBib extends i$2 {
|
|
|
4324
4337
|
* A reference to the associated bib template element.
|
|
4325
4338
|
*/
|
|
4326
4339
|
bibTemplate: {
|
|
4327
|
-
type: Object
|
|
4340
|
+
type: Object,
|
|
4341
|
+
attribute: 'bibtemplate'
|
|
4328
4342
|
},
|
|
4329
4343
|
|
|
4344
|
+
/**
|
|
4345
|
+
* Sets the shape of the dropdown bib.
|
|
4346
|
+
* @type {'box' | 'classic' | 'pill' | 'rounded' | 'snowflake'}
|
|
4347
|
+
* @default 'rounded'
|
|
4348
|
+
*/
|
|
4330
4349
|
shape: {
|
|
4331
4350
|
type: String,
|
|
4351
|
+
attribute: "shape",
|
|
4332
4352
|
reflect: true
|
|
4333
4353
|
},
|
|
4334
4354
|
|
|
@@ -4340,7 +4360,8 @@ class AuroDropdownBib extends i$2 {
|
|
|
4340
4360
|
* @private
|
|
4341
4361
|
*/
|
|
4342
4362
|
dialogLabel: {
|
|
4343
|
-
type: String
|
|
4363
|
+
type: String,
|
|
4364
|
+
attribute: 'dialoglabel'
|
|
4344
4365
|
},
|
|
4345
4366
|
|
|
4346
4367
|
/**
|
|
@@ -4351,7 +4372,8 @@ class AuroDropdownBib extends i$2 {
|
|
|
4351
4372
|
* @private
|
|
4352
4373
|
*/
|
|
4353
4374
|
dialogRole: {
|
|
4354
|
-
type: String
|
|
4375
|
+
type: String,
|
|
4376
|
+
attribute: 'dialogrole'
|
|
4355
4377
|
},
|
|
4356
4378
|
|
|
4357
4379
|
/**
|
|
@@ -4359,7 +4381,8 @@ class AuroDropdownBib extends i$2 {
|
|
|
4359
4381
|
* @private
|
|
4360
4382
|
*/
|
|
4361
4383
|
hasActiveDescendant: {
|
|
4362
|
-
type: Boolean
|
|
4384
|
+
type: Boolean,
|
|
4385
|
+
attribute: 'hasactivedescendant'
|
|
4363
4386
|
}
|
|
4364
4387
|
};
|
|
4365
4388
|
}
|
|
@@ -4710,6 +4733,8 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
4710
4733
|
super();
|
|
4711
4734
|
|
|
4712
4735
|
this.error = false;
|
|
4736
|
+
|
|
4737
|
+
/** @type {'default' | 'inverse'} */
|
|
4713
4738
|
this.appearance = "default";
|
|
4714
4739
|
this.onDark = false;
|
|
4715
4740
|
this.hasTextContent = false;
|
|
@@ -4730,8 +4755,8 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
4730
4755
|
return {
|
|
4731
4756
|
|
|
4732
4757
|
/**
|
|
4733
|
-
*
|
|
4734
|
-
* @
|
|
4758
|
+
* The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
|
|
4759
|
+
* @type {'default' | 'inverse'}
|
|
4735
4760
|
* @default 'default'
|
|
4736
4761
|
*/
|
|
4737
4762
|
appearance: {
|
|
@@ -4744,6 +4769,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
4744
4769
|
*/
|
|
4745
4770
|
slotNodes: {
|
|
4746
4771
|
type: Boolean,
|
|
4772
|
+
attribute: 'slotnodes',
|
|
4747
4773
|
},
|
|
4748
4774
|
|
|
4749
4775
|
/**
|
|
@@ -4751,6 +4777,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
4751
4777
|
*/
|
|
4752
4778
|
hasTextContent: {
|
|
4753
4779
|
type: Boolean,
|
|
4780
|
+
attribute: 'hastextcontent',
|
|
4754
4781
|
},
|
|
4755
4782
|
|
|
4756
4783
|
/**
|
|
@@ -4766,6 +4793,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
4766
4793
|
*/
|
|
4767
4794
|
onDark: {
|
|
4768
4795
|
type: Boolean,
|
|
4796
|
+
attribute: 'ondark',
|
|
4769
4797
|
reflect: true
|
|
4770
4798
|
}
|
|
4771
4799
|
};
|
|
@@ -4836,39 +4864,39 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
4836
4864
|
}
|
|
4837
4865
|
};
|
|
4838
4866
|
|
|
4839
|
-
var formkitVersion$1 = '
|
|
4867
|
+
var formkitVersion$1 = '202608300032';
|
|
4840
4868
|
|
|
4869
|
+
/**
|
|
4870
|
+
* AuroElement is the shared base class for layout-aware Auro form components.
|
|
4871
|
+
*
|
|
4872
|
+
* It defines the common `layout`, `shape`, `size`, and `ondark` reactive
|
|
4873
|
+
* properties and the architecture helpers (`renderLayout`, `resetShapeClasses`,
|
|
4874
|
+
* `resetLayoutClasses`) that subclasses use to render a chosen layout and apply
|
|
4875
|
+
* the matching `shape-*` / `layout-*` wrapper classes. Subclasses supply their
|
|
4876
|
+
* own default and valid value set for `layout`, `shape`, and `size`.
|
|
4877
|
+
*/
|
|
4841
4878
|
class AuroElement extends i$2 {
|
|
4842
4879
|
static get properties() {
|
|
4843
4880
|
return {
|
|
4844
4881
|
|
|
4845
4882
|
/**
|
|
4846
|
-
*
|
|
4847
|
-
* @default {'default'}
|
|
4883
|
+
* When true, renders the component styled for use on a dark background.
|
|
4848
4884
|
*/
|
|
4849
|
-
layout: {
|
|
4850
|
-
type: String,
|
|
4851
|
-
attribute: "layout",
|
|
4852
|
-
reflect: true
|
|
4853
|
-
},
|
|
4854
|
-
|
|
4855
|
-
shape: {
|
|
4856
|
-
type: String,
|
|
4857
|
-
attribute: "shape",
|
|
4858
|
-
reflect: true
|
|
4859
|
-
},
|
|
4860
|
-
|
|
4861
|
-
size: {
|
|
4862
|
-
type: String,
|
|
4863
|
-
attribute: "size",
|
|
4864
|
-
reflect: true
|
|
4865
|
-
},
|
|
4866
|
-
|
|
4867
4885
|
onDark: {
|
|
4868
4886
|
type: Boolean,
|
|
4869
4887
|
attribute: "ondark",
|
|
4870
4888
|
reflect: true
|
|
4871
4889
|
}
|
|
4890
|
+
|
|
4891
|
+
// NOTE: `layout`, `shape`, and `size` are intentionally NOT declared here.
|
|
4892
|
+
// Their valid value sets differ per component, and the CEM analyzer roots
|
|
4893
|
+
// an inherited property's `type` in the class that declares it — a base
|
|
4894
|
+
// declaration would force every subclass's `@type` to be discarded and
|
|
4895
|
+
// emitted as plain `string`. Each subclass declares its own `layout` /
|
|
4896
|
+
// `shape` / `size` with an exact `@type` union instead. AuroElement still
|
|
4897
|
+
// consumes `this.layout` / `this.shape` / `this.size` in its render and
|
|
4898
|
+
// architecture helpers below (subclasses guarantee the reactive props).
|
|
4899
|
+
// See AlaskaAirlines/discussions#653.
|
|
4872
4900
|
};
|
|
4873
4901
|
}
|
|
4874
4902
|
|
|
@@ -4954,6 +4982,7 @@ class AuroElement extends i$2 {
|
|
|
4954
4982
|
* @slot helpText - Defines the content of the helpText.
|
|
4955
4983
|
* @slot trigger - Defines the content of the trigger.
|
|
4956
4984
|
* @csspart trigger - The trigger content container.
|
|
4985
|
+
* @csspart wrapper - The trigger wrapper element surrounding the trigger content and chevron.
|
|
4957
4986
|
* @csspart chevron - The collapsed/expanded state icon container.
|
|
4958
4987
|
* @csspart size - The size of the dropdown bib. (height, width, maxHeight, maxWidth only)
|
|
4959
4988
|
* @csspart helpText - The helpText content container.
|
|
@@ -4978,7 +5007,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4978
5007
|
|
|
4979
5008
|
/**
|
|
4980
5009
|
* When true, the dropdown skips its generic focus restoration on close.
|
|
4981
|
-
* Set by consumers (
|
|
5010
|
+
* Set by consumers (for example combobox) that manage their own focus routing
|
|
4982
5011
|
* via setClearBtnFocus / setInputFocus / keyboard strategy.
|
|
4983
5012
|
* Separate from noHideOnThisFocusLoss (which controls auto-close behavior).
|
|
4984
5013
|
* @private
|
|
@@ -5147,7 +5176,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5147
5176
|
/**
|
|
5148
5177
|
* Focus the trigger content. When the trigger wrapper itself is focusable
|
|
5149
5178
|
* (has tabindex), focus it directly. Otherwise, focus the first focusable
|
|
5150
|
-
* element slotted into the trigger slot (
|
|
5179
|
+
* element slotted into the trigger slot (for example the auro-input).
|
|
5151
5180
|
* @private
|
|
5152
5181
|
*/
|
|
5153
5182
|
focusTrigger() {
|
|
@@ -5244,6 +5273,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5244
5273
|
*/
|
|
5245
5274
|
autoPlacement: {
|
|
5246
5275
|
type: Boolean,
|
|
5276
|
+
attribute: 'autoplacement',
|
|
5247
5277
|
reflect: true
|
|
5248
5278
|
},
|
|
5249
5279
|
|
|
@@ -5252,6 +5282,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5252
5282
|
*/
|
|
5253
5283
|
desktopModal: {
|
|
5254
5284
|
type: Boolean,
|
|
5285
|
+
attribute: 'desktopmodal',
|
|
5255
5286
|
reflect: true
|
|
5256
5287
|
},
|
|
5257
5288
|
|
|
@@ -5260,6 +5291,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5260
5291
|
*/
|
|
5261
5292
|
disableEventShow: {
|
|
5262
5293
|
type: Boolean,
|
|
5294
|
+
attribute: 'disableeventshow',
|
|
5263
5295
|
reflect: true
|
|
5264
5296
|
},
|
|
5265
5297
|
|
|
@@ -5293,14 +5325,16 @@ class AuroDropdown extends AuroElement {
|
|
|
5293
5325
|
*/
|
|
5294
5326
|
disableKeyboardHandling: {
|
|
5295
5327
|
type: Boolean,
|
|
5328
|
+
attribute: 'disablekeyboardhandling',
|
|
5296
5329
|
reflect: true
|
|
5297
5330
|
},
|
|
5298
5331
|
|
|
5299
5332
|
/**
|
|
5300
|
-
*
|
|
5333
|
+
* Sets the width of the dropdown bib in pixels.
|
|
5301
5334
|
*/
|
|
5302
5335
|
dropdownWidth: {
|
|
5303
|
-
type: Number
|
|
5336
|
+
type: Number,
|
|
5337
|
+
attribute: 'dropdownwidth'
|
|
5304
5338
|
},
|
|
5305
5339
|
|
|
5306
5340
|
/**
|
|
@@ -5325,7 +5359,8 @@ class AuroDropdown extends AuroElement {
|
|
|
5325
5359
|
* Contains the help text message for the current validity error.
|
|
5326
5360
|
*/
|
|
5327
5361
|
errorMessage: {
|
|
5328
|
-
type: String
|
|
5362
|
+
type: String,
|
|
5363
|
+
attribute: 'errormessage'
|
|
5329
5364
|
},
|
|
5330
5365
|
|
|
5331
5366
|
/**
|
|
@@ -5333,6 +5368,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5333
5368
|
*/
|
|
5334
5369
|
focusShow: {
|
|
5335
5370
|
type: Boolean,
|
|
5371
|
+
attribute: 'focusshow',
|
|
5336
5372
|
reflect: true
|
|
5337
5373
|
},
|
|
5338
5374
|
|
|
@@ -5350,6 +5386,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5350
5386
|
*/
|
|
5351
5387
|
isBibFullscreen: {
|
|
5352
5388
|
type: Boolean,
|
|
5389
|
+
attribute: 'isbibfullscreen',
|
|
5353
5390
|
reflect: true
|
|
5354
5391
|
},
|
|
5355
5392
|
|
|
@@ -5358,6 +5395,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5358
5395
|
*/
|
|
5359
5396
|
hoverToggle: {
|
|
5360
5397
|
type: Boolean,
|
|
5398
|
+
attribute: 'hovertoggle',
|
|
5361
5399
|
reflect: true
|
|
5362
5400
|
},
|
|
5363
5401
|
|
|
@@ -5365,7 +5403,8 @@ class AuroDropdown extends AuroElement {
|
|
|
5365
5403
|
* @private
|
|
5366
5404
|
*/
|
|
5367
5405
|
hasTriggerContent: {
|
|
5368
|
-
type: Boolean
|
|
5406
|
+
type: Boolean,
|
|
5407
|
+
attribute: false
|
|
5369
5408
|
},
|
|
5370
5409
|
|
|
5371
5410
|
/**
|
|
@@ -5378,6 +5417,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5378
5417
|
*/
|
|
5379
5418
|
fullscreenBreakpoint: {
|
|
5380
5419
|
type: String,
|
|
5420
|
+
attribute: "fullscreenbreakpoint",
|
|
5381
5421
|
reflect: true
|
|
5382
5422
|
},
|
|
5383
5423
|
|
|
@@ -5388,6 +5428,27 @@ class AuroDropdown extends AuroElement {
|
|
|
5388
5428
|
*/
|
|
5389
5429
|
layout: {
|
|
5390
5430
|
type: String,
|
|
5431
|
+
attribute: "layout",
|
|
5432
|
+
reflect: true
|
|
5433
|
+
},
|
|
5434
|
+
|
|
5435
|
+
/**
|
|
5436
|
+
* Sets the shape of the dropdown.
|
|
5437
|
+
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
5438
|
+
*/
|
|
5439
|
+
shape: {
|
|
5440
|
+
type: String,
|
|
5441
|
+
attribute: "shape",
|
|
5442
|
+
reflect: true
|
|
5443
|
+
},
|
|
5444
|
+
|
|
5445
|
+
/**
|
|
5446
|
+
* Sets the size of the dropdown.
|
|
5447
|
+
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
5448
|
+
*/
|
|
5449
|
+
size: {
|
|
5450
|
+
type: String,
|
|
5451
|
+
attribute: "size",
|
|
5391
5452
|
reflect: true
|
|
5392
5453
|
},
|
|
5393
5454
|
|
|
@@ -5397,6 +5458,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5397
5458
|
*/
|
|
5398
5459
|
parentBorder: {
|
|
5399
5460
|
type: Boolean,
|
|
5461
|
+
attribute: 'parentborder',
|
|
5400
5462
|
reflect: true
|
|
5401
5463
|
},
|
|
5402
5464
|
|
|
@@ -5405,6 +5467,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5405
5467
|
*/
|
|
5406
5468
|
matchWidth: {
|
|
5407
5469
|
type: Boolean,
|
|
5470
|
+
attribute: 'matchwidth',
|
|
5408
5471
|
reflect: true
|
|
5409
5472
|
},
|
|
5410
5473
|
|
|
@@ -5414,6 +5477,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5414
5477
|
*/
|
|
5415
5478
|
noFlip: {
|
|
5416
5479
|
type: Boolean,
|
|
5480
|
+
attribute: 'noflip',
|
|
5417
5481
|
reflect: true
|
|
5418
5482
|
},
|
|
5419
5483
|
|
|
@@ -5430,6 +5494,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5430
5494
|
*/
|
|
5431
5495
|
noHideOnThisFocusLoss: {
|
|
5432
5496
|
type: Boolean,
|
|
5497
|
+
attribute: 'nohideonthisfocusloss',
|
|
5433
5498
|
reflect: true
|
|
5434
5499
|
},
|
|
5435
5500
|
|
|
@@ -5438,6 +5503,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5438
5503
|
*/
|
|
5439
5504
|
noToggle: {
|
|
5440
5505
|
type: Boolean,
|
|
5506
|
+
attribute: 'notoggle',
|
|
5441
5507
|
reflect: true
|
|
5442
5508
|
},
|
|
5443
5509
|
|
|
@@ -5455,14 +5521,17 @@ class AuroDropdown extends AuroElement {
|
|
|
5455
5521
|
*/
|
|
5456
5522
|
onDark: {
|
|
5457
5523
|
type: Boolean,
|
|
5524
|
+
attribute: 'ondark',
|
|
5458
5525
|
reflect: true
|
|
5459
5526
|
},
|
|
5460
5527
|
|
|
5461
5528
|
/**
|
|
5462
5529
|
* If declared, and a function is set, that function will execute when the slot content is updated.
|
|
5530
|
+
* @type {() => void}
|
|
5463
5531
|
*/
|
|
5464
5532
|
onSlotChange: {
|
|
5465
5533
|
type: Function,
|
|
5534
|
+
attribute: 'onslotchange',
|
|
5466
5535
|
reflect: false
|
|
5467
5536
|
},
|
|
5468
5537
|
|
|
@@ -5477,10 +5546,11 @@ class AuroDropdown extends AuroElement {
|
|
|
5477
5546
|
},
|
|
5478
5547
|
|
|
5479
5548
|
/**
|
|
5480
|
-
*
|
|
5549
|
+
* Sets the tabindex applied to the dropdown trigger for keyboard focus order.
|
|
5481
5550
|
*/
|
|
5482
5551
|
tabIndex: {
|
|
5483
|
-
type: Number
|
|
5552
|
+
type: Number,
|
|
5553
|
+
attribute: 'tabindex'
|
|
5484
5554
|
},
|
|
5485
5555
|
|
|
5486
5556
|
/**
|
|
@@ -5704,7 +5774,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5704
5774
|
/**
|
|
5705
5775
|
* @description Let subscribers know that the dropdown ID ha been generated and added.
|
|
5706
5776
|
* @event auroDropdown-idAdded
|
|
5707
|
-
* @type {
|
|
5777
|
+
* @type {CustomEvent<{ id: string }>} - Detail carries the generated ID of the dropdown bib element.
|
|
5708
5778
|
*/
|
|
5709
5779
|
this.dispatchEvent(new CustomEvent('auroDropdown-idAdded', {detail: {id: this.floater.element.id}}));
|
|
5710
5780
|
|
|
@@ -6554,6 +6624,9 @@ var headerVersion = '5.0.1';
|
|
|
6554
6624
|
* @slot subheader - Slot for the subheader content.
|
|
6555
6625
|
* @slot footer - Slot for the footer content.
|
|
6556
6626
|
* @slot ariaLabel.close - Slot for the close button aria-label.
|
|
6627
|
+
* @csspart bibtemplate - The outermost bibtemplate container element.
|
|
6628
|
+
* @event close-click - Notifies when the close button is clicked.
|
|
6629
|
+
* @event auro-bibtemplate-connected - Notifies that the bibtemplate has connected to the DOM, passing a reference to the element in the event detail.
|
|
6557
6630
|
*/
|
|
6558
6631
|
class AuroBibtemplate extends i$2 {
|
|
6559
6632
|
|
|
@@ -6593,10 +6666,19 @@ class AuroBibtemplate extends i$2 {
|
|
|
6593
6666
|
// function to define props used within the scope of this component
|
|
6594
6667
|
static get properties() {
|
|
6595
6668
|
return {
|
|
6669
|
+
|
|
6670
|
+
/**
|
|
6671
|
+
* If declared, the bibtemplate renders in fullscreen mode, exposing the header, subheader, and footer regions.
|
|
6672
|
+
*/
|
|
6596
6673
|
isFullscreen: {
|
|
6597
6674
|
type: Boolean,
|
|
6675
|
+
attribute: 'isfullscreen',
|
|
6598
6676
|
reflect: true
|
|
6599
6677
|
},
|
|
6678
|
+
|
|
6679
|
+
/**
|
|
6680
|
+
* If declared, the fullscreen headline renders using the larger display heading style.
|
|
6681
|
+
*/
|
|
6600
6682
|
large: {
|
|
6601
6683
|
type: Boolean,
|
|
6602
6684
|
reflect: true
|
|
@@ -6607,6 +6689,7 @@ class AuroBibtemplate extends i$2 {
|
|
|
6607
6689
|
*/
|
|
6608
6690
|
showFooter: {
|
|
6609
6691
|
type: Boolean,
|
|
6692
|
+
attribute: 'showfooter',
|
|
6610
6693
|
reflect: true
|
|
6611
6694
|
}
|
|
6612
6695
|
};
|
|
@@ -6821,6 +6904,8 @@ class AuroHelpText extends i$2 {
|
|
|
6821
6904
|
super();
|
|
6822
6905
|
|
|
6823
6906
|
this.error = false;
|
|
6907
|
+
|
|
6908
|
+
/** @type {'default' | 'inverse'} */
|
|
6824
6909
|
this.appearance = "default";
|
|
6825
6910
|
this.onDark = false;
|
|
6826
6911
|
this.hasTextContent = false;
|
|
@@ -6841,8 +6926,8 @@ class AuroHelpText extends i$2 {
|
|
|
6841
6926
|
return {
|
|
6842
6927
|
|
|
6843
6928
|
/**
|
|
6844
|
-
*
|
|
6845
|
-
* @
|
|
6929
|
+
* The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
|
|
6930
|
+
* @type {'default' | 'inverse'}
|
|
6846
6931
|
* @default 'default'
|
|
6847
6932
|
*/
|
|
6848
6933
|
appearance: {
|
|
@@ -6855,6 +6940,7 @@ class AuroHelpText extends i$2 {
|
|
|
6855
6940
|
*/
|
|
6856
6941
|
slotNodes: {
|
|
6857
6942
|
type: Boolean,
|
|
6943
|
+
attribute: 'slotnodes',
|
|
6858
6944
|
},
|
|
6859
6945
|
|
|
6860
6946
|
/**
|
|
@@ -6862,6 +6948,7 @@ class AuroHelpText extends i$2 {
|
|
|
6862
6948
|
*/
|
|
6863
6949
|
hasTextContent: {
|
|
6864
6950
|
type: Boolean,
|
|
6951
|
+
attribute: 'hastextcontent',
|
|
6865
6952
|
},
|
|
6866
6953
|
|
|
6867
6954
|
/**
|
|
@@ -6877,6 +6964,7 @@ class AuroHelpText extends i$2 {
|
|
|
6877
6964
|
*/
|
|
6878
6965
|
onDark: {
|
|
6879
6966
|
type: Boolean,
|
|
6967
|
+
attribute: 'ondark',
|
|
6880
6968
|
reflect: true
|
|
6881
6969
|
}
|
|
6882
6970
|
};
|
|
@@ -6947,7 +7035,7 @@ class AuroHelpText extends i$2 {
|
|
|
6947
7035
|
}
|
|
6948
7036
|
}
|
|
6949
7037
|
|
|
6950
|
-
var formkitVersion = '
|
|
7038
|
+
var formkitVersion = '202608300032';
|
|
6951
7039
|
|
|
6952
7040
|
var styleCss$2 = i$5`.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}.body-default{font-size:var(--wcss-body-default-font-size, 1rem);font-weight:var(--wcss-body-default-weight, );line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-default-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-default-emphasized{font-size:var(--wcss-body-default-emphasized-font-size, 1rem);font-weight:var(--wcss-body-default-emphasized-weight, );line-height:var(--wcss-body-default-emphasized-line-height, 1.5rem)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);font-weight:var(--wcss-body-lg-weight, );line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-lg,.body-lg-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg-emphasized{font-size:var(--wcss-body-lg-emphasized-font-size, 1.125rem);font-weight:var(--wcss-body-lg-emphasized-weight, );line-height:var(--wcss-body-lg-emphasized-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);font-weight:var(--wcss-body-sm-weight, );line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-sm-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-sm-emphasized{font-size:var(--wcss-body-sm-emphasized-font-size, 0.875rem);font-weight:var(--wcss-body-sm-emphasized-weight, );line-height:var(--wcss-body-sm-emphasized-line-height, 1.25rem)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);font-weight:var(--wcss-body-xs-weight, );line-height:var(--wcss-body-xs-line-height, 1rem)}.body-xs,.body-xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs-emphasized{font-size:var(--wcss-body-xs-emphasized-font-size, 0.75rem);font-weight:var(--wcss-body-xs-emphasized-weight, );line-height:var(--wcss-body-xs-emphasized-line-height, 1rem)}.body-2xs{font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-weight, );line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.body-2xs,.body-2xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-2xs-emphasized{font-size:var(--wcss-body-2xs-emphasized-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-emphasized-weight, );line-height:var(--wcss-body-2xs-emphasized-line-height, 0.875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 300);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 300);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}[auro-dropdown]{--ds-auro-dropdown-trigger-border-color: var(--ds-auro-select-border-color);--ds-auro-dropdown-trigger-background-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-container-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-outline-color: var(--ds-auro-select-outline-color)}:host{display:inline-block;text-align:left;vertical-align:top}:host([layout*=emphasized]) [auro-dropdown],:host([layout*=snowflake]) [auro-dropdown]{--ds-auro-select-border-color: transparent}:host([layout*=emphasized]) .mainContent,:host([layout*=snowflake]) .mainContent{text-align:center}.mainContent{position:relative;display:flex;overflow:hidden;flex:1;flex-direction:column;align-items:center;justify-content:center}.valueContainer{max-width:100%}.accents{display:flex;flex-direction:row;align-items:center;justify-content:center}::slotted([slot=typeIcon]){margin-right:var(--ds-size-100, 0.5rem)}.displayValue{display:block}.displayValue:not(.force){display:none}.displayValue:not(.force).hasContent:is(.withValue):not(.hasFocus){display:block}.triggerContent{display:flex;width:100%;box-sizing:border-box;align-items:center;justify-content:center}:host([layout*=emphasized]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-300, 1.5rem)}:host([layout*=snowflake]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host([layout*=snowflake]) label{padding-block:var(--ds-size-25, 0.125rem)}:host([layout*=classic]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem)}:host([layout*=classic]) .mainContent{align-items:start}:host([layout*=classic]) label{overflow:hidden;cursor:text;text-overflow:ellipsis;white-space:nowrap}:host([layout*=classic]) .value{overflow:hidden;height:auto;text-overflow:ellipsis;white-space:nowrap}label{color:var(--ds-auro-select-label-text-color)}:host(:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-select-outline-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}:host([ondark]:is([validity]:not([validity=valid]))) [auro-dropdown],:host([appearance=inverse]:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-select-outline-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}#slotHolder{display:none}:host([fluid]){width:100%}:host([disabled]){pointer-events:none;user-select:none}:host([disabled]:not([ondark])) [auro-dropdown],:host([disabled]:not([appearance=inverse])) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([layout*=classic])[disabled][ondark]) [auro-dropdown],:host(:not([layout*=classic])[disabled][appearance=inverse]) [auro-dropdown]{--ds-auro-select-border-color: transparent}`;
|
|
6953
7041
|
|
|
@@ -6977,6 +7065,9 @@ var emphasizedColorCss = i$5`:host([layout=emphasized]) [auro-dropdown]{--ds-aur
|
|
|
6977
7065
|
* @csspart dropdownChevron - Apply CSS to the collapsed/expanded state icon container.
|
|
6978
7066
|
* @csspart dropdownSize - Apply size styles to the dropdown bib (height, width, maxHeight, maxWidth only).
|
|
6979
7067
|
* @csspart helpText - Apply CSS to the help text.
|
|
7068
|
+
* @csspart wrapper - Apply CSS to the root wrapper element of the select.
|
|
7069
|
+
* @csspart dropdown - Apply CSS to the underlying dropdown element.
|
|
7070
|
+
* @csspart displayValue - Apply CSS to the custom displayValue container.
|
|
6980
7071
|
*/
|
|
6981
7072
|
|
|
6982
7073
|
// build the component class
|
|
@@ -7103,6 +7194,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7103
7194
|
*/
|
|
7104
7195
|
autoPlacement: {
|
|
7105
7196
|
type: Boolean,
|
|
7197
|
+
attribute: 'autoplacement',
|
|
7106
7198
|
reflect: true
|
|
7107
7199
|
},
|
|
7108
7200
|
|
|
@@ -7135,6 +7227,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7135
7227
|
*/
|
|
7136
7228
|
flexMenuWidth: {
|
|
7137
7229
|
type: Boolean,
|
|
7230
|
+
attribute: 'flexmenuwidth',
|
|
7138
7231
|
reflect: true,
|
|
7139
7232
|
},
|
|
7140
7233
|
|
|
@@ -7151,6 +7244,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7151
7244
|
*/
|
|
7152
7245
|
forceDisplayValue: {
|
|
7153
7246
|
type: Boolean,
|
|
7247
|
+
attribute: 'forcedisplayvalue',
|
|
7154
7248
|
reflect: true
|
|
7155
7249
|
},
|
|
7156
7250
|
|
|
@@ -7164,6 +7258,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7164
7258
|
*/
|
|
7165
7259
|
fullscreenBreakpoint: {
|
|
7166
7260
|
type: String,
|
|
7261
|
+
attribute: 'fullscreenbreakpoint',
|
|
7167
7262
|
reflect: true
|
|
7168
7263
|
},
|
|
7169
7264
|
|
|
@@ -7190,6 +7285,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7190
7285
|
*/
|
|
7191
7286
|
isPopoverVisible: {
|
|
7192
7287
|
type: Boolean,
|
|
7288
|
+
attribute: false,
|
|
7193
7289
|
reflect: false
|
|
7194
7290
|
},
|
|
7195
7291
|
|
|
@@ -7199,6 +7295,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7199
7295
|
*/
|
|
7200
7296
|
largeFullscreenHeadline: {
|
|
7201
7297
|
type: Boolean,
|
|
7298
|
+
attribute: 'largefullscreenheadline',
|
|
7202
7299
|
reflect: true
|
|
7203
7300
|
},
|
|
7204
7301
|
|
|
@@ -7217,6 +7314,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7217
7314
|
*/
|
|
7218
7315
|
matchWidth: {
|
|
7219
7316
|
type: Boolean,
|
|
7317
|
+
attribute: 'matchwidth',
|
|
7220
7318
|
reflect: true
|
|
7221
7319
|
},
|
|
7222
7320
|
|
|
@@ -7242,6 +7340,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7242
7340
|
*/
|
|
7243
7341
|
noCheckmark: {
|
|
7244
7342
|
type: Boolean,
|
|
7343
|
+
attribute: 'nocheckmark',
|
|
7245
7344
|
reflect: true
|
|
7246
7345
|
},
|
|
7247
7346
|
|
|
@@ -7251,6 +7350,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7251
7350
|
*/
|
|
7252
7351
|
noFlip: {
|
|
7253
7352
|
type: Boolean,
|
|
7353
|
+
attribute: 'noflip',
|
|
7254
7354
|
reflect: true
|
|
7255
7355
|
},
|
|
7256
7356
|
|
|
@@ -7259,6 +7359,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7259
7359
|
*/
|
|
7260
7360
|
noValidate: {
|
|
7261
7361
|
type: Boolean,
|
|
7362
|
+
attribute: 'novalidate',
|
|
7262
7363
|
reflect: true
|
|
7263
7364
|
},
|
|
7264
7365
|
|
|
@@ -7276,6 +7377,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7276
7377
|
*/
|
|
7277
7378
|
onDark: {
|
|
7278
7379
|
type: Boolean,
|
|
7380
|
+
attribute: 'ondark',
|
|
7279
7381
|
reflect: true
|
|
7280
7382
|
},
|
|
7281
7383
|
|
|
@@ -7284,7 +7386,8 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7284
7386
|
* @type {HTMLElement|Array<HTMLElement>}
|
|
7285
7387
|
*/
|
|
7286
7388
|
optionSelected: {
|
|
7287
|
-
type: Object
|
|
7389
|
+
type: Object,
|
|
7390
|
+
attribute: 'optionselected'
|
|
7288
7391
|
},
|
|
7289
7392
|
|
|
7290
7393
|
/**
|
|
@@ -7317,21 +7420,24 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7317
7420
|
* Sets a custom help text message to display for all validityStates.
|
|
7318
7421
|
*/
|
|
7319
7422
|
setCustomValidity: {
|
|
7320
|
-
type: String
|
|
7423
|
+
type: String,
|
|
7424
|
+
attribute: 'setcustomvalidity'
|
|
7321
7425
|
},
|
|
7322
7426
|
|
|
7323
7427
|
/**
|
|
7324
7428
|
* Custom help text message to display when validity = `customError`.
|
|
7325
7429
|
*/
|
|
7326
7430
|
setCustomValidityCustomError: {
|
|
7327
|
-
type: String
|
|
7431
|
+
type: String,
|
|
7432
|
+
attribute: 'setcustomvaliditycustomerror'
|
|
7328
7433
|
},
|
|
7329
7434
|
|
|
7330
7435
|
/**
|
|
7331
7436
|
* Custom help text message to display when validity = `valueMissing`.
|
|
7332
7437
|
*/
|
|
7333
7438
|
setCustomValidityValueMissing: {
|
|
7334
|
-
type: String
|
|
7439
|
+
type: String,
|
|
7440
|
+
attribute: 'setcustomvalidityvaluemissing'
|
|
7335
7441
|
},
|
|
7336
7442
|
|
|
7337
7443
|
/**
|
|
@@ -7377,6 +7483,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7377
7483
|
*/
|
|
7378
7484
|
typeaheadTimeoutMs: {
|
|
7379
7485
|
type: Number,
|
|
7486
|
+
attribute: 'typeaheadtimeoutms',
|
|
7380
7487
|
reflect: true
|
|
7381
7488
|
},
|
|
7382
7489
|
|
|
@@ -8938,6 +9045,7 @@ let menuInstanceIdCounter = 0;
|
|
|
8938
9045
|
* @event {CustomEvent<Element>} auroMenu-activatedOption - Notifies that a menuoption has been made `active`.
|
|
8939
9046
|
* @event {CustomEvent<any>} auroMenu-customEventFired - Notifies that a custom event has been fired.
|
|
8940
9047
|
* @event {CustomEvent<{ loading: boolean; hasLoadingPlaceholder: boolean; }>} auroMenu-loadingChange - Notifies when the loading attribute is changed.
|
|
9048
|
+
* @event {CustomEvent<{ options: Array<HTMLElement> }>} auroMenu-optionsChange - Notifies that the set of available menu options has changed.
|
|
8941
9049
|
* @event {CustomEvent<any>} auroMenu-selectValueFailure - Notifies that an attempt to select a menuoption by matching a value has failed.
|
|
8942
9050
|
* @event {CustomEvent<any>} auroMenu-selectValueReset - Notifies that the component value has been reset.
|
|
8943
9051
|
* @event {CustomEvent<any>} auroMenu-selectedOption - Notifies that a new menuoption selection has been made.
|
|
@@ -8952,15 +9060,7 @@ class AuroMenu extends AuroElement$1 {
|
|
|
8952
9060
|
|
|
8953
9061
|
// State properties (reactive)
|
|
8954
9062
|
|
|
8955
|
-
|
|
8956
|
-
* @private
|
|
8957
|
-
*/
|
|
8958
|
-
this.shape = "box";
|
|
8959
|
-
|
|
8960
|
-
/**
|
|
8961
|
-
* @private
|
|
8962
|
-
*/
|
|
8963
|
-
this.size = "sm";
|
|
9063
|
+
this.initializeArchitectureDefaults();
|
|
8964
9064
|
|
|
8965
9065
|
// Value of the selected options
|
|
8966
9066
|
this.value = undefined;
|
|
@@ -9001,8 +9101,6 @@ class AuroMenu extends AuroElement$1 {
|
|
|
9001
9101
|
|
|
9002
9102
|
// Instance properties (non-reactive)
|
|
9003
9103
|
|
|
9004
|
-
menuInstanceIdCounter += 1;
|
|
9005
|
-
|
|
9006
9104
|
Object.assign(this, {
|
|
9007
9105
|
// Root-level menu (true) or a nested submenu (false)
|
|
9008
9106
|
rootMenu: true,
|
|
@@ -9014,7 +9112,7 @@ class AuroMenu extends AuroElement$1 {
|
|
|
9014
9112
|
loadingSlots: null,
|
|
9015
9113
|
// Unique id for this menu instance; prefixes every auto-generated option
|
|
9016
9114
|
// key so keys never collide across menus in the same document.
|
|
9017
|
-
_menuInstanceId: `menu-${menuInstanceIdCounter}`,
|
|
9115
|
+
_menuInstanceId: `menu-${menuInstanceIdCounter += 1}`,
|
|
9018
9116
|
// Monotonically increasing counter for option key generation. Never
|
|
9019
9117
|
// resets, so a key is never reused within this instance's lifetime.
|
|
9020
9118
|
_optionKeyCounter: 0,
|
|
@@ -9030,10 +9128,50 @@ class AuroMenu extends AuroElement$1 {
|
|
|
9030
9128
|
});
|
|
9031
9129
|
}
|
|
9032
9130
|
|
|
9131
|
+
// Defaults for the layout/shape/size architecture props are set in a helper
|
|
9132
|
+
// (not the constructor body) so the CEM analyzer keeps their `@type` unions
|
|
9133
|
+
// instead of inferring `string` from a constructor-literal assignment.
|
|
9134
|
+
// See AlaskaAirlines/discussions#653.
|
|
9135
|
+
initializeArchitectureDefaults() {
|
|
9136
|
+
this.shape = "box";
|
|
9137
|
+
this.size = "sm";
|
|
9138
|
+
}
|
|
9139
|
+
|
|
9033
9140
|
static get properties() {
|
|
9034
9141
|
return {
|
|
9035
9142
|
...super.properties,
|
|
9036
9143
|
|
|
9144
|
+
/**
|
|
9145
|
+
* Applies a named layout variant to the menu. Free-form string consumed by the shared architecture helpers; menu defines no closed value set.
|
|
9146
|
+
*/
|
|
9147
|
+
layout: {
|
|
9148
|
+
type: String,
|
|
9149
|
+
attribute: "layout",
|
|
9150
|
+
reflect: true
|
|
9151
|
+
},
|
|
9152
|
+
|
|
9153
|
+
/**
|
|
9154
|
+
* Sets the shape of the menu options.
|
|
9155
|
+
* @type {'box' | 'pill' | 'snowflake'}
|
|
9156
|
+
* @default 'box'
|
|
9157
|
+
*/
|
|
9158
|
+
shape: {
|
|
9159
|
+
type: String,
|
|
9160
|
+
attribute: "shape",
|
|
9161
|
+
reflect: true
|
|
9162
|
+
},
|
|
9163
|
+
|
|
9164
|
+
/**
|
|
9165
|
+
* Sets the size of the menu options.
|
|
9166
|
+
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
9167
|
+
* @default 'sm'
|
|
9168
|
+
*/
|
|
9169
|
+
size: {
|
|
9170
|
+
type: String,
|
|
9171
|
+
attribute: "size",
|
|
9172
|
+
reflect: true
|
|
9173
|
+
},
|
|
9174
|
+
|
|
9037
9175
|
/**
|
|
9038
9176
|
* When true, the entire menu and all options are disabled.
|
|
9039
9177
|
*/
|
|
@@ -9089,6 +9227,7 @@ class AuroMenu extends AuroElement$1 {
|
|
|
9089
9227
|
/**
|
|
9090
9228
|
* Specifies the current active menuOption.
|
|
9091
9229
|
* @readonly
|
|
9230
|
+
* @type {HTMLElement}
|
|
9092
9231
|
*/
|
|
9093
9232
|
optionActive: {
|
|
9094
9233
|
type: Object,
|
|
@@ -9098,6 +9237,7 @@ class AuroMenu extends AuroElement$1 {
|
|
|
9098
9237
|
/**
|
|
9099
9238
|
* The currently selected menu option(s). In single-select mode this is a single `HTMLElement` (or `undefined` when nothing is selected). In multi-select mode this is an array of `HTMLElement`s.
|
|
9100
9239
|
* @readonly
|
|
9240
|
+
* @type {HTMLElement | HTMLElement[]}
|
|
9101
9241
|
*/
|
|
9102
9242
|
optionSelected: {
|
|
9103
9243
|
// Allow HTMLElement, HTMLElement[] arrays and undefined
|
|
@@ -10315,9 +10455,36 @@ class AuroMenuOption extends AuroElement$1 {
|
|
|
10315
10455
|
static get properties() {
|
|
10316
10456
|
return {
|
|
10317
10457
|
...super.properties,
|
|
10458
|
+
|
|
10459
|
+
/**
|
|
10460
|
+
* Sets the shape of the option. When unset, it inherits the shape of the parent `auro-menu`.
|
|
10461
|
+
* @type {'box' | 'pill' | 'snowflake'}
|
|
10462
|
+
* @default 'box'
|
|
10463
|
+
*/
|
|
10464
|
+
shape: {
|
|
10465
|
+
type: String,
|
|
10466
|
+
attribute: "shape",
|
|
10467
|
+
reflect: true
|
|
10468
|
+
},
|
|
10469
|
+
|
|
10470
|
+
/**
|
|
10471
|
+
* Sets the size of the option. When unset, it inherits the size of the parent `auro-menu`.
|
|
10472
|
+
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
10473
|
+
* @default 'sm'
|
|
10474
|
+
*/
|
|
10475
|
+
size: {
|
|
10476
|
+
type: String,
|
|
10477
|
+
attribute: "size",
|
|
10478
|
+
reflect: true
|
|
10479
|
+
},
|
|
10480
|
+
|
|
10481
|
+
/**
|
|
10482
|
+
* When true, this option will not show the checkmark when selected.
|
|
10483
|
+
*/
|
|
10318
10484
|
noCheckmark: {
|
|
10319
10485
|
type: Boolean,
|
|
10320
|
-
reflect: true
|
|
10486
|
+
reflect: true,
|
|
10487
|
+
attribute: 'nocheckmark'
|
|
10321
10488
|
},
|
|
10322
10489
|
|
|
10323
10490
|
/**
|
|
@@ -10329,21 +10496,34 @@ class AuroMenuOption extends AuroElement$1 {
|
|
|
10329
10496
|
type: Boolean,
|
|
10330
10497
|
reflect: true
|
|
10331
10498
|
},
|
|
10499
|
+
|
|
10500
|
+
/**
|
|
10501
|
+
* When true, the option is disabled and cannot be selected.
|
|
10502
|
+
*/
|
|
10332
10503
|
disabled: {
|
|
10333
10504
|
type: Boolean,
|
|
10334
10505
|
reflect: true
|
|
10335
10506
|
},
|
|
10507
|
+
|
|
10508
|
+
/**
|
|
10509
|
+
* The value associated with this menu option.
|
|
10510
|
+
*/
|
|
10336
10511
|
value: {
|
|
10337
10512
|
type: String,
|
|
10338
10513
|
reflect: true
|
|
10339
10514
|
},
|
|
10515
|
+
|
|
10516
|
+
/**
|
|
10517
|
+
* Sets the tab order of the menu option.
|
|
10518
|
+
*/
|
|
10340
10519
|
tabIndex: {
|
|
10341
10520
|
type: Number,
|
|
10342
|
-
reflect: true
|
|
10521
|
+
reflect: true,
|
|
10522
|
+
attribute: 'tabindex'
|
|
10343
10523
|
},
|
|
10344
10524
|
|
|
10345
10525
|
/**
|
|
10346
|
-
*
|
|
10526
|
+
* When set, selecting this option dispatches a custom event of the given name from the parent `auro-menu` (and an `auroMenu-customEventFired` event) instead of selecting the option.
|
|
10347
10527
|
*/
|
|
10348
10528
|
event: {
|
|
10349
10529
|
type: String,
|