xmlui 0.7.34 → 0.8.0

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 (76) hide show
  1. package/dist/_commonjsHelpers-BkfeUUK-.mjs +28 -0
  2. package/dist/{apiInterceptorWorker-DHDoRL37.mjs → apiInterceptorWorker-C5K2aqZR.mjs} +1 -1
  3. package/dist/{index-B90aqc2f.mjs → index-DG5iykVX.mjs} +11215 -11222
  4. package/dist/index.css +1 -1
  5. package/dist/language-server.d.ts +24 -0
  6. package/dist/language-server.mjs +14331 -0
  7. package/dist/lint-BN6SMVda.mjs +4902 -0
  8. package/dist/parser-Bko8vvFS.mjs +746 -0
  9. package/dist/scripts/src/components/Accordion/Accordion.js +9 -9
  10. package/dist/scripts/src/components/App/App.js +3 -3
  11. package/dist/scripts/src/components/AppHeader/AppHeader.js +3 -3
  12. package/dist/scripts/src/components/AutoComplete/AutoComplete.js +14 -14
  13. package/dist/scripts/src/components/Avatar/Avatar.js +4 -4
  14. package/dist/scripts/src/components/Badge/Badge.js +5 -5
  15. package/dist/scripts/src/components/Button/Button.js +64 -64
  16. package/dist/scripts/src/components/Card/Card.js +3 -3
  17. package/dist/scripts/src/components/Carousel/Carousel.js +14 -14
  18. package/dist/scripts/src/components/Checkbox/Checkbox.js +14 -14
  19. package/dist/scripts/src/components/ContentSeparator/ContentSeparator.js +1 -1
  20. package/dist/scripts/src/components/DatePicker/DatePicker.js +8 -8
  21. package/dist/scripts/src/components/DropdownMenu/DropdownMenu.js +8 -8
  22. package/dist/scripts/src/components/FileUploadDropZone/FileUploadDropZone.js +3 -3
  23. package/dist/scripts/src/components/Footer/Footer.js +4 -4
  24. package/dist/scripts/src/components/Form/Form.js +16 -16
  25. package/dist/scripts/src/components/FormItem/FormItem.js +2 -2
  26. package/dist/scripts/src/components/Heading/Heading.js +1 -1
  27. package/dist/scripts/src/components/HtmlTags/HtmlTags.js +11 -11
  28. package/dist/scripts/src/components/Link/Link.js +6 -6
  29. package/dist/scripts/src/components/List/ListNative.js +53 -39
  30. package/dist/scripts/src/components/Markdown/Markdown.js +3 -3
  31. package/dist/scripts/src/components/ModalDialog/ModalDialog.js +2 -2
  32. package/dist/scripts/src/components/NavGroup/NavGroup.js +2 -2
  33. package/dist/scripts/src/components/NavLink/NavLink.js +3 -3
  34. package/dist/scripts/src/components/NavPanel/NavPanel.js +2 -2
  35. package/dist/scripts/src/components/NoResult/NoResult.js +1 -1
  36. package/dist/scripts/src/components/OffCanvas/OffCanvas.js +1 -1
  37. package/dist/scripts/src/components/ProgressBar/ProgressBar.js +2 -2
  38. package/dist/scripts/src/components/RadioGroup/RadioGroup.js +16 -16
  39. package/dist/scripts/src/components/Select/Select.js +16 -16
  40. package/dist/scripts/src/components/Slider/Slider.js +11 -11
  41. package/dist/scripts/src/components/Spinner/Spinner.js +2 -2
  42. package/dist/scripts/src/components/Splitter/Splitter.js +1 -1
  43. package/dist/scripts/src/components/StickyBox/StickyBox.js +1 -1
  44. package/dist/scripts/src/components/Switch/Switch.js +18 -18
  45. package/dist/scripts/src/components/Table/Table.js +17 -17
  46. package/dist/scripts/src/components/TableOfContents/TableOfContents.js +6 -6
  47. package/dist/scripts/src/components/Tabs/Tabs.js +12 -12
  48. package/dist/scripts/src/components/Text/Text.js +21 -21
  49. package/dist/scripts/src/components/TextBox/TextBox.js +11 -11
  50. package/dist/scripts/src/components-core/theming/themes/base-utils.js +0 -16
  51. package/dist/scripts/src/components-core/theming/themes/root.js +73 -86
  52. package/dist/scripts/src/components-core/theming/themes/solid.js +1 -1
  53. package/dist/scripts/src/components-core/theming/themes/xmlui.js +3 -3
  54. package/dist/scripts/src/components-core/theming/transformThemeVars.js +152 -152
  55. package/dist/scripts/src/parsers/scripting/Parser.js +2 -2
  56. package/dist/style.css +1 -1
  57. package/dist/xmlui-metadata.mjs +7916 -7916
  58. package/dist/xmlui-metadata.umd.js +11 -11
  59. package/dist/xmlui-parser.mjs +53 -52
  60. package/dist/xmlui-standalone.umd.js +144 -144
  61. package/dist/xmlui.d.ts +2 -2
  62. package/dist/xmlui.mjs +1 -1
  63. package/package.json +11 -5
  64. package/dist/lint-D3rXRbP1.mjs +0 -5645
  65. package/dist/scripts/bin/language-server.js +0 -11
  66. package/dist/scripts/src/components-core/abstractions/standalone.js +0 -2
  67. package/dist/scripts/src/components-core/interception/abstractions.js +0 -2
  68. package/dist/scripts/src/language-server/metadata.js +0 -8206
  69. package/dist/scripts/src/language-server/server.js +0 -135
  70. package/dist/scripts/src/language-server/services/completion.js +0 -100
  71. package/dist/scripts/src/language-server/services/hover.js +0 -170
  72. package/dist/scripts/src/language-server/services/syntax-node-utilities.js +0 -22
  73. package/dist/scripts/src/parsers/xmlui-parser/index.js +0 -29
  74. package/dist/scripts/src/parsers/xmlui-parser/lint.js +0 -177
  75. package/dist/scripts/src/parsers/xmlui-parser/xmlui-serializer.js +0 -582
  76. package/dist/scripts/src/parsers/xmlui-parser/xmlui-tree.js +0 -2
@@ -105,36 +105,36 @@ function generateButtonTones(theme) {
105
105
  variants.forEach((variant) => {
106
106
  const solidTones = mapTones(findClosest(resolvedTheme, `color-Button-${variant}-solid`), (tones) => {
107
107
  return {
108
- [`color-bg-Button-${variant}-solid`]: tones.base,
109
- [`color-bg-Button-${variant}-solid--hover`]: tones.tone1,
110
- [`color-bg-Button-${variant}-solid--active`]: tones.tone2,
111
- [`color-border-Button-${variant}-solid`]: tones.base,
112
- [`color-border-Button-${variant}-solid--hover`]: tones.base,
113
- [`color-border-Button-${variant}-solid--active`]: tones.base,
114
- [`color-text-Button-${variant}-solid`]: tones.tone3,
115
- [`color-text-Button-${variant}-solid--hover`]: tones.tone3,
116
- [`color-text-Button-${variant}-solid--active`]: tones.tone3,
108
+ [`backgroundColor-Button-${variant}-solid`]: tones.base,
109
+ [`backgroundColor-Button-${variant}-solid--hover`]: tones.tone1,
110
+ [`backgroundColor-Button-${variant}-solid--active`]: tones.tone2,
111
+ [`borderColor-Button-${variant}-solid`]: tones.base,
112
+ [`borderColor-Button-${variant}-solid--hover`]: tones.base,
113
+ [`borderColor-Button-${variant}-solid--active`]: tones.base,
114
+ [`color-Button-${variant}-solid`]: tones.tone3,
115
+ [`color-Button-${variant}-solid--hover`]: tones.tone3,
116
+ [`color-Button-${variant}-solid--active`]: tones.tone3,
117
117
  };
118
118
  });
119
119
  const outlinedTones = mapTones(findClosest(resolvedTheme, `color-Button-${variant}-outlined`), (tones) => {
120
120
  return {
121
- [`color-bg-Button-${variant}-outlined--hover`]: tones.alpha1,
122
- [`color-bg-Button-${variant}-outlined--active`]: tones.alpha2,
123
- [`color-border-Button-${variant}-outlined`]: tones.base,
124
- [`color-border-Button-${variant}-outlined--hover`]: tones.tone1,
125
- [`color-border-Button-${variant}-outlined--active`]: tones.tone2,
126
- [`color-text-Button-${variant}-outlined`]: tones.base,
127
- [`color-text-Button-${variant}-outlined--hover`]: tones.tone1,
128
- [`color-text-Button-${variant}-outlined--active`]: tones.tone2,
121
+ [`backgroundColor-Button-${variant}-outlined--hover`]: tones.alpha1,
122
+ [`backgroundColor-Button-${variant}-outlined--active`]: tones.alpha2,
123
+ [`borderColor-Button-${variant}-outlined`]: tones.base,
124
+ [`borderColor-Button-${variant}-outlined--hover`]: tones.tone1,
125
+ [`borderColor-Button-${variant}-outlined--active`]: tones.tone2,
126
+ [`color-Button-${variant}-outlined`]: tones.base,
127
+ [`color-Button-${variant}-outlined--hover`]: tones.tone1,
128
+ [`color-Button-${variant}-outlined--active`]: tones.tone2,
129
129
  };
130
130
  });
131
131
  const ghostTones = mapTones(findClosest(resolvedTheme, `color-Button-${variant}-ghost`), (tones) => {
132
132
  return {
133
- [`color-bg-Button-${variant}-ghost--active`]: tones.alpha2,
134
- [`color-bg-Button-${variant}-ghost--hover`]: tones.alpha1,
135
- [`color-text-Button-${variant}-ghost`]: tones.base,
136
- [`color-text-Button-${variant}-ghost--hover`]: tones.tone1,
137
- [`color-text-Button-${variant}-ghost--active`]: tones.tone2,
133
+ [`backgroundColor-Button-${variant}-ghost--active`]: tones.alpha2,
134
+ [`backgroundColor-Button-${variant}-ghost--hover`]: tones.alpha1,
135
+ [`color-Button-${variant}-ghost`]: tones.base,
136
+ [`color-Button-${variant}-ghost--hover`]: tones.tone1,
137
+ [`color-Button-${variant}-ghost--active`]: tones.tone2,
138
138
  };
139
139
  });
140
140
  ret = Object.assign(Object.assign(Object.assign(Object.assign({}, ret), solidTones), outlinedTones), ghostTones);
@@ -214,22 +214,22 @@ function generatePaddingSegments(theme) {
214
214
  // --- Done
215
215
  return result;
216
216
  }
217
- const borderRegEx = /^border-(?!(?:horizontal|vertical|left|right|top|bottom)-)(.+)$/;
218
- const thicknessBorderRegEx = /^thickness-border-(?!(?:horizontal|vertical|left|right|top|bottom)-)(.+)$/;
219
- const thicknessBorderHorizontalRegEx = /^thickness-border-(horizontal)-(.+)$/;
220
- const thicknessBorderVerticalRegEx = /^thickness-border-(vertical)-(.+)$/;
221
- const styleBorderRegEx = /^style-border-(?!(?:horizontal|vertical|left|right|top|bottom)-)(.+)$/;
222
- const styleBorderHorizontalRegEx = /^style-border-(horizontal)-(.+)$/;
223
- const styleBorderVerticalRegEx = /^style-border-(vertical)-(.+)$/;
224
- const borderLeftRegEx = /^border-(left)-(.+)$/;
225
- const borderRightRegEx = /^border-(right)-(.+)$/;
226
- const borderTopRegEx = /^border-(top)-(.+)$/;
227
- const borderBottomRegEx = /^border-(bottom)-(.+)$/;
228
- const borderHorizontalRegEx = /^border-(horizontal)-(.+)$/;
229
- const borderVerticalRegEx = /^border-(vertical)-(.+)$/;
230
- const colorBorderRegEx = /^color-border-(?!(?:horizontal|vertical|left|right|top|bottom)-)(.+)$/;
231
- const colorBorderHorizontalRegEx = /^color-border-(horizontal)-(.+)$/;
232
- const colorBorderVerticalRegEx = /^color-border-(vertical)-(.+)$/;
217
+ const borderRegEx = /^border-(.+)$/;
218
+ const thicknessBorderRegEx = /^borderWidth-(.+)$/;
219
+ const thicknessBorderHorizontalRegEx = /^borderHorizontalWidth-(.+)$/;
220
+ const thicknessBorderVerticalRegEx = /^borderVerticalWidth-(.+)$/;
221
+ const styleBorderRegEx = /^borderStyle-(.+)$/;
222
+ const styleBorderHorizontalRegEx = /^borderHorizontalStyle-(.+)$/;
223
+ const styleBorderVerticalRegEx = /^borderVerticalStyle-(.+)$/;
224
+ const borderLeftRegEx = /^borderLeft-(.+)$/;
225
+ const borderRightRegEx = /^borderRight-(.+)$/;
226
+ const borderTopRegEx = /^borderTop-(.+)$/;
227
+ const borderBottomRegEx = /^borderBottom-(.+)$/;
228
+ const borderHorizontalRegEx = /^borderHorizontal-(.+)$/;
229
+ const borderVerticalRegEx = /^borderVertical-(.+)$/;
230
+ const colorBorderRegEx = /^borderColor-(.+)$/;
231
+ const colorBorderHorizontalRegEx = /^borderHorizontalColor-(.+)$/;
232
+ const colorBorderVerticalRegEx = /^borderVerticalColor-(.+)$/;
233
233
  /**
234
234
  * Segment the border values to provide consistency
235
235
  */
@@ -247,201 +247,201 @@ function generateBorderSegments(theme) {
247
247
  if (match) {
248
248
  const remainder = match[1];
249
249
  // --- Flow down the border value
250
- result[`border-left-${remainder}`] = value;
251
- result[`border-right-${remainder}`] = value;
252
- result[`border-top-${remainder}`] = value;
253
- result[`border-bottom-${remainder}`] = value;
250
+ result[`borderLeft-${remainder}`] = value;
251
+ result[`borderRight-${remainder}`] = value;
252
+ result[`borderTop-${remainder}`] = value;
253
+ result[`borderBottom-${remainder}`] = value;
254
254
  // --- We have a border value to segment
255
255
  const border = getBorderSegments(value);
256
- result[`thickness-border-${remainder}`] = border.thickness;
257
- (_a = result[_c = `style-border-${remainder}`]) !== null && _a !== void 0 ? _a : (result[_c] = border.style);
258
- (_b = result[_d = `color-border-${remainder}`]) !== null && _b !== void 0 ? _b : (result[_d] = border.color);
256
+ result[`borderWidth-${remainder}`] = border.thickness;
257
+ (_a = result[_c = `borderStyle-${remainder}`]) !== null && _a !== void 0 ? _a : (result[_c] = border.style);
258
+ (_b = result[_d = `borderColor-${remainder}`]) !== null && _b !== void 0 ? _b : (result[_d] = border.color);
259
259
  }
260
- // --- Check "border-horizontal" theme variables
260
+ // --- Check "borderWidth-" theme variables
261
+ match = thicknessBorderRegEx.exec(key);
262
+ if (match) {
263
+ // --- We have a borderWidth value to flow down
264
+ const remainder = match[1];
265
+ result[`borderLeftWidth-${remainder}`] = value;
266
+ result[`borderRightWidth-${remainder}`] = value;
267
+ result[`borderTopWidth-${remainder}`] = value;
268
+ result[`borderBottomWidth-${remainder}`] = value;
269
+ }
270
+ // --- Check "borderStyle-" theme variables
271
+ match = styleBorderRegEx.exec(key);
272
+ if (match) {
273
+ // --- We have a borderStyle value to flow down
274
+ const remainder = match[1];
275
+ result[`borderLeftStyle-${remainder}`] = value;
276
+ result[`borderRightStyle-${remainder}`] = value;
277
+ result[`borderTopStyle-${remainder}`] = value;
278
+ result[`borderBottomStyle-${remainder}`] = value;
279
+ }
280
+ // --- Check "borderColor-" theme variables
281
+ match = colorBorderRegEx.exec(key);
282
+ if (match) {
283
+ // --- We have a borderColor value to flow down
284
+ const remainder = match[1];
285
+ result[`borderLeftColor-${remainder}`] = value;
286
+ result[`borderRightColor-${remainder}`] = value;
287
+ result[`borderTopColor-${remainder}`] = value;
288
+ result[`borderBottomColor-${remainder}`] = value;
289
+ }
290
+ // --- Check "borderHorizontal" theme variables
261
291
  match = borderHorizontalRegEx.exec(key);
262
292
  if (match) {
263
- // --- We have a border-horizontal value to segment
264
- const remainder = match[2];
293
+ // --- We have a borderHorizontal value to segment
294
+ const remainder = match[1];
265
295
  // --- Flow down the border value
266
- result[`border-left-${remainder}`] = value;
267
- result[`border-right-${remainder}`] = value;
296
+ result[`borderLeft-${remainder}`] = value;
297
+ result[`borderRight-${remainder}`] = value;
268
298
  const border = getBorderSegments(value);
269
299
  if (border.thickness) {
270
- result[`thickness-border-left-${remainder}`] = border.thickness;
271
- result[`thickness-border-right-${remainder}`] = border.thickness;
300
+ result[`borderLeftWidth-${remainder}`] = border.thickness;
301
+ result[`borderRightWidth-${remainder}`] = border.thickness;
272
302
  }
273
303
  if (border.style) {
274
- result[`style-border-left-${remainder}`] = border.style;
275
- result[`style-border-right-${remainder}`] = border.style;
304
+ result[`borderLeftStyle-${remainder}`] = border.style;
305
+ result[`borderRightStyle-${remainder}`] = border.style;
276
306
  }
277
307
  if (border.color) {
278
- result[`color-border-left-${remainder}`] = border.color;
279
- result[`color-border-right-${remainder}`] = border.color;
308
+ result[`borderLeftColor-${remainder}`] = border.color;
309
+ result[`borderRightColor-${remainder}`] = border.color;
280
310
  }
281
311
  }
282
- // --- Check "border-vertical" theme variables
312
+ // --- Check "borderVertical" theme variables
283
313
  match = borderVerticalRegEx.exec(key);
284
314
  if (match) {
285
- // --- We have a border-vertical value to segment
286
- const remainder = match[2];
315
+ // --- We have a borderVertical value to segment
316
+ const remainder = match[1];
287
317
  // --- Flow down the border value
288
- result[`border-top-${remainder}`] = value;
289
- result[`border-bottom-${remainder}`] = value;
318
+ result[`borderTop-${remainder}`] = value;
319
+ result[`borderBottom-${remainder}`] = value;
290
320
  const border = getBorderSegments(value);
291
321
  if (border.thickness) {
292
- result[`thickness-border-top-${remainder}`] = border.thickness;
293
- result[`thickness-border-bottom-${remainder}`] = border.thickness;
322
+ result[`borderTopWidth-${remainder}`] = border.thickness;
323
+ result[`borderBottomWidth-${remainder}`] = border.thickness;
294
324
  }
295
325
  if (border.style) {
296
- result[`style-border-top-${remainder}`] = border.style;
297
- result[`style-border-bottom-${remainder}`] = border.style;
326
+ result[`borderTopStyle-${remainder}`] = border.style;
327
+ result[`borderBottomStyle-${remainder}`] = border.style;
298
328
  }
299
329
  if (border.color) {
300
- result[`color-border-top-${remainder}`] = border.color;
301
- result[`color-border-bottom-${remainder}`] = border.color;
330
+ result[`borderTopColor-${remainder}`] = border.color;
331
+ result[`borderBottomColor-${remainder}`] = border.color;
302
332
  }
303
333
  }
304
- // --- Check "border-left" theme variables
334
+ // --- Check "borderLeft" theme variables
305
335
  match = borderLeftRegEx.exec(key);
306
336
  if (match) {
307
- // --- We have a border-left value to segment
308
- const remainder = match[2];
337
+ // --- We have a borderLeft value to segment
338
+ const remainder = match[1];
309
339
  const border = getBorderSegments(value);
310
- if (border.thickness && !theme[`thickness-border-left-${remainder}`]) {
311
- result[`thickness-border-left-${remainder}`] = border.thickness;
340
+ if (border.thickness && !theme[`borderLeftWidth-${remainder}`]) {
341
+ result[`borderLeftWidth-${remainder}`] = border.thickness;
312
342
  }
313
- if (border.style && !theme[`style-border-left-${remainder}`]) {
314
- result[`style-border-left-${remainder}`] = border.style;
343
+ if (border.style && !theme[`borderLeftStyle-${remainder}`]) {
344
+ result[`borderLeftStyle-${remainder}`] = border.style;
315
345
  }
316
- if (border.color && !theme[`color-border-left-${remainder}`]) {
317
- result[`color-border-left-${remainder}`] = border.color;
346
+ if (border.color && !theme[`borderLeftColor-${remainder}`]) {
347
+ result[`borderLeftColor-${remainder}`] = border.color;
318
348
  }
319
349
  }
320
- // --- Check "border-right" theme variables
350
+ // --- Check "borderRight" theme variables
321
351
  match = borderRightRegEx.exec(key);
322
352
  if (match) {
323
- // --- We have a border-right value to segment
324
- const remainder = match[2];
353
+ // --- We have a borderRight value to segment
354
+ const remainder = match[1];
325
355
  const border = getBorderSegments(value);
326
356
  if (border.thickness) {
327
- result[`thickness-border-right-${remainder}`] = border.thickness;
357
+ result[`borderRightWidth-${remainder}`] = border.thickness;
328
358
  }
329
359
  if (border.style) {
330
- result[`style-border-right-${remainder}`] = border.style;
360
+ result[`borderRightStyle-${remainder}`] = border.style;
331
361
  }
332
362
  if (border.color) {
333
- result[`color-border-right-${remainder}`] = border.color;
363
+ result[`borderRightColor-${remainder}`] = border.color;
334
364
  }
335
365
  }
336
- // --- Check "border-top" theme variables
366
+ // --- Check "borderTop" theme variables
337
367
  match = borderTopRegEx.exec(key);
338
368
  if (match) {
339
- // --- We have a border-top value to segment
340
- const remainder = match[2];
369
+ // --- We have a borderTop value to segment
370
+ const remainder = match[1];
341
371
  const border = getBorderSegments(value);
342
372
  if (border.thickness) {
343
- result[`thickness-border-top-${remainder}`] = border.thickness;
373
+ result[`borderTopWidth-${remainder}`] = border.thickness;
344
374
  }
345
375
  if (border.style) {
346
- result[`style-border-top-${remainder}`] = border.style;
376
+ result[`borderTopStyle-${remainder}`] = border.style;
347
377
  }
348
378
  if (border.color) {
349
- result[`color-border-top-${remainder}`] = border.color;
379
+ result[`borderTopColor-${remainder}`] = border.color;
350
380
  }
351
381
  }
352
- // --- Check "border-bottom" theme variables
382
+ // --- Check "borderBottom" theme variables
353
383
  match = borderBottomRegEx.exec(key);
354
384
  if (match) {
355
- // --- We have a border-bottom value to segment
356
- const remainder = match[2];
385
+ // --- We have a borderBottom value to segment
386
+ const remainder = match[1];
357
387
  const border = getBorderSegments(value);
358
388
  if (border.thickness) {
359
- result[`thickness-border-bottom-${remainder}`] = border.thickness;
389
+ result[`borderBottomWidth-${remainder}`] = border.thickness;
360
390
  }
361
391
  if (border.style) {
362
- result[`style-border-bottom-${remainder}`] = border.style;
392
+ result[`borderBottomStyle-${remainder}`] = border.style;
363
393
  }
364
394
  if (border.color) {
365
- result[`color-border-bottom-${remainder}`] = border.color;
395
+ result[`borderBottomColor-${remainder}`] = border.color;
366
396
  }
367
397
  }
368
- // --- Check "thickness-border-" theme variables
369
- match = thicknessBorderRegEx.exec(key);
370
- if (match) {
371
- // --- We have a thickness-border value to flow down
372
- const remainder = match[1];
373
- result[`thickness-border-left-${remainder}`] = value;
374
- result[`thickness-border-right-${remainder}`] = value;
375
- result[`thickness-border-top-${remainder}`] = value;
376
- result[`thickness-border-bottom-${remainder}`] = value;
377
- }
378
- // --- Check "thickness-border-horizontal" theme variables
398
+ // --- Check "borderHorizontalWidth" theme variables
379
399
  match = thicknessBorderHorizontalRegEx.exec(key);
380
400
  if (match) {
381
- // --- We have a thickness-border-horizontal value to flow down
382
- const remainder = match[2];
383
- result[`thickness-border-left-${remainder}`] = value;
384
- result[`thickness-border-right-${remainder}`] = value;
401
+ // --- We have a borderHorizontalWidth value to flow down
402
+ const remainder = match[1];
403
+ result[`borderLeftWidth-${remainder}`] = value;
404
+ result[`borderRightWidth-${remainder}`] = value;
385
405
  }
386
- // --- Check "thickness-border-vertical" theme variables
406
+ // --- Check "borderVerticalWidth" theme variables
387
407
  match = thicknessBorderVerticalRegEx.exec(key);
388
408
  if (match) {
389
- // --- We have a thickness-border-vertical value to flow down
390
- const remainder = match[2];
391
- result[`thickness-border-top-${remainder}`] = value;
392
- result[`thickness-border-bottom-${remainder}`] = value;
393
- }
394
- // --- Check "style-border-" theme variables
395
- match = styleBorderRegEx.exec(key);
396
- if (match) {
397
- // --- We have a style-border value to flow down
409
+ // --- We have a borderVerticalWidth value to flow down
398
410
  const remainder = match[1];
399
- result[`style-border-left-${remainder}`] = value;
400
- result[`style-border-right-${remainder}`] = value;
401
- result[`style-border-top-${remainder}`] = value;
402
- result[`style-border-bottom-${remainder}`] = value;
411
+ result[`borderTopWidth-${remainder}`] = value;
412
+ result[`borderBottomWidth-${remainder}`] = value;
403
413
  }
404
- // --- Check "style-border-horizontal" theme variables
414
+ // --- Check "borderHorizontalStyle" theme variables
405
415
  match = styleBorderHorizontalRegEx.exec(key);
406
416
  if (match) {
407
- // --- We have a style-border-horizontal value to flow down
408
- const remainder = match[2];
409
- result[`style-border-left-${remainder}`] = value;
410
- result[`style-border-right-${remainder}`] = value;
417
+ // --- We have a borderHorizontalStyle value to flow down
418
+ const remainder = match[1];
419
+ result[`borderLeftStyle-${remainder}`] = value;
420
+ result[`borderRightStyle-${remainder}`] = value;
411
421
  }
412
- // --- Check "style-border-vertical" theme variables
422
+ // --- Check "borderVerticalStyle" theme variables
413
423
  match = styleBorderVerticalRegEx.exec(key);
414
424
  if (match) {
415
- // --- We have a style-border-vertical value to flow down
416
- const remainder = match[2];
417
- result[`style-border-top-${remainder}`] = value;
418
- result[`style-border-bottom-${remainder}`] = value;
419
- }
420
- // --- Check "color-border-" theme variables
421
- match = colorBorderRegEx.exec(key);
422
- if (match) {
423
- // --- We have a color-border value to flow down
425
+ // --- We have a borderVerticalStyle value to flow down
424
426
  const remainder = match[1];
425
- result[`color-border-left-${remainder}`] = value;
426
- result[`color-border-right-${remainder}`] = value;
427
- result[`color-border-top-${remainder}`] = value;
428
- result[`color-border-bottom-${remainder}`] = value;
427
+ result[`borderTopStyle-${remainder}`] = value;
428
+ result[`borderBottomStyle-${remainder}`] = value;
429
429
  }
430
- // --- Check "color-border-horizontal" theme variables
430
+ // --- Check "borderHorizontalColor" theme variables
431
431
  match = colorBorderHorizontalRegEx.exec(key);
432
432
  if (match) {
433
- // --- We have a color-border-horizontal value to flow down
434
- const remainder = match[2];
435
- result[`color-border-left-${remainder}`] = value;
436
- result[`color-border-right-${remainder}`] = value;
433
+ // --- We have a borderHorizontalColor value to flow down
434
+ const remainder = match[1];
435
+ result[`borderLeftColor-${remainder}`] = value;
436
+ result[`borderRightColor-${remainder}`] = value;
437
437
  }
438
- // --- Check "color-border-vertical" theme variables
438
+ // --- Check "borderVerticalColor" theme variables
439
439
  match = colorBorderVerticalRegEx.exec(key);
440
440
  if (match) {
441
- // --- We have a color-border-vertical value to flow down
442
- const remainder = match[2];
443
- result[`color-border-top-${remainder}`] = value;
444
- result[`color-border-bottom-${remainder}`] = value;
441
+ // --- We have a borderVerticalColor value to flow down
442
+ const remainder = match[1];
443
+ result[`borderTopColor-${remainder}`] = value;
444
+ result[`borderBottomColor-${remainder}`] = value;
445
445
  }
446
446
  });
447
447
  // --- Done
@@ -2708,12 +2708,12 @@ class Parser {
2708
2708
  if (Array.isArray(prop)) {
2709
2709
  }
2710
2710
  else {
2711
- reportError("W018");
2711
+ this.reportError("W018");
2712
2712
  return null;
2713
2713
  }
2714
2714
  const [propKey, propValue] = prop;
2715
2715
  if (propKey.type !== "IdE") {
2716
- reportError("W018");
2716
+ this.reportError("W018");
2717
2717
  return null;
2718
2718
  }
2719
2719
  let objD;