@janbox/storefront-builder 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (435) hide show
  1. package/dist/components/canvas/index.d.ts +6 -0
  2. package/dist/components/canvas-placeholder/index.d.ts +3 -0
  3. package/dist/components/composer/dataset.d.ts +32 -0
  4. package/dist/components/composer/index.d.ts +4 -0
  5. package/dist/components/index.d.ts +4 -0
  6. package/dist/components/resolver/index.d.ts +5 -0
  7. package/dist/constants/index.d.ts +49 -0
  8. package/dist/countdown-timer.node-CTPWHLr7.js +4374 -0
  9. package/dist/editor/components/breakpoint-selection.d.ts +2 -0
  10. package/dist/editor/components/color-picker-popover.d.ts +10 -0
  11. package/dist/editor/components/color-preview.d.ts +6 -0
  12. package/dist/editor/components/css-size-input.d.ts +10 -0
  13. package/dist/editor/components/degree-picker.d.ts +1 -0
  14. package/dist/editor/components/frame-preview/index.d.ts +9 -0
  15. package/dist/editor/components/image-source-selection.d.ts +8 -0
  16. package/dist/editor/components/index.d.ts +11 -0
  17. package/dist/editor/components/text-inline-editor.d.ts +10 -0
  18. package/dist/editor/components/toolbar-container.d.ts +1 -0
  19. package/dist/editor/components/toolbar-field.d.ts +9 -0
  20. package/dist/editor/components/toolbar-group.d.ts +10 -0
  21. package/dist/editor/constants/index.d.ts +20 -0
  22. package/dist/editor/hooks/index.d.ts +22 -0
  23. package/dist/editor/hooks/use-editor-state.d.ts +5 -0
  24. package/dist/editor/index.d.ts +2 -0
  25. package/dist/editor/lib/events.d.ts +5 -0
  26. package/dist/editor/lib/header/index.d.ts +1 -0
  27. package/dist/editor/lib/index.d.ts +10 -0
  28. package/dist/editor/lib/node-renderer/index.d.ts +3 -0
  29. package/dist/editor/lib/node-renderer/node-actions.d.ts +1 -0
  30. package/dist/editor/lib/node-renderer/node-focused.d.ts +1 -0
  31. package/dist/editor/lib/node-renderer/node-renderer.d.ts +4 -0
  32. package/dist/editor/lib/register.d.ts +1 -0
  33. package/dist/editor/lib/sidebar/index.d.ts +5 -0
  34. package/dist/editor/lib/sidebar/insert-action.d.ts +30 -0
  35. package/dist/editor/lib/sidebar/layers-action.d.ts +4 -0
  36. package/dist/editor/toolbars/anchor-target/anchor-target.d.ts +7 -0
  37. package/dist/editor/toolbars/anchor-target/index.d.ts +1 -0
  38. package/dist/editor/toolbars/aspect-ratio/aspect-ratio.d.ts +17 -0
  39. package/dist/editor/toolbars/aspect-ratio/index.d.ts +1 -0
  40. package/dist/editor/toolbars/background/background-toolbar.d.ts +2 -0
  41. package/dist/editor/toolbars/background/bg-color-tab.d.ts +7 -0
  42. package/dist/editor/toolbars/background/bg-image-tab.d.ts +7 -0
  43. package/dist/editor/toolbars/background/dataset.d.ts +11 -0
  44. package/dist/editor/toolbars/background/index.d.ts +2 -0
  45. package/dist/editor/toolbars/background/types.d.ts +14 -0
  46. package/dist/editor/toolbars/border/border.d.ts +8 -0
  47. package/dist/editor/toolbars/border/index.d.ts +2 -0
  48. package/dist/editor/toolbars/border/types.d.ts +9 -0
  49. package/dist/editor/toolbars/border-radius/border-radius.d.ts +14 -0
  50. package/dist/editor/toolbars/border-radius/index.d.ts +1 -0
  51. package/dist/editor/toolbars/child-nodes/child-node.d.ts +7 -0
  52. package/dist/editor/toolbars/child-nodes/index.d.ts +6 -0
  53. package/dist/editor/toolbars/color/color.d.ts +12 -0
  54. package/dist/editor/toolbars/color/index.d.ts +1 -0
  55. package/dist/editor/toolbars/color-variant/color-variant.d.ts +5 -0
  56. package/dist/editor/toolbars/color-variant/index.d.ts +1 -0
  57. package/dist/editor/toolbars/column-gap/column-gap.d.ts +11 -0
  58. package/dist/editor/toolbars/column-gap/index.d.ts +1 -0
  59. package/dist/editor/toolbars/display/display.d.ts +13 -0
  60. package/dist/editor/toolbars/display/index.d.ts +1 -0
  61. package/dist/editor/toolbars/display-on/display-on.d.ts +5 -0
  62. package/dist/editor/toolbars/display-on/index.d.ts +1 -0
  63. package/dist/editor/toolbars/flex/flex.d.ts +13 -0
  64. package/dist/editor/toolbars/flex/index.d.ts +1 -0
  65. package/dist/editor/toolbars/flex-align-items/flex-align-items.d.ts +14 -0
  66. package/dist/editor/toolbars/flex-align-items/index.d.ts +1 -0
  67. package/dist/editor/toolbars/flex-wrap/flex-wrap.d.ts +12 -0
  68. package/dist/editor/toolbars/flex-wrap/index.d.ts +1 -0
  69. package/dist/editor/toolbars/font-size/font-size.d.ts +12 -0
  70. package/dist/editor/toolbars/font-size/index.d.ts +1 -0
  71. package/dist/editor/toolbars/font-weight/dataset.d.ts +5 -0
  72. package/dist/editor/toolbars/font-weight/font-weight.d.ts +9 -0
  73. package/dist/editor/toolbars/font-weight/index.d.ts +1 -0
  74. package/dist/editor/toolbars/grid-align-items/grid-align-items.d.ts +12 -0
  75. package/dist/editor/toolbars/grid-align-items/index.d.ts +1 -0
  76. package/dist/editor/toolbars/height/height.d.ts +22 -0
  77. package/dist/editor/toolbars/height/index.d.ts +1 -0
  78. package/dist/editor/toolbars/index.d.ts +38 -0
  79. package/dist/editor/toolbars/justify-content/index.d.ts +1 -0
  80. package/dist/editor/toolbars/justify-content/justify-content.d.ts +13 -0
  81. package/dist/editor/toolbars/justify-items/index.d.ts +1 -0
  82. package/dist/editor/toolbars/justify-items/justify-items.d.ts +12 -0
  83. package/dist/editor/toolbars/line-height/dataset.d.ts +8 -0
  84. package/dist/editor/toolbars/line-height/index.d.ts +1 -0
  85. package/dist/editor/toolbars/line-height/line-height.d.ts +12 -0
  86. package/dist/editor/toolbars/margin/index.d.ts +1 -0
  87. package/dist/editor/toolbars/margin/margin.d.ts +15 -0
  88. package/dist/editor/toolbars/min-width/index.d.ts +1 -0
  89. package/dist/editor/toolbars/min-width/min-width.d.ts +12 -0
  90. package/dist/editor/toolbars/number-field/index.d.ts +1 -0
  91. package/dist/editor/toolbars/number-field/number-field.d.ts +14 -0
  92. package/dist/editor/toolbars/number-field-mix-options/index.d.ts +1 -0
  93. package/dist/editor/toolbars/number-field-mix-options/number-field-mix-options.d.ts +13 -0
  94. package/dist/editor/toolbars/object-fit/dataset.d.ts +2 -0
  95. package/dist/editor/toolbars/object-fit/index.d.ts +1 -0
  96. package/dist/editor/toolbars/object-fit/object-fit.d.ts +11 -0
  97. package/dist/editor/toolbars/order/index.d.ts +1 -0
  98. package/dist/editor/toolbars/order/order.d.ts +12 -0
  99. package/dist/editor/toolbars/padding/index.d.ts +1 -0
  100. package/dist/editor/toolbars/padding/padding.d.ts +10 -0
  101. package/dist/editor/toolbars/row-gap/index.d.ts +1 -0
  102. package/dist/editor/toolbars/row-gap/row-gap.d.ts +10 -0
  103. package/dist/editor/toolbars/spacing/index.d.ts +2 -0
  104. package/dist/editor/toolbars/spacing/spacing.d.ts +2 -0
  105. package/dist/editor/toolbars/spacing/types.d.ts +15 -0
  106. package/dist/editor/toolbars/svg-source/index.d.ts +1 -0
  107. package/dist/editor/toolbars/svg-source/svg-source.d.ts +7 -0
  108. package/dist/editor/toolbars/svg-source/uploaded-source.d.ts +4 -0
  109. package/dist/editor/toolbars/tag-name/index.d.ts +1 -0
  110. package/dist/editor/toolbars/tag-name/tag-name.d.ts +8 -0
  111. package/dist/editor/toolbars/text-align/index.d.ts +1 -0
  112. package/dist/editor/toolbars/text-align/text-align.d.ts +8 -0
  113. package/dist/editor/toolbars/text-style/index.d.ts +1 -0
  114. package/dist/editor/toolbars/text-style/text-style.d.ts +14 -0
  115. package/dist/editor/toolbars/text-style-group/index.d.ts +1 -0
  116. package/dist/editor/toolbars/text-style-group/text-style-group.d.ts +17 -0
  117. package/dist/editor/toolbars/text-transform/index.d.ts +1 -0
  118. package/dist/editor/toolbars/text-transform/text-transform.d.ts +10 -0
  119. package/dist/editor/toolbars/text-variant/index.d.ts +1 -0
  120. package/dist/editor/toolbars/text-variant/text-variant.d.ts +15 -0
  121. package/dist/editor/toolbars/width/index.d.ts +1 -0
  122. package/dist/editor/toolbars/width/width.d.ts +20 -0
  123. package/dist/editor/types/index.d.ts +3 -0
  124. package/dist/editor/ui/button/button.d.ts +12 -0
  125. package/dist/editor/ui/button/index.d.ts +1 -0
  126. package/dist/editor/ui/button-group/button-group.d.ts +8 -0
  127. package/dist/editor/ui/button-group/index.d.ts +1 -0
  128. package/dist/editor/ui/collapse/collapse.d.ts +8 -0
  129. package/dist/editor/ui/collapse/index.d.ts +1 -0
  130. package/dist/editor/ui/color-picker/color-picker.d.ts +4 -0
  131. package/dist/editor/ui/color-picker/index.d.ts +1 -0
  132. package/dist/editor/ui/date-picker/date-picker.d.ts +21 -0
  133. package/dist/editor/ui/date-picker/index.d.ts +1 -0
  134. package/dist/editor/ui/dialog/dialog/dialog.d.ts +2 -0
  135. package/dist/editor/ui/dialog/dialog/helpers.d.ts +1 -0
  136. package/dist/editor/ui/dialog/dialog/index.d.ts +3 -0
  137. package/dist/editor/ui/dialog/dialog/types.d.ts +5 -0
  138. package/dist/editor/ui/dialog/dialog-body/dialog-body.d.ts +2 -0
  139. package/dist/editor/ui/dialog/dialog-body/index.d.ts +2 -0
  140. package/dist/editor/ui/dialog/dialog-body/types.d.ts +3 -0
  141. package/dist/editor/ui/dialog/dialog-close/dialog-close.d.ts +1 -0
  142. package/dist/editor/ui/dialog/dialog-close/index.d.ts +2 -0
  143. package/dist/editor/ui/dialog/dialog-close/types.d.ts +2 -0
  144. package/dist/editor/ui/dialog/dialog-footer/dialog-footer.d.ts +2 -0
  145. package/dist/editor/ui/dialog/dialog-footer/index.d.ts +2 -0
  146. package/dist/editor/ui/dialog/dialog-footer/types.d.ts +3 -0
  147. package/dist/editor/ui/dialog/dialog-header/dialog-header.d.ts +2 -0
  148. package/dist/editor/ui/dialog/dialog-header/index.d.ts +2 -0
  149. package/dist/editor/ui/dialog/dialog-header/types.d.ts +4 -0
  150. package/dist/editor/ui/dialog/index.d.ts +5 -0
  151. package/dist/editor/ui/dropzone/dropzone.d.ts +6 -0
  152. package/dist/editor/ui/dropzone/index.d.ts +1 -0
  153. package/dist/editor/ui/floating/index.d.ts +3 -0
  154. package/dist/editor/ui/floating/wb-floating/helpers.d.ts +4 -0
  155. package/dist/editor/ui/floating/wb-floating/index.d.ts +3 -0
  156. package/dist/editor/ui/floating/wb-floating/types.d.ts +16 -0
  157. package/dist/editor/ui/floating/wb-floating-close/index.d.ts +2 -0
  158. package/dist/editor/ui/floating/wb-floating-close/types.d.ts +7 -0
  159. package/dist/editor/ui/floating/wb-floating-close/wb-floating-close.d.ts +2 -0
  160. package/dist/editor/ui/floating/wb-floating-content/index.d.ts +2 -0
  161. package/dist/editor/ui/floating/wb-floating-content/types.d.ts +10 -0
  162. package/dist/editor/ui/floating/wb-floating-content/wb-floating-content.d.ts +2 -0
  163. package/dist/editor/ui/form-label/form-label.d.ts +6 -0
  164. package/dist/editor/ui/form-label/index.d.ts +1 -0
  165. package/dist/editor/ui/icon/icon.d.ts +6 -0
  166. package/dist/editor/ui/icon/index.d.ts +1 -0
  167. package/dist/editor/ui/icon-button/icon-button.d.ts +10 -0
  168. package/dist/editor/ui/icon-button/index.d.ts +1 -0
  169. package/dist/editor/ui/index.d.ts +25 -0
  170. package/dist/editor/ui/input/index.d.ts +1 -0
  171. package/dist/editor/ui/input/input.d.ts +22 -0
  172. package/dist/editor/ui/input-number/index.d.ts +1 -0
  173. package/dist/editor/ui/input-number/input-number.d.ts +11 -0
  174. package/dist/editor/ui/loading-overlay/index.d.ts +1 -0
  175. package/dist/editor/ui/loading-overlay/loading-overlay.d.ts +8 -0
  176. package/dist/editor/ui/menu/context.d.ts +5 -0
  177. package/dist/editor/ui/menu/index.d.ts +4 -0
  178. package/dist/editor/ui/menu/menu-core.d.ts +13 -0
  179. package/dist/editor/ui/menu/menu-item.d.ts +5 -0
  180. package/dist/editor/ui/menu/menu-list.d.ts +2 -0
  181. package/dist/editor/ui/menu/menu-trigger.d.ts +2 -0
  182. package/dist/editor/ui/menu/menu.d.ts +3 -0
  183. package/dist/editor/ui/popover/context.d.ts +5 -0
  184. package/dist/editor/ui/popover/index.d.ts +4 -0
  185. package/dist/editor/ui/popover/popover-close.d.ts +8 -0
  186. package/dist/editor/ui/popover/popover-content.d.ts +2 -0
  187. package/dist/editor/ui/popover/popover-core.d.ts +12 -0
  188. package/dist/editor/ui/popover/popover-trigger.d.ts +2 -0
  189. package/dist/editor/ui/popover/popover.d.ts +3 -0
  190. package/dist/editor/ui/radio-button/index.d.ts +1 -0
  191. package/dist/editor/ui/radio-button/radio-button.d.ts +6 -0
  192. package/dist/editor/ui/scroll-view/index.d.ts +1 -0
  193. package/dist/editor/ui/scroll-view/scroll-view.d.ts +4 -0
  194. package/dist/editor/ui/select/index.d.ts +1 -0
  195. package/dist/editor/ui/select/select.d.ts +31 -0
  196. package/dist/editor/ui/svg-loader/index.d.ts +5 -0
  197. package/dist/editor/ui/switch/index.d.ts +1 -0
  198. package/dist/editor/ui/switch/switch.d.ts +4 -0
  199. package/dist/editor/ui/tabs/context.d.ts +6 -0
  200. package/dist/editor/ui/tabs/index.d.ts +5 -0
  201. package/dist/editor/ui/tabs/tab-content.d.ts +2 -0
  202. package/dist/editor/ui/tabs/tab-list.d.ts +6 -0
  203. package/dist/editor/ui/tabs/tab-panel.d.ts +2 -0
  204. package/dist/editor/ui/tabs/tab.d.ts +8 -0
  205. package/dist/editor/ui/tabs/tabs.d.ts +8 -0
  206. package/dist/editor/ui/textarea/index.d.ts +1 -0
  207. package/dist/editor/ui/textarea/textarea.d.ts +3 -0
  208. package/dist/editor/ui/tooltip/index.d.ts +1 -0
  209. package/dist/editor/ui/tooltip/tooltip.d.ts +9 -0
  210. package/dist/editor/ui/virtualized-list/index.d.ts +14 -0
  211. package/dist/editor.js +867 -0
  212. package/dist/hooks/index.d.ts +4 -0
  213. package/dist/hooks/use-node-data-attributes.d.ts +1 -0
  214. package/dist/hooks/use-node-props.d.ts +16 -0
  215. package/dist/hooks/use-node.d.ts +2 -0
  216. package/dist/index-CY7cmOMU.js +5815 -0
  217. package/dist/index-Rgu55m54.js +4 -0
  218. package/dist/index.d.ts +4 -0
  219. package/dist/index.js +15169 -0
  220. package/dist/lib/accordion/accordion.node/accordion.node.d.ts +3 -0
  221. package/dist/lib/accordion/accordion.node/index.d.ts +3 -0
  222. package/dist/lib/accordion/accordion.node/types.d.ts +2 -0
  223. package/dist/lib/accordion/index.d.ts +1 -0
  224. package/dist/lib/accordion-content/accordion-content.node/accordion-content.node.d.ts +3 -0
  225. package/dist/lib/accordion-content/accordion-content.node/index.d.ts +2 -0
  226. package/dist/lib/accordion-content/accordion-content.node/types.d.ts +2 -0
  227. package/dist/lib/accordion-content/index.d.ts +1 -0
  228. package/dist/lib/accordion-group/accordion-group.inspector/accordion-group.inspector.d.ts +1 -0
  229. package/dist/lib/accordion-group/accordion-group.inspector/accordion-items-field.d.ts +1 -0
  230. package/dist/lib/accordion-group/accordion-group.inspector/expand-icon-field.d.ts +2 -0
  231. package/dist/lib/accordion-group/accordion-group.inspector/index.d.ts +1 -0
  232. package/dist/lib/accordion-group/accordion-group.inspector/open-mode-field.d.ts +1 -0
  233. package/dist/lib/accordion-group/accordion-group.node/accordion-group.node.d.ts +3 -0
  234. package/dist/lib/accordion-group/accordion-group.node/index.d.ts +3 -0
  235. package/dist/lib/accordion-group/accordion-group.node/types.d.ts +2 -0
  236. package/dist/lib/accordion-group/index.d.ts +2 -0
  237. package/dist/lib/accordion-summary/accordion-summary.node/accordion-summary.node.d.ts +2 -0
  238. package/dist/lib/accordion-summary/accordion-summary.node/index.d.ts +2 -0
  239. package/dist/lib/accordion-summary/accordion-summary.node/types.d.ts +2 -0
  240. package/dist/lib/accordion-summary/index.d.ts +1 -0
  241. package/dist/lib/box/box.inspector/box.inspector.d.ts +1 -0
  242. package/dist/lib/box/box.inspector/index.d.ts +1 -0
  243. package/dist/lib/box/box.node/box.node.d.ts +2 -0
  244. package/dist/lib/box/box.node/index.d.ts +3 -0
  245. package/dist/lib/box/box.node/types.d.ts +2 -0
  246. package/dist/lib/box/index.d.ts +2 -0
  247. package/dist/lib/button/button.inspector/button.inspector.d.ts +6 -0
  248. package/dist/lib/button/button.inspector/index.d.ts +3 -0
  249. package/dist/lib/button/button.inspector/link-field.d.ts +4 -0
  250. package/dist/lib/button/button.inspector/size-field.d.ts +1 -0
  251. package/dist/lib/button/button.inspector/variant-field.d.ts +1 -0
  252. package/dist/lib/button/button.node/button.node.d.ts +2 -0
  253. package/dist/lib/button/button.node/index.d.ts +3 -0
  254. package/dist/lib/button/button.node/types.d.ts +2 -0
  255. package/dist/lib/button/index.d.ts +2 -0
  256. package/dist/lib/cell/cell.inspector/cell.inspector.d.ts +1 -0
  257. package/dist/lib/cell/cell.inspector/col-span-field.d.ts +1 -0
  258. package/dist/lib/cell/cell.inspector/index.d.ts +1 -0
  259. package/dist/lib/cell/cell.node/cell.node.d.ts +2 -0
  260. package/dist/lib/cell/cell.node/index.d.ts +3 -0
  261. package/dist/lib/cell/cell.node/types.d.ts +2 -0
  262. package/dist/lib/cell/index.d.ts +2 -0
  263. package/dist/lib/countdown-timer/countdown-timer.inspector/caption-style-fields.d.ts +2 -0
  264. package/dist/lib/countdown-timer/countdown-timer.inspector/countdown-timer.inspector.d.ts +1 -0
  265. package/dist/lib/countdown-timer/countdown-timer.inspector/index.d.ts +1 -0
  266. package/dist/lib/countdown-timer/countdown-timer.inspector/time-style-fields.d.ts +2 -0
  267. package/dist/lib/countdown-timer/countdown-timer.inspector/unit-item-style-fields.d.ts +2 -0
  268. package/dist/lib/countdown-timer/countdown-timer.inspector/units-field.d.ts +2 -0
  269. package/dist/lib/countdown-timer/countdown-timer.node/countdown-timer.node.d.ts +2 -0
  270. package/dist/lib/countdown-timer/countdown-timer.node/index.d.ts +2 -0
  271. package/dist/lib/countdown-timer/countdown-timer.node/types.d.ts +13 -0
  272. package/dist/lib/countdown-timer/index.d.ts +2 -0
  273. package/dist/lib/flex-item/flex-item.inspector/auto-grow-field.d.ts +2 -0
  274. package/dist/lib/flex-item/flex-item.inspector/auto-shrink-field.d.ts +2 -0
  275. package/dist/lib/flex-item/flex-item.inspector/flex-item.inspector.d.ts +1 -0
  276. package/dist/lib/flex-item/flex-item.inspector/index.d.ts +1 -0
  277. package/dist/lib/flex-item/flex-item.node/flex-item.node.d.ts +2 -0
  278. package/dist/lib/flex-item/flex-item.node/index.d.ts +3 -0
  279. package/dist/lib/flex-item/flex-item.node/types.d.ts +2 -0
  280. package/dist/lib/flex-item/index.d.ts +2 -0
  281. package/dist/lib/flexbox/flexbox.inspector/direction-field.d.ts +1 -0
  282. package/dist/lib/flexbox/flexbox.inspector/flexbox.inspector.d.ts +1 -0
  283. package/dist/lib/flexbox/flexbox.inspector/index.d.ts +1 -0
  284. package/dist/lib/flexbox/flexbox.node/flexbox.node.d.ts +2 -0
  285. package/dist/lib/flexbox/flexbox.node/index.d.ts +3 -0
  286. package/dist/lib/flexbox/flexbox.node/types.d.ts +2 -0
  287. package/dist/lib/flexbox/index.d.ts +2 -0
  288. package/dist/lib/grid/grid.inspector/grid.inspector.d.ts +1 -0
  289. package/dist/lib/grid/grid.inspector/index.d.ts +1 -0
  290. package/dist/lib/grid/grid.node/grid.node.d.ts +2 -0
  291. package/dist/lib/grid/grid.node/index.d.ts +3 -0
  292. package/dist/lib/grid/grid.node/types.d.ts +2 -0
  293. package/dist/lib/grid/index.d.ts +2 -0
  294. package/dist/lib/heading/heading/heading.d.ts +2 -0
  295. package/dist/lib/heading/heading/index.d.ts +2 -0
  296. package/dist/lib/heading/heading/types.d.ts +2 -0
  297. package/dist/lib/heading/heading.inspector/heading.inspector.d.ts +1 -0
  298. package/dist/lib/heading/heading.inspector/index.d.ts +1 -0
  299. package/dist/lib/heading/heading.node/heading.node.d.ts +2 -0
  300. package/dist/lib/heading/heading.node/index.d.ts +3 -0
  301. package/dist/lib/heading/heading.node/types.d.ts +2 -0
  302. package/dist/lib/heading/heading.renderer/heading.renderer.d.ts +2 -0
  303. package/dist/lib/heading/heading.renderer/index.d.ts +1 -0
  304. package/dist/lib/heading/index.d.ts +4 -0
  305. package/dist/lib/icon/icon.inspector/icon.inspector.d.ts +1 -0
  306. package/dist/lib/icon/icon.inspector/index.d.ts +1 -0
  307. package/dist/lib/icon/icon.node/icon.node.d.ts +2 -0
  308. package/dist/lib/icon/icon.node/index.d.ts +3 -0
  309. package/dist/lib/icon/icon.node/types.d.ts +2 -0
  310. package/dist/lib/icon/index.d.ts +2 -0
  311. package/dist/lib/image/image.inspector/alt-text-field.d.ts +1 -0
  312. package/dist/lib/image/image.inspector/image.inspector.d.ts +1 -0
  313. package/dist/lib/image/image.inspector/index.d.ts +1 -0
  314. package/dist/lib/image/image.inspector/preload-field.d.ts +1 -0
  315. package/dist/lib/image/image.inspector/proportion-field.d.ts +1 -0
  316. package/dist/lib/image/image.inspector/source-field.d.ts +1 -0
  317. package/dist/lib/image/image.node/image.node.d.ts +2 -0
  318. package/dist/lib/image/image.node/index.d.ts +3 -0
  319. package/dist/lib/image/image.node/types.d.ts +2 -0
  320. package/dist/lib/image/index.d.ts +2 -0
  321. package/dist/lib/index.d.ts +31 -0
  322. package/dist/lib/link/index.d.ts +2 -0
  323. package/dist/lib/link/link.inspector/destination-field.d.ts +1 -0
  324. package/dist/lib/link/link.inspector/index.d.ts +1 -0
  325. package/dist/lib/link/link.inspector/link.inspector.d.ts +1 -0
  326. package/dist/lib/link/link.inspector/rel-field.d.ts +1 -0
  327. package/dist/lib/link/link.node/index.d.ts +3 -0
  328. package/dist/lib/link/link.node/link.node.d.ts +2 -0
  329. package/dist/lib/link/link.node/types.d.ts +2 -0
  330. package/dist/lib/list-item/index.d.ts +1 -0
  331. package/dist/lib/list-item/list-item.node/index.d.ts +3 -0
  332. package/dist/lib/list-item/list-item.node/list-item.node.d.ts +2 -0
  333. package/dist/lib/list-item/list-item.node/types.d.ts +2 -0
  334. package/dist/lib/marquee/index.d.ts +2 -0
  335. package/dist/lib/marquee/marquee.inspector/index.d.ts +1 -0
  336. package/dist/lib/marquee/marquee.inspector/marquee.inspector.d.ts +1 -0
  337. package/dist/lib/marquee/marquee.inspector/play-state-field.d.ts +1 -0
  338. package/dist/lib/marquee/marquee.node/index.d.ts +3 -0
  339. package/dist/lib/marquee/marquee.node/marquee.node.d.ts +2 -0
  340. package/dist/lib/marquee/marquee.node/types.d.ts +2 -0
  341. package/dist/lib/marquee-item/index.d.ts +1 -0
  342. package/dist/lib/marquee-item/marquee-item.node/index.d.ts +1 -0
  343. package/dist/lib/marquee-item/marquee-item.node/marquee-item.node.d.ts +2 -0
  344. package/dist/lib/marquee-item/marquee-item.node/types.d.ts +2 -0
  345. package/dist/lib/paragraph/index.d.ts +3 -0
  346. package/dist/lib/paragraph/paragraph/paragraph.d.ts +2 -0
  347. package/dist/lib/paragraph/paragraph/types.d.ts +2 -0
  348. package/dist/lib/paragraph/paragraph.inspector/index.d.ts +1 -0
  349. package/dist/lib/paragraph/paragraph.inspector/paragraph.inspector.d.ts +1 -0
  350. package/dist/lib/paragraph/paragraph.node/index.d.ts +3 -0
  351. package/dist/lib/paragraph/paragraph.node/paragraph.node.d.ts +2 -0
  352. package/dist/lib/paragraph/paragraph.node/types.d.ts +2 -0
  353. package/dist/lib/paragraph/paragraph.renderer/index.d.ts +1 -0
  354. package/dist/lib/paragraph/paragraph.renderer/paragraph.renderer.d.ts +2 -0
  355. package/dist/lib/root/index.d.ts +1 -0
  356. package/dist/lib/root/root.node/index.d.ts +2 -0
  357. package/dist/lib/root/root.node/root.node.d.ts +2 -0
  358. package/dist/lib/root/root.node/types.d.ts +2 -0
  359. package/dist/lib/swiper/index.d.ts +2 -0
  360. package/dist/lib/swiper/swiper.inspector/autoplay-delay-field.d.ts +1 -0
  361. package/dist/lib/swiper/swiper.inspector/autoplay-loop-field.d.ts +1 -0
  362. package/dist/lib/swiper/swiper.inspector/index.d.ts +1 -0
  363. package/dist/lib/swiper/swiper.inspector/slides-per-view-field.d.ts +1 -0
  364. package/dist/lib/swiper/swiper.inspector/swiper.inspector.d.ts +1 -0
  365. package/dist/lib/swiper/swiper.node/index.d.ts +3 -0
  366. package/dist/lib/swiper/swiper.node/swiper.node.d.ts +2 -0
  367. package/dist/lib/swiper/swiper.node/types.d.ts +2 -0
  368. package/dist/lib/swiper-slide/index.d.ts +1 -0
  369. package/dist/lib/swiper-slide/swiper-slide.node/index.d.ts +2 -0
  370. package/dist/lib/swiper-slide/swiper-slide.node/swiper-slide.node.d.ts +2 -0
  371. package/dist/lib/swiper-slide/swiper-slide.node/types.d.ts +2 -0
  372. package/dist/lib/tab/index.d.ts +1 -0
  373. package/dist/lib/tab/tab.node/index.d.ts +3 -0
  374. package/dist/lib/tab/tab.node/tab.node.d.ts +2 -0
  375. package/dist/lib/tab/tab.node/types.d.ts +2 -0
  376. package/dist/lib/tab-content/index.d.ts +1 -0
  377. package/dist/lib/tab-content/tab-content.node/index.d.ts +1 -0
  378. package/dist/lib/tab-content/tab-content.node/tab-content.node.d.ts +2 -0
  379. package/dist/lib/tab-content/tab-content.node/types.d.ts +2 -0
  380. package/dist/lib/tab-list/index.d.ts +1 -0
  381. package/dist/lib/tab-list/tab-list.node/index.d.ts +2 -0
  382. package/dist/lib/tab-list/tab-list.node/tab-list.node.d.ts +2 -0
  383. package/dist/lib/tab-list/tab-list.node/types.d.ts +2 -0
  384. package/dist/lib/tab-panel/index.d.ts +1 -0
  385. package/dist/lib/tab-panel/tab-panel.node/index.d.ts +3 -0
  386. package/dist/lib/tab-panel/tab-panel.node/tab-panel.node.d.ts +2 -0
  387. package/dist/lib/tab-panel/tab-panel.node/types.d.ts +2 -0
  388. package/dist/lib/tabs/index.d.ts +2 -0
  389. package/dist/lib/tabs/tabs.inspector/child-tabs-field.d.ts +1 -0
  390. package/dist/lib/tabs/tabs.inspector/default-active-field.d.ts +1 -0
  391. package/dist/lib/tabs/tabs.inspector/index.d.ts +1 -0
  392. package/dist/lib/tabs/tabs.inspector/tabs.inspector.d.ts +1 -0
  393. package/dist/lib/tabs/tabs.node/index.d.ts +3 -0
  394. package/dist/lib/tabs/tabs.node/tabs.node.d.ts +3 -0
  395. package/dist/lib/tabs/tabs.node/types.d.ts +2 -0
  396. package/dist/lib/text/index.d.ts +1 -0
  397. package/dist/lib/text/text.inspector/index.d.ts +1 -0
  398. package/dist/lib/text/text.inspector/text.inspector.d.ts +6 -0
  399. package/dist/lib/unknown/index.d.ts +1 -0
  400. package/dist/lib/unknown/unknown.node/index.d.ts +1 -0
  401. package/dist/lib/unknown/unknown.node/unknown.node.d.ts +2 -0
  402. package/dist/lib/unordered-list/index.d.ts +2 -0
  403. package/dist/lib/unordered-list/unordered-list.inspector/index.d.ts +1 -0
  404. package/dist/lib/unordered-list/unordered-list.inspector/unordered-list.inspector.d.ts +1 -0
  405. package/dist/lib/unordered-list/unordered-list.node/index.d.ts +3 -0
  406. package/dist/lib/unordered-list/unordered-list.node/types.d.ts +2 -0
  407. package/dist/lib/unordered-list/unordered-list.node/unordered-list.node.d.ts +3 -0
  408. package/dist/lib/video/index.d.ts +2 -0
  409. package/dist/lib/video/video.inspector/index.d.ts +1 -0
  410. package/dist/lib/video/video.inspector/video.inspector.d.ts +1 -0
  411. package/dist/lib/video/video.node/index.d.ts +3 -0
  412. package/dist/lib/video/video.node/types.d.ts +2 -0
  413. package/dist/lib/video/video.node/video.node.d.ts +3 -0
  414. package/dist/minus-C82LyzQP.js +6 -0
  415. package/dist/style.css +1 -0
  416. package/dist/templates/elements/carousel/index.d.ts +2 -0
  417. package/dist/templates/elements/content-list/index.d.ts +2 -0
  418. package/dist/templates/elements/index.d.ts +7 -0
  419. package/dist/templates/elements/interactive/index.d.ts +2 -0
  420. package/dist/templates/elements/layout/index.d.ts +2 -0
  421. package/dist/templates/elements/media/index.d.ts +2 -0
  422. package/dist/templates/elements/text/index.d.ts +2 -0
  423. package/dist/templates/elements/utilities/index.d.ts +2 -0
  424. package/dist/templates/index.d.ts +2 -0
  425. package/dist/templates/sections/faqs/index.d.ts +2 -0
  426. package/dist/templates/sections/guarantee/index.d.ts +2 -0
  427. package/dist/templates/sections/hero/index.d.ts +2 -0
  428. package/dist/templates/sections/index.d.ts +3 -0
  429. package/dist/templates.js +22581 -0
  430. package/dist/tooltip-BKdjtgjO.js +63 -0
  431. package/dist/types/index.d.ts +30 -0
  432. package/dist/utils/common.d.ts +5 -0
  433. package/dist/utils/index.d.ts +19 -0
  434. package/dist/vite.config.d.ts +2 -0
  435. package/package.json +86 -0
@@ -0,0 +1,38 @@
1
+ export * from './text-align';
2
+ export * from './text-style';
3
+ export * from './text-transform';
4
+ export * from './width';
5
+ export * from './height';
6
+ export * from './color';
7
+ export * from './background';
8
+ export * from './spacing';
9
+ export * from './child-nodes';
10
+ export * from './border';
11
+ export * from './border-radius';
12
+ export * from './text-variant';
13
+ export * from './line-height';
14
+ export * from './font-size';
15
+ export * from './font-weight';
16
+ export * from './tag-name';
17
+ export * from './object-fit';
18
+ export * from './display';
19
+ export * from './column-gap';
20
+ export * from './row-gap';
21
+ export * from './svg-source';
22
+ export * from './flex-align-items';
23
+ export * from './justify-content';
24
+ export * from './color-variant';
25
+ export * from './flex';
26
+ export * from './number-field';
27
+ export * from './number-field-mix-options';
28
+ export * from './display-on';
29
+ export * from './justify-items';
30
+ export * from './grid-align-items';
31
+ export * from './aspect-ratio';
32
+ export * from './padding';
33
+ export * from './min-width';
34
+ export * from './order';
35
+ export * from './margin';
36
+ export * from './flex-wrap';
37
+ export * from './text-style-group';
38
+ export * from './anchor-target';
@@ -0,0 +1 @@
1
+ export * from './justify-content';
@@ -0,0 +1,13 @@
1
+ import { StyledCSS } from '@janbox/storefront-ui/types';
2
+ export type CssJustifyContentValue = {
3
+ justifyContent?: StyledCSS['justifyContent'];
4
+ };
5
+ interface JustifyContentToolbarProps {
6
+ responsive?: boolean;
7
+ name?: string;
8
+ value?: CssJustifyContentValue;
9
+ onChange?: (value: CssJustifyContentValue) => void;
10
+ direction?: 'row' | 'column';
11
+ }
12
+ export declare const JustifyContentToolbar: ({ name, responsive, value, onChange, direction, }: JustifyContentToolbarProps) => import("@emotion/react/jsx-runtime").JSX.Element;
13
+ export {};
@@ -0,0 +1 @@
1
+ export * from './justify-items';
@@ -0,0 +1,12 @@
1
+ import { StyledCSS } from '@janbox/storefront-ui/types';
2
+ export type CssJustifyItemsValue = {
3
+ justifyItems?: StyledCSS['justifyItems'];
4
+ };
5
+ interface JustifyItemsToolbarProps {
6
+ responsive?: boolean;
7
+ name?: string;
8
+ value?: CssJustifyItemsValue;
9
+ onChange?: (value: CssJustifyItemsValue) => void;
10
+ }
11
+ export declare const JustifyItemsToolbar: ({ name, responsive, value, onChange }: JustifyItemsToolbarProps) => import("@emotion/react/jsx-runtime").JSX.Element;
12
+ export {};
@@ -0,0 +1,8 @@
1
+ export declare enum LineHeightUnit {
2
+ Pixels = 0,
3
+ Unitless = 1
4
+ }
5
+ export declare const lineHeightUnitOptions: {
6
+ label: string;
7
+ value: LineHeightUnit;
8
+ }[];
@@ -0,0 +1 @@
1
+ export * from './line-height';
@@ -0,0 +1,12 @@
1
+ import { StyledCSS } from '@janbox/storefront-ui/types';
2
+ export interface CssLineHeightValue {
3
+ lineHeight?: StyledCSS['lineHeight'];
4
+ }
5
+ interface LineHeightToolbarProps {
6
+ responsive?: boolean;
7
+ name?: string;
8
+ value?: CssLineHeightValue;
9
+ onChange?: (value: CssLineHeightValue) => void;
10
+ }
11
+ export declare const LineHeightToolbar: ({ name, responsive, value, onChange }: LineHeightToolbarProps) => import("@emotion/react/jsx-runtime").JSX.Element;
12
+ export {};
@@ -0,0 +1 @@
1
+ export * from './margin';
@@ -0,0 +1,15 @@
1
+ import { StyledCSS } from '@janbox/storefront-ui/types';
2
+ export type CssMarginValue = {
3
+ marginTop?: StyledCSS['marginTop'];
4
+ marginRight?: StyledCSS['marginRight'];
5
+ marginBottom?: StyledCSS['marginBottom'];
6
+ marginLeft?: StyledCSS['marginLeft'];
7
+ };
8
+ interface MarginToolbarProps {
9
+ responsive?: boolean;
10
+ name?: string;
11
+ value?: CssMarginValue;
12
+ onChange?: (value: CssMarginValue) => void;
13
+ }
14
+ export declare const MarginToolbar: ({ name, responsive, value, onChange }: MarginToolbarProps) => import("@emotion/react/jsx-runtime").JSX.Element;
15
+ export {};
@@ -0,0 +1 @@
1
+ export * from './min-width';
@@ -0,0 +1,12 @@
1
+ import { StyledCSS } from '@janbox/storefront-ui/types';
2
+ export type CssMinWidthValue = {
3
+ minWidth?: StyledCSS['minWidth'];
4
+ };
5
+ interface MinWidthToolbarProps {
6
+ name?: string;
7
+ responsive?: boolean;
8
+ value?: CssMinWidthValue;
9
+ onChange?: (value: CssMinWidthValue) => void;
10
+ }
11
+ export declare const MinWidthToolbar: ({ name, value, onChange, responsive }: MinWidthToolbarProps) => import("@emotion/react/jsx-runtime").JSX.Element;
12
+ export {};
@@ -0,0 +1 @@
1
+ export * from './number-field';
@@ -0,0 +1,14 @@
1
+ interface NumberFieldProps {
2
+ responsive?: boolean;
3
+ name: string;
4
+ value?: number | string;
5
+ onChange?: (value?: number) => void;
6
+ min?: number;
7
+ max?: number;
8
+ adjustment?: {
9
+ minimumUnit?: number;
10
+ fallback?: number;
11
+ };
12
+ }
13
+ export declare const NumberField: ({ name, responsive, onChange, value, min, max, adjustment, }: NumberFieldProps) => import("@emotion/react/jsx-runtime").JSX.Element;
14
+ export {};
@@ -0,0 +1 @@
1
+ export * from './number-field-mix-options';
@@ -0,0 +1,13 @@
1
+ type FieldValue = number | string;
2
+ interface NumberFieldMixOptionsProps<T> {
3
+ value?: T;
4
+ options?: {
5
+ value: T;
6
+ label: string;
7
+ closeable?: boolean;
8
+ }[];
9
+ onChange?: (value?: T) => void;
10
+ className?: string;
11
+ }
12
+ export declare const NumberFieldMixOptions: <T extends FieldValue>({ value, options, onChange, className, }: NumberFieldMixOptionsProps<T>) => import("@emotion/react/jsx-runtime").JSX.Element;
13
+ export {};
@@ -0,0 +1,2 @@
1
+ import { StyledCSS } from '@janbox/storefront-ui/types';
2
+ export declare const objectFits: StyledCSS['objectFit'][];
@@ -0,0 +1 @@
1
+ export * from './object-fit';
@@ -0,0 +1,11 @@
1
+ import { StyledCSS } from '@janbox/storefront-ui/types';
2
+ export interface CssObjectFitValue {
3
+ objectFit?: StyledCSS['objectFit'];
4
+ }
5
+ export interface ObjectFitToolbarProps {
6
+ responsive?: boolean;
7
+ name?: string;
8
+ value?: CssObjectFitValue;
9
+ onChange?: (value: CssObjectFitValue) => void;
10
+ }
11
+ export declare const ObjectFitToolbar: ({ name, responsive, value, onChange }: ObjectFitToolbarProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './order';
@@ -0,0 +1,12 @@
1
+ import { StyledCSS } from '@janbox/storefront-ui/types';
2
+ export type CssOrderValue = {
3
+ order?: StyledCSS['order'];
4
+ };
5
+ interface OrderToolbarProps {
6
+ responsive?: boolean;
7
+ name?: string;
8
+ value?: CssOrderValue;
9
+ onChange?: (value: CssOrderValue) => void;
10
+ }
11
+ export declare const OrderToolbar: ({ name, responsive, value, onChange }: OrderToolbarProps) => import("@emotion/react/jsx-runtime").JSX.Element;
12
+ export {};
@@ -0,0 +1 @@
1
+ export * from './padding';
@@ -0,0 +1,10 @@
1
+ import { StyledCSS } from '@janbox/storefront-ui/types';
2
+ export type CssPaddingValue = Pick<StyledCSS, 'paddingTop' | 'paddingRight' | 'paddingBottom' | 'paddingLeft'>;
3
+ interface PaddingToolbarProps {
4
+ responsive?: boolean;
5
+ name?: string;
6
+ value?: CssPaddingValue;
7
+ onChange?: (value: CssPaddingValue) => void;
8
+ }
9
+ export declare const PaddingToolbar: ({ name, responsive, value, onChange }: PaddingToolbarProps) => import("@emotion/react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1 @@
1
+ export * from './row-gap';
@@ -0,0 +1,10 @@
1
+ import { StyledCSS } from '@janbox/storefront-ui/types';
2
+ export type CssRowGapValue = Pick<StyledCSS, 'rowGap'>;
3
+ interface RowGapToolbarProps {
4
+ responsive?: boolean;
5
+ name?: string;
6
+ value?: CssRowGapValue;
7
+ onChange?: (value: CssRowGapValue) => void;
8
+ }
9
+ export declare const RowGapToolbar: ({ name, responsive, value, onChange }: RowGapToolbarProps) => import("@emotion/react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1,2 @@
1
+ export * from './spacing';
2
+ export * from './types';
@@ -0,0 +1,2 @@
1
+ import { SpacingToolbarProps } from './types';
2
+ export declare const SpacingToolbar: ({ value, onChange }: SpacingToolbarProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,15 @@
1
+ import { StyledCSS } from '@janbox/storefront-ui/types';
2
+ export type SpacingValue = {
3
+ paddingTop?: StyledCSS['paddingTop'];
4
+ paddingRight?: StyledCSS['paddingRight'];
5
+ paddingBottom?: StyledCSS['paddingBottom'];
6
+ paddingLeft?: StyledCSS['paddingLeft'];
7
+ marginTop?: StyledCSS['marginTop'];
8
+ marginRight?: StyledCSS['marginRight'];
9
+ marginBottom?: StyledCSS['marginBottom'];
10
+ marginLeft?: StyledCSS['marginLeft'];
11
+ };
12
+ export interface SpacingToolbarProps {
13
+ value?: SpacingValue;
14
+ onChange?: (value: SpacingValue) => void;
15
+ }
@@ -0,0 +1 @@
1
+ export * from './svg-source';
@@ -0,0 +1,7 @@
1
+ interface SvgSourceToolbarProps {
2
+ source?: string;
3
+ onChange?: (source: string) => void;
4
+ name?: string;
5
+ }
6
+ export declare const SvgSourceToolbar: ({ source, onChange, name }: SvgSourceToolbarProps) => import("@emotion/react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,4 @@
1
+ declare const UploadedSource: ({ onChange }: {
2
+ onChange?: (iconSource: string) => void;
3
+ }) => import("@emotion/react/jsx-runtime").JSX.Element;
4
+ export default UploadedSource;
@@ -0,0 +1 @@
1
+ export * from './tag-name';
@@ -0,0 +1,8 @@
1
+ import { HTMLElementType } from 'react';
2
+ export interface TagNameToolbarProps {
3
+ name?: string;
4
+ value?: HTMLElementType;
5
+ onChange?: (value: HTMLElementType) => void;
6
+ availableTags: HTMLElementType[];
7
+ }
8
+ export declare const TagNameToolbar: ({ value, name, onChange, availableTags }: TagNameToolbarProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './text-align';
@@ -0,0 +1,8 @@
1
+ import { StyledCSS } from '@janbox/storefront-ui/types';
2
+ interface TextAlignToolbarProps {
3
+ value?: StyledCSS['textAlign'];
4
+ onChange?: (value: StyledCSS['textAlign']) => void;
5
+ label?: string;
6
+ }
7
+ export declare const TextAlignToolbar: ({ value, onChange, label }: TextAlignToolbarProps) => import("@emotion/react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1 @@
1
+ export * from './text-style';
@@ -0,0 +1,14 @@
1
+ import { StyledCSS } from '@janbox/storefront-ui/types';
2
+ export type TextStyleValue = {
3
+ fontStyle?: StyledCSS['fontStyle'];
4
+ fontWeight?: StyledCSS['fontWeight'];
5
+ textDecorationLine?: StyledCSS['textDecorationLine'];
6
+ };
7
+ interface TextStyleToolbarProps {
8
+ value?: TextStyleValue;
9
+ onChange?: (value: TextStyleValue) => void;
10
+ name?: string;
11
+ responsive?: boolean;
12
+ }
13
+ export declare const TextStyleToolbar: ({ value, onChange, name, responsive }: TextStyleToolbarProps) => import("@emotion/react/jsx-runtime").JSX.Element;
14
+ export {};
@@ -0,0 +1 @@
1
+ export * from './text-style-group';
@@ -0,0 +1,17 @@
1
+ import { StyledCSS } from '@janbox/storefront-ui/types';
2
+ import { TypographySizeVariant } from '@janbox/storefront-ui/theme';
3
+ export type TextStyleGroupToolbarValue = {
4
+ sizeVariant?: TypographySizeVariant;
5
+ css?: {
6
+ color?: StyledCSS['color'];
7
+ fontStyle?: StyledCSS['fontStyle'];
8
+ fontWeight?: StyledCSS['fontWeight'];
9
+ textDecorationLine?: StyledCSS['textDecorationLine'];
10
+ textTransform?: StyledCSS['textTransform'];
11
+ };
12
+ };
13
+ export type TextStyleGroupProps = {
14
+ value?: TextStyleGroupToolbarValue;
15
+ onChange?: (value: TextStyleGroupToolbarValue) => void;
16
+ };
17
+ export declare const TextStyleGroupToolbar: ({ value, onChange }: TextStyleGroupProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './text-transform';
@@ -0,0 +1,10 @@
1
+ import { StyledCSS } from '@janbox/storefront-ui/types';
2
+ export type TextTransformToolbarValue = Pick<StyledCSS, 'textTransform'>;
3
+ interface TextTransformToolbarProps {
4
+ value?: TextTransformToolbarValue;
5
+ onChange?: (value: TextTransformToolbarValue) => void;
6
+ name?: string;
7
+ responsive?: boolean;
8
+ }
9
+ export declare const TextTransformToolbar: ({ value, onChange, name, responsive }: TextTransformToolbarProps) => import("@emotion/react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1 @@
1
+ export * from './text-variant';
@@ -0,0 +1,15 @@
1
+ import { TypographySizeVariant } from '@janbox/storefront-ui/theme';
2
+ export type TextVariantValue = {
3
+ variant?: TypographySizeVariant;
4
+ };
5
+ export interface TextSizeVariantToolbarProps {
6
+ name?: string;
7
+ responsive?: boolean;
8
+ value?: TypographySizeVariant;
9
+ onChange?: (value?: TypographySizeVariant) => void;
10
+ }
11
+ export declare const textSizeVariantOptions: {
12
+ value: string;
13
+ label: string;
14
+ }[];
15
+ export declare const TextSizeVariantToolbar: ({ value, onChange, responsive }: TextSizeVariantToolbarProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './width';
@@ -0,0 +1,20 @@
1
+ import { StyledCSS } from '@janbox/storefront-ui/types';
2
+ export type CssWidthValue = {
3
+ width?: StyledCSS['width'];
4
+ };
5
+ type MenuOptionState = {
6
+ visible?: boolean;
7
+ clearable?: boolean;
8
+ };
9
+ interface WidthToolbarProps {
10
+ name?: string;
11
+ responsive?: boolean;
12
+ value?: CssWidthValue;
13
+ onChange?: (value: CssWidthValue) => void;
14
+ menu?: {
15
+ autoOption?: MenuOptionState;
16
+ fitContentOption?: MenuOptionState;
17
+ };
18
+ }
19
+ export declare const WidthToolbar: ({ name, value, onChange, responsive, menu }: WidthToolbarProps) => import("@emotion/react/jsx-runtime").JSX.Element;
20
+ export {};
@@ -0,0 +1,3 @@
1
+ export type WbButtonVariant = 'contained' | 'outlined' | 'text';
2
+ export type WbButtonSize = '20' | '24' | '28' | '32' | '36';
3
+ export type CssUnit = 'px' | '%';
@@ -0,0 +1,12 @@
1
+ import { JSX } from 'react';
2
+ import { WbButtonSize, WbButtonVariant } from '../../types';
3
+ import { ShallowMerge } from '@janbox/storefront-ui/types';
4
+ export type WbButtonProps = ShallowMerge<JSX.IntrinsicElements['button'], {
5
+ size?: WbButtonSize;
6
+ prefix?: React.ReactNode;
7
+ suffix?: React.ReactNode;
8
+ variant?: WbButtonVariant;
9
+ fullWidth?: boolean;
10
+ isLoading?: boolean;
11
+ }>;
12
+ export declare const WbButton: import('react').ForwardRefExoticComponent<Omit<WbButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1 @@
1
+ export * from './button';
@@ -0,0 +1,8 @@
1
+ import { JSX } from 'react';
2
+ import { ShallowMerge } from '@janbox/storefront-ui/types';
3
+ export type WbButtonGroupProps<T> = ShallowMerge<JSX.IntrinsicElements['div'], {
4
+ onSelectionChange?: (value: T, e: React.MouseEvent<HTMLButtonElement>) => void;
5
+ value?: T;
6
+ defaultValue?: T;
7
+ }>;
8
+ export declare const WbButtonGroup: <T extends string = string>({ children, defaultValue, value, onSelectionChange, className, ...props }: WbButtonGroupProps<T>) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './button-group';
@@ -0,0 +1,8 @@
1
+ import { HTMLMotionProps } from 'motion/react';
2
+ import { ShallowMerge } from '@janbox/storefront-ui/types';
3
+ export type WbCollapseProps = ShallowMerge<HTMLMotionProps<'div'>, {
4
+ open?: boolean;
5
+ collapsedSize?: number;
6
+ orientation?: 'horizontal' | 'vertical';
7
+ }>;
8
+ export declare const WbCollapse: import('react').ForwardRefExoticComponent<Omit<WbCollapseProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
@@ -0,0 +1 @@
1
+ export * from './collapse';
@@ -0,0 +1,4 @@
1
+ import { ComponentProps } from 'react';
2
+ import { HexColorPicker } from 'react-colorful';
3
+ export type WbColorPickerProps = ComponentProps<typeof HexColorPicker>;
4
+ export declare const WbColorPicker: ({ className, ...props }: WbColorPickerProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './color-picker';
@@ -0,0 +1,21 @@
1
+ import { JSX, Ref } from 'react';
2
+ import { Placement, UseFloatingOptions, UseDismissProps } from '@floating-ui/react';
3
+ type WbDatePickerProps = {
4
+ innerRef?: Ref<HTMLDivElement>;
5
+ placement?: Placement;
6
+ contentWidth?: number | 'fit-parent';
7
+ onOpenChange?: UseFloatingOptions['onOpenChange'];
8
+ open?: boolean;
9
+ dissmiss?: UseDismissProps;
10
+ value?: Date | null;
11
+ defaultValue?: Date;
12
+ onChange?: (value: Date) => void;
13
+ placeholder?: string;
14
+ prefix?: React.ReactNode;
15
+ suffix?: React.ReactNode;
16
+ size?: '28' | '32' | '36';
17
+ referenceProps?: JSX.IntrinsicElements['button'];
18
+ showTimeInput?: boolean;
19
+ };
20
+ export declare const WbDatePicker: (props: WbDatePickerProps) => import("@emotion/react/jsx-runtime").JSX.Element;
21
+ export {};
@@ -0,0 +1 @@
1
+ export * from './date-picker';
@@ -0,0 +1,2 @@
1
+ import { WbDialogProps } from './types';
2
+ export declare const WbDialog: ({ width, children, ...props }: WbDialogProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const useDialogContext: () => import('../../floating').WbFloatingContextValue;
@@ -0,0 +1,3 @@
1
+ export * from './dialog';
2
+ export * from './types';
3
+ export * from './helpers';
@@ -0,0 +1,5 @@
1
+ import { FloatingProps } from '@janbox/storefront-ui';
2
+ import { ShallowMerge, StyledCSS } from '@janbox/storefront-ui/types';
3
+ export type WbDialogProps = ShallowMerge<FloatingProps, {
4
+ width?: StyledCSS['width'];
5
+ }>;
@@ -0,0 +1,2 @@
1
+ import { WbDialogBodyProps } from './types';
2
+ export declare const WbDialogBody: ({ className, ref, ...props }: WbDialogBodyProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from './dialog-body';
2
+ export * from './types';
@@ -0,0 +1,3 @@
1
+ import { ShallowMerge } from '@janbox/storefront-ui/types';
2
+ import { WbScrollViewProps } from '../../scroll-view';
3
+ export type WbDialogBodyProps = ShallowMerge<WbScrollViewProps, {}>;
@@ -0,0 +1 @@
1
+ export declare const WbDialogClose: import('react').ForwardRefExoticComponent<Omit<import('../../floating').WbFloatingCloseProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,2 @@
1
+ export * from './dialog-close';
2
+ export * from './types';
@@ -0,0 +1,2 @@
1
+ import { WbFloatingCloseProps } from '../../floating';
2
+ export type WbDialogCloseProps = WbFloatingCloseProps;
@@ -0,0 +1,2 @@
1
+ import { WbDialogFooterProps } from './types';
2
+ export declare const WbDialogFooter: import('react').ForwardRefExoticComponent<WbDialogFooterProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,2 @@
1
+ export * from './dialog-footer';
2
+ export * from './types';
@@ -0,0 +1,3 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export interface WbDialogFooterProps extends HTMLAttributes<HTMLDivElement> {
3
+ }
@@ -0,0 +1,2 @@
1
+ import { DialogHeaderProps } from './types';
2
+ export declare const WbDialogHeader: import('react').ForwardRefExoticComponent<DialogHeaderProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,2 @@
1
+ export * from './dialog-header';
2
+ export * from './types';
@@ -0,0 +1,4 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export interface DialogHeaderProps extends HTMLAttributes<HTMLDivElement> {
3
+ closeable?: boolean;
4
+ }
@@ -0,0 +1,5 @@
1
+ export * from './dialog';
2
+ export * from './dialog-body';
3
+ export * from './dialog-close';
4
+ export * from './dialog-footer';
5
+ export * from './dialog-header';
@@ -0,0 +1,6 @@
1
+ import { JSX } from 'react';
2
+ import { DropzoneOptions, DropzoneState } from 'react-dropzone';
3
+ export interface WbDropzoneProps extends DropzoneOptions {
4
+ children?(state: DropzoneState): JSX.Element;
5
+ }
6
+ export declare const WbDropzone: ({ children, ...props }: WbDropzoneProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './dropzone';
@@ -0,0 +1,3 @@
1
+ export * from './wb-floating';
2
+ export * from './wb-floating-content';
3
+ export * from './wb-floating-close';
@@ -0,0 +1,4 @@
1
+ import { UseFloatingReturn, UseInteractionsReturn } from '@floating-ui/react';
2
+ export type WbFloatingContextValue = UseFloatingReturn & UseInteractionsReturn;
3
+ export declare const WbFloatingContext: import('react').Context<WbFloatingContextValue>;
4
+ export declare const useWbFloatingContext: () => WbFloatingContextValue;
@@ -0,0 +1,3 @@
1
+ export * from './wb-floating';
2
+ export * from './types';
3
+ export * from './helpers';