@shophost/react 2.0.17 → 2.0.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/admin-client.cjs +1 -1
- package/admin-client.js +4574 -3832
- package/components/ui/command.d.ts +7 -7
- package/components/ui/divider.d.ts +1 -3
- package/components/ui/icons/spinner-icon.d.ts +1 -2
- package/components/ui/popover.d.ts +1 -3
- package/package.json +4 -6
- package/react.css +1 -1
- package/storefront/components/cart/cart-drawer-item.d.ts +12 -0
- package/storefront/components/cart/cart-drawer.d.ts +17 -0
- package/storefront/components/cart/cart-panel.d.ts +31 -0
- package/storefront/components/modifiers/index.d.ts +1 -0
- package/storefront/components/modifiers/modifiers-dialog.d.ts +35 -0
- package/storefront/components/pages/account-pages/index.d.ts +2 -2
- package/storefront/components/pages/account-pages/layouts.d.ts +7 -1
- package/storefront/components/pages/account-pages/reservation-book-page/index.d.ts +2 -0
- package/storefront/components/pages/account-pages/reservation-details-page/index.d.ts +5 -0
- package/storefront/components/ui/command.d.ts +7 -7
- package/storefront/components/ui/divider.d.ts +1 -3
- package/storefront/components/ui/popover.d.ts +1 -3
- package/storefront/exports.d.ts +5 -1
- package/storefront/lib/better-auth.d.ts +4 -4
- package/storefront.cjs +1 -1
- package/storefront.mjs +79 -75
|
@@ -6,7 +6,7 @@ declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
|
6
6
|
ref?: React.Ref<HTMLDivElement>;
|
|
7
7
|
} & {
|
|
8
8
|
asChild?: boolean;
|
|
9
|
-
}, "key" |
|
|
9
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
10
10
|
label?: string;
|
|
11
11
|
shouldFilter?: boolean;
|
|
12
12
|
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
@@ -22,7 +22,7 @@ declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<
|
|
|
22
22
|
ref?: React.Ref<HTMLInputElement>;
|
|
23
23
|
} & {
|
|
24
24
|
asChild?: boolean;
|
|
25
|
-
}, "key" |
|
|
25
|
+
}, "key" | keyof React.InputHTMLAttributes<HTMLInputElement> | "asChild">, "value" | "type" | "onChange"> & {
|
|
26
26
|
value?: string;
|
|
27
27
|
onValueChange?: (search: string) => void;
|
|
28
28
|
} & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -32,7 +32,7 @@ declare const CommandList: React.ForwardRefExoticComponent<Omit<{
|
|
|
32
32
|
ref?: React.Ref<HTMLDivElement>;
|
|
33
33
|
} & {
|
|
34
34
|
asChild?: boolean;
|
|
35
|
-
}, "key" |
|
|
35
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
36
36
|
label?: string;
|
|
37
37
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
38
38
|
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
@@ -41,14 +41,14 @@ declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
|
41
41
|
ref?: React.Ref<HTMLDivElement>;
|
|
42
42
|
} & {
|
|
43
43
|
asChild?: boolean;
|
|
44
|
-
}, "key" |
|
|
44
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
45
45
|
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
|
46
46
|
children?: React.ReactNode;
|
|
47
47
|
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
48
48
|
ref?: React.Ref<HTMLDivElement>;
|
|
49
49
|
} & {
|
|
50
50
|
asChild?: boolean;
|
|
51
|
-
}, "key" |
|
|
51
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "heading"> & {
|
|
52
52
|
heading?: React.ReactNode;
|
|
53
53
|
value?: string;
|
|
54
54
|
forceMount?: boolean;
|
|
@@ -57,7 +57,7 @@ declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<R
|
|
|
57
57
|
ref?: React.Ref<HTMLDivElement>;
|
|
58
58
|
} & {
|
|
59
59
|
asChild?: boolean;
|
|
60
|
-
}, "key" |
|
|
60
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
61
61
|
alwaysRender?: boolean;
|
|
62
62
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
63
63
|
declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
@@ -66,7 +66,7 @@ declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
|
66
66
|
ref?: React.Ref<HTMLDivElement>;
|
|
67
67
|
} & {
|
|
68
68
|
asChild?: boolean;
|
|
69
|
-
}, "key" |
|
|
69
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "onSelect" | "disabled"> & {
|
|
70
70
|
disabled?: boolean;
|
|
71
71
|
onSelect?: (value: string) => void;
|
|
72
72
|
value?: string;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
}
|
|
4
|
-
declare const Divider: React.ForwardRefExoticComponent<DividerProps & React.RefAttributes<HTMLDivElement>>;
|
|
2
|
+
declare const Divider: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
5
3
|
export { Divider };
|
|
@@ -7,7 +7,5 @@ declare const Popover: {
|
|
|
7
7
|
declare const PopoverTrigger: React.ForwardRefExoticComponent<Omit<PopoverPrimitives.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
8
8
|
declare const PopoverAnchor: React.ForwardRefExoticComponent<Omit<PopoverPrimitives.PopoverAnchorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
9
|
declare const PopoverClose: React.ForwardRefExoticComponent<Omit<PopoverPrimitives.PopoverCloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
declare const PopoverContent: React.ForwardRefExoticComponent<ContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitives.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
11
|
export { Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shophost/react",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.19",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.cjs",
|
|
6
6
|
"module": "./index.mjs",
|
|
@@ -67,11 +67,12 @@
|
|
|
67
67
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.1.0",
|
|
68
68
|
"@atlaskit/pragmatic-drag-and-drop-live-region": "^1.3.3",
|
|
69
69
|
"@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^3.2.12",
|
|
70
|
+
"@headlessui/react": "^2.2.0",
|
|
70
71
|
"@hookform/resolvers": "^3.9.0",
|
|
71
72
|
"@react-aria/datepicker": "^3.16.1",
|
|
72
73
|
"@react-stately/datepicker": "^3.16.1",
|
|
73
|
-
"@shophost/client": "^2.0.
|
|
74
|
-
"@shophost/rest-api": "^2.0.
|
|
74
|
+
"@shophost/client": "^2.0.19",
|
|
75
|
+
"@shophost/rest-api": "^2.0.19",
|
|
75
76
|
"@internationalized/date": "^3.12.0",
|
|
76
77
|
"@radix-ui/react-checkbox": "^1.3.3",
|
|
77
78
|
"@radix-ui/react-dialog": "^1.1.6",
|
|
@@ -94,11 +95,8 @@
|
|
|
94
95
|
"cmdk": "^1.1.1",
|
|
95
96
|
"date-fns": "^3.6.0",
|
|
96
97
|
"lucide-react": "^0.479.0",
|
|
97
|
-
"next": "15.5.7",
|
|
98
98
|
"next-themes": "^0.4.6",
|
|
99
|
-
"react": "19.0.0",
|
|
100
99
|
"react-day-picker": "^8.10.1",
|
|
101
|
-
"react-dom": "19.0.0",
|
|
102
100
|
"react-hook-form": "^7.54.2",
|
|
103
101
|
"recharts": "^3.8.0",
|
|
104
102
|
"react-hot-toast": "^2.5.2",
|