@hokkiai/discord-emoji-selector 1.1.2 → 1.1.4

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/dist/index.cjs CHANGED
@@ -17518,7 +17518,7 @@ function EmojiSelector({
17518
17518
  })
17519
17519
  } : void 0,
17520
17520
  ...emojilib_default
17521
- ];
17521
+ ].filter((a) => a !== void 0);
17522
17522
  const navHeight = showNav ? Math.floor(height / 7) : 0;
17523
17523
  const id = Math.random().toString(36).substring(2, 15);
17524
17524
  const picker = (0, import_react7.useRef)(null);
@@ -17628,13 +17628,7 @@ function EmojiSelector({
17628
17628
  })
17629
17629
  }
17630
17630
  ),
17631
- showFooter && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
17632
- Footer,
17633
- {
17634
- id,
17635
- firstEmoji: (emojis[0] ? emojis[0] : emojis[1]).emojis[0]
17636
- }
17637
- )
17631
+ showFooter && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Footer, { id, firstEmoji: emojis[0].emojis[0] })
17638
17632
  ]
17639
17633
  }
17640
17634
  )
package/dist/index.js CHANGED
@@ -17484,7 +17484,7 @@ function EmojiSelector({
17484
17484
  })
17485
17485
  } : void 0,
17486
17486
  ...emojilib_default
17487
- ];
17487
+ ].filter((a) => a !== void 0);
17488
17488
  const navHeight = showNav ? Math.floor(height / 7) : 0;
17489
17489
  const id = Math.random().toString(36).substring(2, 15);
17490
17490
  const picker = useRef2(null);
@@ -17594,13 +17594,7 @@ function EmojiSelector({
17594
17594
  })
17595
17595
  }
17596
17596
  ),
17597
- showFooter && /* @__PURE__ */ jsx7(
17598
- Footer,
17599
- {
17600
- id,
17601
- firstEmoji: (emojis[0] ? emojis[0] : emojis[1]).emojis[0]
17602
- }
17603
- )
17597
+ showFooter && /* @__PURE__ */ jsx7(Footer, { id, firstEmoji: emojis[0].emojis[0] })
17604
17598
  ]
17605
17599
  }
17606
17600
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hokkiai/discord-emoji-selector",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "description": "A lightweight & powerful discord-style emoji picker",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",