@aurodesignsystem-dev/auro-alert 0.0.0-pr121.0 → 0.0.0-pr123.0
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/README.md +13 -26
- package/custom-elements.json +245 -0
- package/demo/api.md +110 -129
- package/demo/api.min.js +407 -1
- package/demo/index.md +6 -8
- package/demo/index.min.js +407 -1
- package/demo/readme.md +115 -0
- package/dist/auro-alert-Cxqj9ihp.js +35 -0
- package/dist/index.d.ts +134 -72
- package/dist/index.js +1 -1
- package/dist/registered.js +1 -1
- package/package.json +10 -8
- package/demo/auro-alert.min.js +0 -413
- package/dist/auro-alert-C5hNY0oc.js +0 -35
package/demo/api.md
CHANGED
|
@@ -10,9 +10,9 @@ The `auro-alert` element is used to provide contextual feedback messages for typ
|
|
|
10
10
|
| Properties | Attributes | Modifiers | Type | Default | Description |
|
|
11
11
|
| -------------- | -------------- | --------- | -------------------------------------------------- | ------- | ----------------------------------------------------------------------------------- |
|
|
12
12
|
| hidden | hidden | | boolean | | If present, the component will be hidden both visually and from screen readers |
|
|
13
|
-
| hiddenAudible |
|
|
14
|
-
| hiddenVisually |
|
|
15
|
-
| noIcon |
|
|
13
|
+
| hiddenAudible | hiddenaudible | | boolean | | If present, the component will be hidden from screen readers, but seen visually |
|
|
14
|
+
| hiddenVisually | hiddenvisually | | boolean | | If present, the component will be hidden visually, but still read by screen readers |
|
|
15
|
+
| noIcon | noicon | | boolean | | Removes icon from alert UI when `type` attribute is set |
|
|
16
16
|
| type | type | | `information` \| `error` \| `success` \| `warning` | | Component will render visually based on which type value is set |
|
|
17
17
|
|
|
18
18
|
### Methods
|
|
@@ -38,19 +38,17 @@ The `auro-alert` element is used to provide contextual feedback messages for typ
|
|
|
38
38
|
## Basic
|
|
39
39
|
|
|
40
40
|
<div class="exampleWrapper">
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
42
|
+
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
43
|
+
<auro-alert>This is a default error with no error type specified.</auro-alert>
|
|
44
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
45
45
|
</div>
|
|
46
46
|
<auro-accordion alignRight>
|
|
47
|
-
|
|
47
|
+
<span slot="trigger">See code</span>
|
|
48
48
|
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/basic.html) -->
|
|
49
49
|
<!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
<auro-alert>This is a default error with no error type specified.</auro-alert>
|
|
53
|
-
```
|
|
51
|
+
<pre class="language-html"><code class="language-html"><auro-alert>This is a default error with no error type specified.</auro-alert></code></pre>
|
|
54
52
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
55
53
|
</auro-accordion>
|
|
56
54
|
|
|
@@ -61,19 +59,17 @@ The `auro-alert` element is used to provide contextual feedback messages for typ
|
|
|
61
59
|
Use the `hidden` attribute to hide the `auro-alert` component from the user and screenreader.
|
|
62
60
|
|
|
63
61
|
<div class="exampleWrapper">
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
62
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/hidden.html) -->
|
|
63
|
+
<!-- The below content is automatically added from ./../apiExamples/hidden.html -->
|
|
64
|
+
<auro-alert hidden type="error">This content will be hidden visually and from screen readers.</auro-alert>
|
|
65
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
68
66
|
</div>
|
|
69
67
|
<auro-accordion alignRight>
|
|
70
|
-
|
|
68
|
+
<span slot="trigger">See code</span>
|
|
71
69
|
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/hidden.html) -->
|
|
72
70
|
<!-- The below code snippet is automatically added from ./../apiExamples/hidden.html -->
|
|
73
71
|
|
|
74
|
-
|
|
75
|
-
<auro-alert hidden type="error">This content will be hidden visually and from screen readers.</auro-alert>
|
|
76
|
-
```
|
|
72
|
+
<pre class="language-html"><code class="language-html"><auro-alert hidden type="error">This content will be hidden visually and from screen readers.</auro-alert></code></pre>
|
|
77
73
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
78
74
|
</auro-accordion>
|
|
79
75
|
|
|
@@ -82,19 +78,17 @@ Use the `hidden` attribute to hide the `auro-alert` component from the user and
|
|
|
82
78
|
Use the `hiddenAudible` attribute to hide the `auro-alert` component from the screenreader only.
|
|
83
79
|
|
|
84
80
|
<div class="exampleWrapper">
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
81
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/hidden-audible.html) -->
|
|
82
|
+
<!-- The below content is automatically added from ./../apiExamples/hidden-audible.html -->
|
|
83
|
+
<auro-alert hiddenAudible type="error">This content will be hidden from screen readers.</auro-alert>
|
|
84
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
89
85
|
</div>
|
|
90
86
|
<auro-accordion alignRight>
|
|
91
|
-
|
|
87
|
+
<span slot="trigger">See code</span>
|
|
92
88
|
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/hidden-audible.html) -->
|
|
93
89
|
<!-- The below code snippet is automatically added from ./../apiExamples/hidden-audible.html -->
|
|
94
90
|
|
|
95
|
-
|
|
96
|
-
<auro-alert hiddenAudible type="error">This content will be hidden from screen readers.</auro-alert>
|
|
97
|
-
```
|
|
91
|
+
<pre class="language-html"><code class="language-html"><auro-alert hiddenAudible type="error">This content will be hidden from screen readers.</auro-alert></code></pre>
|
|
98
92
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
99
93
|
</auro-accordion>
|
|
100
94
|
|
|
@@ -103,19 +97,17 @@ Use the `hiddenAudible` attribute to hide the `auro-alert` component from the sc
|
|
|
103
97
|
Use the `hiddenVisually` attribute to visually hide the `auro-alert` component from the user only.
|
|
104
98
|
|
|
105
99
|
<div class="exampleWrapper">
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
100
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/hidden-visually.html) -->
|
|
101
|
+
<!-- The below content is automatically added from ./../apiExamples/hidden-visually.html -->
|
|
102
|
+
<auro-alert hiddenVisually type="error">This content will be hidden visually, but screen readers will still pick it up.</auro-alert>
|
|
103
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
110
104
|
</div>
|
|
111
105
|
<auro-accordion alignRight>
|
|
112
|
-
|
|
106
|
+
<span slot="trigger">See code</span>
|
|
113
107
|
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/hidden-visually.html) -->
|
|
114
108
|
<!-- The below code snippet is automatically added from ./../apiExamples/hidden-visually.html -->
|
|
115
109
|
|
|
116
|
-
|
|
117
|
-
<auro-alert hiddenVisually type="error">This content will be hidden visually, but screen readers will still pick it up.</auro-alert>
|
|
118
|
-
```
|
|
110
|
+
<pre class="language-html"><code class="language-html"><auro-alert hiddenVisually type="error">This content will be hidden visually, but screen readers will still pick it up.</auro-alert></code></pre>
|
|
119
111
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
120
112
|
</auro-accordion>
|
|
121
113
|
|
|
@@ -124,31 +116,29 @@ Use the `hiddenVisually` attribute to visually hide the `auro-alert` component f
|
|
|
124
116
|
Use the `noIcon` attribute to remove the icon from the alert UI when the `type` attribute is set.
|
|
125
117
|
|
|
126
118
|
<div class="exampleWrapper">
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
<auro-alert noIcon type="error">Transaction failed.</auro-alert>
|
|
130
|
-
<br />
|
|
131
|
-
<auro-alert noIcon type="information">You are confirmed on Flight 20 to Aruba.</auro-alert>
|
|
132
|
-
<br />
|
|
133
|
-
<auro-alert noIcon type="success">Your status with flight 20 to Aruba had been updated.</auro-alert>
|
|
134
|
-
<br />
|
|
135
|
-
<auro-alert noIcon type="warning">Warning. Session timed out. Look for a confirmation email to verify your transaction.</auro-alert>
|
|
136
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
137
|
-
</div>
|
|
138
|
-
<auro-accordion alignRight>
|
|
139
|
-
<span slot="trigger">See code</span>
|
|
140
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/type-noicon.html) -->
|
|
141
|
-
<!-- The below code snippet is automatically added from ./../apiExamples/type-noicon.html -->
|
|
142
|
-
|
|
143
|
-
```html
|
|
119
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/type-noicon.html) -->
|
|
120
|
+
<!-- The below content is automatically added from ./../apiExamples/type-noicon.html -->
|
|
144
121
|
<auro-alert noIcon type="error">Transaction failed.</auro-alert>
|
|
145
122
|
<br />
|
|
146
123
|
<auro-alert noIcon type="information">You are confirmed on Flight 20 to Aruba.</auro-alert>
|
|
147
124
|
<br />
|
|
148
125
|
<auro-alert noIcon type="success">Your status with flight 20 to Aruba had been updated.</auro-alert>
|
|
149
126
|
<br />
|
|
150
|
-
<auro-alert noIcon type="warning">Warning. Session timed out. Look for a confirmation email to verify your transaction.</auro-alert>
|
|
151
|
-
|
|
127
|
+
<auro-alert noIcon type="warning">Warning. Session timed out. Look for a confirmation email to verify your transaction.</auro-alert>
|
|
128
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
129
|
+
</div>
|
|
130
|
+
<auro-accordion alignRight>
|
|
131
|
+
<span slot="trigger">See code</span>
|
|
132
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/type-noicon.html) -->
|
|
133
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/type-noicon.html -->
|
|
134
|
+
|
|
135
|
+
<pre class="language-html"><code class="language-html"><auro-alert noIcon type="error">Transaction failed.</auro-alert>
|
|
136
|
+
<br />
|
|
137
|
+
<auro-alert noIcon type="information">You are confirmed on Flight 20 to Aruba.</auro-alert>
|
|
138
|
+
<br />
|
|
139
|
+
<auro-alert noIcon type="success">Your status with flight 20 to Aruba had been updated.</auro-alert>
|
|
140
|
+
<br />
|
|
141
|
+
<auro-alert noIcon type="warning">Warning. Session timed out. Look for a confirmation email to verify your transaction.</auro-alert></code></pre>
|
|
152
142
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
153
143
|
</auro-accordion>
|
|
154
144
|
|
|
@@ -157,31 +147,29 @@ Use the `noIcon` attribute to remove the icon from the alert UI when the `type`
|
|
|
157
147
|
Use the `type` attribute to apply an icon and border color that match the alert’s purpose. It supports the following values: `error`, `information`, `success`, and `warning`.
|
|
158
148
|
|
|
159
149
|
<div class="exampleWrapper">
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
<auro-alert type="error">Transaction failed.</auro-alert>
|
|
163
|
-
<br />
|
|
164
|
-
<auro-alert type="information">You are confirmed on Flight 20 to Aruba.</auro-alert>
|
|
165
|
-
<br />
|
|
166
|
-
<auro-alert type="success">Your status with flight 20 to Aruba had been updated.</auro-alert>
|
|
167
|
-
<br />
|
|
168
|
-
<auro-alert type="warning">Warning. Session timed out. Look for a confirmation email to verify your transaction.</auro-alert>
|
|
169
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
170
|
-
</div>
|
|
171
|
-
<auro-accordion alignRight>
|
|
172
|
-
<span slot="trigger">See code</span>
|
|
173
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/type.html) -->
|
|
174
|
-
<!-- The below code snippet is automatically added from ./../apiExamples/type.html -->
|
|
175
|
-
|
|
176
|
-
```html
|
|
150
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/type.html) -->
|
|
151
|
+
<!-- The below content is automatically added from ./../apiExamples/type.html -->
|
|
177
152
|
<auro-alert type="error">Transaction failed.</auro-alert>
|
|
178
153
|
<br />
|
|
179
154
|
<auro-alert type="information">You are confirmed on Flight 20 to Aruba.</auro-alert>
|
|
180
155
|
<br />
|
|
181
156
|
<auro-alert type="success">Your status with flight 20 to Aruba had been updated.</auro-alert>
|
|
182
157
|
<br />
|
|
183
|
-
<auro-alert type="warning">Warning. Session timed out. Look for a confirmation email to verify your transaction.</auro-alert>
|
|
184
|
-
|
|
158
|
+
<auro-alert type="warning">Warning. Session timed out. Look for a confirmation email to verify your transaction.</auro-alert>
|
|
159
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
160
|
+
</div>
|
|
161
|
+
<auro-accordion alignRight>
|
|
162
|
+
<span slot="trigger">See code</span>
|
|
163
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/type.html) -->
|
|
164
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/type.html -->
|
|
165
|
+
|
|
166
|
+
<pre class="language-html"><code class="language-html"><auro-alert type="error">Transaction failed.</auro-alert>
|
|
167
|
+
<br />
|
|
168
|
+
<auro-alert type="information">You are confirmed on Flight 20 to Aruba.</auro-alert>
|
|
169
|
+
<br />
|
|
170
|
+
<auro-alert type="success">Your status with flight 20 to Aruba had been updated.</auro-alert>
|
|
171
|
+
<br />
|
|
172
|
+
<auro-alert type="warning">Warning. Session timed out. Look for a confirmation email to verify your transaction.</auro-alert></code></pre>
|
|
185
173
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
186
174
|
</auro-accordion>
|
|
187
175
|
|
|
@@ -192,25 +180,23 @@ Use the `type` attribute to apply an icon and border color that match the alert
|
|
|
192
180
|
If you need to present multiple lines in the same alert, wrap each line in a `<p>` tag.
|
|
193
181
|
|
|
194
182
|
<div class="exampleWrapper">
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
183
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/multiline.html) -->
|
|
184
|
+
<!-- The below content is automatically added from ./../apiExamples/multiline.html -->
|
|
185
|
+
<auro-alert type="error">
|
|
186
|
+
<p>This is error message 1.</p>
|
|
187
|
+
<p>This is error message 2.</p>
|
|
188
|
+
</auro-alert>
|
|
189
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
202
190
|
</div>
|
|
203
191
|
<auro-accordion alignRight>
|
|
204
|
-
|
|
192
|
+
<span slot="trigger">See code</span>
|
|
205
193
|
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/multiline.html) -->
|
|
206
194
|
<!-- The below code snippet is automatically added from ./../apiExamples/multiline.html -->
|
|
207
195
|
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
</auro-alert>
|
|
213
|
-
```
|
|
196
|
+
<pre class="language-html"><code class="language-html"><auro-alert type="error">
|
|
197
|
+
<p>This is error message 1.</p>
|
|
198
|
+
<p>This is error message 2.</p>
|
|
199
|
+
</auro-alert></code></pre>
|
|
214
200
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
215
201
|
</auro-accordion>
|
|
216
202
|
|
|
@@ -219,57 +205,55 @@ If you need to present multiple lines in the same alert, wrap each line in a `<p
|
|
|
219
205
|
While Auro components, `auro-alert` included, come with a pre-defined UI opinion, another feature that is fully supported is a user's ability to customize any content in the slot. The following example illustrates how a user can completely customize the content in the `<slot>` of the element, while not needing to recreate the `auro-alert` UI.
|
|
220
206
|
|
|
221
207
|
<div class="exampleWrapper">
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
208
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/custom-content.html) -->
|
|
209
|
+
<!-- The below content is automatically added from ./../apiExamples/custom-content.html -->
|
|
210
|
+
<auro-alert type="information">
|
|
211
|
+
<style>
|
|
226
212
|
.contentWrapper { padding-top: .25rem; }
|
|
227
213
|
.contentWrapper * { line-height: 1.2 !important; font-size: var(--ds-text-body-size-sm); }
|
|
228
214
|
.leanPara { margin: 0 0 var(--ds-size-xs) 0 !important; }
|
|
229
215
|
.unstyled { padding-left: 20px; }
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
216
|
+
</style>
|
|
217
|
+
<div class="contentWrapper leanPara">
|
|
218
|
+
<p class="leanPara">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Interdum varius sit amet mattis vulputate.</p>
|
|
219
|
+
<p>Eu nisl nunc mi ipsum faucibus vitae. Tristique senectus et netus et malesuada fames ac turpis. Nunc sed velit dignissim sodales ut. Commodo quis imperdiet massa tincidunt nunc pulvinar sapien et ligula. Vel pharetra vel turpis nunc eget lorem. Vitae sapien pellentesque habitant morbi tristique senectus et. </p>
|
|
220
|
+
<ul class="unstyled">
|
|
221
|
+
<li>Varius sit amet mattis vulputate enim. </li>
|
|
222
|
+
<li>Amet risus nullam eget felis eget nunc. Id consectetur purus ut faucibus pulvinar.</li>
|
|
223
|
+
</ul>
|
|
224
|
+
<p class="leanPara">Sem viverra aliquet eget sit amet tellus cras adipiscing enim. Porttitor rhoncus dolor purus non enim. Sit amet nulla facilisi morbi tempus iaculis urna id. Nec ullamcorper sit amet risus nullam eget felis.</p>
|
|
225
|
+
<p class="fineprint" style="margin: 0;">
|
|
240
226
|
* Non arcu risus quis varius quam quisque id. Euismod elementum nisi quis eleifend quam adipiscing vitae proin sagittis. Nec feugiat nisl pretium fusce id velit ut tortor.
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
227
|
+
</p>
|
|
228
|
+
</div>
|
|
229
|
+
</auro-alert>
|
|
230
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
245
231
|
</div>
|
|
246
232
|
<auro-accordion alignRight>
|
|
247
|
-
|
|
233
|
+
<span slot="trigger">See code</span>
|
|
248
234
|
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/custom-content.html) -->
|
|
249
235
|
<!-- The below code snippet is automatically added from ./../apiExamples/custom-content.html -->
|
|
250
236
|
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
<style>
|
|
237
|
+
<pre class="language-html"><code class="language-html"><auro-alert type="information">
|
|
238
|
+
<style>
|
|
254
239
|
.contentWrapper { padding-top: .25rem; }
|
|
255
240
|
.contentWrapper * { line-height: 1.2 !important; font-size: var(--ds-text-body-size-sm); }
|
|
256
241
|
.leanPara { margin: 0 0 var(--ds-size-xs) 0 !important; }
|
|
257
242
|
.unstyled { padding-left: 20px; }
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
243
|
+
</style>
|
|
244
|
+
<div class="contentWrapper leanPara">
|
|
245
|
+
<p class="leanPara">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Interdum varius sit amet mattis vulputate.</p>
|
|
246
|
+
<p>Eu nisl nunc mi ipsum faucibus vitae. Tristique senectus et netus et malesuada fames ac turpis. Nunc sed velit dignissim sodales ut. Commodo quis imperdiet massa tincidunt nunc pulvinar sapien et ligula. Vel pharetra vel turpis nunc eget lorem. Vitae sapien pellentesque habitant morbi tristique senectus et. </p>
|
|
247
|
+
<ul class="unstyled">
|
|
248
|
+
<li>Varius sit amet mattis vulputate enim. </li>
|
|
249
|
+
<li>Amet risus nullam eget felis eget nunc. Id consectetur purus ut faucibus pulvinar.</li>
|
|
250
|
+
</ul>
|
|
251
|
+
<p class="leanPara">Sem viverra aliquet eget sit amet tellus cras adipiscing enim. Porttitor rhoncus dolor purus non enim. Sit amet nulla facilisi morbi tempus iaculis urna id. Nec ullamcorper sit amet risus nullam eget felis.</p>
|
|
252
|
+
<p class="fineprint" style="margin: 0;">
|
|
268
253
|
* Non arcu risus quis varius quam quisque id. Euismod elementum nisi quis eleifend quam adipiscing vitae proin sagittis. Nec feugiat nisl pretium fusce id velit ut tortor.
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
```
|
|
254
|
+
</p>
|
|
255
|
+
</div>
|
|
256
|
+
</auro-alert></code></pre>
|
|
273
257
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
274
258
|
</auro-accordion>
|
|
275
259
|
|
|
@@ -280,14 +264,11 @@ The component may be restyled by changing the values of the following token(s).
|
|
|
280
264
|
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../src/styles/tokens.scss) -->
|
|
281
265
|
<!-- The below code snippet is automatically added from ./../src/styles/tokens.scss -->
|
|
282
266
|
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
:host {
|
|
267
|
+
<pre class="language-scss"><code class="language-scss">@use '@aurodesignsystem/design-tokens/dist/themes/alaska/SCSSVariables--alaska' as v;
|
|
268
|
+
:host {
|
|
287
269
|
--ds-auro-alert-border-color: var(--ds-basic-color-status-default, #{v.$ds-basic-color-status-default});
|
|
288
270
|
--ds-auro-alert-container-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
289
271
|
--ds-auro-alert-icon-color: transparent;
|
|
290
272
|
--ds-auro-alert-text-color: var(--ds-basic-color-texticon-default, #{v.$ds-basic-color-texticon-default});
|
|
291
|
-
}
|
|
292
|
-
```
|
|
273
|
+
}</code></pre>
|
|
293
274
|
<!-- AURO-GENERATED-CONTENT:END -->
|