@cozeloop/components 0.0.3-beta-1769950790734 → 0.0.3-beta-1770039728413
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/es/index.mjs
CHANGED
|
@@ -582,7 +582,7 @@ const LoopTabs = (props)=>{
|
|
|
582
582
|
};
|
|
583
583
|
const PER_PRE_MAX_LENGTH = 25000;
|
|
584
584
|
const LargeTxtRender = (props)=>{
|
|
585
|
-
const { text } = props;
|
|
585
|
+
const { text, className } = props;
|
|
586
586
|
const ref = useRef(null);
|
|
587
587
|
const getMoreTextChunk = (startIndex)=>{
|
|
588
588
|
const endIndex = startIndex + PER_PRE_MAX_LENGTH;
|
|
@@ -604,7 +604,7 @@ const LargeTxtRender = (props)=>{
|
|
|
604
604
|
});
|
|
605
605
|
return /*#__PURE__*/ jsx("pre", {
|
|
606
606
|
ref: ref,
|
|
607
|
-
className:
|
|
607
|
+
className: classnames('m-0 break-words whitespace-pre-wrap max-h-full overflow-y-auto text-[13px] leading-4 text-[var(--coz-fg-primary)] font-normal', className),
|
|
608
608
|
children: data?.list.join('') || ''
|
|
609
609
|
});
|
|
610
610
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cozeloop/components",
|
|
3
|
-
"version": "0.0.3-beta-
|
|
3
|
+
"version": "0.0.3-beta-1770039728413",
|
|
4
4
|
"description": "common components for cozeloop",
|
|
5
5
|
"author": "houtao.zzj@bytedance.com",
|
|
6
6
|
"exports": {
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"@coze-arch/coze-design": "0.0.7-alpha.985c0d",
|
|
36
36
|
"@coze-editor/editor": "0.1.0-alpha.577152",
|
|
37
37
|
"@cozeloop/api-schema": "0.1.5",
|
|
38
|
-
"@cozeloop/config-provider": "0.0.3-beta-
|
|
38
|
+
"@cozeloop/config-provider": "0.0.3-beta-1770039728413",
|
|
39
39
|
"@cozeloop/hooks": "0.0.1",
|
|
40
|
-
"@cozeloop/i18n": "0.0.3-beta-
|
|
40
|
+
"@cozeloop/i18n": "0.0.3-beta-1770039728413",
|
|
41
41
|
"@cozeloop/toolkit": "0.0.5",
|
|
42
42
|
"@monaco-editor/react": "^4.5.2",
|
|
43
43
|
"@rjsf/core": "~5.24.9",
|