@aurodesignsystem-dev/auro-skeleton 0.0.0-pr107.0 → 0.0.0-pr109.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/custom-elements.json +105 -0
- package/package.json +4 -2
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "1.0.0",
|
|
3
|
+
"readme": "",
|
|
4
|
+
"modules": [
|
|
5
|
+
{
|
|
6
|
+
"kind": "javascript-module",
|
|
7
|
+
"path": "src/auro-skeleton.js",
|
|
8
|
+
"declarations": [
|
|
9
|
+
{
|
|
10
|
+
"kind": "class",
|
|
11
|
+
"description": "Shows a placeholder shape with a shimmer animation while content loads, so people can tell the page is still working.\n\n**Key capabilities**\n- **Shapes**: Set `shape` to `circle`, `oval`, or `rectangle` to change the outline.\n- **Fills its container**: The skeleton always fills the width of its container unless you set a width, and it needs a height set with CSS.\n- **Screen reader text**: The skeleton always includes the hidden text \"Loading...\" for screen reader users.",
|
|
12
|
+
"name": "AuroSkeleton",
|
|
13
|
+
"members": [
|
|
14
|
+
{
|
|
15
|
+
"kind": "method",
|
|
16
|
+
"name": "register",
|
|
17
|
+
"static": true,
|
|
18
|
+
"parameters": [
|
|
19
|
+
{
|
|
20
|
+
"name": "name",
|
|
21
|
+
"default": "\"auro-skeleton\"",
|
|
22
|
+
"description": "The tag name to register the element under.",
|
|
23
|
+
"optional": true,
|
|
24
|
+
"type": {
|
|
25
|
+
"text": "string"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"description": "Registers the element with the browser under a tag name.",
|
|
30
|
+
"type": {
|
|
31
|
+
"text": "register(name?: string = \"auro-skeleton\") => void"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"kind": "field",
|
|
36
|
+
"name": "runtimeUtils",
|
|
37
|
+
"privacy": "private",
|
|
38
|
+
"default": "new AuroLibraryRuntimeUtils()"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"kind": "field",
|
|
42
|
+
"name": "shape",
|
|
43
|
+
"privacy": "public",
|
|
44
|
+
"type": {
|
|
45
|
+
"text": "'circle' | 'oval' | 'rectangle'"
|
|
46
|
+
},
|
|
47
|
+
"description": "Sets the skeleton's outline. `circle` makes an ellipse, which is a circle when the width and height match, `oval` gives it fully rounded ends, and `rectangle` gives it slightly rounded corners. When not set, the corners are square.",
|
|
48
|
+
"attribute": "shape"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"attributes": [
|
|
52
|
+
{
|
|
53
|
+
"name": "shape",
|
|
54
|
+
"type": {
|
|
55
|
+
"text": "'circle' | 'oval' | 'rectangle'"
|
|
56
|
+
},
|
|
57
|
+
"description": "Sets the skeleton's outline. `circle` makes an ellipse, which is a circle when the width and height match, `oval` gives it fully rounded ends, and `rectangle` gives it slightly rounded corners. When not set, the corners are square.",
|
|
58
|
+
"fieldName": "shape"
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
"superclass": {
|
|
62
|
+
"name": "LitElement",
|
|
63
|
+
"package": "lit"
|
|
64
|
+
},
|
|
65
|
+
"tagName": "auro-skeleton",
|
|
66
|
+
"customElement": true,
|
|
67
|
+
"summary": "A loading placeholder with a shimmer animation and circle, oval, or rectangle shapes.",
|
|
68
|
+
"modulePath": "src/auro-skeleton.js"
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"exports": [
|
|
72
|
+
{
|
|
73
|
+
"kind": "js",
|
|
74
|
+
"name": "AuroSkeleton",
|
|
75
|
+
"declaration": {
|
|
76
|
+
"name": "AuroSkeleton",
|
|
77
|
+
"module": "src/auro-skeleton.js"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"kind": "javascript-module",
|
|
84
|
+
"path": "src/index.js",
|
|
85
|
+
"declarations": [],
|
|
86
|
+
"exports": [
|
|
87
|
+
{
|
|
88
|
+
"kind": "js",
|
|
89
|
+
"name": "AuroSkeleton",
|
|
90
|
+
"declaration": {
|
|
91
|
+
"name": "AuroSkeleton",
|
|
92
|
+
"module": "src/index.js"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"kind": "javascript-module",
|
|
99
|
+
"path": "src/registered.js",
|
|
100
|
+
"declarations": [],
|
|
101
|
+
"exports": []
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"package": "@aurodesignsystem-dev/auro-skeleton@0.0.0-pr109.0"
|
|
105
|
+
}
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"================================================================================"
|
|
8
8
|
],
|
|
9
9
|
"name": "@aurodesignsystem-dev/auro-skeleton",
|
|
10
|
-
"version": "0.0.0-
|
|
10
|
+
"version": "0.0.0-pr109.0",
|
|
11
11
|
"description": "auro-skeleton HTML custom element",
|
|
12
12
|
"repository": {
|
|
13
13
|
"type": "git",
|
|
@@ -49,7 +49,8 @@
|
|
|
49
49
|
"web components"
|
|
50
50
|
],
|
|
51
51
|
"scripts": {
|
|
52
|
-
"build": "auro build",
|
|
52
|
+
"build": "auro build && npm run cem:check",
|
|
53
|
+
"cem:check": "auro cem-check --strict",
|
|
53
54
|
"dev": "auro dev -w -s",
|
|
54
55
|
"dev:open": "auro dev -w -s --open",
|
|
55
56
|
"lint": "biome check --no-errors-on-unmatched && stylelint \"./src/**/*.scss\"",
|
|
@@ -79,6 +80,7 @@
|
|
|
79
80
|
"files": [
|
|
80
81
|
"dist/**/*",
|
|
81
82
|
"demo/**/*",
|
|
83
|
+
"custom-elements.json",
|
|
82
84
|
"CHANGELOG.md",
|
|
83
85
|
"README.md",
|
|
84
86
|
"LICENSE",
|