xmlui 0.7.32 → 0.7.33
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/{apiInterceptorWorker-iyzFS4kP.mjs → apiInterceptorWorker-CE7NtDJI.mjs} +1 -1
- package/dist/{index-29eF52eI.mjs → index-lMqf6HyK.mjs} +6846 -6853
- package/dist/scripts/bin/language-server.js +11 -0
- package/dist/scripts/src/components/Button/ButtonNative.js +3 -2
- package/dist/scripts/src/components/ComponentProvider.js +6 -2
- package/dist/scripts/src/components/DropdownMenu/DropdownMenuNative.js +4 -5
- package/dist/scripts/src/components/Icon/Inspect.js +10 -0
- package/dist/scripts/src/components/IconProvider.js +3 -1
- package/dist/scripts/src/components/Table/Table.js +3 -3
- package/dist/scripts/src/components-core/ComponentDecorator.js +23 -19
- package/dist/scripts/src/components-core/InspectorContext.js +2 -2
- package/dist/scripts/src/components-core/abstractions/standalone.js +2 -0
- package/dist/scripts/src/components-core/interception/abstractions.js +2 -0
- package/dist/scripts/src/components-core/rendering/ComponentAdapter.js +2 -2
- package/dist/scripts/src/components-core/rendering/Container.js +21 -34
- package/dist/scripts/src/language-server/metadata.js +8206 -0
- package/dist/scripts/src/language-server/server.js +135 -0
- package/dist/scripts/src/language-server/services/completion.js +100 -0
- package/dist/scripts/src/language-server/services/hover.js +170 -0
- package/dist/scripts/src/language-server/services/syntax-node-utilities.js +22 -0
- package/dist/scripts/src/parsers/xmlui-parser/index.js +29 -0
- package/dist/scripts/src/parsers/xmlui-parser/lint.js +177 -0
- package/dist/scripts/src/parsers/xmlui-parser/xmlui-serializer.js +582 -0
- package/dist/scripts/src/parsers/xmlui-parser/xmlui-tree.js +2 -0
- package/dist/xmlui-metadata.mjs +6558 -5727
- package/dist/xmlui-metadata.umd.js +11 -11
- package/dist/xmlui-standalone.umd.js +110 -110
- package/dist/xmlui.d.ts +2 -1
- package/dist/xmlui.mjs +1 -1
- package/package.json +9 -4
package/dist/xmlui.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { CSSProperties } from 'react';
|
|
|
2
2
|
import { default as default_2 } from 'react';
|
|
3
3
|
import { DefaultToastOptions } from 'react-hot-toast';
|
|
4
4
|
import { ErrorInfo } from 'react';
|
|
5
|
+
import { ForwardedRef } from 'react';
|
|
5
6
|
import { ForwardRefExoticComponent } from 'react';
|
|
6
7
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
7
8
|
import { NavigateOptions } from 'react-router-dom';
|
|
@@ -1259,7 +1260,7 @@ declare interface ReactiveVarDeclaration extends ExpressionBase {
|
|
|
1259
1260
|
*/
|
|
1260
1261
|
export declare type RegisterComponentApiFn = (componentApi: ComponentApi) => void;
|
|
1261
1262
|
|
|
1262
|
-
declare type RenderChildFn<L extends ComponentDef = ComponentDef> = (children?: ComponentDef | ComponentDef[] | DynamicChildComponentDef | DynamicChildComponentDef[] | string, layoutContext?: LayoutContext<L>, parentRenderContext?: ParentRenderContext, uidInfoRef?: RefObject<Record<string, any
|
|
1263
|
+
declare type RenderChildFn<L extends ComponentDef = ComponentDef> = (children?: ComponentDef | ComponentDef[] | DynamicChildComponentDef | DynamicChildComponentDef[] | string, layoutContext?: LayoutContext<L>, parentRenderContext?: ParentRenderContext, uidInfoRef?: RefObject<Record<string, any>>, ref?: ForwardedRef<any>) => ReactNode | ReactNode[];
|
|
1263
1264
|
|
|
1264
1265
|
/**
|
|
1265
1266
|
* This interface defines the renderer context for the exposed components of the XMLUI framework.
|
package/dist/xmlui.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, B as t, E as r, I as o, h as p, f as n, S as c, c as d, b as u, e as S, i as l, p as A, s as C, t as m, j as B, u as f } from "./index-
|
|
1
|
+
import { A as e, B as t, E as r, I as o, h as p, f as n, S as c, c as d, b as u, e as S, i as l, p as A, s as C, t as m, j as B, u as f } from "./index-lMqf6HyK.mjs";
|
|
2
2
|
export {
|
|
3
3
|
e as AppRoot,
|
|
4
4
|
t as Button,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xmlui",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.33",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"start-test-bed": "cd src/testing/infrastructure && xmlui start",
|
|
@@ -19,9 +19,12 @@
|
|
|
19
19
|
"prepublishOnly": "clean-package && npm run build",
|
|
20
20
|
"postpublish": "clean-package restore",
|
|
21
21
|
"generate-docs": "node scripts/generate-docs/get-docs.mjs",
|
|
22
|
-
"prepare-docs-data": "npm run build:xmlui-metadata"
|
|
22
|
+
"prepare-docs-data": "npm run build:xmlui-metadata",
|
|
23
|
+
"generate-all-docs": "npm run build:xmlui-metadata && npm run build:ext-meta && npm run generate-docs"
|
|
23
24
|
},
|
|
24
25
|
"dependencies": {
|
|
26
|
+
"vscode-languageserver": "^9.0.1",
|
|
27
|
+
"vscode-languageserver-textdocument": "^1.0.11",
|
|
25
28
|
"@eslint-community/regexpp": "4.10.0",
|
|
26
29
|
"@formkit/auto-animate": "0.7.0",
|
|
27
30
|
"@modyfi/vite-plugin-yaml": "1.1.0",
|
|
@@ -139,12 +142,14 @@
|
|
|
139
142
|
"src/styles"
|
|
140
143
|
],
|
|
141
144
|
"bin": {
|
|
142
|
-
"xmlui": "dist/scripts/bin/bootstrap.js"
|
|
145
|
+
"xmlui": "dist/scripts/bin/bootstrap.js",
|
|
146
|
+
"xmlui-language-server": "dist/scripts/bin/language-server.js"
|
|
143
147
|
},
|
|
144
148
|
"clean-package": {
|
|
145
149
|
"replace": {
|
|
146
150
|
"bin": {
|
|
147
|
-
"xmlui": "dist/scripts/bin/bootstrap.js"
|
|
151
|
+
"xmlui": "dist/scripts/bin/bootstrap.js",
|
|
152
|
+
"xmlui-language-server": "dist/scripts/bin/language-server.js"
|
|
148
153
|
},
|
|
149
154
|
"main": "./dist/xmlui.umd.js",
|
|
150
155
|
"module": "./dist/xmlui.mjs",
|