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
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import React, { createContext, useContext, ReactNode, useMemo } from 'react';
|
|
3
3
|
import { getVariableByName } from './figma-variables-resolver';
|
|
4
|
+
import type { Modes } from './figma-modes.generated'
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* Shape of the TokenContext
|
|
@@ -10,7 +11,7 @@ interface TokenContextType {
|
|
|
10
11
|
* Current active modes map
|
|
11
12
|
* @example { 'Color Mode': 'Dark', 'Platform': 'mobile' }
|
|
12
13
|
*/
|
|
13
|
-
modes:
|
|
14
|
+
modes: Modes;
|
|
14
15
|
/**
|
|
15
16
|
* Helper to resolve variable by name using the current context modes.
|
|
16
17
|
*/
|
|
@@ -24,7 +25,7 @@ interface JFSThemeProviderProps {
|
|
|
24
25
|
* Modes to apply globally.
|
|
25
26
|
* Can be used to set 'Color Mode', 'Platform', 'Density', etc.
|
|
26
27
|
*/
|
|
27
|
-
modes?:
|
|
28
|
+
modes?: Modes;
|
|
28
29
|
children: ReactNode;
|
|
29
30
|
}
|
|
30
31
|
|
|
@@ -61,7 +62,7 @@ export const JFSThemeProvider: React.FC<JFSThemeProviderProps> = ({
|
|
|
61
62
|
* Hook to access the current design token context.
|
|
62
63
|
*
|
|
63
64
|
* returns {
|
|
64
|
-
* modes:
|
|
65
|
+
* modes: Modes - The current active modes
|
|
65
66
|
* getVariable: (name: string) => any - Function to resolve a token value
|
|
66
67
|
* }
|
|
67
68
|
*/
|
|
@@ -0,0 +1,425 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// -----------------------------------------------------------------------------
|
|
3
|
+
// AUTO-GENERATED — DO NOT EDIT BY HAND.
|
|
4
|
+
//
|
|
5
|
+
// Regenerate with: node scripts/generate-mode-types.js
|
|
6
|
+
//
|
|
7
|
+
// Source of truth: src/design-tokens/Coin Variables-variables-full.json
|
|
8
|
+
//
|
|
9
|
+
// This file turns the Figma "collection -> modes" data into TypeScript so that
|
|
10
|
+
// the `modes` prop accepts ENUM-like, auto-completing values for BOTH the
|
|
11
|
+
// collection-name keys and the mode-name values — instead of raw strings.
|
|
12
|
+
//
|
|
13
|
+
// NOTE: mode/collection names are reproduced EXACTLY as they exist in Figma,
|
|
14
|
+
// including any typos (e.g. "Defult"). They MUST match the runtime resolver, so
|
|
15
|
+
// do not "fix" them here — fix them in Figma and re-export the JSON.
|
|
16
|
+
// -----------------------------------------------------------------------------
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Every design-token collection and its available modes, keyed by the exact
|
|
20
|
+
* collection name used by the resolver and the `modes` prop.
|
|
21
|
+
*/
|
|
22
|
+
export const FIGMA_MODES = {
|
|
23
|
+
"Accordion / Output": ["Default"],
|
|
24
|
+
"Accordion States": ["Idle", "Hover", "Open", "Open Hover", "Disabled"],
|
|
25
|
+
"AccordionCheckbox / Output": ["Default"],
|
|
26
|
+
"AccordionGroup / Output": ["Default"],
|
|
27
|
+
"AccountCard / Output": ["Default"],
|
|
28
|
+
"Action": ["True", "False"],
|
|
29
|
+
"ActionFooter / Output": ["Default"],
|
|
30
|
+
"ActionNumpad / Output": ["Default"],
|
|
31
|
+
"ActionTile / Output": ["Default"],
|
|
32
|
+
"Allocation Comparison Chart / Output": ["Default"],
|
|
33
|
+
"AmountInput / Output": ["Default"],
|
|
34
|
+
"AppBar.MainPage / Output": ["Default"],
|
|
35
|
+
"AppBar.SubPage/ Output": ["Default"],
|
|
36
|
+
"Appearance / DataViz": ["Primary", "Secondary", "Tertiary", "Quaternary", "Quinary", "Senary", "Neutral"],
|
|
37
|
+
"AppearanceBrand": ["Primary", "Secondary", "Neutral", "Tertiary"],
|
|
38
|
+
"AppearanceSystem": ["positive", "warning", "negative"],
|
|
39
|
+
"Attached / Output": ["Default"],
|
|
40
|
+
"Avatar / Output": ["Default"],
|
|
41
|
+
"Avatar Group / Output": ["Default"],
|
|
42
|
+
"Avatar Size": ["L", "M", "S", "XS"],
|
|
43
|
+
"Avatar Type": ["Avatar", "Icon", "Text"],
|
|
44
|
+
"Axis / Output": ["Default"],
|
|
45
|
+
"Background": ["False", "True"],
|
|
46
|
+
"Badge / Output": ["Default"],
|
|
47
|
+
"Badge Size": ["Medium", "Small"],
|
|
48
|
+
"Balance / Output": ["Default"],
|
|
49
|
+
"BankAccountCard / Output": ["Default"],
|
|
50
|
+
"Benefit Card": ["Default"],
|
|
51
|
+
"Blur": ["Default"],
|
|
52
|
+
"bottomNav / Output": ["Default"],
|
|
53
|
+
"BottomNavItem / Output": ["Default"],
|
|
54
|
+
"BottomNavItem / State": ["Idle", "Active"],
|
|
55
|
+
"Brand": ["Jio Finance"],
|
|
56
|
+
"Brand Chip / Output": ["Default"],
|
|
57
|
+
"Button / Output": ["Default"],
|
|
58
|
+
"Button / Size": ["M", "S", "XS"],
|
|
59
|
+
"Button / State": ["Idle", "Hover", "Pressed", "Disabled"],
|
|
60
|
+
"ButtonGroup / Output": ["Default"],
|
|
61
|
+
"Calendar Glyph / Output": ["Default"],
|
|
62
|
+
"Calendar Glyph State": ["Idle", "notSaved", "saved"],
|
|
63
|
+
"Card / Output": ["Default"],
|
|
64
|
+
"Card Feedback / Output": ["Default"],
|
|
65
|
+
"Card.Media": ["Default"],
|
|
66
|
+
"Card/CTA / Output": ["Default"],
|
|
67
|
+
"Card/Insight": ["Mode 1"],
|
|
68
|
+
"Card/ProviderInfo / Output": ["Default"],
|
|
69
|
+
"CardAdvisory / Output": ["Default"],
|
|
70
|
+
"cardsShared": ["Default"],
|
|
71
|
+
"Carousel / Output": ["Default"],
|
|
72
|
+
"CarouselCardAccounts / Output": ["Default"],
|
|
73
|
+
"ccCard / Output": ["Default"],
|
|
74
|
+
"checkbox / Output": ["Default"],
|
|
75
|
+
"Checkbox / Output": ["Default"],
|
|
76
|
+
"Checkbox states": ["Idle", "Hover", "Focus", "Focus Selected", "Selected Hover", "Disabled/Active", "Disabled", "Selected"],
|
|
77
|
+
"CheckboxGroup / Output": ["Default"],
|
|
78
|
+
"CheckboxItem / Output": ["Default"],
|
|
79
|
+
"Chip / Output": ["Default"],
|
|
80
|
+
"Chip lineHeight": ["Default"],
|
|
81
|
+
"ChipGroup / Output": ["Default"],
|
|
82
|
+
"ChipSelect / Output": ["Default"],
|
|
83
|
+
"ChipSelect State": ["Idle", "Active"],
|
|
84
|
+
"Circular Progress Bar / Doted": ["Default"],
|
|
85
|
+
"Circular Rating / Output": ["Defult"],
|
|
86
|
+
"circularProgressBar / Output": ["Default"],
|
|
87
|
+
"circularProgressBar Size": ["S", "M"],
|
|
88
|
+
"clusterBubble / Output": ["Default"],
|
|
89
|
+
"coincard": ["Mode 1"],
|
|
90
|
+
"Color Mode": ["Light", "Dark"],
|
|
91
|
+
"comparetablecell": ["Mode 1"],
|
|
92
|
+
"comparetableheader": ["Mode 1"],
|
|
93
|
+
"Comparison Floating card": ["Default"],
|
|
94
|
+
"ComparisonCardItem": ["Default"],
|
|
95
|
+
"Confidence": ["High", "Medium", "Low", "None"],
|
|
96
|
+
"ContentSheet / Output": ["Default"],
|
|
97
|
+
"Context": ["Default", "Nudge&Alert", "CTACard", "ListItem"],
|
|
98
|
+
"Context2": ["Default", "AppBar"],
|
|
99
|
+
"Context3": ["Default", "Transaction Bubble", "Balance & Cards", "Amount Input"],
|
|
100
|
+
"Context4": ["Default", "Chip", "Button"],
|
|
101
|
+
"context5": ["Default", "Fullscreen Modal"],
|
|
102
|
+
"context7": ["Default", "Card"],
|
|
103
|
+
"Contrast Context": ["on dark", "on light"],
|
|
104
|
+
"Conversation Feed / Output": ["Default"],
|
|
105
|
+
"Counter Badge / Output": ["Mode 1"],
|
|
106
|
+
"Coverage Bar Comparison / Output": ["Default"],
|
|
107
|
+
"CoverageRing / Output": ["Mode 1"],
|
|
108
|
+
"CTACard / Output": ["Default"],
|
|
109
|
+
"DataViz / Output": ["Default"],
|
|
110
|
+
"DebitCard / Output": ["Default"],
|
|
111
|
+
"DebitCard brand": ["JFS", "SBI"],
|
|
112
|
+
"DebitCardStack / Output": ["Default"],
|
|
113
|
+
"DetailItem / Output": ["Default"],
|
|
114
|
+
"Disclaimer / Output": ["Default"],
|
|
115
|
+
"Divider / Output": ["Default"],
|
|
116
|
+
"Donut Chart / Output": ["Default"],
|
|
117
|
+
"Drawer / Output": ["Default"],
|
|
118
|
+
"Dropdown / Output": ["Default"],
|
|
119
|
+
"Dropdown Item / Output": ["Default"],
|
|
120
|
+
"Dropdown Item State": ["Idle", "Selected"],
|
|
121
|
+
"Emphasis": ["High", "Medium", "Low"],
|
|
122
|
+
"Emphasis / DataViz": ["High", "Medium", "Low"],
|
|
123
|
+
"EmptyState / Output": ["Default"],
|
|
124
|
+
"ExpandableCheckbox / Output": ["Default"],
|
|
125
|
+
"Feedback / Output": ["Default"],
|
|
126
|
+
"filterBar / Output": ["Default"],
|
|
127
|
+
"FinancialConditionCard / Output": ["Default"],
|
|
128
|
+
"Form / Output": ["Default"],
|
|
129
|
+
"FormField / Output": ["Default"],
|
|
130
|
+
"FormField States": ["Idle", "Active", "Read Only", "Error", "Disabled"],
|
|
131
|
+
"FullScreenModal": ["Default"],
|
|
132
|
+
"Gap": ["S", "M", "L", "None"],
|
|
133
|
+
"Gauge / Output": ["Default"],
|
|
134
|
+
"Handle Boolean": ["False", "True"],
|
|
135
|
+
"Heading / Output": ["Default"],
|
|
136
|
+
"Heading text": ["Default", "Slot"],
|
|
137
|
+
"Holdings card / Output": ["Default"],
|
|
138
|
+
"HStack / Output": ["Default"],
|
|
139
|
+
"Icon / Output": ["Default"],
|
|
140
|
+
"Icon Button / Output": ["Default"],
|
|
141
|
+
"Icon Capsule / Output": ["Default"],
|
|
142
|
+
"Icon Capsule Size": ["M", "L", "S", "XS"],
|
|
143
|
+
"Image / Output": ["Default"],
|
|
144
|
+
"Input / Output": ["Default"],
|
|
145
|
+
"Input/PINSlot States": ["Idle", "Active", "Error"],
|
|
146
|
+
"Input/PINSlot / Output": ["Default"],
|
|
147
|
+
"InputField / Output": ["Default"],
|
|
148
|
+
"InputState": ["Idle", "Active"],
|
|
149
|
+
"Institution Badge / Output": ["Default"],
|
|
150
|
+
"isActive": ["False", "True"],
|
|
151
|
+
"lazyList / Output": ["Default"],
|
|
152
|
+
"LinearMeter / Output": ["Default"],
|
|
153
|
+
"LinearProgress / Output": ["Default"],
|
|
154
|
+
"LinearProgress Size": ["M", "L"],
|
|
155
|
+
"Link / Output": ["Default"],
|
|
156
|
+
"List Item / Output": ["Default"],
|
|
157
|
+
"List Item Style": ["Default", "Boxed", "Minimal"],
|
|
158
|
+
"listGroup / Output": ["Default"],
|
|
159
|
+
"ListItem State": ["Idle", "Active"],
|
|
160
|
+
"LottieIntroBlock / Output": ["Default"],
|
|
161
|
+
"Media / Output": ["L", "M", "S"],
|
|
162
|
+
"MediaBlock": ["IconCapsule", "Image"],
|
|
163
|
+
"MerchantProfile / Output": ["Default"],
|
|
164
|
+
"Message Direction": ["Incoming (Left)", "Outgoing (Right)"],
|
|
165
|
+
"Message Row / Output": ["Default"],
|
|
166
|
+
"MessageField / Output": ["Default"],
|
|
167
|
+
"metricdata": ["Mode 1"],
|
|
168
|
+
"MetricLegendItem / Output": ["Default"],
|
|
169
|
+
"Money Value / Output": ["Default"],
|
|
170
|
+
"MonthlyStatusGrid / Output": ["Default"],
|
|
171
|
+
"Multipliers": ["Idle"],
|
|
172
|
+
"NavArrow": ["Default"],
|
|
173
|
+
"NavArrow / Output": ["Default"],
|
|
174
|
+
"NavArrow Direction": ["Left&Right", "Top&Bottom"],
|
|
175
|
+
"NoteInput / Output": ["Default"],
|
|
176
|
+
"Nudge / Output": ["Default"],
|
|
177
|
+
"Nudge padding": ["Default", "None"],
|
|
178
|
+
"Numpad / Output": ["Default"],
|
|
179
|
+
"OTP / Output": ["Mode 1"],
|
|
180
|
+
"Overlay / Output": ["Mode 1"],
|
|
181
|
+
"Padding": ["Default", "None"],
|
|
182
|
+
"Page type": ["MainPage", "SubPage", "JioPlus"],
|
|
183
|
+
"PageHero / Output": ["Default"],
|
|
184
|
+
"PaymnetFeedback / Output": ["Default"],
|
|
185
|
+
"PDP cc card": ["Mode 1"],
|
|
186
|
+
"peekOffset": ["Medium", "Small", "Large", "None"],
|
|
187
|
+
"Placement": ["Prefix", "Suffix"],
|
|
188
|
+
"PlanComparisonCard / Output": ["Default"],
|
|
189
|
+
"Popup / Output": ["Default"],
|
|
190
|
+
"PortfolioHero / Output": ["Default"],
|
|
191
|
+
"PoweredByLabel": ["Default"],
|
|
192
|
+
"Product Merchandising card": ["Mode 1"],
|
|
193
|
+
"ProductLabel / Output": ["Default"],
|
|
194
|
+
"ProductOverview / Output": ["Default"],
|
|
195
|
+
"ProgressBadge / Output": ["Default"],
|
|
196
|
+
"ProjectionMarker": ["Mode 1"],
|
|
197
|
+
"QR code / Output": ["Idle"],
|
|
198
|
+
"Radio / Output": ["Default"],
|
|
199
|
+
"Radius": ["S", "M", "L", "None"],
|
|
200
|
+
"RangeTrack / Output": ["Default"],
|
|
201
|
+
"RechargeCard / Output": ["Default"],
|
|
202
|
+
"rotfl": ["Default"],
|
|
203
|
+
"SavingsGoalSummary / Output": ["Default"],
|
|
204
|
+
"Screen / Output": ["Default"],
|
|
205
|
+
"SearchFilterBar / Output": ["Default"],
|
|
206
|
+
"Section / Output": ["Defult"],
|
|
207
|
+
"SectionBentoGrid / Output": ["Default"],
|
|
208
|
+
"Segment Indicator / Output": ["Default"],
|
|
209
|
+
"SegmentedControl / Output": ["Default"],
|
|
210
|
+
"SegmentedControl/Segment": ["Idle", "Active"],
|
|
211
|
+
"SegmentedControl/Segment / Output": ["Default"],
|
|
212
|
+
"SegmentedTrack / Output": ["Default"],
|
|
213
|
+
"Selectable": ["False", "True"],
|
|
214
|
+
"selectioncard": ["Mode 1"],
|
|
215
|
+
"Semantic Intent": ["Brand", "System"],
|
|
216
|
+
"Skeleton": ["Mode 1"],
|
|
217
|
+
"Slider / Output": ["Default"],
|
|
218
|
+
"Slot gap": ["S", "M", "L", "XL"],
|
|
219
|
+
"special button": ["Default"],
|
|
220
|
+
"Spinner / Output": ["Default"],
|
|
221
|
+
"statGroup / Output": ["Default"],
|
|
222
|
+
"StatItem / Output": ["Default"],
|
|
223
|
+
"StatItem Label Position ": ["Top", "Bottom"],
|
|
224
|
+
"Status": ["Auto", "Warning", "Error", "Success", "Loading", "Neutral"],
|
|
225
|
+
"StatusHero / Output": ["Default"],
|
|
226
|
+
"Step Indicator / Output": ["Default"],
|
|
227
|
+
"Step Status": ["active", "inactive", "complete", "error", "warning"],
|
|
228
|
+
"Steper Item / Output": ["Default"],
|
|
229
|
+
"Stepper / Output": ["Default"],
|
|
230
|
+
"StrengthIndicator / Output": ["Default"],
|
|
231
|
+
"Sufix": ["False", "True"],
|
|
232
|
+
"SummaryTile / Output": ["Default"],
|
|
233
|
+
"SupportText / Output": ["Default"],
|
|
234
|
+
"Swappable subComponent / Output": ["Default"],
|
|
235
|
+
"SwappableAmount / Output": ["Default"],
|
|
236
|
+
"tabItem / Output": ["Default"],
|
|
237
|
+
"Tabs / Output": ["Default"],
|
|
238
|
+
"TestimonialsCard": ["Default"],
|
|
239
|
+
"Text / Output": ["Default"],
|
|
240
|
+
"Text Appearance": ["Neutral", "Primary", "Secondary", "Tertiary"],
|
|
241
|
+
"Text Sizes": ["Medium", "Small"],
|
|
242
|
+
"textInput / Output": ["Default"],
|
|
243
|
+
"TextSegment / Output": ["Default"],
|
|
244
|
+
"Thread Hero / Output": ["Default"],
|
|
245
|
+
"Title / Output": ["Default"],
|
|
246
|
+
"Title Level": ["Default", "Bold"],
|
|
247
|
+
"Toggle / Output": ["Default"],
|
|
248
|
+
"Toggle States": ["Off", "On", "Disabled Off", "Disabled On"],
|
|
249
|
+
"ToggleIconButton / Output": ["Default"],
|
|
250
|
+
"Tooltip": ["True", "False"],
|
|
251
|
+
"tooltip / Output": ["Default"],
|
|
252
|
+
"Tost Output": ["Default"],
|
|
253
|
+
"Transaction Status": ["Request", "Paid", "Declined", "Expired"],
|
|
254
|
+
"Transaction Status / Output": ["Default"],
|
|
255
|
+
"TransactionBubble / Output": ["Default"],
|
|
256
|
+
"TransationDetails / Output": ["Default"],
|
|
257
|
+
"UPI Handle / Output": ["Default"],
|
|
258
|
+
"ValueBar / Output": ["Default"],
|
|
259
|
+
"VStack / Output": ["Default"],
|
|
260
|
+
"Weight": ["Medium", "Regular", "Bold"],
|
|
261
|
+
} as const;
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* Multi-mode collections each component actually uses (derived from the token
|
|
265
|
+
* tracing in `.token-metadata.json`). Drives the per-component Storybook mode
|
|
266
|
+
* select controls. Empty until `extract-component-tokens.js` has run.
|
|
267
|
+
*/
|
|
268
|
+
export const FIGMA_COMPONENT_MODES: Record<string, readonly string[]> = {
|
|
269
|
+
"Accordion": ["Accordion States"],
|
|
270
|
+
"AccordionCheckbox": ["Color Mode"],
|
|
271
|
+
"AccountCard": ["AppearanceBrand", "Button / Size", "Button / State", "Color Mode", "Emphasis"],
|
|
272
|
+
"ActionFooter": ["Color Mode", "context5"],
|
|
273
|
+
"ActionTile": ["AppearanceBrand", "AppearanceSystem", "Color Mode", "Context", "Emphasis", "Icon Capsule Size", "Semantic Intent"],
|
|
274
|
+
"AllocationComparisonChart": ["Appearance / DataViz", "Color Mode", "Emphasis / DataViz"],
|
|
275
|
+
"AmountInput": ["Color Mode", "Context3"],
|
|
276
|
+
"AppBar": ["Color Mode", "Context2", "context5", "NavArrow Direction", "Page type"],
|
|
277
|
+
"AreaLineChart": ["Appearance / DataViz", "Color Mode", "Emphasis / DataViz"],
|
|
278
|
+
"Attached": ["Color Mode"],
|
|
279
|
+
"Avatar": ["Avatar Size", "Color Mode", "Context4"],
|
|
280
|
+
"AvatarGroup": ["Avatar Size", "Context4"],
|
|
281
|
+
"Badge": ["AppearanceBrand", "Badge Size", "Color Mode", "Emphasis"],
|
|
282
|
+
"Balance": ["Color Mode", "Context3"],
|
|
283
|
+
"BenefitCard": ["AppearanceBrand", "AppearanceSystem", "Button / Size", "Button / State", "Color Mode", "Context", "Context2", "context5", "Emphasis", "List Item Style", "NavArrow Direction", "Page type", "Semantic Intent", "Text Appearance", "Text Sizes", "Weight"],
|
|
284
|
+
"BottomNav": ["Color Mode"],
|
|
285
|
+
"BottomNavItem": ["BottomNavItem / State", "Color Mode"],
|
|
286
|
+
"BrandChip": ["Avatar Size", "Color Mode", "Context4"],
|
|
287
|
+
"BubbleChart": ["Appearance / DataViz", "Color Mode", "Emphasis / DataViz", "Text Appearance"],
|
|
288
|
+
"Button": ["AppearanceBrand", "AppearanceSystem", "Button / Size", "Button / State", "Color Mode", "Context", "Emphasis", "Semantic Intent"],
|
|
289
|
+
"Card": ["Color Mode", "Gap", "Page type"],
|
|
290
|
+
"CardAdvisory": ["AppearanceBrand", "AppearanceSystem", "Button / Size", "Button / State", "circularProgressBar Size", "Color Mode", "Context", "Emphasis", "Nudge padding", "Semantic Intent", "Slot gap"],
|
|
291
|
+
"CardBankAccount": ["AppearanceBrand", "AppearanceSystem", "Avatar Size", "Badge Size", "Button / Size", "Button / State", "Color Mode", "Context", "Context4", "context5", "Emphasis", "List Item Style", "Semantic Intent", "Text Appearance", "Text Sizes", "Weight"],
|
|
292
|
+
"CardCTA": ["AppearanceBrand", "AppearanceSystem", "Badge Size", "Button / Size", "Button / State", "Color Mode", "Context", "Emphasis", "Icon Capsule Size", "MediaBlock", "Semantic Intent"],
|
|
293
|
+
"CardFeedback": ["AppearanceBrand", "AppearanceSystem", "Color Mode"],
|
|
294
|
+
"CardFinancialCondition": ["AppearanceBrand", "AppearanceSystem", "Button / Size", "Button / State", "circularProgressBar Size", "Color Mode", "Context", "Emphasis", "Nudge padding", "Semantic Intent", "Slot gap"],
|
|
295
|
+
"CardInsight": ["Appearance / DataViz", "AppearanceBrand", "AppearanceSystem", "Badge Size", "Button / Size", "Button / State", "Color Mode", "Context", "context7", "Emphasis", "Emphasis / DataViz", "LinearProgress Size", "Nudge padding", "Page type", "Semantic Intent", "Slot gap"],
|
|
296
|
+
"CardProviderInfo": ["AppearanceBrand", "Avatar Size", "Color Mode", "Context4"],
|
|
297
|
+
"Carousel": ["peekOffset"],
|
|
298
|
+
"CcCard": ["AppearanceBrand", "AppearanceSystem", "Avatar Size", "Badge Size", "Button / Size", "Button / State", "Color Mode", "Context", "Context2", "Context4", "context5", "context7", "Emphasis", "List Item Style", "NavArrow Direction", "Page type", "Radius", "Semantic Intent", "Text Appearance", "Text Sizes", "Weight"],
|
|
299
|
+
"Checkbox": ["Color Mode"],
|
|
300
|
+
"CheckboxGroup": ["Color Mode"],
|
|
301
|
+
"CheckboxItem": ["Color Mode"],
|
|
302
|
+
"ChipSelect": ["ChipSelect State", "Color Mode"],
|
|
303
|
+
"CircularProgressBar": ["AppearanceBrand", "AppearanceSystem", "circularProgressBar Size", "Color Mode", "Emphasis", "Semantic Intent"],
|
|
304
|
+
"CircularRating": ["AppearanceBrand", "AppearanceSystem", "Button / Size", "Button / State", "Color Mode", "Context", "Emphasis", "Nudge padding", "Semantic Intent", "Slot gap"],
|
|
305
|
+
"ClusterBubble": ["Appearance / DataViz", "Color Mode", "Emphasis / DataViz", "Text Appearance"],
|
|
306
|
+
"CompareTable": ["Accordion States", "AppearanceBrand", "Button / Size", "Button / State", "Color Mode", "Emphasis", "Radius"],
|
|
307
|
+
"ComparisonBar": ["AppearanceBrand", "AppearanceSystem", "Button / Size", "Button / State", "Color Mode", "Context", "Emphasis", "Icon Capsule Size", "Radius", "Semantic Intent"],
|
|
308
|
+
"CoverageBarComparison": ["Appearance / DataViz", "Color Mode", "Emphasis / DataViz"],
|
|
309
|
+
"CoverageRing": ["AppearanceBrand", "AppearanceSystem", "Button / Size", "Button / State", "circularProgressBar Size", "Color Mode", "Context", "Emphasis", "Semantic Intent"],
|
|
310
|
+
"DebitCard": ["DebitCard brand"],
|
|
311
|
+
"Disclaimer": ["Color Mode", "context5"],
|
|
312
|
+
"Divider": ["Color Mode"],
|
|
313
|
+
"DonutChart": ["Appearance / DataViz", "Color Mode", "Emphasis / DataViz"],
|
|
314
|
+
"DonutChartSummary": ["Appearance / DataViz", "Color Mode", "Emphasis / DataViz"],
|
|
315
|
+
"Drawer": ["Color Mode", "Page type"],
|
|
316
|
+
"Dropdown": ["Dropdown Item State"],
|
|
317
|
+
"DropdownInput": ["AppearanceBrand", "Button / State", "Color Mode", "Dropdown Item State", "Emphasis", "FormField States", "Status"],
|
|
318
|
+
"EmptyState": ["AppearanceBrand", "AppearanceSystem", "Button / Size", "Button / State", "Color Mode", "Context", "Emphasis", "Icon Capsule Size", "Semantic Intent"],
|
|
319
|
+
"ExpandableCheckbox": ["AppearanceBrand", "AppearanceSystem", "Button / Size", "Button / State", "Color Mode", "Context", "Emphasis", "Semantic Intent"],
|
|
320
|
+
"FilterBar": ["Color Mode", "InputState"],
|
|
321
|
+
"FormField": ["Color Mode", "FormField States", "Status"],
|
|
322
|
+
"FullscreenModal": ["AppearanceBrand", "AppearanceSystem", "Button / Size", "Button / State", "Color Mode", "Context", "context5", "Emphasis", "Semantic Intent", "Slot gap"],
|
|
323
|
+
"Gauge": ["AppearanceBrand", "AppearanceSystem", "Color Mode", "FormField States", "Semantic Intent", "Status"],
|
|
324
|
+
"HoldingsCard": ["AppearanceBrand", "Color Mode"],
|
|
325
|
+
"HStack": ["Context", "Padding", "Page type", "Slot gap"],
|
|
326
|
+
"Icon": ["AppearanceBrand", "Color Mode"],
|
|
327
|
+
"IconButton": ["AppearanceBrand", "Button / Size", "Button / State", "Color Mode", "Emphasis"],
|
|
328
|
+
"IconCapsule": ["AppearanceBrand", "AppearanceSystem", "Color Mode", "Context", "Emphasis", "Icon Capsule Size", "Semantic Intent"],
|
|
329
|
+
"InputSearch": ["Color Mode", "FormField States", "InputState", "Status"],
|
|
330
|
+
"InstitutionBadge": ["Avatar Size", "Context4"],
|
|
331
|
+
"LinearMeter": ["AppearanceBrand", "AppearanceSystem", "Color Mode", "Context3", "Emphasis", "LinearProgress Size", "Semantic Intent"],
|
|
332
|
+
"LinearProgress": ["AppearanceBrand", "AppearanceSystem", "Color Mode", "Emphasis", "LinearProgress Size", "Semantic Intent"],
|
|
333
|
+
"ListGroup": ["Color Mode", "List Item Style", "Title Level"],
|
|
334
|
+
"ListItem": ["AppearanceBrand", "Color Mode", "Context2", "context5", "List Item Style", "NavArrow Direction", "Page type"],
|
|
335
|
+
"LottieIntroBlock": ["AppearanceBrand", "AppearanceSystem", "Button / Size", "Button / State", "Color Mode", "Context", "Emphasis", "Semantic Intent"],
|
|
336
|
+
"LottiePlayer": ["Media / Output"],
|
|
337
|
+
"MediaCard": ["Contrast Context"],
|
|
338
|
+
"MerchantProfile": ["Avatar Size", "Color Mode", "Context4"],
|
|
339
|
+
"MessageField": ["Color Mode", "FormField States"],
|
|
340
|
+
"MetricLegendItem": ["Appearance / DataViz", "Color Mode", "Emphasis / DataViz"],
|
|
341
|
+
"MoneyValue": ["Color Mode", "Context3"],
|
|
342
|
+
"MonthlyStatusGrid": ["Appearance / DataViz", "Calendar Glyph State", "Color Mode", "Emphasis / DataViz"],
|
|
343
|
+
"NavArrow": ["Color Mode", "Context2", "context5", "NavArrow Direction", "Page type"],
|
|
344
|
+
"Nudge": ["AppearanceBrand", "AppearanceSystem", "Button / Size", "Button / State", "Color Mode", "Context", "Emphasis", "Nudge padding", "Semantic Intent", "Slot gap"],
|
|
345
|
+
"OTP": ["AppearanceBrand", "AppearanceSystem", "Button / Size", "Button / State", "Color Mode", "Context", "Emphasis", "FormField States", "Input/PINSlot States", "Semantic Intent", "Status"],
|
|
346
|
+
"PageHero": ["AppearanceBrand", "AppearanceSystem", "Button / Size", "Button / State", "Color Mode", "Context", "Emphasis", "Media / Output", "Semantic Intent"],
|
|
347
|
+
"PaymentFeedback": ["AppearanceBrand", "AppearanceSystem", "Color Mode", "Context", "Emphasis", "Icon Capsule Size", "Semantic Intent"],
|
|
348
|
+
"PdpCcCard": ["AppearanceBrand", "AppearanceSystem", "Button / Size", "Button / State", "Color Mode", "Context", "context7", "Emphasis", "Page type", "Radius", "Semantic Intent"],
|
|
349
|
+
"PlanComparisonCard": ["Color Mode"],
|
|
350
|
+
"Popup": ["Color Mode", "Context", "Padding", "Page type", "Slot gap"],
|
|
351
|
+
"PortfolioHero": ["Avatar Size", "Color Mode", "Context3", "Context4"],
|
|
352
|
+
"ProductLabel": ["Avatar Size", "Color Mode", "Context4"],
|
|
353
|
+
"ProductMerchandisingCard": ["AppearanceBrand", "AppearanceSystem", "Avatar Size", "Badge Size", "Button / Size", "Button / State", "Color Mode", "Context", "Context4", "Emphasis", "Semantic Intent"],
|
|
354
|
+
"ProductOverview": ["Avatar Size", "Color Mode", "Context4"],
|
|
355
|
+
"ProjectionMarker": ["Color Mode"],
|
|
356
|
+
"Radio": ["Color Mode"],
|
|
357
|
+
"RangeTrack": ["Appearance / DataViz", "Color Mode", "Emphasis / DataViz"],
|
|
358
|
+
"RechargeCard": ["Avatar Size", "Color Mode", "Context3", "Context4"],
|
|
359
|
+
"SavingsGoalSummary": ["Appearance / DataViz", "AppearanceBrand", "AppearanceSystem", "Color Mode", "context7", "Emphasis", "Emphasis / DataViz", "LinearProgress Size", "Page type", "Semantic Intent"],
|
|
360
|
+
"Screen": ["Color Mode", "Page type"],
|
|
361
|
+
"Section": ["AppearanceBrand", "AppearanceSystem", "Color Mode", "Context", "Context2", "context5", "Emphasis", "Icon Capsule Size", "List Item Style", "NavArrow Direction", "Padding", "Page type", "Semantic Intent", "Slot gap"],
|
|
362
|
+
"SegmentedControl": ["SegmentedControl/Segment"],
|
|
363
|
+
"SegmentedTrack": ["Appearance / DataViz", "Color Mode", "Emphasis / DataViz"],
|
|
364
|
+
"Slider": ["AppearanceBrand", "AppearanceSystem", "Color Mode", "Emphasis", "Semantic Intent", "Text Appearance", "Text Sizes", "Weight"],
|
|
365
|
+
"Slot": ["Context", "Slot gap"],
|
|
366
|
+
"StatGroup": ["Color Mode", "StatItem Label Position "],
|
|
367
|
+
"StatItem": ["StatItem Label Position "],
|
|
368
|
+
"StatusHero": ["AppearanceBrand", "AppearanceSystem", "Color Mode", "Context", "Context3", "Emphasis", "Icon Capsule Size", "Semantic Intent"],
|
|
369
|
+
"Step": ["Color Mode", "Step Status"],
|
|
370
|
+
"StepLabel": ["AppearanceBrand", "AppearanceSystem", "Color Mode", "Emphasis", "Semantic Intent"],
|
|
371
|
+
"SuggestiveSearch": ["Color Mode", "Dropdown Item State", "FormField States", "Status"],
|
|
372
|
+
"SummaryTile": ["AppearanceBrand", "AppearanceSystem", "Button / Size", "Button / State", "Color Mode", "Context", "Context2", "context5", "Emphasis", "NavArrow Direction", "Page type", "Semantic Intent"],
|
|
373
|
+
"SupportText": ["Color Mode", "FormField States", "Status"],
|
|
374
|
+
"SupportTextIcon": ["Color Mode", "FormField States", "Status"],
|
|
375
|
+
"SwappableAmount": ["AppearanceBrand", "AppearanceSystem", "Button / Size", "Button / State", "Color Mode", "Context", "Emphasis", "Semantic Intent"],
|
|
376
|
+
"TabItem": ["Color Mode"],
|
|
377
|
+
"TestimonialsCard": ["Avatar Size", "Color Mode", "Context4"],
|
|
378
|
+
"Text": ["Color Mode", "Text Appearance", "Text Sizes", "Weight"],
|
|
379
|
+
"TextInput": ["Color Mode", "InputState"],
|
|
380
|
+
"TextSegment": ["Color Mode", "Text Appearance", "Text Sizes", "Weight"],
|
|
381
|
+
"Title": ["Color Mode", "context7", "Page type"],
|
|
382
|
+
"Toggle": ["Color Mode", "Toggle States"],
|
|
383
|
+
"Tooltip": ["Color Mode"],
|
|
384
|
+
"TransactionBubble": ["Color Mode", "Context2", "Context3", "context5", "NavArrow Direction", "Page type", "Transaction Status"],
|
|
385
|
+
"TransactionStatus": ["Transaction Status"],
|
|
386
|
+
"UpiHandle": ["Color Mode"],
|
|
387
|
+
"VStack": ["Context", "Padding", "Page type", "Slot gap"],
|
|
388
|
+
};
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* Allow the known literal values to drive autocomplete while still accepting any
|
|
392
|
+
* `string` — this keeps the typing fully backward compatible with dynamically
|
|
393
|
+
* computed / forced mode values.
|
|
394
|
+
*/
|
|
395
|
+
type LiteralUnion<T extends string> = T | (string & {});
|
|
396
|
+
|
|
397
|
+
/** Union of every valid collection name (the keys of a `modes` object). */
|
|
398
|
+
export type CollectionName = keyof typeof FIGMA_MODES;
|
|
399
|
+
|
|
400
|
+
/** Valid mode names for a given collection. */
|
|
401
|
+
export type ModeOf<C extends CollectionName> = (typeof FIGMA_MODES)[C][number];
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* The typed `modes` prop. Known collection-name keys and their mode values
|
|
405
|
+
* drive autocomplete, while an index signature (plus `boolean`/`number` values)
|
|
406
|
+
* keeps it fully backward compatible with dynamically-built, forced, or legacy
|
|
407
|
+
* `modes` objects — nothing that compiled before starts failing.
|
|
408
|
+
*
|
|
409
|
+
* @example
|
|
410
|
+
* const modes: Modes = { 'Color Mode': 'Dark', 'Page type': 'JioPlus' }
|
|
411
|
+
*/
|
|
412
|
+
export type Modes = {
|
|
413
|
+
[K in CollectionName]?: LiteralUnion<ModeOf<K>> | boolean | number;
|
|
414
|
+
} & {
|
|
415
|
+
[collection: string]: string | boolean | number | undefined;
|
|
416
|
+
};
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* Strict variant: only real collection-name keys and exact mode values are
|
|
420
|
+
* allowed (no `string` escape hatch, no unknown keys). Opt in when you want
|
|
421
|
+
* typos in mode keys/values to be a compile error.
|
|
422
|
+
*/
|
|
423
|
+
export type StrictModes = {
|
|
424
|
+
[K in CollectionName]?: ModeOf<K>;
|
|
425
|
+
};
|
package/src/icons/registry.ts
CHANGED
|
@@ -27,6 +27,7 @@ import {
|
|
|
27
27
|
type SkeletonKind,
|
|
28
28
|
} from './shimmer-tokens'
|
|
29
29
|
import { useSkeleton, useStaggerIndex } from './SkeletonGroup'
|
|
30
|
+
import type { Modes } from '../design-tokens'
|
|
30
31
|
|
|
31
32
|
export interface SkeletonProps {
|
|
32
33
|
/**
|
|
@@ -48,7 +49,7 @@ export interface SkeletonProps {
|
|
|
48
49
|
* Modes for token resolution (forwarded to `getVariableByName`). Most
|
|
49
50
|
* consumers can omit this — defaults work for every standard mode.
|
|
50
51
|
*/
|
|
51
|
-
modes?:
|
|
52
|
+
modes?: Modes;
|
|
52
53
|
}
|
|
53
54
|
|
|
54
55
|
// Solid-white overlay used by reduced-motion mode (also acts as the safe
|
package/src/utils/react-utils.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import type { Modes } from '../design-tokens'
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* A shared, frozen empty modes object.
|
|
@@ -22,8 +23,8 @@ export const EMPTY_MODES: Readonly<Record<string, any>> = Object.freeze({});
|
|
|
22
23
|
*/
|
|
23
24
|
export function cloneChildrenWithModes(
|
|
24
25
|
children: React.ReactNode,
|
|
25
|
-
modes:
|
|
26
|
-
forcedModes?:
|
|
26
|
+
modes: Modes,
|
|
27
|
+
forcedModes?: Modes
|
|
27
28
|
): React.ReactNode[] {
|
|
28
29
|
const result: React.ReactNode[] = [];
|
|
29
30
|
|
|
@@ -87,6 +88,29 @@ export function cloneChildrenWithModes(
|
|
|
87
88
|
return React.Children.toArray(result);
|
|
88
89
|
}
|
|
89
90
|
|
|
91
|
+
/**
|
|
92
|
+
* Combines several refs (object refs and/or callback refs) into a single
|
|
93
|
+
* callback ref. Useful when a component needs to keep its own internal ref to a
|
|
94
|
+
* node while still honouring a ref forwarded by the consumer.
|
|
95
|
+
*
|
|
96
|
+
* @example
|
|
97
|
+
* const inputRef = useRef<RNTextInput>(null)
|
|
98
|
+
* <RNTextInput ref={mergeRefs(inputRef, forwardedRef)} />
|
|
99
|
+
*/
|
|
100
|
+
export function mergeRefs<T>(
|
|
101
|
+
...refs: Array<React.Ref<T> | undefined | null>
|
|
102
|
+
): React.RefCallback<T> {
|
|
103
|
+
return (value: T | null) => {
|
|
104
|
+
refs.forEach((ref) => {
|
|
105
|
+
if (typeof ref === 'function') {
|
|
106
|
+
ref(value);
|
|
107
|
+
} else if (ref != null) {
|
|
108
|
+
(ref as React.MutableRefObject<T | null>).current = value;
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
|
|
90
114
|
/**
|
|
91
115
|
* Flattens React children, extracting them from Fragments.
|
|
92
116
|
* Useful for Group components that need to process individual items (e.g., for layout or styling)
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Main extraction function
|
|
3
|
-
*/
|
|
4
|
-
export function extractAllTokens(): {};
|
|
5
|
-
/**
|
|
6
|
-
* Extract all getVariableByName calls from a component file
|
|
7
|
-
*/
|
|
8
|
-
export function extractTokensFromFile(filePath: any): any[];
|
|
9
|
-
//# sourceMappingURL=extract-component-tokens.d.ts.map
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Main generation function
|
|
3
|
-
*/
|
|
4
|
-
export function generateAllDocs(): void;
|
|
5
|
-
/**
|
|
6
|
-
* Generate MDX documentation for a component
|
|
7
|
-
*/
|
|
8
|
-
export function generateMDX(componentName: any, metadata: any, componentPath: any): string;
|
|
9
|
-
//# sourceMappingURL=generate-component-docs.d.ts.map
|