@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
|
@@ -3123,8 +3123,11 @@ const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
|
|
|
3123
3123
|
];
|
|
3124
3124
|
|
|
3125
3125
|
/**
|
|
3126
|
+
* The `auro-dropdownbib` element renders the dropdown's bib as a dialog/popover container and manages its fullscreen and modal display.
|
|
3126
3127
|
* @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.
|
|
3127
3128
|
* @csspart bibContainer - Apply css to the bib container.
|
|
3129
|
+
* @event auro-dropdownbib-connected - Notifies that the dropdown bib has connected to the DOM, passing a reference to the element in the event detail.
|
|
3130
|
+
* @event auro-bib-cancel - Notifies that the bib was cancelled (e.g. via the ESC key) so parent components can close it.
|
|
3128
3131
|
*/
|
|
3129
3132
|
|
|
3130
3133
|
class AuroDropdownBib extends LitElement {
|
|
@@ -3139,9 +3142,17 @@ class AuroDropdownBib extends LitElement {
|
|
|
3139
3142
|
|
|
3140
3143
|
AuroLibraryRuntimeUtils$1.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
|
|
3141
3144
|
|
|
3142
|
-
this.shape = "rounded";
|
|
3143
3145
|
this.matchWidth = false;
|
|
3144
3146
|
this.hasActiveDescendant = false;
|
|
3147
|
+
|
|
3148
|
+
this.initializeArchitectureDefaults();
|
|
3149
|
+
}
|
|
3150
|
+
|
|
3151
|
+
// The `shape` default is set in a helper (not the constructor body) so the CEM
|
|
3152
|
+
// analyzer keeps its `@type` union instead of inferring `string` from a
|
|
3153
|
+
// constructor-literal assignment. See AlaskaAirlines/discussions#653.
|
|
3154
|
+
initializeArchitectureDefaults() {
|
|
3155
|
+
this.shape = "rounded";
|
|
3145
3156
|
}
|
|
3146
3157
|
|
|
3147
3158
|
static get styles() {
|
|
@@ -3160,6 +3171,7 @@ class AuroDropdownBib extends LitElement {
|
|
|
3160
3171
|
*/
|
|
3161
3172
|
isFullscreen: {
|
|
3162
3173
|
type: Boolean,
|
|
3174
|
+
attribute: 'isfullscreen',
|
|
3163
3175
|
reflect: true
|
|
3164
3176
|
},
|
|
3165
3177
|
|
|
@@ -3185,6 +3197,7 @@ class AuroDropdownBib extends LitElement {
|
|
|
3185
3197
|
*/
|
|
3186
3198
|
matchWidth: {
|
|
3187
3199
|
type: Boolean,
|
|
3200
|
+
attribute: 'matchwidth',
|
|
3188
3201
|
reflect: true
|
|
3189
3202
|
},
|
|
3190
3203
|
|
|
@@ -3200,11 +3213,18 @@ class AuroDropdownBib extends LitElement {
|
|
|
3200
3213
|
* A reference to the associated bib template element.
|
|
3201
3214
|
*/
|
|
3202
3215
|
bibTemplate: {
|
|
3203
|
-
type: Object
|
|
3216
|
+
type: Object,
|
|
3217
|
+
attribute: 'bibtemplate'
|
|
3204
3218
|
},
|
|
3205
3219
|
|
|
3220
|
+
/**
|
|
3221
|
+
* Sets the shape of the dropdown bib.
|
|
3222
|
+
* @type {'box' | 'classic' | 'pill' | 'rounded' | 'snowflake'}
|
|
3223
|
+
* @default 'rounded'
|
|
3224
|
+
*/
|
|
3206
3225
|
shape: {
|
|
3207
3226
|
type: String,
|
|
3227
|
+
attribute: "shape",
|
|
3208
3228
|
reflect: true
|
|
3209
3229
|
},
|
|
3210
3230
|
|
|
@@ -3216,7 +3236,8 @@ class AuroDropdownBib extends LitElement {
|
|
|
3216
3236
|
* @private
|
|
3217
3237
|
*/
|
|
3218
3238
|
dialogLabel: {
|
|
3219
|
-
type: String
|
|
3239
|
+
type: String,
|
|
3240
|
+
attribute: 'dialoglabel'
|
|
3220
3241
|
},
|
|
3221
3242
|
|
|
3222
3243
|
/**
|
|
@@ -3227,7 +3248,8 @@ class AuroDropdownBib extends LitElement {
|
|
|
3227
3248
|
* @private
|
|
3228
3249
|
*/
|
|
3229
3250
|
dialogRole: {
|
|
3230
|
-
type: String
|
|
3251
|
+
type: String,
|
|
3252
|
+
attribute: 'dialogrole'
|
|
3231
3253
|
},
|
|
3232
3254
|
|
|
3233
3255
|
/**
|
|
@@ -3235,7 +3257,8 @@ class AuroDropdownBib extends LitElement {
|
|
|
3235
3257
|
* @private
|
|
3236
3258
|
*/
|
|
3237
3259
|
hasActiveDescendant: {
|
|
3238
|
-
type: Boolean
|
|
3260
|
+
type: Boolean,
|
|
3261
|
+
attribute: 'hasactivedescendant'
|
|
3239
3262
|
}
|
|
3240
3263
|
};
|
|
3241
3264
|
}
|
|
@@ -3586,6 +3609,8 @@ class AuroHelpText extends LitElement {
|
|
|
3586
3609
|
super();
|
|
3587
3610
|
|
|
3588
3611
|
this.error = false;
|
|
3612
|
+
|
|
3613
|
+
/** @type {'default' | 'inverse'} */
|
|
3589
3614
|
this.appearance = "default";
|
|
3590
3615
|
this.onDark = false;
|
|
3591
3616
|
this.hasTextContent = false;
|
|
@@ -3606,8 +3631,8 @@ class AuroHelpText extends LitElement {
|
|
|
3606
3631
|
return {
|
|
3607
3632
|
|
|
3608
3633
|
/**
|
|
3609
|
-
*
|
|
3610
|
-
* @
|
|
3634
|
+
* The appearance of the help text, either default (for light backgrounds) or inverse (for dark backgrounds).
|
|
3635
|
+
* @type {'default' | 'inverse'}
|
|
3611
3636
|
* @default 'default'
|
|
3612
3637
|
*/
|
|
3613
3638
|
appearance: {
|
|
@@ -3620,6 +3645,7 @@ class AuroHelpText extends LitElement {
|
|
|
3620
3645
|
*/
|
|
3621
3646
|
slotNodes: {
|
|
3622
3647
|
type: Boolean,
|
|
3648
|
+
attribute: 'slotnodes',
|
|
3623
3649
|
},
|
|
3624
3650
|
|
|
3625
3651
|
/**
|
|
@@ -3627,6 +3653,7 @@ class AuroHelpText extends LitElement {
|
|
|
3627
3653
|
*/
|
|
3628
3654
|
hasTextContent: {
|
|
3629
3655
|
type: Boolean,
|
|
3656
|
+
attribute: 'hastextcontent',
|
|
3630
3657
|
},
|
|
3631
3658
|
|
|
3632
3659
|
/**
|
|
@@ -3642,6 +3669,7 @@ class AuroHelpText extends LitElement {
|
|
|
3642
3669
|
*/
|
|
3643
3670
|
onDark: {
|
|
3644
3671
|
type: Boolean,
|
|
3672
|
+
attribute: 'ondark',
|
|
3645
3673
|
reflect: true
|
|
3646
3674
|
}
|
|
3647
3675
|
};
|
|
@@ -3712,39 +3740,39 @@ class AuroHelpText extends LitElement {
|
|
|
3712
3740
|
}
|
|
3713
3741
|
}
|
|
3714
3742
|
|
|
3715
|
-
var formkitVersion = '
|
|
3743
|
+
var formkitVersion = '202608300032';
|
|
3716
3744
|
|
|
3745
|
+
/**
|
|
3746
|
+
* AuroElement is the shared base class for layout-aware Auro form components.
|
|
3747
|
+
*
|
|
3748
|
+
* It defines the common `layout`, `shape`, `size`, and `ondark` reactive
|
|
3749
|
+
* properties and the architecture helpers (`renderLayout`, `resetShapeClasses`,
|
|
3750
|
+
* `resetLayoutClasses`) that subclasses use to render a chosen layout and apply
|
|
3751
|
+
* the matching `shape-*` / `layout-*` wrapper classes. Subclasses supply their
|
|
3752
|
+
* own default and valid value set for `layout`, `shape`, and `size`.
|
|
3753
|
+
*/
|
|
3717
3754
|
class AuroElement extends LitElement {
|
|
3718
3755
|
static get properties() {
|
|
3719
3756
|
return {
|
|
3720
3757
|
|
|
3721
3758
|
/**
|
|
3722
|
-
*
|
|
3723
|
-
* @default {'default'}
|
|
3759
|
+
* When true, renders the component styled for use on a dark background.
|
|
3724
3760
|
*/
|
|
3725
|
-
layout: {
|
|
3726
|
-
type: String,
|
|
3727
|
-
attribute: "layout",
|
|
3728
|
-
reflect: true
|
|
3729
|
-
},
|
|
3730
|
-
|
|
3731
|
-
shape: {
|
|
3732
|
-
type: String,
|
|
3733
|
-
attribute: "shape",
|
|
3734
|
-
reflect: true
|
|
3735
|
-
},
|
|
3736
|
-
|
|
3737
|
-
size: {
|
|
3738
|
-
type: String,
|
|
3739
|
-
attribute: "size",
|
|
3740
|
-
reflect: true
|
|
3741
|
-
},
|
|
3742
|
-
|
|
3743
3761
|
onDark: {
|
|
3744
3762
|
type: Boolean,
|
|
3745
3763
|
attribute: "ondark",
|
|
3746
3764
|
reflect: true
|
|
3747
3765
|
}
|
|
3766
|
+
|
|
3767
|
+
// NOTE: `layout`, `shape`, and `size` are intentionally NOT declared here.
|
|
3768
|
+
// Their valid value sets differ per component, and the CEM analyzer roots
|
|
3769
|
+
// an inherited property's `type` in the class that declares it — a base
|
|
3770
|
+
// declaration would force every subclass's `@type` to be discarded and
|
|
3771
|
+
// emitted as plain `string`. Each subclass declares its own `layout` /
|
|
3772
|
+
// `shape` / `size` with an exact `@type` union instead. AuroElement still
|
|
3773
|
+
// consumes `this.layout` / `this.shape` / `this.size` in its render and
|
|
3774
|
+
// architecture helpers below (subclasses guarantee the reactive props).
|
|
3775
|
+
// See AlaskaAirlines/discussions#653.
|
|
3748
3776
|
};
|
|
3749
3777
|
}
|
|
3750
3778
|
|
|
@@ -3830,6 +3858,7 @@ class AuroElement extends LitElement {
|
|
|
3830
3858
|
* @slot helpText - Defines the content of the helpText.
|
|
3831
3859
|
* @slot trigger - Defines the content of the trigger.
|
|
3832
3860
|
* @csspart trigger - The trigger content container.
|
|
3861
|
+
* @csspart wrapper - The trigger wrapper element surrounding the trigger content and chevron.
|
|
3833
3862
|
* @csspart chevron - The collapsed/expanded state icon container.
|
|
3834
3863
|
* @csspart size - The size of the dropdown bib. (height, width, maxHeight, maxWidth only)
|
|
3835
3864
|
* @csspart helpText - The helpText content container.
|
|
@@ -3854,7 +3883,7 @@ class AuroDropdown extends AuroElement {
|
|
|
3854
3883
|
|
|
3855
3884
|
/**
|
|
3856
3885
|
* When true, the dropdown skips its generic focus restoration on close.
|
|
3857
|
-
* Set by consumers (
|
|
3886
|
+
* Set by consumers (for example combobox) that manage their own focus routing
|
|
3858
3887
|
* via setClearBtnFocus / setInputFocus / keyboard strategy.
|
|
3859
3888
|
* Separate from noHideOnThisFocusLoss (which controls auto-close behavior).
|
|
3860
3889
|
* @private
|
|
@@ -4023,7 +4052,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4023
4052
|
/**
|
|
4024
4053
|
* Focus the trigger content. When the trigger wrapper itself is focusable
|
|
4025
4054
|
* (has tabindex), focus it directly. Otherwise, focus the first focusable
|
|
4026
|
-
* element slotted into the trigger slot (
|
|
4055
|
+
* element slotted into the trigger slot (for example the auro-input).
|
|
4027
4056
|
* @private
|
|
4028
4057
|
*/
|
|
4029
4058
|
focusTrigger() {
|
|
@@ -4120,6 +4149,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4120
4149
|
*/
|
|
4121
4150
|
autoPlacement: {
|
|
4122
4151
|
type: Boolean,
|
|
4152
|
+
attribute: 'autoplacement',
|
|
4123
4153
|
reflect: true
|
|
4124
4154
|
},
|
|
4125
4155
|
|
|
@@ -4128,6 +4158,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4128
4158
|
*/
|
|
4129
4159
|
desktopModal: {
|
|
4130
4160
|
type: Boolean,
|
|
4161
|
+
attribute: 'desktopmodal',
|
|
4131
4162
|
reflect: true
|
|
4132
4163
|
},
|
|
4133
4164
|
|
|
@@ -4136,6 +4167,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4136
4167
|
*/
|
|
4137
4168
|
disableEventShow: {
|
|
4138
4169
|
type: Boolean,
|
|
4170
|
+
attribute: 'disableeventshow',
|
|
4139
4171
|
reflect: true
|
|
4140
4172
|
},
|
|
4141
4173
|
|
|
@@ -4169,14 +4201,16 @@ class AuroDropdown extends AuroElement {
|
|
|
4169
4201
|
*/
|
|
4170
4202
|
disableKeyboardHandling: {
|
|
4171
4203
|
type: Boolean,
|
|
4204
|
+
attribute: 'disablekeyboardhandling',
|
|
4172
4205
|
reflect: true
|
|
4173
4206
|
},
|
|
4174
4207
|
|
|
4175
4208
|
/**
|
|
4176
|
-
*
|
|
4209
|
+
* Sets the width of the dropdown bib in pixels.
|
|
4177
4210
|
*/
|
|
4178
4211
|
dropdownWidth: {
|
|
4179
|
-
type: Number
|
|
4212
|
+
type: Number,
|
|
4213
|
+
attribute: 'dropdownwidth'
|
|
4180
4214
|
},
|
|
4181
4215
|
|
|
4182
4216
|
/**
|
|
@@ -4201,7 +4235,8 @@ class AuroDropdown extends AuroElement {
|
|
|
4201
4235
|
* Contains the help text message for the current validity error.
|
|
4202
4236
|
*/
|
|
4203
4237
|
errorMessage: {
|
|
4204
|
-
type: String
|
|
4238
|
+
type: String,
|
|
4239
|
+
attribute: 'errormessage'
|
|
4205
4240
|
},
|
|
4206
4241
|
|
|
4207
4242
|
/**
|
|
@@ -4209,6 +4244,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4209
4244
|
*/
|
|
4210
4245
|
focusShow: {
|
|
4211
4246
|
type: Boolean,
|
|
4247
|
+
attribute: 'focusshow',
|
|
4212
4248
|
reflect: true
|
|
4213
4249
|
},
|
|
4214
4250
|
|
|
@@ -4226,6 +4262,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4226
4262
|
*/
|
|
4227
4263
|
isBibFullscreen: {
|
|
4228
4264
|
type: Boolean,
|
|
4265
|
+
attribute: 'isbibfullscreen',
|
|
4229
4266
|
reflect: true
|
|
4230
4267
|
},
|
|
4231
4268
|
|
|
@@ -4234,6 +4271,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4234
4271
|
*/
|
|
4235
4272
|
hoverToggle: {
|
|
4236
4273
|
type: Boolean,
|
|
4274
|
+
attribute: 'hovertoggle',
|
|
4237
4275
|
reflect: true
|
|
4238
4276
|
},
|
|
4239
4277
|
|
|
@@ -4241,7 +4279,8 @@ class AuroDropdown extends AuroElement {
|
|
|
4241
4279
|
* @private
|
|
4242
4280
|
*/
|
|
4243
4281
|
hasTriggerContent: {
|
|
4244
|
-
type: Boolean
|
|
4282
|
+
type: Boolean,
|
|
4283
|
+
attribute: false
|
|
4245
4284
|
},
|
|
4246
4285
|
|
|
4247
4286
|
/**
|
|
@@ -4254,6 +4293,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4254
4293
|
*/
|
|
4255
4294
|
fullscreenBreakpoint: {
|
|
4256
4295
|
type: String,
|
|
4296
|
+
attribute: "fullscreenbreakpoint",
|
|
4257
4297
|
reflect: true
|
|
4258
4298
|
},
|
|
4259
4299
|
|
|
@@ -4264,6 +4304,27 @@ class AuroDropdown extends AuroElement {
|
|
|
4264
4304
|
*/
|
|
4265
4305
|
layout: {
|
|
4266
4306
|
type: String,
|
|
4307
|
+
attribute: "layout",
|
|
4308
|
+
reflect: true
|
|
4309
|
+
},
|
|
4310
|
+
|
|
4311
|
+
/**
|
|
4312
|
+
* Sets the shape of the dropdown.
|
|
4313
|
+
* @type {'box' | 'classic' | 'pill' | 'pill-left' | 'pill-right' | 'rounded' | 'snowflake'}
|
|
4314
|
+
*/
|
|
4315
|
+
shape: {
|
|
4316
|
+
type: String,
|
|
4317
|
+
attribute: "shape",
|
|
4318
|
+
reflect: true
|
|
4319
|
+
},
|
|
4320
|
+
|
|
4321
|
+
/**
|
|
4322
|
+
* Sets the size of the dropdown.
|
|
4323
|
+
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}
|
|
4324
|
+
*/
|
|
4325
|
+
size: {
|
|
4326
|
+
type: String,
|
|
4327
|
+
attribute: "size",
|
|
4267
4328
|
reflect: true
|
|
4268
4329
|
},
|
|
4269
4330
|
|
|
@@ -4273,6 +4334,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4273
4334
|
*/
|
|
4274
4335
|
parentBorder: {
|
|
4275
4336
|
type: Boolean,
|
|
4337
|
+
attribute: 'parentborder',
|
|
4276
4338
|
reflect: true
|
|
4277
4339
|
},
|
|
4278
4340
|
|
|
@@ -4281,6 +4343,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4281
4343
|
*/
|
|
4282
4344
|
matchWidth: {
|
|
4283
4345
|
type: Boolean,
|
|
4346
|
+
attribute: 'matchwidth',
|
|
4284
4347
|
reflect: true
|
|
4285
4348
|
},
|
|
4286
4349
|
|
|
@@ -4290,6 +4353,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4290
4353
|
*/
|
|
4291
4354
|
noFlip: {
|
|
4292
4355
|
type: Boolean,
|
|
4356
|
+
attribute: 'noflip',
|
|
4293
4357
|
reflect: true
|
|
4294
4358
|
},
|
|
4295
4359
|
|
|
@@ -4306,6 +4370,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4306
4370
|
*/
|
|
4307
4371
|
noHideOnThisFocusLoss: {
|
|
4308
4372
|
type: Boolean,
|
|
4373
|
+
attribute: 'nohideonthisfocusloss',
|
|
4309
4374
|
reflect: true
|
|
4310
4375
|
},
|
|
4311
4376
|
|
|
@@ -4314,6 +4379,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4314
4379
|
*/
|
|
4315
4380
|
noToggle: {
|
|
4316
4381
|
type: Boolean,
|
|
4382
|
+
attribute: 'notoggle',
|
|
4317
4383
|
reflect: true
|
|
4318
4384
|
},
|
|
4319
4385
|
|
|
@@ -4331,14 +4397,17 @@ class AuroDropdown extends AuroElement {
|
|
|
4331
4397
|
*/
|
|
4332
4398
|
onDark: {
|
|
4333
4399
|
type: Boolean,
|
|
4400
|
+
attribute: 'ondark',
|
|
4334
4401
|
reflect: true
|
|
4335
4402
|
},
|
|
4336
4403
|
|
|
4337
4404
|
/**
|
|
4338
4405
|
* If declared, and a function is set, that function will execute when the slot content is updated.
|
|
4406
|
+
* @type {() => void}
|
|
4339
4407
|
*/
|
|
4340
4408
|
onSlotChange: {
|
|
4341
4409
|
type: Function,
|
|
4410
|
+
attribute: 'onslotchange',
|
|
4342
4411
|
reflect: false
|
|
4343
4412
|
},
|
|
4344
4413
|
|
|
@@ -4353,10 +4422,11 @@ class AuroDropdown extends AuroElement {
|
|
|
4353
4422
|
},
|
|
4354
4423
|
|
|
4355
4424
|
/**
|
|
4356
|
-
*
|
|
4425
|
+
* Sets the tabindex applied to the dropdown trigger for keyboard focus order.
|
|
4357
4426
|
*/
|
|
4358
4427
|
tabIndex: {
|
|
4359
|
-
type: Number
|
|
4428
|
+
type: Number,
|
|
4429
|
+
attribute: 'tabindex'
|
|
4360
4430
|
},
|
|
4361
4431
|
|
|
4362
4432
|
/**
|
|
@@ -4580,7 +4650,7 @@ class AuroDropdown extends AuroElement {
|
|
|
4580
4650
|
/**
|
|
4581
4651
|
* @description Let subscribers know that the dropdown ID ha been generated and added.
|
|
4582
4652
|
* @event auroDropdown-idAdded
|
|
4583
|
-
* @type {
|
|
4653
|
+
* @type {CustomEvent<{ id: string }>} - Detail carries the generated ID of the dropdown bib element.
|
|
4584
4654
|
*/
|
|
4585
4655
|
this.dispatchEvent(new CustomEvent('auroDropdown-idAdded', {detail: {id: this.floater.element.id}}));
|
|
4586
4656
|
|