xmlui 0.7.24 → 0.7.25
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-C6UAUhRI.mjs → apiInterceptorWorker-B0H9MD6w.mjs} +1 -1
- package/dist/{index-BcnKqeXb.mjs → index-Brmiu4kS.mjs} +12373 -11797
- package/dist/index.css +1 -1
- package/dist/scripts/src/components/Badge/Badge.js +2 -6
- package/dist/scripts/src/components/Card/Card.js +1 -2
- package/dist/scripts/src/components/Checkbox/Checkbox.js +8 -2
- package/dist/scripts/src/components/ComponentProvider.js +4 -0
- package/dist/scripts/src/components/ContentSeparator/ContentSeparator.js +2 -2
- package/dist/scripts/src/components/Footer/Footer.js +1 -1
- package/dist/scripts/src/components/FormItem/FormItem.js +10 -4
- package/dist/scripts/src/components/FormItem/FormItemNative.js +3 -3
- package/dist/scripts/src/components/FormItem/ItemWithLabel.js +2 -2
- package/dist/scripts/src/components/FormSection/FormSection.js +2 -1
- package/dist/scripts/src/components/Heading/Heading.js +7 -14
- package/dist/scripts/src/components/HtmlTags/HtmlTags.js +39 -0
- package/dist/scripts/src/components/Markdown/Markdown.js +1 -1
- package/dist/scripts/src/components/Markdown/MarkdownNative.js +90 -2
- package/dist/scripts/src/components/Option/Option.js +7 -2
- package/dist/scripts/src/components/RadioGroup/RadioGroupNative.js +7 -4
- package/dist/scripts/src/components/RadioGroup/RadioItem.js +19 -0
- package/dist/scripts/src/components/RadioGroup/RadioItemNative.js +49 -0
- package/dist/scripts/src/components/Splitter/Splitter.js +8 -10
- package/dist/scripts/src/components/Stack/Stack.js +30 -15
- package/dist/scripts/src/components/Toggle/Toggle.js +36 -18
- package/dist/scripts/src/components-core/rendering/ComponentAdapter.js +1 -3
- package/dist/scripts/src/components-core/theming/ThemeProvider.js +1 -1
- package/dist/scripts/src/components-core/theming/extendThemeUtils.js +0 -67
- package/dist/scripts/src/components-core/theming/layout-resolver.js +1 -20
- package/dist/scripts/src/components-core/theming/transformThemeVars.js +185 -49
- package/dist/scripts/src/components-core/xmlui-parser.js +17 -2
- package/dist/scripts/src/parsers/xmlui-parser/ParserError.js +2 -2
- package/dist/scripts/src/parsers/xmlui-parser/transform.js +3 -3
- package/dist/style.css +1 -1
- package/dist/xmlui-metadata.mjs +2593 -2559
- package/dist/xmlui-metadata.umd.js +19 -18
- package/dist/xmlui-standalone.umd.js +198 -197
- package/dist/xmlui.d.ts +1 -8
- package/dist/xmlui.mjs +1 -1
- package/package.json +3 -2
package/dist/xmlui.d.ts
CHANGED
|
@@ -691,7 +691,7 @@ export declare interface CompoundComponentDef extends Scriptable {
|
|
|
691
691
|
/**
|
|
692
692
|
* Each compound component must have a single root component defining the component contents.
|
|
693
693
|
*/
|
|
694
|
-
component:
|
|
694
|
+
component: ComponentDef;
|
|
695
695
|
/**
|
|
696
696
|
* Compound components may provide an API that other components can use to interact with them. This
|
|
697
697
|
* property holds the API methods associated with this compound component definition.
|
|
@@ -1171,12 +1171,6 @@ declare interface NoArgExpression extends ExpressionBase {
|
|
|
1171
1171
|
|
|
1172
1172
|
declare type Node_2 = Statement | Expression | SwitchCase;
|
|
1173
1173
|
|
|
1174
|
-
declare type NonCssLayoutProps = {
|
|
1175
|
-
horizontalAlignment?: string;
|
|
1176
|
-
verticalAlignment?: string;
|
|
1177
|
-
orientation?: string;
|
|
1178
|
-
};
|
|
1179
|
-
|
|
1180
1174
|
declare interface ObjectDestructure extends DestructureBase {
|
|
1181
1175
|
type: "ODestr";
|
|
1182
1176
|
id: string;
|
|
@@ -1301,7 +1295,6 @@ export declare interface RendererContext<TMd extends ComponentMetadata = Compone
|
|
|
1301
1295
|
*/
|
|
1302
1296
|
lookupSyncCallback: LookupSyncFn;
|
|
1303
1297
|
layoutCss: CSSProperties;
|
|
1304
|
-
layoutNonCss: NonCssLayoutProps;
|
|
1305
1298
|
}
|
|
1306
1299
|
|
|
1307
1300
|
declare interface ReturnStatement extends StatementBase {
|
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-Brmiu4kS.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.25",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"start-test-bed": "cd src/testing/infrastructure && xmlui start",
|
|
@@ -97,6 +97,7 @@
|
|
|
97
97
|
"scroll-into-view-if-needed": "^3.1.0",
|
|
98
98
|
"shiki": "^1.14.1",
|
|
99
99
|
"ts-node": "10.9.1",
|
|
100
|
+
"unist-util-visit": "^5.0.0",
|
|
100
101
|
"use-context-selector": "1.4.1",
|
|
101
102
|
"virtua": "0.40.0",
|
|
102
103
|
"vite-plugin-lib-inject-css": "1.3.0",
|
|
@@ -107,7 +108,7 @@
|
|
|
107
108
|
"@babel/core": "7.19.6",
|
|
108
109
|
"@babel/preset-env": "7.19.4",
|
|
109
110
|
"@babel/preset-typescript": "7.18.6",
|
|
110
|
-
"@playwright/test": "
|
|
111
|
+
"@playwright/test": "1.50.1",
|
|
111
112
|
"@types/adm-zip": "0.5.4",
|
|
112
113
|
"@types/glob": "7.2.0",
|
|
113
114
|
"@types/lodash-es": "4.17.6",
|