@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,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"}
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
2
|
export type SparklineProps = {
|
|
3
3
|
data: readonly number[];
|
|
4
|
-
/** 기본 80 */
|
|
5
4
|
width?: number;
|
|
6
|
-
/** 기본 24 */
|
|
7
5
|
height?: number;
|
|
8
|
-
/** 기본 primary */
|
|
9
6
|
color?: string;
|
|
10
7
|
accessibilityLabel?: string;
|
|
11
8
|
style?: StyleProp<ViewStyle>;
|
|
12
9
|
};
|
|
13
|
-
/** 축 없는 작은 추세선 */
|
|
14
10
|
export declare function Sparkline({ data, width, height, color, accessibilityLabel, style, }: SparklineProps): import("react").JSX.Element;
|
|
15
11
|
//# sourceMappingURL=sparkline.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sparkline.d.ts","sourceRoot":"","sources":["../../../../src/charts/sparkline.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAOpE,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,SAAS,MAAM,EAAE,CAAC;IACxB,
|
|
1
|
+
{"version":3,"file":"sparkline.d.ts","sourceRoot":"","sources":["../../../../src/charts/sparkline.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAOpE,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,SAAS,MAAM,EAAE,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAEF,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,KAAU,EACV,MAAW,EACX,KAAK,EACL,kBAAkB,EAClB,KAAK,GACN,EAAE,cAAc,+BAoChB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"summary.d.ts","sourceRoot":"","sources":["../../../../src/charts/summary.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"summary.d.ts","sourceRoot":"","sources":["../../../../src/charts/summary.ts"],"names":[],"mappings":"AAAA,wBAAgB,SAAS,CACvB,MAAM,EAAE,MAAM,EAAE,EAChB,MAAM,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,MAAM,GAC5B,MAAM,CAMR"}
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import { type IconSlot } from '../../internal/icon.js';
|
|
3
3
|
import { type PressableBaseProps } from '../../internal/pressable-base.js';
|
|
4
|
-
export type ButtonVariant = 'solid' | 'secondary' | 'outline' | 'ghost' | '
|
|
4
|
+
export type ButtonVariant = 'solid' | 'secondary' | 'outline' | 'ghost' | 'danger';
|
|
5
5
|
export type ButtonSize = 'sm' | 'md' | 'lg';
|
|
6
6
|
export type ButtonProps = Omit<PressableBaseProps, 'children' | 'touchHeight'> & {
|
|
7
|
-
/** 기본 'solid' */
|
|
8
7
|
variant?: ButtonVariant;
|
|
9
|
-
/** 기본 'md' */
|
|
10
8
|
size?: ButtonSize;
|
|
11
|
-
/** 스피너를 보여주고 누를 수 없게 한다 */
|
|
12
9
|
loading?: boolean;
|
|
13
10
|
leftIcon?: IconSlot;
|
|
14
11
|
rightIcon?: IconSlot;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../../src/components/button/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,wBAAqB,CAAC;AAChE,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,kCAA+B,CAAC;AAIvC,MAAM,MAAM,aAAa,GACvB,OAAO,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../../src/components/button/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,wBAAqB,CAAC;AAChE,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,kCAA+B,CAAC;AAIvC,MAAM,MAAM,aAAa,GACvB,OAAO,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,GAAG,QAAQ,CAAC;AACzD,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE5C,MAAM,MAAM,WAAW,GAAG,IAAI,CAC5B,kBAAkB,EAClB,UAAU,GAAG,aAAa,CAC3B,GAAG;IACF,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,SAAS,CAAC,EAAE,QAAQ,CAAC;IACrB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAyCF,wBAAgB,MAAM,CAAC,EACrB,OAAiB,EACjB,IAAW,EACX,OAAe,EACf,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,KAAK,EACL,kBAAkB,EAClB,GAAG,IAAI,EACR,EAAE,WAAW,+BAuCb"}
|
|
@@ -3,7 +3,8 @@ import { type PressableBaseProps } from '../../internal/pressable-base.js';
|
|
|
3
3
|
export type ChipProps = Omit<PressableBaseProps, 'children' | 'touchHeight'> & {
|
|
4
4
|
selected?: boolean;
|
|
5
5
|
leftIcon?: IconSlot;
|
|
6
|
+
count?: number;
|
|
6
7
|
children: string;
|
|
7
8
|
};
|
|
8
|
-
export declare function Chip({ selected, leftIcon, children, style, accessibilityState, ...rest }: ChipProps): import("react").JSX.Element;
|
|
9
|
+
export declare function Chip({ selected, leftIcon, count, children, style, accessibilityState, accessibilityLabel, ...rest }: ChipProps): import("react").JSX.Element;
|
|
9
10
|
//# sourceMappingURL=chip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chip.d.ts","sourceRoot":"","sources":["../../../../../src/components/chip/chip.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,wBAAqB,CAAC;AAChE,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,kCAA+B,CAAC;AAIvC,MAAM,MAAM,SAAS,GAAG,IAAI,CAAC,kBAAkB,EAAE,UAAU,GAAG,aAAa,CAAC,GAAG;IAC7E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;
|
|
1
|
+
{"version":3,"file":"chip.d.ts","sourceRoot":"","sources":["../../../../../src/components/chip/chip.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,wBAAqB,CAAC;AAChE,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,kCAA+B,CAAC;AAIvC,MAAM,MAAM,SAAS,GAAG,IAAI,CAAC,kBAAkB,EAAE,UAAU,GAAG,aAAa,CAAC,GAAG;IAC7E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AA8BF,wBAAgB,IAAI,CAAC,EACnB,QAAgB,EAChB,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,KAAK,EACL,kBAAkB,EAClB,kBAAkB,EAClB,GAAG,IAAI,EACR,EAAE,SAAS,+BAoCX"}
|
|
@@ -2,20 +2,19 @@ import { type StyleProp, type ViewStyle } from 'react-native';
|
|
|
2
2
|
export type ChipGroupItem<T extends string> = {
|
|
3
3
|
value: T;
|
|
4
4
|
label: string;
|
|
5
|
+
count?: number;
|
|
5
6
|
disabled?: boolean;
|
|
6
7
|
};
|
|
7
8
|
type Single<T extends string> = {
|
|
8
9
|
multiple?: false;
|
|
9
10
|
value: T | null;
|
|
10
11
|
onValueChange: (value: T | null) => void;
|
|
11
|
-
/** 선택된 칩을 다시 누르면 해제. 기본 false */
|
|
12
12
|
deselectable?: boolean;
|
|
13
13
|
};
|
|
14
14
|
type Multiple<T extends string> = {
|
|
15
15
|
multiple: true;
|
|
16
16
|
value: readonly T[];
|
|
17
17
|
onValueChange: (value: T[]) => void;
|
|
18
|
-
/** 최대 선택 개수 */
|
|
19
18
|
max?: number;
|
|
20
19
|
};
|
|
21
20
|
export type ChipGroupProps<T extends string> = (Single<T> | Multiple<T>) & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chip-group.d.ts","sourceRoot":"","sources":["../../../../../src/components/chip-group/chip-group.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAIpE,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,MAAM,IAAI;IAC5C,KAAK,EAAE,CAAC,CAAC;IACT,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,KAAK,MAAM,CAAC,CAAC,SAAS,MAAM,IAAI;IAC9B,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC;IAChB,aAAa,EAAE,CAAC,KAAK,EAAE,CAAC,GAAG,IAAI,KAAK,IAAI,CAAC;IACzC,
|
|
1
|
+
{"version":3,"file":"chip-group.d.ts","sourceRoot":"","sources":["../../../../../src/components/chip-group/chip-group.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAIpE,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,MAAM,IAAI;IAC5C,KAAK,EAAE,CAAC,CAAC;IACT,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,KAAK,MAAM,CAAC,CAAC,SAAS,MAAM,IAAI;IAC9B,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC;IAChB,aAAa,EAAE,CAAC,KAAK,EAAE,CAAC,GAAG,IAAI,KAAK,IAAI,CAAC;IACzC,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,KAAK,QAAQ,CAAC,CAAC,SAAS,MAAM,IAAI;IAChC,QAAQ,EAAE,IAAI,CAAC;IACf,KAAK,EAAE,SAAS,CAAC,EAAE,CAAC;IACpB,aAAa,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;IACpC,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,MAAM,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,GAAG;IACzE,KAAK,EAAE,SAAS,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC;IACnC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAMF,wBAAgB,SAAS,CAAC,CAAC,SAAS,MAAM,EAAE,KAAK,EAAE,cAAc,CAAC,CAAC,CAAC,+BAmDnE"}
|
|
@@ -2,19 +2,12 @@ export type DialogProps = {
|
|
|
2
2
|
open: boolean;
|
|
3
3
|
onOpenChange: (open: boolean) => void;
|
|
4
4
|
title: string;
|
|
5
|
-
/** 확인을 눌렀을 때. 닫는 것은 부모가 onOpenChange로 정한다 */
|
|
6
5
|
onConfirm: () => void;
|
|
7
|
-
/** 기본 '확인' */
|
|
8
6
|
confirmLabel?: string;
|
|
9
|
-
/** 기본 '취소' */
|
|
10
7
|
cancelLabel?: string;
|
|
11
|
-
|
|
12
|
-
destructive?: boolean;
|
|
13
|
-
/** 확인 버튼을 로딩 상태로 */
|
|
8
|
+
danger?: boolean;
|
|
14
9
|
loading?: boolean;
|
|
15
|
-
/** false면 배경 · 뒤로가기로 닫히지 않는다. 기본 true */
|
|
16
10
|
dismissible?: boolean;
|
|
17
11
|
};
|
|
18
|
-
|
|
19
|
-
export declare function Dialog({ open, onOpenChange, title, onConfirm, confirmLabel, cancelLabel, destructive, loading, dismissible, }: DialogProps): import("react").JSX.Element;
|
|
12
|
+
export declare function Dialog({ open, onOpenChange, title, onConfirm, confirmLabel, cancelLabel, danger, loading, dismissible, }: DialogProps): import("react").JSX.Element;
|
|
20
13
|
//# sourceMappingURL=dialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/dialog/dialog.tsx"],"names":[],"mappings":"AAOA,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,
|
|
1
|
+
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/dialog/dialog.tsx"],"names":[],"mappings":"AAOA,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AA4BF,wBAAgB,MAAM,CAAC,EACrB,IAAI,EACJ,YAAY,EACZ,KAAK,EACL,SAAS,EACT,YAAmB,EACnB,WAAkB,EAClB,MAAc,EACd,OAAe,EACf,WAAkB,GACnB,EAAE,WAAW,+BAoEb"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
2
|
export type DividerProps = {
|
|
3
|
-
/** 왼쪽 들여쓰기(px). ListRow의 leading 뒤부터 긋을 때 쓴다 */
|
|
4
3
|
inset?: number;
|
|
5
4
|
style?: StyleProp<ViewStyle>;
|
|
6
5
|
};
|
|
7
|
-
/** 가로 구분선. 목록에서는 FlatList의 ItemSeparatorComponent로 쓴다 */
|
|
8
6
|
export declare function Divider({ inset, style }: DividerProps): import("react").JSX.Element;
|
|
9
7
|
//# sourceMappingURL=divider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"divider.d.ts","sourceRoot":"","sources":["../../../../../src/components/divider/divider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGhF,MAAM,MAAM,YAAY,GAAG;IACzB,
|
|
1
|
+
{"version":3,"file":"divider.d.ts","sourceRoot":"","sources":["../../../../../src/components/divider/divider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGhF,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAEF,wBAAgB,OAAO,CAAC,EAAE,KAAS,EAAE,KAAK,EAAE,EAAE,YAAY,+BAezD"}
|
|
@@ -1,19 +1,10 @@
|
|
|
1
1
|
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
2
|
import { type IconSlot } from '../../internal/icon.js';
|
|
3
|
-
/**
|
|
4
|
-
* - default: 목록 전체가 비었을 때
|
|
5
|
-
* - search: 검색 · 필터 결과가 없을 때 (결과 변화를 화면낭독기에 알림)
|
|
6
|
-
* - error: 불러오지 못했을 때
|
|
7
|
-
* - section: 화면 안 한 섹션이 비었을 때 (한 줄)
|
|
8
|
-
*/
|
|
9
3
|
export type EmptyStateVariant = 'default' | 'search' | 'error' | 'section';
|
|
10
4
|
export type EmptyStateProps = {
|
|
11
|
-
/** 상태를 말하는 한 줄. 예) '아직 주문이 없어요' */
|
|
12
5
|
title: string;
|
|
13
6
|
variant?: EmptyStateVariant;
|
|
14
|
-
/** 기본: search는 검색, error는 경고 아이콘 */
|
|
15
7
|
icon?: IconSlot;
|
|
16
|
-
/** 다음 행동 하나. section에서는 텍스트 링크로 보인다 */
|
|
17
8
|
action?: {
|
|
18
9
|
label: string;
|
|
19
10
|
onPress: () => void;
|
|
@@ -21,6 +12,5 @@ export type EmptyStateProps = {
|
|
|
21
12
|
};
|
|
22
13
|
style?: StyleProp<ViewStyle>;
|
|
23
14
|
};
|
|
24
|
-
/** 비어 있거나 불러오지 못한 상태. 설명 문단 없이 아이콘 · 한 줄 · 행동 하나로 보여준다 */
|
|
25
15
|
export declare function EmptyState({ title, variant, icon, action, style, }: EmptyStateProps): import("react").JSX.Element;
|
|
26
16
|
//# sourceMappingURL=empty-state.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"empty-state.d.ts","sourceRoot":"","sources":["../../../../../src/components/empty-state/empty-state.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE1E,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,wBAAqB,CAAC;AAMhE
|
|
1
|
+
{"version":3,"file":"empty-state.d.ts","sourceRoot":"","sources":["../../../../../src/components/empty-state/empty-state.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE1E,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,wBAAqB,CAAC;AAMhE,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;AAE3E,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,MAAM,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAC;QAAC,IAAI,CAAC,EAAE,QAAQ,CAAA;KAAE,CAAC;IACjE,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAkDF,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,OAAmB,EACnB,IAAI,EACJ,MAAM,EACN,KAAK,GACN,EAAE,eAAe,+BAoEjB"}
|
|
@@ -4,12 +4,12 @@ import { type IconSlot } from '../../internal/icon.js';
|
|
|
4
4
|
export type FieldProps = Omit<TextInputProps, 'style'> & {
|
|
5
5
|
ref?: Ref<ComponentRef<typeof TextInput>>;
|
|
6
6
|
label?: string;
|
|
7
|
-
/** 있으면 오류 상태로 표시하고 입력칸 아래에 보여준다 */
|
|
8
7
|
error?: string;
|
|
8
|
+
hint?: string;
|
|
9
|
+
warning?: string;
|
|
9
10
|
leading?: IconSlot;
|
|
10
11
|
trailing?: IconSlot;
|
|
11
|
-
/** 바깥 컨테이너 스타일 */
|
|
12
12
|
style?: StyleProp<ViewStyle>;
|
|
13
13
|
};
|
|
14
|
-
export declare function Field({ label, error, leading, trailing, style, editable, onFocus, onBlur, ...input }: FieldProps): import("react").JSX.Element;
|
|
14
|
+
export declare function Field({ label, error, hint, warning, leading, trailing, style, editable, onFocus, onBlur, ...input }: FieldProps): import("react").JSX.Element;
|
|
15
15
|
//# sourceMappingURL=field.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../../../../src/components/field/field.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,YAAY,EAAE,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AAC9D,OAAO,EAEL,SAAS,EAET,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,wBAAqB,CAAC;AAIhE,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,GAAG;IACvD,GAAG,CAAC,EAAE,GAAG,CAAC,YAAY,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,
|
|
1
|
+
{"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../../../../src/components/field/field.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,YAAY,EAAE,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AAC9D,OAAO,EAEL,SAAS,EAET,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,wBAAqB,CAAC;AAIhE,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,GAAG;IACvD,GAAG,CAAC,EAAE,GAAG,CAAC,YAAY,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AA6EF,wBAAgB,KAAK,CAAC,EACpB,KAAK,EACL,KAAK,EACL,IAAI,EACJ,OAAO,EACP,OAAO,EACP,QAAQ,EACR,KAAK,EACL,QAAe,EACf,OAAO,EACP,MAAM,EACN,GAAG,KAAK,EACT,EAAE,UAAU,+BAwFZ"}
|
|
@@ -4,11 +4,8 @@ export type ListRowProps = Omit<PressableBaseProps, 'children' | 'touchHeight'>
|
|
|
4
4
|
title: string;
|
|
5
5
|
description?: string;
|
|
6
6
|
leading?: IconSlot;
|
|
7
|
-
/** 오른쪽 내용 (Switch, StatusBadge, 값 텍스트 등) */
|
|
8
7
|
trailing?: IconSlot;
|
|
9
|
-
/** 오른쪽 화살표. 기본은 onPress가 있을 때 true */
|
|
10
8
|
chevron?: boolean;
|
|
11
|
-
/** 제목 줄 수. 기본 1 */
|
|
12
9
|
titleLines?: number;
|
|
13
10
|
};
|
|
14
11
|
export declare function ListRow({ title, description, leading, trailing, chevron, titleLines, onPress, style, ...rest }: ListRowProps): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-row.d.ts","sourceRoot":"","sources":["../../../../../src/components/list-row/list-row.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,wBAAqB,CAAC;AAChE,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,kCAA+B,CAAC;AAIvC,MAAM,MAAM,YAAY,GAAG,IAAI,CAC7B,kBAAkB,EAClB,UAAU,GAAG,aAAa,CAC3B,GAAG;IACF,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,
|
|
1
|
+
{"version":3,"file":"list-row.d.ts","sourceRoot":"","sources":["../../../../../src/components/list-row/list-row.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,wBAAqB,CAAC;AAChE,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,kCAA+B,CAAC;AAIvC,MAAM,MAAM,YAAY,GAAG,IAAI,CAC7B,kBAAkB,EAClB,UAAU,GAAG,aAAa,CAC3B,GAAG;IACF,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AA2BF,wBAAgB,OAAO,CAAC,EACtB,KAAK,EACL,WAAW,EACX,OAAO,EACP,QAAQ,EACR,OAAO,EACP,UAAc,EACd,OAAO,EACP,KAAK,EACL,GAAG,IAAI,EACR,EAAE,YAAY,+BAsDd"}
|
|
@@ -2,14 +2,10 @@ import { type ReactNode } from 'react';
|
|
|
2
2
|
import { type ImageProps, type ImageSourcePropType, type StyleProp, type ViewStyle } from 'react-native';
|
|
3
3
|
export type PhotoProps = Omit<ImageProps, 'source' | 'style'> & {
|
|
4
4
|
source: ImageSourcePropType;
|
|
5
|
-
/** 가로 / 세로. 기본 1 */
|
|
6
5
|
aspectRatio?: number;
|
|
7
|
-
/** 기본 radius.md */
|
|
8
6
|
radius?: number;
|
|
9
|
-
/** 불러오지 못했을 때 보여줄 내용 */
|
|
10
7
|
fallback?: ReactNode;
|
|
11
8
|
style?: StyleProp<ViewStyle>;
|
|
12
9
|
};
|
|
13
|
-
/** 로딩 중에는 muted 배경, 실패하면 fallback을 보여주는 이미지 */
|
|
14
10
|
export declare function Photo(props: PhotoProps): import("react").JSX.Element;
|
|
15
11
|
//# sourceMappingURL=photo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"photo.d.ts","sourceRoot":"","sources":["../../../../../src/components/photo/photo.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAIL,KAAK,UAAU,EACf,KAAK,mBAAmB,EACxB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAGtB,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,EAAE,QAAQ,GAAG,OAAO,CAAC,GAAG;IAC9D,MAAM,EAAE,mBAAmB,CAAC;IAC5B,
|
|
1
|
+
{"version":3,"file":"photo.d.ts","sourceRoot":"","sources":["../../../../../src/components/photo/photo.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAIL,KAAK,UAAU,EACf,KAAK,mBAAmB,EACxB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAGtB,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,EAAE,QAAQ,GAAG,OAAO,CAAC,GAAG;IAC9D,MAAM,EAAE,mBAAmB,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAQF,wBAAgB,KAAK,CAAC,KAAK,EAAE,UAAU,+BAEtC"}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
2
|
import type { TypographyVariant } from '../../types/index.js';
|
|
3
|
-
/** 12000 → '12,000원'. 웹 · Jest · 네이티브에서 같은 결과를 내도록 Intl을 쓰지 않는다 */
|
|
4
3
|
export declare function formatPrice(value: number, unit?: string): string;
|
|
5
4
|
export type PriceProps = {
|
|
6
5
|
value: number;
|
|
7
|
-
/** 할인 전 가격. value보다 클 때만 취소선으로 표시한다 */
|
|
8
6
|
originalValue?: number;
|
|
9
|
-
/** 기본 'body' */
|
|
10
7
|
variant?: TypographyVariant;
|
|
11
8
|
unit?: string;
|
|
12
9
|
style?: StyleProp<ViewStyle>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"price.d.ts","sourceRoot":"","sources":["../../../../../src/components/price/price.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAC1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAa,CAAC;AAIrD,
|
|
1
|
+
{"version":3,"file":"price.d.ts","sourceRoot":"","sources":["../../../../../src/components/price/price.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAC1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAa,CAAC;AAIrD,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,SAAM,GAAG,MAAM,CAI7D;AAED,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAuBF,wBAAgB,KAAK,CAAC,EACpB,KAAK,EACL,aAAa,EACb,OAAgB,EAChB,IAAI,EACJ,KAAK,GACN,EAAE,UAAU,+BAkCZ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/progress-bar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,mBAAgB,CAAC"}
|