Commit Graph

356 Commits (45215092e5add1fb59244514d9850c4746ab49f3)

Author SHA1 Message Date
Nick Filatov dc9b114439 replace webpack tasks for dist build on babel tasks 2017-09-03 15:35:33 +06:00
Etienne Lemay f250f7739a Merge pull request #104 from ai/npmignore
Reduce npm package size
2017-08-17 10:34:09 -04:00
Etienne Lemay 191f97084c Merge pull request #103 from ai/size-limit
Add package size profiling tools
2017-08-17 10:33:41 -04:00
Etienne Lemay 6d60239998 Don’t use BundleAnalyzerPlugin in tests 2017-08-17 10:31:32 -04:00
Etienne Lemay 2becc5a4ae Merge pull request #99 from chadoh/countries-search
Search country flags using country names
2017-08-17 09:51:35 -04:00
Andrey Sitnik 5462a11f93 Reduce npm package size 2017-08-16 15:43:56 -07:00
Andrey Sitnik 4f9320a51f Add package size profiling tools 2017-08-16 15:33:24 -07:00
Chad Ostrowski a927821c9b Country names: correctly uppercase names like 'EU'
Always perform the capitalization-correction for country names. If we
did this naïvely, using the same regex as before, it would change things
like "Falkland Islands" to "Falkland ISLANDS". The new regex checks on
word boundary, `\b`, instead of space, `\s`, which means even single
words like `Eu` are found. It then checks for exactly two letters, where
the first is uppercase and the second lowercase.

Here's exactly what it affects:

* All "Regional Indicator Symbol Letters AC"-type names that don't
have data in emojiLib
* There are some flags in emojiLib for which it uses two-character
abbreviations instead of full country names (see muan/emojilib#131).
These countries are: CN, EU, FR, DE, IT, JP, RU, KR, ES, TR, UK, US
This new regex corrects these from Cn, Eu, Fr, etc.
2017-08-06 14:05:01 -04:00
Chad Ostrowski 22adc985b8 Country flag names: use name from emojiLib
* Always match on emoji character
* For flag emojis where emojiLib data is found, use emojiLib name
2017-08-06 14:02:14 -04:00
Etienne Lemay c21e1402b6 Release v1.0.1 2017-06-27 17:36:24 -04:00
Etienne Lemay f3f60f58b3 Make custom emojis work on example page [Ref #87] 2017-06-27 17:24:38 -04:00
Etienne Lemay 4d57436bbe Fix search with include/exclude [Fix #89] 2017-06-27 17:05:05 -04:00
Etienne Lemay b90ca821bc Merge pull request #92 from MeisterLabs/ie-support
Improve support for Internet Explorer
2017-06-23 09:38:21 -04:00
Etienne Lemay d2355ce127 Merge pull request #93 from MeisterLabs/scrollbar-shift
Fix shift when scrollbar is rendered
2017-06-23 09:37:17 -04:00
Jakob Krigovsky 385408b51c Include scrollbar width in total picker width 2017-06-23 12:26:30 +02:00
Jakob Krigovsky 164e9d06ed Avoid Array.prototype.find() 2017-06-23 11:47:21 +02:00
Jakob Krigovsky 435250f319 Avoid Array.prototype.fill() 2017-06-23 11:47:21 +02:00
Jakob Krigovsky 1b9b8983bb Use Babel’s transform-runtime plugin 2017-06-23 11:47:21 +02:00
Etienne Lemay 522b74f0a7 💄 2017-06-21 14:03:01 -04:00
Etienne Lemay 48f83e001e Merge pull request #88 from savardc/textVsEmoticon
Text representation of emoji is different from emoticon
2017-06-21 14:02:27 -04:00
Christian Savard feb89bb36f Text representation of emoji is different from emoticon 2017-05-31 15:17:20 -04:00
Etienne Lemay 5abb2b6bce Merge pull request #83 from samkelleher/exclude-recent
Do not store recently used if 'recent' category is excluded.
2017-05-29 15:12:02 -04:00
Sam Kelleher 30fa05f3c5
Switch default for simpler code. 2017-05-29 12:36:49 +01:00
Sam Kelleher 32a5206453
Flip wrong way round flag. 2017-05-29 12:30:04 +01:00
Sam Kelleher 184f2824f5
Do not store recent if recent category is hidden. 2017-05-29 12:29:11 +01:00
Etienne Lemay 95eff42f8c Release v1.0.0 🎉 2017-05-27 15:14:46 -04:00
Etienne Lemay 9e47e9d1b4 Set npm/yarn start 2017-05-27 14:55:22 -04:00
Etienne Lemay 1d57c216f5 Use svg-jsx for anchors
Fixes a React warning when using svg-inline-react
2017-05-27 14:52:38 -04:00
Etienne Lemay 3332c525d4 Add messenger & facebook sets 2017-05-27 14:15:56 -04:00
Etienne Lemay 33bcbda3d7 Do not render emoji when not supported in set 2017-05-27 13:52:12 -04:00
Etienne Lemay 7d014966e6 Unselect categories when searching 2017-05-27 13:40:54 -04:00
Etienne Lemay 1e87212374 Merge pull request #85 from MeisterLabs/custom-emojis [Close #2]
Add support for custom emojis
2017-05-27 13:38:53 -04:00
Etienne Lemay 98f2a95913 Use emoji object in `emojisToShowFilter`
So that custom emojis can also be filtered if need be
2017-05-27 13:26:02 -04:00
Etienne Lemay e95f515268 Add “Frequently Used” support to custom emojis 2017-05-27 13:17:21 -04:00
Etienne Lemay e28dc4da55 Make sure last category is selected when scrolled to bottom 2017-05-27 12:58:46 -04:00
Etienne Lemay d8b4c81534 Add include/exclude support to custom emojis 2017-05-27 12:27:47 -04:00
Etienne Lemay 1b77cb8244 Merge branch 'master' into custom-emojis 2017-05-27 11:26:59 -04:00
Etienne Lemay f4bbee1ecd Do not set skin when selecting the same 2017-05-27 11:16:54 -04:00
Etienne Lemay 81ccfbca03 Reset search index when changing include/exclude 2017-05-27 11:16:54 -04:00
Etienne Lemay b00572dfaf Fix search results for “-” not returning “-1” since 996c46cd 2017-05-27 11:16:54 -04:00
Etienne Lemay b149e37aad Update frequently defaults quantity when still unchanged 2017-05-27 11:16:54 -04:00
Etienne Lemay 456f8e55cb [Example] Add more dynamic props 2017-05-27 11:16:54 -04:00
Etienne Lemay 2c35d5a8a8 Handle empty include/exclude arrays 2017-05-27 11:16:54 -04:00
Etienne Lemay 357653bb37 Do not include search input in the scroll container [Close #58] 2017-05-27 11:16:54 -04:00
Etienne Lemay 0736c65580 Use Emoji function instead of using JSX
So React doesn’t have to mount/unmount functional components
2017-05-27 11:16:54 -04:00
Etienne Lemay d2e37cad6d Functional Emoji component 2017-05-27 11:15:51 -04:00
Etienne Lemay 2ace579c7d [Example] Update emoji examples with clicked emoji 2017-05-27 11:15:51 -04:00
Etienne Lemay b8abf0a310 Make example much more performant
- Don’t load all sets spritesheet
- Handle native like the other sets, and use native by default (no spritesheet load)
2017-05-27 11:15:51 -04:00
Etienne Lemay 04b993e7b6 Merge pull request #78 from savardc/emoji4
Update to latest emoji-datasource
2017-05-27 11:04:11 -04:00
Etienne Lemay 92985ecf29 Merge branch 'master' into emoji4 2017-05-27 11:03:41 -04:00