@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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Semantic Release Automated Changelog
|
|
2
2
|
|
|
3
|
+
# [2.1.0-beta.6](https://github.com/AlaskaAirlines/auro-formkit/compare/v2.1.0-beta.5...v2.1.0-beta.6) (2025-04-01)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add `floaterConfig` attributes on dropdown counter-group ([9510ee0](https://github.com/AlaskaAirlines/auro-formkit/commit/9510ee034800071e97e599ef6c213bda98ef908c))
|
|
9
|
+
* expose `floaterConfig` related attrs on combobox ([ea78a71](https://github.com/AlaskaAirlines/auro-formkit/commit/ea78a71617e9414069c002ea83f6d5f33df3111a))
|
|
10
|
+
* expose `floaterConfig` related attrs on datepicker ([d426bf7](https://github.com/AlaskaAirlines/auro-formkit/commit/d426bf7d04a8de00cf8689c4efe3bbdaaf0e75dc))
|
|
11
|
+
* expose `floaterConfig` related attrs on select ([3183fa0](https://github.com/AlaskaAirlines/auro-formkit/commit/3183fa0f137a2daeae34b5165a55158f1f5a92ae))
|
|
12
|
+
* expose `placement`, `offset`, `noFlip`, `autoPlacement` attrs in dropdown ([b67a47d](https://github.com/AlaskaAirlines/auro-formkit/commit/b67a47dd8d38518da8b621d2cef88c9840682cfa))
|
|
13
|
+
|
|
14
|
+
# [2.1.0-beta.5](https://github.com/AlaskaAirlines/auro-formkit/compare/v2.1.0-beta.4...v2.1.0-beta.5) (2025-03-31)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* move host styles to div to prevent tailwindcss from overriding the padding ([3f4bc55](https://github.com/AlaskaAirlines/auro-formkit/commit/3f4bc551cebc70717ad556e7e3addaa3c5c0f9c7))
|
|
20
|
+
|
|
3
21
|
# [2.1.0-beta.4](https://github.com/AlaskaAirlines/auro-formkit/compare/v2.1.0-beta.3...v2.1.0-beta.4) (2025-03-28)
|
|
4
22
|
|
|
5
23
|
|
|
@@ -106,7 +106,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
106
106
|
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.
|
|
107
107
|
|
|
108
108
|
```html
|
|
109
|
-
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.1.0-beta.
|
|
109
|
+
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.1.0-beta.5/auro-checkbox/+esm"></script>
|
|
110
110
|
```
|
|
111
111
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
112
112
|
|
|
@@ -106,7 +106,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
106
106
|
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.
|
|
107
107
|
|
|
108
108
|
```html
|
|
109
|
-
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.1.0-beta.
|
|
109
|
+
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.1.0-beta.5/auro-checkbox/+esm"></script>
|
|
110
110
|
```
|
|
111
111
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
112
112
|
|
|
@@ -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
|
|
|
@@ -5,25 +5,29 @@
|
|
|
5
5
|
|
|
6
6
|
## Properties
|
|
7
7
|
|
|
8
|
-
| Property | Attribute | Type | Default
|
|
9
|
-
|
|
10
|
-
| [
|
|
11
|
-
| [
|
|
12
|
-
| [
|
|
13
|
-
| [
|
|
14
|
-
| [
|
|
15
|
-
| [
|
|
16
|
-
| [
|
|
17
|
-
| [
|
|
18
|
-
| [
|
|
19
|
-
| [
|
|
20
|
-
| [
|
|
21
|
-
| [
|
|
22
|
-
| [
|
|
23
|
-
| [
|
|
24
|
-
| [
|
|
25
|
-
| [
|
|
26
|
-
| [
|
|
8
|
+
| Property | Attribute | Type | Default | Description |
|
|
9
|
+
|---------------------------------|---------------------------------|-----------|----------------|--------------------------------------------------|
|
|
10
|
+
| [autoPlacement](#autoPlacement) | `autoPlacement` | `boolean` | | If declared, bib's position will be automatically calculated where to appear. |
|
|
11
|
+
| [autocomplete](#autocomplete) | `autocomplete` | `string` | "false" | An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported. |
|
|
12
|
+
| [checkmark](#checkmark) | `checkmark` | `boolean` | | When attribute is present auro-menu will apply checkmarks to selected options. |
|
|
13
|
+
| [disabled](#disabled) | `disabled` | `boolean` | | If set, disables the combobox. |
|
|
14
|
+
| [error](#error) | `error` | `string` | | When defined, sets persistent validity to `customError` and sets the validation message to the attribute value. |
|
|
15
|
+
| [fullscreenBreakpoint](#fullscreenBreakpoint) | `fullscreenBreakpoint` | `string` | "sm" | Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.<br />When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint. |
|
|
16
|
+
| [largeFullscreenHeadline](#largeFullscreenHeadline) | `largeFullscreenHeadline` | `boolean` | | If declared, make bib.fullscreen.headline in HeadingDisplay.<br />Otherwise, Heading 600 |
|
|
17
|
+
| [noFilter](#noFilter) | `noFilter` | `boolean` | false | If set, combobox will not filter menuoptions based in input. |
|
|
18
|
+
| [noFlip](#noFlip) | `noFlip` | `boolean` | "false" | If declared, the bib will NOT flip to an alternate position<br />when there isn't enough space in the specified `placement`. |
|
|
19
|
+
| [noValidate](#noValidate) | `noValidate` | `boolean` | | If set, disables auto-validation on blur. |
|
|
20
|
+
| [offset](#offset) | `offset` | `number` | "0" | Gap between the trigger element and bib. |
|
|
21
|
+
| [optionSelected](#optionSelected) | `optionSelected` | `object` | "undefined" | Specifies the current selected option. |
|
|
22
|
+
| [placement](#placement) | `placement` | `string` | "bottom-start" | Position where the bib should appear relative to the trigger.<br />Accepted values:<br />"top" \| "right" \| "bottom" \| "left" \|<br />"bottom-start" \| "top-start" \| "top-end" \|<br />"right-start" \| "right-end" \| "bottom-end" \|<br />"left-start" \| "left-end" |
|
|
23
|
+
| [required](#required) | `required` | `boolean` | | Populates the `required` attribute on the input. Used for client-side validation. |
|
|
24
|
+
| [setCustomValidity](#setCustomValidity) | `setCustomValidity` | `string` | | Sets a custom help text message to display for all validityStates. |
|
|
25
|
+
| [setCustomValidityCustomError](#setCustomValidityCustomError) | `setCustomValidityCustomError` | `string` | | Custom help text message to display when validity = `customError`. |
|
|
26
|
+
| [setCustomValidityValueMissing](#setCustomValidityValueMissing) | `setCustomValidityValueMissing` | `string` | | Custom help text message to display when validity = `valueMissing`. |
|
|
27
|
+
| [triggerIcon](#triggerIcon) | `triggerIcon` | `boolean` | | If set, the `icon` attribute will be applied to the trigger `auro-input` element. |
|
|
28
|
+
| [type](#type) | `type` | `string` | | Applies the defined value as the type attribute on auro-input. |
|
|
29
|
+
| [validity](#validity) | `validity` | `string` | "undefined" | Specifies the `validityState` this element is in. |
|
|
30
|
+
| [value](#value) | `value` | | "undefined" | Value selected for the dropdown menu. |
|
|
27
31
|
|
|
28
32
|
## Methods
|
|
29
33
|
|
|
@@ -840,6 +844,105 @@ export function auroMenuLoadingExample() {
|
|
|
840
844
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
841
845
|
</auro-accordion>
|
|
842
846
|
|
|
847
|
+
### Customized bib position
|
|
848
|
+
The bib position can be customized with `placement`, `offset`, `flip`, `autoPlacement` attributes.
|
|
849
|
+
|
|
850
|
+
- `placement` specifies the preferred position where the bib should appear relative to the trigger.
|
|
851
|
+
- `offset` sets the distance between the trigger and the bib.
|
|
852
|
+
- When `autoPlacement` is enabled, smart positioning logic is applied to determine the best placement for the bib. If all sides have sufficient space, the bib will appear in the position specified by `placement`.
|
|
853
|
+
- Unless `noFlip` is enabled, if there isn't enough space for the preferred `placement`, the bib will automatically flip to an alternative position.
|
|
854
|
+
|
|
855
|
+
<div class="exampleWrapper">
|
|
856
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/floaterConfig.html) -->
|
|
857
|
+
<!-- The below content is automatically added from ./../apiExamples/floaterConfig.html -->
|
|
858
|
+
<div style="width: 350px">
|
|
859
|
+
<auro-combobox offset="20" noFlip placement="bottom-end">
|
|
860
|
+
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
861
|
+
<span slot="label">bottom-end bib with 20px offset and noFlip</span>
|
|
862
|
+
<auro-menu>
|
|
863
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
864
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
865
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
866
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
867
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
868
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
869
|
+
</auro-menu>
|
|
870
|
+
</auro-combobox>
|
|
871
|
+
<auro-combobox offset="20" placement="bottom-end">
|
|
872
|
+
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
873
|
+
<span slot="label">bottom-end bib with 20px offset and flip</span>
|
|
874
|
+
<auro-menu>
|
|
875
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
876
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
877
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
878
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
879
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
880
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
881
|
+
</auro-menu>
|
|
882
|
+
</auro-combobox>
|
|
883
|
+
<auro-combobox offset="20" noFlip placement="right" autoPlacement>
|
|
884
|
+
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
885
|
+
<span slot="label">right bib with 20px offset, noFlip and autoPlacement</span>
|
|
886
|
+
<auro-menu>
|
|
887
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
888
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
889
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
890
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
891
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
892
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
893
|
+
</auro-menu>
|
|
894
|
+
</auro-combobox>
|
|
895
|
+
</div>
|
|
896
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
897
|
+
</div>
|
|
898
|
+
<auro-accordion alignRight>
|
|
899
|
+
<span slot="trigger">See code</span>
|
|
900
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/floaterConfig.html) -->
|
|
901
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/floaterConfig.html -->
|
|
902
|
+
|
|
903
|
+
```html
|
|
904
|
+
<div style="width: 350px">
|
|
905
|
+
<auro-combobox offset="20" noFlip placement="bottom-end">
|
|
906
|
+
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
907
|
+
<span slot="label">bottom-end bib with 20px offset and noFlip</span>
|
|
908
|
+
<auro-menu>
|
|
909
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
910
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
911
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
912
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
913
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
914
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
915
|
+
</auro-menu>
|
|
916
|
+
</auro-combobox>
|
|
917
|
+
<auro-combobox offset="20" placement="bottom-end">
|
|
918
|
+
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
919
|
+
<span slot="label">bottom-end bib with 20px offset and flip</span>
|
|
920
|
+
<auro-menu>
|
|
921
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
922
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
923
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
924
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
925
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
926
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
927
|
+
</auro-menu>
|
|
928
|
+
</auro-combobox>
|
|
929
|
+
<auro-combobox offset="20" noFlip placement="right" autoPlacement>
|
|
930
|
+
<span slot="bib.fullscreen.headline">Bib Header</span>
|
|
931
|
+
<span slot="label">right bib with 20px offset, noFlip and autoPlacement</span>
|
|
932
|
+
<auro-menu>
|
|
933
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
934
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
935
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
936
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
937
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
938
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
939
|
+
</auro-menu>
|
|
940
|
+
</auro-combobox>
|
|
941
|
+
</div>
|
|
942
|
+
```
|
|
943
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
944
|
+
</auro-accordion>
|
|
945
|
+
|
|
843
946
|
### Dropdown with fullscreen bib
|
|
844
947
|
|
|
845
948
|
You can make the dropdown open in fullscreen at a specific breakpoint by setting `fullscreenBreakpoint`.
|
|
@@ -3552,12 +3552,17 @@ class AuroDropdown extends r$1 {
|
|
|
3552
3552
|
this.disabled = false;
|
|
3553
3553
|
this.error = false;
|
|
3554
3554
|
this.inset = false;
|
|
3555
|
-
this.placement = 'bottom-start';
|
|
3556
3555
|
this.rounded = false;
|
|
3557
3556
|
this.tabIndex = 0;
|
|
3558
3557
|
this.noToggle = false;
|
|
3559
3558
|
this.labeled = true;
|
|
3560
3559
|
|
|
3560
|
+
// floaterConfig
|
|
3561
|
+
this.placement = 'bottom-start';
|
|
3562
|
+
this.offset = 0;
|
|
3563
|
+
this.noFlip = false;
|
|
3564
|
+
this.autoPlacement = false;
|
|
3565
|
+
|
|
3561
3566
|
/**
|
|
3562
3567
|
* @private
|
|
3563
3568
|
*/
|
|
@@ -3578,16 +3583,6 @@ class AuroDropdown extends r$1 {
|
|
|
3578
3583
|
*/
|
|
3579
3584
|
this.floater = new AuroFloatingUI();
|
|
3580
3585
|
|
|
3581
|
-
/**
|
|
3582
|
-
* @private
|
|
3583
|
-
*/
|
|
3584
|
-
this.floaterConfig = {
|
|
3585
|
-
placement: 'bottom-start',
|
|
3586
|
-
flip: true,
|
|
3587
|
-
autoPlacement: false,
|
|
3588
|
-
offset: 0,
|
|
3589
|
-
};
|
|
3590
|
-
|
|
3591
3586
|
/**
|
|
3592
3587
|
* Generate unique names for dependency components.
|
|
3593
3588
|
*/
|
|
@@ -3609,6 +3604,18 @@ class AuroDropdown extends r$1 {
|
|
|
3609
3604
|
this.helpTextTag = versioning.generateTag('auro-formkit-dropdown-helptext', helpTextVersion$1, AuroHelpText$1);
|
|
3610
3605
|
}
|
|
3611
3606
|
|
|
3607
|
+
/**
|
|
3608
|
+
* @ignore
|
|
3609
|
+
*/
|
|
3610
|
+
get floaterConfig() {
|
|
3611
|
+
return {
|
|
3612
|
+
placement: this.placement,
|
|
3613
|
+
flip: !this.noFlip,
|
|
3614
|
+
autoPlacement: this.autoPlacement,
|
|
3615
|
+
offset: this.offset,
|
|
3616
|
+
};
|
|
3617
|
+
}
|
|
3618
|
+
|
|
3612
3619
|
/**
|
|
3613
3620
|
* Public method to hide the dropdown.
|
|
3614
3621
|
* @returns {void}
|
|
@@ -3629,6 +3636,15 @@ class AuroDropdown extends r$1 {
|
|
|
3629
3636
|
static get properties() {
|
|
3630
3637
|
return {
|
|
3631
3638
|
|
|
3639
|
+
/**
|
|
3640
|
+
* If declared, bib's position will be automatically calculated where to appear.
|
|
3641
|
+
* @default false
|
|
3642
|
+
*/
|
|
3643
|
+
autoPlacement: {
|
|
3644
|
+
type: Boolean,
|
|
3645
|
+
reflect: true
|
|
3646
|
+
},
|
|
3647
|
+
|
|
3632
3648
|
/**
|
|
3633
3649
|
* If declared, applies a border around the trigger slot.
|
|
3634
3650
|
*/
|
|
@@ -3713,7 +3729,7 @@ class AuroDropdown extends r$1 {
|
|
|
3713
3729
|
*/
|
|
3714
3730
|
isBibFullscreen: {
|
|
3715
3731
|
type: Boolean,
|
|
3716
|
-
reflect: true
|
|
3732
|
+
reflect: true
|
|
3717
3733
|
},
|
|
3718
3734
|
|
|
3719
3735
|
/**
|
|
@@ -3756,6 +3772,16 @@ class AuroDropdown extends r$1 {
|
|
|
3756
3772
|
reflect: true
|
|
3757
3773
|
},
|
|
3758
3774
|
|
|
3775
|
+
/**
|
|
3776
|
+
* If declared, the bib will NOT flip to an alternate position
|
|
3777
|
+
* when there isn't enough space in the specified `placement`.
|
|
3778
|
+
* @default false
|
|
3779
|
+
*/
|
|
3780
|
+
noFlip: {
|
|
3781
|
+
type: Boolean,
|
|
3782
|
+
reflect: true
|
|
3783
|
+
},
|
|
3784
|
+
|
|
3759
3785
|
/**
|
|
3760
3786
|
* If declared, the dropdown will not hide when moving focus outside the element.
|
|
3761
3787
|
*/
|
|
@@ -3772,16 +3798,32 @@ class AuroDropdown extends r$1 {
|
|
|
3772
3798
|
reflect: true
|
|
3773
3799
|
},
|
|
3774
3800
|
|
|
3801
|
+
/**
|
|
3802
|
+
* Gap between the trigger element and bib.
|
|
3803
|
+
* @default 0
|
|
3804
|
+
*/
|
|
3805
|
+
offset: {
|
|
3806
|
+
type: Number,
|
|
3807
|
+
reflect: true
|
|
3808
|
+
},
|
|
3809
|
+
|
|
3775
3810
|
onSlotChange: {
|
|
3776
3811
|
type: Function,
|
|
3777
3812
|
reflect: false
|
|
3778
3813
|
},
|
|
3779
3814
|
|
|
3780
3815
|
/**
|
|
3781
|
-
*
|
|
3816
|
+
* Position where the bib should appear relative to the trigger.
|
|
3817
|
+
* Accepted values:
|
|
3818
|
+
* "top" | "right" | "bottom" | "left" |
|
|
3819
|
+
* "bottom-start" | "top-start" | "top-end" |
|
|
3820
|
+
* "right-start" | "right-end" | "bottom-end" |
|
|
3821
|
+
* "left-start" | "left-end"
|
|
3822
|
+
* @default bottom-start
|
|
3782
3823
|
*/
|
|
3783
3824
|
placement: {
|
|
3784
|
-
type: String
|
|
3825
|
+
type: String,
|
|
3826
|
+
reflect: true
|
|
3785
3827
|
},
|
|
3786
3828
|
|
|
3787
3829
|
/**
|
|
@@ -11796,11 +11838,11 @@ class AuroBibtemplate extends r$1 {
|
|
|
11796
11838
|
return {
|
|
11797
11839
|
isFullscreen: {
|
|
11798
11840
|
type: Boolean,
|
|
11799
|
-
reflect: true
|
|
11841
|
+
reflect: true
|
|
11800
11842
|
},
|
|
11801
11843
|
large: {
|
|
11802
11844
|
type: Boolean,
|
|
11803
|
-
reflect: true
|
|
11845
|
+
reflect: true
|
|
11804
11846
|
}
|
|
11805
11847
|
};
|
|
11806
11848
|
}
|
|
@@ -12049,6 +12091,12 @@ class AuroCombobox extends r$1 {
|
|
|
12049
12091
|
|
|
12050
12092
|
this.isHiddenWhileLoading = false;
|
|
12051
12093
|
|
|
12094
|
+
// floaterConfig
|
|
12095
|
+
this.placement = 'bottom-start';
|
|
12096
|
+
this.offset = 0;
|
|
12097
|
+
this.noFlip = false;
|
|
12098
|
+
this.autoPlacement = false;
|
|
12099
|
+
|
|
12052
12100
|
const versioning = new AuroDependencyVersioning$4();
|
|
12053
12101
|
|
|
12054
12102
|
this.dropdownTag = versioning.generateTag('auro-formkit-checkbox-dropdown', dropdownVersion, AuroDropdown);
|
|
@@ -12065,12 +12113,21 @@ class AuroCombobox extends r$1 {
|
|
|
12065
12113
|
|
|
12066
12114
|
/**
|
|
12067
12115
|
* An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
|
|
12116
|
+
* @default false
|
|
12068
12117
|
*/
|
|
12069
12118
|
autocomplete: {
|
|
12070
12119
|
type: String,
|
|
12071
12120
|
reflect: true
|
|
12072
12121
|
},
|
|
12073
12122
|
|
|
12123
|
+
/**
|
|
12124
|
+
* If declared, bib's position will be automatically calculated where to appear.
|
|
12125
|
+
*/
|
|
12126
|
+
autoPlacement: {
|
|
12127
|
+
type: Boolean,
|
|
12128
|
+
reflect: true
|
|
12129
|
+
},
|
|
12130
|
+
|
|
12074
12131
|
/**
|
|
12075
12132
|
* When attribute is present auro-menu will apply checkmarks to selected options.
|
|
12076
12133
|
*/
|
|
@@ -12103,6 +12160,16 @@ class AuroCombobox extends r$1 {
|
|
|
12103
12160
|
reflect: true
|
|
12104
12161
|
},
|
|
12105
12162
|
|
|
12163
|
+
/**
|
|
12164
|
+
* If declared, the bib will NOT flip to an alternate position
|
|
12165
|
+
* when there isn't enough space in the specified `placement`.
|
|
12166
|
+
* @default false
|
|
12167
|
+
*/
|
|
12168
|
+
noFlip: {
|
|
12169
|
+
type: Boolean,
|
|
12170
|
+
reflect: true
|
|
12171
|
+
},
|
|
12172
|
+
|
|
12106
12173
|
/**
|
|
12107
12174
|
* If set, disables auto-validation on blur.
|
|
12108
12175
|
*/
|
|
@@ -12110,6 +12177,15 @@ class AuroCombobox extends r$1 {
|
|
|
12110
12177
|
type: Boolean
|
|
12111
12178
|
},
|
|
12112
12179
|
|
|
12180
|
+
/**
|
|
12181
|
+
* Gap between the trigger element and bib.
|
|
12182
|
+
* @default 0
|
|
12183
|
+
*/
|
|
12184
|
+
offset: {
|
|
12185
|
+
type: Number,
|
|
12186
|
+
reflect: true
|
|
12187
|
+
},
|
|
12188
|
+
|
|
12113
12189
|
/**
|
|
12114
12190
|
* Specifies the current selected option.
|
|
12115
12191
|
*/
|
|
@@ -12119,6 +12195,20 @@ class AuroCombobox extends r$1 {
|
|
|
12119
12195
|
hasChanged: arrayOrUndefinedHasChanged$1
|
|
12120
12196
|
},
|
|
12121
12197
|
|
|
12198
|
+
/**
|
|
12199
|
+
* Position where the bib should appear relative to the trigger.
|
|
12200
|
+
* Accepted values:
|
|
12201
|
+
* "top" | "right" | "bottom" | "left" |
|
|
12202
|
+
* "bottom-start" | "top-start" | "top-end" |
|
|
12203
|
+
* "right-start" | "right-end" | "bottom-end" |
|
|
12204
|
+
* "left-start" | "left-end"
|
|
12205
|
+
* @default bottom-start
|
|
12206
|
+
*/
|
|
12207
|
+
placement: {
|
|
12208
|
+
type: String,
|
|
12209
|
+
reflect: true
|
|
12210
|
+
},
|
|
12211
|
+
|
|
12122
12212
|
/**
|
|
12123
12213
|
* Populates the `required` attribute on the input. Used for client-side validation.
|
|
12124
12214
|
*/
|
|
@@ -12886,6 +12976,10 @@ class AuroCombobox extends r$1 {
|
|
|
12886
12976
|
.fullscreenBreakpoint="${this.fullscreenBreakpoint}"
|
|
12887
12977
|
?disabled="${this.disabled}"
|
|
12888
12978
|
?error="${this.validity !== undefined && this.validity !== 'valid'}"
|
|
12979
|
+
.placement="${this.placement}"
|
|
12980
|
+
.offset="${this.offset}"
|
|
12981
|
+
?autoPlacement="${this.autoPlacement}"
|
|
12982
|
+
?noFlip="${this.noFlip}"
|
|
12889
12983
|
disableEventShow>
|
|
12890
12984
|
<${this.inputTag}
|
|
12891
12985
|
slot="trigger"
|