@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
|
@@ -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 = '202608291822';
|
|
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: 'hastriggercontent'
|
|
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,6 +5521,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5455
5521
|
*/
|
|
5456
5522
|
onDark: {
|
|
5457
5523
|
type: Boolean,
|
|
5524
|
+
attribute: 'ondark',
|
|
5458
5525
|
reflect: true
|
|
5459
5526
|
},
|
|
5460
5527
|
|
|
@@ -5463,6 +5530,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5463
5530
|
*/
|
|
5464
5531
|
onSlotChange: {
|
|
5465
5532
|
type: Function,
|
|
5533
|
+
attribute: 'onslotchange',
|
|
5466
5534
|
reflect: false
|
|
5467
5535
|
},
|
|
5468
5536
|
|
|
@@ -5477,10 +5545,11 @@ class AuroDropdown extends AuroElement {
|
|
|
5477
5545
|
},
|
|
5478
5546
|
|
|
5479
5547
|
/**
|
|
5480
|
-
*
|
|
5548
|
+
* Sets the tabindex applied to the dropdown trigger for keyboard focus order.
|
|
5481
5549
|
*/
|
|
5482
5550
|
tabIndex: {
|
|
5483
|
-
type: Number
|
|
5551
|
+
type: Number,
|
|
5552
|
+
attribute: 'tabindex'
|
|
5484
5553
|
},
|
|
5485
5554
|
|
|
5486
5555
|
/**
|
|
@@ -5704,7 +5773,7 @@ class AuroDropdown extends AuroElement {
|
|
|
5704
5773
|
/**
|
|
5705
5774
|
* @description Let subscribers know that the dropdown ID ha been generated and added.
|
|
5706
5775
|
* @event auroDropdown-idAdded
|
|
5707
|
-
* @type {
|
|
5776
|
+
* @type {CustomEvent<{ id: string }>} - Detail carries the generated ID of the dropdown bib element.
|
|
5708
5777
|
*/
|
|
5709
5778
|
this.dispatchEvent(new CustomEvent('auroDropdown-idAdded', {detail: {id: this.floater.element.id}}));
|
|
5710
5779
|
|
|
@@ -6554,6 +6623,9 @@ var headerVersion = '5.0.1';
|
|
|
6554
6623
|
* @slot subheader - Slot for the subheader content.
|
|
6555
6624
|
* @slot footer - Slot for the footer content.
|
|
6556
6625
|
* @slot ariaLabel.close - Slot for the close button aria-label.
|
|
6626
|
+
* @csspart bibtemplate - The outermost bibtemplate container element.
|
|
6627
|
+
* @event close-click - Notifies when the close button is clicked.
|
|
6628
|
+
* @event auro-bibtemplate-connected - Notifies that the bibtemplate has connected to the DOM, passing a reference to the element in the event detail.
|
|
6557
6629
|
*/
|
|
6558
6630
|
class AuroBibtemplate extends i$2 {
|
|
6559
6631
|
|
|
@@ -6593,10 +6665,19 @@ class AuroBibtemplate extends i$2 {
|
|
|
6593
6665
|
// function to define props used within the scope of this component
|
|
6594
6666
|
static get properties() {
|
|
6595
6667
|
return {
|
|
6668
|
+
|
|
6669
|
+
/**
|
|
6670
|
+
* If declared, the bibtemplate renders in fullscreen mode, exposing the header, subheader, and footer regions.
|
|
6671
|
+
*/
|
|
6596
6672
|
isFullscreen: {
|
|
6597
6673
|
type: Boolean,
|
|
6674
|
+
attribute: 'isfullscreen',
|
|
6598
6675
|
reflect: true
|
|
6599
6676
|
},
|
|
6677
|
+
|
|
6678
|
+
/**
|
|
6679
|
+
* If declared, the fullscreen headline renders using the larger display heading style.
|
|
6680
|
+
*/
|
|
6600
6681
|
large: {
|
|
6601
6682
|
type: Boolean,
|
|
6602
6683
|
reflect: true
|
|
@@ -6607,6 +6688,7 @@ class AuroBibtemplate extends i$2 {
|
|
|
6607
6688
|
*/
|
|
6608
6689
|
showFooter: {
|
|
6609
6690
|
type: Boolean,
|
|
6691
|
+
attribute: 'showfooter',
|
|
6610
6692
|
reflect: true
|
|
6611
6693
|
}
|
|
6612
6694
|
};
|
|
@@ -6821,6 +6903,8 @@ class AuroHelpText extends i$2 {
|
|
|
6821
6903
|
super();
|
|
6822
6904
|
|
|
6823
6905
|
this.error = false;
|
|
6906
|
+
|
|
6907
|
+
/** @type {'default' | 'inverse'} */
|
|
6824
6908
|
this.appearance = "default";
|
|
6825
6909
|
this.onDark = false;
|
|
6826
6910
|
this.hasTextContent = false;
|
|
@@ -6841,8 +6925,8 @@ class AuroHelpText extends i$2 {
|
|
|
6841
6925
|
return {
|
|
6842
6926
|
|
|
6843
6927
|
/**
|
|
6844
|
-
*
|
|
6845
|
-
* @
|
|
6928
|
+
* The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
|
|
6929
|
+
* @type {'default' | 'inverse'}
|
|
6846
6930
|
* @default 'default'
|
|
6847
6931
|
*/
|
|
6848
6932
|
appearance: {
|
|
@@ -6855,6 +6939,7 @@ class AuroHelpText extends i$2 {
|
|
|
6855
6939
|
*/
|
|
6856
6940
|
slotNodes: {
|
|
6857
6941
|
type: Boolean,
|
|
6942
|
+
attribute: 'slotnodes',
|
|
6858
6943
|
},
|
|
6859
6944
|
|
|
6860
6945
|
/**
|
|
@@ -6862,6 +6947,7 @@ class AuroHelpText extends i$2 {
|
|
|
6862
6947
|
*/
|
|
6863
6948
|
hasTextContent: {
|
|
6864
6949
|
type: Boolean,
|
|
6950
|
+
attribute: 'hastextcontent',
|
|
6865
6951
|
},
|
|
6866
6952
|
|
|
6867
6953
|
/**
|
|
@@ -6877,6 +6963,7 @@ class AuroHelpText extends i$2 {
|
|
|
6877
6963
|
*/
|
|
6878
6964
|
onDark: {
|
|
6879
6965
|
type: Boolean,
|
|
6966
|
+
attribute: 'ondark',
|
|
6880
6967
|
reflect: true
|
|
6881
6968
|
}
|
|
6882
6969
|
};
|
|
@@ -6947,7 +7034,7 @@ class AuroHelpText extends i$2 {
|
|
|
6947
7034
|
}
|
|
6948
7035
|
}
|
|
6949
7036
|
|
|
6950
|
-
var formkitVersion = '
|
|
7037
|
+
var formkitVersion = '202608291822';
|
|
6951
7038
|
|
|
6952
7039
|
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
7040
|
|
|
@@ -6977,6 +7064,9 @@ var emphasizedColorCss = i$5`:host([layout=emphasized]) [auro-dropdown]{--ds-aur
|
|
|
6977
7064
|
* @csspart dropdownChevron - Apply CSS to the collapsed/expanded state icon container.
|
|
6978
7065
|
* @csspart dropdownSize - Apply size styles to the dropdown bib (height, width, maxHeight, maxWidth only).
|
|
6979
7066
|
* @csspart helpText - Apply CSS to the help text.
|
|
7067
|
+
* @csspart wrapper - Apply CSS to the root wrapper element of the select.
|
|
7068
|
+
* @csspart dropdown - Apply CSS to the underlying dropdown element.
|
|
7069
|
+
* @csspart displayValue - Apply CSS to the custom displayValue container.
|
|
6980
7070
|
*/
|
|
6981
7071
|
|
|
6982
7072
|
// build the component class
|
|
@@ -7103,6 +7193,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7103
7193
|
*/
|
|
7104
7194
|
autoPlacement: {
|
|
7105
7195
|
type: Boolean,
|
|
7196
|
+
attribute: 'autoplacement',
|
|
7106
7197
|
reflect: true
|
|
7107
7198
|
},
|
|
7108
7199
|
|
|
@@ -7135,6 +7226,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7135
7226
|
*/
|
|
7136
7227
|
flexMenuWidth: {
|
|
7137
7228
|
type: Boolean,
|
|
7229
|
+
attribute: 'flexmenuwidth',
|
|
7138
7230
|
reflect: true,
|
|
7139
7231
|
},
|
|
7140
7232
|
|
|
@@ -7151,6 +7243,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7151
7243
|
*/
|
|
7152
7244
|
forceDisplayValue: {
|
|
7153
7245
|
type: Boolean,
|
|
7246
|
+
attribute: 'forcedisplayvalue',
|
|
7154
7247
|
reflect: true
|
|
7155
7248
|
},
|
|
7156
7249
|
|
|
@@ -7164,6 +7257,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7164
7257
|
*/
|
|
7165
7258
|
fullscreenBreakpoint: {
|
|
7166
7259
|
type: String,
|
|
7260
|
+
attribute: 'fullscreenbreakpoint',
|
|
7167
7261
|
reflect: true
|
|
7168
7262
|
},
|
|
7169
7263
|
|
|
@@ -7190,6 +7284,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7190
7284
|
*/
|
|
7191
7285
|
isPopoverVisible: {
|
|
7192
7286
|
type: Boolean,
|
|
7287
|
+
attribute: 'ispopovervisible',
|
|
7193
7288
|
reflect: false
|
|
7194
7289
|
},
|
|
7195
7290
|
|
|
@@ -7199,6 +7294,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7199
7294
|
*/
|
|
7200
7295
|
largeFullscreenHeadline: {
|
|
7201
7296
|
type: Boolean,
|
|
7297
|
+
attribute: 'largefullscreenheadline',
|
|
7202
7298
|
reflect: true
|
|
7203
7299
|
},
|
|
7204
7300
|
|
|
@@ -7217,6 +7313,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7217
7313
|
*/
|
|
7218
7314
|
matchWidth: {
|
|
7219
7315
|
type: Boolean,
|
|
7316
|
+
attribute: 'matchwidth',
|
|
7220
7317
|
reflect: true
|
|
7221
7318
|
},
|
|
7222
7319
|
|
|
@@ -7242,6 +7339,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7242
7339
|
*/
|
|
7243
7340
|
noCheckmark: {
|
|
7244
7341
|
type: Boolean,
|
|
7342
|
+
attribute: 'nocheckmark',
|
|
7245
7343
|
reflect: true
|
|
7246
7344
|
},
|
|
7247
7345
|
|
|
@@ -7251,6 +7349,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7251
7349
|
*/
|
|
7252
7350
|
noFlip: {
|
|
7253
7351
|
type: Boolean,
|
|
7352
|
+
attribute: 'noflip',
|
|
7254
7353
|
reflect: true
|
|
7255
7354
|
},
|
|
7256
7355
|
|
|
@@ -7259,6 +7358,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7259
7358
|
*/
|
|
7260
7359
|
noValidate: {
|
|
7261
7360
|
type: Boolean,
|
|
7361
|
+
attribute: 'novalidate',
|
|
7262
7362
|
reflect: true
|
|
7263
7363
|
},
|
|
7264
7364
|
|
|
@@ -7276,6 +7376,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7276
7376
|
*/
|
|
7277
7377
|
onDark: {
|
|
7278
7378
|
type: Boolean,
|
|
7379
|
+
attribute: 'ondark',
|
|
7279
7380
|
reflect: true
|
|
7280
7381
|
},
|
|
7281
7382
|
|
|
@@ -7284,7 +7385,8 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7284
7385
|
* @type {HTMLElement|Array<HTMLElement>}
|
|
7285
7386
|
*/
|
|
7286
7387
|
optionSelected: {
|
|
7287
|
-
type: Object
|
|
7388
|
+
type: Object,
|
|
7389
|
+
attribute: 'optionselected'
|
|
7288
7390
|
},
|
|
7289
7391
|
|
|
7290
7392
|
/**
|
|
@@ -7317,21 +7419,24 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7317
7419
|
* Sets a custom help text message to display for all validityStates.
|
|
7318
7420
|
*/
|
|
7319
7421
|
setCustomValidity: {
|
|
7320
|
-
type: String
|
|
7422
|
+
type: String,
|
|
7423
|
+
attribute: 'setcustomvalidity'
|
|
7321
7424
|
},
|
|
7322
7425
|
|
|
7323
7426
|
/**
|
|
7324
7427
|
* Custom help text message to display when validity = `customError`.
|
|
7325
7428
|
*/
|
|
7326
7429
|
setCustomValidityCustomError: {
|
|
7327
|
-
type: String
|
|
7430
|
+
type: String,
|
|
7431
|
+
attribute: 'setcustomvaliditycustomerror'
|
|
7328
7432
|
},
|
|
7329
7433
|
|
|
7330
7434
|
/**
|
|
7331
7435
|
* Custom help text message to display when validity = `valueMissing`.
|
|
7332
7436
|
*/
|
|
7333
7437
|
setCustomValidityValueMissing: {
|
|
7334
|
-
type: String
|
|
7438
|
+
type: String,
|
|
7439
|
+
attribute: 'setcustomvalidityvaluemissing'
|
|
7335
7440
|
},
|
|
7336
7441
|
|
|
7337
7442
|
/**
|
|
@@ -7377,6 +7482,7 @@ class AuroSelect extends AuroElement$1 {
|
|
|
7377
7482
|
*/
|
|
7378
7483
|
typeaheadTimeoutMs: {
|
|
7379
7484
|
type: Number,
|
|
7485
|
+
attribute: 'typeaheadtimeoutms',
|
|
7380
7486
|
reflect: true
|
|
7381
7487
|
},
|
|
7382
7488
|
|
|
@@ -8938,6 +9044,7 @@ let menuInstanceIdCounter = 0;
|
|
|
8938
9044
|
* @event {CustomEvent<Element>} auroMenu-activatedOption - Notifies that a menuoption has been made `active`.
|
|
8939
9045
|
* @event {CustomEvent<any>} auroMenu-customEventFired - Notifies that a custom event has been fired.
|
|
8940
9046
|
* @event {CustomEvent<{ loading: boolean; hasLoadingPlaceholder: boolean; }>} auroMenu-loadingChange - Notifies when the loading attribute is changed.
|
|
9047
|
+
* @event {CustomEvent<{ options: Array }>} auroMenu-optionsChange - Notifies that the set of available menu options has changed.
|
|
8941
9048
|
* @event {CustomEvent<any>} auroMenu-selectValueFailure - Notifies that an attempt to select a menuoption by matching a value has failed.
|
|
8942
9049
|
* @event {CustomEvent<any>} auroMenu-selectValueReset - Notifies that the component value has been reset.
|
|
8943
9050
|
* @event {CustomEvent<any>} auroMenu-selectedOption - Notifies that a new menuoption selection has been made.
|
|
@@ -8952,15 +9059,7 @@ class AuroMenu extends AuroElement$1 {
|
|
|
8952
9059
|
|
|
8953
9060
|
// State properties (reactive)
|
|
8954
9061
|
|
|
8955
|
-
|
|
8956
|
-
* @private
|
|
8957
|
-
*/
|
|
8958
|
-
this.shape = "box";
|
|
8959
|
-
|
|
8960
|
-
/**
|
|
8961
|
-
* @private
|
|
8962
|
-
*/
|
|
8963
|
-
this.size = "sm";
|
|
9062
|
+
this.initializeArchitectureDefaults();
|
|
8964
9063
|
|
|
8965
9064
|
// Value of the selected options
|
|
8966
9065
|
this.value = undefined;
|
|
@@ -9001,8 +9100,6 @@ class AuroMenu extends AuroElement$1 {
|
|
|
9001
9100
|
|
|
9002
9101
|
// Instance properties (non-reactive)
|
|
9003
9102
|
|
|
9004
|
-
menuInstanceIdCounter += 1;
|
|
9005
|
-
|
|
9006
9103
|
Object.assign(this, {
|
|
9007
9104
|
// Root-level menu (true) or a nested submenu (false)
|
|
9008
9105
|
rootMenu: true,
|
|
@@ -9014,7 +9111,7 @@ class AuroMenu extends AuroElement$1 {
|
|
|
9014
9111
|
loadingSlots: null,
|
|
9015
9112
|
// Unique id for this menu instance; prefixes every auto-generated option
|
|
9016
9113
|
// key so keys never collide across menus in the same document.
|
|
9017
|
-
_menuInstanceId: `menu-${menuInstanceIdCounter}`,
|
|
9114
|
+
_menuInstanceId: `menu-${menuInstanceIdCounter += 1}`,
|
|
9018
9115
|
// Monotonically increasing counter for option key generation. Never
|
|
9019
9116
|
// resets, so a key is never reused within this instance's lifetime.
|
|
9020
9117
|
_optionKeyCounter: 0,
|
|
@@ -9030,10 +9127,50 @@ class AuroMenu extends AuroElement$1 {
|
|
|
9030
9127
|
});
|
|
9031
9128
|
}
|
|
9032
9129
|
|
|
9130
|
+
// Defaults for the layout/shape/size architecture props are set in a helper
|
|
9131
|
+
// (not the constructor body) so the CEM analyzer keeps their `@type` unions
|
|
9132
|
+
// instead of inferring `string` from a constructor-literal assignment.
|
|
9133
|
+
// See AlaskaAirlines/discussions#653.
|
|
9134
|
+
initializeArchitectureDefaults() {
|
|
9135
|
+
this.shape = "box";
|
|
9136
|
+
this.size = "sm";
|
|
9137
|
+
}
|
|
9138
|
+
|
|
9033
9139
|
static get properties() {
|
|
9034
9140
|
return {
|
|
9035
9141
|
...super.properties,
|
|
9036
9142
|
|
|
9143
|
+
/**
|
|
9144
|
+
* Applies a named layout variant to the menu. Free-form string consumed by the shared architecture helpers; menu defines no closed value set.
|
|
9145
|
+
*/
|
|
9146
|
+
layout: {
|
|
9147
|
+
type: String,
|
|
9148
|
+
attribute: "layout",
|
|
9149
|
+
reflect: true
|
|
9150
|
+
},
|
|
9151
|
+
|
|
9152
|
+
/**
|
|
9153
|
+
* Sets the shape of the menu options.
|
|
9154
|
+
* @type {'box' | 'pill' | 'snowflake'}
|
|
9155
|
+
* @default 'box'
|
|
9156
|
+
*/
|
|
9157
|
+
shape: {
|
|
9158
|
+
type: String,
|
|
9159
|
+
attribute: "shape",
|
|
9160
|
+
reflect: true
|
|
9161
|
+
},
|
|
9162
|
+
|
|
9163
|
+
/**
|
|
9164
|
+
* Sets the size of the menu options.
|
|
9165
|
+
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
9166
|
+
* @default 'sm'
|
|
9167
|
+
*/
|
|
9168
|
+
size: {
|
|
9169
|
+
type: String,
|
|
9170
|
+
attribute: "size",
|
|
9171
|
+
reflect: true
|
|
9172
|
+
},
|
|
9173
|
+
|
|
9037
9174
|
/**
|
|
9038
9175
|
* When true, the entire menu and all options are disabled.
|
|
9039
9176
|
*/
|
|
@@ -10315,9 +10452,36 @@ class AuroMenuOption extends AuroElement$1 {
|
|
|
10315
10452
|
static get properties() {
|
|
10316
10453
|
return {
|
|
10317
10454
|
...super.properties,
|
|
10455
|
+
|
|
10456
|
+
/**
|
|
10457
|
+
* Sets the shape of the option. When unset, it inherits the shape of the parent `auro-menu`.
|
|
10458
|
+
* @type {'box' | 'pill' | 'snowflake'}
|
|
10459
|
+
* @default 'box'
|
|
10460
|
+
*/
|
|
10461
|
+
shape: {
|
|
10462
|
+
type: String,
|
|
10463
|
+
attribute: "shape",
|
|
10464
|
+
reflect: true
|
|
10465
|
+
},
|
|
10466
|
+
|
|
10467
|
+
/**
|
|
10468
|
+
* Sets the size of the option. When unset, it inherits the size of the parent `auro-menu`.
|
|
10469
|
+
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
10470
|
+
* @default 'sm'
|
|
10471
|
+
*/
|
|
10472
|
+
size: {
|
|
10473
|
+
type: String,
|
|
10474
|
+
attribute: "size",
|
|
10475
|
+
reflect: true
|
|
10476
|
+
},
|
|
10477
|
+
|
|
10478
|
+
/**
|
|
10479
|
+
* When true, this option will not show the checkmark when selected.
|
|
10480
|
+
*/
|
|
10318
10481
|
noCheckmark: {
|
|
10319
10482
|
type: Boolean,
|
|
10320
|
-
reflect: true
|
|
10483
|
+
reflect: true,
|
|
10484
|
+
attribute: 'nocheckmark'
|
|
10321
10485
|
},
|
|
10322
10486
|
|
|
10323
10487
|
/**
|
|
@@ -10329,17 +10493,30 @@ class AuroMenuOption extends AuroElement$1 {
|
|
|
10329
10493
|
type: Boolean,
|
|
10330
10494
|
reflect: true
|
|
10331
10495
|
},
|
|
10496
|
+
|
|
10497
|
+
/**
|
|
10498
|
+
* When true, the option is disabled and cannot be selected.
|
|
10499
|
+
*/
|
|
10332
10500
|
disabled: {
|
|
10333
10501
|
type: Boolean,
|
|
10334
10502
|
reflect: true
|
|
10335
10503
|
},
|
|
10504
|
+
|
|
10505
|
+
/**
|
|
10506
|
+
* The value associated with this menu option.
|
|
10507
|
+
*/
|
|
10336
10508
|
value: {
|
|
10337
10509
|
type: String,
|
|
10338
10510
|
reflect: true
|
|
10339
10511
|
},
|
|
10512
|
+
|
|
10513
|
+
/**
|
|
10514
|
+
* Sets the tab order of the menu option.
|
|
10515
|
+
*/
|
|
10340
10516
|
tabIndex: {
|
|
10341
10517
|
type: Number,
|
|
10342
|
-
reflect: true
|
|
10518
|
+
reflect: true,
|
|
10519
|
+
attribute: 'tabindex'
|
|
10343
10520
|
},
|
|
10344
10521
|
|
|
10345
10522
|
/**
|