poe-svelte-ui-lib 1.28.0 → 1.28.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.
@@ -222,7 +222,7 @@
222
222
  <button
223
223
  id={option.id}
224
224
  class="{twMerge(
225
- `h-8 min-w-0 flex-1 px-3 py-2 text-[13px] font-semibold transition-colors duration-150
225
+ `flex h-8 min-w-0 flex-1 items-center justify-center px-3 py-2 text-[13px] font-semibold transition-colors duration-150
226
226
  ${index === 0 ? 'rounded-l-[9px]' : ''} ${index === options.length - 1 ? 'rounded-r-[9px]' : ''}
227
227
  ${index > 0 ? 'border-l border-(--border-color)' : ''}
228
228
  ${
@@ -1,9 +1,10 @@
1
1
  <!-- $lib/WidgetHeader.svelte — общая шапка смарт-виджетов конструктора: значок + заголовок
2
2
  сворачивают/разворачивают тело виджета по клику (как аккордеон), справа — снипет с любым
3
3
  содержимым шапки конкретного виджета (переключатель режима, кнопка "Перезагрузить" и т.п.),
4
- клик по нему сворачивание не триггерит. Визуально — та же полоса-заголовок, что и у Accordion
5
- (px-3/py-2, bg-container, мелкая 18px иконка без бейджа) вместо прежнего тяжёлого 32px
6
- значка-бейджа, который делал шапку заметно выше аккордеона. -->
4
+ клик по нему сворачивание не триггерит. Мелкая 18px иконка без подложки (как у Accordion)
5
+ вместо прежнего тяжёлого 32px значка-бейджа. Без своего фона/паддинга — виджет уже даёт
6
+ отступы через собственный p-4, добавлять сюда ещё одну bg-container полосу с px/py поверх
7
+ означало бы двойной отступ и лишнюю высоту. -->
7
8
  <script lang="ts">
8
9
  import type { Component, Snippet } from "svelte"
9
10
  import ArrowIcon from "./libIcons/ArrowIcon.svelte"
@@ -23,7 +24,7 @@
23
24
  const Icon = $derived(icon)
24
25
  </script>
25
26
 
26
- <div class="flex flex-wrap items-center justify-between gap-3 rounded-[10px] bg-(--container-color) px-3 py-2">
27
+ <div class="flex flex-wrap items-center justify-between gap-3">
27
28
  <button
28
29
  type="button"
29
30
  class="flex min-w-0 flex-1 cursor-pointer items-center gap-2 border-none bg-transparent p-0 text-left"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "poe-svelte-ui-lib",
3
- "version": "1.28.0",
3
+ "version": "1.28.2",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {