@aurodesignsystem/auro-formkit 2.0.0-beta.44 → 2.0.0-beta.46
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 +26 -0
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/api.min.js +292 -42
- package/components/checkbox/demo/index.min.js +292 -42
- package/components/checkbox/dist/auro-checkbox-group.d.ts +5 -1
- package/components/checkbox/dist/helptextVersion.d.ts +2 -0
- package/components/checkbox/dist/index.js +292 -42
- package/components/checkbox/dist/registered.js +292 -42
- package/components/combobox/README.md +6 -6
- package/components/combobox/demo/api.md +46 -43
- package/components/combobox/demo/api.min.js +494 -97
- package/components/combobox/demo/index.md +16 -16
- package/components/combobox/demo/index.min.js +494 -97
- package/components/combobox/dist/auro-combobox.d.ts +3 -2
- package/components/combobox/dist/index.js +483 -86
- package/components/combobox/dist/registered.js +483 -86
- package/components/counter/README.md +1 -1
- package/components/counter/demo/api.js +2 -1
- package/components/counter/demo/api.md +88 -14
- package/components/counter/demo/api.min.js +1259 -182
- package/components/counter/demo/index.md +6 -0
- package/components/counter/demo/index.min.js +1232 -182
- package/components/counter/dist/auro-counter-group.d.ts +31 -0
- package/components/counter/dist/bibtemplateVersion.d.ts +2 -0
- package/components/counter/dist/index.js +1232 -182
- package/components/counter/dist/registered.js +1232 -182
- package/components/datepicker/README.md +4 -4
- package/components/datepicker/demo/api.min.js +550 -154
- package/components/datepicker/demo/index.min.js +550 -154
- package/components/datepicker/dist/index.js +550 -154
- package/components/datepicker/dist/registered.js +550 -154
- package/components/dropdown/README.md +1 -1
- package/components/dropdown/demo/api.md +23 -23
- package/components/dropdown/demo/api.min.js +239 -41
- package/components/dropdown/demo/index.min.js +239 -41
- package/components/dropdown/dist/auro-dropdown.d.ts +5 -1
- package/components/dropdown/dist/auro-dropdownBib.d.ts +1 -1
- package/components/dropdown/dist/helptextVersion.d.ts +2 -0
- package/components/dropdown/dist/index.js +239 -41
- package/components/dropdown/dist/registered.js +239 -41
- package/components/form/README.md +1 -1
- package/components/helptext/dist/index.js +2 -0
- package/components/helptext/dist/registered.js +2 -0
- package/components/input/README.md +1 -1
- package/components/input/demo/api.min.js +249 -51
- package/components/input/demo/index.min.js +249 -51
- package/components/input/dist/auro-input.d.ts +4 -0
- package/components/input/dist/helptextVersion.d.ts +2 -0
- package/components/input/dist/index.js +249 -51
- package/components/input/dist/registered.js +249 -51
- package/components/menu/README.md +1 -1
- package/components/radio/README.md +1 -1
- package/components/radio/demo/api.min.js +291 -41
- package/components/radio/demo/index.min.js +291 -41
- package/components/radio/dist/auro-radio-group.d.ts +5 -1
- package/components/radio/dist/helptextVersion.d.ts +2 -0
- package/components/radio/dist/index.js +291 -41
- package/components/radio/dist/registered.js +291 -41
- package/components/select/README.md +3 -3
- package/components/select/demo/api.min.js +257 -59
- package/components/select/demo/index.min.js +257 -59
- package/components/select/dist/index.js +246 -48
- package/components/select/dist/registered.js +246 -48
- package/package.json +1 -1
|
@@ -97,7 +97,7 @@ In cases where the project is not able to process JS assets, there are pre-proce
|
|
|
97
97
|
<!-- The below content is automatically added from ../../docs/templates/componentBundleUseModBrowsers.md -->
|
|
98
98
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@4.13.0/dist/tokens/CSSCustomProperties.css" />
|
|
99
99
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@5.1.2/dist/bundled/essentials.css" />
|
|
100
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-dropdown@2.0.0-beta.
|
|
100
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-dropdown@2.0.0-beta.45/dist/auro-dropdown__bundled.js" type="module"></script>
|
|
101
101
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
102
102
|
|
|
103
103
|
## auro-dropdown use cases
|
|
@@ -11,25 +11,25 @@
|
|
|
11
11
|
|
|
12
12
|
## Properties
|
|
13
13
|
|
|
14
|
-
| Property
|
|
15
|
-
|
|
16
|
-
| [bordered](#bordered)
|
|
17
|
-
| [chevron](#chevron)
|
|
18
|
-
| [common](#common)
|
|
19
|
-
| [disabled](#disabled)
|
|
20
|
-
| [error](#error)
|
|
21
|
-
| [fluid](#fluid)
|
|
22
|
-
| [focusShow](#focusShow)
|
|
23
|
-
| [
|
|
24
|
-
| [
|
|
25
|
-
| [
|
|
26
|
-
| [
|
|
27
|
-
| [
|
|
28
|
-
| [
|
|
29
|
-
| [noHideOnThisFocusLoss](#noHideOnThisFocusLoss)
|
|
30
|
-
| [noToggle](#noToggle)
|
|
31
|
-
| [onSlotChange](#onSlotChange)
|
|
32
|
-
| [rounded](#rounded)
|
|
14
|
+
| Property | Attribute | Type | Default | Description |
|
|
15
|
+
|-------------------------|-------------------------|-------------|---------|--------------------------------------------------|
|
|
16
|
+
| [bordered](#bordered) | `bordered` | ` Boolean ` | | If declared, applies a border around the trigger slot. |
|
|
17
|
+
| [chevron](#chevron) | `chevron` | ` Boolean ` | | If declared, the dropdown displays a chevron on the right. |
|
|
18
|
+
| [common](#common) | `common` | ` Boolean ` | | If declared, the dropdown will be styled with the common theme. |
|
|
19
|
+
| [disabled](#disabled) | `disabled` | ` Boolean ` | | If declared, the dropdown is not interactive. |
|
|
20
|
+
| [error](#error) | `error` | ` Boolean ` | | If declared in combination with `bordered` property or `helpText` slot content, will apply red color to both. |
|
|
21
|
+
| [fluid](#fluid) | `fluid` | `Boolean` | | Makes the trigger to be full width of its parent container. |
|
|
22
|
+
| [focusShow](#focusShow) | `focusShow` | ` Boolean ` | | If declared, the bib will display when focus is applied to the trigger. |
|
|
23
|
+
| [fullscreenBreakpoint](#fullscreenBreakpoint) | `fullscreenBreakpoint` | ` String ` | | 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. |
|
|
24
|
+
| [hoverToggle](#hoverToggle) | `hoverToggle` | ` Boolean ` | | If declared, the trigger will toggle the dropdown on mouseover/mouseout. |
|
|
25
|
+
| [inset](#inset) | `inset` | ` Boolean ` | | If declared, will apply padding around trigger slot content. |
|
|
26
|
+
| [isBibFullscreen](#isBibFullscreen) | `isBibFullscreen` | `boolean` | false | If true, the dropdown bib is taking the fullscreen when it's open |
|
|
27
|
+
| [isPopoverVisible](#isPopoverVisible) | `isPopoverVisible` | ` Boolean ` | false | If true, the dropdown bib is displayed. |
|
|
28
|
+
| [matchWidth](#matchWidth) | `matchWidth` | ` Boolean ` | false | If declared, the popover and trigger will be set to the same width. |
|
|
29
|
+
| [noHideOnThisFocusLoss](#noHideOnThisFocusLoss) | `noHideOnThisFocusLoss` | ` Boolean ` | false | If declared, the dropdown will not hide when moving focus outside the element. |
|
|
30
|
+
| [noToggle](#noToggle) | `noToggle` | ` Boolean ` | | If declared, the trigger will only show the dropdown bib. |
|
|
31
|
+
| [onSlotChange](#onSlotChange) | `onSlotChange` | | | |
|
|
32
|
+
| [rounded](#rounded) | `rounded` | ` Boolean ` | | If declared, will apply border-radius to trigger and default slots. |
|
|
33
33
|
|
|
34
34
|
## Methods
|
|
35
35
|
|
|
@@ -642,9 +642,9 @@ In cases where it is desired behavior for `auro-dropdown` to only show, not togg
|
|
|
642
642
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
643
643
|
</auro-accordion>
|
|
644
644
|
|
|
645
|
-
####
|
|
645
|
+
#### fullscreenBreakpoint
|
|
646
646
|
|
|
647
|
-
On mobile view, adding the `
|
|
647
|
+
On mobile view, adding the `fullscreenBreakpoint="{breakpoint-token}"` will switch the dropdown to fullscreen mode.
|
|
648
648
|
|
|
649
649
|
<div class="exampleWrapper">
|
|
650
650
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/customDimensions300.html) -->
|
|
@@ -656,7 +656,7 @@ On mobile view, adding the `mobileFullscreenBreakpoint="{breakpoint-token}"` wil
|
|
|
656
656
|
}
|
|
657
657
|
</style>
|
|
658
658
|
<div style="width: 300px;" aria-label="custom label">
|
|
659
|
-
<auro-dropdown id="customDropdown300" inset bordered rounded chevron
|
|
659
|
+
<auro-dropdown id="customDropdown300" inset bordered rounded chevron fullscreenBreakpoint="sm">
|
|
660
660
|
<div>
|
|
661
661
|
<p>
|
|
662
662
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
@@ -688,7 +688,7 @@ On mobile view, adding the `mobileFullscreenBreakpoint="{breakpoint-token}"` wil
|
|
|
688
688
|
}
|
|
689
689
|
</style>
|
|
690
690
|
<div style="width: 300px;" aria-label="custom label">
|
|
691
|
-
<auro-dropdown id="customDropdown300" inset bordered rounded chevron
|
|
691
|
+
<auro-dropdown id="customDropdown300" inset bordered rounded chevron fullscreenBreakpoint="sm">
|
|
692
692
|
<div>
|
|
693
693
|
<p>
|
|
694
694
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|