@m3e/loading-indicator 1.0.0-rc.1
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/LICENSE +22 -0
- package/README.md +93 -0
- package/cem.config.mjs +16 -0
- package/demo/index.html +45 -0
- package/dist/css-custom-data.json +37 -0
- package/dist/custom-elements.json +190 -0
- package/dist/html-custom-data.json +18 -0
- package/dist/index.js +293 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +129 -0
- package/dist/index.min.js.map +1 -0
- package/dist/src/LoadingIndicatorElement.d.ts +56 -0
- package/dist/src/LoadingIndicatorElement.d.ts.map +1 -0
- package/dist/src/LoadingIndicatorToken.d.ts +9 -0
- package/dist/src/LoadingIndicatorToken.d.ts.map +1 -0
- package/dist/src/LoadingIndicatorVariant.d.ts +3 -0
- package/dist/src/LoadingIndicatorVariant.d.ts.map +1 -0
- package/dist/src/ShapePolygon.d.ts +7 -0
- package/dist/src/ShapePolygon.d.ts.map +1 -0
- package/dist/src/index.d.ts +3 -0
- package/dist/src/index.d.ts.map +1 -0
- package/eslint.config.mjs +13 -0
- package/package.json +48 -0
- package/rollup.config.js +32 -0
- package/src/LoadingIndicatorElement.ts +194 -0
- package/src/LoadingIndicatorToken.ts +16 -0
- package/src/LoadingIndicatorVariant.ts +2 -0
- package/src/ShapePolygon.ts +29 -0
- package/src/index.ts +2 -0
- package/tsconfig.json +9 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 matraic
|
|
4
|
+
Contact: matraic@yahoo.com
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# @m3e/loading-indicator
|
|
2
|
+
|
|
3
|
+
The `m3e-loading-indicator` component uses animation to grab attention, mitigate perceived latency, and indicate that an activity is in progress. Use the `variant` attribute to switch between `uncontained` (default) and `contained` appearances for contrast and context.
|
|
4
|
+
|
|
5
|
+
> **Part of the [M3E](../../README.md) monorepo**
|
|
6
|
+
> This package is maintained within the unified M3E repository, which provides a suite of Material 3 web components.
|
|
7
|
+
|
|
8
|
+
## ๐ฆ Installation
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install @m3e/loading-indicator
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## ๐ป Editor Integration
|
|
15
|
+
|
|
16
|
+
This package includes a [Custom Elements Manifest](https://github.com/webcomponents/custom-elements-manifest) to support enhanced editor tooling and developer experience.
|
|
17
|
+
|
|
18
|
+
### Visual Studio Code
|
|
19
|
+
|
|
20
|
+
To enable autocomplete and hover documentation for `@m3e/loading-indicator`, install the [Custom Elements Manifest Language Server](https://marketplace.visualstudio.com/items?itemName=pwrs.cem-language-server-vscode) extension. It will automatically detect the manifest bundled with this package and surface tag names, attributes, slots, and events in supported files.
|
|
21
|
+
|
|
22
|
+
Alternately, you can explicitly reference the `html-custom-data.json` and `css-custom-data.json` in your workspace settings:
|
|
23
|
+
|
|
24
|
+
```json
|
|
25
|
+
{
|
|
26
|
+
"html.customData": ["./node_modules/@m3e/loading-indicator/dist/html-custom-data.json"],
|
|
27
|
+
"css.customData": ["./node_modules/@m3e/loading-indicator/dist/css-custom-data.json"]
|
|
28
|
+
}
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## ๐ Browser Usage
|
|
32
|
+
|
|
33
|
+
This package uses [JavaScript Modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules#module_specifiers). To use it directly in a browser without a bundler, use a module script similar to the following.
|
|
34
|
+
|
|
35
|
+
```html
|
|
36
|
+
<script type="module" src="/node_modules/@m3e/loading-indicator/dist/index.js"></script>
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
In addition, you must use an [import map](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/script/type/importmap) to include dependencies.
|
|
40
|
+
|
|
41
|
+
```html
|
|
42
|
+
<script type="importmap">
|
|
43
|
+
{
|
|
44
|
+
"imports": {
|
|
45
|
+
"lit": "https://cdn.jsdelivr.net/npm/lit@3.3.0/+esm",
|
|
46
|
+
"@m3e/core": "/node_modules/@m3e/core/dist/index.js"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
</script>
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
> For production, use index.min.js for faster load times.
|
|
53
|
+
|
|
54
|
+
## ๐๏ธ Elements
|
|
55
|
+
|
|
56
|
+
- `m3e-loading-indicator` โ Shows indeterminate progress for a short wait time.
|
|
57
|
+
|
|
58
|
+
## ๐งช Examples
|
|
59
|
+
|
|
60
|
+
The following example illustrates an uncontained loading indicator.
|
|
61
|
+
|
|
62
|
+
```html
|
|
63
|
+
<m3e-loading-indicator></m3e-loading-indicator>
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## ๐ API Reference
|
|
67
|
+
|
|
68
|
+
This section details the attributes and CSS custom properties available for the `m3e-loading-indicator` component.
|
|
69
|
+
|
|
70
|
+
### โ๏ธ Attributes
|
|
71
|
+
|
|
72
|
+
| Attribute | Type | Default | Description |
|
|
73
|
+
| --------- | ------------------------------ | --------------- | ---------------------------------------- |
|
|
74
|
+
| `variant` | `"uncontained" \| "contained"` | `"uncontained"` | The appearance variant of the indicator. |
|
|
75
|
+
|
|
76
|
+
### ๐๏ธ CSS Custom Properties
|
|
77
|
+
|
|
78
|
+
| Property | Description |
|
|
79
|
+
| ---------------------------------------------------------- | --------------------------------------- |
|
|
80
|
+
| `--m3e-loading-indicator-active-indicator-color` | Uncontained active indicator color. |
|
|
81
|
+
| `--m3e-loading-indicator-contained-active-indicator-color` | Contained active indicator color. |
|
|
82
|
+
| `--m3e-loading-indicator-contained-container-color` | Contained container (background) color. |
|
|
83
|
+
| `--m3e-loading-indicator-active-indicator-size` | Size of the active indicator. |
|
|
84
|
+
| `--m3e-loading-indicator-container-shape` | Container shape. |
|
|
85
|
+
| `--m3e-loading-indicator-container-size` | Container size. |
|
|
86
|
+
|
|
87
|
+
## ๐ค Contributing
|
|
88
|
+
|
|
89
|
+
See the root monorepo `CONTRIBUTING.md` for guidelines on contributing to this package.
|
|
90
|
+
|
|
91
|
+
## ๐ License
|
|
92
|
+
|
|
93
|
+
This package is licensed under the MIT License.
|
package/cem.config.mjs
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { customElementVsCodePlugin } from "custom-element-vs-code-integration";
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
globs: ["src/**/*.ts"],
|
|
5
|
+
exclude: ["src/**/*.spec.ts"],
|
|
6
|
+
packagejson: true,
|
|
7
|
+
outdir: "dist",
|
|
8
|
+
litelement: true,
|
|
9
|
+
plugins: [
|
|
10
|
+
customElementVsCodePlugin({
|
|
11
|
+
outdir: "dist",
|
|
12
|
+
htmlFileName: "html-custom-data.json",
|
|
13
|
+
cssFileName: "css-custom-data.json",
|
|
14
|
+
}),
|
|
15
|
+
],
|
|
16
|
+
};
|
package/demo/index.html
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en" style="overflow-y: auto">
|
|
3
|
+
<head>
|
|
4
|
+
<title>Loading Indicator for M3E</title>
|
|
5
|
+
<meta charset="utf-8" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
|
+
<meta name="description" content="Loading Indicator for M3E" />
|
|
8
|
+
<base href="./" />
|
|
9
|
+
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
10
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
11
|
+
<link
|
|
12
|
+
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap"
|
|
13
|
+
rel="stylesheet"
|
|
14
|
+
/>
|
|
15
|
+
<link
|
|
16
|
+
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0..1,0"
|
|
17
|
+
rel="stylesheet"
|
|
18
|
+
/>
|
|
19
|
+
<script type="importmap">
|
|
20
|
+
{
|
|
21
|
+
"imports": {
|
|
22
|
+
"lit": "https://cdn.jsdelivr.net/npm/lit@3.3.0/+esm",
|
|
23
|
+
"@m3e/core": "../../core/dist/index.min.js"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
</script>
|
|
27
|
+
<script type="module" src="../../theme/dist/index.min.js"></script>
|
|
28
|
+
<script type="module" src="../dist/index.min.js"></script>
|
|
29
|
+
<style>
|
|
30
|
+
body {
|
|
31
|
+
font-family: "Roboto";
|
|
32
|
+
}
|
|
33
|
+
*:not(:defined) {
|
|
34
|
+
display: none;
|
|
35
|
+
}
|
|
36
|
+
</style>
|
|
37
|
+
</head>
|
|
38
|
+
<body>
|
|
39
|
+
<m3e-theme strong-focus>
|
|
40
|
+
<m3e-loading-indicator></m3e-loading-indicator>
|
|
41
|
+
<br /><br />
|
|
42
|
+
<m3e-loading-indicator variant="contained"></m3e-loading-indicator>
|
|
43
|
+
</m3e-theme>
|
|
44
|
+
</body>
|
|
45
|
+
</html>
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/microsoft/vscode-css-languageservice/main/docs/customData.schema.json",
|
|
3
|
+
"version": 1.1,
|
|
4
|
+
"properties": [
|
|
5
|
+
{
|
|
6
|
+
"name": "--m3e-loading-indicator-active-indicator-color",
|
|
7
|
+
"description": "Uncontained active indicator color.",
|
|
8
|
+
"values": []
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"name": "--m3e-loading-indicator-contained-active-indicator-color",
|
|
12
|
+
"description": "Contained active indicator color.",
|
|
13
|
+
"values": []
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "--m3e-loading-indicator-contained-container-color",
|
|
17
|
+
"description": "Contained container (background) color.",
|
|
18
|
+
"values": []
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "--m3e-loading-indicator-active-indicator-size",
|
|
22
|
+
"description": "Size of the active indicator.",
|
|
23
|
+
"values": []
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "--m3e-loading-indicator-container-shape",
|
|
27
|
+
"description": "Container shape.",
|
|
28
|
+
"values": []
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "--m3e-loading-indicator-container-size",
|
|
32
|
+
"description": "Container size.",
|
|
33
|
+
"values": []
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"pseudoElements": []
|
|
37
|
+
}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "1.0.0",
|
|
3
|
+
"readme": "",
|
|
4
|
+
"modules": [
|
|
5
|
+
{
|
|
6
|
+
"kind": "javascript-module",
|
|
7
|
+
"path": "src/index.ts",
|
|
8
|
+
"declarations": [],
|
|
9
|
+
"exports": [
|
|
10
|
+
{
|
|
11
|
+
"kind": "js",
|
|
12
|
+
"name": "*",
|
|
13
|
+
"declaration": {
|
|
14
|
+
"name": "*",
|
|
15
|
+
"package": "\"./LoadingIndicatorElement\""
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"kind": "js",
|
|
20
|
+
"name": "*",
|
|
21
|
+
"declaration": {
|
|
22
|
+
"name": "*",
|
|
23
|
+
"package": "\"./LoadingIndicatorVariant\""
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"kind": "javascript-module",
|
|
30
|
+
"path": "src/LoadingIndicatorElement.ts",
|
|
31
|
+
"declarations": [
|
|
32
|
+
{
|
|
33
|
+
"kind": "class",
|
|
34
|
+
"description": "",
|
|
35
|
+
"name": "M3eLoadingIndicatorElement",
|
|
36
|
+
"cssProperties": [
|
|
37
|
+
{
|
|
38
|
+
"description": "Uncontained active indicator color.",
|
|
39
|
+
"name": "--m3e-loading-indicator-active-indicator-color"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"description": "Contained active indicator color.",
|
|
43
|
+
"name": "--m3e-loading-indicator-contained-active-indicator-color"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"description": "Contained container (background) color.",
|
|
47
|
+
"name": "--m3e-loading-indicator-contained-container-color"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"description": "Size of the active indicator.",
|
|
51
|
+
"name": "--m3e-loading-indicator-active-indicator-size"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"description": "Container shape.",
|
|
55
|
+
"name": "--m3e-loading-indicator-container-shape"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"description": "Container size.",
|
|
59
|
+
"name": "--m3e-loading-indicator-container-size"
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"members": [
|
|
63
|
+
{
|
|
64
|
+
"kind": "field",
|
|
65
|
+
"name": "_activeIndicator",
|
|
66
|
+
"type": {
|
|
67
|
+
"text": "HTMLElement | undefined"
|
|
68
|
+
},
|
|
69
|
+
"privacy": "private",
|
|
70
|
+
"readonly": true
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"kind": "field",
|
|
74
|
+
"name": "#shapes",
|
|
75
|
+
"privacy": "private",
|
|
76
|
+
"type": {
|
|
77
|
+
"text": "Array<keyof typeof ShapePolygon>"
|
|
78
|
+
},
|
|
79
|
+
"default": "[ \"soft-burst\", \"7-sided-cookie\", \"pentagon\", \"pill\", \"very-sunny\", \"4-sided-cookie\", \"oval\", ]"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"kind": "field",
|
|
83
|
+
"name": "#shapeIndex",
|
|
84
|
+
"privacy": "private",
|
|
85
|
+
"type": {
|
|
86
|
+
"text": "number"
|
|
87
|
+
},
|
|
88
|
+
"default": "1"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"kind": "field",
|
|
92
|
+
"name": "#animationIterationHandler",
|
|
93
|
+
"privacy": "private",
|
|
94
|
+
"readonly": true
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"kind": "field",
|
|
98
|
+
"name": "variant",
|
|
99
|
+
"type": {
|
|
100
|
+
"text": "LoadingIndicatorVariant"
|
|
101
|
+
},
|
|
102
|
+
"default": "\"uncontained\"",
|
|
103
|
+
"description": "The appearance variant of the indicator.",
|
|
104
|
+
"attribute": "variant",
|
|
105
|
+
"reflects": true
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"attributes": [
|
|
109
|
+
{
|
|
110
|
+
"description": "The appearance variant of the indicator.",
|
|
111
|
+
"name": "variant",
|
|
112
|
+
"type": {
|
|
113
|
+
"text": "LoadingIndicatorVariant"
|
|
114
|
+
},
|
|
115
|
+
"default": "\"uncontained\"",
|
|
116
|
+
"fieldName": "variant"
|
|
117
|
+
}
|
|
118
|
+
],
|
|
119
|
+
"mixins": [
|
|
120
|
+
{
|
|
121
|
+
"name": "Role",
|
|
122
|
+
"package": "@m3e/core"
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"superclass": {
|
|
126
|
+
"name": "LitElement",
|
|
127
|
+
"package": "lit"
|
|
128
|
+
},
|
|
129
|
+
"tagName": "m3e-loading-indicator",
|
|
130
|
+
"customElement": true,
|
|
131
|
+
"summary": "Shows indeterminate progress for a short wait time."
|
|
132
|
+
}
|
|
133
|
+
],
|
|
134
|
+
"exports": [
|
|
135
|
+
{
|
|
136
|
+
"kind": "js",
|
|
137
|
+
"name": "M3eLoadingIndicatorElement",
|
|
138
|
+
"declaration": {
|
|
139
|
+
"name": "M3eLoadingIndicatorElement",
|
|
140
|
+
"module": "src/LoadingIndicatorElement.ts"
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"kind": "custom-element-definition",
|
|
145
|
+
"name": "m3e-loading-indicator",
|
|
146
|
+
"declaration": {
|
|
147
|
+
"name": "M3eLoadingIndicatorElement",
|
|
148
|
+
"module": "src/LoadingIndicatorElement.ts"
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
]
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"kind": "javascript-module",
|
|
155
|
+
"path": "src/LoadingIndicatorToken.ts",
|
|
156
|
+
"declarations": [
|
|
157
|
+
{
|
|
158
|
+
"kind": "variable",
|
|
159
|
+
"name": "LoadingIndicatorToken",
|
|
160
|
+
"type": {
|
|
161
|
+
"text": "{\r\n activeIndicatorSize: unsafeCSS(`var(--m3e-loading-indicator-size, 2.375rem)`),\r\n activeIndicatorColor: unsafeCSS(`var(--m3e-loading-indicator-active-indicator-color, ${DesignToken.color.primary})`),\r\n containedActiveIndicatorColor: unsafeCSS(\r\n `var(--m3e-loading-indicator-contained-active-indicator-color, ${DesignToken.color.onPrimaryContainer})`\r\n ),\r\n containedContainerColor: unsafeCSS(\r\n `var(--m3e-loading-indicator-contained-container-color, ${DesignToken.color.secondaryContainer})`\r\n ),\r\n containerShape: unsafeCSS(`var(--m3e-loading-indicator-container-shape, ${DesignToken.shape.corner.full})`),\r\n containerSize: unsafeCSS(`var(--m3e-loading-indicator-container-size, 3rem)`),\r\n}"
|
|
162
|
+
},
|
|
163
|
+
"default": "{ activeIndicatorSize: unsafeCSS(`var(--m3e-loading-indicator-size, 2.375rem)`), activeIndicatorColor: unsafeCSS(`var(--m3e-loading-indicator-active-indicator-color, ${DesignToken.color.primary})`), containedActiveIndicatorColor: unsafeCSS( `var(--m3e-loading-indicator-contained-active-indicator-color, ${DesignToken.color.onPrimaryContainer})` ), containedContainerColor: unsafeCSS( `var(--m3e-loading-indicator-contained-container-color, ${DesignToken.color.secondaryContainer})` ), containerShape: unsafeCSS(`var(--m3e-loading-indicator-container-shape, ${DesignToken.shape.corner.full})`), containerSize: unsafeCSS(`var(--m3e-loading-indicator-container-size, 3rem)`), }"
|
|
164
|
+
}
|
|
165
|
+
],
|
|
166
|
+
"exports": [
|
|
167
|
+
{
|
|
168
|
+
"kind": "js",
|
|
169
|
+
"name": "LoadingIndicatorToken",
|
|
170
|
+
"declaration": {
|
|
171
|
+
"name": "LoadingIndicatorToken",
|
|
172
|
+
"module": "src/LoadingIndicatorToken.ts"
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
]
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"kind": "javascript-module",
|
|
179
|
+
"path": "src/LoadingIndicatorVariant.ts",
|
|
180
|
+
"declarations": [],
|
|
181
|
+
"exports": []
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"kind": "javascript-module",
|
|
185
|
+
"path": "src/ShapePolygon.ts",
|
|
186
|
+
"declarations": [],
|
|
187
|
+
"exports": []
|
|
188
|
+
}
|
|
189
|
+
]
|
|
190
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/microsoft/vscode-html-languageservice/main/docs/customData.schema.json",
|
|
3
|
+
"version": 1.1,
|
|
4
|
+
"tags": [
|
|
5
|
+
{
|
|
6
|
+
"name": "m3e-loading-indicator",
|
|
7
|
+
"description": "Shows indeterminate progress for a short wait time.\n---\n\n\n### **CSS Properties:**\n - **--m3e-loading-indicator-active-indicator-color** - Uncontained active indicator color. _(default: undefined)_\n- **--m3e-loading-indicator-contained-active-indicator-color** - Contained active indicator color. _(default: undefined)_\n- **--m3e-loading-indicator-contained-container-color** - Contained container (background) color. _(default: undefined)_\n- **--m3e-loading-indicator-active-indicator-size** - Size of the active indicator. _(default: undefined)_\n- **--m3e-loading-indicator-container-shape** - Container shape. _(default: undefined)_\n- **--m3e-loading-indicator-container-size** - Container size. _(default: undefined)_",
|
|
8
|
+
"attributes": [
|
|
9
|
+
{
|
|
10
|
+
"name": "variant",
|
|
11
|
+
"description": "The appearance variant of the indicator.",
|
|
12
|
+
"values": [{ "name": "LoadingIndicatorVariant" }]
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"references": []
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
}
|