lecom-ui 4.9.7 → 4.9.8

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,8 +1,11 @@
1
1
  import * as React from 'react';
2
2
  import { useFormContext, FormProvider, Controller } from 'react-hook-form';
3
+ export { useForm } from 'react-hook-form';
3
4
  import { Label } from '../Label/Label.js';
4
5
  import { cn } from '../../lib/utils.js';
6
+ export { zodResolver } from '@hookform/resolvers/zod';
5
7
  import { Slot } from '@radix-ui/react-slot';
8
+ export { z as zod } from 'zod';
6
9
 
7
10
  const Form = FormProvider;
8
11
  const FormFieldContext = React.createContext(
package/dist/index.d.ts CHANGED
@@ -10,6 +10,7 @@ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
10
10
  import * as _radix_ui_react_slot from '@radix-ui/react-slot';
11
11
  import * as react_hook_form from 'react-hook-form';
12
12
  import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
13
+ export { useForm } from 'react-hook-form';
13
14
  import * as LabelPrimitive from '@radix-ui/react-label';
14
15
  import { CustomStyles as CustomStyles$2 } from '@/components/Button';
15
16
  import * as PopoverPrimitive from '@radix-ui/react-popover';
@@ -20,6 +21,8 @@ import * as SelectPrimitive from '@radix-ui/react-select';
20
21
  import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
21
22
  import { InitOptions } from 'i18next';
22
23
  export { TFunction, default as i18n } from 'i18next';
24
+ export { z as zod } from 'zod';
25
+ export { zodResolver } from '@hookform/resolvers/zod';
23
26
  export { Translation, useTranslation } from 'react-i18next';
24
27
 
25
28
  declare const accordionVariants: (props?: ({
package/dist/index.js CHANGED
@@ -34,5 +34,8 @@ export { usePagination } from './hooks/usePagination.js';
34
34
  export { Translations, initializeI18n } from './i18n/index.js';
35
35
  export { colors } from './tokens/colors.js';
36
36
  export { fonts } from './tokens/fonts.js';
37
+ export { z as zod } from 'zod';
38
+ export { zodResolver } from '@hookform/resolvers/zod';
39
+ export { useForm } from 'react-hook-form';
37
40
  export { default as i18n } from 'i18next';
38
41
  export { Translation, useTranslation } from 'react-i18next';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lecom-ui",
3
- "version": "4.9.7",
3
+ "version": "4.9.8",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",