@omegagrid/markdown 0.3.68 → 0.4.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 (97) hide show
  1. package/dist/components/features/blockEdit.d.ts +19 -0
  2. package/dist/components/features/blockEdit.d.ts.map +1 -0
  3. package/dist/components/features/blockEdit.js +38 -0
  4. package/dist/components/features/blockEdit.js.map +1 -0
  5. package/dist/components/features/blockEditMenu.d.ts +16 -0
  6. package/dist/components/features/blockEditMenu.d.ts.map +1 -0
  7. package/dist/components/features/blockEditMenu.js +23 -0
  8. package/dist/components/features/blockEditMenu.js.map +1 -0
  9. package/dist/components/features/codeBlock.d.ts +31 -0
  10. package/dist/components/features/codeBlock.d.ts.map +1 -0
  11. package/dist/components/features/codeBlock.js +1 -0
  12. package/dist/components/features/codeBlock.js.map +1 -0
  13. package/dist/components/features/index.d.ts +22 -0
  14. package/dist/components/features/index.d.ts.map +1 -0
  15. package/dist/components/features/index.js +1 -0
  16. package/dist/components/features/index.js.map +1 -0
  17. package/dist/components/features/placeholder.d.ts +13 -0
  18. package/dist/components/features/placeholder.d.ts.map +1 -0
  19. package/dist/components/features/placeholder.js +1 -0
  20. package/dist/components/features/placeholder.js.map +1 -0
  21. package/dist/components/features/toolbar.d.ts +24 -0
  22. package/dist/components/features/toolbar.d.ts.map +1 -0
  23. package/dist/components/features/toolbar.js +67 -0
  24. package/dist/components/features/toolbar.js.map +1 -0
  25. package/dist/components/features/utils.d.ts +12 -0
  26. package/dist/components/features/utils.d.ts.map +1 -0
  27. package/dist/components/features/utils.js +1 -0
  28. package/dist/components/features/utils.js.map +1 -0
  29. package/dist/components/index.d.ts +2 -0
  30. package/dist/components/index.d.ts.map +1 -1
  31. package/dist/components/index.js +1 -18
  32. package/dist/components/index.js.map +1 -1
  33. package/dist/components/markdownEditor.d.ts +33 -0
  34. package/dist/components/markdownEditor.d.ts.map +1 -0
  35. package/dist/components/markdownEditor.js +7 -0
  36. package/dist/components/markdownEditor.js.map +1 -0
  37. package/dist/components/markdownEditor.style.d.ts +2 -0
  38. package/dist/components/markdownEditor.style.d.ts.map +1 -0
  39. package/dist/components/markdownEditor.style.js +221 -0
  40. package/dist/components/markdownEditor.style.js.map +1 -0
  41. package/dist/components/markdownView.d.ts +2 -20
  42. package/dist/components/markdownView.d.ts.map +1 -1
  43. package/dist/components/markdownView.js +1 -109
  44. package/dist/components/markdownView.js.map +1 -1
  45. package/dist/components/markdownView.style.js +2 -7
  46. package/dist/components/markdownView.style.js.map +1 -1
  47. package/dist/components/styles/block-edit.d.ts +2 -0
  48. package/dist/components/styles/block-edit.d.ts.map +1 -0
  49. package/dist/components/styles/block-edit.js +132 -0
  50. package/dist/components/styles/block-edit.js.map +1 -0
  51. package/dist/components/styles/cursor.d.ts +2 -0
  52. package/dist/components/styles/cursor.d.ts.map +1 -0
  53. package/dist/components/styles/cursor.js +12 -0
  54. package/dist/components/styles/cursor.js.map +1 -0
  55. package/dist/components/styles/image-block.d.ts +2 -0
  56. package/dist/components/styles/image-block.d.ts.map +1 -0
  57. package/dist/components/styles/image-block.js +332 -0
  58. package/dist/components/styles/image-block.js.map +1 -0
  59. package/dist/components/styles/index.d.ts +3 -0
  60. package/dist/components/styles/index.d.ts.map +1 -0
  61. package/dist/components/styles/index.js +1 -0
  62. package/dist/components/styles/index.js.map +1 -0
  63. package/dist/components/styles/link-tooltip.d.ts +2 -0
  64. package/dist/components/styles/link-tooltip.d.ts.map +1 -0
  65. package/dist/components/styles/link-tooltip.js +110 -0
  66. package/dist/components/styles/link-tooltip.js.map +1 -0
  67. package/dist/components/styles/list-item.d.ts +2 -0
  68. package/dist/components/styles/list-item.d.ts.map +1 -0
  69. package/dist/components/styles/list-item.js +40 -0
  70. package/dist/components/styles/list-item.js.map +1 -0
  71. package/dist/components/styles/placeholder.d.ts +2 -0
  72. package/dist/components/styles/placeholder.d.ts.map +1 -0
  73. package/dist/components/styles/placeholder.js +9 -0
  74. package/dist/components/styles/placeholder.js.map +1 -0
  75. package/dist/components/styles/prosemirror.d.ts +2 -0
  76. package/dist/components/styles/prosemirror.d.ts.map +1 -0
  77. package/dist/components/styles/prosemirror.js +56 -0
  78. package/dist/components/styles/prosemirror.js.map +1 -0
  79. package/dist/components/styles/table.d.ts +2 -0
  80. package/dist/components/styles/table.d.ts.map +1 -0
  81. package/dist/components/styles/table.js +233 -0
  82. package/dist/components/styles/table.js.map +1 -0
  83. package/dist/constants.js +1 -7
  84. package/dist/constants.js.map +1 -1
  85. package/dist/index.d.ts +1 -0
  86. package/dist/index.d.ts.map +1 -1
  87. package/dist/index.js +1 -18
  88. package/dist/index.js.map +1 -1
  89. package/dist/utils.d.ts +9 -0
  90. package/dist/utils.d.ts.map +1 -0
  91. package/dist/utils.js +1 -0
  92. package/dist/utils.js.map +1 -0
  93. package/package.json +6 -3
  94. package/dist/types.d.ts +0 -1
  95. package/dist/types.d.ts.map +0 -1
  96. package/dist/types.js +0 -1
  97. package/dist/types.js.map +0 -1
@@ -0,0 +1,233 @@
1
+ import{css}from"lit";export const style=css`
2
+ .ProseMirror .tableWrapper {
3
+ overflow-x: auto;
4
+ }
5
+ .ProseMirror table {
6
+ border-collapse: collapse;
7
+ table-layout: fixed;
8
+ width: 100%;
9
+ overflow: hidden;
10
+ }
11
+ .ProseMirror td, .ProseMirror th {
12
+ vertical-align: top;
13
+ box-sizing: border-box;
14
+ position: relative;
15
+ }
16
+
17
+ .ProseMirror td:not([data-colwidth]):not(.column-resize-dragging),
18
+ .ProseMirror th:not([data-colwidth]):not(.column-resize-dragging) {
19
+ /* if there's no explicit width set and the column is not being resized, set a default width */
20
+ min-width: var(--default-cell-min-width);
21
+ }
22
+
23
+ .ProseMirror .column-resize-handle {
24
+ position: absolute;
25
+ right: -2px;
26
+ top: 0;
27
+ bottom: 0;
28
+ width: 4px;
29
+ z-index: 20;
30
+ background-color: #adf;
31
+ pointer-events: none;
32
+ }
33
+
34
+ .ProseMirror.resize-cursor {
35
+ cursor: ew-resize;
36
+ cursor: col-resize;
37
+ }
38
+
39
+ /* Give selected cells a blue overlay */
40
+ .ProseMirror .selectedCell:after {
41
+ z-index: 2;
42
+ position: absolute;
43
+ content: '';
44
+ left: 0;
45
+ right: 0;
46
+ top: 0;
47
+ bottom: 0;
48
+ background: rgba(200, 200, 255, 0.4);
49
+ pointer-events: none;
50
+ }
51
+
52
+ milkdown-table-block {
53
+ display: block;
54
+ margin: 4px 0;
55
+ }
56
+ milkdown-table-block th,
57
+ milkdown-table-block td {
58
+ border: 1px solid var(--og-border-color);
59
+ padding: 4px 16px;
60
+ }
61
+ milkdown-table-block th .ProseMirror-selectednode,
62
+ milkdown-table-block td .ProseMirror-selectednode {
63
+ background-color: transparent !important;
64
+ }
65
+ milkdown-table-block th:has(.ProseMirror-selectednode),
66
+ milkdown-table-block td:has(.ProseMirror-selectednode) {
67
+ outline: 1px solid var(--markdown-color-primary);
68
+ outline-offset: -1px;
69
+ }
70
+
71
+ milkdown-table-block .selectedCell::after {
72
+ background-color: var(--markdown-color-selected);
73
+ opacity: 0.4;
74
+ }
75
+ milkdown-table-block .selectedCell::selection {
76
+ background: transparent;
77
+ }
78
+
79
+ milkdown-table-block .drag-preview {
80
+ background-color: var(--markdown-color-surface);
81
+ opacity: 0.4;
82
+ position: absolute;
83
+ z-index: 100;
84
+ display: flex;
85
+ flex-direction: column;
86
+ outline: 1px solid var(--markdown-color-primary);
87
+ outline-offset: -1px;
88
+ }
89
+ milkdown-table-block .drag-preview[data-show='false'] {
90
+ display: none;
91
+ }
92
+ milkdown-table-block .drag-preview th:has(.ProseMirror-selectednode),
93
+ milkdown-table-block .drag-preview td:has(.ProseMirror-selectednode) {
94
+ outline: none;
95
+ }
96
+
97
+ milkdown-table-block .handle {
98
+ position: absolute;
99
+ font-size: 12px;
100
+ transition: opacity ease-in-out 0.2s;
101
+ }
102
+ milkdown-table-block .handle[data-show='false'] {
103
+ opacity: 0;
104
+ }
105
+
106
+ milkdown-table-block svg {
107
+ fill: var(--markdown-color-outline);
108
+ }
109
+
110
+ milkdown-table-block .cell-handle {
111
+ z-index: 50;
112
+ left: -999px;
113
+ top: -999px;
114
+ cursor: grab;
115
+ background-color: var(--og-accent-color);
116
+ color: var(--og-text-color-2);
117
+ border-radius: 100px;
118
+ transition: background-color 0.2s ease-in-out;
119
+ }
120
+ milkdown-table-block .cell-handle:hover {
121
+ background-color: var(--og-accent-color-highlight);
122
+ }
123
+ milkdown-table-block .cell-handle:has(.button-group:hover) {
124
+ background-color: var(--og-accent-color-highlight);
125
+ }
126
+ milkdown-table-block .cell-handle[data-role='col-drag-handle'] {
127
+ transform: translateY(50%);
128
+ padding: 0 6px;
129
+ width: 28px;
130
+ height: 16px;
131
+ }
132
+ milkdown-table-block .cell-handle[data-role='row-drag-handle'] {
133
+ transform: translateX(50%);
134
+ padding: 6px 0;
135
+ width: 16px;
136
+ height: 28px;
137
+ }
138
+ milkdown-table-block .cell-handle .button-group {
139
+ position: absolute;
140
+ transform: translateX(-50%);
141
+ left: 50%;
142
+ top: -52px;
143
+ display: flex;
144
+ gap: 2px;
145
+ background-color: var(--og-background-color);
146
+ border: 1px solid var(--og-accent-color);
147
+ padding: 2px;
148
+ }
149
+ milkdown-table-block .cell-handle .button-group::after {
150
+ content: '';
151
+ position: absolute;
152
+ bottom: -8px;
153
+ height: 8px;
154
+ background-color: transparent;
155
+ width: 100%;
156
+ }
157
+ milkdown-table-block .cell-handle .button-group[data-show='false'] {
158
+ display: none;
159
+ }
160
+ milkdown-table-block .cell-handle .button-group button {
161
+ background-color: var(--og-accent-color);
162
+ color: var(--og-text-color-2);
163
+ cursor: pointer;
164
+ min-width: 20px;
165
+ height: 20px;
166
+ display: flex;
167
+ justify-content: center;
168
+ align-items: center;
169
+ }
170
+ milkdown-table-block .cell-handle .button-group button:hover {
171
+ background-color: var(--og-accent-color-highlight);
172
+ }
173
+ milkdown-table-block .cell-handle .button-group button:active {
174
+ background: var(--markdown-color-selected);
175
+ }
176
+ milkdown-table-block .cell-handle:hover {
177
+ opacity: 1;
178
+ }
179
+
180
+ milkdown-table-block .line-handle {
181
+ z-index: 20;
182
+ background-color: var(--markdown-color-primary);
183
+ }
184
+ milkdown-table-block .line-handle:hover {
185
+ opacity: 1;
186
+ }
187
+ milkdown-table-block .line-handle .add-button {
188
+ cursor: pointer;
189
+ background-color: var(--og-accent-color);
190
+ color: var(--og-text-color-2);
191
+ border-radius: 100px;
192
+ transition: background-color 0.2s ease-in-out;
193
+ }
194
+ milkdown-table-block .line-handle .add-button > svg {
195
+ width: 16px;
196
+ height: 16px;
197
+ }
198
+ milkdown-table-block .line-handle .add-button:hover {
199
+ background-color: var(--og-accent-color-highlight);
200
+ }
201
+ milkdown-table-block .line-handle .add-button:active {
202
+ background: var(--markdown-color-selected);
203
+ }
204
+ milkdown-table-block .line-handle[data-role='x-line-drag-handle'] {
205
+ height: 1px;
206
+ z-index: 2;
207
+ }
208
+ milkdown-table-block .line-handle[data-role='x-line-drag-handle'] .add-button {
209
+ position: absolute;
210
+ transform: translateX(-50%) translateY(-50%);
211
+ padding: 6px 0;
212
+ width: 16px;
213
+ height: 28px;
214
+ }
215
+ milkdown-table-block .line-handle[data-role='y-line-drag-handle'] {
216
+ width: 1px;
217
+ z-index: 1;
218
+ }
219
+ milkdown-table-block .line-handle[data-role='y-line-drag-handle'] .add-button {
220
+ position: absolute;
221
+ transform: translateY(-50%) translateX(-50%);
222
+ padding: 0 6px;
223
+ width: 28px;
224
+ height: 16px;
225
+ }
226
+ milkdown-table-block .line-handle[data-display-type='indicator'] .add-button {
227
+ display: none;
228
+ }
229
+
230
+ milkdown-table-block.readonly .handle {
231
+ display: none;
232
+ }
233
+ `;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table.js","sourceRoot":"","sources":["../../../src/components/styles/table.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,KAAK,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwOvB,CAAC"}
package/dist/constants.js CHANGED
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const core_1 = require("@omegagrid/core");
4
- exports.default = {
5
- ...core_1.constants
6
- };
7
- //# sourceMappingURL=constants.js.map
1
+ import{constants as coreConstants}from"@omegagrid/core";export default{...coreConstants};
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":";;AAAA,0CAA6D;AAE7D,kBAAe;IACd,GAAG,gBAAa;CAChB,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAE7D,eAAe;IACd,GAAG,aAAa;CAChB,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export * from './components';
2
+ export { MilkdownLoader as loader } from '@omegagrid/milkdown-kit/dist/loader';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,cAAc,IAAI,MAAM,EAAE,MAAM,qCAAqC,CAAC"}
package/dist/index.js CHANGED
@@ -1,18 +1 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./components"), exports);
18
- //# sourceMappingURL=index.js.map
1
+ export*from"./components";export{MilkdownLoader as loader}from"@omegagrid/milkdown-kit/dist/loader";
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,cAAc,IAAI,MAAM,EAAE,MAAM,qCAAqC,CAAC"}
@@ -0,0 +1,9 @@
1
+ export type CreateEditorOptions = {
2
+ container?: HTMLElement;
3
+ content?: string;
4
+ readOnly?: boolean;
5
+ onUpload?: (file: File) => Promise<string>;
6
+ };
7
+ export declare function createEditor(options?: CreateEditorOptions): Promise<import("@milkdown/core").Editor>;
8
+ export declare function markdownToHtml(markdown: string): Promise<string>;
9
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,mBAAmB,GAAG;IACjC,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;CAC3C,CAAA;AAED,wBAAsB,YAAY,CAAC,OAAO,CAAC,EAAE,mBAAmB,4CAgC/D;AAED,wBAAsB,cAAc,CAAC,QAAQ,EAAE,MAAM,mBAKpD"}
package/dist/utils.js ADDED
@@ -0,0 +1 @@
1
+ import{MilkdownLoader}from"@omegagrid/milkdown-kit/dist/loader";import{configureFeatures,getFeatures}from".";export async function createEditor(e){const t=await MilkdownLoader.get(),o=t.core.Editor.make(),r=Array.from(getFeatures(o,t,e).entries()).filter((([e,t])=>t.default));return o.config(configureFeatures(r.map((e=>e[0])),t)).config((o=>{(null==e?void 0:e.container)&&o.set(t.core.rootCtx,e.container),(null==e?void 0:e.content)&&o.set(t.core.defaultValueCtx,e.content),(null==e?void 0:e.readOnly)&&o.update(t.core.editorViewOptionsCtx,(e=>({...e,editable:()=>!1})))})).use(t.plugins.listener.listener).use(t.presets.commonmark.commonmark).use(t.presets.gfm.gfm).use(t.plugins.history.history),r.forEach((e=>e[1].init())),await o.create(),o}export async function markdownToHtml(e){const t=await createEditor({content:e,readOnly:!0}),o=MilkdownLoader.getSync().utils.getHTML()(t.ctx);return t.destroy(),o}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,GAAG,CAAC;AASnD,MAAM,CAAC,KAAK,UAAU,YAAY,CAAC,OAA6B;IAC/D,MAAM,QAAQ,GAAG,MAAM,cAAc,CAAC,GAAG,EAAE,CAAC;IAC5C,MAAM,MAAM,GAAG,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;IAC3C,MAAM,eAAe,GAAG,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;IAEpH,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC;SACxE,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE;QACf,IAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,SAAS;YAAE,GAAG,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;QAC1E,IAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO;YAAE,GAAG,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,eAAe,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;QAC9E,IAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,EAAE,CAAC;YACvB,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,oBAAoB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,EAAC,GAAG,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,KAAK,EAAC,CAAC,CAAC,CAAC;QAC9F,CAAC;QAED,yCAAyC;QACzC,8BAA8B;QAC9B,mCAAmC;QACnC,MAAM;QACN,8DAA8D;QAC7D,mCAAmC;QACnC,kCAAkC;QAClC,IAAI;QACL,KAAK;IACN,CAAC,CAAC;SACD,GAAG,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC;SACvC,GAAG,CAAC,QAAQ,CAAC,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC;SAC3C,GAAG,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC;SAC7B,GAAG,CAAC,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IAExC,eAAe,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;IAE1C,MAAM,MAAM,CAAC,MAAM,EAAE,CAAC;IACtB,OAAO,MAAM,CAAC;AACf,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,cAAc,CAAC,QAAgB;IACpD,MAAM,MAAM,GAAG,MAAM,YAAY,CAAC,EAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAC,CAAC,CAAC;IACvE,MAAM,IAAI,GAAG,cAAc,CAAC,OAAO,EAAE,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IAClE,MAAM,CAAC,OAAO,EAAE,CAAC;IACjB,OAAO,IAAI,CAAC;AACb,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omegagrid/markdown",
3
- "version": "0.3.68",
3
+ "version": "0.4.0",
4
4
  "license": "UNLICENSED",
5
5
  "description": "Markdown view webcomponent",
6
6
  "main": "./dist/index.js",
@@ -28,8 +28,11 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@fortawesome/fontawesome-svg-core": "6.4.2",
31
- "@omegagrid/code": "^0.3.68",
32
- "@omegagrid/core": "^0.3.68",
31
+ "@omegagrid/code": "^0.4.0",
32
+ "@omegagrid/core": "^0.4.0",
33
+ "@omegagrid/localize": "^0.4.0",
34
+ "@omegagrid/milkdown-kit": "^0.4.0",
35
+ "@omegagrid/tabs": "^0.4.0",
33
36
  "@riovir/wc-fontawesome": "^0.1.9",
34
37
  "lit": "^3.1.1",
35
38
  "markdown-it": "^14.1.0",
package/dist/types.d.ts DELETED
@@ -1 +0,0 @@
1
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
package/dist/types.js DELETED
@@ -1 +0,0 @@
1
- //# sourceMappingURL=types.js.map
package/dist/types.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}