@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,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ComponentMeta, Story } from "@storybook/react";
|
|
3
1
|
import { TagArgs } from "./_types";
|
|
4
2
|
interface TagStoryProps extends TagArgs {
|
|
5
3
|
canBeClosed: boolean;
|
|
@@ -8,20 +6,10 @@ interface TagStoryProps extends TagArgs {
|
|
|
8
6
|
secondaryTextBold: boolean;
|
|
9
7
|
secondaryTextColor: string;
|
|
10
8
|
}
|
|
11
|
-
export declare const Default:
|
|
12
|
-
export declare const Avatar:
|
|
13
|
-
export declare const Close:
|
|
14
|
-
export declare const Round:
|
|
15
|
-
export declare const Counter:
|
|
16
|
-
declare const _default:
|
|
17
|
-
({ isPill, hue, color, size, ...props }: TagArgs): JSX.Element;
|
|
18
|
-
Avatar: import("styled-components").StyledComponent<{
|
|
19
|
-
(props: import("react").HTMLAttributes<HTMLElement>): JSX.Element;
|
|
20
|
-
displayName: string;
|
|
21
|
-
}, any, {}, never>;
|
|
22
|
-
Close: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
|
|
23
|
-
SecondaryText: import("styled-components").StyledComponent<(props: import("../typography/span/_types").SpanArgs) => JSX.Element, any, {
|
|
24
|
-
color?: string | undefined;
|
|
25
|
-
}, never>;
|
|
26
|
-
}>;
|
|
9
|
+
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, TagStoryProps>;
|
|
10
|
+
export declare const Avatar: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, TagStoryProps>;
|
|
11
|
+
export declare const Close: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, TagStoryProps>;
|
|
12
|
+
export declare const Round: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, TagStoryProps>;
|
|
13
|
+
export declare const Counter: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, TagStoryProps>;
|
|
14
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, TagArgs>;
|
|
27
15
|
export default _default;
|
|
@@ -3,12 +3,6 @@ interface UnguessChartsTheme extends CompleteTheme {
|
|
|
3
3
|
}
|
|
4
4
|
export declare const DEFAULT_CHARTS_THEME: UnguessChartsTheme;
|
|
5
5
|
export declare const CHARTS_COLOR_PALETTE: {
|
|
6
|
-
darkPine: string;
|
|
7
|
-
lightGrey: string;
|
|
8
|
-
darkGrey: string;
|
|
9
|
-
mattone: string;
|
|
10
|
-
gubbioLight: string;
|
|
11
|
-
blueRoyal: string;
|
|
12
6
|
greenLight: string;
|
|
13
7
|
blue: string;
|
|
14
8
|
fucsia: string;
|
|
@@ -18,7 +12,5 @@ export declare const CHARTS_COLOR_PALETTE: {
|
|
|
18
12
|
};
|
|
19
13
|
export declare const CHARTS_COLOR_SCHEME_MONO: string[];
|
|
20
14
|
export declare const CHARTS_COLOR_SCHEME_SEMANTIC: string[];
|
|
21
|
-
export declare const
|
|
22
|
-
export declare const CHARTS_COLOR_SCHEME_CATEGORICAL_8_A: string[];
|
|
23
|
-
export declare const CHARTS_COLOR_SCHEME_CATEGORICAL_8_B: string[];
|
|
15
|
+
export declare const CHARTS_COLOR_SCHEME_CATEGORICAL: string[];
|
|
24
16
|
export {};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
export declare const colors: {
|
|
2
|
+
base: string;
|
|
3
|
+
background: string;
|
|
4
|
+
foreground: string;
|
|
2
5
|
primaryHue: string;
|
|
6
|
+
dangerHue: string;
|
|
3
7
|
warningHue: string;
|
|
4
8
|
successHue: string;
|
|
5
|
-
dangerHue: string;
|
|
6
|
-
accentHue: string;
|
|
7
|
-
base: "light" | "dark";
|
|
8
|
-
background: string;
|
|
9
|
-
foreground: string;
|
|
10
9
|
neutralHue: string;
|
|
10
|
+
infoHue: string;
|
|
11
11
|
chromeHue: string;
|
|
12
|
+
accentHue: string;
|
|
12
13
|
};
|
|
@@ -1,18 +1,28 @@
|
|
|
1
|
+
import { ButtonArgs } from "../buttons/button/_types";
|
|
1
2
|
export declare const components: {
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
"border.neutral": () => string;
|
|
4
|
+
"background.neutral": () => string;
|
|
5
|
+
"background.primary.accent": () => string;
|
|
6
|
+
"background.primary.accent.hover": () => string;
|
|
7
|
+
"background.primary.accent.active": () => string;
|
|
8
|
+
"text.neutral": () => string;
|
|
9
|
+
"text.neutral.bold": () => string;
|
|
10
|
+
"text.neutral.light": () => string;
|
|
11
|
+
"colors.danger": () => string;
|
|
12
|
+
"colors.danger.hover": () => string;
|
|
13
|
+
"colors.danger.active": () => string;
|
|
14
|
+
"text.color.accent.hover": () => string;
|
|
4
15
|
"notifications.notification": ({ type, isPrimary, }: {
|
|
5
16
|
type: string;
|
|
6
17
|
isPrimary: boolean;
|
|
7
18
|
}) => {
|
|
8
|
-
|
|
9
|
-
svg: {
|
|
19
|
+
svg?: {
|
|
10
20
|
marginTop: string;
|
|
11
|
-
color?: undefined;
|
|
12
21
|
} | {
|
|
13
22
|
color: string;
|
|
14
|
-
marginTop
|
|
15
|
-
};
|
|
23
|
+
marginTop: string;
|
|
24
|
+
} | undefined;
|
|
25
|
+
backgroundColor?: string | undefined;
|
|
16
26
|
};
|
|
17
27
|
"notifications.notification.close": ({ type, isPrimary, }: {
|
|
18
28
|
type: string;
|
|
@@ -48,69 +58,98 @@ export declare const components: {
|
|
|
48
58
|
}) => {
|
|
49
59
|
fontWeight: number;
|
|
50
60
|
} | undefined;
|
|
51
|
-
"forms.input": ({ isFocused }: {
|
|
52
|
-
isFocused: boolean;
|
|
53
|
-
}) => {
|
|
54
|
-
boxShadow: string;
|
|
55
|
-
} | undefined;
|
|
56
61
|
"dropdowns.item": ({ addable, checked, ...rest }: {
|
|
57
62
|
addable: boolean;
|
|
58
63
|
checked: boolean;
|
|
59
64
|
}) => {
|
|
60
|
-
"&:hover": {
|
|
61
|
-
backgroundColor: string;
|
|
62
|
-
};
|
|
63
65
|
fontWeight?: number | undefined;
|
|
64
66
|
color?: string | undefined;
|
|
65
67
|
cursor?: string | undefined;
|
|
66
68
|
};
|
|
67
|
-
"buttons.icon_button": ({
|
|
68
|
-
isBasic: boolean;
|
|
69
|
-
isDanger: boolean;
|
|
70
|
-
isPrimary: boolean;
|
|
71
|
-
isHovered: boolean;
|
|
72
|
-
isNeutral: boolean;
|
|
73
|
-
isBright: boolean;
|
|
74
|
-
disabled: boolean;
|
|
75
|
-
}) => {
|
|
69
|
+
"buttons.icon_button": ({ disabled, isBright, isAccent, isPrimary, isBasic, }: ButtonArgs) => {
|
|
76
70
|
pointerEvents?: string | undefined;
|
|
77
71
|
backgroundColor?: string | undefined;
|
|
78
72
|
color?: string | undefined;
|
|
73
|
+
border?: string | undefined;
|
|
79
74
|
"&:hover"?: {
|
|
75
|
+
borderColor: string | undefined;
|
|
76
|
+
color: string | undefined;
|
|
80
77
|
backgroundColor: string;
|
|
81
|
-
color?: undefined;
|
|
82
78
|
} | {
|
|
83
79
|
backgroundColor: string;
|
|
80
|
+
color: string | undefined;
|
|
81
|
+
borderColor?: undefined;
|
|
82
|
+
} | {
|
|
83
|
+
backgroundColor: string | undefined;
|
|
84
84
|
color: string;
|
|
85
|
+
borderColor?: undefined;
|
|
86
|
+
} | {
|
|
87
|
+
backgroundColor: string;
|
|
88
|
+
borderColor?: undefined;
|
|
89
|
+
color?: undefined;
|
|
85
90
|
} | undefined;
|
|
86
91
|
"&:active"?: {
|
|
92
|
+
borderColor: string | undefined;
|
|
93
|
+
color: string | undefined;
|
|
94
|
+
backgroundColor: string;
|
|
95
|
+
} | {
|
|
87
96
|
backgroundColor: string;
|
|
97
|
+
color: string | undefined;
|
|
98
|
+
borderColor?: undefined;
|
|
99
|
+
} | {
|
|
100
|
+
backgroundColor: string | undefined;
|
|
88
101
|
color: string;
|
|
102
|
+
borderColor?: undefined;
|
|
103
|
+
} | {
|
|
104
|
+
backgroundColor: string;
|
|
105
|
+
borderColor?: undefined;
|
|
106
|
+
color?: undefined;
|
|
89
107
|
} | undefined;
|
|
108
|
+
borderColor?: string | undefined;
|
|
90
109
|
};
|
|
91
|
-
"buttons.button": ({
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
backgroundColor: string;
|
|
99
|
-
color: string;
|
|
100
|
-
border: string;
|
|
101
|
-
"&:hover": {
|
|
110
|
+
"buttons.button": ({ isAccent, isBright, isPrimary, isBasic, isLink, }: ButtonArgs) => {
|
|
111
|
+
backgroundColor?: string | undefined;
|
|
112
|
+
color?: string | undefined;
|
|
113
|
+
border?: string | undefined;
|
|
114
|
+
"&:hover"?: {
|
|
115
|
+
borderColor: string | undefined;
|
|
116
|
+
color: string | undefined;
|
|
102
117
|
backgroundColor: string;
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
118
|
+
} | {
|
|
119
|
+
backgroundColor: string | undefined;
|
|
120
|
+
borderColor?: undefined;
|
|
121
|
+
color?: undefined;
|
|
122
|
+
} | {
|
|
106
123
|
backgroundColor: string;
|
|
107
|
-
color: string;
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
"&:active"?:
|
|
124
|
+
color: string | undefined;
|
|
125
|
+
borderColor?: undefined;
|
|
126
|
+
} | {
|
|
127
|
+
color: string | undefined;
|
|
128
|
+
borderColor?: undefined;
|
|
129
|
+
backgroundColor?: undefined;
|
|
130
|
+
} | undefined;
|
|
131
|
+
"&:active"?: {
|
|
132
|
+
borderColor: string | undefined;
|
|
133
|
+
color: string | undefined;
|
|
134
|
+
backgroundColor: string;
|
|
135
|
+
} | {
|
|
136
|
+
backgroundColor: string | undefined;
|
|
137
|
+
borderColor?: undefined;
|
|
138
|
+
color?: undefined;
|
|
139
|
+
} | {
|
|
140
|
+
backgroundColor: string;
|
|
141
|
+
color: string | undefined;
|
|
142
|
+
borderColor?: undefined;
|
|
143
|
+
} | {
|
|
144
|
+
color: string | undefined;
|
|
145
|
+
borderColor?: undefined;
|
|
146
|
+
backgroundColor?: undefined;
|
|
147
|
+
} | undefined;
|
|
148
|
+
borderColor?: string | undefined;
|
|
149
|
+
};
|
|
150
|
+
"cards.card": {
|
|
151
|
+
border: string;
|
|
115
152
|
};
|
|
153
|
+
chrome: any;
|
|
154
|
+
notification: any;
|
|
116
155
|
};
|
|
@@ -8,16 +8,17 @@ declare const theme: {
|
|
|
8
8
|
xl: string;
|
|
9
9
|
};
|
|
10
10
|
colors: {
|
|
11
|
+
base: string;
|
|
12
|
+
background: string;
|
|
13
|
+
foreground: string;
|
|
11
14
|
primaryHue: string;
|
|
15
|
+
dangerHue: string;
|
|
12
16
|
warningHue: string;
|
|
13
17
|
successHue: string;
|
|
14
|
-
dangerHue: string;
|
|
15
|
-
accentHue: string;
|
|
16
|
-
base: "light" | "dark";
|
|
17
|
-
background: string;
|
|
18
|
-
foreground: string;
|
|
19
18
|
neutralHue: string;
|
|
19
|
+
infoHue: string;
|
|
20
20
|
chromeHue: string;
|
|
21
|
+
accentHue: string;
|
|
21
22
|
};
|
|
22
23
|
palette: {
|
|
23
24
|
black: string;
|
|
@@ -44,6 +45,7 @@ declare const theme: {
|
|
|
44
45
|
"800": string;
|
|
45
46
|
};
|
|
46
47
|
blue: {
|
|
48
|
+
"50": string;
|
|
47
49
|
"100": string;
|
|
48
50
|
"200": string;
|
|
49
51
|
"300": string;
|
|
@@ -62,6 +64,7 @@ declare const theme: {
|
|
|
62
64
|
"600": string;
|
|
63
65
|
"700": string;
|
|
64
66
|
"800": string;
|
|
67
|
+
"900": string;
|
|
65
68
|
};
|
|
66
69
|
yellow: {
|
|
67
70
|
"100": string;
|
|
@@ -72,8 +75,10 @@ declare const theme: {
|
|
|
72
75
|
"600": string;
|
|
73
76
|
"700": string;
|
|
74
77
|
"800": string;
|
|
78
|
+
"900": string;
|
|
75
79
|
};
|
|
76
80
|
green: {
|
|
81
|
+
"50": string;
|
|
77
82
|
"100": string;
|
|
78
83
|
"200": string;
|
|
79
84
|
"300": string;
|
|
@@ -83,7 +88,7 @@ declare const theme: {
|
|
|
83
88
|
"700": string;
|
|
84
89
|
"800": string;
|
|
85
90
|
};
|
|
86
|
-
|
|
91
|
+
azure: {
|
|
87
92
|
"100": string;
|
|
88
93
|
"200": string;
|
|
89
94
|
"300": string;
|
|
@@ -92,26 +97,29 @@ declare const theme: {
|
|
|
92
97
|
"600": string;
|
|
93
98
|
"700": string;
|
|
94
99
|
"800": string;
|
|
100
|
+
"900": string;
|
|
95
101
|
};
|
|
96
|
-
|
|
97
|
-
"
|
|
102
|
+
kale: {
|
|
103
|
+
"100": string;
|
|
104
|
+
"200": string;
|
|
105
|
+
"300": string;
|
|
98
106
|
"600": string;
|
|
99
|
-
|
|
100
|
-
|
|
107
|
+
"700": string;
|
|
108
|
+
"800": string;
|
|
101
109
|
};
|
|
102
110
|
pink: {
|
|
103
|
-
"400": string;
|
|
104
111
|
"600": string;
|
|
105
|
-
|
|
106
|
-
|
|
112
|
+
"700": string;
|
|
113
|
+
"800": string;
|
|
114
|
+
"900": string;
|
|
107
115
|
};
|
|
108
116
|
crimson: {
|
|
117
|
+
"200": string;
|
|
118
|
+
"300": string;
|
|
109
119
|
"400": string;
|
|
110
|
-
"
|
|
111
|
-
M400: string;
|
|
112
|
-
M600: string;
|
|
120
|
+
"500": string;
|
|
113
121
|
};
|
|
114
|
-
|
|
122
|
+
fuschia: {
|
|
115
123
|
"400": string;
|
|
116
124
|
"600": string;
|
|
117
125
|
M400: string;
|
|
@@ -119,54 +127,46 @@ declare const theme: {
|
|
|
119
127
|
};
|
|
120
128
|
lemon: {
|
|
121
129
|
"400": string;
|
|
130
|
+
"500": string;
|
|
122
131
|
"600": string;
|
|
123
|
-
|
|
124
|
-
M600: string;
|
|
132
|
+
"700": string;
|
|
125
133
|
};
|
|
126
|
-
|
|
134
|
+
teal: {
|
|
127
135
|
"400": string;
|
|
136
|
+
"500": string;
|
|
128
137
|
"600": string;
|
|
129
|
-
|
|
130
|
-
M600: string;
|
|
138
|
+
"700": string;
|
|
131
139
|
};
|
|
132
|
-
|
|
133
|
-
"400": string;
|
|
140
|
+
royal: {
|
|
134
141
|
"600": string;
|
|
135
|
-
|
|
136
|
-
|
|
142
|
+
"700": string;
|
|
143
|
+
"800": string;
|
|
144
|
+
"900": string;
|
|
137
145
|
};
|
|
138
|
-
|
|
146
|
+
purple: {
|
|
147
|
+
"200": string;
|
|
148
|
+
"300": string;
|
|
139
149
|
"400": string;
|
|
140
|
-
"
|
|
141
|
-
M400: string;
|
|
142
|
-
M600: string;
|
|
150
|
+
"500": string;
|
|
143
151
|
};
|
|
144
|
-
|
|
152
|
+
lime: {
|
|
145
153
|
"400": string;
|
|
146
154
|
"600": string;
|
|
147
155
|
M400: string;
|
|
148
156
|
M600: string;
|
|
149
157
|
};
|
|
150
|
-
|
|
158
|
+
mint: {
|
|
151
159
|
"400": string;
|
|
152
160
|
"600": string;
|
|
153
161
|
M400: string;
|
|
154
162
|
M600: string;
|
|
155
163
|
};
|
|
156
|
-
|
|
164
|
+
orange: {
|
|
157
165
|
"400": string;
|
|
158
166
|
"600": string;
|
|
159
167
|
M400: string;
|
|
160
168
|
M600: string;
|
|
161
169
|
};
|
|
162
|
-
water: {
|
|
163
|
-
100: string;
|
|
164
|
-
200: string;
|
|
165
|
-
300: string;
|
|
166
|
-
600: string;
|
|
167
|
-
700: string;
|
|
168
|
-
800: string;
|
|
169
|
-
};
|
|
170
170
|
};
|
|
171
171
|
fonts: {
|
|
172
172
|
system: string;
|
|
@@ -184,7 +184,6 @@ declare const theme: {
|
|
|
184
184
|
black: number;
|
|
185
185
|
};
|
|
186
186
|
gradients: {
|
|
187
|
-
horizontal: string;
|
|
188
187
|
dark: string;
|
|
189
188
|
};
|
|
190
189
|
borderRadii: {
|
|
@@ -204,20 +203,29 @@ declare const theme: {
|
|
|
204
203
|
xxxl: string;
|
|
205
204
|
};
|
|
206
205
|
components: {
|
|
207
|
-
|
|
208
|
-
|
|
206
|
+
"border.neutral": () => string;
|
|
207
|
+
"background.neutral": () => string;
|
|
208
|
+
"background.primary.accent": () => string;
|
|
209
|
+
"background.primary.accent.hover": () => string;
|
|
210
|
+
"background.primary.accent.active": () => string;
|
|
211
|
+
"text.neutral": () => string;
|
|
212
|
+
"text.neutral.bold": () => string;
|
|
213
|
+
"text.neutral.light": () => string;
|
|
214
|
+
"colors.danger": () => string;
|
|
215
|
+
"colors.danger.hover": () => string;
|
|
216
|
+
"colors.danger.active": () => string;
|
|
217
|
+
"text.color.accent.hover": () => string;
|
|
209
218
|
"notifications.notification": ({ type, isPrimary, }: {
|
|
210
219
|
type: string;
|
|
211
220
|
isPrimary: boolean;
|
|
212
221
|
}) => {
|
|
213
|
-
|
|
214
|
-
svg: {
|
|
222
|
+
svg?: {
|
|
215
223
|
marginTop: string;
|
|
216
|
-
color?: undefined;
|
|
217
224
|
} | {
|
|
218
225
|
color: string;
|
|
219
|
-
marginTop
|
|
220
|
-
};
|
|
226
|
+
marginTop: string;
|
|
227
|
+
} | undefined;
|
|
228
|
+
backgroundColor?: string | undefined;
|
|
221
229
|
};
|
|
222
230
|
"notifications.notification.close": ({ type, isPrimary, }: {
|
|
223
231
|
type: string;
|
|
@@ -253,74 +261,104 @@ declare const theme: {
|
|
|
253
261
|
}) => {
|
|
254
262
|
fontWeight: number;
|
|
255
263
|
} | undefined;
|
|
256
|
-
"forms.input": ({ isFocused }: {
|
|
257
|
-
isFocused: boolean;
|
|
258
|
-
}) => {
|
|
259
|
-
boxShadow: string;
|
|
260
|
-
} | undefined;
|
|
261
264
|
"dropdowns.item": ({ addable, checked, ...rest }: {
|
|
262
265
|
addable: boolean;
|
|
263
266
|
checked: boolean;
|
|
264
267
|
}) => {
|
|
265
|
-
"&:hover": {
|
|
266
|
-
backgroundColor: string;
|
|
267
|
-
};
|
|
268
268
|
fontWeight?: number | undefined;
|
|
269
269
|
color?: string | undefined;
|
|
270
270
|
cursor?: string | undefined;
|
|
271
271
|
};
|
|
272
|
-
"buttons.icon_button": ({
|
|
273
|
-
isBasic: boolean;
|
|
274
|
-
isDanger: boolean;
|
|
275
|
-
isPrimary: boolean;
|
|
276
|
-
isHovered: boolean;
|
|
277
|
-
isNeutral: boolean;
|
|
278
|
-
isBright: boolean;
|
|
279
|
-
disabled: boolean;
|
|
280
|
-
}) => {
|
|
272
|
+
"buttons.icon_button": ({ disabled, isBright, isAccent, isPrimary, isBasic, }: import("../buttons/button/_types").ButtonArgs) => {
|
|
281
273
|
pointerEvents?: string | undefined;
|
|
282
274
|
backgroundColor?: string | undefined;
|
|
283
275
|
color?: string | undefined;
|
|
276
|
+
border?: string | undefined;
|
|
284
277
|
"&:hover"?: {
|
|
278
|
+
borderColor: string | undefined;
|
|
279
|
+
color: string | undefined;
|
|
285
280
|
backgroundColor: string;
|
|
286
|
-
color?: undefined;
|
|
287
281
|
} | {
|
|
288
282
|
backgroundColor: string;
|
|
283
|
+
color: string | undefined;
|
|
284
|
+
borderColor?: undefined;
|
|
285
|
+
} | {
|
|
286
|
+
backgroundColor: string | undefined;
|
|
289
287
|
color: string;
|
|
288
|
+
borderColor?: undefined;
|
|
289
|
+
} | {
|
|
290
|
+
backgroundColor: string;
|
|
291
|
+
borderColor?: undefined;
|
|
292
|
+
color?: undefined;
|
|
290
293
|
} | undefined;
|
|
291
294
|
"&:active"?: {
|
|
295
|
+
borderColor: string | undefined;
|
|
296
|
+
color: string | undefined;
|
|
292
297
|
backgroundColor: string;
|
|
298
|
+
} | {
|
|
299
|
+
backgroundColor: string;
|
|
300
|
+
color: string | undefined;
|
|
301
|
+
borderColor?: undefined;
|
|
302
|
+
} | {
|
|
303
|
+
backgroundColor: string | undefined;
|
|
293
304
|
color: string;
|
|
305
|
+
borderColor?: undefined;
|
|
306
|
+
} | {
|
|
307
|
+
backgroundColor: string;
|
|
308
|
+
borderColor?: undefined;
|
|
309
|
+
color?: undefined;
|
|
294
310
|
} | undefined;
|
|
311
|
+
borderColor?: string | undefined;
|
|
295
312
|
};
|
|
296
|
-
"buttons.button": ({
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
backgroundColor: string;
|
|
304
|
-
color: string;
|
|
305
|
-
border: string;
|
|
306
|
-
"&:hover": {
|
|
313
|
+
"buttons.button": ({ isAccent, isBright, isPrimary, isBasic, isLink, }: import("../buttons/button/_types").ButtonArgs) => {
|
|
314
|
+
backgroundColor?: string | undefined;
|
|
315
|
+
color?: string | undefined;
|
|
316
|
+
border?: string | undefined;
|
|
317
|
+
"&:hover"?: {
|
|
318
|
+
borderColor: string | undefined;
|
|
319
|
+
color: string | undefined;
|
|
307
320
|
backgroundColor: string;
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
321
|
+
} | {
|
|
322
|
+
backgroundColor: string | undefined;
|
|
323
|
+
borderColor?: undefined;
|
|
324
|
+
color?: undefined;
|
|
325
|
+
} | {
|
|
311
326
|
backgroundColor: string;
|
|
312
|
-
color: string;
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
"&:active"?:
|
|
327
|
+
color: string | undefined;
|
|
328
|
+
borderColor?: undefined;
|
|
329
|
+
} | {
|
|
330
|
+
color: string | undefined;
|
|
331
|
+
borderColor?: undefined;
|
|
332
|
+
backgroundColor?: undefined;
|
|
333
|
+
} | undefined;
|
|
334
|
+
"&:active"?: {
|
|
335
|
+
borderColor: string | undefined;
|
|
336
|
+
color: string | undefined;
|
|
337
|
+
backgroundColor: string;
|
|
338
|
+
} | {
|
|
339
|
+
backgroundColor: string | undefined;
|
|
340
|
+
borderColor?: undefined;
|
|
341
|
+
color?: undefined;
|
|
342
|
+
} | {
|
|
343
|
+
backgroundColor: string;
|
|
344
|
+
color: string | undefined;
|
|
345
|
+
borderColor?: undefined;
|
|
346
|
+
} | {
|
|
347
|
+
color: string | undefined;
|
|
348
|
+
borderColor?: undefined;
|
|
349
|
+
backgroundColor?: undefined;
|
|
350
|
+
} | undefined;
|
|
351
|
+
borderColor?: string | undefined;
|
|
352
|
+
};
|
|
353
|
+
"cards.card": {
|
|
354
|
+
border: string;
|
|
320
355
|
};
|
|
356
|
+
chrome: any;
|
|
357
|
+
notification: any;
|
|
321
358
|
};
|
|
322
359
|
shadows: {
|
|
323
|
-
boxShadow: (theme: import("
|
|
360
|
+
boxShadow: (theme: import("styled-components").DefaultTheme) => string;
|
|
361
|
+
xs: (color: string) => string;
|
|
324
362
|
sm: (color: string) => string;
|
|
325
363
|
md: (color: string) => string;
|
|
326
364
|
lg: (offsetY: string, blurRadius: string, color: string) => string;
|
|
@@ -333,6 +371,7 @@ declare const theme: {
|
|
|
333
371
|
};
|
|
334
372
|
rtl: boolean;
|
|
335
373
|
document?: any;
|
|
374
|
+
window?: any;
|
|
336
375
|
borders: {
|
|
337
376
|
sm: string;
|
|
338
377
|
md: string;
|
|
@@ -359,6 +398,7 @@ declare const theme: {
|
|
|
359
398
|
lg: string;
|
|
360
399
|
};
|
|
361
400
|
shadowWidths: {
|
|
401
|
+
xs: string;
|
|
362
402
|
sm: string;
|
|
363
403
|
md: string;
|
|
364
404
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const flexCenter: import("styled-components").FlattenSimpleInterpolation;
|
|
2
2
|
export declare const flexColumnCenter: import("styled-components").FlattenSimpleInterpolation;
|
|
3
|
-
export declare const flexStart: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<
|
|
4
|
-
export declare const cardStyle: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<
|
|
3
|
+
export declare const flexStart: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
4
|
+
export declare const cardStyle: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|