@use-stall/ui 0.0.3 → 0.0.5
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/index.d.mts +27 -20
- package/dist/index.d.ts +27 -20
- package/dist/index.js +111 -116
- package/dist/index.mjs +123 -128
- package/package.json +3 -3
- package/dist/styles.css +0 -3
- package/dist/styles.d.mts +0 -2
- package/dist/styles.d.ts +0 -2
package/dist/index.mjs
CHANGED
|
@@ -1253,14 +1253,14 @@ function Combobox2({ modal = false, ...props }) {
|
|
|
1253
1253
|
}
|
|
1254
1254
|
|
|
1255
1255
|
// src/components/confirm-dialog.tsx
|
|
1256
|
-
import
|
|
1256
|
+
import React13 from "react";
|
|
1257
1257
|
|
|
1258
1258
|
// src/components/fancy-button.tsx
|
|
1259
|
-
import * as React13 from "react";
|
|
1260
|
-
import { Slot as Slot2 } from "@radix-ui/react-slot";
|
|
1261
|
-
|
|
1262
|
-
// src/lib/recursive-clone-children.tsx
|
|
1263
1259
|
import * as React12 from "react";
|
|
1260
|
+
import { Slot as Slot2 } from "@radix-ui/react-slot";
|
|
1261
|
+
import { createTV } from "tailwind-variants";
|
|
1262
|
+
import { jsx as jsx14, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
1263
|
+
var tv = createTV({});
|
|
1264
1264
|
function recursiveCloneChildren(children, additionalProps, displayNames, uniqueId, asChild) {
|
|
1265
1265
|
const mappedChildren = React12.Children.map(
|
|
1266
1266
|
children,
|
|
@@ -1286,20 +1286,13 @@ function recursiveCloneChildren(children, additionalProps, displayNames, uniqueI
|
|
|
1286
1286
|
);
|
|
1287
1287
|
return asChild ? mappedChildren?.[0] : mappedChildren;
|
|
1288
1288
|
}
|
|
1289
|
-
|
|
1290
|
-
// src/lib/tv.ts
|
|
1291
|
-
import { createTV } from "tailwind-variants";
|
|
1292
|
-
var tv = createTV({});
|
|
1293
|
-
|
|
1294
|
-
// src/components/fancy-button.tsx
|
|
1295
|
-
import { jsx as jsx14, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
1296
1289
|
var BUTTON_ROOT_NAME = "ButtonRoot";
|
|
1297
1290
|
var BUTTON_ICON_NAME = "ButtonIcon";
|
|
1298
1291
|
var fancyButtonVariants = tv({
|
|
1299
1292
|
slots: {
|
|
1300
1293
|
root: [
|
|
1301
1294
|
// base
|
|
1302
|
-
"group relative inline-flex items-center justify-center whitespace-nowrap text-label-sm outline-none",
|
|
1295
|
+
"group relative inline-flex items-center justify-center whitespace-nowrap text-sm text-label-sm outline-none",
|
|
1303
1296
|
"transition duration-200 ease-out cursor-pointer",
|
|
1304
1297
|
// focus
|
|
1305
1298
|
"focus:outline-none",
|
|
@@ -1373,7 +1366,7 @@ var fancyButtonVariants = tv({
|
|
|
1373
1366
|
size: "medium"
|
|
1374
1367
|
}
|
|
1375
1368
|
});
|
|
1376
|
-
var ButtonRoot =
|
|
1369
|
+
var ButtonRoot = React12.forwardRef(
|
|
1377
1370
|
({
|
|
1378
1371
|
asChild,
|
|
1379
1372
|
children,
|
|
@@ -1383,7 +1376,7 @@ var ButtonRoot = React13.forwardRef(
|
|
|
1383
1376
|
loading,
|
|
1384
1377
|
...rest
|
|
1385
1378
|
}, forwardedRef) => {
|
|
1386
|
-
const uniqueId =
|
|
1379
|
+
const uniqueId = React12.useId();
|
|
1387
1380
|
const Component = asChild ? Slot2 : "button";
|
|
1388
1381
|
const { root } = fancyButtonVariants({ variant, size });
|
|
1389
1382
|
const sharedProps = {
|
|
@@ -1442,7 +1435,7 @@ ButtonIcon.displayName = BUTTON_ICON_NAME;
|
|
|
1442
1435
|
|
|
1443
1436
|
// src/components/confirm-dialog.tsx
|
|
1444
1437
|
import { jsx as jsx15, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
1445
|
-
var ConfirmDialog =
|
|
1438
|
+
var ConfirmDialog = React13.memo(({ trigger, confirmAction }) => {
|
|
1446
1439
|
return /* @__PURE__ */ jsxs10(AlertDialog, { children: [
|
|
1447
1440
|
/* @__PURE__ */ jsx15(AlertDialogTrigger, { className: "contents", children: trigger || /* @__PURE__ */ jsx15(ButtonRoot, { variant: "neutral", children: "Confirm" }) }),
|
|
1448
1441
|
/* @__PURE__ */ jsxs10(AlertDialogPopup, { children: [
|
|
@@ -1522,7 +1515,7 @@ var CopyButton = ({
|
|
|
1522
1515
|
};
|
|
1523
1516
|
|
|
1524
1517
|
// src/components/country-picker.tsx
|
|
1525
|
-
import * as
|
|
1518
|
+
import * as React14 from "react";
|
|
1526
1519
|
import { Check as Check3, ChevronsUpDown as ChevronsUpDown2 } from "lucide-react";
|
|
1527
1520
|
|
|
1528
1521
|
// src/constants/countries.ts
|
|
@@ -1737,8 +1730,8 @@ function CountryPicker({
|
|
|
1737
1730
|
value_key = "value",
|
|
1738
1731
|
...props
|
|
1739
1732
|
}) {
|
|
1740
|
-
const [open, setOpen] =
|
|
1741
|
-
const active_option =
|
|
1733
|
+
const [open, setOpen] = React14.useState(false);
|
|
1734
|
+
const active_option = React14.useMemo(
|
|
1742
1735
|
() => options?.find(
|
|
1743
1736
|
(item) => item[value_key] === props.value
|
|
1744
1737
|
)?.label,
|
|
@@ -1854,7 +1847,7 @@ function CountryPicker({
|
|
|
1854
1847
|
}
|
|
1855
1848
|
|
|
1856
1849
|
// src/components/drawer.tsx
|
|
1857
|
-
import * as
|
|
1850
|
+
import * as React15 from "react";
|
|
1858
1851
|
import { Drawer as DrawerPrimitive } from "vaul";
|
|
1859
1852
|
import { jsx as jsx18, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
1860
1853
|
var Drawer = ({
|
|
@@ -1871,7 +1864,7 @@ Drawer.displayName = "Drawer";
|
|
|
1871
1864
|
var DrawerTrigger = DrawerPrimitive.Trigger;
|
|
1872
1865
|
var DrawerPortal = DrawerPrimitive.Portal;
|
|
1873
1866
|
var DrawerClose = DrawerPrimitive.Close;
|
|
1874
|
-
var DrawerOverlay =
|
|
1867
|
+
var DrawerOverlay = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx18(
|
|
1875
1868
|
DrawerPrimitive.Overlay,
|
|
1876
1869
|
{
|
|
1877
1870
|
ref,
|
|
@@ -1880,7 +1873,7 @@ var DrawerOverlay = React16.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
1880
1873
|
}
|
|
1881
1874
|
));
|
|
1882
1875
|
DrawerOverlay.displayName = DrawerPrimitive.Overlay.displayName;
|
|
1883
|
-
var DrawerContent =
|
|
1876
|
+
var DrawerContent = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs13(DrawerPortal, { children: [
|
|
1884
1877
|
/* @__PURE__ */ jsx18(DrawerOverlay, {}),
|
|
1885
1878
|
/* @__PURE__ */ jsxs13(
|
|
1886
1879
|
DrawerPrimitive.Content,
|
|
@@ -1921,7 +1914,7 @@ var DrawerFooter = ({
|
|
|
1921
1914
|
}
|
|
1922
1915
|
);
|
|
1923
1916
|
DrawerFooter.displayName = "DrawerFooter";
|
|
1924
|
-
var DrawerTitle =
|
|
1917
|
+
var DrawerTitle = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx18(
|
|
1925
1918
|
DrawerPrimitive.Title,
|
|
1926
1919
|
{
|
|
1927
1920
|
ref,
|
|
@@ -1933,7 +1926,7 @@ var DrawerTitle = React16.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
1933
1926
|
}
|
|
1934
1927
|
));
|
|
1935
1928
|
DrawerTitle.displayName = DrawerPrimitive.Title.displayName;
|
|
1936
|
-
var DrawerDescription =
|
|
1929
|
+
var DrawerDescription = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx18(
|
|
1937
1930
|
DrawerPrimitive.Description,
|
|
1938
1931
|
{
|
|
1939
1932
|
ref,
|
|
@@ -1944,7 +1937,7 @@ var DrawerDescription = React16.forwardRef(({ className, ...props }, ref) => /*
|
|
|
1944
1937
|
DrawerDescription.displayName = DrawerPrimitive.Description.displayName;
|
|
1945
1938
|
|
|
1946
1939
|
// src/components/dropdown-menu.tsx
|
|
1947
|
-
import * as
|
|
1940
|
+
import * as React16 from "react";
|
|
1948
1941
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
1949
1942
|
import { Check as Check4, ChevronRight as ChevronRight2, Circle } from "lucide-react";
|
|
1950
1943
|
import { jsx as jsx19, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
@@ -1954,7 +1947,7 @@ var DropdownMenuGroup = DropdownMenuPrimitive.Group;
|
|
|
1954
1947
|
var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
|
|
1955
1948
|
var DropdownMenuSub = DropdownMenuPrimitive.Sub;
|
|
1956
1949
|
var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
|
|
1957
|
-
var DropdownMenuSubTrigger =
|
|
1950
|
+
var DropdownMenuSubTrigger = React16.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs14(
|
|
1958
1951
|
DropdownMenuPrimitive.SubTrigger,
|
|
1959
1952
|
{
|
|
1960
1953
|
ref,
|
|
@@ -1971,7 +1964,7 @@ var DropdownMenuSubTrigger = React17.forwardRef(({ className, inset, children, .
|
|
|
1971
1964
|
}
|
|
1972
1965
|
));
|
|
1973
1966
|
DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
|
|
1974
|
-
var DropdownMenuSubContent =
|
|
1967
|
+
var DropdownMenuSubContent = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx19(
|
|
1975
1968
|
DropdownMenuPrimitive.SubContent,
|
|
1976
1969
|
{
|
|
1977
1970
|
ref,
|
|
@@ -1983,7 +1976,7 @@ var DropdownMenuSubContent = React17.forwardRef(({ className, ...props }, ref) =
|
|
|
1983
1976
|
}
|
|
1984
1977
|
));
|
|
1985
1978
|
DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
|
|
1986
|
-
var DropdownMenuContent =
|
|
1979
|
+
var DropdownMenuContent = React16.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx19(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx19(
|
|
1987
1980
|
DropdownMenuPrimitive.Content,
|
|
1988
1981
|
{
|
|
1989
1982
|
ref,
|
|
@@ -1996,7 +1989,7 @@ var DropdownMenuContent = React17.forwardRef(({ className, sideOffset = 4, ...pr
|
|
|
1996
1989
|
}
|
|
1997
1990
|
) }));
|
|
1998
1991
|
DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
|
|
1999
|
-
var DropdownMenuItem =
|
|
1992
|
+
var DropdownMenuItem = React16.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx19(
|
|
2000
1993
|
DropdownMenuPrimitive.Item,
|
|
2001
1994
|
{
|
|
2002
1995
|
ref,
|
|
@@ -2009,7 +2002,7 @@ var DropdownMenuItem = React17.forwardRef(({ className, inset, ...props }, ref)
|
|
|
2009
2002
|
}
|
|
2010
2003
|
));
|
|
2011
2004
|
DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
|
|
2012
|
-
var DropdownMenuCheckboxItem =
|
|
2005
|
+
var DropdownMenuCheckboxItem = React16.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs14(
|
|
2013
2006
|
DropdownMenuPrimitive.CheckboxItem,
|
|
2014
2007
|
{
|
|
2015
2008
|
ref,
|
|
@@ -2026,7 +2019,7 @@ var DropdownMenuCheckboxItem = React17.forwardRef(({ className, children, checke
|
|
|
2026
2019
|
}
|
|
2027
2020
|
));
|
|
2028
2021
|
DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
|
|
2029
|
-
var DropdownMenuRadioItem =
|
|
2022
|
+
var DropdownMenuRadioItem = React16.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs14(
|
|
2030
2023
|
DropdownMenuPrimitive.RadioItem,
|
|
2031
2024
|
{
|
|
2032
2025
|
ref,
|
|
@@ -2042,7 +2035,7 @@ var DropdownMenuRadioItem = React17.forwardRef(({ className, children, ...props
|
|
|
2042
2035
|
}
|
|
2043
2036
|
));
|
|
2044
2037
|
DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
|
|
2045
|
-
var DropdownMenuLabel =
|
|
2038
|
+
var DropdownMenuLabel = React16.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx19(
|
|
2046
2039
|
DropdownMenuPrimitive.Label,
|
|
2047
2040
|
{
|
|
2048
2041
|
ref,
|
|
@@ -2055,7 +2048,7 @@ var DropdownMenuLabel = React17.forwardRef(({ className, inset, ...props }, ref)
|
|
|
2055
2048
|
}
|
|
2056
2049
|
));
|
|
2057
2050
|
DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
|
|
2058
|
-
var DropdownMenuSeparator =
|
|
2051
|
+
var DropdownMenuSeparator = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx19(
|
|
2059
2052
|
DropdownMenuPrimitive.Separator,
|
|
2060
2053
|
{
|
|
2061
2054
|
ref,
|
|
@@ -2128,7 +2121,7 @@ var FieldControl = FieldPrimitive.Control;
|
|
|
2128
2121
|
var FieldValidity = FieldPrimitive.Validity;
|
|
2129
2122
|
|
|
2130
2123
|
// src/components/form.tsx
|
|
2131
|
-
import * as
|
|
2124
|
+
import * as React18 from "react";
|
|
2132
2125
|
import { Slot as Slot3 } from "@radix-ui/react-slot";
|
|
2133
2126
|
import {
|
|
2134
2127
|
Controller,
|
|
@@ -2137,14 +2130,14 @@ import {
|
|
|
2137
2130
|
} from "react-hook-form";
|
|
2138
2131
|
|
|
2139
2132
|
// src/components/label.tsx
|
|
2140
|
-
import * as
|
|
2133
|
+
import * as React17 from "react";
|
|
2141
2134
|
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
2142
2135
|
import { cva as cva3 } from "class-variance-authority";
|
|
2143
2136
|
import { jsx as jsx21 } from "react/jsx-runtime";
|
|
2144
2137
|
var labelVariants = cva3(
|
|
2145
2138
|
"text-xs text-muted-foreground font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
|
|
2146
2139
|
);
|
|
2147
|
-
var Label2 =
|
|
2140
|
+
var Label2 = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx21(
|
|
2148
2141
|
LabelPrimitive.Root,
|
|
2149
2142
|
{
|
|
2150
2143
|
ref,
|
|
@@ -2157,7 +2150,7 @@ Label2.displayName = LabelPrimitive.Root.displayName;
|
|
|
2157
2150
|
// src/components/form.tsx
|
|
2158
2151
|
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
2159
2152
|
var Form = FormProvider;
|
|
2160
|
-
var FormFieldContext =
|
|
2153
|
+
var FormFieldContext = React18.createContext(
|
|
2161
2154
|
{}
|
|
2162
2155
|
);
|
|
2163
2156
|
var FormField = ({
|
|
@@ -2166,8 +2159,8 @@ var FormField = ({
|
|
|
2166
2159
|
return /* @__PURE__ */ jsx22(FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ jsx22(Controller, { ...props }) });
|
|
2167
2160
|
};
|
|
2168
2161
|
var useFormField = () => {
|
|
2169
|
-
const fieldContext =
|
|
2170
|
-
const itemContext =
|
|
2162
|
+
const fieldContext = React18.useContext(FormFieldContext);
|
|
2163
|
+
const itemContext = React18.useContext(FormItemContext);
|
|
2171
2164
|
const { getFieldState, formState } = useFormContext();
|
|
2172
2165
|
const fieldState = getFieldState(fieldContext.name, formState);
|
|
2173
2166
|
if (!fieldContext) {
|
|
@@ -2183,15 +2176,15 @@ var useFormField = () => {
|
|
|
2183
2176
|
...fieldState
|
|
2184
2177
|
};
|
|
2185
2178
|
};
|
|
2186
|
-
var FormItemContext =
|
|
2179
|
+
var FormItemContext = React18.createContext(
|
|
2187
2180
|
{}
|
|
2188
2181
|
);
|
|
2189
|
-
var FormItem =
|
|
2190
|
-
const id =
|
|
2182
|
+
var FormItem = React18.forwardRef(({ className, ...props }, ref) => {
|
|
2183
|
+
const id = React18.useId();
|
|
2191
2184
|
return /* @__PURE__ */ jsx22(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ jsx22("div", { ref, className: cn("space-y-2", className), ...props }) });
|
|
2192
2185
|
});
|
|
2193
2186
|
FormItem.displayName = "FormItem";
|
|
2194
|
-
var FormLabel =
|
|
2187
|
+
var FormLabel = React18.forwardRef(({ className, ...props }, ref) => {
|
|
2195
2188
|
const { error, formItemId } = useFormField();
|
|
2196
2189
|
return /* @__PURE__ */ jsx22(
|
|
2197
2190
|
Label2,
|
|
@@ -2204,7 +2197,7 @@ var FormLabel = React19.forwardRef(({ className, ...props }, ref) => {
|
|
|
2204
2197
|
);
|
|
2205
2198
|
});
|
|
2206
2199
|
FormLabel.displayName = "FormLabel";
|
|
2207
|
-
var FormControl =
|
|
2200
|
+
var FormControl = React18.forwardRef(({ ...props }, ref) => {
|
|
2208
2201
|
const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
|
|
2209
2202
|
return /* @__PURE__ */ jsx22(
|
|
2210
2203
|
Slot3,
|
|
@@ -2218,7 +2211,7 @@ var FormControl = React19.forwardRef(({ ...props }, ref) => {
|
|
|
2218
2211
|
);
|
|
2219
2212
|
});
|
|
2220
2213
|
FormControl.displayName = "FormControl";
|
|
2221
|
-
var FormDescription =
|
|
2214
|
+
var FormDescription = React18.forwardRef(({ className, ...props }, ref) => {
|
|
2222
2215
|
const { formDescriptionId } = useFormField();
|
|
2223
2216
|
return /* @__PURE__ */ jsx22(
|
|
2224
2217
|
"p",
|
|
@@ -2231,7 +2224,7 @@ var FormDescription = React19.forwardRef(({ className, ...props }, ref) => {
|
|
|
2231
2224
|
);
|
|
2232
2225
|
});
|
|
2233
2226
|
FormDescription.displayName = "FormDescription";
|
|
2234
|
-
var FormMessage =
|
|
2227
|
+
var FormMessage = React18.forwardRef(({ className, children, ...props }, ref) => {
|
|
2235
2228
|
const { error, formMessageId } = useFormField();
|
|
2236
2229
|
const body = error ? String(error?.message) : children;
|
|
2237
2230
|
if (!body) {
|
|
@@ -2251,9 +2244,9 @@ var FormMessage = React19.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
2251
2244
|
FormMessage.displayName = "FormMessage";
|
|
2252
2245
|
|
|
2253
2246
|
// src/components/image-card.tsx
|
|
2254
|
-
import
|
|
2247
|
+
import React19 from "react";
|
|
2255
2248
|
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
2256
|
-
var ImageCard =
|
|
2249
|
+
var ImageCard = React19.memo(
|
|
2257
2250
|
({ src = "", alt = "", onErrorImage, className }) => {
|
|
2258
2251
|
return /* @__PURE__ */ jsx23(
|
|
2259
2252
|
"img",
|
|
@@ -2277,11 +2270,11 @@ var ImageCard = React20.memo(
|
|
|
2277
2270
|
);
|
|
2278
2271
|
|
|
2279
2272
|
// src/components/input-otp.tsx
|
|
2280
|
-
import * as
|
|
2273
|
+
import * as React20 from "react";
|
|
2281
2274
|
import { OTPInput, OTPInputContext } from "input-otp";
|
|
2282
2275
|
import { Dot } from "lucide-react";
|
|
2283
2276
|
import { jsx as jsx24, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
2284
|
-
var InputOTP =
|
|
2277
|
+
var InputOTP = React20.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsx24(
|
|
2285
2278
|
OTPInput,
|
|
2286
2279
|
{
|
|
2287
2280
|
ref,
|
|
@@ -2294,10 +2287,10 @@ var InputOTP = React21.forwardRef(({ className, containerClassName, ...props },
|
|
|
2294
2287
|
}
|
|
2295
2288
|
));
|
|
2296
2289
|
InputOTP.displayName = "InputOTP";
|
|
2297
|
-
var InputOTPGroup =
|
|
2290
|
+
var InputOTPGroup = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx24("div", { ref, className: cn("flex items-center", className), ...props }));
|
|
2298
2291
|
InputOTPGroup.displayName = "InputOTPGroup";
|
|
2299
|
-
var InputOTPSlot =
|
|
2300
|
-
const inputOTPContext =
|
|
2292
|
+
var InputOTPSlot = React20.forwardRef(({ index, className, ...props }, ref) => {
|
|
2293
|
+
const inputOTPContext = React20.useContext(OTPInputContext);
|
|
2301
2294
|
const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index];
|
|
2302
2295
|
return /* @__PURE__ */ jsxs15(
|
|
2303
2296
|
"div",
|
|
@@ -2317,14 +2310,14 @@ var InputOTPSlot = React21.forwardRef(({ index, className, ...props }, ref) => {
|
|
|
2317
2310
|
);
|
|
2318
2311
|
});
|
|
2319
2312
|
InputOTPSlot.displayName = "InputOTPSlot";
|
|
2320
|
-
var InputOTPSeparator =
|
|
2313
|
+
var InputOTPSeparator = React20.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx24("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ jsx24(Dot, {}) }));
|
|
2321
2314
|
InputOTPSeparator.displayName = "InputOTPSeparator";
|
|
2322
2315
|
|
|
2323
2316
|
// src/components/modal-container.tsx
|
|
2324
|
-
import
|
|
2317
|
+
import React21 from "react";
|
|
2325
2318
|
import { motion } from "framer-motion";
|
|
2326
2319
|
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
2327
|
-
var ModalContainer =
|
|
2320
|
+
var ModalContainer = React21.memo((props) => {
|
|
2328
2321
|
return /* @__PURE__ */ jsx25(
|
|
2329
2322
|
motion.div,
|
|
2330
2323
|
{
|
|
@@ -2338,7 +2331,7 @@ var ModalContainer = React22.memo((props) => {
|
|
|
2338
2331
|
});
|
|
2339
2332
|
|
|
2340
2333
|
// src/components/multi-select.tsx
|
|
2341
|
-
import * as
|
|
2334
|
+
import * as React22 from "react";
|
|
2342
2335
|
import { jsx as jsx26, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
2343
2336
|
var MultiSelect = ({
|
|
2344
2337
|
options: options2 = [],
|
|
@@ -2350,10 +2343,10 @@ var MultiSelect = ({
|
|
|
2350
2343
|
maxCount,
|
|
2351
2344
|
required
|
|
2352
2345
|
}) => {
|
|
2353
|
-
const selectedOptions =
|
|
2346
|
+
const selectedOptions = React22.useMemo(() => {
|
|
2354
2347
|
return value.map((v) => options2.find((opt) => opt.value === v)).filter(Boolean);
|
|
2355
2348
|
}, [value, options2]);
|
|
2356
|
-
const handleValueChange =
|
|
2349
|
+
const handleValueChange = React22.useCallback(
|
|
2357
2350
|
(newValue) => {
|
|
2358
2351
|
if (Array.isArray(newValue)) {
|
|
2359
2352
|
onValueChange?.(newValue.map((opt) => opt.value));
|
|
@@ -2380,7 +2373,7 @@ var MultiSelect = ({
|
|
|
2380
2373
|
"min-h-10! before:hidden shadow-none rounded-10!",
|
|
2381
2374
|
className
|
|
2382
2375
|
),
|
|
2383
|
-
children: /* @__PURE__ */ jsx26(ComboboxValue, { children: (value2) => /* @__PURE__ */ jsxs16(
|
|
2376
|
+
children: /* @__PURE__ */ jsx26(ComboboxValue, { children: (value2) => /* @__PURE__ */ jsxs16(React22.Fragment, { children: [
|
|
2384
2377
|
value2?.map((item) => /* @__PURE__ */ jsx26(
|
|
2385
2378
|
ComboboxChip,
|
|
2386
2379
|
{
|
|
@@ -2442,11 +2435,11 @@ MultiSelect.displayName = "MultiSelect";
|
|
|
2442
2435
|
|
|
2443
2436
|
// src/components/password-input.tsx
|
|
2444
2437
|
import { Check as Check5, Eye, EyeOff, X } from "lucide-react";
|
|
2445
|
-
import
|
|
2438
|
+
import React23 from "react";
|
|
2446
2439
|
import { jsx as jsx27, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
2447
|
-
var PasswordInput =
|
|
2440
|
+
var PasswordInput = React23.forwardRef(
|
|
2448
2441
|
({ className, onSubmit, showStrength, ...props }, ref) => {
|
|
2449
|
-
const [isVisible, setIsVisible] =
|
|
2442
|
+
const [isVisible, setIsVisible] = React23.useState(false);
|
|
2450
2443
|
const toggleVisibility = () => setIsVisible((prevState) => !prevState);
|
|
2451
2444
|
const checkStrength = (pass) => {
|
|
2452
2445
|
const requirements = [
|
|
@@ -2461,7 +2454,7 @@ var PasswordInput = React24.forwardRef(
|
|
|
2461
2454
|
}));
|
|
2462
2455
|
};
|
|
2463
2456
|
const strength = checkStrength(props.value?.toString() || "");
|
|
2464
|
-
const strengthScore =
|
|
2457
|
+
const strengthScore = React23.useMemo(() => {
|
|
2465
2458
|
return strength.filter((req) => req.met).length;
|
|
2466
2459
|
}, [strength]);
|
|
2467
2460
|
const getStrengthColor = (score) => {
|
|
@@ -2520,7 +2513,7 @@ var PasswordInput = React24.forwardRef(
|
|
|
2520
2513
|
}
|
|
2521
2514
|
)
|
|
2522
2515
|
] }),
|
|
2523
|
-
showStrength && /* @__PURE__ */ jsxs17(
|
|
2516
|
+
showStrength && /* @__PURE__ */ jsxs17(React23.Fragment, { children: [
|
|
2524
2517
|
/* @__PURE__ */ jsx27(
|
|
2525
2518
|
"div",
|
|
2526
2519
|
{
|
|
@@ -2584,7 +2577,7 @@ var PasswordInput = React24.forwardRef(
|
|
|
2584
2577
|
}
|
|
2585
2578
|
);
|
|
2586
2579
|
PasswordInput.displayName = "PasswordInput";
|
|
2587
|
-
var password_input_default =
|
|
2580
|
+
var password_input_default = React23.memo(PasswordInput);
|
|
2588
2581
|
|
|
2589
2582
|
// src/components/phone-number-input.tsx
|
|
2590
2583
|
import { ChevronDown as ChevronDown2, Phone } from "lucide-react";
|
|
@@ -2684,40 +2677,42 @@ var FlagComponent = ({ country, countryName }) => {
|
|
|
2684
2677
|
};
|
|
2685
2678
|
|
|
2686
2679
|
// src/components/price-input.tsx
|
|
2687
|
-
import
|
|
2680
|
+
import React25 from "react";
|
|
2688
2681
|
import { jsx as jsx29, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
2689
|
-
var PriceInput =
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
children: [
|
|
2698
|
-
!props.hide_currency_symbol && /* @__PURE__ */ jsx29("div", { className: "absolute inset-y-0.5 flex items-center pl-4 pr-2", children: /* @__PURE__ */ jsx29("span", { className: "[fontSize:inherit] font-medium text-muted-foreground/50", children: currency?.symbol }) }),
|
|
2699
|
-
/* @__PURE__ */ jsx29(
|
|
2700
|
-
Input,
|
|
2701
|
-
{
|
|
2702
|
-
ref,
|
|
2703
|
-
placeholder: "0.00",
|
|
2704
|
-
type: "text",
|
|
2705
|
-
...props,
|
|
2706
|
-
className: cn("px-10 shadow-none m-0! py-0", props.className)
|
|
2707
|
-
}
|
|
2682
|
+
var PriceInput = React25.forwardRef(
|
|
2683
|
+
({ currency, ...props }, ref) => {
|
|
2684
|
+
return /* @__PURE__ */ jsxs19(
|
|
2685
|
+
"div",
|
|
2686
|
+
{
|
|
2687
|
+
className: cn(
|
|
2688
|
+
"relative h-fit flex overflow-hidden p-0",
|
|
2689
|
+
props.containerClassname
|
|
2708
2690
|
),
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2691
|
+
children: [
|
|
2692
|
+
!props.hide_currency_symbol && /* @__PURE__ */ jsx29("div", { className: "absolute inset-y-0.5 flex items-center pl-4 pr-2", children: /* @__PURE__ */ jsx29("span", { className: "[fontSize:inherit] font-medium text-muted-foreground/50", children: currency?.symbol }) }),
|
|
2693
|
+
/* @__PURE__ */ jsx29(
|
|
2694
|
+
Input,
|
|
2695
|
+
{
|
|
2696
|
+
ref,
|
|
2697
|
+
placeholder: "0.00",
|
|
2698
|
+
type: "text",
|
|
2699
|
+
...props,
|
|
2700
|
+
className: cn("px-10 shadow-none m-0! py-0", props.className)
|
|
2701
|
+
}
|
|
2702
|
+
),
|
|
2703
|
+
!props.hide_currency_code && /* @__PURE__ */ jsx29("div", { className: "absolute inset-y-0.5 right-0 flex items-center pl-3 pr-4", children: /* @__PURE__ */ jsx29("span", { className: "[fontSize:inherit] font-medium text-muted-foreground/50", children: currency?.code }) })
|
|
2704
|
+
]
|
|
2705
|
+
}
|
|
2706
|
+
);
|
|
2707
|
+
}
|
|
2708
|
+
);
|
|
2714
2709
|
PriceInput.displayName = "PriceInput";
|
|
2715
2710
|
|
|
2716
2711
|
// src/components/progress.tsx
|
|
2717
|
-
import * as
|
|
2712
|
+
import * as React26 from "react";
|
|
2718
2713
|
import * as ProgressPrimitive from "@radix-ui/react-progress";
|
|
2719
2714
|
import { jsx as jsx30 } from "react/jsx-runtime";
|
|
2720
|
-
var Progress =
|
|
2715
|
+
var Progress = React26.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ jsx30(
|
|
2721
2716
|
ProgressPrimitive.Root,
|
|
2722
2717
|
{
|
|
2723
2718
|
ref,
|
|
@@ -2738,14 +2733,14 @@ var Progress = React27.forwardRef(({ className, value, ...props }, ref) => /* @_
|
|
|
2738
2733
|
Progress.displayName = ProgressPrimitive.Root.displayName;
|
|
2739
2734
|
|
|
2740
2735
|
// src/components/select.tsx
|
|
2741
|
-
import * as
|
|
2736
|
+
import * as React27 from "react";
|
|
2742
2737
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
2743
2738
|
import { Check as Check6, ChevronDown as ChevronDown3, ChevronUp } from "lucide-react";
|
|
2744
2739
|
import { jsx as jsx31, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
2745
2740
|
var Select = SelectPrimitive.Root;
|
|
2746
2741
|
var SelectGroup = SelectPrimitive.Group;
|
|
2747
2742
|
var SelectValue = SelectPrimitive.Value;
|
|
2748
|
-
var SelectTrigger =
|
|
2743
|
+
var SelectTrigger = React27.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs20(
|
|
2749
2744
|
SelectPrimitive.Trigger,
|
|
2750
2745
|
{
|
|
2751
2746
|
ref,
|
|
@@ -2761,7 +2756,7 @@ var SelectTrigger = React28.forwardRef(({ className, children, ...props }, ref)
|
|
|
2761
2756
|
}
|
|
2762
2757
|
));
|
|
2763
2758
|
SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
|
|
2764
|
-
var SelectScrollUpButton =
|
|
2759
|
+
var SelectScrollUpButton = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx31(
|
|
2765
2760
|
SelectPrimitive.ScrollUpButton,
|
|
2766
2761
|
{
|
|
2767
2762
|
ref,
|
|
@@ -2774,7 +2769,7 @@ var SelectScrollUpButton = React28.forwardRef(({ className, ...props }, ref) =>
|
|
|
2774
2769
|
}
|
|
2775
2770
|
));
|
|
2776
2771
|
SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
|
|
2777
|
-
var SelectScrollDownButton =
|
|
2772
|
+
var SelectScrollDownButton = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx31(
|
|
2778
2773
|
SelectPrimitive.ScrollDownButton,
|
|
2779
2774
|
{
|
|
2780
2775
|
ref,
|
|
@@ -2787,7 +2782,7 @@ var SelectScrollDownButton = React28.forwardRef(({ className, ...props }, ref) =
|
|
|
2787
2782
|
}
|
|
2788
2783
|
));
|
|
2789
2784
|
SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
|
|
2790
|
-
var SelectContent =
|
|
2785
|
+
var SelectContent = React27.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx31(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs20(
|
|
2791
2786
|
SelectPrimitive.Content,
|
|
2792
2787
|
{
|
|
2793
2788
|
ref,
|
|
@@ -2815,7 +2810,7 @@ var SelectContent = React28.forwardRef(({ className, children, position = "poppe
|
|
|
2815
2810
|
}
|
|
2816
2811
|
) }));
|
|
2817
2812
|
SelectContent.displayName = SelectPrimitive.Content.displayName;
|
|
2818
|
-
var SelectLabel =
|
|
2813
|
+
var SelectLabel = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx31(
|
|
2819
2814
|
SelectPrimitive.Label,
|
|
2820
2815
|
{
|
|
2821
2816
|
ref,
|
|
@@ -2824,7 +2819,7 @@ var SelectLabel = React28.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
2824
2819
|
}
|
|
2825
2820
|
));
|
|
2826
2821
|
SelectLabel.displayName = SelectPrimitive.Label.displayName;
|
|
2827
|
-
var SelectItem =
|
|
2822
|
+
var SelectItem = React27.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs20(
|
|
2828
2823
|
SelectPrimitive.Item,
|
|
2829
2824
|
{
|
|
2830
2825
|
ref,
|
|
@@ -2840,7 +2835,7 @@ var SelectItem = React28.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
2840
2835
|
}
|
|
2841
2836
|
));
|
|
2842
2837
|
SelectItem.displayName = SelectPrimitive.Item.displayName;
|
|
2843
|
-
var SelectSeparator =
|
|
2838
|
+
var SelectSeparator = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx31(
|
|
2844
2839
|
SelectPrimitive.Separator,
|
|
2845
2840
|
{
|
|
2846
2841
|
ref,
|
|
@@ -2851,10 +2846,10 @@ var SelectSeparator = React28.forwardRef(({ className, ...props }, ref) => /* @_
|
|
|
2851
2846
|
SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
|
|
2852
2847
|
|
|
2853
2848
|
// src/components/separator.tsx
|
|
2854
|
-
import * as
|
|
2849
|
+
import * as React28 from "react";
|
|
2855
2850
|
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
|
2856
2851
|
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
2857
|
-
var Separator3 =
|
|
2852
|
+
var Separator3 = React28.forwardRef(
|
|
2858
2853
|
({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsx32(
|
|
2859
2854
|
SeparatorPrimitive.Root,
|
|
2860
2855
|
{
|
|
@@ -2873,7 +2868,7 @@ var Separator3 = React29.forwardRef(
|
|
|
2873
2868
|
Separator3.displayName = SeparatorPrimitive.Root.displayName;
|
|
2874
2869
|
|
|
2875
2870
|
// src/components/sheet.tsx
|
|
2876
|
-
import * as
|
|
2871
|
+
import * as React29 from "react";
|
|
2877
2872
|
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
2878
2873
|
import { cva as cva4 } from "class-variance-authority";
|
|
2879
2874
|
import { X as X2 } from "lucide-react";
|
|
@@ -2882,7 +2877,7 @@ var Sheet = SheetPrimitive.Root;
|
|
|
2882
2877
|
var SheetTrigger = SheetPrimitive.Trigger;
|
|
2883
2878
|
var SheetClose = SheetPrimitive.Close;
|
|
2884
2879
|
var SheetPortal = SheetPrimitive.Portal;
|
|
2885
|
-
var SheetOverlay =
|
|
2880
|
+
var SheetOverlay = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx33(
|
|
2886
2881
|
SheetPrimitive.Overlay,
|
|
2887
2882
|
{
|
|
2888
2883
|
className: cn(
|
|
@@ -2910,7 +2905,7 @@ var sheetVariants = cva4(
|
|
|
2910
2905
|
}
|
|
2911
2906
|
}
|
|
2912
2907
|
);
|
|
2913
|
-
var SheetContent =
|
|
2908
|
+
var SheetContent = React29.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxs21(SheetPortal, { children: [
|
|
2914
2909
|
/* @__PURE__ */ jsx33(SheetOverlay, {}),
|
|
2915
2910
|
/* @__PURE__ */ jsxs21(
|
|
2916
2911
|
SheetPrimitive.Content,
|
|
@@ -2957,7 +2952,7 @@ var SheetFooter = ({
|
|
|
2957
2952
|
}
|
|
2958
2953
|
);
|
|
2959
2954
|
SheetFooter.displayName = "SheetFooter";
|
|
2960
|
-
var SheetTitle =
|
|
2955
|
+
var SheetTitle = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx33(
|
|
2961
2956
|
SheetPrimitive.Title,
|
|
2962
2957
|
{
|
|
2963
2958
|
ref,
|
|
@@ -2966,7 +2961,7 @@ var SheetTitle = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
2966
2961
|
}
|
|
2967
2962
|
));
|
|
2968
2963
|
SheetTitle.displayName = SheetPrimitive.Title.displayName;
|
|
2969
|
-
var SheetDescription =
|
|
2964
|
+
var SheetDescription = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx33(
|
|
2970
2965
|
SheetPrimitive.Description,
|
|
2971
2966
|
{
|
|
2972
2967
|
ref,
|
|
@@ -3185,11 +3180,11 @@ function TableCaption({
|
|
|
3185
3180
|
}
|
|
3186
3181
|
|
|
3187
3182
|
// src/components/tabs.tsx
|
|
3188
|
-
import * as
|
|
3183
|
+
import * as React30 from "react";
|
|
3189
3184
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
3190
3185
|
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
3191
3186
|
var Tabs = TabsPrimitive.Root;
|
|
3192
|
-
var TabsList =
|
|
3187
|
+
var TabsList = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx38(
|
|
3193
3188
|
TabsPrimitive.List,
|
|
3194
3189
|
{
|
|
3195
3190
|
ref,
|
|
@@ -3201,7 +3196,7 @@ var TabsList = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
3201
3196
|
}
|
|
3202
3197
|
));
|
|
3203
3198
|
TabsList.displayName = TabsPrimitive.List.displayName;
|
|
3204
|
-
var TabsTrigger =
|
|
3199
|
+
var TabsTrigger = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx38(
|
|
3205
3200
|
TabsPrimitive.Trigger,
|
|
3206
3201
|
{
|
|
3207
3202
|
ref,
|
|
@@ -3213,7 +3208,7 @@ var TabsTrigger = React31.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
3213
3208
|
}
|
|
3214
3209
|
));
|
|
3215
3210
|
TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
|
|
3216
|
-
var TabsContent =
|
|
3211
|
+
var TabsContent = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx38(
|
|
3217
3212
|
TabsPrimitive.Content,
|
|
3218
3213
|
{
|
|
3219
3214
|
ref,
|
|
@@ -3232,9 +3227,9 @@ import { useId as useId3, useState as useState4 } from "react";
|
|
|
3232
3227
|
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
3233
3228
|
|
|
3234
3229
|
// src/components/textarea.tsx
|
|
3235
|
-
import * as
|
|
3230
|
+
import * as React31 from "react";
|
|
3236
3231
|
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
3237
|
-
var Textarea =
|
|
3232
|
+
var Textarea = React31.forwardRef(
|
|
3238
3233
|
({ className, ...props }, ref) => {
|
|
3239
3234
|
return /* @__PURE__ */ jsx40(
|
|
3240
3235
|
"textarea",
|
|
@@ -3252,17 +3247,17 @@ var Textarea = React32.forwardRef(
|
|
|
3252
3247
|
Textarea.displayName = "Textarea";
|
|
3253
3248
|
|
|
3254
3249
|
// src/components/timeline.tsx
|
|
3255
|
-
import * as
|
|
3250
|
+
import * as React32 from "react";
|
|
3256
3251
|
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
3257
|
-
var TimelineContext =
|
|
3252
|
+
var TimelineContext = React32.createContext(null);
|
|
3258
3253
|
function useTimeline() {
|
|
3259
|
-
const context =
|
|
3254
|
+
const context = React32.useContext(TimelineContext);
|
|
3260
3255
|
if (!context) {
|
|
3261
3256
|
throw new Error("useTimeline must be used within a <Timeline />.");
|
|
3262
3257
|
}
|
|
3263
3258
|
return context;
|
|
3264
3259
|
}
|
|
3265
|
-
var Timeline =
|
|
3260
|
+
var Timeline = React32.forwardRef(
|
|
3266
3261
|
({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsx41(TimelineContext.Provider, { value: { orientation }, children: /* @__PURE__ */ jsx41(
|
|
3267
3262
|
"ol",
|
|
3268
3263
|
{
|
|
@@ -3279,7 +3274,7 @@ var Timeline = React33.forwardRef(
|
|
|
3279
3274
|
) })
|
|
3280
3275
|
);
|
|
3281
3276
|
Timeline.displayName = "Timeline";
|
|
3282
|
-
var TimelineItem =
|
|
3277
|
+
var TimelineItem = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3283
3278
|
const { orientation } = useTimeline();
|
|
3284
3279
|
return /* @__PURE__ */ jsx41(
|
|
3285
3280
|
"li",
|
|
@@ -3296,7 +3291,7 @@ var TimelineItem = React33.forwardRef(({ className, ...props }, ref) => {
|
|
|
3296
3291
|
);
|
|
3297
3292
|
});
|
|
3298
3293
|
TimelineItem.displayName = "TimelineItem";
|
|
3299
|
-
var TimelineSeparator =
|
|
3294
|
+
var TimelineSeparator = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3300
3295
|
const { orientation } = useTimeline();
|
|
3301
3296
|
return /* @__PURE__ */ jsx41(
|
|
3302
3297
|
"div",
|
|
@@ -3313,7 +3308,7 @@ var TimelineSeparator = React33.forwardRef(({ className, ...props }, ref) => {
|
|
|
3313
3308
|
);
|
|
3314
3309
|
});
|
|
3315
3310
|
TimelineSeparator.displayName = "TimelineSeparator";
|
|
3316
|
-
var TimelineDot =
|
|
3311
|
+
var TimelineDot = React32.forwardRef(({ variant = "default", className, ...props }, ref) => {
|
|
3317
3312
|
const { orientation } = useTimeline();
|
|
3318
3313
|
return /* @__PURE__ */ jsx41(
|
|
3319
3314
|
"div",
|
|
@@ -3332,7 +3327,7 @@ var TimelineDot = React33.forwardRef(({ variant = "default", className, ...props
|
|
|
3332
3327
|
);
|
|
3333
3328
|
});
|
|
3334
3329
|
TimelineDot.displayName = "TimelineDot";
|
|
3335
|
-
var TimelineConnector =
|
|
3330
|
+
var TimelineConnector = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3336
3331
|
const { orientation } = useTimeline();
|
|
3337
3332
|
return /* @__PURE__ */ jsx41(
|
|
3338
3333
|
"div",
|
|
@@ -3350,7 +3345,7 @@ var TimelineConnector = React33.forwardRef(({ className, ...props }, ref) => {
|
|
|
3350
3345
|
);
|
|
3351
3346
|
});
|
|
3352
3347
|
TimelineConnector.displayName = "TimelineConnector";
|
|
3353
|
-
var TimelineContent =
|
|
3348
|
+
var TimelineContent = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3354
3349
|
const { orientation } = useTimeline();
|
|
3355
3350
|
return /* @__PURE__ */ jsx41(
|
|
3356
3351
|
"div",
|
|
@@ -3368,12 +3363,12 @@ var TimelineContent = React33.forwardRef(({ className, ...props }, ref) => {
|
|
|
3368
3363
|
);
|
|
3369
3364
|
});
|
|
3370
3365
|
TimelineContent.displayName = "TimelineContent";
|
|
3371
|
-
var TimelineTitle =
|
|
3366
|
+
var TimelineTitle = React32.forwardRef((props, ref) => {
|
|
3372
3367
|
const { orientation } = useTimeline();
|
|
3373
3368
|
return /* @__PURE__ */ jsx41("div", { ref, "data-orientation": orientation, ...props });
|
|
3374
3369
|
});
|
|
3375
3370
|
TimelineTitle.displayName = "TimelineTitle";
|
|
3376
|
-
var TimelineDescription =
|
|
3371
|
+
var TimelineDescription = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3377
3372
|
const { orientation } = useTimeline();
|
|
3378
3373
|
return /* @__PURE__ */ jsx41(
|
|
3379
3374
|
"div",
|
|
@@ -3388,13 +3383,13 @@ var TimelineDescription = React33.forwardRef(({ className, ...props }, ref) => {
|
|
|
3388
3383
|
TimelineDescription.displayName = "TimelineDescription";
|
|
3389
3384
|
|
|
3390
3385
|
// src/components/tooltip.tsx
|
|
3391
|
-
import * as
|
|
3386
|
+
import * as React33 from "react";
|
|
3392
3387
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
3393
3388
|
import { jsx as jsx42 } from "react/jsx-runtime";
|
|
3394
3389
|
var TooltipProvider = TooltipPrimitive.Provider;
|
|
3395
3390
|
var Tooltip = TooltipPrimitive.Root;
|
|
3396
3391
|
var TooltipTrigger = TooltipPrimitive.Trigger;
|
|
3397
|
-
var TooltipContent =
|
|
3392
|
+
var TooltipContent = React33.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx42(
|
|
3398
3393
|
TooltipPrimitive.Content,
|
|
3399
3394
|
{
|
|
3400
3395
|
ref,
|
|
@@ -3536,6 +3531,7 @@ export {
|
|
|
3536
3531
|
Popover,
|
|
3537
3532
|
PopoverContent,
|
|
3538
3533
|
PopoverTrigger,
|
|
3534
|
+
PriceInput,
|
|
3539
3535
|
Progress,
|
|
3540
3536
|
ButtonRoot as Root,
|
|
3541
3537
|
ScrollArea,
|
|
@@ -3593,7 +3589,6 @@ export {
|
|
|
3593
3589
|
buttonVariants,
|
|
3594
3590
|
cn,
|
|
3595
3591
|
statusIndicatorVariants,
|
|
3596
|
-
tv,
|
|
3597
3592
|
useComboboxFilter,
|
|
3598
3593
|
useFormField
|
|
3599
3594
|
};
|