@woodylab/payload 0.0.52 → 0.0.53
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as FieldClassName } from './admin/components/field/FieldClassName';
|
|
1
|
+
export { default as FieldClassName } from './admin/components/field/FieldClassName.jsx';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-CEFvYfEJ.js","sources":["../src/components/admin/components/field/FieldClassName.
|
|
1
|
+
{"version":3,"file":"index-CEFvYfEJ.js","sources":["../src/components/admin/components/field/FieldClassName.jsx"],"sourcesContent":["'use client'\nimport React from 'react'\nimport { useField } from '@payloadcms/ui'\n\nconst FieldClassName = ({ path }) => {\n const { value } = useField({ path })\n\n return <div style={{ margin: '2rem 0' }}>{value || ''}</div>\n}\n\nexport default FieldClassName\n"],"names":["FieldClassName","path","value","useField","react","createElement","style","margin"],"mappings":"+DAIK,MAACA,EAAiB,EAAGC,WACxB,MAAMC,MAAEA,GAAUC,EAAS,CAAEF,SAE7B,OAAOG,EAAAC,cAAC,MAAG,CAACC,MAAO,CAAEC,OAAQ,WAAaL,GAAS"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-I4y9750k.js","sources":["../src/components/admin/components/field/FieldClassName.
|
|
1
|
+
{"version":3,"file":"index-I4y9750k.js","sources":["../src/components/admin/components/field/FieldClassName.jsx"],"sourcesContent":["'use client'\nimport React from 'react'\nimport { useField } from '@payloadcms/ui'\n\nconst FieldClassName = ({ path }) => {\n const { value } = useField({ path })\n\n return <div style={{ margin: '2rem 0' }}>{value || ''}</div>\n}\n\nexport default FieldClassName\n"],"names":["FieldClassName","path","value","useField","react","createElement","style","margin"],"mappings":"gEAIK,MAACA,EAAiB,EAAGC,WACxB,MAAMC,MAAEA,GAAUC,EAAAA,SAAS,CAAEF,SAE7B,OAAOG,EAAAC,cAAC,MAAG,CAACC,MAAO,CAAEC,OAAQ,WAAaL,GAAS"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@woodylab/payload",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.53",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.cjs.js",
|
|
6
6
|
"module": "./dist/index.esm.js",
|
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
"@rollup/plugin-terser": "^0.4.4",
|
|
66
66
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
67
67
|
"@types/react": "^19.1.13",
|
|
68
|
+
"@vitejs/plugin-react": "^5.0.3",
|
|
68
69
|
"payload": "^3.54.0",
|
|
69
70
|
"react": "^19.1.1",
|
|
70
71
|
"rollup": "^4.22.4",
|