@joryio/web-sdk 1.4.0-beta.7 → 1.4.0-beta.9

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 (48) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/core/config.d.ts +1 -1
  3. package/dist/core/editor-gate.d.ts +2 -0
  4. package/dist/core/editor-gate.d.ts.map +1 -1
  5. package/dist/core/page-context.d.ts +13 -0
  6. package/dist/core/page-context.d.ts.map +1 -1
  7. package/dist/core/page-edits.d.ts +26 -0
  8. package/dist/core/page-edits.d.ts.map +1 -1
  9. package/dist/core/placements.d.ts +34 -0
  10. package/dist/core/placements.d.ts.map +1 -1
  11. package/dist/core/sdk.d.ts +5 -0
  12. package/dist/core/sdk.d.ts.map +1 -1
  13. package/dist/core/show-when.d.ts +42 -0
  14. package/dist/core/show-when.d.ts.map +1 -0
  15. package/dist/editor/editor-strings.d.ts +11 -0
  16. package/dist/editor/editor-strings.d.ts.map +1 -1
  17. package/dist/editor/editor-ui.d.ts +4 -1
  18. package/dist/editor/editor-ui.d.ts.map +1 -1
  19. package/dist/editor/liquid-field.d.ts +1 -0
  20. package/dist/editor/liquid-field.d.ts.map +1 -1
  21. package/dist/editor/visual-editor.d.ts +25 -2
  22. package/dist/editor/visual-editor.d.ts.map +1 -1
  23. package/dist/index.d.mts +25 -3
  24. package/dist/index.d.ts +2 -0
  25. package/dist/index.d.ts.map +1 -1
  26. package/dist/joryio-cards-ui.min.js +1 -1
  27. package/dist/joryio-cards-ui.min.js.map +1 -1
  28. package/dist/joryio-editor.min.js +2 -2
  29. package/dist/joryio-editor.min.js.map +1 -1
  30. package/dist/joryio-sw.js +1 -1
  31. package/dist/joryio.cjs.js +631 -26
  32. package/dist/joryio.min.js +2 -2
  33. package/dist/joryio.min.js.map +1 -1
  34. package/dist/joryio.mjs +631 -27
  35. package/dist/joryio.umd.js +631 -26
  36. package/package.json +1 -1
  37. package/src/core/config.ts +1 -1
  38. package/src/core/editor-gate.ts +21 -0
  39. package/src/core/page-context.ts +84 -1
  40. package/src/core/page-edits.ts +149 -5
  41. package/src/core/placements.ts +373 -6
  42. package/src/core/sdk.ts +79 -1
  43. package/src/core/show-when.ts +159 -0
  44. package/src/editor/editor-strings.ts +11 -0
  45. package/src/editor/editor-ui.ts +15 -1
  46. package/src/editor/liquid-field.ts +17 -2
  47. package/src/editor/visual-editor.ts +350 -75
  48. package/src/index.ts +4 -0
package/src/index.ts CHANGED
@@ -86,6 +86,10 @@ export type {
86
86
  PlacementsUpdatedCallback,
87
87
  } from './core/placements';
88
88
 
89
+ // Show when: the moment a placement item or page edit is revealed (the same names and values on every Joryio SDK).
90
+ export { SHOW_WHEN_KINDS } from './core/show-when';
91
+ export type { ShowWhen, ShowWhenKind } from './core/show-when';
92
+
89
93
  // Links: the site-wide link handler (the same names and source values on every Joryio SDK).
90
94
  export type { JoryioLink, JoryioLinkSource, JoryioLinkHandler } from './core/links';
91
95