@pactor-app/ui 1.0.0 → 1.2.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/README.md +25 -31
- package/dist/{chunk-D6G4J5XS.js → chunk-22TEN3ER.js} +169 -38
- package/dist/{chunk-GL7IO22L.js → chunk-2LYMCWEJ.js} +65 -1
- package/dist/chunk-HJPHJKVA.js +671 -0
- package/dist/{chunk-BZSRLTQQ.js → chunk-L45CSL6I.js} +5 -5
- package/dist/{chunk-FVZMNP5P.js → chunk-LMEJ242M.js} +357 -442
- package/dist/{chunk-TUXCPXPA.js → chunk-Q5NUGUJG.js} +195 -259
- package/dist/components/index.cjs +1123 -796
- package/dist/components/index.d.cts +105 -21
- package/dist/components/index.d.ts +105 -21
- package/dist/components/index.js +18 -14
- package/dist/index.cjs +1433 -988
- package/dist/index.d.cts +3 -36
- package/dist/index.d.ts +3 -36
- package/dist/index.js +38 -43
- package/dist/interaction/index.cjs +7 -7
- package/dist/interaction/index.d.cts +13 -16
- package/dist/interaction/index.d.ts +13 -16
- package/dist/interaction/index.js +5 -5
- package/dist/layout/index.cjs +655 -52
- package/dist/layout/index.d.cts +97 -19
- package/dist/layout/index.d.ts +97 -19
- package/dist/layout/index.js +17 -15
- package/dist/ui/index.cjs +1 -1
- package/dist/ui/index.js +7 -7
- package/package.json +5 -5
- package/styles.css +88 -7
- package/dist/chunk-UR3I4WXQ.js +0 -236
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
Popover,
|
|
7
7
|
PopoverContent,
|
|
8
8
|
PopoverTrigger
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2LYMCWEJ.js";
|
|
10
10
|
import {
|
|
11
11
|
cn
|
|
12
12
|
} from "./chunk-RQHJBTEU.js";
|
|
@@ -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",
|
|
@@ -1588,12 +1607,12 @@ function Label({
|
|
|
1588
1607
|
// src/ui/menubar.tsx
|
|
1589
1608
|
import { Menu as MenuPrimitive2 } from "@base-ui/react/menu";
|
|
1590
1609
|
import { Menubar as MenubarPrimitive } from "@base-ui/react/menubar";
|
|
1591
|
-
import { jsx as
|
|
1610
|
+
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
1592
1611
|
function Menubar({
|
|
1593
1612
|
className,
|
|
1594
1613
|
...props
|
|
1595
1614
|
}) {
|
|
1596
|
-
return /* @__PURE__ */
|
|
1615
|
+
return /* @__PURE__ */ jsx28(
|
|
1597
1616
|
MenubarPrimitive,
|
|
1598
1617
|
{
|
|
1599
1618
|
"data-slot": "menubar",
|
|
@@ -1608,13 +1627,13 @@ function Menubar({
|
|
|
1608
1627
|
function MenubarMenu({
|
|
1609
1628
|
...props
|
|
1610
1629
|
}) {
|
|
1611
|
-
return /* @__PURE__ */
|
|
1630
|
+
return /* @__PURE__ */ jsx28(MenuPrimitive2.Root, { "data-slot": "menubar-menu", ...props });
|
|
1612
1631
|
}
|
|
1613
1632
|
function MenubarTrigger({
|
|
1614
1633
|
className,
|
|
1615
1634
|
...props
|
|
1616
1635
|
}) {
|
|
1617
|
-
return /* @__PURE__ */
|
|
1636
|
+
return /* @__PURE__ */ jsx28(
|
|
1618
1637
|
MenuPrimitive2.Trigger,
|
|
1619
1638
|
{
|
|
1620
1639
|
"data-slot": "menubar-trigger",
|
|
@@ -1633,14 +1652,14 @@ function MenubarContent({
|
|
|
1633
1652
|
sideOffset = 8,
|
|
1634
1653
|
...props
|
|
1635
1654
|
}) {
|
|
1636
|
-
return /* @__PURE__ */
|
|
1655
|
+
return /* @__PURE__ */ jsx28(MenuPrimitive2.Portal, { children: /* @__PURE__ */ jsx28(
|
|
1637
1656
|
MenuPrimitive2.Positioner,
|
|
1638
1657
|
{
|
|
1639
1658
|
align,
|
|
1640
1659
|
side,
|
|
1641
1660
|
sideOffset,
|
|
1642
1661
|
className: "isolate z-50",
|
|
1643
|
-
children: /* @__PURE__ */
|
|
1662
|
+
children: /* @__PURE__ */ jsx28(
|
|
1644
1663
|
MenuPrimitive2.Popup,
|
|
1645
1664
|
{
|
|
1646
1665
|
"data-slot": "menubar-content",
|
|
@@ -1659,7 +1678,7 @@ function MenubarItem({
|
|
|
1659
1678
|
variant = "default",
|
|
1660
1679
|
...props
|
|
1661
1680
|
}) {
|
|
1662
|
-
return /* @__PURE__ */
|
|
1681
|
+
return /* @__PURE__ */ jsx28(
|
|
1663
1682
|
MenuPrimitive2.Item,
|
|
1664
1683
|
{
|
|
1665
1684
|
"data-slot": "menubar-item",
|
|
@@ -1676,7 +1695,7 @@ function MenubarSeparator({
|
|
|
1676
1695
|
className,
|
|
1677
1696
|
...props
|
|
1678
1697
|
}) {
|
|
1679
|
-
return /* @__PURE__ */
|
|
1698
|
+
return /* @__PURE__ */ jsx28(
|
|
1680
1699
|
MenuPrimitive2.Separator,
|
|
1681
1700
|
{
|
|
1682
1701
|
"data-slot": "menubar-separator",
|
|
@@ -1690,7 +1709,7 @@ function MenubarSeparator({
|
|
|
1690
1709
|
import { NavigationMenu as NavigationMenuPrimitive } from "@base-ui/react/navigation-menu";
|
|
1691
1710
|
import { ChevronDownIcon as ChevronDownIcon2 } from "lucide-react";
|
|
1692
1711
|
import { cva as cva3 } from "class-variance-authority";
|
|
1693
|
-
import { jsx as
|
|
1712
|
+
import { jsx as jsx29, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
1694
1713
|
function NavigationMenu({
|
|
1695
1714
|
className,
|
|
1696
1715
|
children,
|
|
@@ -1704,7 +1723,7 @@ function NavigationMenu({
|
|
|
1704
1723
|
...props,
|
|
1705
1724
|
children: [
|
|
1706
1725
|
children,
|
|
1707
|
-
/* @__PURE__ */
|
|
1726
|
+
/* @__PURE__ */ jsx29(NavigationMenuViewport, {})
|
|
1708
1727
|
]
|
|
1709
1728
|
}
|
|
1710
1729
|
);
|
|
@@ -1713,7 +1732,7 @@ function NavigationMenuList({
|
|
|
1713
1732
|
className,
|
|
1714
1733
|
...props
|
|
1715
1734
|
}) {
|
|
1716
|
-
return /* @__PURE__ */
|
|
1735
|
+
return /* @__PURE__ */ jsx29(
|
|
1717
1736
|
NavigationMenuPrimitive.List,
|
|
1718
1737
|
{
|
|
1719
1738
|
"data-slot": "navigation-menu-list",
|
|
@@ -1726,7 +1745,7 @@ function NavigationMenuItem({
|
|
|
1726
1745
|
className,
|
|
1727
1746
|
...props
|
|
1728
1747
|
}) {
|
|
1729
|
-
return /* @__PURE__ */
|
|
1748
|
+
return /* @__PURE__ */ jsx29(
|
|
1730
1749
|
NavigationMenuPrimitive.Item,
|
|
1731
1750
|
{
|
|
1732
1751
|
"data-slot": "navigation-menu-item",
|
|
@@ -1751,7 +1770,7 @@ function NavigationMenuTrigger({
|
|
|
1751
1770
|
...props,
|
|
1752
1771
|
children: [
|
|
1753
1772
|
children,
|
|
1754
|
-
/* @__PURE__ */
|
|
1773
|
+
/* @__PURE__ */ jsx29(
|
|
1755
1774
|
ChevronDownIcon2,
|
|
1756
1775
|
{
|
|
1757
1776
|
className: "relative top-px ml-1 size-3 transition-transform duration-200 group-data-open/navigation-menu-trigger:rotate-180",
|
|
@@ -1766,7 +1785,7 @@ function NavigationMenuContent({
|
|
|
1766
1785
|
className,
|
|
1767
1786
|
...props
|
|
1768
1787
|
}) {
|
|
1769
|
-
return /* @__PURE__ */
|
|
1788
|
+
return /* @__PURE__ */ jsx29(
|
|
1770
1789
|
NavigationMenuPrimitive.Content,
|
|
1771
1790
|
{
|
|
1772
1791
|
"data-slot": "navigation-menu-content",
|
|
@@ -1779,13 +1798,13 @@ function NavigationMenuContent({
|
|
|
1779
1798
|
);
|
|
1780
1799
|
}
|
|
1781
1800
|
function NavigationMenuViewport({ className }) {
|
|
1782
|
-
return /* @__PURE__ */
|
|
1801
|
+
return /* @__PURE__ */ jsx29(NavigationMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx29(
|
|
1783
1802
|
NavigationMenuPrimitive.Positioner,
|
|
1784
1803
|
{
|
|
1785
1804
|
side: "bottom",
|
|
1786
1805
|
align: "start",
|
|
1787
1806
|
className: "isolate z-50",
|
|
1788
|
-
children: /* @__PURE__ */
|
|
1807
|
+
children: /* @__PURE__ */ jsx29(
|
|
1789
1808
|
NavigationMenuPrimitive.Popup,
|
|
1790
1809
|
{
|
|
1791
1810
|
"data-slot": "navigation-menu-popup",
|
|
@@ -1793,7 +1812,7 @@ function NavigationMenuViewport({ className }) {
|
|
|
1793
1812
|
"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
1813
|
className
|
|
1795
1814
|
),
|
|
1796
|
-
children: /* @__PURE__ */
|
|
1815
|
+
children: /* @__PURE__ */ jsx29(NavigationMenuPrimitive.Viewport, { "data-slot": "navigation-menu-viewport" })
|
|
1797
1816
|
}
|
|
1798
1817
|
)
|
|
1799
1818
|
}
|
|
@@ -1803,7 +1822,7 @@ function NavigationMenuLink({
|
|
|
1803
1822
|
className,
|
|
1804
1823
|
...props
|
|
1805
1824
|
}) {
|
|
1806
|
-
return /* @__PURE__ */
|
|
1825
|
+
return /* @__PURE__ */ jsx29(
|
|
1807
1826
|
NavigationMenuPrimitive.Link,
|
|
1808
1827
|
{
|
|
1809
1828
|
"data-slot": "navigation-menu-link",
|
|
@@ -1818,9 +1837,9 @@ function NavigationMenuLink({
|
|
|
1818
1837
|
|
|
1819
1838
|
// src/ui/pagination.tsx
|
|
1820
1839
|
import { ChevronLeftIcon as ChevronLeftIcon3, ChevronRightIcon as ChevronRightIcon5, MoreHorizontalIcon as MoreHorizontalIcon2 } from "lucide-react";
|
|
1821
|
-
import { jsx as
|
|
1840
|
+
import { jsx as jsx30, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
1822
1841
|
function Pagination({ className, ...props }) {
|
|
1823
|
-
return /* @__PURE__ */
|
|
1842
|
+
return /* @__PURE__ */ jsx30(
|
|
1824
1843
|
"nav",
|
|
1825
1844
|
{
|
|
1826
1845
|
role: "navigation",
|
|
@@ -1832,7 +1851,7 @@ function Pagination({ className, ...props }) {
|
|
|
1832
1851
|
);
|
|
1833
1852
|
}
|
|
1834
1853
|
function PaginationContent({ className, ...props }) {
|
|
1835
|
-
return /* @__PURE__ */
|
|
1854
|
+
return /* @__PURE__ */ jsx30(
|
|
1836
1855
|
"ul",
|
|
1837
1856
|
{
|
|
1838
1857
|
"data-slot": "pagination-content",
|
|
@@ -1842,7 +1861,7 @@ function PaginationContent({ className, ...props }) {
|
|
|
1842
1861
|
);
|
|
1843
1862
|
}
|
|
1844
1863
|
function PaginationItem({ ...props }) {
|
|
1845
|
-
return /* @__PURE__ */
|
|
1864
|
+
return /* @__PURE__ */ jsx30("li", { "data-slot": "pagination-item", ...props });
|
|
1846
1865
|
}
|
|
1847
1866
|
function PaginationLink({
|
|
1848
1867
|
className,
|
|
@@ -1850,7 +1869,7 @@ function PaginationLink({
|
|
|
1850
1869
|
disabled,
|
|
1851
1870
|
...props
|
|
1852
1871
|
}) {
|
|
1853
|
-
return /* @__PURE__ */
|
|
1872
|
+
return /* @__PURE__ */ jsx30(
|
|
1854
1873
|
"a",
|
|
1855
1874
|
{
|
|
1856
1875
|
"aria-current": isActive ? "page" : void 0,
|
|
@@ -1880,8 +1899,8 @@ function PaginationPrevious({
|
|
|
1880
1899
|
className: cn("gap-1 px-2.5 sm:pl-2.5", className),
|
|
1881
1900
|
...props,
|
|
1882
1901
|
children: [
|
|
1883
|
-
/* @__PURE__ */
|
|
1884
|
-
/* @__PURE__ */
|
|
1902
|
+
/* @__PURE__ */ jsx30(ChevronLeftIcon3, {}),
|
|
1903
|
+
/* @__PURE__ */ jsx30("span", { className: "hidden sm:block", children: "Previous" })
|
|
1885
1904
|
]
|
|
1886
1905
|
}
|
|
1887
1906
|
);
|
|
@@ -1897,8 +1916,8 @@ function PaginationNext({
|
|
|
1897
1916
|
className: cn("gap-1 px-2.5 sm:pr-2.5", className),
|
|
1898
1917
|
...props,
|
|
1899
1918
|
children: [
|
|
1900
|
-
/* @__PURE__ */
|
|
1901
|
-
/* @__PURE__ */
|
|
1919
|
+
/* @__PURE__ */ jsx30("span", { className: "hidden sm:block", children: "Next" }),
|
|
1920
|
+
/* @__PURE__ */ jsx30(ChevronRightIcon5, {})
|
|
1902
1921
|
]
|
|
1903
1922
|
}
|
|
1904
1923
|
);
|
|
@@ -1912,8 +1931,8 @@ function PaginationEllipsis({ className, ...props }) {
|
|
|
1912
1931
|
className: cn("flex size-9 items-center justify-center", className),
|
|
1913
1932
|
...props,
|
|
1914
1933
|
children: [
|
|
1915
|
-
/* @__PURE__ */
|
|
1916
|
-
/* @__PURE__ */
|
|
1934
|
+
/* @__PURE__ */ jsx30(MoreHorizontalIcon2, { className: "size-4" }),
|
|
1935
|
+
/* @__PURE__ */ jsx30("span", { className: "sr-only", children: "More pages" })
|
|
1917
1936
|
]
|
|
1918
1937
|
}
|
|
1919
1938
|
);
|
|
@@ -1921,9 +1940,9 @@ function PaginationEllipsis({ className, ...props }) {
|
|
|
1921
1940
|
|
|
1922
1941
|
// src/ui/progress.tsx
|
|
1923
1942
|
import { Progress as ProgressPrimitive } from "@base-ui/react/progress";
|
|
1924
|
-
import { jsx as
|
|
1943
|
+
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
1925
1944
|
function Progress({ className, ...props }) {
|
|
1926
|
-
return /* @__PURE__ */
|
|
1945
|
+
return /* @__PURE__ */ jsx31(
|
|
1927
1946
|
ProgressPrimitive.Root,
|
|
1928
1947
|
{
|
|
1929
1948
|
"data-slot": "progress",
|
|
@@ -1933,7 +1952,7 @@ function Progress({ className, ...props }) {
|
|
|
1933
1952
|
);
|
|
1934
1953
|
}
|
|
1935
1954
|
function ProgressTrack({ className, ...props }) {
|
|
1936
|
-
return /* @__PURE__ */
|
|
1955
|
+
return /* @__PURE__ */ jsx31(
|
|
1937
1956
|
ProgressPrimitive.Track,
|
|
1938
1957
|
{
|
|
1939
1958
|
"data-slot": "progress-track",
|
|
@@ -1946,7 +1965,7 @@ function ProgressIndicator({
|
|
|
1946
1965
|
className,
|
|
1947
1966
|
...props
|
|
1948
1967
|
}) {
|
|
1949
|
-
return /* @__PURE__ */
|
|
1968
|
+
return /* @__PURE__ */ jsx31(
|
|
1950
1969
|
ProgressPrimitive.Indicator,
|
|
1951
1970
|
{
|
|
1952
1971
|
"data-slot": "progress-indicator",
|
|
@@ -1962,9 +1981,9 @@ function ProgressIndicator({
|
|
|
1962
1981
|
// src/ui/radio-group.tsx
|
|
1963
1982
|
import { Radio as RadioPrimitive } from "@base-ui/react/radio";
|
|
1964
1983
|
import { RadioGroup as RadioGroupPrimitive } from "@base-ui/react/radio-group";
|
|
1965
|
-
import { jsx as
|
|
1984
|
+
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
1966
1985
|
function RadioGroup({ className, ...props }) {
|
|
1967
|
-
return /* @__PURE__ */
|
|
1986
|
+
return /* @__PURE__ */ jsx32(
|
|
1968
1987
|
RadioGroupPrimitive,
|
|
1969
1988
|
{
|
|
1970
1989
|
"data-slot": "radio-group",
|
|
@@ -1974,7 +1993,7 @@ function RadioGroup({ className, ...props }) {
|
|
|
1974
1993
|
);
|
|
1975
1994
|
}
|
|
1976
1995
|
function RadioGroupItem({ className, ...props }) {
|
|
1977
|
-
return /* @__PURE__ */
|
|
1996
|
+
return /* @__PURE__ */ jsx32(
|
|
1978
1997
|
RadioPrimitive.Root,
|
|
1979
1998
|
{
|
|
1980
1999
|
"data-slot": "radio-group-item",
|
|
@@ -1983,12 +2002,12 @@ function RadioGroupItem({ className, ...props }) {
|
|
|
1983
2002
|
className
|
|
1984
2003
|
),
|
|
1985
2004
|
...props,
|
|
1986
|
-
children: /* @__PURE__ */
|
|
2005
|
+
children: /* @__PURE__ */ jsx32(
|
|
1987
2006
|
RadioPrimitive.Indicator,
|
|
1988
2007
|
{
|
|
1989
2008
|
"data-slot": "radio-group-indicator",
|
|
1990
2009
|
className: "flex items-center justify-center",
|
|
1991
|
-
children: /* @__PURE__ */
|
|
2010
|
+
children: /* @__PURE__ */ jsx32("span", { className: "size-2 rounded-full bg-primary" })
|
|
1992
2011
|
}
|
|
1993
2012
|
)
|
|
1994
2013
|
}
|
|
@@ -2002,12 +2021,12 @@ import {
|
|
|
2002
2021
|
Panel as PanelPrimitive,
|
|
2003
2022
|
Separator as PanelResizeHandlePrimitive
|
|
2004
2023
|
} from "react-resizable-panels";
|
|
2005
|
-
import { jsx as
|
|
2024
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
2006
2025
|
function PanelGroup({
|
|
2007
2026
|
className,
|
|
2008
2027
|
...props
|
|
2009
2028
|
}) {
|
|
2010
|
-
return /* @__PURE__ */
|
|
2029
|
+
return /* @__PURE__ */ jsx33(
|
|
2011
2030
|
PanelGroupPrimitive,
|
|
2012
2031
|
{
|
|
2013
2032
|
"data-slot": "resizable-panel-group",
|
|
@@ -2020,14 +2039,14 @@ function PanelGroup({
|
|
|
2020
2039
|
);
|
|
2021
2040
|
}
|
|
2022
2041
|
function Panel({ ...props }) {
|
|
2023
|
-
return /* @__PURE__ */
|
|
2042
|
+
return /* @__PURE__ */ jsx33(PanelPrimitive, { "data-slot": "resizable-panel", ...props });
|
|
2024
2043
|
}
|
|
2025
2044
|
function ResizableHandle({
|
|
2026
2045
|
withHandle,
|
|
2027
2046
|
className,
|
|
2028
2047
|
...props
|
|
2029
2048
|
}) {
|
|
2030
|
-
return /* @__PURE__ */
|
|
2049
|
+
return /* @__PURE__ */ jsx33(
|
|
2031
2050
|
PanelResizeHandlePrimitive,
|
|
2032
2051
|
{
|
|
2033
2052
|
"data-slot": "resizable-handle",
|
|
@@ -2036,14 +2055,14 @@ function ResizableHandle({
|
|
|
2036
2055
|
className
|
|
2037
2056
|
),
|
|
2038
2057
|
...props,
|
|
2039
|
-
children: withHandle ? /* @__PURE__ */
|
|
2058
|
+
children: withHandle ? /* @__PURE__ */ jsx33("div", { className: "z-10 flex h-4 w-3 items-center justify-center rounded-xs border border-border bg-border", children: /* @__PURE__ */ jsx33(GripVerticalIcon, { className: "size-2.5" }) }) : null
|
|
2040
2059
|
}
|
|
2041
2060
|
);
|
|
2042
2061
|
}
|
|
2043
2062
|
|
|
2044
2063
|
// src/ui/scroll-area.tsx
|
|
2045
2064
|
import { ScrollArea as ScrollAreaPrimitive } from "@base-ui/react/scroll-area";
|
|
2046
|
-
import { jsx as
|
|
2065
|
+
import { jsx as jsx34, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
2047
2066
|
function ScrollArea({
|
|
2048
2067
|
className,
|
|
2049
2068
|
children,
|
|
@@ -2056,7 +2075,7 @@ function ScrollArea({
|
|
|
2056
2075
|
className: cn("relative overflow-hidden", className),
|
|
2057
2076
|
...props,
|
|
2058
2077
|
children: [
|
|
2059
|
-
/* @__PURE__ */
|
|
2078
|
+
/* @__PURE__ */ jsx34(
|
|
2060
2079
|
ScrollAreaPrimitive.Viewport,
|
|
2061
2080
|
{
|
|
2062
2081
|
"data-slot": "scroll-area-viewport",
|
|
@@ -2064,8 +2083,8 @@ function ScrollArea({
|
|
|
2064
2083
|
children
|
|
2065
2084
|
}
|
|
2066
2085
|
),
|
|
2067
|
-
/* @__PURE__ */
|
|
2068
|
-
/* @__PURE__ */
|
|
2086
|
+
/* @__PURE__ */ jsx34(ScrollBar, {}),
|
|
2087
|
+
/* @__PURE__ */ jsx34(ScrollAreaPrimitive.Corner, {})
|
|
2069
2088
|
]
|
|
2070
2089
|
}
|
|
2071
2090
|
);
|
|
@@ -2075,7 +2094,7 @@ function ScrollBar({
|
|
|
2075
2094
|
orientation = "vertical",
|
|
2076
2095
|
...props
|
|
2077
2096
|
}) {
|
|
2078
|
-
return /* @__PURE__ */
|
|
2097
|
+
return /* @__PURE__ */ jsx34(
|
|
2079
2098
|
ScrollAreaPrimitive.Scrollbar,
|
|
2080
2099
|
{
|
|
2081
2100
|
"data-slot": "scroll-area-scrollbar",
|
|
@@ -2087,7 +2106,7 @@ function ScrollBar({
|
|
|
2087
2106
|
className
|
|
2088
2107
|
),
|
|
2089
2108
|
...props,
|
|
2090
|
-
children: /* @__PURE__ */
|
|
2109
|
+
children: /* @__PURE__ */ jsx34(
|
|
2091
2110
|
ScrollAreaPrimitive.Thumb,
|
|
2092
2111
|
{
|
|
2093
2112
|
"data-slot": "scroll-area-thumb",
|
|
@@ -2101,17 +2120,17 @@ function ScrollBar({
|
|
|
2101
2120
|
// src/ui/select.tsx
|
|
2102
2121
|
import { Select as SelectPrimitive } from "@base-ui/react/select";
|
|
2103
2122
|
import { CheckIcon as CheckIcon2, ChevronDownIcon as ChevronDownIcon3, ChevronUpIcon } from "lucide-react";
|
|
2104
|
-
import { jsx as
|
|
2123
|
+
import { jsx as jsx35, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
2105
2124
|
var Select = SelectPrimitive.Root;
|
|
2106
2125
|
function SelectGroup({
|
|
2107
2126
|
...props
|
|
2108
2127
|
}) {
|
|
2109
|
-
return /* @__PURE__ */
|
|
2128
|
+
return /* @__PURE__ */ jsx35(SelectPrimitive.Group, { "data-slot": "select-group", ...props });
|
|
2110
2129
|
}
|
|
2111
2130
|
function SelectValue({
|
|
2112
2131
|
...props
|
|
2113
2132
|
}) {
|
|
2114
|
-
return /* @__PURE__ */
|
|
2133
|
+
return /* @__PURE__ */ jsx35(SelectPrimitive.Value, { "data-slot": "select-value", ...props });
|
|
2115
2134
|
}
|
|
2116
2135
|
function SelectTrigger({
|
|
2117
2136
|
className,
|
|
@@ -2131,10 +2150,10 @@ function SelectTrigger({
|
|
|
2131
2150
|
...props,
|
|
2132
2151
|
children: [
|
|
2133
2152
|
children,
|
|
2134
|
-
/* @__PURE__ */
|
|
2153
|
+
/* @__PURE__ */ jsx35(
|
|
2135
2154
|
SelectPrimitive.Icon,
|
|
2136
2155
|
{
|
|
2137
|
-
render: /* @__PURE__ */
|
|
2156
|
+
render: /* @__PURE__ */ jsx35(ChevronDownIcon3, { className: "size-4 opacity-50" })
|
|
2138
2157
|
}
|
|
2139
2158
|
)
|
|
2140
2159
|
]
|
|
@@ -2150,7 +2169,7 @@ function SelectContent({
|
|
|
2150
2169
|
alignItemWithTrigger = false,
|
|
2151
2170
|
...props
|
|
2152
2171
|
}) {
|
|
2153
|
-
return /* @__PURE__ */
|
|
2172
|
+
return /* @__PURE__ */ jsx35(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx35(
|
|
2154
2173
|
SelectPrimitive.Positioner,
|
|
2155
2174
|
{
|
|
2156
2175
|
side,
|
|
@@ -2168,9 +2187,9 @@ function SelectContent({
|
|
|
2168
2187
|
),
|
|
2169
2188
|
...props,
|
|
2170
2189
|
children: [
|
|
2171
|
-
/* @__PURE__ */
|
|
2172
|
-
/* @__PURE__ */
|
|
2173
|
-
/* @__PURE__ */
|
|
2190
|
+
/* @__PURE__ */ jsx35(SelectScrollUpButton, {}),
|
|
2191
|
+
/* @__PURE__ */ jsx35(SelectPrimitive.List, { className: "p-1", children }),
|
|
2192
|
+
/* @__PURE__ */ jsx35(SelectScrollDownButton, {})
|
|
2174
2193
|
]
|
|
2175
2194
|
}
|
|
2176
2195
|
)
|
|
@@ -2181,7 +2200,7 @@ function SelectLabel({
|
|
|
2181
2200
|
className,
|
|
2182
2201
|
...props
|
|
2183
2202
|
}) {
|
|
2184
|
-
return /* @__PURE__ */
|
|
2203
|
+
return /* @__PURE__ */ jsx35(
|
|
2185
2204
|
SelectPrimitive.GroupLabel,
|
|
2186
2205
|
{
|
|
2187
2206
|
"data-slot": "select-label",
|
|
@@ -2205,8 +2224,8 @@ function SelectItem({
|
|
|
2205
2224
|
),
|
|
2206
2225
|
...props,
|
|
2207
2226
|
children: [
|
|
2208
|
-
/* @__PURE__ */
|
|
2209
|
-
/* @__PURE__ */
|
|
2227
|
+
/* @__PURE__ */ jsx35("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx35(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx35(CheckIcon2, { className: "size-4" }) }) }),
|
|
2228
|
+
/* @__PURE__ */ jsx35(SelectPrimitive.ItemText, { children })
|
|
2210
2229
|
]
|
|
2211
2230
|
}
|
|
2212
2231
|
);
|
|
@@ -2215,7 +2234,7 @@ function SelectSeparator({
|
|
|
2215
2234
|
className,
|
|
2216
2235
|
...props
|
|
2217
2236
|
}) {
|
|
2218
|
-
return /* @__PURE__ */
|
|
2237
|
+
return /* @__PURE__ */ jsx35(
|
|
2219
2238
|
SelectPrimitive.Separator,
|
|
2220
2239
|
{
|
|
2221
2240
|
"data-slot": "select-separator",
|
|
@@ -2228,7 +2247,7 @@ function SelectScrollUpButton({
|
|
|
2228
2247
|
className,
|
|
2229
2248
|
...props
|
|
2230
2249
|
}) {
|
|
2231
|
-
return /* @__PURE__ */
|
|
2250
|
+
return /* @__PURE__ */ jsx35(
|
|
2232
2251
|
SelectPrimitive.ScrollUpArrow,
|
|
2233
2252
|
{
|
|
2234
2253
|
"data-slot": "select-scroll-up-button",
|
|
@@ -2237,7 +2256,7 @@ function SelectScrollUpButton({
|
|
|
2237
2256
|
className
|
|
2238
2257
|
),
|
|
2239
2258
|
...props,
|
|
2240
|
-
children: /* @__PURE__ */
|
|
2259
|
+
children: /* @__PURE__ */ jsx35(ChevronUpIcon, { className: "size-4" })
|
|
2241
2260
|
}
|
|
2242
2261
|
);
|
|
2243
2262
|
}
|
|
@@ -2245,7 +2264,7 @@ function SelectScrollDownButton({
|
|
|
2245
2264
|
className,
|
|
2246
2265
|
...props
|
|
2247
2266
|
}) {
|
|
2248
|
-
return /* @__PURE__ */
|
|
2267
|
+
return /* @__PURE__ */ jsx35(
|
|
2249
2268
|
SelectPrimitive.ScrollDownArrow,
|
|
2250
2269
|
{
|
|
2251
2270
|
"data-slot": "select-scroll-down-button",
|
|
@@ -2254,21 +2273,21 @@ function SelectScrollDownButton({
|
|
|
2254
2273
|
className
|
|
2255
2274
|
),
|
|
2256
2275
|
...props,
|
|
2257
|
-
children: /* @__PURE__ */
|
|
2276
|
+
children: /* @__PURE__ */ jsx35(ChevronDownIcon3, { className: "size-4" })
|
|
2258
2277
|
}
|
|
2259
2278
|
);
|
|
2260
2279
|
}
|
|
2261
2280
|
|
|
2262
2281
|
// src/ui/separator.tsx
|
|
2263
2282
|
import { Separator as SeparatorPrimitive } from "@base-ui/react/separator";
|
|
2264
|
-
import { jsx as
|
|
2283
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
2265
2284
|
function Separator({
|
|
2266
2285
|
className,
|
|
2267
2286
|
orientation = "horizontal",
|
|
2268
2287
|
decorative: _decorative,
|
|
2269
2288
|
...props
|
|
2270
2289
|
}) {
|
|
2271
|
-
return /* @__PURE__ */
|
|
2290
|
+
return /* @__PURE__ */ jsx36(
|
|
2272
2291
|
SeparatorPrimitive,
|
|
2273
2292
|
{
|
|
2274
2293
|
"data-slot": "separator",
|
|
@@ -2286,32 +2305,32 @@ function Separator({
|
|
|
2286
2305
|
import { Dialog as DialogPrimitive } from "@base-ui/react/dialog";
|
|
2287
2306
|
import { XIcon } from "lucide-react";
|
|
2288
2307
|
import { cva as cva4 } from "class-variance-authority";
|
|
2289
|
-
import { jsx as
|
|
2308
|
+
import { jsx as jsx37, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
2290
2309
|
function Sheet({
|
|
2291
2310
|
...props
|
|
2292
2311
|
}) {
|
|
2293
|
-
return /* @__PURE__ */
|
|
2312
|
+
return /* @__PURE__ */ jsx37(DialogPrimitive.Root, { "data-slot": "sheet", ...props });
|
|
2294
2313
|
}
|
|
2295
2314
|
function SheetTrigger({
|
|
2296
2315
|
...props
|
|
2297
2316
|
}) {
|
|
2298
|
-
return /* @__PURE__ */
|
|
2317
|
+
return /* @__PURE__ */ jsx37(DialogPrimitive.Trigger, { "data-slot": "sheet-trigger", ...props });
|
|
2299
2318
|
}
|
|
2300
2319
|
function SheetClose({
|
|
2301
2320
|
...props
|
|
2302
2321
|
}) {
|
|
2303
|
-
return /* @__PURE__ */
|
|
2322
|
+
return /* @__PURE__ */ jsx37(DialogPrimitive.Close, { "data-slot": "sheet-close", ...props });
|
|
2304
2323
|
}
|
|
2305
2324
|
function SheetPortal({
|
|
2306
2325
|
...props
|
|
2307
2326
|
}) {
|
|
2308
|
-
return /* @__PURE__ */
|
|
2327
|
+
return /* @__PURE__ */ jsx37(DialogPrimitive.Portal, { "data-slot": "sheet-portal", ...props });
|
|
2309
2328
|
}
|
|
2310
2329
|
function SheetOverlay({
|
|
2311
2330
|
className,
|
|
2312
2331
|
...props
|
|
2313
2332
|
}) {
|
|
2314
|
-
return /* @__PURE__ */
|
|
2333
|
+
return /* @__PURE__ */ jsx37(
|
|
2315
2334
|
DialogPrimitive.Backdrop,
|
|
2316
2335
|
{
|
|
2317
2336
|
"data-slot": "sheet-overlay",
|
|
@@ -2346,7 +2365,7 @@ function SheetContent({
|
|
|
2346
2365
|
...props
|
|
2347
2366
|
}) {
|
|
2348
2367
|
return /* @__PURE__ */ jsxs13(SheetPortal, { "data-slot": "sheet-portal", children: [
|
|
2349
|
-
/* @__PURE__ */
|
|
2368
|
+
/* @__PURE__ */ jsx37(SheetOverlay, {}),
|
|
2350
2369
|
/* @__PURE__ */ jsxs13(
|
|
2351
2370
|
DialogPrimitive.Popup,
|
|
2352
2371
|
{
|
|
@@ -2359,7 +2378,7 @@ function SheetContent({
|
|
|
2359
2378
|
DialogPrimitive.Close,
|
|
2360
2379
|
{
|
|
2361
2380
|
"data-slot": "sheet-close",
|
|
2362
|
-
render: /* @__PURE__ */
|
|
2381
|
+
render: /* @__PURE__ */ jsx37(
|
|
2363
2382
|
"button",
|
|
2364
2383
|
{
|
|
2365
2384
|
type: "button",
|
|
@@ -2367,8 +2386,8 @@ function SheetContent({
|
|
|
2367
2386
|
}
|
|
2368
2387
|
),
|
|
2369
2388
|
children: [
|
|
2370
|
-
/* @__PURE__ */
|
|
2371
|
-
/* @__PURE__ */
|
|
2389
|
+
/* @__PURE__ */ jsx37(XIcon, {}),
|
|
2390
|
+
/* @__PURE__ */ jsx37("span", { className: "sr-only", children: "Close" })
|
|
2372
2391
|
]
|
|
2373
2392
|
}
|
|
2374
2393
|
)
|
|
@@ -2378,7 +2397,7 @@ function SheetContent({
|
|
|
2378
2397
|
] });
|
|
2379
2398
|
}
|
|
2380
2399
|
function SheetHeader({ className, ...props }) {
|
|
2381
|
-
return /* @__PURE__ */
|
|
2400
|
+
return /* @__PURE__ */ jsx37(
|
|
2382
2401
|
"div",
|
|
2383
2402
|
{
|
|
2384
2403
|
"data-slot": "sheet-header",
|
|
@@ -2388,7 +2407,7 @@ function SheetHeader({ className, ...props }) {
|
|
|
2388
2407
|
);
|
|
2389
2408
|
}
|
|
2390
2409
|
function SheetFooter({ className, ...props }) {
|
|
2391
|
-
return /* @__PURE__ */
|
|
2410
|
+
return /* @__PURE__ */ jsx37(
|
|
2392
2411
|
"div",
|
|
2393
2412
|
{
|
|
2394
2413
|
"data-slot": "sheet-footer",
|
|
@@ -2401,7 +2420,7 @@ function SheetTitle({
|
|
|
2401
2420
|
className,
|
|
2402
2421
|
...props
|
|
2403
2422
|
}) {
|
|
2404
|
-
return /* @__PURE__ */
|
|
2423
|
+
return /* @__PURE__ */ jsx37(
|
|
2405
2424
|
DialogPrimitive.Title,
|
|
2406
2425
|
{
|
|
2407
2426
|
"data-slot": "sheet-title",
|
|
@@ -2414,7 +2433,7 @@ function SheetDescription({
|
|
|
2414
2433
|
className,
|
|
2415
2434
|
...props
|
|
2416
2435
|
}) {
|
|
2417
|
-
return /* @__PURE__ */
|
|
2436
|
+
return /* @__PURE__ */ jsx37(
|
|
2418
2437
|
DialogPrimitive.Description,
|
|
2419
2438
|
{
|
|
2420
2439
|
"data-slot": "sheet-description",
|
|
@@ -2425,9 +2444,9 @@ function SheetDescription({
|
|
|
2425
2444
|
}
|
|
2426
2445
|
|
|
2427
2446
|
// src/ui/skeleton.tsx
|
|
2428
|
-
import { jsx as
|
|
2447
|
+
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
2429
2448
|
function Skeleton({ className, ...props }) {
|
|
2430
|
-
return /* @__PURE__ */
|
|
2449
|
+
return /* @__PURE__ */ jsx38(
|
|
2431
2450
|
"div",
|
|
2432
2451
|
{
|
|
2433
2452
|
"data-slot": "skeleton",
|
|
@@ -2439,9 +2458,9 @@ function Skeleton({ className, ...props }) {
|
|
|
2439
2458
|
|
|
2440
2459
|
// src/ui/slider.tsx
|
|
2441
2460
|
import { Slider as SliderPrimitive } from "@base-ui/react/slider";
|
|
2442
|
-
import { jsx as
|
|
2461
|
+
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
2443
2462
|
function Slider({ className, ...props }) {
|
|
2444
|
-
return /* @__PURE__ */
|
|
2463
|
+
return /* @__PURE__ */ jsx39(
|
|
2445
2464
|
SliderPrimitive.Root,
|
|
2446
2465
|
{
|
|
2447
2466
|
"data-slot": "slider",
|
|
@@ -2454,7 +2473,7 @@ function Slider({ className, ...props }) {
|
|
|
2454
2473
|
);
|
|
2455
2474
|
}
|
|
2456
2475
|
function SliderControl({ className, ...props }) {
|
|
2457
|
-
return /* @__PURE__ */
|
|
2476
|
+
return /* @__PURE__ */ jsx39(
|
|
2458
2477
|
SliderPrimitive.Control,
|
|
2459
2478
|
{
|
|
2460
2479
|
"data-slot": "slider-control",
|
|
@@ -2464,7 +2483,7 @@ function SliderControl({ className, ...props }) {
|
|
|
2464
2483
|
);
|
|
2465
2484
|
}
|
|
2466
2485
|
function SliderTrack({ className, ...props }) {
|
|
2467
|
-
return /* @__PURE__ */
|
|
2486
|
+
return /* @__PURE__ */ jsx39(
|
|
2468
2487
|
SliderPrimitive.Track,
|
|
2469
2488
|
{
|
|
2470
2489
|
"data-slot": "slider-track",
|
|
@@ -2477,7 +2496,7 @@ function SliderTrack({ className, ...props }) {
|
|
|
2477
2496
|
);
|
|
2478
2497
|
}
|
|
2479
2498
|
function SliderIndicator({ className, ...props }) {
|
|
2480
|
-
return /* @__PURE__ */
|
|
2499
|
+
return /* @__PURE__ */ jsx39(
|
|
2481
2500
|
SliderPrimitive.Indicator,
|
|
2482
2501
|
{
|
|
2483
2502
|
"data-slot": "slider-indicator",
|
|
@@ -2487,7 +2506,7 @@ function SliderIndicator({ className, ...props }) {
|
|
|
2487
2506
|
);
|
|
2488
2507
|
}
|
|
2489
2508
|
function SliderThumb({ className, ...props }) {
|
|
2490
|
-
return /* @__PURE__ */
|
|
2509
|
+
return /* @__PURE__ */ jsx39(
|
|
2491
2510
|
SliderPrimitive.Thumb,
|
|
2492
2511
|
{
|
|
2493
2512
|
"data-slot": "slider-thumb",
|
|
@@ -2503,7 +2522,7 @@ function SliderThumb({ className, ...props }) {
|
|
|
2503
2522
|
// src/ui/toast.tsx
|
|
2504
2523
|
import { Toast as ToastPrimitive } from "@base-ui/react/toast";
|
|
2505
2524
|
import { XIcon as XIcon2 } from "lucide-react";
|
|
2506
|
-
import { jsx as
|
|
2525
|
+
import { jsx as jsx40, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
2507
2526
|
var toastManager = ToastPrimitive.createToastManager();
|
|
2508
2527
|
function toast(message, options = {}) {
|
|
2509
2528
|
return toastManager.add({
|
|
@@ -2519,7 +2538,7 @@ var toastVariantClass = {
|
|
|
2519
2538
|
};
|
|
2520
2539
|
function ToasterViewport({ className }) {
|
|
2521
2540
|
const { toasts } = ToastPrimitive.useToastManager();
|
|
2522
|
-
return /* @__PURE__ */
|
|
2541
|
+
return /* @__PURE__ */ jsx40(ToastPrimitive.Portal, { children: /* @__PURE__ */ jsx40(
|
|
2523
2542
|
ToastPrimitive.Viewport,
|
|
2524
2543
|
{
|
|
2525
2544
|
"data-slot": "toast-viewport",
|
|
@@ -2527,7 +2546,7 @@ function ToasterViewport({ className }) {
|
|
|
2527
2546
|
"fixed top-4 right-4 z-[100] flex w-80 flex-col gap-2 outline-none",
|
|
2528
2547
|
className
|
|
2529
2548
|
),
|
|
2530
|
-
children: toasts.map((item) => /* @__PURE__ */
|
|
2549
|
+
children: toasts.map((item) => /* @__PURE__ */ jsx40(
|
|
2531
2550
|
ToastPrimitive.Root,
|
|
2532
2551
|
{
|
|
2533
2552
|
toast: item,
|
|
@@ -2539,14 +2558,14 @@ function ToasterViewport({ className }) {
|
|
|
2539
2558
|
),
|
|
2540
2559
|
children: /* @__PURE__ */ jsxs14(ToastPrimitive.Content, { className: "flex items-start justify-between gap-2", children: [
|
|
2541
2560
|
/* @__PURE__ */ jsxs14("div", { className: "grid gap-0.5", children: [
|
|
2542
|
-
/* @__PURE__ */
|
|
2561
|
+
/* @__PURE__ */ jsx40(
|
|
2543
2562
|
ToastPrimitive.Title,
|
|
2544
2563
|
{
|
|
2545
2564
|
"data-slot": "toast-title",
|
|
2546
2565
|
className: "font-medium"
|
|
2547
2566
|
}
|
|
2548
2567
|
),
|
|
2549
|
-
/* @__PURE__ */
|
|
2568
|
+
/* @__PURE__ */ jsx40(
|
|
2550
2569
|
ToastPrimitive.Description,
|
|
2551
2570
|
{
|
|
2552
2571
|
"data-slot": "toast-description",
|
|
@@ -2554,13 +2573,13 @@ function ToasterViewport({ className }) {
|
|
|
2554
2573
|
}
|
|
2555
2574
|
)
|
|
2556
2575
|
] }),
|
|
2557
|
-
/* @__PURE__ */
|
|
2576
|
+
/* @__PURE__ */ jsx40(
|
|
2558
2577
|
ToastPrimitive.Close,
|
|
2559
2578
|
{
|
|
2560
2579
|
"data-slot": "toast-close",
|
|
2561
2580
|
"aria-label": "Close",
|
|
2562
2581
|
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__ */
|
|
2582
|
+
children: /* @__PURE__ */ jsx40(XIcon2, {})
|
|
2564
2583
|
}
|
|
2565
2584
|
)
|
|
2566
2585
|
] })
|
|
@@ -2571,14 +2590,14 @@ function ToasterViewport({ className }) {
|
|
|
2571
2590
|
) });
|
|
2572
2591
|
}
|
|
2573
2592
|
function Toaster({ className }) {
|
|
2574
|
-
return /* @__PURE__ */
|
|
2593
|
+
return /* @__PURE__ */ jsx40(ToastPrimitive.Provider, { toastManager, children: /* @__PURE__ */ jsx40(ToasterViewport, { className }) });
|
|
2575
2594
|
}
|
|
2576
2595
|
|
|
2577
2596
|
// src/ui/spinner.tsx
|
|
2578
2597
|
import { Loader2Icon } from "lucide-react";
|
|
2579
|
-
import { jsx as
|
|
2598
|
+
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
2580
2599
|
function Spinner({ className, ...props }) {
|
|
2581
|
-
return /* @__PURE__ */
|
|
2600
|
+
return /* @__PURE__ */ jsx41(
|
|
2582
2601
|
Loader2Icon,
|
|
2583
2602
|
{
|
|
2584
2603
|
role: "status",
|
|
@@ -2592,9 +2611,9 @@ function Spinner({ className, ...props }) {
|
|
|
2592
2611
|
|
|
2593
2612
|
// src/ui/switch.tsx
|
|
2594
2613
|
import { Switch as SwitchPrimitive } from "@base-ui/react/switch";
|
|
2595
|
-
import { jsx as
|
|
2614
|
+
import { jsx as jsx42 } from "react/jsx-runtime";
|
|
2596
2615
|
function Switch({ className, ...props }) {
|
|
2597
|
-
return /* @__PURE__ */
|
|
2616
|
+
return /* @__PURE__ */ jsx42(
|
|
2598
2617
|
SwitchPrimitive.Root,
|
|
2599
2618
|
{
|
|
2600
2619
|
"data-slot": "switch",
|
|
@@ -2603,7 +2622,7 @@ function Switch({ className, ...props }) {
|
|
|
2603
2622
|
className
|
|
2604
2623
|
),
|
|
2605
2624
|
...props,
|
|
2606
|
-
children: /* @__PURE__ */
|
|
2625
|
+
children: /* @__PURE__ */ jsx42(
|
|
2607
2626
|
SwitchPrimitive.Thumb,
|
|
2608
2627
|
{
|
|
2609
2628
|
"data-slot": "switch-thumb",
|
|
@@ -2616,12 +2635,12 @@ function Switch({ className, ...props }) {
|
|
|
2616
2635
|
|
|
2617
2636
|
// src/ui/tabs.tsx
|
|
2618
2637
|
import { Tabs as TabsPrimitive } from "@base-ui/react/tabs";
|
|
2619
|
-
import { jsx as
|
|
2638
|
+
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
2620
2639
|
function Tabs({
|
|
2621
2640
|
className,
|
|
2622
2641
|
...props
|
|
2623
2642
|
}) {
|
|
2624
|
-
return /* @__PURE__ */
|
|
2643
|
+
return /* @__PURE__ */ jsx43(
|
|
2625
2644
|
TabsPrimitive.Root,
|
|
2626
2645
|
{
|
|
2627
2646
|
"data-slot": "tabs",
|
|
@@ -2634,7 +2653,7 @@ function TabsList({
|
|
|
2634
2653
|
className,
|
|
2635
2654
|
...props
|
|
2636
2655
|
}) {
|
|
2637
|
-
return /* @__PURE__ */
|
|
2656
|
+
return /* @__PURE__ */ jsx43(
|
|
2638
2657
|
TabsPrimitive.List,
|
|
2639
2658
|
{
|
|
2640
2659
|
"data-slot": "tabs-list",
|
|
@@ -2650,7 +2669,7 @@ function TabsTrigger({
|
|
|
2650
2669
|
className,
|
|
2651
2670
|
...props
|
|
2652
2671
|
}) {
|
|
2653
|
-
return /* @__PURE__ */
|
|
2672
|
+
return /* @__PURE__ */ jsx43(
|
|
2654
2673
|
TabsPrimitive.Tab,
|
|
2655
2674
|
{
|
|
2656
2675
|
"data-slot": "tabs-trigger",
|
|
@@ -2666,7 +2685,7 @@ function TabsContent({
|
|
|
2666
2685
|
className,
|
|
2667
2686
|
...props
|
|
2668
2687
|
}) {
|
|
2669
|
-
return /* @__PURE__ */
|
|
2688
|
+
return /* @__PURE__ */ jsx43(
|
|
2670
2689
|
TabsPrimitive.Panel,
|
|
2671
2690
|
{
|
|
2672
2691
|
"data-slot": "tabs-content",
|
|
@@ -2676,25 +2695,6 @@ function TabsContent({
|
|
|
2676
2695
|
);
|
|
2677
2696
|
}
|
|
2678
2697
|
|
|
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
2698
|
// src/ui/toggle.tsx
|
|
2699
2699
|
import { Toggle as TogglePrimitive } from "@base-ui/react/toggle";
|
|
2700
2700
|
import { cva as cva5 } from "class-variance-authority";
|
|
@@ -2794,69 +2794,9 @@ function ToggleGroupItem({
|
|
|
2794
2794
|
);
|
|
2795
2795
|
}
|
|
2796
2796
|
|
|
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
2797
|
// src/ui/typography.tsx
|
|
2858
2798
|
import { cva as cva6 } from "class-variance-authority";
|
|
2859
|
-
import { jsx as
|
|
2799
|
+
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
2860
2800
|
var typographyVariants = cva6("", {
|
|
2861
2801
|
variants: {
|
|
2862
2802
|
variant: {
|
|
@@ -2892,7 +2832,7 @@ var variantTagMap = {
|
|
|
2892
2832
|
};
|
|
2893
2833
|
function Typography({ className, variant = "p", ...props }) {
|
|
2894
2834
|
const Tag = variantTagMap[variant ?? "p"];
|
|
2895
|
-
return /* @__PURE__ */
|
|
2835
|
+
return /* @__PURE__ */ jsx46(
|
|
2896
2836
|
Tag,
|
|
2897
2837
|
{
|
|
2898
2838
|
"data-slot": "typography",
|
|
@@ -2955,6 +2895,7 @@ export {
|
|
|
2955
2895
|
CHART_TOKEN_COLORS,
|
|
2956
2896
|
chartColor,
|
|
2957
2897
|
ChartContainer,
|
|
2898
|
+
Textarea,
|
|
2958
2899
|
ContextMenu,
|
|
2959
2900
|
ContextMenuTrigger,
|
|
2960
2901
|
ContextMenuContent,
|
|
@@ -3071,15 +3012,10 @@ export {
|
|
|
3071
3012
|
TabsList,
|
|
3072
3013
|
TabsTrigger,
|
|
3073
3014
|
TabsContent,
|
|
3074
|
-
Textarea,
|
|
3075
3015
|
toggleVariants,
|
|
3076
3016
|
Toggle,
|
|
3077
3017
|
ToggleGroup,
|
|
3078
3018
|
ToggleGroupItem,
|
|
3079
|
-
TooltipProvider,
|
|
3080
|
-
Tooltip,
|
|
3081
|
-
TooltipTrigger,
|
|
3082
|
-
TooltipContent,
|
|
3083
3019
|
typographyVariants,
|
|
3084
3020
|
Typography
|
|
3085
3021
|
};
|