cursedbelt 5.91.0 → 5.92.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.
Files changed (87) hide show
  1. package/dist/react/activity-bar/activityBar.css +5 -0
  2. package/dist/react/components/Autocomplete.d.ts +11 -2
  3. package/dist/react/components/Autocomplete.d.ts.map +1 -1
  4. package/dist/react/components/Autocomplete.js +7 -6
  5. package/dist/react/components/Autocomplete.js.map +1 -1
  6. package/dist/react/components/FileDropZone.d.ts.map +1 -1
  7. package/dist/react/components/FileDropZone.js +12 -76
  8. package/dist/react/components/FileDropZone.js.map +1 -1
  9. package/dist/react/components/TagsInput.d.ts +46 -4
  10. package/dist/react/components/TagsInput.d.ts.map +1 -1
  11. package/dist/react/components/TagsInput.js +92 -39
  12. package/dist/react/components/TagsInput.js.map +1 -1
  13. package/dist/react/components/TagsInputSuggesting.d.ts +8 -0
  14. package/dist/react/components/TagsInputSuggesting.d.ts.map +1 -0
  15. package/dist/react/components/TagsInputSuggesting.js +48 -0
  16. package/dist/react/components/TagsInputSuggesting.js.map +1 -0
  17. package/dist/react/components/dropTransfer.d.ts +53 -0
  18. package/dist/react/components/dropTransfer.d.ts.map +1 -0
  19. package/dist/react/components/dropTransfer.js +116 -0
  20. package/dist/react/components/dropTransfer.js.map +1 -0
  21. package/dist/react/components/suggestionList.d.ts +13 -0
  22. package/dist/react/components/suggestionList.d.ts.map +1 -0
  23. package/dist/react/components/suggestionList.js +19 -0
  24. package/dist/react/components/suggestionList.js.map +1 -0
  25. package/dist/react/index.d.ts +1 -0
  26. package/dist/react/index.d.ts.map +1 -1
  27. package/dist/react/index.js +1 -0
  28. package/dist/react/index.js.map +1 -1
  29. package/dist/react/media-gallery/MediaMetaEditor.d.ts +4 -4
  30. package/dist/react/optimistic/optimistic.d.ts +11 -2
  31. package/dist/react/optimistic/optimistic.d.ts.map +1 -1
  32. package/dist/react/optimistic/optimistic.js +4 -2
  33. package/dist/react/optimistic/optimistic.js.map +1 -1
  34. package/dist/scripts/guardrailsEnforce.d.ts.map +1 -1
  35. package/dist/styles-areas/analytics.css +14 -19
  36. package/dist/styles-areas/auth.css +3 -4
  37. package/dist/styles-areas/canvas-hud.css +3 -3
  38. package/dist/styles-areas/chat.css +10 -11
  39. package/dist/styles-areas/code-editor.css +2 -2
  40. package/dist/styles-areas/core.css +60 -54
  41. package/dist/styles-areas/data-table.css +13 -17
  42. package/dist/styles-areas/disk-usage.css +6 -7
  43. package/dist/styles-areas/emoji.css +2 -3
  44. package/dist/styles-areas/fields.css +15 -20
  45. package/dist/styles-areas/master-detail.css +3 -4
  46. package/dist/styles-areas/master-lock.css +1 -2
  47. package/dist/styles-areas/media-gallery.css +8 -10
  48. package/dist/styles-areas/rich-text.css +3 -3
  49. package/dist/styles-areas/stats.css +13 -17
  50. package/dist/styles-areas/wizard.css +6 -11
  51. package/package.json +7 -1
  52. package/scripts/guardrails-baseline.json +1 -1
  53. package/scripts/guardrailsEnforce.spec.ts +13 -0
  54. package/scripts/guardrailsEnforce.ts +5 -3
  55. package/scripts/styleAreas.ts +3 -0
  56. package/src/react/activity-bar/activityBar.css +5 -0
  57. package/src/react/components/Autocomplete.spec.tsx +55 -1
  58. package/src/react/components/Autocomplete.tsx +18 -43
  59. package/src/react/components/FileDropZone.tsx +12 -83
  60. package/src/react/components/TagsInput.spec.tsx +129 -14
  61. package/src/react/components/TagsInput.tsx +153 -85
  62. package/src/react/components/TagsInputSuggesting.tsx +94 -0
  63. package/src/react/components/dropTransfer.spec.ts +76 -0
  64. package/src/react/components/dropTransfer.ts +133 -0
  65. package/src/react/components/suggestionList.tsx +66 -0
  66. package/src/react/disk-usage/DiskUsage.spec.tsx +3 -0
  67. package/src/react/index.ts +1 -0
  68. package/src/react/lib/floatingStyles.spec.ts +2 -1
  69. package/src/react/media-gallery/MediaMetaEditor.tsx +4 -4
  70. package/src/react/optimistic/optimistic.spec.tsx +41 -0
  71. package/src/react/optimistic/optimistic.ts +13 -4
  72. package/src/styles-areas/analytics.css +14 -19
  73. package/src/styles-areas/auth.css +3 -4
  74. package/src/styles-areas/canvas-hud.css +3 -3
  75. package/src/styles-areas/chat.css +10 -11
  76. package/src/styles-areas/code-editor.css +2 -2
  77. package/src/styles-areas/core.css +60 -54
  78. package/src/styles-areas/data-table.css +13 -17
  79. package/src/styles-areas/disk-usage.css +6 -7
  80. package/src/styles-areas/emoji.css +2 -3
  81. package/src/styles-areas/fields.css +15 -20
  82. package/src/styles-areas/master-detail.css +3 -4
  83. package/src/styles-areas/master-lock.css +1 -2
  84. package/src/styles-areas/media-gallery.css +8 -10
  85. package/src/styles-areas/rich-text.css +3 -3
  86. package/src/styles-areas/stats.css +13 -17
  87. package/src/styles-areas/wizard.css +6 -11
@@ -18,14 +18,13 @@
18
18
  * after an app's responsive variant (task 2124). An app that imports every area gets exactly
19
19
  * what `cursedbelt/styles-utilities.css` emits — proved rule by rule in
20
20
  * src/stylesAreas.spec.ts, which is also what fails when this file is stale.
21
- * 25 candidate(s).
21
+ * 21 candidate(s).
22
22
  *
23
23
  * Written by scripts/generateAreaStyles.ts (`bun run styles:areas`), which
24
24
  * `bun run build` runs. The map of what is in which area, and why the areas are
25
25
  * import closures rather than a hand-written list, is scripts/styleAreas.ts.
26
26
  */
27
27
  @source inline("[&::-webkit-scrollbar]:hidden [scrollbar-width:none] bg-[var(--accent)]/12 bg-[var(--card)]");
28
- @source inline("bg-accent/15 border-[var(--border)] flex-row focus-within:border-field-ring focus-within:ring-2");
29
- @source inline("focus-within:ring-field-ring/30 has-[[aria-invalid=true]]:border-field-error");
30
- @source inline("hover:bg-[var(--muted)] hover:bg-muted/80 mb-1.5 mb-4 min-h min-h-full pb-0.5 pr-1 ring-1");
28
+ @source inline("bg-accent/15 border-[var(--border)] flex-row has-[[aria-invalid=true]]:border-field-error");
29
+ @source inline("hover:bg-[var(--muted)] hover:bg-muted/80 mb-1.5 mb-4 min-h min-h-full pb-0.5 ring-1");
31
30
  @source inline("ring-[var(--accent)]/40 ring-accent/30 ring-inset self-stretch shrink-[1000]");
@@ -18,11 +18,10 @@
18
18
  * after an app's responsive variant (task 2124). An app that imports every area gets exactly
19
19
  * what `cursedbelt/styles-utilities.css` emits — proved rule by rule in
20
20
  * src/stylesAreas.spec.ts, which is also what fails when this file is stale.
21
- * 5 candidate(s).
21
+ * 2 candidate(s).
22
22
  *
23
23
  * Written by scripts/generateAreaStyles.ts (`bun run styles:areas`), which
24
24
  * `bun run build` runs. The map of what is in which area, and why the areas are
25
25
  * import closures rather than a hand-written list, is scripts/styleAreas.ts.
26
26
  */
27
- @source inline("focus-within:border-field-ring focus-within:ring-2 focus-within:ring-field-ring/30");
28
27
  @source inline("has-[[aria-invalid=true]]:border-field-error self-stretch");
@@ -18,18 +18,16 @@
18
18
  * after an app's responsive variant (task 2124). An app that imports every area gets exactly
19
19
  * what `cursedbelt/styles-utilities.css` emits — proved rule by rule in
20
20
  * src/stylesAreas.spec.ts, which is also what fails when this file is stale.
21
- * 56 candidate(s).
21
+ * 49 candidate(s).
22
22
  *
23
23
  * Written by scripts/generateAreaStyles.ts (`bun run styles:areas`), which
24
24
  * `bun run build` runs. The map of what is in which area, and why the areas are
25
25
  * import closures rather than a hand-written list, is scripts/styleAreas.ts.
26
26
  */
27
- @source inline("[&_svg]:size-3 appearance-none aspect-video backdrop-blur-xs bg-black/55 bg-black/80 bg-black/85");
28
- @source inline("bg-black/95 bg-white/10 border-none bottom-1 col collapse ease-in-out f");
29
- @source inline("focus-visible:ring-offset-black focus-within:border-field-ring focus-within:ring-2");
30
- @source inline("focus-within:ring-field-ring/30 hover:bg-white/20 hover:border-accent-solid hover:text-white");
31
- @source inline("inset-4 left-1 max-h-[40vh] min-h-20 min-h-dvh min-w-12 min-w-16 min-w-20 min-w-24 mx-1 pl-2");
32
- @source inline("place-items-center pr-1 resize-none right-1 right-4 size-9 text-tone-amber-ink");
33
- @source inline("text-tone-cyan-ink text-tone-emerald-ink text-tone-orange-ink text-tone-purple-ink");
34
- @source inline("text-tone-rose-ink text-tone-sky-ink text-tone-slate-ink text-white/70 top-1 top-4 translate");
35
- @source inline("translate-x-px w-40 w-48 zoom zoom-in");
27
+ @source inline("appearance-none aspect-video backdrop-blur-xs bg-black/55 bg-black/80 bg-black/85 bg-black/95");
28
+ @source inline("bg-white/10 border-none bottom-1 col collapse ease-in-out f focus-visible:ring-offset-black");
29
+ @source inline("hover:bg-white/20 hover:border-accent-solid hover:text-white inset-4 left-1 max-h-[40vh]");
30
+ @source inline("min-h-20 min-h-dvh min-w-12 min-w-16 min-w-20 mx-1 place-items-center resize-none right-1");
31
+ @source inline("right-4 size-9 text-tone-amber-ink text-tone-cyan-ink text-tone-emerald-ink text-tone-orange-ink");
32
+ @source inline("text-tone-purple-ink text-tone-rose-ink text-tone-sky-ink text-tone-slate-ink text-white/70");
33
+ @source inline("top-1 top-4 translate translate-x-px w-40 w-48 zoom zoom-in");
@@ -18,11 +18,11 @@
18
18
  * after an app's responsive variant (task 2124). An app that imports every area gets exactly
19
19
  * what `cursedbelt/styles-utilities.css` emits — proved rule by rule in
20
20
  * src/stylesAreas.spec.ts, which is also what fails when this file is stale.
21
- * 8 candidate(s).
21
+ * 7 candidate(s).
22
22
  *
23
23
  * Written by scripts/generateAreaStyles.ts (`bun run styles:areas`), which
24
24
  * `bun run build` runs. The map of what is in which area, and why the areas are
25
25
  * import closures rather than a hand-written list, is scripts/styleAreas.ts.
26
26
  */
27
- @source inline("flex-nowrap focus-within:ring-2 focus-within:ring-offset-0 focus-within:ring-ring italic");
28
- @source inline("min-h-32 sm:flex-wrap top-full");
27
+ @source inline("flex-nowrap focus-within:ring-offset-0 focus-within:ring-ring italic min-h-32 sm:flex-wrap");
28
+ @source inline("top-full");
@@ -18,29 +18,25 @@
18
18
  * after an app's responsive variant (task 2124). An app that imports every area gets exactly
19
19
  * what `cursedbelt/styles-utilities.css` emits — proved rule by rule in
20
20
  * src/stylesAreas.spec.ts, which is also what fails when this file is stale.
21
- * 103 candidate(s).
21
+ * 86 candidate(s).
22
22
  *
23
23
  * Written by scripts/generateAreaStyles.ts (`bun run styles:areas`), which
24
24
  * `bun run build` runs. The map of what is in which area, and why the areas are
25
25
  * import closures rather than a hand-written list, is scripts/styleAreas.ts.
26
26
  */
27
- @source inline("[&>div]:sm:[grid-template-columns:…] [&_svg]:size-3 [&_svg]:size-3.5 basis-40 bg-accent/15");
28
- @source inline("bg-accent/40 bg-background/70 bg-success/10 bg-warning/10 bg-warning/20 border-field-error");
29
- @source inline("border-l-2 border-l-border-strong border-l-destructive border-l-warning bottom-3 col col-span-2");
30
- @source inline("col-start-2 collapse cursor-help data-[ending-style]:opacity-0 data-[ending-style]:scale-95");
31
- @source inline("data-[highlighted]:bg-accent/10 data-[highlighted]:text-accent-strong");
32
- @source inline("data-[starting-style]:opacity-0 data-[starting-style]:scale-95 divide-x duration-100 first:pl-1");
33
- @source inline("focus-visible:ring-field-ring/40 focus-within:border-field-ring focus-within:ring-2");
34
- @source inline("focus-within:ring-field-ring/30 gap-x-1.5 gap-x-2 gap-y-0.5 grid-cols-[minmax(0,1fr)_auto]");
35
- @source inline("group-focus-visible/meter:opacity-100 group-focus-visible/stat:opacity-100");
36
- @source inline("group-focus-visible/tile:opacity-100 group-hover/meter:opacity-100 group-hover/stat:opacity-100");
37
- @source inline("group-hover/tile:opacity-100 group/meter group/stat group/tile h-105");
38
- @source inline("has-[[aria-invalid=true]]:border-field-error hover:bg-muted/50 hover:border-field-ring");
39
- @source inline("hover:text-warning last:pr-1 left-3 left-[var(--timeline-rail-x)] list-none max-h-64 min-h-20");
40
- @source inline("min-h-9 min-w-24 min-w-34 min-w-[var(--anchor-width)] min-w-full mr-0.5 mr-1.5 mr-2 normal-case");
41
- @source inline("pl-1.5 pl-2 pr-1 pr-16 pr-3 pt-1 resize-none resize-y ring-field-error/30 rounded-b-md");
27
+ @source inline("[&>div]:sm:[grid-template-columns:…] [&_svg]:size-3.5 basis-40 bg-accent/15 bg-accent/40");
28
+ @source inline("bg-background/70 bg-success/10 bg-warning/10 bg-warning/20 border-field-error border-l-2");
29
+ @source inline("border-l-border-strong border-l-destructive border-l-warning bottom-3 col col-span-2 col-start-2");
30
+ @source inline("collapse cursor-help divide-x first:pl-1 focus-visible:ring-field-ring/40 gap-x-1.5 gap-x-2");
31
+ @source inline("gap-y-0.5 grid-cols-[minmax(0,1fr)_auto] group-focus-visible/meter:opacity-100");
32
+ @source inline("group-focus-visible/stat:opacity-100 group-focus-visible/tile:opacity-100");
33
+ @source inline("group-hover/meter:opacity-100 group-hover/stat:opacity-100 group-hover/tile:opacity-100");
34
+ @source inline("group/meter group/stat group/tile h-105 has-[[aria-invalid=true]]:border-field-error");
35
+ @source inline("hover:bg-muted/50 hover:border-field-ring hover:text-warning last:pr-1 left-3");
36
+ @source inline("left-[var(--timeline-rail-x)] list-none min-h-20 min-h-9 min-w-34 min-w-full mr-0.5 mr-1.5 mr-2");
37
+ @source inline("normal-case pl-1.5 pr-16 pr-3 pt-1 resize-none resize-y ring-field-error/30 rounded-b-md");
42
38
  @source inline("rounded-t-md row-start-1 self-stretch shadow-md size-7 sm:col-auto sm:col-span-1 sm:flex-nowrap");
43
39
  @source inline("sm:grid-cols-[minmax(7rem,18rem)_minmax(4rem,1fr)_auto]");
44
40
  @source inline("sm:grid-cols-[minmax(7rem,34rem)_minmax(4rem,1fr)_auto] sm:row-auto sm:truncate text-3xl");
45
41
  @source inline("text-[length:var(--text-glyph)] text-field-placeholder text-foreground/80 text-success text-xl");
46
- @source inline("top-7 tracking-normal transition-[transform,opacity] w-36 w-48 w-88 whitespace-pre z-[1]");
42
+ @source inline("top-7 tracking-normal w-36 w-48 w-88 whitespace-pre z-[1]");
@@ -18,19 +18,14 @@
18
18
  * after an app's responsive variant (task 2124). An app that imports every area gets exactly
19
19
  * what `cursedbelt/styles-utilities.css` emits — proved rule by rule in
20
20
  * src/stylesAreas.spec.ts, which is also what fails when this file is stale.
21
- * 42 candidate(s).
21
+ * 25 candidate(s).
22
22
  *
23
23
  * Written by scripts/generateAreaStyles.ts (`bun run styles:areas`), which
24
24
  * `bun run build` runs. The map of what is in which area, and why the areas are
25
25
  * import closures rather than a hand-written list, is scripts/styleAreas.ts.
26
26
  */
27
- @source inline("[&_svg]:size-3 border-field-error collapse data-[ending-style]:opacity-0");
28
- @source inline("data-[ending-style]:scale-95 data-[highlighted]:bg-accent/10");
29
- @source inline("data-[highlighted]:text-accent-strong data-[starting-style]:opacity-0");
30
- @source inline("data-[starting-style]:scale-95 disabled:bg-transparent disabled:opacity-100 duration-100");
31
- @source inline("focus-visible:ring-field-ring/40 focus-within:border-field-ring focus-within:ring-2");
32
- @source inline("focus-within:ring-field-ring/30 h-105 has-[[aria-invalid=true]]:border-field-error");
33
- @source inline("hover:border-field-ring hover:text-warning max-h-64 min-h-20 min-w-24");
34
- @source inline("min-w-[var(--anchor-width)] mr-1.5 mr-2 pl-1.5 pl-2 pr-1 pr-16 pr-3 resize-none resize-y");
35
- @source inline("ring-field-error/30 self-stretch size-7 sm:inline text-field-placeholder text-xl");
36
- @source inline("transition-[transform,opacity] w-36 w-88");
27
+ @source inline("border-field-error collapse disabled:bg-transparent disabled:opacity-100");
28
+ @source inline("focus-visible:ring-field-ring/40 h-105 has-[[aria-invalid=true]]:border-field-error");
29
+ @source inline("hover:border-field-ring hover:text-warning min-h-20 mr-1.5 mr-2 pl-1.5 pr-16 pr-3 resize-none");
30
+ @source inline("resize-y ring-field-error/30 self-stretch size-7 sm:inline text-field-placeholder text-xl w-36");
31
+ @source inline("w-88");