@gpustack/core-ui 1.0.21 → 1.0.23
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/assets/{parse-worker-Dzai8qsE.js → parse-worker-DASzfShu.js} +3 -3
- package/dist/{editor-wrap-BGZYfHpj.js → editor-wrap-LcV3ZHZv.js} +1 -1
- package/dist/{highlight-code-CLpz1xT8.js → highlight-code-gZJ7edZl.js} +8 -2
- package/dist/index.es.js +1565 -1557
- package/dist/markdown.es.js +1 -1
- package/dist/yaml-editor.es.js +9 -3
- package/package.json +1 -1
package/dist/markdown.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { o as e, r as t, t as n } from "./rolldown-runtime-gEudmnaM.js";
|
|
2
2
|
import { t as r } from "./lodash-DVkZQU_K.js";
|
|
3
|
-
import { t as i } from "./highlight-code-
|
|
3
|
+
import { t as i } from "./highlight-code-gZJ7edZl.js";
|
|
4
4
|
import a, { Fragment as o, useCallback as s, useEffect as c, useMemo as l } from "react";
|
|
5
5
|
import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
6
6
|
import { EyeOutlined as p } from "@ant-design/icons";
|
package/dist/yaml-editor.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./useIntl-CQ7P5Olk.js";
|
|
2
|
-
import { t } from "./editor-wrap-
|
|
2
|
+
import { t } from "./editor-wrap-LcV3ZHZv.js";
|
|
3
3
|
import { forwardRef as n, useEffect as r, useImperativeHandle as i, useRef as a } from "react";
|
|
4
4
|
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
5
5
|
import { ImportOutlined as c, LoadingOutlined as l } from "@ant-design/icons";
|
|
@@ -85,10 +85,14 @@ g.config({ monaco: _ });
|
|
|
85
85
|
var S = m.div`
|
|
86
86
|
position: relative;
|
|
87
87
|
border: 1px solid var(--ant-color-border);
|
|
88
|
-
border-radius: var(--ant-border-radius);
|
|
88
|
+
border-radius: var(--ant-border-radius-lg);
|
|
89
89
|
.monaco-editor .scroll-decoration {
|
|
90
90
|
box-shadow: none;
|
|
91
91
|
}
|
|
92
|
+
.monaco-editor {
|
|
93
|
+
border-radius: 0 0 var(--ant-border-radius-lg) var(--ant-border-radius-lg);
|
|
94
|
+
overflow: hidden;
|
|
95
|
+
}
|
|
92
96
|
`, C = m(x)`
|
|
93
97
|
position: absolute;
|
|
94
98
|
left: 0;
|
|
@@ -96,7 +100,7 @@ var S = m.div`
|
|
|
96
100
|
bottom: 0;
|
|
97
101
|
padding: 4px 6px;
|
|
98
102
|
background-color: var(--ant-color-bg-elevated);
|
|
99
|
-
border-radius: 0 0 var(--ant-border-radius) var(--ant-border-radius);
|
|
103
|
+
border-radius: 0 0 var(--ant-border-radius-lg) var(--ant-border-radius-lg);
|
|
100
104
|
`, w = m.div`
|
|
101
105
|
width: 100%;
|
|
102
106
|
display: flex;
|
|
@@ -107,6 +111,7 @@ var S = m.div`
|
|
|
107
111
|
font-size: 14px;
|
|
108
112
|
border-bottom: 1px solid var(--ant-color-border);
|
|
109
113
|
background-color: var(--ant-color-fill-quaternary);
|
|
114
|
+
border-radius: var(--ant-border-radius-lg) var(--ant-border-radius-lg) 0 0;
|
|
110
115
|
`, T = n((t, n) => {
|
|
111
116
|
let { value: l, height: d = 380, variant: m = "borderless", isDarkTheme: h, schema: g, placeholder: _, validateMessage: v, title: y, onUpload: x } = t, T = e(), E = a(null), D = (e) => {
|
|
112
117
|
E.current?.setValue?.(e);
|
|
@@ -129,6 +134,7 @@ var S = m.div`
|
|
|
129
134
|
})), r(() => {
|
|
130
135
|
E.current?.format();
|
|
131
136
|
}, [l]), /* @__PURE__ */ s(S, {
|
|
137
|
+
className: "yaml-editor-container",
|
|
132
138
|
style: { minHeight: d },
|
|
133
139
|
children: [/* @__PURE__ */ o(b, {
|
|
134
140
|
ref: E,
|