jfs-components 0.1.48 → 0.1.49

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.
@@ -540,6 +540,7 @@ function SectionSlot({
540
540
  * @param {Object} props
541
541
  * @param {React.ReactNode} [props.navSlot] - Optional custom slot for navigation items (Figma Slot "Nav wrap")
542
542
  * @param {React.ReactNode} [props.upiSlot] - Optional custom slot for UPI handles (Figma Slot "UPI wrap")
543
+ * @param {boolean} [props.upi=true] - Toggles the UPI wrap (Figma boolean property "upi")
543
544
  * @param {Object} [props.modes={}] - Modes object passed to `getVariableByName` for all design tokens
544
545
  * @param {Object} [props.style] - Optional container style overrides
545
546
  * @param {string} [props.accessibilityLabel] - Accessibility label for the section
@@ -552,6 +553,7 @@ const sectionBentoUpiRowStyle = {
552
553
  function SectionBento({
553
554
  navSlot,
554
555
  upiSlot,
556
+ upi = true,
555
557
  modes = EMPTY_MODES,
556
558
  style,
557
559
  // Same rationale as Section: accepted on the type but unused internally.
@@ -642,7 +644,7 @@ function SectionBento({
642
644
  animateExtrasFromIndex: collapsedCount,
643
645
  animateContainerLayout: true
644
646
  } : null)
645
- }), processedUpiSlot && /*#__PURE__*/_jsx(View, {
647
+ }), upi && processedUpiSlot && /*#__PURE__*/_jsx(View, {
646
648
  style: sectionBentoUpiRowStyle,
647
649
  children: processedUpiSlot
648
650
  })]
@@ -65,7 +65,7 @@ export const FIGMA_MODES = {
65
65
  "Calendar Glyph / Output": ["Default"],
66
66
  "Calendar Glyph State": ["Idle", "notSaved", "saved"],
67
67
  "Card / Output": ["Default"],
68
- "Card Apperance": ["Default", "Plain"],
68
+ "Card Container": ["Default", "Plain"],
69
69
  "Card Feedback / Output": ["Default"],
70
70
  "Card Tab / output": ["Default"],
71
71
  "Card Tab State": ["Default", "Active"],
@@ -250,6 +250,7 @@ export const FIGMA_MODES = {
250
250
  "Slot gap": ["S", "M", "L", "XL", "XS"],
251
251
  "special button": ["Default"],
252
252
  "Spinner / Output": ["Default"],
253
+ "Stack Context": ["Root", "Nested"],
253
254
  "statGroup / Output": ["Default"],
254
255
  "StatItem / Output": ["Default"],
255
256
  "StatItem Label Position ": ["Top", "Bottom"],
@@ -306,7 +307,7 @@ export const FIGMA_COMPONENT_MODES = {
306
307
  "Accordion": ["Accordion States"],
307
308
  "AccordionCheckbox": ["Color Mode", "context 10", "Profile Card Appearance"],
308
309
  "AccountCard": ["AppearanceBrand", "Button / Size", "Button / State", "Color Mode", "Emphasis", "Page type"],
309
- "ActionFooter": ["Color Mode", "context5"],
310
+ "ActionFooter": ["Color Mode", "Context", "context5", "Slot gap"],
310
311
  "ActionTile": ["AppearanceBrand", "AppearanceSystem", "Color Mode", "Context", "Emphasis", "Icon Capsule Size", "Page type", "Semantic Intent"],
311
312
  "Additem": ["AppearanceBrand", "AppearanceSystem", "Color Mode", "Context", "Emphasis", "Icon Capsule Size", "Page type", "Semantic Intent"],
312
313
  "AllocationComparisonChart": ["Appearance / DataViz", "Color Mode", "Emphasis / DataViz"],
@@ -324,7 +325,7 @@ export const FIGMA_COMPONENT_MODES = {
324
325
  "BrandChip": ["Avatar Size", "Badge Size", "Color Mode", "context 10", "Context4", "Profile Card Appearance"],
325
326
  "BubbleChart": ["Appearance / DataViz", "Color Mode", "Context", "context 10", "Emphasis / DataViz", "Profile Card Appearance", "Text Appearance"],
326
327
  "Button": ["AppearanceBrand", "AppearanceSystem", "Button / Size", "Button / State", "Color Mode", "Context", "context 10", "Emphasis", "Page type", "Profile Card Appearance", "Semantic Intent"],
327
- "Card": ["AppearanceBrand", "AppearanceSystem", "Border Boolean", "Card Apperance", "Color Mode", "Gap", "Page type", "Semantic Intent"],
328
+ "Card": ["AppearanceBrand", "AppearanceSystem", "Card Container", "Color Mode", "Gap", "Page type", "Semantic Intent"],
328
329
  "CardAdvisory": ["AppearanceBrand", "AppearanceSystem", "Button / Size", "Button / State", "circularProgressBar Size", "Color Mode", "Context", "context 10", "Emphasis", "Nudge padding", "Page type", "Profile Card Appearance", "Semantic Intent", "Slot gap"],
329
330
  "CardBankAccount": ["AppearanceBrand", "AppearanceSystem", "Avatar Size", "Badge Size", "Button / Size", "Button / State", "Color Mode", "Context", "context 10", "Context4", "context5", "Emphasis", "List Item Style", "Page type", "Profile Card Appearance", "Semantic Intent", "Text Appearance", "Text Sizes", "Weight"],
330
331
  "CardCTA": ["AppearanceBrand", "AppearanceSystem", "Avatar Size", "Badge Size", "Button / Size", "Button / State", "Color Mode", "Context", "context 10", "context 8", "Context4", "Emphasis", "Icon Capsule Size", "MediaBlock", "Page type", "Profile Card Appearance", "Semantic Intent"],
@@ -343,7 +344,7 @@ export const FIGMA_COMPONENT_MODES = {
343
344
  "CircularProgressBar": ["AppearanceBrand", "AppearanceSystem", "circularProgressBar Size", "Color Mode", "Emphasis", "Semantic Intent"],
344
345
  "CircularRating": ["AppearanceBrand", "AppearanceSystem", "Button / Size", "Button / State", "Color Mode", "Context", "context 10", "Emphasis", "Nudge padding", "Page type", "Profile Card Appearance", "Semantic Intent", "Slot gap"],
345
346
  "ClusterBubble": ["Appearance / DataViz", "Color Mode", "Context", "context 10", "Emphasis / DataViz", "Profile Card Appearance", "Text Appearance"],
346
- "CompareTable": ["Accordion States", "AppearanceBrand", "Button / Size", "Button / State", "Color Mode", "Emphasis", "Page type", "Radius", "Selection Card Radius"],
347
+ "CompareTable": ["Accordion States", "AppearanceBrand", "Button / Size", "Button / State", "Color Mode", "Emphasis", "Page type", "Radius"],
347
348
  "ComparisonBar": ["AppearanceBrand", "AppearanceSystem", "Button / Size", "Button / State", "Color Mode", "Context", "context 10", "Emphasis", "Icon Capsule Size", "Page type", "Profile Card Appearance", "Radius", "Semantic Intent"],
348
349
  "ContentSheet": ["Color Mode", "Page type"],
349
350
  "CoverageBarComparison": ["Appearance / DataViz", "Color Mode", "Emphasis / DataViz"],
@@ -368,7 +369,7 @@ export const FIGMA_COMPONENT_MODES = {
368
369
  "HelloJioInput": ["AppearanceBrand", "Button / Size", "Button / State", "Color Mode", "Emphasis", "Hello Jio Input Size", "Hello Jio Input State", "Page type"],
369
370
  "HeroSection": ["AppearanceBrand", "Button / Size", "Button / State", "Color Mode", "context 9", "context7", "Emphasis", "FormField States", "InputState", "Page type", "Status"],
370
371
  "HoldingsCard": ["AppearanceBrand", "Color Mode"],
371
- "HStack": ["Context", "Padding", "Page type", "Slot gap"],
372
+ "HStack": ["Context", "Padding", "Page type", "Slot gap", "Stack Context"],
372
373
  "Icon": ["AppearanceBrand", "AppearanceSystem", "Badge Size", "Color Mode", "context 10", "Context4", "Emphasis", "Page type", "Profile Card Appearance", "Semantic Intent"],
373
374
  "IconButton": ["AppearanceBrand", "Button / Size", "Button / State", "Color Mode", "Emphasis", "Page type"],
374
375
  "IconCapsule": ["AppearanceBrand", "AppearanceSystem", "Color Mode", "Context", "Emphasis", "Icon Capsule Size", "Page type", "Semantic Intent"],
@@ -395,7 +396,7 @@ export const FIGMA_COMPONENT_MODES = {
395
396
  "PaymentFeedback": ["AppearanceBrand", "AppearanceSystem", "Color Mode", "Context", "Emphasis", "Icon Capsule Size", "Page type", "Semantic Intent"],
396
397
  "PdpCcCard": ["AppearanceBrand", "AppearanceSystem", "Button / Size", "Button / State", "Color Mode", "Context", "context 10", "context7", "Emphasis", "Page type", "Profile Card Appearance", "Radius", "Semantic Intent"],
397
398
  "PlanComparisonCard": ["Color Mode"],
398
- "Popup": ["Color Mode", "Context", "Padding", "Page type", "Slot gap"],
399
+ "Popup": ["Color Mode", "Context", "Padding", "Page type", "Slot gap", "Stack Context"],
399
400
  "PortfolioHero": ["Avatar Size", "Badge Size", "Color Mode", "context 10", "Context3", "Context4", "Profile Card Appearance"],
400
401
  "ProductLabel": ["Avatar Size", "Badge Size", "Color Mode", "context 10", "Context4", "Profile Card Appearance"],
401
402
  "ProductMerchandisingCard": ["AppearanceBrand", "AppearanceSystem", "Avatar Size", "Badge Size", "Button / Size", "Button / State", "Color Mode", "Context", "context 10", "Context4", "Emphasis", "Page type", "Profile Card Appearance", "Semantic Intent"],
@@ -436,7 +437,7 @@ export const FIGMA_COMPONENT_MODES = {
436
437
  "TransactionStatus": ["Transaction Status"],
437
438
  "UpiHandle": ["Color Mode", "context 10", "Profile Card Appearance", "UPI Handle Image"],
438
439
  "ValueBackMetric": ["AppearanceBrand", "AppearanceSystem", "Badge Size", "Color Mode", "Context", "context 10", "Context4", "Emphasis", "Page type", "Profile Card Appearance", "Semantic Intent", "Text Appearance", "Text Sizes", "Weight"],
439
- "VStack": ["Context", "Padding", "Page type", "Slot gap"]
440
+ "VStack": ["Context", "Padding", "Page type", "Slot gap", "Stack Context"]
440
441
  };
441
442
 
442
443
  /**