@ezpg/app-ui 0.19.0 → 0.20.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 +39 -0
- package/lib/module/adjust/axis-dial-group.js +48 -0
- package/lib/module/adjust/axis-dial-group.js.map +1 -0
- package/lib/module/adjust/axis-dial.js +288 -0
- package/lib/module/adjust/axis-dial.js.map +1 -0
- package/lib/module/adjust/brand-feel-art.js +155 -0
- package/lib/module/adjust/brand-feel-art.js.map +1 -0
- package/lib/module/adjust/dial-strip.js +51 -18
- package/lib/module/adjust/dial-strip.js.map +1 -1
- package/lib/module/adjust/index.js +4 -1
- package/lib/module/adjust/index.js.map +1 -1
- package/lib/module/blocks/art-frame/art-frame.js +27 -0
- package/lib/module/blocks/art-frame/art-frame.js.map +1 -0
- package/lib/module/blocks/art-frame/index.js +4 -0
- package/lib/module/blocks/art-frame/index.js.map +1 -0
- package/lib/module/blocks/brand-palette-art/brand-palette-art.js +111 -0
- package/lib/module/blocks/brand-palette-art/brand-palette-art.js.map +1 -0
- package/lib/module/blocks/brand-palette-art/index.js +4 -0
- package/lib/module/blocks/brand-palette-art/index.js.map +1 -0
- package/lib/module/blocks/bulk-ship-list/bulk-ship-list.js +99 -43
- package/lib/module/blocks/bulk-ship-list/bulk-ship-list.js.map +1 -1
- package/lib/module/blocks/bulk-ship-list/index.js +1 -1
- package/lib/module/blocks/bulk-ship-list/index.js.map +1 -1
- package/lib/module/blocks/chat-message/chat-message.js +60 -0
- package/lib/module/blocks/chat-message/chat-message.js.map +1 -0
- package/lib/module/blocks/chat-message/index.js +4 -0
- package/lib/module/blocks/chat-message/index.js.map +1 -0
- package/lib/module/blocks/claim-status/claim-status.js +12 -0
- package/lib/module/blocks/claim-status/claim-status.js.map +1 -0
- package/lib/module/blocks/claim-status/index.js +4 -0
- package/lib/module/blocks/claim-status/index.js.map +1 -0
- package/lib/module/blocks/color-band-list/color-band-list.js +94 -0
- package/lib/module/blocks/color-band-list/color-band-list.js.map +1 -0
- package/lib/module/blocks/color-band-list/index.js +4 -0
- package/lib/module/blocks/color-band-list/index.js.map +1 -0
- package/lib/module/blocks/color-family-tabs/color-family-tabs.js +80 -0
- package/lib/module/blocks/color-family-tabs/color-family-tabs.js.map +1 -0
- package/lib/module/blocks/color-family-tabs/index.js +4 -0
- package/lib/module/blocks/color-family-tabs/index.js.map +1 -0
- package/lib/module/blocks/color-hero/color-hero.js +96 -0
- package/lib/module/blocks/color-hero/color-hero.js.map +1 -0
- package/lib/module/blocks/color-hero/index.js +4 -0
- package/lib/module/blocks/color-hero/index.js.map +1 -0
- package/lib/module/blocks/color-swatch-picker/color-swatch-picker.js +66 -5
- package/lib/module/blocks/color-swatch-picker/color-swatch-picker.js.map +1 -1
- package/lib/module/blocks/color-tune/color-tune.js +92 -0
- package/lib/module/blocks/color-tune/color-tune.js.map +1 -0
- package/lib/module/blocks/color-tune/index.js +7 -0
- package/lib/module/blocks/color-tune/index.js.map +1 -0
- package/lib/module/blocks/color-tune/store-sample.js +291 -0
- package/lib/module/blocks/color-tune/store-sample.js.map +1 -0
- package/lib/module/blocks/color-tune/swatch-card.js +126 -0
- package/lib/module/blocks/color-tune/swatch-card.js.map +1 -0
- package/lib/module/blocks/color-tune/tone-slider.js +206 -0
- package/lib/module/blocks/color-tune/tone-slider.js.map +1 -0
- package/lib/module/blocks/consent-list/consent-list.js +11 -4
- package/lib/module/blocks/consent-list/consent-list.js.map +1 -1
- package/lib/module/blocks/detail-editor/compare-slider.js +90 -20
- package/lib/module/blocks/detail-editor/compare-slider.js.map +1 -1
- package/lib/module/blocks/detail-editor/detail-canvas.js +516 -39
- package/lib/module/blocks/detail-editor/detail-canvas.js.map +1 -1
- package/lib/module/blocks/detail-editor/detail-types.js +29 -0
- package/lib/module/blocks/detail-editor/detail-types.js.map +1 -1
- package/lib/module/blocks/detail-editor/effect-picker.js +54 -0
- package/lib/module/blocks/detail-editor/effect-picker.js.map +1 -0
- package/lib/module/blocks/detail-editor/font-picker.js +36 -2
- package/lib/module/blocks/detail-editor/font-picker.js.map +1 -1
- package/lib/module/blocks/detail-editor/index.js +2 -7
- package/lib/module/blocks/detail-editor/index.js.map +1 -1
- package/lib/module/blocks/detail-editor/layout-picker.js +104 -13
- package/lib/module/blocks/detail-editor/layout-picker.js.map +1 -1
- package/lib/module/blocks/detail-editor/structure-picker.js +3 -2
- package/lib/module/blocks/detail-editor/structure-picker.js.map +1 -1
- package/lib/module/blocks/detail-studio/adjust-tiles.js +80 -0
- package/lib/module/blocks/detail-studio/adjust-tiles.js.map +1 -0
- package/lib/module/blocks/detail-studio/asset-grid.js +243 -0
- package/lib/module/blocks/detail-studio/asset-grid.js.map +1 -0
- package/lib/module/blocks/detail-studio/confirm-row.js +37 -0
- package/lib/module/blocks/detail-studio/confirm-row.js.map +1 -0
- package/lib/module/blocks/detail-studio/detail-studio-template.js +41 -0
- package/lib/module/blocks/detail-studio/detail-studio-template.js.map +1 -0
- package/lib/module/blocks/detail-studio/image-prompt.js +140 -0
- package/lib/module/blocks/detail-studio/image-prompt.js.map +1 -0
- package/lib/module/blocks/detail-studio/index.js +19 -0
- package/lib/module/blocks/detail-studio/index.js.map +1 -0
- package/lib/module/blocks/detail-studio/keyboard-bar.js +67 -0
- package/lib/module/blocks/detail-studio/keyboard-bar.js.map +1 -0
- package/lib/module/blocks/detail-studio/photo-tool-bar.js +100 -0
- package/lib/module/blocks/detail-studio/photo-tool-bar.js.map +1 -0
- package/lib/module/blocks/detail-studio/rewrite-tray.js +90 -0
- package/lib/module/blocks/detail-studio/rewrite-tray.js.map +1 -0
- package/lib/module/blocks/detail-studio/section-edit-template.js +114 -0
- package/lib/module/blocks/detail-studio/section-edit-template.js.map +1 -0
- package/lib/module/blocks/detail-studio/section-kind-grid.js +287 -0
- package/lib/module/blocks/detail-studio/section-kind-grid.js.map +1 -0
- package/lib/module/blocks/detail-studio/section-settings.js +100 -0
- package/lib/module/blocks/detail-studio/section-settings.js.map +1 -0
- package/lib/module/blocks/detail-studio/section-thumb.js +49 -0
- package/lib/module/blocks/detail-studio/section-thumb.js.map +1 -0
- package/lib/module/blocks/detail-studio/studio-bar.js +150 -0
- package/lib/module/blocks/detail-studio/studio-bar.js.map +1 -0
- package/lib/module/blocks/detail-studio/studio-dock.js +81 -0
- package/lib/module/blocks/detail-studio/studio-dock.js.map +1 -0
- package/lib/module/blocks/detail-studio/studio-sheet.js +55 -0
- package/lib/module/blocks/detail-studio/studio-sheet.js.map +1 -0
- package/lib/module/blocks/detail-studio/text-format-panel.js +212 -0
- package/lib/module/blocks/detail-studio/text-format-panel.js.map +1 -0
- package/lib/module/blocks/draft-box/draft-box.js +97 -0
- package/lib/module/blocks/draft-box/draft-box.js.map +1 -0
- package/lib/module/blocks/draft-box/index.js +4 -0
- package/lib/module/blocks/draft-box/index.js.map +1 -0
- package/lib/module/blocks/feed-row/feed-row.js +168 -0
- package/lib/module/blocks/feed-row/feed-row.js.map +1 -0
- package/lib/module/blocks/feed-row/index.js +4 -0
- package/lib/module/blocks/feed-row/index.js.map +1 -0
- package/lib/module/blocks/generation-progress/generation-progress.js +2 -2
- package/lib/module/blocks/generation-progress/generation-progress.js.map +1 -1
- package/lib/module/blocks/index.js +20 -19
- package/lib/module/blocks/index.js.map +1 -1
- package/lib/module/blocks/internal/card.js +9 -52
- package/lib/module/blocks/internal/card.js.map +1 -1
- package/lib/module/blocks/invite-card/invite-card.js +7 -6
- package/lib/module/blocks/invite-card/invite-card.js.map +1 -1
- package/lib/module/blocks/logo-candidate-grid/logo-candidate-grid.js +2 -2
- package/lib/module/blocks/logo-candidate-grid/logo-candidate-grid.js.map +1 -1
- package/lib/module/blocks/mockup-strip/index.js +4 -0
- package/lib/module/blocks/mockup-strip/index.js.map +1 -0
- package/lib/module/blocks/mockup-strip/mockup-strip.js +56 -0
- package/lib/module/blocks/mockup-strip/mockup-strip.js.map +1 -0
- package/lib/module/blocks/oauth-buttons/oauth-buttons.js +4 -0
- package/lib/module/blocks/oauth-buttons/oauth-buttons.js.map +1 -1
- package/lib/module/blocks/order-block/index.js +4 -0
- package/lib/module/blocks/order-block/index.js.map +1 -0
- package/lib/module/blocks/order-block/order-block.js +196 -0
- package/lib/module/blocks/order-block/order-block.js.map +1 -0
- package/lib/module/blocks/order-status/index.js +4 -0
- package/lib/module/blocks/order-status/index.js.map +1 -0
- package/lib/module/blocks/order-status/order-status.js +23 -0
- package/lib/module/blocks/order-status/order-status.js.map +1 -0
- package/lib/module/blocks/palette-block/index.js +4 -0
- package/lib/module/blocks/palette-block/index.js.map +1 -0
- package/lib/module/blocks/palette-block/palette-block.js +312 -0
- package/lib/module/blocks/palette-block/palette-block.js.map +1 -0
- package/lib/module/blocks/photo-field/index.js +4 -0
- package/lib/module/blocks/photo-field/index.js.map +1 -0
- package/lib/module/blocks/photo-field/photo-field.js +215 -0
- package/lib/module/blocks/photo-field/photo-field.js.map +1 -0
- package/lib/module/blocks/photo-grid/photo-grid.js +12 -11
- package/lib/module/blocks/photo-grid/photo-grid.js.map +1 -1
- package/lib/module/blocks/product-tile/product-tile.js +2 -2
- package/lib/module/blocks/product-tile/product-tile.js.map +1 -1
- package/lib/module/blocks/question-accordion/question-accordion.js +4 -3
- package/lib/module/blocks/question-accordion/question-accordion.js.map +1 -1
- package/lib/module/blocks/question-pager/index.js +4 -0
- package/lib/module/blocks/question-pager/index.js.map +1 -0
- package/lib/module/blocks/question-pager/question-pager.js +394 -0
- package/lib/module/blocks/question-pager/question-pager.js.map +1 -0
- package/lib/module/blocks/quick-actions/quick-actions.js +17 -6
- package/lib/module/blocks/quick-actions/quick-actions.js.map +1 -1
- package/lib/module/blocks/request-card/request-card.js +4 -6
- package/lib/module/blocks/request-card/request-card.js.map +1 -1
- package/lib/module/blocks/review-card/index.js +4 -0
- package/lib/module/blocks/review-card/index.js.map +1 -0
- package/lib/module/blocks/review-card/review-card.js +155 -0
- package/lib/module/blocks/review-card/review-card.js.map +1 -0
- package/lib/module/blocks/scan-modal/scan-modal.js +42 -6
- package/lib/module/blocks/scan-modal/scan-modal.js.map +1 -1
- package/lib/module/blocks/selection-bar/selection-bar.js +87 -29
- package/lib/module/blocks/selection-bar/selection-bar.js.map +1 -1
- package/lib/module/blocks/send-bar/index.js +4 -0
- package/lib/module/blocks/send-bar/index.js.map +1 -0
- package/lib/module/blocks/send-bar/send-bar.js +99 -0
- package/lib/module/blocks/send-bar/send-bar.js.map +1 -0
- package/lib/module/blocks/service-state-banner/service-state-banner.js +2 -2
- package/lib/module/blocks/service-state-banner/service-state-banner.js.map +1 -1
- package/lib/module/blocks/setup-guide/setup-guide.js +1 -1
- package/lib/module/blocks/setup-guide/setup-guide.js.map +1 -1
- package/lib/module/blocks/slider-list/slider-list.js +51 -15
- package/lib/module/blocks/slider-list/slider-list.js.map +1 -1
- package/lib/module/blocks/stage-bar/stage-bar.js +87 -29
- package/lib/module/blocks/stage-bar/stage-bar.js.map +1 -1
- package/lib/module/blocks/stat-card/stat-card.js +2 -2
- package/lib/module/blocks/stat-card/stat-card.js.map +1 -1
- package/lib/module/blocks/step-screen/index.js.map +1 -1
- package/lib/module/blocks/step-screen/step-screen.js +214 -65
- package/lib/module/blocks/step-screen/step-screen.js.map +1 -1
- package/lib/module/blocks/store-sheet/store-sheet.js +2 -5
- package/lib/module/blocks/store-sheet/store-sheet.js.map +1 -1
- package/lib/module/blocks/store-top/index.js +4 -0
- package/lib/module/blocks/store-top/index.js.map +1 -0
- package/lib/module/blocks/store-top/store-top.js +249 -0
- package/lib/module/blocks/store-top/store-top.js.map +1 -0
- package/lib/module/blocks/summary-cards/summary-cards.js +13 -103
- package/lib/module/blocks/summary-cards/summary-cards.js.map +1 -1
- package/lib/module/blocks/task-tiles/task-tiles.js +2 -6
- package/lib/module/blocks/task-tiles/task-tiles.js.map +1 -1
- package/lib/module/blocks/token-sample/index.js +4 -0
- package/lib/module/blocks/token-sample/index.js.map +1 -0
- package/lib/module/blocks/token-sample/token-sample.js +72 -0
- package/lib/module/blocks/token-sample/token-sample.js.map +1 -0
- package/lib/module/blocks/tone-strip/index.js +4 -0
- package/lib/module/blocks/tone-strip/index.js.map +1 -0
- package/lib/module/blocks/tone-strip/tone-strip.js +34 -0
- package/lib/module/blocks/tone-strip/tone-strip.js.map +1 -0
- package/lib/module/charts/day-bars.js +64 -0
- package/lib/module/charts/day-bars.js.map +1 -0
- package/lib/module/charts/index.js +2 -2
- package/lib/module/charts/index.js.map +1 -1
- package/lib/module/charts/mini-bars.js +1 -1
- package/lib/module/charts/mini-bars.js.map +1 -1
- package/lib/module/charts/progress-ring.js +55 -0
- package/lib/module/charts/progress-ring.js.map +1 -0
- package/lib/module/charts.js +0 -1
- package/lib/module/charts.js.map +1 -1
- package/lib/module/components/action-row/action-row.js +34 -0
- package/lib/module/components/action-row/action-row.js.map +1 -0
- package/lib/module/components/action-row/index.js +4 -0
- package/lib/module/components/action-row/index.js.map +1 -0
- package/lib/module/components/amount-summary/amount-summary.js +125 -0
- package/lib/module/components/amount-summary/amount-summary.js.map +1 -0
- package/lib/module/components/amount-summary/index.js +4 -0
- package/lib/module/components/amount-summary/index.js.map +1 -0
- package/lib/module/components/bubble/bubble.js +46 -0
- package/lib/module/components/bubble/bubble.js.map +1 -0
- package/lib/module/components/bubble/index.js +4 -0
- package/lib/module/components/bubble/index.js.map +1 -0
- package/lib/module/components/button/button.js +122 -32
- package/lib/module/components/button/button.js.map +1 -1
- package/lib/module/components/button/index.js +1 -0
- package/lib/module/components/button/index.js.map +1 -1
- package/lib/module/components/button/use-finish.js +30 -0
- package/lib/module/components/button/use-finish.js.map +1 -0
- package/lib/module/components/calendar/calendar.js +15 -10
- package/lib/module/components/calendar/calendar.js.map +1 -1
- package/lib/module/components/card-block/card-block.js +23 -0
- package/lib/module/components/card-block/card-block.js.map +1 -0
- package/lib/module/components/card-block/index.js +4 -0
- package/lib/module/components/card-block/index.js.map +1 -0
- package/lib/module/components/checkbox/checkbox.js +16 -8
- package/lib/module/components/checkbox/checkbox.js.map +1 -1
- package/lib/module/components/chip/chip.js +56 -31
- package/lib/module/components/chip/chip.js.map +1 -1
- package/lib/module/components/chip/index.js.map +1 -1
- package/lib/module/components/chip-group/chip-group.js +24 -15
- package/lib/module/components/chip-group/chip-group.js.map +1 -1
- package/lib/module/components/circle-grid/circle-grid.js +115 -59
- package/lib/module/components/circle-grid/circle-grid.js.map +1 -1
- package/lib/module/components/credit/credit.js +69 -0
- package/lib/module/components/credit/credit.js.map +1 -0
- package/lib/module/components/credit/index.js +4 -0
- package/lib/module/components/credit/index.js.map +1 -0
- package/lib/module/components/dialog/dialog.js +8 -5
- package/lib/module/components/dialog/dialog.js.map +1 -1
- package/lib/module/components/dropdown-menu/dropdown-menu.js +102 -0
- package/lib/module/components/dropdown-menu/dropdown-menu.js.map +1 -0
- package/lib/module/components/dropdown-menu/index.js +4 -0
- package/lib/module/components/dropdown-menu/index.js.map +1 -0
- package/lib/module/components/empty-state/empty-state.js +6 -6
- package/lib/module/components/empty-state/empty-state.js.map +1 -1
- package/lib/module/components/fact-list/fact-list.js +37 -0
- package/lib/module/components/fact-list/fact-list.js.map +1 -0
- package/lib/module/components/fact-list/index.js +4 -0
- package/lib/module/components/fact-list/index.js.map +1 -0
- package/lib/module/components/field/field.js +126 -32
- package/lib/module/components/field/field.js.map +1 -1
- package/lib/module/components/filter-tabs/filter-tabs.js +175 -0
- package/lib/module/components/filter-tabs/filter-tabs.js.map +1 -0
- package/lib/module/components/filter-tabs/index.js +4 -0
- package/lib/module/components/filter-tabs/index.js.map +1 -0
- package/lib/module/components/floating-tab-bar/floating-tab-bar.js +66 -31
- package/lib/module/components/floating-tab-bar/floating-tab-bar.js.map +1 -1
- package/lib/module/components/icon-button/icon-button.js +56 -0
- package/lib/module/components/icon-button/icon-button.js.map +1 -0
- package/lib/module/components/icon-button/index.js +4 -0
- package/lib/module/components/icon-button/index.js.map +1 -0
- package/lib/module/components/list-row/list-row.js +42 -19
- package/lib/module/components/list-row/list-row.js.map +1 -1
- package/lib/module/components/page-header/page-header.js +6 -9
- package/lib/module/components/page-header/page-header.js.map +1 -1
- package/lib/module/components/page-header/store-header.js +2 -2
- package/lib/module/components/page-header/store-header.js.map +1 -1
- package/lib/module/components/photo/photo.js +8 -1
- package/lib/module/components/photo/photo.js.map +1 -1
- package/lib/module/components/pill/index.js +4 -0
- package/lib/module/components/pill/index.js.map +1 -0
- package/lib/module/components/pill/pill.js +73 -0
- package/lib/module/components/pill/pill.js.map +1 -0
- package/lib/module/components/price/index.js +1 -1
- package/lib/module/components/price/index.js.map +1 -1
- package/lib/module/components/price/price.js +0 -62
- package/lib/module/components/price/price.js.map +1 -1
- package/lib/module/components/progress-bar/progress-bar.js +3 -3
- package/lib/module/components/progress-bar/progress-bar.js.map +1 -1
- package/lib/module/components/progress-circle/progress-circle.js +6 -2
- package/lib/module/components/progress-circle/progress-circle.js.map +1 -1
- package/lib/module/components/result-mark/result-mark.js +3 -5
- package/lib/module/components/result-mark/result-mark.js.map +1 -1
- package/lib/module/components/search-field/search-field.js +5 -2
- package/lib/module/components/search-field/search-field.js.map +1 -1
- package/lib/module/components/section-tabs/section-tabs.js +97 -31
- package/lib/module/components/section-tabs/section-tabs.js.map +1 -1
- package/lib/module/components/segmented-control/index.js +4 -0
- package/lib/module/components/segmented-control/index.js.map +1 -0
- package/lib/module/components/segmented-control/segmented-control.js +74 -0
- package/lib/module/components/segmented-control/segmented-control.js.map +1 -0
- package/lib/module/components/segmented-tabs/segmented-tabs.js +102 -45
- package/lib/module/components/segmented-tabs/segmented-tabs.js.map +1 -1
- package/lib/module/components/sheet/index.js.map +1 -1
- package/lib/module/components/sheet/sheet.js +93 -16
- package/lib/module/components/sheet/sheet.js.map +1 -1
- package/lib/module/components/skeleton/skeleton.js +44 -24
- package/lib/module/components/skeleton/skeleton.js.map +1 -1
- package/lib/module/components/slider/slider.js +72 -14
- package/lib/module/components/slider/slider.js.map +1 -1
- package/lib/module/components/status-badge/status-badge.js +21 -6
- package/lib/module/components/status-badge/status-badge.js.map +1 -1
- package/lib/module/components/status-steps/status-steps.js +249 -41
- package/lib/module/components/status-steps/status-steps.js.map +1 -1
- package/lib/module/components/stepper/stepper.js +5 -11
- package/lib/module/components/stepper/stepper.js.map +1 -1
- package/lib/module/components/text/text.js +1 -4
- package/lib/module/components/text/text.js.map +1 -1
- package/lib/module/components/text-links/text-links.js +16 -4
- package/lib/module/components/text-links/text-links.js.map +1 -1
- package/lib/module/components/thumb-strip/index.js +4 -0
- package/lib/module/components/thumb-strip/index.js.map +1 -0
- package/lib/module/components/thumb-strip/thumb-strip.js +43 -0
- package/lib/module/components/thumb-strip/thumb-strip.js.map +1 -0
- package/lib/module/components/tile-grid/index.js +4 -0
- package/lib/module/components/tile-grid/index.js.map +1 -0
- package/lib/module/components/tile-grid/tile-grid.js +245 -0
- package/lib/module/components/tile-grid/tile-grid.js.map +1 -0
- package/lib/module/components/toast/toast.js +53 -21
- package/lib/module/components/toast/toast.js.map +1 -1
- package/lib/module/components/value-rows/index.js +4 -0
- package/lib/module/components/value-rows/index.js.map +1 -0
- package/lib/module/components/value-rows/value-rows.js +71 -0
- package/lib/module/components/value-rows/value-rows.js.map +1 -0
- package/lib/module/components/wizard-steps/wizard-steps.js +1 -1
- package/lib/module/components/wizard-steps/wizard-steps.js.map +1 -1
- package/lib/module/index.js +17 -2
- package/lib/module/index.js.map +1 -1
- package/lib/module/internal/check-disc.js +40 -0
- package/lib/module/internal/check-disc.js.map +1 -0
- package/lib/module/internal/drawn-check.js +49 -0
- package/lib/module/internal/drawn-check.js.map +1 -0
- package/lib/module/internal/field-label.js +55 -0
- package/lib/module/internal/field-label.js.map +1 -0
- package/lib/module/internal/glyphs.js +86 -43
- package/lib/module/internal/glyphs.js.map +1 -1
- package/lib/module/internal/haptics.js +10 -0
- package/lib/module/internal/haptics.js.map +1 -0
- package/lib/module/internal/line-icons.js +27 -0
- package/lib/module/internal/line-icons.js.map +1 -1
- package/lib/module/internal/motion.js +62 -0
- package/lib/module/internal/motion.js.map +1 -0
- package/lib/module/internal/overlay.js +12 -5
- package/lib/module/internal/overlay.js.map +1 -1
- package/lib/module/internal/pop-check.js +31 -0
- package/lib/module/internal/pop-check.js.map +1 -0
- package/lib/module/internal/pressable-base.js +101 -11
- package/lib/module/internal/pressable-base.js.map +1 -1
- package/lib/module/internal/pulse.js +56 -0
- package/lib/module/internal/pulse.js.map +1 -0
- package/lib/module/internal/retry-glyph.js +52 -0
- package/lib/module/internal/retry-glyph.js.map +1 -0
- package/lib/module/internal/roll-text.js +51 -0
- package/lib/module/internal/roll-text.js.map +1 -0
- package/lib/module/internal/sample-tiles.js +83 -0
- package/lib/module/internal/sample-tiles.js.map +1 -0
- package/lib/module/internal/selection.js +12 -0
- package/lib/module/internal/selection.js.map +1 -0
- package/lib/module/internal/settle.js +23 -0
- package/lib/module/internal/settle.js.map +1 -0
- package/lib/module/internal/sheet-head.js +93 -0
- package/lib/module/internal/sheet-head.js.map +1 -0
- package/lib/module/internal/steady-text.js +42 -0
- package/lib/module/internal/steady-text.js.map +1 -0
- package/lib/module/internal/tab-icons.js +0 -2
- package/lib/module/internal/tab-icons.js.map +1 -1
- package/lib/module/internal/undo-glyph.js +57 -0
- package/lib/module/internal/undo-glyph.js.map +1 -0
- package/lib/module/internal/use-slide.js +81 -0
- package/lib/module/internal/use-slide.js.map +1 -0
- package/lib/module/sortable/index.js +1 -1
- package/lib/module/sortable/index.js.map +1 -1
- package/lib/module/sortable/section-board.js +396 -0
- package/lib/module/sortable/section-board.js.map +1 -0
- package/lib/module/sortable/sortable-grid.js +3 -1
- package/lib/module/sortable/sortable-grid.js.map +1 -1
- package/lib/module/sortable.js +1 -2
- package/lib/module/sortable.js.map +1 -1
- package/lib/module/templates/calendar-template.js +11 -1
- package/lib/module/templates/calendar-template.js.map +1 -1
- package/lib/module/templates/design-pick-template.js +243 -0
- package/lib/module/templates/design-pick-template.js.map +1 -0
- package/lib/module/templates/index.js +1 -1
- package/lib/module/templates/index.js.map +1 -1
- package/lib/module/templates/intro-template.js +4 -20
- package/lib/module/templates/intro-template.js.map +1 -1
- package/lib/module/templates/list-template.js +34 -31
- package/lib/module/templates/list-template.js.map +1 -1
- package/lib/module/templates/notice-template.js +12 -31
- package/lib/module/templates/notice-template.js.map +1 -1
- package/lib/module/templates/parts.js +108 -46
- package/lib/module/templates/parts.js.map +1 -1
- package/lib/module/templates/preview-template.js +1 -4
- package/lib/module/templates/preview-template.js.map +1 -1
- package/lib/module/templates/result-template.js +23 -39
- package/lib/module/templates/result-template.js.map +1 -1
- package/lib/module/templates/scroll-templates.js +80 -3
- package/lib/module/templates/scroll-templates.js.map +1 -1
- package/lib/module/templates/selection-template.js +10 -1
- package/lib/module/templates/selection-template.js.map +1 -1
- package/lib/module/templates/sheet-form-template.js +25 -21
- package/lib/module/templates/sheet-form-template.js.map +1 -1
- package/lib/module/theme/base.js +53 -7
- package/lib/module/theme/base.js.map +1 -1
- package/lib/module/theme/tokens.js +2 -1
- package/lib/module/theme/tokens.js.map +1 -1
- package/lib/module/utils/color.js +14 -0
- package/lib/module/utils/color.js.map +1 -1
- package/lib/module/utils/styles.js +8 -1
- package/lib/module/utils/styles.js.map +1 -1
- package/lib/typescript/src/adjust/axis-dial-group.d.ts +16 -0
- package/lib/typescript/src/adjust/axis-dial-group.d.ts.map +1 -0
- package/lib/typescript/src/adjust/axis-dial.d.ts +12 -0
- package/lib/typescript/src/adjust/axis-dial.d.ts.map +1 -0
- package/lib/typescript/src/adjust/brand-feel-art.d.ts +27 -0
- package/lib/typescript/src/adjust/brand-feel-art.d.ts.map +1 -0
- package/lib/typescript/src/adjust/dial-strip.d.ts +9 -1
- package/lib/typescript/src/adjust/dial-strip.d.ts.map +1 -1
- package/lib/typescript/src/adjust/index.d.ts +4 -1
- package/lib/typescript/src/adjust/index.d.ts.map +1 -1
- package/lib/typescript/src/blocks/art-frame/art-frame.d.ts +8 -0
- package/lib/typescript/src/blocks/art-frame/art-frame.d.ts.map +1 -0
- package/lib/typescript/src/blocks/art-frame/index.d.ts +2 -0
- package/lib/typescript/src/blocks/art-frame/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/brand-palette-art/brand-palette-art.d.ts +17 -0
- package/lib/typescript/src/blocks/brand-palette-art/brand-palette-art.d.ts.map +1 -0
- package/lib/typescript/src/blocks/brand-palette-art/index.d.ts +2 -0
- package/lib/typescript/src/blocks/brand-palette-art/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/bulk-ship-list/bulk-ship-list.d.ts +3 -0
- package/lib/typescript/src/blocks/bulk-ship-list/bulk-ship-list.d.ts.map +1 -1
- package/lib/typescript/src/blocks/bulk-ship-list/index.d.ts +1 -1
- package/lib/typescript/src/blocks/bulk-ship-list/index.d.ts.map +1 -1
- package/lib/typescript/src/blocks/chat-message/chat-message.d.ts +11 -0
- package/lib/typescript/src/blocks/chat-message/chat-message.d.ts.map +1 -0
- package/lib/typescript/src/blocks/chat-message/index.d.ts +2 -0
- package/lib/typescript/src/blocks/chat-message/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/claim-status/claim-status.d.ts +3 -0
- package/lib/typescript/src/blocks/claim-status/claim-status.d.ts.map +1 -0
- package/lib/typescript/src/blocks/claim-status/index.d.ts +2 -0
- package/lib/typescript/src/blocks/claim-status/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/color-band-list/color-band-list.d.ts +13 -0
- package/lib/typescript/src/blocks/color-band-list/color-band-list.d.ts.map +1 -0
- package/lib/typescript/src/blocks/color-band-list/index.d.ts +2 -0
- package/lib/typescript/src/blocks/color-band-list/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/color-family-tabs/color-family-tabs.d.ts +12 -0
- package/lib/typescript/src/blocks/color-family-tabs/color-family-tabs.d.ts.map +1 -0
- package/lib/typescript/src/blocks/color-family-tabs/index.d.ts +2 -0
- package/lib/typescript/src/blocks/color-family-tabs/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/color-hero/color-hero.d.ts +12 -0
- package/lib/typescript/src/blocks/color-hero/color-hero.d.ts.map +1 -0
- package/lib/typescript/src/blocks/color-hero/index.d.ts +2 -0
- package/lib/typescript/src/blocks/color-hero/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/color-swatch-picker/color-swatch-picker.d.ts +1 -1
- package/lib/typescript/src/blocks/color-swatch-picker/color-swatch-picker.d.ts.map +1 -1
- package/lib/typescript/src/blocks/color-tune/color-tune.d.ts +26 -0
- package/lib/typescript/src/blocks/color-tune/color-tune.d.ts.map +1 -0
- package/lib/typescript/src/blocks/color-tune/index.d.ts +5 -0
- package/lib/typescript/src/blocks/color-tune/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/color-tune/store-sample.d.ts +21 -0
- package/lib/typescript/src/blocks/color-tune/store-sample.d.ts.map +1 -0
- package/lib/typescript/src/blocks/color-tune/swatch-card.d.ts +11 -0
- package/lib/typescript/src/blocks/color-tune/swatch-card.d.ts.map +1 -0
- package/lib/typescript/src/blocks/color-tune/tone-slider.d.ts +13 -0
- package/lib/typescript/src/blocks/color-tune/tone-slider.d.ts.map +1 -0
- package/lib/typescript/src/blocks/consent-list/consent-list.d.ts.map +1 -1
- package/lib/typescript/src/blocks/detail-editor/compare-slider.d.ts +5 -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 +34 -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 +13 -1
- package/lib/typescript/src/blocks/detail-editor/detail-types.d.ts.map +1 -1
- package/lib/typescript/src/blocks/detail-editor/effect-picker.d.ts +8 -0
- package/lib/typescript/src/blocks/detail-editor/effect-picker.d.ts.map +1 -0
- package/lib/typescript/src/blocks/detail-editor/font-picker.d.ts +2 -1
- package/lib/typescript/src/blocks/detail-editor/font-picker.d.ts.map +1 -1
- package/lib/typescript/src/blocks/detail-editor/index.d.ts +3 -8
- package/lib/typescript/src/blocks/detail-editor/index.d.ts.map +1 -1
- package/lib/typescript/src/blocks/detail-editor/layout-picker.d.ts +3 -2
- package/lib/typescript/src/blocks/detail-editor/layout-picker.d.ts.map +1 -1
- package/lib/typescript/src/blocks/detail-editor/structure-picker.d.ts.map +1 -1
- package/lib/typescript/src/blocks/detail-studio/adjust-tiles.d.ts +14 -0
- package/lib/typescript/src/blocks/detail-studio/adjust-tiles.d.ts.map +1 -0
- package/lib/typescript/src/blocks/detail-studio/asset-grid.d.ts +19 -0
- package/lib/typescript/src/blocks/detail-studio/asset-grid.d.ts.map +1 -0
- package/lib/typescript/src/blocks/detail-studio/confirm-row.d.ts +13 -0
- package/lib/typescript/src/blocks/detail-studio/confirm-row.d.ts.map +1 -0
- package/lib/typescript/src/blocks/detail-studio/detail-studio-template.d.ts +10 -0
- package/lib/typescript/src/blocks/detail-studio/detail-studio-template.d.ts.map +1 -0
- package/lib/typescript/src/blocks/detail-studio/image-prompt.d.ts +13 -0
- package/lib/typescript/src/blocks/detail-studio/image-prompt.d.ts.map +1 -0
- package/lib/typescript/src/blocks/detail-studio/index.d.ts +17 -0
- package/lib/typescript/src/blocks/detail-studio/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/detail-studio/keyboard-bar.d.ts +18 -0
- package/lib/typescript/src/blocks/detail-studio/keyboard-bar.d.ts.map +1 -0
- package/lib/typescript/src/blocks/detail-studio/photo-tool-bar.d.ts +19 -0
- package/lib/typescript/src/blocks/detail-studio/photo-tool-bar.d.ts.map +1 -0
- package/lib/typescript/src/blocks/detail-studio/rewrite-tray.d.ts +13 -0
- package/lib/typescript/src/blocks/detail-studio/rewrite-tray.d.ts.map +1 -0
- package/lib/typescript/src/blocks/detail-studio/section-edit-template.d.ts +11 -0
- package/lib/typescript/src/blocks/detail-studio/section-edit-template.d.ts.map +1 -0
- package/lib/typescript/src/blocks/detail-studio/section-kind-grid.d.ts +12 -0
- package/lib/typescript/src/blocks/detail-studio/section-kind-grid.d.ts.map +1 -0
- package/lib/typescript/src/blocks/detail-studio/section-settings.d.ts +24 -0
- package/lib/typescript/src/blocks/detail-studio/section-settings.d.ts.map +1 -0
- package/lib/typescript/src/blocks/detail-studio/section-thumb.d.ts +14 -0
- package/lib/typescript/src/blocks/detail-studio/section-thumb.d.ts.map +1 -0
- package/lib/typescript/src/blocks/detail-studio/studio-bar.d.ts +28 -0
- package/lib/typescript/src/blocks/detail-studio/studio-bar.d.ts.map +1 -0
- package/lib/typescript/src/blocks/detail-studio/studio-dock.d.ts +16 -0
- package/lib/typescript/src/blocks/detail-studio/studio-dock.d.ts.map +1 -0
- package/lib/typescript/src/blocks/detail-studio/studio-sheet.d.ts +13 -0
- package/lib/typescript/src/blocks/detail-studio/studio-sheet.d.ts.map +1 -0
- package/lib/typescript/src/blocks/detail-studio/text-format-panel.d.ts +15 -0
- package/lib/typescript/src/blocks/detail-studio/text-format-panel.d.ts.map +1 -0
- package/lib/typescript/src/blocks/draft-box/draft-box.d.ts +14 -0
- package/lib/typescript/src/blocks/draft-box/draft-box.d.ts.map +1 -0
- package/lib/typescript/src/blocks/draft-box/index.d.ts +2 -0
- package/lib/typescript/src/blocks/draft-box/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/feed-row/feed-row.d.ts +21 -0
- package/lib/typescript/src/blocks/feed-row/feed-row.d.ts.map +1 -0
- package/lib/typescript/src/blocks/feed-row/index.d.ts +2 -0
- package/lib/typescript/src/blocks/feed-row/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/index.d.ts +20 -19
- package/lib/typescript/src/blocks/index.d.ts.map +1 -1
- package/lib/typescript/src/blocks/internal/card.d.ts +1 -3
- package/lib/typescript/src/blocks/internal/card.d.ts.map +1 -1
- package/lib/typescript/src/blocks/invite-card/invite-card.d.ts.map +1 -1
- package/lib/typescript/src/blocks/mockup-strip/index.d.ts +2 -0
- package/lib/typescript/src/blocks/mockup-strip/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/mockup-strip/mockup-strip.d.ts +11 -0
- package/lib/typescript/src/blocks/mockup-strip/mockup-strip.d.ts.map +1 -0
- package/lib/typescript/src/blocks/oauth-buttons/oauth-buttons.d.ts.map +1 -1
- package/lib/typescript/src/blocks/order-block/index.d.ts +2 -0
- package/lib/typescript/src/blocks/order-block/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/order-block/order-block.d.ts +27 -0
- package/lib/typescript/src/blocks/order-block/order-block.d.ts.map +1 -0
- package/lib/typescript/src/blocks/order-status/index.d.ts +2 -0
- package/lib/typescript/src/blocks/order-status/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/order-status/order-status.d.ts +10 -0
- package/lib/typescript/src/blocks/order-status/order-status.d.ts.map +1 -0
- package/lib/typescript/src/blocks/palette-block/index.d.ts +2 -0
- package/lib/typescript/src/blocks/palette-block/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/palette-block/palette-block.d.ts +48 -0
- package/lib/typescript/src/blocks/palette-block/palette-block.d.ts.map +1 -0
- package/lib/typescript/src/blocks/photo-field/index.d.ts +2 -0
- package/lib/typescript/src/blocks/photo-field/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/photo-field/photo-field.d.ts +19 -0
- package/lib/typescript/src/blocks/photo-field/photo-field.d.ts.map +1 -0
- package/lib/typescript/src/blocks/photo-grid/photo-grid.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/index.d.ts +2 -0
- package/lib/typescript/src/blocks/question-pager/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/question-pager/question-pager.d.ts +25 -0
- package/lib/typescript/src/blocks/question-pager/question-pager.d.ts.map +1 -0
- package/lib/typescript/src/blocks/quick-actions/quick-actions.d.ts +2 -1
- package/lib/typescript/src/blocks/quick-actions/quick-actions.d.ts.map +1 -1
- package/lib/typescript/src/blocks/request-card/request-card.d.ts.map +1 -1
- package/lib/typescript/src/blocks/review-card/index.d.ts +2 -0
- package/lib/typescript/src/blocks/review-card/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/review-card/review-card.d.ts +23 -0
- package/lib/typescript/src/blocks/review-card/review-card.d.ts.map +1 -0
- package/lib/typescript/src/blocks/scan-modal/scan-modal.d.ts +5 -1
- package/lib/typescript/src/blocks/scan-modal/scan-modal.d.ts.map +1 -1
- package/lib/typescript/src/blocks/selection-bar/selection-bar.d.ts +2 -1
- package/lib/typescript/src/blocks/selection-bar/selection-bar.d.ts.map +1 -1
- package/lib/typescript/src/blocks/send-bar/index.d.ts +2 -0
- package/lib/typescript/src/blocks/send-bar/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/send-bar/send-bar.d.ts +13 -0
- package/lib/typescript/src/blocks/send-bar/send-bar.d.ts.map +1 -0
- package/lib/typescript/src/blocks/service-state-banner/service-state-banner.d.ts.map +1 -1
- package/lib/typescript/src/blocks/slider-list/slider-list.d.ts.map +1 -1
- package/lib/typescript/src/blocks/stage-bar/stage-bar.d.ts.map +1 -1
- package/lib/typescript/src/blocks/step-screen/index.d.ts +1 -1
- package/lib/typescript/src/blocks/step-screen/index.d.ts.map +1 -1
- package/lib/typescript/src/blocks/step-screen/step-screen.d.ts +11 -2
- package/lib/typescript/src/blocks/step-screen/step-screen.d.ts.map +1 -1
- package/lib/typescript/src/blocks/store-sheet/store-sheet.d.ts.map +1 -1
- package/lib/typescript/src/blocks/store-top/index.d.ts +2 -0
- package/lib/typescript/src/blocks/store-top/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/store-top/store-top.d.ts +31 -0
- package/lib/typescript/src/blocks/store-top/store-top.d.ts.map +1 -0
- package/lib/typescript/src/blocks/summary-cards/summary-cards.d.ts +0 -17
- 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/blocks/token-sample/index.d.ts +2 -0
- package/lib/typescript/src/blocks/token-sample/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/token-sample/token-sample.d.ts +17 -0
- package/lib/typescript/src/blocks/token-sample/token-sample.d.ts.map +1 -0
- package/lib/typescript/src/blocks/tone-strip/index.d.ts +2 -0
- package/lib/typescript/src/blocks/tone-strip/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/tone-strip/tone-strip.d.ts +6 -0
- package/lib/typescript/src/blocks/tone-strip/tone-strip.d.ts.map +1 -0
- package/lib/typescript/src/charts/day-bars.d.ts +9 -0
- package/lib/typescript/src/charts/day-bars.d.ts.map +1 -0
- package/lib/typescript/src/charts/index.d.ts +2 -2
- package/lib/typescript/src/charts/index.d.ts.map +1 -1
- package/lib/typescript/src/charts/progress-ring.d.ts +9 -0
- package/lib/typescript/src/charts/progress-ring.d.ts.map +1 -0
- package/lib/typescript/src/charts.d.ts +0 -1
- package/lib/typescript/src/charts.d.ts.map +1 -1
- package/lib/typescript/src/components/action-row/action-row.d.ts +9 -0
- package/lib/typescript/src/components/action-row/action-row.d.ts.map +1 -0
- package/lib/typescript/src/components/action-row/index.d.ts +2 -0
- package/lib/typescript/src/components/action-row/index.d.ts.map +1 -0
- package/lib/typescript/src/components/amount-summary/amount-summary.d.ts +17 -0
- package/lib/typescript/src/components/amount-summary/amount-summary.d.ts.map +1 -0
- package/lib/typescript/src/components/amount-summary/index.d.ts +2 -0
- package/lib/typescript/src/components/amount-summary/index.d.ts.map +1 -0
- package/lib/typescript/src/components/bubble/bubble.d.ts +9 -0
- package/lib/typescript/src/components/bubble/bubble.d.ts.map +1 -0
- package/lib/typescript/src/components/bubble/index.d.ts +2 -0
- package/lib/typescript/src/components/bubble/index.d.ts.map +1 -0
- package/lib/typescript/src/components/button/button.d.ts +10 -5
- package/lib/typescript/src/components/button/button.d.ts.map +1 -1
- package/lib/typescript/src/components/button/index.d.ts +1 -0
- package/lib/typescript/src/components/button/index.d.ts.map +1 -1
- package/lib/typescript/src/components/button/use-finish.d.ts +6 -0
- package/lib/typescript/src/components/button/use-finish.d.ts.map +1 -0
- package/lib/typescript/src/components/calendar/calendar.d.ts.map +1 -1
- package/lib/typescript/src/components/card-block/card-block.d.ts +8 -0
- package/lib/typescript/src/components/card-block/card-block.d.ts.map +1 -0
- package/lib/typescript/src/components/card-block/index.d.ts +2 -0
- package/lib/typescript/src/components/card-block/index.d.ts.map +1 -0
- package/lib/typescript/src/components/checkbox/checkbox.d.ts.map +1 -1
- package/lib/typescript/src/components/chip/chip.d.ts +2 -3
- package/lib/typescript/src/components/chip/chip.d.ts.map +1 -1
- package/lib/typescript/src/components/chip/index.d.ts +1 -1
- package/lib/typescript/src/components/chip/index.d.ts.map +1 -1
- package/lib/typescript/src/components/chip-group/chip-group.d.ts +3 -2
- 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 +11 -0
- package/lib/typescript/src/components/credit/credit.d.ts.map +1 -0
- package/lib/typescript/src/components/credit/index.d.ts +2 -0
- package/lib/typescript/src/components/credit/index.d.ts.map +1 -0
- package/lib/typescript/src/components/dialog/dialog.d.ts +2 -1
- package/lib/typescript/src/components/dialog/dialog.d.ts.map +1 -1
- package/lib/typescript/src/components/dropdown-menu/dropdown-menu.d.ts +24 -0
- package/lib/typescript/src/components/dropdown-menu/dropdown-menu.d.ts.map +1 -0
- package/lib/typescript/src/components/dropdown-menu/index.d.ts +2 -0
- package/lib/typescript/src/components/dropdown-menu/index.d.ts.map +1 -0
- 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 +11 -0
- package/lib/typescript/src/components/fact-list/fact-list.d.ts.map +1 -0
- package/lib/typescript/src/components/fact-list/index.d.ts +2 -0
- package/lib/typescript/src/components/fact-list/index.d.ts.map +1 -0
- package/lib/typescript/src/components/field/field.d.ts +7 -1
- package/lib/typescript/src/components/field/field.d.ts.map +1 -1
- package/lib/typescript/src/components/filter-tabs/filter-tabs.d.ts +14 -0
- package/lib/typescript/src/components/filter-tabs/filter-tabs.d.ts.map +1 -0
- package/lib/typescript/src/components/filter-tabs/index.d.ts +2 -0
- package/lib/typescript/src/components/filter-tabs/index.d.ts.map +1 -0
- package/lib/typescript/src/components/floating-tab-bar/floating-tab-bar.d.ts.map +1 -1
- package/lib/typescript/src/components/icon-button/icon-button.d.ts +11 -0
- package/lib/typescript/src/components/icon-button/icon-button.d.ts.map +1 -0
- package/lib/typescript/src/components/icon-button/index.d.ts +2 -0
- package/lib/typescript/src/components/icon-button/index.d.ts.map +1 -0
- package/lib/typescript/src/components/list-row/list-row.d.ts +3 -2
- 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 +2 -1
- package/lib/typescript/src/components/page-header/page-header.d.ts.map +1 -1
- package/lib/typescript/src/components/pill/index.d.ts +2 -0
- package/lib/typescript/src/components/pill/index.d.ts.map +1 -0
- package/lib/typescript/src/components/pill/pill.d.ts +9 -0
- package/lib/typescript/src/components/pill/pill.d.ts.map +1 -0
- package/lib/typescript/src/components/price/index.d.ts +1 -1
- package/lib/typescript/src/components/price/index.d.ts.map +1 -1
- package/lib/typescript/src/components/price/price.d.ts +0 -10
- package/lib/typescript/src/components/price/price.d.ts.map +1 -1
- package/lib/typescript/src/components/progress-circle/progress-circle.d.ts.map +1 -1
- package/lib/typescript/src/components/result-mark/result-mark.d.ts.map +1 -1
- package/lib/typescript/src/components/search-field/search-field.d.ts +2 -1
- package/lib/typescript/src/components/search-field/search-field.d.ts.map +1 -1
- package/lib/typescript/src/components/section-tabs/section-tabs.d.ts +2 -1
- package/lib/typescript/src/components/section-tabs/section-tabs.d.ts.map +1 -1
- package/lib/typescript/src/components/segmented-control/index.d.ts +2 -0
- package/lib/typescript/src/components/segmented-control/index.d.ts.map +1 -0
- package/lib/typescript/src/components/segmented-control/segmented-control.d.ts +13 -0
- package/lib/typescript/src/components/segmented-control/segmented-control.d.ts.map +1 -0
- package/lib/typescript/src/components/segmented-tabs/segmented-tabs.d.ts +1 -0
- package/lib/typescript/src/components/segmented-tabs/segmented-tabs.d.ts.map +1 -1
- package/lib/typescript/src/components/sheet/index.d.ts +1 -1
- package/lib/typescript/src/components/sheet/index.d.ts.map +1 -1
- package/lib/typescript/src/components/sheet/sheet.d.ts +9 -2
- package/lib/typescript/src/components/sheet/sheet.d.ts.map +1 -1
- package/lib/typescript/src/components/skeleton/skeleton.d.ts.map +1 -1
- package/lib/typescript/src/components/slider/slider.d.ts +5 -1
- package/lib/typescript/src/components/slider/slider.d.ts.map +1 -1
- package/lib/typescript/src/components/status-badge/status-badge.d.ts.map +1 -1
- package/lib/typescript/src/components/status-steps/status-steps.d.ts +6 -1
- package/lib/typescript/src/components/status-steps/status-steps.d.ts.map +1 -1
- package/lib/typescript/src/components/stepper/stepper.d.ts.map +1 -1
- package/lib/typescript/src/components/text/text.d.ts +1 -1
- package/lib/typescript/src/components/text/text.d.ts.map +1 -1
- package/lib/typescript/src/components/text-links/text-links.d.ts.map +1 -1
- package/lib/typescript/src/components/thumb-strip/index.d.ts +2 -0
- package/lib/typescript/src/components/thumb-strip/index.d.ts.map +1 -0
- package/lib/typescript/src/components/thumb-strip/thumb-strip.d.ts +8 -0
- package/lib/typescript/src/components/thumb-strip/thumb-strip.d.ts.map +1 -0
- package/lib/typescript/src/components/tile-grid/index.d.ts +2 -0
- package/lib/typescript/src/components/tile-grid/index.d.ts.map +1 -0
- package/lib/typescript/src/components/tile-grid/tile-grid.d.ts +16 -0
- package/lib/typescript/src/components/tile-grid/tile-grid.d.ts.map +1 -0
- package/lib/typescript/src/components/toast/toast.d.ts.map +1 -1
- package/lib/typescript/src/components/value-rows/index.d.ts +2 -0
- package/lib/typescript/src/components/value-rows/index.d.ts.map +1 -0
- package/lib/typescript/src/components/value-rows/value-rows.d.ts +18 -0
- package/lib/typescript/src/components/value-rows/value-rows.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +17 -2
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/internal/check-disc.d.ts +7 -0
- package/lib/typescript/src/internal/check-disc.d.ts.map +1 -0
- package/lib/typescript/src/internal/drawn-check.d.ts +10 -0
- package/lib/typescript/src/internal/drawn-check.d.ts.map +1 -0
- package/lib/typescript/src/internal/field-label.d.ts +6 -0
- package/lib/typescript/src/internal/field-label.d.ts.map +1 -0
- package/lib/typescript/src/internal/glyphs.d.ts +29 -3
- package/lib/typescript/src/internal/glyphs.d.ts.map +1 -1
- package/lib/typescript/src/internal/haptics.d.ts +4 -0
- package/lib/typescript/src/internal/haptics.d.ts.map +1 -0
- package/lib/typescript/src/internal/line-icons.d.ts +27 -0
- package/lib/typescript/src/internal/line-icons.d.ts.map +1 -1
- package/lib/typescript/src/internal/motion.d.ts +19 -0
- package/lib/typescript/src/internal/motion.d.ts.map +1 -0
- package/lib/typescript/src/internal/overlay.d.ts +2 -0
- package/lib/typescript/src/internal/overlay.d.ts.map +1 -1
- package/lib/typescript/src/internal/pop-check.d.ts +5 -0
- package/lib/typescript/src/internal/pop-check.d.ts.map +1 -0
- package/lib/typescript/src/internal/pressable-base.d.ts +12 -2
- package/lib/typescript/src/internal/pressable-base.d.ts.map +1 -1
- package/lib/typescript/src/internal/pulse.d.ts +6 -0
- package/lib/typescript/src/internal/pulse.d.ts.map +1 -0
- package/lib/typescript/src/internal/retry-glyph.d.ts +5 -0
- package/lib/typescript/src/internal/retry-glyph.d.ts.map +1 -0
- package/lib/typescript/src/internal/roll-text.d.ts +9 -0
- package/lib/typescript/src/internal/roll-text.d.ts.map +1 -0
- package/lib/typescript/src/internal/sample-tiles.d.ts +18 -0
- package/lib/typescript/src/internal/sample-tiles.d.ts.map +1 -0
- package/lib/typescript/src/internal/selection.d.ts +3 -0
- package/lib/typescript/src/internal/selection.d.ts.map +1 -0
- package/lib/typescript/src/internal/settle.d.ts +7 -0
- package/lib/typescript/src/internal/settle.d.ts.map +1 -0
- package/lib/typescript/src/internal/sheet-head.d.ts +17 -0
- package/lib/typescript/src/internal/sheet-head.d.ts.map +1 -0
- package/lib/typescript/src/internal/steady-text.d.ts +11 -0
- package/lib/typescript/src/internal/steady-text.d.ts.map +1 -0
- package/lib/typescript/src/internal/tab-icons.d.ts +0 -2
- package/lib/typescript/src/internal/tab-icons.d.ts.map +1 -1
- package/lib/typescript/src/internal/undo-glyph.d.ts +5 -0
- package/lib/typescript/src/internal/undo-glyph.d.ts.map +1 -0
- package/lib/typescript/src/internal/use-slide.d.ts +24 -0
- package/lib/typescript/src/internal/use-slide.d.ts.map +1 -0
- package/lib/typescript/src/sortable/index.d.ts +1 -1
- package/lib/typescript/src/sortable/index.d.ts.map +1 -1
- package/lib/typescript/src/sortable/section-board.d.ts +24 -0
- package/lib/typescript/src/sortable/section-board.d.ts.map +1 -0
- package/lib/typescript/src/sortable/sortable-grid.d.ts +2 -1
- package/lib/typescript/src/sortable/sortable-grid.d.ts.map +1 -1
- package/lib/typescript/src/sortable.d.ts +1 -2
- package/lib/typescript/src/sortable.d.ts.map +1 -1
- package/lib/typescript/src/templates/calendar-template.d.ts +2 -0
- package/lib/typescript/src/templates/calendar-template.d.ts.map +1 -1
- package/lib/typescript/src/templates/design-pick-template.d.ts +29 -0
- package/lib/typescript/src/templates/design-pick-template.d.ts.map +1 -0
- package/lib/typescript/src/templates/index.d.ts +3 -3
- package/lib/typescript/src/templates/index.d.ts.map +1 -1
- package/lib/typescript/src/templates/intro-template.d.ts.map +1 -1
- package/lib/typescript/src/templates/list-template.d.ts +1 -1
- package/lib/typescript/src/templates/list-template.d.ts.map +1 -1
- package/lib/typescript/src/templates/notice-template.d.ts +1 -1
- package/lib/typescript/src/templates/notice-template.d.ts.map +1 -1
- package/lib/typescript/src/templates/parts.d.ts +30 -2
- package/lib/typescript/src/templates/parts.d.ts.map +1 -1
- package/lib/typescript/src/templates/preview-template.d.ts.map +1 -1
- package/lib/typescript/src/templates/result-template.d.ts +5 -1
- package/lib/typescript/src/templates/result-template.d.ts.map +1 -1
- package/lib/typescript/src/templates/scroll-templates.d.ts +20 -1
- package/lib/typescript/src/templates/scroll-templates.d.ts.map +1 -1
- package/lib/typescript/src/templates/selection-template.d.ts +2 -1
- package/lib/typescript/src/templates/selection-template.d.ts.map +1 -1
- package/lib/typescript/src/templates/sheet-form-template.d.ts +2 -1
- package/lib/typescript/src/templates/sheet-form-template.d.ts.map +1 -1
- package/lib/typescript/src/theme/base.d.ts +50 -4
- package/lib/typescript/src/theme/base.d.ts.map +1 -1
- package/lib/typescript/src/theme/tokens.d.ts.map +1 -1
- package/lib/typescript/src/types/index.d.ts +16 -40
- package/lib/typescript/src/types/index.d.ts.map +1 -1
- package/lib/typescript/src/utils/color.d.ts +2 -0
- package/lib/typescript/src/utils/color.d.ts.map +1 -1
- package/lib/typescript/src/utils/styles.d.ts +1 -0
- package/lib/typescript/src/utils/styles.d.ts.map +1 -1
- package/package.json +5 -11
- package/src/adjust/axis-dial-group.tsx +62 -0
- package/src/adjust/axis-dial.tsx +328 -0
- package/src/adjust/brand-feel-art.tsx +148 -0
- package/src/adjust/dial-strip.tsx +48 -17
- package/src/adjust/index.ts +19 -1
- package/src/blocks/art-frame/art-frame.tsx +26 -0
- package/src/blocks/art-frame/index.ts +1 -0
- package/src/blocks/brand-palette-art/brand-palette-art.tsx +104 -0
- package/src/blocks/brand-palette-art/index.ts +5 -0
- package/src/blocks/bulk-ship-list/bulk-ship-list.tsx +98 -41
- package/src/blocks/bulk-ship-list/index.ts +2 -0
- package/src/blocks/chat-message/chat-message.tsx +54 -0
- package/src/blocks/chat-message/index.ts +1 -0
- package/src/blocks/claim-status/claim-status.ts +18 -0
- package/src/blocks/claim-status/index.ts +1 -0
- package/src/blocks/color-band-list/color-band-list.tsx +97 -0
- package/src/blocks/color-band-list/index.ts +5 -0
- package/src/blocks/color-family-tabs/color-family-tabs.tsx +87 -0
- package/src/blocks/color-family-tabs/index.ts +5 -0
- package/src/blocks/color-hero/color-hero.tsx +102 -0
- package/src/blocks/color-hero/index.ts +1 -0
- package/src/blocks/color-swatch-picker/color-swatch-picker.tsx +63 -6
- package/src/blocks/color-tune/color-tune.tsx +120 -0
- package/src/blocks/color-tune/index.ts +13 -0
- package/src/blocks/color-tune/store-sample.tsx +285 -0
- package/src/blocks/color-tune/swatch-card.tsx +126 -0
- package/src/blocks/color-tune/tone-slider.tsx +220 -0
- package/src/blocks/consent-list/consent-list.tsx +13 -8
- package/src/blocks/detail-editor/compare-slider.tsx +61 -13
- package/src/blocks/detail-editor/detail-canvas.tsx +631 -34
- package/src/blocks/detail-editor/detail-types.ts +60 -1
- package/src/blocks/detail-editor/effect-picker.tsx +78 -0
- package/src/blocks/detail-editor/font-picker.tsx +43 -2
- package/src/blocks/detail-editor/index.ts +7 -25
- package/src/blocks/detail-editor/layout-picker.tsx +102 -10
- package/src/blocks/detail-editor/structure-picker.tsx +6 -2
- package/src/blocks/detail-studio/adjust-tiles.tsx +88 -0
- package/src/blocks/detail-studio/asset-grid.tsx +238 -0
- package/src/blocks/detail-studio/confirm-row.tsx +48 -0
- package/src/blocks/detail-studio/detail-studio-template.tsx +51 -0
- package/src/blocks/detail-studio/image-prompt.tsx +149 -0
- package/src/blocks/detail-studio/index.ts +67 -0
- package/src/blocks/detail-studio/keyboard-bar.tsx +73 -0
- package/src/blocks/detail-studio/photo-tool-bar.tsx +100 -0
- package/src/blocks/detail-studio/rewrite-tray.tsx +85 -0
- package/src/blocks/detail-studio/section-edit-template.tsx +132 -0
- package/src/blocks/detail-studio/section-kind-grid.tsx +281 -0
- package/src/blocks/detail-studio/section-settings.tsx +115 -0
- package/src/blocks/detail-studio/section-thumb.tsx +41 -0
- package/src/blocks/detail-studio/studio-bar.tsx +173 -0
- package/src/blocks/detail-studio/studio-dock.tsx +89 -0
- package/src/blocks/detail-studio/studio-sheet.tsx +71 -0
- package/src/blocks/detail-studio/text-format-panel.tsx +204 -0
- package/src/blocks/draft-box/draft-box.tsx +103 -0
- package/src/blocks/draft-box/index.ts +1 -0
- package/src/blocks/feed-row/feed-row.tsx +178 -0
- package/src/blocks/feed-row/index.ts +1 -0
- package/src/blocks/generation-progress/generation-progress.tsx +2 -2
- package/src/blocks/index.tsx +20 -19
- package/src/blocks/internal/card.tsx +3 -48
- package/src/blocks/invite-card/invite-card.tsx +7 -6
- package/src/blocks/logo-candidate-grid/logo-candidate-grid.tsx +2 -2
- package/src/blocks/mockup-strip/index.ts +5 -0
- package/src/blocks/mockup-strip/mockup-strip.tsx +53 -0
- package/src/blocks/oauth-buttons/oauth-buttons.tsx +8 -1
- package/src/blocks/order-block/index.ts +6 -0
- package/src/blocks/order-block/order-block.tsx +216 -0
- package/src/blocks/order-status/index.ts +7 -0
- package/src/blocks/order-status/order-status.ts +38 -0
- package/src/blocks/palette-block/index.ts +15 -0
- package/src/blocks/palette-block/palette-block.tsx +308 -0
- package/src/blocks/photo-field/index.ts +5 -0
- package/src/blocks/photo-field/photo-field.tsx +240 -0
- package/src/blocks/photo-grid/photo-grid.tsx +10 -9
- package/src/blocks/product-tile/product-tile.tsx +2 -2
- package/src/blocks/question-accordion/question-accordion.tsx +3 -2
- package/src/blocks/question-pager/index.ts +7 -0
- package/src/blocks/question-pager/question-pager.tsx +415 -0
- package/src/blocks/quick-actions/quick-actions.tsx +20 -6
- package/src/blocks/request-card/request-card.tsx +13 -5
- package/src/blocks/review-card/index.ts +1 -0
- package/src/blocks/review-card/review-card.tsx +160 -0
- package/src/blocks/scan-modal/scan-modal.tsx +45 -3
- package/src/blocks/selection-bar/selection-bar.tsx +98 -20
- package/src/blocks/send-bar/index.ts +1 -0
- package/src/blocks/send-bar/send-bar.tsx +116 -0
- package/src/blocks/service-state-banner/service-state-banner.tsx +7 -2
- package/src/blocks/setup-guide/setup-guide.tsx +1 -1
- package/src/blocks/slider-list/slider-list.tsx +42 -15
- package/src/blocks/stage-bar/stage-bar.tsx +101 -33
- package/src/blocks/stat-card/stat-card.tsx +2 -2
- package/src/blocks/step-screen/index.ts +1 -0
- package/src/blocks/step-screen/step-screen.tsx +250 -60
- package/src/blocks/store-sheet/store-sheet.tsx +2 -3
- package/src/blocks/store-top/index.ts +6 -0
- package/src/blocks/store-top/store-top.tsx +244 -0
- package/src/blocks/summary-cards/summary-cards.tsx +13 -95
- package/src/blocks/task-tiles/task-tiles.tsx +2 -4
- package/src/blocks/token-sample/index.ts +1 -0
- package/src/blocks/token-sample/token-sample.tsx +66 -0
- package/src/blocks/tone-strip/index.ts +1 -0
- package/src/blocks/tone-strip/tone-strip.tsx +33 -0
- package/src/charts/day-bars.tsx +69 -0
- package/src/charts/index.ts +2 -2
- package/src/charts/mini-bars.tsx +1 -1
- package/src/charts/progress-ring.tsx +55 -0
- package/src/charts.tsx +0 -1
- package/src/components/action-row/action-row.tsx +26 -0
- package/src/components/action-row/index.ts +1 -0
- package/src/components/amount-summary/amount-summary.tsx +135 -0
- package/src/components/amount-summary/index.ts +5 -0
- package/src/components/bubble/bubble.tsx +47 -0
- package/src/components/bubble/index.ts +1 -0
- package/src/components/button/button.tsx +162 -40
- package/src/components/button/index.ts +1 -0
- package/src/components/button/use-finish.ts +32 -0
- package/src/components/calendar/calendar.tsx +24 -10
- package/src/components/card-block/card-block.tsx +21 -0
- package/src/components/card-block/index.ts +1 -0
- package/src/components/checkbox/checkbox.tsx +14 -9
- package/src/components/chip/chip.tsx +58 -32
- package/src/components/chip/index.ts +1 -1
- package/src/components/chip-group/chip-group.tsx +21 -17
- package/src/components/circle-grid/circle-grid.tsx +111 -54
- package/src/components/credit/credit.tsx +73 -0
- package/src/components/credit/index.ts +6 -0
- package/src/components/dialog/dialog.tsx +9 -5
- package/src/components/dropdown-menu/dropdown-menu.tsx +140 -0
- package/src/components/dropdown-menu/index.ts +6 -0
- package/src/components/empty-state/empty-state.tsx +5 -5
- package/src/components/fact-list/fact-list.tsx +46 -0
- package/src/components/fact-list/index.ts +1 -0
- package/src/components/field/field.tsx +160 -41
- package/src/components/filter-tabs/filter-tabs.tsx +191 -0
- package/src/components/filter-tabs/index.ts +5 -0
- package/src/components/floating-tab-bar/floating-tab-bar.tsx +75 -30
- package/src/components/icon-button/icon-button.tsx +65 -0
- package/src/components/icon-button/index.ts +1 -0
- package/src/components/list-row/list-row.tsx +42 -22
- package/src/components/page-header/page-header.tsx +12 -8
- package/src/components/page-header/store-header.tsx +2 -2
- package/src/components/photo/photo.tsx +8 -1
- package/src/components/pill/index.ts +1 -0
- package/src/components/pill/pill.tsx +67 -0
- package/src/components/price/index.ts +1 -1
- package/src/components/price/price.tsx +0 -76
- package/src/components/progress-bar/progress-bar.tsx +2 -2
- package/src/components/progress-circle/progress-circle.tsx +6 -2
- package/src/components/result-mark/result-mark.tsx +3 -5
- package/src/components/search-field/search-field.tsx +6 -2
- package/src/components/section-tabs/section-tabs.tsx +113 -32
- package/src/components/segmented-control/index.ts +5 -0
- package/src/components/segmented-control/segmented-control.tsx +82 -0
- package/src/components/segmented-tabs/segmented-tabs.tsx +127 -44
- package/src/components/sheet/index.ts +1 -0
- package/src/components/sheet/sheet.tsx +112 -20
- package/src/components/skeleton/skeleton.tsx +56 -26
- package/src/components/slider/slider.tsx +69 -9
- package/src/components/status-badge/status-badge.tsx +24 -2
- package/src/components/status-steps/status-steps.tsx +251 -47
- package/src/components/stepper/stepper.tsx +5 -7
- package/src/components/text/text.tsx +7 -3
- package/src/components/text-links/text-links.tsx +15 -3
- package/src/components/thumb-strip/index.ts +1 -0
- package/src/components/thumb-strip/thumb-strip.tsx +41 -0
- package/src/components/tile-grid/index.ts +1 -0
- package/src/components/tile-grid/tile-grid.tsx +259 -0
- package/src/components/toast/toast.tsx +58 -24
- package/src/components/value-rows/index.ts +6 -0
- package/src/components/value-rows/value-rows.tsx +84 -0
- package/src/components/wizard-steps/wizard-steps.tsx +1 -1
- package/src/index.tsx +44 -3
- package/src/internal/check-disc.tsx +43 -0
- package/src/internal/drawn-check.tsx +47 -0
- package/src/internal/field-label.tsx +60 -0
- package/src/internal/glyphs.tsx +108 -46
- package/src/internal/haptics.ts +11 -0
- package/src/internal/line-icons.ts +54 -0
- package/src/internal/motion.ts +82 -0
- package/src/internal/overlay.tsx +19 -5
- package/src/internal/pop-check.tsx +24 -0
- package/src/internal/pressable-base.tsx +131 -10
- package/src/internal/pulse.tsx +63 -0
- package/src/internal/retry-glyph.tsx +42 -0
- package/src/internal/roll-text.tsx +70 -0
- package/src/internal/sample-tiles.tsx +93 -0
- package/src/internal/selection.ts +18 -0
- package/src/internal/settle.tsx +21 -0
- package/src/internal/sheet-head.tsx +107 -0
- package/src/internal/steady-text.tsx +52 -0
- package/src/internal/tab-icons.ts +0 -6
- package/src/internal/undo-glyph.tsx +50 -0
- package/src/internal/use-slide.ts +71 -0
- package/src/sortable/index.ts +4 -4
- package/src/sortable/section-board.tsx +404 -0
- package/src/sortable/sortable-grid.tsx +8 -2
- package/src/sortable.tsx +1 -2
- package/src/templates/calendar-template.tsx +8 -1
- package/src/templates/design-pick-template.tsx +262 -0
- package/src/templates/index.ts +7 -6
- package/src/templates/intro-template.tsx +2 -17
- package/src/templates/list-template.tsx +38 -32
- package/src/templates/notice-template.tsx +10 -33
- package/src/templates/parts.tsx +130 -53
- package/src/templates/preview-template.tsx +1 -2
- package/src/templates/result-template.tsx +22 -39
- package/src/templates/scroll-templates.tsx +111 -3
- package/src/templates/selection-template.tsx +8 -2
- package/src/templates/sheet-form-template.tsx +30 -20
- package/src/theme/base.ts +52 -4
- package/src/theme/tokens.ts +2 -0
- package/src/types/index.ts +25 -49
- package/src/utils/color.ts +22 -0
- package/src/utils/styles.ts +9 -0
- package/lib/module/blocks/action-grid/action-grid.js +0 -71
- package/lib/module/blocks/action-grid/action-grid.js.map +0 -1
- package/lib/module/blocks/action-grid/index.js +0 -4
- package/lib/module/blocks/action-grid/index.js.map +0 -1
- package/lib/module/blocks/brand-profile-card/brand-profile-card.js +0 -88
- package/lib/module/blocks/brand-profile-card/brand-profile-card.js.map +0 -1
- package/lib/module/blocks/brand-profile-card/index.js +0 -4
- package/lib/module/blocks/brand-profile-card/index.js.map +0 -1
- package/lib/module/blocks/claim-row/claim-row.js +0 -107
- package/lib/module/blocks/claim-row/claim-row.js.map +0 -1
- package/lib/module/blocks/claim-row/index.js +0 -4
- package/lib/module/blocks/claim-row/index.js.map +0 -1
- package/lib/module/blocks/code-input/code-input.js +0 -103
- package/lib/module/blocks/code-input/code-input.js.map +0 -1
- package/lib/module/blocks/code-input/index.js +0 -4
- package/lib/module/blocks/code-input/index.js.map +0 -1
- package/lib/module/blocks/copy-variant-picker/copy-variant-picker.js +0 -139
- package/lib/module/blocks/copy-variant-picker/copy-variant-picker.js.map +0 -1
- package/lib/module/blocks/copy-variant-picker/index.js +0 -4
- package/lib/module/blocks/copy-variant-picker/index.js.map +0 -1
- package/lib/module/blocks/cover-photos/cover-photos.js +0 -165
- package/lib/module/blocks/cover-photos/cover-photos.js.map +0 -1
- package/lib/module/blocks/cover-photos/index.js +0 -4
- package/lib/module/blocks/cover-photos/index.js.map +0 -1
- package/lib/module/blocks/credit-wallet/credit-wallet.js +0 -121
- package/lib/module/blocks/credit-wallet/credit-wallet.js.map +0 -1
- package/lib/module/blocks/credit-wallet/index.js +0 -4
- package/lib/module/blocks/credit-wallet/index.js.map +0 -1
- package/lib/module/blocks/detail-editor/detail-composer.js +0 -254
- package/lib/module/blocks/detail-editor/detail-composer.js.map +0 -1
- package/lib/module/blocks/detail-editor/detail-editor-template.js +0 -102
- package/lib/module/blocks/detail-editor/detail-editor-template.js.map +0 -1
- package/lib/module/blocks/detail-editor/draft-strip.js +0 -97
- package/lib/module/blocks/detail-editor/draft-strip.js.map +0 -1
- package/lib/module/blocks/detail-editor/editor-bar.js +0 -96
- package/lib/module/blocks/detail-editor/editor-bar.js.map +0 -1
- package/lib/module/blocks/detail-editor/photo-tray.js +0 -144
- package/lib/module/blocks/detail-editor/photo-tray.js.map +0 -1
- package/lib/module/blocks/detail-editor/tool-row.js +0 -63
- package/lib/module/blocks/detail-editor/tool-row.js.map +0 -1
- package/lib/module/blocks/image-grid/image-grid.js +0 -238
- package/lib/module/blocks/image-grid/image-grid.js.map +0 -1
- package/lib/module/blocks/image-grid/index.js +0 -4
- package/lib/module/blocks/image-grid/index.js.map +0 -1
- package/lib/module/blocks/inbox-row/inbox-row.js +0 -120
- package/lib/module/blocks/inbox-row/inbox-row.js.map +0 -1
- package/lib/module/blocks/inbox-row/index.js +0 -4
- package/lib/module/blocks/inbox-row/index.js.map +0 -1
- package/lib/module/blocks/internal/format.js +0 -23
- package/lib/module/blocks/internal/format.js.map +0 -1
- package/lib/module/blocks/invoice-row/index.js +0 -4
- package/lib/module/blocks/invoice-row/index.js.map +0 -1
- package/lib/module/blocks/invoice-row/invoice-row.js +0 -99
- package/lib/module/blocks/invoice-row/invoice-row.js.map +0 -1
- package/lib/module/blocks/option-editor/index.js +0 -4
- package/lib/module/blocks/option-editor/index.js.map +0 -1
- package/lib/module/blocks/option-editor/option-editor.js +0 -143
- package/lib/module/blocks/option-editor/option-editor.js.map +0 -1
- package/lib/module/blocks/order-card/index.js +0 -4
- package/lib/module/blocks/order-card/index.js.map +0 -1
- package/lib/module/blocks/order-card/order-card.js +0 -173
- package/lib/module/blocks/order-card/order-card.js.map +0 -1
- package/lib/module/blocks/plan-card/index.js +0 -4
- package/lib/module/blocks/plan-card/index.js.map +0 -1
- package/lib/module/blocks/plan-card/plan-card.js +0 -137
- package/lib/module/blocks/plan-card/plan-card.js.map +0 -1
- package/lib/module/blocks/product-list-empty/index.js +0 -4
- package/lib/module/blocks/product-list-empty/index.js.map +0 -1
- package/lib/module/blocks/product-list-empty/product-list-empty.js +0 -153
- package/lib/module/blocks/product-list-empty/product-list-empty.js.map +0 -1
- package/lib/module/blocks/product-row/index.js +0 -4
- package/lib/module/blocks/product-row/index.js.map +0 -1
- package/lib/module/blocks/product-row/product-row.js +0 -92
- package/lib/module/blocks/product-row/product-row.js.map +0 -1
- package/lib/module/blocks/review-row/index.js +0 -4
- package/lib/module/blocks/review-row/index.js.map +0 -1
- package/lib/module/blocks/review-row/review-row.js +0 -276
- package/lib/module/blocks/review-row/review-row.js.map +0 -1
- package/lib/module/blocks/sales-chart/index.js +0 -4
- package/lib/module/blocks/sales-chart/index.js.map +0 -1
- package/lib/module/blocks/sales-chart/sales-chart.js +0 -124
- package/lib/module/blocks/sales-chart/sales-chart.js.map +0 -1
- package/lib/module/blocks/shipping-tracking-row/index.js +0 -4
- package/lib/module/blocks/shipping-tracking-row/index.js.map +0 -1
- package/lib/module/blocks/shipping-tracking-row/shipping-tracking-row.js +0 -114
- package/lib/module/blocks/shipping-tracking-row/shipping-tracking-row.js.map +0 -1
- package/lib/module/blocks/site-preview-frame/index.js +0 -4
- package/lib/module/blocks/site-preview-frame/index.js.map +0 -1
- package/lib/module/blocks/site-preview-frame/site-preview-frame.js +0 -121
- package/lib/module/blocks/site-preview-frame/site-preview-frame.js.map +0 -1
- package/lib/module/blocks/site-summary/index.js +0 -4
- package/lib/module/blocks/site-summary/index.js.map +0 -1
- package/lib/module/blocks/site-summary/site-summary.js +0 -81
- package/lib/module/blocks/site-summary/site-summary.js.map +0 -1
- package/lib/module/blocks/supply-item-card/index.js +0 -4
- package/lib/module/blocks/supply-item-card/index.js.map +0 -1
- package/lib/module/blocks/supply-item-card/supply-item-card.js +0 -145
- package/lib/module/blocks/supply-item-card/supply-item-card.js.map +0 -1
- package/lib/module/charts/line-chart.js +0 -124
- package/lib/module/charts/line-chart.js.map +0 -1
- package/lib/module/charts/scale.js +0 -39
- package/lib/module/charts/scale.js.map +0 -1
- package/lib/module/charts/sparkline.js +0 -49
- package/lib/module/charts/sparkline.js.map +0 -1
- package/lib/module/components/step-slider/index.js +0 -4
- package/lib/module/components/step-slider/index.js.map +0 -1
- package/lib/module/components/step-slider/step-slider.js +0 -167
- package/lib/module/components/step-slider/step-slider.js.map +0 -1
- package/lib/module/sortable/block-strip.js +0 -151
- package/lib/module/sortable/block-strip.js.map +0 -1
- package/lib/module/templates/editor-template.js +0 -142
- package/lib/module/templates/editor-template.js.map +0 -1
- package/lib/typescript/src/blocks/action-grid/action-grid.d.ts +0 -15
- package/lib/typescript/src/blocks/action-grid/action-grid.d.ts.map +0 -1
- package/lib/typescript/src/blocks/action-grid/index.d.ts +0 -2
- package/lib/typescript/src/blocks/action-grid/index.d.ts.map +0 -1
- package/lib/typescript/src/blocks/brand-profile-card/brand-profile-card.d.ts +0 -13
- package/lib/typescript/src/blocks/brand-profile-card/brand-profile-card.d.ts.map +0 -1
- package/lib/typescript/src/blocks/brand-profile-card/index.d.ts +0 -2
- package/lib/typescript/src/blocks/brand-profile-card/index.d.ts.map +0 -1
- package/lib/typescript/src/blocks/claim-row/claim-row.d.ts +0 -15
- package/lib/typescript/src/blocks/claim-row/claim-row.d.ts.map +0 -1
- package/lib/typescript/src/blocks/claim-row/index.d.ts +0 -2
- package/lib/typescript/src/blocks/claim-row/index.d.ts.map +0 -1
- package/lib/typescript/src/blocks/code-input/code-input.d.ts +0 -14
- package/lib/typescript/src/blocks/code-input/code-input.d.ts.map +0 -1
- package/lib/typescript/src/blocks/code-input/index.d.ts +0 -2
- package/lib/typescript/src/blocks/code-input/index.d.ts.map +0 -1
- package/lib/typescript/src/blocks/copy-variant-picker/copy-variant-picker.d.ts +0 -18
- package/lib/typescript/src/blocks/copy-variant-picker/copy-variant-picker.d.ts.map +0 -1
- package/lib/typescript/src/blocks/copy-variant-picker/index.d.ts +0 -2
- package/lib/typescript/src/blocks/copy-variant-picker/index.d.ts.map +0 -1
- package/lib/typescript/src/blocks/cover-photos/cover-photos.d.ts +0 -16
- package/lib/typescript/src/blocks/cover-photos/cover-photos.d.ts.map +0 -1
- package/lib/typescript/src/blocks/cover-photos/index.d.ts +0 -2
- package/lib/typescript/src/blocks/cover-photos/index.d.ts.map +0 -1
- package/lib/typescript/src/blocks/credit-wallet/credit-wallet.d.ts +0 -12
- package/lib/typescript/src/blocks/credit-wallet/credit-wallet.d.ts.map +0 -1
- package/lib/typescript/src/blocks/credit-wallet/index.d.ts +0 -2
- package/lib/typescript/src/blocks/credit-wallet/index.d.ts.map +0 -1
- package/lib/typescript/src/blocks/detail-editor/detail-composer.d.ts +0 -25
- package/lib/typescript/src/blocks/detail-editor/detail-composer.d.ts.map +0 -1
- package/lib/typescript/src/blocks/detail-editor/detail-editor-template.d.ts +0 -13
- package/lib/typescript/src/blocks/detail-editor/detail-editor-template.d.ts.map +0 -1
- package/lib/typescript/src/blocks/detail-editor/draft-strip.d.ts +0 -16
- package/lib/typescript/src/blocks/detail-editor/draft-strip.d.ts.map +0 -1
- package/lib/typescript/src/blocks/detail-editor/editor-bar.d.ts +0 -18
- package/lib/typescript/src/blocks/detail-editor/editor-bar.d.ts.map +0 -1
- package/lib/typescript/src/blocks/detail-editor/photo-tray.d.ts +0 -15
- package/lib/typescript/src/blocks/detail-editor/photo-tray.d.ts.map +0 -1
- package/lib/typescript/src/blocks/detail-editor/tool-row.d.ts +0 -13
- package/lib/typescript/src/blocks/detail-editor/tool-row.d.ts.map +0 -1
- package/lib/typescript/src/blocks/image-grid/image-grid.d.ts +0 -18
- package/lib/typescript/src/blocks/image-grid/image-grid.d.ts.map +0 -1
- package/lib/typescript/src/blocks/image-grid/index.d.ts +0 -2
- package/lib/typescript/src/blocks/image-grid/index.d.ts.map +0 -1
- package/lib/typescript/src/blocks/inbox-row/inbox-row.d.ts +0 -15
- package/lib/typescript/src/blocks/inbox-row/inbox-row.d.ts.map +0 -1
- package/lib/typescript/src/blocks/inbox-row/index.d.ts +0 -2
- package/lib/typescript/src/blocks/inbox-row/index.d.ts.map +0 -1
- package/lib/typescript/src/blocks/internal/format.d.ts +0 -5
- package/lib/typescript/src/blocks/internal/format.d.ts.map +0 -1
- package/lib/typescript/src/blocks/invoice-row/index.d.ts +0 -2
- package/lib/typescript/src/blocks/invoice-row/index.d.ts.map +0 -1
- package/lib/typescript/src/blocks/invoice-row/invoice-row.d.ts +0 -15
- package/lib/typescript/src/blocks/invoice-row/invoice-row.d.ts.map +0 -1
- package/lib/typescript/src/blocks/option-editor/index.d.ts +0 -2
- package/lib/typescript/src/blocks/option-editor/index.d.ts.map +0 -1
- package/lib/typescript/src/blocks/option-editor/option-editor.d.ts +0 -18
- package/lib/typescript/src/blocks/option-editor/option-editor.d.ts.map +0 -1
- package/lib/typescript/src/blocks/order-card/index.d.ts +0 -2
- package/lib/typescript/src/blocks/order-card/index.d.ts.map +0 -1
- package/lib/typescript/src/blocks/order-card/order-card.d.ts +0 -46
- package/lib/typescript/src/blocks/order-card/order-card.d.ts.map +0 -1
- package/lib/typescript/src/blocks/plan-card/index.d.ts +0 -2
- package/lib/typescript/src/blocks/plan-card/index.d.ts.map +0 -1
- package/lib/typescript/src/blocks/plan-card/plan-card.d.ts +0 -25
- package/lib/typescript/src/blocks/plan-card/plan-card.d.ts.map +0 -1
- package/lib/typescript/src/blocks/product-list-empty/index.d.ts +0 -2
- package/lib/typescript/src/blocks/product-list-empty/index.d.ts.map +0 -1
- package/lib/typescript/src/blocks/product-list-empty/product-list-empty.d.ts +0 -16
- package/lib/typescript/src/blocks/product-list-empty/product-list-empty.d.ts.map +0 -1
- package/lib/typescript/src/blocks/product-row/index.d.ts +0 -2
- package/lib/typescript/src/blocks/product-row/index.d.ts.map +0 -1
- package/lib/typescript/src/blocks/product-row/product-row.d.ts +0 -19
- package/lib/typescript/src/blocks/product-row/product-row.d.ts.map +0 -1
- package/lib/typescript/src/blocks/review-row/index.d.ts +0 -2
- package/lib/typescript/src/blocks/review-row/index.d.ts.map +0 -1
- package/lib/typescript/src/blocks/review-row/review-row.d.ts +0 -25
- package/lib/typescript/src/blocks/review-row/review-row.d.ts.map +0 -1
- package/lib/typescript/src/blocks/sales-chart/index.d.ts +0 -2
- package/lib/typescript/src/blocks/sales-chart/index.d.ts.map +0 -1
- package/lib/typescript/src/blocks/sales-chart/sales-chart.d.ts +0 -15
- package/lib/typescript/src/blocks/sales-chart/sales-chart.d.ts.map +0 -1
- package/lib/typescript/src/blocks/shipping-tracking-row/index.d.ts +0 -2
- package/lib/typescript/src/blocks/shipping-tracking-row/index.d.ts.map +0 -1
- package/lib/typescript/src/blocks/shipping-tracking-row/shipping-tracking-row.d.ts +0 -11
- package/lib/typescript/src/blocks/shipping-tracking-row/shipping-tracking-row.d.ts.map +0 -1
- package/lib/typescript/src/blocks/site-preview-frame/index.d.ts +0 -2
- package/lib/typescript/src/blocks/site-preview-frame/index.d.ts.map +0 -1
- package/lib/typescript/src/blocks/site-preview-frame/site-preview-frame.d.ts +0 -16
- package/lib/typescript/src/blocks/site-preview-frame/site-preview-frame.d.ts.map +0 -1
- package/lib/typescript/src/blocks/site-summary/index.d.ts +0 -2
- package/lib/typescript/src/blocks/site-summary/index.d.ts.map +0 -1
- package/lib/typescript/src/blocks/site-summary/site-summary.d.ts +0 -18
- package/lib/typescript/src/blocks/site-summary/site-summary.d.ts.map +0 -1
- package/lib/typescript/src/blocks/supply-item-card/index.d.ts +0 -2
- package/lib/typescript/src/blocks/supply-item-card/index.d.ts.map +0 -1
- package/lib/typescript/src/blocks/supply-item-card/supply-item-card.d.ts +0 -24
- package/lib/typescript/src/blocks/supply-item-card/supply-item-card.d.ts.map +0 -1
- package/lib/typescript/src/charts/line-chart.d.ts +0 -17
- package/lib/typescript/src/charts/line-chart.d.ts.map +0 -1
- package/lib/typescript/src/charts/scale.d.ts +0 -10
- package/lib/typescript/src/charts/scale.d.ts.map +0 -1
- package/lib/typescript/src/charts/sparkline.d.ts +0 -11
- package/lib/typescript/src/charts/sparkline.d.ts.map +0 -1
- package/lib/typescript/src/components/step-slider/index.d.ts +0 -2
- package/lib/typescript/src/components/step-slider/index.d.ts.map +0 -1
- package/lib/typescript/src/components/step-slider/step-slider.d.ts +0 -13
- package/lib/typescript/src/components/step-slider/step-slider.d.ts.map +0 -1
- package/lib/typescript/src/sortable/block-strip.d.ts +0 -14
- package/lib/typescript/src/sortable/block-strip.d.ts.map +0 -1
- package/lib/typescript/src/templates/editor-template.d.ts +0 -22
- package/lib/typescript/src/templates/editor-template.d.ts.map +0 -1
- package/src/blocks/action-grid/action-grid.tsx +0 -79
- package/src/blocks/action-grid/index.ts +0 -5
- package/src/blocks/brand-profile-card/brand-profile-card.tsx +0 -85
- package/src/blocks/brand-profile-card/index.ts +0 -4
- package/src/blocks/claim-row/claim-row.tsx +0 -134
- package/src/blocks/claim-row/index.ts +0 -7
- package/src/blocks/code-input/code-input.tsx +0 -111
- package/src/blocks/code-input/index.ts +0 -1
- package/src/blocks/copy-variant-picker/copy-variant-picker.tsx +0 -135
- package/src/blocks/copy-variant-picker/index.ts +0 -5
- package/src/blocks/cover-photos/cover-photos.tsx +0 -176
- package/src/blocks/cover-photos/index.ts +0 -5
- package/src/blocks/credit-wallet/credit-wallet.tsx +0 -111
- package/src/blocks/credit-wallet/index.ts +0 -1
- package/src/blocks/detail-editor/detail-composer.tsx +0 -261
- package/src/blocks/detail-editor/detail-editor-template.tsx +0 -109
- package/src/blocks/detail-editor/draft-strip.tsx +0 -102
- package/src/blocks/detail-editor/editor-bar.tsx +0 -116
- package/src/blocks/detail-editor/photo-tray.tsx +0 -140
- package/src/blocks/detail-editor/tool-row.tsx +0 -66
- package/src/blocks/image-grid/image-grid.tsx +0 -237
- package/src/blocks/image-grid/index.ts +0 -1
- package/src/blocks/inbox-row/inbox-row.tsx +0 -114
- package/src/blocks/inbox-row/index.ts +0 -1
- package/src/blocks/internal/format.ts +0 -24
- package/src/blocks/invoice-row/index.ts +0 -5
- package/src/blocks/invoice-row/invoice-row.tsx +0 -119
- package/src/blocks/option-editor/index.ts +0 -5
- package/src/blocks/option-editor/option-editor.tsx +0 -149
- package/src/blocks/order-card/index.ts +0 -15
- package/src/blocks/order-card/order-card.tsx +0 -220
- package/src/blocks/plan-card/index.ts +0 -1
- package/src/blocks/plan-card/plan-card.tsx +0 -148
- package/src/blocks/product-list-empty/index.ts +0 -5
- package/src/blocks/product-list-empty/product-list-empty.tsx +0 -146
- package/src/blocks/product-row/index.ts +0 -5
- package/src/blocks/product-row/product-row.tsx +0 -99
- package/src/blocks/review-row/index.ts +0 -8
- package/src/blocks/review-row/review-row.tsx +0 -257
- package/src/blocks/sales-chart/index.ts +0 -5
- package/src/blocks/sales-chart/sales-chart.tsx +0 -115
- package/src/blocks/shipping-tracking-row/index.ts +0 -5
- package/src/blocks/shipping-tracking-row/shipping-tracking-row.tsx +0 -92
- package/src/blocks/site-preview-frame/index.ts +0 -5
- package/src/blocks/site-preview-frame/site-preview-frame.tsx +0 -136
- package/src/blocks/site-summary/index.ts +0 -5
- package/src/blocks/site-summary/site-summary.tsx +0 -95
- package/src/blocks/supply-item-card/index.ts +0 -6
- package/src/blocks/supply-item-card/supply-item-card.tsx +0 -139
- package/src/charts/line-chart.tsx +0 -182
- package/src/charts/scale.ts +0 -46
- package/src/charts/sparkline.tsx +0 -60
- package/src/components/step-slider/index.ts +0 -1
- package/src/components/step-slider/step-slider.tsx +0 -153
- package/src/sortable/block-strip.tsx +0 -168
- package/src/templates/editor-template.tsx +0 -164
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["View","Button","ChipGroup","Photo","formatPrice","Text","PressableBase","makeStyles","Card","jsx","_jsx","jsxs","_jsxs","useStyles","t","card","gap","space","head","flexDirection","alignItems","image","width","name","flex","group","borderWidth","borderColor","colors","border","borderRadius","radius","lg","overflow","row","minHeight","controlSize","paddingHorizontal","divided","borderTopWidth","borderTopColor","pressed","backgroundColor","muted","radio","height","full","input","justifyContent","radioOn","primary","radioDot","quantity","SupplyItemCard","options","selectedOptionId","onSelectOption","quantities","selectedQuantity","onSelectQuantity","unit","onAdd","style","s","selected","find","q","children","source","variant","weight","length","items","map","o","value","id","label","onValueChange","accessibilityRole","i","on","qty","accessibilityState","accessibilityLabel","price","pressedStyle","onPress","undefined","size","disabled"],"sourceRoot":"../../../../src","sources":["blocks/supply-item-card/supply-item-card.tsx"],"mappings":";;AAAA,SACEA,IAAI,QAIC,cAAc;AACrB,SAASC,MAAM,QAAQ,mCAAgC;AACvD,SAASC,SAAS,QAAQ,2CAAwC;AAClE,SAASC,KAAK,QAAQ,iCAA8B;AACpD,SAASC,WAAW,QAAQ,iCAA8B;AAC1D,SAASC,I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CU,KAAK,EAAE,CAACC,CAAC,CAAC7B,GAAG,EAAE8C,CAAC,GAAG,CAAC,IAAIjB,CAAC,CAACzB,OAAO,CAAE;UAAA6B,QAAA,gBAEnCzD,IAAA,CAACV,IAAI;YAAC8D,KAAK,EAAE,CAACC,CAAC,CAACnB,KAAK,EAAEqC,EAAE,IAAIlB,CAAC,CAACd,OAAO,CAAE;YAAAkB,QAAA,EACrCc,EAAE,gBAAGvE,IAAA,CAACV,IAAI;cAAC8D,KAAK,EAAEC,CAAC,CAACZ;YAAS,CAAE,CAAC,GAAG;UAAI,CACpC,CAAC,eACPzC,IAAA,CAACL,IAAI;YAACiE,MAAM,EAAEW,EAAE,GAAG,UAAU,GAAGO,SAAU;YAAC1B,KAAK,EAAEC,CAAC,CAACX,QAAS;YAAAe,QAAA,EAC1De;UAAG,CACA,CAAC,eACPxE,IAAA,CAACL,IAAI;YAACiE,MAAM,EAAEW,EAAE,GAAG,UAAU,GAAGO,SAAU;YAAArB,QAAA,EACvC/D,WAAW,CAAC8D,CAAC,CAACmB,KAAK;UAAC,CACjB,CAAC;QAAA,GAhBFnB,CAAC,CAACd,QAiBM,CAAC;MAEpB,CAAC;IAAC,CACE,CAAC,EACNS,KAAK,gBACJnD,IAAA,CAACT,MAAM;MAACwF,IAAI,EAAC,IAAI;MAACC,QAAQ,EAAE,CAAC1B,QAAS;MAACuB,OAAO,EAAE1B,KAAM;MAAAM,QAAA,EACnDH,QAAQ,GAAG,GAAG5D,WAAW,CAAC4D,QAAQ,CAACqB,KAAK,CAAC,KAAK,GAAG;IAAI,CAChD,CAAC,GACP,IAAI;EAAA,CACJ,CAAC;AAEX","ignoreList":[]}
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { useState } from 'react';
|
|
4
|
-
import { View } from 'react-native';
|
|
5
|
-
import Svg, { Circle, Line, Path, Rect, Text as SvgText } from 'react-native-svg';
|
|
6
|
-
import { formatPrice } from "../components/price/price.js";
|
|
7
|
-
import { useTheme } from "../theme/theme-provider.js";
|
|
8
|
-
import { areaPath, labelStep, linearScale, linePath, niceTicks } from "./scale.js";
|
|
9
|
-
import { summarize } from "./summary.js";
|
|
10
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
-
const defaultFormat = v => formatPrice(v, '');
|
|
12
|
-
const PAD = {
|
|
13
|
-
top: 8,
|
|
14
|
-
right: 12,
|
|
15
|
-
bottom: 24,
|
|
16
|
-
gap: 8
|
|
17
|
-
};
|
|
18
|
-
const FONT_SIZE = 11;
|
|
19
|
-
const WIDE = /[\u1100-\u11ff\u3000-\u9fff\uac00-\ud7af\uff00-\uffef]/;
|
|
20
|
-
const NARROW = /[,.:'\s]/;
|
|
21
|
-
export function estimateLabelWidth(label, fontSize = FONT_SIZE) {
|
|
22
|
-
let em = 0;
|
|
23
|
-
for (const ch of label) {
|
|
24
|
-
em += WIDE.test(ch) ? 1 : NARROW.test(ch) ? 0.34 : 0.64;
|
|
25
|
-
}
|
|
26
|
-
return Math.ceil(em * fontSize) + 2;
|
|
27
|
-
}
|
|
28
|
-
export function LineChart({
|
|
29
|
-
data,
|
|
30
|
-
height = 200,
|
|
31
|
-
formatY = defaultFormat,
|
|
32
|
-
formatX = label => label,
|
|
33
|
-
onPointPress,
|
|
34
|
-
accessibilityLabel,
|
|
35
|
-
style
|
|
36
|
-
}) {
|
|
37
|
-
const t = useTheme();
|
|
38
|
-
const [width, setWidth] = useState(0);
|
|
39
|
-
const values = data.map(d => d.value);
|
|
40
|
-
const ticks = niceTicks(Math.min(0, ...values), Math.max(0, ...values));
|
|
41
|
-
const yLabels = ticks.map(formatY);
|
|
42
|
-
const left = Math.max(0, ...yLabels.map(l => estimateLabelWidth(l))) + PAD.gap;
|
|
43
|
-
const plot = {
|
|
44
|
-
x0: left,
|
|
45
|
-
x1: width - PAD.right,
|
|
46
|
-
y0: PAD.top,
|
|
47
|
-
y1: height - PAD.bottom
|
|
48
|
-
};
|
|
49
|
-
const y = linearScale([ticks[0], ticks[ticks.length - 1]], [plot.y1, plot.y0]);
|
|
50
|
-
const x = linearScale([0, Math.max(1, data.length - 1)], [plot.x0, plot.x1]);
|
|
51
|
-
const points = data.map((d, i) => ({
|
|
52
|
-
x: data.length === 1 ? (plot.x0 + plot.x1) / 2 : x(i),
|
|
53
|
-
y: y(d.value)
|
|
54
|
-
}));
|
|
55
|
-
const step = labelStep(data.length, Math.max(1, Math.floor((plot.x1 - plot.x0) / 56)));
|
|
56
|
-
const last = points[points.length - 1];
|
|
57
|
-
const slot = data.length > 1 ? (plot.x1 - plot.x0) / (data.length - 1) : plot.x1 - plot.x0;
|
|
58
|
-
return /*#__PURE__*/_jsx(View, {
|
|
59
|
-
accessible: true,
|
|
60
|
-
accessibilityRole: "image",
|
|
61
|
-
accessibilityLabel: accessibilityLabel ?? summarize(values, formatY),
|
|
62
|
-
onLayout: e => setWidth(e.nativeEvent.layout.width),
|
|
63
|
-
style: [{
|
|
64
|
-
height
|
|
65
|
-
}, style],
|
|
66
|
-
children: width > 0 ? /*#__PURE__*/_jsxs(Svg, {
|
|
67
|
-
width: width,
|
|
68
|
-
height: height,
|
|
69
|
-
children: [ticks.map((tick, i) => /*#__PURE__*/_jsx(Line, {
|
|
70
|
-
x1: plot.x0,
|
|
71
|
-
x2: plot.x1,
|
|
72
|
-
y1: y(tick),
|
|
73
|
-
y2: y(tick),
|
|
74
|
-
stroke: t.colors.border,
|
|
75
|
-
strokeWidth: 1,
|
|
76
|
-
strokeDasharray: i === 0 ? undefined : '3 4'
|
|
77
|
-
}, `g${tick}`)), ticks.map((tick, i) => /*#__PURE__*/_jsx(SvgText, {
|
|
78
|
-
x: plot.x0 - PAD.gap,
|
|
79
|
-
y: y(tick) + FONT_SIZE / 3,
|
|
80
|
-
fontSize: FONT_SIZE,
|
|
81
|
-
fontFamily: t.fontFamily,
|
|
82
|
-
fill: t.colors.mutedForeground,
|
|
83
|
-
textAnchor: "end",
|
|
84
|
-
children: yLabels[i]
|
|
85
|
-
}, `y${tick}`)), data.map((d, i) => i % step === 0 || i === data.length - 1 ? /*#__PURE__*/_jsx(SvgText, {
|
|
86
|
-
x: points[i].x,
|
|
87
|
-
y: height - 6,
|
|
88
|
-
fontSize: FONT_SIZE,
|
|
89
|
-
fontFamily: t.fontFamily,
|
|
90
|
-
fill: t.colors.mutedForeground,
|
|
91
|
-
textAnchor: i === 0 && data.length > 1 ? 'start' : i === data.length - 1 && data.length > 1 ? 'end' : 'middle',
|
|
92
|
-
children: formatX(d.label, i)
|
|
93
|
-
}, `x${i}`) : null), points.length > 1 ? /*#__PURE__*/_jsxs(_Fragment, {
|
|
94
|
-
children: [/*#__PURE__*/_jsx(Path, {
|
|
95
|
-
d: areaPath(points, plot.y1),
|
|
96
|
-
fill: t.colors.primary,
|
|
97
|
-
fillOpacity: 0.12
|
|
98
|
-
}), /*#__PURE__*/_jsx(Path, {
|
|
99
|
-
d: linePath(points),
|
|
100
|
-
fill: "none",
|
|
101
|
-
stroke: t.colors.primary,
|
|
102
|
-
strokeWidth: 2,
|
|
103
|
-
strokeLinejoin: "round",
|
|
104
|
-
strokeLinecap: "round"
|
|
105
|
-
})]
|
|
106
|
-
}) : null, last ? /*#__PURE__*/_jsx(Circle, {
|
|
107
|
-
cx: last.x,
|
|
108
|
-
cy: last.y,
|
|
109
|
-
r: 4,
|
|
110
|
-
fill: t.colors.primary,
|
|
111
|
-
stroke: t.colors.background,
|
|
112
|
-
strokeWidth: 2
|
|
113
|
-
}) : null, onPointPress ? data.map((d, i) => /*#__PURE__*/_jsx(Rect, {
|
|
114
|
-
x: points[i].x - slot / 2,
|
|
115
|
-
y: plot.y0,
|
|
116
|
-
width: slot,
|
|
117
|
-
height: plot.y1 - plot.y0,
|
|
118
|
-
fill: "transparent",
|
|
119
|
-
onPress: () => onPointPress(d, i)
|
|
120
|
-
}, `hit${i}`)) : null]
|
|
121
|
-
}) : null
|
|
122
|
-
});
|
|
123
|
-
}
|
|
124
|
-
//# sourceMappingURL=line-chart.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useState","View","Svg","Circle","Line","Path","Rect","Text","SvgText","formatPrice","useTheme","areaPath","labelStep","linearScale","linePath","niceTicks","summarize","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","defaultFormat","v","PAD","top","right","bottom","gap","FONT_SIZE","WIDE","NARROW","estimateLabelWidth","label","fontSize","em","ch","test","Math","ceil","LineChart","data","height","formatY","formatX","onPointPress","accessibilityLabel","style","t","width","setWidth","values","map","d","value","ticks","min","max","yLabels","left","l","plot","x0","x1","y0","y1","y","length","x","points","i","step","floor","last","slot","accessible","accessibilityRole","onLayout","e","nativeEvent","layout","children","tick","x2","y2","stroke","colors","border","strokeWidth","strokeDasharray","undefined","fontFamily","fill","mutedForeground","textAnchor","primary","fillOpacity","strokeLinejoin","strokeLinecap","cx","cy","r","background","onPress"],"sourceRoot":"../../../src","sources":["charts/line-chart.tsx"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,OAAO;AAChC,SAASC,IAAI,QAAwC,cAAc;AACnE,OAAOC,GAAG,IACRC,MAAM,EACNC,IAAI,EACJC,IAAI,EACJC,IAAI,EACJC,IAAI,IAAIC,OAAO,QACV,kBAAkB;AACzB,SAASC,WAAW,QAAQ,8BAA2B;AACvD,SAASC,QAAQ,QAAQ,4BAAyB;AAClD,SAASC,QAAQ,EAAEC,SAAS,EAAEC,WAAW,EAAEC,QAAQ,EAAEC,SAAS,QAAQ,YAAS;AAC/E,SAASC,SAAS,QAAQ,cAAW;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA,EAAAC,IAAA,IAAAC,KAAA;AActC,MAAMC,aAAa,GAAIC,CAAS,IAAKf,WAAW,CAACe,CAAC,EAAE,EAAE,CAAC;AACvD,MAAMC,GAAG,GAAG;EAAEC,GAAG,EAAE,CAAC;EAAEC,KAAK,EAAE,EAAE;EAAEC,MAAM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AI,CACJ,CAAC;AAEX","ignoreList":[]}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
const STEPS = [1, 2, 2.5, 5, 10];
|
|
4
|
-
export function niceTicks(min, max, count = 4) {
|
|
5
|
-
let lo = Math.min(min, max);
|
|
6
|
-
let hi = Math.max(min, max);
|
|
7
|
-
if (!Number.isFinite(lo) || !Number.isFinite(hi)) return [0, 1];
|
|
8
|
-
if (lo === hi) {
|
|
9
|
-
if (hi === 0) hi = 1;else if (hi > 0) lo = 0;else hi = 0;
|
|
10
|
-
}
|
|
11
|
-
const raw = (hi - lo) / Math.max(1, count - 1);
|
|
12
|
-
const magnitude = 10 ** Math.floor(Math.log10(raw));
|
|
13
|
-
const step = (STEPS.find(s => s * magnitude >= raw) ?? 10) * magnitude;
|
|
14
|
-
const start = Math.floor(lo / step) * step;
|
|
15
|
-
const end = Math.ceil(hi / step) * step;
|
|
16
|
-
const ticks = [];
|
|
17
|
-
for (let v = start; v <= end + step / 2; v += step) {
|
|
18
|
-
ticks.push(Math.round(v / step) * step);
|
|
19
|
-
}
|
|
20
|
-
return ticks;
|
|
21
|
-
}
|
|
22
|
-
export function linearScale(domain, range) {
|
|
23
|
-
const [d0, d1] = domain;
|
|
24
|
-
const [r0, r1] = range;
|
|
25
|
-
return v => d1 === d0 ? (r0 + r1) / 2 : r0 + (v - d0) / (d1 - d0) * (r1 - r0);
|
|
26
|
-
}
|
|
27
|
-
export function linePath(points) {
|
|
28
|
-
return points.map((p, i) => `${i === 0 ? 'M' : 'L'}${p.x},${p.y}`).join(' ');
|
|
29
|
-
}
|
|
30
|
-
export function areaPath(points, baseline) {
|
|
31
|
-
if (points.length === 0) return '';
|
|
32
|
-
const first = points[0];
|
|
33
|
-
const last = points[points.length - 1];
|
|
34
|
-
return `${linePath(points)} L${last.x},${baseline} L${first.x},${baseline} Z`;
|
|
35
|
-
}
|
|
36
|
-
export function labelStep(count, maxLabels) {
|
|
37
|
-
return Math.max(1, Math.ceil(count / Math.max(1, maxLabels)));
|
|
38
|
-
}
|
|
39
|
-
//# sourceMappingURL=scale.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["STEPS","niceTicks","min","max","count","lo","Math","hi","Number","isFinite","raw","magnitude","floor","log10","step","find","s","start","end","ceil","ticks","v","push","round","linearScale","domain","range","d0","d1","r0","r1","linePath","points","map","p","i","x","y","join","areaPath","baseline","length","first","last","labelStep","maxLabels"],"sourceRoot":"../../../src","sources":["charts/scale.ts"],"mappings":";;AAEA,MAAMA,KAAK,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;AAEhC,OAAO,SAASC,SAASA,CAACC,GAAW,EAAEC,GAAW,EAAEC,KAAK,GAAG,CAAC,EAAY;EACvE,IAAIC,EAAE,GAAGC,IAAI,CAACJ,GAAG,CAACA,GAAG,EAAEC,GAAG,CAAC;EAC3B,IAAII,EAAE,GAAGD,IAAI,CAACH,GAAG,CAACD,GAAG,EAAEC,GAAG,CAAC;EAC3B,IAAI,CAACK,MAAM,CAACC,QAAQ,CAACJ,EAAE,CAAC,IAAI,CAACG,MAAM,CAACC,QAAQ,CAACF,EAAE,CAAC,EAAE,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC;EAC/D,IAAIF,EAAE,KAAKE,EAAE,EAAE;IACb,IAAIA,EAAE,KAAK,CAAC,EAAEA,EAAE,GAAG,CAAC,CAAC,KAChB,IAAIA,EAAE,GAAG,CAAC,EAAEF,EAAE,GAAG,CAAC,CAAC,KACnBE,EAAE,GAAG,CAAC;EACb;EACA,MAAMG,GAAG,GAAG,CAACH,EAAE,GAAGF,EAAE,IAAIC,IAAI,CAACH,GAAG,CAAC,CAAC,EAAEC,KAAK,GAAG,CAAC,CAAC;EAC9C,MAAMO,SAAS,GAAG,EAAE,IAAIL,IAAI,CAACM,KAAK,CAACN,IAAI,CAACO,KAAK,CAACH,GAAG,CAA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AAG,CAAC;AAC9E;AAEA,OAAO,SAASC,QAAQA,CAACP,MAAe,EAAEQ,QAAgB,EAAU;EAClE,IAAIR,MAAM,CAACS,MAAM,KAAK,CAAC,EAAE,OAAO,EAAE;EAClC,MAAMC,KAAK,GAAGV,MAAM,CAAC,CAAC,CAAE;EACxB,MAAMW,IAAI,GAAGX,MAAM,CAACA,MAAM,CAACS,MAAM,GAAG,CAAC,CAAE;EACvC,OAAO,GAAGV,QAAQ,CAACC,MAAM,CAAC,KAAKW,IAAI,CAACP,CAAC,IAAII,QAAQ,KAAKE,KAAK,CAACN,CAAC,IAAII,QAAQ,IAAI;AAC/E;AAEA,OAAO,SAASI,SAASA,CAACxC,KAAa,EAAEyC,SAAiB,EAAU;EAClE,OAAOvC,IAAI,CAACH,GAAG,CAAC,CAAC,EAAEG,IAAI,CAACa,IAAI,CAACf,KAAK,GAAGE,IAAI,CAACH,GAAG,CAAC,CAAC,EAAE0C,SAAS,CAAC,CAAC,CAAC;AAC/D","ignoreList":[]}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { View } from 'react-native';
|
|
4
|
-
import Svg, { Path } from 'react-native-svg';
|
|
5
|
-
import { formatPrice } from "../components/price/price.js";
|
|
6
|
-
import { useTheme } from "../theme/theme-provider.js";
|
|
7
|
-
import { linearScale, linePath } from "./scale.js";
|
|
8
|
-
import { summarize } from "./summary.js";
|
|
9
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
-
export function Sparkline({
|
|
11
|
-
data,
|
|
12
|
-
width = 80,
|
|
13
|
-
height = 24,
|
|
14
|
-
color,
|
|
15
|
-
accessibilityLabel,
|
|
16
|
-
style
|
|
17
|
-
}) {
|
|
18
|
-
const t = useTheme();
|
|
19
|
-
const values = [...data];
|
|
20
|
-
const stroke = 1.5;
|
|
21
|
-
const y = linearScale([Math.min(...values), Math.max(...values)], [height - stroke, stroke]);
|
|
22
|
-
const x = linearScale([0, Math.max(1, values.length - 1)], [stroke, width - stroke]);
|
|
23
|
-
const points = values.map((v, i) => ({
|
|
24
|
-
x: x(i),
|
|
25
|
-
y: y(v)
|
|
26
|
-
}));
|
|
27
|
-
return /*#__PURE__*/_jsx(View, {
|
|
28
|
-
accessible: true,
|
|
29
|
-
accessibilityRole: "image",
|
|
30
|
-
accessibilityLabel: accessibilityLabel ?? summarize(values, v => formatPrice(v, '')),
|
|
31
|
-
style: [{
|
|
32
|
-
width,
|
|
33
|
-
height
|
|
34
|
-
}, style],
|
|
35
|
-
children: points.length > 1 ? /*#__PURE__*/_jsx(Svg, {
|
|
36
|
-
width: width,
|
|
37
|
-
height: height,
|
|
38
|
-
children: /*#__PURE__*/_jsx(Path, {
|
|
39
|
-
d: linePath(points),
|
|
40
|
-
fill: "none",
|
|
41
|
-
stroke: color ?? t.colors.primary,
|
|
42
|
-
strokeWidth: stroke,
|
|
43
|
-
strokeLinejoin: "round",
|
|
44
|
-
strokeLinecap: "round"
|
|
45
|
-
})
|
|
46
|
-
}) : null
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
//# sourceMappingURL=sparkline.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["View","Svg","Path","formatPrice","useTheme","linearScale","linePath","summarize","jsx","_jsx","Sparkline","data","width","height","color","accessibilityLabel","style","t","values","stroke","y","Math","min","max","x","length","points","map","v","i","accessible","accessibilityRole","children","d","fill","colors","primary","strokeWidth","strokeLinejoin","strokeLinecap"],"sourceRoot":"../../../src","sources":["charts/sparkline.tsx"],"mappings":";;AAAA,SAASA,IAAI,QAAwC,cAAc;AACnE,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;AAC5C,SAASC,WAAW,QAAQ,8BAA2B;AACvD,SAASC,QAAQ,QAAQ,4BAAyB;AAClD,SAASC,WAAW,EAAEC,QAAQ,QAAQ,YAAS;AAC/C,SAASC,SAAS,QAAQ,cAAW;AAAC,SAAAC,GAAA,IAAAC,IA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AAEA,KAAM;MAACC,MAAM,EAAEA,MAAO;MAAAmB,QAAA,eAChCvB,IAAA,CAACP,IAAI;QACH+B,CAAC,EAAE3B,QAAQ,CAACoB,MAAM,CAAE;QACpBQ,IAAI,EAAC,MAAM;QACXf,MAAM,EAAEL,KAAK,IAAIG,CAAC,CAACkB,MAAM,CAACC,OAAQ;QAClCC,WAAW,EAAElB,MAAO;QACpBmB,cAAc,EAAC,OAAO;QACtBC,aAAa,EAAC;MAAO,CACtB;IAAC,CACC,CAAC,GACJ;EAAI,CACJ,CAAC;AAEX","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["StepSlider"],"sourceRoot":"../../../../src","sources":["components/step-slider/index.ts"],"mappings":";;AAAA,SAASA,UAAU,QAA8B,kBAAe","ignoreList":[]}
|
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { useMemo, useRef, useState } from 'react';
|
|
4
|
-
import { PanResponder, View } from 'react-native';
|
|
5
|
-
import { makeStyles } from "../../utils/styles.js";
|
|
6
|
-
import { Text } from "../text/text.js";
|
|
7
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
|
-
const TRACK = 4;
|
|
9
|
-
const TICK = 4;
|
|
10
|
-
const THUMB = 20;
|
|
11
|
-
const useStyles = makeStyles(t => ({
|
|
12
|
-
root: {
|
|
13
|
-
flexDirection: 'row',
|
|
14
|
-
alignItems: 'center',
|
|
15
|
-
gap: t.space[2]
|
|
16
|
-
},
|
|
17
|
-
end: {
|
|
18
|
-
width: t.space[12]
|
|
19
|
-
},
|
|
20
|
-
endRight: {
|
|
21
|
-
width: t.space[12],
|
|
22
|
-
textAlign: 'right'
|
|
23
|
-
},
|
|
24
|
-
area: {
|
|
25
|
-
flex: 1,
|
|
26
|
-
height: t.minTouchSize,
|
|
27
|
-
justifyContent: 'center'
|
|
28
|
-
},
|
|
29
|
-
track: {
|
|
30
|
-
position: 'absolute',
|
|
31
|
-
left: 0,
|
|
32
|
-
right: 0,
|
|
33
|
-
height: TRACK,
|
|
34
|
-
borderRadius: t.radius.full,
|
|
35
|
-
backgroundColor: t.colors.ring
|
|
36
|
-
},
|
|
37
|
-
ticks: {
|
|
38
|
-
paddingHorizontal: t.space[2],
|
|
39
|
-
flexDirection: 'row',
|
|
40
|
-
justifyContent: 'space-between',
|
|
41
|
-
alignItems: 'center'
|
|
42
|
-
},
|
|
43
|
-
tick: {
|
|
44
|
-
width: TICK,
|
|
45
|
-
height: t.space[3],
|
|
46
|
-
borderRadius: t.radius.full,
|
|
47
|
-
backgroundColor: t.colors.ring
|
|
48
|
-
},
|
|
49
|
-
thumb: {
|
|
50
|
-
position: 'absolute',
|
|
51
|
-
width: THUMB,
|
|
52
|
-
height: THUMB,
|
|
53
|
-
borderRadius: t.radius.full,
|
|
54
|
-
backgroundColor: t.colors.foreground
|
|
55
|
-
}
|
|
56
|
-
}));
|
|
57
|
-
export function StepSlider({
|
|
58
|
-
value,
|
|
59
|
-
min = -2,
|
|
60
|
-
max = 2,
|
|
61
|
-
onChange,
|
|
62
|
-
startLabel,
|
|
63
|
-
endLabel,
|
|
64
|
-
accessibilityLabel,
|
|
65
|
-
style
|
|
66
|
-
}) {
|
|
67
|
-
const s = useStyles();
|
|
68
|
-
const [width, setWidth] = useState(0);
|
|
69
|
-
const count = max - min;
|
|
70
|
-
const latest = useRef({
|
|
71
|
-
value,
|
|
72
|
-
onChange,
|
|
73
|
-
min,
|
|
74
|
-
max,
|
|
75
|
-
width,
|
|
76
|
-
count
|
|
77
|
-
});
|
|
78
|
-
latest.current = {
|
|
79
|
-
value,
|
|
80
|
-
onChange,
|
|
81
|
-
min,
|
|
82
|
-
max,
|
|
83
|
-
width,
|
|
84
|
-
count
|
|
85
|
-
};
|
|
86
|
-
const origin = useRef(0);
|
|
87
|
-
const pick = x => {
|
|
88
|
-
const {
|
|
89
|
-
width: w,
|
|
90
|
-
min: lo,
|
|
91
|
-
count: n,
|
|
92
|
-
value: now,
|
|
93
|
-
onChange: change
|
|
94
|
-
} = latest.current;
|
|
95
|
-
if (w <= 0) return;
|
|
96
|
-
const span = w - THUMB;
|
|
97
|
-
const at = Math.max(0, Math.min(span, x - THUMB / 2));
|
|
98
|
-
const next = lo + Math.round(at / span * n);
|
|
99
|
-
if (next !== now) change(next);
|
|
100
|
-
};
|
|
101
|
-
const pan = useMemo(() => PanResponder.create({
|
|
102
|
-
onStartShouldSetPanResponder: () => true,
|
|
103
|
-
onMoveShouldSetPanResponder: (_, g) => Math.abs(g.dx) > Math.abs(g.dy),
|
|
104
|
-
onPanResponderTerminationRequest: () => false,
|
|
105
|
-
onPanResponderGrant: e => {
|
|
106
|
-
origin.current = e.nativeEvent.locationX;
|
|
107
|
-
pick(origin.current);
|
|
108
|
-
},
|
|
109
|
-
onPanResponderMove: (_, g) => pick(origin.current + g.dx)
|
|
110
|
-
}), []);
|
|
111
|
-
const left = width > 0 ? (value - min) / count * (width - THUMB) : 0;
|
|
112
|
-
const ticks = [];
|
|
113
|
-
for (let v = min; v <= max; v += 1) ticks.push(/*#__PURE__*/_jsx(View, {
|
|
114
|
-
style: s.tick
|
|
115
|
-
}, v));
|
|
116
|
-
return /*#__PURE__*/_jsxs(View, {
|
|
117
|
-
style: [s.root, style],
|
|
118
|
-
children: [startLabel ? /*#__PURE__*/_jsx(Text, {
|
|
119
|
-
variant: "caption",
|
|
120
|
-
tone: "muted",
|
|
121
|
-
numberOfLines: 1,
|
|
122
|
-
style: s.end,
|
|
123
|
-
children: startLabel
|
|
124
|
-
}) : null, /*#__PURE__*/_jsxs(View, {
|
|
125
|
-
...pan.panHandlers,
|
|
126
|
-
accessible: true,
|
|
127
|
-
accessibilityRole: "adjustable",
|
|
128
|
-
accessibilityLabel: accessibilityLabel,
|
|
129
|
-
accessibilityValue: {
|
|
130
|
-
min,
|
|
131
|
-
max,
|
|
132
|
-
now: value
|
|
133
|
-
},
|
|
134
|
-
accessibilityActions: [{
|
|
135
|
-
name: 'increment'
|
|
136
|
-
}, {
|
|
137
|
-
name: 'decrement'
|
|
138
|
-
}],
|
|
139
|
-
onAccessibilityAction: e => {
|
|
140
|
-
const next = value + (e.nativeEvent.actionName === 'increment' ? 1 : -1);
|
|
141
|
-
if (next >= min && next <= max) onChange(next);
|
|
142
|
-
},
|
|
143
|
-
onLayout: e => setWidth(e.nativeEvent.layout.width),
|
|
144
|
-
style: s.area,
|
|
145
|
-
children: [/*#__PURE__*/_jsx(View, {
|
|
146
|
-
style: s.track,
|
|
147
|
-
pointerEvents: "none"
|
|
148
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
149
|
-
style: s.ticks,
|
|
150
|
-
pointerEvents: "none",
|
|
151
|
-
children: ticks
|
|
152
|
-
}), width > 0 ? /*#__PURE__*/_jsx(View, {
|
|
153
|
-
style: [s.thumb, {
|
|
154
|
-
left
|
|
155
|
-
}],
|
|
156
|
-
pointerEvents: "none"
|
|
157
|
-
}) : null]
|
|
158
|
-
}), endLabel ? /*#__PURE__*/_jsx(Text, {
|
|
159
|
-
variant: "caption",
|
|
160
|
-
tone: "muted",
|
|
161
|
-
numberOfLines: 1,
|
|
162
|
-
style: s.endRight,
|
|
163
|
-
children: endLabel
|
|
164
|
-
}) : null]
|
|
165
|
-
});
|
|
166
|
-
}
|
|
167
|
-
//# sourceMappingURL=step-slider.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useMemo","useRef","useState","PanResponder","View","makeStyles","Text","jsx","_jsx","jsxs","_jsxs","TRACK","TICK","THUMB","useStyles","t","root","flexDirection","alignItems","gap","space","end","width","endRight","textAlign","area","flex","height","minTouchSize","justifyContent","track","position","left","right","borderRadius","radius","full","backgroundColor","colors","ring","ticks","paddingHorizontal","tick","thumb","foreground","StepSlider","value","min","max","onChange","startLabel","endLabel","accessibilityLabel","style","s","setWidth","count","latest","current","origin","pick","x","w","lo","n","now","change","span","at","Math","next","round","pan","create","onStartShouldSetPanResponder","onMoveShouldSetPanResponder","_","g","abs","dx","dy","onPanResponderTerminationRequest","onPanResponderGrant","e","nativeEvent","locationX","onPanResponderMove","v","push","children","variant","tone","numberOfLines","panHandlers","accessible","accessibilityRole","accessibilityValue","accessibilityActions","name","onAccessibilityAction","actionName","onLayout","layout","pointerEvents"],"sourceRoot":"../../../../src","sources":["components/step-slider/step-slider.tsx"],"mappings":";;AAAA,SAASA,OAAO,EAAEC,MAAM,EAAEC,QAAQ,QAAQ,OAAO;AACjD,SACEC,YAAY,EACZC,IAAI,QAIC,cAAc;AACrB,SAASC,UAAU,QAAQ,uBAAoB;AAC/C,SAASC,IAAI,QAAQ,iBAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAapC,MAAMC,KAAK,GAAG,CAAC;AACf,MAAMC,IAAI,GAAG,CAAC;AACd,MAAMC,KAAK,GAAG,EAAE;AAEhB,MAAMC,SAAS,GAAGT,UAAU,CAAEU,CAAC,KAAM;EACnCC,IAAI,EAAE;IAAEC,aAAa,EAAE,KAAK;IAAEC,UAAU,EAAE,QAAQ;IAAEC,GAAG,EAAEJ,CAAC,CAACK,KAAK,CAAC,CAAC;EAAE,CAAC;EACrEC,GAAG,EAAE;IAAEC,KAAK,EAAEP,CAAC,CAACK,KAAK,CAAC,EAAE;EAAE,CAAC;EAC3BG,QAAQ,EAAE;IAAED,KAAK,EAAEP,CAAC,CAACK,KAAK,CAAC,EAAE,CAAC;IAAEI,SAAS,EAAE;EAAQ,CAAC;EACpDC,IAAI,EAAE;IAAEC,IAAI,EAAE,CAAC;IAAEC,MAAM,EAAEZ,CAAC,CAACa,YAAY;IAAEC,cAAc,EAAE;EAAS,CAAC;EACnEC,KAAK,EAAE;IACLC,QAAQ,EAAE,UAAU;IACpBC,IAAI,EAAE,CAAC;IACPC,KAAK,EAAE,CAAC;IACRN,MAAM,EAAEhB,KAAK;IACbuB,YAAY,EAAEnB,CAAC,CAACoB,MAAM,CAACC,IAAI;IA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AW,CAACgB,UAAU,KAAK,WAAW,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;QAC7D,IAAI9B,IAAI,IAAIvB,GAAG,IAAIuB,IAAI,IAAItB,GAAG,EAAEC,QAAQ,CAACqB,IAAI,CAAC;MAChD,CAAE;MACF+B,QAAQ,EAAGlB,CAAoB,IAC7B5B,QAAQ,CAAC4B,CAAC,CAACC,WAAW,CAACkB,MAAM,CAAChF,KAAK,CACpC;MACD+B,KAAK,EAAEC,CAAC,CAAC7B,IAAK;MAAAgE,QAAA,gBAEdjF,IAAA,CAACJ,IAAI;QAACiD,KAAK,EAAEC,CAAC,CAACxB,KAAM;QAACyE,aAAa,EAAC;MAAM,CAAE,CAAC,eAC7C/F,IAAA,CAACJ,IAAI;QAACiD,KAAK,EAAEC,CAAC,CAACd,KAAM;QAAC+D,aAAa,EAAC,MAAM;QAAAd,QAAA,EACvCjD;MAAK,CACF,CAAC,EACNlB,KAAK,GAAG,CAAC,gBACRd,IAAA,CAACJ,IAAI;QAACiD,KAAK,EAAE,CAACC,CAAC,CAACX,KAAK,EAAE;UAAEX;QAAK,CAAC,CAAE;QAACuE,aAAa,EAAC;MAAM,CAAE,CAAC,GACvD,IAAI;IAAA,CACJ,CAAC,EACNpD,QAAQ,gBACP3C,IAAA,CAACF,IAAI;MACHoF,OAAO,EAAC,SAAS;MACjBC,IAAI,EAAC,OAAO;MACZC,aAAa,EAAE,CAAE;MACjBvC,KAAK,EAAEC,CAAC,CAAC/B,QAAS;MAAAkE,QAAA,EAEjBtC;IAAQ,CACL,CAAC,GACL,IAAI;EAAA,CACJ,CAAC;AAEX","ignoreList":[]}
|
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { useEffect, useRef, useState } from 'react';
|
|
4
|
-
import { ScrollView, Text as RNText, View } from 'react-native';
|
|
5
|
-
import Sortable from 'react-native-sortables';
|
|
6
|
-
import { PressableBase } from "../internal/pressable-base.js";
|
|
7
|
-
import { useTheme } from "../theme/theme-provider.js";
|
|
8
|
-
import { makeStyles } from "../utils/styles.js";
|
|
9
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
-
const W = 54;
|
|
11
|
-
const H = 70;
|
|
12
|
-
const useStyles = makeStyles(t => ({
|
|
13
|
-
row: {
|
|
14
|
-
paddingHorizontal: t.space[3],
|
|
15
|
-
paddingVertical: t.space[2],
|
|
16
|
-
flexDirection: 'row',
|
|
17
|
-
gap: t.space[2],
|
|
18
|
-
alignItems: 'center'
|
|
19
|
-
},
|
|
20
|
-
chip: {
|
|
21
|
-
width: W,
|
|
22
|
-
height: H,
|
|
23
|
-
overflow: 'hidden',
|
|
24
|
-
borderRadius: t.radius.md,
|
|
25
|
-
borderWidth: 1,
|
|
26
|
-
borderColor: t.colors.border,
|
|
27
|
-
backgroundColor: t.colors.surface
|
|
28
|
-
},
|
|
29
|
-
on: {
|
|
30
|
-
borderWidth: 2.5,
|
|
31
|
-
borderColor: t.colors.primary
|
|
32
|
-
},
|
|
33
|
-
num: {
|
|
34
|
-
position: 'absolute',
|
|
35
|
-
left: t.space[1],
|
|
36
|
-
top: t.space[1],
|
|
37
|
-
minWidth: t.space[4] + 2,
|
|
38
|
-
height: t.space[4] + 2,
|
|
39
|
-
borderRadius: t.radius.full,
|
|
40
|
-
alignItems: 'center',
|
|
41
|
-
justifyContent: 'center'
|
|
42
|
-
},
|
|
43
|
-
numText: {
|
|
44
|
-
fontSize: t.typography.caption.fontSize - 1,
|
|
45
|
-
fontWeight: '700',
|
|
46
|
-
color: t.colors.primaryForeground
|
|
47
|
-
},
|
|
48
|
-
add: {
|
|
49
|
-
width: W,
|
|
50
|
-
height: H,
|
|
51
|
-
borderRadius: t.radius.md,
|
|
52
|
-
borderWidth: 1,
|
|
53
|
-
borderStyle: 'dashed',
|
|
54
|
-
borderColor: t.colors.input,
|
|
55
|
-
alignItems: 'center',
|
|
56
|
-
justifyContent: 'center'
|
|
57
|
-
},
|
|
58
|
-
plus: {
|
|
59
|
-
fontSize: t.typography.title.fontSize,
|
|
60
|
-
color: t.colors.mutedForeground
|
|
61
|
-
}
|
|
62
|
-
}));
|
|
63
|
-
export function BlockStrip({
|
|
64
|
-
items,
|
|
65
|
-
value,
|
|
66
|
-
onValueChange,
|
|
67
|
-
onReorder,
|
|
68
|
-
onAdd
|
|
69
|
-
}) {
|
|
70
|
-
const t = useTheme();
|
|
71
|
-
const s = useStyles();
|
|
72
|
-
const scroller = useRef(null);
|
|
73
|
-
const offset = useRef(0);
|
|
74
|
-
const [width, setWidth] = useState(0);
|
|
75
|
-
const picked = items.findIndex(item => item.key === value);
|
|
76
|
-
useEffect(() => {
|
|
77
|
-
if (picked < 0 || width <= 0) return;
|
|
78
|
-
const edge = t.space[3];
|
|
79
|
-
const left = edge + picked * (W + t.space[2]);
|
|
80
|
-
const right = left + W;
|
|
81
|
-
const now = offset.current;
|
|
82
|
-
const next = left - edge < now ? left - edge : right + edge > now + width ? right + edge - width : now;
|
|
83
|
-
if (next !== now) {
|
|
84
|
-
scroller.current?.scrollTo({
|
|
85
|
-
x: Math.max(0, next),
|
|
86
|
-
animated: true
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
}, [picked, width, t]);
|
|
90
|
-
return /*#__PURE__*/_jsxs(ScrollView, {
|
|
91
|
-
ref: scroller,
|
|
92
|
-
horizontal: true,
|
|
93
|
-
showsHorizontalScrollIndicator: false,
|
|
94
|
-
contentContainerStyle: s.row,
|
|
95
|
-
scrollEventThrottle: 16,
|
|
96
|
-
onScroll: e => {
|
|
97
|
-
offset.current = e.nativeEvent.contentOffset.x;
|
|
98
|
-
},
|
|
99
|
-
onLayout: e => setWidth(e.nativeEvent.layout.width),
|
|
100
|
-
children: [/*#__PURE__*/_jsx(View, {
|
|
101
|
-
style: {
|
|
102
|
-
width: items.length * (W + t.space[2]) - t.space[2]
|
|
103
|
-
},
|
|
104
|
-
children: /*#__PURE__*/_jsx(Sortable.Grid, {
|
|
105
|
-
data: [...items],
|
|
106
|
-
keyExtractor: item => item.key,
|
|
107
|
-
rows: 1,
|
|
108
|
-
rowHeight: H,
|
|
109
|
-
columnGap: t.space[2],
|
|
110
|
-
activeItemScale: 1.12,
|
|
111
|
-
inactiveItemOpacity: 1,
|
|
112
|
-
onDragEnd: ({
|
|
113
|
-
data
|
|
114
|
-
}) => onReorder(data.map(item => item.key)),
|
|
115
|
-
renderItem: ({
|
|
116
|
-
item,
|
|
117
|
-
index
|
|
118
|
-
}) => {
|
|
119
|
-
const on = item.key === value;
|
|
120
|
-
return /*#__PURE__*/_jsxs(PressableBase, {
|
|
121
|
-
onPress: () => onValueChange(item.key),
|
|
122
|
-
accessibilityLabel: `블록 ${index + 1}`,
|
|
123
|
-
accessibilityState: {
|
|
124
|
-
selected: on
|
|
125
|
-
},
|
|
126
|
-
pressedStyle: {},
|
|
127
|
-
style: [s.chip, on && s.on],
|
|
128
|
-
children: [item.thumb, /*#__PURE__*/_jsx(View, {
|
|
129
|
-
style: [s.num, {
|
|
130
|
-
backgroundColor: on ? t.colors.primary : t.colors.foreground
|
|
131
|
-
}],
|
|
132
|
-
children: /*#__PURE__*/_jsx(RNText, {
|
|
133
|
-
style: s.numText,
|
|
134
|
-
children: index + 1
|
|
135
|
-
})
|
|
136
|
-
})]
|
|
137
|
-
});
|
|
138
|
-
}
|
|
139
|
-
})
|
|
140
|
-
}), onAdd ? /*#__PURE__*/_jsx(PressableBase, {
|
|
141
|
-
onPress: onAdd,
|
|
142
|
-
accessibilityLabel: "\uBE14\uB85D \uCD94\uAC00",
|
|
143
|
-
style: s.add,
|
|
144
|
-
children: /*#__PURE__*/_jsx(RNText, {
|
|
145
|
-
style: s.plus,
|
|
146
|
-
children: "+"
|
|
147
|
-
})
|
|
148
|
-
}) : null]
|
|
149
|
-
});
|
|
150
|
-
}
|
|
151
|
-
//# sourceMappingURL=block-strip.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useEffect","useRef","useState","ScrollView","Text","RNText","View","Sortable","PressableBase","useTheme","makeStyles","jsx","_jsx","jsxs","_jsxs","W","H","useStyles","t","row","paddingHorizontal","space","paddingVertical","flexDirection","gap","alignItems","chip","width","height","overflow","borderRadius","radius","md","borderWidth","borderColor","colors","border","backgroundColor","surface","on","primary","num","position","left","top","minWidth","full","justifyContent","numText","fontSize","typography","caption","fontWeight","color","primaryForeground","add","borderStyle","input","plus","title","mutedForeground","BlockStrip","items","value","onValueChange","onReorder","onAdd","s","scroller","offset","setWidth","picked","findIndex","item","key","edge","right","now","current","next","scrollTo","x","Math","max","animated","ref","horizontal","showsHorizontalScrollIndicator","contentContainerStyle","scrollEventThrottle","onScroll","e","nativeEvent","contentOffset","onLayout","layout","children","style","length","Grid","data","keyExtractor","rows","rowHeight","columnGap","activeItemScale","inactiveItemOpacity","onDragEnd","map","renderItem","index","onPress","accessibilityLabel","accessibilityState","selected","pressedStyle","thumb","foreground"],"sourceRoot":"../../../src","sources":["sortable/block-strip.tsx"],"mappings":";;AAAA,SACEA,SAAS,EACTC,MAAM,EACNC,QAAQ,QAGH,OAAO;AACd,SAASC,UAAU,EAAEC,IAAI,IAAIC,MAAM,EAAEC,IAAI,QAAQ,cAAc;AAC/D,OAAOC,QAAQ,MAAM,wBAAwB;AAC7C,SAASC,aAAa,QAAQ,+BAA4B;AAC1D,SAASC,QAAQ,QAAQ,4BAAyB;AAClD,SAASC,UAAU,QAAQ,oBAAiB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAY7C,MAAMC,CAAC,GAAG,EAAE;AACZ,MAAMC,CAAC,GAAG,EAAE;AAEZ,MAAMC,SAAS,GAAGP,UAAU,CAAEQ,CAAC,KAAM;EACnCC,GAAG,EAAE;IACHC,iBAAiB,EAAEF,CAAC,CAACG,KAAK,CAAC,CAAC,CAAC;IAC7BC,eAAe,EAAEJ,CAAC,CAACG,KAAK,CAAC,CAAC,CAAC;IAC3BE,aAAa,EAAE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