@aurodesignsystem/auro-formkit 2.1.0-beta.5 → 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 +11 -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 +126 -37
- package/components/counter/demo/index.min.js +126 -37
- 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 +126 -37
- package/components/counter/dist/registered.js +126 -37
- 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
|
@@ -11189,11 +11189,11 @@ class AuroBibtemplate extends r$3 {
|
|
|
11189
11189
|
return {
|
|
11190
11190
|
isFullscreen: {
|
|
11191
11191
|
type: Boolean,
|
|
11192
|
-
reflect: true
|
|
11192
|
+
reflect: true
|
|
11193
11193
|
},
|
|
11194
11194
|
large: {
|
|
11195
11195
|
type: Boolean,
|
|
11196
|
-
reflect: true
|
|
11196
|
+
reflect: true
|
|
11197
11197
|
}
|
|
11198
11198
|
};
|
|
11199
11199
|
}
|
|
@@ -15152,12 +15152,17 @@ class AuroDropdown extends r$3 {
|
|
|
15152
15152
|
this.disabled = false;
|
|
15153
15153
|
this.error = false;
|
|
15154
15154
|
this.inset = false;
|
|
15155
|
-
this.placement = 'bottom-start';
|
|
15156
15155
|
this.rounded = false;
|
|
15157
15156
|
this.tabIndex = 0;
|
|
15158
15157
|
this.noToggle = false;
|
|
15159
15158
|
this.labeled = true;
|
|
15160
15159
|
|
|
15160
|
+
// floaterConfig
|
|
15161
|
+
this.placement = 'bottom-start';
|
|
15162
|
+
this.offset = 0;
|
|
15163
|
+
this.noFlip = false;
|
|
15164
|
+
this.autoPlacement = false;
|
|
15165
|
+
|
|
15161
15166
|
/**
|
|
15162
15167
|
* @private
|
|
15163
15168
|
*/
|
|
@@ -15178,16 +15183,6 @@ class AuroDropdown extends r$3 {
|
|
|
15178
15183
|
*/
|
|
15179
15184
|
this.floater = new AuroFloatingUI();
|
|
15180
15185
|
|
|
15181
|
-
/**
|
|
15182
|
-
* @private
|
|
15183
|
-
*/
|
|
15184
|
-
this.floaterConfig = {
|
|
15185
|
-
placement: 'bottom-start',
|
|
15186
|
-
flip: true,
|
|
15187
|
-
autoPlacement: false,
|
|
15188
|
-
offset: 0,
|
|
15189
|
-
};
|
|
15190
|
-
|
|
15191
15186
|
/**
|
|
15192
15187
|
* Generate unique names for dependency components.
|
|
15193
15188
|
*/
|
|
@@ -15209,6 +15204,18 @@ class AuroDropdown extends r$3 {
|
|
|
15209
15204
|
this.helpTextTag = versioning.generateTag('auro-formkit-dropdown-helptext', helpTextVersion$1, AuroHelpText$1);
|
|
15210
15205
|
}
|
|
15211
15206
|
|
|
15207
|
+
/**
|
|
15208
|
+
* @ignore
|
|
15209
|
+
*/
|
|
15210
|
+
get floaterConfig() {
|
|
15211
|
+
return {
|
|
15212
|
+
placement: this.placement,
|
|
15213
|
+
flip: !this.noFlip,
|
|
15214
|
+
autoPlacement: this.autoPlacement,
|
|
15215
|
+
offset: this.offset,
|
|
15216
|
+
};
|
|
15217
|
+
}
|
|
15218
|
+
|
|
15212
15219
|
/**
|
|
15213
15220
|
* Public method to hide the dropdown.
|
|
15214
15221
|
* @returns {void}
|
|
@@ -15229,6 +15236,15 @@ class AuroDropdown extends r$3 {
|
|
|
15229
15236
|
static get properties() {
|
|
15230
15237
|
return {
|
|
15231
15238
|
|
|
15239
|
+
/**
|
|
15240
|
+
* If declared, bib's position will be automatically calculated where to appear.
|
|
15241
|
+
* @default false
|
|
15242
|
+
*/
|
|
15243
|
+
autoPlacement: {
|
|
15244
|
+
type: Boolean,
|
|
15245
|
+
reflect: true
|
|
15246
|
+
},
|
|
15247
|
+
|
|
15232
15248
|
/**
|
|
15233
15249
|
* If declared, applies a border around the trigger slot.
|
|
15234
15250
|
*/
|
|
@@ -15313,7 +15329,7 @@ class AuroDropdown extends r$3 {
|
|
|
15313
15329
|
*/
|
|
15314
15330
|
isBibFullscreen: {
|
|
15315
15331
|
type: Boolean,
|
|
15316
|
-
reflect: true
|
|
15332
|
+
reflect: true
|
|
15317
15333
|
},
|
|
15318
15334
|
|
|
15319
15335
|
/**
|
|
@@ -15356,6 +15372,16 @@ class AuroDropdown extends r$3 {
|
|
|
15356
15372
|
reflect: true
|
|
15357
15373
|
},
|
|
15358
15374
|
|
|
15375
|
+
/**
|
|
15376
|
+
* If declared, the bib will NOT flip to an alternate position
|
|
15377
|
+
* when there isn't enough space in the specified `placement`.
|
|
15378
|
+
* @default false
|
|
15379
|
+
*/
|
|
15380
|
+
noFlip: {
|
|
15381
|
+
type: Boolean,
|
|
15382
|
+
reflect: true
|
|
15383
|
+
},
|
|
15384
|
+
|
|
15359
15385
|
/**
|
|
15360
15386
|
* If declared, the dropdown will not hide when moving focus outside the element.
|
|
15361
15387
|
*/
|
|
@@ -15372,16 +15398,32 @@ class AuroDropdown extends r$3 {
|
|
|
15372
15398
|
reflect: true
|
|
15373
15399
|
},
|
|
15374
15400
|
|
|
15401
|
+
/**
|
|
15402
|
+
* Gap between the trigger element and bib.
|
|
15403
|
+
* @default 0
|
|
15404
|
+
*/
|
|
15405
|
+
offset: {
|
|
15406
|
+
type: Number,
|
|
15407
|
+
reflect: true
|
|
15408
|
+
},
|
|
15409
|
+
|
|
15375
15410
|
onSlotChange: {
|
|
15376
15411
|
type: Function,
|
|
15377
15412
|
reflect: false
|
|
15378
15413
|
},
|
|
15379
15414
|
|
|
15380
15415
|
/**
|
|
15381
|
-
*
|
|
15416
|
+
* Position where the bib should appear relative to the trigger.
|
|
15417
|
+
* Accepted values:
|
|
15418
|
+
* "top" | "right" | "bottom" | "left" |
|
|
15419
|
+
* "bottom-start" | "top-start" | "top-end" |
|
|
15420
|
+
* "right-start" | "right-end" | "bottom-end" |
|
|
15421
|
+
* "left-start" | "left-end"
|
|
15422
|
+
* @default bottom-start
|
|
15382
15423
|
*/
|
|
15383
15424
|
placement: {
|
|
15384
|
-
type: String
|
|
15425
|
+
type: String,
|
|
15426
|
+
reflect: true
|
|
15385
15427
|
},
|
|
15386
15428
|
|
|
15387
15429
|
/**
|
|
@@ -22632,6 +22674,12 @@ class AuroDatePicker extends r$3 {
|
|
|
22632
22674
|
|
|
22633
22675
|
this.monthFirst = true;
|
|
22634
22676
|
|
|
22677
|
+
// floaterConfig
|
|
22678
|
+
this.placement = 'bottom-start';
|
|
22679
|
+
this.offset = 0;
|
|
22680
|
+
this.noFlip = false;
|
|
22681
|
+
this.autoPlacement = false;
|
|
22682
|
+
|
|
22635
22683
|
/**
|
|
22636
22684
|
* @private
|
|
22637
22685
|
*/
|
|
@@ -22679,6 +22727,16 @@ class AuroDatePicker extends r$3 {
|
|
|
22679
22727
|
static get properties() {
|
|
22680
22728
|
return {
|
|
22681
22729
|
// ...super.properties,
|
|
22730
|
+
|
|
22731
|
+
/**
|
|
22732
|
+
* If declared, bib's position will be automatically calculated where to appear.
|
|
22733
|
+
* @default false
|
|
22734
|
+
*/
|
|
22735
|
+
autoPlacement: {
|
|
22736
|
+
type: Boolean,
|
|
22737
|
+
reflect: true
|
|
22738
|
+
},
|
|
22739
|
+
|
|
22682
22740
|
/**
|
|
22683
22741
|
* The last date that may be displayed in the calendar.
|
|
22684
22742
|
*/
|
|
@@ -22773,6 +22831,16 @@ class AuroDatePicker extends r$3 {
|
|
|
22773
22831
|
type: Boolean
|
|
22774
22832
|
},
|
|
22775
22833
|
|
|
22834
|
+
/**
|
|
22835
|
+
* If declared, the bib will NOT flip to an alternate position
|
|
22836
|
+
* when there isn't enough space in the specified `placement`.
|
|
22837
|
+
* @default false
|
|
22838
|
+
*/
|
|
22839
|
+
noFlip: {
|
|
22840
|
+
type: Boolean,
|
|
22841
|
+
reflect: true
|
|
22842
|
+
},
|
|
22843
|
+
|
|
22776
22844
|
/**
|
|
22777
22845
|
* If set, disables auto-validation on blur.
|
|
22778
22846
|
*/
|
|
@@ -22780,6 +22848,29 @@ class AuroDatePicker extends r$3 {
|
|
|
22780
22848
|
type: Boolean
|
|
22781
22849
|
},
|
|
22782
22850
|
|
|
22851
|
+
/**
|
|
22852
|
+
* Gap between the trigger element and bib.
|
|
22853
|
+
* @default 0
|
|
22854
|
+
*/
|
|
22855
|
+
offset: {
|
|
22856
|
+
type: Number,
|
|
22857
|
+
reflect: true
|
|
22858
|
+
},
|
|
22859
|
+
|
|
22860
|
+
/**
|
|
22861
|
+
* Position where the bib should appear relative to the trigger.
|
|
22862
|
+
* Accepted values:
|
|
22863
|
+
* "top" | "right" | "bottom" | "left" |
|
|
22864
|
+
* "bottom-start" | "top-start" | "top-end" |
|
|
22865
|
+
* "right-start" | "right-end" | "bottom-end" |
|
|
22866
|
+
* "left-start" | "left-end"
|
|
22867
|
+
* @default bottom-start
|
|
22868
|
+
*/
|
|
22869
|
+
placement: {
|
|
22870
|
+
type: String,
|
|
22871
|
+
reflect: true
|
|
22872
|
+
},
|
|
22873
|
+
|
|
22783
22874
|
/**
|
|
22784
22875
|
* If set, turns on date range functionality in auro-calendar.
|
|
22785
22876
|
*/
|
|
@@ -22836,7 +22927,7 @@ class AuroDatePicker extends r$3 {
|
|
|
22836
22927
|
*/
|
|
22837
22928
|
stacked: {
|
|
22838
22929
|
type: Boolean,
|
|
22839
|
-
reflect: true
|
|
22930
|
+
reflect: true
|
|
22840
22931
|
},
|
|
22841
22932
|
|
|
22842
22933
|
/**
|
|
@@ -23536,6 +23627,10 @@ class AuroDatePicker extends r$3 {
|
|
|
23536
23627
|
disableEventShow
|
|
23537
23628
|
noHideOnThisFocusLoss
|
|
23538
23629
|
fullscreenBreakpoint="sm"
|
|
23630
|
+
.placement="${this.placement}"
|
|
23631
|
+
.offset="${this.offset}"
|
|
23632
|
+
?autoPlacement="${this.autoPlacement}"
|
|
23633
|
+
?noFlip="${this.noFlip}"
|
|
23539
23634
|
part="dropdown">
|
|
23540
23635
|
<div slot="trigger" class="dpTriggerContent" part="trigger">
|
|
23541
23636
|
<${this.inputTag}
|
|
@@ -104,7 +104,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
104
104
|
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.
|
|
105
105
|
|
|
106
106
|
```html
|
|
107
|
-
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.1.0-beta.
|
|
107
|
+
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.1.0-beta.5/auro-datepicker/+esm"></script>
|
|
108
108
|
```
|
|
109
109
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
110
110
|
|
|
@@ -21,6 +21,14 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export class AuroDatePicker extends LitElement {
|
|
23
23
|
static get properties(): {
|
|
24
|
+
/**
|
|
25
|
+
* If declared, bib's position will be automatically calculated where to appear.
|
|
26
|
+
* @default false
|
|
27
|
+
*/
|
|
28
|
+
autoPlacement: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
reflect: boolean;
|
|
31
|
+
};
|
|
24
32
|
/**
|
|
25
33
|
* The last date that may be displayed in the calendar.
|
|
26
34
|
*/
|
|
@@ -103,12 +111,42 @@ export class AuroDatePicker extends LitElement {
|
|
|
103
111
|
monthFirst: {
|
|
104
112
|
type: BooleanConstructor;
|
|
105
113
|
};
|
|
114
|
+
/**
|
|
115
|
+
* If declared, the bib will NOT flip to an alternate position
|
|
116
|
+
* when there isn't enough space in the specified `placement`.
|
|
117
|
+
* @default false
|
|
118
|
+
*/
|
|
119
|
+
noFlip: {
|
|
120
|
+
type: BooleanConstructor;
|
|
121
|
+
reflect: boolean;
|
|
122
|
+
};
|
|
106
123
|
/**
|
|
107
124
|
* If set, disables auto-validation on blur.
|
|
108
125
|
*/
|
|
109
126
|
noValidate: {
|
|
110
127
|
type: BooleanConstructor;
|
|
111
128
|
};
|
|
129
|
+
/**
|
|
130
|
+
* Gap between the trigger element and bib.
|
|
131
|
+
* @default 0
|
|
132
|
+
*/
|
|
133
|
+
offset: {
|
|
134
|
+
type: NumberConstructor;
|
|
135
|
+
reflect: boolean;
|
|
136
|
+
};
|
|
137
|
+
/**
|
|
138
|
+
* Position where the bib should appear relative to the trigger.
|
|
139
|
+
* Accepted values:
|
|
140
|
+
* "top" | "right" | "bottom" | "left" |
|
|
141
|
+
* "bottom-start" | "top-start" | "top-end" |
|
|
142
|
+
* "right-start" | "right-end" | "bottom-end" |
|
|
143
|
+
* "left-start" | "left-end"
|
|
144
|
+
* @default bottom-start
|
|
145
|
+
*/
|
|
146
|
+
placement: {
|
|
147
|
+
type: StringConstructor;
|
|
148
|
+
reflect: boolean;
|
|
149
|
+
};
|
|
112
150
|
/**
|
|
113
151
|
* If set, turns on date range functionality in auro-calendar.
|
|
114
152
|
*/
|
|
@@ -212,6 +250,10 @@ export class AuroDatePicker extends LitElement {
|
|
|
212
250
|
format: string;
|
|
213
251
|
monthNames: string[];
|
|
214
252
|
monthFirst: boolean;
|
|
253
|
+
placement: string;
|
|
254
|
+
offset: number;
|
|
255
|
+
noFlip: boolean;
|
|
256
|
+
autoPlacement: boolean;
|
|
215
257
|
/**
|
|
216
258
|
* @private
|
|
217
259
|
*/
|
|
@@ -11132,11 +11132,11 @@ class AuroBibtemplate extends LitElement {
|
|
|
11132
11132
|
return {
|
|
11133
11133
|
isFullscreen: {
|
|
11134
11134
|
type: Boolean,
|
|
11135
|
-
reflect: true
|
|
11135
|
+
reflect: true
|
|
11136
11136
|
},
|
|
11137
11137
|
large: {
|
|
11138
11138
|
type: Boolean,
|
|
11139
|
-
reflect: true
|
|
11139
|
+
reflect: true
|
|
11140
11140
|
}
|
|
11141
11141
|
};
|
|
11142
11142
|
}
|
|
@@ -15095,12 +15095,17 @@ class AuroDropdown extends LitElement {
|
|
|
15095
15095
|
this.disabled = false;
|
|
15096
15096
|
this.error = false;
|
|
15097
15097
|
this.inset = false;
|
|
15098
|
-
this.placement = 'bottom-start';
|
|
15099
15098
|
this.rounded = false;
|
|
15100
15099
|
this.tabIndex = 0;
|
|
15101
15100
|
this.noToggle = false;
|
|
15102
15101
|
this.labeled = true;
|
|
15103
15102
|
|
|
15103
|
+
// floaterConfig
|
|
15104
|
+
this.placement = 'bottom-start';
|
|
15105
|
+
this.offset = 0;
|
|
15106
|
+
this.noFlip = false;
|
|
15107
|
+
this.autoPlacement = false;
|
|
15108
|
+
|
|
15104
15109
|
/**
|
|
15105
15110
|
* @private
|
|
15106
15111
|
*/
|
|
@@ -15121,16 +15126,6 @@ class AuroDropdown extends LitElement {
|
|
|
15121
15126
|
*/
|
|
15122
15127
|
this.floater = new AuroFloatingUI();
|
|
15123
15128
|
|
|
15124
|
-
/**
|
|
15125
|
-
* @private
|
|
15126
|
-
*/
|
|
15127
|
-
this.floaterConfig = {
|
|
15128
|
-
placement: 'bottom-start',
|
|
15129
|
-
flip: true,
|
|
15130
|
-
autoPlacement: false,
|
|
15131
|
-
offset: 0,
|
|
15132
|
-
};
|
|
15133
|
-
|
|
15134
15129
|
/**
|
|
15135
15130
|
* Generate unique names for dependency components.
|
|
15136
15131
|
*/
|
|
@@ -15152,6 +15147,18 @@ class AuroDropdown extends LitElement {
|
|
|
15152
15147
|
this.helpTextTag = versioning.generateTag('auro-formkit-dropdown-helptext', helpTextVersion$1, AuroHelpText$1);
|
|
15153
15148
|
}
|
|
15154
15149
|
|
|
15150
|
+
/**
|
|
15151
|
+
* @ignore
|
|
15152
|
+
*/
|
|
15153
|
+
get floaterConfig() {
|
|
15154
|
+
return {
|
|
15155
|
+
placement: this.placement,
|
|
15156
|
+
flip: !this.noFlip,
|
|
15157
|
+
autoPlacement: this.autoPlacement,
|
|
15158
|
+
offset: this.offset,
|
|
15159
|
+
};
|
|
15160
|
+
}
|
|
15161
|
+
|
|
15155
15162
|
/**
|
|
15156
15163
|
* Public method to hide the dropdown.
|
|
15157
15164
|
* @returns {void}
|
|
@@ -15172,6 +15179,15 @@ class AuroDropdown extends LitElement {
|
|
|
15172
15179
|
static get properties() {
|
|
15173
15180
|
return {
|
|
15174
15181
|
|
|
15182
|
+
/**
|
|
15183
|
+
* If declared, bib's position will be automatically calculated where to appear.
|
|
15184
|
+
* @default false
|
|
15185
|
+
*/
|
|
15186
|
+
autoPlacement: {
|
|
15187
|
+
type: Boolean,
|
|
15188
|
+
reflect: true
|
|
15189
|
+
},
|
|
15190
|
+
|
|
15175
15191
|
/**
|
|
15176
15192
|
* If declared, applies a border around the trigger slot.
|
|
15177
15193
|
*/
|
|
@@ -15256,7 +15272,7 @@ class AuroDropdown extends LitElement {
|
|
|
15256
15272
|
*/
|
|
15257
15273
|
isBibFullscreen: {
|
|
15258
15274
|
type: Boolean,
|
|
15259
|
-
reflect: true
|
|
15275
|
+
reflect: true
|
|
15260
15276
|
},
|
|
15261
15277
|
|
|
15262
15278
|
/**
|
|
@@ -15299,6 +15315,16 @@ class AuroDropdown extends LitElement {
|
|
|
15299
15315
|
reflect: true
|
|
15300
15316
|
},
|
|
15301
15317
|
|
|
15318
|
+
/**
|
|
15319
|
+
* If declared, the bib will NOT flip to an alternate position
|
|
15320
|
+
* when there isn't enough space in the specified `placement`.
|
|
15321
|
+
* @default false
|
|
15322
|
+
*/
|
|
15323
|
+
noFlip: {
|
|
15324
|
+
type: Boolean,
|
|
15325
|
+
reflect: true
|
|
15326
|
+
},
|
|
15327
|
+
|
|
15302
15328
|
/**
|
|
15303
15329
|
* If declared, the dropdown will not hide when moving focus outside the element.
|
|
15304
15330
|
*/
|
|
@@ -15315,16 +15341,32 @@ class AuroDropdown extends LitElement {
|
|
|
15315
15341
|
reflect: true
|
|
15316
15342
|
},
|
|
15317
15343
|
|
|
15344
|
+
/**
|
|
15345
|
+
* Gap between the trigger element and bib.
|
|
15346
|
+
* @default 0
|
|
15347
|
+
*/
|
|
15348
|
+
offset: {
|
|
15349
|
+
type: Number,
|
|
15350
|
+
reflect: true
|
|
15351
|
+
},
|
|
15352
|
+
|
|
15318
15353
|
onSlotChange: {
|
|
15319
15354
|
type: Function,
|
|
15320
15355
|
reflect: false
|
|
15321
15356
|
},
|
|
15322
15357
|
|
|
15323
15358
|
/**
|
|
15324
|
-
*
|
|
15359
|
+
* Position where the bib should appear relative to the trigger.
|
|
15360
|
+
* Accepted values:
|
|
15361
|
+
* "top" | "right" | "bottom" | "left" |
|
|
15362
|
+
* "bottom-start" | "top-start" | "top-end" |
|
|
15363
|
+
* "right-start" | "right-end" | "bottom-end" |
|
|
15364
|
+
* "left-start" | "left-end"
|
|
15365
|
+
* @default bottom-start
|
|
15325
15366
|
*/
|
|
15326
15367
|
placement: {
|
|
15327
|
-
type: String
|
|
15368
|
+
type: String,
|
|
15369
|
+
reflect: true
|
|
15328
15370
|
},
|
|
15329
15371
|
|
|
15330
15372
|
/**
|
|
@@ -22562,6 +22604,12 @@ class AuroDatePicker extends LitElement {
|
|
|
22562
22604
|
|
|
22563
22605
|
this.monthFirst = true;
|
|
22564
22606
|
|
|
22607
|
+
// floaterConfig
|
|
22608
|
+
this.placement = 'bottom-start';
|
|
22609
|
+
this.offset = 0;
|
|
22610
|
+
this.noFlip = false;
|
|
22611
|
+
this.autoPlacement = false;
|
|
22612
|
+
|
|
22565
22613
|
/**
|
|
22566
22614
|
* @private
|
|
22567
22615
|
*/
|
|
@@ -22609,6 +22657,16 @@ class AuroDatePicker extends LitElement {
|
|
|
22609
22657
|
static get properties() {
|
|
22610
22658
|
return {
|
|
22611
22659
|
// ...super.properties,
|
|
22660
|
+
|
|
22661
|
+
/**
|
|
22662
|
+
* If declared, bib's position will be automatically calculated where to appear.
|
|
22663
|
+
* @default false
|
|
22664
|
+
*/
|
|
22665
|
+
autoPlacement: {
|
|
22666
|
+
type: Boolean,
|
|
22667
|
+
reflect: true
|
|
22668
|
+
},
|
|
22669
|
+
|
|
22612
22670
|
/**
|
|
22613
22671
|
* The last date that may be displayed in the calendar.
|
|
22614
22672
|
*/
|
|
@@ -22703,6 +22761,16 @@ class AuroDatePicker extends LitElement {
|
|
|
22703
22761
|
type: Boolean
|
|
22704
22762
|
},
|
|
22705
22763
|
|
|
22764
|
+
/**
|
|
22765
|
+
* If declared, the bib will NOT flip to an alternate position
|
|
22766
|
+
* when there isn't enough space in the specified `placement`.
|
|
22767
|
+
* @default false
|
|
22768
|
+
*/
|
|
22769
|
+
noFlip: {
|
|
22770
|
+
type: Boolean,
|
|
22771
|
+
reflect: true
|
|
22772
|
+
},
|
|
22773
|
+
|
|
22706
22774
|
/**
|
|
22707
22775
|
* If set, disables auto-validation on blur.
|
|
22708
22776
|
*/
|
|
@@ -22710,6 +22778,29 @@ class AuroDatePicker extends LitElement {
|
|
|
22710
22778
|
type: Boolean
|
|
22711
22779
|
},
|
|
22712
22780
|
|
|
22781
|
+
/**
|
|
22782
|
+
* Gap between the trigger element and bib.
|
|
22783
|
+
* @default 0
|
|
22784
|
+
*/
|
|
22785
|
+
offset: {
|
|
22786
|
+
type: Number,
|
|
22787
|
+
reflect: true
|
|
22788
|
+
},
|
|
22789
|
+
|
|
22790
|
+
/**
|
|
22791
|
+
* Position where the bib should appear relative to the trigger.
|
|
22792
|
+
* Accepted values:
|
|
22793
|
+
* "top" | "right" | "bottom" | "left" |
|
|
22794
|
+
* "bottom-start" | "top-start" | "top-end" |
|
|
22795
|
+
* "right-start" | "right-end" | "bottom-end" |
|
|
22796
|
+
* "left-start" | "left-end"
|
|
22797
|
+
* @default bottom-start
|
|
22798
|
+
*/
|
|
22799
|
+
placement: {
|
|
22800
|
+
type: String,
|
|
22801
|
+
reflect: true
|
|
22802
|
+
},
|
|
22803
|
+
|
|
22713
22804
|
/**
|
|
22714
22805
|
* If set, turns on date range functionality in auro-calendar.
|
|
22715
22806
|
*/
|
|
@@ -22766,7 +22857,7 @@ class AuroDatePicker extends LitElement {
|
|
|
22766
22857
|
*/
|
|
22767
22858
|
stacked: {
|
|
22768
22859
|
type: Boolean,
|
|
22769
|
-
reflect: true
|
|
22860
|
+
reflect: true
|
|
22770
22861
|
},
|
|
22771
22862
|
|
|
22772
22863
|
/**
|
|
@@ -23466,6 +23557,10 @@ class AuroDatePicker extends LitElement {
|
|
|
23466
23557
|
disableEventShow
|
|
23467
23558
|
noHideOnThisFocusLoss
|
|
23468
23559
|
fullscreenBreakpoint="sm"
|
|
23560
|
+
.placement="${this.placement}"
|
|
23561
|
+
.offset="${this.offset}"
|
|
23562
|
+
?autoPlacement="${this.autoPlacement}"
|
|
23563
|
+
?noFlip="${this.noFlip}"
|
|
23469
23564
|
part="dropdown">
|
|
23470
23565
|
<div slot="trigger" class="dpTriggerContent" part="trigger">
|
|
23471
23566
|
<${this.inputTag}
|