xmlui 0.9.19 → 0.9.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/{apiInterceptorWorker-BH8WAcl0.mjs → apiInterceptorWorker-7aKQ2rBj.mjs} +1 -1
- package/dist/{index-KE5HIbCX.mjs → index-B3CWFAxa.mjs} +1795 -2065
- package/dist/index.css +1892 -690
- package/dist/{lint-Cd70ckJ6.mjs → lint-EcgF-9Wr.mjs} +22 -46
- package/dist/scripts/src/components/ComponentProvider.js +16 -24
- package/dist/scripts/src/components/DropdownMenu/DropdownMenu.js +3 -1
- package/dist/scripts/src/components/DropdownMenu/DropdownMenuNative.js +10 -2
- package/dist/scripts/src/components/Form/FormContext.js +4 -0
- package/dist/scripts/src/components/Form/FormNative.js +6 -4
- package/dist/scripts/src/components/Form/formActions.js +2 -1
- package/dist/scripts/src/components/FormItem/FormItemNative.js +7 -0
- package/dist/scripts/src/components/Icon/MoonIcon.js +10 -0
- package/dist/scripts/src/components/Icon/StarsIcon.js +10 -0
- package/dist/scripts/src/components/IconProvider.js +4 -1
- package/dist/scripts/src/components/InspectButton/InspectButton.js +34 -0
- package/dist/scripts/src/components/ToneChangerButton/ToneChangerButton.js +1 -1
- package/dist/scripts/src/components-core/InspectorContext.js +86 -21
- package/dist/scripts/src/components-core/rendering/Container.js +1 -6
- package/dist/style.css +1837 -631
- package/dist/xmlui-metadata.mjs +1283 -1438
- package/dist/xmlui-metadata.umd.js +1282 -1437
- package/dist/xmlui-parser.mjs +17 -17
- package/dist/xmlui-standalone.umd.js +4063 -3150
- package/dist/xmlui.d.ts +1 -1
- package/dist/xmlui.mjs +1 -1
- package/package.json +2 -2
- package/dist/scripts/src/components/Alert/Alert.js +0 -61
- package/dist/scripts/src/components/Alert/AlertNative.js +0 -8
- package/dist/scripts/src/components/ButtonGroup/ButtonGroup.js +0 -55
- package/dist/scripts/src/components/ButtonGroup/ButtonGroupNative.js +0 -8
- package/dist/scripts/src/components/OffCanvas/OffCanvas.js +0 -57
- package/dist/scripts/src/components/OffCanvas/OffCanvasNative.js +0 -48
- package/dist/scripts/src/components/StateViewer/StateViewerNative.js +0 -19
- package/dist/scripts/src/components/SubNavPanel/SubNavPanel.js +0 -22
- package/dist/scripts/src/components/SubNavPanel/SubNavPanelNative.js +0 -9
|
@@ -56,14 +56,12 @@ const ScriptingSourceTree_1 = require("../../abstractions/scripting/ScriptingSou
|
|
|
56
56
|
const containers_1 = require("../abstractions/containers");
|
|
57
57
|
const AppContext_1 = require("../AppContext");
|
|
58
58
|
const buildProxy_1 = require("../rendering/buildProxy");
|
|
59
|
-
const DebugViewProvider_1 = require("../DebugViewProvider");
|
|
60
59
|
const process_statement_async_1 = require("../script-runner/process-statement-async");
|
|
61
60
|
const process_statement_sync_1 = require("../script-runner/process-statement-sync");
|
|
62
61
|
const extractParam_1 = require("../utils/extractParam");
|
|
63
62
|
const hooks_1 = require("../utils/hooks");
|
|
64
63
|
const misc_1 = require("../utils/misc");
|
|
65
64
|
const statementUtils_1 = require("../utils/statementUtils");
|
|
66
|
-
const StateViewerNative_1 = require("../../components/StateViewer/StateViewerNative");
|
|
67
65
|
const renderChild_1 = require("./renderChild");
|
|
68
66
|
const ThemeContext_1 = require("../theming/ThemeContext");
|
|
69
67
|
const LoaderComponent_1 = require("../LoaderComponent");
|
|
@@ -521,9 +519,6 @@ exports.Container = (0, react_1.memo)((0, react_1.forwardRef)(function Container
|
|
|
521
519
|
const uidInfo = {};
|
|
522
520
|
const thisUidInfoRef = (0, react_1.useRef)({});
|
|
523
521
|
const uidInfoRef = node.uses === undefined ? parentUidInfoRef : thisUidInfoRef;
|
|
524
|
-
const debugContext = (0, DebugViewProvider_1.useDebugView)();
|
|
525
|
-
const stateViewProps = debugContext === null || debugContext === void 0 ? void 0 : debugContext.stateViewOptions;
|
|
526
|
-
const showContainer = stateViewProps && debugContext.displayStateView;
|
|
527
522
|
const renderedChildren = stableRenderChild(node.children, layoutContextRef === null || layoutContextRef === void 0 ? void 0 : layoutContextRef.current, parentRenderContext, uidInfoRef, ref);
|
|
528
523
|
const renderedLoaders = renderLoaders({
|
|
529
524
|
uidInfo,
|
|
@@ -545,7 +540,7 @@ exports.Container = (0, react_1.memo)((0, react_1.forwardRef)(function Container
|
|
|
545
540
|
const containerContent = ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [renderedLoaders, !!children && (0, react_1.isValidElement)(renderedChildren)
|
|
546
541
|
? (0, react_1.cloneElement)(renderedChildren, null, children)
|
|
547
542
|
: renderedChildren] }));
|
|
548
|
-
return ((0, jsx_runtime_1.
|
|
543
|
+
return ((0, jsx_runtime_1.jsx)(react_1.Fragment, { children: containerContent }, node.uid
|
|
549
544
|
? `${resolvedKey}>${(0, extractParam_1.extractParam)(componentState, node.uid, appContext, true)}`
|
|
550
545
|
: undefined));
|
|
551
546
|
}));
|