xmlui 0.9.83 → 0.9.86
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/lib/{index-aMRikNoc.mjs → index-Bm0sNu3Q.mjs} +17098 -21599
- package/dist/lib/index.css +1 -1
- package/dist/lib/{initMock-CYGUM37_.mjs → initMock-BJWFwa64.mjs} +1 -1
- package/dist/lib/language-server-web-worker.mjs +1 -1
- package/dist/lib/language-server.mjs +1 -1
- package/dist/lib/{server-common-LUcdzTQs.mjs → server-common-CfdMYx46.mjs} +4453 -4423
- package/dist/lib/syntax-monaco.d.ts +64 -0
- package/dist/lib/syntax-monaco.mjs +639 -0
- package/dist/lib/syntax-textmate.d.ts +2127 -0
- package/dist/lib/syntax-textmate.mjs +2491 -0
- package/dist/lib/xmlui-parser.d.ts +7 -1
- package/dist/lib/xmlui.d.ts +8 -2
- package/dist/lib/xmlui.mjs +1 -1
- package/dist/metadata/{collectedComponentMetadata-BD1Fa8Cz.mjs → collectedComponentMetadata-BLxDndi5.mjs} +19018 -23504
- package/dist/metadata/{initMock-CzVkUblk.mjs → initMock-DRxSMFJz.mjs} +1 -1
- package/dist/metadata/style.css +1 -1
- package/dist/metadata/xmlui-metadata.mjs +1 -1
- package/dist/metadata/xmlui-metadata.umd.js +138 -285
- package/dist/scripts/package.json +24 -4
- package/dist/scripts/src/components/APICall/APICall.js +4 -0
- package/dist/scripts/src/components/Accordion/Accordion.js +14 -4
- package/dist/scripts/src/components/AppState/AppState.js +7 -2
- package/dist/scripts/src/components/AutoComplete/AutoComplete.js +17 -3
- package/dist/scripts/src/components/Bookmark/Bookmark.js +1 -0
- package/dist/scripts/src/components/Carousel/Carousel.js +23 -5
- package/dist/scripts/src/components/Checkbox/Checkbox.js +15 -5
- package/dist/scripts/src/components/ColorPicker/ColorPicker.js +15 -3
- package/dist/scripts/src/components/ComponentProvider.js +0 -4
- package/dist/scripts/src/components/DatePicker/DatePicker.js +15 -3
- package/dist/scripts/src/components/DropdownMenu/DropdownMenu.js +8 -1
- package/dist/scripts/src/components/DropdownMenu/DropdownMenuNative.js +1 -0
- package/dist/scripts/src/components/ExpandableItem/ExpandableItem.js +16 -4
- package/dist/scripts/src/components/FileInput/FileInput.js +19 -6
- package/dist/scripts/src/components/Form/Form.js +12 -3
- package/dist/scripts/src/components/FormItem/FormItem.js +16 -5
- package/dist/scripts/src/components/FormItem/ItemWithLabel.js +5 -2
- package/dist/scripts/src/components/FormItem/Validations.js +4 -1
- package/dist/scripts/src/components/Heading/Heading.js +6 -0
- package/dist/scripts/src/components/Heading/HeadingNative.js +11 -1
- package/dist/scripts/src/components/HelloWorld/HelloWorld.js +8 -2
- package/dist/scripts/src/components/List/List.js +22 -4
- package/dist/scripts/src/components/ModalDialog/ModalDialog.js +14 -5
- package/dist/scripts/src/components/NumberBox/NumberBox.js +12 -3
- package/dist/scripts/src/components/NumberBox/NumberBox2.js +12 -3
- package/dist/scripts/src/components/Queue/Queue.js +38 -15
- package/dist/scripts/src/components/Select/Select.js +19 -4
- package/dist/scripts/src/components/Slider/Slider.js +15 -3
- package/dist/scripts/src/components/Switch/Switch.js +13 -3
- package/dist/scripts/src/components/Table/Table.js +26 -8
- package/dist/scripts/src/components/Tabs/Tabs.js +4 -1
- package/dist/scripts/src/components/TextArea/TextArea.js +8 -2
- package/dist/scripts/src/components/TextBox/TextBox.js +16 -4
- package/dist/scripts/src/components/Toggle/Toggle.js +9 -2
- package/dist/scripts/src/components/metadata-helpers.js +3 -3
- package/dist/standalone/xmlui-standalone.es.d.ts +9 -3
- package/dist/standalone/xmlui-standalone.umd.js +251 -251
- package/package.json +24 -4
- package/src/syntax/monaco/grammar.monacoLanguage.ts +283 -0
- package/src/syntax/monaco/index.ts +4 -0
- package/src/syntax/monaco/xmlui-dark.ts +24 -0
- package/src/syntax/monaco/xmlui-light.ts +24 -0
- package/src/syntax/monaco/xmluiscript.monacoLanguage.ts +337 -0
- package/src/syntax/textMate/index.ts +6 -0
- package/src/syntax/textMate/xmlui-dark.json +631 -0
- package/src/syntax/textMate/xmlui-light.json +565 -0
- package/src/syntax/textMate/xmlui.json +564 -0
- package/src/syntax/textMate/xmlui.tmLanguage.json +341 -0
- package/dist/lib/core-CvFpTAHi.mjs +0 -5775
- package/dist/lib/wasm-DQxwEHae.mjs +0 -7
- package/dist/metadata/core-D3puiNN6.mjs +0 -5771
- package/dist/metadata/wasm-DQxwEHae.mjs +0 -7
- package/dist/scripts/src/components-core/XmluiCodeHighlighter.js +0 -109
- package/dist/scripts/src/syntax/grammar.tmLanguage.json +0 -341
- package/dist/scripts/src/syntax/textMate/xmlui-dark.json +0 -631
- package/dist/scripts/src/syntax/textMate/xmlui-light.json +0 -565
|
@@ -245,6 +245,12 @@ declare type CollectedDeclarations = {
|
|
|
245
245
|
moduleErrors?: ModuleErrors;
|
|
246
246
|
};
|
|
247
247
|
|
|
248
|
+
declare type ComponentApiMetadata = {
|
|
249
|
+
readonly description: string;
|
|
250
|
+
readonly signature?: string;
|
|
251
|
+
readonly parameters?: Record<string, string>;
|
|
252
|
+
};
|
|
253
|
+
|
|
248
254
|
declare interface ComponentDef<TMd extends ComponentMetadata = ComponentMetadata> extends ComponentDefCore, Scriptable {
|
|
249
255
|
props?: Record<keyof TMd["props"], any>;
|
|
250
256
|
events?: Record<keyof TMd["events"], any>;
|
|
@@ -334,7 +340,7 @@ export declare type ComponentLints = {
|
|
|
334
340
|
componentName: string;
|
|
335
341
|
};
|
|
336
342
|
|
|
337
|
-
declare type ComponentMetadata<TProps extends Record<string, ComponentPropertyMetadata> = Record<string, any>, TEvents extends Record<string, ComponentPropertyMetadata> = Record<string, any>, TContextValues extends Record<string, ComponentPropertyMetadata> = Record<string, any>, TApis extends Record<string,
|
|
343
|
+
declare type ComponentMetadata<TProps extends Record<string, ComponentPropertyMetadata> = Record<string, any>, TEvents extends Record<string, ComponentPropertyMetadata> = Record<string, any>, TContextValues extends Record<string, ComponentPropertyMetadata> = Record<string, any>, TApis extends Record<string, ComponentApiMetadata> = Record<string, any>> = {
|
|
338
344
|
status?: "stable" | "experimental" | "deprecated" | "in progress";
|
|
339
345
|
description?: string;
|
|
340
346
|
shortDescription?: string;
|
package/dist/lib/xmlui.d.ts
CHANGED
|
@@ -287,7 +287,7 @@ export declare const Button: default_2.ForwardRefExoticComponent<{
|
|
|
287
287
|
accessibilityProps?: any;
|
|
288
288
|
autoFocus?: boolean;
|
|
289
289
|
contextualLabel?: string;
|
|
290
|
-
} & Pick<default_2.HTMLAttributes<HTMLButtonElement>, "className" | "aria-disabled" | "aria-label" | "aria-controls" | "aria-expanded" | "
|
|
290
|
+
} & Pick<default_2.HTMLAttributes<HTMLButtonElement>, "className" | "aria-disabled" | "aria-label" | "aria-controls" | "aria-expanded" | "onFocus" | "onBlur" | "onClick" | "tabIndex" | "onMouseEnter" | "onMouseLeave"> & default_2.RefAttributes<HTMLButtonElement>>;
|
|
291
291
|
|
|
292
292
|
declare type ButtonThemeColor = (typeof buttonThemeValues)[number];
|
|
293
293
|
|
|
@@ -346,6 +346,12 @@ declare type CompilationUnit = {
|
|
|
346
346
|
*/
|
|
347
347
|
declare type ComponentApi = Record<string, ((...args: any[]) => any) | boolean>;
|
|
348
348
|
|
|
349
|
+
declare type ComponentApiMetadata = {
|
|
350
|
+
readonly description: string;
|
|
351
|
+
readonly signature?: string;
|
|
352
|
+
readonly parameters?: Record<string, string>;
|
|
353
|
+
};
|
|
354
|
+
|
|
349
355
|
declare type ComponentCompilation = CompilationUnit & {
|
|
350
356
|
/** The compiled markup of the component file */
|
|
351
357
|
definition: CompoundComponentDef;
|
|
@@ -432,7 +438,7 @@ declare type ComponentExtension = ComponentRendererDef | CompoundComponentDef;
|
|
|
432
438
|
|
|
433
439
|
export declare type ComponentLike = ComponentDef | CompoundComponentDef;
|
|
434
440
|
|
|
435
|
-
export declare type ComponentMetadata<TProps extends Record<string, ComponentPropertyMetadata> = Record<string, any>, TEvents extends Record<string, ComponentPropertyMetadata> = Record<string, any>, TContextValues extends Record<string, ComponentPropertyMetadata> = Record<string, any>, TApis extends Record<string,
|
|
441
|
+
export declare type ComponentMetadata<TProps extends Record<string, ComponentPropertyMetadata> = Record<string, any>, TEvents extends Record<string, ComponentPropertyMetadata> = Record<string, any>, TContextValues extends Record<string, ComponentPropertyMetadata> = Record<string, any>, TApis extends Record<string, ComponentApiMetadata> = Record<string, any>> = {
|
|
436
442
|
status?: "stable" | "experimental" | "deprecated" | "in progress";
|
|
437
443
|
description?: string;
|
|
438
444
|
shortDescription?: string;
|
package/dist/lib/xmlui.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { y as e, A as t, B as o, E as r, I as n, L as p, J as u, N as i, z as l, i as m, h as C, S as d, b as x, k as T, l as c, F as S, G as A, H as g, V as h, D as v, c as B, e as I, f as L, w as b, j as k, p as y, s as E, t as M, M as V, n as f, q as H, O as N, v as R, K as D, u as U, C as X, x as j } from "./index-
|
|
1
|
+
import { y as e, A as t, B as o, E as r, I as n, L as p, J as u, N as i, z as l, i as m, h as C, S as d, b as x, k as T, l as c, F as S, G as A, H as g, V as h, D as v, c as B, e as I, f as L, w as b, j as k, p as y, s as E, t as M, M as V, n as f, q as H, O as N, v as R, K as D, u as U, C as X, x as j } from "./index-Bm0sNu3Q.mjs";
|
|
2
2
|
import { X as w } from "./xmlui-serializer-jEIItW8v.mjs";
|
|
3
3
|
export {
|
|
4
4
|
e as ApiInterceptorProvider,
|