@inntechcorp/it-design 2.0.18 → 2.0.20
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/icons/NoData.d.ts +7 -0
- package/dist/icons/index.d.ts +1 -0
- package/dist/index.cjs.js +59 -59
- package/dist/index.d.ts +10 -3
- package/dist/index.esm.js +49 -49
- package/dist/status/index.d.ts +1 -1
- package/dist/stories/NoDataIcon.d.ts +2 -0
- package/dist/stories/Table.stories.d.ts +2 -0
- package/dist/table/styled.d.ts +2 -1
- package/dist/types/TableProps.d.ts +1 -1
- package/dist/utils/GetSizeBySizeSlug.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -318,6 +318,13 @@ declare const Picture: ({ className, height, width }: {
|
|
|
318
318
|
width?: number | undefined;
|
|
319
319
|
}) => react_jsx_runtime.JSX.Element;
|
|
320
320
|
|
|
321
|
+
type IconProps = {
|
|
322
|
+
className?: string;
|
|
323
|
+
width?: number;
|
|
324
|
+
height?: number;
|
|
325
|
+
};
|
|
326
|
+
declare const NoData: ({ className, height, width }: IconProps) => react_jsx_runtime.JSX.Element;
|
|
327
|
+
|
|
321
328
|
type OptionsProps = {
|
|
322
329
|
icon?: string;
|
|
323
330
|
image?: string;
|
|
@@ -614,7 +621,7 @@ declare const Spin: ({ updating, size, className, children }: ISpin) => react_js
|
|
|
614
621
|
|
|
615
622
|
declare function BackTop(props: any): react_jsx_runtime.JSX.Element;
|
|
616
623
|
|
|
617
|
-
declare function Status({ variant, children, className, }: StatusProps): react_jsx_runtime.JSX.Element;
|
|
624
|
+
declare function Status({ variant, size, children, className, }: StatusProps): react_jsx_runtime.JSX.Element;
|
|
618
625
|
|
|
619
626
|
type TinyScrollbarProps = {
|
|
620
627
|
className: string;
|
|
@@ -1136,7 +1143,7 @@ type TableColumnType<T> = {
|
|
|
1136
1143
|
};
|
|
1137
1144
|
type TableProps<T> = {
|
|
1138
1145
|
columns: TableColumnType<T>[];
|
|
1139
|
-
data: T[];
|
|
1146
|
+
data: T[] | null;
|
|
1140
1147
|
size?: ITDSize;
|
|
1141
1148
|
headless?: boolean;
|
|
1142
1149
|
bordered?: boolean;
|
|
@@ -1200,4 +1207,4 @@ declare enum FileExtensions {
|
|
|
1200
1207
|
OTF = ".otf"
|
|
1201
1208
|
}
|
|
1202
1209
|
|
|
1203
|
-
export { ALink, Accordion, type AccordionItemProps, type AccordionProps, type AccordionSubMenuProps, AddDefaultThemeStyle, AddZero, Alert, type AlertProps, type AlertSize, type AlertType, Arrow as ArrowIcon, BackToTop, BackTop, Button, type ButtonContentPosition, type ButtonProps, type ButtonState, type ButtonType, type ButtonVariant, Calendar, Card, type CardProps, CheckFileURL, Checkbox, type CheckboxEvent, type CheckboxGroupProps, type CheckboxProps, Checkmark, ChunkArray, Collapse, ConsoleLog, ConvertCurrency, DatePicker, DetermineNewHeight, DetermineNewWidth, type FieldUpdateProps, FileChecker, FileExtensions, FileTypes, FindSelector, Form, type FormContextType, type FormItemProps, type FormProps, type FormRuleProps, type FormSubComponentProps, type FormValueProps, FormatBytes, GetByCurrency, GetCountryCodeByCurrencyCode, GetCountryCodeByLanguage, GetCurrencyFormat, GetCurrencySymbol, GetDecimalByCurrency, GetTypeByFileType, type GroupCheckboxOptionType, H1, H2, H3, H4, ITDContext, type ITDContextType, type ITDImperativeFuncProps, ITDProvider, type ITDProviderProps, type ITDSize, type ITDSizeSlug, _default as Image, InlineSelect, InlineSelectArrow, Input, type InputProps, type InputVariant, IsValidJSON, Lock as LockIcon, type ModalContentProps, ModalManager, type ModalProps, type ModalRefProps, ModalState, Notification, type NotificationContextType, type NotificationsProps, Picture, Radio, RemoveUnits, Result, Select, type SelectOptionProps, type SelectProps, type SelectVariant, type SingleQueryProps, Spin, Status, type StatusProps, type StatusVariant, Switch, type SwitchProps, Table, type TableColumnType, type TableProps, Tabs, type TabsItemProps, type TabsProps, TinyScrollbar, Tooltip, Trash, UniUpperCase, UpdateThemeStyle, Upload, Upload$1 as UploadIcon, type UploadProgressProps, type UploadProps, type UploadResultMessageProps, Wait, ZoomIn, ZoomOut, useAddExternalCSS, useComponentSize, useConnectionStatus, useConstructor, useCoreFetch, useCreateDynamicStyle, useCreateStyledStyle, useMultiQuery, useOnClickOutside, useOnESCKeyDown, useOnResize, useReCaptcha, useSingleQuery };
|
|
1210
|
+
export { ALink, Accordion, type AccordionItemProps, type AccordionProps, type AccordionSubMenuProps, AddDefaultThemeStyle, AddZero, Alert, type AlertProps, type AlertSize, type AlertType, Arrow as ArrowIcon, BackToTop, BackTop, Button, type ButtonContentPosition, type ButtonProps, type ButtonState, type ButtonType, type ButtonVariant, Calendar, Card, type CardProps, CheckFileURL, Checkbox, type CheckboxEvent, type CheckboxGroupProps, type CheckboxProps, Checkmark, ChunkArray, Collapse, ConsoleLog, ConvertCurrency, DatePicker, DetermineNewHeight, DetermineNewWidth, type FieldUpdateProps, FileChecker, FileExtensions, FileTypes, FindSelector, Form, type FormContextType, type FormItemProps, type FormProps, type FormRuleProps, type FormSubComponentProps, type FormValueProps, FormatBytes, GetByCurrency, GetCountryCodeByCurrencyCode, GetCountryCodeByLanguage, GetCurrencyFormat, GetCurrencySymbol, GetDecimalByCurrency, GetTypeByFileType, type GroupCheckboxOptionType, H1, H2, H3, H4, ITDContext, type ITDContextType, type ITDImperativeFuncProps, ITDProvider, type ITDProviderProps, type ITDSize, type ITDSizeSlug, _default as Image, InlineSelect, InlineSelectArrow, Input, type InputProps, type InputVariant, IsValidJSON, Lock as LockIcon, type ModalContentProps, ModalManager, type ModalProps, type ModalRefProps, ModalState, NoData, Notification, type NotificationContextType, type NotificationsProps, Picture, Radio, RemoveUnits, Result, Select, type SelectOptionProps, type SelectProps, type SelectVariant, type SingleQueryProps, Spin, Status, type StatusProps, type StatusVariant, Switch, type SwitchProps, Table, type TableColumnType, type TableProps, Tabs, type TabsItemProps, type TabsProps, TinyScrollbar, Tooltip, Trash, UniUpperCase, UpdateThemeStyle, Upload, Upload$1 as UploadIcon, type UploadProgressProps, type UploadProps, type UploadResultMessageProps, Wait, ZoomIn, ZoomOut, useAddExternalCSS, useComponentSize, useConnectionStatus, useConstructor, useCoreFetch, useCreateDynamicStyle, useCreateStyledStyle, useMultiQuery, useOnClickOutside, useOnESCKeyDown, useOnResize, useReCaptcha, useSingleQuery };
|