@wpic/ui 0.7.4 → 0.7.6

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 CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.7.6
4
+
5
+ - Forward select placeholders from WFilterBar to WSelect, including while options load.
6
+
7
+ ## 0.7.5 — 2026-09-10
8
+
9
+ - WTable: horizontal padding now comes from a shared `--wpic-table-padding-x` token that inherits the enclosing WCard's padding, so a table in a `no-padding` card lines its cells, header, toolbar, footer and expand row up with the card header instead of sitting 8px inboard of it. Previously cells were fixed at 16px while an `lg` card's header was at 24px.
10
+ - WTable: add a `padding` prop (`sm` | `md` | `lg`) for tables that are not inside a card, or that need to override the inherited value. Omitted, it inherits the card (falling back to `md`), or `sm` when `compact`.
11
+ - WCard: the `empty` slot's vertical padding now follows the sm/md/lg scale instead of a hardcoded 24px.
12
+ - No change for a table outside a card (16px), a `compact` table (12px), or a table in a default `md` card (16px).
13
+
3
14
  ## 0.7.4 — 2026-09-10
4
15
 
5
16
  - WCard: add a `subtitle` prop/slot rendered below the title, so header + description layouts no longer need bespoke markup outside the card's title slot.
@@ -37,6 +37,9 @@ type __VLS_Props = {
37
37
  rowStyle?: (row: Record<string, unknown>) => Record<string, string> | undefined;
38
38
  summaryRow?: Record<string, unknown>;
39
39
  compact?: boolean;
40
+ /** Horizontal padding scale. Omitted: inherits the enclosing WCard's
41
+ padding (falling back to md), or sm when `compact`. */
42
+ padding?: 'sm' | 'md' | 'lg';
40
43
  showFooter?: boolean;
41
44
  };
42
45
  declare function toggleSort(field: string): void;