@hyvor/design 2.1.5 → 2.1.6
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.
|
@@ -13,7 +13,6 @@ export { default as Callout } from './Callout/Callout.svelte';
|
|
|
13
13
|
export { default as Checkbox } from './Checkbox/Checkbox.svelte';
|
|
14
14
|
export { default as CodeBlock } from './CodeBlock/CodeBlock.svelte';
|
|
15
15
|
export { highlightCode } from './CodeBlock/getCode.js';
|
|
16
|
-
export { markdownPlugin } from './markdown/markdown.js';
|
|
17
16
|
export { default as TabbedCodeBlock } from './CodeBlock/TabbedCodeBlock.svelte';
|
|
18
17
|
export { default as ColorPicker } from './ColorPicker/ColorPicker.svelte';
|
|
19
18
|
export { default as ConsoleLoader } from './ConsoleLoader/ConsoleLoader.svelte';
|
package/dist/components/index.js
CHANGED
|
@@ -13,7 +13,6 @@ export { default as Callout } from './Callout/Callout.svelte';
|
|
|
13
13
|
export { default as Checkbox } from './Checkbox/Checkbox.svelte';
|
|
14
14
|
export { default as CodeBlock } from './CodeBlock/CodeBlock.svelte';
|
|
15
15
|
export { highlightCode } from './CodeBlock/getCode.js';
|
|
16
|
-
export { markdownPlugin } from './markdown/markdown.js';
|
|
17
16
|
export { default as TabbedCodeBlock } from './CodeBlock/TabbedCodeBlock.svelte';
|
|
18
17
|
export { default as ColorPicker } from './ColorPicker/ColorPicker.svelte';
|
|
19
18
|
export { default as ConsoleLoader } from './ConsoleLoader/ConsoleLoader.svelte';
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { mdsvex, escapeSvelte } from 'mdsvex';
|
|
2
|
-
import { highlightCode } from '../CodeBlock/getCode.js';
|
|
2
|
+
import { highlightCode } from '../components/CodeBlock/getCode.js';
|
|
3
3
|
|
|
4
4
|
// this is a JS file because we can use it in svelte.config.js locally
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* @returns {import('svelte/compiler').PreprocessorGroup}
|
|
8
|
+
*/
|
|
6
9
|
export function markdownPlugin() {
|
|
7
10
|
return mdsvex({
|
|
8
11
|
extensions: ['.md'],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyvor/design",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"repository": {
|
|
@@ -25,6 +25,10 @@
|
|
|
25
25
|
"types": "./dist/components/index.d.ts",
|
|
26
26
|
"svelte": "./dist/components/index.js"
|
|
27
27
|
},
|
|
28
|
+
"./dev": {
|
|
29
|
+
"types": "./dist/dev/markdown.d.ts",
|
|
30
|
+
"default": "./dist/dev/markdown.js"
|
|
31
|
+
},
|
|
28
32
|
"./marketing": {
|
|
29
33
|
"types": "./dist/marketing/index.d.ts",
|
|
30
34
|
"svelte": "./dist/marketing/index.js"
|