@aurodesignsystem-dev/auro-alert 0.0.0-pr104.2 → 0.0.0-pr104.3
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/demo/api.md +9 -9
- package/demo/auro-alert.min.js +1 -1
- package/package.json +1 -1
package/demo/api.md
CHANGED
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
### Properties & Attributes
|
|
7
7
|
|
|
8
|
-
| Properties | Attributes | Modifiers | Type | Default | Description
|
|
9
|
-
| -------------- | -------------- | --------- | -------------------------------------------------- | ------- |
|
|
10
|
-
| hidden | hidden | | boolean | | If present, the component will be hidden both visually and from screen readers
|
|
11
|
-
| hiddenAudible | hiddenAudible | | boolean | | If present, the component will be hidden from screen readers, but seen visually
|
|
12
|
-
| hiddenVisually | hiddenVisually | | boolean | | If present, the component will be hidden visually, but still read by screen readers
|
|
13
|
-
| noIcon | noIcon | | boolean | | Removes icon from alert UI when `type` attribute is set
|
|
14
|
-
| type | type | | 'information' \| 'error' \| 'success' \| 'warning' | | Component will render visually based on which type value is set
|
|
8
|
+
| Properties | Attributes | Modifiers | Type | Default | Description |
|
|
9
|
+
| -------------- | -------------- | --------- | -------------------------------------------------- | ------- | ----------------------------------------------------------------------------------- |
|
|
10
|
+
| hidden | hidden | | boolean | | If present, the component will be hidden both visually and from screen readers |
|
|
11
|
+
| hiddenAudible | hiddenAudible | | boolean | | If present, the component will be hidden from screen readers, but seen visually |
|
|
12
|
+
| hiddenVisually | hiddenVisually | | boolean | | If present, the component will be hidden visually, but still read by screen readers |
|
|
13
|
+
| noIcon | noIcon | | boolean | | Removes icon from alert UI when `type` attribute is set |
|
|
14
|
+
| type | type | | 'information' \| 'error' \| 'success' \| 'warning' | | Component will render visually based on which type value is set |
|
|
15
15
|
|
|
16
16
|
### Methods
|
|
17
17
|
|
|
@@ -262,9 +262,9 @@ While Auro components, `auro-alert` included, come with a pre-defined UI opinion
|
|
|
262
262
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
263
263
|
</auro-accordion>
|
|
264
264
|
|
|
265
|
-
##
|
|
265
|
+
## Restyle Component with CSS Variables
|
|
266
266
|
|
|
267
|
-
The component may be restyled
|
|
267
|
+
The component may be restyled by changing the values of the following token(s).
|
|
268
268
|
|
|
269
269
|
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../src/styles/tokens.scss) -->
|
|
270
270
|
<!-- The below code snippet is automatically added from ./../src/styles/tokens.scss -->
|
package/demo/auro-alert.min.js
CHANGED
|
@@ -322,7 +322,7 @@ class AuroAlert extends AuroElement {
|
|
|
322
322
|
},
|
|
323
323
|
|
|
324
324
|
/**
|
|
325
|
-
* Component will render visually based on which type value is set
|
|
325
|
+
* Component will render visually based on which type value is set
|
|
326
326
|
* @type {'information' | 'error' | 'success' | 'warning'}
|
|
327
327
|
*/
|
|
328
328
|
type: {
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"================================================================================"
|
|
9
9
|
],
|
|
10
10
|
"name": "@aurodesignsystem-dev/auro-alert",
|
|
11
|
-
"version": "0.0.0-pr104.
|
|
11
|
+
"version": "0.0.0-pr104.3",
|
|
12
12
|
"description": "auro-alert HTML custom element",
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|