@inntechcorp/it-design 2.0.71 → 2.0.73
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/helpers/index.d.ts +1 -0
- package/dist/helpers/svg/SVGLoader.d.ts +2 -0
- package/dist/helpers/svg/styles.d.ts +6 -0
- package/dist/index.cjs.js +50 -50
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +18 -1
- package/dist/index.esm.js +50 -50
- package/dist/select/toggle/Toggle.d.ts +2 -17
- package/dist/stories/Select.stories.d.ts +3 -2
- package/dist/types/SelectProps.d.ts +15 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -70,7 +70,7 @@ export type { AccordionSubMenuProps } from './types/AccordionSubMenuProps';
|
|
|
70
70
|
export type { AccordionItemProps } from './types/AccordionItemProps';
|
|
71
71
|
export type { InputProps, InputVariant } from './types/InputProps';
|
|
72
72
|
export type { TextAreaProps, TextAreaVariant, TextAreaEvent } from './types/TextAreaProps';
|
|
73
|
-
export type { SelectProps, SelectOptionProps, SelectVariant } from './types/SelectProps';
|
|
73
|
+
export type { SelectProps, SelectToggleProps, SelectOptionProps, SelectVariant } from './types/SelectProps';
|
|
74
74
|
export type { CheckboxProps, CheckboxGroupProps, GroupCheckboxOptionType, CheckboxEvent } from './types/CheckboxProps';
|
|
75
75
|
export type { ITDImperativeFuncProps } from './types/ITDImperativeFuncProps';
|
|
76
76
|
export type { SingleQueryProps } from './types/SingleQueryProps';
|
package/dist/index.d.ts
CHANGED
|
@@ -94,6 +94,8 @@ declare function GetTypeByFileType(type: FileTypes): "" | FileExtensions;
|
|
|
94
94
|
|
|
95
95
|
declare function Wait(milliseconds: number): Promise<unknown>;
|
|
96
96
|
|
|
97
|
+
declare const SVGLoader: (src: string, width?: string | number, height?: string | number) => react_jsx_runtime.JSX.Element;
|
|
98
|
+
|
|
97
99
|
type Nullable<T> = T | null;
|
|
98
100
|
type THandler = Nullable<(value: string | null) => void>;
|
|
99
101
|
declare const useReCaptcha: (handler: THandler) => {
|
|
@@ -761,6 +763,21 @@ type SelectProps = {
|
|
|
761
763
|
onChange?: ((value: any) => void) | null;
|
|
762
764
|
onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
|
|
763
765
|
};
|
|
766
|
+
type SelectToggleProps = {
|
|
767
|
+
id?: string;
|
|
768
|
+
label: string | number | [];
|
|
769
|
+
value: string | number | [];
|
|
770
|
+
errorMessage: string;
|
|
771
|
+
isOpen: boolean;
|
|
772
|
+
locked: boolean;
|
|
773
|
+
labelType: string;
|
|
774
|
+
placeholder: string;
|
|
775
|
+
icon: string;
|
|
776
|
+
image: string;
|
|
777
|
+
size: ITDSize;
|
|
778
|
+
selected: SelectOptionProps;
|
|
779
|
+
onChange: (open: boolean) => void;
|
|
780
|
+
};
|
|
764
781
|
type SelectVariant = "default" | "solid" | "filled" | "outline" | "custom";
|
|
765
782
|
type SelectOptionProps = {
|
|
766
783
|
value: string;
|
|
@@ -1268,4 +1285,4 @@ declare enum FileExtensions {
|
|
|
1268
1285
|
OTF = ".otf"
|
|
1269
1286
|
}
|
|
1270
1287
|
|
|
1271
|
-
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, Flex, type FlexAlignProps, type FlexGapProps, type FlexJustifyProps, type FlexProps, 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, Progress, type ProgressProps, type ProgressStatus, 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, TextArea, type TextAreaEvent, type TextAreaProps, type TextAreaVariant, 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 };
|
|
1288
|
+
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, Flex, type FlexAlignProps, type FlexGapProps, type FlexJustifyProps, type FlexProps, 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, Progress, type ProgressProps, type ProgressStatus, Radio, RemoveUnits, Result, SVGLoader, Select, type SelectOptionProps, type SelectProps, type SelectToggleProps, type SelectVariant, type SingleQueryProps, Spin, Status, type StatusProps, type StatusVariant, Switch, type SwitchProps, Table, type TableColumnType, type TableProps, Tabs, type TabsItemProps, type TabsProps, TextArea, type TextAreaEvent, type TextAreaProps, type TextAreaVariant, 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 };
|