@pushwoosh/kit-typography 1.8.5 → 1.8.6

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.
Files changed (2) hide show
  1. package/map.d.ts +2 -2
  2. package/package.json +2 -2
package/map.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { type FlattenSimpleInterpolation } from 'styled-components';
1
+ import { css } from 'styled-components';
2
2
  /** Name of a typography variant — the `$variant` prop of {@link Text} and the keys of {@link variants}. */
3
3
  export type TypographyVariant =
4
4
  /** Body text. */
@@ -18,4 +18,4 @@ export type TypographyVariant =
18
18
  /** Monospaced text: code, ids, tokens. */
19
19
  | 'code';
20
20
  /** Font family/size/weight/line-height per variant, as a styled-components interpolation; values come from `@pushwoosh/kit-constants`. */
21
- export declare const variants: Record<TypographyVariant, FlattenSimpleInterpolation>;
21
+ export declare const variants: Record<TypographyVariant, ReturnType<typeof css>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/kit-typography",
3
- "version": "1.8.5",
3
+ "version": "1.8.6",
4
4
  "description": "React component for build Pushwoosh products",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -11,7 +11,7 @@
11
11
  "directory": "dist"
12
12
  },
13
13
  "dependencies": {
14
- "@pushwoosh/kit-constants": "^2.0.0"
14
+ "@pushwoosh/kit-constants": "^2.1.0"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@types/react": "^18.3.31",