@superblocksteam/library 2.0.3-next.71

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 (408) hide show
  1. package/LICENSE.txt +87 -0
  2. package/README.md +108 -0
  3. package/dist/allPaths-DyYm9YwR.js +17 -0
  4. package/dist/allPaths-DyYm9YwR.js.map +1 -0
  5. package/dist/allPaths-KD515okF.js +17 -0
  6. package/dist/allPaths-KD515okF.js.map +1 -0
  7. package/dist/allPathsLoader-ZiZSv3bC.js +22 -0
  8. package/dist/allPathsLoader-ZiZSv3bC.js.map +1 -0
  9. package/dist/allPathsLoader-fVkkn-jB.js +22 -0
  10. package/dist/allPathsLoader-fVkkn-jB.js.map +1 -0
  11. package/dist/icons-BrNMuu_I.js +40 -0
  12. package/dist/icons-BrNMuu_I.js.map +1 -0
  13. package/dist/index-BxzKdlqH.js +1353 -0
  14. package/dist/index-BxzKdlqH.js.map +1 -0
  15. package/dist/index-DBrh5TuF.js +195984 -0
  16. package/dist/index-DBrh5TuF.js.map +1 -0
  17. package/dist/index-DIJYif9G.js +1341 -0
  18. package/dist/index-DIJYif9G.js.map +1 -0
  19. package/dist/index-DIn-fanT.js +1353 -0
  20. package/dist/index-DIn-fanT.js.map +1 -0
  21. package/dist/index-LHtbj0-V.js +1341 -0
  22. package/dist/index-LHtbj0-V.js.map +1 -0
  23. package/dist/index.css +34465 -0
  24. package/dist/index.js +162 -0
  25. package/dist/index.js.map +1 -0
  26. package/dist/splitPathsBySizeLoader-BJsOSCsQ.js +34 -0
  27. package/dist/splitPathsBySizeLoader-BJsOSCsQ.js.map +1 -0
  28. package/dist/splitPathsBySizeLoader-CSiJpIs1.js +34 -0
  29. package/dist/splitPathsBySizeLoader-CSiJpIs1.js.map +1 -0
  30. package/dist-types/app-internal.d.ts +4 -0
  31. package/dist-types/docs-utils/generate-docs.d.ts +2 -0
  32. package/dist-types/edit-mode/collisions-layer.d.ts +3 -0
  33. package/dist-types/edit-mode/create-component.d.ts +8 -0
  34. package/dist-types/edit-mode/debug-tools.d.ts +11 -0
  35. package/dist-types/edit-mode/dnd/collision-detection.d.ts +3 -0
  36. package/dist-types/edit-mode/dnd/dnd-provider.d.ts +4 -0
  37. package/dist-types/edit-mode/dnd/draggable-widget.d.ts +7 -0
  38. package/dist-types/edit-mode/dnd/drop-layer.d.ts +5 -0
  39. package/dist-types/edit-mode/dnd/droppable-widget.d.ts +9 -0
  40. package/dist-types/edit-mode/dnd/grid-drop.d.ts +4 -0
  41. package/dist-types/edit-mode/dnd/grid-store.d.ts +31 -0
  42. package/dist-types/edit-mode/dnd/grid-utils.d.ts +8 -0
  43. package/dist-types/edit-mode/dnd/handle-grid-drop.d.ts +9 -0
  44. package/dist-types/edit-mode/dnd/handle-stack-drop.d.ts +9 -0
  45. package/dist-types/edit-mode/dnd/hooks/use-component-draggable.d.ts +5 -0
  46. package/dist-types/edit-mode/dnd/hooks/use-component-droppable.d.ts +6 -0
  47. package/dist-types/edit-mode/dnd/hooks/use-handle-dnd-events.d.ts +1 -0
  48. package/dist-types/edit-mode/dnd/hooks/use-widget-node-ref.d.ts +2 -0
  49. package/dist-types/edit-mode/dnd/new-components-drag-layer.d.ts +6 -0
  50. package/dist-types/edit-mode/dnd/stack-drop.d.ts +4 -0
  51. package/dist-types/edit-mode/dnd/stack-store.d.ts +10 -0
  52. package/dist-types/edit-mode/dnd/stack-utils.d.ts +13 -0
  53. package/dist-types/edit-mode/dnd/types.d.ts +45 -0
  54. package/dist-types/edit-mode/dnd/utils.d.ts +13 -0
  55. package/dist-types/edit-mode/duplicated-name-popover.d.ts +7 -0
  56. package/dist-types/edit-mode/edit-store.d.ts +28 -0
  57. package/dist-types/edit-mode/edit-wrapper.d.ts +17 -0
  58. package/dist-types/edit-mode/editor-hotkeys.d.ts +3 -0
  59. package/dist-types/edit-mode/features/connection-manager.d.ts +10 -0
  60. package/dist-types/edit-mode/features/drag-and-drop-store.d.ts +69 -0
  61. package/dist-types/edit-mode/features/interaction-layer-manager.d.ts +17 -0
  62. package/dist-types/edit-mode/features/operation-store.d.ts +49 -0
  63. package/dist-types/edit-mode/features/properties-panel-manager.d.ts +31 -0
  64. package/dist-types/edit-mode/features/resizing-store.d.ts +50 -0
  65. package/dist-types/edit-mode/features/runtime-entities-manager.d.ts +84 -0
  66. package/dist-types/edit-mode/features/runtime-widgets-manager.d.ts +51 -0
  67. package/dist-types/edit-mode/features/ui-store.d.ts +41 -0
  68. package/dist-types/edit-mode/hooks/use-register-source-element.d.ts +2 -0
  69. package/dist-types/edit-mode/iframe-wrappers.d.ts +4 -0
  70. package/dist-types/edit-mode/interaction-add-section-button.d.ts +4 -0
  71. package/dist-types/edit-mode/interaction-layer.d.ts +11 -0
  72. package/dist-types/edit-mode/interaction-rect-handles.d.ts +7 -0
  73. package/dist-types/edit-mode/interaction-rect-name-pill.d.ts +13 -0
  74. package/dist-types/edit-mode/interaction-rect.d.ts +44 -0
  75. package/dist-types/edit-mode/interaction-utils.d.ts +3 -0
  76. package/dist-types/edit-mode/mobx-sync/create-patch.d.ts +2 -0
  77. package/dist-types/edit-mode/mobx-sync/deep-observe.d.ts +24 -0
  78. package/dist-types/edit-mode/mobx-sync/mobx-editor-sync.d.ts +23 -0
  79. package/dist-types/edit-mode/properties.d.ts +13 -0
  80. package/dist-types/edit-mode/resize-capabilities.d.ts +5 -0
  81. package/dist-types/edit-mode/right-click-menu/right-click-menu.d.ts +13 -0
  82. package/dist-types/edit-mode/roots.d.ts +9 -0
  83. package/dist-types/edit-mode/runtime-children.d.ts +14 -0
  84. package/dist-types/edit-mode/sb-component-from-meta.d.ts +2 -0
  85. package/dist-types/edit-mode/source-update-api.d.ts +24 -0
  86. package/dist-types/edit-mode/superblocks-editor-bridge.d.ts +34 -0
  87. package/dist-types/internal-testing/components/api.d.ts +3 -0
  88. package/dist-types/internal-testing/components/button.d.ts +1 -0
  89. package/dist-types/internal-testing/components/checkbox.d.ts +1 -0
  90. package/dist-types/internal-testing/components/container.d.ts +1 -0
  91. package/dist-types/internal-testing/components/date-picker.d.ts +1 -0
  92. package/dist-types/internal-testing/components/dropdown.d.ts +1 -0
  93. package/dist-types/internal-testing/components/icon.d.ts +1 -0
  94. package/dist-types/internal-testing/components/image.d.ts +1 -0
  95. package/dist-types/internal-testing/components/input.d.ts +1 -0
  96. package/dist-types/internal-testing/components/key-value.d.ts +1 -0
  97. package/dist-types/internal-testing/components/modal.d.ts +1 -0
  98. package/dist-types/internal-testing/components/section-column.d.ts +1 -0
  99. package/dist-types/internal-testing/components/switch.d.ts +1 -0
  100. package/dist-types/internal-testing/components/table.d.ts +1 -0
  101. package/dist-types/internal-testing/components/timer.d.ts +3 -0
  102. package/dist-types/internal-testing/components/variable.d.ts +3 -0
  103. package/dist-types/internal-testing/utils.d.ts +5 -0
  104. package/dist-types/internal-testing/widgets.d.ts +2 -0
  105. package/dist-types/lib/hooks/use-alignment-styles.d.ts +9 -0
  106. package/dist-types/lib/hooks/use-cached-value.d.ts +11 -0
  107. package/dist-types/lib/hooks/use-callback-as-ref.d.ts +1 -0
  108. package/dist-types/lib/hooks/use-deep-memo.d.ts +9 -0
  109. package/dist-types/lib/hooks/use-editor-hotkeys.d.ts +3 -0
  110. package/dist-types/lib/hooks/use-element-rect.d.ts +7 -0
  111. package/dist-types/lib/hooks/use-observer-memo.d.ts +14 -0
  112. package/dist-types/lib/hooks/use-observer-memo.test.d.ts +1 -0
  113. package/dist-types/lib/hooks/use-pointer-down-outside.d.ts +15 -0
  114. package/dist-types/lib/hooks/use-stable-effect.d.ts +22 -0
  115. package/dist-types/lib/hooks/use-stable-effect.test.d.ts +1 -0
  116. package/dist-types/lib/index.d.ts +40 -0
  117. package/dist-types/lib/internal-details/actions-context.d.ts +9 -0
  118. package/dist-types/lib/internal-details/component-info-context.d.ts +10 -0
  119. package/dist-types/lib/internal-details/entities-state.d.ts +10 -0
  120. package/dist-types/lib/internal-details/entities.d.ts +5 -0
  121. package/dist-types/lib/internal-details/env.d.ts +1 -0
  122. package/dist-types/lib/internal-details/identifier-normalizer.d.ts +9 -0
  123. package/dist-types/lib/internal-details/is-sb-component.d.ts +7 -0
  124. package/dist-types/lib/internal-details/lib/devtools.d.ts +1 -0
  125. package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +104 -0
  126. package/dist-types/lib/internal-details/lib/evaluator/binding-extraction.d.ts +2 -0
  127. package/dist-types/lib/internal-details/lib/evaluator/binding-strings/transform-bindings.d.ts +6 -0
  128. package/dist-types/lib/internal-details/lib/evaluator/compute-engines.d.ts +20 -0
  129. package/dist-types/lib/internal-details/lib/evaluator/create-global-object.d.ts +7 -0
  130. package/dist-types/lib/internal-details/lib/evaluator/create-scope-proxy.d.ts +2 -0
  131. package/dist-types/lib/internal-details/lib/evaluator/deep-observe.d.ts +27 -0
  132. package/dist-types/lib/internal-details/lib/evaluator/entity-manager.d.ts +83 -0
  133. package/dist-types/lib/internal-details/lib/evaluator/entity-types.d.ts +16 -0
  134. package/dist-types/lib/internal-details/lib/evaluator/lazy-function.d.ts +7 -0
  135. package/dist-types/lib/internal-details/lib/evaluator/names.d.ts +7 -0
  136. package/dist-types/lib/internal-details/lib/evaluator/pretty-print-function.d.ts +2 -0
  137. package/dist-types/lib/internal-details/lib/evaluator/to-executables-or-values.d.ts +32 -0
  138. package/dist-types/lib/internal-details/lib/evaluator/use-shallow-mobx-observer.d.ts +1 -0
  139. package/dist-types/lib/internal-details/lib/evaluator/use-shallow-mobx-observer.test.d.ts +1 -0
  140. package/dist-types/lib/internal-details/lib/features/api-store.d.ts +31 -0
  141. package/dist-types/lib/internal-details/lib/features/api-utils.d.ts +77 -0
  142. package/dist-types/lib/internal-details/lib/features/component-registry.d.ts +29 -0
  143. package/dist-types/lib/internal-details/lib/features/injected-features.d.ts +8 -0
  144. package/dist-types/lib/internal-details/lib/features/name-manager.d.ts +36 -0
  145. package/dist-types/lib/internal-details/lib/iframe.d.ts +44 -0
  146. package/dist-types/lib/internal-details/lib/mobx-cached-getter.d.ts +1 -0
  147. package/dist-types/lib/internal-details/lib/resolve-id-singleton.d.ts +4 -0
  148. package/dist-types/lib/internal-details/lib/root-store.d.ts +30 -0
  149. package/dist-types/lib/internal-details/lib/throttle.d.ts +2 -0
  150. package/dist-types/lib/internal-details/lib/types.d.ts +229 -0
  151. package/dist-types/lib/internal-details/reactive-component.d.ts +10 -0
  152. package/dist-types/lib/internal-details/sb-wrapper-notes.d.ts +1 -0
  153. package/dist-types/lib/internal-details/sb-wrapper.d.ts +11 -0
  154. package/dist-types/lib/internal-details/scope/scope-context.d.ts +8 -0
  155. package/dist-types/lib/internal-details/scope/scope.d.ts +12 -0
  156. package/dist-types/lib/internal-details/size.d.ts +1 -0
  157. package/dist-types/lib/internal-details/theme-context.d.ts +8 -0
  158. package/dist-types/lib/internal-details/use-track-runtime-widget.d.ts +15 -0
  159. package/dist-types/lib/sb-trigger.d.ts +53 -0
  160. package/dist-types/lib/triggers/base.d.ts +17 -0
  161. package/dist-types/lib/triggers/implementations/apis/cancel-apis.d.ts +18 -0
  162. package/dist-types/lib/triggers/implementations/apis/run-apis.d.ts +21 -0
  163. package/dist-types/lib/triggers/implementations/components/control-modal.d.ts +17 -0
  164. package/dist-types/lib/triggers/implementations/components/control-slideout.d.ts +17 -0
  165. package/dist-types/lib/triggers/implementations/components/reset-component.d.ts +20 -0
  166. package/dist-types/lib/triggers/implementations/components/set-component-property.d.ts +20 -0
  167. package/dist-types/lib/triggers/implementations/navigate/navigate-to-app.d.ts +28 -0
  168. package/dist-types/lib/triggers/implementations/navigate/navigate-to-route.d.ts +23 -0
  169. package/dist-types/lib/triggers/implementations/navigate/navigate-to.d.ts +26 -0
  170. package/dist-types/lib/triggers/implementations/navigate/set-query-params.d.ts +18 -0
  171. package/dist-types/lib/triggers/implementations/run-js.d.ts +18 -0
  172. package/dist-types/lib/triggers/implementations/set-profile.d.ts +17 -0
  173. package/dist-types/lib/triggers/implementations/show-alert.d.ts +22 -0
  174. package/dist-types/lib/triggers/implementations/state/reset-state-var.d.ts +15 -0
  175. package/dist-types/lib/triggers/implementations/state/set-state-var.d.ts +18 -0
  176. package/dist-types/lib/triggers/implementations/timers/control-timer.d.ts +17 -0
  177. package/dist-types/lib/triggers/implementations/trigger-event.d.ts +17 -0
  178. package/dist-types/lib/triggers/registry.d.ts +174 -0
  179. package/dist-types/lib/triggers/run-event-handlers.d.ts +18 -0
  180. package/dist-types/lib/user-facing/component-base/components/autolinked-text.d.ts +8 -0
  181. package/dist-types/lib/user-facing/component-base/components/button.d.ts +46 -0
  182. package/dist-types/lib/user-facing/component-base/components/checkbox.d.ts +12 -0
  183. package/dist-types/lib/user-facing/component-base/components/dropdown-select.d.ts +4 -0
  184. package/dist-types/lib/user-facing/component-base/components/dynamic-svg.d.ts +10 -0
  185. package/dist-types/lib/user-facing/component-base/components/expand-button.d.ts +8 -0
  186. package/dist-types/lib/user-facing/component-base/components/loading-animator.d.ts +4 -0
  187. package/dist-types/lib/user-facing/component-base/components/plain-link.d.ts +1 -0
  188. package/dist-types/lib/user-facing/component-base/components/popper.d.ts +20 -0
  189. package/dist-types/lib/user-facing/component-base/components/search-component.d.ts +19 -0
  190. package/dist-types/lib/user-facing/component-base/components/span-trunc-middle.d.ts +9 -0
  191. package/dist-types/lib/user-facing/component-base/components/switch.d.ts +6 -0
  192. package/dist-types/lib/user-facing/component-base/constants.d.ts +18 -0
  193. package/dist-types/lib/user-facing/component-base/error/error-inline-message.d.ts +36 -0
  194. package/dist-types/lib/user-facing/component-base/error/error-tooltip.d.ts +11 -0
  195. package/dist-types/lib/user-facing/component-base/error/error-utils.d.ts +13 -0
  196. package/dist-types/lib/user-facing/component-base/error/widget-errors-wrapper.d.ts +15 -0
  197. package/dist-types/lib/user-facing/component-base/error-boundary.d.ts +18 -0
  198. package/dist-types/lib/user-facing/component-base/sb-component.d.ts +18 -0
  199. package/dist-types/lib/user-facing/component-base/styles/button-styles.d.ts +16 -0
  200. package/dist-types/lib/user-facing/component-base/styles/hover-styles.d.ts +10 -0
  201. package/dist-types/lib/user-facing/component-base/styles/input-styles.d.ts +2 -0
  202. package/dist-types/lib/user-facing/component-base/use-passthrough-props.d.ts +6 -0
  203. package/dist-types/lib/user-facing/component-base/utils/format-utils.d.ts +37 -0
  204. package/dist-types/lib/user-facing/component-base/utils/input-validation.d.ts +17 -0
  205. package/dist-types/lib/user-facing/components/button/index.d.ts +37 -0
  206. package/dist-types/lib/user-facing/components/button/props.d.ts +48 -0
  207. package/dist-types/lib/user-facing/components/checkbox/checkbox-component.d.ts +9 -0
  208. package/dist-types/lib/user-facing/components/checkbox/constants.d.ts +2 -0
  209. package/dist-types/lib/user-facing/components/checkbox/index.d.ts +43 -0
  210. package/dist-types/lib/user-facing/components/checkbox/props.d.ts +44 -0
  211. package/dist-types/lib/user-facing/components/checkbox/types.d.ts +19 -0
  212. package/dist-types/lib/user-facing/components/column/index.d.ts +51 -0
  213. package/dist-types/lib/user-facing/components/column/props.d.ts +45 -0
  214. package/dist-types/lib/user-facing/components/container/index.d.ts +63 -0
  215. package/dist-types/lib/user-facing/components/container/props.d.ts +58 -0
  216. package/dist-types/lib/user-facing/components/custom/context.d.ts +11 -0
  217. package/dist-types/lib/user-facing/components/custom/index.d.ts +2 -0
  218. package/dist-types/lib/user-facing/components/custom/register-custom-component.d.ts +27 -0
  219. package/dist-types/lib/user-facing/components/date-picker/constants.d.ts +8 -0
  220. package/dist-types/lib/user-facing/components/date-picker/date-picker-component.d.ts +29 -0
  221. package/dist-types/lib/user-facing/components/date-picker/date-picker.d.ts +2 -0
  222. package/dist-types/lib/user-facing/components/date-picker/index.d.ts +62 -0
  223. package/dist-types/lib/user-facing/components/date-picker/props.d.ts +64 -0
  224. package/dist-types/lib/user-facing/components/date-picker/props.test-d.d.ts +1 -0
  225. package/dist-types/lib/user-facing/components/date-picker/side-effects.d.ts +3 -0
  226. package/dist-types/lib/user-facing/components/date-picker/types.d.ts +40 -0
  227. package/dist-types/lib/user-facing/components/date-picker/utils.d.ts +24 -0
  228. package/dist-types/lib/user-facing/components/dropdown/constants.d.ts +5 -0
  229. package/dist-types/lib/user-facing/components/dropdown/dropdown-component.d.ts +106 -0
  230. package/dist-types/lib/user-facing/components/dropdown/index.d.ts +73 -0
  231. package/dist-types/lib/user-facing/components/dropdown/multi-dropdown.d.ts +18 -0
  232. package/dist-types/lib/user-facing/components/dropdown/normalize-values.d.ts +2 -0
  233. package/dist-types/lib/user-facing/components/dropdown/props.d.ts +76 -0
  234. package/dist-types/lib/user-facing/components/dropdown/types.d.ts +89 -0
  235. package/dist-types/lib/user-facing/components/dropdown/utils.d.ts +8 -0
  236. package/dist-types/lib/user-facing/components/grid/calculations/calculate-constraints.d.ts +26 -0
  237. package/dist-types/lib/user-facing/components/grid/calculations/calculate-row-positions.d.ts +2 -0
  238. package/dist-types/lib/user-facing/components/grid/calculations/order-constraints.d.ts +2 -0
  239. package/dist-types/lib/user-facing/components/grid/index.d.ts +36 -0
  240. package/dist-types/lib/user-facing/components/grid/use-height-observer.d.ts +5 -0
  241. package/dist-types/lib/user-facing/components/grid/utils.d.ts +1 -0
  242. package/dist-types/lib/user-facing/components/icon/index.d.ts +25 -0
  243. package/dist-types/lib/user-facing/components/icon/props.d.ts +26 -0
  244. package/dist-types/lib/user-facing/components/image/image-component.d.ts +38 -0
  245. package/dist-types/lib/user-facing/components/image/index.d.ts +29 -0
  246. package/dist-types/lib/user-facing/components/image/props.d.ts +39 -0
  247. package/dist-types/lib/user-facing/components/input/constants.d.ts +24 -0
  248. package/dist-types/lib/user-facing/components/input/derived-properties.d.ts +5 -0
  249. package/dist-types/lib/user-facing/components/input/index.d.ts +97 -0
  250. package/dist-types/lib/user-facing/components/input/input-component.d.ts +60 -0
  251. package/dist-types/lib/user-facing/components/input/props.d.ts +101 -0
  252. package/dist-types/lib/user-facing/components/input/styles.d.ts +6 -0
  253. package/dist-types/lib/user-facing/components/input/types.d.ts +45 -0
  254. package/dist-types/lib/user-facing/components/input/utils.d.ts +15 -0
  255. package/dist-types/lib/user-facing/components/key-value/components/key-styles.d.ts +3 -0
  256. package/dist-types/lib/user-facing/components/key-value/components/property-key.d.ts +7 -0
  257. package/dist-types/lib/user-facing/components/key-value/components/property-value.d.ts +12 -0
  258. package/dist-types/lib/user-facing/components/key-value/components/value-styles.d.ts +6 -0
  259. package/dist-types/lib/user-facing/components/key-value/constants.d.ts +7 -0
  260. package/dist-types/lib/user-facing/components/key-value/derived-properties.d.ts +1 -0
  261. package/dist-types/lib/user-facing/components/key-value/index.d.ts +39 -0
  262. package/dist-types/lib/user-facing/components/key-value/key-value-component.d.ts +2 -0
  263. package/dist-types/lib/user-facing/components/key-value/properties-props.d.ts +45 -0
  264. package/dist-types/lib/user-facing/components/key-value/props.d.ts +38 -0
  265. package/dist-types/lib/user-facing/components/key-value/styles.d.ts +22 -0
  266. package/dist-types/lib/user-facing/components/key-value/types.d.ts +106 -0
  267. package/dist-types/lib/user-facing/components/key-value/utils.d.ts +11 -0
  268. package/dist-types/lib/user-facing/components/modal/constants.d.ts +8 -0
  269. package/dist-types/lib/user-facing/components/modal/index.d.ts +49 -0
  270. package/dist-types/lib/user-facing/components/modal/modal-component.d.ts +36 -0
  271. package/dist-types/lib/user-facing/components/modal/props.d.ts +46 -0
  272. package/dist-types/lib/user-facing/components/page/index.d.ts +18 -0
  273. package/dist-types/lib/user-facing/components/page/props.d.ts +19 -0
  274. package/dist-types/lib/user-facing/components/page/register-page.d.ts +2 -0
  275. package/dist-types/lib/user-facing/components/section/index.d.ts +19 -0
  276. package/dist-types/lib/user-facing/components/section/props.d.ts +22 -0
  277. package/dist-types/lib/user-facing/components/slideout/index.d.ts +15 -0
  278. package/dist-types/lib/user-facing/components/slideout/props.d.ts +15 -0
  279. package/dist-types/lib/user-facing/components/stack/index.d.ts +60 -0
  280. package/dist-types/lib/user-facing/components/switch/constants.d.ts +3 -0
  281. package/dist-types/lib/user-facing/components/switch/index.d.ts +44 -0
  282. package/dist-types/lib/user-facing/components/switch/props.d.ts +45 -0
  283. package/dist-types/lib/user-facing/components/switch/switch-component.d.ts +4 -0
  284. package/dist-types/lib/user-facing/components/switch/types.d.ts +19 -0
  285. package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +245 -0
  286. package/dist-types/lib/user-facing/components/table/components/autotooltip-component.d.ts +17 -0
  287. package/dist-types/lib/user-facing/components/table/components/boolean-value-icons.d.ts +16 -0
  288. package/dist-types/lib/user-facing/components/table/components/column-settings.d.ts +11 -0
  289. package/dist-types/lib/user-facing/components/table/components/edit-cell.d.ts +15 -0
  290. package/dist-types/lib/user-facing/components/table/components/edit-checkbox-cell.d.ts +11 -0
  291. package/dist-types/lib/user-facing/components/table/components/edit-date-cell.d.ts +12 -0
  292. package/dist-types/lib/user-facing/components/table/components/edit-input-cell.d.ts +14 -0
  293. package/dist-types/lib/user-facing/components/table/components/edit-multi-select-cell.d.ts +13 -0
  294. package/dist-types/lib/user-facing/components/table/components/edit-single-select-cell.d.ts +13 -0
  295. package/dist-types/lib/user-facing/components/table/components/edit-utils.d.ts +28 -0
  296. package/dist-types/lib/user-facing/components/table/components/editable-link-cell.d.ts +20 -0
  297. package/dist-types/lib/user-facing/components/table/components/filter-popover-content.d.ts +37 -0
  298. package/dist-types/lib/user-facing/components/table/components/popover-video.d.ts +5 -0
  299. package/dist-types/lib/user-facing/components/table/components/table-action-icon.d.ts +13 -0
  300. package/dist-types/lib/user-facing/components/table/components/table-column-header-button.d.ts +19 -0
  301. package/dist-types/lib/user-facing/components/table/components/table-data-download.d.ts +15 -0
  302. package/dist-types/lib/user-facing/components/table/components/table-footer.d.ts +40 -0
  303. package/dist-types/lib/user-facing/components/table/components/table-header.d.ts +62 -0
  304. package/dist-types/lib/user-facing/components/table/components/table-loading-state.d.ts +11 -0
  305. package/dist-types/lib/user-facing/components/table/components/table-pagination-input.d.ts +10 -0
  306. package/dist-types/lib/user-facing/components/table/components/table-pagination.d.ts +18 -0
  307. package/dist-types/lib/user-facing/components/table/components/table-row-context-menu.d.ts +17 -0
  308. package/dist-types/lib/user-facing/components/table/components/table-tag.d.ts +25 -0
  309. package/dist-types/lib/user-facing/components/table/constants.d.ts +111 -0
  310. package/dist-types/lib/user-facing/components/table/derived-properties.d.ts +20 -0
  311. package/dist-types/lib/user-facing/components/table/index.d.ts +338 -0
  312. package/dist-types/lib/user-facing/components/table/props.d.ts +342 -0
  313. package/dist-types/lib/user-facing/components/table/table-component.d.ts +100 -0
  314. package/dist-types/lib/user-facing/components/table/table-manager.d.ts +23 -0
  315. package/dist-types/lib/user-facing/components/table/table-styles.d.ts +78 -0
  316. package/dist-types/lib/user-facing/components/table/table-utilities.d.ts +147 -0
  317. package/dist-types/lib/user-facing/components/table/table-widget.d.ts +148 -0
  318. package/dist-types/lib/user-facing/components/table/types.d.ts +471 -0
  319. package/dist-types/lib/user-facing/components/table/use-sticky.d.ts +1 -0
  320. package/dist-types/lib/user-facing/components/table/utils.d.ts +2 -0
  321. package/dist-types/lib/user-facing/components/text/index.d.ts +51 -0
  322. package/dist-types/lib/user-facing/components/text/long-text-button.d.ts +8 -0
  323. package/dist-types/lib/user-facing/components/text/props.d.ts +60 -0
  324. package/dist-types/lib/user-facing/components/text/styles.d.ts +2 -0
  325. package/dist-types/lib/user-facing/components/text/utils.d.ts +25 -0
  326. package/dist-types/lib/user-facing/constants.d.ts +2 -0
  327. package/dist-types/lib/user-facing/entities/api/index.d.ts +14 -0
  328. package/dist-types/lib/user-facing/entities/api/props.d.ts +15 -0
  329. package/dist-types/lib/user-facing/entities/timer/index.d.ts +16 -0
  330. package/dist-types/lib/user-facing/entities/timer/props.d.ts +19 -0
  331. package/dist-types/lib/user-facing/entities/variable/index.d.ts +14 -0
  332. package/dist-types/lib/user-facing/entities/variable/props.d.ts +13 -0
  333. package/dist-types/lib/user-facing/global-functions.d.ts +23 -0
  334. package/dist-types/lib/user-facing/hooks/use-editor.d.ts +42 -0
  335. package/dist-types/lib/user-facing/hooks/use-update-properties.d.ts +1 -0
  336. package/dist-types/lib/user-facing/icons/constants.d.ts +8 -0
  337. package/dist-types/lib/user-facing/icons/encoded.d.ts +1 -0
  338. package/dist-types/lib/user-facing/icons/helpers.d.ts +21 -0
  339. package/dist-types/lib/user-facing/icons/index.d.ts +2 -0
  340. package/dist-types/lib/user-facing/internal-index.d.ts +4 -0
  341. package/dist-types/lib/user-facing/layers.d.ts +43 -0
  342. package/dist-types/lib/user-facing/properties-panel/constants.d.ts +1 -0
  343. package/dist-types/lib/user-facing/properties-panel/create-managed-props-list.d.ts +5 -0
  344. package/dist-types/lib/user-facing/properties-panel/mixins/appearance-properties.d.ts +21 -0
  345. package/dist-types/lib/user-facing/properties-panel/mixins/appearance.d.ts +12 -0
  346. package/dist-types/lib/user-facing/properties-panel/mixins/form-inputs-properties.d.ts +44 -0
  347. package/dist-types/lib/user-facing/properties-panel/mixins/layout-section.d.ts +114 -0
  348. package/dist-types/lib/user-facing/properties-panel/properties-panel-definition.d.ts +6 -0
  349. package/dist-types/lib/user-facing/properties-panel/props-builder.d.ts +253 -0
  350. package/dist-types/lib/user-facing/properties-panel/props-builder.test-d.d.ts +1 -0
  351. package/dist-types/lib/user-facing/properties-panel/props-panel-utils.d.ts +3 -0
  352. package/dist-types/lib/user-facing/properties-panel/validators.d.ts +33 -0
  353. package/dist-types/lib/user-facing/sb-event-flow.d.ts +52 -0
  354. package/dist-types/lib/user-facing/sb-provider.d.ts +12 -0
  355. package/dist-types/lib/user-facing/state/create-bindable-entity-proxy.d.ts +6 -0
  356. package/dist-types/lib/user-facing/state/create-scope.d.ts +6 -0
  357. package/dist-types/lib/user-facing/state/sb-computed.d.ts +2 -0
  358. package/dist-types/lib/user-facing/state/types.d.ts +17 -0
  359. package/dist-types/lib/user-facing/styling/color-utils.d.ts +13 -0
  360. package/dist-types/lib/user-facing/styling/colors.d.ts +67 -0
  361. package/dist-types/lib/user-facing/styling/style-as-class.d.ts +1 -0
  362. package/dist-types/lib/user-facing/styling/styles.d.ts +4 -0
  363. package/dist-types/lib/user-facing/styling/widget-label-styles.d.ts +11 -0
  364. package/dist-types/lib/user-facing/themes/classnames.d.ts +72 -0
  365. package/dist-types/lib/user-facing/themes/constants.d.ts +80 -0
  366. package/dist-types/lib/user-facing/themes/default-theme.d.ts +8 -0
  367. package/dist-types/lib/user-facing/themes/generate-border-css.d.ts +25 -0
  368. package/dist-types/lib/user-facing/themes/generate-border-styles.d.ts +15 -0
  369. package/dist-types/lib/user-facing/themes/generate-class-name.d.ts +2 -0
  370. package/dist-types/lib/user-facing/themes/generate-colors.d.ts +45 -0
  371. package/dist-types/lib/user-facing/themes/generate-theme.d.ts +3 -0
  372. package/dist-types/lib/user-facing/themes/generate-typographies.d.ts +5 -0
  373. package/dist-types/lib/user-facing/themes/generatedStyles/button-styles.d.ts +2 -0
  374. package/dist-types/lib/user-facing/themes/generatedStyles/container-styles.d.ts +2 -0
  375. package/dist-types/lib/user-facing/themes/generatedStyles/datepicker-styles.d.ts +2 -0
  376. package/dist-types/lib/user-facing/themes/generatedStyles/dropdown-styles.d.ts +2 -0
  377. package/dist-types/lib/user-facing/themes/generatedStyles/editor-styles.d.ts +2 -0
  378. package/dist-types/lib/user-facing/themes/generatedStyles/generate-component-styles.d.ts +16 -0
  379. package/dist-types/lib/user-facing/themes/generatedStyles/generate-padding-style.d.ts +19 -0
  380. package/dist-types/lib/user-facing/themes/generatedStyles/icon-styles.d.ts +2 -0
  381. package/dist-types/lib/user-facing/themes/generatedStyles/input-styles.d.ts +3 -0
  382. package/dist-types/lib/user-facing/themes/generatedStyles/paginator-styles.d.ts +2 -0
  383. package/dist-types/lib/user-facing/themes/generatedStyles/popper-styles.d.ts +2 -0
  384. package/dist-types/lib/user-facing/themes/generatedStyles/styles-utils.d.ts +1 -0
  385. package/dist-types/lib/user-facing/themes/generatedStyles/text-styles.d.ts +3 -0
  386. package/dist-types/lib/user-facing/themes/generatedStyles/theme-styles.d.ts +5 -0
  387. package/dist-types/lib/user-facing/themes/generatedStyles/utils.d.ts +23 -0
  388. package/dist-types/lib/user-facing/themes/index.d.ts +5 -0
  389. package/dist-types/lib/user-facing/themes/layers.d.ts +6 -0
  390. package/dist-types/lib/user-facing/themes/padding-constants.d.ts +10 -0
  391. package/dist-types/lib/user-facing/themes/typeface-constants.d.ts +3 -0
  392. package/dist-types/lib/user-facing/themes/typefaces/utils.d.ts +28 -0
  393. package/dist-types/lib/user-facing/themes/typeography/typography-utils.d.ts +33 -0
  394. package/dist-types/lib/user-facing/themes/typeography/use-typography-styling.d.ts +15 -0
  395. package/dist-types/lib/user-facing/themes/typography-constants.d.ts +34 -0
  396. package/dist-types/lib/user-facing/themes/utils.d.ts +16 -0
  397. package/dist-types/lib/user-facing/types.d.ts +22 -0
  398. package/dist-types/lib/user-facing/utils/form.d.ts +10 -0
  399. package/dist-types/lib/utils/clean-object.d.ts +5 -0
  400. package/dist-types/lib/utils/fast-clone.d.ts +1 -0
  401. package/dist-types/lib/utils/generate-id.d.ts +1 -0
  402. package/dist-types/lib/utils/is-user-on-mac.d.ts +1 -0
  403. package/dist-types/lib/utils/is-widget-grid.d.ts +2 -0
  404. package/dist-types/lib/utils/is-widget-vstack.d.ts +2 -0
  405. package/dist-types/lib/utils/shallow-equal.d.ts +1 -0
  406. package/dist-types/lib/utils/widget-wrapper-naming.d.ts +6 -0
  407. package/dist-types/main.d.ts +1 -0
  408. package/package.json +152 -0
@@ -0,0 +1,24 @@
1
+ import type { CurrencyCodeDisplayType, InputType } from "./types.js";
2
+ import type { PerSideBorder } from "@superblocksteam/library-shared/types";
3
+ export declare const InputTypes: {
4
+ [key: string]: string;
5
+ };
6
+ export declare const INPUT_TYPE_OPTIONS: {
7
+ label: string;
8
+ value: InputType;
9
+ }[];
10
+ export declare const CurrencyCodeDisplayTypes: {
11
+ readonly SYMBOL: "symbol";
12
+ readonly ISO_CODE: "iso_code";
13
+ };
14
+ export declare const CURRENCY_CODE_DISPLAY_OPTIONS: {
15
+ label: string;
16
+ value: CurrencyCodeDisplayType;
17
+ }[];
18
+ export declare const DEFAULT_INPUT_BORDER_OBJECT: PerSideBorder;
19
+ export declare const CURRENCY_SYMBOL_MAP: Record<string, string>;
20
+ export declare const INPUT_TYPES_WITH_MINMAX: string[];
21
+ export declare const DATE_TYPES: {
22
+ value: string;
23
+ label: string;
24
+ }[];
@@ -0,0 +1,5 @@
1
+ import type { InputWidgetProps } from "./types.js";
2
+ export declare function getValue(this: InputWidgetProps): string | number | null | undefined;
3
+ export declare function getValidationErrors(this: InputWidgetProps): Record<"number" | "url" | "required" | "email" | "minMax" | "customRule", string | undefined>;
4
+ export declare function getShowError(this: InputWidgetProps): boolean;
5
+ export declare function getIsValid(this: InputWidgetProps): boolean;
@@ -0,0 +1,97 @@
1
+ export declare const SbInput: import("react").FC<import("../../properties-panel/props-builder.js").ExternalProps<{
2
+ general: import("../../properties-panel/props-builder.js").Section<(Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & ({
3
+ label: import("../../properties-panel/props-builder.js").Prop<string, true>;
4
+ } & (Omit<{
5
+ inputType: import("../../properties-panel/props-builder.js").Prop<string, true>;
6
+ }, "inputType" | "currency" | "numberFormatting" | "currencyCodeDisplay"> & ({
7
+ inputType: import("../../properties-panel/props-builder.js").Prop<string, true>;
8
+ numberFormatting: import("../../properties-panel/props-builder.js").Prop<"unformatted" | NonNullable<"compact" | "standard" | "scientific" | "engineering" | undefined>, true>;
9
+ currency?: undefined;
10
+ currencyCodeDisplay?: undefined;
11
+ } | {
12
+ inputType: import("../../properties-panel/props-builder.js").Prop<string, true>;
13
+ numberFormatting: import("../../properties-panel/props-builder.js").Prop<"unformatted" | NonNullable<"compact" | "standard" | "scientific" | "engineering" | undefined>, true>;
14
+ currency: import("../../properties-panel/props-builder.js").Prop<string, true>;
15
+ currencyCodeDisplay: import("../../properties-panel/props-builder.js").Prop<import("./types.js").CurrencyCodeDisplayType, true>;
16
+ })))) & {
17
+ defaultValue: import("../../properties-panel/props-builder.js").Prop<string, true>;
18
+ }>;
19
+ appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
20
+ labelPosition: import("../../properties-panel/props-builder.js").Prop<"left" | "top", true>;
21
+ labelStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
22
+ placeholderText: import("../../properties-panel/props-builder.js").Prop<string, true>;
23
+ textStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
24
+ backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, true>;
25
+ border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
26
+ borderRadius: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
27
+ icon: import("../../properties-panel/props-builder.js").Prop<string, false>;
28
+ iconPosition: import("../../properties-panel/props-builder.js").Prop<import("../../icons/constants.js").IconPosition, true>;
29
+ } & Omit<{
30
+ inputType: import("../../properties-panel/props-builder.js").Prop<string, false>;
31
+ }, "inputType" | "multiline"> & {
32
+ inputType: import("../../properties-panel/props-builder.js").Prop<string, true>;
33
+ multiline: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
34
+ } & {
35
+ loadingAnimation: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
36
+ }>;
37
+ layout: import("../../properties-panel/props-builder.js").Section<(Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
38
+ padding: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").Spacing, true>;
39
+ } & ({
40
+ maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
41
+ minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
42
+ maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
43
+ minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
44
+ width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
45
+ height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
46
+ } & ({
47
+ margin: import("../../properties-panel/props-builder.js").Prop<unknown, true>;
48
+ } & (Omit<{
49
+ labelPosition: import("../../properties-panel/props-builder.js").Prop<"left" | "top", false>;
50
+ }, "labelPosition" | "labelWidth"> & ({
51
+ labelPosition: import("../../properties-panel/props-builder.js").Prop<"left", true>;
52
+ labelWidth: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim, true>;
53
+ } | {
54
+ labelPosition: import("../../properties-panel/props-builder.js").Prop<"top", true>;
55
+ labelWidth?: undefined;
56
+ }))))) & {
57
+ isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
58
+ collapseWhenInvisible: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
59
+ }>;
60
+ interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & Omit<{
61
+ inputType: import("../../properties-panel/props-builder.js").Prop<string, false>;
62
+ }, "inputType" | "minimumFractionDigits" | "maximumFractionDigits" | "stepper" | "stepSize"> & {
63
+ stepper: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
64
+ stepSize: import("../../properties-panel/props-builder.js").Prop<number, true>;
65
+ minimumFractionDigits: import("../../properties-panel/props-builder.js").Prop<number, true>;
66
+ maximumFractionDigits: import("../../properties-panel/props-builder.js").Prop<number, true>;
67
+ inputType: import("../../properties-panel/props-builder.js").Prop<string, true>;
68
+ } & Omit<{
69
+ inputType: import("../../properties-panel/props-builder.js").Prop<string, false>;
70
+ }, "maxLength" | "minLength" | "inputType"> & {
71
+ minLength: import("../../properties-panel/props-builder.js").Prop<number, false>;
72
+ maxLength: import("../../properties-panel/props-builder.js").Prop<number, false>;
73
+ inputType: import("../../properties-panel/props-builder.js").Prop<string, true>;
74
+ } & {
75
+ errorMessagePlacement: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true>;
76
+ customValidationRule: import("../../properties-panel/props-builder.js").Prop<string, true>;
77
+ customErrorMessage: import("../../properties-panel/props-builder.js").Prop<string, true>;
78
+ isDisabled: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
79
+ isRequired: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
80
+ }>;
81
+ events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
82
+ onTextChanged: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
83
+ onSubmit: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
84
+ onFocus: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
85
+ onFocusOut: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
86
+ }>;
87
+ meta: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
88
+ text: import("../../properties-panel/props-builder.js").Prop<string | undefined, false>;
89
+ isTouched: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
90
+ }>;
91
+ derived: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
92
+ value: import("../../properties-panel/props-builder.js").Prop<string, true>;
93
+ validationErrors: import("../../properties-panel/props-builder.js").Prop<any, true>;
94
+ isValid: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
95
+ showError: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
96
+ }>;
97
+ }>>;
@@ -0,0 +1,60 @@
1
+ import { NumericInput, TextArea } from "@blueprintjs/core";
2
+ import React from "react";
3
+ import type { InputComponentProps, InputType } from "./types.js";
4
+ export declare const hasIconSupport: (inputType: InputType) => boolean;
5
+ declare class InputComponent extends React.Component<InputComponentProps, InputComponentState> {
6
+ textareaRef: React.RefObject<TextArea>;
7
+ numericInputRef: React.RefObject<NumericInput>;
8
+ inputRef: React.RefObject<HTMLInputElement>;
9
+ groupWrapperRef: React.RefObject<HTMLDivElement>;
10
+ constructor(props: InputComponentProps);
11
+ componentDidMount(): void;
12
+ componentDidUpdate(prevProps: Readonly<InputComponentProps>): void;
13
+ componentWillUnmount(): void;
14
+ shouldComponentUpdate(prevProps: Readonly<InputComponentProps>, prevState: Readonly<InputComponentState>): boolean;
15
+ onDebouncedValueChange: import("lodash").DebouncedFunc<(value: any) => void>;
16
+ getInputDomElement: () => HTMLInputElement | HTMLTextAreaElement | null | undefined;
17
+ ensureFocus: () => void;
18
+ onFocus: () => void;
19
+ onBlur: () => void;
20
+ formatNumber: (value: string) => string;
21
+ valueWithPrecision: (value: string | number) => string;
22
+ onTextChange: (event: React.ChangeEvent<HTMLInputElement> | React.ChangeEvent<HTMLTextAreaElement>) => void;
23
+ onNumberChange: (_: number, valueAsString: string) => void;
24
+ getIcon(inputType: InputType): "search" | "envelope" | "phone" | undefined;
25
+ getType(inputType: InputType): "text" | "search" | "email" | "password";
26
+ onKeyDownTextArea: (e: React.KeyboardEvent<HTMLTextAreaElement>) => void;
27
+ onKeyDown: (e: React.KeyboardEvent<HTMLInputElement>) => void;
28
+ handleIncrementDecrement: (isIncrementing: boolean) => void;
29
+ private getClassNames;
30
+ private hasSuffix;
31
+ private hasPrefix;
32
+ private isInputGroupWithAddons;
33
+ /**
34
+ * Generates a style object for the input element and input group.
35
+ * We only use the style props for border radius, background color, text style and icon position styling.
36
+ * Border, border color, border width, and padding styling is handled by the CSS classes.
37
+ *
38
+ * @param inputGroupStylingProps - The input group styling properties.
39
+ * @param inputStyleOverride - The input style override properties.
40
+ * @returns styles for to be used either by an input element or an input group element.
41
+ */
42
+ private static generateStyleObject;
43
+ private static generateIconPositionStyleObject;
44
+ private getStyleObject;
45
+ private createCssVariablesForPadding;
46
+ private numericInputComponent;
47
+ private textAreaInputComponent;
48
+ private passwordIconComponent;
49
+ private textInputComponent;
50
+ private renderInputComponent;
51
+ private renderIcon;
52
+ render(): React.JSX.Element;
53
+ }
54
+ interface InputComponentState {
55
+ showPassword?: boolean;
56
+ localValue?: string;
57
+ displayValue?: string;
58
+ inputFocused?: boolean;
59
+ }
60
+ export default InputComponent;
@@ -0,0 +1,101 @@
1
+ import { Section, Prop } from "../../properties-panel/props-builder.js";
2
+ import type { CurrencyCodeDisplayType } from "./types.js";
3
+ import type { IconPosition } from "../../icons/constants.js";
4
+ import type { TextStyleWithVariant } from "@superblocksteam/library-shared/types";
5
+ export declare const propertiesDefinition: {
6
+ general: Section<(Record<string, Prop<any, any>> & ({
7
+ label: Prop<string, true>;
8
+ } & (Omit<{
9
+ inputType: Prop<string, true>;
10
+ }, "inputType" | "currency" | "numberFormatting" | "currencyCodeDisplay"> & ({
11
+ inputType: Prop<string, true>;
12
+ numberFormatting: Prop<"unformatted" | NonNullable<"compact" | "standard" | "scientific" | "engineering" | undefined>, true>;
13
+ currency?: undefined;
14
+ currencyCodeDisplay?: undefined;
15
+ } | {
16
+ inputType: Prop<string, true>;
17
+ numberFormatting: Prop<"unformatted" | NonNullable<"compact" | "standard" | "scientific" | "engineering" | undefined>, true>;
18
+ currency: Prop<string, true>;
19
+ currencyCodeDisplay: Prop<CurrencyCodeDisplayType, true>;
20
+ })))) & {
21
+ defaultValue: Prop<string, true>;
22
+ }>;
23
+ appearance: Section<Record<string, Prop<any, any>> & {
24
+ labelPosition: Prop<"left" | "top", true>;
25
+ labelStyle: Prop<TextStyleWithVariant, true>;
26
+ placeholderText: Prop<string, true>;
27
+ textStyle: Prop<TextStyleWithVariant, true>;
28
+ backgroundColor: Prop<string, true>;
29
+ border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
30
+ borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
31
+ icon: Prop<string, false>;
32
+ iconPosition: Prop<IconPosition, true>;
33
+ } & Omit<{
34
+ inputType: Prop<string, false>;
35
+ }, "inputType" | "multiline"> & {
36
+ inputType: Prop<string, true>;
37
+ multiline: Prop<boolean, true>;
38
+ } & {
39
+ loadingAnimation: Prop<boolean, true>;
40
+ }>;
41
+ layout: Section<(Record<string, Prop<any, any>> & {
42
+ padding: Prop<import("@superblocksteam/library-shared/types").Spacing, true>;
43
+ } & ({
44
+ maxHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
45
+ minHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
46
+ maxWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
47
+ minWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
48
+ width: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
49
+ height: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
50
+ } & ({
51
+ margin: Prop<unknown, true>;
52
+ } & (Omit<{
53
+ labelPosition: Prop<"left" | "top", false>;
54
+ }, "labelPosition" | "labelWidth"> & ({
55
+ labelPosition: Prop<"left", true>;
56
+ labelWidth: Prop<import("@superblocksteam/library-shared").Dim, true>;
57
+ } | {
58
+ labelPosition: Prop<"top", true>;
59
+ labelWidth?: undefined;
60
+ }))))) & {
61
+ isVisible: Prop<boolean, true>;
62
+ collapseWhenInvisible: Prop<boolean, false>;
63
+ }>;
64
+ interaction: Section<Record<string, Prop<any, any>> & Omit<{
65
+ inputType: Prop<string, false>;
66
+ }, "inputType" | "minimumFractionDigits" | "maximumFractionDigits" | "stepper" | "stepSize"> & {
67
+ stepper: Prop<boolean, true>;
68
+ stepSize: Prop<number, true>;
69
+ minimumFractionDigits: Prop<number, true>;
70
+ maximumFractionDigits: Prop<number, true>;
71
+ inputType: Prop<string, true>;
72
+ } & Omit<{
73
+ inputType: Prop<string, false>;
74
+ }, "maxLength" | "minLength" | "inputType"> & {
75
+ minLength: Prop<number, false>;
76
+ maxLength: Prop<number, false>;
77
+ inputType: Prop<string, true>;
78
+ } & {
79
+ errorMessagePlacement: Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true>;
80
+ customValidationRule: Prop<string, true>;
81
+ customErrorMessage: Prop<string, true>;
82
+ isDisabled: Prop<boolean, true>;
83
+ isRequired: Prop<boolean, true>;
84
+ }>;
85
+ events: Section<Record<string, Prop<any, any>> & {
86
+ onTextChanged: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
87
+ onSubmit: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
88
+ onFocus: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
89
+ onFocusOut: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
90
+ }>;
91
+ meta: Section<Record<string, Prop<any, any>> & {
92
+ text: Prop<string | undefined, false>;
93
+ isTouched: Prop<boolean, true>;
94
+ }>;
95
+ derived: Section<Record<string, Prop<any, any>> & {
96
+ value: Prop<string, true>;
97
+ validationErrors: Prop<any, true>;
98
+ isValid: Prop<boolean, true>;
99
+ showError: Prop<boolean, true>;
100
+ }>;
101
+ };
@@ -0,0 +1,6 @@
1
+ export declare const NumericInputWrapperClass: string;
2
+ export declare const ControlGroupClassName: string;
3
+ export declare const STYLED_BORDERS_CLASS_NAME = "inputWithStyledBorders";
4
+ export declare const SupportNestedStyledBorders: string;
5
+ export declare const SupportNestedStyledPadding: string;
6
+ export declare const InputGroupWithStyledBorders: string;
@@ -0,0 +1,45 @@
1
+ import type { InputTypes, CurrencyCodeDisplayTypes } from "./constants.js";
2
+ import type { propertiesDefinition } from "./props.js";
3
+ import type { InternalProps } from "../../properties-panel/props-builder.js";
4
+ import type { IconName, Intent } from "@blueprintjs/core";
5
+ import type { Dim } from "@superblocksteam/library-shared";
6
+ import type { Padding, PerSideBorder, PerCornerBorderRadius } from "@superblocksteam/library-shared/types";
7
+ export type InputWidgetProps = InternalProps<typeof propertiesDefinition>;
8
+ export interface InputGroupStylingProps {
9
+ border?: PerSideBorder;
10
+ fallbackBorderColor: string;
11
+ borderRadius?: PerCornerBorderRadius;
12
+ fallbackBorderRadius: Dim<"px" | "%">;
13
+ borderColorOnHover: string;
14
+ defaultBorderWidth: Dim<"px">;
15
+ padding?: Padding;
16
+ }
17
+ export type InputComponentProps = Pick<InputWidgetProps, "inputType" | "numberFormatting" | "isDisabled" | "backgroundColor" | "border" | "labelWidth" | "multiline" | "label" | "stepper" | "stepSize" | "onSubmit" | "isTouched" | "onFocusOut" | "onFocus" | "isValid" | "minimumFractionDigits" | "maximumFractionDigits" | "preventFormattingWhileTyping" | "defaultValue" | "isInvalid" | "isLoading" | "icon" | "iconPosition" | "currency" | "currencyCodeDisplay" | "minLength" | "maxLength" | "errorMessagePlacement" | "showError" | "isFocused" | "isRequired"> & {
18
+ placeholder: string;
19
+ value: string;
20
+ inputGroupStylingProps: InputGroupStylingProps;
21
+ disableDebounce?: boolean;
22
+ autoFocus?: boolean;
23
+ widgetType: string;
24
+ disableNewLineOnPressEnterKey?: boolean;
25
+ inputClassName?: string;
26
+ showStepper?: boolean;
27
+ inputStyleOverride?: React.CSSProperties;
28
+ iconTop?: number;
29
+ vertical?: boolean;
30
+ iconSize?: number;
31
+ errorMessages?: string[];
32
+ labelClassName: string;
33
+ labelStyleOverride?: React.CSSProperties;
34
+ intent?: Intent;
35
+ leftIcon?: IconName;
36
+ sourceId: string;
37
+ growVertically?: boolean;
38
+ numLines?: number;
39
+ labelRef?: React.RefObject<HTMLLabelElement>;
40
+ onValueChange: (value: string) => void;
41
+ onFocusChange: (focusState: boolean) => void;
42
+ onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement | HTMLInputElement>) => void;
43
+ };
44
+ export type InputType = (typeof InputTypes)[keyof typeof InputTypes];
45
+ export type CurrencyCodeDisplayType = (typeof CurrencyCodeDisplayTypes)[keyof typeof CurrencyCodeDisplayTypes];
@@ -0,0 +1,15 @@
1
+ import type { InputGroupStylingProps, InputType, InputWidgetProps } from "./types.js";
2
+ import type { TextStyleWithVariant } from "@superblocksteam/library-shared/types";
3
+ export declare const useStyles: (props: InputWidgetProps, text: string) => any;
4
+ export declare const useLabelClassName: ({ labelStyle, isLoading, isDisabled, }: InputWidgetProps) => string;
5
+ export declare const isNumericInput: (inputType: InputType) => boolean;
6
+ export declare const useInputClassNames: ({ isInvalid, isDisabled, isLoading, inputType, textStyle, withStyledBorders, }: Pick<InputWidgetProps, "isInvalid" | "isDisabled" | "isLoading" | "inputType" | "textStyle"> & {
7
+ withStyledBorders?: boolean;
8
+ }) => string;
9
+ export declare const sanitizeNumericInputValue: (value: number | string, isPercentInput: boolean) => string;
10
+ export declare const useIconTop: ({ border, padding, textStyle, multiline, backgroundColor, iconHeight, inputHeight, }: Pick<InputWidgetProps, "border" | "padding" | "textStyle" | "multiline" | "backgroundColor" | "iconHeight" | "inputHeight">) => number;
11
+ export declare const useInputIconSize: ({ textStyle, }: {
12
+ textStyle?: TextStyleWithVariant;
13
+ }) => number;
14
+ export declare const useInputGroupStylingProps: (props: InputWidgetProps) => InputGroupStylingProps;
15
+ export declare const useConditionalProps: (props: InputWidgetProps) => Partial<InputWidgetProps>;
@@ -0,0 +1,3 @@
1
+ import type { KeyValueComponentProps } from "../types.js";
2
+ export declare const PropertyKeyWrapperClass: string;
3
+ export declare const useKeyClassNames: (keyProps?: KeyValueComponentProps["keyProps"]) => string;
@@ -0,0 +1,7 @@
1
+ import type { KeyValueComponentProps, KeyValueProperty } from "../types.js";
2
+ export declare const KeyValuePropertyKey: ({ property, style, keyProps, iconSize, }: {
3
+ property: KeyValueProperty;
4
+ style?: React.CSSProperties;
5
+ keyProps?: KeyValueComponentProps["keyProps"];
6
+ iconSize?: number;
7
+ }) => import("react").JSX.Element;
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ import type { TypographyProps } from "../../../themes/typeography/use-typography-styling.js";
3
+ import type { KeyValueComponentProps, KeyValueProperty } from "../types.js";
4
+ import type { UserAccessibleTheme } from "@superblocksteam/library-shared/types";
5
+ export declare const KeyValuePropertyValue: (props: {
6
+ property: KeyValueProperty;
7
+ data: Record<string, unknown>;
8
+ iconSize?: number;
9
+ valueStyles?: TypographyProps;
10
+ linkStyles?: TypographyProps;
11
+ theme: UserAccessibleTheme;
12
+ } & Pick<KeyValueComponentProps, "valueProps" | "width" | "height">) => React.JSX.Element;
@@ -0,0 +1,6 @@
1
+ import type { KeyValueComponentProps } from "../types.js";
2
+ export declare const ValueContentWrapperClass: string;
3
+ export declare const ValueWrapperClass: string;
4
+ export declare const ImageWrapperClass: string;
5
+ export declare const TagCellWrapperClass: string;
6
+ export declare const useValueClassNames: (valueProps: KeyValueComponentProps["valueProps"]) => string;
@@ -0,0 +1,7 @@
1
+ import { KeyValuePropertyType } from "./types.js";
2
+ import type { PerSideBorder } from "@superblocksteam/shared";
3
+ export declare const KEY_VALUE_WIDGET_PROPERTY_TYPES: {
4
+ label: string;
5
+ value: KeyValuePropertyType;
6
+ }[];
7
+ export declare const DEFAULT_BORDER_OBJECT: PerSideBorder;
@@ -0,0 +1 @@
1
+ export declare function getData(props: any): Record<string, unknown>;
@@ -0,0 +1,39 @@
1
+ /**
2
+ * TODO:
3
+ * Add possibility to add arguments to component inputs
4
+ * Add default values based on current property values
5
+ */
6
+ export declare const SbKeyValue: import("react").FC<import("../../properties-panel/props-builder.js").ExternalProps<{
7
+ general: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
8
+ sourceData: import("../../properties-panel/props-builder.js").Prop<Record<string, unknown>, false>;
9
+ properties: import("../../properties-panel/props-builder.js").Prop<Record<string, import("./types.js").KeyValueProperty>, true>;
10
+ propertiesOrder: import("../../properties-panel/props-builder.js").Prop<string[], true>;
11
+ }>;
12
+ appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
13
+ "keyProps.position": import("../../properties-panel/props-builder.js").Prop<"left" | "top", true>;
14
+ "keyProps.keyStyle": import("../../properties-panel/props-builder.js").Prop<any, false>;
15
+ "keyProps.textWrap": import("../../properties-panel/props-builder.js").Prop<boolean, true>;
16
+ "valueProps.valueStyle": import("../../properties-panel/props-builder.js").Prop<any, false>;
17
+ "valueProps.textWrap": import("../../properties-panel/props-builder.js").Prop<boolean, true>;
18
+ "styleProps.backgroundColor": import("../../properties-panel/props-builder.js").Prop<string, false>;
19
+ "styleProps.border": import("../../properties-panel/props-builder.js").Prop<any, false>;
20
+ "styleProps.borderRadius": import("../../properties-panel/props-builder.js").Prop<any, false>;
21
+ "styleProps.divider": import("../../properties-panel/props-builder.js").Prop<any, true>;
22
+ }>;
23
+ layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
24
+ isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
25
+ collapseWhenInvisible: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
26
+ keyProps: import("../../properties-panel/props-builder.js").Prop<any, true>;
27
+ "keyProps.width": import("../../properties-panel/props-builder.js").Prop<any, false>;
28
+ "valueProps.position": import("../../properties-panel/props-builder.js").Prop<"left" | "right", true>;
29
+ maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
30
+ minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
31
+ maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
32
+ minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
33
+ width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
34
+ height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
35
+ }>;
36
+ derived: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
37
+ data: import("../../properties-panel/props-builder.js").Prop<Record<string, unknown>, true>;
38
+ }>;
39
+ }>>;
@@ -0,0 +1,2 @@
1
+ import type { KeyValueComponentProps } from "./types.js";
2
+ export declare const KeyValueComponent: (props: KeyValueComponentProps) => import("react").JSX.Element;
@@ -0,0 +1,45 @@
1
+ import { Prop, Section } from "../../properties-panel/props-builder.js";
2
+ import { KeyValuePropertyType } from "./types.js";
3
+ import type { IconPosition } from "../../icons/constants.js";
4
+ import type { UnionVariant } from "../../properties-panel/props-builder.js";
5
+ export declare const keyValuePropertiesDefinition: {
6
+ general: Section<((((Record<string, Prop<any, any>> & ({
7
+ id: Prop<string, true>;
8
+ } & (Omit<{
9
+ isDerived: Prop<boolean, true>;
10
+ }, "key" | "isDerived"> & ({
11
+ isDerived: Prop<true, true>;
12
+ key: Prop<string, true>;
13
+ } | {
14
+ isDerived: Prop<false, true>;
15
+ key: Prop<string, true>;
16
+ })))) & {
17
+ displayedKey: Prop<string, true>;
18
+ }) & Omit<{
19
+ isDerived: Prop<boolean, true>;
20
+ }, "isDerived" | "computedValue"> & {
21
+ isDerived: Prop<true, true>;
22
+ computedValue: Prop<string, true>;
23
+ }) & Omit<{
24
+ type: Prop<KeyValuePropertyType, true>;
25
+ }, "type"> & UnionVariant<{
26
+ type: Prop<KeyValuePropertyType, false>;
27
+ }>) & {
28
+ isVisible: Prop<boolean, true>;
29
+ }>;
30
+ appearance: Section<Record<string, Prop<any, any>> & {
31
+ "keyProps.icon": Prop<string, true>;
32
+ "keyProps.iconPosition": Prop<IconPosition, true>;
33
+ "valueProps.icon": Prop<string, true>;
34
+ "valueProps.iconPosition": Prop<IconPosition, true>;
35
+ } & Omit<{
36
+ type: Prop<KeyValuePropertyType, false>;
37
+ }, "type"> & UnionVariant<{
38
+ type: Prop<KeyValuePropertyType, false>;
39
+ }>>;
40
+ eventHandlers: Section<Record<string, Prop<any, any>> & Omit<{
41
+ type: Prop<KeyValuePropertyType, false>;
42
+ }, "type"> & UnionVariant<{
43
+ type: Prop<KeyValuePropertyType, false>;
44
+ }>>;
45
+ };
@@ -0,0 +1,38 @@
1
+ import { Dim } from "@superblocksteam/library-shared";
2
+ import { Prop } from "../../properties-panel/props-builder.js";
3
+ import { Section } from "../../properties-panel/props-builder.js";
4
+ import type { KeyValueProperty } from "./types.js";
5
+ export declare const propertiesDefinition: {
6
+ general: Section<Record<string, Prop<any, any>> & {
7
+ sourceData: Prop<Record<string, unknown>, false>;
8
+ properties: Prop<Record<string, KeyValueProperty>, true>;
9
+ propertiesOrder: Prop<string[], true>;
10
+ }>;
11
+ appearance: Section<Record<string, Prop<any, any>> & {
12
+ "keyProps.position": Prop<"left" | "top", true>;
13
+ "keyProps.keyStyle": Prop<any, false>;
14
+ "keyProps.textWrap": Prop<boolean, true>;
15
+ "valueProps.valueStyle": Prop<any, false>;
16
+ "valueProps.textWrap": Prop<boolean, true>;
17
+ "styleProps.backgroundColor": Prop<string, false>;
18
+ "styleProps.border": Prop<any, false>;
19
+ "styleProps.borderRadius": Prop<any, false>;
20
+ "styleProps.divider": Prop<any, true>;
21
+ }>;
22
+ layout: Section<Record<string, Prop<any, any>> & {
23
+ isVisible: Prop<boolean, true>;
24
+ collapseWhenInvisible: Prop<boolean, false>;
25
+ keyProps: Prop<any, true>;
26
+ "keyProps.width": Prop<any, false>;
27
+ "valueProps.position": Prop<"left" | "right", true>;
28
+ maxHeight?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
29
+ minHeight?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
30
+ maxWidth?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
31
+ minWidth?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
32
+ width: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
33
+ height: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
34
+ }>;
35
+ derived: Section<Record<string, Prop<any, any>> & {
36
+ data: Prop<Record<string, unknown>, true>;
37
+ }>;
38
+ };
@@ -0,0 +1,22 @@
1
+ import { Dim } from "@superblocksteam/library-shared";
2
+ import type { KeyValueComponentProps } from "./types.js";
3
+ import type { DimModes } from "@superblocksteam/library-shared";
4
+ import type { UserAccessibleTheme } from "@superblocksteam/library-shared/types";
5
+ import type { Typographies } from "@superblocksteam/library-shared/types";
6
+ import type React from "react";
7
+ export declare const DEFAULT_KEY_VALUE_WIDGET_KEY_STYLE_VARIANT: keyof Typographies;
8
+ export declare const DEFAULT_KEY_VALUE_WIDGET_VALUE_STYLE_VARIANT: keyof Typographies;
9
+ export declare const createCssVariables: ({ theme, styleProps, keyWidth, }: {
10
+ theme: UserAccessibleTheme;
11
+ styleProps: KeyValueComponentProps["styleProps"];
12
+ keyWidth?: Dim<DimModes>;
13
+ }) => React.CSSProperties & {
14
+ [key: `--${string}`]: string;
15
+ };
16
+ export declare const CanvasSpacingClass: string;
17
+ export declare const KeyValueComponentClass: string;
18
+ export declare const KeyValueEntryClass: string;
19
+ export declare const useLabelStyles: (keyProps: KeyValueComponentProps["keyProps"], theme: UserAccessibleTheme) => import("../../themes/typeography/use-typography-styling.js").TypographyProps;
20
+ export declare const useInputStyles: (valueProps: KeyValueComponentProps["valueProps"], theme: UserAccessibleTheme) => import("../../themes/typeography/use-typography-styling.js").TypographyProps;
21
+ export declare const useLinkStyles: (valueProps: KeyValueComponentProps["valueProps"], theme: UserAccessibleTheme) => import("../../themes/typeography/use-typography-styling.js").TypographyProps;
22
+ export declare const useEntryClassNames: (keyProps: KeyValueComponentProps["keyProps"]) => string;