@j3m-quantum/ui 0.4.0 → 0.7.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/index.cjs CHANGED
@@ -111,73 +111,24 @@ function cn(...inputs) {
111
111
  return tailwindMerge.twMerge(clsx.clsx(inputs));
112
112
  }
113
113
  var buttonVariants = classVarianceAuthority.cva(
114
- // Base styles - shared across all variants
115
- "inline-flex items-center justify-center gap-2 whitespace-nowrap font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
114
+ "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
116
115
  {
117
116
  variants: {
118
117
  variant: {
119
- // Primary CTA - J3M Orange
120
- default: [
121
- "text-[var(--color-text-on-accent)]",
122
- "bg-[var(--j3m-primary-300)]",
123
- "hover:bg-[var(--j3m-primary-400)]",
124
- "active:bg-[var(--j3m-primary-500)]",
125
- "focus-visible:ring-[var(--j3m-primary-300)]",
126
- "rounded-[var(--j3m-radius-2xs)]",
127
- "shadow-sm"
128
- ].join(" "),
129
- // Secondary - Neutral surface
130
- secondary: [
131
- "text-[var(--color-text-main)]",
132
- "bg-[var(--j3m-neutral-200)]",
133
- "hover:bg-[var(--j3m-neutral-300)]",
134
- "active:bg-[var(--j3m-neutral-400)]",
135
- "focus-visible:ring-[var(--j3m-neutral-400)]",
136
- "rounded-[var(--j3m-radius-2xs)]"
137
- ].join(" "),
138
- // Outline - Border only
139
- outline: [
140
- "text-[var(--color-text-main)]",
141
- "bg-transparent",
142
- "border border-[var(--color-border-strong)]",
143
- "hover:bg-[var(--j3m-neutral-200)]",
144
- "active:bg-[var(--j3m-neutral-300)]",
145
- "focus-visible:ring-[var(--j3m-neutral-400)]",
146
- "rounded-[var(--j3m-radius-2xs)]"
147
- ].join(" "),
148
- // Ghost - Minimal
149
- ghost: [
150
- "text-[var(--color-text-muted)]",
151
- "bg-transparent",
152
- "hover:bg-[var(--j3m-neutral-200)]",
153
- "hover:text-[var(--color-text-main)]",
154
- "active:bg-[var(--j3m-neutral-300)]",
155
- "focus-visible:ring-[var(--j3m-neutral-400)]",
156
- "rounded-[var(--j3m-radius-2xs)]"
157
- ].join(" "),
158
- // Destructive - Error/danger actions
159
- destructive: [
160
- "text-[var(--color-text-on-accent)]",
161
- "bg-[var(--j3m-red-100)]",
162
- "hover:bg-[var(--j3m-red-200)]",
163
- "active:bg-[var(--j3m-red-200)]",
164
- "focus-visible:ring-[var(--j3m-red-100)]",
165
- "rounded-[var(--j3m-radius-2xs)]",
166
- "shadow-sm"
167
- ].join(" "),
168
- // Link - Text only
169
- link: [
170
- "text-[var(--j3m-primary-300)]",
171
- "underline-offset-4",
172
- "hover:underline",
173
- "hover:text-[var(--j3m-primary-400)]"
174
- ].join(" ")
118
+ default: "bg-primary text-primary-foreground shadow hover:bg-primary/90",
119
+ destructive: "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",
120
+ outline: "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",
121
+ secondary: "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",
122
+ ghost: "hover:bg-accent hover:text-accent-foreground",
123
+ link: "text-primary underline-offset-4 hover:underline"
175
124
  },
176
125
  size: {
177
- sm: "h-8 px-[var(--j3m-spacing-s)] text-xs",
178
- default: "h-10 px-[var(--j3m-spacing-m)] py-[var(--j3m-spacing-xs)] text-sm",
179
- lg: "h-12 px-[var(--j3m-spacing-xl)] text-base",
180
- icon: "h-10 w-10"
126
+ default: "h-9 px-4 py-2",
127
+ sm: "h-8 rounded-md px-3 text-xs",
128
+ lg: "h-10 rounded-md px-8",
129
+ icon: "h-9 w-9",
130
+ "icon-sm": "h-8 w-8",
131
+ "icon-lg": "h-10 w-10"
181
132
  }
182
133
  },
183
134
  defaultVariants: {
@@ -291,44 +242,8 @@ var Input = React10__namespace.forwardRef(
291
242
  "input",
292
243
  {
293
244
  type,
294
- "data-slot": "input",
295
245
  className: cn(
296
- // Base
297
- "flex h-10 w-full min-w-0 text-sm",
298
- "px-[var(--j3m-spacing-s)] py-[var(--j3m-spacing-xs)]",
299
- "rounded-[var(--j3m-radius-2xs)]",
300
- // Colors
301
- "bg-[var(--color-bg-surface)]",
302
- "text-[var(--color-text-main)]",
303
- "border border-[var(--color-border-subtle)]",
304
- // Placeholder
305
- "placeholder:text-[var(--color-text-soft)]",
306
- // Focus state
307
- "focus-visible:outline-none",
308
- "focus-visible:ring-2",
309
- "focus-visible:ring-[var(--j3m-primary-300)]",
310
- "focus-visible:ring-offset-1",
311
- "focus-visible:border-[var(--j3m-primary-300)]",
312
- // Hover state
313
- "hover:border-[var(--color-border-strong)]",
314
- // Disabled state
315
- "disabled:cursor-not-allowed",
316
- "disabled:opacity-50",
317
- "disabled:bg-[var(--color-bg-subtle)]",
318
- // Error state (via aria-invalid)
319
- "aria-invalid:border-[var(--j3m-red-100)]",
320
- "aria-invalid:focus-visible:ring-[var(--j3m-red-100)]",
321
- // File input
322
- "file:border-0",
323
- "file:bg-transparent",
324
- "file:text-sm",
325
- "file:font-medium",
326
- "file:text-[var(--color-text-main)]",
327
- // Selection
328
- "selection:bg-[var(--j3m-primary-100)]",
329
- "selection:text-[var(--color-text-main)]",
330
- // Transition
331
- "transition-colors duration-150",
246
+ "flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
332
247
  className
333
248
  ),
334
249
  ref,
@@ -1312,147 +1227,55 @@ function FieldError({
1312
1227
  }
1313
1228
  );
1314
1229
  }
1315
- var cardVariants = classVarianceAuthority.cva(
1316
- // Base styles
1317
- "flex flex-col rounded-[var(--j3m-radius-2xs)]",
1230
+ var Card = React10__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1231
+ "div",
1318
1232
  {
1319
- variants: {
1320
- variant: {
1321
- // Default solid card
1322
- default: [
1323
- "bg-[var(--color-bg-surface)]",
1324
- "border border-[var(--color-border-subtle)]",
1325
- "text-[var(--color-text-main)]",
1326
- "shadow-sm"
1327
- ].join(" "),
1328
- // Glass Light - for light backgrounds or over images
1329
- "glass-light": [
1330
- "bg-[var(--j3m-glass-light)]",
1331
- "backdrop-blur-[var(--j3m-blur-md)]",
1332
- "border border-[var(--j3m-glass-border-light)]",
1333
- "text-[var(--color-text-main)]",
1334
- "shadow-[var(--j3m-glass-shadow-md)]"
1335
- ].join(" "),
1336
- // Glass Dark - for light backgrounds, dark card
1337
- "glass-dark": [
1338
- "bg-[var(--j3m-glass-dark)]",
1339
- "backdrop-blur-[var(--j3m-blur-md)]",
1340
- "border border-[var(--j3m-glass-border-dark)]",
1341
- "text-white",
1342
- "shadow-[var(--j3m-glass-shadow-lg)]"
1343
- ].join(" "),
1344
- // Glass Neutral - subtle frosted effect
1345
- "glass-neutral": [
1346
- "bg-[var(--j3m-glass-neutral)]",
1347
- "backdrop-blur-[var(--j3m-blur-lg)]",
1348
- "border border-[var(--j3m-glass-border-subtle)]",
1349
- "text-[var(--color-text-main)]",
1350
- "shadow-[var(--j3m-glass-shadow-sm)]"
1351
- ].join(" "),
1352
- // Glass Primary - with orange tint
1353
- "glass-primary": [
1354
- "bg-[var(--j3m-glass-primary)]",
1355
- "backdrop-blur-[var(--j3m-blur-lg)]",
1356
- "border border-[var(--j3m-glass-border-light)]",
1357
- "text-[var(--color-text-main)]",
1358
- "shadow-[var(--j3m-glass-shadow-glow)]"
1359
- ].join(" ")
1360
- }
1361
- },
1362
- defaultVariants: {
1363
- variant: "default"
1364
- }
1233
+ ref,
1234
+ className: cn(
1235
+ "rounded-xl border bg-card text-card-foreground shadow",
1236
+ className
1237
+ ),
1238
+ ...props
1365
1239
  }
1366
- );
1367
- var Card = React10__namespace.forwardRef(
1368
- ({ className, variant, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1369
- "div",
1370
- {
1371
- ref,
1372
- "data-slot": "card",
1373
- className: cn(cardVariants({ variant, className })),
1374
- ...props
1375
- }
1376
- )
1377
- );
1240
+ ));
1378
1241
  Card.displayName = "Card";
1379
- var CardHeader = React10__namespace.forwardRef(
1380
- ({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1381
- "div",
1382
- {
1383
- ref,
1384
- "data-slot": "card-header",
1385
- className: cn(
1386
- "flex flex-col gap-[var(--j3m-spacing-2xs)]",
1387
- "px-[var(--j3m-spacing-l)] py-[var(--j3m-spacing-m)]",
1388
- className
1389
- ),
1390
- ...props
1391
- }
1392
- )
1393
- );
1242
+ var CardHeader = React10__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1243
+ "div",
1244
+ {
1245
+ ref,
1246
+ className: cn("flex flex-col space-y-1.5 p-6", className),
1247
+ ...props
1248
+ }
1249
+ ));
1394
1250
  CardHeader.displayName = "CardHeader";
1395
- var CardTitle = React10__namespace.forwardRef(
1396
- ({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1397
- "h3",
1398
- {
1399
- ref,
1400
- "data-slot": "card-title",
1401
- className: cn(
1402
- "text-lg font-semibold leading-none tracking-tight",
1403
- className
1404
- ),
1405
- ...props
1406
- }
1407
- )
1408
- );
1251
+ var CardTitle = React10__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1252
+ "div",
1253
+ {
1254
+ ref,
1255
+ className: cn("font-semibold leading-none tracking-tight", className),
1256
+ ...props
1257
+ }
1258
+ ));
1409
1259
  CardTitle.displayName = "CardTitle";
1410
- var CardDescription = React10__namespace.forwardRef(
1411
- ({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1412
- "p",
1413
- {
1414
- ref,
1415
- "data-slot": "card-description",
1416
- className: cn(
1417
- "text-sm opacity-80",
1418
- className
1419
- ),
1420
- ...props
1421
- }
1422
- )
1423
- );
1260
+ var CardDescription = React10__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1261
+ "div",
1262
+ {
1263
+ ref,
1264
+ className: cn("text-sm text-muted-foreground", className),
1265
+ ...props
1266
+ }
1267
+ ));
1424
1268
  CardDescription.displayName = "CardDescription";
1425
- var CardContent = React10__namespace.forwardRef(
1426
- ({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1427
- "div",
1428
- {
1429
- ref,
1430
- "data-slot": "card-content",
1431
- className: cn(
1432
- "px-[var(--j3m-spacing-l)] pb-[var(--j3m-spacing-m)]",
1433
- className
1434
- ),
1435
- ...props
1436
- }
1437
- )
1438
- );
1269
+ var CardContent = React10__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn("p-6 pt-0", className), ...props }));
1439
1270
  CardContent.displayName = "CardContent";
1440
- var CardFooter = React10__namespace.forwardRef(
1441
- ({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1442
- "div",
1443
- {
1444
- ref,
1445
- "data-slot": "card-footer",
1446
- className: cn(
1447
- "flex items-center",
1448
- "px-[var(--j3m-spacing-l)] py-[var(--j3m-spacing-m)]",
1449
- "border-t border-[inherit]",
1450
- className
1451
- ),
1452
- ...props
1453
- }
1454
- )
1455
- );
1271
+ var CardFooter = React10__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1272
+ "div",
1273
+ {
1274
+ ref,
1275
+ className: cn("flex items-center p-6 pt-0", className),
1276
+ ...props
1277
+ }
1278
+ ));
1456
1279
  CardFooter.displayName = "CardFooter";
1457
1280
  function Table({ className, ...props }) {
1458
1281
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -3158,153 +2981,126 @@ function PaginationEllipsis({
3158
2981
  }
3159
2982
  );
3160
2983
  }
3161
- var Dialog = DialogPrimitive__namespace.Root;
3162
- var DialogTrigger = DialogPrimitive__namespace.Trigger;
3163
- var DialogPortal = DialogPrimitive__namespace.Portal;
3164
- var DialogClose = DialogPrimitive__namespace.Close;
3165
- var DialogOverlay = React10__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3166
- DialogPrimitive__namespace.Overlay,
3167
- {
3168
- ref,
3169
- className: cn(
3170
- "fixed inset-0 z-50",
3171
- "bg-[var(--j3m-neutral-1000)]/50",
3172
- "backdrop-blur-sm",
3173
- // Animations
3174
- "data-[state=open]:animate-in",
3175
- "data-[state=closed]:animate-out",
3176
- "data-[state=closed]:fade-out-0",
3177
- "data-[state=open]:fade-in-0",
3178
- className
3179
- ),
3180
- ...props
3181
- }
3182
- ));
3183
- DialogOverlay.displayName = DialogPrimitive__namespace.Overlay.displayName;
3184
- var DialogContent = React10__namespace.forwardRef(({ className, children, showCloseButton = true, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(DialogPortal, { children: [
3185
- /* @__PURE__ */ jsxRuntime.jsx(DialogOverlay, {}),
3186
- /* @__PURE__ */ jsxRuntime.jsxs(
3187
- DialogPrimitive__namespace.Content,
2984
+ function Dialog({
2985
+ ...props
2986
+ }) {
2987
+ return /* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Root, { "data-slot": "dialog", ...props });
2988
+ }
2989
+ function DialogTrigger({
2990
+ ...props
2991
+ }) {
2992
+ return /* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Trigger, { "data-slot": "dialog-trigger", ...props });
2993
+ }
2994
+ function DialogPortal({
2995
+ ...props
2996
+ }) {
2997
+ return /* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Portal, { "data-slot": "dialog-portal", ...props });
2998
+ }
2999
+ function DialogClose({
3000
+ ...props
3001
+ }) {
3002
+ return /* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Close, { "data-slot": "dialog-close", ...props });
3003
+ }
3004
+ function DialogOverlay({
3005
+ className,
3006
+ ...props
3007
+ }) {
3008
+ return /* @__PURE__ */ jsxRuntime.jsx(
3009
+ DialogPrimitive__namespace.Overlay,
3188
3010
  {
3189
- ref,
3011
+ "data-slot": "dialog-overlay",
3190
3012
  className: cn(
3191
- // Positioning
3192
- "fixed left-[50%] top-[50%] z-50",
3193
- "translate-x-[-50%] translate-y-[-50%]",
3194
- "w-full max-w-lg",
3195
- "max-h-[90vh] overflow-y-auto",
3196
- // Card-like styling
3197
- "rounded-[var(--j3m-radius-2xs)]",
3198
- "border border-[var(--color-border-subtle)]",
3199
- "bg-[var(--color-bg-surface)]",
3200
- "shadow-lg",
3201
- // Padding
3202
- "p-[var(--j3m-spacing-l)]",
3203
- // Animations
3204
- "duration-200",
3205
- "data-[state=open]:animate-in",
3206
- "data-[state=closed]:animate-out",
3207
- "data-[state=closed]:fade-out-0",
3208
- "data-[state=open]:fade-in-0",
3209
- "data-[state=closed]:zoom-out-95",
3210
- "data-[state=open]:zoom-in-95",
3211
- "data-[state=closed]:slide-out-to-left-1/2",
3212
- "data-[state=closed]:slide-out-to-top-[48%]",
3213
- "data-[state=open]:slide-in-from-left-1/2",
3214
- "data-[state=open]:slide-in-from-top-[48%]",
3013
+ "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
3215
3014
  className
3216
3015
  ),
3217
- ...props,
3218
- children: [
3219
- children,
3220
- showCloseButton && /* @__PURE__ */ jsxRuntime.jsxs(
3221
- DialogPrimitive__namespace.Close,
3222
- {
3223
- className: cn(
3224
- "absolute right-[var(--j3m-spacing-m)] top-[var(--j3m-spacing-m)]",
3225
- "rounded-[var(--j3m-radius-2xs)]",
3226
- "p-1",
3227
- "text-[var(--color-text-muted)]",
3228
- "opacity-70",
3229
- "ring-offset-background",
3230
- "transition-opacity",
3231
- "hover:opacity-100",
3232
- "hover:bg-[var(--j3m-neutral-200)]",
3233
- "focus:outline-none",
3234
- "focus:ring-2",
3235
- "focus:ring-[var(--j3m-primary-300)]",
3236
- "focus:ring-offset-2",
3237
- "disabled:pointer-events-none"
3238
- ),
3239
- children: [
3240
- /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "h-4 w-4" }),
3241
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
3242
- ]
3243
- }
3244
- )
3245
- ]
3016
+ ...props
3246
3017
  }
3247
- )
3248
- ] }));
3249
- DialogContent.displayName = DialogPrimitive__namespace.Content.displayName;
3250
- var DialogHeader = ({
3018
+ );
3019
+ }
3020
+ function DialogContent({
3251
3021
  className,
3022
+ children,
3023
+ showCloseButton = true,
3252
3024
  ...props
3253
- }) => /* @__PURE__ */ jsxRuntime.jsx(
3254
- "div",
3255
- {
3256
- className: cn(
3257
- "flex flex-col gap-[var(--j3m-spacing-2xs)]",
3258
- "mb-[var(--j3m-spacing-m)]",
3259
- "text-center sm:text-left",
3260
- className
3261
- ),
3262
- ...props
3263
- }
3264
- );
3265
- DialogHeader.displayName = "DialogHeader";
3266
- var DialogFooter = ({
3025
+ }) {
3026
+ return /* @__PURE__ */ jsxRuntime.jsxs(DialogPortal, { "data-slot": "dialog-portal", children: [
3027
+ /* @__PURE__ */ jsxRuntime.jsx(DialogOverlay, {}),
3028
+ /* @__PURE__ */ jsxRuntime.jsxs(
3029
+ DialogPrimitive__namespace.Content,
3030
+ {
3031
+ "data-slot": "dialog-content",
3032
+ className: cn(
3033
+ "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
3034
+ className
3035
+ ),
3036
+ ...props,
3037
+ children: [
3038
+ children,
3039
+ showCloseButton && /* @__PURE__ */ jsxRuntime.jsxs(
3040
+ DialogPrimitive__namespace.Close,
3041
+ {
3042
+ "data-slot": "dialog-close",
3043
+ className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
3044
+ children: [
3045
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.XIcon, {}),
3046
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
3047
+ ]
3048
+ }
3049
+ )
3050
+ ]
3051
+ }
3052
+ )
3053
+ ] });
3054
+ }
3055
+ function DialogHeader({ className, ...props }) {
3056
+ return /* @__PURE__ */ jsxRuntime.jsx(
3057
+ "div",
3058
+ {
3059
+ "data-slot": "dialog-header",
3060
+ className: cn("flex flex-col gap-2 text-center sm:text-left", className),
3061
+ ...props
3062
+ }
3063
+ );
3064
+ }
3065
+ function DialogFooter({ className, ...props }) {
3066
+ return /* @__PURE__ */ jsxRuntime.jsx(
3067
+ "div",
3068
+ {
3069
+ "data-slot": "dialog-footer",
3070
+ className: cn(
3071
+ "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
3072
+ className
3073
+ ),
3074
+ ...props
3075
+ }
3076
+ );
3077
+ }
3078
+ function DialogTitle({
3267
3079
  className,
3268
3080
  ...props
3269
- }) => /* @__PURE__ */ jsxRuntime.jsx(
3270
- "div",
3271
- {
3272
- className: cn(
3273
- "flex flex-col-reverse sm:flex-row sm:justify-end",
3274
- "gap-[var(--j3m-spacing-s)]",
3275
- "mt-[var(--j3m-spacing-l)]",
3276
- className
3277
- ),
3278
- ...props
3279
- }
3280
- );
3281
- DialogFooter.displayName = "DialogFooter";
3282
- var DialogTitle = React10__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3283
- DialogPrimitive__namespace.Title,
3284
- {
3285
- ref,
3286
- className: cn(
3287
- "text-lg font-semibold leading-none tracking-tight",
3288
- "text-[var(--color-text-main)]",
3289
- className
3290
- ),
3291
- ...props
3292
- }
3293
- ));
3294
- DialogTitle.displayName = DialogPrimitive__namespace.Title.displayName;
3295
- var DialogDescription = React10__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3296
- DialogPrimitive__namespace.Description,
3297
- {
3298
- ref,
3299
- className: cn(
3300
- "text-sm",
3301
- "text-[var(--color-text-muted)]",
3302
- className
3303
- ),
3304
- ...props
3305
- }
3306
- ));
3307
- DialogDescription.displayName = DialogPrimitive__namespace.Description.displayName;
3081
+ }) {
3082
+ return /* @__PURE__ */ jsxRuntime.jsx(
3083
+ DialogPrimitive__namespace.Title,
3084
+ {
3085
+ "data-slot": "dialog-title",
3086
+ className: cn("text-lg leading-none font-semibold", className),
3087
+ ...props
3088
+ }
3089
+ );
3090
+ }
3091
+ function DialogDescription({
3092
+ className,
3093
+ ...props
3094
+ }) {
3095
+ return /* @__PURE__ */ jsxRuntime.jsx(
3096
+ DialogPrimitive__namespace.Description,
3097
+ {
3098
+ "data-slot": "dialog-description",
3099
+ className: cn("text-muted-foreground text-sm", className),
3100
+ ...props
3101
+ }
3102
+ );
3103
+ }
3308
3104
  function Command({
3309
3105
  className,
3310
3106
  ...props
@@ -5691,7 +5487,6 @@ exports.TooltipTrigger = TooltipTrigger;
5691
5487
  exports.badgeVariants = badgeVariants;
5692
5488
  exports.buttonGroupVariants = buttonGroupVariants;
5693
5489
  exports.buttonVariants = buttonVariants;
5694
- exports.cardVariants = cardVariants;
5695
5490
  exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle;
5696
5491
  exports.sectionVariants = sectionVariants;
5697
5492
  exports.toggleVariants = toggleVariants;