@itcase/types-ui 1.1.93 → 1.1.94

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,5 @@
1
1
  import { CSSUnits } from '@itcase/types-core';
2
2
  declare const heightProps: readonly ["fixed", "hug", "fill"];
3
- export type HeightProps = `${number}${CSSUnits}` | (typeof heightProps)[number];
3
+ /** Unitless values (e.g. `"56"`) are treated as px by `useStyles`. */
4
+ export type HeightProps = `${number}${CSSUnits}` | `${number}` | (typeof heightProps)[number];
4
5
  export { heightProps };
@@ -1,4 +1,5 @@
1
1
  import { CSSUnits } from '@itcase/types-core';
2
2
  declare const widthProps: readonly ["auto", "fixed", "hug", "fill"];
3
- export type WidthProps = `${number}${CSSUnits}` | (typeof widthProps)[number];
3
+ /** Unitless values (e.g. `"56"`) are treated as px by `useStyles`. */
4
+ export type WidthProps = `${number}${CSSUnits}` | `${number}` | (typeof widthProps)[number];
4
5
  export { widthProps };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@itcase/types-ui",
3
3
  "description": "",
4
- "version": "1.1.93",
4
+ "version": "1.1.94",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "repository": {
@@ -31,5 +31,5 @@
31
31
  "access": "public",
32
32
  "registry": "https://registry.npmjs.org/"
33
33
  },
34
- "gitHead": "259dbf4e2a073db4402c1966d935ffd7c270dbba"
34
+ "gitHead": "f6dcf85e423e260e81196479e5447b42af1122c9"
35
35
  }