@wpic/ui 0.9.4 → 0.9.5

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,7 @@
1
+ ## 0.9.5
2
+
3
+ - WSelect: expose automatic popover placement and a viewport-clamped minimum height; keep search and selection controls fixed while only the options list scrolls.
4
+
1
5
  ## 0.9.4
2
6
 
3
7
  - WCard: reduce body vertical padding independently of horizontal spacing (sm: 8/12px, md: 12/16px, lg: 16/24px).
package/COMPONENTS.md CHANGED
@@ -784,3 +784,5 @@ For a shorter metric card, use `compact`. Use `changePosition="label"` to align
784
784
  ### Localization options (0.6.6)
785
785
 
786
786
  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`.
787
+
788
+ 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.
@@ -35,6 +35,10 @@ type __VLS_Props = {
35
35
  popoverWidth?: string;
36
36
  popoverPlacement?: 'top' | 'bottom' | 'left' | 'right' | 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end';
37
37
  popoverFlip?: boolean;
38
+ /** Let Floating UI choose the side with the most available space. */
39
+ popoverAutoPlacement?: boolean;
40
+ /** Optional usable panel height, clamped to the available viewport. */
41
+ popoverMinHeight?: string;
38
42
  popoverMaxHeight?: string;
39
43
  };
40
44
  declare var __VLS_42: {