@inntechcorp/it-design 3.1.20 → 3.1.22

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.
@@ -50,7 +50,8 @@ export declare enum FormValidationTypes {
50
50
  SITE_USERNAME = "siteUsername",
51
51
  ADMIN_USERNAME = "adminUsername",
52
52
  URL = "url",
53
- FORBIDDEN_WORDS = "forbiddenWords"
53
+ FORBIDDEN_WORDS = "forbiddenWords",
54
+ MULTIPLE_OF = "multipleOf"
54
55
  }
55
56
  export declare enum ConnectionStatus {
56
57
  ONLINE = "online",
@@ -14,6 +14,7 @@ declare const Validator: {
14
14
  checkAdminUsername: (value: string) => boolean;
15
15
  checkURL: (value: string) => boolean;
16
16
  checkForbiddenWords: (value: string, words: (string | number)[]) => boolean;
17
+ checkMultipleOf: (value: number, multiple: number) => boolean;
17
18
  };
18
19
  export declare function CheckValidations(rules: FormRuleProps[], value: FormValueProps, getFieldValue: (name: string) => FormValueProps, t: TFunction): string[];
19
20
  export default Validator;
package/dist/global.css CHANGED
@@ -143,9 +143,4 @@ textarea {
143
143
  opacity: 0 !important;
144
144
  transform: translateY(-10px) !important;
145
145
  transition: opacity 250ms, transform 250ms !important;
146
- }
147
-
148
- /* Storybook Docs Story Width */
149
- .docs-story > div > div {
150
- width: 100%;
151
146
  }