@workokay/atom 0.2.11 → 0.2.12

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,13 +1,7 @@
1
- import { VariantProps } from 'class-variance-authority';
2
1
  import * as React from "react";
3
- declare const buttonVariants: (props?: ({
4
- variant?: "primary" | "ghost" | "success" | "danger" | "warning" | "info" | "icon" | "iconGhost" | "iconSquare" | "iconSquareGhost" | "secondary" | null | undefined;
5
- size?: "sm" | "md" | "lg" | null | undefined;
6
- fullWidth?: boolean | null | undefined;
7
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
8
2
  export type ButtonVariant = "primary" | "ghost" | "success" | "danger" | "warning" | "info" | "icon" | "iconGhost" | "iconSquare" | "iconSquareGhost" | "secondary";
9
3
  export type ButtonSize = "sm" | "md" | "lg";
10
- export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
4
+ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
11
5
  /** Render as child element via Radix Slot (e.g. <a>, <Link>) */
12
6
  asChild?: boolean;
13
7
  /** Enable/disable ripple ink (true by default) */
@@ -19,4 +13,3 @@ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElemen
19
13
  fullWidth?: boolean;
20
14
  }
21
15
  export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
22
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workokay/atom",
3
- "version": "0.2.11",
3
+ "version": "0.2.12",
4
4
  "main": "./dist/index.cjs",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",