@ably/ui 13.3.0 → 14.0.0-dev.0ed6be7

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 (503) hide show
  1. package/README.md +25 -152
  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/component.js +0 -1
  10. package/core/ConnectStateWrapper.js +1 -0
  11. package/core/ContactFooter/.DS_Store +0 -0
  12. package/core/ContactFooter/component.css +7 -10
  13. package/core/ContactFooter/component.js +1 -1
  14. package/core/ContactFooter.js +1 -0
  15. package/core/CookieMessage/.DS_Store +0 -0
  16. package/core/CookieMessage/component.css +10 -13
  17. package/core/CookieMessage/component.js +1 -1
  18. package/core/CookieMessage.js +1 -0
  19. package/core/CustomerLogos/.DS_Store +0 -0
  20. package/core/CustomerLogos/component.js +0 -1
  21. package/core/CustomerLogos.js +1 -0
  22. package/core/DropdownMenu/.DS_Store +0 -0
  23. package/core/DropdownMenu/component.js +0 -1
  24. package/core/DropdownMenu.js +1 -0
  25. package/core/FeaturedLink/.DS_Store +0 -0
  26. package/core/FeaturedLink/component.js +0 -1
  27. package/core/FeaturedLink.js +1 -0
  28. package/core/Flash/.DS_Store +0 -0
  29. package/core/Flash/component.css +19 -22
  30. package/core/Flash/component.js +1 -1
  31. package/core/Flash.js +1 -0
  32. package/core/Footer/.DS_Store +0 -0
  33. package/core/Footer/component.css +22 -25
  34. package/core/Footer/component.js +1 -1
  35. package/core/Footer.js +1 -0
  36. package/core/Icon/.DS_Store +0 -0
  37. package/core/Icon/component.js +0 -1
  38. package/core/Icon.js +1 -0
  39. package/core/Loader/.DS_Store +0 -0
  40. package/core/Loader/component.js +0 -1
  41. package/core/Loader.js +13 -0
  42. package/core/Logo/.DS_Store +0 -0
  43. package/core/Logo/component.js +0 -1
  44. package/core/Logo.js +1 -0
  45. package/core/Meganav/.DS_Store +0 -0
  46. package/core/Meganav/component.css +103 -106
  47. package/core/Meganav/component.js +1 -1
  48. package/core/Meganav.js +1 -0
  49. package/core/MeganavBlogPostsList/.DS_Store +0 -0
  50. package/core/MeganavBlogPostsList/component.js +1 -2
  51. package/core/MeganavBlogPostsList.js +1 -0
  52. package/core/MeganavContentCompany/.DS_Store +0 -0
  53. package/core/MeganavContentCompany/component.js +0 -1
  54. package/core/MeganavContentCompany.js +1 -0
  55. package/core/MeganavContentDevelopers/.DS_Store +0 -0
  56. package/core/MeganavContentDevelopers/component.js +0 -1
  57. package/core/MeganavContentDevelopers.js +1 -0
  58. package/core/MeganavContentProducts/.DS_Store +0 -0
  59. package/core/MeganavContentProducts/component.js +0 -1
  60. package/core/MeganavContentProducts.js +1 -0
  61. package/core/MeganavContentUseCases/.DS_Store +0 -0
  62. package/core/MeganavContentUseCases/component.js +0 -1
  63. package/core/MeganavContentUseCases.js +1 -0
  64. package/core/MeganavControl/.DS_Store +0 -0
  65. package/core/MeganavControl/component.js +1 -1
  66. package/core/MeganavControl.js +1 -0
  67. package/core/MeganavControlMobileDropdown/.DS_Store +0 -0
  68. package/core/MeganavControlMobileDropdown/component.js +1 -1
  69. package/core/MeganavControlMobileDropdown.js +1 -0
  70. package/core/MeganavControlMobilePanelClose/.DS_Store +0 -0
  71. package/core/MeganavControlMobilePanelClose/component.js +1 -1
  72. package/core/MeganavControlMobilePanelClose.js +1 -0
  73. package/core/MeganavControlMobilePanelOpen/.DS_Store +0 -0
  74. package/core/MeganavControlMobilePanelOpen/component.js +1 -1
  75. package/core/MeganavControlMobilePanelOpen.js +1 -0
  76. package/core/MeganavItemsDesktop/.DS_Store +0 -0
  77. package/core/MeganavItemsDesktop/component.js +0 -1
  78. package/core/MeganavItemsDesktop.js +1 -0
  79. package/core/MeganavItemsMobile/.DS_Store +0 -0
  80. package/core/MeganavItemsMobile/component.js +0 -1
  81. package/core/MeganavItemsMobile.js +1 -0
  82. package/core/MeganavItemsSignedIn/.DS_Store +0 -0
  83. package/core/MeganavItemsSignedIn/component.js +0 -1
  84. package/core/MeganavItemsSignedIn.js +1 -0
  85. package/core/MeganavSearch/.DS_Store +0 -0
  86. package/core/MeganavSearch/component.js +0 -1
  87. package/core/MeganavSearch.js +1 -0
  88. package/core/MeganavSearchAutocomplete/.DS_Store +0 -0
  89. package/core/MeganavSearchAutocomplete/component.js +1 -1
  90. package/core/MeganavSearchAutocomplete.js +1 -0
  91. package/core/MeganavSearchPanel/.DS_Store +0 -0
  92. package/core/MeganavSearchPanel/component.js +0 -1
  93. package/core/MeganavSearchPanel.js +1 -0
  94. package/core/MeganavSearchSuggestions/.DS_Store +0 -0
  95. package/core/MeganavSearchSuggestions/component.js +1 -1
  96. package/core/MeganavSearchSuggestions.js +1 -0
  97. package/core/Notice/.DS_Store +0 -0
  98. package/core/Notice/component.css +4 -7
  99. package/core/Notice/component.js +1 -1
  100. package/core/Notice.js +1 -0
  101. package/core/SignOutLink/.DS_Store +0 -0
  102. package/core/SignOutLink/component.js +0 -1
  103. package/core/SignOutLink.js +1 -0
  104. package/core/Slider/.DS_Store +0 -0
  105. package/core/Slider/component.css +4 -7
  106. package/core/Slider/component.js +1 -1
  107. package/core/Slider.js +1 -0
  108. package/core/Table/.DS_Store +0 -0
  109. package/core/Table/Table.js +1 -0
  110. package/core/Table/TableCell.js +7 -0
  111. package/core/Table/TableRow.js +1 -0
  112. package/core/Table/data.js +1 -0
  113. package/core/Table.js +1 -0
  114. package/core/Tooltip.js +1 -0
  115. package/core/css.js +1 -0
  116. package/core/dom-query.js +1 -0
  117. package/core/hubspot-chat-toggle.js +1 -0
  118. package/core/icons/discord.svg +10 -0
  119. package/core/icons/facebook.svg +4 -0
  120. package/core/icons/github.svg +3 -0
  121. package/core/icons/glassdoor.svg +3 -0
  122. package/core/icons/google.svg +3 -0
  123. package/core/icons/icon-display-48hrs.svg +3 -0
  124. package/core/icons/icon-display-about-ably-col.svg +4 -0
  125. package/core/icons/icon-display-api-keys.svg +3 -0
  126. package/core/icons/icon-display-api.svg +3 -0
  127. package/core/icons/icon-display-asset-tracking-col.svg +18 -0
  128. package/core/icons/icon-display-browser.svg +10 -0
  129. package/core/icons/icon-display-calendar.svg +3 -0
  130. package/core/icons/icon-display-call-mobile.svg +3 -0
  131. package/core/icons/icon-display-careers-col.svg +9 -0
  132. package/core/icons/icon-display-case-studies-col.svg +5 -0
  133. package/core/icons/icon-display-chat-col.svg +4 -0
  134. package/core/icons/icon-display-chat-stack-col.svg +4 -0
  135. package/core/icons/icon-display-chat-stack.svg +4 -0
  136. package/core/icons/icon-display-cloud-servers.svg +3 -0
  137. package/core/icons/icon-display-compare-tech-col.svg +9 -0
  138. package/core/icons/icon-display-customers-col.svg +15 -0
  139. package/core/icons/icon-display-data-broadcast-col.svg +26 -0
  140. package/core/icons/icon-display-data-synchronization-col.svg +14 -0
  141. package/core/icons/icon-display-docs-col.svg +7 -0
  142. package/core/icons/icon-display-documentation.svg +3 -0
  143. package/core/icons/icon-display-events-col.svg +13 -0
  144. package/core/icons/icon-display-examples-col.svg +11 -0
  145. package/core/icons/icon-display-gdpr.svg +3 -0
  146. package/core/icons/icon-display-general-comms.svg +3 -0
  147. package/core/icons/icon-display-hipaa.svg +10 -0
  148. package/core/icons/icon-display-integrations-col.svg +8 -0
  149. package/core/icons/icon-display-it-support-access.svg +3 -0
  150. package/core/icons/icon-display-it-support-helpdesk.svg +3 -0
  151. package/core/icons/icon-display-kafka-at-the-edge-col.svg +8 -0
  152. package/core/icons/icon-display-laptop.svg +10 -0
  153. package/core/icons/icon-display-lightbulb-col.svg +10 -0
  154. package/core/icons/icon-display-live-chat.svg +3 -0
  155. package/core/icons/icon-display-map-pin.svg +3 -0
  156. package/core/icons/icon-display-message.svg +3 -0
  157. package/core/icons/icon-display-padlock-closed.svg +3 -0
  158. package/core/icons/icon-display-platform.svg +22 -0
  159. package/core/icons/icon-display-play.svg +3 -0
  160. package/core/icons/icon-display-privacy-shield-framework.svg +7 -0
  161. package/core/icons/icon-display-push-notifications-col.svg +6 -0
  162. package/core/icons/icon-display-quickstart-guides-col.svg +8 -0
  163. package/core/icons/icon-display-resources-col.svg +21 -0
  164. package/core/icons/icon-display-sdks-col.svg +11 -0
  165. package/core/icons/icon-display-servers.svg +3 -0
  166. package/core/icons/icon-display-shopping-cart.svg +10 -0
  167. package/core/icons/icon-display-sla.svg +3 -0
  168. package/core/icons/icon-display-soc2-type2.svg +3 -0
  169. package/core/icons/icon-display-tech-account-comms.svg +3 -0
  170. package/core/icons/icon-display-tutorials-demos-col.svg +25 -0
  171. package/core/icons/icon-display-virtual-events-col.svg +12 -0
  172. package/core/icons/icon-display-virtual-events.svg +12 -0
  173. package/core/icons/icon-gui-ably-badge.svg +3 -0
  174. package/core/icons/icon-gui-arrow-bidirectional-horizontal.svg +3 -0
  175. package/core/icons/icon-gui-arrow-bidirectional-vertical.svg +3 -0
  176. package/core/icons/icon-gui-arrow-down.svg +3 -0
  177. package/core/icons/icon-gui-arrow-left.svg +3 -0
  178. package/core/icons/icon-gui-arrow-right.svg +3 -0
  179. package/core/icons/icon-gui-arrow-up.svg +3 -0
  180. package/core/icons/icon-gui-burger-menu.svg +5 -0
  181. package/core/icons/icon-gui-check-circled-fill-black.svg +4 -0
  182. package/core/icons/icon-gui-check-circled-fill.svg +4 -0
  183. package/core/icons/icon-gui-check-circled.svg +3 -0
  184. package/core/icons/icon-gui-checklist-checked.svg +3 -0
  185. package/core/icons/icon-gui-clock.svg +3 -0
  186. package/core/icons/icon-gui-close.svg +3 -0
  187. package/core/icons/icon-gui-copy.svg +10 -0
  188. package/core/icons/icon-gui-cross-circled-fill.svg +4 -0
  189. package/core/icons/icon-gui-cross-circled.svg +3 -0
  190. package/core/icons/icon-gui-dash-circled.svg +3 -0
  191. package/core/icons/icon-gui-disclosure-arrow.svg +3 -0
  192. package/core/icons/icon-gui-document-generic.svg +3 -0
  193. package/core/icons/icon-gui-enlarge.svg +3 -0
  194. package/core/icons/icon-gui-external-link.svg +3 -0
  195. package/core/icons/icon-gui-filter-flow-step-1.svg +5 -0
  196. package/core/icons/icon-gui-filter-flow-step-2.svg +5 -0
  197. package/core/icons/icon-gui-filter-flow-step-3.svg +5 -0
  198. package/core/icons/icon-gui-history.svg +3 -0
  199. package/core/icons/icon-gui-info.svg +3 -0
  200. package/core/icons/icon-gui-link-arrow.svg +3 -0
  201. package/core/icons/icon-gui-link.svg +4 -0
  202. package/core/icons/icon-gui-live-chat.svg +3 -0
  203. package/core/icons/icon-gui-minus.svg +3 -0
  204. package/core/icons/icon-gui-plus.svg +3 -0
  205. package/core/icons/icon-gui-quote-marks-solid.svg +3 -0
  206. package/core/icons/icon-gui-refresh.svg +10 -0
  207. package/core/icons/icon-gui-resources.svg +3 -0
  208. package/core/icons/icon-gui-search.svg +3 -0
  209. package/core/icons/icon-gui-tick.svg +3 -0
  210. package/core/icons/icon-gui-warning.svg +5 -0
  211. package/core/icons/icon-live-updates-results-metrics-col.svg +26 -0
  212. package/core/icons/icon-multi-user-spaces-col.svg +13 -0
  213. package/core/icons/icon-social-x.svg +3 -0
  214. package/core/icons/icon-tech-apachekafka.svg +3 -0
  215. package/core/icons/linkedin.svg +3 -0
  216. package/core/icons/quote.svg +3 -0
  217. package/core/icons/stackoverflow.svg +3 -0
  218. package/core/icons/twitter.svg +3 -0
  219. package/core/icons/youtube.svg +11 -0
  220. package/core/icons.js +1 -0
  221. package/core/load-sprites.js +1 -0
  222. package/core/react-renderer.js +1 -0
  223. package/core/remote-blogs-posts.js +1 -0
  224. package/core/remote-data-store.js +1 -0
  225. package/core/remote-data-util.js +1 -0
  226. package/core/remote-session-data.js +1 -0
  227. package/core/scripts.js +1 -2
  228. package/core/sprites.svg +1 -525
  229. package/core/styles/buttons.css +122 -0
  230. package/core/styles/forms.css +62 -0
  231. package/core/styles/layout.css +19 -0
  232. package/core/styles/properties.css +276 -0
  233. package/core/styles/text.css +166 -0
  234. package/core/styles.base.css +1 -0
  235. package/core/styles.components.css +33 -0
  236. package/core/styles.css +2 -699
  237. package/core/url-base.js +1 -0
  238. package/core/utils/syntax-highlighter-registry.js +1 -0
  239. package/core/utils/syntax-highlighter.css +67 -0
  240. package/core/utils/syntax-highlighter.js +1 -0
  241. package/package.json +38 -34
  242. package/reset/scripts.js +1 -1
  243. package/reset/styles/normalize.css +353 -0
  244. package/reset/styles/reset.css +129 -0
  245. package/reset/styles.css +2 -477
  246. package/src/.DS_Store +0 -0
  247. package/src/core/.DS_Store +0 -0
  248. package/src/core/Accordion/.DS_Store +0 -0
  249. package/src/core/Accordion/Accordion.stories.tsx +39 -0
  250. package/src/core/Accordion.tsx +147 -0
  251. package/src/core/Code/.DS_Store +0 -0
  252. package/src/core/Code/Code.stories.tsx +71 -0
  253. package/src/core/Code.tsx +45 -0
  254. package/src/core/{ConnectStateWrapper/component.jsx → ConnectStateWrapper.tsx} +7 -3
  255. package/src/core/ContactFooter/.DS_Store +0 -0
  256. package/src/core/ContactFooter/ContactFooter.stories.tsx +11 -0
  257. package/src/core/ContactFooter/component.css +7 -9
  258. package/src/core/ContactFooter.tsx +92 -0
  259. package/src/core/CookieMessage/.DS_Store +0 -0
  260. package/src/core/CookieMessage/CookieMessage.stories.tsx +12 -0
  261. package/src/core/CookieMessage/component.css +10 -12
  262. package/src/core/{CookieMessage/component.jsx → CookieMessage.tsx} +15 -10
  263. package/src/core/CustomerLogos/.DS_Store +0 -0
  264. package/src/core/CustomerLogos/CustomerLogos.stories.tsx +43 -0
  265. package/src/core/CustomerLogos.tsx +35 -0
  266. package/src/core/DropdownMenu/.DS_Store +0 -0
  267. package/src/core/DropdownMenu/DropdownMenu.stories.tsx +48 -0
  268. package/src/core/{DropdownMenu/component.jsx → DropdownMenu.tsx} +64 -36
  269. package/src/core/FeaturedLink/.DS_Store +0 -0
  270. package/src/core/FeaturedLink/FeaturedLink.stories.tsx +43 -0
  271. package/src/core/{FeaturedLink/component.jsx → FeaturedLink.tsx} +26 -18
  272. package/src/core/Flash/.DS_Store +0 -0
  273. package/src/core/Flash/Flash.stories.tsx +37 -0
  274. package/src/core/Flash/component.css +19 -21
  275. package/src/core/{Flash/component.jsx → Flash.tsx} +78 -39
  276. package/src/core/Footer/.DS_Store +0 -0
  277. package/src/core/Footer/Footer.stories.tsx +26 -0
  278. package/src/core/Footer/component.css +22 -24
  279. package/src/core/{Footer/component.jsx → Footer.tsx} +237 -70
  280. package/src/core/Icon/.DS_Store +0 -0
  281. package/src/core/Icon/Icon.stories.tsx +150 -0
  282. package/src/core/Icon.tsx +26 -0
  283. package/src/core/Loader/.DS_Store +0 -0
  284. package/src/core/Loader/Loader.stories.tsx +21 -0
  285. package/src/core/{Loader/component.jsx → Loader.tsx} +11 -8
  286. package/src/core/Logo/.DS_Store +0 -0
  287. package/src/core/Logo/Logo.stories.tsx +12 -0
  288. package/src/core/Logo.tsx +29 -0
  289. package/src/core/Meganav/.DS_Store +0 -0
  290. package/src/core/Meganav/Meganav.stories.tsx +86 -0
  291. package/src/core/Meganav/component.css +103 -105
  292. package/src/core/Meganav/component.js +6 -7
  293. package/src/core/Meganav.tsx +228 -0
  294. package/src/core/MeganavBlogPostsList/.DS_Store +0 -0
  295. package/src/core/{MeganavBlogPostsList/component.jsx → MeganavBlogPostsList.tsx} +15 -14
  296. package/src/core/MeganavContentCompany/.DS_Store +0 -0
  297. package/src/core/{MeganavContentCompany/component.jsx → MeganavContentCompany.tsx} +82 -33
  298. package/src/core/MeganavContentDevelopers/.DS_Store +0 -0
  299. package/src/core/{MeganavContentDevelopers/component.jsx → MeganavContentDevelopers.tsx} +98 -34
  300. package/src/core/MeganavContentProducts/.DS_Store +0 -0
  301. package/src/core/MeganavContentProducts.tsx +165 -0
  302. package/src/core/MeganavContentUseCases/.DS_Store +0 -0
  303. package/src/core/MeganavContentUseCases.tsx +244 -0
  304. package/src/core/MeganavControl/.DS_Store +0 -0
  305. package/src/core/{MeganavControl/component.jsx → MeganavControl.tsx} +18 -12
  306. package/src/core/MeganavControlMobileDropdown/.DS_Store +0 -0
  307. package/src/core/{MeganavControlMobileDropdown/component.jsx → MeganavControlMobileDropdown.tsx} +3 -7
  308. package/src/core/MeganavControlMobilePanelClose/.DS_Store +0 -0
  309. package/src/core/{MeganavControlMobilePanelClose/component.jsx → MeganavControlMobilePanelClose.tsx} +16 -9
  310. package/src/core/MeganavControlMobilePanelOpen/.DS_Store +0 -0
  311. package/src/core/MeganavControlMobilePanelOpen.tsx +32 -0
  312. package/src/core/MeganavItemsDesktop/.DS_Store +0 -0
  313. package/src/core/MeganavItemsDesktop.tsx +68 -0
  314. package/src/core/MeganavItemsMobile/.DS_Store +0 -0
  315. package/src/core/MeganavItemsMobile.tsx +197 -0
  316. package/src/core/MeganavItemsSignedIn/.DS_Store +0 -0
  317. package/src/core/{MeganavItemsSignedIn/component.jsx → MeganavItemsSignedIn.tsx} +59 -23
  318. package/src/core/MeganavSearch/.DS_Store +0 -0
  319. package/src/core/MeganavSearch.tsx +36 -0
  320. package/src/core/MeganavSearchAutocomplete/.DS_Store +0 -0
  321. package/src/core/MeganavSearchAutocomplete.tsx +12 -0
  322. package/src/core/MeganavSearchPanel/.DS_Store +0 -0
  323. package/src/core/MeganavSearchPanel.tsx +52 -0
  324. package/src/core/MeganavSearchSuggestions/.DS_Store +0 -0
  325. package/src/core/MeganavSearchSuggestions.tsx +62 -0
  326. package/src/core/Notice/.DS_Store +0 -0
  327. package/src/core/Notice/component.css +4 -6
  328. package/src/core/Notice/component.js +1 -1
  329. package/src/core/Notice.tsx +104 -0
  330. package/src/core/SignOutLink/.DS_Store +0 -0
  331. package/src/core/SignOutLink.tsx +51 -0
  332. package/src/core/Slider/.DS_Store +0 -0
  333. package/src/core/Slider/Slider.stories.tsx +45 -0
  334. package/src/core/Slider/component.css +4 -6
  335. package/src/core/Slider.tsx +112 -0
  336. package/src/core/Table/.DS_Store +0 -0
  337. package/src/core/Table/Table.stories.tsx +12 -0
  338. package/src/core/Table/Table.tsx +30 -0
  339. package/src/core/Table/TableCell.tsx +84 -0
  340. package/src/core/Table/TableRow.tsx +25 -0
  341. package/src/core/Table/data.tsx +113 -0
  342. package/src/core/Table.tsx +24 -0
  343. package/src/core/Tooltip/Tooltip.stories.tsx +27 -0
  344. package/src/core/Tooltip.tsx +60 -0
  345. package/src/core/icons.js +6 -0
  346. package/src/core/{react-renderer.js → react-renderer.tsx} +9 -7
  347. package/src/core/styles/buttons.css +121 -123
  348. package/src/core/styles/forms.css +49 -51
  349. package/src/core/styles/layout.css +14 -16
  350. package/src/core/styles/properties.css +250 -259
  351. package/src/core/styles/text.css +165 -167
  352. package/src/core/styles.components.css +22 -24
  353. package/src/core/utils/syntax-highlighter.css +55 -59
  354. package/src/pages/Buttons.mdx +121 -0
  355. package/src/pages/Chips.mdx +136 -0
  356. package/src/pages/Colour.mdx +23 -0
  357. package/src/pages/Forms.mdx +173 -0
  358. package/src/pages/Layout.mdx +58 -0
  359. package/src/pages/Typography.mdx +206 -0
  360. package/src/pages/utils.ts +70 -0
  361. package/tailwind.config.js +1 -7
  362. package/tailwind.extend.js +1 -1
  363. package/core/.gitignore +0 -1
  364. package/core/Code.jsx +0 -684
  365. package/core/CompanyAutocomplete/component.css +0 -46
  366. package/core/CompanyAutocomplete/component.js +0 -2
  367. package/core/CompanyAutocomplete/component.js.LICENSE.txt +0 -1
  368. package/core/ConnectStateWrapper.jsx +0 -222
  369. package/core/ContactFooter.jsx +0 -342
  370. package/core/CookieMessage.jsx +0 -204
  371. package/core/CustomerLogos.jsx +0 -144
  372. package/core/DropdownMenu.jsx +0 -313
  373. package/core/FeatureFooter/component.css +0 -13
  374. package/core/FeatureFooter/component.js +0 -1
  375. package/core/FeaturedLink.jsx +0 -241
  376. package/core/Flash.jsx +0 -622
  377. package/core/Footer.jsx +0 -587
  378. package/core/Icon.jsx +0 -152
  379. package/core/Loader.jsx +0 -154
  380. package/core/Logo.jsx +0 -147
  381. package/core/Meganav.jsx +0 -4151
  382. package/core/MeganavBlogPostsList/component.js.LICENSE.txt +0 -1
  383. package/core/MeganavBlogPostsList.jsx +0 -296
  384. package/core/MeganavContentCompany.jsx +0 -1058
  385. package/core/MeganavContentDevelopers.jsx +0 -334
  386. package/core/MeganavContentProducts.jsx +0 -373
  387. package/core/MeganavContentUseCases.jsx +0 -341
  388. package/core/MeganavControl.jsx +0 -199
  389. package/core/MeganavControlMobileDropdown.jsx +0 -197
  390. package/core/MeganavControlMobilePanelClose.jsx +0 -198
  391. package/core/MeganavControlMobilePanelOpen.jsx +0 -193
  392. package/core/MeganavItemsDesktop.jsx +0 -279
  393. package/core/MeganavItemsMobile.jsx +0 -689
  394. package/core/MeganavItemsSignedIn.jsx +0 -643
  395. package/core/MeganavSearch.jsx +0 -434
  396. package/core/MeganavSearchAutocomplete.jsx +0 -117
  397. package/core/MeganavSearchPanel.jsx +0 -386
  398. package/core/MeganavSearchSuggestions.jsx +0 -299
  399. package/core/Notice.jsx +0 -914
  400. package/core/Showcase/component.css +0 -31
  401. package/core/Showcase/component.js +0 -1
  402. package/core/Showcase.jsx +0 -17
  403. package/core/SignOutLink.jsx +0 -157
  404. package/core/Slider.jsx +0 -400
  405. package/core/Uptime/component.css +0 -128
  406. package/core/Uptime/component.js +0 -1
  407. package/core/Uptime.jsx +0 -895
  408. package/core/scripts.js.LICENSE.txt +0 -1
  409. package/preview/tmp/pids/.keep +0 -0
  410. package/reset/.gitignore +0 -1
  411. package/src/core/Code/component.html.erb +0 -3
  412. package/src/core/Code/component.jsx +0 -31
  413. package/src/core/Code/component.rb +0 -12
  414. package/src/core/CompanyAutocomplete/component.css +0 -45
  415. package/src/core/CompanyAutocomplete/component.js +0 -204
  416. package/src/core/ContactFooter/component.html.erb +0 -32
  417. package/src/core/ContactFooter/component.jsx +0 -66
  418. package/src/core/ContactFooter/component.rb +0 -13
  419. package/src/core/CustomerLogos/component.html.erb +0 -9
  420. package/src/core/CustomerLogos/component.jsx +0 -28
  421. package/src/core/CustomerLogos/component.rb +0 -14
  422. package/src/core/FeatureFooter/component.css +0 -12
  423. package/src/core/FeatureFooter/component.html.erb +0 -54
  424. package/src/core/FeatureFooter/component.js +0 -7
  425. package/src/core/FeatureFooter/component.rb +0 -30
  426. package/src/core/FeaturedLink/component.html.erb +0 -15
  427. package/src/core/FeaturedLink/component.rb +0 -21
  428. package/src/core/Footer/component.html.erb +0 -256
  429. package/src/core/Footer/component.rb +0 -14
  430. package/src/core/Icon/component.html.erb +0 -3
  431. package/src/core/Icon/component.jsx +0 -19
  432. package/src/core/Icon/component.rb +0 -25
  433. package/src/core/Loader/component.html.erb +0 -18
  434. package/src/core/Loader/component.rb +0 -19
  435. package/src/core/Logo/component.html.erb +0 -3
  436. package/src/core/Logo/component.jsx +0 -20
  437. package/src/core/Logo/component.rb +0 -31
  438. package/src/core/Meganav/component.html.erb +0 -31
  439. package/src/core/Meganav/component.jsx +0 -123
  440. package/src/core/Meganav/component.rb +0 -60
  441. package/src/core/MeganavBlogPostsList/component.html.erb +0 -5
  442. package/src/core/MeganavBlogPostsList/component.rb +0 -13
  443. package/src/core/MeganavContentCompany/component.html.erb +0 -90
  444. package/src/core/MeganavContentCompany/component.rb +0 -14
  445. package/src/core/MeganavContentDevelopers/component.html.erb +0 -129
  446. package/src/core/MeganavContentDevelopers/component.rb +0 -13
  447. package/src/core/MeganavContentProducts/component.html.erb +0 -83
  448. package/src/core/MeganavContentProducts/component.jsx +0 -105
  449. package/src/core/MeganavContentProducts/component.rb +0 -14
  450. package/src/core/MeganavContentUseCases/component.html.erb +0 -135
  451. package/src/core/MeganavContentUseCases/component.jsx +0 -147
  452. package/src/core/MeganavContentUseCases/component.rb +0 -13
  453. package/src/core/MeganavControl/component.html.erb +0 -6
  454. package/src/core/MeganavControl/component.rb +0 -20
  455. package/src/core/MeganavControlMobileDropdown/component.html.erb +0 -7
  456. package/src/core/MeganavControlMobileDropdown/component.rb +0 -11
  457. package/src/core/MeganavControlMobilePanelClose/component.html.erb +0 -12
  458. package/src/core/MeganavControlMobilePanelClose/component.rb +0 -12
  459. package/src/core/MeganavControlMobilePanelOpen/component.html.erb +0 -7
  460. package/src/core/MeganavControlMobilePanelOpen/component.jsx +0 -25
  461. package/src/core/MeganavControlMobilePanelOpen/component.rb +0 -9
  462. package/src/core/MeganavItemsDesktop/component.html.erb +0 -17
  463. package/src/core/MeganavItemsDesktop/component.jsx +0 -49
  464. package/src/core/MeganavItemsDesktop/component.rb +0 -23
  465. package/src/core/MeganavItemsMobile/component.html.erb +0 -75
  466. package/src/core/MeganavItemsMobile/component.jsx +0 -137
  467. package/src/core/MeganavItemsMobile/component.rb +0 -21
  468. package/src/core/MeganavItemsSignedIn/component.html.erb +0 -53
  469. package/src/core/MeganavItemsSignedIn/component.rb +0 -33
  470. package/src/core/MeganavSearch/component.html.erb +0 -15
  471. package/src/core/MeganavSearch/component.jsx +0 -33
  472. package/src/core/MeganavSearch/component.rb +0 -13
  473. package/src/core/MeganavSearchAutocomplete/component.html.erb +0 -6
  474. package/src/core/MeganavSearchAutocomplete/component.jsx +0 -14
  475. package/src/core/MeganavSearchAutocomplete/component.rb +0 -6
  476. package/src/core/MeganavSearchPanel/component.html.erb +0 -22
  477. package/src/core/MeganavSearchPanel/component.jsx +0 -39
  478. package/src/core/MeganavSearchPanel/component.rb +0 -13
  479. package/src/core/MeganavSearchSuggestions/component.html.erb +0 -22
  480. package/src/core/MeganavSearchSuggestions/component.jsx +0 -49
  481. package/src/core/MeganavSearchSuggestions/component.rb +0 -18
  482. package/src/core/Notice/component.html.erb +0 -16
  483. package/src/core/Notice/component.jsx +0 -71
  484. package/src/core/Notice/component.rb +0 -29
  485. package/src/core/Showcase/component.css +0 -30
  486. package/src/core/Showcase/component.html.erb +0 -76
  487. package/src/core/Showcase/component.js +0 -180
  488. package/src/core/Showcase/component.jsx +0 -0
  489. package/src/core/Showcase/component.rb +0 -190
  490. package/src/core/SignOutLink/component.html.erb +0 -1
  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
  502. /package/{preview/log/.keep → core/Accordion/component.js} +0 -0
  503. /package/{preview/tmp/.keep → src/core/Accordion/component.js} +0 -0
@@ -0,0 +1,67 @@
1
+ @import url("https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,600;0,700;1,600;1,700&display=swap");
2
+ @import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@100;200;300;400;500;600;700;800&display=swap");
3
+ @import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap");
4
+
5
+ .hljs {
6
+ background: var(--syntax-black);
7
+ color: var(--syntax-light-grey);
8
+ }
9
+
10
+ .hljs-emphasis {
11
+ @apply italic;
12
+ }
13
+
14
+ .hljs-strong {
15
+ @apply font-bold;
16
+ }
17
+
18
+ .hljs-comment,
19
+ .hljs-quote {
20
+ color: var(--syntax-dark-grey);
21
+ }
22
+
23
+ .hljs-variable,
24
+ .hljs-template-variable,
25
+ .hljs-tag,
26
+ .hljs-name,
27
+ .hljs-selector-id,
28
+ .hljs-selector-class,
29
+ .hljs-regexp,
30
+ .hljs-deletion {
31
+ color: var(--syntax-red);
32
+ }
33
+
34
+ .hljs-number,
35
+ .hljs-built_in,
36
+ .hljs-literal,
37
+ .hljs-type,
38
+ .hljs-params,
39
+ .hljs-meta,
40
+ .hljs-link {
41
+ color: var(--syntax-orange);
42
+ }
43
+
44
+ .hljs-attribute {
45
+ color: var(--syntax-yellow);
46
+ }
47
+
48
+ .hljs-string,
49
+ .hljs-symbol,
50
+ .hljs-bullet,
51
+ .hljs-addition {
52
+ color: var(--syntax-green);
53
+ }
54
+
55
+ .hljs-title,
56
+ .hljs-section {
57
+ color: var(--syntax-blue);
58
+ }
59
+
60
+ .hljs-keyword,
61
+ .hljs-selector-tag {
62
+ color: var(--syntax-lilac);
63
+ }
64
+
65
+ .hljs-subst {
66
+ color: var(--syntax-mid-grey);
67
+ }
@@ -0,0 +1 @@
1
+ import hljs from"highlight.js/lib/core";const languageToHighlightKey=lang=>{let id;if(!lang){lang="text"}switch(lang.toLowerCase()){case"android":id="java";break;case".net":case"net":case"dotnet":case"csharp":case"c#":id="cs";break;case"objc":case"objective c":id="objectivec";break;case"laravel":id="php";break;case"flutter":id="dart";break;case"node.js":case"js":id="javascript";break;case"ts":id="typescript";break;case"kotlin":case"kt":id="kotlin";break;case"shell":case"fh":case"sh":id="bash";break;case"https":case"http":case"txt":case"plaintext":id="text";break;case"cmd":case"bat":id="dos";break;case"yml":id="yaml";break;case"erl":id="erlang";break;case"patch":id="diff";break;case"svg":id="xml";break;default:break}return id||lang};const registerDefaultLanguages=register=>{register.forEach(({key,module})=>hljs.registerLanguage(key,module))};const highlightSnippet=(languageKeyword,snippet)=>{const language=languageToHighlightKey(languageKeyword);if(typeof snippet!=="string"||!snippet||!language)return;return hljs.highlight(snippet,{language}).value};export{highlightSnippet,languageToHighlightKey,registerDefaultLanguages};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ably/ui",
3
- "version": "13.3.0",
3
+ "version": "14.0.0-dev.0ed6be7",
4
4
  "description": "Home of the Ably design system library ([design.ably.com](https://design.ably.com)). It provides a showcase, development/test environment and a publishing pipeline for different distributables.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,52 +15,54 @@
15
15
  "tailwind.extend.js"
16
16
  ],
17
17
  "devDependencies": {
18
- "@babel/core": "^7.12.3",
19
- "@babel/plugin-transform-regenerator": "^7.12.1",
20
- "@babel/plugin-transform-runtime": "^7.12.10",
21
- "@babel/preset-env": "^7.12.1",
22
- "@babel/preset-react": "^7.12.5",
23
- "@prettier/plugin-ruby": "^1.5.2",
18
+ "@storybook/addon-essentials": "^7.6.17",
19
+ "@storybook/addon-interactions": "^7.6.17",
20
+ "@storybook/addon-links": "^7.6.17",
21
+ "@storybook/blocks": "^7.6.17",
22
+ "@storybook/react": "^7.6.17",
23
+ "@storybook/react-vite": "^7.6.17",
24
+ "@storybook/test": "^7.6.4",
25
+ "@swc/cli": "^0.3.10",
26
+ "@swc/core": "^1.4.11",
27
+ "@typescript-eslint/eslint-plugin": "^6.21.0",
28
+ "@typescript-eslint/parser": "^6.21.0",
29
+ "@vitejs/plugin-react": "^4.2.1",
24
30
  "autoprefixer": "^10.0.2",
25
- "babel-loader": "^8.2.0",
26
- "blink-diff": "^1.0.13",
27
- "change-case": "^4.1.1",
28
- "commander": "^7.2.0",
29
- "css-loader": "^5.0.0",
30
31
  "cypress": "^13.3.1",
31
32
  "eslint": "^7.12.1",
32
33
  "eslint-config-prettier": "^6.15.0",
33
34
  "eslint-plugin-cypress": "^2.11.2",
34
35
  "eslint-plugin-react": "^7.21.5",
35
- "extra-watch-webpack-plugin": "^1.0.3",
36
- "find-imports": "^1.1.0",
37
- "mini-css-extract-plugin": "^1.2.1",
38
- "null-loader": "^4.0.1",
39
- "postcss": "^8.1.10",
40
- "postcss-calc": "^7.0.5",
41
- "postcss-custom-properties": "^10.0.0",
36
+ "eslint-plugin-storybook": "^0.6.15",
37
+ "msw": "1.3.2",
38
+ "msw-storybook-addon": "^1.10.0",
39
+ "postcss": "^8.4.35",
42
40
  "postcss-import": "^13.0.0",
43
- "postcss-loader": "^4.0.4",
44
41
  "prettier": "^2.3.0",
45
- "svg-spritemap-webpack-plugin": "^3.7.1",
42
+ "storybook": "^7.6.4",
43
+ "svg-sprite": "^2.0.4",
46
44
  "tailwindcss": "^3.3.6",
47
- "webpack": "^5.3.2",
48
- "webpack-cli": "^4.2.0",
49
- "yargs": "^16.2.0"
45
+ "typescript": "5.3.3",
46
+ "vite": "^4.5.2"
50
47
  },
51
48
  "scripts": {
52
- "build": "node scripts/build.js",
53
- "build:verbose": "node scripts/build.js -v",
54
- "watch": "node scripts/build.js -w",
55
- "dev": "./scripts/cleanstart.sh",
56
- "format:check": "yarn prettier -c *.js src src/**/*.jsx cypress",
57
- "format:write": "yarn prettier -w *.js src src/**/*.jsx cypress",
58
- "lint": "eslint *.js src src/**/*.jsx cypress",
49
+ "build:prebuild": "rm -rf core reset",
50
+ "build:swc": "swc src/core src/reset -d dist --copy-files --include-dotfiles --strip-leading-paths",
51
+ "build:sprites": "svg-sprite -C .svgrc src/core/icons/*.svg",
52
+ "build:cleanup": "mv dist/* . && rm -r dist",
53
+ "build": "yarn build:prebuild && yarn build:swc && yarn build:sprites && yarn build:cleanup",
54
+ "watch": "yarn build:swc -w",
55
+ "format:check": "prettier -c *.{js,ts} src/**/*.{js,ts,tsx} cypress",
56
+ "format:write": "prettier -w *.{js,ts} src/**/*.{js,ts,tsx} cypress",
57
+ "lint": "eslint *.{js,ts} src/**/*.{js,ts,tsx} cypress",
59
58
  "cy:open": "cypress open",
60
59
  "cy:headless": "cypress run --quiet",
61
60
  "update:all": "./scripts/update-dependents.sh",
62
61
  "pre-release": "./scripts/pre-release.sh",
63
- "release": "./scripts/release.sh"
62
+ "release": "./scripts/release.sh",
63
+ "start": "vite --port 5000",
64
+ "storybook": "yarn build && storybook dev -p 6006 --no-version-updates",
65
+ "build-storybook": "storybook build -o preview"
64
66
  },
65
67
  "dependencies": {
66
68
  "@mrtkrcm/cypress-plugin-snapshots": "https://github.com/mrtkrcm/cypress-plugin-snapshots#v1.13.0",
@@ -72,7 +74,6 @@
72
74
  "js-cookie": "^2.2.1",
73
75
  "lodash.throttle": "^4.1.1",
74
76
  "nanoid": "^4.0.0",
75
- "prop-types": "^15.7.2",
76
77
  "react": "^18.2.0",
77
78
  "react-dom": "^18.2.0",
78
79
  "redux": "^4.0.5",
@@ -89,5 +90,8 @@
89
90
  "react",
90
91
  "view-components"
91
92
  ],
92
- "author": "Ably Real-time Ltd <support@ably.com>"
93
+ "author": "Ably Real-time Ltd <support@ably.com>",
94
+ "msw": {
95
+ "workerDirectory": "public"
96
+ }
93
97
  }
package/reset/scripts.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.AblyUi=t():(e.AblyUi=e.AblyUi||{},e.AblyUi.Reset=t())}(this,(()=>(()=>{"use strict";var e={};return(e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})})(e),e})()));
1
+ import"./styles.css";
@@ -0,0 +1,353 @@
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
+ }
@@ -0,0 +1,129 @@
1
+ /* Reset based on https://unpkg.com/tailwindcss@1.9.6/dist/base.css */
2
+ @layer base {
3
+ html {
4
+ font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
5
+ Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
6
+ "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
7
+ "Noto Color Emoji";
8
+ line-height: 1.5;
9
+ }
10
+
11
+ blockquote,
12
+ dl,
13
+ dd,
14
+ h1,
15
+ h2,
16
+ h3,
17
+ h4,
18
+ h5,
19
+ h6,
20
+ figure,
21
+ p,
22
+ pre {
23
+ margin: 0;
24
+ }
25
+
26
+ h1,
27
+ h2,
28
+ h3,
29
+ h4,
30
+ h5,
31
+ h6 {
32
+ font-size: inherit;
33
+ font-weight: inherit;
34
+ }
35
+
36
+ fieldset {
37
+ margin: 0;
38
+ padding: 0;
39
+ }
40
+
41
+ ol,
42
+ ul {
43
+ list-style: none;
44
+ margin: 0;
45
+ padding: 0;
46
+ }
47
+
48
+ pre,
49
+ code,
50
+ kbd,
51
+ samp {
52
+ font-family: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
53
+ monospace;
54
+ }
55
+
56
+ button {
57
+ background-color: transparent;
58
+ background-image: none;
59
+ }
60
+
61
+ button:focus {
62
+ outline: 1px dotted;
63
+ outline: 5px auto -webkit-focus-ring-color;
64
+ }
65
+
66
+ img,
67
+ video {
68
+ max-width: 100%;
69
+ height: auto;
70
+ }
71
+
72
+ *,
73
+ ::before,
74
+ ::after {
75
+ box-sizing: border-box;
76
+ border-width: 0;
77
+ border-style: solid;
78
+ border-color: #e2e8f0;
79
+ }
80
+
81
+ hr {
82
+ border-top-width: 1px;
83
+ }
84
+
85
+ img {
86
+ border-style: solid;
87
+ }
88
+
89
+ textarea {
90
+ resize: vertical;
91
+ }
92
+
93
+ input:-ms-input-placeholder,
94
+ textarea:-ms-input-placeholder {
95
+ color: #a0aec0;
96
+ }
97
+
98
+ input::-ms-input-placeholder,
99
+ textarea::-ms-input-placeholder {
100
+ color: #a0aec0;
101
+ }
102
+
103
+ input::placeholder,
104
+ textarea::placeholder {
105
+ color: #a0aec0;
106
+ }
107
+
108
+ input::-webkit-search-cancel-button {
109
+ display: none;
110
+ }
111
+
112
+ button,
113
+ [role="button"] {
114
+ cursor: pointer;
115
+ }
116
+
117
+ table {
118
+ border-collapse: collapse;
119
+ }
120
+
121
+ a {
122
+ color: inherit;
123
+ text-decoration: inherit;
124
+ }
125
+
126
+ svg {
127
+ fill: currentColor;
128
+ }
129
+ }