@useblu/ocean-react 1.85.0 → 1.86.0
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/Accordion/Accordion.d.ts +7 -8
- package/Accordion/Accordion.d.ts.map +1 -1
- package/Accordion/index.d.ts +1 -1
- package/Alert/Alert.d.ts +18 -18
- package/Alert/Alert.d.ts.map +1 -1
- package/Alert/AlertIcon.d.ts +7 -7
- package/Alert/AlertIcon.d.ts.map +1 -1
- package/Alert/index.d.ts +1 -1
- package/Badge/Badge.d.ts +12 -12
- package/Badge/Badge.d.ts.map +1 -1
- package/Badge/index.d.ts +1 -1
- package/Breadcrumb/Breadcrumb.d.ts +8 -8
- package/Breadcrumb/Breadcrumb.d.ts.map +1 -1
- package/Breadcrumb/index.d.ts +1 -1
- package/Button/Button.d.ts +16 -16
- package/Button/Button.d.ts.map +1 -1
- package/Button/index.d.ts +1 -1
- package/CHANGELOG.md +6 -0
- package/CardGroup/ActionButton.d.ts +6 -7
- package/CardGroup/ActionButton.d.ts.map +1 -1
- package/CardGroup/CardGroup.d.ts +12 -12
- package/CardGroup/Header.d.ts +7 -8
- package/CardGroup/Header.d.ts.map +1 -1
- package/CardGroup/index.d.ts +1 -1
- package/CardGroup/stories/RenderCardGroup.d.ts +3 -4
- package/CardGroup/stories/RenderCardGroup.d.ts.map +1 -1
- package/CardListItem/CardListItem.d.ts +15 -15
- package/CardListItem/CardListItem.d.ts.map +1 -1
- package/CardListItem/index.d.ts +1 -1
- package/Carousel/Carousel.d.ts +8 -8
- package/Carousel/Carousel.d.ts.map +1 -1
- package/Carousel/CarouselDotList.d.ts +6 -6
- package/Carousel/CarouselDotList.d.ts.map +1 -1
- package/Carousel/examples/BannerExample.d.ts +5 -5
- package/Carousel/index.d.ts +1 -1
- package/Chart/DoughnutChart.d.ts +19 -19
- package/Chart/DoughnutChart.d.ts.map +1 -1
- package/Chart/index.d.ts +2 -2
- package/Chart/mocks/doughnutChart.d.ts +9 -9
- package/Checkbox/Checkbox.d.ts +14 -14
- package/Checkbox/Checkbox.d.ts.map +1 -1
- package/Checkbox/index.d.ts +1 -1
- package/Chips/Chips.d.ts +25 -25
- package/Chips/Chips.d.ts.map +1 -1
- package/Chips/Options.d.ts +14 -14
- package/Chips/index.d.ts +1 -1
- package/CrossSellCard/CrossSellCard.d.ts +18 -18
- package/CrossSellCard/CrossSellCard.d.ts.map +1 -1
- package/CrossSellCard/index.d.ts +1 -1
- package/Date/DateHeader.d.ts +9 -9
- package/Date/DateHeader.d.ts.map +1 -1
- package/Date/DatePicker.d.ts +7 -7
- package/Date/DateRange.d.ts +14 -14
- package/Date/hooks/useDatePicker.d.ts +2 -2
- package/Date/hooks/useDateRange.d.ts +2 -2
- package/Date/index.d.ts +4 -4
- package/Date/types/DatePicker.types.d.ts +26 -27
- package/Date/types/DatePicker.types.d.ts.map +1 -1
- package/Date/types/DateRange.types.d.ts +42 -42
- package/Date/types/DateRange.types.d.ts.map +1 -1
- package/Date/utils/dateUtils.d.ts +6 -6
- package/Date/utils/dateUtils.d.ts.map +1 -1
- package/Divider/Divider.d.ts +3 -3
- package/Divider/index.d.ts +1 -1
- package/DotPagination/DotPagination.d.ts +8 -8
- package/DotPagination/index.d.ts +1 -1
- package/Drawer/Drawer.d.ts +15 -15
- package/Drawer/Drawer.d.ts.map +1 -1
- package/Drawer/examples/AttachedDrawer.d.ts +10 -10
- package/Drawer/examples/AttachedDrawer.d.ts.map +1 -1
- package/Drawer/examples/SimpleDrawer.d.ts +10 -10
- package/Drawer/examples/SimpleDrawer.d.ts.map +1 -1
- package/Drawer/index.d.ts +1 -1
- package/FileUploader/File.d.ts +12 -12
- package/FileUploader/File.d.ts.map +1 -1
- package/FileUploader/FileUploader.d.ts +46 -46
- package/FileUploader/FileUploader.d.ts.map +1 -1
- package/FileUploader/examples/FileUploaderAuto.d.ts +3 -3
- package/FileUploader/examples/FileUploaderControlled.d.ts +7 -7
- package/FileUploader/examples/FileUploaderControlled.d.ts.map +1 -1
- package/FileUploader/index.d.ts +1 -1
- package/FormControl/FormControl.d.ts +12 -12
- package/FormControl/FormControl.d.ts.map +1 -1
- package/FormControl/index.d.ts +2 -2
- package/FormLabel/FormLabel.d.ts +10 -10
- package/FormLabel/FormLabel.d.ts.map +1 -1
- package/FormLabel/index.d.ts +1 -1
- package/Grid/Col.d.ts +15 -15
- package/Grid/Col.d.ts.map +1 -1
- package/Grid/Container.d.ts +5 -5
- package/Grid/Container.d.ts.map +1 -1
- package/Grid/Row.d.ts +19 -19
- package/Grid/Row.d.ts.map +1 -1
- package/Grid/index.d.ts +40 -41
- package/Grid/index.d.ts.map +1 -1
- package/Grid/stories/_shared.d.ts +34 -34
- package/Grid/stories/_shared.d.ts.map +1 -1
- package/IconButton/IconButton.d.ts +11 -11
- package/IconButton/IconButton.d.ts.map +1 -1
- package/IconButton/index.d.ts +1 -1
- package/Input/Input.d.ts +25 -25
- package/Input/Input.d.ts.map +1 -1
- package/Input/examples/InputControlled.d.ts +3 -3
- package/Input/index.d.ts +1 -1
- package/Input/stories/_shared.d.ts +468 -468
- package/Input/stories/_shared.d.ts.map +1 -1
- package/Link/Link.d.ts +14 -14
- package/Link/Link.d.ts.map +1 -1
- package/Link/LinkIcons.d.ts +6 -6
- package/Link/LinkIcons.d.ts.map +1 -1
- package/Link/index.d.ts +1 -1
- package/List/List.d.ts +4 -4
- package/List/List.d.ts.map +1 -1
- package/List/index.d.ts +1 -1
- package/Modal/Modal.d.ts +10 -10
- package/Modal/Modal.d.ts.map +1 -1
- package/Modal/examples/SimpleModal.d.ts +4 -4
- package/Modal/index.d.ts +1 -1
- package/Progress/Progress.d.ts +10 -10
- package/Progress/Progress.d.ts.map +1 -1
- package/Progress/img/IconLg.d.ts +3 -3
- package/Progress/img/IconMd.d.ts +3 -3
- package/Progress/img/IconSm.d.ts +3 -3
- package/Progress/index.d.ts +1 -1
- package/Radio/Radio.d.ts +8 -8
- package/Radio/Radio.d.ts.map +1 -1
- package/Radio/index.d.ts +1 -1
- package/Search/Search.d.ts +5 -5
- package/Search/Search.d.ts.map +1 -1
- package/Search/index.d.ts +1 -1
- package/Select/Listbox.d.ts +9 -9
- package/Select/Listbox.d.ts.map +1 -1
- package/Select/Option.d.ts +4 -4
- package/Select/Select.d.ts +4 -4
- package/Select/SelectAutocomplete.d.ts +4 -4
- package/Select/context.d.ts +10 -10
- package/Select/context.d.ts.map +1 -1
- package/Select/examples/SelectAutocompleteControlled.d.ts +3 -3
- package/Select/examples/SelectControlled.d.ts +3 -3
- package/Select/index.d.ts +4 -4
- package/Select/types.d.ts +26 -26
- package/Select/types.d.ts.map +1 -1
- package/Select/useSelect.d.ts +15 -16
- package/Select/useSelect.d.ts.map +1 -1
- package/Shortcut/Shortcut.d.ts +15 -15
- package/Shortcut/Shortcut.d.ts.map +1 -1
- package/Shortcut/index.d.ts +1 -1
- package/Snackbar/Snackbar.d.ts +23 -23
- package/Snackbar/Snackbar.d.ts.map +1 -1
- package/Snackbar/hook/useSnackbar.d.ts +13 -13
- package/Snackbar/hook/useSnackbar.d.ts.map +1 -1
- package/Snackbar/index.d.ts +1 -1
- package/Stepper/Stepper.d.ts +11 -11
- package/Stepper/Stepper.d.ts.map +1 -1
- package/Stepper/index.d.ts +1 -1
- package/Steps/Steps.d.ts +11 -11
- package/Steps/Steps.d.ts.map +1 -1
- package/Steps/index.d.ts +1 -1
- package/SubHeader/SubHeader.d.ts +8 -8
- package/SubHeader/SubHeader.d.ts.map +1 -1
- package/SubHeader/index.d.ts +1 -1
- package/Switch/Switch.d.ts +4 -4
- package/Switch/Switch.d.ts.map +1 -1
- package/Switch/index.d.ts +1 -1
- package/Tag/Tag.d.ts +17 -17
- package/Tag/Tag.d.ts.map +1 -1
- package/Tag/TagIcon.d.ts +7 -7
- package/Tag/TagIcon.d.ts.map +1 -1
- package/Tag/index.d.ts +1 -1
- package/TextArea/TextArea.d.ts +5 -5
- package/TextArea/TextArea.d.ts.map +1 -1
- package/TextArea/examples/TextAreaControlled.d.ts +3 -3
- package/TextArea/index.d.ts +1 -1
- package/TextListItem/TextListItem.d.ts +32 -32
- package/TextListItem/TextListItem.d.ts.map +1 -1
- package/TextListItem/index.d.ts +1 -1
- package/TokenInput/DigitInput.d.ts +7 -7
- package/TokenInput/TokenInput.d.ts +15 -15
- package/TokenInput/index.d.ts +1 -1
- package/TopBar/TopBar.d.ts +14 -14
- package/TopBar/index.d.ts +1 -1
- package/TransactionListItem/TransactionListItem.d.ts +30 -30
- package/TransactionListItem/TransactionListItem.d.ts.map +1 -1
- package/TransactionListItem/index.d.ts +1 -1
- package/Typography/Typography.d.ts +14 -14
- package/Typography/Typography.d.ts.map +1 -1
- package/Typography/index.d.ts +1 -1
- package/UnorderedListItem/UnorderedListItem.d.ts +17 -17
- package/UnorderedListItem/UnorderedListItem.d.ts.map +1 -1
- package/UnorderedListItem/index.d.ts +1 -1
- package/WebNotification/WebNotification.d.ts +25 -25
- package/WebNotification/WebNotification.d.ts.map +1 -1
- package/WebNotification/hook/useWebNotification.d.ts +8 -8
- package/WebNotification/hook/useWebNotification.d.ts.map +1 -1
- package/WebNotification/index.d.ts +1 -1
- package/_util/makeId.d.ts +2 -2
- package/_util/makeId.d.ts.map +1 -1
- package/_util/type.d.ts +1 -2
- package/_util/type.d.ts.map +1 -1
- package/_util/useInputFilled.d.ts +13 -13
- package/_util/useInputFilled.d.ts.map +1 -1
- package/index.d.ts +82 -82
- package/index.es.js +1876 -3198
- package/index.es.js.map +1 -1
- package/index.js +1995 -3324
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/Button/stories/Button.stories.d.ts +0 -13
- package/Button/stories/Button.stories.d.ts.map +0 -1
- package/CrossSellCard/__tests__/CrossSellCard.d.ts +0 -2
- package/CrossSellCard/__tests__/CrossSellCard.d.ts.map +0 -1
- package/FileUploader/stories/FileUploader.stories.d.ts +0 -7
- package/FileUploader/stories/FileUploader.stories.d.ts.map +0 -1
- package/Grid/stories/Col.stories.d.ts +0 -7
- package/Grid/stories/Col.stories.d.ts.map +0 -1
- package/Grid/stories/Container.stories.d.ts +0 -7
- package/Grid/stories/Container.stories.d.ts.map +0 -1
- package/Grid/stories/Grid.stories.d.ts +0 -7
- package/Grid/stories/Grid.stories.d.ts.map +0 -1
- package/Grid/stories/Row.stories.d.ts +0 -7
- package/Grid/stories/Row.stories.d.ts.map +0 -1
- package/Input/stories/Currency.stories.d.ts +0 -12
- package/Input/stories/Currency.stories.d.ts.map +0 -1
- package/Input/stories/Getting-started.stories.d.ts +0 -13
- package/Input/stories/Getting-started.stories.d.ts.map +0 -1
- package/Input/stories/Text.stories.d.ts +0 -11
- package/Input/stories/Text.stories.d.ts.map +0 -1
- package/Input/stories/WithIcon.stories.d.ts +0 -10
- package/Input/stories/WithIcon.stories.d.ts.map +0 -1
- package/Input/stories/WithLabelIconTooltip.stories.d.ts +0 -9
- package/Input/stories/WithLabelIconTooltip.stories.d.ts.map +0 -1
- package/List/stories/Examples.stories.d.ts +0 -15
- package/List/stories/Examples.stories.d.ts.map +0 -1
- package/List/stories/List.stories.d.ts +0 -12
- package/List/stories/List.stories.d.ts.map +0 -1
- package/Shortcut/__tests__/Shortcut.spec.d.ts +0 -2
- package/Shortcut/__tests__/Shortcut.spec.d.ts.map +0 -1
- package/SubHeader/__tests__/SubHeader.spec.d.ts +0 -2
- package/SubHeader/__tests__/SubHeader.spec.d.ts.map +0 -1
- package/Tag/stories/Tag.stories.d.ts +0 -13
- package/Tag/stories/Tag.stories.d.ts.map +0 -1
- package/TokenInput/stories/TokenInput.stories.d.ts +0 -10
- package/TokenInput/stories/TokenInput.stories.d.ts.map +0 -1
- package/UnorderedListItem/stories/UnorderedListItem.stories.d.ts +0 -10
- package/UnorderedListItem/stories/UnorderedListItem.stories.d.ts.map +0 -1
- package/_stories/components/Cover.d.ts +0 -4
- package/_stories/components/Cover.d.ts.map +0 -1
- package/_stories/components/FormExample.d.ts +0 -4
- package/_stories/components/FormExample.d.ts.map +0 -1
- package/_stories/components/Showcase.d.ts +0 -4
- package/_stories/components/Showcase.d.ts.map +0 -1
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { FileError } from 'react-dropzone';
|
|
3
|
-
export
|
|
4
|
-
file: File;
|
|
5
|
-
state: 'idle' | 'loading' | 'error' | 'success' | 'warning';
|
|
6
|
-
message?: string;
|
|
7
|
-
};
|
|
8
|
-
export
|
|
9
|
-
target: {
|
|
10
|
-
name: string | undefined;
|
|
11
|
-
value: File[];
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export
|
|
15
|
-
title?: string;
|
|
16
|
-
label?: string;
|
|
17
|
-
id?: string;
|
|
18
|
-
name?: string;
|
|
19
|
-
className?: string;
|
|
20
|
-
callToAction?: string;
|
|
21
|
-
callToActionMobile?: string;
|
|
22
|
-
subtitle?: string;
|
|
23
|
-
reloadTooltip?: string;
|
|
24
|
-
removeTooltip?: string;
|
|
25
|
-
multiple?: boolean;
|
|
26
|
-
maxFiles?: number;
|
|
27
|
-
maxLength?: number;
|
|
28
|
-
minSize?: number;
|
|
29
|
-
maxSize?: number;
|
|
30
|
-
accept?: string;
|
|
31
|
-
filesState?: FileState[];
|
|
32
|
-
language?: 'pt-br' | 'en';
|
|
33
|
-
error?: boolean;
|
|
34
|
-
disabled?: boolean;
|
|
35
|
-
value?: File[];
|
|
36
|
-
customLocale?: {
|
|
37
|
-
[key: string]: string;
|
|
38
|
-
};
|
|
39
|
-
onAdd?: (e: FileChangeEvent) => void;
|
|
40
|
-
onChange?: (e: FileChangeEvent) => void;
|
|
41
|
-
onReloadFile?: (files: File) => void;
|
|
42
|
-
onRemoveFile?: (files: File) => void;
|
|
43
|
-
validation?: (files: File) => FileError | null;
|
|
44
|
-
};
|
|
45
|
-
declare const FileUploader: React.FunctionComponent<FileUploaderProps>;
|
|
46
|
-
export default FileUploader;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { FileError } from 'react-dropzone';
|
|
3
|
+
export type FileState = {
|
|
4
|
+
file: File;
|
|
5
|
+
state: 'idle' | 'loading' | 'error' | 'success' | 'warning';
|
|
6
|
+
message?: string;
|
|
7
|
+
};
|
|
8
|
+
export type FileChangeEvent = {
|
|
9
|
+
target: {
|
|
10
|
+
name: string | undefined;
|
|
11
|
+
value: File[];
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export type FileUploaderProps = {
|
|
15
|
+
title?: string;
|
|
16
|
+
label?: string;
|
|
17
|
+
id?: string;
|
|
18
|
+
name?: string;
|
|
19
|
+
className?: string;
|
|
20
|
+
callToAction?: string;
|
|
21
|
+
callToActionMobile?: string;
|
|
22
|
+
subtitle?: string;
|
|
23
|
+
reloadTooltip?: string;
|
|
24
|
+
removeTooltip?: string;
|
|
25
|
+
multiple?: boolean;
|
|
26
|
+
maxFiles?: number;
|
|
27
|
+
maxLength?: number;
|
|
28
|
+
minSize?: number;
|
|
29
|
+
maxSize?: number;
|
|
30
|
+
accept?: string;
|
|
31
|
+
filesState?: FileState[];
|
|
32
|
+
language?: 'pt-br' | 'en';
|
|
33
|
+
error?: boolean;
|
|
34
|
+
disabled?: boolean;
|
|
35
|
+
value?: File[];
|
|
36
|
+
customLocale?: {
|
|
37
|
+
[key: string]: string;
|
|
38
|
+
};
|
|
39
|
+
onAdd?: (e: FileChangeEvent) => void;
|
|
40
|
+
onChange?: (e: FileChangeEvent) => void;
|
|
41
|
+
onReloadFile?: (files: File) => void;
|
|
42
|
+
onRemoveFile?: (files: File) => void;
|
|
43
|
+
validation?: (files: File) => FileError | null;
|
|
44
|
+
};
|
|
45
|
+
declare const FileUploader: React.FunctionComponent<FileUploaderProps>;
|
|
46
|
+
export default FileUploader;
|
|
47
47
|
//# sourceMappingURL=FileUploader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileUploader.d.ts","sourceRoot":"","sources":["../../src/FileUploader/FileUploader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAA8B,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAWvE,
|
|
1
|
+
{"version":3,"file":"FileUploader.d.ts","sourceRoot":"","sources":["../../src/FileUploader/FileUploader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAA8B,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAWvE,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,CAAC;IAC5D,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;QACzB,KAAK,EAAE,IAAI,EAAE,CAAC;KACf,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,SAAS,EAAE,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC1B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;IACf,YAAY,CAAC,EAAE;QACb,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KACvB,CAAC;IACF,KAAK,CAAC,EAAE,CAAC,CAAC,EAAE,eAAe,KAAK,IAAI,CAAC;IACrC,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,eAAe,KAAK,IAAI,CAAC;IACxC,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,KAAK,IAAI,CAAC;IACrC,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,KAAK,IAAI,CAAC;IACrC,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,KAAK,SAAS,GAAG,IAAI,CAAC;CAChD,CAAC;AAEF,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAuO5D,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const FileUploaderAuto: React.FC;
|
|
3
|
-
export default FileUploaderAuto;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const FileUploaderAuto: React.FC;
|
|
3
|
+
export default FileUploaderAuto;
|
|
4
4
|
//# sourceMappingURL=FileUploaderAuto.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export
|
|
3
|
-
file: File;
|
|
4
|
-
state: 'idle' | 'loading' | 'error' | 'success' | 'warning';
|
|
5
|
-
};
|
|
6
|
-
declare const FileUploaderControlled: React.FC;
|
|
7
|
-
export default FileUploaderControlled;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type FilesState = {
|
|
3
|
+
file: File;
|
|
4
|
+
state: 'idle' | 'loading' | 'error' | 'success' | 'warning';
|
|
5
|
+
};
|
|
6
|
+
declare const FileUploaderControlled: React.FC;
|
|
7
|
+
export default FileUploaderControlled;
|
|
8
8
|
//# sourceMappingURL=FileUploaderControlled.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileUploaderControlled.d.ts","sourceRoot":"","sources":["../../../src/FileUploader/examples/FileUploaderControlled.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,
|
|
1
|
+
{"version":3,"file":"FileUploaderControlled.d.ts","sourceRoot":"","sources":["../../../src/FileUploader/examples/FileUploaderControlled.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,CAAC;CAC7D,CAAC;AAEF,QAAA,MAAM,sBAAsB,EAAE,KAAK,CAAC,EA+GnC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
package/FileUploader/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './FileUploader';
|
|
1
|
+
export { default } from './FileUploader';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export
|
|
3
|
-
children: React.ReactElement;
|
|
4
|
-
label?: string | React.ReactNode;
|
|
5
|
-
tooltipMessage?: string;
|
|
6
|
-
htmlFor?: string;
|
|
7
|
-
error?: boolean;
|
|
8
|
-
helperText?: string;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
};
|
|
11
|
-
declare const FormControl: React.FC<FormControlProps>;
|
|
12
|
-
export default FormControl;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type FormControlProps = {
|
|
3
|
+
children: React.ReactElement;
|
|
4
|
+
label?: string | React.ReactNode;
|
|
5
|
+
tooltipMessage?: string;
|
|
6
|
+
htmlFor?: string;
|
|
7
|
+
error?: boolean;
|
|
8
|
+
helperText?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const FormControl: React.FC<FormControlProps>;
|
|
12
|
+
export default FormControl;
|
|
13
13
|
//# sourceMappingURL=FormControl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormControl.d.ts","sourceRoot":"","sources":["../../src/FormControl/FormControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,
|
|
1
|
+
{"version":3,"file":"FormControl.d.ts","sourceRoot":"","sources":["../../src/FormControl/FormControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,MAAM,MAAM,gBAAgB,GAAG;IAI7B,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAI7B,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAOjC,cAAc,CAAC,EAAE,MAAM,CAAC;IAIxB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAIhB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAmD3C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/FormControl/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './FormControl';
|
|
2
|
-
export { default } from './FormControl';
|
|
1
|
+
export * from './FormControl';
|
|
2
|
+
export { default } from './FormControl';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
package/FormLabel/FormLabel.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { MergeElementProps } from '../_util/type';
|
|
3
|
-
export
|
|
4
|
-
component?: P;
|
|
5
|
-
} & MergeElementProps<P, {
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
}>;
|
|
8
|
-
declare function FormLabelBase<T extends React.ElementType = 'label'>({ children, className, component, disabled, ...rest }: FormLabelProps<T>, ref: React.Ref<HTMLLabelElement>): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
9
|
-
declare const FormLabel: typeof FormLabelBase;
|
|
10
|
-
export default FormLabel;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { MergeElementProps } from '../_util/type';
|
|
3
|
+
export type FormLabelProps<P extends React.ElementType = 'label'> = {
|
|
4
|
+
component?: P;
|
|
5
|
+
} & MergeElementProps<P, {
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}>;
|
|
8
|
+
declare function FormLabelBase<T extends React.ElementType = 'label'>({ children, className, component, disabled, ...rest }: FormLabelProps<T>, ref: React.Ref<HTMLLabelElement>): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
9
|
+
declare const FormLabel: typeof FormLabelBase;
|
|
10
|
+
export default FormLabel;
|
|
11
11
|
//# sourceMappingURL=FormLabel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormLabel.d.ts","sourceRoot":"","sources":["../../src/FormLabel/FormLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"FormLabel.d.ts","sourceRoot":"","sources":["../../src/FormLabel/FormLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAElD,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,OAAO,IAAI;IAKlE,SAAS,CAAC,EAAE,CAAC,CAAC;CACf,GAAG,iBAAiB,CACnB,CAAC,EACD;IAKE,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CACF,CAAC;AAEF,iBAAS,aAAa,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,OAAO,EAC1D,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,cAAc,CAAC,CAAC,CAAC,EACxE,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,gBAAgB,CAAC,sEAejC;AAED,QAAA,MAAM,SAAS,EAEC,OAAO,aAAa,CAAC;AAErC,eAAe,SAAS,CAAC"}
|
package/FormLabel/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './FormLabel';
|
|
1
|
+
export { default } from './FormLabel';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
package/Grid/Col.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
span?: ColSize;
|
|
6
|
-
offset?: NumberAttr;
|
|
7
|
-
};
|
|
8
|
-
declare const Col: React.ForwardRefExoticComponent<{
|
|
9
|
-
xs?: ColSpec
|
|
10
|
-
sm?: ColSpec
|
|
11
|
-
md?: ColSpec
|
|
12
|
-
lg?: ColSpec
|
|
13
|
-
xl?: ColSpec
|
|
14
|
-
} & Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
-
export default Col;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type NumberAttr = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12';
|
|
3
|
+
type ColSize = boolean | 'auto' | NumberAttr;
|
|
4
|
+
type ColSpec = ColSize | {
|
|
5
|
+
span?: ColSize;
|
|
6
|
+
offset?: NumberAttr;
|
|
7
|
+
};
|
|
8
|
+
declare const Col: React.ForwardRefExoticComponent<{
|
|
9
|
+
xs?: ColSpec;
|
|
10
|
+
sm?: ColSpec;
|
|
11
|
+
md?: ColSpec;
|
|
12
|
+
lg?: ColSpec;
|
|
13
|
+
xl?: ColSpec;
|
|
14
|
+
} & Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
export default Col;
|
|
16
16
|
//# sourceMappingURL=Col.d.ts.map
|
package/Grid/Col.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Col.d.ts","sourceRoot":"","sources":["../../src/Grid/Col.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,
|
|
1
|
+
{"version":3,"file":"Col.d.ts","sourceRoot":"","sources":["../../src/Grid/Col.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,KAAK,UAAU,GACX,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,IAAI,GACJ,IAAI,GACJ,IAAI,CAAC;AACT,KAAK,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,UAAU,CAAC;AAC7C,KAAK,OAAO,GAAG,OAAO,GAAG;IAAE,IAAI,CAAC,EAAE,OAAO,CAAC;IAAC,MAAM,CAAC,EAAE,UAAU,CAAA;CAAE,CAAC;AAwBjE,QAAA,MAAM,GAAG;SAnBF,OAAO;SAIP,OAAO;SAIP,OAAO;SAIP,OAAO;SAIP,OAAO;kLA0Cb,CAAC;AAIF,eAAe,GAAG,CAAC"}
|
package/Grid/Container.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const Container: React.ForwardRefExoticComponent<{
|
|
3
|
-
fluid?: boolean | "sm" | "md" | "lg" | "xl"
|
|
4
|
-
} & Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
-
export default Container;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const Container: React.ForwardRefExoticComponent<{
|
|
3
|
+
fluid?: boolean | "sm" | "md" | "lg" | "xl";
|
|
4
|
+
} & Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
export default Container;
|
|
6
6
|
//# sourceMappingURL=Container.d.ts.map
|
package/Grid/Container.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../src/Grid/Container.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../src/Grid/Container.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,QAAA,MAAM,SAAS;YAHL,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI;kLAkB5C,CAAC;AAIF,eAAe,SAAS,CAAC"}
|
package/Grid/Row.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
noGutters?: boolean;
|
|
5
|
-
xs?: RowColWidth;
|
|
6
|
-
sm?: RowColWidth;
|
|
7
|
-
md?: RowColWidth;
|
|
8
|
-
lg?: RowColWidth;
|
|
9
|
-
xl?: RowColWidth;
|
|
10
|
-
} & React.ComponentPropsWithoutRef<'div'>;
|
|
11
|
-
declare const Row: React.ForwardRefExoticComponent<{
|
|
12
|
-
noGutters?: boolean
|
|
13
|
-
xs?: RowColWidth
|
|
14
|
-
sm?: RowColWidth
|
|
15
|
-
md?: RowColWidth
|
|
16
|
-
lg?: RowColWidth
|
|
17
|
-
xl?: RowColWidth
|
|
18
|
-
} & Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
-
export default Row;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type RowColWidth = '1' | '2' | '3' | '4' | '5' | '6';
|
|
3
|
+
export type RowProps = {
|
|
4
|
+
noGutters?: boolean;
|
|
5
|
+
xs?: RowColWidth;
|
|
6
|
+
sm?: RowColWidth;
|
|
7
|
+
md?: RowColWidth;
|
|
8
|
+
lg?: RowColWidth;
|
|
9
|
+
xl?: RowColWidth;
|
|
10
|
+
} & React.ComponentPropsWithoutRef<'div'>;
|
|
11
|
+
declare const Row: React.ForwardRefExoticComponent<{
|
|
12
|
+
noGutters?: boolean;
|
|
13
|
+
xs?: RowColWidth;
|
|
14
|
+
sm?: RowColWidth;
|
|
15
|
+
md?: RowColWidth;
|
|
16
|
+
lg?: RowColWidth;
|
|
17
|
+
xl?: RowColWidth;
|
|
18
|
+
} & Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
+
export default Row;
|
|
20
20
|
//# sourceMappingURL=Row.d.ts.map
|
package/Grid/Row.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Row.d.ts","sourceRoot":"","sources":["../../src/Grid/Row.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,
|
|
1
|
+
{"version":3,"file":"Row.d.ts","sourceRoot":"","sources":["../../src/Grid/Row.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,KAAK,WAAW,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAErD,MAAM,MAAM,QAAQ,GAAG;IAKrB,SAAS,CAAC,EAAE,OAAO,CAAC;IAIpB,EAAE,CAAC,EAAE,WAAW,CAAC;IAIjB,EAAE,CAAC,EAAE,WAAW,CAAC;IAIjB,EAAE,CAAC,EAAE,WAAW,CAAC;IAIjB,EAAE,CAAC,EAAE,WAAW,CAAC;IAIjB,EAAE,CAAC,EAAE,WAAW,CAAC;CAClB,GAAG,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC;AAE1C,QAAA,MAAM,GAAG;gBAvBK,OAAO;SAId,WAAW;SAIX,WAAW;SAIX,WAAW;SAIX,WAAW;SAIX,WAAW;kLA2BjB,CAAC;AAIF,eAAe,GAAG,CAAC"}
|
package/Grid/index.d.ts
CHANGED
|
@@ -1,42 +1,41 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
export default _default;
|
|
1
|
+
import Container from './Container';
|
|
2
|
+
import Row from './Row';
|
|
3
|
+
import Col from './Col';
|
|
4
|
+
export { Container, Row, Col };
|
|
5
|
+
declare const _default: {
|
|
6
|
+
Container: import("react").ForwardRefExoticComponent<{
|
|
7
|
+
fluid?: boolean | "sm" | "md" | "lg" | "xl";
|
|
8
|
+
} & Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & import("react").RefAttributes<HTMLDivElement>>;
|
|
9
|
+
Row: import("react").ForwardRefExoticComponent<{
|
|
10
|
+
noGutters?: boolean;
|
|
11
|
+
xs?: "1" | "2" | "3" | "4" | "5" | "6";
|
|
12
|
+
sm?: "1" | "2" | "3" | "4" | "5" | "6";
|
|
13
|
+
md?: "1" | "2" | "3" | "4" | "5" | "6";
|
|
14
|
+
lg?: "1" | "2" | "3" | "4" | "5" | "6";
|
|
15
|
+
xl?: "1" | "2" | "3" | "4" | "5" | "6";
|
|
16
|
+
} & Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & import("react").RefAttributes<HTMLDivElement>>;
|
|
17
|
+
Col: import("react").ForwardRefExoticComponent<{
|
|
18
|
+
xs?: (boolean | "auto" | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12")) | {
|
|
19
|
+
span?: boolean | "auto" | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12");
|
|
20
|
+
offset?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
21
|
+
};
|
|
22
|
+
sm?: (boolean | "auto" | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12")) | {
|
|
23
|
+
span?: boolean | "auto" | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12");
|
|
24
|
+
offset?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
25
|
+
};
|
|
26
|
+
md?: (boolean | "auto" | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12")) | {
|
|
27
|
+
span?: boolean | "auto" | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12");
|
|
28
|
+
offset?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
29
|
+
};
|
|
30
|
+
lg?: (boolean | "auto" | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12")) | {
|
|
31
|
+
span?: boolean | "auto" | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12");
|
|
32
|
+
offset?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
33
|
+
};
|
|
34
|
+
xl?: (boolean | "auto" | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12")) | {
|
|
35
|
+
span?: boolean | "auto" | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12");
|
|
36
|
+
offset?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
37
|
+
};
|
|
38
|
+
} & Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & import("react").RefAttributes<HTMLDivElement>>;
|
|
39
|
+
};
|
|
40
|
+
export default _default;
|
|
42
41
|
//# sourceMappingURL=index.d.ts.map
|
package/Grid/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Grid/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Grid/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,GAAG,MAAM,OAAO,CAAC;AACxB,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB,OAAO,EAAE,SAAS,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAC/B,wBAAuC"}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const DEMO_STYLE: {
|
|
3
|
-
readonly padding: "20px";
|
|
4
|
-
readonly backgroundColor: "#f0f0f0";
|
|
5
|
-
readonly border: "1px solid #ccc";
|
|
6
|
-
readonly textAlign: "center";
|
|
7
|
-
};
|
|
8
|
-
export declare const SCREEN_SIZES: {
|
|
9
|
-
xs: string;
|
|
10
|
-
sm: string;
|
|
11
|
-
md: string;
|
|
12
|
-
lg: string;
|
|
13
|
-
xl: string;
|
|
14
|
-
};
|
|
15
|
-
export declare const DemoWrapper: ({ children, }: {
|
|
16
|
-
children: React.ReactNode;
|
|
17
|
-
}) => JSX.Element;
|
|
18
|
-
export declare const DemoContent: ({ children, }: {
|
|
19
|
-
children: React.ReactNode;
|
|
20
|
-
}) => JSX.Element;
|
|
21
|
-
export declare const ContainerDemoContent: ({ children, }: {
|
|
22
|
-
children: React.ReactNode;
|
|
23
|
-
}) => JSX.Element;
|
|
24
|
-
export declare const ContainerDemoWrapper: ({ children, }: {
|
|
25
|
-
children: React.ReactNode;
|
|
26
|
-
}) => JSX.Element;
|
|
27
|
-
export declare const createStoryDecorator: (minWidth?: string) => (
|
|
28
|
-
export declare const createContainerStoryDecorator: () => (
|
|
29
|
-
export declare const createApiReferenceTable: (componentName: string, breakpointConfigs: Record<string, string>, typeSummary: string, additionalProps?: Array<{
|
|
30
|
-
prop: string;
|
|
31
|
-
type: string;
|
|
32
|
-
default: string;
|
|
33
|
-
description: string;
|
|
34
|
-
}>) => (() => JSX.Element);
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const DEMO_STYLE: {
|
|
3
|
+
readonly padding: "20px";
|
|
4
|
+
readonly backgroundColor: "#f0f0f0";
|
|
5
|
+
readonly border: "1px solid #ccc";
|
|
6
|
+
readonly textAlign: "center";
|
|
7
|
+
};
|
|
8
|
+
export declare const SCREEN_SIZES: {
|
|
9
|
+
xs: string;
|
|
10
|
+
sm: string;
|
|
11
|
+
md: string;
|
|
12
|
+
lg: string;
|
|
13
|
+
xl: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const DemoWrapper: ({ children, }: {
|
|
16
|
+
children: React.ReactNode;
|
|
17
|
+
}) => JSX.Element;
|
|
18
|
+
export declare const DemoContent: ({ children, }: {
|
|
19
|
+
children: React.ReactNode;
|
|
20
|
+
}) => JSX.Element;
|
|
21
|
+
export declare const ContainerDemoContent: ({ children, }: {
|
|
22
|
+
children: React.ReactNode;
|
|
23
|
+
}) => JSX.Element;
|
|
24
|
+
export declare const ContainerDemoWrapper: ({ children, }: {
|
|
25
|
+
children: React.ReactNode;
|
|
26
|
+
}) => JSX.Element;
|
|
27
|
+
export declare const createStoryDecorator: (minWidth?: string) => Array<(StoryComponent: React.ComponentType) => JSX.Element>;
|
|
28
|
+
export declare const createContainerStoryDecorator: () => Array<(StoryComponent: React.ComponentType) => JSX.Element>;
|
|
29
|
+
export declare const createApiReferenceTable: (componentName: string, breakpointConfigs: Record<string, string>, typeSummary: string, additionalProps?: Array<{
|
|
30
|
+
prop: string;
|
|
31
|
+
type: string;
|
|
32
|
+
default: string;
|
|
33
|
+
description: string;
|
|
34
|
+
}>) => (() => JSX.Element);
|
|
35
35
|
//# sourceMappingURL=_shared.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_shared.d.ts","sourceRoot":"","sources":["../../../src/Grid/stories/_shared.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,eAAO,MAAM,UAAU;;;;;CAKb,CAAC;AAEX,eAAO,MAAM,YAAY;;;;;;CAMxB,CAAC;AAEF,eAAO,MAAM,WAAW;
|
|
1
|
+
{"version":3,"file":"_shared.d.ts","sourceRoot":"","sources":["../../../src/Grid/stories/_shared.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,eAAO,MAAM,UAAU;;;;;CAKb,CAAC;AAEX,eAAO,MAAM,YAAY;;;;;;CAMxB,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,eAEzB;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,KAAG,GAAG,CAAC,OAIP,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,eAEzB;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,KAAG,GAAG,CAAC,OAAmD,CAAC;AAG5D,eAAO,MAAM,oBAAoB,GAAI,eAElC;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,KAAG,GAAG,CAAC,OAAmD,CAAC;AAE5D,eAAO,MAAM,oBAAoB,GAAI,eAElC;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,KAAG,GAAG,CAAC,OAEP,CAAC;AAGF,eAAO,MAAM,oBAAoB,GAC/B,iBAAkB,KACjB,KAAK,CAAC,CAAC,cAAc,EAAE,KAAK,CAAC,aAAa,KAAK,GAAG,CAAC,OAAO,CAQ5D,CAAC;AAGF,eAAO,MAAM,6BAA6B,QAAO,KAAK,CACpD,CAAC,cAAc,EAAE,KAAK,CAAC,aAAa,KAAK,GAAG,CAAC,OAAO,CAarD,CAAC;AAGF,eAAO,MAAM,uBAAuB,GAClC,eAAe,MAAM,EACrB,mBAAmB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EACzC,aAAa,MAAM,EACnB,kBAAiB,KAAK,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAM,KACN,CAAC,MAAM,GAAG,CAAC,OAAO,CA0DpB,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { MergeElementProps } from '../_util/type';
|
|
3
|
-
export
|
|
4
|
-
component?: P;
|
|
5
|
-
} & MergeElementProps<P, {
|
|
6
|
-
size?: 'sm' | 'md';
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
}>;
|
|
9
|
-
declare function IconButtonBase<T extends React.ElementType = 'button'>({ children, className, size, disabled, component, ...rest }: IconButtonProps<T>, ref: React.Ref<HTMLButtonElement>): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
10
|
-
declare const IconButton: typeof IconButtonBase;
|
|
11
|
-
export default IconButton;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { MergeElementProps } from '../_util/type';
|
|
3
|
+
export type IconButtonProps<P extends React.ElementType = 'button'> = {
|
|
4
|
+
component?: P;
|
|
5
|
+
} & MergeElementProps<P, {
|
|
6
|
+
size?: 'sm' | 'md';
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}>;
|
|
9
|
+
declare function IconButtonBase<T extends React.ElementType = 'button'>({ children, className, size, disabled, component, ...rest }: IconButtonProps<T>, ref: React.Ref<HTMLButtonElement>): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
10
|
+
declare const IconButton: typeof IconButtonBase;
|
|
11
|
+
export default IconButton;
|
|
12
12
|
//# sourceMappingURL=IconButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../src/IconButton/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../src/IconButton/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAElD,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,QAAQ,IAAI;IAKpE,SAAS,CAAC,EAAE,CAAC,CAAC;CACf,GAAG,iBAAiB,CACnB,CAAC,EACD;IAKE,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAKnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CACF,CAAC;AAEF,iBAAS,cAAc,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,QAAQ,EAC5D,EACE,QAAQ,EACR,SAAS,EACT,IAAW,EACX,QAAgB,EAChB,SAAS,EACT,GAAG,IAAI,EACR,EAAE,eAAe,CAAC,CAAC,CAAC,EACrB,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,sEAgBlC;AAED,QAAA,MAAM,UAAU,EAEA,OAAO,cAAc,CAAC;AAEtC,eAAe,UAAU,CAAC"}
|
package/IconButton/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './IconButton';
|
|
1
|
+
export { default } from './IconButton';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
package/Input/Input.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { FormControlProps } from '../FormControl';
|
|
3
|
-
export
|
|
4
|
-
type?: 'text' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'url';
|
|
5
|
-
label?: string;
|
|
6
|
-
helperText?: string;
|
|
7
|
-
error?: boolean;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
defaultValue?: string;
|
|
10
|
-
tooltipMessage?: string;
|
|
11
|
-
position?: 'right' | 'left';
|
|
12
|
-
adornment?: React.ReactElement;
|
|
13
|
-
} & Omit<FormControlProps, 'children'> & React.ComponentPropsWithoutRef<'input'>;
|
|
14
|
-
declare const Input: React.ForwardRefExoticComponent<{
|
|
15
|
-
type?: "
|
|
16
|
-
label?: string
|
|
17
|
-
helperText?: string
|
|
18
|
-
error?: boolean
|
|
19
|
-
disabled?: boolean
|
|
20
|
-
defaultValue?: string
|
|
21
|
-
tooltipMessage?: string
|
|
22
|
-
position?: "right" | "left"
|
|
23
|
-
adornment?: React.ReactElement
|
|
24
|
-
} & Omit<FormControlProps, "children"> & Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & React.RefAttributes<HTMLInputElement>>;
|
|
25
|
-
export default Input;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { FormControlProps } from '../FormControl';
|
|
3
|
+
export type InputProps = {
|
|
4
|
+
type?: 'text' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'url';
|
|
5
|
+
label?: string;
|
|
6
|
+
helperText?: string;
|
|
7
|
+
error?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
defaultValue?: string;
|
|
10
|
+
tooltipMessage?: string;
|
|
11
|
+
position?: 'right' | 'left';
|
|
12
|
+
adornment?: React.ReactElement;
|
|
13
|
+
} & Omit<FormControlProps, 'children'> & React.ComponentPropsWithoutRef<'input'>;
|
|
14
|
+
declare const Input: React.ForwardRefExoticComponent<{
|
|
15
|
+
type?: "text" | "email" | "number" | "password" | "search" | "tel" | "url";
|
|
16
|
+
label?: string;
|
|
17
|
+
helperText?: string;
|
|
18
|
+
error?: boolean;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
defaultValue?: string;
|
|
21
|
+
tooltipMessage?: string;
|
|
22
|
+
position?: "right" | "left";
|
|
23
|
+
adornment?: React.ReactElement;
|
|
24
|
+
} & Omit<FormControlProps, "children"> & Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & React.RefAttributes<HTMLInputElement>>;
|
|
25
|
+
export default Input;
|
|
26
26
|
//# sourceMappingURL=Input.d.ts.map
|
package/Input/Input.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../src/Input/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAoB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../src/Input/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAoB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,MAAM,MAAM,UAAU,GAAG;IAKvB,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,UAAU,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,CAAC;IAI3E,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,UAAU,CAAC,EAAE,MAAM,CAAC;IAIpB,KAAK,CAAC,EAAE,OAAO,CAAC;IAIhB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAInB,YAAY,CAAC,EAAE,MAAM,CAAC;IAItB,cAAc,CAAC,EAAE,MAAM,CAAC;IAIxB,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAI5B,SAAS,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;CAChC,GAAG,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC,GACpC,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC,CAAC;AAE1C,QAAA,MAAM,KAAK;WApCF,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,UAAU,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK;YAIlE,MAAM;iBAID,MAAM;YAIX,OAAO;eAIJ,OAAO;mBAIH,MAAM;qBAIJ,MAAM;eAIZ,OAAO,GAAG,MAAM;gBAIf,KAAK,CAAC,YAAY;yOA8E/B,CAAC;AAIF,eAAe,KAAK,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const InputControlled: React.FC;
|
|
3
|
-
export default InputControlled;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const InputControlled: React.FC;
|
|
3
|
+
export default InputControlled;
|
|
4
4
|
//# sourceMappingURL=InputControlled.d.ts.map
|