@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 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-rc.3';
14
- import { defineCustomElements } from 'https://esm.sh/@public-ui/components@1.5.2-rc.3/dist/loader';
15
- import { ITZBund } from 'https://esm.sh/@public-ui/themes@1.5.2-rc.3';
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;">&#60;head&#62;</code> der HTML-Seite eingebunden werden.</p>
69
69
  <pre>
70
70
  <code class="language-html">&#60;head&#62;
71
- &#60;link href="https://fonts.cdnfonts.com/css/roboto" rel="stylesheet" /&#62;
72
- &#60;link href="https://use.fontawesome.com/releases/v6.2.1/css/all.css" rel="stylesheet"&#62;
71
+ &#60;link href="https://cdn.jsdelivr.net/npm/@vscode/codicons@0.0.33/dist/codicon.min.css" rel="stylesheet"&#62;
73
72
  &#60;/head&#62;</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">&#60;head&#62;
79
78
  &#60;script type="module"&#62;
80
- import { register } from 'https://esm.sh/@public-ui/components@1.5.2-rc.3';
81
- import { defineCustomElements } from 'https://esm.sh/@public-ui/components@1.5.2-rc.3/dist/loader';
82
- import { ITZBund } from 'https://esm.sh/@public-ui/themes@1.5.2-rc.3';
83
- register([ITZBund], [defineCustomElements])
84
- .then(() =&#62; {})
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
  &#60;/script&#62;
87
85
  &#60;/head&#62;</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": ["./node_modules/@public-ui/components/vscode-custom-data.json"]
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>
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.5.2-rc.3",
2
+ "version": "1.5.2",
3
3
  "tags": [
4
4
  {
5
5
  "name": "kol-abbr",
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" _type="bar" _max="100" _value="20"></kol-progress>
12
- <kol-progress _label="Fortschritt" _type="cycle" _max="100" _value="20"></kol-progress>
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" _type="bar" _max="100" _value="20"></kol-progress>
19
- <kol-progress _label="Fortschritt" _type="cycle" _max="100" _value="20"></kol-progress>
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