@appquality/unguess-design-system 3.1.1-nav-beta → 3.1.2-beta.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/CHANGELOG.md +32 -0
- package/build/index.d.ts +1 -1
- package/build/index.js +457 -453
- package/build/stories/alerts/index.d.ts +1 -1
- package/build/stories/breadcrumbs/index.stories.d.ts +2 -2
- package/build/stories/buttons/anchor/index.d.ts +2 -2
- package/build/stories/buttons/anchor/index.stories.d.ts +5 -5
- 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 +5 -1216
- package/build/stories/buttons/button-group/index.d.ts +2 -2
- package/build/stories/buttons/button-group/index.stories.d.ts +10 -11
- package/build/stories/buttons/icon-button/_types.d.ts +2 -16
- package/build/stories/buttons/icon-button/index.stories.d.ts +2 -2
- package/build/stories/buttons/utils.d.ts +12 -0
- package/build/stories/cards/index.d.ts +6 -0
- package/build/stories/charts/ChartContainer.d.ts +1 -1
- package/build/stories/dropdowns/field/index.d.ts +1 -1
- package/build/stories/dropdowns/select/index.d.ts +1 -1
- package/build/stories/editor/editorStyle.d.ts +1 -1
- package/build/stories/forms/input/index.d.ts +1 -1
- package/build/stories/forms/input-toggle/index.d.ts +1 -1
- package/build/stories/label/index.d.ts +1 -1
- package/build/stories/lightbox/parts/body.d.ts +3 -3
- package/build/stories/lightbox/parts/footer.d.ts +1 -1
- package/build/stories/modals/fullscreen/index.d.ts +4 -4
- package/build/stories/modals/index.d.ts +1 -1
- package/build/stories/navigation/header/header-item/brandItem.d.ts +1 -1
- package/build/stories/navigation/nav/nav-item/accordionItem.d.ts +3 -3
- package/build/stories/navigation/nav/nav-item/index.d.ts +2 -1
- package/build/stories/navigation/nav/nav-item/navItemProject.d.ts +1 -1
- package/build/stories/navigation/page-header/index.d.ts +8 -4
- package/build/stories/navigation/page-header/styled/main.d.ts +9 -4
- package/build/stories/navigation/sidebar/index.stories.d.ts +0 -4
- package/build/stories/player/parts/container.d.ts +1 -1
- package/build/stories/player/parts/controls.d.ts +2 -2
- package/build/stories/player/parts/floatingControls.d.ts +1 -1
- package/build/stories/player/parts/video.d.ts +1 -1
- package/build/stories/profile-modal/menuItem.d.ts +1 -1
- package/build/stories/profile-modal/menuItemIcon.d.ts +1 -1
- package/build/stories/slider/index.d.ts +2 -0
- package/build/stories/slider/parts/container.d.ts +1 -1
- package/build/stories/slider/parts/slickSlider.d.ts +1 -1
- package/build/stories/special-cards/index.d.ts +12 -5
- package/build/stories/special-cards/styled/header.d.ts +10 -3
- 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 +3 -3
- package/build/stories/tags/index.d.ts +3 -3
- package/build/stories/theme/charts.d.ts +1 -17
- package/build/stories/theme/colors.d.ts +5 -10
- package/build/stories/theme/components.d.ts +112 -43
- package/build/stories/theme/gradients.d.ts +0 -1
- package/build/stories/theme/index.d.ts +137 -85
- 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 +19 -5
- package/build/stories/theme/utils.d.ts +6 -2
- package/build/stories/timeline/index.d.ts +2 -2
- package/build/stories/tooltip/index.d.ts +1 -1
- package/build/stories/tooltip/index.stories.d.ts +1 -1
- package/build/stories/typography/paragraph/index.d.ts +2 -2
- package/build/stories/typography/paragraph/index.stories.d.ts +3 -3
- package/build/stories/typography/typescale/anchortag/index.stories.d.ts +11 -1
- package/build/stories/typography/typescale/index.d.ts +26 -8
- package/build/stories/typography/typescale/index.stories.d.ts +11 -1
- package/package.json +3 -2
- package/yarn-error.log +10059 -6023
- 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/build/stories/typography/paragraph/_types.d.ts +0 -5
- package/build/stories/typography/typescale/_types.d.ts +0 -43
|
@@ -9,7 +9,7 @@ import { AlertArgs } from './_types';
|
|
|
9
9
|
*/
|
|
10
10
|
declare const Alert: {
|
|
11
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>>,
|
|
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,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IAnchorProps } from "@zendeskgarden/react-buttons";
|
|
2
2
|
import { BreadcrumbArgs } from "./_types";
|
|
3
3
|
interface StoryArgs extends BreadcrumbArgs {
|
|
4
|
-
items:
|
|
4
|
+
items: IAnchorProps & {
|
|
5
5
|
children: string;
|
|
6
6
|
onClick: () => void;
|
|
7
7
|
}[];
|
|
@@ -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,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
export declare const Basic: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R,
|
|
4
|
-
export declare const Danger: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R,
|
|
5
|
-
export declare const External: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R,
|
|
6
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R,
|
|
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>>;
|
|
7
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;
|