@ezpg/app-ui 0.10.0 → 0.12.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 +19 -0
- package/lib/module/adjust/dial-strip.js +2 -2
- package/lib/module/adjust/dial-strip.js.map +1 -1
- package/lib/module/adjust/font-controls.js +76 -0
- package/lib/module/adjust/font-controls.js.map +1 -0
- package/lib/module/adjust/index.js +1 -0
- package/lib/module/adjust/index.js.map +1 -1
- package/lib/module/blocks/action-grid/action-grid.js +71 -0
- package/lib/module/blocks/action-grid/action-grid.js.map +1 -0
- package/lib/module/blocks/action-grid/index.js +4 -0
- package/lib/module/blocks/action-grid/index.js.map +1 -0
- package/lib/module/blocks/bulk-ship-list/bulk-ship-list.js +75 -33
- package/lib/module/blocks/bulk-ship-list/bulk-ship-list.js.map +1 -1
- package/lib/module/blocks/code-input/code-input.js +103 -0
- package/lib/module/blocks/code-input/code-input.js.map +1 -0
- package/lib/module/blocks/code-input/index.js +4 -0
- package/lib/module/blocks/code-input/index.js.map +1 -0
- package/lib/module/blocks/color-swatch-picker/color-swatch-picker.js +27 -4
- package/lib/module/blocks/color-swatch-picker/color-swatch-picker.js.map +1 -1
- package/lib/module/blocks/consent-list/consent-list.js +116 -0
- package/lib/module/blocks/consent-list/consent-list.js.map +1 -0
- package/lib/module/blocks/consent-list/index.js +4 -0
- package/lib/module/blocks/consent-list/index.js.map +1 -0
- package/lib/module/blocks/copy-variant-picker/copy-variant-picker.js +1 -1
- package/lib/module/blocks/copy-variant-picker/copy-variant-picker.js.map +1 -1
- package/lib/module/blocks/image-grid/image-grid.js +5 -44
- package/lib/module/blocks/image-grid/image-grid.js.map +1 -1
- package/lib/module/blocks/inbox-row/inbox-row.js +120 -0
- package/lib/module/blocks/inbox-row/inbox-row.js.map +1 -0
- package/lib/module/blocks/inbox-row/index.js +4 -0
- package/lib/module/blocks/inbox-row/index.js.map +1 -0
- package/lib/module/blocks/index.js +11 -0
- package/lib/module/blocks/index.js.map +1 -1
- package/lib/module/blocks/internal/card.js +1 -1
- package/lib/module/blocks/internal/card.js.map +1 -1
- package/lib/module/blocks/invite-card/index.js +4 -0
- package/lib/module/blocks/invite-card/index.js.map +1 -0
- package/lib/module/blocks/invite-card/invite-card.js +156 -0
- package/lib/module/blocks/invite-card/invite-card.js.map +1 -0
- package/lib/module/blocks/oauth-buttons/index.js +1 -1
- package/lib/module/blocks/oauth-buttons/index.js.map +1 -1
- package/lib/module/blocks/oauth-buttons/logos.js +7 -0
- package/lib/module/blocks/oauth-buttons/logos.js.map +1 -0
- package/lib/module/blocks/oauth-buttons/oauth-buttons.js +84 -5
- package/lib/module/blocks/oauth-buttons/oauth-buttons.js.map +1 -1
- package/lib/module/blocks/option-editor/option-editor.js +1 -1
- package/lib/module/blocks/option-editor/option-editor.js.map +1 -1
- package/lib/module/blocks/product-list-empty/product-list-empty.js +1 -1
- package/lib/module/blocks/product-list-empty/product-list-empty.js.map +1 -1
- package/lib/module/blocks/product-row/product-row.js +1 -1
- package/lib/module/blocks/product-row/product-row.js.map +1 -1
- package/lib/module/blocks/product-tile/index.js +4 -0
- package/lib/module/blocks/product-tile/index.js.map +1 -0
- package/lib/module/blocks/product-tile/product-tile.js +60 -0
- package/lib/module/blocks/product-tile/product-tile.js.map +1 -0
- package/lib/module/blocks/quick-actions/index.js +4 -0
- package/lib/module/blocks/quick-actions/index.js.map +1 -0
- package/lib/module/blocks/quick-actions/quick-actions.js +52 -0
- package/lib/module/blocks/quick-actions/quick-actions.js.map +1 -0
- package/lib/module/blocks/selection-bar/selection-bar.js +1 -1
- package/lib/module/blocks/selection-bar/selection-bar.js.map +1 -1
- package/lib/module/blocks/setup-guide/index.js +4 -0
- package/lib/module/blocks/setup-guide/index.js.map +1 -0
- package/lib/module/blocks/setup-guide/setup-guide.js +102 -0
- package/lib/module/blocks/setup-guide/setup-guide.js.map +1 -0
- package/lib/module/blocks/site-preview-frame/site-preview-frame.js +1 -1
- package/lib/module/blocks/site-preview-frame/site-preview-frame.js.map +1 -1
- package/lib/module/blocks/site-summary/index.js +4 -0
- package/lib/module/blocks/site-summary/index.js.map +1 -0
- package/lib/module/blocks/site-summary/site-summary.js +81 -0
- package/lib/module/blocks/site-summary/site-summary.js.map +1 -0
- package/lib/module/blocks/stage-bar/index.js +4 -0
- package/lib/module/blocks/stage-bar/index.js.map +1 -0
- package/lib/module/blocks/stage-bar/stage-bar.js +88 -0
- package/lib/module/blocks/stage-bar/stage-bar.js.map +1 -0
- package/lib/module/blocks/stat-card/stat-card.js +18 -4
- package/lib/module/blocks/stat-card/stat-card.js.map +1 -1
- package/lib/module/blocks/step-screen/step-screen.js +54 -27
- package/lib/module/blocks/step-screen/step-screen.js.map +1 -1
- package/lib/module/blocks/store-sheet/index.js +4 -0
- package/lib/module/blocks/store-sheet/index.js.map +1 -0
- package/lib/module/blocks/store-sheet/store-sheet.js +90 -0
- package/lib/module/blocks/store-sheet/store-sheet.js.map +1 -0
- package/lib/module/blocks/task-tiles/index.js +4 -0
- package/lib/module/blocks/task-tiles/index.js.map +1 -0
- package/lib/module/blocks/task-tiles/task-tiles.js +68 -0
- package/lib/module/blocks/task-tiles/task-tiles.js.map +1 -0
- package/lib/module/charts/index.js +1 -0
- package/lib/module/charts/index.js.map +1 -1
- package/lib/module/charts/mini-bars.js +75 -0
- package/lib/module/charts/mini-bars.js.map +1 -0
- package/lib/module/components/avatar/avatar.js +100 -0
- package/lib/module/components/avatar/avatar.js.map +1 -0
- package/lib/module/components/avatar/index.js +4 -0
- package/lib/module/components/avatar/index.js.map +1 -0
- package/lib/module/components/button/button.js +1 -1
- package/lib/module/components/button/button.js.map +1 -1
- package/lib/module/components/calendar/calendar.js +200 -103
- package/lib/module/components/calendar/calendar.js.map +1 -1
- package/lib/module/components/check-list/check-list.js +54 -0
- package/lib/module/components/check-list/check-list.js.map +1 -0
- package/lib/module/components/check-list/index.js +4 -0
- package/lib/module/components/check-list/index.js.map +1 -0
- package/lib/module/components/checkbox/checkbox.js +1 -1
- package/lib/module/components/checkbox/checkbox.js.map +1 -1
- package/lib/module/components/chip/chip.js +33 -6
- 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 +42 -17
- package/lib/module/components/chip-group/chip-group.js.map +1 -1
- package/lib/module/components/circle-grid/circle-grid.js +141 -0
- package/lib/module/components/circle-grid/circle-grid.js.map +1 -0
- package/lib/module/components/circle-grid/index.js +4 -0
- package/lib/module/components/circle-grid/index.js.map +1 -0
- package/lib/module/components/dialog/dialog.js +1 -1
- package/lib/module/components/dialog/dialog.js.map +1 -1
- package/lib/module/components/empty-state/empty-state.js +15 -0
- package/lib/module/components/empty-state/empty-state.js.map +1 -1
- package/lib/module/components/field/field.js +11 -6
- package/lib/module/components/field/field.js.map +1 -1
- package/lib/module/components/field-group/field-group.js +39 -0
- package/lib/module/components/field-group/field-group.js.map +1 -0
- package/lib/module/components/field-group/index.js +4 -0
- package/lib/module/components/field-group/index.js.map +1 -0
- package/lib/module/components/list-row/list-row.js +56 -7
- package/lib/module/components/list-row/list-row.js.map +1 -1
- package/lib/module/components/page-header/index.js +5 -0
- package/lib/module/components/page-header/index.js.map +1 -0
- package/lib/module/components/page-header/page-header.js +110 -0
- package/lib/module/components/page-header/page-header.js.map +1 -0
- package/lib/module/components/page-header/store-header.js +134 -0
- package/lib/module/components/page-header/store-header.js.map +1 -0
- package/lib/module/components/photo/index.js +1 -0
- package/lib/module/components/photo/index.js.map +1 -1
- package/lib/module/components/photo/photo.js +15 -3
- package/lib/module/components/photo/photo.js.map +1 -1
- package/lib/module/components/progress-circle/index.js +4 -0
- package/lib/module/components/progress-circle/index.js.map +1 -0
- package/lib/module/components/progress-circle/progress-circle.js +49 -0
- package/lib/module/components/progress-circle/progress-circle.js.map +1 -0
- package/lib/module/components/result-mark/index.js +4 -0
- package/lib/module/components/result-mark/index.js.map +1 -0
- package/lib/module/components/result-mark/result-mark.js +42 -0
- package/lib/module/components/result-mark/result-mark.js.map +1 -0
- package/lib/module/components/segmented-tabs/segmented-tabs.js +1 -1
- package/lib/module/components/segmented-tabs/segmented-tabs.js.map +1 -1
- package/lib/module/components/sheet/index.js +1 -1
- package/lib/module/components/sheet/index.js.map +1 -1
- package/lib/module/components/sheet/sheet.js +28 -2
- package/lib/module/components/sheet/sheet.js.map +1 -1
- package/lib/module/components/status-steps/index.js +4 -0
- package/lib/module/components/status-steps/index.js.map +1 -0
- package/lib/module/components/status-steps/status-steps.js +96 -0
- package/lib/module/components/status-steps/status-steps.js.map +1 -0
- package/lib/module/components/step-slider/index.js +4 -0
- package/lib/module/components/step-slider/index.js.map +1 -0
- package/lib/module/components/step-slider/step-slider.js +167 -0
- package/lib/module/components/step-slider/step-slider.js.map +1 -0
- package/lib/module/components/text/text.js +3 -0
- package/lib/module/components/text/text.js.map +1 -1
- package/lib/module/components/text-links/index.js +4 -0
- package/lib/module/components/text-links/index.js.map +1 -0
- package/lib/module/components/text-links/text-links.js +48 -0
- package/lib/module/components/text-links/text-links.js.map +1 -0
- package/lib/module/index.js +12 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/internal/bell.js +4 -0
- package/lib/module/internal/bell.js.map +1 -0
- package/lib/module/internal/glyphs.js +47 -1
- package/lib/module/internal/glyphs.js.map +1 -1
- package/lib/module/internal/line-icons.js +21 -0
- package/lib/module/internal/line-icons.js.map +1 -0
- package/lib/module/internal/tab-icons.js +10 -0
- package/lib/module/internal/tab-icons.js.map +1 -0
- package/lib/module/templates/calendar-template.js +42 -0
- package/lib/module/templates/calendar-template.js.map +1 -0
- package/lib/module/templates/editor-template.js +2 -2
- package/lib/module/templates/editor-template.js.map +1 -1
- package/lib/module/templates/index.js +2 -0
- package/lib/module/templates/index.js.map +1 -1
- package/lib/module/templates/intro-template.js +1 -1
- package/lib/module/templates/list-template.js +50 -5
- package/lib/module/templates/list-template.js.map +1 -1
- package/lib/module/templates/notice-template.js +138 -0
- package/lib/module/templates/notice-template.js.map +1 -0
- package/lib/module/templates/parts.js +42 -1
- package/lib/module/templates/parts.js.map +1 -1
- package/lib/module/templates/result-template.js +17 -3
- package/lib/module/templates/result-template.js.map +1 -1
- package/lib/module/templates/scroll-templates.js +50 -1
- package/lib/module/templates/scroll-templates.js.map +1 -1
- package/lib/module/templates/system-template.js +18 -2
- package/lib/module/templates/system-template.js.map +1 -1
- package/lib/module/theme/base.js +20 -15
- package/lib/module/theme/base.js.map +1 -1
- package/lib/typescript/src/adjust/dial-strip.d.ts +1 -0
- package/lib/typescript/src/adjust/dial-strip.d.ts.map +1 -1
- package/lib/typescript/src/adjust/font-controls.d.ts +21 -0
- package/lib/typescript/src/adjust/font-controls.d.ts.map +1 -0
- package/lib/typescript/src/adjust/index.d.ts +1 -0
- package/lib/typescript/src/adjust/index.d.ts.map +1 -1
- package/lib/typescript/src/blocks/action-grid/action-grid.d.ts +15 -0
- package/lib/typescript/src/blocks/action-grid/action-grid.d.ts.map +1 -0
- package/lib/typescript/src/blocks/action-grid/index.d.ts +2 -0
- package/lib/typescript/src/blocks/action-grid/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/bulk-ship-list/bulk-ship-list.d.ts +3 -1
- package/lib/typescript/src/blocks/bulk-ship-list/bulk-ship-list.d.ts.map +1 -1
- package/lib/typescript/src/blocks/code-input/code-input.d.ts +14 -0
- package/lib/typescript/src/blocks/code-input/code-input.d.ts.map +1 -0
- package/lib/typescript/src/blocks/code-input/index.d.ts +2 -0
- package/lib/typescript/src/blocks/code-input/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/consent-list/consent-list.d.ts +18 -0
- package/lib/typescript/src/blocks/consent-list/consent-list.d.ts.map +1 -0
- package/lib/typescript/src/blocks/consent-list/index.d.ts +2 -0
- package/lib/typescript/src/blocks/consent-list/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/image-grid/image-grid.d.ts.map +1 -1
- package/lib/typescript/src/blocks/inbox-row/inbox-row.d.ts +15 -0
- package/lib/typescript/src/blocks/inbox-row/inbox-row.d.ts.map +1 -0
- package/lib/typescript/src/blocks/inbox-row/index.d.ts +2 -0
- package/lib/typescript/src/blocks/inbox-row/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/index.d.ts +11 -0
- package/lib/typescript/src/blocks/index.d.ts.map +1 -1
- package/lib/typescript/src/blocks/invite-card/index.d.ts +2 -0
- package/lib/typescript/src/blocks/invite-card/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/invite-card/invite-card.d.ts +15 -0
- package/lib/typescript/src/blocks/invite-card/invite-card.d.ts.map +1 -0
- package/lib/typescript/src/blocks/oauth-buttons/index.d.ts +1 -1
- package/lib/typescript/src/blocks/oauth-buttons/index.d.ts.map +1 -1
- package/lib/typescript/src/blocks/oauth-buttons/logos.d.ts +5 -0
- package/lib/typescript/src/blocks/oauth-buttons/logos.d.ts.map +1 -0
- package/lib/typescript/src/blocks/oauth-buttons/oauth-buttons.d.ts +3 -0
- package/lib/typescript/src/blocks/oauth-buttons/oauth-buttons.d.ts.map +1 -1
- package/lib/typescript/src/blocks/product-tile/index.d.ts +2 -0
- package/lib/typescript/src/blocks/product-tile/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/product-tile/product-tile.d.ts +12 -0
- package/lib/typescript/src/blocks/product-tile/product-tile.d.ts.map +1 -0
- package/lib/typescript/src/blocks/quick-actions/index.d.ts +2 -0
- package/lib/typescript/src/blocks/quick-actions/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/quick-actions/quick-actions.d.ts +14 -0
- package/lib/typescript/src/blocks/quick-actions/quick-actions.d.ts.map +1 -0
- package/lib/typescript/src/blocks/setup-guide/index.d.ts +2 -0
- package/lib/typescript/src/blocks/setup-guide/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/setup-guide/setup-guide.d.ts +14 -0
- package/lib/typescript/src/blocks/setup-guide/setup-guide.d.ts.map +1 -0
- package/lib/typescript/src/blocks/site-summary/index.d.ts +2 -0
- package/lib/typescript/src/blocks/site-summary/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/site-summary/site-summary.d.ts +18 -0
- package/lib/typescript/src/blocks/site-summary/site-summary.d.ts.map +1 -0
- package/lib/typescript/src/blocks/stage-bar/index.d.ts +2 -0
- package/lib/typescript/src/blocks/stage-bar/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/stage-bar/stage-bar.d.ts +15 -0
- package/lib/typescript/src/blocks/stage-bar/stage-bar.d.ts.map +1 -0
- package/lib/typescript/src/blocks/stat-card/stat-card.d.ts +2 -1
- package/lib/typescript/src/blocks/stat-card/stat-card.d.ts.map +1 -1
- package/lib/typescript/src/blocks/step-screen/step-screen.d.ts +5 -2
- package/lib/typescript/src/blocks/step-screen/step-screen.d.ts.map +1 -1
- package/lib/typescript/src/blocks/store-sheet/index.d.ts +2 -0
- package/lib/typescript/src/blocks/store-sheet/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/store-sheet/store-sheet.d.ts +16 -0
- package/lib/typescript/src/blocks/store-sheet/store-sheet.d.ts.map +1 -0
- package/lib/typescript/src/blocks/task-tiles/index.d.ts +2 -0
- package/lib/typescript/src/blocks/task-tiles/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/task-tiles/task-tiles.d.ts +16 -0
- package/lib/typescript/src/blocks/task-tiles/task-tiles.d.ts.map +1 -0
- package/lib/typescript/src/charts/index.d.ts +1 -0
- package/lib/typescript/src/charts/index.d.ts.map +1 -1
- package/lib/typescript/src/charts/mini-bars.d.ts +11 -0
- package/lib/typescript/src/charts/mini-bars.d.ts.map +1 -0
- package/lib/typescript/src/components/avatar/avatar.d.ts +13 -0
- package/lib/typescript/src/components/avatar/avatar.d.ts.map +1 -0
- package/lib/typescript/src/components/avatar/index.d.ts +2 -0
- package/lib/typescript/src/components/avatar/index.d.ts.map +1 -0
- package/lib/typescript/src/components/calendar/calendar.d.ts +4 -1
- package/lib/typescript/src/components/calendar/calendar.d.ts.map +1 -1
- package/lib/typescript/src/components/check-list/check-list.d.ts +5 -0
- package/lib/typescript/src/components/check-list/check-list.d.ts.map +1 -0
- package/lib/typescript/src/components/check-list/index.d.ts +2 -0
- package/lib/typescript/src/components/check-list/index.d.ts.map +1 -0
- package/lib/typescript/src/components/chip/chip.d.ts +5 -1
- 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 +4 -0
- package/lib/typescript/src/components/chip-group/chip-group.d.ts.map +1 -1
- package/lib/typescript/src/components/circle-grid/circle-grid.d.ts +17 -0
- package/lib/typescript/src/components/circle-grid/circle-grid.d.ts.map +1 -0
- package/lib/typescript/src/components/circle-grid/index.d.ts +2 -0
- package/lib/typescript/src/components/circle-grid/index.d.ts.map +1 -0
- package/lib/typescript/src/components/empty-state/empty-state.d.ts +6 -1
- package/lib/typescript/src/components/empty-state/empty-state.d.ts.map +1 -1
- package/lib/typescript/src/components/field/field.d.ts +2 -1
- package/lib/typescript/src/components/field/field.d.ts.map +1 -1
- package/lib/typescript/src/components/field-group/field-group.d.ts +10 -0
- package/lib/typescript/src/components/field-group/field-group.d.ts.map +1 -0
- package/lib/typescript/src/components/field-group/index.d.ts +2 -0
- package/lib/typescript/src/components/field-group/index.d.ts.map +1 -0
- package/lib/typescript/src/components/list-row/list-row.d.ts +6 -1
- package/lib/typescript/src/components/list-row/list-row.d.ts.map +1 -1
- package/lib/typescript/src/components/page-header/index.d.ts +3 -0
- package/lib/typescript/src/components/page-header/index.d.ts.map +1 -0
- package/lib/typescript/src/components/page-header/page-header.d.ts +23 -0
- package/lib/typescript/src/components/page-header/page-header.d.ts.map +1 -0
- package/lib/typescript/src/components/page-header/store-header.d.ts +17 -0
- package/lib/typescript/src/components/page-header/store-header.d.ts.map +1 -0
- package/lib/typescript/src/components/photo/index.d.ts +1 -0
- package/lib/typescript/src/components/photo/index.d.ts.map +1 -1
- package/lib/typescript/src/components/photo/photo.d.ts +2 -0
- package/lib/typescript/src/components/photo/photo.d.ts.map +1 -1
- package/lib/typescript/src/components/progress-circle/index.d.ts +2 -0
- package/lib/typescript/src/components/progress-circle/index.d.ts.map +1 -0
- package/lib/typescript/src/components/progress-circle/progress-circle.d.ts +8 -0
- package/lib/typescript/src/components/progress-circle/progress-circle.d.ts.map +1 -0
- package/lib/typescript/src/components/result-mark/index.d.ts +2 -0
- package/lib/typescript/src/components/result-mark/index.d.ts.map +1 -0
- package/lib/typescript/src/components/result-mark/result-mark.d.ts +7 -0
- package/lib/typescript/src/components/result-mark/result-mark.d.ts.map +1 -0
- 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 -0
- package/lib/typescript/src/components/sheet/sheet.d.ts.map +1 -1
- package/lib/typescript/src/components/status-steps/index.d.ts +2 -0
- package/lib/typescript/src/components/status-steps/index.d.ts.map +1 -0
- package/lib/typescript/src/components/status-steps/status-steps.d.ts +8 -0
- package/lib/typescript/src/components/status-steps/status-steps.d.ts.map +1 -0
- package/lib/typescript/src/components/step-slider/index.d.ts +2 -0
- package/lib/typescript/src/components/step-slider/index.d.ts.map +1 -0
- package/lib/typescript/src/components/step-slider/step-slider.d.ts +13 -0
- package/lib/typescript/src/components/step-slider/step-slider.d.ts.map +1 -0
- 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/index.d.ts +2 -0
- package/lib/typescript/src/components/text-links/index.d.ts.map +1 -0
- package/lib/typescript/src/components/text-links/text-links.d.ts +9 -0
- package/lib/typescript/src/components/text-links/text-links.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +12 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/internal/bell.d.ts +2 -0
- package/lib/typescript/src/internal/bell.d.ts.map +1 -0
- package/lib/typescript/src/internal/glyphs.d.ts +26 -0
- package/lib/typescript/src/internal/glyphs.d.ts.map +1 -1
- package/lib/typescript/src/internal/line-icons.d.ts +19 -0
- package/lib/typescript/src/internal/line-icons.d.ts.map +1 -0
- package/lib/typescript/src/internal/tab-icons.d.ts +8 -0
- package/lib/typescript/src/internal/tab-icons.d.ts.map +1 -0
- package/lib/typescript/src/templates/calendar-template.d.ts +11 -0
- package/lib/typescript/src/templates/calendar-template.d.ts.map +1 -0
- package/lib/typescript/src/templates/index.d.ts +4 -0
- package/lib/typescript/src/templates/index.d.ts.map +1 -1
- package/lib/typescript/src/templates/list-template.d.ts +9 -1
- package/lib/typescript/src/templates/list-template.d.ts.map +1 -1
- package/lib/typescript/src/templates/notice-template.d.ts +23 -0
- package/lib/typescript/src/templates/notice-template.d.ts.map +1 -0
- package/lib/typescript/src/templates/parts.d.ts +3 -2
- package/lib/typescript/src/templates/parts.d.ts.map +1 -1
- package/lib/typescript/src/templates/result-template.d.ts +3 -1
- package/lib/typescript/src/templates/result-template.d.ts.map +1 -1
- package/lib/typescript/src/templates/scroll-templates.d.ts +4 -1
- package/lib/typescript/src/templates/scroll-templates.d.ts.map +1 -1
- package/lib/typescript/src/templates/system-template.d.ts +4 -1
- package/lib/typescript/src/templates/system-template.d.ts.map +1 -1
- package/lib/typescript/src/theme/base.d.ts +20 -15
- package/lib/typescript/src/theme/base.d.ts.map +1 -1
- package/lib/typescript/src/types/index.d.ts +2 -0
- package/lib/typescript/src/types/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adjust/dial-strip.tsx +3 -2
- package/src/adjust/font-controls.tsx +86 -0
- package/src/adjust/index.ts +5 -0
- package/src/blocks/action-grid/action-grid.tsx +79 -0
- package/src/blocks/action-grid/index.ts +5 -0
- package/src/blocks/bulk-ship-list/bulk-ship-list.tsx +67 -24
- package/src/blocks/code-input/code-input.tsx +111 -0
- package/src/blocks/code-input/index.ts +1 -0
- package/src/blocks/color-swatch-picker/color-swatch-picker.tsx +25 -5
- package/src/blocks/consent-list/consent-list.tsx +129 -0
- package/src/blocks/consent-list/index.ts +5 -0
- package/src/blocks/copy-variant-picker/copy-variant-picker.tsx +1 -1
- package/src/blocks/image-grid/image-grid.tsx +3 -48
- package/src/blocks/inbox-row/inbox-row.tsx +114 -0
- package/src/blocks/inbox-row/index.ts +1 -0
- package/src/blocks/index.tsx +11 -0
- package/src/blocks/internal/card.tsx +1 -1
- package/src/blocks/invite-card/index.ts +1 -0
- package/src/blocks/invite-card/invite-card.tsx +151 -0
- package/src/blocks/oauth-buttons/index.ts +1 -0
- package/src/blocks/oauth-buttons/logos.ts +10 -0
- package/src/blocks/oauth-buttons/oauth-buttons.tsx +61 -3
- package/src/blocks/option-editor/option-editor.tsx +1 -1
- package/src/blocks/product-list-empty/product-list-empty.tsx +1 -1
- package/src/blocks/product-row/product-row.tsx +1 -1
- package/src/blocks/product-tile/index.ts +5 -0
- package/src/blocks/product-tile/product-tile.tsx +54 -0
- package/src/blocks/quick-actions/index.ts +5 -0
- package/src/blocks/quick-actions/quick-actions.tsx +61 -0
- package/src/blocks/selection-bar/selection-bar.tsx +1 -1
- package/src/blocks/setup-guide/index.ts +5 -0
- package/src/blocks/setup-guide/setup-guide.tsx +103 -0
- package/src/blocks/site-preview-frame/site-preview-frame.tsx +1 -1
- package/src/blocks/site-summary/index.ts +5 -0
- package/src/blocks/site-summary/site-summary.tsx +95 -0
- package/src/blocks/stage-bar/index.ts +1 -0
- package/src/blocks/stage-bar/stage-bar.tsx +107 -0
- package/src/blocks/stat-card/stat-card.tsx +10 -1
- package/src/blocks/step-screen/step-screen.tsx +70 -34
- package/src/blocks/store-sheet/index.ts +5 -0
- package/src/blocks/store-sheet/store-sheet.tsx +94 -0
- package/src/blocks/task-tiles/index.ts +1 -0
- package/src/blocks/task-tiles/task-tiles.tsx +79 -0
- package/src/charts/index.ts +1 -0
- package/src/charts/mini-bars.tsx +82 -0
- package/src/components/avatar/avatar.tsx +95 -0
- package/src/components/avatar/index.ts +1 -0
- package/src/components/button/button.tsx +1 -1
- package/src/components/calendar/calendar.tsx +213 -91
- package/src/components/check-list/check-list.tsx +46 -0
- package/src/components/check-list/index.ts +1 -0
- package/src/components/checkbox/checkbox.tsx +1 -1
- package/src/components/chip/chip.tsx +36 -6
- package/src/components/chip/index.ts +1 -1
- package/src/components/chip-group/chip-group.tsx +48 -21
- package/src/components/circle-grid/circle-grid.tsx +154 -0
- package/src/components/circle-grid/index.ts +5 -0
- package/src/components/dialog/dialog.tsx +1 -1
- package/src/components/empty-state/empty-state.tsx +26 -0
- package/src/components/field/field.tsx +9 -6
- package/src/components/field-group/field-group.tsx +40 -0
- package/src/components/field-group/index.ts +1 -0
- package/src/components/list-row/list-row.tsx +73 -5
- package/src/components/page-header/index.ts +14 -0
- package/src/components/page-header/page-header.tsx +122 -0
- package/src/components/page-header/store-header.tsx +138 -0
- package/src/components/photo/index.ts +1 -0
- package/src/components/photo/photo.tsx +19 -3
- package/src/components/progress-circle/index.ts +1 -0
- package/src/components/progress-circle/progress-circle.tsx +55 -0
- package/src/components/result-mark/index.ts +1 -0
- package/src/components/result-mark/result-mark.tsx +45 -0
- package/src/components/segmented-tabs/segmented-tabs.tsx +1 -1
- package/src/components/sheet/index.ts +6 -1
- package/src/components/sheet/sheet.tsx +34 -1
- package/src/components/status-steps/index.ts +1 -0
- package/src/components/status-steps/status-steps.tsx +84 -0
- package/src/components/step-slider/index.ts +1 -0
- package/src/components/step-slider/step-slider.tsx +153 -0
- package/src/components/text/text.tsx +2 -1
- package/src/components/text-links/index.ts +1 -0
- package/src/components/text-links/text-links.tsx +43 -0
- package/src/index.tsx +37 -0
- package/src/internal/bell.ts +2 -0
- package/src/internal/glyphs.tsx +69 -1
- package/src/internal/line-icons.ts +53 -0
- package/src/internal/tab-icons.ts +19 -0
- package/src/templates/calendar-template.tsx +46 -0
- package/src/templates/editor-template.tsx +2 -2
- package/src/templates/index.ts +4 -0
- package/src/templates/intro-template.tsx +1 -1
- package/src/templates/list-template.tsx +54 -0
- package/src/templates/notice-template.tsx +150 -0
- package/src/templates/parts.tsx +42 -2
- package/src/templates/result-template.tsx +26 -8
- package/src/templates/scroll-templates.tsx +59 -3
- package/src/templates/system-template.tsx +33 -2
- package/src/theme/base.ts +27 -15
- package/src/types/index.ts +2 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["View","Button","Text","makeStyles","jsxs","_jsxs","jsx","_jsx","useStyles","t","root","flexDirection","alignItems","gap","space","paddingVertical","paddingHorizontal","borderTopWidth","borderTopColor","colors","border","backgroundColor","
|
|
1
|
+
{"version":3,"names":["View","Button","Text","makeStyles","jsxs","_jsxs","jsx","_jsx","useStyles","t","root","flexDirection","alignItems","gap","space","paddingVertical","paddingHorizontal","borderTopWidth","borderTopColor","colors","border","backgroundColor","surface","boxShadow","shadow","md","info","flex","count","fontVariant","SelectionBar","max","actionLabel","onAction","onClear","disabled","style","s","full","undefined","accessibilityRole","children","accessibilityLiveRegion","weight","numberOfLines","variant","tone","size","onPress"],"sourceRoot":"../../../../src","sources":["blocks/selection-bar/selection-bar.tsx"],"mappings":";;AAAA,SAASA,IAAI,QAAwC,cAAc;AACnE,SAASC,MAAM,QAAQ,mCAAgC;AACvD,SAASC,IAAI,QAAQ,+BAA4B;AACjD,SAASC,UAAU,QAAQ,uBAAoB;AAAC,SAAAC,IAAA,IAAAC,KAAA,EAAAC,GAAA,IAAAC,IAAA;AAYhD,MAAMC,SAAS,GAAGL,UAAU,CAAEM,CAAC,KAAM;EACnCC,IAAI,EAAE;IACJC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,GAAG,EAAEJ,CAAC,CAACK,KAAK,CAAC,CAAC,CAAC;IACfC,eAAe,EAAEN,CAAC,CAACK,KAAK,CAAC,CAAC,CAAC;IAC3BE,iBAAiB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ACV,GAAG,EAAC,iEACV;MAAA,CAAM,CAAC,GACL,IAAI;IAAA,CACJ,CAAC,eACPxB,IAAA,CAACN,MAAM;MAAC4C,OAAO,EAAC,OAAO;MAACE,IAAI,EAAC,IAAI;MAACC,OAAO,EAAEd,OAAQ;MAAAO,QAAA,EAAC;IAEpD,CAAQ,CAAC,eACTlC,IAAA,CAACN,MAAM;MAAC8C,IAAI,EAAC,IAAI;MAACC,OAAO,EAAEf,QAAS;MAACE,QAAQ,EAAEA,QAAQ,IAAIP,KAAK,KAAK,CAAE;MAAAa,QAAA,EACpET;IAAW,CACN,CAAC;EAAA,CACL,CAAC;AAEX","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["SetupGuide"],"sourceRoot":"../../../../src","sources":["blocks/setup-guide/index.ts"],"mappings":";;AAAA,SACEA,UAAU,QAGL,kBAAe","ignoreList":[]}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { View } from 'react-native';
|
|
4
|
+
import { ListRow } from "../../components/list-row/list-row.js";
|
|
5
|
+
import { Text } from "../../components/text/text.js";
|
|
6
|
+
import { CheckGlyph } from "../../internal/glyphs.js";
|
|
7
|
+
import { useTheme } from "../../theme/theme-provider.js";
|
|
8
|
+
import { makeStyles } from "../../utils/styles.js";
|
|
9
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
const MARK = 24;
|
|
11
|
+
const RING = 1.5;
|
|
12
|
+
const TRACK = 4;
|
|
13
|
+
const useStyles = makeStyles(t => ({
|
|
14
|
+
head: {
|
|
15
|
+
flexDirection: 'row',
|
|
16
|
+
justifyContent: 'space-between',
|
|
17
|
+
paddingTop: t.space[2],
|
|
18
|
+
paddingBottom: t.space[2],
|
|
19
|
+
paddingHorizontal: t.layout.screenX
|
|
20
|
+
},
|
|
21
|
+
track: {
|
|
22
|
+
height: TRACK,
|
|
23
|
+
marginHorizontal: t.layout.screenX,
|
|
24
|
+
marginBottom: t.space[1],
|
|
25
|
+
borderRadius: t.radius.full,
|
|
26
|
+
backgroundColor: t.colors.border,
|
|
27
|
+
overflow: 'hidden'
|
|
28
|
+
},
|
|
29
|
+
fill: {
|
|
30
|
+
height: TRACK,
|
|
31
|
+
backgroundColor: t.colors.mutedForeground
|
|
32
|
+
},
|
|
33
|
+
mark: {
|
|
34
|
+
width: MARK,
|
|
35
|
+
height: MARK,
|
|
36
|
+
alignItems: 'center',
|
|
37
|
+
justifyContent: 'center'
|
|
38
|
+
},
|
|
39
|
+
ring: {
|
|
40
|
+
width: MARK,
|
|
41
|
+
height: MARK,
|
|
42
|
+
borderRadius: t.radius.full,
|
|
43
|
+
borderWidth: RING,
|
|
44
|
+
borderColor: t.colors.input
|
|
45
|
+
}
|
|
46
|
+
}));
|
|
47
|
+
export function SetupGuide({
|
|
48
|
+
title,
|
|
49
|
+
steps,
|
|
50
|
+
style
|
|
51
|
+
}) {
|
|
52
|
+
const t = useTheme();
|
|
53
|
+
const s = useStyles();
|
|
54
|
+
const done = steps.filter(step => step.done).length;
|
|
55
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
56
|
+
style: style,
|
|
57
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
58
|
+
style: s.head,
|
|
59
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
60
|
+
variant: "label",
|
|
61
|
+
weight: "medium",
|
|
62
|
+
tone: "muted",
|
|
63
|
+
children: title
|
|
64
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
65
|
+
variant: "label",
|
|
66
|
+
weight: "medium",
|
|
67
|
+
tone: "muted",
|
|
68
|
+
children: `${done} / ${steps.length}`
|
|
69
|
+
})]
|
|
70
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
71
|
+
accessibilityRole: "progressbar",
|
|
72
|
+
accessibilityValue: {
|
|
73
|
+
min: 0,
|
|
74
|
+
max: steps.length,
|
|
75
|
+
now: done
|
|
76
|
+
},
|
|
77
|
+
style: s.track,
|
|
78
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
79
|
+
style: [s.fill, {
|
|
80
|
+
width: `${steps.length ? done / steps.length * 100 : 0}%`
|
|
81
|
+
}]
|
|
82
|
+
})
|
|
83
|
+
}), steps.map(step => /*#__PURE__*/_jsx(ListRow, {
|
|
84
|
+
title: step.label,
|
|
85
|
+
leading: step.done ? /*#__PURE__*/_jsx(View, {
|
|
86
|
+
style: s.mark,
|
|
87
|
+
children: /*#__PURE__*/_jsx(CheckGlyph, {
|
|
88
|
+
color: t.colors.foreground,
|
|
89
|
+
size: t.iconSize.md
|
|
90
|
+
})
|
|
91
|
+
}) : /*#__PURE__*/_jsx(View, {
|
|
92
|
+
style: s.ring
|
|
93
|
+
}),
|
|
94
|
+
chevron: !step.done,
|
|
95
|
+
onPress: step.done ? undefined : step.onPress,
|
|
96
|
+
accessibilityState: {
|
|
97
|
+
checked: step.done
|
|
98
|
+
}
|
|
99
|
+
}, step.key))]
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
//# sourceMappingURL=setup-guide.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["View","ListRow","Text","CheckGlyph","useTheme","makeStyles","jsx","_jsx","jsxs","_jsxs","MARK","RING","TRACK","useStyles","t","head","flexDirection","justifyContent","paddingTop","space","paddingBottom","paddingHorizontal","layout","screenX","track","height","marginHorizontal","marginBottom","borderRadius","radius","full","backgroundColor","colors","border","overflow","fill","mutedForeground","mark","width","alignItems","ring","borderWidth","borderColor","input","SetupGuide","title","steps","style","s","done","filter","step","length","children","variant","weight","tone","accessibilityRole","accessibilityValue","min","max","now","map","label","leading","color","foreground","size","iconSize","md","chevron","onPress","undefined","accessibilityState","checked","key"],"sourceRoot":"../../../../src","sources":["blocks/setup-guide/setup-guide.tsx"],"mappings":";;AAAA,SAASA,IAAI,QAAwC,cAAc;AACnE,SAASC,OAAO,QAAQ,uCAAoC;AAC5D,SAASC,IA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,KAAK,CAACM,MAAM,GAAI,GAAG,GAAG,CAAC;QAAI,CAAC;MAC/D,CACH;IAAC,CACE,CAAC,EACNN,KAAK,CAACgB,GAAG,CAAEX,IAAI,iBACd5C,IAAA,CAACN,OAAO;MAEN4C,KAAK,EAAEM,IAAI,CAACY,KAAM;MAClBC,OAAO,EACLb,IAAI,CAACF,IAAI,gBACP1C,IAAA,CAACP,IAAI;QAAC+C,KAAK,EAAEC,CAAC,CAACX,IAAK;QAAAgB,QAAA,eAClB9C,IAAA,CAACJ,UAAU;UAAC8D,KAAK,EAAEnD,CAAC,CAACkB,MAAM,CAACkC,UAAW;UAACC,IAAI,EAAErD,CAAC,CAACsD,QAAQ,CAACC;QAAG,CAAE;MAAC,CAC3D,CAAC,gBAEP9D,IAAA,CAACP,IAAI;QAAC+C,KAAK,EAAEC,CAAC,CAACR;MAAK,CAAE,CAEzB;MACD8B,OAAO,EAAE,CAACnB,IAAI,CAACF,IAAK;MACpBsB,OAAO,EAAEpB,IAAI,CAACF,IAAI,GAAGuB,SAAS,GAAGrB,IAAI,CAACoB,OAAQ;MAC9CE,kBAAkB,EAAE;QAAEC,OAAO,EAAEvB,IAAI,CAACF;MAAK;IAAE,GAbtCE,IAAI,CAACwB,GAcX,CACF,CAAC;EAAA,CACE,CAAC;AAEX","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["View","Button","Photo","Text","makeStyles","jsx","_jsx","jsxs","_jsxs","useStyles","t","root","gap","space","device","alignSelf","width","maxWidth","aspectRatio","padding","borderRadius","backgroundColor","colors","foreground","boxShadow","shadow","md","screen","flex","overflow","
|
|
1
|
+
{"version":3,"names":["View","Button","Photo","Text","makeStyles","jsx","_jsx","jsxs","_jsxs","useStyles","t","root","gap","space","device","alignSelf","width","maxWidth","aspectRatio","padding","borderRadius","backgroundColor","colors","foreground","boxShadow","shadow","md","screen","flex","overflow","surface","bar","flexDirection","alignItems","minHeight","paddingLeft","paddingRight","radius","lg","muted","dot","height","warning","barLabel","barButton","paddingHorizontal","actions","reason","textAlign","SitePreviewFrame","screenshot","renderPreview","status","onPublish","publishing","publishDisabled","blockedReason","onRevert","style","s","children","accessibilityLabel","source","accessibilityLiveRegion","weight","size","onPress","loading","disabled","tone","variant"],"sourceRoot":"../../../../src","sources":["blocks/site-preview-frame/site-preview-frame.tsx"],"mappings":";;AACA,SACEA,IAAI,QAIC,cAAc;AACrB,SAASC,MAAM,QAAQ,mCAAgC;AACvD,SAASC,KAAK,QAAQ,iCAA8B;AACpD,SAASC,IAAI,QAAQ,+BAA4B;AACjD,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,MAAM,EAAE;IACNC,SAAS,EAAE,QAAQ;IACnBC,KAAK,EAAE,KAAK;IACZC,QAAQ,EAAE,GAAG;IACbC,WAAW,EAAE,CAAC,GAAG,IAAI;IACrBC,OAAO,EAAET,CAAC,CAACG,KAAK,CAAC,CAAC,CAAC;IACnBO,YAAY,EAAE,EAAE;IAChBC,eAAe,EAAEX,CAAC,CAACY,MAAM,CAACC,UAAU;IACpCC,SAAS,EAAEd,CAAC,CAACe,MAAM,CAACC;EACtB,CAAC;EACDC,MAAM,EAAE;IACNC,IAAI,EAAE,CAAC;IACPC,QAAQ,EAAE,QAAQ;IAClBT,YAAY,EAAE,EAAE;IAChBC,eAAe,EAAEX,CAAC,CAACY,MAAM,CAACQ;EAC5B,CAAC;EACDC,GAAG,EAAE;IACHC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBrB,GAAG,EAAEF,CAAC,CAACG,KAAK,CAAC,CAAC,CAAC;IACfqB,SAAS,EAAE,EAAE;IACbC,WAAW,EAAEzB,CA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,MAAO;QAAAa,QAAA,EACjEJ;MAAa,CACV,CAAC,GACL,IAAI,EACPC,QAAQ,IAAIL,MAAM,KAAK,OAAO,gBAC7B9C,IAAA,CAACL,MAAM;QAACqE,OAAO,EAAC,OAAO;QAACJ,OAAO,EAAET,QAAS;QAAAG,QAAA,EAAC;MAE3C,CAAQ,CAAC,GACP,IAAI;IAAA,CACJ,CAAC;EAAA,CACH,CAAC;AAEX","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["SiteSummary"],"sourceRoot":"../../../../src","sources":["blocks/site-summary/index.ts"],"mappings":";;AAAA,SACEA,WAAW,QAGN,mBAAgB","ignoreList":[]}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { View } from 'react-native';
|
|
4
|
+
import { Button } from "../../components/button/button.js";
|
|
5
|
+
import { Text } from "../../components/text/text.js";
|
|
6
|
+
import { makeStyles } from "../../utils/styles.js";
|
|
7
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
|
+
const FRAME = 4;
|
|
9
|
+
const useStyles = makeStyles(t => ({
|
|
10
|
+
root: {
|
|
11
|
+
flexDirection: 'row',
|
|
12
|
+
alignItems: 'flex-start',
|
|
13
|
+
gap: t.space[4],
|
|
14
|
+
paddingHorizontal: t.layout.screenX,
|
|
15
|
+
paddingVertical: t.space[2]
|
|
16
|
+
},
|
|
17
|
+
frame: {
|
|
18
|
+
width: t.space[16] + t.space[8],
|
|
19
|
+
aspectRatio: 1 / 2,
|
|
20
|
+
borderWidth: FRAME,
|
|
21
|
+
borderColor: t.colors.foreground,
|
|
22
|
+
borderRadius: t.radius.lg,
|
|
23
|
+
overflow: 'hidden',
|
|
24
|
+
backgroundColor: t.colors.surface
|
|
25
|
+
},
|
|
26
|
+
body: {
|
|
27
|
+
flex: 1,
|
|
28
|
+
gap: t.space[1],
|
|
29
|
+
paddingTop: t.space[2]
|
|
30
|
+
},
|
|
31
|
+
actions: {
|
|
32
|
+
flexDirection: 'row',
|
|
33
|
+
flexWrap: 'wrap',
|
|
34
|
+
gap: t.space[2],
|
|
35
|
+
paddingTop: t.space[2]
|
|
36
|
+
}
|
|
37
|
+
}));
|
|
38
|
+
export function SiteSummary({
|
|
39
|
+
preview,
|
|
40
|
+
overline,
|
|
41
|
+
title,
|
|
42
|
+
caption,
|
|
43
|
+
actions = [],
|
|
44
|
+
style
|
|
45
|
+
}) {
|
|
46
|
+
const s = useStyles();
|
|
47
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
48
|
+
style: [s.root, style],
|
|
49
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
50
|
+
style: s.frame,
|
|
51
|
+
children: preview
|
|
52
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
53
|
+
style: s.body,
|
|
54
|
+
children: [overline ? /*#__PURE__*/_jsx(Text, {
|
|
55
|
+
variant: "caption",
|
|
56
|
+
tone: "muted",
|
|
57
|
+
children: overline
|
|
58
|
+
}) : null, /*#__PURE__*/_jsx(Text, {
|
|
59
|
+
variant: "title",
|
|
60
|
+
weight: "bold",
|
|
61
|
+
numberOfLines: 2,
|
|
62
|
+
children: title
|
|
63
|
+
}), caption ? /*#__PURE__*/_jsx(Text, {
|
|
64
|
+
variant: "caption",
|
|
65
|
+
tone: "muted",
|
|
66
|
+
numberOfLines: 2,
|
|
67
|
+
children: caption
|
|
68
|
+
}) : null, actions.length ? /*#__PURE__*/_jsx(View, {
|
|
69
|
+
style: s.actions,
|
|
70
|
+
children: actions.map(action => /*#__PURE__*/_jsx(Button, {
|
|
71
|
+
variant: "outline",
|
|
72
|
+
size: "sm",
|
|
73
|
+
leftIcon: action.icon,
|
|
74
|
+
onPress: action.onPress,
|
|
75
|
+
children: action.label
|
|
76
|
+
}, action.label))
|
|
77
|
+
}) : null]
|
|
78
|
+
})]
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=site-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["View","Button","Text","makeStyles","jsx","_jsx","jsxs","_jsxs","FRAME","useStyles","t","root","flexDirection","alignItems","gap","space","paddingHorizontal","layout","screenX","paddingVertical","frame","width","aspectRatio","borderWidth","borderColor","colors","foreground","borderRadius","radius","lg","overflow","backgroundColor","surface","body","flex","paddingTop","actions","flexWrap","SiteSummary","preview","overline","title","caption","style","s","children","variant","tone","weight","numberOfLines","length","map","action","size","leftIcon","icon","onPress","label"],"sourceRoot":"../../../../src","sources":["blocks/site-summary/site-summary.tsx"],"mappings":";;AACA,SAASA,IAAI,QAAwC,cAAc;AACnE,SAASC,MAAM,QAAQ,mCAAgC;AACvD,SAASC,IAAI,QAAQ,+BAA4B;AAEjD,SAASC,UAAU,QAAQ,uBAAoB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAiBhD,MAAMC,KAAK,GAAG,CAAC;AAEf,MAAMC,SAAS,GAAGN,UAAU,CAAEO,CAAC,KAAM;EACnCC,IAAI,EAAE;IACJC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,YAAY;IACxBC,GAAG,EAAEJ,CAAC,CAACK,KAAK,CAAC,CAAC,CAAC;IACfC,iBAAiB,EAAEN,CAAC,CAACO,MAAM,CAACC,OAAO;IACnCC,eAAe,EAAET,CAAC,CAACK,KAAK,CAAC,CAAC;EAC5B,CAAC;EACDK,KAAK,EAAE;IACLC,KAAK,EAAEX,CAAC,CAACK,KAAK,CAAC,EAAE,CAAC,GAAGL,CAAC,CAACK,KAAK,CAAC,CAAC,CAAC;IAC/BO,WAAW,EAAE,CAAC,GAAG,CAAC;IAClBC,WAAW,EAAEf,KAAK;IAClBgB,WAAW,EAAEd,CAAC,CAACe,MAAM,CAACC,UAAU;IAChCC,YAAY,EAAEjB,CAAC,CAACkB,MAAM,CAACC,EAAE;IACzBC,QAAQ,EAAE,QAAQ;IAClBC,eAAe,EAAErB,C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SAAS;QAACC,IAAI,EAAC,OAAO;QAACE,aAAa,EAAE,CAAE;QAAAJ,QAAA,EACnDH;MAAO,CACJ,CAAC,GACL,IAAI,EACPN,OAAO,CAACc,MAAM,gBACb7C,IAAA,CAACL,IAAI;QAAC2C,KAAK,EAAEC,CAAC,CAACR,OAAQ;QAAAS,QAAA,EACpBT,OAAO,CAACe,GAAG,CAAEC,MAAM,iBAClB/C,IAAA,CAACJ,MAAM;UAEL6C,OAAO,EAAC,SAAS;UACjBO,IAAI,EAAC,IAAI;UACTC,QAAQ,EAAEF,MAAM,CAACG,IAAK;UACtBC,OAAO,EAAEJ,MAAM,CAACI,OAAQ;UAAAX,QAAA,EAEvBO,MAAM,CAACK;QAAK,GANRL,MAAM,CAACK,KAON,CACT;MAAC,CACE,CAAC,GACL,IAAI;IAAA,CACJ,CAAC;EAAA,CACH,CAAC;AAEX","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StageBar"],"sourceRoot":"../../../../src","sources":["blocks/stage-bar/index.ts"],"mappings":";;AAAA,SAASA,QAAQ,QAA+C,gBAAa","ignoreList":[]}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { Fragment } from 'react';
|
|
4
|
+
import { View } from 'react-native';
|
|
5
|
+
import { Text } from "../../components/text/text.js";
|
|
6
|
+
import { ChevronGlyph } from "../../internal/glyphs.js";
|
|
7
|
+
import { PressableBase } from "../../internal/pressable-base.js";
|
|
8
|
+
import { useTheme } from "../../theme/theme-provider.js";
|
|
9
|
+
import { makeStyles } from "../../utils/styles.js";
|
|
10
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
+
const useStyles = makeStyles(t => ({
|
|
12
|
+
root: {
|
|
13
|
+
flexDirection: 'row',
|
|
14
|
+
alignItems: 'center',
|
|
15
|
+
marginHorizontal: t.layout.screenX,
|
|
16
|
+
padding: t.space[1],
|
|
17
|
+
borderRadius: t.radius.lg,
|
|
18
|
+
backgroundColor: t.colors.surface
|
|
19
|
+
},
|
|
20
|
+
stage: {
|
|
21
|
+
flex: 1,
|
|
22
|
+
alignItems: 'center',
|
|
23
|
+
gap: t.space[1] / 2,
|
|
24
|
+
paddingVertical: t.space[2],
|
|
25
|
+
borderRadius: t.radius.md
|
|
26
|
+
},
|
|
27
|
+
on: {
|
|
28
|
+
backgroundColor: t.colors.primaryTint
|
|
29
|
+
},
|
|
30
|
+
count: {
|
|
31
|
+
fontSize: t.typography.title.fontSize,
|
|
32
|
+
lineHeight: t.typography.title.lineHeight,
|
|
33
|
+
fontVariant: ['tabular-nums']
|
|
34
|
+
},
|
|
35
|
+
split: {
|
|
36
|
+
width: 1,
|
|
37
|
+
alignSelf: 'stretch',
|
|
38
|
+
marginVertical: t.space[2],
|
|
39
|
+
backgroundColor: t.colors.border
|
|
40
|
+
}
|
|
41
|
+
}));
|
|
42
|
+
export function StageBar({
|
|
43
|
+
items,
|
|
44
|
+
value,
|
|
45
|
+
onValueChange,
|
|
46
|
+
style
|
|
47
|
+
}) {
|
|
48
|
+
const t = useTheme();
|
|
49
|
+
const s = useStyles();
|
|
50
|
+
return /*#__PURE__*/_jsx(View, {
|
|
51
|
+
style: [s.root, style],
|
|
52
|
+
accessibilityRole: "tablist",
|
|
53
|
+
children: items.map((item, i) => {
|
|
54
|
+
const on = item.value === value;
|
|
55
|
+
const next = items[i + 1];
|
|
56
|
+
const live = (item.count ?? 0) > 0;
|
|
57
|
+
return /*#__PURE__*/_jsxs(Fragment, {
|
|
58
|
+
children: [/*#__PURE__*/_jsxs(PressableBase, {
|
|
59
|
+
accessibilityRole: "tab",
|
|
60
|
+
accessibilityState: {
|
|
61
|
+
selected: on
|
|
62
|
+
},
|
|
63
|
+
accessibilityLabel: `${item.label} ${item.count ?? 0}`,
|
|
64
|
+
onPress: () => onValueChange(on ? null : item.value),
|
|
65
|
+
style: [s.stage, on && s.on],
|
|
66
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
67
|
+
weight: "bold",
|
|
68
|
+
tone: live ? 'point' : 'muted',
|
|
69
|
+
style: s.count,
|
|
70
|
+
children: item.count ?? 0
|
|
71
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
72
|
+
variant: "caption",
|
|
73
|
+
weight: on ? 'bold' : undefined,
|
|
74
|
+
tone: on ? 'default' : 'muted',
|
|
75
|
+
numberOfLines: 1,
|
|
76
|
+
children: item.label
|
|
77
|
+
})]
|
|
78
|
+
}), next ? next.flow === false ? /*#__PURE__*/_jsx(View, {
|
|
79
|
+
style: s.split
|
|
80
|
+
}) : /*#__PURE__*/_jsx(ChevronGlyph, {
|
|
81
|
+
color: t.colors.mutedForeground,
|
|
82
|
+
size: t.iconSize.sm
|
|
83
|
+
}) : null]
|
|
84
|
+
}, item.value);
|
|
85
|
+
})
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
//# sourceMappingURL=stage-bar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Fragment","View","Text","ChevronGlyph","PressableBase","useTheme","makeStyles","jsx","_jsx","jsxs","_jsxs","useStyles","t","root","flexDirection","alignItems","marginHorizontal","layout","screenX","padding","space","borderRadius","radius","lg","backgroundColor","colors","surface","stage","flex","gap","paddingVertical","md","on","primaryTint","count","fontSize","typography","title","lineHeight","fontVariant","split","width","alignSelf","marginVertical","border","StageBar","items","value","onValueChange","style","s","accessibilityRole","children","map","item","i","next","live","accessibilityState","selected","accessibilityLabel","label","onPress","weight","tone","variant","undefined","numberOfLines","flow","color","mutedForeground","size","iconSize","sm"],"sourceRoot":"../../../../src","sources":["blocks/stage-bar/stage-bar.tsx"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,OAAO;AAChC,SAASC,IAAI,QAAwC,cAAc;AACnE,SAASC,IAAI,QAAQ,+BAA4B;AACjD,SAASC,YAAY,QAAQ,0BAAuB;AACpD,SAASC,aAAa,QAAQ,kCAA+B;AAC7D,S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AI;YACH+D,OAAO,EAAC,SAAS;YACjBF,MAAM,EAAE/B,EAAE,GAAG,MAAM,GAAGkC,SAAU;YAChCF,IAAI,EAAEhC,EAAE,GAAG,SAAS,GAAG,OAAQ;YAC/BmC,aAAa,EAAE,CAAE;YAAAf,QAAA,EAEhBE,IAAI,CAACO;UAAK,CACP,CAAC;QAAA,CACM,CAAC,EACfL,IAAI,GACHA,IAAI,CAACY,IAAI,KAAK,KAAK,gBACjB5D,IAAA,CAACP,IAAI;UAACgD,KAAK,EAAEC,CAAC,CAACV;QAAM,CAAE,CAAC,gBAExBhC,IAAA,CAACL,YAAY;UACXkE,KAAK,EAAEzD,CAAC,CAACa,MAAM,CAAC6C,eAAgB;UAChCC,IAAI,EAAE3D,CAAC,CAAC4D,QAAQ,CAACC;QAAG,CACrB,CACF,GACC,IAAI;MAAA,GAjCKnB,IAAI,CAACP,KAkCV,CAAC;IAEf,CAAC;EAAC,CACE,CAAC;AAEX","ignoreList":[]}
|
|
@@ -15,6 +15,10 @@ const useStyles = makeStyles(t => ({
|
|
|
15
15
|
flex: 1,
|
|
16
16
|
gap: t.space[1]
|
|
17
17
|
},
|
|
18
|
+
head: {
|
|
19
|
+
flexDirection: 'row',
|
|
20
|
+
justifyContent: 'space-between'
|
|
21
|
+
},
|
|
18
22
|
value: {
|
|
19
23
|
flexDirection: 'row',
|
|
20
24
|
flexWrap: 'wrap',
|
|
@@ -27,6 +31,7 @@ const useStyles = makeStyles(t => ({
|
|
|
27
31
|
}));
|
|
28
32
|
export function StatCard({
|
|
29
33
|
label,
|
|
34
|
+
meta,
|
|
30
35
|
value,
|
|
31
36
|
change,
|
|
32
37
|
chart,
|
|
@@ -38,15 +43,24 @@ export function StatCard({
|
|
|
38
43
|
const flat = hasChange && Math.abs(change) < 0.05;
|
|
39
44
|
const up = hasChange && change > 0;
|
|
40
45
|
const rate = hasChange ? `${Math.abs(change).toFixed(1)}%` : '';
|
|
41
|
-
return /*#__PURE__*/
|
|
46
|
+
return /*#__PURE__*/_jsxs(Card, {
|
|
42
47
|
onPress: onPress,
|
|
43
48
|
accessibilityLabel: `${label} ${value}${hasChange && !flat ? ` ${rate} ${up ? '증가' : '감소'}` : ''}`,
|
|
44
49
|
style: style,
|
|
45
|
-
children: /*#__PURE__*/_jsxs(View, {
|
|
50
|
+
children: [meta ? /*#__PURE__*/_jsxs(View, {
|
|
51
|
+
style: s.head,
|
|
52
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
53
|
+
tone: "muted",
|
|
54
|
+
children: label
|
|
55
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
56
|
+
tone: "muted",
|
|
57
|
+
children: meta
|
|
58
|
+
})]
|
|
59
|
+
}) : null, /*#__PURE__*/_jsxs(View, {
|
|
46
60
|
style: s.row,
|
|
47
61
|
children: [/*#__PURE__*/_jsxs(View, {
|
|
48
62
|
style: s.body,
|
|
49
|
-
children: [/*#__PURE__*/_jsx(Text, {
|
|
63
|
+
children: [meta ? null : /*#__PURE__*/_jsx(Text, {
|
|
50
64
|
tone: "muted",
|
|
51
65
|
children: label
|
|
52
66
|
}), /*#__PURE__*/_jsxs(View, {
|
|
@@ -63,7 +77,7 @@ export function StatCard({
|
|
|
63
77
|
}) : null]
|
|
64
78
|
})]
|
|
65
79
|
}), chart]
|
|
66
|
-
})
|
|
80
|
+
})]
|
|
67
81
|
});
|
|
68
82
|
}
|
|
69
83
|
//# sourceMappingURL=stat-card.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["View","Text","makeStyles","Card","jsx","_jsx","jsxs","_jsxs","useStyles","t","row","flexDirection","alignItems","gap","space","body","flex","value","flexWrap","columnGap","down","color","colors","info","StatCard","label","change","chart","onPress","style","s","hasChange","undefined","Number","isFinite","flat","Math","abs","up","rate","toFixed","accessibilityLabel","children","tone","variant","weight"],"sourceRoot":"../../../../src","sources":["blocks/stat-card/stat-card.tsx"],"mappings":";;AACA,SAASA,IAAI,QAAwC,cAAc;AACnE,SAASC,IAAI,QAAQ,+BAA4B;AACjD,SAASC,UAAU,QAAQ,uBAAoB;AAC/C,SAASC,IAAI,QAAQ,qBAAkB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;
|
|
1
|
+
{"version":3,"names":["View","Text","makeStyles","Card","jsx","_jsx","jsxs","_jsxs","useStyles","t","row","flexDirection","alignItems","gap","space","body","flex","head","justifyContent","value","flexWrap","columnGap","down","color","colors","info","StatCard","label","meta","change","chart","onPress","style","s","hasChange","undefined","Number","isFinite","flat","Math","abs","up","rate","toFixed","accessibilityLabel","children","tone","variant","weight"],"sourceRoot":"../../../../src","sources":["blocks/stat-card/stat-card.tsx"],"mappings":";;AACA,SAASA,IAAI,QAAwC,cAAc;AACnE,SAASC,IAAI,QAAQ,+BAA4B;AACjD,SAASC,UAAU,QAAQ,uBAAoB;AAC/C,SAASC,IAAI,QAAQ,qBAAkB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAYxC,MAAMC,SAAS,GAAGN,UAAU,CAAEO,CAAC,KAAM;EACnCC,GAAG,EAAE;IAAEC,aAAa,EAAE,KAAK;IAAEC,UAAU,EAAE,UAAU;IAAEC,GAAG,EAAEJ,CAAC,CAACK,KAAK,CAAC,CAAC;EAAE,CAAC;EACtEC,IAAI,EAAE;IAAEC,IAAI,EAAE,CAAC;IAAEH,GAAG,EAAEJ,CAAC,CAACK,KAAK,CAAC,CAAC;EAAE,CAAC;EAClCG,IAAI,EAAE;IAAEN,aAAa,EAAE,KAAK;IAAEO,cAAc,EAAE;EAAgB,CAAC;EAC/DC,KAAK,EAAE;IACLR,aAAa,EAAE,KAAK;IACpBS,QAAQ,EAAE,MAAM;IAChBR,UAAU,EAAE,UAAU;IACtBS,SAAS,EAAEZ,CAAC,CAACK,KAAK,CAAC,CAAC;EACtB,CAAC;EACDQ,IAAI,EAAE;IAAEC,KAAK,EAAEd,CAAC,CAACe,MAAM,CAACC;EAAK;AAC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,QAAA,gBACjBtC,KAAA,CAACP,IAAI;QAACgC,KAAK,EAAEC,CAAC,CAAClB,IAAK;QAAA8B,QAAA,GACjBjB,IAAI,GAAG,IAAI,gBAAGvB,IAAA,CAACJ,IAAI;UAAC6C,IAAI,EAAC,OAAO;UAAAD,QAAA,EAAElB;QAAK,CAAO,CAAC,eAChDpB,KAAA,CAACP,IAAI;UAACgC,KAAK,EAAEC,CAAC,CAACd,KAAM;UAAA0B,QAAA,gBACnBxC,IAAA,CAACJ,IAAI;YAAC8C,OAAO,EAAC,OAAO;YAACC,MAAM,EAAC,MAAM;YAAAH,QAAA,EAChC1B;UAAK,CACF,CAAC,EACNe,SAAS,gBACR7B,IAAA,CAACJ,IAAI;YACH+C,MAAM,EAAC,MAAM;YACbF,IAAI,EAAER,IAAI,GAAG,OAAO,GAAGG,EAAE,GAAG,QAAQ,GAAG,SAAU;YACjDT,KAAK,EAAE,CAACM,IAAI,IAAI,CAACG,EAAE,IAAIR,CAAC,CAACX,IAAK;YAAAuB,QAAA,EAE7BP,IAAI,GAAG,OAAO,GAAG,GAAGG,EAAE,GAAG,GAAG,GAAG,GAAG,IAAIC,IAAI;UAAE,CACzC,CAAC,GACL,IAAI;QAAA,CACJ,CAAC;MAAA,CACH,CAAC,EACNZ,KAAK;IAAA,CACF,CAAC;EAAA,CACH,CAAC;AAEX","ignoreList":[]}
|
|
@@ -14,6 +14,9 @@ const useStyles = makeStyles(t => ({
|
|
|
14
14
|
flex: 1,
|
|
15
15
|
backgroundColor: t.colors.background
|
|
16
16
|
},
|
|
17
|
+
main: {
|
|
18
|
+
flex: 1
|
|
19
|
+
},
|
|
17
20
|
header: {
|
|
18
21
|
height: t.headerHeight,
|
|
19
22
|
flexDirection: 'row',
|
|
@@ -54,16 +57,32 @@ const useStyles = makeStyles(t => ({
|
|
|
54
57
|
paddingHorizontal: t.layout.screenX,
|
|
55
58
|
paddingTop: t.layout.footerTop,
|
|
56
59
|
backgroundColor: t.colors.background
|
|
60
|
+
},
|
|
61
|
+
floating: {
|
|
62
|
+
position: 'absolute',
|
|
63
|
+
left: 0,
|
|
64
|
+
right: 0,
|
|
65
|
+
bottom: 0,
|
|
66
|
+
alignItems: 'center',
|
|
67
|
+
backgroundColor: 'transparent'
|
|
68
|
+
},
|
|
69
|
+
pill: {
|
|
70
|
+
borderRadius: t.controlSize.lg / 2,
|
|
71
|
+
paddingHorizontal: t.space[10],
|
|
72
|
+
boxShadow: t.shadow.md
|
|
57
73
|
}
|
|
58
74
|
}));
|
|
59
75
|
export function StepScreen({
|
|
76
|
+
top,
|
|
60
77
|
title,
|
|
61
78
|
total,
|
|
62
79
|
current = 0,
|
|
63
80
|
onBack,
|
|
64
81
|
backLabel = '이전',
|
|
65
82
|
primaryAction,
|
|
83
|
+
floatingAction = false,
|
|
66
84
|
secondaryAction,
|
|
85
|
+
actions,
|
|
67
86
|
notice,
|
|
68
87
|
bottomInset = 0,
|
|
69
88
|
children
|
|
@@ -71,6 +90,7 @@ export function StepScreen({
|
|
|
71
90
|
const t = useTheme();
|
|
72
91
|
const s = useStyles();
|
|
73
92
|
const step = total ? Math.min(total, Math.max(1, current + 1)) : 0;
|
|
93
|
+
const footerBottom = t.layout.footerBottom + bottomInset;
|
|
74
94
|
return /*#__PURE__*/_jsxs(KeyboardAvoidingView, {
|
|
75
95
|
behavior: "padding",
|
|
76
96
|
style: s.root,
|
|
@@ -102,34 +122,41 @@ export function StepScreen({
|
|
|
102
122
|
width: `${step / total * 100}%`
|
|
103
123
|
}]
|
|
104
124
|
})
|
|
105
|
-
}) : null, /*#__PURE__*/_jsxs(ScrollView, {
|
|
106
|
-
contentContainerStyle: s.body,
|
|
107
|
-
keyboardShouldPersistTaps: "handled",
|
|
108
|
-
children: [/*#__PURE__*/_jsx(Text, {
|
|
109
|
-
weight: "bold",
|
|
110
|
-
accessibilityRole: "header",
|
|
111
|
-
style: s.title,
|
|
112
|
-
children: title
|
|
113
|
-
}), children]
|
|
114
|
-
}), notice ? /*#__PURE__*/_jsx(Notice, {
|
|
115
|
-
notice: notice
|
|
116
125
|
}) : null, /*#__PURE__*/_jsxs(View, {
|
|
117
|
-
style:
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
126
|
+
style: s.main,
|
|
127
|
+
children: [/*#__PURE__*/_jsxs(ScrollView, {
|
|
128
|
+
contentContainerStyle: [s.body, floatingAction && {
|
|
129
|
+
paddingBottom: footerBottom + t.layout.footerTop + t.controlSize.lg
|
|
130
|
+
}],
|
|
131
|
+
keyboardShouldPersistTaps: "handled",
|
|
132
|
+
children: [top, /*#__PURE__*/_jsx(Text, {
|
|
133
|
+
weight: "bold",
|
|
134
|
+
accessibilityRole: "header",
|
|
135
|
+
style: s.title,
|
|
136
|
+
children: title
|
|
137
|
+
}), children]
|
|
138
|
+
}), notice ? /*#__PURE__*/_jsx(Notice, {
|
|
139
|
+
notice: notice
|
|
140
|
+
}) : null, /*#__PURE__*/_jsxs(View, {
|
|
141
|
+
pointerEvents: floatingAction ? 'box-none' : 'auto',
|
|
142
|
+
style: [s.footer, floatingAction && s.floating, {
|
|
143
|
+
paddingBottom: footerBottom
|
|
144
|
+
}],
|
|
145
|
+
children: [actions, primaryAction ? /*#__PURE__*/_jsx(Button, {
|
|
146
|
+
size: "lg",
|
|
147
|
+
onPress: primaryAction.onPress,
|
|
148
|
+
disabled: primaryAction.disabled,
|
|
149
|
+
loading: primaryAction.loading,
|
|
150
|
+
style: floatingAction ? s.pill : undefined,
|
|
151
|
+
children: primaryAction.label
|
|
152
|
+
}) : null, secondaryAction ? /*#__PURE__*/_jsx(Button, {
|
|
153
|
+
variant: "ghost",
|
|
154
|
+
onPress: secondaryAction.onPress,
|
|
155
|
+
disabled: secondaryAction.disabled,
|
|
156
|
+
loading: secondaryAction.loading,
|
|
157
|
+
children: secondaryAction.label
|
|
158
|
+
}) : null]
|
|
159
|
+
})]
|
|
133
160
|
})]
|
|
134
161
|
});
|
|
135
162
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["KeyboardAvoidingView","ScrollView","View","Button","Text","ChevronGlyph","PressableBase","useTheme","makeStyles","Notice","jsx","_jsx","jsxs","_jsxs","useStyles","t","root","flex","backgroundColor","colors","background","header","height","headerHeight","flexDirection","alignItems","paddingHorizontal","space","back","width","minTouchSize","justifyContent","backIcon","transform","scaleX","track","muted","fill","primary","body","gap","layout","titleGap","paddingTop","screenTop","screenX","paddingBottom","footerBottom","title","fontSize","typography","screenTitle","lineHeight","footer","itemGap","footerTop","StepScreen","total","current","onBack","backLabel","primaryAction","secondaryAction","notice","bottomInset","children","s","step","Math","min","max","behavior","style","onPress","accessibilityLabel","color","foreground","size","accessibilityRole","accessibilityValue","now","contentContainerStyle","keyboardShouldPersistTaps","weight","disabled","loading","label","variant"],"sourceRoot":"../../../../src","sources":["blocks/step-screen/step-screen.tsx"],"mappings":";;AACA,SAASA,oBAAoB,EAAEC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AACrE,SAASC,MAAM,QAAQ,mCAAgC;AACvD,SAASC,IAAI,QAAQ,+BAA4B;AACjD,SAASC,YAAY,QAAQ,0BAAuB;AACpD,SAASC,aAAa,QAAQ,kCAA+B;AAC7D,SAASC,QAAQ,QAAQ,+BAA4B;AACrD,SAASC,UAAU,QAAQ,uBAAoB;AAC/C,SAASC,MAAM,QAA6B,0BAAuB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;
|
|
1
|
+
{"version":3,"names":["KeyboardAvoidingView","ScrollView","View","Button","Text","ChevronGlyph","PressableBase","useTheme","makeStyles","Notice","jsx","_jsx","jsxs","_jsxs","useStyles","t","root","flex","backgroundColor","colors","background","main","header","height","headerHeight","flexDirection","alignItems","paddingHorizontal","space","back","width","minTouchSize","justifyContent","backIcon","transform","scaleX","track","muted","fill","primary","body","gap","layout","titleGap","paddingTop","screenTop","screenX","paddingBottom","footerBottom","title","fontSize","typography","screenTitle","lineHeight","footer","itemGap","footerTop","floating","position","left","right","bottom","pill","borderRadius","controlSize","lg","boxShadow","shadow","md","StepScreen","top","total","current","onBack","backLabel","primaryAction","floatingAction","secondaryAction","actions","notice","bottomInset","children","s","step","Math","min","max","behavior","style","onPress","accessibilityLabel","color","foreground","size","accessibilityRole","accessibilityValue","now","contentContainerStyle","keyboardShouldPersistTaps","weight","pointerEvents","disabled","loading","undefined","label","variant"],"sourceRoot":"../../../../src","sources":["blocks/step-screen/step-screen.tsx"],"mappings":";;AACA,SAASA,oBAAoB,EAAEC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AACrE,SAASC,MAAM,QAAQ,mCAAgC;AACvD,SAASC,IAAI,QAAQ,+BAA4B;AACjD,SAASC,YAAY,QAAQ,0BAAuB;AACpD,SAASC,aAAa,QAAQ,kCAA+B;AAC7D,SAASC,QAAQ,QAAQ,+BAA4B;AACrD,SAASC,UAAU,QAAQ,uBAAoB;AAC/C,SAASC,MAAM,QAA6B,0BAAuB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAyBpE,MAAMC,SAAS,GAAGN,UAAU,CAAEO,CAAC,KAAM;EACnCC,IAAI,EAAE;IAAEC,IAAI,EAAE,CAAC;IAAEC,eAAe,EAAEH,CAAC,CAACI,MAAM,CAACC;EAAW,CAAC;EACvDC,IAAI,EAAE;IAAEJ,IAAI,EAAE;EAAE,CAAC;EACjBK,MAAM,EAAE;IACNC,MAAM,EAAER,CAAC,CAACS,YAAY;IACtBC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,iBAAiB,EAAEZ,CAAC,CAACa,KAAK,CAAC,CAAC;EAC9B,CAAC;EACDC,IAAI,EAAE;IACJC,KAAK,EAAEf,CAAC,CAACgB,YAAY;IACrBR,MAAM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AE,CAAC,GAAG,IAAI,eAC3ClE,KAAA,CAACX,IAAI;QACHkG,aAAa,EAAExB,cAAc,GAAG,UAAU,GAAG,MAAO;QACpDY,KAAK,EAAE,CACLN,CAAC,CAAC5B,MAAM,EACRsB,cAAc,IAAIM,CAAC,CAACzB,QAAQ,EAC5B;UAAEV,aAAa,EAAEC;QAAa,CAAC,CAC/B;QAAAiC,QAAA,GAEDH,OAAO,EACPH,aAAa,gBACZhE,IAAA,CAACR,MAAM;UACL0F,IAAI,EAAC,IAAI;UACTJ,OAAO,EAAEd,aAAa,CAACc,OAAQ;UAC/BY,QAAQ,EAAE1B,aAAa,CAAC0B,QAAS;UACjCC,OAAO,EAAE3B,aAAa,CAAC2B,OAAQ;UAC/Bd,KAAK,EAAEZ,cAAc,GAAGM,CAAC,CAACpB,IAAI,GAAGyC,SAAU;UAAAtB,QAAA,EAE1CN,aAAa,CAAC6B;QAAK,CACd,CAAC,GACP,IAAI,EACP3B,eAAe,gBACdlE,IAAA,CAACR,MAAM;UACLsG,OAAO,EAAC,OAAO;UACfhB,OAAO,EAAEZ,eAAe,CAACY,OAAQ;UACjCY,QAAQ,EAAExB,eAAe,CAACwB,QAAS;UACnCC,OAAO,EAAEzB,eAAe,CAACyB,OAAQ;UAAArB,QAAA,EAEhCJ,eAAe,CAAC2B;QAAK,CAChB,CAAC,GACP,IAAI;MAAA,CACJ,CAAC;IAAA,CACH,CAAC;EAAA,CACa,CAAC;AAE3B","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StoreSheet"],"sourceRoot":"../../../../src","sources":["blocks/store-sheet/index.ts"],"mappings":";;AAAA,SACEA,UAAU,QAGL,kBAAe","ignoreList":[]}
|