@gearbox-protocol/permissionless-ui 1.8.0 → 1.9.0

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.
@@ -35,7 +35,7 @@ const Checkbox = React__namespace.forwardRef(({ className, ...props }, ref) => /
35
35
  {
36
36
  ref,
37
37
  className: utils_cn.cn(
38
- "peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow cursor-pointer focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",
38
+ "peer h-4 w-4 shrink-0 rounded-[4px] border border-primary shadow cursor-pointer transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",
39
39
  className
40
40
  ),
41
41
  ...props,
@@ -31,7 +31,7 @@ const LabelPrimitive__namespace = /*#__PURE__*/_interopNamespaceDefault(LabelPri
31
31
  const React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
32
32
 
33
33
  const labelVariants = classVarianceAuthority.cva(
34
- "flex font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
34
+ "flex leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
35
35
  {
36
36
  variants: {
37
37
  size: {
@@ -11,7 +11,7 @@ const Checkbox = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__
11
11
  {
12
12
  ref,
13
13
  className: cn(
14
- "peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow cursor-pointer focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",
14
+ "peer h-4 w-4 shrink-0 rounded-[4px] border border-primary shadow cursor-pointer transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",
15
15
  className
16
16
  ),
17
17
  ...props,
@@ -7,7 +7,7 @@ import 'sonner';
7
7
  import '@gearbox-protocol/sdk';
8
8
 
9
9
  const labelVariants = cva(
10
- "flex font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
10
+ "flex leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
11
11
  {
12
12
  variants: {
13
13
  size: {
@@ -7,6 +7,7 @@ declare const gridTableVariants: (props?: ({
7
7
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
8
8
  interface GridTableProps extends Omit<GridProps, "cols">, VariantProps<typeof gridTableVariants> {
9
9
  cols?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | string;
10
+ children?: React.ReactNode;
10
11
  }
11
12
  /**
12
13
  * GridTable — table-like layout component using CSS Grid.
@@ -89,6 +90,7 @@ declare const GridTableBody: React.ForwardRefExoticComponent<React.HTMLAttribute
89
90
  */
90
91
  declare const GridTableFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
91
92
  interface GridTableRowProps extends GridProps {
93
+ children?: React.ReactNode;
92
94
  }
93
95
  /**
94
96
  * GridTableRow — row component of a GridTable.
@@ -109,6 +111,7 @@ declare const gridTableHeadVariants: (props?: ({
109
111
  justify?: "end" | "center" | "start" | null | undefined;
110
112
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
111
113
  interface GridTableHeadProps extends ColProps, VariantProps<typeof gridTableHeadVariants> {
114
+ children?: React.ReactNode;
112
115
  }
113
116
  /**
114
117
  * GridTableHead — header cell component of a GridTable.
@@ -129,6 +132,7 @@ declare const gridTableCellVariants: (props?: ({
129
132
  size?: "default" | "sm" | "lg" | null | undefined;
130
133
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
131
134
  interface GridTableCellProps extends ColProps, VariantProps<typeof gridTableCellVariants> {
135
+ children?: React.ReactNode;
132
136
  }
133
137
  /**
134
138
  * GridTableCell — data cell component of a GridTable.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/permissionless-ui",
3
- "version": "1.8.0",
3
+ "version": "1.9.0",
4
4
  "description": "Internal UI components",
5
5
  "license": "MIT",
6
6
  "main": "./dist/cjs/index.js",