@ezpg/app-ui 0.21.0 → 0.23.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/CHANGELOG.md +29 -0
- package/lib/module/adjust/adjust-template.js +1 -0
- package/lib/module/adjust/adjust-template.js.map +1 -1
- package/lib/module/adjust/axis-adjust.js +181 -0
- package/lib/module/adjust/axis-adjust.js.map +1 -0
- package/lib/module/adjust/axis-dial.js +2 -2
- package/lib/module/adjust/axis-dial.js.map +1 -1
- package/lib/module/adjust/axis-tabs.js +81 -0
- package/lib/module/adjust/axis-tabs.js.map +1 -0
- package/lib/module/adjust/axis-wheel.js +286 -0
- package/lib/module/adjust/axis-wheel.js.map +1 -0
- package/lib/module/adjust/dial-strip.js +6 -4
- package/lib/module/adjust/dial-strip.js.map +1 -1
- package/lib/module/adjust/index.js +4 -0
- package/lib/module/adjust/index.js.map +1 -1
- package/lib/module/adjust/store-sample.js +436 -0
- package/lib/module/adjust/store-sample.js.map +1 -0
- package/lib/module/blocks/chat-message/chat-message.js +1 -0
- package/lib/module/blocks/chat-message/chat-message.js.map +1 -1
- package/lib/module/blocks/choice-art/choice-art.js +2 -0
- package/lib/module/blocks/choice-art/choice-art.js.map +1 -1
- package/lib/module/blocks/color-swatch-picker/color-swatch-picker.js +1 -1
- package/lib/module/blocks/color-tune/store-sample.js +13 -6
- package/lib/module/blocks/color-tune/store-sample.js.map +1 -1
- package/lib/module/blocks/color-tune/swatch-card.js +1 -1
- package/lib/module/blocks/color-tune/swatch-card.js.map +1 -1
- package/lib/module/blocks/detail-editor/compare-slider.js +6 -2
- package/lib/module/blocks/detail-editor/compare-slider.js.map +1 -1
- package/lib/module/blocks/detail-editor/detail-canvas.js +195 -61
- package/lib/module/blocks/detail-editor/detail-canvas.js.map +1 -1
- package/lib/module/blocks/detail-editor/detail-types.js +57 -0
- package/lib/module/blocks/detail-editor/detail-types.js.map +1 -1
- package/lib/module/blocks/detail-editor/draft-preview.js +22 -0
- package/lib/module/blocks/detail-editor/draft-preview.js.map +1 -1
- package/lib/module/blocks/detail-editor/focus-context.js +1 -0
- package/lib/module/blocks/detail-editor/focus-context.js.map +1 -1
- package/lib/module/blocks/detail-editor/index.js +2 -2
- package/lib/module/blocks/detail-editor/index.js.map +1 -1
- package/lib/module/blocks/detail-editor/keep-words.js +34 -0
- package/lib/module/blocks/detail-editor/keep-words.js.map +1 -0
- package/lib/module/blocks/detail-editor/layout-picker.js +195 -8
- package/lib/module/blocks/detail-editor/layout-picker.js.map +1 -1
- package/lib/module/blocks/detail-request/detail-request.js +213 -0
- package/lib/module/blocks/detail-request/detail-request.js.map +1 -0
- package/lib/module/blocks/detail-request/index.js +4 -0
- package/lib/module/blocks/detail-request/index.js.map +1 -0
- package/lib/module/blocks/detail-studio/action-chips.js +73 -0
- package/lib/module/blocks/detail-studio/action-chips.js.map +1 -0
- package/lib/module/blocks/detail-studio/adjust-tiles.js +4 -3
- package/lib/module/blocks/detail-studio/adjust-tiles.js.map +1 -1
- package/lib/module/blocks/detail-studio/asset-grid.js +33 -16
- package/lib/module/blocks/detail-studio/asset-grid.js.map +1 -1
- package/lib/module/blocks/detail-studio/confirm-row.js +3 -0
- package/lib/module/blocks/detail-studio/confirm-row.js.map +1 -1
- package/lib/module/blocks/detail-studio/detail-studio-template.js +2 -6
- package/lib/module/blocks/detail-studio/detail-studio-template.js.map +1 -1
- package/lib/module/blocks/detail-studio/edge-fade.js +74 -0
- package/lib/module/blocks/detail-studio/edge-fade.js.map +1 -0
- package/lib/module/blocks/detail-studio/image-prompt.js +9 -10
- package/lib/module/blocks/detail-studio/image-prompt.js.map +1 -1
- package/lib/module/blocks/detail-studio/index.js +7 -5
- package/lib/module/blocks/detail-studio/index.js.map +1 -1
- package/lib/module/blocks/detail-studio/rewrite-tray.js +17 -64
- package/lib/module/blocks/detail-studio/rewrite-tray.js.map +1 -1
- package/lib/module/blocks/detail-studio/section-cover.js +41 -0
- package/lib/module/blocks/detail-studio/section-cover.js.map +1 -0
- package/lib/module/blocks/detail-studio/section-edit-template.js +103 -12
- package/lib/module/blocks/detail-studio/section-edit-template.js.map +1 -1
- package/lib/module/blocks/detail-studio/section-kind-grid.js +4 -3
- package/lib/module/blocks/detail-studio/section-kind-grid.js.map +1 -1
- package/lib/module/blocks/detail-studio/section-settings.js +127 -61
- package/lib/module/blocks/detail-studio/section-settings.js.map +1 -1
- package/lib/module/blocks/detail-studio/studio-bar.js +46 -25
- package/lib/module/blocks/detail-studio/studio-bar.js.map +1 -1
- package/lib/module/blocks/detail-studio/studio-dock.js +21 -39
- package/lib/module/blocks/detail-studio/studio-dock.js.map +1 -1
- package/lib/module/blocks/detail-studio/studio-glyphs.js +92 -0
- package/lib/module/blocks/detail-studio/studio-glyphs.js.map +1 -0
- package/lib/module/blocks/detail-studio/studio-sheet.js +5 -3
- package/lib/module/blocks/detail-studio/studio-sheet.js.map +1 -1
- package/lib/module/blocks/detail-studio/studio-steps.js +60 -0
- package/lib/module/blocks/detail-studio/studio-steps.js.map +1 -0
- package/lib/module/blocks/detail-studio/studio-toggle.js +130 -0
- package/lib/module/blocks/detail-studio/studio-toggle.js.map +1 -0
- package/lib/module/blocks/detail-studio/{photo-tool-bar.js → studio-tools.js} +63 -42
- package/lib/module/blocks/detail-studio/studio-tools.js.map +1 -0
- package/lib/module/blocks/detail-studio/text-format-panel.js +20 -8
- package/lib/module/blocks/detail-studio/text-format-panel.js.map +1 -1
- package/lib/module/blocks/draft-box/draft-box.js +3 -0
- package/lib/module/blocks/draft-box/draft-box.js.map +1 -1
- package/lib/module/blocks/index.js +1 -0
- package/lib/module/blocks/index.js.map +1 -1
- package/lib/module/blocks/oauth-buttons/oauth-buttons.js +1 -0
- package/lib/module/blocks/oauth-buttons/oauth-buttons.js.map +1 -1
- package/lib/module/blocks/order-block/order-block.js +19 -5
- package/lib/module/blocks/order-block/order-block.js.map +1 -1
- package/lib/module/blocks/product-tile/product-tile.js +4 -1
- package/lib/module/blocks/product-tile/product-tile.js.map +1 -1
- package/lib/module/blocks/question-accordion/question-accordion.js +1 -2
- package/lib/module/blocks/question-accordion/question-accordion.js.map +1 -1
- package/lib/module/blocks/question-pager/question-pager.js +2 -1
- package/lib/module/blocks/question-pager/question-pager.js.map +1 -1
- package/lib/module/blocks/review-card/review-card.js +4 -0
- package/lib/module/blocks/review-card/review-card.js.map +1 -1
- package/lib/module/blocks/send-bar/send-bar.js +1 -0
- package/lib/module/blocks/send-bar/send-bar.js.map +1 -1
- package/lib/module/blocks/stage-bar/stage-bar.js +3 -2
- package/lib/module/blocks/stage-bar/stage-bar.js.map +1 -1
- package/lib/module/blocks/stat-card/stat-card.js +4 -1
- package/lib/module/blocks/stat-card/stat-card.js.map +1 -1
- package/lib/module/blocks/step-screen/step-screen.js +5 -2
- package/lib/module/blocks/step-screen/step-screen.js.map +1 -1
- package/lib/module/blocks/store-top/store-top.js +8 -3
- package/lib/module/blocks/store-top/store-top.js.map +1 -1
- package/lib/module/blocks/summary-cards/summary-cards.js +10 -3
- package/lib/module/blocks/summary-cards/summary-cards.js.map +1 -1
- package/lib/module/blocks/task-tiles/task-tiles.js +3 -2
- package/lib/module/blocks/task-tiles/task-tiles.js.map +1 -1
- package/lib/module/components/amount-summary/amount-summary.js +7 -1
- package/lib/module/components/amount-summary/amount-summary.js.map +1 -1
- package/lib/module/components/button/button.js +19 -5
- package/lib/module/components/button/button.js.map +1 -1
- package/lib/module/components/calendar/calendar.js +7 -4
- package/lib/module/components/calendar/calendar.js.map +1 -1
- package/lib/module/components/chip/chip.js +7 -3
- package/lib/module/components/chip/chip.js.map +1 -1
- package/lib/module/components/chip-group/chip-group.js +1 -0
- package/lib/module/components/chip-group/chip-group.js.map +1 -1
- package/lib/module/components/circle-grid/circle-grid.js +1 -0
- package/lib/module/components/circle-grid/circle-grid.js.map +1 -1
- package/lib/module/components/credit/credit.js +8 -4
- package/lib/module/components/credit/credit.js.map +1 -1
- package/lib/module/components/dialog/dialog.js +2 -0
- package/lib/module/components/dialog/dialog.js.map +1 -1
- package/lib/module/components/dropdown-menu/dropdown-menu.js +9 -4
- package/lib/module/components/dropdown-menu/dropdown-menu.js.map +1 -1
- package/lib/module/components/empty-state/empty-state.js +1 -0
- package/lib/module/components/empty-state/empty-state.js.map +1 -1
- package/lib/module/components/fact-list/fact-list.js +1 -0
- package/lib/module/components/fact-list/fact-list.js.map +1 -1
- package/lib/module/components/field/field.js +4 -0
- package/lib/module/components/field/field.js.map +1 -1
- package/lib/module/components/filter-tabs/filter-tabs.js +2 -1
- package/lib/module/components/filter-tabs/filter-tabs.js.map +1 -1
- package/lib/module/components/list-row/list-row.js +23 -6
- package/lib/module/components/list-row/list-row.js.map +1 -1
- package/lib/module/components/page-header/page-header.js +1 -0
- package/lib/module/components/page-header/page-header.js.map +1 -1
- package/lib/module/components/pill/pill.js +1 -0
- package/lib/module/components/pill/pill.js.map +1 -1
- package/lib/module/components/segmented-control/segmented-control.js +5 -1
- package/lib/module/components/segmented-control/segmented-control.js.map +1 -1
- package/lib/module/components/segmented-tabs/segmented-tabs.js +3 -2
- package/lib/module/components/segmented-tabs/segmented-tabs.js.map +1 -1
- package/lib/module/components/skeleton/skeleton.js +4 -2
- package/lib/module/components/skeleton/skeleton.js.map +1 -1
- package/lib/module/components/slider/slider.js +53 -16
- package/lib/module/components/slider/slider.js.map +1 -1
- package/lib/module/components/status-steps/status-steps.js +2 -0
- package/lib/module/components/status-steps/status-steps.js.map +1 -1
- package/lib/module/components/text/figures.js +82 -0
- package/lib/module/components/text/figures.js.map +1 -0
- package/lib/module/components/text/index.js +1 -0
- package/lib/module/components/text/index.js.map +1 -1
- package/lib/module/components/text/metrics.js +5 -0
- package/lib/module/components/text/metrics.js.map +1 -0
- package/lib/module/components/text/text.js +31 -2
- package/lib/module/components/text/text.js.map +1 -1
- package/lib/module/components/tile-grid/tile-grid.js +3 -2
- package/lib/module/components/tile-grid/tile-grid.js.map +1 -1
- package/lib/module/components/toast/toast.js +4 -1
- package/lib/module/components/toast/toast.js.map +1 -1
- package/lib/module/components/value-rows/value-rows.js +8 -1
- package/lib/module/components/value-rows/value-rows.js.map +1 -1
- package/lib/module/index.js +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/internal/field-label.js +2 -0
- package/lib/module/internal/field-label.js.map +1 -1
- package/lib/module/internal/glyphs.js +2 -1
- package/lib/module/internal/glyphs.js.map +1 -1
- package/lib/module/internal/line-icons.js +1 -0
- package/lib/module/internal/line-icons.js.map +1 -1
- package/lib/module/internal/retry-glyph.js +5 -2
- package/lib/module/internal/retry-glyph.js.map +1 -1
- package/lib/module/internal/roll-text.js +10 -2
- package/lib/module/internal/roll-text.js.map +1 -1
- package/lib/module/internal/sample-tiles.js +2 -0
- package/lib/module/internal/sample-tiles.js.map +1 -1
- package/lib/module/internal/undo-glyph.js +11 -8
- package/lib/module/internal/undo-glyph.js.map +1 -1
- package/lib/module/sortable/section-board.js +75 -89
- package/lib/module/sortable/section-board.js.map +1 -1
- package/lib/module/templates/design-pick-template.js +9 -1
- package/lib/module/templates/design-pick-template.js.map +1 -1
- package/lib/module/templates/intro-template.js +3 -3
- package/lib/module/templates/intro-template.js.map +1 -1
- package/lib/module/templates/preview-edit-template.js +3 -0
- package/lib/module/templates/preview-edit-template.js.map +1 -1
- package/lib/module/templates/result-template.js +2 -1
- package/lib/module/templates/result-template.js.map +1 -1
- package/lib/module/templates/scroll-templates.js +12 -2
- package/lib/module/templates/scroll-templates.js.map +1 -1
- package/lib/module/templates/sheet-form-template.js +4 -0
- package/lib/module/templates/sheet-form-template.js.map +1 -1
- package/lib/module/theme/base.js +16 -9
- package/lib/module/theme/base.js.map +1 -1
- package/lib/module/theme/create-theme.js +6 -2
- package/lib/module/theme/create-theme.js.map +1 -1
- package/lib/module/theme/tokens.js +23 -2
- package/lib/module/theme/tokens.js.map +1 -1
- package/lib/typescript/src/adjust/adjust-template.d.ts.map +1 -1
- package/lib/typescript/src/adjust/axis-adjust.d.ts +25 -0
- package/lib/typescript/src/adjust/axis-adjust.d.ts.map +1 -0
- package/lib/typescript/src/adjust/axis-tabs.d.ts +15 -0
- package/lib/typescript/src/adjust/axis-tabs.d.ts.map +1 -0
- package/lib/typescript/src/adjust/axis-wheel.d.ts +15 -0
- package/lib/typescript/src/adjust/axis-wheel.d.ts.map +1 -0
- package/lib/typescript/src/adjust/dial-strip.d.ts.map +1 -1
- package/lib/typescript/src/adjust/index.d.ts +4 -0
- package/lib/typescript/src/adjust/index.d.ts.map +1 -1
- package/lib/typescript/src/adjust/store-sample.d.ts +46 -0
- package/lib/typescript/src/adjust/store-sample.d.ts.map +1 -0
- package/lib/typescript/src/blocks/chat-message/chat-message.d.ts.map +1 -1
- package/lib/typescript/src/blocks/choice-art/choice-art.d.ts.map +1 -1
- package/lib/typescript/src/blocks/color-tune/store-sample.d.ts.map +1 -1
- package/lib/typescript/src/blocks/detail-editor/compare-slider.d.ts +2 -1
- package/lib/typescript/src/blocks/detail-editor/compare-slider.d.ts.map +1 -1
- package/lib/typescript/src/blocks/detail-editor/detail-canvas.d.ts +3 -1
- package/lib/typescript/src/blocks/detail-editor/detail-canvas.d.ts.map +1 -1
- package/lib/typescript/src/blocks/detail-editor/detail-types.d.ts +11 -0
- package/lib/typescript/src/blocks/detail-editor/detail-types.d.ts.map +1 -1
- package/lib/typescript/src/blocks/detail-editor/draft-preview.d.ts +4 -1
- package/lib/typescript/src/blocks/detail-editor/draft-preview.d.ts.map +1 -1
- package/lib/typescript/src/blocks/detail-editor/focus-context.d.ts +9 -0
- package/lib/typescript/src/blocks/detail-editor/focus-context.d.ts.map +1 -1
- package/lib/typescript/src/blocks/detail-editor/index.d.ts +3 -2
- package/lib/typescript/src/blocks/detail-editor/index.d.ts.map +1 -1
- package/lib/typescript/src/blocks/detail-editor/keep-words.d.ts +2 -0
- package/lib/typescript/src/blocks/detail-editor/keep-words.d.ts.map +1 -0
- package/lib/typescript/src/blocks/detail-editor/layout-picker.d.ts +6 -1
- package/lib/typescript/src/blocks/detail-editor/layout-picker.d.ts.map +1 -1
- package/lib/typescript/src/blocks/detail-request/detail-request.d.ts +24 -0
- package/lib/typescript/src/blocks/detail-request/detail-request.d.ts.map +1 -0
- package/lib/typescript/src/blocks/detail-request/index.d.ts +2 -0
- package/lib/typescript/src/blocks/detail-request/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/detail-studio/action-chips.d.ts +12 -0
- package/lib/typescript/src/blocks/detail-studio/action-chips.d.ts.map +1 -0
- package/lib/typescript/src/blocks/detail-studio/adjust-tiles.d.ts.map +1 -1
- package/lib/typescript/src/blocks/detail-studio/asset-grid.d.ts.map +1 -1
- package/lib/typescript/src/blocks/detail-studio/confirm-row.d.ts.map +1 -1
- package/lib/typescript/src/blocks/detail-studio/detail-studio-template.d.ts.map +1 -1
- package/lib/typescript/src/blocks/detail-studio/edge-fade.d.ts +10 -0
- package/lib/typescript/src/blocks/detail-studio/edge-fade.d.ts.map +1 -0
- package/lib/typescript/src/blocks/detail-studio/image-prompt.d.ts.map +1 -1
- package/lib/typescript/src/blocks/detail-studio/index.d.ts +7 -5
- package/lib/typescript/src/blocks/detail-studio/index.d.ts.map +1 -1
- package/lib/typescript/src/blocks/detail-studio/rewrite-tray.d.ts +3 -3
- package/lib/typescript/src/blocks/detail-studio/rewrite-tray.d.ts.map +1 -1
- package/lib/typescript/src/blocks/detail-studio/section-cover.d.ts +7 -0
- package/lib/typescript/src/blocks/detail-studio/section-cover.d.ts.map +1 -0
- package/lib/typescript/src/blocks/detail-studio/section-edit-template.d.ts +9 -0
- package/lib/typescript/src/blocks/detail-studio/section-edit-template.d.ts.map +1 -1
- package/lib/typescript/src/blocks/detail-studio/section-kind-grid.d.ts.map +1 -1
- package/lib/typescript/src/blocks/detail-studio/section-settings.d.ts +11 -13
- package/lib/typescript/src/blocks/detail-studio/section-settings.d.ts.map +1 -1
- package/lib/typescript/src/blocks/detail-studio/studio-bar.d.ts +6 -2
- package/lib/typescript/src/blocks/detail-studio/studio-bar.d.ts.map +1 -1
- package/lib/typescript/src/blocks/detail-studio/studio-dock.d.ts +0 -2
- package/lib/typescript/src/blocks/detail-studio/studio-dock.d.ts.map +1 -1
- package/lib/typescript/src/blocks/detail-studio/studio-glyphs.d.ts +6 -0
- package/lib/typescript/src/blocks/detail-studio/studio-glyphs.d.ts.map +1 -0
- package/lib/typescript/src/blocks/detail-studio/studio-sheet.d.ts.map +1 -1
- package/lib/typescript/src/blocks/detail-studio/studio-steps.d.ts +11 -0
- package/lib/typescript/src/blocks/detail-studio/studio-steps.d.ts.map +1 -0
- package/lib/typescript/src/blocks/detail-studio/studio-toggle.d.ts +14 -0
- package/lib/typescript/src/blocks/detail-studio/studio-toggle.d.ts.map +1 -0
- package/lib/typescript/src/blocks/detail-studio/studio-tools.d.ts +19 -0
- package/lib/typescript/src/blocks/detail-studio/studio-tools.d.ts.map +1 -0
- package/lib/typescript/src/blocks/detail-studio/text-format-panel.d.ts +2 -1
- package/lib/typescript/src/blocks/detail-studio/text-format-panel.d.ts.map +1 -1
- package/lib/typescript/src/blocks/draft-box/draft-box.d.ts.map +1 -1
- package/lib/typescript/src/blocks/index.d.ts +1 -0
- package/lib/typescript/src/blocks/index.d.ts.map +1 -1
- package/lib/typescript/src/blocks/oauth-buttons/oauth-buttons.d.ts.map +1 -1
- package/lib/typescript/src/blocks/order-block/order-block.d.ts.map +1 -1
- package/lib/typescript/src/blocks/product-tile/product-tile.d.ts.map +1 -1
- package/lib/typescript/src/blocks/question-accordion/question-accordion.d.ts.map +1 -1
- package/lib/typescript/src/blocks/question-pager/question-pager.d.ts.map +1 -1
- package/lib/typescript/src/blocks/review-card/review-card.d.ts.map +1 -1
- package/lib/typescript/src/blocks/send-bar/send-bar.d.ts.map +1 -1
- package/lib/typescript/src/blocks/stage-bar/stage-bar.d.ts.map +1 -1
- package/lib/typescript/src/blocks/stat-card/stat-card.d.ts.map +1 -1
- package/lib/typescript/src/blocks/step-screen/step-screen.d.ts.map +1 -1
- package/lib/typescript/src/blocks/store-top/store-top.d.ts.map +1 -1
- package/lib/typescript/src/blocks/summary-cards/summary-cards.d.ts.map +1 -1
- package/lib/typescript/src/blocks/task-tiles/task-tiles.d.ts.map +1 -1
- package/lib/typescript/src/components/amount-summary/amount-summary.d.ts.map +1 -1
- package/lib/typescript/src/components/button/button.d.ts +3 -1
- package/lib/typescript/src/components/button/button.d.ts.map +1 -1
- package/lib/typescript/src/components/calendar/calendar.d.ts.map +1 -1
- package/lib/typescript/src/components/chip/chip.d.ts +2 -1
- package/lib/typescript/src/components/chip/chip.d.ts.map +1 -1
- package/lib/typescript/src/components/chip-group/chip-group.d.ts +1 -0
- package/lib/typescript/src/components/chip-group/chip-group.d.ts.map +1 -1
- package/lib/typescript/src/components/circle-grid/circle-grid.d.ts.map +1 -1
- package/lib/typescript/src/components/credit/credit.d.ts +1 -0
- package/lib/typescript/src/components/credit/credit.d.ts.map +1 -1
- package/lib/typescript/src/components/dialog/dialog.d.ts.map +1 -1
- package/lib/typescript/src/components/dropdown-menu/dropdown-menu.d.ts +2 -0
- package/lib/typescript/src/components/dropdown-menu/dropdown-menu.d.ts.map +1 -1
- package/lib/typescript/src/components/empty-state/empty-state.d.ts.map +1 -1
- package/lib/typescript/src/components/fact-list/fact-list.d.ts.map +1 -1
- package/lib/typescript/src/components/field/field.d.ts.map +1 -1
- package/lib/typescript/src/components/filter-tabs/filter-tabs.d.ts.map +1 -1
- package/lib/typescript/src/components/list-row/list-row.d.ts +3 -1
- package/lib/typescript/src/components/list-row/list-row.d.ts.map +1 -1
- package/lib/typescript/src/components/page-header/page-header.d.ts.map +1 -1
- package/lib/typescript/src/components/pill/pill.d.ts.map +1 -1
- package/lib/typescript/src/components/segmented-control/segmented-control.d.ts +2 -0
- package/lib/typescript/src/components/segmented-control/segmented-control.d.ts.map +1 -1
- package/lib/typescript/src/components/segmented-tabs/segmented-tabs.d.ts.map +1 -1
- package/lib/typescript/src/components/skeleton/skeleton.d.ts +2 -1
- package/lib/typescript/src/components/skeleton/skeleton.d.ts.map +1 -1
- package/lib/typescript/src/components/slider/slider.d.ts +2 -1
- package/lib/typescript/src/components/slider/slider.d.ts.map +1 -1
- package/lib/typescript/src/components/status-steps/status-steps.d.ts.map +1 -1
- package/lib/typescript/src/components/text/figures.d.ts +12 -0
- package/lib/typescript/src/components/text/figures.d.ts.map +1 -0
- package/lib/typescript/src/components/text/index.d.ts +1 -0
- package/lib/typescript/src/components/text/index.d.ts.map +1 -1
- package/lib/typescript/src/components/text/metrics.d.ts +6 -0
- package/lib/typescript/src/components/text/metrics.d.ts.map +1 -0
- package/lib/typescript/src/components/text/text.d.ts +2 -2
- package/lib/typescript/src/components/text/text.d.ts.map +1 -1
- package/lib/typescript/src/components/tile-grid/tile-grid.d.ts.map +1 -1
- package/lib/typescript/src/components/toast/toast.d.ts.map +1 -1
- package/lib/typescript/src/components/value-rows/value-rows.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +1 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/internal/field-label.d.ts.map +1 -1
- package/lib/typescript/src/internal/glyphs.d.ts +1 -0
- package/lib/typescript/src/internal/glyphs.d.ts.map +1 -1
- package/lib/typescript/src/internal/line-icons.d.ts +1 -0
- package/lib/typescript/src/internal/line-icons.d.ts.map +1 -1
- package/lib/typescript/src/internal/retry-glyph.d.ts.map +1 -1
- package/lib/typescript/src/internal/roll-text.d.ts +3 -2
- package/lib/typescript/src/internal/roll-text.d.ts.map +1 -1
- package/lib/typescript/src/internal/sample-tiles.d.ts +2 -0
- package/lib/typescript/src/internal/sample-tiles.d.ts.map +1 -1
- package/lib/typescript/src/internal/undo-glyph.d.ts.map +1 -1
- package/lib/typescript/src/sortable/section-board.d.ts.map +1 -1
- package/lib/typescript/src/templates/design-pick-template.d.ts.map +1 -1
- package/lib/typescript/src/templates/intro-template.d.ts.map +1 -1
- package/lib/typescript/src/templates/preview-edit-template.d.ts.map +1 -1
- package/lib/typescript/src/templates/result-template.d.ts +2 -1
- package/lib/typescript/src/templates/result-template.d.ts.map +1 -1
- package/lib/typescript/src/templates/scroll-templates.d.ts.map +1 -1
- package/lib/typescript/src/templates/sheet-form-template.d.ts.map +1 -1
- package/lib/typescript/src/theme/base.d.ts +9 -2
- package/lib/typescript/src/theme/base.d.ts.map +1 -1
- package/lib/typescript/src/theme/create-theme.d.ts.map +1 -1
- package/lib/typescript/src/theme/tokens.d.ts +3 -1
- package/lib/typescript/src/theme/tokens.d.ts.map +1 -1
- package/lib/typescript/src/types/index.d.ts +12 -0
- package/lib/typescript/src/types/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adjust/adjust-template.tsx +1 -0
- package/src/adjust/axis-adjust.tsx +206 -0
- package/src/adjust/axis-dial.tsx +2 -2
- package/src/adjust/axis-tabs.tsx +81 -0
- package/src/adjust/axis-wheel.tsx +309 -0
- package/src/adjust/dial-strip.tsx +5 -3
- package/src/adjust/index.ts +15 -0
- package/src/adjust/store-sample.tsx +519 -0
- package/src/blocks/chat-message/chat-message.tsx +1 -0
- package/src/blocks/choice-art/choice-art.tsx +2 -0
- package/src/blocks/color-swatch-picker/color-swatch-picker.tsx +1 -1
- package/src/blocks/color-tune/store-sample.tsx +11 -6
- package/src/blocks/color-tune/swatch-card.tsx +1 -1
- package/src/blocks/detail-editor/compare-slider.tsx +4 -1
- package/src/blocks/detail-editor/detail-canvas.tsx +267 -69
- package/src/blocks/detail-editor/detail-types.ts +37 -0
- package/src/blocks/detail-editor/draft-preview.tsx +46 -2
- package/src/blocks/detail-editor/focus-context.ts +13 -0
- package/src/blocks/detail-editor/index.ts +11 -1
- package/src/blocks/detail-editor/keep-words.ts +36 -0
- package/src/blocks/detail-editor/layout-picker.tsx +191 -6
- package/src/blocks/detail-request/detail-request.tsx +198 -0
- package/src/blocks/detail-request/index.ts +11 -0
- package/src/blocks/detail-studio/action-chips.tsx +78 -0
- package/src/blocks/detail-studio/adjust-tiles.tsx +4 -3
- package/src/blocks/detail-studio/asset-grid.tsx +30 -16
- package/src/blocks/detail-studio/confirm-row.tsx +3 -0
- package/src/blocks/detail-studio/detail-studio-template.tsx +2 -6
- package/src/blocks/detail-studio/edge-fade.tsx +76 -0
- package/src/blocks/detail-studio/image-prompt.tsx +7 -9
- package/src/blocks/detail-studio/index.ts +19 -16
- package/src/blocks/detail-studio/rewrite-tray.tsx +16 -56
- package/src/blocks/detail-studio/section-cover.tsx +44 -0
- package/src/blocks/detail-studio/section-edit-template.tsx +138 -13
- package/src/blocks/detail-studio/section-kind-grid.tsx +4 -2
- package/src/blocks/detail-studio/section-settings.tsx +124 -69
- package/src/blocks/detail-studio/studio-bar.tsx +61 -41
- package/src/blocks/detail-studio/studio-dock.tsx +19 -37
- package/src/blocks/detail-studio/studio-glyphs.tsx +77 -0
- package/src/blocks/detail-studio/studio-sheet.tsx +7 -3
- package/src/blocks/detail-studio/studio-steps.tsx +58 -0
- package/src/blocks/detail-studio/studio-toggle.tsx +130 -0
- package/src/blocks/detail-studio/studio-tools.tsx +126 -0
- package/src/blocks/detail-studio/text-format-panel.tsx +30 -14
- package/src/blocks/draft-box/draft-box.tsx +3 -0
- package/src/blocks/index.tsx +1 -0
- package/src/blocks/oauth-buttons/oauth-buttons.tsx +1 -0
- package/src/blocks/order-block/order-block.tsx +20 -4
- package/src/blocks/product-tile/product-tile.tsx +4 -1
- package/src/blocks/question-accordion/question-accordion.tsx +0 -1
- package/src/blocks/question-pager/question-pager.tsx +2 -1
- package/src/blocks/review-card/review-card.tsx +4 -0
- package/src/blocks/send-bar/send-bar.tsx +1 -0
- package/src/blocks/stage-bar/stage-bar.tsx +3 -2
- package/src/blocks/stat-card/stat-card.tsx +2 -1
- package/src/blocks/step-screen/step-screen.tsx +5 -2
- package/src/blocks/store-top/store-top.tsx +7 -2
- package/src/blocks/summary-cards/summary-cards.tsx +4 -3
- package/src/blocks/task-tiles/task-tiles.tsx +2 -1
- package/src/components/amount-summary/amount-summary.tsx +9 -3
- package/src/components/button/button.tsx +18 -5
- package/src/components/calendar/calendar.tsx +5 -2
- package/src/components/chip/chip.tsx +11 -2
- package/src/components/chip-group/chip-group.tsx +2 -0
- package/src/components/circle-grid/circle-grid.tsx +5 -1
- package/src/components/credit/credit.tsx +11 -4
- package/src/components/dialog/dialog.tsx +2 -0
- package/src/components/dropdown-menu/dropdown-menu.tsx +18 -7
- package/src/components/empty-state/empty-state.tsx +1 -0
- package/src/components/fact-list/fact-list.tsx +1 -0
- package/src/components/field/field.tsx +4 -0
- package/src/components/filter-tabs/filter-tabs.tsx +2 -1
- package/src/components/list-row/list-row.tsx +40 -5
- package/src/components/page-header/page-header.tsx +1 -0
- package/src/components/pill/pill.tsx +1 -0
- package/src/components/segmented-control/segmented-control.tsx +12 -2
- package/src/components/segmented-tabs/segmented-tabs.tsx +2 -1
- package/src/components/skeleton/skeleton.tsx +5 -2
- package/src/components/slider/slider.tsx +66 -14
- package/src/components/status-steps/status-steps.tsx +2 -0
- package/src/components/text/figures.tsx +92 -0
- package/src/components/text/index.ts +7 -0
- package/src/components/text/metrics.ts +5 -0
- package/src/components/text/text.tsx +60 -16
- package/src/components/tile-grid/tile-grid.tsx +3 -2
- package/src/components/toast/toast.tsx +7 -1
- package/src/components/value-rows/value-rows.tsx +9 -1
- package/src/index.tsx +1 -0
- package/src/internal/field-label.tsx +2 -0
- package/src/internal/glyphs.tsx +2 -0
- package/src/internal/line-icons.ts +2 -0
- package/src/internal/retry-glyph.tsx +7 -2
- package/src/internal/roll-text.tsx +12 -2
- package/src/internal/sample-tiles.tsx +2 -0
- package/src/internal/undo-glyph.tsx +12 -11
- package/src/sortable/section-board.tsx +73 -76
- package/src/templates/design-pick-template.tsx +10 -1
- package/src/templates/intro-template.tsx +14 -12
- package/src/templates/preview-edit-template.tsx +3 -0
- package/src/templates/result-template.tsx +3 -0
- package/src/templates/scroll-templates.tsx +11 -2
- package/src/templates/sheet-form-template.tsx +4 -0
- package/src/theme/base.ts +9 -2
- package/src/theme/create-theme.ts +9 -2
- package/src/theme/tokens.ts +37 -3
- package/src/types/index.ts +13 -0
- package/lib/module/blocks/detail-studio/keyboard-bar.js +0 -67
- package/lib/module/blocks/detail-studio/keyboard-bar.js.map +0 -1
- package/lib/module/blocks/detail-studio/photo-tool-bar.js.map +0 -1
- package/lib/module/blocks/detail-studio/section-thumb.js +0 -49
- package/lib/module/blocks/detail-studio/section-thumb.js.map +0 -1
- package/lib/typescript/src/blocks/detail-studio/keyboard-bar.d.ts +0 -18
- package/lib/typescript/src/blocks/detail-studio/keyboard-bar.d.ts.map +0 -1
- package/lib/typescript/src/blocks/detail-studio/photo-tool-bar.d.ts +0 -19
- package/lib/typescript/src/blocks/detail-studio/photo-tool-bar.d.ts.map +0 -1
- package/lib/typescript/src/blocks/detail-studio/section-thumb.d.ts +0 -14
- package/lib/typescript/src/blocks/detail-studio/section-thumb.d.ts.map +0 -1
- package/src/blocks/detail-studio/keyboard-bar.tsx +0 -73
- package/src/blocks/detail-studio/photo-tool-bar.tsx +0 -100
- package/src/blocks/detail-studio/section-thumb.tsx +0 -41
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/adjust/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,sBAAmB,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,gBAAa,CAAC;AAC3D,OAAO,EACL,aAAa,EACb,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,GACxB,MAAM,sBAAmB,CAAC;AAC3B,OAAO,EACL,eAAe,EACf,KAAK,oBAAoB,GAC1B,MAAM,wBAAqB,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,kBAAe,CAAC;AACjE,OAAO,EACL,QAAQ,EACR,SAAS,EACT,KAAK,aAAa,EAClB,KAAK,QAAQ,EACb,KAAK,cAAc,GACpB,MAAM,iBAAc,CAAC;AACtB,OAAO,EACL,YAAY,EACZ,KAAK,iBAAiB,EACtB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AO,EACL,YAAY,EACZ,KAAK,iBAAiB,EACtB,KAAK,SAAS,GACf,MAAM,oBAAiB,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,kBAAe,CAAC;AACjE,OAAO,EACL,WAAW,EACX,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB,MAAM,mBAAgB,CAAC;AACxB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,UAAO,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { type ImageSourcePropType } from 'react-native';
|
|
2
|
+
export type StoreSampleScene = 'color' | 'motion' | 'shape' | 'style' | 'power' | 'whole';
|
|
3
|
+
export type StoreSampleLook = {
|
|
4
|
+
surface: string;
|
|
5
|
+
surfaceAlt: string;
|
|
6
|
+
text: string;
|
|
7
|
+
muted: string;
|
|
8
|
+
accent: string;
|
|
9
|
+
onAccent: string;
|
|
10
|
+
radiusSm: number;
|
|
11
|
+
radiusMd: number;
|
|
12
|
+
radiusLg: number;
|
|
13
|
+
button: 'square' | 'rounded' | 'pill';
|
|
14
|
+
gutter: number;
|
|
15
|
+
sectionGap: number;
|
|
16
|
+
autoplay: boolean;
|
|
17
|
+
photoRatio: number;
|
|
18
|
+
tracking: number;
|
|
19
|
+
scale: number;
|
|
20
|
+
weight: 500 | 600 | 700;
|
|
21
|
+
area: 0 | 1 | 2;
|
|
22
|
+
serif: boolean;
|
|
23
|
+
};
|
|
24
|
+
export type StoreSampleCopy = {
|
|
25
|
+
store: string;
|
|
26
|
+
headline: string;
|
|
27
|
+
hero: string;
|
|
28
|
+
section: string;
|
|
29
|
+
more: string;
|
|
30
|
+
notice: string;
|
|
31
|
+
add: string;
|
|
32
|
+
};
|
|
33
|
+
export type StoreSampleProps = {
|
|
34
|
+
scene: StoreSampleScene;
|
|
35
|
+
look: StoreSampleLook;
|
|
36
|
+
photos: readonly ImageSourcePropType[];
|
|
37
|
+
hero: ImageSourcePropType;
|
|
38
|
+
copy: StoreSampleCopy;
|
|
39
|
+
width: number;
|
|
40
|
+
height: number;
|
|
41
|
+
fontFamily?: string;
|
|
42
|
+
serifFamily?: string;
|
|
43
|
+
cutout?: boolean;
|
|
44
|
+
};
|
|
45
|
+
export declare function StoreSample({ scene, look, photos, hero, copy, width, height, fontFamily, serifFamily, cutout, }: StoreSampleProps): import("react").JSX.Element;
|
|
46
|
+
//# sourceMappingURL=store-sample.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"store-sample.d.ts","sourceRoot":"","sources":["../../../../src/adjust/store-sample.tsx"],"names":[],"mappings":"AACA,OAAO,EAQL,KAAK,mBAAmB,EAGzB,MAAM,cAAc,CAAC;AAItB,MAAM,MAAM,gBAAgB,GAC1B,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;AAE7D,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAC;IACtC,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;IACxB,IAAI,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAChB,KAAK,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,gBAAgB,CAAC;IACxB,IAAI,EAAE,eAAe,CAAC;IACtB,MAAM,EAAE,SAAS,mBAAmB,EAAE,CAAC;IACvC,IAAI,EAAE,mBAAmB,CAAC;IAC1B,IAAI,EAAE,eAAe,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAoJF,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,MAAM,EACN,UAAU,EACV,WAA0B,EAC1B,MAAc,GACf,EAAE,gBAAgB,+BAySlB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-message.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/chat-message/chat-message.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAM1E,MAAM,MAAM,gBAAgB,GAAG;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC3B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;
|
|
1
|
+
{"version":3,"file":"chat-message.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/chat-message/chat-message.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAM1E,MAAM,MAAM,gBAAgB,GAAG;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC3B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAiBF,wBAAgB,WAAW,CAAC,EAC1B,GAAG,EACH,IAAI,EACJ,IAAY,EACZ,KAAa,EACb,MAAW,EACX,KAAK,GACN,EAAE,gBAAgB,+BAiBlB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"choice-art.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/choice-art/choice-art.tsx"],"names":[],"mappings":"AAOA,MAAM,MAAM,eAAe,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAE/D,MAAM,MAAM,aAAa,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAE7E,MAAM,MAAM,cAAc,GAAG;IAAE,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAE1E,MAAM,MAAM,aAAa,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAE9C,MAAM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K,EAAE,EAAE,aAAa,+BAYvD;AAED,wBAAgB,OAAO,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,YAAY,+BAmBpD;AAED,wBAAgB,SAAS,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,cAAc,+BAQxD;AAED,wBAAgB,SAAS,gCAaxB;AAED,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,EAAE,gBAAgB,+BAoCtD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store-sample.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/color-tune/store-sample.tsx"],"names":[],"mappings":"AACA,OAAO,EAIL,KAAK,mBAAmB,EACxB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"store-sample.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/color-tune/store-sample.tsx"],"names":[],"mappings":"AACA,OAAO,EAIL,KAAK,mBAAmB,EACxB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAKtB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAgC,CAAC;AAEpE,MAAM,MAAM,eAAe,GAAG;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,mBAAmB,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,MAAM,EAAE,aAAa,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,SAAS,MAAM,EAAE,CAAC;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,mBAAmB,CAAC;IAC1B,KAAK,EAAE,SAAS,eAAe,EAAE,CAAC;IAClC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAiJF,iBAAS,eAAe,CAAC,EACvB,MAAM,EACN,IAAI,EACJ,UAAU,EACV,KAAK,EACL,IAAI,EACJ,KAAK,EACL,KAAK,GACN,EAAE,gBAAgB,+BAwGlB;AAED,eAAO,MAAM,WAAW,6DAAwB,CAAC"}
|
|
@@ -7,6 +7,7 @@ export type CompareSliderProps = {
|
|
|
7
7
|
before: string;
|
|
8
8
|
after: string;
|
|
9
9
|
};
|
|
10
|
+
inset?: number;
|
|
10
11
|
};
|
|
11
|
-
export declare function CompareSlider({ before, after, aspectRatio, label, labels, }: CompareSliderProps): import("react").JSX.Element;
|
|
12
|
+
export declare function CompareSlider({ before, after, aspectRatio, label, labels, inset, }: CompareSliderProps): import("react").JSX.Element;
|
|
12
13
|
//# sourceMappingURL=compare-slider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compare-slider.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-editor/compare-slider.tsx"],"names":[],"mappings":"AAcA,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"compare-slider.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-editor/compare-slider.tsx"],"names":[],"mappings":"AAcA,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAyDF,wBAAgB,aAAa,CAAC,EAC5B,MAAM,EACN,KAAK,EACL,WAAmB,EACnB,KAAgB,EAChB,MAAM,EACN,KAAS,GACV,EAAE,kBAAkB,+BA6EpB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type TextStyle } from 'react-native';
|
|
2
|
+
import { type DetailPart } from './focus-context.js';
|
|
2
3
|
import { type DetailDocValue, type DetailLayer, type DetailSelection } from './detail-types.js';
|
|
3
4
|
export type DetailCanvasInput = {
|
|
4
5
|
value: string;
|
|
@@ -40,7 +41,8 @@ export type DetailCanvasProps = {
|
|
|
40
41
|
paper?: string;
|
|
41
42
|
mode?: 'select' | 'edit';
|
|
42
43
|
focus?: DetailCanvasFocus | null;
|
|
44
|
+
onMeasure?: (parts: DetailPart[]) => void;
|
|
43
45
|
};
|
|
44
46
|
export declare function textStyleOf(layer: DetailLayer, scale: number, ink: string, paper?: string): TextStyle;
|
|
45
|
-
export declare function DetailCanvas({ doc, selection, onSelect, scale, ink, paper, mode, focus, }: DetailCanvasProps): import("react").JSX.Element;
|
|
47
|
+
export declare function DetailCanvas({ doc, selection, onSelect, scale, ink, paper, mode, focus, onMeasure, }: DetailCanvasProps): import("react").JSX.Element;
|
|
46
48
|
//# sourceMappingURL=detail-canvas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detail-canvas.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-editor/detail-canvas.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"detail-canvas.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-editor/detail-canvas.tsx"],"names":[],"mappings":"AAYA,OAAO,EAQL,KAAK,SAAS,EAEf,MAAM,cAAc,CAAC;AAOtB,OAAO,EAIL,KAAK,UAAU,EAChB,MAAM,oBAAiB,CAAC;AAEzB,OAAO,EAcL,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,eA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,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,IAAI,CAAC;CAC3C,CAAC;AA6TF,wBAAgB,WAAW,CACzB,KAAK,EAAE,WAAW,EAClB,KAAK,EAAE,MAAM,EACb,GAAG,EAAE,MAAM,EACX,KAAK,CAAC,EAAE,MAAM,GACb,SAAS,CAuCX;AAiOD,wBAAgB,YAAY,CAAC,EAC3B,GAAG,EACH,SAAS,EACT,QAAQ,EACR,KAAS,EACT,GAAG,EACH,KAAK,EACL,IAAe,EACf,KAAK,EACL,SAAS,GACV,EAAE,iBAAiB,+BAsdnB"}
|
|
@@ -64,4 +64,15 @@ export declare const DETAIL_COLORS: readonly {
|
|
|
64
64
|
value: string;
|
|
65
65
|
label: string;
|
|
66
66
|
}[];
|
|
67
|
+
export declare const DETAIL_HEAD_SIZE = 7;
|
|
68
|
+
export declare const DETAIL_TITLE_SIZE = 5;
|
|
69
|
+
export declare function detailIsTitle(style?: DetailTextStyle | null): boolean;
|
|
70
|
+
export declare const DETAIL_TEXT_COLORS: readonly {
|
|
71
|
+
value: string;
|
|
72
|
+
label: string;
|
|
73
|
+
}[];
|
|
74
|
+
export declare const DETAIL_BACKGROUND_COLORS: readonly {
|
|
75
|
+
value: string;
|
|
76
|
+
label: string;
|
|
77
|
+
}[];
|
|
67
78
|
//# sourceMappingURL=detail-types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detail-types.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-editor/detail-types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,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,CAAC"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
+
import type { DetailPart } from './focus-context.js';
|
|
3
|
+
export declare function draftPreviewFit(parts: readonly DetailPart[], room: number): number;
|
|
2
4
|
export type DraftPreviewProps = {
|
|
3
5
|
height: number;
|
|
4
6
|
width: number;
|
|
7
|
+
pageHeight?: number;
|
|
5
8
|
children: ReactNode;
|
|
6
9
|
};
|
|
7
|
-
export declare function DraftPreview({ height, width, children }: DraftPreviewProps): import("react").JSX.Element;
|
|
10
|
+
export declare function DraftPreview({ height, width, pageHeight, children, }: DraftPreviewProps): import("react").JSX.Element;
|
|
8
11
|
//# sourceMappingURL=draft-preview.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draft-preview.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-editor/draft-preview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"draft-preview.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-editor/draft-preview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAiB,CAAC;AAIlD,wBAAgB,eAAe,CAC7B,KAAK,EAAE,SAAS,UAAU,EAAE,EAC5B,IAAI,EAAE,MAAM,GACX,MAAM,CAgBR;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAsBF,wBAAgB,YAAY,CAAC,EAC3B,MAAM,EACN,KAAK,EACL,UAAU,EACV,QAAQ,GACT,EAAE,iBAAiB,+BAiBnB"}
|
|
@@ -3,4 +3,13 @@ export type DetailFocusRect = {
|
|
|
3
3
|
height: number;
|
|
4
4
|
};
|
|
5
5
|
export declare const DetailFocusContext: import("react").Context<((rect: DetailFocusRect | null) => void) | null>;
|
|
6
|
+
export type DetailPart = {
|
|
7
|
+
key: string;
|
|
8
|
+
kind: 'text' | 'image';
|
|
9
|
+
y: number;
|
|
10
|
+
height: number;
|
|
11
|
+
line: number;
|
|
12
|
+
blank?: boolean;
|
|
13
|
+
};
|
|
14
|
+
export declare const DetailPartsContext: import("react").Context<((parts: DetailPart[]) => void) | null>;
|
|
6
15
|
//# sourceMappingURL=focus-context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"focus-context.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-editor/focus-context.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,eAAe,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAE5D,eAAO,MAAM,kBAAkB,kCACrB,eAAe,GAAG,IAAI,KAAK,IAAI,SAClC,CAAC"}
|
|
1
|
+
{"version":3,"file":"focus-context.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-editor/focus-context.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,eAAe,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAE5D,eAAO,MAAM,kBAAkB,kCACrB,eAAe,GAAG,IAAI,KAAK,IAAI,SAClC,CAAC;AAER,MAAM,MAAM,UAAU,GAAG;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,CAAC,EAAE,MAAM,CAAC;IACV,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,kBAAkB,mCACpB,UAAU,EAAE,KAAK,IAAI,SACzB,CAAC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
export { DetailCanvas, textStyleOf, type DetailCanvasCompare, type DetailCanvasFocus, type DetailCanvasInput, type DetailCanvasProps, type DetailCanvasResult, } from './detail-canvas.js';
|
|
2
|
-
export
|
|
2
|
+
export type { DetailPart } from './focus-context.js';
|
|
3
|
+
export { DETAIL_BACKGROUND_COLORS, DETAIL_COLORS, DETAIL_HEAD_SIZE, DETAIL_TEXT_COLORS, DETAIL_TITLE_SIZE, detailIsTitle, DETAIL_FONT_FAMILY, DETAIL_LAYOUTS, DETAIL_LIST_LAYOUTS, detailBlockSpace, detailFontSize, detailLayoutsFor, detailLineHeight, detailTracking, type DetailBlock, type DetailDocValue, type DetailEffect, type DetailFont, type DetailLayer, type DetailLayout, type DetailSelection, type DetailTextStyle, type DetailWeight, } from './detail-types.js';
|
|
3
4
|
export { EffectPicker, type EffectPickerProps } from './effect-picker.js';
|
|
4
5
|
export { FontPicker, type FontPickerProps } from './font-picker.js';
|
|
5
6
|
export { LayoutPicker, type LayoutPickerProps } from './layout-picker.js';
|
|
6
7
|
export { CompareSlider, type CompareSliderProps } from './compare-slider.js';
|
|
7
8
|
export { StructurePicker, type StructureOption, type StructurePickerProps, } from './structure-picker.js';
|
|
8
|
-
export { DraftPreview, type DraftPreviewProps } from './draft-preview.js';
|
|
9
|
+
export { DraftPreview, draftPreviewFit, type DraftPreviewProps, } from './draft-preview.js';
|
|
9
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-editor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,WAAW,EACX,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,GACxB,MAAM,oBAAiB,CAAC;AACzB,OAAO,EACL,aAAa,EACb,kBAAkB,EAClB,cAAc,EACd,mBAAmB,EACnB,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,YAAY,GAClB,MAAM,mBAAgB,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,oBAAiB,CAAC;AACvE,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,kBAAe,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,oBAAiB,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,qBAAkB,CAAC;AAC1E,OAAO,EACL,eAAe,EACf,KAAK,eAAe,EACpB,KAAK,oBAAoB,GAC1B,MAAM,uBAAoB,CAAC;AAC5B,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-editor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,WAAW,EACX,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,GACxB,MAAM,oBAAiB,CAAC;AACzB,YAAY,EAAE,UAAU,EAAE,MAAM,oBAAiB,CAAC;AAClD,OAAO,EACL,wBAAwB,EACxB,aAAa,EACb,gBAAgB,EAChB,kBAAkB,EAClB,iBAAiB,EACjB,aAAa,EACb,kBAAkB,EAClB,cAAc,EACd,mBAAmB,EACnB,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,YAAY,GAClB,MAAM,mBAAgB,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,oBAAiB,CAAC;AACvE,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,kBAAe,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,oBAAiB,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,qBAAkB,CAAC;AAC1E,OAAO,EACL,eAAe,EACf,KAAK,eAAe,EACpB,KAAK,oBAAoB,GAC1B,MAAM,uBAAoB,CAAC;AAC5B,OAAO,EACL,YAAY,EACZ,eAAe,EACf,KAAK,iBAAiB,GACvB,MAAM,oBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keep-words.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-editor/keep-words.ts"],"names":[],"mappings":"AAmBA,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAgB9C"}
|
|
@@ -4,9 +4,14 @@ export type LayoutPickerProps = {
|
|
|
4
4
|
onValueChange: (layout: DetailLayout) => void;
|
|
5
5
|
labels?: Partial<Record<DetailLayout, string>>;
|
|
6
6
|
items?: readonly DetailLayout[];
|
|
7
|
+
variant?: 'default' | 'soft';
|
|
7
8
|
};
|
|
9
|
+
export declare const LABELS: Record<DetailLayout, string>;
|
|
10
|
+
export declare function SoftDiagram({ layout }: {
|
|
11
|
+
layout: DetailLayout;
|
|
12
|
+
}): import("react").JSX.Element;
|
|
8
13
|
export declare function Diagram({ layout }: {
|
|
9
14
|
layout: DetailLayout;
|
|
10
15
|
}): import("react").JSX.Element;
|
|
11
|
-
export declare function LayoutPicker({ value, onValueChange, labels, items, }: LayoutPickerProps): import("react").JSX.Element;
|
|
16
|
+
export declare function LayoutPicker({ value, onValueChange, labels, items, variant, }: LayoutPickerProps): import("react").JSX.Element;
|
|
12
17
|
//# sourceMappingURL=layout-picker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout-picker.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-editor/layout-picker.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAkB,KAAK,YAAY,EAAE,MAAM,mBAAgB,CAAC;AAEnE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,YAAY,GAAG,IAAI,CAAC;IAC3B,aAAa,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IAC9C,MAAM,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC;IAC/C,KAAK,CAAC,EAAE,SAAS,YAAY,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"layout-picker.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-editor/layout-picker.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAkB,KAAK,YAAY,EAAE,MAAM,mBAAgB,CAAC;AAEnE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,YAAY,GAAG,IAAI,CAAC;IAC3B,aAAa,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IAC9C,MAAM,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC;IAC/C,KAAK,CAAC,EAAE,SAAS,YAAY,EAAE,CAAC;IAChC,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAU/C,CAAC;AA+JF,wBAAgB,WAAW,CAAC,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,+BA0F/D;AAED,wBAAgB,OAAO,CAAC,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,+BAwG3D;AAED,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,aAAa,EACb,MAAM,EACN,KAAsB,EACtB,OAAmB,GACpB,EAAE,iBAAiB,+BA8CnB"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type ButtonProps } from '../../components/button/button.js';
|
|
2
|
+
export type PhotoMosaicProps = {
|
|
3
|
+
images: readonly string[];
|
|
4
|
+
onPress?: () => void;
|
|
5
|
+
accessibilityLabel?: string;
|
|
6
|
+
};
|
|
7
|
+
export type FactRow = {
|
|
8
|
+
label: string;
|
|
9
|
+
value: string;
|
|
10
|
+
};
|
|
11
|
+
export type FactRowsProps = {
|
|
12
|
+
rows: readonly FactRow[];
|
|
13
|
+
};
|
|
14
|
+
export type AddThumbsProps = {
|
|
15
|
+
images: readonly string[];
|
|
16
|
+
onAdd: () => void;
|
|
17
|
+
addLabel: string;
|
|
18
|
+
};
|
|
19
|
+
export type TintButtonProps = Omit<ButtonProps, 'variant' | 'point' | 'pill'>;
|
|
20
|
+
export declare function PhotoMosaic({ images, onPress, accessibilityLabel, }: PhotoMosaicProps): import("react").JSX.Element;
|
|
21
|
+
export declare function FactRows({ rows }: FactRowsProps): import("react").JSX.Element | null;
|
|
22
|
+
export declare function AddThumbs({ images, onAdd, addLabel }: AddThumbsProps): import("react").JSX.Element;
|
|
23
|
+
export declare function TintButton({ style, ...rest }: TintButtonProps): import("react").JSX.Element;
|
|
24
|
+
//# sourceMappingURL=detail-request.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detail-request.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-request/detail-request.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,mCAAgC,CAAC;AAS1E,MAAM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@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type ViewStyle } from 'react-native';
|
|
2
|
+
export type ActionChipsProps<T extends string> = {
|
|
3
|
+
items: readonly {
|
|
4
|
+
value: T;
|
|
5
|
+
label: string;
|
|
6
|
+
}[];
|
|
7
|
+
onPick: (value: T) => void;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
inset?: ViewStyle;
|
|
10
|
+
};
|
|
11
|
+
export declare function ActionChips<T extends string>({ items, onPick, disabled, inset, }: ActionChipsProps<T>): import("react").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=action-chips.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action-chips.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-studio/action-chips.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA8B,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAM1E,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,MAAM,IAAI;IAC/C,KAAK,EAAE,SAAS;QAAE,KAAK,EAAE,CAAC,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC9C,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,CAAC;AAuBF,wBAAgB,WAAW,CAAC,CAAC,SAAS,MAAM,EAAE,EAC5C,KAAK,EACL,MAAM,EACN,QAAQ,EACR,KAAK,GACN,EAAE,gBAAgB,CAAC,CAAC,CAAC,+BAsCrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adjust-tiles.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-studio/adjust-tiles.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,wBAAqB,CAAC;AAKhE,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,MAAM,IAAI;IACzC,KAAK,EAAE,CAAC,CAAC;IACT,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,MAAM,IAAI;IAC/C,KAAK,EAAE,SAAS,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC;IAChC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;
|
|
1
|
+
{"version":3,"file":"adjust-tiles.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-studio/adjust-tiles.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,wBAAqB,CAAC;AAKhE,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,MAAM,IAAI;IACzC,KAAK,EAAE,CAAC,CAAC;IACT,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,MAAM,IAAI;IAC/C,KAAK,EAAE,SAAS,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC;IAChC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AA6BF,wBAAgB,WAAW,CAAC,CAAC,SAAS,MAAM,EAAE,EAC5C,KAAK,EACL,MAAM,EACN,IAAI,EACJ,QAAQ,GACT,EAAE,gBAAgB,CAAC,CAAC,CAAC,+BAoCrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asset-grid.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-studio/asset-grid.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"asset-grid.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-studio/asset-grid.tsx"],"names":[],"mappings":"AAUA,MAAM,MAAM,aAAa,GAAG;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,SAAS,aAAa,EAAE,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC7C,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;CAC1B,CAAC;AA0EF,wBAAgB,SAAS,CAAC,EACxB,KAAK,EACL,KAAK,EACL,aAAa,EACb,WAAW,EACX,KAAK,EACL,QAAmB,EACnB,YAAY,EACZ,WAAW,EACX,OAAgB,GACjB,EAAE,cAAc,+BA4IhB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"confirm-row.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-studio/confirm-row.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,OAAO,EAAE,aAAa,CAAC;CACxB,CAAC;
|
|
1
|
+
{"version":3,"file":"confirm-row.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-studio/confirm-row.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,OAAO,EAAE,aAAa,CAAC;CACxB,CAAC;AAYF,wBAAgB,UAAU,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,eAAe,+BAuBjE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detail-studio-template.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-studio/detail-studio-template.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,MAAM,MAAM,yBAAyB,GAAG;IACtC,GAAG,EAAE,SAAS,CAAC;IACf,QAAQ,EAAE,SAAS,CAAC;IACpB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IAChC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAOF,wBAAgB,oBAAoB,CAAC,EACnC,GAAG,EACH,QAAQ,EACR,IAAI,EACJ,IAAmB,EACnB,MAAM,GACP,EAAE,yBAAyB,+
|
|
1
|
+
{"version":3,"file":"detail-studio-template.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-studio/detail-studio-template.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,MAAM,MAAM,yBAAyB,GAAG;IACtC,GAAG,EAAE,SAAS,CAAC;IACf,QAAQ,EAAE,SAAS,CAAC;IACpB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IAChC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAOF,wBAAgB,oBAAoB,CAAC,EACnC,GAAG,EACH,QAAQ,EACR,IAAI,EACJ,IAAmB,EACnB,MAAM,GACP,EAAE,yBAAyB,+BAsB3B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type EdgeFadeProps = {
|
|
2
|
+
side: 'right' | 'bottom';
|
|
3
|
+
size: number;
|
|
4
|
+
color: string;
|
|
5
|
+
steps?: number;
|
|
6
|
+
};
|
|
7
|
+
export declare function fadeLayers(steps: number): number[];
|
|
8
|
+
export declare function EdgeFade({ side, size, color, steps }: EdgeFadeProps): import("react").JSX.Element;
|
|
9
|
+
export declare function hasMore(offset: number, view: number, content: number, slack?: number): boolean;
|
|
10
|
+
//# sourceMappingURL=edge-fade.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edge-fade.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-studio/edge-fade.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,OAAO,GAAG,QAAQ,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAqBF,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CASlD;AAED,wBAAgB,QAAQ,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAa,EAAE,EAAE,aAAa,+BAyB3E;AAED,wBAAgB,OAAO,CACrB,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,KAAK,SAAI,GACR,OAAO,CAET"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-prompt.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-studio/image-prompt.tsx"],"names":[],"mappings":"AAOA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,WAAW,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;
|
|
1
|
+
{"version":3,"file":"image-prompt.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-studio/image-prompt.tsx"],"names":[],"mappings":"AAOA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,WAAW,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAmDF,wBAAgB,WAAW,CAAC,EAC1B,MAAM,EACN,KAAK,EACL,YAAY,EACZ,WAAW,EACX,MAAM,EACN,YAAY,EACZ,SAAe,EACf,KAAY,EACZ,SAAgB,GACjB,EAAE,gBAAgB,+BAoElB"}
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
export { DetailStudioTemplate, type DetailStudioTemplateProps, } from './detail-studio-template.js';
|
|
2
2
|
export { SectionKindGrid, type SectionKindGridProps, type SectionKindItem, } from './section-kind-grid.js';
|
|
3
|
-
export { SECTION_THUMB, SectionThumb, type SectionThumbProps, } from './section-thumb.js';
|
|
4
3
|
export { StudioBar, type StudioBarProps, type StudioBarTool, } from './studio-bar.js';
|
|
5
|
-
export { StudioDock,
|
|
4
|
+
export { StudioDock, type StudioDockItem, type StudioDockProps, } from './studio-dock.js';
|
|
6
5
|
export { ConfirmRow, type ConfirmAction, type ConfirmRowProps, } from './confirm-row.js';
|
|
7
|
-
export { KeyboardBar, type KeyboardBarItem, type KeyboardBarProps, } from './keyboard-bar.js';
|
|
8
6
|
export { RewriteTray, type RewriteTrayProps } from './rewrite-tray.js';
|
|
9
7
|
export { SectionEditTemplate, type SectionEditTemplateProps, } from './section-edit-template.js';
|
|
10
|
-
export { SectionSettings, type SectionSettingsProps, type
|
|
8
|
+
export { SECTION_SPACES, SectionSettings, type SectionSettingsProps, type SectionSpace, } from './section-settings.js';
|
|
11
9
|
export { StudioSheet, type StudioSheetProps } from './studio-sheet.js';
|
|
12
10
|
export { TextFormatPanel, type TextFormatPanelProps, type TextFormatTab, } from './text-format-panel.js';
|
|
13
|
-
export {
|
|
11
|
+
export { StudioTools, type StudioToolItem, type StudioToolsProps, } from './studio-tools.js';
|
|
12
|
+
export { StudioSteps, type StudioStep, type StudioStepsProps, } from './studio-steps.js';
|
|
13
|
+
export { SectionCover, type SectionCoverProps } from './section-cover.js';
|
|
14
|
+
export { DotsGlyph, MinusGlyph, RetryGlyph, WaveGlyph } from './studio-glyphs.js';
|
|
14
15
|
export { AdjustTiles, type AdjustTile, type AdjustTilesProps, } from './adjust-tiles.js';
|
|
15
16
|
export { AssetGrid, type AssetGridItem, type AssetGridProps, } from './asset-grid.js';
|
|
16
17
|
export { ImagePrompt, type ImagePromptProps } from './image-prompt.js';
|
|
18
|
+
export { StudioToggle, StudioToggleList, type StudioToggleListProps, type StudioToggleProps, } from './studio-toggle.js';
|
|
17
19
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-studio/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,KAAK,yBAAyB,GAC/B,MAAM,6BAA0B,CAAC;AAClC,OAAO,EACL,eAAe,EACf,KAAK,oBAAoB,EACzB,KAAK,eAAe,GACrB,MAAM,wBAAqB,CAAC;AAC7B,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-studio/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,KAAK,yBAAyB,GAC/B,MAAM,6BAA0B,CAAC;AAClC,OAAO,EACL,eAAe,EACf,KAAK,oBAAoB,EACzB,KAAK,eAAe,GACrB,MAAM,wBAAqB,CAAC;AAC7B,OAAO,EACL,SAAS,EACT,KAAK,cAAc,EACnB,KAAK,aAAa,GACnB,MAAM,iBAAc,CAAC;AACtB,OAAO,EACL,UAAU,EACV,KAAK,cAAc,EACnB,KAAK,eAAe,GACrB,MAAM,kBAAe,CAAC;AACvB,OAAO,EACL,UAAU,EACV,KAAK,aAAa,EAClB,KAAK,eAAe,GACrB,MAAM,kBAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,mBAAgB,CAAC;AACpE,OAAO,EACL,mBAAmB,EACnB,KAAK,wBAAwB,GAC9B,MAAM,4BAAyB,CAAC;AACjC,OAAO,EACL,cAAc,EACd,eAAe,EACf,KAAK,oBAAoB,EACzB,KAAK,YAAY,GAClB,MAAM,uBAAoB,CAAC;AAC5B,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,mBAAgB,CAAC;AACpE,OAAO,EACL,eAAe,EACf,KAAK,oBAAoB,EACzB,KAAK,aAAa,GACnB,MAAM,wBAAqB,CAAC;AAC7B,OAAO,EACL,WAAW,EACX,KAAK,cAAc,EACnB,KAAK,gBAAgB,GACtB,MAAM,mBAAgB,CAAC;AACxB,OAAO,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,gBAAgB,GACtB,MAAM,mBAAgB,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,oBAAiB,CAAC;AACvE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,oBAAiB,CAAC;AAC/E,OAAO,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,gBAAgB,GACtB,MAAM,mBAAgB,CAAC;AACxB,OAAO,EACL,SAAS,EACT,KAAK,aAAa,EAClB,KAAK,cAAc,GACpB,MAAM,iBAAc,CAAC;AACtB,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,mBAAgB,CAAC;AACpE,OAAO,EACL,YAAY,EACZ,gBAAgB,EAChB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,GACvB,MAAM,oBAAiB,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import type { IconSlot } from '../../internal/icon.js';
|
|
1
2
|
export type RewriteTrayProps<T extends string> = {
|
|
2
3
|
items: readonly {
|
|
3
4
|
value: T;
|
|
4
5
|
label: string;
|
|
6
|
+
icon: IconSlot;
|
|
5
7
|
}[];
|
|
6
8
|
onPick: (value: T) => void;
|
|
7
|
-
onKeyboard: () => void;
|
|
8
9
|
cost?: number | null;
|
|
9
10
|
disabled?: boolean;
|
|
10
|
-
keyboardLabel?: string;
|
|
11
11
|
};
|
|
12
|
-
export declare function RewriteTray<T extends string>({ items, onPick,
|
|
12
|
+
export declare function RewriteTray<T extends string>({ items, onPick, cost, disabled, }: RewriteTrayProps<T>): import("react").JSX.Element;
|
|
13
13
|
//# sourceMappingURL=rewrite-tray.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rewrite-tray.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-studio/rewrite-tray.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"rewrite-tray.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-studio/rewrite-tray.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAqB,CAAC;AAIpD,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,MAAM,IAAI;IAC/C,KAAK,EAAE,SAAS;QAAE,KAAK,EAAE,CAAC,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,QAAQ,CAAA;KAAE,EAAE,CAAC;IAC9D,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAOF,wBAAgB,WAAW,CAAC,CAAC,SAAS,MAAM,EAAE,EAC5C,KAAK,EACL,MAAM,EACN,IAAI,EACJ,QAAQ,GACT,EAAE,gBAAgB,CAAC,CAAC,CAAC,+BAqBrB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type IconSlot } from '../../internal/icon.js';
|
|
2
|
+
export type SectionCoverProps = {
|
|
3
|
+
uri?: string | null;
|
|
4
|
+
icon: IconSlot;
|
|
5
|
+
};
|
|
6
|
+
export declare function SectionCover({ uri, icon }: SectionCoverProps): import("react").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=section-cover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"section-cover.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-studio/section-cover.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,wBAAqB,CAAC;AAIhE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,IAAI,EAAE,QAAQ,CAAC;CAChB,CAAC;AAeF,wBAAgB,YAAY,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,iBAAiB,+BAoB5D"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
+
import { type DetailPart } from '../detail-editor/focus-context.js';
|
|
2
3
|
export type SectionEditTemplateProps = {
|
|
3
4
|
bar: ReactNode;
|
|
4
5
|
children: ReactNode;
|
|
@@ -7,5 +8,13 @@ export type SectionEditTemplateProps = {
|
|
|
7
8
|
sheet?: ReactNode;
|
|
8
9
|
bottomInset?: number;
|
|
9
10
|
};
|
|
11
|
+
export declare function sheetEdge(edge: number, parts: readonly DetailPart[], gap: number, reach?: {
|
|
12
|
+
min: number;
|
|
13
|
+
max: number;
|
|
14
|
+
}): number;
|
|
15
|
+
export declare function typingOffset(box: {
|
|
16
|
+
top: number;
|
|
17
|
+
bottom: number;
|
|
18
|
+
}, viewport: number, gap: number, margin: number): number;
|
|
10
19
|
export declare function SectionEditTemplate({ bar, children, accessory, panel, sheet, bottomInset, }: SectionEditTemplateProps): import("react").JSX.Element;
|
|
11
20
|
//# sourceMappingURL=section-edit-template.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"section-edit-template.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-studio/section-edit-template.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"section-edit-template.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-studio/section-edit-template.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAIf,OAAO,EAIL,KAAK,UAAU,EAChB,MAAM,mCAAgC,CAAC;AAExC,MAAM,MAAM,wBAAwB,GAAG;IACrC,GAAG,EAAE,SAAS,CAAC;IACf,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAsBF,wBAAgB,SAAS,CACvB,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,SAAS,UAAU,EAAE,EAC5B,GAAG,EAAE,MAAM,EACX,KAAK,CAAC,EAAE;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,GACnC,MAAM,CA+BR;AAED,wBAAgB,YAAY,CAC1B,GAAG,EAAE;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,EACpC,QAAQ,EAAE,MAAM,EAChB,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,MAAM,GACb,MAAM,CAMR;AAeD,wBAAgB,mBAAmB,CAAC,EAClC,GAAG,EACH,QAAQ,EACR,SAAS,EACT,KAAK,EACL,KAAK,EACL,WAAe,GAChB,EAAE,wBAAwB,+BA2I1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"section-kind-grid.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-studio/section-kind-grid.tsx"],"names":[],"mappings":"AAKA,OAAO,
|
|
1
|
+
{"version":3,"file":"section-kind-grid.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-studio/section-kind-grid.tsx"],"names":[],"mappings":"AAKA,OAAO,EAGL,KAAK,WAAW,EAEjB,MAAM,kCAA+B,CAAC;AAEvC,MAAM,MAAM,eAAe,GAAG;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,SAAS,WAAW,EAAE,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,KAAK,EAAE,SAAS,eAAe,EAAE,CAAC;IAClC,MAAM,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/B,CAAC;AAmOF,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,oBAAoB,+BAkCtE"}
|
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
import { type ColorSwatch } from '../color-swatch-picker/color-swatch-picker.js';
|
|
2
2
|
import { type DetailLayout } from '../detail-editor/detail-types.js';
|
|
3
|
-
export type
|
|
3
|
+
export type SectionSpace = {
|
|
4
|
+
top: number;
|
|
5
|
+
bottom: number;
|
|
6
|
+
};
|
|
4
7
|
export type SectionSettingsProps = {
|
|
5
|
-
tab: SectionSettingsTab;
|
|
6
|
-
onTabChange: (tab: SectionSettingsTab) => void;
|
|
7
8
|
layout: DetailLayout | null;
|
|
8
9
|
layouts: readonly DetailLayout[];
|
|
9
10
|
onLayoutChange: (layout: DetailLayout) => void;
|
|
10
11
|
background: string;
|
|
11
12
|
onBackgroundChange: (color: string) => void;
|
|
12
|
-
space:
|
|
13
|
-
|
|
14
|
-
bottom: number;
|
|
15
|
-
};
|
|
16
|
-
onSpaceChange: (patch: Partial<{
|
|
17
|
-
top: number;
|
|
18
|
-
bottom: number;
|
|
19
|
-
}>, group: string) => void;
|
|
20
|
-
onSlidingStart?: () => void;
|
|
13
|
+
space: SectionSpace;
|
|
14
|
+
onSpaceChange: (space: SectionSpace) => void;
|
|
21
15
|
colors?: readonly ColorSwatch[];
|
|
22
16
|
};
|
|
23
|
-
export declare
|
|
17
|
+
export declare const SECTION_SPACES: readonly {
|
|
18
|
+
value: number;
|
|
19
|
+
label: string;
|
|
20
|
+
}[];
|
|
21
|
+
export declare function SectionSettings({ layout, layouts, onLayoutChange, background, onBackgroundChange, space, onSpaceChange, colors, }: SectionSettingsProps): import("react").JSX.Element;
|
|
24
22
|
//# sourceMappingURL=section-settings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"section-settings.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-studio/section-settings.tsx"],"names":[],"mappings":"AAIA,OAAO,EAEL,KAAK,WAAW,EACjB,MAAM,+CAA4C,CAAC;AACpD,OAAO,
|
|
1
|
+
{"version":3,"file":"section-settings.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-studio/section-settings.tsx"],"names":[],"mappings":"AAIA,OAAO,EAEL,KAAK,WAAW,EACjB,MAAM,+CAA4C,CAAC;AACpD,OAAO,EAEL,KAAK,YAAY,EAClB,MAAM,kCAA+B,CAAC;AAMvC,MAAM,MAAM,YAAY,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAE3D,MAAM,MAAM,oBAAoB,GAAG;IACjC,MAAM,EAAE,YAAY,GAAG,IAAI,CAAC;IAC5B,OAAO,EAAE,SAAS,YAAY,EAAE,CAAC;IACjC,cAAc,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IAC/C,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,KAAK,EAAE,YAAY,CAAC;IACpB,aAAa,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IAC7C,MAAM,CAAC,EAAE,SAAS,WAAW,EAAE,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,SAAS;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,EAIrE,CAAC;AA6DF,wBAAgB,eAAe,CAAC,EAC9B,MAAM,EACN,OAAO,EACP,cAAc,EACd,UAAU,EACV,kBAAkB,EAClB,KAAK,EACL,aAAa,EACb,MAAM,GACP,EAAE,oBAAoB,+BAiEtB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
2
|
import { type IconSlot } from '../../internal/icon.js';
|
|
3
3
|
export type StudioBarTool = {
|
|
4
4
|
key: string;
|
|
@@ -23,6 +23,10 @@ export type StudioBarProps = {
|
|
|
23
23
|
loading?: boolean;
|
|
24
24
|
};
|
|
25
25
|
tools?: readonly StudioBarTool[];
|
|
26
|
+
confirm?: {
|
|
27
|
+
label: string;
|
|
28
|
+
onPress: () => void;
|
|
29
|
+
};
|
|
26
30
|
};
|
|
27
|
-
export declare function StudioBar({ title, onClose, closeLabel, leading, topInset, tone, tag, action, tools, }: StudioBarProps): import("react").JSX.Element;
|
|
31
|
+
export declare function StudioBar({ title, onClose, closeLabel, leading, topInset, tone, tag, action, tools, confirm, }: StudioBarProps): import("react").JSX.Element;
|
|
28
32
|
//# sourceMappingURL=studio-bar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"studio-bar.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-studio/studio-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"studio-bar.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-studio/studio-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAKjD,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,wBAAqB,CAAC;AAKhE,MAAM,MAAM,aAAa,GAAG;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IAChC,GAAG,CAAC,EAAE,SAAS,CAAC;IAChB,MAAM,CAAC,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,IAAI,CAAC;QACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,OAAO,CAAC,EAAE,OAAO,CAAC;KACnB,CAAC;IACF,KAAK,CAAC,EAAE,SAAS,aAAa,EAAE,CAAC;IACjC,OAAO,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,CAAC;CAClD,CAAC;AAoDF,wBAAgB,SAAS,CAAC,EACxB,KAAK,EACL,OAAO,EACP,UAAU,EACV,OAAiB,EACjB,QAAY,EACZ,IAAmB,EACnB,GAAG,EACH,MAAM,EACN,KAAK,EACL,OAAO,GACR,EAAE,cAAc,+BA8FhB"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { type IconSlot } from '../../internal/icon.js';
|
|
2
|
-
import type { Theme } from '../../types/index.js';
|
|
3
2
|
export type StudioDockItem = {
|
|
4
3
|
key: string;
|
|
5
4
|
icon: IconSlot;
|
|
@@ -11,6 +10,5 @@ export type StudioDockProps = {
|
|
|
11
10
|
items: readonly StudioDockItem[];
|
|
12
11
|
bottomInset?: number;
|
|
13
12
|
};
|
|
14
|
-
export declare function studioDockSpace(t: Theme, bottomInset?: number): number;
|
|
15
13
|
export declare function StudioDock({ items, bottomInset }: StudioDockProps): import("react").JSX.Element;
|
|
16
14
|
//# sourceMappingURL=studio-dock.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"studio-dock.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-studio/studio-dock.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,wBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"studio-dock.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/detail-studio/studio-dock.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,wBAAqB,CAAC;AAKhE,MAAM,MAAM,cAAc,GAAG;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,SAAS,cAAc,EAAE,CAAC;IACjC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAqBF,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,WAAe,EAAE,EAAE,eAAe,+BA+BrE"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { IconRenderProps } from '../../internal/icon.js';
|
|
2
|
+
export { RetryGlyph } from '../../internal/retry-glyph.js';
|
|
3
|
+
export declare function MinusGlyph({ color, size }: IconRenderProps): import("react").JSX.Element;
|
|
4
|
+
export declare function WaveGlyph({ color, size }: IconRenderProps): import("react").JSX.Element;
|
|
5
|
+
export declare function DotsGlyph({ color, size }: IconRenderProps): import("react").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=studio-glyphs.d.ts.map
|