@ably/ui 14.0.4 → 14.0.6

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 (281) hide show
  1. package/core/Flash.js +1 -1
  2. package/core/styles/forms.css +4 -4
  3. package/core/styles/toggles.css +38 -0
  4. package/core/styles.components.css +1 -0
  5. package/package.json +15 -18
  6. package/tailwind.config.js +3 -0
  7. package/src/core/Accordion/Accordion.stories.tsx +0 -39
  8. package/src/core/Accordion.tsx +0 -149
  9. package/src/core/Code/Code.stories.tsx +0 -71
  10. package/src/core/Code/component.css +0 -1
  11. package/src/core/Code/component.js +0 -27
  12. package/src/core/Code.tsx +0 -44
  13. package/src/core/ConnectStateWrapper.tsx +0 -43
  14. package/src/core/ContactFooter/ContactFooter.stories.tsx +0 -11
  15. package/src/core/ContactFooter/component.css +0 -11
  16. package/src/core/ContactFooter/component.js +0 -2
  17. package/src/core/ContactFooter.tsx +0 -91
  18. package/src/core/CookieMessage/CookieMessage.stories.tsx +0 -12
  19. package/src/core/CookieMessage/component.css +0 -15
  20. package/src/core/CookieMessage.tsx +0 -52
  21. package/src/core/CustomerLogos/CustomerLogos.stories.tsx +0 -43
  22. package/src/core/CustomerLogos.tsx +0 -35
  23. package/src/core/DropdownMenu/DropdownMenu.stories.tsx +0 -48
  24. package/src/core/DropdownMenu.tsx +0 -140
  25. package/src/core/Expander/Expander.stories.tsx +0 -132
  26. package/src/core/Expander.tsx +0 -63
  27. package/src/core/FeaturedLink/FeaturedLink.stories.tsx +0 -43
  28. package/src/core/FeaturedLink.tsx +0 -93
  29. package/src/core/Flash/Flash.stories.tsx +0 -37
  30. package/src/core/Flash/component.css +0 -28
  31. package/src/core/Flash.tsx +0 -233
  32. package/src/core/Footer/Footer.stories.tsx +0 -26
  33. package/src/core/Footer/component.css +0 -33
  34. package/src/core/Footer.tsx +0 -535
  35. package/src/core/Icon/Icon.stories.tsx +0 -151
  36. package/src/core/Icon.tsx +0 -26
  37. package/src/core/Loader/Loader.stories.tsx +0 -21
  38. package/src/core/Loader.tsx +0 -52
  39. package/src/core/Logo/Logo.stories.tsx +0 -12
  40. package/src/core/Logo.tsx +0 -29
  41. package/src/core/Meganav/Meganav.stories.tsx +0 -86
  42. package/src/core/Meganav/component.css +0 -114
  43. package/src/core/Meganav/component.js +0 -150
  44. package/src/core/Meganav/component.json +0 -37
  45. package/src/core/Meganav.tsx +0 -225
  46. package/src/core/MeganavBlogPostsList/component.js +0 -43
  47. package/src/core/MeganavBlogPostsList.tsx +0 -41
  48. package/src/core/MeganavContentCompany.tsx +0 -166
  49. package/src/core/MeganavContentDevelopers.tsx +0 -210
  50. package/src/core/MeganavContentProducts.tsx +0 -163
  51. package/src/core/MeganavContentUseCases.tsx +0 -244
  52. package/src/core/MeganavControl/component.js +0 -117
  53. package/src/core/MeganavControl.tsx +0 -39
  54. package/src/core/MeganavControlMobileDropdown/component.js +0 -46
  55. package/src/core/MeganavControlMobileDropdown.tsx +0 -31
  56. package/src/core/MeganavControlMobilePanelClose/component.js +0 -36
  57. package/src/core/MeganavControlMobilePanelClose.tsx +0 -34
  58. package/src/core/MeganavControlMobilePanelOpen/component.js +0 -59
  59. package/src/core/MeganavControlMobilePanelOpen.tsx +0 -31
  60. package/src/core/MeganavItemsDesktop.tsx +0 -68
  61. package/src/core/MeganavItemsMobile.tsx +0 -197
  62. package/src/core/MeganavItemsSignedIn.tsx +0 -130
  63. package/src/core/MeganavSearch.tsx +0 -36
  64. package/src/core/MeganavSearchAutocomplete/component.js +0 -177
  65. package/src/core/MeganavSearchAutocomplete.tsx +0 -12
  66. package/src/core/MeganavSearchPanel.tsx +0 -52
  67. package/src/core/MeganavSearchSuggestions/component.js +0 -133
  68. package/src/core/MeganavSearchSuggestions.tsx +0 -62
  69. package/src/core/Notice/component.css +0 -7
  70. package/src/core/Notice/component.js +0 -154
  71. package/src/core/Notice.tsx +0 -102
  72. package/src/core/SignOutLink.tsx +0 -51
  73. package/src/core/Slider/Slider.stories.tsx +0 -98
  74. package/src/core/Slider/component.css +0 -40
  75. package/src/core/Slider/component.js +0 -105
  76. package/src/core/Slider.tsx +0 -224
  77. package/src/core/Table/Table.stories.tsx +0 -12
  78. package/src/core/Table/Table.tsx +0 -58
  79. package/src/core/Table/TableCell.tsx +0 -71
  80. package/src/core/Table/TableRow.tsx +0 -25
  81. package/src/core/Table/data.tsx +0 -133
  82. package/src/core/Table.tsx +0 -15
  83. package/src/core/Tooltip/Tooltip.stories.tsx +0 -27
  84. package/src/core/Tooltip.tsx +0 -88
  85. package/src/core/css.js +0 -3
  86. package/src/core/dom-query.js +0 -5
  87. package/src/core/fonts/NEXT-Book-Light-Italic.eot +0 -0
  88. package/src/core/fonts/NEXT-Book-Light-Italic.otf +0 -0
  89. package/src/core/fonts/NEXT-Book-Light-Italic.woff +0 -0
  90. package/src/core/fonts/NEXT-Book-Light-Italic.woff2 +0 -0
  91. package/src/core/fonts/NEXT-Book-Light.eot +0 -0
  92. package/src/core/fonts/NEXT-Book-Light.otf +0 -0
  93. package/src/core/fonts/NEXT-Book-Light.woff +0 -0
  94. package/src/core/fonts/NEXT-Book-Light.woff2 +0 -0
  95. package/src/core/fonts/NEXT-Book-Medium-Italic.eot +0 -0
  96. package/src/core/fonts/NEXT-Book-Medium-Italic.otf +0 -0
  97. package/src/core/fonts/NEXT-Book-Medium-Italic.woff +0 -0
  98. package/src/core/fonts/NEXT-Book-Medium-Italic.woff2 +0 -0
  99. package/src/core/fonts/NEXT-Book-Medium.eot +0 -0
  100. package/src/core/fonts/NEXT-Book-Medium.otf +0 -0
  101. package/src/core/fonts/NEXT-Book-Medium.woff +0 -0
  102. package/src/core/fonts/NEXT-Book-Medium.woff2 +0 -0
  103. package/src/core/fonts/jetBrains-mono.css +0 -3
  104. package/src/core/fonts/manrope.css +0 -3
  105. package/src/core/fonts/next.css +0 -63
  106. package/src/core/fonts/source-code-pro.css +0 -3
  107. package/src/core/hubspot-chat-toggle.js +0 -67
  108. package/src/core/icons/discord.svg +0 -10
  109. package/src/core/icons/facebook.svg +0 -4
  110. package/src/core/icons/github.svg +0 -3
  111. package/src/core/icons/glassdoor.svg +0 -3
  112. package/src/core/icons/google.svg +0 -3
  113. package/src/core/icons/icon-display-48hrs.svg +0 -3
  114. package/src/core/icons/icon-display-about-ably-col.svg +0 -4
  115. package/src/core/icons/icon-display-api-keys.svg +0 -3
  116. package/src/core/icons/icon-display-api.svg +0 -3
  117. package/src/core/icons/icon-display-asset-tracking-col.svg +0 -18
  118. package/src/core/icons/icon-display-browser.svg +0 -10
  119. package/src/core/icons/icon-display-calendar.svg +0 -3
  120. package/src/core/icons/icon-display-call-mobile.svg +0 -3
  121. package/src/core/icons/icon-display-careers-col.svg +0 -9
  122. package/src/core/icons/icon-display-case-studies-col.svg +0 -5
  123. package/src/core/icons/icon-display-chat-col.svg +0 -4
  124. package/src/core/icons/icon-display-chat-stack-col.svg +0 -4
  125. package/src/core/icons/icon-display-chat-stack.svg +0 -4
  126. package/src/core/icons/icon-display-cloud-servers.svg +0 -3
  127. package/src/core/icons/icon-display-compare-tech-col.svg +0 -9
  128. package/src/core/icons/icon-display-customers-col.svg +0 -15
  129. package/src/core/icons/icon-display-data-broadcast-col.svg +0 -26
  130. package/src/core/icons/icon-display-data-synchronization-col.svg +0 -14
  131. package/src/core/icons/icon-display-docs-col.svg +0 -7
  132. package/src/core/icons/icon-display-documentation.svg +0 -3
  133. package/src/core/icons/icon-display-events-col.svg +0 -13
  134. package/src/core/icons/icon-display-examples-col.svg +0 -11
  135. package/src/core/icons/icon-display-gdpr.svg +0 -3
  136. package/src/core/icons/icon-display-general-comms.svg +0 -3
  137. package/src/core/icons/icon-display-hipaa.svg +0 -10
  138. package/src/core/icons/icon-display-integrations-col.svg +0 -8
  139. package/src/core/icons/icon-display-it-support-access.svg +0 -3
  140. package/src/core/icons/icon-display-it-support-helpdesk.svg +0 -3
  141. package/src/core/icons/icon-display-kafka-at-the-edge-col.svg +0 -8
  142. package/src/core/icons/icon-display-laptop.svg +0 -10
  143. package/src/core/icons/icon-display-lightbulb-col.svg +0 -10
  144. package/src/core/icons/icon-display-live-chat.svg +0 -3
  145. package/src/core/icons/icon-display-map-pin.svg +0 -3
  146. package/src/core/icons/icon-display-message.svg +0 -3
  147. package/src/core/icons/icon-display-padlock-closed.svg +0 -3
  148. package/src/core/icons/icon-display-platform.svg +0 -22
  149. package/src/core/icons/icon-display-play.svg +0 -3
  150. package/src/core/icons/icon-display-privacy-shield-framework.svg +0 -7
  151. package/src/core/icons/icon-display-push-notifications-col.svg +0 -6
  152. package/src/core/icons/icon-display-quickstart-guides-col.svg +0 -8
  153. package/src/core/icons/icon-display-resources-col.svg +0 -21
  154. package/src/core/icons/icon-display-sdks-col.svg +0 -11
  155. package/src/core/icons/icon-display-servers.svg +0 -3
  156. package/src/core/icons/icon-display-shopping-cart.svg +0 -10
  157. package/src/core/icons/icon-display-sla.svg +0 -3
  158. package/src/core/icons/icon-display-soc2-type2.svg +0 -3
  159. package/src/core/icons/icon-display-tech-account-comms.svg +0 -3
  160. package/src/core/icons/icon-display-tutorials-demos-col.svg +0 -25
  161. package/src/core/icons/icon-display-virtual-events-col.svg +0 -12
  162. package/src/core/icons/icon-display-virtual-events.svg +0 -12
  163. package/src/core/icons/icon-gui-ably-badge.svg +0 -3
  164. package/src/core/icons/icon-gui-arrow-bidirectional-horizontal.svg +0 -3
  165. package/src/core/icons/icon-gui-arrow-bidirectional-vertical.svg +0 -3
  166. package/src/core/icons/icon-gui-arrow-down.svg +0 -3
  167. package/src/core/icons/icon-gui-arrow-left.svg +0 -3
  168. package/src/core/icons/icon-gui-arrow-right.svg +0 -3
  169. package/src/core/icons/icon-gui-arrow-up.svg +0 -3
  170. package/src/core/icons/icon-gui-burger-menu.svg +0 -5
  171. package/src/core/icons/icon-gui-check-circled-fill-black.svg +0 -4
  172. package/src/core/icons/icon-gui-check-circled-fill.svg +0 -4
  173. package/src/core/icons/icon-gui-check-circled.svg +0 -3
  174. package/src/core/icons/icon-gui-checklist-checked.svg +0 -3
  175. package/src/core/icons/icon-gui-clock.svg +0 -3
  176. package/src/core/icons/icon-gui-close.svg +0 -3
  177. package/src/core/icons/icon-gui-copy.svg +0 -10
  178. package/src/core/icons/icon-gui-cross-circled-fill.svg +0 -4
  179. package/src/core/icons/icon-gui-cross-circled.svg +0 -3
  180. package/src/core/icons/icon-gui-dash-circled.svg +0 -3
  181. package/src/core/icons/icon-gui-disclosure-arrow.svg +0 -3
  182. package/src/core/icons/icon-gui-document-generic.svg +0 -3
  183. package/src/core/icons/icon-gui-enlarge.svg +0 -3
  184. package/src/core/icons/icon-gui-external-link.svg +0 -3
  185. package/src/core/icons/icon-gui-filter-flow-step-1.svg +0 -5
  186. package/src/core/icons/icon-gui-filter-flow-step-2.svg +0 -5
  187. package/src/core/icons/icon-gui-filter-flow-step-3.svg +0 -5
  188. package/src/core/icons/icon-gui-history.svg +0 -3
  189. package/src/core/icons/icon-gui-info.svg +0 -3
  190. package/src/core/icons/icon-gui-link-arrow.svg +0 -3
  191. package/src/core/icons/icon-gui-link.svg +0 -4
  192. package/src/core/icons/icon-gui-live-chat.svg +0 -3
  193. package/src/core/icons/icon-gui-minus.svg +0 -3
  194. package/src/core/icons/icon-gui-partial.svg +0 -4
  195. package/src/core/icons/icon-gui-plus.svg +0 -3
  196. package/src/core/icons/icon-gui-quote-marks-solid.svg +0 -3
  197. package/src/core/icons/icon-gui-refresh.svg +0 -10
  198. package/src/core/icons/icon-gui-resources.svg +0 -3
  199. package/src/core/icons/icon-gui-search.svg +0 -3
  200. package/src/core/icons/icon-gui-tick.svg +0 -3
  201. package/src/core/icons/icon-gui-warning.svg +0 -5
  202. package/src/core/icons/icon-live-updates-results-metrics-col.svg +0 -26
  203. package/src/core/icons/icon-multi-user-spaces-col.svg +0 -13
  204. package/src/core/icons/icon-social-x.svg +0 -3
  205. package/src/core/icons/icon-tech-apachekafka.svg +0 -3
  206. package/src/core/icons/linkedin.svg +0 -3
  207. package/src/core/icons/quote.svg +0 -3
  208. package/src/core/icons/stackoverflow.svg +0 -3
  209. package/src/core/icons/twitter.svg +0 -3
  210. package/src/core/icons/youtube.svg +0 -11
  211. package/src/core/icons.js +0 -6
  212. package/src/core/images/ably-logo.png +0 -0
  213. package/src/core/images/ably-logo.svg +0 -15
  214. package/src/core/images/ably-stack.svg +0 -14
  215. package/src/core/images/best-support-2023.svg +0 -1
  216. package/src/core/images/cust-logo-ao-col-pos.png +0 -0
  217. package/src/core/images/cust-logo-ao-col-pos@2x.png +0 -0
  218. package/src/core/images/cust-logo-ausopen-col-pos.png +0 -0
  219. package/src/core/images/cust-logo-ausopen-col-pos@2x.png +0 -0
  220. package/src/core/images/cust-logo-ausopen-mono-pos.svg +0 -5
  221. package/src/core/images/cust-logo-bloomberg-mono-pos.svg +0 -11
  222. package/src/core/images/cust-logo-hopin-mono-pos.svg +0 -4
  223. package/src/core/images/cust-logo-hubspot-col-pos.png +0 -0
  224. package/src/core/images/cust-logo-hubspot-col-pos@2x.png +0 -0
  225. package/src/core/images/cust-logo-hubspot-mono-pos.svg +0 -4
  226. package/src/core/images/cust-logo-lightspeed-col-pos.png +0 -0
  227. package/src/core/images/cust-logo-lightspeed-col-pos@2x.png +0 -0
  228. package/src/core/images/cust-logo-lightspeed-syst-col-pos.png +0 -0
  229. package/src/core/images/cust-logo-lightspeed-syst-col-pos@2x.png +0 -0
  230. package/src/core/images/cust-logo-mentimeter-mono-pos.svg +0 -17
  231. package/src/core/images/cust-logo-split-col-pos.png +0 -0
  232. package/src/core/images/cust-logo-split-col-pos@2x.png +0 -0
  233. package/src/core/images/cust-logo-split-mono-pos.svg +0 -9
  234. package/src/core/images/cust-logo-toyota-mono-pos.svg +0 -18
  235. package/src/core/images/cust-logo-vitac-col-pos.png +0 -0
  236. package/src/core/images/cust-logo-vitac-col-pos@2x.png +0 -0
  237. package/src/core/images/cust-logo-webflow-col-pos.svg +0 -3
  238. package/src/core/images/cust-photo-hubspot-max-freiert.jpg +0 -0
  239. package/src/core/images/cust-photo-split-pato-echague.jpg +0 -0
  240. package/src/core/images/cust-photo-vitac-joe-antonio.jpg +0 -0
  241. package/src/core/images/fastest-implementation-2023.svg +0 -1
  242. package/src/core/images/flexible-companies.png +0 -0
  243. package/src/core/images/high-performer-2022.png +0 -0
  244. package/src/core/images/high-performer-2023.svg +0 -1
  245. package/src/core/images/highest-user-adoption-2022.png +0 -0
  246. package/src/core/images/highest-user-adoption-2023.svg +0 -1
  247. package/src/core/images/icon-tech-aws.svg +0 -4
  248. package/src/core/images/rocket-list-2021.png +0 -0
  249. package/src/core/images/scale-motif-open-empathetic.svg +0 -1
  250. package/src/core/images/technical-support-01-800x533.jpg +0 -0
  251. package/src/core/images/users-love-us-2022.png +0 -0
  252. package/src/core/load-sprites.js +0 -11
  253. package/src/core/react-renderer.tsx +0 -29
  254. package/src/core/remote-blogs-posts.js +0 -42
  255. package/src/core/remote-data-store.js +0 -34
  256. package/src/core/remote-data-util.js +0 -4
  257. package/src/core/remote-session-data.js +0 -58
  258. package/src/core/scripts.js +0 -10
  259. package/src/core/styles/buttons.css +0 -124
  260. package/src/core/styles/forms.css +0 -64
  261. package/src/core/styles/layout.css +0 -21
  262. package/src/core/styles/properties.css +0 -278
  263. package/src/core/styles/text.css +0 -168
  264. package/src/core/styles.base.css +0 -1
  265. package/src/core/styles.components.css +0 -43
  266. package/src/core/styles.css +0 -2
  267. package/src/core/url-base.js +0 -7
  268. package/src/core/utils/syntax-highlighter-registry.js +0 -63
  269. package/src/core/utils/syntax-highlighter.css +0 -71
  270. package/src/core/utils/syntax-highlighter.js +0 -103
  271. package/src/pages/Buttons.mdx +0 -121
  272. package/src/pages/Chips.mdx +0 -136
  273. package/src/pages/Colour.mdx +0 -23
  274. package/src/pages/Forms.mdx +0 -173
  275. package/src/pages/Layout.mdx +0 -58
  276. package/src/pages/Typography.mdx +0 -206
  277. package/src/pages/utils.ts +0 -70
  278. package/src/reset/scripts.js +0 -1
  279. package/src/reset/styles/normalize.css +0 -353
  280. package/src/reset/styles/reset.css +0 -139
  281. package/src/reset/styles.css +0 -2
@@ -1,206 +0,0 @@
1
- import { Unstyled, Meta } from "@storybook/blocks";
2
-
3
- <Meta title="Brand/Typography" />
4
-
5
- <Unstyled>
6
- <section id="section-typography" className="mb-64">
7
- <h1 className="ui-text-h1 mb-32">Typography</h1>
8
- <p className="ui-text-p1 mb-32">
9
- Type definitions do not include margin as it can be contextual. Figma
10
- and the below list include recommended margins.
11
- </p>
12
- <p className="ui-text-p1 mb-32">
13
- The below list is created with ui-text-* helpers which include
14
- properties beyond the standard{" "}
15
- <code className="ui-inline-code">font-size</code> and{" "}
16
- <code className="ui-inline-code">line-height</code> that text-*
17
- includes.
18
- </p>
19
- <div className="mb-40">
20
- <hr className="m-0" />
21
- <p className="ui-text-title mt-64 mb-40 xs:mt-80 xs:mb-32 xl:mt-96 xl:mb-32">
22
- Title - this is a title
23
- </p>
24
- <hr className="m-0" />
25
- <p className="ui-text-h1 mb-40">H1 - this is an h1</p>
26
- <hr className="m-0" />
27
- <p className="ui-text-h2 mb-36">H2 - this is an h2</p>
28
- <hr className="m-0" />
29
- <p className="ui-text-h3 mb-24">H3 - this is an h3</p>
30
- <hr className="m-0" />
31
- <p className="ui-text-h4 mb-16">H4 - this is an h4</p>
32
- <hr className="m-0" />
33
- <p className="ui-text-h5 mb-16">H5 - this is an h5</p>
34
- <hr className="m-0" />
35
- <p className="ui-text-p1 mb-32">Paragraph 1</p>
36
- <hr className="m-0" />
37
- <p className="ui-text-p1 font-bold mb-32">Paragraph 1 (strong)</p>
38
- <hr className="m-0" />
39
- <p className="ui-text-p2 mb-24">Paragraph 2</p>
40
- <hr className="m-0" />
41
- <p className="ui-text-p2 font-bold mb-24">Paragraph 2 (strong)</p>
42
- <hr className="m-0" />
43
- <p className="ui-text-p3 mb-24">Paragraph 3</p>
44
- <hr className="m-0" />
45
- <p className="ui-text-p3 font-bold mb-24">Paragraph 3 (strong)</p>
46
- <hr className="m-0" />
47
- <p className="ui-figcaption mb-16">This is a figure caption style</p>
48
- <hr className="m-0" />
49
-
50
- <p className="ui-text-quote mb-24">Quote</p>
51
- <hr className="m-0" />
52
- <p className="ui-text-sub-header mb-40 xs:mb-48">Sub-header</p>
53
- <hr className="m-0" />
54
- <p className="ui-text-overline1 mb-12">Overline 1</p>
55
- <hr className="m-0" />
56
- <p className="ui-text-overline2 mb-8">Overline 2</p>
57
- <hr className="m-0" />
58
- <p className="ui-text-menu1">Menu label 1</p>
59
- <hr className="m-0" />
60
- <p className="ui-text-menu1 font-bold">Menu label 1 (strong)</p>
61
- <hr className="m-0" />
62
- <p className="ui-text-menu2">Menu label 2</p>
63
- <hr className="m-0" />
64
- <p className="ui-text-menu2 font-bold">Menu label 2 (strong)</p>
65
- <hr className="m-0" />
66
- <p className="ui-text-menu3">Menu label 3</p>
67
- <hr className="m-0" />
68
- <p className="ui-text-menu3 font-bold">Menu label 3 (strong)</p>
69
- <hr className="m-0" />
70
- <p className="ui-text-code">Code 1 font for code blocks</p>
71
- <hr className="m-0" />
72
- <p className="ui-text-code2">Code 2 font for code blocks</p>
73
- <hr className="m-0" />
74
- <p className="ui-text-p1 mt-12 mb-12">
75
- Text, then styling for{" "}
76
- <span className="ui-text-code-inline">inline code</span>, within
77
- paragraphs.
78
- </p>
79
- <hr className="m-0" />
80
-
81
- </div>
82
-
83
- {" "}
84
-
85
- {" "}
86
-
87
- <div className="mb-40">
88
- <h3 className="ui-text-h2 mb-24">Links</h3>
89
- <p className="ui-text-p1 mb-24">
90
- The default text color is inherited from the surrounding text.
91
- </p>
92
- <div className="flex flex-wrap">
93
- <div className="p-16 mb-16 mr-16 border rounded">
94
- <p className="ui-text-p1 text-charcoal-grey">
95
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec
96
- odio. Class aptent taciti sociosqu ad litora torquent per conubia
97
- nostra, <a href="/xyz" className="ui-link"> per inceptos himenaeos</a>.
98
- </p>
99
- </div>
100
- <div className="p-16 mb-16 mr-16 border rounded bg-cool-black">
101
- <p className="ui-text-p1 text-white">
102
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec
103
- odio. Class aptent taciti sociosqu ad litora torquent per conubia
104
- nostra, <a href="/123" className="ui-link"> per inceptos himenaeos</a>.
105
- </p>
106
- </div>
107
- <div className="p-16 mb-16 mr-16 border rounded bg-jazzy-pink">
108
- <p className="ui-text-p1 text-charcoal-grey">
109
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec
110
- odio. Class aptent taciti sociosqu ad litora torquent per conubia
111
- nostra <a href="/123" className="ui-link-neutral">per inceptos himenaeos</a>.
112
- </p>
113
- </div>
114
- </div>
115
- </div>
116
-
117
- <div className="mb-40">
118
- <h3 className="ui-text-h2 mb-24">Lists</h3>
119
- <p className="ui-text-p1 mb-24">
120
- Note that lists support having li items and li items with children,
121
- while keeping the same margin (in these examples, the ordered list has
122
- paragraphs).
123
- </p>
124
-
125
- <div className="mb-40">
126
- <h4 className="ui-text-h3 mb-16">Unordered</h4>
127
- <p className="ui-text-p1">
128
- This is the preceding paragraph sed nisl id lectus scelerisque
129
- facilisis consectetur eget nisl. Morbi scelerisque felis vel
130
- ullamcorper viverra. In id ante quis quam sodales auctor in a ante.
131
- Maecenas faucibus, diam sit amet sollicitudin pellentesque, est
132
- nulla pellentesque sapien.
133
- </p>
134
- <ul className="ui-unordered-list">
135
- <li>
136
- Pellentesque consequat elit eget tristique sagittis. Etiam et erat
137
- et lorem elementum commodo. Aenean congue diam a nibh accumsan
138
- tincidunt.
139
- <ul>
140
- <li>
141
- In id ante quis quam sodales auctor in a ante. Maecenas
142
- faucibus, diam sit amet sollicitudin pellentesque, est nulla
143
- pellentesque sapien.
144
- <ul>
145
- <li>Etiam et erat et lorem elementum commodo.</li>
146
- <li>Etiam et erat et lorem elementum commodo.</li>
147
- </ul>
148
- </li>
149
- </ul>
150
- </li>
151
- <li>Etiam et erat et lorem elementum commodo.</li>
152
- </ul>
153
- <p className="ui-text-p1 mb-24">
154
- This is the following paragraph sed nisl id lectus scelerisque
155
- facilisis consectetur eget nisl. Morbi scelerisque felis vel
156
- ullamcorper viverra. In id ante quis quam sodales auctor in a ante.
157
- Maecenas faucibus, diam sit amet sollicitudin pellentesque, est
158
- nulla pellentesque sapien.
159
- </p>
160
- </div>
161
-
162
- <div className="mb-40">
163
- <h4 className="ui-text-h3 mb-16">Ordered</h4>
164
- <p className="ui-text-p1">
165
- This is the preceding paragraph sed nisl id lectus scelerisque
166
- facilisis consectetur eget nisl. Morbi scelerisque felis vel
167
- ullamcorper viverra. In id ante quis quam sodales auctor in a ante.
168
- Maecenas faucibus, diam sit amet sollicitudin pellentesque, est
169
- nulla pellentesque sapien.
170
- </p>
171
- <ol className="ui-ordered-list">
172
- <li>
173
- <p>
174
- Pellentesque consequat elit eget tristique sagittis. Etiam et
175
- erat et lorem elementum commodo. Aenean congue diam a nibh
176
- accumsan tincidunt.
177
- </p>
178
- <ol>
179
- <li>
180
- <p>
181
- In id ante quis quam sodales auctor in a ante. Maecenas
182
- faucibus, diam sit amet sollicitudin pellentesque, est nulla
183
- pellentesque sapien.
184
- </p>
185
- <ol>
186
- <li>
187
- <p>Etiam et erat et lorem elementum commodo.</p>
188
- </li>
189
- </ol>
190
- </li>
191
- </ol>
192
- </li>
193
- </ol>
194
- <p className="ui-text-p1 mb-24">
195
- This is the following paragraph sed nisl id lectus scelerisque
196
- facilisis consectetur eget nisl. Morbi scelerisque felis vel
197
- ullamcorper viverra. In id ante quis quam sodales auctor in a ante.
198
- Maecenas faucibus, diam sit amet sollicitudin pellentesque, est
199
- nulla pellentesque sapien.
200
- </p>
201
- </div>
202
-
203
- </div>
204
-
205
- </section>
206
- </Unstyled>
@@ -1,70 +0,0 @@
1
- export const colours = [
2
- {
3
- name: "Primary",
4
- colours: [
5
- { bg: "bg-cool-black", name: "Cool Black", hex: "#03020D" },
6
- { bg: "bg-active-orange", name: "Active Orange", hex: "#FF5416" },
7
- { bg: "bg-white", name: "White", hex: "#FFFFFF" },
8
- ],
9
- },
10
- {
11
- name: "Secondary",
12
- colours: [
13
- { bg: "bg-electric-cyan", name: "Electric Cyan", hex: "#4AD4FF" },
14
- { bg: "bg-zingy-green", name: "Zingy Green", hex: "#08FF13" },
15
- { bg: "bg-bright-red", name: "Bright Red", hex: "#FE372B" },
16
- { bg: "bg-jazzy-pink", name: "Jazzy Pink", hex: "#FF17D2" },
17
- ],
18
- },
19
- {
20
- name: "Neutrals",
21
- colours: [
22
- { bg: "bg-extra-light-grey", name: "Extra Light Grey", hex: "#F8FAFC" },
23
- { bg: "bg-light-grey", name: "Light Grey", hex: "#F4F8FB" },
24
- { bg: "bg-mid-grey", name: "Mid Grey", hex: "#C6CED9" },
25
- { bg: "bg-dark-grey", name: "Dark Grey", hex: "#667085" },
26
- { bg: "bg-charcoal-grey", name: "Charcoal Grey", hex: "#2B303B" },
27
- { bg: "bg-neutral-500", name: "Neutral 500", hex: "#C6CED9" },
28
- { bg: "bg-neutral-900", name: "Neutral 900", hex: "#39414E" },
29
- ],
30
- },
31
- {
32
- name: "GUI",
33
- colours: [
34
- { bg: "bg-gui-default", name: "Default (Light)", hex: "#006EDC" },
35
- { bg: "bg-gui-hover", name: "Hover (Light)", hex: "#0862B9" },
36
- { bg: "bg-gui-active", name: "Active (Light)", hex: "#074095" },
37
- { bg: "bg-gui-default-dark", name: "Default (Dark)", hex: "#4DA6FF" },
38
- { bg: "bg-gui-hover-dark", name: "Hover (Dark)", hex: "#2894FF" },
39
- { bg: "bg-gui-active-dark", name: "Active (Dark)", hex: "#0080FF" },
40
- { bg: "bg-gui-blue-visited", name: "Visited", hex: "#4887c2" },
41
- { bg: "bg-gui-focus", name: "Focus", hex: "#80B9F2" },
42
- { bg: "bg-gui-focus-outline", name: "Focus Outline", hex: "#80B9F2" },
43
- { bg: "bg-gui-unavailable", name: "Unavailable", hex: "#a8a8a8" },
44
- { bg: "bg-gui-success", name: "Success", hex: "#11CB24" },
45
- { bg: "bg-gui-error", name: "Error", hex: "#FB0C0C" },
46
- ],
47
- },
48
- ];
49
-
50
- export const formsHtml = `
51
- <div class="ui-checkbox-p1">
52
- <input
53
- data-ui-checkbox-native
54
- type="checkbox"
55
- id="checkbox"
56
- name="checkbox"
57
- value="yes"
58
- class="ui-checkbox-input" />
59
-
60
- <div
61
- data-ui-checkbox-styled
62
- class="ui-checkbox-styled">
63
- <svg class="ui-checkbox-styled-tick">
64
- <use xlink:href="#sprite-icon-gui-tick"></use>
65
- </svg>
66
- </div>
67
-
68
- <label for="checkbox-example" class="ui-checkbox-label-p1">Yes</label>
69
- </div>
70
- `;
@@ -1 +0,0 @@
1
- import "./styles.css";
@@ -1,353 +0,0 @@
1
- @layer base {
2
- /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
3
-
4
- /* Document
5
- ========================================================================== */
6
-
7
- /**
8
- * 1. Correct the line height in all browsers.
9
- * 2. Prevent adjustments of font size after orientation changes in iOS.
10
- */
11
-
12
- html {
13
- line-height: 1.15; /* 1 */
14
- -webkit-text-size-adjust: 100%; /* 2 */
15
- }
16
-
17
- /* Sections
18
- ========================================================================== */
19
-
20
- /**
21
- * Remove the margin in all browsers.
22
- */
23
-
24
- body {
25
- margin: 0;
26
- }
27
-
28
- /**
29
- * Render the `main` element consistently in IE.
30
- */
31
-
32
- main {
33
- display: block;
34
- }
35
-
36
- /**
37
- * Correct the font size and margin on `h1` elements within `section` and
38
- * `article` contexts in Chrome, Firefox, and Safari.
39
- */
40
-
41
- h1 {
42
- font-size: 2em;
43
- margin: 0.67em 0;
44
- }
45
-
46
- /* Grouping content
47
- ========================================================================== */
48
-
49
- /**
50
- * 1. Add the correct box sizing in Firefox.
51
- * 2. Show the overflow in Edge and IE.
52
- */
53
-
54
- hr {
55
- box-sizing: content-box; /* 1 */
56
- height: 0; /* 1 */
57
- overflow: visible; /* 2 */
58
- }
59
-
60
- /**
61
- * 1. Correct the inheritance and scaling of font size in all browsers.
62
- * 2. Correct the odd `em` font sizing in all browsers.
63
- */
64
-
65
- pre {
66
- font-family: monospace, monospace; /* 1 */
67
- font-size: 1em; /* 2 */
68
- }
69
-
70
- /* Text-level semantics
71
- ========================================================================== */
72
-
73
- /**
74
- * Remove the gray background on active links in IE 10.
75
- */
76
-
77
- a {
78
- background-color: transparent;
79
- }
80
-
81
- /**
82
- * 1. Remove the bottom border in Chrome 57-
83
- * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
84
- */
85
-
86
- abbr[title] {
87
- border-bottom: none; /* 1 */
88
- text-decoration: underline; /* 2 */
89
- text-decoration: underline dotted; /* 2 */
90
- }
91
-
92
- /**
93
- * Add the correct font weight in Chrome, Edge, and Safari.
94
- */
95
-
96
- b,
97
- strong {
98
- font-weight: bolder;
99
- }
100
-
101
- /**
102
- * 1. Correct the inheritance and scaling of font size in all browsers.
103
- * 2. Correct the odd `em` font sizing in all browsers.
104
- */
105
-
106
- code,
107
- kbd,
108
- samp {
109
- font-family: monospace, monospace; /* 1 */
110
- font-size: 1em; /* 2 */
111
- }
112
-
113
- /**
114
- * Add the correct font size in all browsers.
115
- */
116
-
117
- small {
118
- font-size: 80%;
119
- }
120
-
121
- /**
122
- * Prevent `sub` and `sup` elements from affecting the line height in
123
- * all browsers.
124
- */
125
-
126
- sub,
127
- sup {
128
- font-size: 75%;
129
- line-height: 0;
130
- position: relative;
131
- vertical-align: baseline;
132
- }
133
-
134
- sub {
135
- bottom: -0.25em;
136
- }
137
-
138
- sup {
139
- top: -0.5em;
140
- }
141
-
142
- /* Embedded content
143
- ========================================================================== */
144
-
145
- /**
146
- * Remove the border on images inside links in IE 10.
147
- */
148
-
149
- img {
150
- border-style: none;
151
- }
152
-
153
- /* Forms
154
- ========================================================================== */
155
-
156
- /**
157
- * 1. Change the font styles in all browsers.
158
- * 2. Remove the margin in Firefox and Safari.
159
- */
160
-
161
- button,
162
- input,
163
- optgroup,
164
- select,
165
- textarea {
166
- font-family: inherit; /* 1 */
167
- font-size: 100%; /* 1 */
168
- line-height: 1.15; /* 1 */
169
- margin: 0; /* 2 */
170
- }
171
-
172
- /**
173
- * Show the overflow in IE.
174
- * 1. Show the overflow in Edge.
175
- */
176
-
177
- button,
178
- input {
179
- /* 1 */
180
- overflow: visible;
181
- }
182
-
183
- /**
184
- * Remove the inheritance of text transform in Edge, Firefox, and IE.
185
- * 1. Remove the inheritance of text transform in Firefox.
186
- */
187
-
188
- button,
189
- select {
190
- /* 1 */
191
- text-transform: none;
192
- }
193
-
194
- /**
195
- * Correct the inability to style clickable types in iOS and Safari.
196
- */
197
-
198
- button,
199
- [type="button"],
200
- [type="reset"],
201
- [type="submit"] {
202
- -webkit-appearance: button;
203
- }
204
-
205
- /**
206
- * Remove the inner border and padding in Firefox.
207
- */
208
-
209
- button::-moz-focus-inner,
210
- [type="button"]::-moz-focus-inner,
211
- [type="reset"]::-moz-focus-inner,
212
- [type="submit"]::-moz-focus-inner {
213
- border-style: none;
214
- padding: 0;
215
- }
216
-
217
- /**
218
- * Restore the focus styles unset by the previous rule.
219
- */
220
-
221
- button:-moz-focusring,
222
- [type="button"]:-moz-focusring,
223
- [type="reset"]:-moz-focusring,
224
- [type="submit"]:-moz-focusring {
225
- outline: 1px dotted ButtonText;
226
- }
227
-
228
- /**
229
- * Correct the padding in Firefox.
230
- */
231
-
232
- fieldset {
233
- padding: 0.35em 0.75em 0.625em;
234
- }
235
-
236
- /**
237
- * 1. Correct the text wrapping in Edge and IE.
238
- * 2. Correct the color inheritance from `fieldset` elements in IE.
239
- * 3. Remove the padding so developers are not caught out when they zero out
240
- * `fieldset` elements in all browsers.
241
- */
242
-
243
- legend {
244
- box-sizing: border-box; /* 1 */
245
- color: inherit; /* 2 */
246
- display: table; /* 1 */
247
- max-width: 100%; /* 1 */
248
- padding: 0; /* 3 */
249
- white-space: normal; /* 1 */
250
- }
251
-
252
- /**
253
- * Add the correct vertical alignment in Chrome, Firefox, and Opera.
254
- */
255
-
256
- progress {
257
- vertical-align: baseline;
258
- }
259
-
260
- /**
261
- * Remove the default vertical scrollbar in IE 10+.
262
- */
263
-
264
- textarea {
265
- overflow: auto;
266
- }
267
-
268
- /**
269
- * 1. Add the correct box sizing in IE 10.
270
- * 2. Remove the padding in IE 10.
271
- */
272
-
273
- [type="checkbox"],
274
- [type="radio"] {
275
- box-sizing: border-box; /* 1 */
276
- padding: 0; /* 2 */
277
- }
278
-
279
- /**
280
- * Correct the cursor style of increment and decrement buttons in Chrome.
281
- */
282
-
283
- [type="number"]::-webkit-inner-spin-button,
284
- [type="number"]::-webkit-outer-spin-button {
285
- height: auto;
286
- }
287
-
288
- /**
289
- * 1. Correct the odd appearance in Chrome and Safari.
290
- * 2. Correct the outline style in Safari.
291
- */
292
-
293
- [type="search"] {
294
- -webkit-appearance: textfield; /* 1 */
295
- outline-offset: -2px; /* 2 */
296
- }
297
-
298
- /**
299
- * Remove the inner padding in Chrome and Safari on macOS.
300
- */
301
-
302
- [type="search"]::-webkit-search-decoration {
303
- -webkit-appearance: none;
304
- }
305
-
306
- /**
307
- * 1. Correct the inability to style clickable types in iOS and Safari.
308
- * 2. Change font properties to `inherit` in Safari.
309
- */
310
-
311
- ::-webkit-file-upload-button {
312
- -webkit-appearance: button; /* 1 */
313
- font: inherit; /* 2 */
314
- }
315
-
316
- /* Interactive
317
- ========================================================================== */
318
-
319
- /*
320
- * Add the correct display in Edge, IE 10+, and Firefox.
321
- */
322
-
323
- details {
324
- display: block;
325
- }
326
-
327
- /*
328
- * Add the correct display in all browsers.
329
- */
330
-
331
- summary {
332
- display: list-item;
333
- }
334
-
335
- /* Misc
336
- ========================================================================== */
337
-
338
- /**
339
- * Add the correct display in IE 10+.
340
- */
341
-
342
- template {
343
- display: none;
344
- }
345
-
346
- /**
347
- * Add the correct display in IE 10.
348
- */
349
-
350
- [hidden] {
351
- display: none;
352
- }
353
- }