xmlui 0.9.25 → 0.9.31

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 (40) hide show
  1. package/dist/{apiInterceptorWorker-CFF3bC6o.mjs → lib/apiInterceptorWorker-BcQy1dRU.mjs} +1 -1
  2. package/dist/{index-DtxDGaqF.mjs → lib/index-DqWRcUpA.mjs} +308 -185
  3. package/dist/{index.css → lib/index.css} +266 -162
  4. package/dist/{language-server-web-worker.mjs → lib/language-server-web-worker.mjs} +1 -1
  5. package/dist/{language-server.mjs → lib/language-server.mjs} +1 -1
  6. package/dist/{server-common-9TiLMTJj.mjs → lib/server-common-Cucl1Ik4.mjs} +6805 -4060
  7. package/dist/{xmlui.d.ts → lib/xmlui.d.ts} +5 -0
  8. package/dist/{xmlui.mjs → lib/xmlui.mjs} +1 -1
  9. package/dist/{style.css → metadata/style.css} +252 -156
  10. package/dist/{xmlui-metadata.mjs → metadata/xmlui-metadata.mjs} +126 -102
  11. package/dist/{xmlui-metadata.umd.js → metadata/xmlui-metadata.umd.js} +126 -102
  12. package/dist/scripts/package.json +37 -44
  13. package/dist/scripts/src/components/Bookmark/BookmarkNative.js +2 -2
  14. package/dist/scripts/src/components/CodeBlock/CodeBlock.js +8 -3
  15. package/dist/scripts/src/components/CodeBlock/CodeBlockNative.js +23 -4
  16. package/dist/scripts/src/components/{Markdown → CodeBlock}/highlight-code.js +56 -13
  17. package/dist/scripts/src/components/FormItem/FormItemNative.js +0 -1
  18. package/dist/scripts/src/components/Heading/Heading.js +3 -0
  19. package/dist/scripts/src/components/Heading/HeadingNative.js +1 -1
  20. package/dist/scripts/src/components/HtmlTags/HtmlTags.js +6 -6
  21. package/dist/scripts/src/components/Markdown/Markdown.js +5 -1
  22. package/dist/scripts/src/components/Markdown/MarkdownNative.js +41 -9
  23. package/dist/scripts/src/components/RadioGroup/RadioGroup.js +2 -1
  24. package/dist/scripts/src/components/RadioGroup/RadioGroupNative.js +17 -1
  25. package/dist/scripts/src/components/Switch/Switch.js +5 -3
  26. package/dist/scripts/src/components/Text/Text.js +4 -9
  27. package/dist/standalone/xmlui-standalone.es.d.ts +2179 -0
  28. package/dist/{xmlui-standalone.umd.js → standalone/xmlui-standalone.umd.js} +598 -371
  29. package/package.json +30 -34
  30. /package/dist/{core-XLM8cuFP.mjs → lib/core-XLM8cuFP.mjs} +0 -0
  31. /package/dist/{grammar.tmLanguage-CiEHpsbo.mjs → lib/grammar.tmLanguage-CiEHpsbo.mjs} +0 -0
  32. /package/dist/{language-server-web-worker.d.ts → lib/language-server-web-worker.d.ts} +0 -0
  33. /package/dist/{language-server.d.ts → lib/language-server.d.ts} +0 -0
  34. /package/dist/{lint-CYAUfk0_.mjs → lib/lint-CYAUfk0_.mjs} +0 -0
  35. /package/dist/{metadata-utils-CCIMqe69.mjs → lib/metadata-utils-CCIMqe69.mjs} +0 -0
  36. /package/dist/{transform-DC0Gy6qw.mjs → lib/transform-DC0Gy6qw.mjs} +0 -0
  37. /package/dist/{wasm-DDgzZJey.mjs → lib/wasm-DDgzZJey.mjs} +0 -0
  38. /package/dist/{xmlui-h2uM9PUY.mjs → lib/xmlui-h2uM9PUY.mjs} +0 -0
  39. /package/dist/{xmlui-parser.d.ts → lib/xmlui-parser.d.ts} +0 -0
  40. /package/dist/{xmlui-parser.mjs → lib/xmlui-parser.mjs} +0 -0
@@ -69,8 +69,6 @@ exports.TextMd = (0, ComponentDefs_1.createMetadata)({
69
69
  [`borderStyle-${COMP}-code`]: "solid",
70
70
  [`borderRadius-${COMP}-code`]: "4px",
71
71
  [`paddingHorizontal-${COMP}-code`]: "$space-1",
72
- [`marginLeft-${COMP}-code`]: "$space-1",
73
- [`marginRight-${COMP}-code`]: "$space-1",
74
72
  [`paddingBottom-${COMP}-code`]: "2px",
75
73
  [`textDecorationLine-${COMP}-deleted`]: "line-through",
76
74
  [`textDecorationLine-${COMP}-inserted`]: "underline",
@@ -86,6 +84,7 @@ exports.TextMd = (0, ComponentDefs_1.createMetadata)({
86
84
  [`fontSize-${COMP}-sub`]: "$fontSize-smaller",
87
85
  [`verticalAlign-${COMP}-sub`]: "sub",
88
86
  [`fontStyle-${COMP}-var`]: "italic",
87
+ [`fontStyle-${COMP}-em`]: "italic",
89
88
  [`fontFamily-${COMP}-mono`]: "$fontFamily-monospace",
90
89
  [`fontSize-${COMP}-title`]: "$fontSize-large",
91
90
  [`fontSize-${COMP}-subtitle`]: "$fontSize-medium",
@@ -108,19 +107,15 @@ exports.TextMd = (0, ComponentDefs_1.createMetadata)({
108
107
  [`marginTop-${COMP}-markdown`]: "$space-3",
109
108
  [`marginBottom-${COMP}-markdown`]: "$space-6",
110
109
  [`fontSize-${COMP}-markdown`]: "$fontSize-normal",
111
- [`backgroundColor-${COMP}-code`]: "$color-surface-100",
112
- [`borderColor-${COMP}-code`]: "$color-surface-200",
113
- [`backgroundColor-${COMP}-keyboard`]: "$color-surface-200",
110
+ [`backgroundColor-${COMP}-code`]: "rgba($color-surface-100-rgb, .4)",
111
+ [`borderColor-${COMP}-code`]: "$color-surface-300",
112
+ [`backgroundColor-${COMP}-keyboard`]: "rgba($color-surface-100-rgb, .4)",
114
113
  [`borderColor-${COMP}-keyboard`]: "$color-surface-300",
115
114
  [`backgroundColor-${COMP}-marked`]: "yellow",
116
115
  [`color-${COMP}-placeholder`]: "$color-surface-500",
117
- [`backgroundColor-${COMP}-codefence`]: "#f2f7fc",
118
116
  [`color-${COMP}-codefence`]: "$color-surface-900",
119
117
  [`color-${COMP}-subheading`]: "$textColor-secondary",
120
118
  [`color-${COMP}-secondary`]: "$textColor-secondary",
121
- dark: {
122
- [`backgroundColor-${COMP}-codefence`]: "#112033",
123
- }
124
119
  },
125
120
  });
126
121
  exports.textComponentRenderer = (0, renderers_1.createComponentRenderer)(COMP, exports.TextMd, ({ node, extractValue, layoutCss, renderChild }) => {