@alloy-js/core 0.6.0 → 0.8.0
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/CHANGELOG.md +37 -0
- package/babel.config.cjs +1 -4
- package/dist/src/binder.d.ts +15 -13
- package/dist/src/binder.d.ts.map +1 -1
- package/dist/src/binder.js +34 -34
- package/dist/src/binder.js.map +1 -1
- package/dist/src/code.d.ts +11 -2
- package/dist/src/code.d.ts.map +1 -1
- package/dist/src/code.js +27 -2
- package/dist/src/code.js.map +1 -1
- package/dist/src/components/Block.d.ts +2 -2
- package/dist/src/components/Block.d.ts.map +1 -1
- package/dist/src/components/Block.js +6 -5
- package/dist/src/components/Block.js.map +1 -1
- package/dist/src/components/Declaration.d.ts +31 -7
- package/dist/src/components/Declaration.d.ts.map +1 -1
- package/dist/src/components/Declaration.js +15 -7
- package/dist/src/components/Declaration.js.map +1 -1
- package/dist/src/components/For.d.ts +6 -0
- package/dist/src/components/For.d.ts.map +1 -1
- package/dist/src/components/For.js +2 -3
- package/dist/src/components/For.js.map +1 -1
- package/dist/src/components/Indent.d.ts +29 -1
- package/dist/src/components/Indent.d.ts.map +1 -1
- package/dist/src/components/Indent.js +7 -2
- package/dist/src/components/Indent.js.map +1 -1
- package/dist/src/components/List.d.ts +7 -3
- package/dist/src/components/List.d.ts.map +1 -1
- package/dist/src/components/List.js +1 -16
- package/dist/src/components/List.js.map +1 -1
- package/dist/src/components/MemberDeclaration.d.ts +35 -5
- package/dist/src/components/MemberDeclaration.d.ts.map +1 -1
- package/dist/src/components/MemberDeclaration.js +18 -7
- package/dist/src/components/MemberDeclaration.js.map +1 -1
- package/dist/src/components/MemberScope.d.ts +2 -0
- package/dist/src/components/MemberScope.d.ts.map +1 -1
- package/dist/src/components/MemberScope.js +2 -0
- package/dist/src/components/MemberScope.js.map +1 -1
- package/dist/src/components/Prose.d.ts +10 -0
- package/dist/src/components/Prose.d.ts.map +1 -0
- package/dist/src/components/Prose.js +23 -0
- package/dist/src/components/Prose.js.map +1 -0
- package/dist/src/components/Scope.d.ts +33 -2
- package/dist/src/components/Scope.d.ts.map +1 -1
- package/dist/src/components/Scope.js +20 -4
- package/dist/src/components/Scope.js.map +1 -1
- package/dist/src/components/SourceFile.d.ts +5 -0
- package/dist/src/components/SourceFile.d.ts.map +1 -1
- package/dist/src/components/SourceFile.js +10 -1
- package/dist/src/components/SourceFile.js.map +1 -1
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/components/index.d.ts.map +1 -1
- package/dist/src/components/index.js +1 -0
- package/dist/src/components/index.js.map +1 -1
- package/dist/src/components/stc/index.d.ts +19 -95
- package/dist/src/components/stc/index.d.ts.map +1 -1
- package/dist/src/components/stc/index.js +3 -6
- package/dist/src/components/stc/index.js.map +1 -1
- package/dist/src/components/stc/sti.d.ts +9 -0
- package/dist/src/components/stc/sti.d.ts.map +1 -0
- package/dist/src/components/stc/sti.js +10 -0
- package/dist/src/components/stc/sti.js.map +1 -0
- package/dist/src/context/assignment.d.ts +6 -0
- package/dist/src/context/assignment.d.ts.map +1 -1
- package/dist/src/context/assignment.js +7 -0
- package/dist/src/context/assignment.js.map +1 -1
- package/dist/src/context.d.ts +2 -0
- package/dist/src/context.d.ts.map +1 -1
- package/dist/src/context.js +12 -9
- package/dist/src/context.js.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/jsx-runtime.d.ts +98 -1
- package/dist/src/jsx-runtime.d.ts.map +1 -1
- package/dist/src/jsx-runtime.js +46 -1
- package/dist/src/jsx-runtime.js.map +1 -1
- package/dist/src/render.d.ts.map +1 -1
- package/dist/src/render.js +12 -0
- package/dist/src/render.js.map +1 -1
- package/dist/src/stc.d.ts +5 -7
- package/dist/src/stc.d.ts.map +1 -1
- package/dist/src/stc.js +11 -23
- package/dist/src/stc.js.map +1 -1
- package/dist/src/sti.d.ts +11 -0
- package/dist/src/sti.d.ts.map +1 -0
- package/dist/src/sti.js +31 -0
- package/dist/src/sti.js.map +1 -0
- package/dist/src/tap.d.ts +69 -6
- package/dist/src/tap.d.ts.map +1 -1
- package/dist/src/tap.js +70 -0
- package/dist/src/tap.js.map +1 -1
- package/dist/src/utils.d.ts +5 -0
- package/dist/src/utils.d.ts.map +1 -1
- package/dist/src/utils.js +20 -0
- package/dist/src/utils.js.map +1 -1
- package/dist/src/write-output.js +3 -3
- package/dist/src/write-output.js.map +1 -1
- package/dist/test/components/prose.test.d.ts +2 -0
- package/dist/test/components/prose.test.d.ts.map +1 -0
- package/dist/test/props-with-defaults.test.d.ts +2 -0
- package/dist/test/props-with-defaults.test.d.ts.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/binder.ts +46 -40
- package/src/code.ts +37 -3
- package/src/components/Block.tsx +3 -6
- package/src/components/Declaration.tsx +43 -11
- package/src/components/For.tsx +10 -3
- package/src/components/Indent.tsx +38 -5
- package/src/components/List.tsx +14 -40
- package/src/components/MemberDeclaration.tsx +51 -12
- package/src/components/MemberScope.tsx +2 -0
- package/src/components/Prose.tsx +35 -0
- package/src/components/Scope.tsx +45 -5
- package/src/components/SourceFile.tsx +10 -0
- package/src/components/index.tsx +1 -0
- package/src/components/stc/index.ts +3 -6
- package/src/components/stc/sti.ts +10 -0
- package/src/context/assignment.ts +7 -1
- package/src/context.ts +15 -11
- package/src/index.ts +1 -0
- package/src/jsx-runtime.ts +162 -0
- package/src/render.ts +14 -0
- package/src/stc.ts +35 -56
- package/src/sti.ts +63 -0
- package/src/tap.ts +69 -6
- package/src/{utils.ts → utils.tsx} +45 -0
- package/src/write-output.ts +3 -3
- package/temp/api.json +1563 -393
- package/test/components/declaration.test.tsx +1 -1
- package/test/components/prose.test.tsx +36 -0
- package/test/components/source-file.test.tsx +17 -0
- package/test/props-with-defaults.test.ts +97 -0
- package/test/symbols.test.ts +14 -33
- package/vitest.config.ts +2 -10
|
@@ -8,6 +8,7 @@ export * from "./MemberName.jsx";
|
|
|
8
8
|
export * from "./MemberScope.jsx";
|
|
9
9
|
export * from "./Name.jsx";
|
|
10
10
|
export * from "./Output.js";
|
|
11
|
+
export * from "./Prose.jsx";
|
|
11
12
|
export * from "./Scope.js";
|
|
12
13
|
export * from "./Show.jsx";
|
|
13
14
|
export * from "./SourceDirectory.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.tsx"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.tsx"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../src/components/index.tsx"],"sourcesContent":[null],"mappings":"AAAA,cAAc,YAAY;AAC1B,cAAc,kBAAkB;AAChC,cAAc,UAAU;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,aAAa;AAC3B,cAAc,YAAY;AAC1B;AACA,cAAc,sBAAsB;AACpC,cAAc,iBAAiB;AAC/B;AACA;AACA","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../src/components/index.tsx"],"sourcesContent":[null],"mappings":"AAAA,cAAc,YAAY;AAC1B,cAAc,kBAAkB;AAChC,cAAc,UAAU;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,aAAa;AAC3B;AACA,cAAc,YAAY;AAC1B;AACA,cAAc,sBAAsB;AACpC,cAAc,iBAAiB;AAC/B;AACA;AACA","ignoreList":[]}
|
|
@@ -1,97 +1,21 @@
|
|
|
1
1
|
import * as base from "../index.js";
|
|
2
|
-
export declare const Block: (
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export declare const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export declare const
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
export declare const
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
};
|
|
22
|
-
export declare const MemberDeclaration: (props?: (Omit<base.MemberDeclarationProps, "children"> & Partial<Pick<base.MemberDeclarationProps, "children">>) | undefined) => import("@alloy-js/core/jsx-runtime").ComponentCreator<base.MemberDeclarationProps> & {
|
|
23
|
-
code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core/jsx-runtime").Children[]): import("@alloy-js/core/jsx-runtime").ComponentCreator<base.MemberDeclarationProps>;
|
|
24
|
-
children(...children: import("@alloy-js/core/jsx-runtime").Children[]): import("@alloy-js/core/jsx-runtime").ComponentCreator<base.MemberDeclarationProps>;
|
|
25
|
-
};
|
|
26
|
-
export declare const MemberName: (props?: (Omit<{}, "children"> & Partial<Pick<{}, "children">>) | undefined) => import("@alloy-js/core/jsx-runtime").ComponentCreator<{}> & {
|
|
27
|
-
code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core/jsx-runtime").Children[]): import("@alloy-js/core/jsx-runtime").ComponentCreator<{}>;
|
|
28
|
-
children(...children: import("@alloy-js/core/jsx-runtime").Children[]): import("@alloy-js/core/jsx-runtime").ComponentCreator<{}>;
|
|
29
|
-
};
|
|
30
|
-
export declare const MemberScope: (props: Omit<base.MemberScopeProps, "children"> & Partial<Pick<base.MemberScopeProps, "children">>) => import("@alloy-js/core/jsx-runtime").ComponentCreator<base.MemberScopeProps> & {
|
|
31
|
-
code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core/jsx-runtime").Children[]): import("@alloy-js/core/jsx-runtime").ComponentCreator<base.MemberScopeProps>;
|
|
32
|
-
children(...children: import("@alloy-js/core/jsx-runtime").Children[]): import("@alloy-js/core/jsx-runtime").ComponentCreator<base.MemberScopeProps>;
|
|
33
|
-
};
|
|
34
|
-
export declare const Name: (props?: (Omit<{}, "children"> & Partial<Pick<{}, "children">>) | undefined) => import("@alloy-js/core/jsx-runtime").ComponentCreator<{}> & {
|
|
35
|
-
code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core/jsx-runtime").Children[]): import("@alloy-js/core/jsx-runtime").ComponentCreator<{}>;
|
|
36
|
-
children(...children: import("@alloy-js/core/jsx-runtime").Children[]): import("@alloy-js/core/jsx-runtime").ComponentCreator<{}>;
|
|
37
|
-
};
|
|
38
|
-
export declare const Output: (props?: (Omit<base.OutputProps, "children"> & Partial<Pick<base.OutputProps, "children">>) | undefined) => import("@alloy-js/core/jsx-runtime").ComponentCreator<base.OutputProps> & {
|
|
39
|
-
code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core/jsx-runtime").Children[]): import("@alloy-js/core/jsx-runtime").ComponentCreator<base.OutputProps>;
|
|
40
|
-
children(...children: import("@alloy-js/core/jsx-runtime").Children[]): import("@alloy-js/core/jsx-runtime").ComponentCreator<base.OutputProps>;
|
|
41
|
-
};
|
|
42
|
-
export declare const Scope: (props?: (Omit<base.ScopeProps, "children"> & Partial<Pick<base.ScopeProps, "children">>) | undefined) => import("@alloy-js/core/jsx-runtime").ComponentCreator<base.ScopeProps> & {
|
|
43
|
-
code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core/jsx-runtime").Children[]): import("@alloy-js/core/jsx-runtime").ComponentCreator<base.ScopeProps>;
|
|
44
|
-
children(...children: import("@alloy-js/core/jsx-runtime").Children[]): import("@alloy-js/core/jsx-runtime").ComponentCreator<base.ScopeProps>;
|
|
45
|
-
};
|
|
46
|
-
export declare const Show: (props: Omit<base.ShowProps, "children"> & Partial<Pick<base.ShowProps, "children">>) => import("@alloy-js/core/jsx-runtime").ComponentCreator<base.ShowProps> & {
|
|
47
|
-
code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core/jsx-runtime").Children[]): import("@alloy-js/core/jsx-runtime").ComponentCreator<base.ShowProps>;
|
|
48
|
-
children(...children: import("@alloy-js/core/jsx-runtime").Children[]): import("@alloy-js/core/jsx-runtime").ComponentCreator<base.ShowProps>;
|
|
49
|
-
};
|
|
50
|
-
export declare const StatementList: (props?: (Omit<base.StatementListProps, "children"> & Partial<Pick<base.StatementListProps, "children">>) | undefined) => import("@alloy-js/core/jsx-runtime").ComponentCreator<base.StatementListProps> & {
|
|
51
|
-
code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core/jsx-runtime").Children[]): import("@alloy-js/core/jsx-runtime").ComponentCreator<base.StatementListProps>;
|
|
52
|
-
children(...children: import("@alloy-js/core/jsx-runtime").Children[]): import("@alloy-js/core/jsx-runtime").ComponentCreator<base.StatementListProps>;
|
|
53
|
-
};
|
|
54
|
-
export declare const SourceDirectory: (props: Omit<base.SourceDirectoryProps, "children"> & Partial<Pick<base.SourceDirectoryProps, "children">>) => import("@alloy-js/core/jsx-runtime").ComponentCreator<base.SourceDirectoryProps> & {
|
|
55
|
-
code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core/jsx-runtime").Children[]): import("@alloy-js/core/jsx-runtime").ComponentCreator<base.SourceDirectoryProps>;
|
|
56
|
-
children(...children: import("@alloy-js/core/jsx-runtime").Children[]): import("@alloy-js/core/jsx-runtime").ComponentCreator<base.SourceDirectoryProps>;
|
|
57
|
-
};
|
|
58
|
-
export declare const SourceFile: (props: Omit<base.SourceFileProps, "children"> & Partial<Pick<base.SourceFileProps, "children">>) => import("@alloy-js/core/jsx-runtime").ComponentCreator<base.SourceFileProps> & {
|
|
59
|
-
code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core/jsx-runtime").Children[]): import("@alloy-js/core/jsx-runtime").ComponentCreator<base.SourceFileProps>;
|
|
60
|
-
children(...children: import("@alloy-js/core/jsx-runtime").Children[]): import("@alloy-js/core/jsx-runtime").ComponentCreator<base.SourceFileProps>;
|
|
61
|
-
};
|
|
62
|
-
export declare const Switch: (props?: (Omit<base.SwitchProps, "children"> & Partial<Pick<base.SwitchProps, "children">>) | undefined) => import("@alloy-js/core/jsx-runtime").ComponentCreator<base.SwitchProps> & {
|
|
63
|
-
code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core/jsx-runtime").Children[]): import("@alloy-js/core/jsx-runtime").ComponentCreator<base.SwitchProps>;
|
|
64
|
-
children(...children: import("@alloy-js/core/jsx-runtime").Children[]): import("@alloy-js/core/jsx-runtime").ComponentCreator<base.SwitchProps>;
|
|
65
|
-
};
|
|
66
|
-
export declare const Wrap: <TProps>(props: Omit<base.WrapProps<TProps>, "children"> & Partial<Pick<base.WrapProps<TProps>, "children">>) => import("@alloy-js/core/jsx-runtime").ComponentCreator<base.WrapProps<TProps>> & {
|
|
67
|
-
code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core/jsx-runtime").Children[]): import("@alloy-js/core/jsx-runtime").ComponentCreator<base.WrapProps<TProps>>;
|
|
68
|
-
children(...children: import("@alloy-js/core/jsx-runtime").Children[]): import("@alloy-js/core/jsx-runtime").ComponentCreator<base.WrapProps<TProps>>;
|
|
69
|
-
};
|
|
70
|
-
export declare const indent: (props?: {
|
|
71
|
-
children: import("@alloy-js/core/jsx-runtime").Children;
|
|
72
|
-
} | undefined) => {
|
|
73
|
-
(): import("@alloy-js/core/jsx-runtime").IntrinsicElementBase<"indent">;
|
|
74
|
-
children(...children: import("@alloy-js/core/jsx-runtime").Children[]): () => import("@alloy-js/core/jsx-runtime").IntrinsicElementBase<"indent">;
|
|
75
|
-
code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core/jsx-runtime").Children[]): () => import("@alloy-js/core/jsx-runtime").IntrinsicElementBase<"indent">;
|
|
76
|
-
};
|
|
77
|
-
export declare const hbr: (props?: {} | undefined) => {
|
|
78
|
-
(): import("@alloy-js/core/jsx-runtime").IntrinsicElementBase<"hbr">;
|
|
79
|
-
children(...children: import("@alloy-js/core/jsx-runtime").Children[]): () => import("@alloy-js/core/jsx-runtime").IntrinsicElementBase<"hbr">;
|
|
80
|
-
code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core/jsx-runtime").Children[]): () => import("@alloy-js/core/jsx-runtime").IntrinsicElementBase<"hbr">;
|
|
81
|
-
};
|
|
82
|
-
export declare const sbr: (props?: {} | undefined) => {
|
|
83
|
-
(): import("@alloy-js/core/jsx-runtime").IntrinsicElementBase<"sbr">;
|
|
84
|
-
children(...children: import("@alloy-js/core/jsx-runtime").Children[]): () => import("@alloy-js/core/jsx-runtime").IntrinsicElementBase<"sbr">;
|
|
85
|
-
code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core/jsx-runtime").Children[]): () => import("@alloy-js/core/jsx-runtime").IntrinsicElementBase<"sbr">;
|
|
86
|
-
};
|
|
87
|
-
export declare const lbr: (props?: {} | undefined) => {
|
|
88
|
-
(): import("@alloy-js/core/jsx-runtime").IntrinsicElementBase<"lbr">;
|
|
89
|
-
children(...children: import("@alloy-js/core/jsx-runtime").Children[]): () => import("@alloy-js/core/jsx-runtime").IntrinsicElementBase<"lbr">;
|
|
90
|
-
code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core/jsx-runtime").Children[]): () => import("@alloy-js/core/jsx-runtime").IntrinsicElementBase<"lbr">;
|
|
91
|
-
};
|
|
92
|
-
export declare const br: (props?: {} | undefined) => {
|
|
93
|
-
(): import("@alloy-js/core/jsx-runtime").IntrinsicElementBase<"br">;
|
|
94
|
-
children(...children: import("@alloy-js/core/jsx-runtime").Children[]): () => import("@alloy-js/core/jsx-runtime").IntrinsicElementBase<"br">;
|
|
95
|
-
code(template: TemplateStringsArray, ...substitutions: import("@alloy-js/core/jsx-runtime").Children[]): () => import("@alloy-js/core/jsx-runtime").IntrinsicElementBase<"br">;
|
|
96
|
-
};
|
|
2
|
+
export declare const Block: import("../../stc.js").StcSignature<base.BlockProps>;
|
|
3
|
+
export declare const Declaration: import("../../stc.js").StcSignature<base.DeclarationProps>;
|
|
4
|
+
export declare const For: <T extends base.ForSupportedCollections | (() => base.ForSupportedCollections) | import("@vue/reactivity").Ref<base.ForSupportedCollections>, U extends import("@alloy-js/core/jsx-runtime").Children>(props: Omit<base.ForProps<T, U>, "children"> & Partial<Pick<base.ForProps<T, U>, "children">>) => import("../../stc.js").StcComponentCreator<base.ForProps<T, U>>;
|
|
5
|
+
export declare const Indent: import("../../stc.js").StcSignature<base.IndentProps>;
|
|
6
|
+
export declare const List: import("../../stc.js").StcSignature<base.ListProps>;
|
|
7
|
+
export declare const MemberDeclaration: import("../../stc.js").StcSignature<base.MemberDeclarationProps>;
|
|
8
|
+
export declare const MemberName: import("../../stc.js").StcSignature<{}>;
|
|
9
|
+
export declare const MemberScope: import("../../stc.js").StcSignature<base.MemberScopeProps>;
|
|
10
|
+
export declare const Name: import("../../stc.js").StcSignature<{}>;
|
|
11
|
+
export declare const Output: import("../../stc.js").StcSignature<base.OutputProps>;
|
|
12
|
+
export declare const Prose: import("../../stc.js").StcSignature<base.Prose>;
|
|
13
|
+
export declare const Scope: import("../../stc.js").StcSignature<base.ScopeProps>;
|
|
14
|
+
export declare const Show: import("../../stc.js").StcSignature<base.ShowProps>;
|
|
15
|
+
export declare const StatementList: import("../../stc.js").StcSignature<base.StatementListProps>;
|
|
16
|
+
export declare const SourceDirectory: import("../../stc.js").StcSignature<base.SourceDirectoryProps>;
|
|
17
|
+
export declare const SourceFile: import("../../stc.js").StcSignature<base.SourceFileProps>;
|
|
18
|
+
export declare const Switch: import("../../stc.js").StcSignature<base.SwitchProps>;
|
|
19
|
+
export declare const Wrap: <TProps>(props: Omit<base.WrapProps<TProps>, "children"> & Partial<Pick<base.WrapProps<TProps>, "children">>) => import("../../stc.js").StcComponentCreator<base.WrapProps<TProps>>;
|
|
20
|
+
export * from "./sti.js";
|
|
97
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/stc/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAEpC,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/stc/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAEpC,eAAO,MAAM,KAAK,sDAAkB,CAAC;AACrC,eAAO,MAAM,WAAW,4DAAwB,CAAC;AACjD,eAAO,MAAM,GAAG,0WAAgB,CAAC;AACjC,eAAO,MAAM,MAAM,uDAAmB,CAAC;AACvC,eAAO,MAAM,IAAI,qDAAiB,CAAC;AACnC,eAAO,MAAM,iBAAiB,kEAA8B,CAAC;AAC7D,eAAO,MAAM,UAAU,yCAAuB,CAAC;AAC/C,eAAO,MAAM,WAAW,4DAAwB,CAAC;AACjD,eAAO,MAAM,IAAI,yCAAiB,CAAC;AACnC,eAAO,MAAM,MAAM,uDAAmB,CAAC;AACvC,eAAO,MAAM,KAAK,iDAAkB,CAAC;AACrC,eAAO,MAAM,KAAK,sDAAkB,CAAC;AACrC,eAAO,MAAM,IAAI,qDAAiB,CAAC;AACnC,eAAO,MAAM,aAAa,8DAA0B,CAAC;AACrD,eAAO,MAAM,eAAe,gEAA4B,CAAC;AACzD,eAAO,MAAM,UAAU,2DAAuB,CAAC;AAC/C,eAAO,MAAM,MAAM,uDAAmB,CAAC;AACvC,eAAO,MAAM,IAAI,qLAAiB,CAAC;AAEnC,cAAc,UAAU,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { stc
|
|
1
|
+
import { stc } from "../../stc.js";
|
|
2
2
|
import * as base from "../index.js";
|
|
3
3
|
export const Block = stc(base.Block);
|
|
4
4
|
export const Declaration = stc(base.Declaration);
|
|
@@ -10,6 +10,7 @@ export const MemberName = stc(base.MemberName);
|
|
|
10
10
|
export const MemberScope = stc(base.MemberScope);
|
|
11
11
|
export const Name = stc(base.Name);
|
|
12
12
|
export const Output = stc(base.Output);
|
|
13
|
+
export const Prose = stc(base.Prose);
|
|
13
14
|
export const Scope = stc(base.Scope);
|
|
14
15
|
export const Show = stc(base.Show);
|
|
15
16
|
export const StatementList = stc(base.StatementList);
|
|
@@ -17,9 +18,5 @@ export const SourceDirectory = stc(base.SourceDirectory);
|
|
|
17
18
|
export const SourceFile = stc(base.SourceFile);
|
|
18
19
|
export const Switch = stc(base.Switch);
|
|
19
20
|
export const Wrap = stc(base.Wrap);
|
|
20
|
-
export
|
|
21
|
-
export const hbr = sti("hbr");
|
|
22
|
-
export const sbr = sti("sbr");
|
|
23
|
-
export const lbr = sti("lbr");
|
|
24
|
-
export const br = sti("br");
|
|
21
|
+
export * from "./sti.js";
|
|
25
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["stc","
|
|
1
|
+
{"version":3,"file":"index.js","names":["stc","base","Block","Declaration","For","Indent","List","MemberDeclaration","MemberName","MemberScope","Name","Output","Prose","Scope","Show","StatementList","SourceDirectory","SourceFile","Switch","Wrap"],"sources":["../../../../src/components/stc/index.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,GAAG,QAAQ,cAAc;AAClC,OAAO,KAAKC,IAAI,MAAM,aAAa;AAEnC,OAAO,MAAMC,KAAK,GAAGF,GAAG,CAACC,IAAI,CAACC,KAAK,CAAC;AACpC,OAAO,MAAMC,WAAW,GAAGH,GAAG,CAACC,IAAI,CAACE,WAAW,CAAC;AAChD,OAAO,MAAMC,GAAG,GAAGJ,GAAG,CAACC,IAAI,CAACG,GAAG,CAAC;AAChC,OAAO,MAAMC,MAAM,GAAGL,GAAG,CAACC,IAAI,CAACI,MAAM,CAAC;AACtC,OAAO,MAAMC,IAAI,GAAGN,GAAG,CAACC,IAAI,CAACK,IAAI,CAAC;AAClC,OAAO,MAAMC,iBAAiB,GAAGP,GAAG,CAACC,IAAI,CAACM,iBAAiB,CAAC;AAC5D,OAAO,MAAMC,UAAU,GAAGR,GAAG,CAACC,IAAI,CAACO,UAAU,CAAC;AAC9C,OAAO,MAAMC,WAAW,GAAGT,GAAG,CAACC,IAAI,CAACQ,WAAW,CAAC;AAChD,OAAO,MAAMC,IAAI,GAAGV,GAAG,CAACC,IAAI,CAACS,IAAI,CAAC;AAClC,OAAO,MAAMC,MAAM,GAAGX,GAAG,CAACC,IAAI,CAACU,MAAM,CAAC;AACtC,OAAO,MAAMC,KAAK,GAAGZ,GAAG,CAACC,IAAI,CAACW,KAAK,CAAC;AACpC,OAAO,MAAMC,KAAK,GAAGb,GAAG,CAACC,IAAI,CAACY,KAAK,CAAC;AACpC,OAAO,MAAMC,IAAI,GAAGd,GAAG,CAACC,IAAI,CAACa,IAAI,CAAC;AAClC,OAAO,MAAMC,aAAa,GAAGf,GAAG,CAACC,IAAI,CAACc,aAAa,CAAC;AACpD,OAAO,MAAMC,eAAe,GAAGhB,GAAG,CAACC,IAAI,CAACe,eAAe,CAAC;AACxD,OAAO,MAAMC,UAAU,GAAGjB,GAAG,CAACC,IAAI,CAACgB,UAAU,CAAC;AAC9C,OAAO,MAAMC,MAAM,GAAGlB,GAAG,CAACC,IAAI,CAACiB,MAAM,CAAC;AACtC,OAAO,MAAMC,IAAI,GAAGnB,GAAG,CAACC,IAAI,CAACkB,IAAI,CAAC;AAElC,cAAc,UAAU","ignoreList":[]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const indent: import("../../sti.js").StiSignature<"indent">;
|
|
2
|
+
export declare const group: import("../../sti.js").StiSignature<"group">;
|
|
3
|
+
export declare const ifBreak: import("../../sti.js").StiSignature<"ifBreak">;
|
|
4
|
+
export declare const hbr: import("../../sti.js").StiSignature<"hbr">;
|
|
5
|
+
export declare const sbr: import("../../sti.js").StiSignature<"sbr">;
|
|
6
|
+
export declare const lbr: import("../../sti.js").StiSignature<"lbr">;
|
|
7
|
+
export declare const br: import("../../sti.js").StiSignature<"br">;
|
|
8
|
+
export declare const dedentToRoot: import("../../sti.js").StiSignature<"dedentToRoot">;
|
|
9
|
+
//# sourceMappingURL=sti.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sti.d.ts","sourceRoot":"","sources":["../../../../src/components/stc/sti.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,+CAAgB,CAAC;AACpC,eAAO,MAAM,KAAK,8CAAe,CAAC;AAClC,eAAO,MAAM,OAAO,gDAAiB,CAAC;AACtC,eAAO,MAAM,GAAG,4CAAa,CAAC;AAC9B,eAAO,MAAM,GAAG,4CAAa,CAAC;AAC9B,eAAO,MAAM,GAAG,4CAAa,CAAC;AAC9B,eAAO,MAAM,EAAE,2CAAY,CAAC;AAC5B,eAAO,MAAM,YAAY,qDAAsB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { sti } from "../../sti.js";
|
|
2
|
+
export const indent = sti("indent");
|
|
3
|
+
export const group = sti("group");
|
|
4
|
+
export const ifBreak = sti("ifBreak");
|
|
5
|
+
export const hbr = sti("hbr");
|
|
6
|
+
export const sbr = sti("sbr");
|
|
7
|
+
export const lbr = sti("lbr");
|
|
8
|
+
export const br = sti("br");
|
|
9
|
+
export const dedentToRoot = sti("dedentToRoot");
|
|
10
|
+
//# sourceMappingURL=sti.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sti.js","names":["sti","indent","group","ifBreak","hbr","sbr","lbr","br","dedentToRoot"],"sources":["../../../../src/components/stc/sti.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,GAAG,QAAQ,cAAc;AAElC,OAAO,MAAMC,MAAM,GAAGD,GAAG,CAAC,QAAQ,CAAC;AACnC,OAAO,MAAME,KAAK,GAAGF,GAAG,CAAC,OAAO,CAAC;AACjC,OAAO,MAAMG,OAAO,GAAGH,GAAG,CAAC,SAAS,CAAC;AACrC,OAAO,MAAMI,GAAG,GAAGJ,GAAG,CAAC,KAAK,CAAC;AAC7B,OAAO,MAAMK,GAAG,GAAGL,GAAG,CAAC,KAAK,CAAC;AAC7B,OAAO,MAAMM,GAAG,GAAGN,GAAG,CAAC,KAAK,CAAC;AAC7B,OAAO,MAAMO,EAAE,GAAGP,GAAG,CAAC,IAAI,CAAC;AAC3B,OAAO,MAAMQ,YAAY,GAAGR,GAAG,CAAC,cAAc,CAAC","ignoreList":[]}
|
|
@@ -35,5 +35,11 @@ export declare const AssignmentContext: ComponentContext<AssignmentContext>;
|
|
|
35
35
|
* @returns A new {@link (AssignmentContext:interface)}.
|
|
36
36
|
*/
|
|
37
37
|
export declare function createAssignmentContext(target: OutputSymbol): AssignmentContext;
|
|
38
|
+
/**
|
|
39
|
+
* Get the symbol being defined.
|
|
40
|
+
*
|
|
41
|
+
* @returns The symbol currently being defined, or `undefined` if no symbol is
|
|
42
|
+
* being defined.
|
|
43
|
+
*/
|
|
38
44
|
export declare function getAssignmentSymbol(): OutputSymbol | undefined;
|
|
39
45
|
//# sourceMappingURL=assignment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assignment.d.ts","sourceRoot":"","sources":["../../../src/context/assignment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EACL,gBAAgB,EAGjB,MAAM,eAAe,CAAC;AAEvB,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,MAAM,EAAE,YAAY,CAAC;IAErB;;;OAGG;IACH,UAAU,EAAE,OAAO,CAAC;CACrB;AAED;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,iBAAiB,EAAE,gBAAgB,CAAC,iBAAiB,CAChC,CAAC;AAEnC;;;;;GAKG;AACH,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,YAAY,GACnB,iBAAiB,CAKnB;AAED,wBAAgB,mBAAmB,
|
|
1
|
+
{"version":3,"file":"assignment.d.ts","sourceRoot":"","sources":["../../../src/context/assignment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EACL,gBAAgB,EAGjB,MAAM,eAAe,CAAC;AAEvB,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,MAAM,EAAE,YAAY,CAAC;IAErB;;;OAGG;IACH,UAAU,EAAE,OAAO,CAAC;CACrB;AAED;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,iBAAiB,EAAE,gBAAgB,CAAC,iBAAiB,CAChC,CAAC;AAEnC;;;;;GAKG;AACH,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,YAAY,GACnB,iBAAiB,CAKnB;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,IAAI,YAAY,GAAG,SAAS,CAM9D"}
|
|
@@ -29,6 +29,13 @@ export function createAssignmentContext(target) {
|
|
|
29
29
|
target
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Get the symbol being defined.
|
|
35
|
+
*
|
|
36
|
+
* @returns The symbol currently being defined, or `undefined` if no symbol is
|
|
37
|
+
* being defined.
|
|
38
|
+
*/
|
|
32
39
|
export function getAssignmentSymbol() {
|
|
33
40
|
const assignmentContext = useContext(AssignmentContext);
|
|
34
41
|
if (assignmentContext) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assignment.js","names":["createNamedContext","useContext","AssignmentContext","createAssignmentContext","target","isAssigned","getAssignmentSymbol","assignmentContext","undefined"],"sources":["../../../src/context/assignment.ts"],"sourcesContent":[null],"mappings":"AACA,SAEEA,kBAAkB,EAClBC,UAAU,QACL,eAAe;AAetB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,iBAAsD,GACjEF,kBAAkB,CAAC,YAAY,CAAC;;AAElC;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASG,uBAAuBA,CACrCC,MAAoB,EACD;EACnB,OAAO;IACLC,UAAU,EAAE,KAAK;IACjBD;EACF,CAAC;AACH;
|
|
1
|
+
{"version":3,"file":"assignment.js","names":["createNamedContext","useContext","AssignmentContext","createAssignmentContext","target","isAssigned","getAssignmentSymbol","assignmentContext","undefined"],"sources":["../../../src/context/assignment.ts"],"sourcesContent":[null],"mappings":"AACA,SAEEA,kBAAkB,EAClBC,UAAU,QACL,eAAe;AAetB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,iBAAsD,GACjEF,kBAAkB,CAAC,YAAY,CAAC;;AAElC;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASG,uBAAuBA,CACrCC,MAAoB,EACD;EACnB,OAAO;IACLC,UAAU,EAAE,KAAK;IACjBD;EACF,CAAC;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASE,mBAAmBA,CAAA,EAA6B;EAC9D,MAAMC,iBAAiB,GAAGN,UAAU,CAACC,iBAAiB,CAAC;EACvD,IAAIK,iBAAiB,EAAE;IACrB,OAAOA,iBAAiB,CAACH,MAAM;EACjC;EACA,OAAOI,SAAS;AAClB","ignoreList":[]}
|
package/dist/src/context.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { Children, ComponentDefinition } from "./jsx-runtime.js";
|
|
2
|
+
import { StcSignature } from "./stc.js";
|
|
2
3
|
export interface ComponentContext<T> {
|
|
3
4
|
id: symbol;
|
|
4
5
|
default: T | undefined;
|
|
5
6
|
Provider: ComponentDefinition<ContextProviderProps<T>>;
|
|
7
|
+
ProviderStc: StcSignature<ContextProviderProps<T>>;
|
|
6
8
|
name?: string;
|
|
7
9
|
}
|
|
8
10
|
export interface ContextProviderProps<T = unknown> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/context.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EACR,mBAAmB,EAGpB,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/context.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EACR,mBAAmB,EAGpB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAO,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,MAAM,WAAW,gBAAgB,CAAC,CAAC;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;IACvB,QAAQ,EAAE,mBAAmB,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC;IACvD,WAAW,EAAE,YAAY,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC;IACnD,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,oBAAoB,CAAC,CAAC,GAAG,OAAO;IAC/C,KAAK,CAAC,EAAE,CAAC,CAAC;IACV,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,OAAO,EAAE,gBAAgB,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,SAAS,CAWzE;AAED,eAAO,MAAM,aAAa,oCAA2C,CAAC;AAEtE,wBAAgB,aAAa,CAAC,CAAC,GAAG,OAAO,EACvC,YAAY,CAAC,EAAE,CAAC,EAChB,IAAI,CAAC,EAAE,MAAM,GACZ,gBAAgB,CAAC,CAAC,CAAC,CAsBrB;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,CAAC,uBAEnE"}
|
package/dist/src/context.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { shallowRef } from "@vue/reactivity";
|
|
2
2
|
import { effect, getContext } from "./jsx-runtime.js";
|
|
3
|
+
import { stc } from "./stc.js";
|
|
3
4
|
export function useContext(context) {
|
|
4
5
|
// context must come from a parent
|
|
5
6
|
let current = getContext();
|
|
@@ -14,19 +15,21 @@ export function useContext(context) {
|
|
|
14
15
|
export const contextsByKey = new Map();
|
|
15
16
|
export function createContext(defaultValue, name) {
|
|
16
17
|
const id = Symbol(name ?? "context");
|
|
18
|
+
function Provider(props) {
|
|
19
|
+
const context = getContext();
|
|
20
|
+
const rendered = shallowRef();
|
|
21
|
+
effect(() => {
|
|
22
|
+
context.context[id] = props.value;
|
|
23
|
+
rendered.value = () => props.children;
|
|
24
|
+
}, undefined);
|
|
25
|
+
return rendered.value;
|
|
26
|
+
}
|
|
17
27
|
const ctx = {
|
|
18
28
|
id,
|
|
19
29
|
default: defaultValue,
|
|
20
30
|
name,
|
|
21
|
-
Provider
|
|
22
|
-
|
|
23
|
-
const rendered = shallowRef();
|
|
24
|
-
effect(() => {
|
|
25
|
-
context.context[id] = props.value;
|
|
26
|
-
rendered.value = () => props.children;
|
|
27
|
-
}, undefined);
|
|
28
|
-
return rendered.value;
|
|
29
|
-
}
|
|
31
|
+
Provider,
|
|
32
|
+
ProviderStc: stc(Provider)
|
|
30
33
|
};
|
|
31
34
|
contextsByKey.set(id, ctx);
|
|
32
35
|
return ctx;
|
package/dist/src/context.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","names":["shallowRef","effect","getContext","useContext","context","current","Object","hasOwn","id","owner","default","contextsByKey","Map","createContext","defaultValue","name","Symbol","
|
|
1
|
+
{"version":3,"file":"context.js","names":["shallowRef","effect","getContext","stc","useContext","context","current","Object","hasOwn","id","owner","default","contextsByKey","Map","createContext","defaultValue","name","Symbol","Provider","props","rendered","value","children","undefined","ctx","ProviderStc","set","createNamedContext"],"sources":["../../src/context.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,UAAU,QAAQ,iBAAiB;AAC5C,SAGEC,MAAM,EACNC,UAAU,QACL,kBAAkB;AACzB,SAASC,GAAG,QAAsB,UAAU;AAe5C,OAAO,SAASC,UAAUA,CAAIC,OAA4B,EAAiB;EACzE;EACA,IAAIC,OAAO,GAAGJ,UAAU,CAAC,CAAC;EAC1B,OAAOI,OAAO,EAAE;IACd,IAAIC,MAAM,CAACC,MAAM,CAACF,OAAO,CAACD,OAAO,EAAGA,OAAO,CAACI,EAAE,CAAC,EAAE;MAC/C,OAAOH,OAAO,CAACD,OAAO,CAAEA,OAAO,CAACI,EAAE,CAAC;IACrC;IACAH,OAAO,GAAGA,OAAO,CAACI,KAAK;EACzB;EAEA,OAAOL,OAAO,CAACM,OAAO;AACxB;AAEA,OAAO,MAAMC,aAAa,GAAG,IAAIC,GAAG,CAAgC,CAAC;AAErE,OAAO,SAASC,aAAaA,CAC3BC,YAAgB,EAChBC,IAAa,EACQ;EACrB,MAAMP,EAAE,GAAGQ,MAAM,CAACD,IAAI,IAAI,SAAS,CAAC;EACpC,SAASE,QAAQA,CAACC,KAA8B,EAAE;IAChD,MAAMd,OAAO,GAAGH,UAAU,CAAC,CAAC;IAE5B,MAAMkB,QAAQ,GAAGpB,UAAU,CAAC,CAAC;IAC7BC,MAAM,CAAC,MAAM;MACXI,OAAO,CAAEA,OAAO,CAAEI,EAAE,CAAC,GAAGU,KAAK,CAACE,KAAK;MACnCD,QAAQ,CAACC,KAAK,GAAG,MAAMF,KAAK,CAACG,QAAQ;IACvC,CAAC,EAAEC,SAAS,CAAC;IAEb,OAAOH,QAAQ,CAACC,KAAK;EACvB;EACA,MAAMG,GAAG,GAAG;IACVf,EAAE;IACFE,OAAO,EAAEI,YAAY;IACrBC,IAAI;IACJE,QAAQ;IACRO,WAAW,EAAEtB,GAAG,CAACe,QAAQ;EAC3B,CAAC;EACDN,aAAa,CAACc,GAAG,CAACjB,EAAE,EAAEe,GAAG,CAAC;EAC1B,OAAOA,GAAG;AACZ;AAEA,OAAO,SAASG,kBAAkBA,CAAIX,IAAY,EAAED,YAAgB,EAAE;EACpE,OAAOD,aAAa,CAAIC,YAAY,EAAEC,IAAI,CAAC;AAC7C","ignoreList":[]}
|
package/dist/src/index.d.ts
CHANGED
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,GAAG,EACH,eAAe,EACf,UAAU,EACV,KAAK,EACL,KAAK,GAAG,GACT,MAAM,iBAAiB,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,OAAO,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,GAAG,EACH,eAAe,EACf,UAAU,EACV,KAAK,EACL,KAAK,GAAG,GACT,MAAM,iBAAiB,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,OAAO,YAAY,CAAC"}
|
package/dist/src/index.js
CHANGED
package/dist/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["computed","isProxy","reactive","ref","shallowReactive","shallowRef","toRaw"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA,SACEA,QAAQ,EACRC,OAAO,EACPC,QAAQ,EACRC,GAAG,EACHC,eAAe,EACfC,UAAU,EACVC,KAAK,QAEA,iBAAiB;AACxB,cAAc,aAAa;AAC3B,cAAc,WAAW;AACzB,cAAc,uBAAuB;AACrC,cAAc,cAAc;AAC5B,cAAc,oBAAoB;AAClC,cAAc,kBAAkB;AAChC,cAAc,kBAAkB;AAChC,cAAc,aAAa;AAC3B,cAAc,aAAa;AAC3B,cAAc,UAAU;AACxB,cAAc,UAAU;AACxB,cAAc,YAAY;AAC1B,cAAc,mBAAmB;AACjC,OAAO,YAAY","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"index.js","names":["computed","isProxy","reactive","ref","shallowReactive","shallowRef","toRaw"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA,SACEA,QAAQ,EACRC,OAAO,EACPC,QAAQ,EACRC,GAAG,EACHC,eAAe,EACfC,UAAU,EACVC,KAAK,QAEA,iBAAiB;AACxB,cAAc,aAAa;AAC3B,cAAc,WAAW;AACzB,cAAc,uBAAuB;AACrC,cAAc,cAAc;AAC5B,cAAc,oBAAoB;AAClC,cAAc,kBAAkB;AAChC,cAAc,kBAAkB;AAChC,cAAc,aAAa;AAC3B,cAAc,aAAa;AAC3B,cAAc,UAAU;AACxB,cAAc,UAAU;AACxB,cAAc,UAAU;AACxB,cAAc,YAAY;AAC1B,cAAc,mBAAmB;AACjC,OAAO,YAAY","ignoreList":[]}
|
|
@@ -88,38 +88,120 @@ export declare function isComponentCreator(item: unknown): item is ComponentCrea
|
|
|
88
88
|
*/
|
|
89
89
|
export declare namespace JSX {
|
|
90
90
|
interface IntrinsicElements {
|
|
91
|
+
/**
|
|
92
|
+
* Attempt to render the children on a single line if possible. If a group
|
|
93
|
+
* contains `<breakParent />` or a hard line, or if the group exceeds the
|
|
94
|
+
* print width, all linebreaks in the group will be broken.
|
|
95
|
+
*/
|
|
91
96
|
group: {
|
|
92
97
|
shouldBreak?: boolean;
|
|
93
98
|
id?: symbol;
|
|
94
99
|
children: Children;
|
|
95
100
|
};
|
|
101
|
+
/**
|
|
102
|
+
* A regular line break. This will break if the line exceeds the print
|
|
103
|
+
* width, otherwise it will be a space.
|
|
104
|
+
*/
|
|
96
105
|
line: {};
|
|
106
|
+
/**
|
|
107
|
+
* A regular line break. This will break if the line exceeds the print
|
|
108
|
+
* width, otherwise it will be a space.
|
|
109
|
+
*/
|
|
97
110
|
br: {};
|
|
111
|
+
/**
|
|
112
|
+
* A hard line break. This is a line that will always break, even if the
|
|
113
|
+
* group does not exceed print width.
|
|
114
|
+
*/
|
|
98
115
|
hardline: {};
|
|
116
|
+
/**
|
|
117
|
+
* A hard line break. This is a line that will always break, even if the
|
|
118
|
+
* group does not exceed print width.
|
|
119
|
+
*/
|
|
99
120
|
hbr: {};
|
|
121
|
+
/**
|
|
122
|
+
* A soft line break. This will break if the line exceeds the print width,
|
|
123
|
+
* otherwise it will be be nothing.
|
|
124
|
+
*/
|
|
100
125
|
softline: {};
|
|
126
|
+
/**
|
|
127
|
+
* A soft line break. This will break if the line exceeds the print width,
|
|
128
|
+
* otherwise it will be be nothing.
|
|
129
|
+
*/
|
|
101
130
|
sbr: {};
|
|
131
|
+
/**
|
|
132
|
+
* A literal line break. This will always break, even if the group does not
|
|
133
|
+
* exceed print width. The new line will ignore indentation.
|
|
134
|
+
*/
|
|
102
135
|
literalline: {};
|
|
136
|
+
/**
|
|
137
|
+
* A literal line break. This will always break, even if the group does not
|
|
138
|
+
* exceed print width. The new line will ignore indentation.
|
|
139
|
+
*/
|
|
103
140
|
lbr: {};
|
|
141
|
+
/**
|
|
142
|
+
* Increase the indentation level of the children of this component.
|
|
143
|
+
* Indentation is determined by the print options provided to the Output
|
|
144
|
+
* component or source file.
|
|
145
|
+
*/
|
|
104
146
|
indent: {
|
|
105
147
|
children: Children;
|
|
106
148
|
};
|
|
149
|
+
/**
|
|
150
|
+
* Indent the children of this component if the group specified by `groupId`
|
|
151
|
+
* is broken (or not broken if `negate` is passed). The specified group must
|
|
152
|
+
* already be printed.
|
|
153
|
+
*/
|
|
154
|
+
indentIfBreak: {
|
|
155
|
+
children: Children;
|
|
156
|
+
groupId: symbol;
|
|
157
|
+
negate?: boolean;
|
|
158
|
+
};
|
|
159
|
+
/**
|
|
160
|
+
* Similar to `group`, but will only place a line break before the last
|
|
161
|
+
* segment to exceed the print width. This is useful for formatting
|
|
162
|
+
* paragraphs of text where breaks are inserted prior to words which would
|
|
163
|
+
* otherwise exceed the print width.
|
|
164
|
+
*/
|
|
107
165
|
fill: {
|
|
108
166
|
children: Children;
|
|
109
167
|
};
|
|
168
|
+
/**
|
|
169
|
+
* Force the parent group to break.
|
|
170
|
+
*/
|
|
110
171
|
breakParent: {};
|
|
172
|
+
/**
|
|
173
|
+
* Print children if the current group or already printed group specified by
|
|
174
|
+
* `groupId` is broken. Otherwise, `flatContents` is printed instead.
|
|
175
|
+
*/
|
|
111
176
|
ifBreak: {
|
|
112
177
|
children: Children;
|
|
113
178
|
flatContents?: Children;
|
|
114
179
|
groupId?: symbol;
|
|
115
180
|
};
|
|
181
|
+
/**
|
|
182
|
+
* Print this content at the end of the line. Useful for things like line
|
|
183
|
+
* comments.
|
|
184
|
+
*/
|
|
116
185
|
lineSuffix: {
|
|
117
186
|
children: Children;
|
|
118
187
|
};
|
|
188
|
+
/**
|
|
189
|
+
* Force any line suffixes to print at this point.
|
|
190
|
+
*/
|
|
119
191
|
lineSuffixBoundary: {};
|
|
192
|
+
/**
|
|
193
|
+
* Decrease the indentation level of the children of this component.
|
|
194
|
+
* Indentation is determined by the print options provided to the Output
|
|
195
|
+
* component or source file.
|
|
196
|
+
*/
|
|
120
197
|
dedent: {
|
|
121
198
|
children: Children;
|
|
122
199
|
};
|
|
200
|
+
/**
|
|
201
|
+
* Indent the children of this component by either the number of characters
|
|
202
|
+
* indicated by the `width` prop, or by the provided string indicated by the
|
|
203
|
+
* `string` prop.
|
|
204
|
+
*/
|
|
123
205
|
align: {
|
|
124
206
|
children: Children;
|
|
125
207
|
width: number;
|
|
@@ -127,9 +209,17 @@ export declare namespace JSX {
|
|
|
127
209
|
children: Children;
|
|
128
210
|
string: string;
|
|
129
211
|
};
|
|
212
|
+
/**
|
|
213
|
+
* Mark the current indentation level as "root" for the purposes of literal
|
|
214
|
+
* line breaks and `dedentToRoot`.
|
|
215
|
+
*/
|
|
130
216
|
markAsRoot: {
|
|
131
217
|
children: Children;
|
|
132
218
|
};
|
|
219
|
+
/**
|
|
220
|
+
* Decrease the indentation level to the root level specified by
|
|
221
|
+
* `<markAsRoot />`, or else to no indentation.
|
|
222
|
+
*/
|
|
133
223
|
dedentToRoot: {
|
|
134
224
|
children: Children;
|
|
135
225
|
};
|
|
@@ -149,6 +239,7 @@ export declare function createComponent<TProps extends Props = Props>(C: Compone
|
|
|
149
239
|
export declare function taggedComponent<TProps = Props>(tag: symbol, component: Component<TProps>): Component<TProps>;
|
|
150
240
|
export declare const intrinsicElementKey: unique symbol;
|
|
151
241
|
export type IndentIntrinsicElement = IntrinsicElementBase<"indent">;
|
|
242
|
+
export type IndentIfBreakIntrinsicElement = IntrinsicElementBase<"indentIfBreak">;
|
|
152
243
|
export type BrIntrinsicElement = IntrinsicElementBase<"br">;
|
|
153
244
|
export type LineIntrinsicElement = IntrinsicElementBase<"line">;
|
|
154
245
|
export type HbrIntrinsicElement = IntrinsicElementBase<"hbr">;
|
|
@@ -167,7 +258,7 @@ export type MarkAsRootIntrinsicElement = IntrinsicElementBase<"markAsRoot">;
|
|
|
167
258
|
export type LiterallineIntrinsicElement = IntrinsicElementBase<"literalline">;
|
|
168
259
|
export type LbrIntrinsicElement = IntrinsicElementBase<"lbr">;
|
|
169
260
|
export type IfBreakIntrinsicElement = IntrinsicElementBase<"ifBreak">;
|
|
170
|
-
export type IntrinsicElement = IndentIntrinsicElement | BrIntrinsicElement | LineIntrinsicElement | HbrIntrinsicElement | HardlineIntrinsicElement | SbrIntrinsicElement | SoftlineIntrinsicElement | GroupIntrinsicElement | AlignIntrinsicElement | FillIntrinsicElement | BreakParentIntrinsicElement | LineSuffixIntrinsicElement | LineSuffixBoundaryIntrinsicElement | DedentIntrinsicElement | LiterallineIntrinsicElement | LbrIntrinsicElement | DedentToRootIntrinsicElement | MarkAsRootIntrinsicElement | IfBreakIntrinsicElement;
|
|
261
|
+
export type IntrinsicElement = IndentIntrinsicElement | IndentIfBreakIntrinsicElement | BrIntrinsicElement | LineIntrinsicElement | HbrIntrinsicElement | HardlineIntrinsicElement | SbrIntrinsicElement | SoftlineIntrinsicElement | GroupIntrinsicElement | AlignIntrinsicElement | FillIntrinsicElement | BreakParentIntrinsicElement | LineSuffixIntrinsicElement | LineSuffixBoundaryIntrinsicElement | DedentIntrinsicElement | LiterallineIntrinsicElement | LbrIntrinsicElement | DedentToRootIntrinsicElement | MarkAsRootIntrinsicElement | IfBreakIntrinsicElement;
|
|
171
262
|
export interface IntrinsicElementBase<TKey extends keyof JSX.IntrinsicElements = keyof JSX.IntrinsicElements> {
|
|
172
263
|
[intrinsicElementKey]: true;
|
|
173
264
|
name: TKey;
|
|
@@ -187,5 +278,11 @@ export type SplitProps<T, K extends (readonly (keyof T)[])[]> = [
|
|
|
187
278
|
}
|
|
188
279
|
];
|
|
189
280
|
export declare function splitProps<T extends Record<any, any>, K extends [readonly (keyof T)[], ...(readonly (keyof T)[])[]]>(props: T, ...keys: K): SplitProps<T, K>;
|
|
281
|
+
/**
|
|
282
|
+
* Applies default values to a props object. Reactive props are handled properly
|
|
283
|
+
* by ensuring that their value is not accessed by `defaultProps`, avoiding any
|
|
284
|
+
* unintended side effects.
|
|
285
|
+
*/
|
|
286
|
+
export declare function defaultProps<T extends {}>(props: T, defaults: Partial<T>): T;
|
|
190
287
|
export {};
|
|
191
288
|
//# sourceMappingURL=jsx-runtime.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jsx-runtime.d.ts","sourceRoot":"","sources":["../../src/jsx-runtime.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"jsx-runtime.d.ts","sourceRoot":"","sources":["../../src/jsx-runtime.ts"],"names":[],"mappings":"AAEA,OAAO,EAKL,GAAG,EAMJ,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAS/C,MAAM,WAAW,UAAU;IACzB,IAAI,IAAI,CAAC;CACV;AAED,MAAM,WAAW,OAAO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