jfs-components 0.1.49 → 0.1.51

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 (61) hide show
  1. package/.cursor/D2C-FLOW.md +94 -0
  2. package/.cursor/D2C-SCREEN.md +119 -0
  3. package/.cursor/commands/D2C.md +101 -0
  4. package/CHANGELOG.md +14 -0
  5. package/lib/commonjs/components/CardCTA/CardCTA.js +7 -4
  6. package/lib/commonjs/components/CardFeedback/CardFeedback.js +1 -1
  7. package/lib/commonjs/components/CategoryCard/CategoryCard.js +4 -4
  8. package/lib/commonjs/components/Checkbox/Checkbox.js +4 -6
  9. package/lib/commonjs/components/CircularProgressBarDoted/CircularProgressBarDoted.js +12 -9
  10. package/lib/commonjs/components/DonutChartSummary/DonutChartSummary.js +7 -2
  11. package/lib/commonjs/components/ProductMerchandisingCard/ProductMerchandisingCard.js +3 -1
  12. package/lib/commonjs/components/ProductOverview/ProductOverview.js +2 -2
  13. package/lib/commonjs/components/Radio/Radio.js +5 -3
  14. package/lib/commonjs/components/SavingsGoalSummary/SavingsGoalSummary.js +2 -2
  15. package/lib/commonjs/components/SegmentedControl/SegmentedControl.js +1 -1
  16. package/lib/commonjs/components/SegmentedTrack/SegmentedTrack.js +1 -1
  17. package/lib/commonjs/components/Slider/Slider.js +3 -2
  18. package/lib/commonjs/components/StatusHero/StatusHero.js +1 -1
  19. package/lib/commonjs/components/Tooltip/Tooltip.js +4 -2
  20. package/lib/commonjs/design-tokens/Coin Variables-variables-full.json +1 -1
  21. package/lib/commonjs/design-tokens/figma-modes.generated.js +31 -28
  22. package/lib/commonjs/icons/registry.js +1 -1
  23. package/lib/module/components/CardCTA/CardCTA.js +7 -4
  24. package/lib/module/components/CardFeedback/CardFeedback.js +1 -1
  25. package/lib/module/components/CategoryCard/CategoryCard.js +4 -4
  26. package/lib/module/components/Checkbox/Checkbox.js +4 -6
  27. package/lib/module/components/CircularProgressBarDoted/CircularProgressBarDoted.js +12 -9
  28. package/lib/module/components/DonutChartSummary/DonutChartSummary.js +7 -2
  29. package/lib/module/components/ProductMerchandisingCard/ProductMerchandisingCard.js +3 -1
  30. package/lib/module/components/ProductOverview/ProductOverview.js +2 -2
  31. package/lib/module/components/Radio/Radio.js +5 -3
  32. package/lib/module/components/SavingsGoalSummary/SavingsGoalSummary.js +2 -2
  33. package/lib/module/components/SegmentedControl/SegmentedControl.js +1 -1
  34. package/lib/module/components/SegmentedTrack/SegmentedTrack.js +1 -1
  35. package/lib/module/components/Slider/Slider.js +3 -2
  36. package/lib/module/components/StatusHero/StatusHero.js +1 -1
  37. package/lib/module/components/Tooltip/Tooltip.js +4 -2
  38. package/lib/module/design-tokens/Coin Variables-variables-full.json +1 -1
  39. package/lib/module/design-tokens/figma-modes.generated.js +31 -28
  40. package/lib/module/icons/registry.js +1 -1
  41. package/lib/typescript/src/design-tokens/figma-modes.generated.d.ts +4 -1
  42. package/lib/typescript/src/icons/registry.d.ts +1 -1
  43. package/package.json +4 -2
  44. package/src/components/CardCTA/CardCTA.tsx +7 -4
  45. package/src/components/CardFeedback/CardFeedback.tsx +1 -1
  46. package/src/components/CategoryCard/CategoryCard.tsx +4 -4
  47. package/src/components/Checkbox/Checkbox.tsx +4 -6
  48. package/src/components/CircularProgressBarDoted/CircularProgressBarDoted.tsx +12 -9
  49. package/src/components/DonutChartSummary/DonutChartSummary.tsx +6 -6
  50. package/src/components/ProductMerchandisingCard/ProductMerchandisingCard.tsx +3 -1
  51. package/src/components/ProductOverview/ProductOverview.tsx +2 -2
  52. package/src/components/Radio/Radio.tsx +8 -3
  53. package/src/components/SavingsGoalSummary/SavingsGoalSummary.tsx +3 -3
  54. package/src/components/SegmentedControl/SegmentedControl.tsx +1 -1
  55. package/src/components/SegmentedTrack/SegmentedTrack.tsx +1 -2
  56. package/src/components/Slider/Slider.tsx +3 -2
  57. package/src/components/StatusHero/StatusHero.tsx +1 -1
  58. package/src/components/Tooltip/Tooltip.tsx +4 -2
  59. package/src/design-tokens/Coin Variables-variables-full.json +1 -1
  60. package/src/design-tokens/figma-modes.generated.ts +31 -28
  61. package/src/icons/registry.ts +1 -1
@@ -195,8 +195,10 @@ function TooltipContent({
195
195
  const bgColor = (0, _figmaVariablesResolver.getVariableByName)('tooltip/background', modes);
196
196
  const paddingH = Number((0, _figmaVariablesResolver.getVariableByName)('tooltip/padding/horizontal', modes));
197
197
  const paddingV = Number((0, _figmaVariablesResolver.getVariableByName)('tooltip/padding/vertical', modes));
198
- const radius = Number((0, _figmaVariablesResolver.getVariableByName)('radius', modes));
199
- const maxWidthToken = Number((0, _figmaVariablesResolver.getVariableByName)('maxWidth', modes));
198
+ // Figma still binds bare local radius/maxWidth; published names are tooltip/*.
199
+ // Not yet in Coin Variables export — fall back to Figma values (8 / 280).
200
+ const radius = Number((0, _figmaVariablesResolver.getVariableByName)('tooltip/radius', modes) ?? 8);
201
+ const maxWidthToken = Number((0, _figmaVariablesResolver.getVariableByName)('tooltip/maxWidth', modes) ?? 280);
200
202
  const arrowWidth = Number((0, _figmaVariablesResolver.getVariableByName)('tooltip/tipItem/width', modes));
201
203
  const arrowHeight = Number((0, _figmaVariablesResolver.getVariableByName)('tooltip/tipItem/height', modes));
202
204
  const labelColor = (0, _figmaVariablesResolver.getVariableByName)('tooltip/label/color', modes);