@rebilly/revel 12.39.0 → 12.40.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 +2 -2
- package/dist/components/r-input/r-input.vue.d.ts +5 -0
- package/dist/revel.mjs +1016 -993
- package/dist/revel.umd.js +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
## [12.
|
|
1
|
+
## [12.40.0](https://github.com/Rebilly/rebilly/compare/revel-v12.39.0...revel-v12.40.0) (2026-06-30)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Features
|
|
5
5
|
|
|
6
|
-
* **revel
|
|
6
|
+
* **revel:** Add integer prop to `r-input` ([#23010](https://github.com/Rebilly/rebilly/issues/23010)) ([53e55e6](https://github.com/Rebilly/rebilly/commit/53e55e6a99af8ba6d517506e42e7c5830c04cc4f))
|
|
@@ -45,6 +45,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
|
|
|
45
45
|
leftLabel: Nullable<string>;
|
|
46
46
|
rightLabel: Nullable<string>;
|
|
47
47
|
numeric: boolean;
|
|
48
|
+
integer: boolean;
|
|
48
49
|
rows: string | number;
|
|
49
50
|
autoFocus: boolean;
|
|
50
51
|
autoHighlight: boolean;
|
|
@@ -129,6 +130,10 @@ interface Props {
|
|
|
129
130
|
* Changes the input type to number
|
|
130
131
|
*/
|
|
131
132
|
numeric?: boolean;
|
|
133
|
+
/**
|
|
134
|
+
* Restricts input to integers only (no decimals)
|
|
135
|
+
*/
|
|
136
|
+
integer?: boolean;
|
|
132
137
|
/**
|
|
133
138
|
* Adds a name attribute to the input
|
|
134
139
|
*/
|