@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/dist/theme.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as recipe, i as recipe$1, n as recipe$3, r as recipe$2, t as recipe$4 } from "./recipe-BdO9ZFWU.js";
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: { slotRecipes: {
15
- collapsible: recipe,
16
- menu: recipe$1,
17
- popover: recipe$2,
18
- tabs: recipe$3,
19
- tooltip: recipe$4
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.1.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/config/tree/main/components/disclosure#readme",
12
- "bugs": "https://github.com/stealth-scale/config/issues",
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/config.git",
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/collapsible": "1.43.3",
39
- "@zag-js/menu": "1.43.3",
40
- "@zag-js/popover": "1.43.3",
41
- "@zag-js/react": "1.43.3",
42
- "@zag-js/tabs": "1.43.3",
43
- "@zag-js/tooltip": "1.43.3",
44
- "@zag-js/types": "1.43.3"
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.5",
48
- "@rolldown/plugin-babel": "^0.2.4",
49
- "@stealthscale/hooks": "^0.1.0",
50
- "@stealthscale/theme": "^0.3.0",
51
- "@stealthscale/vite-config": "^0.6.0",
52
- "@stealthscale/vite-config-react": "^0.8.0",
53
- "@stealthscale/vite-config-theme": "^0.1.0",
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.0",
56
- "@types/react": "^19.3.0",
57
- "@types/react-dom": "^19.3.0",
58
- "@zag-js/focus-visible": "1.43.3",
59
- "babel-plugin-react-compiler": "^1.0.0",
60
- "happy-dom": "^20.14.3",
61
- "oxc-transform-react": "^0.149.0",
62
- "publint": "^0.3.24",
63
- "react": "^19.3.0",
64
- "react-dom": "^19.3.0",
65
- "typescript": "^7.0.2",
66
- "vitest": "4.1.11"
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/hooks": "^0.1.0",
70
- "@stealthscale/theme": "^0.3.0",
71
- "react": "^19.3.0"
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"