@elmethis/core 1.0.0-alpha.87 → 1.0.0-alpha.89

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 (27) hide show
  1. package/dist/{Bash-CVo8Hz3W.js → Bash-BFwpekW0.js} +1 -1
  2. package/dist/{C-C_f_yPrO.js → C-Drio0pvX.js} +1 -1
  3. package/dist/{Cpp-BXySqJ46.js → Cpp-B0SyM8Yz.js} +1 -1
  4. package/dist/{Csharp-B6Ju_7i8.js → Csharp-DLXS0UGz.js} +1 -1
  5. package/dist/{Css-COEXUh5p.js → Css-Dj3e2WDh.js} +1 -1
  6. package/dist/{Go-BcuMeS1U.js → Go-DNfab8G8.js} +1 -1
  7. package/dist/{Html-D5WGvgDQ.js → Html-Bq1-eCGs.js} +1 -1
  8. package/dist/{Java-CE2W2TQa.js → Java-DY54nVic.js} +1 -1
  9. package/dist/{JavaScript-vjCRKZzn.js → JavaScript-C6CRojZ7.js} +1 -1
  10. package/dist/{Json-C7xbr18N.js → Json-BOxYSUM1.js} +1 -1
  11. package/dist/{Kotlin-CPfKE4hr.js → Kotlin-D1FOkZba.js} +1 -1
  12. package/dist/{Lua-7dO1mDsT.js → Lua-BH2D4ASU.js} +1 -1
  13. package/dist/{Npm-C74dZsdr.js → Npm-DRXNQTnX.js} +1 -1
  14. package/dist/{Python-CgoTKkaH.js → Python-DeNq7zzL.js} +1 -1
  15. package/dist/{Rust-6KkbXJKO.js → Rust-fnS9ziRU.js} +1 -1
  16. package/dist/{Sql-CdpQ04Yl.js → Sql-CNBW5J0j.js} +1 -1
  17. package/dist/{Terraform-WCa3nCWv.js → Terraform-BzKBmoWN.js} +1 -1
  18. package/dist/{TypeScript-CrDdzIj7.js → TypeScript-BerO1TRB.js} +1 -1
  19. package/dist/components/inline/ElmInlineText.vue.d.ts +7 -1
  20. package/dist/components/renderer/ElmJsonRenderer.vue.d.ts +3 -8
  21. package/dist/elmethis.js +34 -35
  22. package/dist/elmethis.umd.cjs +19 -19
  23. package/dist/{index-Dd3p52S2.js → index-CACmTpvR.js} +1722 -1666
  24. package/dist/index.d.ts +2 -3
  25. package/package.json +14 -14
  26. package/dist/components/inline/ElmInlineCode.stories.d.ts +0 -6
  27. package/dist/components/inline/ElmInlineCode.vue.d.ts +0 -15
@@ -1,5 +1,5 @@
1
1
  import { openBlock as t, createElementBlock as e, createElementVNode as l, normalizeClass as o } from "vue";
2
- import { _ as n } from "./index-Dd3p52S2.js";
2
+ import { _ as n } from "./index-CACmTpvR.js";
3
3
  const a = "_path_1ccs2_1", r = {
4
4
  path: a
5
5
  }, p = {}, m = {
@@ -1,5 +1,5 @@
1
1
  import { openBlock as t, createElementBlock as e, createElementVNode as c } from "vue";
2
- import { _ as o } from "./index-Dd3p52S2.js";
2
+ import { _ as o } from "./index-CACmTpvR.js";
3
3
  const n = {}, s = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 128 128"
@@ -1,5 +1,5 @@
1
1
  import { openBlock as t, createElementBlock as h, createStaticVNode as f } from "vue";
2
- import { _ as p } from "./index-Dd3p52S2.js";
2
+ import { _ as p } from "./index-CACmTpvR.js";
3
3
  const e = {}, o = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 32 32"
@@ -1,5 +1,5 @@
1
1
  import { openBlock as t, createElementBlock as h, createElementVNode as l } from "vue";
2
- import { _ as e } from "./index-Dd3p52S2.js";
2
+ import { _ as e } from "./index-CACmTpvR.js";
3
3
  const o = {}, s = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 128 128"
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as t, createElementVNode as o } from "vue";
2
- import { _ as r } from "./index-Dd3p52S2.js";
2
+ import { _ as r } from "./index-CACmTpvR.js";
3
3
  const n = {}, s = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 24 24"
@@ -1,5 +1,5 @@
1
1
  import { openBlock as l, createElementBlock as e, createElementVNode as t } from "vue";
2
- import { _ as o } from "./index-Dd3p52S2.js";
2
+ import { _ as o } from "./index-CACmTpvR.js";
3
3
  const r = {}, n = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 512 192"
@@ -1,5 +1,5 @@
1
1
  import { openBlock as t, createElementBlock as e, createElementVNode as o } from "vue";
2
- import { _ as r } from "./index-Dd3p52S2.js";
2
+ import { _ as r } from "./index-CACmTpvR.js";
3
3
  const n = {}, s = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 128 128"
@@ -1,5 +1,5 @@
1
1
  import { openBlock as t, createElementBlock as e, createStaticVNode as a } from "vue";
2
- import { _ as s } from "./index-Dd3p52S2.js";
2
+ import { _ as s } from "./index-CACmTpvR.js";
3
3
  const o = {}, p = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 128 128"
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createElementVNode as t } from "vue";
2
- import { _ as o } from "./index-Dd3p52S2.js";
2
+ import { _ as o } from "./index-CACmTpvR.js";
3
3
  const r = {}, n = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 128 128"
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as t, createElementVNode as o } from "vue";
2
- import { _ as n } from "./index-Dd3p52S2.js";
2
+ import { _ as n } from "./index-CACmTpvR.js";
3
3
  const r = {}, s = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 32 32"
@@ -1,5 +1,5 @@
1
1
  import { openBlock as o, createElementBlock as e, createStaticVNode as s } from "vue";
2
- import { _ as r } from "./index-Dd3p52S2.js";
2
+ import { _ as r } from "./index-CACmTpvR.js";
3
3
  const n = {}, i = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 128 128"
@@ -1,5 +1,5 @@
1
1
  import { openBlock as c, createElementBlock as m, createElementVNode as a } from "vue";
2
- import { _ as t } from "./index-Dd3p52S2.js";
2
+ import { _ as t } from "./index-CACmTpvR.js";
3
3
  const z = {}, e = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 128 128"
@@ -1,5 +1,5 @@
1
1
  import { openBlock as o, createElementBlock as n, createElementVNode as e } from "vue";
2
- import { _ as r } from "./index-Dd3p52S2.js";
2
+ import { _ as r } from "./index-CACmTpvR.js";
3
3
  const l = {}, f = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 256 256"
@@ -1,5 +1,5 @@
1
1
  import { openBlock as o, createElementBlock as r, createStaticVNode as c } from "vue";
2
- import { _ as e } from "./index-Dd3p52S2.js";
2
+ import { _ as e } from "./index-CACmTpvR.js";
3
3
  const s = {}, n = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 128 128"
@@ -1,5 +1,5 @@
1
1
  import { openBlock as l, createElementBlock as t, createElementVNode as e } from "vue";
2
- import { _ as o } from "./index-Dd3p52S2.js";
2
+ import { _ as o } from "./index-CACmTpvR.js";
3
3
  const s = {}, r = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 128 128",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as c, createElementBlock as l, createElementVNode as a } from "vue";
2
- import { _ as t } from "./index-Dd3p52S2.js";
2
+ import { _ as t } from "./index-CACmTpvR.js";
3
3
  const o = {}, r = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 32 32"
@@ -1,5 +1,5 @@
1
1
  import { openBlock as o, createElementBlock as r, createElementVNode as e } from "vue";
2
- import { _ as l } from "./index-Dd3p52S2.js";
2
+ import { _ as l } from "./index-CACmTpvR.js";
3
3
  const m = {}, n = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 128 128"
@@ -1,5 +1,5 @@
1
1
  import { openBlock as t, createElementBlock as e, createElementVNode as a } from "vue";
2
- import { _ as o } from "./index-Dd3p52S2.js";
2
+ import { _ as o } from "./index-CACmTpvR.js";
3
3
  const l = {}, r = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 128 128"
@@ -30,8 +30,14 @@ export interface ElmInlineTextProps {
30
30
  * Specifies whether the text should be strikethrough.
31
31
  */
32
32
  strikethrough?: boolean;
33
+ /**
34
+ * Specifies whether the text should be displayed as code.
35
+ */
33
36
  code?: boolean;
34
- background?: Property.BackgroundColor;
37
+ /**
38
+ * Specifies the background color of the text.
39
+ */
40
+ backgroundColor?: Property.BackgroundColor;
35
41
  }
36
42
  declare const _default: import('vue').DefineComponent<ElmInlineTextProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmInlineTextProps> & Readonly<{}>, {
37
43
  code: boolean;
@@ -1,5 +1,4 @@
1
1
  import { ElmInlineTextProps } from '../inline/ElmInlineText.vue';
2
- import { ElmInlineCodeProps } from '../inline/ElmInlineCode.vue';
3
2
  import { ElmInlineLinkProps } from '../inline/ElmInlineLink.vue';
4
3
  import { ElmCalloutProps } from '../typography/ElmCallout.vue';
5
4
  import { ElmBulletedListProps } from '../typography/ElmBulletedList.vue';
@@ -28,8 +27,8 @@ import { ElmCheckboxProps } from '../form/ElmCheckbox.vue';
28
27
  import { ElmFileProps } from '../media/ElmFile.vue';
29
28
  import { ElmColumnProps } from '../containments/ElmColumn.vue';
30
29
  import { ElmColumnListProps } from '../containments/ElmColumnList.vue';
31
- type ComponentType = 'ElmInlineText' | 'ElmInlineCode' | 'ElmInlineLink' | 'ElmCallout' | 'ElmBulletedList' | 'ElmNumberedList' | 'ElmListItem' | 'ElmBlockQuote' | 'ElmDivider' | 'ElmHeading1' | 'ElmHeading2' | 'ElmHeading3' | 'ElmHeading4' | 'ElmHeading5' | 'ElmHeading6' | 'ElmCodeBlock' | 'ElmParagraph' | 'ElmTable' | 'ElmTableHeader' | 'ElmTableBody' | 'ElmTableRow' | 'ElmTableCell' | 'ElmKatex' | 'ElmImage' | 'ElmBookmark' | 'ElmToggle' | 'ElmCheckbox' | 'ElmFile' | 'ElmColumn' | 'ElmColumnList';
32
- type ComponentProps = ElmInlineTextProps | ElmInlineCodeProps | ElmInlineLinkProps | ElmCalloutProps | ElmBulletedListProps | ElmNumberedListProps | ElmListItemProps | ElmBlockQuoteProps | ElmDividerProps | ElmHeading1Props | ElmHeading2Props | ElmHeading3Props | ElmHeading4Props | ElmHeading5Props | ElmHeading6Props | ElmCodeBlockProps | ElmParagraphProps | ElmTableProps | ElmTableHeaderProps | ElmTableBodyProps | ElmTableRowProps | ElmTableCellProps | ElmKatexProps | ElmImageProps | ElmBookmarkProps | ElmToggleProps | ElmCheckboxProps | ElmFileProps | ElmColumnProps | ElmColumnListProps;
30
+ type ComponentType = 'ElmInlineText' | 'ElmInlineLink' | 'ElmCallout' | 'ElmBulletedList' | 'ElmNumberedList' | 'ElmListItem' | 'ElmBlockQuote' | 'ElmDivider' | 'ElmHeading1' | 'ElmHeading2' | 'ElmHeading3' | 'ElmHeading4' | 'ElmHeading5' | 'ElmHeading6' | 'ElmCodeBlock' | 'ElmParagraph' | 'ElmTable' | 'ElmTableHeader' | 'ElmTableBody' | 'ElmTableRow' | 'ElmTableCell' | 'ElmKatex' | 'ElmImage' | 'ElmBookmark' | 'ElmToggle' | 'ElmCheckbox' | 'ElmFile' | 'ElmColumn' | 'ElmColumnList';
31
+ type ComponentProps = ElmInlineTextProps | ElmInlineLinkProps | ElmCalloutProps | ElmBulletedListProps | ElmNumberedListProps | ElmListItemProps | ElmBlockQuoteProps | ElmDividerProps | ElmHeading1Props | ElmHeading2Props | ElmHeading3Props | ElmHeading4Props | ElmHeading5Props | ElmHeading6Props | ElmCodeBlockProps | ElmParagraphProps | ElmTableProps | ElmTableHeaderProps | ElmTableBodyProps | ElmTableRowProps | ElmTableCellProps | ElmKatexProps | ElmImageProps | ElmBookmarkProps | ElmToggleProps | ElmCheckboxProps | ElmFileProps | ElmColumnProps | ElmColumnListProps;
33
32
  interface JsonComponentBase {
34
33
  type: ComponentType;
35
34
  props?: ComponentProps;
@@ -39,10 +38,6 @@ interface ElmInlineTextJsonComponent extends JsonComponentBase {
39
38
  type: 'ElmInlineText';
40
39
  props?: ElmInlineTextProps;
41
40
  }
42
- interface ElmInlineCodeJsonComponent extends JsonComponentBase {
43
- type: 'ElmInlineCode';
44
- props?: ElmInlineCodeProps;
45
- }
46
41
  interface ElmInlineLinkJsonComponent extends JsonComponentBase {
47
42
  type: 'ElmInlineLink';
48
43
  props?: ElmInlineLinkProps;
@@ -155,7 +150,7 @@ interface ElmColumnListJsonComponent extends JsonComponentBase {
155
150
  type: 'ElmColumnList';
156
151
  props?: ElmColumnListProps;
157
152
  }
158
- type JsonComponent = ElmInlineTextJsonComponent | ElmInlineCodeJsonComponent | ElmInlineLinkJsonComponent | ElmCalloutJsonComponent | ElmBulletedListJsonComponent | ElmNumberedListJsonComponent | ElmListItemJsonComponent | ElmBlockQuoteJsonComponent | ElmDividerJsonComponent | ElmHeading1JsonComponent | ElmHeading2JsonComponent | ElmHeading3JsonComponent | ElmHeading4JsonComponent | ElmHeading5JsonComponent | ElmHeading6JsonComponent | ElmCodeBlockJsonComponent | ElmParagraphJsonComponent | ElmTableJsonComponent | ElmTableHeaderJsonComponent | ElmTableBodyJsonComponent | ElmTableRowJsonComponent | ElmTableCellJsonComponent | ElmKatexJsonComponent | ElmImageJsonComponent | ElmBookmarkJsonComponent | ElmToggleJsonComponent | ElmCheckboxJsonComponent | ElmFileJsonComponent | ElmColumnJsonComponent | ElmColumnListJsonComponent;
153
+ type JsonComponent = ElmInlineTextJsonComponent | ElmInlineLinkJsonComponent | ElmCalloutJsonComponent | ElmBulletedListJsonComponent | ElmNumberedListJsonComponent | ElmListItemJsonComponent | ElmBlockQuoteJsonComponent | ElmDividerJsonComponent | ElmHeading1JsonComponent | ElmHeading2JsonComponent | ElmHeading3JsonComponent | ElmHeading4JsonComponent | ElmHeading5JsonComponent | ElmHeading6JsonComponent | ElmCodeBlockJsonComponent | ElmParagraphJsonComponent | ElmTableJsonComponent | ElmTableHeaderJsonComponent | ElmTableBodyJsonComponent | ElmTableRowJsonComponent | ElmTableCellJsonComponent | ElmKatexJsonComponent | ElmImageJsonComponent | ElmBookmarkJsonComponent | ElmToggleJsonComponent | ElmCheckboxJsonComponent | ElmFileJsonComponent | ElmColumnJsonComponent | ElmColumnListJsonComponent;
159
154
  export interface ElmJsonRendererProps {
160
155
  json: JsonComponent[];
161
156
  }