@public-ui/components 1.5.2-rc.3 → 1.5.2
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/cheat-sheet.html +12 -14
- package/custom-elements.json +1 -1
- package/doc/progress.md +4 -4
- package/jest-test-results.json +1 -1
- package/package.json +1 -1
package/cheat-sheet.html
CHANGED
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<meta name="description" content="..." />
|
|
7
7
|
<base href="/" />
|
|
8
8
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
9
|
-
<link href="https://cdn.jsdelivr.net/npm/@vscode/codicons@0.0.33/dist/codicon.min.css" rel="stylesheet"
|
|
10
|
-
<link href="https://cdn.jsdelivr.net/npm/highlight.js@11.8.0/styles/a11y-light.min.css" rel="stylesheet"
|
|
9
|
+
<link href="https://cdn.jsdelivr.net/npm/@vscode/codicons@0.0.33/dist/codicon.min.css" rel="stylesheet">
|
|
10
|
+
<link href="https://cdn.jsdelivr.net/npm/highlight.js@11.8.0/styles/a11y-light.min.css" rel="stylesheet">
|
|
11
11
|
<script src="https://cdn.jsdelivr.net/npm/highlight.js@11.8.0/lib/index.min.js"></script>
|
|
12
12
|
<script type="module">
|
|
13
|
-
import { register } from 'https://esm.sh/@public-ui/components@1.5.2
|
|
14
|
-
import { defineCustomElements } from 'https://esm.sh/@public-ui/components@1.5.2
|
|
15
|
-
import { ITZBund } from 'https://esm.sh/@public-ui/themes@1.5.2
|
|
13
|
+
import { register } from 'https://esm.sh/@public-ui/components@1.5.2';
|
|
14
|
+
import { defineCustomElements } from 'https://esm.sh/@public-ui/components@1.5.2/dist/loader';
|
|
15
|
+
import { ITZBund } from 'https://esm.sh/@public-ui/themes@1.5.2';
|
|
16
16
|
register(ITZBund, defineCustomElements)
|
|
17
17
|
.catch(console.warn);
|
|
18
18
|
</script>
|
|
@@ -68,8 +68,7 @@
|
|
|
68
68
|
<p><strong>Fonts</strong> und <strong>Icon-Fonts</strong> müssen im <code class="language-html" style="background-color: #f3f3f3; padding: .25rem !important;"><head></code> der HTML-Seite eingebunden werden.</p>
|
|
69
69
|
<pre>
|
|
70
70
|
<code class="language-html"><head>
|
|
71
|
-
|
|
72
|
-
<link href="https://use.fontawesome.com/releases/v6.2.1/css/all.css" rel="stylesheet">
|
|
71
|
+
<link href="https://cdn.jsdelivr.net/npm/@vscode/codicons@0.0.33/dist/codicon.min.css" rel="stylesheet">
|
|
73
72
|
</head></code>
|
|
74
73
|
</pre>
|
|
75
74
|
<kol-heading _label="" _level="3">Loader</kol-heading>
|
|
@@ -77,12 +76,11 @@
|
|
|
77
76
|
<pre>
|
|
78
77
|
<code class="language-html"><head>
|
|
79
78
|
<script type="module">
|
|
80
|
-
import { register } from 'https://esm.sh/@public-ui/components@1.5.2
|
|
81
|
-
import { defineCustomElements } from 'https://esm.sh/@public-ui/components@1.5.2
|
|
82
|
-
import { ITZBund } from 'https://esm.sh/@public-ui/themes@1.5.2
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
.catch(console.warn);
|
|
79
|
+
import { register } from 'https://esm.sh/@public-ui/components@1.5.2';
|
|
80
|
+
import { defineCustomElements } from 'https://esm.sh/@public-ui/components@1.5.2/dist/loader';
|
|
81
|
+
import { ITZBund } from 'https://esm.sh/@public-ui/themes@1.5.2';
|
|
82
|
+
register(ITZBund, defineCustomElements)
|
|
83
|
+
.catch(console.warn);
|
|
86
84
|
</script>
|
|
87
85
|
</head></code>
|
|
88
86
|
</pre>
|
|
@@ -97,7 +95,7 @@
|
|
|
97
95
|
<p>Im VSCode können die Meta-Informationen der Komponenten und deren Eigenschaften für die Autovervollständigung von HTML aktiviert werden.</p>
|
|
98
96
|
<pre>
|
|
99
97
|
<code class="language-json">{
|
|
100
|
-
"html.customData": ["
|
|
98
|
+
"html.customData": ["https://esm.sh/@public-ui/components@1.5.2/vscode-custom-data.json"]
|
|
101
99
|
}</code>
|
|
102
100
|
</pre>
|
|
103
101
|
<kol-heading _label="" _level="3">Dev-Tools</kol-heading>
|
package/custom-elements.json
CHANGED
package/doc/progress.md
CHANGED
|
@@ -8,15 +8,15 @@ Die **Progress**-Komponente erzeugt einen Fortschrittsbalken, über den eine opt
|
|
|
8
8
|
|
|
9
9
|
```html
|
|
10
10
|
<div>
|
|
11
|
-
<kol-progress _label="Fortschritt"
|
|
12
|
-
<kol-progress _label="Fortschritt"
|
|
11
|
+
<kol-progress _label="Fortschritt" _variant="bar" _max="100" _value="20"></kol-progress>
|
|
12
|
+
<kol-progress _label="Fortschritt" _variant="cycle" _max="100" _value="20"></kol-progress>
|
|
13
13
|
</div>
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
### Beispiel
|
|
17
17
|
|
|
18
|
-
<kol-progress _label="Fortschritt"
|
|
19
|
-
<kol-progress _label="Fortschritt"
|
|
18
|
+
<kol-progress _label="Fortschritt" _variant="bar" _max="100" _value="20"></kol-progress>
|
|
19
|
+
<kol-progress _label="Fortschritt" _variant="cycle" _max="100" _value="20"></kol-progress>
|
|
20
20
|
|
|
21
21
|
## Verwendung
|
|
22
22
|
|