@inntechcorp/it-design 2.0.241 → 2.0.243
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.cjs.js +40 -170
- package/dist/index.d.ts +9 -6
- package/dist/index.esm.js +89 -219
- 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 = {
|
|
@@ -640,15 +642,15 @@ declare const Notification: {
|
|
|
640
642
|
useNotifications: () => NotificationContextType;
|
|
641
643
|
};
|
|
642
644
|
|
|
643
|
-
declare
|
|
645
|
+
declare function Button$1({ id, name, value, type, checked, hasError, children, icon, image, component, onChange }: RadioButtonProps): react_jsx_runtime.JSX.Element;
|
|
644
646
|
|
|
645
|
-
declare
|
|
647
|
+
declare const _default$2: react__default.MemoExoticComponent<react__default.ForwardRefExoticComponent<RadioGroupProps & react__default.RefAttributes<ITDImperativeFuncProps$1>>>;
|
|
646
648
|
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
export { Button$1 as Button };
|
|
649
|
+
interface RadioComponent extends React.FC {
|
|
650
|
+
Group: typeof _default$2;
|
|
651
|
+
Button: typeof Button$1;
|
|
651
652
|
}
|
|
653
|
+
declare const Radio: RadioComponent;
|
|
652
654
|
|
|
653
655
|
declare const _default$1: react__default.MemoExoticComponent<({ value, checked, single, onChange, children }: {
|
|
654
656
|
value?: string | undefined;
|
|
@@ -1319,6 +1321,7 @@ type ModalRefProps = {
|
|
|
1319
1321
|
};
|
|
1320
1322
|
|
|
1321
1323
|
type UploadProps = {
|
|
1324
|
+
id?: string;
|
|
1322
1325
|
action?: string;
|
|
1323
1326
|
filePath?: string | null;
|
|
1324
1327
|
removeAction?: string;
|