@tinacms/mdx 0.0.0-e0ddb8c-20241004065742 → 0.0.0-ecea7ac-20241011043815
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/index.browser.mjs +76 -32
- package/dist/index.js +78 -32
- package/dist/index.mjs +76 -32
- package/dist/parse/plate.d.ts +23 -1
- package/package.json +3 -3
package/dist/index.browser.mjs
CHANGED
|
@@ -38875,11 +38875,11 @@ var blockElement = (content3, field, imageCallback) => {
|
|
|
38875
38875
|
};
|
|
38876
38876
|
case "mdxJsxFlowElement":
|
|
38877
38877
|
if (content3.name === "table") {
|
|
38878
|
-
const
|
|
38878
|
+
const table2 = content3.props;
|
|
38879
38879
|
return {
|
|
38880
38880
|
type: "table",
|
|
38881
|
-
align:
|
|
38882
|
-
children:
|
|
38881
|
+
align: table2.align,
|
|
38882
|
+
children: table2.tableRows.map((tableRow) => {
|
|
38883
38883
|
const tr2 = {
|
|
38884
38884
|
type: "tableRow",
|
|
38885
38885
|
children: tableRow.tableCells.map(({ value }) => {
|
|
@@ -38975,6 +38975,27 @@ var blockElement = (content3, field, imageCallback) => {
|
|
|
38975
38975
|
}
|
|
38976
38976
|
]
|
|
38977
38977
|
};
|
|
38978
|
+
case "table":
|
|
38979
|
+
const table = content3.props;
|
|
38980
|
+
return {
|
|
38981
|
+
type: "table",
|
|
38982
|
+
align: table?.align,
|
|
38983
|
+
children: content3.children.map((tableRow) => {
|
|
38984
|
+
return {
|
|
38985
|
+
type: "tableRow",
|
|
38986
|
+
children: tableRow.children.map((tableCell) => {
|
|
38987
|
+
return {
|
|
38988
|
+
type: "tableCell",
|
|
38989
|
+
children: eat2(
|
|
38990
|
+
tableCell.children?.at(0)?.children || [],
|
|
38991
|
+
field,
|
|
38992
|
+
imageCallback
|
|
38993
|
+
)
|
|
38994
|
+
};
|
|
38995
|
+
})
|
|
38996
|
+
};
|
|
38997
|
+
})
|
|
38998
|
+
};
|
|
38978
38999
|
default:
|
|
38979
39000
|
throw new Error(`BlockElement: ${content3.type} is not yet supported`);
|
|
38980
39001
|
}
|
|
@@ -39194,7 +39215,6 @@ function stringifyProps2(element2, parentField, flatten2, imageCallback) {
|
|
|
39194
39215
|
if (field.list) {
|
|
39195
39216
|
throw new Error(`Rich-text list is not supported`);
|
|
39196
39217
|
} else {
|
|
39197
|
-
console.log("RICH-TEXT StringifyProps", value);
|
|
39198
39218
|
const joiner = flatten2 ? " " : "\n";
|
|
39199
39219
|
let val = "";
|
|
39200
39220
|
assertShape2(
|
|
@@ -39538,6 +39558,12 @@ var blockElement2 = (content3, field, imageCallback) => {
|
|
|
39538
39558
|
type: "paragraph",
|
|
39539
39559
|
children: eat3(content3.children, field, imageCallback)
|
|
39540
39560
|
};
|
|
39561
|
+
case "mermaid":
|
|
39562
|
+
return {
|
|
39563
|
+
type: "code",
|
|
39564
|
+
lang: "mermaid",
|
|
39565
|
+
value: content3.value
|
|
39566
|
+
};
|
|
39541
39567
|
case "code_block":
|
|
39542
39568
|
return {
|
|
39543
39569
|
type: "code",
|
|
@@ -39546,11 +39572,11 @@ var blockElement2 = (content3, field, imageCallback) => {
|
|
|
39546
39572
|
};
|
|
39547
39573
|
case "mdxJsxFlowElement":
|
|
39548
39574
|
if (content3.name === "table") {
|
|
39549
|
-
const
|
|
39575
|
+
const table2 = content3.props;
|
|
39550
39576
|
return {
|
|
39551
39577
|
type: "table",
|
|
39552
|
-
align:
|
|
39553
|
-
children:
|
|
39578
|
+
align: table2.align,
|
|
39579
|
+
children: table2.tableRows.map((tableRow) => {
|
|
39554
39580
|
const tr2 = {
|
|
39555
39581
|
type: "tableRow",
|
|
39556
39582
|
children: tableRow.tableCells.map(({ value }) => {
|
|
@@ -39617,6 +39643,27 @@ var blockElement2 = (content3, field, imageCallback) => {
|
|
|
39617
39643
|
}
|
|
39618
39644
|
]
|
|
39619
39645
|
};
|
|
39646
|
+
case "table":
|
|
39647
|
+
const table = content3.props;
|
|
39648
|
+
return {
|
|
39649
|
+
type: "table",
|
|
39650
|
+
align: table?.align,
|
|
39651
|
+
children: content3.children.map((tableRow) => {
|
|
39652
|
+
return {
|
|
39653
|
+
type: "tableRow",
|
|
39654
|
+
children: tableRow.children.map((tableCell) => {
|
|
39655
|
+
return {
|
|
39656
|
+
type: "tableCell",
|
|
39657
|
+
children: eat3(
|
|
39658
|
+
tableCell.children?.at(0)?.children || [],
|
|
39659
|
+
field,
|
|
39660
|
+
imageCallback
|
|
39661
|
+
)
|
|
39662
|
+
};
|
|
39663
|
+
})
|
|
39664
|
+
};
|
|
39665
|
+
})
|
|
39666
|
+
};
|
|
39620
39667
|
default:
|
|
39621
39668
|
throw new Error(`BlockElement: ${content3.type} is not yet supported`);
|
|
39622
39669
|
}
|
|
@@ -42050,32 +42097,29 @@ var remarkToSlate = (root2, field, imageCallback, raw, skipMDXProcess) => {
|
|
|
42050
42097
|
switch (content4.type) {
|
|
42051
42098
|
case "table": {
|
|
42052
42099
|
return {
|
|
42053
|
-
type: "
|
|
42054
|
-
children:
|
|
42055
|
-
|
|
42056
|
-
|
|
42057
|
-
|
|
42058
|
-
|
|
42059
|
-
|
|
42060
|
-
|
|
42061
|
-
|
|
42062
|
-
|
|
42063
|
-
|
|
42064
|
-
|
|
42065
|
-
|
|
42066
|
-
|
|
42067
|
-
|
|
42068
|
-
child2.children.map(
|
|
42069
|
-
(child3) => phrasingContent(child3)
|
|
42070
|
-
)
|
|
42071
|
-
)
|
|
42072
|
-
}
|
|
42073
|
-
]
|
|
42100
|
+
type: "table",
|
|
42101
|
+
children: content4.children.map((tableRow) => {
|
|
42102
|
+
return {
|
|
42103
|
+
type: "tr",
|
|
42104
|
+
children: tableRow.children.map((tableCell) => {
|
|
42105
|
+
return {
|
|
42106
|
+
type: "td",
|
|
42107
|
+
children: [
|
|
42108
|
+
{
|
|
42109
|
+
type: "p",
|
|
42110
|
+
children: (0, import_lodash.default)(
|
|
42111
|
+
tableCell.children.map(
|
|
42112
|
+
(child) => phrasingContent(child)
|
|
42113
|
+
)
|
|
42114
|
+
)
|
|
42074
42115
|
}
|
|
42075
|
-
|
|
42076
|
-
}
|
|
42077
|
-
}
|
|
42078
|
-
}
|
|
42116
|
+
]
|
|
42117
|
+
};
|
|
42118
|
+
})
|
|
42119
|
+
};
|
|
42120
|
+
}),
|
|
42121
|
+
props: {
|
|
42122
|
+
align: content4.align?.filter((item) => !!item)
|
|
42079
42123
|
}
|
|
42080
42124
|
};
|
|
42081
42125
|
}
|
package/dist/index.js
CHANGED
|
@@ -40764,11 +40764,11 @@ var blockElement = (content3, field, imageCallback) => {
|
|
|
40764
40764
|
};
|
|
40765
40765
|
case "mdxJsxFlowElement":
|
|
40766
40766
|
if (content3.name === "table") {
|
|
40767
|
-
const
|
|
40767
|
+
const table2 = content3.props;
|
|
40768
40768
|
return {
|
|
40769
40769
|
type: "table",
|
|
40770
|
-
align:
|
|
40771
|
-
children:
|
|
40770
|
+
align: table2.align,
|
|
40771
|
+
children: table2.tableRows.map((tableRow) => {
|
|
40772
40772
|
const tr2 = {
|
|
40773
40773
|
type: "tableRow",
|
|
40774
40774
|
children: tableRow.tableCells.map(({ value }) => {
|
|
@@ -40865,6 +40865,28 @@ var blockElement = (content3, field, imageCallback) => {
|
|
|
40865
40865
|
}
|
|
40866
40866
|
]
|
|
40867
40867
|
};
|
|
40868
|
+
case "table":
|
|
40869
|
+
const table = content3.props;
|
|
40870
|
+
return {
|
|
40871
|
+
type: "table",
|
|
40872
|
+
align: table == null ? void 0 : table.align,
|
|
40873
|
+
children: content3.children.map((tableRow) => {
|
|
40874
|
+
return {
|
|
40875
|
+
type: "tableRow",
|
|
40876
|
+
children: tableRow.children.map((tableCell) => {
|
|
40877
|
+
var _a3, _b;
|
|
40878
|
+
return {
|
|
40879
|
+
type: "tableCell",
|
|
40880
|
+
children: eat2(
|
|
40881
|
+
((_b = (_a3 = tableCell.children) == null ? void 0 : _a3.at(0)) == null ? void 0 : _b.children) || [],
|
|
40882
|
+
field,
|
|
40883
|
+
imageCallback
|
|
40884
|
+
)
|
|
40885
|
+
};
|
|
40886
|
+
})
|
|
40887
|
+
};
|
|
40888
|
+
})
|
|
40889
|
+
};
|
|
40868
40890
|
default:
|
|
40869
40891
|
throw new Error(`BlockElement: ${content3.type} is not yet supported`);
|
|
40870
40892
|
}
|
|
@@ -41087,7 +41109,6 @@ function stringifyProps2(element, parentField, flatten2, imageCallback) {
|
|
|
41087
41109
|
if (field.list) {
|
|
41088
41110
|
throw new Error(`Rich-text list is not supported`);
|
|
41089
41111
|
} else {
|
|
41090
|
-
console.log("RICH-TEXT StringifyProps", value);
|
|
41091
41112
|
const joiner = flatten2 ? " " : "\n";
|
|
41092
41113
|
let val = "";
|
|
41093
41114
|
assertShape2(
|
|
@@ -41433,6 +41454,12 @@ var blockElement2 = (content3, field, imageCallback) => {
|
|
|
41433
41454
|
type: "paragraph",
|
|
41434
41455
|
children: eat3(content3.children, field, imageCallback)
|
|
41435
41456
|
};
|
|
41457
|
+
case "mermaid":
|
|
41458
|
+
return {
|
|
41459
|
+
type: "code",
|
|
41460
|
+
lang: "mermaid",
|
|
41461
|
+
value: content3.value
|
|
41462
|
+
};
|
|
41436
41463
|
case "code_block":
|
|
41437
41464
|
return {
|
|
41438
41465
|
type: "code",
|
|
@@ -41441,11 +41468,11 @@ var blockElement2 = (content3, field, imageCallback) => {
|
|
|
41441
41468
|
};
|
|
41442
41469
|
case "mdxJsxFlowElement":
|
|
41443
41470
|
if (content3.name === "table") {
|
|
41444
|
-
const
|
|
41471
|
+
const table2 = content3.props;
|
|
41445
41472
|
return {
|
|
41446
41473
|
type: "table",
|
|
41447
|
-
align:
|
|
41448
|
-
children:
|
|
41474
|
+
align: table2.align,
|
|
41475
|
+
children: table2.tableRows.map((tableRow) => {
|
|
41449
41476
|
const tr2 = {
|
|
41450
41477
|
type: "tableRow",
|
|
41451
41478
|
children: tableRow.tableCells.map(({ value }) => {
|
|
@@ -41513,6 +41540,28 @@ var blockElement2 = (content3, field, imageCallback) => {
|
|
|
41513
41540
|
}
|
|
41514
41541
|
]
|
|
41515
41542
|
};
|
|
41543
|
+
case "table":
|
|
41544
|
+
const table = content3.props;
|
|
41545
|
+
return {
|
|
41546
|
+
type: "table",
|
|
41547
|
+
align: table == null ? void 0 : table.align,
|
|
41548
|
+
children: content3.children.map((tableRow) => {
|
|
41549
|
+
return {
|
|
41550
|
+
type: "tableRow",
|
|
41551
|
+
children: tableRow.children.map((tableCell) => {
|
|
41552
|
+
var _a3, _b;
|
|
41553
|
+
return {
|
|
41554
|
+
type: "tableCell",
|
|
41555
|
+
children: eat3(
|
|
41556
|
+
((_b = (_a3 = tableCell.children) == null ? void 0 : _a3.at(0)) == null ? void 0 : _b.children) || [],
|
|
41557
|
+
field,
|
|
41558
|
+
imageCallback
|
|
41559
|
+
)
|
|
41560
|
+
};
|
|
41561
|
+
})
|
|
41562
|
+
};
|
|
41563
|
+
})
|
|
41564
|
+
};
|
|
41516
41565
|
default:
|
|
41517
41566
|
throw new Error(`BlockElement: ${content3.type} is not yet supported`);
|
|
41518
41567
|
}
|
|
@@ -43953,32 +44002,29 @@ var remarkToSlate = (root2, field, imageCallback, raw, skipMDXProcess) => {
|
|
|
43953
44002
|
switch (content4.type) {
|
|
43954
44003
|
case "table": {
|
|
43955
44004
|
return {
|
|
43956
|
-
type: "
|
|
43957
|
-
children:
|
|
43958
|
-
|
|
43959
|
-
|
|
43960
|
-
|
|
43961
|
-
|
|
43962
|
-
|
|
43963
|
-
|
|
43964
|
-
|
|
43965
|
-
|
|
43966
|
-
|
|
43967
|
-
|
|
43968
|
-
|
|
43969
|
-
|
|
43970
|
-
|
|
43971
|
-
child2.children.map(
|
|
43972
|
-
(child3) => phrasingContent(child3)
|
|
43973
|
-
)
|
|
43974
|
-
)
|
|
43975
|
-
}
|
|
43976
|
-
]
|
|
44005
|
+
type: "table",
|
|
44006
|
+
children: content4.children.map((tableRow) => {
|
|
44007
|
+
return {
|
|
44008
|
+
type: "tr",
|
|
44009
|
+
children: tableRow.children.map((tableCell) => {
|
|
44010
|
+
return {
|
|
44011
|
+
type: "td",
|
|
44012
|
+
children: [
|
|
44013
|
+
{
|
|
44014
|
+
type: "p",
|
|
44015
|
+
children: (0, import_lodash.default)(
|
|
44016
|
+
tableCell.children.map(
|
|
44017
|
+
(child) => phrasingContent(child)
|
|
44018
|
+
)
|
|
44019
|
+
)
|
|
43977
44020
|
}
|
|
43978
|
-
|
|
43979
|
-
}
|
|
43980
|
-
}
|
|
43981
|
-
}
|
|
44021
|
+
]
|
|
44022
|
+
};
|
|
44023
|
+
})
|
|
44024
|
+
};
|
|
44025
|
+
}),
|
|
44026
|
+
props: {
|
|
44027
|
+
align: (_a3 = content4.align) == null ? void 0 : _a3.filter((item) => !!item)
|
|
43982
44028
|
}
|
|
43983
44029
|
};
|
|
43984
44030
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -40747,11 +40747,11 @@ var blockElement = (content3, field, imageCallback) => {
|
|
|
40747
40747
|
};
|
|
40748
40748
|
case "mdxJsxFlowElement":
|
|
40749
40749
|
if (content3.name === "table") {
|
|
40750
|
-
const
|
|
40750
|
+
const table2 = content3.props;
|
|
40751
40751
|
return {
|
|
40752
40752
|
type: "table",
|
|
40753
|
-
align:
|
|
40754
|
-
children:
|
|
40753
|
+
align: table2.align,
|
|
40754
|
+
children: table2.tableRows.map((tableRow) => {
|
|
40755
40755
|
const tr2 = {
|
|
40756
40756
|
type: "tableRow",
|
|
40757
40757
|
children: tableRow.tableCells.map(({ value }) => {
|
|
@@ -40847,6 +40847,27 @@ var blockElement = (content3, field, imageCallback) => {
|
|
|
40847
40847
|
}
|
|
40848
40848
|
]
|
|
40849
40849
|
};
|
|
40850
|
+
case "table":
|
|
40851
|
+
const table = content3.props;
|
|
40852
|
+
return {
|
|
40853
|
+
type: "table",
|
|
40854
|
+
align: table?.align,
|
|
40855
|
+
children: content3.children.map((tableRow) => {
|
|
40856
|
+
return {
|
|
40857
|
+
type: "tableRow",
|
|
40858
|
+
children: tableRow.children.map((tableCell) => {
|
|
40859
|
+
return {
|
|
40860
|
+
type: "tableCell",
|
|
40861
|
+
children: eat2(
|
|
40862
|
+
tableCell.children?.at(0)?.children || [],
|
|
40863
|
+
field,
|
|
40864
|
+
imageCallback
|
|
40865
|
+
)
|
|
40866
|
+
};
|
|
40867
|
+
})
|
|
40868
|
+
};
|
|
40869
|
+
})
|
|
40870
|
+
};
|
|
40850
40871
|
default:
|
|
40851
40872
|
throw new Error(`BlockElement: ${content3.type} is not yet supported`);
|
|
40852
40873
|
}
|
|
@@ -41066,7 +41087,6 @@ function stringifyProps2(element, parentField, flatten2, imageCallback) {
|
|
|
41066
41087
|
if (field.list) {
|
|
41067
41088
|
throw new Error(`Rich-text list is not supported`);
|
|
41068
41089
|
} else {
|
|
41069
|
-
console.log("RICH-TEXT StringifyProps", value);
|
|
41070
41090
|
const joiner = flatten2 ? " " : "\n";
|
|
41071
41091
|
let val = "";
|
|
41072
41092
|
assertShape2(
|
|
@@ -41410,6 +41430,12 @@ var blockElement2 = (content3, field, imageCallback) => {
|
|
|
41410
41430
|
type: "paragraph",
|
|
41411
41431
|
children: eat3(content3.children, field, imageCallback)
|
|
41412
41432
|
};
|
|
41433
|
+
case "mermaid":
|
|
41434
|
+
return {
|
|
41435
|
+
type: "code",
|
|
41436
|
+
lang: "mermaid",
|
|
41437
|
+
value: content3.value
|
|
41438
|
+
};
|
|
41413
41439
|
case "code_block":
|
|
41414
41440
|
return {
|
|
41415
41441
|
type: "code",
|
|
@@ -41418,11 +41444,11 @@ var blockElement2 = (content3, field, imageCallback) => {
|
|
|
41418
41444
|
};
|
|
41419
41445
|
case "mdxJsxFlowElement":
|
|
41420
41446
|
if (content3.name === "table") {
|
|
41421
|
-
const
|
|
41447
|
+
const table2 = content3.props;
|
|
41422
41448
|
return {
|
|
41423
41449
|
type: "table",
|
|
41424
|
-
align:
|
|
41425
|
-
children:
|
|
41450
|
+
align: table2.align,
|
|
41451
|
+
children: table2.tableRows.map((tableRow) => {
|
|
41426
41452
|
const tr2 = {
|
|
41427
41453
|
type: "tableRow",
|
|
41428
41454
|
children: tableRow.tableCells.map(({ value }) => {
|
|
@@ -41489,6 +41515,27 @@ var blockElement2 = (content3, field, imageCallback) => {
|
|
|
41489
41515
|
}
|
|
41490
41516
|
]
|
|
41491
41517
|
};
|
|
41518
|
+
case "table":
|
|
41519
|
+
const table = content3.props;
|
|
41520
|
+
return {
|
|
41521
|
+
type: "table",
|
|
41522
|
+
align: table?.align,
|
|
41523
|
+
children: content3.children.map((tableRow) => {
|
|
41524
|
+
return {
|
|
41525
|
+
type: "tableRow",
|
|
41526
|
+
children: tableRow.children.map((tableCell) => {
|
|
41527
|
+
return {
|
|
41528
|
+
type: "tableCell",
|
|
41529
|
+
children: eat3(
|
|
41530
|
+
tableCell.children?.at(0)?.children || [],
|
|
41531
|
+
field,
|
|
41532
|
+
imageCallback
|
|
41533
|
+
)
|
|
41534
|
+
};
|
|
41535
|
+
})
|
|
41536
|
+
};
|
|
41537
|
+
})
|
|
41538
|
+
};
|
|
41492
41539
|
default:
|
|
41493
41540
|
throw new Error(`BlockElement: ${content3.type} is not yet supported`);
|
|
41494
41541
|
}
|
|
@@ -43922,32 +43969,29 @@ var remarkToSlate = (root2, field, imageCallback, raw, skipMDXProcess) => {
|
|
|
43922
43969
|
switch (content4.type) {
|
|
43923
43970
|
case "table": {
|
|
43924
43971
|
return {
|
|
43925
|
-
type: "
|
|
43926
|
-
children:
|
|
43927
|
-
|
|
43928
|
-
|
|
43929
|
-
|
|
43930
|
-
|
|
43931
|
-
|
|
43932
|
-
|
|
43933
|
-
|
|
43934
|
-
|
|
43935
|
-
|
|
43936
|
-
|
|
43937
|
-
|
|
43938
|
-
|
|
43939
|
-
|
|
43940
|
-
child2.children.map(
|
|
43941
|
-
(child3) => phrasingContent(child3)
|
|
43942
|
-
)
|
|
43943
|
-
)
|
|
43944
|
-
}
|
|
43945
|
-
]
|
|
43972
|
+
type: "table",
|
|
43973
|
+
children: content4.children.map((tableRow) => {
|
|
43974
|
+
return {
|
|
43975
|
+
type: "tr",
|
|
43976
|
+
children: tableRow.children.map((tableCell) => {
|
|
43977
|
+
return {
|
|
43978
|
+
type: "td",
|
|
43979
|
+
children: [
|
|
43980
|
+
{
|
|
43981
|
+
type: "p",
|
|
43982
|
+
children: (0, import_lodash.default)(
|
|
43983
|
+
tableCell.children.map(
|
|
43984
|
+
(child) => phrasingContent(child)
|
|
43985
|
+
)
|
|
43986
|
+
)
|
|
43946
43987
|
}
|
|
43947
|
-
|
|
43948
|
-
}
|
|
43949
|
-
}
|
|
43950
|
-
}
|
|
43988
|
+
]
|
|
43989
|
+
};
|
|
43990
|
+
})
|
|
43991
|
+
};
|
|
43992
|
+
}),
|
|
43993
|
+
props: {
|
|
43994
|
+
align: content4.align?.filter((item) => !!item)
|
|
43951
43995
|
}
|
|
43952
43996
|
};
|
|
43953
43997
|
}
|
package/dist/parse/plate.d.ts
CHANGED
|
@@ -118,6 +118,28 @@ export type ParagraphElement = {
|
|
|
118
118
|
type: 'p';
|
|
119
119
|
children: InlineElement[];
|
|
120
120
|
};
|
|
121
|
+
/**
|
|
122
|
+
* @group BlockElement
|
|
123
|
+
*/
|
|
124
|
+
export type TableCellElement = {
|
|
125
|
+
type: 'td';
|
|
126
|
+
children: ParagraphElement[];
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* @group BlockElement
|
|
130
|
+
*/
|
|
131
|
+
export type TableRowElement = {
|
|
132
|
+
type: 'tr';
|
|
133
|
+
children: TableCellElement[];
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* @group BlockElement
|
|
137
|
+
*/
|
|
138
|
+
export type TableElement = {
|
|
139
|
+
type: 'table';
|
|
140
|
+
children: TableRowElement[];
|
|
141
|
+
props: Record<string, unknown>;
|
|
142
|
+
};
|
|
121
143
|
/**
|
|
122
144
|
* @group MermaidElement
|
|
123
145
|
*/
|
|
@@ -129,7 +151,7 @@ export type MermaidElement = {
|
|
|
129
151
|
/**
|
|
130
152
|
* @group BlockElement
|
|
131
153
|
*/
|
|
132
|
-
export type BlockElement = BlockquoteElement | CodeBlockElement | HeadingElement | HrElement | HTMLElement | ImageElement | InvalidMarkdownElement | ListItemElement | MdxBlockElement | ParagraphElement | MermaidElement | OrderedListElement | UnorderedListElement;
|
|
154
|
+
export type BlockElement = BlockquoteElement | CodeBlockElement | HeadingElement | HrElement | HTMLElement | ImageElement | InvalidMarkdownElement | ListItemElement | MdxBlockElement | ParagraphElement | MermaidElement | OrderedListElement | UnorderedListElement | TableCellElement | TableRowElement | TableElement;
|
|
133
155
|
/**
|
|
134
156
|
* @group InlineElement
|
|
135
157
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinacms/mdx",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-ecea7ac-20241011043815",
|
|
4
4
|
"typings": "dist/index.d.ts",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"browser": "dist/index.browser.mjs",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"unist-util-visit": "4.1.2",
|
|
57
57
|
"uvu": "0.5.6",
|
|
58
58
|
"vfile-message": "3.1.4",
|
|
59
|
-
"@tinacms/schema-tools": "0.0.0-
|
|
59
|
+
"@tinacms/schema-tools": "0.0.0-ecea7ac-20241011043815"
|
|
60
60
|
},
|
|
61
61
|
"publishConfig": {
|
|
62
62
|
"registry": "https://registry.npmjs.org"
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"typescript": "^5.6.2",
|
|
81
81
|
"vite": "^4.5.5",
|
|
82
82
|
"vitest": "^0.32.4",
|
|
83
|
-
"@tinacms/scripts": "
|
|
83
|
+
"@tinacms/scripts": "0.0.0-ecea7ac-20241011043815"
|
|
84
84
|
},
|
|
85
85
|
"scripts": {
|
|
86
86
|
"types": "tsc",
|