@inntechcorp/it-design 2.0.17 → 2.0.19

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.mts CHANGED
@@ -66,7 +66,7 @@ export type { AccordionProps } from './types/AccordionProps';
66
66
  export type { AccordionSubMenuProps } from './types/AccordionSubMenuProps';
67
67
  export type { AccordionItemProps } from './types/AccordionItemProps';
68
68
  export type { InputProps, InputVariant } from './types/InputProps';
69
- export type { SelectProps, SelectOptionProps } from './types/SelectProps';
69
+ export type { SelectProps, SelectOptionProps, SelectVariant } from './types/SelectProps';
70
70
  export type { CheckboxProps, CheckboxGroupProps, GroupCheckboxOptionType, CheckboxEvent } from './types/CheckboxProps';
71
71
  export type { ITDImperativeFuncProps } from './types/ITDImperativeFuncProps';
72
72
  export type { SingleQueryProps } from './types/SingleQueryProps';
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;
@@ -708,8 +715,8 @@ type SelectProps = {
708
715
  position?: string;
709
716
  direction?: string;
710
717
  mode?: string;
711
- size?: string;
712
- variant?: string;
718
+ size?: ITDSize;
719
+ variant?: SelectVariant;
713
720
  className?: string;
714
721
  placeholder?: string;
715
722
  icon?: string;
@@ -721,6 +728,7 @@ type SelectProps = {
721
728
  onChange?: ((value: any) => void) | null;
722
729
  onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
723
730
  };
731
+ type SelectVariant = "default" | "solid" | "filled" | "outline" | "custom";
724
732
  type SelectOptionProps = {
725
733
  value: string;
726
734
  text: string;
@@ -1135,7 +1143,7 @@ type TableColumnType<T> = {
1135
1143
  };
1136
1144
  type TableProps<T> = {
1137
1145
  columns: TableColumnType<T>[];
1138
- data: T[];
1146
+ data: T[] | null;
1139
1147
  size?: ITDSize;
1140
1148
  headless?: boolean;
1141
1149
  bordered?: boolean;
@@ -1199,4 +1207,4 @@ declare enum FileExtensions {
1199
1207
  OTF = ".otf"
1200
1208
  }
1201
1209
 
1202
- 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 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 };