jfs-components 0.0.72 → 0.0.74

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.
Files changed (158) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/lib/commonjs/components/AccordionCheckbox/AccordionCheckbox.js +239 -0
  3. package/lib/commonjs/components/AccountCard/AccountCard.js +247 -0
  4. package/lib/commonjs/components/AppBar/AppBar.js +17 -11
  5. package/lib/commonjs/components/BrandChip/BrandChip.js +149 -0
  6. package/lib/commonjs/components/CardBankAccount/CardBankAccount.js +229 -0
  7. package/lib/commonjs/components/CardInsight/CardInsight.js +166 -0
  8. package/lib/commonjs/components/CheckboxGroup/CheckboxGroup.js +67 -0
  9. package/lib/commonjs/components/CheckboxItem/CheckboxItem.js +140 -0
  10. package/lib/commonjs/components/CircularProgressBar/CircularProgressBar.js +56 -9
  11. package/lib/commonjs/components/CoverageBarComparison/CoverageBarComparison.js +272 -0
  12. package/lib/commonjs/components/CoverageRing/CoverageRing.js +141 -0
  13. package/lib/commonjs/components/DonutChart/DonutChart.js +309 -0
  14. package/lib/commonjs/components/DonutChartSummary/DonutChartSummary.js +155 -0
  15. package/lib/commonjs/components/Dropdown/Dropdown.js +214 -0
  16. package/lib/commonjs/components/DropdownInput/DropdownInput.js +542 -0
  17. package/lib/commonjs/components/FormField/FormField.js +328 -178
  18. package/lib/commonjs/components/LinearMeter/LinearMeter.js +9 -28
  19. package/lib/commonjs/components/LinearProgress/LinearProgress.js +68 -0
  20. package/lib/commonjs/components/LottieIntroBlock/LottieIntroBlock.js +150 -0
  21. package/lib/commonjs/components/MetricLegendItem/MetricLegendItem.js +95 -0
  22. package/lib/commonjs/components/MonthlyStatusGrid/MonthlyStatusGrid.js +286 -0
  23. package/lib/commonjs/components/OTP/OTP.js +381 -37
  24. package/lib/commonjs/components/PageHero/PageHero.js +153 -0
  25. package/lib/commonjs/components/PoweredByLabel/PoweredByLabel.js +135 -0
  26. package/lib/commonjs/components/PoweredByLabel/finvu.png +0 -0
  27. package/lib/commonjs/components/ProductOverview/ProductOverview.js +147 -0
  28. package/lib/commonjs/components/RangeTrack/RangeTrack.js +269 -0
  29. package/lib/commonjs/components/SavingsGoalSummary/SavingsGoalSummary.js +181 -0
  30. package/lib/commonjs/components/SegmentedTrack/SegmentedTrack.js +171 -0
  31. package/lib/commonjs/components/StatGroup/StatGroup.js +128 -0
  32. package/lib/commonjs/components/StatItem/StatItem.js +65 -35
  33. package/lib/commonjs/components/StrengthIndicator/StrengthIndicator.js +157 -0
  34. package/lib/commonjs/components/SummaryTile/SummaryTile.js +150 -0
  35. package/lib/commonjs/components/Text/Text.js +9 -2
  36. package/lib/commonjs/components/Tooltip/Tooltip.js +34 -27
  37. package/lib/commonjs/components/index.js +231 -1
  38. package/lib/commonjs/design-tokens/Coin Variables-variables-full.json +1 -1
  39. package/lib/commonjs/icons/registry.js +1 -1
  40. package/lib/commonjs/utils/index.js +7 -0
  41. package/lib/commonjs/utils/number-utils.js +57 -0
  42. package/lib/module/components/AccordionCheckbox/AccordionCheckbox.js +233 -0
  43. package/lib/module/components/AccountCard/AccountCard.js +241 -0
  44. package/lib/module/components/AppBar/AppBar.js +17 -11
  45. package/lib/module/components/BrandChip/BrandChip.js +143 -0
  46. package/lib/module/components/CardBankAccount/CardBankAccount.js +223 -0
  47. package/lib/module/components/CardInsight/CardInsight.js +161 -0
  48. package/lib/module/components/CheckboxGroup/CheckboxGroup.js +62 -0
  49. package/lib/module/components/CheckboxItem/CheckboxItem.js +134 -0
  50. package/lib/module/components/CircularProgressBar/CircularProgressBar.js +56 -9
  51. package/lib/module/components/CoverageBarComparison/CoverageBarComparison.js +266 -0
  52. package/lib/module/components/CoverageRing/CoverageRing.js +136 -0
  53. package/lib/module/components/DonutChart/DonutChart.js +303 -0
  54. package/lib/module/components/DonutChartSummary/DonutChartSummary.js +150 -0
  55. package/lib/module/components/Dropdown/Dropdown.js +206 -0
  56. package/lib/module/components/DropdownInput/DropdownInput.js +536 -0
  57. package/lib/module/components/FormField/FormField.js +330 -180
  58. package/lib/module/components/LinearMeter/LinearMeter.js +9 -28
  59. package/lib/module/components/LinearProgress/LinearProgress.js +63 -0
  60. package/lib/module/components/LottieIntroBlock/LottieIntroBlock.js +144 -0
  61. package/lib/module/components/MetricLegendItem/MetricLegendItem.js +90 -0
  62. package/lib/module/components/MonthlyStatusGrid/MonthlyStatusGrid.js +281 -0
  63. package/lib/module/components/OTP/OTP.js +381 -38
  64. package/lib/module/components/PageHero/PageHero.js +147 -0
  65. package/lib/module/components/PoweredByLabel/PoweredByLabel.js +130 -0
  66. package/lib/module/components/PoweredByLabel/finvu.png +0 -0
  67. package/lib/module/components/ProductOverview/ProductOverview.js +142 -0
  68. package/lib/module/components/RangeTrack/RangeTrack.js +263 -0
  69. package/lib/module/components/SavingsGoalSummary/SavingsGoalSummary.js +175 -0
  70. package/lib/module/components/SegmentedTrack/SegmentedTrack.js +166 -0
  71. package/lib/module/components/StatGroup/StatGroup.js +123 -0
  72. package/lib/module/components/StatItem/StatItem.js +66 -36
  73. package/lib/module/components/StrengthIndicator/StrengthIndicator.js +152 -0
  74. package/lib/module/components/SummaryTile/SummaryTile.js +145 -0
  75. package/lib/module/components/Text/Text.js +9 -2
  76. package/lib/module/components/Tooltip/Tooltip.js +34 -27
  77. package/lib/module/components/index.js +28 -2
  78. package/lib/module/design-tokens/Coin Variables-variables-full.json +1 -1
  79. package/lib/module/icons/registry.js +1 -1
  80. package/lib/module/utils/index.js +2 -1
  81. package/lib/module/utils/number-utils.js +53 -0
  82. package/lib/typescript/src/components/AccordionCheckbox/AccordionCheckbox.d.ts +71 -0
  83. package/lib/typescript/src/components/AccountCard/AccountCard.d.ts +81 -0
  84. package/lib/typescript/src/components/BrandChip/BrandChip.d.ts +43 -0
  85. package/lib/typescript/src/components/CardBankAccount/CardBankAccount.d.ts +86 -0
  86. package/lib/typescript/src/components/CardInsight/CardInsight.d.ts +48 -0
  87. package/lib/typescript/src/components/CheckboxGroup/CheckboxGroup.d.ts +41 -0
  88. package/lib/typescript/src/components/CheckboxItem/CheckboxItem.d.ts +72 -0
  89. package/lib/typescript/src/components/CircularProgressBar/CircularProgressBar.d.ts +11 -1
  90. package/lib/typescript/src/components/CoverageBarComparison/CoverageBarComparison.d.ts +105 -0
  91. package/lib/typescript/src/components/CoverageRing/CoverageRing.d.ts +90 -0
  92. package/lib/typescript/src/components/DonutChart/DonutChart.d.ts +117 -0
  93. package/lib/typescript/src/components/DonutChartSummary/DonutChartSummary.d.ts +103 -0
  94. package/lib/typescript/src/components/Dropdown/Dropdown.d.ts +62 -0
  95. package/lib/typescript/src/components/DropdownInput/DropdownInput.d.ts +107 -0
  96. package/lib/typescript/src/components/FormField/FormField.d.ts +76 -19
  97. package/lib/typescript/src/components/LinearProgress/LinearProgress.d.ts +17 -0
  98. package/lib/typescript/src/components/LottieIntroBlock/LottieIntroBlock.d.ts +58 -0
  99. package/lib/typescript/src/components/MetricLegendItem/MetricLegendItem.d.ts +37 -0
  100. package/lib/typescript/src/components/MonthlyStatusGrid/MonthlyStatusGrid.d.ts +119 -0
  101. package/lib/typescript/src/components/OTP/OTP.d.ts +88 -2
  102. package/lib/typescript/src/components/PageHero/PageHero.d.ts +53 -0
  103. package/lib/typescript/src/components/PoweredByLabel/PoweredByLabel.d.ts +70 -0
  104. package/lib/typescript/src/components/ProductOverview/ProductOverview.d.ts +39 -0
  105. package/lib/typescript/src/components/RangeTrack/RangeTrack.d.ts +173 -0
  106. package/lib/typescript/src/components/SavingsGoalSummary/SavingsGoalSummary.d.ts +95 -0
  107. package/lib/typescript/src/components/SegmentedTrack/SegmentedTrack.d.ts +108 -0
  108. package/lib/typescript/src/components/StatGroup/StatGroup.d.ts +45 -0
  109. package/lib/typescript/src/components/StatItem/StatItem.d.ts +24 -7
  110. package/lib/typescript/src/components/StrengthIndicator/StrengthIndicator.d.ts +58 -0
  111. package/lib/typescript/src/components/SummaryTile/SummaryTile.d.ts +60 -0
  112. package/lib/typescript/src/components/Text/Text.d.ts +12 -2
  113. package/lib/typescript/src/components/Tooltip/Tooltip.d.ts +13 -2
  114. package/lib/typescript/src/components/index.d.ts +29 -3
  115. package/lib/typescript/src/icons/registry.d.ts +1 -1
  116. package/lib/typescript/src/utils/index.d.ts +1 -0
  117. package/lib/typescript/src/utils/number-utils.d.ts +29 -0
  118. package/package.json +1 -3
  119. package/src/components/AccordionCheckbox/AccordionCheckbox.tsx +323 -0
  120. package/src/components/AccountCard/AccountCard.tsx +376 -0
  121. package/src/components/AppBar/AppBar.tsx +25 -14
  122. package/src/components/BrandChip/BrandChip.tsx +235 -0
  123. package/src/components/CardBankAccount/CardBankAccount.tsx +321 -0
  124. package/src/components/CardInsight/CardInsight.tsx +239 -0
  125. package/src/components/CheckboxGroup/CheckboxGroup.tsx +86 -0
  126. package/src/components/CheckboxItem/CheckboxItem.tsx +209 -0
  127. package/src/components/CircularProgressBar/CircularProgressBar.tsx +74 -9
  128. package/src/components/CoverageBarComparison/CoverageBarComparison.tsx +378 -0
  129. package/src/components/CoverageRing/CoverageRing.tsx +225 -0
  130. package/src/components/DonutChart/DonutChart.tsx +503 -0
  131. package/src/components/DonutChartSummary/DonutChartSummary.tsx +256 -0
  132. package/src/components/Dropdown/Dropdown.tsx +331 -0
  133. package/src/components/DropdownInput/DropdownInput.tsx +819 -0
  134. package/src/components/FormField/FormField.tsx +542 -215
  135. package/src/components/LinearMeter/LinearMeter.tsx +9 -39
  136. package/src/components/LinearProgress/LinearProgress.tsx +92 -0
  137. package/src/components/LottieIntroBlock/LottieIntroBlock.tsx +202 -0
  138. package/src/components/MetricLegendItem/MetricLegendItem.tsx +167 -0
  139. package/src/components/MonthlyStatusGrid/MonthlyStatusGrid.tsx +438 -0
  140. package/src/components/OTP/OTP.tsx +476 -29
  141. package/src/components/PageHero/PageHero.tsx +200 -0
  142. package/src/components/PoweredByLabel/PoweredByLabel.tsx +221 -0
  143. package/src/components/PoweredByLabel/finvu.png +0 -0
  144. package/src/components/ProductOverview/ProductOverview.tsx +236 -0
  145. package/src/components/RangeTrack/RangeTrack.tsx +394 -0
  146. package/src/components/SavingsGoalSummary/SavingsGoalSummary.tsx +269 -0
  147. package/src/components/SegmentedTrack/SegmentedTrack.tsx +268 -0
  148. package/src/components/StatGroup/StatGroup.tsx +169 -0
  149. package/src/components/StatItem/StatItem.tsx +117 -40
  150. package/src/components/StrengthIndicator/StrengthIndicator.tsx +205 -0
  151. package/src/components/SummaryTile/SummaryTile.tsx +251 -0
  152. package/src/components/Text/Text.tsx +24 -3
  153. package/src/components/Tooltip/Tooltip.tsx +50 -25
  154. package/src/components/index.ts +47 -3
  155. package/src/design-tokens/Coin Variables-variables-full.json +1 -1
  156. package/src/icons/registry.ts +1 -1
  157. package/src/utils/index.ts +1 -0
  158. package/src/utils/number-utils.ts +60 -0
@@ -1,3 +1,4 @@
1
+ export { default as AccountCard, type AccountCardProps, type AccountCardState } from './AccountCard/AccountCard';
1
2
  export { default as ActionFooter, type ActionFooterProps } from './ActionFooter/ActionFooter';
2
3
  export { default as AppBar } from './AppBar/AppBar';
3
4
  export { default as Avatar, type AvatarProps } from './Avatar/Avatar';
@@ -5,17 +6,24 @@ export { default as AvatarGroup } from './AvatarGroup/AvatarGroup';
5
6
  export { default as Badge } from './Badge/Badge';
6
7
  export { default as BottomNav } from './BottomNav/BottomNav';
7
8
  export { default as BottomNavItem } from './BottomNavItem/BottomNavItem';
9
+ export { default as BrandChip, type BrandChipProps } from './BrandChip/BrandChip';
8
10
  export { default as Button, type ButtonProps } from './Button/Button';
9
11
  export { default as Card } from './Card/Card';
10
12
  export { default as CardAdvisory, type CardAdvisoryProps } from './CardAdvisory/CardAdvisory'
13
+ export { default as CardBankAccount, type CardBankAccountProps, type CardBankAccountItem } from './CardBankAccount/CardBankAccount';
11
14
  export { default as Carousel } from './Carousel/Carousel';
12
15
  export type { CarouselProps, CarouselItemProps, PaginationProps } from './Carousel/Carousel';
13
16
  export { default as Checkbox, type CheckboxProps } from './Checkbox/Checkbox';
17
+ export { default as CheckboxItem, type CheckboxItemProps } from './CheckboxItem/CheckboxItem';
18
+ export { default as CheckboxGroup, type CheckboxGroupProps } from './CheckboxGroup/CheckboxGroup';
14
19
  export { default as CardFeedback, type CardFeedbackProps } from './CardFeedback/CardFeedback';
15
20
  export { default as CardFinancialCondition, type CardFinancialConditionProps } from './CardFinancialCondition/CardFinancialCondition';
21
+ export { default as CardInsight, type CardInsightProps } from './CardInsight/CardInsight';
16
22
  export { default as Disclaimer } from './Disclaimer/Disclaimer';
17
23
  export { default as Divider, type DividerProps, type DividerDirection } from './Divider/Divider';
18
24
  export { default as Drawer } from './Drawer/Drawer';
25
+ export { default as Dropdown, DropdownItem, type DropdownProps, type DropdownItemProps } from './Dropdown/Dropdown';
26
+ export { default as DropdownInput, type DropdownInputProps, type DropdownInputOption, type DropdownInputOptionValue } from './DropdownInput/DropdownInput';
19
27
  export { default as CardCTA, type CardCTAProps, type CardCTAType } from './CardCTA/CardCTA'
20
28
  export { default as DebitCard, type DebitCardProps } from './DebitCard/DebitCard';
21
29
  export { default as FilterBar } from './FilterBar/FilterBar';
@@ -25,6 +33,9 @@ export { default as FormField, type FormFieldProps, type FormFieldType } from '.
25
33
  export { default as CircularProgressBar, type CircularProgressBarProps } from './CircularProgressBar/CircularProgressBar'
26
34
  export { default as CircularProgressBarDoted, type CircularProgressBarDotedProps } from './CircularProgressBarDoted/CircularProgressBarDoted'
27
35
  export { default as CircularRating, type CircularRatingProps } from './CircularRating/CircularRating'
36
+ export { default as CoverageRing, type CoverageRingProps } from './CoverageRing/CoverageRing'
37
+ export { default as CoverageBarComparison, type CoverageBarComparisonProps, type CoverageBarComparisonItem } from './CoverageBarComparison/CoverageBarComparison'
38
+ export { default as MonthlyStatusGrid, CalendarGlyph, type MonthlyStatusGridProps, type MonthlyStatusGridMonth, type MonthlyStatus, type CalendarGlyphProps } from './MonthlyStatusGrid/MonthlyStatusGrid'
28
39
  export { default as Gauge, type GaugeProps } from './Gauge/Gauge';
29
40
  export { default as HoldingsCard, type HoldingsCardProps } from './HoldingsCard/HoldingsCard';
30
41
  export { default as HStack, type HStackProps } from './HStack/HStack';
@@ -33,10 +44,13 @@ export { default as IconCapsule } from './IconCapsule/IconCapsule';
33
44
  export { default as Image, type ImageProps } from './Image/Image';
34
45
  export { default as LazyList } from './LazyList/LazyList';
35
46
  export { default as LinearMeter, type LinearMeterProps } from './LinearMeter/LinearMeter';
47
+ export { default as LinearProgress, type LinearProgressProps } from './LinearProgress/LinearProgress';
36
48
  export { default as ListGroup } from './ListGroup/ListGroup';
49
+ export { default as LottieIntroBlock, type LottieIntroBlockProps } from './LottieIntroBlock/LottieIntroBlock';
37
50
  export { default as ListItem } from './ListItem/ListItem';
38
51
  export { default as MediaCard, type MediaCardProps } from './MediaCard/MediaCard';
39
52
  export { default as MerchantProfile, type MerchantProfileProps } from './MerchantProfile/MerchantProfile';
53
+ export { default as MetricLegendItem, type MetricLegendItemProps } from './MetricLegendItem/MetricLegendItem';
40
54
  export { default as MoneyValue } from './MoneyValue/MoneyValue';
41
55
  export { default as NoteInput, type NoteInputProps } from './NoteInput/NoteInput';
42
56
  export { default as Nudge, type NudgeProps } from './Nudge/Nudge';
@@ -51,7 +65,15 @@ export { StepLabel } from './Stepper/StepLabel';
51
65
  export { default as TextInput } from './TextInput/TextInput';
52
66
  export { default as StatusHero, type StatusHeroProps } from './StatusHero/StatusHero';
53
67
  export { default as ThreadHero, type ThreadHeroProps } from './ThreadHero/ThreadHero';
54
- export { Tooltip } from './Tooltip/Tooltip';
68
+ export {
69
+ Tooltip,
70
+ TooltipTrigger,
71
+ TooltipContent,
72
+ type TooltipProps,
73
+ type TooltipTriggerProps,
74
+ type TooltipContentProps,
75
+ type Placement as TooltipPlacement,
76
+ } from './Tooltip/Tooltip';
55
77
 
56
78
  export { default as TransactionDetails } from './TransactionDetails/TransactionDetails';
57
79
  export { default as TransactionStatus } from './TransactionStatus/TransactionStatus';
@@ -61,6 +83,7 @@ export { default as VStack, type VStackProps } from './VStack/VStack';
61
83
  export { default as ChipGroup, type ChipGroupProps } from './ChipGroup/ChipGroup';
62
84
  export { default as EmptyState, type EmptyStateProps } from './EmptyState/EmptyState';
63
85
  export { default as Accordion, type AccordionProps } from './Accordion/Accordion';
86
+ export { default as AccordionCheckbox, type AccordionCheckboxProps } from './AccordionCheckbox/AccordionCheckbox';
64
87
  export { default as ActionTile, type ActionTileProps } from './ActionTile/ActionTile';
65
88
  export { default as Balance, type BalanceProps } from './Balance/Balance';
66
89
  export { default as ButtonGroup, type ButtonGroupProps } from './ButtonGroup/ButtonGroup';
@@ -77,20 +100,41 @@ export { default as Radio, type RadioProps } from './Radio/Radio';
77
100
  */
78
101
  export { default as RadioButton, type RadioButtonProps } from './RadioButton/RadioButton';
79
102
  export { default as RechargeCard, type RechargeCardProps } from './RechargeCard/RechargeCard';
103
+ export { default as SavingsGoalSummary, type SavingsGoalSummaryProps, type SavingsGoalSummaryItem } from './SavingsGoalSummary/SavingsGoalSummary';
104
+ export { default as DonutChart, type DonutChartProps, type DonutChartSegmentData, type DonutChartSegmentProps, DonutChartSegment } from './DonutChart/DonutChart';
105
+ export { default as DonutChartSummary, type DonutChartSummaryProps, type DonutChartSummaryItem } from './DonutChartSummary/DonutChartSummary';
106
+ export { default as RangeTrack, type RangeTrackProps, type RangeTrackTab, type RangeTrackItem } from './RangeTrack/RangeTrack';
107
+ export { default as SegmentedTrack, type SegmentedTrackProps, type SegmentedTrackSegmentData, type SegmentedTrackSegmentProps, SegmentedTrackSegment } from './SegmentedTrack/SegmentedTrack';
80
108
  export { default as Tabs, type TabsProps } from './Tabs/Tabs';
81
109
  export { default as TabItem, type TabItemProps } from './Tabs/TabItem';
82
110
  export { default as Toast, type ToastProps } from './Toast/Toast';
83
111
  export { default as ToastProvider, type ToastProviderProps } from './Toast/ToastProvider';
84
112
  export { useToast, addToast, closeToast, closeAll, type ToastOptions, type ToastEntry, type ToastPlacement } from './Toast/useToast';
85
113
  export { default as AmountInput, type AmountInputProps } from './AmountInput/AmountInput';
114
+ export { default as PageHero, type PageHeroProps } from './PageHero/PageHero';
86
115
  export { default as Popup, type PopupProps, type PopupRef } from './Popup/Popup';
87
116
  export { default as PortfolioHero, type PortfolioHeroProps } from './PortfolioHero/PortfolioHero';
117
+ export { default as PoweredByLabel, type PoweredByLabelProps } from './PoweredByLabel/PoweredByLabel';
88
118
  export { default as ProductLabel, type ProductLabelProps } from './ProductLabel/ProductLabel';
119
+ export { default as ProductOverview, type ProductOverviewProps, type ProductOverviewStat } from './ProductOverview/ProductOverview';
89
120
  export { default as ProgressBadge, type ProgressBadgeProps } from './ProgressBadge/ProgressBadge';
90
121
  export { default as SwappableAmount, type SwappableAmountProps } from './SwappableAmount/SwappableAmount';
91
- export { default as OTP, type OTPProps } from './OTP/OTP';
122
+ export {
123
+ default as OTP,
124
+ OTPResend,
125
+ useOtpResend,
126
+ type OTPProps,
127
+ type OTPResendProps,
128
+ type OTPResendConfig,
129
+ type UseOtpResendOptions,
130
+ type UseOtpResendReturn,
131
+ type OtpResendState,
132
+ } from './OTP/OTP';
92
133
  export { default as PaymentFeedback, type PaymentFeedbackProps } from './PaymentFeedback/PaymentFeedback';
93
- export { default as StatItem, type StatItemProps } from './StatItem/StatItem';
134
+ export { default as StatItem, type StatItemProps, type StatItemLabelPosition } from './StatItem/StatItem';
135
+ export { default as StatGroup, type StatGroupProps, type StatGroupItem } from './StatGroup/StatGroup';
136
+ export { default as StrengthIndicator, type StrengthIndicatorProps, type StrengthIndicatorConfidence, type StrengthIndicatorConfidenceValue } from './StrengthIndicator/StrengthIndicator';
137
+ export { default as SummaryTile, type SummaryTileProps } from './SummaryTile/SummaryTile';
94
138
  export { default as Text, type TextProps } from './Text/Text';
95
139
  export { default as SegmentedControl, type SegmentedControlProps, type SegmentedControlItem } from './SegmentedControl/SegmentedControl';
96
140
  export { default as Toggle, type ToggleProps } from './Toggle/Toggle';