@ezpg/app-ui 0.1.0 → 0.2.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/blocks/brand-profile-card/brand-profile-card.js +0 -2
- package/lib/module/blocks/brand-profile-card/brand-profile-card.js.map +1 -1
- package/lib/module/blocks/bulk-ship-list/bulk-ship-list.js +190 -0
- package/lib/module/blocks/bulk-ship-list/bulk-ship-list.js.map +1 -0
- package/lib/module/blocks/bulk-ship-list/index.js +4 -0
- package/lib/module/blocks/bulk-ship-list/index.js.map +1 -0
- package/lib/module/blocks/claim-row/claim-row.js +34 -35
- package/lib/module/blocks/claim-row/claim-row.js.map +1 -1
- package/lib/module/blocks/claim-row/index.js +1 -1
- package/lib/module/blocks/claim-row/index.js.map +1 -1
- package/lib/module/blocks/color-swatch-picker/color-swatch-picker.js +0 -2
- package/lib/module/blocks/color-swatch-picker/color-swatch-picker.js.map +1 -1
- package/lib/module/blocks/copy-variant-picker/copy-variant-picker.js +0 -2
- package/lib/module/blocks/copy-variant-picker/copy-variant-picker.js.map +1 -1
- package/lib/module/blocks/credit-wallet/credit-wallet.js +3 -5
- package/lib/module/blocks/credit-wallet/credit-wallet.js.map +1 -1
- package/lib/module/blocks/generation-progress/generation-progress.js +157 -0
- package/lib/module/blocks/generation-progress/generation-progress.js.map +1 -0
- package/lib/module/blocks/generation-progress/index.js +4 -0
- package/lib/module/blocks/generation-progress/index.js.map +1 -0
- package/lib/module/blocks/image-grid/image-grid.js +19 -15
- package/lib/module/blocks/image-grid/image-grid.js.map +1 -1
- package/lib/module/blocks/index.js +3 -0
- package/lib/module/blocks/index.js.map +1 -1
- package/lib/module/blocks/internal/card.js +49 -10
- package/lib/module/blocks/internal/card.js.map +1 -1
- package/lib/module/blocks/internal/format.js +0 -6
- package/lib/module/blocks/internal/format.js.map +1 -1
- package/lib/module/blocks/invoice-row/invoice-row.js +0 -2
- package/lib/module/blocks/invoice-row/invoice-row.js.map +1 -1
- package/lib/module/blocks/logo-candidate-grid/logo-candidate-grid.js +0 -2
- package/lib/module/blocks/logo-candidate-grid/logo-candidate-grid.js.map +1 -1
- package/lib/module/blocks/oauth-buttons/oauth-buttons.js +0 -3
- package/lib/module/blocks/oauth-buttons/oauth-buttons.js.map +1 -1
- package/lib/module/blocks/option-editor/option-editor.js +22 -12
- package/lib/module/blocks/option-editor/option-editor.js.map +1 -1
- package/lib/module/blocks/order-card/order-card.js +10 -15
- package/lib/module/blocks/order-card/order-card.js.map +1 -1
- package/lib/module/blocks/plan-card/plan-card.js +9 -5
- package/lib/module/blocks/plan-card/plan-card.js.map +1 -1
- package/lib/module/blocks/product-list-empty/product-list-empty.js +0 -2
- package/lib/module/blocks/product-list-empty/product-list-empty.js.map +1 -1
- package/lib/module/blocks/review-row/review-row.js +0 -8
- package/lib/module/blocks/review-row/review-row.js.map +1 -1
- package/lib/module/blocks/sales-chart/sales-chart.js +0 -2
- package/lib/module/blocks/sales-chart/sales-chart.js.map +1 -1
- package/lib/module/blocks/selection-bar/index.js +4 -0
- package/lib/module/blocks/selection-bar/index.js.map +1 -0
- package/lib/module/blocks/selection-bar/selection-bar.js +69 -0
- package/lib/module/blocks/selection-bar/selection-bar.js.map +1 -0
- package/lib/module/blocks/service-state-banner/service-state-banner.js +11 -5
- package/lib/module/blocks/service-state-banner/service-state-banner.js.map +1 -1
- package/lib/module/blocks/shipping-tracking-row/shipping-tracking-row.js +0 -2
- package/lib/module/blocks/shipping-tracking-row/shipping-tracking-row.js.map +1 -1
- package/lib/module/blocks/site-preview-frame/site-preview-frame.js +12 -2
- package/lib/module/blocks/site-preview-frame/site-preview-frame.js.map +1 -1
- package/lib/module/blocks/stat-card/stat-card.js +0 -2
- package/lib/module/blocks/stat-card/stat-card.js.map +1 -1
- package/lib/module/blocks/step-screen/step-screen.js +0 -2
- package/lib/module/blocks/step-screen/step-screen.js.map +1 -1
- package/lib/module/blocks/supply-item-card/supply-item-card.js +0 -6
- package/lib/module/blocks/supply-item-card/supply-item-card.js.map +1 -1
- package/lib/module/charts/line-chart.js +10 -1
- package/lib/module/charts/line-chart.js.map +1 -1
- package/lib/module/charts/scale.js +0 -6
- package/lib/module/charts/scale.js.map +1 -1
- package/lib/module/charts/sparkline.js +0 -1
- package/lib/module/charts/sparkline.js.map +1 -1
- package/lib/module/charts/summary.js +0 -1
- package/lib/module/charts/summary.js.map +1 -1
- package/lib/module/components/button/button.js.map +1 -1
- package/lib/module/components/chip/chip.js +14 -0
- package/lib/module/components/chip/chip.js.map +1 -1
- package/lib/module/components/chip-group/chip-group.js +1 -0
- package/lib/module/components/chip-group/chip-group.js.map +1 -1
- package/lib/module/components/dialog/dialog.js +0 -2
- package/lib/module/components/dialog/dialog.js.map +1 -1
- package/lib/module/components/divider/divider.js +0 -1
- package/lib/module/components/divider/divider.js.map +1 -1
- package/lib/module/components/empty-state/empty-state.js +0 -10
- package/lib/module/components/empty-state/empty-state.js.map +1 -1
- package/lib/module/components/field/field.js +52 -3
- package/lib/module/components/field/field.js.map +1 -1
- package/lib/module/components/list-row/list-row.js.map +1 -1
- package/lib/module/components/photo/photo.js +0 -3
- package/lib/module/components/photo/photo.js.map +1 -1
- package/lib/module/components/price/price.js +0 -2
- package/lib/module/components/price/price.js.map +1 -1
- package/lib/module/components/progress-bar/index.js +4 -0
- package/lib/module/components/progress-bar/index.js.map +1 -0
- package/lib/module/components/progress-bar/progress-bar.js +92 -0
- package/lib/module/components/progress-bar/progress-bar.js.map +1 -0
- package/lib/module/components/search-field/search-field.js.map +1 -1
- package/lib/module/components/segmented-tabs/segmented-tabs.js.map +1 -1
- package/lib/module/components/sheet/sheet.js.map +1 -1
- package/lib/module/components/skeleton/skeleton.js +0 -1
- package/lib/module/components/skeleton/skeleton.js.map +1 -1
- package/lib/module/components/status-badge/status-badge.js.map +1 -1
- package/lib/module/components/switch/switch.js +4 -3
- package/lib/module/components/switch/switch.js.map +1 -1
- package/lib/module/components/text/text.js.map +1 -1
- package/lib/module/components/toast/toast.js +0 -8
- package/lib/module/components/toast/toast.js.map +1 -1
- package/lib/module/components/wizard-steps/wizard-steps.js +0 -2
- package/lib/module/components/wizard-steps/wizard-steps.js.map +1 -1
- package/lib/module/index.js +1 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/internal/glyphs.js +0 -4
- package/lib/module/internal/glyphs.js.map +1 -1
- package/lib/module/internal/icon.js +0 -2
- package/lib/module/internal/icon.js.map +1 -1
- package/lib/module/internal/overlay.js +0 -5
- package/lib/module/internal/overlay.js.map +1 -1
- package/lib/module/internal/pressable-base.js +0 -1
- package/lib/module/internal/pressable-base.js.map +1 -1
- package/lib/module/internal/use-reduced-motion.js +0 -4
- package/lib/module/internal/use-reduced-motion.js.map +1 -1
- package/lib/module/sortable/move.js +0 -1
- package/lib/module/sortable/move.js.map +1 -1
- package/lib/module/sortable/sortable-grid.js +0 -6
- package/lib/module/sortable/sortable-grid.js.map +1 -1
- package/lib/module/sortable/sortable-list.js +0 -1
- package/lib/module/sortable/sortable-list.js.map +1 -1
- package/lib/module/theme/create-theme.js +0 -6
- package/lib/module/theme/create-theme.js.map +1 -1
- package/lib/module/theme/theme-provider.js +0 -2
- package/lib/module/theme/theme-provider.js.map +1 -1
- package/lib/module/theme/tokens.js +0 -1
- package/lib/module/theme/tokens.js.map +1 -1
- package/lib/module/utils/color.js +0 -5
- package/lib/module/utils/color.js.map +1 -1
- package/lib/module/utils/styles.js +0 -5
- package/lib/module/utils/styles.js.map +1 -1
- package/lib/typescript/src/blocks/brand-profile-card/brand-profile-card.d.ts +0 -2
- package/lib/typescript/src/blocks/brand-profile-card/brand-profile-card.d.ts.map +1 -1
- package/lib/typescript/src/blocks/bulk-ship-list/bulk-ship-list.d.ts +24 -0
- package/lib/typescript/src/blocks/bulk-ship-list/bulk-ship-list.d.ts.map +1 -0
- package/lib/typescript/src/blocks/bulk-ship-list/index.d.ts +2 -0
- package/lib/typescript/src/blocks/bulk-ship-list/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/claim-row/claim-row.d.ts +5 -12
- package/lib/typescript/src/blocks/claim-row/claim-row.d.ts.map +1 -1
- package/lib/typescript/src/blocks/claim-row/index.d.ts +1 -1
- package/lib/typescript/src/blocks/claim-row/index.d.ts.map +1 -1
- package/lib/typescript/src/blocks/color-swatch-picker/color-swatch-picker.d.ts +0 -2
- package/lib/typescript/src/blocks/color-swatch-picker/color-swatch-picker.d.ts.map +1 -1
- package/lib/typescript/src/blocks/copy-variant-picker/copy-variant-picker.d.ts +0 -4
- package/lib/typescript/src/blocks/copy-variant-picker/copy-variant-picker.d.ts.map +1 -1
- package/lib/typescript/src/blocks/credit-wallet/credit-wallet.d.ts +1 -3
- package/lib/typescript/src/blocks/credit-wallet/credit-wallet.d.ts.map +1 -1
- package/lib/typescript/src/blocks/generation-progress/generation-progress.d.ts +17 -0
- package/lib/typescript/src/blocks/generation-progress/generation-progress.d.ts.map +1 -0
- package/lib/typescript/src/blocks/generation-progress/index.d.ts +2 -0
- package/lib/typescript/src/blocks/generation-progress/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/image-grid/image-grid.d.ts +0 -6
- package/lib/typescript/src/blocks/image-grid/image-grid.d.ts.map +1 -1
- package/lib/typescript/src/blocks/index.d.ts +3 -0
- package/lib/typescript/src/blocks/index.d.ts.map +1 -1
- package/lib/typescript/src/blocks/internal/card.d.ts +3 -2
- package/lib/typescript/src/blocks/internal/card.d.ts.map +1 -1
- package/lib/typescript/src/blocks/internal/format.d.ts +0 -3
- package/lib/typescript/src/blocks/internal/format.d.ts.map +1 -1
- package/lib/typescript/src/blocks/invoice-row/invoice-row.d.ts +0 -7
- package/lib/typescript/src/blocks/invoice-row/invoice-row.d.ts.map +1 -1
- package/lib/typescript/src/blocks/logo-candidate-grid/logo-candidate-grid.d.ts +0 -2
- package/lib/typescript/src/blocks/logo-candidate-grid/logo-candidate-grid.d.ts.map +1 -1
- package/lib/typescript/src/blocks/oauth-buttons/oauth-buttons.d.ts +0 -7
- package/lib/typescript/src/blocks/oauth-buttons/oauth-buttons.d.ts.map +1 -1
- package/lib/typescript/src/blocks/option-editor/option-editor.d.ts +3 -5
- package/lib/typescript/src/blocks/option-editor/option-editor.d.ts.map +1 -1
- package/lib/typescript/src/blocks/order-card/order-card.d.ts +4 -12
- package/lib/typescript/src/blocks/order-card/order-card.d.ts.map +1 -1
- package/lib/typescript/src/blocks/plan-card/plan-card.d.ts +2 -13
- package/lib/typescript/src/blocks/plan-card/plan-card.d.ts.map +1 -1
- package/lib/typescript/src/blocks/product-list-empty/product-list-empty.d.ts +0 -5
- package/lib/typescript/src/blocks/product-list-empty/product-list-empty.d.ts.map +1 -1
- package/lib/typescript/src/blocks/review-row/review-row.d.ts +0 -9
- package/lib/typescript/src/blocks/review-row/review-row.d.ts.map +1 -1
- package/lib/typescript/src/blocks/sales-chart/sales-chart.d.ts +0 -5
- package/lib/typescript/src/blocks/sales-chart/sales-chart.d.ts.map +1 -1
- package/lib/typescript/src/blocks/selection-bar/index.d.ts +2 -0
- package/lib/typescript/src/blocks/selection-bar/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/selection-bar/selection-bar.d.ts +12 -0
- package/lib/typescript/src/blocks/selection-bar/selection-bar.d.ts.map +1 -0
- package/lib/typescript/src/blocks/service-state-banner/service-state-banner.d.ts +3 -4
- package/lib/typescript/src/blocks/service-state-banner/service-state-banner.d.ts.map +1 -1
- package/lib/typescript/src/blocks/shipping-tracking-row/shipping-tracking-row.d.ts +0 -1
- package/lib/typescript/src/blocks/shipping-tracking-row/shipping-tracking-row.d.ts.map +1 -1
- package/lib/typescript/src/blocks/site-preview-frame/site-preview-frame.d.ts +3 -5
- package/lib/typescript/src/blocks/site-preview-frame/site-preview-frame.d.ts.map +1 -1
- package/lib/typescript/src/blocks/stat-card/stat-card.d.ts +0 -5
- 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 +0 -6
- package/lib/typescript/src/blocks/step-screen/step-screen.d.ts.map +1 -1
- package/lib/typescript/src/blocks/supply-item-card/supply-item-card.d.ts +0 -6
- package/lib/typescript/src/blocks/supply-item-card/supply-item-card.d.ts.map +1 -1
- package/lib/typescript/src/charts/line-chart.d.ts +1 -5
- package/lib/typescript/src/charts/line-chart.d.ts.map +1 -1
- package/lib/typescript/src/charts/scale.d.ts +0 -3
- package/lib/typescript/src/charts/scale.d.ts.map +1 -1
- package/lib/typescript/src/charts/sparkline.d.ts +0 -4
- package/lib/typescript/src/charts/sparkline.d.ts.map +1 -1
- package/lib/typescript/src/charts/summary.d.ts +0 -1
- package/lib/typescript/src/charts/summary.d.ts.map +1 -1
- package/lib/typescript/src/components/button/button.d.ts +0 -3
- package/lib/typescript/src/components/button/button.d.ts.map +1 -1
- package/lib/typescript/src/components/chip/chip.d.ts +2 -1
- package/lib/typescript/src/components/chip/chip.d.ts.map +1 -1
- package/lib/typescript/src/components/chip-group/chip-group.d.ts +1 -2
- package/lib/typescript/src/components/chip-group/chip-group.d.ts.map +1 -1
- package/lib/typescript/src/components/dialog/dialog.d.ts +0 -7
- package/lib/typescript/src/components/dialog/dialog.d.ts.map +1 -1
- package/lib/typescript/src/components/divider/divider.d.ts +0 -2
- package/lib/typescript/src/components/divider/divider.d.ts.map +1 -1
- package/lib/typescript/src/components/empty-state/empty-state.d.ts +0 -10
- package/lib/typescript/src/components/empty-state/empty-state.d.ts.map +1 -1
- package/lib/typescript/src/components/field/field.d.ts +3 -3
- package/lib/typescript/src/components/field/field.d.ts.map +1 -1
- package/lib/typescript/src/components/list-row/list-row.d.ts +0 -3
- package/lib/typescript/src/components/list-row/list-row.d.ts.map +1 -1
- package/lib/typescript/src/components/photo/photo.d.ts +0 -4
- package/lib/typescript/src/components/photo/photo.d.ts.map +1 -1
- package/lib/typescript/src/components/price/price.d.ts +0 -3
- package/lib/typescript/src/components/price/price.d.ts.map +1 -1
- package/lib/typescript/src/components/progress-bar/index.d.ts +2 -0
- package/lib/typescript/src/components/progress-bar/index.d.ts.map +1 -0
- package/lib/typescript/src/components/progress-bar/progress-bar.d.ts +9 -0
- package/lib/typescript/src/components/progress-bar/progress-bar.d.ts.map +1 -0
- package/lib/typescript/src/components/search-field/search-field.d.ts +0 -1
- package/lib/typescript/src/components/search-field/search-field.d.ts.map +1 -1
- package/lib/typescript/src/components/segmented-tabs/segmented-tabs.d.ts +0 -1
- package/lib/typescript/src/components/segmented-tabs/segmented-tabs.d.ts.map +1 -1
- package/lib/typescript/src/components/sheet/sheet.d.ts +0 -3
- package/lib/typescript/src/components/sheet/sheet.d.ts.map +1 -1
- package/lib/typescript/src/components/skeleton/skeleton.d.ts +0 -4
- package/lib/typescript/src/components/skeleton/skeleton.d.ts.map +1 -1
- package/lib/typescript/src/components/status-badge/status-badge.d.ts +0 -1
- package/lib/typescript/src/components/status-badge/status-badge.d.ts.map +1 -1
- package/lib/typescript/src/components/switch/switch.d.ts.map +1 -1
- package/lib/typescript/src/components/text/text.d.ts +0 -3
- package/lib/typescript/src/components/text/text.d.ts.map +1 -1
- package/lib/typescript/src/components/toast/toast.d.ts +0 -8
- package/lib/typescript/src/components/toast/toast.d.ts.map +1 -1
- package/lib/typescript/src/components/wizard-steps/wizard-steps.d.ts +0 -3
- package/lib/typescript/src/components/wizard-steps/wizard-steps.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +1 -0
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/internal/glyphs.d.ts +0 -1
- package/lib/typescript/src/internal/glyphs.d.ts.map +1 -1
- package/lib/typescript/src/internal/icon.d.ts +0 -1
- package/lib/typescript/src/internal/icon.d.ts.map +1 -1
- package/lib/typescript/src/internal/overlay.d.ts +0 -4
- package/lib/typescript/src/internal/overlay.d.ts.map +1 -1
- package/lib/typescript/src/internal/pressable-base.d.ts +0 -3
- package/lib/typescript/src/internal/pressable-base.d.ts.map +1 -1
- package/lib/typescript/src/internal/use-reduced-motion.d.ts +0 -1
- package/lib/typescript/src/internal/use-reduced-motion.d.ts.map +1 -1
- package/lib/typescript/src/sortable/move.d.ts +0 -1
- package/lib/typescript/src/sortable/move.d.ts.map +1 -1
- package/lib/typescript/src/sortable/sortable-grid.d.ts +0 -12
- package/lib/typescript/src/sortable/sortable-grid.d.ts.map +1 -1
- package/lib/typescript/src/sortable/sortable-list.d.ts +0 -1
- package/lib/typescript/src/sortable/sortable-list.d.ts.map +1 -1
- package/lib/typescript/src/theme/create-theme.d.ts +0 -4
- package/lib/typescript/src/theme/create-theme.d.ts.map +1 -1
- package/lib/typescript/src/theme/theme-provider.d.ts +0 -3
- package/lib/typescript/src/theme/theme-provider.d.ts.map +1 -1
- package/lib/typescript/src/theme/tokens.d.ts.map +1 -1
- package/lib/typescript/src/types/index.d.ts +0 -7
- package/lib/typescript/src/types/index.d.ts.map +1 -1
- package/lib/typescript/src/utils/color.d.ts +0 -2
- package/lib/typescript/src/utils/color.d.ts.map +1 -1
- package/lib/typescript/src/utils/styles.d.ts +0 -5
- package/lib/typescript/src/utils/styles.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/blocks/brand-profile-card/brand-profile-card.tsx +0 -2
- package/src/blocks/bulk-ship-list/bulk-ship-list.tsx +187 -0
- package/src/blocks/bulk-ship-list/index.ts +8 -0
- package/src/blocks/claim-row/claim-row.tsx +67 -54
- package/src/blocks/claim-row/index.ts +1 -0
- package/src/blocks/color-swatch-picker/color-swatch-picker.tsx +0 -2
- package/src/blocks/copy-variant-picker/copy-variant-picker.tsx +0 -4
- package/src/blocks/credit-wallet/credit-wallet.tsx +20 -14
- package/src/blocks/generation-progress/generation-progress.tsx +180 -0
- package/src/blocks/generation-progress/index.ts +6 -0
- package/src/blocks/image-grid/image-grid.tsx +10 -14
- package/src/blocks/index.tsx +3 -0
- package/src/blocks/internal/card.tsx +47 -3
- package/src/blocks/internal/format.ts +0 -3
- package/src/blocks/invoice-row/invoice-row.tsx +0 -7
- package/src/blocks/logo-candidate-grid/logo-candidate-grid.tsx +0 -2
- package/src/blocks/oauth-buttons/oauth-buttons.tsx +0 -8
- package/src/blocks/option-editor/option-editor.tsx +24 -10
- package/src/blocks/order-card/order-card.tsx +20 -28
- package/src/blocks/plan-card/plan-card.tsx +18 -16
- package/src/blocks/product-list-empty/product-list-empty.tsx +0 -5
- package/src/blocks/review-row/review-row.tsx +0 -10
- package/src/blocks/sales-chart/sales-chart.tsx +0 -5
- package/src/blocks/selection-bar/index.ts +1 -0
- package/src/blocks/selection-bar/selection-bar.tsx +63 -0
- package/src/blocks/service-state-banner/service-state-banner.tsx +16 -5
- package/src/blocks/shipping-tracking-row/shipping-tracking-row.tsx +0 -1
- package/src/blocks/site-preview-frame/site-preview-frame.tsx +20 -5
- package/src/blocks/stat-card/stat-card.tsx +0 -5
- package/src/blocks/step-screen/step-screen.tsx +0 -6
- package/src/blocks/supply-item-card/supply-item-card.tsx +0 -6
- package/src/charts/line-chart.tsx +11 -6
- package/src/charts/scale.ts +0 -3
- package/src/charts/sparkline.tsx +0 -4
- package/src/charts/summary.ts +0 -1
- package/src/components/button/button.tsx +0 -3
- package/src/components/chip/chip.tsx +17 -0
- package/src/components/chip-group/chip-group.tsx +2 -2
- package/src/components/dialog/dialog.tsx +0 -7
- package/src/components/divider/divider.tsx +0 -2
- package/src/components/empty-state/empty-state.tsx +0 -11
- package/src/components/field/field.tsx +54 -4
- package/src/components/list-row/list-row.tsx +0 -3
- package/src/components/photo/photo.tsx +0 -5
- package/src/components/price/price.tsx +0 -3
- package/src/components/progress-bar/index.ts +1 -0
- package/src/components/progress-bar/progress-bar.tsx +80 -0
- package/src/components/search-field/search-field.tsx +0 -1
- package/src/components/segmented-tabs/segmented-tabs.tsx +0 -1
- package/src/components/sheet/sheet.tsx +0 -3
- package/src/components/skeleton/skeleton.tsx +0 -4
- package/src/components/status-badge/status-badge.tsx +0 -1
- package/src/components/switch/switch.tsx +5 -3
- package/src/components/text/text.tsx +0 -3
- package/src/components/toast/toast.tsx +0 -11
- package/src/components/wizard-steps/wizard-steps.tsx +0 -3
- package/src/index.tsx +1 -0
- package/src/internal/glyphs.tsx +0 -3
- package/src/internal/icon.tsx +0 -1
- package/src/internal/overlay.tsx +0 -4
- package/src/internal/pressable-base.tsx +0 -3
- package/src/internal/use-reduced-motion.ts +0 -2
- package/src/sortable/move.ts +0 -1
- package/src/sortable/sortable-grid.tsx +0 -12
- package/src/sortable/sortable-list.tsx +0 -1
- package/src/theme/create-theme.ts +0 -5
- package/src/theme/theme-provider.tsx +0 -3
- package/src/theme/tokens.ts +0 -1
- package/src/types/index.ts +0 -7
- package/src/utils/color.ts +0 -3
- package/src/utils/styles.ts +0 -5
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
3
|
-
|
|
4
|
-
export declare function Card({ children, onPress, accessibilityLabel, style, }: {
|
|
3
|
+
export declare function Card({ children, onPress, onLongPress, selected, accessibilityLabel, style, }: {
|
|
5
4
|
children: ReactNode;
|
|
6
5
|
onPress?: () => void;
|
|
6
|
+
onLongPress?: () => void;
|
|
7
|
+
selected?: boolean;
|
|
7
8
|
accessibilityLabel?: string;
|
|
8
9
|
style?: StyleProp<ViewStyle>;
|
|
9
10
|
}): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/internal/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/internal/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAqCpE,wBAAgB,IAAI,CAAC,EACnB,QAAQ,EACR,OAAO,EACP,WAAW,EACX,QAAQ,EACR,kBAAkB,EAClB,KAAK,GACN,EAAE;IACD,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,+BAiCA"}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
/** 420000 → '42만', 12345 → '1.2만', 9000 → '9,000' */
|
|
2
1
|
export declare function formatManwon(value: number): string;
|
|
3
|
-
/** 전기 대비 증감률(%). 이전 값이 0이면 null */
|
|
4
2
|
export declare function changeRate(current: number, previous: number): number | null;
|
|
5
|
-
/** 마감이 임박했을 때만 문구를 돌려준다. 0 → '오늘 마감', 1 → '내일 마감', 2 → '모레 마감', 그 밖 null */
|
|
6
3
|
export declare function formatDeadline(days: number): string | null;
|
|
7
4
|
//# sourceMappingURL=format.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/internal/format.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/internal/format.ts"],"names":[],"mappings":"AAEA,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAMlD;AAED,wBAAgB,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAG3E;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAG1D"}
|
|
@@ -1,22 +1,15 @@
|
|
|
1
1
|
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
2
|
export type InvoiceStatus = 'paid' | 'failed' | 'refunded';
|
|
3
3
|
export type InvoiceRowProps = {
|
|
4
|
-
/** 예) '베이직 · 10월' */
|
|
5
4
|
title: string;
|
|
6
5
|
amount: number;
|
|
7
|
-
/** 기본 'paid' */
|
|
8
6
|
status?: InvoiceStatus;
|
|
9
|
-
/** 환불된 금액. 없으면 전액 환불 */
|
|
10
7
|
refundedAmount?: number;
|
|
11
|
-
/** 실패일 때 [결제수단 변경] */
|
|
12
8
|
onChangePaymentMethod?: () => void;
|
|
13
|
-
/** 실패일 때 [다시 결제] */
|
|
14
9
|
onRetry?: () => void;
|
|
15
|
-
/** 다시 결제 진행 중 */
|
|
16
10
|
retrying?: boolean;
|
|
17
11
|
onPress?: () => void;
|
|
18
12
|
style?: StyleProp<ViewStyle>;
|
|
19
13
|
};
|
|
20
|
-
/** 결제 내역 한 건. 실패한 결제는 해결 버튼이 있는 카드로 보여준다 */
|
|
21
14
|
export declare function InvoiceRow({ title, amount, status, refundedAmount, onChangePaymentMethod, onRetry, retrying, onPress, style, }: InvoiceRowProps): import("react").JSX.Element;
|
|
22
15
|
//# sourceMappingURL=invoice-row.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invoice-row.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/invoice-row/invoice-row.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAUpE,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,QAAQ,GAAG,UAAU,CAAC;AAE3D,MAAM,MAAM,eAAe,GAAG;IAC5B,
|
|
1
|
+
{"version":3,"file":"invoice-row.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/invoice-row/invoice-row.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAUpE,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,QAAQ,GAAG,UAAU,CAAC;AAE3D,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;IACnC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AASF,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,MAAM,EACN,MAAe,EACf,cAAc,EACd,qBAAqB,EACrB,OAAO,EACP,QAAQ,EACR,OAAO,EACP,KAAK,GACN,EAAE,eAAe,+BAyEjB"}
|
|
@@ -8,10 +8,8 @@ export type LogoCandidateGridProps = {
|
|
|
8
8
|
candidates: readonly LogoCandidate[];
|
|
9
9
|
selectedId: string | null;
|
|
10
10
|
onSelect: (id: string) => void;
|
|
11
|
-
/** 실패한 후보 다시 만들기 */
|
|
12
11
|
onRetry?: (id: string) => void;
|
|
13
12
|
style?: StyleProp<ViewStyle>;
|
|
14
13
|
};
|
|
15
|
-
/** AI가 만든 로고 후보 고르기 */
|
|
16
14
|
export declare function LogoCandidateGrid({ candidates, selectedId, onSelect, onRetry, style, }: LogoCandidateGridProps): import("react").JSX.Element;
|
|
17
15
|
//# sourceMappingURL=logo-candidate-grid.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logo-candidate-grid.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/logo-candidate-grid/logo-candidate-grid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAStB,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,YAAY,GAAG,OAAO,GAAG,QAAQ,CAAC;IAC1C,KAAK,CAAC,EAAE,mBAAmB,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,UAAU,EAAE,SAAS,aAAa,EAAE,CAAC;IACrC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,
|
|
1
|
+
{"version":3,"file":"logo-candidate-grid.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/logo-candidate-grid/logo-candidate-grid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAStB,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,YAAY,GAAG,OAAO,GAAG,QAAQ,CAAC;IAC1C,KAAK,CAAC,EAAE,mBAAmB,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,UAAU,EAAE,SAAS,aAAa,EAAE,CAAC;IACrC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,OAAO,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAiCF,wBAAgB,iBAAiB,CAAC,EAChC,UAAU,EACV,UAAU,EACV,QAAQ,EACR,OAAO,EACP,KAAK,GACN,EAAE,sBAAsB,+BA6DxB"}
|
|
@@ -4,17 +4,10 @@ export type OAuthProvider = 'kakao' | 'naver' | 'google' | 'apple';
|
|
|
4
4
|
export type OAuthButtonsProps = {
|
|
5
5
|
providers: readonly OAuthProvider[];
|
|
6
6
|
onPress: (provider: OAuthProvider) => void;
|
|
7
|
-
/**
|
|
8
|
-
* 각 사 공식 로고. 로고는 상표라 패키지에 넣지 않는다.
|
|
9
|
-
* 각 사 브랜드 가이드의 에셋을 앱에서 넘긴다.
|
|
10
|
-
*/
|
|
11
7
|
icons?: Partial<Record<OAuthProvider, ReactNode>>;
|
|
12
|
-
/** 진행 중인 공급자 */
|
|
13
8
|
loading?: OAuthProvider | null;
|
|
14
|
-
/** 문구 바꾸기 */
|
|
15
9
|
labels?: Partial<Record<OAuthProvider, string>>;
|
|
16
10
|
style?: StyleProp<ViewStyle>;
|
|
17
11
|
};
|
|
18
|
-
/** 소셜 로그인 버튼 묶음. Apple은 iOS에서만 보인다 */
|
|
19
12
|
export declare function OAuthButtons({ providers, onPress, icons, loading, labels, style, }: OAuthButtonsProps): import("react").JSX.Element;
|
|
20
13
|
//# sourceMappingURL=oauth-buttons.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth-buttons.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/oauth-buttons/oauth-buttons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAItB,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEnE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,SAAS,EAAE,SAAS,aAAa,EAAE,CAAC;IACpC,OAAO,EAAE,CAAC,QAAQ,EAAE,aAAa,KAAK,IAAI,CAAC;IAC3C
|
|
1
|
+
{"version":3,"file":"oauth-buttons.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/oauth-buttons/oauth-buttons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAItB,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEnE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,SAAS,EAAE,SAAS,aAAa,EAAE,CAAC;IACpC,OAAO,EAAE,CAAC,QAAQ,EAAE,aAAa,KAAK,IAAI,CAAC;IAC3C,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,aAAa,EAAE,SAAS,CAAC,CAAC,CAAC;IAClD,OAAO,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IAC/B,MAAM,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC;IAChD,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAoCF,wBAAgB,YAAY,CAAC,EAC3B,SAAS,EACT,OAAO,EACP,KAAU,EACV,OAAc,EACd,MAAW,EACX,KAAK,GACN,EAAE,iBAAiB,+BAoCnB"}
|
|
@@ -2,19 +2,17 @@ import { type StyleProp, type ViewStyle } from 'react-native';
|
|
|
2
2
|
export type ProductOption = {
|
|
3
3
|
id: string;
|
|
4
4
|
name: string;
|
|
5
|
-
/** 기본 가격에 더하는 금액 */
|
|
6
5
|
priceDelta: number;
|
|
7
|
-
/** false면 판매 중지(품절) */
|
|
8
6
|
active: boolean;
|
|
7
|
+
note?: string;
|
|
9
8
|
};
|
|
10
9
|
export type OptionEditorProps = {
|
|
11
10
|
options: readonly ProductOption[];
|
|
12
11
|
onOptionsChange: (options: ProductOption[]) => void;
|
|
13
|
-
|
|
12
|
+
onActiveChange?: (id: string, active: boolean) => void;
|
|
14
13
|
onEdit?: (id: string) => void;
|
|
15
14
|
onAdd?: () => void;
|
|
16
15
|
style?: StyleProp<ViewStyle>;
|
|
17
16
|
};
|
|
18
|
-
|
|
19
|
-
export declare function OptionEditor({ options, onOptionsChange, onEdit, onAdd, style, }: OptionEditorProps): import("react").JSX.Element;
|
|
17
|
+
export declare function OptionEditor({ options, onOptionsChange, onActiveChange, onEdit, onAdd, style, }: OptionEditorProps): import("react").JSX.Element;
|
|
20
18
|
//# sourceMappingURL=option-editor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"option-editor.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/option-editor/option-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAUpE,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,
|
|
1
|
+
{"version":3,"file":"option-editor.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/option-editor/option-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAUpE,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,EAAE,SAAS,aAAa,EAAE,CAAC;IAClC,eAAe,EAAE,CAAC,OAAO,EAAE,aAAa,EAAE,KAAK,IAAI,CAAC;IACpD,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACvD,MAAM,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAwCF,wBAAgB,YAAY,CAAC,EAC3B,OAAO,EACP,eAAe,EACf,cAAc,EACd,MAAM,EACN,KAAK,EACL,KAAK,GACN,EAAE,iBAAiB,+BA4EnB"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
3
3
|
import { type ButtonVariant } from '../../components/button/button.js';
|
|
4
|
-
export type OrderStatus = '
|
|
5
|
-
/** 주문 상태 → 묶음 제목 (OrderSection) */
|
|
4
|
+
export type OrderStatus = 'pending_payment' | 'paid' | 'preparing' | 'shipped' | 'delivered' | 'completed' | 'canceled';
|
|
6
5
|
export declare const orderStatusLabel: Record<OrderStatus, string>;
|
|
7
6
|
export type OrderItem = {
|
|
8
7
|
name: string;
|
|
@@ -12,33 +11,26 @@ export type OrderItem = {
|
|
|
12
11
|
export type OrderAction = {
|
|
13
12
|
label: string;
|
|
14
13
|
onPress: () => void;
|
|
15
|
-
/** 기본 'outline' */
|
|
16
14
|
variant?: ButtonVariant;
|
|
17
15
|
loading?: boolean;
|
|
18
16
|
};
|
|
19
17
|
export type OrderCardProps = {
|
|
20
18
|
items: readonly OrderItem[];
|
|
21
|
-
/** 결제 금액 */
|
|
22
19
|
total: number;
|
|
23
|
-
/** 처리 기한까지 남은 영업일. 임박했을 때만 표시한다 */
|
|
24
20
|
dueInDays?: number;
|
|
25
|
-
/** 없고 기한도 임박하지 않으면 한 줄로 줄여 보여준다 */
|
|
26
21
|
actions?: readonly OrderAction[];
|
|
27
22
|
onPress?: () => void;
|
|
23
|
+
onLongPress?: () => void;
|
|
24
|
+
selected?: boolean;
|
|
28
25
|
style?: StyleProp<ViewStyle>;
|
|
29
26
|
};
|
|
30
|
-
/** '장미 꽃다발 (중) 외 1건', '튤립 다발 × 2' */
|
|
31
27
|
export declare function summarizeItems(items: readonly OrderItem[]): string;
|
|
32
|
-
|
|
33
|
-
export declare function OrderCard({ items, total, dueInDays, actions, onPress, style, }: OrderCardProps): import("react").JSX.Element;
|
|
28
|
+
export declare function OrderCard({ items, total, dueInDays, actions, onPress, onLongPress, selected, style, }: OrderCardProps): import("react").JSX.Element;
|
|
34
29
|
export type OrderSectionProps = {
|
|
35
|
-
/** 예) '신규', orderStatusLabel[status] */
|
|
36
30
|
title: string;
|
|
37
|
-
/** 제목 옆 건수 */
|
|
38
31
|
count?: number;
|
|
39
32
|
children: ReactNode;
|
|
40
33
|
style?: StyleProp<ViewStyle>;
|
|
41
34
|
};
|
|
42
|
-
/** 같은 상태의 주문을 묶는 제목과 목록 */
|
|
43
35
|
export declare function OrderSection({ title, count, children, style, }: OrderSectionProps): import("react").JSX.Element;
|
|
44
36
|
//# sourceMappingURL=order-card.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"order-card.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/order-card/order-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,EAAU,KAAK,aAAa,EAAE,MAAM,mCAAgC,CAAC;AAS5E,MAAM,MAAM,WAAW,GACnB,
|
|
1
|
+
{"version":3,"file":"order-card.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/order-card/order-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,EAAU,KAAK,aAAa,EAAE,MAAM,mCAAgC,CAAC;AAS5E,MAAM,MAAM,WAAW,GACnB,iBAAiB,GACjB,MAAM,GACN,WAAW,GACX,SAAS,GACT,WAAW,GACX,WAAW,GACX,UAAU,CAAC;AAEf,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAQxD,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC;AAE5E,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,SAAS,SAAS,EAAE,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,WAAW,EAAE,CAAC;IACjC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAmBF,wBAAgB,cAAc,CAAC,KAAK,EAAE,SAAS,SAAS,EAAE,GAAG,MAAM,CAMlE;AAED,wBAAgB,SAAS,CAAC,EACxB,KAAK,EACL,KAAK,EACL,SAAS,EACT,OAAY,EACZ,OAAO,EACP,WAAW,EACX,QAAQ,EACR,KAAK,GACN,EAAE,cAAc,+BAmEhB;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAEF,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,KAAK,EACL,QAAQ,EACR,KAAK,GACN,EAAE,iBAAiB,+BAUnB"}
|
|
@@ -1,25 +1,16 @@
|
|
|
1
1
|
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
-
export type PlanState = 'active' | 'cancelScheduled' | 'pastDue' | 'suspended';
|
|
2
|
+
export type PlanState = 'none' | 'trial' | 'active' | 'cancelScheduled' | 'pastDue' | 'suspended';
|
|
3
3
|
export type PlanCardProps = {
|
|
4
4
|
name: string;
|
|
5
|
-
/** 월 요금 */
|
|
6
5
|
price: number;
|
|
7
|
-
/** 매월 주는 크레딧 */
|
|
8
6
|
monthlyCredits: number;
|
|
9
|
-
|
|
10
|
-
dailyLimit: number;
|
|
7
|
+
dailyLimit: number | null;
|
|
11
8
|
features?: readonly string[];
|
|
12
|
-
/** 지금 쓰는 플랜이면 변경 버튼을 숨긴다 */
|
|
13
9
|
current?: boolean;
|
|
14
|
-
/** 테두리를 굵게 강조 */
|
|
15
10
|
recommended?: boolean;
|
|
16
|
-
/** 지금 구독 상태 (current일 때) */
|
|
17
11
|
state?: PlanState;
|
|
18
|
-
/** 예) '11월 30일' — 해지 예약일 */
|
|
19
12
|
cancelDate?: string;
|
|
20
|
-
/** 바꾸면 오늘 결제할 금액. 넘기면 버튼에 금액을 붙인다 */
|
|
21
13
|
proratedAmount?: number;
|
|
22
|
-
/** 가격 인상 예정 */
|
|
23
14
|
priceChange?: {
|
|
24
15
|
newPrice: number;
|
|
25
16
|
effectiveDate: string;
|
|
@@ -27,10 +18,8 @@ export type PlanCardProps = {
|
|
|
27
18
|
};
|
|
28
19
|
onSelect?: () => void;
|
|
29
20
|
onConsent?: () => void;
|
|
30
|
-
/** 기본 '이 플랜으로 변경' */
|
|
31
21
|
actionLabel?: string;
|
|
32
22
|
style?: StyleProp<ViewStyle>;
|
|
33
23
|
};
|
|
34
|
-
/** 구독 플랜 한 장. 섹션 제목('이용 중인 플랜' 등)은 쓰는 쪽에서 붙인다 */
|
|
35
24
|
export declare function PlanCard({ name, price, monthlyCredits, dailyLimit, features, current, recommended, state, cancelDate, proratedAmount, priceChange, onSelect, onConsent, actionLabel, style, }: PlanCardProps): import("react").JSX.Element;
|
|
36
25
|
//# sourceMappingURL=plan-card.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plan-card.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/plan-card/plan-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AASpE,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,iBAAiB,GAAG,SAAS,GAAG,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"plan-card.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/plan-card/plan-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AASpE,MAAM,MAAM,SAAS,GACnB,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,iBAAiB,GAAG,SAAS,GAAG,WAAW,CAAC;AAE5E,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,aAAa,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,OAAO,CAAA;KAAE,CAAC;IAC9E,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAwCF,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,KAAK,EACL,cAAc,EACd,UAAU,EACV,QAAa,EACb,OAAO,EACP,WAAW,EACX,KAAgB,EAChB,UAAU,EACV,cAAc,EACd,WAAW,EACX,QAAQ,EACR,SAAS,EACT,WAAyB,EACzB,KAAK,GACN,EAAE,aAAa,+BAgEf"}
|
|
@@ -5,17 +5,12 @@ export type SampleProduct = {
|
|
|
5
5
|
image?: ImageSourcePropType;
|
|
6
6
|
};
|
|
7
7
|
export type ProductListEmptyProps = {
|
|
8
|
-
/** 첫 상품 등록 */
|
|
9
8
|
onAdd: () => void;
|
|
10
|
-
/** 기본 '첫 상품 등록' */
|
|
11
9
|
addLabel?: string;
|
|
12
|
-
/** AI가 만든 초안이 있으면 예시 카드로 먼저 보여준다 */
|
|
13
10
|
sample?: SampleProduct;
|
|
14
11
|
onEditSample?: () => void;
|
|
15
|
-
/** 예시를 지우면 등록 타일로 바뀐다 (부모가 sample을 비운다) */
|
|
16
12
|
onDismissSample?: () => void;
|
|
17
13
|
style?: StyleProp<ViewStyle>;
|
|
18
14
|
};
|
|
19
|
-
/** 상품 목록이 비었을 때: 예시 초안이 있으면 예시 카드, 없으면 등록 타일 */
|
|
20
15
|
export declare function ProductListEmpty({ onAdd, addLabel, sample, onEditSample, onDismissSample, style, }: ProductListEmptyProps): import("react").JSX.Element;
|
|
21
16
|
//# sourceMappingURL=product-list-empty.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-list-empty.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/product-list-empty/product-list-empty.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAUtB,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,mBAAmB,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,
|
|
1
|
+
{"version":3,"file":"product-list-empty.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/product-list-empty/product-list-empty.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAUtB,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,mBAAmB,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AA+CF,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,QAAoB,EACpB,MAAM,EACN,YAAY,EACZ,eAAe,EACf,KAAK,GACN,EAAE,qBAAqB,+BAwDvB"}
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
import { type ImageSourcePropType, type StyleProp, type ViewStyle } from 'react-native';
|
|
2
2
|
export type ReviewRowProps = {
|
|
3
|
-
/** 가린 이름. 예) '김*지' */
|
|
4
3
|
author: string;
|
|
5
|
-
/** 1~5 */
|
|
6
4
|
rating: number;
|
|
7
5
|
content: string;
|
|
8
6
|
photos?: readonly ImageSourcePropType[];
|
|
9
7
|
reply?: string;
|
|
10
|
-
/** 답글이 없을 때 '답글 달기' 버튼 */
|
|
11
8
|
onReply?: () => void;
|
|
12
|
-
/** 오른쪽 위 더보기 버튼 (답글 수정 · 숨기기 등) */
|
|
13
9
|
onMore?: () => void;
|
|
14
10
|
style?: StyleProp<ViewStyle>;
|
|
15
11
|
};
|
|
@@ -18,17 +14,12 @@ export type HiddenReviewsRowProps = {
|
|
|
18
14
|
onShow: () => void;
|
|
19
15
|
style?: StyleProp<ViewStyle>;
|
|
20
16
|
};
|
|
21
|
-
/** 리뷰 한 건과 사장님 답글 */
|
|
22
17
|
export declare function ReviewRow({ author, rating, content, photos, reply, onReply, onMore, style, }: ReviewRowProps): import("react").JSX.Element;
|
|
23
|
-
/** 숨긴 리뷰를 한 줄로 접어 둔다 */
|
|
24
18
|
export declare function HiddenReviewsRow({ count, onShow, style, }: HiddenReviewsRowProps): import("react").JSX.Element;
|
|
25
19
|
export type ReviewSummaryProps = {
|
|
26
|
-
/** 평균 별점 */
|
|
27
20
|
average: number;
|
|
28
|
-
/** 5점부터 1점까지 리뷰 수 */
|
|
29
21
|
distribution: readonly [number, number, number, number, number];
|
|
30
22
|
style?: StyleProp<ViewStyle>;
|
|
31
23
|
};
|
|
32
|
-
/** 평균 별점과 점수별 분포 막대 */
|
|
33
24
|
export declare function ReviewSummary({ average, distribution, style, }: ReviewSummaryProps): import("react").JSX.Element;
|
|
34
25
|
//# sourceMappingURL=review-row.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"review-row.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/review-row/review-row.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAQtB,MAAM,MAAM,cAAc,GAAG;IAC3B,
|
|
1
|
+
{"version":3,"file":"review-row.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/review-row/review-row.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAQtB,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,SAAS,mBAAmB,EAAE,CAAC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AA8DF,wBAAgB,SAAS,CAAC,EACxB,MAAM,EACN,MAAM,EACN,OAAO,EACP,MAAW,EACX,KAAK,EACL,OAAO,EACP,MAAM,EACN,KAAK,GACN,EAAE,cAAc,+BA4DhB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,MAAM,EACN,KAAK,GACN,EAAE,qBAAqB,+BAUvB;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IAChE,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAmBF,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EACP,YAAY,EACZ,KAAK,GACN,EAAE,kBAAkB,+BAyCpB"}
|
|
@@ -4,17 +4,12 @@ export type SalesPeriod = 'today' | 'week' | 'month';
|
|
|
4
4
|
export type SalesChartProps = {
|
|
5
5
|
period: SalesPeriod;
|
|
6
6
|
onPeriodChange: (period: SalesPeriod) => void;
|
|
7
|
-
/** 순매출 (환불 차감 후) */
|
|
8
7
|
total: number;
|
|
9
|
-
/** 직전 같은 기간 순매출 */
|
|
10
8
|
previousTotal?: number;
|
|
11
|
-
/** 기간 중 환불 합계 */
|
|
12
9
|
refundTotal?: number;
|
|
13
|
-
/** 추이 차트. 두 점 이상이면 그린다 */
|
|
14
10
|
data?: readonly ChartDatum[];
|
|
15
11
|
loading?: boolean;
|
|
16
12
|
style?: StyleProp<ViewStyle>;
|
|
17
13
|
};
|
|
18
|
-
/** 기간별 총매출 · 환불 · 순매출 */
|
|
19
14
|
export declare function SalesChart({ period, onPeriodChange, total, previousTotal, refundTotal, data, loading, style, }: SalesChartProps): import("react").JSX.Element;
|
|
20
15
|
//# sourceMappingURL=sales-chart.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sales-chart.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/sales-chart/sales-chart.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAOpE,OAAO,EAAa,KAAK,UAAU,EAAE,MAAM,4BAAyB,CAAC;AAIrE,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC;AAErD,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,EAAE,WAAW,CAAC;IACpB,cAAc,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;IAC9C,
|
|
1
|
+
{"version":3,"file":"sales-chart.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/sales-chart/sales-chart.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAOpE,OAAO,EAAa,KAAK,UAAU,EAAE,MAAM,4BAAyB,CAAC;AAIrE,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC;AAErD,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,EAAE,WAAW,CAAC;IACpB,cAAc,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;IAC9C,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,SAAS,UAAU,EAAE,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAqBF,wBAAgB,UAAU,CAAC,EACzB,MAAM,EACN,cAAc,EACd,KAAK,EACL,aAAa,EACb,WAAe,EACf,IAAS,EACT,OAAO,EACP,KAAK,GACN,EAAE,eAAe,+BA8DjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/selection-bar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,oBAAiB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
export type SelectionBarProps = {
|
|
3
|
+
count: number;
|
|
4
|
+
max?: number;
|
|
5
|
+
actionLabel: string;
|
|
6
|
+
onAction: () => void;
|
|
7
|
+
onClear: () => void;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
style?: StyleProp<ViewStyle>;
|
|
10
|
+
};
|
|
11
|
+
export declare function SelectionBar({ count, max, actionLabel, onAction, onClear, disabled, style, }: SelectionBarProps): import("react").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=selection-bar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selection-bar.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/selection-bar/selection-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAKpE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAkBF,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,GAAG,EACH,WAAW,EACX,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,KAAK,GACN,EAAE,iBAAiB,+BAuBnB"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
-
export type ServiceState = 'paymentFailed' | 'grace' | 'suspended' | 'closed';
|
|
2
|
+
export type ServiceState = 'paymentFailed' | 'grace' | 'suspended' | 'closed' | 'stopped';
|
|
3
3
|
export type ServiceStateBannerProps = {
|
|
4
4
|
state: ServiceState;
|
|
5
|
-
/** 유예 남은 일수 (grace) */
|
|
6
5
|
daysLeft?: number;
|
|
6
|
+
reason?: string;
|
|
7
7
|
actionLabel?: string;
|
|
8
8
|
onAction?: () => void;
|
|
9
9
|
style?: StyleProp<ViewStyle>;
|
|
10
10
|
};
|
|
11
|
-
|
|
12
|
-
export declare function ServiceStateBanner({ state, daysLeft, actionLabel, onAction, style, }: ServiceStateBannerProps): import("react").JSX.Element;
|
|
11
|
+
export declare function ServiceStateBanner({ state, daysLeft, reason, actionLabel, onAction, style, }: ServiceStateBannerProps): import("react").JSX.Element;
|
|
13
12
|
//# sourceMappingURL=service-state-banner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-state-banner.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/service-state-banner/service-state-banner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAMpE,MAAM,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"service-state-banner.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/service-state-banner/service-state-banner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAMpE,MAAM,MAAM,YAAY,GACtB,eAAe,GAAG,OAAO,GAAG,WAAW,GAAG,QAAQ,GAAG,SAAS,CAAC;AAEjE,MAAM,MAAM,uBAAuB,GAAG;IACpC,KAAK,EAAE,YAAY,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAsBF,wBAAgB,kBAAkB,CAAC,EACjC,KAAK,EACL,QAAQ,EACR,MAAM,EACN,WAAW,EACX,QAAQ,EACR,KAAK,GACN,EAAE,uBAAuB,+BA+BzB"}
|
|
@@ -7,6 +7,5 @@ export type ShippingTrackingRowProps = {
|
|
|
7
7
|
onCopy?: () => void;
|
|
8
8
|
style?: StyleProp<ViewStyle>;
|
|
9
9
|
};
|
|
10
|
-
/** 송장과 배송 단계 */
|
|
11
10
|
export declare function ShippingTrackingRow({ carrier, trackingNumber, step, onCopy, style, }: ShippingTrackingRowProps): import("react").JSX.Element;
|
|
12
11
|
//# sourceMappingURL=shipping-tracking-row.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shipping-tracking-row.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/shipping-tracking-row/shipping-tracking-row.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAKpE,MAAM,MAAM,YAAY,GACtB,OAAO,GAAG,UAAU,GAAG,WAAW,GAAG,gBAAgB,GAAG,WAAW,CAAC;AAUtE,MAAM,MAAM,wBAAwB,GAAG;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,YAAY,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AA0BF,
|
|
1
|
+
{"version":3,"file":"shipping-tracking-row.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/shipping-tracking-row/shipping-tracking-row.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAKpE,MAAM,MAAM,YAAY,GACtB,OAAO,GAAG,UAAU,GAAG,WAAW,GAAG,gBAAgB,GAAG,WAAW,CAAC;AAUtE,MAAM,MAAM,wBAAwB,GAAG;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,YAAY,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AA0BF,wBAAgB,mBAAmB,CAAC,EAClC,OAAO,EACP,cAAc,EACd,IAAI,EACJ,MAAM,EACN,KAAK,GACN,EAAE,wBAAwB,+BAqC1B"}
|
|
@@ -2,17 +2,15 @@ import type { ReactNode } from 'react';
|
|
|
2
2
|
import { type ImageSourcePropType, type StyleProp, type ViewStyle } from 'react-native';
|
|
3
3
|
export type SitePublishStatus = 'draft' | 'published' | 'unpublishedChanges';
|
|
4
4
|
export type SitePreviewFrameProps = {
|
|
5
|
-
/** 사이트 화면 이미지 */
|
|
6
5
|
screenshot?: ImageSourcePropType;
|
|
7
|
-
/** 실제 사이트를 띄울 때(WebView 등). screenshot보다 우선 */
|
|
8
6
|
renderPreview?: () => ReactNode;
|
|
9
7
|
status: SitePublishStatus;
|
|
10
8
|
onPublish?: () => void;
|
|
11
9
|
publishing?: boolean;
|
|
12
|
-
|
|
10
|
+
publishDisabled?: boolean;
|
|
11
|
+
blockedReason?: string;
|
|
13
12
|
onRevert?: () => void;
|
|
14
13
|
style?: StyleProp<ViewStyle>;
|
|
15
14
|
};
|
|
16
|
-
|
|
17
|
-
export declare function SitePreviewFrame({ screenshot, renderPreview, status, onPublish, publishing, onRevert, style, }: SitePreviewFrameProps): import("react").JSX.Element;
|
|
15
|
+
export declare function SitePreviewFrame({ screenshot, renderPreview, status, onPublish, publishing, publishDisabled, blockedReason, onRevert, style, }: SitePreviewFrameProps): import("react").JSX.Element;
|
|
18
16
|
//# sourceMappingURL=site-preview-frame.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"site-preview-frame.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/site-preview-frame/site-preview-frame.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAMtB,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,WAAW,GAAG,oBAAoB,CAAC;AAE7E,MAAM,MAAM,qBAAqB,GAAG;IAClC,
|
|
1
|
+
{"version":3,"file":"site-preview-frame.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/site-preview-frame/site-preview-frame.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAMtB,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,WAAW,GAAG,oBAAoB,CAAC;AAE7E,MAAM,MAAM,qBAAqB,GAAG;IAClC,UAAU,CAAC,EAAE,mBAAmB,CAAC;IACjC,aAAa,CAAC,EAAE,MAAM,SAAS,CAAC;IAChC,MAAM,EAAE,iBAAiB,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AA0CF,wBAAgB,gBAAgB,CAAC,EAC/B,UAAU,EACV,aAAa,EACb,MAAM,EACN,SAAS,EACT,UAAU,EACV,eAAe,EACf,aAAa,EACb,QAAQ,EACR,KAAK,GACN,EAAE,qBAAqB,+BA2DvB"}
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
3
3
|
export type StatCardProps = {
|
|
4
|
-
/** 예) '오늘 매출' */
|
|
5
4
|
label: string;
|
|
6
|
-
/** 이미 포맷된 값. 예) '1,234,000원', '42건' */
|
|
7
5
|
value: string;
|
|
8
|
-
/** 직전 기간 대비 증감률(%). 오르면 빨강, 내리면 파랑 */
|
|
9
6
|
change?: number | null;
|
|
10
|
-
/** 오른쪽 작은 차트. 예) <Sparkline /> (@ezpg/app-ui/charts) */
|
|
11
7
|
chart?: ReactNode;
|
|
12
8
|
onPress?: () => void;
|
|
13
9
|
style?: StyleProp<ViewStyle>;
|
|
14
10
|
};
|
|
15
|
-
/** 핵심 숫자 하나와 증감 */
|
|
16
11
|
export declare function StatCard({ label, value, change, chart, onPress, style, }: StatCardProps): import("react").JSX.Element;
|
|
17
12
|
//# sourceMappingURL=stat-card.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stat-card.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/stat-card/stat-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAKpE,MAAM,MAAM,aAAa,GAAG;IAC1B,
|
|
1
|
+
{"version":3,"file":"stat-card.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/stat-card/stat-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAKpE,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAcF,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,KAAK,EACL,MAAM,EACN,KAAK,EACL,OAAO,EACP,KAAK,GACN,EAAE,aAAa,+BAqCf"}
|
|
@@ -7,20 +7,14 @@ export type StepAction = {
|
|
|
7
7
|
};
|
|
8
8
|
export type StepScreenProps = {
|
|
9
9
|
title: string;
|
|
10
|
-
/** 넘기면 상단에 진행 막대 */
|
|
11
10
|
total?: number;
|
|
12
|
-
/** 0부터 */
|
|
13
11
|
current?: number;
|
|
14
|
-
/** 넘기면 상단에 이전 버튼 */
|
|
15
12
|
onBack?: () => void;
|
|
16
|
-
/** 이전 버튼의 접근성 라벨. 기본 '이전' */
|
|
17
13
|
backLabel?: string;
|
|
18
14
|
primaryAction: StepAction;
|
|
19
15
|
secondaryAction?: StepAction;
|
|
20
|
-
/** 하단 안전 영역 높이 */
|
|
21
16
|
bottomInset?: number;
|
|
22
17
|
children?: ReactNode;
|
|
23
18
|
};
|
|
24
|
-
/** 온보딩 한 단계의 화면 틀: 이전 · 진행 막대 · 제목 · 내용 · 하단 버튼 */
|
|
25
19
|
export declare function StepScreen({ title, total, current, onBack, backLabel, primaryAction, secondaryAction, bottomInset, children, }: StepScreenProps): import("react").JSX.Element;
|
|
26
20
|
//# sourceMappingURL=step-screen.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"step-screen.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/step-screen/step-screen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AASvC,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,
|
|
1
|
+
{"version":3,"file":"step-screen.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/step-screen/step-screen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AASvC,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,UAAU,CAAC;IAC1B,eAAe,CAAC,EAAE,UAAU,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAkCF,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,KAAK,EACL,OAAW,EACX,MAAM,EACN,SAAgB,EAChB,aAAa,EACb,eAAe,EACf,WAAe,EACf,QAAQ,GACT,EAAE,eAAe,+BA4DjB"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { type ImageSourcePropType, type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
-
/** 예) { id: 'm', label: '중 20×25cm' } */
|
|
3
2
|
export type SupplyOption = {
|
|
4
3
|
id: string;
|
|
5
4
|
label: string;
|
|
6
5
|
};
|
|
7
|
-
/** 묶음 수량과 그 가격 */
|
|
8
6
|
export type SupplyQuantity = {
|
|
9
7
|
quantity: number;
|
|
10
8
|
price: number;
|
|
@@ -12,19 +10,15 @@ export type SupplyQuantity = {
|
|
|
12
10
|
export type SupplyItemCardProps = {
|
|
13
11
|
name: string;
|
|
14
12
|
image: ImageSourcePropType;
|
|
15
|
-
/** 2개 이상이면 칩으로 고른다 */
|
|
16
13
|
options?: readonly SupplyOption[];
|
|
17
14
|
selectedOptionId?: string | null;
|
|
18
15
|
onSelectOption?: (id: string) => void;
|
|
19
|
-
/** 선택한 옵션의 수량별 가격 */
|
|
20
16
|
quantities: readonly SupplyQuantity[];
|
|
21
17
|
selectedQuantity: number | null;
|
|
22
18
|
onSelectQuantity: (quantity: number) => void;
|
|
23
|
-
/** 기본 '장' */
|
|
24
19
|
unit?: string;
|
|
25
20
|
onAdd?: () => void;
|
|
26
21
|
style?: StyleProp<ViewStyle>;
|
|
27
22
|
};
|
|
28
|
-
/** 로고를 넣어 주문하는 공급 품목. 사이즈 · 수량을 고르고 담는다 */
|
|
29
23
|
export declare function SupplyItemCard({ name, image, options, selectedOptionId, onSelectOption, quantities, selectedQuantity, onSelectQuantity, unit, onAdd, style, }: SupplyItemCardProps): import("react").JSX.Element;
|
|
30
24
|
//# sourceMappingURL=supply-item-card.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"supply-item-card.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/supply-item-card/supply-item-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAUtB,
|
|
1
|
+
{"version":3,"file":"supply-item-card.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/supply-item-card/supply-item-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAUtB,MAAM,MAAM,YAAY,GAAG;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAEzD,MAAM,MAAM,cAAc,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAEjE,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,mBAAmB,CAAC;IAC3B,OAAO,CAAC,EAAE,SAAS,YAAY,EAAE,CAAC;IAClC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,UAAU,EAAE,SAAS,cAAc,EAAE,CAAC;IACtC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,gBAAgB,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAyCF,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,KAAK,EACL,OAAY,EACZ,gBAAuB,EACvB,cAAc,EACd,UAAU,EACV,gBAAgB,EAChB,gBAAgB,EAChB,IAAU,EACV,KAAK,EACL,KAAK,GACN,EAAE,mBAAmB,+BAsDrB"}
|
|
@@ -5,17 +5,13 @@ export type ChartDatum = {
|
|
|
5
5
|
};
|
|
6
6
|
export type LineChartProps = {
|
|
7
7
|
data: readonly ChartDatum[];
|
|
8
|
-
/** 기본 200 */
|
|
9
8
|
height?: number;
|
|
10
|
-
/** y축 라벨. 기본은 천 단위 쉼표 */
|
|
11
9
|
formatY?: (value: number) => string;
|
|
12
|
-
/** x축 라벨. 기본은 label 그대로 */
|
|
13
10
|
formatX?: (label: string, index: number) => string;
|
|
14
|
-
/** 점을 눌렀을 때. 넘기면 각 구간이 눌린다 */
|
|
15
11
|
onPointPress?: (datum: ChartDatum, index: number) => void;
|
|
16
|
-
/** 기본은 최고 · 최저 · 마지막 값 요약 */
|
|
17
12
|
accessibilityLabel?: string;
|
|
18
13
|
style?: StyleProp<ViewStyle>;
|
|
19
14
|
};
|
|
15
|
+
export declare function estimateLabelWidth(label: string, fontSize?: number): number;
|
|
20
16
|
export declare function LineChart({ data, height, formatY, formatX, onPointPress, accessibilityLabel, style, }: LineChartProps): import("react").JSX.Element;
|
|
21
17
|
//# sourceMappingURL=line-chart.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"line-chart.d.ts","sourceRoot":"","sources":["../../../../src/charts/line-chart.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAapE,MAAM,MAAM,UAAU,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAE1D,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,SAAS,UAAU,EAAE,CAAC;IAC5B,
|
|
1
|
+
{"version":3,"file":"line-chart.d.ts","sourceRoot":"","sources":["../../../../src/charts/line-chart.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAapE,MAAM,MAAM,UAAU,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAE1D,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,SAAS,UAAU,EAAE,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACpC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACnD,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1D,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAQF,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,SAAY,UAMrE;AAED,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,MAAY,EACZ,OAAuB,EACvB,OAA0B,EAC1B,YAAY,EACZ,kBAAkB,EAClB,KAAK,GACN,EAAE,cAAc,+BAqIhB"}
|
|
@@ -2,12 +2,9 @@ export type Point = {
|
|
|
2
2
|
x: number;
|
|
3
3
|
y: number;
|
|
4
4
|
};
|
|
5
|
-
/** 보기 좋은 눈금. 값이 하나뿐이거나 모두 같아도 범위를 만든다 */
|
|
6
5
|
export declare function niceTicks(min: number, max: number, count?: number): number[];
|
|
7
|
-
/** [d0, d1] → [r0, r1] 선형 변환. 범위 폭이 0이면 가운데로 */
|
|
8
6
|
export declare function linearScale(domain: [number, number], range: [number, number]): (v: number) => number;
|
|
9
7
|
export declare function linePath(points: Point[]): string;
|
|
10
8
|
export declare function areaPath(points: Point[], baseline: number): string;
|
|
11
|
-
/** 라벨이 겹치지 않게 최대 maxLabels개만 남길 간격 */
|
|
12
9
|
export declare function labelStep(count: number, maxLabels: number): number;
|
|
13
10
|
//# sourceMappingURL=scale.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scale.d.ts","sourceRoot":"","sources":["../../../../src/charts/scale.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAI7C,
|
|
1
|
+
{"version":3,"file":"scale.d.ts","sourceRoot":"","sources":["../../../../src/charts/scale.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAI7C,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,SAAI,GAAG,MAAM,EAAE,CAmBvE;AAED,wBAAgB,WAAW,CAAC,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,IAGnE,GAAG,MAAM,YAElB;AAED,wBAAgB,QAAQ,CAAC,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,CAEhD;AAED,wBAAgB,QAAQ,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAKlE;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAElE"}
|