@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
package/Accordion/Accordion.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export default Accordion;
|
|
1
|
+
export type AccordionProps = {
|
|
2
|
+
title: string;
|
|
3
|
+
description: string;
|
|
4
|
+
className?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const Accordion: ({ title, description, className, }: AccordionProps) => JSX.Element;
|
|
7
|
+
export default Accordion;
|
|
9
8
|
//# sourceMappingURL=Accordion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../src/Accordion/Accordion.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../src/Accordion/Accordion.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,SAAS,GAAI,oCAIhB,cAAc,KAAG,GAAG,CAAC,OAkCvB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
package/Accordion/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './Accordion';
|
|
1
|
+
export { default } from './Accordion';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
package/Alert/Alert.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export
|
|
3
|
-
type?: 'success' | 'warning' | 'error' | 'default';
|
|
4
|
-
title?: string;
|
|
5
|
-
icon?: React.ReactElement;
|
|
6
|
-
size?: 'short' | 'long';
|
|
7
|
-
button?: string;
|
|
8
|
-
buttonAction?: () => void;
|
|
9
|
-
} & React.ComponentPropsWithoutRef<'div'>;
|
|
10
|
-
declare const Alert: React.ForwardRefExoticComponent<{
|
|
11
|
-
type?: "success" | "warning" | "error" | "default"
|
|
12
|
-
title?: string
|
|
13
|
-
icon?: React.ReactElement
|
|
14
|
-
size?: "short" | "long"
|
|
15
|
-
button?: string
|
|
16
|
-
buttonAction?: (
|
|
17
|
-
} & Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
-
export default Alert;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type AlertProps = {
|
|
3
|
+
type?: 'success' | 'warning' | 'error' | 'default';
|
|
4
|
+
title?: string;
|
|
5
|
+
icon?: React.ReactElement;
|
|
6
|
+
size?: 'short' | 'long';
|
|
7
|
+
button?: string;
|
|
8
|
+
buttonAction?: () => void;
|
|
9
|
+
} & React.ComponentPropsWithoutRef<'div'>;
|
|
10
|
+
declare const Alert: React.ForwardRefExoticComponent<{
|
|
11
|
+
type?: "success" | "warning" | "error" | "default";
|
|
12
|
+
title?: string;
|
|
13
|
+
icon?: React.ReactElement;
|
|
14
|
+
size?: "short" | "long";
|
|
15
|
+
button?: string;
|
|
16
|
+
buttonAction?: () => void;
|
|
17
|
+
} & Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
+
export default Alert;
|
|
19
19
|
//# sourceMappingURL=Alert.d.ts.map
|
package/Alert/Alert.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../src/Alert/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,
|
|
1
|
+
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../src/Alert/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,MAAM,MAAM,UAAU,GAAG;IAKvB,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;IAInD,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAI1B,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAIxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B,GAAG,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC;AAE1C,QAAA,MAAM,KAAK;WAvBF,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS;YAI1C,MAAM;WAIP,KAAK,CAAC,YAAY;WAIlB,OAAO,GAAG,MAAM;aAId,MAAM;mBAIA,MAAM,IAAI;kLA4F1B,CAAC;AAIF,eAAe,KAAK,CAAC"}
|
package/Alert/AlertIcon.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
type: 'success' | 'warning' | 'error' | 'default';
|
|
4
|
-
icon?: React.ReactElement;
|
|
5
|
-
};
|
|
6
|
-
declare const AlertIcon: React.NamedExoticComponent<AlertIconProps>;
|
|
7
|
-
export default AlertIcon;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type AlertIconProps = {
|
|
3
|
+
type: 'success' | 'warning' | 'error' | 'default';
|
|
4
|
+
icon?: React.ReactElement;
|
|
5
|
+
};
|
|
6
|
+
declare const AlertIcon: React.NamedExoticComponent<AlertIconProps>;
|
|
7
|
+
export default AlertIcon;
|
|
8
8
|
//# sourceMappingURL=AlertIcon.d.ts.map
|
package/Alert/AlertIcon.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertIcon.d.ts","sourceRoot":"","sources":["../../src/Alert/AlertIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,
|
|
1
|
+
{"version":3,"file":"AlertIcon.d.ts","sourceRoot":"","sources":["../../src/Alert/AlertIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,KAAK,cAAc,GAAG;IACpB,IAAI,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;IAClD,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;CAC3B,CAAC;AASF,QAAA,MAAM,SAAS,4CAMb,CAAC;AAIH,eAAe,SAAS,CAAC"}
|
package/Alert/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './Alert';
|
|
1
|
+
export { default } from './Alert';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
package/Badge/Badge.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export
|
|
3
|
-
variation?: 'tiny' | 'small' | 'medium';
|
|
4
|
-
color?: 'brand' | 'complementary' | 'alert' | 'neutral';
|
|
5
|
-
count?: number;
|
|
6
|
-
} & React.ComponentPropsWithoutRef<'div'>;
|
|
7
|
-
declare const Badge: React.ForwardRefExoticComponent<{
|
|
8
|
-
variation?: "tiny" | "small" | "medium"
|
|
9
|
-
color?: "brand" | "complementary" | "alert" | "neutral"
|
|
10
|
-
count?: number
|
|
11
|
-
} & Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
-
export default Badge;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type BadgeProps = {
|
|
3
|
+
variation?: 'tiny' | 'small' | 'medium';
|
|
4
|
+
color?: 'brand' | 'complementary' | 'alert' | 'neutral';
|
|
5
|
+
count?: number;
|
|
6
|
+
} & React.ComponentPropsWithoutRef<'div'>;
|
|
7
|
+
declare const Badge: React.ForwardRefExoticComponent<{
|
|
8
|
+
variation?: "tiny" | "small" | "medium";
|
|
9
|
+
color?: "brand" | "complementary" | "alert" | "neutral";
|
|
10
|
+
count?: number;
|
|
11
|
+
} & Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
export default Badge;
|
|
13
13
|
//# sourceMappingURL=Badge.d.ts.map
|
package/Badge/Badge.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../src/Badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../src/Badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,MAAM,UAAU,GAAG;IAKvB,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;IAIxC,KAAK,CAAC,EAAE,OAAO,GAAG,eAAe,GAAG,OAAO,GAAG,SAAS,CAAC;IAIxD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC;AAE1C,QAAA,MAAM,KAAK;gBAXG,MAAM,GAAG,OAAO,GAAG,QAAQ;YAI/B,OAAO,GAAG,eAAe,GAAG,OAAO,GAAG,SAAS;YAI/C,MAAM;kLAuCf,CAAC;AAIF,eAAe,KAAK,CAAC"}
|
package/Badge/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './Badge';
|
|
1
|
+
export { default } from './Badge';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React, { ReactNode, ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
export
|
|
3
|
-
items: Array<ReactNode | string>;
|
|
4
|
-
} & ComponentPropsWithoutRef<'div'>;
|
|
5
|
-
declare const Breadcrumb: React.ForwardRefExoticComponent<{
|
|
6
|
-
items: Array<ReactNode | string>;
|
|
7
|
-
} & Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
-
export default Breadcrumb;
|
|
1
|
+
import React, { ReactNode, ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export type BreadcrumbProps = {
|
|
3
|
+
items: Array<ReactNode | string>;
|
|
4
|
+
} & ComponentPropsWithoutRef<'div'>;
|
|
5
|
+
declare const Breadcrumb: React.ForwardRefExoticComponent<{
|
|
6
|
+
items: Array<ReactNode | string>;
|
|
7
|
+
} & Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
export default Breadcrumb;
|
|
9
9
|
//# sourceMappingURL=Breadcrumb.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Breadcrumb.d.ts","sourceRoot":"","sources":["../../src/Breadcrumb/Breadcrumb.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,wBAAwB,EAAc,MAAM,OAAO,CAAC;AAK/E,
|
|
1
|
+
{"version":3,"file":"Breadcrumb.d.ts","sourceRoot":"","sources":["../../src/Breadcrumb/Breadcrumb.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,wBAAwB,EAAc,MAAM,OAAO,CAAC;AAK/E,MAAM,MAAM,eAAe,GAAG;IAI5B,KAAK,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC,CAAC;CAClC,GAAG,wBAAwB,CAAC,KAAK,CAAC,CAAC;AAEpC,QAAA,MAAM,UAAU;WAHP,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC;kLAwDjC,CAAC;AAIF,eAAe,UAAU,CAAC"}
|
package/Breadcrumb/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './Breadcrumb';
|
|
1
|
+
export { default } from './Breadcrumb';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
package/Button/Button.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { MergeElementProps } from '../_util/type';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export
|
|
7
|
-
component?: P;
|
|
8
|
-
} & MergeElementProps<P, {
|
|
9
|
-
variant?: ButtonVariant;
|
|
10
|
-
size?: 'sm' | 'md' | 'lg';
|
|
11
|
-
blocked?: boolean;
|
|
12
|
-
loading?: boolean;
|
|
13
|
-
}>;
|
|
14
|
-
declare function ButtonBase<T extends React.ElementType = 'button'>({ children, className, size, variant, blocked, loading, component, ...rest }: ButtonProps<T>, ref: React.Ref<HTMLButtonElement>): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
15
|
-
declare const Button: typeof ButtonBase;
|
|
16
|
-
export default Button;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { MergeElementProps } from '../_util/type';
|
|
3
|
+
type DeprecatedVariant = 'text' | 'textCritical';
|
|
4
|
+
type Variant = 'primary' | 'primaryCritical' | 'secondary' | 'secondaryCritical' | 'tertiary' | 'tertiaryCritical' | 'textTertiary' | 'textTertiaryCritical' | 'inverse' | DeprecatedVariant;
|
|
5
|
+
type ButtonVariant = Exclude<Variant, DeprecatedVariant>;
|
|
6
|
+
export type ButtonProps<P extends React.ElementType = 'button'> = {
|
|
7
|
+
component?: P;
|
|
8
|
+
} & MergeElementProps<P, {
|
|
9
|
+
variant?: ButtonVariant;
|
|
10
|
+
size?: 'sm' | 'md' | 'lg';
|
|
11
|
+
blocked?: boolean;
|
|
12
|
+
loading?: boolean;
|
|
13
|
+
}>;
|
|
14
|
+
declare function ButtonBase<T extends React.ElementType = 'button'>({ children, className, size, variant, blocked, loading, component, ...rest }: ButtonProps<T>, ref: React.Ref<HTMLButtonElement>): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
15
|
+
declare const Button: typeof ButtonBase;
|
|
16
|
+
export default Button;
|
|
17
17
|
//# sourceMappingURL=Button.d.ts.map
|
package/Button/Button.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../src/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAGlD,
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../src/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAGlD,KAAK,iBAAiB,GAAG,MAAM,GAAG,cAAc,CAAC;AAEjD,KAAK,OAAO,GACR,SAAS,GACT,iBAAiB,GACjB,WAAW,GACX,mBAAmB,GACnB,UAAU,GACV,kBAAkB,GAClB,cAAc,GACd,sBAAsB,GACtB,SAAS,GACT,iBAAiB,CAAC;AAEtB,KAAK,aAAa,GAAG,OAAO,CAAC,OAAO,EAAE,iBAAiB,CAAC,CAAC;AAEzD,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,QAAQ,IAAI;IAKhE,SAAS,CAAC,EAAE,CAAC,CAAC;CACf,GAAG,iBAAiB,CACnB,CAAC,EACD;IAKE,OAAO,CAAC,EAAE,aAAa,CAAC;IAKxB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAK1B,OAAO,CAAC,EAAE,OAAO,CAAC;IAKlB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CACF,CAAC;AAEF,iBAAS,UAAU,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,QAAQ,EACxD,EACE,QAAQ,EACR,SAAS,EACT,IAAW,EACX,OAAmB,EACnB,OAAe,EACf,OAAe,EACf,SAAS,EACT,GAAG,IAAI,EACR,EAAE,WAAW,CAAC,CAAC,CAAC,EACjB,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,sEA2ClC;AAED,QAAA,MAAM,MAAM,EAA8C,OAAO,UAAU,CAAC;AAE5E,eAAe,MAAM,CAAC"}
|
package/Button/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './Button';
|
|
1
|
+
export { default } from './Button';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [1.86.0](https://github.com/ocean-ds/ocean-web/compare/v1.85.0...v1.86.0) (2025-07-21)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- add ocean docs docusaurus ([#1153](https://github.com/ocean-ds/ocean-web/issues/1153)) ([1de3ca1](https://github.com/ocean-ds/ocean-web/commit/1de3ca136705d14cea29a35c78dc01f397fd46f3))
|
|
11
|
+
|
|
6
12
|
# [1.85.0](https://github.com/ocean-ds/ocean-web/compare/v1.84.0...v1.85.0) (2025-07-16)
|
|
7
13
|
|
|
8
14
|
### Features
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export default ActionButton;
|
|
1
|
+
interface IActionButtonProps {
|
|
2
|
+
actionLabel?: string;
|
|
3
|
+
actionClick?: () => void;
|
|
4
|
+
}
|
|
5
|
+
declare const ActionButton: ({ actionLabel, actionClick, }: IActionButtonProps) => JSX.Element;
|
|
6
|
+
export default ActionButton;
|
|
8
7
|
//# sourceMappingURL=ActionButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionButton.d.ts","sourceRoot":"","sources":["../../src/CardGroup/ActionButton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ActionButton.d.ts","sourceRoot":"","sources":["../../src/CardGroup/ActionButton.tsx"],"names":[],"mappings":"AAGA,UAAU,kBAAkB;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B;AAED,QAAA,MAAM,YAAY,GAAI,+BAGnB,kBAAkB,KAAG,GAAG,CAAC,OAa3B,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
package/CardGroup/CardGroup.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface ICardGroupProps {
|
|
3
|
-
title?: string;
|
|
4
|
-
subtitle?: string;
|
|
5
|
-
variant?: 'minimal' | 'header';
|
|
6
|
-
count?: number;
|
|
7
|
-
actionLabel?: string;
|
|
8
|
-
actionClick?: () => void;
|
|
9
|
-
children?: React.ReactNode;
|
|
10
|
-
}
|
|
11
|
-
declare const CardGroup: React.ForwardRefExoticComponent<ICardGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
-
export default CardGroup;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ICardGroupProps {
|
|
3
|
+
title?: string;
|
|
4
|
+
subtitle?: string;
|
|
5
|
+
variant?: 'minimal' | 'header';
|
|
6
|
+
count?: number;
|
|
7
|
+
actionLabel?: string;
|
|
8
|
+
actionClick?: () => void;
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
}
|
|
11
|
+
declare const CardGroup: React.ForwardRefExoticComponent<ICardGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
export default CardGroup;
|
|
13
13
|
//# sourceMappingURL=CardGroup.d.ts.map
|
package/CardGroup/Header.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export default Header;
|
|
1
|
+
interface IHeaderProps {
|
|
2
|
+
title?: string;
|
|
3
|
+
subtitle?: string;
|
|
4
|
+
count?: number;
|
|
5
|
+
}
|
|
6
|
+
declare const Header: ({ title, subtitle, count }: IHeaderProps) => JSX.Element;
|
|
7
|
+
export default Header;
|
|
9
8
|
//# sourceMappingURL=Header.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../src/CardGroup/Header.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../src/CardGroup/Header.tsx"],"names":[],"mappings":"AAGA,UAAU,YAAY;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AACD,QAAA,MAAM,MAAM,GAAI,4BAA4B,YAAY,KAAG,GAAG,CAAC,OAgB9D,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
package/CardGroup/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './CardGroup';
|
|
1
|
+
export { default } from './CardGroup';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export default RenderCardGroup;
|
|
1
|
+
import { ICardGroupProps } from '../CardGroup';
|
|
2
|
+
declare const RenderCardGroup: (props: ICardGroupProps) => JSX.Element;
|
|
3
|
+
export default RenderCardGroup;
|
|
5
4
|
//# sourceMappingURL=RenderCardGroup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RenderCardGroup.d.ts","sourceRoot":"","sources":["../../../src/CardGroup/stories/RenderCardGroup.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RenderCardGroup.d.ts","sourceRoot":"","sources":["../../../src/CardGroup/stories/RenderCardGroup.tsx"],"names":[],"mappings":"AACA,OAAkB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE1D,QAAA,MAAM,eAAe,GAAI,OAAO,eAAe,KAAG,GAAG,CAAC,OAIrD,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const CardListItem: React.ForwardRefExoticComponent<{
|
|
3
|
-
title: string;
|
|
4
|
-
description?: string
|
|
5
|
-
caption?: string
|
|
6
|
-
actionIcon?: React.ReactNode;
|
|
7
|
-
leadingIcon?: React.ReactNode;
|
|
8
|
-
size?: "small" | "medium"
|
|
9
|
-
disabled?: boolean
|
|
10
|
-
fullWidth?: boolean
|
|
11
|
-
tag?: string
|
|
12
|
-
onClick?: (
|
|
13
|
-
loading?: boolean
|
|
14
|
-
} & Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
-
export default CardListItem;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const CardListItem: React.ForwardRefExoticComponent<{
|
|
3
|
+
title: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
caption?: string;
|
|
6
|
+
actionIcon?: React.ReactNode;
|
|
7
|
+
leadingIcon?: React.ReactNode;
|
|
8
|
+
size?: "small" | "medium";
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
fullWidth?: boolean;
|
|
11
|
+
tag?: string;
|
|
12
|
+
onClick?: () => void;
|
|
13
|
+
loading?: boolean;
|
|
14
|
+
} & Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
export default CardListItem;
|
|
16
16
|
//# sourceMappingURL=CardListItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardListItem.d.ts","sourceRoot":"","sources":["../../src/CardListItem/CardListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAmDpE,QAAA,MAAM,YAAY;WA3CT,MAAM
|
|
1
|
+
{"version":3,"file":"CardListItem.d.ts","sourceRoot":"","sources":["../../src/CardListItem/CardListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAmDpE,QAAA,MAAM,YAAY;WA3CT,MAAM;kBAIC,MAAM;cAIV,MAAM;iBAIH,KAAK,CAAC,SAAS;kBAId,KAAK,CAAC,SAAS;WAItB,OAAO,GAAG,QAAQ;eAId,OAAO;gBAIN,OAAO;UAIb,MAAM;cAIF,MAAM,IAAI;cAIV,OAAO;kLAuFlB,CAAC;AAIF,eAAe,YAAY,CAAC"}
|
package/CardListItem/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './CardListItem';
|
|
1
|
+
export { default } from './CardListItem';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
package/Carousel/Carousel.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export
|
|
3
|
-
columns?: 1 | 2 | 3 | 4 | 5 | null;
|
|
4
|
-
infinite?: boolean;
|
|
5
|
-
autoplay?: boolean;
|
|
6
|
-
} & React.ComponentPropsWithoutRef<'div'>;
|
|
7
|
-
declare const Carousel: React.FC<CarouselProps>;
|
|
8
|
-
export default Carousel;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type CarouselProps = {
|
|
3
|
+
columns?: 1 | 2 | 3 | 4 | 5 | null;
|
|
4
|
+
infinite?: boolean;
|
|
5
|
+
autoplay?: boolean;
|
|
6
|
+
} & React.ComponentPropsWithoutRef<'div'>;
|
|
7
|
+
declare const Carousel: React.FC<CarouselProps>;
|
|
8
|
+
export default Carousel;
|
|
9
9
|
//# sourceMappingURL=Carousel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../../src/Carousel/Carousel.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAMxC,
|
|
1
|
+
{"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../../src/Carousel/Carousel.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAMxC,MAAM,MAAM,aAAa,GAAG;IAK1B,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;IAKnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC;AAE1C,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAkCrC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export
|
|
3
|
-
dots?: React.ReactElement[] | undefined;
|
|
4
|
-
};
|
|
5
|
-
declare const CarouselDotList: React.FC<CarouselDotListProps>;
|
|
6
|
-
export default CarouselDotList;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type CarouselDotListProps = {
|
|
3
|
+
dots?: React.ReactElement[] | undefined;
|
|
4
|
+
};
|
|
5
|
+
declare const CarouselDotList: React.FC<CarouselDotListProps>;
|
|
6
|
+
export default CarouselDotList;
|
|
7
7
|
//# sourceMappingURL=CarouselDotList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselDotList.d.ts","sourceRoot":"","sources":["../../src/Carousel/CarouselDotList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,
|
|
1
|
+
{"version":3,"file":"CarouselDotList.d.ts","sourceRoot":"","sources":["../../src/Carousel/CarouselDotList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,EAAE,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAYnD,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const BannerExample: React.FC<{
|
|
3
|
-
color?: number;
|
|
4
|
-
}>;
|
|
5
|
-
export default BannerExample;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const BannerExample: React.FC<{
|
|
3
|
+
color?: number;
|
|
4
|
+
}>;
|
|
5
|
+
export default BannerExample;
|
|
6
6
|
//# sourceMappingURL=BannerExample.d.ts.map
|
package/Carousel/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './Carousel';
|
|
1
|
+
export { default } from './Carousel';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
package/Chart/DoughnutChart.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
export
|
|
3
|
-
title: string;
|
|
4
|
-
subtitle: string;
|
|
5
|
-
centerChartValue?: string;
|
|
6
|
-
centerChartLabel?: string;
|
|
7
|
-
data: IDoughnutChartData[];
|
|
8
|
-
className?: string;
|
|
9
|
-
} & React.ComponentPropsWithoutRef<'div'>;
|
|
10
|
-
export
|
|
11
|
-
id: string | number;
|
|
12
|
-
count: number;
|
|
13
|
-
percentage: number;
|
|
14
|
-
color: string;
|
|
15
|
-
descriptionLevel1: string | number | ReactNode;
|
|
16
|
-
descriptionLevel2?: string | number | ReactNode;
|
|
17
|
-
};
|
|
18
|
-
declare const DoughnutChart: React.FC<DoughnutChartProps>;
|
|
19
|
-
export default DoughnutChart;
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
export type DoughnutChartProps = {
|
|
3
|
+
title: string;
|
|
4
|
+
subtitle: string;
|
|
5
|
+
centerChartValue?: string;
|
|
6
|
+
centerChartLabel?: string;
|
|
7
|
+
data: IDoughnutChartData[];
|
|
8
|
+
className?: string;
|
|
9
|
+
} & React.ComponentPropsWithoutRef<'div'>;
|
|
10
|
+
export type IDoughnutChartData = {
|
|
11
|
+
id: string | number;
|
|
12
|
+
count: number;
|
|
13
|
+
percentage: number;
|
|
14
|
+
color: string;
|
|
15
|
+
descriptionLevel1: string | number | ReactNode;
|
|
16
|
+
descriptionLevel2?: string | number | ReactNode;
|
|
17
|
+
};
|
|
18
|
+
declare const DoughnutChart: React.FC<DoughnutChartProps>;
|
|
19
|
+
export default DoughnutChart;
|
|
20
20
|
//# sourceMappingURL=DoughnutChart.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DoughnutChart.d.ts","sourceRoot":"","sources":["../../src/Chart/DoughnutChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKzC,
|
|
1
|
+
{"version":3,"file":"DoughnutChart.d.ts","sourceRoot":"","sources":["../../src/Chart/DoughnutChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKzC,MAAM,MAAM,kBAAkB,GAAG;IAK/B,KAAK,EAAE,MAAM,CAAC;IAKd,QAAQ,EAAE,MAAM,CAAC;IAIjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAI1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAK1B,IAAI,EAAE,kBAAkB,EAAE,CAAC;IAK3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC;AAE1C,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IAC/C,iBAAiB,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;CACjD,CAAC;AAIF,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAgF/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
package/Chart/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default as DoughnutChart } from './DoughnutChart';
|
|
2
|
-
export * from './DoughnutChart';
|
|
1
|
+
export { default as DoughnutChart } from './DoughnutChart';
|
|
2
|
+
export * from './DoughnutChart';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
declare const mockedDoughnutData: {
|
|
2
|
-
id: number;
|
|
3
|
-
count: number;
|
|
4
|
-
percentage: number;
|
|
5
|
-
color: string;
|
|
6
|
-
descriptionLevel1: string;
|
|
7
|
-
descriptionLevel2: number;
|
|
8
|
-
}[];
|
|
9
|
-
export default mockedDoughnutData;
|
|
1
|
+
declare const mockedDoughnutData: {
|
|
2
|
+
id: number;
|
|
3
|
+
count: number;
|
|
4
|
+
percentage: number;
|
|
5
|
+
color: string;
|
|
6
|
+
descriptionLevel1: string;
|
|
7
|
+
descriptionLevel2: number;
|
|
8
|
+
}[];
|
|
9
|
+
export default mockedDoughnutData;
|
|
10
10
|
//# sourceMappingURL=doughnutChart.d.ts.map
|
package/Checkbox/Checkbox.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export
|
|
3
|
-
label?: React.ReactNode;
|
|
4
|
-
indeterminate?: boolean;
|
|
5
|
-
error?: boolean;
|
|
6
|
-
errorMessage?: string;
|
|
7
|
-
} & React.ComponentPropsWithoutRef<'input'>;
|
|
8
|
-
declare const Checkbox: React.ForwardRefExoticComponent<{
|
|
9
|
-
label?: React.ReactNode;
|
|
10
|
-
indeterminate?: boolean
|
|
11
|
-
error?: boolean
|
|
12
|
-
errorMessage?: string
|
|
13
|
-
} & Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & React.RefAttributes<HTMLInputElement>>;
|
|
14
|
-
export default Checkbox;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type CheckboxProps = {
|
|
3
|
+
label?: React.ReactNode;
|
|
4
|
+
indeterminate?: boolean;
|
|
5
|
+
error?: boolean;
|
|
6
|
+
errorMessage?: string;
|
|
7
|
+
} & React.ComponentPropsWithoutRef<'input'>;
|
|
8
|
+
declare const Checkbox: React.ForwardRefExoticComponent<{
|
|
9
|
+
label?: React.ReactNode;
|
|
10
|
+
indeterminate?: boolean;
|
|
11
|
+
error?: boolean;
|
|
12
|
+
errorMessage?: string;
|
|
13
|
+
} & Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & React.RefAttributes<HTMLInputElement>>;
|
|
14
|
+
export default Checkbox;
|
|
15
15
|
//# sourceMappingURL=Checkbox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../src/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../src/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,MAAM,aAAa,GAAG;IAI1B,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAOxB,aAAa,CAAC,EAAE,OAAO,CAAC;IAKxB,KAAK,CAAC,EAAE,OAAO,CAAC;IAKhB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC,CAAC;AAE5C,QAAA,MAAM,QAAQ;YApBJ,KAAK,CAAC,SAAS;oBAOP,OAAO;YAKf,OAAO;mBAKA,MAAM;oMAsCtB,CAAC;AAIF,eAAe,QAAQ,CAAC"}
|
package/Checkbox/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './Checkbox';
|
|
1
|
+
export { default } from './Checkbox';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
package/Chips/Chips.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export
|
|
3
|
-
label: string;
|
|
4
|
-
value: string;
|
|
5
|
-
};
|
|
6
|
-
interface IChips {
|
|
7
|
-
label: string;
|
|
8
|
-
icon?: React.ReactNode;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
multiChoice?: boolean;
|
|
11
|
-
options?: ChipValue[];
|
|
12
|
-
defaultValue?: ChipValue;
|
|
13
|
-
clearLabel?: string;
|
|
14
|
-
filterLabel?: string;
|
|
15
|
-
initialCounter?: number;
|
|
16
|
-
actived?: boolean;
|
|
17
|
-
selectedValue?: ChipValue | ChipValue[];
|
|
18
|
-
onClick?: () => void;
|
|
19
|
-
onChange?: (value: ChipValue[] | ChipValue) => void;
|
|
20
|
-
onClose?: () => void;
|
|
21
|
-
onConfirm?: (value: ChipValue[] | ChipValue) => void;
|
|
22
|
-
onClean?: () => void;
|
|
23
|
-
}
|
|
24
|
-
declare const Chips: React.FunctionComponent<IChips>;
|
|
25
|
-
export default Chips;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type ChipValue = {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
};
|
|
6
|
+
interface IChips {
|
|
7
|
+
label: string;
|
|
8
|
+
icon?: React.ReactNode;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
multiChoice?: boolean;
|
|
11
|
+
options?: ChipValue[];
|
|
12
|
+
defaultValue?: ChipValue;
|
|
13
|
+
clearLabel?: string;
|
|
14
|
+
filterLabel?: string;
|
|
15
|
+
initialCounter?: number;
|
|
16
|
+
actived?: boolean;
|
|
17
|
+
selectedValue?: ChipValue | ChipValue[];
|
|
18
|
+
onClick?: () => void;
|
|
19
|
+
onChange?: (value: ChipValue[] | ChipValue) => void;
|
|
20
|
+
onClose?: () => void;
|
|
21
|
+
onConfirm?: (value: ChipValue[] | ChipValue) => void;
|
|
22
|
+
onClean?: () => void;
|
|
23
|
+
}
|
|
24
|
+
declare const Chips: React.FunctionComponent<IChips>;
|
|
25
|
+
export default Chips;
|
|
26
26
|
//# sourceMappingURL=Chips.d.ts.map
|