@pantoken/react 0.1.25 → 0.1.27

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.
@@ -0,0 +1,10 @@
1
+ import { Preset } from "@pantoken/scaffold-base";
2
+ //#region src/scaffold-preset.d.ts
3
+ /**
4
+ * Preset for scaffolding React projects with pantoken.
5
+ *
6
+ * Platform: `react`
7
+ */
8
+ declare const presetReact: Preset;
9
+ //#endregion
10
+ export { presetReact };
@@ -0,0 +1,14 @@
1
+ import { base, createPreset } from "@pantoken/scaffold-base";
2
+ //#region src/scaffold-preset.ts
3
+ /**
4
+ * Preset for scaffolding React projects with pantoken.
5
+ *
6
+ * Platform: `react`
7
+ */
8
+ const presetReact = createPreset({
9
+ name: "react",
10
+ base,
11
+ blocks: []
12
+ });
13
+ //#endregion
14
+ export { presetReact };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pantoken/react",
3
- "version": "0.1.25",
3
+ "version": "0.1.27",
4
4
  "description": "React helpers for pantoken: <Icon>, useToken, and TokenProvider over the web components + token CSS.",
5
5
  "homepage": "https://pantoken.iywahl.com",
6
6
  "bugs": "https://github.com/thedannywahl/pantoken/issues",
@@ -20,6 +20,7 @@
20
20
  "exports": {
21
21
  ".": "./dist/index.mjs",
22
22
  "./components.css": "./dist/components.css",
23
+ "./scaffold-preset": "./dist/scaffold-preset.mjs",
23
24
  "./package.json": "./package.json"
24
25
  },
25
26
  "publishConfig": {
@@ -27,19 +28,21 @@
27
28
  "provenance": true
28
29
  },
29
30
  "dependencies": {
30
- "@pantoken/i18n": "0.1.12",
31
- "@pantoken/web-components": "0.5.5"
31
+ "@pantoken/i18n": "0.1.14",
32
+ "@pantoken/scaffold-base": "0.2.0",
33
+ "@pantoken/web-components": "0.5.7"
32
34
  },
33
35
  "devDependencies": {
34
- "@types/node": "^24.13.3",
36
+ "@pantoken/components": "1.0.2",
37
+ "@types/node": "^26.3.0",
35
38
  "@types/react": "^19.2.18",
36
- "@types/react-dom": "^19.2.4",
39
+ "@types/react-dom": "^19.2.5",
40
+ "bingo-stratum": "^0.5.13",
37
41
  "react": "^19.2.8",
38
42
  "react-dom": "^19.2.8",
39
43
  "typescript": "^7.0.2",
40
- "vite": "npm:@voidzero-dev/vite-plus-core@0.2.9",
41
- "vite-plus": "0.2.9",
42
- "@pantoken/components": "1.0.0"
44
+ "vite": "npm:@voidzero-dev/vite-plus-core@0.3.0",
45
+ "vite-plus": "0.3.0"
43
46
  },
44
47
  "peerDependencies": {
45
48
  "react": ">=18"