@chayns-components/emoji-input 5.0.0-beta.686 → 5.0.0-beta.694

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.
@@ -1,5 +1,3 @@
1
- /// <reference types="react" />
2
- /// <reference types="react" />
3
1
  import type { WithTheme } from '@chayns-components/core';
4
2
  import type { Browser } from 'detect-browser';
5
3
  type StyledEmojiInputProps = WithTheme<{
@@ -268,7 +266,7 @@ export declare const StyledMotionEmojiInputProgress: import("styled-components/d
268
266
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
269
267
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
270
268
  } & import("framer-motion").MotionProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
271
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
269
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
272
270
  }, {
273
271
  theme: import("@chayns-components/core/lib/types/components/color-scheme-provider/ColorSchemeProvider").Theme;
274
272
  }>> & string & Omit<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, keyof import("react").Component<any, {}, any>>;
@@ -538,7 +536,7 @@ export declare const StyledMotionEmojiInputEditor: import("styled-components/dis
538
536
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
539
537
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
540
538
  } & import("framer-motion").MotionProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
541
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
539
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
542
540
  }, StyledEmojiInputEditorProps>> & string & Omit<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, keyof import("react").Component<any, {}, any>>;
543
541
  export declare const StyledEmojiInputRightWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
544
542
  type StyledEmojiInputLabelProps = WithTheme<{
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { WithTheme } from '@chayns-components/core';
3
2
  type StyledPrefixElementProps = WithTheme<{
4
3
  $shouldShow: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const emojiPickerSize: {
3
2
  height: number;
4
3
  width: number;
@@ -1,5 +1,3 @@
1
- /// <reference types="react" />
2
- /// <reference types="react" />
3
1
  export declare const StyledEmojiPickerCategories: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
4
2
  export declare const StyledMotionEmojiPickerCategory: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<{
5
3
  slot?: string | undefined;
@@ -262,7 +260,7 @@ export declare const StyledMotionEmojiPickerCategory: import("styled-components/
262
260
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
263
261
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
264
262
  } & import("framer-motion").MotionProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
265
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
263
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
266
264
  }, {
267
265
  theme: import("@chayns-components/core/lib/types/components/color-scheme-provider/ColorSchemeProvider").Theme;
268
266
  }>> & string & Omit<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, keyof import("react").Component<any, {}, any>>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { WithTheme } from '@chayns-components/core';
3
2
  import type { Browser } from 'detect-browser';
4
3
  type StyledEmojiPickerEmojisProps = WithTheme<{
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { WithTheme } from '@chayns-components/core';
3
2
  type StyledEmojiProps = WithTheme<{
4
3
  $isSelected: boolean;
@@ -1,5 +1,3 @@
1
- /// <reference types="react" />
2
- /// <reference types="react" />
3
1
  import type { WithTheme } from '@chayns-components/core';
4
2
  import { AnchorAlignment } from '../../../../../constants/alignment';
5
3
  export declare const StyledMotionSkinTonePopup: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<{
@@ -263,7 +261,7 @@ export declare const StyledMotionSkinTonePopup: import("styled-components/dist/t
263
261
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
264
262
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
265
263
  } & import("framer-motion").MotionProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
266
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
264
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
267
265
  }, {
268
266
  theme: import("@chayns-components/core/lib/types/components/color-scheme-provider/ColorSchemeProvider").Theme;
269
267
  }>> & string & Omit<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, keyof import("react").Component<any, {}, any>>;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const StyledEmojiPickerPopup: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chayns-components/emoji-input",
3
- "version": "5.0.0-beta.686",
3
+ "version": "5.0.0-beta.694",
4
4
  "description": "Input field that supports HTML elements and emojis",
5
5
  "sideEffects": false,
6
6
  "browserslist": [
@@ -52,25 +52,25 @@
52
52
  "url": "https://github.com/TobitSoftware/chayns-components/issues"
53
53
  },
54
54
  "devDependencies": {
55
- "@babel/cli": "^7.24.6",
56
- "@babel/core": "^7.24.6",
57
- "@babel/preset-env": "^7.24.6",
58
- "@babel/preset-react": "^7.24.6",
59
- "@babel/preset-typescript": "^7.24.6",
55
+ "@babel/cli": "^7.24.8",
56
+ "@babel/core": "^7.24.9",
57
+ "@babel/preset-env": "^7.24.8",
58
+ "@babel/preset-react": "^7.24.7",
59
+ "@babel/preset-typescript": "^7.24.7",
60
60
  "@types/react": "^18.3.3",
61
61
  "@types/react-dom": "^18.3.0",
62
62
  "@types/styled-components": "^5.1.34",
63
63
  "@types/uuid": "^9.0.8",
64
64
  "babel-loader": "^9.1.3",
65
65
  "cross-env": "^7.0.3",
66
- "lerna": "^8.1.3",
66
+ "lerna": "^8.1.6",
67
67
  "react": "^18.3.1",
68
68
  "react-dom": "^18.3.1",
69
69
  "styled-components": "^6.1.11",
70
- "typescript": "^5.4.5"
70
+ "typescript": "^5.5.3"
71
71
  },
72
72
  "dependencies": {
73
- "@chayns-components/core": "^5.0.0-beta.686",
73
+ "@chayns-components/core": "^5.0.0-beta.694",
74
74
  "emojilib": "^3.0.12",
75
75
  "unicode-emoji-json": "^0.6.0"
76
76
  },
@@ -84,5 +84,5 @@
84
84
  "publishConfig": {
85
85
  "access": "public"
86
86
  },
87
- "gitHead": "90360c2ae4d29e39e0e220b7c36df89385be128b"
87
+ "gitHead": "53f4f7c8fdabf8493b09818872eb8fc7ce132550"
88
88
  }