@threadlabs/looma 0.2.19 → 0.3.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 (51) hide show
  1. package/dist/{chunk-A5MSXQ7Y.js → chunk-3NVMCHGR.js} +2225 -1255
  2. package/dist/chunk-XDNZIKNI.js +2721 -0
  3. package/dist/declarative-generated.cjs +93 -79
  4. package/dist/declarative-generated.d.cts +7 -1
  5. package/dist/declarative-generated.d.ts +7 -1
  6. package/dist/declarative-generated.js +91 -78
  7. package/dist/declarative.cjs +1499 -1702
  8. package/dist/declarative.d.cts +77 -3
  9. package/dist/declarative.d.ts +77 -3
  10. package/dist/declarative.js +5 -3
  11. package/dist/index.cjs +3732 -3025
  12. package/dist/index.d.cts +211 -35
  13. package/dist/index.d.ts +211 -35
  14. package/dist/index.js +6 -61
  15. package/dist/loader.cjs +3725 -2962
  16. package/dist/loader.js +2 -2
  17. package/editor/{chunk-WI7ZA44X.js → chunk-U36XNFJN.js} +111 -77
  18. package/editor/extensions/index.d.ts +272 -27
  19. package/editor/index.d.ts +1 -1
  20. package/editor/index.js +1 -1
  21. package/editor/{table-overlay-DoiLie4h.d.ts → table-overlay-DZFGHQDt.d.ts} +48 -6
  22. package/editor/ui.d.ts +15 -11
  23. package/editor/ui.js +1 -1
  24. package/layout/index.cjs +197 -340
  25. package/layout/index.d.cts +11 -0
  26. package/layout/index.d.ts +11 -0
  27. package/layout/index.js +197 -340
  28. package/layout.css +31 -134
  29. package/package.json +24 -11
  30. package/react/index.d.ts +1276 -0
  31. package/react/index.js +1526 -0
  32. package/styles.css +5 -10
  33. package/svelte/index.d.ts +204 -0
  34. package/svelte/index.js +1881 -0
  35. package/theme-dark.css +81 -2
  36. package/theme-high-contrast.css +14 -0
  37. package/theme-light.css +30 -1
  38. package/tokens.css +45 -1
  39. package/vue/chunk-UZMTYDP6.js +4355 -0
  40. package/vue/editor/index.d.ts +78 -8
  41. package/vue/editor/index.js +59 -49
  42. package/vue/index.d.ts +67 -78
  43. package/vue/index.js +3 -9
  44. package/dist/chunk-ECJQ4YGC.js +0 -2925
  45. package/dist/valibot.cjs +0 -31
  46. package/dist/valibot.d.cts +0 -10
  47. package/dist/valibot.d.ts +0 -10
  48. package/dist/valibot.js +0 -9
  49. package/dist/validation-bxcou-l-.d.cts +0 -58
  50. package/dist/validation-bxcou-l-.d.ts +0 -58
  51. package/vue/chunk-P7BZ2KJZ.js +0 -3559
@@ -1,4 +1,15 @@
1
+ /**
2
+ * Origin of a sidebar width transition.
3
+ * The trigger is stable across native HTML and framework adapters, allowing an
4
+ * application to persist or announce user changes without treating initial
5
+ * programmatic synchronization as input.
6
+ */
1
7
  type SidebarResizeTrigger = "keyboard" | "pointer" | "programmatic";
8
+ /**
9
+ * Effective, clamped sidebar width after a transition.
10
+ * Consumers should use this value rather than remeasure during the event; it is
11
+ * already normalized against the component's min/max contract.
12
+ */
2
13
  interface SidebarResizeDetail {
3
14
  width: number;
4
15
  trigger: SidebarResizeTrigger;
package/layout/index.d.ts CHANGED
@@ -1,4 +1,15 @@
1
+ /**
2
+ * Origin of a sidebar width transition.
3
+ * The trigger is stable across native HTML and framework adapters, allowing an
4
+ * application to persist or announce user changes without treating initial
5
+ * programmatic synchronization as input.
6
+ */
1
7
  type SidebarResizeTrigger = "keyboard" | "pointer" | "programmatic";
8
+ /**
9
+ * Effective, clamped sidebar width after a transition.
10
+ * Consumers should use this value rather than remeasure during the event; it is
11
+ * already normalized against the component's min/max contract.
12
+ */
2
13
  interface SidebarResizeDetail {
3
14
  width: number;
4
15
  trigger: SidebarResizeTrigger;