boss-css 0.0.20 → 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/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.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
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { FontCategory, FontFamily, FontId, FontStyle, FontSubset, FontType, FontVersion, FontWeight } from "./directory.cjs";
|
|
2
|
+
|
|
3
|
+
//#region src/fontsource/types.d.ts
|
|
4
|
+
type LooseString<T extends string> = T | (string & {});
|
|
5
|
+
type LooseNumber<T extends number> = T | (number & {});
|
|
6
|
+
type FontDelivery = 'cdn' | 'local';
|
|
7
|
+
type FontVariableAxes = {
|
|
8
|
+
wght?: number | [number, number];
|
|
9
|
+
wdth?: number | [number, number];
|
|
10
|
+
slnt?: number | [number, number];
|
|
11
|
+
ital?: 0 | 1;
|
|
12
|
+
[axis: string]: number | [number, number] | undefined;
|
|
13
|
+
};
|
|
14
|
+
type FontConfigBase = {
|
|
15
|
+
name: LooseString<FontFamily | FontId>;
|
|
16
|
+
subsets?: Array<LooseString<FontSubset>>;
|
|
17
|
+
version?: LooseString<FontVersion> | 'latest';
|
|
18
|
+
category?: LooseString<FontCategory>;
|
|
19
|
+
type?: LooseString<FontType>;
|
|
20
|
+
delivery?: FontDelivery;
|
|
21
|
+
token?: string;
|
|
22
|
+
};
|
|
23
|
+
type FontConfigStatic = FontConfigBase & {
|
|
24
|
+
variable?: false;
|
|
25
|
+
weights?: Array<LooseNumber<FontWeight>>;
|
|
26
|
+
styles?: Array<LooseString<FontStyle>>;
|
|
27
|
+
variableAxes?: never;
|
|
28
|
+
};
|
|
29
|
+
type FontConfigVariable = FontConfigBase & {
|
|
30
|
+
variable: true;
|
|
31
|
+
variableAxes?: FontVariableAxes;
|
|
32
|
+
weights?: never;
|
|
33
|
+
styles?: never;
|
|
34
|
+
};
|
|
35
|
+
type FontConfig = FontConfigStatic | FontConfigVariable;
|
|
36
|
+
//#endregion
|
|
37
|
+
export { FontConfig };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { FontCategory, FontFamily, FontId, FontStyle, FontSubset, FontType, FontVersion, FontWeight } from "./directory.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/fontsource/types.d.ts
|
|
4
|
+
type LooseString<T extends string> = T | (string & {});
|
|
5
|
+
type LooseNumber<T extends number> = T | (number & {});
|
|
6
|
+
type FontDelivery = 'cdn' | 'local';
|
|
7
|
+
type FontVariableAxes = {
|
|
8
|
+
wght?: number | [number, number];
|
|
9
|
+
wdth?: number | [number, number];
|
|
10
|
+
slnt?: number | [number, number];
|
|
11
|
+
ital?: 0 | 1;
|
|
12
|
+
[axis: string]: number | [number, number] | undefined;
|
|
13
|
+
};
|
|
14
|
+
type FontConfigBase = {
|
|
15
|
+
name: LooseString<FontFamily | FontId>;
|
|
16
|
+
subsets?: Array<LooseString<FontSubset>>;
|
|
17
|
+
version?: LooseString<FontVersion> | 'latest';
|
|
18
|
+
category?: LooseString<FontCategory>;
|
|
19
|
+
type?: LooseString<FontType>;
|
|
20
|
+
delivery?: FontDelivery;
|
|
21
|
+
token?: string;
|
|
22
|
+
};
|
|
23
|
+
type FontConfigStatic = FontConfigBase & {
|
|
24
|
+
variable?: false;
|
|
25
|
+
weights?: Array<LooseNumber<FontWeight>>;
|
|
26
|
+
styles?: Array<LooseString<FontStyle>>;
|
|
27
|
+
variableAxes?: never;
|
|
28
|
+
};
|
|
29
|
+
type FontConfigVariable = FontConfigBase & {
|
|
30
|
+
variable: true;
|
|
31
|
+
variableAxes?: FontVariableAxes;
|
|
32
|
+
weights?: never;
|
|
33
|
+
styles?: never;
|
|
34
|
+
};
|
|
35
|
+
type FontConfig = FontConfigStatic | FontConfigVariable;
|
|
36
|
+
//#endregion
|
|
37
|
+
export { FontConfig };
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BossApi, BossApiConfig, BossApiFiles, BossBrowserApi, BossBrowserObjectPayload, BossCssCustomBlock, BossCssLike, BossCssRuleOptions, BossCssSelectorInput, BossDtsFile, BossFileBase, BossFileEntry, BossFileSection, BossJsFile, BossMetaDataPayload, BossParseInput, BossPluginEventName, BossPluginEventPayload, BossPluginHandler, BossPluginHandlers, BossPluginModule, BossPluginTest, BossPluginTrigger, BossProp, BossPropPayload, BossPropPrimitive, BossPropTree, BossPropTreePayload, BossPropValue, BossRuntimeAdapter, BossServerApi, Plugin } from "./types/Plugin.cjs";
|
|
2
|
+
import { BuildResult, ResolvedBuildConfig, resolveBuildConfig, runBuild } from "./tasks/build.cjs";
|
|
3
|
+
import { WatchOptions, WatchResult, runWatch } from "./tasks/watch.cjs";
|
|
4
|
+
import { CompileOptions, runCompile } from "./tasks/compile.cjs";
|
|
5
|
+
import { BossPostcssOptions, runPostcss } from "./tasks/postcss.cjs";
|
|
6
|
+
export { type BossApi, type BossApiConfig, type BossApiFiles, type BossBrowserApi, type BossBrowserObjectPayload, type BossCssCustomBlock, type BossCssLike, type BossCssRuleOptions, type BossCssSelectorInput, type BossDtsFile, type BossFileBase, type BossFileEntry, type BossFileSection, type BossJsFile, type BossMetaDataPayload, type BossParseInput, type BossPluginEventName, type BossPluginEventPayload, type BossPluginHandler, type BossPluginHandlers, type BossPluginModule, type BossPluginTest, type BossPluginTrigger, type BossPostcssOptions, type BossProp, type BossPropPayload, type BossPropPrimitive, type BossPropTree, type BossPropTreePayload, type BossPropValue, type BossRuntimeAdapter, type BossServerApi, type BuildResult, type CompileOptions, type Plugin, type ResolvedBuildConfig, type WatchOptions, type WatchResult, resolveBuildConfig, runBuild, runCompile, runPostcss, runWatch };
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BossApi, BossApiConfig, BossApiFiles, BossBrowserApi, BossBrowserObjectPayload, BossCssCustomBlock, BossCssLike, BossCssRuleOptions, BossCssSelectorInput, BossDtsFile, BossFileBase, BossFileEntry, BossFileSection, BossJsFile, BossMetaDataPayload, BossParseInput, BossPluginEventName, BossPluginEventPayload, BossPluginHandler, BossPluginHandlers, BossPluginModule, BossPluginTest, BossPluginTrigger, BossProp, BossPropPayload, BossPropPrimitive, BossPropTree, BossPropTreePayload, BossPropValue, BossRuntimeAdapter, BossServerApi, Plugin } from "./types/Plugin.mjs";
|
|
2
|
+
import { BuildResult, ResolvedBuildConfig, resolveBuildConfig, runBuild } from "./tasks/build.mjs";
|
|
3
|
+
import { WatchOptions, WatchResult, runWatch } from "./tasks/watch.mjs";
|
|
4
|
+
import { CompileOptions, runCompile } from "./tasks/compile.mjs";
|
|
5
|
+
import { BossPostcssOptions, runPostcss } from "./tasks/postcss.mjs";
|
|
6
|
+
export { type BossApi, type BossApiConfig, type BossApiFiles, type BossBrowserApi, type BossBrowserObjectPayload, type BossCssCustomBlock, type BossCssLike, type BossCssRuleOptions, type BossCssSelectorInput, type BossDtsFile, type BossFileBase, type BossFileEntry, type BossFileSection, type BossJsFile, type BossMetaDataPayload, type BossParseInput, type BossPluginEventName, type BossPluginEventPayload, type BossPluginHandler, type BossPluginHandlers, type BossPluginModule, type BossPluginTest, type BossPluginTrigger, type BossPostcssOptions, type BossProp, type BossPropPayload, type BossPropPrimitive, type BossPropTree, type BossPropTreePayload, type BossPropValue, type BossRuntimeAdapter, type BossServerApi, type BuildResult, type CompileOptions, type Plugin, type ResolvedBuildConfig, type WatchOptions, type WatchResult, resolveBuildConfig, runBuild, runCompile, runPostcss, runWatch };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
//#region src/merge/index.d.ts
|
|
2
|
+
type ClassNameArray = ClassNameValue[];
|
|
3
|
+
type MergeObject = Record<string, unknown>;
|
|
4
|
+
type ClassNameValue = ClassNameArray | string | null | undefined | 0 | 0n | false;
|
|
5
|
+
type MergeInput = ClassNameValue | MergeObject;
|
|
6
|
+
type MergeOutput = string | MergeObject;
|
|
7
|
+
type BossMergeConfig = {
|
|
8
|
+
cacheSize?: number;
|
|
9
|
+
sortContexts?: boolean;
|
|
10
|
+
orderSensitiveContexts?: string[];
|
|
11
|
+
compoundContexts?: string[];
|
|
12
|
+
conflictMap?: Record<string, string[]>;
|
|
13
|
+
};
|
|
14
|
+
declare const createBossMerge: (config?: BossMergeConfig) => (...classLists: ClassNameValue[]) => string;
|
|
15
|
+
declare const join: (...classLists: ClassNameValue[]) => string;
|
|
16
|
+
declare const merge: (...inputs: MergeInput[]) => MergeOutput;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { BossMergeConfig, ClassNameValue, MergeInput, MergeOutput, createBossMerge, join, merge };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
//#region src/merge/index.d.ts
|
|
2
|
+
type ClassNameArray = ClassNameValue[];
|
|
3
|
+
type MergeObject = Record<string, unknown>;
|
|
4
|
+
type ClassNameValue = ClassNameArray | string | null | undefined | 0 | 0n | false;
|
|
5
|
+
type MergeInput = ClassNameValue | MergeObject;
|
|
6
|
+
type MergeOutput = string | MergeObject;
|
|
7
|
+
type BossMergeConfig = {
|
|
8
|
+
cacheSize?: number;
|
|
9
|
+
sortContexts?: boolean;
|
|
10
|
+
orderSensitiveContexts?: string[];
|
|
11
|
+
compoundContexts?: string[];
|
|
12
|
+
conflictMap?: Record<string, string[]>;
|
|
13
|
+
};
|
|
14
|
+
declare const createBossMerge: (config?: BossMergeConfig) => (...classLists: ClassNameValue[]) => string;
|
|
15
|
+
declare const join: (...classLists: ClassNameValue[]) => string;
|
|
16
|
+
declare const merge: (...inputs: MergeInput[]) => MergeOutput;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { BossMergeConfig, ClassNameValue, MergeInput, MergeOutput, createBossMerge, join, merge };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Plugin } from "../types/Plugin.cjs";
|
|
2
|
+
|
|
3
|
+
//#region src/native/server.d.ts
|
|
4
|
+
declare const name = "native";
|
|
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/native/server.d.ts
|
|
4
|
+
declare const name = "native";
|
|
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,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 };
|