@twintag/twintag-form 1.6.2 → 1.7.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/.turbo/turbo-build.log +16 -16
- package/CHANGELOG.md +24 -0
- package/dev/index.css +2 -2
- package/dev/main.tsx +1 -0
- package/dist/common/button.d.ts +0 -1
- package/dist/common/form.d.ts +0 -1
- package/dist/common/icon.d.ts +0 -1
- package/dist/common/input.d.ts +0 -1
- package/dist/common/label.d.ts +0 -1
- package/dist/common/textarea.d.ts +0 -1
- package/dist/components/config.d.ts +0 -1
- package/dist/components/containers/accordion.d.ts +1 -2
- package/dist/components/containers/category.d.ts +0 -1
- package/dist/components/fields/checkbox.d.ts +0 -1
- package/dist/components/fields/file.d.ts +0 -1
- package/dist/components/fields/input.d.ts +0 -1
- package/dist/components/fields/radiogroup.d.ts +0 -1
- package/dist/components/fields/submit.d.ts +0 -1
- package/dist/components/fields/textarea.d.ts +0 -1
- package/dist/components/fields/toggle.d.ts +0 -1
- package/dist/components/fields/tri-toggle.d.ts +0 -1
- package/dist/components/form.d.ts +0 -1
- package/dist/components/input.d.ts +0 -1
- package/dist/components/label.d.ts +0 -1
- package/dist/components/provider.d.ts +1 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1437 -1601
- package/dist/types/index.d.ts +0 -1
- package/dist/utils/data.d.ts +0 -1
- package/dist/utils/style.d.ts +0 -1
- package/dist/webcomponent.cjs +1 -1
- package/dist/webcomponent.js +1118 -1104
- package/lib/common/icon.tsx +2 -1
- package/lib/components/config.tsx +1 -0
- package/lib/components/containers/accordion.tsx +3 -2
- package/lib/components/containers/category.tsx +1 -1
- package/lib/components/fields/checkbox.tsx +3 -6
- package/lib/components/fields/date-picker.tsx +3 -6
- package/lib/components/fields/file.tsx +3 -6
- package/lib/components/fields/input.tsx +3 -6
- package/lib/components/fields/radiogroup.tsx +3 -6
- package/lib/components/fields/submit.tsx +1 -0
- package/lib/components/fields/textarea.tsx +3 -6
- package/lib/components/fields/toggle.tsx +3 -6
- package/lib/components/fields/tri-toggle.tsx +3 -4
- package/lib/components/input.tsx +2 -1
- package/lib/components/label.tsx +1 -0
- package/lib/components/provider.tsx +2 -1
- package/lib/components/renderer.tsx +2 -1
- package/lib/index.tsx +1 -0
- package/package.json +10 -12
- package/prettier.config.mjs +1 -17
- package/vite.config.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
|
|
2
|
-
> @twintag/twintag-form@1.
|
|
2
|
+
> @twintag/twintag-form@1.7.2 build /home/runner/work/twintag-admin/twintag-admin/packages/twintag-form
|
|
3
3
|
> tsc && vite build
|
|
4
4
|
|
|
5
|
-
[36mvite
|
|
5
|
+
[36mvite v7.3.2 [32mbuilding client environment for production...[36m[39m
|
|
6
6
|
transforming...
|
|
7
|
-
[32m✓[39m
|
|
7
|
+
[32m✓[39m 57 modules transformed.
|
|
8
8
|
rendering chunks...
|
|
9
|
-
|
|
10
|
-
[
|
|
9
|
+
[32m
|
|
10
|
+
[36m[unplugin:dts][32m Start generate declaration files...[39m
|
|
11
11
|
computing gzip size...
|
|
12
|
-
[
|
|
13
|
-
[2mdist/[22m[
|
|
14
|
-
[
|
|
15
|
-
[
|
|
16
|
-
[
|
|
17
|
-
[
|
|
18
|
-
[
|
|
19
|
-
|
|
20
|
-
[2mdist/[22m[36mwebcomponent.cjs [39m[1m[2m18.
|
|
21
|
-
[2mdist/[22m[36mindex.cjs [39m[1m[
|
|
22
|
-
[32m✓ built in
|
|
12
|
+
[2mdist/[22m[36mwebcomponent.js [39m[1m[2m 30.19 kB[22m[1m[22m[2m │ gzip: 5.67 kB[22m
|
|
13
|
+
[2mdist/[22m[36mindex.js [39m[1m[2m126.49 kB[22m[1m[22m[2m │ gzip: 26.38 kB[22m
|
|
14
|
+
[36m[unplugin:dts][39m [33mOutside emitted:[39m /home/runner/work/twintag-admin/twintag-admin/packages/twintag-form/twind.config.d.ts
|
|
15
|
+
[36m[unplugin:dts][39m [33mOutside emitted:[39m /home/runner/work/twintag-admin/twintag-admin/packages/twintag-form/tailwind.config.d.ts
|
|
16
|
+
[36m[unplugin:dts][39m [33mOutside emitted:[39m /home/runner/work/twintag-admin/twintag-admin/packages/twintag-form/dev/main.d.ts
|
|
17
|
+
[36m[unplugin:dts][39m [33mOutside emitted:[39m /home/runner/work/twintag-admin/twintag-admin/packages/twintag-form/vite.config.d.ts
|
|
18
|
+
[32m[36m[unplugin:dts][32m Declaration files built in 7534ms.
|
|
19
|
+
[39m
|
|
20
|
+
[2mdist/[22m[36mwebcomponent.cjs [39m[1m[2m18.98 kB[22m[1m[22m[2m │ gzip: 5.13 kB[22m
|
|
21
|
+
[2mdist/[22m[36mindex.cjs [39m[1m[2m87.62 kB[22m[1m[22m[2m │ gzip: 22.14 kB[22m
|
|
22
|
+
[32m✓ built in 8.39s[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @twintag/twintag-form
|
|
2
2
|
|
|
3
|
+
## 1.7.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#468](https://github.com/esoptra/twintag-admin/pull/468) [`864468e`](https://github.com/esoptra/twintag-admin/commit/864468ef5973f7e670ce7e37d29ea256a4f1265a) Thanks [@leweyse](https://github.com/leweyse)! - chore: update dependencies
|
|
8
|
+
|
|
9
|
+
## 1.7.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#461](https://github.com/esoptra/twintag-admin/pull/461) [`977c0f6`](https://github.com/esoptra/twintag-admin/commit/977c0f6faff7f68533f84f3f1e58618cca396ac3) Thanks [@leweyse](https://github.com/leweyse)! - chore: update dependencies
|
|
14
|
+
|
|
15
|
+
## 1.7.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- [#383](https://github.com/esoptra/twintag-admin/pull/383) [`e71f676`](https://github.com/esoptra/twintag-admin/commit/e71f67637790be606de86b271a98da7efbc7eab6) Thanks [@backkem](https://github.com/backkem)! - chore: React 19
|
|
20
|
+
|
|
21
|
+
## 1.6.3
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- [#374](https://github.com/esoptra/twintag-admin/pull/374) [`8d66aa2`](https://github.com/esoptra/twintag-admin/commit/8d66aa219bea8ee3d284b91a04f315cbed5f0720) Thanks [@leweyse](https://github.com/leweyse)! - chore: update vulnerable dependencies
|
|
26
|
+
|
|
3
27
|
## 1.6.2
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
package/dev/index.css
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
--tf-muted: 210 40% 96.1%;
|
|
15
15
|
--tf-muted-foreground: 215.4 16.3% 46.9%;
|
|
16
16
|
|
|
17
|
-
--tf-primary:
|
|
18
|
-
--tf-primary-foreground:
|
|
17
|
+
--tf-primary: 210 40% 98%;
|
|
18
|
+
--tf-primary-foreground: 222.2 47.4% 11.2%;
|
|
19
19
|
|
|
20
20
|
--tf-accent: 222.2 47.4% 11.2%;
|
|
21
21
|
--tf-accent-foreground: 210 40% 96.1%;
|
package/dev/main.tsx
CHANGED
package/dist/common/button.d.ts
CHANGED
package/dist/common/form.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import { ControllerProps, FieldPath, FieldValues, FormProviderProps, FieldError
|
|
|
2
2
|
import { VariantProps, TVReturnType } from 'tailwind-variants';
|
|
3
3
|
import { LabelProps } from '@radix-ui/react-label';
|
|
4
4
|
import { SlotProps } from '@radix-ui/react-slot';
|
|
5
|
-
|
|
6
5
|
import * as React from 'react';
|
|
7
6
|
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
|
|
8
7
|
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element;
|
package/dist/common/icon.d.ts
CHANGED
package/dist/common/input.d.ts
CHANGED
package/dist/common/label.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { VariantProps, TVReturnType } from 'tailwind-variants';
|
|
2
|
-
|
|
3
2
|
import * as React from 'react';
|
|
4
3
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
5
4
|
declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps< TVReturnType<{
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { Props } from '../../types';
|
|
3
2
|
import { WithChildren } from 'twintag-types/dom';
|
|
4
|
-
|
|
3
|
+
import { Props } from '../../types';
|
|
5
4
|
type AccordionProps = Props<'accordion', 'item' | 'multiple' | 'single'> & WithChildren;
|
|
6
5
|
declare const Accordion: FC<AccordionProps>;
|
|
7
6
|
export { Accordion };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { ParsedJsonComponent, RawJsonComponent, TwintagFormContext } from '../types';
|
|
2
1
|
import { WithChildren } from 'twintag-types/dom';
|
|
2
|
+
import { ParsedJsonComponent, RawJsonComponent, TwintagFormContext } from '../types';
|
|
3
3
|
import { Context } from 'react';
|
|
4
|
-
|
|
5
4
|
export declare const twintagFormContext: Context<TwintagFormContext>;
|
|
6
5
|
export declare const useTwintagForm: () => TwintagFormContext;
|
|
7
6
|
type Inputs = TwintagFormContext['inputs'];
|