@splenddev/kreativ-ui 0.3.14 → 0.3.15

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.
@@ -6,64 +6,124 @@ var kreativCore = require('@splenddev/kreativ-core');
6
6
  var defaultTokens = {
7
7
  colors: {
8
8
  blue: {
9
+ 50: kreativCore.defineToken("#EFF7FE"),
10
+ 100: kreativCore.defineToken("#D9ECFD"),
11
+ 200: kreativCore.defineToken("#B6D9FA"),
9
12
  300: kreativCore.defineToken("#5EA6ED"),
10
13
  400: kreativCore.defineToken("#4799EB"),
11
14
  500: kreativCore.defineToken("#1A80E6"),
12
- 600: kreativCore.defineToken("#1773CF")
15
+ 600: kreativCore.defineToken("#1773CF"),
16
+ 700: kreativCore.defineToken("#125A9E"),
17
+ 800: kreativCore.defineToken("#0F4A82"),
18
+ 900: kreativCore.defineToken("#0C3A66")
13
19
  },
14
20
  red: {
21
+ 50: kreativCore.defineToken("#FEF2F2"),
22
+ 100: kreativCore.defineToken("#FCE0E0"),
23
+ 200: kreativCore.defineToken("#F9C2C2"),
15
24
  300: kreativCore.defineToken("#EB4747"),
16
25
  400: kreativCore.defineToken("#E83030"),
17
26
  500: kreativCore.defineToken("#E61A1A"),
18
- 600: kreativCore.defineToken("#CF1717")
27
+ 600: kreativCore.defineToken("#CF1717"),
28
+ 700: kreativCore.defineToken("#A91212"),
29
+ 800: kreativCore.defineToken("#870E0E"),
30
+ 900: kreativCore.defineToken("#6A0B0B")
19
31
  },
20
32
  green: {
33
+ 50: kreativCore.defineToken("#EDFDF5"),
34
+ 100: kreativCore.defineToken("#D1F9E7"),
35
+ 200: kreativCore.defineToken("#A0F0CB"),
21
36
  300: kreativCore.defineToken("#26D997"),
22
37
  400: kreativCore.defineToken("#22C388"),
23
38
  500: kreativCore.defineToken("#16A249"),
24
- 600: kreativCore.defineToken("#12875C")
39
+ 600: kreativCore.defineToken("#12875C"),
40
+ 700: kreativCore.defineToken("#0E6E4A"),
41
+ 800: kreativCore.defineToken("#0B563A"),
42
+ 900: kreativCore.defineToken("#09422D")
25
43
  },
26
44
  amber: {
45
+ 50: kreativCore.defineToken("#FFF8EB"),
46
+ 100: kreativCore.defineToken("#FEEBC7"),
47
+ 200: kreativCore.defineToken("#FDD994"),
27
48
  300: kreativCore.defineToken("#F7B23B"),
28
49
  400: kreativCore.defineToken("#F6A823"),
29
50
  500: kreativCore.defineToken("#F59F0A"),
30
- 600: kreativCore.defineToken("#D38909")
51
+ 600: kreativCore.defineToken("#D38909"),
52
+ 700: kreativCore.defineToken("#A86807"),
53
+ 800: kreativCore.defineToken("#855305"),
54
+ 900: kreativCore.defineToken("#6A4204")
31
55
  },
32
56
  cyan: {
57
+ 50: kreativCore.defineToken("#F0F9FD"),
58
+ 100: kreativCore.defineToken("#D9F0FB"),
59
+ 200: kreativCore.defineToken("#B0E1F6"),
33
60
  300: kreativCore.defineToken("#6CC3EF"),
34
61
  400: kreativCore.defineToken("#47B4EB"),
35
62
  500: kreativCore.defineToken("#1791CF"),
36
- 600: kreativCore.defineToken("#137BAE")
63
+ 600: kreativCore.defineToken("#137BAE"),
64
+ 700: kreativCore.defineToken("#0F618A"),
65
+ 800: kreativCore.defineToken("#0C4E6E"),
66
+ 900: kreativCore.defineToken("#093D57")
37
67
  },
38
68
  indigo: {
69
+ 50: kreativCore.defineToken("#EEF2FF"),
70
+ 100: kreativCore.defineToken("#E0E7FF"),
71
+ 200: kreativCore.defineToken("#C7D2FE"),
39
72
  300: kreativCore.defineToken("#818CF8"),
40
73
  400: kreativCore.defineToken("#6366F1"),
41
74
  500: kreativCore.defineToken("#4F46E5"),
42
- 600: kreativCore.defineToken("#4338CA")
75
+ 600: kreativCore.defineToken("#4338CA"),
76
+ 700: kreativCore.defineToken("#3730A3"),
77
+ 800: kreativCore.defineToken("#312E81"),
78
+ 900: kreativCore.defineToken("#1E1B4B")
43
79
  },
44
80
  emerald: {
81
+ 50: kreativCore.defineToken("#ECFDF5"),
82
+ 100: kreativCore.defineToken("#D1FAE5"),
83
+ 200: kreativCore.defineToken("#A7F3D0"),
45
84
  300: kreativCore.defineToken("#6EE7B7"),
46
85
  400: kreativCore.defineToken("#34D399"),
47
86
  500: kreativCore.defineToken("#10B981"),
48
- 600: kreativCore.defineToken("#059669")
87
+ 600: kreativCore.defineToken("#059669"),
88
+ 700: kreativCore.defineToken("#047857"),
89
+ 800: kreativCore.defineToken("#065F46"),
90
+ 900: kreativCore.defineToken("#064E3B")
49
91
  },
50
92
  violet: {
93
+ 50: kreativCore.defineToken("#F5F3FF"),
94
+ 100: kreativCore.defineToken("#EDE9FE"),
95
+ 200: kreativCore.defineToken("#DDD6FE"),
51
96
  300: kreativCore.defineToken("#A78BFA"),
52
97
  400: kreativCore.defineToken("#8B5CF6"),
53
98
  500: kreativCore.defineToken("#7C3AED"),
54
- 600: kreativCore.defineToken("#6D28D9")
99
+ 600: kreativCore.defineToken("#6D28D9"),
100
+ 700: kreativCore.defineToken("#5B21B6"),
101
+ 800: kreativCore.defineToken("#4C1D95"),
102
+ 900: kreativCore.defineToken("#2E1065")
55
103
  },
56
104
  rose: {
105
+ 50: kreativCore.defineToken("#FFF1F2"),
106
+ 100: kreativCore.defineToken("#FFE4E6"),
107
+ 200: kreativCore.defineToken("#FECDD3"),
57
108
  300: kreativCore.defineToken("#FDA4AF"),
58
109
  400: kreativCore.defineToken("#FB7185"),
59
110
  500: kreativCore.defineToken("#F43F5E"),
60
- 600: kreativCore.defineToken("#E11D48")
111
+ 600: kreativCore.defineToken("#E11D48"),
112
+ 700: kreativCore.defineToken("#BE123C"),
113
+ 800: kreativCore.defineToken("#9F1239"),
114
+ 900: kreativCore.defineToken("#881337")
61
115
  },
62
116
  orange: {
117
+ 50: kreativCore.defineToken("#FFF7ED"),
118
+ 100: kreativCore.defineToken("#FFEDD5"),
119
+ 200: kreativCore.defineToken("#FED7AA"),
63
120
  300: kreativCore.defineToken("#FDBA74"),
64
121
  400: kreativCore.defineToken("#FB923C"),
65
122
  500: kreativCore.defineToken("#F97316"),
66
- 600: kreativCore.defineToken("#EA580C")
123
+ 600: kreativCore.defineToken("#EA580C"),
124
+ 700: kreativCore.defineToken("#C2410C"),
125
+ 800: kreativCore.defineToken("#9A3412"),
126
+ 900: kreativCore.defineToken("#7C2D12")
67
127
  },
68
128
  gray: {
69
129
  50: kreativCore.defineToken("#FAFAFA"),
@@ -177,11 +237,16 @@ var defaultSemanticTokens = {
177
237
  brandFg: kreativCore.defineSemanticToken("{colors.white}"),
178
238
  background: kreativCore.defineSemanticToken("{colors.gray.50}", "{colors.gray.950}"),
179
239
  surface: kreativCore.defineSemanticToken("{colors.white}", "{colors.gray.900}"),
180
- surfaceRaised: kreativCore.defineSemanticToken("{colors.gray.50}", "{colors.gray.800}"),
181
- surfaceSunken: kreativCore.defineSemanticToken(
240
+ surfaceRaised: kreativCore.defineSemanticToken(
182
241
  "{colors.gray.100}",
242
+ "{colors.gray.800}"
243
+ ),
244
+ surfaceSunken: kreativCore.defineSemanticToken(
245
+ "{colors.gray.200}",
183
246
  "{colors.gray.950}"
184
247
  ),
248
+ light: kreativCore.defineSemanticToken("{colors.white}"),
249
+ dark: kreativCore.defineSemanticToken("{colors.black}"),
185
250
  border: kreativCore.defineSemanticToken("{colors.gray.200}", "{colors.gray.600}"),
186
251
  text: kreativCore.defineSemanticToken("{colors.gray.900}", "{colors.gray.50}"),
187
252
  textMuted: kreativCore.defineSemanticToken("{colors.gray.500}", "{colors.gray.400}"),
@@ -372,10 +437,10 @@ var buttonColors = {
372
437
  link: "text-kui-info"
373
438
  },
374
439
  white: {
375
- solid: "bg-white text-black hover:bg-gray-50",
376
- outline: "border-white/30 text-white hover:bg-white/10",
377
- ghost: "text-white hover:bg-white/10",
378
- soft: "bg-white/10 text-white hover:bg-white/20",
440
+ solid: "bg-kui-white text-black hover:bg-gray-50",
441
+ outline: "border-white/30 text-white hover:bg-kui-white/10",
442
+ ghost: "text-white hover:bg-kui-white/10",
443
+ soft: "bg-kui-white/10 text-white hover:bg-kui-white/20",
379
444
  link: "text-white"
380
445
  },
381
446
  black: {
@@ -585,6 +650,14 @@ var inputRecipe = kreativCore.defineRecipe({
585
650
  outline: "",
586
651
  filled: "",
587
652
  ghost: ""
653
+ },
654
+ hasRightAdornment: {
655
+ true: "pr-2",
656
+ false: ""
657
+ },
658
+ hasLeftAdornment: {
659
+ true: "pl-2",
660
+ false: ""
588
661
  }
589
662
  },
590
663
  defaultVariants: {
@@ -1093,6 +1166,313 @@ var gridRecipe = kreativCore.defineRecipe({
1093
1166
  inline: "false"
1094
1167
  }
1095
1168
  });
1169
+ var toastViewportRecipe = kreativCore.defineRecipe({
1170
+ base: [
1171
+ "pointer-events-none fixed z-[9999]",
1172
+ "flex w-[calc(100%-2rem)] max-w-[24rem]",
1173
+ "gap-2"
1174
+ ].join(" "),
1175
+ variants: {
1176
+ placement: {
1177
+ "top-start": "top-0 start-0 flex-col-reverse",
1178
+ "top-center": "top-0 left-1/2 -translate-x-1/2 flex-col-reverse",
1179
+ "top-end": "top-0 end-0 flex-col-reverse",
1180
+ "bottom-start": "bottom-0 start-0 flex-col",
1181
+ "bottom-center": "bottom-0 left-1/2 -translate-x-1/2 flex-col",
1182
+ "bottom-end": "bottom-0 end-0 flex-col"
1183
+ }
1184
+ },
1185
+ defaultVariants: {
1186
+ placement: "bottom-end"
1187
+ }
1188
+ });
1189
+ var toastRecipe = kreativCore.defineRecipe({
1190
+ base: [
1191
+ "pointer-events-auto relative isolate",
1192
+ "flex w-full items-start gap-3",
1193
+ "overflow-hidden",
1194
+ "rounded-xl border",
1195
+ "bg-kui-surface",
1196
+ "p-4",
1197
+ "text-kui-text",
1198
+ "shadow-[0_12px_32px_-12px_rgb(0_0_0_/_0.22),0_2px_8px_rgb(0_0_0_/_0.06)]",
1199
+ "ring-1 ring-inset ring-black/[0.03]",
1200
+ "transition-[max-height,translate,box-shadow,opacity,border-color]",
1201
+ "duration-200",
1202
+ "ease-out",
1203
+ "will-change-[translate]",
1204
+ "hover:shadow-[0_16px_36px_-12px_rgb(0_0_0_/_0.24),0_3px_10px_rgb(0_0_0_/_0.08)]",
1205
+ "animate-[kui-toast-enter_180ms_cubic-bezier(0.16,1,0.3,1)_both]",
1206
+ "data-[state=closed]:animate-[kui-toast-exit_160ms_ease-in_forwards]",
1207
+ "motion-reduce:animate-none",
1208
+ "motion-reduce:transition-none"
1209
+ ].join(" "),
1210
+ variants: {
1211
+ status: {
1212
+ neutral: "border-kui-border",
1213
+ success: "border-kui-success/30",
1214
+ error: "border-kui-destructive/30",
1215
+ warning: "border-kui-warning/30",
1216
+ info: "border-kui-info/30",
1217
+ brand: "border-kui-brand/30"
1218
+ }
1219
+ },
1220
+ defaultVariants: {
1221
+ status: "neutral"
1222
+ }
1223
+ });
1224
+ var toastIconRecipe = kreativCore.defineRecipe({
1225
+ base: [
1226
+ "mt-0.5 flex size-9 shrink-0",
1227
+ "items-center justify-center",
1228
+ "rounded-lg"
1229
+ ].join(" "),
1230
+ variants: {
1231
+ status: {
1232
+ neutral: "bg-kui-surface-raised text-kui-text",
1233
+ success: "bg-kui-success/10 text-kui-success",
1234
+ error: "bg-kui-destructive/10 text-kui-destructive",
1235
+ warning: "bg-kui-warning/10 text-kui-warning",
1236
+ info: "bg-kui-info/10 text-kui-info",
1237
+ brand: "bg-kui-brand/10 text-kui-brand"
1238
+ }
1239
+ },
1240
+ defaultVariants: {
1241
+ status: "neutral"
1242
+ }
1243
+ });
1244
+ var toastContentRecipe = kreativCore.defineRecipe({
1245
+ base: ["flex min-w-0 flex-1 flex-col", "gap-1", "py-0.5"].join(" ")
1246
+ });
1247
+ var toastTitleRecipe = kreativCore.defineRecipe({
1248
+ base: [
1249
+ "text-sm font-semibold",
1250
+ "leading-5 tracking-[-0.01em]",
1251
+ "text-kui-text"
1252
+ ].join(" ")
1253
+ });
1254
+ var toastDescriptionRecipe = kreativCore.defineRecipe({
1255
+ base: ["text-[13px] leading-5", "text-kui-text/70", "break-words"].join(" ")
1256
+ });
1257
+ var toastActionRecipe = kreativCore.defineRecipe({
1258
+ base: [
1259
+ "shrink-0 self-center",
1260
+ "rounded-md",
1261
+ "px-2.5 py-1.5",
1262
+ "text-xs font-semibold",
1263
+ "text-kui-brand",
1264
+ "transition-colors duration-150",
1265
+ "hover:bg-kui-surface-raised",
1266
+ "active:opacity-70",
1267
+ "focus-visible:outline-none",
1268
+ "focus-visible:ring-2",
1269
+ "focus-visible:ring-kui-brand",
1270
+ "focus-visible:ring-offset-2",
1271
+ "focus-visible:ring-offset-kui-surface",
1272
+ "disabled:pointer-events-none disabled:opacity-50"
1273
+ ].join(" ")
1274
+ });
1275
+ var toastCloseRecipe = kreativCore.defineRecipe({
1276
+ base: [
1277
+ "-me-1 -mt-1",
1278
+ "flex size-8 shrink-0",
1279
+ "items-center justify-center",
1280
+ "rounded-md",
1281
+ "text-kui-text/50",
1282
+ "transition-colors duration-150",
1283
+ "hover:bg-kui-surface-raised",
1284
+ "hover:text-kui-text",
1285
+ "active:opacity-70",
1286
+ "focus-visible:outline-none",
1287
+ "focus-visible:ring-2",
1288
+ "focus-visible:ring-kui-brand",
1289
+ "focus-visible:ring-offset-2",
1290
+ "focus-visible:ring-offset-kui-surface"
1291
+ ].join(" ")
1292
+ });
1293
+ var toastRecipes = {
1294
+ Toast: toastRecipe,
1295
+ ToastViewport: toastViewportRecipe,
1296
+ ToastIcon: toastIconRecipe,
1297
+ ToastContent: toastContentRecipe,
1298
+ ToastTitle: toastTitleRecipe,
1299
+ ToastDescription: toastDescriptionRecipe,
1300
+ ToastAction: toastActionRecipe,
1301
+ ToastClose: toastCloseRecipe
1302
+ };
1303
+ var tooltipContentRecipe = kreativCore.defineRecipe({
1304
+ base: "z-50 max-w-xs rounded-md px-2.5 py-1.5 text-xs shadow-md bg-[var(--kui-tooltip-bg,#111)] text-[var(--kui-tooltip-fg,#fff)]"
1305
+ });
1306
+ var tooltipArrowRecipe = kreativCore.defineRecipe({
1307
+ base: "absolute size-2 rotate-45 bg-inherit left-[var(--kui-tooltip-arrow-x,auto)] top-[var(--kui-tooltip-arrow-y,auto)]",
1308
+ variants: {
1309
+ side: {
1310
+ top: "bottom-[-4px]",
1311
+ bottom: "top-[-4px]",
1312
+ left: "right-[-4px]",
1313
+ right: "left-[-4px]"
1314
+ }
1315
+ },
1316
+ defaultVariants: { side: "top" }
1317
+ });
1318
+ var tooltipRecipes = {
1319
+ TooltipContent: tooltipContentRecipe,
1320
+ TooltipArrow: tooltipArrowRecipe
1321
+ };
1322
+ var confirmOverlayRecipe = kreativCore.defineRecipe({
1323
+ base: "absolute inset-0 bg-kui-black/40 backdrop-blur-[2px]"
1324
+ });
1325
+ var confirmLayerRecipe = kreativCore.defineRecipe({
1326
+ base: [
1327
+ "fixed inset-0 z-50",
1328
+ "flex items-center justify-center",
1329
+ "overflow-y-auto p-4 sm:p-6"
1330
+ ].join(" ")
1331
+ });
1332
+ var confirmContentRecipe = kreativCore.defineRecipe({
1333
+ base: [
1334
+ "relative z-10 w-full max-w-[400px]",
1335
+ "max-h-[calc(100dvh-2rem)] overflow-y-auto",
1336
+ "rounded-xl border border-kui-border",
1337
+ "bg-kui-surface p-6 text-kui-text",
1338
+ "shadow-2xl outline-none"
1339
+ ].join(" ")
1340
+ });
1341
+ var confirmHeaderRecipe = kreativCore.defineRecipe({
1342
+ base: "flex flex-col items-center"
1343
+ });
1344
+ var confirmIconRecipe = kreativCore.defineRecipe({
1345
+ base: [
1346
+ "mb-5 flex size-12 shrink-0 items-center justify-center",
1347
+ "rounded-xl border"
1348
+ ].join(" "),
1349
+ variants: {
1350
+ status: {
1351
+ neutral: "border-kui-border bg-kui-surface-raised text-kui-text",
1352
+ info: "border-kui-info/20 bg-kui-info/10 text-kui-info",
1353
+ success: "border-kui-success/20 bg-kui-success/10 text-kui-success",
1354
+ warning: "border-kui-warning/20 bg-kui-warning/10 text-kui-warning",
1355
+ error: "border-kui-destructive/20 bg-kui-destructive/10 text-kui-destructive"
1356
+ }
1357
+ },
1358
+ defaultVariants: {
1359
+ status: "neutral"
1360
+ }
1361
+ });
1362
+ var confirmTitleRecipe = kreativCore.defineRecipe({
1363
+ base: "text-kui-lg font-kui-semibold tracking-tight"
1364
+ });
1365
+ var confirmMessageRecipe = kreativCore.defineRecipe({
1366
+ base: "mt-2 text-kui-sm leading-relaxed text-kui-text-muted text-center"
1367
+ });
1368
+ var confirmActionsRecipe = kreativCore.defineRecipe({
1369
+ base: "mt-6 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end"
1370
+ });
1371
+ var confirmButtonRecipe = kreativCore.defineRecipe({
1372
+ base: [
1373
+ "inline-flex h-10 w-full items-center justify-center",
1374
+ "rounded-kui-md border px-4 sm:w-auto",
1375
+ "text-kui-sm font-kui-medium",
1376
+ "transition-colors",
1377
+ "focus-visible:outline-none",
1378
+ "focus-visible:ring-2 focus-visible:ring-kui-focus",
1379
+ "focus-visible:ring-offset-2",
1380
+ "focus-visible:ring-offset-kui-surface",
1381
+ "disabled:pointer-events-none disabled:opacity-50"
1382
+ ].join(" "),
1383
+ variants: {
1384
+ intent: {
1385
+ confirm: "border-transparent text-kui-white",
1386
+ cancel: [
1387
+ "border-kui-border bg-kui-surface",
1388
+ "text-kui-text hover:bg-kui-surface-raised"
1389
+ ].join(" ")
1390
+ },
1391
+ status: {
1392
+ neutral: "",
1393
+ info: "",
1394
+ success: "",
1395
+ warning: "",
1396
+ error: ""
1397
+ }
1398
+ },
1399
+ defaultVariants: {
1400
+ intent: "confirm",
1401
+ status: "neutral"
1402
+ },
1403
+ compoundVariants: [
1404
+ {
1405
+ conditions: { intent: "confirm", status: "neutral" },
1406
+ className: "bg-kui-surface-sunken text-kui-text hover:bg-kui-surface-raised"
1407
+ },
1408
+ {
1409
+ conditions: { intent: "confirm", status: "info" },
1410
+ className: "bg-kui-info hover:bg-kui-info-hover"
1411
+ },
1412
+ {
1413
+ conditions: { intent: "confirm", status: "success" },
1414
+ className: "bg-kui-success hover:bg-kui-success-hover"
1415
+ },
1416
+ {
1417
+ conditions: { intent: "confirm", status: "warning" },
1418
+ className: "bg-kui-warning text-kui-black hover:bg-kui-warning-hover"
1419
+ },
1420
+ {
1421
+ conditions: { intent: "confirm", status: "error" },
1422
+ className: "bg-kui-destructive hover:bg-kui-destructive-hover"
1423
+ }
1424
+ ]
1425
+ });
1426
+ var confirmRecipes = {
1427
+ ConfirmOverlay: confirmOverlayRecipe,
1428
+ ConfirmLayer: confirmLayerRecipe,
1429
+ ConfirmContent: confirmContentRecipe,
1430
+ ConfirmHeader: confirmHeaderRecipe,
1431
+ ConfirmIcon: confirmIconRecipe,
1432
+ ConfirmTitle: confirmTitleRecipe,
1433
+ ConfirmMessage: confirmMessageRecipe,
1434
+ ConfirmActions: confirmActionsRecipe,
1435
+ ConfirmButton: confirmButtonRecipe
1436
+ };
1437
+ var menuContentRecipe = kreativCore.defineRecipe({
1438
+ base: "z-50 min-w-[11rem] overflow-y-auto overflow-x-hidden overscroll-contain kui-scrollbar rounded-lg border border-kui-border p-1.5 outline-none bg-kui-surface text-kui-text shadow-[0_12px_32px_-8px_rgb(var(--kui-colors-black)/0.16),0_2px_6px_rgb(var(--kui-colors-black)/0.06)]"
1439
+ });
1440
+ var menuItemRecipe = kreativCore.defineRecipe({
1441
+ base: "relative flex w-full min-h-8 items-center gap-2 rounded-md px-2.5 py-1.5 text-left text-sm font-normal outline-none select-none cursor-default transition-[background-color,color,opacity] duration-150 focus-visible:ring-2 focus-visible:ring-kui-brand focus-visible:ring-inset [&_svg]:size-4 [&_svg]:shrink-0 [&_svg]:pointer-events-none data-[active]:bg-kui-surface-raised data-[disabled]:pointer-events-none data-[disabled]:opacity-40",
1442
+ variants: {
1443
+ kind: {
1444
+ item: "",
1445
+ checkbox: "pr-8 data-[state=checked]:font-medium",
1446
+ radio: "data-[state=checked]:font-medium",
1447
+ sub: "justify-between data-[state=open]:bg-kui-surface-raised data-[state=open]:text-kui-text [&_svg]:size-4"
1448
+ },
1449
+ tone: {
1450
+ default: "",
1451
+ destructive: "text-kui-destructive data-[active]:bg-kui-destructive/10 data-[active]:text-kui-destructive"
1452
+ },
1453
+ inset: {
1454
+ true: "pl-8",
1455
+ false: ""
1456
+ }
1457
+ },
1458
+ defaultVariants: {
1459
+ kind: "item",
1460
+ tone: "default",
1461
+ inset: false
1462
+ }
1463
+ });
1464
+ var menuSeparatorRecipe = kreativCore.defineRecipe({
1465
+ base: "mx-[-0.375rem] my-1.5 h-px bg-kui-border"
1466
+ });
1467
+ var menuLabelRecipe = kreativCore.defineRecipe({
1468
+ base: "px-2.5 py-1.5 text-xs font-medium text-kui-text-muted select-none"
1469
+ });
1470
+ var menuRecipes = {
1471
+ MenuContent: menuContentRecipe,
1472
+ MenuItem: menuItemRecipe,
1473
+ MenuSeparator: menuSeparatorRecipe,
1474
+ MenuLabel: menuLabelRecipe
1475
+ };
1096
1476
 
1097
1477
  // src/theme/defaults/theme.ts
1098
1478
  var defaultRecipes = {
@@ -1124,7 +1504,11 @@ var defaultRecipes = {
1124
1504
  CardOverlay: cardOverlayRecipe,
1125
1505
  Card: cardRecipe,
1126
1506
  ScrollArea: scrollAreaRecipe,
1127
- Grid: gridRecipe
1507
+ Grid: gridRecipe,
1508
+ ...toastRecipes,
1509
+ ...tooltipRecipes,
1510
+ ...confirmRecipes,
1511
+ ...menuRecipes
1128
1512
  };
1129
1513
  var defaultTheme = kreativCore.defineTheme({
1130
1514
  tokens: defaultTokens,
@@ -1233,6 +1617,10 @@ function extendTheme(override) {
1233
1617
  }
1234
1618
  chunkMAUKS2DZ_cjs.__name(extendTheme, "extendTheme");
1235
1619
 
1620
+ Object.defineProperty(exports, "composeRefs", {
1621
+ enumerable: true,
1622
+ get: function () { return kreativCore.composeRefs; }
1623
+ });
1236
1624
  Object.defineProperty(exports, "defineRecipe", {
1237
1625
  enumerable: true,
1238
1626
  get: function () { return kreativCore.defineRecipe; }
@@ -1272,5 +1660,5 @@ exports.extendTheme = extendTheme;
1272
1660
  exports.extendTokens = extendTokens;
1273
1661
  exports.extendTypography = extendTypography;
1274
1662
  exports.getRecipeNames = getRecipeNames;
1275
- //# sourceMappingURL=chunk-7LFX4MER.cjs.map
1276
- //# sourceMappingURL=chunk-7LFX4MER.cjs.map
1663
+ //# sourceMappingURL=chunk-YOHCWN65.cjs.map
1664
+ //# sourceMappingURL=chunk-YOHCWN65.cjs.map