boss-css 0.0.19 → 0.0.21
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 +1 -1
- package/dist/eslint-plugin/index.d.cts +1472 -0
- package/dist/eslint-plugin/index.d.mts +1473 -0
- package/dist/eslint-plugin/rules/format-classnames.cjs +2 -3
- package/dist/eslint-plugin/rules/format-classnames.mjs +1 -1
- package/dist/eslint-plugin/rules/redundant-cx.cjs +4 -2
- package/dist/eslint-plugin/rules/redundant-cx.mjs +4 -2
- 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.cjs +1 -1
- package/dist/merge/index.d.cts +18 -0
- package/dist/merge/index.d.mts +18 -0
- package/dist/merge/index.mjs +1 -1
- 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.cjs +49 -15
- package/dist/parser/classname/server.d.cts +7 -0
- package/dist/parser/classname/server.d.mts +7 -0
- package/dist/parser/classname/server.mjs +49 -15
- 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.d.cts +10 -0
- package/dist/tasks/postcss.d.mts +10 -0
- 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
|
@@ -25,28 +25,62 @@ const onParse = async (api, input) => {
|
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
|
-
const templateRegexp = /`([\S\s]+?)`/g;
|
|
29
|
-
const quoteRegexps = [
|
|
30
|
-
/"(.+?)"/g,
|
|
31
|
-
/'(.+?)'/g,
|
|
32
|
-
templateRegexp
|
|
33
|
-
];
|
|
34
28
|
const extractCode = (content) => {
|
|
35
29
|
const results = [];
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
30
|
+
[
|
|
31
|
+
"\"",
|
|
32
|
+
"'",
|
|
33
|
+
"`"
|
|
34
|
+
].forEach((quote) => {
|
|
35
|
+
scanQuotedSegments(content, quote, ({ value, hasTemplateExpression }) => {
|
|
36
|
+
if (quote === "`" && hasTemplateExpression) {
|
|
42
37
|
console.warn("[boss-css] classname parser skipped template literals with expressions. Classnames must be static.");
|
|
43
|
-
console.warn(
|
|
38
|
+
console.warn(value);
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
results.push(value);
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
return { codes: results };
|
|
45
|
+
};
|
|
46
|
+
const scanQuotedSegments = (input, quote, onSegment) => {
|
|
47
|
+
let index = 0;
|
|
48
|
+
const length = input.length;
|
|
49
|
+
while (index < length) {
|
|
50
|
+
if (input[index] !== quote) {
|
|
51
|
+
index += 1;
|
|
52
|
+
continue;
|
|
53
|
+
}
|
|
54
|
+
index += 1;
|
|
55
|
+
let value = "";
|
|
56
|
+
let escaped = false;
|
|
57
|
+
let hasTemplateExpression = false;
|
|
58
|
+
while (index < length) {
|
|
59
|
+
const current = input[index];
|
|
60
|
+
if (escaped) {
|
|
61
|
+
value += current;
|
|
62
|
+
escaped = false;
|
|
63
|
+
index += 1;
|
|
64
|
+
continue;
|
|
65
|
+
}
|
|
66
|
+
if (current === "\\") {
|
|
67
|
+
value += current;
|
|
68
|
+
escaped = true;
|
|
69
|
+
index += 1;
|
|
44
70
|
continue;
|
|
45
71
|
}
|
|
46
|
-
|
|
72
|
+
if (quote === "`" && current === "$" && input[index + 1] === "{") hasTemplateExpression = true;
|
|
73
|
+
if (current === quote) break;
|
|
74
|
+
value += current;
|
|
75
|
+
index += 1;
|
|
47
76
|
}
|
|
77
|
+
if (index >= length) break;
|
|
78
|
+
onSegment({
|
|
79
|
+
value,
|
|
80
|
+
hasTemplateExpression
|
|
81
|
+
});
|
|
82
|
+
index += 1;
|
|
48
83
|
}
|
|
49
|
-
return { codes: results };
|
|
50
84
|
};
|
|
51
85
|
const extractPropTree = async (string, api) => {
|
|
52
86
|
const tree = {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as react0 from "react";
|
|
2
|
+
|
|
3
|
+
//#region src/parser/jsx/native.d.ts
|
|
4
|
+
declare function factory(tag?: string): (props: Record<string, unknown>, ref?: unknown) => Record<string, unknown> | react0.DetailedReactHTMLElement<react0.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
|
|
5
|
+
declare const proxy: any;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { factory, proxy };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as react0 from "react";
|
|
2
|
+
|
|
3
|
+
//#region src/parser/jsx/native.d.ts
|
|
4
|
+
declare function factory(tag?: string): (props: Record<string, unknown>, ref?: unknown) => Record<string, unknown> | react0.DetailedReactHTMLElement<react0.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
|
|
5
|
+
declare const proxy: any;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { factory, proxy };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Plugin } from "../../types/Plugin.cjs";
|
|
2
|
+
|
|
3
|
+
//#region src/parser/jsx/server.d.ts
|
|
4
|
+
declare const name = "jsx";
|
|
5
|
+
declare const settings: Map<string, unknown>;
|
|
6
|
+
declare const onBoot: Plugin<'onBoot'>;
|
|
7
|
+
declare const onParse: Plugin<'onParse'>;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { name, onBoot, onParse, settings };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Plugin } from "../../types/Plugin.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/parser/jsx/server.d.ts
|
|
4
|
+
declare const name = "jsx";
|
|
5
|
+
declare const settings: Map<string, unknown>;
|
|
6
|
+
declare const onBoot: Plugin<'onBoot'>;
|
|
7
|
+
declare const onParse: Plugin<'onParse'>;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { name, onBoot, onParse, settings };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BossPostcssOptions } from "../tasks/postcss.cjs";
|
|
2
|
+
|
|
3
|
+
//#region src/postcss/index.d.ts
|
|
4
|
+
declare function postcssPlugin(options?: BossPostcssOptions): {
|
|
5
|
+
postcssPlugin: string;
|
|
6
|
+
plugins: ((root: any, result: any) => Promise<void>)[];
|
|
7
|
+
};
|
|
8
|
+
declare namespace postcssPlugin {
|
|
9
|
+
var postcss: boolean;
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { type BossPostcssOptions, postcssPlugin as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BossPostcssOptions } from "../tasks/postcss.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/postcss/index.d.ts
|
|
4
|
+
declare function postcssPlugin(options?: BossPostcssOptions): {
|
|
5
|
+
postcssPlugin: string;
|
|
6
|
+
plugins: ((root: any, result: any) => Promise<void>)[];
|
|
7
|
+
};
|
|
8
|
+
declare namespace postcssPlugin {
|
|
9
|
+
var postcss: boolean;
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { type BossPostcssOptions, postcssPlugin as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BossBrowserApi, Plugin } from "../../types/Plugin.cjs";
|
|
2
|
+
|
|
3
|
+
//#region src/prop/at/runtime-only.d.ts
|
|
4
|
+
declare const resolveAtQuery: (api: BossBrowserApi, contexts: string[]) => string | null;
|
|
5
|
+
declare const name = "at";
|
|
6
|
+
declare const onInit: Plugin<'onInit'>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { name, onInit, resolveAtQuery };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BossBrowserApi, Plugin } from "../../types/Plugin.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/prop/at/runtime-only.d.ts
|
|
4
|
+
declare const resolveAtQuery: (api: BossBrowserApi, contexts: string[]) => string | null;
|
|
5
|
+
declare const name = "at";
|
|
6
|
+
declare const onInit: Plugin<'onInit'>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { name, onInit, resolveAtQuery };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Plugin } from "../../types/Plugin.cjs";
|
|
2
|
+
|
|
3
|
+
//#region src/prop/at/server.d.ts
|
|
4
|
+
declare const UP = "+";
|
|
5
|
+
declare const DOWN = "-";
|
|
6
|
+
declare const name = "at";
|
|
7
|
+
declare const dependencies: Set<string>;
|
|
8
|
+
declare const values: Map<string, string>;
|
|
9
|
+
declare const onBoot: Plugin<'onBoot'>;
|
|
10
|
+
declare const onReady: Plugin<'onReady'>;
|
|
11
|
+
declare const onProp: Plugin<'onProp'>;
|
|
12
|
+
//#endregion
|
|
13
|
+
export { DOWN, UP, dependencies, name, onBoot, onProp, onReady, values };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Plugin } from "../../types/Plugin.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/prop/at/server.d.ts
|
|
4
|
+
declare const UP = "+";
|
|
5
|
+
declare const DOWN = "-";
|
|
6
|
+
declare const name = "at";
|
|
7
|
+
declare const dependencies: Set<string>;
|
|
8
|
+
declare const values: Map<string, string>;
|
|
9
|
+
declare const onBoot: Plugin<'onBoot'>;
|
|
10
|
+
declare const onReady: Plugin<'onReady'>;
|
|
11
|
+
declare const onProp: Plugin<'onProp'>;
|
|
12
|
+
//#endregion
|
|
13
|
+
export { DOWN, UP, dependencies, name, onBoot, onProp, onReady, values };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Plugin } from "../../types/Plugin.cjs";
|
|
2
|
+
|
|
3
|
+
//#region src/prop/bosswind/browser.d.ts
|
|
4
|
+
declare const name = "bosswind";
|
|
5
|
+
declare const onInit: Plugin<'onInit'>;
|
|
6
|
+
declare const onBrowserObjectStart: Plugin<'onBrowserObjectStart'>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { name, onBrowserObjectStart, onInit };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Plugin } from "../../types/Plugin.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/prop/bosswind/browser.d.ts
|
|
4
|
+
declare const name = "bosswind";
|
|
5
|
+
declare const onInit: Plugin<'onInit'>;
|
|
6
|
+
declare const onBrowserObjectStart: Plugin<'onBrowserObjectStart'>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { name, onBrowserObjectStart, onInit };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Plugin } from "../../types/Plugin.cjs";
|
|
2
|
+
|
|
3
|
+
//#region src/prop/bosswind/runtime-only.d.ts
|
|
4
|
+
declare const name = "bosswind";
|
|
5
|
+
declare const onInit: Plugin<'onInit'>;
|
|
6
|
+
declare const onBrowserObjectStart: Plugin<'onBrowserObjectStart'>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { name, onBrowserObjectStart, onInit };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Plugin } from "../../types/Plugin.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/prop/bosswind/runtime-only.d.ts
|
|
4
|
+
declare const name = "bosswind";
|
|
5
|
+
declare const onInit: Plugin<'onInit'>;
|
|
6
|
+
declare const onBrowserObjectStart: Plugin<'onBrowserObjectStart'>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { name, onBrowserObjectStart, onInit };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Plugin } from "../../types/Plugin.cjs";
|
|
2
|
+
|
|
3
|
+
//#region src/prop/bosswind/server.d.ts
|
|
4
|
+
declare const name = "bosswind";
|
|
5
|
+
declare const onBoot: Plugin<'onBoot'>;
|
|
6
|
+
declare const onReady: Plugin<'onReady'>;
|
|
7
|
+
declare const onPropTree: Plugin<'onPropTree'>;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { name, onBoot, onPropTree, onReady };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Plugin } from "../../types/Plugin.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/prop/bosswind/server.d.ts
|
|
4
|
+
declare const name = "bosswind";
|
|
5
|
+
declare const onBoot: Plugin<'onBoot'>;
|
|
6
|
+
declare const onReady: Plugin<'onReady'>;
|
|
7
|
+
declare const onPropTree: Plugin<'onPropTree'>;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { name, onBoot, onPropTree, onReady };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Plugin } from "../../types/Plugin.cjs";
|
|
2
|
+
|
|
3
|
+
//#region src/prop/child/runtime-only.d.ts
|
|
4
|
+
declare const name = "child";
|
|
5
|
+
declare const createChildContext: (selector: string) => string;
|
|
6
|
+
declare const onInit: Plugin<'onInit'>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { createChildContext, name, onInit };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Plugin } from "../../types/Plugin.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/prop/child/runtime-only.d.ts
|
|
4
|
+
declare const name = "child";
|
|
5
|
+
declare const createChildContext: (selector: string) => string;
|
|
6
|
+
declare const onInit: Plugin<'onInit'>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { createChildContext, name, onInit };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Plugin } from "../../types/Plugin.cjs";
|
|
2
|
+
|
|
3
|
+
//#region src/prop/child/server.d.ts
|
|
4
|
+
declare const name = "child";
|
|
5
|
+
declare const dependencies: Set<string>;
|
|
6
|
+
declare const onBoot: Plugin<'onBoot'>;
|
|
7
|
+
declare const onProp: Plugin<'onProp'>;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { dependencies, name, onBoot, onProp };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Plugin } from "../../types/Plugin.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/prop/child/server.d.ts
|
|
4
|
+
declare const name = "child";
|
|
5
|
+
declare const dependencies: Set<string>;
|
|
6
|
+
declare const onBoot: Plugin<'onBoot'>;
|
|
7
|
+
declare const onProp: Plugin<'onProp'>;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { dependencies, name, onBoot, onProp };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Plugin } from "../../types/Plugin.cjs";
|
|
2
|
+
|
|
3
|
+
//#region src/prop/css/server.d.ts
|
|
4
|
+
declare const name = "css";
|
|
5
|
+
declare const dependencies: Set<string>;
|
|
6
|
+
declare const onBoot: Plugin<'onBoot'>;
|
|
7
|
+
declare const onProp: Plugin<'onProp'>;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { dependencies, name, onBoot, onProp };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Plugin } from "../../types/Plugin.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/prop/css/server.d.ts
|
|
4
|
+
declare const name = "css";
|
|
5
|
+
declare const dependencies: Set<string>;
|
|
6
|
+
declare const onBoot: Plugin<'onBoot'>;
|
|
7
|
+
declare const onProp: Plugin<'onProp'>;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { dependencies, name, onBoot, onProp };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Plugin } from "../../types/Plugin.cjs";
|
|
2
|
+
|
|
3
|
+
//#region src/prop/pseudo/runtime-only.d.ts
|
|
4
|
+
declare const dependencies: Set<string>;
|
|
5
|
+
declare const name = "pseudo";
|
|
6
|
+
declare const onInit: Plugin<'onInit'>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { dependencies, name, onInit };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Plugin } from "../../types/Plugin.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/prop/pseudo/runtime-only.d.ts
|
|
4
|
+
declare const dependencies: Set<string>;
|
|
5
|
+
declare const name = "pseudo";
|
|
6
|
+
declare const onInit: Plugin<'onInit'>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { dependencies, name, onInit };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Plugin } from "../../types/Plugin.cjs";
|
|
2
|
+
|
|
3
|
+
//#region src/prop/pseudo/server.d.ts
|
|
4
|
+
declare const onBoot: Plugin<'onBoot'>;
|
|
5
|
+
declare const onProp: Plugin<'onProp'>;
|
|
6
|
+
declare const dependencies: Set<string>;
|
|
7
|
+
declare const name = "pseudo";
|
|
8
|
+
//#endregion
|
|
9
|
+
export { dependencies, name, onBoot, onProp };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Plugin } from "../../types/Plugin.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/prop/pseudo/server.d.ts
|
|
4
|
+
declare const onBoot: Plugin<'onBoot'>;
|
|
5
|
+
declare const onProp: Plugin<'onProp'>;
|
|
6
|
+
declare const dependencies: Set<string>;
|
|
7
|
+
declare const name = "pseudo";
|
|
8
|
+
//#endregion
|
|
9
|
+
export { dependencies, name, onBoot, onProp };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { merge } from "../merge/index.cjs";
|
|
2
|
+
import { cv, cx, scv, sv } from "../cx/index.cjs";
|
|
3
|
+
|
|
4
|
+
//#region src/runtime/index.d.ts
|
|
5
|
+
type BossRuntimeComponent = ((props: Record<string, unknown>, ref?: unknown, ...restArgs: unknown[]) => unknown) & {
|
|
6
|
+
displayName?: string;
|
|
7
|
+
merge?: typeof merge;
|
|
8
|
+
cx?: typeof cx;
|
|
9
|
+
cv?: typeof cv;
|
|
10
|
+
scv?: typeof scv;
|
|
11
|
+
sv?: typeof sv;
|
|
12
|
+
css?: () => void;
|
|
13
|
+
style?: (...inputs: Record<string, unknown>[]) => Record<string, unknown>;
|
|
14
|
+
$?: (input: unknown) => unknown;
|
|
15
|
+
__bossTag?: string;
|
|
16
|
+
};
|
|
17
|
+
declare function factory(tag?: unknown): (props: Record<string, unknown>, ref?: unknown, ...restArgs: unknown[]) => unknown;
|
|
18
|
+
declare const proxy: BossRuntimeComponent;
|
|
19
|
+
//#endregion
|
|
20
|
+
export { factory, proxy };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { merge } from "../merge/index.mjs";
|
|
2
|
+
import { cv, cx, scv, sv } from "../cx/index.mjs";
|
|
3
|
+
|
|
4
|
+
//#region src/runtime/index.d.ts
|
|
5
|
+
type BossRuntimeComponent = ((props: Record<string, unknown>, ref?: unknown, ...restArgs: unknown[]) => unknown) & {
|
|
6
|
+
displayName?: string;
|
|
7
|
+
merge?: typeof merge;
|
|
8
|
+
cx?: typeof cx;
|
|
9
|
+
cv?: typeof cv;
|
|
10
|
+
scv?: typeof scv;
|
|
11
|
+
sv?: typeof sv;
|
|
12
|
+
css?: () => void;
|
|
13
|
+
style?: (...inputs: Record<string, unknown>[]) => Record<string, unknown>;
|
|
14
|
+
$?: (input: unknown) => unknown;
|
|
15
|
+
__bossTag?: string;
|
|
16
|
+
};
|
|
17
|
+
declare function factory(tag?: unknown): (props: Record<string, unknown>, ref?: unknown, ...restArgs: unknown[]) => unknown;
|
|
18
|
+
declare const proxy: BossRuntimeComponent;
|
|
19
|
+
//#endregion
|
|
20
|
+
export { factory, proxy };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as _builder_io_qwik0 from "@builder.io/qwik";
|
|
2
|
+
|
|
3
|
+
//#region src/runtime/qwik.d.ts
|
|
4
|
+
declare const createElement: (component: unknown, props: Record<string, unknown> | null, children: unknown, dev?: Record<string, unknown>) => _builder_io_qwik0.JSXNode<never>;
|
|
5
|
+
declare const applyRef: () => void;
|
|
6
|
+
declare const getDev: (_key: unknown, rest: unknown[]) => unknown;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { applyRef, createElement, getDev };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as _builder_io_qwik0 from "@builder.io/qwik";
|
|
2
|
+
|
|
3
|
+
//#region src/runtime/qwik.d.ts
|
|
4
|
+
declare const createElement: (component: unknown, props: Record<string, unknown> | null, children: unknown, dev?: Record<string, unknown>) => _builder_io_qwik0.JSXNode<never>;
|
|
5
|
+
declare const applyRef: () => void;
|
|
6
|
+
declare const getDev: (_key: unknown, rest: unknown[]) => unknown;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { applyRef, createElement, getDev };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
//#region src/runtime/stencil.d.ts
|
|
2
|
+
declare const createElement: (component: unknown, props: Record<string, unknown> | null, children: unknown) => any;
|
|
3
|
+
declare const getChildren: (restArgs: unknown[]) => unknown;
|
|
4
|
+
declare const getFactoryChildren: (_props: unknown, ref: unknown) => unknown;
|
|
5
|
+
declare const applyRef: () => void;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { applyRef, createElement, getChildren, getFactoryChildren };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
//#region src/runtime/stencil.d.ts
|
|
2
|
+
declare const createElement: (component: unknown, props: Record<string, unknown> | null, children: unknown) => any;
|
|
3
|
+
declare const getChildren: (restArgs: unknown[]) => unknown;
|
|
4
|
+
declare const getFactoryChildren: (_props: unknown, ref: unknown) => unknown;
|
|
5
|
+
declare const applyRef: () => void;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { applyRef, createElement, getChildren, getFactoryChildren };
|