@nationaldesignstudio/react 0.0.1 → 0.0.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nationaldesignstudio/react",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "restricted"
@@ -1,28 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- import * as React from "react";
3
- /**
4
- * Button component based on Figma BaseKit / Interface / Buttons
5
- *
6
- * Variants:
7
- * - charcoal: Dark filled button (bg-gray-1200, text-gray-100)
8
- * - charcoalOutline: Dark outlined button (border-alpha-black-30)
9
- * - charcoalOutlineQuiet: Subtle dark outlined button (border-alpha-black-20)
10
- * - ivory: Light filled button (bg-gray-50, text-gray-1000)
11
- * - ivoryOutline: Light outlined button for dark backgrounds (border-gray-50)
12
- * - ghost: Transparent with subtle border for dark backgrounds
13
- *
14
- * Sizes:
15
- * - lg: Large buttons (px-16, py-12, rounded-12, text-14)
16
- * - default: Medium buttons (px-16, py-12, rounded-12, text-14)
17
- * - sm: Small buttons (p-12, rounded-11, text-12)
18
- * - icon/iconLg/iconSm: Icon-only buttons
19
- */
20
- declare const buttonVariants: (props?: ({
21
- variant?: "charcoal" | "charcoalOutline" | "charcoalOutlineQuiet" | "ivory" | "ivoryOutline" | "ghost" | null | undefined;
22
- size?: "lg" | "default" | "sm" | "iconLg" | "icon" | "iconSm" | null | undefined;
23
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
24
- export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
25
- asChild?: boolean;
26
- }
27
- declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
28
- export { Button, buttonVariants };