@codefast/ui 0.1.56 → 0.1.58

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,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { ComponentPropsWithoutRef, HTMLAttributes, JSX, ComponentProps } from 'react';
2
+ import { ComponentProps, ComponentPropsWithoutRef, HTMLAttributes, JSX } from 'react';
3
3
  import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
4
4
  import { ButtonVariantsProps } from '../styles/button-variants.cjs';
5
5
  import 'tailwind-variants';
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { ComponentPropsWithoutRef, HTMLAttributes, JSX, ComponentProps } from 'react';
2
+ import { ComponentProps, ComponentPropsWithoutRef, HTMLAttributes, JSX } from 'react';
3
3
  import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
4
4
  import { ButtonVariantsProps } from '../styles/button-variants.js';
5
5
  import 'tailwind-variants';
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { HTMLAttributes, ReactNode, JSX, LiHTMLAttributes, AnchorHTMLAttributes, OlHTMLAttributes } from 'react';
2
+ import { HTMLAttributes, ReactNode, OlHTMLAttributes, LiHTMLAttributes, AnchorHTMLAttributes, JSX } from 'react';
3
3
 
4
4
  interface BreadcrumbProps extends HTMLAttributes<HTMLElement> {
5
5
  separator?: ReactNode;
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { HTMLAttributes, ReactNode, JSX, LiHTMLAttributes, AnchorHTMLAttributes, OlHTMLAttributes } from 'react';
2
+ import { HTMLAttributes, ReactNode, OlHTMLAttributes, LiHTMLAttributes, AnchorHTMLAttributes, JSX } from 'react';
3
3
 
4
4
  interface BreadcrumbProps extends HTMLAttributes<HTMLElement> {
5
5
  separator?: ReactNode;
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { ComponentProps, ComponentType, ReactNode, JSX } from 'react';
2
+ import { ComponentProps, JSX, ComponentType, ReactNode } from 'react';
3
3
  import * as RechartsPrimitive from 'recharts';
4
4
 
5
5
  declare const THEMES: {
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { ComponentProps, ComponentType, ReactNode, JSX } from 'react';
2
+ import { ComponentProps, JSX, ComponentType, ReactNode } from 'react';
3
3
  import * as RechartsPrimitive from 'recharts';
4
4
 
5
5
  declare const THEMES: {
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { HTMLAttributes, ComponentProps, JSX, ComponentPropsWithoutRef } from 'react';
2
+ import { ComponentPropsWithoutRef, HTMLAttributes, ComponentProps, JSX } from 'react';
3
3
  import { Command as Command$1 } from 'cmdk';
4
4
  import { Dialog } from './dialog.cjs';
5
5
  import '@radix-ui/react-dialog';
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { HTMLAttributes, ComponentProps, JSX, ComponentPropsWithoutRef } from 'react';
2
+ import { ComponentPropsWithoutRef, HTMLAttributes, ComponentProps, JSX } from 'react';
3
3
  import { Command as Command$1 } from 'cmdk';
4
4
  import { Dialog } from './dialog.js';
5
5
  import '@radix-ui/react-dialog';
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { ComponentPropsWithoutRef, HTMLAttributes, JSX, ComponentProps } from 'react';
2
+ import { ComponentProps, ComponentPropsWithoutRef, HTMLAttributes, JSX } from 'react';
3
3
  import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
4
4
 
5
5
  type ContextMenuProps = ComponentProps<typeof ContextMenuPrimitive.Root>;
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { ComponentPropsWithoutRef, HTMLAttributes, JSX, ComponentProps } from 'react';
2
+ import { ComponentProps, ComponentPropsWithoutRef, HTMLAttributes, JSX } from 'react';
3
3
  import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
4
4
 
5
5
  type ContextMenuProps = ComponentProps<typeof ContextMenuPrimitive.Root>;
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { HTMLAttributes, JSX, ComponentPropsWithoutRef, ComponentProps } from 'react';
2
+ import { ComponentProps, ComponentPropsWithoutRef, HTMLAttributes, JSX } from 'react';
3
3
  import * as DialogPrimitive from '@radix-ui/react-dialog';
4
4
  import { ButtonVariantsProps } from '../styles/button-variants.cjs';
5
5
  import 'tailwind-variants';
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { HTMLAttributes, JSX, ComponentPropsWithoutRef, ComponentProps } from 'react';
2
+ import { ComponentProps, ComponentPropsWithoutRef, HTMLAttributes, JSX } from 'react';
3
3
  import * as DialogPrimitive from '@radix-ui/react-dialog';
4
4
  import { ButtonVariantsProps } from '../styles/button-variants.js';
5
5
  import 'tailwind-variants';
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { ComponentProps, JSX, HTMLAttributes, ComponentPropsWithoutRef } from 'react';
2
+ import { ComponentProps, JSX, ComponentPropsWithoutRef, HTMLAttributes } from 'react';
3
3
  import * as DialogPrimitive from '@radix-ui/react-dialog';
4
4
  import { Drawer as Drawer$1 } from 'vaul';
5
5
  import { ButtonVariantsProps } from '../styles/button-variants.cjs';
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { ComponentProps, JSX, HTMLAttributes, ComponentPropsWithoutRef } from 'react';
2
+ import { ComponentProps, JSX, ComponentPropsWithoutRef, HTMLAttributes } from 'react';
3
3
  import * as DialogPrimitive from '@radix-ui/react-dialog';
4
4
  import { Drawer as Drawer$1 } from 'vaul';
5
5
  import { ButtonVariantsProps } from '../styles/button-variants.js';
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { ComponentPropsWithoutRef, HTMLAttributes, JSX, ComponentProps } from 'react';
2
+ import { ComponentProps, ComponentPropsWithoutRef, HTMLAttributes, JSX } from 'react';
3
3
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
4
4
 
5
5
  type DropdownMenuProps = ComponentProps<typeof DropdownMenuPrimitive.Root>;
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { ComponentPropsWithoutRef, HTMLAttributes, JSX, ComponentProps } from 'react';
2
+ import { ComponentProps, ComponentPropsWithoutRef, HTMLAttributes, JSX } from 'react';
3
3
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
4
4
 
5
5
  type DropdownMenuProps = ComponentProps<typeof DropdownMenuPrimitive.Root>;
@@ -1,10 +1,10 @@
1
1
  import * as _radix_ui_react_slot from '@radix-ui/react-slot';
2
2
  import { Slot } from '@radix-ui/react-slot';
3
3
  import * as react from 'react';
4
- import { HTMLAttributes, JSX, ComponentPropsWithoutRef, ComponentProps } from 'react';
4
+ import { ComponentProps, JSX, HTMLAttributes, ComponentPropsWithoutRef } from 'react';
5
5
  import * as _radix_ui_react_context from '@radix-ui/react-context';
6
6
  import * as react_hook_form from 'react-hook-form';
7
- import { FieldValues, FieldPath, ControllerProps, FormProvider } from 'react-hook-form';
7
+ import { FormProvider, FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
8
8
  import * as LabelPrimitive from '@radix-ui/react-label';
9
9
 
10
10
  type FormProps = ComponentProps<typeof FormProvider>;
@@ -1,10 +1,10 @@
1
1
  import * as _radix_ui_react_slot from '@radix-ui/react-slot';
2
2
  import { Slot } from '@radix-ui/react-slot';
3
3
  import * as react from 'react';
4
- import { HTMLAttributes, JSX, ComponentPropsWithoutRef, ComponentProps } from 'react';
4
+ import { ComponentProps, JSX, HTMLAttributes, ComponentPropsWithoutRef } from 'react';
5
5
  import * as _radix_ui_react_context from '@radix-ui/react-context';
6
6
  import * as react_hook_form from 'react-hook-form';
7
- import { FieldValues, FieldPath, ControllerProps, FormProvider } from 'react-hook-form';
7
+ import { FormProvider, FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
8
8
  import * as LabelPrimitive from '@radix-ui/react-label';
9
9
 
10
10
  type FormProps = ComponentProps<typeof FormProvider>;
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { ComponentPropsWithoutRef, ComponentProps } from 'react';
2
+ import { ComponentProps, ComponentPropsWithoutRef } from 'react';
3
3
  import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
4
4
 
5
5
  type HoverCardProps = ComponentProps<typeof HoverCardPrimitive.Root>;
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { ComponentPropsWithoutRef, ComponentProps } from 'react';
2
+ import { ComponentProps, ComponentPropsWithoutRef } from 'react';
3
3
  import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
4
4
 
5
5
  type HoverCardProps = ComponentProps<typeof HoverCardPrimitive.Root>;
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { ComponentPropsWithoutRef, HTMLAttributes, JSX, ComponentProps } from 'react';
2
+ import { ComponentProps, ComponentPropsWithoutRef, HTMLAttributes, JSX } from 'react';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import * as _radix_ui_react_context from '@radix-ui/react-context';
5
5
  import * as MenubarPrimitive from '@radix-ui/react-menubar';
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { ComponentPropsWithoutRef, HTMLAttributes, JSX, ComponentProps } from 'react';
2
+ import { ComponentProps, ComponentPropsWithoutRef, HTMLAttributes, JSX } from 'react';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import * as _radix_ui_react_context from '@radix-ui/react-context';
5
5
  import * as MenubarPrimitive from '@radix-ui/react-menubar';
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { ComponentPropsWithoutRef, ComponentProps } from 'react';
2
+ import { ComponentProps, ComponentPropsWithoutRef } from 'react';
3
3
  import * as PopoverPrimitive from '@radix-ui/react-popover';
4
4
 
5
5
  type PopoverProps = ComponentProps<typeof PopoverPrimitive.Root>;
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { ComponentPropsWithoutRef, ComponentProps } from 'react';
2
+ import { ComponentProps, ComponentPropsWithoutRef } from 'react';
3
3
  import * as PopoverPrimitive from '@radix-ui/react-popover';
4
4
 
5
5
  type PopoverProps = ComponentProps<typeof PopoverPrimitive.Root>;
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { ComponentPropsWithoutRef, ComponentProps } from 'react';
2
+ import { ComponentProps, ComponentPropsWithoutRef } from 'react';
3
3
  import * as SelectPrimitive from '@radix-ui/react-select';
4
4
  import { ButtonVariantsProps } from '../styles/button-variants.cjs';
5
5
  import 'tailwind-variants';
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { ComponentPropsWithoutRef, ComponentProps } from 'react';
2
+ import { ComponentProps, ComponentPropsWithoutRef } from 'react';
3
3
  import * as SelectPrimitive from '@radix-ui/react-select';
4
4
  import { ButtonVariantsProps } from '../styles/button-variants.js';
5
5
  import 'tailwind-variants';
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { HTMLAttributes, JSX, ComponentPropsWithoutRef, ComponentProps } from 'react';
2
+ import { ComponentProps, ComponentPropsWithoutRef, HTMLAttributes, JSX } from 'react';
3
3
  import * as tailwind_variants from 'tailwind-variants';
4
4
  import { VariantProps } from 'tailwind-variants';
5
5
  import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { HTMLAttributes, JSX, ComponentPropsWithoutRef, ComponentProps } from 'react';
2
+ import { ComponentProps, ComponentPropsWithoutRef, HTMLAttributes, JSX } from 'react';
3
3
  import * as tailwind_variants from 'tailwind-variants';
4
4
  import { VariantProps } from 'tailwind-variants';
5
5
  import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { HTMLAttributes, TdHTMLAttributes, ThHTMLAttributes } from 'react';
2
+ import { HTMLAttributes, ThHTMLAttributes, TdHTMLAttributes } from 'react';
3
3
 
4
4
  type TableProps = HTMLAttributes<HTMLTableElement>;
5
5
  declare const Table: react.ForwardRefExoticComponent<TableProps & react.RefAttributes<HTMLTableElement>>;
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { HTMLAttributes, TdHTMLAttributes, ThHTMLAttributes } from 'react';
2
+ import { HTMLAttributes, ThHTMLAttributes, TdHTMLAttributes } from 'react';
3
3
 
4
4
  type TableProps = HTMLAttributes<HTMLTableElement>;
5
5
  declare const Table: react.ForwardRefExoticComponent<TableProps & react.RefAttributes<HTMLTableElement>>;
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { ComponentPropsWithoutRef, ComponentProps } from 'react';
2
+ import { ComponentProps, ComponentPropsWithoutRef } from 'react';
3
3
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
4
4
 
5
5
  type TooltipProviderProps = ComponentProps<typeof TooltipPrimitive.Provider>;
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { ComponentPropsWithoutRef, ComponentProps } from 'react';
2
+ import { ComponentProps, ComponentPropsWithoutRef } from 'react';
3
3
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
4
4
 
5
5
  type TooltipProviderProps = ComponentProps<typeof TooltipPrimitive.Provider>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codefast/ui",
3
- "version": "0.1.56",
3
+ "version": "0.1.58",
4
4
  "bugs": {
5
5
  "url": "https://github.com/codefastlabs/codefast/issues"
6
6
  },
@@ -74,11 +74,11 @@
74
74
  "tailwind-merge": "2.5.4",
75
75
  "tailwind-variants": "0.3.0",
76
76
  "vaul": "1.1.1",
77
- "@codefast-ui/checkbox-group": "0.1.56",
78
- "@codefast-ui/day-picker": "0.1.56",
79
- "@codefast-ui/input": "0.1.56",
80
- "@codefast-ui/number-input": "0.1.56",
81
- "@codefast/hooks": "0.1.56"
77
+ "@codefast-ui/checkbox-group": "0.1.58",
78
+ "@codefast-ui/input": "0.1.58",
79
+ "@codefast-ui/day-picker": "0.1.58",
80
+ "@codefast-ui/number-input": "0.1.58",
81
+ "@codefast/hooks": "0.1.58"
82
82
  },
83
83
  "devDependencies": {
84
84
  "@types/node": "20.17.6",
@@ -87,22 +87,22 @@
87
87
  "tailwindcss": "3.4.15",
88
88
  "tsup": "8.3.5",
89
89
  "typescript": "5.6.3",
90
- "@codefast/config-tailwind": "0.1.56",
91
- "@codefast/config-typescript": "0.1.56",
92
- "@codefast/eslint-config": "0.1.56"
90
+ "@codefast/config-tailwind": "0.1.58",
91
+ "@codefast/config-typescript": "0.1.58",
92
+ "@codefast/eslint-config": "0.1.58"
93
93
  },
94
94
  "peerDependencies": {
95
- "@tanstack/react-table": "8",
95
+ "@tanstack/react-table": "^8",
96
96
  "@types/lodash-es": "*",
97
- "@types/react": "npm:types-react@19.0.0-rc.1",
98
- "@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
99
- "date-fns": "4",
100
- "lodash-es": "4",
101
- "next-themes": "0.3",
102
- "react": "19.0.0-rc-7ac8e612-20241113",
103
- "react-dom": "19.0.0-rc-7ac8e612-20241113",
104
- "react-hook-form": "7",
105
- "recharts": "2"
97
+ "@types/react": "*",
98
+ "@types/react-dom": "*",
99
+ "date-fns": "^4",
100
+ "lodash-es": "^4",
101
+ "next-themes": "^0.3",
102
+ "react": "^18.0 || ^19.0",
103
+ "react-dom": "^18.0 || ^19.0",
104
+ "react-hook-form": "^7",
105
+ "recharts": "^2"
106
106
  },
107
107
  "peerDependenciesMeta": {
108
108
  "@types/lodash-es": {
@@ -120,7 +120,7 @@
120
120
  },
121
121
  "scripts": {
122
122
  "build": "tsup",
123
- "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
123
+ "clean": "rm -rf dist",
124
124
  "dev": "tsup --watch",
125
125
  "lint": "eslint . --max-warnings 0"
126
126
  }