@mrreality255/turbo-react 0.0.6 → 0.1.0
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/dist/index.d.ts +6 -0
- package/dist/index.es.js +147 -130
- package/dist/index.umd.js +5 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -565,6 +565,8 @@ export declare type TViewProps = TPaletteProps & {
|
|
|
565
565
|
children?: React.ReactNode;
|
|
566
566
|
};
|
|
567
567
|
|
|
568
|
+
declare type TWidthCategory = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
569
|
+
|
|
568
570
|
export declare function TWindow(p: TWindowProps): JSX.Element;
|
|
569
571
|
|
|
570
572
|
export declare type TWindowInnerPadding = 'none' | 'space';
|
|
@@ -598,6 +600,8 @@ export declare function useDialog<T = any, C = any>(p: (ctx: TDialogContext<T, C
|
|
|
598
600
|
show: (inputData?: TDataContent, ctx?: C) => Promise<TDialogResult<T> | null>;
|
|
599
601
|
};
|
|
600
602
|
|
|
603
|
+
export declare function useFormContext(): TFormContext | null;
|
|
604
|
+
|
|
601
605
|
export declare function useLayer(): ILayerManager;
|
|
602
606
|
|
|
603
607
|
export declare function useMobile(): boolean;
|
|
@@ -634,6 +638,8 @@ export declare function useNotifications(): {
|
|
|
634
638
|
|
|
635
639
|
export declare function useValue(p: TInputProps): TValueHook;
|
|
636
640
|
|
|
641
|
+
export declare function useWidth(width: number | TWidthCategory): boolean;
|
|
642
|
+
|
|
637
643
|
export declare const ViewUtils: {
|
|
638
644
|
wrapper: (content: React.ReactNode, wrapperFct?: (x: React.ReactNode) => React.ReactNode, cond?: boolean) => ReactNode;
|
|
639
645
|
};
|