@inntechcorp/it-design 2.0.242 → 2.0.244
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/hooks/index.d.ts +1 -0
- package/dist/hooks/useOrientation.d.ts +3 -0
- package/dist/index.cjs.js +40 -170
- package/dist/index.d.ts +13 -7
- package/dist/index.esm.js +103 -233
- package/dist/radio/button/Button.d.ts +2 -0
- package/dist/radio/button/styled.d.ts +9 -0
- package/dist/radio/group/Group.d.ts +5 -0
- package/dist/radio/group/styled.d.ts +8 -0
- package/dist/radio/index.d.ts +9 -0
- package/dist/stories/RadioGroup.d.ts +2 -0
- package/dist/stories/RadioGroup.stories.d.ts +14 -0
- package/dist/types/RadioProps.d.ts +29 -0
- package/dist/types/UploadProps.d.ts +1 -0
- package/dist/utils/GetSizeBySizeSlug.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ import { SelectValue as SelectValue$1 } from 'types/SelectProps';
|
|
|
8
8
|
import { ModalState as ModalState$1, FormValidationTypes as FormValidationTypes$1 } from 'enums/enum';
|
|
9
9
|
import moment$1 from 'moment';
|
|
10
10
|
import { ModalProps as ModalProps$1 } from 'types/ModalProps';
|
|
11
|
+
import { RadioButtonProps, RadioGroupProps } from 'types/RadioProps';
|
|
12
|
+
import { ITDImperativeFuncProps as ITDImperativeFuncProps$1 } from 'types/ITDImperativeFuncProps';
|
|
11
13
|
import { ResultProps as ResultProps$1 } from 'types/ResultProps';
|
|
12
14
|
|
|
13
15
|
type ITDContextType = {
|
|
@@ -319,6 +321,9 @@ interface UseKeyboardShortcutProps {
|
|
|
319
321
|
}
|
|
320
322
|
declare const useKeyboardShortcut: ({ key, onKeyPressed }: UseKeyboardShortcutProps) => void;
|
|
321
323
|
|
|
324
|
+
type OrientationType = 'portrait' | 'landscape';
|
|
325
|
+
declare const useOrientation: () => OrientationType;
|
|
326
|
+
|
|
322
327
|
declare const H1: ({ children }: {
|
|
323
328
|
children: ChildrenProps$1;
|
|
324
329
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -640,15 +645,15 @@ declare const Notification: {
|
|
|
640
645
|
useNotifications: () => NotificationContextType;
|
|
641
646
|
};
|
|
642
647
|
|
|
643
|
-
declare
|
|
648
|
+
declare function Button$1({ id, name, value, type, checked, hasError, children, icon, image, component, onChange }: RadioButtonProps): react_jsx_runtime.JSX.Element;
|
|
644
649
|
|
|
645
|
-
declare
|
|
650
|
+
declare const _default$2: react__default.MemoExoticComponent<react__default.ForwardRefExoticComponent<RadioGroupProps & react__default.RefAttributes<ITDImperativeFuncProps$1>>>;
|
|
646
651
|
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
export { Button$1 as Button };
|
|
652
|
+
interface RadioComponent extends React.FC {
|
|
653
|
+
Group: typeof _default$2;
|
|
654
|
+
Button: typeof Button$1;
|
|
651
655
|
}
|
|
656
|
+
declare const Radio: RadioComponent;
|
|
652
657
|
|
|
653
658
|
declare const _default$1: react__default.MemoExoticComponent<({ value, checked, single, onChange, children }: {
|
|
654
659
|
value?: string | undefined;
|
|
@@ -1319,6 +1324,7 @@ type ModalRefProps = {
|
|
|
1319
1324
|
};
|
|
1320
1325
|
|
|
1321
1326
|
type UploadProps = {
|
|
1327
|
+
id?: string;
|
|
1322
1328
|
action?: string;
|
|
1323
1329
|
filePath?: string | null;
|
|
1324
1330
|
removeAction?: string;
|
|
@@ -1519,4 +1525,4 @@ declare enum FormValidationTypes {
|
|
|
1519
1525
|
USERNAME = "username"
|
|
1520
1526
|
}
|
|
1521
1527
|
|
|
1522
|
-
export { ALink, Accordion, type AccordionItemProps, type AccordionProps, type AccordionSubMenuProps, AddDefaultThemeStyle, AddDefaultUnit, AddZero, Alert, type AlertProps, type AlertSize, type AlertType, Arrow as ArrowIcon, BackToTop, BackTop, Base64Decode, Base64Encode, Button, type ButtonContentPosition, type ButtonProps, type ButtonState, type ButtonType, type ButtonVariant, Calendar, type CalendarDayProps, type CalendarProps, type CalendarValueProps, Card, type CardProps, CheckFileURL, Checkbox, type CheckboxEvent, type CheckboxGroupProps, type CheckboxProps, Checkmark, ChunkArray, Collapse, ConsoleLog, ConvertCurrency, DatePicker, type DatePickerProps, 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, FormValidationTypes, type FormValueProps, FormatBytes, FormatDate, FormatDateTime, FormatSimpleDate, FormatSimpleDateTime, FormatTime, 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, type QueryValueProps, Radio, RemoveUnits, Result, type ResultProps, SVGLoader, Select, type SelectDirection, type SelectOptionProps, type SelectPosition, type SelectProps, type SelectToggleProps, type SelectValue, type SelectVariant, type SingleQueryProps, Spin, Status, type StatusProps, type StatusVariant, Switch, type SwitchProps, Table, type TableColumnType, type TableProps, type TableRefProps, type TableRow, type TableTRProps, Tabs, type TabsItemProps, type TabsProps, TextArea, type TextAreaEvent, type TextAreaProps, type TextAreaVariant, TinyScrollbar, Tooltip, TranslateCell, Trash, UniUpperCase, UpdateThemeStyle, Upload, Upload$1 as UploadIcon, type UploadProgressProps, type UploadProps, type UploadResultMessageProps, Wait, ZoomIn, ZoomOut, toKebabCase, useAddExternalCSS, useComponentSize, useConnectionStatus, useConstructor, useContextBridge, useCoreFetch, useCreateDynamicStyle, useCreateStyledStyle, useKeyboardShortcut, useMultiQuery, useOnClickOutside, useOnESCKeyDown, useOnResize, useReCaptcha, useSingleQuery };
|
|
1528
|
+
export { ALink, Accordion, type AccordionItemProps, type AccordionProps, type AccordionSubMenuProps, AddDefaultThemeStyle, AddDefaultUnit, AddZero, Alert, type AlertProps, type AlertSize, type AlertType, Arrow as ArrowIcon, BackToTop, BackTop, Base64Decode, Base64Encode, Button, type ButtonContentPosition, type ButtonProps, type ButtonState, type ButtonType, type ButtonVariant, Calendar, type CalendarDayProps, type CalendarProps, type CalendarValueProps, Card, type CardProps, CheckFileURL, Checkbox, type CheckboxEvent, type CheckboxGroupProps, type CheckboxProps, Checkmark, ChunkArray, Collapse, ConsoleLog, ConvertCurrency, DatePicker, type DatePickerProps, 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, FormValidationTypes, type FormValueProps, FormatBytes, FormatDate, FormatDateTime, FormatSimpleDate, FormatSimpleDateTime, FormatTime, 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, type QueryValueProps, Radio, RemoveUnits, Result, type ResultProps, SVGLoader, Select, type SelectDirection, type SelectOptionProps, type SelectPosition, type SelectProps, type SelectToggleProps, type SelectValue, type SelectVariant, type SingleQueryProps, Spin, Status, type StatusProps, type StatusVariant, Switch, type SwitchProps, Table, type TableColumnType, type TableProps, type TableRefProps, type TableRow, type TableTRProps, Tabs, type TabsItemProps, type TabsProps, TextArea, type TextAreaEvent, type TextAreaProps, type TextAreaVariant, TinyScrollbar, Tooltip, TranslateCell, Trash, UniUpperCase, UpdateThemeStyle, Upload, Upload$1 as UploadIcon, type UploadProgressProps, type UploadProps, type UploadResultMessageProps, Wait, ZoomIn, ZoomOut, toKebabCase, useAddExternalCSS, useComponentSize, useConnectionStatus, useConstructor, useContextBridge, useCoreFetch, useCreateDynamicStyle, useCreateStyledStyle, useKeyboardShortcut, useMultiQuery, useOnClickOutside, useOnESCKeyDown, useOnResize, useOrientation, useReCaptcha, useSingleQuery };
|