buildgrid-ui 1.22.0 → 1.22.19
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/dist/blocks/index.d.ts +1 -0
- package/dist/blocks/wizard/index.d.ts +2 -0
- package/dist/blocks/wizard/use-wizard.d.ts +15 -0
- package/dist/blocks/wizard/wizard.d.ts +22 -0
- package/dist/buildgrid-ui.css +1 -1
- package/dist/buildgrid-ui.es.js +6962 -7129
- package/dist/buildgrid-ui.umd.js +25 -333
- package/dist/components/badge/badge.d.ts +1 -1
- package/dist/components/button/button.d.ts +1 -1
- package/dist/components/input/input.d.ts +1 -1
- package/dist/components/label/label.d.ts +1 -1
- package/dist/components/menubar/menubar.d.ts +5 -10
- package/dist/components/multi-select/multi-select.d.ts +1 -1
- package/dist/components/navigation-menu/navigation-menu.d.ts +1 -1
- package/dist/components/spinner/spinner.d.ts +1 -1
- package/dist/components/tabs/tabs.d.ts +2 -2
- package/dist/components/toggle/toggle.d.ts +2 -2
- package/dist/components/toggle-group/toggle-group.d.ts +2 -2
- package/package.json +39 -31
|
@@ -2,7 +2,7 @@ import { type VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
declare const badgeVariants: (props?: ({
|
|
4
4
|
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
5
|
-
} & import("class-variance-authority/
|
|
5
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
6
|
export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
7
7
|
}
|
|
8
8
|
declare function Badge({ className, variant, ...props }: BadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
declare const buttonVariants: (props?: ({
|
|
4
4
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
5
5
|
size?: "md" | "sm" | "lg" | "xl" | "icon" | null | undefined;
|
|
6
|
-
} & import("class-variance-authority/
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
type ButtonProps = React.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
|
|
8
8
|
asChild?: boolean;
|
|
9
9
|
isLoading?: boolean;
|
|
@@ -2,7 +2,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
declare const inputVariants: (props?: ({
|
|
4
4
|
sizing?: "md" | "sm" | "lg" | "xl" | "2xl" | null | undefined;
|
|
5
|
-
} & import("class-variance-authority/
|
|
5
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
6
|
export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof inputVariants> {
|
|
7
7
|
}
|
|
8
8
|
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
2
2
|
import { type VariantProps } from 'class-variance-authority';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/
|
|
4
|
+
declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/types").ClassProp | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
|
|
5
5
|
export { Label };
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
declare const Menubar: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
-
declare const MenubarMenu:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
};
|
|
10
|
-
declare const MenubarGroup: React.ForwardRefExoticComponent<MenubarPrimitive.MenubarGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
-
declare const MenubarPortal: React.FC<MenubarPrimitive.MenubarPortalProps>;
|
|
12
|
-
declare const MenubarSub: React.FC<MenubarPrimitive.MenubarSubProps>;
|
|
13
|
-
declare const MenubarRadioGroup: React.ForwardRefExoticComponent<MenubarPrimitive.MenubarRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const MenubarMenu: typeof MenubarPrimitive.Menu;
|
|
5
|
+
declare const MenubarGroup: typeof MenubarPrimitive.Group;
|
|
6
|
+
declare const MenubarPortal: typeof MenubarPrimitive.Portal;
|
|
7
|
+
declare const MenubarSub: typeof MenubarPrimitive.Sub;
|
|
8
|
+
declare const MenubarRadioGroup: typeof MenubarPrimitive.RadioGroup;
|
|
14
9
|
declare const MenubarTrigger: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
15
10
|
declare const MenubarSubTrigger: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
16
11
|
inset?: boolean;
|
|
@@ -6,7 +6,7 @@ import * as React from 'react';
|
|
|
6
6
|
*/
|
|
7
7
|
declare const multiSelectVariants: (props?: ({
|
|
8
8
|
variant?: "default" | "destructive" | "secondary" | "inverted" | null | undefined;
|
|
9
|
-
} & import("class-variance-authority/
|
|
9
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
10
10
|
/**
|
|
11
11
|
* Props for MultiSelect component
|
|
12
12
|
*/
|
|
@@ -5,7 +5,7 @@ declare function NavigationMenu({ className, children, viewport, ...props }: Rea
|
|
|
5
5
|
}): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
declare function NavigationMenuList({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.List>): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
declare function NavigationMenuItem({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
declare const navigationMenuTriggerStyle: (props?: import("class-variance-authority/
|
|
8
|
+
declare const navigationMenuTriggerStyle: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
9
9
|
declare function NavigationMenuTrigger({ className, children, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
declare function NavigationMenuContent({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
declare function NavigationMenuViewport({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Viewport>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,7 +6,7 @@ export declare const spinnerSizes: TSpinnerSizes[];
|
|
|
6
6
|
declare const spinnerVariants: (props?: ({
|
|
7
7
|
color?: "secondary" | "white" | "info" | "warning" | "error" | "success" | "primary" | "neutral" | null | undefined;
|
|
8
8
|
size?: "md" | "sm" | "lg" | "xl" | "2xl" | "xs" | null | undefined;
|
|
9
|
-
} & import("class-variance-authority/
|
|
9
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
10
10
|
export interface SpinnerProps extends VariantProps<typeof spinnerVariants> {
|
|
11
11
|
label?: string;
|
|
12
12
|
className?: string;
|
|
@@ -3,10 +3,10 @@ import { type VariantProps } from 'class-variance-authority';
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
declare const tabsListVariants: (props?: ({
|
|
5
5
|
size?: "md" | "sm" | "lg" | "xl" | null | undefined;
|
|
6
|
-
} & import("class-variance-authority/
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
declare const tabsTriggerVariants: (props?: ({
|
|
8
8
|
size?: "md" | "sm" | "lg" | "xl" | null | undefined;
|
|
9
|
-
} & import("class-variance-authority/
|
|
9
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
10
10
|
export interface TabsListVariantProps extends VariantProps<typeof tabsListVariants> {
|
|
11
11
|
}
|
|
12
12
|
export interface TabsTriggerVariantProps extends VariantProps<typeof tabsTriggerVariants> {
|
|
@@ -4,9 +4,9 @@ import * as React from 'react';
|
|
|
4
4
|
declare const toggleVariants: (props?: ({
|
|
5
5
|
variant?: "default" | "outline" | null | undefined;
|
|
6
6
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
7
|
-
} & import("class-variance-authority/
|
|
7
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
9
9
|
variant?: "default" | "outline" | null | undefined;
|
|
10
10
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
11
|
-
} & import("class-variance-authority/
|
|
11
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
12
12
|
export { Toggle, toggleVariants };
|
|
@@ -4,9 +4,9 @@ import * as React from 'react';
|
|
|
4
4
|
declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
|
|
5
5
|
variant?: "default" | "outline" | null | undefined;
|
|
6
6
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
7
|
-
} & import("class-variance-authority/
|
|
7
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string>) & React.RefAttributes<HTMLDivElement>>;
|
|
8
8
|
declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
9
9
|
variant?: "default" | "outline" | null | undefined;
|
|
10
10
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
11
|
-
} & import("class-variance-authority/
|
|
11
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
12
12
|
export { ToggleGroup, ToggleGroupItem };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "buildgrid-ui",
|
|
3
|
-
"version": "1.22.
|
|
3
|
+
"version": "1.22.19",
|
|
4
4
|
"homepage": "http://adrianomaringolo.github.io/buildgrid-ui",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -44,24 +44,25 @@
|
|
|
44
44
|
"update-stats": "node scripts/update-stats.js",
|
|
45
45
|
"update-blog-posts": "node scripts/update-blog-posts.js",
|
|
46
46
|
"update-lib-version": "node scripts/update-lib-version.js",
|
|
47
|
-
"update-data": "
|
|
47
|
+
"update-data": "pnpm run update-lib-version && pnpm run update-stats && pnpm run update-blog-posts",
|
|
48
48
|
"copy-coverage": "node scripts/copy-coverage.js",
|
|
49
|
-
"pre-push": "
|
|
50
|
-
"build": "vite build &&
|
|
49
|
+
"pre-push": "pnpm run verify-docs-version && pnpm run test:coverage && pnpm run copy-coverage && pnpm run build:storybook",
|
|
50
|
+
"build": "vite build && pnpm run build:types",
|
|
51
51
|
"build:types": "tsc --emitDeclarationOnly",
|
|
52
|
-
"build:link": "
|
|
52
|
+
"build:link": "pnpm run build && npm link",
|
|
53
53
|
"storybook": "storybook dev -p 6006",
|
|
54
54
|
"sb": "storybook dev -p 6006",
|
|
55
55
|
"build:storybook": "storybook build",
|
|
56
|
-
"predeploy": "
|
|
56
|
+
"predeploy": "pnpm run build:storybook",
|
|
57
57
|
"deploy-storybook": "gh-pages -d storybook-static",
|
|
58
58
|
"release": "semantic-release",
|
|
59
|
-
"prepublishOnly": "
|
|
60
|
-
"build:publish": "
|
|
59
|
+
"prepublishOnly": "pnpm run build",
|
|
60
|
+
"build:publish": "pnpm run build && npm publish",
|
|
61
61
|
"build-storybook": "storybook build",
|
|
62
|
-
"serve-storybook": "
|
|
62
|
+
"serve-storybook": "pnpm run build-storybook -- -o ./storybook-static && npx http-server ./storybook-static",
|
|
63
63
|
"chromatic": "npx chromatic --project-token=chpt_af05c4ee3fa4b80"
|
|
64
64
|
},
|
|
65
|
+
"packageManager": "pnpm@10.32.0",
|
|
65
66
|
"keywords": [],
|
|
66
67
|
"author": "",
|
|
67
68
|
"license": "ISC",
|
|
@@ -71,24 +72,30 @@
|
|
|
71
72
|
"url": "https://github.com/adrianomaringolo/buildgrid-ui"
|
|
72
73
|
},
|
|
73
74
|
"dependencies": {
|
|
74
|
-
"@radix-ui/react-accordion": "^1.2.
|
|
75
|
-
"@radix-ui/react-alert-dialog": "^1.1.
|
|
76
|
-
"@radix-ui/react-
|
|
77
|
-
"@radix-ui/react-
|
|
75
|
+
"@radix-ui/react-accordion": "^1.2.12",
|
|
76
|
+
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
77
|
+
"@radix-ui/react-aspect-ratio": "^1.1.8",
|
|
78
|
+
"@radix-ui/react-avatar": "^1.1.11",
|
|
79
|
+
"@radix-ui/react-checkbox": "^1.3.3",
|
|
78
80
|
"@radix-ui/react-collapsible": "^1.1.12",
|
|
81
|
+
"@radix-ui/react-context-menu": "^2.2.16",
|
|
79
82
|
"@radix-ui/react-dialog": "^1.1.14",
|
|
80
83
|
"@radix-ui/react-dropdown-menu": "^2.1.7",
|
|
84
|
+
"@radix-ui/react-hover-card": "^1.1.15",
|
|
81
85
|
"@radix-ui/react-label": "^2.1.3",
|
|
82
|
-
"@radix-ui/react-
|
|
83
|
-
"@radix-ui/react-
|
|
84
|
-
"@radix-ui/react-
|
|
85
|
-
"@radix-ui/react-
|
|
86
|
-
"@radix-ui/react-
|
|
87
|
-
"@radix-ui/react-
|
|
88
|
-
"@radix-ui/react-
|
|
89
|
-
"@radix-ui/react-
|
|
90
|
-
"@radix-ui/react-
|
|
91
|
-
"@radix-ui/react-
|
|
86
|
+
"@radix-ui/react-menubar": "^1.1.16",
|
|
87
|
+
"@radix-ui/react-navigation-menu": "^1.2.14",
|
|
88
|
+
"@radix-ui/react-one-time-password-field": "^0.1.8",
|
|
89
|
+
"@radix-ui/react-popover": "^1.1.15",
|
|
90
|
+
"@radix-ui/react-progress": "^1.1.8",
|
|
91
|
+
"@radix-ui/react-radio-group": "^1.3.8",
|
|
92
|
+
"@radix-ui/react-scroll-area": "^1.2.10",
|
|
93
|
+
"@radix-ui/react-select": "^2.2.6",
|
|
94
|
+
"@radix-ui/react-separator": "^1.1.8",
|
|
95
|
+
"@radix-ui/react-slider": "^1.3.6",
|
|
96
|
+
"@radix-ui/react-slot": "^1.2.4",
|
|
97
|
+
"@radix-ui/react-switch": "^1.2.6",
|
|
98
|
+
"@radix-ui/react-tabs": "^1.1.13",
|
|
92
99
|
"@radix-ui/react-toggle": "^1.1.10",
|
|
93
100
|
"@radix-ui/react-toggle-group": "^1.1.11",
|
|
94
101
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
@@ -98,14 +105,14 @@
|
|
|
98
105
|
"cmdk": "^1.1.1",
|
|
99
106
|
"compressorjs": "^1.3.0",
|
|
100
107
|
"cva-extended": "^2.0.0",
|
|
101
|
-
"date-fns": "^4.1
|
|
108
|
+
"date-fns": "^4.2.1",
|
|
102
109
|
"date-fns-tz": "^3.2.0",
|
|
103
|
-
"dompurify": "^3.4.
|
|
110
|
+
"dompurify": "^3.4.5",
|
|
104
111
|
"embla-carousel-react": "^8.6.0",
|
|
105
112
|
"highlight.js": "^11.11.1",
|
|
106
|
-
"lucide-react": "^1.
|
|
113
|
+
"lucide-react": "^1.16.0",
|
|
107
114
|
"radix-ui": "^1.4.3",
|
|
108
|
-
"react-day-picker": "^10.0.
|
|
115
|
+
"react-day-picker": "^10.0.1",
|
|
109
116
|
"react-dropzone": "^15.0.0",
|
|
110
117
|
"sonner": "^2.0.7",
|
|
111
118
|
"tailwind-merge": "^3.6.0",
|
|
@@ -120,6 +127,7 @@
|
|
|
120
127
|
"@commitlint/config-conventional": "^21.0.1",
|
|
121
128
|
"@semantic-release/changelog": "^6.0.3",
|
|
122
129
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
130
|
+
"@semantic-release/exec": "^7.1.0",
|
|
123
131
|
"@semantic-release/git": "^10.0.1",
|
|
124
132
|
"@semantic-release/npm": "^13.1.5",
|
|
125
133
|
"@semantic-release/release-notes-generator": "^14.1.1",
|
|
@@ -132,7 +140,7 @@
|
|
|
132
140
|
"@testing-library/user-event": "^14.6.1",
|
|
133
141
|
"@types/dompurify": "^3.0.5",
|
|
134
142
|
"@types/jest": "^30.0.0",
|
|
135
|
-
"@types/node": "^
|
|
143
|
+
"@types/node": "^25.9.1",
|
|
136
144
|
"@types/react": "^19.1.9",
|
|
137
145
|
"@types/react-dom": "^19.1.7",
|
|
138
146
|
"@vitejs/plugin-react": "^5.0.0",
|
|
@@ -160,10 +168,10 @@
|
|
|
160
168
|
"react-dom": "^19.1.1",
|
|
161
169
|
"semantic-release": "^25.0.3",
|
|
162
170
|
"storybook": "^10.2.0",
|
|
163
|
-
"tailwindcss": "^4.
|
|
171
|
+
"tailwindcss": "^4.3.0",
|
|
164
172
|
"tailwindcss-animate": "^1.0.7",
|
|
165
|
-
"tailwindcss-animated": "^2.
|
|
166
|
-
"typescript": "^
|
|
173
|
+
"tailwindcss-animated": "^2.1.0",
|
|
174
|
+
"typescript": "^6.0.3",
|
|
167
175
|
"vite": "^7.1.1",
|
|
168
176
|
"vite-plugin-dts": "^4.5.4",
|
|
169
177
|
"vitest": "^3.2.4"
|