@use-stall/ui 0.0.4 → 0.0.6
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 +10 -14
- package/dist/index.d.ts +10 -14
- package/dist/index.js +86 -95
- package/dist/index.mjs +100 -108
- package/package.json +23 -20
- 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
|
@@ -216,7 +216,6 @@ __export(index_exports, {
|
|
|
216
216
|
buttonVariants: () => buttonVariants,
|
|
217
217
|
cn: () => cn,
|
|
218
218
|
statusIndicatorVariants: () => statusIndicatorVariants,
|
|
219
|
-
tv: () => tv,
|
|
220
219
|
useComboboxFilter: () => useComboboxFilter,
|
|
221
220
|
useFormField: () => useFormField
|
|
222
221
|
});
|
|
@@ -1480,11 +1479,11 @@ function Combobox2({ modal = false, ...props }) {
|
|
|
1480
1479
|
var import_react = __toESM(require("react"));
|
|
1481
1480
|
|
|
1482
1481
|
// src/components/fancy-button.tsx
|
|
1483
|
-
var React13 = __toESM(require("react"));
|
|
1484
|
-
var import_react_slot2 = require("@radix-ui/react-slot");
|
|
1485
|
-
|
|
1486
|
-
// src/lib/recursive-clone-children.tsx
|
|
1487
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)({});
|
|
1488
1487
|
function recursiveCloneChildren(children, additionalProps, displayNames, uniqueId, asChild) {
|
|
1489
1488
|
const mappedChildren = React12.Children.map(
|
|
1490
1489
|
children,
|
|
@@ -1510,20 +1509,13 @@ function recursiveCloneChildren(children, additionalProps, displayNames, uniqueI
|
|
|
1510
1509
|
);
|
|
1511
1510
|
return asChild ? mappedChildren?.[0] : mappedChildren;
|
|
1512
1511
|
}
|
|
1513
|
-
|
|
1514
|
-
// src/lib/tv.ts
|
|
1515
|
-
var import_tailwind_variants = require("tailwind-variants");
|
|
1516
|
-
var tv = (0, import_tailwind_variants.createTV)({});
|
|
1517
|
-
|
|
1518
|
-
// src/components/fancy-button.tsx
|
|
1519
|
-
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
1520
1512
|
var BUTTON_ROOT_NAME = "ButtonRoot";
|
|
1521
1513
|
var BUTTON_ICON_NAME = "ButtonIcon";
|
|
1522
1514
|
var fancyButtonVariants = tv({
|
|
1523
1515
|
slots: {
|
|
1524
1516
|
root: [
|
|
1525
1517
|
// base
|
|
1526
|
-
"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-label-sm text-sm outline-none",
|
|
1527
1519
|
"transition duration-200 ease-out cursor-pointer",
|
|
1528
1520
|
// focus
|
|
1529
1521
|
"focus:outline-none",
|
|
@@ -1597,7 +1589,7 @@ var fancyButtonVariants = tv({
|
|
|
1597
1589
|
size: "medium"
|
|
1598
1590
|
}
|
|
1599
1591
|
});
|
|
1600
|
-
var ButtonRoot =
|
|
1592
|
+
var ButtonRoot = React12.forwardRef(
|
|
1601
1593
|
({
|
|
1602
1594
|
asChild,
|
|
1603
1595
|
children,
|
|
@@ -1607,7 +1599,7 @@ var ButtonRoot = React13.forwardRef(
|
|
|
1607
1599
|
loading,
|
|
1608
1600
|
...rest
|
|
1609
1601
|
}, forwardedRef) => {
|
|
1610
|
-
const uniqueId =
|
|
1602
|
+
const uniqueId = React12.useId();
|
|
1611
1603
|
const Component = asChild ? import_react_slot2.Slot : "button";
|
|
1612
1604
|
const { root } = fancyButtonVariants({ variant, size });
|
|
1613
1605
|
const sharedProps = {
|
|
@@ -1746,7 +1738,7 @@ var CopyButton = ({
|
|
|
1746
1738
|
};
|
|
1747
1739
|
|
|
1748
1740
|
// src/components/country-picker.tsx
|
|
1749
|
-
var
|
|
1741
|
+
var React14 = __toESM(require("react"));
|
|
1750
1742
|
var import_lucide_react8 = require("lucide-react");
|
|
1751
1743
|
|
|
1752
1744
|
// src/constants/countries.ts
|
|
@@ -1961,8 +1953,8 @@ function CountryPicker({
|
|
|
1961
1953
|
value_key = "value",
|
|
1962
1954
|
...props
|
|
1963
1955
|
}) {
|
|
1964
|
-
const [open, setOpen] =
|
|
1965
|
-
const active_option =
|
|
1956
|
+
const [open, setOpen] = React14.useState(false);
|
|
1957
|
+
const active_option = React14.useMemo(
|
|
1966
1958
|
() => options?.find(
|
|
1967
1959
|
(item) => item[value_key] === props.value
|
|
1968
1960
|
)?.label,
|
|
@@ -2078,7 +2070,7 @@ function CountryPicker({
|
|
|
2078
2070
|
}
|
|
2079
2071
|
|
|
2080
2072
|
// src/components/drawer.tsx
|
|
2081
|
-
var
|
|
2073
|
+
var React15 = __toESM(require("react"));
|
|
2082
2074
|
var import_vaul = require("vaul");
|
|
2083
2075
|
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
2084
2076
|
var Drawer = ({
|
|
@@ -2095,7 +2087,7 @@ Drawer.displayName = "Drawer";
|
|
|
2095
2087
|
var DrawerTrigger = import_vaul.Drawer.Trigger;
|
|
2096
2088
|
var DrawerPortal = import_vaul.Drawer.Portal;
|
|
2097
2089
|
var DrawerClose = import_vaul.Drawer.Close;
|
|
2098
|
-
var DrawerOverlay =
|
|
2090
|
+
var DrawerOverlay = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2099
2091
|
import_vaul.Drawer.Overlay,
|
|
2100
2092
|
{
|
|
2101
2093
|
ref,
|
|
@@ -2104,7 +2096,7 @@ var DrawerOverlay = React16.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
2104
2096
|
}
|
|
2105
2097
|
));
|
|
2106
2098
|
DrawerOverlay.displayName = import_vaul.Drawer.Overlay.displayName;
|
|
2107
|
-
var DrawerContent =
|
|
2099
|
+
var DrawerContent = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(DrawerPortal, { children: [
|
|
2108
2100
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(DrawerOverlay, {}),
|
|
2109
2101
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
2110
2102
|
import_vaul.Drawer.Content,
|
|
@@ -2145,7 +2137,7 @@ var DrawerFooter = ({
|
|
|
2145
2137
|
}
|
|
2146
2138
|
);
|
|
2147
2139
|
DrawerFooter.displayName = "DrawerFooter";
|
|
2148
|
-
var DrawerTitle =
|
|
2140
|
+
var DrawerTitle = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2149
2141
|
import_vaul.Drawer.Title,
|
|
2150
2142
|
{
|
|
2151
2143
|
ref,
|
|
@@ -2157,7 +2149,7 @@ var DrawerTitle = React16.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
2157
2149
|
}
|
|
2158
2150
|
));
|
|
2159
2151
|
DrawerTitle.displayName = import_vaul.Drawer.Title.displayName;
|
|
2160
|
-
var DrawerDescription =
|
|
2152
|
+
var DrawerDescription = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2161
2153
|
import_vaul.Drawer.Description,
|
|
2162
2154
|
{
|
|
2163
2155
|
ref,
|
|
@@ -2168,7 +2160,7 @@ var DrawerDescription = React16.forwardRef(({ className, ...props }, ref) => /*
|
|
|
2168
2160
|
DrawerDescription.displayName = import_vaul.Drawer.Description.displayName;
|
|
2169
2161
|
|
|
2170
2162
|
// src/components/dropdown-menu.tsx
|
|
2171
|
-
var
|
|
2163
|
+
var React16 = __toESM(require("react"));
|
|
2172
2164
|
var DropdownMenuPrimitive = __toESM(require("@radix-ui/react-dropdown-menu"));
|
|
2173
2165
|
var import_lucide_react9 = require("lucide-react");
|
|
2174
2166
|
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
@@ -2178,7 +2170,7 @@ var DropdownMenuGroup = DropdownMenuPrimitive.Group;
|
|
|
2178
2170
|
var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
|
|
2179
2171
|
var DropdownMenuSub = DropdownMenuPrimitive.Sub;
|
|
2180
2172
|
var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
|
|
2181
|
-
var DropdownMenuSubTrigger =
|
|
2173
|
+
var DropdownMenuSubTrigger = React16.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
|
|
2182
2174
|
DropdownMenuPrimitive.SubTrigger,
|
|
2183
2175
|
{
|
|
2184
2176
|
ref,
|
|
@@ -2195,7 +2187,7 @@ var DropdownMenuSubTrigger = React17.forwardRef(({ className, inset, children, .
|
|
|
2195
2187
|
}
|
|
2196
2188
|
));
|
|
2197
2189
|
DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
|
|
2198
|
-
var DropdownMenuSubContent =
|
|
2190
|
+
var DropdownMenuSubContent = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
2199
2191
|
DropdownMenuPrimitive.SubContent,
|
|
2200
2192
|
{
|
|
2201
2193
|
ref,
|
|
@@ -2207,7 +2199,7 @@ var DropdownMenuSubContent = React17.forwardRef(({ className, ...props }, ref) =
|
|
|
2207
2199
|
}
|
|
2208
2200
|
));
|
|
2209
2201
|
DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
|
|
2210
|
-
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)(
|
|
2211
2203
|
DropdownMenuPrimitive.Content,
|
|
2212
2204
|
{
|
|
2213
2205
|
ref,
|
|
@@ -2220,7 +2212,7 @@ var DropdownMenuContent = React17.forwardRef(({ className, sideOffset = 4, ...pr
|
|
|
2220
2212
|
}
|
|
2221
2213
|
) }));
|
|
2222
2214
|
DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
|
|
2223
|
-
var DropdownMenuItem =
|
|
2215
|
+
var DropdownMenuItem = React16.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
2224
2216
|
DropdownMenuPrimitive.Item,
|
|
2225
2217
|
{
|
|
2226
2218
|
ref,
|
|
@@ -2233,7 +2225,7 @@ var DropdownMenuItem = React17.forwardRef(({ className, inset, ...props }, ref)
|
|
|
2233
2225
|
}
|
|
2234
2226
|
));
|
|
2235
2227
|
DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
|
|
2236
|
-
var DropdownMenuCheckboxItem =
|
|
2228
|
+
var DropdownMenuCheckboxItem = React16.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
|
|
2237
2229
|
DropdownMenuPrimitive.CheckboxItem,
|
|
2238
2230
|
{
|
|
2239
2231
|
ref,
|
|
@@ -2250,7 +2242,7 @@ var DropdownMenuCheckboxItem = React17.forwardRef(({ className, children, checke
|
|
|
2250
2242
|
}
|
|
2251
2243
|
));
|
|
2252
2244
|
DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
|
|
2253
|
-
var DropdownMenuRadioItem =
|
|
2245
|
+
var DropdownMenuRadioItem = React16.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
|
|
2254
2246
|
DropdownMenuPrimitive.RadioItem,
|
|
2255
2247
|
{
|
|
2256
2248
|
ref,
|
|
@@ -2266,7 +2258,7 @@ var DropdownMenuRadioItem = React17.forwardRef(({ className, children, ...props
|
|
|
2266
2258
|
}
|
|
2267
2259
|
));
|
|
2268
2260
|
DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
|
|
2269
|
-
var DropdownMenuLabel =
|
|
2261
|
+
var DropdownMenuLabel = React16.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
2270
2262
|
DropdownMenuPrimitive.Label,
|
|
2271
2263
|
{
|
|
2272
2264
|
ref,
|
|
@@ -2279,7 +2271,7 @@ var DropdownMenuLabel = React17.forwardRef(({ className, inset, ...props }, ref)
|
|
|
2279
2271
|
}
|
|
2280
2272
|
));
|
|
2281
2273
|
DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
|
|
2282
|
-
var DropdownMenuSeparator =
|
|
2274
|
+
var DropdownMenuSeparator = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
2283
2275
|
DropdownMenuPrimitive.Separator,
|
|
2284
2276
|
{
|
|
2285
2277
|
ref,
|
|
@@ -2352,19 +2344,19 @@ var FieldControl = import_field.Field.Control;
|
|
|
2352
2344
|
var FieldValidity = import_field.Field.Validity;
|
|
2353
2345
|
|
|
2354
2346
|
// src/components/form.tsx
|
|
2355
|
-
var
|
|
2347
|
+
var React18 = __toESM(require("react"));
|
|
2356
2348
|
var import_react_slot3 = require("@radix-ui/react-slot");
|
|
2357
2349
|
var import_react_hook_form = require("react-hook-form");
|
|
2358
2350
|
|
|
2359
2351
|
// src/components/label.tsx
|
|
2360
|
-
var
|
|
2352
|
+
var React17 = __toESM(require("react"));
|
|
2361
2353
|
var LabelPrimitive = __toESM(require("@radix-ui/react-label"));
|
|
2362
2354
|
var import_class_variance_authority3 = require("class-variance-authority");
|
|
2363
2355
|
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
2364
2356
|
var labelVariants = (0, import_class_variance_authority3.cva)(
|
|
2365
2357
|
"text-xs text-muted-foreground font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
|
|
2366
2358
|
);
|
|
2367
|
-
var Label2 =
|
|
2359
|
+
var Label2 = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
2368
2360
|
LabelPrimitive.Root,
|
|
2369
2361
|
{
|
|
2370
2362
|
ref,
|
|
@@ -2377,7 +2369,7 @@ Label2.displayName = LabelPrimitive.Root.displayName;
|
|
|
2377
2369
|
// src/components/form.tsx
|
|
2378
2370
|
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
2379
2371
|
var Form = import_react_hook_form.FormProvider;
|
|
2380
|
-
var FormFieldContext =
|
|
2372
|
+
var FormFieldContext = React18.createContext(
|
|
2381
2373
|
{}
|
|
2382
2374
|
);
|
|
2383
2375
|
var FormField = ({
|
|
@@ -2386,8 +2378,8 @@ var FormField = ({
|
|
|
2386
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 }) });
|
|
2387
2379
|
};
|
|
2388
2380
|
var useFormField = () => {
|
|
2389
|
-
const fieldContext =
|
|
2390
|
-
const itemContext =
|
|
2381
|
+
const fieldContext = React18.useContext(FormFieldContext);
|
|
2382
|
+
const itemContext = React18.useContext(FormItemContext);
|
|
2391
2383
|
const { getFieldState, formState } = (0, import_react_hook_form.useFormContext)();
|
|
2392
2384
|
const fieldState = getFieldState(fieldContext.name, formState);
|
|
2393
2385
|
if (!fieldContext) {
|
|
@@ -2403,15 +2395,15 @@ var useFormField = () => {
|
|
|
2403
2395
|
...fieldState
|
|
2404
2396
|
};
|
|
2405
2397
|
};
|
|
2406
|
-
var FormItemContext =
|
|
2398
|
+
var FormItemContext = React18.createContext(
|
|
2407
2399
|
{}
|
|
2408
2400
|
);
|
|
2409
|
-
var FormItem =
|
|
2410
|
-
const id =
|
|
2401
|
+
var FormItem = React18.forwardRef(({ className, ...props }, ref) => {
|
|
2402
|
+
const id = React18.useId();
|
|
2411
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 }) });
|
|
2412
2404
|
});
|
|
2413
2405
|
FormItem.displayName = "FormItem";
|
|
2414
|
-
var FormLabel =
|
|
2406
|
+
var FormLabel = React18.forwardRef(({ className, ...props }, ref) => {
|
|
2415
2407
|
const { error, formItemId } = useFormField();
|
|
2416
2408
|
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
2417
2409
|
Label2,
|
|
@@ -2424,7 +2416,7 @@ var FormLabel = React19.forwardRef(({ className, ...props }, ref) => {
|
|
|
2424
2416
|
);
|
|
2425
2417
|
});
|
|
2426
2418
|
FormLabel.displayName = "FormLabel";
|
|
2427
|
-
var FormControl =
|
|
2419
|
+
var FormControl = React18.forwardRef(({ ...props }, ref) => {
|
|
2428
2420
|
const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
|
|
2429
2421
|
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
2430
2422
|
import_react_slot3.Slot,
|
|
@@ -2438,7 +2430,7 @@ var FormControl = React19.forwardRef(({ ...props }, ref) => {
|
|
|
2438
2430
|
);
|
|
2439
2431
|
});
|
|
2440
2432
|
FormControl.displayName = "FormControl";
|
|
2441
|
-
var FormDescription =
|
|
2433
|
+
var FormDescription = React18.forwardRef(({ className, ...props }, ref) => {
|
|
2442
2434
|
const { formDescriptionId } = useFormField();
|
|
2443
2435
|
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
2444
2436
|
"p",
|
|
@@ -2451,7 +2443,7 @@ var FormDescription = React19.forwardRef(({ className, ...props }, ref) => {
|
|
|
2451
2443
|
);
|
|
2452
2444
|
});
|
|
2453
2445
|
FormDescription.displayName = "FormDescription";
|
|
2454
|
-
var FormMessage =
|
|
2446
|
+
var FormMessage = React18.forwardRef(({ className, children, ...props }, ref) => {
|
|
2455
2447
|
const { error, formMessageId } = useFormField();
|
|
2456
2448
|
const body = error ? String(error?.message) : children;
|
|
2457
2449
|
if (!body) {
|
|
@@ -2497,11 +2489,11 @@ var ImageCard = import_react2.default.memo(
|
|
|
2497
2489
|
);
|
|
2498
2490
|
|
|
2499
2491
|
// src/components/input-otp.tsx
|
|
2500
|
-
var
|
|
2492
|
+
var React20 = __toESM(require("react"));
|
|
2501
2493
|
var import_input_otp = require("input-otp");
|
|
2502
2494
|
var import_lucide_react10 = require("lucide-react");
|
|
2503
2495
|
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
2504
|
-
var InputOTP =
|
|
2496
|
+
var InputOTP = React20.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
2505
2497
|
import_input_otp.OTPInput,
|
|
2506
2498
|
{
|
|
2507
2499
|
ref,
|
|
@@ -2514,10 +2506,10 @@ var InputOTP = React21.forwardRef(({ className, containerClassName, ...props },
|
|
|
2514
2506
|
}
|
|
2515
2507
|
));
|
|
2516
2508
|
InputOTP.displayName = "InputOTP";
|
|
2517
|
-
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 }));
|
|
2518
2510
|
InputOTPGroup.displayName = "InputOTPGroup";
|
|
2519
|
-
var InputOTPSlot =
|
|
2520
|
-
const inputOTPContext =
|
|
2511
|
+
var InputOTPSlot = React20.forwardRef(({ index, className, ...props }, ref) => {
|
|
2512
|
+
const inputOTPContext = React20.useContext(import_input_otp.OTPInputContext);
|
|
2521
2513
|
const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index];
|
|
2522
2514
|
return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
2523
2515
|
"div",
|
|
@@ -2537,7 +2529,7 @@ var InputOTPSlot = React21.forwardRef(({ index, className, ...props }, ref) => {
|
|
|
2537
2529
|
);
|
|
2538
2530
|
});
|
|
2539
2531
|
InputOTPSlot.displayName = "InputOTPSlot";
|
|
2540
|
-
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, {}) }));
|
|
2541
2533
|
InputOTPSeparator.displayName = "InputOTPSeparator";
|
|
2542
2534
|
|
|
2543
2535
|
// src/components/modal-container.tsx
|
|
@@ -2558,7 +2550,7 @@ var ModalContainer = import_react3.default.memo((props) => {
|
|
|
2558
2550
|
});
|
|
2559
2551
|
|
|
2560
2552
|
// src/components/multi-select.tsx
|
|
2561
|
-
var
|
|
2553
|
+
var React22 = __toESM(require("react"));
|
|
2562
2554
|
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
2563
2555
|
var MultiSelect = ({
|
|
2564
2556
|
options: options2 = [],
|
|
@@ -2570,10 +2562,10 @@ var MultiSelect = ({
|
|
|
2570
2562
|
maxCount,
|
|
2571
2563
|
required
|
|
2572
2564
|
}) => {
|
|
2573
|
-
const selectedOptions =
|
|
2565
|
+
const selectedOptions = React22.useMemo(() => {
|
|
2574
2566
|
return value.map((v) => options2.find((opt) => opt.value === v)).filter(Boolean);
|
|
2575
2567
|
}, [value, options2]);
|
|
2576
|
-
const handleValueChange =
|
|
2568
|
+
const handleValueChange = React22.useCallback(
|
|
2577
2569
|
(newValue) => {
|
|
2578
2570
|
if (Array.isArray(newValue)) {
|
|
2579
2571
|
onValueChange?.(newValue.map((opt) => opt.value));
|
|
@@ -2600,7 +2592,7 @@ var MultiSelect = ({
|
|
|
2600
2592
|
"min-h-10! before:hidden shadow-none rounded-10!",
|
|
2601
2593
|
className
|
|
2602
2594
|
),
|
|
2603
|
-
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: [
|
|
2604
2596
|
value2?.map((item) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
2605
2597
|
ComboboxChip,
|
|
2606
2598
|
{
|
|
@@ -2730,7 +2722,7 @@ var PasswordInput = import_react4.default.forwardRef(
|
|
|
2730
2722
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
2731
2723
|
"button",
|
|
2732
2724
|
{
|
|
2733
|
-
className: "absolute inset-y-0 end-0 flex h-full w-9 items-center justify-center rounded-e-
|
|
2725
|
+
className: "absolute inset-y-0 end-0 flex h-full w-9 items-center justify-center rounded-e-10 text-muted-foreground/80 outline-offset-2 transition-colors hover:text-foreground focus:z-10 focus-visible:outline-solid focus-visible:outline-2 focus-visible:outline-ring/70 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",
|
|
2734
2726
|
type: "button",
|
|
2735
2727
|
onClick: toggleVisibility,
|
|
2736
2728
|
"aria-label": isVisible ? "Hide password" : "Show password",
|
|
@@ -2829,7 +2821,7 @@ function PhoneNumberInput({
|
|
|
2829
2821
|
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
2830
2822
|
RPNInput.default,
|
|
2831
2823
|
{
|
|
2832
|
-
className: cn("flex rounded-
|
|
2824
|
+
className: cn("flex rounded-10 shadow-xs", error && "border border-red-500/70"),
|
|
2833
2825
|
international: true,
|
|
2834
2826
|
flagComponent: FlagComponent,
|
|
2835
2827
|
countrySelectComponent: CountrySelect,
|
|
@@ -2870,7 +2862,7 @@ var CountrySelect = ({
|
|
|
2870
2862
|
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
2871
2863
|
"div",
|
|
2872
2864
|
{
|
|
2873
|
-
className: "relative inline-flex items-center self-stretch rounded-s-
|
|
2865
|
+
className: "relative inline-flex items-center self-stretch rounded-s-10 border border-input\n bg-background py-2 pe-2 ps-3 text-muted-foreground transition-shadow focus-within:z-10\n focus-within:border-ring focus-within:outline-hidden focus-within:ring-[3px] focus-within:ring-ring/20\n hover:text-foreground has-disabled:pointer-events-none has-disabled:opacity-50",
|
|
2874
2866
|
children: [
|
|
2875
2867
|
/* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "inline-flex items-center gap-1", "aria-hidden": "true", children: [
|
|
2876
2868
|
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(FlagComponent, { country: value, countryName: value, "aria-hidden": "true" }),
|
|
@@ -2936,10 +2928,10 @@ var PriceInput = import_react6.default.forwardRef(
|
|
|
2936
2928
|
PriceInput.displayName = "PriceInput";
|
|
2937
2929
|
|
|
2938
2930
|
// src/components/progress.tsx
|
|
2939
|
-
var
|
|
2931
|
+
var React26 = __toESM(require("react"));
|
|
2940
2932
|
var ProgressPrimitive = __toESM(require("@radix-ui/react-progress"));
|
|
2941
2933
|
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
2942
|
-
var Progress =
|
|
2934
|
+
var Progress = React26.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
2943
2935
|
ProgressPrimitive.Root,
|
|
2944
2936
|
{
|
|
2945
2937
|
ref,
|
|
@@ -2960,14 +2952,14 @@ var Progress = React27.forwardRef(({ className, value, ...props }, ref) => /* @_
|
|
|
2960
2952
|
Progress.displayName = ProgressPrimitive.Root.displayName;
|
|
2961
2953
|
|
|
2962
2954
|
// src/components/select.tsx
|
|
2963
|
-
var
|
|
2955
|
+
var React27 = __toESM(require("react"));
|
|
2964
2956
|
var SelectPrimitive = __toESM(require("@radix-ui/react-select"));
|
|
2965
2957
|
var import_lucide_react13 = require("lucide-react");
|
|
2966
2958
|
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
2967
2959
|
var Select = SelectPrimitive.Root;
|
|
2968
2960
|
var SelectGroup = SelectPrimitive.Group;
|
|
2969
2961
|
var SelectValue = SelectPrimitive.Value;
|
|
2970
|
-
var SelectTrigger =
|
|
2962
|
+
var SelectTrigger = React27.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
|
|
2971
2963
|
SelectPrimitive.Trigger,
|
|
2972
2964
|
{
|
|
2973
2965
|
ref,
|
|
@@ -2983,7 +2975,7 @@ var SelectTrigger = React28.forwardRef(({ className, children, ...props }, ref)
|
|
|
2983
2975
|
}
|
|
2984
2976
|
));
|
|
2985
2977
|
SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
|
|
2986
|
-
var SelectScrollUpButton =
|
|
2978
|
+
var SelectScrollUpButton = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
2987
2979
|
SelectPrimitive.ScrollUpButton,
|
|
2988
2980
|
{
|
|
2989
2981
|
ref,
|
|
@@ -2996,7 +2988,7 @@ var SelectScrollUpButton = React28.forwardRef(({ className, ...props }, ref) =>
|
|
|
2996
2988
|
}
|
|
2997
2989
|
));
|
|
2998
2990
|
SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
|
|
2999
|
-
var SelectScrollDownButton =
|
|
2991
|
+
var SelectScrollDownButton = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
3000
2992
|
SelectPrimitive.ScrollDownButton,
|
|
3001
2993
|
{
|
|
3002
2994
|
ref,
|
|
@@ -3009,7 +3001,7 @@ var SelectScrollDownButton = React28.forwardRef(({ className, ...props }, ref) =
|
|
|
3009
3001
|
}
|
|
3010
3002
|
));
|
|
3011
3003
|
SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
|
|
3012
|
-
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)(
|
|
3013
3005
|
SelectPrimitive.Content,
|
|
3014
3006
|
{
|
|
3015
3007
|
ref,
|
|
@@ -3037,7 +3029,7 @@ var SelectContent = React28.forwardRef(({ className, children, position = "poppe
|
|
|
3037
3029
|
}
|
|
3038
3030
|
) }));
|
|
3039
3031
|
SelectContent.displayName = SelectPrimitive.Content.displayName;
|
|
3040
|
-
var SelectLabel =
|
|
3032
|
+
var SelectLabel = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
3041
3033
|
SelectPrimitive.Label,
|
|
3042
3034
|
{
|
|
3043
3035
|
ref,
|
|
@@ -3046,7 +3038,7 @@ var SelectLabel = React28.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
3046
3038
|
}
|
|
3047
3039
|
));
|
|
3048
3040
|
SelectLabel.displayName = SelectPrimitive.Label.displayName;
|
|
3049
|
-
var SelectItem =
|
|
3041
|
+
var SelectItem = React27.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
|
|
3050
3042
|
SelectPrimitive.Item,
|
|
3051
3043
|
{
|
|
3052
3044
|
ref,
|
|
@@ -3062,7 +3054,7 @@ var SelectItem = React28.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
3062
3054
|
}
|
|
3063
3055
|
));
|
|
3064
3056
|
SelectItem.displayName = SelectPrimitive.Item.displayName;
|
|
3065
|
-
var SelectSeparator =
|
|
3057
|
+
var SelectSeparator = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
3066
3058
|
SelectPrimitive.Separator,
|
|
3067
3059
|
{
|
|
3068
3060
|
ref,
|
|
@@ -3073,10 +3065,10 @@ var SelectSeparator = React28.forwardRef(({ className, ...props }, ref) => /* @_
|
|
|
3073
3065
|
SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
|
|
3074
3066
|
|
|
3075
3067
|
// src/components/separator.tsx
|
|
3076
|
-
var
|
|
3068
|
+
var React28 = __toESM(require("react"));
|
|
3077
3069
|
var SeparatorPrimitive = __toESM(require("@radix-ui/react-separator"));
|
|
3078
3070
|
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
3079
|
-
var Separator3 =
|
|
3071
|
+
var Separator3 = React28.forwardRef(
|
|
3080
3072
|
({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3081
3073
|
SeparatorPrimitive.Root,
|
|
3082
3074
|
{
|
|
@@ -3095,7 +3087,7 @@ var Separator3 = React29.forwardRef(
|
|
|
3095
3087
|
Separator3.displayName = SeparatorPrimitive.Root.displayName;
|
|
3096
3088
|
|
|
3097
3089
|
// src/components/sheet.tsx
|
|
3098
|
-
var
|
|
3090
|
+
var React29 = __toESM(require("react"));
|
|
3099
3091
|
var SheetPrimitive = __toESM(require("@radix-ui/react-dialog"));
|
|
3100
3092
|
var import_class_variance_authority4 = require("class-variance-authority");
|
|
3101
3093
|
var import_lucide_react14 = require("lucide-react");
|
|
@@ -3104,7 +3096,7 @@ var Sheet = SheetPrimitive.Root;
|
|
|
3104
3096
|
var SheetTrigger = SheetPrimitive.Trigger;
|
|
3105
3097
|
var SheetClose = SheetPrimitive.Close;
|
|
3106
3098
|
var SheetPortal = SheetPrimitive.Portal;
|
|
3107
|
-
var SheetOverlay =
|
|
3099
|
+
var SheetOverlay = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
3108
3100
|
SheetPrimitive.Overlay,
|
|
3109
3101
|
{
|
|
3110
3102
|
className: cn(
|
|
@@ -3132,7 +3124,7 @@ var sheetVariants = (0, import_class_variance_authority4.cva)(
|
|
|
3132
3124
|
}
|
|
3133
3125
|
}
|
|
3134
3126
|
);
|
|
3135
|
-
var SheetContent =
|
|
3127
|
+
var SheetContent = React29.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(SheetPortal, { children: [
|
|
3136
3128
|
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(SheetOverlay, {}),
|
|
3137
3129
|
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
|
3138
3130
|
SheetPrimitive.Content,
|
|
@@ -3179,7 +3171,7 @@ var SheetFooter = ({
|
|
|
3179
3171
|
}
|
|
3180
3172
|
);
|
|
3181
3173
|
SheetFooter.displayName = "SheetFooter";
|
|
3182
|
-
var SheetTitle =
|
|
3174
|
+
var SheetTitle = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
3183
3175
|
SheetPrimitive.Title,
|
|
3184
3176
|
{
|
|
3185
3177
|
ref,
|
|
@@ -3188,7 +3180,7 @@ var SheetTitle = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
3188
3180
|
}
|
|
3189
3181
|
));
|
|
3190
3182
|
SheetTitle.displayName = SheetPrimitive.Title.displayName;
|
|
3191
|
-
var SheetDescription =
|
|
3183
|
+
var SheetDescription = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
3192
3184
|
SheetPrimitive.Description,
|
|
3193
3185
|
{
|
|
3194
3186
|
ref,
|
|
@@ -3407,11 +3399,11 @@ function TableCaption({
|
|
|
3407
3399
|
}
|
|
3408
3400
|
|
|
3409
3401
|
// src/components/tabs.tsx
|
|
3410
|
-
var
|
|
3402
|
+
var React30 = __toESM(require("react"));
|
|
3411
3403
|
var TabsPrimitive = __toESM(require("@radix-ui/react-tabs"));
|
|
3412
3404
|
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
3413
3405
|
var Tabs = TabsPrimitive.Root;
|
|
3414
|
-
var TabsList =
|
|
3406
|
+
var TabsList = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
3415
3407
|
TabsPrimitive.List,
|
|
3416
3408
|
{
|
|
3417
3409
|
ref,
|
|
@@ -3423,7 +3415,7 @@ var TabsList = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
3423
3415
|
}
|
|
3424
3416
|
));
|
|
3425
3417
|
TabsList.displayName = TabsPrimitive.List.displayName;
|
|
3426
|
-
var TabsTrigger =
|
|
3418
|
+
var TabsTrigger = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
3427
3419
|
TabsPrimitive.Trigger,
|
|
3428
3420
|
{
|
|
3429
3421
|
ref,
|
|
@@ -3435,7 +3427,7 @@ var TabsTrigger = React31.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
3435
3427
|
}
|
|
3436
3428
|
));
|
|
3437
3429
|
TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
|
|
3438
|
-
var TabsContent =
|
|
3430
|
+
var TabsContent = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
3439
3431
|
TabsPrimitive.Content,
|
|
3440
3432
|
{
|
|
3441
3433
|
ref,
|
|
@@ -3454,9 +3446,9 @@ var import_react7 = require("react");
|
|
|
3454
3446
|
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
3455
3447
|
|
|
3456
3448
|
// src/components/textarea.tsx
|
|
3457
|
-
var
|
|
3449
|
+
var React31 = __toESM(require("react"));
|
|
3458
3450
|
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
3459
|
-
var Textarea =
|
|
3451
|
+
var Textarea = React31.forwardRef(
|
|
3460
3452
|
({ className, ...props }, ref) => {
|
|
3461
3453
|
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
3462
3454
|
"textarea",
|
|
@@ -3474,17 +3466,17 @@ var Textarea = React32.forwardRef(
|
|
|
3474
3466
|
Textarea.displayName = "Textarea";
|
|
3475
3467
|
|
|
3476
3468
|
// src/components/timeline.tsx
|
|
3477
|
-
var
|
|
3469
|
+
var React32 = __toESM(require("react"));
|
|
3478
3470
|
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
3479
|
-
var TimelineContext =
|
|
3471
|
+
var TimelineContext = React32.createContext(null);
|
|
3480
3472
|
function useTimeline() {
|
|
3481
|
-
const context =
|
|
3473
|
+
const context = React32.useContext(TimelineContext);
|
|
3482
3474
|
if (!context) {
|
|
3483
3475
|
throw new Error("useTimeline must be used within a <Timeline />.");
|
|
3484
3476
|
}
|
|
3485
3477
|
return context;
|
|
3486
3478
|
}
|
|
3487
|
-
var Timeline =
|
|
3479
|
+
var Timeline = React32.forwardRef(
|
|
3488
3480
|
({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(TimelineContext.Provider, { value: { orientation }, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
3489
3481
|
"ol",
|
|
3490
3482
|
{
|
|
@@ -3501,7 +3493,7 @@ var Timeline = React33.forwardRef(
|
|
|
3501
3493
|
) })
|
|
3502
3494
|
);
|
|
3503
3495
|
Timeline.displayName = "Timeline";
|
|
3504
|
-
var TimelineItem =
|
|
3496
|
+
var TimelineItem = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3505
3497
|
const { orientation } = useTimeline();
|
|
3506
3498
|
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
3507
3499
|
"li",
|
|
@@ -3518,7 +3510,7 @@ var TimelineItem = React33.forwardRef(({ className, ...props }, ref) => {
|
|
|
3518
3510
|
);
|
|
3519
3511
|
});
|
|
3520
3512
|
TimelineItem.displayName = "TimelineItem";
|
|
3521
|
-
var TimelineSeparator =
|
|
3513
|
+
var TimelineSeparator = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3522
3514
|
const { orientation } = useTimeline();
|
|
3523
3515
|
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
3524
3516
|
"div",
|
|
@@ -3535,7 +3527,7 @@ var TimelineSeparator = React33.forwardRef(({ className, ...props }, ref) => {
|
|
|
3535
3527
|
);
|
|
3536
3528
|
});
|
|
3537
3529
|
TimelineSeparator.displayName = "TimelineSeparator";
|
|
3538
|
-
var TimelineDot =
|
|
3530
|
+
var TimelineDot = React32.forwardRef(({ variant = "default", className, ...props }, ref) => {
|
|
3539
3531
|
const { orientation } = useTimeline();
|
|
3540
3532
|
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
3541
3533
|
"div",
|
|
@@ -3554,7 +3546,7 @@ var TimelineDot = React33.forwardRef(({ variant = "default", className, ...props
|
|
|
3554
3546
|
);
|
|
3555
3547
|
});
|
|
3556
3548
|
TimelineDot.displayName = "TimelineDot";
|
|
3557
|
-
var TimelineConnector =
|
|
3549
|
+
var TimelineConnector = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3558
3550
|
const { orientation } = useTimeline();
|
|
3559
3551
|
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
3560
3552
|
"div",
|
|
@@ -3572,7 +3564,7 @@ var TimelineConnector = React33.forwardRef(({ className, ...props }, ref) => {
|
|
|
3572
3564
|
);
|
|
3573
3565
|
});
|
|
3574
3566
|
TimelineConnector.displayName = "TimelineConnector";
|
|
3575
|
-
var TimelineContent =
|
|
3567
|
+
var TimelineContent = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3576
3568
|
const { orientation } = useTimeline();
|
|
3577
3569
|
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
3578
3570
|
"div",
|
|
@@ -3590,12 +3582,12 @@ var TimelineContent = React33.forwardRef(({ className, ...props }, ref) => {
|
|
|
3590
3582
|
);
|
|
3591
3583
|
});
|
|
3592
3584
|
TimelineContent.displayName = "TimelineContent";
|
|
3593
|
-
var TimelineTitle =
|
|
3585
|
+
var TimelineTitle = React32.forwardRef((props, ref) => {
|
|
3594
3586
|
const { orientation } = useTimeline();
|
|
3595
3587
|
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { ref, "data-orientation": orientation, ...props });
|
|
3596
3588
|
});
|
|
3597
3589
|
TimelineTitle.displayName = "TimelineTitle";
|
|
3598
|
-
var TimelineDescription =
|
|
3590
|
+
var TimelineDescription = React32.forwardRef(({ className, ...props }, ref) => {
|
|
3599
3591
|
const { orientation } = useTimeline();
|
|
3600
3592
|
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
3601
3593
|
"div",
|
|
@@ -3610,13 +3602,13 @@ var TimelineDescription = React33.forwardRef(({ className, ...props }, ref) => {
|
|
|
3610
3602
|
TimelineDescription.displayName = "TimelineDescription";
|
|
3611
3603
|
|
|
3612
3604
|
// src/components/tooltip.tsx
|
|
3613
|
-
var
|
|
3605
|
+
var React33 = __toESM(require("react"));
|
|
3614
3606
|
var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
|
|
3615
3607
|
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
3616
3608
|
var TooltipProvider = TooltipPrimitive.Provider;
|
|
3617
3609
|
var Tooltip = TooltipPrimitive.Root;
|
|
3618
3610
|
var TooltipTrigger = TooltipPrimitive.Trigger;
|
|
3619
|
-
var TooltipContent =
|
|
3611
|
+
var TooltipContent = React33.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
3620
3612
|
TooltipPrimitive.Content,
|
|
3621
3613
|
{
|
|
3622
3614
|
ref,
|
|
@@ -3817,7 +3809,6 @@ TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
|
|
3817
3809
|
buttonVariants,
|
|
3818
3810
|
cn,
|
|
3819
3811
|
statusIndicatorVariants,
|
|
3820
|
-
tv,
|
|
3821
3812
|
useComboboxFilter,
|
|
3822
3813
|
useFormField
|
|
3823
3814
|
});
|