@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 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
@@ -1,2 +1,2 @@
1
- export default(spritesUrl=>{if(document.querySelector(".ably-sprites"))return;fetch(spritesUrl).then(response=>response.text()).then(image=>{const container=document.createElement("div");container.className="ably-sprites";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))});
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
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/core/load-sprites.js"],"sourcesContent":["export default (spritesUrl) => {\n if (document.querySelector(\".ably-sprites\")) return;\n\n fetch(spritesUrl)\n .then((response) => response.text())\n .then((image) => {\n const container = document.createElement(\"div\");\n container.className = \"ably-sprites\";\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"],"names":["spritesUrl","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,aACd,GAAIC,SAASC,aAAa,CAAC,iBAAkB,OAE7CC,MAAMH,YACHI,IAAI,CAAC,AAACC,UAAaA,SAASC,IAAI,IAChCF,IAAI,CAAC,AAACG,QACL,MAAMC,UAAYP,SAASQ,aAAa,CAAC,MACzCD,CAAAA,UAAUE,SAAS,CAAG,cACtBF,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,CAAA,CAAE"}
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.0",
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",