periplo-ui 1.7.0 → 1.7.1
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/Avatar/Avatar.d.ts +1 -1
- package/dist/components/Button/Button.d.ts +4 -3
- package/dist/components/Typography/Typography.d.ts +1 -1
- package/dist/periplo-ui.js +139 -140
- package/dist/periplo-ui.js.map +1 -1
- package/dist/periplo-ui.umd.cjs +9 -9
- package/dist/periplo-ui.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
|
2
2
|
import { type VariantProps } from 'class-variance-authority';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
declare const avatarVariants: (props?: ({
|
|
5
|
-
size?: "sm" | "
|
|
5
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
export interface AvatarProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof avatarVariants> {
|
|
8
8
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { type VariantProps } from 'class-variance-authority';
|
|
2
|
-
import React from 'react';
|
|
2
|
+
import React, { ReactNode } from 'react';
|
|
3
3
|
declare const buttonVariants: (props?: ({
|
|
4
4
|
intent?: "neutral" | "primary" | "accent" | "success" | "warning" | "error" | "link" | null | undefined;
|
|
5
5
|
variant?: "filled" | "outlined" | "text" | "elevated" | "tonal" | null | undefined;
|
|
6
|
-
size?: "
|
|
6
|
+
size?: "sm" | "md" | "lg" | "icon" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
9
|
-
|
|
9
|
+
endContent?: ReactNode;
|
|
10
|
+
startContent?: ReactNode;
|
|
10
11
|
}
|
|
11
12
|
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
12
13
|
export { Button, buttonVariants };
|
|
@@ -2,7 +2,7 @@ import { type VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
declare const typographyVariants: (props?: ({
|
|
4
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
|
-
fontWeight?: "
|
|
5
|
+
fontWeight?: "bold" | "default" | "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;
|
|
8
8
|
export interface TypographyProps extends React.BaseHTMLAttributes<HTMLParagraphElement>, VariantProps<typeof typographyVariants> {
|