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.
Files changed (154) hide show
  1. package/dist/ai/server.d.cts +9 -0
  2. package/dist/ai/server.d.mts +9 -0
  3. package/dist/ai/skills.d.cts +13 -0
  4. package/dist/ai/skills.d.mts +13 -0
  5. package/dist/api/browser.d.cts +7 -0
  6. package/dist/api/browser.d.mts +7 -0
  7. package/dist/api/config.d.cts +6 -0
  8. package/dist/api/config.d.mts +6 -0
  9. package/dist/api/dictionary.d.cts +29 -0
  10. package/dist/api/dictionary.d.mts +29 -0
  11. package/dist/api/noopCss.d.cts +29 -0
  12. package/dist/api/noopCss.d.mts +29 -0
  13. package/dist/api/server.d.cts +7 -0
  14. package/dist/api/server.d.mts +7 -0
  15. package/dist/cli/index.d.cts +1 -0
  16. package/dist/cli/index.d.mts +1 -0
  17. package/dist/compile/runtime.d.cts +5 -0
  18. package/dist/compile/runtime.d.mts +5 -0
  19. package/dist/cx/index.d.cts +15 -0
  20. package/dist/cx/index.d.mts +15 -0
  21. package/dist/detect-fw/index.d.cts +47 -0
  22. package/dist/detect-fw/index.d.mts +47 -0
  23. package/dist/dev/client.d.cts +10 -0
  24. package/dist/dev/client.d.mts +10 -0
  25. package/dist/dev/plugin/browser.d.cts +7 -0
  26. package/dist/dev/plugin/browser.d.mts +7 -0
  27. package/dist/dev/plugin/server.d.cts +8 -0
  28. package/dist/dev/plugin/server.d.mts +8 -0
  29. package/dist/dev/runtime.d.cts +1 -0
  30. package/dist/dev/runtime.d.mts +1 -0
  31. package/dist/dev/server.d.cts +16 -0
  32. package/dist/dev/server.d.mts +16 -0
  33. package/dist/devtools-app/index.mjs +1 -1
  34. package/dist/eslint-plugin/index.d.cts +1472 -0
  35. package/dist/eslint-plugin/index.d.mts +1473 -0
  36. package/dist/eslint-plugin/rules/format-classnames.cjs +2 -3
  37. package/dist/eslint-plugin/rules/format-classnames.mjs +1 -1
  38. package/dist/eslint-plugin/rules/redundant-cx.cjs +4 -2
  39. package/dist/eslint-plugin/rules/redundant-cx.mjs +4 -2
  40. package/dist/fontsource/directory.d.cts +19 -0
  41. package/dist/fontsource/directory.d.mts +19 -0
  42. package/dist/fontsource/server.d.cts +7 -0
  43. package/dist/fontsource/server.d.mts +7 -0
  44. package/dist/fontsource/types.d.cts +37 -0
  45. package/dist/fontsource/types.d.mts +37 -0
  46. package/dist/index.d.cts +6 -0
  47. package/dist/index.d.mts +6 -0
  48. package/dist/merge/index.cjs +1 -1
  49. package/dist/merge/index.d.cts +18 -0
  50. package/dist/merge/index.d.mts +18 -0
  51. package/dist/merge/index.mjs +1 -1
  52. package/dist/native/browser.d.cts +7 -0
  53. package/dist/native/browser.d.mts +7 -0
  54. package/dist/native/server.d.cts +9 -0
  55. package/dist/native/server.d.mts +9 -0
  56. package/dist/parser/classname/server.cjs +49 -15
  57. package/dist/parser/classname/server.d.cts +7 -0
  58. package/dist/parser/classname/server.d.mts +7 -0
  59. package/dist/parser/classname/server.mjs +49 -15
  60. package/dist/parser/jsx/browser.d.cts +7 -0
  61. package/dist/parser/jsx/browser.d.mts +7 -0
  62. package/dist/parser/jsx/native.d.cts +7 -0
  63. package/dist/parser/jsx/native.d.mts +7 -0
  64. package/dist/parser/jsx/runtime.d.cts +2 -0
  65. package/dist/parser/jsx/runtime.d.mts +2 -0
  66. package/dist/parser/jsx/server.d.cts +9 -0
  67. package/dist/parser/jsx/server.d.mts +9 -0
  68. package/dist/postcss/index.d.cts +12 -0
  69. package/dist/postcss/index.d.mts +12 -0
  70. package/dist/prop/at/runtime-only.d.cts +8 -0
  71. package/dist/prop/at/runtime-only.d.mts +8 -0
  72. package/dist/prop/at/server.d.cts +13 -0
  73. package/dist/prop/at/server.d.mts +13 -0
  74. package/dist/prop/bosswind/browser.d.cts +8 -0
  75. package/dist/prop/bosswind/browser.d.mts +8 -0
  76. package/dist/prop/bosswind/runtime-only.d.cts +8 -0
  77. package/dist/prop/bosswind/runtime-only.d.mts +8 -0
  78. package/dist/prop/bosswind/server.d.cts +9 -0
  79. package/dist/prop/bosswind/server.d.mts +9 -0
  80. package/dist/prop/bosswind/shared.d.cts +11 -0
  81. package/dist/prop/bosswind/shared.d.mts +11 -0
  82. package/dist/prop/child/runtime-only.d.cts +8 -0
  83. package/dist/prop/child/runtime-only.d.mts +8 -0
  84. package/dist/prop/child/server.d.cts +9 -0
  85. package/dist/prop/child/server.d.mts +9 -0
  86. package/dist/prop/css/runtime-only.d.cts +5 -0
  87. package/dist/prop/css/runtime-only.d.mts +5 -0
  88. package/dist/prop/css/server.d.cts +9 -0
  89. package/dist/prop/css/server.d.mts +9 -0
  90. package/dist/prop/pseudo/runtime-only.d.cts +8 -0
  91. package/dist/prop/pseudo/runtime-only.d.mts +8 -0
  92. package/dist/prop/pseudo/server.d.cts +9 -0
  93. package/dist/prop/pseudo/server.d.mts +9 -0
  94. package/dist/reset/server.d.cts +7 -0
  95. package/dist/reset/server.d.mts +7 -0
  96. package/dist/runtime/index.d.cts +20 -0
  97. package/dist/runtime/index.d.mts +20 -0
  98. package/dist/runtime/preact.d.cts +2 -0
  99. package/dist/runtime/preact.d.mts +2 -0
  100. package/dist/runtime/qwik.d.cts +8 -0
  101. package/dist/runtime/qwik.d.mts +8 -0
  102. package/dist/runtime/react.d.cts +2 -0
  103. package/dist/runtime/react.d.mts +2 -0
  104. package/dist/runtime/solid.d.cts +6 -0
  105. package/dist/runtime/solid.d.mts +6 -0
  106. package/dist/runtime/stencil.d.cts +7 -0
  107. package/dist/runtime/stencil.d.mts +7 -0
  108. package/dist/runtime/style.d.cts +4 -0
  109. package/dist/runtime/style.d.mts +4 -0
  110. package/dist/shared/types.d.cts +96 -0
  111. package/dist/shared/types.d.mts +96 -0
  112. package/dist/strategy/classic/runtime-only.d.cts +7 -0
  113. package/dist/strategy/classic/runtime-only.d.mts +7 -0
  114. package/dist/strategy/classname-first/browser.d.cts +7 -0
  115. package/dist/strategy/classname-first/browser.d.mts +7 -0
  116. package/dist/strategy/classname-first/runtime-only.d.cts +7 -0
  117. package/dist/strategy/classname-first/runtime-only.d.mts +7 -0
  118. package/dist/strategy/classname-first/server.d.cts +9 -0
  119. package/dist/strategy/classname-first/server.d.mts +9 -0
  120. package/dist/strategy/classname-only/server.d.cts +8 -0
  121. package/dist/strategy/classname-only/server.d.mts +8 -0
  122. package/dist/strategy/inline-first/browser.d.cts +7 -0
  123. package/dist/strategy/inline-first/browser.d.mts +7 -0
  124. package/dist/strategy/inline-first/runtime-only.d.cts +7 -0
  125. package/dist/strategy/inline-first/runtime-only.d.mts +7 -0
  126. package/dist/strategy/inline-first/server.d.cts +9 -0
  127. package/dist/strategy/inline-first/server.d.mts +9 -0
  128. package/dist/strategy/runtime/runtime-only.d.cts +9 -0
  129. package/dist/strategy/runtime/runtime-only.d.mts +9 -0
  130. package/dist/strategy/runtime/server.d.cts +9 -0
  131. package/dist/strategy/runtime/server.d.mts +9 -0
  132. package/dist/strategy/runtime-only/css.d.cts +43 -0
  133. package/dist/strategy/runtime-only/css.d.mts +43 -0
  134. package/dist/tasks/build.d.cts +23 -0
  135. package/dist/tasks/build.d.mts +23 -0
  136. package/dist/tasks/compile.d.cts +31 -0
  137. package/dist/tasks/compile.d.mts +31 -0
  138. package/dist/tasks/postcss.d.cts +10 -0
  139. package/dist/tasks/postcss.d.mts +10 -0
  140. package/dist/tasks/session.d.cts +12 -0
  141. package/dist/tasks/session.d.mts +12 -0
  142. package/dist/tasks/watch.d.cts +17 -0
  143. package/dist/tasks/watch.d.mts +17 -0
  144. package/dist/types/Plugin.d.cts +251 -0
  145. package/dist/types/Plugin.d.mts +251 -0
  146. package/dist/use/token/browser.d.cts +16 -0
  147. package/dist/use/token/browser.d.mts +16 -0
  148. package/dist/use/token/propMap.d.cts +8 -0
  149. package/dist/use/token/propMap.d.mts +8 -0
  150. package/dist/use/token/runtime-only.d.cts +22 -0
  151. package/dist/use/token/runtime-only.d.mts +22 -0
  152. package/dist/use/token/server.d.cts +19 -0
  153. package/dist/use/token/server.d.mts +19 -0
  154. 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
- for (const regexp of quoteRegexps) {
37
- const matches = content.matchAll(regexp);
38
- const isTemplate = regexp === templateRegexp;
39
- for (const match of matches) {
40
- const [, code] = match;
41
- if (isTemplate && code.includes("${")) {
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(code);
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
- results.push(code);
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 { Plugin } from "../../types/Plugin.cjs";
2
+
3
+ //#region src/parser/jsx/browser.d.ts
4
+ declare const name = "jsx";
5
+ declare const onBrowserObjectStart: Plugin<'onBrowserObjectStart'>;
6
+ //#endregion
7
+ export { name, onBrowserObjectStart };
@@ -0,0 +1,7 @@
1
+ import { Plugin } from "../../types/Plugin.mjs";
2
+
3
+ //#region src/parser/jsx/browser.d.ts
4
+ declare const name = "jsx";
5
+ declare const onBrowserObjectStart: Plugin<'onBrowserObjectStart'>;
6
+ //#endregion
7
+ export { name, onBrowserObjectStart };
@@ -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,2 @@
1
+ import { factory, proxy } from "../../runtime/index.cjs";
2
+ export { factory, proxy };
@@ -0,0 +1,2 @@
1
+ import { factory, proxy } from "../../runtime/index.mjs";
2
+ 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,11 @@
1
+ //#region src/prop/bosswind/shared.d.ts
2
+ type BosswindConfig = {
3
+ fontSizeKeys?: string[];
4
+ defaults?: {
5
+ borderWidth?: string | number;
6
+ borderRadius?: string;
7
+ boxShadow?: string;
8
+ };
9
+ };
10
+ //#endregion
11
+ export { BosswindConfig };
@@ -0,0 +1,11 @@
1
+ //#region src/prop/bosswind/shared.d.ts
2
+ type BosswindConfig = {
3
+ fontSizeKeys?: string[];
4
+ defaults?: {
5
+ borderWidth?: string | number;
6
+ borderRadius?: string;
7
+ boxShadow?: string;
8
+ };
9
+ };
10
+ //#endregion
11
+ export { BosswindConfig };
@@ -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,5 @@
1
+ //#region src/prop/css/runtime-only.d.ts
2
+ declare const resolvePropertyName: (prop: string) => string;
3
+ declare const buildRuntimeSelector: (className: string, contexts: string[]) => string;
4
+ //#endregion
5
+ export { buildRuntimeSelector, resolvePropertyName };
@@ -0,0 +1,5 @@
1
+ //#region src/prop/css/runtime-only.d.ts
2
+ declare const resolvePropertyName: (prop: string) => string;
3
+ declare const buildRuntimeSelector: (className: string, contexts: string[]) => string;
4
+ //#endregion
5
+ export { buildRuntimeSelector, resolvePropertyName };
@@ -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,7 @@
1
+ import { Plugin } from "../types/Plugin.cjs";
2
+
3
+ //#region src/reset/server.d.ts
4
+ declare const name = "reset";
5
+ declare const onBoot: Plugin<'onBoot'>;
6
+ //#endregion
7
+ export { name, onBoot };
@@ -0,0 +1,7 @@
1
+ import { Plugin } from "../types/Plugin.mjs";
2
+
3
+ //#region src/reset/server.d.ts
4
+ declare const name = "reset";
5
+ declare const onBoot: Plugin<'onBoot'>;
6
+ //#endregion
7
+ export { name, onBoot };
@@ -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,2 @@
1
+ import { createElement } from "preact";
2
+ export { createElement };
@@ -0,0 +1,2 @@
1
+ import { createElement } from "preact";
2
+ export { createElement };
@@ -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,2 @@
1
+ import { createElement } from "react";
2
+ export { createElement };
@@ -0,0 +1,2 @@
1
+ import { createElement } from "react";
2
+ export { createElement };
@@ -0,0 +1,6 @@
1
+ import * as solid_js0 from "solid-js";
2
+
3
+ //#region src/runtime/solid.d.ts
4
+ declare const createElement: (component: unknown, props: Record<string, unknown> | null, children: unknown) => solid_js0.JSX.Element;
5
+ //#endregion
6
+ export { createElement };
@@ -0,0 +1,6 @@
1
+ import * as solid_js0 from "solid-js";
2
+
3
+ //#region src/runtime/solid.d.ts
4
+ declare const createElement: (component: unknown, props: Record<string, unknown> | null, children: unknown) => solid_js0.JSX.Element;
5
+ //#endregion
6
+ export { createElement };
@@ -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 };
@@ -0,0 +1,4 @@
1
+ //#region src/runtime/style.d.ts
2
+ declare const styleToString: (style: Record<string, unknown>) => string;
3
+ //#endregion
4
+ export { styleToString };
@@ -0,0 +1,4 @@
1
+ //#region src/runtime/style.d.ts
2
+ declare const styleToString: (style: Record<string, unknown>) => string;
3
+ //#endregion
4
+ export { styleToString };