@deriv-web-design/ui 0.1.13 → 0.1.15

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.
@@ -3597,8 +3597,8 @@
3597
3597
  "name": "Image Banner Split",
3598
3598
  "component": "ImageBanner",
3599
3599
  "category": "banner",
3600
- "description": "Dark full-bleed banner card with headline, supporting copy, one CTA link, and a photo in a split panel or as a full background.",
3601
- "purpose": "A full-bleed, dark-background conversion banner pairing a headline, supporting copy, and a single CTA link with a photo — either in a right-hand panel (split) or as the card's full background with a gradient overlay (full-bg). This block is designed as a mid-page or bottom-of-page conversion moment, not a page-opening hero.",
3600
+ "description": "Dark banner card with headline, supporting copy, and either a CTA link with a photo (split / full-bg) or checkmark feature chips with a collage (chips).",
3601
+ "purpose": "A dark-background banner pairing a headline and supporting copy with either a photo + CTA (split / full-bg) or a collage + checkmark feature chips (chips). The chips variants match the “Everything you need to grow your network” block on [deriv.com/partners](https://deriv.com/partners). This block is designed as a mid-page or bottom-of-page conversion / feature moment, not a page-opening hero.",
3602
3602
  "keywords": [
3603
3603
  "banner",
3604
3604
  "image",
@@ -3611,7 +3611,10 @@
3611
3611
  "full-width",
3612
3612
  "dark",
3613
3613
  "trading",
3614
- "deriv"
3614
+ "deriv",
3615
+ "chips",
3616
+ "partners",
3617
+ "features"
3615
3618
  ],
3616
3619
  "sectionType": "banner",
3617
3620
  "global": false,
@@ -3622,6 +3625,7 @@
3622
3625
  "description",
3623
3626
  "ctaLabel",
3624
3627
  "ctaHref",
3628
+ "chips",
3625
3629
  "imageUrl",
3626
3630
  "imageAlt"
3627
3631
  ],
@@ -3629,7 +3633,9 @@
3629
3633
  "split-left",
3630
3634
  "split-right",
3631
3635
  "full-bg-left",
3632
- "full-bg-right"
3636
+ "full-bg-right",
3637
+ "chips-left",
3638
+ "chips-right"
3633
3639
  ],
3634
3640
  "recommendedPosition": 7,
3635
3641
  "placement": [
@@ -3654,16 +3660,28 @@
3654
3660
  },
3655
3661
  "imageRoles": [
3656
3662
  "split-panel",
3657
- "card-background"
3663
+ "card-background",
3664
+ "collage"
3658
3665
  ],
3659
3666
  "defaultValues": {
3660
3667
  "variant": "split-left",
3661
3668
  "title": "Join our global community",
3662
3669
  "description": "Connect with traders around the world to exchange insights, explore portfolios, and gain valuable expertise.",
3663
3670
  "ctaLabel": "Trader's Hub",
3671
+ "chips": [
3672
+ "Dynamic ads",
3673
+ "AI insights",
3674
+ "Performance tracking",
3675
+ "Events"
3676
+ ],
3664
3677
  "imageAlt": ""
3665
3678
  },
3666
3679
  "fields": {
3680
+ "chips": {
3681
+ "type": "array",
3682
+ "required": false,
3683
+ "description": "Feature chip labels for chips-left / chips-right. Each string renders as a pill with a leading checkmark."
3684
+ },
3667
3685
  "ctaHref": {
3668
3686
  "type": "url",
3669
3687
  "required": false
@@ -3672,6 +3690,7 @@
3672
3690
  "type": "string",
3673
3691
  "required": false,
3674
3692
  "maxLength": 30,
3693
+ "description": "CTA link label. Ignored for chips-left / chips-right (those variants have no CTA).",
3675
3694
  "default": "Trader's Hub"
3676
3695
  },
3677
3696
  "description": {
@@ -3689,7 +3708,8 @@
3689
3708
  "imageUrl": {
3690
3709
  "type": "image",
3691
3710
  "required": false,
3692
- "aspectRatio": "4:3"
3711
+ "aspectRatio": "4:3",
3712
+ "description": "For chips-left / chips-right, banner height follows the image’s intrinsic ratio. Defaults to the partners tier-cover collage (1920×1440). Prefer 4:3 assets."
3693
3713
  },
3694
3714
  "title": {
3695
3715
  "type": "string",
@@ -3704,7 +3724,9 @@
3704
3724
  "split-left",
3705
3725
  "split-right",
3706
3726
  "full-bg-left",
3707
- "full-bg-right"
3727
+ "full-bg-right",
3728
+ "chips-left",
3729
+ "chips-right"
3708
3730
  ],
3709
3731
  "default": "split-left"
3710
3732
  }
@@ -3960,6 +3982,157 @@
3960
3982
  }
3961
3983
  }
3962
3984
  },
3985
+ "master-partner": {
3986
+ "id": "master-partner",
3987
+ "name": "Master Partner",
3988
+ "component": "MasterPartner",
3989
+ "category": "feature",
3990
+ "description": "Two-column 'Master Partner programme' section with a headline, intro copy, a desktop-only coral CTA, a foreground image, and a full-width row of numbered how-it-works steps.",
3991
+ "purpose": "A \"Master Partner programme\" section pairing a headline and intro copy with a foreground image, a coral CTA button placed after the copy and before the numbered steps, and a full-width row of numbered \"how it works\" steps. Modeled after the \"Master Partner programme\" block on [deriv.com/partners](https://deriv.com/partners).",
3992
+ "keywords": [
3993
+ "master partner",
3994
+ "sub-partner",
3995
+ "partner",
3996
+ "referral",
3997
+ "commission",
3998
+ "income stream",
3999
+ "how it works",
4000
+ "steps",
4001
+ "numbered",
4002
+ "affiliate",
4003
+ "deriv"
4004
+ ],
4005
+ "sectionType": "master-partner",
4006
+ "global": false,
4007
+ "requiredFields": [
4008
+ "title",
4009
+ "description",
4010
+ "image",
4011
+ "steps"
4012
+ ],
4013
+ "optionalFields": [
4014
+ "note",
4015
+ "closingText",
4016
+ "ctaLabel",
4017
+ "ctaHref",
4018
+ "imageAlt"
4019
+ ],
4020
+ "variants": [
4021
+ "default"
4022
+ ],
4023
+ "recommendedPosition": 6,
4024
+ "placement": [
4025
+ "middle"
4026
+ ],
4027
+ "layout": {
4028
+ "alignment": "left",
4029
+ "gridColumns": "1-2-4",
4030
+ "contentWidth": "wide",
4031
+ "background": true,
4032
+ "overlay": false
4033
+ },
4034
+ "supports": {
4035
+ "backgroundImage": false,
4036
+ "backgroundVideo": false,
4037
+ "foregroundImage": true,
4038
+ "primaryButton": true,
4039
+ "secondaryButton": false,
4040
+ "sectionLink": false,
4041
+ "icons": true,
4042
+ "numberedList": true
4043
+ },
4044
+ "imageRoles": [
4045
+ "supporting-image",
4046
+ "step-icon"
4047
+ ],
4048
+ "defaultValues": {
4049
+ "imageAlt": ""
4050
+ },
4051
+ "fields": {
4052
+ "closingText": {
4053
+ "type": "string",
4054
+ "required": false,
4055
+ "maxLength": 320
4056
+ },
4057
+ "ctaHref": {
4058
+ "type": "string",
4059
+ "required": false,
4060
+ "maxLength": 300,
4061
+ "description": "CTA destination URL."
4062
+ },
4063
+ "ctaLabel": {
4064
+ "type": "string",
4065
+ "required": false,
4066
+ "maxLength": 40,
4067
+ "description": "CTA button label. Rendered on desktop only; omit to hide the CTA entirely."
4068
+ },
4069
+ "description": {
4070
+ "type": "string",
4071
+ "required": true,
4072
+ "maxLength": 320
4073
+ },
4074
+ "image": {
4075
+ "type": "image",
4076
+ "required": true,
4077
+ "aspectRatio": "1:1",
4078
+ "description": "Foreground image, e.g. a partner working at a desk."
4079
+ },
4080
+ "imageAlt": {
4081
+ "type": "string",
4082
+ "required": false,
4083
+ "default": "",
4084
+ "maxLength": 160
4085
+ },
4086
+ "note": {
4087
+ "type": "object",
4088
+ "required": false,
4089
+ "description": "Optional bold-led paragraph, e.g. a worked commission example.",
4090
+ "objectFields": {
4091
+ "label": {
4092
+ "type": "string",
4093
+ "required": true,
4094
+ "maxLength": 60,
4095
+ "description": "Bold lead-in phrase, e.g. \"Here's how it works:\"."
4096
+ },
4097
+ "text": {
4098
+ "type": "string",
4099
+ "required": true,
4100
+ "maxLength": 260,
4101
+ "description": "Remaining sentence rendered after the bold label."
4102
+ }
4103
+ }
4104
+ },
4105
+ "steps": {
4106
+ "type": "array",
4107
+ "required": true,
4108
+ "itemFields": {
4109
+ "description": {
4110
+ "type": "string",
4111
+ "required": true,
4112
+ "maxLength": 200
4113
+ },
4114
+ "icon": {
4115
+ "type": "image",
4116
+ "required": true,
4117
+ "description": "Numbered icon image URL, e.g. a circled numeral graphic."
4118
+ },
4119
+ "iconAlt": {
4120
+ "type": "string",
4121
+ "required": false,
4122
+ "default": "",
4123
+ "defaultSource": "effective",
4124
+ "maxLength": 80,
4125
+ "description": "Alt text for the icon. Leave empty — order is already conveyed by the list."
4126
+ }
4127
+ }
4128
+ },
4129
+ "title": {
4130
+ "type": "string",
4131
+ "required": true,
4132
+ "maxLength": 80
4133
+ }
4134
+ }
4135
+ },
3963
4136
  "navbar-global": {
3964
4137
  "id": "navbar-global",
3965
4138
  "name": "Navbar",
@@ -4250,6 +4423,106 @@
4250
4423
  }
4251
4424
  }
4252
4425
  },
4426
+ "partners-payout": {
4427
+ "id": "partners-payout",
4428
+ "name": "Partners Payout",
4429
+ "component": "PartnersPayout",
4430
+ "category": "stats",
4431
+ "description": "Dark partner-payout section with a reporting period, responsive regional metric cards, and a large globe image.",
4432
+ "purpose": "Use this template to highlight partner or affiliate payouts by region for a defined reporting period.",
4433
+ "keywords": [
4434
+ "partners",
4435
+ "payout",
4436
+ "affiliate",
4437
+ "commission",
4438
+ "regions",
4439
+ "metrics",
4440
+ "statistics",
4441
+ "globe",
4442
+ "deriv"
4443
+ ],
4444
+ "sectionType": "partners-payout",
4445
+ "global": false,
4446
+ "requiredFields": [
4447
+ "title",
4448
+ "period",
4449
+ "payouts",
4450
+ "imageUrl"
4451
+ ],
4452
+ "optionalFields": [
4453
+ "imageAlt"
4454
+ ],
4455
+ "variants": [
4456
+ "default"
4457
+ ],
4458
+ "recommendedPosition": 8,
4459
+ "placement": [
4460
+ "middle"
4461
+ ],
4462
+ "layout": {
4463
+ "alignment": "center",
4464
+ "gridColumns": "1-2",
4465
+ "contentWidth": "wide",
4466
+ "background": true,
4467
+ "overlay": false
4468
+ },
4469
+ "supports": {
4470
+ "backgroundImage": false,
4471
+ "backgroundVideo": false,
4472
+ "foregroundImage": true,
4473
+ "primaryButton": false,
4474
+ "secondaryButton": false,
4475
+ "sectionLink": false,
4476
+ "icons": false
4477
+ },
4478
+ "imageRoles": [
4479
+ "decorative-globe"
4480
+ ],
4481
+ "defaultValues": {
4482
+ "imageAlt": ""
4483
+ },
4484
+ "fields": {
4485
+ "imageAlt": {
4486
+ "type": "string",
4487
+ "required": false,
4488
+ "default": "",
4489
+ "maxLength": 160,
4490
+ "description": "Alt text for the globe. Leave empty when it is decorative."
4491
+ },
4492
+ "imageUrl": {
4493
+ "type": "image",
4494
+ "required": true,
4495
+ "description": "Transparent globe image displayed below the payout grid."
4496
+ },
4497
+ "payouts": {
4498
+ "type": "array",
4499
+ "required": true,
4500
+ "itemFields": {
4501
+ "amount": {
4502
+ "type": "string",
4503
+ "required": true,
4504
+ "maxLength": 40,
4505
+ "description": "Preformatted payout value, including its currency symbol."
4506
+ },
4507
+ "region": {
4508
+ "type": "string",
4509
+ "required": true,
4510
+ "maxLength": 60
4511
+ }
4512
+ }
4513
+ },
4514
+ "period": {
4515
+ "type": "string",
4516
+ "required": true,
4517
+ "maxLength": 40
4518
+ },
4519
+ "title": {
4520
+ "type": "string",
4521
+ "required": true,
4522
+ "maxLength": 80
4523
+ }
4524
+ }
4525
+ },
4253
4526
  "stats-carousel": {
4254
4527
  "id": "stats-carousel",
4255
4528
  "name": "Stats Carousel",
@@ -4903,7 +5176,7 @@
4903
5176
  "component": "Testimonial",
4904
5177
  "category": "testimonial",
4905
5178
  "description": "Testimonial section with two variants: an auto-advancing single-slide quote carousel with dot pagination (default), and a horizontally-scrollable row of star-rated Trustpilot review cards with a rating badge and prev/next controls (trustpilot).",
4906
- "purpose": "A full-width testimonial section for showcasing partner or customer quotes. Ships in two variants: - **Default** — one quote card at a time, with decorative quote marks, an optional author avatar, name, and location; auto-advances every 5 seconds with dot pagination for manual navigation. - **Trustpilot** — a horizontally-scrollable row of star-rated review cards plus a \"Trustpilot\" rating badge and prev/next arrow controls. Modeled after the \"What our customers say\" section on deriv.com's homepage. The 5-second auto-advance is **not configurable** — there is no prop to slow it down or switch it off. The block's only props are `title`, `items` and `className`.",
5179
+ "purpose": "A full-width testimonial section for showcasing partner or customer quotes. Ships in two variants: - **Default** — one quote card at a time, with decorative quote marks, an optional author avatar, name, and location; auto-advances every 5 seconds with dot pagination for manual navigation. - **Trustpilot** — a horizontally-scrollable row of star-rated review cards plus a \"Trustpilot\" rating badge and prev/next arrow controls. Modeled after the \"What our customers say\" section on deriv.com's homepage. The default variant's 5-second auto-advance is **not configurable** — there is no prop to slow it down or switch it off. Props are `title`, `items`, `variant`, and (for `trustpilot`) `trustpilotUrl` / `trustpilotScore`, plus optional per-item `rating` and `reviewUrl`.",
4907
5180
  "keywords": [
4908
5181
  "testimonial",
4909
5182
  "quote",
@@ -5087,6 +5360,160 @@
5087
5360
  }
5088
5361
  }
5089
5362
  },
5363
+ "tiers": {
5364
+ "id": "tiers",
5365
+ "name": "Tiers",
5366
+ "component": "Tiers",
5367
+ "category": "feature",
5368
+ "description": "Centred partnership-tier track with medal icons, benefit cards, optional qualification lines, and a CTA — modeled after deriv.com/partners.",
5369
+ "purpose": "A partnership-tier comparison section with a centred header, a responsive track of medal tiers (icon, name, stage label, benefit card, optional qualification line), and an optional CTA link. Modeled after the \"Growing rewards as you scale\" block on [deriv.com/partners](https://deriv.com/partners).",
5370
+ "keywords": [
5371
+ "tiers",
5372
+ "partner",
5373
+ "partnership",
5374
+ "rewards",
5375
+ "bronze",
5376
+ "silver",
5377
+ "gold",
5378
+ "platinum",
5379
+ "commission",
5380
+ "bonus",
5381
+ "affiliate",
5382
+ "levels",
5383
+ "progression",
5384
+ "deriv"
5385
+ ],
5386
+ "sectionType": "tiers",
5387
+ "global": false,
5388
+ "requiredFields": [
5389
+ "title",
5390
+ "tiers"
5391
+ ],
5392
+ "optionalFields": [
5393
+ "description",
5394
+ "showLink",
5395
+ "linkText",
5396
+ "linkHref"
5397
+ ],
5398
+ "variants": [
5399
+ "default"
5400
+ ],
5401
+ "recommendedPosition": 4,
5402
+ "placement": [
5403
+ "middle"
5404
+ ],
5405
+ "layout": {
5406
+ "alignment": "center",
5407
+ "gridColumns": "1-2-4",
5408
+ "contentWidth": "wide",
5409
+ "background": true,
5410
+ "overlay": false
5411
+ },
5412
+ "supports": {
5413
+ "backgroundImage": false,
5414
+ "backgroundVideo": false,
5415
+ "foregroundImage": false,
5416
+ "primaryButton": false,
5417
+ "secondaryButton": false,
5418
+ "sectionLink": true,
5419
+ "icons": true
5420
+ },
5421
+ "imageRoles": [
5422
+ "tier-icon"
5423
+ ],
5424
+ "defaultValues": {
5425
+ "showLink": false,
5426
+ "linkText": "Learn more about partner tiers"
5427
+ },
5428
+ "fields": {
5429
+ "description": {
5430
+ "type": "string",
5431
+ "required": false,
5432
+ "maxLength": 240
5433
+ },
5434
+ "linkHref": {
5435
+ "type": "string",
5436
+ "required": false,
5437
+ "maxLength": 300,
5438
+ "description": "Destination URL for the section-level link."
5439
+ },
5440
+ "linkText": {
5441
+ "type": "string",
5442
+ "required": false,
5443
+ "default": "Learn more about partner tiers",
5444
+ "maxLength": 60,
5445
+ "description": "Label for the section-level link."
5446
+ },
5447
+ "showLink": {
5448
+ "type": "boolean",
5449
+ "required": false,
5450
+ "default": false,
5451
+ "description": "Show a section-level CTA link under the tier grid. Off by default."
5452
+ },
5453
+ "tiers": {
5454
+ "type": "array",
5455
+ "required": true,
5456
+ "itemFields": {
5457
+ "accent": {
5458
+ "type": "string",
5459
+ "required": false,
5460
+ "enum": [
5461
+ "bronze",
5462
+ "silver",
5463
+ "gold",
5464
+ "platinum"
5465
+ ],
5466
+ "description": "Desktop connector-line accent. Defaults by index (bronze → silver → gold → platinum)."
5467
+ },
5468
+ "description": {
5469
+ "type": "string",
5470
+ "required": true,
5471
+ "maxLength": 240,
5472
+ "description": "Benefit body copy inside the card."
5473
+ },
5474
+ "icon": {
5475
+ "type": "image",
5476
+ "required": true,
5477
+ "description": "Medal / badge image URL for this tier."
5478
+ },
5479
+ "iconAlt": {
5480
+ "type": "string",
5481
+ "required": false,
5482
+ "maxLength": 80,
5483
+ "description": "Alt text for the medal image. Defaults to the tier name."
5484
+ },
5485
+ "name": {
5486
+ "type": "string",
5487
+ "required": true,
5488
+ "maxLength": 40
5489
+ },
5490
+ "requirement": {
5491
+ "type": "string",
5492
+ "required": false,
5493
+ "maxLength": 120,
5494
+ "description": "Optional qualification line under the card. Use a newline between the label and the threshold (e.g. \"3-month average commission:\\n$500+\")."
5495
+ },
5496
+ "status": {
5497
+ "type": "string",
5498
+ "required": true,
5499
+ "maxLength": 40,
5500
+ "description": "Short stage label under the name, e.g. Launch / Grow."
5501
+ },
5502
+ "title": {
5503
+ "type": "string",
5504
+ "required": true,
5505
+ "maxLength": 80,
5506
+ "description": "Benefit headline inside the card."
5507
+ }
5508
+ }
5509
+ },
5510
+ "title": {
5511
+ "type": "string",
5512
+ "required": true,
5513
+ "maxLength": 80
5514
+ }
5515
+ }
5516
+ },
5090
5517
  "trading-calculator": {
5091
5518
  "id": "trading-calculator",
5092
5519
  "name": "TradingCalculator",