jfs-components 0.1.12 → 0.1.17
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 +15 -0
- package/lib/commonjs/components/ActionFooter/ActionFooter.js +7 -24
- package/lib/commonjs/components/ActionTile/ActionTile.js +10 -10
- package/lib/commonjs/components/AmountInput/AmountInput.js +3 -3
- package/lib/commonjs/components/AreaLineChart/AreaLineChart.js +2 -2
- package/lib/commonjs/components/Attached/Attached.js +1 -1
- package/lib/commonjs/components/Avatar/Avatar.js +10 -10
- package/lib/commonjs/components/AvatarGroup/AvatarGroup.js +9 -9
- package/lib/commonjs/components/Badge/Badge.js +12 -12
- package/lib/commonjs/components/BenefitCard/BenefitCard.js +95 -21
- package/lib/commonjs/components/BottomNav/BottomNav.js +2 -2
- package/lib/commonjs/components/BottomNavItem/BottomNavItem.js +3 -3
- package/lib/commonjs/components/Button/Button.js +31 -19
- package/lib/commonjs/components/Card/Card.js +20 -20
- package/lib/commonjs/components/CardAdvisory/CardAdvisory.js +6 -6
- package/lib/commonjs/components/CardCTA/CardCTA.js +21 -21
- package/lib/commonjs/components/CardFeedback/CardFeedback.js +18 -18
- package/lib/commonjs/components/CardFinancialCondition/CardFinancialCondition.js +7 -7
- package/lib/commonjs/components/CardInsight/CardInsight.js +1 -2
- package/lib/commonjs/components/Carousel/Carousel.js +18 -12
- package/lib/commonjs/components/CarouselCardAccounts/CarouselCardAccounts.js +75 -0
- package/lib/commonjs/components/Checkbox/Checkbox.js +6 -13
- package/lib/commonjs/components/ChipGroup/ChipGroup.js +1 -1
- package/lib/commonjs/components/ChipSelect/ChipSelect.js +11 -11
- package/lib/commonjs/components/CircularProgressBar/CircularProgressBar.js +5 -5
- package/lib/commonjs/components/CircularProgressBarDoted/CircularProgressBarDoted.js +8 -8
- package/lib/commonjs/components/CircularRating/CircularRating.js +3 -3
- package/lib/commonjs/components/CompareTable/CompareTable.js +16 -16
- package/lib/commonjs/components/DebitCard/DebitCard.js +18 -18
- package/lib/commonjs/components/Disclaimer/Disclaimer.js +5 -5
- package/lib/commonjs/components/DonutChart/DonutChart.js +11 -11
- package/lib/commonjs/components/Drawer/Drawer.js +60 -60
- package/lib/commonjs/components/Dropdown/Dropdown.js +22 -23
- package/lib/commonjs/components/DropdownInput/DropdownInput.js +10 -10
- package/lib/commonjs/components/EmptyState/EmptyState.js +14 -14
- package/lib/commonjs/components/FilterBar/FilterBar.js +2 -2
- package/lib/commonjs/components/Form/Form.js +3 -3
- package/lib/commonjs/components/FormField/FormField.js +6 -6
- package/lib/commonjs/components/FullscreenModal/FullscreenModal.js +24 -24
- package/lib/commonjs/components/Gauge/Gauge.js +8 -8
- package/lib/commonjs/components/HoldingsCard/HoldingsCard.js +10 -10
- package/lib/commonjs/components/Icon/Icon.js +6 -6
- package/lib/commonjs/components/IconCapsule/IconCapsule.js +7 -7
- package/lib/commonjs/components/InputSearch/InputSearch.js +9 -9
- package/lib/commonjs/components/InstitutionBadge/InstitutionBadge.js +3 -3
- package/lib/commonjs/components/ListGroup/ListGroup.js +8 -8
- package/lib/commonjs/components/ListItem/ListItem.js +10 -10
- package/lib/commonjs/components/LottieIntroBlock/LottieIntroBlock.js +13 -13
- package/lib/commonjs/components/LottiePlayer/LottiePlayer.js +2 -2
- package/lib/commonjs/components/LottiePlayer/LottiePlayer.web.js +2 -2
- package/lib/commonjs/components/MediaCard/MediaCard.js +21 -21
- package/lib/commonjs/components/MessageField/MessageField.js +8 -8
- package/lib/commonjs/components/MoneyValue/MoneyValue.js +7 -7
- package/lib/commonjs/components/NavArrow/NavArrow.js +8 -8
- package/lib/commonjs/components/NoteInput/NoteInput.js +12 -12
- package/lib/commonjs/components/Nudge/Nudge.js +20 -20
- package/lib/commonjs/components/OTP/OTP.js +15 -15
- package/lib/commonjs/components/PageHero/PageHero.js +16 -16
- package/lib/commonjs/components/PaymentFeedback/PaymentFeedback.js +23 -23
- package/lib/commonjs/components/Popup/Popup.js +1 -1
- package/lib/commonjs/components/ProgressBadge/ProgressBadge.js +5 -5
- package/lib/commonjs/components/Radio/Radio.js +8 -8
- package/lib/commonjs/components/RechargeCard/RechargeCard.js +31 -31
- package/lib/commonjs/components/SavingsGoalSummary/SavingsGoalSummary.js +59 -12
- package/lib/commonjs/components/ScrollArea/ScrollArea.js +126 -0
- package/lib/commonjs/components/Section/Section.js +24 -24
- package/lib/commonjs/components/StatusHero/StatusHero.js +14 -14
- package/lib/commonjs/components/Stepper/Step.js +16 -16
- package/lib/commonjs/components/Stepper/StepLabel.js +16 -16
- package/lib/commonjs/components/Stepper/Stepper.js +3 -3
- package/lib/commonjs/components/SuggestiveSearch/SuggestiveSearch.js +10 -10
- package/lib/commonjs/components/SupportText/SupportText.js +6 -6
- package/lib/commonjs/components/SupportText/SupportTextIcon.js +2 -2
- package/lib/commonjs/components/Text/Text.js +14 -2
- package/lib/commonjs/components/TextInput/TextInput.js +14 -14
- package/lib/commonjs/components/TextSegment/TextSegment.js +14 -2
- package/lib/commonjs/components/ThreadHero/ThreadHero.js +17 -17
- package/lib/commonjs/components/Title/Title.js +38 -16
- package/lib/commonjs/components/Toast/Toast.js +15 -15
- package/lib/commonjs/components/Toggle/Toggle.js +3 -11
- package/lib/commonjs/components/Tooltip/Tooltip.js +12 -12
- package/lib/commonjs/components/TransactionBubble/TransactionBubble.js +13 -13
- package/lib/commonjs/components/TransactionDetails/TransactionDetails.js +10 -10
- package/lib/commonjs/components/TransactionStatus/TransactionStatus.js +9 -9
- package/lib/commonjs/components/UpiHandle/UpiHandle.js +15 -15
- package/lib/commonjs/components/index.js +14 -0
- package/lib/commonjs/design-tokens/Coin Variables-variables-full.json +1 -1
- package/lib/commonjs/design-tokens/figma-modes.generated.js +50 -42
- package/lib/commonjs/icons/components/Icon4g.js +19 -0
- package/lib/commonjs/icons/components/Icon4gltedata.js +19 -0
- package/lib/commonjs/icons/components/Icon5g.js +19 -0
- package/lib/commonjs/icons/components/Icon5gdoubleplus.js +19 -0
- package/lib/commonjs/icons/components/Icon5gplus.js +19 -0
- package/lib/commonjs/icons/components/IconAdblocker.js +19 -0
- package/lib/commonjs/icons/components/IconAdblockplus.js +19 -0
- package/lib/commonjs/icons/components/IconAnalytics.js +19 -0
- package/lib/commonjs/icons/components/IconAnalyticsdata.js +19 -0
- package/lib/commonjs/icons/components/IconAnalyticspiechart.js +19 -0
- package/lib/commonjs/icons/components/IconAnalyticspiecharttree.js +19 -0
- package/lib/commonjs/icons/components/IconAnalyticspiecharttwo.js +19 -0
- package/lib/commonjs/icons/components/IconCompoundinterest.js +19 -0
- package/lib/commonjs/icons/components/IconConsumptionaccounted.js +19 -0
- package/lib/commonjs/icons/components/IconConsumptionaverage.js +19 -0
- package/lib/commonjs/icons/components/IconConsumptionhigh.js +19 -0
- package/lib/commonjs/icons/components/IconConsumptionlow.js +19 -0
- package/lib/commonjs/icons/components/IconConsumptionunaccounted.js +19 -0
- package/lib/commonjs/icons/components/IconCsvdoc.js +19 -0
- package/lib/commonjs/icons/components/IconDatabase.js +19 -0
- package/lib/commonjs/icons/components/IconDigitalecosystem.js +19 -0
- package/lib/commonjs/icons/components/IconDigitalselfservice.js +19 -0
- package/lib/commonjs/icons/components/IconDistribution.js +19 -0
- package/lib/commonjs/icons/components/IconDocument.js +19 -0
- package/lib/commonjs/icons/components/IconDocumentdoc.js +19 -0
- package/lib/commonjs/icons/components/IconDocumentjpg.js +19 -0
- package/lib/commonjs/icons/components/IconDocumentodt.js +19 -0
- package/lib/commonjs/icons/components/IconDocumentpdf.js +19 -0
- package/lib/commonjs/icons/components/IconDocumentpng.js +19 -0
- package/lib/commonjs/icons/components/IconDocumentraw.js +19 -0
- package/lib/commonjs/icons/components/IconDocumentrtf.js +19 -0
- package/lib/commonjs/icons/components/IconDocumentsettings.js +19 -0
- package/lib/commonjs/icons/components/IconDocumenttif.js +19 -0
- package/lib/commonjs/icons/components/IconDocumenttxt.js +19 -0
- package/lib/commonjs/icons/components/IconDocumentunknown.js +19 -0
- package/lib/commonjs/icons/components/IconDocumentxls.js +19 -0
- package/lib/commonjs/icons/components/IconDocumentxlsx.js +19 -0
- package/lib/commonjs/icons/components/IconFilerequest.js +19 -0
- package/lib/commonjs/icons/components/IconFilesend.js +19 -0
- package/lib/commonjs/icons/components/IconFileshare.js +19 -0
- package/lib/commonjs/icons/components/IconFindinpage.js +19 -0
- package/lib/commonjs/icons/components/IconFolder.js +19 -0
- package/lib/commonjs/icons/components/IconFolderbookmarks.js +19 -0
- package/lib/commonjs/icons/components/IconFolderfavorites.js +19 -0
- package/lib/commonjs/icons/components/IconFolderlocked.js +19 -0
- package/lib/commonjs/icons/components/IconFoldermovefiles.js +19 -0
- package/lib/commonjs/icons/components/IconFolderpublic.js +19 -0
- package/lib/commonjs/icons/components/IconFolderrated.js +19 -0
- package/lib/commonjs/icons/components/IconFolderrequest.js +19 -0
- package/lib/commonjs/icons/components/IconForm.js +19 -0
- package/lib/commonjs/icons/components/IconFormadd.js +19 -0
- package/lib/commonjs/icons/components/IconForms.js +19 -0
- package/lib/commonjs/icons/components/IconGraphincreasing.js +19 -0
- package/lib/commonjs/icons/components/IconGraphlow.js +19 -0
- package/lib/commonjs/icons/components/IconGraphtable.js +19 -0
- package/lib/commonjs/icons/components/IconHealthreport.js +19 -0
- package/lib/commonjs/icons/components/IconHubmode.js +19 -0
- package/lib/commonjs/icons/components/IconInfrastructure.js +19 -0
- package/lib/commonjs/icons/components/IconInterestlow.js +19 -0
- package/lib/commonjs/icons/components/IconLte.js +19 -0
- package/lib/commonjs/icons/components/IconNetworkfuture.js +19 -0
- package/lib/commonjs/icons/components/IconPagesettings.js +19 -0
- package/lib/commonjs/icons/components/IconPptxdoc.js +19 -0
- package/lib/commonjs/icons/components/IconPreferrednumber.js +19 -0
- package/lib/commonjs/icons/components/IconPremiumnumber.js +19 -0
- package/lib/commonjs/icons/components/IconProjection.js +19 -0
- package/lib/commonjs/icons/components/IconRequest.js +19 -0
- package/lib/commonjs/icons/components/IconRoutestraffic.js +19 -0
- package/lib/commonjs/icons/components/IconTechnology.js +19 -0
- package/lib/commonjs/icons/components/IconVolte.js +19 -0
- package/lib/commonjs/icons/components/IconVonr.js +19 -0
- package/lib/commonjs/icons/components/IconVowifi.js +19 -0
- package/lib/commonjs/icons/components/IconVpndata.js +19 -0
- package/lib/commonjs/icons/components/index.js +803 -0
- package/lib/commonjs/icons/registry.js +2 -2
- package/lib/commonjs/utils/index.js +25 -0
- package/lib/commonjs/utils/react-utils.js +62 -0
- package/lib/commonjs/utils/shadow.js +200 -0
- package/lib/module/components/ActionFooter/ActionFooter.js +7 -24
- package/lib/module/components/ActionTile/ActionTile.js +10 -10
- package/lib/module/components/AmountInput/AmountInput.js +3 -3
- package/lib/module/components/AreaLineChart/AreaLineChart.js +2 -2
- package/lib/module/components/Attached/Attached.js +1 -1
- package/lib/module/components/Avatar/Avatar.js +10 -10
- package/lib/module/components/AvatarGroup/AvatarGroup.js +9 -9
- package/lib/module/components/Badge/Badge.js +12 -12
- package/lib/module/components/BenefitCard/BenefitCard.js +95 -21
- package/lib/module/components/BottomNav/BottomNav.js +2 -2
- package/lib/module/components/BottomNavItem/BottomNavItem.js +3 -3
- package/lib/module/components/Button/Button.js +32 -20
- package/lib/module/components/Card/Card.js +20 -20
- package/lib/module/components/CardAdvisory/CardAdvisory.js +6 -6
- package/lib/module/components/CardCTA/CardCTA.js +21 -21
- package/lib/module/components/CardFeedback/CardFeedback.js +18 -18
- package/lib/module/components/CardFinancialCondition/CardFinancialCondition.js +7 -7
- package/lib/module/components/CardInsight/CardInsight.js +1 -2
- package/lib/module/components/Carousel/Carousel.js +18 -12
- package/lib/module/components/CarouselCardAccounts/CarouselCardAccounts.js +71 -0
- package/lib/module/components/Checkbox/Checkbox.js +2 -9
- package/lib/module/components/ChipGroup/ChipGroup.js +1 -1
- package/lib/module/components/ChipSelect/ChipSelect.js +11 -11
- package/lib/module/components/CircularProgressBar/CircularProgressBar.js +5 -5
- package/lib/module/components/CircularProgressBarDoted/CircularProgressBarDoted.js +8 -8
- package/lib/module/components/CircularRating/CircularRating.js +3 -3
- package/lib/module/components/CompareTable/CompareTable.js +16 -16
- package/lib/module/components/DebitCard/DebitCard.js +18 -18
- package/lib/module/components/Disclaimer/Disclaimer.js +5 -5
- package/lib/module/components/DonutChart/DonutChart.js +11 -11
- package/lib/module/components/Drawer/Drawer.js +60 -60
- package/lib/module/components/Dropdown/Dropdown.js +22 -23
- package/lib/module/components/DropdownInput/DropdownInput.js +10 -10
- package/lib/module/components/EmptyState/EmptyState.js +14 -14
- package/lib/module/components/FilterBar/FilterBar.js +2 -2
- package/lib/module/components/Form/Form.js +3 -3
- package/lib/module/components/FormField/FormField.js +6 -6
- package/lib/module/components/FullscreenModal/FullscreenModal.js +24 -24
- package/lib/module/components/Gauge/Gauge.js +8 -8
- package/lib/module/components/HoldingsCard/HoldingsCard.js +10 -10
- package/lib/module/components/Icon/Icon.js +6 -6
- package/lib/module/components/IconCapsule/IconCapsule.js +7 -7
- package/lib/module/components/InputSearch/InputSearch.js +9 -9
- package/lib/module/components/InstitutionBadge/InstitutionBadge.js +3 -3
- package/lib/module/components/ListGroup/ListGroup.js +8 -8
- package/lib/module/components/ListItem/ListItem.js +10 -10
- package/lib/module/components/LottieIntroBlock/LottieIntroBlock.js +13 -13
- package/lib/module/components/LottiePlayer/LottiePlayer.js +2 -2
- package/lib/module/components/LottiePlayer/LottiePlayer.web.js +2 -2
- package/lib/module/components/MediaCard/MediaCard.js +21 -21
- package/lib/module/components/MessageField/MessageField.js +8 -8
- package/lib/module/components/MoneyValue/MoneyValue.js +7 -7
- package/lib/module/components/NavArrow/NavArrow.js +8 -8
- package/lib/module/components/NoteInput/NoteInput.js +12 -12
- package/lib/module/components/Nudge/Nudge.js +20 -20
- package/lib/module/components/OTP/OTP.js +15 -15
- package/lib/module/components/PageHero/PageHero.js +16 -16
- package/lib/module/components/PaymentFeedback/PaymentFeedback.js +23 -23
- package/lib/module/components/Popup/Popup.js +1 -1
- package/lib/module/components/ProgressBadge/ProgressBadge.js +5 -5
- package/lib/module/components/Radio/Radio.js +9 -9
- package/lib/module/components/RechargeCard/RechargeCard.js +31 -31
- package/lib/module/components/SavingsGoalSummary/SavingsGoalSummary.js +60 -13
- package/lib/module/components/ScrollArea/ScrollArea.js +121 -0
- package/lib/module/components/Section/Section.js +24 -24
- package/lib/module/components/StatusHero/StatusHero.js +14 -14
- package/lib/module/components/Stepper/Step.js +16 -16
- package/lib/module/components/Stepper/StepLabel.js +16 -16
- package/lib/module/components/Stepper/Stepper.js +3 -3
- package/lib/module/components/SuggestiveSearch/SuggestiveSearch.js +10 -10
- package/lib/module/components/SupportText/SupportText.js +6 -6
- package/lib/module/components/SupportText/SupportTextIcon.js +2 -2
- package/lib/module/components/Text/Text.js +15 -3
- package/lib/module/components/TextInput/TextInput.js +14 -14
- package/lib/module/components/TextSegment/TextSegment.js +15 -3
- package/lib/module/components/ThreadHero/ThreadHero.js +17 -17
- package/lib/module/components/Title/Title.js +39 -17
- package/lib/module/components/Toast/Toast.js +15 -15
- package/lib/module/components/Toggle/Toggle.js +4 -12
- package/lib/module/components/Tooltip/Tooltip.js +12 -12
- package/lib/module/components/TransactionBubble/TransactionBubble.js +13 -13
- package/lib/module/components/TransactionDetails/TransactionDetails.js +10 -10
- package/lib/module/components/TransactionStatus/TransactionStatus.js +9 -9
- package/lib/module/components/UpiHandle/UpiHandle.js +15 -15
- package/lib/module/components/index.js +2 -0
- package/lib/module/design-tokens/Coin Variables-variables-full.json +1 -1
- package/lib/module/design-tokens/figma-modes.generated.js +50 -42
- package/lib/module/icons/components/Icon4g.js +12 -0
- package/lib/module/icons/components/Icon4gltedata.js +12 -0
- package/lib/module/icons/components/Icon5g.js +12 -0
- package/lib/module/icons/components/Icon5gdoubleplus.js +12 -0
- package/lib/module/icons/components/Icon5gplus.js +12 -0
- package/lib/module/icons/components/IconAdblocker.js +12 -0
- package/lib/module/icons/components/IconAdblockplus.js +12 -0
- package/lib/module/icons/components/IconAnalytics.js +12 -0
- package/lib/module/icons/components/IconAnalyticsdata.js +12 -0
- package/lib/module/icons/components/IconAnalyticspiechart.js +12 -0
- package/lib/module/icons/components/IconAnalyticspiecharttree.js +12 -0
- package/lib/module/icons/components/IconAnalyticspiecharttwo.js +12 -0
- package/lib/module/icons/components/IconCompoundinterest.js +12 -0
- package/lib/module/icons/components/IconConsumptionaccounted.js +12 -0
- package/lib/module/icons/components/IconConsumptionaverage.js +12 -0
- package/lib/module/icons/components/IconConsumptionhigh.js +12 -0
- package/lib/module/icons/components/IconConsumptionlow.js +12 -0
- package/lib/module/icons/components/IconConsumptionunaccounted.js +12 -0
- package/lib/module/icons/components/IconCsvdoc.js +12 -0
- package/lib/module/icons/components/IconDatabase.js +12 -0
- package/lib/module/icons/components/IconDigitalecosystem.js +12 -0
- package/lib/module/icons/components/IconDigitalselfservice.js +12 -0
- package/lib/module/icons/components/IconDistribution.js +12 -0
- package/lib/module/icons/components/IconDocument.js +12 -0
- package/lib/module/icons/components/IconDocumentdoc.js +12 -0
- package/lib/module/icons/components/IconDocumentjpg.js +12 -0
- package/lib/module/icons/components/IconDocumentodt.js +12 -0
- package/lib/module/icons/components/IconDocumentpdf.js +12 -0
- package/lib/module/icons/components/IconDocumentpng.js +12 -0
- package/lib/module/icons/components/IconDocumentraw.js +12 -0
- package/lib/module/icons/components/IconDocumentrtf.js +12 -0
- package/lib/module/icons/components/IconDocumentsettings.js +12 -0
- package/lib/module/icons/components/IconDocumenttif.js +12 -0
- package/lib/module/icons/components/IconDocumenttxt.js +12 -0
- package/lib/module/icons/components/IconDocumentunknown.js +12 -0
- package/lib/module/icons/components/IconDocumentxls.js +12 -0
- package/lib/module/icons/components/IconDocumentxlsx.js +12 -0
- package/lib/module/icons/components/IconFilerequest.js +12 -0
- package/lib/module/icons/components/IconFilesend.js +12 -0
- package/lib/module/icons/components/IconFileshare.js +12 -0
- package/lib/module/icons/components/IconFindinpage.js +12 -0
- package/lib/module/icons/components/IconFolder.js +12 -0
- package/lib/module/icons/components/IconFolderbookmarks.js +12 -0
- package/lib/module/icons/components/IconFolderfavorites.js +12 -0
- package/lib/module/icons/components/IconFolderlocked.js +12 -0
- package/lib/module/icons/components/IconFoldermovefiles.js +12 -0
- package/lib/module/icons/components/IconFolderpublic.js +12 -0
- package/lib/module/icons/components/IconFolderrated.js +12 -0
- package/lib/module/icons/components/IconFolderrequest.js +12 -0
- package/lib/module/icons/components/IconForm.js +12 -0
- package/lib/module/icons/components/IconFormadd.js +12 -0
- package/lib/module/icons/components/IconForms.js +12 -0
- package/lib/module/icons/components/IconGraphincreasing.js +12 -0
- package/lib/module/icons/components/IconGraphlow.js +12 -0
- package/lib/module/icons/components/IconGraphtable.js +12 -0
- package/lib/module/icons/components/IconHealthreport.js +12 -0
- package/lib/module/icons/components/IconHubmode.js +12 -0
- package/lib/module/icons/components/IconInfrastructure.js +12 -0
- package/lib/module/icons/components/IconInterestlow.js +12 -0
- package/lib/module/icons/components/IconLte.js +12 -0
- package/lib/module/icons/components/IconNetworkfuture.js +12 -0
- package/lib/module/icons/components/IconPagesettings.js +12 -0
- package/lib/module/icons/components/IconPptxdoc.js +12 -0
- package/lib/module/icons/components/IconPreferrednumber.js +12 -0
- package/lib/module/icons/components/IconPremiumnumber.js +12 -0
- package/lib/module/icons/components/IconProjection.js +12 -0
- package/lib/module/icons/components/IconRequest.js +12 -0
- package/lib/module/icons/components/IconRoutestraffic.js +12 -0
- package/lib/module/icons/components/IconTechnology.js +12 -0
- package/lib/module/icons/components/IconVolte.js +12 -0
- package/lib/module/icons/components/IconVonr.js +12 -0
- package/lib/module/icons/components/IconVowifi.js +12 -0
- package/lib/module/icons/components/IconVpndata.js +12 -0
- package/lib/module/icons/components/index.js +73 -0
- package/lib/module/icons/registry.js +2 -2
- package/lib/module/utils/index.js +2 -1
- package/lib/module/utils/react-utils.js +61 -0
- package/lib/module/utils/shadow.js +194 -0
- package/lib/typescript/src/components/BenefitCard/BenefitCard.d.ts +33 -4
- package/lib/typescript/src/components/Carousel/Carousel.d.ts +11 -1
- package/lib/typescript/src/components/CarouselCardAccounts/CarouselCardAccounts.d.ts +57 -0
- package/lib/typescript/src/components/SavingsGoalSummary/SavingsGoalSummary.d.ts +11 -1
- package/lib/typescript/src/components/ScrollArea/ScrollArea.d.ts +77 -0
- package/lib/typescript/src/components/Text/Text.d.ts +12 -3
- package/lib/typescript/src/components/TextSegment/TextSegment.d.ts +12 -3
- package/lib/typescript/src/components/Title/Title.d.ts +12 -2
- package/lib/typescript/src/components/index.d.ts +2 -0
- package/lib/typescript/src/design-tokens/figma-modes.generated.d.ts +23 -15
- package/lib/typescript/src/icons/components/Icon4g.d.ts +3 -0
- package/lib/typescript/src/icons/components/Icon4gltedata.d.ts +3 -0
- package/lib/typescript/src/icons/components/Icon5g.d.ts +3 -0
- package/lib/typescript/src/icons/components/Icon5gdoubleplus.d.ts +3 -0
- package/lib/typescript/src/icons/components/Icon5gplus.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconAdblocker.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconAdblockplus.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconAnalytics.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconAnalyticsdata.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconAnalyticspiechart.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconAnalyticspiecharttree.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconAnalyticspiecharttwo.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconCompoundinterest.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconConsumptionaccounted.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconConsumptionaverage.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconConsumptionhigh.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconConsumptionlow.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconConsumptionunaccounted.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconCsvdoc.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconDatabase.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconDigitalecosystem.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconDigitalselfservice.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconDistribution.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconDocument.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconDocumentdoc.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconDocumentjpg.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconDocumentodt.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconDocumentpdf.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconDocumentpng.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconDocumentraw.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconDocumentrtf.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconDocumentsettings.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconDocumenttif.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconDocumenttxt.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconDocumentunknown.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconDocumentxls.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconDocumentxlsx.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconFilerequest.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconFilesend.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconFileshare.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconFindinpage.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconFolder.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconFolderbookmarks.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconFolderfavorites.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconFolderlocked.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconFoldermovefiles.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconFolderpublic.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconFolderrated.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconFolderrequest.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconForm.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconFormadd.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconForms.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconGraphincreasing.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconGraphlow.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconGraphtable.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconHealthreport.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconHubmode.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconInfrastructure.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconInterestlow.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconLte.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconNetworkfuture.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconPagesettings.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconPptxdoc.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconPreferrednumber.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconPremiumnumber.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconProjection.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconRequest.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconRoutestraffic.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconTechnology.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconVolte.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconVonr.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconVowifi.d.ts +3 -0
- package/lib/typescript/src/icons/components/IconVpndata.d.ts +3 -0
- package/lib/typescript/src/icons/components/index.d.ts +73 -0
- package/lib/typescript/src/icons/registry.d.ts +1 -1
- package/lib/typescript/src/utils/index.d.ts +2 -0
- package/lib/typescript/src/utils/react-utils.d.ts +40 -1
- package/lib/typescript/src/utils/shadow.d.ts +72 -0
- package/package.json +2 -1
- package/src/components/ActionFooter/ActionFooter.tsx +8 -26
- package/src/components/ActionTile/ActionTile.tsx +10 -10
- package/src/components/AmountInput/AmountInput.tsx +3 -3
- package/src/components/AreaLineChart/AreaLineChart.tsx +2 -2
- package/src/components/Attached/Attached.tsx +1 -1
- package/src/components/Avatar/Avatar.tsx +10 -10
- package/src/components/AvatarGroup/AvatarGroup.tsx +9 -9
- package/src/components/Badge/Badge.tsx +12 -13
- package/src/components/BenefitCard/BenefitCard.tsx +120 -27
- package/src/components/BottomNav/BottomNav.tsx +2 -2
- package/src/components/BottomNavItem/BottomNavItem.tsx +3 -3
- package/src/components/Button/Button.tsx +30 -20
- package/src/components/Card/Card.tsx +20 -20
- package/src/components/CardAdvisory/CardAdvisory.tsx +6 -6
- package/src/components/CardCTA/CardCTA.tsx +21 -21
- package/src/components/CardFeedback/CardFeedback.tsx +18 -18
- package/src/components/CardFinancialCondition/CardFinancialCondition.tsx +7 -10
- package/src/components/CardInsight/CardInsight.tsx +1 -3
- package/src/components/Carousel/Carousel.tsx +29 -12
- package/src/components/CarouselCardAccounts/CarouselCardAccounts.tsx +113 -0
- package/src/components/Checkbox/Checkbox.tsx +2 -8
- package/src/components/ChipGroup/ChipGroup.tsx +1 -1
- package/src/components/ChipSelect/ChipSelect.tsx +11 -11
- package/src/components/CircularProgressBar/CircularProgressBar.tsx +5 -5
- package/src/components/CircularProgressBarDoted/CircularProgressBarDoted.tsx +8 -8
- package/src/components/CircularRating/CircularRating.tsx +3 -3
- package/src/components/CompareTable/CompareTable.tsx +16 -16
- package/src/components/DebitCard/DebitCard.tsx +22 -22
- package/src/components/Disclaimer/Disclaimer.tsx +5 -5
- package/src/components/DonutChart/DonutChart.tsx +11 -45
- package/src/components/Drawer/Drawer.tsx +80 -71
- package/src/components/Dropdown/Dropdown.tsx +23 -28
- package/src/components/DropdownInput/DropdownInput.tsx +10 -17
- package/src/components/EmptyState/EmptyState.tsx +14 -14
- package/src/components/FilterBar/FilterBar.tsx +2 -2
- package/src/components/Form/Form.tsx +3 -3
- package/src/components/FormField/FormField.tsx +6 -11
- package/src/components/FullscreenModal/FullscreenModal.tsx +24 -24
- package/src/components/Gauge/Gauge.tsx +8 -8
- package/src/components/HoldingsCard/HoldingsCard.tsx +10 -10
- package/src/components/Icon/Icon.tsx +6 -6
- package/src/components/IconCapsule/IconCapsule.tsx +7 -7
- package/src/components/InputSearch/InputSearch.tsx +9 -9
- package/src/components/InstitutionBadge/InstitutionBadge.tsx +3 -6
- package/src/components/ListGroup/ListGroup.tsx +8 -8
- package/src/components/ListItem/ListItem.tsx +10 -10
- package/src/components/LottieIntroBlock/LottieIntroBlock.tsx +13 -16
- package/src/components/LottiePlayer/LottiePlayer.tsx +2 -2
- package/src/components/LottiePlayer/LottiePlayer.web.tsx +2 -2
- package/src/components/MediaCard/MediaCard.tsx +21 -21
- package/src/components/MessageField/MessageField.tsx +8 -16
- package/src/components/MoneyValue/MoneyValue.tsx +7 -7
- package/src/components/NavArrow/NavArrow.tsx +8 -8
- package/src/components/NoteInput/NoteInput.tsx +12 -12
- package/src/components/Nudge/Nudge.tsx +20 -20
- package/src/components/OTP/OTP.tsx +16 -16
- package/src/components/PageHero/PageHero.tsx +16 -16
- package/src/components/PaymentFeedback/PaymentFeedback.tsx +27 -27
- package/src/components/Popup/Popup.tsx +1 -1
- package/src/components/ProgressBadge/ProgressBadge.tsx +5 -5
- package/src/components/Radio/Radio.tsx +8 -9
- package/src/components/RechargeCard/RechargeCard.tsx +31 -31
- package/src/components/SavingsGoalSummary/SavingsGoalSummary.tsx +105 -13
- package/src/components/ScrollArea/ScrollArea.tsx +200 -0
- package/src/components/Section/Section.tsx +26 -26
- package/src/components/StatusHero/StatusHero.tsx +14 -14
- package/src/components/Stepper/Step.tsx +16 -18
- package/src/components/Stepper/StepLabel.tsx +16 -27
- package/src/components/Stepper/Stepper.tsx +3 -4
- package/src/components/SuggestiveSearch/SuggestiveSearch.tsx +10 -20
- package/src/components/SupportText/SupportText.tsx +6 -6
- package/src/components/SupportText/SupportTextIcon.tsx +2 -2
- package/src/components/Text/Text.tsx +23 -5
- package/src/components/TextInput/TextInput.tsx +14 -14
- package/src/components/TextSegment/TextSegment.tsx +22 -4
- package/src/components/ThreadHero/ThreadHero.tsx +17 -17
- package/src/components/Title/Title.tsx +44 -18
- package/src/components/Toast/Toast.tsx +15 -15
- package/src/components/Toggle/Toggle.tsx +5 -10
- package/src/components/Tooltip/Tooltip.tsx +12 -12
- package/src/components/TransactionBubble/TransactionBubble.tsx +15 -15
- package/src/components/TransactionDetails/TransactionDetails.tsx +10 -10
- package/src/components/TransactionStatus/TransactionStatus.tsx +9 -9
- package/src/components/UpiHandle/UpiHandle.tsx +15 -15
- package/src/components/index.ts +2 -0
- package/src/design-tokens/Coin Variables-variables-full.json +1 -1
- package/src/design-tokens/figma-modes.generated.ts +50 -42
- package/src/icons/components/Icon4g.tsx +11 -0
- package/src/icons/components/Icon4gltedata.tsx +11 -0
- package/src/icons/components/Icon5g.tsx +11 -0
- package/src/icons/components/Icon5gdoubleplus.tsx +11 -0
- package/src/icons/components/Icon5gplus.tsx +11 -0
- package/src/icons/components/IconAdblocker.tsx +11 -0
- package/src/icons/components/IconAdblockplus.tsx +11 -0
- package/src/icons/components/IconAnalytics.tsx +11 -0
- package/src/icons/components/IconAnalyticsdata.tsx +11 -0
- package/src/icons/components/IconAnalyticspiechart.tsx +11 -0
- package/src/icons/components/IconAnalyticspiecharttree.tsx +11 -0
- package/src/icons/components/IconAnalyticspiecharttwo.tsx +11 -0
- package/src/icons/components/IconCompoundinterest.tsx +11 -0
- package/src/icons/components/IconConsumptionaccounted.tsx +11 -0
- package/src/icons/components/IconConsumptionaverage.tsx +11 -0
- package/src/icons/components/IconConsumptionhigh.tsx +11 -0
- package/src/icons/components/IconConsumptionlow.tsx +11 -0
- package/src/icons/components/IconConsumptionunaccounted.tsx +11 -0
- package/src/icons/components/IconCsvdoc.tsx +11 -0
- package/src/icons/components/IconDatabase.tsx +11 -0
- package/src/icons/components/IconDigitalecosystem.tsx +11 -0
- package/src/icons/components/IconDigitalselfservice.tsx +11 -0
- package/src/icons/components/IconDistribution.tsx +11 -0
- package/src/icons/components/IconDocument.tsx +11 -0
- package/src/icons/components/IconDocumentdoc.tsx +11 -0
- package/src/icons/components/IconDocumentjpg.tsx +11 -0
- package/src/icons/components/IconDocumentodt.tsx +11 -0
- package/src/icons/components/IconDocumentpdf.tsx +11 -0
- package/src/icons/components/IconDocumentpng.tsx +11 -0
- package/src/icons/components/IconDocumentraw.tsx +11 -0
- package/src/icons/components/IconDocumentrtf.tsx +11 -0
- package/src/icons/components/IconDocumentsettings.tsx +11 -0
- package/src/icons/components/IconDocumenttif.tsx +11 -0
- package/src/icons/components/IconDocumenttxt.tsx +11 -0
- package/src/icons/components/IconDocumentunknown.tsx +11 -0
- package/src/icons/components/IconDocumentxls.tsx +11 -0
- package/src/icons/components/IconDocumentxlsx.tsx +11 -0
- package/src/icons/components/IconFilerequest.tsx +11 -0
- package/src/icons/components/IconFilesend.tsx +11 -0
- package/src/icons/components/IconFileshare.tsx +11 -0
- package/src/icons/components/IconFindinpage.tsx +11 -0
- package/src/icons/components/IconFolder.tsx +11 -0
- package/src/icons/components/IconFolderbookmarks.tsx +11 -0
- package/src/icons/components/IconFolderfavorites.tsx +11 -0
- package/src/icons/components/IconFolderlocked.tsx +11 -0
- package/src/icons/components/IconFoldermovefiles.tsx +11 -0
- package/src/icons/components/IconFolderpublic.tsx +11 -0
- package/src/icons/components/IconFolderrated.tsx +11 -0
- package/src/icons/components/IconFolderrequest.tsx +11 -0
- package/src/icons/components/IconForm.tsx +11 -0
- package/src/icons/components/IconFormadd.tsx +11 -0
- package/src/icons/components/IconForms.tsx +11 -0
- package/src/icons/components/IconGraphincreasing.tsx +11 -0
- package/src/icons/components/IconGraphlow.tsx +11 -0
- package/src/icons/components/IconGraphtable.tsx +11 -0
- package/src/icons/components/IconHealthreport.tsx +11 -0
- package/src/icons/components/IconHubmode.tsx +11 -0
- package/src/icons/components/IconInfrastructure.tsx +11 -0
- package/src/icons/components/IconInterestlow.tsx +11 -0
- package/src/icons/components/IconLte.tsx +11 -0
- package/src/icons/components/IconNetworkfuture.tsx +11 -0
- package/src/icons/components/IconPagesettings.tsx +11 -0
- package/src/icons/components/IconPptxdoc.tsx +11 -0
- package/src/icons/components/IconPreferrednumber.tsx +11 -0
- package/src/icons/components/IconPremiumnumber.tsx +11 -0
- package/src/icons/components/IconProjection.tsx +11 -0
- package/src/icons/components/IconRequest.tsx +11 -0
- package/src/icons/components/IconRoutestraffic.tsx +11 -0
- package/src/icons/components/IconTechnology.tsx +11 -0
- package/src/icons/components/IconVolte.tsx +11 -0
- package/src/icons/components/IconVonr.tsx +11 -0
- package/src/icons/components/IconVowifi.tsx +11 -0
- package/src/icons/components/IconVpndata.tsx +11 -0
- package/src/icons/components/index.ts +73 -0
- package/src/icons/registry.ts +293 -1
- package/src/utils/index.ts +2 -0
- package/src/utils/react-utils.ts +72 -1
- package/src/utils/shadow.ts +219 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Auto-generated icon components
|
|
3
3
|
*/
|
|
4
4
|
export * from './Icon360rotation';
|
|
5
|
+
export * from './Icon4g';
|
|
5
6
|
export * from './Icon4gbarfour';
|
|
6
7
|
export * from './Icon4gbarnonetwork';
|
|
7
8
|
export * from './Icon4gbarnone';
|
|
@@ -9,9 +10,15 @@ export * from './Icon4gbarone';
|
|
|
9
10
|
export * from './Icon4gbarthree';
|
|
10
11
|
export * from './Icon4gbartwo';
|
|
11
12
|
export * from './Icon4glte';
|
|
13
|
+
export * from './Icon4gltedata';
|
|
12
14
|
export * from './Icon4gsim';
|
|
13
15
|
export * from './Icon4k';
|
|
16
|
+
export * from './Icon5g';
|
|
17
|
+
export * from './Icon5gdoubleplus';
|
|
18
|
+
export * from './Icon5gplus';
|
|
14
19
|
export * from './Icon8k';
|
|
20
|
+
export * from './IconLte';
|
|
21
|
+
export * from './IconVonr';
|
|
15
22
|
export * from './IconAtoz';
|
|
16
23
|
export * from './IconAbdominalpain';
|
|
17
24
|
export * from './IconAccessibility';
|
|
@@ -19,6 +26,8 @@ export * from './IconAccessories';
|
|
|
19
26
|
export * from './IconAccountclose';
|
|
20
27
|
export * from './IconAccountinfo';
|
|
21
28
|
export * from './IconAceofspades';
|
|
29
|
+
export * from './IconAdblockplus';
|
|
30
|
+
export * from './IconAdblocker';
|
|
22
31
|
export * from './IconAdd';
|
|
23
32
|
export * from './IconAddcircle';
|
|
24
33
|
export * from './IconAdventure';
|
|
@@ -40,6 +49,11 @@ export * from './IconAlignverticalcenters';
|
|
|
40
49
|
export * from './IconAlignmentfilling';
|
|
41
50
|
export * from './IconAlignmenthorizontal';
|
|
42
51
|
export * from './IconAlignmentvertical';
|
|
52
|
+
export * from './IconAnalytics';
|
|
53
|
+
export * from './IconAnalyticsdata';
|
|
54
|
+
export * from './IconAnalyticspiechart';
|
|
55
|
+
export * from './IconAnalyticspiecharttree';
|
|
56
|
+
export * from './IconAnalyticspiecharttwo';
|
|
43
57
|
export * from './IconAndroid';
|
|
44
58
|
export * from './IconAnimation';
|
|
45
59
|
export * from './IconAnime';
|
|
@@ -275,10 +289,16 @@ export * from './IconCommunicationskills';
|
|
|
275
289
|
export * from './IconCompact';
|
|
276
290
|
export * from './IconCompare';
|
|
277
291
|
export * from './IconComparison';
|
|
292
|
+
export * from './IconCompoundinterest';
|
|
278
293
|
export * from './IconCompress';
|
|
279
294
|
export * from './IconConfirm';
|
|
280
295
|
export * from './IconConstipation';
|
|
281
296
|
export * from './IconConsultant';
|
|
297
|
+
export * from './IconConsumptionaccounted';
|
|
298
|
+
export * from './IconConsumptionaverage';
|
|
299
|
+
export * from './IconConsumptionhigh';
|
|
300
|
+
export * from './IconConsumptionlow';
|
|
301
|
+
export * from './IconConsumptionunaccounted';
|
|
282
302
|
export * from './IconContactadd';
|
|
283
303
|
export * from './IconContactshare';
|
|
284
304
|
export * from './IconContactus';
|
|
@@ -311,6 +331,7 @@ export * from './IconCropplanningstyle1';
|
|
|
311
331
|
export * from './IconCropplanningstyle2';
|
|
312
332
|
export * from './IconCropplanningstyle3';
|
|
313
333
|
export * from './IconCrowns';
|
|
334
|
+
export * from './IconCsvdoc';
|
|
314
335
|
export * from './IconCup';
|
|
315
336
|
export * from './IconCut';
|
|
316
337
|
export * from './IconCutout';
|
|
@@ -328,6 +349,7 @@ export * from './IconDataloan';
|
|
|
328
349
|
export * from './IconDataout';
|
|
329
350
|
export * from './IconDatapack';
|
|
330
351
|
export * from './IconDatasaver';
|
|
352
|
+
export * from './IconDatabase';
|
|
331
353
|
export * from './IconDay';
|
|
332
354
|
export * from './IconDaynight';
|
|
333
355
|
export * from './IconDefault';
|
|
@@ -342,16 +364,33 @@ export * from './IconDevotion';
|
|
|
342
364
|
export * from './IconDiamond';
|
|
343
365
|
export * from './IconDiaolog';
|
|
344
366
|
export * from './IconDice2';
|
|
367
|
+
export * from './IconDigitalecosystem';
|
|
368
|
+
export * from './IconDigitalselfservice';
|
|
345
369
|
export * from './IconDining';
|
|
346
370
|
export * from './IconDisinfectant';
|
|
347
371
|
export * from './IconDislike';
|
|
348
372
|
export * from './IconDistributehorizontalspacing';
|
|
349
373
|
export * from './IconDistributeverticalspacing';
|
|
374
|
+
export * from './IconDistribution';
|
|
350
375
|
export * from './IconDizzy';
|
|
351
376
|
export * from './IconDna';
|
|
352
377
|
export * from './IconDock';
|
|
353
378
|
export * from './IconDoctor';
|
|
379
|
+
export * from './IconDocument';
|
|
380
|
+
export * from './IconDocumentdoc';
|
|
381
|
+
export * from './IconDocumentjpg';
|
|
382
|
+
export * from './IconDocumentodt';
|
|
383
|
+
export * from './IconDocumentpdf';
|
|
384
|
+
export * from './IconDocumentpng';
|
|
385
|
+
export * from './IconDocumentraw';
|
|
386
|
+
export * from './IconDocumentrtf';
|
|
387
|
+
export * from './IconDocumentsettings';
|
|
388
|
+
export * from './IconDocumenttif';
|
|
389
|
+
export * from './IconDocumenttxt';
|
|
390
|
+
export * from './IconDocumentunknown';
|
|
354
391
|
export * from './IconDocumentviewer';
|
|
392
|
+
export * from './IconDocumentxls';
|
|
393
|
+
export * from './IconDocumentxlsx';
|
|
355
394
|
export * from './IconDocumentary';
|
|
356
395
|
export * from './IconDocuments';
|
|
357
396
|
export * from './IconDolbysound';
|
|
@@ -438,9 +477,13 @@ export * from './IconFemalemale';
|
|
|
438
477
|
export * from './IconFertilized';
|
|
439
478
|
export * from './IconFertilizer';
|
|
440
479
|
export * from './IconFiberoff';
|
|
480
|
+
export * from './IconFilerequest';
|
|
481
|
+
export * from './IconFilesend';
|
|
482
|
+
export * from './IconFileshare';
|
|
441
483
|
export * from './IconFilter';
|
|
442
484
|
export * from './IconFiltermultiple';
|
|
443
485
|
export * from './IconFind';
|
|
486
|
+
export * from './IconFindinpage';
|
|
444
487
|
export * from './IconFingerprint';
|
|
445
488
|
export * from './IconFinishline';
|
|
446
489
|
export * from './IconFire';
|
|
@@ -465,10 +508,21 @@ export * from './IconFlower';
|
|
|
465
508
|
export * from './IconFluorescent';
|
|
466
509
|
export * from './IconFlurries';
|
|
467
510
|
export * from './IconFog';
|
|
511
|
+
export * from './IconFolder';
|
|
512
|
+
export * from './IconFolderbookmarks';
|
|
513
|
+
export * from './IconFolderfavorites';
|
|
514
|
+
export * from './IconFolderlocked';
|
|
515
|
+
export * from './IconFoldermovefiles';
|
|
516
|
+
export * from './IconFolderpublic';
|
|
517
|
+
export * from './IconFolderrated';
|
|
468
518
|
export * from './IconFolderremove';
|
|
519
|
+
export * from './IconFolderrequest';
|
|
469
520
|
export * from './IconFooddrink';
|
|
470
521
|
export * from './IconFootball';
|
|
471
522
|
export * from './IconForkspoon';
|
|
523
|
+
export * from './IconForm';
|
|
524
|
+
export * from './IconFormadd';
|
|
525
|
+
export * from './IconForms';
|
|
472
526
|
export * from './IconForward';
|
|
473
527
|
export * from './IconForward1';
|
|
474
528
|
export * from './IconFps120';
|
|
@@ -502,6 +556,9 @@ export * from './IconGoforward';
|
|
|
502
556
|
export * from './IconGoforward10';
|
|
503
557
|
export * from './IconGoforward30';
|
|
504
558
|
export * from './IconGooglelens';
|
|
559
|
+
export * from './IconGraphincreasing';
|
|
560
|
+
export * from './IconGraphlow';
|
|
561
|
+
export * from './IconGraphtable';
|
|
505
562
|
export * from './IconGrocery';
|
|
506
563
|
export * from './IconGroup';
|
|
507
564
|
export * from './IconGuard';
|
|
@@ -531,6 +588,7 @@ export * from './IconHeadset';
|
|
|
531
588
|
export * from './IconHeadsetbluetooth';
|
|
532
589
|
export * from './IconHealthconditions';
|
|
533
590
|
export * from './IconHealthprotection';
|
|
591
|
+
export * from './IconHealthreport';
|
|
534
592
|
export * from './IconHealthy';
|
|
535
593
|
export * from './IconHeartrate';
|
|
536
594
|
export * from './IconHeavyrain';
|
|
@@ -560,6 +618,7 @@ export * from './IconHotday';
|
|
|
560
618
|
export * from './IconHotspotlocator';
|
|
561
619
|
export * from './IconHourglass';
|
|
562
620
|
export * from './IconHtml5';
|
|
621
|
+
export * from './IconHubmode';
|
|
563
622
|
export * from './IconHumidity';
|
|
564
623
|
export * from './IconHurricane';
|
|
565
624
|
export * from './IconHydrant';
|
|
@@ -576,11 +635,13 @@ export * from './IconInfant';
|
|
|
576
635
|
export * from './IconInfinity';
|
|
577
636
|
export * from './IconInfo';
|
|
578
637
|
export * from './IconInfotext';
|
|
638
|
+
export * from './IconInfrastructure';
|
|
579
639
|
export * from './IconInputsource';
|
|
580
640
|
export * from './IconInsemination';
|
|
581
641
|
export * from './IconInsurance';
|
|
582
642
|
export * from './IconIntercomcallmobile';
|
|
583
643
|
export * from './IconIntercomcalls';
|
|
644
|
+
export * from './IconInterestlow';
|
|
584
645
|
export * from './IconInterestpayout';
|
|
585
646
|
export * from './IconInternet';
|
|
586
647
|
export * from './IconInternethighspeed';
|
|
@@ -720,6 +781,7 @@ export * from './IconNamaste';
|
|
|
720
781
|
export * from './IconNature';
|
|
721
782
|
export * from './IconNatureoff';
|
|
722
783
|
export * from './IconNetworkdetails';
|
|
784
|
+
export * from './IconNetworkfuture';
|
|
723
785
|
export * from './IconNeutralgender';
|
|
724
786
|
export * from './IconNewchat';
|
|
725
787
|
export * from './IconNewtabgroup';
|
|
@@ -774,6 +836,7 @@ export * from './IconOverlappinglayout';
|
|
|
774
836
|
export * from './IconOverlay';
|
|
775
837
|
export * from './IconOxygen';
|
|
776
838
|
export * from './IconPageflip';
|
|
839
|
+
export * from './IconPagesettings';
|
|
777
840
|
export * from './IconPaintroller';
|
|
778
841
|
export * from './IconPanorma';
|
|
779
842
|
export * from './IconPartialoxygenpressure';
|
|
@@ -834,7 +897,10 @@ export * from './IconPlaylistsuccessful';
|
|
|
834
897
|
export * from './IconPopcorn';
|
|
835
898
|
export * from './IconPortrait';
|
|
836
899
|
export * from './IconPowerplay';
|
|
900
|
+
export * from './IconPptxdoc';
|
|
901
|
+
export * from './IconPreferrednumber';
|
|
837
902
|
export * from './IconPregnancytest';
|
|
903
|
+
export * from './IconPremiumnumber';
|
|
838
904
|
export * from './IconPrescription';
|
|
839
905
|
export * from './IconPresentations';
|
|
840
906
|
export * from './IconPrevioustitle';
|
|
@@ -843,6 +909,7 @@ export * from './IconPrint';
|
|
|
843
909
|
export * from './IconPro';
|
|
844
910
|
export * from './IconProfilefemale';
|
|
845
911
|
export * from './IconProfilemale';
|
|
912
|
+
export * from './IconProjection';
|
|
846
913
|
export * from './IconProtection';
|
|
847
914
|
export * from './IconProtectionlocked';
|
|
848
915
|
export * from './IconProtectionthreats';
|
|
@@ -886,6 +953,7 @@ export * from './IconReplay';
|
|
|
886
953
|
export * from './IconReply';
|
|
887
954
|
export * from './IconReplyall';
|
|
888
955
|
export * from './IconReplycircle';
|
|
956
|
+
export * from './IconRequest';
|
|
889
957
|
export * from './IconResearch';
|
|
890
958
|
export * from './IconReset';
|
|
891
959
|
export * from './IconResetpassword';
|
|
@@ -910,6 +978,7 @@ export * from './IconRomance';
|
|
|
910
978
|
export * from './IconRotate90';
|
|
911
979
|
export * from './IconRotatephone';
|
|
912
980
|
export * from './IconRoulette';
|
|
981
|
+
export * from './IconRoutestraffic';
|
|
913
982
|
export * from './IconRuler';
|
|
914
983
|
export * from './IconRunning';
|
|
915
984
|
export * from './IconRupee';
|
|
@@ -1084,6 +1153,7 @@ export * from './IconTask';
|
|
|
1084
1153
|
export * from './IconTeach';
|
|
1085
1154
|
export * from './IconTeam';
|
|
1086
1155
|
export * from './IconTeammembers';
|
|
1156
|
+
export * from './IconTechnology';
|
|
1087
1157
|
export * from './IconTeddy';
|
|
1088
1158
|
export * from './IconTeddylove';
|
|
1089
1159
|
export * from './IconTemperature';
|
|
@@ -1177,6 +1247,8 @@ export * from './IconVisible';
|
|
|
1177
1247
|
export * from './IconVisibleoff';
|
|
1178
1248
|
export * from './IconVitaminb';
|
|
1179
1249
|
export * from './IconVitamind';
|
|
1250
|
+
export * from './IconVolte';
|
|
1251
|
+
export * from './IconVowifi';
|
|
1180
1252
|
export * from './IconVoice';
|
|
1181
1253
|
export * from './IconVoicerecording';
|
|
1182
1254
|
export * from './IconVoicebox';
|
|
@@ -1185,6 +1257,7 @@ export * from './IconVoucher4g';
|
|
|
1185
1257
|
export * from './IconVouchercashback';
|
|
1186
1258
|
export * from './IconVoucherplan';
|
|
1187
1259
|
export * from './IconVpn';
|
|
1260
|
+
export * from './IconVpndata';
|
|
1188
1261
|
export * from './IconWalkingaids';
|
|
1189
1262
|
export * from './IconWallet';
|
|
1190
1263
|
export * from './IconWalletsleeve';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Auto-generated from SVG files in src/icons/
|
|
5
5
|
* DO NOT EDIT MANUALLY - Run "npm run icons:generate" to regenerate
|
|
6
6
|
*
|
|
7
|
-
* Generated: 2026-06-
|
|
7
|
+
* Generated: 2026-06-26T16:43:17.033Z
|
|
8
8
|
*/
|
|
9
9
|
export declare const iconRegistry: Record<string, {
|
|
10
10
|
path: string;
|
|
@@ -2,4 +2,6 @@ export { cloneChildrenWithModes, flattenChildren } from './react-utils';
|
|
|
2
2
|
export { default as MediaSource } from './MediaSource';
|
|
3
3
|
export type { UnifiedSource, MediaSourceProps } from './MediaSource';
|
|
4
4
|
export { formatIndianNumber } from './number-utils';
|
|
5
|
+
export { boxShadow, supportsNativeBoxShadow, parseBoxShadow, parseSingleShadow } from './shadow';
|
|
6
|
+
export type { BoxShadowOptions, ParsedShadow } from './shadow';
|
|
5
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type
|
|
2
|
+
import { type StyleProp, type ViewStyle, type TextStyle } from 'react-native';
|
|
3
3
|
import type { Modes } from '../design-tokens';
|
|
4
4
|
/**
|
|
5
5
|
* A shared, frozen empty modes object.
|
|
@@ -67,6 +67,45 @@ export declare function resolveTruncation(disableTruncation: boolean | undefined
|
|
|
67
67
|
numberOfLines?: number;
|
|
68
68
|
ellipsizeMode?: EllipsizeMode;
|
|
69
69
|
};
|
|
70
|
+
export type TextLayoutResult = {
|
|
71
|
+
numberOfLines?: number | undefined;
|
|
72
|
+
ellipsizeMode?: EllipsizeMode | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* Style fragment that MUST be merged onto the target `<Text>` (after the
|
|
75
|
+
* component's own style and any consumer `style` override) so the escape
|
|
76
|
+
* hatches can win. `undefined` when neither flag is set.
|
|
77
|
+
*/
|
|
78
|
+
style?: TextStyle | undefined;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Resolves the `<Text>` props + style for the two truncation escape hatches.
|
|
82
|
+
* This supersedes {@link resolveTruncation} for components that want the
|
|
83
|
+
* "brutal" overflow behaviour rather than just dropping the line clamp.
|
|
84
|
+
*
|
|
85
|
+
* - `disableTruncation`: never truncate. Drops `numberOfLines`/`ellipsizeMode`
|
|
86
|
+
* AND sets `flexShrink: 0`, so a tight flex parent can no longer squeeze the
|
|
87
|
+
* text into an ellipsis — instead the text keeps its intrinsic size and
|
|
88
|
+
* overflows, even if that means blowing past (and visually breaking) the
|
|
89
|
+
* parent layout. The text still wraps onto multiple lines.
|
|
90
|
+
* - `singleLine`: force everything onto one line with no wrapping. Implies
|
|
91
|
+
* `disableTruncation` (the ellipsis is never shown). On web this adds
|
|
92
|
+
* `whiteSpace: 'nowrap'` so the single line overflows horizontally instead of
|
|
93
|
+
* wrapping. The text is never shrunk.
|
|
94
|
+
*
|
|
95
|
+
* Note (native): React Native's `<Text>` has no `white-space: nowrap`
|
|
96
|
+
* equivalent, so on iOS/Android `singleLine` cannot force a hard non-wrapping
|
|
97
|
+
* overflow — it behaves like `disableTruncation` (no ellipsis, no shrink). The
|
|
98
|
+
* hard single-line overflow is honoured on web (Storybook / react-native-web).
|
|
99
|
+
*
|
|
100
|
+
* When neither flag is set, the supplied `numberOfLines`/`ellipsizeMode` pass
|
|
101
|
+
* through unchanged and no extra style is returned.
|
|
102
|
+
*/
|
|
103
|
+
export declare function resolveTextLayout({ disableTruncation, singleLine, numberOfLines, ellipsizeMode, }: {
|
|
104
|
+
disableTruncation?: boolean | undefined;
|
|
105
|
+
singleLine?: boolean | undefined;
|
|
106
|
+
numberOfLines?: number | undefined;
|
|
107
|
+
ellipsizeMode?: EllipsizeMode | undefined;
|
|
108
|
+
}): TextLayoutResult;
|
|
70
109
|
/**
|
|
71
110
|
* Flattens React children, extracting them from Fragments.
|
|
72
111
|
* Useful for Group components that need to process individual items (e.g., for layout or styling)
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import type { ViewStyle } from 'react-native';
|
|
2
|
+
/**
|
|
3
|
+
* Cross-platform drop-shadow helper with a backward-compatibility layer.
|
|
4
|
+
*
|
|
5
|
+
* Why this exists
|
|
6
|
+
* ----------------
|
|
7
|
+
* The spec-compliant `boxShadow` style prop only landed in React Native 0.76
|
|
8
|
+
* (and only on the New Architecture / Fabric). Older apps that consume this
|
|
9
|
+
* library are still on pre-0.76 React Native where `boxShadow` is silently
|
|
10
|
+
* ignored on native, so their shadows simply disappear.
|
|
11
|
+
*
|
|
12
|
+
* Rather than hand-rolling a `Platform.select` block in every component, route
|
|
13
|
+
* ALL drop shadows through this single helper. When `boxShadow` is natively
|
|
14
|
+
* supported it is used verbatim (web + RN 0.76+ Fabric). When it is NOT
|
|
15
|
+
* supported, the CSS-style shadow string is parsed and translated into the
|
|
16
|
+
* legacy native shadow API:
|
|
17
|
+
* - iOS: `shadowColor`, `shadowOffset`, `shadowOpacity`, `shadowRadius`
|
|
18
|
+
* - Android: `elevation`
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```tsx
|
|
22
|
+
* const style = boxShadow('0px 2px 4px 0px rgba(0,0,0,0.18)')
|
|
23
|
+
* <View style={[base, style]} />
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export interface ParsedShadow {
|
|
27
|
+
offsetX: number;
|
|
28
|
+
offsetY: number;
|
|
29
|
+
blur: number;
|
|
30
|
+
spread: number;
|
|
31
|
+
color: string;
|
|
32
|
+
inset: boolean;
|
|
33
|
+
}
|
|
34
|
+
export interface BoxShadowOptions {
|
|
35
|
+
/**
|
|
36
|
+
* Explicit Android `elevation` for the legacy fallback. When omitted it is
|
|
37
|
+
* derived from the most prominent shadow's blur radius. Android elevation
|
|
38
|
+
* cannot reproduce colored/ring shadows, so provide this when the default
|
|
39
|
+
* heuristic doesn't match the design.
|
|
40
|
+
*/
|
|
41
|
+
elevation?: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Whether the spec-compliant `boxShadow` style prop is honored at runtime.
|
|
45
|
+
* - Web (react-native-web) always supports it.
|
|
46
|
+
* - Native supports it from RN 0.76+ AND only on the New Architecture (Fabric).
|
|
47
|
+
*/
|
|
48
|
+
export declare function supportsNativeBoxShadow(): boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Parses a single CSS box-shadow layer into its primitive parts.
|
|
51
|
+
* Supports: `[inset] offsetX offsetY [blur] [spread] color` in any sensible
|
|
52
|
+
* ordering of the keyword/color, with `rgb()/rgba()/hsl()/hsla()`, hex, or
|
|
53
|
+
* named colors.
|
|
54
|
+
*/
|
|
55
|
+
export declare function parseSingleShadow(input: string): ParsedShadow;
|
|
56
|
+
/**
|
|
57
|
+
* Parses a full box-shadow string (one or more comma-separated layers).
|
|
58
|
+
*/
|
|
59
|
+
export declare function parseBoxShadow(value: string): ParsedShadow[];
|
|
60
|
+
/**
|
|
61
|
+
* Returns a style object that renders the given CSS-style box-shadow on every
|
|
62
|
+
* platform. Uses the native `boxShadow` prop when supported, otherwise falls
|
|
63
|
+
* back to the legacy `shadow*` (iOS) / `elevation` (Android) API.
|
|
64
|
+
*
|
|
65
|
+
* @param value A CSS box-shadow string, e.g. `'0px 2px 4px 0px rgba(0,0,0,0.2)'`.
|
|
66
|
+
* Multiple comma-separated layers are supported; on the legacy
|
|
67
|
+
* fallback iOS uses the most prominent layer and Android uses a
|
|
68
|
+
* single elevation.
|
|
69
|
+
* @param options Optional overrides (e.g. explicit Android `elevation`).
|
|
70
|
+
*/
|
|
71
|
+
export declare function boxShadow(value: string, options?: BoxShadowOptions): ViewStyle;
|
|
72
|
+
//# sourceMappingURL=shadow.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jfs-components",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.17",
|
|
4
4
|
"description": "React Native Jio Finance Components Library",
|
|
5
5
|
"author": "sunshuaiqi@gmail.com",
|
|
6
6
|
"license": "MIT",
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
"deploy:storybook": "vercel --prod",
|
|
41
41
|
"postinstall": "patch-package",
|
|
42
42
|
"icons:generate": "node scripts/generate-icon-registry.js",
|
|
43
|
+
"audit:tokens": "node scripts/audit-tokens.js",
|
|
43
44
|
"prepare": "bob build",
|
|
44
45
|
"build": "bob build",
|
|
45
46
|
"prepack": "yarn icons:generate && bob build",
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
} from 'react-native'
|
|
11
11
|
import { getVariableByName } from '../../design-tokens/figma-variables-resolver'
|
|
12
12
|
import { EMPTY_MODES, cloneChildrenWithModes, flattenChildren } from '../../utils/react-utils'
|
|
13
|
+
import { boxShadow } from '../../utils/shadow'
|
|
13
14
|
import IconButton from '../IconButton/IconButton'
|
|
14
15
|
import type { Modes } from '../../design-tokens'
|
|
15
16
|
|
|
@@ -37,8 +38,6 @@ export type ActionFooterProps = {
|
|
|
37
38
|
accessibilityLabel?: string
|
|
38
39
|
}
|
|
39
40
|
|
|
40
|
-
const IS_WEB = Platform.OS === 'web'
|
|
41
|
-
|
|
42
41
|
// ---------------------------------------------------------------------------
|
|
43
42
|
// Yoga-safe stretch
|
|
44
43
|
// ---------------------------------------------------------------------------
|
|
@@ -67,28 +66,12 @@ const STRETCH_STYLE: ViewStyle = {
|
|
|
67
66
|
minWidth: 0,
|
|
68
67
|
}
|
|
69
68
|
|
|
70
|
-
//
|
|
71
|
-
//
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
shadowOffset: { width: 0, height: -12 },
|
|
77
|
-
shadowOpacity: 0.16,
|
|
78
|
-
shadowRadius: 24,
|
|
79
|
-
},
|
|
80
|
-
android: {
|
|
81
|
-
elevation: 16,
|
|
82
|
-
},
|
|
83
|
-
default: {},
|
|
84
|
-
}) as ViewStyle
|
|
85
|
-
|
|
86
|
-
const WEB_SHADOW = IS_WEB
|
|
87
|
-
? ({
|
|
88
|
-
boxShadow:
|
|
89
|
-
'0px -12px 24px 0px rgba(12, 13, 16, 0.12), 0px -16px 48px 0px rgba(12, 13, 16, 0.16)',
|
|
90
|
-
} as ViewStyle)
|
|
91
|
-
: null
|
|
69
|
+
// Upward drop shadow routed through the unified helper: native `boxShadow` on
|
|
70
|
+
// web + RN 0.76+, legacy `shadow*` (iOS) / `elevation` (Android) on older RN.
|
|
71
|
+
const SHADOW = boxShadow(
|
|
72
|
+
'0px -12px 24px 0px rgba(12, 13, 16, 0.12), 0px -16px 48px 0px rgba(12, 13, 16, 0.16)',
|
|
73
|
+
{ elevation: 16 },
|
|
74
|
+
)
|
|
92
75
|
|
|
93
76
|
// The runtime token a slot child must equal (by reference) to be treated as
|
|
94
77
|
// an IconButton. `IconButton` is exported wrapped in `React.memo`, so the
|
|
@@ -200,7 +183,7 @@ function ActionFooter({
|
|
|
200
183
|
paddingRight: paddingHorizontal,
|
|
201
184
|
paddingTop,
|
|
202
185
|
paddingBottom,
|
|
203
|
-
...
|
|
186
|
+
...SHADOW,
|
|
204
187
|
}
|
|
205
188
|
|
|
206
189
|
const slot: ViewStyle = {
|
|
@@ -240,7 +223,6 @@ function ActionFooter({
|
|
|
240
223
|
<Animated.View
|
|
241
224
|
style={[
|
|
242
225
|
containerStyle,
|
|
243
|
-
WEB_SHADOW,
|
|
244
226
|
style,
|
|
245
227
|
// Counter-translate by the keyboard height on Android so `adjustResize`
|
|
246
228
|
// can't lift the footer above the keyboard (no-op on iOS/web where the
|
|
@@ -40,18 +40,18 @@ export default function ActionTile({
|
|
|
40
40
|
const modes = { ...globalModes, ...propModes }
|
|
41
41
|
|
|
42
42
|
// Resolve tokens
|
|
43
|
-
const backgroundColor = getVariableByName('actionTile/background', modes)
|
|
44
|
-
const gap = Number(getVariableByName('actionTile/gap', modes))
|
|
45
|
-
const paddingHorizontal = Number(getVariableByName('actionTile/padding/horizontal', modes))
|
|
46
|
-
const paddingVertical = Number(getVariableByName('actionTile/padding/vertical', modes))
|
|
47
|
-
const radius = Number(getVariableByName('actionTile/radius', modes))
|
|
43
|
+
const backgroundColor = getVariableByName('actionTile/background', modes)
|
|
44
|
+
const gap = Number(getVariableByName('actionTile/gap', modes))
|
|
45
|
+
const paddingHorizontal = Number(getVariableByName('actionTile/padding/horizontal', modes))
|
|
46
|
+
const paddingVertical = Number(getVariableByName('actionTile/padding/vertical', modes))
|
|
47
|
+
const radius = Number(getVariableByName('actionTile/radius', modes))
|
|
48
48
|
|
|
49
49
|
// Text tokens
|
|
50
|
-
const textColor = getVariableByName('actionTile/foreground', modes)
|
|
51
|
-
const fontSize = Number(getVariableByName('actionTile/fontSize', modes))
|
|
52
|
-
const fontFamily = getVariableByName('actionTile/fontFamily', modes)
|
|
53
|
-
const fontWeightStr = getVariableByName('actionTile/fontWeight', modes)
|
|
54
|
-
const lineHeight = Number(getVariableByName('actionTile/lineHeight', modes))
|
|
50
|
+
const textColor = getVariableByName('actionTile/foreground', modes)
|
|
51
|
+
const fontSize = Number(getVariableByName('actionTile/fontSize', modes))
|
|
52
|
+
const fontFamily = getVariableByName('actionTile/fontFamily', modes)
|
|
53
|
+
const fontWeightStr = getVariableByName('actionTile/fontWeight', modes)
|
|
54
|
+
const lineHeight = Number(getVariableByName('actionTile/lineHeight', modes))
|
|
55
55
|
|
|
56
56
|
const containerStyle: ViewStyle = {
|
|
57
57
|
backgroundColor,
|
|
@@ -37,9 +37,9 @@ const AmountInput = forwardRef<View, AmountInputProps>(function AmountInput({
|
|
|
37
37
|
const modes = { ...globalModes, ...propModes }
|
|
38
38
|
|
|
39
39
|
// Resolve tokens
|
|
40
|
-
const gap = Number(getVariableByName('amountInput/gap', modes))
|
|
41
|
-
const paddingHorizontal = Number(getVariableByName('amountInput/padding/horizontal', modes))
|
|
42
|
-
const paddingVertical = Number(getVariableByName('amountInput/padding/vertical', modes))
|
|
40
|
+
const gap = Number(getVariableByName('amountInput/gap', modes))
|
|
41
|
+
const paddingHorizontal = Number(getVariableByName('amountInput/padding/horizontal', modes))
|
|
42
|
+
const paddingVertical = Number(getVariableByName('amountInput/padding/vertical', modes))
|
|
43
43
|
|
|
44
44
|
const containerStyle: ViewStyle = {
|
|
45
45
|
flexDirection: 'column',
|
|
@@ -1035,7 +1035,7 @@ function ChartTooltip({
|
|
|
1035
1035
|
const bg = (getVariableByName('tooltip/background', modes) as string | null) ?? '#0f0d0a'
|
|
1036
1036
|
const paddingH = toNumber(getVariableByName('tooltip/padding/horizontal', modes), 12)
|
|
1037
1037
|
const paddingV = toNumber(getVariableByName('tooltip/padding/vertical', modes), 8)
|
|
1038
|
-
const radius =
|
|
1038
|
+
const radius = 8
|
|
1039
1039
|
const labelColor = (getVariableByName('tooltip/label/color', modes) as string | null) ?? '#ffffff'
|
|
1040
1040
|
|
|
1041
1041
|
if (items.length === 0) return null
|
|
@@ -1111,7 +1111,7 @@ function ChartLegend() {
|
|
|
1111
1111
|
/** Resolve `axisItem/*` typography tokens into a memoized text style. */
|
|
1112
1112
|
function useAxisTypography(modes: Modes) {
|
|
1113
1113
|
return useMemo(() => {
|
|
1114
|
-
const color = (getVariableByName('axisItem/
|
|
1114
|
+
const color = (getVariableByName('axisItem/fg', modes) as string | null) ?? '#000000'
|
|
1115
1115
|
const fontFamily =
|
|
1116
1116
|
(getVariableByName('axisItem/fontFamily', modes) as string | null) ?? 'JioType Var'
|
|
1117
1117
|
const fontSize = toNumber(getVariableByName('axisItem/fontSize', modes), 12)
|
|
@@ -189,7 +189,7 @@ function Attached({
|
|
|
189
189
|
// anchor centering intact).
|
|
190
190
|
const slotBorderStyle = useMemo<ViewStyle | null>(() => {
|
|
191
191
|
const borderColor = getVariableByName('attached/slot/border', modes)
|
|
192
|
-
const borderWidth = parseFloat(getVariableByName('attached/slot/borderWidth', modes)
|
|
192
|
+
const borderWidth = parseFloat(getVariableByName('attached/slot/borderWidth', modes))
|
|
193
193
|
if (!borderColor || !(borderWidth > 0)) return null
|
|
194
194
|
|
|
195
195
|
// Match the inner clip radius so the ring stays concentric. The outer edge
|
|
@@ -65,18 +65,18 @@ interface AvatarTokens {
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
function resolveAvatarTokens(modes: Modes, isMonogram: boolean): AvatarTokens {
|
|
68
|
-
const size = (getVariableByName('avatar/size', modes)
|
|
69
|
-
const radiusRaw = (getVariableByName('avatar/radius', modes)
|
|
70
|
-
const backgroundColor = getVariableByName('avatar/background', modes)
|
|
71
|
-
const borderColor = getVariableByName('avatar/border/color', modes)
|
|
72
|
-
const borderSize = (getVariableByName('avatar/border/size', modes)
|
|
73
|
-
const labelColor = getVariableByName('avatar/label/color', modes)
|
|
74
|
-
const labelFontSize = (getVariableByName('avatar/label/fontSize', modes)
|
|
75
|
-
const labelLineHeight = (getVariableByName('avatar/label/lineHeight', modes)
|
|
76
|
-
const labelFontWeightRaw = getVariableByName('avatar/label/fontWeight', modes)
|
|
68
|
+
const size = (getVariableByName('avatar/size', modes)) as number
|
|
69
|
+
const radiusRaw = (getVariableByName('avatar/radius', modes)) as number
|
|
70
|
+
const backgroundColor = getVariableByName('avatar/background', modes)
|
|
71
|
+
const borderColor = getVariableByName('avatar/border/color', modes)
|
|
72
|
+
const borderSize = (getVariableByName('avatar/border/size', modes)) as number
|
|
73
|
+
const labelColor = getVariableByName('avatar/label/color', modes)
|
|
74
|
+
const labelFontSize = (getVariableByName('avatar/label/fontSize', modes)) as number
|
|
75
|
+
const labelLineHeight = (getVariableByName('avatar/label/lineHeight', modes)) as number
|
|
76
|
+
const labelFontWeightRaw = getVariableByName('avatar/label/fontWeight', modes)
|
|
77
77
|
const labelFontWeight =
|
|
78
78
|
typeof labelFontWeightRaw === 'number' ? labelFontWeightRaw.toString() : labelFontWeightRaw
|
|
79
|
-
const labelFontFamily = (getVariableByName('avatar/label/fontFamily', modes)
|
|
79
|
+
const labelFontFamily = (getVariableByName('avatar/label/fontFamily', modes)) as string
|
|
80
80
|
|
|
81
81
|
// 9999 is the design-token sentinel for "perfect circle"
|
|
82
82
|
const borderRadius = radiusRaw === 9999 ? size / 2 : radiusRaw
|
|
@@ -13,18 +13,18 @@ type AvatarGroupProps = {
|
|
|
13
13
|
} & React.ComponentProps<typeof View>;
|
|
14
14
|
|
|
15
15
|
function AvatarGroup({ modes = EMPTY_MODES, children, style, ...rest }: AvatarGroupProps) {
|
|
16
|
-
const gap = getVariableByName('avatarGroup/gap', modes)
|
|
16
|
+
const gap = getVariableByName('avatarGroup/gap', modes);
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
const avatarSize = getVariableByName('avatar/size', modes)
|
|
20
|
-
const avatarRadius = getVariableByName('avatar/radius', modes)
|
|
21
|
-
const borderSize = getVariableByName('avatar/border/size', modes)
|
|
22
|
-
const borderColor = getVariableByName('avatar/border/color', modes)
|
|
19
|
+
const avatarSize = getVariableByName('avatar/size', modes);
|
|
20
|
+
const avatarRadius = getVariableByName('avatar/radius', modes);
|
|
21
|
+
const borderSize = getVariableByName('avatar/border/size', modes);
|
|
22
|
+
const borderColor = getVariableByName('avatar/border/color', modes);
|
|
23
23
|
|
|
24
|
-
const paddingLeft = getVariableByName('avatarGroup/padding/left', modes)
|
|
25
|
-
const paddingRight = getVariableByName('avatarGroup/padding/right', modes)
|
|
26
|
-
const paddingTop = getVariableByName('avatarGroup/padding/top', modes)
|
|
27
|
-
const paddingBottom = getVariableByName('avatarGroup/padding/bottom', modes)
|
|
24
|
+
const paddingLeft = getVariableByName('avatarGroup/padding/left', modes);
|
|
25
|
+
const paddingRight = getVariableByName('avatarGroup/padding/right', modes);
|
|
26
|
+
const paddingTop = getVariableByName('avatarGroup/padding/top', modes);
|
|
27
|
+
const paddingBottom = getVariableByName('avatarGroup/padding/bottom', modes);
|
|
28
28
|
|
|
29
29
|
const validChildren = flattenChildren(children);
|
|
30
30
|
const totalChildren = validChildren.length;
|