@deriv-com/dds-marketing 1.1.2 → 1.2.0

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 (401) hide show
  1. package/.llm/components/accordion.md +10 -0
  2. package/.llm/components/accordionitem.md +10 -0
  3. package/.llm/components/aspectratio.md +10 -0
  4. package/.llm/components/awards.md +10 -0
  5. package/.llm/components/background.md +52 -9
  6. package/.llm/components/badge.md +13 -3
  7. package/.llm/components/bottomsheet.md +13 -3
  8. package/.llm/components/breadcrumb.md +10 -0
  9. package/.llm/components/breadcrumbitem.md +10 -0
  10. package/.llm/components/button.md +13 -3
  11. package/.llm/components/buttonicon.md +17 -7
  12. package/.llm/components/card.md +11 -1
  13. package/.llm/components/cardbody.md +12 -2
  14. package/.llm/components/cardbutton.md +10 -0
  15. package/.llm/components/checkbox.md +7 -1
  16. package/.llm/components/comparisoncards.md +13 -3
  17. package/.llm/components/comparisontable.md +10 -0
  18. package/.llm/components/ctabanner.md +10 -0
  19. package/.llm/components/ctabannerslider.md +10 -0
  20. package/.llm/components/datatable.md +10 -0
  21. package/.llm/components/divider.md +10 -0
  22. package/.llm/components/documentlink.md +237 -0
  23. package/.llm/components/documents.md +268 -0
  24. package/.llm/components/downloadbanner.md +11 -1
  25. package/.llm/components/dropdownmenu.md +15 -5
  26. package/.llm/components/estimator.md +342 -0
  27. package/.llm/components/faqaccordion.md +10 -0
  28. package/.llm/components/featurebullets.md +10 -0
  29. package/.llm/components/featurecards.md +47 -3
  30. package/.llm/components/featurecardscarousel.md +11 -1
  31. package/.llm/components/featurescroll.md +10 -0
  32. package/.llm/components/featuresplit.md +10 -0
  33. package/.llm/components/featurestack.md +10 -0
  34. package/.llm/components/featuretabs.md +369 -0
  35. package/.llm/components/filterchip.md +11 -1
  36. package/.llm/components/footer.md +10 -0
  37. package/.llm/components/footergroup.md +10 -0
  38. package/.llm/components/grid.md +34 -1
  39. package/.llm/components/icon.md +15 -5
  40. package/.llm/components/illustrationcard.md +56 -2
  41. package/.llm/components/illustrationcheck.md +193 -0
  42. package/.llm/components/illustrationchoice.md +187 -0
  43. package/.llm/components/illustrationcode.md +192 -0
  44. package/.llm/components/illustrationlist.md +175 -0
  45. package/.llm/components/illustrationscene.md +33 -3
  46. package/.llm/components/imagebanner.md +35 -6
  47. package/.llm/components/landinghero.md +10 -0
  48. package/.llm/components/link.md +12 -2
  49. package/.llm/components/logocolumns.md +11 -1
  50. package/.llm/components/logorows.md +46 -2
  51. package/.llm/components/menuitem.md +12 -2
  52. package/.llm/components/navbar.md +11 -1
  53. package/.llm/components/navbaritem.md +10 -0
  54. package/.llm/components/navbarmenu.md +10 -0
  55. package/.llm/components/navbarmenugroup.md +10 -0
  56. package/.llm/components/navbarpanel.md +10 -0
  57. package/.llm/components/navbarswitcher.md +16 -6
  58. package/.llm/components/navbarswitcheroption.md +10 -0
  59. package/.llm/components/option.md +11 -1
  60. package/.llm/components/pageheader.md +10 -0
  61. package/.llm/components/pagination.md +10 -0
  62. package/.llm/components/paginationdots.md +10 -0
  63. package/.llm/components/producthero.md +33 -4
  64. package/.llm/components/progressbar.md +305 -0
  65. package/.llm/components/removablechip.md +11 -1
  66. package/.llm/components/resourcebanner.md +10 -0
  67. package/.llm/components/row.md +10 -0
  68. package/.llm/components/scenescroll.md +42 -24
  69. package/.llm/components/scenescrollword.md +267 -0
  70. package/.llm/components/scroller.md +10 -0
  71. package/.llm/components/searchinput.md +10 -0
  72. package/.llm/components/segmentedcontrol.md +33 -2
  73. package/.llm/components/segmentedcontrolitem.md +12 -2
  74. package/.llm/components/select.md +10 -0
  75. package/.llm/components/selectchip.md +10 -0
  76. package/.llm/components/spinner.md +10 -0
  77. package/.llm/components/stack.md +10 -0
  78. package/.llm/components/stats.md +50 -1
  79. package/.llm/components/statscarousel.md +227 -0
  80. package/.llm/components/statusdot.md +45 -1
  81. package/.llm/components/steps.md +10 -0
  82. package/.llm/components/stickycards.md +10 -0
  83. package/.llm/components/subdomainnavbar.md +11 -1
  84. package/.llm/components/tab.md +12 -2
  85. package/.llm/components/table.md +10 -0
  86. package/.llm/components/tablebody.md +10 -0
  87. package/.llm/components/tablecell.md +10 -0
  88. package/.llm/components/tablehead.md +10 -0
  89. package/.llm/components/tableheadercell.md +10 -0
  90. package/.llm/components/tablerow.md +10 -0
  91. package/.llm/components/tablist.md +10 -0
  92. package/.llm/components/teamgrid.md +10 -0
  93. package/.llm/components/testimonialrow.md +47 -3
  94. package/.llm/components/testimonialslider.md +12 -2
  95. package/.llm/components/textarea.md +10 -0
  96. package/.llm/components/textinput.md +11 -1
  97. package/.llm/components/textscroll.md +10 -0
  98. package/.llm/components/tiers.md +17 -7
  99. package/.llm/components/tooltip.md +6 -0
  100. package/.llm/components/typography.md +67 -1
  101. package/.llm/digest/accordion.md +1 -1
  102. package/.llm/digest/accordionitem.md +1 -1
  103. package/.llm/digest/aspectratio.md +1 -1
  104. package/.llm/digest/awards.md +1 -1
  105. package/.llm/digest/background.md +14 -6
  106. package/.llm/digest/badge.md +1 -1
  107. package/.llm/digest/bottomsheet.md +1 -1
  108. package/.llm/digest/breadcrumb.md +1 -1
  109. package/.llm/digest/breadcrumbitem.md +1 -1
  110. package/.llm/digest/button.md +2 -2
  111. package/.llm/digest/buttonicon.md +2 -2
  112. package/.llm/digest/card.md +1 -1
  113. package/.llm/digest/cardbody.md +1 -1
  114. package/.llm/digest/cardbutton.md +1 -1
  115. package/.llm/digest/checkbox.md +1 -1
  116. package/.llm/digest/comparisoncards.md +1 -1
  117. package/.llm/digest/comparisontable.md +1 -1
  118. package/.llm/digest/ctabanner.md +1 -1
  119. package/.llm/digest/ctabannerslider.md +1 -1
  120. package/.llm/digest/datatable.md +1 -1
  121. package/.llm/digest/divider.md +1 -1
  122. package/.llm/digest/documentlink.md +52 -0
  123. package/.llm/digest/documents.md +51 -0
  124. package/.llm/digest/downloadbanner.md +2 -2
  125. package/.llm/digest/dropdownmenu.md +1 -1
  126. package/.llm/digest/estimator.md +66 -0
  127. package/.llm/digest/faqaccordion.md +1 -1
  128. package/.llm/digest/featurebullets.md +1 -1
  129. package/.llm/digest/featurecards.md +8 -1
  130. package/.llm/digest/featurecardscarousel.md +1 -1
  131. package/.llm/digest/featurescroll.md +1 -1
  132. package/.llm/digest/featuresplit.md +1 -1
  133. package/.llm/digest/featurestack.md +1 -1
  134. package/.llm/digest/featuretabs.md +50 -0
  135. package/.llm/digest/filterchip.md +1 -1
  136. package/.llm/digest/footer.md +1 -1
  137. package/.llm/digest/footergroup.md +1 -1
  138. package/.llm/digest/grid.md +2 -1
  139. package/.llm/digest/icon.md +1 -1
  140. package/.llm/digest/illustrationcard.md +7 -2
  141. package/.llm/digest/illustrationcheck.md +42 -0
  142. package/.llm/digest/illustrationchoice.md +43 -0
  143. package/.llm/digest/illustrationcode.md +41 -0
  144. package/.llm/digest/illustrationlist.md +38 -0
  145. package/.llm/digest/illustrationscene.md +5 -3
  146. package/.llm/digest/imagebanner.md +11 -5
  147. package/.llm/digest/landinghero.md +1 -1
  148. package/.llm/digest/link.md +1 -1
  149. package/.llm/digest/logocolumns.md +2 -2
  150. package/.llm/digest/logorows.md +9 -2
  151. package/.llm/digest/menuitem.md +1 -1
  152. package/.llm/digest/navbar.md +1 -1
  153. package/.llm/digest/navbaritem.md +1 -1
  154. package/.llm/digest/navbarmenu.md +1 -1
  155. package/.llm/digest/navbarmenugroup.md +1 -1
  156. package/.llm/digest/navbarpanel.md +1 -1
  157. package/.llm/digest/navbarswitcher.md +1 -1
  158. package/.llm/digest/navbarswitcheroption.md +1 -1
  159. package/.llm/digest/option.md +1 -1
  160. package/.llm/digest/pageheader.md +1 -1
  161. package/.llm/digest/pagination.md +1 -1
  162. package/.llm/digest/paginationdots.md +1 -1
  163. package/.llm/digest/producthero.md +9 -3
  164. package/.llm/digest/progressbar.md +56 -0
  165. package/.llm/digest/removablechip.md +1 -1
  166. package/.llm/digest/resourcebanner.md +1 -1
  167. package/.llm/digest/row.md +1 -1
  168. package/.llm/digest/scenescroll.md +7 -6
  169. package/.llm/digest/scenescrollword.md +56 -0
  170. package/.llm/digest/scroller.md +1 -1
  171. package/.llm/digest/searchinput.md +1 -1
  172. package/.llm/digest/segmentedcontrol.md +4 -1
  173. package/.llm/digest/segmentedcontrolitem.md +2 -2
  174. package/.llm/digest/select.md +1 -1
  175. package/.llm/digest/selectchip.md +1 -1
  176. package/.llm/digest/spinner.md +1 -1
  177. package/.llm/digest/stack.md +1 -1
  178. package/.llm/digest/stats.md +9 -1
  179. package/.llm/digest/statscarousel.md +48 -0
  180. package/.llm/digest/statusdot.md +8 -1
  181. package/.llm/digest/steps.md +1 -1
  182. package/.llm/digest/stickycards.md +1 -1
  183. package/.llm/digest/subdomainnavbar.md +1 -1
  184. package/.llm/digest/tab.md +1 -1
  185. package/.llm/digest/table.md +1 -1
  186. package/.llm/digest/tablebody.md +1 -1
  187. package/.llm/digest/tablecell.md +1 -1
  188. package/.llm/digest/tablehead.md +1 -1
  189. package/.llm/digest/tableheadercell.md +1 -1
  190. package/.llm/digest/tablerow.md +1 -1
  191. package/.llm/digest/tablist.md +1 -1
  192. package/.llm/digest/teamgrid.md +1 -1
  193. package/.llm/digest/testimonialrow.md +9 -2
  194. package/.llm/digest/testimonialslider.md +2 -2
  195. package/.llm/digest/textarea.md +1 -1
  196. package/.llm/digest/textinput.md +1 -1
  197. package/.llm/digest/textscroll.md +1 -1
  198. package/.llm/digest/tiers.md +1 -1
  199. package/.llm/digest/typography.md +19 -1
  200. package/.llm/index.md +15 -4
  201. package/.llm/rules.md +10 -0
  202. package/.llm/tokens.md +13 -3
  203. package/AGENTS.md +14 -2
  204. package/README.md +28 -3
  205. package/dist/components/arrival.d.ts +32 -0
  206. package/dist/components/arrival.js +140 -0
  207. package/dist/components/arrives.d.ts +17 -0
  208. package/dist/components/arrives.js +14 -0
  209. package/dist/components/blocks/awards/Awards.js +2 -27
  210. package/dist/components/blocks/block-pattern.css +23 -0
  211. package/dist/components/blocks/comparison-cards/comparison-cards-impl.css +29 -12
  212. package/dist/components/blocks/documents/Documents.css +90 -0
  213. package/dist/components/blocks/documents/Documents.d.ts +22 -0
  214. package/dist/components/blocks/documents/Documents.js +30 -0
  215. package/dist/components/blocks/documents/Documents.types.d.ts +37 -0
  216. package/dist/components/blocks/documents/Documents.types.js +14 -0
  217. package/dist/components/blocks/documents/documents-impl.css +103 -0
  218. package/dist/components/blocks/download-banner/DownloadBanner.css +1 -1
  219. package/dist/components/blocks/download-banner/DownloadBanner.types.d.ts +1 -1
  220. package/dist/components/blocks/estimator/Estimator.css +206 -0
  221. package/dist/components/blocks/estimator/Estimator.d.ts +27 -0
  222. package/dist/components/blocks/estimator/Estimator.js +61 -0
  223. package/dist/components/blocks/estimator/Estimator.types.d.ts +63 -0
  224. package/dist/components/blocks/estimator/Estimator.types.js +25 -0
  225. package/dist/components/blocks/estimator/estimator-impl.css +159 -0
  226. package/dist/components/blocks/feature-cards/FeatureCards.d.ts +2 -1
  227. package/dist/components/blocks/feature-cards/FeatureCards.js +10 -7
  228. package/dist/components/blocks/feature-cards/FeatureCards.types.d.ts +9 -1
  229. package/dist/components/blocks/feature-cards/feature-cards-impl.css +15 -3
  230. package/dist/components/blocks/feature-cards-carousel/FeatureCardsCarousel.types.d.ts +1 -1
  231. package/dist/components/blocks/feature-cards-carousel/feature-cards-carousel-impl.css +12 -0
  232. package/dist/components/blocks/feature-tabs/FeatureTabs.css +100 -0
  233. package/dist/components/blocks/feature-tabs/FeatureTabs.d.ts +23 -0
  234. package/dist/components/blocks/feature-tabs/FeatureTabs.js +38 -0
  235. package/dist/components/blocks/feature-tabs/FeatureTabs.types.d.ts +35 -0
  236. package/dist/components/blocks/feature-tabs/FeatureTabs.types.js +14 -0
  237. package/dist/components/blocks/feature-tabs/feature-tabs-impl.css +53 -0
  238. package/dist/components/blocks/image-banner/ImageBanner.css +1 -1
  239. package/dist/components/blocks/image-banner/ImageBanner.d.ts +2 -1
  240. package/dist/components/blocks/image-banner/ImageBanner.js +3 -2
  241. package/dist/components/blocks/image-banner/ImageBanner.types.d.ts +10 -8
  242. package/dist/components/blocks/image-banner/ImageBanner.types.js +1 -1
  243. package/dist/components/blocks/image-banner/image-banner-impl.css +78 -71
  244. package/dist/components/blocks/laurel.d.ts +16 -0
  245. package/dist/components/blocks/laurel.js +28 -0
  246. package/dist/components/blocks/logo-columns/LogoColumns.css +1 -1
  247. package/dist/components/blocks/logo-columns/LogoColumns.types.d.ts +1 -1
  248. package/dist/components/blocks/logo-rows/LogoRows.css +1 -1
  249. package/dist/components/blocks/logo-rows/LogoRows.d.ts +2 -1
  250. package/dist/components/blocks/logo-rows/LogoRows.js +7 -4
  251. package/dist/components/blocks/logo-rows/LogoRows.types.d.ts +9 -1
  252. package/dist/components/blocks/pattern-tone.d.ts +11 -0
  253. package/dist/components/blocks/pattern-tone.js +7 -0
  254. package/dist/components/blocks/product-hero/ProductHero.d.ts +1 -1
  255. package/dist/components/blocks/product-hero/ProductHero.js +2 -2
  256. package/dist/components/blocks/product-hero/ProductHero.types.d.ts +8 -3
  257. package/dist/components/blocks/product-hero/ProductHero.types.js +1 -1
  258. package/dist/components/blocks/product-hero/product-hero-impl.css +54 -0
  259. package/dist/components/blocks/resource-banner/ResourceBanner.css +1 -1
  260. package/dist/components/blocks/scene-scroll/SceneScroll.css +1 -1
  261. package/dist/components/blocks/scene-scroll/SceneScroll.d.ts +6 -5
  262. package/dist/components/blocks/scene-scroll/SceneScroll.js +8 -7
  263. package/dist/components/blocks/scene-scroll/SceneScroll.types.d.ts +5 -5
  264. package/dist/components/blocks/scene-scroll/SceneScroll.types.js +1 -1
  265. package/dist/components/blocks/scene-scroll/scene-scroll-impl.css +61 -44
  266. package/dist/components/blocks/scene-scroll-word/SceneScrollWord.css +105 -0
  267. package/dist/components/blocks/scene-scroll-word/SceneScrollWord.d.ts +31 -0
  268. package/dist/components/blocks/scene-scroll-word/SceneScrollWord.js +67 -0
  269. package/dist/components/blocks/scene-scroll-word/SceneScrollWord.types.d.ts +39 -0
  270. package/dist/components/blocks/scene-scroll-word/SceneScrollWord.types.js +18 -0
  271. package/dist/components/blocks/scene-scroll-word/scene-scroll-word-impl.css +370 -0
  272. package/dist/components/blocks/stats/Stats.d.ts +2 -1
  273. package/dist/components/blocks/stats/Stats.js +17 -14
  274. package/dist/components/blocks/stats/Stats.types.d.ts +8 -0
  275. package/dist/components/blocks/stats/stats-impl.css +4 -1
  276. package/dist/components/blocks/stats/use-wheel.d.ts +1 -1
  277. package/dist/components/blocks/stats/use-wheel.js +8 -4
  278. package/dist/components/blocks/stats-carousel/StatsCarousel.css +209 -0
  279. package/dist/components/blocks/stats-carousel/StatsCarousel.d.ts +20 -0
  280. package/dist/components/blocks/stats-carousel/StatsCarousel.js +48 -0
  281. package/dist/components/blocks/stats-carousel/StatsCarousel.types.d.ts +43 -0
  282. package/dist/components/blocks/stats-carousel/StatsCarousel.types.js +23 -0
  283. package/dist/components/blocks/stats-carousel/stats-carousel-impl.css +233 -0
  284. package/dist/components/blocks/sticky-cards/sticky-cards-impl.css +8 -0
  285. package/dist/components/blocks/testimonial-row/TestimonialRow.css +1 -1
  286. package/dist/components/blocks/testimonial-row/TestimonialRow.d.ts +2 -1
  287. package/dist/components/blocks/testimonial-row/TestimonialRow.js +16 -13
  288. package/dist/components/blocks/testimonial-row/TestimonialRow.types.d.ts +9 -1
  289. package/dist/components/blocks/testimonial-slider/TestimonialSlider.css +1 -1
  290. package/dist/components/blocks/testimonial-slider/TestimonialSlider.types.d.ts +1 -1
  291. package/dist/components/blocks/tiers/Tiers.types.d.ts +1 -1
  292. package/dist/components/core/background/Background.css +19 -0
  293. package/dist/components/core/background/Background.types.d.ts +2 -1
  294. package/dist/components/core/background/background-impl.css +47 -15
  295. package/dist/components/core/background/halftone.js +1 -1
  296. package/dist/components/core/button/Button.css +5 -5
  297. package/dist/components/core/button-icon/ButtonIcon.types.d.ts +1 -1
  298. package/dist/components/core/card-body/CardBody.css +5 -0
  299. package/dist/components/core/card-body/CardBody.types.d.ts +1 -1
  300. package/dist/components/core/document-link/DocumentLink.css +59 -0
  301. package/dist/components/core/document-link/DocumentLink.d.ts +19 -0
  302. package/dist/components/core/document-link/DocumentLink.js +21 -0
  303. package/dist/components/core/document-link/DocumentLink.types.d.ts +41 -0
  304. package/dist/components/core/document-link/DocumentLink.types.js +11 -0
  305. package/dist/components/core/document-link/document-link-impl.css +23 -0
  306. package/dist/components/core/illustration-card/IllustrationCard.css +7 -0
  307. package/dist/components/core/illustration-card/IllustrationCard.d.ts +5 -1
  308. package/dist/components/core/illustration-card/IllustrationCard.js +34 -8
  309. package/dist/components/core/illustration-card/IllustrationCard.types.d.ts +8 -1
  310. package/dist/components/core/illustration-card/IllustrationCard.types.js +1 -0
  311. package/dist/components/core/illustration-card/illustration-card-impl.css +113 -0
  312. package/dist/components/core/illustration-check/IllustrationCheck.css +25 -0
  313. package/dist/components/core/illustration-check/IllustrationCheck.d.ts +16 -0
  314. package/dist/components/core/illustration-check/IllustrationCheck.js +22 -0
  315. package/dist/components/core/illustration-check/IllustrationCheck.types.d.ts +25 -0
  316. package/dist/components/core/illustration-check/IllustrationCheck.types.js +9 -0
  317. package/dist/components/core/illustration-check/illustration-check-impl.css +76 -0
  318. package/dist/components/core/illustration-choice/IllustrationChoice.css +62 -0
  319. package/dist/components/core/illustration-choice/IllustrationChoice.d.ts +16 -0
  320. package/dist/components/core/illustration-choice/IllustrationChoice.js +31 -0
  321. package/dist/components/core/illustration-choice/IllustrationChoice.types.d.ts +25 -0
  322. package/dist/components/core/illustration-choice/IllustrationChoice.types.js +11 -0
  323. package/dist/components/core/illustration-choice/illustration-choice-impl.css +103 -0
  324. package/dist/components/core/illustration-code/IllustrationCode.css +25 -0
  325. package/dist/components/core/illustration-code/IllustrationCode.d.ts +12 -0
  326. package/dist/components/core/illustration-code/IllustrationCode.js +20 -0
  327. package/dist/components/core/illustration-code/IllustrationCode.types.d.ts +23 -0
  328. package/dist/components/core/illustration-code/IllustrationCode.types.js +8 -0
  329. package/dist/components/core/illustration-code/illustration-code-impl.css +42 -0
  330. package/dist/components/core/illustration-list/IllustrationList.css +19 -0
  331. package/dist/components/core/illustration-list/IllustrationList.d.ts +16 -0
  332. package/dist/components/core/illustration-list/IllustrationList.js +18 -0
  333. package/dist/components/core/illustration-list/IllustrationList.types.d.ts +15 -0
  334. package/dist/components/core/illustration-list/IllustrationList.types.js +6 -0
  335. package/dist/components/core/illustration-list/illustration-list-impl.css +52 -0
  336. package/dist/components/core/illustration-scene/IllustrationScene.css +6 -0
  337. package/dist/components/core/illustration-scene/IllustrationScene.d.ts +3 -2
  338. package/dist/components/core/illustration-scene/IllustrationScene.js +4 -3
  339. package/dist/components/core/illustration-scene/IllustrationScene.types.d.ts +5 -1
  340. package/dist/components/core/illustration-scene/IllustrationScene.types.js +2 -1
  341. package/dist/components/core/illustration-scene/illustration-scene-impl.css +65 -0
  342. package/dist/components/core/link/link-impl.css +5 -19
  343. package/dist/components/core/progress-bar/ProgressBar.css +101 -0
  344. package/dist/components/core/progress-bar/ProgressBar.d.ts +5 -0
  345. package/dist/components/core/progress-bar/ProgressBar.js +34 -0
  346. package/dist/components/core/progress-bar/ProgressBar.types.d.ts +52 -0
  347. package/dist/components/core/progress-bar/ProgressBar.types.js +12 -0
  348. package/dist/components/core/progress-bar/progress-bar-impl.css +45 -0
  349. package/dist/components/core/segmented-control/SegmentedControl.d.ts +1 -1
  350. package/dist/components/core/segmented-control/SegmentedControl.js +13 -5
  351. package/dist/components/core/segmented-control/SegmentedControl.types.d.ts +5 -1
  352. package/dist/components/core/segmented-control/segmented-control-impl.css +35 -0
  353. package/dist/components/core/segmented-control-item/SegmentedControlItem.types.d.ts +1 -1
  354. package/dist/components/core/select/Select.css +2 -0
  355. package/dist/components/core/select/select-impl.css +58 -0
  356. package/dist/components/core/status-dot/StatusDot.d.ts +1 -1
  357. package/dist/components/core/status-dot/StatusDot.js +7 -4
  358. package/dist/components/core/status-dot/StatusDot.types.d.ts +9 -1
  359. package/dist/components/core/status-dot/status-dot-impl.css +101 -0
  360. package/dist/components/core/text-area/TextArea.css +2 -0
  361. package/dist/components/core/text-area/text-area-impl.css +54 -0
  362. package/dist/components/core/text-input/TextInput.css +2 -0
  363. package/dist/components/core/text-input/text-input-impl.css +63 -0
  364. package/dist/components/core/typography/Typography.d.ts +3 -283
  365. package/dist/components/core/typography/Typography.js +9 -1
  366. package/dist/components/core/typography/Typography.types.d.ts +9 -15
  367. package/dist/components/core/typography/TypographyMotion.d.ts +28 -0
  368. package/dist/components/core/typography/TypographyMotion.js +43 -0
  369. package/dist/components/core/typography/typography-impl.css +106 -0
  370. package/dist/components/estimator-data.d.ts +29 -0
  371. package/dist/components/estimator-data.js +12 -0
  372. package/dist/components/illustration-data.d.ts +15 -0
  373. package/dist/components/illustration-data.js +7 -0
  374. package/dist/components/index.d.ts +25 -1
  375. package/dist/components/index.js +22 -0
  376. package/dist/components/layout/grid/Grid.css +5 -0
  377. package/dist/components/layout/grid/Grid.types.d.ts +2 -1
  378. package/dist/components/scene-scroll-data.d.ts +35 -0
  379. package/dist/components/tiers-data.d.ts +3 -2
  380. package/dist/icons/accounts.d.ts +1 -0
  381. package/dist/icons/accounts.js +1 -0
  382. package/dist/icons/app-stores.d.ts +1 -0
  383. package/dist/icons/app-stores.js +1 -0
  384. package/dist/icons/currency.d.ts +1 -0
  385. package/dist/icons/currency.js +1 -0
  386. package/dist/icons/flag.d.ts +1 -0
  387. package/dist/icons/flag.js +1 -0
  388. package/dist/icons/illustrative.d.ts +1 -0
  389. package/dist/icons/illustrative.js +1 -0
  390. package/dist/icons/index.d.ts +1 -0
  391. package/dist/icons/index.js +4 -0
  392. package/dist/icons/markets.d.ts +1 -0
  393. package/dist/icons/markets.js +1 -0
  394. package/dist/icons/social.d.ts +1 -0
  395. package/dist/icons/social.js +1 -0
  396. package/dist/icons/system.d.ts +1 -0
  397. package/dist/icons/system.js +1 -0
  398. package/dist/icons/trade.d.ts +1 -0
  399. package/dist/icons/trade.js +1 -0
  400. package/dist/marketing.css +26 -6
  401. package/package.json +44 -2
@@ -2,6 +2,10 @@
2
2
 
3
3
  # FeatureSplit
4
4
 
5
+ One claim, a supporting line and a link, beside a single picture.
6
+
7
+ ## Why it is built this way
8
+
5
9
  A section putting one claim, a line explaining it and a way onward beside a single picture.
6
10
 
7
11
  The plainest block here, and that is what it is for: somewhere to make one more point about something the page has already introduced, without opening a list or a set of cards. A split rather than a stack, because the same words over a full-width photograph read as a caption and beside one as a claim with evidence.
@@ -118,6 +122,12 @@ What this is not about is every row of controls. A set of filter chips, a pagina
118
122
  Guidance only — cannot be checked automatically.
119
123
  - **Never nest one interactive element inside another** — Nested interactive elements produce ambiguous hit targets and an unreachable inner control for keyboard and screen-reader users. This is why the rule cannot live on any single component — it constrains Button, Link, CardButton and TextInput simultaneously.
120
124
  Guidance only — cannot be checked automatically.
125
+ - **A page has at most one patterned band, between its hero and its closing call to action** — A patterned ground — the halftone, the aurora, the mesh, the grid or the rings — is what makes a band the one a reader stops at, and it only works by being the exception. So a page has at most one, placed between its hero and its closing call to action; the hero's and the call to action's own patterns are theirs and do not count, and the band never goes on either of them.
126
+
127
+ The pattern is the band's first layer, under its content and over nothing. A block that can carry one says so with its own `background` prop — FeatureCards, Stats, TestimonialRow and LogoRows — and draws it there; a section built by hand places a Background with nothing in it as its first child. Never wrap a block in a Background: the block paints its own ground over the pattern and hides it.
128
+
129
+ Only a band whose content is stacked can carry one. Every pattern rises from the band's foot, so the band needs a heading over what it introduces, centred, with the foot left open. A band whose content runs side by side — words beside a picture, a split, columns reaching the foot — puts the glow behind the picture or under the words; it stays on its flat ground.
130
+ Guidance only — cannot be checked automatically.
121
131
  - **A section that paints a ground sets the ink to go with it** — A page sits on color.bg.page, and a section that separates itself from it takes one of three grounds. color.bg.subtle is the light one and needs nothing further — the page's own ink still reads on it. The other two are dark and do not: color.bg.brand-strong takes color.fg.on-brand-strong, and color.bg.brand takes color.fg.on-solid. Both are white, and both are written as the role rather than the white they resolve to. Set one of those backgrounds without its ink and the text inherits whatever the page was already using, which is near-black on a dark band — legible to nobody, and invisible to every check here, because each pair passes contrast on its own and nothing can tell whether a section used both.
122
132
 
123
133
  color.bg.brand carries a second limit that is not about forgetting. Its ink measures 3.39:1, which clears the 3:1 a heading needs and misses the 4.5:1 running copy needs. A coral band may carry a headline and a call to action; a paragraph on one is text the reader has to work through at a ratio the waiver on that role does not cover — the waiver says so itself. A section with copy in it takes color.bg.brand-strong, which is near-black and carries white at full contrast.
@@ -2,6 +2,10 @@
2
2
 
3
3
  # FeatureStack
4
4
 
5
+ A heading and supporting line above a large illustration.
6
+
7
+ ## Why it is built this way
8
+
5
9
  A section that leads with a statement and ends on a picture: a heading, a line under it where the heading needs one, a link on to more where the page has one, and a large illustration — a globe, a map, a product shot — standing on the band's foot. FeatureSplit stacked: where a split sets the words beside the picture, this sets them over it. From the fold the words are centred over the picture; on a phone they start at the edge and the picture takes the column.
6
10
 
7
11
  The reference design's PartnersPayout layout, taken down to its frame. The figures the reference drew between the heading and the picture are the page's content and not the block's: a page that wants figures puts them in its own section, or in the copy.
@@ -98,6 +102,12 @@ What this is not about is every row of controls. A set of filter chips, a pagina
98
102
  Guidance only — cannot be checked automatically.
99
103
  - **Never nest one interactive element inside another** — Nested interactive elements produce ambiguous hit targets and an unreachable inner control for keyboard and screen-reader users. This is why the rule cannot live on any single component — it constrains Button, Link, CardButton and TextInput simultaneously.
100
104
  Guidance only — cannot be checked automatically.
105
+ - **A page has at most one patterned band, between its hero and its closing call to action** — A patterned ground — the halftone, the aurora, the mesh, the grid or the rings — is what makes a band the one a reader stops at, and it only works by being the exception. So a page has at most one, placed between its hero and its closing call to action; the hero's and the call to action's own patterns are theirs and do not count, and the band never goes on either of them.
106
+
107
+ The pattern is the band's first layer, under its content and over nothing. A block that can carry one says so with its own `background` prop — FeatureCards, Stats, TestimonialRow and LogoRows — and draws it there; a section built by hand places a Background with nothing in it as its first child. Never wrap a block in a Background: the block paints its own ground over the pattern and hides it.
108
+
109
+ Only a band whose content is stacked can carry one. Every pattern rises from the band's foot, so the band needs a heading over what it introduces, centred, with the foot left open. A band whose content runs side by side — words beside a picture, a split, columns reaching the foot — puts the glow behind the picture or under the words; it stays on its flat ground.
110
+ Guidance only — cannot be checked automatically.
101
111
  - **A section that paints a ground sets the ink to go with it** — A page sits on color.bg.page, and a section that separates itself from it takes one of three grounds. color.bg.subtle is the light one and needs nothing further — the page's own ink still reads on it. The other two are dark and do not: color.bg.brand-strong takes color.fg.on-brand-strong, and color.bg.brand takes color.fg.on-solid. Both are white, and both are written as the role rather than the white they resolve to. Set one of those backgrounds without its ink and the text inherits whatever the page was already using, which is near-black on a dark band — legible to nobody, and invisible to every check here, because each pair passes contrast on its own and nothing can tell whether a section used both.
102
112
 
103
113
  color.bg.brand carries a second limit that is not about forgetting. Its ink measures 3.39:1, which clears the 3:1 a heading needs and misses the 4.5:1 running copy needs. A coral band may carry a headline and a call to action; a paragraph on one is text the reader has to work through at a ratio the waiver on that role does not cover — the waiver says so itself. A section with copy in it takes color.bg.brand-strong, which is near-black and carries white at full contrast.
@@ -0,0 +1,369 @@
1
+ <!-- GENERATED from feature-tabs.contract.json. Do not edit. -->
2
+
3
+ # FeatureTabs
4
+
5
+ A section that shows one version of something at a time behind tabs — a heading, a strip of tabs, and the content of the one selected.
6
+
7
+ ## Why it is built this way
8
+
9
+ Some sections show several versions of one thing that a reader takes one at a time: a product's trade types, a platform on each device, the accounts on offer. This is that section — the reference design's OptionsTypes, made general.
10
+
11
+ The section owns what every version shares: the heading, the tab strip and which tab is showing, the footnote and the ground. What each tab shows is composed by the page — usually a Grid of plain Cards, each a flush CardBody with its picture above a title, a line and a Link — one child per name in `labels`, so a tab can hold whatever its version needs without a component for each shape. Only the tab showing is in the page, so a video or an animation in another is not playing behind it.
12
+
13
+ ## Use when
14
+
15
+ - Several versions of one thing a reader takes one at a time — a product's trade types, a platform's apps, the account types
16
+ - A section whose versions each need a picture, a line and a way onward, and only one is worth showing at once
17
+
18
+ ## Do not use
19
+
20
+ - One claim and one picture, with nothing to list → `FeatureSplit`
21
+ - Two or three plans or account types compared feature by feature → `ComparisonCards`
22
+ - Showing the same section's content for a monthly or a yearly price → `TabList`
23
+ - Content a reader needs all of. Only one tab is on the page at a time, and most readers never open the others
24
+ - Small print the reader must see. The footnote is the last thing read
25
+ - More than six tabs. A strip longer than that scrolls, and a reader stops reading it
26
+
27
+ ## Anatomy
28
+
29
+ FeatureTabs renders 8 elements. A token binding names the part it applies to.
30
+
31
+ - `root` — `<section>`, class `dds-featuretabs`. The section, a region named by its heading, on the ground `ground` paints with the ink that goes with it.
32
+ - `inner` — `<div>`, class `dds-featuretabs__inner`. The measure and the gutter, the same column every band holds its content in, and the step from the heading to the tabs' content: space.heading.content.
33
+ - `header` — `<div>`, class `dds-featuretabs__header`. The heading, the line under it and the tabs. At the start on a phone, as every block's heading is there; centred over the content they choose from 48rem.
34
+ - `title` — `<h2>`, class `dds-featuretabs__title`. What the versions are of — "Types of digital options", "Our platforms". `h2` because the section sits under the page's own heading; what each tab shows takes its headings from `h3`.
35
+ - `description` — `<p>`, class `dds-featuretabs__description`. The line under the heading, at font.body.md. Rendered only when `description` is set.
36
+ - `tabs` — `<div>`, class `dds-featuretabs__tabs`. The TabList of `labels`, named after the section's heading. Empty when there is one tab, since a strip of one tab chooses nothing.
37
+ - `panel` — `<div>`, class `dds-featuretabs__panel`. The child for the selected tab, as the page composed it. The others are out of the page rather than hidden in it, so a picture playing in one stops when the reader turns to the next.
38
+ - `footnote` — `<p>`, class `dds-featuretabs__footnote`. Small print every tab shares, in the muted ink — "Trade types may vary by platform and device.". At the start on a phone, centred from 48rem with the heading. Rendered only when `footnote` is set.
39
+
40
+ Apply these classes from the generated `featureTabsParts` constant rather than writing the strings by hand.
41
+
42
+ ## Composition
43
+
44
+ - Can contain: any content
45
+ - Never contains: `FeatureTabs`, `TabList`, `LandingHero`, `ProductHero`, `PageHeader`, `Footer`, `Navbar` — in children or in any prop that takes a node
46
+ - Holds at least 1
47
+
48
+ ## Props
49
+
50
+ ### ground — `page` | `subtle` | `strong` (default `page`)
51
+
52
+ - `page` — The default, and the page's own white. A section that has nothing to separate itself from what is above it — most of them — and the ground a reader is already on
53
+ - `subtle` — A quiet step off the page, for a band that wants to read as its own section without changing the page's voice — the reference design's slate FAQ. Painted as the band's tint laid over the page's own ground, so it is the same grey whatever is behind the section.
54
+ - `strong` — `color.bg.brand-strong`, the dark band. It stops the page rather than dividing it, so it is for a section a reader should arrive at — and one per page is usually one more than enough. The tab strip turns round with it: white names, a rule in the band's own veil and a focus ring drawn for the dark, fixed like the band
55
+
56
+ Use when: Which of the page's three grounds this section paints. A marketing page is white, and a band that wants to be seen as a band takes one of the other two — so this is how a page builds its rhythm: white, white, grey, white, dark. Two in a row is a deliberate pair rather than an accident, and the section above knows nothing about the one below it, so the page is the only thing that can decide.
57
+
58
+ The ink follows the ground and is not a second decision: a dark band carries white type because this sets both halves in one value, which is what the painted-ground-carries-its-ink rule exists to stop a page getting wrong.
59
+ Never for: Marking importance. Every section on a page painted a ground is a page with no emphasis left.
60
+
61
+ ### title — `string` **Required.**
62
+
63
+ Use when: Always. What the versions are of, in a few words — "Types of digital options". It names the section and the tabs
64
+ Never for: A sentence. The line under it says more
65
+
66
+ ### description — `string`
67
+
68
+ Use when: A line under the heading saying what the tabs have in common
69
+ Never for: Describing one tab. Each says that in its own description
70
+
71
+ ### labels — `data` `string[]` **Required.**
72
+
73
+ Use when: Always. The tabs' names, in a word or two each, in the order of the children they choose between — the first names the first child. A name without a child is not drawn
74
+ Never for: Sentences. A tab is read at a glance; what it shows says the rest
75
+
76
+ ### footnote — `string`
77
+
78
+ Use when: Small print every tab shares — that what is offered varies by platform or device
79
+ Never for: A risk warning. Small print is the last thing a reader reads, and the one place a warning must never be
80
+
81
+ ## Accessibility
82
+
83
+ Guaranteed by the component. Write none of it by hand: the ids these attributes point at are generated per instance, so an attribute set from outside either says the same thing twice or points at nothing.
84
+
85
+ - Announced as: `region`
86
+ - `Tab` — Moves through the tabs, then into the content showing
87
+ - the section is a region named by its heading
88
+ - with two or more tabs, they are a TabList named by the section's heading, and the content showing is the child the selected tab names
89
+
90
+ ## Rules
91
+
92
+ - **On a phone a section's actions stack and each fills the width, including when there is only one** — On a phone a page's actions stack, and each one fills the width. Not most of it, and not the width its label happens to need — the whole column.
93
+
94
+ Two side by side is what this replaces. On the narrowest screen each gets half a column minus the gap, which is rarely enough for a real label: the words wrap inside the pills, the two buttons come out different heights, and the pair reads as a broken row rather than as a choice. Stacked, each has the whole width and neither has to shorten its words to fit.
95
+
96
+ A single action fills too, and that is the part worth saying, because it is the one that looks unnecessary. A lone button has the room to sit at its natural width and still should not: a full-width control is the phone's convention for the thing the screen is asking you to do, and a pill hugging its label reads as one option among others that are not there. It also makes the target predictable — the whole width, wherever the thumb lands — which a centred pill does not.
97
+
98
+ Filling is the row's job rather than the button's. A button has no width of its own and is not given one; the row it sits in becomes a column and stretches its children, so nothing about the control changes and the same button is full width here and its own size on a desktop.
99
+
100
+ This is the phone's breakpoint, size.breakpoint.md, and not the wider one that decides whether a heading is centred. Those are different questions and they break at different widths: a heading stops being centred when the measure is the screen, while a button stops being full width much sooner than that — stretched across a tablet it is a long way from its own label, and a label centred in a metre of pill is harder to hit than one in a pill the size of the words.
101
+
102
+ What this is not about is every row of controls. A set of filter chips, a pagination strip, a toolbar, a link sitting after a sentence — none of these is the page asking for something, and stacking them to full width would turn a strip the eye skims into a list it has to read. The test is whether the row is the call to action the section was written for.
103
+ Guidance only — cannot be checked automatically.
104
+ - **Never nest one interactive element inside another** — Nested interactive elements produce ambiguous hit targets and an unreachable inner control for keyboard and screen-reader users. This is why the rule cannot live on any single component — it constrains Button, Link, CardButton and TextInput simultaneously.
105
+ Guidance only — cannot be checked automatically.
106
+ - **A page has at most one patterned band, between its hero and its closing call to action** — A patterned ground — the halftone, the aurora, the mesh, the grid or the rings — is what makes a band the one a reader stops at, and it only works by being the exception. So a page has at most one, placed between its hero and its closing call to action; the hero's and the call to action's own patterns are theirs and do not count, and the band never goes on either of them.
107
+
108
+ The pattern is the band's first layer, under its content and over nothing. A block that can carry one says so with its own `background` prop — FeatureCards, Stats, TestimonialRow and LogoRows — and draws it there; a section built by hand places a Background with nothing in it as its first child. Never wrap a block in a Background: the block paints its own ground over the pattern and hides it.
109
+
110
+ Only a band whose content is stacked can carry one. Every pattern rises from the band's foot, so the band needs a heading over what it introduces, centred, with the foot left open. A band whose content runs side by side — words beside a picture, a split, columns reaching the foot — puts the glow behind the picture or under the words; it stays on its flat ground.
111
+ Guidance only — cannot be checked automatically.
112
+ - **A section that paints a ground sets the ink to go with it** — A page sits on color.bg.page, and a section that separates itself from it takes one of three grounds. color.bg.subtle is the light one and needs nothing further — the page's own ink still reads on it. The other two are dark and do not: color.bg.brand-strong takes color.fg.on-brand-strong, and color.bg.brand takes color.fg.on-solid. Both are white, and both are written as the role rather than the white they resolve to. Set one of those backgrounds without its ink and the text inherits whatever the page was already using, which is near-black on a dark band — legible to nobody, and invisible to every check here, because each pair passes contrast on its own and nothing can tell whether a section used both.
113
+
114
+ color.bg.brand carries a second limit that is not about forgetting. Its ink measures 3.39:1, which clears the 3:1 a heading needs and misses the 4.5:1 running copy needs. A coral band may carry a headline and a call to action; a paragraph on one is text the reader has to work through at a ratio the waiver on that role does not cover — the waiver says so itself. A section with copy in it takes color.bg.brand-strong, which is near-black and carries white at full contrast.
115
+
116
+ color.bg.strong is not a section ground. It is the inverted fill for an action that has to outrank what surrounds it, and the components that paint it — Button and ButtonIcon in their inverse form — already set both halves in one rule, which is the pattern a hand-painted section has to copy.
117
+ Guidance only — cannot be checked automatically.
118
+ - **Every gap inside a section names the relationship it expresses, and the same relationship keeps its measure when it turns on its side** — A section's spacing is named by the relationship it expresses, not chosen by size. Every gap in a section has a role token, and reaching for a step off the generic scale because it happens to be the right number is how two sections written by two people stop lining up: the numbers agree today and drift the first time one of them is tuned.
119
+
120
+ The heading group is three steps, not one gap. An eyebrow sits nearer its title than the title sits to its description, and the actions sit further from the description than either — space.heading.eyebrow-title, space.heading.title-description, space.heading.description-actions, in that order. A single `gap` on the group cannot say this; it sets all three the same and the block reads as evenly spaced lines rather than as a mark, a name and a paragraph. The eyebrow has to identify itself for this to work, because a group that opens with a title must not give its description the eyebrow's tighter step.
121
+
122
+ The step between a title and its description follows the size of the title, which is why there are two of it. What a reader sees is not the gap but the gap plus the leading above it, and leading scales with the type: under a display title the leading is most of the space, under a card's title it is half as deep. One value for both makes a card look loose at the size that made a section look right. So space.heading.title-description is the display step and space.heading.title-description-compact is the step at a card's size, and the choice is made by how big the title is rather than by what kind of block it sits in.
123
+
124
+ Every one of those steps is smaller than the gap below the group, and that ordering is what holds the group together as one thing. space.heading.content is the step between a heading group and the content it introduces, and it is the widest measure inside a section: the one gap the eye reads as a change of subject rather than as a continuation.
125
+
126
+ That step is the same whether the content is under the heading or beside it. A split is the same relationship turned on its side — a heading group and the content it introduces — so the space between the two halves is space.heading.content, not a gutter. When the split collapses to one column on a phone the gap becomes vertical again, which is where it started, and nothing has to change for that to be right.
127
+
128
+ space.grid.gutter is between two things of the same kind. Two cards in a row are the same kind; the two halves of a split are not, which is why the gutter is the wrong measure there even when the number would have looked acceptable. The gutter runs on both axes, so a grid reads as an even field rather than as rows with a seam down them.
129
+
130
+ space.inset.card is the card's, not the page's. A row of cards padded differently is a row of different cards, and the fill is the only edge they have. A page composing a row does not get to choose it.
131
+
132
+ Column count is not a breakpoint decision. A row holds as many columns as fit before a column would be narrower than size.grid.column-min, and drops one when they would not. Written as a fixed count that collapses at a breakpoint, a four-up row keeps four columns at every width above the phone and sets its copy two or three words to a line through the whole of the tablet range — and on a narrow desktop, which no breakpoint sits on at all. The threshold is a property of the row rather than of a card: a card fills whatever cell it is given.
133
+
134
+ What this does not cover is the space above and below a section, which is space.section.default and space.section.compact, and the page's own side margin, which is space.inset.page. Those are the section's outside; everything here is its inside.
135
+ Guidance only — cannot be checked automatically.
136
+ - **A section's title is centred over stacked content, starts beside content in columns, and starts on a phone** — Two arrangements, and the title's alignment is decided by which one it is introducing rather than chosen per section.
137
+
138
+ Content stacked under the title — a row of cards, an accordion, a set of steps — takes a centred title. The heading group and the block below it share one axis, so a centred title is symmetric with the thing it names, and the eye drops from the middle of the words to the middle of the set. A title starting at the left over a centred or full-width block reads as belonging to the first column rather than to all of them.
139
+
140
+ Content beside the title — a split, a picture in the other half, anything laid out in columns — takes a title that starts where its content starts. The two share a left edge, and that edge is what says they are one thing read across rather than two stacked. Centring the title there breaks the only alignment the reader has to hold the halves together, and it drifts further from its content the wider the page gets.
141
+
142
+ The heading group is what carries this, not the heading alone. An eyebrow, a title and a description are read as one block and align together; aligning the title without them leaves a centred heading over start-aligned copy, which reads as a mistake rather than as a choice.
143
+
144
+ Centred means all of it, not just the words. A badge, a row of actions, a picture — these are flex children, and a flex child is placed by align-items rather than by text-align, so a block that only sets the text leaves everything that is not text at the start. A hero is the case that shows it: its title and copy centred while its badge and its buttons did not.
145
+
146
+ A capped block centres itself as well as its words. A heading group takes size.heading-group.max, and a cap that is not centred leaves the measure at the start of the column with the words centred inside it — composed, and a long way left of the middle it appears to be in.
147
+
148
+ Both arrangements go to the start on a phone. A centred block reverts below the breakpoint, and the reason is the measure: on a phone the measure is the screen, so a centred title wraps to three or four ragged lines and the eye loses the left edge it was tracking — the same symmetry that reads as composure on a desktop is what makes it hard to scan on a phone. Centring there has to be asked for twice, and a section title is not one of the things that asks: it is centred because there is room for it, and on a phone there is not. Going back to the start means all of it too, and a capped block is the one that hides a leftover: its words go to the start while its measure stays in the middle of the column, which reads as a title still centred over a badge and buttons that are not — the box in the middle and the line inside it at the edge.
149
+
150
+ A hero is a section like any other: its badge, title, copy and actions are one stacked block, so it is centred on a desktop and starts on a phone with everything else.
151
+
152
+ What this is not about is a page whose body is a form or a document. A title over a sign-up form or a guide is not introducing a set of content — it is the first line of the thing itself, and it keeps the alignment the body has, which for running text is the start. The distinction is whether the block below is content the title names or content the title is part of.
153
+ Guidance only — cannot be checked automatically.
154
+ - **Anything a pointer has to hit is at least 24px in both directions** — A control sized by its contents is as big as its contents, and a glyph is chosen for how it reads rather than for how easily it is hit. An icon-only button with no padding is a 16px target — smaller than the pad of a finger, and smaller than the tremor of a hand using a mouse.
155
+
156
+ WCAG 2.2 asks for 24 by 24 CSS pixels at AA. The exceptions are narrower than they look: inline targets inside a sentence are exempt, and so is a small target with 24px of clear space around it — but a clear button sits against the field it empties, and a field is itself a target, so the spacing exemption does not apply to the case that keeps arising.
157
+
158
+ The target and the mark are separate decisions, and conflating them is what produces both faults. Growing the glyph to 24px makes it shout; leaving the button at 16px makes it hard to hit. So the glyph keeps the size that reads correctly beside its text, and the box around it declares a minimum of its own — which is what size.target.min is for.
159
+
160
+ Declared rather than emergent. Padding plus contents does clear 24px in several components today, and it is the weaker statement: it is a size nobody wrote down, so it moves when the type scale or the glyph does, and nothing says it was meant to be a target at all.
161
+ Guidance only — cannot be checked automatically.
162
+ - **A component is written along the reading axis, not along the page's left and right** — Every measure, inset and placement in this package names an axis rather than a side: inline-size and block-size, padding-inline and padding-block, inset-inline-start and inset-block-end, margin-inline: auto, text-align: start. Written that way a component follows whichever direction the page is read in, and a band whose claim ranges to the leading edge with its subject on the trailing one is the same composition in Arabic as in English, mirrored, with nothing restated. Written as left and right it is the same pixels in both, which is a layout nobody designed for the second language.
163
+
164
+ The enum values follow the same rule and for the same reason. A prop that names where a picture sits takes start and end, never left and right — FeatureSplit, FeatureBullets and FeatureScroll all declare mediaPosition that way, and the flex directions they generate flip on their own because row already means the reading order. A value called left would have to be re-read as right by every author working in a mirrored page, which is a translation this system should be doing rather than asking for.
165
+
166
+ The guidance a contract carries is part of the component, so it follows too. Describing a claim as ranging left is describing one of the two languages, and it was written that way here for a while: three of the opening bands said so in their own intent. A reader in a mirrored page meets that sentence and has to decide whether the component is wrong or the sentence is, and neither answer is one documentation should force.
167
+
168
+ Two things genuinely have no logical form and are not covered by this. A CSS gradient takes a physical direction — there is no to inline-end — so a pattern that must mirror has to be stated twice under a direction query, and one that is periodic and centred, like PageHeader's rule grid, does not need to. A glyph that points the way onward is the other: an arrow is a picture of a direction, and mirroring it belongs to the icon set rather than to the component holding it.
169
+ Guidance only — cannot be checked automatically.
170
+
171
+ ## Anti-examples
172
+
173
+ ❌ FeatureTabs for: One claim and one picture, with nothing to list
174
+ FeatureSplit is one point beside one picture; this is versions and where each leads
175
+ → use `FeatureSplit` instead.
176
+
177
+ ❌ FeatureTabs for: Two or three plans or account types compared feature by feature
178
+ A comparison sets the versions side by side; this shows them one at a time
179
+ → use `ComparisonCards` instead.
180
+
181
+ ❌ FeatureTabs for: Showing the same section's content for a monthly or a yearly price
182
+ A TabList over the page's own content switches what the page shows; this is a section of its own
183
+ → use `TabList` instead.
184
+
185
+ ## Example
186
+
187
+ ```tsx
188
+ import { FeatureTabs, Grid, Card, CardBody, Link } from '@deriv-com/dds-marketing'
189
+
190
+ <FeatureTabs title="Explore what you can do" description="Three ways to get started, each with everything you need." labels={["Plan","Build","Review"]} footnote="Features may vary by region and device.">
191
+ <Grid columns="3" gap="gutter">
192
+ <Card variant="plain">
193
+ <CardBody title="Set your goals" description="Decide what you want to reach and by when." src="/sample-stop-blue.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/plan/goals" tone="inherit">Learn more</Link>} />
194
+ </Card>
195
+ <Card variant="plain">
196
+ <CardBody title="Compare your options" description="See what each choice could mean before you commit." src="/sample-stop-teal.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/plan/options" tone="inherit">Learn more</Link>} />
197
+ </Card>
198
+ <Card variant="plain">
199
+ <CardBody title="Know your limits" description="Set the amount you are comfortable with from the start." src="/sample-stop-purple.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/plan/limits" tone="inherit">Learn more</Link>} />
200
+ </Card>
201
+ </Grid>
202
+ <Grid columns="3" gap="gutter">
203
+ <Card variant="plain">
204
+ <CardBody title="Start small" description="Try your plan with a little before you go further." src="/sample-stop-amber.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/build/start" tone="inherit">Learn more</Link>} />
205
+ </Card>
206
+ <Card variant="plain">
207
+ <CardBody title="Watch it work" description="Tools that show you what is happening as you go." src="/sample-stop-blue.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/build/watch" tone="inherit">Learn more</Link>} />
208
+ </Card>
209
+ <Card variant="plain">
210
+ <CardBody title="Adjust as you go" description="Change course whenever the picture changes." src="/sample-stop-teal.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/build/adjust" tone="inherit">Learn more</Link>} />
211
+ </Card>
212
+ </Grid>
213
+ <Grid columns="3" gap="gutter">
214
+ <Card variant="plain">
215
+ <CardBody title="Look back" description="See what worked and what did not." src="/sample-stop-purple.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/review/history" tone="inherit">Learn more</Link>} />
216
+ </Card>
217
+ <Card variant="plain">
218
+ <CardBody title="Spot patterns" description="Find what your best results have in common." src="/sample-stop-amber.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/review/patterns" tone="inherit">Learn more</Link>} />
219
+ </Card>
220
+ <Card variant="plain">
221
+ <CardBody title="Plan the next step" description="Take what you learned into your next plan." src="/sample-stop-blue.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/review/next" tone="inherit">Learn more</Link>} />
222
+ </Card>
223
+ </Grid>
224
+ </FeatureTabs>
225
+ ```
226
+
227
+ ## In use
228
+
229
+ ### Grounds
230
+
231
+ The section on each of the page's three grounds.
232
+
233
+ ```tsx
234
+ import { Card, CardBody, FeatureTabs, Grid, Link } from '@deriv-com/dds-marketing'
235
+
236
+ // Page
237
+ <FeatureTabs title="Explore what you can do" ground="page" labels={["Plan","Build","Review"]}>
238
+ <Grid columns="3" gap="gutter">
239
+ <Card variant="plain">
240
+ <CardBody title="Set your goals" description="Decide what you want to reach and by when." src="/sample-stop-blue.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/plan/goals" tone="inherit">Learn more</Link>} />
241
+ </Card>
242
+ <Card variant="plain">
243
+ <CardBody title="Compare your options" description="See what each choice could mean before you commit." src="/sample-stop-teal.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/plan/options" tone="inherit">Learn more</Link>} />
244
+ </Card>
245
+ <Card variant="plain">
246
+ <CardBody title="Know your limits" description="Set the amount you are comfortable with from the start." src="/sample-stop-purple.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/plan/limits" tone="inherit">Learn more</Link>} />
247
+ </Card>
248
+ </Grid>
249
+ <Grid columns="3" gap="gutter">
250
+ <Card variant="plain">
251
+ <CardBody title="Start small" description="Try your plan with a little before you go further." src="/sample-stop-amber.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/build/start" tone="inherit">Learn more</Link>} />
252
+ </Card>
253
+ <Card variant="plain">
254
+ <CardBody title="Watch it work" description="Tools that show you what is happening as you go." src="/sample-stop-blue.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/build/watch" tone="inherit">Learn more</Link>} />
255
+ </Card>
256
+ <Card variant="plain">
257
+ <CardBody title="Adjust as you go" description="Change course whenever the picture changes." src="/sample-stop-teal.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/build/adjust" tone="inherit">Learn more</Link>} />
258
+ </Card>
259
+ </Grid>
260
+ <Grid columns="3" gap="gutter">
261
+ <Card variant="plain">
262
+ <CardBody title="Look back" description="See what worked and what did not." src="/sample-stop-purple.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/review/history" tone="inherit">Learn more</Link>} />
263
+ </Card>
264
+ <Card variant="plain">
265
+ <CardBody title="Spot patterns" description="Find what your best results have in common." src="/sample-stop-amber.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/review/patterns" tone="inherit">Learn more</Link>} />
266
+ </Card>
267
+ <Card variant="plain">
268
+ <CardBody title="Plan the next step" description="Take what you learned into your next plan." src="/sample-stop-blue.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/review/next" tone="inherit">Learn more</Link>} />
269
+ </Card>
270
+ </Grid>
271
+ </FeatureTabs>
272
+
273
+ // Subtle
274
+ <FeatureTabs title="Explore what you can do" ground="subtle" labels={["Plan","Build","Review"]}>
275
+ <Grid columns="3" gap="gutter">
276
+ <Card variant="plain">
277
+ <CardBody title="Set your goals" description="Decide what you want to reach and by when." src="/sample-stop-blue.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/plan/goals" tone="inherit">Learn more</Link>} />
278
+ </Card>
279
+ <Card variant="plain">
280
+ <CardBody title="Compare your options" description="See what each choice could mean before you commit." src="/sample-stop-teal.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/plan/options" tone="inherit">Learn more</Link>} />
281
+ </Card>
282
+ <Card variant="plain">
283
+ <CardBody title="Know your limits" description="Set the amount you are comfortable with from the start." src="/sample-stop-purple.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/plan/limits" tone="inherit">Learn more</Link>} />
284
+ </Card>
285
+ </Grid>
286
+ <Grid columns="3" gap="gutter">
287
+ <Card variant="plain">
288
+ <CardBody title="Start small" description="Try your plan with a little before you go further." src="/sample-stop-amber.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/build/start" tone="inherit">Learn more</Link>} />
289
+ </Card>
290
+ <Card variant="plain">
291
+ <CardBody title="Watch it work" description="Tools that show you what is happening as you go." src="/sample-stop-blue.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/build/watch" tone="inherit">Learn more</Link>} />
292
+ </Card>
293
+ <Card variant="plain">
294
+ <CardBody title="Adjust as you go" description="Change course whenever the picture changes." src="/sample-stop-teal.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/build/adjust" tone="inherit">Learn more</Link>} />
295
+ </Card>
296
+ </Grid>
297
+ <Grid columns="3" gap="gutter">
298
+ <Card variant="plain">
299
+ <CardBody title="Look back" description="See what worked and what did not." src="/sample-stop-purple.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/review/history" tone="inherit">Learn more</Link>} />
300
+ </Card>
301
+ <Card variant="plain">
302
+ <CardBody title="Spot patterns" description="Find what your best results have in common." src="/sample-stop-amber.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/review/patterns" tone="inherit">Learn more</Link>} />
303
+ </Card>
304
+ <Card variant="plain">
305
+ <CardBody title="Plan the next step" description="Take what you learned into your next plan." src="/sample-stop-blue.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/review/next" tone="inherit">Learn more</Link>} />
306
+ </Card>
307
+ </Grid>
308
+ </FeatureTabs>
309
+
310
+ // Strong
311
+ <FeatureTabs title="Explore what you can do" ground="strong" labels={["Plan","Build","Review"]} footnote="Features may vary by region and device.">
312
+ <Grid columns="3" gap="gutter">
313
+ <Card variant="plain">
314
+ <CardBody title="Set your goals" description="Decide what you want to reach and by when." src="/sample-stop-blue.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/plan/goals" tone="inherit">Learn more</Link>} />
315
+ </Card>
316
+ <Card variant="plain">
317
+ <CardBody title="Compare your options" description="See what each choice could mean before you commit." src="/sample-stop-teal.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/plan/options" tone="inherit">Learn more</Link>} />
318
+ </Card>
319
+ <Card variant="plain">
320
+ <CardBody title="Know your limits" description="Set the amount you are comfortable with from the start." src="/sample-stop-purple.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/plan/limits" tone="inherit">Learn more</Link>} />
321
+ </Card>
322
+ </Grid>
323
+ <Grid columns="3" gap="gutter">
324
+ <Card variant="plain">
325
+ <CardBody title="Start small" description="Try your plan with a little before you go further." src="/sample-stop-amber.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/build/start" tone="inherit">Learn more</Link>} />
326
+ </Card>
327
+ <Card variant="plain">
328
+ <CardBody title="Watch it work" description="Tools that show you what is happening as you go." src="/sample-stop-blue.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/build/watch" tone="inherit">Learn more</Link>} />
329
+ </Card>
330
+ <Card variant="plain">
331
+ <CardBody title="Adjust as you go" description="Change course whenever the picture changes." src="/sample-stop-teal.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/build/adjust" tone="inherit">Learn more</Link>} />
332
+ </Card>
333
+ </Grid>
334
+ <Grid columns="3" gap="gutter">
335
+ <Card variant="plain">
336
+ <CardBody title="Look back" description="See what worked and what did not." src="/sample-stop-purple.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/review/history" tone="inherit">Learn more</Link>} />
337
+ </Card>
338
+ <Card variant="plain">
339
+ <CardBody title="Spot patterns" description="Find what your best results have in common." src="/sample-stop-amber.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/review/patterns" tone="inherit">Learn more</Link>} />
340
+ </Card>
341
+ <Card variant="plain">
342
+ <CardBody title="Plan the next step" description="Take what you learned into your next plan." src="/sample-stop-blue.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/review/next" tone="inherit">Learn more</Link>} />
343
+ </Card>
344
+ </Grid>
345
+ </FeatureTabs>
346
+ ```
347
+
348
+ ### One tab
349
+
350
+ One version on its own: no strip, just the content.
351
+
352
+ ```tsx
353
+ import { Card, CardBody, FeatureTabs, Grid, Link } from '@deriv-com/dds-marketing'
354
+
355
+ // Lone tab
356
+ <FeatureTabs title="All in one place" labels={["Overview"]}>
357
+ <Grid columns="3" gap="gutter">
358
+ <Card variant="plain">
359
+ <CardBody title="Set your goals" description="Decide what you want to reach and by when." src="/sample-stop-blue.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/plan/goals" tone="inherit">Learn more</Link>} />
360
+ </Card>
361
+ <Card variant="plain">
362
+ <CardBody title="Compare your options" description="See what each choice could mean before you commit." src="/sample-stop-teal.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/plan/options" tone="inherit">Learn more</Link>} />
363
+ </Card>
364
+ <Card variant="plain">
365
+ <CardBody title="Know your limits" description="Set the amount you are comfortable with from the start." src="/sample-stop-purple.svg" alt="" mediaPosition="above" flush aspect={1.5} link={<Link href="/plan/limits" tone="inherit">Learn more</Link>} />
366
+ </Card>
367
+ </Grid>
368
+ </FeatureTabs>
369
+ ```
@@ -2,6 +2,10 @@
2
2
 
3
3
  # FilterChip
4
4
 
5
+ Turns one filter on or off, in place.
6
+
7
+ ## Why it is built this way
8
+
5
9
  A token the reader turns on and off in place, standing for one narrowing of the set shown beside it. On a marketing site that set is an index — articles, help topics, market pages, an events list — and the chips are the topics it can be cut down to. It is a button that stays where it is and reports whether it applies, which is what separates it from a control that takes the reader somewhere. Reach for one where a handful of narrowings sit above the list they narrow and any number of them may be on at once.
6
10
 
7
11
  ## Use when
@@ -142,6 +146,12 @@ What this is not about is every row of controls. A set of filter chips, a pagina
142
146
  Guidance only — cannot be checked automatically.
143
147
  - **Never nest one interactive element inside another** — Nested interactive elements produce ambiguous hit targets and an unreachable inner control for keyboard and screen-reader users. This is why the rule cannot live on any single component — it constrains Button, Link, CardButton and TextInput simultaneously.
144
148
  Guidance only — cannot be checked automatically.
149
+ - **A page has at most one patterned band, between its hero and its closing call to action** — A patterned ground — the halftone, the aurora, the mesh, the grid or the rings — is what makes a band the one a reader stops at, and it only works by being the exception. So a page has at most one, placed between its hero and its closing call to action; the hero's and the call to action's own patterns are theirs and do not count, and the band never goes on either of them.
150
+
151
+ The pattern is the band's first layer, under its content and over nothing. A block that can carry one says so with its own `background` prop — FeatureCards, Stats, TestimonialRow and LogoRows — and draws it there; a section built by hand places a Background with nothing in it as its first child. Never wrap a block in a Background: the block paints its own ground over the pattern and hides it.
152
+
153
+ Only a band whose content is stacked can carry one. Every pattern rises from the band's foot, so the band needs a heading over what it introduces, centred, with the foot left open. A band whose content runs side by side — words beside a picture, a split, columns reaching the foot — puts the glow behind the picture or under the words; it stays on its flat ground.
154
+ Guidance only — cannot be checked automatically.
145
155
  - **A section that paints a ground sets the ink to go with it** — A page sits on color.bg.page, and a section that separates itself from it takes one of three grounds. color.bg.subtle is the light one and needs nothing further — the page's own ink still reads on it. The other two are dark and do not: color.bg.brand-strong takes color.fg.on-brand-strong, and color.bg.brand takes color.fg.on-solid. Both are white, and both are written as the role rather than the white they resolve to. Set one of those backgrounds without its ink and the text inherits whatever the page was already using, which is near-black on a dark band — legible to nobody, and invisible to every check here, because each pair passes contrast on its own and nothing can tell whether a section used both.
146
156
 
147
157
  color.bg.brand carries a second limit that is not about forgetting. Its ink measures 3.39:1, which clears the 3:1 a heading needs and misses the 4.5:1 running copy needs. A coral band may carry a headline and a call to action; a paragraph on one is text the reader has to work through at a ratio the waiver on that role does not cover — the waiver says so itself. A section with copy in it takes color.bg.brand-strong, which is near-black and carries white at full contrast.
@@ -281,7 +291,7 @@ The leading glyph says what kind of narrowing this is and stays put when chosen.
281
291
 
282
292
  ```tsx
283
293
  import { Badge, FilterChip } from '@deriv-com/dds-marketing'
284
- import { ArrowUpRightRegularIcon, ChartCandlestickRegularIcon } from '@deriv-com/quill-icons-web'
294
+ import { ArrowUpRightRegularIcon, ChartCandlestickRegularIcon } from '@deriv-com/dds-marketing/icons'
285
295
 
286
296
  // A count — the fact a reader wants before pressing
287
297
  <FilterChip label="Education" content="badge" badge={<Badge label="24" variant="neutral" />} />
@@ -2,6 +2,10 @@
2
2
 
3
3
  # Footer
4
4
 
5
+ The band that closes every marketing page: brand, links, legal text.
6
+
7
+ ## Why it is built this way
8
+
5
9
  The band that closes a marketing page, and the sections every one of them is made of: whose site this is, where else it goes, what the law obliges it to say, and the line that closes it.
6
10
 
7
11
  It holds no destinations and no wording of its own. What goes in it is what the page composes — the links, the groups they fall into, the disclaimer's paragraphs — because the foot of a marketing site is written by the site, and a component that took an array of links would be a second router to keep in step with the first. What this owns is the band: the ground it paints, the measure it holds its content to, the order its sections come in, and the space between them.
@@ -169,6 +173,12 @@ What this is not about is every row of controls. A set of filter chips, a pagina
169
173
  Guidance only — cannot be checked automatically.
170
174
  - **Never nest one interactive element inside another** — Nested interactive elements produce ambiguous hit targets and an unreachable inner control for keyboard and screen-reader users. This is why the rule cannot live on any single component — it constrains Button, Link, CardButton and TextInput simultaneously.
171
175
  Guidance only — cannot be checked automatically.
176
+ - **A page has at most one patterned band, between its hero and its closing call to action** — A patterned ground — the halftone, the aurora, the mesh, the grid or the rings — is what makes a band the one a reader stops at, and it only works by being the exception. So a page has at most one, placed between its hero and its closing call to action; the hero's and the call to action's own patterns are theirs and do not count, and the band never goes on either of them.
177
+
178
+ The pattern is the band's first layer, under its content and over nothing. A block that can carry one says so with its own `background` prop — FeatureCards, Stats, TestimonialRow and LogoRows — and draws it there; a section built by hand places a Background with nothing in it as its first child. Never wrap a block in a Background: the block paints its own ground over the pattern and hides it.
179
+
180
+ Only a band whose content is stacked can carry one. Every pattern rises from the band's foot, so the band needs a heading over what it introduces, centred, with the foot left open. A band whose content runs side by side — words beside a picture, a split, columns reaching the foot — puts the glow behind the picture or under the words; it stays on its flat ground.
181
+ Guidance only — cannot be checked automatically.
172
182
  - **A section that paints a ground sets the ink to go with it** — A page sits on color.bg.page, and a section that separates itself from it takes one of three grounds. color.bg.subtle is the light one and needs nothing further — the page's own ink still reads on it. The other two are dark and do not: color.bg.brand-strong takes color.fg.on-brand-strong, and color.bg.brand takes color.fg.on-solid. Both are white, and both are written as the role rather than the white they resolve to. Set one of those backgrounds without its ink and the text inherits whatever the page was already using, which is near-black on a dark band — legible to nobody, and invisible to every check here, because each pair passes contrast on its own and nothing can tell whether a section used both.
173
183
 
174
184
  color.bg.brand carries a second limit that is not about forgetting. Its ink measures 3.39:1, which clears the 3:1 a heading needs and misses the 4.5:1 running copy needs. A coral band may carry a headline and a call to action; a paragraph on one is text the reader has to work through at a ratio the waiver on that role does not cover — the waiver says so itself. A section with copy in it takes color.bg.brand-strong, which is near-black and carries white at full contrast.
@@ -2,6 +2,10 @@
2
2
 
3
3
  # FooterGroup
4
4
 
5
+ A titled list of links in the footer.
6
+
7
+ ## Why it is built this way
8
+
5
9
  A named handful of destinations in the footer: a word over a short list. It is the footer's repeating unit and the only thing inside it that repeats — everything else in a footer appears once.
6
10
 
7
11
  It is not a column. A footer's columns hold two or three of these stacked, and which group lands in which column is the footer's business rather than the group's: Trade, Markets and Payments share one, Platforms, Promotions and Tools share the next. A group that assumed it was a column would be a group that could not be put beside another.
@@ -141,6 +145,12 @@ What this is not about is every row of controls. A set of filter chips, a pagina
141
145
  Guidance only — cannot be checked automatically.
142
146
  - **Never nest one interactive element inside another** — Nested interactive elements produce ambiguous hit targets and an unreachable inner control for keyboard and screen-reader users. This is why the rule cannot live on any single component — it constrains Button, Link, CardButton and TextInput simultaneously.
143
147
  Guidance only — cannot be checked automatically.
148
+ - **A page has at most one patterned band, between its hero and its closing call to action** — A patterned ground — the halftone, the aurora, the mesh, the grid or the rings — is what makes a band the one a reader stops at, and it only works by being the exception. So a page has at most one, placed between its hero and its closing call to action; the hero's and the call to action's own patterns are theirs and do not count, and the band never goes on either of them.
149
+
150
+ The pattern is the band's first layer, under its content and over nothing. A block that can carry one says so with its own `background` prop — FeatureCards, Stats, TestimonialRow and LogoRows — and draws it there; a section built by hand places a Background with nothing in it as its first child. Never wrap a block in a Background: the block paints its own ground over the pattern and hides it.
151
+
152
+ Only a band whose content is stacked can carry one. Every pattern rises from the band's foot, so the band needs a heading over what it introduces, centred, with the foot left open. A band whose content runs side by side — words beside a picture, a split, columns reaching the foot — puts the glow behind the picture or under the words; it stays on its flat ground.
153
+ Guidance only — cannot be checked automatically.
144
154
  - **A section that paints a ground sets the ink to go with it** — A page sits on color.bg.page, and a section that separates itself from it takes one of three grounds. color.bg.subtle is the light one and needs nothing further — the page's own ink still reads on it. The other two are dark and do not: color.bg.brand-strong takes color.fg.on-brand-strong, and color.bg.brand takes color.fg.on-solid. Both are white, and both are written as the role rather than the white they resolve to. Set one of those backgrounds without its ink and the text inherits whatever the page was already using, which is near-black on a dark band — legible to nobody, and invisible to every check here, because each pair passes contrast on its own and nothing can tell whether a section used both.
145
155
 
146
156
  color.bg.brand carries a second limit that is not about forgetting. Its ink measures 3.39:1, which clears the 3:1 a heading needs and misses the 4.5:1 running copy needs. A coral band may carry a headline and a call to action; a paragraph on one is text the reader has to work through at a ratio the waiver on that role does not cover — the waiver says so itself. A section with copy in it takes color.bg.brand-strong, which is near-black and carries white at full contrast.
@@ -2,6 +2,10 @@
2
2
 
3
3
  # Grid
4
4
 
5
+ Lays items out in equal columns with consistent spacing.
6
+
7
+ ## Why it is built this way
8
+
5
9
  A field of equal tracks, and one measure between them. It draws nothing — no ground, no edge, no padding — and owns one decision: how many things sit across, and how narrow a track may get before one of them drops.
6
10
 
7
11
  It is the third answer to several things that will not fit on a line. A row squashes them, a wrapped row lets them fall where they fall, and this puts them in columns that agree — every cell the same width as the cell above it, every row starting at the same place. That agreement is the whole of what it offers and the only reason to reach for it over a wrapped Row.
@@ -50,7 +54,7 @@ Apply these classes from the generated `gridParts` constant rather than writing
50
54
 
51
55
  ## Props
52
56
 
53
- ### gap — `none` | `xs` | `sm` | `md` | `lg` | `xl` | `2xl` | `3xl` (default `lg`)
57
+ ### gap — `none` | `xs` | `sm` | `md` | `lg` | `xl` | `2xl` | `3xl` | `gutter` (default `lg`)
54
58
 
55
59
  - `none` — No gap at all, for a field whose cells are meant to read as one object rather than as a set. The only step here that is a decision rather than a measure
56
60
  - `xs` — The tightest gap between related elements, for a field read as one texture rather than as separate cells
@@ -60,6 +64,7 @@ Apply these classes from the generated `gridParts` constant rather than writing
60
64
  - `xl` — Between the parts of a card, taken as a field — cells that each hold a picture as well as words. Drops one step below 768px, a phone having a third of the width to spend
61
65
  - `2xl` — Between one section of a page and the next, laid out as a field. Drops one step below 768px, a phone having a third of the width to spend
62
66
  - `3xl` — The largest gap, for separating whole movements of a page laid out as a field. Drops one step below 768px, a phone having a third of the width to spend
67
+ - `gutter` — A row of cards — the gutter every card block (FeatureCards, ComparisonCards, Tiers, TeamGrid) sets between its cards, so a grid of cards composed on a page stands as those do. Narrower on a phone, as theirs is
63
68
 
64
69
  Use when: The measure between cells, in both directions. One value rather than two, because a field whose rows and columns are differently spaced reads as rows first and stops being a grid
65
70
  Never for: Reaching a cell width. The gap and the column count together decide how wide a cell lands, but the gap is a relationship between cells and not a way of sizing one. A cell that needs a particular width is a track floor, and past that it is a component with a size
@@ -134,6 +139,12 @@ What this is not about is every row of controls. A set of filter chips, a pagina
134
139
  Guidance only — cannot be checked automatically.
135
140
  - **Never nest one interactive element inside another** — Nested interactive elements produce ambiguous hit targets and an unreachable inner control for keyboard and screen-reader users. This is why the rule cannot live on any single component — it constrains Button, Link, CardButton and TextInput simultaneously.
136
141
  Guidance only — cannot be checked automatically.
142
+ - **A page has at most one patterned band, between its hero and its closing call to action** — A patterned ground — the halftone, the aurora, the mesh, the grid or the rings — is what makes a band the one a reader stops at, and it only works by being the exception. So a page has at most one, placed between its hero and its closing call to action; the hero's and the call to action's own patterns are theirs and do not count, and the band never goes on either of them.
143
+
144
+ The pattern is the band's first layer, under its content and over nothing. A block that can carry one says so with its own `background` prop — FeatureCards, Stats, TestimonialRow and LogoRows — and draws it there; a section built by hand places a Background with nothing in it as its first child. Never wrap a block in a Background: the block paints its own ground over the pattern and hides it.
145
+
146
+ Only a band whose content is stacked can carry one. Every pattern rises from the band's foot, so the band needs a heading over what it introduces, centred, with the foot left open. A band whose content runs side by side — words beside a picture, a split, columns reaching the foot — puts the glow behind the picture or under the words; it stays on its flat ground.
147
+ Guidance only — cannot be checked automatically.
137
148
  - **A section that paints a ground sets the ink to go with it** — A page sits on color.bg.page, and a section that separates itself from it takes one of three grounds. color.bg.subtle is the light one and needs nothing further — the page's own ink still reads on it. The other two are dark and do not: color.bg.brand-strong takes color.fg.on-brand-strong, and color.bg.brand takes color.fg.on-solid. Both are white, and both are written as the role rather than the white they resolve to. Set one of those backgrounds without its ink and the text inherits whatever the page was already using, which is near-black on a dark band — legible to nobody, and invisible to every check here, because each pair passes contrast on its own and nothing can tell whether a section used both.
138
149
 
139
150
  color.bg.brand carries a second limit that is not about forgetting. Its ink measures 3.39:1, which clears the 3:1 a heading needs and misses the 4.5:1 running copy needs. A coral band may carry a headline and a call to action; a paragraph on one is text the reader has to work through at a ratio the waiver on that role does not cover — the waiver says so itself. A section with copy in it takes color.bg.brand-strong, which is near-black and carries white at full contrast.
@@ -604,6 +615,28 @@ import { Card, CardBody, Grid } from '@deriv-com/dds-marketing'
604
615
  <CardBody title="Trade on any device" description="One account across web, desktop and mobile." />
605
616
  </Card>
606
617
  </Grid>
618
+
619
+ // gutter — a row of cards
620
+ <Grid gap="gutter" columns="3">
621
+ <Card>
622
+ <CardBody title="Regulated globally" description="Licensed in six jurisdictions, with oversight in each." />
623
+ </Card>
624
+ <Card>
625
+ <CardBody title="Funds held separately" description="Client money sits in segregated accounts." />
626
+ </Card>
627
+ <Card>
628
+ <CardBody title="Withdraw any day" description="No lock-in and no waiting period." />
629
+ </Card>
630
+ <Card>
631
+ <CardBody title="Support in 12 languages" description="A person, not a script, around the clock." />
632
+ </Card>
633
+ <Card>
634
+ <CardBody title="No minimum deposit" description="Start with whatever you are comfortable with." />
635
+ </Card>
636
+ <Card>
637
+ <CardBody title="Trade on any device" description="One account across web, desktop and mobile." />
638
+ </Card>
639
+ </Grid>
607
640
  ```
608
641
 
609
642
  ### How cells of different heights meet