@stealthscale/component-disclosure 0.1.0 → 0.2.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/README.md +759 -284
- package/dist/cyclonedx/bom.json +1 -1
- package/dist/index.d.ts +1701 -513
- package/dist/index.js +4781 -1429
- package/dist/recipe-95yCB2V3.js +2130 -0
- package/dist/theme.js +17 -8
- package/package.json +42 -33
- package/dist/recipe-BdO9ZFWU.js +0 -708
package/dist/theme.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as recipe, i as recipe$1, n as recipe$
|
|
1
|
+
import { a as recipe$8, d as recipe$4, f as recipe$3, i as recipe$9, m as recipe$1, n as recipe$11, o as recipe$7, p as recipe$2, r as recipe$10, s as recipe$6, t as recipe, u as recipe$5 } from "./recipe-95yCB2V3.js";
|
|
2
2
|
import { definePreset } from "@stealthscale/theme/authoring";
|
|
3
3
|
//#region src/theme.ts
|
|
4
4
|
/**
|
|
@@ -11,13 +11,22 @@ import { definePreset } from "@stealthscale/theme/authoring";
|
|
|
11
11
|
*/
|
|
12
12
|
var theme_default = definePreset({
|
|
13
13
|
name: "@stealthscale/component-disclosure",
|
|
14
|
-
theme: { extend: {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
14
|
+
theme: { extend: {
|
|
15
|
+
recipes: { truncate: recipe },
|
|
16
|
+
slotRecipes: {
|
|
17
|
+
accordion: recipe$1,
|
|
18
|
+
collapsible: recipe$2,
|
|
19
|
+
details: recipe$3,
|
|
20
|
+
hoverCard: recipe$4,
|
|
21
|
+
menu: recipe$5,
|
|
22
|
+
menubar: recipe$6,
|
|
23
|
+
popover: recipe$7,
|
|
24
|
+
steps: recipe$8,
|
|
25
|
+
tabs: recipe$9,
|
|
26
|
+
toggleTip: recipe$10,
|
|
27
|
+
tooltip: recipe$11
|
|
28
|
+
}
|
|
29
|
+
} }
|
|
21
30
|
});
|
|
22
31
|
//#endregion
|
|
23
32
|
export { theme_default as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stealthscale/component-disclosure",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Draws what is shown and hidden on the reader's say-so.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"accordion",
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
"disclosure",
|
|
9
9
|
"react"
|
|
10
10
|
],
|
|
11
|
-
"homepage": "https://github.com/stealth-scale/
|
|
12
|
-
"bugs": "https://github.com/stealth-scale/
|
|
11
|
+
"homepage": "https://github.com/stealth-scale/scale/tree/main/components/disclosure#readme",
|
|
12
|
+
"bugs": "https://github.com/stealth-scale/scale/issues",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
|
16
|
-
"url": "git+https://github.com/stealth-scale/
|
|
16
|
+
"url": "git+https://github.com/stealth-scale/scale.git",
|
|
17
17
|
"directory": "components/disclosure"
|
|
18
18
|
},
|
|
19
19
|
"files": [
|
|
@@ -35,40 +35,49 @@
|
|
|
35
35
|
"access": "public"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@zag-js/
|
|
39
|
-
"@zag-js/
|
|
40
|
-
"@zag-js/
|
|
41
|
-
"@zag-js/
|
|
42
|
-
"@zag-js/
|
|
43
|
-
"@zag-js/
|
|
44
|
-
"@zag-js/
|
|
38
|
+
"@zag-js/accordion": "1.45.0",
|
|
39
|
+
"@zag-js/collapsible": "1.45.0",
|
|
40
|
+
"@zag-js/hover-card": "1.45.0",
|
|
41
|
+
"@zag-js/menu": "1.45.0",
|
|
42
|
+
"@zag-js/popover": "1.45.0",
|
|
43
|
+
"@zag-js/react": "1.45.0",
|
|
44
|
+
"@zag-js/steps": "1.45.0",
|
|
45
|
+
"@zag-js/tabs": "1.45.0",
|
|
46
|
+
"@zag-js/tooltip": "1.45.0",
|
|
47
|
+
"@zag-js/types": "1.45.0"
|
|
45
48
|
},
|
|
46
49
|
"devDependencies": {
|
|
47
|
-
"@arethetypeswrong/core": "^0.18
|
|
48
|
-
"@
|
|
49
|
-
"@stealthscale/
|
|
50
|
-
"@stealthscale/
|
|
51
|
-
"@stealthscale/
|
|
52
|
-
"@stealthscale/
|
|
53
|
-
"@stealthscale/vite-config
|
|
50
|
+
"@arethetypeswrong/core": "^0.18",
|
|
51
|
+
"@stealthscale/component-a11y": "^0.1.2",
|
|
52
|
+
"@stealthscale/component-actions": "^0.2.1",
|
|
53
|
+
"@stealthscale/component-primitives": "^0.3.0",
|
|
54
|
+
"@stealthscale/hooks": "^0.3.0",
|
|
55
|
+
"@stealthscale/theme": "^0.5.0",
|
|
56
|
+
"@stealthscale/vite-config": "^0.8.0",
|
|
57
|
+
"@stealthscale/vite-config-i18n": "^0.2.1",
|
|
58
|
+
"@stealthscale/vite-config-react": "^0.9.1",
|
|
59
|
+
"@stealthscale/vite-config-specimen": "^0.2.1",
|
|
60
|
+
"@stealthscale/vite-config-theme": "^0.2.1",
|
|
54
61
|
"@stealthscale/vite-config-typescript": "^0.3.0",
|
|
55
|
-
"@testing-library/react": "^16.3
|
|
56
|
-
"@types/react": "^19.3
|
|
57
|
-
"@types/react-dom": "^19.3
|
|
58
|
-
"@zag-js/focus-visible": "1.
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"oxc-transform-react": "^0.
|
|
62
|
-
"publint": "^0.3
|
|
63
|
-
"react": "^19.3
|
|
64
|
-
"react-dom": "^19.3
|
|
65
|
-
"typescript": "^7.0
|
|
66
|
-
"vitest": "
|
|
62
|
+
"@testing-library/react": "^16.3",
|
|
63
|
+
"@types/react": "^19.3",
|
|
64
|
+
"@types/react-dom": "^19.3",
|
|
65
|
+
"@zag-js/focus-visible": "1.45.0",
|
|
66
|
+
"happy-dom": "^20.14",
|
|
67
|
+
"lucide-react": "^1.52",
|
|
68
|
+
"oxc-transform-react": "^0.153",
|
|
69
|
+
"publint": "^0.3",
|
|
70
|
+
"react": "^19.3",
|
|
71
|
+
"react-dom": "^19.3",
|
|
72
|
+
"typescript": "^7.0",
|
|
73
|
+
"vitest": "5.0.3"
|
|
67
74
|
},
|
|
68
75
|
"peerDependencies": {
|
|
69
|
-
"@stealthscale/
|
|
70
|
-
"@stealthscale/
|
|
71
|
-
"
|
|
76
|
+
"@stealthscale/component-a11y": "^0.1.2",
|
|
77
|
+
"@stealthscale/component-primitives": "^0.3.0",
|
|
78
|
+
"@stealthscale/hooks": "^0.3.0",
|
|
79
|
+
"@stealthscale/theme": "^0.5.0",
|
|
80
|
+
"react": "^19.3"
|
|
72
81
|
},
|
|
73
82
|
"engines": {
|
|
74
83
|
"node": ">=26.0.0"
|