@1d1s/design-system 0.1.0 → 0.1.7

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,6 +1,6 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  declare const customButtonVariants: (props?: ({
3
- variant?: "default" | "input" | "disabled" | "warning" | "loading" | "outline" | null | undefined;
3
+ variant?: "input" | "disabled" | "default" | "warning" | "loading" | "outline" | null | undefined;
4
4
  size?: "lg" | "md" | "sm" | null | undefined;
5
5
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
6
  export interface ButtonProps extends React.ComponentProps<"button">, VariantProps<typeof customButtonVariants> {
@@ -9,4 +9,4 @@
9
9
  * <ImagePicker onChange={(e) => console.log(e.target.files)} />
10
10
  * ```
11
11
  */
12
- export declare function ImagePicker({ onChange, ...props }: React.ComponentPropsWithoutRef<'input'>): React.ReactElement;
12
+ export declare function ImagePicker({ onChange, ...props }: React.ComponentPropsWithoutRef<"input">): React.ReactElement;
@@ -1,7 +1,7 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import * as React from 'react';
3
3
  declare const textFieldVariants: (props?: ({
4
- variant?: "default" | "search" | null | undefined;
4
+ variant?: "search" | "default" | null | undefined;
5
5
  size?: "default" | null | undefined;
6
6
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
7
  interface TextFieldProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'>, VariantProps<typeof textFieldVariants> {
@@ -1,7 +1,7 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import * as React from 'react';
3
3
  declare const buttonVariants: (props?: ({
4
- variant?: "default" | "link" | "outline" | "destructive" | "secondary" | "ghost" | null | undefined;
4
+ variant?: "link" | "default" | "outline" | "destructive" | "secondary" | "ghost" | null | undefined;
5
5
  size?: "default" | "lg" | "sm" | "icon" | null | undefined;
6
6
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
7
  export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {