scu-web-components 0.0.6 → 0.0.7
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 +6 -12
- package/dist/custom-elements.json +4155 -4155
- package/dist/docs/components/manifest.json +73 -73
- package/dist/docs/config.json +2 -2
- package/dist/docs/documents/Component Status.html +16162 -165
- package/dist/docs/documents/Release History.html +16 -0
- package/dist/scw-icon/scw-icon-enums.d.ts +10 -7
- package/dist/tokens/source/jsCss.js +1 -1
- package/dist/tokens/source/jsCss.js.gz +0 -0
- package/dist/tokens/source/jsCssGenerator.js +1 -1
- package/dist/tokens/source/jsCssGenerator.js.gz +0 -0
- package/dist/tokens/source/jsCssGeneratorSansAssets.js +1 -1
- package/dist/tokens/source/jsCssGeneratorSansAssets.js.gz +0 -0
- package/package.json +1 -1
- package/dist/chunks/chunk.2TGHLWGO.js +0 -2
- package/dist/chunks/chunk.2TGHLWGO.js.map +0 -7
- package/dist/chunks/chunk.2TSY4CFG.js +0 -2
- package/dist/chunks/chunk.2TSY4CFG.js.map +0 -7
- package/dist/chunks/chunk.4GLMY75D.js +0 -2
- package/dist/chunks/chunk.4GLMY75D.js.map +0 -7
- package/dist/chunks/chunk.66EQ5QVQ.js +0 -184
- package/dist/chunks/chunk.66EQ5QVQ.js.map +0 -7
- package/dist/chunks/chunk.GGAZTVQ7.js +0 -2
- package/dist/chunks/chunk.GGAZTVQ7.js.map +0 -7
- package/dist/chunks/chunk.NQORJFX5.js +0 -2
- package/dist/chunks/chunk.NQORJFX5.js.map +0 -7
- package/dist/chunks/chunk.PCZMPUNZ.js +0 -4
- package/dist/chunks/chunk.PCZMPUNZ.js.map +0 -7
- package/dist/chunks/chunk.TRHBO62T.js +0 -2
- package/dist/chunks/chunk.TRHBO62T.js.map +0 -7
- package/dist/chunks/chunk.Z4TYLD3S.js +0 -4
- package/dist/chunks/chunk.Z4TYLD3S.js.map +0 -7
package/README.md
CHANGED
|
@@ -18,29 +18,23 @@ npm i scu-web-components
|
|
|
18
18
|
assetsRuntime : true // for browser imports, will load assets lazily versus Base64ing into bundle
|
|
19
19
|
});
|
|
20
20
|
</script>
|
|
21
|
+
<link rel="stylesheet" href="./node_modules/scu-web-components/dist/scw.css" />
|
|
21
22
|
...
|
|
22
|
-
<scw-link></scw-link>
|
|
23
|
+
<scw-link aria-label="Click Me"></scw-link>
|
|
23
24
|
```
|
|
24
25
|
|
|
25
26
|
## Reference
|
|
26
27
|
A quick way to access the reference can be created using http-server via
|
|
27
28
|
the package.json file
|
|
29
|
+
```bash
|
|
30
|
+
npm i http-server
|
|
31
|
+
```
|
|
28
32
|
```
|
|
29
33
|
"scripts": {
|
|
30
|
-
"reference": "http-server ./node_modules/scu-web-components/dist/docs/ -c-1 -o"
|
|
34
|
+
"reference": "npx http-server ./node_modules/scu-web-components/dist/docs/ -c-1 -o -p 8020"
|
|
31
35
|
},
|
|
32
36
|
```
|
|
33
37
|
|
|
34
|
-
### Custom Component Package
|
|
35
|
-
```javascript
|
|
36
|
-
const scw = await import('scu-web-components/dist/scw.js');
|
|
37
|
-
scw.defineComponents({
|
|
38
|
-
suffix: 'tst'
|
|
39
|
-
});
|
|
40
|
-
...
|
|
41
|
-
<scw-link-tst></scw-link-tst>
|
|
42
|
-
```
|
|
43
|
-
|
|
44
38
|
## New Component Checklist
|
|
45
39
|
|
|
46
40
|
1 Create component javascript ( src/[comp]/[comp].ts )
|