Giter Site home page Giter Site logo

Comments (8)

EtienneLem avatar EtienneLem commented on July 21, 2024 1

As of v0.3.1 you can set sheetSize, which is any of these: 16, 20, 32, 64.
You can refer to README#sheet-sizes to know the filesize of each.

from emoji-mart.

iamsaksham avatar iamsaksham commented on July 21, 2024

@EtienneLem @rafbm Can we download low quality spritesheet? Or can we give it our own customURL to download the spritesheet? Because the one that gets downloaded itself takes around 7-8minutes to download on a slow connection which is quite expensive for my project

from emoji-mart.

EtienneLem avatar EtienneLem commented on July 21, 2024

For now use the 0.2.10 version https://github.com/missive/emoji-mart/tree/v0.2.10, will add back support for custom sheetURL in a future version.

from emoji-mart.

iamsaksham avatar iamsaksham commented on July 21, 2024

@EtienneLem emoji-mart 0.2.10 version is not available on npm. Please publish version 0.2.10 on npm

from emoji-mart.

iamsaksham avatar iamsaksham commented on July 21, 2024

@EtienneLem @rafbm Please publish version 0.2.10 on npm. I'm not able to release new emojis for production as I need v0.2.10. And is there any estimate to when will the sheetUrl be back in the latest updates?

from emoji-mart.

EtienneLem avatar EtienneLem commented on July 21, 2024

I’m having issues with npm trying to publish the v0.2.10, however v0.2.9 should do just fine. Any reason why the latest version doesn’t work for you? I’ve added a way to set the sheet size back, or perhaps you want to serve it locally?

from emoji-mart.

iamsaksham avatar iamsaksham commented on July 21, 2024

I've compressed the images, sheet_64 is now around 1mb. So i'd like to serve them from my cdn.
v0.2.9 wont work in firefox as it detects some empty objects for emojis as hasOwnProperty is missing in the loop.
I've started to add the sheetURL back, will keep it optional prop. I'll generate the pull request in a day or two. Till then v0.2.10 would be fine, if you can publish it on npm

from emoji-mart.

EtienneLem avatar EtienneLem commented on July 21, 2024

Gotcha, I think it worked. v0.2.10 should be available on npm.

from emoji-mart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.