@goodhood-web/nebenan-base 1.0.0-development.22 → 1.0.0-development.23
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/index.js +1 -1
- package/index.mjs +12 -12
- package/lib/EmojiPicker/EmojiPicker.d.ts +1 -1
- package/lib/EmojiPicker/EmojiPicker.types.d.ts +1 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -46427,22 +46427,22 @@ const O0 = [
|
|
|
46427
46427
|
}, U0 = "_emojiPopup_132yr_106", q0 = "_emojiPopupHeader_132yr_116", xt = {
|
|
46428
46428
|
emojiPopup: U0,
|
|
46429
46429
|
emojiPopupHeader: q0
|
|
46430
|
-
}, jh = ({ children: n,
|
|
46431
|
-
const [
|
|
46432
|
-
a
|
|
46433
|
-
},
|
|
46434
|
-
|
|
46435
|
-
},
|
|
46436
|
-
|
|
46430
|
+
}, jh = ({ children: n, className: e, onSelect: i }) => {
|
|
46431
|
+
const [a, s] = Ti(null), t = (l) => {
|
|
46432
|
+
s(a ? null : l.currentTarget);
|
|
46433
|
+
}, r = !!a, f = r ? "emoji-cloud" : "", o = (l) => {
|
|
46434
|
+
s(null), i(l);
|
|
46435
|
+
}, c = () => {
|
|
46436
|
+
s(null);
|
|
46437
46437
|
};
|
|
46438
|
-
return /* @__PURE__ */ E.jsx(Os, { onClickAway:
|
|
46439
|
-
Ct(n, { onClick:
|
|
46440
|
-
/* @__PURE__ */ E.jsx(gn, { children: /* @__PURE__ */ E.jsx(ks, { id:
|
|
46438
|
+
return /* @__PURE__ */ E.jsx(Os, { onClickAway: c, children: /* @__PURE__ */ E.jsxs("div", { className: e, children: [
|
|
46439
|
+
Ct(n, { onClick: t }),
|
|
46440
|
+
/* @__PURE__ */ E.jsx(gn, { children: /* @__PURE__ */ E.jsx(ks, { id: f, open: r, anchor: a, children: /* @__PURE__ */ E.jsxs("div", { className: xt.emojiPopup, children: [
|
|
46441
46441
|
/* @__PURE__ */ E.jsx("div", { className: xt.emojiPopupHeader, children: /* @__PURE__ */ E.jsx(
|
|
46442
46442
|
Dn,
|
|
46443
46443
|
{
|
|
46444
46444
|
icon: "cross",
|
|
46445
|
-
onClick:
|
|
46445
|
+
onClick: c,
|
|
46446
46446
|
size: "small",
|
|
46447
46447
|
ariaLabel: "Close"
|
|
46448
46448
|
}
|
|
@@ -46456,7 +46456,7 @@ const O0 = [
|
|
|
46456
46456
|
maxFrequentRows: 2,
|
|
46457
46457
|
previewPosition: "none",
|
|
46458
46458
|
skinTonePosition: "none",
|
|
46459
|
-
onEmojiSelect:
|
|
46459
|
+
onEmojiSelect: o
|
|
46460
46460
|
}
|
|
46461
46461
|
)
|
|
46462
46462
|
] }) }) })
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { EmojiPickerProps } from './EmojiPicker.types';
|
|
2
|
-
declare const EmojiPicker: ({ children, onSelect }: EmojiPickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const EmojiPicker: ({ children, className, onSelect }: EmojiPickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default EmojiPicker;
|