@ably/ui 17.3.0 → 17.3.1-dev.2181c69a
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/.DS_Store +0 -0
- package/core/Accordion/.DS_Store +0 -0
- package/core/Code/.DS_Store +0 -0
- package/core/ContactFooter/.DS_Store +0 -0
- package/core/CookieMessage/.DS_Store +0 -0
- package/core/CustomerLogos/.DS_Store +0 -0
- package/core/DropdownMenu/.DS_Store +0 -0
- package/core/FeaturedLink/.DS_Store +0 -0
- package/core/Flash/.DS_Store +0 -0
- package/core/Footer/.DS_Store +0 -0
- package/core/Icon/.DS_Store +0 -0
- package/core/Loader/.DS_Store +0 -0
- package/core/Logo/.DS_Store +0 -0
- package/core/Meganav/.DS_Store +0 -0
- package/core/Notice/.DS_Store +0 -0
- package/core/Slider/.DS_Store +0 -0
- package/core/Table/.DS_Store +0 -0
- package/core/Tooltip/.DS_Store +0 -0
- package/core/icons/.DS_Store +0 -0
- package/core/icons/gui/.DS_Store +0 -0
- package/core/icons/product/.DS_Store +0 -0
- package/core/icons/tech/.DS_Store +0 -0
- package/core/images/.DS_Store +0 -0
- package/core/images/logo/.DS_Store +0 -0
- package/core/load-sprites.js +1 -1
- package/core/load-sprites.js.map +1 -1
- package/package.json +1 -1
package/core/.DS_Store
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/core/load-sprites.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export default(spritesUrl=>{if(document.querySelector(
|
|
1
|
+
export default(spritesUrls=>{spritesUrls.forEach((spritesUrl,index)=>{if(document.querySelector(`.ably-sprites-${index}`))return;fetch(spritesUrl).then(response=>response.text()).then(image=>{const container=document.createElement("div");container.className=`ably-sprites-${index}`;container.style.opacity=0;container.style.position="absolute";container.style.width="0";container.style.height="0";container.innerHTML=image;document.body.appendChild(container)}).catch(err=>console.error(err))})});
|
|
2
2
|
//# sourceMappingURL=load-sprites.js.map
|
package/core/load-sprites.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/core/load-sprites.js"],"sourcesContent":["export default (spritesUrl) => {\n
|
|
1
|
+
{"version":3,"sources":["../../src/core/load-sprites.js"],"sourcesContent":["export default (spritesUrls) => {\n spritesUrls.forEach((spritesUrl, index) => {\n if (document.querySelector(`.ably-sprites-${index}`)) return;\n\n fetch(spritesUrl)\n .then((response) => response.text())\n .then((image) => {\n const container = document.createElement(\"div\");\n container.className = `ably-sprites-${index}`;\n container.style.opacity = 0;\n container.style.position = \"absolute\";\n container.style.width = \"0\";\n container.style.height = \"0\";\n container.innerHTML = image;\n document.body.appendChild(container);\n })\n .catch((err) => console.error(err));\n });\n};\n"],"names":["spritesUrls","forEach","spritesUrl","index","document","querySelector","fetch","then","response","text","image","container","createElement","className","style","opacity","position","width","height","innerHTML","body","appendChild","catch","err","console","error"],"mappings":"AAAA,cAAe,CAAA,AAACA,cACdA,YAAYC,OAAO,CAAC,CAACC,WAAYC,SAC/B,GAAIC,SAASC,aAAa,CAAC,CAAC,cAAc,EAAEF,MAAM,CAAC,EAAG,OAEtDG,MAAMJ,YACHK,IAAI,CAAC,AAACC,UAAaA,SAASC,IAAI,IAChCF,IAAI,CAAC,AAACG,QACL,MAAMC,UAAYP,SAASQ,aAAa,CAAC,MACzCD,CAAAA,UAAUE,SAAS,CAAG,CAAC,aAAa,EAAEV,MAAM,CAAC,AAC7CQ,CAAAA,UAAUG,KAAK,CAACC,OAAO,CAAG,CAC1BJ,CAAAA,UAAUG,KAAK,CAACE,QAAQ,CAAG,UAC3BL,CAAAA,UAAUG,KAAK,CAACG,KAAK,CAAG,GACxBN,CAAAA,UAAUG,KAAK,CAACI,MAAM,CAAG,GACzBP,CAAAA,UAAUQ,SAAS,CAAGT,MACtBN,SAASgB,IAAI,CAACC,WAAW,CAACV,UAC5B,GACCW,KAAK,CAAC,AAACC,KAAQC,QAAQC,KAAK,CAACF,KAClC,EACF,CAAA,CAAE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ably/ui",
|
|
3
|
-
"version": "17.3.
|
|
3
|
+
"version": "17.3.1-dev.2181c69a",
|
|
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",
|