@appquality/unguess-design-system 2.12.85 → 3.0.0-colors
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/.github/workflows/release.yml +4 -4
- package/.github/workflows/storybook.yml +2 -2
- package/CHANGELOG.md +14 -1
- package/build/index.d.ts +1 -0
- package/build/index.js +630 -814
- package/build/stories/accordions/index.stories.d.ts +5 -11
- package/build/stories/alerts/index.d.ts +2 -2
- package/build/stories/alerts/index.stories.d.ts +2 -8
- package/build/stories/avatar/index.d.ts +1 -1
- package/build/stories/avatar/index.stories.d.ts +3 -8
- package/build/stories/breadcrumbs/index.d.ts +1 -1
- package/build/stories/breadcrumbs/index.stories.d.ts +4 -5
- package/build/stories/buttons/anchor/index.d.ts +2 -2
- package/build/stories/buttons/anchor/index.stories.d.ts +5 -6
- package/build/stories/buttons/button/_types.d.ts +2 -29
- package/build/stories/buttons/button/index.d.ts +1 -1
- package/build/stories/buttons/button/index.stories.d.ts +6 -16
- package/build/stories/buttons/button-group/index.d.ts +2 -2
- package/build/stories/buttons/button-group/index.stories.d.ts +10 -12
- package/build/stories/buttons/icon-button/_types.d.ts +2 -16
- package/build/stories/buttons/icon-button/index.stories.d.ts +5 -6
- package/build/stories/buttons/split-button/index.stories.d.ts +2 -3
- package/build/stories/buttons/utils.d.ts +12 -0
- package/build/stories/campaign-cards/index.d.ts +1 -1
- package/build/stories/campaign-cards/index.stories.d.ts +3 -4
- package/build/stories/campaign-cards/skeleton.d.ts +1 -1
- package/build/stories/cards/container.stories.d.ts +2 -3
- package/build/stories/cards/index.d.ts +8 -2
- package/build/stories/cards/index.stories.d.ts +3 -4
- package/build/stories/charts/ChartContainer.d.ts +1 -1
- package/build/stories/charts/Legend.d.ts +2 -2
- package/build/stories/charts/_types.d.ts +1 -1
- package/build/stories/charts/bar/_types.d.ts +1 -1
- package/build/stories/charts/bar/index.d.ts +1 -1
- package/build/stories/charts/bar/index.stories.d.ts +3 -4
- package/build/stories/charts/bullet/CustomBulletChartMarker.d.ts +1 -1
- package/build/stories/charts/bullet/CustomBulletChartMeasure.d.ts +1 -1
- package/build/stories/charts/bullet/CustomTooltip.d.ts +1 -1
- package/build/stories/charts/bullet/index.d.ts +1 -1
- package/build/stories/charts/bullet/index.stories.d.ts +3 -4
- package/build/stories/charts/halfPie/HalfPieChartComponent.d.ts +1 -1
- package/build/stories/charts/halfPie/index.d.ts +1 -1
- package/build/stories/charts/halfPie/index.stories.d.ts +2 -3
- package/build/stories/charts/pie/_types.d.ts +2 -2
- package/build/stories/charts/pie/index.d.ts +1 -1
- package/build/stories/charts/pie/index.stories.d.ts +4 -5
- package/build/stories/charts/pieCenteredItem.d.ts +1 -1
- package/build/stories/charts/sunburst/ResetButton.d.ts +1 -1
- package/build/stories/charts/sunburst/index.d.ts +1 -1
- package/build/stories/charts/sunburst/index.stories.d.ts +3 -4
- package/build/stories/charts/waffle/CustomCell.d.ts +1 -1
- package/build/stories/charts/waffle/index.d.ts +1 -1
- package/build/stories/charts/waffle/index.stories.d.ts +3 -4
- package/build/stories/close/index.d.ts +1 -1
- package/build/stories/close/index.stories.d.ts +2 -3
- package/build/stories/drawers/index.d.ts +1 -1
- package/build/stories/drawers/index.stories.d.ts +2 -11
- package/build/stories/drawers/loremIpsum.d.ts +1 -1
- package/build/stories/dropdowns/autocomplete/index.d.ts +1 -1
- package/build/stories/dropdowns/autocomplete/index.stories.d.ts +3 -4
- package/build/stories/dropdowns/countermultiselect/index.d.ts +1 -1
- package/build/stories/dropdowns/countermultiselect/index.stories.d.ts +2 -3
- package/build/stories/dropdowns/field/index.d.ts +1 -1
- package/build/stories/dropdowns/item/index.d.ts +1 -1
- package/build/stories/dropdowns/item-content/index.d.ts +1 -1
- package/build/stories/dropdowns/menu/index.d.ts +8 -8
- package/build/stories/dropdowns/menu/index.stories.d.ts +3 -4
- package/build/stories/dropdowns/menuheader/index.d.ts +1 -1
- package/build/stories/dropdowns/select/index.d.ts +5 -5
- package/build/stories/dropdowns/select/index.stories.d.ts +4 -8
- package/build/stories/editor/_types.d.ts +1 -1
- package/build/stories/editor/editorFooter.d.ts +1 -1
- package/build/stories/editor/editorHeader.d.ts +1 -1
- package/build/stories/editor/editorStyle.d.ts +1 -1
- package/build/stories/editor/floatingMenu.d.ts +1 -1
- package/build/stories/editor/index.d.ts +1 -1
- package/build/stories/editor/index.stories.d.ts +8 -8
- package/build/stories/forms/checkbox/cards/index.d.ts +1 -1
- package/build/stories/forms/checkbox/cards/index.stories.d.ts +3 -4
- package/build/stories/forms/checkbox/index.d.ts +1 -1
- package/build/stories/forms/checkbox/index.stories.d.ts +2 -3
- package/build/stories/forms/field/index.d.ts +1 -1
- package/build/stories/forms/input/index.d.ts +1 -1
- package/build/stories/forms/input/index.stories.d.ts +5 -6
- package/build/stories/forms/input-toggle/_types.d.ts +1 -1
- package/build/stories/forms/input-toggle/index.d.ts +3 -3
- package/build/stories/forms/input-toggle/index.stories.d.ts +6 -11
- package/build/stories/forms/mediaInput/index.d.ts +1 -1
- package/build/stories/forms/mediaInput/index.stories.d.ts +5 -6
- package/build/stories/forms/radio/cards/index.d.ts +1 -1
- package/build/stories/forms/radio/cards/index.stories.d.ts +3 -4
- package/build/stories/forms/radio/index.d.ts +1 -1
- package/build/stories/forms/radio/index.stories.d.ts +3 -4
- package/build/stories/forms/textarea/index.d.ts +1 -1
- package/build/stories/forms/textarea/index.stories.d.ts +4 -5
- package/build/stories/forms/toggle/index.d.ts +1 -1
- package/build/stories/forms/toggle/index.stories.d.ts +2 -3
- package/build/stories/grid/col/index.d.ts +1 -1
- package/build/stories/grid/col/index.stories.d.ts +4 -5
- package/build/stories/grid/grid/index.d.ts +1 -1
- package/build/stories/grid/grid/index.stories.d.ts +4 -5
- package/build/stories/grid/row/index.d.ts +1 -1
- package/build/stories/grid/row/index.stories.d.ts +2 -3
- package/build/stories/icons/index.d.ts +1 -1
- package/build/stories/icons/index.stories.d.ts +2 -3
- package/build/stories/info-cards/index.d.ts +1 -1
- package/build/stories/info-cards/index.stories.d.ts +3 -4
- package/build/stories/label/index.d.ts +2 -2
- package/build/stories/label/index.stories.d.ts +3 -4
- package/build/stories/lightbox/index.stories.d.ts +2 -12
- package/build/stories/lightbox/parts/body.d.ts +3 -3
- package/build/stories/lightbox/parts/footer.d.ts +1 -1
- package/build/stories/loaders/dots/index.d.ts +1 -1
- package/build/stories/loaders/dots/index.stories.d.ts +2 -3
- package/build/stories/loaders/progress/index.stories.d.ts +2 -3
- package/build/stories/loaders/skeleton/index.d.ts +1 -1
- package/build/stories/loaders/skeleton/index.stories.d.ts +3 -4
- package/build/stories/loaders/spinner/index.d.ts +1 -1
- package/build/stories/loaders/spinner/index.stories.d.ts +2 -3
- package/build/stories/login-form/index.d.ts +1 -1
- package/build/stories/login-form/index.stories.d.ts +3 -4
- package/build/stories/logo/index.d.ts +1 -1
- package/build/stories/logo/index.stories.d.ts +2 -3
- package/build/stories/modals/fullscreen/index.d.ts +5 -5
- package/build/stories/modals/fullscreen/index.stories.d.ts +2 -11
- package/build/stories/modals/index.d.ts +1 -1
- package/build/stories/modals/index.stories.d.ts +5 -10
- package/build/stories/multiselect/AddableItem.d.ts +1 -1
- package/build/stories/multiselect/Item.d.ts +2 -2
- package/build/stories/multiselect/_types.d.ts +2 -2
- package/build/stories/multiselect/index.d.ts +1 -1
- package/build/stories/multiselect/index.stories.d.ts +3 -4
- package/build/stories/navigation/app-header/index.d.ts +1 -1
- package/build/stories/navigation/app-header/index.stories.d.ts +3 -4
- package/build/stories/navigation/app-header/skeleton.d.ts +1 -1
- package/build/stories/navigation/body/index.d.ts +1 -1
- package/build/stories/navigation/chrome/index.d.ts +1 -1
- package/build/stories/navigation/content/index.d.ts +1 -1
- package/build/stories/navigation/header/header-item/brandItem.d.ts +2 -2
- package/build/stories/navigation/header/header-item/headerItem.d.ts +2 -2
- package/build/stories/navigation/header/header-item/headerItemIcon.d.ts +1 -1
- package/build/stories/navigation/header/header-item/headerItemText.d.ts +1 -1
- package/build/stories/navigation/header/header-item/workspacesDropdown.d.ts +1 -1
- package/build/stories/navigation/header/index.d.ts +4 -4
- package/build/stories/navigation/main/index.d.ts +1 -1
- package/build/stories/navigation/nav/index.d.ts +1 -1
- package/build/stories/navigation/nav/nav-item/accordionItem.d.ts +1 -1
- package/build/stories/navigation/nav/nav-item/navDivider.d.ts +1 -1
- package/build/stories/navigation/nav/nav-item/navItemIcon.d.ts +1 -1
- package/build/stories/navigation/nav/nav-item/navItemProject.d.ts +1 -1
- package/build/stories/navigation/nav/nav-item/navItemText.d.ts +1 -1
- package/build/stories/navigation/nav/nav-item/navToggle.d.ts +1 -1
- package/build/stories/navigation/page-header/index.d.ts +8 -8
- package/build/stories/navigation/page-header/index.stories.d.ts +5 -17
- package/build/stories/navigation/page-header/styled/main.d.ts +5 -5
- package/build/stories/navigation/sidebar/index.d.ts +1 -1
- package/build/stories/navigation/sidebar/index.stories.d.ts +6 -7
- package/build/stories/navigation/sidebar/skeleton.d.ts +1 -1
- package/build/stories/notifications/index.d.ts +2 -2
- package/build/stories/notifications/index.stories.d.ts +3 -4
- package/build/stories/page/pageLoader.d.ts +1 -1
- package/build/stories/pagination/index.d.ts +1 -1
- package/build/stories/pagination/index.stories.d.ts +3 -4
- package/build/stories/player/index.stories.d.ts +2 -3
- package/build/stories/player/parts/audioButton.d.ts +1 -1
- package/build/stories/player/parts/container.d.ts +1 -1
- package/build/stories/player/parts/controls.d.ts +3 -3
- package/build/stories/player/parts/controlsCenterGroup.d.ts +1 -1
- package/build/stories/player/parts/floatingControls.d.ts +2 -2
- package/build/stories/player/parts/fullScreenButton.d.ts +1 -1
- package/build/stories/player/parts/spinner.d.ts +1 -1
- package/build/stories/player/parts/timeLabel.d.ts +1 -1
- package/build/stories/player/parts/tooltip.d.ts +1 -1
- package/build/stories/player/parts/video.d.ts +1 -1
- package/build/stories/product-cards/index.d.ts +1 -1
- package/build/stories/product-cards/index.stories.d.ts +3 -4
- package/build/stories/profile-modal/UserContainer.d.ts +1 -1
- package/build/stories/profile-modal/_types.d.ts +2 -0
- package/build/stories/profile-modal/helpMenuItem.d.ts +3 -1
- package/build/stories/profile-modal/index.d.ts +1 -1
- package/build/stories/profile-modal/index.stories.d.ts +2 -3
- package/build/stories/profile-modal/languageMenuItem.d.ts +1 -1
- package/build/stories/profile-modal/menuItem.d.ts +2 -2
- package/build/stories/profile-modal/menuItemIcon.d.ts +2 -2
- package/build/stories/profile-modal/previousMenuButton.d.ts +1 -1
- package/build/stories/profile-modal/userMenu.d.ts +1 -1
- package/build/stories/service-cards/index.d.ts +1 -1
- package/build/stories/service-cards/index.stories.d.ts +3 -4
- package/build/stories/slider/index.d.ts +2 -2
- package/build/stories/slider/index.stories.d.ts +3 -8
- package/build/stories/slider/parts/buttons.d.ts +2 -2
- package/build/stories/slider/parts/container.d.ts +1 -1
- package/build/stories/slider/parts/counter.d.ts +1 -1
- package/build/stories/slider/parts/slickSlider.d.ts +1 -1
- package/build/stories/slider/parts/slide.d.ts +1 -1
- package/build/stories/slider/parts/sliderContext.d.ts +1 -1
- package/build/stories/special-cards/index.d.ts +8 -8
- package/build/stories/special-cards/index.stories.d.ts +2 -14
- package/build/stories/special-cards/styled/footer.d.ts +1 -1
- package/build/stories/special-cards/styled/header.d.ts +4 -4
- package/build/stories/special-cards/styled/meta.d.ts +1 -1
- package/build/stories/special-cards/styled/thumbnail.d.ts +1 -1
- package/build/stories/stepper/index.d.ts +4 -4
- package/build/stories/stepper/index.stories.d.ts +3 -10
- package/build/stories/table/_types.d.ts +1 -1
- package/build/stories/table/grouped.d.ts +2 -2
- package/build/stories/table/index.d.ts +9 -9
- package/build/stories/table/index.stories.d.ts +11 -12
- package/build/stories/tabs/index.d.ts +2 -2
- package/build/stories/tabs/index.stories.d.ts +3 -7
- package/build/stories/tags/index.d.ts +4 -4
- package/build/stories/tags/index.stories.d.ts +6 -18
- package/build/stories/theme/charts.d.ts +1 -9
- package/build/stories/theme/colors.d.ts +6 -5
- package/build/stories/theme/components.d.ts +86 -47
- package/build/stories/theme/gradients.d.ts +0 -1
- package/build/stories/theme/index.d.ts +130 -90
- package/build/stories/theme/mixins.d.ts +2 -2
- package/build/stories/theme/palette.d.ts +35 -36
- package/build/stories/theme/palette.stories.d.ts +20 -7
- package/build/stories/theme/utils.d.ts +6 -2
- package/build/stories/tiles/index.d.ts +1 -1
- package/build/stories/tiles/index.stories.d.ts +4 -11
- package/build/stories/timeline/index.d.ts +3 -3
- package/build/stories/timeline/index.stories.d.ts +4 -9
- package/build/stories/title/index.d.ts +1 -1
- package/build/stories/title/index.stories.d.ts +2 -3
- package/build/stories/tooltip/index.d.ts +1 -1
- package/build/stories/tooltip/index.stories.d.ts +11 -3
- package/build/stories/tooltip-modal/_types.d.ts +1 -1
- package/build/stories/tooltip-modal/index.d.ts +1 -1
- package/build/stories/tooltip-modal/index.stories.d.ts +2 -11
- package/build/stories/trigger/index.d.ts +1 -1
- package/build/stories/typography/block-quote/index.d.ts +1 -1
- package/build/stories/typography/block-quote/index.stories.d.ts +2 -3
- package/build/stories/typography/code/index.d.ts +1 -1
- package/build/stories/typography/code/index.stories.d.ts +4 -5
- package/build/stories/typography/ellipsis/index.d.ts +1 -1
- package/build/stories/typography/ellipsis/index.stories.d.ts +2 -3
- package/build/stories/typography/lists/index.d.ts +2 -2
- package/build/stories/typography/lists/ordered.stories.d.ts +2 -7
- package/build/stories/typography/lists/unordered.stories.d.ts +2 -7
- package/build/stories/typography/paragraph/index.d.ts +1 -1
- package/build/stories/typography/paragraph/index.stories.d.ts +2 -3
- package/build/stories/typography/span/index.d.ts +1 -1
- package/build/stories/typography/span/index.stories.d.ts +2 -3
- package/build/stories/typography/typescale/anchortag/index.stories.d.ts +2 -3
- package/build/stories/typography/typescale/index.d.ts +6 -6
- package/build/stories/typography/typescale/index.stories.d.ts +2 -3
- package/package.json +62 -67
- package/yarn-error.log +17994 -0
- package/build/stories/buttons/anchor/_types.d.ts +0 -11
- package/build/stories/buttons/button-group/_types.d.ts +0 -5
- package/build/stories/buttons/utils/useButtonVariant.d.ts +0 -5
- package/generate-story.sh +0 -61
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentMeta, Story } from "@storybook/react";
|
|
3
2
|
import { AccordionArgs } from "./_types";
|
|
4
3
|
interface AccordionStoryArg extends AccordionArgs {
|
|
5
4
|
items: Array<{
|
|
@@ -7,14 +6,9 @@ interface AccordionStoryArg extends AccordionArgs {
|
|
|
7
6
|
content: string;
|
|
8
7
|
}>;
|
|
9
8
|
}
|
|
10
|
-
export declare const Default:
|
|
11
|
-
export declare const Bare:
|
|
12
|
-
export declare const Expandable:
|
|
13
|
-
export declare const Compact:
|
|
14
|
-
declare const _default:
|
|
15
|
-
Section: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
16
|
-
Header: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
17
|
-
Label: import("react").ForwardRefExoticComponent<import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
18
|
-
Panel: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLElement> & import("react").RefAttributes<HTMLElement>>;
|
|
19
|
-
}>;
|
|
9
|
+
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, AccordionStoryArg>;
|
|
10
|
+
export declare const Bare: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, AccordionStoryArg>;
|
|
11
|
+
export declare const Expandable: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, AccordionStoryArg>;
|
|
12
|
+
export declare const Compact: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, AccordionStoryArg>;
|
|
13
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, AccordionArgs & import("react").RefAttributes<HTMLDivElement>>;
|
|
20
14
|
export default _default;
|
|
@@ -8,8 +8,8 @@ import { AlertArgs } from './_types';
|
|
|
8
8
|
- To provide a quick way to navigate to ancestor pages
|
|
9
9
|
*/
|
|
10
10
|
declare const Alert: {
|
|
11
|
-
(props: AlertArgs): JSX.Element;
|
|
12
|
-
Title: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@zendeskgarden/react-notifications").ITitleProps & import("react").RefAttributes<HTMLDivElement>>,
|
|
11
|
+
(props: AlertArgs): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
Title: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@zendeskgarden/react-notifications").ITitleProps & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
13
13
|
Close: import("react").ForwardRefExoticComponent<import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
14
14
|
};
|
|
15
15
|
export { Alert };
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ComponentMeta, Story } from "@storybook/react";
|
|
3
1
|
import { AlertArgs } from "./_types";
|
|
4
|
-
export declare const Default:
|
|
5
|
-
declare const _default:
|
|
6
|
-
(props: AlertArgs): JSX.Element;
|
|
7
|
-
Title: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@zendeskgarden/react-notifications").ITitleProps & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
|
|
8
|
-
Close: import("react").ForwardRefExoticComponent<import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
9
|
-
}>;
|
|
2
|
+
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, AlertArgs>;
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, AlertArgs>;
|
|
10
4
|
export default _default;
|
|
@@ -7,7 +7,7 @@ import { AvatarArgs } from "./_types";
|
|
|
7
7
|
- To visually represent a person, brand, or product
|
|
8
8
|
*/
|
|
9
9
|
declare const Avatar: {
|
|
10
|
-
(props: AvatarArgs): JSX.Element;
|
|
10
|
+
(props: AvatarArgs): import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
Text: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLSpanElement> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
12
12
|
};
|
|
13
13
|
export { Avatar };
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ComponentMeta, Story } from "@storybook/react";
|
|
3
1
|
import { AvatarArgs } from "./_types";
|
|
4
|
-
export declare const Default:
|
|
5
|
-
export declare const Square:
|
|
6
|
-
declare const _default:
|
|
7
|
-
(props: AvatarArgs): JSX.Element;
|
|
8
|
-
Text: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLSpanElement> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
9
|
-
}>;
|
|
2
|
+
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, AvatarArgs>;
|
|
3
|
+
export declare const Square: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, AvatarArgs>;
|
|
4
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, AvatarArgs>;
|
|
10
5
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { BreadcrumbArgs } from "./_types";
|
|
2
|
-
declare const Breadcrumb: ({ children, showLastArrow, ...props }: BreadcrumbArgs) => JSX.Element;
|
|
2
|
+
declare const Breadcrumb: ({ children, showLastArrow, ...props }: BreadcrumbArgs) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { Breadcrumb };
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AnchorArgs } from "../buttons/anchor/_types";
|
|
1
|
+
import { IAnchorProps } from "@zendeskgarden/react-buttons";
|
|
3
2
|
import { BreadcrumbArgs } from "./_types";
|
|
4
3
|
interface StoryArgs extends BreadcrumbArgs {
|
|
5
|
-
items:
|
|
4
|
+
items: IAnchorProps & {
|
|
6
5
|
children: string;
|
|
7
6
|
onClick: () => void;
|
|
8
7
|
}[];
|
|
9
8
|
}
|
|
10
|
-
export declare const Default:
|
|
11
|
-
declare const _default:
|
|
9
|
+
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, StoryArgs>;
|
|
10
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, BreadcrumbArgs>;
|
|
12
11
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
2
|
+
import { IAnchorProps } from "@zendeskgarden/react-buttons";
|
|
3
3
|
/**
|
|
4
4
|
* The Anchor is a link that helps users navigate from one location to another.
|
|
5
5
|
* <hr>
|
|
@@ -8,5 +8,5 @@ import { AnchorArgs } from "./_types";
|
|
|
8
8
|
- To navigate within a page
|
|
9
9
|
- To display links alongside text
|
|
10
10
|
*/
|
|
11
|
-
declare const Anchor: import("react").ForwardRefExoticComponent<
|
|
11
|
+
declare const Anchor: import("react").ForwardRefExoticComponent<IAnchorProps & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
12
12
|
export { Anchor };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
|
|
7
|
-
declare const _default: ComponentMeta<import("react").ForwardRefExoticComponent<AnchorArgs & import("react").RefAttributes<HTMLAnchorElement>>>;
|
|
2
|
+
import { IAnchorProps } from "@zendeskgarden/react-buttons";
|
|
3
|
+
export declare const Basic: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, IAnchorProps>;
|
|
4
|
+
export declare const Danger: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, IAnchorProps>;
|
|
5
|
+
export declare const External: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, IAnchorProps>;
|
|
6
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, IAnchorProps & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
8
7
|
export default _default;
|
|
@@ -1,34 +1,7 @@
|
|
|
1
1
|
import { IButtonProps } from "@zendeskgarden/react-buttons";
|
|
2
2
|
export interface ButtonArgs extends IButtonProps {
|
|
3
|
-
/**
|
|
4
|
-
It's a boolean value that determines whether the button has an icon on the left side.
|
|
5
|
-
@default false
|
|
6
|
-
*/
|
|
7
|
-
hasStartIcon?: boolean;
|
|
8
|
-
/**
|
|
9
|
-
It's a boolean value that determines whether the button has an icon on the right side.
|
|
10
|
-
@default false
|
|
11
|
-
*/
|
|
12
|
-
hasEndIcon?: boolean;
|
|
13
|
-
isStartIconRotated?: boolean;
|
|
14
|
-
isEndIconRotated?: boolean;
|
|
15
|
-
/** Applies danger styling */
|
|
16
|
-
isDanger?: boolean;
|
|
17
3
|
/** Applies bright styling, used for dark interfaces */
|
|
18
4
|
isBright?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
|
|
21
|
-
/** Stretches the button fill to its container width */
|
|
22
|
-
isStretched?: boolean;
|
|
23
|
-
/** Applies neutral button styling */
|
|
24
|
-
isNeutral?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
Definine the button variations, possible values are: {isDefault},
|
|
27
|
-
{isBasic},{isPrimary}, {isLink}
|
|
28
|
-
|
|
29
|
-
@default isDefault
|
|
30
|
-
*/
|
|
31
|
-
variant?: string;
|
|
32
|
-
/** Applies button background color */
|
|
33
|
-
themeColor?: string;
|
|
5
|
+
/** Applies accent button styling */
|
|
6
|
+
isAccent?: boolean;
|
|
34
7
|
}
|
|
@@ -9,7 +9,7 @@ declare const UgButton: import("styled-components").StyledComponent<import("reac
|
|
|
9
9
|
(props: import("@zendeskgarden/react-buttons").IButtonEndIconProps): JSX.Element;
|
|
10
10
|
displayName: string;
|
|
11
11
|
};
|
|
12
|
-
},
|
|
12
|
+
}, import("styled-components").DefaultTheme, {}, never>;
|
|
13
13
|
export declare const Button: import("react").ForwardRefExoticComponent<ButtonArgs & import("react").RefAttributes<HTMLButtonElement>> & {
|
|
14
14
|
EndIcon: typeof UgButton.EndIcon;
|
|
15
15
|
StartIcon: typeof UgButton.StartIcon;
|
|
@@ -1,18 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ComponentMeta, Story } from "@storybook/react";
|
|
3
1
|
import { ButtonArgs } from "./_types";
|
|
4
|
-
export declare const Default:
|
|
5
|
-
export declare const Basic:
|
|
6
|
-
export declare const Primary:
|
|
7
|
-
export declare const
|
|
8
|
-
declare const
|
|
9
|
-
|
|
10
|
-
(props: import("@zendeskgarden/react-buttons").IButtonEndIconProps): JSX.Element;
|
|
11
|
-
displayName: string;
|
|
12
|
-
};
|
|
13
|
-
StartIcon: {
|
|
14
|
-
(props: import("@zendeskgarden/react-buttons").IButtonEndIconProps): JSX.Element;
|
|
15
|
-
displayName: string;
|
|
16
|
-
};
|
|
17
|
-
}>;
|
|
2
|
+
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ButtonArgs>;
|
|
3
|
+
export declare const Basic: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ButtonArgs>;
|
|
4
|
+
export declare const Primary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ButtonArgs>;
|
|
5
|
+
export declare const Link: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ButtonArgs>;
|
|
6
|
+
export declare const WithIcon: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ButtonArgs>;
|
|
7
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, ButtonArgs & import("react").RefAttributes<HTMLButtonElement>>;
|
|
18
8
|
export default _default;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
2
|
+
import { IButtonGroupProps } from "@zendeskgarden/react-buttons";
|
|
3
3
|
/**
|
|
4
4
|
A Button group lets users make a selection from a set of options.
|
|
5
5
|
|
|
6
6
|
This is a legacy component and may be deprecated in the future. UNGUESS does not presently recommend the use of Button groups.
|
|
7
7
|
**/
|
|
8
|
-
declare const ButtonGroup: import("react").ForwardRefExoticComponent<
|
|
8
|
+
declare const ButtonGroup: import("react").ForwardRefExoticComponent<IButtonGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
9
9
|
export { ButtonGroup };
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
interface ButtonGroupProps extends ButtonGroupArgs {
|
|
5
|
-
/**
|
|
6
|
-
The children of the button group.
|
|
7
|
-
@default []
|
|
8
|
-
*/
|
|
2
|
+
import { IButtonGroupProps } from "@zendeskgarden/react-buttons";
|
|
3
|
+
export declare const TwoItems: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, IButtonGroupProps & {
|
|
9
4
|
items: any[];
|
|
10
|
-
}
|
|
11
|
-
export declare const
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
declare const
|
|
5
|
+
}>;
|
|
6
|
+
export declare const WithBorders: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, IButtonGroupProps & {
|
|
7
|
+
items: any[];
|
|
8
|
+
}>;
|
|
9
|
+
export declare const RoundedItems: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, IButtonGroupProps & {
|
|
10
|
+
items: any[];
|
|
11
|
+
}>;
|
|
12
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, IButtonGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
15
13
|
export default _default;
|
|
@@ -1,21 +1,7 @@
|
|
|
1
1
|
import { IIconButtonProps } from "@zendeskgarden/react-buttons";
|
|
2
2
|
export interface IconButtonArgs extends IIconButtonProps {
|
|
3
|
-
/** Applies neutral button styling */
|
|
4
|
-
isNeutral?: boolean;
|
|
5
3
|
/** Applies bright styling, used for dark interfaces */
|
|
6
4
|
isBright?: boolean;
|
|
7
|
-
/** Applies
|
|
8
|
-
|
|
9
|
-
/** Applies danger button styling */
|
|
10
|
-
isDanger?: boolean;
|
|
11
|
-
/** Applies basic button styling */
|
|
12
|
-
isBasic?: boolean;
|
|
13
|
-
/** Applies pill button styling */
|
|
14
|
-
isPill?: boolean;
|
|
15
|
-
/** Applies inset `box-shadow` styling on focus */
|
|
16
|
-
focusInset?: boolean;
|
|
17
|
-
/** Rotates icon 180 degrees */
|
|
18
|
-
isRotated?: boolean;
|
|
19
|
-
/** Specifies icon button size */
|
|
20
|
-
size?: "small" | "medium" | "large";
|
|
5
|
+
/** Applies accent button styling */
|
|
6
|
+
isAccent?: boolean;
|
|
21
7
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentMeta, Story } from "@storybook/react";
|
|
3
2
|
import { IconButtonArgs } from "./_types";
|
|
4
|
-
export declare const Default:
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const Shape:
|
|
8
|
-
declare const _default:
|
|
3
|
+
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, IconButtonArgs>;
|
|
4
|
+
export declare const Outline: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, IconButtonArgs>;
|
|
5
|
+
export declare const Primary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, IconButtonArgs>;
|
|
6
|
+
export declare const Shape: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, IconButtonArgs>;
|
|
7
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, IconButtonArgs & import("react").RefAttributes<HTMLButtonElement>>;
|
|
9
8
|
export default _default;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentMeta, Story } from "@storybook/react";
|
|
3
2
|
import { SplitButtonArgs } from "./_types";
|
|
4
|
-
export declare const Default:
|
|
5
|
-
declare const _default:
|
|
3
|
+
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, SplitButtonArgs>;
|
|
4
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("../icon-button/_types").IconButtonArgs & import("react").RefAttributes<HTMLButtonElement>>;
|
|
6
5
|
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const sizes: readonly ["small", "medium", "large"];
|
|
3
|
+
export declare const variants: readonly [{}, {
|
|
4
|
+
readonly isDanger: true;
|
|
5
|
+
}, {
|
|
6
|
+
readonly isAccent: true;
|
|
7
|
+
}, {
|
|
8
|
+
readonly disabled: true;
|
|
9
|
+
}];
|
|
10
|
+
export declare const Row: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@zendeskgarden/react-grid").IRowProps & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
11
|
+
export declare const Col: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@zendeskgarden/react-grid").IColProps & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
12
|
+
export declare const MD: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@zendeskgarden/react-typography").ISMProps & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CampaignCardsProps } from "./_types";
|
|
2
|
-
declare const CampaignCard: ({ isNew, date, projectTitle, campaignTitle, status, type, labelNew, ...props }: CampaignCardsProps) => JSX.Element;
|
|
2
|
+
declare const CampaignCard: ({ isNew, date, projectTitle, campaignTitle, status, type, labelNew, ...props }: CampaignCardsProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { CampaignCard };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { CampaignCardsProps } from "./_types";
|
|
2
|
-
|
|
3
|
-
export declare const
|
|
4
|
-
|
|
5
|
-
declare const _default: ComponentMeta<({ isNew, date, projectTitle, campaignTitle, status, type, labelNew, ...props }: CampaignCardsProps) => JSX.Element>;
|
|
2
|
+
export declare const SingleCard: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, CampaignCardsProps>;
|
|
3
|
+
export declare const Grid: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, CampaignCardsProps>;
|
|
4
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, CampaignCardsProps>;
|
|
6
5
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const CampaignCardSkeleton: () => JSX.Element;
|
|
1
|
+
export declare const CampaignCardSkeleton: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { ComponentMeta, Story } from "@storybook/react";
|
|
2
1
|
import { CardProps } from "./_types";
|
|
3
2
|
interface CardStoryProps extends CardProps {
|
|
4
3
|
title: string;
|
|
5
4
|
content: string;
|
|
6
5
|
}
|
|
7
|
-
export declare const Default:
|
|
8
|
-
declare const _default:
|
|
6
|
+
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, CardStoryProps>;
|
|
7
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("./_types").ContainerCardProps>;
|
|
9
8
|
export default _default;
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import { CardProps, ContainerCardProps } from "./_types";
|
|
2
|
+
export declare const CARD_COMPONENT_ID = "cards.card";
|
|
3
|
+
export declare const cardCmponentStyle: {
|
|
4
|
+
"cards.card": {
|
|
5
|
+
border: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
2
8
|
/**
|
|
3
9
|
* A Card is a container that groups related content.
|
|
4
10
|
* <hr>
|
|
5
11
|
* Used for this:
|
|
6
12
|
- To group related content
|
|
7
13
|
*/
|
|
8
|
-
declare const Card: (props: CardProps) => JSX.Element;
|
|
9
|
-
declare const ContainerCard: (props: ContainerCardProps) => JSX.Element;
|
|
14
|
+
declare const Card: (props: CardProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare const ContainerCard: (props: ContainerCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
16
|
export { Card, ContainerCard };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { ComponentMeta, Story } from "@storybook/react";
|
|
2
1
|
import { CardProps } from "./_types";
|
|
3
2
|
interface CardStoryProps extends CardProps {
|
|
4
3
|
title: string;
|
|
5
4
|
content: string;
|
|
6
5
|
}
|
|
7
|
-
export declare const Default:
|
|
8
|
-
export declare const Floating:
|
|
9
|
-
declare const _default:
|
|
6
|
+
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, CardStoryProps>;
|
|
7
|
+
export declare const Floating: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, CardStoryProps>;
|
|
8
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, CardProps>;
|
|
10
9
|
export default _default;
|
|
@@ -2,4 +2,4 @@ export interface ChartContainerProps {
|
|
|
2
2
|
width?: string;
|
|
3
3
|
height?: string;
|
|
4
4
|
}
|
|
5
|
-
export declare const ChartContainer: import("styled-components").StyledComponent<"div",
|
|
5
|
+
export declare const ChartContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, ChartContainerProps, never>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
declare const Legend: ({ colors, data, columns, width, marginTop, }: {
|
|
2
2
|
colors: string[];
|
|
3
3
|
data: (string | number)[];
|
|
4
|
-
} & LegendType) => JSX.Element;
|
|
4
|
+
} & LegendType) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
export default Legend;
|
|
6
|
-
|
|
6
|
+
type LegendType = {
|
|
7
7
|
columns?: number;
|
|
8
8
|
width?: string;
|
|
9
9
|
marginTop?: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { BarChartProps } from "./_types";
|
|
2
|
-
export declare const BarChart: ({ data, width, height, padding, margin, axisLeftLabel, axisBottomLabel, colors, tooltip, legend, }: BarChartProps) => JSX.Element;
|
|
2
|
+
export declare const BarChart: ({ data, width, height, padding, margin, axisLeftLabel, axisBottomLabel, colors, tooltip, legend, }: BarChartProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { ComponentMeta, Story } from "@storybook/react";
|
|
2
1
|
import { BarChartProps } from "./_types";
|
|
3
|
-
export declare const Default:
|
|
4
|
-
export declare const WithCustomTooltip:
|
|
5
|
-
declare const _default:
|
|
2
|
+
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, BarChartProps>;
|
|
3
|
+
export declare const WithCustomTooltip: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, BarChartProps>;
|
|
4
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, BarChartProps>;
|
|
6
5
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { BulletMarkersItemProps } from "@nivo/bullet";
|
|
2
|
-
export declare const CustomBulletChartMarkers: ({ x, y, size, animatedProps: { color, transform } }: BulletMarkersItemProps) => JSX.Element;
|
|
2
|
+
export declare const CustomBulletChartMarkers: ({ x, y, size, animatedProps: { color, transform } }: BulletMarkersItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,4 +5,4 @@ export interface CustomBulletChartMeasureProps {
|
|
|
5
5
|
width: number;
|
|
6
6
|
height: number;
|
|
7
7
|
}
|
|
8
|
-
export declare const CustomMeasure: ({ x, y, width, height }: CustomBulletChartMeasureProps) => JSX.Element;
|
|
8
|
+
export declare const CustomMeasure: ({ x, y, width, height }: CustomBulletChartMeasureProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { BulletChartProps } from "./_types";
|
|
2
|
-
declare const BulletChart: ({ width, height, ranges, values }: BulletChartProps) => JSX.Element;
|
|
2
|
+
declare const BulletChart: ({ width, height, ranges, values }: BulletChartProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { BulletChart };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { ComponentMeta, Story } from "@storybook/react";
|
|
2
1
|
import { BulletChartProps } from "./_types";
|
|
3
|
-
export declare const Default:
|
|
4
|
-
export declare const Widget:
|
|
5
|
-
declare const _default:
|
|
2
|
+
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, BulletChartProps>;
|
|
3
|
+
export declare const Widget: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, BulletChartProps>;
|
|
4
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, BulletChartProps>;
|
|
6
5
|
export default _default;
|
|
@@ -3,5 +3,5 @@ declare const HalfPieChartComponent: ({ theme, colors, height, data, onMouseEnte
|
|
|
3
3
|
onMouseEnter?: ((props: any) => void) | undefined;
|
|
4
4
|
onMouseLeave?: ((props: any) => void) | undefined;
|
|
5
5
|
mode: "back" | "front";
|
|
6
|
-
}) => JSX.Element;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export { HalfPieChartComponent };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PieChartProps } from "./_types";
|
|
2
|
-
declare const HalfPieChart: ({ theme, colors, width, height, data, margin, showArcLinks, }: PieChartProps) => JSX.Element;
|
|
2
|
+
declare const HalfPieChart: ({ theme, colors, width, height, data, margin, showArcLinks, }: PieChartProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { HalfPieChart };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { ComponentMeta, Story } from "@storybook/react";
|
|
2
1
|
import { PieChartProps } from "./_types";
|
|
3
|
-
export declare const Default:
|
|
4
|
-
declare const _default:
|
|
2
|
+
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, PieChartProps>;
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PieChartProps>;
|
|
5
4
|
export default _default;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PieSvgProps } from "@nivo/pie";
|
|
2
2
|
import { ChartTooltipFunction } from "../_types";
|
|
3
3
|
import { LegendType } from "../Legend";
|
|
4
|
-
|
|
4
|
+
type BasicPieDatum = {
|
|
5
5
|
id: string | number;
|
|
6
6
|
label?: string | number;
|
|
7
7
|
value: number;
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
type PieDatum = {
|
|
10
10
|
id: string | number;
|
|
11
11
|
label?: string | number;
|
|
12
12
|
value: number;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PieChartProps } from "./_types";
|
|
2
|
-
declare const PieChart: ({ theme, colors, width, height, data, centerItem, margin, tooltip, legend, arcLinkLabelsSkipAngle, labelFormatter, }: PieChartProps) => JSX.Element;
|
|
2
|
+
declare const PieChart: ({ theme, colors, width, height, data, centerItem, margin, tooltip, legend, arcLinkLabelsSkipAngle, labelFormatter, }: PieChartProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { PieChart };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { ComponentMeta, Story } from "@storybook/react";
|
|
2
1
|
import { PieChartProps } from "./_types";
|
|
3
|
-
export declare const Default:
|
|
4
|
-
export declare const WithCustomTooltip:
|
|
5
|
-
export declare const WithCustomLabel:
|
|
6
|
-
declare const _default:
|
|
2
|
+
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, PieChartProps>;
|
|
3
|
+
export declare const WithCustomTooltip: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, PieChartProps>;
|
|
4
|
+
export declare const WithCustomLabel: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, PieChartProps>;
|
|
5
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PieChartProps>;
|
|
7
6
|
export default _default;
|
|
@@ -7,5 +7,5 @@ declare const CenteredItem: ({ centerX, centerY, theme, radius, label, value, fo
|
|
|
7
7
|
label?: string | undefined;
|
|
8
8
|
value?: string | undefined;
|
|
9
9
|
fontSizeMultiplier?: number | undefined;
|
|
10
|
-
}) => JSX.Element;
|
|
10
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export default CenteredItem;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SunburstChartProps } from "./_types";
|
|
2
|
-
declare const SunburstChart: ({ colors, width, height, data, centerItem, margin, onChange, tooltip, legend, }: SunburstChartProps) => JSX.Element;
|
|
2
|
+
declare const SunburstChart: ({ colors, width, height, data, centerItem, margin, onChange, tooltip, legend, }: SunburstChartProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { SunburstChart };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { ComponentMeta, Story } from "@storybook/react";
|
|
2
1
|
import { SunburstChartProps } from "./_types";
|
|
3
|
-
export declare const Default:
|
|
4
|
-
export declare const WithCustomTooltip:
|
|
5
|
-
declare const _default:
|
|
2
|
+
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, SunburstChartProps>;
|
|
3
|
+
export declare const WithCustomTooltip: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, SunburstChartProps>;
|
|
4
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, SunburstChartProps>;
|
|
6
5
|
export default _default;
|
|
@@ -13,4 +13,4 @@ export interface WaffleCellProps {
|
|
|
13
13
|
onLeave?: any;
|
|
14
14
|
onClick?: any;
|
|
15
15
|
}
|
|
16
|
-
export declare const CustomCell: ({ position, size, x, y, color, fill, opacity, borderWidth, borderColor, data, onHover, onLeave, onClick, }: WaffleCellProps) => JSX.Element;
|
|
16
|
+
export declare const CustomCell: ({ position, size, x, y, color, fill, opacity, borderWidth, borderColor, data, onHover, onLeave, onClick, }: WaffleCellProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { WaffleChartProps } from "./_types";
|
|
2
|
-
declare const WaffleChart: ({ height, width, data, total, tooltip, }: WaffleChartProps) => JSX.Element;
|
|
2
|
+
declare const WaffleChart: ({ height, width, data, total, tooltip, }: WaffleChartProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { WaffleChart };
|