@rebilly/revel 11.1.4 → 11.3.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.3.0](https://github.com/Rebilly/rebilly/compare/revel-v11.2.0...revel-v11.3.0) (2025-09-25)
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 "Today" button to `<r-date-input>` component ([#15239](https://github.com/Rebilly/rebilly/issues/15239)) ([e14137d](https://github.com/Rebilly/rebilly/commit/e14137df9396558e5f015ec8b3459425ce34ddd0))
@@ -28,6 +28,10 @@ interface Props {
28
28
  * Whether the value can be null
29
29
  */
30
30
  allowEmpty?: boolean;
31
+ /**
32
+ * Hide select today button
33
+ */
34
+ hideSelectToday?: boolean;
31
35
  }
32
36
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
33
37
  "update:modelValue": (value: string | Date | null) => any;
@@ -40,5 +44,6 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
40
44
  timezone: string;
41
45
  modelConfig: object;
42
46
  masks: object;
47
+ hideSelectToday: boolean;
43
48
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
44
49
  export default _default;
@@ -80,13 +80,17 @@ interface Props {
80
80
  */
81
81
  locale?: string;
82
82
  /**
83
- * Masks are used to properly format and parse different sections of the calendar and date picker components.
83
+ * Masks are used to properly format and parse different sections of the calendar and date picker components
84
84
  */
85
85
  masks?: object;
86
86
  /**
87
87
  * Whether the value can be null for single date inputs
88
88
  */
89
89
  allowEmpty?: boolean;
90
+ /**
91
+ * Hide select today button
92
+ */
93
+ hideSelectToday?: boolean;
90
94
  }
91
95
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
92
96
  "update:modelValue": (value: string | Date | DateRange | null) => any;
@@ -104,6 +108,7 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
104
108
  placement: string;
105
109
  timezone: string;
106
110
  masks: object;
111
+ hideSelectToday: boolean;
107
112
  is24hr: boolean;
108
113
  hideTimeHeader: boolean;
109
114
  locale: string;
@@ -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;