revdev-components 0.18.0 → 0.19.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.
@@ -9,5 +9,6 @@ export interface AppFormRules {
9
9
  onlyKey: AppFormRule;
10
10
  maxLength: AppFormRuleLength;
11
11
  minLength: AppFormRuleLength;
12
+ length: AppFormRuleLength;
12
13
  }
13
14
  export declare function useAppFormRules(): AppFormRules;
package/build/index.js CHANGED
@@ -4746,6 +4746,7 @@ function useAppFormRules() {
4746
4746
  onlyKey: function (message) { return ({ pattern: /^([a-z\d]*[-])*[a-z\d]+$/i, message: message }); },
4747
4747
  maxLength: function (message, length) { return ({ max: length, message: message }); },
4748
4748
  minLength: function (message, length) { return ({ min: length, message: message }); },
4749
+ length: function (message, length) { return ({ len: length, message: message }); },
4749
4750
  };
4750
4751
  }, []);
4751
4752
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev-components",
3
- "version": "0.18.0",
3
+ "version": "0.19.0",
4
4
  "main": "build/index.js",
5
5
  "module": "build/index.esm.js",
6
6
  "scripts": {