@aurodesignsystem/auro-formkit 1.6.0-beta.4 → 1.6.0-beta.5
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/.turbo/cache/01aa76a50fa4c8ad-meta.json +1 -0
- package/.turbo/cache/{a174f9409e2dbb04.tar.zst → 01aa76a50fa4c8ad.tar.zst} +0 -0
- package/.turbo/cache/05be1236a4cd5e72-meta.json +1 -0
- package/.turbo/cache/05be1236a4cd5e72.tar.zst +0 -0
- package/.turbo/cache/10feda0f037804bb-meta.json +1 -1
- package/.turbo/cache/144e8e78657bf800-meta.json +1 -1
- package/.turbo/cache/18939b2c7c83b163-meta.json +1 -1
- package/.turbo/cache/1de685df0eaa39c8-meta.json +1 -1
- package/.turbo/cache/1f3b6e5b310ff590-meta.json +1 -1
- package/.turbo/cache/1f53ce3a28c56cdf-meta.json +1 -1
- package/.turbo/cache/23bf100310bd9f5a-meta.json +1 -1
- package/.turbo/cache/2900e7ec28e1488f-meta.json +1 -1
- package/.turbo/cache/296074aadfa2f8c9-meta.json +1 -0
- package/.turbo/cache/296074aadfa2f8c9.tar.zst +0 -0
- package/.turbo/cache/29e29355bf6fb4fd-meta.json +1 -0
- package/.turbo/cache/2ca214d032893e74-meta.json +1 -0
- package/.turbo/cache/{12f223ca7c12a587.tar.zst → 2ca214d032893e74.tar.zst} +0 -0
- package/.turbo/cache/2dd00eb6e255bd02-meta.json +1 -1
- package/.turbo/cache/3073b96f6e4d867c-meta.json +1 -0
- package/.turbo/cache/33466ea2930c3714-meta.json +1 -1
- package/.turbo/cache/3792d285b464b3e6-meta.json +1 -0
- package/.turbo/cache/3792d285b464b3e6.tar.zst +0 -0
- package/.turbo/cache/38030191e9c3ecd0-meta.json +1 -0
- package/.turbo/cache/38030191e9c3ecd0.tar.zst +0 -0
- package/.turbo/cache/3ac4a22a21bdc2be-meta.json +1 -0
- package/.turbo/cache/{06e8fe5b2ddad186.tar.zst → 3ac4a22a21bdc2be.tar.zst} +0 -0
- package/.turbo/cache/451e562c76f74ec6-meta.json +1 -1
- package/.turbo/cache/4520919609c97850-meta.json +1 -1
- package/.turbo/cache/452908d0b0b676bc-meta.json +1 -0
- package/.turbo/cache/48c197e39ed31fd2-meta.json +1 -0
- package/.turbo/cache/{821d931bf082b7de.tar.zst → 48c197e39ed31fd2.tar.zst} +0 -0
- package/.turbo/cache/5058ecc7f1e34496-meta.json +1 -1
- package/.turbo/cache/54475627b302de03-meta.json +1 -0
- package/.turbo/cache/{6bbc14e82dbe2dab.tar.zst → 54475627b302de03.tar.zst} +0 -0
- package/.turbo/cache/5a66a99aa1344401-meta.json +1 -0
- package/.turbo/cache/5b66ce21630716cc-meta.json +1 -0
- package/.turbo/cache/5d064e768a262314-meta.json +1 -0
- package/.turbo/cache/5f324af6052902f3-meta.json +1 -0
- package/.turbo/cache/6bc6e817c13e2b9d-meta.json +1 -0
- package/.turbo/cache/6bc6e817c13e2b9d.tar.zst +0 -0
- package/.turbo/cache/6f2c238248445944-meta.json +1 -0
- package/.turbo/cache/{fdce614efad05760.tar.zst → 6f2c238248445944.tar.zst} +0 -0
- package/.turbo/cache/70d7b72f15ee97a4-meta.json +1 -1
- package/.turbo/cache/754a6b5c5ce1ed00-meta.json +1 -0
- package/.turbo/cache/{ec4e1a5bd603f7ef.tar.zst → 754a6b5c5ce1ed00.tar.zst} +0 -0
- package/.turbo/cache/77bf3068f493ef24-meta.json +1 -0
- package/.turbo/cache/{4a510678a1fcfe5c.tar.zst → 77bf3068f493ef24.tar.zst} +0 -0
- package/.turbo/cache/7ddb7ace73fe6ec2-meta.json +1 -1
- package/.turbo/cache/897b0d8a0c301207-meta.json +1 -1
- package/.turbo/cache/8a47fd250364f95a-meta.json +1 -0
- package/.turbo/cache/8b7cdb9a0d4c3112-meta.json +1 -1
- package/.turbo/cache/8e1f402b247ebed6-meta.json +1 -0
- package/.turbo/cache/{62519d73b891d83c.tar.zst → 8e1f402b247ebed6.tar.zst} +0 -0
- package/.turbo/cache/9135f474c69d1b3c-meta.json +1 -1
- package/.turbo/cache/9a7ab914e08ce75f-meta.json +1 -1
- package/.turbo/cache/a7bf477bbdabc7bc-meta.json +1 -1
- package/.turbo/cache/a90aa34f427a2f62-meta.json +1 -1
- package/.turbo/cache/ae152fd876a6f549-meta.json +1 -0
- package/.turbo/cache/ae152fd876a6f549.tar.zst +0 -0
- package/.turbo/cache/b61416daf63fbaad-meta.json +1 -1
- package/.turbo/cache/b9463532618cdc61-meta.json +1 -1
- package/.turbo/cache/bb3afea40c91e8ba-meta.json +1 -1
- package/.turbo/cache/c63dc7b6157da70b-meta.json +1 -1
- package/.turbo/cache/c8b63b6e8a190eb9-meta.json +1 -1
- package/.turbo/cache/d35b1eee9f2881af-meta.json +1 -1
- package/.turbo/cache/d5188c0fbe45d578-meta.json +1 -0
- package/.turbo/cache/d8bd6f80733c28af-meta.json +1 -1
- package/.turbo/cache/dce6f67be2b63c18-meta.json +1 -0
- package/.turbo/cache/dfe3a7b21c7fcb08-meta.json +1 -0
- package/.turbo/cache/e4b3ec56d4ae56ba-meta.json +1 -1
- package/.turbo/cache/e6f030eddf6fbf4e-meta.json +1 -1
- package/.turbo/cache/f8664d3dce006bdf-meta.json +1 -0
- package/.turbo/cache/f8664d3dce006bdf.tar.zst +0 -0
- package/.turbo/cache/ff7e6d09efd93145-meta.json +1 -0
- package/.turbo/cache/ff7e6d09efd93145.tar.zst +0 -0
- package/CHANGELOG.md +7 -0
- package/README.md +4 -4
- package/components/checkbox/.turbo/turbo-build.log +3 -3
- package/components/checkbox/.turbo/turbo-bundler.log +3 -3
- package/components/combobox/.turbo/turbo-build.log +3 -3
- package/components/counter/.turbo/turbo-build.log +3 -3
- package/components/counter/.turbo/turbo-bundler.log +3 -3
- package/components/datepicker/.turbo/turbo-build.log +3 -3
- package/components/dropdown/.turbo/turbo-build.log +3 -3
- package/components/dropdown/.turbo/turbo-bundler.log +3 -3
- package/components/form/.turbo/turbo-build.log +3 -3
- package/components/form/.turbo/turbo-bundler.log +3 -3
- package/components/input/.turbo/turbo-build.log +3 -3
- package/components/input/.turbo/turbo-bundler.log +3 -3
- package/components/menu/.turbo/turbo-build.log +3 -3
- package/components/menu/.turbo/turbo-bundler.log +3 -3
- package/components/radio/.turbo/turbo-build.log +3 -3
- package/components/radio/.turbo/turbo-bundler.log +3 -3
- package/components/select/.turbo/turbo-build.log +3 -3
- package/package.json +2 -2
- package/packages/build-tools/package.json +1 -4
- package/.turbo/cache/06e8fe5b2ddad186-meta.json +0 -1
- package/.turbo/cache/12f223ca7c12a587-meta.json +0 -1
- package/.turbo/cache/235d3af66386f827-meta.json +0 -1
- package/.turbo/cache/235d3af66386f827.tar.zst +0 -0
- package/.turbo/cache/45542e8beda9bb05-meta.json +0 -1
- package/.turbo/cache/4a510678a1fcfe5c-meta.json +0 -1
- package/.turbo/cache/5e689c61e1109b98-meta.json +0 -1
- package/.turbo/cache/5e689c61e1109b98.tar.zst +0 -0
- package/.turbo/cache/62519d73b891d83c-meta.json +0 -1
- package/.turbo/cache/65511706643c4a44-meta.json +0 -1
- package/.turbo/cache/6992d7134a39e43e-meta.json +0 -1
- package/.turbo/cache/6992d7134a39e43e.tar.zst +0 -0
- package/.turbo/cache/6bbc14e82dbe2dab-meta.json +0 -1
- package/.turbo/cache/706d4f762cc8061c-meta.json +0 -1
- package/.turbo/cache/706d4f762cc8061c.tar.zst +0 -0
- package/.turbo/cache/7255686674920f97-meta.json +0 -1
- package/.turbo/cache/73572172d84713cd-meta.json +0 -1
- package/.turbo/cache/7e901cc4235b7051-meta.json +0 -1
- package/.turbo/cache/821d931bf082b7de-meta.json +0 -1
- package/.turbo/cache/a174f9409e2dbb04-meta.json +0 -1
- package/.turbo/cache/aeee74f29106cab5-meta.json +0 -1
- package/.turbo/cache/aeee74f29106cab5.tar.zst +0 -0
- package/.turbo/cache/c2e5da6599ac51c9-meta.json +0 -1
- package/.turbo/cache/c2e5da6599ac51c9.tar.zst +0 -0
- package/.turbo/cache/c53689c4c8b7448c-meta.json +0 -1
- package/.turbo/cache/c53689c4c8b7448c.tar.zst +0 -0
- package/.turbo/cache/c7bb3445b71ead45-meta.json +0 -1
- package/.turbo/cache/cd8bab87240a17ed-meta.json +0 -1
- package/.turbo/cache/d641ace8fafc5cd2-meta.json +0 -1
- package/.turbo/cache/e81d7d64333b17e4-meta.json +0 -1
- package/.turbo/cache/ec4e1a5bd603f7ef-meta.json +0 -1
- package/.turbo/cache/f6ee0c1e3e6753e1-meta.json +0 -1
- package/.turbo/cache/f6ee0c1e3e6753e1.tar.zst +0 -0
- package/.turbo/cache/f88563bd8d462bf1-meta.json +0 -1
- package/.turbo/cache/fdce614efad05760-meta.json +0 -1
- package/.turbo/cache/fdd1bdd173a4185c-meta.json +0 -1
- package/components/counter/demo/api.md +0 -1053
- package/components/counter/demo/index.md +0 -12
- /package/.turbo/cache/{fdd1bdd173a4185c.tar.zst → 29e29355bf6fb4fd.tar.zst} +0 -0
- /package/.turbo/cache/{7e901cc4235b7051.tar.zst → 3073b96f6e4d867c.tar.zst} +0 -0
- /package/.turbo/cache/{d641ace8fafc5cd2.tar.zst → 452908d0b0b676bc.tar.zst} +0 -0
- /package/.turbo/cache/{f88563bd8d462bf1.tar.zst → 5a66a99aa1344401.tar.zst} +0 -0
- /package/.turbo/cache/{73572172d84713cd.tar.zst → 5b66ce21630716cc.tar.zst} +0 -0
- /package/.turbo/cache/{e81d7d64333b17e4.tar.zst → 5d064e768a262314.tar.zst} +0 -0
- /package/.turbo/cache/{c7bb3445b71ead45.tar.zst → 5f324af6052902f3.tar.zst} +0 -0
- /package/.turbo/cache/{65511706643c4a44.tar.zst → 8a47fd250364f95a.tar.zst} +0 -0
- /package/.turbo/cache/{45542e8beda9bb05.tar.zst → d5188c0fbe45d578.tar.zst} +0 -0
- /package/.turbo/cache/{7255686674920f97.tar.zst → dce6f67be2b63c18.tar.zst} +0 -0
- /package/.turbo/cache/{cd8bab87240a17ed.tar.zst → dfe3a7b21c7fcb08.tar.zst} +0 -0
|
@@ -1,1053 +0,0 @@
|
|
|
1
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../api.md) -->
|
|
2
|
-
<!-- The below content is automatically added from ./../api.md -->
|
|
3
|
-
|
|
4
|
-
# auro-counter
|
|
5
|
-
|
|
6
|
-
## Attributes
|
|
7
|
-
|
|
8
|
-
| Attribute | Type | Description |
|
|
9
|
-
|--------------------|-------------|--------------------------------------------------|
|
|
10
|
-
| [disableEventShow](#disableEventShow) | ` Boolean ` | If declared, the dropdown will only show by calling the API .show() public method. |
|
|
11
|
-
|
|
12
|
-
## Properties
|
|
13
|
-
|
|
14
|
-
| Property | Attribute | Type | Default | Description |
|
|
15
|
-
|-------------------------|-------------------------|-------------|---------|--------------------------------------------------|
|
|
16
|
-
| [bordered](#bordered) | `bordered` | ` Boolean ` | | If declared, applies a border around the trigger slot. |
|
|
17
|
-
| [chevron](#chevron) | `chevron` | ` Boolean ` | | If declared, the dropdown displays an display state chevron on the right. |
|
|
18
|
-
| [disabled](#disabled) | `disabled` | ` Boolean ` | | If declared, the dropdown is not interactive. |
|
|
19
|
-
| [error](#error) | `error` | ` Boolean ` | | If declared in combination with `bordered` property or `helpText` slot content, will apply red color to both. |
|
|
20
|
-
| [inset](#inset) | `inset` | ` Boolean ` | | If declared, will apply padding around trigger slot content. |
|
|
21
|
-
| [isPopoverVisible](#isPopoverVisible) | `isPopoverVisible` | ` Boolean ` | false | If true, the dropdown bib is displayed. |
|
|
22
|
-
| [matchWidth](#matchWidth) | `matchWidth` | ` Boolean ` | false | If declared, the popover and trigger will be set to the same width. |
|
|
23
|
-
| [noHideOnThisFocusLoss](#noHideOnThisFocusLoss) | `noHideOnThisFocusLoss` | ` Boolean ` | false | If delclared, the dropdown will not hide when moving focus outside the element. |
|
|
24
|
-
| [noToggle](#noToggle) | `noToggle` | ` Boolean ` | | If declared, the trigger will only show the the dropdown bib. |
|
|
25
|
-
| [ready](#ready) | `ready` | ` Boolean ` | | When false the component API should not be called. |
|
|
26
|
-
| [rounded](#rounded) | `rounded` | ` Boolean ` | | If declared, will apply border-radius to trigger and default slots. |
|
|
27
|
-
|
|
28
|
-
## Methods
|
|
29
|
-
|
|
30
|
-
| Method | Type | Description |
|
|
31
|
-
|--------|------------|-----------------------------|
|
|
32
|
-
| [hide](#hide) | `(): void` | Hides the dropdown content. |
|
|
33
|
-
| [show](#show) | `(): void` | Shows the dropdown content. |
|
|
34
|
-
|
|
35
|
-
## Events
|
|
36
|
-
|
|
37
|
-
| Event | Type | Description |
|
|
38
|
-
|-----------------------------|---------------------------------------|--------------------------------------------------|
|
|
39
|
-
| `auroDropdown-ready` | `CustomEvent<any>` | Notifies that the component has finished initializing. |
|
|
40
|
-
| `auroDropdown-toggled` | `CustomEvent<{ expanded: boolean; }>` | Notifies that the visibility of the dropdown bib has changed. |
|
|
41
|
-
| `auroDropdown-triggerClick` | `CustomEvent<any>` | Notifies that the trigger has been clicked. |
|
|
42
|
-
| [dropdownToggled](#dropdownToggled) | `CustomEvent<{ expanded: boolean; }>` | (DEPRECATED) Notifies that the visibility of the dropdown bib has changed. |
|
|
43
|
-
|
|
44
|
-
## Slots
|
|
45
|
-
|
|
46
|
-
| Name | Description |
|
|
47
|
-
|------------|---------------------------------------|
|
|
48
|
-
| | Default slot for the popover content. |
|
|
49
|
-
| [helpText](#helpText) | Defines the content of the helpText. |
|
|
50
|
-
| [label](#label) | Defines the content of the label. |
|
|
51
|
-
| [trigger](#trigger) | Defines the content of the trigger. |
|
|
52
|
-
|
|
53
|
-
## CSS Shadow Parts
|
|
54
|
-
|
|
55
|
-
| Part | Description |
|
|
56
|
-
|------------|----------------------------------------------|
|
|
57
|
-
| [chevron](#chevron) | The collapsed/expanded state icon container. |
|
|
58
|
-
| [helpText](#helpText) | The helpText content container. |
|
|
59
|
-
| [popover](#popover) | The bib content container. |
|
|
60
|
-
| [trigger](#trigger) | The trigger content container. |
|
|
61
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
62
|
-
|
|
63
|
-
## API Examples
|
|
64
|
-
|
|
65
|
-
### Basic
|
|
66
|
-
|
|
67
|
-
The most basic, simple version of auro-drodown.
|
|
68
|
-
|
|
69
|
-
<div class="exampleWrapper">
|
|
70
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/basic.html) -->
|
|
71
|
-
<!-- The below content is automatically added from ./../../apiExamples/basic.html -->
|
|
72
|
-
<auro-counter aria-label="custom label">
|
|
73
|
-
Lorem ipsum solar
|
|
74
|
-
<div slot="trigger">
|
|
75
|
-
Trigger
|
|
76
|
-
</div>
|
|
77
|
-
</auro-counter>
|
|
78
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
79
|
-
</div>
|
|
80
|
-
<auro-accordion alignRight>
|
|
81
|
-
<span slot="trigger">See code</span>
|
|
82
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../apiExamples/basic.html) -->
|
|
83
|
-
<!-- The below code snippet is automatically added from ./../../apiExamples/basic.html -->
|
|
84
|
-
|
|
85
|
-
```html
|
|
86
|
-
<auro-counter aria-label="custom label">
|
|
87
|
-
Lorem ipsum solar
|
|
88
|
-
<div slot="trigger">
|
|
89
|
-
Trigger
|
|
90
|
-
</div>
|
|
91
|
-
</auro-counter>
|
|
92
|
-
```
|
|
93
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
94
|
-
</auro-accordion>
|
|
95
|
-
<div class="exampleWrapper">
|
|
96
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/basicIcon.html) -->
|
|
97
|
-
<!-- The below content is automatically added from ./../../apiExamples/basicIcon.html -->
|
|
98
|
-
<auro-counter aria-label="custom label">
|
|
99
|
-
Lorem ipsum solar
|
|
100
|
-
<div slot="trigger">
|
|
101
|
-
<auro-icon
|
|
102
|
-
category="interface"
|
|
103
|
-
name="arrow-down"></auro-icon>
|
|
104
|
-
</div>
|
|
105
|
-
</auro-counter>
|
|
106
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
107
|
-
</div>
|
|
108
|
-
<auro-accordion alignRight>
|
|
109
|
-
<span slot="trigger">See code</span>
|
|
110
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../apiExamples/basicIcon.html) -->
|
|
111
|
-
<!-- The below code snippet is automatically added from ./../../apiExamples/basicIcon.html -->
|
|
112
|
-
|
|
113
|
-
```html
|
|
114
|
-
<auro-counter aria-label="custom label">
|
|
115
|
-
Lorem ipsum solar
|
|
116
|
-
<div slot="trigger">
|
|
117
|
-
<auro-icon
|
|
118
|
-
category="interface"
|
|
119
|
-
name="arrow-down"></auro-icon>
|
|
120
|
-
</div>
|
|
121
|
-
</auro-counter>
|
|
122
|
-
```
|
|
123
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
124
|
-
</auro-accordion>
|
|
125
|
-
<div class="exampleWrapper">
|
|
126
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/basicButton.html) -->
|
|
127
|
-
<!-- The below content is automatically added from ./../../apiExamples/basicButton.html -->
|
|
128
|
-
<auro-counter aria-label="custom label">
|
|
129
|
-
Lorem ipsum solar
|
|
130
|
-
<div slot="trigger">
|
|
131
|
-
<auro-button
|
|
132
|
-
slot="trigger"
|
|
133
|
-
fluid>
|
|
134
|
-
Dropdown
|
|
135
|
-
</auro-button>
|
|
136
|
-
</div>
|
|
137
|
-
</auro-counter>
|
|
138
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
139
|
-
</div>
|
|
140
|
-
<auro-accordion alignRight>
|
|
141
|
-
<span slot="trigger">See code</span>
|
|
142
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../apiExamples/basicButton.html) -->
|
|
143
|
-
<!-- The below code snippet is automatically added from ./../../apiExamples/basicButton.html -->
|
|
144
|
-
|
|
145
|
-
```html
|
|
146
|
-
<auro-counter aria-label="custom label">
|
|
147
|
-
Lorem ipsum solar
|
|
148
|
-
<div slot="trigger">
|
|
149
|
-
<auro-button
|
|
150
|
-
slot="trigger"
|
|
151
|
-
fluid>
|
|
152
|
-
Dropdown
|
|
153
|
-
</auro-button>
|
|
154
|
-
</div>
|
|
155
|
-
</auro-counter>
|
|
156
|
-
```
|
|
157
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
158
|
-
</auro-accordion>
|
|
159
|
-
<div class="exampleWrapper">
|
|
160
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/basicInput.html) -->
|
|
161
|
-
<!-- The below content is automatically added from ./../../apiExamples/basicInput.html -->
|
|
162
|
-
<auro-counter aria-label="custom label">
|
|
163
|
-
Lorem ipsum solar
|
|
164
|
-
<div slot="trigger">
|
|
165
|
-
<auro-input
|
|
166
|
-
borderless
|
|
167
|
-
slot="trigger"
|
|
168
|
-
id="inputExampleTrigger">
|
|
169
|
-
</auro-input>
|
|
170
|
-
</div>
|
|
171
|
-
</auro-counter>
|
|
172
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
173
|
-
</div>
|
|
174
|
-
<auro-accordion alignRight>
|
|
175
|
-
<span slot="trigger">See code</span>
|
|
176
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../apiExamples/basicInput.html) -->
|
|
177
|
-
<!-- The below code snippet is automatically added from ./../../apiExamples/basicInput.html -->
|
|
178
|
-
|
|
179
|
-
```html
|
|
180
|
-
<auro-counter aria-label="custom label">
|
|
181
|
-
Lorem ipsum solar
|
|
182
|
-
<div slot="trigger">
|
|
183
|
-
<auro-input
|
|
184
|
-
borderless
|
|
185
|
-
slot="trigger"
|
|
186
|
-
id="inputExampleTrigger">
|
|
187
|
-
</auro-input>
|
|
188
|
-
</div>
|
|
189
|
-
</auro-counter>
|
|
190
|
-
```
|
|
191
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
192
|
-
</auro-accordion>
|
|
193
|
-
|
|
194
|
-
### Property Examples
|
|
195
|
-
|
|
196
|
-
#### bordered
|
|
197
|
-
|
|
198
|
-
Adds the border style around the dropdown trigger.
|
|
199
|
-
|
|
200
|
-
<div class="exampleWrapper">
|
|
201
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/bordered.html) -->
|
|
202
|
-
<!-- The below content is automatically added from ./../../apiExamples/bordered.html -->
|
|
203
|
-
<auro-counter aria-label="custom label" bordered>
|
|
204
|
-
Lorem ipsum solar
|
|
205
|
-
<div slot="trigger">
|
|
206
|
-
Trigger
|
|
207
|
-
</div>
|
|
208
|
-
</auro-counter>
|
|
209
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
210
|
-
</div>
|
|
211
|
-
<auro-accordion alignRight>
|
|
212
|
-
<span slot="trigger">See code</span>
|
|
213
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../apiExamples/bordered.html) -->
|
|
214
|
-
<!-- The below code snippet is automatically added from ./../../apiExamples/bordered.html -->
|
|
215
|
-
|
|
216
|
-
```html
|
|
217
|
-
<auro-counter aria-label="custom label" bordered>
|
|
218
|
-
Lorem ipsum solar
|
|
219
|
-
<div slot="trigger">
|
|
220
|
-
Trigger
|
|
221
|
-
</div>
|
|
222
|
-
</auro-counter>
|
|
223
|
-
```
|
|
224
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
225
|
-
</auro-accordion>
|
|
226
|
-
|
|
227
|
-
#### chevron
|
|
228
|
-
|
|
229
|
-
Adds the bib visibility state chevron to the right side of the trigger content.
|
|
230
|
-
|
|
231
|
-
<div class="exampleWrapper">
|
|
232
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/chevron.html) -->
|
|
233
|
-
<!-- The below content is automatically added from ./../../apiExamples/chevron.html -->
|
|
234
|
-
<auro-counter aria-label="custom label" chevron>
|
|
235
|
-
Lorem ipsum solar
|
|
236
|
-
<div slot="trigger">
|
|
237
|
-
Trigger
|
|
238
|
-
</div>
|
|
239
|
-
</auro-counter>
|
|
240
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
241
|
-
</div>
|
|
242
|
-
<auro-accordion alignRight>
|
|
243
|
-
<span slot="trigger">See code</span>
|
|
244
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../apiExamples/chevron.html) -->
|
|
245
|
-
<!-- The below code snippet is automatically added from ./../../apiExamples/chevron.html -->
|
|
246
|
-
|
|
247
|
-
```html
|
|
248
|
-
<auro-counter aria-label="custom label" chevron>
|
|
249
|
-
Lorem ipsum solar
|
|
250
|
-
<div slot="trigger">
|
|
251
|
-
Trigger
|
|
252
|
-
</div>
|
|
253
|
-
</auro-counter>
|
|
254
|
-
```
|
|
255
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
256
|
-
</auro-accordion>
|
|
257
|
-
<div class="exampleWrapper">
|
|
258
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/chevronIcon.html) -->
|
|
259
|
-
<!-- The below content is automatically added from ./../../apiExamples/chevronIcon.html -->
|
|
260
|
-
<auro-counter aria-label="custom label" chevron>
|
|
261
|
-
Lorem ipsum solar
|
|
262
|
-
<div slot="trigger">
|
|
263
|
-
<auro-icon
|
|
264
|
-
category="interface"
|
|
265
|
-
name="arrow-down"></auro-icon>
|
|
266
|
-
</div>
|
|
267
|
-
</auro-counter>
|
|
268
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
269
|
-
</div>
|
|
270
|
-
<auro-accordion alignRight>
|
|
271
|
-
<span slot="trigger">See code</span>
|
|
272
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../apiExamples/chevronIcon.html) -->
|
|
273
|
-
<!-- The below code snippet is automatically added from ./../../apiExamples/chevronIcon.html -->
|
|
274
|
-
|
|
275
|
-
```html
|
|
276
|
-
<auro-counter aria-label="custom label" chevron>
|
|
277
|
-
Lorem ipsum solar
|
|
278
|
-
<div slot="trigger">
|
|
279
|
-
<auro-icon
|
|
280
|
-
category="interface"
|
|
281
|
-
name="arrow-down"></auro-icon>
|
|
282
|
-
</div>
|
|
283
|
-
</auro-counter>
|
|
284
|
-
```
|
|
285
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
286
|
-
</auro-accordion>
|
|
287
|
-
<div class="exampleWrapper">
|
|
288
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/chevronButton.html) -->
|
|
289
|
-
<!-- The below content is automatically added from ./../../apiExamples/chevronButton.html -->
|
|
290
|
-
<auro-counter aria-label="custom label" chevron>
|
|
291
|
-
Lorem ipsum solar
|
|
292
|
-
<div slot="trigger">
|
|
293
|
-
<auro-button
|
|
294
|
-
slot="trigger"
|
|
295
|
-
fluid>
|
|
296
|
-
Dropdown
|
|
297
|
-
</auro-button>
|
|
298
|
-
</div>
|
|
299
|
-
</auro-counter>
|
|
300
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
301
|
-
</div>
|
|
302
|
-
<auro-accordion alignRight>
|
|
303
|
-
<span slot="trigger">See code</span>
|
|
304
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../apiExamples/chevronButton.html) -->
|
|
305
|
-
<!-- The below code snippet is automatically added from ./../../apiExamples/chevronButton.html -->
|
|
306
|
-
|
|
307
|
-
```html
|
|
308
|
-
<auro-counter aria-label="custom label" chevron>
|
|
309
|
-
Lorem ipsum solar
|
|
310
|
-
<div slot="trigger">
|
|
311
|
-
<auro-button
|
|
312
|
-
slot="trigger"
|
|
313
|
-
fluid>
|
|
314
|
-
Dropdown
|
|
315
|
-
</auro-button>
|
|
316
|
-
</div>
|
|
317
|
-
</auro-counter>
|
|
318
|
-
```
|
|
319
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
320
|
-
</auro-accordion>
|
|
321
|
-
<div class="exampleWrapper">
|
|
322
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/chevronInput.html) -->
|
|
323
|
-
<!-- The below content is automatically added from ./../../apiExamples/chevronInput.html -->
|
|
324
|
-
<auro-counter aria-label="custom label" chevron>
|
|
325
|
-
Lorem ipsum solar
|
|
326
|
-
<div slot="trigger">
|
|
327
|
-
<auro-input
|
|
328
|
-
slot="trigger"
|
|
329
|
-
id="inputExampleTrigger">
|
|
330
|
-
</auro-input>
|
|
331
|
-
</div>
|
|
332
|
-
</auro-counter>
|
|
333
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
334
|
-
</div>
|
|
335
|
-
<auro-accordion alignRight>
|
|
336
|
-
<span slot="trigger">See code</span>
|
|
337
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../apiExamples/chevronInput.html) -->
|
|
338
|
-
<!-- The below code snippet is automatically added from ./../../apiExamples/chevronInput.html -->
|
|
339
|
-
|
|
340
|
-
```html
|
|
341
|
-
<auro-counter aria-label="custom label" chevron>
|
|
342
|
-
Lorem ipsum solar
|
|
343
|
-
<div slot="trigger">
|
|
344
|
-
<auro-input
|
|
345
|
-
slot="trigger"
|
|
346
|
-
id="inputExampleTrigger">
|
|
347
|
-
</auro-input>
|
|
348
|
-
</div>
|
|
349
|
-
</auro-counter>
|
|
350
|
-
```
|
|
351
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
352
|
-
</auro-accordion>
|
|
353
|
-
|
|
354
|
-
#### disabled
|
|
355
|
-
|
|
356
|
-
Disables the trigger preventing the dropdown bib from being shown.
|
|
357
|
-
|
|
358
|
-
<div class="exampleWrapper">
|
|
359
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/disabled.html) -->
|
|
360
|
-
<!-- The below content is automatically added from ./../../apiExamples/disabled.html -->
|
|
361
|
-
<auro-counter aria-label="custom label" disabled>
|
|
362
|
-
Lorem ipsum solar
|
|
363
|
-
<div slot="trigger">
|
|
364
|
-
Trigger
|
|
365
|
-
</div>
|
|
366
|
-
</auro-counter>
|
|
367
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
368
|
-
</div>
|
|
369
|
-
<auro-accordion alignRight>
|
|
370
|
-
<span slot="trigger">See code</span>
|
|
371
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../apiExamples/disabled.html) -->
|
|
372
|
-
<!-- The below code snippet is automatically added from ./../../apiExamples/disabled.html -->
|
|
373
|
-
|
|
374
|
-
```html
|
|
375
|
-
<auro-counter aria-label="custom label" disabled>
|
|
376
|
-
Lorem ipsum solar
|
|
377
|
-
<div slot="trigger">
|
|
378
|
-
Trigger
|
|
379
|
-
</div>
|
|
380
|
-
</auro-counter>
|
|
381
|
-
```
|
|
382
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
383
|
-
</auro-accordion>
|
|
384
|
-
<div class="exampleWrapper">
|
|
385
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/disabledAll.html) -->
|
|
386
|
-
<!-- The below content is automatically added from ./../../apiExamples/disabledAll.html -->
|
|
387
|
-
<auro-counter
|
|
388
|
-
aria-label="custom label"
|
|
389
|
-
disabled
|
|
390
|
-
chevron
|
|
391
|
-
rounded
|
|
392
|
-
inset
|
|
393
|
-
bordered>
|
|
394
|
-
Lorem ipsum solar
|
|
395
|
-
<div slot="trigger">
|
|
396
|
-
Trigger
|
|
397
|
-
</div>
|
|
398
|
-
<span slot="helpText">
|
|
399
|
-
Helper text
|
|
400
|
-
</span>
|
|
401
|
-
<span slot="label">
|
|
402
|
-
Name
|
|
403
|
-
</span>
|
|
404
|
-
</auro-counter>
|
|
405
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
406
|
-
</div>
|
|
407
|
-
<auro-accordion alignRight>
|
|
408
|
-
<span slot="trigger">See code</span>
|
|
409
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../apiExamples/disabledAll.html) -->
|
|
410
|
-
<!-- The below code snippet is automatically added from ./../../apiExamples/disabledAll.html -->
|
|
411
|
-
|
|
412
|
-
```html
|
|
413
|
-
<auro-counter
|
|
414
|
-
aria-label="custom label"
|
|
415
|
-
disabled
|
|
416
|
-
chevron
|
|
417
|
-
rounded
|
|
418
|
-
inset
|
|
419
|
-
bordered>
|
|
420
|
-
Lorem ipsum solar
|
|
421
|
-
<div slot="trigger">
|
|
422
|
-
Trigger
|
|
423
|
-
</div>
|
|
424
|
-
<span slot="helpText">
|
|
425
|
-
Helper text
|
|
426
|
-
</span>
|
|
427
|
-
<span slot="label">
|
|
428
|
-
Name
|
|
429
|
-
</span>
|
|
430
|
-
</auro-counter>
|
|
431
|
-
```
|
|
432
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
433
|
-
</auro-accordion>
|
|
434
|
-
|
|
435
|
-
#### error
|
|
436
|
-
|
|
437
|
-
Adds the error state UI to the trigger.
|
|
438
|
-
|
|
439
|
-
<div class="exampleWrapper">
|
|
440
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/error.html) -->
|
|
441
|
-
<!-- The below content is automatically added from ./../../apiExamples/error.html -->
|
|
442
|
-
<auro-counter aria-label="custom label" error>
|
|
443
|
-
Lorem ipsum solar
|
|
444
|
-
<div slot="trigger">
|
|
445
|
-
Trigger
|
|
446
|
-
</div>
|
|
447
|
-
</auro-counter>
|
|
448
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
449
|
-
</div>
|
|
450
|
-
<auro-accordion alignRight>
|
|
451
|
-
<span slot="trigger">See code</span>
|
|
452
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../apiExamples/error.html) -->
|
|
453
|
-
<!-- The below code snippet is automatically added from ./../../apiExamples/error.html -->
|
|
454
|
-
|
|
455
|
-
```html
|
|
456
|
-
<auro-counter aria-label="custom label" error>
|
|
457
|
-
Lorem ipsum solar
|
|
458
|
-
<div slot="trigger">
|
|
459
|
-
Trigger
|
|
460
|
-
</div>
|
|
461
|
-
</auro-counter>
|
|
462
|
-
```
|
|
463
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
464
|
-
</auro-accordion>
|
|
465
|
-
<div class="exampleWrapper">
|
|
466
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/errorBordered.html) -->
|
|
467
|
-
<!-- The below content is automatically added from ./../../apiExamples/errorBordered.html -->
|
|
468
|
-
<auro-counter
|
|
469
|
-
aria-label="custom label"
|
|
470
|
-
inset
|
|
471
|
-
error
|
|
472
|
-
rounded
|
|
473
|
-
bordered>
|
|
474
|
-
Lorem ipsum solar
|
|
475
|
-
<div slot="trigger">
|
|
476
|
-
Trigger
|
|
477
|
-
</div>
|
|
478
|
-
</auro-counter>
|
|
479
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
480
|
-
</div>
|
|
481
|
-
<auro-accordion alignRight>
|
|
482
|
-
<span slot="trigger">See code</span>
|
|
483
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../apiExamples/errorBordered.html) -->
|
|
484
|
-
<!-- The below code snippet is automatically added from ./../../apiExamples/errorBordered.html -->
|
|
485
|
-
|
|
486
|
-
```html
|
|
487
|
-
<auro-counter
|
|
488
|
-
aria-label="custom label"
|
|
489
|
-
inset
|
|
490
|
-
error
|
|
491
|
-
rounded
|
|
492
|
-
bordered>
|
|
493
|
-
Lorem ipsum solar
|
|
494
|
-
<div slot="trigger">
|
|
495
|
-
Trigger
|
|
496
|
-
</div>
|
|
497
|
-
</auro-counter>
|
|
498
|
-
```
|
|
499
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
500
|
-
</auro-accordion>
|
|
501
|
-
|
|
502
|
-
#### inset
|
|
503
|
-
|
|
504
|
-
The `inset` property applies a predefined amount of CSS `padding` to the `trigger` slot content.
|
|
505
|
-
|
|
506
|
-
<div class="exampleWrapper">
|
|
507
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/inset.html) -->
|
|
508
|
-
<!-- The below content is automatically added from ./../../apiExamples/inset.html -->
|
|
509
|
-
<auro-counter aria-label="custom label" inset>
|
|
510
|
-
Lorem ipsum solar
|
|
511
|
-
<div slot="trigger">
|
|
512
|
-
Trigger
|
|
513
|
-
</div>
|
|
514
|
-
</auro-counter>
|
|
515
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
516
|
-
</div>
|
|
517
|
-
<auro-accordion alignRight>
|
|
518
|
-
<span slot="trigger">See code</span>
|
|
519
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../apiExamples/inset.html) -->
|
|
520
|
-
<!-- The below code snippet is automatically added from ./../../apiExamples/inset.html -->
|
|
521
|
-
|
|
522
|
-
```html
|
|
523
|
-
<auro-counter aria-label="custom label" inset>
|
|
524
|
-
Lorem ipsum solar
|
|
525
|
-
<div slot="trigger">
|
|
526
|
-
Trigger
|
|
527
|
-
</div>
|
|
528
|
-
</auro-counter>
|
|
529
|
-
```
|
|
530
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
531
|
-
</auro-accordion>
|
|
532
|
-
<div class="exampleWrapper">
|
|
533
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/insetBordered.html) -->
|
|
534
|
-
<!-- The below content is automatically added from ./../../apiExamples/insetBordered.html -->
|
|
535
|
-
<auro-counter
|
|
536
|
-
aria-label="custom label"
|
|
537
|
-
inset
|
|
538
|
-
rounded
|
|
539
|
-
bordered>
|
|
540
|
-
Lorem ipsum solar
|
|
541
|
-
<div slot="trigger">
|
|
542
|
-
Trigger
|
|
543
|
-
</div>
|
|
544
|
-
</auro-counter>
|
|
545
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
546
|
-
</div>
|
|
547
|
-
<auro-accordion alignRight>
|
|
548
|
-
<span slot="trigger">See code</span>
|
|
549
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../apiExamples/insetBordered.html) -->
|
|
550
|
-
<!-- The below code snippet is automatically added from ./../../apiExamples/insetBordered.html -->
|
|
551
|
-
|
|
552
|
-
```html
|
|
553
|
-
<auro-counter
|
|
554
|
-
aria-label="custom label"
|
|
555
|
-
inset
|
|
556
|
-
rounded
|
|
557
|
-
bordered>
|
|
558
|
-
Lorem ipsum solar
|
|
559
|
-
<div slot="trigger">
|
|
560
|
-
Trigger
|
|
561
|
-
</div>
|
|
562
|
-
</auro-counter>
|
|
563
|
-
```
|
|
564
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
565
|
-
</auro-accordion>
|
|
566
|
-
|
|
567
|
-
#### rounded
|
|
568
|
-
|
|
569
|
-
The `rounded` property applies `border-radius` CSS to the trigger and default slot content.
|
|
570
|
-
|
|
571
|
-
<div class="exampleWrapper">
|
|
572
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/rounded.html) -->
|
|
573
|
-
<!-- The below content is automatically added from ./../../apiExamples/rounded.html -->
|
|
574
|
-
<auro-counter
|
|
575
|
-
aria-label="custom label"
|
|
576
|
-
rounded
|
|
577
|
-
bordered>
|
|
578
|
-
Lorem ipsum solar
|
|
579
|
-
<div slot="trigger">
|
|
580
|
-
Trigger
|
|
581
|
-
</div>
|
|
582
|
-
</auro-counter>
|
|
583
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
584
|
-
</div>
|
|
585
|
-
<auro-accordion alignRight>
|
|
586
|
-
<span slot="trigger">See code</span>
|
|
587
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../apiExamples/rounded.html) -->
|
|
588
|
-
<!-- The below code snippet is automatically added from ./../../apiExamples/rounded.html -->
|
|
589
|
-
|
|
590
|
-
```html
|
|
591
|
-
<auro-counter
|
|
592
|
-
aria-label="custom label"
|
|
593
|
-
rounded
|
|
594
|
-
bordered>
|
|
595
|
-
Lorem ipsum solar
|
|
596
|
-
<div slot="trigger">
|
|
597
|
-
Trigger
|
|
598
|
-
</div>
|
|
599
|
-
</auro-counter>
|
|
600
|
-
```
|
|
601
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
602
|
-
</auro-accordion>
|
|
603
|
-
|
|
604
|
-
#### noToggle
|
|
605
|
-
|
|
606
|
-
In cases where it is desired behavior for `auro-counter` to only show, not toggle, the bib content when activating the trigger the `noToggle` attribute must be applied.
|
|
607
|
-
|
|
608
|
-
<div class="exampleWrapper">
|
|
609
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/noToggle.html) -->
|
|
610
|
-
<!-- The below content is automatically added from ./../../apiExamples/noToggle.html -->
|
|
611
|
-
<auro-counter aria-label="custom label" noToggle>
|
|
612
|
-
Lorem ipsum solar
|
|
613
|
-
<div slot="trigger">
|
|
614
|
-
Trigger
|
|
615
|
-
</div>
|
|
616
|
-
</auro-counter>
|
|
617
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
618
|
-
</div>
|
|
619
|
-
<auro-accordion alignRight>
|
|
620
|
-
<span slot="trigger">See code</span>
|
|
621
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../apiExamples/noToggle.html) -->
|
|
622
|
-
<!-- The below code snippet is automatically added from ./../../apiExamples/noToggle.html -->
|
|
623
|
-
|
|
624
|
-
```html
|
|
625
|
-
<auro-counter aria-label="custom label" noToggle>
|
|
626
|
-
Lorem ipsum solar
|
|
627
|
-
<div slot="trigger">
|
|
628
|
-
Trigger
|
|
629
|
-
</div>
|
|
630
|
-
</auro-counter>
|
|
631
|
-
```
|
|
632
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
633
|
-
</auro-accordion>
|
|
634
|
-
|
|
635
|
-
### Slot Examples
|
|
636
|
-
|
|
637
|
-
#### trigger & default
|
|
638
|
-
|
|
639
|
-
All examples shown on this page include default and `trigger` slot content.
|
|
640
|
-
|
|
641
|
-
#### label
|
|
642
|
-
|
|
643
|
-
Content defined in the `label` slot will be rendered left aligned inside the trigger above all other defined trigger slot content.
|
|
644
|
-
|
|
645
|
-
<div class="exampleWrapper">
|
|
646
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/label.html) -->
|
|
647
|
-
<!-- The below content is automatically added from ./../../apiExamples/label.html -->
|
|
648
|
-
<auro-counter
|
|
649
|
-
bordered
|
|
650
|
-
rounded
|
|
651
|
-
inset
|
|
652
|
-
chevron>
|
|
653
|
-
Lorem ipsum solar
|
|
654
|
-
<span slot="label">Name</span>
|
|
655
|
-
<div slot="trigger">
|
|
656
|
-
Trigger
|
|
657
|
-
</div>
|
|
658
|
-
</auro-counter>
|
|
659
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
660
|
-
</div>
|
|
661
|
-
<auro-accordion alignRight>
|
|
662
|
-
<span slot="trigger">See code</span>
|
|
663
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../apiExamples/label.html) -->
|
|
664
|
-
<!-- The below code snippet is automatically added from ./../../apiExamples/label.html -->
|
|
665
|
-
|
|
666
|
-
```html
|
|
667
|
-
<auro-counter
|
|
668
|
-
bordered
|
|
669
|
-
rounded
|
|
670
|
-
inset
|
|
671
|
-
chevron>
|
|
672
|
-
Lorem ipsum solar
|
|
673
|
-
<span slot="label">Name</span>
|
|
674
|
-
<div slot="trigger">
|
|
675
|
-
Trigger
|
|
676
|
-
</div>
|
|
677
|
-
</auro-counter>
|
|
678
|
-
```
|
|
679
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
680
|
-
</auro-accordion>
|
|
681
|
-
|
|
682
|
-
#### helpText
|
|
683
|
-
|
|
684
|
-
Content defined in the `helpText` slot will be rendered left aligned below the trigger.
|
|
685
|
-
|
|
686
|
-
<div class="exampleWrapper">
|
|
687
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/helpText.html) -->
|
|
688
|
-
<!-- The below content is automatically added from ./../../apiExamples/helpText.html -->
|
|
689
|
-
<auro-counter
|
|
690
|
-
aria-label="custom label"
|
|
691
|
-
inset
|
|
692
|
-
bordered
|
|
693
|
-
rounded>
|
|
694
|
-
Lorem ipsum solar
|
|
695
|
-
<span slot="helpText">
|
|
696
|
-
Helper text
|
|
697
|
-
</span>
|
|
698
|
-
<div slot="trigger">
|
|
699
|
-
Trigger
|
|
700
|
-
</div>
|
|
701
|
-
</auro-counter>
|
|
702
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
703
|
-
</div>
|
|
704
|
-
<auro-accordion alignRight>
|
|
705
|
-
<span slot="trigger">See code</span>
|
|
706
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../apiExamples/helpText.html) -->
|
|
707
|
-
<!-- The below code snippet is automatically added from ./../../apiExamples/helpText.html -->
|
|
708
|
-
|
|
709
|
-
```html
|
|
710
|
-
<auro-counter
|
|
711
|
-
aria-label="custom label"
|
|
712
|
-
inset
|
|
713
|
-
bordered
|
|
714
|
-
rounded>
|
|
715
|
-
Lorem ipsum solar
|
|
716
|
-
<span slot="helpText">
|
|
717
|
-
Helper text
|
|
718
|
-
</span>
|
|
719
|
-
<div slot="trigger">
|
|
720
|
-
Trigger
|
|
721
|
-
</div>
|
|
722
|
-
</auro-counter>
|
|
723
|
-
```
|
|
724
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
725
|
-
</auro-accordion>
|
|
726
|
-
|
|
727
|
-
#####
|
|
728
|
-
|
|
729
|
-
When combined with the `error` property the `helpText` slot content is colored red.
|
|
730
|
-
|
|
731
|
-
<div class="exampleWrapper">
|
|
732
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/helpTextError.html) -->
|
|
733
|
-
<!-- The below content is automatically added from ./../../apiExamples/helpTextError.html -->
|
|
734
|
-
<auro-counter
|
|
735
|
-
aria-label="custom label"
|
|
736
|
-
inset
|
|
737
|
-
bordered
|
|
738
|
-
rounded
|
|
739
|
-
error>
|
|
740
|
-
Lorem ipsum solar
|
|
741
|
-
<span slot="helpText">
|
|
742
|
-
Helper text
|
|
743
|
-
</span>
|
|
744
|
-
<div slot="trigger">
|
|
745
|
-
Trigger
|
|
746
|
-
</div>
|
|
747
|
-
</auro-counter>
|
|
748
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
749
|
-
</div>
|
|
750
|
-
<auro-accordion alignRight>
|
|
751
|
-
<span slot="trigger">See code</span>
|
|
752
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../apiExamples/helpTextError.html) -->
|
|
753
|
-
<!-- The below code snippet is automatically added from ./../../apiExamples/helpTextError.html -->
|
|
754
|
-
|
|
755
|
-
```html
|
|
756
|
-
<auro-counter
|
|
757
|
-
aria-label="custom label"
|
|
758
|
-
inset
|
|
759
|
-
bordered
|
|
760
|
-
rounded
|
|
761
|
-
error>
|
|
762
|
-
Lorem ipsum solar
|
|
763
|
-
<span slot="helpText">
|
|
764
|
-
Helper text
|
|
765
|
-
</span>
|
|
766
|
-
<div slot="trigger">
|
|
767
|
-
Trigger
|
|
768
|
-
</div>
|
|
769
|
-
</auro-counter>
|
|
770
|
-
```
|
|
771
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
772
|
-
</auro-accordion>
|
|
773
|
-
|
|
774
|
-
### Method Examples
|
|
775
|
-
|
|
776
|
-
#### show
|
|
777
|
-
|
|
778
|
-
The `show` method may also be called from anywhere in your code by executing `document.querySelector('#idOfTheDropdownElement').show()`. This example will execute the `show` method on a `keydown` event with focus in the input element.
|
|
779
|
-
|
|
780
|
-
<div class="exampleWrapper">
|
|
781
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/programmaticallyShow.html) -->
|
|
782
|
-
<!-- The below content is automatically added from ./../../apiExamples/programmaticallyShow.html -->
|
|
783
|
-
<auro-input id="showExampleTriggerInput" required>
|
|
784
|
-
<span slot="label">Enter a value to show the dropdown</span>
|
|
785
|
-
</auro-input>
|
|
786
|
-
<auro-counter id="showMethodExample" aria-label="custom label" rounded bordered inset>
|
|
787
|
-
<p>
|
|
788
|
-
Lorem ipsum solar
|
|
789
|
-
</p>
|
|
790
|
-
<span slot="trigger">Trigger Label</span>
|
|
791
|
-
</auro-counter>
|
|
792
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
793
|
-
</div>
|
|
794
|
-
<auro-accordion alignRight>
|
|
795
|
-
<span slot="trigger">See code</span>
|
|
796
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../apiExamples/programmaticallyShow.html) -->
|
|
797
|
-
<!-- The below code snippet is automatically added from ./../../apiExamples/programmaticallyShow.html -->
|
|
798
|
-
|
|
799
|
-
```html
|
|
800
|
-
<auro-input id="showExampleTriggerInput" required>
|
|
801
|
-
<span slot="label">Enter a value to show the dropdown</span>
|
|
802
|
-
</auro-input>
|
|
803
|
-
<auro-counter id="showMethodExample" aria-label="custom label" rounded bordered inset>
|
|
804
|
-
<p>
|
|
805
|
-
Lorem ipsum solar
|
|
806
|
-
</p>
|
|
807
|
-
<span slot="trigger">Trigger Label</span>
|
|
808
|
-
</auro-counter>
|
|
809
|
-
```
|
|
810
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
811
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../apiExamples/programmaticallyShow.js) -->
|
|
812
|
-
<!-- The below code snippet is automatically added from ./../../apiExamples/programmaticallyShow.js -->
|
|
813
|
-
|
|
814
|
-
```js
|
|
815
|
-
export function showExample() {
|
|
816
|
-
const triggerInput = document.querySelector('#showExampleTriggerInput');
|
|
817
|
-
const dropdownElem = document.querySelector('#showMethodExample');
|
|
818
|
-
|
|
819
|
-
triggerInput.addEventListener('keydown', () => {
|
|
820
|
-
dropdownElem.show();
|
|
821
|
-
});
|
|
822
|
-
}
|
|
823
|
-
```
|
|
824
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
825
|
-
</auro-accordion>
|
|
826
|
-
|
|
827
|
-
#### hide
|
|
828
|
-
|
|
829
|
-
The `hide` method can be called from within the default slot content. This is useful for cases such as `auro-select` when the dropdown should be collapsed after making a selection.
|
|
830
|
-
|
|
831
|
-
The `hide` method may also be called from anywhere in your code by executing `document.querySelector('#idOfTheDropdownElement').hide()`.
|
|
832
|
-
|
|
833
|
-
This example demonstrations collapsing the dropdown by clicking a button within the dropdown bib content.
|
|
834
|
-
|
|
835
|
-
<div class="exampleWrapper">
|
|
836
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/programmaticallyHide.html) -->
|
|
837
|
-
<!-- The below content is automatically added from ./../../apiExamples/programmaticallyHide.html -->
|
|
838
|
-
<auro-counter id="hideExample" aria-label="custom label" rounded bordered inset>
|
|
839
|
-
<p>
|
|
840
|
-
Lorem ipsum solar
|
|
841
|
-
</p>
|
|
842
|
-
<auro-button id="hideExampleBtn">
|
|
843
|
-
Dismiss Dropdown
|
|
844
|
-
</auro-button>
|
|
845
|
-
<auro-input
|
|
846
|
-
slot="trigger"
|
|
847
|
-
id="hideExampleTrigger">
|
|
848
|
-
</auro-input>
|
|
849
|
-
</auro-counter>
|
|
850
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
851
|
-
</div>
|
|
852
|
-
<auro-accordion alignRight>
|
|
853
|
-
<span slot="trigger">See code</span>
|
|
854
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../apiExamples/programmaticallyHide.html) -->
|
|
855
|
-
<!-- The below code snippet is automatically added from ./../../apiExamples/programmaticallyHide.html -->
|
|
856
|
-
|
|
857
|
-
```html
|
|
858
|
-
<auro-counter id="hideExample" aria-label="custom label" rounded bordered inset>
|
|
859
|
-
<p>
|
|
860
|
-
Lorem ipsum solar
|
|
861
|
-
</p>
|
|
862
|
-
<auro-button id="hideExampleBtn">
|
|
863
|
-
Dismiss Dropdown
|
|
864
|
-
</auro-button>
|
|
865
|
-
<auro-input
|
|
866
|
-
slot="trigger"
|
|
867
|
-
id="hideExampleTrigger">
|
|
868
|
-
</auro-input>
|
|
869
|
-
</auro-counter>
|
|
870
|
-
```
|
|
871
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
872
|
-
</auro-accordion>
|
|
873
|
-
</auro-accordion>
|
|
874
|
-
|
|
875
|
-
### Other Examples
|
|
876
|
-
|
|
877
|
-
#### Width and Sizing Behavior
|
|
878
|
-
|
|
879
|
-
##### Width
|
|
880
|
-
`auro-counter` will consume all available width of the parent container. `auro-counter` can be made narrower by wrapping it in a container of the desired width.
|
|
881
|
-
|
|
882
|
-
##### Dropdown Content Sizing
|
|
883
|
-
If the dropdown's content size should not exceed a certain height, you can control it using CSS. Add a `max-height` property and set `overflow: scroll` to enable scrollability for content that exceeds the specified height.
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
<div class="exampleWrapper">
|
|
887
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/customDimensions100.html) -->
|
|
888
|
-
<!-- The below content is automatically added from ./../../apiExamples/customDimensions100.html -->
|
|
889
|
-
<div style="width: 100px;" aria-label="custom label">
|
|
890
|
-
<auro-counter inset bordered rounded chevron>
|
|
891
|
-
<div style="width: 100px; max-height: 200px; overflow: scroll;">
|
|
892
|
-
<p>
|
|
893
|
-
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.
|
|
894
|
-
</p>
|
|
895
|
-
<p>
|
|
896
|
-
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.
|
|
897
|
-
</p>
|
|
898
|
-
<p>
|
|
899
|
-
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.
|
|
900
|
-
</p>
|
|
901
|
-
</div>
|
|
902
|
-
<div slot="trigger">
|
|
903
|
-
Trigger
|
|
904
|
-
</div>
|
|
905
|
-
</auro-counter>
|
|
906
|
-
</div>
|
|
907
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
908
|
-
</div>
|
|
909
|
-
<auro-accordion alignRight>
|
|
910
|
-
<span slot="trigger">See code</span>
|
|
911
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../apiExamples/customDimensions100.html) -->
|
|
912
|
-
<!-- The below code snippet is automatically added from ./../../apiExamples/customDimensions100.html -->
|
|
913
|
-
|
|
914
|
-
```html
|
|
915
|
-
<div style="width: 100px;" aria-label="custom label">
|
|
916
|
-
<auro-counter inset bordered rounded chevron>
|
|
917
|
-
<div style="width: 100px; max-height: 200px; overflow: scroll;">
|
|
918
|
-
<p>
|
|
919
|
-
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.
|
|
920
|
-
</p>
|
|
921
|
-
<p>
|
|
922
|
-
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.
|
|
923
|
-
</p>
|
|
924
|
-
<p>
|
|
925
|
-
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.
|
|
926
|
-
</p>
|
|
927
|
-
</div>
|
|
928
|
-
<div slot="trigger">
|
|
929
|
-
Trigger
|
|
930
|
-
</div>
|
|
931
|
-
</auro-counter>
|
|
932
|
-
</div>
|
|
933
|
-
```
|
|
934
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
935
|
-
</auro-accordion>
|
|
936
|
-
|
|
937
|
-
<div class="exampleWrapper">
|
|
938
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/customDimensions300.html) -->
|
|
939
|
-
<!-- The below content is automatically added from ./../../apiExamples/customDimensions300.html -->
|
|
940
|
-
<div style="width: 300px;" aria-label="custom label">
|
|
941
|
-
<auro-counter inset bordered rounded chevron>
|
|
942
|
-
<div style="width: 300px; max-height: 200px; overflow: scroll;">
|
|
943
|
-
<p>
|
|
944
|
-
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.
|
|
945
|
-
</p>
|
|
946
|
-
<p>
|
|
947
|
-
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.
|
|
948
|
-
</p>
|
|
949
|
-
<p>
|
|
950
|
-
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
|
-
</p>
|
|
952
|
-
</div>
|
|
953
|
-
<div slot="trigger">
|
|
954
|
-
Trigger
|
|
955
|
-
</div>
|
|
956
|
-
</auro-counter>
|
|
957
|
-
</div>
|
|
958
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
959
|
-
</div>
|
|
960
|
-
<auro-accordion alignRight>
|
|
961
|
-
<span slot="trigger">See code</span>
|
|
962
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../apiExamples/customDimensions300.html) -->
|
|
963
|
-
<!-- The below code snippet is automatically added from ./../../apiExamples/customDimensions300.html -->
|
|
964
|
-
|
|
965
|
-
```html
|
|
966
|
-
<div style="width: 300px;" aria-label="custom label">
|
|
967
|
-
<auro-counter inset bordered rounded chevron>
|
|
968
|
-
<div style="width: 300px; max-height: 200px; overflow: scroll;">
|
|
969
|
-
<p>
|
|
970
|
-
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.
|
|
971
|
-
</p>
|
|
972
|
-
<p>
|
|
973
|
-
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.
|
|
974
|
-
</p>
|
|
975
|
-
<p>
|
|
976
|
-
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.
|
|
977
|
-
</p>
|
|
978
|
-
</div>
|
|
979
|
-
<div slot="trigger">
|
|
980
|
-
Trigger
|
|
981
|
-
</div>
|
|
982
|
-
</auro-counter>
|
|
983
|
-
</div>
|
|
984
|
-
```
|
|
985
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
986
|
-
</auro-accordion>
|
|
987
|
-
|
|
988
|
-
#### Truncated trigger component with fixed width
|
|
989
|
-
|
|
990
|
-
`auro-counter` trigger component will be truncated if the text is too long than its container width.
|
|
991
|
-
|
|
992
|
-
<div class="exampleWrapper">
|
|
993
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../apiExamples/truncatedText.html) -->
|
|
994
|
-
<!-- The below content is automatically added from ./../../apiExamples/truncatedText.html -->
|
|
995
|
-
<div style="width: 250px;">
|
|
996
|
-
<auro-counter common aria-label="Label content for screen reader">
|
|
997
|
-
<div style="padding: var(--ds-size-150); width: 500px;">
|
|
998
|
-
I really prefer Alaska Airlines for my vacation travels
|
|
999
|
-
</div>
|
|
1000
|
-
<span slot="helpText">
|
|
1001
|
-
Help text
|
|
1002
|
-
</span>
|
|
1003
|
-
<div slot="trigger">
|
|
1004
|
-
I really prefer Alaska Airlines for my vacation travels
|
|
1005
|
-
</div>
|
|
1006
|
-
</auro-counter>
|
|
1007
|
-
</div>
|
|
1008
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
1009
|
-
</div>
|
|
1010
|
-
<auro-accordion alignRight>
|
|
1011
|
-
<span slot="trigger">See code</span>
|
|
1012
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../apiExamples/truncatedText.html) -->
|
|
1013
|
-
<!-- The below code snippet is automatically added from ./../../apiExamples/truncatedText.html -->
|
|
1014
|
-
|
|
1015
|
-
```html
|
|
1016
|
-
<div style="width: 250px;">
|
|
1017
|
-
<auro-counter common aria-label="Label content for screen reader">
|
|
1018
|
-
<div style="padding: var(--ds-size-150); width: 500px;">
|
|
1019
|
-
I really prefer Alaska Airlines for my vacation travels
|
|
1020
|
-
</div>
|
|
1021
|
-
<span slot="helpText">
|
|
1022
|
-
Help text
|
|
1023
|
-
</span>
|
|
1024
|
-
<div slot="trigger">
|
|
1025
|
-
I really prefer Alaska Airlines for my vacation travels
|
|
1026
|
-
</div>
|
|
1027
|
-
</auro-counter>
|
|
1028
|
-
</div>
|
|
1029
|
-
```
|
|
1030
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
1031
|
-
</auro-accordion>
|
|
1032
|
-
|
|
1033
|
-
### Theme Support
|
|
1034
|
-
|
|
1035
|
-
The component may be restyled using the following code sample and changing the values of the following token(s).
|
|
1036
|
-
|
|
1037
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../../src/tokens.scss) -->
|
|
1038
|
-
<!-- The below code snippet is automatically added from ./../../src/tokens.scss -->
|
|
1039
|
-
|
|
1040
|
-
```scss
|
|
1041
|
-
:host {
|
|
1042
|
-
--ds-auro-counter-help-text-color: var(--ds-color-text-secondary-default, $ds-color-text-secondary-default);
|
|
1043
|
-
--ds-auro-counter-label-text-color: var(--ds-color-text-secondary-default, $ds-color-text-secondary-default);
|
|
1044
|
-
--ds-auro-counter-popover-border-color: transparent;
|
|
1045
|
-
--ds-auro-counter-popover-boxshadow-color: rgba(0 0 0 / .08);
|
|
1046
|
-
--ds-auro-counter-popover-container-color: var(--ds-color-container-primary-default, $ds-color-container-primary-default);
|
|
1047
|
-
--ds-auro-counter-popover-text-color: var(--ds-color-text-primary-default, $ds-color-text-primary-default);
|
|
1048
|
-
--ds-auro-counter-trigger-container-color: var(--ds-color-container-primary-default, $ds-color-container-primary-default);
|
|
1049
|
-
--ds-auro-counter-trigger-border-color: transparent;
|
|
1050
|
-
--ds-auro-counter-trigger-text-color: var(--ds-color-text-primary-default, $ds-color-text-primary-default);
|
|
1051
|
-
}
|
|
1052
|
-
```
|
|
1053
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|