@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.
- package/dist/components/canvas/index.d.ts +6 -0
- package/dist/components/canvas-placeholder/index.d.ts +3 -0
- package/dist/components/composer/dataset.d.ts +32 -0
- package/dist/components/composer/index.d.ts +4 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/components/resolver/index.d.ts +5 -0
- package/dist/constants/index.d.ts +49 -0
- package/dist/countdown-timer.node-CTPWHLr7.js +4374 -0
- package/dist/editor/components/breakpoint-selection.d.ts +2 -0
- package/dist/editor/components/color-picker-popover.d.ts +10 -0
- package/dist/editor/components/color-preview.d.ts +6 -0
- package/dist/editor/components/css-size-input.d.ts +10 -0
- package/dist/editor/components/degree-picker.d.ts +1 -0
- package/dist/editor/components/frame-preview/index.d.ts +9 -0
- package/dist/editor/components/image-source-selection.d.ts +8 -0
- package/dist/editor/components/index.d.ts +11 -0
- package/dist/editor/components/text-inline-editor.d.ts +10 -0
- package/dist/editor/components/toolbar-container.d.ts +1 -0
- package/dist/editor/components/toolbar-field.d.ts +9 -0
- package/dist/editor/components/toolbar-group.d.ts +10 -0
- package/dist/editor/constants/index.d.ts +20 -0
- package/dist/editor/hooks/index.d.ts +22 -0
- package/dist/editor/hooks/use-editor-state.d.ts +5 -0
- package/dist/editor/index.d.ts +2 -0
- package/dist/editor/lib/events.d.ts +5 -0
- package/dist/editor/lib/header/index.d.ts +1 -0
- package/dist/editor/lib/index.d.ts +10 -0
- package/dist/editor/lib/node-renderer/index.d.ts +3 -0
- package/dist/editor/lib/node-renderer/node-actions.d.ts +1 -0
- package/dist/editor/lib/node-renderer/node-focused.d.ts +1 -0
- package/dist/editor/lib/node-renderer/node-renderer.d.ts +4 -0
- package/dist/editor/lib/register.d.ts +1 -0
- package/dist/editor/lib/sidebar/index.d.ts +5 -0
- package/dist/editor/lib/sidebar/insert-action.d.ts +30 -0
- package/dist/editor/lib/sidebar/layers-action.d.ts +4 -0
- package/dist/editor/toolbars/anchor-target/anchor-target.d.ts +7 -0
- package/dist/editor/toolbars/anchor-target/index.d.ts +1 -0
- package/dist/editor/toolbars/aspect-ratio/aspect-ratio.d.ts +17 -0
- package/dist/editor/toolbars/aspect-ratio/index.d.ts +1 -0
- package/dist/editor/toolbars/background/background-toolbar.d.ts +2 -0
- package/dist/editor/toolbars/background/bg-color-tab.d.ts +7 -0
- package/dist/editor/toolbars/background/bg-image-tab.d.ts +7 -0
- package/dist/editor/toolbars/background/dataset.d.ts +11 -0
- package/dist/editor/toolbars/background/index.d.ts +2 -0
- package/dist/editor/toolbars/background/types.d.ts +14 -0
- package/dist/editor/toolbars/border/border.d.ts +8 -0
- package/dist/editor/toolbars/border/index.d.ts +2 -0
- package/dist/editor/toolbars/border/types.d.ts +9 -0
- package/dist/editor/toolbars/border-radius/border-radius.d.ts +14 -0
- package/dist/editor/toolbars/border-radius/index.d.ts +1 -0
- package/dist/editor/toolbars/child-nodes/child-node.d.ts +7 -0
- package/dist/editor/toolbars/child-nodes/index.d.ts +6 -0
- package/dist/editor/toolbars/color/color.d.ts +12 -0
- package/dist/editor/toolbars/color/index.d.ts +1 -0
- package/dist/editor/toolbars/color-variant/color-variant.d.ts +5 -0
- package/dist/editor/toolbars/color-variant/index.d.ts +1 -0
- package/dist/editor/toolbars/column-gap/column-gap.d.ts +11 -0
- package/dist/editor/toolbars/column-gap/index.d.ts +1 -0
- package/dist/editor/toolbars/display/display.d.ts +13 -0
- package/dist/editor/toolbars/display/index.d.ts +1 -0
- package/dist/editor/toolbars/display-on/display-on.d.ts +5 -0
- package/dist/editor/toolbars/display-on/index.d.ts +1 -0
- package/dist/editor/toolbars/flex/flex.d.ts +13 -0
- package/dist/editor/toolbars/flex/index.d.ts +1 -0
- package/dist/editor/toolbars/flex-align-items/flex-align-items.d.ts +14 -0
- package/dist/editor/toolbars/flex-align-items/index.d.ts +1 -0
- package/dist/editor/toolbars/flex-wrap/flex-wrap.d.ts +12 -0
- package/dist/editor/toolbars/flex-wrap/index.d.ts +1 -0
- package/dist/editor/toolbars/font-size/font-size.d.ts +12 -0
- package/dist/editor/toolbars/font-size/index.d.ts +1 -0
- package/dist/editor/toolbars/font-weight/dataset.d.ts +5 -0
- package/dist/editor/toolbars/font-weight/font-weight.d.ts +9 -0
- package/dist/editor/toolbars/font-weight/index.d.ts +1 -0
- package/dist/editor/toolbars/grid-align-items/grid-align-items.d.ts +12 -0
- package/dist/editor/toolbars/grid-align-items/index.d.ts +1 -0
- package/dist/editor/toolbars/height/height.d.ts +22 -0
- package/dist/editor/toolbars/height/index.d.ts +1 -0
- package/dist/editor/toolbars/index.d.ts +38 -0
- package/dist/editor/toolbars/justify-content/index.d.ts +1 -0
- package/dist/editor/toolbars/justify-content/justify-content.d.ts +13 -0
- package/dist/editor/toolbars/justify-items/index.d.ts +1 -0
- package/dist/editor/toolbars/justify-items/justify-items.d.ts +12 -0
- package/dist/editor/toolbars/line-height/dataset.d.ts +8 -0
- package/dist/editor/toolbars/line-height/index.d.ts +1 -0
- package/dist/editor/toolbars/line-height/line-height.d.ts +12 -0
- package/dist/editor/toolbars/margin/index.d.ts +1 -0
- package/dist/editor/toolbars/margin/margin.d.ts +15 -0
- package/dist/editor/toolbars/min-width/index.d.ts +1 -0
- package/dist/editor/toolbars/min-width/min-width.d.ts +12 -0
- package/dist/editor/toolbars/number-field/index.d.ts +1 -0
- package/dist/editor/toolbars/number-field/number-field.d.ts +14 -0
- package/dist/editor/toolbars/number-field-mix-options/index.d.ts +1 -0
- package/dist/editor/toolbars/number-field-mix-options/number-field-mix-options.d.ts +13 -0
- package/dist/editor/toolbars/object-fit/dataset.d.ts +2 -0
- package/dist/editor/toolbars/object-fit/index.d.ts +1 -0
- package/dist/editor/toolbars/object-fit/object-fit.d.ts +11 -0
- package/dist/editor/toolbars/order/index.d.ts +1 -0
- package/dist/editor/toolbars/order/order.d.ts +12 -0
- package/dist/editor/toolbars/padding/index.d.ts +1 -0
- package/dist/editor/toolbars/padding/padding.d.ts +10 -0
- package/dist/editor/toolbars/row-gap/index.d.ts +1 -0
- package/dist/editor/toolbars/row-gap/row-gap.d.ts +10 -0
- package/dist/editor/toolbars/spacing/index.d.ts +2 -0
- package/dist/editor/toolbars/spacing/spacing.d.ts +2 -0
- package/dist/editor/toolbars/spacing/types.d.ts +15 -0
- package/dist/editor/toolbars/svg-source/index.d.ts +1 -0
- package/dist/editor/toolbars/svg-source/svg-source.d.ts +7 -0
- package/dist/editor/toolbars/svg-source/uploaded-source.d.ts +4 -0
- package/dist/editor/toolbars/tag-name/index.d.ts +1 -0
- package/dist/editor/toolbars/tag-name/tag-name.d.ts +8 -0
- package/dist/editor/toolbars/text-align/index.d.ts +1 -0
- package/dist/editor/toolbars/text-align/text-align.d.ts +8 -0
- package/dist/editor/toolbars/text-style/index.d.ts +1 -0
- package/dist/editor/toolbars/text-style/text-style.d.ts +14 -0
- package/dist/editor/toolbars/text-style-group/index.d.ts +1 -0
- package/dist/editor/toolbars/text-style-group/text-style-group.d.ts +17 -0
- package/dist/editor/toolbars/text-transform/index.d.ts +1 -0
- package/dist/editor/toolbars/text-transform/text-transform.d.ts +10 -0
- package/dist/editor/toolbars/text-variant/index.d.ts +1 -0
- package/dist/editor/toolbars/text-variant/text-variant.d.ts +15 -0
- package/dist/editor/toolbars/width/index.d.ts +1 -0
- package/dist/editor/toolbars/width/width.d.ts +20 -0
- package/dist/editor/types/index.d.ts +3 -0
- package/dist/editor/ui/button/button.d.ts +12 -0
- package/dist/editor/ui/button/index.d.ts +1 -0
- package/dist/editor/ui/button-group/button-group.d.ts +8 -0
- package/dist/editor/ui/button-group/index.d.ts +1 -0
- package/dist/editor/ui/collapse/collapse.d.ts +8 -0
- package/dist/editor/ui/collapse/index.d.ts +1 -0
- package/dist/editor/ui/color-picker/color-picker.d.ts +4 -0
- package/dist/editor/ui/color-picker/index.d.ts +1 -0
- package/dist/editor/ui/date-picker/date-picker.d.ts +21 -0
- package/dist/editor/ui/date-picker/index.d.ts +1 -0
- package/dist/editor/ui/dialog/dialog/dialog.d.ts +2 -0
- package/dist/editor/ui/dialog/dialog/helpers.d.ts +1 -0
- package/dist/editor/ui/dialog/dialog/index.d.ts +3 -0
- package/dist/editor/ui/dialog/dialog/types.d.ts +5 -0
- package/dist/editor/ui/dialog/dialog-body/dialog-body.d.ts +2 -0
- package/dist/editor/ui/dialog/dialog-body/index.d.ts +2 -0
- package/dist/editor/ui/dialog/dialog-body/types.d.ts +3 -0
- package/dist/editor/ui/dialog/dialog-close/dialog-close.d.ts +1 -0
- package/dist/editor/ui/dialog/dialog-close/index.d.ts +2 -0
- package/dist/editor/ui/dialog/dialog-close/types.d.ts +2 -0
- package/dist/editor/ui/dialog/dialog-footer/dialog-footer.d.ts +2 -0
- package/dist/editor/ui/dialog/dialog-footer/index.d.ts +2 -0
- package/dist/editor/ui/dialog/dialog-footer/types.d.ts +3 -0
- package/dist/editor/ui/dialog/dialog-header/dialog-header.d.ts +2 -0
- package/dist/editor/ui/dialog/dialog-header/index.d.ts +2 -0
- package/dist/editor/ui/dialog/dialog-header/types.d.ts +4 -0
- package/dist/editor/ui/dialog/index.d.ts +5 -0
- package/dist/editor/ui/dropzone/dropzone.d.ts +6 -0
- package/dist/editor/ui/dropzone/index.d.ts +1 -0
- package/dist/editor/ui/floating/index.d.ts +3 -0
- package/dist/editor/ui/floating/wb-floating/helpers.d.ts +4 -0
- package/dist/editor/ui/floating/wb-floating/index.d.ts +3 -0
- package/dist/editor/ui/floating/wb-floating/types.d.ts +16 -0
- package/dist/editor/ui/floating/wb-floating-close/index.d.ts +2 -0
- package/dist/editor/ui/floating/wb-floating-close/types.d.ts +7 -0
- package/dist/editor/ui/floating/wb-floating-close/wb-floating-close.d.ts +2 -0
- package/dist/editor/ui/floating/wb-floating-content/index.d.ts +2 -0
- package/dist/editor/ui/floating/wb-floating-content/types.d.ts +10 -0
- package/dist/editor/ui/floating/wb-floating-content/wb-floating-content.d.ts +2 -0
- package/dist/editor/ui/form-label/form-label.d.ts +6 -0
- package/dist/editor/ui/form-label/index.d.ts +1 -0
- package/dist/editor/ui/icon/icon.d.ts +6 -0
- package/dist/editor/ui/icon/index.d.ts +1 -0
- package/dist/editor/ui/icon-button/icon-button.d.ts +10 -0
- package/dist/editor/ui/icon-button/index.d.ts +1 -0
- package/dist/editor/ui/index.d.ts +25 -0
- package/dist/editor/ui/input/index.d.ts +1 -0
- package/dist/editor/ui/input/input.d.ts +22 -0
- package/dist/editor/ui/input-number/index.d.ts +1 -0
- package/dist/editor/ui/input-number/input-number.d.ts +11 -0
- package/dist/editor/ui/loading-overlay/index.d.ts +1 -0
- package/dist/editor/ui/loading-overlay/loading-overlay.d.ts +8 -0
- package/dist/editor/ui/menu/context.d.ts +5 -0
- package/dist/editor/ui/menu/index.d.ts +4 -0
- package/dist/editor/ui/menu/menu-core.d.ts +13 -0
- package/dist/editor/ui/menu/menu-item.d.ts +5 -0
- package/dist/editor/ui/menu/menu-list.d.ts +2 -0
- package/dist/editor/ui/menu/menu-trigger.d.ts +2 -0
- package/dist/editor/ui/menu/menu.d.ts +3 -0
- package/dist/editor/ui/popover/context.d.ts +5 -0
- package/dist/editor/ui/popover/index.d.ts +4 -0
- package/dist/editor/ui/popover/popover-close.d.ts +8 -0
- package/dist/editor/ui/popover/popover-content.d.ts +2 -0
- package/dist/editor/ui/popover/popover-core.d.ts +12 -0
- package/dist/editor/ui/popover/popover-trigger.d.ts +2 -0
- package/dist/editor/ui/popover/popover.d.ts +3 -0
- package/dist/editor/ui/radio-button/index.d.ts +1 -0
- package/dist/editor/ui/radio-button/radio-button.d.ts +6 -0
- package/dist/editor/ui/scroll-view/index.d.ts +1 -0
- package/dist/editor/ui/scroll-view/scroll-view.d.ts +4 -0
- package/dist/editor/ui/select/index.d.ts +1 -0
- package/dist/editor/ui/select/select.d.ts +31 -0
- package/dist/editor/ui/svg-loader/index.d.ts +5 -0
- package/dist/editor/ui/switch/index.d.ts +1 -0
- package/dist/editor/ui/switch/switch.d.ts +4 -0
- package/dist/editor/ui/tabs/context.d.ts +6 -0
- package/dist/editor/ui/tabs/index.d.ts +5 -0
- package/dist/editor/ui/tabs/tab-content.d.ts +2 -0
- package/dist/editor/ui/tabs/tab-list.d.ts +6 -0
- package/dist/editor/ui/tabs/tab-panel.d.ts +2 -0
- package/dist/editor/ui/tabs/tab.d.ts +8 -0
- package/dist/editor/ui/tabs/tabs.d.ts +8 -0
- package/dist/editor/ui/textarea/index.d.ts +1 -0
- package/dist/editor/ui/textarea/textarea.d.ts +3 -0
- package/dist/editor/ui/tooltip/index.d.ts +1 -0
- package/dist/editor/ui/tooltip/tooltip.d.ts +9 -0
- package/dist/editor/ui/virtualized-list/index.d.ts +14 -0
- package/dist/editor.js +867 -0
- package/dist/hooks/index.d.ts +4 -0
- package/dist/hooks/use-node-data-attributes.d.ts +1 -0
- package/dist/hooks/use-node-props.d.ts +16 -0
- package/dist/hooks/use-node.d.ts +2 -0
- package/dist/index-CY7cmOMU.js +5815 -0
- package/dist/index-Rgu55m54.js +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +15169 -0
- package/dist/lib/accordion/accordion.node/accordion.node.d.ts +3 -0
- package/dist/lib/accordion/accordion.node/index.d.ts +3 -0
- package/dist/lib/accordion/accordion.node/types.d.ts +2 -0
- package/dist/lib/accordion/index.d.ts +1 -0
- package/dist/lib/accordion-content/accordion-content.node/accordion-content.node.d.ts +3 -0
- package/dist/lib/accordion-content/accordion-content.node/index.d.ts +2 -0
- package/dist/lib/accordion-content/accordion-content.node/types.d.ts +2 -0
- package/dist/lib/accordion-content/index.d.ts +1 -0
- package/dist/lib/accordion-group/accordion-group.inspector/accordion-group.inspector.d.ts +1 -0
- package/dist/lib/accordion-group/accordion-group.inspector/accordion-items-field.d.ts +1 -0
- package/dist/lib/accordion-group/accordion-group.inspector/expand-icon-field.d.ts +2 -0
- package/dist/lib/accordion-group/accordion-group.inspector/index.d.ts +1 -0
- package/dist/lib/accordion-group/accordion-group.inspector/open-mode-field.d.ts +1 -0
- package/dist/lib/accordion-group/accordion-group.node/accordion-group.node.d.ts +3 -0
- package/dist/lib/accordion-group/accordion-group.node/index.d.ts +3 -0
- package/dist/lib/accordion-group/accordion-group.node/types.d.ts +2 -0
- package/dist/lib/accordion-group/index.d.ts +2 -0
- package/dist/lib/accordion-summary/accordion-summary.node/accordion-summary.node.d.ts +2 -0
- package/dist/lib/accordion-summary/accordion-summary.node/index.d.ts +2 -0
- package/dist/lib/accordion-summary/accordion-summary.node/types.d.ts +2 -0
- package/dist/lib/accordion-summary/index.d.ts +1 -0
- package/dist/lib/box/box.inspector/box.inspector.d.ts +1 -0
- package/dist/lib/box/box.inspector/index.d.ts +1 -0
- package/dist/lib/box/box.node/box.node.d.ts +2 -0
- package/dist/lib/box/box.node/index.d.ts +3 -0
- package/dist/lib/box/box.node/types.d.ts +2 -0
- package/dist/lib/box/index.d.ts +2 -0
- package/dist/lib/button/button.inspector/button.inspector.d.ts +6 -0
- package/dist/lib/button/button.inspector/index.d.ts +3 -0
- package/dist/lib/button/button.inspector/link-field.d.ts +4 -0
- package/dist/lib/button/button.inspector/size-field.d.ts +1 -0
- package/dist/lib/button/button.inspector/variant-field.d.ts +1 -0
- package/dist/lib/button/button.node/button.node.d.ts +2 -0
- package/dist/lib/button/button.node/index.d.ts +3 -0
- package/dist/lib/button/button.node/types.d.ts +2 -0
- package/dist/lib/button/index.d.ts +2 -0
- package/dist/lib/cell/cell.inspector/cell.inspector.d.ts +1 -0
- package/dist/lib/cell/cell.inspector/col-span-field.d.ts +1 -0
- package/dist/lib/cell/cell.inspector/index.d.ts +1 -0
- package/dist/lib/cell/cell.node/cell.node.d.ts +2 -0
- package/dist/lib/cell/cell.node/index.d.ts +3 -0
- package/dist/lib/cell/cell.node/types.d.ts +2 -0
- package/dist/lib/cell/index.d.ts +2 -0
- package/dist/lib/countdown-timer/countdown-timer.inspector/caption-style-fields.d.ts +2 -0
- package/dist/lib/countdown-timer/countdown-timer.inspector/countdown-timer.inspector.d.ts +1 -0
- package/dist/lib/countdown-timer/countdown-timer.inspector/index.d.ts +1 -0
- package/dist/lib/countdown-timer/countdown-timer.inspector/time-style-fields.d.ts +2 -0
- package/dist/lib/countdown-timer/countdown-timer.inspector/unit-item-style-fields.d.ts +2 -0
- package/dist/lib/countdown-timer/countdown-timer.inspector/units-field.d.ts +2 -0
- package/dist/lib/countdown-timer/countdown-timer.node/countdown-timer.node.d.ts +2 -0
- package/dist/lib/countdown-timer/countdown-timer.node/index.d.ts +2 -0
- package/dist/lib/countdown-timer/countdown-timer.node/types.d.ts +13 -0
- package/dist/lib/countdown-timer/index.d.ts +2 -0
- package/dist/lib/flex-item/flex-item.inspector/auto-grow-field.d.ts +2 -0
- package/dist/lib/flex-item/flex-item.inspector/auto-shrink-field.d.ts +2 -0
- package/dist/lib/flex-item/flex-item.inspector/flex-item.inspector.d.ts +1 -0
- package/dist/lib/flex-item/flex-item.inspector/index.d.ts +1 -0
- package/dist/lib/flex-item/flex-item.node/flex-item.node.d.ts +2 -0
- package/dist/lib/flex-item/flex-item.node/index.d.ts +3 -0
- package/dist/lib/flex-item/flex-item.node/types.d.ts +2 -0
- package/dist/lib/flex-item/index.d.ts +2 -0
- package/dist/lib/flexbox/flexbox.inspector/direction-field.d.ts +1 -0
- package/dist/lib/flexbox/flexbox.inspector/flexbox.inspector.d.ts +1 -0
- package/dist/lib/flexbox/flexbox.inspector/index.d.ts +1 -0
- package/dist/lib/flexbox/flexbox.node/flexbox.node.d.ts +2 -0
- package/dist/lib/flexbox/flexbox.node/index.d.ts +3 -0
- package/dist/lib/flexbox/flexbox.node/types.d.ts +2 -0
- package/dist/lib/flexbox/index.d.ts +2 -0
- package/dist/lib/grid/grid.inspector/grid.inspector.d.ts +1 -0
- package/dist/lib/grid/grid.inspector/index.d.ts +1 -0
- package/dist/lib/grid/grid.node/grid.node.d.ts +2 -0
- package/dist/lib/grid/grid.node/index.d.ts +3 -0
- package/dist/lib/grid/grid.node/types.d.ts +2 -0
- package/dist/lib/grid/index.d.ts +2 -0
- package/dist/lib/heading/heading/heading.d.ts +2 -0
- package/dist/lib/heading/heading/index.d.ts +2 -0
- package/dist/lib/heading/heading/types.d.ts +2 -0
- package/dist/lib/heading/heading.inspector/heading.inspector.d.ts +1 -0
- package/dist/lib/heading/heading.inspector/index.d.ts +1 -0
- package/dist/lib/heading/heading.node/heading.node.d.ts +2 -0
- package/dist/lib/heading/heading.node/index.d.ts +3 -0
- package/dist/lib/heading/heading.node/types.d.ts +2 -0
- package/dist/lib/heading/heading.renderer/heading.renderer.d.ts +2 -0
- package/dist/lib/heading/heading.renderer/index.d.ts +1 -0
- package/dist/lib/heading/index.d.ts +4 -0
- package/dist/lib/icon/icon.inspector/icon.inspector.d.ts +1 -0
- package/dist/lib/icon/icon.inspector/index.d.ts +1 -0
- package/dist/lib/icon/icon.node/icon.node.d.ts +2 -0
- package/dist/lib/icon/icon.node/index.d.ts +3 -0
- package/dist/lib/icon/icon.node/types.d.ts +2 -0
- package/dist/lib/icon/index.d.ts +2 -0
- package/dist/lib/image/image.inspector/alt-text-field.d.ts +1 -0
- package/dist/lib/image/image.inspector/image.inspector.d.ts +1 -0
- package/dist/lib/image/image.inspector/index.d.ts +1 -0
- package/dist/lib/image/image.inspector/preload-field.d.ts +1 -0
- package/dist/lib/image/image.inspector/proportion-field.d.ts +1 -0
- package/dist/lib/image/image.inspector/source-field.d.ts +1 -0
- package/dist/lib/image/image.node/image.node.d.ts +2 -0
- package/dist/lib/image/image.node/index.d.ts +3 -0
- package/dist/lib/image/image.node/types.d.ts +2 -0
- package/dist/lib/image/index.d.ts +2 -0
- package/dist/lib/index.d.ts +31 -0
- package/dist/lib/link/index.d.ts +2 -0
- package/dist/lib/link/link.inspector/destination-field.d.ts +1 -0
- package/dist/lib/link/link.inspector/index.d.ts +1 -0
- package/dist/lib/link/link.inspector/link.inspector.d.ts +1 -0
- package/dist/lib/link/link.inspector/rel-field.d.ts +1 -0
- package/dist/lib/link/link.node/index.d.ts +3 -0
- package/dist/lib/link/link.node/link.node.d.ts +2 -0
- package/dist/lib/link/link.node/types.d.ts +2 -0
- package/dist/lib/list-item/index.d.ts +1 -0
- package/dist/lib/list-item/list-item.node/index.d.ts +3 -0
- package/dist/lib/list-item/list-item.node/list-item.node.d.ts +2 -0
- package/dist/lib/list-item/list-item.node/types.d.ts +2 -0
- package/dist/lib/marquee/index.d.ts +2 -0
- package/dist/lib/marquee/marquee.inspector/index.d.ts +1 -0
- package/dist/lib/marquee/marquee.inspector/marquee.inspector.d.ts +1 -0
- package/dist/lib/marquee/marquee.inspector/play-state-field.d.ts +1 -0
- package/dist/lib/marquee/marquee.node/index.d.ts +3 -0
- package/dist/lib/marquee/marquee.node/marquee.node.d.ts +2 -0
- package/dist/lib/marquee/marquee.node/types.d.ts +2 -0
- package/dist/lib/marquee-item/index.d.ts +1 -0
- package/dist/lib/marquee-item/marquee-item.node/index.d.ts +1 -0
- package/dist/lib/marquee-item/marquee-item.node/marquee-item.node.d.ts +2 -0
- package/dist/lib/marquee-item/marquee-item.node/types.d.ts +2 -0
- package/dist/lib/paragraph/index.d.ts +3 -0
- package/dist/lib/paragraph/paragraph/paragraph.d.ts +2 -0
- package/dist/lib/paragraph/paragraph/types.d.ts +2 -0
- package/dist/lib/paragraph/paragraph.inspector/index.d.ts +1 -0
- package/dist/lib/paragraph/paragraph.inspector/paragraph.inspector.d.ts +1 -0
- package/dist/lib/paragraph/paragraph.node/index.d.ts +3 -0
- package/dist/lib/paragraph/paragraph.node/paragraph.node.d.ts +2 -0
- package/dist/lib/paragraph/paragraph.node/types.d.ts +2 -0
- package/dist/lib/paragraph/paragraph.renderer/index.d.ts +1 -0
- package/dist/lib/paragraph/paragraph.renderer/paragraph.renderer.d.ts +2 -0
- package/dist/lib/root/index.d.ts +1 -0
- package/dist/lib/root/root.node/index.d.ts +2 -0
- package/dist/lib/root/root.node/root.node.d.ts +2 -0
- package/dist/lib/root/root.node/types.d.ts +2 -0
- package/dist/lib/swiper/index.d.ts +2 -0
- package/dist/lib/swiper/swiper.inspector/autoplay-delay-field.d.ts +1 -0
- package/dist/lib/swiper/swiper.inspector/autoplay-loop-field.d.ts +1 -0
- package/dist/lib/swiper/swiper.inspector/index.d.ts +1 -0
- package/dist/lib/swiper/swiper.inspector/slides-per-view-field.d.ts +1 -0
- package/dist/lib/swiper/swiper.inspector/swiper.inspector.d.ts +1 -0
- package/dist/lib/swiper/swiper.node/index.d.ts +3 -0
- package/dist/lib/swiper/swiper.node/swiper.node.d.ts +2 -0
- package/dist/lib/swiper/swiper.node/types.d.ts +2 -0
- package/dist/lib/swiper-slide/index.d.ts +1 -0
- package/dist/lib/swiper-slide/swiper-slide.node/index.d.ts +2 -0
- package/dist/lib/swiper-slide/swiper-slide.node/swiper-slide.node.d.ts +2 -0
- package/dist/lib/swiper-slide/swiper-slide.node/types.d.ts +2 -0
- package/dist/lib/tab/index.d.ts +1 -0
- package/dist/lib/tab/tab.node/index.d.ts +3 -0
- package/dist/lib/tab/tab.node/tab.node.d.ts +2 -0
- package/dist/lib/tab/tab.node/types.d.ts +2 -0
- package/dist/lib/tab-content/index.d.ts +1 -0
- package/dist/lib/tab-content/tab-content.node/index.d.ts +1 -0
- package/dist/lib/tab-content/tab-content.node/tab-content.node.d.ts +2 -0
- package/dist/lib/tab-content/tab-content.node/types.d.ts +2 -0
- package/dist/lib/tab-list/index.d.ts +1 -0
- package/dist/lib/tab-list/tab-list.node/index.d.ts +2 -0
- package/dist/lib/tab-list/tab-list.node/tab-list.node.d.ts +2 -0
- package/dist/lib/tab-list/tab-list.node/types.d.ts +2 -0
- package/dist/lib/tab-panel/index.d.ts +1 -0
- package/dist/lib/tab-panel/tab-panel.node/index.d.ts +3 -0
- package/dist/lib/tab-panel/tab-panel.node/tab-panel.node.d.ts +2 -0
- package/dist/lib/tab-panel/tab-panel.node/types.d.ts +2 -0
- package/dist/lib/tabs/index.d.ts +2 -0
- package/dist/lib/tabs/tabs.inspector/child-tabs-field.d.ts +1 -0
- package/dist/lib/tabs/tabs.inspector/default-active-field.d.ts +1 -0
- package/dist/lib/tabs/tabs.inspector/index.d.ts +1 -0
- package/dist/lib/tabs/tabs.inspector/tabs.inspector.d.ts +1 -0
- package/dist/lib/tabs/tabs.node/index.d.ts +3 -0
- package/dist/lib/tabs/tabs.node/tabs.node.d.ts +3 -0
- package/dist/lib/tabs/tabs.node/types.d.ts +2 -0
- package/dist/lib/text/index.d.ts +1 -0
- package/dist/lib/text/text.inspector/index.d.ts +1 -0
- package/dist/lib/text/text.inspector/text.inspector.d.ts +6 -0
- package/dist/lib/unknown/index.d.ts +1 -0
- package/dist/lib/unknown/unknown.node/index.d.ts +1 -0
- package/dist/lib/unknown/unknown.node/unknown.node.d.ts +2 -0
- package/dist/lib/unordered-list/index.d.ts +2 -0
- package/dist/lib/unordered-list/unordered-list.inspector/index.d.ts +1 -0
- package/dist/lib/unordered-list/unordered-list.inspector/unordered-list.inspector.d.ts +1 -0
- package/dist/lib/unordered-list/unordered-list.node/index.d.ts +3 -0
- package/dist/lib/unordered-list/unordered-list.node/types.d.ts +2 -0
- package/dist/lib/unordered-list/unordered-list.node/unordered-list.node.d.ts +3 -0
- package/dist/lib/video/index.d.ts +2 -0
- package/dist/lib/video/video.inspector/index.d.ts +1 -0
- package/dist/lib/video/video.inspector/video.inspector.d.ts +1 -0
- package/dist/lib/video/video.node/index.d.ts +3 -0
- package/dist/lib/video/video.node/types.d.ts +2 -0
- package/dist/lib/video/video.node/video.node.d.ts +3 -0
- package/dist/minus-C82LyzQP.js +6 -0
- package/dist/style.css +1 -0
- package/dist/templates/elements/carousel/index.d.ts +2 -0
- package/dist/templates/elements/content-list/index.d.ts +2 -0
- package/dist/templates/elements/index.d.ts +7 -0
- package/dist/templates/elements/interactive/index.d.ts +2 -0
- package/dist/templates/elements/layout/index.d.ts +2 -0
- package/dist/templates/elements/media/index.d.ts +2 -0
- package/dist/templates/elements/text/index.d.ts +2 -0
- package/dist/templates/elements/utilities/index.d.ts +2 -0
- package/dist/templates/index.d.ts +2 -0
- package/dist/templates/sections/faqs/index.d.ts +2 -0
- package/dist/templates/sections/guarantee/index.d.ts +2 -0
- package/dist/templates/sections/hero/index.d.ts +2 -0
- package/dist/templates/sections/index.d.ts +3 -0
- package/dist/templates.js +22581 -0
- package/dist/tooltip-BKdjtgjO.js +63 -0
- package/dist/types/index.d.ts +30 -0
- package/dist/utils/common.d.ts +5 -0
- package/dist/utils/index.d.ts +19 -0
- package/dist/vite.config.d.ts +2 -0
- 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 @@
|
|
|
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 @@
|
|
|
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,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 @@
|
|
|
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,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 @@
|
|
|
1
|
+
export declare const useDialogContext: () => import('../../floating').WbFloatingContextValue;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const WbDialogClose: import('react').ForwardRefExoticComponent<Omit<import('../../floating').WbFloatingCloseProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -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,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;
|