@rebilly/revel 11.1.4 → 11.2.0

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,6 +1,6 @@
1
- ## [11.1.4](https://github.com/Rebilly/rebilly/compare/revel-v11.1.3...revel-v11.1.4) (2025-09-05)
1
+ ## [11.2.0](https://github.com/Rebilly/rebilly/compare/revel-v11.1.4...revel-v11.2.0) (2025-09-16)
2
2
 
3
3
 
4
- ### Bug Fixes
4
+ ### Features
5
5
 
6
- * **revel:** Fix "Cannot read properties of undefined" error in <r-date-input> ([#14644](https://github.com/Rebilly/rebilly/issues/14644)) ([3c18884](https://github.com/Rebilly/rebilly/commit/3c18884de1c1f22c181635eaff98229ea05ba789))
6
+ * **revel:** Add `strategy` prop to Popover component ([#14868](https://github.com/Rebilly/rebilly/issues/14868)) ([f2092a2](https://github.com/Rebilly/rebilly/commit/f2092a20d1e4f013f9c5dbc011e4882eacedb298))
@@ -4,6 +4,7 @@ type MarginsOffset = [number, number, number, number];
4
4
  type Directions = (typeof allDirections)[number];
5
5
  type Positions = (typeof allPositions)[number];
6
6
  type SlideFrom = 'fade' | 'top' | 'bottom' | 'left' | 'right';
7
+ type Strategy = 'absolute' | 'fixed';
7
8
  interface Props {
8
9
  /**
9
10
  * Opens popper with the parent component
@@ -61,6 +62,11 @@ interface Props {
61
62
  * Transition duration
62
63
  */
63
64
  duration?: number;
65
+ /**
66
+ * Strategy for positioning the popper.
67
+ * By default it's `absolute` but you can use `fixed` to position the popper relative to the window.
68
+ */
69
+ strategy?: Strategy;
64
70
  }
65
71
  interface PopperAction {
66
72
  delay: Nullable<number>;
@@ -121,6 +127,7 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {
121
127
  openOnMount: boolean;
122
128
  margin: MarginsOffset;
123
129
  slideFrom: SlideFrom;
130
+ strategy: Strategy;
124
131
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
125
132
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
126
133
  export default _default;