x-runtime-lib 0.9.2 → 0.9.4

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,8 +1,8 @@
1
1
  export declare function genId(len: number): string;
2
2
  export declare function isPixel(v: unknown): boolean;
3
- export declare function parsePixel(v: unknown): number | undefined;
3
+ export declare function parsePixel(v: unknown): number;
4
4
  export declare function isPercent(v: unknown): boolean;
5
- export declare function parsePercent(v: unknown): number | undefined;
5
+ export declare function parsePercent(v: unknown): number;
6
6
  export declare function isHexColor(v: unknown): boolean;
7
7
  export declare const themeColors: {
8
8
  value: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.9.2",
4
+ "version": "0.9.4",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -1,2 +0,0 @@
1
- import { ZItem } from '@/types';
2
- export declare const themeColorItemsV1: ZItem[];