@ably/ui 13.3.0 → 14.0.0-dev.58ef698

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 (407) hide show
  1. package/README.md +25 -152
  2. package/core/.DS_Store +0 -0
  3. package/core/Accordion/component.js +1 -0
  4. package/core/Code/component.css +1 -72
  5. package/core/Code/component.js +1 -1
  6. package/core/ConnectStateWrapper/component.js +1 -1
  7. package/core/ContactFooter/component.css +7 -10
  8. package/core/ContactFooter/component.js +1 -1
  9. package/core/CookieMessage/component.css +10 -13
  10. package/core/CookieMessage/component.js +1 -1
  11. package/core/CustomerLogos/component.js +1 -1
  12. package/core/DropdownMenu/component.js +1 -1
  13. package/core/FeaturedLink/component.js +1 -1
  14. package/core/Flash/component.css +19 -22
  15. package/core/Flash/component.js +1 -1
  16. package/core/Footer/component.css +22 -25
  17. package/core/Footer/component.js +1 -1
  18. package/core/Icon/component.js +1 -1
  19. package/core/Loader/component.js +1 -1
  20. package/core/Logo/component.js +1 -1
  21. package/core/Meganav/.DS_Store +0 -0
  22. package/core/Meganav/component.css +103 -106
  23. package/core/Meganav/component.js +1 -1
  24. package/core/MeganavBlogPostsList/component.js +1 -2
  25. package/core/MeganavContentCompany/component.js +1 -1
  26. package/core/MeganavContentDevelopers/component.js +1 -1
  27. package/core/MeganavContentProducts/component.js +1 -1
  28. package/core/MeganavContentUseCases/component.js +1 -1
  29. package/core/MeganavControl/component.js +1 -1
  30. package/core/MeganavControlMobileDropdown/component.js +1 -1
  31. package/core/MeganavControlMobilePanelClose/component.js +1 -1
  32. package/core/MeganavControlMobilePanelOpen/component.js +1 -1
  33. package/core/MeganavItemsDesktop/component.js +1 -1
  34. package/core/MeganavItemsMobile/component.js +1 -1
  35. package/core/MeganavItemsSignedIn/component.js +1 -1
  36. package/core/MeganavSearch/component.js +1 -1
  37. package/core/MeganavSearchAutocomplete/component.js +1 -1
  38. package/core/MeganavSearchPanel/component.js +1 -1
  39. package/core/MeganavSearchSuggestions/component.js +1 -1
  40. package/core/Notice/component.css +4 -7
  41. package/core/Notice/component.js +1 -1
  42. package/core/SignOutLink/component.js +1 -1
  43. package/core/Slider/component.css +4 -7
  44. package/core/Slider/component.js +1 -1
  45. package/core/Table/Table.js +1 -0
  46. package/core/Table/TableCell.js +1 -0
  47. package/core/Table/TableRow.js +1 -0
  48. package/core/Table/index.js +1 -0
  49. package/core/Table/stories/data.js +1 -0
  50. package/core/Tooltip/component.js +1 -0
  51. package/core/css.js +1 -0
  52. package/core/dom-query.js +1 -0
  53. package/core/hubspot-chat-toggle.js +1 -0
  54. package/core/icons/discord.svg +10 -0
  55. package/core/icons/facebook.svg +4 -0
  56. package/core/icons/github.svg +3 -0
  57. package/core/icons/glassdoor.svg +3 -0
  58. package/core/icons/google.svg +3 -0
  59. package/core/icons/icon-display-48hrs.svg +3 -0
  60. package/core/icons/icon-display-about-ably-col.svg +4 -0
  61. package/core/icons/icon-display-api-keys.svg +3 -0
  62. package/core/icons/icon-display-api.svg +3 -0
  63. package/core/icons/icon-display-asset-tracking-col.svg +18 -0
  64. package/core/icons/icon-display-browser.svg +10 -0
  65. package/core/icons/icon-display-calendar.svg +3 -0
  66. package/core/icons/icon-display-call-mobile.svg +3 -0
  67. package/core/icons/icon-display-careers-col.svg +9 -0
  68. package/core/icons/icon-display-case-studies-col.svg +5 -0
  69. package/core/icons/icon-display-chat-col.svg +4 -0
  70. package/core/icons/icon-display-chat-stack-col.svg +4 -0
  71. package/core/icons/icon-display-chat-stack.svg +4 -0
  72. package/core/icons/icon-display-cloud-servers.svg +3 -0
  73. package/core/icons/icon-display-compare-tech-col.svg +9 -0
  74. package/core/icons/icon-display-customers-col.svg +15 -0
  75. package/core/icons/icon-display-data-broadcast-col.svg +26 -0
  76. package/core/icons/icon-display-data-synchronization-col.svg +14 -0
  77. package/core/icons/icon-display-docs-col.svg +7 -0
  78. package/core/icons/icon-display-documentation.svg +3 -0
  79. package/core/icons/icon-display-events-col.svg +13 -0
  80. package/core/icons/icon-display-examples-col.svg +11 -0
  81. package/core/icons/icon-display-gdpr.svg +3 -0
  82. package/core/icons/icon-display-general-comms.svg +3 -0
  83. package/core/icons/icon-display-hipaa.svg +10 -0
  84. package/core/icons/icon-display-integrations-col.svg +8 -0
  85. package/core/icons/icon-display-it-support-access.svg +3 -0
  86. package/core/icons/icon-display-it-support-helpdesk.svg +3 -0
  87. package/core/icons/icon-display-kafka-at-the-edge-col.svg +8 -0
  88. package/core/icons/icon-display-laptop.svg +10 -0
  89. package/core/icons/icon-display-lightbulb-col.svg +10 -0
  90. package/core/icons/icon-display-live-chat.svg +3 -0
  91. package/core/icons/icon-display-map-pin.svg +3 -0
  92. package/core/icons/icon-display-message.svg +3 -0
  93. package/core/icons/icon-display-padlock-closed.svg +3 -0
  94. package/core/icons/icon-display-platform.svg +22 -0
  95. package/core/icons/icon-display-play.svg +3 -0
  96. package/core/icons/icon-display-privacy-shield-framework.svg +7 -0
  97. package/core/icons/icon-display-push-notifications-col.svg +6 -0
  98. package/core/icons/icon-display-quickstart-guides-col.svg +8 -0
  99. package/core/icons/icon-display-resources-col.svg +21 -0
  100. package/core/icons/icon-display-sdks-col.svg +11 -0
  101. package/core/icons/icon-display-servers.svg +3 -0
  102. package/core/icons/icon-display-shopping-cart.svg +10 -0
  103. package/core/icons/icon-display-sla.svg +3 -0
  104. package/core/icons/icon-display-soc2-type2.svg +3 -0
  105. package/core/icons/icon-display-tech-account-comms.svg +3 -0
  106. package/core/icons/icon-display-tutorials-demos-col.svg +25 -0
  107. package/core/icons/icon-display-virtual-events-col.svg +12 -0
  108. package/core/icons/icon-display-virtual-events.svg +12 -0
  109. package/core/icons/icon-gui-ably-badge.svg +3 -0
  110. package/core/icons/icon-gui-arrow-bidirectional-horizontal.svg +3 -0
  111. package/core/icons/icon-gui-arrow-bidirectional-vertical.svg +3 -0
  112. package/core/icons/icon-gui-arrow-down.svg +3 -0
  113. package/core/icons/icon-gui-arrow-left.svg +3 -0
  114. package/core/icons/icon-gui-arrow-right.svg +3 -0
  115. package/core/icons/icon-gui-arrow-up.svg +3 -0
  116. package/core/icons/icon-gui-burger-menu.svg +5 -0
  117. package/core/icons/icon-gui-check-circled-fill-black.svg +4 -0
  118. package/core/icons/icon-gui-check-circled-fill.svg +4 -0
  119. package/core/icons/icon-gui-check-circled.svg +3 -0
  120. package/core/icons/icon-gui-checklist-checked.svg +3 -0
  121. package/core/icons/icon-gui-clock.svg +3 -0
  122. package/core/icons/icon-gui-close.svg +3 -0
  123. package/core/icons/icon-gui-copy.svg +10 -0
  124. package/core/icons/icon-gui-cross-circled-fill.svg +4 -0
  125. package/core/icons/icon-gui-cross-circled.svg +3 -0
  126. package/core/icons/icon-gui-dash-circled.svg +3 -0
  127. package/core/icons/icon-gui-disclosure-arrow.svg +3 -0
  128. package/core/icons/icon-gui-document-generic.svg +3 -0
  129. package/core/icons/icon-gui-enlarge.svg +3 -0
  130. package/core/icons/icon-gui-external-link.svg +3 -0
  131. package/core/icons/icon-gui-filter-flow-step-1.svg +5 -0
  132. package/core/icons/icon-gui-filter-flow-step-2.svg +5 -0
  133. package/core/icons/icon-gui-filter-flow-step-3.svg +5 -0
  134. package/core/icons/icon-gui-history.svg +3 -0
  135. package/core/icons/icon-gui-info.svg +3 -0
  136. package/core/icons/icon-gui-link-arrow.svg +3 -0
  137. package/core/icons/icon-gui-link.svg +4 -0
  138. package/core/icons/icon-gui-live-chat.svg +3 -0
  139. package/core/icons/icon-gui-minus.svg +3 -0
  140. package/core/icons/icon-gui-plus.svg +3 -0
  141. package/core/icons/icon-gui-quote-marks-solid.svg +3 -0
  142. package/core/icons/icon-gui-refresh.svg +10 -0
  143. package/core/icons/icon-gui-resources.svg +3 -0
  144. package/core/icons/icon-gui-search.svg +3 -0
  145. package/core/icons/icon-gui-tick.svg +3 -0
  146. package/core/icons/icon-gui-warning.svg +5 -0
  147. package/core/icons/icon-live-updates-results-metrics-col.svg +26 -0
  148. package/core/icons/icon-multi-user-spaces-col.svg +13 -0
  149. package/core/icons/icon-social-x.svg +3 -0
  150. package/core/icons/icon-tech-apachekafka.svg +3 -0
  151. package/core/icons/linkedin.svg +3 -0
  152. package/core/icons/quote.svg +3 -0
  153. package/core/icons/stackoverflow.svg +3 -0
  154. package/core/icons/twitter.svg +3 -0
  155. package/core/icons/youtube.svg +11 -0
  156. package/core/icons.js +1 -0
  157. package/core/load-sprites.js +1 -0
  158. package/core/react-renderer.js +1 -0
  159. package/core/remote-blogs-posts.js +1 -0
  160. package/core/remote-data-store.js +1 -0
  161. package/core/remote-data-util.js +1 -0
  162. package/core/remote-session-data.js +1 -0
  163. package/core/scripts.js +1 -2
  164. package/core/sprites.svg +1 -525
  165. package/core/styles/buttons.css +122 -0
  166. package/core/styles/forms.css +62 -0
  167. package/core/styles/layout.css +19 -0
  168. package/core/styles/properties.css +276 -0
  169. package/core/styles/text.css +166 -0
  170. package/core/styles.base.css +1 -0
  171. package/core/styles.components.css +33 -0
  172. package/core/styles.css +2 -699
  173. package/core/url-base.js +1 -0
  174. package/core/utils/syntax-highlighter-registry.js +1 -0
  175. package/core/utils/syntax-highlighter.css +67 -0
  176. package/core/utils/syntax-highlighter.js +1 -0
  177. package/package.json +39 -34
  178. package/reset/scripts.js +1 -1
  179. package/reset/styles/normalize.css +353 -0
  180. package/reset/styles/reset.css +129 -0
  181. package/reset/styles.css +2 -477
  182. package/src/.DS_Store +0 -0
  183. package/src/core/.DS_Store +0 -0
  184. package/src/core/Accordion/Accordion.stories.tsx +39 -0
  185. package/src/core/Accordion/component.tsx +147 -0
  186. package/src/core/Code/Code.stories.tsx +71 -0
  187. package/src/core/Code/component.tsx +45 -0
  188. package/src/core/ConnectStateWrapper/{component.jsx → component.tsx} +7 -3
  189. package/src/core/ContactFooter/ContactFooter.stories.tsx +11 -0
  190. package/src/core/ContactFooter/component.css +7 -9
  191. package/src/core/ContactFooter/component.tsx +92 -0
  192. package/src/core/CookieMessage/CookieMessage.stories.tsx +12 -0
  193. package/src/core/CookieMessage/component.css +10 -12
  194. package/src/core/CookieMessage/{component.jsx → component.tsx} +15 -10
  195. package/src/core/CustomerLogos/CustomerLogos.stories.tsx +43 -0
  196. package/src/core/CustomerLogos/component.tsx +35 -0
  197. package/src/core/DropdownMenu/DropdownMenu.stories.tsx +48 -0
  198. package/src/core/DropdownMenu/{component.jsx → component.tsx} +64 -36
  199. package/src/core/FeaturedLink/FeaturedLink.stories.tsx +43 -0
  200. package/src/core/FeaturedLink/{component.jsx → component.tsx} +26 -18
  201. package/src/core/Flash/Flash.stories.tsx +37 -0
  202. package/src/core/Flash/component.css +19 -21
  203. package/src/core/Flash/{component.jsx → component.tsx} +78 -39
  204. package/src/core/Footer/Footer.stories.tsx +26 -0
  205. package/src/core/Footer/component.css +22 -24
  206. package/src/core/Footer/{component.jsx → component.tsx} +237 -70
  207. package/src/core/Icon/Icon.stories.tsx +150 -0
  208. package/src/core/Icon/component.tsx +26 -0
  209. package/src/core/Loader/Loader.stories.tsx +21 -0
  210. package/src/core/Loader/{component.jsx → component.tsx} +11 -8
  211. package/src/core/Logo/Logo.stories.tsx +12 -0
  212. package/src/core/Logo/component.tsx +29 -0
  213. package/src/core/Meganav/.DS_Store +0 -0
  214. package/src/core/Meganav/Meganav.stories.tsx +86 -0
  215. package/src/core/Meganav/component.css +103 -105
  216. package/src/core/Meganav/component.js +6 -7
  217. package/src/core/Meganav/component.tsx +228 -0
  218. package/src/core/MeganavBlogPostsList/{component.jsx → component.tsx} +15 -14
  219. package/src/core/MeganavContentCompany/{component.jsx → component.tsx} +82 -33
  220. package/src/core/MeganavContentDevelopers/{component.jsx → component.tsx} +98 -34
  221. package/src/core/MeganavContentProducts/component.tsx +165 -0
  222. package/src/core/MeganavContentUseCases/component.tsx +244 -0
  223. package/src/core/MeganavControl/{component.jsx → component.tsx} +18 -12
  224. package/src/core/MeganavControlMobileDropdown/{component.jsx → component.tsx} +3 -7
  225. package/src/core/MeganavControlMobilePanelClose/{component.jsx → component.tsx} +16 -9
  226. package/src/core/MeganavControlMobilePanelOpen/component.tsx +32 -0
  227. package/src/core/MeganavItemsDesktop/component.tsx +68 -0
  228. package/src/core/MeganavItemsMobile/component.tsx +197 -0
  229. package/src/core/MeganavItemsSignedIn/{component.jsx → component.tsx} +59 -23
  230. package/src/core/MeganavSearch/component.tsx +36 -0
  231. package/src/core/MeganavSearchAutocomplete/component.tsx +12 -0
  232. package/src/core/MeganavSearchPanel/component.tsx +52 -0
  233. package/src/core/MeganavSearchSuggestions/component.tsx +62 -0
  234. package/src/core/Notice/component.css +4 -6
  235. package/src/core/Notice/component.js +1 -1
  236. package/src/core/Notice/component.tsx +104 -0
  237. package/src/core/SignOutLink/component.tsx +51 -0
  238. package/src/core/Slider/Slider.stories.tsx +45 -0
  239. package/src/core/Slider/component.css +4 -6
  240. package/src/core/Slider/component.tsx +112 -0
  241. package/src/core/Table/Table.tsx +30 -0
  242. package/src/core/Table/TableCell.tsx +84 -0
  243. package/src/core/Table/TableRow.tsx +25 -0
  244. package/src/core/Table/index.ts +24 -0
  245. package/src/core/Table/stories/Table.stories.tsx +12 -0
  246. package/src/core/Table/stories/data.tsx +113 -0
  247. package/src/core/Tooltip/Tooltip.stories.tsx +27 -0
  248. package/src/core/Tooltip/component.tsx +60 -0
  249. package/src/core/icons.js +6 -0
  250. package/src/core/{react-renderer.js → react-renderer.tsx} +9 -7
  251. package/src/core/styles/buttons.css +121 -123
  252. package/src/core/styles/forms.css +49 -51
  253. package/src/core/styles/layout.css +14 -16
  254. package/src/core/styles/properties.css +250 -259
  255. package/src/core/styles/text.css +165 -167
  256. package/src/core/styles.components.css +22 -24
  257. package/src/core/utils/syntax-highlighter.css +55 -59
  258. package/src/pages/Buttons.mdx +121 -0
  259. package/src/pages/Chips.mdx +136 -0
  260. package/src/pages/Colour.mdx +23 -0
  261. package/src/pages/Forms.mdx +173 -0
  262. package/src/pages/Layout.mdx +58 -0
  263. package/src/pages/Typography.mdx +206 -0
  264. package/src/pages/utils.ts +70 -0
  265. package/tailwind.config.js +1 -7
  266. package/tailwind.extend.js +1 -1
  267. package/core/.gitignore +0 -1
  268. package/core/Code.jsx +0 -684
  269. package/core/CompanyAutocomplete/component.css +0 -46
  270. package/core/CompanyAutocomplete/component.js +0 -2
  271. package/core/CompanyAutocomplete/component.js.LICENSE.txt +0 -1
  272. package/core/ConnectStateWrapper.jsx +0 -222
  273. package/core/ContactFooter.jsx +0 -342
  274. package/core/CookieMessage.jsx +0 -204
  275. package/core/CustomerLogos.jsx +0 -144
  276. package/core/DropdownMenu.jsx +0 -313
  277. package/core/FeatureFooter/component.css +0 -13
  278. package/core/FeatureFooter/component.js +0 -1
  279. package/core/FeaturedLink.jsx +0 -241
  280. package/core/Flash.jsx +0 -622
  281. package/core/Footer.jsx +0 -587
  282. package/core/Icon.jsx +0 -152
  283. package/core/Loader.jsx +0 -154
  284. package/core/Logo.jsx +0 -147
  285. package/core/Meganav.jsx +0 -4151
  286. package/core/MeganavBlogPostsList/component.js.LICENSE.txt +0 -1
  287. package/core/MeganavBlogPostsList.jsx +0 -296
  288. package/core/MeganavContentCompany.jsx +0 -1058
  289. package/core/MeganavContentDevelopers.jsx +0 -334
  290. package/core/MeganavContentProducts.jsx +0 -373
  291. package/core/MeganavContentUseCases.jsx +0 -341
  292. package/core/MeganavControl.jsx +0 -199
  293. package/core/MeganavControlMobileDropdown.jsx +0 -197
  294. package/core/MeganavControlMobilePanelClose.jsx +0 -198
  295. package/core/MeganavControlMobilePanelOpen.jsx +0 -193
  296. package/core/MeganavItemsDesktop.jsx +0 -279
  297. package/core/MeganavItemsMobile.jsx +0 -689
  298. package/core/MeganavItemsSignedIn.jsx +0 -643
  299. package/core/MeganavSearch.jsx +0 -434
  300. package/core/MeganavSearchAutocomplete.jsx +0 -117
  301. package/core/MeganavSearchPanel.jsx +0 -386
  302. package/core/MeganavSearchSuggestions.jsx +0 -299
  303. package/core/Notice.jsx +0 -914
  304. package/core/Showcase/component.css +0 -31
  305. package/core/Showcase/component.js +0 -1
  306. package/core/Showcase.jsx +0 -17
  307. package/core/SignOutLink.jsx +0 -157
  308. package/core/Slider.jsx +0 -400
  309. package/core/Uptime/component.css +0 -128
  310. package/core/Uptime/component.js +0 -1
  311. package/core/Uptime.jsx +0 -895
  312. package/core/scripts.js.LICENSE.txt +0 -1
  313. package/preview/tmp/.keep +0 -0
  314. package/preview/tmp/pids/.keep +0 -0
  315. package/reset/.gitignore +0 -1
  316. package/src/core/Code/component.html.erb +0 -3
  317. package/src/core/Code/component.jsx +0 -31
  318. package/src/core/Code/component.rb +0 -12
  319. package/src/core/CompanyAutocomplete/component.css +0 -45
  320. package/src/core/CompanyAutocomplete/component.js +0 -204
  321. package/src/core/ContactFooter/component.html.erb +0 -32
  322. package/src/core/ContactFooter/component.jsx +0 -66
  323. package/src/core/ContactFooter/component.rb +0 -13
  324. package/src/core/CustomerLogos/component.html.erb +0 -9
  325. package/src/core/CustomerLogos/component.jsx +0 -28
  326. package/src/core/CustomerLogos/component.rb +0 -14
  327. package/src/core/FeatureFooter/component.css +0 -12
  328. package/src/core/FeatureFooter/component.html.erb +0 -54
  329. package/src/core/FeatureFooter/component.js +0 -7
  330. package/src/core/FeatureFooter/component.rb +0 -30
  331. package/src/core/FeaturedLink/component.html.erb +0 -15
  332. package/src/core/FeaturedLink/component.rb +0 -21
  333. package/src/core/Footer/component.html.erb +0 -256
  334. package/src/core/Footer/component.rb +0 -14
  335. package/src/core/Icon/component.html.erb +0 -3
  336. package/src/core/Icon/component.jsx +0 -19
  337. package/src/core/Icon/component.rb +0 -25
  338. package/src/core/Loader/component.html.erb +0 -18
  339. package/src/core/Loader/component.rb +0 -19
  340. package/src/core/Logo/component.html.erb +0 -3
  341. package/src/core/Logo/component.jsx +0 -20
  342. package/src/core/Logo/component.rb +0 -31
  343. package/src/core/Meganav/component.html.erb +0 -31
  344. package/src/core/Meganav/component.jsx +0 -123
  345. package/src/core/Meganav/component.rb +0 -60
  346. package/src/core/MeganavBlogPostsList/component.html.erb +0 -5
  347. package/src/core/MeganavBlogPostsList/component.rb +0 -13
  348. package/src/core/MeganavContentCompany/component.html.erb +0 -90
  349. package/src/core/MeganavContentCompany/component.rb +0 -14
  350. package/src/core/MeganavContentDevelopers/component.html.erb +0 -129
  351. package/src/core/MeganavContentDevelopers/component.rb +0 -13
  352. package/src/core/MeganavContentProducts/component.html.erb +0 -83
  353. package/src/core/MeganavContentProducts/component.jsx +0 -105
  354. package/src/core/MeganavContentProducts/component.rb +0 -14
  355. package/src/core/MeganavContentUseCases/component.html.erb +0 -135
  356. package/src/core/MeganavContentUseCases/component.jsx +0 -147
  357. package/src/core/MeganavContentUseCases/component.rb +0 -13
  358. package/src/core/MeganavControl/component.html.erb +0 -6
  359. package/src/core/MeganavControl/component.rb +0 -20
  360. package/src/core/MeganavControlMobileDropdown/component.html.erb +0 -7
  361. package/src/core/MeganavControlMobileDropdown/component.rb +0 -11
  362. package/src/core/MeganavControlMobilePanelClose/component.html.erb +0 -12
  363. package/src/core/MeganavControlMobilePanelClose/component.rb +0 -12
  364. package/src/core/MeganavControlMobilePanelOpen/component.html.erb +0 -7
  365. package/src/core/MeganavControlMobilePanelOpen/component.jsx +0 -25
  366. package/src/core/MeganavControlMobilePanelOpen/component.rb +0 -9
  367. package/src/core/MeganavItemsDesktop/component.html.erb +0 -17
  368. package/src/core/MeganavItemsDesktop/component.jsx +0 -49
  369. package/src/core/MeganavItemsDesktop/component.rb +0 -23
  370. package/src/core/MeganavItemsMobile/component.html.erb +0 -75
  371. package/src/core/MeganavItemsMobile/component.jsx +0 -137
  372. package/src/core/MeganavItemsMobile/component.rb +0 -21
  373. package/src/core/MeganavItemsSignedIn/component.html.erb +0 -53
  374. package/src/core/MeganavItemsSignedIn/component.rb +0 -33
  375. package/src/core/MeganavSearch/component.html.erb +0 -15
  376. package/src/core/MeganavSearch/component.jsx +0 -33
  377. package/src/core/MeganavSearch/component.rb +0 -13
  378. package/src/core/MeganavSearchAutocomplete/component.html.erb +0 -6
  379. package/src/core/MeganavSearchAutocomplete/component.jsx +0 -14
  380. package/src/core/MeganavSearchAutocomplete/component.rb +0 -6
  381. package/src/core/MeganavSearchPanel/component.html.erb +0 -22
  382. package/src/core/MeganavSearchPanel/component.jsx +0 -39
  383. package/src/core/MeganavSearchPanel/component.rb +0 -13
  384. package/src/core/MeganavSearchSuggestions/component.html.erb +0 -22
  385. package/src/core/MeganavSearchSuggestions/component.jsx +0 -49
  386. package/src/core/MeganavSearchSuggestions/component.rb +0 -18
  387. package/src/core/Notice/component.html.erb +0 -16
  388. package/src/core/Notice/component.jsx +0 -71
  389. package/src/core/Notice/component.rb +0 -29
  390. package/src/core/Showcase/component.css +0 -30
  391. package/src/core/Showcase/component.html.erb +0 -76
  392. package/src/core/Showcase/component.js +0 -180
  393. package/src/core/Showcase/component.jsx +0 -0
  394. package/src/core/Showcase/component.rb +0 -190
  395. package/src/core/SignOutLink/component.html.erb +0 -1
  396. package/src/core/SignOutLink/component.jsx +0 -32
  397. package/src/core/SignOutLink/component.rb +0 -17
  398. package/src/core/Slider/component.html.erb +0 -28
  399. package/src/core/Slider/component.jsx +0 -86
  400. package/src/core/Slider/component.rb +0 -38
  401. package/src/core/Uptime/component.css +0 -127
  402. package/src/core/Uptime/component.html.erb +0 -0
  403. package/src/core/Uptime/component.js +0 -1
  404. package/src/core/Uptime/component.jsx +0 -183
  405. package/src/core/Uptime/component.rb +0 -7
  406. package/src/core/core.rb +0 -81
  407. /package/{preview/log/.keep → src/core/Accordion/component.js} +0 -0
@@ -0,0 +1,136 @@
1
+ import { Meta, Unstyled } from "@storybook/blocks";
2
+ import Icon from "../core/Icon/component.tsx";
3
+
4
+ <Meta title="Brand/Chips" />
5
+
6
+ <Unstyled>
7
+ <h1 className="ui-text-h1 mb-32">Chips</h1>
8
+ <p className="ui-text-p1 mb-32">
9
+ Different size chips can be achieved by using padding and text utilities,
10
+ see examples below.
11
+ </p>
12
+ <div>
13
+ <div className="inline-block mr-16">
14
+ <h3 className="ui-text-h3 mb-24">On light background</h3>
15
+ <div className="mb-40 p-12 border rounded inline-block">
16
+ <div className="mb-12 mr-16 flex flex-wrap items-start gap-12">
17
+ <button type="button" className="ui-chip p-chip-xsmall">
18
+ Default
19
+ </button>
20
+ <button type="button" className="ui-chip p-chip-xsmall" data-selected>
21
+ Selected
22
+ </button>
23
+ <button type="button" className="ui-chip p-chip-xsmall" disabled>
24
+ Unavailable
25
+ </button>
26
+ </div>
27
+ <div className="mb-12 mr-16 flex flex-wrap items-start gap-12">
28
+ <button type="button" className="ui-chip p-chip-small">
29
+ Default
30
+ </button>
31
+ <button type="button" className="ui-chip p-chip-small" data-selected>
32
+ Selected
33
+ </button>
34
+ <button type="button" className="ui-chip p-chip-small" disabled>
35
+ Unavailable
36
+ </button>
37
+ </div>
38
+ <div className="mb-12 mr-16 flex flex-wrap items-start gap-12">
39
+ <button type="button" className="ui-chip">
40
+ Default
41
+ </button>
42
+ <button type="button" className="ui-chip" data-selected>
43
+ Selected
44
+ </button>
45
+ <button type="button" className="ui-chip" disabled>
46
+ Unavailable
47
+ </button>
48
+ </div>
49
+ <div className="flex flex-wrap items-start gap-12">
50
+ <button type="button" className="ui-chip p-chip-large text-btn-2">
51
+ Default
52
+ </button>
53
+ <button
54
+ type="button"
55
+ className="ui-chip p-chip-large text-btn-2"
56
+ data-selected
57
+ >
58
+ Selected
59
+ </button>
60
+ <button
61
+ type="button"
62
+ className="ui-chip p-chip-large text-btn-2"
63
+ disabled
64
+ >
65
+ Unavailable
66
+ </button>
67
+ </div>
68
+ </div>
69
+ </div>
70
+ <div className="inline-block">
71
+ <h3 className="ui-text-h3 mb-24">On dark background</h3>
72
+ <div className="bg-cool-black mb-40 p-12 border rounded inline-block">
73
+ <div className="mb-12 mr-16 flex flex-wrap items-start gap-12">
74
+ <button type="button" className="ui-chip-alt p-chip-xsmall">
75
+ Default
76
+ </button>
77
+ <button
78
+ type="button"
79
+ className="ui-chip-alt p-chip-xsmall"
80
+ data-selected
81
+ >
82
+ Selected
83
+ </button>
84
+ <button type="button" className="ui-chip-alt p-chip-xsmall" disabled>
85
+ Unavailable
86
+ </button>
87
+ </div>
88
+ <div className="mb-12 mr-16 flex flex-wrap items-start gap-12">
89
+ <button type="button" className="ui-chip-alt p-chip-small">
90
+ Default
91
+ </button>
92
+ <button
93
+ type="button"
94
+ className="ui-chip-alt p-chip-small"
95
+ data-selected
96
+ >
97
+ Selected
98
+ </button>
99
+ <button type="button" className="ui-chip-alt p-chip-small" disabled>
100
+ Unavailable
101
+ </button>
102
+ </div>
103
+ <div className="mb-12 mr-16 flex flex-wrap items-start gap-12">
104
+ <button type="button" className="ui-chip-alt">
105
+ Default
106
+ </button>
107
+ <button type="button" className="ui-chip-alt" data-selected>
108
+ Selected
109
+ </button>
110
+ <button type="button" className="ui-chip-alt" disabled>
111
+ Unavailable
112
+ </button>
113
+ </div>
114
+ <div className="flex flex-wrap items-start gap-12">
115
+ <button type="button" className="ui-chip-alt p-chip-large text-btn-2">
116
+ Default
117
+ </button>
118
+ <button
119
+ type="button"
120
+ className="ui-chip-alt p-chip-large text-btn-2"
121
+ data-selected
122
+ >
123
+ Selected
124
+ </button>
125
+ <button
126
+ type="button"
127
+ className="ui-chip-alt p-chip-large text-btn-2"
128
+ disabled
129
+ >
130
+ Unavailable
131
+ </button>
132
+ </div>
133
+ </div>
134
+ </div>
135
+ </div>
136
+ </Unstyled>
@@ -0,0 +1,23 @@
1
+ import { Fragment } from "react";
2
+ import { Meta, Unstyled } from "@storybook/blocks";
3
+ import { colours } from "./utils";
4
+
5
+ <Meta title="Brand/Colour" />
6
+
7
+ <Unstyled>
8
+ <h1 className="ui-text-h1 mb-32">Colour</h1>
9
+ {colours.map((category) => (
10
+ <Fragment key={category.name}>
11
+ <h3 className="ui-text-h2 mb-16">{category.name}</h3>
12
+ <ul className="grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-32 mb-40">
13
+ {category.colours.map(({ hex, name, bg }) => (
14
+ <li key={`${category.name}-${bg}`}>
15
+ <div className={`w-full h-64 mb-16 ${bg}`}></div>
16
+ <p className="ui-text-p1">{name}</p>
17
+ <p className="ui-text-p2">hex {hex}</p>
18
+ </li>
19
+ ))}
20
+ </ul>
21
+ </Fragment>
22
+ ))}
23
+ </Unstyled>
@@ -0,0 +1,173 @@
1
+ import { Meta, Unstyled } from "@storybook/blocks";
2
+ import { formsHtml } from "./utils";
3
+ import Code from "../core/Code/component.tsx";
4
+ import Icon from "../core/Icon/component.tsx";
5
+
6
+ <Meta title="Brand/Forms" />
7
+
8
+ <Unstyled>
9
+ <h1 className="ui-text-h1 mb-32">Forms</h1>
10
+ <h3 className="ui-text-h2 mb-24">Checkboxes</h3>
11
+ <div className="mb-40">
12
+ <h4 className="ui-text-h3 mb-16">Checkboxes with P1 size text</h4>
13
+ <div className="ui-checkbox-p1">
14
+ <input
15
+ data-ui-checkbox-native=""
16
+ type="checkbox"
17
+ id="checkbox-example-1"
18
+ name="checkbox-example-1"
19
+ value="yes"
20
+ className="ui-checkbox-input"
21
+ />
22
+ <div data-ui-checkbox-styled="" className="ui-checkbox-styled">
23
+ <Icon
24
+ name="icon-gui-tick"
25
+ size="1rem"
26
+ additionalCSS="ui-checkbox-styled-tick"
27
+ />
28
+ </div>
29
+ <label htmlFor="checkbox-example-1" className="ui-checkbox-label-p1">
30
+ Welcome to the Ably privacy policy. Ably respects your privacy, is
31
+ committed to protecting your personal data, and is compliant with
32
+ applicable data protection law. This privacy policy will inform you as
33
+ to how we look after certain of your personal data and tell you about
34
+ your privacy rights and how the law protects you. Please refer to the
35
+ Glossary below to understand the meaning of some of the terms used in
36
+ this privacy policy.
37
+ </label>
38
+ </div>
39
+ <div className="ui-checkbox-p1">
40
+ <input
41
+ data-ui-checkbox-native=""
42
+ type="checkbox"
43
+ id="checkbox-example-2"
44
+ name="checkbox-example-2"
45
+ value="yes"
46
+ className="ui-checkbox-input"
47
+ />
48
+ <div data-ui-checkbox-styled="" className="ui-checkbox-styled">
49
+ <Icon
50
+ name="icon-gui-tick"
51
+ size="1rem"
52
+ additionalCSS="ui-checkbox-styled-tick"
53
+ />
54
+ </div>
55
+ <label htmlFor="checkbox-example-2" className="ui-checkbox-label-p1">
56
+ Subscribe to the Ably Newsletter
57
+ </label>
58
+ </div>
59
+ <div className="ui-checkbox-p1">
60
+ <input
61
+ data-ui-checkbox-native=""
62
+ disabled=""
63
+ type="checkbox"
64
+ id="checkbox-example-3"
65
+ name="checkbox-example-3"
66
+ value="yes"
67
+ className="ui-checkbox-input"
68
+ />
69
+ <div data-ui-checkbox-styled="" className="ui-checkbox-styled">
70
+ <Icon
71
+ name="icon-gui-tick"
72
+ size="1rem"
73
+ additionalCSS="ui-checkbox-styled-tick"
74
+ />
75
+ </div>
76
+ <label htmlFor="checkbox-example-3" className="ui-checkbox-label-p1">
77
+ This option is not available
78
+ </label>
79
+ </div>
80
+ </div>
81
+ <div className="mb-40">
82
+ <h4 className="ui-text-h3 mb-16">
83
+ Checkboxes with P2 size text and tighter spacing
84
+ </h4>
85
+ <div className="flex items-start mb-12">
86
+ <input
87
+ data-ui-checkbox-native=""
88
+ type="checkbox"
89
+ id="checkbox-example-4"
90
+ name="checkbox-example-4"
91
+ value="yes"
92
+ className="ui-checkbox-input"
93
+ />
94
+ <div data-ui-checkbox-styled="" className="ui-checkbox-styled">
95
+ <Icon
96
+ name="icon-gui-tick"
97
+ size="1rem"
98
+ additionalCSS="ui-checkbox-styled-tick"
99
+ />
100
+ </div>
101
+ <label htmlFor="checkbox-example-4" className="ui-checkbox-label-p2">
102
+ Welcome to the Ably privacy policy. Ably respects your privacy, is
103
+ committed to protecting your personal data, and is compliant with
104
+ applicable data protection law. This privacy policy will inform you as
105
+ to how we look after certain of your personal data and tell you about
106
+ your privacy rights and how the law protects you. Please refer to the
107
+ Glossary below to understand the meaning of some of the terms used in
108
+ this privacy policy.
109
+ </label>
110
+ </div>
111
+ <div className="flex items-start mb-12">
112
+ <input
113
+ data-ui-checkbox-native=""
114
+ type="checkbox"
115
+ id="checkbox-example-5"
116
+ name="checkbox-example-5"
117
+ value="yes"
118
+ className="ui-checkbox-input"
119
+ />
120
+ <div data-ui-checkbox-styled="" className="ui-checkbox-styled">
121
+ <Icon
122
+ name="icon-gui-tick"
123
+ size="1rem"
124
+ additionalCSS="ui-checkbox-styled-tick"
125
+ />
126
+ </div>
127
+ <label htmlFor="checkbox-example-5" className="ui-checkbox-label-p2">
128
+ Subscribe to the Ably Newsletter
129
+ </label>
130
+ </div>
131
+ <div className="ui-checkbox-p2">
132
+ <input
133
+ data-ui-checkbox-native=""
134
+ disabled=""
135
+ type="checkbox"
136
+ id="checkbox-example-6"
137
+ name="checkbox-example-6"
138
+ value="yes"
139
+ className="ui-checkbox-input"
140
+ />
141
+ <div data-ui-checkbox-styled="" className="ui-checkbox-styled">
142
+ <Icon
143
+ name="icon-gui-tick"
144
+ size="1rem"
145
+ additionalCSS="ui-checkbox-styled-tick"
146
+ />
147
+ </div>
148
+ <label htmlFor="checkbox-example-6" className="ui-checkbox-label-p2">
149
+ This option is not available
150
+ </label>
151
+ </div>
152
+ </div>
153
+ <h3 className="ui-text-h2 mb-24">Textarea</h3>
154
+ <div className="mb-40">
155
+ <label className="ui-text-p1 block mb-24" htmlFor="example-text-area">
156
+ This is how a label for the textarea looks like. Control the size of the
157
+ area with the <code className="ui-inline-code">rows</code> attribute.
158
+ </label>
159
+ <textarea
160
+ id="example-text-area"
161
+ className="ui-textarea"
162
+ rows="2"
163
+ placeholder="The <textarea> HTML element represents a multi-line plain-text editing control, useful when you want to allow users to enter a sizeable amount of free-form text, for example a comment on a review or feedback form."
164
+ ></textarea>
165
+ <p className="ui-text-p3 text-dark-grey">
166
+ Example of additional text beneath the textarea.
167
+ </p>
168
+ </div>
169
+ <div className="mb-40">
170
+ <h4 className="ui-text-h3 mb-16">Example HTML</h4>
171
+ <Code language="html" snippet={formsHtml} />
172
+ </div>
173
+ </Unstyled>
@@ -0,0 +1,58 @@
1
+ import { Meta, Unstyled } from "@storybook/blocks";
2
+
3
+ <Meta title="Brand/Layout" />
4
+
5
+ <Unstyled>
6
+ <h1 className="ui-text-h1 mb-32">Layout</h1>
7
+
8
+ <div class="ui-standard-container mb-32">
9
+ <div class="bg-mid-grey align-center p-32">
10
+ <p class="ui-text-h3 mb-24">ui-standard-container</p>
11
+ <p class="ui-text-p1 ">
12
+ Container that does not grow beyond the xl breakpoint (1440px), centers
13
+ and contains the correct outside padding across viewport changes.
14
+ </p>
15
+ </div>
16
+ </div>
17
+
18
+ <div class="ui-standard-container mb-32">
19
+ <div class="bg-mid-grey align-center p-32">
20
+ <p class="ui-text-h3 mb-24">ui-grid-gap</p>
21
+ <p class="ui-text-p1 mb-32">Add correct gaps across viewport changes.</p>
22
+ <div class="grid grid-cols-4 ui-grid-gap">
23
+ <div class="bg-cool-black text-white font-sans p-32 text-center">1</div>
24
+ <div class="bg-cool-black text-white font-sans p-32 text-center">2</div>
25
+ <div class="bg-cool-black text-white font-sans p-32 text-center">3</div>
26
+ <div class="bg-cool-black text-white font-sans p-32 text-center">4</div>
27
+ </div>
28
+ </div>
29
+ </div>
30
+
31
+ <div class="ui-standard-container mb-32">
32
+ <div class="bg-mid-grey align-center p-32">
33
+ <p class="ui-text-h3 mb-24">ui-grid-px</p>
34
+ <p class="ui-text-p1 mb-32">
35
+ Add padding on the x axis, with correct values across viewport changes.
36
+ </p>
37
+ <div class="ui-grid-px">
38
+ <div class="bg-cool-black text-white font-sans p-32 text-center">
39
+ Text
40
+ </div>
41
+ </div>
42
+ </div>
43
+ </div>
44
+
45
+ <div class="ui-standard-container mb-32">
46
+ <div class="bg-mid-grey align-center p-32">
47
+ <p class="ui-text-h3 mb-24">ui-grid-mx</p>
48
+ <p class="ui-text-p1 mb-32">
49
+ Add margin on the x axis, with correct values across viewport changes.
50
+ </p>
51
+ <div class="ui-grid-mx">
52
+ <div class="bg-cool-black text-white font-sans p-32 text-center">
53
+ Text
54
+ </div>
55
+ </div>
56
+ </div>
57
+ </div>
58
+ </Unstyled>
@@ -0,0 +1,206 @@
1
+ import { Unstyled, Meta } from "@storybook/blocks";
2
+
3
+ <Meta title="Brand/Typography" />
4
+
5
+ <Unstyled>
6
+ <section id="section-typography" className="mb-64">
7
+ <h1 className="ui-text-h1 mb-32">Typography</h1>
8
+ <p className="ui-text-p1 mb-32">
9
+ Type definitions do not include margin as it can be contextual. Figma
10
+ and the below list include recommended margins.
11
+ </p>
12
+ <p className="ui-text-p1 mb-32">
13
+ The below list is created with ui-text-* helpers which include
14
+ properties beyond the standard{" "}
15
+ <code className="ui-inline-code">font-size</code> and{" "}
16
+ <code className="ui-inline-code">line-height</code> that text-*
17
+ includes.
18
+ </p>
19
+ <div className="mb-40">
20
+ <hr className="m-0" />
21
+ <p className="ui-text-title mt-64 mb-40 xs:mt-80 xs:mb-32 xl:mt-96 xl:mb-32">
22
+ Title - this is a title
23
+ </p>
24
+ <hr className="m-0" />
25
+ <p className="ui-text-h1 mb-40">H1 - this is an h1</p>
26
+ <hr className="m-0" />
27
+ <p className="ui-text-h2 mb-36">H2 - this is an h2</p>
28
+ <hr className="m-0" />
29
+ <p className="ui-text-h3 mb-24">H3 - this is an h3</p>
30
+ <hr className="m-0" />
31
+ <p className="ui-text-h4 mb-16">H4 - this is an h4</p>
32
+ <hr className="m-0" />
33
+ <p className="ui-text-h5 mb-16">H5 - this is an h5</p>
34
+ <hr className="m-0" />
35
+ <p className="ui-text-p1 mb-32">Paragraph 1</p>
36
+ <hr className="m-0" />
37
+ <p className="ui-text-p1 font-bold mb-32">Paragraph 1 (strong)</p>
38
+ <hr className="m-0" />
39
+ <p className="ui-text-p2 mb-24">Paragraph 2</p>
40
+ <hr className="m-0" />
41
+ <p className="ui-text-p2 font-bold mb-24">Paragraph 2 (strong)</p>
42
+ <hr className="m-0" />
43
+ <p className="ui-text-p3 mb-24">Paragraph 3</p>
44
+ <hr className="m-0" />
45
+ <p className="ui-text-p3 font-bold mb-24">Paragraph 3 (strong)</p>
46
+ <hr className="m-0" />
47
+ <p className="ui-figcaption mb-16">This is a figure caption style</p>
48
+ <hr className="m-0" />
49
+
50
+ <p className="ui-text-quote mb-24">Quote</p>
51
+ <hr className="m-0" />
52
+ <p className="ui-text-sub-header mb-40 xs:mb-48">Sub-header</p>
53
+ <hr className="m-0" />
54
+ <p className="ui-text-overline1 mb-12">Overline 1</p>
55
+ <hr className="m-0" />
56
+ <p className="ui-text-overline2 mb-8">Overline 2</p>
57
+ <hr className="m-0" />
58
+ <p className="ui-text-menu1">Menu label 1</p>
59
+ <hr className="m-0" />
60
+ <p className="ui-text-menu1 font-bold">Menu label 1 (strong)</p>
61
+ <hr className="m-0" />
62
+ <p className="ui-text-menu2">Menu label 2</p>
63
+ <hr className="m-0" />
64
+ <p className="ui-text-menu2 font-bold">Menu label 2 (strong)</p>
65
+ <hr className="m-0" />
66
+ <p className="ui-text-menu3">Menu label 3</p>
67
+ <hr className="m-0" />
68
+ <p className="ui-text-menu3 font-bold">Menu label 3 (strong)</p>
69
+ <hr className="m-0" />
70
+ <p className="ui-text-code">Code 1 font for code blocks</p>
71
+ <hr className="m-0" />
72
+ <p className="ui-text-code2">Code 2 font for code blocks</p>
73
+ <hr className="m-0" />
74
+ <p className="ui-text-p1 mt-12 mb-12">
75
+ Text, then styling for{" "}
76
+ <span className="ui-text-code-inline">inline code</span>, within
77
+ paragraphs.
78
+ </p>
79
+ <hr className="m-0" />
80
+
81
+ </div>
82
+
83
+ {" "}
84
+
85
+ {" "}
86
+
87
+ <div className="mb-40">
88
+ <h3 className="ui-text-h2 mb-24">Links</h3>
89
+ <p className="ui-text-p1 mb-24">
90
+ The default text color is inherited from the surrounding text.
91
+ </p>
92
+ <div className="flex flex-wrap">
93
+ <div className="p-16 mb-16 mr-16 border rounded">
94
+ <p className="ui-text-p1 text-charcoal-grey">
95
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec
96
+ odio. Class aptent taciti sociosqu ad litora torquent per conubia
97
+ nostra, <a href="/xyz" className="ui-link"> per inceptos himenaeos</a>.
98
+ </p>
99
+ </div>
100
+ <div className="p-16 mb-16 mr-16 border rounded bg-cool-black">
101
+ <p className="ui-text-p1 text-white">
102
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec
103
+ odio. Class aptent taciti sociosqu ad litora torquent per conubia
104
+ nostra, <a href="/123" className="ui-link"> per inceptos himenaeos</a>.
105
+ </p>
106
+ </div>
107
+ <div className="p-16 mb-16 mr-16 border rounded bg-jazzy-pink">
108
+ <p className="ui-text-p1 text-charcoal-grey">
109
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec
110
+ odio. Class aptent taciti sociosqu ad litora torquent per conubia
111
+ nostra <a href="/123" className="ui-link-neutral">per inceptos himenaeos</a>.
112
+ </p>
113
+ </div>
114
+ </div>
115
+ </div>
116
+
117
+ <div className="mb-40">
118
+ <h3 className="ui-text-h2 mb-24">Lists</h3>
119
+ <p className="ui-text-p1 mb-24">
120
+ Note that lists support having li items and li items with children,
121
+ while keeping the same margin (in these examples, the ordered list has
122
+ paragraphs).
123
+ </p>
124
+
125
+ <div className="mb-40">
126
+ <h4 className="ui-text-h3 mb-16">Unordered</h4>
127
+ <p className="ui-text-p1">
128
+ This is the preceding paragraph sed nisl id lectus scelerisque
129
+ facilisis consectetur eget nisl. Morbi scelerisque felis vel
130
+ ullamcorper viverra. In id ante quis quam sodales auctor in a ante.
131
+ Maecenas faucibus, diam sit amet sollicitudin pellentesque, est
132
+ nulla pellentesque sapien.
133
+ </p>
134
+ <ul className="ui-unordered-list">
135
+ <li>
136
+ Pellentesque consequat elit eget tristique sagittis. Etiam et erat
137
+ et lorem elementum commodo. Aenean congue diam a nibh accumsan
138
+ tincidunt.
139
+ <ul>
140
+ <li>
141
+ In id ante quis quam sodales auctor in a ante. Maecenas
142
+ faucibus, diam sit amet sollicitudin pellentesque, est nulla
143
+ pellentesque sapien.
144
+ <ul>
145
+ <li>Etiam et erat et lorem elementum commodo.</li>
146
+ <li>Etiam et erat et lorem elementum commodo.</li>
147
+ </ul>
148
+ </li>
149
+ </ul>
150
+ </li>
151
+ <li>Etiam et erat et lorem elementum commodo.</li>
152
+ </ul>
153
+ <p className="ui-text-p1 mb-24">
154
+ This is the following paragraph sed nisl id lectus scelerisque
155
+ facilisis consectetur eget nisl. Morbi scelerisque felis vel
156
+ ullamcorper viverra. In id ante quis quam sodales auctor in a ante.
157
+ Maecenas faucibus, diam sit amet sollicitudin pellentesque, est
158
+ nulla pellentesque sapien.
159
+ </p>
160
+ </div>
161
+
162
+ <div className="mb-40">
163
+ <h4 className="ui-text-h3 mb-16">Ordered</h4>
164
+ <p className="ui-text-p1">
165
+ This is the preceding paragraph sed nisl id lectus scelerisque
166
+ facilisis consectetur eget nisl. Morbi scelerisque felis vel
167
+ ullamcorper viverra. In id ante quis quam sodales auctor in a ante.
168
+ Maecenas faucibus, diam sit amet sollicitudin pellentesque, est
169
+ nulla pellentesque sapien.
170
+ </p>
171
+ <ol className="ui-ordered-list">
172
+ <li>
173
+ <p>
174
+ Pellentesque consequat elit eget tristique sagittis. Etiam et
175
+ erat et lorem elementum commodo. Aenean congue diam a nibh
176
+ accumsan tincidunt.
177
+ </p>
178
+ <ol>
179
+ <li>
180
+ <p>
181
+ In id ante quis quam sodales auctor in a ante. Maecenas
182
+ faucibus, diam sit amet sollicitudin pellentesque, est nulla
183
+ pellentesque sapien.
184
+ </p>
185
+ <ol>
186
+ <li>
187
+ <p>Etiam et erat et lorem elementum commodo.</p>
188
+ </li>
189
+ </ol>
190
+ </li>
191
+ </ol>
192
+ </li>
193
+ </ol>
194
+ <p className="ui-text-p1 mb-24">
195
+ This is the following paragraph sed nisl id lectus scelerisque
196
+ facilisis consectetur eget nisl. Morbi scelerisque felis vel
197
+ ullamcorper viverra. In id ante quis quam sodales auctor in a ante.
198
+ Maecenas faucibus, diam sit amet sollicitudin pellentesque, est
199
+ nulla pellentesque sapien.
200
+ </p>
201
+ </div>
202
+
203
+ </div>
204
+
205
+ </section>
206
+ </Unstyled>
@@ -0,0 +1,70 @@
1
+ export const colours = [
2
+ {
3
+ name: "Primary",
4
+ colours: [
5
+ { bg: "bg-cool-black", name: "Cool Black", hex: "#03020D" },
6
+ { bg: "bg-active-orange", name: "Active Orange", hex: "#FF5416" },
7
+ { bg: "bg-white", name: "White", hex: "#FFFFFF" },
8
+ ],
9
+ },
10
+ {
11
+ name: "Secondary",
12
+ colours: [
13
+ { bg: "bg-electric-cyan", name: "Electric Cyan", hex: "#4AD4FF" },
14
+ { bg: "bg-zingy-green", name: "Zingy Green", hex: "#08FF13" },
15
+ { bg: "bg-bright-red", name: "Bright Red", hex: "#FE372B" },
16
+ { bg: "bg-jazzy-pink", name: "Jazzy Pink", hex: "#FF17D2" },
17
+ ],
18
+ },
19
+ {
20
+ name: "Neutrals",
21
+ colours: [
22
+ { bg: "bg-extra-light-grey", name: "Extra Light Grey", hex: "#F8FAFC" },
23
+ { bg: "bg-light-grey", name: "Light Grey", hex: "#F4F8FB" },
24
+ { bg: "bg-mid-grey", name: "Mid Grey", hex: "#C6CED9" },
25
+ { bg: "bg-dark-grey", name: "Dark Grey", hex: "#667085" },
26
+ { bg: "bg-charcoal-grey", name: "Charcoal Grey", hex: "#2B303B" },
27
+ { bg: "bg-neutral-500", name: "Neutral 500", hex: "#C6CED9" },
28
+ { bg: "bg-neutral-900", name: "Neutral 900", hex: "#39414E" },
29
+ ],
30
+ },
31
+ {
32
+ name: "GUI",
33
+ colours: [
34
+ { bg: "bg-gui-default", name: "Default (Light)", hex: "#006EDC" },
35
+ { bg: "bg-gui-hover", name: "Hover (Light)", hex: "#0862B9" },
36
+ { bg: "bg-gui-active", name: "Active (Light)", hex: "#074095" },
37
+ { bg: "bg-gui-default-dark", name: "Default (Dark)", hex: "#4DA6FF" },
38
+ { bg: "bg-gui-hover-dark", name: "Hover (Dark)", hex: "#2894FF" },
39
+ { bg: "bg-gui-active-dark", name: "Active (Dark)", hex: "#0080FF" },
40
+ { bg: "bg-gui-blue-visited", name: "Visited", hex: "#4887c2" },
41
+ { bg: "bg-gui-focus", name: "Focus", hex: "#80B9F2" },
42
+ { bg: "bg-gui-focus-outline", name: "Focus Outline", hex: "#80B9F2" },
43
+ { bg: "bg-gui-unavailable", name: "Unavailable", hex: "#a8a8a8" },
44
+ { bg: "bg-gui-success", name: "Success", hex: "#11CB24" },
45
+ { bg: "bg-gui-error", name: "Error", hex: "#FB0C0C" },
46
+ ],
47
+ },
48
+ ];
49
+
50
+ export const formsHtml = `
51
+ <div class="ui-checkbox-p1">
52
+ <input
53
+ data-ui-checkbox-native
54
+ type="checkbox"
55
+ id="checkbox"
56
+ name="checkbox"
57
+ value="yes"
58
+ class="ui-checkbox-input" />
59
+
60
+ <div
61
+ data-ui-checkbox-styled
62
+ class="ui-checkbox-styled">
63
+ <svg class="ui-checkbox-styled-tick">
64
+ <use xlink:href="#sprite-icon-gui-tick"></use>
65
+ </svg>
66
+ </div>
67
+
68
+ <label for="checkbox-example" class="ui-checkbox-label-p1">Yes</label>
69
+ </div>
70
+ `;
@@ -1,11 +1,5 @@
1
1
  module.exports = {
2
- content: [
3
- "./src/**/*.html.erb",
4
- "./src/**/*.jsx",
5
- "./src/**/*.js",
6
- "./src/**/*.json",
7
- "./src/**/*.css",
8
- ],
2
+ content: ["./src/**/*.{js,json,css,ts,tsx,mdx}"],
9
3
  safelist: [
10
4
  "w-1/2",
11
5
  "w-1/3",