@yamada-ui/utils 2.1.8-dev-20261020115515 → 2.1.8-dev-20261020185918
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/dist/types/calc.d.ts
CHANGED
package/dist/types/color.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
export type ColorFormat = "hex" | "hexa" | "hsl" | "hsla" | "rgb" | "rgba";
|
|
3
3
|
export declare const SEMANTIC_COLOR_SCHEMES: readonly ["mono", "primary", "secondary", "info", "success", "warning", "danger", "error", "link"];
|
|
4
4
|
export declare const DEFAULT_COLOR_SCHEMES: readonly ["gray", "red", "rose", "pink", "flashy", "orange", "amber", "yellow", "lime", "green", "emerald", "teal", "cyan", "sky", "blue", "indigo", "violet", "purple", "fuchsia"];
|
|
5
|
-
export declare const COLOR_SCHEMES: ("
|
|
5
|
+
export declare const COLOR_SCHEMES: ("link" | "mono" | "primary" | "secondary" | "info" | "success" | "warning" | "danger" | "error" | "gray" | "red" | "rose" | "pink" | "flashy" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia")[];
|
|
6
6
|
export declare const TONES: readonly [50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950];
|
|
7
7
|
export declare function convertColor(color: string, fallback: string): {
|
|
8
8
|
(format: ColorFormat): string;
|
package/dist/types/dom.d.ts
CHANGED
|
@@ -58,4 +58,5 @@ export declare function setStyle(el: HTMLElement | null | undefined, style: Part
|
|
|
58
58
|
}>): () => void;
|
|
59
59
|
export declare function scrollLock(el: Document | Element | Node | null | undefined | Window): (() => void) | undefined;
|
|
60
60
|
//#endregion
|
|
61
|
+
export {};
|
|
61
62
|
//# sourceMappingURL=dom.d.ts.map
|
|
@@ -17,4 +17,5 @@ export type Merge<Y, M> = M & Omit<Y, keyof M>;
|
|
|
17
17
|
export type DeepMerge<Y, M> = Y extends any[] | Primitive ? M : Y extends object ? M extends object ? { [D in keyof M | keyof Y]: D extends keyof M ? D extends keyof Y ? DeepMerge<Y[D], M[D]> : M[D] : D extends keyof Y ? Y[D] : never; } : M : M;
|
|
18
18
|
export type DeepPartial<Y> = Y extends any[] | Primitive ? Y : { [P in keyof Y]?: DeepPartial<Y[P]>; };
|
|
19
19
|
//#endregion
|
|
20
|
+
export {};
|
|
20
21
|
//# sourceMappingURL=index.type.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yamada-ui/utils",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.1.8-dev-
|
|
4
|
+
"version": "2.1.8-dev-20261020185918",
|
|
5
5
|
"description": "The utilities for Yamada UI projects",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"utils",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@vitest/browser": "^4.1.11",
|
|
37
37
|
"@vitest/browser-playwright": "^4.1.11",
|
|
38
38
|
"@yamada-ui/workspace": "1.0.0",
|
|
39
|
-
"playwright": "
|
|
39
|
+
"playwright": "1.63.0",
|
|
40
40
|
"react": "^19.3.0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|