@natoora-libs/core 0.1.5 → 0.1.7
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/components/index.cjs +900 -845
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.d.cts +12 -8
- package/dist/components/index.d.ts +12 -8
- package/dist/components/index.js +768 -715
- package/dist/components/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import React__default, { ReactNode, ComponentType, MouseEvent, ChangeEvent, FC, ComponentProps } from 'react';
|
|
2
|
+
import React__default, { ReactNode, ComponentType, MouseEvent, ChangeEvent, FC, ComponentProps, SVGProps } from 'react';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { Control, ControllerRenderProps, ControllerFieldState, UseFormTrigger, UseFormReturn, FieldValues } from 'react-hook-form';
|
|
5
5
|
import { UseMutateAsyncFunction, UseQueryResult } from 'react-query';
|
|
@@ -72,7 +72,7 @@ interface IExtendedButton {
|
|
|
72
72
|
subcopy?: string;
|
|
73
73
|
tooltip?: string;
|
|
74
74
|
component?: React.ElementType;
|
|
75
|
-
type?: 'add' | 'apps' | 'childCare' | 'delete' | 'edit' | 'importExport' | 'notes' | 'print' | 'save' | 'upload' | 'refresh' | 'download' | 'publish';
|
|
75
|
+
type?: 'add' | 'apps' | 'childCare' | 'delete' | 'edit' | 'importExport' | 'notes' | 'print' | 'save' | 'upload' | 'refresh' | 'download' | 'publish' | 'compare';
|
|
76
76
|
variant?: 'contained' | 'outlined' | 'text';
|
|
77
77
|
copyColor?: string;
|
|
78
78
|
}
|
|
@@ -682,11 +682,11 @@ interface RowProductCardProps {
|
|
|
682
682
|
declare const RowProductCard: ({ children, columns, location, product, size, }: RowProductCardProps) => react_jsx_runtime.JSX.Element;
|
|
683
683
|
|
|
684
684
|
interface ScrollableDialogProps {
|
|
685
|
-
body:
|
|
686
|
-
footer?:
|
|
687
|
-
header?:
|
|
688
|
-
isOpen:
|
|
689
|
-
title:
|
|
685
|
+
body: ReactNode;
|
|
686
|
+
footer?: ReactNode;
|
|
687
|
+
header?: ReactNode;
|
|
688
|
+
isOpen: boolean;
|
|
689
|
+
title: string;
|
|
690
690
|
}
|
|
691
691
|
declare const ScrollableDialog: ({ body, footer, header, isOpen, title, }: ScrollableDialogProps) => react_jsx_runtime.JSX.Element;
|
|
692
692
|
|
|
@@ -1033,4 +1033,8 @@ type UserBustProps = {
|
|
|
1033
1033
|
};
|
|
1034
1034
|
declare const _default: React.MemoExoticComponent<({ user, avatarProps, typographyProps }: UserBustProps) => react_jsx_runtime.JSX.Element>;
|
|
1035
1035
|
|
|
1036
|
-
|
|
1036
|
+
declare const SvgIconCompare: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1037
|
+
|
|
1038
|
+
declare const SvgIconChart: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1039
|
+
|
|
1040
|
+
export { AlertDialog, AlertDialogFullScreen, AppLabel, BackHeader, BottomBar, _default$n as BoxButton, CompanyLogo, ConfirmationDialog, ControlledCheckbox, ControlledNumberInput, ControlledNumericField, ControlledSelectWithArray, ControlledSelectWithObject, ControlledValidTextInput, DataGrid, Date, _default$f as DeleteSubstitutionDialogContent, _default$e as DeleteUserDialogContent, _default$m as ExtendedButton, FileCard, _default$l as FilledButton, _default$k as FilledButtonLg, _default$d as FilledLabel, FilterGroupSelector, FilterSimpleSelector, _default$c as FixedFooter, type HeadCell, Header, type HeaderFilterObject, type HeaderFilterOptions, type HeaderFilters, SvgIconChart as IconChart, SvgIconCompare as IconCompare, _default$j as ImageButton, _default$b as LeftDrawer, VirtualizedList as List, Loading, LocationsSectionInfo, Notes, Numpad, _default$a as NumpadInput, NumpadPlus, type Order, _default$i as OutlinedButton, _default$h as OutlinedButtonLg, PaginationForTable as Pagination, PhoneInput, _default$g as Pin, ActionButton as PinnedApp, PlusMinusInput, ProductBust, ProductImage, RenderAvatar, RenderContentList, RoundButton, RowProductCard, ScrollableDialog, SearchAndFilterHeader, _default$9 as SearchAndFilterHeaderForTable, _default$8 as SearchWithFilters, _default$7 as SearchWithFiltersForTable, SectionName, SmartSelect, _default$3 as SmartTableHeader, _default$4 as SmartTableHeaderFilterMenu, SquareButton, _default$6 as SquareLabel, _default$5 as Switch, Table, TableDesktop, TableEmptyResult, _default$2 as TableHeader, TableLoading, TextDivider, _default$1 as TheToolbar, ThemedDateRangePicker, ToastMessage, TwoButtonDialog, UploadButton, _default as UserBust, icons };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import React__default, { ReactNode, ComponentType, MouseEvent, ChangeEvent, FC, ComponentProps } from 'react';
|
|
2
|
+
import React__default, { ReactNode, ComponentType, MouseEvent, ChangeEvent, FC, ComponentProps, SVGProps } from 'react';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { Control, ControllerRenderProps, ControllerFieldState, UseFormTrigger, UseFormReturn, FieldValues } from 'react-hook-form';
|
|
5
5
|
import { UseMutateAsyncFunction, UseQueryResult } from 'react-query';
|
|
@@ -72,7 +72,7 @@ interface IExtendedButton {
|
|
|
72
72
|
subcopy?: string;
|
|
73
73
|
tooltip?: string;
|
|
74
74
|
component?: React.ElementType;
|
|
75
|
-
type?: 'add' | 'apps' | 'childCare' | 'delete' | 'edit' | 'importExport' | 'notes' | 'print' | 'save' | 'upload' | 'refresh' | 'download' | 'publish';
|
|
75
|
+
type?: 'add' | 'apps' | 'childCare' | 'delete' | 'edit' | 'importExport' | 'notes' | 'print' | 'save' | 'upload' | 'refresh' | 'download' | 'publish' | 'compare';
|
|
76
76
|
variant?: 'contained' | 'outlined' | 'text';
|
|
77
77
|
copyColor?: string;
|
|
78
78
|
}
|
|
@@ -682,11 +682,11 @@ interface RowProductCardProps {
|
|
|
682
682
|
declare const RowProductCard: ({ children, columns, location, product, size, }: RowProductCardProps) => react_jsx_runtime.JSX.Element;
|
|
683
683
|
|
|
684
684
|
interface ScrollableDialogProps {
|
|
685
|
-
body:
|
|
686
|
-
footer?:
|
|
687
|
-
header?:
|
|
688
|
-
isOpen:
|
|
689
|
-
title:
|
|
685
|
+
body: ReactNode;
|
|
686
|
+
footer?: ReactNode;
|
|
687
|
+
header?: ReactNode;
|
|
688
|
+
isOpen: boolean;
|
|
689
|
+
title: string;
|
|
690
690
|
}
|
|
691
691
|
declare const ScrollableDialog: ({ body, footer, header, isOpen, title, }: ScrollableDialogProps) => react_jsx_runtime.JSX.Element;
|
|
692
692
|
|
|
@@ -1033,4 +1033,8 @@ type UserBustProps = {
|
|
|
1033
1033
|
};
|
|
1034
1034
|
declare const _default: React.MemoExoticComponent<({ user, avatarProps, typographyProps }: UserBustProps) => react_jsx_runtime.JSX.Element>;
|
|
1035
1035
|
|
|
1036
|
-
|
|
1036
|
+
declare const SvgIconCompare: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1037
|
+
|
|
1038
|
+
declare const SvgIconChart: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1039
|
+
|
|
1040
|
+
export { AlertDialog, AlertDialogFullScreen, AppLabel, BackHeader, BottomBar, _default$n as BoxButton, CompanyLogo, ConfirmationDialog, ControlledCheckbox, ControlledNumberInput, ControlledNumericField, ControlledSelectWithArray, ControlledSelectWithObject, ControlledValidTextInput, DataGrid, Date, _default$f as DeleteSubstitutionDialogContent, _default$e as DeleteUserDialogContent, _default$m as ExtendedButton, FileCard, _default$l as FilledButton, _default$k as FilledButtonLg, _default$d as FilledLabel, FilterGroupSelector, FilterSimpleSelector, _default$c as FixedFooter, type HeadCell, Header, type HeaderFilterObject, type HeaderFilterOptions, type HeaderFilters, SvgIconChart as IconChart, SvgIconCompare as IconCompare, _default$j as ImageButton, _default$b as LeftDrawer, VirtualizedList as List, Loading, LocationsSectionInfo, Notes, Numpad, _default$a as NumpadInput, NumpadPlus, type Order, _default$i as OutlinedButton, _default$h as OutlinedButtonLg, PaginationForTable as Pagination, PhoneInput, _default$g as Pin, ActionButton as PinnedApp, PlusMinusInput, ProductBust, ProductImage, RenderAvatar, RenderContentList, RoundButton, RowProductCard, ScrollableDialog, SearchAndFilterHeader, _default$9 as SearchAndFilterHeaderForTable, _default$8 as SearchWithFilters, _default$7 as SearchWithFiltersForTable, SectionName, SmartSelect, _default$3 as SmartTableHeader, _default$4 as SmartTableHeaderFilterMenu, SquareButton, _default$6 as SquareLabel, _default$5 as Switch, Table, TableDesktop, TableEmptyResult, _default$2 as TableHeader, TableLoading, TextDivider, _default$1 as TheToolbar, ThemedDateRangePicker, ToastMessage, TwoButtonDialog, UploadButton, _default as UserBust, icons };
|