@panneau/field-toggle 4.0.55 → 4.0.58

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/package.json +18 -15
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
 
3
3
  interface ToggleFieldProps {
4
4
  value?: boolean | string | number | null;
@@ -8,7 +8,7 @@ interface ToggleFieldProps {
8
8
  className?: string | null;
9
9
  onChange?: ((value: boolean | string | null) => void) | null;
10
10
  }
11
- declare function ToggleField({ value, queryValue, name, disabled, className, onChange, }: ToggleFieldProps): react_jsx_runtime.JSX.Element;
11
+ declare function ToggleField({ value, queryValue, name, disabled, className, onChange, }: ToggleFieldProps): react.JSX.Element;
12
12
 
13
13
  declare namespace _default {
14
14
  let id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/field-toggle",
3
- "version": "4.0.55",
3
+ "version": "4.0.58",
4
4
  "description": "A toggle field",
5
5
  "keywords": [
6
6
  "javascript"
@@ -10,6 +10,7 @@
10
10
  "type": "git",
11
11
  "url": "git+https://github.com/folkloreinc/panneau-js.git"
12
12
  },
13
+ "license": "ISC",
13
14
  "author": {
14
15
  "name": "Folklore",
15
16
  "email": "info@folklore.email"
@@ -32,11 +33,10 @@
32
33
  "email": "tg@folklore.email"
33
34
  }
34
35
  ],
35
- "license": "ISC",
36
+ "sideEffects": [
37
+ "**/*.css"
38
+ ],
36
39
  "type": "module",
37
- "module": "dist/index.js",
38
- "types": "dist/index.d.ts",
39
- "style": "assets/css/styles.css",
40
40
  "exports": {
41
41
  ".": {
42
42
  "types": "./dist/index.d.ts",
@@ -46,13 +46,23 @@
46
46
  "./assets/css/styles": "./assets/css/styles.css",
47
47
  "./assets/css/styles.css": "./assets/css/styles.css"
48
48
  },
49
+ "module": "dist/index.js",
50
+ "types": "dist/index.d.ts",
51
+ "style": "assets/css/styles.css",
49
52
  "files": [
50
53
  "dist",
51
54
  "assets"
52
55
  ],
53
56
  "scripts": {
54
- "prepublishOnly": "npm run build",
55
- "build": "../../scripts/prepare-package.sh --types"
57
+ "build": "../../scripts/prepare-package.sh --types",
58
+ "prepublishOnly": "npm run build"
59
+ },
60
+ "dependencies": {
61
+ "@babel/runtime": "^7.28.6",
62
+ "@panneau/core": "^4.0.58",
63
+ "@panneau/themes": "^4.0.58",
64
+ "classnames": "^2.5.1",
65
+ "rc-switch": "^4.1.0"
56
66
  },
57
67
  "devDependencies": {
58
68
  "react": "^19.2.0",
@@ -62,15 +72,8 @@
62
72
  "react": "^19.2.0",
63
73
  "react-dom": "^19.0.0"
64
74
  },
65
- "dependencies": {
66
- "@babel/runtime": "^7.28.6",
67
- "@panneau/core": "^4.0.55",
68
- "@panneau/themes": "^4.0.55",
69
- "classnames": "^2.5.1",
70
- "rc-switch": "^4.1.0"
71
- },
72
75
  "publishConfig": {
73
76
  "access": "public"
74
77
  },
75
- "gitHead": "1c9183567fc5bf98ba10fa57c63cf2ed2ae4a054"
78
+ "gitHead": "408b9bef2c15c0a6c55588721d13a965ead50a5f"
76
79
  }