@pactor-app/ui 1.0.0 → 1.1.0
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/{chunk-FVZMNP5P.js → chunk-6B5ZX7L3.js} +780 -465
- package/dist/{chunk-UR3I4WXQ.js → chunk-6JNCDPGS.js} +22 -1
- package/dist/{chunk-TUXCPXPA.js → chunk-BVHAP22U.js} +276 -276
- package/dist/{chunk-D6G4J5XS.js → chunk-GV5R6TUT.js} +1 -1
- package/dist/components/index.cjs +1105 -785
- package/dist/components/index.d.cts +98 -14
- package/dist/components/index.d.ts +98 -14
- package/dist/components/index.js +9 -5
- package/dist/index.cjs +1261 -941
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +10 -6
- package/dist/layout/index.cjs +13 -1
- package/dist/layout/index.js +2 -2
- package/dist/ui/index.cjs +1 -1
- package/dist/ui/index.js +1 -1
- package/package.json +5 -5
- package/styles.css +88 -7
|
@@ -918,24 +918,43 @@ function ChartContainer({
|
|
|
918
918
|
);
|
|
919
919
|
}
|
|
920
920
|
|
|
921
|
+
// src/ui/textarea.tsx
|
|
922
|
+
import { jsx as jsx15 } from "react/jsx-runtime";
|
|
923
|
+
function Textarea({
|
|
924
|
+
className,
|
|
925
|
+
...props
|
|
926
|
+
}) {
|
|
927
|
+
return /* @__PURE__ */ jsx15(
|
|
928
|
+
"textarea",
|
|
929
|
+
{
|
|
930
|
+
"data-slot": "textarea",
|
|
931
|
+
className: cn(
|
|
932
|
+
"flex field-sizing-content min-h-16 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-xs transition-colors outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50",
|
|
933
|
+
className
|
|
934
|
+
),
|
|
935
|
+
...props
|
|
936
|
+
}
|
|
937
|
+
);
|
|
938
|
+
}
|
|
939
|
+
|
|
921
940
|
// src/ui/context-menu.tsx
|
|
922
941
|
import { ContextMenu as ContextMenuPrimitive } from "@base-ui/react/context-menu";
|
|
923
|
-
import { jsx as
|
|
942
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
924
943
|
function ContextMenu({
|
|
925
944
|
...props
|
|
926
945
|
}) {
|
|
927
|
-
return /* @__PURE__ */
|
|
946
|
+
return /* @__PURE__ */ jsx16(ContextMenuPrimitive.Root, { "data-slot": "context-menu", ...props });
|
|
928
947
|
}
|
|
929
948
|
function ContextMenuTrigger({
|
|
930
949
|
...props
|
|
931
950
|
}) {
|
|
932
|
-
return /* @__PURE__ */
|
|
951
|
+
return /* @__PURE__ */ jsx16(ContextMenuPrimitive.Trigger, { "data-slot": "context-menu-trigger", ...props });
|
|
933
952
|
}
|
|
934
953
|
function ContextMenuContent({
|
|
935
954
|
className,
|
|
936
955
|
...props
|
|
937
956
|
}) {
|
|
938
|
-
return /* @__PURE__ */
|
|
957
|
+
return /* @__PURE__ */ jsx16(ContextMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx16(ContextMenuPrimitive.Positioner, { className: "isolate z-50", children: /* @__PURE__ */ jsx16(
|
|
939
958
|
ContextMenuPrimitive.Popup,
|
|
940
959
|
{
|
|
941
960
|
"data-slot": "context-menu-content",
|
|
@@ -952,7 +971,7 @@ function ContextMenuItem({
|
|
|
952
971
|
variant = "default",
|
|
953
972
|
...props
|
|
954
973
|
}) {
|
|
955
|
-
return /* @__PURE__ */
|
|
974
|
+
return /* @__PURE__ */ jsx16(
|
|
956
975
|
ContextMenuPrimitive.Item,
|
|
957
976
|
{
|
|
958
977
|
"data-slot": "context-menu-item",
|
|
@@ -969,7 +988,7 @@ function ContextMenuSeparator({
|
|
|
969
988
|
className,
|
|
970
989
|
...props
|
|
971
990
|
}) {
|
|
972
|
-
return /* @__PURE__ */
|
|
991
|
+
return /* @__PURE__ */ jsx16(
|
|
973
992
|
ContextMenuPrimitive.Separator,
|
|
974
993
|
{
|
|
975
994
|
"data-slot": "context-menu-separator",
|
|
@@ -980,9 +999,9 @@ function ContextMenuSeparator({
|
|
|
980
999
|
}
|
|
981
1000
|
|
|
982
1001
|
// src/ui/input.tsx
|
|
983
|
-
import { jsx as
|
|
1002
|
+
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
984
1003
|
function Input({ className, type, ...props }) {
|
|
985
|
-
return /* @__PURE__ */
|
|
1004
|
+
return /* @__PURE__ */ jsx17(
|
|
986
1005
|
"input",
|
|
987
1006
|
{
|
|
988
1007
|
type,
|
|
@@ -997,14 +1016,14 @@ function Input({ className, type, ...props }) {
|
|
|
997
1016
|
}
|
|
998
1017
|
|
|
999
1018
|
// src/ui/table.tsx
|
|
1000
|
-
import { jsx as
|
|
1019
|
+
import { jsx as jsx18 } from "react/jsx-runtime";
|
|
1001
1020
|
function Table({ className, ...props }) {
|
|
1002
|
-
return /* @__PURE__ */
|
|
1021
|
+
return /* @__PURE__ */ jsx18(
|
|
1003
1022
|
"div",
|
|
1004
1023
|
{
|
|
1005
1024
|
"data-slot": "table-container",
|
|
1006
1025
|
className: "relative w-full overflow-x-auto",
|
|
1007
|
-
children: /* @__PURE__ */
|
|
1026
|
+
children: /* @__PURE__ */ jsx18(
|
|
1008
1027
|
"table",
|
|
1009
1028
|
{
|
|
1010
1029
|
"data-slot": "table",
|
|
@@ -1016,7 +1035,7 @@ function Table({ className, ...props }) {
|
|
|
1016
1035
|
);
|
|
1017
1036
|
}
|
|
1018
1037
|
function TableHeader({ className, ...props }) {
|
|
1019
|
-
return /* @__PURE__ */
|
|
1038
|
+
return /* @__PURE__ */ jsx18(
|
|
1020
1039
|
"thead",
|
|
1021
1040
|
{
|
|
1022
1041
|
"data-slot": "table-header",
|
|
@@ -1026,7 +1045,7 @@ function TableHeader({ className, ...props }) {
|
|
|
1026
1045
|
);
|
|
1027
1046
|
}
|
|
1028
1047
|
function TableBody({ className, ...props }) {
|
|
1029
|
-
return /* @__PURE__ */
|
|
1048
|
+
return /* @__PURE__ */ jsx18(
|
|
1030
1049
|
"tbody",
|
|
1031
1050
|
{
|
|
1032
1051
|
"data-slot": "table-body",
|
|
@@ -1036,7 +1055,7 @@ function TableBody({ className, ...props }) {
|
|
|
1036
1055
|
);
|
|
1037
1056
|
}
|
|
1038
1057
|
function TableFooter({ className, ...props }) {
|
|
1039
|
-
return /* @__PURE__ */
|
|
1058
|
+
return /* @__PURE__ */ jsx18(
|
|
1040
1059
|
"tfoot",
|
|
1041
1060
|
{
|
|
1042
1061
|
"data-slot": "table-footer",
|
|
@@ -1049,7 +1068,7 @@ function TableFooter({ className, ...props }) {
|
|
|
1049
1068
|
);
|
|
1050
1069
|
}
|
|
1051
1070
|
function TableRow({ className, ...props }) {
|
|
1052
|
-
return /* @__PURE__ */
|
|
1071
|
+
return /* @__PURE__ */ jsx18(
|
|
1053
1072
|
"tr",
|
|
1054
1073
|
{
|
|
1055
1074
|
"data-slot": "table-row",
|
|
@@ -1062,7 +1081,7 @@ function TableRow({ className, ...props }) {
|
|
|
1062
1081
|
);
|
|
1063
1082
|
}
|
|
1064
1083
|
function TableHead({ className, ...props }) {
|
|
1065
|
-
return /* @__PURE__ */
|
|
1084
|
+
return /* @__PURE__ */ jsx18(
|
|
1066
1085
|
"th",
|
|
1067
1086
|
{
|
|
1068
1087
|
"data-slot": "table-head",
|
|
@@ -1075,7 +1094,7 @@ function TableHead({ className, ...props }) {
|
|
|
1075
1094
|
);
|
|
1076
1095
|
}
|
|
1077
1096
|
function TableCell({ className, ...props }) {
|
|
1078
|
-
return /* @__PURE__ */
|
|
1097
|
+
return /* @__PURE__ */ jsx18(
|
|
1079
1098
|
"td",
|
|
1080
1099
|
{
|
|
1081
1100
|
"data-slot": "table-cell",
|
|
@@ -1091,7 +1110,7 @@ function TableCaption({
|
|
|
1091
1110
|
className,
|
|
1092
1111
|
...props
|
|
1093
1112
|
}) {
|
|
1094
|
-
return /* @__PURE__ */
|
|
1113
|
+
return /* @__PURE__ */ jsx18(
|
|
1095
1114
|
"caption",
|
|
1096
1115
|
{
|
|
1097
1116
|
"data-slot": "table-caption",
|
|
@@ -1104,16 +1123,16 @@ function TableCaption({
|
|
|
1104
1123
|
// src/ui/dropdown-menu.tsx
|
|
1105
1124
|
import { Menu as MenuPrimitive } from "@base-ui/react/menu";
|
|
1106
1125
|
import { ChevronRightIcon as ChevronRightIcon4 } from "lucide-react";
|
|
1107
|
-
import { jsx as
|
|
1126
|
+
import { jsx as jsx19, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
1108
1127
|
function DropdownMenu({
|
|
1109
1128
|
...props
|
|
1110
1129
|
}) {
|
|
1111
|
-
return /* @__PURE__ */
|
|
1130
|
+
return /* @__PURE__ */ jsx19(MenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
|
|
1112
1131
|
}
|
|
1113
1132
|
function DropdownMenuTrigger({
|
|
1114
1133
|
...props
|
|
1115
1134
|
}) {
|
|
1116
|
-
return /* @__PURE__ */
|
|
1135
|
+
return /* @__PURE__ */ jsx19(MenuPrimitive.Trigger, { "data-slot": "dropdown-menu-trigger", ...props });
|
|
1117
1136
|
}
|
|
1118
1137
|
function DropdownMenuContent({
|
|
1119
1138
|
className,
|
|
@@ -1122,14 +1141,14 @@ function DropdownMenuContent({
|
|
|
1122
1141
|
sideOffset = 4,
|
|
1123
1142
|
...props
|
|
1124
1143
|
}) {
|
|
1125
|
-
return /* @__PURE__ */
|
|
1144
|
+
return /* @__PURE__ */ jsx19(MenuPrimitive.Portal, { children: /* @__PURE__ */ jsx19(
|
|
1126
1145
|
MenuPrimitive.Positioner,
|
|
1127
1146
|
{
|
|
1128
1147
|
align,
|
|
1129
1148
|
side,
|
|
1130
1149
|
sideOffset,
|
|
1131
1150
|
className: "isolate z-50",
|
|
1132
|
-
children: /* @__PURE__ */
|
|
1151
|
+
children: /* @__PURE__ */ jsx19(
|
|
1133
1152
|
MenuPrimitive.Popup,
|
|
1134
1153
|
{
|
|
1135
1154
|
"data-slot": "dropdown-menu-content",
|
|
@@ -1148,7 +1167,7 @@ function DropdownMenuItem({
|
|
|
1148
1167
|
variant = "default",
|
|
1149
1168
|
...props
|
|
1150
1169
|
}) {
|
|
1151
|
-
return /* @__PURE__ */
|
|
1170
|
+
return /* @__PURE__ */ jsx19(
|
|
1152
1171
|
MenuPrimitive.Item,
|
|
1153
1172
|
{
|
|
1154
1173
|
"data-slot": "dropdown-menu-item",
|
|
@@ -1165,7 +1184,7 @@ function DropdownMenuSeparator({
|
|
|
1165
1184
|
className,
|
|
1166
1185
|
...props
|
|
1167
1186
|
}) {
|
|
1168
|
-
return /* @__PURE__ */
|
|
1187
|
+
return /* @__PURE__ */ jsx19(
|
|
1169
1188
|
MenuPrimitive.Separator,
|
|
1170
1189
|
{
|
|
1171
1190
|
"data-slot": "dropdown-menu-separator",
|
|
@@ -1177,7 +1196,7 @@ function DropdownMenuSeparator({
|
|
|
1177
1196
|
function DropdownMenuSub({
|
|
1178
1197
|
...props
|
|
1179
1198
|
}) {
|
|
1180
|
-
return /* @__PURE__ */
|
|
1199
|
+
return /* @__PURE__ */ jsx19(MenuPrimitive.SubmenuRoot, { "data-slot": "dropdown-menu-sub", ...props });
|
|
1181
1200
|
}
|
|
1182
1201
|
function DropdownMenuSubTrigger({
|
|
1183
1202
|
className,
|
|
@@ -1195,7 +1214,7 @@ function DropdownMenuSubTrigger({
|
|
|
1195
1214
|
...props,
|
|
1196
1215
|
children: [
|
|
1197
1216
|
children,
|
|
1198
|
-
/* @__PURE__ */
|
|
1217
|
+
/* @__PURE__ */ jsx19(ChevronRightIcon4, { className: "ml-auto" })
|
|
1199
1218
|
]
|
|
1200
1219
|
}
|
|
1201
1220
|
);
|
|
@@ -1205,7 +1224,7 @@ function DropdownMenuSubContent({
|
|
|
1205
1224
|
sideOffset = 2,
|
|
1206
1225
|
...props
|
|
1207
1226
|
}) {
|
|
1208
|
-
return /* @__PURE__ */
|
|
1227
|
+
return /* @__PURE__ */ jsx19(MenuPrimitive.Portal, { children: /* @__PURE__ */ jsx19(MenuPrimitive.Positioner, { sideOffset, className: "isolate z-50", children: /* @__PURE__ */ jsx19(
|
|
1209
1228
|
MenuPrimitive.Popup,
|
|
1210
1229
|
{
|
|
1211
1230
|
"data-slot": "dropdown-menu-sub-content",
|
|
@@ -1219,9 +1238,9 @@ function DropdownMenuSubContent({
|
|
|
1219
1238
|
}
|
|
1220
1239
|
|
|
1221
1240
|
// src/ui/empty.tsx
|
|
1222
|
-
import { jsx as
|
|
1241
|
+
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
1223
1242
|
function Empty({ className, ...props }) {
|
|
1224
|
-
return /* @__PURE__ */
|
|
1243
|
+
return /* @__PURE__ */ jsx20(
|
|
1225
1244
|
"div",
|
|
1226
1245
|
{
|
|
1227
1246
|
"data-slot": "empty",
|
|
@@ -1234,7 +1253,7 @@ function Empty({ className, ...props }) {
|
|
|
1234
1253
|
);
|
|
1235
1254
|
}
|
|
1236
1255
|
function EmptyHeader({ className, ...props }) {
|
|
1237
|
-
return /* @__PURE__ */
|
|
1256
|
+
return /* @__PURE__ */ jsx20(
|
|
1238
1257
|
"div",
|
|
1239
1258
|
{
|
|
1240
1259
|
"data-slot": "empty-header",
|
|
@@ -1244,7 +1263,7 @@ function EmptyHeader({ className, ...props }) {
|
|
|
1244
1263
|
);
|
|
1245
1264
|
}
|
|
1246
1265
|
function EmptyTitle({ className, ...props }) {
|
|
1247
|
-
return /* @__PURE__ */
|
|
1266
|
+
return /* @__PURE__ */ jsx20(
|
|
1248
1267
|
"div",
|
|
1249
1268
|
{
|
|
1250
1269
|
"data-slot": "empty-title",
|
|
@@ -1254,7 +1273,7 @@ function EmptyTitle({ className, ...props }) {
|
|
|
1254
1273
|
);
|
|
1255
1274
|
}
|
|
1256
1275
|
function EmptyDescription({ className, ...props }) {
|
|
1257
|
-
return /* @__PURE__ */
|
|
1276
|
+
return /* @__PURE__ */ jsx20(
|
|
1258
1277
|
"p",
|
|
1259
1278
|
{
|
|
1260
1279
|
"data-slot": "empty-description",
|
|
@@ -1264,7 +1283,7 @@ function EmptyDescription({ className, ...props }) {
|
|
|
1264
1283
|
);
|
|
1265
1284
|
}
|
|
1266
1285
|
function EmptyContent({ className, ...props }) {
|
|
1267
|
-
return /* @__PURE__ */
|
|
1286
|
+
return /* @__PURE__ */ jsx20(
|
|
1268
1287
|
"div",
|
|
1269
1288
|
{
|
|
1270
1289
|
"data-slot": "empty-content",
|
|
@@ -1279,9 +1298,9 @@ function EmptyContent({ className, ...props }) {
|
|
|
1279
1298
|
|
|
1280
1299
|
// src/ui/field.tsx
|
|
1281
1300
|
import { Field as FieldPrimitive } from "@base-ui/react/field";
|
|
1282
|
-
import { jsx as
|
|
1301
|
+
import { jsx as jsx21 } from "react/jsx-runtime";
|
|
1283
1302
|
function Field({ className, ...props }) {
|
|
1284
|
-
return /* @__PURE__ */
|
|
1303
|
+
return /* @__PURE__ */ jsx21(
|
|
1285
1304
|
FieldPrimitive.Root,
|
|
1286
1305
|
{
|
|
1287
1306
|
"data-slot": "field",
|
|
@@ -1291,7 +1310,7 @@ function Field({ className, ...props }) {
|
|
|
1291
1310
|
);
|
|
1292
1311
|
}
|
|
1293
1312
|
function FieldLabel({ className, ...props }) {
|
|
1294
|
-
return /* @__PURE__ */
|
|
1313
|
+
return /* @__PURE__ */ jsx21(
|
|
1295
1314
|
FieldPrimitive.Label,
|
|
1296
1315
|
{
|
|
1297
1316
|
"data-slot": "field-label",
|
|
@@ -1301,7 +1320,7 @@ function FieldLabel({ className, ...props }) {
|
|
|
1301
1320
|
);
|
|
1302
1321
|
}
|
|
1303
1322
|
function FieldDescription({ className, ...props }) {
|
|
1304
|
-
return /* @__PURE__ */
|
|
1323
|
+
return /* @__PURE__ */ jsx21(
|
|
1305
1324
|
FieldPrimitive.Description,
|
|
1306
1325
|
{
|
|
1307
1326
|
"data-slot": "field-description",
|
|
@@ -1311,7 +1330,7 @@ function FieldDescription({ className, ...props }) {
|
|
|
1311
1330
|
);
|
|
1312
1331
|
}
|
|
1313
1332
|
function FieldError({ className, ...props }) {
|
|
1314
|
-
return /* @__PURE__ */
|
|
1333
|
+
return /* @__PURE__ */ jsx21(
|
|
1315
1334
|
FieldPrimitive.Error,
|
|
1316
1335
|
{
|
|
1317
1336
|
"data-slot": "field-error",
|
|
@@ -1323,16 +1342,16 @@ function FieldError({ className, ...props }) {
|
|
|
1323
1342
|
|
|
1324
1343
|
// src/ui/hover-card.tsx
|
|
1325
1344
|
import { PreviewCard as PreviewCardPrimitive } from "@base-ui/react/preview-card";
|
|
1326
|
-
import { jsx as
|
|
1345
|
+
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
1327
1346
|
function HoverCard({
|
|
1328
1347
|
...props
|
|
1329
1348
|
}) {
|
|
1330
|
-
return /* @__PURE__ */
|
|
1349
|
+
return /* @__PURE__ */ jsx22(PreviewCardPrimitive.Root, { "data-slot": "hover-card", ...props });
|
|
1331
1350
|
}
|
|
1332
1351
|
function HoverCardTrigger({
|
|
1333
1352
|
...props
|
|
1334
1353
|
}) {
|
|
1335
|
-
return /* @__PURE__ */
|
|
1354
|
+
return /* @__PURE__ */ jsx22(PreviewCardPrimitive.Trigger, { "data-slot": "hover-card-trigger", ...props });
|
|
1336
1355
|
}
|
|
1337
1356
|
function HoverCardContent({
|
|
1338
1357
|
className,
|
|
@@ -1341,14 +1360,14 @@ function HoverCardContent({
|
|
|
1341
1360
|
sideOffset = 4,
|
|
1342
1361
|
...props
|
|
1343
1362
|
}) {
|
|
1344
|
-
return /* @__PURE__ */
|
|
1363
|
+
return /* @__PURE__ */ jsx22(PreviewCardPrimitive.Portal, { children: /* @__PURE__ */ jsx22(
|
|
1345
1364
|
PreviewCardPrimitive.Positioner,
|
|
1346
1365
|
{
|
|
1347
1366
|
align,
|
|
1348
1367
|
side,
|
|
1349
1368
|
sideOffset,
|
|
1350
1369
|
className: "isolate z-50",
|
|
1351
|
-
children: /* @__PURE__ */
|
|
1370
|
+
children: /* @__PURE__ */ jsx22(
|
|
1352
1371
|
PreviewCardPrimitive.Popup,
|
|
1353
1372
|
{
|
|
1354
1373
|
"data-slot": "hover-card-content",
|
|
@@ -1364,9 +1383,9 @@ function HoverCardContent({
|
|
|
1364
1383
|
}
|
|
1365
1384
|
|
|
1366
1385
|
// src/ui/input-group.tsx
|
|
1367
|
-
import { jsx as
|
|
1386
|
+
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
1368
1387
|
function InputGroup({ className, ...props }) {
|
|
1369
|
-
return /* @__PURE__ */
|
|
1388
|
+
return /* @__PURE__ */ jsx23(
|
|
1370
1389
|
"div",
|
|
1371
1390
|
{
|
|
1372
1391
|
"data-slot": "input-group",
|
|
@@ -1388,7 +1407,7 @@ function InputGroupAddon({
|
|
|
1388
1407
|
align = "inline-start",
|
|
1389
1408
|
...props
|
|
1390
1409
|
}) {
|
|
1391
|
-
return /* @__PURE__ */
|
|
1410
|
+
return /* @__PURE__ */ jsx23(
|
|
1392
1411
|
"div",
|
|
1393
1412
|
{
|
|
1394
1413
|
role: "group",
|
|
@@ -1407,7 +1426,7 @@ function InputGroupInput({
|
|
|
1407
1426
|
className,
|
|
1408
1427
|
...props
|
|
1409
1428
|
}) {
|
|
1410
|
-
return /* @__PURE__ */
|
|
1429
|
+
return /* @__PURE__ */ jsx23(
|
|
1411
1430
|
"input",
|
|
1412
1431
|
{
|
|
1413
1432
|
"data-slot": "input-group-input",
|
|
@@ -1424,13 +1443,13 @@ function InputGroupInput({
|
|
|
1424
1443
|
import { OTPInput, OTPInputContext } from "input-otp";
|
|
1425
1444
|
import { MinusIcon } from "lucide-react";
|
|
1426
1445
|
import * as React2 from "react";
|
|
1427
|
-
import { jsx as
|
|
1446
|
+
import { jsx as jsx24, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
1428
1447
|
function InputOTP({
|
|
1429
1448
|
className,
|
|
1430
1449
|
containerClassName,
|
|
1431
1450
|
...props
|
|
1432
1451
|
}) {
|
|
1433
|
-
return /* @__PURE__ */
|
|
1452
|
+
return /* @__PURE__ */ jsx24(
|
|
1434
1453
|
OTPInput,
|
|
1435
1454
|
{
|
|
1436
1455
|
"data-slot": "input-otp",
|
|
@@ -1444,7 +1463,7 @@ function InputOTP({
|
|
|
1444
1463
|
);
|
|
1445
1464
|
}
|
|
1446
1465
|
function InputOTPGroup({ className, ...props }) {
|
|
1447
|
-
return /* @__PURE__ */
|
|
1466
|
+
return /* @__PURE__ */ jsx24(
|
|
1448
1467
|
"div",
|
|
1449
1468
|
{
|
|
1450
1469
|
"data-slot": "input-otp-group",
|
|
@@ -1472,19 +1491,19 @@ function InputOTPSlot({
|
|
|
1472
1491
|
...props,
|
|
1473
1492
|
children: [
|
|
1474
1493
|
char,
|
|
1475
|
-
hasFakeCaret ? /* @__PURE__ */
|
|
1494
|
+
hasFakeCaret ? /* @__PURE__ */ jsx24("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsx24("div", { className: "h-4 w-px animate-caret-blink bg-foreground duration-1000" }) }) : null
|
|
1476
1495
|
]
|
|
1477
1496
|
}
|
|
1478
1497
|
);
|
|
1479
1498
|
}
|
|
1480
1499
|
function InputOTPSeparator({ ...props }) {
|
|
1481
|
-
return /* @__PURE__ */
|
|
1500
|
+
return /* @__PURE__ */ jsx24("div", { "data-slot": "input-otp-separator", role: "separator", ...props, children: /* @__PURE__ */ jsx24(MinusIcon, {}) });
|
|
1482
1501
|
}
|
|
1483
1502
|
|
|
1484
1503
|
// src/ui/item.tsx
|
|
1485
|
-
import { jsx as
|
|
1504
|
+
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
1486
1505
|
function Item({ className, ...props }) {
|
|
1487
|
-
return /* @__PURE__ */
|
|
1506
|
+
return /* @__PURE__ */ jsx25(
|
|
1488
1507
|
"div",
|
|
1489
1508
|
{
|
|
1490
1509
|
"data-slot": "item",
|
|
@@ -1497,7 +1516,7 @@ function Item({ className, ...props }) {
|
|
|
1497
1516
|
);
|
|
1498
1517
|
}
|
|
1499
1518
|
function ItemMedia({ className, ...props }) {
|
|
1500
|
-
return /* @__PURE__ */
|
|
1519
|
+
return /* @__PURE__ */ jsx25(
|
|
1501
1520
|
"div",
|
|
1502
1521
|
{
|
|
1503
1522
|
"data-slot": "item-media",
|
|
@@ -1510,7 +1529,7 @@ function ItemMedia({ className, ...props }) {
|
|
|
1510
1529
|
);
|
|
1511
1530
|
}
|
|
1512
1531
|
function ItemContent({ className, ...props }) {
|
|
1513
|
-
return /* @__PURE__ */
|
|
1532
|
+
return /* @__PURE__ */ jsx25(
|
|
1514
1533
|
"div",
|
|
1515
1534
|
{
|
|
1516
1535
|
"data-slot": "item-content",
|
|
@@ -1520,7 +1539,7 @@ function ItemContent({ className, ...props }) {
|
|
|
1520
1539
|
);
|
|
1521
1540
|
}
|
|
1522
1541
|
function ItemTitle({ className, ...props }) {
|
|
1523
|
-
return /* @__PURE__ */
|
|
1542
|
+
return /* @__PURE__ */ jsx25(
|
|
1524
1543
|
"div",
|
|
1525
1544
|
{
|
|
1526
1545
|
"data-slot": "item-title",
|
|
@@ -1530,7 +1549,7 @@ function ItemTitle({ className, ...props }) {
|
|
|
1530
1549
|
);
|
|
1531
1550
|
}
|
|
1532
1551
|
function ItemDescription({ className, ...props }) {
|
|
1533
|
-
return /* @__PURE__ */
|
|
1552
|
+
return /* @__PURE__ */ jsx25(
|
|
1534
1553
|
"p",
|
|
1535
1554
|
{
|
|
1536
1555
|
"data-slot": "item-description",
|
|
@@ -1540,7 +1559,7 @@ function ItemDescription({ className, ...props }) {
|
|
|
1540
1559
|
);
|
|
1541
1560
|
}
|
|
1542
1561
|
function ItemActions({ className, ...props }) {
|
|
1543
|
-
return /* @__PURE__ */
|
|
1562
|
+
return /* @__PURE__ */ jsx25(
|
|
1544
1563
|
"div",
|
|
1545
1564
|
{
|
|
1546
1565
|
"data-slot": "item-actions",
|
|
@@ -1551,9 +1570,9 @@ function ItemActions({ className, ...props }) {
|
|
|
1551
1570
|
}
|
|
1552
1571
|
|
|
1553
1572
|
// src/ui/kbd.tsx
|
|
1554
|
-
import { jsx as
|
|
1573
|
+
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
1555
1574
|
function Kbd({ className, ...props }) {
|
|
1556
|
-
return /* @__PURE__ */
|
|
1575
|
+
return /* @__PURE__ */ jsx26(
|
|
1557
1576
|
"kbd",
|
|
1558
1577
|
{
|
|
1559
1578
|
"data-slot": "kbd",
|
|
@@ -1567,12 +1586,12 @@ function Kbd({ className, ...props }) {
|
|
|
1567
1586
|
}
|
|
1568
1587
|
|
|
1569
1588
|
// src/ui/label.tsx
|
|
1570
|
-
import { jsx as
|
|
1589
|
+
import { jsx as jsx27 } from "react/jsx-runtime";
|
|
1571
1590
|
function Label({
|
|
1572
1591
|
className,
|
|
1573
1592
|
...props
|
|
1574
1593
|
}) {
|
|
1575
|
-
return /* @__PURE__ */
|
|
1594
|
+
return /* @__PURE__ */ jsx27(
|
|
1576
1595
|
"label",
|
|
1577
1596
|
{
|
|
1578
1597
|
"data-slot": "label",
|
|
@@ -1585,15 +1604,75 @@ function Label({
|
|
|
1585
1604
|
);
|
|
1586
1605
|
}
|
|
1587
1606
|
|
|
1607
|
+
// src/ui/tooltip.tsx
|
|
1608
|
+
import { Tooltip as TooltipPrimitive } from "@base-ui/react/tooltip";
|
|
1609
|
+
import { jsx as jsx28, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
1610
|
+
function TooltipProvider({
|
|
1611
|
+
delay = 0,
|
|
1612
|
+
...props
|
|
1613
|
+
}) {
|
|
1614
|
+
return /* @__PURE__ */ jsx28(
|
|
1615
|
+
TooltipPrimitive.Provider,
|
|
1616
|
+
{
|
|
1617
|
+
"data-slot": "tooltip-provider",
|
|
1618
|
+
delay,
|
|
1619
|
+
...props
|
|
1620
|
+
}
|
|
1621
|
+
);
|
|
1622
|
+
}
|
|
1623
|
+
function Tooltip({
|
|
1624
|
+
...props
|
|
1625
|
+
}) {
|
|
1626
|
+
return /* @__PURE__ */ jsx28(TooltipProvider, { children: /* @__PURE__ */ jsx28(TooltipPrimitive.Root, { "data-slot": "tooltip", ...props }) });
|
|
1627
|
+
}
|
|
1628
|
+
function TooltipTrigger({
|
|
1629
|
+
...props
|
|
1630
|
+
}) {
|
|
1631
|
+
return /* @__PURE__ */ jsx28(TooltipPrimitive.Trigger, { "data-slot": "tooltip-trigger", ...props });
|
|
1632
|
+
}
|
|
1633
|
+
function TooltipContent({
|
|
1634
|
+
className,
|
|
1635
|
+
side = "top",
|
|
1636
|
+
sideOffset = 4,
|
|
1637
|
+
align = "center",
|
|
1638
|
+
children,
|
|
1639
|
+
...props
|
|
1640
|
+
}) {
|
|
1641
|
+
return /* @__PURE__ */ jsx28(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsx28(
|
|
1642
|
+
TooltipPrimitive.Positioner,
|
|
1643
|
+
{
|
|
1644
|
+
align,
|
|
1645
|
+
side,
|
|
1646
|
+
sideOffset,
|
|
1647
|
+
className: "isolate z-50",
|
|
1648
|
+
children: /* @__PURE__ */ jsxs9(
|
|
1649
|
+
TooltipPrimitive.Popup,
|
|
1650
|
+
{
|
|
1651
|
+
"data-slot": "tooltip-content",
|
|
1652
|
+
className: cn(
|
|
1653
|
+
"z-50 w-fit origin-(--transform-origin) rounded-md bg-primary px-3 py-1.5 text-xs text-balance text-primary-foreground duration-200 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",
|
|
1654
|
+
className
|
|
1655
|
+
),
|
|
1656
|
+
...props,
|
|
1657
|
+
children: [
|
|
1658
|
+
children,
|
|
1659
|
+
/* @__PURE__ */ jsx28(TooltipPrimitive.Arrow, { className: "z-50 size-2.5 rotate-45 rounded-[2px] bg-primary fill-primary data-[side=top]:-bottom-1 data-[side=bottom]:-top-1 data-[side=left]:-right-1 data-[side=right]:-left-1" })
|
|
1660
|
+
]
|
|
1661
|
+
}
|
|
1662
|
+
)
|
|
1663
|
+
}
|
|
1664
|
+
) });
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1588
1667
|
// src/ui/menubar.tsx
|
|
1589
1668
|
import { Menu as MenuPrimitive2 } from "@base-ui/react/menu";
|
|
1590
1669
|
import { Menubar as MenubarPrimitive } from "@base-ui/react/menubar";
|
|
1591
|
-
import { jsx as
|
|
1670
|
+
import { jsx as jsx29 } from "react/jsx-runtime";
|
|
1592
1671
|
function Menubar({
|
|
1593
1672
|
className,
|
|
1594
1673
|
...props
|
|
1595
1674
|
}) {
|
|
1596
|
-
return /* @__PURE__ */
|
|
1675
|
+
return /* @__PURE__ */ jsx29(
|
|
1597
1676
|
MenubarPrimitive,
|
|
1598
1677
|
{
|
|
1599
1678
|
"data-slot": "menubar",
|
|
@@ -1608,13 +1687,13 @@ function Menubar({
|
|
|
1608
1687
|
function MenubarMenu({
|
|
1609
1688
|
...props
|
|
1610
1689
|
}) {
|
|
1611
|
-
return /* @__PURE__ */
|
|
1690
|
+
return /* @__PURE__ */ jsx29(MenuPrimitive2.Root, { "data-slot": "menubar-menu", ...props });
|
|
1612
1691
|
}
|
|
1613
1692
|
function MenubarTrigger({
|
|
1614
1693
|
className,
|
|
1615
1694
|
...props
|
|
1616
1695
|
}) {
|
|
1617
|
-
return /* @__PURE__ */
|
|
1696
|
+
return /* @__PURE__ */ jsx29(
|
|
1618
1697
|
MenuPrimitive2.Trigger,
|
|
1619
1698
|
{
|
|
1620
1699
|
"data-slot": "menubar-trigger",
|
|
@@ -1633,14 +1712,14 @@ function MenubarContent({
|
|
|
1633
1712
|
sideOffset = 8,
|
|
1634
1713
|
...props
|
|
1635
1714
|
}) {
|
|
1636
|
-
return /* @__PURE__ */
|
|
1715
|
+
return /* @__PURE__ */ jsx29(MenuPrimitive2.Portal, { children: /* @__PURE__ */ jsx29(
|
|
1637
1716
|
MenuPrimitive2.Positioner,
|
|
1638
1717
|
{
|
|
1639
1718
|
align,
|
|
1640
1719
|
side,
|
|
1641
1720
|
sideOffset,
|
|
1642
1721
|
className: "isolate z-50",
|
|
1643
|
-
children: /* @__PURE__ */
|
|
1722
|
+
children: /* @__PURE__ */ jsx29(
|
|
1644
1723
|
MenuPrimitive2.Popup,
|
|
1645
1724
|
{
|
|
1646
1725
|
"data-slot": "menubar-content",
|
|
@@ -1659,7 +1738,7 @@ function MenubarItem({
|
|
|
1659
1738
|
variant = "default",
|
|
1660
1739
|
...props
|
|
1661
1740
|
}) {
|
|
1662
|
-
return /* @__PURE__ */
|
|
1741
|
+
return /* @__PURE__ */ jsx29(
|
|
1663
1742
|
MenuPrimitive2.Item,
|
|
1664
1743
|
{
|
|
1665
1744
|
"data-slot": "menubar-item",
|
|
@@ -1676,7 +1755,7 @@ function MenubarSeparator({
|
|
|
1676
1755
|
className,
|
|
1677
1756
|
...props
|
|
1678
1757
|
}) {
|
|
1679
|
-
return /* @__PURE__ */
|
|
1758
|
+
return /* @__PURE__ */ jsx29(
|
|
1680
1759
|
MenuPrimitive2.Separator,
|
|
1681
1760
|
{
|
|
1682
1761
|
"data-slot": "menubar-separator",
|
|
@@ -1690,13 +1769,13 @@ function MenubarSeparator({
|
|
|
1690
1769
|
import { NavigationMenu as NavigationMenuPrimitive } from "@base-ui/react/navigation-menu";
|
|
1691
1770
|
import { ChevronDownIcon as ChevronDownIcon2 } from "lucide-react";
|
|
1692
1771
|
import { cva as cva3 } from "class-variance-authority";
|
|
1693
|
-
import { jsx as
|
|
1772
|
+
import { jsx as jsx30, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
1694
1773
|
function NavigationMenu({
|
|
1695
1774
|
className,
|
|
1696
1775
|
children,
|
|
1697
1776
|
...props
|
|
1698
1777
|
}) {
|
|
1699
|
-
return /* @__PURE__ */
|
|
1778
|
+
return /* @__PURE__ */ jsxs10(
|
|
1700
1779
|
NavigationMenuPrimitive.Root,
|
|
1701
1780
|
{
|
|
1702
1781
|
"data-slot": "navigation-menu",
|
|
@@ -1704,7 +1783,7 @@ function NavigationMenu({
|
|
|
1704
1783
|
...props,
|
|
1705
1784
|
children: [
|
|
1706
1785
|
children,
|
|
1707
|
-
/* @__PURE__ */
|
|
1786
|
+
/* @__PURE__ */ jsx30(NavigationMenuViewport, {})
|
|
1708
1787
|
]
|
|
1709
1788
|
}
|
|
1710
1789
|
);
|
|
@@ -1713,7 +1792,7 @@ function NavigationMenuList({
|
|
|
1713
1792
|
className,
|
|
1714
1793
|
...props
|
|
1715
1794
|
}) {
|
|
1716
|
-
return /* @__PURE__ */
|
|
1795
|
+
return /* @__PURE__ */ jsx30(
|
|
1717
1796
|
NavigationMenuPrimitive.List,
|
|
1718
1797
|
{
|
|
1719
1798
|
"data-slot": "navigation-menu-list",
|
|
@@ -1726,7 +1805,7 @@ function NavigationMenuItem({
|
|
|
1726
1805
|
className,
|
|
1727
1806
|
...props
|
|
1728
1807
|
}) {
|
|
1729
|
-
return /* @__PURE__ */
|
|
1808
|
+
return /* @__PURE__ */ jsx30(
|
|
1730
1809
|
NavigationMenuPrimitive.Item,
|
|
1731
1810
|
{
|
|
1732
1811
|
"data-slot": "navigation-menu-item",
|
|
@@ -1743,7 +1822,7 @@ function NavigationMenuTrigger({
|
|
|
1743
1822
|
children,
|
|
1744
1823
|
...props
|
|
1745
1824
|
}) {
|
|
1746
|
-
return /* @__PURE__ */
|
|
1825
|
+
return /* @__PURE__ */ jsxs10(
|
|
1747
1826
|
NavigationMenuPrimitive.Trigger,
|
|
1748
1827
|
{
|
|
1749
1828
|
"data-slot": "navigation-menu-trigger",
|
|
@@ -1751,7 +1830,7 @@ function NavigationMenuTrigger({
|
|
|
1751
1830
|
...props,
|
|
1752
1831
|
children: [
|
|
1753
1832
|
children,
|
|
1754
|
-
/* @__PURE__ */
|
|
1833
|
+
/* @__PURE__ */ jsx30(
|
|
1755
1834
|
ChevronDownIcon2,
|
|
1756
1835
|
{
|
|
1757
1836
|
className: "relative top-px ml-1 size-3 transition-transform duration-200 group-data-open/navigation-menu-trigger:rotate-180",
|
|
@@ -1766,7 +1845,7 @@ function NavigationMenuContent({
|
|
|
1766
1845
|
className,
|
|
1767
1846
|
...props
|
|
1768
1847
|
}) {
|
|
1769
|
-
return /* @__PURE__ */
|
|
1848
|
+
return /* @__PURE__ */ jsx30(
|
|
1770
1849
|
NavigationMenuPrimitive.Content,
|
|
1771
1850
|
{
|
|
1772
1851
|
"data-slot": "navigation-menu-content",
|
|
@@ -1779,13 +1858,13 @@ function NavigationMenuContent({
|
|
|
1779
1858
|
);
|
|
1780
1859
|
}
|
|
1781
1860
|
function NavigationMenuViewport({ className }) {
|
|
1782
|
-
return /* @__PURE__ */
|
|
1861
|
+
return /* @__PURE__ */ jsx30(NavigationMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx30(
|
|
1783
1862
|
NavigationMenuPrimitive.Positioner,
|
|
1784
1863
|
{
|
|
1785
1864
|
side: "bottom",
|
|
1786
1865
|
align: "start",
|
|
1787
1866
|
className: "isolate z-50",
|
|
1788
|
-
children: /* @__PURE__ */
|
|
1867
|
+
children: /* @__PURE__ */ jsx30(
|
|
1789
1868
|
NavigationMenuPrimitive.Popup,
|
|
1790
1869
|
{
|
|
1791
1870
|
"data-slot": "navigation-menu-popup",
|
|
@@ -1793,7 +1872,7 @@ function NavigationMenuViewport({ className }) {
|
|
|
1793
1872
|
"origin-(--transform-origin) overflow-hidden rounded-md border border-border bg-popover text-popover-foreground shadow-md duration-200 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",
|
|
1794
1873
|
className
|
|
1795
1874
|
),
|
|
1796
|
-
children: /* @__PURE__ */
|
|
1875
|
+
children: /* @__PURE__ */ jsx30(NavigationMenuPrimitive.Viewport, { "data-slot": "navigation-menu-viewport" })
|
|
1797
1876
|
}
|
|
1798
1877
|
)
|
|
1799
1878
|
}
|
|
@@ -1803,7 +1882,7 @@ function NavigationMenuLink({
|
|
|
1803
1882
|
className,
|
|
1804
1883
|
...props
|
|
1805
1884
|
}) {
|
|
1806
|
-
return /* @__PURE__ */
|
|
1885
|
+
return /* @__PURE__ */ jsx30(
|
|
1807
1886
|
NavigationMenuPrimitive.Link,
|
|
1808
1887
|
{
|
|
1809
1888
|
"data-slot": "navigation-menu-link",
|
|
@@ -1818,9 +1897,9 @@ function NavigationMenuLink({
|
|
|
1818
1897
|
|
|
1819
1898
|
// src/ui/pagination.tsx
|
|
1820
1899
|
import { ChevronLeftIcon as ChevronLeftIcon3, ChevronRightIcon as ChevronRightIcon5, MoreHorizontalIcon as MoreHorizontalIcon2 } from "lucide-react";
|
|
1821
|
-
import { jsx as
|
|
1900
|
+
import { jsx as jsx31, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
1822
1901
|
function Pagination({ className, ...props }) {
|
|
1823
|
-
return /* @__PURE__ */
|
|
1902
|
+
return /* @__PURE__ */ jsx31(
|
|
1824
1903
|
"nav",
|
|
1825
1904
|
{
|
|
1826
1905
|
role: "navigation",
|
|
@@ -1832,7 +1911,7 @@ function Pagination({ className, ...props }) {
|
|
|
1832
1911
|
);
|
|
1833
1912
|
}
|
|
1834
1913
|
function PaginationContent({ className, ...props }) {
|
|
1835
|
-
return /* @__PURE__ */
|
|
1914
|
+
return /* @__PURE__ */ jsx31(
|
|
1836
1915
|
"ul",
|
|
1837
1916
|
{
|
|
1838
1917
|
"data-slot": "pagination-content",
|
|
@@ -1842,7 +1921,7 @@ function PaginationContent({ className, ...props }) {
|
|
|
1842
1921
|
);
|
|
1843
1922
|
}
|
|
1844
1923
|
function PaginationItem({ ...props }) {
|
|
1845
|
-
return /* @__PURE__ */
|
|
1924
|
+
return /* @__PURE__ */ jsx31("li", { "data-slot": "pagination-item", ...props });
|
|
1846
1925
|
}
|
|
1847
1926
|
function PaginationLink({
|
|
1848
1927
|
className,
|
|
@@ -1850,7 +1929,7 @@ function PaginationLink({
|
|
|
1850
1929
|
disabled,
|
|
1851
1930
|
...props
|
|
1852
1931
|
}) {
|
|
1853
|
-
return /* @__PURE__ */
|
|
1932
|
+
return /* @__PURE__ */ jsx31(
|
|
1854
1933
|
"a",
|
|
1855
1934
|
{
|
|
1856
1935
|
"aria-current": isActive ? "page" : void 0,
|
|
@@ -1873,15 +1952,15 @@ function PaginationPrevious({
|
|
|
1873
1952
|
className,
|
|
1874
1953
|
...props
|
|
1875
1954
|
}) {
|
|
1876
|
-
return /* @__PURE__ */
|
|
1955
|
+
return /* @__PURE__ */ jsxs11(
|
|
1877
1956
|
PaginationLink,
|
|
1878
1957
|
{
|
|
1879
1958
|
"aria-label": "Go to previous page",
|
|
1880
1959
|
className: cn("gap-1 px-2.5 sm:pl-2.5", className),
|
|
1881
1960
|
...props,
|
|
1882
1961
|
children: [
|
|
1883
|
-
/* @__PURE__ */
|
|
1884
|
-
/* @__PURE__ */
|
|
1962
|
+
/* @__PURE__ */ jsx31(ChevronLeftIcon3, {}),
|
|
1963
|
+
/* @__PURE__ */ jsx31("span", { className: "hidden sm:block", children: "Previous" })
|
|
1885
1964
|
]
|
|
1886
1965
|
}
|
|
1887
1966
|
);
|
|
@@ -1890,21 +1969,21 @@ function PaginationNext({
|
|
|
1890
1969
|
className,
|
|
1891
1970
|
...props
|
|
1892
1971
|
}) {
|
|
1893
|
-
return /* @__PURE__ */
|
|
1972
|
+
return /* @__PURE__ */ jsxs11(
|
|
1894
1973
|
PaginationLink,
|
|
1895
1974
|
{
|
|
1896
1975
|
"aria-label": "Go to next page",
|
|
1897
1976
|
className: cn("gap-1 px-2.5 sm:pr-2.5", className),
|
|
1898
1977
|
...props,
|
|
1899
1978
|
children: [
|
|
1900
|
-
/* @__PURE__ */
|
|
1901
|
-
/* @__PURE__ */
|
|
1979
|
+
/* @__PURE__ */ jsx31("span", { className: "hidden sm:block", children: "Next" }),
|
|
1980
|
+
/* @__PURE__ */ jsx31(ChevronRightIcon5, {})
|
|
1902
1981
|
]
|
|
1903
1982
|
}
|
|
1904
1983
|
);
|
|
1905
1984
|
}
|
|
1906
1985
|
function PaginationEllipsis({ className, ...props }) {
|
|
1907
|
-
return /* @__PURE__ */
|
|
1986
|
+
return /* @__PURE__ */ jsxs11(
|
|
1908
1987
|
"span",
|
|
1909
1988
|
{
|
|
1910
1989
|
"aria-hidden": true,
|
|
@@ -1912,8 +1991,8 @@ function PaginationEllipsis({ className, ...props }) {
|
|
|
1912
1991
|
className: cn("flex size-9 items-center justify-center", className),
|
|
1913
1992
|
...props,
|
|
1914
1993
|
children: [
|
|
1915
|
-
/* @__PURE__ */
|
|
1916
|
-
/* @__PURE__ */
|
|
1994
|
+
/* @__PURE__ */ jsx31(MoreHorizontalIcon2, { className: "size-4" }),
|
|
1995
|
+
/* @__PURE__ */ jsx31("span", { className: "sr-only", children: "More pages" })
|
|
1917
1996
|
]
|
|
1918
1997
|
}
|
|
1919
1998
|
);
|
|
@@ -1921,9 +2000,9 @@ function PaginationEllipsis({ className, ...props }) {
|
|
|
1921
2000
|
|
|
1922
2001
|
// src/ui/progress.tsx
|
|
1923
2002
|
import { Progress as ProgressPrimitive } from "@base-ui/react/progress";
|
|
1924
|
-
import { jsx as
|
|
2003
|
+
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
1925
2004
|
function Progress({ className, ...props }) {
|
|
1926
|
-
return /* @__PURE__ */
|
|
2005
|
+
return /* @__PURE__ */ jsx32(
|
|
1927
2006
|
ProgressPrimitive.Root,
|
|
1928
2007
|
{
|
|
1929
2008
|
"data-slot": "progress",
|
|
@@ -1933,7 +2012,7 @@ function Progress({ className, ...props }) {
|
|
|
1933
2012
|
);
|
|
1934
2013
|
}
|
|
1935
2014
|
function ProgressTrack({ className, ...props }) {
|
|
1936
|
-
return /* @__PURE__ */
|
|
2015
|
+
return /* @__PURE__ */ jsx32(
|
|
1937
2016
|
ProgressPrimitive.Track,
|
|
1938
2017
|
{
|
|
1939
2018
|
"data-slot": "progress-track",
|
|
@@ -1946,7 +2025,7 @@ function ProgressIndicator({
|
|
|
1946
2025
|
className,
|
|
1947
2026
|
...props
|
|
1948
2027
|
}) {
|
|
1949
|
-
return /* @__PURE__ */
|
|
2028
|
+
return /* @__PURE__ */ jsx32(
|
|
1950
2029
|
ProgressPrimitive.Indicator,
|
|
1951
2030
|
{
|
|
1952
2031
|
"data-slot": "progress-indicator",
|
|
@@ -1962,9 +2041,9 @@ function ProgressIndicator({
|
|
|
1962
2041
|
// src/ui/radio-group.tsx
|
|
1963
2042
|
import { Radio as RadioPrimitive } from "@base-ui/react/radio";
|
|
1964
2043
|
import { RadioGroup as RadioGroupPrimitive } from "@base-ui/react/radio-group";
|
|
1965
|
-
import { jsx as
|
|
2044
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
1966
2045
|
function RadioGroup({ className, ...props }) {
|
|
1967
|
-
return /* @__PURE__ */
|
|
2046
|
+
return /* @__PURE__ */ jsx33(
|
|
1968
2047
|
RadioGroupPrimitive,
|
|
1969
2048
|
{
|
|
1970
2049
|
"data-slot": "radio-group",
|
|
@@ -1974,7 +2053,7 @@ function RadioGroup({ className, ...props }) {
|
|
|
1974
2053
|
);
|
|
1975
2054
|
}
|
|
1976
2055
|
function RadioGroupItem({ className, ...props }) {
|
|
1977
|
-
return /* @__PURE__ */
|
|
2056
|
+
return /* @__PURE__ */ jsx33(
|
|
1978
2057
|
RadioPrimitive.Root,
|
|
1979
2058
|
{
|
|
1980
2059
|
"data-slot": "radio-group-item",
|
|
@@ -1983,12 +2062,12 @@ function RadioGroupItem({ className, ...props }) {
|
|
|
1983
2062
|
className
|
|
1984
2063
|
),
|
|
1985
2064
|
...props,
|
|
1986
|
-
children: /* @__PURE__ */
|
|
2065
|
+
children: /* @__PURE__ */ jsx33(
|
|
1987
2066
|
RadioPrimitive.Indicator,
|
|
1988
2067
|
{
|
|
1989
2068
|
"data-slot": "radio-group-indicator",
|
|
1990
2069
|
className: "flex items-center justify-center",
|
|
1991
|
-
children: /* @__PURE__ */
|
|
2070
|
+
children: /* @__PURE__ */ jsx33("span", { className: "size-2 rounded-full bg-primary" })
|
|
1992
2071
|
}
|
|
1993
2072
|
)
|
|
1994
2073
|
}
|
|
@@ -2002,12 +2081,12 @@ import {
|
|
|
2002
2081
|
Panel as PanelPrimitive,
|
|
2003
2082
|
Separator as PanelResizeHandlePrimitive
|
|
2004
2083
|
} from "react-resizable-panels";
|
|
2005
|
-
import { jsx as
|
|
2084
|
+
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
2006
2085
|
function PanelGroup({
|
|
2007
2086
|
className,
|
|
2008
2087
|
...props
|
|
2009
2088
|
}) {
|
|
2010
|
-
return /* @__PURE__ */
|
|
2089
|
+
return /* @__PURE__ */ jsx34(
|
|
2011
2090
|
PanelGroupPrimitive,
|
|
2012
2091
|
{
|
|
2013
2092
|
"data-slot": "resizable-panel-group",
|
|
@@ -2020,14 +2099,14 @@ function PanelGroup({
|
|
|
2020
2099
|
);
|
|
2021
2100
|
}
|
|
2022
2101
|
function Panel({ ...props }) {
|
|
2023
|
-
return /* @__PURE__ */
|
|
2102
|
+
return /* @__PURE__ */ jsx34(PanelPrimitive, { "data-slot": "resizable-panel", ...props });
|
|
2024
2103
|
}
|
|
2025
2104
|
function ResizableHandle({
|
|
2026
2105
|
withHandle,
|
|
2027
2106
|
className,
|
|
2028
2107
|
...props
|
|
2029
2108
|
}) {
|
|
2030
|
-
return /* @__PURE__ */
|
|
2109
|
+
return /* @__PURE__ */ jsx34(
|
|
2031
2110
|
PanelResizeHandlePrimitive,
|
|
2032
2111
|
{
|
|
2033
2112
|
"data-slot": "resizable-handle",
|
|
@@ -2036,27 +2115,27 @@ function ResizableHandle({
|
|
|
2036
2115
|
className
|
|
2037
2116
|
),
|
|
2038
2117
|
...props,
|
|
2039
|
-
children: withHandle ? /* @__PURE__ */
|
|
2118
|
+
children: withHandle ? /* @__PURE__ */ jsx34("div", { className: "z-10 flex h-4 w-3 items-center justify-center rounded-xs border border-border bg-border", children: /* @__PURE__ */ jsx34(GripVerticalIcon, { className: "size-2.5" }) }) : null
|
|
2040
2119
|
}
|
|
2041
2120
|
);
|
|
2042
2121
|
}
|
|
2043
2122
|
|
|
2044
2123
|
// src/ui/scroll-area.tsx
|
|
2045
2124
|
import { ScrollArea as ScrollAreaPrimitive } from "@base-ui/react/scroll-area";
|
|
2046
|
-
import { jsx as
|
|
2125
|
+
import { jsx as jsx35, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
2047
2126
|
function ScrollArea({
|
|
2048
2127
|
className,
|
|
2049
2128
|
children,
|
|
2050
2129
|
...props
|
|
2051
2130
|
}) {
|
|
2052
|
-
return /* @__PURE__ */
|
|
2131
|
+
return /* @__PURE__ */ jsxs12(
|
|
2053
2132
|
ScrollAreaPrimitive.Root,
|
|
2054
2133
|
{
|
|
2055
2134
|
"data-slot": "scroll-area",
|
|
2056
2135
|
className: cn("relative overflow-hidden", className),
|
|
2057
2136
|
...props,
|
|
2058
2137
|
children: [
|
|
2059
|
-
/* @__PURE__ */
|
|
2138
|
+
/* @__PURE__ */ jsx35(
|
|
2060
2139
|
ScrollAreaPrimitive.Viewport,
|
|
2061
2140
|
{
|
|
2062
2141
|
"data-slot": "scroll-area-viewport",
|
|
@@ -2064,8 +2143,8 @@ function ScrollArea({
|
|
|
2064
2143
|
children
|
|
2065
2144
|
}
|
|
2066
2145
|
),
|
|
2067
|
-
/* @__PURE__ */
|
|
2068
|
-
/* @__PURE__ */
|
|
2146
|
+
/* @__PURE__ */ jsx35(ScrollBar, {}),
|
|
2147
|
+
/* @__PURE__ */ jsx35(ScrollAreaPrimitive.Corner, {})
|
|
2069
2148
|
]
|
|
2070
2149
|
}
|
|
2071
2150
|
);
|
|
@@ -2075,7 +2154,7 @@ function ScrollBar({
|
|
|
2075
2154
|
orientation = "vertical",
|
|
2076
2155
|
...props
|
|
2077
2156
|
}) {
|
|
2078
|
-
return /* @__PURE__ */
|
|
2157
|
+
return /* @__PURE__ */ jsx35(
|
|
2079
2158
|
ScrollAreaPrimitive.Scrollbar,
|
|
2080
2159
|
{
|
|
2081
2160
|
"data-slot": "scroll-area-scrollbar",
|
|
@@ -2087,7 +2166,7 @@ function ScrollBar({
|
|
|
2087
2166
|
className
|
|
2088
2167
|
),
|
|
2089
2168
|
...props,
|
|
2090
|
-
children: /* @__PURE__ */
|
|
2169
|
+
children: /* @__PURE__ */ jsx35(
|
|
2091
2170
|
ScrollAreaPrimitive.Thumb,
|
|
2092
2171
|
{
|
|
2093
2172
|
"data-slot": "scroll-area-thumb",
|
|
@@ -2101,17 +2180,17 @@ function ScrollBar({
|
|
|
2101
2180
|
// src/ui/select.tsx
|
|
2102
2181
|
import { Select as SelectPrimitive } from "@base-ui/react/select";
|
|
2103
2182
|
import { CheckIcon as CheckIcon2, ChevronDownIcon as ChevronDownIcon3, ChevronUpIcon } from "lucide-react";
|
|
2104
|
-
import { jsx as
|
|
2183
|
+
import { jsx as jsx36, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
2105
2184
|
var Select = SelectPrimitive.Root;
|
|
2106
2185
|
function SelectGroup({
|
|
2107
2186
|
...props
|
|
2108
2187
|
}) {
|
|
2109
|
-
return /* @__PURE__ */
|
|
2188
|
+
return /* @__PURE__ */ jsx36(SelectPrimitive.Group, { "data-slot": "select-group", ...props });
|
|
2110
2189
|
}
|
|
2111
2190
|
function SelectValue({
|
|
2112
2191
|
...props
|
|
2113
2192
|
}) {
|
|
2114
|
-
return /* @__PURE__ */
|
|
2193
|
+
return /* @__PURE__ */ jsx36(SelectPrimitive.Value, { "data-slot": "select-value", ...props });
|
|
2115
2194
|
}
|
|
2116
2195
|
function SelectTrigger({
|
|
2117
2196
|
className,
|
|
@@ -2119,7 +2198,7 @@ function SelectTrigger({
|
|
|
2119
2198
|
children,
|
|
2120
2199
|
...props
|
|
2121
2200
|
}) {
|
|
2122
|
-
return /* @__PURE__ */
|
|
2201
|
+
return /* @__PURE__ */ jsxs13(
|
|
2123
2202
|
SelectPrimitive.Trigger,
|
|
2124
2203
|
{
|
|
2125
2204
|
"data-slot": "select-trigger",
|
|
@@ -2131,10 +2210,10 @@ function SelectTrigger({
|
|
|
2131
2210
|
...props,
|
|
2132
2211
|
children: [
|
|
2133
2212
|
children,
|
|
2134
|
-
/* @__PURE__ */
|
|
2213
|
+
/* @__PURE__ */ jsx36(
|
|
2135
2214
|
SelectPrimitive.Icon,
|
|
2136
2215
|
{
|
|
2137
|
-
render: /* @__PURE__ */
|
|
2216
|
+
render: /* @__PURE__ */ jsx36(ChevronDownIcon3, { className: "size-4 opacity-50" })
|
|
2138
2217
|
}
|
|
2139
2218
|
)
|
|
2140
2219
|
]
|
|
@@ -2150,7 +2229,7 @@ function SelectContent({
|
|
|
2150
2229
|
alignItemWithTrigger = false,
|
|
2151
2230
|
...props
|
|
2152
2231
|
}) {
|
|
2153
|
-
return /* @__PURE__ */
|
|
2232
|
+
return /* @__PURE__ */ jsx36(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx36(
|
|
2154
2233
|
SelectPrimitive.Positioner,
|
|
2155
2234
|
{
|
|
2156
2235
|
side,
|
|
@@ -2158,7 +2237,7 @@ function SelectContent({
|
|
|
2158
2237
|
align,
|
|
2159
2238
|
alignItemWithTrigger,
|
|
2160
2239
|
className: "isolate z-50",
|
|
2161
|
-
children: /* @__PURE__ */
|
|
2240
|
+
children: /* @__PURE__ */ jsxs13(
|
|
2162
2241
|
SelectPrimitive.Popup,
|
|
2163
2242
|
{
|
|
2164
2243
|
"data-slot": "select-content",
|
|
@@ -2168,9 +2247,9 @@ function SelectContent({
|
|
|
2168
2247
|
),
|
|
2169
2248
|
...props,
|
|
2170
2249
|
children: [
|
|
2171
|
-
/* @__PURE__ */
|
|
2172
|
-
/* @__PURE__ */
|
|
2173
|
-
/* @__PURE__ */
|
|
2250
|
+
/* @__PURE__ */ jsx36(SelectScrollUpButton, {}),
|
|
2251
|
+
/* @__PURE__ */ jsx36(SelectPrimitive.List, { className: "p-1", children }),
|
|
2252
|
+
/* @__PURE__ */ jsx36(SelectScrollDownButton, {})
|
|
2174
2253
|
]
|
|
2175
2254
|
}
|
|
2176
2255
|
)
|
|
@@ -2181,7 +2260,7 @@ function SelectLabel({
|
|
|
2181
2260
|
className,
|
|
2182
2261
|
...props
|
|
2183
2262
|
}) {
|
|
2184
|
-
return /* @__PURE__ */
|
|
2263
|
+
return /* @__PURE__ */ jsx36(
|
|
2185
2264
|
SelectPrimitive.GroupLabel,
|
|
2186
2265
|
{
|
|
2187
2266
|
"data-slot": "select-label",
|
|
@@ -2195,7 +2274,7 @@ function SelectItem({
|
|
|
2195
2274
|
children,
|
|
2196
2275
|
...props
|
|
2197
2276
|
}) {
|
|
2198
|
-
return /* @__PURE__ */
|
|
2277
|
+
return /* @__PURE__ */ jsxs13(
|
|
2199
2278
|
SelectPrimitive.Item,
|
|
2200
2279
|
{
|
|
2201
2280
|
"data-slot": "select-item",
|
|
@@ -2205,8 +2284,8 @@ function SelectItem({
|
|
|
2205
2284
|
),
|
|
2206
2285
|
...props,
|
|
2207
2286
|
children: [
|
|
2208
|
-
/* @__PURE__ */
|
|
2209
|
-
/* @__PURE__ */
|
|
2287
|
+
/* @__PURE__ */ jsx36("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx36(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx36(CheckIcon2, { className: "size-4" }) }) }),
|
|
2288
|
+
/* @__PURE__ */ jsx36(SelectPrimitive.ItemText, { children })
|
|
2210
2289
|
]
|
|
2211
2290
|
}
|
|
2212
2291
|
);
|
|
@@ -2215,7 +2294,7 @@ function SelectSeparator({
|
|
|
2215
2294
|
className,
|
|
2216
2295
|
...props
|
|
2217
2296
|
}) {
|
|
2218
|
-
return /* @__PURE__ */
|
|
2297
|
+
return /* @__PURE__ */ jsx36(
|
|
2219
2298
|
SelectPrimitive.Separator,
|
|
2220
2299
|
{
|
|
2221
2300
|
"data-slot": "select-separator",
|
|
@@ -2228,7 +2307,7 @@ function SelectScrollUpButton({
|
|
|
2228
2307
|
className,
|
|
2229
2308
|
...props
|
|
2230
2309
|
}) {
|
|
2231
|
-
return /* @__PURE__ */
|
|
2310
|
+
return /* @__PURE__ */ jsx36(
|
|
2232
2311
|
SelectPrimitive.ScrollUpArrow,
|
|
2233
2312
|
{
|
|
2234
2313
|
"data-slot": "select-scroll-up-button",
|
|
@@ -2237,7 +2316,7 @@ function SelectScrollUpButton({
|
|
|
2237
2316
|
className
|
|
2238
2317
|
),
|
|
2239
2318
|
...props,
|
|
2240
|
-
children: /* @__PURE__ */
|
|
2319
|
+
children: /* @__PURE__ */ jsx36(ChevronUpIcon, { className: "size-4" })
|
|
2241
2320
|
}
|
|
2242
2321
|
);
|
|
2243
2322
|
}
|
|
@@ -2245,7 +2324,7 @@ function SelectScrollDownButton({
|
|
|
2245
2324
|
className,
|
|
2246
2325
|
...props
|
|
2247
2326
|
}) {
|
|
2248
|
-
return /* @__PURE__ */
|
|
2327
|
+
return /* @__PURE__ */ jsx36(
|
|
2249
2328
|
SelectPrimitive.ScrollDownArrow,
|
|
2250
2329
|
{
|
|
2251
2330
|
"data-slot": "select-scroll-down-button",
|
|
@@ -2254,21 +2333,21 @@ function SelectScrollDownButton({
|
|
|
2254
2333
|
className
|
|
2255
2334
|
),
|
|
2256
2335
|
...props,
|
|
2257
|
-
children: /* @__PURE__ */
|
|
2336
|
+
children: /* @__PURE__ */ jsx36(ChevronDownIcon3, { className: "size-4" })
|
|
2258
2337
|
}
|
|
2259
2338
|
);
|
|
2260
2339
|
}
|
|
2261
2340
|
|
|
2262
2341
|
// src/ui/separator.tsx
|
|
2263
2342
|
import { Separator as SeparatorPrimitive } from "@base-ui/react/separator";
|
|
2264
|
-
import { jsx as
|
|
2343
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
2265
2344
|
function Separator({
|
|
2266
2345
|
className,
|
|
2267
2346
|
orientation = "horizontal",
|
|
2268
2347
|
decorative: _decorative,
|
|
2269
2348
|
...props
|
|
2270
2349
|
}) {
|
|
2271
|
-
return /* @__PURE__ */
|
|
2350
|
+
return /* @__PURE__ */ jsx37(
|
|
2272
2351
|
SeparatorPrimitive,
|
|
2273
2352
|
{
|
|
2274
2353
|
"data-slot": "separator",
|
|
@@ -2286,32 +2365,32 @@ function Separator({
|
|
|
2286
2365
|
import { Dialog as DialogPrimitive } from "@base-ui/react/dialog";
|
|
2287
2366
|
import { XIcon } from "lucide-react";
|
|
2288
2367
|
import { cva as cva4 } from "class-variance-authority";
|
|
2289
|
-
import { jsx as
|
|
2368
|
+
import { jsx as jsx38, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
2290
2369
|
function Sheet({
|
|
2291
2370
|
...props
|
|
2292
2371
|
}) {
|
|
2293
|
-
return /* @__PURE__ */
|
|
2372
|
+
return /* @__PURE__ */ jsx38(DialogPrimitive.Root, { "data-slot": "sheet", ...props });
|
|
2294
2373
|
}
|
|
2295
2374
|
function SheetTrigger({
|
|
2296
2375
|
...props
|
|
2297
2376
|
}) {
|
|
2298
|
-
return /* @__PURE__ */
|
|
2377
|
+
return /* @__PURE__ */ jsx38(DialogPrimitive.Trigger, { "data-slot": "sheet-trigger", ...props });
|
|
2299
2378
|
}
|
|
2300
2379
|
function SheetClose({
|
|
2301
2380
|
...props
|
|
2302
2381
|
}) {
|
|
2303
|
-
return /* @__PURE__ */
|
|
2382
|
+
return /* @__PURE__ */ jsx38(DialogPrimitive.Close, { "data-slot": "sheet-close", ...props });
|
|
2304
2383
|
}
|
|
2305
2384
|
function SheetPortal({
|
|
2306
2385
|
...props
|
|
2307
2386
|
}) {
|
|
2308
|
-
return /* @__PURE__ */
|
|
2387
|
+
return /* @__PURE__ */ jsx38(DialogPrimitive.Portal, { "data-slot": "sheet-portal", ...props });
|
|
2309
2388
|
}
|
|
2310
2389
|
function SheetOverlay({
|
|
2311
2390
|
className,
|
|
2312
2391
|
...props
|
|
2313
2392
|
}) {
|
|
2314
|
-
return /* @__PURE__ */
|
|
2393
|
+
return /* @__PURE__ */ jsx38(
|
|
2315
2394
|
DialogPrimitive.Backdrop,
|
|
2316
2395
|
{
|
|
2317
2396
|
"data-slot": "sheet-overlay",
|
|
@@ -2345,9 +2424,9 @@ function SheetContent({
|
|
|
2345
2424
|
side = "right",
|
|
2346
2425
|
...props
|
|
2347
2426
|
}) {
|
|
2348
|
-
return /* @__PURE__ */
|
|
2349
|
-
/* @__PURE__ */
|
|
2350
|
-
/* @__PURE__ */
|
|
2427
|
+
return /* @__PURE__ */ jsxs14(SheetPortal, { "data-slot": "sheet-portal", children: [
|
|
2428
|
+
/* @__PURE__ */ jsx38(SheetOverlay, {}),
|
|
2429
|
+
/* @__PURE__ */ jsxs14(
|
|
2351
2430
|
DialogPrimitive.Popup,
|
|
2352
2431
|
{
|
|
2353
2432
|
"data-slot": "sheet-content",
|
|
@@ -2355,11 +2434,11 @@ function SheetContent({
|
|
|
2355
2434
|
...props,
|
|
2356
2435
|
children: [
|
|
2357
2436
|
children,
|
|
2358
|
-
/* @__PURE__ */
|
|
2437
|
+
/* @__PURE__ */ jsxs14(
|
|
2359
2438
|
DialogPrimitive.Close,
|
|
2360
2439
|
{
|
|
2361
2440
|
"data-slot": "sheet-close",
|
|
2362
|
-
render: /* @__PURE__ */
|
|
2441
|
+
render: /* @__PURE__ */ jsx38(
|
|
2363
2442
|
"button",
|
|
2364
2443
|
{
|
|
2365
2444
|
type: "button",
|
|
@@ -2367,8 +2446,8 @@ function SheetContent({
|
|
|
2367
2446
|
}
|
|
2368
2447
|
),
|
|
2369
2448
|
children: [
|
|
2370
|
-
/* @__PURE__ */
|
|
2371
|
-
/* @__PURE__ */
|
|
2449
|
+
/* @__PURE__ */ jsx38(XIcon, {}),
|
|
2450
|
+
/* @__PURE__ */ jsx38("span", { className: "sr-only", children: "Close" })
|
|
2372
2451
|
]
|
|
2373
2452
|
}
|
|
2374
2453
|
)
|
|
@@ -2378,7 +2457,7 @@ function SheetContent({
|
|
|
2378
2457
|
] });
|
|
2379
2458
|
}
|
|
2380
2459
|
function SheetHeader({ className, ...props }) {
|
|
2381
|
-
return /* @__PURE__ */
|
|
2460
|
+
return /* @__PURE__ */ jsx38(
|
|
2382
2461
|
"div",
|
|
2383
2462
|
{
|
|
2384
2463
|
"data-slot": "sheet-header",
|
|
@@ -2388,7 +2467,7 @@ function SheetHeader({ className, ...props }) {
|
|
|
2388
2467
|
);
|
|
2389
2468
|
}
|
|
2390
2469
|
function SheetFooter({ className, ...props }) {
|
|
2391
|
-
return /* @__PURE__ */
|
|
2470
|
+
return /* @__PURE__ */ jsx38(
|
|
2392
2471
|
"div",
|
|
2393
2472
|
{
|
|
2394
2473
|
"data-slot": "sheet-footer",
|
|
@@ -2401,7 +2480,7 @@ function SheetTitle({
|
|
|
2401
2480
|
className,
|
|
2402
2481
|
...props
|
|
2403
2482
|
}) {
|
|
2404
|
-
return /* @__PURE__ */
|
|
2483
|
+
return /* @__PURE__ */ jsx38(
|
|
2405
2484
|
DialogPrimitive.Title,
|
|
2406
2485
|
{
|
|
2407
2486
|
"data-slot": "sheet-title",
|
|
@@ -2414,7 +2493,7 @@ function SheetDescription({
|
|
|
2414
2493
|
className,
|
|
2415
2494
|
...props
|
|
2416
2495
|
}) {
|
|
2417
|
-
return /* @__PURE__ */
|
|
2496
|
+
return /* @__PURE__ */ jsx38(
|
|
2418
2497
|
DialogPrimitive.Description,
|
|
2419
2498
|
{
|
|
2420
2499
|
"data-slot": "sheet-description",
|
|
@@ -2425,9 +2504,9 @@ function SheetDescription({
|
|
|
2425
2504
|
}
|
|
2426
2505
|
|
|
2427
2506
|
// src/ui/skeleton.tsx
|
|
2428
|
-
import { jsx as
|
|
2507
|
+
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
2429
2508
|
function Skeleton({ className, ...props }) {
|
|
2430
|
-
return /* @__PURE__ */
|
|
2509
|
+
return /* @__PURE__ */ jsx39(
|
|
2431
2510
|
"div",
|
|
2432
2511
|
{
|
|
2433
2512
|
"data-slot": "skeleton",
|
|
@@ -2439,9 +2518,9 @@ function Skeleton({ className, ...props }) {
|
|
|
2439
2518
|
|
|
2440
2519
|
// src/ui/slider.tsx
|
|
2441
2520
|
import { Slider as SliderPrimitive } from "@base-ui/react/slider";
|
|
2442
|
-
import { jsx as
|
|
2521
|
+
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
2443
2522
|
function Slider({ className, ...props }) {
|
|
2444
|
-
return /* @__PURE__ */
|
|
2523
|
+
return /* @__PURE__ */ jsx40(
|
|
2445
2524
|
SliderPrimitive.Root,
|
|
2446
2525
|
{
|
|
2447
2526
|
"data-slot": "slider",
|
|
@@ -2454,7 +2533,7 @@ function Slider({ className, ...props }) {
|
|
|
2454
2533
|
);
|
|
2455
2534
|
}
|
|
2456
2535
|
function SliderControl({ className, ...props }) {
|
|
2457
|
-
return /* @__PURE__ */
|
|
2536
|
+
return /* @__PURE__ */ jsx40(
|
|
2458
2537
|
SliderPrimitive.Control,
|
|
2459
2538
|
{
|
|
2460
2539
|
"data-slot": "slider-control",
|
|
@@ -2464,7 +2543,7 @@ function SliderControl({ className, ...props }) {
|
|
|
2464
2543
|
);
|
|
2465
2544
|
}
|
|
2466
2545
|
function SliderTrack({ className, ...props }) {
|
|
2467
|
-
return /* @__PURE__ */
|
|
2546
|
+
return /* @__PURE__ */ jsx40(
|
|
2468
2547
|
SliderPrimitive.Track,
|
|
2469
2548
|
{
|
|
2470
2549
|
"data-slot": "slider-track",
|
|
@@ -2477,7 +2556,7 @@ function SliderTrack({ className, ...props }) {
|
|
|
2477
2556
|
);
|
|
2478
2557
|
}
|
|
2479
2558
|
function SliderIndicator({ className, ...props }) {
|
|
2480
|
-
return /* @__PURE__ */
|
|
2559
|
+
return /* @__PURE__ */ jsx40(
|
|
2481
2560
|
SliderPrimitive.Indicator,
|
|
2482
2561
|
{
|
|
2483
2562
|
"data-slot": "slider-indicator",
|
|
@@ -2487,7 +2566,7 @@ function SliderIndicator({ className, ...props }) {
|
|
|
2487
2566
|
);
|
|
2488
2567
|
}
|
|
2489
2568
|
function SliderThumb({ className, ...props }) {
|
|
2490
|
-
return /* @__PURE__ */
|
|
2569
|
+
return /* @__PURE__ */ jsx40(
|
|
2491
2570
|
SliderPrimitive.Thumb,
|
|
2492
2571
|
{
|
|
2493
2572
|
"data-slot": "slider-thumb",
|
|
@@ -2503,7 +2582,7 @@ function SliderThumb({ className, ...props }) {
|
|
|
2503
2582
|
// src/ui/toast.tsx
|
|
2504
2583
|
import { Toast as ToastPrimitive } from "@base-ui/react/toast";
|
|
2505
2584
|
import { XIcon as XIcon2 } from "lucide-react";
|
|
2506
|
-
import { jsx as
|
|
2585
|
+
import { jsx as jsx41, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
2507
2586
|
var toastManager = ToastPrimitive.createToastManager();
|
|
2508
2587
|
function toast(message, options = {}) {
|
|
2509
2588
|
return toastManager.add({
|
|
@@ -2519,7 +2598,7 @@ var toastVariantClass = {
|
|
|
2519
2598
|
};
|
|
2520
2599
|
function ToasterViewport({ className }) {
|
|
2521
2600
|
const { toasts } = ToastPrimitive.useToastManager();
|
|
2522
|
-
return /* @__PURE__ */
|
|
2601
|
+
return /* @__PURE__ */ jsx41(ToastPrimitive.Portal, { children: /* @__PURE__ */ jsx41(
|
|
2523
2602
|
ToastPrimitive.Viewport,
|
|
2524
2603
|
{
|
|
2525
2604
|
"data-slot": "toast-viewport",
|
|
@@ -2527,7 +2606,7 @@ function ToasterViewport({ className }) {
|
|
|
2527
2606
|
"fixed top-4 right-4 z-[100] flex w-80 flex-col gap-2 outline-none",
|
|
2528
2607
|
className
|
|
2529
2608
|
),
|
|
2530
|
-
children: toasts.map((item) => /* @__PURE__ */
|
|
2609
|
+
children: toasts.map((item) => /* @__PURE__ */ jsx41(
|
|
2531
2610
|
ToastPrimitive.Root,
|
|
2532
2611
|
{
|
|
2533
2612
|
toast: item,
|
|
@@ -2537,16 +2616,16 @@ function ToasterViewport({ className }) {
|
|
|
2537
2616
|
"rounded-md border border-border bg-popover px-4 py-3 text-sm text-popover-foreground shadow-md transition-[opacity,transform] duration-200 data-ending-style:animate-toast-out data-starting-style:animate-toast-in",
|
|
2538
2617
|
toastVariantClass[item.type ?? "info"] ?? toastVariantClass.info
|
|
2539
2618
|
),
|
|
2540
|
-
children: /* @__PURE__ */
|
|
2541
|
-
/* @__PURE__ */
|
|
2542
|
-
/* @__PURE__ */
|
|
2619
|
+
children: /* @__PURE__ */ jsxs15(ToastPrimitive.Content, { className: "flex items-start justify-between gap-2", children: [
|
|
2620
|
+
/* @__PURE__ */ jsxs15("div", { className: "grid gap-0.5", children: [
|
|
2621
|
+
/* @__PURE__ */ jsx41(
|
|
2543
2622
|
ToastPrimitive.Title,
|
|
2544
2623
|
{
|
|
2545
2624
|
"data-slot": "toast-title",
|
|
2546
2625
|
className: "font-medium"
|
|
2547
2626
|
}
|
|
2548
2627
|
),
|
|
2549
|
-
/* @__PURE__ */
|
|
2628
|
+
/* @__PURE__ */ jsx41(
|
|
2550
2629
|
ToastPrimitive.Description,
|
|
2551
2630
|
{
|
|
2552
2631
|
"data-slot": "toast-description",
|
|
@@ -2554,13 +2633,13 @@ function ToasterViewport({ className }) {
|
|
|
2554
2633
|
}
|
|
2555
2634
|
)
|
|
2556
2635
|
] }),
|
|
2557
|
-
/* @__PURE__ */
|
|
2636
|
+
/* @__PURE__ */ jsx41(
|
|
2558
2637
|
ToastPrimitive.Close,
|
|
2559
2638
|
{
|
|
2560
2639
|
"data-slot": "toast-close",
|
|
2561
2640
|
"aria-label": "Close",
|
|
2562
2641
|
className: "cursor-pointer rounded-xs opacity-70 transition-opacity hover:opacity-100 focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-none [&_svg]:size-3.5",
|
|
2563
|
-
children: /* @__PURE__ */
|
|
2642
|
+
children: /* @__PURE__ */ jsx41(XIcon2, {})
|
|
2564
2643
|
}
|
|
2565
2644
|
)
|
|
2566
2645
|
] })
|
|
@@ -2571,14 +2650,14 @@ function ToasterViewport({ className }) {
|
|
|
2571
2650
|
) });
|
|
2572
2651
|
}
|
|
2573
2652
|
function Toaster({ className }) {
|
|
2574
|
-
return /* @__PURE__ */
|
|
2653
|
+
return /* @__PURE__ */ jsx41(ToastPrimitive.Provider, { toastManager, children: /* @__PURE__ */ jsx41(ToasterViewport, { className }) });
|
|
2575
2654
|
}
|
|
2576
2655
|
|
|
2577
2656
|
// src/ui/spinner.tsx
|
|
2578
2657
|
import { Loader2Icon } from "lucide-react";
|
|
2579
|
-
import { jsx as
|
|
2658
|
+
import { jsx as jsx42 } from "react/jsx-runtime";
|
|
2580
2659
|
function Spinner({ className, ...props }) {
|
|
2581
|
-
return /* @__PURE__ */
|
|
2660
|
+
return /* @__PURE__ */ jsx42(
|
|
2582
2661
|
Loader2Icon,
|
|
2583
2662
|
{
|
|
2584
2663
|
role: "status",
|
|
@@ -2592,9 +2671,9 @@ function Spinner({ className, ...props }) {
|
|
|
2592
2671
|
|
|
2593
2672
|
// src/ui/switch.tsx
|
|
2594
2673
|
import { Switch as SwitchPrimitive } from "@base-ui/react/switch";
|
|
2595
|
-
import { jsx as
|
|
2674
|
+
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
2596
2675
|
function Switch({ className, ...props }) {
|
|
2597
|
-
return /* @__PURE__ */
|
|
2676
|
+
return /* @__PURE__ */ jsx43(
|
|
2598
2677
|
SwitchPrimitive.Root,
|
|
2599
2678
|
{
|
|
2600
2679
|
"data-slot": "switch",
|
|
@@ -2603,7 +2682,7 @@ function Switch({ className, ...props }) {
|
|
|
2603
2682
|
className
|
|
2604
2683
|
),
|
|
2605
2684
|
...props,
|
|
2606
|
-
children: /* @__PURE__ */
|
|
2685
|
+
children: /* @__PURE__ */ jsx43(
|
|
2607
2686
|
SwitchPrimitive.Thumb,
|
|
2608
2687
|
{
|
|
2609
2688
|
"data-slot": "switch-thumb",
|
|
@@ -2616,12 +2695,12 @@ function Switch({ className, ...props }) {
|
|
|
2616
2695
|
|
|
2617
2696
|
// src/ui/tabs.tsx
|
|
2618
2697
|
import { Tabs as TabsPrimitive } from "@base-ui/react/tabs";
|
|
2619
|
-
import { jsx as
|
|
2698
|
+
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
2620
2699
|
function Tabs({
|
|
2621
2700
|
className,
|
|
2622
2701
|
...props
|
|
2623
2702
|
}) {
|
|
2624
|
-
return /* @__PURE__ */
|
|
2703
|
+
return /* @__PURE__ */ jsx44(
|
|
2625
2704
|
TabsPrimitive.Root,
|
|
2626
2705
|
{
|
|
2627
2706
|
"data-slot": "tabs",
|
|
@@ -2634,7 +2713,7 @@ function TabsList({
|
|
|
2634
2713
|
className,
|
|
2635
2714
|
...props
|
|
2636
2715
|
}) {
|
|
2637
|
-
return /* @__PURE__ */
|
|
2716
|
+
return /* @__PURE__ */ jsx44(
|
|
2638
2717
|
TabsPrimitive.List,
|
|
2639
2718
|
{
|
|
2640
2719
|
"data-slot": "tabs-list",
|
|
@@ -2650,7 +2729,7 @@ function TabsTrigger({
|
|
|
2650
2729
|
className,
|
|
2651
2730
|
...props
|
|
2652
2731
|
}) {
|
|
2653
|
-
return /* @__PURE__ */
|
|
2732
|
+
return /* @__PURE__ */ jsx44(
|
|
2654
2733
|
TabsPrimitive.Tab,
|
|
2655
2734
|
{
|
|
2656
2735
|
"data-slot": "tabs-trigger",
|
|
@@ -2666,7 +2745,7 @@ function TabsContent({
|
|
|
2666
2745
|
className,
|
|
2667
2746
|
...props
|
|
2668
2747
|
}) {
|
|
2669
|
-
return /* @__PURE__ */
|
|
2748
|
+
return /* @__PURE__ */ jsx44(
|
|
2670
2749
|
TabsPrimitive.Panel,
|
|
2671
2750
|
{
|
|
2672
2751
|
"data-slot": "tabs-content",
|
|
@@ -2676,29 +2755,10 @@ function TabsContent({
|
|
|
2676
2755
|
);
|
|
2677
2756
|
}
|
|
2678
2757
|
|
|
2679
|
-
// src/ui/textarea.tsx
|
|
2680
|
-
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
2681
|
-
function Textarea({
|
|
2682
|
-
className,
|
|
2683
|
-
...props
|
|
2684
|
-
}) {
|
|
2685
|
-
return /* @__PURE__ */ jsx43(
|
|
2686
|
-
"textarea",
|
|
2687
|
-
{
|
|
2688
|
-
"data-slot": "textarea",
|
|
2689
|
-
className: cn(
|
|
2690
|
-
"flex field-sizing-content min-h-16 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-xs transition-colors outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50",
|
|
2691
|
-
className
|
|
2692
|
-
),
|
|
2693
|
-
...props
|
|
2694
|
-
}
|
|
2695
|
-
);
|
|
2696
|
-
}
|
|
2697
|
-
|
|
2698
2758
|
// src/ui/toggle.tsx
|
|
2699
2759
|
import { Toggle as TogglePrimitive } from "@base-ui/react/toggle";
|
|
2700
2760
|
import { cva as cva5 } from "class-variance-authority";
|
|
2701
|
-
import { jsx as
|
|
2761
|
+
import { jsx as jsx45 } from "react/jsx-runtime";
|
|
2702
2762
|
var toggleVariants = cva5(
|
|
2703
2763
|
"inline-flex cursor-pointer items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-colors outline-none hover:bg-muted hover:text-muted-foreground focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 data-pressed:bg-accent data-pressed:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
2704
2764
|
{
|
|
@@ -2725,7 +2785,7 @@ function Toggle({
|
|
|
2725
2785
|
size,
|
|
2726
2786
|
...props
|
|
2727
2787
|
}) {
|
|
2728
|
-
return /* @__PURE__ */
|
|
2788
|
+
return /* @__PURE__ */ jsx45(
|
|
2729
2789
|
TogglePrimitive,
|
|
2730
2790
|
{
|
|
2731
2791
|
"data-slot": "toggle",
|
|
@@ -2739,7 +2799,7 @@ function Toggle({
|
|
|
2739
2799
|
import { Toggle as TogglePrimitive2 } from "@base-ui/react/toggle";
|
|
2740
2800
|
import { ToggleGroup as ToggleGroupPrimitive } from "@base-ui/react/toggle-group";
|
|
2741
2801
|
import * as React3 from "react";
|
|
2742
|
-
import { jsx as
|
|
2802
|
+
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
2743
2803
|
var ToggleGroupContext = React3.createContext({
|
|
2744
2804
|
size: "default",
|
|
2745
2805
|
variant: "default"
|
|
@@ -2751,7 +2811,7 @@ function ToggleGroup({
|
|
|
2751
2811
|
children,
|
|
2752
2812
|
...props
|
|
2753
2813
|
}) {
|
|
2754
|
-
return /* @__PURE__ */
|
|
2814
|
+
return /* @__PURE__ */ jsx46(
|
|
2755
2815
|
ToggleGroupPrimitive,
|
|
2756
2816
|
{
|
|
2757
2817
|
"data-slot": "toggle-group",
|
|
@@ -2762,7 +2822,7 @@ function ToggleGroup({
|
|
|
2762
2822
|
className
|
|
2763
2823
|
),
|
|
2764
2824
|
...props,
|
|
2765
|
-
children: /* @__PURE__ */
|
|
2825
|
+
children: /* @__PURE__ */ jsx46(ToggleGroupContext.Provider, { value: { variant, size }, children })
|
|
2766
2826
|
}
|
|
2767
2827
|
);
|
|
2768
2828
|
}
|
|
@@ -2774,7 +2834,7 @@ function ToggleGroupItem({
|
|
|
2774
2834
|
...props
|
|
2775
2835
|
}) {
|
|
2776
2836
|
const context = React3.useContext(ToggleGroupContext);
|
|
2777
|
-
return /* @__PURE__ */
|
|
2837
|
+
return /* @__PURE__ */ jsx46(
|
|
2778
2838
|
TogglePrimitive2,
|
|
2779
2839
|
{
|
|
2780
2840
|
"data-slot": "toggle-group-item",
|
|
@@ -2794,66 +2854,6 @@ function ToggleGroupItem({
|
|
|
2794
2854
|
);
|
|
2795
2855
|
}
|
|
2796
2856
|
|
|
2797
|
-
// src/ui/tooltip.tsx
|
|
2798
|
-
import { Tooltip as TooltipPrimitive } from "@base-ui/react/tooltip";
|
|
2799
|
-
import { jsx as jsx46, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
2800
|
-
function TooltipProvider({
|
|
2801
|
-
delay = 0,
|
|
2802
|
-
...props
|
|
2803
|
-
}) {
|
|
2804
|
-
return /* @__PURE__ */ jsx46(
|
|
2805
|
-
TooltipPrimitive.Provider,
|
|
2806
|
-
{
|
|
2807
|
-
"data-slot": "tooltip-provider",
|
|
2808
|
-
delay,
|
|
2809
|
-
...props
|
|
2810
|
-
}
|
|
2811
|
-
);
|
|
2812
|
-
}
|
|
2813
|
-
function Tooltip({
|
|
2814
|
-
...props
|
|
2815
|
-
}) {
|
|
2816
|
-
return /* @__PURE__ */ jsx46(TooltipProvider, { children: /* @__PURE__ */ jsx46(TooltipPrimitive.Root, { "data-slot": "tooltip", ...props }) });
|
|
2817
|
-
}
|
|
2818
|
-
function TooltipTrigger({
|
|
2819
|
-
...props
|
|
2820
|
-
}) {
|
|
2821
|
-
return /* @__PURE__ */ jsx46(TooltipPrimitive.Trigger, { "data-slot": "tooltip-trigger", ...props });
|
|
2822
|
-
}
|
|
2823
|
-
function TooltipContent({
|
|
2824
|
-
className,
|
|
2825
|
-
side = "top",
|
|
2826
|
-
sideOffset = 4,
|
|
2827
|
-
align = "center",
|
|
2828
|
-
children,
|
|
2829
|
-
...props
|
|
2830
|
-
}) {
|
|
2831
|
-
return /* @__PURE__ */ jsx46(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsx46(
|
|
2832
|
-
TooltipPrimitive.Positioner,
|
|
2833
|
-
{
|
|
2834
|
-
align,
|
|
2835
|
-
side,
|
|
2836
|
-
sideOffset,
|
|
2837
|
-
className: "isolate z-50",
|
|
2838
|
-
children: /* @__PURE__ */ jsxs15(
|
|
2839
|
-
TooltipPrimitive.Popup,
|
|
2840
|
-
{
|
|
2841
|
-
"data-slot": "tooltip-content",
|
|
2842
|
-
className: cn(
|
|
2843
|
-
"z-50 w-fit origin-(--transform-origin) rounded-md bg-primary px-3 py-1.5 text-xs text-balance text-primary-foreground duration-200 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",
|
|
2844
|
-
className
|
|
2845
|
-
),
|
|
2846
|
-
...props,
|
|
2847
|
-
children: [
|
|
2848
|
-
children,
|
|
2849
|
-
/* @__PURE__ */ jsx46(TooltipPrimitive.Arrow, { className: "z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] bg-primary fill-primary" })
|
|
2850
|
-
]
|
|
2851
|
-
}
|
|
2852
|
-
)
|
|
2853
|
-
}
|
|
2854
|
-
) });
|
|
2855
|
-
}
|
|
2856
|
-
|
|
2857
2857
|
// src/ui/typography.tsx
|
|
2858
2858
|
import { cva as cva6 } from "class-variance-authority";
|
|
2859
2859
|
import { jsx as jsx47 } from "react/jsx-runtime";
|
|
@@ -2955,6 +2955,7 @@ export {
|
|
|
2955
2955
|
CHART_TOKEN_COLORS,
|
|
2956
2956
|
chartColor,
|
|
2957
2957
|
ChartContainer,
|
|
2958
|
+
Textarea,
|
|
2958
2959
|
ContextMenu,
|
|
2959
2960
|
ContextMenuTrigger,
|
|
2960
2961
|
ContextMenuContent,
|
|
@@ -3004,6 +3005,10 @@ export {
|
|
|
3004
3005
|
ItemActions,
|
|
3005
3006
|
Kbd,
|
|
3006
3007
|
Label,
|
|
3008
|
+
TooltipProvider,
|
|
3009
|
+
Tooltip,
|
|
3010
|
+
TooltipTrigger,
|
|
3011
|
+
TooltipContent,
|
|
3007
3012
|
Menubar,
|
|
3008
3013
|
MenubarMenu,
|
|
3009
3014
|
MenubarTrigger,
|
|
@@ -3071,15 +3076,10 @@ export {
|
|
|
3071
3076
|
TabsList,
|
|
3072
3077
|
TabsTrigger,
|
|
3073
3078
|
TabsContent,
|
|
3074
|
-
Textarea,
|
|
3075
3079
|
toggleVariants,
|
|
3076
3080
|
Toggle,
|
|
3077
3081
|
ToggleGroup,
|
|
3078
3082
|
ToggleGroupItem,
|
|
3079
|
-
TooltipProvider,
|
|
3080
|
-
Tooltip,
|
|
3081
|
-
TooltipTrigger,
|
|
3082
|
-
TooltipContent,
|
|
3083
3083
|
typographyVariants,
|
|
3084
3084
|
Typography
|
|
3085
3085
|
};
|