@wpic/ui 0.9.12 → 0.9.14

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,3 +1,11 @@
1
+ ## 0.9.14
2
+
3
+ - Align plain spreadsheet inputs and selects with cell padding. Remove overlapping mouse focus rings while retaining keyboard focus. Keep disabled plain controls transparent.
4
+
5
+ ## 0.9.13
6
+
7
+ - Add a plain surface option to WSpreadsheet and a borderless plain variant to WInput for inline grid editing.
8
+
1
9
  ## 0.9.12
2
10
 
3
11
  - WTooltip: inverse black surface with a triangular arrow that tracks the resolved placement.
package/COMPONENTS.md CHANGED
@@ -804,3 +804,7 @@ Inline plain-text editing with Tiptap, inheriting the surrounding typography. Pr
804
804
  ### WModal presentation surfaces
805
805
 
806
806
  `frameless` removes the panel background, border and shadow for slide/image viewers. Combine with `noPadding` and `hideClose` when the content owns its navigation and close control. `ariaLabel` labels the dialog without rendering a title. Normal modal defaults remain unchanged.
807
+
808
+ ### Neutral spreadsheet editing
809
+
810
+ Use `WSpreadsheet appearance="plain"` for a uniform white surface (dark in dark mode), preserving grid lines and header typography. Pair slotted controls with `WInput variant="plain"` and `WSelect variant="plain"` to avoid nested borders. The default spreadsheet appearance is unchanged.
@@ -8,7 +8,7 @@ type __VLS_Props = {
8
8
  size?: 'sm' | 'md' | 'lg' | 'xl';
9
9
  clearable?: boolean;
10
10
  loading?: boolean;
11
- variant?: 'default' | 'subtle';
11
+ variant?: 'default' | 'subtle' | 'plain';
12
12
  prepend?: string | number;
13
13
  append?: string | number;
14
14
  };
@@ -30,6 +30,8 @@ export type WSpreadsheetRow = {
30
30
  sticky?: boolean;
31
31
  };
32
32
  type __VLS_Props = {
33
+ /** Neutral surface for every cell, retaining semantic typography and grid lines. */
34
+ appearance?: 'default' | 'plain';
33
35
  columns: WSpreadsheetColumn[];
34
36
  rows: WSpreadsheetRow[];
35
37
  /** Convenience switch that disables both spreadsheet axes. */