@rebilly/revel 11.1.3 → 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.3](https://github.com/Rebilly/rebilly/compare/revel-v11.1.2...revel-v11.1.3) (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:** Remove unused revel docs components & fix styles ([#14650](https://github.com/Rebilly/rebilly/issues/14650)) ([82ff320](https://github.com/Rebilly/rebilly/commit/82ff320e25c5bb0e6822550a76a0bf763b940d66))
6
+ * **revel:** Add `strategy` prop to Popover component ([#14868](https://github.com/Rebilly/rebilly/issues/14868)) ([f2092a2](https://github.com/Rebilly/rebilly/commit/f2092a20d1e4f013f9c5dbc011e4882eacedb298))
@@ -15,9 +15,9 @@ export interface Props {
15
15
  stopPropagation?: boolean;
16
16
  }
17
17
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
18
- click: () => any;
18
+ click: (event: MouseEvent) => any;
19
19
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
20
- onClick?: (() => any) | undefined;
20
+ onClick?: ((event: MouseEvent) => any) | undefined;
21
21
  }>, {
22
22
  color: IconColor;
23
23
  stopPropagation: boolean;
@@ -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;
@@ -763,9 +763,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
763
763
  trackAsyncUpdatesByObject: boolean;
764
764
  }, {}, {
765
765
  RIcon: import("vue").DefineComponent<import("../r-icon/r-icon.vue").Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
766
- click: () => any;
766
+ click: (event: MouseEvent) => any;
767
767
  }, string, import("vue").PublicProps, Readonly<import("../r-icon/r-icon.vue").Props> & Readonly<{
768
- onClick?: (() => any) | undefined;
768
+ onClick?: ((event: MouseEvent) => any) | undefined;
769
769
  }>, {
770
770
  color: import("../r-icon/r-icon-sprites.ts").IconColor;
771
771
  stopPropagation: boolean;