@chayns-components/emoji-input 5.0.0-beta.592 → 5.0.0-beta.594

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.
@@ -6,8 +6,8 @@ type StyledEmojiInputProps = WithTheme<{
6
6
  $isDisabled?: boolean;
7
7
  $shouldChangeColor: boolean;
8
8
  }>;
9
- export declare const StyledEmojiInput: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledEmojiInputProps>>;
10
- export declare const StyledMotionEmojiInputProgress: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<{
9
+ export declare const StyledEmojiInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledEmojiInputProps>> & string;
10
+ export declare const StyledMotionEmojiInputProgress: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<{
11
11
  slot?: string | undefined;
12
12
  title?: string | undefined;
13
13
  dir?: string | undefined;
@@ -271,16 +271,16 @@ export declare const StyledMotionEmojiInputProgress: import("styled-components")
271
271
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
272
272
  }, {
273
273
  theme: import("@chayns-components/core/lib/types/components/color-scheme-provider/ColorSchemeProvider").Theme;
274
- }>> & Omit<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, keyof import("react").Component<any, {}, any>>;
274
+ }>> & string & Omit<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, keyof import("react").Component<any, {}, any>>;
275
275
  type StyledEmojiInputContentProps = {
276
276
  $isRightElementGiven: boolean;
277
277
  };
278
- export declare const StyledEmojiInputContent: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledEmojiInputContentProps>>;
278
+ export declare const StyledEmojiInputContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledEmojiInputContentProps>> & string;
279
279
  type StyledEmojiInputEditorProps = WithTheme<{
280
280
  $shouldShowContent: boolean;
281
281
  $browser: Browser | 'bot' | null | undefined;
282
282
  }>;
283
- export declare const StyledMotionEmojiInputEditor: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<{
283
+ export declare const StyledMotionEmojiInputEditor: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<{
284
284
  slot?: string | undefined;
285
285
  title?: string | undefined;
286
286
  dir?: string | undefined;
@@ -542,11 +542,11 @@ export declare const StyledMotionEmojiInputEditor: import("styled-components").I
542
542
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
543
543
  } & import("framer-motion").MotionProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
544
544
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
545
- }, StyledEmojiInputEditorProps>> & Omit<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, keyof import("react").Component<any, {}, any>>;
546
- export declare const StyledEmojiInputRightWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
545
+ }, StyledEmojiInputEditorProps>> & string & Omit<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, keyof import("react").Component<any, {}, any>>;
546
+ 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;
547
547
  type StyledEmojiInputLabelProps = WithTheme<{
548
548
  $maxWidth: number;
549
549
  $offsetWidth?: number;
550
550
  }>;
551
- export declare const StyledEmojiInputLabel: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, StyledEmojiInputLabelProps>>;
551
+ export declare const StyledEmojiInputLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, StyledEmojiInputLabelProps>> & string;
552
552
  export {};
@@ -3,11 +3,11 @@ import type { WithTheme } from '@chayns-components/core';
3
3
  type StyledPrefixElementProps = WithTheme<{
4
4
  $shouldShow: boolean;
5
5
  }>;
6
- export declare const StyledPrefixElement: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledPrefixElementProps>>;
7
- export declare const StyledPrefixElementPseudo: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
8
- export declare const StyledPrefixElementLetterWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
6
+ export declare const StyledPrefixElement: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledPrefixElementProps>> & string;
7
+ export declare const StyledPrefixElementPseudo: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
8
+ export declare const StyledPrefixElementLetterWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
9
9
  type StyledPrefixElementLetterProps = WithTheme<{
10
10
  $index: number;
11
11
  }>;
12
- export declare const StyledPrefixElementLetter: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, StyledPrefixElementLetterProps>>;
12
+ export declare const StyledPrefixElementLetter: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, StyledPrefixElementLetterProps>> & string;
13
13
  export {};
@@ -3,4 +3,4 @@ export declare const emojiPickerSize: {
3
3
  height: number;
4
4
  width: number;
5
5
  };
6
- export declare const StyledEmojiPicker: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
6
+ export declare const StyledEmojiPicker: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  /// <reference types="react" />
3
- export declare const StyledEmojiPickerCategories: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
4
- export declare const StyledMotionEmojiPickerCategory: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<{
3
+ 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
+ export declare const StyledMotionEmojiPickerCategory: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<{
5
5
  slot?: string | undefined;
6
6
  title?: string | undefined;
7
7
  dir?: string | undefined;
@@ -265,4 +265,4 @@ export declare const StyledMotionEmojiPickerCategory: import("styled-components"
265
265
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
266
266
  }, {
267
267
  theme: import("@chayns-components/core/lib/types/components/color-scheme-provider/ColorSchemeProvider").Theme;
268
- }>> & Omit<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, keyof import("react").Component<any, {}, any>>;
268
+ }>> & string & Omit<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, keyof import("react").Component<any, {}, any>>;
@@ -6,6 +6,6 @@ type StyledEmojiPickerEmojisProps = WithTheme<{
6
6
  $shouldShowNoContentInfo: boolean;
7
7
  $browser: Browser | 'bot' | null | undefined;
8
8
  }>;
9
- export declare const StyledEmojiPickerEmojis: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledEmojiPickerEmojisProps>>;
10
- export declare const StyledEmojiPickerEmojisNoContentInfo: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
9
+ export declare const StyledEmojiPickerEmojis: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledEmojiPickerEmojisProps>> & string;
10
+ export declare const StyledEmojiPickerEmojisNoContentInfo: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
11
11
  export {};
@@ -3,5 +3,5 @@ import type { WithTheme } from '@chayns-components/core';
3
3
  type StyledEmojiProps = WithTheme<{
4
4
  $isSelected: boolean;
5
5
  }>;
6
- export declare const StyledEmoji: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledEmojiProps>>;
6
+ export declare const StyledEmoji: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledEmojiProps>> & string;
7
7
  export {};
@@ -2,7 +2,7 @@
2
2
  /// <reference types="react" />
3
3
  import type { WithTheme } from '@chayns-components/core';
4
4
  import { AnchorAlignment } from '../../../../../constants/alignment';
5
- export declare const StyledMotionSkinTonePopup: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<{
5
+ export declare const StyledMotionSkinTonePopup: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<{
6
6
  slot?: string | undefined;
7
7
  title?: string | undefined;
8
8
  dir?: string | undefined;
@@ -266,7 +266,7 @@ export declare const StyledMotionSkinTonePopup: import("styled-components").ISty
266
266
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
267
267
  }, {
268
268
  theme: import("@chayns-components/core/lib/types/components/color-scheme-provider/ColorSchemeProvider").Theme;
269
- }>> & Omit<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, keyof import("react").Component<any, {}, any>>;
269
+ }>> & string & Omit<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, keyof import("react").Component<any, {}, any>>;
270
270
  export declare const skinTonePopupContentSize: {
271
271
  height: number;
272
272
  width: number;
@@ -275,10 +275,10 @@ type StyledSkinTonePopupContentProps = WithTheme<{
275
275
  $anchorAlignment: AnchorAlignment;
276
276
  $anchorOffset: number;
277
277
  }>;
278
- export declare const StyledSkinTonePopupContent: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledSkinTonePopupContentProps>>;
278
+ export declare const StyledSkinTonePopupContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledSkinTonePopupContentProps>> & string;
279
279
  type StyledSkinTonePopupContentEmojiProps = WithTheme<{
280
280
  $isSelected: boolean;
281
281
  }>;
282
- export declare const StyledSkinTonePopupContentEmoji: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledSkinTonePopupContentEmojiProps>>;
283
- export declare const StyledSkinTonePopupOverlay: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
282
+ export declare const StyledSkinTonePopupContentEmoji: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledSkinTonePopupContentEmojiProps>> & string;
283
+ export declare const StyledSkinTonePopupOverlay: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
284
284
  export {};
@@ -2,11 +2,11 @@
2
2
  /// <reference types="react" />
3
3
  import type { WithTheme } from '@chayns-components/core';
4
4
  import { PopupAlignment } from '../../constants/alignment';
5
- export declare const StyledEmojiPickerPopup: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
5
+ 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;
6
6
  type StyledMotionEmojiPickerPopupContentProps = WithTheme<{
7
7
  $alignment: PopupAlignment;
8
8
  }>;
9
- export declare const StyledMotionEmojiPickerPopupContent: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<{
9
+ export declare const StyledMotionEmojiPickerPopupContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<{
10
10
  slot?: string | undefined;
11
11
  title?: string | undefined;
12
12
  dir?: string | undefined;
@@ -268,6 +268,6 @@ export declare const StyledMotionEmojiPickerPopupContent: import("styled-compone
268
268
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
269
269
  } & import("framer-motion").MotionProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
270
270
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
271
- }, StyledMotionEmojiPickerPopupContentProps>> & Omit<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, keyof import("react").Component<any, {}, any>>;
272
- export declare const StyledEmojiPickerPopupIconWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
271
+ }, StyledMotionEmojiPickerPopupContentProps>> & string & Omit<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, keyof import("react").Component<any, {}, any>>;
272
+ export declare const StyledEmojiPickerPopupIconWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
273
273
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chayns-components/emoji-input",
3
- "version": "5.0.0-beta.592",
3
+ "version": "5.0.0-beta.594",
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.1",
56
- "@babel/core": "^7.24.4",
57
- "@babel/preset-env": "^7.24.4",
55
+ "@babel/cli": "^7.24.5",
56
+ "@babel/core": "^7.24.5",
57
+ "@babel/preset-env": "^7.24.5",
58
58
  "@babel/preset-react": "^7.24.1",
59
59
  "@babel/preset-typescript": "^7.24.1",
60
- "@types/react": "^18.2.79",
61
- "@types/react-dom": "^18.2.25",
60
+ "@types/react": "^18.3.2",
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.2",
67
- "react": "^18.2.0",
68
- "react-dom": "^18.2.0",
69
- "styled-components": "^6.1.8",
66
+ "lerna": "^8.1.3",
67
+ "react": "^18.3.1",
68
+ "react-dom": "^18.3.1",
69
+ "styled-components": "^6.1.11",
70
70
  "typescript": "^5.4.5"
71
71
  },
72
72
  "dependencies": {
73
- "@chayns-components/core": "^5.0.0-beta.592",
73
+ "@chayns-components/core": "^5.0.0-beta.594",
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": "54dcaa4081722bbb97f876e0d423d6b86bce9695"
87
+ "gitHead": "7a04d9e9b5bb14dba9041c4ac95335a25032d06d"
88
88
  }