@twintag/twintag-form 1.4.0-beta.3 → 1.4.1

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,21 +1,21 @@
1
1
 
2
- > @twintag/twintag-form@1.4.0-beta.3 build C:\Users\daryl\Desktop\twintag-projects\twintag-admin\packages\twintag-form
2
+ > @twintag/twintag-form@1.4.1 build /home/runner/work/twintag-admin/twintag-admin/packages/twintag-form
3
3
  > tsc && vite build
4
4
 
5
5
  vite v5.2.11 building for production...
6
6
  transforming...
7
- ✓ 2514 modules transformed.
7
+ ✓ 2516 modules transformed.
8
8
  rendering chunks...
9
-
10
- [vite:dts] Start generate declaration files...
9
+ 
10
+ [vite:dts] Start generate declaration files...
11
11
  computing gzip size...
12
- [vite:dts] Outside emitted: C:/Users/daryl/Desktop/twintag-projects/twintag-admin/packages/twintag-form/tailwind.config.d.ts
13
- [vite:dts] Outside emitted: C:/Users/daryl/Desktop/twintag-projects/twintag-admin/packages/twintag-form/.eslintrc.d.cts
14
- [vite:dts] Outside emitted: C:/Users/daryl/Desktop/twintag-projects/twintag-admin/packages/twintag-form/prettier.config.d.mts
15
- [vite:dts] Outside emitted: C:/Users/daryl/Desktop/twintag-projects/twintag-admin/packages/twintag-form/dev/main.d.ts
16
- [vite:dts] Outside emitted: C:/Users/daryl/Desktop/twintag-projects/twintag-admin/packages/twintag-form/vite.config.d.ts
17
- [vite:dts] Declaration files built in 5747ms.
18
-
12
+ [vite:dts] Outside emitted: /home/runner/work/twintag-admin/twintag-admin/packages/twintag-form/tailwind.config.d.ts
19
13
  dist/twintag-form.webcomponent.js 119.76 kB │ gzip: 33.52 kB
20
- dist/twintag-form.react.js 706.33 kB │ gzip: 144.27 kB
21
- ✓ built in 12.63s
14
+ dist/twintag-form.react.js 706.41 kB │ gzip: 144.29 kB
15
+ [vite:dts] Outside emitted: /home/runner/work/twintag-admin/twintag-admin/packages/twintag-form/.eslintrc.d.cts
16
+ [vite:dts] Outside emitted: /home/runner/work/twintag-admin/twintag-admin/packages/twintag-form/prettier.config.d.mts
17
+ [vite:dts] Outside emitted: /home/runner/work/twintag-admin/twintag-admin/packages/twintag-form/dev/main.d.ts
18
+ [vite:dts] Outside emitted: /home/runner/work/twintag-admin/twintag-admin/packages/twintag-form/vite.config.d.ts
19
+ [vite:dts] Declaration files built in 10176ms.
20
+ 
21
+ ✓ built in 15.41s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @twintag/twintag-form
2
2
 
3
+ ## 1.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - feat: add Label component
8
+
9
+ ## 1.4.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 81841a1: fix: iOS zoom in issues
14
+ - 8072957: feat: tri-toggle field
15
+ - 71284ab: fix: add accordion `defaultValue` option
16
+
17
+ ### Patch Changes
18
+
19
+ - 6cfec75: fix: accordion does not expand when `value` is not provided
20
+
3
21
  ## 1.4.0-beta.3
4
22
 
5
23
  ### Patch Changes
package/dev/index.css CHANGED
@@ -1,32 +1,32 @@
1
- @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
2
-
3
- @tailwind base;
4
- @tailwind components;
5
- @tailwind utilities;
6
-
7
- :root {
8
- --tf-label: 222.2 47.4% 11.2%;
9
- --tf-category: 222.2 47.4% 11.2%;
10
-
11
- --tf-background: 0 0% 100%;
12
- --tf-foreground: 0 0% 0%;
13
-
14
- --tf-muted: 210 40% 96.1%;
15
- --tf-muted-foreground: 215.4 16.3% 46.9%;
16
-
17
- --tf-primary: 210 40% 98%;
18
- --tf-primary-foreground: 222.2 47.4% 11.2%;
19
-
20
- --tf-accent: 222.2 47.4% 11.2%;
21
- --tf-accent-foreground: 210 40% 96.1%;
22
-
23
- --tf-destructive: 0 100% 50%;
24
- --tf-destructive-foreground: 210 40% 98%;
25
-
26
- --tf-input: 214.3 31.8% 91.4%;
27
- --tf-ring: 215 20.2% 65.1%;
28
-
29
- --tf-radius: 0.5rem;
30
-
31
- --tf-font: 'Roboto', sans-serif;
32
- }
1
+ @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
2
+
3
+ @tailwind base;
4
+ @tailwind components;
5
+ @tailwind utilities;
6
+
7
+ :root {
8
+ --tf-label: 222.2 47.4% 11.2%;
9
+ --tf-category: 222.2 47.4% 11.2%;
10
+
11
+ --tf-background: 0 0% 100%;
12
+ --tf-foreground: 0 0% 0%;
13
+
14
+ --tf-muted: 210 40% 96.1%;
15
+ --tf-muted-foreground: 215.4 16.3% 46.9%;
16
+
17
+ --tf-primary: 210 40% 98%;
18
+ --tf-primary-foreground: 222.2 47.4% 11.2%;
19
+
20
+ --tf-accent: 222.2 47.4% 11.2%;
21
+ --tf-accent-foreground: 210 40% 96.1%;
22
+
23
+ --tf-destructive: 0 100% 50%;
24
+ --tf-destructive-foreground: 210 40% 98%;
25
+
26
+ --tf-input: 214.3 31.8% 91.4%;
27
+ --tf-ring: 215 20.2% 65.1%;
28
+
29
+ --tf-radius: 0.5rem;
30
+
31
+ --tf-font: 'Roboto', sans-serif;
32
+ }
package/dev/main.tsx CHANGED
@@ -5,6 +5,12 @@ import '../lib/webcomponent';
5
5
  import './index.css';
6
6
 
7
7
  const config = [
8
+ {
9
+ type: 'label',
10
+ props: {
11
+ label: 'Custom label',
12
+ },
13
+ },
8
14
  {
9
15
  type: 'category',
10
16
  props: {
@@ -1,6 +1,6 @@
1
1
  import { ElementType } from 'react';
2
2
  import { InputCompConfig } from '../types';
3
3
 
4
- export declare const Inputs: Map<string, InputCompConfig>;
5
4
  export declare const Containers: Map<string, ElementType>;
5
+ export declare const Inputs: Map<string, InputCompConfig>;
6
6
  export declare const components: Map<string, ElementType>;
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { Props } from '../types';
3
+
4
+ export declare const Input: FC<Props<'input'>>;
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { Props } from '../types';
3
+
4
+ export declare const Label: FC<Props>;