@ezpg/app-ui 0.1.0 → 0.3.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 +25 -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 +1 -3
- 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 +20 -16
- 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 +3 -5
- 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 +11 -16
- 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 +1 -3
- 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 +12 -6
- 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 +1 -3
- 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 +3 -3
- 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 +2 -4
- 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 +57 -8
- 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 +1 -3
- 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 +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 +2 -2
- package/lib/module/components/text/text.js.map +1 -1
- package/lib/module/components/toast/toast.js +1 -9
- 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/base.js +108 -0
- package/lib/module/theme/base.js.map +1 -0
- 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 +10 -115
- 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 +1 -4
- 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 +2 -9
- 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 +1 -2
- 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 +1 -4
- package/lib/typescript/src/components/text/text.d.ts.map +1 -1
- package/lib/typescript/src/components/toast/toast.d.ts +1 -9
- 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/base.d.ts +106 -0
- package/lib/typescript/src/theme/base.d.ts.map +1 -0
- 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 +2 -9
- 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 +1 -5
- 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 +3 -10
- 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 +21 -29
- 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 +1 -6
- 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 +17 -6
- 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 +1 -6
- 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 +3 -6
- package/src/components/chip/chip.tsx +17 -0
- package/src/components/chip-group/chip-group.tsx +2 -2
- package/src/components/dialog/dialog.tsx +3 -10
- package/src/components/divider/divider.tsx +0 -2
- package/src/components/empty-state/empty-state.tsx +0 -11
- package/src/components/field/field.tsx +59 -9
- package/src/components/list-row/list-row.tsx +0 -3
- package/src/components/photo/photo.tsx +0 -5
- package/src/components/price/price.tsx +1 -4
- 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 +2 -3
- package/src/components/switch/switch.tsx +5 -3
- package/src/components/text/text.tsx +2 -5
- package/src/components/toast/toast.tsx +2 -13
- 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/base.ts +113 -0
- package/src/theme/create-theme.ts +0 -5
- package/src/theme/theme-provider.tsx +0 -3
- package/src/theme/tokens.ts +20 -83
- package/src/types/index.ts +2 -9
- package/src/utils/color.ts +0 -3
- package/src/utils/styles.ts +0 -5
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
// #rgb · #rrggbb만 지원한다.
|
|
4
3
|
function toRgb(hex) {
|
|
5
4
|
const value = hex.replace('#', '');
|
|
6
5
|
const full = value.length === 3 ? value.split('').map(c => c + c).join('') : value;
|
|
@@ -16,14 +15,10 @@ function luminance(hex) {
|
|
|
16
15
|
});
|
|
17
16
|
return 0.2126 * r + 0.7152 * g + 0.0722 * b;
|
|
18
17
|
}
|
|
19
|
-
|
|
20
|
-
/** WCAG 대비 비율 (1~21) */
|
|
21
18
|
export function contrastRatio(a, b) {
|
|
22
19
|
const [hi, lo] = [luminance(a), luminance(b)].sort((x, y) => y - x);
|
|
23
20
|
return (hi + 0.05) / (lo + 0.05);
|
|
24
21
|
}
|
|
25
|
-
|
|
26
|
-
/** 배경 위에서 대비가 더 큰 글자색 */
|
|
27
22
|
export function pickForeground(background, dark, light) {
|
|
28
23
|
return contrastRatio(background, dark) >= contrastRatio(background, light) ? dark : light;
|
|
29
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["toRgb","hex","value","replace","full","length","split","map","c","join","test","Error","i","parseInt","slice","luminance","r","g","b","s","contrastRatio","a","hi","lo","sort","x","y","pickForeground","background","dark","light"],"sourceRoot":"../../../src","sources":["utils/color.ts"],"mappings":";;AAAA
|
|
1
|
+
{"version":3,"names":["toRgb","hex","value","replace","full","length","split","map","c","join","test","Error","i","parseInt","slice","luminance","r","g","b","s","contrastRatio","a","hi","lo","sort","x","y","pickForeground","background","dark","light"],"sourceRoot":"../../../src","sources":["utils/color.ts"],"mappings":";;AAAA,SAASA,KAAKA,CAACC,GAAW,EAA4B;EACpD,MAAMC,KAAK,GAAGD,GAAG,CAACE,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC;EAClC,MAAMC,IAAI,GACRF,KAAK,CAACG,MAAM,KAAK,CAAC,GACdH,KAAK,CACFI,KAAK,CAAC,EAAE,CAAC,CACTC,GAAG,CAAEC,CAAC,IAAKA,CAAC,GAAGA,CAAC,CAAC,CACjBC,IAAI,CAAC,EAAE,CAAC,GACXP,KAAK;EACX,IAAI,CAAC,gBAAgB,CAACQ,IAAI,CAACN,IAAI,CAAC,EAAE;IAChC,MAAM,IAAIO,KAAK,CAAC,sBAAsBV,GAAG,yBAAyB,CAAC;EACrE;EACA,OAAO,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAACM,GAAG,CAAEK,CAAC,IAAKC,QAAQ,CAACT,IAAI,CAACU,KAAK,CAACF,CAAC,EAAEA,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;AAKjE;AAEA,SAASG,SAASA,CAACd,GAAW,EAAU;EACtC,MAAM,CAACe,CAAC,EAAEC,CAAC,EAAEC,CAAC,CAAC,GAAGlB,KAAK,CAACC,GAAG,CAAC,CAACM,GAAG,CAAEC,CAAC,IAAK;IACtC,MAAMW,CAAC,GAAGX,CAAC,GAAG,GAAG;IACjB,OAAOW,CAAC,IAAI,OAAO,GAAGA,CAAC,GAAG,KAAK,GAAG,CAAC,CAACA,CAAC,GAAG,KAAK,IAAI,KAAK,KAAK,GAAG;EAChE,CAAC,CAA6B;EAC9B,OAAO,MAAM,GAAGH,CAAC,GAAG,MAAM,GAAGC,CAAC,GAAG,MAAM,GAAGC,CAAC;AAC7C;AAEA,OAAO,SAASE,aAAaA,CAACC,CAAS,EAAEH,CAAS,EAAU;EAC1D,MAAM,CAACI,EAAE,EAAEC,EAAE,CAAC,GAAG,CAACR,SAAS,CAACM,CAAC,CAAC,EAAEN,SAAS,CAACG,CAAC,CAAC,CAAC,CAACM,IAAI,CAAC,CAACC,CAAC,EAAEC,CAAC,KAAKA,CAAC,GAAGD,CAAC,CAGjE;EACD,OAAO,CAACH,EAAE,GAAG,IAAI,KAAKC,EAAE,GAAG,IAAI,CAAC;AAClC;AAEA,OAAO,SAASI,cAAcA,CAC5BC,UAAkB,EAClBC,IAAY,EACZC,KAAa,EACL;EACR,OAAOV,aAAa,CAACQ,UAAU,EAAEC,IAAI,CAAC,IAAIT,aAAa,CAACQ,UAAU,EAAEE,KAAK,CAAC,GACtED,IAAI,GACJC,KAAK;AACX","ignoreList":[]}
|
|
@@ -2,11 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import { StyleSheet } from 'react-native';
|
|
4
4
|
import { useTheme } from "../theme/theme-provider.js";
|
|
5
|
-
/**
|
|
6
|
-
* 테마로 스타일을 만드는 hook을 반환한다. 같은 테마에는 같은 스타일 객체를 돌려준다.
|
|
7
|
-
*
|
|
8
|
-
* const useStyles = makeStyles((t) => ({ box: { padding: t.space[4] } }));
|
|
9
|
-
*/
|
|
10
5
|
export function makeStyles(factory) {
|
|
11
6
|
const cache = new WeakMap();
|
|
12
7
|
return function useStyles() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["StyleSheet","useTheme","makeStyles","factory","cache","WeakMap","useStyles","theme","styles","get","create","set"],"sourceRoot":"../../../src","sources":["utils/styles.ts"],"mappings":";;AAAA,SACEA,UAAU,QAIL,cAAc;AAErB,SAASC,QAAQ,QAAQ,4BAAyB;AAIlD
|
|
1
|
+
{"version":3,"names":["StyleSheet","useTheme","makeStyles","factory","cache","WeakMap","useStyles","theme","styles","get","create","set"],"sourceRoot":"../../../src","sources":["utils/styles.ts"],"mappings":";;AAAA,SACEA,UAAU,QAIL,cAAc;AAErB,SAASC,QAAQ,QAAQ,4BAAyB;AAIlD,OAAO,SAASC,UAAUA,CACxBC,OAA4B,EACnB;EACT,MAAMC,KAAK,GAAG,IAAIC,OAAO,CAAW,CAAC;EACrC,OAAO,SAASC,SAASA,CAAA,EAAG;IAC1B,MAAMC,KAAK,GAAGN,QAAQ,CAAC,CAAC;IACxB,IAAIO,MAAM,GAAGJ,KAAK,CAACK,GAAG,CAACF,KAAK,CAAC;IAC7B,IAAI,CAACC,MAAM,EAAE;MACXA,MAAM,GAAGR,UAAU,CAACU,MAAM,CAACP,OAAO,CAACI,KAAK,CAAC,CAAC;MAC1CH,KAAK,CAACO,GAAG,CAACJ,KAAK,EAAEC,MAAM,CAAC;IAC1B;IACA,OAAOA,MAAM;EACf,CAAC;AACH","ignoreList":[]}
|
|
@@ -4,12 +4,10 @@ export type BrandProfileCardProps = {
|
|
|
4
4
|
industry: string;
|
|
5
5
|
tagline?: string;
|
|
6
6
|
logo?: ImageSourcePropType;
|
|
7
|
-
/** 브랜드 색 (hex) */
|
|
8
7
|
colors?: readonly string[];
|
|
9
8
|
keywords?: readonly string[];
|
|
10
9
|
onEdit?: () => void;
|
|
11
10
|
style?: StyleProp<ViewStyle>;
|
|
12
11
|
};
|
|
13
|
-
/** AI가 만든 브랜드 요약 */
|
|
14
12
|
export declare function BrandProfileCard({ name, industry, tagline, logo, colors, keywords, onEdit, style, }: BrandProfileCardProps): import("react").JSX.Element;
|
|
15
13
|
//# sourceMappingURL=brand-profile-card.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"brand-profile-card.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/brand-profile-card/brand-profile-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAOtB,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B,
|
|
1
|
+
{"version":3,"file":"brand-profile-card.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/brand-profile-card/brand-profile-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAOtB,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC3B,QAAQ,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAgBF,wBAAgB,gBAAgB,CAAC,EAC/B,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,MAAW,EACX,QAAa,EACb,MAAM,EACN,KAAK,GACN,EAAE,qBAAqB,+BAsCvB"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
export type ShipCarrier = {
|
|
3
|
+
code: string;
|
|
4
|
+
name: string;
|
|
5
|
+
};
|
|
6
|
+
export type BulkShipRow = {
|
|
7
|
+
id: string;
|
|
8
|
+
title: string;
|
|
9
|
+
subtitle?: string;
|
|
10
|
+
trackingNo: string;
|
|
11
|
+
};
|
|
12
|
+
export type BulkShipListProps = {
|
|
13
|
+
carriers: readonly ShipCarrier[];
|
|
14
|
+
carrier: string | null;
|
|
15
|
+
onCarrierChange: (code: string) => void;
|
|
16
|
+
rows: readonly BulkShipRow[];
|
|
17
|
+
onTrackingChange: (id: string, value: string) => void;
|
|
18
|
+
onScan?: (id: string) => void;
|
|
19
|
+
style?: StyleProp<ViewStyle>;
|
|
20
|
+
};
|
|
21
|
+
export type TrackingIssue = 'invalid' | 'duplicate';
|
|
22
|
+
export declare function trackingIssues(rows: readonly BulkShipRow[]): Record<string, TrackingIssue>;
|
|
23
|
+
export declare function BulkShipList({ carriers, carrier, onCarrierChange, rows, onTrackingChange, onScan, style, }: BulkShipListProps): import("react").JSX.Element;
|
|
24
|
+
//# sourceMappingURL=bulk-ship-list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bulk-ship-list.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/bulk-ship-list/bulk-ship-list.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAShF,MAAM,MAAM,WAAW,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAEzD,MAAM,MAAM,WAAW,GAAG;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,EAAE,SAAS,WAAW,EAAE,CAAC;IACjC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,eAAe,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,IAAI,EAAE,SAAS,WAAW,EAAE,CAAC;IAC7B,gBAAgB,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtD,MAAM,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,WAAW,CAAC;AAOpD,wBAAgB,cAAc,CAC5B,IAAI,EAAE,SAAS,WAAW,EAAE,GAC3B,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAiB/B;AA4DD,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,OAAO,EACP,eAAe,EACf,IAAI,EACJ,gBAAgB,EAChB,MAAM,EACN,KAAK,GACN,EAAE,iBAAiB,+BAgEnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/bulk-ship-list/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,cAAc,EACd,KAAK,iBAAiB,EACtB,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,aAAa,GACnB,MAAM,qBAAkB,CAAC"}
|
|
@@ -1,22 +1,15 @@
|
|
|
1
1
|
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
2
|
export type ClaimType = 'cancel' | 'return' | 'exchange';
|
|
3
|
-
export type ClaimStatus = 'requested' | 'collecting' | 'completed' | 'rejected';
|
|
3
|
+
export type ClaimStatus = 'requested' | 'collecting' | 'collected' | 'held' | 'completed' | 'rejected' | 'withdrawn';
|
|
4
4
|
export type ClaimRowProps = {
|
|
5
5
|
type: ClaimType;
|
|
6
|
-
/** 기본 'requested' */
|
|
7
6
|
status?: ClaimStatus;
|
|
8
|
-
/** 요청 금액 */
|
|
9
7
|
amount: number;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
/** 처리 기한까지 남은 영업일. 임박했을 때만 표시한다 */
|
|
13
|
-
dueInDays?: number;
|
|
14
|
-
/** 요청 상태일 때 [거부] [승인] 버튼 */
|
|
15
|
-
onReject?: () => void;
|
|
16
|
-
onApprove?: () => void;
|
|
8
|
+
reason?: string;
|
|
9
|
+
dueAt?: Date | string;
|
|
17
10
|
onPress?: () => void;
|
|
18
11
|
style?: StyleProp<ViewStyle>;
|
|
19
12
|
};
|
|
20
|
-
|
|
21
|
-
export declare function ClaimRow({ type, status, amount, reason,
|
|
13
|
+
export declare const claimStatusLabel: Record<ClaimStatus, string>;
|
|
14
|
+
export declare function ClaimRow({ type, status, amount, reason, dueAt, onPress, style, }: ClaimRowProps): import("react").JSX.Element;
|
|
22
15
|
//# sourceMappingURL=claim-row.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claim-row.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/claim-row/claim-row.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"claim-row.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/claim-row/claim-row.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAMpE,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,UAAU,CAAC;AACzD,MAAM,MAAM,WAAW,GACnB,WAAW,GACX,YAAY,GACZ,WAAW,GACX,MAAM,GACN,WAAW,GACX,UAAU,GACV,WAAW,CAAC;AAEhB,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAQF,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAQxD,CAAC;AAuCF,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,MAAoB,EACpB,MAAM,EACN,MAAM,EACN,KAAK,EACL,OAAO,EACP,KAAK,GACN,EAAE,aAAa,+BAqCf"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ClaimRow, type ClaimRowProps, type ClaimStatus, type ClaimType, } from './claim-row.js';
|
|
1
|
+
export { ClaimRow, claimStatusLabel, type ClaimRowProps, type ClaimStatus, type ClaimType, } from './claim-row.js';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/claim-row/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,SAAS,GACf,MAAM,gBAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/claim-row/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,gBAAgB,EAChB,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,SAAS,GACf,MAAM,gBAAa,CAAC"}
|
|
@@ -7,10 +7,8 @@ export type ColorSwatchPickerProps = {
|
|
|
7
7
|
colors: readonly ColorSwatch[];
|
|
8
8
|
value: string;
|
|
9
9
|
onValueChange: (value: string) => void;
|
|
10
|
-
/** 'circle'은 색 점, 'card'는 버튼 모양 미리보기. 기본 'circle' */
|
|
11
10
|
variant?: 'circle' | 'card';
|
|
12
11
|
style?: StyleProp<ViewStyle>;
|
|
13
12
|
};
|
|
14
|
-
/** 브랜드 색 고르기 */
|
|
15
13
|
export declare function ColorSwatchPicker({ colors, value, onValueChange, variant, style, }: ColorSwatchPickerProps): import("react").JSX.Element;
|
|
16
14
|
//# sourceMappingURL=color-swatch-picker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color-swatch-picker.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/color-swatch-picker/color-swatch-picker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAQpE,MAAM,MAAM,WAAW,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAE3D,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,EAAE,SAAS,WAAW,EAAE,CAAC;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,
|
|
1
|
+
{"version":3,"file":"color-swatch-picker.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/color-swatch-picker/color-swatch-picker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAQpE,MAAM,MAAM,WAAW,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAE3D,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,EAAE,SAAS,WAAW,EAAE,CAAC;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,OAAO,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC;IAC5B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AA6CF,wBAAgB,iBAAiB,CAAC,EAChC,MAAM,EACN,KAAK,EACL,aAAa,EACb,OAAkB,EAClB,KAAK,GACN,EAAE,sBAAsB,+BAiDxB"}
|
|
@@ -5,18 +5,14 @@ export type CopyVariant = {
|
|
|
5
5
|
locked?: boolean;
|
|
6
6
|
};
|
|
7
7
|
export type CopyVariantPickerProps = {
|
|
8
|
-
/** 예) '한 줄 소개' */
|
|
9
8
|
label: string;
|
|
10
9
|
variants: readonly CopyVariant[];
|
|
11
10
|
selectedId: string | null;
|
|
12
11
|
onSelect: (id: string) => void;
|
|
13
|
-
/** 잠그면 다시 만들어도 이 문구는 바뀌지 않는다 */
|
|
14
12
|
onToggleLock?: (id: string) => void;
|
|
15
|
-
/** 다른 기기에서 먼저 수정했을 때(409) */
|
|
16
13
|
conflict?: boolean;
|
|
17
14
|
onReload?: () => void;
|
|
18
15
|
style?: StyleProp<ViewStyle>;
|
|
19
16
|
};
|
|
20
|
-
/** AI가 만든 문구 후보 중 하나 고르기 */
|
|
21
17
|
export declare function CopyVariantPicker({ label, variants, selectedId, onSelect, onToggleLock, conflict, onReload, style, }: CopyVariantPickerProps): import("react").JSX.Element;
|
|
22
18
|
//# sourceMappingURL=copy-variant-picker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"copy-variant-picker.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/copy-variant-picker/copy-variant-picker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAOpE,MAAM,MAAM,WAAW,GAAG;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAEzE,MAAM,MAAM,sBAAsB,GAAG;IACnC,
|
|
1
|
+
{"version":3,"file":"copy-variant-picker.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/copy-variant-picker/copy-variant-picker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAOpE,MAAM,MAAM,WAAW,GAAG;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAEzE,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,SAAS,WAAW,EAAE,CAAC;IACjC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,YAAY,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AA+CF,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,KAAK,GACN,EAAE,sBAAsB,+BA6DxB"}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
2
|
export type CreditWalletProps = {
|
|
3
3
|
balance: number;
|
|
4
|
-
/** 이번 달에 사라지는 크레딧. 0보다 크면 보여준다 */
|
|
5
4
|
expiring?: number;
|
|
6
5
|
todayUsed: number;
|
|
7
|
-
dailyLimit: number;
|
|
6
|
+
dailyLimit: number | null;
|
|
8
7
|
onBuy?: () => void;
|
|
9
8
|
onHistory?: () => void;
|
|
10
9
|
style?: StyleProp<ViewStyle>;
|
|
11
10
|
};
|
|
12
|
-
/** 보유 크레딧과 오늘 생성 횟수 */
|
|
13
11
|
export declare function CreditWallet({ balance, expiring, todayUsed, dailyLimit, onBuy, onHistory, style, }: CreditWalletProps): import("react").JSX.Element;
|
|
14
12
|
//# sourceMappingURL=credit-wallet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credit-wallet.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/credit-wallet/credit-wallet.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAOpE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,
|
|
1
|
+
{"version":3,"file":"credit-wallet.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/credit-wallet/credit-wallet.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAOpE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AA6BF,wBAAgB,YAAY,CAAC,EAC3B,OAAO,EACP,QAAQ,EACR,SAAS,EACT,UAAU,EACV,KAAK,EACL,SAAS,EACT,KAAK,GACN,EAAE,iBAAiB,+BA0DnB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
export type GenerationStatus = 'queued' | 'running' | 'done' | 'failed';
|
|
3
|
+
export type GenerationStep = {
|
|
4
|
+
key: string;
|
|
5
|
+
label: string;
|
|
6
|
+
};
|
|
7
|
+
export type GenerationProgressProps = {
|
|
8
|
+
steps: readonly GenerationStep[];
|
|
9
|
+
current: string | null;
|
|
10
|
+
status: GenerationStatus;
|
|
11
|
+
errorText?: string;
|
|
12
|
+
onRetry?: () => void;
|
|
13
|
+
creditNote?: string;
|
|
14
|
+
style?: StyleProp<ViewStyle>;
|
|
15
|
+
};
|
|
16
|
+
export declare function GenerationProgress({ steps, current, status, errorText, onRetry, creditNote, style, }: GenerationProgressProps): import("react").JSX.Element;
|
|
17
|
+
//# sourceMappingURL=generation-progress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generation-progress.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/generation-progress/generation-progress.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAQtB,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAC;AAExE,MAAM,MAAM,cAAc,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAE5D,MAAM,MAAM,uBAAuB,GAAG;IACpC,KAAK,EAAE,SAAS,cAAc,EAAE,CAAC;IACjC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,MAAM,EAAE,gBAAgB,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAmDF,wBAAgB,kBAAkB,CAAC,EACjC,KAAK,EACL,OAAO,EACP,MAAM,EACN,SAAS,EACT,OAAO,EACP,UAAU,EACV,KAAK,GACN,EAAE,uBAAuB,+BA+FzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/generation-progress/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACrB,KAAK,cAAc,GACpB,MAAM,0BAAuB,CAAC"}
|
|
@@ -6,19 +6,13 @@ export type GridImage = {
|
|
|
6
6
|
};
|
|
7
7
|
export type ImageGridProps = {
|
|
8
8
|
images: readonly GridImage[];
|
|
9
|
-
/** 순서가 바뀌면. 첫 장이 대표 사진 */
|
|
10
9
|
onImagesChange: (images: GridImage[]) => void;
|
|
11
|
-
/** 넘기면 첫 칸에 추가 버튼 */
|
|
12
10
|
onAdd?: () => void;
|
|
13
11
|
onRemove?: (id: string) => void;
|
|
14
|
-
/** 업로드 실패한 사진 다시 올리기 */
|
|
15
12
|
onRetry?: (id: string) => void;
|
|
16
|
-
/** 기본 10 */
|
|
17
13
|
max?: number;
|
|
18
|
-
/** 기본 4 */
|
|
19
14
|
columns?: number;
|
|
20
15
|
style?: StyleProp<ViewStyle>;
|
|
21
16
|
};
|
|
22
|
-
/** 상품 사진 올리기 · 순서 바꾸기. 앱 최상단이 GestureHandlerRootView로 감싸져 있어야 한다 */
|
|
23
17
|
export declare function ImageGrid({ images, onImagesChange, onAdd, onRemove, onRetry, max, columns, style, }: ImageGridProps): import("react").JSX.Element;
|
|
24
18
|
//# sourceMappingURL=image-grid.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-grid.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/image-grid/image-grid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAStB,MAAM,MAAM,SAAS,GAAG;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,WAAW,GAAG,QAAQ,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,SAAS,SAAS,EAAE,CAAC;IAC7B,
|
|
1
|
+
{"version":3,"file":"image-grid.d.ts","sourceRoot":"","sources":["../../../../../src/blocks/image-grid/image-grid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAStB,MAAM,MAAM,SAAS,GAAG;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,WAAW,GAAG,QAAQ,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,SAAS,SAAS,EAAE,CAAC;IAC7B,cAAc,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,KAAK,IAAI,CAAC;IAC9C,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,OAAO,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAmJF,wBAAgB,SAAS,CAAC,EACxB,MAAM,EACN,cAAc,EACd,KAAK,EACL,QAAQ,EACR,OAAO,EACP,GAAQ,EACR,OAAW,EACX,KAAK,GACN,EAAE,cAAc,+BAwFhB"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export * from './brand-profile-card/index.js';
|
|
2
|
+
export * from './bulk-ship-list/index.js';
|
|
2
3
|
export * from './claim-row/index.js';
|
|
3
4
|
export * from './color-swatch-picker/index.js';
|
|
4
5
|
export * from './copy-variant-picker/index.js';
|
|
5
6
|
export * from './credit-wallet/index.js';
|
|
7
|
+
export * from './generation-progress/index.js';
|
|
6
8
|
export * from './invoice-row/index.js';
|
|
7
9
|
export * from './logo-candidate-grid/index.js';
|
|
8
10
|
export * from './oauth-buttons/index.js';
|
|
@@ -10,6 +12,7 @@ export * from './order-card/index.js';
|
|
|
10
12
|
export * from './plan-card/index.js';
|
|
11
13
|
export * from './product-list-empty/index.js';
|
|
12
14
|
export * from './review-row/index.js';
|
|
15
|
+
export * from './selection-bar/index.js';
|
|
13
16
|
export * from './service-state-banner/index.js';
|
|
14
17
|
export * from './shipping-tracking-row/index.js';
|
|
15
18
|
export * from './site-preview-frame/index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/blocks/index.tsx"],"names":[],"mappings":"AAAA,cAAc,+BAAsB,CAAC;AACrC,cAAc,sBAAa,CAAC;AAC5B,cAAc,gCAAuB,CAAC;AACtC,cAAc,gCAAuB,CAAC;AACtC,cAAc,0BAAiB,CAAC;AAChC,cAAc,wBAAe,CAAC;AAC9B,cAAc,gCAAuB,CAAC;AACtC,cAAc,0BAAiB,CAAC;AAChC,cAAc,uBAAc,CAAC;AAC7B,cAAc,sBAAa,CAAC;AAC5B,cAAc,+BAAsB,CAAC;AACrC,cAAc,uBAAc,CAAC;AAC7B,cAAc,iCAAwB,CAAC;AACvC,cAAc,kCAAyB,CAAC;AACxC,cAAc,+BAAsB,CAAC;AACrC,cAAc,sBAAa,CAAC;AAC5B,cAAc,wBAAe,CAAC;AAC9B,cAAc,6BAAoB,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,sBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/blocks/index.tsx"],"names":[],"mappings":"AAAA,cAAc,+BAAsB,CAAC;AACrC,cAAc,2BAAkB,CAAC;AACjC,cAAc,sBAAa,CAAC;AAC5B,cAAc,gCAAuB,CAAC;AACtC,cAAc,gCAAuB,CAAC;AACtC,cAAc,0BAAiB,CAAC;AAChC,cAAc,gCAAuB,CAAC;AACtC,cAAc,wBAAe,CAAC;AAC9B,cAAc,gCAAuB,CAAC;AACtC,cAAc,0BAAiB,CAAC;AAChC,cAAc,uBAAc,CAAC;AAC7B,cAAc,sBAAa,CAAC;AAC5B,cAAc,+BAAsB,CAAC;AACrC,cAAc,uBAAc,CAAC;AAC7B,cAAc,0BAAiB,CAAC;AAChC,cAAc,iCAAwB,CAAC;AACvC,cAAc,kCAAyB,CAAC;AACxC,cAAc,+BAAsB,CAAC;AACrC,cAAc,sBAAa,CAAC;AAC5B,cAAc,wBAAe,CAAC;AAC9B,cAAc,6BAAoB,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,sBAAmB,CAAC"}
|
|
@@ -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"}
|