@micro-lc/preview 0.6.1 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +14 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +1 -0
- package/package.json +15 -2
- package/website/.vite/manifest.json +4 -1
- package/website/assets/index-5hug6TwQ.js +95 -0
- package/website/assets/index-7T1ZCqRR.js +95 -0
- package/website/assets/index-AYPpxqPP.css +1 -0
- package/website/development/.vite/manifest.json +4 -1
- package/website/development/assets/index-NQ4PJ7wv.css +96 -0
- package/website/development/assets/index-rbglf7s6.js +68220 -0
- package/website/development/assets/index-xE-oRO06.js +68634 -0
- package/website/development/index.html +2 -1
- package/website/index.html +2 -1
- package/website/assets/index-eRjzhw12.js +0 -25
- package/website/development/assets/index-Im8nnmAE.js +0 -6834
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
## Unreleased
|
2
2
|
|
3
|
+
## [0.7.1] - 2024-07-12
|
4
|
+
|
5
|
+
### Changed
|
6
|
+
|
7
|
+
- Components Explorer's filter and search inverted position
|
8
|
+
- Preview is no longer displayed behind Components Explorer to avoid unwanted side effects
|
9
|
+
|
10
|
+
## [0.7.0] - 2024-07-09
|
11
|
+
|
12
|
+
### Added
|
13
|
+
|
14
|
+
- Components Explorer
|
15
|
+
- Navigator language overwrite
|
16
|
+
|
3
17
|
## [0.6.1] - 2024-06-27
|
4
18
|
|
5
19
|
### Added
|
package/dist/index.d.ts
CHANGED
@@ -35,6 +35,7 @@ interface StyledElementContent extends ElementContent {
|
|
35
35
|
interface OptionMessage {
|
36
36
|
content: {
|
37
37
|
disableOverlay?: boolean;
|
38
|
+
language?: string;
|
38
39
|
redirectTo?: string;
|
39
40
|
run?: boolean;
|
40
41
|
timeout?: number;
|
@@ -84,6 +85,11 @@ declare enum DebugMessage {
|
|
84
85
|
Skip = 1
|
85
86
|
}
|
86
87
|
type RegisteredMessages = {
|
88
|
+
content: {
|
89
|
+
visible: boolean;
|
90
|
+
};
|
91
|
+
type: 'toggle-components-explorer';
|
92
|
+
} | {
|
87
93
|
content: ReducedMouseEvent;
|
88
94
|
type: 'mousedown' | 'mousemove';
|
89
95
|
} | {
|
package/dist/index.js
CHANGED
@@ -18,6 +18,7 @@ const keys = {
|
|
18
18
|
'request-resource': DebugMessage.Default,
|
19
19
|
'set-source-map': DebugMessage.Default,
|
20
20
|
'tag-info': DebugMessage.Default,
|
21
|
+
'toggle-components-explorer': DebugMessage.Skip,
|
21
22
|
unload: DebugMessage.Default,
|
22
23
|
update: DebugMessage.Default,
|
23
24
|
updated: DebugMessage.Default,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@micro-lc/preview",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.7.1",
|
4
4
|
"module": "./dist/index.js",
|
5
5
|
"types": "./dist/index.d.ts",
|
6
6
|
"files": [
|
@@ -22,9 +22,17 @@
|
|
22
22
|
"preview": "vite preview"
|
23
23
|
},
|
24
24
|
"dependencies": {
|
25
|
+
"@mia-platform-internal/reactord": "^10.2.0",
|
25
26
|
"@micro-lc/composer": "^2.1.0",
|
26
27
|
"@micro-lc/post-channel": "0.1.1",
|
28
|
+
"antd": "3.26.20",
|
27
29
|
"es-module-shims": "^1.8.2",
|
30
|
+
"react": "^18.3.1",
|
31
|
+
"react-copy-to-clipboard": "^5.1.0",
|
32
|
+
"react-dom": "^18.3.1",
|
33
|
+
"react-json-view": "^1.21.3",
|
34
|
+
"react-markdown": "^9.0.1",
|
35
|
+
"remark-gfm": "^4.0.0",
|
28
36
|
"rxjs": "^7.8.1"
|
29
37
|
},
|
30
38
|
"devDependencies": {
|
@@ -32,9 +40,14 @@
|
|
32
40
|
"@micro-lc/interfaces": "^1.1.0",
|
33
41
|
"@playwright/test": "^1.41.2",
|
34
42
|
"@types/node": "^20.11.16",
|
43
|
+
"@types/react": "^18",
|
44
|
+
"@types/react-copy-to-clipboard": "^5",
|
45
|
+
"@types/react-dom": "^18",
|
46
|
+
"@vitejs/plugin-react": "^4.3.1",
|
35
47
|
"typescript": "^5.3.3",
|
36
48
|
"vite": "^5.0.12",
|
37
|
-
"vite-plugin-mkcert": "^1.17.3"
|
49
|
+
"vite-plugin-mkcert": "^1.17.3",
|
50
|
+
"vite-plugin-svgr": "^4.2.0"
|
38
51
|
},
|
39
52
|
"engines": {
|
40
53
|
"node": ">=v18"
|
@@ -5,10 +5,13 @@
|
|
5
5
|
"src": "../../node_modules/@micro-lc/composer/dist/lib/logger/errors.js"
|
6
6
|
},
|
7
7
|
"index.html": {
|
8
|
+
"css": [
|
9
|
+
"assets/index-AYPpxqPP.css"
|
10
|
+
],
|
8
11
|
"dynamicImports": [
|
9
12
|
"../../node_modules/@micro-lc/composer/dist/lib/logger/errors.js"
|
10
13
|
],
|
11
|
-
"file": "assets/index-
|
14
|
+
"file": "assets/index-5hug6TwQ.js",
|
12
15
|
"isEntry": true,
|
13
16
|
"src": "index.html"
|
14
17
|
}
|