@commercetools-uikit/rich-text-utils 15.2.3 → 15.3.0

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,4 +1,3 @@
1
- import type { Theme } from '@emotion/react';
2
1
  export declare type Props = {
3
2
  color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
4
3
  size?: 'small' | 'medium' | 'big' | 'scale';
@@ -6,7 +5,7 @@ export declare type Props = {
6
5
  export declare type SVGProps = Props & {
7
6
  className: string;
8
7
  };
9
- export declare const getIconStyles: (props: Props, theme: Theme) => import("@emotion/utils").SerializedStyles;
8
+ export declare const getIconStyles: (props: Props) => import("@emotion/utils").SerializedStyles;
10
9
  declare const BoldIcon: {
11
10
  (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
12
11
  displayName: string;
@@ -1,4 +1,3 @@
1
- import type { Theme } from '@emotion/react';
2
1
  export declare type Props = {
3
2
  color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
4
3
  size?: 'small' | 'medium' | 'big' | 'scale';
@@ -6,7 +5,7 @@ export declare type Props = {
6
5
  export declare type SVGProps = Props & {
7
6
  className: string;
8
7
  };
9
- export declare const getIconStyles: (props: Props, theme: Theme) => import("@emotion/utils").SerializedStyles;
8
+ export declare const getIconStyles: (props: Props) => import("@emotion/utils").SerializedStyles;
10
9
  declare const ExpandFullIcon: {
11
10
  (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
12
11
  displayName: string;
@@ -1,4 +1,3 @@
1
- import type { Theme } from '@emotion/react';
2
1
  export declare type Props = {
3
2
  color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
4
3
  size?: 'small' | 'medium' | 'big' | 'scale';
@@ -6,7 +5,7 @@ export declare type Props = {
6
5
  export declare type SVGProps = Props & {
7
6
  className: string;
8
7
  };
9
- export declare const getIconStyles: (props: Props, theme: Theme) => import("@emotion/utils").SerializedStyles;
8
+ export declare const getIconStyles: (props: Props) => import("@emotion/utils").SerializedStyles;
10
9
  declare const ItalicIcon: {
11
10
  (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
12
11
  displayName: string;
@@ -1,4 +1,3 @@
1
- import type { Theme } from '@emotion/react';
2
1
  export declare type Props = {
3
2
  color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
4
3
  size?: 'small' | 'medium' | 'big' | 'scale';
@@ -6,7 +5,7 @@ export declare type Props = {
6
5
  export declare type SVGProps = Props & {
7
6
  className: string;
8
7
  };
9
- export declare const getIconStyles: (props: Props, theme: Theme) => import("@emotion/utils").SerializedStyles;
8
+ export declare const getIconStyles: (props: Props) => import("@emotion/utils").SerializedStyles;
10
9
  declare const MoreStylesIcon: {
11
10
  (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
12
11
  displayName: string;
@@ -1,4 +1,3 @@
1
- import type { Theme } from '@emotion/react';
2
1
  export declare type Props = {
3
2
  color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
4
3
  size?: 'small' | 'medium' | 'big' | 'scale';
@@ -6,7 +5,7 @@ export declare type Props = {
6
5
  export declare type SVGProps = Props & {
7
6
  className: string;
8
7
  };
9
- export declare const getIconStyles: (props: Props, theme: Theme) => import("@emotion/utils").SerializedStyles;
8
+ export declare const getIconStyles: (props: Props) => import("@emotion/utils").SerializedStyles;
10
9
  declare const OrderedListIcon: {
11
10
  (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
12
11
  displayName: string;
@@ -1,4 +1,3 @@
1
- import type { Theme } from '@emotion/react';
2
1
  export declare type Props = {
3
2
  color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
4
3
  size?: 'small' | 'medium' | 'big' | 'scale';
@@ -6,7 +5,7 @@ export declare type Props = {
6
5
  export declare type SVGProps = Props & {
7
6
  className: string;
8
7
  };
9
- export declare const getIconStyles: (props: Props, theme: Theme) => import("@emotion/utils").SerializedStyles;
8
+ export declare const getIconStyles: (props: Props) => import("@emotion/utils").SerializedStyles;
10
9
  declare const RedoIcon: {
11
10
  (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
12
11
  displayName: string;
@@ -1,4 +1,3 @@
1
- import type { Theme } from '@emotion/react';
2
1
  export declare type Props = {
3
2
  color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
4
3
  size?: 'small' | 'medium' | 'big' | 'scale';
@@ -6,7 +5,7 @@ export declare type Props = {
6
5
  export declare type SVGProps = Props & {
7
6
  className: string;
8
7
  };
9
- export declare const getIconStyles: (props: Props, theme: Theme) => import("@emotion/utils").SerializedStyles;
8
+ export declare const getIconStyles: (props: Props) => import("@emotion/utils").SerializedStyles;
10
9
  declare const StrikethroughIcon: {
11
10
  (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
12
11
  displayName: string;
@@ -1,4 +1,3 @@
1
- import type { Theme } from '@emotion/react';
2
1
  export declare type Props = {
3
2
  color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
4
3
  size?: 'small' | 'medium' | 'big' | 'scale';
@@ -6,7 +5,7 @@ export declare type Props = {
6
5
  export declare type SVGProps = Props & {
7
6
  className: string;
8
7
  };
9
- export declare const getIconStyles: (props: Props, theme: Theme) => import("@emotion/utils").SerializedStyles;
8
+ export declare const getIconStyles: (props: Props) => import("@emotion/utils").SerializedStyles;
10
9
  declare const SubscriptIcon: {
11
10
  (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
12
11
  displayName: string;
@@ -1,4 +1,3 @@
1
- import type { Theme } from '@emotion/react';
2
1
  export declare type Props = {
3
2
  color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
4
3
  size?: 'small' | 'medium' | 'big' | 'scale';
@@ -6,7 +5,7 @@ export declare type Props = {
6
5
  export declare type SVGProps = Props & {
7
6
  className: string;
8
7
  };
9
- export declare const getIconStyles: (props: Props, theme: Theme) => import("@emotion/utils").SerializedStyles;
8
+ export declare const getIconStyles: (props: Props) => import("@emotion/utils").SerializedStyles;
10
9
  declare const SuperscriptIcon: {
11
10
  (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
12
11
  displayName: string;
@@ -1,4 +1,3 @@
1
- import type { Theme } from '@emotion/react';
2
1
  export declare type Props = {
3
2
  color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
4
3
  size?: 'small' | 'medium' | 'big' | 'scale';
@@ -6,7 +5,7 @@ export declare type Props = {
6
5
  export declare type SVGProps = Props & {
7
6
  className: string;
8
7
  };
9
- export declare const getIconStyles: (props: Props, theme: Theme) => import("@emotion/utils").SerializedStyles;
8
+ export declare const getIconStyles: (props: Props) => import("@emotion/utils").SerializedStyles;
10
9
  declare const UnderlineIcon: {
11
10
  (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
12
11
  displayName: string;
@@ -1,4 +1,3 @@
1
- import type { Theme } from '@emotion/react';
2
1
  export declare type Props = {
3
2
  color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
4
3
  size?: 'small' | 'medium' | 'big' | 'scale';
@@ -6,7 +5,7 @@ export declare type Props = {
6
5
  export declare type SVGProps = Props & {
7
6
  className: string;
8
7
  };
9
- export declare const getIconStyles: (props: Props, theme: Theme) => import("@emotion/utils").SerializedStyles;
8
+ export declare const getIconStyles: (props: Props) => import("@emotion/utils").SerializedStyles;
10
9
  declare const UndoIcon: {
11
10
  (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
12
11
  displayName: string;
@@ -1,4 +1,3 @@
1
- import type { Theme } from '@emotion/react';
2
1
  export declare type Props = {
3
2
  color?: 'solid' | 'neutral60' | 'surface' | 'info' | 'primary' | 'primary40' | 'warning' | 'error';
4
3
  size?: 'small' | 'medium' | 'big' | 'scale';
@@ -6,7 +5,7 @@ export declare type Props = {
6
5
  export declare type SVGProps = Props & {
7
6
  className: string;
8
7
  };
9
- export declare const getIconStyles: (props: Props, theme: Theme) => import("@emotion/utils").SerializedStyles;
8
+ export declare const getIconStyles: (props: Props) => import("@emotion/utils").SerializedStyles;
10
9
  declare const UnorderedListIcon: {
11
10
  (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
12
11
  displayName: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-uikit/rich-text-utils",
3
3
  "description": "Utilities for working with rich-text components.",
4
- "version": "15.2.3",
4
+ "version": "15.3.0",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",
@@ -24,16 +24,16 @@
24
24
  "dependencies": {
25
25
  "@babel/runtime": "^7.19.0",
26
26
  "@babel/runtime-corejs3": "^7.19.1",
27
- "@commercetools-uikit/design-system": "15.2.3",
28
- "@commercetools-uikit/icons": "15.2.3",
29
- "@commercetools-uikit/input-utils": "15.2.3",
30
- "@commercetools-uikit/spacings-inline": "15.2.3",
31
- "@commercetools-uikit/tooltip": "15.2.3",
32
- "@commercetools-uikit/utils": "15.2.3",
27
+ "@commercetools-uikit/design-system": "15.3.0",
28
+ "@commercetools-uikit/icons": "15.3.0",
29
+ "@commercetools-uikit/input-utils": "15.3.0",
30
+ "@commercetools-uikit/spacings-inline": "15.3.0",
31
+ "@commercetools-uikit/tooltip": "15.3.0",
32
+ "@commercetools-uikit/utils": "15.3.0",
33
33
  "@emotion/react": "^11.4.0",
34
34
  "@emotion/styled": "^11.3.0",
35
35
  "@types/escape-html": "1.0.2",
36
- "downshift": "6.1.9",
36
+ "downshift": "6.1.11",
37
37
  "escape-html": "1.0.3",
38
38
  "is-hotkey": "0.2.0",
39
39
  "lodash": "4.17.21",