@ably/ui 13.3.0 → 14.0.0-dev.1939f45

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 (501) hide show
  1. package/README.md +26 -155
  2. package/core/.DS_Store +0 -0
  3. package/core/Accordion/.DS_Store +0 -0
  4. package/core/Accordion.js +1 -0
  5. package/core/Code/.DS_Store +0 -0
  6. package/core/Code/component.css +1 -72
  7. package/core/Code/component.js +1 -1
  8. package/core/Code.js +1 -0
  9. package/core/ConnectStateWrapper.js +1 -0
  10. package/core/ContactFooter/.DS_Store +0 -0
  11. package/core/ContactFooter/component.css +0 -1
  12. package/core/ContactFooter/component.js +1 -1
  13. package/core/ContactFooter.js +1 -0
  14. package/core/CookieMessage/.DS_Store +0 -0
  15. package/core/CookieMessage/component.css +0 -1
  16. package/core/CookieMessage.js +1 -0
  17. package/core/CustomerLogos/.DS_Store +0 -0
  18. package/core/CustomerLogos.js +1 -0
  19. package/core/DropdownMenu/.DS_Store +0 -0
  20. package/core/DropdownMenu.js +1 -0
  21. package/core/Expander.js +1 -0
  22. package/core/FeaturedLink/.DS_Store +0 -0
  23. package/core/FeaturedLink.js +1 -0
  24. package/core/Flash/.DS_Store +0 -0
  25. package/core/Flash/component.css +0 -1
  26. package/core/Flash.js +1 -0
  27. package/core/Footer/.DS_Store +0 -0
  28. package/core/Footer/component.css +0 -1
  29. package/core/Footer.js +1 -0
  30. package/core/Icon/.DS_Store +0 -0
  31. package/core/Icon.js +1 -0
  32. package/core/Loader/.DS_Store +0 -0
  33. package/core/Loader.js +13 -0
  34. package/core/Logo/.DS_Store +0 -0
  35. package/core/Logo.js +1 -0
  36. package/core/Meganav/.DS_Store +0 -0
  37. package/core/Meganav/component.css +2 -3
  38. package/core/Meganav/component.js +1 -1
  39. package/core/Meganav.js +1 -0
  40. package/core/MeganavBlogPostsList/.DS_Store +0 -0
  41. package/core/MeganavBlogPostsList/component.js +1 -2
  42. package/core/MeganavBlogPostsList.js +1 -0
  43. package/core/MeganavContentCompany.js +1 -0
  44. package/core/MeganavContentDevelopers.js +1 -0
  45. package/core/MeganavContentProducts.js +1 -0
  46. package/core/MeganavContentUseCases.js +1 -0
  47. package/core/MeganavControl/.DS_Store +0 -0
  48. package/core/MeganavControl/component.js +1 -1
  49. package/core/MeganavControl.js +1 -0
  50. package/core/MeganavControlMobileDropdown/.DS_Store +0 -0
  51. package/core/MeganavControlMobileDropdown/component.js +1 -1
  52. package/core/MeganavControlMobileDropdown.js +1 -0
  53. package/core/MeganavControlMobilePanelClose/.DS_Store +0 -0
  54. package/core/MeganavControlMobilePanelClose/component.js +1 -1
  55. package/core/MeganavControlMobilePanelClose.js +1 -0
  56. package/core/MeganavControlMobilePanelOpen/.DS_Store +0 -0
  57. package/core/MeganavControlMobilePanelOpen/component.js +1 -1
  58. package/core/MeganavControlMobilePanelOpen.js +1 -0
  59. package/core/MeganavItemsDesktop.js +1 -0
  60. package/core/MeganavItemsMobile.js +1 -0
  61. package/core/MeganavItemsSignedIn.js +1 -0
  62. package/core/MeganavSearch.js +1 -0
  63. package/core/MeganavSearchAutocomplete/.DS_Store +0 -0
  64. package/core/MeganavSearchAutocomplete/component.js +1 -1
  65. package/core/MeganavSearchAutocomplete.js +1 -0
  66. package/core/MeganavSearchPanel.js +1 -0
  67. package/core/MeganavSearchSuggestions/.DS_Store +0 -0
  68. package/core/MeganavSearchSuggestions/component.js +1 -1
  69. package/core/MeganavSearchSuggestions.js +1 -0
  70. package/core/Notice/.DS_Store +0 -0
  71. package/core/Notice/component.css +0 -1
  72. package/core/Notice/component.js +1 -1
  73. package/core/Notice.js +1 -0
  74. package/core/SignOutLink.js +1 -0
  75. package/core/Slider/.DS_Store +0 -0
  76. package/core/Slider/component.css +32 -1
  77. package/core/Slider/component.js +1 -1
  78. package/core/Slider.js +1 -0
  79. package/core/Table/.DS_Store +0 -0
  80. package/core/Table/Table.js +1 -0
  81. package/core/Table/TableCell.js +7 -0
  82. package/core/Table/TableRow.js +1 -0
  83. package/core/Table/data.js +1 -0
  84. package/core/Table.js +1 -0
  85. package/core/Tooltip/.DS_Store +0 -0
  86. package/core/Tooltip.js +1 -0
  87. package/core/css.js +1 -0
  88. package/core/dom-query.js +1 -0
  89. package/core/hubspot-chat-toggle.js +1 -0
  90. package/core/icons/discord.svg +10 -0
  91. package/core/icons/facebook.svg +4 -0
  92. package/core/icons/github.svg +3 -0
  93. package/core/icons/glassdoor.svg +3 -0
  94. package/core/icons/google.svg +3 -0
  95. package/core/icons/icon-display-48hrs.svg +3 -0
  96. package/core/icons/icon-display-about-ably-col.svg +4 -0
  97. package/core/icons/icon-display-api-keys.svg +3 -0
  98. package/core/icons/icon-display-api.svg +3 -0
  99. package/core/icons/icon-display-asset-tracking-col.svg +18 -0
  100. package/core/icons/icon-display-browser.svg +10 -0
  101. package/core/icons/icon-display-calendar.svg +3 -0
  102. package/core/icons/icon-display-call-mobile.svg +3 -0
  103. package/core/icons/icon-display-careers-col.svg +9 -0
  104. package/core/icons/icon-display-case-studies-col.svg +5 -0
  105. package/core/icons/icon-display-chat-col.svg +4 -0
  106. package/core/icons/icon-display-chat-stack-col.svg +4 -0
  107. package/core/icons/icon-display-chat-stack.svg +4 -0
  108. package/core/icons/icon-display-cloud-servers.svg +3 -0
  109. package/core/icons/icon-display-compare-tech-col.svg +9 -0
  110. package/core/icons/icon-display-customers-col.svg +15 -0
  111. package/core/icons/icon-display-data-broadcast-col.svg +26 -0
  112. package/core/icons/icon-display-data-synchronization-col.svg +14 -0
  113. package/core/icons/icon-display-docs-col.svg +7 -0
  114. package/core/icons/icon-display-documentation.svg +3 -0
  115. package/core/icons/icon-display-events-col.svg +13 -0
  116. package/core/icons/icon-display-examples-col.svg +11 -0
  117. package/core/icons/icon-display-gdpr.svg +3 -0
  118. package/core/icons/icon-display-general-comms.svg +3 -0
  119. package/core/icons/icon-display-hipaa.svg +10 -0
  120. package/core/icons/icon-display-integrations-col.svg +8 -0
  121. package/core/icons/icon-display-it-support-access.svg +3 -0
  122. package/core/icons/icon-display-it-support-helpdesk.svg +3 -0
  123. package/core/icons/icon-display-kafka-at-the-edge-col.svg +8 -0
  124. package/core/icons/icon-display-laptop.svg +10 -0
  125. package/core/icons/icon-display-lightbulb-col.svg +10 -0
  126. package/core/icons/icon-display-live-chat.svg +3 -0
  127. package/core/icons/icon-display-map-pin.svg +3 -0
  128. package/core/icons/icon-display-message.svg +3 -0
  129. package/core/icons/icon-display-padlock-closed.svg +3 -0
  130. package/core/icons/icon-display-platform.svg +22 -0
  131. package/core/icons/icon-display-play.svg +3 -0
  132. package/core/icons/icon-display-privacy-shield-framework.svg +7 -0
  133. package/core/icons/icon-display-push-notifications-col.svg +6 -0
  134. package/core/icons/icon-display-quickstart-guides-col.svg +8 -0
  135. package/core/icons/icon-display-resources-col.svg +21 -0
  136. package/core/icons/icon-display-sdks-col.svg +11 -0
  137. package/core/icons/icon-display-servers.svg +3 -0
  138. package/core/icons/icon-display-shopping-cart.svg +10 -0
  139. package/core/icons/icon-display-sla.svg +3 -0
  140. package/core/icons/icon-display-soc2-type2.svg +3 -0
  141. package/core/icons/icon-display-tech-account-comms.svg +3 -0
  142. package/core/icons/icon-display-tutorials-demos-col.svg +25 -0
  143. package/core/icons/icon-display-virtual-events-col.svg +12 -0
  144. package/core/icons/icon-display-virtual-events.svg +12 -0
  145. package/core/icons/icon-gui-ably-badge.svg +3 -0
  146. package/core/icons/icon-gui-arrow-bidirectional-horizontal.svg +3 -0
  147. package/core/icons/icon-gui-arrow-bidirectional-vertical.svg +3 -0
  148. package/core/icons/icon-gui-arrow-down.svg +3 -0
  149. package/core/icons/icon-gui-arrow-left.svg +3 -0
  150. package/core/icons/icon-gui-arrow-right.svg +3 -0
  151. package/core/icons/icon-gui-arrow-up.svg +3 -0
  152. package/core/icons/icon-gui-burger-menu.svg +5 -0
  153. package/core/icons/icon-gui-check-circled-fill-black.svg +4 -0
  154. package/core/icons/icon-gui-check-circled-fill.svg +4 -0
  155. package/core/icons/icon-gui-check-circled.svg +3 -0
  156. package/core/icons/icon-gui-checklist-checked.svg +3 -0
  157. package/core/icons/icon-gui-clock.svg +3 -0
  158. package/core/icons/icon-gui-close.svg +3 -0
  159. package/core/icons/icon-gui-copy.svg +10 -0
  160. package/core/icons/icon-gui-cross-circled-fill.svg +4 -0
  161. package/core/icons/icon-gui-cross-circled.svg +3 -0
  162. package/core/icons/icon-gui-dash-circled.svg +3 -0
  163. package/core/icons/icon-gui-disclosure-arrow.svg +3 -0
  164. package/core/icons/icon-gui-document-generic.svg +3 -0
  165. package/core/icons/icon-gui-enlarge.svg +3 -0
  166. package/core/icons/icon-gui-external-link.svg +3 -0
  167. package/core/icons/icon-gui-filter-flow-step-1.svg +5 -0
  168. package/core/icons/icon-gui-filter-flow-step-2.svg +5 -0
  169. package/core/icons/icon-gui-filter-flow-step-3.svg +5 -0
  170. package/core/icons/icon-gui-history.svg +3 -0
  171. package/core/icons/icon-gui-info.svg +3 -0
  172. package/core/icons/icon-gui-link-arrow.svg +3 -0
  173. package/core/icons/icon-gui-link.svg +4 -0
  174. package/core/icons/icon-gui-live-chat.svg +3 -0
  175. package/core/icons/icon-gui-minus.svg +3 -0
  176. package/core/icons/icon-gui-partial.svg +4 -0
  177. package/core/icons/icon-gui-plus.svg +3 -0
  178. package/core/icons/icon-gui-quote-marks-solid.svg +3 -0
  179. package/core/icons/icon-gui-refresh.svg +10 -0
  180. package/core/icons/icon-gui-resources.svg +3 -0
  181. package/core/icons/icon-gui-search.svg +3 -0
  182. package/core/icons/icon-gui-tick.svg +3 -0
  183. package/core/icons/icon-gui-warning.svg +5 -0
  184. package/core/icons/icon-live-updates-results-metrics-col.svg +26 -0
  185. package/core/icons/icon-multi-user-spaces-col.svg +13 -0
  186. package/core/icons/icon-social-x.svg +3 -0
  187. package/core/icons/icon-tech-apachekafka.svg +3 -0
  188. package/core/icons/linkedin.svg +3 -0
  189. package/core/icons/quote.svg +3 -0
  190. package/core/icons/stackoverflow.svg +3 -0
  191. package/core/icons/twitter.svg +3 -0
  192. package/core/icons/youtube.svg +11 -0
  193. package/core/icons.js +1 -0
  194. package/core/load-sprites.js +1 -0
  195. package/core/react-renderer.js +1 -0
  196. package/core/remote-blogs-posts.js +1 -0
  197. package/core/remote-data-store.js +1 -0
  198. package/core/remote-data-util.js +1 -0
  199. package/core/remote-session-data.js +1 -0
  200. package/core/scripts.js +1 -2
  201. package/core/sprites.svg +1 -525
  202. package/core/styles/buttons.css +124 -0
  203. package/core/styles/forms.css +64 -0
  204. package/core/styles/layout.css +21 -0
  205. package/core/styles/properties.css +278 -0
  206. package/core/styles/text.css +168 -0
  207. package/core/styles.base.css +1 -0
  208. package/core/styles.components.css +35 -0
  209. package/core/styles.css +2 -699
  210. package/core/url-base.js +1 -0
  211. package/core/utils/syntax-highlighter-registry.js +1 -0
  212. package/core/utils/syntax-highlighter.css +74 -0
  213. package/core/utils/syntax-highlighter.js +1 -0
  214. package/package.json +39 -35
  215. package/reset/scripts.js +1 -1
  216. package/reset/styles/normalize.css +353 -0
  217. package/reset/styles/reset.css +129 -0
  218. package/reset/styles.css +2 -477
  219. package/src/.DS_Store +0 -0
  220. package/src/core/.DS_Store +0 -0
  221. package/src/core/Accordion/.DS_Store +0 -0
  222. package/src/core/Accordion/Accordion.stories.tsx +39 -0
  223. package/src/core/Accordion.tsx +147 -0
  224. package/src/core/Code/.DS_Store +0 -0
  225. package/src/core/Code/Code.stories.tsx +71 -0
  226. package/src/core/Code.tsx +45 -0
  227. package/src/core/{ConnectStateWrapper/component.jsx → ConnectStateWrapper.tsx} +8 -4
  228. package/src/core/ContactFooter/.DS_Store +0 -0
  229. package/src/core/ContactFooter/ContactFooter.stories.tsx +11 -0
  230. package/src/core/{ContactFooter/component.jsx → ContactFooter.tsx} +44 -19
  231. package/src/core/CookieMessage/.DS_Store +0 -0
  232. package/src/core/CookieMessage/CookieMessage.stories.tsx +12 -0
  233. package/src/core/{CookieMessage/component.jsx → CookieMessage.tsx} +15 -11
  234. package/src/core/CustomerLogos/.DS_Store +0 -0
  235. package/src/core/CustomerLogos/CustomerLogos.stories.tsx +43 -0
  236. package/src/core/CustomerLogos.tsx +35 -0
  237. package/src/core/DropdownMenu/.DS_Store +0 -0
  238. package/src/core/DropdownMenu/DropdownMenu.stories.tsx +48 -0
  239. package/src/core/{DropdownMenu/component.jsx → DropdownMenu.tsx} +64 -36
  240. package/src/core/Expander/Expander.stories.tsx +132 -0
  241. package/src/core/Expander.tsx +54 -0
  242. package/src/core/FeaturedLink/.DS_Store +0 -0
  243. package/src/core/FeaturedLink/FeaturedLink.stories.tsx +43 -0
  244. package/src/core/{FeaturedLink/component.jsx → FeaturedLink.tsx} +26 -18
  245. package/src/core/Flash/.DS_Store +0 -0
  246. package/src/core/Flash/Flash.stories.tsx +37 -0
  247. package/src/core/{Flash/component.jsx → Flash.tsx} +77 -39
  248. package/src/core/Footer/.DS_Store +0 -0
  249. package/src/core/Footer/Footer.stories.tsx +26 -0
  250. package/src/core/{Footer/component.jsx → Footer.tsx} +236 -70
  251. package/src/core/Icon/.DS_Store +0 -0
  252. package/src/core/Icon/Icon.stories.tsx +151 -0
  253. package/src/core/Icon.tsx +26 -0
  254. package/src/core/Loader/.DS_Store +0 -0
  255. package/src/core/Loader/Loader.stories.tsx +21 -0
  256. package/src/core/{Loader/component.jsx → Loader.tsx} +11 -8
  257. package/src/core/Logo/.DS_Store +0 -0
  258. package/src/core/Logo/Logo.stories.tsx +12 -0
  259. package/src/core/Logo.tsx +29 -0
  260. package/src/core/Meganav/.DS_Store +0 -0
  261. package/src/core/Meganav/Meganav.stories.tsx +86 -0
  262. package/src/core/Meganav/component.css +2 -2
  263. package/src/core/Meganav/component.js +6 -9
  264. package/src/core/Meganav.tsx +225 -0
  265. package/src/core/MeganavBlogPostsList/.DS_Store +0 -0
  266. package/src/core/{MeganavBlogPostsList/component.jsx → MeganavBlogPostsList.tsx} +15 -14
  267. package/src/core/{MeganavContentCompany/component.jsx → MeganavContentCompany.tsx} +82 -33
  268. package/src/core/{MeganavContentDevelopers/component.jsx → MeganavContentDevelopers.tsx} +98 -34
  269. package/src/core/MeganavContentProducts.tsx +165 -0
  270. package/src/core/MeganavContentUseCases.tsx +244 -0
  271. package/src/core/MeganavControl/.DS_Store +0 -0
  272. package/src/core/{MeganavControl/component.jsx → MeganavControl.tsx} +18 -12
  273. package/src/core/MeganavControlMobileDropdown/.DS_Store +0 -0
  274. package/src/core/{MeganavControlMobileDropdown/component.jsx → MeganavControlMobileDropdown.tsx} +3 -7
  275. package/src/core/MeganavControlMobilePanelClose/.DS_Store +0 -0
  276. package/src/core/{MeganavControlMobilePanelClose/component.jsx → MeganavControlMobilePanelClose.tsx} +15 -9
  277. package/src/core/MeganavControlMobilePanelOpen/.DS_Store +0 -0
  278. package/src/core/MeganavControlMobilePanelOpen.tsx +31 -0
  279. package/src/core/MeganavItemsDesktop.tsx +68 -0
  280. package/src/core/MeganavItemsMobile.tsx +197 -0
  281. package/src/core/{MeganavItemsSignedIn/component.jsx → MeganavItemsSignedIn.tsx} +55 -23
  282. package/src/core/MeganavSearch.tsx +36 -0
  283. package/src/core/MeganavSearchAutocomplete/.DS_Store +0 -0
  284. package/src/core/MeganavSearchAutocomplete.tsx +12 -0
  285. package/src/core/MeganavSearchPanel.tsx +52 -0
  286. package/src/core/MeganavSearchSuggestions/.DS_Store +0 -0
  287. package/src/core/MeganavSearchSuggestions.tsx +62 -0
  288. package/src/core/Notice/.DS_Store +0 -0
  289. package/src/core/Notice/component.js +1 -2
  290. package/src/core/Notice.tsx +102 -0
  291. package/src/core/SignOutLink.tsx +51 -0
  292. package/src/core/Slider/.DS_Store +0 -0
  293. package/src/core/Slider/Slider.stories.tsx +98 -0
  294. package/src/core/Slider/component.css +32 -0
  295. package/src/core/Slider/component.js +0 -2
  296. package/src/core/Slider.tsx +192 -0
  297. package/src/core/Table/.DS_Store +0 -0
  298. package/src/core/Table/Table.stories.tsx +12 -0
  299. package/src/core/Table/Table.tsx +59 -0
  300. package/src/core/Table/TableCell.tsx +109 -0
  301. package/src/core/Table/TableRow.tsx +25 -0
  302. package/src/core/Table/data.tsx +113 -0
  303. package/src/core/Table.tsx +26 -0
  304. package/src/core/Tooltip/.DS_Store +0 -0
  305. package/src/core/Tooltip/Tooltip.stories.tsx +27 -0
  306. package/src/core/Tooltip.tsx +88 -0
  307. package/src/core/icons/icon-gui-partial.svg +4 -0
  308. package/src/core/icons.js +6 -0
  309. package/src/core/{react-renderer.js → react-renderer.tsx} +9 -7
  310. package/src/core/scripts.js +0 -2
  311. package/src/core/styles/properties.css +0 -7
  312. package/src/core/utils/syntax-highlighter.css +3 -0
  313. package/src/pages/Buttons.mdx +121 -0
  314. package/src/pages/Chips.mdx +136 -0
  315. package/src/pages/Colour.mdx +23 -0
  316. package/src/pages/Forms.mdx +173 -0
  317. package/src/pages/Layout.mdx +58 -0
  318. package/src/pages/Typography.mdx +206 -0
  319. package/src/pages/utils.ts +70 -0
  320. package/tailwind.config.js +1 -7
  321. package/tailwind.extend.js +1 -1
  322. package/core/.gitignore +0 -1
  323. package/core/Code.jsx +0 -684
  324. package/core/CompanyAutocomplete/component.css +0 -46
  325. package/core/CompanyAutocomplete/component.js +0 -2
  326. package/core/CompanyAutocomplete/component.js.LICENSE.txt +0 -1
  327. package/core/ConnectStateWrapper/component.js +0 -1
  328. package/core/ConnectStateWrapper.jsx +0 -222
  329. package/core/ContactFooter.jsx +0 -342
  330. package/core/CookieMessage/component.js +0 -1
  331. package/core/CookieMessage.jsx +0 -204
  332. package/core/CustomerLogos/component.js +0 -1
  333. package/core/CustomerLogos.jsx +0 -144
  334. package/core/DropdownMenu/component.js +0 -1
  335. package/core/DropdownMenu.jsx +0 -313
  336. package/core/FeatureFooter/component.css +0 -13
  337. package/core/FeatureFooter/component.js +0 -1
  338. package/core/FeaturedLink/component.js +0 -1
  339. package/core/FeaturedLink.jsx +0 -241
  340. package/core/Flash/component.js +0 -1
  341. package/core/Flash.jsx +0 -622
  342. package/core/Footer/component.js +0 -1
  343. package/core/Footer.jsx +0 -587
  344. package/core/Icon/component.js +0 -1
  345. package/core/Icon.jsx +0 -152
  346. package/core/Loader/component.js +0 -1
  347. package/core/Loader.jsx +0 -154
  348. package/core/Logo/component.js +0 -1
  349. package/core/Logo.jsx +0 -147
  350. package/core/Meganav.jsx +0 -4151
  351. package/core/MeganavBlogPostsList/component.js.LICENSE.txt +0 -1
  352. package/core/MeganavBlogPostsList.jsx +0 -296
  353. package/core/MeganavContentCompany/component.js +0 -1
  354. package/core/MeganavContentCompany.jsx +0 -1058
  355. package/core/MeganavContentDevelopers/component.js +0 -1
  356. package/core/MeganavContentDevelopers.jsx +0 -334
  357. package/core/MeganavContentProducts/component.js +0 -1
  358. package/core/MeganavContentProducts.jsx +0 -373
  359. package/core/MeganavContentUseCases/component.js +0 -1
  360. package/core/MeganavContentUseCases.jsx +0 -341
  361. package/core/MeganavControl.jsx +0 -199
  362. package/core/MeganavControlMobileDropdown.jsx +0 -197
  363. package/core/MeganavControlMobilePanelClose.jsx +0 -198
  364. package/core/MeganavControlMobilePanelOpen.jsx +0 -193
  365. package/core/MeganavItemsDesktop/component.js +0 -1
  366. package/core/MeganavItemsDesktop.jsx +0 -279
  367. package/core/MeganavItemsMobile/component.js +0 -1
  368. package/core/MeganavItemsMobile.jsx +0 -689
  369. package/core/MeganavItemsSignedIn/component.js +0 -1
  370. package/core/MeganavItemsSignedIn.jsx +0 -643
  371. package/core/MeganavSearch/component.js +0 -1
  372. package/core/MeganavSearch.jsx +0 -434
  373. package/core/MeganavSearchAutocomplete.jsx +0 -117
  374. package/core/MeganavSearchPanel/component.js +0 -1
  375. package/core/MeganavSearchPanel.jsx +0 -386
  376. package/core/MeganavSearchSuggestions.jsx +0 -299
  377. package/core/Notice.jsx +0 -914
  378. package/core/Showcase/component.css +0 -31
  379. package/core/Showcase/component.js +0 -1
  380. package/core/Showcase.jsx +0 -17
  381. package/core/SignOutLink/component.js +0 -1
  382. package/core/SignOutLink.jsx +0 -157
  383. package/core/Slider.jsx +0 -400
  384. package/core/Uptime/component.css +0 -128
  385. package/core/Uptime/component.js +0 -1
  386. package/core/Uptime.jsx +0 -895
  387. package/core/scripts.js.LICENSE.txt +0 -1
  388. package/preview/log/.keep +0 -0
  389. package/preview/tmp/.keep +0 -0
  390. package/preview/tmp/pids/.keep +0 -0
  391. package/reset/.gitignore +0 -1
  392. package/src/core/Code/component.html.erb +0 -3
  393. package/src/core/Code/component.jsx +0 -31
  394. package/src/core/Code/component.rb +0 -12
  395. package/src/core/CompanyAutocomplete/component.css +0 -45
  396. package/src/core/CompanyAutocomplete/component.js +0 -204
  397. package/src/core/ConnectStateWrapper/component.js +0 -0
  398. package/src/core/ContactFooter/component.html.erb +0 -32
  399. package/src/core/ContactFooter/component.rb +0 -13
  400. package/src/core/CookieMessage/component.js +0 -1
  401. package/src/core/CustomerLogos/component.html.erb +0 -9
  402. package/src/core/CustomerLogos/component.js +0 -0
  403. package/src/core/CustomerLogos/component.jsx +0 -28
  404. package/src/core/CustomerLogos/component.rb +0 -14
  405. package/src/core/DropdownMenu/component.js +0 -0
  406. package/src/core/FeatureFooter/component.css +0 -12
  407. package/src/core/FeatureFooter/component.html.erb +0 -54
  408. package/src/core/FeatureFooter/component.js +0 -7
  409. package/src/core/FeatureFooter/component.rb +0 -30
  410. package/src/core/FeaturedLink/component.html.erb +0 -15
  411. package/src/core/FeaturedLink/component.js +0 -0
  412. package/src/core/FeaturedLink/component.rb +0 -21
  413. package/src/core/Flash/component.js +0 -1
  414. package/src/core/Footer/component.html.erb +0 -256
  415. package/src/core/Footer/component.js +0 -1
  416. package/src/core/Footer/component.rb +0 -14
  417. package/src/core/Icon/component.html.erb +0 -3
  418. package/src/core/Icon/component.js +0 -0
  419. package/src/core/Icon/component.jsx +0 -19
  420. package/src/core/Icon/component.rb +0 -25
  421. package/src/core/Loader/component.html.erb +0 -18
  422. package/src/core/Loader/component.js +0 -0
  423. package/src/core/Loader/component.rb +0 -19
  424. package/src/core/Logo/component.html.erb +0 -3
  425. package/src/core/Logo/component.js +0 -0
  426. package/src/core/Logo/component.jsx +0 -20
  427. package/src/core/Logo/component.rb +0 -31
  428. package/src/core/Meganav/component.html.erb +0 -31
  429. package/src/core/Meganav/component.jsx +0 -123
  430. package/src/core/Meganav/component.rb +0 -60
  431. package/src/core/MeganavBlogPostsList/component.html.erb +0 -5
  432. package/src/core/MeganavBlogPostsList/component.rb +0 -13
  433. package/src/core/MeganavContentCompany/component.html.erb +0 -90
  434. package/src/core/MeganavContentCompany/component.js +0 -0
  435. package/src/core/MeganavContentCompany/component.rb +0 -14
  436. package/src/core/MeganavContentDevelopers/component.html.erb +0 -129
  437. package/src/core/MeganavContentDevelopers/component.js +0 -0
  438. package/src/core/MeganavContentDevelopers/component.rb +0 -13
  439. package/src/core/MeganavContentProducts/component.html.erb +0 -83
  440. package/src/core/MeganavContentProducts/component.js +0 -0
  441. package/src/core/MeganavContentProducts/component.jsx +0 -105
  442. package/src/core/MeganavContentProducts/component.rb +0 -14
  443. package/src/core/MeganavContentUseCases/component.html.erb +0 -135
  444. package/src/core/MeganavContentUseCases/component.js +0 -1
  445. package/src/core/MeganavContentUseCases/component.jsx +0 -147
  446. package/src/core/MeganavContentUseCases/component.rb +0 -13
  447. package/src/core/MeganavControl/component.html.erb +0 -6
  448. package/src/core/MeganavControl/component.rb +0 -20
  449. package/src/core/MeganavControlMobileDropdown/component.html.erb +0 -7
  450. package/src/core/MeganavControlMobileDropdown/component.rb +0 -11
  451. package/src/core/MeganavControlMobilePanelClose/component.html.erb +0 -12
  452. package/src/core/MeganavControlMobilePanelClose/component.rb +0 -12
  453. package/src/core/MeganavControlMobilePanelOpen/component.html.erb +0 -7
  454. package/src/core/MeganavControlMobilePanelOpen/component.jsx +0 -25
  455. package/src/core/MeganavControlMobilePanelOpen/component.rb +0 -9
  456. package/src/core/MeganavItemsDesktop/component.html.erb +0 -17
  457. package/src/core/MeganavItemsDesktop/component.js +0 -0
  458. package/src/core/MeganavItemsDesktop/component.jsx +0 -49
  459. package/src/core/MeganavItemsDesktop/component.rb +0 -23
  460. package/src/core/MeganavItemsMobile/component.html.erb +0 -75
  461. package/src/core/MeganavItemsMobile/component.js +0 -0
  462. package/src/core/MeganavItemsMobile/component.jsx +0 -137
  463. package/src/core/MeganavItemsMobile/component.rb +0 -21
  464. package/src/core/MeganavItemsSignedIn/component.html.erb +0 -53
  465. package/src/core/MeganavItemsSignedIn/component.js +0 -0
  466. package/src/core/MeganavItemsSignedIn/component.rb +0 -33
  467. package/src/core/MeganavSearch/component.html.erb +0 -15
  468. package/src/core/MeganavSearch/component.js +0 -0
  469. package/src/core/MeganavSearch/component.jsx +0 -33
  470. package/src/core/MeganavSearch/component.rb +0 -13
  471. package/src/core/MeganavSearchAutocomplete/component.html.erb +0 -6
  472. package/src/core/MeganavSearchAutocomplete/component.jsx +0 -14
  473. package/src/core/MeganavSearchAutocomplete/component.rb +0 -6
  474. package/src/core/MeganavSearchPanel/component.html.erb +0 -22
  475. package/src/core/MeganavSearchPanel/component.js +0 -0
  476. package/src/core/MeganavSearchPanel/component.jsx +0 -39
  477. package/src/core/MeganavSearchPanel/component.rb +0 -13
  478. package/src/core/MeganavSearchSuggestions/component.html.erb +0 -22
  479. package/src/core/MeganavSearchSuggestions/component.jsx +0 -49
  480. package/src/core/MeganavSearchSuggestions/component.rb +0 -18
  481. package/src/core/Notice/component.html.erb +0 -16
  482. package/src/core/Notice/component.jsx +0 -71
  483. package/src/core/Notice/component.rb +0 -29
  484. package/src/core/Showcase/component.css +0 -30
  485. package/src/core/Showcase/component.html.erb +0 -76
  486. package/src/core/Showcase/component.js +0 -180
  487. package/src/core/Showcase/component.jsx +0 -0
  488. package/src/core/Showcase/component.rb +0 -190
  489. package/src/core/SignOutLink/component.html.erb +0 -1
  490. package/src/core/SignOutLink/component.js +0 -0
  491. package/src/core/SignOutLink/component.jsx +0 -32
  492. package/src/core/SignOutLink/component.rb +0 -17
  493. package/src/core/Slider/component.html.erb +0 -28
  494. package/src/core/Slider/component.jsx +0 -86
  495. package/src/core/Slider/component.rb +0 -38
  496. package/src/core/Uptime/component.css +0 -127
  497. package/src/core/Uptime/component.html.erb +0 -0
  498. package/src/core/Uptime/component.js +0 -1
  499. package/src/core/Uptime/component.jsx +0 -183
  500. package/src/core/Uptime/component.rb +0 -7
  501. package/src/core/core.rb +0 -81
@@ -0,0 +1,124 @@
1
+ @layer components {
2
+ .ui-btn {
3
+ @apply text-white bg-cool-black text-btn2 font-sans font-bold inline-block rounded p-btn;
4
+ @apply hover:text-white hover:bg-active-orange;
5
+ @apply active:text-white active:bg-red-orange;
6
+ @apply focus:text-white focus:bg-cool-black focus:outline-gui-focus;
7
+ @apply disabled:text-mid-grey disabled:bg-gui-unavailable disabled:cursor-not-allowed;
8
+ @apply transition-colors;
9
+ @apply inline-flex items-center justify-center;
10
+ }
11
+
12
+ .ui-btn-alt {
13
+ transition: background-position 0.2s;
14
+ background: linear-gradient(
15
+ 61.2deg,
16
+ var(--color-active-orange) 5%,
17
+ #fe5215 19%,
18
+ #fc4a13 27%,
19
+ #f73c10 33%,
20
+ #f1280a 39%,
21
+ #e90f04 44%,
22
+ var(--color-red-orange) 50%
23
+ );
24
+ background-size: 200% 100%;
25
+ background-position: 0% 0%;
26
+
27
+ @apply text-white text-btn2 font-sans font-bold inline-block rounded p-btn;
28
+ @apply focus:outline-gui-focus;
29
+ @apply inline-flex items-center justify-center;
30
+ }
31
+
32
+ .ui-btn-alt:hover,
33
+ .ui-btn-alt:focus {
34
+ background-position: 100% 0%;
35
+ }
36
+
37
+ .ui-btn-alt:disabled {
38
+ background: linear-gradient(var(--gradient-transparent));
39
+ @apply bg-gui-unavailable text-mid-grey cursor-not-allowed;
40
+ }
41
+
42
+ .ui-btn-invert {
43
+ @apply text-cool-black bg-white text-btn2 font-sans font-bold inline-block rounded p-btn;
44
+ @apply hover:text-white hover:bg-active-orange;
45
+ @apply active:text-white active:bg-red-orange;
46
+ @apply focus:text-white focus:bg-cool-black focus:outline-gui-focus;
47
+ @apply disabled:text-mid-grey disabled:bg-gui-unavailable disabled:cursor-not-allowed;
48
+ @apply transition-colors;
49
+ @apply inline-flex items-center justify-center;
50
+ }
51
+
52
+ .ui-btn-secondary {
53
+ @apply text-cool-black bg-white text-btn2 font-sans font-bold inline-block border-btn border-cool-black rounded p-btn;
54
+ @apply hover:text-cool-black hover:border-active-orange hover:bg-white;
55
+ @apply active:border-red-orange active:bg-white;
56
+ @apply focus:border-cool-black focus:bg-white focus:outline-gui-focus;
57
+ @apply disabled:text-gui-unavailable disabled:border-gui-unavailable disabled:bg-white disabled:cursor-not-allowed;
58
+ @apply transition-colors;
59
+ @apply inline-flex items-center justify-center;
60
+ }
61
+
62
+ .ui-btn-secondary-invert {
63
+ @apply text-white bg-cool-black text-btn2 font-sans font-bold inline-block border-btn border-mid-grey rounded p-btn;
64
+ @apply hover:text-white hover:border-active-orange;
65
+ @apply active:border-red-orange;
66
+ @apply focus:outline-gui-focus;
67
+ @apply disabled:text-gui-unavailable disabled:border-gui-unavailable disabled:cursor-not-allowed;
68
+ @apply transition-colors;
69
+ @apply inline-flex items-center justify-center;
70
+ }
71
+
72
+ .ui-btn-icon {
73
+ @apply w-24 h-24 mr-16;
74
+ }
75
+
76
+ .ui-btn-icon-small {
77
+ @apply w-20 h-20 mr-12;
78
+ }
79
+
80
+ .ui-btn-icon-xsmall {
81
+ @apply w-16 h-16 mr-8;
82
+ }
83
+
84
+ .ui-chip {
85
+ @apply text-btn3 p-chip rounded text-cool-black;
86
+ @apply hover:bg-mid-grey;
87
+ @apply active:bg-red-orange active:text-white;
88
+ @apply focus:bg-red-orange focus:text-white focus:outline-none;
89
+ @apply disabled:text-mid-grey disabled:bg-gui-unavailable disabled:cursor-not-allowed;
90
+ @apply transition-colors;
91
+ }
92
+
93
+ .ui-chip[data-selected] {
94
+ @apply bg-active-orange text-white;
95
+ }
96
+
97
+ .ui-chip[data-selected]:hover {
98
+ @apply bg-mid-grey text-cool-black;
99
+ }
100
+
101
+ .ui-chip[data-selected]:focus {
102
+ @apply bg-red-orange text-white;
103
+ }
104
+
105
+ .ui-chip-alt {
106
+ @apply text-btn3 p-chip rounded text-white;
107
+ @apply hover:bg-gui-hover;
108
+ @apply active:bg-gui-active active:text-white;
109
+ @apply focus:bg-gui-active focus:text-white focus:outline-none;
110
+ @apply disabled:text-mid-grey disabled:bg-gui-unavailable disabled:cursor-not-allowed;
111
+ @apply transition-colors;
112
+ }
113
+
114
+ .ui-chip-alt[data-selected] {
115
+ @apply bg-dark-grey text-white;
116
+ }
117
+ .ui-chip-alt[data-selected]:hover {
118
+ @apply bg-gui-hover text-white;
119
+ }
120
+
121
+ .ui-chip-alt[data-selected]:focus {
122
+ @apply bg-gui-active text-white;
123
+ }
124
+ }
@@ -0,0 +1,64 @@
1
+ @layer components {
2
+ .ui-checkbox-p1 {
3
+ @apply flex items-start mb-16 font-sans font-medium;
4
+ }
5
+
6
+ .ui-checkbox-p2 {
7
+ @apply flex items-start mb-12 font-sans font-medium;
8
+ }
9
+
10
+ .ui-checkbox-input {
11
+ @apply opacity-0 absolute h-20 w-20;
12
+ }
13
+
14
+ .ui-checkbox-styled {
15
+ @apply w-20 h-20 mr-16;
16
+ @apply bg-white flex flex-shrink-0 justify-center items-center;
17
+ @apply border border-dark-grey rounded-md focus-within:border-active-orange;
18
+ }
19
+
20
+ .ui-checkbox-styled-tick {
21
+ @apply hidden text-white;
22
+ }
23
+
24
+ .ui-checkbox-label-p1 {
25
+ @apply select-none;
26
+ @apply text-p1 font-medium text-cool-black;
27
+ }
28
+
29
+ .ui-checkbox-label-p2 {
30
+ @apply select-none;
31
+ @apply text-p2 font-medium text-cool-black;
32
+ }
33
+
34
+ .ui-checkbox-input:disabled + .ui-checkbox-styled {
35
+ @apply bg-gui-unavailable border;
36
+ }
37
+
38
+ .ui-checkbox-input:focus + .ui-checkbox-styled {
39
+ border-width: 0.125rem;
40
+ @apply border-gui-focus;
41
+ }
42
+
43
+ .ui-checkbox-input:checked + .ui-checkbox-styled {
44
+ @apply bg-active-orange border-dark-grey border;
45
+ }
46
+
47
+ .ui-checkbox-input:checked + .ui-checkbox-styled svg {
48
+ @apply block;
49
+ }
50
+
51
+ .ui-textarea {
52
+ @apply font-sans font-medium text-cool-black text-p1;
53
+ @apply p-input mb-16;
54
+ @apply bg-light-grey border-mid-grey transition-input border rounded block w-full;
55
+ @apply hover:bg-white hover:shadow-input hover:border-transparent;
56
+ @apply focus:bg-white focus:shadow-input focus:border-transparent focus:outline-gui-focus;
57
+ }
58
+
59
+ .ui-textarea::placeholder {
60
+ /* CSS vars don't work in ::placeholder in Webkit :( */
61
+ /* color: var(--text-dark-grey); */
62
+ color: #76767c;
63
+ }
64
+ }
@@ -0,0 +1,21 @@
1
+ @layer components {
2
+ .ui-standard-container {
3
+ @apply w-full max-w-screen-xl mx-auto px-24 sm:px-32 md:px-40 lg:px-64;
4
+ }
5
+
6
+ .ui-grid-gap {
7
+ @apply gap-8 sm:gap-16 md:gap-24 xl:gap-32;
8
+ }
9
+
10
+ .ui-grid-gap-x {
11
+ @apply gap-x-8 sm:gap-x-16 md:gap-x-24 xl:gap-x-32;
12
+ }
13
+
14
+ .ui-grid-px {
15
+ @apply px-24 sm:px-32 md:px-40 lg:px-64;
16
+ }
17
+
18
+ .ui-grid-mx {
19
+ @apply mx-24 sm:mx-32 md:mx-40 lg:mx-64;
20
+ }
21
+ }
@@ -0,0 +1,278 @@
1
+ @layer base {
2
+ :root {
3
+ /* Neutral colors */
4
+ --color-neutral-000: #ffffff;
5
+ --color-neutral-100: #f8fafc;
6
+ --color-neutral-200: #f4f8fb;
7
+ --color-neutral-300: #edf1f7;
8
+ --color-neutral-400: #e2e7ef;
9
+ --color-neutral-500: #c6ced9;
10
+ --color-neutral-600: #adb6c2;
11
+ --color-neutral-700: #89929f;
12
+ --color-neutral-800: #667085;
13
+ --color-neutral-900: #39414e;
14
+ --color-neutral-1000: #2b303b;
15
+ --color-neutral-1100: #202531;
16
+ --color-neutral-1200: #141924;
17
+ --color-neutral-1300: #03020d;
18
+
19
+ /* Ably orange */
20
+ --color-orange-100: #fff5f1;
21
+ --color-orange-200: #ffe3d8;
22
+ --color-orange-300: #ffc4ae;
23
+ --color-orange-400: #ff9c79;
24
+ --color-orange-500: #ff723f;
25
+ --color-orange-600: #ff5416;
26
+ --color-orange-700: #ff2739;
27
+ --color-orange-800: #e40000;
28
+ --color-orange-900: #b82202;
29
+ --color-orange-1000: #751500;
30
+ --color-orange-1100: #2a0b00;
31
+
32
+ /* Secondary colours */
33
+ --color-yellow-100: #fffbef;
34
+ --color-yellow-200: #fff0ba;
35
+ --color-yellow-300: #ffe27c;
36
+ --color-yellow-400: #ffd43d;
37
+ --color-yellow-500: #f8c100;
38
+ --color-yellow-600: #e8a700;
39
+ --color-yellow-700: #ac8600;
40
+ --color-yellow-800: #654f00;
41
+ --color-yellow-900: #291c01;
42
+ --color-green-100: #f1fff1;
43
+ --color-green-200: #b8ffbb;
44
+ --color-green-300: #80ff85;
45
+ --color-green-400: #08ff13;
46
+ --color-green-500: #00e80b;
47
+ --color-green-600: #00c008;
48
+ --color-green-700: #008e06;
49
+ --color-green-800: #005303;
50
+ --color-green-900: #002a02;
51
+ --color-blue-100: #f1fbff;
52
+ --color-blue-200: #b8eaff;
53
+ --color-blue-300: #80d9ff;
54
+ --color-blue-400: #4ad4ff;
55
+ --color-blue-500: #2cc0ff;
56
+ --color-blue-600: #00a5ec;
57
+ --color-blue-700: #0284cd;
58
+ --color-blue-800: #004b75;
59
+ --color-blue-900: #001b2a;
60
+ --color-violet-100: #f7f2fe;
61
+ --color-violet-200: #d8bcfb;
62
+ --color-violet-300: #b986f8;
63
+ --color-violet-400: #9951f5;
64
+ --color-violet-500: #7a1bf2;
65
+ --color-violet-600: #5f0bc9;
66
+ --color-violet-700: #460894;
67
+ --color-violet-800: #2d055e;
68
+ --color-violet-900: #130228;
69
+ --color-pink-100: #fff1fc;
70
+ --color-pink-200: #ffb8f1;
71
+ --color-pink-300: #ff80e6;
72
+ --color-pink-400: #ff47db;
73
+ --color-pink-500: #ff17d2;
74
+ --color-pink-600: #d400ab;
75
+ --color-pink-700: #9c007e;
76
+ --color-pink-800: #630050;
77
+ --color-pink-900: #2a0022;
78
+
79
+ /* GUI colours */
80
+ /* Note: The ‘Light and ‘Dark’ refers to the colour of the background on which the colour is used. */
81
+ --color-gui-blue-default-light: #006edc;
82
+ --color-gui-blue-hover-light: #0862b9;
83
+ --color-gui-blue-active-light: #074095;
84
+ --color-gui-blue-default-dark: #4da6ff;
85
+ --color-gui-blue-hover-dark: #2894ff;
86
+ --color-gui-blue-active-dark: #0080ff;
87
+ --color-gui-blue-focus: #80b9f2;
88
+ --color-gui-unavailable: #a8a8a8;
89
+ --color-gui-success-green: #11cb24;
90
+ --color-gui-error-red: #fb0c0c;
91
+ --color-gui-focus: #80b9f2;
92
+ --color-gui-focus-outline: #80b9f2;
93
+ --color-gui-visited: #4887c2;
94
+
95
+ /* Colours replaced by neutral colours */
96
+ --color-white: var(--color-neutral-000);
97
+ --color-extra-light-grey: var(--color-neutral-100);
98
+ --color-light-grey: var(--color-neutral-200);
99
+ --color-mid-grey: var(--color-neutral-500);
100
+ --color-dark-grey: var(--color-neutral-800);
101
+ --color-charcoal-grey: var(--color-neutral-1000);
102
+ --color-cool-black: var(--color-neutral-1300);
103
+
104
+ /* Colours replaced by orange colours */
105
+ --color-active-orange: var(--color-orange-600);
106
+ --color-bright-red: var(--color-orange-700);
107
+ --color-red-orange: var(--color-orange-800);
108
+
109
+ /* Colours replaced by secondary colours */
110
+ --color-electric-cyan: var(--color-blue-400);
111
+ --color-zingy-green: var(--color-green-400);
112
+ --color-jazzy-pink: var(--color-pink-500);
113
+
114
+ /* Colours replaced by GUI colours */
115
+ --color-gui-default: var(--color-gui-blue-default-light);
116
+ --color-gui-hover: var(--color-gui-blue-hover-light);
117
+ --color-gui-active: var(--color-gui-blue-active-light);
118
+ --color-gui-error: var(--color-gui-error-red);
119
+ --color-gui-success: var(--color-gui-success-green);
120
+ --color-gui-default-dark: var(--color-gui-blue-default-dark);
121
+ --color-gui-hover-dark: var(--color-gui-blue-hover-dark);
122
+ --color-gui-active-dark: var(--color-gui-blue-active-dark);
123
+
124
+ /* code syntax: theme */
125
+ --syntax-black: var(--color-neutral-1300);
126
+ --syntax-dark-grey: var(--color-neutral-800);
127
+ --syntax-mid-grey: var(--color-neutral-500);
128
+ --syntax-light-grey: var(--color-neutral-200);
129
+ --syntax-extra-light-grey: var(--color-neutral-100);
130
+ --syntax-orange: #e78c45;
131
+ --syntax-yellow: #e7c547;
132
+ --syntax-blue: #3490ec;
133
+ --syntax-green: #b9ca4a;
134
+ --syntax-red: #d54e53;
135
+ --syntax-lilac: #bb87d3;
136
+
137
+ /* flat colors for social icons */
138
+ --icon-color-linkedin: #1269bf;
139
+ --icon-color-twitter: #2caae1;
140
+ --icon-color-glassdoor: #0baa41;
141
+ --icon-color-github: #000000;
142
+ --icon-color-discord: #5865f2;
143
+ --icon-color-stackoverflow: #f48024;
144
+ --icon-color-youtube: #ff0000;
145
+
146
+ --gradient-active-orange: linear-gradient(
147
+ 61.2deg,
148
+ var(--color-active-orange) 10.46%,
149
+ #fe5215 38.63%,
150
+ #fc4a13 54.38%,
151
+ #f73c10 67.07%,
152
+ #f1280a 78.13%,
153
+ #e90f04 88.02%,
154
+ var(--color-red-orange) 92.73%
155
+ );
156
+
157
+ /* Used for smooth transitions from gradient to non-gradient backgrounds */
158
+ --gradient-transparent: linear-gradient(
159
+ 0deg,
160
+ rgba(255, 255, 255, 0),
161
+ rgba(255, 255, 255, 0)
162
+ );
163
+
164
+ --gradient-hot-pink: linear-gradient(
165
+ 80.2deg,
166
+ var(--color-orange-700) 0%,
167
+ var(--color-jazzy-pink) 100%
168
+ );
169
+
170
+ --fs-title-xl: 3rem;
171
+ --fs-title: 2.75rem;
172
+ --fs-title-xs: 2.5rem;
173
+ --fs-h1-xl: 2.5rem;
174
+ --fs-h1: 2.25rem;
175
+ --fs-h1-xs: 2rem;
176
+
177
+ --fs-h2-xl: 2.125rem;
178
+ --fs-h2: 2rem;
179
+ --fs-h2-xs: 1.75rem;
180
+
181
+ --fs-h3: 1.5rem;
182
+ --fs-h4: 1.25rem;
183
+ --fs-h5: 1rem;
184
+
185
+ --fs-p1: 1rem;
186
+ --fs-p2: 0.938rem;
187
+ --fs-p3: 0.875rem;
188
+ --fs-standfirst-xl: 2.25rem;
189
+ --fs-standfirst: 1.5rem;
190
+ --fs-sub-header: 1.125rem;
191
+ --fs-sub-header-xs: 1.063rem;
192
+ --fs-overline1: 1rem;
193
+ --fs-overline2: 0.875rem;
194
+ --fs-btn1: 1rem;
195
+ --fs-btn2: 0.938rem;
196
+ --fs-btn3: 0.875rem;
197
+ --fs-menu1: 1rem;
198
+ --fs-menu2: 0.938rem;
199
+ --fs-menu3: 0.875rem;
200
+ --fs-quote: 1.25rem;
201
+ --fs-code: 0.938rem;
202
+ --fs-code2: 0.813rem;
203
+
204
+ --lh-dense: 1;
205
+ --lh-tight: 1.125;
206
+ --lh-snug: 1.15;
207
+ --lh-min-normal: 1.2;
208
+ --lh-normal: 1.25;
209
+ --lh-relaxed: 1.45;
210
+ --lh-extra-relaxed: 1.6;
211
+
212
+ --ls-tighten-0_025: -0.025em;
213
+ --ls-tighten-0_02: -0.02em;
214
+ --ls-tighten-0_015: -0.015em;
215
+ --ls-tighten-0_01: -0.01em;
216
+ --ls-tighten-0_005: -0.005em;
217
+ --ls-tighten-0_0025: -0.0025em;
218
+ --ls-tighten-0_0015: -0.0015em;
219
+ --ls-widen-0_1: 0.1em;
220
+ --ls-widen-0_16: 0.16em;
221
+ --ls-widen-0_15: 0.15em;
222
+
223
+ --spacing-0: 0px;
224
+ --spacing-1: 1px;
225
+ --spacing-2: 0.125rem;
226
+ --spacing-4: 0.25rem;
227
+ --spacing-6: 0.375rem;
228
+ --spacing-8: 0.5rem;
229
+ --spacing-12: 0.75rem;
230
+ --spacing-14: 0.875rem;
231
+ --spacing-16: 1rem;
232
+ --spacing-20: 1.25rem;
233
+ --spacing-24: 1.5rem;
234
+ --spacing-32: 2rem;
235
+ --spacing-36: 2.25rem;
236
+ --spacing-40: 2.5rem;
237
+ --spacing-48: 3rem;
238
+ --spacing-64: 4rem;
239
+ --spacing-72: 4.5rem;
240
+ --spacing-80: 5rem;
241
+ --spacing-88: 5.5rem;
242
+ --spacing-96: 6rem;
243
+ --spacing-128: 8rem;
244
+ --spacing-160: 10rem;
245
+ --spacing-256: 16rem;
246
+
247
+ --spacing-btn-small: 0.875rem 1.25rem; /* 14px 16px */
248
+ --spacing-btn-xsmall: 0.875rem 1rem; /* 14px 16px */
249
+ --spacing-btn: 0.875rem 1.5rem; /* 14px 24px */
250
+ --spacing-btn-large: 0.875rem 1.75rem; /* 14px 28px */
251
+ --spacing-menu-row: 0.625rem 0.5rem 0.6875rem; /* 10px 8px 11px */
252
+ --spacing-menu-row-snug: 0.4375rem 0.5rem 0.375rem; /* 7px 8px 6px */
253
+ --spacing-menu-row-title: 0.6875rem 0.5rem; /* 11px 8px */
254
+ --spacing-media: 0.5rem; /* 8px */
255
+ --spacing-input: 0.8125rem 1rem 0.75rem; /* 13px 16px 12px */
256
+ --spacing-overline: 0.6875rem 0; /* 11px 0 */
257
+ --spacing-chip-xsmall: 0.375rem 0.5rem; /* 6px 8px */
258
+ --spacing-chip-small: 0.5rem 0.75rem; /* 8px 12px */
259
+ --spacing-chip: 0.75rem 1rem; /* 6px 8px */
260
+ --spacing-chip-large: 1rem 1.25rem; /* 16px 20px */
261
+ --spacing-inline-code: 0.375rem 0.5rem; /* 6px 8px */
262
+
263
+ /* In components, when looking at implementing viewport margin and spacing between elements,
264
+ the values in the comments can be used as guide as they represent the grid the elements (should) sit on.
265
+ alternatively, look for ui-grid-* helpers. */
266
+ --bp-xs: 428px; /* gutters 8px, side-margin 24px */
267
+ --bp-sm: 768px; /* gutters 16px, side-margin 32px */
268
+ --bp-md: 1040px; /* gutters 24px, side-margin 40px, meganav desktop */
269
+ --bp-lg: 1280px; /* gutters 24px, side-margin 64px */
270
+ --bp-xl: 1440px; /* gutters 32px, side-margin 64px */
271
+
272
+ /* Page stacking context. If components create new stacking contexts z-index values should be defined within them. */
273
+ --stacking-context-page-meganav: 100;
274
+
275
+ /* Expose component values for cross-component usage */
276
+ --ui-meganav-height: 4rem;
277
+ }
278
+ }
@@ -0,0 +1,168 @@
1
+ @layer components {
2
+ .ui-text-title {
3
+ @apply font-sans font-extrabold text-cool-black;
4
+ @apply text-title-xs xs:text-title xl:text-title-xl;
5
+ @apply tracking-tighten-0.015 xs:tracking-tighten-0.02 xl:tracking-tighten-0.02;
6
+ }
7
+
8
+ .ui-text-h1 {
9
+ @apply font-sans font-extrabold text-cool-black;
10
+ @apply text-h1-xs xs:text-h1 xl:text-h1-xl;
11
+ @apply tracking-tighten-0.0125 xs:tracking-tighten-0.015;
12
+ }
13
+
14
+ .ui-text-h2 {
15
+ @apply font-sans font-extrabold text-cool-black;
16
+ @apply text-h2-xs xs:text-h2 xl:text-h2-xl;
17
+ @apply tracking-tighten-0.015 xs:tracking-tighten-0.01;
18
+ }
19
+
20
+ .ui-text-h3 {
21
+ @apply font-sans font-extrabold text-cool-black;
22
+ @apply text-h3;
23
+ @apply tracking-tighten-0.005;
24
+ }
25
+
26
+ .ui-text-h4 {
27
+ @apply font-sans font-extrabold text-cool-black;
28
+ @apply text-h4;
29
+ @apply tracking-tighten-0.0015;
30
+ }
31
+
32
+ .ui-text-h5 {
33
+ @apply font-sans font-extrabold text-cool-black;
34
+ @apply text-h5;
35
+ @apply tracking-tighten-0.0025;
36
+ }
37
+
38
+ .ui-text-p1 {
39
+ @apply font-sans font-medium text-charcoal-grey;
40
+ @apply text-p1;
41
+ }
42
+
43
+ .ui-text-p2 {
44
+ @apply font-sans font-medium text-charcoal-grey;
45
+ @apply text-p2;
46
+ }
47
+
48
+ .ui-text-p3 {
49
+ @apply font-sans font-medium text-charcoal-grey;
50
+ @apply text-p3;
51
+ }
52
+
53
+ .ui-text-standfirst {
54
+ @apply font-sans font-light text-active-orange;
55
+ @apply text-standfirst xl:text-standfirst-xl;
56
+ @apply tracking-tighten-0.025 xl:tracking-tighten-0.015;
57
+ }
58
+
59
+ .ui-text-quote {
60
+ @apply font-sans font-normal text-cool-black;
61
+ @apply text-quote leading-normal;
62
+ @apply tracking-tighten-0.0015;
63
+ }
64
+
65
+ .ui-text-sub-header {
66
+ @apply font-sans font-semibold text-neutral-800;
67
+ @apply text-sub-header-xs xs:text-sub-header leading-normal;
68
+ }
69
+
70
+ .ui-text-overline1 {
71
+ @apply font-mono font-medium text-active-orange uppercase;
72
+ @apply text-overline1 leading-normal;
73
+ @apply tracking-widen-0.16;
74
+ }
75
+
76
+ .ui-text-overline2 {
77
+ @apply font-mono font-medium text-active-orange uppercase;
78
+ @apply text-overline2 leading-normal;
79
+ @apply tracking-widen-0.16;
80
+ }
81
+
82
+ .ui-text-menu1 {
83
+ @apply font-sans font-medium text-cool-black;
84
+ @apply text-menu1 leading-snug;
85
+ }
86
+
87
+ .ui-text-menu2 {
88
+ @apply font-sans font-medium text-cool-black;
89
+ @apply text-menu2 leading-snug;
90
+ }
91
+
92
+ .ui-text-menu3 {
93
+ @apply font-sans font-medium text-cool-black;
94
+ @apply text-menu3 leading-snug;
95
+ }
96
+
97
+ .ui-text-code {
98
+ @apply font-mono font-normal text-code;
99
+ }
100
+
101
+ .ui-text-code2 {
102
+ @apply font-mono font-normal text-code2;
103
+ }
104
+
105
+ .ui-text-code-inline {
106
+ @apply font-mono font-normal text-code text-charcoal-grey bg-light-grey p-inline-code rounded-sm mx-1;
107
+ }
108
+
109
+ .ui-unordered-list {
110
+ @apply text-p1 font-medium text-charcoal-grey;
111
+ @apply ml-32 my-16;
112
+ @apply list-disc;
113
+ }
114
+
115
+ .ui-ordered-list {
116
+ @apply text-p1 font-medium text-charcoal-grey;
117
+ @apply ml-32 my-16;
118
+ @apply list-decimal;
119
+ }
120
+
121
+ .ui-ordered-list li,
122
+ .ui-unordered-list li {
123
+ @apply mb-8;
124
+ }
125
+
126
+ .ui-unordered-list li > *:last-of-type:not(ul):not(ol),
127
+ .ui-ordered-list li > *:last-of-type:not(ul):not(ol) {
128
+ margin-bottom: 0;
129
+ }
130
+
131
+ .ui-unordered-list ul {
132
+ @apply ml-24 my-8 list-circle;
133
+ }
134
+
135
+ .ui-ordered-list ol {
136
+ @apply ml-24 my-16 list-decimal;
137
+ }
138
+
139
+ .ui-unordered-list ul ul {
140
+ @apply list-square my-8;
141
+ }
142
+
143
+ .ui-unordered-list ul ul {
144
+ @apply my-8;
145
+ }
146
+
147
+ .ui-link {
148
+ @apply text-gui-default;
149
+ @apply hover:text-gui-hover active:text-gui-active disabled:text-gui-unavailable;
150
+ @apply focus:text-gui-default focus:outline-gui-focus;
151
+ @apply no-underline;
152
+ }
153
+
154
+ .ui-link-neutral {
155
+ @apply hover:text-dark-grey active:text-cool-black disabled:text-gui-unavailable;
156
+ @apply focus:text-charcoal-grey;
157
+ @apply underline;
158
+ }
159
+
160
+ /* focus:outline-gui-focus-neutral does not get created under Tailwind 3.3.5, not sure why */
161
+ .ui-link-neutral:focus {
162
+ outline: 2px solid var(--color-neutral-000);
163
+ }
164
+
165
+ .ui-figcaption {
166
+ @apply font-mono text-p3 text-neutral-800;
167
+ }
168
+ }
@@ -0,0 +1 @@
1
+ @import "./styles/properties.css";
@@ -0,0 +1,35 @@
1
+ @import "./styles/buttons.css";
2
+ @import "./styles/layout.css";
3
+ @import "./styles/text.css";
4
+ @import "./styles/forms.css";
5
+
6
+ @layer components {
7
+ .ui-input {
8
+ @apply text-p2 font-medium bg-light-grey rounded p-input w-full leading-none appearance-none border border-mid-grey transition-input;
9
+ @apply hover:bg-white hover:shadow-input hover:border-transparent;
10
+ @apply focus:bg-white focus:shadow-input focus:border-transparent focus:outline-gui-focus;
11
+ @apply max-w-screen-sm;
12
+ }
13
+
14
+ /* Basis for icon component */
15
+ .ui-icon-cool-black {
16
+ stroke: var(--color-cool-black);
17
+ }
18
+
19
+ .ui-icon-white {
20
+ stroke: var(--color-white);
21
+ }
22
+
23
+ .ui-icon-dark-grey {
24
+ stroke: var(--color-dark-grey);
25
+ }
26
+
27
+ .ui-version-tag {
28
+ @apply inline-block absolute align-top uppercase font-bold whitespace-nowrap;
29
+
30
+ position: relative;
31
+ vertical-align: super;
32
+ margin-left: 3px;
33
+ font-size: 8px;
34
+ }
35
+ }