@gild-ui/vue-markdown 0.1.0-alpha.0 → 0.1.0-alpha.2
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/{CodeBlock-C-5omHoJ.mjs → CodeBlock-C_zbGWqz.mjs} +2 -1
- package/dist/{CodeBlock-NGTCYbfS.cjs → CodeBlock-SdF2UBBj.cjs} +2 -1
- package/dist/CodeBlock.cjs +1 -1
- package/dist/CodeBlock.mjs +1 -1
- package/dist/{Preview-D5Xn7LOO.cjs → Preview-1udclNgS.cjs} +1 -1
- package/dist/{Preview-CDeDFn2m.mjs → Preview-DnsvFtjT.mjs} +1 -1
- package/dist/Preview.cjs +1 -1
- package/dist/Preview.mjs +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +6 -6
|
@@ -163,10 +163,11 @@ const CodeBlock = defineComponent((props, { attrs, slots }) => {
|
|
|
163
163
|
};
|
|
164
164
|
return () => {
|
|
165
165
|
const { slotProps, style } = props;
|
|
166
|
+
const { style: _style, ...otherAttributes } = attrs;
|
|
166
167
|
return h(Wrapper, {
|
|
167
168
|
my: 2,
|
|
168
169
|
position: "relative",
|
|
169
|
-
...
|
|
170
|
+
...otherAttributes,
|
|
170
171
|
...mergeOverrides(slotProps?.root, {
|
|
171
172
|
style,
|
|
172
173
|
class: attrs.class
|
|
@@ -163,10 +163,11 @@ const CodeBlock = (0, vue.defineComponent)((props, { attrs, slots }) => {
|
|
|
163
163
|
};
|
|
164
164
|
return () => {
|
|
165
165
|
const { slotProps, style } = props;
|
|
166
|
+
const { style: _style, ...otherAttributes } = attrs;
|
|
166
167
|
return (0, vue.h)(Wrapper, {
|
|
167
168
|
my: 2,
|
|
168
169
|
position: "relative",
|
|
169
|
-
...
|
|
170
|
+
...otherAttributes,
|
|
170
171
|
...mergeOverrides(slotProps?.root, {
|
|
171
172
|
style,
|
|
172
173
|
class: attrs.class
|
package/dist/CodeBlock.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_CodeBlock = require("./CodeBlock-
|
|
2
|
+
const require_CodeBlock = require("./CodeBlock-SdF2UBBj.cjs");
|
|
3
3
|
exports.CodeBlock = require_CodeBlock.CodeBlock;
|
|
4
4
|
exports.syntaxDark = require_CodeBlock.syntaxDark;
|
|
5
5
|
exports.syntaxLight = require_CodeBlock.syntaxLight;
|
package/dist/CodeBlock.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as CodeBlock, n as syntaxDark, r as syntaxLight } from "./CodeBlock-
|
|
1
|
+
export { t as CodeBlock, n as syntaxDark, r as syntaxLight } from "./CodeBlock-C_zbGWqz.mjs";
|
|
@@ -19,7 +19,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
19
19
|
value: mod,
|
|
20
20
|
enumerable: true
|
|
21
21
|
}) : target, mod));
|
|
22
|
-
const require_CodeBlock = require("./CodeBlock-
|
|
22
|
+
const require_CodeBlock = require("./CodeBlock-SdF2UBBj.cjs");
|
|
23
23
|
let vue = require("vue");
|
|
24
24
|
let _gild_ui_vue = require("@gild-ui/vue");
|
|
25
25
|
let _gild_ui_vue_View = require("@gild-ui/vue/View");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as rootProps, i as declare, t as CodeBlock } from "./CodeBlock-
|
|
1
|
+
import { a as rootProps, i as declare, t as CodeBlock } from "./CodeBlock-C_zbGWqz.mjs";
|
|
2
2
|
import { Comment, defineComponent, h, isVNode } from "vue";
|
|
3
3
|
import { StyleSheet, styled } from "@gild-ui/vue";
|
|
4
4
|
import { View } from "@gild-ui/vue/View";
|
package/dist/Preview.cjs
CHANGED
package/dist/Preview.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as Preview } from "./Preview-
|
|
1
|
+
export { t as Preview } from "./Preview-DnsvFtjT.mjs";
|
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_Preview = require("./Preview-
|
|
3
|
-
const require_CodeBlock = require("./CodeBlock-
|
|
2
|
+
const require_Preview = require("./Preview-1udclNgS.cjs");
|
|
3
|
+
const require_CodeBlock = require("./CodeBlock-SdF2UBBj.cjs");
|
|
4
4
|
exports.CodeBlock = require_CodeBlock.CodeBlock;
|
|
5
5
|
exports.Preview = require_Preview.Preview;
|
|
6
6
|
exports.syntaxDark = require_CodeBlock.syntaxDark;
|
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as syntaxDark, r as syntaxLight, t as CodeBlock } from "./CodeBlock-
|
|
2
|
-
import { t as Preview } from "./Preview-
|
|
1
|
+
import { n as syntaxDark, r as syntaxLight, t as CodeBlock } from "./CodeBlock-C_zbGWqz.mjs";
|
|
2
|
+
import { t as Preview } from "./Preview-DnsvFtjT.mjs";
|
|
3
3
|
export { CodeBlock, Preview, syntaxDark, syntaxLight };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gild-ui/vue-markdown",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.2",
|
|
4
4
|
"description": "The markdown viewer of Gild UI for Vue, with the names, props and theme of @gild-ui/react-markdown - Preview and CodeBlock.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"markdown",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"remark-parse": "^11.0.0",
|
|
74
74
|
"remark-rehype": "^11.1.2",
|
|
75
75
|
"unified": "^11.0.5",
|
|
76
|
-
"@gild-ui/core": "^0.1.0-alpha.
|
|
76
|
+
"@gild-ui/core": "^0.1.0-alpha.3"
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|
|
79
79
|
"@gild-ui/vue": "^0.1.0",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"@types/node": "^26.6.11",
|
|
84
84
|
"@types/react": "^19.3.3",
|
|
85
85
|
"@types/react-dom": "^19.3.0",
|
|
86
|
-
"@umber-style/vue": "0.
|
|
86
|
+
"@umber-style/vue": "0.10.0",
|
|
87
87
|
"@vitest/coverage-v8": "^5.1.2",
|
|
88
88
|
"@vue/test-utils": "^2.6.0",
|
|
89
89
|
"jsdom": "^31.0.1",
|
|
@@ -94,9 +94,9 @@
|
|
|
94
94
|
"typescript": "~7.0.2",
|
|
95
95
|
"vitest": "^5.1.2",
|
|
96
96
|
"vue": "^3.5.46",
|
|
97
|
-
"@gild-ui/react": "0.1.0-alpha.
|
|
98
|
-
"@gild-ui/
|
|
99
|
-
"@gild-ui/
|
|
97
|
+
"@gild-ui/react-markdown": "0.1.0-alpha.3",
|
|
98
|
+
"@gild-ui/react": "0.1.0-alpha.3",
|
|
99
|
+
"@gild-ui/vue": "0.1.0-alpha.2",
|
|
100
100
|
"@soroush.tech/eslint-config": "0.0.0"
|
|
101
101
|
},
|
|
102
102
|
"scripts": {
|