@ably/ui 13.2.2 → 14.0.0-dev.fbce38f

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