@slimr/styled 2.1.75 → 2.1.79

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/cjs/core.d.ts CHANGED
@@ -2,7 +2,7 @@ import { ShorthandProps, css } from '@slimr/css';
2
2
  import { CSSProperties, FC, HTMLAttributes } from 'react';
3
3
  type allowableAny = any;
4
4
  /** A type that represents all the css properties + shorthand props + any css variable */
5
- export interface ZxProps extends CSSProperties, ShorthandProps, Record<`--${string}`, number | string | undefined> {
5
+ export interface ZxProps extends Omit<CSSProperties, 'd'>, ShorthandProps, Record<`--${string}`, number | string | undefined> {
6
6
  }
7
7
  type ZxP = ZxProps;
8
8
  type Zx = {
package/cjs/core.ts CHANGED
@@ -9,7 +9,7 @@ type allowableAny = any
9
9
 
10
10
  /** A type that represents all the css properties + shorthand props + any css variable */
11
11
  export interface ZxProps
12
- extends CSSProperties,
12
+ extends Omit<CSSProperties, 'd'>,
13
13
  ShorthandProps,
14
14
  Record<`--${string}`, number | string | undefined> {}
15
15
  type ZxP = ZxProps
package/esm/core.d.ts CHANGED
@@ -2,7 +2,7 @@ import { ShorthandProps, css } from '@slimr/css';
2
2
  import { CSSProperties, FC, HTMLAttributes } from 'react';
3
3
  type allowableAny = any;
4
4
  /** A type that represents all the css properties + shorthand props + any css variable */
5
- export interface ZxProps extends CSSProperties, ShorthandProps, Record<`--${string}`, number | string | undefined> {
5
+ export interface ZxProps extends Omit<CSSProperties, 'd'>, ShorthandProps, Record<`--${string}`, number | string | undefined> {
6
6
  }
7
7
  type ZxP = ZxProps;
8
8
  type Zx = {
package/esm/core.ts CHANGED
@@ -9,7 +9,7 @@ type allowableAny = any
9
9
 
10
10
  /** A type that represents all the css properties + shorthand props + any css variable */
11
11
  export interface ZxProps
12
- extends CSSProperties,
12
+ extends Omit<CSSProperties, 'd'>,
13
13
  ShorthandProps,
14
14
  Record<`--${string}`, number | string | undefined> {}
15
15
  type ZxP = ZxProps
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slimr/styled",
3
- "version": "2.1.75",
3
+ "version": "2.1.79",
4
4
  "author": "Brian Dombrowski",
5
5
  "license": "ISC",
6
6
  "private": false,
@@ -40,7 +40,7 @@
40
40
  "react-dom": "*"
41
41
  },
42
42
  "dependencies": {
43
- "@slimr/css": "^2.1.70",
44
- "@slimr/util": "^3.2.51"
43
+ "@slimr/css": "^2.1.74",
44
+ "@slimr/util": "^3.2.67"
45
45
  }
46
46
  }
package/src/core.ts CHANGED
@@ -9,7 +9,7 @@ type allowableAny = any
9
9
 
10
10
  /** A type that represents all the css properties + shorthand props + any css variable */
11
11
  export interface ZxProps
12
- extends CSSProperties,
12
+ extends Omit<CSSProperties, 'd'>,
13
13
  ShorthandProps,
14
14
  Record<`--${string}`, number | string | undefined> {}
15
15
  type ZxP = ZxProps