zova-cli-set-front 1.2.45 → 1.2.46

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,7 +1,9 @@
1
+ import type { PrefixKeys } from 'zova';
1
2
  import type { IActionRecord, TypeActionOptions } from 'zova-module-a-action';
2
3
  import type { IVonaComponentRecord, TypeComponentOptions } from 'zova-module-a-bean';
3
4
  import type { IIconRecord } from 'zova-module-a-icon';
4
5
  import type { TypePagePathSchema } from 'zova-module-a-router';
6
+ import type { CssBase } from 'zova-module-home-theme';
5
7
 
6
8
  declare module 'zova-module-a-router' {
7
9
  export interface IPagePathRecord {
@@ -12,6 +14,24 @@ declare module 'zova-module-a-router' {
12
14
  }
13
15
  }
14
16
 
17
+ export function $cssBase<K extends PrefixKeys<CssBase, 'c'>>(name: K): string {
18
+ return `cssBase:${name}`;
19
+ }
20
+
21
+ export function $cssMerge(
22
+ ...classes: (
23
+ | string
24
+ | false
25
+ | undefined
26
+ | null
27
+ | {
28
+ [className: string]: any;
29
+ }
30
+ )[]
31
+ ): any[] {
32
+ return classes;
33
+ }
34
+
15
35
  export function $iconName<K extends keyof IIconRecord>(name: K): any {
16
36
  return name;
17
37
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "zova-cli-set-front",
3
- "version": "1.2.45",
4
- "gitHead": "343c61ad189fe3f0fc997ee9f4c710567657e05c",
3
+ "version": "1.2.46",
4
+ "gitHead": "ddec2a32e5fd0e85af5967caa29e4d0e5e0f6117",
5
5
  "description": "zova cli-set-front",
6
6
  "keywords": [
7
7
  "framework",