@aurodesignsystem/auro-formkit 2.1.0-beta.4 → 2.1.0-beta.6
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/CHANGELOG.md +18 -0
- package/components/bibtemplate/dist/index.js +2 -2
- package/components/bibtemplate/dist/registered.js +2 -2
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/readme.md +1 -1
- package/components/combobox/README.md +1 -1
- package/components/combobox/demo/api.md +122 -19
- package/components/combobox/demo/api.min.js +110 -16
- package/components/combobox/demo/index.min.js +110 -16
- package/components/combobox/demo/readme.md +1 -1
- package/components/combobox/dist/auro-combobox.d.ts +42 -0
- package/components/combobox/dist/index.js +110 -16
- package/components/combobox/dist/registered.js +110 -16
- package/components/counter/README.md +1 -1
- package/components/counter/demo/api.md +113 -10
- package/components/counter/demo/api.min.js +128 -39
- package/components/counter/demo/index.min.js +128 -39
- package/components/counter/demo/readme.md +1 -1
- package/components/counter/dist/auro-counter-group.d.ts +55 -17
- package/components/counter/dist/index.js +128 -39
- package/components/counter/dist/registered.js +128 -39
- package/components/datepicker/README.md +1 -1
- package/components/datepicker/demo/api.md +61 -0
- package/components/datepicker/demo/api.min.js +112 -17
- package/components/datepicker/demo/index.min.js +112 -17
- package/components/datepicker/demo/readme.md +1 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +42 -0
- package/components/datepicker/dist/index.js +112 -17
- package/components/datepicker/dist/registered.js +112 -17
- package/components/dropdown/README.md +1 -1
- package/components/dropdown/demo/api.md +166 -19
- package/components/dropdown/demo/api.min.js +56 -14
- package/components/dropdown/demo/index.min.js +56 -14
- package/components/dropdown/demo/readme.md +1 -1
- package/components/dropdown/dist/auro-dropdown.d.ts +46 -6
- package/components/dropdown/dist/index.js +56 -14
- package/components/dropdown/dist/registered.js +56 -14
- package/components/form/README.md +1 -1
- package/components/form/demo/readme.md +1 -1
- package/components/input/README.md +1 -1
- package/components/input/demo/readme.md +1 -1
- package/components/menu/README.md +1 -1
- package/components/menu/demo/readme.md +1 -1
- package/components/radio/README.md +1 -1
- package/components/radio/demo/readme.md +1 -1
- package/components/select/README.md +1 -1
- package/components/select/demo/api.md +120 -17
- package/components/select/demo/api.min.js +110 -16
- package/components/select/demo/index.min.js +110 -16
- package/components/select/demo/readme.md +1 -1
- package/components/select/dist/auro-select.d.ts +42 -0
- package/components/select/dist/index.js +110 -16
- package/components/select/dist/registered.js +110 -16
- package/package.json +1 -1
|
@@ -3410,12 +3410,17 @@ class AuroDropdown extends r$1 {
|
|
|
3410
3410
|
this.disabled = false;
|
|
3411
3411
|
this.error = false;
|
|
3412
3412
|
this.inset = false;
|
|
3413
|
-
this.placement = 'bottom-start';
|
|
3414
3413
|
this.rounded = false;
|
|
3415
3414
|
this.tabIndex = 0;
|
|
3416
3415
|
this.noToggle = false;
|
|
3417
3416
|
this.labeled = true;
|
|
3418
3417
|
|
|
3418
|
+
// floaterConfig
|
|
3419
|
+
this.placement = 'bottom-start';
|
|
3420
|
+
this.offset = 0;
|
|
3421
|
+
this.noFlip = false;
|
|
3422
|
+
this.autoPlacement = false;
|
|
3423
|
+
|
|
3419
3424
|
/**
|
|
3420
3425
|
* @private
|
|
3421
3426
|
*/
|
|
@@ -3436,16 +3441,6 @@ class AuroDropdown extends r$1 {
|
|
|
3436
3441
|
*/
|
|
3437
3442
|
this.floater = new AuroFloatingUI();
|
|
3438
3443
|
|
|
3439
|
-
/**
|
|
3440
|
-
* @private
|
|
3441
|
-
*/
|
|
3442
|
-
this.floaterConfig = {
|
|
3443
|
-
placement: 'bottom-start',
|
|
3444
|
-
flip: true,
|
|
3445
|
-
autoPlacement: false,
|
|
3446
|
-
offset: 0,
|
|
3447
|
-
};
|
|
3448
|
-
|
|
3449
3444
|
/**
|
|
3450
3445
|
* Generate unique names for dependency components.
|
|
3451
3446
|
*/
|
|
@@ -3467,6 +3462,18 @@ class AuroDropdown extends r$1 {
|
|
|
3467
3462
|
this.helpTextTag = versioning.generateTag('auro-formkit-dropdown-helptext', helpTextVersion$1, AuroHelpText$1);
|
|
3468
3463
|
}
|
|
3469
3464
|
|
|
3465
|
+
/**
|
|
3466
|
+
* @ignore
|
|
3467
|
+
*/
|
|
3468
|
+
get floaterConfig() {
|
|
3469
|
+
return {
|
|
3470
|
+
placement: this.placement,
|
|
3471
|
+
flip: !this.noFlip,
|
|
3472
|
+
autoPlacement: this.autoPlacement,
|
|
3473
|
+
offset: this.offset,
|
|
3474
|
+
};
|
|
3475
|
+
}
|
|
3476
|
+
|
|
3470
3477
|
/**
|
|
3471
3478
|
* Public method to hide the dropdown.
|
|
3472
3479
|
* @returns {void}
|
|
@@ -3487,6 +3494,15 @@ class AuroDropdown extends r$1 {
|
|
|
3487
3494
|
static get properties() {
|
|
3488
3495
|
return {
|
|
3489
3496
|
|
|
3497
|
+
/**
|
|
3498
|
+
* If declared, bib's position will be automatically calculated where to appear.
|
|
3499
|
+
* @default false
|
|
3500
|
+
*/
|
|
3501
|
+
autoPlacement: {
|
|
3502
|
+
type: Boolean,
|
|
3503
|
+
reflect: true
|
|
3504
|
+
},
|
|
3505
|
+
|
|
3490
3506
|
/**
|
|
3491
3507
|
* If declared, applies a border around the trigger slot.
|
|
3492
3508
|
*/
|
|
@@ -3571,7 +3587,7 @@ class AuroDropdown extends r$1 {
|
|
|
3571
3587
|
*/
|
|
3572
3588
|
isBibFullscreen: {
|
|
3573
3589
|
type: Boolean,
|
|
3574
|
-
reflect: true
|
|
3590
|
+
reflect: true
|
|
3575
3591
|
},
|
|
3576
3592
|
|
|
3577
3593
|
/**
|
|
@@ -3614,6 +3630,16 @@ class AuroDropdown extends r$1 {
|
|
|
3614
3630
|
reflect: true
|
|
3615
3631
|
},
|
|
3616
3632
|
|
|
3633
|
+
/**
|
|
3634
|
+
* If declared, the bib will NOT flip to an alternate position
|
|
3635
|
+
* when there isn't enough space in the specified `placement`.
|
|
3636
|
+
* @default false
|
|
3637
|
+
*/
|
|
3638
|
+
noFlip: {
|
|
3639
|
+
type: Boolean,
|
|
3640
|
+
reflect: true
|
|
3641
|
+
},
|
|
3642
|
+
|
|
3617
3643
|
/**
|
|
3618
3644
|
* If declared, the dropdown will not hide when moving focus outside the element.
|
|
3619
3645
|
*/
|
|
@@ -3630,16 +3656,32 @@ class AuroDropdown extends r$1 {
|
|
|
3630
3656
|
reflect: true
|
|
3631
3657
|
},
|
|
3632
3658
|
|
|
3659
|
+
/**
|
|
3660
|
+
* Gap between the trigger element and bib.
|
|
3661
|
+
* @default 0
|
|
3662
|
+
*/
|
|
3663
|
+
offset: {
|
|
3664
|
+
type: Number,
|
|
3665
|
+
reflect: true
|
|
3666
|
+
},
|
|
3667
|
+
|
|
3633
3668
|
onSlotChange: {
|
|
3634
3669
|
type: Function,
|
|
3635
3670
|
reflect: false
|
|
3636
3671
|
},
|
|
3637
3672
|
|
|
3638
3673
|
/**
|
|
3639
|
-
*
|
|
3674
|
+
* Position where the bib should appear relative to the trigger.
|
|
3675
|
+
* Accepted values:
|
|
3676
|
+
* "top" | "right" | "bottom" | "left" |
|
|
3677
|
+
* "bottom-start" | "top-start" | "top-end" |
|
|
3678
|
+
* "right-start" | "right-end" | "bottom-end" |
|
|
3679
|
+
* "left-start" | "left-end"
|
|
3680
|
+
* @default bottom-start
|
|
3640
3681
|
*/
|
|
3641
3682
|
placement: {
|
|
3642
|
-
type: String
|
|
3683
|
+
type: String,
|
|
3684
|
+
reflect: true
|
|
3643
3685
|
},
|
|
3644
3686
|
|
|
3645
3687
|
/**
|
|
@@ -11654,11 +11696,11 @@ class AuroBibtemplate extends r$1 {
|
|
|
11654
11696
|
return {
|
|
11655
11697
|
isFullscreen: {
|
|
11656
11698
|
type: Boolean,
|
|
11657
|
-
reflect: true
|
|
11699
|
+
reflect: true
|
|
11658
11700
|
},
|
|
11659
11701
|
large: {
|
|
11660
11702
|
type: Boolean,
|
|
11661
|
-
reflect: true
|
|
11703
|
+
reflect: true
|
|
11662
11704
|
}
|
|
11663
11705
|
};
|
|
11664
11706
|
}
|
|
@@ -11907,6 +11949,12 @@ class AuroCombobox extends r$1 {
|
|
|
11907
11949
|
|
|
11908
11950
|
this.isHiddenWhileLoading = false;
|
|
11909
11951
|
|
|
11952
|
+
// floaterConfig
|
|
11953
|
+
this.placement = 'bottom-start';
|
|
11954
|
+
this.offset = 0;
|
|
11955
|
+
this.noFlip = false;
|
|
11956
|
+
this.autoPlacement = false;
|
|
11957
|
+
|
|
11910
11958
|
const versioning = new AuroDependencyVersioning$4();
|
|
11911
11959
|
|
|
11912
11960
|
this.dropdownTag = versioning.generateTag('auro-formkit-checkbox-dropdown', dropdownVersion, AuroDropdown);
|
|
@@ -11923,12 +11971,21 @@ class AuroCombobox extends r$1 {
|
|
|
11923
11971
|
|
|
11924
11972
|
/**
|
|
11925
11973
|
* An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
|
|
11974
|
+
* @default false
|
|
11926
11975
|
*/
|
|
11927
11976
|
autocomplete: {
|
|
11928
11977
|
type: String,
|
|
11929
11978
|
reflect: true
|
|
11930
11979
|
},
|
|
11931
11980
|
|
|
11981
|
+
/**
|
|
11982
|
+
* If declared, bib's position will be automatically calculated where to appear.
|
|
11983
|
+
*/
|
|
11984
|
+
autoPlacement: {
|
|
11985
|
+
type: Boolean,
|
|
11986
|
+
reflect: true
|
|
11987
|
+
},
|
|
11988
|
+
|
|
11932
11989
|
/**
|
|
11933
11990
|
* When attribute is present auro-menu will apply checkmarks to selected options.
|
|
11934
11991
|
*/
|
|
@@ -11961,6 +12018,16 @@ class AuroCombobox extends r$1 {
|
|
|
11961
12018
|
reflect: true
|
|
11962
12019
|
},
|
|
11963
12020
|
|
|
12021
|
+
/**
|
|
12022
|
+
* If declared, the bib will NOT flip to an alternate position
|
|
12023
|
+
* when there isn't enough space in the specified `placement`.
|
|
12024
|
+
* @default false
|
|
12025
|
+
*/
|
|
12026
|
+
noFlip: {
|
|
12027
|
+
type: Boolean,
|
|
12028
|
+
reflect: true
|
|
12029
|
+
},
|
|
12030
|
+
|
|
11964
12031
|
/**
|
|
11965
12032
|
* If set, disables auto-validation on blur.
|
|
11966
12033
|
*/
|
|
@@ -11968,6 +12035,15 @@ class AuroCombobox extends r$1 {
|
|
|
11968
12035
|
type: Boolean
|
|
11969
12036
|
},
|
|
11970
12037
|
|
|
12038
|
+
/**
|
|
12039
|
+
* Gap between the trigger element and bib.
|
|
12040
|
+
* @default 0
|
|
12041
|
+
*/
|
|
12042
|
+
offset: {
|
|
12043
|
+
type: Number,
|
|
12044
|
+
reflect: true
|
|
12045
|
+
},
|
|
12046
|
+
|
|
11971
12047
|
/**
|
|
11972
12048
|
* Specifies the current selected option.
|
|
11973
12049
|
*/
|
|
@@ -11977,6 +12053,20 @@ class AuroCombobox extends r$1 {
|
|
|
11977
12053
|
hasChanged: arrayOrUndefinedHasChanged$1
|
|
11978
12054
|
},
|
|
11979
12055
|
|
|
12056
|
+
/**
|
|
12057
|
+
* Position where the bib should appear relative to the trigger.
|
|
12058
|
+
* Accepted values:
|
|
12059
|
+
* "top" | "right" | "bottom" | "left" |
|
|
12060
|
+
* "bottom-start" | "top-start" | "top-end" |
|
|
12061
|
+
* "right-start" | "right-end" | "bottom-end" |
|
|
12062
|
+
* "left-start" | "left-end"
|
|
12063
|
+
* @default bottom-start
|
|
12064
|
+
*/
|
|
12065
|
+
placement: {
|
|
12066
|
+
type: String,
|
|
12067
|
+
reflect: true
|
|
12068
|
+
},
|
|
12069
|
+
|
|
11980
12070
|
/**
|
|
11981
12071
|
* Populates the `required` attribute on the input. Used for client-side validation.
|
|
11982
12072
|
*/
|
|
@@ -12744,6 +12834,10 @@ class AuroCombobox extends r$1 {
|
|
|
12744
12834
|
.fullscreenBreakpoint="${this.fullscreenBreakpoint}"
|
|
12745
12835
|
?disabled="${this.disabled}"
|
|
12746
12836
|
?error="${this.validity !== undefined && this.validity !== 'valid'}"
|
|
12837
|
+
.placement="${this.placement}"
|
|
12838
|
+
.offset="${this.offset}"
|
|
12839
|
+
?autoPlacement="${this.autoPlacement}"
|
|
12840
|
+
?noFlip="${this.noFlip}"
|
|
12747
12841
|
disableEventShow>
|
|
12748
12842
|
<${this.inputTag}
|
|
12749
12843
|
slot="trigger"
|
|
@@ -111,7 +111,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
111
111
|
In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
|
|
112
112
|
|
|
113
113
|
```html
|
|
114
|
-
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.1.0-beta.
|
|
114
|
+
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.1.0-beta.5/auro-combobox/+esm"></script>
|
|
115
115
|
```
|
|
116
116
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
117
117
|
|
|
@@ -10,11 +10,19 @@ export class AuroCombobox extends LitElement {
|
|
|
10
10
|
static get properties(): {
|
|
11
11
|
/**
|
|
12
12
|
* An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
|
|
13
|
+
* @default false
|
|
13
14
|
*/
|
|
14
15
|
autocomplete: {
|
|
15
16
|
type: StringConstructor;
|
|
16
17
|
reflect: boolean;
|
|
17
18
|
};
|
|
19
|
+
/**
|
|
20
|
+
* If declared, bib's position will be automatically calculated where to appear.
|
|
21
|
+
*/
|
|
22
|
+
autoPlacement: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
reflect: boolean;
|
|
25
|
+
};
|
|
18
26
|
/**
|
|
19
27
|
* When attribute is present auro-menu will apply checkmarks to selected options.
|
|
20
28
|
*/
|
|
@@ -43,12 +51,29 @@ export class AuroCombobox extends LitElement {
|
|
|
43
51
|
type: BooleanConstructor;
|
|
44
52
|
reflect: boolean;
|
|
45
53
|
};
|
|
54
|
+
/**
|
|
55
|
+
* If declared, the bib will NOT flip to an alternate position
|
|
56
|
+
* when there isn't enough space in the specified `placement`.
|
|
57
|
+
* @default false
|
|
58
|
+
*/
|
|
59
|
+
noFlip: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
reflect: boolean;
|
|
62
|
+
};
|
|
46
63
|
/**
|
|
47
64
|
* If set, disables auto-validation on blur.
|
|
48
65
|
*/
|
|
49
66
|
noValidate: {
|
|
50
67
|
type: BooleanConstructor;
|
|
51
68
|
};
|
|
69
|
+
/**
|
|
70
|
+
* Gap between the trigger element and bib.
|
|
71
|
+
* @default 0
|
|
72
|
+
*/
|
|
73
|
+
offset: {
|
|
74
|
+
type: NumberConstructor;
|
|
75
|
+
reflect: boolean;
|
|
76
|
+
};
|
|
52
77
|
/**
|
|
53
78
|
* Specifies the current selected option.
|
|
54
79
|
*/
|
|
@@ -57,6 +82,19 @@ export class AuroCombobox extends LitElement {
|
|
|
57
82
|
converter: typeof arrayConverter;
|
|
58
83
|
hasChanged: typeof arrayOrUndefinedHasChanged;
|
|
59
84
|
};
|
|
85
|
+
/**
|
|
86
|
+
* Position where the bib should appear relative to the trigger.
|
|
87
|
+
* Accepted values:
|
|
88
|
+
* "top" | "right" | "bottom" | "left" |
|
|
89
|
+
* "bottom-start" | "top-start" | "top-end" |
|
|
90
|
+
* "right-start" | "right-end" | "bottom-end" |
|
|
91
|
+
* "left-start" | "left-end"
|
|
92
|
+
* @default bottom-start
|
|
93
|
+
*/
|
|
94
|
+
placement: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
reflect: boolean;
|
|
97
|
+
};
|
|
60
98
|
/**
|
|
61
99
|
* Populates the `required` attribute on the input. Used for client-side validation.
|
|
62
100
|
*/
|
|
@@ -161,6 +199,10 @@ export class AuroCombobox extends LitElement {
|
|
|
161
199
|
validation: AuroFormValidation;
|
|
162
200
|
runtimeUtils: any;
|
|
163
201
|
isHiddenWhileLoading: boolean;
|
|
202
|
+
placement: string;
|
|
203
|
+
offset: number;
|
|
204
|
+
noFlip: boolean;
|
|
205
|
+
autoPlacement: boolean;
|
|
164
206
|
dropdownTag: any;
|
|
165
207
|
bibtemplateTag: any;
|
|
166
208
|
inputTag: any;
|
|
@@ -3341,12 +3341,17 @@ class AuroDropdown extends LitElement {
|
|
|
3341
3341
|
this.disabled = false;
|
|
3342
3342
|
this.error = false;
|
|
3343
3343
|
this.inset = false;
|
|
3344
|
-
this.placement = 'bottom-start';
|
|
3345
3344
|
this.rounded = false;
|
|
3346
3345
|
this.tabIndex = 0;
|
|
3347
3346
|
this.noToggle = false;
|
|
3348
3347
|
this.labeled = true;
|
|
3349
3348
|
|
|
3349
|
+
// floaterConfig
|
|
3350
|
+
this.placement = 'bottom-start';
|
|
3351
|
+
this.offset = 0;
|
|
3352
|
+
this.noFlip = false;
|
|
3353
|
+
this.autoPlacement = false;
|
|
3354
|
+
|
|
3350
3355
|
/**
|
|
3351
3356
|
* @private
|
|
3352
3357
|
*/
|
|
@@ -3367,16 +3372,6 @@ class AuroDropdown extends LitElement {
|
|
|
3367
3372
|
*/
|
|
3368
3373
|
this.floater = new AuroFloatingUI();
|
|
3369
3374
|
|
|
3370
|
-
/**
|
|
3371
|
-
* @private
|
|
3372
|
-
*/
|
|
3373
|
-
this.floaterConfig = {
|
|
3374
|
-
placement: 'bottom-start',
|
|
3375
|
-
flip: true,
|
|
3376
|
-
autoPlacement: false,
|
|
3377
|
-
offset: 0,
|
|
3378
|
-
};
|
|
3379
|
-
|
|
3380
3375
|
/**
|
|
3381
3376
|
* Generate unique names for dependency components.
|
|
3382
3377
|
*/
|
|
@@ -3398,6 +3393,18 @@ class AuroDropdown extends LitElement {
|
|
|
3398
3393
|
this.helpTextTag = versioning.generateTag('auro-formkit-dropdown-helptext', helpTextVersion$1, AuroHelpText$1);
|
|
3399
3394
|
}
|
|
3400
3395
|
|
|
3396
|
+
/**
|
|
3397
|
+
* @ignore
|
|
3398
|
+
*/
|
|
3399
|
+
get floaterConfig() {
|
|
3400
|
+
return {
|
|
3401
|
+
placement: this.placement,
|
|
3402
|
+
flip: !this.noFlip,
|
|
3403
|
+
autoPlacement: this.autoPlacement,
|
|
3404
|
+
offset: this.offset,
|
|
3405
|
+
};
|
|
3406
|
+
}
|
|
3407
|
+
|
|
3401
3408
|
/**
|
|
3402
3409
|
* Public method to hide the dropdown.
|
|
3403
3410
|
* @returns {void}
|
|
@@ -3418,6 +3425,15 @@ class AuroDropdown extends LitElement {
|
|
|
3418
3425
|
static get properties() {
|
|
3419
3426
|
return {
|
|
3420
3427
|
|
|
3428
|
+
/**
|
|
3429
|
+
* If declared, bib's position will be automatically calculated where to appear.
|
|
3430
|
+
* @default false
|
|
3431
|
+
*/
|
|
3432
|
+
autoPlacement: {
|
|
3433
|
+
type: Boolean,
|
|
3434
|
+
reflect: true
|
|
3435
|
+
},
|
|
3436
|
+
|
|
3421
3437
|
/**
|
|
3422
3438
|
* If declared, applies a border around the trigger slot.
|
|
3423
3439
|
*/
|
|
@@ -3502,7 +3518,7 @@ class AuroDropdown extends LitElement {
|
|
|
3502
3518
|
*/
|
|
3503
3519
|
isBibFullscreen: {
|
|
3504
3520
|
type: Boolean,
|
|
3505
|
-
reflect: true
|
|
3521
|
+
reflect: true
|
|
3506
3522
|
},
|
|
3507
3523
|
|
|
3508
3524
|
/**
|
|
@@ -3545,6 +3561,16 @@ class AuroDropdown extends LitElement {
|
|
|
3545
3561
|
reflect: true
|
|
3546
3562
|
},
|
|
3547
3563
|
|
|
3564
|
+
/**
|
|
3565
|
+
* If declared, the bib will NOT flip to an alternate position
|
|
3566
|
+
* when there isn't enough space in the specified `placement`.
|
|
3567
|
+
* @default false
|
|
3568
|
+
*/
|
|
3569
|
+
noFlip: {
|
|
3570
|
+
type: Boolean,
|
|
3571
|
+
reflect: true
|
|
3572
|
+
},
|
|
3573
|
+
|
|
3548
3574
|
/**
|
|
3549
3575
|
* If declared, the dropdown will not hide when moving focus outside the element.
|
|
3550
3576
|
*/
|
|
@@ -3561,16 +3587,32 @@ class AuroDropdown extends LitElement {
|
|
|
3561
3587
|
reflect: true
|
|
3562
3588
|
},
|
|
3563
3589
|
|
|
3590
|
+
/**
|
|
3591
|
+
* Gap between the trigger element and bib.
|
|
3592
|
+
* @default 0
|
|
3593
|
+
*/
|
|
3594
|
+
offset: {
|
|
3595
|
+
type: Number,
|
|
3596
|
+
reflect: true
|
|
3597
|
+
},
|
|
3598
|
+
|
|
3564
3599
|
onSlotChange: {
|
|
3565
3600
|
type: Function,
|
|
3566
3601
|
reflect: false
|
|
3567
3602
|
},
|
|
3568
3603
|
|
|
3569
3604
|
/**
|
|
3570
|
-
*
|
|
3605
|
+
* Position where the bib should appear relative to the trigger.
|
|
3606
|
+
* Accepted values:
|
|
3607
|
+
* "top" | "right" | "bottom" | "left" |
|
|
3608
|
+
* "bottom-start" | "top-start" | "top-end" |
|
|
3609
|
+
* "right-start" | "right-end" | "bottom-end" |
|
|
3610
|
+
* "left-start" | "left-end"
|
|
3611
|
+
* @default bottom-start
|
|
3571
3612
|
*/
|
|
3572
3613
|
placement: {
|
|
3573
|
-
type: String
|
|
3614
|
+
type: String,
|
|
3615
|
+
reflect: true
|
|
3574
3616
|
},
|
|
3575
3617
|
|
|
3576
3618
|
/**
|
|
@@ -11572,11 +11614,11 @@ class AuroBibtemplate extends LitElement {
|
|
|
11572
11614
|
return {
|
|
11573
11615
|
isFullscreen: {
|
|
11574
11616
|
type: Boolean,
|
|
11575
|
-
reflect: true
|
|
11617
|
+
reflect: true
|
|
11576
11618
|
},
|
|
11577
11619
|
large: {
|
|
11578
11620
|
type: Boolean,
|
|
11579
|
-
reflect: true
|
|
11621
|
+
reflect: true
|
|
11580
11622
|
}
|
|
11581
11623
|
};
|
|
11582
11624
|
}
|
|
@@ -11825,6 +11867,12 @@ class AuroCombobox extends LitElement {
|
|
|
11825
11867
|
|
|
11826
11868
|
this.isHiddenWhileLoading = false;
|
|
11827
11869
|
|
|
11870
|
+
// floaterConfig
|
|
11871
|
+
this.placement = 'bottom-start';
|
|
11872
|
+
this.offset = 0;
|
|
11873
|
+
this.noFlip = false;
|
|
11874
|
+
this.autoPlacement = false;
|
|
11875
|
+
|
|
11828
11876
|
const versioning = new AuroDependencyVersioning$4();
|
|
11829
11877
|
|
|
11830
11878
|
this.dropdownTag = versioning.generateTag('auro-formkit-checkbox-dropdown', dropdownVersion, AuroDropdown);
|
|
@@ -11841,12 +11889,21 @@ class AuroCombobox extends LitElement {
|
|
|
11841
11889
|
|
|
11842
11890
|
/**
|
|
11843
11891
|
* An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
|
|
11892
|
+
* @default false
|
|
11844
11893
|
*/
|
|
11845
11894
|
autocomplete: {
|
|
11846
11895
|
type: String,
|
|
11847
11896
|
reflect: true
|
|
11848
11897
|
},
|
|
11849
11898
|
|
|
11899
|
+
/**
|
|
11900
|
+
* If declared, bib's position will be automatically calculated where to appear.
|
|
11901
|
+
*/
|
|
11902
|
+
autoPlacement: {
|
|
11903
|
+
type: Boolean,
|
|
11904
|
+
reflect: true
|
|
11905
|
+
},
|
|
11906
|
+
|
|
11850
11907
|
/**
|
|
11851
11908
|
* When attribute is present auro-menu will apply checkmarks to selected options.
|
|
11852
11909
|
*/
|
|
@@ -11879,6 +11936,16 @@ class AuroCombobox extends LitElement {
|
|
|
11879
11936
|
reflect: true
|
|
11880
11937
|
},
|
|
11881
11938
|
|
|
11939
|
+
/**
|
|
11940
|
+
* If declared, the bib will NOT flip to an alternate position
|
|
11941
|
+
* when there isn't enough space in the specified `placement`.
|
|
11942
|
+
* @default false
|
|
11943
|
+
*/
|
|
11944
|
+
noFlip: {
|
|
11945
|
+
type: Boolean,
|
|
11946
|
+
reflect: true
|
|
11947
|
+
},
|
|
11948
|
+
|
|
11882
11949
|
/**
|
|
11883
11950
|
* If set, disables auto-validation on blur.
|
|
11884
11951
|
*/
|
|
@@ -11886,6 +11953,15 @@ class AuroCombobox extends LitElement {
|
|
|
11886
11953
|
type: Boolean
|
|
11887
11954
|
},
|
|
11888
11955
|
|
|
11956
|
+
/**
|
|
11957
|
+
* Gap between the trigger element and bib.
|
|
11958
|
+
* @default 0
|
|
11959
|
+
*/
|
|
11960
|
+
offset: {
|
|
11961
|
+
type: Number,
|
|
11962
|
+
reflect: true
|
|
11963
|
+
},
|
|
11964
|
+
|
|
11889
11965
|
/**
|
|
11890
11966
|
* Specifies the current selected option.
|
|
11891
11967
|
*/
|
|
@@ -11895,6 +11971,20 @@ class AuroCombobox extends LitElement {
|
|
|
11895
11971
|
hasChanged: arrayOrUndefinedHasChanged
|
|
11896
11972
|
},
|
|
11897
11973
|
|
|
11974
|
+
/**
|
|
11975
|
+
* Position where the bib should appear relative to the trigger.
|
|
11976
|
+
* Accepted values:
|
|
11977
|
+
* "top" | "right" | "bottom" | "left" |
|
|
11978
|
+
* "bottom-start" | "top-start" | "top-end" |
|
|
11979
|
+
* "right-start" | "right-end" | "bottom-end" |
|
|
11980
|
+
* "left-start" | "left-end"
|
|
11981
|
+
* @default bottom-start
|
|
11982
|
+
*/
|
|
11983
|
+
placement: {
|
|
11984
|
+
type: String,
|
|
11985
|
+
reflect: true
|
|
11986
|
+
},
|
|
11987
|
+
|
|
11898
11988
|
/**
|
|
11899
11989
|
* Populates the `required` attribute on the input. Used for client-side validation.
|
|
11900
11990
|
*/
|
|
@@ -12662,6 +12752,10 @@ class AuroCombobox extends LitElement {
|
|
|
12662
12752
|
.fullscreenBreakpoint="${this.fullscreenBreakpoint}"
|
|
12663
12753
|
?disabled="${this.disabled}"
|
|
12664
12754
|
?error="${this.validity !== undefined && this.validity !== 'valid'}"
|
|
12755
|
+
.placement="${this.placement}"
|
|
12756
|
+
.offset="${this.offset}"
|
|
12757
|
+
?autoPlacement="${this.autoPlacement}"
|
|
12758
|
+
?noFlip="${this.noFlip}"
|
|
12665
12759
|
disableEventShow>
|
|
12666
12760
|
<${this.inputTag}
|
|
12667
12761
|
slot="trigger"
|