poe-svelte-ui-lib 1.6.0 → 1.6.2
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.
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
|
|
205
205
|
<!-- Превью цвета -->
|
|
206
206
|
|
|
207
|
-
<div class="flex
|
|
207
|
+
<div class="flex flex-col items-center" style="width: 7rem;">
|
|
208
208
|
<div
|
|
209
209
|
class={`flex size-15 flex-col justify-center gap-1 rounded-full px-2 font-mono text-sm shadow-sm transition duration-200 select-none ${textColor()}`}
|
|
210
210
|
style={`background: rgb(${previewBaseColor().join(',')})`}
|
package/dist/Table/Table.svelte
CHANGED
|
@@ -212,7 +212,11 @@
|
|
|
212
212
|
|
|
213
213
|
$effect(() => {
|
|
214
214
|
if (body && dataBuffer.stashData && type == 'table') {
|
|
215
|
-
|
|
215
|
+
if (Array.isArray(body)) {
|
|
216
|
+
for (let i = 0; i < body.length; i++) {
|
|
217
|
+
buffer = [...buffer, body[i]]
|
|
218
|
+
}
|
|
219
|
+
} else buffer = [...buffer, body]
|
|
216
220
|
if (buffer.length > (dataBuffer.rowsAmmount ?? 10)) {
|
|
217
221
|
buffer = buffer.slice(-(dataBuffer.rowsAmmount ?? 10))
|
|
218
222
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "poe-svelte-ui-lib",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@sveltejs/kit": "^2.49.2",
|
|
48
48
|
"@sveltejs/package": "^2.5.7",
|
|
49
49
|
"@sveltejs/vite-plugin-svelte": "^6.2.1",
|
|
50
|
-
"@types/node": "^25.0.
|
|
50
|
+
"@types/node": "^25.0.3",
|
|
51
51
|
"publint": "^0.3.16",
|
|
52
52
|
"svelte": "^5.46.0",
|
|
53
53
|
"svelte-preprocess": "^6.0.3",
|