@useblu/ocean-react 1.85.0 → 1.89.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 +12 -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 +16 -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 +1877 -3198
- package/index.es.js.map +1 -1
- package/index.js +1996 -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,26 +1,26 @@
|
|
|
1
|
-
import React, { Dispatch, SetStateAction } from 'react';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
type?: 'info' | 'positive' | 'warning';
|
|
5
|
-
description?: string;
|
|
6
|
-
isOpen: boolean;
|
|
7
|
-
setIsOpen: Dispatch<SetStateAction<boolean>>;
|
|
8
|
-
action?: () => void;
|
|
9
|
-
actionLabel?: string;
|
|
10
|
-
position?: Position;
|
|
11
|
-
className?: string;
|
|
12
|
-
title?: string;
|
|
13
|
-
} & React.ComponentPropsWithoutRef<'div'>;
|
|
14
|
-
declare const WebNotification: React.ForwardRefExoticComponent<{
|
|
15
|
-
type?: "info" | "positive" | "warning"
|
|
16
|
-
description?: string
|
|
17
|
-
isOpen: boolean;
|
|
18
|
-
setIsOpen: Dispatch<SetStateAction<boolean>>;
|
|
19
|
-
action?: (
|
|
20
|
-
actionLabel?: string
|
|
21
|
-
position?: Position
|
|
22
|
-
className?: string
|
|
23
|
-
title?: string
|
|
24
|
-
} & Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>>;
|
|
25
|
-
export default WebNotification;
|
|
1
|
+
import React, { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
export type Position = 'bottom-left' | 'bottom-right';
|
|
3
|
+
export type WebNotificationProps = {
|
|
4
|
+
type?: 'info' | 'positive' | 'warning';
|
|
5
|
+
description?: string;
|
|
6
|
+
isOpen: boolean;
|
|
7
|
+
setIsOpen: Dispatch<SetStateAction<boolean>>;
|
|
8
|
+
action?: () => void;
|
|
9
|
+
actionLabel?: string;
|
|
10
|
+
position?: Position;
|
|
11
|
+
className?: string;
|
|
12
|
+
title?: string;
|
|
13
|
+
} & React.ComponentPropsWithoutRef<'div'>;
|
|
14
|
+
declare const WebNotification: React.ForwardRefExoticComponent<{
|
|
15
|
+
type?: "info" | "positive" | "warning";
|
|
16
|
+
description?: string;
|
|
17
|
+
isOpen: boolean;
|
|
18
|
+
setIsOpen: Dispatch<SetStateAction<boolean>>;
|
|
19
|
+
action?: () => void;
|
|
20
|
+
actionLabel?: string;
|
|
21
|
+
position?: Position;
|
|
22
|
+
className?: string;
|
|
23
|
+
title?: string;
|
|
24
|
+
} & Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>>;
|
|
25
|
+
export default WebNotification;
|
|
26
26
|
//# sourceMappingURL=WebNotification.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebNotification.d.ts","sourceRoot":"","sources":["../../src/WebNotification/WebNotification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,QAAQ,EACR,cAAc,EAIf,MAAM,OAAO,CAAC;AAOf,
|
|
1
|
+
{"version":3,"file":"WebNotification.d.ts","sourceRoot":"","sources":["../../src/WebNotification/WebNotification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,QAAQ,EACR,cAAc,EAIf,MAAM,OAAO,CAAC;AAOf,MAAM,MAAM,QAAQ,GAAG,aAAa,GAAG,cAAc,CAAC;AAEtD,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS,CAAC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IAC7C,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC;AAE1C,QAAA,MAAM,eAAe;WAXZ,MAAM,GAAG,UAAU,GAAG,SAAS;kBACxB,MAAM;YACZ,OAAO;eACJ,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;aACnC,MAAM,IAAI;kBACL,MAAM;eACT,QAAQ;gBACP,MAAM;YACV,MAAM;kLAgGf,CAAC;AAIF,eAAe,eAAe,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { WebNotificationProps } from '../WebNotification';
|
|
2
|
-
|
|
3
|
-
interface IWebNotificationReturn {
|
|
4
|
-
closeWebNotification: () => void;
|
|
5
|
-
dispatchAction: () => void;
|
|
6
|
-
}
|
|
7
|
-
export default function useWebNotification({ setIsOpen, action, }: IWebNotificationProps): IWebNotificationReturn;
|
|
8
|
-
export {};
|
|
1
|
+
import { WebNotificationProps } from '../WebNotification';
|
|
2
|
+
type IWebNotificationProps = Pick<WebNotificationProps, 'type' | 'isOpen' | 'setIsOpen' | 'action'>;
|
|
3
|
+
interface IWebNotificationReturn {
|
|
4
|
+
closeWebNotification: () => void;
|
|
5
|
+
dispatchAction: () => void;
|
|
6
|
+
}
|
|
7
|
+
export default function useWebNotification({ setIsOpen, action, }: IWebNotificationProps): IWebNotificationReturn;
|
|
8
|
+
export {};
|
|
9
9
|
//# sourceMappingURL=useWebNotification.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWebNotification.d.ts","sourceRoot":"","sources":["../../../src/WebNotification/hook/useWebNotification.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,
|
|
1
|
+
{"version":3,"file":"useWebNotification.d.ts","sourceRoot":"","sources":["../../../src/WebNotification/hook/useWebNotification.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,KAAK,qBAAqB,GAAG,IAAI,CAC/B,oBAAoB,EACpB,MAAM,GAAG,QAAQ,GAAG,WAAW,GAAG,QAAQ,CAC3C,CAAC;AAEF,UAAU,sBAAsB;IAC9B,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC,cAAc,EAAE,MAAM,IAAI,CAAC;CAC5B;AAED,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EACzC,SAAS,EACT,MAAM,GACP,EAAE,qBAAqB,GAAG,sBAAsB,CAahD"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './WebNotification';
|
|
1
|
+
export { default } from './WebNotification';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
package/_util/makeId.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const makeId: (...args: (string | number | null | undefined)[]) => string;
|
|
2
|
-
export default makeId;
|
|
1
|
+
declare const makeId: (...args: (string | number | null | undefined)[]) => string;
|
|
2
|
+
export default makeId;
|
|
3
3
|
//# sourceMappingURL=makeId.d.ts.map
|
package/_util/makeId.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"makeId.d.ts","sourceRoot":"","sources":["../../src/_util/makeId.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"makeId.d.ts","sourceRoot":"","sources":["../../src/_util/makeId.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,MAAM,GAAI,GAAG,MAAM,CAAC,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC,EAAE,KAAG,MACpB,CAAC;AAE/C,eAAe,MAAM,CAAC"}
|
package/_util/type.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type MergeElementProps<T extends React.ElementType, P extends Record<string, unknown>> = Omit<React.ComponentPropsWithRef<T>, keyof P> & P;
|
|
1
|
+
export type MergeElementProps<T extends React.ElementType, P extends Record<string, unknown>> = Omit<React.ComponentPropsWithRef<T>, keyof P> & P;
|
|
3
2
|
//# sourceMappingURL=type.d.ts.map
|
package/_util/type.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/_util/type.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/_util/type.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,iBAAiB,CAC3B,CAAC,SAAS,KAAK,CAAC,WAAW,EAC3B,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAC/B,IAAI,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ChangeEventHandler } from 'react';
|
|
2
|
-
|
|
3
|
-
value?: string | number | readonly string[] | undefined;
|
|
4
|
-
defaultValue?: string | number | readonly string[] | undefined;
|
|
5
|
-
onChange?: ChangeEventHandler<unknown> | undefined;
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
filled: boolean;
|
|
9
|
-
inputValue: string | number | readonly string[] | undefined;
|
|
10
|
-
handleChange: ChangeEventHandler<unknown>;
|
|
11
|
-
};
|
|
12
|
-
export default function useInputFilled({ value, defaultValue, onChange, }: FilledProps): FilledReturn;
|
|
13
|
-
export {};
|
|
1
|
+
import { ChangeEventHandler } from 'react';
|
|
2
|
+
type FilledProps = {
|
|
3
|
+
value?: string | number | readonly string[] | undefined;
|
|
4
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
5
|
+
onChange?: ChangeEventHandler<unknown> | undefined;
|
|
6
|
+
};
|
|
7
|
+
type FilledReturn = {
|
|
8
|
+
filled: boolean;
|
|
9
|
+
inputValue: string | number | readonly string[] | undefined;
|
|
10
|
+
handleChange: ChangeEventHandler<unknown>;
|
|
11
|
+
};
|
|
12
|
+
export default function useInputFilled({ value, defaultValue, onChange, }: FilledProps): FilledReturn;
|
|
13
|
+
export {};
|
|
14
14
|
//# sourceMappingURL=useInputFilled.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useInputFilled.d.ts","sourceRoot":"","sources":["../../src/_util/useInputFilled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAoC,MAAM,OAAO,CAAC;AAE7E,
|
|
1
|
+
{"version":3,"file":"useInputFilled.d.ts","sourceRoot":"","sources":["../../src/_util/useInputFilled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAoC,MAAM,OAAO,CAAC;AAE7E,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;IACxD,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;IAC/D,QAAQ,CAAC,EAAE,kBAAkB,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC;CACpD,CAAC;AAEF,KAAK,YAAY,GAAG;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;IAC5D,YAAY,EAAE,kBAAkB,CAAC,OAAO,CAAC,CAAC;CAC3C,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,KAAK,EACL,YAAY,EACZ,QAAQ,GACT,EAAE,WAAW,GAAG,YAAY,CA0B5B"}
|
package/index.d.ts
CHANGED
|
@@ -1,83 +1,83 @@
|
|
|
1
|
-
export { default as Typography } from './Typography';
|
|
2
|
-
export * from './Typography';
|
|
3
|
-
export { default as Grid } from './Grid';
|
|
4
|
-
export * from './Grid';
|
|
5
|
-
export { default as Tag } from './Tag';
|
|
6
|
-
export * from './Tag';
|
|
7
|
-
export { default as List } from './List';
|
|
8
|
-
export * from './List';
|
|
9
|
-
export { default as SubHeader } from './SubHeader';
|
|
10
|
-
export * from './SubHeader';
|
|
11
|
-
export { default as TransactionListItem } from './TransactionListItem';
|
|
12
|
-
export * from './TransactionListItem';
|
|
13
|
-
export { default as UnorderedListItem } from './UnorderedListItem';
|
|
14
|
-
export * from './UnorderedListItem';
|
|
15
|
-
export { default as Accordion } from './Accordion';
|
|
16
|
-
export * from './Accordion';
|
|
17
|
-
export { default as Alert } from './Alert';
|
|
18
|
-
export * from './Alert';
|
|
19
|
-
export { default as Button } from './Button';
|
|
20
|
-
export * from './Button';
|
|
21
|
-
export { default as CardGroup } from './CardGroup';
|
|
22
|
-
export * from './CardGroup';
|
|
23
|
-
export { default as Carousel } from './Carousel';
|
|
24
|
-
export * from './Carousel';
|
|
25
|
-
export { default as Input } from './Input';
|
|
26
|
-
export * from './Input';
|
|
27
|
-
export { default as TokenInput } from './TokenInput';
|
|
28
|
-
export * from './TokenInput';
|
|
29
|
-
export { default as Checkbox } from './Checkbox';
|
|
30
|
-
export * from './Checkbox';
|
|
31
|
-
export { default as Radio } from './Radio';
|
|
32
|
-
export * from './Radio';
|
|
33
|
-
export { default as Link } from './Link';
|
|
34
|
-
export * from './Link';
|
|
35
|
-
export { default as TextArea } from './TextArea';
|
|
36
|
-
export * from './TextArea';
|
|
37
|
-
export { default as TextListItem } from './TextListItem';
|
|
38
|
-
export * from './TextListItem';
|
|
39
|
-
export { default as Select } from './Select/Select';
|
|
40
|
-
export { default as SelectAutocomplete } from './Select/SelectAutocomplete';
|
|
41
|
-
export * from './Select';
|
|
42
|
-
export { default as Switch } from './Switch';
|
|
43
|
-
export * from './Switch';
|
|
44
|
-
export { default as Modal } from './Modal';
|
|
45
|
-
export * from './Modal';
|
|
46
|
-
export { default as Divider } from './Divider';
|
|
47
|
-
export * from './Divider';
|
|
48
|
-
export { default as IconButton } from './IconButton';
|
|
49
|
-
export * from './IconButton';
|
|
50
|
-
export { default as Progress } from './Progress';
|
|
51
|
-
export * from './Progress';
|
|
52
|
-
export { default as Search } from './Search';
|
|
53
|
-
export * from './Search';
|
|
54
|
-
export { default as TopBar } from './TopBar';
|
|
55
|
-
export * from './TopBar';
|
|
56
|
-
export { default as Stepper } from './Stepper';
|
|
57
|
-
export * from './Stepper';
|
|
58
|
-
export { default as Steps } from './Steps';
|
|
59
|
-
export * from './Steps';
|
|
60
|
-
export { default as Badge } from './Badge';
|
|
61
|
-
export * from './Badge';
|
|
62
|
-
export { default as CrossSellCard } from './CrossSellCard';
|
|
63
|
-
export * from './CrossSellCard';
|
|
64
|
-
export { default as DatePicker } from './Date/DatePicker';
|
|
65
|
-
export { default as DateRange } from './Date/DateRange';
|
|
66
|
-
export * from './Date';
|
|
67
|
-
export { default as Chart } from './Chart/DoughnutChart';
|
|
68
|
-
export * from './Chart';
|
|
69
|
-
export { default as Breadcrumb } from './Breadcrumb';
|
|
70
|
-
export * from './Breadcrumb';
|
|
71
|
-
export { default as Drawer } from './Drawer';
|
|
72
|
-
export * from './Drawer';
|
|
73
|
-
export { default as Snackbar } from './Snackbar';
|
|
74
|
-
export * from './Snackbar';
|
|
75
|
-
export { default as Shortcut } from './Shortcut';
|
|
76
|
-
export * from './Shortcut';
|
|
77
|
-
export { default as CardListItem } from './CardListItem';
|
|
78
|
-
export * from './CardListItem';
|
|
79
|
-
export { default as Chips } from './Chips';
|
|
80
|
-
export * from './Chips';
|
|
81
|
-
export { default as WebNotification } from './WebNotification';
|
|
82
|
-
export * from './WebNotification';
|
|
1
|
+
export { default as Typography } from './Typography';
|
|
2
|
+
export * from './Typography';
|
|
3
|
+
export { default as Grid } from './Grid';
|
|
4
|
+
export * from './Grid';
|
|
5
|
+
export { default as Tag } from './Tag';
|
|
6
|
+
export * from './Tag';
|
|
7
|
+
export { default as List } from './List';
|
|
8
|
+
export * from './List';
|
|
9
|
+
export { default as SubHeader } from './SubHeader';
|
|
10
|
+
export * from './SubHeader';
|
|
11
|
+
export { default as TransactionListItem } from './TransactionListItem';
|
|
12
|
+
export * from './TransactionListItem';
|
|
13
|
+
export { default as UnorderedListItem } from './UnorderedListItem';
|
|
14
|
+
export * from './UnorderedListItem';
|
|
15
|
+
export { default as Accordion } from './Accordion';
|
|
16
|
+
export * from './Accordion';
|
|
17
|
+
export { default as Alert } from './Alert';
|
|
18
|
+
export * from './Alert';
|
|
19
|
+
export { default as Button } from './Button';
|
|
20
|
+
export * from './Button';
|
|
21
|
+
export { default as CardGroup } from './CardGroup';
|
|
22
|
+
export * from './CardGroup';
|
|
23
|
+
export { default as Carousel } from './Carousel';
|
|
24
|
+
export * from './Carousel';
|
|
25
|
+
export { default as Input } from './Input';
|
|
26
|
+
export * from './Input';
|
|
27
|
+
export { default as TokenInput } from './TokenInput';
|
|
28
|
+
export * from './TokenInput';
|
|
29
|
+
export { default as Checkbox } from './Checkbox';
|
|
30
|
+
export * from './Checkbox';
|
|
31
|
+
export { default as Radio } from './Radio';
|
|
32
|
+
export * from './Radio';
|
|
33
|
+
export { default as Link } from './Link';
|
|
34
|
+
export * from './Link';
|
|
35
|
+
export { default as TextArea } from './TextArea';
|
|
36
|
+
export * from './TextArea';
|
|
37
|
+
export { default as TextListItem } from './TextListItem';
|
|
38
|
+
export * from './TextListItem';
|
|
39
|
+
export { default as Select } from './Select/Select';
|
|
40
|
+
export { default as SelectAutocomplete } from './Select/SelectAutocomplete';
|
|
41
|
+
export * from './Select';
|
|
42
|
+
export { default as Switch } from './Switch';
|
|
43
|
+
export * from './Switch';
|
|
44
|
+
export { default as Modal } from './Modal';
|
|
45
|
+
export * from './Modal';
|
|
46
|
+
export { default as Divider } from './Divider';
|
|
47
|
+
export * from './Divider';
|
|
48
|
+
export { default as IconButton } from './IconButton';
|
|
49
|
+
export * from './IconButton';
|
|
50
|
+
export { default as Progress } from './Progress';
|
|
51
|
+
export * from './Progress';
|
|
52
|
+
export { default as Search } from './Search';
|
|
53
|
+
export * from './Search';
|
|
54
|
+
export { default as TopBar } from './TopBar';
|
|
55
|
+
export * from './TopBar';
|
|
56
|
+
export { default as Stepper } from './Stepper';
|
|
57
|
+
export * from './Stepper';
|
|
58
|
+
export { default as Steps } from './Steps';
|
|
59
|
+
export * from './Steps';
|
|
60
|
+
export { default as Badge } from './Badge';
|
|
61
|
+
export * from './Badge';
|
|
62
|
+
export { default as CrossSellCard } from './CrossSellCard';
|
|
63
|
+
export * from './CrossSellCard';
|
|
64
|
+
export { default as DatePicker } from './Date/DatePicker';
|
|
65
|
+
export { default as DateRange } from './Date/DateRange';
|
|
66
|
+
export * from './Date';
|
|
67
|
+
export { default as Chart } from './Chart/DoughnutChart';
|
|
68
|
+
export * from './Chart';
|
|
69
|
+
export { default as Breadcrumb } from './Breadcrumb';
|
|
70
|
+
export * from './Breadcrumb';
|
|
71
|
+
export { default as Drawer } from './Drawer';
|
|
72
|
+
export * from './Drawer';
|
|
73
|
+
export { default as Snackbar } from './Snackbar';
|
|
74
|
+
export * from './Snackbar';
|
|
75
|
+
export { default as Shortcut } from './Shortcut';
|
|
76
|
+
export * from './Shortcut';
|
|
77
|
+
export { default as CardListItem } from './CardListItem';
|
|
78
|
+
export * from './CardListItem';
|
|
79
|
+
export { default as Chips } from './Chips';
|
|
80
|
+
export * from './Chips';
|
|
81
|
+
export { default as WebNotification } from './WebNotification';
|
|
82
|
+
export * from './WebNotification';
|
|
83
83
|
//# sourceMappingURL=index.d.ts.map
|