@scbt-ecom/ui 0.154.3 → 0.154.4

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.
@@ -7,3 +7,4 @@ export * from './useObserverWidgets';
7
7
  export * from './useFieldsProgress';
8
8
  export * from './useFloating';
9
9
  export * from './useClickOutsideMany';
10
+ export * from './useMount';
@@ -0,0 +1,14 @@
1
+ import { EffectCallback } from 'react';
2
+ /**
3
+ * @name useMount
4
+ * @description - Hook that executes a callback when the component mounts
5
+ *
6
+ * @param {EffectCallback} effect The callback to execute
7
+ *
8
+ * @example
9
+ * useMount(() => console.log('This effect runs on the initial render'));
10
+ */
11
+ export declare const useMount: (effect: EffectCallback) => void;
12
+ export declare const useHydrated: () => {
13
+ isHydrated: boolean;
14
+ };
@@ -42,7 +42,6 @@ export declare const Controlled: {
42
42
  TextareaControl: <TFieldValues extends import('react-hook-form').FieldValues = import('react-hook-form').FieldValues>({ classes, control, name, rules, disabled, defaultValue, shouldUnregister, helperText, ...props }: import('./textarea').TextareaControlProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
43
43
  UploaderControl: <TFieldValues extends import('react-hook-form').FieldValues>({ control, name, defaultValue, rules, shouldUnregister, classes, helperText, disabled, ...props }: import('./uploader').UploaderControlProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
44
44
  InputOtpControl: <TFieldValues extends import('react-hook-form').FieldValues = import('react-hook-form').FieldValues>({ control, name, defaultValue, disabled, rules, shouldUnregister, classes, helperText, ...props }: import('./inputOtp').InputOtpControlProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
45
- EditorControl: <T extends import('react-hook-form').FieldValues>({ control, label, helperText, editable, classes, defaultValue, disabled, rules, shouldUnregister, name, small, ...props }: import('./editor').EditorControlProps<T>) => import("react/jsx-runtime").JSX.Element;
46
45
  InputCurrencyControl: <TFieldValues extends import('react-hook-form').FieldValues>({ control, name, rules, shouldUnregister, disabled, defaultValue, helperText, classes, ...props }: import('./inputCurrency').InputCurrencyControlProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
47
46
  ComboboxControl: <Multi extends boolean = false, TFieldValues extends import('react-hook-form').FieldValues = import('react-hook-form').FieldValues>({ control, className, name, rules, shouldUnregister, disabled, defaultValue, options, helperText, returnValue, classes, multiple, ...props }: import('./combobox').ComboboxControlProps<Multi, TFieldValues>) => import("react/jsx-runtime").JSX.Element;
48
47
  };
@@ -7,7 +7,6 @@ export * from './longBanner';
7
7
  export * from './authProvider';
8
8
  export * from './interLinking';
9
9
  export * from './usefulInfo';
10
- export * from './fieldMapper';
11
10
  export * from './dynamicForm';
12
11
  export * from './dynamicFormDialog';
13
12
  export * from './buttonWithHandlers';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scbt-ecom/ui",
3
- "version": "0.154.3",
3
+ "version": "0.154.4",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {