@alauda-fe/dynamic-plugin-shared 0.0.3-alpha.3 → 0.0.4-alpha.11
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/fesm2022/alauda-fe-dynamic-plugin-shared.mjs +1690 -257
- package/fesm2022/alauda-fe-dynamic-plugin-shared.mjs.map +1 -1
- package/package.json +31 -25
- package/styles/mixins.scss +3 -246
- package/types/alauda-fe-dynamic-plugin-shared.d.ts +274 -85
- package/styles/ansi-color.scss +0 -131
- package/styles/lib.scss +0 -1
- package/styles/markdown-body.scss +0 -107
package/styles/ansi-color.scss
DELETED
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
// asci colors
|
|
2
|
-
@include theme-light {
|
|
3
|
-
.ansi-black-fg {
|
|
4
|
-
color: rgb(0 0 0);
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.ansi-red-fg {
|
|
8
|
-
color: rgb(205 0 0);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.ansi-green-fg {
|
|
12
|
-
color: rgb(0 205 0);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.ansi-yellow-fg {
|
|
16
|
-
color: rgb(205 205 0);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.ansi-blue-fg {
|
|
20
|
-
color: rgb(0 0 238);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.ansi-magenta-fg {
|
|
24
|
-
color: rgb(205 0 205);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.ansi-cyan-fg {
|
|
28
|
-
color: rgb(0 205 205);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.ansi-white-fg {
|
|
32
|
-
color: rgb(229 229 229);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.ansi-bright-black-fg {
|
|
36
|
-
color: rgb(127 127 127);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.ansi-bright-red-fg {
|
|
40
|
-
color: rgb(255 0 0);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.ansi-bright-green-fg {
|
|
44
|
-
color: rgb(0 255 0);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.ansi-bright-yellow-fg {
|
|
48
|
-
color: rgb(255 255 0);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.ansi-bright-blue-fg {
|
|
52
|
-
color: rgb(92 92 255);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.ansi-bright-magenta-fg {
|
|
56
|
-
color: rgb(255 0 255);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.ansi-bright-cyan-fg {
|
|
60
|
-
color: rgb(0 255 255);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.ansi-bright-white-fg {
|
|
64
|
-
color: rgb(255 255 255);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
@include theme-dark {
|
|
68
|
-
.ansi-black-bg {
|
|
69
|
-
/* black bg = transparent */
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.ansi-red-bg {
|
|
73
|
-
background-color: rgb(205 0 0);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.ansi-green-bg {
|
|
77
|
-
background-color: rgb(0 205 0);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.ansi-yellow-bg {
|
|
81
|
-
background-color: rgb(205 205 0);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.ansi-blue-bg {
|
|
85
|
-
background-color: rgb(0 0 238);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.ansi-magenta-bg {
|
|
89
|
-
background-color: rgb(205 0 205);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.ansi-cyan-bg {
|
|
93
|
-
background-color: rgb(0 205 205);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.ansi-white-bg {
|
|
97
|
-
background-color: rgb(255 255 255 / 70%); /* alpha baby! */
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.ansi-bright-black-bg {
|
|
101
|
-
background-color: rgb(127 127 127);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.ansi-bright-red-bg {
|
|
105
|
-
background-color: rgb(255 0 0);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.ansi-bright-green-bg {
|
|
109
|
-
background-color: rgb(0 255 0);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.ansi-bright-yellow-bg {
|
|
113
|
-
background-color: rgb(255 255 0);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.ansi-bright-blue-bg {
|
|
117
|
-
background-color: rgb(92 92 255);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.ansi-bright-magenta-bg {
|
|
121
|
-
background-color: rgb(255 0 255);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.ansi-bright-cyan-bg {
|
|
125
|
-
background-color: rgb(0 255 255);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.ansi-bright-white-bg {
|
|
129
|
-
background-color: rgb(255 255 255);
|
|
130
|
-
}
|
|
131
|
-
}
|
package/styles/lib.scss
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.tw-mb-12{margin-bottom:12px}.tw-mb-4{margin-bottom:4px}.tw-ml-6{margin-left:6px}.tw-ml-8{margin-left:8px}.tw-ml-\[-4px\]{margin-left:-4px}.tw-mr-4{margin-right:4px}.tw-mr-8{margin-right:8px}.tw-mt-0{margin-top:0}.tw-flex{display:flex}.tw-h-\[22px\]{height:22px}.tw-h-\[8px\]{height:8px}.tw-w-full{width:100%}.tw-min-w-\[160px\]{min-width:160px}.tw-min-w-\[260px\]{min-width:260px}.tw-max-w-\[400px\]{max-width:400px}.tw-max-w-\[45\%\]{max-width:45%}.tw-flex-1{flex:1 1 0%}.tw-flex-shrink-0{flex-shrink:0}.tw-cursor-pointer{cursor:pointer}.tw-flex-col{flex-direction:column}.tw-items-center{align-items:center}.tw-justify-end{justify-content:flex-end}.tw-overflow-hidden{overflow:hidden}.tw-text-ellipsis{text-overflow:ellipsis}.tw-bg-p-6{background-color:rgb(var(--aui-color-p-6))}.tw-text-center{text-align:center}.\!tw-text-s{font-size:var(--aui-font-size-s)!important}.tw-text-m{font-size:var(--aui-font-size-m)}.tw-text-help-text{color:rgb(var(--aui-color-help-text))}.tw-text-main-text{color:rgb(var(--aui-color-main-text))}.tw-text-n-2{color:rgb(var(--aui-color-n-2))}.tw-text-n-4{color:rgb(var(--aui-color-n-4))}.tw-text-p-2{color:rgb(var(--aui-color-p-2))}.tw-text-red{color:rgb(var(--aui-color-red))}.tw-icon-m{font-size:var(--aui-icon-size-m)}.hover\:tw-text-primary:hover{color:rgb(var(--aui-color-primary))}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
@mixin markdown-theme-dark {
|
|
2
|
-
color-scheme: dark;
|
|
3
|
-
|
|
4
|
-
--color-prettylights-syntax-comment: #8b949e;
|
|
5
|
-
--color-prettylights-syntax-constant: #79c0ff;
|
|
6
|
-
--color-prettylights-syntax-entity: #d2a8ff;
|
|
7
|
-
--color-prettylights-syntax-storage-modifier-import: #c9d1d9;
|
|
8
|
-
--color-prettylights-syntax-entity-tag: #7ee787;
|
|
9
|
-
--color-prettylights-syntax-keyword: #ff7b72;
|
|
10
|
-
--color-prettylights-syntax-string: #a5d6ff;
|
|
11
|
-
--color-prettylights-syntax-variable: #ffa657;
|
|
12
|
-
--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;
|
|
13
|
-
--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;
|
|
14
|
-
--color-prettylights-syntax-invalid-illegal-bg: #8e1519;
|
|
15
|
-
--color-prettylights-syntax-carriage-return-text: #f0f6fc;
|
|
16
|
-
--color-prettylights-syntax-carriage-return-bg: #b62324;
|
|
17
|
-
--color-prettylights-syntax-string-regexp: #7ee787;
|
|
18
|
-
--color-prettylights-syntax-markup-list: #f2cc60;
|
|
19
|
-
--color-prettylights-syntax-markup-heading: #1f6feb;
|
|
20
|
-
--color-prettylights-syntax-markup-italic: #c9d1d9;
|
|
21
|
-
--color-prettylights-syntax-markup-bold: #c9d1d9;
|
|
22
|
-
--color-prettylights-syntax-markup-deleted-text: #ffdcd7;
|
|
23
|
-
--color-prettylights-syntax-markup-deleted-bg: #67060c;
|
|
24
|
-
--color-prettylights-syntax-markup-inserted-text: #aff5b4;
|
|
25
|
-
--color-prettylights-syntax-markup-inserted-bg: #033a16;
|
|
26
|
-
--color-prettylights-syntax-markup-changed-text: #ffdfb6;
|
|
27
|
-
--color-prettylights-syntax-markup-changed-bg: #5a1e02;
|
|
28
|
-
--color-prettylights-syntax-markup-ignored-text: #c9d1d9;
|
|
29
|
-
--color-prettylights-syntax-markup-ignored-bg: #1158c7;
|
|
30
|
-
--color-prettylights-syntax-meta-diff-range: #d2a8ff;
|
|
31
|
-
--color-prettylights-syntax-brackethighlighter-angle: #8b949e;
|
|
32
|
-
--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;
|
|
33
|
-
--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;
|
|
34
|
-
--color-fg-default: #c9d1d9;
|
|
35
|
-
--color-fg-muted: #8b949e;
|
|
36
|
-
--color-fg-subtle: #484f58;
|
|
37
|
-
--color-canvas-default: transparent;
|
|
38
|
-
--color-canvas-subtle: #161b22;
|
|
39
|
-
--color-border-default: #30363d;
|
|
40
|
-
--color-border-muted: #21262d;
|
|
41
|
-
--color-neutral-muted: rgb(110 118 129 / 40%);
|
|
42
|
-
--color-accent-fg: #58a6ff;
|
|
43
|
-
--color-accent-emphasis: #1f6feb;
|
|
44
|
-
--color-attention-subtle: rgb(187 128 9 / 15%);
|
|
45
|
-
--color-danger-fg: #f85149;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
@mixin markdown-theme-light {
|
|
49
|
-
color-scheme: light;
|
|
50
|
-
|
|
51
|
-
--color-prettylights-syntax-comment: #6e7781;
|
|
52
|
-
--color-prettylights-syntax-constant: #0550ae;
|
|
53
|
-
--color-prettylights-syntax-entity: #8250df;
|
|
54
|
-
--color-prettylights-syntax-storage-modifier-import: #24292f;
|
|
55
|
-
--color-prettylights-syntax-entity-tag: #116329;
|
|
56
|
-
--color-prettylights-syntax-keyword: #cf222e;
|
|
57
|
-
--color-prettylights-syntax-string: #0a3069;
|
|
58
|
-
--color-prettylights-syntax-variable: #953800;
|
|
59
|
-
--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;
|
|
60
|
-
--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;
|
|
61
|
-
--color-prettylights-syntax-invalid-illegal-bg: #82071e;
|
|
62
|
-
--color-prettylights-syntax-carriage-return-text: #f6f8fa;
|
|
63
|
-
--color-prettylights-syntax-carriage-return-bg: #cf222e;
|
|
64
|
-
--color-prettylights-syntax-string-regexp: #116329;
|
|
65
|
-
--color-prettylights-syntax-markup-list: #3b2300;
|
|
66
|
-
--color-prettylights-syntax-markup-heading: #0550ae;
|
|
67
|
-
--color-prettylights-syntax-markup-italic: #24292f;
|
|
68
|
-
--color-prettylights-syntax-markup-bold: #24292f;
|
|
69
|
-
--color-prettylights-syntax-markup-deleted-text: #82071e;
|
|
70
|
-
--color-prettylights-syntax-markup-deleted-bg: #ffebe9;
|
|
71
|
-
--color-prettylights-syntax-markup-inserted-text: #116329;
|
|
72
|
-
--color-prettylights-syntax-markup-inserted-bg: #dafbe1;
|
|
73
|
-
--color-prettylights-syntax-markup-changed-text: #953800;
|
|
74
|
-
--color-prettylights-syntax-markup-changed-bg: #ffd8b5;
|
|
75
|
-
--color-prettylights-syntax-markup-ignored-text: #eaeef2;
|
|
76
|
-
--color-prettylights-syntax-markup-ignored-bg: #0550ae;
|
|
77
|
-
--color-prettylights-syntax-meta-diff-range: #8250df;
|
|
78
|
-
--color-prettylights-syntax-brackethighlighter-angle: #57606a;
|
|
79
|
-
--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;
|
|
80
|
-
--color-prettylights-syntax-constant-other-reference-link: #0a3069;
|
|
81
|
-
--color-fg-default: #24292f;
|
|
82
|
-
--color-fg-muted: #57606a;
|
|
83
|
-
--color-fg-subtle: #6e7781;
|
|
84
|
-
--color-canvas-default: transparent;
|
|
85
|
-
--color-canvas-subtle: #f6f8fa;
|
|
86
|
-
--color-border-default: #d0d7de;
|
|
87
|
-
--color-border-muted: hsl(210deg 18% 87% / 100%);
|
|
88
|
-
--color-neutral-muted: rgb(175 184 193 / 20%);
|
|
89
|
-
--color-accent-fg: #0969da;
|
|
90
|
-
--color-accent-emphasis: #0969da;
|
|
91
|
-
--color-attention-subtle: #fff8c5;
|
|
92
|
-
--color-danger-fg: #cf222e;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
@include theme-light {
|
|
96
|
-
.markdown-body {
|
|
97
|
-
padding: 0;
|
|
98
|
-
@include markdown-theme-light;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
@include theme-dark {
|
|
103
|
-
.markdown-body {
|
|
104
|
-
padding: 0;
|
|
105
|
-
@include markdown-theme-dark;
|
|
106
|
-
}
|
|
107
|
-
}
|