@infra-cryptomate/react-components 0.0.9 → 0.0.11

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,7 +1,9 @@
1
+ import React from 'react';
1
2
  import { type StylesVariants, type SizesVariants } from './button.types';
2
- interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
3
+ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
3
4
  variant?: StylesVariants;
4
5
  size?: SizesVariants;
6
+ asChild?: boolean;
5
7
  }
6
- export declare const Button: React.FC<ButtonProps>;
7
- export {};
8
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
9
+ export { Button };
@@ -1,4 +1,4 @@
1
- import { LevelVariants } from './heading.types';
1
+ import { type LevelVariants } from './heading.types';
2
2
  interface HeadingProps extends React.HTMLAttributes<HTMLHeadingElement> {
3
3
  level?: LevelVariants;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { Label as LabelType } from './checkbox-container.types';
1
+ import { type Label as LabelType } from './checkbox-container.types';
2
2
  interface CheckboxContainerProps extends React.InputHTMLAttributes<HTMLInputElement> {
3
3
  label?: LabelType;
4
4
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@infra-cryptomate/react-components",
3
3
  "description": "",
4
- "version": "0.0.9",
4
+ "version": "0.0.11",
5
5
  "type": "module",
6
6
  "main": "./dist/components.umd.js",
7
7
  "module": "./dist/components.es.js",
@@ -36,6 +36,7 @@
36
36
  "@radix-ui/react-dropdown-menu": "2.0.5",
37
37
  "@radix-ui/react-radio-group": "1.1.3",
38
38
  "@radix-ui/react-select": "1.2.2",
39
+ "@radix-ui/react-slot": "1.0.2",
39
40
  "@radix-ui/react-toast": "1.1.4",
40
41
  "@types/uuid": "9.0.3",
41
42
  "autoprefixer": "10.4.15",