@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
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { View } from 'react-native';
|
|
4
|
+
import { StoreMark } from "../../components/page-header/store-header.js";
|
|
5
|
+
import { Sheet } from "../../components/sheet/sheet.js";
|
|
6
|
+
import { Text } from "../../components/text/text.js";
|
|
7
|
+
import { CheckGlyph } from "../../internal/glyphs.js";
|
|
8
|
+
import { PressableBase } from "../../internal/pressable-base.js";
|
|
9
|
+
import { useTheme } from "../../theme/theme-provider.js";
|
|
10
|
+
import { makeStyles } from "../../utils/styles.js";
|
|
11
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
|
+
const useStyles = makeStyles(t => ({
|
|
13
|
+
list: {
|
|
14
|
+
marginHorizontal: -t.space[4]
|
|
15
|
+
},
|
|
16
|
+
row: {
|
|
17
|
+
flexDirection: 'row',
|
|
18
|
+
alignItems: 'center',
|
|
19
|
+
gap: t.space[3],
|
|
20
|
+
minHeight: t.listRow.twoLine,
|
|
21
|
+
paddingHorizontal: t.space[4],
|
|
22
|
+
paddingVertical: t.space[2]
|
|
23
|
+
},
|
|
24
|
+
pressed: {
|
|
25
|
+
backgroundColor: t.colors.muted
|
|
26
|
+
},
|
|
27
|
+
body: {
|
|
28
|
+
flex: 1,
|
|
29
|
+
gap: t.space[1]
|
|
30
|
+
}
|
|
31
|
+
}));
|
|
32
|
+
export function StoreSheet({
|
|
33
|
+
open,
|
|
34
|
+
onOpenChange,
|
|
35
|
+
title = '스토어 전환',
|
|
36
|
+
stores,
|
|
37
|
+
value,
|
|
38
|
+
onValueChange,
|
|
39
|
+
bottomInset
|
|
40
|
+
}) {
|
|
41
|
+
const t = useTheme();
|
|
42
|
+
const s = useStyles();
|
|
43
|
+
return /*#__PURE__*/_jsx(Sheet, {
|
|
44
|
+
open: open,
|
|
45
|
+
onOpenChange: onOpenChange,
|
|
46
|
+
title: title,
|
|
47
|
+
bottomInset: bottomInset,
|
|
48
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
49
|
+
style: s.list,
|
|
50
|
+
accessibilityRole: "radiogroup",
|
|
51
|
+
children: stores.map(store => {
|
|
52
|
+
const on = store.value === value;
|
|
53
|
+
return /*#__PURE__*/_jsxs(PressableBase, {
|
|
54
|
+
accessibilityRole: "radio",
|
|
55
|
+
accessibilityState: {
|
|
56
|
+
selected: on
|
|
57
|
+
},
|
|
58
|
+
accessibilityLabel: store.name,
|
|
59
|
+
onPress: () => {
|
|
60
|
+
onOpenChange(false);
|
|
61
|
+
if (!on) onValueChange(store.value);
|
|
62
|
+
},
|
|
63
|
+
style: s.row,
|
|
64
|
+
pressedStyle: s.pressed,
|
|
65
|
+
children: [/*#__PURE__*/_jsx(StoreMark, {
|
|
66
|
+
name: store.name,
|
|
67
|
+
size: "lg"
|
|
68
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
69
|
+
style: s.body,
|
|
70
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
71
|
+
variant: "bodyLg",
|
|
72
|
+
weight: "bold",
|
|
73
|
+
numberOfLines: 1,
|
|
74
|
+
children: store.name
|
|
75
|
+
}), store.description ? /*#__PURE__*/_jsx(Text, {
|
|
76
|
+
variant: "label",
|
|
77
|
+
tone: "muted",
|
|
78
|
+
numberOfLines: 1,
|
|
79
|
+
children: store.description
|
|
80
|
+
}) : null]
|
|
81
|
+
}), on ? /*#__PURE__*/_jsx(CheckGlyph, {
|
|
82
|
+
color: t.colors.primary,
|
|
83
|
+
size: t.iconSize.md
|
|
84
|
+
}) : null]
|
|
85
|
+
}, store.value);
|
|
86
|
+
})
|
|
87
|
+
})
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
//# sourceMappingURL=store-sheet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["View","StoreMark","Sheet","Text","CheckGlyph","PressableBase","useTheme","makeStyles","jsx","_jsx","jsxs","_jsxs","useStyles","t","list","marginHorizontal","space","row","flexDirection","alignItems","gap","minHeight","listRow","twoLine","paddingHorizontal","paddingVertical","pressed","backgroundColor","colors","muted","body","flex","StoreSheet","open","onOpenChange","title","stores","value","onValueChange","bottomInset","s","children","style","accessibilityRole","map","store","on","accessibilityState","selected","accessibilityLabel","name","onPress","pressedStyle","size","variant","weight","numberOfLines","description","tone","color","primary","iconSize","md"],"sourceRoot":"../../../../src","sources":["blocks/store-sheet/store-sheet.tsx"],"mappings":";;AAAA,SAASA,IAAI,QAAQ,cAAc;AACnC,SAASC,SAAS,QAAQ,8CAA2C;AACrE,SAASC,KAAK,QAAQ,iCAA8B;AACpD,SAASC,IAAI,QAAQ,+BAA4B;AACjD,SAASC,UAAU,QAAQ,0BAAuB;AAClD,SAASC,aAAa,QAAQ,kCAA+B;AAC7D,SAASC,QAAQ,QAAQ,+BAA4B;AACrD,SAASC,UAAU,QAAQ,uBAAoB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAkBhD,MAAMC,SAAS,GAAGL,UAAU,CAAEM,CAAC,KAAM;EACnCC,IAAI,EAAE;IAAEC,gBAAgB,EAAE,CAACF,CAAC,CAACG,KAAK,CAAC,CAAC;EAAE,CAAC;EACvCC,GAAG,EAAE;IACHC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,GAAG,EAAEP,CAAC,CAACG,KAAK,CAAC,CAAC,CAAC;IACfK,SAAS,EAAER,CAAC,CAACS,OAAO,CAACC,OAAO;IAC5BC,iBAAiB,EAAEX,CAAC,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B,GAAI;UACbmC,YAAY,EAAEZ,CAAC,CAACd,OAAQ;UAAAe,QAAA,gBAExBhC,IAAA,CAACR,SAAS;YAACiD,IAAI,EAAEL,KAAK,CAACK,IAAK;YAACG,IAAI,EAAC;UAAI,CAAE,CAAC,eACzC1C,KAAA,CAACX,IAAI;YAAC0C,KAAK,EAAEF,CAAC,CAACV,IAAK;YAAAW,QAAA,gBAClBhC,IAAA,CAACN,IAAI;cAACmD,OAAO,EAAC,QAAQ;cAACC,MAAM,EAAC,MAAM;cAACC,aAAa,EAAE,CAAE;cAAAf,QAAA,EACnDI,KAAK,CAACK;YAAI,CACP,CAAC,EACNL,KAAK,CAACY,WAAW,gBAChBhD,IAAA,CAACN,IAAI;cAACmD,OAAO,EAAC,OAAO;cAACI,IAAI,EAAC,OAAO;cAACF,aAAa,EAAE,CAAE;cAAAf,QAAA,EACjDI,KAAK,CAACY;YAAW,CACd,CAAC,GACL,IAAI;UAAA,CACJ,CAAC,EACNX,EAAE,gBACDrC,IAAA,CAACL,UAAU;YAACuD,KAAK,EAAE9C,CAAC,CAACe,MAAM,CAACgC,OAAQ;YAACP,IAAI,EAAExC,CAAC,CAACgD,QAAQ,CAACC;UAAG,CAAE,CAAC,GAC1D,IAAI;QAAA,GAxBHjB,KAAK,CAACR,KAyBE,CAAC;MAEpB,CAAC;IAAC,CACE;EAAC,CACF,CAAC;AAEZ","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["TaskTiles"],"sourceRoot":"../../../../src","sources":["blocks/task-tiles/index.ts"],"mappings":";;AAAA,SAASA,SAAS,QAA4C,iBAAc","ignoreList":[]}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { View } from 'react-native';
|
|
4
|
+
import { Text } from "../../components/text/text.js";
|
|
5
|
+
import { renderIcon } from "../../internal/icon.js";
|
|
6
|
+
import { PressableBase } from "../../internal/pressable-base.js";
|
|
7
|
+
import { useTheme } from "../../theme/theme-provider.js";
|
|
8
|
+
import { makeStyles } from "../../utils/styles.js";
|
|
9
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
const useStyles = makeStyles(t => ({
|
|
11
|
+
root: {
|
|
12
|
+
flexDirection: 'row',
|
|
13
|
+
gap: t.space[2],
|
|
14
|
+
paddingHorizontal: t.layout.screenX
|
|
15
|
+
},
|
|
16
|
+
tile: {
|
|
17
|
+
flex: 1,
|
|
18
|
+
gap: t.space[1],
|
|
19
|
+
paddingVertical: t.space[3],
|
|
20
|
+
paddingHorizontal: t.space[3],
|
|
21
|
+
borderRadius: t.radius.lg,
|
|
22
|
+
backgroundColor: t.colors.surface
|
|
23
|
+
},
|
|
24
|
+
pressed: {
|
|
25
|
+
backgroundColor: t.colors.border
|
|
26
|
+
},
|
|
27
|
+
count: {
|
|
28
|
+
fontSize: t.typography.title.fontSize,
|
|
29
|
+
lineHeight: t.typography.title.lineHeight,
|
|
30
|
+
fontVariant: ['tabular-nums']
|
|
31
|
+
}
|
|
32
|
+
}));
|
|
33
|
+
export function TaskTiles({
|
|
34
|
+
items,
|
|
35
|
+
style
|
|
36
|
+
}) {
|
|
37
|
+
const t = useTheme();
|
|
38
|
+
const s = useStyles();
|
|
39
|
+
return /*#__PURE__*/_jsx(View, {
|
|
40
|
+
style: [s.root, style],
|
|
41
|
+
children: items.map(item => /*#__PURE__*/_jsxs(PressableBase, {
|
|
42
|
+
onPress: item.onPress,
|
|
43
|
+
disabled: !item.onPress,
|
|
44
|
+
accessibilityLabel: `${item.label} ${item.count}${item.note ? ` ${item.note}` : ''}`,
|
|
45
|
+
style: s.tile,
|
|
46
|
+
pressedStyle: s.pressed,
|
|
47
|
+
children: [renderIcon(item.icon, {
|
|
48
|
+
color: item.count > 0 ? t.colors.point : t.colors.mutedForeground,
|
|
49
|
+
size: t.iconSize.md
|
|
50
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
51
|
+
variant: "label",
|
|
52
|
+
numberOfLines: 1,
|
|
53
|
+
children: item.label
|
|
54
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
55
|
+
weight: "bold",
|
|
56
|
+
tone: item.count > 0 ? 'point' : 'muted',
|
|
57
|
+
style: s.count,
|
|
58
|
+
children: item.count
|
|
59
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
60
|
+
variant: "caption",
|
|
61
|
+
tone: "muted",
|
|
62
|
+
numberOfLines: 1,
|
|
63
|
+
children: item.note ?? ' '
|
|
64
|
+
})]
|
|
65
|
+
}, item.key))
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=task-tiles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["View","Text","renderIcon","PressableBase","useTheme","makeStyles","jsx","_jsx","jsxs","_jsxs","useStyles","t","root","flexDirection","gap","space","paddingHorizontal","layout","screenX","tile","flex","paddingVertical","borderRadius","radius","lg","backgroundColor","colors","surface","pressed","border","count","fontSize","typography","title","lineHeight","fontVariant","TaskTiles","items","style","s","children","map","item","onPress","disabled","accessibilityLabel","label","note","pressedStyle","icon","color","point","mutedForeground","size","iconSize","md","variant","numberOfLines","weight","tone","key"],"sourceRoot":"../../../../src","sources":["blocks/task-tiles/task-tiles.tsx"],"mappings":";;AAAA,SAASA,IAAI,QAAwC,cAAc;AACnE,SAASC,IAAI,QAAQ,+BAA4B;AACjD,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;IACJC,aAAa,EAAE,KAAK;IACpBC,GAAG,EAAEH,CAAC,CAACI,KAAK,CAAC,CAAC,CAAC;IAC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AAG,EAAE,EAAG;MACrFT,KAAK,EAAEC,CAAC,CAACpB,IAAK;MACd6B,YAAY,EAAET,CAAC,CAACX,OAAQ;MAAAY,QAAA,GAEvBtC,UAAU,CAACwC,IAAI,CAACO,IAAI,EAAE;QACrBC,KAAK,EAAER,IAAI,CAACZ,KAAK,GAAG,CAAC,GAAGnB,CAAC,CAACe,MAAM,CAACyB,KAAK,GAAGxC,CAAC,CAACe,MAAM,CAAC0B,eAAe;QACjEC,IAAI,EAAE1C,CAAC,CAAC2C,QAAQ,CAACC;MACnB,CAAC,CAAC,eACFhD,IAAA,CAACN,IAAI;QAACuD,OAAO,EAAC,OAAO;QAACC,aAAa,EAAE,CAAE;QAAAjB,QAAA,EACpCE,IAAI,CAACI;MAAK,CACP,CAAC,eACPvC,IAAA,CAACN,IAAI;QACHyD,MAAM,EAAC,MAAM;QACbC,IAAI,EAAEjB,IAAI,CAACZ,KAAK,GAAG,CAAC,GAAG,OAAO,GAAG,OAAQ;QACzCQ,KAAK,EAAEC,CAAC,CAACT,KAAM;QAAAU,QAAA,EAEdE,IAAI,CAACZ;MAAK,CACP,CAAC,eACPvB,IAAA,CAACN,IAAI;QAACuD,OAAO,EAAC,SAAS;QAACG,IAAI,EAAC,OAAO;QAACF,aAAa,EAAE,CAAE;QAAAjB,QAAA,EACnDE,IAAI,CAACK,IAAI,IAAI;MAAG,CACb,CAAC;IAAA,GAvBFL,IAAI,CAACkB,GAwBG,CAChB;EAAC,CACE,CAAC;AAEX","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["LineChart","Sparkline"],"sourceRoot":"../../../src","sources":["charts/index.ts"],"mappings":";;AAAA,SAASA,SAAS,QAA8C,iBAAc;AAC9E,SAASC,SAAS,QAA6B,gBAAa","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["LineChart","Sparkline","MiniBars"],"sourceRoot":"../../../src","sources":["charts/index.ts"],"mappings":";;AAAA,SAASA,SAAS,QAA8C,iBAAc;AAC9E,SAASC,SAAS,QAA6B,gBAAa;AAC5D,SAASC,QAAQ,QAA4B,gBAAa","ignoreList":[]}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { View } from 'react-native';
|
|
4
|
+
import Svg, { Rect } from 'react-native-svg';
|
|
5
|
+
import { formatPrice } from "../components/price/price.js";
|
|
6
|
+
import { Text } from "../components/text/text.js";
|
|
7
|
+
import { useTheme } from "../theme/theme-provider.js";
|
|
8
|
+
import { makeStyles } from "../utils/styles.js";
|
|
9
|
+
import { summarize } from "./summary.js";
|
|
10
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
+
const useStyles = makeStyles(t => ({
|
|
12
|
+
root: {
|
|
13
|
+
gap: t.space[1]
|
|
14
|
+
},
|
|
15
|
+
labels: {
|
|
16
|
+
flexDirection: 'row'
|
|
17
|
+
},
|
|
18
|
+
label: {
|
|
19
|
+
textAlign: 'center'
|
|
20
|
+
}
|
|
21
|
+
}));
|
|
22
|
+
export function MiniBars({
|
|
23
|
+
data,
|
|
24
|
+
labels,
|
|
25
|
+
height = 40,
|
|
26
|
+
barWidth = 14,
|
|
27
|
+
accessibilityLabel,
|
|
28
|
+
style
|
|
29
|
+
}) {
|
|
30
|
+
const t = useTheme();
|
|
31
|
+
const s = useStyles();
|
|
32
|
+
const gap = t.space[1] + t.space[1] / 2;
|
|
33
|
+
const width = data.length * barWidth + Math.max(0, data.length - 1) * gap;
|
|
34
|
+
const max = Math.max(1, ...data);
|
|
35
|
+
const last = data.length - 1;
|
|
36
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
37
|
+
accessible: true,
|
|
38
|
+
accessibilityRole: "image",
|
|
39
|
+
accessibilityLabel: accessibilityLabel ?? summarize([...data], v => formatPrice(v, '')),
|
|
40
|
+
style: [s.root, {
|
|
41
|
+
width
|
|
42
|
+
}, style],
|
|
43
|
+
children: [/*#__PURE__*/_jsx(Svg, {
|
|
44
|
+
width: width,
|
|
45
|
+
height: height,
|
|
46
|
+
children: data.map((value, i) => {
|
|
47
|
+
const h = Math.max(t.space[1] - 1, value / max * height);
|
|
48
|
+
return /*#__PURE__*/_jsx(Rect, {
|
|
49
|
+
x: i * (barWidth + gap),
|
|
50
|
+
y: height - h,
|
|
51
|
+
width: barWidth,
|
|
52
|
+
height: h,
|
|
53
|
+
rx: barWidth / 2 - 1,
|
|
54
|
+
fill: i === last ? t.colors.primary : t.colors.primaryContainer
|
|
55
|
+
}, i);
|
|
56
|
+
})
|
|
57
|
+
}), labels ? /*#__PURE__*/_jsx(View, {
|
|
58
|
+
style: [s.labels, {
|
|
59
|
+
gap
|
|
60
|
+
}],
|
|
61
|
+
children: labels.map((label, i) => /*#__PURE__*/_jsx(Text, {
|
|
62
|
+
variant: "caption",
|
|
63
|
+
tone: i === last ? 'default' : 'muted',
|
|
64
|
+
weight: i === last ? 'bold' : undefined,
|
|
65
|
+
numberOfLines: 1,
|
|
66
|
+
style: [s.label, {
|
|
67
|
+
width: barWidth
|
|
68
|
+
}],
|
|
69
|
+
allowFontScaling: false,
|
|
70
|
+
children: label
|
|
71
|
+
}, i))
|
|
72
|
+
}) : null]
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=mini-bars.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["View","Svg","Rect","formatPrice","Text","useTheme","makeStyles","summarize","jsx","_jsx","jsxs","_jsxs","useStyles","t","root","gap","space","labels","flexDirection","label","textAlign","MiniBars","data","height","barWidth","accessibilityLabel","style","s","width","length","Math","max","last","accessible","accessibilityRole","v","children","map","value","i","h","x","y","rx","fill","colors","primary","primaryContainer","variant","tone","weight","undefined","numberOfLines","allowFontScaling"],"sourceRoot":"../../../src","sources":["charts/mini-bars.tsx"],"mappings":";;AAAA,SAASA,IAAI,QAAwC,cAAc;AACnE,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;AAC5C,S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;QACvCkB,MAAM,EAAEX,CAAC,KAAKP,IAAI,GAAG,MAAM,GAAGmB,SAAU;QACxCC,aAAa,EAAE,CAAE;QACjB1B,KAAK,EAAE,CAACC,CAAC,CAACR,KAAK,EAAE;UAAES,KAAK,EAAEJ;QAAS,CAAC,CAAE;QACtC6B,gBAAgB,EAAE,KAAM;QAAAjB,QAAA,EAEvBjB;MAAK,GARDoB,CASD,CACP;IAAC,CACE,CAAC,GACL,IAAI;EAAA,CACJ,CAAC;AAEX","ignoreList":[]}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useState } from 'react';
|
|
4
|
+
import { Image, View } from 'react-native';
|
|
5
|
+
import { CameraGlyph, PersonGlyph } from "../../internal/glyphs.js";
|
|
6
|
+
import { PressableBase } from "../../internal/pressable-base.js";
|
|
7
|
+
import { useTheme } from "../../theme/theme-provider.js";
|
|
8
|
+
import { makeStyles } from "../../utils/styles.js";
|
|
9
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
const SIZE = {
|
|
11
|
+
sm: 32,
|
|
12
|
+
md: 48,
|
|
13
|
+
lg: 80
|
|
14
|
+
};
|
|
15
|
+
const BADGE = 26;
|
|
16
|
+
const useStyles = makeStyles(t => ({
|
|
17
|
+
root: {
|
|
18
|
+
alignSelf: 'center'
|
|
19
|
+
},
|
|
20
|
+
hero: {
|
|
21
|
+
paddingTop: t.space[8],
|
|
22
|
+
paddingBottom: t.space[6]
|
|
23
|
+
},
|
|
24
|
+
circle: {
|
|
25
|
+
overflow: 'hidden',
|
|
26
|
+
alignItems: 'center',
|
|
27
|
+
justifyContent: 'center',
|
|
28
|
+
borderRadius: t.radius.full,
|
|
29
|
+
backgroundColor: t.colors.muted
|
|
30
|
+
},
|
|
31
|
+
badge: {
|
|
32
|
+
position: 'absolute',
|
|
33
|
+
right: 0,
|
|
34
|
+
bottom: 0,
|
|
35
|
+
width: BADGE,
|
|
36
|
+
height: BADGE,
|
|
37
|
+
borderRadius: t.radius.full,
|
|
38
|
+
alignItems: 'center',
|
|
39
|
+
justifyContent: 'center',
|
|
40
|
+
borderWidth: 1,
|
|
41
|
+
borderColor: t.colors.border,
|
|
42
|
+
backgroundColor: t.colors.surface
|
|
43
|
+
}
|
|
44
|
+
}));
|
|
45
|
+
export function Avatar({
|
|
46
|
+
uri,
|
|
47
|
+
size = 'md',
|
|
48
|
+
editable = false,
|
|
49
|
+
hero = false,
|
|
50
|
+
onPress,
|
|
51
|
+
accessibilityLabel,
|
|
52
|
+
style
|
|
53
|
+
}) {
|
|
54
|
+
const t = useTheme();
|
|
55
|
+
const s = useStyles();
|
|
56
|
+
const [failed, setFailed] = useState(null);
|
|
57
|
+
const px = SIZE[size];
|
|
58
|
+
const shown = uri && failed !== uri ? uri : null;
|
|
59
|
+
const body = /*#__PURE__*/_jsxs(View, {
|
|
60
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
61
|
+
style: [s.circle, {
|
|
62
|
+
width: px,
|
|
63
|
+
height: px
|
|
64
|
+
}],
|
|
65
|
+
children: shown ? /*#__PURE__*/_jsx(Image, {
|
|
66
|
+
source: {
|
|
67
|
+
uri: shown
|
|
68
|
+
},
|
|
69
|
+
style: {
|
|
70
|
+
width: px,
|
|
71
|
+
height: px
|
|
72
|
+
},
|
|
73
|
+
onError: () => setFailed(shown)
|
|
74
|
+
}) : /*#__PURE__*/_jsx(PersonGlyph, {
|
|
75
|
+
size: px * 0.6,
|
|
76
|
+
color: t.colors.input
|
|
77
|
+
})
|
|
78
|
+
}), editable ? /*#__PURE__*/_jsx(View, {
|
|
79
|
+
style: s.badge,
|
|
80
|
+
children: /*#__PURE__*/_jsx(CameraGlyph, {
|
|
81
|
+
size: t.iconSize.sm,
|
|
82
|
+
color: t.colors.mutedForeground
|
|
83
|
+
})
|
|
84
|
+
}) : null]
|
|
85
|
+
});
|
|
86
|
+
if (!onPress) {
|
|
87
|
+
return /*#__PURE__*/_jsx(View, {
|
|
88
|
+
style: [s.root, hero && s.hero, style],
|
|
89
|
+
children: body
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
return /*#__PURE__*/_jsx(PressableBase, {
|
|
93
|
+
style: [s.root, hero && s.hero, style],
|
|
94
|
+
accessibilityRole: "button",
|
|
95
|
+
accessibilityLabel: accessibilityLabel,
|
|
96
|
+
onPress: onPress,
|
|
97
|
+
children: body
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
//# sourceMappingURL=avatar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useState","Image","View","CameraGlyph","PersonGlyph","PressableBase","useTheme","makeStyles","jsx","_jsx","jsxs","_jsxs","SIZE","sm","md","lg","BADGE","useStyles","t","root","alignSelf","hero","paddingTop","space","paddingBottom","circle","overflow","alignItems","justifyContent","borderRadius","radius","full","backgroundColor","colors","muted","badge","position","right","bottom","width","height","borderWidth","borderColor","border","surface","Avatar","uri","size","editable","onPress","accessibilityLabel","style","s","failed","setFailed","px","shown","body","children","source","onError","color","input","iconSize","mutedForeground","accessibilityRole"],"sourceRoot":"../../../../src","sources":["components/avatar/avatar.tsx"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,OAAO;AAChC,SAASC,KAAK,EAAEC,IAAI,QAAwC,cAAc;AAC1E,SAASC,WAAW,EAAEC,WAAW,QAAQ,0BAAuB;AAChE,SAASC,aAAa,QAAQ,kCAA+B;AAC7D,SAASC,QAAQ,QAAQ,+BAA4B;AACrD,SAASC,UAAU,QAAQ,uBAAoB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAchD,MAAMC,IAAgC,GAAG;EAAEC,EAAE,EAAE,EAAE;EAAEC,EAAE,EAAE,EAAE;EAAEC,EAAE,EAAE;AAAG,CAAC;AACnE,MAAMC,KAAK,GAAG,EAAE;AAEhB,MAAMC,SAAS,GAAGV,UAAU,CAAEW,CAAC,KAAM;EACnCC,IAAI,E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I,IAAI+B,CAAC,CAAC/B,IAAI,EAAE8B,KAAK,CAAE;IACvCc,iBAAiB,EAAC,QAAQ;IAC1Bf,kBAAkB,EAAEA,kBAAmB;IACvCD,OAAO,EAAEA,OAAQ;IAAAS,QAAA,EAEhBD;EAAI,CACQ,CAAC;AAEpB","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Avatar"],"sourceRoot":"../../../../src","sources":["components/avatar/index.ts"],"mappings":";;AAAA,SAASA,MAAM,QAA2C,aAAU","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["ActivityIndicator","Text","View","renderIcon","PressableBase","useTheme","makeStyles","jsx","_jsx","jsxs","_jsxs","useStyles","t","base","flexDirection","alignItems","justifyContent","gap","space","borderWidth","borderColor","sm","height","controlSize","paddingHorizontal","borderRadius","radius","md","lg","primary","backgroundColor","colors","secondary","muted","outline","
|
|
1
|
+
{"version":3,"names":["ActivityIndicator","Text","View","renderIcon","PressableBase","useTheme","makeStyles","jsx","_jsx","jsxs","_jsxs","useStyles","t","base","flexDirection","alignItems","justifyContent","gap","space","borderWidth","borderColor","sm","height","controlSize","paddingHorizontal","borderRadius","radius","md","lg","primary","backgroundColor","colors","secondary","muted","outline","input","ghost","danger","label","fontFamily","fontWeight","smLabel","fontSize","typography","lineHeight","mdLabel","body","lgLabel","bodyLg","Button","variant","size","loading","disabled","leftIcon","rightIcon","children","style","accessibilityState","rest","s","color","primaryForeground","foreground","dangerForeground","icon","iconSize","touchHeight","busy","numberOfLines","maxFontSizeMultiplier","maxFontScale"],"sourceRoot":"../../../../src","sources":["components/button/button.tsx"],"mappings":";;AACA,SAASA,iBAAiB,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AAC5D,SAASC,UAAU,QAAuB,wBAAqB;AAC/D,SACEC,aAAa,QAER,kCAA+B;AACtC,SAASC,QAAQ,QAAQ,+BAA4B;AACrD,SAASC,UAAU,QAAQ,uBAAoB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