@antscorp/antsomi-ui 1.3.5-beta.801 → 1.3.5-beta.802

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.
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { PayloadInfo } from '@antscorp/antsomi-ui/es/types';
3
2
  export type TDisplayFormat = 'number' | 'percentage' | 'currency' | 'datetime';
4
3
  type DisplayFormatProps = {
@@ -35,7 +35,7 @@ export function acceptablePatternChecking(pattern, acceptablePattern) {
35
35
  }
36
36
  // Helper function to validate URL formats
37
37
  export function validateURL(txt) {
38
- const regexUrl = getCachedRegex('^(https?:\\/\\/)?(([A-Za-z]{3,9}:)?(\\/\\/)?(?:[-;:&=+$,\\w]+@)?[A-Za-z0-9.-]+|(?:www\\.|[-;:&=+$,\\w]+@)[A-Za-z0-9.-]+)((\\/[+~%\\/\\.\\w-_]*)*(?:\\?[-+=&;%@\\.\\w_]*)?(#(?:[.!\\/\\\\\\w-]*)?)?)$', '', 'checkingURL');
38
+ const regexUrl = getCachedRegex("^(https?:\\/\\/)?(([A-Za-z]{3,9}:)?(\\/\\/)?)([A-Za-z0-9\\-._~%]+@)?([A-Za-z0-9\\-._~%]+)(:[0-9]+)?(\\/[A-Za-z0-9\\-._~%!$&'()*+,;=:@]+)*(\\?[A-Za-z0-9\\-._~%!$&'()*+,;=:@/?]*)?(#[A-Za-z0-9\\-._~%!$&'()*+,;=:@/?]*)?$", '', 'checkingURL');
39
39
  return regexUrl.test(txt);
40
40
  }
41
41
  /**
@@ -3,5 +3,4 @@
3
3
  * Asynchronously loads the component for TemplateListing
4
4
  *
5
5
  */
6
- /// <reference types="react" />
7
6
  export declare const TemplateListing: (props: import("./types").TemplateListingProps<{}>) => JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.5-beta.801",
3
+ "version": "1.3.5-beta.802",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",