@ezpg/app-ui 0.19.1 → 0.21.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 +47 -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/choice-art/choice-art.js +589 -0
- package/lib/module/blocks/choice-art/choice-art.js.map +1 -0
- package/lib/module/blocks/choice-art/index.js +4 -0
- package/lib/module/blocks/choice-art/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 +510 -36
- 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 +21 -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 +31 -10
- 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/index.js.map +1 -1
- package/lib/module/components/toast/toast.js +61 -25
- 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 +543 -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 +2 -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-edit-template.js +422 -0
- package/lib/module/templates/preview-edit-template.js.map +1 -0
- 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/choice-art/choice-art.d.ts +73 -0
- package/lib/typescript/src/blocks/choice-art/choice-art.d.ts.map +1 -0
- package/lib/typescript/src/blocks/choice-art/index.d.ts +2 -0
- package/lib/typescript/src/blocks/choice-art/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 +21 -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 +3 -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/index.d.ts +1 -1
- package/lib/typescript/src/components/toast/index.d.ts.map +1 -1
- package/lib/typescript/src/components/toast/toast.d.ts +4 -1
- 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 +41 -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 +5 -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-edit-template.d.ts +39 -0
- package/lib/typescript/src/templates/preview-edit-template.d.ts.map +1 -0
- 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/choice-art/choice-art.tsx +500 -0
- package/src/blocks/choice-art/index.ts +29 -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 +623 -32
- 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 +21 -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 +40 -9
- 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/index.ts +1 -0
- package/src/components/toast/toast.tsx +70 -28
- 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 +56 -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 +517 -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 +14 -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-edit-template.tsx +467 -0
- 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 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useState","Text","TextInput","View","AlertGlyph","renderIcon","PressableBase","useTheme","makeStyles","jsx","_jsx","jsxs","_jsxs","useStyles","t","root","gap","space","label","fontFamily","fontSize","typography","body","lineHeight","fontWeight","color","colors","foreground","frame","flexDirection","alignItems","height","controlSize","lg","paddingHorizontal","borderRadius","radius","md","borderWidth","borderColor","input","backgroundColor","surface","focused","primaryEdge","invalid","danger","disabled","opacity","muted","readOnly","flex","minWidth","alignSelf","paddingVertical","bodyLg","error","paddingLeft","errorLabel","warned","warningText","noteRow","grow","hint","mutedForeground","warning","Field","leading","trailing","onTrailingPress","trailingLabel","style","editable","onFocus","onBlur","s","setFocused","icon","size","iconSize","warn","undefined","note","children","maxFontSizeMultiplier","maxFontScale","placeholderTextColor","selectionColor","ring","accessibilityLabel","accessibilityHint","e","accessibilityRole","onPress","filled","onColor","dangerForeground","accessibilityLiveRegion","background","sm"],"sourceRoot":"../../../../src","sources":["components/field/field.tsx"],"mappings":";;AAAA,SAASA,QAAQ,QAAqC,OAAO;AAC7D,SACEC,IAAI,EACJC,SAAS,EACTC,IAAI,QAIC,cAAc;AACrB,SAASC,UAAU,QAAQ,0BAAuB;AAClD,SAASC,UAAU,QAAuB,wBAAqB;AAC/D,SAASC,aAAa,QAAQ,kCAA+B;AAC7D,SAASC,QAAQ,QAAQ,+BAA4B;AACrD,SAASC,UAAU,QAAQ,uBAAoB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAgBhD,MAAMC,SAAS,GAAGL,UAAU,CAAEM,CAAC,KAAM;EACnCC,IAAI,EAAE;IAAEC,GAAG,EAAEF,CAAC,CAACG,KAAK,CAAC,CAAC;EAAE,CAAC;EACzBC,KAAK,EAAE;IACLC,UAAU,EAAEL,CAAC,CAACK,UAAU;IACxBC,QAAQ,EAAEN,CAAC,CAACO,UAAU,CAACC,IAAI,CAACF,QAAQ;IACpCG,UAAU,EAAET,CAAC,CAACO,UAA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AAI,gBACNrD,IAAA,CAACT,IAAI;MAACmF,qBAAqB,EAAEtE,CAAC,CAACuE,YAAa;MAACd,KAAK,EAAEI,CAAC,CAACZ,IAAK;MAAAoB,QAAA,EACxDpB;IAAI,CACD,CAAC,GACL,IAAI;EAAA,CACJ,CAAC;AAEX","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["useContext","useEffect","useRef","useState","Text","Keyboard","Platform","TextInput","View","Animated","FadeIn","LinearTransition","useAnimatedStyle","FieldLabel","AlertGlyph","PopCheck","renderIcon","useShake","useSwitch","OverlayShown","PressableBase","useReducedMotion","useTheme","makeStyles","haptic","jsx","_jsx","jsxs","_jsxs","RECESS_HEIGHT","useStyles","t","root","gap","space","frame","flexDirection","alignItems","height","controlSize","lg","paddingHorizontal","borderRadius","radius","borderWidth","borderColor","colors","line","backgroundColor","surface","raised","boxShadow","shadow","lift","multi","minHeight","paddingVertical","multiInput","textAlignVertical","focused","primary","focusRing","raisedFocused","recess","recessFocused","invalid","danger","disabled","opacity","muted","readOnly","input","flex","minWidth","alignSelf","fontFamily","fontSize","typography","bodyLg","color","foreground","error","label","lineHeight","paddingLeft","warned","warningText","noteRow","grow","hint","mutedForeground","warning","RETRIES","Field","props","FieldBase","leading","trailing","onTrailingPress","trailingLabel","valid","showCount","style","editable","onFocus","onBlur","ref","autoFocus","reduced","s","setFocused","icon","size","iconSize","md","warn","undefined","note","thick","shake","shown","own","quiet","retryAfter","motion","duration","long","node","current","focus","OS","tries","timer","check","isVisible","isFocused","blur","setTimeout","seen","addListener","clearTimeout","remove","attach","inset","edge","value","transform","translateX","layout","press","children","count","maxLength","length","multiline","placeholderTextColor","faint","selectionColor","cursorColor","maxFontSizeMultiplier","maxFontScale","accessibilityLabel","accessibilityHint","e","on","accessibilityRole","hitSlop","minTouchSize","onPress","filled","onColor","dangerForeground","entering","accessibilityLiveRegion","background","sm"],"sourceRoot":"../../../../src","sources":["components/field/field.tsx"],"mappings":";;AAAA,SACEA,UAAU,EACVC,SA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B,EAAEhI,CAAC,CAACiI,YAAa;QACtCa,uBAAuB,EAAC,QAAQ;QAChCvE,KAAK,EAAE,CAACO,CAAC,CAAClB,OAAO,EAAEkB,CAAC,CAACrB,IAAI,CAAE;QAAA8D,QAAA,EAE1BnC;MAAI,CACD,CAAC;IAAA,CACH,CAAC,GACL1B,IAAI,gBACN/D,IAAA,CAACtB,IAAI;MAAC2J,qBAAqB,EAAEhI,CAAC,CAACiI,YAAa;MAAC1D,KAAK,EAAEO,CAAC,CAACpB,IAAK;MAAA6D,QAAA,EACxD7D;IAAI,CACD,CAAC,GACL,IAAI;EAAA,CACK,CAAC;AAEpB","ignoreList":[]}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useState } from 'react';
|
|
4
|
+
import { ScrollView, View } from 'react-native';
|
|
5
|
+
import Animated, { interpolateColor, useAnimatedStyle } from 'react-native-reanimated';
|
|
6
|
+
import { haptic } from "../../internal/haptics.js";
|
|
7
|
+
import { useSwitch } from "../../internal/motion.js";
|
|
8
|
+
import { PressableBase } from "../../internal/pressable-base.js";
|
|
9
|
+
import { SteadyText } from "../../internal/steady-text.js";
|
|
10
|
+
import { useSlide } from "../../internal/use-slide.js";
|
|
11
|
+
import { useTheme } from "../../theme/theme-provider.js";
|
|
12
|
+
import { withAlpha } from "../../utils/color.js";
|
|
13
|
+
import { gradientStyle, makeStyles } from "../../utils/styles.js";
|
|
14
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
|
+
const ROW = 44;
|
|
16
|
+
const GAP = 22;
|
|
17
|
+
const LINE = 2;
|
|
18
|
+
const HAIR = 0.5;
|
|
19
|
+
const HAIR_ALPHA = 0.6;
|
|
20
|
+
const FADE = 72;
|
|
21
|
+
const SOLID = 8;
|
|
22
|
+
const useStyles = makeStyles(t => ({
|
|
23
|
+
root: {
|
|
24
|
+
height: ROW
|
|
25
|
+
},
|
|
26
|
+
bleed: {
|
|
27
|
+
marginHorizontal: -t.layout.screenX
|
|
28
|
+
},
|
|
29
|
+
track: {
|
|
30
|
+
gap: GAP
|
|
31
|
+
},
|
|
32
|
+
padded: {
|
|
33
|
+
paddingHorizontal: t.layout.screenX
|
|
34
|
+
},
|
|
35
|
+
tab: {
|
|
36
|
+
height: ROW,
|
|
37
|
+
justifyContent: 'center'
|
|
38
|
+
},
|
|
39
|
+
label: {
|
|
40
|
+
fontFamily: t.fontFamily,
|
|
41
|
+
fontSize: t.typography.label.fontSize,
|
|
42
|
+
lineHeight: t.typography.label.lineHeight,
|
|
43
|
+
fontWeight: '500',
|
|
44
|
+
color: t.colors.faint
|
|
45
|
+
},
|
|
46
|
+
strong: {
|
|
47
|
+
fontWeight: '700'
|
|
48
|
+
},
|
|
49
|
+
line: {
|
|
50
|
+
position: 'absolute',
|
|
51
|
+
left: 0,
|
|
52
|
+
bottom: 0,
|
|
53
|
+
height: LINE,
|
|
54
|
+
backgroundColor: t.colors.primary
|
|
55
|
+
},
|
|
56
|
+
hair: {
|
|
57
|
+
position: 'absolute',
|
|
58
|
+
left: 0,
|
|
59
|
+
right: 0,
|
|
60
|
+
bottom: 0,
|
|
61
|
+
height: HAIR,
|
|
62
|
+
opacity: HAIR_ALPHA,
|
|
63
|
+
backgroundColor: t.colors.input
|
|
64
|
+
},
|
|
65
|
+
fade: {
|
|
66
|
+
position: 'absolute',
|
|
67
|
+
top: 0,
|
|
68
|
+
right: 0,
|
|
69
|
+
bottom: HAIR,
|
|
70
|
+
width: FADE
|
|
71
|
+
}
|
|
72
|
+
}));
|
|
73
|
+
function Tab({
|
|
74
|
+
label,
|
|
75
|
+
selected,
|
|
76
|
+
onPress,
|
|
77
|
+
onLayout
|
|
78
|
+
}) {
|
|
79
|
+
const t = useTheme();
|
|
80
|
+
const s = useStyles();
|
|
81
|
+
const on = useSwitch(selected, 'base');
|
|
82
|
+
const idle = t.colors.faint;
|
|
83
|
+
const ink = t.colors.title;
|
|
84
|
+
const tone = useAnimatedStyle(() => ({
|
|
85
|
+
color: interpolateColor(on.value, [0, 1], [idle, ink])
|
|
86
|
+
}));
|
|
87
|
+
return /*#__PURE__*/_jsx(PressableBase, {
|
|
88
|
+
accessibilityRole: "tab",
|
|
89
|
+
accessibilityState: {
|
|
90
|
+
selected
|
|
91
|
+
},
|
|
92
|
+
accessibilityLabel: label,
|
|
93
|
+
feedback: "row",
|
|
94
|
+
onPress: onPress,
|
|
95
|
+
onLayout: onLayout,
|
|
96
|
+
style: s.tab,
|
|
97
|
+
children: /*#__PURE__*/_jsx(SteadyText, {
|
|
98
|
+
selected: selected,
|
|
99
|
+
style: s.label,
|
|
100
|
+
strongStyle: s.strong,
|
|
101
|
+
animatedStyle: tone,
|
|
102
|
+
children: label
|
|
103
|
+
})
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
export function FilterTabs({
|
|
107
|
+
items,
|
|
108
|
+
value,
|
|
109
|
+
onValueChange,
|
|
110
|
+
bleed = false,
|
|
111
|
+
style
|
|
112
|
+
}) {
|
|
113
|
+
const t = useTheme();
|
|
114
|
+
const s = useStyles();
|
|
115
|
+
const slide = useSlide(value);
|
|
116
|
+
const [view, setView] = useState({
|
|
117
|
+
x: 0,
|
|
118
|
+
width: 0,
|
|
119
|
+
content: 0
|
|
120
|
+
});
|
|
121
|
+
const more = view.content - view.x - view.width > 1;
|
|
122
|
+
const scrolled = event => {
|
|
123
|
+
const x = event.nativeEvent.contentOffset.x;
|
|
124
|
+
setView(v => v.x === x ? v : {
|
|
125
|
+
...v,
|
|
126
|
+
x
|
|
127
|
+
});
|
|
128
|
+
};
|
|
129
|
+
const bg = t.colors.background;
|
|
130
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
131
|
+
style: [s.root, bleed && s.bleed, style],
|
|
132
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
133
|
+
pointerEvents: "none",
|
|
134
|
+
style: s.hair
|
|
135
|
+
}), /*#__PURE__*/_jsxs(ScrollView, {
|
|
136
|
+
horizontal: true,
|
|
137
|
+
showsHorizontalScrollIndicator: false,
|
|
138
|
+
accessibilityRole: "tablist",
|
|
139
|
+
contentContainerStyle: [s.track, bleed && s.padded],
|
|
140
|
+
scrollEventThrottle: 16,
|
|
141
|
+
onScroll: scrolled,
|
|
142
|
+
onLayout: event => {
|
|
143
|
+
const width = event.nativeEvent.layout.width;
|
|
144
|
+
setView(v => v.width === width ? v : {
|
|
145
|
+
...v,
|
|
146
|
+
width
|
|
147
|
+
});
|
|
148
|
+
},
|
|
149
|
+
onContentSizeChange: content => setView(v => v.content === content ? v : {
|
|
150
|
+
...v,
|
|
151
|
+
content
|
|
152
|
+
}),
|
|
153
|
+
children: [items.map(item => {
|
|
154
|
+
const selected = item.value === value;
|
|
155
|
+
return /*#__PURE__*/_jsx(Tab, {
|
|
156
|
+
label: item.label,
|
|
157
|
+
selected: selected,
|
|
158
|
+
onPress: () => {
|
|
159
|
+
if (selected) return;
|
|
160
|
+
haptic('select');
|
|
161
|
+
onValueChange(item.value);
|
|
162
|
+
},
|
|
163
|
+
onLayout: slide.measure(item.value)
|
|
164
|
+
}, item.value);
|
|
165
|
+
}), /*#__PURE__*/_jsx(Animated.View, {
|
|
166
|
+
pointerEvents: "none",
|
|
167
|
+
style: [s.line, slide.bar]
|
|
168
|
+
})]
|
|
169
|
+
}), more ? /*#__PURE__*/_jsx(View, {
|
|
170
|
+
pointerEvents: "none",
|
|
171
|
+
style: [s.fade, gradientStyle(`linear-gradient(270deg, ${bg} ${SOLID / FADE * 100}%, ${withAlpha(bg, 0)})`)]
|
|
172
|
+
}) : null]
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
//# sourceMappingURL=filter-tabs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useState","ScrollView","View","Animated","interpolateColor","useAnimatedStyle","haptic","useSwitch","PressableBase","SteadyText","useSlide","useTheme","withAlpha","gradientStyle","makeStyles","jsx","_jsx","jsxs","_jsxs","ROW","GAP","LINE","HAIR","HAIR_ALPHA","FADE","SOLID","useStyles","t","root","height","bleed","marginHorizontal","layout","screenX","track","gap","padded","paddingHorizontal","tab","justifyContent","label","fontFamily","fontSize","typography","lineHeight","fontWeight","color","colors","faint","strong","line","position","left","bottom","backgroundColor","primary","hair","right","opacity","input","fade","top","width","Tab","selected","onPress","onLayout","s","on","idle","ink","title","tone","value","accessibilityRole","accessibilityState","accessibilityLabel","feedback","style","children","strongStyle","animatedStyle","FilterTabs","items","onValueChange","slide","view","setView","x","content","more","scrolled","event","nativeEvent","contentOffset","v","bg","background","pointerEvents","horizontal","showsHorizontalScrollIndicator","contentContainerStyle","scrollEventThrottle","onScroll","onContentSizeChange","map","item","measure","bar"],"sourceRoot":"../../../../src","sources":["components/filter-tabs/filter-tabs.tsx"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,OAAO;AAChC,SACEC,UAAU,EACVC,IAAI,QAMC,cAAc;AACrB,OAAOC,QAAQ,IACbC,gBAAgB,EAChBC,gBAAgB,QACX,yBAAyB;AAChC,SAASC,MAAM,QAAQ,2BAAwB;AAC/C,SAASC,SAAS,QAAQ,0BAAuB;AACjD,SAASC,aAAa,QAAQ,kCAA+B;AAC7D,SAASC,UAAU,QAAQ,+BAA4B;AACvD,SAASC,QAAQ,QAAQ,6BAA0B;AACnD,SAASC,QAAQ,QAAQ,+BAA4B;AACrD,SAASC,SAAS,QAAQ,sBAAmB;AAC7C,SAASC,aAAa,EAAEC,UAAU,QAAQ,uBAAoB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAe/D,MAAMC,GAAG,GAAG,EAAE;AACd,MAAMC,GAAG,GAAG,EAAE;AACd,MAAMC,IAAI,GAAG,CAAC;AACd,MAAMC,IAAI,GAAG,GAAG;AAChB,MAAMC,UAAU,GAAG,GAAG;AACtB,MAAMC,IAAI,GAAG,EAAE;AACf,MAAMC,KAAK,GAAG,CAAC;AAEf,MAAMC,SAAS,GAAGZ,UAAU,CA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aAAa,CACX,2BAA2BmF,EAAE,IAAKvE,KAAK,GAAGD,IAAI,GAAI,GAAG,MAAMZ,SAAS,CAACoF,EAAE,EAAE,CAAC,CAAC,GAC7E,CAAC;IACD,CACH,CAAC,GACA,IAAI;EAAA,CACJ,CAAC;AAEX","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["FilterTabs"],"sourceRoot":"../../../../src","sources":["components/filter-tabs/index.ts"],"mappings":";;AAAA,SACEA,UAAU,QAGL,kBAAe","ignoreList":[]}
|
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { Image, View } from 'react-native';
|
|
4
|
+
import Animated, { useAnimatedStyle } from 'react-native-reanimated';
|
|
5
|
+
import { useSwitch } from "../../internal/motion.js";
|
|
4
6
|
import { PressableBase } from "../../internal/pressable-base.js";
|
|
5
7
|
import { TAB_ICONS } from "../../internal/tab-icon-pairs.js";
|
|
8
|
+
import { useSlide } from "../../internal/use-slide.js";
|
|
6
9
|
import { useTheme } from "../../theme/theme-provider.js";
|
|
7
10
|
import { makeStyles } from "../../utils/styles.js";
|
|
11
|
+
import { haptic } from "../../internal/haptics.js";
|
|
8
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
13
|
const ICON = 24;
|
|
10
14
|
const DOT = 6;
|
|
11
15
|
const DOT_INSET = 6;
|
|
16
|
+
const LIFT = 1.08;
|
|
12
17
|
export function floatingTabBarSpace(t, bottomInset = 0) {
|
|
13
18
|
return bottomInset + t.space['16'] + t.space['4'] + t.space['2'];
|
|
14
19
|
}
|
|
@@ -35,8 +40,12 @@ const useStyles = makeStyles(t => ({
|
|
|
35
40
|
justifyContent: 'center',
|
|
36
41
|
borderRadius: t.radius.full
|
|
37
42
|
},
|
|
38
|
-
|
|
39
|
-
|
|
43
|
+
pill: {
|
|
44
|
+
position: 'absolute',
|
|
45
|
+
left: 0,
|
|
46
|
+
top: 0,
|
|
47
|
+
borderRadius: t.radius.full,
|
|
48
|
+
backgroundColor: t.colors.recess
|
|
40
49
|
},
|
|
41
50
|
icon: {
|
|
42
51
|
width: ICON,
|
|
@@ -52,6 +61,47 @@ const useStyles = makeStyles(t => ({
|
|
|
52
61
|
backgroundColor: t.colors.primaryEdge
|
|
53
62
|
}
|
|
54
63
|
}));
|
|
64
|
+
function Tab({
|
|
65
|
+
item,
|
|
66
|
+
selected,
|
|
67
|
+
onPress,
|
|
68
|
+
onLayout
|
|
69
|
+
}) {
|
|
70
|
+
const t = useTheme();
|
|
71
|
+
const s = useStyles();
|
|
72
|
+
const lift = useSwitch(selected, 'spring', 'spring');
|
|
73
|
+
const grow = useAnimatedStyle(() => ({
|
|
74
|
+
transform: [{
|
|
75
|
+
scale: 1 + (LIFT - 1) * lift.value
|
|
76
|
+
}]
|
|
77
|
+
}));
|
|
78
|
+
return /*#__PURE__*/_jsx(PressableBase, {
|
|
79
|
+
accessibilityRole: "tab",
|
|
80
|
+
accessibilityState: {
|
|
81
|
+
selected
|
|
82
|
+
},
|
|
83
|
+
accessibilityLabel: item.badge ? `${item.label}, ${item.badge}` : item.label,
|
|
84
|
+
touchHeight: t.controlSize.md,
|
|
85
|
+
feedback: "small",
|
|
86
|
+
onPress: onPress,
|
|
87
|
+
onLayout: onLayout,
|
|
88
|
+
style: s.tab,
|
|
89
|
+
children: /*#__PURE__*/_jsxs(Animated.View, {
|
|
90
|
+
style: [s.icon, grow],
|
|
91
|
+
children: [/*#__PURE__*/_jsx(Image, {
|
|
92
|
+
source: {
|
|
93
|
+
uri: TAB_ICONS[item.icon][selected ? 'fill' : 'line']
|
|
94
|
+
},
|
|
95
|
+
style: [s.icon, {
|
|
96
|
+
tintColor: selected ? t.colors.primary : t.colors.mutedForeground
|
|
97
|
+
}]
|
|
98
|
+
}), item.badge ? /*#__PURE__*/_jsx(View, {
|
|
99
|
+
testID: "tab-badge",
|
|
100
|
+
style: s.dot
|
|
101
|
+
}) : null]
|
|
102
|
+
})
|
|
103
|
+
});
|
|
104
|
+
}
|
|
55
105
|
export function FloatingTabBar({
|
|
56
106
|
items,
|
|
57
107
|
value,
|
|
@@ -61,43 +111,28 @@ export function FloatingTabBar({
|
|
|
61
111
|
}) {
|
|
62
112
|
const t = useTheme();
|
|
63
113
|
const s = useStyles();
|
|
64
|
-
|
|
114
|
+
const slide = useSlide(value);
|
|
115
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
65
116
|
accessibilityRole: "tablist",
|
|
66
117
|
style: [s.bar, {
|
|
67
118
|
bottom: bottomInset + t.space['4']
|
|
68
119
|
}, style],
|
|
69
|
-
children:
|
|
120
|
+
children: [/*#__PURE__*/_jsx(Animated.View, {
|
|
121
|
+
pointerEvents: "none",
|
|
122
|
+
style: [s.pill, slide.box]
|
|
123
|
+
}), items.map(item => {
|
|
70
124
|
const selected = item.key === value;
|
|
71
|
-
return /*#__PURE__*/_jsx(
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
selected
|
|
75
|
-
},
|
|
76
|
-
accessibilityLabel: item.badge ? `${item.label}, ${item.badge}` : item.label,
|
|
77
|
-
touchHeight: t.controlSize.md,
|
|
78
|
-
pressedStyle: {
|
|
79
|
-
opacity: t.opacity.pressed
|
|
80
|
-
},
|
|
125
|
+
return /*#__PURE__*/_jsx(Tab, {
|
|
126
|
+
item: item,
|
|
127
|
+
selected: selected,
|
|
81
128
|
onPress: () => {
|
|
82
|
-
if (
|
|
129
|
+
if (selected) return;
|
|
130
|
+
haptic('select');
|
|
131
|
+
onValueChange(item.key);
|
|
83
132
|
},
|
|
84
|
-
|
|
85
|
-
children: /*#__PURE__*/_jsxs(View, {
|
|
86
|
-
style: s.icon,
|
|
87
|
-
children: [/*#__PURE__*/_jsx(Image, {
|
|
88
|
-
source: {
|
|
89
|
-
uri: TAB_ICONS[item.icon][selected ? 'fill' : 'line']
|
|
90
|
-
},
|
|
91
|
-
style: [s.icon, {
|
|
92
|
-
tintColor: selected ? t.colors.primary : t.colors.mutedForeground
|
|
93
|
-
}]
|
|
94
|
-
}), item.badge ? /*#__PURE__*/_jsx(View, {
|
|
95
|
-
testID: "tab-badge",
|
|
96
|
-
style: s.dot
|
|
97
|
-
}) : null]
|
|
98
|
-
})
|
|
133
|
+
onLayout: slide.measure(item.key)
|
|
99
134
|
}, item.key);
|
|
100
|
-
})
|
|
135
|
+
})]
|
|
101
136
|
});
|
|
102
137
|
}
|
|
103
138
|
//# sourceMappingURL=floating-tab-bar.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Image","View","PressableBase","TAB_ICONS","useTheme","makeStyles","jsx","_jsx","jsxs","_jsxs","ICON","DOT","DOT_INSET","floatingTabBarSpace","t","bottomInset","space","useStyles","bar","position","left","right","height","flexDirection","alignItems","gap","paddingHorizontal","borderRadius","radius","full","borderWidth","borderColor","colors","border","backgroundColor","surface","boxShadow","shadow","sm","tab","flex","controlSize","md","justifyContent","
|
|
1
|
+
{"version":3,"names":["Image","View","Animated","useAnimatedStyle","useSwitch","PressableBase","TAB_ICONS","useSlide","useTheme","makeStyles","haptic","jsx","_jsx","jsxs","_jsxs","ICON","DOT","DOT_INSET","LIFT","floatingTabBarSpace","t","bottomInset","space","useStyles","bar","position","left","right","height","flexDirection","alignItems","gap","paddingHorizontal","borderRadius","radius","full","borderWidth","borderColor","colors","border","backgroundColor","surface","boxShadow","shadow","sm","tab","flex","controlSize","md","justifyContent","pill","top","recess","icon","width","dot","primaryEdge","Tab","item","selected","onPress","onLayout","s","lift","grow","transform","scale","value","accessibilityRole","accessibilityState","accessibilityLabel","badge","label","touchHeight","feedback","style","children","source","uri","tintColor","primary","mutedForeground","testID","FloatingTabBar","items","onValueChange","slide","bottom","pointerEvents","box","map","key","measure"],"sourceRoot":"../../../../src","sources":["components/floating-tab-bar/floating-tab-bar.tsx"],"mappings":";;AAAA,SACEA,KAAK,EACLC,IAAI,QAIC,cAAc;AACrB,OAAOC,QAAQ,IAAIC,gBAAgB,QAAQ,yBAA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;EACbhE,WAAW,GAAG,CAAC;EACfsD;AACsB,CAAC,EAAE;EACzB,MAAMvD,CAAC,GAAGZ,QAAQ,CAAC,CAAC;EACpB,MAAMsD,CAAC,GAAGvC,SAAS,CAAC,CAAC;EACrB,MAAM+D,KAAK,GAAG/E,QAAQ,CAAC4D,KAAK,CAAC;EAC7B,oBACErD,KAAA,CAACb,IAAI;IACHmE,iBAAiB,EAAC,SAAS;IAC3BO,KAAK,EAAE,CAACb,CAAC,CAACtC,GAAG,EAAE;MAAE+D,MAAM,EAAElE,WAAW,GAAGD,CAAC,CAACE,KAAK,CAAC,GAAG;IAAE,CAAC,EAAEqD,KAAK,CAAE;IAAAC,QAAA,gBAE9DhE,IAAA,CAACV,QAAQ,CAACD,IAAI;MAACuF,aAAa,EAAC,MAAM;MAACb,KAAK,EAAE,CAACb,CAAC,CAACZ,IAAI,EAAEoC,KAAK,CAACG,GAAG;IAAE,CAAE,CAAC,EACjEL,KAAK,CAACM,GAAG,CAAEhC,IAAI,IAAK;MACnB,MAAMC,QAAQ,GAAGD,IAAI,CAACiC,GAAG,KAAKxB,KAAK;MACnC,oBACEvD,IAAA,CAAC6C,GAAG;QAEFC,IAAI,EAAEA,IAAK;QACXC,QAAQ,EAAEA,QAAS;QACnBC,OAAO,EAAEA,CAAA,KAAM;UACb,IAAID,QAAQ,EAAE;UACdjD,MAAM,CAAC,QAAQ,CAAC;UAChB2E,aAAa,CAAC3B,IAAI,CAACiC,GAAG,CAAC;QACzB,CAAE;QACF9B,QAAQ,EAAEyB,KAAK,CAACM,OAAO,CAAClC,IAAI,CAACiC,GAAG;MAAE,GAR7BjC,IAAI,CAACiC,GASX,CAAC;IAEN,CAAC,CAAC;EAAA,CACE,CAAC;AAEX","ignoreList":[]}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { View } from 'react-native';
|
|
4
|
+
import { renderIcon } from "../../internal/icon.js";
|
|
5
|
+
import { PressableBase } from "../../internal/pressable-base.js";
|
|
6
|
+
import { useTheme } from "../../theme/theme-provider.js";
|
|
7
|
+
import { makeStyles } from "../../utils/styles.js";
|
|
8
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
const SIZE = 40;
|
|
10
|
+
const DOT = 8;
|
|
11
|
+
const useStyles = makeStyles(t => ({
|
|
12
|
+
root: {
|
|
13
|
+
width: SIZE,
|
|
14
|
+
height: SIZE,
|
|
15
|
+
borderRadius: SIZE / 2,
|
|
16
|
+
alignItems: 'center',
|
|
17
|
+
justifyContent: 'center',
|
|
18
|
+
backgroundColor: t.colors.muted
|
|
19
|
+
},
|
|
20
|
+
dot: {
|
|
21
|
+
position: 'absolute',
|
|
22
|
+
top: t.space[2],
|
|
23
|
+
right: t.space[2],
|
|
24
|
+
width: DOT,
|
|
25
|
+
height: DOT,
|
|
26
|
+
borderRadius: DOT / 2,
|
|
27
|
+
borderWidth: 2,
|
|
28
|
+
borderColor: t.colors.muted,
|
|
29
|
+
backgroundColor: t.colors.primaryEdge
|
|
30
|
+
}
|
|
31
|
+
}));
|
|
32
|
+
export function IconButton({
|
|
33
|
+
icon,
|
|
34
|
+
accessibilityLabel,
|
|
35
|
+
onPress,
|
|
36
|
+
dot,
|
|
37
|
+
style
|
|
38
|
+
}) {
|
|
39
|
+
const t = useTheme();
|
|
40
|
+
const s = useStyles();
|
|
41
|
+
return /*#__PURE__*/_jsxs(PressableBase, {
|
|
42
|
+
accessibilityRole: "button",
|
|
43
|
+
accessibilityLabel: accessibilityLabel,
|
|
44
|
+
touchHeight: SIZE,
|
|
45
|
+
onPress: onPress,
|
|
46
|
+
feedback: "small",
|
|
47
|
+
style: [s.root, style],
|
|
48
|
+
children: [renderIcon(icon, {
|
|
49
|
+
color: t.colors.mutedForeground,
|
|
50
|
+
size: t.iconSize.md
|
|
51
|
+
}), dot ? /*#__PURE__*/_jsx(View, {
|
|
52
|
+
style: s.dot
|
|
53
|
+
}) : null]
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=icon-button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["View","renderIcon","PressableBase","useTheme","makeStyles","jsx","_jsx","jsxs","_jsxs","SIZE","DOT","useStyles","t","root","width","height","borderRadius","alignItems","justifyContent","backgroundColor","colors","muted","dot","position","top","space","right","borderWidth","borderColor","primaryEdge","IconButton","icon","accessibilityLabel","onPress","style","s","accessibilityRole","touchHeight","feedback","children","color","mutedForeground","size","iconSize","md"],"sourceRoot":"../../../../src","sources":["components/icon-button/icon-button.tsx"],"mappings":";;AAAA,SAASA,IAAI,QAAwC,cAAc;AACnE,SAASC,UAAU,QAAuB,wBAAqB;AAC/D,SAASC,aAAa,QAAQ,kCAA+B;AAC7D,SAASC,QAAQ,QAAQ,+BAA4B;AACrD,SAASC,UAAU,QAAQ,uBAAoB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAUhD,MAAMC,IAAI,GAAG,EAAE;AACf,MAAMC,GAAG,GAAG,CAAC;AAEb,MAAMC,SAAS,GAAGP,UAAU,CAAEQ,CAAC,KAAM;EACnCC,IAAI,EAAE;IACJC,KAAK,EAAEL,IAAI;IACXM,MAAM,EAAEN,IAAI;IACZO,YAAY,EAAEP,IAAI,GAAG,CAAC;IACtBQ,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxBC,eAAe,EAAEP,CAAC,CAACQ,MAAM,CAACC;EAC5B,CAAC;EACDC,GAAG,EAAE;IACHC,QAAQ,EAAE,UAAU;IACpBC,GAAG,EAAEZ,CAAC,CAACa,KAAK,CAAC,CAAC,CAAC;IACfC,KAAK,EAAEd,CAAC,CAACa,KAAK,CAAC,CAAC,CAAC;IACjBX,KAAK,EAAEJ,GAAG;IACVK,MAAM,EAAEL,GAAG;IACXM,YAAY,EAAEN,GAAG,GAAG,CAAC;IACrBiB,WAAW,EAAE,CAAC;IACdC,WAAW,EAAEhB,CAAC,CAACQ,MAAM,CAACC,KAAK;IAC3BF,eAAe,EAAEP,CAAC,CAACQ,MAAM,CAACS;EAC5B;AACF,CAAC,CAAC,CAAC;AAEH,OAAO,SAASC,UAAUA,CAAC;EACzBC,IAAI;EACJC,kBAAkB;EAClBC,OAAO;EACPX,GAAG;EACHY;AACe,CAAC,EAAE;EAClB,MAAMtB,CAAC,GAAGT,QAAQ,CAAC,CAAC;EACpB,MAAMgC,CAAC,GAAGxB,SAAS,CAAC,CAAC;EACrB,oBACEH,KAAA,CAACN,aAAa;IACZkC,iBAAiB,EAAC,QAAQ;IAC1BJ,kBAAkB,EAAEA,kBAAmB;IACvCK,WAAW,EAAE5B,IAAK;IAClBwB,OAAO,EAAEA,OAAQ;IACjBK,QAAQ,EAAC,OAAO;IAChBJ,KAAK,EAAE,CAACC,CAAC,CAACtB,IAAI,EAAEqB,KAAK,CAAE;IAAAK,QAAA,GAEtBtC,UAAU,CAAC8B,IAAI,EAAE;MAChBS,KAAK,EAAE5B,CAAC,CAACQ,MAAM,CAACqB,eAAe;MAC/BC,IAAI,EAAE9B,CAAC,CAAC+B,QAAQ,CAACC;IACnB,CAAC,CAAC,EACDtB,GAAG,gBAAGhB,IAAA,CAACN,IAAI;MAACkC,KAAK,EAAEC,CAAC,CAACb;IAAI,CAAE,CAAC,GAAG,IAAI;EAAA,CACvB,CAAC;AAEpB","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["IconButton"],"sourceRoot":"../../../../src","sources":["components/icon-button/index.ts"],"mappings":";;AAAA,SAASA,UAAU,QAA8B,kBAAe","ignoreList":[]}
|
|
@@ -2,15 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
import { useContext } from 'react';
|
|
4
4
|
import { Text, View } from 'react-native';
|
|
5
|
-
import
|
|
5
|
+
import Animated from 'react-native-reanimated';
|
|
6
|
+
import { DrawnCheck } from "../../internal/drawn-check.js";
|
|
7
|
+
import { ChevronGlyph } from "../../internal/glyphs.js";
|
|
8
|
+
import { FILL_FROM, usePop } from "../../internal/motion.js";
|
|
6
9
|
import { renderIcon } from "../../internal/icon.js";
|
|
7
10
|
import { PressableBase } from "../../internal/pressable-base.js";
|
|
8
11
|
import { useTheme } from "../../theme/theme-provider.js";
|
|
9
12
|
import { makeStyles } from "../../utils/styles.js";
|
|
10
13
|
import { Photo } from "../photo/photo.js";
|
|
11
14
|
import { FlushRowContext } from "../../internal/flush-row.js";
|
|
15
|
+
import { haptic } from "../../internal/haptics.js";
|
|
12
16
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
13
17
|
const IMAGE = 48;
|
|
18
|
+
const IMAGE_LG = 56;
|
|
14
19
|
const MARK = 22;
|
|
15
20
|
const useStyles = makeStyles(t => ({
|
|
16
21
|
row: {
|
|
@@ -31,11 +36,8 @@ const useStyles = makeStyles(t => ({
|
|
|
31
36
|
flush: {
|
|
32
37
|
paddingHorizontal: 0
|
|
33
38
|
},
|
|
34
|
-
pressed: {
|
|
35
|
-
backgroundColor: t.colors.muted
|
|
36
|
-
},
|
|
37
39
|
highlighted: {
|
|
38
|
-
backgroundColor: t.colors.
|
|
40
|
+
backgroundColor: t.colors.recess
|
|
39
41
|
},
|
|
40
42
|
top: {
|
|
41
43
|
alignItems: 'flex-start'
|
|
@@ -43,6 +45,9 @@ const useStyles = makeStyles(t => ({
|
|
|
43
45
|
image: {
|
|
44
46
|
width: IMAGE
|
|
45
47
|
},
|
|
48
|
+
imageLg: {
|
|
49
|
+
width: IMAGE_LG
|
|
50
|
+
},
|
|
46
51
|
value: {
|
|
47
52
|
...t.typography.bodyLg,
|
|
48
53
|
fontFamily: t.fontFamily,
|
|
@@ -113,8 +118,13 @@ const useStyles = makeStyles(t => ({
|
|
|
113
118
|
borderColor: t.colors.primary
|
|
114
119
|
},
|
|
115
120
|
strong: {
|
|
116
|
-
color: t.colors.
|
|
117
|
-
fontWeight: '
|
|
121
|
+
color: t.colors.title,
|
|
122
|
+
fontWeight: '600'
|
|
123
|
+
},
|
|
124
|
+
titleLg: {
|
|
125
|
+
...t.typography.bodyLg,
|
|
126
|
+
color: t.colors.title,
|
|
127
|
+
fontWeight: '600'
|
|
118
128
|
}
|
|
119
129
|
}));
|
|
120
130
|
export function ListRow({
|
|
@@ -124,16 +134,17 @@ export function ListRow({
|
|
|
124
134
|
overlineTone = 'muted',
|
|
125
135
|
leading,
|
|
126
136
|
image,
|
|
137
|
+
imageSize,
|
|
127
138
|
trailing,
|
|
128
139
|
chevron,
|
|
129
140
|
value,
|
|
130
141
|
meta,
|
|
131
142
|
highlighted = false,
|
|
132
143
|
strong = false,
|
|
144
|
+
titleSize = 'md',
|
|
133
145
|
titleLines = 1,
|
|
134
146
|
selection,
|
|
135
147
|
selected = false,
|
|
136
|
-
leadingTone = 'muted',
|
|
137
148
|
onPress,
|
|
138
149
|
style,
|
|
139
150
|
...rest
|
|
@@ -141,6 +152,7 @@ export function ListRow({
|
|
|
141
152
|
const t = useTheme();
|
|
142
153
|
const s = useStyles();
|
|
143
154
|
const flush = useContext(FlushRowContext);
|
|
155
|
+
const pop = usePop(selected, FILL_FROM);
|
|
144
156
|
const icon = {
|
|
145
157
|
color: t.colors.mutedForeground,
|
|
146
158
|
size: t.iconSize.md
|
|
@@ -155,22 +167,20 @@ export function ListRow({
|
|
|
155
167
|
}
|
|
156
168
|
} : undefined;
|
|
157
169
|
const content = /*#__PURE__*/_jsxs(_Fragment, {
|
|
158
|
-
children: [selection ? /*#__PURE__*/_jsx(View, {
|
|
159
|
-
style: [s.mark, s[selection], selected && (selection === 'check' ? s.checkOn : s.radioOn)],
|
|
160
|
-
children:
|
|
170
|
+
children: [selection ? /*#__PURE__*/_jsx(Animated.View, {
|
|
171
|
+
style: [s.mark, s[selection], selected && (selection === 'check' ? s.checkOn : s.radioOn), pop],
|
|
172
|
+
children: selection === 'check' ? /*#__PURE__*/_jsx(DrawnCheck, {
|
|
173
|
+
on: selected,
|
|
161
174
|
color: t.colors.primaryForeground,
|
|
162
175
|
size: t.iconSize.sm
|
|
163
176
|
}) : null
|
|
164
|
-
}) : null, leading ? renderIcon(leading,
|
|
165
|
-
...icon,
|
|
166
|
-
color: t.colors.mutedForeground
|
|
167
|
-
} : icon) : null, image !== undefined ? /*#__PURE__*/_jsx(Photo, {
|
|
177
|
+
}) : null, leading ? renderIcon(leading, icon) : null, image !== undefined ? /*#__PURE__*/_jsx(Photo, {
|
|
168
178
|
source: {
|
|
169
179
|
uri: image ?? ''
|
|
170
180
|
},
|
|
171
181
|
radius: t.radius.md,
|
|
172
182
|
seed: title,
|
|
173
|
-
style: s.image
|
|
183
|
+
style: imageSize === 'lg' ? s.imageLg : s.image
|
|
174
184
|
}) : null, /*#__PURE__*/_jsxs(View, {
|
|
175
185
|
style: s.body,
|
|
176
186
|
children: [overline ? /*#__PURE__*/_jsx(Text, {
|
|
@@ -181,7 +191,7 @@ export function ListRow({
|
|
|
181
191
|
}) : null, /*#__PURE__*/_jsx(Text, {
|
|
182
192
|
numberOfLines: titleLines,
|
|
183
193
|
maxFontSizeMultiplier: t.maxFontScale,
|
|
184
|
-
style: [s.title, strong && s.strong],
|
|
194
|
+
style: [s.title, strong && s.strong, titleSize === 'lg' && s.titleLg],
|
|
185
195
|
children: title
|
|
186
196
|
}), description ? /*#__PURE__*/_jsx(Text, {
|
|
187
197
|
numberOfLines: 2,
|
|
@@ -206,7 +216,17 @@ export function ListRow({
|
|
|
206
216
|
}) : null]
|
|
207
217
|
});
|
|
208
218
|
if (!onPress) {
|
|
219
|
+
const {
|
|
220
|
+
testID,
|
|
221
|
+
accessibilityLabel,
|
|
222
|
+
accessibilityHint,
|
|
223
|
+
accessible
|
|
224
|
+
} = rest;
|
|
209
225
|
return /*#__PURE__*/_jsx(View, {
|
|
226
|
+
testID: testID,
|
|
227
|
+
accessible: accessible ?? (accessibilityLabel ? true : undefined),
|
|
228
|
+
accessibilityLabel: accessibilityLabel,
|
|
229
|
+
accessibilityHint: accessibilityHint,
|
|
210
230
|
style: [s.row, flush && s.flush, height, meta && s.top, highlighted && s.highlighted, style],
|
|
211
231
|
children: content
|
|
212
232
|
});
|
|
@@ -214,8 +234,11 @@ export function ListRow({
|
|
|
214
234
|
return /*#__PURE__*/_jsx(PressableBase, {
|
|
215
235
|
...rest,
|
|
216
236
|
...selectionProps,
|
|
217
|
-
onPress:
|
|
218
|
-
|
|
237
|
+
onPress: selection ? event => {
|
|
238
|
+
haptic('select');
|
|
239
|
+
onPress(event);
|
|
240
|
+
} : onPress,
|
|
241
|
+
feedback: "row",
|
|
219
242
|
style: [s.row, flush && s.flush, height, meta && s.top, highlighted && s.highlighted, style],
|
|
220
243
|
children: content
|
|
221
244
|
});
|