Commit Graph

718 Commits (cdb74f28c788eae7eae4ad3b6da6bf9545308872)

Author SHA1 Message Date
Stephan Meijer ca27f3af06 allow style overrides from user
Change order of object merge, so the width can be overridden to for example '100%'
2017-02-04 12:00:22 +01:00
Thomas Osugi b9cb654761 Add karma/jasmine + tests for emoji-index and picker 2017-02-02 11:52:07 -07:00
Devin Brown 1a6e0e0fd3 add emojisToShow filter
Signed-off-by: Thomas Osugi <tosugi@pivotal.io>
2017-02-02 10:44:36 -07:00
Etienne Lemay 626d5b1ab4 Merge pull request #41 from pivotaltracker/preserve-svg-height-width
Preserve height and width on svgs
2017-01-27 06:16:08 -08:00
Etienne Lemay f4fd9eb759 Merge pull request #39 from Frugality/expose-category
Category: export from index.js
2017-01-27 06:14:33 -08:00
Thomas Osugi 9aab00c702 Preserve height and width on svgs
Signed-off-by: Eric Dattore <edattore@pivotal.io>
2017-01-26 17:18:14 -07:00
Frugality e8b6e27d33 Category: export from index.js 2017-01-24 16:58:18 -08:00
Etienne Lemay a02cca7535 Release v0.3.7 2017-01-18 07:31:44 -05:00
Etienne Lemay 67c965f8f4 Merge pull request #35 from scotato/master
Add emoji prop change check to Emoji component
2017-01-18 07:30:15 -05:00
Scott Dodge 4c6f8c54c1 Add emoji prop change check to Emoji component 2017-01-17 23:58:43 -06:00
Etienne Lemay 7e2adc60a2 Merge pull request #29 from savardc/master
Fix issue with operator in skin tone logic
2017-01-16 16:42:47 -05:00
Etienne Lemay 7ffcecf68e Release v0.3.6 2017-01-16 09:14:01 -05:00
Etienne Lemay 637e456a1f Merge pull request #34 from trun/fix/local-storage-disabled
wrap localStorage access in try-catch
2017-01-16 09:12:35 -05:00
Trevor Rundell c3aae4fb04 wrap localStorage access in try-catch
Many browsers may support localStorage, but disable access to it in certain situations. For example, Safari private browsing mode will raise an exception if you try to access localStorage from a third-party domain, resulting in unhandled errors like...

> QuotaExceededError: DOM Exception 22: An attempt was made to add something to storage that exceeded the quota.

The easiest way to handle this for optional features is to simply try-catch all access to localStorage.
2017-01-15 10:52:54 -05:00
Christian Savard 0db181e301 Fix issue with operator in skin tone logic 2016-12-12 21:33:06 -05:00
Etienne Lemay 1482050298 Release v0.3.5 2016-12-07 20:59:58 -05:00
Etienne Lemay 672a6a4dfc 💄 2016-12-07 20:57:42 -05:00
Etienne Lemay 0295f673b1 Merge pull request #27 from anri-asaturov/master
Allow custom namespace for store
2016-12-07 20:56:43 -05:00
Etienne Lemay 554ad41edb Merge pull request #28 from savardc/master
Allow passing children to Emoji component
2016-12-07 20:55:47 -05:00
Christian Savard 771b1e48f3 Use children passed through props 2016-12-07 15:04:39 -05:00
Anri Asaturov b3752574b2 Allow custom namespace for store 2016-12-07 01:23:35 +02:00
Etienne Lemay 462ba0cd26 Use dynamic version of emoji-datasource for the default sheet URL 2016-11-30 20:59:56 -05:00
Etienne Lemay 0d39e10a71 Don’t check for backgroundImageFn change in Category#shouldComponentUpdate
If the Fn is an anonymous function, it would always re-render the categories even when no other props change.
2016-11-30 20:31:02 -05:00
Etienne Lemay b7761f6e32 Merge pull request #26 from MarcoPolo/master
Allow a custom backgroundImageFn to be passed in
2016-11-30 20:27:53 -05:00
Marco Munizaga 1d0795ffa0 Bump version 2016-11-30 15:16:48 -08:00
Marco Munizaga 38049bba9f Don't use a github commit for emoji-datasource 2016-11-30 15:16:47 -08:00
Marco Munizaga a4be90aa6e Add backgroundImageFn to allow local image sheets 2016-11-30 15:16:47 -08:00
Etienne Lemay 2931f55e93 Release v0.3.3 2016-11-17 11:00:51 -05:00
Etienne Lemay 8b4ec749a8 Normalize line-height for all elements [Fix #24] 2016-11-17 11:00:26 -05:00
Etienne Lemay f2886f6f66 Release v0.3.2 2016-11-01 11:56:07 -04:00
Etienne Lemay 4076bb4090 Update example 2016-11-01 11:54:46 -04:00
Etienne Lemay dad72bc0fb Add `native` prop to Emoji 2016-11-01 11:54:25 -04:00
Etienne Lemay f3c1e94213 Export `unifiedToNative` utils 2016-11-01 11:51:55 -04:00
Etienne Lemay c4604741d9 Support :colons: syntax
i.e. 👍, 👍:skin-tone-3:
2016-11-01 11:51:19 -04:00
Etienne Lemay 97b20acc7f Merge pull request #22 from ai/line-height
Isolate .emoji-mart-anchors from page line-height
2016-11-01 10:44:03 -04:00
Andrey Sitnik 7dd7e3e783 Isolate .emoji-mart-anchors from page line-height 2016-10-31 15:39:07 +03:00
Etienne Lemay 489e593680 Release v0.3.1 2016-10-26 23:28:20 -04:00
Etienne Lemay 1dfa58239f 💄 2016-10-26 23:27:55 -04:00
Etienne Lemay 4bc68419b2 Add i18n prop to Picker [Close #20] 2016-10-26 23:23:49 -04:00
Etienne Lemay 86ac1d4ac8 Add sheetSize prop to Picker & Emoji [Close #18] 2016-10-26 21:47:21 -04:00
Etienne Lemay afe882560e Set Emoji.propTypes.skin as an enum 2016-10-26 21:11:29 -04:00
Etienne Lemay ecc086260a Set Emoji.propTypes.set as an enum 2016-10-26 20:59:21 -04:00
Etienne Lemay f43304399d Merge pull request #21 from ai/scroll-fix
Show only vertical scroll
2016-10-26 10:10:49 -04:00
Andrey Sitnik 81a9d884a7 Show only vertical scroll 2016-10-26 15:46:59 +02:00
Etienne Lemay f6348a8196 Release v0.3.0 2016-10-18 21:23:00 -04:00
Etienne Lemay 4f2b204c0e Remove “sheetURL” props & add “set” props
- Use sheets from emoji-data repo (from a CDN)
- Easier to setup/use
- Remove sheets from the repo
2016-10-18 21:21:56 -04:00
Etienne Lemay 1b832414c5 Release v0.2.10 2016-10-18 19:06:39 -04:00
Etienne Lemay 35a992118a Use hasOwnProperty to detect if emoji exists
Fixes a bug in Firefox where “watch” emoji would throw because apparently `_emojiData = data.emojis['watch']` returns a function instead of the value of the watch key
2016-10-18 19:00:51 -04:00
Etienne Lemay e429147d1f Release v0.2.9 2016-10-14 15:59:51 -04:00
Etienne Lemay 996c46cd9c Also split search terms at “-” & “_”
Like we do when building the search string in `build-data.js`
2016-10-14 15:56:17 -04:00