emoji-picker-react 4.9.3 → 4.9.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/Stylesheet/stylesheet.d.ts +4 -10
- package/dist/emoji-picker-react.cjs.development.js +3 -11
- package/dist/emoji-picker-react.cjs.development.js.map +1 -1
- package/dist/emoji-picker-react.cjs.production.min.js.map +1 -1
- package/dist/emoji-picker-react.esm.js +3 -11
- package/dist/emoji-picker-react.esm.js.map +1 -1
- package/package.json +5 -5
- package/src/Stylesheet/stylesheet.tsx +0 -1
- package/src/components/Reactions/BtnPlus.tsx +0 -2
- package/src/components/body/EmojiCategory.tsx +1 -1
- package/src/components/header/SkinTonePicker/BtnSkinToneVariation.tsx +0 -1
- package/src/components/header/SkinTonePicker/SkinTonePicker.tsx +5 -4
- package/src/components/main/PickerMain.tsx +1 -2
- package/src/components/navigation/CategoryButton.tsx +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Styles } from 'flairup';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
export declare const stylesheet: {
|
|
4
|
-
create: <K extends string>(styles: Partial<{ [k in K]: Partial<Partial<CSSStyleDeclaration
|
|
4
|
+
create: <K extends string>(styles: Partial<{ [k in K]: Partial<Partial<CSSStyleDeclaration>> | Partial<{
|
|
5
5
|
'.'?: string | string[] | undefined;
|
|
6
6
|
'--'?: any;
|
|
7
|
-
}
|
|
7
|
+
}>; }> | Partial<{}>) => Record<Exclude<Exclude<K, any>, any>, Set<string>> & Record<never, Set<string>>;
|
|
8
8
|
getStyle: () => string;
|
|
9
9
|
isApplied: () => boolean;
|
|
10
10
|
};
|
|
@@ -13,17 +13,11 @@ export declare const PickerStyleTag: React.NamedExoticComponent<object>;
|
|
|
13
13
|
export declare const commonInteractionStyles: Record<never, Set<string>>;
|
|
14
14
|
export declare function darkMode(key: string, value: Styles): {
|
|
15
15
|
'.epr-dark-theme': {
|
|
16
|
-
[x: string]: Partial<Partial<CSSStyleDeclaration
|
|
17
|
-
'.'?: string | string[] | undefined;
|
|
18
|
-
'--'?: any;
|
|
19
|
-
}>>;
|
|
16
|
+
[x: string]: Partial<Partial<CSSStyleDeclaration>>;
|
|
20
17
|
};
|
|
21
18
|
'.epr-auto-theme': {
|
|
22
19
|
[x: string]: {
|
|
23
|
-
'@media (prefers-color-scheme: dark)': Partial<Partial<CSSStyleDeclaration
|
|
24
|
-
'.'?: string | string[] | undefined;
|
|
25
|
-
'--'?: any;
|
|
26
|
-
}>>;
|
|
20
|
+
'@media (prefers-color-scheme: dark)': Partial<Partial<CSSStyleDeclaration>>;
|
|
27
21
|
};
|
|
28
22
|
};
|
|
29
23
|
};
|
|
@@ -166,7 +166,6 @@ var commonInteractionStyles = /*#__PURE__*/stylesheet.create({
|
|
|
166
166
|
opacity: '1',
|
|
167
167
|
backgroundPositionY: 'var(--epr-category-navigation-button-size)'
|
|
168
168
|
},
|
|
169
|
-
// @ts-ignore
|
|
170
169
|
'&.epr-active': {
|
|
171
170
|
opacity: '1',
|
|
172
171
|
backgroundPositionY: 'var(--epr-category-navigation-button-size)'
|
|
@@ -18197,7 +18196,6 @@ var styles = /*#__PURE__*/stylesheet.create({
|
|
|
18197
18196
|
backgroundColor: 'var(--epr-bg-color)',
|
|
18198
18197
|
overflow: 'hidden',
|
|
18199
18198
|
transition: 'all 0.3s ease-in-out, background-color 0.1s ease-in-out',
|
|
18200
|
-
// @ts-expect-error - need to work on this
|
|
18201
18199
|
'*': {
|
|
18202
18200
|
boxSizing: 'border-box',
|
|
18203
18201
|
fontFamily: 'sans-serif'
|
|
@@ -18297,7 +18295,7 @@ var styles = /*#__PURE__*/stylesheet.create({
|
|
|
18297
18295
|
height: '50px',
|
|
18298
18296
|
display: 'inline-flex',
|
|
18299
18297
|
backgroundColor: 'var(--epr-reactions-bg-color)',
|
|
18300
|
-
// @ts-
|
|
18298
|
+
// @ts-ignore - backdropFilter is not recognized.
|
|
18301
18299
|
backdropFilter: 'blur(8px)',
|
|
18302
18300
|
'--': {
|
|
18303
18301
|
'--epr-picker-border-radius': '50px'
|
|
@@ -19093,7 +19091,6 @@ var styles$5 = /*#__PURE__*/stylesheet.create( /*#__PURE__*/_extends({
|
|
|
19093
19091
|
':hover': {
|
|
19094
19092
|
color: 'var(--epr-highlight-color)',
|
|
19095
19093
|
backgroundColor: 'var(--epr-hover-bg-color-reduced-opacity)',
|
|
19096
|
-
// @ts-ignore
|
|
19097
19094
|
':after': {
|
|
19098
19095
|
backgroundPositionY: '-20px'
|
|
19099
19096
|
}
|
|
@@ -19101,7 +19098,6 @@ var styles$5 = /*#__PURE__*/stylesheet.create( /*#__PURE__*/_extends({
|
|
|
19101
19098
|
':focus': {
|
|
19102
19099
|
color: 'var(--epr-highlight-color)',
|
|
19103
19100
|
backgroundColor: 'var(--epr-hover-bg-color-reduced-opacity)',
|
|
19104
|
-
// @ts-ignore
|
|
19105
19101
|
':after': {
|
|
19106
19102
|
backgroundPositionY: '-40px'
|
|
19107
19103
|
}
|
|
@@ -19238,7 +19234,7 @@ var styles$7 = /*#__PURE__*/stylesheet.create({
|
|
|
19238
19234
|
label: {
|
|
19239
19235
|
'.': ClassNames.label,
|
|
19240
19236
|
alignItems: 'center',
|
|
19241
|
-
// @ts-
|
|
19237
|
+
// @ts-ignore - backdropFilter is not recognized.
|
|
19242
19238
|
backdropFilter: 'blur(3px)',
|
|
19243
19239
|
backgroundColor: 'var(--epr-category-label-bg-color)',
|
|
19244
19240
|
color: 'var(--epr-category-label-text-color)',
|
|
@@ -19765,7 +19761,6 @@ var styles$c = /*#__PURE__*/stylesheet.create({
|
|
|
19765
19761
|
':focus': {
|
|
19766
19762
|
boxShadow: '0 0 0 3px var(--epr-focus-bg-color)'
|
|
19767
19763
|
},
|
|
19768
|
-
// @ts-ignore
|
|
19769
19764
|
'&.epr-tone-neutral': {
|
|
19770
19765
|
backgroundColor: '#ffd225'
|
|
19771
19766
|
},
|
|
@@ -19885,10 +19880,9 @@ var styles$d = /*#__PURE__*/stylesheet.create({
|
|
|
19885
19880
|
boxShadow: '0px 0 7px var(--epr-picker-border-color)'
|
|
19886
19881
|
},
|
|
19887
19882
|
open: {
|
|
19888
|
-
// @ts-ignore
|
|
19883
|
+
// @ts-ignore - backdropFilter is not recognized.
|
|
19889
19884
|
backdropFilter: 'blur(5px)',
|
|
19890
19885
|
background: 'var(--epr-skin-tone-picker-menu-color)',
|
|
19891
|
-
// @ts-ignore
|
|
19892
19886
|
'.epr-active:after': {
|
|
19893
19887
|
content: '',
|
|
19894
19888
|
position: 'absolute',
|
|
@@ -19905,7 +19899,6 @@ var styles$d = /*#__PURE__*/stylesheet.create({
|
|
|
19905
19899
|
position: 'relative',
|
|
19906
19900
|
width: 'var(--epr-skin-tone-size)',
|
|
19907
19901
|
height: 'var(--epr-skin-tone-size)',
|
|
19908
|
-
// @ts-ignore
|
|
19909
19902
|
'> button': {
|
|
19910
19903
|
width: 'var(--epr-skin-tone-size)',
|
|
19911
19904
|
display: 'block',
|
|
@@ -20112,7 +20105,6 @@ var styles$f = /*#__PURE__*/stylesheet.create( /*#__PURE__*/_extends({
|
|
|
20112
20105
|
border: '2px solid var(--epr-category-icon-active-color)',
|
|
20113
20106
|
borderRadius: '50%'
|
|
20114
20107
|
},
|
|
20115
|
-
// @ts-ignore
|
|
20116
20108
|
'&.epr-icn-suggested': {
|
|
20117
20109
|
backgroundPositionX: 'calc(var(--epr-category-navigation-button-size) * -8)'
|
|
20118
20110
|
},
|