@wpic/ui 0.9.8 → 0.9.9

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,12 @@
1
+ ## 0.9.9
2
+
3
+ - WModal: add `frameless` presentation surfaces and an independent `ariaLabel`, preserving standard modal defaults.
4
+
5
+ ## 0.9.8
6
+
7
+ - WEditableText: inline plain-text Tiptap editor with inherited typography, keyboard confirmation/cancellation and a character limit.
8
+ - WPageHeader: add a title slot for inline heading editing.
9
+
1
10
  ## 0.9.7
2
11
 
3
12
  - WDatePicker: choose the side with the most available viewport space by default, keep adapting while open, and expose preferred/forced popover placement controls.
package/COMPONENTS.md CHANGED
@@ -792,3 +792,11 @@ For a shorter metric card, use `compact`. Use `changePosition="label"` to align
792
792
  WTable accepts `labels` (`loading`, `results`, `of`, `item`, `items`, `previous`, `next`) and `loadingSpinner=false` for plain loading text. Existing `emptyText` and `searchPlaceholder` remain available. WSelect accepts `searchPlaceholder`, `selectAllLabel`, `clearLabel` and `noResultsLabel`; WFilterBar forwards `selectLabels` to its selects. WDateRangePicker accepts `locale`, `applyLabel`, `previousMonthLabel`, `nextMonthLabel` in addition to translated `presets`, `ariaLabel`, `clearLabel` and `placeholder`.
793
793
 
794
794
  WSelect popovers support `popoverAutoPlacement` to choose the side with the most room and `popoverMinHeight` for a viewport-clamped minimum height. Set `popoverWidth` for compact triggers with longer menu labels.
795
+
796
+ ### WEditableText
797
+
798
+ Inline plain-text editing with Tiptap, inheriting the surrounding typography. Props: `modelValue`, required accessible `label`, `placeholder`, `disabled`, `maxLength` (default 160). Emits `update:modelValue` while typing and `commit` on blur. Enter leaves the editor; Escape restores the value from focus. Pasted text is flattened to one line. A blank edit restores the previous value. Use in `WPageHeader`’s `title` slot to rename a heading without a separate input.
799
+
800
+ ### WModal presentation surfaces
801
+
802
+ `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.
@@ -5,6 +5,8 @@ type __VLS_Props = {
5
5
  zIndex?: string;
6
6
  hideClose?: boolean;
7
7
  noPadding?: boolean;
8
+ frameless?: boolean;
9
+ ariaLabel?: string;
8
10
  };
9
11
  declare var __VLS_5: {}, __VLS_11: {}, __VLS_13: {};
10
12
  type __VLS_Slots = {} & {