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.
@@ -1,7 +1,8 @@
1
1
  import { type VariantProps } from 'class-variance-authority';
2
- import * as React from 'react';
2
+ import React from 'react';
3
3
  declare const buttonVariants: (props?: ({
4
- variant?: "neutral" | "primary" | "accent" | "success" | "warning" | "error" | "link" | null | undefined;
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?: "caption" | "display1" | "display2" | "heading3xl" | "heading2xl" | "headingXl" | "headingLg" | "headingMd" | "headingSm" | "subheading" | "bodyLg" | "bodyMd" | "bodyBase" | "bodySm" | "footer" | null | undefined;
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 Display1: Story;
14
- export declare const Display2: Story;
15
- export declare const Heading3xl: Story;
16
- export declare const Heading2xl: Story;
17
- export declare const HeadingXl: Story;
18
- export declare const HeadingLg: Story;
19
- export declare const HeadingMd: Story;
20
- export declare const HeadingSm: Story;
21
- export declare const Subheading: Story;
22
- export declare const BodyLg: Story;
23
- export declare const BodyMd: Story;
24
- export declare const BodyBase: Story;
25
- export declare const BodySm: Story;
26
- export declare const Caption: Story;
27
- export declare const Footer: Story;
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;