boss-css 0.0.20 → 0.0.22
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/ai/server.d.cts +9 -0
- package/dist/ai/server.d.mts +9 -0
- package/dist/ai/skills.d.cts +13 -0
- package/dist/ai/skills.d.mts +13 -0
- package/dist/api/browser.d.cts +7 -0
- package/dist/api/browser.d.mts +7 -0
- package/dist/api/config.d.cts +6 -0
- package/dist/api/config.d.mts +6 -0
- package/dist/api/dictionary.d.cts +29 -0
- package/dist/api/dictionary.d.mts +29 -0
- package/dist/api/noopCss.d.cts +29 -0
- package/dist/api/noopCss.d.mts +29 -0
- package/dist/api/server.d.cts +7 -0
- package/dist/api/server.d.mts +7 -0
- package/dist/cli/index.d.cts +1 -0
- package/dist/cli/index.d.mts +1 -0
- package/dist/compile/runtime.d.cts +5 -0
- package/dist/compile/runtime.d.mts +5 -0
- package/dist/cx/index.d.cts +15 -0
- package/dist/cx/index.d.mts +15 -0
- package/dist/detect-fw/index.d.cts +47 -0
- package/dist/detect-fw/index.d.mts +47 -0
- package/dist/dev/client.d.cts +10 -0
- package/dist/dev/client.d.mts +10 -0
- package/dist/dev/plugin/browser.d.cts +7 -0
- package/dist/dev/plugin/browser.d.mts +7 -0
- package/dist/dev/plugin/server.d.cts +8 -0
- package/dist/dev/plugin/server.d.mts +8 -0
- package/dist/dev/runtime.d.cts +1 -0
- package/dist/dev/runtime.d.mts +1 -0
- package/dist/dev/server.d.cts +16 -0
- package/dist/dev/server.d.mts +16 -0
- package/dist/devtools-app/index.mjs +192 -192
- package/dist/eslint-plugin/index.d.cts +1472 -0
- package/dist/eslint-plugin/index.d.mts +1473 -0
- package/dist/fontsource/directory.d.cts +19 -0
- package/dist/fontsource/directory.d.mts +19 -0
- package/dist/fontsource/server.d.cts +7 -0
- package/dist/fontsource/server.d.mts +7 -0
- package/dist/fontsource/types.d.cts +37 -0
- package/dist/fontsource/types.d.mts +37 -0
- package/dist/index.d.cts +6 -0
- package/dist/index.d.mts +6 -0
- package/dist/merge/index.d.cts +18 -0
- package/dist/merge/index.d.mts +18 -0
- package/dist/native/browser.d.cts +7 -0
- package/dist/native/browser.d.mts +7 -0
- package/dist/native/server.d.cts +9 -0
- package/dist/native/server.d.mts +9 -0
- package/dist/parser/classname/server.d.cts +7 -0
- package/dist/parser/classname/server.d.mts +7 -0
- package/dist/parser/jsx/browser.d.cts +7 -0
- package/dist/parser/jsx/browser.d.mts +7 -0
- package/dist/parser/jsx/native.d.cts +7 -0
- package/dist/parser/jsx/native.d.mts +7 -0
- package/dist/parser/jsx/runtime.d.cts +2 -0
- package/dist/parser/jsx/runtime.d.mts +2 -0
- package/dist/parser/jsx/server.d.cts +9 -0
- package/dist/parser/jsx/server.d.mts +9 -0
- package/dist/postcss/index.d.cts +12 -0
- package/dist/postcss/index.d.mts +12 -0
- package/dist/prop/at/runtime-only.d.cts +8 -0
- package/dist/prop/at/runtime-only.d.mts +8 -0
- package/dist/prop/at/server.d.cts +13 -0
- package/dist/prop/at/server.d.mts +13 -0
- package/dist/prop/bosswind/browser.d.cts +8 -0
- package/dist/prop/bosswind/browser.d.mts +8 -0
- package/dist/prop/bosswind/runtime-only.d.cts +8 -0
- package/dist/prop/bosswind/runtime-only.d.mts +8 -0
- package/dist/prop/bosswind/server.d.cts +9 -0
- package/dist/prop/bosswind/server.d.mts +9 -0
- package/dist/prop/bosswind/shared.d.cts +11 -0
- package/dist/prop/bosswind/shared.d.mts +11 -0
- package/dist/prop/child/runtime-only.d.cts +8 -0
- package/dist/prop/child/runtime-only.d.mts +8 -0
- package/dist/prop/child/server.d.cts +9 -0
- package/dist/prop/child/server.d.mts +9 -0
- package/dist/prop/css/runtime-only.d.cts +5 -0
- package/dist/prop/css/runtime-only.d.mts +5 -0
- package/dist/prop/css/server.d.cts +9 -0
- package/dist/prop/css/server.d.mts +9 -0
- package/dist/prop/pseudo/runtime-only.d.cts +8 -0
- package/dist/prop/pseudo/runtime-only.d.mts +8 -0
- package/dist/prop/pseudo/server.d.cts +9 -0
- package/dist/prop/pseudo/server.d.mts +9 -0
- package/dist/reset/server.d.cts +7 -0
- package/dist/reset/server.d.mts +7 -0
- package/dist/runtime/index.d.cts +20 -0
- package/dist/runtime/index.d.mts +20 -0
- package/dist/runtime/preact.d.cts +2 -0
- package/dist/runtime/preact.d.mts +2 -0
- package/dist/runtime/qwik.d.cts +8 -0
- package/dist/runtime/qwik.d.mts +8 -0
- package/dist/runtime/react.d.cts +2 -0
- package/dist/runtime/react.d.mts +2 -0
- package/dist/runtime/solid.d.cts +6 -0
- package/dist/runtime/solid.d.mts +6 -0
- package/dist/runtime/stencil.d.cts +7 -0
- package/dist/runtime/stencil.d.mts +7 -0
- package/dist/runtime/style.d.cts +4 -0
- package/dist/runtime/style.d.mts +4 -0
- package/dist/shared/types.d.cts +96 -0
- package/dist/shared/types.d.mts +96 -0
- package/dist/strategy/classic/runtime-only.d.cts +7 -0
- package/dist/strategy/classic/runtime-only.d.mts +7 -0
- package/dist/strategy/classname-first/browser.d.cts +7 -0
- package/dist/strategy/classname-first/browser.d.mts +7 -0
- package/dist/strategy/classname-first/runtime-only.d.cts +7 -0
- package/dist/strategy/classname-first/runtime-only.d.mts +7 -0
- package/dist/strategy/classname-first/server.d.cts +9 -0
- package/dist/strategy/classname-first/server.d.mts +9 -0
- package/dist/strategy/classname-only/server.d.cts +8 -0
- package/dist/strategy/classname-only/server.d.mts +8 -0
- package/dist/strategy/inline-first/browser.d.cts +7 -0
- package/dist/strategy/inline-first/browser.d.mts +7 -0
- package/dist/strategy/inline-first/runtime-only.d.cts +7 -0
- package/dist/strategy/inline-first/runtime-only.d.mts +7 -0
- package/dist/strategy/inline-first/server.d.cts +9 -0
- package/dist/strategy/inline-first/server.d.mts +9 -0
- package/dist/strategy/runtime/runtime-only.d.cts +9 -0
- package/dist/strategy/runtime/runtime-only.d.mts +9 -0
- package/dist/strategy/runtime/server.d.cts +9 -0
- package/dist/strategy/runtime/server.d.mts +9 -0
- package/dist/strategy/runtime-only/css.d.cts +43 -0
- package/dist/strategy/runtime-only/css.d.mts +43 -0
- package/dist/tasks/build.d.cts +23 -0
- package/dist/tasks/build.d.mts +23 -0
- package/dist/tasks/compile.d.cts +31 -0
- package/dist/tasks/compile.d.mts +31 -0
- package/dist/tasks/postcss.cjs +8 -13
- package/dist/tasks/postcss.d.cts +10 -0
- package/dist/tasks/postcss.d.mts +10 -0
- package/dist/tasks/postcss.mjs +8 -13
- package/dist/tasks/session.d.cts +12 -0
- package/dist/tasks/session.d.mts +12 -0
- package/dist/tasks/watch.d.cts +17 -0
- package/dist/tasks/watch.d.mts +17 -0
- package/dist/types/Plugin.d.cts +251 -0
- package/dist/types/Plugin.d.mts +251 -0
- package/dist/use/token/browser.d.cts +16 -0
- package/dist/use/token/browser.d.mts +16 -0
- package/dist/use/token/propMap.d.cts +8 -0
- package/dist/use/token/propMap.d.mts +8 -0
- package/dist/use/token/runtime-only.d.cts +22 -0
- package/dist/use/token/runtime-only.d.mts +22 -0
- package/dist/use/token/server.d.cts +19 -0
- package/dist/use/token/server.d.mts +19 -0
- package/package.json +1 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Plugin } from "../../types/Plugin.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/use/token/browser.d.ts
|
|
4
|
+
type TokenFn = (() => string) & {
|
|
5
|
+
IS_TOKEN_FN?: boolean;
|
|
6
|
+
};
|
|
7
|
+
type TokenProxy = TokenFn & {
|
|
8
|
+
[key: string]: TokenProxy;
|
|
9
|
+
};
|
|
10
|
+
declare const tokenVars: (input?: Record<string, unknown>) => Record<string, string | number>;
|
|
11
|
+
declare const onInit: Plugin<'onInit'>;
|
|
12
|
+
declare const create: (currentKey?: string) => TokenProxy;
|
|
13
|
+
declare const tokenPaths: Set<unknown>;
|
|
14
|
+
declare const onBrowserObjectStart: Plugin<'onBrowserObjectStart'>;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { TokenProxy, create, onBrowserObjectStart, onInit, tokenPaths, tokenVars };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
//#region src/use/token/propMap.d.ts
|
|
2
|
+
declare const propMap: Map<string, string[] | Set<string>>;
|
|
3
|
+
declare const getTokenGroupsForProp: (prop: string) => string[];
|
|
4
|
+
declare const getTokenGroupForProp: (prop: string) => string;
|
|
5
|
+
declare const setTokenPropGroups: (groups: Record<string, string[]>) => void;
|
|
6
|
+
declare const getTokenPropGroups: () => Record<string, string[]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { getTokenGroupForProp, getTokenGroupsForProp, getTokenPropGroups, propMap, setTokenPropGroups };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
//#region src/use/token/propMap.d.ts
|
|
2
|
+
declare const propMap: Map<string, string[] | Set<string>>;
|
|
3
|
+
declare const getTokenGroupsForProp: (prop: string) => string[];
|
|
4
|
+
declare const getTokenGroupForProp: (prop: string) => string;
|
|
5
|
+
declare const setTokenPropGroups: (groups: Record<string, string[]>) => void;
|
|
6
|
+
declare const getTokenPropGroups: () => Record<string, string[]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { getTokenGroupForProp, getTokenGroupsForProp, getTokenPropGroups, propMap, setTokenPropGroups };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BossBrowserApi, Plugin } from "../../types/Plugin.cjs";
|
|
2
|
+
|
|
3
|
+
//#region src/use/token/runtime-only.d.ts
|
|
4
|
+
type TokenFn = (() => string) & {
|
|
5
|
+
IS_TOKEN_FN?: boolean;
|
|
6
|
+
};
|
|
7
|
+
type TokenProxy = TokenFn & {
|
|
8
|
+
[key: string]: TokenProxy;
|
|
9
|
+
};
|
|
10
|
+
declare const tokenVars: (input?: Record<string, unknown>) => Record<string, string | number>;
|
|
11
|
+
declare const onInit: Plugin<'onInit'>;
|
|
12
|
+
declare const create: (currentKey?: string) => TokenProxy;
|
|
13
|
+
declare const tokenPaths: Set<string>;
|
|
14
|
+
declare const resolveRuntimeToken: (api: BossBrowserApi, prop: string, value: unknown) => {
|
|
15
|
+
value: string | Record<string, any>;
|
|
16
|
+
selectorValue: string | Record<string, any>;
|
|
17
|
+
tokenKey: string;
|
|
18
|
+
tokenPath: string;
|
|
19
|
+
} | null;
|
|
20
|
+
declare const onBrowserObjectStart: Plugin<'onBrowserObjectStart'>;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { TokenProxy, create, onBrowserObjectStart, onInit, resolveRuntimeToken, tokenPaths, tokenVars };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BossBrowserApi, Plugin } from "../../types/Plugin.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/use/token/runtime-only.d.ts
|
|
4
|
+
type TokenFn = (() => string) & {
|
|
5
|
+
IS_TOKEN_FN?: boolean;
|
|
6
|
+
};
|
|
7
|
+
type TokenProxy = TokenFn & {
|
|
8
|
+
[key: string]: TokenProxy;
|
|
9
|
+
};
|
|
10
|
+
declare const tokenVars: (input?: Record<string, unknown>) => Record<string, string | number>;
|
|
11
|
+
declare const onInit: Plugin<'onInit'>;
|
|
12
|
+
declare const create: (currentKey?: string) => TokenProxy;
|
|
13
|
+
declare const tokenPaths: Set<string>;
|
|
14
|
+
declare const resolveRuntimeToken: (api: BossBrowserApi, prop: string, value: unknown) => {
|
|
15
|
+
value: string | Record<string, any>;
|
|
16
|
+
selectorValue: string | Record<string, any>;
|
|
17
|
+
tokenKey: string;
|
|
18
|
+
tokenPath: string;
|
|
19
|
+
} | null;
|
|
20
|
+
declare const onBrowserObjectStart: Plugin<'onBrowserObjectStart'>;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { TokenProxy, create, onBrowserObjectStart, onInit, resolveRuntimeToken, tokenPaths, tokenVars };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Plugin } from "../../types/Plugin.cjs";
|
|
2
|
+
import { getTokenGroupForProp, getTokenGroupsForProp, getTokenPropGroups, propMap, setTokenPropGroups } from "./propMap.cjs";
|
|
3
|
+
|
|
4
|
+
//#region src/use/token/server.d.ts
|
|
5
|
+
declare const name = "token";
|
|
6
|
+
type TokenGroup = Record<string, unknown>;
|
|
7
|
+
type TokenValueMap = Map<string, TokenGroup> & {
|
|
8
|
+
asObject?: () => Record<string, TokenGroup>;
|
|
9
|
+
};
|
|
10
|
+
type TokenInput = Record<string, unknown>;
|
|
11
|
+
type TokenInputResolver = (values: TokenValueMap) => TokenInput;
|
|
12
|
+
declare const getTokens: () => TokenInput;
|
|
13
|
+
declare const set: (input: TokenInput | TokenInputResolver) => void;
|
|
14
|
+
declare const onBoot: Plugin<'onBoot'>;
|
|
15
|
+
declare const onReady: Plugin<'onReady'>;
|
|
16
|
+
declare const onParse: Plugin<'onParse'>;
|
|
17
|
+
declare const onPropTree: Plugin<'onPropTree'>;
|
|
18
|
+
//#endregion
|
|
19
|
+
export { getTokenGroupForProp, getTokenGroupsForProp, getTokenPropGroups, getTokens, name, onBoot, onParse, onPropTree, onReady, propMap, set, setTokenPropGroups };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Plugin } from "../../types/Plugin.mjs";
|
|
2
|
+
import { getTokenGroupForProp, getTokenGroupsForProp, getTokenPropGroups, propMap, setTokenPropGroups } from "./propMap.mjs";
|
|
3
|
+
|
|
4
|
+
//#region src/use/token/server.d.ts
|
|
5
|
+
declare const name = "token";
|
|
6
|
+
type TokenGroup = Record<string, unknown>;
|
|
7
|
+
type TokenValueMap = Map<string, TokenGroup> & {
|
|
8
|
+
asObject?: () => Record<string, TokenGroup>;
|
|
9
|
+
};
|
|
10
|
+
type TokenInput = Record<string, unknown>;
|
|
11
|
+
type TokenInputResolver = (values: TokenValueMap) => TokenInput;
|
|
12
|
+
declare const getTokens: () => TokenInput;
|
|
13
|
+
declare const set: (input: TokenInput | TokenInputResolver) => void;
|
|
14
|
+
declare const onBoot: Plugin<'onBoot'>;
|
|
15
|
+
declare const onReady: Plugin<'onReady'>;
|
|
16
|
+
declare const onParse: Plugin<'onParse'>;
|
|
17
|
+
declare const onPropTree: Plugin<'onPropTree'>;
|
|
18
|
+
//#endregion
|
|
19
|
+
export { getTokenGroupForProp, getTokenGroupsForProp, getTokenPropGroups, getTokens, name, onBoot, onParse, onPropTree, onReady, propMap, set, setTokenPropGroups };
|