@aurodesignsystem-dev/auro-formkit 0.0.0-pr1451.2 → 0.0.0-pr1451.21
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/checkbox/README.md +11 -27
- package/components/checkbox/demo/accessibility.html +49 -0
- package/components/checkbox/demo/accessibility.md +44 -0
- package/components/checkbox/demo/api.html +17 -25
- package/components/checkbox/demo/api.md +40 -416
- package/components/checkbox/demo/api.min.js +5 -4
- package/components/checkbox/demo/customize.html +52 -0
- package/components/checkbox/demo/customize.md +361 -0
- package/components/checkbox/demo/demo-support.js +60 -0
- package/components/checkbox/demo/design.html +52 -0
- package/components/checkbox/demo/design.md +149 -0
- package/components/checkbox/demo/getting-started.html +52 -0
- package/components/checkbox/demo/getting-started.md +261 -0
- package/components/checkbox/demo/index.html +17 -20
- package/components/checkbox/demo/index.md +144 -29
- package/components/checkbox/demo/index.min.js +5 -4
- package/components/checkbox/demo/keyboard-behavior.html +49 -0
- package/components/checkbox/demo/keyboard-behavior.md +0 -3
- package/components/checkbox/demo/layout.md +30 -0
- package/components/checkbox/demo/readme.html +10 -17
- package/components/checkbox/demo/readme.md +11 -27
- package/components/checkbox/demo/styles.css +974 -0
- package/components/checkbox/demo/voiceover.html +49 -0
- package/components/checkbox/demo/voiceover.md +37 -0
- package/components/checkbox/dist/auro-checkbox.d.ts +1 -0
- package/components/checkbox/dist/index.js +5 -4
- package/components/checkbox/dist/registered.js +5 -4
- package/components/combobox/README.md +8 -29
- package/components/combobox/demo/accessibility.html +2 -20
- package/components/combobox/demo/accessibility.md +1 -1
- package/components/combobox/demo/api.html +5 -52
- package/components/combobox/demo/api.md +53 -2261
- package/components/combobox/demo/api.min.js +15 -12
- package/components/combobox/demo/customize.html +53 -0
- package/components/combobox/demo/customize.js +24 -0
- package/components/combobox/demo/customize.md +1249 -0
- package/components/combobox/demo/customize.min.js +18132 -0
- package/components/combobox/demo/demo-support.js +60 -0
- package/components/combobox/demo/design.html +2 -43
- package/components/combobox/demo/design.md +4 -4
- package/components/combobox/demo/getting-started.html +53 -0
- package/components/combobox/demo/{install.js → getting-started.js} +2 -5
- package/components/combobox/demo/getting-started.md +397 -0
- package/components/combobox/demo/{install.min.js → getting-started.min.js} +14 -38
- package/components/combobox/demo/index.html +4 -47
- package/components/combobox/demo/index.md +3 -569
- package/components/combobox/demo/index.min.js +15 -12
- package/components/combobox/demo/keyboard-behavior.html +2 -20
- package/components/combobox/demo/keyboard-behavior.md +2 -2
- package/components/combobox/demo/layout.md +2 -2
- package/components/combobox/demo/readme.html +2 -43
- package/components/combobox/demo/readme.md +8 -29
- package/components/combobox/demo/styles.css +98 -105
- package/components/combobox/demo/voiceover.html +2 -20
- package/components/combobox/demo/voiceover.md +1 -1
- package/components/combobox/dist/index.js +12 -10
- package/components/combobox/dist/registered.js +12 -10
- package/components/counter/README.md +21 -51
- package/components/counter/demo/accessibility.html +49 -0
- package/components/counter/demo/accessibility.md +34 -0
- package/components/counter/demo/api.html +12 -20
- package/components/counter/demo/api.md +49 -1299
- package/components/counter/demo/api.min.js +6 -6
- package/components/counter/demo/customize.html +53 -0
- package/components/counter/demo/customize.md +650 -0
- package/components/counter/demo/demo-support.js +60 -0
- package/components/counter/demo/design.html +52 -0
- package/components/counter/demo/design.md +192 -0
- package/components/counter/demo/getting-started.html +54 -0
- package/components/counter/demo/getting-started.md +332 -0
- package/components/counter/demo/index.html +14 -19
- package/components/counter/demo/index.md +113 -47
- package/components/counter/demo/index.min.js +6 -6
- package/components/counter/demo/keyboard-behavior.html +49 -0
- package/components/counter/demo/keyboard-behavior.md +1 -1
- package/components/counter/demo/keyboardBehavior.html +7 -39
- package/components/counter/demo/layout.md +10 -0
- package/components/counter/demo/readme.html +11 -15
- package/components/counter/demo/readme.md +21 -51
- package/components/counter/demo/styles.css +974 -0
- package/components/counter/demo/voiceover.html +51 -0
- package/components/counter/demo/voiceover.md +80 -0
- package/components/counter/dist/index.js +6 -6
- package/components/counter/dist/registered.js +6 -6
- package/components/datepicker/README.md +10 -24
- package/components/datepicker/demo/accessibility.html +50 -0
- package/components/datepicker/demo/accessibility.md +64 -0
- package/components/datepicker/demo/api.md +69 -1739
- package/components/datepicker/demo/api.min.js +14 -14
- package/components/datepicker/demo/customize.html +53 -0
- package/components/datepicker/demo/customize.md +723 -0
- package/components/datepicker/demo/demo-support.js +60 -0
- package/components/{select/demo/layout.html → datepicker/demo/design.html} +7 -47
- package/components/datepicker/demo/design.md +158 -0
- package/components/datepicker/demo/getting-started.html +53 -0
- package/components/datepicker/demo/getting-started.md +237 -0
- package/components/datepicker/demo/index.html +14 -34
- package/components/datepicker/demo/index.md +160 -103
- package/components/datepicker/demo/index.min.js +14 -14
- package/components/datepicker/demo/keyboard-behavior.html +12 -33
- package/components/datepicker/demo/layout.md +92 -0
- package/components/datepicker/demo/readme.md +10 -24
- package/components/datepicker/demo/styles.css +974 -0
- package/components/{dropdown/demo/keyboardBehavior.html → datepicker/demo/voiceover.html} +14 -36
- package/components/datepicker/demo/voiceover.md +98 -0
- package/components/datepicker/dist/index.js +14 -14
- package/components/datepicker/dist/registered.js +14 -14
- package/components/dropdown/README.md +0 -25
- package/components/dropdown/demo/accessibility.html +49 -0
- package/components/dropdown/demo/accessibility.md +45 -0
- package/components/dropdown/demo/api.html +10 -19
- package/components/dropdown/demo/api.md +40 -1364
- package/components/dropdown/demo/api.min.js +2 -2
- package/components/dropdown/demo/customize.html +54 -0
- package/components/dropdown/demo/customize.md +780 -0
- package/components/dropdown/demo/demo-support.js +60 -0
- package/components/dropdown/demo/design.html +52 -0
- package/components/dropdown/demo/design.md +186 -0
- package/components/dropdown/demo/getting-started.html +54 -0
- package/components/dropdown/demo/getting-started.md +317 -0
- package/components/dropdown/demo/index.html +12 -20
- package/components/dropdown/demo/index.md +70 -225
- package/components/dropdown/demo/index.min.js +2 -2
- package/components/dropdown/demo/keyboard-behavior.html +49 -0
- package/components/dropdown/demo/keyboard-behavior.md +4 -8
- package/components/dropdown/demo/layout.md +21 -0
- package/components/dropdown/demo/readme.html +7 -20
- package/components/dropdown/demo/readme.md +0 -25
- package/components/dropdown/demo/styles.css +974 -0
- package/components/dropdown/demo/voiceover.html +51 -0
- package/components/dropdown/demo/voiceover.md +63 -0
- package/components/dropdown/dist/index.js +2 -2
- package/components/dropdown/dist/registered.js +2 -2
- package/components/form/README.md +9 -13
- package/components/form/demo/accessibility.html +51 -0
- package/components/form/demo/accessibility.md +23 -0
- package/components/form/demo/api.html +11 -14
- package/components/form/demo/api.md +14 -290
- package/components/form/demo/api.min.js +53 -50
- package/components/form/demo/customize.html +54 -0
- package/components/form/demo/customize.md +246 -0
- package/components/form/demo/demo-support.js +60 -0
- package/components/form/demo/getting-started.html +54 -0
- package/components/form/demo/getting-started.md +291 -0
- package/components/form/demo/index.html +12 -14
- package/components/form/demo/index.md +66 -96
- package/components/form/demo/index.min.js +53 -50
- package/components/form/demo/keyboard-behavior.html +51 -0
- package/components/form/demo/readme.html +12 -17
- package/components/form/demo/readme.md +9 -13
- package/components/form/demo/styles.css +974 -0
- package/components/form/demo/voiceover.html +51 -0
- package/components/form/demo/voiceover.md +36 -0
- package/components/helptext/dist/index.js +1 -1
- package/components/helptext/dist/registered.js +1 -1
- package/components/input/README.md +17 -28
- package/components/input/demo/accessibility.html +38 -0
- package/components/input/demo/accessibility.md +69 -0
- package/components/input/demo/api.html +17 -22
- package/components/input/demo/api.js +4 -23
- package/components/input/demo/api.md +67 -1267
- package/components/input/demo/api.min.js +6 -98
- package/components/input/demo/customize.html +54 -0
- package/components/input/demo/customize.js +25 -0
- package/components/input/demo/customize.md +1372 -0
- package/components/input/demo/customize.min.js +7431 -0
- package/components/input/demo/demo-support.js +60 -0
- package/components/input/demo/design.html +39 -0
- package/components/input/demo/design.md +224 -0
- package/components/input/demo/getting-started.html +53 -0
- package/components/input/demo/getting-started.js +8 -0
- package/components/input/demo/getting-started.md +312 -0
- package/components/input/demo/getting-started.min.js +7369 -0
- package/components/input/demo/index.html +16 -22
- package/components/input/demo/index.js +0 -11
- package/components/input/demo/index.md +171 -139
- package/components/input/demo/index.min.js +6 -18
- package/components/input/demo/keyboard-behavior.html +38 -0
- package/components/input/demo/layout.md +77 -0
- package/components/input/demo/readme.md +17 -28
- package/components/input/demo/styles.css +974 -0
- package/components/input/demo/voiceover.html +38 -0
- package/components/input/demo/voiceover.md +70 -0
- package/components/input/dist/base-input.d.ts +1 -0
- package/components/input/dist/index.js +6 -6
- package/components/input/dist/registered.js +6 -6
- package/components/menu/README.md +1 -5
- package/components/menu/demo/api.md +43 -43
- package/components/menu/demo/api.min.js +2 -2
- package/components/menu/demo/index.md +1 -1
- package/components/menu/demo/index.min.js +2 -2
- package/components/menu/demo/readme.md +1 -5
- package/components/menu/dist/index.js +2 -2
- package/components/menu/dist/registered.js +2 -2
- package/components/radio/README.md +9 -22
- package/components/radio/demo/accessibility.html +51 -0
- package/components/radio/demo/accessibility.md +44 -0
- package/components/radio/demo/api.html +13 -20
- package/components/radio/demo/api.md +44 -589
- package/components/radio/demo/api.min.js +3 -3
- package/components/radio/demo/customize.html +53 -0
- package/components/radio/demo/customize.md +368 -0
- package/components/radio/demo/demo-support.js +60 -0
- package/components/radio/demo/design.html +52 -0
- package/components/radio/demo/design.md +143 -0
- package/components/radio/demo/getting-started.html +54 -0
- package/components/radio/demo/getting-started.md +296 -0
- package/components/radio/demo/index.html +16 -19
- package/components/radio/demo/index.md +110 -45
- package/components/radio/demo/index.min.js +3 -3
- package/components/radio/demo/keyboard-behavior.html +51 -0
- package/components/radio/demo/layout.md +30 -0
- package/components/radio/demo/readme.html +11 -17
- package/components/radio/demo/readme.md +9 -22
- package/components/radio/demo/styles.css +974 -0
- package/components/radio/demo/voiceover.html +51 -0
- package/components/radio/demo/voiceover.md +43 -0
- package/components/radio/dist/index.js +3 -3
- package/components/radio/dist/registered.js +3 -3
- package/components/select/README.md +7 -4
- package/components/select/demo/accessibility.html +5 -21
- package/components/select/demo/accessibility.md +1 -1
- package/components/select/demo/api.html +3 -48
- package/components/select/demo/api.md +52 -2342
- package/components/select/demo/customize.html +54 -0
- package/components/select/demo/customize.js +11 -0
- package/components/select/demo/customize.md +1049 -0
- package/components/select/demo/{api.min.js → customize.min.js} +12 -113
- package/components/select/demo/demo-support.js +60 -0
- package/components/select/demo/design.html +3 -44
- package/components/select/demo/design.md +2 -2
- package/components/select/demo/getting-started.html +5 -76
- package/components/select/demo/getting-started.js +20 -3
- package/components/select/demo/getting-started.md +97 -705
- package/components/select/demo/getting-started.min.js +58 -9
- package/components/select/demo/index.html +4 -43
- package/components/select/demo/index.js +5 -3
- package/components/select/demo/index.md +2 -2
- package/components/select/demo/index.min.js +14 -9
- package/components/select/demo/keyboard-behavior.html +6 -47
- package/components/select/demo/keyboard-behavior.md +5 -6
- package/components/select/demo/keyboardBehavior.html +4 -46
- package/components/select/demo/readme.html +3 -44
- package/components/select/demo/readme.md +7 -4
- package/components/select/demo/styles.css +57 -109
- package/components/select/demo/voiceover.html +3 -30
- package/components/select/dist/index.js +5 -5
- package/components/select/dist/registered.js +5 -5
- package/custom-elements.json +249 -246
- package/package.json +3 -3
- package/components/combobox/demo/install.html +0 -94
- package/components/combobox/demo/install.md +0 -98
- package/components/select/demo/api.js +0 -39
- package/components/select/demo/install.md +0 -92
|
@@ -0,0 +1,780 @@
|
|
|
1
|
+
<auro-header level="1" id="overview">Dropdown - Customize</auro-header>
|
|
2
|
+
<div class="contentWrapper">
|
|
3
|
+
<nav>
|
|
4
|
+
<auro-nav anchorNavContent=".scrollWrapper">
|
|
5
|
+
<span slot="mobileToggleCollapsed">View More</span>
|
|
6
|
+
<span slot="mobileToggleExpanded">View Less</span>
|
|
7
|
+
<auro-anchorlink fluid href="#appearance">Appearance</auro-anchorlink>
|
|
8
|
+
<auro-anchorlink fluid href="#background" class="level2 body-xs">Light vs. Dark Background</auro-anchorlink>
|
|
9
|
+
<auro-anchorlink fluid href="#cssTokens" class="level2 body-xs">Tokens</auro-anchorlink>
|
|
10
|
+
<auro-anchorlink fluid href="#cssParts" class="level2 body-xs">CSS Shadow Parts</auro-anchorlink>
|
|
11
|
+
<auro-anchorlink fluid href="#bibPosition" class="level2 body-xs">Bib Position</auro-anchorlink>
|
|
12
|
+
<auro-anchorlink fluid href="#fullscreenBreakpoint" class="level2 body-xs">Fullscreen Breakpoint</auro-anchorlink>
|
|
13
|
+
<auro-anchorlink fluid href="#matchWidth" class="level2 body-xs">Match Width</auro-anchorlink>
|
|
14
|
+
<auro-anchorlink fluid href="#customBehavior">Behavior</auro-anchorlink>
|
|
15
|
+
<auro-anchorlink fluid href="#chevron" class="level2 body-xs">Chevron</auro-anchorlink>
|
|
16
|
+
<auro-anchorlink fluid href="#disabled" class="level2 body-xs">Disabled</auro-anchorlink>
|
|
17
|
+
<auro-anchorlink fluid href="#error" class="level2 body-xs">Error</auro-anchorlink>
|
|
18
|
+
<auro-anchorlink fluid href="#noToggle" class="level2 body-xs">No Toggle</auro-anchorlink>
|
|
19
|
+
</auro-nav>
|
|
20
|
+
</nav>
|
|
21
|
+
<div class="mainContent">
|
|
22
|
+
<div class="scrollWrapper">
|
|
23
|
+
<section>
|
|
24
|
+
<auro-header level="2" id="appearance">Appearance</auro-header>
|
|
25
|
+
<auro-header level="3" id="background">Light vs. Dark Background</auro-header>
|
|
26
|
+
<p>The <code>appearance</code> attribute defines whether the component renders on lighter or darker backgrounds. Supported values are <code>default</code> and <code>inverse</code>. The default value is <code>default</code>.</p>
|
|
27
|
+
<div class="exampleWrapper">
|
|
28
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
29
|
+
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
30
|
+
<auro-dropdown aria-label="custom label">
|
|
31
|
+
Lorem ipsum solar
|
|
32
|
+
<div slot="trigger">
|
|
33
|
+
Trigger
|
|
34
|
+
</div>
|
|
35
|
+
</auro-dropdown>
|
|
36
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
37
|
+
</div>
|
|
38
|
+
<auro-accordion alignRight>
|
|
39
|
+
<span slot="trigger">See code</span>
|
|
40
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/basic.html) -->
|
|
41
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
|
|
42
|
+
<pre class="language-html"><code class="language-html"><auro-dropdown aria-label="custom label">
|
|
43
|
+
Lorem ipsum solar
|
|
44
|
+
<div slot="trigger">
|
|
45
|
+
Trigger
|
|
46
|
+
</div>
|
|
47
|
+
</auro-dropdown></code></pre>
|
|
48
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
49
|
+
</auro-accordion>
|
|
50
|
+
<div class="exampleWrapper--ondark" aria-hidden>
|
|
51
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/appearance-inverse.html) -->
|
|
52
|
+
<!-- The below content is automatically added from ./../apiExamples/appearance-inverse.html -->
|
|
53
|
+
<auro-dropdown appearance="inverse" aria-label="custom label">
|
|
54
|
+
Lorem ipsum solar
|
|
55
|
+
<div slot="trigger">
|
|
56
|
+
Trigger
|
|
57
|
+
</div>
|
|
58
|
+
</auro-dropdown>
|
|
59
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
60
|
+
</div>
|
|
61
|
+
<auro-accordion alignRight>
|
|
62
|
+
<span slot="trigger">See code</span>
|
|
63
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/appearance-inverse.html) -->
|
|
64
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/appearance-inverse.html -->
|
|
65
|
+
<pre class="language-html"><code class="language-html"><auro-dropdown appearance="inverse" aria-label="custom label">
|
|
66
|
+
Lorem ipsum solar
|
|
67
|
+
<div slot="trigger">
|
|
68
|
+
Trigger
|
|
69
|
+
</div>
|
|
70
|
+
</auro-dropdown></code></pre>
|
|
71
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
72
|
+
</auro-accordion>
|
|
73
|
+
<auro-header level="3" id="cssTokens">Tokens</auro-header>
|
|
74
|
+
<p>The component may be restyled by overriding the following CSS custom properties (design tokens).</p>
|
|
75
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../src/styles/tokens.scss) -->
|
|
76
|
+
<!-- The below code snippet is automatically added from ./../src/styles/tokens.scss -->
|
|
77
|
+
<pre class="language-scss"><code class="language-scss">@use "@aurodesignsystem/design-tokens/dist/themes/alaska/SCSSVariables--alaska" as v;
|
|
78
|
+
@use "@aurodesignsystem/design-tokens/dist/legacy/auro-classic/SCSSVariables" as vac;
|
|
79
|
+
|
|
80
|
+
:host(:not([ondark])),
|
|
81
|
+
:host(:not([appearance="inverse"])) {
|
|
82
|
+
--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-muted, #{v.$ds-basic-color-texticon-muted});
|
|
83
|
+
--ds-auro-dropdown-trigger-background-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
84
|
+
--ds-auro-dropdown-trigger-hover-background-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
85
|
+
--ds-auro-dropdown-trigger-container-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
86
|
+
--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-bold, #{v.$ds-basic-color-border-bold});
|
|
87
|
+
--ds-auro-dropdown-trigger-outline-color: transparent;
|
|
88
|
+
--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-default, #{v.$ds-basic-color-texticon-default});
|
|
89
|
+
--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, #{vac.$ds-elevation-200});
|
|
90
|
+
--ds-auro-dropdownbib-background-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
91
|
+
--ds-auro-dropdownbib-container-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
92
|
+
--ds-auro-dropdownbib-text-color: var(--ds-basic-color-texticon-default, #{v.$ds-basic-color-texticon-default});
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
:host([ondark]),
|
|
96
|
+
:host([appearance="inverse"]) {
|
|
97
|
+
--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-inverse-muted, #{v.$ds-basic-color-texticon-inverse-muted});
|
|
98
|
+
--ds-auro-dropdown-trigger-background-color: var(--ds-advanced-color-shared-background-inverse, #{v.$ds-advanced-color-shared-background-inverse});
|
|
99
|
+
--ds-auro-dropdown-trigger-hover-background-color: var(--ds-advanced-color-shared-background-inverse, #{v.$ds-advanced-color-shared-background-inverse});
|
|
100
|
+
--ds-auro-dropdown-trigger-container-color: var(--ds-advanced-color-shared-background-inverse, #{v.$ds-advanced-color-shared-background-inverse});
|
|
101
|
+
--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-inverse, #{v.$ds-basic-color-border-inverse});
|
|
102
|
+
--ds-auro-dropdown-trigger-outline-color: transparent;
|
|
103
|
+
--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-inverse, #{v.$ds-basic-color-texticon-inverse});
|
|
104
|
+
--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, #{vac.$ds-elevation-200});
|
|
105
|
+
--ds-auro-dropdownbib-background-color: var(--ds-advanced-color-shared-background-inverse, #{v.$ds-advanced-color-shared-background-inverse});
|
|
106
|
+
--ds-auro-dropdownbib-container-color: var(--ds-advanced-color-shared-background-inverse, #{v.$ds-advanced-color-shared-background-inverse});
|
|
107
|
+
--ds-auro-dropdownbib-text-color: var(--ds-basic-color-texticon-inverse, #{v.$ds-basic-color-texticon-inverse});
|
|
108
|
+
}</code></pre>
|
|
109
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
110
|
+
<div class="exampleWrapper">
|
|
111
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/custom-tokens.html) -->
|
|
112
|
+
<!-- The below content is automatically added from ./../apiExamples/custom-tokens.html -->
|
|
113
|
+
<style>
|
|
114
|
+
#customTokensDropdown {
|
|
115
|
+
--ds-auro-dropdown-label-text-color: #5b1a6e;
|
|
116
|
+
--ds-auro-dropdown-trigger-background-color: #e8d5f5;
|
|
117
|
+
--ds-auro-dropdown-trigger-hover-background-color: #d4b8e8;
|
|
118
|
+
--ds-auro-dropdown-trigger-container-color: #f3eaf8;
|
|
119
|
+
--ds-auro-dropdown-trigger-border-color: #7b2d8e;
|
|
120
|
+
--ds-auro-dropdown-trigger-outline-color: #c9a4db;
|
|
121
|
+
--ds-auro-dropdown-trigger-text-color: #7b2d8e;
|
|
122
|
+
--ds-auro-dropdownbib-boxshadow-color: rgba(123, 45, 142, 0.3);
|
|
123
|
+
--ds-auro-dropdownbib-background-color: #f3eaf8;
|
|
124
|
+
--ds-auro-dropdownbib-container-color: #f3eaf8;
|
|
125
|
+
--ds-auro-dropdownbib-text-color: #5b1a6e;
|
|
126
|
+
}
|
|
127
|
+
</style>
|
|
128
|
+
<auro-dropdown id="customTokensDropdown" layout="classic" shape="classic" size="lg" chevron aria-label="Custom styled dropdown">
|
|
129
|
+
<div style="padding: var(--ds-size-150);">
|
|
130
|
+
Lorem ipsum solar
|
|
131
|
+
</div>
|
|
132
|
+
<span slot="helpText">Help text</span>
|
|
133
|
+
<div slot="trigger">
|
|
134
|
+
Trigger
|
|
135
|
+
</div>
|
|
136
|
+
</auro-dropdown>
|
|
137
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
138
|
+
</div>
|
|
139
|
+
<auro-accordion alignRight>
|
|
140
|
+
<span slot="trigger">See code</span>
|
|
141
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/custom-tokens.html) -->
|
|
142
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/custom-tokens.html -->
|
|
143
|
+
<pre class="language-html"><code class="language-html"><style>
|
|
144
|
+
#customTokensDropdown {
|
|
145
|
+
--ds-auro-dropdown-label-text-color: #5b1a6e;
|
|
146
|
+
--ds-auro-dropdown-trigger-background-color: #e8d5f5;
|
|
147
|
+
--ds-auro-dropdown-trigger-hover-background-color: #d4b8e8;
|
|
148
|
+
--ds-auro-dropdown-trigger-container-color: #f3eaf8;
|
|
149
|
+
--ds-auro-dropdown-trigger-border-color: #7b2d8e;
|
|
150
|
+
--ds-auro-dropdown-trigger-outline-color: #c9a4db;
|
|
151
|
+
--ds-auro-dropdown-trigger-text-color: #7b2d8e;
|
|
152
|
+
--ds-auro-dropdownbib-boxshadow-color: rgba(123, 45, 142, 0.3);
|
|
153
|
+
--ds-auro-dropdownbib-background-color: #f3eaf8;
|
|
154
|
+
--ds-auro-dropdownbib-container-color: #f3eaf8;
|
|
155
|
+
--ds-auro-dropdownbib-text-color: #5b1a6e;
|
|
156
|
+
}
|
|
157
|
+
</style>
|
|
158
|
+
<auro-dropdown id="customTokensDropdown" layout="classic" shape="classic" size="lg" chevron aria-label="Custom styled dropdown">
|
|
159
|
+
<div style="padding: var(--ds-size-150);">
|
|
160
|
+
Lorem ipsum solar
|
|
161
|
+
</div>
|
|
162
|
+
<span slot="helpText">Help text</span>
|
|
163
|
+
<div slot="trigger">
|
|
164
|
+
Trigger
|
|
165
|
+
</div>
|
|
166
|
+
</auro-dropdown></code></pre>
|
|
167
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
168
|
+
</auro-accordion>
|
|
169
|
+
<auro-header level="3" id="cssParts">CSS Shadow Parts</auro-header>
|
|
170
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/partials/customize/css-parts.md) -->
|
|
171
|
+
<!-- The below content is automatically added from ./../docs/partials/customize/css-parts.md -->
|
|
172
|
+
<p>The following CSS shadow parts are available for styling:</p>
|
|
173
|
+
<table>
|
|
174
|
+
<thead>
|
|
175
|
+
<tr>
|
|
176
|
+
<th>Part</th>
|
|
177
|
+
<th>Description</th>
|
|
178
|
+
</tr>
|
|
179
|
+
</thead>
|
|
180
|
+
<tbody>
|
|
181
|
+
<tr>
|
|
182
|
+
<td><code>chevron</code></td>
|
|
183
|
+
<td>The collapsed/expanded state icon container.</td>
|
|
184
|
+
</tr>
|
|
185
|
+
<tr>
|
|
186
|
+
<td><code>helpText</code></td>
|
|
187
|
+
<td>The helpText content container.</td>
|
|
188
|
+
</tr>
|
|
189
|
+
<tr>
|
|
190
|
+
<td><code>size</code></td>
|
|
191
|
+
<td>The size of the dropdown bib (height, width, maxHeight, maxWidth only).</td>
|
|
192
|
+
</tr>
|
|
193
|
+
<tr>
|
|
194
|
+
<td><code>trigger</code></td>
|
|
195
|
+
<td>The trigger content container.</td>
|
|
196
|
+
</tr>
|
|
197
|
+
</tbody>
|
|
198
|
+
</table>
|
|
199
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
200
|
+
<div class="exampleWrapper">
|
|
201
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/css-parts.html) -->
|
|
202
|
+
<!-- The below content is automatically added from ./../apiExamples/css-parts.html -->
|
|
203
|
+
<style>
|
|
204
|
+
#cssPartsDropdown::part(trigger) {
|
|
205
|
+
border: 2px dashed #7b2d8e;
|
|
206
|
+
border-radius: 8px;
|
|
207
|
+
padding: var(--ds-size-100);
|
|
208
|
+
}
|
|
209
|
+
#cssPartsDropdown::part(chevron) {
|
|
210
|
+
color: #7b2d8e;
|
|
211
|
+
}
|
|
212
|
+
#cssPartsDropdown::part(helpText) {
|
|
213
|
+
font-style: italic;
|
|
214
|
+
color: #5b1a6e;
|
|
215
|
+
}
|
|
216
|
+
#cssPartsDropdown::part(size) {
|
|
217
|
+
max-height: 200px;
|
|
218
|
+
}
|
|
219
|
+
</style>
|
|
220
|
+
<auro-dropdown id="cssPartsDropdown" layout="classic" shape="classic" size="lg" chevron aria-label="CSS parts styled dropdown">
|
|
221
|
+
<div style="padding: var(--ds-size-150);">
|
|
222
|
+
Lorem ipsum solar
|
|
223
|
+
</div>
|
|
224
|
+
<span slot="helpText">Styled with ::part selectors</span>
|
|
225
|
+
<div slot="trigger">
|
|
226
|
+
Trigger
|
|
227
|
+
</div>
|
|
228
|
+
</auro-dropdown>
|
|
229
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
230
|
+
</div>
|
|
231
|
+
<auro-accordion alignRight>
|
|
232
|
+
<span slot="trigger">See code</span>
|
|
233
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/css-parts.html) -->
|
|
234
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/css-parts.html -->
|
|
235
|
+
<pre class="language-html"><code class="language-html"><style>
|
|
236
|
+
#cssPartsDropdown::part(trigger) {
|
|
237
|
+
border: 2px dashed #7b2d8e;
|
|
238
|
+
border-radius: 8px;
|
|
239
|
+
padding: var(--ds-size-100);
|
|
240
|
+
}
|
|
241
|
+
#cssPartsDropdown::part(chevron) {
|
|
242
|
+
color: #7b2d8e;
|
|
243
|
+
}
|
|
244
|
+
#cssPartsDropdown::part(helpText) {
|
|
245
|
+
font-style: italic;
|
|
246
|
+
color: #5b1a6e;
|
|
247
|
+
}
|
|
248
|
+
#cssPartsDropdown::part(size) {
|
|
249
|
+
max-height: 200px;
|
|
250
|
+
}
|
|
251
|
+
</style>
|
|
252
|
+
<auro-dropdown id="cssPartsDropdown" layout="classic" shape="classic" size="lg" chevron aria-label="CSS parts styled dropdown">
|
|
253
|
+
<div style="padding: var(--ds-size-150);">
|
|
254
|
+
Lorem ipsum solar
|
|
255
|
+
</div>
|
|
256
|
+
<span slot="helpText">Styled with ::part selectors</span>
|
|
257
|
+
<div slot="trigger">
|
|
258
|
+
Trigger
|
|
259
|
+
</div>
|
|
260
|
+
</auro-dropdown></code></pre>
|
|
261
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
262
|
+
</auro-accordion>
|
|
263
|
+
<auro-header level="3" id="bibPosition">Bib Position</auro-header>
|
|
264
|
+
<p>Customize bib position with <code>placement</code>, <code>offset</code>, <code>noFlip</code>, <code>autoPlacement</code>, and <code>shift</code> attributes.</p>
|
|
265
|
+
<div class="exampleWrapper">
|
|
266
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/floater-config.html) -->
|
|
267
|
+
<!-- The below content is automatically added from ./../apiExamples/floater-config.html -->
|
|
268
|
+
<style>
|
|
269
|
+
.floaterConfigDropdown::part(size) {
|
|
270
|
+
max-height: 200px;
|
|
271
|
+
}
|
|
272
|
+
</style>
|
|
273
|
+
<div aria-label="custom label">
|
|
274
|
+
<auro-dropdown class="floaterConfigDropdown" layout="classic" shape="classic" size="lg" chevron matchWidth placement="bottom-end" offset="20" noFlip>
|
|
275
|
+
<div>
|
|
276
|
+
<p>
|
|
277
|
+
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.
|
|
278
|
+
</p>
|
|
279
|
+
<p>
|
|
280
|
+
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.
|
|
281
|
+
</p>
|
|
282
|
+
<p>
|
|
283
|
+
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.
|
|
284
|
+
</p>
|
|
285
|
+
</div>
|
|
286
|
+
<div slot="trigger">
|
|
287
|
+
Trigger
|
|
288
|
+
</div>
|
|
289
|
+
<span slot="helpText">Trigger for bottom-end bib with 20px offset and noFlip</span>
|
|
290
|
+
</auro-dropdown>
|
|
291
|
+
</div>
|
|
292
|
+
<div aria-label="custom label">
|
|
293
|
+
<auro-dropdown class="floaterConfigDropdown" layout="classic" shape="classic" size="lg" chevron matchWidth placement="bottom-end" offset="20">
|
|
294
|
+
<div>
|
|
295
|
+
<p>
|
|
296
|
+
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.
|
|
297
|
+
</p>
|
|
298
|
+
<p>
|
|
299
|
+
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.
|
|
300
|
+
</p>
|
|
301
|
+
<p>
|
|
302
|
+
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.
|
|
303
|
+
</p>
|
|
304
|
+
</div>
|
|
305
|
+
<div slot="trigger">
|
|
306
|
+
Trigger
|
|
307
|
+
</div>
|
|
308
|
+
<div slot="helpText">
|
|
309
|
+
Trigger for bottom-end bib with 20px offset and flip
|
|
310
|
+
</div>
|
|
311
|
+
</auro-dropdown>
|
|
312
|
+
</div>
|
|
313
|
+
<div aria-label="custom label">
|
|
314
|
+
<auro-dropdown class="floaterConfigDropdown" layout="classic" shape="classic" size="lg" chevron matchWidth noFlip placement="right" offset="20">
|
|
315
|
+
<div>
|
|
316
|
+
<p>
|
|
317
|
+
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.
|
|
318
|
+
</p>
|
|
319
|
+
<p>
|
|
320
|
+
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.
|
|
321
|
+
</p>
|
|
322
|
+
<p>
|
|
323
|
+
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.
|
|
324
|
+
</p>
|
|
325
|
+
</div>
|
|
326
|
+
<div slot="trigger">
|
|
327
|
+
Trigger
|
|
328
|
+
</div>
|
|
329
|
+
<div slot="helpText">
|
|
330
|
+
Trigger for right bib with 20px offset and noFlip
|
|
331
|
+
</div>
|
|
332
|
+
</auro-dropdown>
|
|
333
|
+
</div>
|
|
334
|
+
<div aria-label="custom label">
|
|
335
|
+
<auro-dropdown width="350px" class="floaterConfigDropdown" layout="classic" shape="classic" size="lg" chevron matchWidth noFlip placement="bottom-start" shift offset="20">
|
|
336
|
+
<div width="500px">
|
|
337
|
+
<p>
|
|
338
|
+
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.
|
|
339
|
+
</p>
|
|
340
|
+
<p>
|
|
341
|
+
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.
|
|
342
|
+
</p>
|
|
343
|
+
<p>
|
|
344
|
+
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.
|
|
345
|
+
</p>
|
|
346
|
+
</div>
|
|
347
|
+
<div slot="trigger">
|
|
348
|
+
Trigger
|
|
349
|
+
</div>
|
|
350
|
+
<div slot="helpText">
|
|
351
|
+
Trigger for bottom-start bib with 20px offset, shift and noFlip
|
|
352
|
+
</div>
|
|
353
|
+
</auro-dropdown>
|
|
354
|
+
</div>
|
|
355
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
356
|
+
</div>
|
|
357
|
+
<auro-accordion alignRight>
|
|
358
|
+
<span slot="trigger">See code</span>
|
|
359
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/floater-config.html) -->
|
|
360
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/floater-config.html -->
|
|
361
|
+
<pre class="language-html"><code class="language-html"><style>
|
|
362
|
+
.floaterConfigDropdown::part(size) {
|
|
363
|
+
max-height: 200px;
|
|
364
|
+
}
|
|
365
|
+
</style>
|
|
366
|
+
<div aria-label="custom label">
|
|
367
|
+
<auro-dropdown class="floaterConfigDropdown" layout="classic" shape="classic" size="lg" chevron matchWidth placement="bottom-end" offset="20" noFlip>
|
|
368
|
+
<div>
|
|
369
|
+
<p>
|
|
370
|
+
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.
|
|
371
|
+
</p>
|
|
372
|
+
<p>
|
|
373
|
+
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.
|
|
374
|
+
</p>
|
|
375
|
+
<p>
|
|
376
|
+
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.
|
|
377
|
+
</p>
|
|
378
|
+
</div>
|
|
379
|
+
<div slot="trigger">
|
|
380
|
+
Trigger
|
|
381
|
+
</div>
|
|
382
|
+
<span slot="helpText">Trigger for bottom-end bib with 20px offset and noFlip</span>
|
|
383
|
+
</auro-dropdown>
|
|
384
|
+
</div>
|
|
385
|
+
<div aria-label="custom label">
|
|
386
|
+
<auro-dropdown class="floaterConfigDropdown" layout="classic" shape="classic" size="lg" chevron matchWidth placement="bottom-end" offset="20">
|
|
387
|
+
<div>
|
|
388
|
+
<p>
|
|
389
|
+
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.
|
|
390
|
+
</p>
|
|
391
|
+
<p>
|
|
392
|
+
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.
|
|
393
|
+
</p>
|
|
394
|
+
<p>
|
|
395
|
+
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.
|
|
396
|
+
</p>
|
|
397
|
+
</div>
|
|
398
|
+
<div slot="trigger">
|
|
399
|
+
Trigger
|
|
400
|
+
</div>
|
|
401
|
+
<div slot="helpText">
|
|
402
|
+
Trigger for bottom-end bib with 20px offset and flip
|
|
403
|
+
</div>
|
|
404
|
+
</auro-dropdown>
|
|
405
|
+
</div>
|
|
406
|
+
<div aria-label="custom label">
|
|
407
|
+
<auro-dropdown class="floaterConfigDropdown" layout="classic" shape="classic" size="lg" chevron matchWidth noFlip placement="right" offset="20">
|
|
408
|
+
<div>
|
|
409
|
+
<p>
|
|
410
|
+
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.
|
|
411
|
+
</p>
|
|
412
|
+
<p>
|
|
413
|
+
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.
|
|
414
|
+
</p>
|
|
415
|
+
<p>
|
|
416
|
+
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.
|
|
417
|
+
</p>
|
|
418
|
+
</div>
|
|
419
|
+
<div slot="trigger">
|
|
420
|
+
Trigger
|
|
421
|
+
</div>
|
|
422
|
+
<div slot="helpText">
|
|
423
|
+
Trigger for right bib with 20px offset and noFlip
|
|
424
|
+
</div>
|
|
425
|
+
</auro-dropdown>
|
|
426
|
+
</div>
|
|
427
|
+
<div aria-label="custom label">
|
|
428
|
+
<auro-dropdown width="350px" class="floaterConfigDropdown" layout="classic" shape="classic" size="lg" chevron matchWidth noFlip placement="bottom-start" shift offset="20">
|
|
429
|
+
<div width="500px">
|
|
430
|
+
<p>
|
|
431
|
+
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.
|
|
432
|
+
</p>
|
|
433
|
+
<p>
|
|
434
|
+
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.
|
|
435
|
+
</p>
|
|
436
|
+
<p>
|
|
437
|
+
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.
|
|
438
|
+
</p>
|
|
439
|
+
</div>
|
|
440
|
+
<div slot="trigger">
|
|
441
|
+
Trigger
|
|
442
|
+
</div>
|
|
443
|
+
<div slot="helpText">
|
|
444
|
+
Trigger for bottom-start bib with 20px offset, shift and noFlip
|
|
445
|
+
</div>
|
|
446
|
+
</auro-dropdown>
|
|
447
|
+
</div></code></pre>
|
|
448
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
449
|
+
</auro-accordion>
|
|
450
|
+
<auro-header level="3" id="fullscreenBreakpoint">Fullscreen Breakpoint</auro-header>
|
|
451
|
+
<p>Customize the breakpoint at which the dropdown switches to fullscreen mode with <code>fullscreenBreakpoint</code>. The default value is <code>sm</code>.</p>
|
|
452
|
+
<div class="exampleWrapper">
|
|
453
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/fullscreen-breakpoint.html) -->
|
|
454
|
+
<!-- The below content is automatically added from ./../apiExamples/fullscreen-breakpoint.html -->
|
|
455
|
+
<auro-dropdown id="fullscreen" fullscreenBreakpoint="sm" layout="classic" shape="classic" size="lg" chevron>
|
|
456
|
+
<div>
|
|
457
|
+
<p>
|
|
458
|
+
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.
|
|
459
|
+
</p>
|
|
460
|
+
<p>
|
|
461
|
+
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.
|
|
462
|
+
</p>
|
|
463
|
+
<p>
|
|
464
|
+
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.
|
|
465
|
+
</p>
|
|
466
|
+
</div>
|
|
467
|
+
<auro-button id="fullscreenButton">
|
|
468
|
+
Dismiss Dropdown
|
|
469
|
+
</auro-button>
|
|
470
|
+
<div slot="trigger">
|
|
471
|
+
Trigger
|
|
472
|
+
</div>
|
|
473
|
+
</auro-dropdown>
|
|
474
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
475
|
+
</div>
|
|
476
|
+
<auro-accordion alignRight>
|
|
477
|
+
<span slot="trigger">See code</span>
|
|
478
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/fullscreen-breakpoint.html) -->
|
|
479
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/fullscreen-breakpoint.html -->
|
|
480
|
+
<pre class="language-html"><code class="language-html"><auro-dropdown id="fullscreen" fullscreenBreakpoint="sm" layout="classic" shape="classic" size="lg" chevron>
|
|
481
|
+
<div>
|
|
482
|
+
<p>
|
|
483
|
+
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.
|
|
484
|
+
</p>
|
|
485
|
+
<p>
|
|
486
|
+
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.
|
|
487
|
+
</p>
|
|
488
|
+
<p>
|
|
489
|
+
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.
|
|
490
|
+
</p>
|
|
491
|
+
</div>
|
|
492
|
+
<auro-button id="fullscreenButton">
|
|
493
|
+
Dismiss Dropdown
|
|
494
|
+
</auro-button>
|
|
495
|
+
<div slot="trigger">
|
|
496
|
+
Trigger
|
|
497
|
+
</div>
|
|
498
|
+
</auro-dropdown></code></pre>
|
|
499
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
500
|
+
</auro-accordion>
|
|
501
|
+
<auro-header level="3" id="matchWidth">Match Width</auro-header>
|
|
502
|
+
<p>When the <code>matchWidth</code> attribute is applied, the width of the dropdown bib will match the width of the trigger element.</p>
|
|
503
|
+
<div class="exampleWrapper">
|
|
504
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/match-width.html) -->
|
|
505
|
+
<!-- The below content is automatically added from ./../apiExamples/match-width.html -->
|
|
506
|
+
<auro-dropdown id="matchWidth" layout="classic" shape="classic" size="lg" matchWidth aria-label="Label content for screen reader">
|
|
507
|
+
<div style="padding: var(--ds-size-150);">
|
|
508
|
+
Lorem ipsum solar
|
|
509
|
+
<br />
|
|
510
|
+
<auro-button id="matchWidthButton">
|
|
511
|
+
Dismiss Dropdown
|
|
512
|
+
</auro-button>
|
|
513
|
+
</div>
|
|
514
|
+
<span slot="helpText">
|
|
515
|
+
Help text
|
|
516
|
+
</span>
|
|
517
|
+
<div slot="trigger">
|
|
518
|
+
Trigger
|
|
519
|
+
</div>
|
|
520
|
+
</auro-dropdown>
|
|
521
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
522
|
+
</div>
|
|
523
|
+
<auro-accordion alignRight>
|
|
524
|
+
<span slot="trigger">See code</span>
|
|
525
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/match-width.html) -->
|
|
526
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/match-width.html -->
|
|
527
|
+
<pre class="language-html"><code class="language-html"><auro-dropdown id="matchWidth" layout="classic" shape="classic" size="lg" matchWidth aria-label="Label content for screen reader">
|
|
528
|
+
<div style="padding: var(--ds-size-150);">
|
|
529
|
+
Lorem ipsum solar
|
|
530
|
+
<br />
|
|
531
|
+
<auro-button id="matchWidthButton">
|
|
532
|
+
Dismiss Dropdown
|
|
533
|
+
</auro-button>
|
|
534
|
+
</div>
|
|
535
|
+
<span slot="helpText">
|
|
536
|
+
Help text
|
|
537
|
+
</span>
|
|
538
|
+
<div slot="trigger">
|
|
539
|
+
Trigger
|
|
540
|
+
</div>
|
|
541
|
+
</auro-dropdown></code></pre>
|
|
542
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
543
|
+
</auro-accordion>
|
|
544
|
+
</section>
|
|
545
|
+
<section>
|
|
546
|
+
<auro-header level="2" id="customBehavior">Behavior</auro-header>
|
|
547
|
+
<auro-header level="3" id="chevron">Chevron</auro-header>
|
|
548
|
+
<p>Use the <code>chevron</code> attribute to add a chevron icon to the dropdown trigger indicating expand/collapse state.</p>
|
|
549
|
+
<div class="exampleWrapper">
|
|
550
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/chevron.html) -->
|
|
551
|
+
<!-- The below content is automatically added from ./../apiExamples/chevron.html -->
|
|
552
|
+
<auro-dropdown aria-label="custom label" chevron>
|
|
553
|
+
Lorem ipsum solar
|
|
554
|
+
<div slot="trigger">
|
|
555
|
+
Trigger
|
|
556
|
+
</div>
|
|
557
|
+
</auro-dropdown>
|
|
558
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
559
|
+
</div>
|
|
560
|
+
<auro-accordion alignRight>
|
|
561
|
+
<span slot="trigger">See code</span>
|
|
562
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/chevron.html) -->
|
|
563
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/chevron.html -->
|
|
564
|
+
<pre class="language-html"><code class="language-html"><auro-dropdown aria-label="custom label" chevron>
|
|
565
|
+
Lorem ipsum solar
|
|
566
|
+
<div slot="trigger">
|
|
567
|
+
Trigger
|
|
568
|
+
</div>
|
|
569
|
+
</auro-dropdown></code></pre>
|
|
570
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
571
|
+
</auro-accordion>
|
|
572
|
+
<auro-header level="3" id="disabled">Disabled</auro-header>
|
|
573
|
+
<p>Use the <code>disabled</code> attribute to disable interaction with the dropdown.</p>
|
|
574
|
+
<div class="exampleWrapper">
|
|
575
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/disabled.html) -->
|
|
576
|
+
<!-- The below content is automatically added from ./../apiExamples/disabled.html -->
|
|
577
|
+
<auro-dropdown
|
|
578
|
+
aria-label="custom label"
|
|
579
|
+
disabled
|
|
580
|
+
chevron
|
|
581
|
+
layout="classic" shape="classic" size="lg">
|
|
582
|
+
Lorem ipsum solar
|
|
583
|
+
<div slot="trigger">
|
|
584
|
+
Trigger
|
|
585
|
+
</div>
|
|
586
|
+
<span slot="helpText">
|
|
587
|
+
Help text
|
|
588
|
+
</span>
|
|
589
|
+
<span slot="label">
|
|
590
|
+
Name
|
|
591
|
+
</span>
|
|
592
|
+
</auro-dropdown>
|
|
593
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
594
|
+
</div>
|
|
595
|
+
<div class="exampleWrapper--ondark" aria-hidden>
|
|
596
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/appearance-inverse-disabled.html) -->
|
|
597
|
+
<!-- The below content is automatically added from ./../apiExamples/appearance-inverse-disabled.html -->
|
|
598
|
+
<auro-dropdown
|
|
599
|
+
aria-label="custom label"
|
|
600
|
+
disabled
|
|
601
|
+
appearance="inverse"
|
|
602
|
+
chevron
|
|
603
|
+
layout="classic" shape="classic" size="lg">
|
|
604
|
+
Lorem ipsum solar
|
|
605
|
+
<div slot="trigger">
|
|
606
|
+
Trigger
|
|
607
|
+
</div>
|
|
608
|
+
<span slot="helpText">
|
|
609
|
+
Help text
|
|
610
|
+
</span>
|
|
611
|
+
<span slot="label">
|
|
612
|
+
Name
|
|
613
|
+
</span>
|
|
614
|
+
</auro-dropdown>
|
|
615
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
616
|
+
</div>
|
|
617
|
+
<auro-accordion alignRight>
|
|
618
|
+
<span slot="trigger">See code</span>
|
|
619
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/disabled.html) -->
|
|
620
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/disabled.html -->
|
|
621
|
+
<pre class="language-html"><code class="language-html"><auro-dropdown
|
|
622
|
+
aria-label="custom label"
|
|
623
|
+
disabled
|
|
624
|
+
chevron
|
|
625
|
+
layout="classic" shape="classic" size="lg">
|
|
626
|
+
Lorem ipsum solar
|
|
627
|
+
<div slot="trigger">
|
|
628
|
+
Trigger
|
|
629
|
+
</div>
|
|
630
|
+
<span slot="helpText">
|
|
631
|
+
Help text
|
|
632
|
+
</span>
|
|
633
|
+
<span slot="label">
|
|
634
|
+
Name
|
|
635
|
+
</span>
|
|
636
|
+
</auro-dropdown></code></pre>
|
|
637
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
638
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/appearance-inverse-disabled.html) -->
|
|
639
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/appearance-inverse-disabled.html -->
|
|
640
|
+
<pre class="language-html"><code class="language-html"><auro-dropdown
|
|
641
|
+
aria-label="custom label"
|
|
642
|
+
disabled
|
|
643
|
+
appearance="inverse"
|
|
644
|
+
chevron
|
|
645
|
+
layout="classic" shape="classic" size="lg">
|
|
646
|
+
Lorem ipsum solar
|
|
647
|
+
<div slot="trigger">
|
|
648
|
+
Trigger
|
|
649
|
+
</div>
|
|
650
|
+
<span slot="helpText">
|
|
651
|
+
Help text
|
|
652
|
+
</span>
|
|
653
|
+
<span slot="label">
|
|
654
|
+
Name
|
|
655
|
+
</span>
|
|
656
|
+
</auro-dropdown></code></pre>
|
|
657
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
658
|
+
</auro-accordion>
|
|
659
|
+
<auro-header level="3" id="error">Error</auro-header>
|
|
660
|
+
<p>Use the <code>error</code> attribute to apply a persistent error state styling on the dropdown.</p>
|
|
661
|
+
<div class="exampleWrapper">
|
|
662
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/error.html) -->
|
|
663
|
+
<!-- The below content is automatically added from ./../apiExamples/error.html -->
|
|
664
|
+
<auro-dropdown id="error" layout="classic" shape="classic" size="lg" error id="errorDropdownExample">
|
|
665
|
+
<div style="padding: var(--ds-size-150);">
|
|
666
|
+
Lorem ipsum solar
|
|
667
|
+
<br />
|
|
668
|
+
<auro-button id="errorButton">
|
|
669
|
+
Dismiss Dropdown
|
|
670
|
+
</auro-button>
|
|
671
|
+
</div>
|
|
672
|
+
<span slot="helpText">
|
|
673
|
+
Help text
|
|
674
|
+
</span>
|
|
675
|
+
<span slot="label">
|
|
676
|
+
Element label (default text will be read by screen reader)
|
|
677
|
+
</span>
|
|
678
|
+
<div slot="trigger">
|
|
679
|
+
Trigger
|
|
680
|
+
</div>
|
|
681
|
+
</auro-dropdown>
|
|
682
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
683
|
+
</div>
|
|
684
|
+
<div class="exampleWrapper--ondark" aria-hidden>
|
|
685
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/appearance-inverse-error.html) -->
|
|
686
|
+
<!-- The below content is automatically added from ./../apiExamples/appearance-inverse-error.html -->
|
|
687
|
+
<auro-dropdown id="inverseError" appearance="inverse" layout="classic" shape="classic" size="lg" error>
|
|
688
|
+
<div style="padding: var(--ds-size-150);">
|
|
689
|
+
Lorem ipsum solar
|
|
690
|
+
<br />
|
|
691
|
+
<auro-button id="inverseErrorButton">
|
|
692
|
+
Dismiss Dropdown
|
|
693
|
+
</auro-button>
|
|
694
|
+
</div>
|
|
695
|
+
<span slot="helpText">
|
|
696
|
+
Help text
|
|
697
|
+
</span>
|
|
698
|
+
<span slot="label">
|
|
699
|
+
Element label (default text will be read by screen reader)
|
|
700
|
+
</span>
|
|
701
|
+
<div slot="trigger">
|
|
702
|
+
Trigger
|
|
703
|
+
</div>
|
|
704
|
+
</auro-dropdown>
|
|
705
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
706
|
+
</div>
|
|
707
|
+
<auro-accordion alignRight>
|
|
708
|
+
<span slot="trigger">See code</span>
|
|
709
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/error.html) -->
|
|
710
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/error.html -->
|
|
711
|
+
<pre class="language-html"><code class="language-html"><auro-dropdown id="error" layout="classic" shape="classic" size="lg" error id="errorDropdownExample">
|
|
712
|
+
<div style="padding: var(--ds-size-150);">
|
|
713
|
+
Lorem ipsum solar
|
|
714
|
+
<br />
|
|
715
|
+
<auro-button id="errorButton">
|
|
716
|
+
Dismiss Dropdown
|
|
717
|
+
</auro-button>
|
|
718
|
+
</div>
|
|
719
|
+
<span slot="helpText">
|
|
720
|
+
Help text
|
|
721
|
+
</span>
|
|
722
|
+
<span slot="label">
|
|
723
|
+
Element label (default text will be read by screen reader)
|
|
724
|
+
</span>
|
|
725
|
+
<div slot="trigger">
|
|
726
|
+
Trigger
|
|
727
|
+
</div>
|
|
728
|
+
</auro-dropdown></code></pre>
|
|
729
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
730
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/appearance-inverse-error.html) -->
|
|
731
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/appearance-inverse-error.html -->
|
|
732
|
+
<pre class="language-html"><code class="language-html"><auro-dropdown id="inverseError" appearance="inverse" layout="classic" shape="classic" size="lg" error>
|
|
733
|
+
<div style="padding: var(--ds-size-150);">
|
|
734
|
+
Lorem ipsum solar
|
|
735
|
+
<br />
|
|
736
|
+
<auro-button id="inverseErrorButton">
|
|
737
|
+
Dismiss Dropdown
|
|
738
|
+
</auro-button>
|
|
739
|
+
</div>
|
|
740
|
+
<span slot="helpText">
|
|
741
|
+
Help text
|
|
742
|
+
</span>
|
|
743
|
+
<span slot="label">
|
|
744
|
+
Element label (default text will be read by screen reader)
|
|
745
|
+
</span>
|
|
746
|
+
<div slot="trigger">
|
|
747
|
+
Trigger
|
|
748
|
+
</div>
|
|
749
|
+
</auro-dropdown></code></pre>
|
|
750
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
751
|
+
</auro-accordion>
|
|
752
|
+
<auro-header level="3" id="noToggle">No Toggle</auro-header>
|
|
753
|
+
<p>Use the <code>noToggle</code> attribute so the trigger will only show the dropdown bib, not toggle it closed.</p>
|
|
754
|
+
<div class="exampleWrapper">
|
|
755
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/no-toggle.html) -->
|
|
756
|
+
<!-- The below content is automatically added from ./../apiExamples/no-toggle.html -->
|
|
757
|
+
<auro-dropdown aria-label="custom label" noToggle>
|
|
758
|
+
Lorem ipsum solar
|
|
759
|
+
<div slot="trigger">
|
|
760
|
+
Trigger
|
|
761
|
+
</div>
|
|
762
|
+
</auro-dropdown>
|
|
763
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
764
|
+
</div>
|
|
765
|
+
<auro-accordion alignRight>
|
|
766
|
+
<span slot="trigger">See code</span>
|
|
767
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/no-toggle.html) -->
|
|
768
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/no-toggle.html -->
|
|
769
|
+
<pre class="language-html"><code class="language-html"><auro-dropdown aria-label="custom label" noToggle>
|
|
770
|
+
Lorem ipsum solar
|
|
771
|
+
<div slot="trigger">
|
|
772
|
+
Trigger
|
|
773
|
+
</div>
|
|
774
|
+
</auro-dropdown></code></pre>
|
|
775
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
776
|
+
</auro-accordion>
|
|
777
|
+
</section>
|
|
778
|
+
</div>
|
|
779
|
+
</div>
|
|
780
|
+
</div>
|