@ably/ui 7.1.0-dev.02abc5e → 7.1.0-dev.97a5585

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.
Binary file
package/core/Footer.jsx CHANGED
@@ -405,12 +405,12 @@ function Footer(_ref) {
405
405
  }, "Developers"), /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("ul", null, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("li", {
406
406
  className: "p-menu-row-snug"
407
407
  }, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("a", {
408
- href: absUrl("/documentation/quick-start-guide"),
408
+ href: absUrl("/docs/quick-start-guide"),
409
409
  className: "ui-footer-menu-row-link"
410
410
  }, "Start in 5 minutes")), /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("li", {
411
411
  className: "p-menu-row-snug"
412
412
  }, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("a", {
413
- href: absUrl("/documentation/"),
413
+ href: absUrl("/docs/"),
414
414
  className: "ui-footer-menu-row-link"
415
415
  }, "Documentation")), /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("li", {
416
416
  className: "p-menu-row-snug"
package/core/Loader.jsx CHANGED
@@ -232,7 +232,7 @@ var Loader = function Loader(_ref) {
232
232
  xmlns: "http://www.w3.org/2000/svg"
233
233
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("style", {
234
234
  dangerouslySetInnerHTML: {
235
- "__html": "\n @keyframes chunk-animation {\n to {\n transform: rotate(360deg);\n }\n }\n\n .chunk {\n transform: rotate(0deg);\n transform-origin: center;\n animation: chunk-animation 0.6s cubic-bezier(.44,.15,.66,.98) forwards infinite;\n }\n "
235
+ __html: "\n @keyframes chunk-animation {\n to {\n transform: rotate(360deg);\n }\n }\n\n .chunk {\n transform: rotate(0deg);\n transform-origin: center;\n animation: chunk-animation 0.6s cubic-bezier(.44,.15,.66,.98) forwards infinite;\n }\n "
236
236
  }
237
237
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("path", {
238
238
  fill: "currentColor",
package/core/Meganav.jsx CHANGED
@@ -657,7 +657,7 @@ var MeganavContentDevelopers = function MeganavContentDevelopers(_ref) {
657
657
  }))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("p", {
658
658
  className: "text-p1 font-medium text-cool-black mb-20"
659
659
  }, "Docs, quick start guides, tutorials, and API reference to help you start building with Ably\u2019s platform and APIs."), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_FeaturedLink_component_jsx__WEBPACK_IMPORTED_MODULE_2__.default, {
660
- url: absUrl("/documentation")
660
+ url: absUrl("/docs")
661
661
  }, "Visit Documentation")), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("h3", {
662
662
  className: "ui-meganav-overline uppercase",
663
663
  id: "meganav-developers-panel-explore"
@@ -345,7 +345,7 @@ var MeganavContentDevelopers = function MeganavContentDevelopers(_ref) {
345
345
  }))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("p", {
346
346
  className: "text-p1 font-medium text-cool-black mb-20"
347
347
  }, "Docs, quick start guides, tutorials, and API reference to help you start building with Ably\u2019s platform and APIs."), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_FeaturedLink_component_jsx__WEBPACK_IMPORTED_MODULE_2__.default, {
348
- url: absUrl("/documentation")
348
+ url: absUrl("/docs")
349
349
  }, "Visit Documentation")), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("h3", {
350
350
  className: "ui-meganav-overline uppercase",
351
351
  id: "meganav-developers-panel-explore"
package/core/styles.css CHANGED
@@ -19,13 +19,13 @@
19
19
  --color-gui-viewed: #4887c2;
20
20
  --color-gui-unavailable: #a8a8a8;
21
21
  --color-gui-error: #fb0c0c;
22
+ --color-gui-success: #11cb24;
22
23
 
23
24
  /* code syntax: theme */
24
25
  --syntax-black: var(--color-cool-black);
25
26
  --syntax-dark-grey: var(--color-dark-grey);
26
27
  --syntax-mid-grey: var(--color-mid-grey);
27
28
  --syntax-light-grey: var(--color-light-grey);
28
-
29
29
  --syntax-orange: #e78c45;
30
30
  --syntax-yellow: #e7c547;
31
31
  --syntax-blue: #3490ec;
@@ -154,7 +154,7 @@
154
154
  the values in the comments can be used as guide as they represent the grid the elements (should) sit on.
155
155
  alternatively, look for ui-grid-* helpers. */
156
156
  --bp-xs: 375px; /* gutters 8px, side-margin 24px */
157
- --bp-sm: 600px; /* gutters 16px, side-margin 32px */
157
+ --bp-sm: 768px; /* gutters 16px, side-margin 32px */
158
158
  --bp-md: 1040px; /* gutters 24px, side-margin 40px, meganav desktop */
159
159
  --bp-lg: 1280px; /* gutters 24px, side-margin 64px */
160
160
  --bp-xl: 1440px; /* gutters 32px, side-margin 64px */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ably/ui",
3
- "version": "7.1.0-dev.02abc5e",
3
+ "version": "7.1.0-dev.97a5585",
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",
package/src/.DS_Store CHANGED
Binary file
@@ -74,10 +74,10 @@
74
74
  <h2 class="ui-footer-col-title">Developers</h2>
75
75
  <ul>
76
76
  <li class="p-menu-row-snug">
77
- <%= link_to 'Start in 5 minutes', abs_url("/documentation/quick-start-guide"), class: "ui-footer-menu-row-link" %>
77
+ <%= link_to 'Start in 5 minutes', abs_url("/docs/quick-start-guide"), class: "ui-footer-menu-row-link" %>
78
78
  </li>
79
79
  <li class="p-menu-row-snug">
80
- <%= link_to 'Documentation', abs_url("/documentation"), class: "ui-footer-menu-row-link" %>
80
+ <%= link_to 'Documentation', abs_url("/docs"), class: "ui-footer-menu-row-link" %>
81
81
  </li>
82
82
  <li class="p-menu-row-snug">
83
83
  <%= link_to 'Tutorials', abs_url("/tutorials"), class: "ui-footer-menu-row-link" %>
@@ -116,12 +116,12 @@ export default function Footer({ paths, urlBase }) {
116
116
  <h2 className="ui-footer-col-title">Developers</h2>
117
117
  <ul>
118
118
  <li className="p-menu-row-snug">
119
- <a href={absUrl("/documentation/quick-start-guide")} className="ui-footer-menu-row-link">
119
+ <a href={absUrl("/docs/quick-start-guide")} className="ui-footer-menu-row-link">
120
120
  Start in 5 minutes
121
121
  </a>
122
122
  </li>
123
123
  <li className="p-menu-row-snug">
124
- <a href={absUrl("/documentation/")} className="ui-footer-menu-row-link">
124
+ <a href={absUrl("/docs/")} className="ui-footer-menu-row-link">
125
125
  Documentation
126
126
  </a>
127
127
  </li>
@@ -1,9 +1,18 @@
1
1
  import React from "react";
2
2
  import T from "prop-types";
3
3
 
4
- const Loader = ({ ringColor = "text-dark-grey", size = "1.5rem", additionalCSS = "" }) =>
5
- <svg className={`${ringColor} ${additionalCSS}`} style={{ width: size, height: size }} height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
6
- <style dangerouslySetInnerHTML={{"__html": `
4
+ const Loader = ({ ringColor = "text-dark-grey", size = "1.5rem", additionalCSS = "" }) => (
5
+ <svg
6
+ className={`${ringColor} ${additionalCSS}`}
7
+ style={{ width: size, height: size }}
8
+ height="24"
9
+ viewBox="0 0 24 24"
10
+ width="24"
11
+ xmlns="http://www.w3.org/2000/svg"
12
+ >
13
+ <style
14
+ dangerouslySetInnerHTML={{
15
+ __html: `
7
16
  @keyframes chunk-animation {
8
17
  to {
9
18
  transform: rotate(360deg);
@@ -15,11 +24,21 @@ const Loader = ({ ringColor = "text-dark-grey", size = "1.5rem", additionalCSS =
15
24
  transform-origin: center;
16
25
  animation: chunk-animation 0.6s cubic-bezier(.44,.15,.66,.98) forwards infinite;
17
26
  }
18
- `}}>
19
- </style>
20
- <path fill="currentColor" d="m12 1.99976c-1.9778 0-3.91121.58649-5.5557 1.6853s-2.92621 2.6606-3.68309 4.48786c-.75688 1.82728-.95491 3.83788-.56906 5.77778.38585 1.9398 1.33826 3.7216 2.73679 5.1201 1.39852 1.3985 3.18035 2.351 5.12016 2.7368 1.9398.3859 3.9505.1878 5.7777-.569 1.8273-.7569 3.3891-2.0387 4.4879-3.6831 1.0988-1.6445 1.6853-3.5779 1.6853-5.5557 0-1.3133-.2587-2.61362-.7612-3.82688-.5025-1.21325-1.2391-2.31565-2.1677-3.24423-.9286-.92859-2.031-1.66518-3.2443-2.16773-1.2132-.50255-2.5136-.7612-3.8268-.7612zm0 18.00004c-1.5822 0-3.12896-.4692-4.44456-1.3483-1.31559-.879-2.34097-2.1285-2.94647-3.5903s-.76393-3.0703-.45525-4.6222c.30868-1.55181 1.07061-2.97728 2.18943-4.0961s2.54428-1.88074 4.09615-2.18943c1.5518-.30868 3.1604-.15025 4.6222.45525s2.7112 1.63088 3.5903 2.94647c.879 1.3156 1.3482 2.86231 1.3482 4.44461 0 2.1217-.8428 4.1565-2.3431 5.6568s-3.5352 2.3432-5.6569 2.3432z" opacity=".5"/>
21
- <path className="chunk" d="m20 11.9998h2c0-1.3133-.2587-2.61362-.7612-3.82688-.5026-1.21325-1.2391-2.31565-2.1677-3.24423-.9286-.92859-2.031-1.66518-3.2443-2.16773-1.2132-.50255-2.5136-.7612-3.8268-.7612v2c2.1217 0 4.1566.84285 5.6569 2.34314 1.5002 1.50029 2.3431 3.53512 2.3431 5.6569z" fill="#ff5416"/>
22
- </svg>;
27
+ `,
28
+ }}
29
+ ></style>
30
+ <path
31
+ fill="currentColor"
32
+ d="m12 1.99976c-1.9778 0-3.91121.58649-5.5557 1.6853s-2.92621 2.6606-3.68309 4.48786c-.75688 1.82728-.95491 3.83788-.56906 5.77778.38585 1.9398 1.33826 3.7216 2.73679 5.1201 1.39852 1.3985 3.18035 2.351 5.12016 2.7368 1.9398.3859 3.9505.1878 5.7777-.569 1.8273-.7569 3.3891-2.0387 4.4879-3.6831 1.0988-1.6445 1.6853-3.5779 1.6853-5.5557 0-1.3133-.2587-2.61362-.7612-3.82688-.5025-1.21325-1.2391-2.31565-2.1677-3.24423-.9286-.92859-2.031-1.66518-3.2443-2.16773-1.2132-.50255-2.5136-.7612-3.8268-.7612zm0 18.00004c-1.5822 0-3.12896-.4692-4.44456-1.3483-1.31559-.879-2.34097-2.1285-2.94647-3.5903s-.76393-3.0703-.45525-4.6222c.30868-1.55181 1.07061-2.97728 2.18943-4.0961s2.54428-1.88074 4.09615-2.18943c1.5518-.30868 3.1604-.15025 4.6222.45525s2.7112 1.63088 3.5903 2.94647c.879 1.3156 1.3482 2.86231 1.3482 4.44461 0 2.1217-.8428 4.1565-2.3431 5.6568s-3.5352 2.3432-5.6569 2.3432z"
33
+ opacity=".5"
34
+ />
35
+ <path
36
+ className="chunk"
37
+ d="m20 11.9998h2c0-1.3133-.2587-2.61362-.7612-3.82688-.5026-1.21325-1.2391-2.31565-2.1677-3.24423-.9286-.92859-2.031-1.66518-3.2443-2.16773-1.2132-.50255-2.5136-.7612-3.8268-.7612v2c2.1217 0 4.1566.84285 5.6569 2.34314 1.5002 1.50029 2.3431 3.53512 2.3431 5.6569z"
38
+ fill="#ff5416"
39
+ />
40
+ </svg>
41
+ );
23
42
 
24
43
  Loader.propTypes = {
25
44
  size: T.string,
@@ -11,7 +11,7 @@
11
11
  Docs, quick start guides, tutorials, and API reference to help you start building with Ably’s platform and APIs.
12
12
  </p>
13
13
 
14
- <%= render(AblyUi::Core::FeaturedLink.new(url: abs_url("/documentation"))) do %>Visit Documentation<% end %>
14
+ <%= render(AblyUi::Core::FeaturedLink.new(url: abs_url("/docs"))) do %>Visit Documentation<% end %>
15
15
  </div>
16
16
 
17
17
  <div>
@@ -18,7 +18,7 @@ const MeganavContentDevelopers = ({ absUrl }) => (
18
18
  Docs, quick start guides, tutorials, and API reference to help you start building with Ably’s platform and APIs.
19
19
  </p>
20
20
 
21
- <FeaturedLink url={absUrl("/documentation")}>Visit Documentation</FeaturedLink>
21
+ <FeaturedLink url={absUrl("/docs")}>Visit Documentation</FeaturedLink>
22
22
  </div>
23
23
 
24
24
  <div>
@@ -19,13 +19,13 @@
19
19
  --color-gui-viewed: #4887c2;
20
20
  --color-gui-unavailable: #a8a8a8;
21
21
  --color-gui-error: #fb0c0c;
22
+ --color-gui-success: #11cb24;
22
23
 
23
24
  /* code syntax: theme */
24
25
  --syntax-black: var(--color-cool-black);
25
26
  --syntax-dark-grey: var(--color-dark-grey);
26
27
  --syntax-mid-grey: var(--color-mid-grey);
27
28
  --syntax-light-grey: var(--color-light-grey);
28
-
29
29
  --syntax-orange: #e78c45;
30
30
  --syntax-yellow: #e7c547;
31
31
  --syntax-blue: #3490ec;
@@ -154,7 +154,7 @@
154
154
  the values in the comments can be used as guide as they represent the grid the elements (should) sit on.
155
155
  alternatively, look for ui-grid-* helpers. */
156
156
  --bp-xs: 375px; /* gutters 8px, side-margin 24px */
157
- --bp-sm: 600px; /* gutters 16px, side-margin 32px */
157
+ --bp-sm: 768px; /* gutters 16px, side-margin 32px */
158
158
  --bp-md: 1040px; /* gutters 24px, side-margin 40px, meganav desktop */
159
159
  --bp-lg: 1280px; /* gutters 24px, side-margin 64px */
160
160
  --bp-xl: 1440px; /* gutters 32px, side-margin 64px */
@@ -76,6 +76,7 @@ module.exports = {
76
76
  "gui-viewed": "var(--color-gui-viewed)",
77
77
  "gui-unavailable": "var(--color-gui-unavailable)",
78
78
  "gui-error": "var(--color-gui-error)",
79
+ "gui-success": "var(--color-gui-success)",
79
80
  "icon-linkedin": "var(--icon-color-linkedin)",
80
81
  "icon-twitter": "var(--icon-color-twitter)",
81
82
  "icon-glassdoor": "var(--icon-color-glassdoor)",
Binary file
Binary file
Binary file
Binary file
Binary file