@flexkit/studio 0.0.31 → 0.0.33

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.
Files changed (110) hide show
  1. package/README.md +2 -2
  2. package/dist/asset-ZVPFS73O.js +2 -0
  3. package/dist/{asset-TS7J5GA5.js.map → asset-ZVPFS73O.js.map} +1 -1
  4. package/dist/astro.d.ts +5 -3
  5. package/dist/astro.js +8 -3
  6. package/dist/chunk-2OBWJ6UY.js +2 -0
  7. package/dist/chunk-2OBWJ6UY.js.map +1 -0
  8. package/dist/{chunk-R7N3MDOP.js → chunk-AEBTHXEP.js} +2 -2
  9. package/dist/{chunk-R7N3MDOP.js.map → chunk-AEBTHXEP.js.map} +1 -1
  10. package/dist/{chunk-W3TUEJJL.js → chunk-CCI3FGPF.js} +2 -2
  11. package/dist/{chunk-W3TUEJJL.js.map → chunk-CCI3FGPF.js.map} +1 -1
  12. package/dist/chunk-D62TAYLI.js +2 -0
  13. package/dist/chunk-D62TAYLI.js.map +1 -0
  14. package/dist/{chunk-UKLE7J3K.js → chunk-E7G46743.js} +139 -16
  15. package/dist/chunk-F2ILIHAU.js +2 -0
  16. package/dist/chunk-F2ILIHAU.js.map +1 -0
  17. package/dist/{chunk-EOCJR5EY.js → chunk-FPH4YETF.js} +2 -2
  18. package/dist/{chunk-EOCJR5EY.js.map → chunk-FPH4YETF.js.map} +1 -1
  19. package/dist/chunk-GFDWGYUR.js +2 -0
  20. package/dist/chunk-GFDWGYUR.js.map +1 -0
  21. package/dist/{chunk-CPUC4QXH.js → chunk-JAARDXQZ.js} +2 -2
  22. package/dist/{chunk-CPUC4QXH.js.map → chunk-JAARDXQZ.js.map} +1 -1
  23. package/dist/{chunk-IXO2LU47.js → chunk-JCHD4EGB.js} +2 -2
  24. package/dist/{chunk-IXO2LU47.js.map → chunk-JCHD4EGB.js.map} +1 -1
  25. package/dist/chunk-KHPTVIYT.js +2 -0
  26. package/dist/chunk-KHPTVIYT.js.map +1 -0
  27. package/dist/chunk-MGXHZDFZ.js +2 -0
  28. package/dist/chunk-MGXHZDFZ.js.map +1 -0
  29. package/dist/chunk-MLYKIVZC.js +2 -0
  30. package/dist/chunk-MLYKIVZC.js.map +1 -0
  31. package/dist/chunk-N2T6MKPV.js +2 -0
  32. package/dist/chunk-N2T6MKPV.js.map +1 -0
  33. package/dist/{chunk-DWK4NNLB.js → chunk-ORY5DLME.js} +2 -2
  34. package/dist/{chunk-DWK4NNLB.js.map → chunk-ORY5DLME.js.map} +1 -1
  35. package/dist/chunk-PXB5QSHN.js +2 -0
  36. package/dist/chunk-PXB5QSHN.js.map +1 -0
  37. package/dist/chunk-VHNQDP7Q.js +616 -0
  38. package/dist/chunk-VUAFNQK7.js +2 -0
  39. package/dist/chunk-VUAFNQK7.js.map +1 -0
  40. package/dist/chunk-XFY7MZJN.js +2 -0
  41. package/dist/chunk-XFY7MZJN.js.map +1 -0
  42. package/dist/{core-handler-XAVVKLhV.d.ts → core-handler-C3xC98bN.d.ts} +3 -0
  43. package/dist/datetime-DDEWTNLB.js +2 -0
  44. package/dist/{datetime-NQTYGZIC.js.map → datetime-DDEWTNLB.js.map} +1 -1
  45. package/dist/editor-HAYTKNMY.js +2 -0
  46. package/dist/{editor-YIRZQR3D.js.map → editor-HAYTKNMY.js.map} +1 -1
  47. package/dist/index.css +151 -41
  48. package/dist/index.d.ts +24 -21
  49. package/dist/index.js +161 -208
  50. package/dist/index.js.map +1 -1
  51. package/dist/logo-B6ZKLGM7.js +3 -0
  52. package/dist/logo-B6ZKLGM7.js.map +1 -0
  53. package/dist/nextjs.d.ts +40 -12
  54. package/dist/nextjs.js +8 -3
  55. package/dist/search-FTC7ELZX.js +2 -0
  56. package/dist/search-FTC7ELZX.js.map +1 -0
  57. package/dist/select-H3JHOCWR.js +2 -0
  58. package/dist/{select-A6I27JQU.js.map → select-H3JHOCWR.js.map} +1 -1
  59. package/dist/switch-TACKLQJH.js +2 -0
  60. package/dist/{switch-AFZGXSR3.js.map → switch-TACKLQJH.js.map} +1 -1
  61. package/dist/tanstack-start.d.ts +6 -4
  62. package/dist/tanstack-start.js +17 -12
  63. package/dist/text-M3DRK7LU.js +2 -0
  64. package/dist/{text-2RL2L5FT.js.map → text-M3DRK7LU.js.map} +1 -1
  65. package/dist/text-SQXG7XJT.js +2 -0
  66. package/dist/{text-6F4QTCNT.js.map → text-SQXG7XJT.js.map} +1 -1
  67. package/dist/textarea-YF4K2VBM.js +2 -0
  68. package/dist/{textarea-2A4TLWZS.js.map → textarea-YF4K2VBM.js.map} +1 -1
  69. package/dist/tools.d.ts +78 -0
  70. package/dist/tools.js +60 -0
  71. package/dist/types-U28Ppixq.d.ts +56 -0
  72. package/dist/{types.d-CX3kDxFZ.d.ts → types.d-C12xWeN_.d.ts} +86 -7
  73. package/dist/ui.d.ts +21 -5
  74. package/dist/ui.js +5 -5
  75. package/dist/ui.js.map +1 -1
  76. package/dist/{user-nav-4JKIFZLB.js → user-nav-Z7GBLYQA.js} +2 -2
  77. package/dist/{user-nav-4JKIFZLB.js.map → user-nav-Z7GBLYQA.js.map} +1 -1
  78. package/package.json +8 -4
  79. package/dist/asset-TS7J5GA5.js +0 -2
  80. package/dist/chunk-73RMWG53.js +0 -2
  81. package/dist/chunk-73RMWG53.js.map +0 -1
  82. package/dist/chunk-HAQICAOQ.js +0 -2
  83. package/dist/chunk-HAQICAOQ.js.map +0 -1
  84. package/dist/chunk-LL2Z4TD3.js +0 -2
  85. package/dist/chunk-LL2Z4TD3.js.map +0 -1
  86. package/dist/chunk-MC6VZLKC.js +0 -2
  87. package/dist/chunk-MC6VZLKC.js.map +0 -1
  88. package/dist/chunk-N52AF6GE.js +0 -2
  89. package/dist/chunk-N52AF6GE.js.map +0 -1
  90. package/dist/chunk-V6R4AWQS.js +0 -2
  91. package/dist/chunk-V6R4AWQS.js.map +0 -1
  92. package/dist/chunk-WXMCINGZ.js +0 -2
  93. package/dist/chunk-WXMCINGZ.js.map +0 -1
  94. package/dist/chunk-WZ533Y4O.js +0 -2
  95. package/dist/chunk-WZ533Y4O.js.map +0 -1
  96. package/dist/chunk-YA4ACPM5.js +0 -2
  97. package/dist/chunk-YA4ACPM5.js.map +0 -1
  98. package/dist/chunk-ZEZ6TRCO.js +0 -2
  99. package/dist/chunk-ZEZ6TRCO.js.map +0 -1
  100. package/dist/datetime-NQTYGZIC.js +0 -2
  101. package/dist/editor-YIRZQR3D.js +0 -2
  102. package/dist/logo-GCKKZP62.js +0 -3
  103. package/dist/logo-GCKKZP62.js.map +0 -1
  104. package/dist/search-UFFZBRQV.js +0 -2
  105. package/dist/search-UFFZBRQV.js.map +0 -1
  106. package/dist/select-A6I27JQU.js +0 -2
  107. package/dist/switch-AFZGXSR3.js +0 -2
  108. package/dist/text-2RL2L5FT.js +0 -2
  109. package/dist/text-6F4QTCNT.js +0 -2
  110. package/dist/textarea-2A4TLWZS.js +0 -2
package/dist/index.css CHANGED
@@ -5,6 +5,7 @@
5
5
  @layer theme {
6
6
  :root, :host {
7
7
  --fk-color-red-100: oklch(93.6% 0.032 17.717);
8
+ --fk-color-red-400: oklch(70.4% 0.191 22.216);
8
9
  --fk-color-red-600: oklch(57.7% 0.245 27.325);
9
10
  --fk-color-red-800: oklch(44.4% 0.177 26.899);
10
11
  --fk-color-orange-600: oklch(64.6% 0.222 41.116);
@@ -23,10 +24,10 @@
23
24
  --fk-color-black: #000;
24
25
  --fk-color-white: #fff;
25
26
  --fk-spacing: 0.25rem;
26
- --fk-breakpoint-lg: 64rem;
27
27
  --fk-container-xs: 20rem;
28
28
  --fk-container-sm: 24rem;
29
29
  --fk-container-lg: 32rem;
30
+ --fk-container-5xl: 64rem;
30
31
  --fk-text-xs: 0.75rem;
31
32
  --fk-text-xs--line-height: calc(1 / 0.75);
32
33
  --fk-text-sm: 0.875rem;
@@ -57,6 +58,7 @@
57
58
  --fk-ease-out: cubic-bezier(0, 0, 0.2, 1);
58
59
  --fk-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
59
60
  --fk-animate-spin: spin 1s linear infinite;
61
+ --fk-animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
60
62
  --fk-animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
61
63
  --fk-animate-bounce: bounce 1s infinite;
62
64
  --fk-blur-sm: 8px;
@@ -343,6 +345,9 @@
343
345
  .fk\:z-20 {
344
346
  z-index: 20;
345
347
  }
348
+ .fk\:z-30 {
349
+ z-index: 30;
350
+ }
346
351
  .fk\:z-50 {
347
352
  z-index: 50;
348
353
  }
@@ -602,14 +607,17 @@
602
607
  }
603
608
  :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
604
609
  color: var(--tw-prose-code);
605
- font-weight: 600;
610
+ font-weight: 500;
606
611
  font-size: 0.875em;
612
+ background-color: hsl(var(--muted));
613
+ border-radius: 0.25rem;
614
+ padding: 0.15em 0.4em;
607
615
  }
608
616
  :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
609
- content: "`";
617
+ content: "";
610
618
  }
611
619
  :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
612
- content: "`";
620
+ content: "";
613
621
  }
614
622
  :where(a code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
615
623
  color: inherit;
@@ -1050,6 +1058,9 @@
1050
1058
  .fk\:mt-0\.5 {
1051
1059
  margin-top: calc(var(--fk-spacing) * 0.5);
1052
1060
  }
1061
+ .fk\:mt-0\.75 {
1062
+ margin-top: calc(var(--fk-spacing) * 0.75);
1063
+ }
1053
1064
  .fk\:mt-1 {
1054
1065
  margin-top: calc(var(--fk-spacing) * 1);
1055
1066
  }
@@ -1104,6 +1115,9 @@
1104
1115
  .fk\:mb-4 {
1105
1116
  margin-bottom: calc(var(--fk-spacing) * 4);
1106
1117
  }
1118
+ .fk\:mb-6 {
1119
+ margin-bottom: calc(var(--fk-spacing) * 6);
1120
+ }
1107
1121
  .fk\:mb-6\.5 {
1108
1122
  margin-bottom: calc(var(--fk-spacing) * 6.5);
1109
1123
  }
@@ -1330,12 +1344,12 @@
1330
1344
  .fk\:max-h-48 {
1331
1345
  max-height: calc(var(--fk-spacing) * 48);
1332
1346
  }
1347
+ .fk\:max-h-55 {
1348
+ max-height: calc(var(--fk-spacing) * 55);
1349
+ }
1333
1350
  .fk\:max-h-80 {
1334
1351
  max-height: calc(var(--fk-spacing) * 80);
1335
1352
  }
1336
- .fk\:max-h-\[220px\] {
1337
- max-height: 220px;
1338
- }
1339
1353
  .fk\:max-h-\[300px\] {
1340
1354
  max-height: 300px;
1341
1355
  }
@@ -1360,15 +1374,15 @@
1360
1374
  .fk\:min-h-9\.5 {
1361
1375
  min-height: calc(var(--fk-spacing) * 9.5);
1362
1376
  }
1377
+ .fk\:min-h-14 {
1378
+ min-height: calc(var(--fk-spacing) * 14);
1379
+ }
1363
1380
  .fk\:min-h-16 {
1364
1381
  min-height: calc(var(--fk-spacing) * 16);
1365
1382
  }
1366
1383
  .fk\:min-h-\[2\.5rem\] {
1367
1384
  min-height: 2.5rem;
1368
1385
  }
1369
- .fk\:min-h-\[3\.5rem\] {
1370
- min-height: 3.5rem;
1371
- }
1372
1386
  .fk\:min-h-\[150px\] {
1373
1387
  min-height: 150px;
1374
1388
  }
@@ -1399,6 +1413,9 @@
1399
1413
  .fk\:w-5 {
1400
1414
  width: calc(var(--fk-spacing) * 5);
1401
1415
  }
1416
+ .fk\:w-6 {
1417
+ width: calc(var(--fk-spacing) * 6);
1418
+ }
1402
1419
  .fk\:w-7 {
1403
1420
  width: calc(var(--fk-spacing) * 7);
1404
1421
  }
@@ -1420,6 +1437,9 @@
1420
1437
  .fk\:w-28 {
1421
1438
  width: calc(var(--fk-spacing) * 28);
1422
1439
  }
1440
+ .fk\:w-36 {
1441
+ width: calc(var(--fk-spacing) * 36);
1442
+ }
1423
1443
  .fk\:w-44 {
1424
1444
  width: calc(var(--fk-spacing) * 44);
1425
1445
  }
@@ -1486,30 +1506,30 @@
1486
1506
  .fk\:max-w-\(--skeleton-width\) {
1487
1507
  max-width: var(--skeleton-width);
1488
1508
  }
1509
+ .fk\:max-w-5xl {
1510
+ max-width: var(--fk-container-5xl);
1511
+ }
1489
1512
  .fk\:max-w-60 {
1490
1513
  max-width: calc(var(--fk-spacing) * 60);
1491
1514
  }
1492
1515
  .fk\:max-w-64 {
1493
1516
  max-width: calc(var(--fk-spacing) * 64);
1494
1517
  }
1518
+ .fk\:max-w-150 {
1519
+ max-width: calc(var(--fk-spacing) * 150);
1520
+ }
1495
1521
  .fk\:max-w-\[90vw\] {
1496
1522
  max-width: 90vw;
1497
1523
  }
1498
1524
  .fk\:max-w-\[95\%\] {
1499
1525
  max-width: 95%;
1500
1526
  }
1501
- .fk\:max-w-\[600px\] {
1502
- max-width: 600px;
1503
- }
1504
1527
  .fk\:max-w-\[calc\(100\%-2rem\)\] {
1505
1528
  max-width: calc(100% - 2rem);
1506
1529
  }
1507
1530
  .fk\:max-w-full {
1508
1531
  max-width: 100%;
1509
1532
  }
1510
- .fk\:max-w-screen-lg {
1511
- max-width: var(--fk-breakpoint-lg);
1512
- }
1513
1533
  .fk\:max-w-xs {
1514
1534
  max-width: var(--fk-container-xs);
1515
1535
  }
@@ -1619,6 +1639,9 @@
1619
1639
  .fk\:animate-bounce {
1620
1640
  animation: var(--fk-animate-bounce);
1621
1641
  }
1642
+ .fk\:animate-ping {
1643
+ animation: var(--fk-animate-ping);
1644
+ }
1622
1645
  .fk\:animate-progress {
1623
1646
  animation: progress 1s infinite linear;
1624
1647
  }
@@ -1736,6 +1759,9 @@
1736
1759
  .fk\:gap-4 {
1737
1760
  gap: calc(var(--fk-spacing) * 4);
1738
1761
  }
1762
+ .fk\:gap-5 {
1763
+ gap: calc(var(--fk-spacing) * 5);
1764
+ }
1739
1765
  .fk\:gap-8 {
1740
1766
  gap: calc(var(--fk-spacing) * 8);
1741
1767
  }
@@ -1815,9 +1841,6 @@
1815
1841
  margin-inline-end: calc(calc(var(--fk-spacing) * 2) * calc(1 - var(--tw-space-x-reverse)));
1816
1842
  }
1817
1843
  }
1818
- .fk\:gap-y-5 {
1819
- row-gap: calc(var(--fk-spacing) * 5);
1820
- }
1821
1844
  .fk\:self-end {
1822
1845
  align-self: flex-end;
1823
1846
  }
@@ -1899,6 +1922,10 @@
1899
1922
  border-top-right-radius: calc(var(--radius) - 2px);
1900
1923
  border-bottom-right-radius: calc(var(--radius) - 2px);
1901
1924
  }
1925
+ .fk\:rounded-r-none {
1926
+ border-top-right-radius: 0;
1927
+ border-bottom-right-radius: 0;
1928
+ }
1902
1929
  .fk\:border {
1903
1930
  border-style: var(--tw-border-style);
1904
1931
  border-width: 1px;
@@ -1911,6 +1938,10 @@
1911
1938
  border-style: var(--tw-border-style);
1912
1939
  border-width: 2px;
1913
1940
  }
1941
+ .fk\:border-y {
1942
+ border-block-style: var(--tw-border-style);
1943
+ border-block-width: 1px;
1944
+ }
1914
1945
  .fk\:border-t {
1915
1946
  border-top-style: var(--tw-border-style);
1916
1947
  border-top-width: 1px;
@@ -1961,6 +1992,12 @@
1961
1992
  .fk\:border-primary {
1962
1993
  border-color: hsl(var(--primary));
1963
1994
  }
1995
+ .fk\:border-red-400\/30 {
1996
+ border-color: var(--fk-color-red-400);
1997
+ @supports (color: color-mix(in lab, red, red)) {
1998
+ border-color: color-mix(in oklab, var(--fk-color-red-400) 30%, transparent);
1999
+ }
2000
+ }
1964
2001
  .fk\:border-sidebar-border {
1965
2002
  border-color: hsl(var(--sidebar-border));
1966
2003
  }
@@ -2261,15 +2298,15 @@
2261
2298
  .fk\:pr-9 {
2262
2299
  padding-right: calc(var(--fk-spacing) * 9);
2263
2300
  }
2264
- .fk\:pr-10 {
2265
- padding-right: calc(var(--fk-spacing) * 10);
2266
- }
2267
2301
  .fk\:pb-0 {
2268
2302
  padding-bottom: calc(var(--fk-spacing) * 0);
2269
2303
  }
2270
2304
  .fk\:pb-1\.5 {
2271
2305
  padding-bottom: calc(var(--fk-spacing) * 1.5);
2272
2306
  }
2307
+ .fk\:pb-2 {
2308
+ padding-bottom: calc(var(--fk-spacing) * 2);
2309
+ }
2273
2310
  .fk\:pb-3 {
2274
2311
  padding-bottom: calc(var(--fk-spacing) * 3);
2275
2312
  }
@@ -3623,6 +3660,16 @@
3623
3660
  }
3624
3661
  }
3625
3662
  }
3663
+ .fk\:hover\:bg-foreground\/10 {
3664
+ &:hover {
3665
+ @media (hover: hover) {
3666
+ background-color: hsl(var(--foreground));
3667
+ @supports (color: color-mix(in lab, red, red)) {
3668
+ background-color: color-mix(in oklab, hsl(var(--foreground)) 10%, transparent);
3669
+ }
3670
+ }
3671
+ }
3672
+ }
3626
3673
  .fk\:hover\:bg-github-hover\! {
3627
3674
  &:hover {
3628
3675
  @media (hover: hover) {
@@ -4079,6 +4126,25 @@
4079
4126
  }
4080
4127
  }
4081
4128
  }
4129
+ .fk\:has-\[input\:focus-visible\]\:border-ring {
4130
+ &:has(*:is(input:focus-visible)) {
4131
+ border-color: hsl(var(--ring));
4132
+ }
4133
+ }
4134
+ .fk\:has-\[input\:focus-visible\]\:ring-\[3px\] {
4135
+ &:has(*:is(input:focus-visible)) {
4136
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
4137
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
4138
+ }
4139
+ }
4140
+ .fk\:has-\[input\:focus-visible\]\:ring-ring\/50 {
4141
+ &:has(*:is(input:focus-visible)) {
4142
+ --tw-ring-color: hsl(var(--ring));
4143
+ @supports (color: color-mix(in lab, red, red)) {
4144
+ --tw-ring-color: color-mix(in oklab, hsl(var(--ring)) 50%, transparent);
4145
+ }
4146
+ }
4147
+ }
4082
4148
  .fk\:has-\[\>\[data-align\=block-end\]\]\:h-auto {
4083
4149
  &:has(>[data-align=block-end]) {
4084
4150
  height: auto;
@@ -4557,6 +4623,13 @@
4557
4623
  }
4558
4624
  }
4559
4625
  }
4626
+ .fk\:\*\*\:data-\[slot\=scroll-area-viewport\]\:h-auto {
4627
+ :is(& *) {
4628
+ &[data-slot="scroll-area-viewport"] {
4629
+ height: auto;
4630
+ }
4631
+ }
4632
+ }
4560
4633
  .fk\:\*\:data-\[slot\=select-value\]\:line-clamp-1 {
4561
4634
  :is(& > *) {
4562
4635
  &[data-slot="select-value"] {
@@ -5041,11 +5114,6 @@
5041
5114
  border-bottom-width: 1px;
5042
5115
  }
5043
5116
  }
5044
- .fk\:sm\:flex {
5045
- @media (width >= 40rem) {
5046
- display: flex;
5047
- }
5048
- }
5049
5117
  .fk\:sm\:w-\[350px\] {
5050
5118
  @media (width >= 40rem) {
5051
5119
  width: 350px;
@@ -5129,19 +5197,9 @@
5129
5197
  }
5130
5198
  }
5131
5199
  }
5132
- .fk\:md\:block {
5133
- @media (width >= 48rem) {
5134
- display: block;
5135
- }
5136
- }
5137
- .fk\:md\:flex {
5138
- @media (width >= 48rem) {
5139
- display: flex;
5140
- }
5141
- }
5142
- .fk\:md\:w-\[100px\] {
5200
+ .fk\:md\:w-25 {
5143
5201
  @media (width >= 48rem) {
5144
- width: 100px;
5202
+ width: calc(var(--fk-spacing) * 25);
5145
5203
  }
5146
5204
  }
5147
5205
  .fk\:md\:flex-row {
@@ -5183,9 +5241,9 @@
5183
5241
  display: none;
5184
5242
  }
5185
5243
  }
5186
- .fk\:lg\:w-\[300px\] {
5244
+ .fk\:lg\:w-75 {
5187
5245
  @media (width >= 64rem) {
5188
- width: 300px;
5246
+ width: calc(var(--fk-spacing) * 75);
5189
5247
  }
5190
5248
  }
5191
5249
  .fk\:lg\:p-8 {
@@ -5318,6 +5376,15 @@
5318
5376
  --tw-prose-td-borders: var(--tw-prose-invert-td-borders);
5319
5377
  }
5320
5378
  }
5379
+ .fk\:dark\:hover\:bg-accent {
5380
+ &:is([style="color-scheme: dark;"] *) {
5381
+ &:hover {
5382
+ @media (hover: hover) {
5383
+ background-color: hsl(var(--accent));
5384
+ }
5385
+ }
5386
+ }
5387
+ }
5321
5388
  .fk\:dark\:hover\:bg-accent\/50 {
5322
5389
  &:is([style="color-scheme: dark;"] *) {
5323
5390
  &:hover {
@@ -5406,6 +5473,20 @@
5406
5473
  }
5407
5474
  }
5408
5475
  }
5476
+ .fk\:dark\:data-\[state\=active\]\:border-transparent\! {
5477
+ &:is([style="color-scheme: dark;"] *) {
5478
+ &[data-state="active"] {
5479
+ border-color: transparent !important;
5480
+ }
5481
+ }
5482
+ }
5483
+ .fk\:dark\:data-\[state\=active\]\:bg-background {
5484
+ &:is([style="color-scheme: dark;"] *) {
5485
+ &[data-state="active"] {
5486
+ background-color: hsl(var(--background));
5487
+ }
5488
+ }
5489
+ }
5409
5490
  .fk\:dark\:data-\[state\=active\]\:bg-input\/30 {
5410
5491
  &:is([style="color-scheme: dark;"] *) {
5411
5492
  &[data-state="active"] {
@@ -5519,6 +5600,11 @@
5519
5600
  width: calc(var(--fk-spacing) * 5);
5520
5601
  }
5521
5602
  }
5603
+ .fk\:\[\&_\[data-slot\=scroll-area-scrollbar\]\[data-orientation\=vertical\]\]\:hidden {
5604
+ & [data-slot=scroll-area-scrollbar][data-orientation=vertical] {
5605
+ display: none;
5606
+ }
5607
+ }
5522
5608
  .fk\:\[\&_p\]\:leading-relaxed {
5523
5609
  & p {
5524
5610
  --tw-leading: var(--fk-leading-relaxed);
@@ -6167,6 +6253,24 @@
6167
6253
  html, body {
6168
6254
  height: 100%;
6169
6255
  }
6256
+ @layer components {
6257
+ .flexkit-sidebar-desktop-block, .flexkit-sidebar-desktop-flex, .flexkit-sidebar-sm-flex {
6258
+ display: none;
6259
+ }
6260
+ @media (width >= 40rem) {
6261
+ .flexkit-sidebar-sm-flex {
6262
+ display: flex;
6263
+ }
6264
+ }
6265
+ @media (width >= 48rem) {
6266
+ .flexkit-sidebar-desktop-block {
6267
+ display: block;
6268
+ }
6269
+ .flexkit-sidebar-desktop-flex {
6270
+ display: flex;
6271
+ }
6272
+ }
6273
+ }
6170
6274
  @layer base {
6171
6275
  :root {
6172
6276
  --font-geist-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, 'Apple Color Emoji',
@@ -6759,6 +6863,12 @@ pre {
6759
6863
  transform: rotate(360deg);
6760
6864
  }
6761
6865
  }
6866
+ @keyframes ping {
6867
+ 75%, 100% {
6868
+ transform: scale(2);
6869
+ opacity: 0;
6870
+ }
6871
+ }
6762
6872
  @keyframes pulse {
6763
6873
  50% {
6764
6874
  opacity: 0.5;
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as React$1 from 'react';
2
2
  import React__default, { Dispatch, JSX, SetStateAction, UIEvent, ReactElement } from 'react';
3
- import { A as AppContextType, a as ActionSetRelationship, b as ActionSetScope, C as Config, c as AppOptions, E as Entity, P as PluginOptions, d as ProjectOptions, O as OrderedAssetValue, S as SearchRequestProps, e as SearchResultItem, f as Attribute, U as UseEntityQueryParams, M as MappedEntityItem, F as FormEntityItem, I as ImageValue, g as Schema, h as AttributeValue, i as MultipleRelationshipConnection, j as SingleRelationshipConnection } from './types.d-CX3kDxFZ.js';
4
- export { D as DataType, k as DefaultValue, l as DefaultValueByDataType, m as EntityData, n as FormFieldParams, o as FormFieldProps, p as FormFieldValue, L as LogoProps, q as ScopeType, r as SingleProject } from './types.d-CX3kDxFZ.js';
3
+ import { A as AppContextType, a as ActionSetRelationship, b as ActionSetScope, C as Config, c as AppOptions, E as Entity, P as PluginOptions, d as ProjectOptions, O as OrderedAssetValue, S as SearchRequestProps, e as SearchResultItem, f as Attribute, F as FieldGroup, g as AuthService, U as UseEntityQueryParams, M as MappedEntityItem, h as FormEntityItem, I as ImageValue, i as Schema, j as User, k as AttributeValue, l as MultipleRelationshipConnection, m as SingleRelationshipConnection } from './types.d-C12xWeN_.js';
4
+ export { n as ConditionalFieldContext, o as ConditionalFlag, D as DataType, p as DefaultValue, q as DefaultValueByDataType, r as EntityData, s as FormFieldParams, t as FormFieldProps, u as FormFieldValue, L as LogoProps, v as ScopeType, w as SingleProject } from './types.d-C12xWeN_.js';
5
5
  export { Outlet, useLocation, useParams } from 'react-router-dom';
6
6
  import { OperationVariables, DocumentNode, ErrorLike } from '@apollo/client';
7
7
  export { gql } from '@apollo/client';
@@ -67,8 +67,10 @@ type UploadedAssetResult = UploadedFileResult & {
67
67
  type OpenFileDialogAndUploadOptions = {
68
68
  projectId: string | undefined;
69
69
  accept?: string;
70
+ files?: File[] | FileList;
70
71
  multiple?: boolean;
71
72
  maxBytes?: number;
73
+ onUploadStart?: () => void;
72
74
  };
73
75
  declare function useUploadAssets(): (options: OpenFileDialogAndUploadOptions) => Promise<UploadedAssetResult[]>;
74
76
 
@@ -117,31 +119,18 @@ declare function filterEntitiesForSpaces(schema: Entity[], userSpaces: string[]
117
119
  declare function canMutateData(role: string | null | undefined): boolean;
118
120
  declare function useCanMutate(): boolean;
119
121
 
120
- type User = {
121
- id: string;
122
- email: string;
123
- display_name: string;
124
- avatar_url: string;
125
- role: string;
126
- /** Space codes the user belongs to (owners receive every project space). */
127
- spaces: string[];
128
- };
129
-
130
- type Auth = {
131
- user: User | undefined;
132
- logout: (projectId: string) => Promise<void>;
133
- };
134
-
135
- type AuthService = [boolean, Auth];
122
+ declare const ALL_FIELDS_GROUP_NAME = "all";
123
+ declare const ALL_FIELDS_GROUP: FieldGroup;
136
124
 
137
125
  declare function useAuth(): AuthService;
138
126
 
139
127
  type Props$1 = {
140
128
  scope: string | undefined;
141
129
  checked: boolean;
130
+ disabled?: boolean;
142
131
  onChange: (checked: boolean) => void;
143
132
  };
144
- declare function DefaultValueSwitch({ scope, checked, onChange }: Props$1): JSX.Element | null;
133
+ declare function DefaultValueSwitch({ scope, checked, disabled, onChange }: Props$1): JSX.Element | null;
145
134
 
146
135
  type FetchMoreOptions = {
147
136
  variables: OperationVariables & {
@@ -200,6 +189,15 @@ type EntityQuery = {
200
189
  queryEntityName: string;
201
190
  query: string;
202
191
  };
192
+ type EntityQueryCountMode = 'aggregate' | 'total';
193
+ type SortNotNullWhere = {
194
+ NOT: {
195
+ [attributeName: string]: {
196
+ eq: null;
197
+ };
198
+ };
199
+ };
200
+ declare function getSortNotNullWhere(sort: unknown, entity: Entity | undefined): SortNotNullWhere | undefined;
203
201
  declare function getEntityQuery(entityNamePlural: string, scope: string, schema: Schema, options?: {
204
202
  selection?: 'list' | 'full';
205
203
  /**
@@ -208,11 +206,14 @@ declare function getEntityQuery(entityNamePlural: string, scope: string, schema:
208
206
  * still stands.
209
207
  */
210
208
  includeCount?: boolean;
209
+ countMode?: EntityQueryCountMode;
210
+ operationName?: string;
211
211
  }): EntityQuery;
212
212
  /**
213
213
  * Returns a string with the GraphQl query needed to mutate the dataToMutate object for the given entity and scope.
214
214
  */
215
215
  declare function getEntityUpdateMutation(entityNamePlural: string, entityId: string, scope: string, schema: Schema, originalData: FormEntityItem, dataToMutate: FormEntityItem, options?: {
216
+ currentUser?: User;
216
217
  responseFields?: string;
217
218
  }): string;
218
219
  /**
@@ -228,7 +229,9 @@ declare function getEntityDeleteWhere(ids: string | readonly string[]): {
228
229
  in: string[];
229
230
  };
230
231
  };
231
- declare function getEntityCreateMutation(entityNamePlural: string, schema: Schema, entityData: FormEntityItem, _id: string): string;
232
+ declare function getEntityCreateMutation(entityNamePlural: string, schema: Schema, entityData: FormEntityItem, _id: string, options?: {
233
+ currentUser?: User;
234
+ }): string;
232
235
  declare function getEntitySchema(schema: Schema, entityNamePlural: string): Entity | undefined;
233
236
 
234
237
  interface DataTableFacetedFilterProps<TData, TValue> {
@@ -389,4 +392,4 @@ declare const assetSchema: Entity;
389
392
 
390
393
  declare const tagSchema: Entity;
391
394
 
392
- export { AppOptions, Attribute, AttributeValue, type ConfigContext, DataTable, DataTableColumnHeader, DataTableFacetedFilter, DataTableRowActions, DataTableSortedBy, DataTableToolbar, DataTableViewOptions, DefaultValueSwitch, Entity, type EntityListRowPatch, FlexkitStudio, FormEntityItem, IMAGES_BASE_URL, MappedEntityItem, PluginOptions, ProjectDisabled, Schema, SchemaError, SearchRequestProps, SearchResultItem, type UploadedFileResult, assetSchema, canAccessSpaces, canMutateData, defineConfig, defineEntity, filterAttributesForSpaces, filterEntitiesForSpaces, getEntityCreateMutation, getEntityDeleteMutation, getEntityDeleteWhere, getEntityQuery, getEntitySchema, getEntityUpdateMutation, tagSchema, useAppContext, useAppDispatch, useAuth, useCanMutate, useConfig, useDispatch, useEntityMutation, useEntityQuery, useGraphQLError, useGridColumnsDefinition, usePatchEntityList, useRefreshEntityList, useSearch, useUploadAssets };
395
+ export { ALL_FIELDS_GROUP, ALL_FIELDS_GROUP_NAME, AppOptions, Attribute, AttributeValue, type ConfigContext, DataTable, DataTableColumnHeader, DataTableFacetedFilter, DataTableRowActions, DataTableSortedBy, DataTableToolbar, DataTableViewOptions, DefaultValueSwitch, Entity, type EntityListRowPatch, FieldGroup, FlexkitStudio, FormEntityItem, IMAGES_BASE_URL, MappedEntityItem, PluginOptions, ProjectDisabled, Schema, SchemaError, SearchRequestProps, SearchResultItem, type UploadedFileResult, assetSchema, canAccessSpaces, canMutateData, defineConfig, defineEntity, filterAttributesForSpaces, filterEntitiesForSpaces, getEntityCreateMutation, getEntityDeleteMutation, getEntityDeleteWhere, getEntityQuery, getEntitySchema, getEntityUpdateMutation, getSortNotNullWhere, tagSchema, useAppContext, useAppDispatch, useAuth, useCanMutate, useConfig, useDispatch, useEntityMutation, useEntityQuery, useGraphQLError, useGridColumnsDefinition, usePatchEntityList, useRefreshEntityList, useSearch, useUploadAssets };