periplo-ui 1.3.0 → 1.5.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/dist/components/Button/Button.d.ts +3 -2
- package/dist/components/Button/Button.stories.d.ts +1 -0
- package/dist/components/Typography/Typography.d.ts +1 -1
- package/dist/components/Typography/Typography.stories.d.ts +15 -15
- package/dist/periplo-ui.js +227 -204
- package/dist/periplo-ui.js.map +1 -1
- package/dist/periplo-ui.umd.cjs +10 -10
- package/dist/periplo-ui.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { type VariantProps } from 'class-variance-authority';
|
|
2
|
-
import
|
|
2
|
+
import React from 'react';
|
|
3
3
|
declare const buttonVariants: (props?: ({
|
|
4
|
-
|
|
4
|
+
intent?: "neutral" | "primary" | "accent" | "success" | "warning" | "error" | "link" | null | undefined;
|
|
5
|
+
variant?: "filled" | "outlined" | "text" | "elevated" | "tonal" | null | undefined;
|
|
5
6
|
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
6
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
8
|
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
@@ -17,5 +17,6 @@ export declare const Success: Story;
|
|
|
17
17
|
export declare const Warning: Story;
|
|
18
18
|
export declare const Error: Story;
|
|
19
19
|
export declare const Link: Story;
|
|
20
|
+
export declare const Disabled: Story;
|
|
20
21
|
export declare const WithIcon: Story;
|
|
21
22
|
export declare const OnlyIcon: Story;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type VariantProps } from 'class-variance-authority';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
declare const typographyVariants: (props?: ({
|
|
4
|
-
variant?: "
|
|
4
|
+
variant?: "display-large" | "display-medium" | "display-small" | "headline-large" | "headline-medium" | "headline-small" | "title-large" | "title-medium" | "title-small" | "label-large" | "label-medium" | "label-small" | "body-large" | "body-medium" | "body-small" | null | undefined;
|
|
5
5
|
fontWeight?: "default" | "bold" | "light" | "normal" | "medium" | "semiBold" | "extraBold" | null | undefined;
|
|
6
6
|
colors?: "neutral" | "primary" | "accent" | "success" | "warning" | "error" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -10,18 +10,18 @@ declare const meta: {
|
|
|
10
10
|
};
|
|
11
11
|
export default meta;
|
|
12
12
|
type Story = StoryObj<typeof meta>;
|
|
13
|
-
export declare const
|
|
14
|
-
export declare const
|
|
15
|
-
export declare const
|
|
16
|
-
export declare const
|
|
17
|
-
export declare const
|
|
18
|
-
export declare const
|
|
19
|
-
export declare const
|
|
20
|
-
export declare const
|
|
21
|
-
export declare const
|
|
22
|
-
export declare const
|
|
23
|
-
export declare const
|
|
24
|
-
export declare const
|
|
25
|
-
export declare const
|
|
26
|
-
export declare const
|
|
27
|
-
export declare const
|
|
13
|
+
export declare const DisplayLarge: Story;
|
|
14
|
+
export declare const DisplayMedium: Story;
|
|
15
|
+
export declare const DisplaySmall: Story;
|
|
16
|
+
export declare const HeadlineLarge: Story;
|
|
17
|
+
export declare const HeadlineMedium: Story;
|
|
18
|
+
export declare const HeadlineSmall: Story;
|
|
19
|
+
export declare const TitleLarge: Story;
|
|
20
|
+
export declare const TitleMedium: Story;
|
|
21
|
+
export declare const TitleSmall: Story;
|
|
22
|
+
export declare const LabelLarge: Story;
|
|
23
|
+
export declare const LabelMedium: Story;
|
|
24
|
+
export declare const LabelSmall: Story;
|
|
25
|
+
export declare const BodyLarge: Story;
|
|
26
|
+
export declare const BodyMedium: Story;
|
|
27
|
+
export declare const BodySmall: Story;
|