@flexkit/studio 0.0.31 → 0.0.32

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-5FHCSAK2.js +2 -0
  7. package/dist/chunk-5FHCSAK2.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-DWK4NNLB.js → chunk-LKBCPAXQ.js} +2 -2
  28. package/dist/{chunk-DWK4NNLB.js.map → chunk-LKBCPAXQ.js.map} +1 -1
  29. package/dist/chunk-MGXHZDFZ.js +2 -0
  30. package/dist/chunk-MGXHZDFZ.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-PXB5QSHN.js +2 -0
  34. package/dist/chunk-PXB5QSHN.js.map +1 -0
  35. package/dist/chunk-QSROLDUU.js +2 -0
  36. package/dist/chunk-QSROLDUU.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 -38
  48. package/dist/index.d.ts +22 -21
  49. package/dist/index.js +157 -210
  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-X5V3YOTZ.js +2 -0
  56. package/dist/search-X5V3YOTZ.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-710RgZFw.d.ts} +85 -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-XVY7JTX6.js} +2 -2
  77. package/dist/{user-nav-4JKIFZLB.js.map → user-nav-XVY7JTX6.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
  }
@@ -2270,6 +2307,9 @@
2270
2307
  .fk\:pb-1\.5 {
2271
2308
  padding-bottom: calc(var(--fk-spacing) * 1.5);
2272
2309
  }
2310
+ .fk\:pb-2 {
2311
+ padding-bottom: calc(var(--fk-spacing) * 2);
2312
+ }
2273
2313
  .fk\:pb-3 {
2274
2314
  padding-bottom: calc(var(--fk-spacing) * 3);
2275
2315
  }
@@ -3623,6 +3663,16 @@
3623
3663
  }
3624
3664
  }
3625
3665
  }
3666
+ .fk\:hover\:bg-foreground\/10 {
3667
+ &:hover {
3668
+ @media (hover: hover) {
3669
+ background-color: hsl(var(--foreground));
3670
+ @supports (color: color-mix(in lab, red, red)) {
3671
+ background-color: color-mix(in oklab, hsl(var(--foreground)) 10%, transparent);
3672
+ }
3673
+ }
3674
+ }
3675
+ }
3626
3676
  .fk\:hover\:bg-github-hover\! {
3627
3677
  &:hover {
3628
3678
  @media (hover: hover) {
@@ -4079,6 +4129,25 @@
4079
4129
  }
4080
4130
  }
4081
4131
  }
4132
+ .fk\:has-\[input\:focus-visible\]\:border-ring {
4133
+ &:has(*:is(input:focus-visible)) {
4134
+ border-color: hsl(var(--ring));
4135
+ }
4136
+ }
4137
+ .fk\:has-\[input\:focus-visible\]\:ring-\[3px\] {
4138
+ &:has(*:is(input:focus-visible)) {
4139
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
4140
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
4141
+ }
4142
+ }
4143
+ .fk\:has-\[input\:focus-visible\]\:ring-ring\/50 {
4144
+ &:has(*:is(input:focus-visible)) {
4145
+ --tw-ring-color: hsl(var(--ring));
4146
+ @supports (color: color-mix(in lab, red, red)) {
4147
+ --tw-ring-color: color-mix(in oklab, hsl(var(--ring)) 50%, transparent);
4148
+ }
4149
+ }
4150
+ }
4082
4151
  .fk\:has-\[\>\[data-align\=block-end\]\]\:h-auto {
4083
4152
  &:has(>[data-align=block-end]) {
4084
4153
  height: auto;
@@ -4557,6 +4626,13 @@
4557
4626
  }
4558
4627
  }
4559
4628
  }
4629
+ .fk\:\*\*\:data-\[slot\=scroll-area-viewport\]\:h-auto {
4630
+ :is(& *) {
4631
+ &[data-slot="scroll-area-viewport"] {
4632
+ height: auto;
4633
+ }
4634
+ }
4635
+ }
4560
4636
  .fk\:\*\:data-\[slot\=select-value\]\:line-clamp-1 {
4561
4637
  :is(& > *) {
4562
4638
  &[data-slot="select-value"] {
@@ -5041,11 +5117,6 @@
5041
5117
  border-bottom-width: 1px;
5042
5118
  }
5043
5119
  }
5044
- .fk\:sm\:flex {
5045
- @media (width >= 40rem) {
5046
- display: flex;
5047
- }
5048
- }
5049
5120
  .fk\:sm\:w-\[350px\] {
5050
5121
  @media (width >= 40rem) {
5051
5122
  width: 350px;
@@ -5129,19 +5200,9 @@
5129
5200
  }
5130
5201
  }
5131
5202
  }
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\] {
5203
+ .fk\:md\:w-25 {
5143
5204
  @media (width >= 48rem) {
5144
- width: 100px;
5205
+ width: calc(var(--fk-spacing) * 25);
5145
5206
  }
5146
5207
  }
5147
5208
  .fk\:md\:flex-row {
@@ -5183,9 +5244,9 @@
5183
5244
  display: none;
5184
5245
  }
5185
5246
  }
5186
- .fk\:lg\:w-\[300px\] {
5247
+ .fk\:lg\:w-75 {
5187
5248
  @media (width >= 64rem) {
5188
- width: 300px;
5249
+ width: calc(var(--fk-spacing) * 75);
5189
5250
  }
5190
5251
  }
5191
5252
  .fk\:lg\:p-8 {
@@ -5318,6 +5379,15 @@
5318
5379
  --tw-prose-td-borders: var(--tw-prose-invert-td-borders);
5319
5380
  }
5320
5381
  }
5382
+ .fk\:dark\:hover\:bg-accent {
5383
+ &:is([style="color-scheme: dark;"] *) {
5384
+ &:hover {
5385
+ @media (hover: hover) {
5386
+ background-color: hsl(var(--accent));
5387
+ }
5388
+ }
5389
+ }
5390
+ }
5321
5391
  .fk\:dark\:hover\:bg-accent\/50 {
5322
5392
  &:is([style="color-scheme: dark;"] *) {
5323
5393
  &:hover {
@@ -5406,6 +5476,20 @@
5406
5476
  }
5407
5477
  }
5408
5478
  }
5479
+ .fk\:dark\:data-\[state\=active\]\:border-transparent\! {
5480
+ &:is([style="color-scheme: dark;"] *) {
5481
+ &[data-state="active"] {
5482
+ border-color: transparent !important;
5483
+ }
5484
+ }
5485
+ }
5486
+ .fk\:dark\:data-\[state\=active\]\:bg-background {
5487
+ &:is([style="color-scheme: dark;"] *) {
5488
+ &[data-state="active"] {
5489
+ background-color: hsl(var(--background));
5490
+ }
5491
+ }
5492
+ }
5409
5493
  .fk\:dark\:data-\[state\=active\]\:bg-input\/30 {
5410
5494
  &:is([style="color-scheme: dark;"] *) {
5411
5495
  &[data-state="active"] {
@@ -5519,6 +5603,11 @@
5519
5603
  width: calc(var(--fk-spacing) * 5);
5520
5604
  }
5521
5605
  }
5606
+ .fk\:\[\&_\[data-slot\=scroll-area-scrollbar\]\[data-orientation\=vertical\]\]\:hidden {
5607
+ & [data-slot=scroll-area-scrollbar][data-orientation=vertical] {
5608
+ display: none;
5609
+ }
5610
+ }
5522
5611
  .fk\:\[\&_p\]\:leading-relaxed {
5523
5612
  & p {
5524
5613
  --tw-leading: var(--fk-leading-relaxed);
@@ -6167,6 +6256,24 @@
6167
6256
  html, body {
6168
6257
  height: 100%;
6169
6258
  }
6259
+ @layer components {
6260
+ .flexkit-sidebar-desktop-block, .flexkit-sidebar-desktop-flex, .flexkit-sidebar-sm-flex {
6261
+ display: none;
6262
+ }
6263
+ @media (width >= 40rem) {
6264
+ .flexkit-sidebar-sm-flex {
6265
+ display: flex;
6266
+ }
6267
+ }
6268
+ @media (width >= 48rem) {
6269
+ .flexkit-sidebar-desktop-block {
6270
+ display: block;
6271
+ }
6272
+ .flexkit-sidebar-desktop-flex {
6273
+ display: flex;
6274
+ }
6275
+ }
6276
+ }
6170
6277
  @layer base {
6171
6278
  :root {
6172
6279
  --font-geist-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, 'Apple Color Emoji',
@@ -6759,6 +6866,12 @@ pre {
6759
6866
  transform: rotate(360deg);
6760
6867
  }
6761
6868
  }
6869
+ @keyframes ping {
6870
+ 75%, 100% {
6871
+ transform: scale(2);
6872
+ opacity: 0;
6873
+ }
6874
+ }
6762
6875
  @keyframes pulse {
6763
6876
  50% {
6764
6877
  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-710RgZFw.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-710RgZFw.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';
@@ -117,31 +117,18 @@ declare function filterEntitiesForSpaces(schema: Entity[], userSpaces: string[]
117
117
  declare function canMutateData(role: string | null | undefined): boolean;
118
118
  declare function useCanMutate(): boolean;
119
119
 
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];
120
+ declare const ALL_FIELDS_GROUP_NAME = "all";
121
+ declare const ALL_FIELDS_GROUP: FieldGroup;
136
122
 
137
123
  declare function useAuth(): AuthService;
138
124
 
139
125
  type Props$1 = {
140
126
  scope: string | undefined;
141
127
  checked: boolean;
128
+ disabled?: boolean;
142
129
  onChange: (checked: boolean) => void;
143
130
  };
144
- declare function DefaultValueSwitch({ scope, checked, onChange }: Props$1): JSX.Element | null;
131
+ declare function DefaultValueSwitch({ scope, checked, disabled, onChange }: Props$1): JSX.Element | null;
145
132
 
146
133
  type FetchMoreOptions = {
147
134
  variables: OperationVariables & {
@@ -200,6 +187,15 @@ type EntityQuery = {
200
187
  queryEntityName: string;
201
188
  query: string;
202
189
  };
190
+ type EntityQueryCountMode = 'aggregate' | 'total';
191
+ type SortNotNullWhere = {
192
+ NOT: {
193
+ [attributeName: string]: {
194
+ eq: null;
195
+ };
196
+ };
197
+ };
198
+ declare function getSortNotNullWhere(sort: unknown, entity: Entity | undefined): SortNotNullWhere | undefined;
203
199
  declare function getEntityQuery(entityNamePlural: string, scope: string, schema: Schema, options?: {
204
200
  selection?: 'list' | 'full';
205
201
  /**
@@ -208,11 +204,14 @@ declare function getEntityQuery(entityNamePlural: string, scope: string, schema:
208
204
  * still stands.
209
205
  */
210
206
  includeCount?: boolean;
207
+ countMode?: EntityQueryCountMode;
208
+ operationName?: string;
211
209
  }): EntityQuery;
212
210
  /**
213
211
  * Returns a string with the GraphQl query needed to mutate the dataToMutate object for the given entity and scope.
214
212
  */
215
213
  declare function getEntityUpdateMutation(entityNamePlural: string, entityId: string, scope: string, schema: Schema, originalData: FormEntityItem, dataToMutate: FormEntityItem, options?: {
214
+ currentUser?: User;
216
215
  responseFields?: string;
217
216
  }): string;
218
217
  /**
@@ -228,7 +227,9 @@ declare function getEntityDeleteWhere(ids: string | readonly string[]): {
228
227
  in: string[];
229
228
  };
230
229
  };
231
- declare function getEntityCreateMutation(entityNamePlural: string, schema: Schema, entityData: FormEntityItem, _id: string): string;
230
+ declare function getEntityCreateMutation(entityNamePlural: string, schema: Schema, entityData: FormEntityItem, _id: string, options?: {
231
+ currentUser?: User;
232
+ }): string;
232
233
  declare function getEntitySchema(schema: Schema, entityNamePlural: string): Entity | undefined;
233
234
 
234
235
  interface DataTableFacetedFilterProps<TData, TValue> {
@@ -389,4 +390,4 @@ declare const assetSchema: Entity;
389
390
 
390
391
  declare const tagSchema: Entity;
391
392
 
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 };
393
+ 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 };