@htmlbricks/hb-skeleton-component 0.66.7 → 0.66.9

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 ADDED
@@ -0,0 +1,34 @@
1
+ ## `hb-skeleton-component` — skeleton-component
2
+
3
+ **Category:** data
4
+ **Tags:** data, loading
5
+
6
+ ### What it does
7
+
8
+ Development scaffold: accepts arbitrary `json`, `string`, and `boolean` props to test bindings, exposes a `skelcontent` slot and a `testpart` CSS part, and emits a generic `event` for wiring demos.
9
+
10
+ ### Custom element
11
+
12
+ `hb-skeleton-component`
13
+
14
+ ### Attributes (snake_case; use string values in HTML)
15
+
16
+ - `id` (optional), `style` (optional): strings.
17
+ - `json` (optional): JSON string — any JSON-serializable value.
18
+ - `string` (required per typings): string.
19
+ - `boolean` (optional): boolean as string when used from HTML.
20
+
21
+ ### Events
22
+
23
+ - `event`: `{ test: boolean }`.
24
+
25
+ ### Usage notes
26
+
27
+ - **Slot:** `skelcontent`.
28
+ - **CSS part:** `testpart`.
29
+
30
+ ### Minimal HTML example
31
+
32
+ ```html
33
+ <hb-skeleton-component string="demo" json='{"a":0}' boolean="no"></hb-skeleton-component>
34
+ ```
package/manifest.json CHANGED
@@ -126,5 +126,5 @@
126
126
  "size": {},
127
127
  "iifePath": "main.iife.js",
128
128
  "repoName": "@htmlbricks/hb-skeleton-component",
129
- "version": "0.66.7"
129
+ "version": "0.66.9"
130
130
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-skeleton-component",
3
- "version": "0.66.7",
3
+ "version": "0.66.9",
4
4
  "contributors": [],
5
5
  "description": "Development scaffold: accepts arbitrary `json`, `string`, and `boolean` props to test bindings, exposes a `skelcontent` slot and a `testpart` CSS part, and emits a generic `event` for wiring demos.",
6
6
  "licenses": [