periplo-ui 1.3.0 → 1.4.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/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;
|