@superblocksteam/library 1.99.99-next.2 → 2.0.0-SNAPSHOT.041d4af83c6f028a

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 (436) hide show
  1. package/README.md +1 -26
  2. package/dist/build-manifest-BQAcrmit.js +6 -0
  3. package/dist/build-manifest-BQAcrmit.js.map +1 -0
  4. package/dist/devtools-consolidated-C5sXwPGD.js +156 -0
  5. package/dist/devtools-consolidated-C5sXwPGD.js.map +1 -0
  6. package/dist/early-console-buffer-BJWsc4E3.js +133 -0
  7. package/dist/early-console-buffer-BJWsc4E3.js.map +1 -0
  8. package/dist/jsx-dev-runtime/index.d.ts +14 -0
  9. package/dist/jsx-dev-runtime/index.d.ts.map +1 -0
  10. package/dist/jsx-dev-runtime/index.js +52 -0
  11. package/dist/jsx-dev-runtime/index.js.map +1 -0
  12. package/dist/jsx-runtime/index.d.ts +7 -0
  13. package/dist/jsx-runtime/index.d.ts.map +1 -0
  14. package/dist/jsx-runtime/index.js +9 -0
  15. package/dist/jsx-runtime/index.js.map +1 -0
  16. package/dist/jsx-wrapper-CAKd0FsI.js +638 -0
  17. package/dist/jsx-wrapper-CAKd0FsI.js.map +1 -0
  18. package/dist/lib/index.d.ts +2336 -0
  19. package/dist/lib/index.d.ts.map +1 -0
  20. package/dist/lib/index.js +7677 -0
  21. package/dist/lib/index.js.map +1 -0
  22. package/dist/logs-DwKJqoRc.js +29 -0
  23. package/dist/logs-DwKJqoRc.js.map +1 -0
  24. package/dist/rolldown-runtime-CiIaOW0V.js +13 -0
  25. package/dist/root-store-DFc-KUI6.js +3845 -0
  26. package/dist/root-store-DFc-KUI6.js.map +1 -0
  27. package/dist/sdk-api-discovery-ChkM2xTd.js +366 -0
  28. package/dist/sdk-api-discovery-ChkM2xTd.js.map +1 -0
  29. package/dist/style.css +355 -0
  30. package/dist/utils-Blrvh8kW.js +61 -0
  31. package/dist/utils-Blrvh8kW.js.map +1 -0
  32. package/package.json +79 -105
  33. package/dist/allPaths-CCZMME3l.js +0 -17
  34. package/dist/allPaths-CCZMME3l.js.map +0 -1
  35. package/dist/allPaths-CHXNxDVP.js +0 -17
  36. package/dist/allPaths-CHXNxDVP.js.map +0 -1
  37. package/dist/allPathsLoader-DTWFaGcd.js +0 -22
  38. package/dist/allPathsLoader-DTWFaGcd.js.map +0 -1
  39. package/dist/allPathsLoader-Fr8EhLGp.js +0 -22
  40. package/dist/allPathsLoader-Fr8EhLGp.js.map +0 -1
  41. package/dist/icons-BrNMuu_I.js +0 -40
  42. package/dist/icons-BrNMuu_I.js.map +0 -1
  43. package/dist/index-BxzKdlqH.js +0 -1353
  44. package/dist/index-BxzKdlqH.js.map +0 -1
  45. package/dist/index-DIJYif9G.js +0 -1341
  46. package/dist/index-DIJYif9G.js.map +0 -1
  47. package/dist/index-DIn-fanT.js +0 -1353
  48. package/dist/index-DIn-fanT.js.map +0 -1
  49. package/dist/index-LHtbj0-V.js +0 -1341
  50. package/dist/index-LHtbj0-V.js.map +0 -1
  51. package/dist/index-U0oPeutu.js +0 -189889
  52. package/dist/index-U0oPeutu.js.map +0 -1
  53. package/dist/index.css +0 -34239
  54. package/dist/index.js +0 -164
  55. package/dist/index.js.map +0 -1
  56. package/dist/splitPathsBySizeLoader-DHk6oFvg.js +0 -34
  57. package/dist/splitPathsBySizeLoader-DHk6oFvg.js.map +0 -1
  58. package/dist/splitPathsBySizeLoader-PcZVWYaJ.js +0 -34
  59. package/dist/splitPathsBySizeLoader-PcZVWYaJ.js.map +0 -1
  60. package/dist-types/app-internal.d.ts +0 -4
  61. package/dist-types/docs-utils/generate-docs.d.ts +0 -2
  62. package/dist-types/edit-mode/collisions-layer.d.ts +0 -3
  63. package/dist-types/edit-mode/create-component.d.ts +0 -8
  64. package/dist-types/edit-mode/debug-tools.d.ts +0 -11
  65. package/dist-types/edit-mode/dnd/collision-detection.d.ts +0 -3
  66. package/dist-types/edit-mode/dnd/dnd-provider.d.ts +0 -4
  67. package/dist-types/edit-mode/dnd/draggable-widget.d.ts +0 -7
  68. package/dist-types/edit-mode/dnd/drop-layer.d.ts +0 -5
  69. package/dist-types/edit-mode/dnd/droppable-widget.d.ts +0 -10
  70. package/dist-types/edit-mode/dnd/grid-drop.d.ts +0 -4
  71. package/dist-types/edit-mode/dnd/grid-store.d.ts +0 -33
  72. package/dist-types/edit-mode/dnd/grid-utils.d.ts +0 -8
  73. package/dist-types/edit-mode/dnd/handle-grid-drop.d.ts +0 -9
  74. package/dist-types/edit-mode/dnd/handle-stack-drop.d.ts +0 -9
  75. package/dist-types/edit-mode/dnd/hooks/use-component-draggable.d.ts +0 -5
  76. package/dist-types/edit-mode/dnd/hooks/use-component-droppable.d.ts +0 -6
  77. package/dist-types/edit-mode/dnd/hooks/use-handle-dnd-events.d.ts +0 -1
  78. package/dist-types/edit-mode/dnd/hooks/use-widget-node-ref.d.ts +0 -2
  79. package/dist-types/edit-mode/dnd/new-components-drag-layer.d.ts +0 -6
  80. package/dist-types/edit-mode/dnd/stack-drop.d.ts +0 -4
  81. package/dist-types/edit-mode/dnd/stack-store.d.ts +0 -10
  82. package/dist-types/edit-mode/dnd/stack-utils.d.ts +0 -13
  83. package/dist-types/edit-mode/dnd/types.d.ts +0 -45
  84. package/dist-types/edit-mode/dnd/utils.d.ts +0 -13
  85. package/dist-types/edit-mode/duplicated-name-popover.d.ts +0 -7
  86. package/dist-types/edit-mode/edit-store.d.ts +0 -28
  87. package/dist-types/edit-mode/edit-wrapper.d.ts +0 -18
  88. package/dist-types/edit-mode/editor-hotkeys.d.ts +0 -3
  89. package/dist-types/edit-mode/features/connection-manager.d.ts +0 -10
  90. package/dist-types/edit-mode/features/drag-and-drop-store.d.ts +0 -69
  91. package/dist-types/edit-mode/features/interaction-layer-manager.d.ts +0 -17
  92. package/dist-types/edit-mode/features/operation-store.d.ts +0 -49
  93. package/dist-types/edit-mode/features/properties-panel-manager.d.ts +0 -31
  94. package/dist-types/edit-mode/features/resizing-store.d.ts +0 -53
  95. package/dist-types/edit-mode/features/runtime-entities-manager.d.ts +0 -94
  96. package/dist-types/edit-mode/features/runtime-widgets-manager.d.ts +0 -55
  97. package/dist-types/edit-mode/features/ui-store.d.ts +0 -41
  98. package/dist-types/edit-mode/hooks/use-register-source-element.d.ts +0 -2
  99. package/dist-types/edit-mode/iframe-wrappers.d.ts +0 -4
  100. package/dist-types/edit-mode/interaction-add-section-button.d.ts +0 -4
  101. package/dist-types/edit-mode/interaction-layer.d.ts +0 -11
  102. package/dist-types/edit-mode/interaction-rect-handles.d.ts +0 -7
  103. package/dist-types/edit-mode/interaction-rect-name-pill.d.ts +0 -13
  104. package/dist-types/edit-mode/interaction-rect.d.ts +0 -44
  105. package/dist-types/edit-mode/interaction-utils.d.ts +0 -4
  106. package/dist-types/edit-mode/mobx-sync/create-patch.d.ts +0 -2
  107. package/dist-types/edit-mode/mobx-sync/deep-observe.d.ts +0 -24
  108. package/dist-types/edit-mode/mobx-sync/mobx-editor-sync.d.ts +0 -23
  109. package/dist-types/edit-mode/properties.d.ts +0 -13
  110. package/dist-types/edit-mode/resize-capabilities.d.ts +0 -5
  111. package/dist-types/edit-mode/right-click-menu/right-click-menu.d.ts +0 -14
  112. package/dist-types/edit-mode/roots.d.ts +0 -9
  113. package/dist-types/edit-mode/runtime-children.d.ts +0 -14
  114. package/dist-types/edit-mode/sb-component-from-meta.d.ts +0 -2
  115. package/dist-types/edit-mode/source-update-api.d.ts +0 -26
  116. package/dist-types/edit-mode/superblocks-editor-bridge.d.ts +0 -34
  117. package/dist-types/internal-testing/components/api.d.ts +0 -3
  118. package/dist-types/internal-testing/components/button.d.ts +0 -1
  119. package/dist-types/internal-testing/components/checkbox.d.ts +0 -1
  120. package/dist-types/internal-testing/components/container.d.ts +0 -1
  121. package/dist-types/internal-testing/components/date-picker.d.ts +0 -1
  122. package/dist-types/internal-testing/components/dropdown.d.ts +0 -1
  123. package/dist-types/internal-testing/components/icon.d.ts +0 -1
  124. package/dist-types/internal-testing/components/image.d.ts +0 -1
  125. package/dist-types/internal-testing/components/input.d.ts +0 -1
  126. package/dist-types/internal-testing/components/key-value.d.ts +0 -1
  127. package/dist-types/internal-testing/components/modal.d.ts +0 -1
  128. package/dist-types/internal-testing/components/section-column.d.ts +0 -1
  129. package/dist-types/internal-testing/components/switch.d.ts +0 -1
  130. package/dist-types/internal-testing/components/table.d.ts +0 -1
  131. package/dist-types/internal-testing/components/timer.d.ts +0 -3
  132. package/dist-types/internal-testing/components/variable.d.ts +0 -3
  133. package/dist-types/internal-testing/utils.d.ts +0 -5
  134. package/dist-types/internal-testing/widgets.d.ts +0 -2
  135. package/dist-types/lib/hooks/use-alignment-styles.d.ts +0 -9
  136. package/dist-types/lib/hooks/use-cached-value.d.ts +0 -11
  137. package/dist-types/lib/hooks/use-callback-as-ref.d.ts +0 -1
  138. package/dist-types/lib/hooks/use-deep-memo.d.ts +0 -9
  139. package/dist-types/lib/hooks/use-editor-hotkeys.d.ts +0 -3
  140. package/dist-types/lib/hooks/use-element-rect.d.ts +0 -7
  141. package/dist-types/lib/hooks/use-observer-memo.d.ts +0 -14
  142. package/dist-types/lib/hooks/use-observer-memo.test.d.ts +0 -1
  143. package/dist-types/lib/hooks/use-pointer-down-outside.d.ts +0 -15
  144. package/dist-types/lib/hooks/use-stable-effect.d.ts +0 -22
  145. package/dist-types/lib/hooks/use-stable-effect.test.d.ts +0 -1
  146. package/dist-types/lib/index.d.ts +0 -40
  147. package/dist-types/lib/internal-details/actions-context.d.ts +0 -9
  148. package/dist-types/lib/internal-details/component-info-context.d.ts +0 -10
  149. package/dist-types/lib/internal-details/entities-state.d.ts +0 -10
  150. package/dist-types/lib/internal-details/entities.d.ts +0 -5
  151. package/dist-types/lib/internal-details/env.d.ts +0 -1
  152. package/dist-types/lib/internal-details/identifier-normalizer.d.ts +0 -9
  153. package/dist-types/lib/internal-details/is-sb-component.d.ts +0 -7
  154. package/dist-types/lib/internal-details/lib/devtools.d.ts +0 -1
  155. package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +0 -97
  156. package/dist-types/lib/internal-details/lib/evaluator/binding-extraction.d.ts +0 -2
  157. package/dist-types/lib/internal-details/lib/evaluator/binding-strings/transform-bindings.d.ts +0 -6
  158. package/dist-types/lib/internal-details/lib/evaluator/compute-engines.d.ts +0 -20
  159. package/dist-types/lib/internal-details/lib/evaluator/create-global-object.d.ts +0 -7
  160. package/dist-types/lib/internal-details/lib/evaluator/create-scope-proxy.d.ts +0 -2
  161. package/dist-types/lib/internal-details/lib/evaluator/deep-observe.d.ts +0 -27
  162. package/dist-types/lib/internal-details/lib/evaluator/entity-manager.d.ts +0 -83
  163. package/dist-types/lib/internal-details/lib/evaluator/entity-types.d.ts +0 -16
  164. package/dist-types/lib/internal-details/lib/evaluator/lazy-function.d.ts +0 -7
  165. package/dist-types/lib/internal-details/lib/evaluator/names.d.ts +0 -7
  166. package/dist-types/lib/internal-details/lib/evaluator/pretty-print-function.d.ts +0 -2
  167. package/dist-types/lib/internal-details/lib/evaluator/to-executables-or-values.d.ts +0 -32
  168. package/dist-types/lib/internal-details/lib/evaluator/use-shallow-mobx-observer.d.ts +0 -1
  169. package/dist-types/lib/internal-details/lib/evaluator/use-shallow-mobx-observer.test.d.ts +0 -1
  170. package/dist-types/lib/internal-details/lib/features/api-store.d.ts +0 -36
  171. package/dist-types/lib/internal-details/lib/features/api-utils.d.ts +0 -77
  172. package/dist-types/lib/internal-details/lib/features/component-registry.d.ts +0 -27
  173. package/dist-types/lib/internal-details/lib/features/injected-features.d.ts +0 -8
  174. package/dist-types/lib/internal-details/lib/features/name-manager.d.ts +0 -36
  175. package/dist-types/lib/internal-details/lib/iframe.d.ts +0 -44
  176. package/dist-types/lib/internal-details/lib/mobx-cached-getter.d.ts +0 -1
  177. package/dist-types/lib/internal-details/lib/resolve-id-singleton.d.ts +0 -4
  178. package/dist-types/lib/internal-details/lib/root-store.d.ts +0 -30
  179. package/dist-types/lib/internal-details/lib/throttle.d.ts +0 -2
  180. package/dist-types/lib/internal-details/lib/types.d.ts +0 -226
  181. package/dist-types/lib/internal-details/reactive-component.d.ts +0 -10
  182. package/dist-types/lib/internal-details/sb-wrapper-notes.d.ts +0 -1
  183. package/dist-types/lib/internal-details/sb-wrapper.d.ts +0 -14
  184. package/dist-types/lib/internal-details/scope/global.d.ts +0 -9
  185. package/dist-types/lib/internal-details/scope/scope-context.d.ts +0 -8
  186. package/dist-types/lib/internal-details/scope/scope.d.ts +0 -12
  187. package/dist-types/lib/internal-details/size.d.ts +0 -1
  188. package/dist-types/lib/internal-details/theme-context.d.ts +0 -8
  189. package/dist-types/lib/internal-details/use-track-runtime-widget.d.ts +0 -15
  190. package/dist-types/lib/sb-trigger.d.ts +0 -53
  191. package/dist-types/lib/triggers/base.d.ts +0 -17
  192. package/dist-types/lib/triggers/implementations/apis/cancel-apis.d.ts +0 -19
  193. package/dist-types/lib/triggers/implementations/apis/run-apis.d.ts +0 -21
  194. package/dist-types/lib/triggers/implementations/components/control-modal.d.ts +0 -17
  195. package/dist-types/lib/triggers/implementations/components/control-slideout.d.ts +0 -17
  196. package/dist-types/lib/triggers/implementations/components/reset-component.d.ts +0 -20
  197. package/dist-types/lib/triggers/implementations/components/set-component-property.d.ts +0 -20
  198. package/dist-types/lib/triggers/implementations/navigate/navigate-to-app.d.ts +0 -28
  199. package/dist-types/lib/triggers/implementations/navigate/navigate-to-route.d.ts +0 -23
  200. package/dist-types/lib/triggers/implementations/navigate/navigate-to.d.ts +0 -26
  201. package/dist-types/lib/triggers/implementations/navigate/set-query-params.d.ts +0 -18
  202. package/dist-types/lib/triggers/implementations/run-js.d.ts +0 -18
  203. package/dist-types/lib/triggers/implementations/set-profile.d.ts +0 -17
  204. package/dist-types/lib/triggers/implementations/show-alert.d.ts +0 -22
  205. package/dist-types/lib/triggers/implementations/state/reset-state-var.d.ts +0 -15
  206. package/dist-types/lib/triggers/implementations/state/set-state-var.d.ts +0 -18
  207. package/dist-types/lib/triggers/implementations/timers/control-timer.d.ts +0 -17
  208. package/dist-types/lib/triggers/implementations/trigger-event.d.ts +0 -17
  209. package/dist-types/lib/triggers/registry.d.ts +0 -174
  210. package/dist-types/lib/triggers/run-event-handlers.d.ts +0 -10
  211. package/dist-types/lib/user-facing/component-base/components/autolinked-text.d.ts +0 -8
  212. package/dist-types/lib/user-facing/component-base/components/button.d.ts +0 -46
  213. package/dist-types/lib/user-facing/component-base/components/checkbox.d.ts +0 -12
  214. package/dist-types/lib/user-facing/component-base/components/dropdown-select.d.ts +0 -4
  215. package/dist-types/lib/user-facing/component-base/components/dynamic-svg.d.ts +0 -10
  216. package/dist-types/lib/user-facing/component-base/components/expand-button.d.ts +0 -8
  217. package/dist-types/lib/user-facing/component-base/components/loading-animator.d.ts +0 -4
  218. package/dist-types/lib/user-facing/component-base/components/plain-link.d.ts +0 -1
  219. package/dist-types/lib/user-facing/component-base/components/popper.d.ts +0 -20
  220. package/dist-types/lib/user-facing/component-base/components/search-component.d.ts +0 -19
  221. package/dist-types/lib/user-facing/component-base/components/span-trunc-middle.d.ts +0 -9
  222. package/dist-types/lib/user-facing/component-base/components/switch.d.ts +0 -6
  223. package/dist-types/lib/user-facing/component-base/constants.d.ts +0 -18
  224. package/dist-types/lib/user-facing/component-base/error/error-inline-message.d.ts +0 -36
  225. package/dist-types/lib/user-facing/component-base/error/error-tooltip.d.ts +0 -11
  226. package/dist-types/lib/user-facing/component-base/error/error-utils.d.ts +0 -13
  227. package/dist-types/lib/user-facing/component-base/error/widget-errors-wrapper.d.ts +0 -15
  228. package/dist-types/lib/user-facing/component-base/error-boundary.d.ts +0 -18
  229. package/dist-types/lib/user-facing/component-base/sb-component.d.ts +0 -18
  230. package/dist-types/lib/user-facing/component-base/styles/button-styles.d.ts +0 -16
  231. package/dist-types/lib/user-facing/component-base/styles/hover-styles.d.ts +0 -10
  232. package/dist-types/lib/user-facing/component-base/styles/input-styles.d.ts +0 -2
  233. package/dist-types/lib/user-facing/component-base/use-passthrough-props.d.ts +0 -6
  234. package/dist-types/lib/user-facing/component-base/utils/format-utils.d.ts +0 -37
  235. package/dist-types/lib/user-facing/component-base/utils/input-validation.d.ts +0 -17
  236. package/dist-types/lib/user-facing/components/button/index.d.ts +0 -37
  237. package/dist-types/lib/user-facing/components/button/props.d.ts +0 -48
  238. package/dist-types/lib/user-facing/components/checkbox/checkbox-component.d.ts +0 -9
  239. package/dist-types/lib/user-facing/components/checkbox/index.d.ts +0 -43
  240. package/dist-types/lib/user-facing/components/checkbox/props.d.ts +0 -44
  241. package/dist-types/lib/user-facing/components/checkbox/types.d.ts +0 -19
  242. package/dist-types/lib/user-facing/components/column/index.d.ts +0 -51
  243. package/dist-types/lib/user-facing/components/column/props.d.ts +0 -45
  244. package/dist-types/lib/user-facing/components/container/index.d.ts +0 -63
  245. package/dist-types/lib/user-facing/components/container/props.d.ts +0 -58
  246. package/dist-types/lib/user-facing/components/custom/context.d.ts +0 -11
  247. package/dist-types/lib/user-facing/components/custom/index.d.ts +0 -2
  248. package/dist-types/lib/user-facing/components/custom/register-custom-component.d.ts +0 -27
  249. package/dist-types/lib/user-facing/components/date-picker/constants.d.ts +0 -8
  250. package/dist-types/lib/user-facing/components/date-picker/date-picker-component.d.ts +0 -29
  251. package/dist-types/lib/user-facing/components/date-picker/date-picker.d.ts +0 -2
  252. package/dist-types/lib/user-facing/components/date-picker/index.d.ts +0 -63
  253. package/dist-types/lib/user-facing/components/date-picker/props.d.ts +0 -65
  254. package/dist-types/lib/user-facing/components/date-picker/props.test-d.d.ts +0 -1
  255. package/dist-types/lib/user-facing/components/date-picker/side-effects.d.ts +0 -3
  256. package/dist-types/lib/user-facing/components/date-picker/types.d.ts +0 -40
  257. package/dist-types/lib/user-facing/components/date-picker/utils.d.ts +0 -24
  258. package/dist-types/lib/user-facing/components/dropdown/constants.d.ts +0 -5
  259. package/dist-types/lib/user-facing/components/dropdown/dropdown-component.d.ts +0 -106
  260. package/dist-types/lib/user-facing/components/dropdown/index.d.ts +0 -73
  261. package/dist-types/lib/user-facing/components/dropdown/multi-dropdown.d.ts +0 -18
  262. package/dist-types/lib/user-facing/components/dropdown/normalize-values.d.ts +0 -2
  263. package/dist-types/lib/user-facing/components/dropdown/props.d.ts +0 -76
  264. package/dist-types/lib/user-facing/components/dropdown/types.d.ts +0 -89
  265. package/dist-types/lib/user-facing/components/dropdown/utils.d.ts +0 -8
  266. package/dist-types/lib/user-facing/components/grid/calculations/calculate-constraints.d.ts +0 -26
  267. package/dist-types/lib/user-facing/components/grid/calculations/calculate-row-positions.d.ts +0 -2
  268. package/dist-types/lib/user-facing/components/grid/calculations/order-constraints.d.ts +0 -2
  269. package/dist-types/lib/user-facing/components/grid/index.d.ts +0 -36
  270. package/dist-types/lib/user-facing/components/grid/use-height-observer.d.ts +0 -5
  271. package/dist-types/lib/user-facing/components/grid/utils.d.ts +0 -1
  272. package/dist-types/lib/user-facing/components/icon/index.d.ts +0 -22
  273. package/dist-types/lib/user-facing/components/icon/props.d.ts +0 -24
  274. package/dist-types/lib/user-facing/components/image/image-component.d.ts +0 -38
  275. package/dist-types/lib/user-facing/components/image/index.d.ts +0 -29
  276. package/dist-types/lib/user-facing/components/image/props.d.ts +0 -39
  277. package/dist-types/lib/user-facing/components/input/constants.d.ts +0 -24
  278. package/dist-types/lib/user-facing/components/input/derived-properties.d.ts +0 -5
  279. package/dist-types/lib/user-facing/components/input/index.d.ts +0 -96
  280. package/dist-types/lib/user-facing/components/input/input-component.d.ts +0 -57
  281. package/dist-types/lib/user-facing/components/input/props.d.ts +0 -100
  282. package/dist-types/lib/user-facing/components/input/styles.d.ts +0 -6
  283. package/dist-types/lib/user-facing/components/input/types.d.ts +0 -45
  284. package/dist-types/lib/user-facing/components/input/utils.d.ts +0 -15
  285. package/dist-types/lib/user-facing/components/key-value/components/key-styles.d.ts +0 -3
  286. package/dist-types/lib/user-facing/components/key-value/components/property-key.d.ts +0 -7
  287. package/dist-types/lib/user-facing/components/key-value/components/property-value.d.ts +0 -12
  288. package/dist-types/lib/user-facing/components/key-value/components/value-styles.d.ts +0 -6
  289. package/dist-types/lib/user-facing/components/key-value/constants.d.ts +0 -7
  290. package/dist-types/lib/user-facing/components/key-value/derived-properties.d.ts +0 -1
  291. package/dist-types/lib/user-facing/components/key-value/index.d.ts +0 -6
  292. package/dist-types/lib/user-facing/components/key-value/key-value-component.d.ts +0 -2
  293. package/dist-types/lib/user-facing/components/key-value/properties-props.d.ts +0 -45
  294. package/dist-types/lib/user-facing/components/key-value/props.d.ts +0 -38
  295. package/dist-types/lib/user-facing/components/key-value/styles.d.ts +0 -22
  296. package/dist-types/lib/user-facing/components/key-value/types.d.ts +0 -106
  297. package/dist-types/lib/user-facing/components/key-value/utils.d.ts +0 -11
  298. package/dist-types/lib/user-facing/components/modal/constants.d.ts +0 -8
  299. package/dist-types/lib/user-facing/components/modal/index.d.ts +0 -49
  300. package/dist-types/lib/user-facing/components/modal/modal-component.d.ts +0 -37
  301. package/dist-types/lib/user-facing/components/modal/props.d.ts +0 -46
  302. package/dist-types/lib/user-facing/components/page/index.d.ts +0 -13
  303. package/dist-types/lib/user-facing/components/page/props.d.ts +0 -15
  304. package/dist-types/lib/user-facing/components/page/register-page.d.ts +0 -2
  305. package/dist-types/lib/user-facing/components/section/index.d.ts +0 -22
  306. package/dist-types/lib/user-facing/components/section/props.d.ts +0 -25
  307. package/dist-types/lib/user-facing/components/slideout/index.d.ts +0 -1
  308. package/dist-types/lib/user-facing/components/slideout/props.d.ts +0 -15
  309. package/dist-types/lib/user-facing/components/stack/index.d.ts +0 -60
  310. package/dist-types/lib/user-facing/components/switch/index.d.ts +0 -44
  311. package/dist-types/lib/user-facing/components/switch/props.d.ts +0 -45
  312. package/dist-types/lib/user-facing/components/switch/switch-component.d.ts +0 -5
  313. package/dist-types/lib/user-facing/components/switch/types.d.ts +0 -19
  314. package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +0 -178
  315. package/dist-types/lib/user-facing/components/table/components/autotooltip-component.d.ts +0 -17
  316. package/dist-types/lib/user-facing/components/table/components/boolean-value-icons.d.ts +0 -16
  317. package/dist-types/lib/user-facing/components/table/components/column-settings.d.ts +0 -11
  318. package/dist-types/lib/user-facing/components/table/components/edit-cell.d.ts +0 -15
  319. package/dist-types/lib/user-facing/components/table/components/edit-checkbox-cell.d.ts +0 -11
  320. package/dist-types/lib/user-facing/components/table/components/edit-date-cell.d.ts +0 -12
  321. package/dist-types/lib/user-facing/components/table/components/edit-input-cell.d.ts +0 -14
  322. package/dist-types/lib/user-facing/components/table/components/edit-multi-select-cell.d.ts +0 -13
  323. package/dist-types/lib/user-facing/components/table/components/edit-single-select-cell.d.ts +0 -13
  324. package/dist-types/lib/user-facing/components/table/components/edit-utils.d.ts +0 -28
  325. package/dist-types/lib/user-facing/components/table/components/editable-link-cell.d.ts +0 -20
  326. package/dist-types/lib/user-facing/components/table/components/filter-popover-content.d.ts +0 -37
  327. package/dist-types/lib/user-facing/components/table/components/popover-video.d.ts +0 -5
  328. package/dist-types/lib/user-facing/components/table/components/table-action-icon.d.ts +0 -13
  329. package/dist-types/lib/user-facing/components/table/components/table-column-header-button.d.ts +0 -19
  330. package/dist-types/lib/user-facing/components/table/components/table-data-download.d.ts +0 -15
  331. package/dist-types/lib/user-facing/components/table/components/table-footer.d.ts +0 -40
  332. package/dist-types/lib/user-facing/components/table/components/table-header.d.ts +0 -62
  333. package/dist-types/lib/user-facing/components/table/components/table-loading-state.d.ts +0 -11
  334. package/dist-types/lib/user-facing/components/table/components/table-pagination-input.d.ts +0 -10
  335. package/dist-types/lib/user-facing/components/table/components/table-pagination.d.ts +0 -18
  336. package/dist-types/lib/user-facing/components/table/components/table-row-context-menu.d.ts +0 -17
  337. package/dist-types/lib/user-facing/components/table/components/table-tag.d.ts +0 -25
  338. package/dist-types/lib/user-facing/components/table/constants.d.ts +0 -111
  339. package/dist-types/lib/user-facing/components/table/derived-properties.d.ts +0 -20
  340. package/dist-types/lib/user-facing/components/table/index.d.ts +0 -255
  341. package/dist-types/lib/user-facing/components/table/props.d.ts +0 -259
  342. package/dist-types/lib/user-facing/components/table/table-component.d.ts +0 -100
  343. package/dist-types/lib/user-facing/components/table/table-manager.d.ts +0 -23
  344. package/dist-types/lib/user-facing/components/table/table-styles.d.ts +0 -78
  345. package/dist-types/lib/user-facing/components/table/table-utilities.d.ts +0 -147
  346. package/dist-types/lib/user-facing/components/table/table-widget.d.ts +0 -148
  347. package/dist-types/lib/user-facing/components/table/types.d.ts +0 -471
  348. package/dist-types/lib/user-facing/components/table/use-sticky.d.ts +0 -1
  349. package/dist-types/lib/user-facing/components/table/utils.d.ts +0 -2
  350. package/dist-types/lib/user-facing/components/text/index.d.ts +0 -51
  351. package/dist-types/lib/user-facing/components/text/long-text-button.d.ts +0 -8
  352. package/dist-types/lib/user-facing/components/text/props.d.ts +0 -60
  353. package/dist-types/lib/user-facing/components/text/styles.d.ts +0 -2
  354. package/dist-types/lib/user-facing/components/text/utils.d.ts +0 -25
  355. package/dist-types/lib/user-facing/constants.d.ts +0 -2
  356. package/dist-types/lib/user-facing/entities/api/index.d.ts +0 -14
  357. package/dist-types/lib/user-facing/entities/api/props.d.ts +0 -20
  358. package/dist-types/lib/user-facing/entities/timer/index.d.ts +0 -16
  359. package/dist-types/lib/user-facing/entities/timer/props.d.ts +0 -19
  360. package/dist-types/lib/user-facing/entities/variable/index.d.ts +0 -14
  361. package/dist-types/lib/user-facing/entities/variable/props.d.ts +0 -13
  362. package/dist-types/lib/user-facing/global-functions.d.ts +0 -23
  363. package/dist-types/lib/user-facing/hooks/use-editor.d.ts +0 -42
  364. package/dist-types/lib/user-facing/hooks/use-update-properties.d.ts +0 -1
  365. package/dist-types/lib/user-facing/icons/constants.d.ts +0 -8
  366. package/dist-types/lib/user-facing/icons/encoded.d.ts +0 -1
  367. package/dist-types/lib/user-facing/icons/helpers.d.ts +0 -21
  368. package/dist-types/lib/user-facing/icons/index.d.ts +0 -2
  369. package/dist-types/lib/user-facing/internal-index.d.ts +0 -4
  370. package/dist-types/lib/user-facing/layers.d.ts +0 -43
  371. package/dist-types/lib/user-facing/properties-panel/constants.d.ts +0 -1
  372. package/dist-types/lib/user-facing/properties-panel/create-managed-props-list.d.ts +0 -5
  373. package/dist-types/lib/user-facing/properties-panel/mixins/appearance-properties.d.ts +0 -22
  374. package/dist-types/lib/user-facing/properties-panel/mixins/appearance.d.ts +0 -12
  375. package/dist-types/lib/user-facing/properties-panel/mixins/form-inputs-properties.d.ts +0 -44
  376. package/dist-types/lib/user-facing/properties-panel/mixins/layout-section.d.ts +0 -114
  377. package/dist-types/lib/user-facing/properties-panel/properties-panel-definition.d.ts +0 -6
  378. package/dist-types/lib/user-facing/properties-panel/props-builder.d.ts +0 -253
  379. package/dist-types/lib/user-facing/properties-panel/props-builder.test-d.d.ts +0 -1
  380. package/dist-types/lib/user-facing/properties-panel/props-panel-utils.d.ts +0 -3
  381. package/dist-types/lib/user-facing/properties-panel/validators.d.ts +0 -33
  382. package/dist-types/lib/user-facing/sb-event-flow.d.ts +0 -52
  383. package/dist-types/lib/user-facing/sb-provider.d.ts +0 -12
  384. package/dist-types/lib/user-facing/state/create-bindable-entity-proxy.d.ts +0 -6
  385. package/dist-types/lib/user-facing/state/create-scope.d.ts +0 -17
  386. package/dist-types/lib/user-facing/state/sb-computed.d.ts +0 -2
  387. package/dist-types/lib/user-facing/state/types.d.ts +0 -17
  388. package/dist-types/lib/user-facing/styling/color-utils.d.ts +0 -13
  389. package/dist-types/lib/user-facing/styling/colors.d.ts +0 -67
  390. package/dist-types/lib/user-facing/styling/style-as-class.d.ts +0 -1
  391. package/dist-types/lib/user-facing/styling/styles.d.ts +0 -4
  392. package/dist-types/lib/user-facing/styling/widget-label-styles.d.ts +0 -11
  393. package/dist-types/lib/user-facing/themes/classnames.d.ts +0 -72
  394. package/dist-types/lib/user-facing/themes/constants.d.ts +0 -80
  395. package/dist-types/lib/user-facing/themes/default-theme.d.ts +0 -8
  396. package/dist-types/lib/user-facing/themes/generate-border-css.d.ts +0 -25
  397. package/dist-types/lib/user-facing/themes/generate-border-styles.d.ts +0 -15
  398. package/dist-types/lib/user-facing/themes/generate-class-name.d.ts +0 -2
  399. package/dist-types/lib/user-facing/themes/generate-colors.d.ts +0 -45
  400. package/dist-types/lib/user-facing/themes/generate-theme.d.ts +0 -3
  401. package/dist-types/lib/user-facing/themes/generate-typographies.d.ts +0 -5
  402. package/dist-types/lib/user-facing/themes/generatedStyles/button-styles.d.ts +0 -2
  403. package/dist-types/lib/user-facing/themes/generatedStyles/container-styles.d.ts +0 -2
  404. package/dist-types/lib/user-facing/themes/generatedStyles/datepicker-styles.d.ts +0 -2
  405. package/dist-types/lib/user-facing/themes/generatedStyles/dropdown-styles.d.ts +0 -2
  406. package/dist-types/lib/user-facing/themes/generatedStyles/editor-styles.d.ts +0 -2
  407. package/dist-types/lib/user-facing/themes/generatedStyles/generate-component-styles.d.ts +0 -16
  408. package/dist-types/lib/user-facing/themes/generatedStyles/generate-padding-style.d.ts +0 -19
  409. package/dist-types/lib/user-facing/themes/generatedStyles/icon-styles.d.ts +0 -2
  410. package/dist-types/lib/user-facing/themes/generatedStyles/input-styles.d.ts +0 -3
  411. package/dist-types/lib/user-facing/themes/generatedStyles/paginator-styles.d.ts +0 -2
  412. package/dist-types/lib/user-facing/themes/generatedStyles/popper-styles.d.ts +0 -2
  413. package/dist-types/lib/user-facing/themes/generatedStyles/styles-utils.d.ts +0 -1
  414. package/dist-types/lib/user-facing/themes/generatedStyles/text-styles.d.ts +0 -3
  415. package/dist-types/lib/user-facing/themes/generatedStyles/theme-styles.d.ts +0 -5
  416. package/dist-types/lib/user-facing/themes/generatedStyles/utils.d.ts +0 -23
  417. package/dist-types/lib/user-facing/themes/index.d.ts +0 -5
  418. package/dist-types/lib/user-facing/themes/layers.d.ts +0 -6
  419. package/dist-types/lib/user-facing/themes/padding-constants.d.ts +0 -10
  420. package/dist-types/lib/user-facing/themes/typeface-constants.d.ts +0 -3
  421. package/dist-types/lib/user-facing/themes/typefaces/utils.d.ts +0 -28
  422. package/dist-types/lib/user-facing/themes/typeography/typography-utils.d.ts +0 -33
  423. package/dist-types/lib/user-facing/themes/typeography/use-typography-styling.d.ts +0 -15
  424. package/dist-types/lib/user-facing/themes/typography-constants.d.ts +0 -34
  425. package/dist-types/lib/user-facing/themes/utils.d.ts +0 -16
  426. package/dist-types/lib/user-facing/types.d.ts +0 -22
  427. package/dist-types/lib/user-facing/utils/form.d.ts +0 -10
  428. package/dist-types/lib/utils/clean-object.d.ts +0 -5
  429. package/dist-types/lib/utils/fast-clone.d.ts +0 -1
  430. package/dist-types/lib/utils/generate-id.d.ts +0 -1
  431. package/dist-types/lib/utils/is-user-on-mac.d.ts +0 -1
  432. package/dist-types/lib/utils/is-widget-grid.d.ts +0 -2
  433. package/dist-types/lib/utils/is-widget-vstack.d.ts +0 -2
  434. package/dist-types/lib/utils/shallow-equal.d.ts +0 -1
  435. package/dist-types/lib/utils/widget-wrapper-naming.d.ts +0 -6
  436. package/dist-types/main.d.ts +0 -1
@@ -1,60 +0,0 @@
1
- import { Prop, Section } from "../../properties-panel/props-builder.js";
2
- import type { TextAlign } from "@superblocksteam/library-shared/props";
3
- import type { Typographies } from "@superblocksteam/library-shared/types";
4
- /**
5
- * TODO:
6
- * - When updateHook is ported, we should check `textStyle` prop. Search for `textStyleUpdateVariantHook`
7
- */
8
- export declare const DEFAULT_TEXT_WIDGET_TEXT_STYLE_VARIANT: keyof Typographies;
9
- export type VerticalAlign = "top" | "center" | "bottom";
10
- export declare const propertiesDefinition: {
11
- general: Section<Record<string, Prop<any, any>> & {
12
- text: Prop<string, false>;
13
- textType: Prop<"number" | "time" | "text" | "date" | "currency", true>;
14
- }>;
15
- appearance: Section<Record<string, Prop<any, any>> & ({
16
- textStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
17
- textAlign: Prop<TextAlign, true>;
18
- verticalAlign: Prop<VerticalAlign, true>;
19
- wrapText: Prop<boolean, true>;
20
- animateLoading: Prop<boolean, false>;
21
- shouldScroll: Prop<boolean, false>;
22
- icon: Prop<string, false>;
23
- } & (Omit<{
24
- textType: Prop<"number" | "time" | "text" | "date" | "currency", false>;
25
- }, "textType" | "dateInputFormat" | "dateOutputFormat"> & ({
26
- minimumFractionDigits: Prop<number, true>;
27
- maximumFractionDigits: Prop<number, true>;
28
- textType: Prop<"currency", true>;
29
- currency: Prop<string, true>;
30
- notation: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", true>;
31
- dateInputFormat?: undefined;
32
- dateOutputFormat?: undefined;
33
- } | {
34
- minimumFractionDigits: Prop<number, true>;
35
- maximumFractionDigits: Prop<number, true>;
36
- textType: Prop<"number", true>;
37
- notation: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", true>;
38
- dateInputFormat?: undefined;
39
- dateOutputFormat?: undefined;
40
- } | {
41
- textType: Prop<"date", true>;
42
- dateInputFormat: Prop<string, false>;
43
- dateOutputFormat: Prop<string, false>;
44
- })))>;
45
- layout: Section<Record<string, Prop<any, any>> & {
46
- maxHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
47
- minHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
48
- maxWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
49
- minWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
50
- width: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
51
- height: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
52
- } & {
53
- margin: Prop<unknown, true>;
54
- } & {
55
- isVisible: Prop<boolean, true>;
56
- collapseWhenInvisible: Prop<boolean, false>;
57
- } & {
58
- shouldScroll: Prop<boolean, false>;
59
- }>;
60
- };
@@ -1,2 +0,0 @@
1
- export declare const TextContainer: string;
2
- export declare const StyledText: string;
@@ -1,25 +0,0 @@
1
- import type { propertiesDefinition } from "./props.js";
2
- import type { InternalProps } from "../../properties-panel/props-builder.js";
3
- import type { TextAlign } from "@superblocksteam/library-shared/props";
4
- import type { TextStyleWithVariant, Typographies, UserAccessibleTheme } from "@superblocksteam/library-shared/types";
5
- type TextWidgetProps = InternalProps<typeof propertiesDefinition>;
6
- export declare const useText: ({ text, notation, minimumFractionDigits, maximumFractionDigits, textType, currency, dateInputFormat, dateOutputFormat, }: Pick<TextWidgetProps, "text" | "notation" | "minimumFractionDigits" | "maximumFractionDigits" | "textType" | "currency" | "dateInputFormat" | "dateOutputFormat">) => string | undefined;
7
- export declare const useTextClassName: ({ textStyleVariant, isLoading, }: {
8
- textStyleVariant: keyof Typographies;
9
- isLoading?: boolean;
10
- }) => string;
11
- export declare const getFontSizePx: (textStyle: TextStyleWithVariant, theme: UserAccessibleTheme) => number;
12
- export declare const useIcon: ({ textStyleWithVariant, }: {
13
- textStyleWithVariant: TextStyleWithVariant;
14
- }) => {
15
- iconGap: {
16
- gap: string;
17
- };
18
- iconSize: number;
19
- };
20
- export declare const useStyle: (props: TextWidgetProps) => any;
21
- export declare const useIconContainerStyles: ({ iconGap, textAlign, }: {
22
- iconGap: any;
23
- textAlign: TextAlign;
24
- }) => any;
25
- export {};
@@ -1,2 +0,0 @@
1
- export declare const CANVAS_ROOT_ID = "canvas-root";
2
- export declare const MODAL_TARGET_ROOT_ID = "modal-target-root";
@@ -1,14 +0,0 @@
1
- import { sbEntitySymbol } from "@superblocksteam/library-shared/types";
2
- import type { SbEventFlow } from "../../../index.js";
3
- import type { RawPropsToExternal } from "../../properties-panel/props-builder.js";
4
- type Props = {
5
- onSuccess?: SbEventFlow;
6
- onError?: SbEventFlow;
7
- };
8
- export declare const SbApi: (args: RawPropsToExternal<Props>) => {
9
- [sbEntitySymbol]: true;
10
- type: "SbApi";
11
- onSuccess: import("../../../internal-details/lib/evaluator/base-entity-manager.js").SingleInputProp<SbEventFlow> | undefined;
12
- onError: import("../../../internal-details/lib/evaluator/base-entity-manager.js").SingleInputProp<SbEventFlow> | undefined;
13
- } & import("@superblocksteam/library-shared/types").AnonymousSbEntity;
14
- export {};
@@ -1,20 +0,0 @@
1
- import { Section, Prop, type InternalProps } from "../../properties-panel/props-builder.js";
2
- export type ApiEntity = InternalProps<typeof propertiesDefinition> & {
3
- run: () => Promise<any>;
4
- cancel: () => Promise<any>;
5
- };
6
- export declare const propertiesDefinition: {
7
- events: Section<Record<string, Prop<any, any>> & {
8
- onSuccess: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
9
- onError: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
10
- }>;
11
- metadata: Section<Record<string, Prop<any, any>> & {
12
- response: Prop<any, true>;
13
- error: Prop<any, true>;
14
- isRunning: Prop<boolean, true>;
15
- }>;
16
- functions: Section<Record<string, Prop<any, any>> & {
17
- run: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[], Promise<any>>, true>;
18
- cancel: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[], Promise<void>>, true>;
19
- }>;
20
- };
@@ -1,16 +0,0 @@
1
- import { sbEntitySymbol } from "@superblocksteam/library-shared/types";
2
- import type { SbEventFlow } from "../../../index.js";
3
- import type { RawPropsToExternal } from "../../properties-panel/props-builder.js";
4
- type Props = {
5
- intervalMs?: number;
6
- startOnPageLoad?: boolean;
7
- onFire?: SbEventFlow;
8
- };
9
- export declare const SbTimer: (args: RawPropsToExternal<Props>) => {
10
- [sbEntitySymbol]: true;
11
- type: "SbTimer";
12
- intervalMs: import("../../../internal-details/lib/evaluator/base-entity-manager.js").SingleInputProp<number> | undefined;
13
- startOnPageLoad: import("../../../internal-details/lib/evaluator/base-entity-manager.js").SingleInputProp<boolean> | undefined;
14
- onFire: import("../../../internal-details/lib/evaluator/base-entity-manager.js").SingleInputProp<SbEventFlow> | undefined;
15
- } & import("@superblocksteam/library-shared/types").AnonymousSbEntity;
16
- export {};
@@ -1,19 +0,0 @@
1
- import { Section, Prop } from "../../properties-panel/props-builder.js";
2
- export declare const propertiesDefinition: {
3
- general: Section<Record<string, Prop<any, any>> & {
4
- intervalMs: Prop<number, true>;
5
- startOnPageLoad: Prop<boolean, false>;
6
- }>;
7
- events: Section<Record<string, Prop<any, any>> & {
8
- onFire: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
9
- }>;
10
- metadata: Section<Record<string, Prop<any, any>> & {
11
- timerId: Prop<string, false>;
12
- isRunning: Prop<boolean, true>;
13
- }>;
14
- functions: Section<Record<string, Prop<any, any>> & {
15
- start: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[], void>, true>;
16
- stop: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[], void>, true>;
17
- toggle: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[], void>, true>;
18
- }>;
19
- };
@@ -1,14 +0,0 @@
1
- import { sbEntitySymbol, SbVariablePersistence } from "@superblocksteam/library-shared/types";
2
- import type { RawPropsToExternal } from "../../properties-panel/props-builder.js";
3
- export { SbVariablePersistence };
4
- type Props<T = any> = {
5
- defaultValue: T;
6
- persistence?: SbVariablePersistence;
7
- };
8
- export declare const SbVariable: (args: RawPropsToExternal<Props<any>>) => {
9
- [sbEntitySymbol]: true;
10
- type: "SbVariable";
11
- defaultValue: any;
12
- value: any;
13
- persistence: import("../../../internal-details/lib/evaluator/base-entity-manager.js").SingleInputProp<SbVariablePersistence> | undefined;
14
- } & import("@superblocksteam/library-shared/types").AnonymousSbEntity;
@@ -1,13 +0,0 @@
1
- import { SbVariablePersistence } from "@superblocksteam/library-shared/types";
2
- import { Section, Prop } from "../../properties-panel/props-builder.js";
3
- export declare const propertiesDefinition: {
4
- general: Section<Record<string, Prop<any, any>> & {
5
- defaultValue: Prop<any, false>;
6
- value: Prop<any, false>;
7
- persistence: Prop<SbVariablePersistence, true>;
8
- }>;
9
- functions: Section<Record<string, Prop<any, any>> & {
10
- set: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[value: any], void>, true>;
11
- reset: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[], void>, true>;
12
- }>;
13
- };
@@ -1,23 +0,0 @@
1
- export declare enum Types {
2
- STRING = "STRING",
3
- NUMBER = "NUMBER",
4
- BOOLEAN = "BOOLEAN",
5
- OBJECT = "OBJECT",
6
- MAP = "MAP",
7
- SET = "SET",
8
- ARRAY = "ARRAY",
9
- FUNCTION = "FUNCTION",
10
- UNDEFINED = "UNDEFINED",
11
- NULL = "NULL",
12
- UNKNOWN = "UNKNOWN"
13
- }
14
- export declare const getType: (value: unknown) => Types;
15
- export declare function copyToClipboard(text: string, options?: {
16
- debug?: boolean;
17
- format?: string;
18
- }): void;
19
- export declare function navigateTo(urlOrRoute: string, queryParams?: Record<string, any>, target?: string): boolean;
20
- export declare function setQueryParams(queryParams?: Record<string, any>, preserveExistingQueryParams?: boolean): boolean;
21
- export declare function download(data: any, fileName?: string, fileType?: string): void;
22
- export declare function showAlert(_message: string, _style: string, _durationSeconds?: number, _alertPosition?: string): void;
23
- export declare function logoutIntegrations(): void;
@@ -1,42 +0,0 @@
1
- import type { SbInstance } from "@superblocksteam/library-shared/types";
2
- export type EditorFeatures = {
3
- /**
4
- * Whether drag and drop functionality is enabled
5
- */
6
- dragAndDrop: boolean;
7
- /**
8
- * Whether nudging elements with arrow keys is enabled
9
- */
10
- nudging: boolean;
11
- /**
12
- * The currently selected widget
13
- */
14
- selectWidget: SbInstance | null;
15
- };
16
- export type FeatureState<T> = {
17
- value: T;
18
- set: (value: T) => void;
19
- };
20
- export type RecordFeatureState<T> = {
21
- [K in keyof T]: FeatureState<T[K]>;
22
- };
23
- type HookResult = {
24
- features: RecordFeatureState<EditorFeatures>;
25
- isEditing: boolean;
26
- };
27
- /**
28
- * Hook that provides access to editor-specific features.
29
- *
30
- * This hook allows you to control editor-only functionality on a per-widget basis.
31
- * Note: These features only work in editor mode and have no effect in deployed apps.
32
- *
33
- * @example
34
- * // Disable drag and drop for a widget
35
- * const { features } = useEditor();
36
- * features.dragAndDrop.set(false);
37
- *
38
- * // Disable nudging with arrow keys
39
- * features.nudging.set(false);
40
- */
41
- declare const useEditor: () => HookResult;
42
- export default useEditor;
@@ -1 +0,0 @@
1
- export declare function useUpdateProperties(): (props: Record<string, any>) => void;
@@ -1,8 +0,0 @@
1
- export declare const DEFAULT_ICON_SPACING = 8;
2
- export declare const DEFAULT_ICON_SIZE = 16;
3
- export type IconPosition = "left" | "right";
4
- export declare const ICON_POSITION_OPTIONS: {
5
- icon: string;
6
- value: IconPosition;
7
- label: string;
8
- }[];
@@ -1 +0,0 @@
1
- export declare const getCaretIconEncodedUrl: (fill: string) => string;
@@ -1,21 +0,0 @@
1
- import { Dim } from "@superblocksteam/library-shared";
2
- import type { IconPosition } from "./constants.js";
3
- import type { GeneratedTheme, Padding, PerSideBorder, TextStyleWithVariant } from "@superblocksteam/library-shared/types";
4
- export declare const getIconPositionStyle: ({ padding, border, defaultBorderWidth, iconPosition, hasSuffix, }: {
5
- padding: Padding;
6
- border?: PerSideBorder;
7
- defaultBorderWidth?: number;
8
- iconPosition?: IconPosition;
9
- hasSuffix?: boolean;
10
- }) => {
11
- left: string;
12
- right: string;
13
- };
14
- export declare const getInputIconSize: ({ width, componentWidth, textStyle, padding, generatedTheme, }: {
15
- width?: Dim;
16
- componentWidth: number;
17
- textStyle?: TextStyleWithVariant;
18
- padding?: any;
19
- generatedTheme: GeneratedTheme;
20
- }) => number;
21
- export declare const getIconPadding: (paddingValue?: Dim<"px">, iconSize?: number, withSpacing?: boolean) => Dim<"px">;
@@ -1,2 +0,0 @@
1
- export { default as ChevronDownIcon } from "../assets/icons/chevron-down.svg?react";
2
- export { default as CrossXSIcon } from "../assets/icons/cross-xs.svg?react";
@@ -1,4 +0,0 @@
1
- export { registerSbComponent } from "../internal-details/sb-wrapper.jsx";
2
- export { useActions } from "../internal-details/actions-context.jsx";
3
- export type { Entity } from "../internal-details/lib/evaluator/base-entity-manager.js";
4
- export { useScope } from "../internal-details/scope/scope-context.jsx";
@@ -1,43 +0,0 @@
1
- declare enum Indices {
2
- Layer0 = 0,
3
- Layer1 = 1,
4
- Layer2 = 2,
5
- Layer3 = 3,
6
- Layer4 = 4,
7
- Layer5 = 5,
8
- Layer6 = 6,
9
- Layer7 = 7,
10
- Layer8 = 8,
11
- Layer9 = 9,
12
- Layer10 = 10,
13
- Layer11 = 11,
14
- Layer12 = 12,
15
- Layer13 = 13,
16
- Layer14 = 14,
17
- LayerMax = 99999
18
- }
19
- export declare const Layers: {
20
- dragPreview: Indices;
21
- visibilityOverlay: Indices;
22
- selectedRect: Indices;
23
- focusedRect: Indices;
24
- namePill: Indices;
25
- drawer: Indices;
26
- closeButton: Indices;
27
- stickySections: Indices;
28
- scrollbars: Indices;
29
- componentBorder: Indices;
30
- resizeWrapper: Indices;
31
- parentSelectedWrapper: Indices;
32
- widgetResizer: Indices;
33
- resizer: Indices;
34
- modal: Indices;
35
- widgetName: Indices;
36
- selectionConstraintResize: Indices;
37
- addSectionButton: Indices;
38
- canvasBreadCrumbPopover: Indices;
39
- vstackDropPlaceholder: Indices;
40
- focusedInput: Indices;
41
- max: Indices;
42
- };
43
- export {};
@@ -1 +0,0 @@
1
- export declare const ANIMATE_LOADING_PROPERTY_CONTROL_HELP_TEXT = "Display a loading animation if dependent data is loading";
@@ -1,5 +0,0 @@
1
- import { Section } from "./props-builder.js";
2
- import type { ManagedPropsList } from "./props-builder.js";
3
- export declare const RECORD_PATH_IDENTIFIER = "*";
4
- declare function createManagedPropsList(sections: Record<string, Section>, parentPath?: string): ManagedPropsList;
5
- export { createManagedPropsList };
@@ -1,22 +0,0 @@
1
- import { Prop } from "../props-builder.js";
2
- import type { PropertiesPanelDisplay } from "@superblocksteam/library-shared/props";
3
- import type { TextStyleWithVariant } from "@superblocksteam/library-shared/types";
4
- export declare const createTextStyleCompositeBase: () => {
5
- variant: Prop<string, false>;
6
- textColor: import("../props-builder.js").CompositeProp<{
7
- default: Prop<string, false>;
8
- }>;
9
- fontFamily: Prop<string, false>;
10
- fontSize: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
11
- fontWeight: Prop<number, false>;
12
- fontStyle: Prop<string, false>;
13
- lineHeight: Prop<string, false>;
14
- letterSpacing: Prop<number, false>;
15
- textTransform: Prop<string, false>;
16
- };
17
- export declare const basePropertiesPaneDisplay: PropertiesPanelDisplay<string>;
18
- export declare const textStyleProp: ({ baseProp, propertiesPanel, }?: {
19
- baseProp?: ReturnType<typeof createTextStyleCompositeBase>;
20
- propertiesPanel?: Omit<Partial<PropertiesPanelDisplay<TextStyleWithVariant, "TEXT_STYLE">>, "controlType">;
21
- }) => Prop<TextStyleWithVariant>;
22
- export declare const labelTextStyle: () => Prop<TextStyleWithVariant, true>;
@@ -1,12 +0,0 @@
1
- import { Dim } from "@superblocksteam/library-shared";
2
- import { Prop } from "../props-builder.js";
3
- import type { PropertiesPanelDisplay } from "@superblocksteam/library-shared/props";
4
- import type { PerCornerBorderRadius, PerSideBorder } from "@superblocksteam/library-shared/types";
5
- export declare const perSideBorderDef: () => import("../props-builder.js").CompositeProp<{
6
- color: Prop<string, false>;
7
- width: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
8
- style: Prop<string, false>;
9
- }>;
10
- export declare const border: (propertiesPanelConfig?: Partial<Partial<PropertiesPanelDisplay<"unknown", "BORDER_CONTROL">>>) => Prop<PerSideBorder, true>;
11
- export declare const createBorderRadiusObject: (borderRadius: Dim<"px" | "%">) => PerCornerBorderRadius;
12
- export declare const borderRadius: (propertiesPanelConfig?: Partial<Partial<PropertiesPanelDisplay<PerCornerBorderRadius, "BORDER_RADIUS_CONTROL">>>) => Prop<PerCornerBorderRadius, true>;
@@ -1,44 +0,0 @@
1
- import { Dim } from "@superblocksteam/library-shared";
2
- import { Prop } from "../props-builder.js";
3
- import type { ErrorMessagePlacement } from "@superblocksteam/library-shared/props";
4
- import type { PropertiesPanelDisplay } from "@superblocksteam/library-shared/props";
5
- export declare const errorMessagePlacement: Prop<ErrorMessagePlacement, true>;
6
- export declare const labelWidth: Prop<Dim, true>;
7
- export declare const customValidationProperties: {
8
- customValidationRule: Prop<string, true>;
9
- customErrorMessage: Prop<string, true>;
10
- };
11
- export declare const labelPosition: Prop<"left" | "top", true>;
12
- export declare const getTypographyOptions: () => {
13
- label: string;
14
- value: {
15
- fontFamily: string;
16
- fontSize: string;
17
- fontWeight: number;
18
- lineHeight: number | string;
19
- textDecoration?: string;
20
- fontStyle?: "normal" | "italic" | "inherit";
21
- letterSpacing?: string;
22
- textTransform?: "uppercase" | "lowercase" | "capitalize" | "none" | "inherit";
23
- name?: string;
24
- textColor: import("@superblocksteam/library-shared/types").ColorBlock;
25
- variant: string;
26
- };
27
- subText: string;
28
- subTextPosition: string;
29
- }[];
30
- export declare const getCustomValidationProperties: ({ errorMessagePlacementSchema, customValidationRuleSchema, customErrorMessageSchema, }?: {
31
- errorMessagePlacementSchema?: Omit<Partial<PropertiesPanelDisplay<ErrorMessagePlacement, "RADIO_BUTTON_GROUP">>, "controlType" | "options">;
32
- customValidationRuleSchema?: Omit<Partial<PropertiesPanelDisplay<string, "INPUT_TEXT">>, "controlType" | "options">;
33
- customErrorMessageSchema?: Omit<Partial<PropertiesPanelDisplay<string, "INPUT_TEXT">>, "controlType" | "options">;
34
- }) => {
35
- errorMessagePlacement: Prop<ErrorMessagePlacement, true>;
36
- customValidationRule: Prop<string, true>;
37
- customErrorMessage: Prop<string, true>;
38
- };
39
- export declare const getFractionDigitsProperties: ({ schema, }?: {
40
- schema?: Omit<Partial<PropertiesPanelDisplay<number, "INPUT_TEXT">>, "controlType">;
41
- }) => {
42
- minimumFractionDigits: Prop<number, true>;
43
- maximumFractionDigits: Prop<number, true>;
44
- };
@@ -1,114 +0,0 @@
1
- import { Dim } from "@superblocksteam/library-shared";
2
- import { Prop, Section } from "../props-builder.js";
3
- import type { ScopedState } from "../../../internal-details/lib/evaluator/base-entity-manager.js";
4
- import type { ContainerLayout, HorizontalAlignment, VerticalAlignment } from "../../component-base/constants.js";
5
- import type { DimModes } from "@superblocksteam/library-shared";
6
- import type { PropertiesPanelDisplay } from "@superblocksteam/library-shared/props";
7
- import type { Padding } from "@superblocksteam/library-shared/types";
8
- export declare const size: ({ defaults, defaultsOnAdd, hasMinWidth, hasMaxWidth, hasMinHeight, hasMaxHeight, showMinWidth, showMinHeight, showMaxWidth, showMaxHeight, showWidth, showHeight, }?: {
9
- defaults?: {
10
- minWidth?: Dim<DimModes>;
11
- maxWidth?: Dim<DimModes>;
12
- minHeight?: Dim<DimModes>;
13
- maxHeight?: Dim<DimModes>;
14
- width?: Dim<DimModes>;
15
- height?: Dim<DimModes>;
16
- };
17
- defaultsOnAdd?: {
18
- minWidth?: Dim<DimModes>;
19
- maxWidth?: Dim<DimModes>;
20
- minHeight?: Dim<DimModes>;
21
- maxHeight?: Dim<DimModes>;
22
- width?: Dim<DimModes>;
23
- height?: Dim<DimModes>;
24
- };
25
- hasMinWidth?: boolean;
26
- hasMaxWidth?: boolean;
27
- hasMinHeight?: boolean;
28
- hasMaxHeight?: boolean;
29
- showMinWidth?: (this: any, s: ScopedState) => boolean;
30
- showMinHeight?: (this: any, s: ScopedState) => boolean;
31
- showMaxWidth?: (this: any, s: ScopedState) => boolean;
32
- showMaxHeight?: (this: any, s: ScopedState) => boolean;
33
- showWidth?: (this: any, s: ScopedState) => boolean;
34
- showHeight?: (this: any, s: ScopedState) => boolean;
35
- }) => {
36
- maxHeight?: Prop<Dim<DimModes>, false> | undefined;
37
- minHeight?: Prop<Dim<DimModes>, false> | undefined;
38
- maxWidth?: Prop<Dim<DimModes>, false> | undefined;
39
- minWidth?: Prop<Dim<DimModes>, false> | undefined;
40
- width: Prop<Dim<DimModes>, false>;
41
- height: Prop<Dim<DimModes>, false>;
42
- };
43
- export declare const shouldScrollContents: (defaultValue?: boolean) => {
44
- shouldScrollContents: Prop<boolean, true>;
45
- };
46
- export declare const visible: () => {
47
- isVisible: Prop<boolean, true>;
48
- collapseWhenInvisible: Prop<boolean, false>;
49
- };
50
- export declare const spacing: (options?: {
51
- default?: Dim<"px">;
52
- } & Partial<PropertiesPanelDisplay<Dim<"px">, "SPACING_CONTROL">>) => {
53
- spacing: Prop<Dim<"px">, true>;
54
- };
55
- export declare const padding: (options?: {
56
- default?: Padding;
57
- } & Partial<PropertiesPanelDisplay<Padding, "PADDING_CONTROL">>) => {
58
- padding: Prop<import("@superblocksteam/library-shared/types").Spacing, true>;
59
- };
60
- export declare const margin: () => {
61
- margin: Prop<unknown, true>;
62
- };
63
- export declare const getAlignmentProps: () => {
64
- verticalAlign: Prop<VerticalAlignment, true>;
65
- horizontalAlign: Prop<HorizontalAlignment, true>;
66
- };
67
- export declare const containerLayout: () => import("../props-builder.js").UnionProp<{
68
- layout: Prop<ContainerLayout, true>;
69
- }, [{
70
- readonly layout: Prop<"freeform", true>;
71
- readonly columns: Prop<number, true>;
72
- readonly rows: Prop<number, false>;
73
- readonly rowSize: Prop<number, false>;
74
- }, {
75
- readonly verticalAlign: Prop<VerticalAlignment, true>;
76
- readonly horizontalAlign: Prop<HorizontalAlignment, true>;
77
- readonly layout: Prop<"vertical", true>;
78
- }, {
79
- readonly verticalAlign: Prop<VerticalAlignment, true>;
80
- readonly horizontalAlign: Prop<HorizontalAlignment, true>;
81
- readonly layout: Prop<"horizontal", true>;
82
- }], ({
83
- layout: Prop<ContainerLayout, true>;
84
- } & {
85
- readonly layout: Prop<"freeform", true>;
86
- readonly columns: Prop<number, true>;
87
- readonly rows: Prop<number, false>;
88
- readonly rowSize: Prop<number, false>;
89
- }) | ({
90
- layout: Prop<ContainerLayout, true>;
91
- } & {
92
- readonly verticalAlign: Prop<VerticalAlignment, true>;
93
- readonly horizontalAlign: Prop<HorizontalAlignment, true>;
94
- readonly layout: Prop<"vertical", true>;
95
- }) | ({
96
- layout: Prop<ContainerLayout, true>;
97
- } & {
98
- readonly verticalAlign: Prop<VerticalAlignment, true>;
99
- readonly horizontalAlign: Prop<HorizontalAlignment, true>;
100
- readonly layout: Prop<"horizontal", true>;
101
- })>;
102
- export declare const basicLayout: () => Section<Record<string, Prop<any, any>> & {
103
- maxHeight?: Prop<Dim<DimModes>, false> | undefined;
104
- minHeight?: Prop<Dim<DimModes>, false> | undefined;
105
- maxWidth?: Prop<Dim<DimModes>, false> | undefined;
106
- minWidth?: Prop<Dim<DimModes>, false> | undefined;
107
- width: Prop<Dim<DimModes>, false>;
108
- height: Prop<Dim<DimModes>, false>;
109
- } & {
110
- margin: Prop<unknown, true>;
111
- } & {
112
- isVisible: Prop<boolean, true>;
113
- collapseWhenInvisible: Prop<boolean, false>;
114
- }>;
@@ -1,6 +0,0 @@
1
- import type { ScopedState } from "../../internal-details/lib/evaluator/base-entity-manager.js";
2
- import type { Entity } from "../internal-index.js";
3
- import type { Section } from "./props-builder.js";
4
- import type { PropertiesPanelDefinition } from "@superblocksteam/library-shared/props";
5
- declare function createPropertiesPanelDefinition(sections: Record<string, Section>, entity?: Entity, scopedState?: ScopedState): PropertiesPanelDefinition;
6
- export { createPropertiesPanelDefinition };