beyond-system 2.2.3 → 2.2.5

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,5 +1,6 @@
1
1
  export declare const INPUT_MASKS: {
2
2
  DATE: (string | RegExp)[];
3
3
  CPF: (string | RegExp)[];
4
+ BRL_CURRENCY: any;
4
5
  };
5
6
  //# sourceMappingURL=masks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"masks.d.ts","sourceRoot":"","sources":["../../src/utils/masks.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;CAkBvB,CAAA"}
1
+ {"version":3,"file":"masks.d.ts","sourceRoot":"","sources":["../../src/utils/masks.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,WAAW;;;;CAmBvB,CAAA"}
@@ -1,6 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.INPUT_MASKS = void 0;
4
+ var tslib_1 = require("tslib");
5
+ var createNumberMask_1 = tslib_1.__importDefault(require("text-mask-addons/dist/createNumberMask"));
6
+ var BRL_CURRENCY = (0, createNumberMask_1.default)({
7
+ prefix: 'R$ ',
8
+ includeThousandsSeparator: true,
9
+ thousandsSeparatorSymbol: '.',
10
+ allowDecimal: true,
11
+ decimalSymbol: ',',
12
+ decimalLimit: 2,
13
+ integerLimit: 15,
14
+ allowNegative: false,
15
+ allowLeadingZeroes: false,
16
+ });
4
17
  exports.INPUT_MASKS = {
5
18
  DATE: [/\d/, /\d/, '/', /\d/, /\d/, '/', /\d/, /\d/, /\d/, /\d/],
6
19
  CPF: [
@@ -19,5 +32,6 @@ exports.INPUT_MASKS = {
19
32
  /\d/,
20
33
  /\d/,
21
34
  ],
35
+ BRL_CURRENCY: BRL_CURRENCY,
22
36
  };
23
37
  //# sourceMappingURL=masks.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"masks.js","sourceRoot":"","sources":["../../src/utils/masks.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG;IACzB,IAAI,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;IAChE,GAAG,EAAE;QACH,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,GAAG;QACH,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,GAAG;QACH,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,GAAG;QACH,IAAI;QACJ,IAAI;KACL;CACF,CAAA"}
1
+ {"version":3,"file":"masks.js","sourceRoot":"","sources":["../../src/utils/masks.ts"],"names":[],"mappings":";;;;AAAA,oGAAqE;AAErE,IAAM,YAAY,GAAG,IAAA,0BAAgB,EAAC;IACpC,MAAM,EAAE,KAAK;IACb,yBAAyB,EAAE,IAAI;IAC/B,wBAAwB,EAAE,GAAG;IAC7B,YAAY,EAAE,IAAI;IAClB,aAAa,EAAE,GAAG;IAClB,YAAY,EAAE,CAAC;IACf,YAAY,EAAE,EAAE;IAChB,aAAa,EAAE,KAAK;IACpB,kBAAkB,EAAE,KAAK;CAC1B,CAAC,CAAA;AAEW,QAAA,WAAW,GAAG;IACzB,IAAI,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;IAChE,GAAG,EAAE;QACH,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,GAAG;QACH,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,GAAG;QACH,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,GAAG;QACH,IAAI;QACJ,IAAI;KACL;IACD,YAAY,cAAA;CACb,CAAA"}
package/package.json CHANGED
@@ -1,97 +1,98 @@
1
- {
2
- "name": "beyond-system",
3
- "author": "Growth Machine",
4
- "version": "2.2.3",
5
- "private": false,
6
- "main": "./dist/index.js",
7
- "module": "./dist/index.js",
8
- "types": "./dist/index.d.ts",
9
- "license": "MIT",
10
- "scripts": {
11
- "dev": "storybook dev -p 6006",
12
- "build:tailwind": "tailwindcss -i ./src/styles/global.css -o ./dist/styles/global.css",
13
- "build:module": "tsc --project tsconfig.json && tscpaths -p tsconfig.json -s ./src -o ./dist",
14
- "build": "pnpm run build:tailwind && pnpm run build:module",
15
- "lint": "eslint .",
16
- "storybook": "storybook dev -p 6006 public",
17
- "build-storybook": "storybook build public",
18
- "serve-storybook": "serve storybook-static"
19
- },
20
- "peerDependencies": {
21
- "react": ">=16"
22
- },
23
- "files": [
24
- "dist",
25
- "LICENSE",
26
- "README.md"
27
- ],
28
- "dependencies": {
29
- "@emotion/react": "^11.11.1",
30
- "@emotion/styled": "^11.11.0",
31
- "@mui/material": "^5.13.7",
32
- "@radix-ui/react-accordion": "^1.1.2",
33
- "@radix-ui/react-checkbox": "1.0.4",
34
- "@radix-ui/react-collapsible": "^1.0.3",
35
- "@radix-ui/react-dialog": "^1.0.5",
36
- "@radix-ui/react-dropdown-menu": "^2.0.6",
37
- "@radix-ui/react-radio-group": "^1.1.3",
38
- "@radix-ui/react-select": "^2.0.0",
39
- "@radix-ui/react-slot": "^1.0.2",
40
- "@radix-ui/react-switch": "^1.0.3",
41
- "@storybook/test": "8.0.2",
42
- "class-variance-authority": "^0.6.0",
43
- "clsx": "^1.2.1",
44
- "date-fns": "^2.29.3",
45
- "framer-motion": "^11.0.25",
46
- "moment": "^2.29.4",
47
- "postcss": "^8.4.35",
48
- "postcss-loader": "^7.1.0",
49
- "react": "18.2.0",
50
- "react-date-range": "^1.4.0",
51
- "react-dom": "18.2.0",
52
- "react-icons": "^4.8.0",
53
- "react-phone-input-2": "^2.15.1",
54
- "react-select": "^5.7.2",
55
- "react-text-mask": "^5.5.0",
56
- "styled-components": "^5.3.9",
57
- "tailwind-merge": "^2.1.0",
58
- "tailwindcss": "^3.4.1",
59
- "typescript": "5.0.2"
60
- },
61
- "devDependencies": {
62
- "@babel/core": "^7.21.3",
63
- "@storybook/addon-actions": "^8.0.2",
64
- "@storybook/addon-essentials": "^8.0.2",
65
- "@storybook/addon-interactions": "^8.0.2",
66
- "@storybook/addon-links": "^8.0.2",
67
- "@storybook/addon-styling-webpack": "^1.0.0",
68
- "@storybook/addon-themes": "^8.0.4",
69
- "@storybook/manager-api": "^8.0.2",
70
- "@storybook/nextjs": "^8.0.2",
71
- "@storybook/react": "^8.0.2",
72
- "@storybook/theming": "^8.0.2",
73
- "@types/node": "18.15.5",
74
- "@types/react": "18.0.28",
75
- "@types/react-date-range": "^1.4.4",
76
- "@types/react-dom": "18.0.11",
77
- "@types/react-input-mask": "^3.0.2",
78
- "@types/react-text-mask": "^5.4.14",
79
- "@types/styled-components": "^5.1.26",
80
- "@typescript-eslint/eslint-plugin": "^5.56.0",
81
- "autoprefixer": "^10.4.17",
82
- "eslint": "8.36.0",
83
- "eslint-config-next": "13.2.4",
84
- "eslint-config-prettier": "^8.8.0",
85
- "eslint-plugin-prettier": "^4.2.1",
86
- "eslint-plugin-storybook": "^0.8.0",
87
- "next": "^14.1.0",
88
- "postcss-import": "^16.0.0",
89
- "prettier": "^2.8.6",
90
- "storybook": "^8.0.2",
91
- "storybook-addon-sass-postcss": "^0.2.0",
92
- "tailwind": "^4.0.0",
93
- "tsconfig-paths": "^4.2.0",
94
- "tscpaths": "^0.0.9",
95
- "tslib": "^2.6.2"
96
- }
97
- }
1
+ {
2
+ "name": "beyond-system",
3
+ "author": "Growth Machine",
4
+ "version": "2.2.5",
5
+ "private": false,
6
+ "main": "./dist/index.js",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "license": "MIT",
10
+ "scripts": {
11
+ "dev": "storybook dev -p 6006",
12
+ "build:tailwind": "tailwindcss -i ./src/styles/global.css -o ./dist/styles/global.css",
13
+ "build:module": "tsc --project tsconfig.json && tscpaths -p tsconfig.json -s ./src -o ./dist",
14
+ "build": "pnpm run build:tailwind && pnpm run build:module",
15
+ "lint": "eslint .",
16
+ "storybook": "storybook dev -p 6006 public",
17
+ "build-storybook": "storybook build public",
18
+ "serve-storybook": "serve storybook-static"
19
+ },
20
+ "peerDependencies": {
21
+ "react": ">=16"
22
+ },
23
+ "files": [
24
+ "dist",
25
+ "LICENSE",
26
+ "README.md"
27
+ ],
28
+ "dependencies": {
29
+ "@emotion/react": "^11.11.1",
30
+ "@emotion/styled": "^11.11.0",
31
+ "@mui/material": "^5.13.7",
32
+ "@radix-ui/react-accordion": "^1.1.2",
33
+ "@radix-ui/react-checkbox": "1.0.4",
34
+ "@radix-ui/react-collapsible": "^1.0.3",
35
+ "@radix-ui/react-dialog": "^1.0.5",
36
+ "@radix-ui/react-dropdown-menu": "^2.0.6",
37
+ "@radix-ui/react-radio-group": "^1.1.3",
38
+ "@radix-ui/react-select": "^2.0.0",
39
+ "@radix-ui/react-slot": "^1.0.2",
40
+ "@radix-ui/react-switch": "^1.0.3",
41
+ "@storybook/test": "^8.4.6",
42
+ "class-variance-authority": "^0.7.1",
43
+ "clsx": "^2.1.1",
44
+ "date-fns": "^2.29.3",
45
+ "framer-motion": "^11.0.25",
46
+ "moment": "^2.29.4",
47
+ "postcss": "^8.4.35",
48
+ "postcss-loader": "^8.1.1",
49
+ "react": "18.2.0",
50
+ "react-date-range": "^1.4.0",
51
+ "react-dom": "18.2.0",
52
+ "react-icons": "^5.3.0",
53
+ "react-phone-input-2": "^2.15.1",
54
+ "react-select": "^5.7.2",
55
+ "react-text-mask": "^5.5.0",
56
+ "styled-components": "^5.3.9",
57
+ "tailwind-merge": "^2.1.0",
58
+ "tailwindcss": "^3.4.1",
59
+ "text-mask-addons": "^3.8.0",
60
+ "typescript": "5.0.2"
61
+ },
62
+ "devDependencies": {
63
+ "@babel/core": "^7.21.3",
64
+ "@storybook/addon-actions": "^8.4.6",
65
+ "@storybook/addon-essentials": "^8.4.6",
66
+ "@storybook/addon-interactions": "^8.4.6",
67
+ "@storybook/addon-links": "^8.4.6",
68
+ "@storybook/addon-styling-webpack": "^1.0.1",
69
+ "@storybook/addon-themes": "^8.4.6",
70
+ "@storybook/manager-api": "^8.4.6",
71
+ "@storybook/nextjs": "^8.4.6",
72
+ "@storybook/react": "^8.4.6",
73
+ "@storybook/theming": "^8.4.6",
74
+ "@types/node": "18.15.5",
75
+ "@types/react": "18.0.28",
76
+ "@types/react-date-range": "^1.4.4",
77
+ "@types/react-dom": "18.0.11",
78
+ "@types/react-input-mask": "^3.0.2",
79
+ "@types/react-text-mask": "^5.4.14",
80
+ "@types/styled-components": "^5.1.26",
81
+ "@types/text-mask-addons": "^3.8.4",
82
+ "@typescript-eslint/eslint-plugin": "8.16.0",
83
+ "autoprefixer": "^10.4.17",
84
+ "eslint": "9.16.0",
85
+ "eslint-config-next": "15.0.3",
86
+ "eslint-config-prettier": "9.1.0",
87
+ "eslint-plugin-prettier": "5.2.1",
88
+ "eslint-plugin-storybook": "^0.11.1",
89
+ "next": "^14.1.0",
90
+ "postcss-import": "^16.0.0",
91
+ "prettier": "3.4.1",
92
+ "storybook": "^8.4.6",
93
+ "storybook-addon-sass-postcss": "^0.3.2",
94
+ "tsconfig-paths": "^4.2.0",
95
+ "tscpaths": "^0.0.9",
96
+ "tslib": "^2.6.2"
97
+ }
98
+ }