@aurodesignsystem-dev/auro-formkit 0.0.0-pr624.10 → 0.0.0-pr624.100
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 +12 -2
- package/components/bibtemplate/dist/buttonVersion.d.ts +2 -0
- package/components/bibtemplate/dist/headerVersion.d.ts +1 -1
- package/components/bibtemplate/dist/iconVersion.d.ts +1 -1
- package/components/bibtemplate/dist/index.js +1242 -94
- package/components/bibtemplate/dist/registered.js +1242 -94
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/api.html +16 -10
- package/components/checkbox/demo/api.md +54 -19
- package/components/checkbox/demo/api.min.js +71 -46
- package/components/checkbox/demo/index.html +16 -10
- package/components/checkbox/demo/index.md +2 -2
- package/components/checkbox/demo/index.min.js +71 -46
- package/components/checkbox/demo/readme.html +16 -9
- package/components/checkbox/demo/readme.md +1 -1
- package/components/checkbox/dist/auro-checkbox-group.d.ts +1 -1
- package/components/checkbox/dist/auro-checkbox.d.ts +6 -3
- package/components/checkbox/dist/index.js +70 -45
- package/components/checkbox/dist/registered.js +70 -45
- package/components/combobox/README.md +2 -0
- package/components/combobox/demo/api.html +16 -10
- package/components/combobox/demo/api.md +121 -8
- package/components/combobox/demo/api.min.js +3314 -1013
- package/components/combobox/demo/index.html +16 -10
- package/components/combobox/demo/index.md +20 -34
- package/components/combobox/demo/index.min.js +3314 -1013
- package/components/combobox/demo/readme.html +16 -9
- package/components/combobox/demo/readme.md +2 -0
- package/components/combobox/dist/auro-combobox.d.ts +59 -14
- package/components/combobox/dist/index.js +3008 -850
- package/components/combobox/dist/registered.js +3008 -850
- package/components/counter/demo/api.html +17 -10
- package/components/counter/demo/api.md +167 -21
- package/components/counter/demo/api.min.js +3419 -773
- package/components/counter/demo/index.html +17 -10
- package/components/counter/demo/index.md +191 -34
- package/components/counter/demo/index.min.js +3419 -773
- package/components/counter/demo/readme.html +16 -9
- package/components/counter/dist/auro-counter-button.d.ts +2 -0
- package/components/counter/dist/auro-counter-group.d.ts +162 -11
- package/components/counter/dist/auro-counter.d.ts +16 -0
- package/components/counter/dist/helptextVersion.d.ts +2 -0
- package/components/counter/dist/iconVersion.d.ts +1 -1
- package/components/counter/dist/index.js +3419 -773
- package/components/counter/dist/registered.js +3419 -773
- package/components/datepicker/README.md +2 -1
- package/components/datepicker/demo/api.html +16 -10
- package/components/datepicker/demo/api.md +70 -28
- package/components/datepicker/demo/api.min.js +11970 -8081
- package/components/datepicker/demo/index.html +16 -10
- package/components/datepicker/demo/index.md +87 -8
- package/components/datepicker/demo/index.min.js +11970 -8081
- package/components/datepicker/demo/readme.html +16 -9
- package/components/datepicker/demo/readme.md +2 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +152 -12
- package/components/datepicker/dist/buttonVersion.d.ts +1 -1
- package/components/datepicker/dist/iconVersion.d.ts +2 -0
- package/components/datepicker/dist/index.js +14577 -10688
- package/components/datepicker/dist/popoverVersion.d.ts +1 -1
- package/components/datepicker/dist/registered.js +14577 -10688
- package/components/dropdown/demo/api.html +16 -10
- package/components/dropdown/demo/api.md +89 -281
- package/components/dropdown/demo/api.min.js +451 -271
- package/components/dropdown/demo/index.html +16 -10
- package/components/dropdown/demo/index.md +92 -362
- package/components/dropdown/demo/index.min.js +451 -271
- package/components/dropdown/demo/readme.html +16 -9
- package/components/dropdown/dist/auro-dropdown.d.ts +43 -82
- package/components/dropdown/dist/auro-dropdownBib.d.ts +14 -0
- package/components/dropdown/dist/index.js +450 -270
- package/components/dropdown/dist/registered.js +450 -270
- package/components/form/demo/api.html +16 -9
- package/components/form/demo/api.md +1 -1
- package/components/form/demo/api.min.js +3 -3
- package/components/form/demo/autocomplete.html +19 -3
- package/components/form/demo/index.html +16 -9
- package/components/form/demo/index.min.js +3 -3
- package/components/form/demo/readme.html +16 -9
- package/components/form/demo/working.html +19 -13
- package/components/form/dist/auro-form.d.ts +1 -1
- package/components/form/dist/index.js +2 -2
- package/components/form/dist/registered.js +2 -2
- package/components/helptext/dist/auro-helptext.d.ts +0 -2
- package/components/helptext/dist/index.js +3 -5
- package/components/helptext/dist/registered.js +3 -5
- package/components/input/README.md +6 -2
- package/components/input/demo/api.html +16 -10
- package/components/input/demo/api.md +235 -135
- package/components/input/demo/api.min.js +1046 -301
- package/components/input/demo/index.html +16 -10
- package/components/input/demo/index.md +55 -32
- package/components/input/demo/index.min.js +1062 -317
- package/components/input/demo/readme.html +16 -9
- package/components/input/demo/readme.md +6 -2
- package/components/input/dist/auro-input.d.ts +26 -2
- package/components/input/dist/base-input.d.ts +47 -11
- package/components/input/dist/buttonVersion.d.ts +1 -1
- package/components/input/dist/iconVersion.d.ts +1 -1
- package/components/input/dist/index.js +1061 -316
- package/components/input/dist/registered.js +1061 -316
- package/components/layoutElement/dist/index.js +11 -8
- package/components/layoutElement/dist/registered.js +97 -0
- package/components/menu/demo/api.html +17 -10
- package/components/menu/demo/api.md +65 -8
- package/components/menu/demo/api.min.js +301 -63
- package/components/menu/demo/index.html +16 -10
- package/components/menu/demo/index.min.js +301 -63
- package/components/menu/demo/readme.html +16 -9
- package/components/menu/dist/auro-menu.d.ts +53 -7
- package/components/menu/dist/auro-menuoption.d.ts +21 -3
- package/components/menu/dist/iconVersion.d.ts +1 -1
- package/components/menu/dist/index.js +286 -48
- package/components/menu/dist/registered.js +286 -48
- package/components/menu/dist/styles/default/tokens-css.d.ts +2 -0
- package/components/radio/demo/api.html +16 -10
- package/components/radio/demo/api.md +41 -9
- package/components/radio/demo/api.min.js +95 -97
- package/components/radio/demo/index.html +16 -10
- package/components/radio/demo/index.min.js +95 -97
- package/components/radio/demo/readme.html +16 -9
- package/components/radio/dist/auro-radio-group.d.ts +1 -1
- package/components/radio/dist/auro-radio.d.ts +11 -12
- package/components/radio/dist/index.js +94 -96
- package/components/radio/dist/registered.js +94 -96
- package/components/select/README.md +1 -0
- package/components/select/demo/api.html +16 -10
- package/components/select/demo/api.js +0 -2
- package/components/select/demo/api.md +159 -125
- package/components/select/demo/api.min.js +2281 -730
- package/components/select/demo/index.html +17 -11
- package/components/select/demo/index.md +1074 -259
- package/components/select/demo/index.min.js +2283 -720
- package/components/select/demo/readme.html +16 -9
- package/components/select/demo/readme.md +1 -0
- package/components/select/dist/auro-select.d.ts +86 -25
- package/components/select/dist/index.js +2175 -755
- package/components/select/dist/registered.js +2175 -755
- package/package.json +31 -28
- /package/components/{datepicker/dist/styles/default/color-css.d.ts → counter/dist/styles/shapeSize-css.d.ts} +0 -0
- /package/components/datepicker/dist/styles/{emphasized/style-css.d.ts → classic/color-css.d.ts} +0 -0
- /package/components/{input/dist/styles/default/input-css.d.ts → datepicker/dist/styles/classic/style-css.d.ts} +0 -0
- /package/components/{input/dist/styles/default/label-css.d.ts → datepicker/dist/styles/snowflake/color-css.d.ts} +0 -0
- /package/components/{input/dist/styles/input-css.d.ts → datepicker/dist/styles/snowflake/style-css.d.ts} +0 -0
- /package/components/{menu/dist/styles/color-menu-css.d.ts → dropdown/dist/styles/style-css.d.ts} +0 -0
- /package/components/menu/dist/styles/{color-menuoption-css.d.ts → default/color-menu-css.d.ts} +0 -0
- /package/components/menu/dist/styles/{style-menu-css.d.ts → default/color-menuoption-css.d.ts} +0 -0
- /package/components/menu/dist/styles/{style-menuoption-css.d.ts → default/style-menu-css.d.ts} +0 -0
- /package/components/menu/dist/styles/{tokens-css.d.ts → default/style-menuoption-css.d.ts} +0 -0
|
@@ -3,53 +3,42 @@
|
|
|
3
3
|
|
|
4
4
|
# auro-dropdown
|
|
5
5
|
|
|
6
|
-
## Attributes
|
|
7
|
-
|
|
8
|
-
| Attribute | Type | Description |
|
|
9
|
-
|--------------------|-------------|--------------------------------------------------|
|
|
10
|
-
| [bordered](#bordered) | ` Boolean ` | If declared, applies a border around the trigger slot. |
|
|
11
|
-
| [disableEventShow](#disableEventShow) | ` Boolean ` | If declared, the dropdown will only show by calling the API .show() public method. |
|
|
12
|
-
|
|
13
6
|
## Properties
|
|
14
7
|
|
|
15
|
-
| Property | Attribute |
|
|
16
|
-
|
|
17
|
-
| `
|
|
18
|
-
| `
|
|
19
|
-
| [
|
|
20
|
-
| [
|
|
21
|
-
| [
|
|
22
|
-
| [
|
|
23
|
-
| [
|
|
24
|
-
| [
|
|
25
|
-
| [
|
|
26
|
-
| [
|
|
27
|
-
| [
|
|
28
|
-
| [
|
|
29
|
-
| [
|
|
30
|
-
| [
|
|
31
|
-
| [
|
|
32
|
-
| [
|
|
33
|
-
| [
|
|
34
|
-
| [
|
|
35
|
-
| [
|
|
36
|
-
| [
|
|
37
|
-
| [
|
|
38
|
-
| [
|
|
39
|
-
| [
|
|
40
|
-
| [
|
|
41
|
-
| [
|
|
42
|
-
| [placement](#placement) | `placement` | | `string` | "bottom-start" | Position where the bib should appear relative to the trigger. |
|
|
43
|
-
| [rounded](#rounded) | `rounded` | | ` Boolean ` | | If declared, will apply border-radius to trigger and default slots. |
|
|
44
|
-
| [shape](#shape) | | | `string` | "rounded" | |
|
|
45
|
-
| [simple](#simple) | `simple` | | `boolean` | | If declared, applies a border around the trigger slot. |
|
|
46
|
-
| [size](#size) | | | `string` | "xl" | |
|
|
8
|
+
| Property | Attribute | Type | Default | Description |
|
|
9
|
+
|-------------------------|-------------------------|-------------|----------------|--------------------------------------------------|
|
|
10
|
+
| `a11yRole` | | | | The value for the role attribute of the trigger element. |
|
|
11
|
+
| [autoPlacement](#autoPlacement) | `autoPlacement` | `boolean` | "false" | If declared, bib's position will be automatically calculated where to appear. |
|
|
12
|
+
| [chevron](#chevron) | `chevron` | ` Boolean ` | | If declared, the dropdown displays a chevron on the right. |
|
|
13
|
+
| [disableEventShow](#disableEventShow) | `disableEventShow` | ` Boolean ` | "false" | If declared, the dropdown will only show by calling the API .show() public method. |
|
|
14
|
+
| [disableFocusTrap](#disableFocusTrap) | `disableFocusTrap` | `boolean` | | If declared, the focus trap inside of bib will be turned off. |
|
|
15
|
+
| [disabled](#disabled) | `disabled` | ` Boolean ` | | If declared, the dropdown is not interactive. |
|
|
16
|
+
| [error](#error) | `error` | ` Boolean ` | | If declared in combination with not using the `simple` property or `helpText` slot content, will apply red color to both. |
|
|
17
|
+
| [errorMessage](#errorMessage) | `errorMessage` | `string` | "undefined" | Contains the help text message for the current validity error. |
|
|
18
|
+
| [focusShow](#focusShow) | `focusShow` | ` Boolean ` | | If declared, the bib will display when focus is applied to the trigger. |
|
|
19
|
+
| [fullscreenBreakpoint](#fullscreenBreakpoint) | `fullscreenBreakpoint` | ` String ` | "sm" | Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)<br />at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.<br /><br />When expanded, the dropdown will automatically display in fullscreen mode<br />if the screen size is equal to or smaller than the selected breakpoint. |
|
|
20
|
+
| [hoverToggle](#hoverToggle) | `hoverToggle` | ` Boolean ` | | If declared, the trigger will toggle the dropdown on mouseover/mouseout. |
|
|
21
|
+
| [isBibFullscreen](#isBibFullscreen) | `isBibFullscreen` | `boolean` | false | If true, the dropdown bib is taking the fullscreen when it's open. |
|
|
22
|
+
| [isPopoverVisible](#isPopoverVisible) | `open` | ` Boolean ` | false | If true, the dropdown bib is displayed. |
|
|
23
|
+
| [layout](#layout) | | | "undefined" | |
|
|
24
|
+
| [matchWidth](#matchWidth) | `matchWidth` | ` Boolean ` | false | If declared, the popover and trigger will be set to the same width. |
|
|
25
|
+
| [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`. |
|
|
26
|
+
| [noHideOnThisFocusLoss](#noHideOnThisFocusLoss) | `noHideOnThisFocusLoss` | ` Boolean ` | false | If declared, the dropdown will not hide when moving focus outside the element. |
|
|
27
|
+
| [noToggle](#noToggle) | `noToggle` | ` Boolean ` | | If declared, the trigger will only show the dropdown bib. |
|
|
28
|
+
| [offset](#offset) | `offset` | `number` | "0" | Gap between the trigger element and bib. |
|
|
29
|
+
| [onDark](#onDark) | `onDark` | `boolean` | | If declared, onDark styles will be applied. |
|
|
30
|
+
| [onSlotChange](#onSlotChange) | `onSlotChange` | | | If declared, and a function is set, that function will execute when the slot content is updated. |
|
|
31
|
+
| [placement](#placement) | `placement` | `string` | "bottom-start" | Position where the bib should appear relative to the trigger. |
|
|
32
|
+
| [shape](#shape) | | | "undefined" | |
|
|
33
|
+
| [simple](#simple) | `simple` | `boolean` | | If declared, applies a border around the trigger slot. |
|
|
34
|
+
| [size](#size) | | | "undefined" | |
|
|
47
35
|
|
|
48
36
|
## Methods
|
|
49
37
|
|
|
50
38
|
| Method | Type | Description |
|
|
51
39
|
|------------------|------------|--------------------------------------------------|
|
|
52
40
|
| [exposeCssParts](#exposeCssParts) | `(): void` | Exposes CSS parts for styling from parent components. |
|
|
41
|
+
| [focus](#focus) | `(): void` | When bib is open, focus on the first element inside of bib.<br />If not, trigger element will get focus. |
|
|
53
42
|
| [hide](#hide) | `(): void` | Public method to hide the dropdown. |
|
|
54
43
|
| [show](#show) | `(): void` | Public method to show the dropdown. |
|
|
55
44
|
|
|
@@ -57,9 +46,9 @@
|
|
|
57
46
|
|
|
58
47
|
| Event | Type | Description |
|
|
59
48
|
|-----------------------------|--------------------------------------|--------------------------------------------------|
|
|
60
|
-
| `auroDropdown-idAdded` | `Object<key : 'id', value: string>` |
|
|
49
|
+
| `auroDropdown-idAdded` | `Object<key : 'id', value: string>` | |
|
|
61
50
|
| `auroDropdown-toggled` | | Notifies that the visibility of the dropdown bib has changed. |
|
|
62
|
-
| `auroDropdown-triggerClick` |
|
|
51
|
+
| `auroDropdown-triggerClick` | `CustomEvent<any>` | Notifies that the trigger has been clicked. |
|
|
63
52
|
|
|
64
53
|
## Slots
|
|
65
54
|
|
|
@@ -67,24 +56,26 @@
|
|
|
67
56
|
|------------|---------------------------------------|
|
|
68
57
|
| | Default slot for the popover content. |
|
|
69
58
|
| [helpText](#helpText) | Defines the content of the helpText. |
|
|
70
|
-
| [label](#label) | Defines the content of the label. |
|
|
71
59
|
| [trigger](#trigger) | Defines the content of the trigger. |
|
|
72
60
|
|
|
73
61
|
## CSS Shadow Parts
|
|
74
62
|
|
|
75
|
-
| Part | Description
|
|
76
|
-
|
|
77
|
-
| [chevron](#chevron) | The collapsed/expanded state icon container.
|
|
78
|
-
| [helpText](#helpText) | The helpText content container.
|
|
79
|
-
| [popover](#popover) | The bib content container.
|
|
80
|
-
| [
|
|
63
|
+
| Part | Description |
|
|
64
|
+
|------------|--------------------------------------------------|
|
|
65
|
+
| [chevron](#chevron) | The collapsed/expanded state icon container. |
|
|
66
|
+
| [helpText](#helpText) | The helpText content container. |
|
|
67
|
+
| [popover](#popover) | The bib content container. |
|
|
68
|
+
| [size](#size) | The size of the dropdown bib. (height, width, maxHeight, maxWidth only) |
|
|
69
|
+
| [trigger](#trigger) | The trigger content container. |
|
|
81
70
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
82
71
|
|
|
83
72
|
## API Examples
|
|
84
73
|
|
|
85
74
|
### Basic
|
|
86
75
|
|
|
87
|
-
The most basic, simple version of `auro-dropdown`.
|
|
76
|
+
The most basic, simple version of `auro-dropdown`.
|
|
77
|
+
|
|
78
|
+
#### Text content in trigger
|
|
88
79
|
|
|
89
80
|
<div class="exampleWrapper">
|
|
90
81
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
@@ -132,6 +123,9 @@ The most basic, simple version of `auro-dropdown`.
|
|
|
132
123
|
</auro-dropdown>
|
|
133
124
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
134
125
|
</auro-accordion>
|
|
126
|
+
|
|
127
|
+
#### Icon content in trigger
|
|
128
|
+
|
|
135
129
|
<div class="exampleWrapper">
|
|
136
130
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basicIcon.html) -->
|
|
137
131
|
<!-- The below content is automatically added from ./../apiExamples/basicIcon.html -->
|
|
@@ -168,9 +162,7 @@ The most basic, simple version of `auro-dropdown`.
|
|
|
168
162
|
<auro-dropdown aria-label="custom label">
|
|
169
163
|
Lorem ipsum solar
|
|
170
164
|
<div slot="trigger">
|
|
171
|
-
<auro-button
|
|
172
|
-
slot="trigger"
|
|
173
|
-
fluid>
|
|
165
|
+
<auro-button slot="trigger">
|
|
174
166
|
Dropdown
|
|
175
167
|
</auro-button>
|
|
176
168
|
</div>
|
|
@@ -186,9 +178,7 @@ The most basic, simple version of `auro-dropdown`.
|
|
|
186
178
|
<auro-dropdown aria-label="custom label">
|
|
187
179
|
Lorem ipsum solar
|
|
188
180
|
<div slot="trigger">
|
|
189
|
-
<auro-button
|
|
190
|
-
slot="trigger"
|
|
191
|
-
fluid>
|
|
181
|
+
<auro-button slot="trigger">
|
|
192
182
|
Dropdown
|
|
193
183
|
</auro-button>
|
|
194
184
|
</div>
|
|
@@ -217,7 +207,7 @@ Adds the border style around the dropdown trigger.
|
|
|
217
207
|
<div class="exampleWrapper--ondark" aria-hidden>
|
|
218
208
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkBordered.html) -->
|
|
219
209
|
<!-- The below content is automatically added from ./../apiExamples/onDarkBordered.html -->
|
|
220
|
-
<auro-dropdown onDark aria-label="custom label"
|
|
210
|
+
<auro-dropdown onDark aria-label="custom label" layout="classic" shape="classic" size="lg">
|
|
221
211
|
Lorem ipsum solar
|
|
222
212
|
<div slot="trigger">
|
|
223
213
|
Trigger
|
|
@@ -241,7 +231,7 @@ Adds the border style around the dropdown trigger.
|
|
|
241
231
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
242
232
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkBordered.html) -->
|
|
243
233
|
<!-- The below content is automatically added from ./../apiExamples/onDarkBordered.html -->
|
|
244
|
-
<auro-dropdown onDark aria-label="custom label"
|
|
234
|
+
<auro-dropdown onDark aria-label="custom label" layout="classic" shape="classic" size="lg">
|
|
245
235
|
Lorem ipsum solar
|
|
246
236
|
<div slot="trigger">
|
|
247
237
|
Trigger
|
|
@@ -316,9 +306,7 @@ Adds the bib visibility state chevron to the right side of the trigger content.
|
|
|
316
306
|
<auro-dropdown aria-label="custom label" chevron>
|
|
317
307
|
Lorem ipsum solar
|
|
318
308
|
<div slot="trigger">
|
|
319
|
-
<auro-button
|
|
320
|
-
slot="trigger"
|
|
321
|
-
fluid>
|
|
309
|
+
<auro-button slot="trigger">
|
|
322
310
|
Dropdown
|
|
323
311
|
</auro-button>
|
|
324
312
|
</div>
|
|
@@ -334,9 +322,7 @@ Adds the bib visibility state chevron to the right side of the trigger content.
|
|
|
334
322
|
<auro-dropdown aria-label="custom label" chevron>
|
|
335
323
|
Lorem ipsum solar
|
|
336
324
|
<div slot="trigger">
|
|
337
|
-
<auro-button
|
|
338
|
-
slot="trigger"
|
|
339
|
-
fluid>
|
|
325
|
+
<auro-button slot="trigger">
|
|
340
326
|
Dropdown
|
|
341
327
|
</auro-button>
|
|
342
328
|
</div>
|
|
@@ -412,9 +398,7 @@ Disables the trigger preventing the dropdown bib from being shown.
|
|
|
412
398
|
disabled
|
|
413
399
|
onDark
|
|
414
400
|
chevron
|
|
415
|
-
|
|
416
|
-
inset
|
|
417
|
-
bordered>
|
|
401
|
+
layout="classic" shape="classic" size="lg">
|
|
418
402
|
Lorem ipsum solar
|
|
419
403
|
<div slot="trigger">
|
|
420
404
|
Trigger
|
|
@@ -461,9 +445,7 @@ Disables the trigger preventing the dropdown bib from being shown.
|
|
|
461
445
|
disabled
|
|
462
446
|
onDark
|
|
463
447
|
chevron
|
|
464
|
-
|
|
465
|
-
inset
|
|
466
|
-
bordered>
|
|
448
|
+
layout="classic" shape="classic" size="lg">
|
|
467
449
|
Lorem ipsum solar
|
|
468
450
|
<div slot="trigger">
|
|
469
451
|
Trigger
|
|
@@ -508,7 +490,7 @@ Adds the error state UI to the trigger.
|
|
|
508
490
|
<div class="exampleWrapper--ondark" aria-hidden>
|
|
509
491
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkError.html) -->
|
|
510
492
|
<!-- The below content is automatically added from ./../apiExamples/onDarkError.html -->
|
|
511
|
-
<auro-dropdown onDark
|
|
493
|
+
<auro-dropdown onDark layout="classic" shape="classic" size="lg" error id="commonSlotErrorOnDark">
|
|
512
494
|
<div style="padding: var(--ds-size-150);">
|
|
513
495
|
Lorem ipsum solar
|
|
514
496
|
<br />
|
|
@@ -556,7 +538,7 @@ Adds the error state UI to the trigger.
|
|
|
556
538
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
557
539
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkError.html) -->
|
|
558
540
|
<!-- The below content is automatically added from ./../apiExamples/onDarkError.html -->
|
|
559
|
-
<auro-dropdown onDark
|
|
541
|
+
<auro-dropdown onDark layout="classic" shape="classic" size="lg" error id="commonSlotErrorOnDark">
|
|
560
542
|
<div style="padding: var(--ds-size-150);">
|
|
561
543
|
Lorem ipsum solar
|
|
562
544
|
<br />
|
|
@@ -577,147 +559,6 @@ Adds the error state UI to the trigger.
|
|
|
577
559
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
578
560
|
</auro-accordion>
|
|
579
561
|
|
|
580
|
-
#### fluid
|
|
581
|
-
|
|
582
|
-
The `fluid` property makes the trigger to have the full width.
|
|
583
|
-
|
|
584
|
-
<div class="exampleWrapper">
|
|
585
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/fluid.html) -->
|
|
586
|
-
<!-- The below content is automatically added from ./../apiExamples/fluid.html -->
|
|
587
|
-
<auro-dropdown aria-label="custom label" fluid>
|
|
588
|
-
Lorem ipsum solar
|
|
589
|
-
<div slot="trigger">
|
|
590
|
-
<auro-input
|
|
591
|
-
borderless
|
|
592
|
-
slot="trigger"
|
|
593
|
-
id="inputExampleTrigger">
|
|
594
|
-
</auro-input>
|
|
595
|
-
</div>
|
|
596
|
-
</auro-dropdown>
|
|
597
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
598
|
-
</div>
|
|
599
|
-
<auro-accordion alignRight>
|
|
600
|
-
<span slot="trigger">See code</span>
|
|
601
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/fluid.html) -->
|
|
602
|
-
<!-- The below code snippet is automatically added from ./../apiExamples/fluid.html -->
|
|
603
|
-
|
|
604
|
-
```html
|
|
605
|
-
<auro-dropdown aria-label="custom label" fluid>
|
|
606
|
-
Lorem ipsum solar
|
|
607
|
-
<div slot="trigger">
|
|
608
|
-
<auro-input
|
|
609
|
-
borderless
|
|
610
|
-
slot="trigger"
|
|
611
|
-
id="inputExampleTrigger">
|
|
612
|
-
</auro-input>
|
|
613
|
-
</div>
|
|
614
|
-
</auro-dropdown>
|
|
615
|
-
```
|
|
616
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
617
|
-
</auro-accordion>
|
|
618
|
-
|
|
619
|
-
#### inset
|
|
620
|
-
|
|
621
|
-
The `inset` property applies a predefined amount of CSS `padding` to the `trigger` slot content. Use this property to apply borderless style.
|
|
622
|
-
|
|
623
|
-
<div class="exampleWrapper">
|
|
624
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/inset.html) -->
|
|
625
|
-
<!-- The below content is automatically added from ./../apiExamples/inset.html -->
|
|
626
|
-
<auro-dropdown aria-label="custom label" inset>
|
|
627
|
-
Lorem ipsum solar
|
|
628
|
-
<div slot="trigger">
|
|
629
|
-
Trigger
|
|
630
|
-
</div>
|
|
631
|
-
</auro-dropdown>
|
|
632
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
633
|
-
</div>
|
|
634
|
-
<auro-accordion alignRight>
|
|
635
|
-
<span slot="trigger">See code</span>
|
|
636
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/inset.html) -->
|
|
637
|
-
<!-- The below code snippet is automatically added from ./../apiExamples/inset.html -->
|
|
638
|
-
|
|
639
|
-
```html
|
|
640
|
-
<auro-dropdown aria-label="custom label" inset>
|
|
641
|
-
Lorem ipsum solar
|
|
642
|
-
<div slot="trigger">
|
|
643
|
-
Trigger
|
|
644
|
-
</div>
|
|
645
|
-
</auro-dropdown>
|
|
646
|
-
```
|
|
647
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
648
|
-
</auro-accordion>
|
|
649
|
-
<div class="exampleWrapper">
|
|
650
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/insetBordered.html) -->
|
|
651
|
-
<!-- The below content is automatically added from ./../apiExamples/insetBordered.html -->
|
|
652
|
-
<auro-dropdown
|
|
653
|
-
aria-label="custom label"
|
|
654
|
-
inset
|
|
655
|
-
rounded
|
|
656
|
-
bordered>
|
|
657
|
-
Lorem ipsum solar
|
|
658
|
-
<div slot="trigger">
|
|
659
|
-
Trigger
|
|
660
|
-
</div>
|
|
661
|
-
</auro-dropdown>
|
|
662
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
663
|
-
</div>
|
|
664
|
-
<auro-accordion alignRight>
|
|
665
|
-
<span slot="trigger">See code</span>
|
|
666
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/insetBordered.html) -->
|
|
667
|
-
<!-- The below code snippet is automatically added from ./../apiExamples/insetBordered.html -->
|
|
668
|
-
|
|
669
|
-
```html
|
|
670
|
-
<auro-dropdown
|
|
671
|
-
aria-label="custom label"
|
|
672
|
-
inset
|
|
673
|
-
rounded
|
|
674
|
-
bordered>
|
|
675
|
-
Lorem ipsum solar
|
|
676
|
-
<div slot="trigger">
|
|
677
|
-
Trigger
|
|
678
|
-
</div>
|
|
679
|
-
</auro-dropdown>
|
|
680
|
-
```
|
|
681
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
682
|
-
</auro-accordion>
|
|
683
|
-
|
|
684
|
-
#### rounded
|
|
685
|
-
|
|
686
|
-
The `rounded` property applies `border-radius` CSS to the trigger and default slot content.
|
|
687
|
-
|
|
688
|
-
<div class="exampleWrapper">
|
|
689
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/rounded.html) -->
|
|
690
|
-
<!-- The below content is automatically added from ./../apiExamples/rounded.html -->
|
|
691
|
-
<auro-dropdown
|
|
692
|
-
aria-label="custom label"
|
|
693
|
-
rounded
|
|
694
|
-
bordered>
|
|
695
|
-
Lorem ipsum solar
|
|
696
|
-
<div slot="trigger">
|
|
697
|
-
Trigger
|
|
698
|
-
</div>
|
|
699
|
-
</auro-dropdown>
|
|
700
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
701
|
-
</div>
|
|
702
|
-
<auro-accordion alignRight>
|
|
703
|
-
<span slot="trigger">See code</span>
|
|
704
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/rounded.html) -->
|
|
705
|
-
<!-- The below code snippet is automatically added from ./../apiExamples/rounded.html -->
|
|
706
|
-
|
|
707
|
-
```html
|
|
708
|
-
<auro-dropdown
|
|
709
|
-
aria-label="custom label"
|
|
710
|
-
rounded
|
|
711
|
-
bordered>
|
|
712
|
-
Lorem ipsum solar
|
|
713
|
-
<div slot="trigger">
|
|
714
|
-
Trigger
|
|
715
|
-
</div>
|
|
716
|
-
</auro-dropdown>
|
|
717
|
-
```
|
|
718
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
719
|
-
</auro-accordion>
|
|
720
|
-
|
|
721
562
|
#### noToggle
|
|
722
563
|
|
|
723
564
|
In cases where it is desired behavior for `auro-dropdown` to only show, not toggle, the bib content when activating the trigger the `noToggle` attribute must be applied.
|
|
@@ -763,7 +604,7 @@ On mobile view, adding the `fullscreenBreakpoint="{breakpoint-token}"` will swit
|
|
|
763
604
|
}
|
|
764
605
|
</style>
|
|
765
606
|
<div style="width: 300px;" aria-label="custom label">
|
|
766
|
-
<auro-dropdown id="customDropdown300"
|
|
607
|
+
<auro-dropdown id="customDropdown300" layout="classic" shape="classic" size="lg" chevron fullscreenBreakpoint="sm">
|
|
767
608
|
<div>
|
|
768
609
|
<p>
|
|
769
610
|
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.
|
|
@@ -795,7 +636,7 @@ On mobile view, adding the `fullscreenBreakpoint="{breakpoint-token}"` will swit
|
|
|
795
636
|
}
|
|
796
637
|
</style>
|
|
797
638
|
<div style="width: 300px;" aria-label="custom label">
|
|
798
|
-
<auro-dropdown id="customDropdown300"
|
|
639
|
+
<auro-dropdown id="customDropdown300" layout="classic" shape="classic" size="lg" chevron fullscreenBreakpoint="sm">
|
|
799
640
|
<div>
|
|
800
641
|
<p>
|
|
801
642
|
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.
|
|
@@ -834,7 +675,7 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
|
|
|
834
675
|
}
|
|
835
676
|
</style>
|
|
836
677
|
<div aria-label="custom label">
|
|
837
|
-
<auro-dropdown class="floaterConfigDropdown"
|
|
678
|
+
<auro-dropdown class="floaterConfigDropdown" layout="classic" shape="classic" size="lg" chevron placement="bottom-end" offset="20" noFlip>
|
|
838
679
|
<div>
|
|
839
680
|
<p>
|
|
840
681
|
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.
|
|
@@ -847,12 +688,13 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
|
|
|
847
688
|
</p>
|
|
848
689
|
</div>
|
|
849
690
|
<div slot="trigger">
|
|
850
|
-
Trigger
|
|
691
|
+
Trigger
|
|
851
692
|
</div>
|
|
693
|
+
<span slot="helpText">Trigger for bottom-end bib with 20px offset and noFlip</span>
|
|
852
694
|
</auro-dropdown>
|
|
853
695
|
</div>
|
|
854
696
|
<div aria-label="custom label">
|
|
855
|
-
<auro-dropdown class="floaterConfigDropdown"
|
|
697
|
+
<auro-dropdown class="floaterConfigDropdown" layout="classic" shape="classic" size="lg" chevron placement="bottom-end" offset="20">
|
|
856
698
|
<div>
|
|
857
699
|
<p>
|
|
858
700
|
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.
|
|
@@ -865,12 +707,15 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
|
|
|
865
707
|
</p>
|
|
866
708
|
</div>
|
|
867
709
|
<div slot="trigger">
|
|
710
|
+
Trigger
|
|
711
|
+
</div>
|
|
712
|
+
<div slot="helpText">
|
|
868
713
|
Trigger for bottom-end bib with 20px offset and flip
|
|
869
714
|
</div>
|
|
870
715
|
</auro-dropdown>
|
|
871
716
|
</div>
|
|
872
717
|
<div aria-label="custom label">
|
|
873
|
-
<auro-dropdown class="floaterConfigDropdown"
|
|
718
|
+
<auro-dropdown class="floaterConfigDropdown" layout="classic" shape="classic" size="lg" chevron autoPlacement noFlip placement="right" offset="20">
|
|
874
719
|
<div>
|
|
875
720
|
<p>
|
|
876
721
|
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.
|
|
@@ -883,6 +728,9 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
|
|
|
883
728
|
</p>
|
|
884
729
|
</div>
|
|
885
730
|
<div slot="trigger">
|
|
731
|
+
Trigger
|
|
732
|
+
</div>
|
|
733
|
+
<div slot="helpText">
|
|
886
734
|
Trigger for right bib with 20px offset, autoPlacement and noFlip
|
|
887
735
|
</div>
|
|
888
736
|
</auro-dropdown>
|
|
@@ -902,7 +750,7 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
|
|
|
902
750
|
}
|
|
903
751
|
</style>
|
|
904
752
|
<div aria-label="custom label">
|
|
905
|
-
<auro-dropdown class="floaterConfigDropdown"
|
|
753
|
+
<auro-dropdown class="floaterConfigDropdown" layout="classic" shape="classic" size="lg" chevron placement="bottom-end" offset="20" noFlip>
|
|
906
754
|
<div>
|
|
907
755
|
<p>
|
|
908
756
|
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.
|
|
@@ -915,12 +763,13 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
|
|
|
915
763
|
</p>
|
|
916
764
|
</div>
|
|
917
765
|
<div slot="trigger">
|
|
918
|
-
Trigger
|
|
766
|
+
Trigger
|
|
919
767
|
</div>
|
|
768
|
+
<span slot="helpText">Trigger for bottom-end bib with 20px offset and noFlip</span>
|
|
920
769
|
</auro-dropdown>
|
|
921
770
|
</div>
|
|
922
771
|
<div aria-label="custom label">
|
|
923
|
-
<auro-dropdown class="floaterConfigDropdown"
|
|
772
|
+
<auro-dropdown class="floaterConfigDropdown" layout="classic" shape="classic" size="lg" chevron placement="bottom-end" offset="20">
|
|
924
773
|
<div>
|
|
925
774
|
<p>
|
|
926
775
|
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.
|
|
@@ -933,12 +782,15 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
|
|
|
933
782
|
</p>
|
|
934
783
|
</div>
|
|
935
784
|
<div slot="trigger">
|
|
785
|
+
Trigger
|
|
786
|
+
</div>
|
|
787
|
+
<div slot="helpText">
|
|
936
788
|
Trigger for bottom-end bib with 20px offset and flip
|
|
937
789
|
</div>
|
|
938
790
|
</auro-dropdown>
|
|
939
791
|
</div>
|
|
940
792
|
<div aria-label="custom label">
|
|
941
|
-
<auro-dropdown class="floaterConfigDropdown"
|
|
793
|
+
<auro-dropdown class="floaterConfigDropdown" layout="classic" shape="classic" size="lg" chevron autoPlacement noFlip placement="right" offset="20">
|
|
942
794
|
<div>
|
|
943
795
|
<p>
|
|
944
796
|
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.
|
|
@@ -951,6 +803,9 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
|
|
|
951
803
|
</p>
|
|
952
804
|
</div>
|
|
953
805
|
<div slot="trigger">
|
|
806
|
+
Trigger
|
|
807
|
+
</div>
|
|
808
|
+
<div slot="helpText">
|
|
954
809
|
Trigger for right bib with 20px offset, autoPlacement and noFlip
|
|
955
810
|
</div>
|
|
956
811
|
</auro-dropdown>
|
|
@@ -1020,7 +875,7 @@ Content defined in the `label` slot will be rendered left aligned inside the tri
|
|
|
1020
875
|
|
|
1021
876
|
#### helpText
|
|
1022
877
|
|
|
1023
|
-
Content defined in the `helpText` slot will be rendered left aligned below the trigger.
|
|
878
|
+
Content defined in the `helpText` slot will be rendered left aligned below the trigger. This slot requires the `auro-helptext` component be used as slot content for the helptext to render with the same styles as other form elements.
|
|
1024
879
|
|
|
1025
880
|
<div class="exampleWrapper">
|
|
1026
881
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/helpText.html) -->
|
|
@@ -1122,7 +977,7 @@ The `show` method may also be called from anywhere in your code by executing `do
|
|
|
1122
977
|
<auro-input id="showExampleTriggerInput" required>
|
|
1123
978
|
<span slot="label">Enter a value to show the dropdown</span>
|
|
1124
979
|
</auro-input>
|
|
1125
|
-
<auro-dropdown id="showMethodExample" aria-label="custom label"
|
|
980
|
+
<auro-dropdown id="showMethodExample" aria-label="custom label" layout="classic" shape="classic" size="lg">
|
|
1126
981
|
<p>
|
|
1127
982
|
Lorem ipsum solar
|
|
1128
983
|
</p>
|
|
@@ -1139,7 +994,7 @@ The `show` method may also be called from anywhere in your code by executing `do
|
|
|
1139
994
|
<auro-input id="showExampleTriggerInput" required>
|
|
1140
995
|
<span slot="label">Enter a value to show the dropdown</span>
|
|
1141
996
|
</auro-input>
|
|
1142
|
-
<auro-dropdown id="showMethodExample" aria-label="custom label"
|
|
997
|
+
<auro-dropdown id="showMethodExample" aria-label="custom label" layout="classic" shape="classic" size="lg">
|
|
1143
998
|
<p>
|
|
1144
999
|
Lorem ipsum solar
|
|
1145
1000
|
</p>
|
|
@@ -1174,7 +1029,7 @@ This example demonstrations collapsing the dropdown by clicking a button within
|
|
|
1174
1029
|
<div class="exampleWrapper">
|
|
1175
1030
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/programmaticallyHide.html) -->
|
|
1176
1031
|
<!-- The below content is automatically added from ./../apiExamples/programmaticallyHide.html -->
|
|
1177
|
-
<auro-dropdown id="hideExample" aria-label="custom label"
|
|
1032
|
+
<auro-dropdown id="hideExample" aria-label="custom label" layout="classic" shape="classic" size="lg">
|
|
1178
1033
|
<p>
|
|
1179
1034
|
Lorem ipsum solar
|
|
1180
1035
|
</p>
|
|
@@ -1194,7 +1049,7 @@ This example demonstrations collapsing the dropdown by clicking a button within
|
|
|
1194
1049
|
<!-- The below code snippet is automatically added from ./../apiExamples/programmaticallyHide.html -->
|
|
1195
1050
|
|
|
1196
1051
|
```html
|
|
1197
|
-
<auro-dropdown id="hideExample" aria-label="custom label"
|
|
1052
|
+
<auro-dropdown id="hideExample" aria-label="custom label" layout="classic" shape="classic" size="lg">
|
|
1198
1053
|
<p>
|
|
1199
1054
|
Lorem ipsum solar
|
|
1200
1055
|
</p>
|
|
@@ -1235,7 +1090,7 @@ This example demonstrations collapsing the dropdown by clicking a button within
|
|
|
1235
1090
|
}
|
|
1236
1091
|
</style>
|
|
1237
1092
|
<div style="width: 100px;" aria-label="custom label">
|
|
1238
|
-
<auro-dropdown id="customDropdown100"
|
|
1093
|
+
<auro-dropdown id="customDropdown100" layout="classic" shape="classic" size="lg" chevron>
|
|
1239
1094
|
<div>
|
|
1240
1095
|
<p>
|
|
1241
1096
|
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.
|
|
@@ -1267,7 +1122,7 @@ This example demonstrations collapsing the dropdown by clicking a button within
|
|
|
1267
1122
|
}
|
|
1268
1123
|
</style>
|
|
1269
1124
|
<div style="width: 100px;" aria-label="custom label">
|
|
1270
|
-
<auro-dropdown id="customDropdown100"
|
|
1125
|
+
<auro-dropdown id="customDropdown100" layout="classic" shape="classic" size="lg" chevron>
|
|
1271
1126
|
<div>
|
|
1272
1127
|
<p>
|
|
1273
1128
|
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.
|
|
@@ -1288,52 +1143,7 @@ This example demonstrations collapsing the dropdown by clicking a button within
|
|
|
1288
1143
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
1289
1144
|
</auro-accordion>
|
|
1290
1145
|
|
|
1291
|
-
####
|
|
1292
|
-
|
|
1293
|
-
`auro-dropdown` trigger component will be truncated if the text is too long than its container width.
|
|
1294
|
-
|
|
1295
|
-
<div class="exampleWrapper">
|
|
1296
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/truncatedText.html) -->
|
|
1297
|
-
<!-- The below content is automatically added from ./../apiExamples/truncatedText.html -->
|
|
1298
|
-
<div style="width: 250px;">
|
|
1299
|
-
<auro-dropdown common aria-label="Label content for screen reader">
|
|
1300
|
-
<div style="padding: var(--ds-size-150); width: 500px;">
|
|
1301
|
-
I really prefer Alaska Airlines for my vacation travels
|
|
1302
|
-
</div>
|
|
1303
|
-
<span slot="helpText">
|
|
1304
|
-
Help text
|
|
1305
|
-
</span>
|
|
1306
|
-
<div slot="trigger">
|
|
1307
|
-
I really prefer Alaska Airlines for my vacation travels
|
|
1308
|
-
</div>
|
|
1309
|
-
</auro-dropdown>
|
|
1310
|
-
</div>
|
|
1311
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
1312
|
-
</div>
|
|
1313
|
-
<auro-accordion alignRight>
|
|
1314
|
-
<span slot="trigger">See code</span>
|
|
1315
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/truncatedText.html) -->
|
|
1316
|
-
<!-- The below code snippet is automatically added from ./../apiExamples/truncatedText.html -->
|
|
1317
|
-
|
|
1318
|
-
```html
|
|
1319
|
-
<div style="width: 250px;">
|
|
1320
|
-
<auro-dropdown common aria-label="Label content for screen reader">
|
|
1321
|
-
<div style="padding: var(--ds-size-150); width: 500px;">
|
|
1322
|
-
I really prefer Alaska Airlines for my vacation travels
|
|
1323
|
-
</div>
|
|
1324
|
-
<span slot="helpText">
|
|
1325
|
-
Help text
|
|
1326
|
-
</span>
|
|
1327
|
-
<div slot="trigger">
|
|
1328
|
-
I really prefer Alaska Airlines for my vacation travels
|
|
1329
|
-
</div>
|
|
1330
|
-
</auro-dropdown>
|
|
1331
|
-
</div>
|
|
1332
|
-
```
|
|
1333
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
1334
|
-
</auro-accordion>
|
|
1335
|
-
|
|
1336
|
-
#### in Dialog
|
|
1146
|
+
#### In Auro Dialog
|
|
1337
1147
|
|
|
1338
1148
|
The component can be in a dialog.
|
|
1339
1149
|
|
|
@@ -1424,17 +1234,16 @@ The component may be restyled using the following code sample and changing the v
|
|
|
1424
1234
|
<!-- The below code snippet is automatically added from ./../src/styles/tokens.scss -->
|
|
1425
1235
|
|
|
1426
1236
|
```scss
|
|
1427
|
-
@use "@aurodesignsystem/design-tokens/dist/alaska/SCSSVariables--alaska" as v;
|
|
1428
|
-
@use "@aurodesignsystem/design-tokens/dist/auro-classic/SCSSVariables" as vac;
|
|
1237
|
+
@use "@aurodesignsystem/design-tokens/dist/themes/alaska/SCSSVariables--alaska" as v;
|
|
1238
|
+
@use "@aurodesignsystem/design-tokens/dist/legacy/auro-classic/SCSSVariables" as vac;
|
|
1429
1239
|
|
|
1430
1240
|
:host(:not([ondark])) {
|
|
1431
1241
|
--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-muted, #{v.$ds-basic-color-texticon-muted});
|
|
1432
1242
|
--ds-auro-dropdown-trigger-background-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
1433
1243
|
--ds-auro-dropdown-trigger-container-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
1434
|
-
--ds-auro-dropdown-trigger-border-color:
|
|
1244
|
+
--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-bold, #{v.$ds-basic-color-border-bold});
|
|
1435
1245
|
--ds-auro-dropdown-trigger-outline-color: transparent;
|
|
1436
1246
|
--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-default, #{v.$ds-basic-color-texticon-default});
|
|
1437
|
-
--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-default, #{v.$ds-basic-color-texticon-default});
|
|
1438
1247
|
--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, #{vac.$ds-elevation-200});
|
|
1439
1248
|
--ds-auro-dropdownbib-background-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
1440
1249
|
--ds-auro-dropdownbib-container-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
@@ -1445,10 +1254,9 @@ The component may be restyled using the following code sample and changing the v
|
|
|
1445
1254
|
--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-inverse-muted, #{v.$ds-basic-color-texticon-inverse-muted});
|
|
1446
1255
|
--ds-auro-dropdown-trigger-background-color: var(--ds-advanced-color-shared-background-inverse, #{v.$ds-advanced-color-shared-background-inverse});
|
|
1447
1256
|
--ds-auro-dropdown-trigger-container-color: var(--ds-advanced-color-shared-background-inverse, #{v.$ds-advanced-color-shared-background-inverse});
|
|
1448
|
-
--ds-auro-dropdown-trigger-border-color:
|
|
1257
|
+
--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-inverse, #{v.$ds-basic-color-border-inverse});
|
|
1449
1258
|
--ds-auro-dropdown-trigger-outline-color: transparent;
|
|
1450
1259
|
--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-inverse, #{v.$ds-basic-color-texticon-inverse});
|
|
1451
|
-
--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-inverse, #{v.$ds-basic-color-texticon-inverse});
|
|
1452
1260
|
--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, #{vac.$ds-elevation-200});
|
|
1453
1261
|
--ds-auro-dropdownbib-background-color: var(--ds-advanced-color-shared-background-inverse, #{v.$ds-advanced-color-shared-background-inverse});
|
|
1454
1262
|
--ds-auro-dropdownbib-container-color: var(--ds-advanced-color-shared-background-inverse, #{v.$ds-advanced-color-shared-background-inverse});
|