@ably/ui 7.9.0 → 7.9.3-dev.a74555e
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.
- package/core/Logo.jsx +16 -29
- package/core/Meganav.jsx +19 -32
- package/core/MeganavContentDevelopers.jsx +1 -1
- package/core/fonts/.DS_Store +0 -0
- package/core/images/.DS_Store +0 -0
- package/package.json +1 -1
- package/preview/vendor/bundle/ruby/3.0.0/bundler/gems/ably-ui-abffd210ec0f/preview/log/.keep +0 -0
- package/preview/vendor/bundle/ruby/3.0.0/bundler/gems/ably-ui-abffd210ec0f/preview/tmp/.keep +0 -0
- package/preview/vendor/bundle/ruby/3.0.0/bundler/gems/ably-ui-abffd210ec0f/preview/tmp/pids/.keep +0 -0
- package/src/.DS_Store +0 -0
- package/src/core/.DS_Store +0 -0
- package/src/core/Logo/component.jsx +1 -1
- package/src/core/MeganavContentDevelopers/component.html.erb +1 -1
- package/src/core/MeganavContentDevelopers/component.jsx +1 -1
- package/src/core/fonts/.DS_Store +0 -0
- package/src/core/images/.DS_Store +0 -0
- package/src/reset/.DS_Store +0 -0
package/core/Logo.jsx
CHANGED
|
@@ -216,40 +216,27 @@ var external_commonjs_react_commonjs2_react_default = /*#__PURE__*/__webpack_req
|
|
|
216
216
|
// EXTERNAL MODULE: ./node_modules/prop-types/index.js
|
|
217
217
|
var prop_types = __webpack_require__(5697);
|
|
218
218
|
var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
|
|
219
|
-
;// CONCATENATED MODULE: ./node_modules/nanoid/index.
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
let
|
|
223
|
-
let mask = (2 << (Math.log(alphabet.length - 1) / Math.LN2)) - 1
|
|
224
|
-
let step = -~((1.6 * mask * defaultSize) / alphabet.length)
|
|
219
|
+
;// CONCATENATED MODULE: ./node_modules/nanoid/non-secure/index.js
|
|
220
|
+
let urlAlphabet =
|
|
221
|
+
'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict'
|
|
222
|
+
let customAlphabet = (alphabet, defaultSize = 21) => {
|
|
225
223
|
return (size = defaultSize) => {
|
|
226
224
|
let id = ''
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
while (j--) {
|
|
231
|
-
id += alphabet[bytes[j] & mask] || ''
|
|
232
|
-
if (id.length === size) return id
|
|
233
|
-
}
|
|
225
|
+
let i = size
|
|
226
|
+
while (i--) {
|
|
227
|
+
id += alphabet[(Math.random() * alphabet.length) | 0]
|
|
234
228
|
}
|
|
229
|
+
return id
|
|
235
230
|
}
|
|
236
231
|
}
|
|
237
|
-
let
|
|
238
|
-
|
|
239
|
-
let
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
id += (byte - 26).toString(36).toUpperCase()
|
|
246
|
-
} else if (byte > 62) {
|
|
247
|
-
id += '-'
|
|
248
|
-
} else {
|
|
249
|
-
id += '_'
|
|
250
|
-
}
|
|
251
|
-
return id
|
|
252
|
-
}, '')
|
|
232
|
+
let nanoid = (size = 21) => {
|
|
233
|
+
let id = ''
|
|
234
|
+
let i = size
|
|
235
|
+
while (i--) {
|
|
236
|
+
id += urlAlphabet[(Math.random() * 64) | 0]
|
|
237
|
+
}
|
|
238
|
+
return id
|
|
239
|
+
}
|
|
253
240
|
|
|
254
241
|
;// CONCATENATED MODULE: ./src/core/Logo/component.jsx
|
|
255
242
|
|
package/core/Meganav.jsx
CHANGED
|
@@ -463,7 +463,7 @@ Icon.propTypes = {
|
|
|
463
463
|
|
|
464
464
|
/***/ }),
|
|
465
465
|
|
|
466
|
-
/***/
|
|
466
|
+
/***/ 7697:
|
|
467
467
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
468
468
|
|
|
469
469
|
"use strict";
|
|
@@ -479,40 +479,27 @@ var external_commonjs_react_commonjs2_react_default = /*#__PURE__*/__webpack_req
|
|
|
479
479
|
// EXTERNAL MODULE: ./node_modules/prop-types/index.js
|
|
480
480
|
var prop_types = __webpack_require__(5697);
|
|
481
481
|
var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
|
|
482
|
-
;// CONCATENATED MODULE: ./node_modules/nanoid/index.
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
let
|
|
486
|
-
let mask = (2 << (Math.log(alphabet.length - 1) / Math.LN2)) - 1
|
|
487
|
-
let step = -~((1.6 * mask * defaultSize) / alphabet.length)
|
|
482
|
+
;// CONCATENATED MODULE: ./node_modules/nanoid/non-secure/index.js
|
|
483
|
+
let urlAlphabet =
|
|
484
|
+
'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict'
|
|
485
|
+
let customAlphabet = (alphabet, defaultSize = 21) => {
|
|
488
486
|
return (size = defaultSize) => {
|
|
489
487
|
let id = ''
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
while (j--) {
|
|
494
|
-
id += alphabet[bytes[j] & mask] || ''
|
|
495
|
-
if (id.length === size) return id
|
|
496
|
-
}
|
|
488
|
+
let i = size
|
|
489
|
+
while (i--) {
|
|
490
|
+
id += alphabet[(Math.random() * alphabet.length) | 0]
|
|
497
491
|
}
|
|
492
|
+
return id
|
|
498
493
|
}
|
|
499
494
|
}
|
|
500
|
-
let
|
|
501
|
-
|
|
502
|
-
let
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
id += (byte - 26).toString(36).toUpperCase()
|
|
509
|
-
} else if (byte > 62) {
|
|
510
|
-
id += '-'
|
|
511
|
-
} else {
|
|
512
|
-
id += '_'
|
|
513
|
-
}
|
|
514
|
-
return id
|
|
515
|
-
}, '')
|
|
495
|
+
let nanoid = (size = 21) => {
|
|
496
|
+
let id = ''
|
|
497
|
+
let i = size
|
|
498
|
+
while (i--) {
|
|
499
|
+
id += urlAlphabet[(Math.random() * 64) | 0]
|
|
500
|
+
}
|
|
501
|
+
return id
|
|
502
|
+
}
|
|
516
503
|
|
|
517
504
|
;// CONCATENATED MODULE: ./src/core/Logo/component.jsx
|
|
518
505
|
|
|
@@ -759,7 +746,7 @@ var MeganavContentDevelopers = function MeganavContentDevelopers(_ref) {
|
|
|
759
746
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("p", {
|
|
760
747
|
className: "ui-meganav-media-heading"
|
|
761
748
|
}, "Support & FAQs"))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("li", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("a", {
|
|
762
|
-
href: "
|
|
749
|
+
href: "https://status.ably.com/",
|
|
763
750
|
className: "group ui-meganav-media py-12"
|
|
764
751
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("p", {
|
|
765
752
|
className: "ui-meganav-media-heading"
|
|
@@ -5999,7 +5986,7 @@ var selectSessionData = function selectSessionData(store) {
|
|
|
5999
5986
|
|
|
6000
5987
|
|
|
6001
5988
|
// EXTERNAL MODULE: ./src/core/Logo/component.jsx + 1 modules
|
|
6002
|
-
var component = __webpack_require__(
|
|
5989
|
+
var component = __webpack_require__(7697);
|
|
6003
5990
|
// EXTERNAL MODULE: ./node_modules/lodash.throttle/index.js
|
|
6004
5991
|
var lodash_throttle = __webpack_require__(3096);
|
|
6005
5992
|
var lodash_throttle_default = /*#__PURE__*/__webpack_require__.n(lodash_throttle);
|
|
@@ -400,7 +400,7 @@ var MeganavContentDevelopers = function MeganavContentDevelopers(_ref) {
|
|
|
400
400
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("p", {
|
|
401
401
|
className: "ui-meganav-media-heading"
|
|
402
402
|
}, "Support & FAQs"))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("li", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("a", {
|
|
403
|
-
href: "
|
|
403
|
+
href: "https://status.ably.com/",
|
|
404
404
|
className: "group ui-meganav-media py-12"
|
|
405
405
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("p", {
|
|
406
406
|
className: "ui-meganav-media-heading"
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ably/ui",
|
|
3
|
-
"version": "7.9.
|
|
3
|
+
"version": "7.9.3-dev.a74555e",
|
|
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",
|
|
File without changes
|
|
File without changes
|
package/preview/vendor/bundle/ruby/3.0.0/bundler/gems/ably-ui-abffd210ec0f/preview/tmp/pids/.keep
ADDED
|
File without changes
|
package/src/.DS_Store
ADDED
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useMemo } from "react";
|
|
2
2
|
import T from "prop-types";
|
|
3
|
-
import { nanoid } from "nanoid";
|
|
3
|
+
import { nanoid } from "nanoid/non-secure";
|
|
4
4
|
|
|
5
5
|
const Logo = ({ dataId, href = "/" }) => {
|
|
6
6
|
// This fixes a bug where if the logo is rendered more than once on the page, and one of the instances
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
</li>
|
|
67
67
|
|
|
68
68
|
<li>
|
|
69
|
-
<a href="
|
|
69
|
+
<a href="https://status.ably.com/" class="group ui-meganav-media py-12">
|
|
70
70
|
<p class="ui-meganav-media-heading">
|
|
71
71
|
Status<iframe
|
|
72
72
|
src="https://status.ably.com/embed/icon"
|
|
@@ -74,7 +74,7 @@ const MeganavContentDevelopers = ({ absUrl }) => (
|
|
|
74
74
|
</a>
|
|
75
75
|
</li>
|
|
76
76
|
<li>
|
|
77
|
-
<a href="
|
|
77
|
+
<a href="https://status.ably.com/" className="group ui-meganav-media py-12">
|
|
78
78
|
<p className="ui-meganav-media-heading">
|
|
79
79
|
Status
|
|
80
80
|
<iframe
|
|
Binary file
|
|
Binary file
|
|
Binary file
|