emoji-picker-react 4.9.3 → 4.10.0

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.
@@ -159,7 +159,6 @@ var commonInteractionStyles = /*#__PURE__*/stylesheet.create({
159
159
  opacity: '1',
160
160
  backgroundPositionY: 'var(--epr-category-navigation-button-size)'
161
161
  },
162
- // @ts-ignore
163
162
  '&.epr-active': {
164
163
  opacity: '1',
165
164
  backgroundPositionY: 'var(--epr-category-navigation-button-size)'
@@ -16810,6 +16809,9 @@ function mergeConfig(userConfig) {
16810
16809
  var categories = mergeCategoriesConfig(userConfig.categories, {
16811
16810
  suggestionMode: config.suggestedEmojisMode
16812
16811
  });
16812
+ config.hiddenEmojis.forEach(function (emoji) {
16813
+ config.unicodeToHide.add(emoji);
16814
+ });
16813
16815
  setCustomEmojis((_config$customEmojis = config.customEmojis) != null ? _config$customEmojis : []);
16814
16816
  var skinTonePickerLocation = config.searchDisabled ? SkinTonePickerLocation.PREVIEW : config.skinTonePickerLocation;
16815
16817
  return _extends({}, config, {
@@ -16844,7 +16846,8 @@ function basePickerConfig() {
16844
16846
  reactionsDefaultOpen: false,
16845
16847
  reactions: DEFAULT_REACTIONS,
16846
16848
  open: true,
16847
- allowExpandReactions: true
16849
+ allowExpandReactions: true,
16850
+ hiddenEmojis: []
16848
16851
  };
16849
16852
  }
16850
16853
  var basePreviewConfig = {
@@ -18196,7 +18199,6 @@ var styles = /*#__PURE__*/stylesheet.create({
18196
18199
  backgroundColor: 'var(--epr-bg-color)',
18197
18200
  overflow: 'hidden',
18198
18201
  transition: 'all 0.3s ease-in-out, background-color 0.1s ease-in-out',
18199
- // @ts-expect-error - need to work on this
18200
18202
  '*': {
18201
18203
  boxSizing: 'border-box',
18202
18204
  fontFamily: 'sans-serif'
@@ -18296,7 +18298,7 @@ var styles = /*#__PURE__*/stylesheet.create({
18296
18298
  height: '50px',
18297
18299
  display: 'inline-flex',
18298
18300
  backgroundColor: 'var(--epr-reactions-bg-color)',
18299
- // @ts-expect-error - need to work on this
18301
+ // @ts-ignore - backdropFilter is not recognized.
18300
18302
  backdropFilter: 'blur(8px)',
18301
18303
  '--': {
18302
18304
  '--epr-picker-border-radius': '50px'
@@ -19092,7 +19094,6 @@ var styles$5 = /*#__PURE__*/stylesheet.create( /*#__PURE__*/_extends({
19092
19094
  ':hover': {
19093
19095
  color: 'var(--epr-highlight-color)',
19094
19096
  backgroundColor: 'var(--epr-hover-bg-color-reduced-opacity)',
19095
- // @ts-ignore
19096
19097
  ':after': {
19097
19098
  backgroundPositionY: '-20px'
19098
19099
  }
@@ -19100,7 +19101,6 @@ var styles$5 = /*#__PURE__*/stylesheet.create( /*#__PURE__*/_extends({
19100
19101
  ':focus': {
19101
19102
  color: 'var(--epr-highlight-color)',
19102
19103
  backgroundColor: 'var(--epr-hover-bg-color-reduced-opacity)',
19103
- // @ts-ignore
19104
19104
  ':after': {
19105
19105
  backgroundPositionY: '-40px'
19106
19106
  }
@@ -19237,7 +19237,7 @@ var styles$7 = /*#__PURE__*/stylesheet.create({
19237
19237
  label: {
19238
19238
  '.': ClassNames.label,
19239
19239
  alignItems: 'center',
19240
- // @ts-expect-error - backdropFilter is a valid CSS property
19240
+ // @ts-ignore - backdropFilter is not recognized.
19241
19241
  backdropFilter: 'blur(3px)',
19242
19242
  backgroundColor: 'var(--epr-category-label-bg-color)',
19243
19243
  color: 'var(--epr-category-label-text-color)',
@@ -19764,7 +19764,6 @@ var styles$c = /*#__PURE__*/stylesheet.create({
19764
19764
  ':focus': {
19765
19765
  boxShadow: '0 0 0 3px var(--epr-focus-bg-color)'
19766
19766
  },
19767
- // @ts-ignore
19768
19767
  '&.epr-tone-neutral': {
19769
19768
  backgroundColor: '#ffd225'
19770
19769
  },
@@ -19884,10 +19883,9 @@ var styles$d = /*#__PURE__*/stylesheet.create({
19884
19883
  boxShadow: '0px 0 7px var(--epr-picker-border-color)'
19885
19884
  },
19886
19885
  open: {
19887
- // @ts-ignore
19886
+ // @ts-ignore - backdropFilter is not recognized.
19888
19887
  backdropFilter: 'blur(5px)',
19889
19888
  background: 'var(--epr-skin-tone-picker-menu-color)',
19890
- // @ts-ignore
19891
19889
  '.epr-active:after': {
19892
19890
  content: '',
19893
19891
  position: 'absolute',
@@ -19904,7 +19902,6 @@ var styles$d = /*#__PURE__*/stylesheet.create({
19904
19902
  position: 'relative',
19905
19903
  width: 'var(--epr-skin-tone-size)',
19906
19904
  height: 'var(--epr-skin-tone-size)',
19907
- // @ts-ignore
19908
19905
  '> button': {
19909
19906
  width: 'var(--epr-skin-tone-size)',
19910
19907
  display: 'block',
@@ -20111,7 +20108,6 @@ var styles$f = /*#__PURE__*/stylesheet.create( /*#__PURE__*/_extends({
20111
20108
  border: '2px solid var(--epr-category-icon-active-color)',
20112
20109
  borderRadius: '50%'
20113
20110
  },
20114
- // @ts-ignore
20115
20111
  '&.epr-icn-suggested': {
20116
20112
  backgroundPositionX: 'calc(var(--epr-category-navigation-button-size) * -8)'
20117
20113
  },