Skip to content

Commit caa7572

Browse files
committed
Push update
1 parent f664c5a commit caa7572

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

.changeset/tricky-phones-argue.md

-5
This file was deleted.

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/mantine/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @autoform/mantine
22

3+
## 2.2.0
4+
5+
### Minor Changes
6+
7+
- f664c5a: Fixed import path in Mantine integration
8+
39
## 2.1.0
410

511
### Minor Changes

packages/mantine/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@autoform/mantine",
3-
"version": "2.1.0",
3+
"version": "2.2.0",
44
"main": "./dist/index.js",
55
"module": "./dist/index.mjs",
66
"types": "./dist/index.d.ts",

packages/shadcn/registry/autoform.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
{
108108
"path": "autoform/components/BooleanField.tsx",
109109
"target": "components/ui/autoform/components/BooleanField.tsx",
110-
"content": "import React from \"react\";\nimport { Checkbox } from \"@/components/ui/checkbox\";\nimport { AutoFormFieldProps } from \"@autoform/react\";\nimport { Label } from \"../../label\";\n\nexport const BooleanField: React.FC<AutoFormFieldProps> = ({\n field,\n label,\n id,\n inputProps,\n}) => (\n <div className=\"flex items-center space-x-2\">\n <Checkbox\n id={id}\n onCheckedChange={(checked) => {\n // react-hook-form expects an event object\n const event = {\n target: {\n name: field.key,\n value: checked,\n },\n };\n inputProps.onChange(event);\n }}\n checked={inputProps.value}\n />\n <Label htmlFor={id}>\n {label}\n {field.required && <span className=\"text-destructive\"> *</span>}\n </Label>\n </div>\n);\n",
110+
"content": "import React from \"react\";\nimport { Checkbox } from \"@/components/ui/checkbox\";\nimport { AutoFormFieldProps } from \"@autoform/react\";\nimport { Label } from \"../../label\";\n\nexport const BooleanField: React.FC<AutoFormFieldProps> = ({\n field,\n label,\n id,\n inputProps,\n value\n}) => (\n <div className=\"flex items-center space-x-2\">\n <Checkbox\n id={id}\n onCheckedChange={(checked) => {\n // react-hook-form expects an event object\n const event = {\n target: {\n name: field.key,\n value: checked,\n },\n };\n inputProps.onChange(event);\n }}\n checked={value}\n />\n <Label htmlFor={id}>\n {label}\n {field.required && <span className=\"text-destructive\"> *</span>}\n </Label>\n </div>\n);\n",
111111
"type": "registry:ui"
112112
},
113113
{

0 commit comments

Comments
 (0)