@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.js
CHANGED
|
@@ -158,6 +158,7 @@ __export(index_exports, {
|
|
|
158
158
|
Popover: () => Popover,
|
|
159
159
|
PopoverContent: () => PopoverContent,
|
|
160
160
|
PopoverTrigger: () => PopoverTrigger,
|
|
161
|
+
PriceInput: () => PriceInput,
|
|
161
162
|
Progress: () => Progress,
|
|
162
163
|
Root: () => ButtonRoot,
|
|
163
164
|
ScrollArea: () => ScrollArea,
|
|
@@ -215,7 +216,6 @@ __export(index_exports, {
|
|
|
215
216
|
buttonVariants: () => buttonVariants,
|
|
216
217
|
cn: () => cn,
|
|
217
218
|
statusIndicatorVariants: () => statusIndicatorVariants,
|
|
218
|
-
tv: () => tv,
|
|
219
219
|
useComboboxFilter: () => useComboboxFilter,
|
|
220
220
|
useFormField: () => useFormField
|
|
221
221
|
});
|
|
@@ -1479,11 +1479,11 @@ function Combobox2({ modal = false, ...props }) {
|
|
|
1479
1479
|
var import_react = __toESM(require("react"));
|
|
1480
1480
|
|
|
1481
1481
|
// src/components/fancy-button.tsx
|
|
1482
|
-
var React13 = __toESM(require("react"));
|
|
1483
|
-
var import_react_slot2 = require("@radix-ui/react-slot");
|
|
1484
|
-
|
|
1485
|
-
// src/lib/recursive-clone-children.tsx
|
|
1486
1482
|
var React12 = __toESM(require("react"));
|
|
1483
|
+
var import_react_slot2 = require("@radix-ui/react-slot");
|
|
1484
|
+
var import_tailwind_variants = require("tailwind-variants");
|
|
1485
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
1486
|
+
var tv = (0, import_tailwind_variants.createTV)({});
|
|
1487
1487
|
function recursiveCloneChildren(children, additionalProps, displayNames, uniqueId, asChild) {
|
|
1488
1488
|
const mappedChildren = React12.Children.map(
|
|
1489
1489
|
children,
|
|
@@ -1509,20 +1509,13 @@ function recursiveCloneChildren(children, additionalProps, displayNames, uniqueI
|
|
|
1509
1509
|
);
|
|
1510
1510
|
return asChild ? mappedChildren?.[0] : mappedChildren;
|
|
1511
1511
|
}
|
|
1512
|
-
|
|
1513
|
-
// src/lib/tv.ts
|
|
1514
|
-
var import_tailwind_variants = require("tailwind-variants");
|
|
1515
|
-
var tv = (0, import_tailwind_variants.createTV)({});
|
|
1516
|
-
|
|
1517
|
-
// src/components/fancy-button.tsx
|
|
1518
|
-
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
1519
1512
|
var BUTTON_ROOT_NAME = "ButtonRoot";
|
|
1520
1513
|
var BUTTON_ICON_NAME = "ButtonIcon";
|
|
1521
1514
|
var fancyButtonVariants = tv({
|
|
1522
1515
|
slots: {
|
|
1523
1516
|
root: [
|
|
1524
1517
|
// base
|
|
1525
|
-
"group relative inline-flex items-center justify-center whitespace-nowrap text-label-sm outline-none",
|
|
1518
|
+
"group relative inline-flex items-center justify-center whitespace-nowrap text-sm text-label-sm outline-none",
|
|
1526
1519
|
"transition duration-200 ease-out cursor-pointer",
|
|
1527
1520
|
// focus
|
|
1528
1521
|
"focus:outline-none",
|
|
@@ -1596,7 +1589,7 @@ var fancyButtonVariants = tv({
|
|
|
1596
1589
|
size: "medium"
|
|
1597
1590
|
}
|
|
1598
1591
|
});
|
|
1599
|
-
var ButtonRoot =
|
|
1592
|
+
var ButtonRoot = React12.forwardRef(
|
|
1600
1593
|
({
|
|
1601
1594
|
asChild,
|
|
1602
1595
|
children,
|
|
@@ -1606,7 +1599,7 @@ var ButtonRoot = React13.forwardRef(
|
|
|
1606
1599
|
loading,
|
|
1607
1600
|
...rest
|
|
1608
1601
|
}, forwardedRef) => {
|
|
1609
|
-
const uniqueId =
|
|
1602
|
+
const uniqueId = React12.useId();
|
|
1610
1603
|
const Component = asChild ? import_react_slot2.Slot : "button";
|
|
1611
1604
|
const { root } = fancyButtonVariants({ variant, size });
|
|
1612
1605
|
const sharedProps = {
|
|
@@ -1745,7 +1738,7 @@ var CopyButton = ({
|
|
|
1745
1738
|
};
|
|
1746
1739
|
|
|
1747
1740
|
// src/components/country-picker.tsx
|
|
1748
|
-
var
|
|
1741
|
+
var React14 = __toESM(require("react"));
|
|
1749
1742
|
var import_lucide_react8 = require("lucide-react");
|
|
1750
1743
|
|
|
1751
1744
|
// src/constants/countries.ts
|
|
@@ -1960,8 +1953,8 @@ function CountryPicker({
|
|
|
1960
1953
|
value_key = "value",
|
|
1961
1954
|
...props
|
|
1962
1955
|
}) {
|
|
1963
|
-
const [open, setOpen] =
|
|
1964
|
-
const active_option =
|
|
1956
|
+
const [open, setOpen] = React14.useState(false);
|
|
1957
|
+
const active_option = React14.useMemo(
|
|
1965
1958
|
() => options?.find(
|
|
1966
1959
|
(item) => item[value_key] === props.value
|
|
1967
1960
|
)?.label,
|
|
@@ -2077,7 +2070,7 @@ function CountryPicker({
|
|
|
2077
2070
|
}
|
|
2078
2071
|
|
|
2079
2072
|
// src/components/drawer.tsx
|
|
2080
|
-
var
|
|
2073
|
+
var React15 = __toESM(require("react"));
|
|
2081
2074
|
var import_vaul = require("vaul");
|
|
2082
2075
|
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
2083
2076
|
var Drawer = ({
|
|
@@ -2094,7 +2087,7 @@ Drawer.displayName = "Drawer";
|
|
|
2094
2087
|
var DrawerTrigger = import_vaul.Drawer.Trigger;
|
|
2095
2088
|
var DrawerPortal = import_vaul.Drawer.Portal;
|
|
2096
2089
|
var DrawerClose = import_vaul.Drawer.Close;
|
|
2097
|
-
var DrawerOverlay =
|
|
2090
|
+
var DrawerOverlay = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2098
2091
|
import_vaul.Drawer.Overlay,
|
|
2099
2092
|
{
|
|
2100
2093
|
ref,
|
|
@@ -2103,7 +2096,7 @@ var DrawerOverlay = React16.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
2103
2096
|
}
|
|
2104
2097
|
));
|
|
2105
2098
|
DrawerOverlay.displayName = import_vaul.Drawer.Overlay.displayName;
|
|
2106
|
-
var DrawerContent =
|
|
2099
|
+
var DrawerContent = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(DrawerPortal, { children: [
|
|
2107
2100
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(DrawerOverlay, {}),
|
|
2108
2101
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
2109
2102
|
import_vaul.Drawer.Content,
|
|
@@ -2144,7 +2137,7 @@ var DrawerFooter = ({
|
|
|
2144
2137
|
}
|
|
2145
2138
|
);
|
|
2146
2139
|
DrawerFooter.displayName = "DrawerFooter";
|
|
2147
|
-
var DrawerTitle =
|
|
2140
|
+
var DrawerTitle = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2148
2141
|
import_vaul.Drawer.Title,
|
|
2149
2142
|
{
|
|
2150
2143
|
ref,
|
|
@@ -2156,7 +2149,7 @@ var DrawerTitle = React16.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
2156
2149
|
}
|
|
2157
2150
|
));
|
|
2158
2151
|
DrawerTitle.displayName = import_vaul.Drawer.Title.displayName;
|
|
2159
|
-
var DrawerDescription =
|
|
2152
|
+
var DrawerDescription = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2160
2153
|
import_vaul.Drawer.Description,
|
|
2161
2154
|
{
|
|
2162
2155
|
ref,
|
|
@@ -2167,7 +2160,7 @@ var DrawerDescription = React16.forwardRef(({ className, ...props }, ref) => /*
|
|
|
2167
2160
|
DrawerDescription.displayName = import_vaul.Drawer.Description.displayName;
|
|
2168
2161
|
|
|
2169
2162
|
// src/components/dropdown-menu.tsx
|
|
2170
|
-
var
|
|
2163
|
+
var React16 = __toESM(require("react"));
|
|
2171
2164
|
var DropdownMenuPrimitive = __toESM(require("@radix-ui/react-dropdown-menu"));
|
|
2172
2165
|
var import_lucide_react9 = require("lucide-react");
|
|
2173
2166
|
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
@@ -2177,7 +2170,7 @@ var DropdownMenuGroup = DropdownMenuPrimitive.Group;
|
|
|
2177
2170
|
var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
|
|
2178
2171
|
var DropdownMenuSub = DropdownMenuPrimitive.Sub;
|
|
2179
2172
|
var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
|
|
2180
|
-
var DropdownMenuSubTrigger =
|
|
2173
|
+
var DropdownMenuSubTrigger = React16.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
|
|
2181
2174
|
DropdownMenuPrimitive.SubTrigger,
|
|
2182
2175
|
{
|
|
2183
2176
|
ref,
|
|
@@ -2194,7 +2187,7 @@ var DropdownMenuSubTrigger = React17.forwardRef(({ className, inset, children, .
|
|
|
2194
2187
|
}
|
|
2195
2188
|
));
|
|
2196
2189
|
DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
|
|
2197
|
-
var DropdownMenuSubContent =
|
|
2190
|
+
var DropdownMenuSubContent = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
2198
2191
|
DropdownMenuPrimitive.SubContent,
|
|
2199
2192
|
{
|
|
2200
2193
|
ref,
|
|
@@ -2206,7 +2199,7 @@ var DropdownMenuSubContent = React17.forwardRef(({ className, ...props }, ref) =
|
|
|
2206
2199
|
}
|
|
2207
2200
|
));
|
|
2208
2201
|
DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
|
|
2209
|
-
var DropdownMenuContent =
|
|
2202
|
+
var DropdownMenuContent = React16.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
2210
2203
|
DropdownMenuPrimitive.Content,
|
|
2211
2204
|
{
|
|
2212
2205
|
ref,
|
|
@@ -2219,7 +2212,7 @@ var DropdownMenuContent = React17.forwardRef(({ className, sideOffset = 4, ...pr
|
|
|
2219
2212
|
}
|
|
2220
2213
|
) }));
|
|
2221
2214
|
DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
|
|
2222
|
-
var DropdownMenuItem =
|
|
2215
|
+
var DropdownMenuItem = React16.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
2223
2216
|
DropdownMenuPrimitive.Item,
|
|
2224
2217
|
{
|
|
2225
2218
|
ref,
|
|
@@ -2232,7 +2225,7 @@ var DropdownMenuItem = React17.forwardRef(({ className, inset, ...props }, ref)
|
|
|
2232
2225
|
}
|
|
2233
2226
|
));
|
|
2234
2227
|
DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
|
|
2235
|
-
var DropdownMenuCheckboxItem =
|
|
2228
|
+
var DropdownMenuCheckboxItem = React16.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
|
|
2236
2229
|
DropdownMenuPrimitive.CheckboxItem,
|
|
2237
2230
|
{
|
|
2238
2231
|
ref,
|
|
@@ -2249,7 +2242,7 @@ var DropdownMenuCheckboxItem = React17.forwardRef(({ className, children, checke
|
|
|
2249
2242
|
}
|
|
2250
2243
|
));
|
|
2251
2244
|
DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
|
|
2252
|
-
var DropdownMenuRadioItem =
|
|
2245
|
+
var DropdownMenuRadioItem = React16.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
|
|
2253
2246
|
DropdownMenuPrimitive.RadioItem,
|
|
2254
2247
|
{
|
|
2255
2248
|
ref,
|
|
@@ -2265,7 +2258,7 @@ var DropdownMenuRadioItem = React17.forwardRef(({ className, children, ...props
|
|
|
2265
2258
|
}
|
|
2266
2259
|
));
|
|
2267
2260
|
DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
|
|
2268
|
-
var DropdownMenuLabel =
|
|
2261
|
+
var DropdownMenuLabel = React16.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
2269
2262
|
DropdownMenuPrimitive.Label,
|
|
2270
2263
|
{
|
|
2271
2264
|
ref,
|
|
@@ -2278,7 +2271,7 @@ var DropdownMenuLabel = React17.forwardRef(({ className, inset, ...props }, ref)
|
|
|
2278
2271
|
}
|
|
2279
2272
|
));
|
|
2280
2273
|
DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
|
|
2281
|
-
var DropdownMenuSeparator =
|
|
2274
|
+
var DropdownMenuSeparator = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
2282
2275
|
DropdownMenuPrimitive.Separator,
|
|
2283
2276
|
{
|
|
2284
2277
|
ref,
|
|
@@ -2351,19 +2344,19 @@ var FieldControl = import_field.Field.Control;
|
|
|
2351
2344
|
var FieldValidity = import_field.Field.Validity;
|
|
2352
2345
|
|
|
2353
2346
|
// src/components/form.tsx
|
|
2354
|
-
var
|
|
2347
|
+
var React18 = __toESM(require("react"));
|
|
2355
2348
|
var import_react_slot3 = require("@radix-ui/react-slot");
|
|
2356
2349
|
var import_react_hook_form = require("react-hook-form");
|
|
2357
2350
|
|
|
2358
2351
|
// src/components/label.tsx
|
|
2359
|
-
var
|
|
2352
|
+
var React17 = __toESM(require("react"));
|
|
2360
2353
|
var LabelPrimitive = __toESM(require("@radix-ui/react-label"));
|
|
2361
2354
|
var import_class_variance_authority3 = require("class-variance-authority");
|
|
2362
2355
|
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
2363
2356
|
var labelVariants = (0, import_class_variance_authority3.cva)(
|
|
2364
2357
|
"text-xs text-muted-foreground font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
|
|
2365
2358
|
);
|
|
2366
|
-
var Label2 =
|
|
2359
|
+
var Label2 = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
2367
2360
|
LabelPrimitive.Root,
|
|
2368
2361
|
{
|
|
2369
2362
|
ref,
|
|
@@ -2376,7 +2369,7 @@ Label2.displayName = LabelPrimitive.Root.displayName;
|
|
|
2376
2369
|
// src/components/form.tsx
|
|
2377
2370
|
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
2378
2371
|
var Form = import_react_hook_form.FormProvider;
|
|
2379
|
-
var FormFieldContext =
|
|
2372
|
+
var FormFieldContext = React18.createContext(
|
|
2380
2373
|
{}
|
|
2381
2374
|
);
|
|
2382
2375
|
var FormField = ({
|
|
@@ -2385,8 +2378,8 @@ var FormField = ({
|
|
|
2385
2378
|
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_react_hook_form.Controller, { ...props }) });
|
|
2386
2379
|
};
|
|
2387
2380
|
var useFormField = () => {
|
|
2388
|
-
const fieldContext =
|
|
2389
|
-
const itemContext =
|
|
2381
|
+
const fieldContext = React18.useContext(FormFieldContext);
|
|
2382
|
+
const itemContext = React18.useContext(FormItemContext);
|
|
2390
2383
|
const { getFieldState, formState } = (0, import_react_hook_form.useFormContext)();
|
|
2391
2384
|
const fieldState = getFieldState(fieldContext.name, formState);
|
|
2392
2385
|
if (!fieldContext) {
|
|
@@ -2402,15 +2395,15 @@ var useFormField = () => {
|
|
|
2402
2395
|
...fieldState
|
|
2403
2396
|
};
|
|
2404
2397
|
};
|
|
2405
|
-
var FormItemContext =
|
|
2398
|
+
var FormItemContext = React18.createContext(
|
|
2406
2399
|
{}
|
|
2407
2400
|
);
|
|
2408
|
-
var FormItem =
|
|
2409
|
-
const id =
|
|
2401
|
+
var FormItem = React18.forwardRef(({ className, ...props }, ref) => {
|
|
2402
|
+
const id = React18.useId();
|
|
2410
2403
|
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { ref, className: cn("space-y-2", className), ...props }) });
|
|
2411
2404
|
});
|
|
2412
2405
|
FormItem.displayName = "FormItem";
|
|
2413
|
-
var FormLabel =
|
|
2406
|
+
var FormLabel = React18.forwardRef(({ className, ...props }, ref) => {
|
|
2414
2407
|
const { error, formItemId } = useFormField();
|
|
2415
2408
|
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
2416
2409
|
Label2,
|
|
@@ -2423,7 +2416,7 @@ var FormLabel = React19.forwardRef(({ className, ...props }, ref) => {
|
|
|
2423
2416
|
);
|
|
2424
2417
|
});
|
|
2425
2418
|
FormLabel.displayName = "FormLabel";
|
|
2426
|
-
var FormControl =
|
|
2419
|
+
var FormControl = React18.forwardRef(({ ...props }, ref) => {
|
|
2427
2420
|
const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
|
|
2428
2421
|
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
2429
2422
|
import_react_slot3.Slot,
|
|
@@ -2437,7 +2430,7 @@ var FormControl = React19.forwardRef(({ ...props }, ref) => {
|
|
|
2437
2430
|
);
|
|
2438
2431
|
});
|
|
2439
2432
|
FormControl.displayName = "FormControl";
|
|
2440
|
-
var FormDescription =
|
|
2433
|
+
var FormDescription = React18.forwardRef(({ className, ...props }, ref) => {
|
|
2441
2434
|
const { formDescriptionId } = useFormField();
|
|
2442
2435
|
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
2443
2436
|
"p",
|
|
@@ -2450,7 +2443,7 @@ var FormDescription = React19.forwardRef(({ className, ...props }, ref) => {
|
|
|
2450
2443
|
);
|
|
2451
2444
|
});
|
|
2452
2445
|
FormDescription.displayName = "FormDescription";
|
|
2453
|
-
var FormMessage =
|
|
2446
|
+
var FormMessage = React18.forwardRef(({ className, children, ...props }, ref) => {
|
|
2454
2447
|
const { error, formMessageId } = useFormField();
|
|
2455
2448
|
const body = error ? String(error?.message) : children;
|
|
2456
2449
|
if (!body) {
|
|
@@ -2496,11 +2489,11 @@ var ImageCard = import_react2.default.memo(
|
|
|
2496
2489
|
);
|
|
2497
2490
|
|
|
2498
2491
|
// src/components/input-otp.tsx
|
|
2499
|
-
var
|
|
2492
|
+
var React20 = __toESM(require("react"));
|
|
2500
2493
|
var import_input_otp = require("input-otp");
|
|
2501
2494
|
var import_lucide_react10 = require("lucide-react");
|
|
2502
2495
|
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
2503
|
-
var InputOTP =
|
|
2496
|
+
var InputOTP = React20.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
2504
2497
|
import_input_otp.OTPInput,
|
|
2505
2498
|
{
|
|
2506
2499
|
ref,
|
|
@@ -2513,10 +2506,10 @@ var InputOTP = React21.forwardRef(({ className, containerClassName, ...props },
|
|
|
2513
2506
|
}
|
|
2514
2507
|
));
|
|
2515
2508
|
InputOTP.displayName = "InputOTP";
|
|
2516
|
-
var InputOTPGroup =
|
|
2509
|
+
var InputOTPGroup = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { ref, className: cn("flex items-center", className), ...props }));
|
|
2517
2510
|
InputOTPGroup.displayName = "InputOTPGroup";
|
|
2518
|
-
var InputOTPSlot =
|
|
2519
|
-
const inputOTPContext =
|
|
2511
|
+
var InputOTPSlot = React20.forwardRef(({ index, className, ...props }, ref) => {
|
|
2512
|
+
const inputOTPContext = React20.useContext(import_input_otp.OTPInputContext);
|
|
2520
2513
|
const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index];
|
|
2521
2514
|
return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
2522
2515
|
"div",
|
|
@@ -2536,7 +2529,7 @@ var InputOTPSlot = React21.forwardRef(({ index, className, ...props }, ref) => {
|
|
|
2536
2529
|
);
|
|
2537
2530
|
});
|
|
2538
2531
|
InputOTPSlot.displayName = "InputOTPSlot";
|
|
2539
|
-
var InputOTPSeparator =
|
|
2532
|
+
var InputOTPSeparator = React20.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_lucide_react10.Dot, {}) }));
|
|
2540
2533
|
InputOTPSeparator.displayName = "InputOTPSeparator";
|
|
2541
2534
|
|
|
2542
2535
|
// src/components/modal-container.tsx
|
|
@@ -2557,7 +2550,7 @@ var ModalContainer = import_react3.default.memo((props) => {
|
|
|
2557
2550
|
});
|
|
2558
2551
|
|
|
2559
2552
|
// src/components/multi-select.tsx
|
|
2560
|
-
var
|
|
2553
|
+
var React22 = __toESM(require("react"));
|
|
2561
2554
|
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
2562
2555
|
var MultiSelect = ({
|
|
2563
2556
|
options: options2 = [],
|
|
@@ -2569,10 +2562,10 @@ var MultiSelect = ({
|
|
|
2569
2562
|
maxCount,
|
|
2570
2563
|
required
|
|
2571
2564
|
}) => {
|
|
2572
|
-
const selectedOptions =
|
|
2565
|
+
const selectedOptions = React22.useMemo(() => {
|
|
2573
2566
|
return value.map((v) => options2.find((opt) => opt.value === v)).filter(Boolean);
|
|
2574
2567
|
}, [value, options2]);
|
|
2575
|
-
const handleValueChange =
|
|
2568
|
+
const handleValueChange = React22.useCallback(
|
|
2576
2569
|
(newValue) => {
|
|
2577
2570
|
if (Array.isArray(newValue)) {
|
|
2578
2571
|
onValueChange?.(newValue.map((opt) => opt.value));
|
|
@@ -2599,7 +2592,7 @@ var MultiSelect = ({
|
|
|
2599
2592
|
"min-h-10! before:hidden shadow-none rounded-10!",
|
|
2600
2593
|
className
|
|
2601
2594
|
),
|
|
2602
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(ComboboxValue, { children: (value2) => /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
|
|
2595
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(ComboboxValue, { children: (value2) => /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(React22.Fragment, { children: [
|
|
2603
2596
|
value2?.map((item) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
2604
2597
|
ComboboxChip,
|
|
2605
2598
|
{
|
|
@@ -2905,38 +2898,40 @@ var FlagComponent = ({ country, countryName }) => {
|
|
|
2905
2898
|
// src/components/price-input.tsx
|
|
2906
2899
|
var import_react6 = __toESM(require("react"));
|
|
2907
2900
|
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
2908
|
-
var PriceInput = import_react6.default.forwardRef(
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
children: [
|
|
2917
|
-
!props.hide_currency_symbol && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "absolute inset-y-0.5 flex items-center pl-4 pr-2", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "[fontSize:inherit] font-medium text-muted-foreground/50", children: currency?.symbol }) }),
|
|
2918
|
-
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
2919
|
-
Input,
|
|
2920
|
-
{
|
|
2921
|
-
ref,
|
|
2922
|
-
placeholder: "0.00",
|
|
2923
|
-
type: "text",
|
|
2924
|
-
...props,
|
|
2925
|
-
className: cn("px-10 shadow-none m-0! py-0", props.className)
|
|
2926
|
-
}
|
|
2901
|
+
var PriceInput = import_react6.default.forwardRef(
|
|
2902
|
+
({ currency, ...props }, ref) => {
|
|
2903
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
|
|
2904
|
+
"div",
|
|
2905
|
+
{
|
|
2906
|
+
className: cn(
|
|
2907
|
+
"relative h-fit flex overflow-hidden p-0",
|
|
2908
|
+
props.containerClassname
|
|
2927
2909
|
),
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2910
|
+
children: [
|
|
2911
|
+
!props.hide_currency_symbol && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "absolute inset-y-0.5 flex items-center pl-4 pr-2", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "[fontSize:inherit] font-medium text-muted-foreground/50", children: currency?.symbol }) }),
|
|
2912
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
2913
|
+
Input,
|
|
2914
|
+
{
|
|
2915
|
+
ref,
|
|
2916
|
+
placeholder: "0.00",
|
|
2917
|
+
type: "text",
|
|
2918
|
+
...props,
|
|
2919
|
+
className: cn("px-10 shadow-none m-0! py-0", props.className)
|
|
2920
|
+
}
|
|
2921
|
+
),
|
|
2922
|
+
!props.hide_currency_code && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "absolute inset-y-0.5 right-0 flex items-center pl-3 pr-4", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "[fontSize:inherit] font-medium text-muted-foreground/50", children: currency?.code }) })
|
|
2923
|
+
]
|
|
2924
|
+
}
|
|
2925
|
+
);
|
|
2926
|
+
}
|
|
2927
|
+
);
|
|
2933
2928
|
PriceInput.displayName = "PriceInput";
|
|
2934
2929
|
|
|
2935
2930
|
// src/components/progress.tsx
|
|
2936
|
-
var
|
|
2931
|
+
var React26 = __toESM(require("react"));
|
|
2937
2932
|
var ProgressPrimitive = __toESM(require("@radix-ui/react-progress"));
|
|
2938
2933
|
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
2939
|
-
var Progress =
|
|
2934
|
+
var Progress = React26.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
2940
2935
|
ProgressPrimitive.Root,
|
|
2941
2936
|
{
|
|
2942
2937
|
ref,
|
|
@@ -2957,14 +2952,14 @@ var Progress = React27.forwardRef(({ className, value, ...props }, ref) => /* @_
|
|
|
2957
2952
|
Progress.displayName = ProgressPrimitive.Root.displayName;
|
|
2958
2953
|
|
|
2959
2954
|
// src/components/select.tsx
|
|
2960
|
-
var
|
|
2955
|
+
var React27 = __toESM(require("react"));
|
|
2961
2956
|
var SelectPrimitive = __toESM(require("@radix-ui/react-select"));
|
|
2962
2957
|
var import_lucide_react13 = require("lucide-react");
|
|
2963
2958
|
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
2964
2959
|
var Select = SelectPrimitive.Root;
|
|
2965
2960
|
var SelectGroup = SelectPrimitive.Group;
|
|
2966
2961
|
var SelectValue = SelectPrimitive.Value;
|
|
2967
|
-
var SelectTrigger =
|
|
2962
|
+
var SelectTrigger = React27.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
|
|
2968
2963
|
SelectPrimitive.Trigger,
|
|
2969
2964
|
{
|
|
2970
2965
|
ref,
|
|
@@ -2980,7 +2975,7 @@ var SelectTrigger = React28.forwardRef(({ className, children, ...props }, ref)
|
|
|
2980
2975
|
}
|
|
2981
2976
|
));
|
|
2982
2977
|
SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
|
|
2983
|
-
var SelectScrollUpButton =
|
|
2978
|
+
var SelectScrollUpButton = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
2984
2979
|
SelectPrimitive.ScrollUpButton,
|
|
2985
2980
|
{
|
|
2986
2981
|
ref,
|
|
@@ -2993,7 +2988,7 @@ var SelectScrollUpButton = React28.forwardRef(({ className, ...props }, ref) =>
|
|
|
2993
2988
|
}
|
|
2994
2989
|
));
|
|
2995
2990
|
SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
|
|
2996
|
-
var SelectScrollDownButton =
|
|
2991
|
+
var SelectScrollDownButton = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
2997
2992
|
SelectPrimitive.ScrollDownButton,
|
|
2998
2993
|
{
|
|
2999
2994
|
ref,
|
|
@@ -3006,7 +3001,7 @@ var SelectScrollDownButton = React28.forwardRef(({ className, ...props }, ref) =
|
|
|
3006
3001
|
}
|
|
3007
3002
|
));
|
|
3008
3003
|
SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
|
|
3009
|
-
var SelectContent =
|
|
3004
|
+
var SelectContent = React27.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(SelectPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
|
|
3010
3005
|
SelectPrimitive.Content,
|
|
3011
3006
|
{
|
|
3012
3007
|
ref,
|
|
@@ -3034,7 +3029,7 @@ var SelectContent = React28.forwardRef(({ className, children, position = "poppe
|
|
|
3034
3029
|
}
|
|
3035
3030
|
) }));
|
|
3036
3031
|
SelectContent.displayName = SelectPrimitive.Content.displayName;
|
|
3037
|
-
var SelectLabel =
|
|
3032
|
+
var SelectLabel = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
3038
3033
|
SelectPrimitive.Label,
|
|
3039
3034
|
{
|
|
3040
3035
|
ref,
|
|
@@ -3043,7 +3038,7 @@ var SelectLabel = React28.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
3043
3038
|
}
|
|
3044
3039
|
));
|
|
3045
3040
|
SelectLabel.displayName = SelectPrimitive.Label.displayName;
|
|
3046
|
-
var SelectItem =
|
|
3041
|
+
var SelectItem = React27.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
|
|
3047
3042
|
SelectPrimitive.Item,
|
|
3048
3043
|
{
|
|
3049
3044
|
ref,
|
|
@@ -3059,7 +3054,7 @@ var SelectItem = React28.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
3059
3054
|
}
|
|
3060
3055
|
));
|
|
3061
3056
|
SelectItem.displayName = SelectPrimitive.Item.displayName;
|
|
3062
|
-
var SelectSeparator =
|
|
3057
|
+
var SelectSeparator = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
3063
3058
|
SelectPrimitive.Separator,
|
|
3064
3059
|
{
|
|
3065
3060
|
ref,
|
|
@@ -3070,10 +3065,10 @@ var SelectSeparator = React28.forwardRef(({ className, ...props }, ref) => /* @_
|
|
|
3070
3065
|
SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
|
|
3071
3066
|
|
|
3072
3067
|
// src/components/separator.tsx
|
|
3073
|
-
var
|
|
3068
|
+
var React28 = __toESM(require("react"));
|
|
3074
3069
|
var SeparatorPrimitive = __toESM(require("@radix-ui/react-separator"));
|
|
3075
3070
|
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
3076
|
-
var Separator3 =
|
|
3071
|
+
var Separator3 = React28.forwardRef(
|
|
3077
3072
|
({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3078
3073
|
SeparatorPrimitive.Root,
|
|
3079
3074
|
{
|
|
@@ -3092,7 +3087,7 @@ var Separator3 = React29.forwardRef(
|
|
|
3092
3087
|
Separator3.displayName = SeparatorPrimitive.Root.displayName;
|
|
3093
3088
|
|
|
3094
3089
|
// src/components/sheet.tsx
|
|
3095
|
-
var
|
|
3090
|
+
var React29 = __toESM(require("react"));
|
|
3096
3091
|
var SheetPrimitive = __toESM(require("@radix-ui/react-dialog"));
|
|
3097
3092
|
var import_class_variance_authority4 = require("class-variance-authority");
|
|
3098
3093
|
var import_lucide_react14 = require("lucide-react");
|
|
@@ -3101,7 +3096,7 @@ var Sheet = SheetPrimitive.Root;
|
|
|
3101
3096
|
var SheetTrigger = SheetPrimitive.Trigger;
|
|
3102
3097
|
var SheetClose = SheetPrimitive.Close;
|
|
3103
3098
|
var SheetPortal = SheetPrimitive.Portal;
|
|
3104
|
-
var SheetOverlay =
|
|
3099
|
+
var SheetOverlay = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
3105
3100
|
SheetPrimitive.Overlay,
|
|
3106
3101
|
{
|
|
3107
3102
|
className: cn(
|
|
@@ -3129,7 +3124,7 @@ var sheetVariants = (0, import_class_variance_authority4.cva)(
|
|
|
3129
3124
|
}
|
|
3130
3125
|
}
|
|
3131
3126
|
);
|
|
3132
|
-
var SheetContent =
|
|
3127
|
+
var SheetContent = React29.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(SheetPortal, { children: [
|
|
3133
3128
|
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(SheetOverlay, {}),
|
|
3134
3129
|
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
|
3135
3130
|
SheetPrimitive.Content,
|
|
@@ -3176,7 +3171,7 @@ var SheetFooter = ({
|
|
|
3176
3171
|
}
|
|
3177
3172
|
);
|
|
3178
3173
|
SheetFooter.displayName = "SheetFooter";
|
|
3179
|
-
var SheetTitle =
|
|
3174
|
+
var SheetTitle = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
3180
3175
|
SheetPrimitive.Title,
|
|
3181
3176
|
{
|
|
3182
3177
|
ref,
|
|
@@ -3185,7 +3180,7 @@ var SheetTitle = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
3185
3180
|
}
|
|
3186
3181
|
));
|
|
3187
3182
|
SheetTitle.displayName = SheetPrimitive.Title.displayName;
|
|
3188
|
-
var SheetDescription =
|
|
3183
|
+
var SheetDescription = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
3189
3184
|
SheetPrimitive.Description,
|
|
3190
3185
|
{
|
|
3191
3186
|
ref,
|
|
@@ -3404,11 +3399,11 @@ function TableCaption({
|
|
|
3404
3399
|
}
|
|
3405
3400
|
|
|
3406
3401
|
// src/components/tabs.tsx
|
|
3407
|
-
var
|
|
3402
|
+
var React30 = __toESM(require("react"));
|
|
3408
3403
|
var TabsPrimitive = __toESM(require("@radix-ui/react-tabs"));
|
|
3409
3404
|
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
3410
3405
|
var Tabs = TabsPrimitive.Root;
|
|
3411
|
-
var TabsList =
|
|
3406
|
+
var TabsList = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
3412
3407
|
TabsPrimitive.List,
|
|
3413
3408
|
{
|
|
3414
3409
|
ref,
|
|
@@ -3420,7 +3415,7 @@ var TabsList = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
3420
3415
|
}
|
|
3421
3416
|
));
|
|
3422
3417
|
TabsList.displayName = TabsPrimitive.List.displayName;
|
|
3423
|
-
var TabsTrigger =
|
|
3418
|
+
var TabsTrigger = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
3424
3419
|
TabsPrimitive.Trigger,
|
|
3425
3420
|
{
|
|
3426
3421
|
ref,
|
|
@@ -3432,7 +3427,7 @@ var TabsTrigger = React31.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
3432
3427
|
}
|
|
3433
3428
|
));
|
|
3434
3429
|
TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
|
|
3435
|
-
var TabsContent =
|
|
3430
|
+
var TabsContent = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
3436
3431
|
TabsPrimitive.Content,
|
|
3437
3432
|
{
|
|
3438
3433
|
ref,
|
|
@@ -3451,9 +3446,9 @@ var import_react7 = require("react");
|
|
|
3451
3446
|
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
3452
3447
|
|
|
3453
3448
|
// src/components/textarea.tsx
|
|
3454
|
-
var
|
|
3449
|
+
var React31 = __toESM(require("react"));
|
|
3455
3450
|
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
3456
|
-
var Textarea =
|
|
3451
|
+
var Textarea = React31.forwardRef(
|
|
3457
3452
|
({ className, ...props }, ref) => {
|
|
3458
3453
|
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
3459
3454
|
"textarea",
|
|
@@ -3471,17 +3466,17 @@ var Textarea = React32.forwardRef(
|
|
|
3471
3466
|
Textarea.displayName = "Textarea";
|
|
3472
3467
|
|
|
3473
3468
|
// src/components/timeline.tsx
|
|
3474
|
-
var
|
|
3469
|
+
var React32 = __toESM(require("react"));
|
|
3475
3470
|
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
3476
|
-
var TimelineContext =
|
|
3471
|
+
var TimelineContext = React32.createContext(null);
|
|
3477
3472
|
function useTimeline() {
|
|
3478
|
-
const context =
|
|
3473
|
+
const context = React32.useContext(TimelineContext);
|
|
3479
3474
|
if (!context) {
|
|
3480
3475
|
throw new Error("useTimeline must be used within a <Timeline />.");
|
|
3481
3476
|
}
|
|
3482
3477
|
return context;
|
|
3483
3478
|
}
|
|
3484
|
-
var Timeline =
|
|
3479
|
+
var Timeline = React32.forwardRef(
|
|
3485
3480
|
({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(TimelineContext.Provider, { value: { orientation }, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
3486
3481
|
"ol",
|
|
3487
3482
|
{
|
|
@@ -3498,7 +3493,7 @@ var Timeline = React33.forwardRef(
|
|
|
3498
3493
|
) })
|
|
3499
3494
|
);
|
|
3500
3495
|
Timeline.displayName = "Timeline";
|
|
3501
|
-
var TimelineItem =
|
|
3496
|
+
var TimelineItem = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3502
3497
|
const { orientation } = useTimeline();
|
|
3503
3498
|
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
3504
3499
|
"li",
|
|
@@ -3515,7 +3510,7 @@ var TimelineItem = React33.forwardRef(({ className, ...props }, ref) => {
|
|
|
3515
3510
|
);
|
|
3516
3511
|
});
|
|
3517
3512
|
TimelineItem.displayName = "TimelineItem";
|
|
3518
|
-
var TimelineSeparator =
|
|
3513
|
+
var TimelineSeparator = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3519
3514
|
const { orientation } = useTimeline();
|
|
3520
3515
|
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
3521
3516
|
"div",
|
|
@@ -3532,7 +3527,7 @@ var TimelineSeparator = React33.forwardRef(({ className, ...props }, ref) => {
|
|
|
3532
3527
|
);
|
|
3533
3528
|
});
|
|
3534
3529
|
TimelineSeparator.displayName = "TimelineSeparator";
|
|
3535
|
-
var TimelineDot =
|
|
3530
|
+
var TimelineDot = React32.forwardRef(({ variant = "default", className, ...props }, ref) => {
|
|
3536
3531
|
const { orientation } = useTimeline();
|
|
3537
3532
|
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
3538
3533
|
"div",
|
|
@@ -3551,7 +3546,7 @@ var TimelineDot = React33.forwardRef(({ variant = "default", className, ...props
|
|
|
3551
3546
|
);
|
|
3552
3547
|
});
|
|
3553
3548
|
TimelineDot.displayName = "TimelineDot";
|
|
3554
|
-
var TimelineConnector =
|
|
3549
|
+
var TimelineConnector = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3555
3550
|
const { orientation } = useTimeline();
|
|
3556
3551
|
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
3557
3552
|
"div",
|
|
@@ -3569,7 +3564,7 @@ var TimelineConnector = React33.forwardRef(({ className, ...props }, ref) => {
|
|
|
3569
3564
|
);
|
|
3570
3565
|
});
|
|
3571
3566
|
TimelineConnector.displayName = "TimelineConnector";
|
|
3572
|
-
var TimelineContent =
|
|
3567
|
+
var TimelineContent = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3573
3568
|
const { orientation } = useTimeline();
|
|
3574
3569
|
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
3575
3570
|
"div",
|
|
@@ -3587,12 +3582,12 @@ var TimelineContent = React33.forwardRef(({ className, ...props }, ref) => {
|
|
|
3587
3582
|
);
|
|
3588
3583
|
});
|
|
3589
3584
|
TimelineContent.displayName = "TimelineContent";
|
|
3590
|
-
var TimelineTitle =
|
|
3585
|
+
var TimelineTitle = React32.forwardRef((props, ref) => {
|
|
3591
3586
|
const { orientation } = useTimeline();
|
|
3592
3587
|
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { ref, "data-orientation": orientation, ...props });
|
|
3593
3588
|
});
|
|
3594
3589
|
TimelineTitle.displayName = "TimelineTitle";
|
|
3595
|
-
var TimelineDescription =
|
|
3590
|
+
var TimelineDescription = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3596
3591
|
const { orientation } = useTimeline();
|
|
3597
3592
|
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
3598
3593
|
"div",
|
|
@@ -3607,13 +3602,13 @@ var TimelineDescription = React33.forwardRef(({ className, ...props }, ref) => {
|
|
|
3607
3602
|
TimelineDescription.displayName = "TimelineDescription";
|
|
3608
3603
|
|
|
3609
3604
|
// src/components/tooltip.tsx
|
|
3610
|
-
var
|
|
3605
|
+
var React33 = __toESM(require("react"));
|
|
3611
3606
|
var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
|
|
3612
3607
|
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
3613
3608
|
var TooltipProvider = TooltipPrimitive.Provider;
|
|
3614
3609
|
var Tooltip = TooltipPrimitive.Root;
|
|
3615
3610
|
var TooltipTrigger = TooltipPrimitive.Trigger;
|
|
3616
|
-
var TooltipContent =
|
|
3611
|
+
var TooltipContent = React33.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
3617
3612
|
TooltipPrimitive.Content,
|
|
3618
3613
|
{
|
|
3619
3614
|
ref,
|
|
@@ -3756,6 +3751,7 @@ TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
|
|
3756
3751
|
Popover,
|
|
3757
3752
|
PopoverContent,
|
|
3758
3753
|
PopoverTrigger,
|
|
3754
|
+
PriceInput,
|
|
3759
3755
|
Progress,
|
|
3760
3756
|
Root,
|
|
3761
3757
|
ScrollArea,
|
|
@@ -3813,7 +3809,6 @@ TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
|
|
3813
3809
|
buttonVariants,
|
|
3814
3810
|
cn,
|
|
3815
3811
|
statusIndicatorVariants,
|
|
3816
|
-
tv,
|
|
3817
3812
|
useComboboxFilter,
|
|
3818
3813
|
useFormField
|
|
3819
3814
|
});
|