xmlui 0.10.8 → 0.10.11

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.
Files changed (118) hide show
  1. package/dist/{metadata/apiInterceptorWorker-Bb5-fQup.mjs → lib/apiInterceptorWorker-DPgtUtdA.mjs} +5870 -3195
  2. package/dist/lib/index-BuIblMfO.mjs +50034 -0
  3. package/dist/lib/index.css +1 -1
  4. package/dist/lib/initMock-CV-9AUzP.mjs +843 -0
  5. package/dist/lib/language-server-web-worker.mjs +8 -7
  6. package/dist/lib/language-server.mjs +6 -6
  7. package/dist/lib/{metadata-utils-DrEexTX9.mjs → metadata-utils-DzONZF-e.mjs} +161 -111
  8. package/dist/lib/scss/components-core/theming/_themes.scss +6 -7
  9. package/dist/lib/{server-common-ddmPKhK6.mjs → server-common-Dsyp3-Ro.mjs} +14949 -10880
  10. package/dist/lib/syntax-monaco.mjs +14 -11
  11. package/dist/lib/syntax-textmate.d.ts +2 -2
  12. package/dist/lib/syntax-textmate.mjs +128 -109
  13. package/dist/lib/transform-CBz7TQJh.mjs +7375 -0
  14. package/dist/lib/xmlui-parser.d.ts +3 -3
  15. package/dist/lib/xmlui-parser.mjs +49 -49
  16. package/dist/lib/xmlui-serializer-Bf9bdvlV.mjs +667 -0
  17. package/dist/lib/xmlui.d.ts +16 -11
  18. package/dist/lib/xmlui.mjs +44 -44
  19. package/dist/{lib/apiInterceptorWorker-DH8wqOVq.mjs → metadata/apiInterceptorWorker-BmKP8bnq.mjs} +5432 -3502
  20. package/dist/metadata/collectedComponentMetadata-Cdi6AFD3.mjs +55851 -0
  21. package/dist/metadata/initMock-B7OlSKKb.mjs +843 -0
  22. package/dist/metadata/style.css +1 -1
  23. package/dist/metadata/xmlui-metadata.mjs +3 -3
  24. package/dist/metadata/xmlui-metadata.umd.js +207 -419
  25. package/dist/scripts/package.json +3 -1
  26. package/dist/scripts/src/components/APICall/APICall.js +4 -4
  27. package/dist/scripts/src/components/Accordion/Accordion.js +1 -1
  28. package/dist/scripts/src/components/Accordion/AccordionItemNative.js +2 -2
  29. package/dist/scripts/src/components/Animation/AnimationNative.js +259 -0
  30. package/dist/scripts/src/components/App/App.js +10 -0
  31. package/dist/scripts/src/components/App/AppNative.js +29 -9
  32. package/dist/scripts/src/components/AutoComplete/AutoComplete.js +1 -1
  33. package/dist/scripts/src/components/AutoComplete/AutoCompleteNative.js +5 -4
  34. package/dist/scripts/src/components/Breakout/BreakoutNative.js +2 -2
  35. package/dist/scripts/src/components/Button/Button.js +1 -1
  36. package/dist/scripts/src/components/Button/ButtonNative.js +4 -0
  37. package/dist/scripts/src/components/Carousel/Carousel.js +13 -20
  38. package/dist/scripts/src/components/Carousel/CarouselContext.js +11 -2
  39. package/dist/scripts/src/components/Carousel/CarouselItemNative.js +2 -2
  40. package/dist/scripts/src/components/Carousel/CarouselNative.js +2 -2
  41. package/dist/scripts/src/components/Charts/AreaChart/AreaChart.js +92 -0
  42. package/dist/scripts/src/components/Charts/AreaChart/AreaChartNative.js +127 -0
  43. package/dist/scripts/src/components/Charts/BarChart/BarChart.js +4 -4
  44. package/dist/scripts/src/components/Charts/BarChart/BarChartNative.js +90 -82
  45. package/dist/scripts/src/components/Charts/LineChart/LineChart.js +3 -3
  46. package/dist/scripts/src/components/Charts/LineChart/LineChartNative.js +5 -1
  47. package/dist/scripts/src/components/Charts/RadarChart/RadarChart.js +92 -0
  48. package/dist/scripts/src/components/Charts/RadarChart/RadarChartNative.js +125 -0
  49. package/dist/scripts/src/components/Checkbox/Checkbox.js +2 -1
  50. package/dist/scripts/src/components/ComponentProvider.js +4 -0
  51. package/dist/scripts/src/components/DataSource/DataSource.js +124 -0
  52. package/dist/scripts/src/components/DateInput/DateInput.js +7 -9
  53. package/dist/scripts/src/components/DateInput/DateInputNative.js +101 -38
  54. package/dist/scripts/src/components/DropdownMenu/DropdownMenu.js +1 -1
  55. package/dist/scripts/src/components/ExpandableItem/ExpandableItemNative.js +18 -12
  56. package/dist/scripts/src/components/Footer/Footer.js +1 -1
  57. package/dist/scripts/src/components/FormItem/FormItem.js +1 -1
  58. package/dist/scripts/src/components/FormItem/ItemWithLabel.js +3 -3
  59. package/dist/scripts/src/components/Heading/Heading.js +83 -28
  60. package/dist/scripts/src/components/Heading/HeadingNative.js +10 -1
  61. package/dist/scripts/src/components/HtmlTags/HtmlTags.js +1 -1
  62. package/dist/scripts/src/components/Image/ImageNative.js +13 -0
  63. package/dist/scripts/src/components/Input/PartialInput.js +28 -3
  64. package/dist/scripts/src/components/List/ListNative.js +6 -5
  65. package/dist/scripts/src/components/NavLink/NavLink.js +1 -1
  66. package/dist/scripts/src/components/NavPanel/NavPanelNative.js +3 -8
  67. package/dist/scripts/src/components/NumberBox/NumberBoxNative.js +2 -2
  68. package/dist/scripts/src/components/Option/Option.js +2 -2
  69. package/dist/scripts/src/components/Option/OptionNative.js +12 -1
  70. package/dist/scripts/src/components/Pagination/Pagination.js +2 -1
  71. package/dist/scripts/src/components/RadioGroup/RadioGroup.js +7 -3
  72. package/dist/scripts/src/components/RadioGroup/RadioGroupNative.js +20 -5
  73. package/dist/scripts/src/components/RadioGroup/RadioItemNative.js +2 -1
  74. package/dist/scripts/src/components/Select/Select.js +1 -1
  75. package/dist/scripts/src/components/Select/SelectNative.js +1 -1
  76. package/dist/scripts/src/components/Slider/Slider.js +10 -8
  77. package/dist/scripts/src/components/Slider/SliderNative.js +24 -21
  78. package/dist/scripts/src/components/Switch/Switch.js +2 -1
  79. package/dist/scripts/src/components/Table/Table.js +1 -1
  80. package/dist/scripts/src/components/Table/TableNative.js +18 -13
  81. package/dist/scripts/src/components/TableOfContents/TableOfContents.js +1 -1
  82. package/dist/scripts/src/components/Text/Text.js +32 -14
  83. package/dist/scripts/src/components/Text/TextNative.js +17 -5
  84. package/dist/scripts/src/components/TextArea/TextAreaNative.js +3 -3
  85. package/dist/scripts/src/components/TextBox/TextBoxNative.js +3 -3
  86. package/dist/scripts/src/components/TimeInput/TimeInput.js +10 -10
  87. package/dist/scripts/src/components/TimeInput/TimeInputNative.js +87 -38
  88. package/dist/scripts/src/components/Toggle/Toggle.js +2 -2
  89. package/dist/scripts/src/components/Tooltip/Tooltip.js +9 -9
  90. package/dist/scripts/src/components/Tooltip/TooltipNative.js +4 -4
  91. package/dist/scripts/src/components/abstractions.js +7 -3
  92. package/dist/scripts/src/components/collectedComponentMetadata.js +316 -0
  93. package/dist/scripts/src/components-core/RestApiProxy.js +3 -1
  94. package/dist/scripts/src/components-core/StandaloneApp.js +823 -0
  95. package/dist/scripts/src/components-core/interception/ApiInterceptor.js +4 -1
  96. package/dist/scripts/src/components-core/interception/Backend.js +13 -7
  97. package/dist/scripts/src/components-core/markup-check.js +279 -0
  98. package/dist/scripts/src/components-core/parts.js +0 -4
  99. package/dist/scripts/src/components-core/rendering/ComponentAdapter.js +36 -16
  100. package/dist/scripts/src/components-core/script-runner/eval-tree-async.js +4 -1
  101. package/dist/scripts/src/components-core/script-runner/eval-tree-sync.js +4 -1
  102. package/dist/scripts/src/components-core/theming/themes/root.js +30 -17
  103. package/dist/scripts/src/components-core/theming/transformThemeVars.js +14 -7
  104. package/dist/scripts/src/components-core/xmlui-parser.js +60 -43
  105. package/dist/scripts/src/index.js +120 -0
  106. package/dist/scripts/src/parsers/xmlui-parser/transform.js +15 -4
  107. package/dist/standalone/xmlui-standalone.es.d.ts +23 -15
  108. package/dist/standalone/xmlui-standalone.umd.js +319 -823
  109. package/package.json +3 -1
  110. package/src/syntax/textMate/xmlui.tmLanguage.json +2 -2
  111. package/dist/lib/index-CqzCWOUw.mjs +0 -38579
  112. package/dist/lib/initMock-C5CXs0-5.mjs +0 -568
  113. package/dist/lib/transform-SMWeyMoq.mjs +0 -5391
  114. package/dist/lib/xmlui-serializer-a0O0jFY-.mjs +0 -497
  115. package/dist/metadata/collectedComponentMetadata-DIT5VbaH.mjs +0 -42985
  116. package/dist/metadata/initMock-D6Vi9kU_.mjs +0 -568
  117. package/dist/scripts/src/components-core/ScrollContext.js +0 -11
  118. package/dist/scripts/src/components-core/utils/audio-utils.js +0 -83
@@ -1,9 +1,10 @@
1
- import { m as o, s as n } from "./server-common-ddmPKhK6.mjs";
2
- var e = o;
3
- const s = new e.BrowserMessageReader(self);
4
- s.listen((r) => {
5
- console.log("Received message from main thread:", r);
1
+ import { m as main, s as start } from "./server-common-Dsyp3-Ro.mjs";
2
+ var browser = main;
3
+ const messageReader = new browser.BrowserMessageReader(self);
4
+ messageReader.listen((message) => {
5
+ console.log("Received message from main thread:", message);
6
6
  });
7
- const a = new e.BrowserMessageWriter(self), t = e.createConnection(s, a);
7
+ const messageWriter = new browser.BrowserMessageWriter(self);
8
+ const connection = browser.createConnection(messageReader, messageWriter);
8
9
  console.log("starting lang server");
9
- n(t);
10
+ start(connection);
@@ -1,9 +1,9 @@
1
- import { m as n, s as a } from "./server-common-ddmPKhK6.mjs";
2
- var o = n;
3
- function r() {
4
- const t = o.createConnection(o.ProposedFeatures.all);
5
- a(t);
1
+ import { m as main, s as start$1 } from "./server-common-Dsyp3-Ro.mjs";
2
+ var node = main;
3
+ function start() {
4
+ const connection = node.createConnection(node.ProposedFeatures.all);
5
+ start$1(connection);
6
6
  }
7
7
  export {
8
- r as start
8
+ start
9
9
  };
@@ -1,5 +1,5 @@
1
- import { u as m, x as f } from "./transform-SMWeyMoq.mjs";
2
- const M = [
1
+ import { u as onPrefixRegex, x as stripOnPrefix } from "./transform-CBz7TQJh.mjs";
2
+ const LinkTargetMd = [
3
3
  {
4
4
  value: "_self",
5
5
  description: "The link will open in the same frame as it was clicked."
@@ -20,7 +20,8 @@ const M = [
20
20
  value: "_unfencedTop",
21
21
  description: "Allows embedded fenced frames to navigate the top-level frame, i.e. traversing beyond the root of the fenced frame."
22
22
  }
23
- ], u = [
23
+ ];
24
+ const viewportSizeMd = [
24
25
  {
25
26
  value: "xs",
26
27
  description: "Extra small devices (e.g., a small smartphone with low screen resolution)"
@@ -30,16 +31,27 @@ const M = [
30
31
  { value: "lg", description: "Large devices (e.g., a laptop)" },
31
32
  { value: "xl", description: 'Extra large devices (e.g., a standard 20" monitor)' },
32
33
  { value: "xxl", description: 'Extra extra large devices (e.g., a large 29" monitor)' }
33
- ], R = Object.keys(u), P = [
34
+ ];
35
+ const viewportSizeNames = Object.keys(viewportSizeMd);
36
+ const sizeValues = ["xs", "sm", "md", "lg", "xl"];
37
+ const sizeMd = [
34
38
  { value: "xs", description: "Extra small" },
35
39
  { value: "sm", description: "Small" },
36
40
  { value: "md", description: "Medium" },
37
- { value: "lg", description: "Large" }
38
- ], g = ["attention", "primary", "secondary"], A = [...g], O = [
41
+ { value: "lg", description: "Large" },
42
+ { value: "xl", description: "Extra large" }
43
+ ];
44
+ function isSizeType(value) {
45
+ return sizeValues.includes(value);
46
+ }
47
+ const buttonThemeValues = ["attention", "primary", "secondary"];
48
+ const buttonThemeNames = [...buttonThemeValues];
49
+ const buttonThemeMd = [
39
50
  { value: "attention", description: "Attention state theme color" },
40
51
  { value: "primary", description: "Primary theme color" },
41
52
  { value: "secondary", description: "Secondary theme color" }
42
- ], z = [
53
+ ];
54
+ const buttonTypesMd = [
43
55
  {
44
56
  value: "button",
45
57
  description: "Regular behavior that only executes logic if explicitly determined."
@@ -52,7 +64,10 @@ const M = [
52
64
  value: "reset",
53
65
  description: "Resets all the controls to their initial values. Using it is ill advised for UX reasons."
54
66
  }
55
- ], v = ["solid", "outlined", "ghost"], C = [...v], L = [
67
+ ];
68
+ const buttonVariantValues = ["solid", "outlined", "ghost"];
69
+ const buttonVariantNames = [...buttonVariantValues];
70
+ const buttonVariantMd = [
56
71
  { value: "solid", description: "A button with a border and a filled background." },
57
72
  {
58
73
  value: "outlined",
@@ -62,9 +77,10 @@ const M = [
62
77
  value: "ghost",
63
78
  description: "A button with no border and fill. Only the label is visible; the background is colored when hovered or clicked."
64
79
  }
65
- ], b = ["start", "center", "end"];
66
- [...b];
67
- const D = [
80
+ ];
81
+ const alignmentOptionValues = ["start", "center", "end"];
82
+ [...alignmentOptionValues];
83
+ const alignmentOptionMd = [
68
84
  { value: "center", description: "Place the content in the middle" },
69
85
  {
70
86
  value: "start",
@@ -74,10 +90,15 @@ const D = [
74
90
  value: "end",
75
91
  description: "Justify the content to the right (to the left if in right-to-left)"
76
92
  }
77
- ], I = ["horizontal", "vertical"], N = [
93
+ ];
94
+ const orientationOptionValues = ["horizontal", "vertical"];
95
+ const orientationOptionMd = [
78
96
  { value: "horizontal", description: "The component will fill the available space horizontally" },
79
97
  { value: "vertical", description: "The component will fill the available space vertically" }
80
- ], y = ["start", "end"], W = [...y], K = [
98
+ ];
99
+ const iconPositionValues = ["start", "end"];
100
+ const iconPositionNames = [...iconPositionValues];
101
+ const iconPositionMd = [
81
102
  {
82
103
  value: "start",
83
104
  description: "The icon will appear at the start (left side when the left-to-right direction is set)"
@@ -86,7 +107,8 @@ const D = [
86
107
  value: "end",
87
108
  description: "The icon will appear at the end (right side when the left-to-right direction is set)"
88
109
  }
89
- ], j = [
110
+ ];
111
+ const labelPositionMd = [
90
112
  {
91
113
  value: "start",
92
114
  description: "The left side of the input (left-to-right) or the right side of the input (right-to-left)"
@@ -97,14 +119,18 @@ const D = [
97
119
  },
98
120
  { value: "top", description: "The top of the input" },
99
121
  { value: "bottom", description: "The bottom of the input" }
100
- ], x = ["start", "end"], B = [...x], _ = [
122
+ ];
123
+ const triggerPositionValues = ["start", "end"];
124
+ const triggerPositionNames = [...triggerPositionValues];
125
+ const validationStatusMd = [
101
126
  // { value: "none", description: "No indicator" },
102
127
  { value: "valid", description: "Visual indicator for an input that is accepted" },
103
128
  { value: "warning", description: "Visual indicator for an input that produced a warning" },
104
129
  { value: "error", description: "Visual indicator for an input that produced an error" }
105
- ], w = ["top", "bottom"];
106
- [...w];
107
- const E = {
130
+ ];
131
+ const scrollAnchoringValues = ["top", "bottom"];
132
+ [...scrollAnchoringValues];
133
+ const TextVariantElement = {
108
134
  abbr: "abbr",
109
135
  cite: "cite",
110
136
  code: "code",
@@ -129,7 +155,8 @@ const E = {
129
155
  subheading: "h6",
130
156
  tableheading: "h6",
131
157
  secondary: "span"
132
- }, H = [
158
+ };
159
+ const variantOptionsMd = [
133
160
  { value: "abbr", description: "Represents an abbreviation or acronym" },
134
161
  { value: "caption", description: "Represents the caption (or title) of a table" },
135
162
  { value: "cite", description: "Is used to mark up the title of a cited work" },
@@ -172,7 +199,11 @@ const E = {
172
199
  { value: "tableheading", description: "Indicates that the text is a table heading" },
173
200
  { value: "title", description: "Indicates that the text is the title of some other content" },
174
201
  { value: "var", description: "Represents the name of a variable in a mathematical expression" }
175
- ], k = ["title"], T = ["cite", "dateTime"], U = [...k, ...T], F = [
202
+ ];
203
+ const AbbreviationKeys = ["title"];
204
+ const InsertedKeys = ["cite", "dateTime"];
205
+ const VariantPropsKeys = [...AbbreviationKeys, ...InsertedKeys];
206
+ const httpMethodNames = [
176
207
  "get",
177
208
  "post",
178
209
  "put",
@@ -182,7 +213,8 @@ const E = {
182
213
  "options",
183
214
  "trace",
184
215
  "connect"
185
- ], r = [
216
+ ];
217
+ const layoutOptionKeys = [
186
218
  "horizontalAlignment",
187
219
  "verticalAlignment",
188
220
  "orientation",
@@ -273,81 +305,96 @@ const E = {
273
305
  "writingMode",
274
306
  "transition"
275
307
  ];
276
- class q {
277
- constructor(t) {
278
- this.metadataCollection = t;
308
+ class MetadataProvider {
309
+ constructor(metadataCollection) {
310
+ this.metadataCollection = metadataCollection;
279
311
  }
280
312
  componentNames() {
281
313
  return Object.keys(this.metadataCollection);
282
314
  }
283
- getComponent(t) {
284
- const e = this.metadataCollection[t];
285
- return e ? new S(e) : null;
315
+ getComponent(componentName) {
316
+ const providerData = this.metadataCollection[componentName];
317
+ if (!providerData) {
318
+ return null;
319
+ }
320
+ return new ComponentMetadataProvider(providerData);
286
321
  }
287
322
  }
288
- class S {
289
- constructor(t) {
290
- this.metadata = t;
323
+ class ComponentMetadataProvider {
324
+ constructor(metadata) {
325
+ this.metadata = metadata;
291
326
  }
292
327
  /**
293
328
  * Retrieves the metadata for a given property, explicit or implicit.
294
329
  * @param name The name of the property.
295
330
  * @returns The metadata for the property, or `undefined` if not found.
296
331
  */
297
- getProp(t) {
298
- return this.metadata.props[t] ?? n[t];
332
+ getProp(name) {
333
+ return this.metadata.props[name] ?? implicitPropsMetadata[name];
299
334
  }
300
- getAttr(t) {
301
- var s, l, d;
302
- if (m.test(t)) {
303
- const h = f(t), c = (s = this.metadata.events) == null ? void 0 : s[h];
304
- if (c)
305
- return c;
335
+ getAttr(name) {
336
+ var _a, _b, _c;
337
+ if (onPrefixRegex.test(name)) {
338
+ const eventName = stripOnPrefix(name);
339
+ const event = (_a = this.metadata.events) == null ? void 0 : _a[eventName];
340
+ if (event) {
341
+ return event;
342
+ }
343
+ }
344
+ const explicitProp = (_b = this.metadata.props) == null ? void 0 : _b[name];
345
+ if (explicitProp) {
346
+ return explicitProp;
347
+ }
348
+ const api = (_c = this.metadata.apis) == null ? void 0 : _c[name];
349
+ if (api) {
350
+ return api;
351
+ }
352
+ const layout = layoutMdForKey(name);
353
+ if (layout) {
354
+ return layout;
306
355
  }
307
- const e = (l = this.metadata.props) == null ? void 0 : l[t];
308
- if (e)
309
- return e;
310
- const a = (d = this.metadata.apis) == null ? void 0 : d[t];
311
- if (a)
312
- return a;
313
- const o = p(t);
314
- return o || n[t];
356
+ return implicitPropsMetadata[name];
315
357
  }
316
- getAttrForKind({ name: t, kind: e }) {
317
- switch (e) {
358
+ getAttrForKind({ name, kind }) {
359
+ switch (kind) {
318
360
  case "api":
319
- return this.metadata.apis[t];
361
+ return this.metadata.apis[name];
320
362
  case "event":
321
- return this.metadata.events[t];
363
+ return this.metadata.events[name];
322
364
  case "prop":
323
- return this.metadata.props[t];
365
+ return this.metadata.props[name];
324
366
  case "implicit":
325
- return n[t];
367
+ return implicitPropsMetadata[name];
326
368
  case "layout":
327
- return p(t);
369
+ return layoutMdForKey(name);
328
370
  }
329
371
  }
330
372
  getAllAttributes() {
331
- const t = [];
332
- for (const e of Object.keys(this.metadata.props ?? {}))
333
- t.push({ name: e, kind: "prop" });
334
- for (const e of Object.keys(this.metadata.events ?? {}))
335
- t.push({ name: e, kind: "event" });
336
- for (const e of Object.keys(this.metadata.apis ?? {}))
337
- t.push({ name: e, kind: "api" });
338
- for (const e of r)
339
- t.push({ name: e, kind: "layout" });
340
- for (const e of Object.keys(n))
341
- t.push({ name: e, kind: "implicit" });
342
- return t;
373
+ const attrNames = [];
374
+ for (const key of Object.keys(this.metadata.props ?? {})) {
375
+ attrNames.push({ name: key, kind: "prop" });
376
+ }
377
+ for (const key of Object.keys(this.metadata.events ?? {})) {
378
+ attrNames.push({ name: key, kind: "event" });
379
+ }
380
+ for (const key of Object.keys(this.metadata.apis ?? {})) {
381
+ attrNames.push({ name: key, kind: "api" });
382
+ }
383
+ for (const layoutKey of layoutOptionKeys) {
384
+ attrNames.push({ name: layoutKey, kind: "layout" });
385
+ }
386
+ for (const implicitPropKey of Object.keys(implicitPropsMetadata)) {
387
+ attrNames.push({ name: implicitPropKey, kind: "implicit" });
388
+ }
389
+ return attrNames;
343
390
  }
344
- getEvent(t) {
345
- var e;
346
- return (e = this.metadata.events) == null ? void 0 : e[t];
391
+ getEvent(name) {
392
+ var _a;
393
+ return (_a = this.metadata.events) == null ? void 0 : _a[name];
347
394
  }
348
- getApi(t) {
349
- var e;
350
- return (e = this.metadata.apis) == null ? void 0 : e[t];
395
+ getApi(name) {
396
+ var _a;
397
+ return (_a = this.metadata.apis) == null ? void 0 : _a[name];
351
398
  }
352
399
  get events() {
353
400
  return this.metadata.events;
@@ -368,26 +415,28 @@ class S {
368
415
  return this.metadata;
369
416
  }
370
417
  }
371
- function p(i) {
372
- const t = {
418
+ function layoutMdForKey(name) {
419
+ const metadata = {
373
420
  description: "Layout property. Not yet documented"
374
421
  };
375
- if (r.includes(i))
376
- return t;
377
- for (const e of u) {
378
- const a = "-" + e.value;
379
- if (i.endsWith(a)) {
380
- const o = i.slice(0, -a.length);
381
- if (r.includes(o))
382
- return t;
422
+ if (layoutOptionKeys.includes(name)) {
423
+ return metadata;
424
+ }
425
+ for (const size of viewportSizeMd) {
426
+ const suffix = "-" + size.value;
427
+ if (name.endsWith(suffix)) {
428
+ const nameWithoutSize = name.slice(0, -suffix.length);
429
+ if (layoutOptionKeys.includes(nameWithoutSize)) {
430
+ return metadata;
431
+ }
383
432
  }
384
433
  }
385
434
  return null;
386
435
  }
387
- const n = {
436
+ const implicitPropsMetadata = {
388
437
  inspect: {
389
438
  description: "Determines whether the component can be inspected or not",
390
- defaultValue: !1,
439
+ defaultValue: false,
391
440
  valueType: "boolean"
392
441
  },
393
442
  data: {
@@ -395,37 +444,38 @@ const n = {
395
444
  },
396
445
  when: {
397
446
  description: "Specifies a condition that must be met for the component to be displayed",
398
- defaultValue: !0,
447
+ defaultValue: true,
399
448
  valueType: "boolean"
400
449
  }
401
450
  };
402
- function J(i) {
403
- return "on" + i[0].toUpperCase() + i.substring(1);
451
+ function addOnPrefix(name) {
452
+ return "on" + name[0].toUpperCase() + name.substring(1);
404
453
  }
405
454
  export {
406
- M as L,
407
- q as M,
408
- E as T,
409
- U as V,
410
- J as a,
411
- b,
412
- D as c,
413
- z as d,
414
- O as e,
415
- L as f,
416
- r as g,
417
- H as h,
418
- K as i,
419
- w as j,
420
- A as k,
421
- j as l,
422
- W as m,
423
- C as n,
424
- N as o,
425
- F as p,
426
- I as q,
427
- R as r,
428
- P as s,
429
- B as t,
430
- _ as v
455
+ LinkTargetMd as L,
456
+ MetadataProvider as M,
457
+ TextVariantElement as T,
458
+ VariantPropsKeys as V,
459
+ addOnPrefix as a,
460
+ alignmentOptionValues as b,
461
+ alignmentOptionMd as c,
462
+ iconPositionMd as d,
463
+ buttonTypesMd as e,
464
+ buttonThemeMd as f,
465
+ buttonVariantMd as g,
466
+ layoutOptionKeys as h,
467
+ isSizeType as i,
468
+ variantOptionsMd as j,
469
+ scrollAnchoringValues as k,
470
+ labelPositionMd as l,
471
+ buttonThemeNames as m,
472
+ iconPositionNames as n,
473
+ orientationOptionMd as o,
474
+ buttonVariantNames as p,
475
+ httpMethodNames as q,
476
+ orientationOptionValues as r,
477
+ sizeMd as s,
478
+ triggerPositionNames as t,
479
+ viewportSizeNames as u,
480
+ validationStatusMd as v
431
481
  };
@@ -61,7 +61,7 @@ $THEME-VAR-PREFIX: xmlui;
61
61
  @if ($num > 1) {
62
62
  $offset: (-1 * $num) - 1;
63
63
  }
64
- //@if(string.index(#{$fallbackValue}, 'fontSize-small')) {
64
+ //@if(string.index(#{$fallbackValue}, 'fontSize-sm')) {
65
65
  // @debug 'original: ' + #{$componentVariable} + ", varcount: " + $num;
66
66
  // @debug 'concatet:' + var(#{str-slice($componentVariable, 5, -2)}, #{$fallbackValue});
67
67
  // @debug 'concat 2:' + var(#{str-slice($componentVariable, 5, $offset)}, #{$fallbackValue});
@@ -771,12 +771,11 @@ $borderColor--disabled: createVar(borderColor--disabled);
771
771
  $backgroundColor--selected: createVar(backgroundColor--selected);
772
772
  $fontFamily: createVar(fontFamily);
773
773
  $fontSize-tiny: createVar(fontSize-tiny);
774
- $fontSize-smaller: createVar(fontSize-smaller);
775
- $fontSize-small: createVar(fontSize-small);
776
- $fontSize-normal: createVar(fontSize-normal);
777
- $fontSize-medium: createVar(fontSize-medium);
778
- $fontSize-large: createVar(fontSize-large);
779
- $fontSize-larger: createVar(fontSize-larger);
774
+ $fontSize-xs: createVar(fontSize-xs);
775
+ $fontSize-sm: createVar(fontSize-sm);
776
+ $fontSize-base: createVar(fontSize-base);
777
+ $fontSize-xl: createVar(fontSize-xl);
778
+ $fontSize-2xl: createVar(fontSize-2xl);
780
779
 
781
780
  $backgroundColor-overlay: createVar(backgroundColor-overlay);
782
781
  $color-info: createVar(color-info);