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.
- package/dist/utils/masks.d.ts +1 -0
- package/dist/utils/masks.d.ts.map +1 -1
- package/dist/utils/masks.js +14 -0
- package/dist/utils/masks.js.map +1 -1
- package/package.json +98 -97
package/dist/utils/masks.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"masks.d.ts","sourceRoot":"","sources":["../../src/utils/masks.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"masks.d.ts","sourceRoot":"","sources":["../../src/utils/masks.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,WAAW;;;;CAmBvB,CAAA"}
|
package/dist/utils/masks.js
CHANGED
|
@@ -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
|
package/dist/utils/masks.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"masks.js","sourceRoot":"","sources":["../../src/utils/masks.ts"],"names":[],"mappings":"
|
|
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.
|
|
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.
|
|
42
|
-
"class-variance-authority": "^0.
|
|
43
|
-
"clsx": "^
|
|
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": "^
|
|
49
|
-
"react": "18.2.0",
|
|
50
|
-
"react-date-range": "^1.4.0",
|
|
51
|
-
"react-dom": "18.2.0",
|
|
52
|
-
"react-icons": "^
|
|
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
|
-
"
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"@
|
|
64
|
-
"@storybook/addon-
|
|
65
|
-
"@storybook/addon-
|
|
66
|
-
"@storybook/addon-
|
|
67
|
-
"@storybook/addon-
|
|
68
|
-
"@storybook/addon-
|
|
69
|
-
"@storybook/
|
|
70
|
-
"@storybook/
|
|
71
|
-
"@storybook/
|
|
72
|
-
"@storybook/
|
|
73
|
-
"@
|
|
74
|
-
"@types/
|
|
75
|
-
"@types/react
|
|
76
|
-
"@types/react-
|
|
77
|
-
"@types/react-
|
|
78
|
-
"@types/react-
|
|
79
|
-
"@types/
|
|
80
|
-
"@
|
|
81
|
-
"
|
|
82
|
-
"eslint": "8.
|
|
83
|
-
"
|
|
84
|
-
"eslint
|
|
85
|
-
"eslint-
|
|
86
|
-
"eslint-
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
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
|
+
}
|