@milaboratories/uikit 2.2.70 → 2.2.72
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/CHANGELOG.md +12 -0
- package/dist/pl-uikit.js +336 -334
- package/dist/pl-uikit.js.map +1 -1
- package/dist/pl-uikit.umd.cjs +2 -2
- package/dist/pl-uikit.umd.cjs.map +1 -1
- package/dist/src/components/PlDropdownMultiRef/PlDropdownMultiRef.vue.d.ts +2 -0
- package/dist/src/components/PlDropdownMultiRef/PlDropdownMultiRef.vue.d.ts.map +1 -1
- package/dist/src/components/PlDropdownRef/PlDropdownRef.vue.d.ts +2 -0
- package/dist/src/components/PlDropdownRef/PlDropdownRef.vue.d.ts.map +1 -1
- package/dist/src/components/PlLogView/PlLogView.vue.d.ts +8 -0
- package/dist/src/components/PlLogView/PlLogView.vue.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/assets/base-btn.scss +1 -0
- package/src/components/PlLogView/PlLogView.vue +10 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@milaboratories/uikit",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.72",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/pl-uikit.umd.js",
|
|
6
6
|
"module": "dist/pl-uikit.js",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"svgo": "^3.3.2",
|
|
36
36
|
"@types/d3": "^7.4.3",
|
|
37
37
|
"@milaboratories/eslint-config": "^1.0.4",
|
|
38
|
-
"@
|
|
39
|
-
"@
|
|
38
|
+
"@platforma-sdk/model": "^1.30.3",
|
|
39
|
+
"@milaboratories/helpers": "^1.6.11"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"dev": "vite",
|
package/src/assets/base-btn.scss
CHANGED
|
@@ -63,6 +63,10 @@ const props = defineProps<{
|
|
|
63
63
|
* The label to display above the texarea.
|
|
64
64
|
*/
|
|
65
65
|
label?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Do not scroll to bottom on content change. Default is false (scroll to bottom).
|
|
68
|
+
*/
|
|
69
|
+
disableAutoScroll?: boolean;
|
|
66
70
|
}>();
|
|
67
71
|
|
|
68
72
|
const logState = useLogHandle(props);
|
|
@@ -101,7 +105,11 @@ const onClickCopy = () => {
|
|
|
101
105
|
}
|
|
102
106
|
};
|
|
103
107
|
|
|
104
|
-
const
|
|
108
|
+
const optionallyScrollDown = () => {
|
|
109
|
+
if (props.disableAutoScroll) {
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
112
|
+
|
|
105
113
|
tapIf(contentRef.value, (el) => {
|
|
106
114
|
if (isAnchored.value) {
|
|
107
115
|
el.scrollTo(el.scrollLeft, el.scrollHeight);
|
|
@@ -113,7 +121,7 @@ watch(
|
|
|
113
121
|
computedValue,
|
|
114
122
|
() => {
|
|
115
123
|
requestAnimationFrame(() => {
|
|
116
|
-
|
|
124
|
+
optionallyScrollDown();
|
|
117
125
|
});
|
|
118
126
|
},
|
|
119
127
|
{ immediate: true },
|