@twintag/twintag-form 0.3.0 → 0.3.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.
@@ -71,7 +71,7 @@ const Form = ({ children, options }: Props) => {
71
71
  return (
72
72
  <form
73
73
  ref={formRef}
74
- className='relative font-fftext'
74
+ className='font-fftext relative'
75
75
  onSubmit={handleSubmit(onValid, onInvalid)}
76
76
  >
77
77
  <div className='grid w-auto gap-4'>
@@ -15,7 +15,7 @@ const Submit = ({ label, options }: Props) => {
15
15
  }, []);
16
16
 
17
17
  return (
18
- <div className='w-full flex justify-center'>
18
+ <div className='flex w-full justify-center'>
19
19
  <button type='submit' className={style}>
20
20
  {label as string}
21
21
  </button>
@@ -10,7 +10,7 @@ type Props = {
10
10
  const Label = ({ className, required, children }: Props) => {
11
11
  const style = labelStyle({
12
12
  className,
13
- })
13
+ });
14
14
 
15
15
  return (
16
16
  <span className={style}>
package/lib/styles.ts CHANGED
@@ -2,7 +2,7 @@ import { tv } from 'tailwind-variants';
2
2
 
3
3
  export const labelStyle = tv({
4
4
  base: 'font-fftext text-label',
5
- })
5
+ });
6
6
 
7
7
  export const checkboxStyle = tv({
8
8
  slots: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twintag/twintag-form",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "author": "Twintag",
5
5
  "type": "module",
6
6
  "exports": {
package/twind.config.ts CHANGED
@@ -15,7 +15,7 @@ export default defineConfig({
15
15
  },
16
16
  fontFamily: {
17
17
  fftext: ['var(--ff-text)', 'Helvetica', 'Arial', 'sans-serif'],
18
- }
18
+ },
19
19
  },
20
20
  },
21
21
  presets: [