@levo-so/studio 0.1.107 → 0.1.109

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 (43) hide show
  1. package/{BillingStep-CJqmdIz2.js → BillingStep-DZeqbtfs.js} +1 -1
  2. package/{Button-DujHjtOV.js → Button-BMUB23Y7.js} +527 -91
  3. package/CollectionField-xa-jed3_.js +232 -0
  4. package/{DateTimeWidget-CbpvxQ9s.js → DateTimeWidget-DWbn_kXp.js} +4 -3
  5. package/{EntryCard-Drnobf4s.js → EntryCard-BNZ-0_Kv.js} +7 -4
  6. package/{LoginCard-B9HKjZEk.js → LoginCard-B1XlZfEU.js} +3 -3
  7. package/{LoginForm-DpgxFh89.js → LoginForm-NmDPe72V.js} +17 -17
  8. package/{LoginModal-CaqsScly.js → LoginModal-CVd08mNx.js} +2 -2
  9. package/{MessageCard-DojQRKnf.js → MessageCard-C2fU_Bo_.js} +2 -2
  10. package/{ModalManager-CaBZKQR2.js → ModalManager-Dqq7D60M.js} +1 -1
  11. package/{PendingApprovalCard-CrdOrMRu.js → PendingApprovalCard-CXOEpAbg.js} +3 -3
  12. package/{PhoneWidget-BxW2gL28.js → PhoneWidget-CtNIit2w.js} +4 -3
  13. package/{PopupRenderer-CV5HY1dP-hICGc5AG.js → PopupRenderer-SSn97BLs-DQfvcymq.js} +256 -260
  14. package/ProfileCard-CzL5uB2z.js +102 -0
  15. package/{RichTextWidget-DCzgJ9EA.js → RichTextWidget-DkRrKQqN.js} +4 -3
  16. package/{Toolbar-B5UZer_x.js → Toolbar-C3WDkSnO.js} +4 -4
  17. package/{VerifyButton-DFAg6STD.js → VerifyButton-TNkt-SDu.js} +1 -1
  18. package/{bookingCard-BgApvrcj.js → bookingCard-61Yx6JO-.js} +2 -2
  19. package/collection.d.ts +14 -6
  20. package/collection.js +8 -7
  21. package/dist-Cfv-YjpI.js +3469 -0
  22. package/getFieldValidations-CSkSV2hW.js +90 -0
  23. package/index.d.ts +235 -16
  24. package/index.js +1743 -1405
  25. package/{nodeAlignment-DKCIjzlR.js → nodeAlignment-BC_Uferw.js} +5 -5
  26. package/package.json +4 -4
  27. package/studio.css +1 -1
  28. package/{utils-CUqS5dMC.js → utils-BJLmuC5w.js} +1 -1
  29. package/widgets-K6ECnoJJ.js +335 -0
  30. package/CollectionField-BPl8E9MW.js +0 -318
  31. package/CollectionFormBuilder-BvFtiZeH.js +0 -3668
  32. package/dist-DZbXWctg.js +0 -97
  33. /package/{Beams-DboMUgCv.js → Beams-WJN38XSv.js} +0 -0
  34. /package/{CollectionInput-DcNJT5Pg.js → CollectionInput-CpNGIXJx.js} +0 -0
  35. /package/{Dots-a8xSboDv.js → Dots-DggLz5I7.js} +0 -0
  36. /package/{Gradient-NacpoDCM.js → Gradient-BSWJAu0a.js} +0 -0
  37. /package/{Grid-BJQvxnks.js → Grid-BFKl0MUt.js} +0 -0
  38. /package/{MessageFooter-C4qC8cem.js → MessageFooter-4qIEK91O.js} +0 -0
  39. /package/{Popover-DOvRAGzc.js → Popover-O1poOHk2.js} +0 -0
  40. /package/{Tooltip-CJINDx93.js → Tooltip-NEMQqPyr.js} +0 -0
  41. /package/{Waves-DUuT_IFr.js → Waves-BPEgTYoO.js} +0 -0
  42. /package/{authentication-ClOFcry8.js → authentication-hnV1BI8s.js} +0 -0
  43. /package/{card-E2LKF9nT.js → card-5ooLmYSr.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  import { Extension as e, findParentNodeClosestToPos as t } from "@tiptap/core";
2
- import { CellSelection as n, cellAround as r } from "@tiptap/pm/tables";
3
- import { NodeSelection as i } from "@tiptap/pm/state";
2
+ import { NodeSelection as n } from "@tiptap/pm/state";
3
+ import { CellSelection as r, cellAround as i } from "@tiptap/pm/tables";
4
4
  //#region ../../libraries/editor-core/dist/utils/getSelectedNodeOfType.js
5
5
  function a(e, a) {
6
6
  let o = [], s = new Set(a);
7
- if (e instanceof n) return e.forEachCell((e, t) => {
7
+ if (e instanceof r) return e.forEachCell((e, t) => {
8
8
  s.has(e.type.name) && o.push({
9
9
  node: e,
10
10
  pos: t
11
11
  });
12
12
  }), o;
13
- if (e instanceof i) {
13
+ if (e instanceof n) {
14
14
  let { node: t, from: n } = e;
15
15
  return t && s.has(t.type.name) && o.push({
16
16
  node: t,
17
17
  pos: n
18
18
  }), o;
19
19
  }
20
- let { $anchor: c } = e, l = r(c);
20
+ let { $anchor: c } = e, l = i(c);
21
21
  if (l) {
22
22
  let t = e.$anchor.doc.nodeAt(l.pos);
23
23
  if (t && s.has(t.type.name)) return o.push({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@levo-so/studio",
3
- "version": "0.1.107",
3
+ "version": "0.1.109",
4
4
  "author": "Levo Engineering <devs@theinternetfolks.com>",
5
5
  "description": "Levo Studio components and utilities for building block-based pages",
6
6
  "type": "module",
@@ -115,8 +115,8 @@
115
115
  "react": ">=19",
116
116
  "next": ">=14",
117
117
  "react-dom": ">=19",
118
- "@levo-so/core": "0.1.105",
119
- "@levo-so/react": "0.1.105",
120
- "@levo-so/insights": "0.1.105"
118
+ "@levo-so/core": "0.1.109",
119
+ "@levo-so/insights": "0.1.109",
120
+ "@levo-so/react": "0.1.109"
121
121
  }
122
122
  }