jfs-components 0.1.0 → 0.1.8
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 +37 -0
- package/lib/commonjs/components/AmountInput/AmountInput.js +8 -5
- package/lib/commonjs/components/AreaLineChart/AreaLineChart.js +1 -1
- package/lib/commonjs/components/Balance/Balance.js +17 -12
- package/lib/commonjs/components/BenefitCard/BenefitCard.js +231 -0
- package/lib/commonjs/components/Card/Card.js +2 -1
- package/lib/commonjs/components/CardFeedback/CardFeedback.js +2 -1
- package/lib/commonjs/components/CcCard/CcCard.js +470 -0
- package/lib/commonjs/components/Checkbox/Checkbox.js +6 -4
- package/lib/commonjs/components/CheckboxItem/CheckboxItem.js +4 -3
- package/lib/commonjs/components/CompareTable/CompareTable.js +372 -0
- package/lib/commonjs/components/ComparisonBar/ComparisonBar.js +266 -0
- package/lib/commonjs/components/Drawer/Drawer.js +13 -4
- package/lib/commonjs/components/DropdownInput/DropdownInput.js +36 -4
- package/lib/commonjs/components/FormField/FormField.js +4 -3
- package/lib/commonjs/components/FullscreenModal/FullscreenModal.js +62 -2
- package/lib/commonjs/components/Image/Image.js +11 -5
- package/lib/commonjs/components/InputSearch/InputSearch.js +6 -4
- package/lib/commonjs/components/LottiePlayer/loadNativeLottieView.js +8 -13
- package/lib/commonjs/components/NoteInput/NoteInput.js +6 -5
- package/lib/commonjs/components/Overlay/Overlay.js +92 -0
- package/lib/commonjs/components/PdpCcCard/PdpCcCard.js +273 -0
- package/lib/commonjs/components/PlanComparisonCard/PlanComparisonCard.js +2 -1
- package/lib/commonjs/components/ProductMerchandisingCard/GlassFill.js +263 -0
- package/lib/commonjs/components/ProductMerchandisingCard/GlassFill.web.js +116 -0
- package/lib/commonjs/components/ProductMerchandisingCard/ProductMerchandisingCard.js +353 -0
- package/lib/commonjs/components/ProjectionMarker/ProjectionMarker.js +161 -0
- package/lib/commonjs/components/Radio/Radio.js +5 -5
- package/lib/commonjs/components/Slider/Slider.js +473 -0
- package/lib/commonjs/components/TextInput/TextInput.js +15 -9
- package/lib/commonjs/components/TextSegment/TextSegment.js +118 -0
- package/lib/commonjs/components/docs/modeControls.js +116 -0
- package/lib/commonjs/components/index.js +70 -0
- package/lib/commonjs/design-tokens/Coin Variables-variables-full.json +1 -1
- package/lib/commonjs/design-tokens/JFSThemeProvider.js +1 -1
- package/lib/commonjs/design-tokens/figma-modes.generated.js +420 -0
- package/lib/commonjs/design-tokens/index.js +11 -0
- package/lib/commonjs/icons/registry.js +1 -1
- package/lib/commonjs/utils/react-utils.js +22 -0
- package/lib/module/components/Accordion/Accordion.js +1 -2
- package/lib/module/components/AmountInput/AmountInput.js +6 -4
- package/lib/module/components/AreaLineChart/AreaLineChart.js +1 -1
- package/lib/module/components/Balance/Balance.js +18 -13
- package/lib/module/components/BenefitCard/BenefitCard.js +225 -0
- package/lib/module/components/Card/Card.js +1 -2
- package/lib/module/components/CardFeedback/CardFeedback.js +1 -2
- package/lib/module/components/CcCard/CcCard.js +464 -0
- package/lib/module/components/Checkbox/Checkbox.js +6 -6
- package/lib/module/components/CheckboxItem/CheckboxItem.js +5 -4
- package/lib/module/components/CompareTable/CompareTable.js +367 -0
- package/lib/module/components/ComparisonBar/ComparisonBar.js +260 -0
- package/lib/module/components/Drawer/Drawer.js +12 -4
- package/lib/module/components/DropdownInput/DropdownInput.js +37 -5
- package/lib/module/components/FormField/FormField.js +5 -4
- package/lib/module/components/FullscreenModal/FullscreenModal.js +64 -5
- package/lib/module/components/Image/Image.js +11 -5
- package/lib/module/components/InputSearch/InputSearch.js +6 -4
- package/lib/module/components/InstitutionBadge/InstitutionBadge.js +1 -2
- package/lib/module/components/LottiePlayer/loadNativeLottieView.js +8 -13
- package/lib/module/components/MoneyValue/MoneyValue.js +1 -2
- package/lib/module/components/NoteInput/NoteInput.js +7 -6
- package/lib/module/components/OTP/OTP.js +1 -2
- package/lib/module/components/Overlay/Overlay.js +87 -0
- package/lib/module/components/PdpCcCard/PdpCcCard.js +267 -0
- package/lib/module/components/PlanComparisonCard/PlanComparisonCard.js +1 -2
- package/lib/module/components/PoweredByLabel/PoweredByLabel.js +1 -2
- package/lib/module/components/ProductMerchandisingCard/GlassFill.js +257 -0
- package/lib/module/components/ProductMerchandisingCard/GlassFill.web.js +111 -0
- package/lib/module/components/ProductMerchandisingCard/ProductMerchandisingCard.js +347 -0
- package/lib/module/components/ProjectionMarker/ProjectionMarker.js +156 -0
- package/lib/module/components/Radio/Radio.js +5 -4
- package/lib/module/components/RechargeCard/RechargeCard.js +1 -2
- package/lib/module/components/Section/Section.js +1 -2
- package/lib/module/components/Slider/Slider.js +468 -0
- package/lib/module/components/TextInput/TextInput.js +16 -12
- package/lib/module/components/TextSegment/TextSegment.js +113 -0
- package/lib/module/components/UpiHandle/UpiHandle.js +1 -2
- package/lib/module/components/docs/modeControls.js +111 -0
- package/lib/module/components/index.js +10 -0
- package/lib/module/design-tokens/Coin Variables-variables-full.json +1 -1
- package/lib/module/design-tokens/JFSThemeProvider.js +1 -1
- package/lib/module/design-tokens/figma-modes.generated.js +416 -0
- package/lib/module/design-tokens/index.js +2 -1
- package/lib/module/icons/registry.js +1 -1
- package/lib/module/utils/react-utils.js +21 -1
- package/lib/typescript/src/components/Accordion/Accordion.d.ts +2 -1
- package/lib/typescript/src/components/AccordionCheckbox/AccordionCheckbox.d.ts +2 -1
- package/lib/typescript/src/components/AccountCard/AccountCard.d.ts +2 -1
- package/lib/typescript/src/components/ActionFooter/ActionFooter.d.ts +2 -1
- package/lib/typescript/src/components/ActionTile/ActionTile.d.ts +2 -1
- package/lib/typescript/src/components/AllocationComparisonChart/AllocationComparisonChart.d.ts +2 -1
- package/lib/typescript/src/components/AmountInput/AmountInput.d.ts +5 -3
- package/lib/typescript/src/components/AppBar/AppBar.d.ts +2 -1
- package/lib/typescript/src/components/AreaLineChart/AreaLineChart.d.ts +3 -2
- package/lib/typescript/src/components/Attached/Attached.d.ts +2 -1
- package/lib/typescript/src/components/Avatar/Avatar.d.ts +2 -1
- package/lib/typescript/src/components/AvatarGroup/AvatarGroup.d.ts +2 -1
- package/lib/typescript/src/components/Badge/Badge.d.ts +2 -1
- package/lib/typescript/src/components/Balance/Balance.d.ts +2 -1
- package/lib/typescript/src/components/BenefitCard/BenefitCard.d.ts +93 -0
- package/lib/typescript/src/components/BottomNav/BottomNav.d.ts +2 -1
- package/lib/typescript/src/components/BottomNavItem/BottomNavItem.d.ts +2 -1
- package/lib/typescript/src/components/BrandChip/BrandChip.d.ts +2 -1
- package/lib/typescript/src/components/BubbleChart/BubbleChart.d.ts +2 -1
- package/lib/typescript/src/components/Button/Button.d.ts +2 -1
- package/lib/typescript/src/components/ButtonGroup/ButtonGroup.d.ts +2 -1
- package/lib/typescript/src/components/Card/Card.d.ts +3 -2
- package/lib/typescript/src/components/CardAdvisory/CardAdvisory.d.ts +2 -1
- package/lib/typescript/src/components/CardBankAccount/CardBankAccount.d.ts +2 -1
- package/lib/typescript/src/components/CardCTA/CardCTA.d.ts +2 -1
- package/lib/typescript/src/components/CardFeedback/CardFeedback.d.ts +7 -6
- package/lib/typescript/src/components/CardFinancialCondition/CardFinancialCondition.d.ts +2 -1
- package/lib/typescript/src/components/CardInsight/CardInsight.d.ts +2 -1
- package/lib/typescript/src/components/CardProviderInfo/CardProviderInfo.d.ts +2 -1
- package/lib/typescript/src/components/Carousel/Carousel.d.ts +4 -3
- package/lib/typescript/src/components/CcCard/CcCard.d.ts +137 -0
- package/lib/typescript/src/components/Checkbox/Checkbox.d.ts +5 -3
- package/lib/typescript/src/components/CheckboxGroup/CheckboxGroup.d.ts +2 -1
- package/lib/typescript/src/components/CheckboxItem/CheckboxItem.d.ts +4 -3
- package/lib/typescript/src/components/ChipGroup/ChipGroup.d.ts +2 -1
- package/lib/typescript/src/components/ChipSelect/ChipSelect.d.ts +2 -1
- package/lib/typescript/src/components/CircularProgressBar/CircularProgressBar.d.ts +2 -1
- package/lib/typescript/src/components/CircularProgressBarDoted/CircularProgressBarDoted.d.ts +2 -1
- package/lib/typescript/src/components/CircularRating/CircularRating.d.ts +2 -1
- package/lib/typescript/src/components/ClusterBubble/ClusterBubble.d.ts +2 -1
- package/lib/typescript/src/components/CompareTable/CompareTable.d.ts +88 -0
- package/lib/typescript/src/components/ComparisonBar/ComparisonBar.d.ts +118 -0
- package/lib/typescript/src/components/CoverageBarComparison/CoverageBarComparison.d.ts +3 -2
- package/lib/typescript/src/components/CoverageRing/CoverageRing.d.ts +2 -1
- package/lib/typescript/src/components/DebitCard/DebitCard.d.ts +2 -1
- package/lib/typescript/src/components/Disclaimer/Disclaimer.d.ts +2 -1
- package/lib/typescript/src/components/Divider/Divider.d.ts +2 -1
- package/lib/typescript/src/components/DonutChart/DonutChart.d.ts +4 -3
- package/lib/typescript/src/components/DonutChartSummary/DonutChartSummary.d.ts +3 -2
- package/lib/typescript/src/components/Drawer/Drawer.d.ts +15 -1
- package/lib/typescript/src/components/Dropdown/Dropdown.d.ts +3 -2
- package/lib/typescript/src/components/DropdownInput/DropdownInput.d.ts +22 -2
- package/lib/typescript/src/components/EmptyState/EmptyState.d.ts +2 -1
- package/lib/typescript/src/components/ExpandableCheckbox/ExpandableCheckbox.d.ts +2 -1
- package/lib/typescript/src/components/FilterBar/FilterBar.d.ts +3 -2
- package/lib/typescript/src/components/Form/Form.d.ts +2 -1
- package/lib/typescript/src/components/FormField/FormField.d.ts +4 -3
- package/lib/typescript/src/components/FullscreenModal/FullscreenModal.d.ts +2 -1
- package/lib/typescript/src/components/Gauge/Gauge.d.ts +2 -1
- package/lib/typescript/src/components/HStack/HStack.d.ts +2 -1
- package/lib/typescript/src/components/HoldingsCard/HoldingsCard.d.ts +2 -1
- package/lib/typescript/src/components/Icon/Icon.d.ts +2 -1
- package/lib/typescript/src/components/IconButton/IconButton.d.ts +2 -1
- package/lib/typescript/src/components/IconCapsule/IconCapsule.d.ts +2 -1
- package/lib/typescript/src/components/Image/Image.d.ts +17 -1
- package/lib/typescript/src/components/InputSearch/InputSearch.d.ts +25 -3
- package/lib/typescript/src/components/InstitutionBadge/InstitutionBadge.d.ts +2 -1
- package/lib/typescript/src/components/LazyList/LazyList.d.ts +2 -1
- package/lib/typescript/src/components/LinearMeter/LinearMeter.d.ts +3 -2
- package/lib/typescript/src/components/LinearProgress/LinearProgress.d.ts +2 -1
- package/lib/typescript/src/components/ListGroup/ListGroup.d.ts +2 -1
- package/lib/typescript/src/components/ListItem/ListItem.d.ts +2 -1
- package/lib/typescript/src/components/LottieIntroBlock/LottieIntroBlock.d.ts +2 -1
- package/lib/typescript/src/components/LottiePlayer/LottiePlayer.d.ts +2 -1
- package/lib/typescript/src/components/LottiePlayer/LottiePlayer.web.d.ts +2 -1
- package/lib/typescript/src/components/MediaCard/MediaCard.d.ts +6 -5
- package/lib/typescript/src/components/MerchantProfile/MerchantProfile.d.ts +2 -1
- package/lib/typescript/src/components/MessageField/MessageField.d.ts +2 -1
- package/lib/typescript/src/components/MetricLegendItem/MetricLegendItem.d.ts +2 -1
- package/lib/typescript/src/components/MoneyValue/MoneyValue.d.ts +2 -1
- package/lib/typescript/src/components/MonthlyStatusGrid/MonthlyStatusGrid.d.ts +4 -3
- package/lib/typescript/src/components/NavArrow/NavArrow.d.ts +2 -1
- package/lib/typescript/src/components/NoteInput/NoteInput.d.ts +21 -3
- package/lib/typescript/src/components/Nudge/Nudge.d.ts +2 -1
- package/lib/typescript/src/components/Numpad/Numpad.d.ts +2 -1
- package/lib/typescript/src/components/OTP/OTP.d.ts +3 -2
- package/lib/typescript/src/components/Overlay/Overlay.d.ts +52 -0
- package/lib/typescript/src/components/PageHero/PageHero.d.ts +2 -1
- package/lib/typescript/src/components/PaymentFeedback/PaymentFeedback.d.ts +2 -1
- package/lib/typescript/src/components/PdpCcCard/PdpCcCard.d.ts +84 -0
- package/lib/typescript/src/components/PlanComparisonCard/PlanComparisonCard.d.ts +2 -1
- package/lib/typescript/src/components/Popup/Popup.d.ts +2 -1
- package/lib/typescript/src/components/PortfolioHero/PortfolioHero.d.ts +2 -1
- package/lib/typescript/src/components/PoweredByLabel/PoweredByLabel.d.ts +2 -1
- package/lib/typescript/src/components/ProductLabel/ProductLabel.d.ts +2 -1
- package/lib/typescript/src/components/ProductMerchandisingCard/GlassFill.d.ts +56 -0
- package/lib/typescript/src/components/ProductMerchandisingCard/GlassFill.web.d.ts +27 -0
- package/lib/typescript/src/components/ProductMerchandisingCard/ProductMerchandisingCard.d.ts +81 -0
- package/lib/typescript/src/components/ProductOverview/ProductOverview.d.ts +2 -1
- package/lib/typescript/src/components/ProgressBadge/ProgressBadge.d.ts +2 -1
- package/lib/typescript/src/components/ProjectionMarker/ProjectionMarker.d.ts +82 -0
- package/lib/typescript/src/components/Radio/Radio.d.ts +5 -3
- package/lib/typescript/src/components/RadioButton/RadioButton.d.ts +2 -2
- package/lib/typescript/src/components/RangeTrack/RangeTrack.d.ts +3 -2
- package/lib/typescript/src/components/RechargeCard/RechargeCard.d.ts +2 -1
- package/lib/typescript/src/components/SavingsGoalSummary/SavingsGoalSummary.d.ts +2 -1
- package/lib/typescript/src/components/Screen/Screen.d.ts +2 -1
- package/lib/typescript/src/components/Section/Section.d.ts +3 -2
- package/lib/typescript/src/components/SegmentedControl/SegmentedControl.d.ts +2 -1
- package/lib/typescript/src/components/SegmentedTrack/SegmentedTrack.d.ts +4 -3
- package/lib/typescript/src/components/Slider/Slider.d.ts +99 -0
- package/lib/typescript/src/components/Slot/Slot.d.ts +2 -1
- package/lib/typescript/src/components/Spinner/Spinner.d.ts +2 -1
- package/lib/typescript/src/components/StatGroup/StatGroup.d.ts +2 -1
- package/lib/typescript/src/components/StatItem/StatItem.d.ts +2 -1
- package/lib/typescript/src/components/StatusHero/StatusHero.d.ts +2 -1
- package/lib/typescript/src/components/Stepper/Step.d.ts +2 -1
- package/lib/typescript/src/components/Stepper/StepLabel.d.ts +2 -1
- package/lib/typescript/src/components/Stepper/Stepper.d.ts +2 -1
- package/lib/typescript/src/components/StrengthIndicator/StrengthIndicator.d.ts +2 -1
- package/lib/typescript/src/components/SuggestiveSearch/SuggestiveSearch.d.ts +2 -1
- package/lib/typescript/src/components/SummaryTile/SummaryTile.d.ts +2 -1
- package/lib/typescript/src/components/SupportText/SupportText.d.ts +2 -1
- package/lib/typescript/src/components/SupportText/SupportTextIcon.d.ts +2 -1
- package/lib/typescript/src/components/SwappableAmount/SwappableAmount.d.ts +2 -1
- package/lib/typescript/src/components/Tabs/TabItem.d.ts +2 -1
- package/lib/typescript/src/components/Tabs/Tabs.d.ts +2 -1
- package/lib/typescript/src/components/TestimonialsCard/TestimonialsCard.d.ts +2 -1
- package/lib/typescript/src/components/Text/Text.d.ts +2 -1
- package/lib/typescript/src/components/TextInput/TextInput.d.ts +12 -31
- package/lib/typescript/src/components/TextSegment/TextSegment.d.ts +100 -0
- package/lib/typescript/src/components/ThreadHero/ThreadHero.d.ts +2 -1
- package/lib/typescript/src/components/Title/Title.d.ts +2 -1
- package/lib/typescript/src/components/Toast/Toast.d.ts +2 -1
- package/lib/typescript/src/components/Toast/ToastProvider.d.ts +2 -1
- package/lib/typescript/src/components/Toast/useToast.d.ts +3 -2
- package/lib/typescript/src/components/Toggle/Toggle.d.ts +2 -1
- package/lib/typescript/src/components/Tooltip/Tooltip.d.ts +2 -1
- package/lib/typescript/src/components/TransactionBubble/TransactionBubble.d.ts +2 -1
- package/lib/typescript/src/components/TransactionDetails/TransactionDetails.d.ts +3 -2
- package/lib/typescript/src/components/TransactionStatus/TransactionStatus.d.ts +2 -1
- package/lib/typescript/src/components/UpiHandle/UpiHandle.d.ts +2 -1
- package/lib/typescript/src/components/VStack/VStack.d.ts +2 -1
- package/lib/typescript/src/components/docs/modeControls.d.ts +28 -0
- package/lib/typescript/src/components/index.d.ts +11 -1
- package/lib/typescript/src/design-tokens/JFSThemeProvider.d.ts +4 -3
- package/lib/typescript/src/design-tokens/figma-modes.generated.d.ts +284 -0
- package/lib/typescript/src/design-tokens/index.d.ts +1 -0
- package/lib/typescript/src/icons/registry.d.ts +1 -1
- package/lib/typescript/src/skeleton/Skeleton.d.ts +2 -1
- package/lib/typescript/src/utils/react-utils.d.ts +12 -1
- package/package.json +4 -2
- package/src/components/Accordion/Accordion.tsx +2 -1
- package/src/components/AccordionCheckbox/AccordionCheckbox.tsx +2 -1
- package/src/components/AccountCard/AccountCard.tsx +2 -1
- package/src/components/ActionFooter/ActionFooter.tsx +2 -1
- package/src/components/ActionTile/ActionTile.tsx +2 -1
- package/src/components/AllocationComparisonChart/AllocationComparisonChart.tsx +2 -1
- package/src/components/AmountInput/AmountInput.tsx +9 -6
- package/src/components/AppBar/AppBar.tsx +2 -1
- package/src/components/AreaLineChart/AreaLineChart.tsx +8 -7
- package/src/components/Attached/Attached.tsx +2 -1
- package/src/components/Avatar/Avatar.tsx +3 -2
- package/src/components/AvatarGroup/AvatarGroup.tsx +2 -1
- package/src/components/Badge/Badge.tsx +2 -1
- package/src/components/Balance/Balance.tsx +18 -12
- package/src/components/BenefitCard/BenefitCard.tsx +309 -0
- package/src/components/BottomNav/BottomNav.tsx +2 -1
- package/src/components/BottomNavItem/BottomNavItem.tsx +3 -2
- package/src/components/BrandChip/BrandChip.tsx +3 -2
- package/src/components/BubbleChart/BubbleChart.tsx +2 -1
- package/src/components/Button/Button.tsx +3 -2
- package/src/components/ButtonGroup/ButtonGroup.tsx +2 -1
- package/src/components/Card/Card.tsx +4 -3
- package/src/components/CardAdvisory/CardAdvisory.tsx +3 -2
- package/src/components/CardBankAccount/CardBankAccount.tsx +2 -1
- package/src/components/CardCTA/CardCTA.tsx +3 -2
- package/src/components/CardFeedback/CardFeedback.tsx +11 -10
- package/src/components/CardFinancialCondition/CardFinancialCondition.tsx +3 -2
- package/src/components/CardInsight/CardInsight.tsx +2 -1
- package/src/components/CardProviderInfo/CardProviderInfo.tsx +2 -1
- package/src/components/Carousel/Carousel.tsx +5 -4
- package/src/components/CcCard/CcCard.tsx +598 -0
- package/src/components/Checkbox/Checkbox.tsx +7 -5
- package/src/components/CheckboxGroup/CheckboxGroup.tsx +2 -1
- package/src/components/CheckboxItem/CheckboxItem.tsx +7 -5
- package/src/components/ChipGroup/ChipGroup.tsx +2 -1
- package/src/components/ChipSelect/ChipSelect.tsx +2 -1
- package/src/components/CircularProgressBar/CircularProgressBar.tsx +2 -1
- package/src/components/CircularProgressBarDoted/CircularProgressBarDoted.tsx +2 -1
- package/src/components/CircularRating/CircularRating.tsx +3 -2
- package/src/components/ClusterBubble/ClusterBubble.tsx +2 -1
- package/src/components/CompareTable/CompareTable.tsx +477 -0
- package/src/components/ComparisonBar/ComparisonBar.tsx +356 -0
- package/src/components/CoverageBarComparison/CoverageBarComparison.tsx +3 -2
- package/src/components/CoverageRing/CoverageRing.tsx +2 -1
- package/src/components/DebitCard/DebitCard.tsx +2 -1
- package/src/components/Disclaimer/Disclaimer.tsx +2 -1
- package/src/components/Divider/Divider.tsx +2 -1
- package/src/components/DonutChart/DonutChart.tsx +6 -5
- package/src/components/DonutChartSummary/DonutChartSummary.tsx +3 -2
- package/src/components/Drawer/Drawer.tsx +21 -1
- package/src/components/Dropdown/Dropdown.tsx +4 -3
- package/src/components/DropdownInput/DropdownInput.tsx +60 -7
- package/src/components/EmptyState/EmptyState.tsx +2 -1
- package/src/components/ExpandableCheckbox/ExpandableCheckbox.tsx +2 -1
- package/src/components/FilterBar/FilterBar.tsx +3 -2
- package/src/components/Form/Form.tsx +2 -1
- package/src/components/FormField/FormField.tsx +8 -6
- package/src/components/FullscreenModal/FullscreenModal.tsx +68 -10
- package/src/components/Gauge/Gauge.tsx +2 -1
- package/src/components/HStack/HStack.tsx +2 -1
- package/src/components/HoldingsCard/HoldingsCard.tsx +2 -1
- package/src/components/Icon/Icon.tsx +3 -2
- package/src/components/IconButton/IconButton.tsx +3 -2
- package/src/components/IconCapsule/IconCapsule.tsx +3 -2
- package/src/components/Image/Image.tsx +29 -5
- package/src/components/InputSearch/InputSearch.tsx +11 -7
- package/src/components/InstitutionBadge/InstitutionBadge.tsx +3 -2
- package/src/components/LazyList/LazyList.tsx +2 -1
- package/src/components/LinearMeter/LinearMeter.tsx +3 -2
- package/src/components/LinearProgress/LinearProgress.tsx +2 -1
- package/src/components/ListGroup/ListGroup.tsx +2 -1
- package/src/components/ListItem/ListItem.tsx +3 -2
- package/src/components/LottieIntroBlock/LottieIntroBlock.tsx +2 -1
- package/src/components/LottiePlayer/LottiePlayer.tsx +3 -2
- package/src/components/LottiePlayer/LottiePlayer.web.tsx +3 -2
- package/src/components/LottiePlayer/loadNativeLottieView.tsx +9 -13
- package/src/components/MediaCard/MediaCard.tsx +7 -6
- package/src/components/MerchantProfile/MerchantProfile.tsx +2 -1
- package/src/components/MessageField/MessageField.tsx +3 -2
- package/src/components/MetricLegendItem/MetricLegendItem.tsx +2 -1
- package/src/components/MoneyValue/MoneyValue.tsx +2 -1
- package/src/components/MonthlyStatusGrid/MonthlyStatusGrid.tsx +5 -4
- package/src/components/NavArrow/NavArrow.tsx +3 -2
- package/src/components/NoteInput/NoteInput.tsx +10 -7
- package/src/components/Nudge/Nudge.tsx +3 -2
- package/src/components/Numpad/Numpad.tsx +2 -1
- package/src/components/OTP/OTP.tsx +3 -2
- package/src/components/Overlay/Overlay.tsx +114 -0
- package/src/components/PageHero/PageHero.tsx +2 -1
- package/src/components/PaymentFeedback/PaymentFeedback.tsx +2 -1
- package/src/components/PdpCcCard/PdpCcCard.tsx +356 -0
- package/src/components/PlanComparisonCard/PlanComparisonCard.tsx +2 -1
- package/src/components/Popup/Popup.tsx +2 -1
- package/src/components/PortfolioHero/PortfolioHero.tsx +2 -1
- package/src/components/PoweredByLabel/PoweredByLabel.tsx +2 -1
- package/src/components/ProductLabel/ProductLabel.tsx +2 -1
- package/src/components/ProductMerchandisingCard/GlassFill.tsx +276 -0
- package/src/components/ProductMerchandisingCard/GlassFill.web.tsx +127 -0
- package/src/components/ProductMerchandisingCard/ProductMerchandisingCard.tsx +423 -0
- package/src/components/ProductOverview/ProductOverview.tsx +2 -1
- package/src/components/ProgressBadge/ProgressBadge.tsx +2 -1
- package/src/components/ProjectionMarker/ProjectionMarker.tsx +277 -0
- package/src/components/Radio/Radio.tsx +7 -5
- package/src/components/RangeTrack/RangeTrack.tsx +3 -2
- package/src/components/RechargeCard/RechargeCard.tsx +2 -1
- package/src/components/SavingsGoalSummary/SavingsGoalSummary.tsx +2 -1
- package/src/components/Screen/Screen.tsx +2 -1
- package/src/components/Section/Section.tsx +6 -5
- package/src/components/SegmentedControl/SegmentedControl.tsx +3 -2
- package/src/components/SegmentedTrack/SegmentedTrack.tsx +5 -4
- package/src/components/Slider/Slider.tsx +628 -0
- package/src/components/Slot/Slot.tsx +2 -1
- package/src/components/Spinner/Spinner.tsx +2 -1
- package/src/components/StatGroup/StatGroup.tsx +3 -2
- package/src/components/StatItem/StatItem.tsx +2 -1
- package/src/components/StatusHero/StatusHero.tsx +2 -1
- package/src/components/Stepper/Step.tsx +2 -1
- package/src/components/Stepper/StepLabel.tsx +2 -1
- package/src/components/Stepper/Stepper.tsx +2 -1
- package/src/components/StrengthIndicator/StrengthIndicator.tsx +2 -1
- package/src/components/SuggestiveSearch/SuggestiveSearch.tsx +4 -3
- package/src/components/SummaryTile/SummaryTile.tsx +2 -1
- package/src/components/SupportText/SupportText.tsx +2 -1
- package/src/components/SupportText/SupportTextIcon.tsx +2 -1
- package/src/components/SwappableAmount/SwappableAmount.tsx +2 -1
- package/src/components/Tabs/TabItem.tsx +2 -1
- package/src/components/Tabs/Tabs.tsx +2 -1
- package/src/components/TestimonialsCard/TestimonialsCard.tsx +2 -1
- package/src/components/Text/Text.tsx +2 -1
- package/src/components/TextInput/TextInput.tsx +18 -13
- package/src/components/TextSegment/TextSegment.tsx +166 -0
- package/src/components/ThreadHero/ThreadHero.tsx +2 -1
- package/src/components/Title/Title.tsx +2 -1
- package/src/components/Toast/Toast.tsx +2 -1
- package/src/components/Toast/ToastProvider.tsx +2 -1
- package/src/components/Toast/useToast.ts +3 -2
- package/src/components/Toggle/Toggle.tsx +2 -1
- package/src/components/Tooltip/Tooltip.tsx +3 -2
- package/src/components/TransactionBubble/TransactionBubble.tsx +2 -1
- package/src/components/TransactionDetails/TransactionDetails.tsx +3 -2
- package/src/components/TransactionStatus/TransactionStatus.tsx +3 -2
- package/src/components/UpiHandle/UpiHandle.tsx +3 -2
- package/src/components/VStack/VStack.tsx +2 -1
- package/src/components/docs/modeControls.tsx +122 -0
- package/src/components/index.ts +11 -1
- package/src/design-tokens/Coin Variables-variables-full.json +1 -1
- package/src/design-tokens/JFSThemeProvider.tsx +4 -3
- package/src/design-tokens/figma-modes.generated.ts +425 -0
- package/src/design-tokens/index.ts +1 -0
- package/src/icons/registry.ts +1 -1
- package/src/skeleton/Skeleton.tsx +2 -1
- package/src/utils/react-utils.ts +26 -2
- package/lib/typescript/scripts/extract-component-tokens.d.ts +0 -9
- package/lib/typescript/scripts/generate-component-docs.d.ts +0 -9
- package/lib/typescript/scripts/generate-icon-registry.d.ts +0 -3
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _figmaVariablesResolver = require("../../design-tokens/figma-variables-resolver");
|
|
10
|
+
var _reactUtils = require("../../utils/react-utils");
|
|
11
|
+
var _Title = _interopRequireDefault(require("../Title/Title"));
|
|
12
|
+
var _Divider = _interopRequireDefault(require("../Divider/Divider"));
|
|
13
|
+
var _Button = _interopRequireDefault(require("../Button/Button"));
|
|
14
|
+
var _Image = _interopRequireDefault(require("../Image/Image"));
|
|
15
|
+
var _Icon = _interopRequireDefault(require("../Icon/Icon"));
|
|
16
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
18
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
19
|
+
/**
|
|
20
|
+
* A single metric column inside the card's stats row: a small title, a bold
|
|
21
|
+
* value and an optional muted caption.
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* PdpCcCard — Figma node 5352:935 ("PDP cc card").
|
|
26
|
+
*
|
|
27
|
+
* A centered white product/PDP card composed from the shared design-system
|
|
28
|
+
* primitives so it stays in sync with the rest of the library:
|
|
29
|
+
*
|
|
30
|
+
* - **Media** — a top image slot (`Image`, rounded via `image/radius`). Pass
|
|
31
|
+
* `imageSource` for the default image or `media` for a full slot override.
|
|
32
|
+
* - **Title** — a centered headline + subtitle rendered through the shared
|
|
33
|
+
* {@link Title} component (`title/*`, `pageSubtitle/*` tokens).
|
|
34
|
+
* - **Metrics** — a row of {@link PdpCcCardMetric} columns (title / value /
|
|
35
|
+
* caption) separated by vertical `Divider`s (`metricdata/*` tokens).
|
|
36
|
+
* - **CTA** — a small tonal {@link Button} (`Button / Size: S`,
|
|
37
|
+
* `AppearanceBrand: Secondary`, `Emphasis: Medium`) with a leading icon.
|
|
38
|
+
*
|
|
39
|
+
* All defaults can be overridden via `modes`.
|
|
40
|
+
*/
|
|
41
|
+
function PdpCcCard({
|
|
42
|
+
imageSource,
|
|
43
|
+
imageWidth = 100,
|
|
44
|
+
imageHeight = 60,
|
|
45
|
+
media,
|
|
46
|
+
title = 'Title',
|
|
47
|
+
subtitle = 'Subtitle',
|
|
48
|
+
metrics = DEFAULT_METRICS,
|
|
49
|
+
buttonLabel = 'button',
|
|
50
|
+
buttonIcon = 'ic_add_circle',
|
|
51
|
+
onButtonPress,
|
|
52
|
+
button,
|
|
53
|
+
showButton = true,
|
|
54
|
+
onPress,
|
|
55
|
+
width = 344,
|
|
56
|
+
modes = _reactUtils.EMPTY_MODES,
|
|
57
|
+
style,
|
|
58
|
+
accessibilityLabel
|
|
59
|
+
}) {
|
|
60
|
+
const tokens = (0, _react.useMemo)(() => resolveTokens(modes), [modes]);
|
|
61
|
+
|
|
62
|
+
// The CTA uses the brand "Secondary" appearance at "Medium" emphasis (lilac
|
|
63
|
+
// fill + purple label) and the small size — matching the design. A
|
|
64
|
+
// consumer-supplied `modes` value still wins via spread order.
|
|
65
|
+
const ctaModes = (0, _react.useMemo)(() => ({
|
|
66
|
+
AppearanceBrand: 'Secondary',
|
|
67
|
+
Emphasis: 'Medium',
|
|
68
|
+
'Button / Size': 'S',
|
|
69
|
+
...modes
|
|
70
|
+
}), [modes]);
|
|
71
|
+
const buttonForeground = (0, _react.useMemo)(() => asStr((0, _figmaVariablesResolver.getVariableByName)('button/foreground', ctaModes), '#5d00b5'), [ctaModes]);
|
|
72
|
+
const mediaNode = media ? (0, _reactUtils.cloneChildrenWithModes)(media, modes) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_Image.default, {
|
|
73
|
+
imageSource: imageSource,
|
|
74
|
+
width: imageWidth,
|
|
75
|
+
height: imageHeight,
|
|
76
|
+
borderRadius: tokens.imageRadius,
|
|
77
|
+
resizeMode: "cover",
|
|
78
|
+
accessibilityElementsHidden: true,
|
|
79
|
+
importantForAccessibility: "no"
|
|
80
|
+
});
|
|
81
|
+
const ctaNode = button ? (0, _reactUtils.cloneChildrenWithModes)(button, ctaModes) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.default, {
|
|
82
|
+
label: buttonLabel,
|
|
83
|
+
modes: ctaModes,
|
|
84
|
+
onPress: onButtonPress,
|
|
85
|
+
leading: buttonIcon ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.default, {
|
|
86
|
+
iconName: buttonIcon,
|
|
87
|
+
size: tokens.buttonIconSize,
|
|
88
|
+
color: buttonForeground
|
|
89
|
+
}) : undefined
|
|
90
|
+
});
|
|
91
|
+
const content = /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
92
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
93
|
+
style: styles.mediaSlot,
|
|
94
|
+
children: mediaNode
|
|
95
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Title.default, {
|
|
96
|
+
title: title,
|
|
97
|
+
subtitle: subtitle,
|
|
98
|
+
textAlign: "Center",
|
|
99
|
+
modes: modes
|
|
100
|
+
}), metrics.length > 0 ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
101
|
+
style: styles.metricsRow,
|
|
102
|
+
children: metrics.map((metric, index) => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_react.default.Fragment, {
|
|
103
|
+
children: [index > 0 ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_Divider.default, {
|
|
104
|
+
direction: "vertical",
|
|
105
|
+
modes: modes,
|
|
106
|
+
style: styles.metricDivider
|
|
107
|
+
}) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(Metricdata, {
|
|
108
|
+
metric: metric,
|
|
109
|
+
tokens: tokens
|
|
110
|
+
})]
|
|
111
|
+
}, index))
|
|
112
|
+
}) : null, showButton ? ctaNode : null]
|
|
113
|
+
});
|
|
114
|
+
const containerStyle = (0, _react.useMemo)(() => ({
|
|
115
|
+
...tokens.container,
|
|
116
|
+
width
|
|
117
|
+
}), [tokens.container, width]);
|
|
118
|
+
if (onPress) {
|
|
119
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Pressable, {
|
|
120
|
+
style: ({
|
|
121
|
+
pressed
|
|
122
|
+
}) => [containerStyle, pressed ? styles.pressed : null, style],
|
|
123
|
+
accessibilityRole: "button",
|
|
124
|
+
accessibilityLabel: accessibilityLabel ?? title,
|
|
125
|
+
onPress: onPress,
|
|
126
|
+
children: content
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
130
|
+
style: [containerStyle, style],
|
|
131
|
+
accessibilityLabel: accessibilityLabel,
|
|
132
|
+
children: content
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
// ---------------------------------------------------------------------------
|
|
137
|
+
// Metricdata — internal metric column (Figma node 5352:256)
|
|
138
|
+
// ---------------------------------------------------------------------------
|
|
139
|
+
|
|
140
|
+
function Metricdata({
|
|
141
|
+
metric,
|
|
142
|
+
tokens
|
|
143
|
+
}) {
|
|
144
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
145
|
+
style: tokens.metric,
|
|
146
|
+
children: [metric.title != null ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
147
|
+
style: tokens.metricTitle,
|
|
148
|
+
children: metric.title
|
|
149
|
+
}) : null, metric.value != null ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
150
|
+
style: tokens.metricValue,
|
|
151
|
+
children: metric.value
|
|
152
|
+
}) : null, metric.caption != null ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
153
|
+
style: tokens.metricCaption,
|
|
154
|
+
children: metric.caption
|
|
155
|
+
}) : null]
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
// ---------------------------------------------------------------------------
|
|
160
|
+
// Tokens / static styles
|
|
161
|
+
// ---------------------------------------------------------------------------
|
|
162
|
+
|
|
163
|
+
function asNum(raw, fallback) {
|
|
164
|
+
const n = typeof raw === 'number' ? raw : parseFloat(raw);
|
|
165
|
+
return Number.isFinite(n) ? n : fallback;
|
|
166
|
+
}
|
|
167
|
+
function asStr(raw, fallback) {
|
|
168
|
+
return raw != null ? String(raw) : fallback;
|
|
169
|
+
}
|
|
170
|
+
function resolveTokens(modes) {
|
|
171
|
+
// NOTE: token names are passed as string literals DIRECTLY to
|
|
172
|
+
// getVariableByName so the `extract-component-tokens` script can statically
|
|
173
|
+
// collect them for the generated docs. Do not refactor these into a helper
|
|
174
|
+
// that receives the name as a variable.
|
|
175
|
+
const background = asStr((0, _figmaVariablesResolver.getVariableByName)('PDPcccard/bg/color', modes), '#ffffff');
|
|
176
|
+
const paddingHorizontal = asNum((0, _figmaVariablesResolver.getVariableByName)('PDPcccard/padding/horizontal', modes), 16);
|
|
177
|
+
const paddingVertical = asNum((0, _figmaVariablesResolver.getVariableByName)('PDPcccard/padding/vertical', modes), 20);
|
|
178
|
+
const gap = asNum((0, _figmaVariablesResolver.getVariableByName)('PDPcccard/gap', modes), 12);
|
|
179
|
+
const imageRadius = asNum((0, _figmaVariablesResolver.getVariableByName)('image/radius', modes), 8);
|
|
180
|
+
const buttonIconSize = asNum((0, _figmaVariablesResolver.getVariableByName)('button/iconSize', modes), 16);
|
|
181
|
+
const metricGap = asNum((0, _figmaVariablesResolver.getVariableByName)('metricdata/gap', modes), 4);
|
|
182
|
+
const metricPadH = asNum((0, _figmaVariablesResolver.getVariableByName)('metricdata/padding/horizontal', modes), 10);
|
|
183
|
+
const metricPadV = asNum((0, _figmaVariablesResolver.getVariableByName)('metricdata/padding/vertical', modes), 10);
|
|
184
|
+
const titleColor = asStr((0, _figmaVariablesResolver.getVariableByName)('metricdata/title/color', modes), '#000000');
|
|
185
|
+
const titleSize = asNum((0, _figmaVariablesResolver.getVariableByName)('metricdata/title/fontsize', modes), 12);
|
|
186
|
+
const titleFamily = asStr((0, _figmaVariablesResolver.getVariableByName)('metricdata/title/fontfamily', modes), 'JioType Var');
|
|
187
|
+
const titleWeight = asStr((0, _figmaVariablesResolver.getVariableByName)('metricdata/title/fontweight', modes), '400');
|
|
188
|
+
const valueColor = asStr((0, _figmaVariablesResolver.getVariableByName)('metricdata/value/color', modes), '#000000');
|
|
189
|
+
const valueSize = asNum((0, _figmaVariablesResolver.getVariableByName)('metricdata/value/fontsize', modes), 20);
|
|
190
|
+
const valueFamily = asStr((0, _figmaVariablesResolver.getVariableByName)('metricdata/value/fontfamily', modes), 'JioType Var');
|
|
191
|
+
const valueWeight = asStr((0, _figmaVariablesResolver.getVariableByName)('metricdata/value/fontweight', modes), '700');
|
|
192
|
+
const captionColor = asStr((0, _figmaVariablesResolver.getVariableByName)('metricdata/caption/color', modes), '#777777');
|
|
193
|
+
const captionSize = asNum((0, _figmaVariablesResolver.getVariableByName)('metricdata/caption/fontsize', modes), 12);
|
|
194
|
+
const captionFamily = asStr((0, _figmaVariablesResolver.getVariableByName)('metricdata/caption/fontfamily', modes), 'JioType Var');
|
|
195
|
+
const captionWeight = asStr((0, _figmaVariablesResolver.getVariableByName)('metricdata/caption/fontweight', modes), '500');
|
|
196
|
+
return {
|
|
197
|
+
container: {
|
|
198
|
+
backgroundColor: background,
|
|
199
|
+
paddingHorizontal,
|
|
200
|
+
paddingVertical,
|
|
201
|
+
gap,
|
|
202
|
+
flexDirection: 'column',
|
|
203
|
+
alignItems: 'center',
|
|
204
|
+
justifyContent: 'center'
|
|
205
|
+
},
|
|
206
|
+
imageRadius,
|
|
207
|
+
buttonIconSize,
|
|
208
|
+
metric: {
|
|
209
|
+
flex: 1,
|
|
210
|
+
gap: metricGap,
|
|
211
|
+
paddingHorizontal: metricPadH,
|
|
212
|
+
paddingVertical: metricPadV,
|
|
213
|
+
alignItems: 'center',
|
|
214
|
+
justifyContent: 'center'
|
|
215
|
+
},
|
|
216
|
+
metricTitle: {
|
|
217
|
+
color: titleColor,
|
|
218
|
+
fontSize: titleSize,
|
|
219
|
+
fontFamily: titleFamily,
|
|
220
|
+
fontWeight: titleWeight,
|
|
221
|
+
lineHeight: Math.round(titleSize * 1.2),
|
|
222
|
+
textAlign: 'center',
|
|
223
|
+
includeFontPadding: false
|
|
224
|
+
},
|
|
225
|
+
metricValue: {
|
|
226
|
+
color: valueColor,
|
|
227
|
+
fontSize: valueSize,
|
|
228
|
+
fontFamily: valueFamily,
|
|
229
|
+
fontWeight: valueWeight,
|
|
230
|
+
lineHeight: Math.round(valueSize * 1.2),
|
|
231
|
+
textAlign: 'center',
|
|
232
|
+
includeFontPadding: false
|
|
233
|
+
},
|
|
234
|
+
metricCaption: {
|
|
235
|
+
color: captionColor,
|
|
236
|
+
fontSize: captionSize,
|
|
237
|
+
fontFamily: captionFamily,
|
|
238
|
+
fontWeight: captionWeight,
|
|
239
|
+
lineHeight: Math.round(captionSize * 1.2),
|
|
240
|
+
textAlign: 'center',
|
|
241
|
+
includeFontPadding: false
|
|
242
|
+
}
|
|
243
|
+
};
|
|
244
|
+
}
|
|
245
|
+
const DEFAULT_METRICS = [{
|
|
246
|
+
title: 'Title',
|
|
247
|
+
value: 'Value',
|
|
248
|
+
caption: 'caption'
|
|
249
|
+
}, {
|
|
250
|
+
title: 'Title',
|
|
251
|
+
value: 'Value',
|
|
252
|
+
caption: 'caption'
|
|
253
|
+
}];
|
|
254
|
+
const styles = _reactNative.StyleSheet.create({
|
|
255
|
+
mediaSlot: {
|
|
256
|
+
alignSelf: 'stretch',
|
|
257
|
+
alignItems: 'center',
|
|
258
|
+
justifyContent: 'center'
|
|
259
|
+
},
|
|
260
|
+
metricsRow: {
|
|
261
|
+
alignSelf: 'stretch',
|
|
262
|
+
flexDirection: 'row',
|
|
263
|
+
alignItems: 'stretch'
|
|
264
|
+
},
|
|
265
|
+
metricDivider: {
|
|
266
|
+
alignSelf: 'center',
|
|
267
|
+
height: '70%'
|
|
268
|
+
},
|
|
269
|
+
pressed: {
|
|
270
|
+
opacity: 0.92
|
|
271
|
+
}
|
|
272
|
+
});
|
|
273
|
+
var _default = exports.default = PdpCcCard;
|
|
@@ -11,7 +11,8 @@ var _reactUtils = require("../../utils/react-utils");
|
|
|
11
11
|
var _Icon = _interopRequireDefault(require("../../icons/Icon"));
|
|
12
12
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
-
/** Figma grid: label column 1.8fr, each plan column 1fr. */
|
|
14
|
+
/** Figma grid: label column 1.8fr, each plan column 1fr. */
|
|
15
|
+
const LABEL_COLUMN_FR = 1.8;
|
|
15
16
|
const PLAN_COLUMN_FR = 1;
|
|
16
17
|
|
|
17
18
|
/**
|
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _blur = require("@react-native-community/blur");
|
|
10
|
+
var _maskedView = _interopRequireDefault(require("@react-native-masked-view/masked-view"));
|
|
11
|
+
var _reactNativeSvg = _interopRequireWildcard(require("react-native-svg"));
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
15
|
+
const DEFAULT_FALLBACK_DARK = '#1414174a';
|
|
16
|
+
const DEFAULT_FALLBACK_LIGHT = '#ffffff66';
|
|
17
|
+
|
|
18
|
+
// The native view-manager name registered by `@react-native-community/blur`
|
|
19
|
+
// (`AndroidBlurView` on Android, `BlurView` on iOS).
|
|
20
|
+
const NATIVE_BLUR_NAME = _reactNative.Platform.OS === 'android' ? 'AndroidBlurView' : 'BlurView';
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Alpha stop on a layer's vertical reveal mask. `offset` is the vertical
|
|
24
|
+
* position (0 = top of the surface, 1 = bottom); `opacity` is the mask alpha
|
|
25
|
+
* there (0 = layer hidden / fully clear, 1 = layer fully applied).
|
|
26
|
+
*
|
|
27
|
+
* Using several stops (rather than a single linear 0 → 1 ramp) lets each layer
|
|
28
|
+
* EASE in, so the blur swells smoothly toward the bottom instead of appearing
|
|
29
|
+
* along a hard horizontal seam. That soft S-curve is what gives the surface its
|
|
30
|
+
* "glass" feel rather than a flat translucent panel.
|
|
31
|
+
*/
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* A single layer of the progressive ramp.
|
|
35
|
+
* - `stops` describe how this layer is revealed from top to bottom.
|
|
36
|
+
* - `amount` is this layer's share (0–1) of the max `blurAmount`.
|
|
37
|
+
*
|
|
38
|
+
* We stack just TWO layers on both platforms: a faint base blur that covers
|
|
39
|
+
* most of the footer and a slightly stronger accent concentrated near the
|
|
40
|
+
* bottom. Keeping the overlap shallow avoids compounding the dark tint of
|
|
41
|
+
* multiple `BlurView`s (which is what made the earlier 3-layer ramp read as a
|
|
42
|
+
* heavy block), while still giving a genuine variable-radius result — the blur
|
|
43
|
+
* radius grows toward the bottom where the two layers overlap.
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
// Base reveal: a faint trace of blur begins near the very top and grows
|
|
47
|
+
// steadily downward, so the upper half still carries visible glass rather than
|
|
48
|
+
// snapping clear. Also reused for the no-native-blur fallback scrim.
|
|
49
|
+
const BASE_MASK_STOPS = [{
|
|
50
|
+
offset: 0.0,
|
|
51
|
+
opacity: 0
|
|
52
|
+
}, {
|
|
53
|
+
offset: 0.08,
|
|
54
|
+
opacity: 0.12
|
|
55
|
+
}, {
|
|
56
|
+
offset: 0.35,
|
|
57
|
+
opacity: 0.4
|
|
58
|
+
}, {
|
|
59
|
+
offset: 0.65,
|
|
60
|
+
opacity: 0.8
|
|
61
|
+
}, {
|
|
62
|
+
offset: 1.0,
|
|
63
|
+
opacity: 1
|
|
64
|
+
}];
|
|
65
|
+
const PROGRESSIVE_LAYERS = [{
|
|
66
|
+
amount: 0.65,
|
|
67
|
+
stops: BASE_MASK_STOPS
|
|
68
|
+
},
|
|
69
|
+
// Accent: the strongest blur, gathering over the lower portion for depth.
|
|
70
|
+
{
|
|
71
|
+
amount: 1.0,
|
|
72
|
+
stops: [{
|
|
73
|
+
offset: 0.0,
|
|
74
|
+
opacity: 0
|
|
75
|
+
}, {
|
|
76
|
+
offset: 0.3,
|
|
77
|
+
opacity: 0.15
|
|
78
|
+
}, {
|
|
79
|
+
offset: 0.65,
|
|
80
|
+
opacity: 0.65
|
|
81
|
+
}, {
|
|
82
|
+
offset: 1.0,
|
|
83
|
+
opacity: 1
|
|
84
|
+
}]
|
|
85
|
+
}];
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Probe ONCE whether the native blur view is actually present in this binary.
|
|
89
|
+
*
|
|
90
|
+
* `@react-native-community/blur` is a peer dependency so its JS always imports,
|
|
91
|
+
* but on a build where the native module was never linked (e.g. `pod install`
|
|
92
|
+
* wasn't run on iOS) rendering `<BlurView>` shows React Native's red
|
|
93
|
+
* "Unimplemented component <BlurView>" placeholder. Detecting availability up
|
|
94
|
+
* front lets us fall back to a tinted scrim instead of crashing the surface.
|
|
95
|
+
*
|
|
96
|
+
* - New architecture (bridgeless): `getViewManagerConfig` raises a soft error,
|
|
97
|
+
* so we MUST use `hasViewManagerConfig` -> Fabric component registry.
|
|
98
|
+
* - Old architecture (Paper): `getViewManagerConfig` returns null when the
|
|
99
|
+
* view manager isn't registered.
|
|
100
|
+
*/
|
|
101
|
+
const NATIVE_BLUR_SUPPORTED = (() => {
|
|
102
|
+
try {
|
|
103
|
+
const um = _reactNative.UIManager;
|
|
104
|
+
if (typeof um.hasViewManagerConfig === 'function') {
|
|
105
|
+
return um.hasViewManagerConfig(NATIVE_BLUR_NAME) === true;
|
|
106
|
+
}
|
|
107
|
+
if (typeof um.getViewManagerConfig === 'function') {
|
|
108
|
+
return um.getViewManagerConfig(NATIVE_BLUR_NAME) != null;
|
|
109
|
+
}
|
|
110
|
+
} catch {
|
|
111
|
+
// Any probe failure -> treat blur as unavailable and use the fallback.
|
|
112
|
+
}
|
|
113
|
+
return false;
|
|
114
|
+
})();
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Vertical alpha-gradient mask drawn with `react-native-svg`. `MaskedView`
|
|
118
|
+
* reveals its child in proportion to this mask's alpha, so feeding it an eased
|
|
119
|
+
* multi-stop gradient makes the layer's blur swell in smoothly from top to
|
|
120
|
+
* bottom instead of along a hard seam.
|
|
121
|
+
*/
|
|
122
|
+
function GradientMask({
|
|
123
|
+
id,
|
|
124
|
+
stops
|
|
125
|
+
}) {
|
|
126
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNativeSvg.default, {
|
|
127
|
+
width: "100%",
|
|
128
|
+
height: "100%",
|
|
129
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Defs, {
|
|
130
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.LinearGradient, {
|
|
131
|
+
id: id,
|
|
132
|
+
x1: "0",
|
|
133
|
+
y1: "0",
|
|
134
|
+
x2: "0",
|
|
135
|
+
y2: "1",
|
|
136
|
+
children: stops.map((s, i) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Stop, {
|
|
137
|
+
offset: s.offset,
|
|
138
|
+
stopColor: "#000000",
|
|
139
|
+
stopOpacity: s.opacity
|
|
140
|
+
}, i))
|
|
141
|
+
})
|
|
142
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Rect, {
|
|
143
|
+
x: "0",
|
|
144
|
+
y: "0",
|
|
145
|
+
width: "100%",
|
|
146
|
+
height: "100%",
|
|
147
|
+
fill: `url(#${id})`
|
|
148
|
+
})]
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Glass / frosted surface for native (iOS + Android).
|
|
154
|
+
*
|
|
155
|
+
* Why this lives in its own platform-split file (mirrors `MediaCard/GlassFill`):
|
|
156
|
+
* - `@react-native-community/blur` is a native-only module; importing it on
|
|
157
|
+
* web throws because it references native components not registered there.
|
|
158
|
+
* Metro's platform-extension resolution picks `GlassFill.tsx` for native
|
|
159
|
+
* and `GlassFill.web.tsx` for web, keeping the web bundle native-free.
|
|
160
|
+
* - Centralizes the `intensity` (0–100) -> `blurAmount` (0–32) mapping so the
|
|
161
|
+
* Figma `blur/minimal` token semantics survive across platforms.
|
|
162
|
+
*
|
|
163
|
+
* On iOS (with the pod installed) this is a real `UIVisualEffectView` (true
|
|
164
|
+
* OS-level live blur). On Android it uses the community blur view. When the
|
|
165
|
+
* native module isn't linked in the running binary, the component degrades to
|
|
166
|
+
* a translucent tinted scrim (`reducedTransparencyFallbackColor` / fallback
|
|
167
|
+
* color) instead of rendering the "Unimplemented component" placeholder.
|
|
168
|
+
*/
|
|
169
|
+
function GlassFill({
|
|
170
|
+
tint = 'dark',
|
|
171
|
+
intensity = 50,
|
|
172
|
+
overlayColor,
|
|
173
|
+
progressive = false,
|
|
174
|
+
style
|
|
175
|
+
}) {
|
|
176
|
+
const rawId = (0, _react.useId)();
|
|
177
|
+
const maskId = `glass-mask-${rawId.replace(/[^a-zA-Z0-9_-]/g, '')}`;
|
|
178
|
+
const blurType = tint === 'light' ? 'light' : 'dark';
|
|
179
|
+
const uniformBlurAmount = Math.max(0, Math.min(32, Math.round(intensity * 0.32)));
|
|
180
|
+
const fallbackColor = overlayColor ?? (tint === 'light' ? DEFAULT_FALLBACK_LIGHT : DEFAULT_FALLBACK_DARK);
|
|
181
|
+
|
|
182
|
+
// ----- Progressive (variable) blur -------------------------------------
|
|
183
|
+
if (progressive) {
|
|
184
|
+
// Peak blur radius (at the bottom). Full strength so the frosted glass
|
|
185
|
+
// is clearly engaged where the layers overlap, while the eased masks
|
|
186
|
+
// keep the top of the surface fully clear.
|
|
187
|
+
const peakBlur = Math.max(1, Math.min(32, Math.round(intensity * 0.32)));
|
|
188
|
+
|
|
189
|
+
// Native blur not linked -> tint eases from transparent (top) to a soft
|
|
190
|
+
// fallback color (bottom) so the surface still reads as gentle glass.
|
|
191
|
+
if (!NATIVE_BLUR_SUPPORTED) {
|
|
192
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
193
|
+
style: [_reactNative.StyleSheet.absoluteFill, style],
|
|
194
|
+
pointerEvents: "none",
|
|
195
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_maskedView.default, {
|
|
196
|
+
style: _reactNative.StyleSheet.absoluteFill,
|
|
197
|
+
maskElement: /*#__PURE__*/(0, _jsxRuntime.jsx)(GradientMask, {
|
|
198
|
+
id: `${maskId}-fb`,
|
|
199
|
+
stops: BASE_MASK_STOPS
|
|
200
|
+
}),
|
|
201
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
202
|
+
style: [_reactNative.StyleSheet.absoluteFill, {
|
|
203
|
+
backgroundColor: fallbackColor
|
|
204
|
+
}]
|
|
205
|
+
})
|
|
206
|
+
})
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
210
|
+
style: [_reactNative.StyleSheet.absoluteFill, style],
|
|
211
|
+
pointerEvents: "none",
|
|
212
|
+
children: PROGRESSIVE_LAYERS.map((layer, i) => {
|
|
213
|
+
const amount = Math.max(1, Math.round(peakBlur * layer.amount));
|
|
214
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_maskedView.default, {
|
|
215
|
+
style: _reactNative.StyleSheet.absoluteFill,
|
|
216
|
+
maskElement: /*#__PURE__*/(0, _jsxRuntime.jsx)(GradientMask, {
|
|
217
|
+
id: `${maskId}-${i}`,
|
|
218
|
+
stops: layer.stops
|
|
219
|
+
}),
|
|
220
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_blur.BlurView, {
|
|
221
|
+
style: _reactNative.StyleSheet.absoluteFill,
|
|
222
|
+
blurType: blurType,
|
|
223
|
+
blurAmount: amount,
|
|
224
|
+
reducedTransparencyFallbackColor: fallbackColor
|
|
225
|
+
})
|
|
226
|
+
}, i);
|
|
227
|
+
})
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
// ----- Uniform blur (default) ------------------------------------------
|
|
232
|
+
// Native blur not linked in this build -> render a translucent tinted scrim
|
|
233
|
+
// so the surface still reads as frosted glass and never shows RN's
|
|
234
|
+
// "Unimplemented component <BlurView>" box.
|
|
235
|
+
if (!NATIVE_BLUR_SUPPORTED) {
|
|
236
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
237
|
+
style: [_reactNative.StyleSheet.absoluteFill, {
|
|
238
|
+
backgroundColor: fallbackColor
|
|
239
|
+
}, style],
|
|
240
|
+
pointerEvents: "none"
|
|
241
|
+
});
|
|
242
|
+
}
|
|
243
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
244
|
+
style: [_reactNative.StyleSheet.absoluteFill, style],
|
|
245
|
+
pointerEvents: "none",
|
|
246
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_blur.BlurView, {
|
|
247
|
+
style: _reactNative.StyleSheet.absoluteFill,
|
|
248
|
+
blurType: blurType,
|
|
249
|
+
blurAmount: uniformBlurAmount,
|
|
250
|
+
reducedTransparencyFallbackColor: fallbackColor
|
|
251
|
+
}), overlayColor != null ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
252
|
+
style: [_reactNative.StyleSheet.absoluteFill, {
|
|
253
|
+
backgroundColor: overlayColor
|
|
254
|
+
}]
|
|
255
|
+
}) : null, _reactNative.Platform.OS === 'android' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
256
|
+
style: [_reactNative.StyleSheet.absoluteFill, {
|
|
257
|
+
backgroundColor: 'rgba(255,255,255,0.03)',
|
|
258
|
+
opacity: 0.6
|
|
259
|
+
}]
|
|
260
|
+
}) : null]
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
var _default = exports.default = GlassFill;
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
+
const DEFAULT_FALLBACK_DARK = '#1414174a';
|
|
12
|
+
const DEFAULT_FALLBACK_LIGHT = '#ffffff66';
|
|
13
|
+
|
|
14
|
+
// Mirror of the native ramp (see GlassFill.tsx). Each layer is a `mask-image`
|
|
15
|
+
// gradient whose alpha stops (0 = top, 1 = bottom) ease the blur in; `amount`
|
|
16
|
+
// is the layer's share of the max blur. Two gently-overlapping layers (faint
|
|
17
|
+
// base + bottom accent) keep the surface subtle and glass-like rather than a
|
|
18
|
+
// heavy frosted block.
|
|
19
|
+
|
|
20
|
+
const PROGRESSIVE_LAYERS = [{
|
|
21
|
+
amount: 0.65,
|
|
22
|
+
stops: [{
|
|
23
|
+
offset: 0.0,
|
|
24
|
+
opacity: 0
|
|
25
|
+
}, {
|
|
26
|
+
offset: 0.08,
|
|
27
|
+
opacity: 0.12
|
|
28
|
+
}, {
|
|
29
|
+
offset: 0.35,
|
|
30
|
+
opacity: 0.4
|
|
31
|
+
}, {
|
|
32
|
+
offset: 0.65,
|
|
33
|
+
opacity: 0.8
|
|
34
|
+
}, {
|
|
35
|
+
offset: 1.0,
|
|
36
|
+
opacity: 1
|
|
37
|
+
}]
|
|
38
|
+
}, {
|
|
39
|
+
amount: 1.0,
|
|
40
|
+
stops: [{
|
|
41
|
+
offset: 0.0,
|
|
42
|
+
opacity: 0
|
|
43
|
+
}, {
|
|
44
|
+
offset: 0.3,
|
|
45
|
+
opacity: 0.15
|
|
46
|
+
}, {
|
|
47
|
+
offset: 0.65,
|
|
48
|
+
opacity: 0.65
|
|
49
|
+
}, {
|
|
50
|
+
offset: 1.0,
|
|
51
|
+
opacity: 1
|
|
52
|
+
}]
|
|
53
|
+
}];
|
|
54
|
+
function toGradient(stops) {
|
|
55
|
+
const parts = stops.map(s => `rgba(0,0,0,${s.opacity}) ${Math.round(s.offset * 100)}%`).join(', ');
|
|
56
|
+
return `linear-gradient(to bottom, ${parts})`;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Web counterpart of `GlassFill`.
|
|
61
|
+
*
|
|
62
|
+
* `@react-native-community/blur` ships no web implementation, so on web we
|
|
63
|
+
* render a translucent `View` with `backdrop-filter: blur()`. Native bundles
|
|
64
|
+
* pick up `GlassFill.tsx` instead via Metro's platform resolver; the web
|
|
65
|
+
* bundle picks up this file, so the native-only module is never imported here.
|
|
66
|
+
*/
|
|
67
|
+
function GlassFill({
|
|
68
|
+
tint = 'dark',
|
|
69
|
+
intensity = 50,
|
|
70
|
+
overlayColor,
|
|
71
|
+
progressive = false,
|
|
72
|
+
style
|
|
73
|
+
}) {
|
|
74
|
+
// intensity 0-100 -> ~0-32px CSS blur, kept in parity with the native scale.
|
|
75
|
+
const blurPx = Math.max(0, Math.min(32, Math.round(intensity * 0.32)));
|
|
76
|
+
const tintColor = overlayColor ?? (tint === 'light' ? DEFAULT_FALLBACK_LIGHT : DEFAULT_FALLBACK_DARK);
|
|
77
|
+
if (progressive) {
|
|
78
|
+
// Full peak blur (parity with native) so the frosted glass is clearly
|
|
79
|
+
// engaged at the bottom; the eased masks keep the top fully clear.
|
|
80
|
+
const peakPx = Math.max(1, Math.min(32, Math.round(intensity * 0.32)));
|
|
81
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
82
|
+
style: [_reactNative.StyleSheet.absoluteFill, style],
|
|
83
|
+
pointerEvents: "none",
|
|
84
|
+
children: PROGRESSIVE_LAYERS.map((layer, i) => {
|
|
85
|
+
const px = Math.max(1, Math.round(peakPx * layer.amount));
|
|
86
|
+
const gradient = toGradient(layer.stops);
|
|
87
|
+
// web-only CSS (backdrop-filter / mask-image); cast because
|
|
88
|
+
// these keys aren't in RN's ViewStyle.
|
|
89
|
+
const webStyle = {
|
|
90
|
+
backdropFilter: `blur(${px}px)`,
|
|
91
|
+
WebkitBackdropFilter: `blur(${px}px)`,
|
|
92
|
+
maskImage: gradient,
|
|
93
|
+
WebkitMaskImage: gradient
|
|
94
|
+
};
|
|
95
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
96
|
+
style: [_reactNative.StyleSheet.absoluteFill, webStyle],
|
|
97
|
+
pointerEvents: "none"
|
|
98
|
+
}, i);
|
|
99
|
+
})
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
103
|
+
style: [_reactNative.StyleSheet.absoluteFill, {
|
|
104
|
+
backgroundColor: tintColor
|
|
105
|
+
},
|
|
106
|
+
// backdrop-filter is web-only CSS; ignored by RN on native
|
|
107
|
+
// (we never bundle this file there anyway).
|
|
108
|
+
// @ts-ignore web-only style
|
|
109
|
+
{
|
|
110
|
+
backdropFilter: `blur(${blurPx}px)`,
|
|
111
|
+
WebkitBackdropFilter: `blur(${blurPx}px)`
|
|
112
|
+
}, style],
|
|
113
|
+
pointerEvents: "none"
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
var _default = exports.default = GlassFill;
|