@aurodesignsystem-dev/auro-formkit 0.0.0-pr624.8 → 0.0.0-pr624.80
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/iconVersion.d.ts +1 -1
- package/components/bibtemplate/dist/index.js +1262 -81
- package/components/bibtemplate/dist/registered.js +1262 -81
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/api.html +16 -10
- package/components/checkbox/demo/api.md +49 -15
- package/components/checkbox/demo/api.min.js +73 -43
- package/components/checkbox/demo/index.html +16 -10
- package/components/checkbox/demo/index.md +2 -2
- package/components/checkbox/demo/index.min.js +73 -43
- 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 +3 -3
- package/components/checkbox/dist/index.js +72 -42
- package/components/checkbox/dist/registered.js +72 -42
- package/components/combobox/demo/api.html +16 -10
- package/components/combobox/demo/api.md +115 -8
- package/components/combobox/demo/api.min.js +3102 -921
- package/components/combobox/demo/index.html +16 -10
- package/components/combobox/demo/index.md +6 -30
- package/components/combobox/demo/index.min.js +3102 -921
- package/components/combobox/demo/readme.html +16 -9
- package/components/combobox/dist/auro-combobox.d.ts +44 -12
- package/components/combobox/dist/index.js +3080 -995
- package/components/combobox/dist/registered.js +3080 -995
- package/components/counter/demo/api.html +17 -10
- package/components/counter/demo/api.md +158 -21
- package/components/counter/demo/api.min.js +3416 -728
- package/components/counter/demo/index.html +17 -10
- package/components/counter/demo/index.md +185 -34
- package/components/counter/demo/index.min.js +3416 -728
- 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 +161 -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 +3416 -728
- package/components/counter/dist/registered.js +3416 -728
- package/components/datepicker/README.md +1 -1
- package/components/datepicker/demo/api.html +16 -10
- package/components/datepicker/demo/api.md +59 -28
- package/components/datepicker/demo/api.min.js +8486 -4644
- package/components/datepicker/demo/index.html +16 -10
- package/components/datepicker/demo/index.md +75 -8
- package/components/datepicker/demo/index.min.js +8486 -4644
- package/components/datepicker/demo/readme.html +16 -9
- package/components/datepicker/demo/readme.md +1 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +151 -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 +7033 -3191
- package/components/datepicker/dist/popoverVersion.d.ts +1 -1
- package/components/datepicker/dist/registered.js +7033 -3191
- package/components/dropdown/demo/api.html +16 -10
- package/components/dropdown/demo/api.md +82 -275
- package/components/dropdown/demo/api.min.js +451 -260
- package/components/dropdown/demo/index.html +16 -10
- package/components/dropdown/demo/index.md +92 -362
- package/components/dropdown/demo/index.min.js +451 -260
- package/components/dropdown/demo/readme.html +16 -9
- package/components/dropdown/dist/auro-dropdown.d.ts +43 -83
- package/components/dropdown/dist/auro-dropdownBib.d.ts +14 -0
- package/components/dropdown/dist/index.js +450 -259
- package/components/dropdown/dist/registered.js +450 -259
- package/components/form/demo/api.html +16 -9
- package/components/form/demo/api.min.js +2 -2
- package/components/form/demo/autocomplete.html +19 -3
- package/components/form/demo/index.html +16 -9
- package/components/form/demo/index.min.js +2 -2
- package/components/form/demo/readme.html +16 -9
- package/components/form/demo/working.html +19 -13
- package/components/form/dist/index.js +1 -1
- package/components/form/dist/registered.js +1 -1
- package/components/helptext/dist/index.js +2 -2
- package/components/helptext/dist/registered.js +2 -2
- package/components/input/README.md +5 -2
- package/components/input/demo/api.html +16 -10
- package/components/input/demo/api.md +228 -130
- package/components/input/demo/api.min.js +909 -247
- package/components/input/demo/index.html +16 -10
- package/components/input/demo/index.md +48 -32
- package/components/input/demo/index.min.js +909 -247
- package/components/input/demo/readme.html +16 -9
- package/components/input/demo/readme.md +5 -2
- package/components/input/dist/auro-input.d.ts +3 -3
- package/components/input/dist/base-input.d.ts +38 -10
- package/components/input/dist/buttonVersion.d.ts +1 -1
- package/components/input/dist/iconVersion.d.ts +1 -1
- package/components/input/dist/index.js +908 -246
- package/components/input/dist/registered.js +908 -246
- package/components/layoutElement/dist/index.js +13 -10
- package/components/menu/demo/api.html +32 -10
- package/components/menu/demo/api.md +69 -8
- package/components/menu/demo/api.min.js +239 -48
- package/components/menu/demo/index.html +16 -10
- package/components/menu/demo/index.min.js +239 -48
- package/components/menu/demo/readme.html +16 -9
- package/components/menu/dist/auro-menu.d.ts +41 -7
- package/components/menu/dist/auro-menuoption.d.ts +15 -3
- package/components/menu/dist/iconVersion.d.ts +1 -1
- package/components/menu/dist/index.js +238 -47
- package/components/menu/dist/registered.js +238 -47
- package/components/menu/dist/styles/default/color-menuoption-css.d.ts +2 -0
- package/components/menu/dist/styles/default/style-menu-css.d.ts +2 -0
- package/components/menu/dist/styles/default/style-menuoption-css.d.ts +2 -0
- 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 +39 -9
- package/components/radio/demo/api.min.js +91 -93
- package/components/radio/demo/index.html +16 -10
- package/components/radio/demo/index.min.js +91 -93
- 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 +9 -12
- package/components/radio/dist/index.js +90 -92
- package/components/radio/dist/registered.js +90 -92
- package/components/select/demo/api.html +16 -10
- package/components/select/demo/api.js +0 -2
- package/components/select/demo/api.md +150 -121
- package/components/select/demo/api.min.js +2184 -704
- package/components/select/demo/index.html +17 -11
- package/components/select/demo/index.md +1066 -259
- package/components/select/demo/index.min.js +2186 -694
- package/components/select/demo/readme.html +16 -9
- package/components/select/dist/auro-select.d.ts +59 -21
- package/components/select/dist/index.js +2107 -711
- package/components/select/dist/registered.js +2107 -711
- 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/{dropdown/dist/styles/default → datepicker/dist/styles/classic}/color-css.d.ts +0 -0
- /package/components/datepicker/dist/styles/{emphasized → classic}/style-css.d.ts +0 -0
- /package/components/{dropdown/dist/styles/default/bibColors-css.d.ts → datepicker/dist/styles/snowflake/color-css.d.ts} +0 -0
- /package/components/{dropdown/dist/styles/default → datepicker/dist/styles/snowflake}/style-css.d.ts +0 -0
- /package/components/dropdown/dist/styles/{default/bibStyles-css.d.ts → classic/bibColors-css.d.ts} +0 -0
- /package/components/{menu/dist/styles/color-menu-css.d.ts → dropdown/dist/styles/classic/bibStyles-css.d.ts} +0 -0
- /package/components/{menu/dist/styles/color-menuoption-css.d.ts → dropdown/dist/styles/classic/color-css.d.ts} +0 -0
- /package/components/{menu/dist/styles/style-menu-css.d.ts → dropdown/dist/styles/classic/style-css.d.ts} +0 -0
- /package/components/{menu/dist/styles/style-menuoption-css.d.ts → dropdown/dist/styles/style-css.d.ts} +0 -0
- /package/components/menu/dist/styles/{tokens-css.d.ts → default/color-menu-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,7 +56,6 @@
|
|
|
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
|
|
@@ -84,7 +72,9 @@
|
|
|
84
72
|
|
|
85
73
|
### Basic
|
|
86
74
|
|
|
87
|
-
The most basic, simple version of `auro-dropdown`.
|
|
75
|
+
The most basic, simple version of `auro-dropdown`.
|
|
76
|
+
|
|
77
|
+
#### Text content in trigger
|
|
88
78
|
|
|
89
79
|
<div class="exampleWrapper">
|
|
90
80
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
@@ -132,6 +122,9 @@ The most basic, simple version of `auro-dropdown`.
|
|
|
132
122
|
</auro-dropdown>
|
|
133
123
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
134
124
|
</auro-accordion>
|
|
125
|
+
|
|
126
|
+
#### Icon content in trigger
|
|
127
|
+
|
|
135
128
|
<div class="exampleWrapper">
|
|
136
129
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basicIcon.html) -->
|
|
137
130
|
<!-- The below content is automatically added from ./../apiExamples/basicIcon.html -->
|
|
@@ -168,9 +161,7 @@ The most basic, simple version of `auro-dropdown`.
|
|
|
168
161
|
<auro-dropdown aria-label="custom label">
|
|
169
162
|
Lorem ipsum solar
|
|
170
163
|
<div slot="trigger">
|
|
171
|
-
<auro-button
|
|
172
|
-
slot="trigger"
|
|
173
|
-
fluid>
|
|
164
|
+
<auro-button slot="trigger">
|
|
174
165
|
Dropdown
|
|
175
166
|
</auro-button>
|
|
176
167
|
</div>
|
|
@@ -186,9 +177,7 @@ The most basic, simple version of `auro-dropdown`.
|
|
|
186
177
|
<auro-dropdown aria-label="custom label">
|
|
187
178
|
Lorem ipsum solar
|
|
188
179
|
<div slot="trigger">
|
|
189
|
-
<auro-button
|
|
190
|
-
slot="trigger"
|
|
191
|
-
fluid>
|
|
180
|
+
<auro-button slot="trigger">
|
|
192
181
|
Dropdown
|
|
193
182
|
</auro-button>
|
|
194
183
|
</div>
|
|
@@ -217,7 +206,7 @@ Adds the border style around the dropdown trigger.
|
|
|
217
206
|
<div class="exampleWrapper--ondark" aria-hidden>
|
|
218
207
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkBordered.html) -->
|
|
219
208
|
<!-- The below content is automatically added from ./../apiExamples/onDarkBordered.html -->
|
|
220
|
-
<auro-dropdown onDark aria-label="custom label"
|
|
209
|
+
<auro-dropdown onDark aria-label="custom label" layout="classic" shape="classic" size="lg">
|
|
221
210
|
Lorem ipsum solar
|
|
222
211
|
<div slot="trigger">
|
|
223
212
|
Trigger
|
|
@@ -241,7 +230,7 @@ Adds the border style around the dropdown trigger.
|
|
|
241
230
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
242
231
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkBordered.html) -->
|
|
243
232
|
<!-- The below content is automatically added from ./../apiExamples/onDarkBordered.html -->
|
|
244
|
-
<auro-dropdown onDark aria-label="custom label"
|
|
233
|
+
<auro-dropdown onDark aria-label="custom label" layout="classic" shape="classic" size="lg">
|
|
245
234
|
Lorem ipsum solar
|
|
246
235
|
<div slot="trigger">
|
|
247
236
|
Trigger
|
|
@@ -316,9 +305,7 @@ Adds the bib visibility state chevron to the right side of the trigger content.
|
|
|
316
305
|
<auro-dropdown aria-label="custom label" chevron>
|
|
317
306
|
Lorem ipsum solar
|
|
318
307
|
<div slot="trigger">
|
|
319
|
-
<auro-button
|
|
320
|
-
slot="trigger"
|
|
321
|
-
fluid>
|
|
308
|
+
<auro-button slot="trigger">
|
|
322
309
|
Dropdown
|
|
323
310
|
</auro-button>
|
|
324
311
|
</div>
|
|
@@ -334,9 +321,7 @@ Adds the bib visibility state chevron to the right side of the trigger content.
|
|
|
334
321
|
<auro-dropdown aria-label="custom label" chevron>
|
|
335
322
|
Lorem ipsum solar
|
|
336
323
|
<div slot="trigger">
|
|
337
|
-
<auro-button
|
|
338
|
-
slot="trigger"
|
|
339
|
-
fluid>
|
|
324
|
+
<auro-button slot="trigger">
|
|
340
325
|
Dropdown
|
|
341
326
|
</auro-button>
|
|
342
327
|
</div>
|
|
@@ -412,9 +397,7 @@ Disables the trigger preventing the dropdown bib from being shown.
|
|
|
412
397
|
disabled
|
|
413
398
|
onDark
|
|
414
399
|
chevron
|
|
415
|
-
|
|
416
|
-
inset
|
|
417
|
-
bordered>
|
|
400
|
+
layout="classic" shape="classic" size="lg">
|
|
418
401
|
Lorem ipsum solar
|
|
419
402
|
<div slot="trigger">
|
|
420
403
|
Trigger
|
|
@@ -461,9 +444,7 @@ Disables the trigger preventing the dropdown bib from being shown.
|
|
|
461
444
|
disabled
|
|
462
445
|
onDark
|
|
463
446
|
chevron
|
|
464
|
-
|
|
465
|
-
inset
|
|
466
|
-
bordered>
|
|
447
|
+
layout="classic" shape="classic" size="lg">
|
|
467
448
|
Lorem ipsum solar
|
|
468
449
|
<div slot="trigger">
|
|
469
450
|
Trigger
|
|
@@ -508,7 +489,7 @@ Adds the error state UI to the trigger.
|
|
|
508
489
|
<div class="exampleWrapper--ondark" aria-hidden>
|
|
509
490
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkError.html) -->
|
|
510
491
|
<!-- The below content is automatically added from ./../apiExamples/onDarkError.html -->
|
|
511
|
-
<auro-dropdown onDark
|
|
492
|
+
<auro-dropdown onDark layout="classic" shape="classic" size="lg" error id="commonSlotErrorOnDark">
|
|
512
493
|
<div style="padding: var(--ds-size-150);">
|
|
513
494
|
Lorem ipsum solar
|
|
514
495
|
<br />
|
|
@@ -556,7 +537,7 @@ Adds the error state UI to the trigger.
|
|
|
556
537
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
557
538
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkError.html) -->
|
|
558
539
|
<!-- The below content is automatically added from ./../apiExamples/onDarkError.html -->
|
|
559
|
-
<auro-dropdown onDark
|
|
540
|
+
<auro-dropdown onDark layout="classic" shape="classic" size="lg" error id="commonSlotErrorOnDark">
|
|
560
541
|
<div style="padding: var(--ds-size-150);">
|
|
561
542
|
Lorem ipsum solar
|
|
562
543
|
<br />
|
|
@@ -577,147 +558,6 @@ Adds the error state UI to the trigger.
|
|
|
577
558
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
578
559
|
</auro-accordion>
|
|
579
560
|
|
|
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
561
|
#### noToggle
|
|
722
562
|
|
|
723
563
|
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 +603,7 @@ On mobile view, adding the `fullscreenBreakpoint="{breakpoint-token}"` will swit
|
|
|
763
603
|
}
|
|
764
604
|
</style>
|
|
765
605
|
<div style="width: 300px;" aria-label="custom label">
|
|
766
|
-
<auro-dropdown id="customDropdown300"
|
|
606
|
+
<auro-dropdown id="customDropdown300" layout="classic" shape="classic" size="lg" chevron fullscreenBreakpoint="sm">
|
|
767
607
|
<div>
|
|
768
608
|
<p>
|
|
769
609
|
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 +635,7 @@ On mobile view, adding the `fullscreenBreakpoint="{breakpoint-token}"` will swit
|
|
|
795
635
|
}
|
|
796
636
|
</style>
|
|
797
637
|
<div style="width: 300px;" aria-label="custom label">
|
|
798
|
-
<auro-dropdown id="customDropdown300"
|
|
638
|
+
<auro-dropdown id="customDropdown300" layout="classic" shape="classic" size="lg" chevron fullscreenBreakpoint="sm">
|
|
799
639
|
<div>
|
|
800
640
|
<p>
|
|
801
641
|
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 +674,7 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
|
|
|
834
674
|
}
|
|
835
675
|
</style>
|
|
836
676
|
<div aria-label="custom label">
|
|
837
|
-
<auro-dropdown class="floaterConfigDropdown"
|
|
677
|
+
<auro-dropdown class="floaterConfigDropdown" layout="classic" shape="classic" size="lg" chevron placement="bottom-end" offset="20" noFlip>
|
|
838
678
|
<div>
|
|
839
679
|
<p>
|
|
840
680
|
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 +687,13 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
|
|
|
847
687
|
</p>
|
|
848
688
|
</div>
|
|
849
689
|
<div slot="trigger">
|
|
850
|
-
Trigger
|
|
690
|
+
Trigger
|
|
851
691
|
</div>
|
|
692
|
+
<span slot="helpText">Trigger for bottom-end bib with 20px offset and noFlip</span>
|
|
852
693
|
</auro-dropdown>
|
|
853
694
|
</div>
|
|
854
695
|
<div aria-label="custom label">
|
|
855
|
-
<auro-dropdown class="floaterConfigDropdown"
|
|
696
|
+
<auro-dropdown class="floaterConfigDropdown" layout="classic" shape="classic" size="lg" chevron placement="bottom-end" offset="20">
|
|
856
697
|
<div>
|
|
857
698
|
<p>
|
|
858
699
|
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 +706,15 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
|
|
|
865
706
|
</p>
|
|
866
707
|
</div>
|
|
867
708
|
<div slot="trigger">
|
|
709
|
+
Trigger
|
|
710
|
+
</div>
|
|
711
|
+
<div slot="helpText">
|
|
868
712
|
Trigger for bottom-end bib with 20px offset and flip
|
|
869
713
|
</div>
|
|
870
714
|
</auro-dropdown>
|
|
871
715
|
</div>
|
|
872
716
|
<div aria-label="custom label">
|
|
873
|
-
<auro-dropdown class="floaterConfigDropdown"
|
|
717
|
+
<auro-dropdown class="floaterConfigDropdown" layout="classic" shape="classic" size="lg" chevron autoPlacement noFlip placement="right" offset="20">
|
|
874
718
|
<div>
|
|
875
719
|
<p>
|
|
876
720
|
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 +727,9 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
|
|
|
883
727
|
</p>
|
|
884
728
|
</div>
|
|
885
729
|
<div slot="trigger">
|
|
730
|
+
Trigger
|
|
731
|
+
</div>
|
|
732
|
+
<div slot="helpText">
|
|
886
733
|
Trigger for right bib with 20px offset, autoPlacement and noFlip
|
|
887
734
|
</div>
|
|
888
735
|
</auro-dropdown>
|
|
@@ -902,7 +749,7 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
|
|
|
902
749
|
}
|
|
903
750
|
</style>
|
|
904
751
|
<div aria-label="custom label">
|
|
905
|
-
<auro-dropdown class="floaterConfigDropdown"
|
|
752
|
+
<auro-dropdown class="floaterConfigDropdown" layout="classic" shape="classic" size="lg" chevron placement="bottom-end" offset="20" noFlip>
|
|
906
753
|
<div>
|
|
907
754
|
<p>
|
|
908
755
|
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 +762,13 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
|
|
|
915
762
|
</p>
|
|
916
763
|
</div>
|
|
917
764
|
<div slot="trigger">
|
|
918
|
-
Trigger
|
|
765
|
+
Trigger
|
|
919
766
|
</div>
|
|
767
|
+
<span slot="helpText">Trigger for bottom-end bib with 20px offset and noFlip</span>
|
|
920
768
|
</auro-dropdown>
|
|
921
769
|
</div>
|
|
922
770
|
<div aria-label="custom label">
|
|
923
|
-
<auro-dropdown class="floaterConfigDropdown"
|
|
771
|
+
<auro-dropdown class="floaterConfigDropdown" layout="classic" shape="classic" size="lg" chevron placement="bottom-end" offset="20">
|
|
924
772
|
<div>
|
|
925
773
|
<p>
|
|
926
774
|
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 +781,15 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
|
|
|
933
781
|
</p>
|
|
934
782
|
</div>
|
|
935
783
|
<div slot="trigger">
|
|
784
|
+
Trigger
|
|
785
|
+
</div>
|
|
786
|
+
<div slot="helpText">
|
|
936
787
|
Trigger for bottom-end bib with 20px offset and flip
|
|
937
788
|
</div>
|
|
938
789
|
</auro-dropdown>
|
|
939
790
|
</div>
|
|
940
791
|
<div aria-label="custom label">
|
|
941
|
-
<auro-dropdown class="floaterConfigDropdown"
|
|
792
|
+
<auro-dropdown class="floaterConfigDropdown" layout="classic" shape="classic" size="lg" chevron autoPlacement noFlip placement="right" offset="20">
|
|
942
793
|
<div>
|
|
943
794
|
<p>
|
|
944
795
|
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 +802,9 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
|
|
|
951
802
|
</p>
|
|
952
803
|
</div>
|
|
953
804
|
<div slot="trigger">
|
|
805
|
+
Trigger
|
|
806
|
+
</div>
|
|
807
|
+
<div slot="helpText">
|
|
954
808
|
Trigger for right bib with 20px offset, autoPlacement and noFlip
|
|
955
809
|
</div>
|
|
956
810
|
</auro-dropdown>
|
|
@@ -1020,7 +874,7 @@ Content defined in the `label` slot will be rendered left aligned inside the tri
|
|
|
1020
874
|
|
|
1021
875
|
#### helpText
|
|
1022
876
|
|
|
1023
|
-
Content defined in the `helpText` slot will be rendered left aligned below the trigger.
|
|
877
|
+
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
878
|
|
|
1025
879
|
<div class="exampleWrapper">
|
|
1026
880
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/helpText.html) -->
|
|
@@ -1122,7 +976,7 @@ The `show` method may also be called from anywhere in your code by executing `do
|
|
|
1122
976
|
<auro-input id="showExampleTriggerInput" required>
|
|
1123
977
|
<span slot="label">Enter a value to show the dropdown</span>
|
|
1124
978
|
</auro-input>
|
|
1125
|
-
<auro-dropdown id="showMethodExample" aria-label="custom label"
|
|
979
|
+
<auro-dropdown id="showMethodExample" aria-label="custom label" layout="classic" shape="classic" size="lg">
|
|
1126
980
|
<p>
|
|
1127
981
|
Lorem ipsum solar
|
|
1128
982
|
</p>
|
|
@@ -1139,7 +993,7 @@ The `show` method may also be called from anywhere in your code by executing `do
|
|
|
1139
993
|
<auro-input id="showExampleTriggerInput" required>
|
|
1140
994
|
<span slot="label">Enter a value to show the dropdown</span>
|
|
1141
995
|
</auro-input>
|
|
1142
|
-
<auro-dropdown id="showMethodExample" aria-label="custom label"
|
|
996
|
+
<auro-dropdown id="showMethodExample" aria-label="custom label" layout="classic" shape="classic" size="lg">
|
|
1143
997
|
<p>
|
|
1144
998
|
Lorem ipsum solar
|
|
1145
999
|
</p>
|
|
@@ -1174,7 +1028,7 @@ This example demonstrations collapsing the dropdown by clicking a button within
|
|
|
1174
1028
|
<div class="exampleWrapper">
|
|
1175
1029
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/programmaticallyHide.html) -->
|
|
1176
1030
|
<!-- The below content is automatically added from ./../apiExamples/programmaticallyHide.html -->
|
|
1177
|
-
<auro-dropdown id="hideExample" aria-label="custom label"
|
|
1031
|
+
<auro-dropdown id="hideExample" aria-label="custom label" layout="classic" shape="classic" size="lg">
|
|
1178
1032
|
<p>
|
|
1179
1033
|
Lorem ipsum solar
|
|
1180
1034
|
</p>
|
|
@@ -1194,7 +1048,7 @@ This example demonstrations collapsing the dropdown by clicking a button within
|
|
|
1194
1048
|
<!-- The below code snippet is automatically added from ./../apiExamples/programmaticallyHide.html -->
|
|
1195
1049
|
|
|
1196
1050
|
```html
|
|
1197
|
-
<auro-dropdown id="hideExample" aria-label="custom label"
|
|
1051
|
+
<auro-dropdown id="hideExample" aria-label="custom label" layout="classic" shape="classic" size="lg">
|
|
1198
1052
|
<p>
|
|
1199
1053
|
Lorem ipsum solar
|
|
1200
1054
|
</p>
|
|
@@ -1235,7 +1089,7 @@ This example demonstrations collapsing the dropdown by clicking a button within
|
|
|
1235
1089
|
}
|
|
1236
1090
|
</style>
|
|
1237
1091
|
<div style="width: 100px;" aria-label="custom label">
|
|
1238
|
-
<auro-dropdown id="customDropdown100"
|
|
1092
|
+
<auro-dropdown id="customDropdown100" layout="classic" shape="classic" size="lg" chevron>
|
|
1239
1093
|
<div>
|
|
1240
1094
|
<p>
|
|
1241
1095
|
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 +1121,7 @@ This example demonstrations collapsing the dropdown by clicking a button within
|
|
|
1267
1121
|
}
|
|
1268
1122
|
</style>
|
|
1269
1123
|
<div style="width: 100px;" aria-label="custom label">
|
|
1270
|
-
<auro-dropdown id="customDropdown100"
|
|
1124
|
+
<auro-dropdown id="customDropdown100" layout="classic" shape="classic" size="lg" chevron>
|
|
1271
1125
|
<div>
|
|
1272
1126
|
<p>
|
|
1273
1127
|
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 +1142,7 @@ This example demonstrations collapsing the dropdown by clicking a button within
|
|
|
1288
1142
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
1289
1143
|
</auro-accordion>
|
|
1290
1144
|
|
|
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
|
|
1145
|
+
#### In Auro Dialog
|
|
1337
1146
|
|
|
1338
1147
|
The component can be in a dialog.
|
|
1339
1148
|
|
|
@@ -1424,17 +1233,16 @@ The component may be restyled using the following code sample and changing the v
|
|
|
1424
1233
|
<!-- The below code snippet is automatically added from ./../src/styles/tokens.scss -->
|
|
1425
1234
|
|
|
1426
1235
|
```scss
|
|
1427
|
-
@use "@aurodesignsystem/design-tokens/dist/alaska/SCSSVariables--alaska" as v;
|
|
1428
|
-
@use "@aurodesignsystem/design-tokens/dist/auro-classic/SCSSVariables" as vac;
|
|
1236
|
+
@use "@aurodesignsystem/design-tokens/dist/themes/alaska/SCSSVariables--alaska" as v;
|
|
1237
|
+
@use "@aurodesignsystem/design-tokens/dist/legacy/auro-classic/SCSSVariables" as vac;
|
|
1429
1238
|
|
|
1430
1239
|
:host(:not([ondark])) {
|
|
1431
1240
|
--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-muted, #{v.$ds-basic-color-texticon-muted});
|
|
1432
1241
|
--ds-auro-dropdown-trigger-background-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
1433
1242
|
--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:
|
|
1243
|
+
--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-bold, #{v.$ds-basic-color-border-bold});
|
|
1435
1244
|
--ds-auro-dropdown-trigger-outline-color: transparent;
|
|
1436
1245
|
--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
1246
|
--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, #{vac.$ds-elevation-200});
|
|
1439
1247
|
--ds-auro-dropdownbib-background-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
1440
1248
|
--ds-auro-dropdownbib-container-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
@@ -1445,10 +1253,9 @@ The component may be restyled using the following code sample and changing the v
|
|
|
1445
1253
|
--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-inverse-muted, #{v.$ds-basic-color-texticon-inverse-muted});
|
|
1446
1254
|
--ds-auro-dropdown-trigger-background-color: var(--ds-advanced-color-shared-background-inverse, #{v.$ds-advanced-color-shared-background-inverse});
|
|
1447
1255
|
--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:
|
|
1256
|
+
--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-inverse, #{v.$ds-basic-color-border-inverse});
|
|
1449
1257
|
--ds-auro-dropdown-trigger-outline-color: transparent;
|
|
1450
1258
|
--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
1259
|
--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, #{vac.$ds-elevation-200});
|
|
1453
1260
|
--ds-auro-dropdownbib-background-color: var(--ds-advanced-color-shared-background-inverse, #{v.$ds-advanced-color-shared-background-inverse});
|
|
1454
1261
|
--ds-auro-dropdownbib-container-color: var(--ds-advanced-color-shared-background-inverse, #{v.$ds-advanced-color-shared-background-inverse});
|