@ezpg/app-ui 0.9.0 → 0.11.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 +15 -0
- package/lib/module/adjust/adjust-template.js +92 -0
- package/lib/module/adjust/adjust-template.js.map +1 -0
- package/lib/module/adjust/color-adjust-note.js +67 -0
- package/lib/module/adjust/color-adjust-note.js.map +1 -0
- package/lib/module/adjust/color-track.js +132 -0
- package/lib/module/adjust/color-track.js.map +1 -0
- package/lib/module/adjust/dial-strip.js +126 -0
- package/lib/module/adjust/dial-strip.js.map +1 -0
- package/lib/module/adjust/font-controls.js +76 -0
- package/lib/module/adjust/font-controls.js.map +1 -0
- package/lib/module/adjust/hsl.js +29 -0
- package/lib/module/adjust/hsl.js.map +1 -0
- package/lib/module/adjust/index.js +10 -0
- package/lib/module/adjust/index.js.map +1 -0
- package/lib/module/adjust/scrub-ruler.js +159 -0
- package/lib/module/adjust/scrub-ruler.js.map +1 -0
- package/lib/module/adjust.js +4 -0
- package/lib/module/adjust.js.map +1 -0
- 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 +74 -32
- 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 +26 -3
- 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/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/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/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/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-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 +89 -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 +67 -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/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/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/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 +10 -5
- 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 +52 -6
- 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/sheet/index.js +1 -1
- package/lib/module/components/sheet/index.js.map +1 -1
- package/lib/module/components/sheet/sheet.js +27 -1
- 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-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/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 +41 -0
- 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 +49 -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 +1 -0
- package/lib/module/theme/base.js.map +1 -1
- package/lib/typescript/src/adjust/adjust-template.d.ts +13 -0
- package/lib/typescript/src/adjust/adjust-template.d.ts.map +1 -0
- package/lib/typescript/src/adjust/color-adjust-note.d.ts +10 -0
- package/lib/typescript/src/adjust/color-adjust-note.d.ts.map +1 -0
- package/lib/typescript/src/adjust/color-track.d.ts +12 -0
- package/lib/typescript/src/adjust/color-track.d.ts.map +1 -0
- package/lib/typescript/src/adjust/dial-strip.d.ts +17 -0
- package/lib/typescript/src/adjust/dial-strip.d.ts.map +1 -0
- 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/hsl.d.ts +4 -0
- package/lib/typescript/src/adjust/hsl.d.ts.map +1 -0
- package/lib/typescript/src/adjust/index.d.ts +8 -0
- package/lib/typescript/src/adjust/index.d.ts.map +1 -0
- package/lib/typescript/src/adjust/scrub-ruler.d.ts +13 -0
- package/lib/typescript/src/adjust/scrub-ruler.d.ts.map +1 -0
- package/lib/typescript/src/adjust.d.ts +2 -0
- package/lib/typescript/src/adjust.d.ts.map +1 -0
- 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-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 +1 -0
- package/lib/typescript/src/theme/base.d.ts.map +1 -1
- package/package.json +6 -1
- package/src/adjust/adjust-template.tsx +89 -0
- package/src/adjust/color-adjust-note.tsx +61 -0
- package/src/adjust/color-track.tsx +140 -0
- package/src/adjust/dial-strip.tsx +143 -0
- package/src/adjust/font-controls.tsx +86 -0
- package/src/adjust/hsl.ts +37 -0
- package/src/adjust/index.ts +14 -0
- package/src/adjust/scrub-ruler.tsx +160 -0
- package/src/adjust.tsx +1 -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 +66 -23
- 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 +24 -4
- package/src/blocks/consent-list/consent-list.tsx +129 -0
- package/src/blocks/consent-list/index.ts +5 -0
- 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/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/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/setup-guide/index.ts +5 -0
- package/src/blocks/setup-guide/setup-guide.tsx +103 -0
- 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 +75 -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/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/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/empty-state/empty-state.tsx +26 -0
- package/src/components/field/field.tsx +8 -5
- 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 +71 -4
- 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/sheet/index.ts +6 -1
- package/src/components/sheet/sheet.tsx +33 -0
- 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-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/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 +41 -1
- package/src/templates/result-template.tsx +26 -8
- package/src/templates/scroll-templates.tsx +55 -3
- package/src/templates/system-template.tsx +33 -2
- package/src/theme/base.ts +8 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { View } from 'react-native';
|
|
4
|
+
import { CheckGlyph } from "../../internal/glyphs.js";
|
|
5
|
+
import { useTheme } from "../../theme/theme-provider.js";
|
|
6
|
+
import { makeStyles } from "../../utils/styles.js";
|
|
7
|
+
import { Text } from "../text/text.js";
|
|
8
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
+
const SIZE = 48;
|
|
10
|
+
const LINE = 2;
|
|
11
|
+
const useStyles = makeStyles(t => ({
|
|
12
|
+
root: {
|
|
13
|
+
width: SIZE,
|
|
14
|
+
height: SIZE,
|
|
15
|
+
borderRadius: t.radius.full,
|
|
16
|
+
borderWidth: LINE,
|
|
17
|
+
borderColor: t.colors.foreground,
|
|
18
|
+
alignItems: 'center',
|
|
19
|
+
justifyContent: 'center'
|
|
20
|
+
}
|
|
21
|
+
}));
|
|
22
|
+
export function ResultMark({
|
|
23
|
+
kind,
|
|
24
|
+
style
|
|
25
|
+
}) {
|
|
26
|
+
const t = useTheme();
|
|
27
|
+
const s = useStyles();
|
|
28
|
+
return /*#__PURE__*/_jsx(View, {
|
|
29
|
+
accessibilityElementsHidden: true,
|
|
30
|
+
importantForAccessibility: "no-hide-descendants",
|
|
31
|
+
style: [s.root, style],
|
|
32
|
+
children: kind === 'done' ? /*#__PURE__*/_jsx(CheckGlyph, {
|
|
33
|
+
color: t.colors.foreground,
|
|
34
|
+
size: t.iconSize.md
|
|
35
|
+
}) : /*#__PURE__*/_jsx(Text, {
|
|
36
|
+
variant: "title",
|
|
37
|
+
weight: "bold",
|
|
38
|
+
children: "!"
|
|
39
|
+
})
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=result-mark.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["View","CheckGlyph","useTheme","makeStyles","Text","jsx","_jsx","SIZE","LINE","useStyles","t","root","width","height","borderRadius","radius","full","borderWidth","borderColor","colors","foreground","alignItems","justifyContent","ResultMark","kind","style","s","accessibilityElementsHidden","importantForAccessibility","children","color","size","iconSize","md","variant","weight"],"sourceRoot":"../../../../src","sources":["components/result-mark/result-mark.tsx"],"mappings":";;AAAA,SAASA,IAAI,QAAwC,cAAc;AACnE,SAASC,UAAU,QAAQ,0BAAuB;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/sheet/index.ts"],"mappings":";;AAAA,
|
|
1
|
+
{"version":3,"names":["Sheet","SheetOptions"],"sourceRoot":"../../../../src","sources":["components/sheet/index.ts"],"mappings":";;AAAA,SACEA,KAAK,EACLC,YAAY,QAGP,YAAS","ignoreList":[]}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { Animated, KeyboardAvoidingView, Modal, Text, useWindowDimensions, View } from 'react-native';
|
|
3
|
+
import { Animated, KeyboardAvoidingView, Modal, ScrollView, Text, useWindowDimensions, View } from 'react-native';
|
|
4
|
+
import { CheckGlyph } from "../../internal/glyphs.js";
|
|
4
5
|
import { Backdrop, useOverlayTransition } from "../../internal/overlay.js";
|
|
6
|
+
import { ListRow } from "../list-row/list-row.js";
|
|
5
7
|
import { useTheme } from "../../theme/theme-provider.js";
|
|
6
8
|
import { makeStyles } from "../../utils/styles.js";
|
|
7
9
|
import { ToastHost } from "../toast/toast.js";
|
|
@@ -11,6 +13,9 @@ const useStyles = makeStyles(t => ({
|
|
|
11
13
|
flex: 1,
|
|
12
14
|
justifyContent: 'flex-end'
|
|
13
15
|
},
|
|
16
|
+
options: {
|
|
17
|
+
marginHorizontal: -t.space[4]
|
|
18
|
+
},
|
|
14
19
|
panel: {
|
|
15
20
|
maxHeight: '90%',
|
|
16
21
|
paddingTop: t.space[2],
|
|
@@ -94,4 +99,25 @@ export function Sheet({
|
|
|
94
99
|
}), /*#__PURE__*/_jsx(ToastHost, {})]
|
|
95
100
|
});
|
|
96
101
|
}
|
|
102
|
+
export function SheetOptions({
|
|
103
|
+
items,
|
|
104
|
+
value,
|
|
105
|
+
onValueChange
|
|
106
|
+
}) {
|
|
107
|
+
const s = useStyles();
|
|
108
|
+
return /*#__PURE__*/_jsx(ScrollView, {
|
|
109
|
+
accessibilityRole: "radiogroup",
|
|
110
|
+
style: s.options,
|
|
111
|
+
children: items.map(item => /*#__PURE__*/_jsx(ListRow, {
|
|
112
|
+
title: item.label,
|
|
113
|
+
chevron: false,
|
|
114
|
+
trailing: item.value === value ? CheckGlyph : undefined,
|
|
115
|
+
accessibilityRole: "radio",
|
|
116
|
+
accessibilityState: {
|
|
117
|
+
selected: item.value === value
|
|
118
|
+
},
|
|
119
|
+
onPress: () => onValueChange(item.value)
|
|
120
|
+
}, item.value))
|
|
121
|
+
});
|
|
122
|
+
}
|
|
97
123
|
//# sourceMappingURL=sheet.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Animated","KeyboardAvoidingView","Modal","Text","useWindowDimensions","View","Backdrop","useOverlayTransition","useTheme","makeStyles","ToastHost","jsx","_jsx","jsxs","_jsxs","useStyles","t","root","flex","justifyContent","panel","maxHeight","paddingTop","
|
|
1
|
+
{"version":3,"names":["Animated","KeyboardAvoidingView","Modal","ScrollView","Text","useWindowDimensions","View","CheckGlyph","Backdrop","useOverlayTransition","ListRow","useTheme","makeStyles","ToastHost","jsx","_jsx","jsxs","_jsxs","useStyles","t","root","flex","justifyContent","options","marginHorizontal","space","panel","maxHeight","paddingTop","paddingHorizontal","gap","borderTopLeftRadius","radius","lg","borderTopRightRadius","backgroundColor","colors","background","boxShadow","shadow","md","handle","alignSelf","width","height","borderRadius","full","border","title","typography","fontFamily","color","foreground","Sheet","open","onOpenChange","bottomInset","dismissible","closeLabel","children","style","s","mounted","progress","close","visible","transparent","animationType","statusBarTranslucent","navigationBarTranslucent","onRequestClose","behavior","onPress","label","accessibilityViewIsModal","paddingBottom","transform","translateY","interpolate","inputRange","outputRange","accessibilityRole","maxFontSizeMultiplier","maxFontScale","SheetOptions","items","value","onValueChange","map","item","chevron","trailing","undefined","accessibilityState","selected"],"sourceRoot":"../../../../src","sources":["components/sheet/sheet.tsx"],"mappings":";;AACA,SACEA,QAAQ,EACRC,oBAAoB,EACpBC,KAAK,EACLC,UAAU,EACVC,IAAI,EACJC,mBAAmB,EACnBC,IAAI,QAGC,cAAc;AACrB,SAASC,UAAU,QAAQ,0BAAuB;AA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CAAC;AAEjB","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StatusSteps"],"sourceRoot":"../../../../src","sources":["components/status-steps/index.ts"],"mappings":";;AAAA,SAASA,WAAW,QAA+B,mBAAgB","ignoreList":[]}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { View } from 'react-native';
|
|
4
|
+
import { makeStyles } from "../../utils/styles.js";
|
|
5
|
+
import { Text } from "../text/text.js";
|
|
6
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
|
+
const DOT = 12;
|
|
8
|
+
const HALO = 4;
|
|
9
|
+
const LINE = 2;
|
|
10
|
+
const useStyles = makeStyles(t => ({
|
|
11
|
+
root: {
|
|
12
|
+
flexDirection: 'row',
|
|
13
|
+
paddingHorizontal: t.layout.screenX,
|
|
14
|
+
paddingVertical: t.space[2]
|
|
15
|
+
},
|
|
16
|
+
step: {
|
|
17
|
+
flex: 1,
|
|
18
|
+
alignItems: 'center',
|
|
19
|
+
gap: t.space[1]
|
|
20
|
+
},
|
|
21
|
+
line: {
|
|
22
|
+
position: 'absolute',
|
|
23
|
+
top: HALO + DOT / 2 - LINE / 2,
|
|
24
|
+
height: LINE,
|
|
25
|
+
width: '50%',
|
|
26
|
+
backgroundColor: t.colors.border
|
|
27
|
+
},
|
|
28
|
+
left: {
|
|
29
|
+
left: 0
|
|
30
|
+
},
|
|
31
|
+
right: {
|
|
32
|
+
right: 0
|
|
33
|
+
},
|
|
34
|
+
lineOn: {
|
|
35
|
+
backgroundColor: t.colors.primary
|
|
36
|
+
},
|
|
37
|
+
halo: {
|
|
38
|
+
width: DOT + HALO * 2,
|
|
39
|
+
height: DOT + HALO * 2,
|
|
40
|
+
borderRadius: t.radius.full,
|
|
41
|
+
alignItems: 'center',
|
|
42
|
+
justifyContent: 'center'
|
|
43
|
+
},
|
|
44
|
+
haloOn: {
|
|
45
|
+
backgroundColor: t.colors.primaryContainer
|
|
46
|
+
},
|
|
47
|
+
dot: {
|
|
48
|
+
width: DOT,
|
|
49
|
+
height: DOT,
|
|
50
|
+
borderRadius: t.radius.full,
|
|
51
|
+
backgroundColor: t.colors.border
|
|
52
|
+
},
|
|
53
|
+
dotOn: {
|
|
54
|
+
backgroundColor: t.colors.primary
|
|
55
|
+
}
|
|
56
|
+
}));
|
|
57
|
+
export function StatusSteps({
|
|
58
|
+
steps,
|
|
59
|
+
current,
|
|
60
|
+
style
|
|
61
|
+
}) {
|
|
62
|
+
const s = useStyles();
|
|
63
|
+
const index = Math.min(Math.max(current, 0), steps.length - 1);
|
|
64
|
+
const last = steps.length - 1;
|
|
65
|
+
return /*#__PURE__*/_jsx(View, {
|
|
66
|
+
style: [s.root, style],
|
|
67
|
+
accessible: true,
|
|
68
|
+
accessibilityRole: "progressbar",
|
|
69
|
+
accessibilityLabel: `${steps.length}단계 중 ${index + 1}단계, ${steps[index] ?? ''}`,
|
|
70
|
+
accessibilityValue: {
|
|
71
|
+
min: 1,
|
|
72
|
+
max: steps.length,
|
|
73
|
+
now: index + 1
|
|
74
|
+
},
|
|
75
|
+
children: steps.map((label, i) => /*#__PURE__*/_jsxs(View, {
|
|
76
|
+
style: s.step,
|
|
77
|
+
children: [i > 0 ? /*#__PURE__*/_jsx(View, {
|
|
78
|
+
style: [s.line, s.left, i <= index && s.lineOn]
|
|
79
|
+
}) : null, i < last ? /*#__PURE__*/_jsx(View, {
|
|
80
|
+
style: [s.line, s.right, i < index && s.lineOn]
|
|
81
|
+
}) : null, /*#__PURE__*/_jsx(View, {
|
|
82
|
+
style: [s.halo, i === index && s.haloOn],
|
|
83
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
84
|
+
style: [s.dot, i <= index && s.dotOn]
|
|
85
|
+
})
|
|
86
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
87
|
+
variant: "caption",
|
|
88
|
+
weight: i === index ? 'bold' : undefined,
|
|
89
|
+
tone: i === index ? 'default' : 'muted',
|
|
90
|
+
numberOfLines: 1,
|
|
91
|
+
children: label
|
|
92
|
+
})]
|
|
93
|
+
}, label))
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
//# sourceMappingURL=status-steps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["View","makeStyles","Text","jsx","_jsx","jsxs","_jsxs","DOT","HALO","LINE","useStyles","t","root","flexDirection","paddingHorizontal","layout","screenX","paddingVertical","space","step","flex","alignItems","gap","line","position","top","height","width","backgroundColor","colors","border","left","right","lineOn","primary","halo","borderRadius","radius","full","justifyContent","haloOn","primaryContainer","dot","dotOn","StatusSteps","steps","current","style","s","index","Math","min","max","length","last","accessible","accessibilityRole","accessibilityLabel","accessibilityValue","now","children","map","label","i","variant","weight","undefined","tone","numberOfLines"],"sourceRoot":"../../../../src","sources":["components/status-steps/status-steps.tsx"],"mappings":";;AAAA,SAASA,IAAI,QAAwC,cAAc;AACnE,SAASC,UAAU,QAAQ,uBAAoB;AAC/C,SAASC,IAAI,QAAQ,iBAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAQpC,MAAMC,GAAG,GAAG,EAAE;AACd,MAAMC,IAAI,GAAG,CAAC;AACd,MAAMC,IAAI,GAAG,CAAC;AAEd,MAAMC,SAAS,GAAGT,UAAU,CAAEU,CAAC,KAAM;EACnCC,IAAI,EAAE;IACJC,aAAa,EAAE,KAAK;IACpBC,iBAAiB,EAAEH,CAAC,CAACI,MAAM,CAACC,OAAO;IACnCC,eAAe,EAAEN,CAAC,CAACO,KAAK,CAAC,CAAC;EAC5B,CAAC;EACDC,IAAI,EAAE;IAAEC,IAAI,EAAE,CAAC;IAAEC,UAAU,EAAE,QAAQ;IAAEC,GAAG,EAAEX,CAAC,CAACO,KAAK,CAAC,CAAC;EAAE,CAAC;EACxDK,IAAI,EAAE;IACJC,QAAQ,EAAE,UAAU;IACpBC,GAAG,EAAEjB,IA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AC,CAACN,GAAG,EAAEqB,CAAC,IAAId,KAAK,IAAID,CAAC,CAACL,KAAK;QAAE,CAAE;MAAC,CAC3C,CAAC,eACPvC,IAAA,CAACF,IAAI;QACH8D,OAAO,EAAC,SAAS;QACjBC,MAAM,EAAEF,CAAC,KAAKd,KAAK,GAAG,MAAM,GAAGiB,SAAU;QACzCC,IAAI,EAAEJ,CAAC,KAAKd,KAAK,GAAG,SAAS,GAAG,OAAQ;QACxCmB,aAAa,EAAE,CAAE;QAAAR,QAAA,EAEhBE;MAAK,CACF,CAAC;IAAA,GAjBEA,KAkBL,CACP;EAAC,CACE,CAAC;AAEX","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StepSlider"],"sourceRoot":"../../../../src","sources":["components/step-slider/index.ts"],"mappings":";;AAAA,SAASA,UAAU,QAA8B,kBAAe","ignoreList":[]}
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useMemo, useRef, useState } from 'react';
|
|
4
|
+
import { PanResponder, View } from 'react-native';
|
|
5
|
+
import { makeStyles } from "../../utils/styles.js";
|
|
6
|
+
import { Text } from "../text/text.js";
|
|
7
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
|
+
const TRACK = 4;
|
|
9
|
+
const TICK = 4;
|
|
10
|
+
const THUMB = 20;
|
|
11
|
+
const useStyles = makeStyles(t => ({
|
|
12
|
+
root: {
|
|
13
|
+
flexDirection: 'row',
|
|
14
|
+
alignItems: 'center',
|
|
15
|
+
gap: t.space[2]
|
|
16
|
+
},
|
|
17
|
+
end: {
|
|
18
|
+
width: t.space[12]
|
|
19
|
+
},
|
|
20
|
+
endRight: {
|
|
21
|
+
width: t.space[12],
|
|
22
|
+
textAlign: 'right'
|
|
23
|
+
},
|
|
24
|
+
area: {
|
|
25
|
+
flex: 1,
|
|
26
|
+
height: t.minTouchSize,
|
|
27
|
+
justifyContent: 'center'
|
|
28
|
+
},
|
|
29
|
+
track: {
|
|
30
|
+
position: 'absolute',
|
|
31
|
+
left: 0,
|
|
32
|
+
right: 0,
|
|
33
|
+
height: TRACK,
|
|
34
|
+
borderRadius: t.radius.full,
|
|
35
|
+
backgroundColor: t.colors.ring
|
|
36
|
+
},
|
|
37
|
+
ticks: {
|
|
38
|
+
paddingHorizontal: t.space[2],
|
|
39
|
+
flexDirection: 'row',
|
|
40
|
+
justifyContent: 'space-between',
|
|
41
|
+
alignItems: 'center'
|
|
42
|
+
},
|
|
43
|
+
tick: {
|
|
44
|
+
width: TICK,
|
|
45
|
+
height: t.space[3],
|
|
46
|
+
borderRadius: t.radius.full,
|
|
47
|
+
backgroundColor: t.colors.ring
|
|
48
|
+
},
|
|
49
|
+
thumb: {
|
|
50
|
+
position: 'absolute',
|
|
51
|
+
width: THUMB,
|
|
52
|
+
height: THUMB,
|
|
53
|
+
borderRadius: t.radius.full,
|
|
54
|
+
backgroundColor: t.colors.foreground
|
|
55
|
+
}
|
|
56
|
+
}));
|
|
57
|
+
export function StepSlider({
|
|
58
|
+
value,
|
|
59
|
+
min = -2,
|
|
60
|
+
max = 2,
|
|
61
|
+
onChange,
|
|
62
|
+
startLabel,
|
|
63
|
+
endLabel,
|
|
64
|
+
accessibilityLabel,
|
|
65
|
+
style
|
|
66
|
+
}) {
|
|
67
|
+
const s = useStyles();
|
|
68
|
+
const [width, setWidth] = useState(0);
|
|
69
|
+
const count = max - min;
|
|
70
|
+
const latest = useRef({
|
|
71
|
+
value,
|
|
72
|
+
onChange,
|
|
73
|
+
min,
|
|
74
|
+
max,
|
|
75
|
+
width,
|
|
76
|
+
count
|
|
77
|
+
});
|
|
78
|
+
latest.current = {
|
|
79
|
+
value,
|
|
80
|
+
onChange,
|
|
81
|
+
min,
|
|
82
|
+
max,
|
|
83
|
+
width,
|
|
84
|
+
count
|
|
85
|
+
};
|
|
86
|
+
const origin = useRef(0);
|
|
87
|
+
const pick = x => {
|
|
88
|
+
const {
|
|
89
|
+
width: w,
|
|
90
|
+
min: lo,
|
|
91
|
+
count: n,
|
|
92
|
+
value: now,
|
|
93
|
+
onChange: change
|
|
94
|
+
} = latest.current;
|
|
95
|
+
if (w <= 0) return;
|
|
96
|
+
const span = w - THUMB;
|
|
97
|
+
const at = Math.max(0, Math.min(span, x - THUMB / 2));
|
|
98
|
+
const next = lo + Math.round(at / span * n);
|
|
99
|
+
if (next !== now) change(next);
|
|
100
|
+
};
|
|
101
|
+
const pan = useMemo(() => PanResponder.create({
|
|
102
|
+
onStartShouldSetPanResponder: () => true,
|
|
103
|
+
onMoveShouldSetPanResponder: (_, g) => Math.abs(g.dx) > Math.abs(g.dy),
|
|
104
|
+
onPanResponderTerminationRequest: () => false,
|
|
105
|
+
onPanResponderGrant: e => {
|
|
106
|
+
origin.current = e.nativeEvent.locationX;
|
|
107
|
+
pick(origin.current);
|
|
108
|
+
},
|
|
109
|
+
onPanResponderMove: (_, g) => pick(origin.current + g.dx)
|
|
110
|
+
}), []);
|
|
111
|
+
const left = width > 0 ? (value - min) / count * (width - THUMB) : 0;
|
|
112
|
+
const ticks = [];
|
|
113
|
+
for (let v = min; v <= max; v += 1) ticks.push(/*#__PURE__*/_jsx(View, {
|
|
114
|
+
style: s.tick
|
|
115
|
+
}, v));
|
|
116
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
117
|
+
style: [s.root, style],
|
|
118
|
+
children: [startLabel ? /*#__PURE__*/_jsx(Text, {
|
|
119
|
+
variant: "caption",
|
|
120
|
+
tone: "muted",
|
|
121
|
+
numberOfLines: 1,
|
|
122
|
+
style: s.end,
|
|
123
|
+
children: startLabel
|
|
124
|
+
}) : null, /*#__PURE__*/_jsxs(View, {
|
|
125
|
+
...pan.panHandlers,
|
|
126
|
+
accessible: true,
|
|
127
|
+
accessibilityRole: "adjustable",
|
|
128
|
+
accessibilityLabel: accessibilityLabel,
|
|
129
|
+
accessibilityValue: {
|
|
130
|
+
min,
|
|
131
|
+
max,
|
|
132
|
+
now: value
|
|
133
|
+
},
|
|
134
|
+
accessibilityActions: [{
|
|
135
|
+
name: 'increment'
|
|
136
|
+
}, {
|
|
137
|
+
name: 'decrement'
|
|
138
|
+
}],
|
|
139
|
+
onAccessibilityAction: e => {
|
|
140
|
+
const next = value + (e.nativeEvent.actionName === 'increment' ? 1 : -1);
|
|
141
|
+
if (next >= min && next <= max) onChange(next);
|
|
142
|
+
},
|
|
143
|
+
onLayout: e => setWidth(e.nativeEvent.layout.width),
|
|
144
|
+
style: s.area,
|
|
145
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
146
|
+
style: s.track,
|
|
147
|
+
pointerEvents: "none"
|
|
148
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
149
|
+
style: s.ticks,
|
|
150
|
+
pointerEvents: "none",
|
|
151
|
+
children: ticks
|
|
152
|
+
}), width > 0 ? /*#__PURE__*/_jsx(View, {
|
|
153
|
+
style: [s.thumb, {
|
|
154
|
+
left
|
|
155
|
+
}],
|
|
156
|
+
pointerEvents: "none"
|
|
157
|
+
}) : null]
|
|
158
|
+
}), endLabel ? /*#__PURE__*/_jsx(Text, {
|
|
159
|
+
variant: "caption",
|
|
160
|
+
tone: "muted",
|
|
161
|
+
numberOfLines: 1,
|
|
162
|
+
style: s.endRight,
|
|
163
|
+
children: endLabel
|
|
164
|
+
}) : null]
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
|
+
//# sourceMappingURL=step-slider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useMemo","useRef","useState","PanResponder","View","makeStyles","Text","jsx","_jsx","jsxs","_jsxs","TRACK","TICK","THUMB","useStyles","t","root","flexDirection","alignItems","gap","space","end","width","endRight","textAlign","area","flex","height","minTouchSize","justifyContent","track","position","left","right","borderRadius","radius","full","backgroundColor","colors","ring","ticks","paddingHorizontal","tick","thumb","foreground","StepSlider","value","min","max","onChange","startLabel","endLabel","accessibilityLabel","style","s","setWidth","count","latest","current","origin","pick","x","w","lo","n","now","change","span","at","Math","next","round","pan","create","onStartShouldSetPanResponder","onMoveShouldSetPanResponder","_","g","abs","dx","dy","onPanResponderTerminationRequest","onPanResponderGrant","e","nativeEvent","locationX","onPanResponderMove","v","push","children","variant","tone","numberOfLines","panHandlers","accessible","accessibilityRole","accessibilityValue","accessibilityActions","name","onAccessibilityAction","actionName","onLayout","layout","pointerEvents"],"sourceRoot":"../../../../src","sources":["components/step-slider/step-slider.tsx"],"mappings":";;AAAA,SAASA,OAAO,EAAEC,MAAM,EAAEC,QAAQ,QAAQ,OAAO;AACjD,SACEC,YAAY,EACZC,IAAI,QAIC,cAAc;AACrB,SAASC,UAAU,QAAQ,uBAAoB;AAC/C,SAASC,IAAI,QAAQ,iBAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAapC,MAAMC,KAAK,GAAG,CAAC;AACf,MAAMC,IAAI,GAAG,CAAC;AACd,MAAMC,KAAK,GAAG,EAAE;AAEhB,MAAMC,SAAS,GAAGT,UAAU,CAAEU,CAAC,KAAM;EACnCC,IAAI,EAAE;IAAEC,aAAa,EAAE,KAAK;IAAEC,UAAU,EAAE,QAAQ;IAAEC,GAAG,EAAEJ,CAAC,CAACK,KAAK,CAAC,CAAC;EAAE,CAAC;EACrEC,GAAG,EAAE;IAAEC,KAAK,EAAEP,CAAC,CAACK,KAAK,CAAC,EAAE;EAAE,CAAC;EAC3BG,QAAQ,EAAE;IAAED,KAAK,EAAEP,CAAC,CAACK,KAAK,CAAC,EAAE,CAAC;IAAEI,SAAS,EAAE;EAAQ,CAAC;EACpDC,IAAI,EAAE;IAAEC,IAAI,EAAE,CAAC;IAAEC,MAAM,EAAEZ,CAAC,CAACa,YAAY;IAAEC,cAAc,EAAE;EAAS,CAAC;EACnEC,KAAK,EAAE;IACLC,QAAQ,EAAE,UAAU;IACpBC,IAAI,EAAE,CAAC;IACPC,KAAK,EAAE,CAAC;IACRN,MAAM,EAAEhB,KAAK;IACbuB,YA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Mb,IAAI,GACRxB,KAAK,IAAIqC,CAAC,CAACC,WAAW,CAACgB,UAAU,KAAK,WAAW,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;QAC7D,IAAI9B,IAAI,IAAIvB,GAAG,IAAIuB,IAAI,IAAItB,GAAG,EAAEC,QAAQ,CAACqB,IAAI,CAAC;MAChD,CAAE;MACF+B,QAAQ,EAAGlB,CAAoB,IAC7B5B,QAAQ,CAAC4B,CAAC,CAACC,WAAW,CAACkB,MAAM,CAAChF,KAAK,CACpC;MACD+B,KAAK,EAAEC,CAAC,CAAC7B,IAAK;MAAAgE,QAAA,gBAEdjF,IAAA,CAACJ,IAAI;QAACiD,KAAK,EAAEC,CAAC,CAACxB,KAAM;QAACyE,aAAa,EAAC;MAAM,CAAE,CAAC,eAC7C/F,IAAA,CAACJ,IAAI;QAACiD,KAAK,EAAEC,CAAC,CAACd,KAAM;QAAC+D,aAAa,EAAC,MAAM;QAAAd,QAAA,EACvCjD;MAAK,CACF,CAAC,EACNlB,KAAK,GAAG,CAAC,gBACRd,IAAA,CAACJ,IAAI;QAACiD,KAAK,EAAE,CAACC,CAAC,CAACX,KAAK,EAAE;UAAEX;QAAK,CAAC,CAAE;QAACuE,aAAa,EAAC;MAAM,CAAE,CAAC,GACvD,IAAI;IAAA,CACJ,CAAC,EACNpD,QAAQ,gBACP3C,IAAA,CAACF,IAAI;MACHoF,OAAO,EAAC,SAAS;MACjBC,IAAI,EAAC,OAAO;MACZC,aAAa,EAAE,CAAE;MACjBvC,KAAK,EAAEC,CAAC,CAAC/B,QAAS;MAAAkE,QAAA,EAEjBtC;IAAQ,CACL,CAAC,GACL,IAAI;EAAA,CACJ,CAAC;AAEX","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["TextLinks"],"sourceRoot":"../../../../src","sources":["components/text-links/index.ts"],"mappings":";;AAAA,SAASA,SAAS,QAA4C,iBAAc","ignoreList":[]}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { Fragment } from 'react';
|
|
4
|
+
import { View } from 'react-native';
|
|
5
|
+
import { PressableBase } from "../../internal/pressable-base.js";
|
|
6
|
+
import { makeStyles } from "../../utils/styles.js";
|
|
7
|
+
import { Text } from "../text/text.js";
|
|
8
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
const useStyles = makeStyles(t => ({
|
|
10
|
+
root: {
|
|
11
|
+
flexDirection: 'row',
|
|
12
|
+
alignItems: 'center',
|
|
13
|
+
justifyContent: 'center',
|
|
14
|
+
gap: t.space[3],
|
|
15
|
+
paddingVertical: t.space[6]
|
|
16
|
+
},
|
|
17
|
+
bar: {
|
|
18
|
+
width: 1,
|
|
19
|
+
height: t.space[3],
|
|
20
|
+
backgroundColor: t.colors.border
|
|
21
|
+
},
|
|
22
|
+
link: {
|
|
23
|
+
paddingVertical: t.space[1]
|
|
24
|
+
}
|
|
25
|
+
}));
|
|
26
|
+
export function TextLinks({
|
|
27
|
+
items
|
|
28
|
+
}) {
|
|
29
|
+
const s = useStyles();
|
|
30
|
+
return /*#__PURE__*/_jsx(View, {
|
|
31
|
+
style: s.root,
|
|
32
|
+
children: items.map((item, index) => /*#__PURE__*/_jsxs(Fragment, {
|
|
33
|
+
children: [index ? /*#__PURE__*/_jsx(View, {
|
|
34
|
+
style: s.bar
|
|
35
|
+
}) : null, /*#__PURE__*/_jsx(PressableBase, {
|
|
36
|
+
style: s.link,
|
|
37
|
+
accessibilityRole: "button",
|
|
38
|
+
onPress: item.onPress,
|
|
39
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
40
|
+
variant: "caption",
|
|
41
|
+
tone: "muted",
|
|
42
|
+
children: item.label
|
|
43
|
+
})
|
|
44
|
+
})]
|
|
45
|
+
}, item.label))
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=text-links.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Fragment","View","PressableBase","makeStyles","Text","jsx","_jsx","jsxs","_jsxs","useStyles","t","root","flexDirection","alignItems","justifyContent","gap","space","paddingVertical","bar","width","height","backgroundColor","colors","border","link","TextLinks","items","s","style","children","map","item","index","accessibilityRole","onPress","variant","tone","label"],"sourceRoot":"../../../../src","sources":["components/text-links/text-links.tsx"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,OAAO;AAChC,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,aAAa,QAAQ,kCAA+B;AAC7D,SAASC,UAAU,QAAQ,uBAAoB;AAC/C,SAASC,IAAI,QAAQ,iBAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAMpC,MAAMC,SAAS,GAAGN,UAAU,CAAEO,CAAC,KAAM;EACnCC,IAAI,EAAE;IACJC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxBC,GAAG,EAAEL,CAAC,CAACM,KAAK,CAAC,CAAC,CAAC;IACfC,eAAe,EAAEP,CAAC,CAACM,KAAK,CAAC,CAAC;EAC5B,CAAC;EACDE,GAAG,EAAE;IAAEC,KAAK,EAAE,CAAC;IAAEC,MAAM,EAAEV,CAAC,CAACM,KAAK,CAAC,CAAC,CAAC;IAAEK,eAAe,EAAEX,CAAC,CAACY,MAAM,CAACC;EAAO,CAAC;EACvEC,IAAI,EAAE;IAAEP,eAAe,EAAEP,CAAC,CAACM,KAAK,CAAC,CAAC;EAAE;AACtC,CAAC,CAAC,CAAC;AAEH,OAAO,SAASS,SAASA,CAAC;EAAEC;AAAsB,CAAC,EAAE;EACnD,MAAMC,CAAC,GAAGlB,SAAS,CAAC,CAAC;EACrB,oBACEH,IAAA,CAACL,IAAI;IAAC2B,KAAK,EAAED,CAAC,CAAChB,IAAK;IAAAkB,QAAA,EACjBH,KAAK,CAACI,GAAG,CAAC,CAACC,IAAI,EAAEC,KAAK,kBACrBxB,KAAA,CAACR,QAAQ;MAAA6B,QAAA,GACNG,KAAK,gBAAG1B,IAAA,CAACL,IAAI;QAAC2B,KAAK,EAAED,CAAC,CAACT;MAAI,CAAE,CAAC,GAAG,IAAI,eACtCZ,IAAA,CAACJ,aAAa;QACZ0B,KAAK,EAAED,CAAC,CAACH,IAAK;QACdS,iBAAiB,EAAC,QAAQ;QAC1BC,OAAO,EAAEH,IAAI,CAACG,OAAQ;QAAAL,QAAA,eAEtBvB,IAAA,CAACF,IAAI;UAAC+B,OAAO,EAAC,SAAS;UAACC,IAAI,EAAC,OAAO;UAAAP,QAAA,EACjCE,IAAI,CAACM;QAAK,CACP;MAAC,CACM,CAAC;IAAA,GAVHN,IAAI,CAACM,KAWV,CACX;EAAC,CACE,CAAC;AAEX","ignoreList":[]}
|
package/lib/module/index.js
CHANGED
|
@@ -5,28 +5,39 @@ export { ThemeProvider, useTheme } from "./theme/theme-provider.js";
|
|
|
5
5
|
export { makeStyles } from "./utils/styles.js";
|
|
6
6
|
export { PressableBase } from "./internal/pressable-base.js";
|
|
7
7
|
export { renderIcon } from "./internal/icon.js";
|
|
8
|
-
export { AlertGlyph, CheckGlyph, ChevronGlyph, CloseGlyph, PlusGlyph, SearchGlyph } from "./internal/glyphs.js";
|
|
8
|
+
export { AlertGlyph, BellGlyph, CameraGlyph, CardGlyph, ChartGlyph, CheckGlyph, ChevronGlyph, ClockGlyph, CloseGlyph, EyeGlyph, FileGlyph, GlobeGlyph, HouseGlyph, ImageGlyph, LinkGlyph, MenuGlyph, MessageGlyph, PackageGlyph, PaletteGlyph, PersonGlyph, PhoneGlyph, PlusGlyph, ReceiptGlyph, ReturnGlyph, SearchGlyph, ShareGlyph, SparklesGlyph, StarGlyph, StoreGlyph, TruckGlyph, UsersGlyph, WalletGlyph } from "./internal/glyphs.js";
|
|
9
9
|
export { contrastRatio, pickForeground } from "./utils/color.js";
|
|
10
|
+
export * from "./components/avatar/index.js";
|
|
10
11
|
export * from "./components/button/index.js";
|
|
12
|
+
export * from "./components/check-list/index.js";
|
|
11
13
|
export * from "./components/checkbox/index.js";
|
|
12
14
|
export * from "./components/chip/index.js";
|
|
13
15
|
export * from "./components/calendar/index.js";
|
|
14
16
|
export * from "./components/chip-group/index.js";
|
|
17
|
+
export * from "./components/circle-grid/index.js";
|
|
15
18
|
export * from "./components/dialog/index.js";
|
|
16
19
|
export * from "./components/divider/index.js";
|
|
17
20
|
export * from "./components/empty-state/index.js";
|
|
18
21
|
export * from "./components/field/index.js";
|
|
22
|
+
export * from "./components/field-group/index.js";
|
|
19
23
|
export * from "./components/list-row/index.js";
|
|
20
24
|
export * from "./components/photo/index.js";
|
|
21
25
|
export * from "./components/price/index.js";
|
|
22
26
|
export * from "./components/progress-bar/index.js";
|
|
23
27
|
export * from "./components/search-field/index.js";
|
|
28
|
+
export * from "./components/status-steps/index.js";
|
|
29
|
+
export * from "./components/step-slider/index.js";
|
|
30
|
+
export * from "./components/progress-circle/index.js";
|
|
31
|
+
export * from "./components/result-mark/index.js";
|
|
32
|
+
export * from "./components/page-header/index.js";
|
|
33
|
+
export * from "./blocks/setup-guide/index.js";
|
|
24
34
|
export * from "./components/segmented-tabs/index.js";
|
|
25
35
|
export * from "./components/sheet/index.js";
|
|
26
36
|
export * from "./components/skeleton/index.js";
|
|
27
37
|
export * from "./components/status-badge/index.js";
|
|
28
38
|
export * from "./components/switch/index.js";
|
|
29
39
|
export * from "./components/text/index.js";
|
|
40
|
+
export * from "./components/text-links/index.js";
|
|
30
41
|
export * from "./components/toast/index.js";
|
|
31
42
|
export * from "./components/wizard-steps/index.js";
|
|
32
43
|
export * from "./blocks/index.js";
|
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createTheme","defaultThemes","ThemeProvider","useTheme","makeStyles","PressableBase","renderIcon","AlertGlyph","CheckGlyph","ChevronGlyph","CloseGlyph","PlusGlyph","SearchGlyph","contrastRatio","pickForeground"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;AAAA,SAASA,WAAW,EAAEC,aAAa,QAAQ,yBAAsB;AACjE,SACEC,aAAa,EACbC,QAAQ,QAEH,2BAAwB;AAC/B,SAASC,UAAU,QAAQ,mBAAgB;AAC3C,SACEC,aAAa,QAER,8BAA2B;AAElC,SAASC,UAAU,QAAQ,oBAAiB;AAC5C,SACEC,UAAU,EACVC,UAAU,EACVC,YAAY,EACZC,UAAU,EACVC,SAAS,EACTC,WAAW,QACN,sBAAmB;AAC1B,SAASC,aAAa,EAAEC,cAAc,QAAQ,kBAAe;AAE7D,cAAc,8BAAqB;AACnC,cAAc,gCAAuB;AACrC,cAAc,4BAAmB;AACjC,cAAc,gCAAuB;AACrC,cAAc,kCAAyB;AACvC,cAAc,8BAAqB;AACnC,cAAc,+BAAsB;AACpC,cAAc,mCAA0B;AACxC,cAAc,6BAAoB;AAClC,cAAc,gCAAuB;AACrC,cAAc,6BAAoB;AAClC,cAAc,6BAAoB;AAClC,cAAc,oCAA2B;AACzC,cAAc,oCAA2B;AACzC,cAAc,sCAA6B;AAC3C,cAAc,6BAAoB;AAClC,cAAc,gCAAuB;AACrC,cAAc,oCAA2B;AACzC,cAAc,8BAAqB;AACnC,cAAc,4BAAmB;AACjC,cAAc,6BAAoB;AAClC,cAAc,oCAA2B;AAazC,cAAc,mBAAU;AACxB,cAAc,sBAAa","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["createTheme","defaultThemes","ThemeProvider","useTheme","makeStyles","PressableBase","renderIcon","AlertGlyph","BellGlyph","CameraGlyph","CardGlyph","ChartGlyph","CheckGlyph","ChevronGlyph","ClockGlyph","CloseGlyph","EyeGlyph","FileGlyph","GlobeGlyph","HouseGlyph","ImageGlyph","LinkGlyph","MenuGlyph","MessageGlyph","PackageGlyph","PaletteGlyph","PersonGlyph","PhoneGlyph","PlusGlyph","ReceiptGlyph","ReturnGlyph","SearchGlyph","ShareGlyph","SparklesGlyph","StarGlyph","StoreGlyph","TruckGlyph","UsersGlyph","WalletGlyph","contrastRatio","pickForeground"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;AAAA,SAASA,WAAW,EAAEC,aAAa,QAAQ,yBAAsB;AACjE,SACEC,aAAa,EACbC,QAAQ,QAEH,2BAAwB;AAC/B,SAASC,UAAU,QAAQ,mBAAgB;AAC3C,SACEC,aAAa,QAER,8BAA2B;AAElC,SAASC,UAAU,QAAQ,oBAAiB;AAC5C,SACEC,UAAU,EACVC,SAAS,EACTC,WAAW,EACXC,SAAS,EACTC,UAAU,EACVC,UAAU,EACVC,YAAY,EACZC,UAAU,EACVC,UAAU,EACVC,QAAQ,EACRC,SAAS,EACTC,UAAU,EACVC,UAAU,EACVC,UAAU,EACVC,SAAS,EACTC,SAAS,EACTC,YAAY,EACZC,YAAY,EACZC,YAAY,EACZC,WAAW,EACXC,UAAU,EACVC,SAAS,EACTC,YAAY,EACZC,WAAW,EACXC,WAAW,EACXC,UAAU,EACVC,aAAa,EACbC,SAAS,EACTC,UAAU,EACVC,UAAU,EACVC,UAAU,EACVC,WAAW,QACN,sBAAmB;AAC1B,SAASC,aAAa,EAAEC,cAAc,QAAQ,kBAAe;AAE7D,cAAc,8BAAqB;AACnC,cAAc,8BAAqB;AACnC,cAAc,kCAAyB;AACvC,cAAc,gCAAuB;AACrC,cAAc,4BAAmB;AACjC,cAAc,gCAAuB;AACrC,cAAc,kCAAyB;AACvC,cAAc,mCAA0B;AACxC,cAAc,8BAAqB;AACnC,cAAc,+BAAsB;AACpC,cAAc,mCAA0B;AACxC,cAAc,6BAAoB;AAClC,cAAc,mCAA0B;AACxC,cAAc,gCAAuB;AACrC,cAAc,6BAAoB;AAClC,cAAc,6BAAoB;AAClC,cAAc,oCAA2B;AACzC,cAAc,oCAA2B;AACzC,cAAc,oCAA2B;AACzC,cAAc,mCAA0B;AACxC,cAAc,uCAA8B;AAC5C,cAAc,mCAA0B;AACxC,cAAc,mCAA0B;AACxC,cAAc,+BAAsB;AACpC,cAAc,sCAA6B;AAC3C,cAAc,6BAAoB;AAClC,cAAc,gCAAuB;AACrC,cAAc,oCAA2B;AACzC,cAAc,8BAAqB;AACnC,cAAc,4BAAmB;AACjC,cAAc,kCAAyB;AACvC,cAAc,6BAAoB;AAClC,cAAc,oCAA2B;AAazC,cAAc,mBAAU;AACxB,cAAc,sBAAa","ignoreList":[]}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
export const BELL = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAHI0lEQVR4nOydaagXVRjGnzQzM5fMMsslCLONFkNtsQUrK9uJgoKgxQ9BHwILioToQ1F9aBHKgj5EtIpR2aZEkVFUpgn2IZKMyMw2S03bbH0fzojivXeemf+cM+fM3/nBg9d7zr13/ued857tnXf6oSUq/dASldYAkWkNEJnd0QxOMZ1mGmfa3zRqB5Hvd9LXpiWm95A4uyFNRppmZpph2ged8bNpsel106Ls/0mRmgH2M91pus7UH3752/So6Q7TT0gE3x+yUwaZ5pjmm05EmLGJv3OK6frs62VwRolKbAOwIWaZXjRdYNoD4RloOsN0jWmD6RPTf4hETBe0l2mh6UzE5Q3TxabfEYFYBhhhest0LNLgI7gBv/axIYYBxsBNEQ9BWqw2TYebwtZG3QZg4y81HYjycE7/rGmFaeMOIpymDs802XS56WSU5xvT1OzfWqjTAJzpvI9ybuc70/2mJ7Ovy3CA6SrT7OzrotDA01DTmFCXAfh3XjadX7A+V7N3w83b/0Q1OOu5wXQr3DqjCLzWi1ADdU1DubiaVbDuw3CGosv5B9Xh7/gg+72jTccV+JmJcDfNEgSmDgNcanqoQD0uiq423WP6C/7h7+SdzZkOtzfUYu9006eZghHaBXFwXGPaW9TjYHoe3BhRB9zcozGGi3qb4TYANyIQobej6XdV49NFcA5eV+OTd+HcnHJxQ0w3IyAhe8C+prWmPUW9a02PIw4clx4TdbaYxiJQLwg5BtwF19XzmAvn82PBKSdX5VNz6nB/ijfqmwhAqB5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LT1h4z+nKhVxQexO7d3fOVwlr+mrsEhglkq41JJPbjxsERfUpMP01NiWJLBPimTM4ibTlWgpC90O221DXqUiBuDclwcTB8OdfA1ESx5fmBbANf5aVTnlh6Z3Cdq3KEWmNUBkWgNEpjVAZFoDRKY1QGSaYACuO5iJcUCJn2FKmUlowJolZQPw4OcRuAOO5dm/Kg6JMGM7V5/MgMj0yfOgD5GikepCjNvf72D7yzp3hGnn+4o1ZcLYF3r5Pg9G+DLQ1UiMVA3AcMa+oo+5u3gqesZt0k3RaH2lEnjFdCESI1UD8CnFUTnldC23wKWU55Y641P50p+8qAWeVcsTqrpJ9X3CjEzOMwAbWr14YWeSTJeZ6iA8H/5ZgARJ1QXxaXUeBI2GH+h+jkSCKdNS7QF8Wv0K+HnNLFPTX4ZE89Wl8kLn3vgK7jx6GqrBl8g9hURJ2QDkbbgIO87hy/ZWJle9De5lQsmSugHogvhKQ64LuDgbX/DnlsC9UfV5JE7TjiT5HkhuRzAWn281Gpl9f30mvt2CgWQr0RDaM+HItNvRkWkNEJnWAJH5HwAA//+EK5LJAAAABklEQVQDAFroJR6n3+g0AAAAAElFTkSuQmCC';
|
|
4
|
+
//# sourceMappingURL=bell.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BELL"],"sourceRoot":"../../../src","sources":["internal/bell.ts"],"mappings":";;AAAA,OAAO,MAAMA,IAAI,GACf,ggFAAggF","ignoreList":[]}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { StyleSheet, View } from 'react-native';
|
|
3
|
+
import { Image, StyleSheet, View } from 'react-native';
|
|
4
|
+
import { BELL } from "./bell.js";
|
|
5
|
+
import { CARD, CHART, CLOCK, EYE, FILE, GLOBE, LINK, PALETTE, PHONE, PICTURE, RETURN, SHARE, SPARKLES, STAR, STORE, TRUCK, USERS, WALLET } from "./line-icons.js";
|
|
6
|
+
import { CAMERA, HOUSE, MENU, MESSAGE, PACKAGE, PERSON, RECEIPT } from "./tab-icons.js";
|
|
4
7
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
8
|
export function SearchGlyph({
|
|
6
9
|
color,
|
|
@@ -193,4 +196,47 @@ export function PlusGlyph({
|
|
|
193
196
|
})]
|
|
194
197
|
});
|
|
195
198
|
}
|
|
199
|
+
function imageGlyph(uri) {
|
|
200
|
+
return function Glyph({
|
|
201
|
+
color,
|
|
202
|
+
size
|
|
203
|
+
}) {
|
|
204
|
+
return /*#__PURE__*/_jsx(Image, {
|
|
205
|
+
source: {
|
|
206
|
+
uri
|
|
207
|
+
},
|
|
208
|
+
style: {
|
|
209
|
+
width: size,
|
|
210
|
+
height: size,
|
|
211
|
+
tintColor: color
|
|
212
|
+
}
|
|
213
|
+
});
|
|
214
|
+
};
|
|
215
|
+
}
|
|
216
|
+
export const BellGlyph = imageGlyph(BELL);
|
|
217
|
+
export const HouseGlyph = imageGlyph(HOUSE);
|
|
218
|
+
export const ReceiptGlyph = imageGlyph(RECEIPT);
|
|
219
|
+
export const PackageGlyph = imageGlyph(PACKAGE);
|
|
220
|
+
export const MessageGlyph = imageGlyph(MESSAGE);
|
|
221
|
+
export const MenuGlyph = imageGlyph(MENU);
|
|
222
|
+
export const PersonGlyph = imageGlyph(PERSON);
|
|
223
|
+
export const CameraGlyph = imageGlyph(CAMERA);
|
|
224
|
+
export const TruckGlyph = imageGlyph(TRUCK);
|
|
225
|
+
export const ReturnGlyph = imageGlyph(RETURN);
|
|
226
|
+
export const StarGlyph = imageGlyph(STAR);
|
|
227
|
+
export const ImageGlyph = imageGlyph(PICTURE);
|
|
228
|
+
export const GlobeGlyph = imageGlyph(GLOBE);
|
|
229
|
+
export const PaletteGlyph = imageGlyph(PALETTE);
|
|
230
|
+
export const ChartGlyph = imageGlyph(CHART);
|
|
231
|
+
export const CardGlyph = imageGlyph(CARD);
|
|
232
|
+
export const ClockGlyph = imageGlyph(CLOCK);
|
|
233
|
+
export const SparklesGlyph = imageGlyph(SPARKLES);
|
|
234
|
+
export const StoreGlyph = imageGlyph(STORE);
|
|
235
|
+
export const FileGlyph = imageGlyph(FILE);
|
|
236
|
+
export const WalletGlyph = imageGlyph(WALLET);
|
|
237
|
+
export const LinkGlyph = imageGlyph(LINK);
|
|
238
|
+
export const UsersGlyph = imageGlyph(USERS);
|
|
239
|
+
export const PhoneGlyph = imageGlyph(PHONE);
|
|
240
|
+
export const EyeGlyph = imageGlyph(EYE);
|
|
241
|
+
export const ShareGlyph = imageGlyph(SHARE);
|
|
196
242
|
//# sourceMappingURL=glyphs.js.map
|