1mpacto-react-ui 2.0.24 → 2.0.26
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/assets/_colors.scss +42 -0
- package/dist/assets/_mixins.scss +72 -72
- package/dist/assets/_typography.scss +32 -2
- package/dist/assets/core.css +1 -1
- package/dist/assets/fontfamily.css +1 -1
- package/dist/assets/icons/arrow-narrow-down.svg +3 -3
- package/dist/assets/style.css +1 -1
- package/dist/components/Button/Button.cjs +12 -12
- package/dist/components/Button/Button.config.cjs +1 -1
- package/dist/components/Button/Button.config.mjs +58 -55
- package/dist/components/Button/Button.mjs +24 -24
- package/dist/components/Button/style.module.scss.cjs +1 -1
- package/dist/components/Button/style.module.scss.mjs +60 -57
- package/dist/components/ButtonIcon/ButtonIcon.cjs +12 -12
- package/dist/components/ButtonIcon/ButtonIcon.mjs +20 -20
- package/dist/components/Calendar/Calendar.cjs +1 -1
- package/dist/components/Calendar/Calendar.config.cjs +1 -0
- package/dist/components/Calendar/Calendar.config.mjs +22 -0
- package/dist/components/Calendar/Calendar.mjs +221 -133
- package/dist/components/Calendar/CalendarCell.cjs +1 -1
- package/dist/components/Calendar/CalendarCell.mjs +9 -9
- package/dist/components/Calendar/CalendarMonth.cjs +1 -1
- package/dist/components/Calendar/CalendarMonth.mjs +23 -21
- package/dist/components/Calendar/CalendarRange.cjs +1 -1
- package/dist/components/Calendar/CalendarRange.mjs +100 -98
- package/dist/components/Calendar/CalendarYear.cjs +3 -3
- package/dist/components/Calendar/CalendarYear.mjs +27 -25
- package/dist/components/Calendar/style.module.scss.cjs +1 -1
- package/dist/components/Calendar/style.module.scss.mjs +35 -33
- package/dist/components/Chart/LineChart.cjs +1 -1
- package/dist/components/Chart/LineChart.mjs +1 -1
- package/dist/components/DatePicker/DatePicker.cjs +1 -1
- package/dist/components/DatePicker/DatePicker.mjs +78 -69
- package/dist/components/DatePicker/DateRangePicker.cjs +1 -1
- package/dist/components/DatePicker/DateRangePicker.mjs +91 -79
- package/dist/components/DatePicker/FilterDate.cjs +1 -1
- package/dist/components/DatePicker/FilterDate.mjs +181 -127
- package/dist/components/DatePicker/MonthYearPicker.cjs +1 -1
- package/dist/components/DatePicker/MonthYearPicker.mjs +58 -49
- package/dist/components/Input/InputInnerLabel.cjs +6 -6
- package/dist/components/Input/InputInnerLabel.config.cjs +1 -1
- package/dist/components/Input/InputInnerLabel.config.mjs +9 -5
- package/dist/components/Input/InputInnerLabel.mjs +36 -35
- package/dist/components/Input/InputInnerLabel.module.scss.cjs +1 -1
- package/dist/components/Input/InputInnerLabel.module.scss.mjs +19 -17
- package/dist/components/Sidebar/ItemSidebar.config.cjs +1 -1
- package/dist/components/Sidebar/ItemSidebar.config.mjs +6 -2
- package/dist/components/Sidebar/Sidebar.cjs +1 -1
- package/dist/components/Sidebar/Sidebar.config.cjs +1 -1
- package/dist/components/Sidebar/Sidebar.config.mjs +14 -12
- package/dist/components/Sidebar/Sidebar.mjs +78 -77
- package/dist/components/Sidebar/Sidebar.module.scss.cjs +1 -1
- package/dist/components/Sidebar/Sidebar.module.scss.mjs +22 -20
- package/dist/components/Sidebar/itemSidebar.module.scss.cjs +1 -1
- package/dist/components/Sidebar/itemSidebar.module.scss.mjs +25 -24
- package/dist/components/Upload/UploadImage.cjs +12 -12
- package/dist/components/Upload/UploadImage.mjs +28 -28
- package/dist/config/resources/index.cjs +1 -1
- package/dist/config/resources/index.mjs +1 -1
- package/dist/config/tailwind/colors.cjs +1 -1
- package/dist/config/tailwind/colors.mjs +22 -1
- package/dist/config/tailwind/typography.cjs +1 -1
- package/dist/config/tailwind/typography.mjs +70 -3
- package/dist/package.json.cjs +1 -1
- package/dist/package.json.d.ts +127 -128
- package/dist/package.json.mjs +1 -1
- package/dist/src/components/Button/Button.config.d.ts +3 -0
- package/dist/src/components/Calendar/Calendar.config.d.ts +19 -0
- package/dist/src/components/Calendar/Calendar.d.ts +5 -3
- package/dist/src/components/Calendar/Calendar.stories.d.ts +21 -5
- package/dist/src/components/Calendar/CalendarMonth.d.ts +1 -1
- package/dist/src/components/Calendar/CalendarRange.d.ts +1 -1
- package/dist/src/components/Calendar/CalendarYear.d.ts +1 -1
- package/dist/src/components/DatePicker/DatePicker.stories.d.ts +28 -0
- package/dist/src/components/DatePicker/FilterDate.d.ts +1 -1
- package/dist/src/components/DatePicker/FilterDate.stories.d.ts +29 -1
- package/dist/src/components/DatePicker/MonthYearPicker.d.ts +1 -1
- package/dist/src/components/DatePicker/MonthYearPicker.stories.d.ts +29 -1
- package/dist/src/components/Input/InputInnerLabel.config.d.ts +5 -1
- package/dist/src/components/Input/InputInnerLabel.stories.d.ts +16 -0
- package/dist/src/components/Sidebar/ItemSidebar.config.d.ts +4 -0
- package/dist/src/components/Sidebar/Sidebar.config.d.ts +2 -0
- package/dist/src/config/resources/index.d.ts +2 -2
- package/dist/src/config/tailwind/typography.d.ts +1 -0
- package/dist/src/interfaces/components/Button/index.d.ts +1 -1
- package/dist/src/interfaces/components/Calendar/index.d.ts +41 -0
- package/dist/src/interfaces/components/DatePicker/index.d.ts +41 -1
- package/dist/src/interfaces/components/Input/index.d.ts +10 -0
- package/dist/src/interfaces/components/Sidebar/index.d.ts +6 -1
- package/dist/src/interfaces/components/Tabs/index.d.ts +1 -1
- package/dist/types-external/table.d.ts +15 -15
- package/dist/utils/common.cjs +1 -1
- package/dist/utils/common.mjs +7 -7
- package/package.json +127 -128
package/dist/package.json.d.ts
CHANGED
|
@@ -1,131 +1,130 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
"name": "1mpacto-react-ui",
|
|
3
|
-
"private": false,
|
|
4
|
-
"version": "2.0.
|
|
5
|
-
"type": "module",
|
|
6
|
-
"engines": {
|
|
7
|
-
"node": ">=
|
|
8
|
-
"npm": ">=10.8
|
|
9
|
-
},
|
|
10
|
-
"scripts": {
|
|
11
|
-
"copy:toastify-css": "cp ./node_modules/react-toastify/dist/ReactToastify.css ./dist/assets/toast.css",
|
|
12
|
-
"copy:mixin-scss": "cp ./src/styles/_mixins.scss ./dist/assets/_mixins.scss",
|
|
13
|
-
"dev": "vite",
|
|
14
|
-
"transform:style": "node
|
|
15
|
-
"process:transformStyle": "npm run transform:style",
|
|
16
|
-
"process:copyStyle": "npm run copy:mixin-scss && npm run copy:toastify-css",
|
|
17
|
-
"prebuild": "node -e \"fs.rmSync('node_modules/.tmp',{recursive:true,force:true})\"",
|
|
18
|
-
"build": "tsc -b && vite build && npm run build:css && npm run build:fontfamily && npm run process:copyStyle && npm run process:transformStyle",
|
|
19
|
-
"build:css": "sass --load-path=node_modules ./src/styles/index.scss ./dist/assets/core.css --no-source-map --style=compressed",
|
|
20
|
-
"build:fontfamily": "sass ./src/styles/fontfamily.scss ./dist/assets/fontfamily.css --no-source-map --style=compressed",
|
|
21
|
-
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
22
|
-
"preview": "vite preview",
|
|
23
|
-
"prepare": "husky && npm run build",
|
|
24
|
-
"watch:build": "npx watch \"npm run build\" ./src",
|
|
25
|
-
"storybook": "storybook dev -p 6006",
|
|
26
|
-
"build-storybook": "storybook build",
|
|
27
|
-
"postbuild": "copyfiles -f src/types/* dist/types-external/",
|
|
28
|
-
"install": "copyfiles -f dist/types-external/* ../../src/types/"
|
|
29
|
-
},
|
|
30
|
-
"devDependencies": {
|
|
31
|
-
"@chromatic-com/storybook": "^4.1.3",
|
|
32
|
-
"@eslint/compat": "^1.3.1",
|
|
33
|
-
"@eslint/eslintrc": "^3.3.1",
|
|
34
|
-
"@eslint/js": "^9.32.0",
|
|
35
|
-
"@storybook/addon-docs": "^10.1.4",
|
|
36
|
-
"@storybook/addon-onboarding": "^10.1.4",
|
|
37
|
-
"@storybook/react-vite": "^10.1.4",
|
|
38
|
-
"@stylistic/eslint-plugin": "^5.2.2",
|
|
39
|
-
"@types/js-cookie": "^3.0.6",
|
|
40
|
-
"@types/node": "^20",
|
|
41
|
-
"@types/node-forge": "^1.3.14",
|
|
42
|
-
"@types/react": "^19.1.9",
|
|
43
|
-
"@types/react-dom": "^19.1.7",
|
|
44
|
-
"@typescript-eslint/eslint-plugin": "^8.48.1",
|
|
45
|
-
"@typescript-eslint/parser": "^8.48.1",
|
|
46
|
-
"@vitejs/plugin-react-swc": "^4.3.0",
|
|
47
|
-
"1mpacto-sass": "^0.0.6",
|
|
48
|
-
"eslint": "^9.32.0",
|
|
49
|
-
"eslint-config-prettier": "^10.1.8",
|
|
50
|
-
"eslint-plugin-import": "^2.32.0",
|
|
51
|
-
"eslint-plugin-prettier": "^5.5.4",
|
|
52
|
-
"eslint-plugin-react": "^7.37.5",
|
|
53
|
-
"eslint-plugin-react-hooks": "^5.2.0",
|
|
54
|
-
"eslint-plugin-react-refresh": "^0.4.19",
|
|
55
|
-
"eslint-plugin-storybook": "^10.1.4",
|
|
56
|
-
"glob": "^13.0.0",
|
|
57
|
-
"globals": "^16.3.0",
|
|
58
|
-
"husky": "^9.1.7",
|
|
59
|
-
"lint-staged": "^16.2.7",
|
|
60
|
-
"prettier": "^3.7.4",
|
|
61
|
-
"react": "^19.1.1",
|
|
62
|
-
"react-dom": "^19.1.1",
|
|
63
|
-
"sass": "^1.94.2",
|
|
64
|
-
"storybook": "10.1.4",
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"vite": "^
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
"react": ">=
|
|
72
|
-
"
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
"./dist/assets/
|
|
86
|
-
"./dist/assets/
|
|
87
|
-
"./dist/assets/
|
|
88
|
-
"./dist/assets/
|
|
89
|
-
"./dist/assets/
|
|
90
|
-
"./dist/assets/
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
"@
|
|
109
|
-
"@
|
|
110
|
-
"@
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"react-
|
|
120
|
-
"react-
|
|
121
|
-
"react-
|
|
122
|
-
"react-
|
|
123
|
-
"react-
|
|
124
|
-
"react-
|
|
125
|
-
"
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
}
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"name": "1mpacto-react-ui",
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "2.0.26",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"engines": {
|
|
7
|
+
"node": ">=22.22.3",
|
|
8
|
+
"npm": ">=10.9.8"
|
|
9
|
+
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"copy:toastify-css": "cp ./node_modules/react-toastify/dist/ReactToastify.css ./dist/assets/toast.css",
|
|
12
|
+
"copy:mixin-scss": "cp ./src/styles/_mixins.scss ./dist/assets/_mixins.scss",
|
|
13
|
+
"dev": "vite",
|
|
14
|
+
"transform:style": "node ./src/utils/generate-file-style.js",
|
|
15
|
+
"process:transformStyle": "npm run transform:style",
|
|
16
|
+
"process:copyStyle": "npm run copy:mixin-scss && npm run copy:toastify-css",
|
|
17
|
+
"prebuild": "node -e \"fs.rmSync('node_modules/.tmp',{recursive:true,force:true})\"",
|
|
18
|
+
"build": "tsc -b && vite build && npm run build:css && npm run build:fontfamily && npm run process:copyStyle && npm run process:transformStyle",
|
|
19
|
+
"build:css": "sass --load-path=node_modules ./src/styles/index.scss ./dist/assets/core.css --no-source-map --style=compressed",
|
|
20
|
+
"build:fontfamily": "sass ./src/styles/fontfamily.scss ./dist/assets/fontfamily.css --no-source-map --style=compressed",
|
|
21
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
22
|
+
"preview": "vite preview",
|
|
23
|
+
"prepare": "husky && npm run build",
|
|
24
|
+
"watch:build": "npx watch \"npm run build\" ./src",
|
|
25
|
+
"storybook": "storybook dev -p 6006",
|
|
26
|
+
"build-storybook": "storybook build",
|
|
27
|
+
"postbuild": "copyfiles -f src/types/* dist/types-external/",
|
|
28
|
+
"install": "copyfiles -f dist/types-external/* ../../src/types/"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@chromatic-com/storybook": "^4.1.3",
|
|
32
|
+
"@eslint/compat": "^1.3.1",
|
|
33
|
+
"@eslint/eslintrc": "^3.3.1",
|
|
34
|
+
"@eslint/js": "^9.32.0",
|
|
35
|
+
"@storybook/addon-docs": "^10.1.4",
|
|
36
|
+
"@storybook/addon-onboarding": "^10.1.4",
|
|
37
|
+
"@storybook/react-vite": "^10.1.4",
|
|
38
|
+
"@stylistic/eslint-plugin": "^5.2.2",
|
|
39
|
+
"@types/js-cookie": "^3.0.6",
|
|
40
|
+
"@types/node": "^20",
|
|
41
|
+
"@types/node-forge": "^1.3.14",
|
|
42
|
+
"@types/react": "^19.1.9",
|
|
43
|
+
"@types/react-dom": "^19.1.7",
|
|
44
|
+
"@typescript-eslint/eslint-plugin": "^8.48.1",
|
|
45
|
+
"@typescript-eslint/parser": "^8.48.1",
|
|
46
|
+
"@vitejs/plugin-react-swc": "^4.3.0",
|
|
47
|
+
"1mpacto-sass": "^0.0.6",
|
|
48
|
+
"eslint": "^9.32.0",
|
|
49
|
+
"eslint-config-prettier": "^10.1.8",
|
|
50
|
+
"eslint-plugin-import": "^2.32.0",
|
|
51
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
52
|
+
"eslint-plugin-react": "^7.37.5",
|
|
53
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
54
|
+
"eslint-plugin-react-refresh": "^0.4.19",
|
|
55
|
+
"eslint-plugin-storybook": "^10.1.4",
|
|
56
|
+
"glob": "^13.0.0",
|
|
57
|
+
"globals": "^16.3.0",
|
|
58
|
+
"husky": "^9.1.7",
|
|
59
|
+
"lint-staged": "^16.2.7",
|
|
60
|
+
"prettier": "^3.7.4",
|
|
61
|
+
"react": "^19.1.1",
|
|
62
|
+
"react-dom": "^19.1.1",
|
|
63
|
+
"sass": "^1.94.2",
|
|
64
|
+
"storybook": "10.1.4",
|
|
65
|
+
"typescript": "~5.9.3",
|
|
66
|
+
"vite": "^7.3.2",
|
|
67
|
+
"vite-plugin-dts": "^4.5.4"
|
|
68
|
+
},
|
|
69
|
+
"peerDependencies": {
|
|
70
|
+
"react": ">= 19",
|
|
71
|
+
"react-dom": ">=19",
|
|
72
|
+
"yup": ">=1.4.0"
|
|
73
|
+
},
|
|
74
|
+
"main": "./dist/index.cjs",
|
|
75
|
+
"module": "./dist/index.mjs",
|
|
76
|
+
"types": "./dist/index.d.ts",
|
|
77
|
+
"sideEffects": false,
|
|
78
|
+
"exports": {
|
|
79
|
+
".": {
|
|
80
|
+
"types": "./dist/index.d.ts",
|
|
81
|
+
"import": "./dist/index.mjs",
|
|
82
|
+
"require": "./dist/index.cjs"
|
|
83
|
+
},
|
|
84
|
+
"./dist/assets/toast.css": "./dist/assets/toast.css",
|
|
85
|
+
"./dist/assets/core.css": "./dist/assets/core.css",
|
|
86
|
+
"./dist/assets/style.css": "./dist/assets/style.css",
|
|
87
|
+
"./dist/assets/_colors.scss": "./dist/assets/_colors.scss",
|
|
88
|
+
"./dist/assets/_typography.scss": "./dist/assets/_typography.scss",
|
|
89
|
+
"./dist/assets/_screen.scss": "./dist/assets/_screen.scss",
|
|
90
|
+
"./dist/assets/_mixins.scss": "./dist/assets/_mixins.scss"
|
|
91
|
+
},
|
|
92
|
+
"files": [
|
|
93
|
+
"/dist"
|
|
94
|
+
],
|
|
95
|
+
"publishConfig": {
|
|
96
|
+
"access": "public"
|
|
97
|
+
},
|
|
98
|
+
"lint-staged": {
|
|
99
|
+
"*.{js,jsx,ts,tsx}": [
|
|
100
|
+
"eslint --quiet --fix"
|
|
101
|
+
],
|
|
102
|
+
"*.{json,js,ts,jsx,tsx,html}": [
|
|
103
|
+
"prettier --write --ignore-unknown"
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
"dependencies": {
|
|
107
|
+
"@floating-ui/react": "^0.27.16",
|
|
108
|
+
"@internationalized/date": "^3.10.0",
|
|
109
|
+
"@tanstack/react-table": "^8.21.3",
|
|
110
|
+
"@tinymce/tinymce-react": "^6.3.0",
|
|
111
|
+
"bignumber.js": "^9.3.1",
|
|
112
|
+
"chart.js": "^4.5.1",
|
|
113
|
+
"copyfiles": "^2.4.1",
|
|
114
|
+
"date-fns": "^4.1.0",
|
|
115
|
+
"js-cookie": "^3.0.5",
|
|
116
|
+
"lossless-json": "^4.3.0",
|
|
117
|
+
"node-forge": "^1.3.2",
|
|
118
|
+
"react-aria": "^3.44.0",
|
|
119
|
+
"react-chartjs-2": "^5.3.1",
|
|
120
|
+
"react-number-format": "^5.4.4",
|
|
121
|
+
"react-select": "^5.10.2",
|
|
122
|
+
"react-stately": "^3.42.0",
|
|
123
|
+
"react-toastify": "^11.0.5",
|
|
124
|
+
"react-virtuoso": "^4.16.1",
|
|
125
|
+
"tinymce": "^8.2.2"
|
|
126
|
+
}
|
|
127
|
+
}
|
|
129
128
|
;
|
|
130
129
|
|
|
131
130
|
export default _default;
|
package/dist/package.json.mjs
CHANGED
|
@@ -69,6 +69,9 @@ export declare const configButton: {
|
|
|
69
69
|
'filled-bill-secondary-800_bg-white': string;
|
|
70
70
|
'primary-blue-gray-900-dsb_laba-grey-06': string;
|
|
71
71
|
'filled-blue-gray-900': string;
|
|
72
|
+
'primary-fin-primary-500': string;
|
|
73
|
+
'secondary-fin-primary-500': string;
|
|
74
|
+
'tertiary-fin-primary-500': string;
|
|
72
75
|
};
|
|
73
76
|
};
|
|
74
77
|
export declare const keysConfigButtonVariant: string[];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const configCalendar: {
|
|
2
|
+
variants: {
|
|
3
|
+
'laba-blue-10': string;
|
|
4
|
+
'fin-primary-500': string;
|
|
5
|
+
};
|
|
6
|
+
selectedVariants: {
|
|
7
|
+
'laba-blue-10': string;
|
|
8
|
+
'fin-primary-500': string;
|
|
9
|
+
};
|
|
10
|
+
resetButtonVariant: {
|
|
11
|
+
'laba-blue-10': string;
|
|
12
|
+
'fin-primary-500': string;
|
|
13
|
+
};
|
|
14
|
+
submitButtonVariant: {
|
|
15
|
+
'laba-blue-10': string;
|
|
16
|
+
'fin-primary-500': string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export declare const keysConfigCalendarVariant: string[];
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { ICalendar, ICustomTimeCalendar } from '../../interfaces/components/Calendar';
|
|
2
|
-
export declare const
|
|
3
|
-
declare const
|
|
1
|
+
import { ICalendar, ICustomTimeCalendar, TKeyLocale } from '../../interfaces/components/Calendar';
|
|
2
|
+
export declare const translateCalendar: Record<TKeyLocale, Record<string, string>>;
|
|
3
|
+
export declare const getDaysCalendar: (value: number, locale: TKeyLocale) => string;
|
|
4
|
+
export declare const CustomTimeCalendar: ({ minDate, maxDate, value: date, time, hiddenHeader, handlerChangeTime, timeLabel, type, locale, }: ICustomTimeCalendar) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare const Calendar: ({ variants, ...props }: ICalendar) => import("react/jsx-runtime").JSX.Element;
|
|
4
6
|
export default Calendar;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: (props: import('../../interfaces/components/Calendar').ICalendar) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
component: ({ variants, ...props }: import('../../interfaces/components/Calendar').ICalendar) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
parameters: {
|
|
6
6
|
layout: string;
|
|
7
7
|
};
|
|
@@ -27,8 +27,9 @@ declare const meta: {
|
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
|
-
|
|
31
|
-
control: "
|
|
30
|
+
locale: {
|
|
31
|
+
control: "select";
|
|
32
|
+
options: string[];
|
|
32
33
|
description: string;
|
|
33
34
|
table: {
|
|
34
35
|
category: string;
|
|
@@ -40,8 +41,10 @@ declare const meta: {
|
|
|
40
41
|
};
|
|
41
42
|
};
|
|
42
43
|
};
|
|
43
|
-
|
|
44
|
-
control:
|
|
44
|
+
variants: {
|
|
45
|
+
control: {
|
|
46
|
+
type: "select";
|
|
47
|
+
};
|
|
45
48
|
options: string[];
|
|
46
49
|
description: string;
|
|
47
50
|
table: {
|
|
@@ -54,6 +57,19 @@ declare const meta: {
|
|
|
54
57
|
};
|
|
55
58
|
};
|
|
56
59
|
};
|
|
60
|
+
hiddenHeader: {
|
|
61
|
+
control: "boolean";
|
|
62
|
+
description: string;
|
|
63
|
+
table: {
|
|
64
|
+
category: string;
|
|
65
|
+
type: {
|
|
66
|
+
summary: string;
|
|
67
|
+
};
|
|
68
|
+
defaultValue: {
|
|
69
|
+
summary: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
};
|
|
57
73
|
prevIcon: {
|
|
58
74
|
control: "object";
|
|
59
75
|
description: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ICalendarMonth } from '../../interfaces/components/Calendar';
|
|
2
|
-
declare const CalendarMonth: ({ prevIcon, nextIcon, state, setActiveTypeCalendar, onChangeMonth, type, hiddenHeader, }: ICalendarMonth) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const CalendarMonth: ({ prevIcon, nextIcon, state, setActiveTypeCalendar, onChangeMonth, type, hiddenHeader, variants, }: ICalendarMonth) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default CalendarMonth;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ICalendarRange } from '../../interfaces/components/Calendar';
|
|
2
|
-
declare const CalendarRange: (props: ICalendarRange) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const CalendarRange: ({ variants, ...props }: ICalendarRange) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default CalendarRange;
|
|
@@ -2,5 +2,5 @@ import { ICalendarYear } from '../../interfaces/components/Calendar';
|
|
|
2
2
|
export declare const ChevronDownIcon: ({ className }: {
|
|
3
3
|
className?: string;
|
|
4
4
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare const CalendarYear: ({ title, state, type, setUpYear, hiddenHeader, setActiveTypeCalendar, onChangeYear, }: ICalendarYear) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare const CalendarYear: ({ title, state, type, setUpYear, hiddenHeader, setActiveTypeCalendar, onChangeYear, variants, }: ICalendarYear) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export default CalendarYear;
|
|
@@ -47,6 +47,34 @@ declare const meta: {
|
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
|
+
locale: {
|
|
51
|
+
control: "select";
|
|
52
|
+
options: string[];
|
|
53
|
+
description: string;
|
|
54
|
+
table: {
|
|
55
|
+
category: string;
|
|
56
|
+
type: {
|
|
57
|
+
summary: string;
|
|
58
|
+
};
|
|
59
|
+
defaultValue: {
|
|
60
|
+
summary: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
variants: {
|
|
65
|
+
control: "select";
|
|
66
|
+
options: string[];
|
|
67
|
+
description: string;
|
|
68
|
+
table: {
|
|
69
|
+
category: string;
|
|
70
|
+
type: {
|
|
71
|
+
summary: string;
|
|
72
|
+
};
|
|
73
|
+
defaultValue: {
|
|
74
|
+
summary: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
50
78
|
className: {
|
|
51
79
|
control: "text";
|
|
52
80
|
description: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IFilterDate } from '../../interfaces/components/DatePicker';
|
|
2
|
-
declare const FilterDate: ({ value, prevIcon, nextIcon, buttonReset, buttonSubmit, className, classNameButton, buttonClick, buttonList, typePicker, onChange, idPopover, id, floatingOptions, offsetPopover, zIndexPopper, defaultValueLabel, isCustomTime, mountedExecuteChange, formatingDate, }: IFilterDate) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const FilterDate: ({ value, prevIcon, nextIcon, buttonReset, buttonSubmit, className, classNameButton, buttonClick, buttonList, typePicker, onChange, idPopover, id, floatingOptions, offsetPopover, zIndexPopper, defaultValueLabel, isCustomTime, mountedExecuteChange, formatingDate, variants, locale, }: IFilterDate) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default FilterDate;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: ({ value, prevIcon, nextIcon, buttonReset, buttonSubmit, className, classNameButton, buttonClick, buttonList, typePicker, onChange, idPopover, id, floatingOptions, offsetPopover, zIndexPopper, defaultValueLabel, isCustomTime, mountedExecuteChange, formatingDate, }: import('../../interfaces/components/DatePicker').IFilterDate) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
component: ({ value, prevIcon, nextIcon, buttonReset, buttonSubmit, className, classNameButton, buttonClick, buttonList, typePicker, onChange, idPopover, id, floatingOptions, offsetPopover, zIndexPopper, defaultValueLabel, isCustomTime, mountedExecuteChange, formatingDate, variants, locale, }: import('../../interfaces/components/DatePicker').IFilterDate) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
parameters: {
|
|
6
6
|
layout: string;
|
|
7
7
|
};
|
|
@@ -103,6 +103,34 @@ declare const meta: {
|
|
|
103
103
|
};
|
|
104
104
|
};
|
|
105
105
|
};
|
|
106
|
+
locale: {
|
|
107
|
+
control: "select";
|
|
108
|
+
options: string[];
|
|
109
|
+
description: string;
|
|
110
|
+
table: {
|
|
111
|
+
category: string;
|
|
112
|
+
type: {
|
|
113
|
+
summary: string;
|
|
114
|
+
};
|
|
115
|
+
defaultValue: {
|
|
116
|
+
summary: string;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
variants: {
|
|
121
|
+
control: "select";
|
|
122
|
+
options: string[];
|
|
123
|
+
description: string;
|
|
124
|
+
table: {
|
|
125
|
+
category: string;
|
|
126
|
+
type: {
|
|
127
|
+
summary: string;
|
|
128
|
+
};
|
|
129
|
+
defaultValue: {
|
|
130
|
+
summary: string;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
};
|
|
106
134
|
className: {
|
|
107
135
|
control: "text";
|
|
108
136
|
description: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IMonthYearPicker } from '../../interfaces/components/DatePicker';
|
|
2
|
-
declare const MonthYearPicker: ({ month, year, type, activeType, minDate, maxDate, className, classNameButton, onChange, buttonClick, id, idPopover, floatingOptions, offsetPopover, zIndexPopper, hiddenHeader, }: IMonthYearPicker) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const MonthYearPicker: ({ month, year, type, activeType, minDate, maxDate, className, classNameButton, onChange, buttonClick, id, idPopover, floatingOptions, offsetPopover, zIndexPopper, hiddenHeader, variants, locale, }: IMonthYearPicker) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default MonthYearPicker;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: ({ month, year, type, activeType, minDate, maxDate, className, classNameButton, onChange, buttonClick, id, idPopover, floatingOptions, offsetPopover, zIndexPopper, hiddenHeader, }: import('../../interfaces/components/DatePicker').IMonthYearPicker) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
component: ({ month, year, type, activeType, minDate, maxDate, className, classNameButton, onChange, buttonClick, id, idPopover, floatingOptions, offsetPopover, zIndexPopper, hiddenHeader, variants, locale, }: import('../../interfaces/components/DatePicker').IMonthYearPicker) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
parameters: {
|
|
6
6
|
layout: string;
|
|
7
7
|
};
|
|
@@ -53,6 +53,20 @@ declare const meta: {
|
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
|
+
locale: {
|
|
57
|
+
control: "select";
|
|
58
|
+
options: string[];
|
|
59
|
+
description: string;
|
|
60
|
+
table: {
|
|
61
|
+
category: string;
|
|
62
|
+
type: {
|
|
63
|
+
summary: string;
|
|
64
|
+
};
|
|
65
|
+
defaultValue: {
|
|
66
|
+
summary: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
};
|
|
56
70
|
buttonClick: {
|
|
57
71
|
control: "object";
|
|
58
72
|
description: string;
|
|
@@ -63,6 +77,20 @@ declare const meta: {
|
|
|
63
77
|
};
|
|
64
78
|
};
|
|
65
79
|
};
|
|
80
|
+
variants: {
|
|
81
|
+
control: "select";
|
|
82
|
+
options: string[];
|
|
83
|
+
description: string;
|
|
84
|
+
table: {
|
|
85
|
+
category: string;
|
|
86
|
+
type: {
|
|
87
|
+
summary: string;
|
|
88
|
+
};
|
|
89
|
+
defaultValue: {
|
|
90
|
+
summary: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
};
|
|
66
94
|
className: {
|
|
67
95
|
control: "text";
|
|
68
96
|
description: string;
|
|
@@ -3,6 +3,10 @@ export declare const configInputInnerLabel: {
|
|
|
3
3
|
large: string;
|
|
4
4
|
small: string;
|
|
5
5
|
};
|
|
6
|
-
variant: {
|
|
6
|
+
variant: {
|
|
7
|
+
'bill-blue-800': string;
|
|
8
|
+
'fin-black': string;
|
|
9
|
+
};
|
|
7
10
|
};
|
|
8
11
|
export declare const keysConfigInputInnerLabelSize: string[];
|
|
12
|
+
export declare const keysConfigInputInnerLabelVariant: string[];
|
|
@@ -53,6 +53,22 @@ declare const meta: {
|
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
|
+
variant: {
|
|
57
|
+
control: {
|
|
58
|
+
type: "select";
|
|
59
|
+
};
|
|
60
|
+
options: string[];
|
|
61
|
+
description: string;
|
|
62
|
+
table: {
|
|
63
|
+
category: string;
|
|
64
|
+
type: {
|
|
65
|
+
summary: string;
|
|
66
|
+
};
|
|
67
|
+
defaultValue: {
|
|
68
|
+
summary: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
};
|
|
56
72
|
className: {
|
|
57
73
|
control: "text";
|
|
58
74
|
description: string;
|
|
@@ -11,6 +11,8 @@ export declare const configItemSidebar: {
|
|
|
11
11
|
'lpd-brand-base-transparent-responsive': string;
|
|
12
12
|
'bill-brand-base': string;
|
|
13
13
|
'bill-brand-base-responsive': string;
|
|
14
|
+
'fin-base': string;
|
|
15
|
+
'fin-base-responsive': string;
|
|
14
16
|
};
|
|
15
17
|
parent: {
|
|
16
18
|
'1': string;
|
|
@@ -34,5 +36,7 @@ export declare const configItemSidebar: {
|
|
|
34
36
|
'lpd-brand-base-transparent-responsive': string;
|
|
35
37
|
'bill-brand-base': string;
|
|
36
38
|
'bill-brand-base-responsive': string;
|
|
39
|
+
'fin-base': string;
|
|
40
|
+
'fin-base-responsive': string;
|
|
37
41
|
};
|
|
38
42
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const fontResource = "https://unpkg.com/1mpacto-web-resources@1.0.
|
|
2
|
-
export declare const tinymceResource = "https://unpkg.com/1mpacto-web-resources@1.0.
|
|
1
|
+
export declare const fontResource = "https://unpkg.com/1mpacto-web-resources@1.0.2/fonts";
|
|
2
|
+
export declare const tinymceResource = "https://unpkg.com/1mpacto-web-resources@1.0.2/tinymce_8.2.1";
|
|
@@ -2,6 +2,7 @@ export type ITypography = Record<string, [string, Record<string, string | number
|
|
|
2
2
|
export declare const configTypographyPayhere: ITypography;
|
|
3
3
|
export declare const configTypographyLabaBisnis: ITypography;
|
|
4
4
|
export declare const configTypographyBillId: ITypography;
|
|
5
|
+
export declare const configTypographyFinAgent: ITypography;
|
|
5
6
|
declare const _default: {
|
|
6
7
|
[x: string]: [string, Record<string, string | number>];
|
|
7
8
|
};
|
|
@@ -3,7 +3,7 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
* [ID] : Tipe varian tombol yang tersedia.
|
|
4
4
|
* [EN] : Available button variant types.
|
|
5
5
|
*/
|
|
6
|
-
export type TButtonVariants = 'primary-laba-blue-10' | 'primary-red-700-dsb_laba-grey-06' | 'primary-green-700-dsb_laba-grey-06' | 'ghost-laba-blue-10' | 'ghost-red-700' | 'ghost-green-700' | 'ghost-blue-gray-100-bg_white' | 'ghost-laba-green-10' | 'ghost-blue-gray-100-bg_white-text_blue-gray-400' | 'ghost-laba-blue-05' | 'nude-laba-blue-10' | 'nude-red-700' | 'nude-green-700' | 'nude-gray-500' | 'nude-laba-red-10' | 'nude-laba-red-08' | 'nude-laba-red-05' | 'primary-blue-700' | 'primary-red-700' | 'secondary-blue-700' | 'secondary-red-600' | 'secondary-green-600' | 'tertiary-blue-700' | 'tertiary-red-300' | 'tertiary-red-600' | 'tertiary-gray-500' | 'ghost-laba-blue-01' | 'filled-laba-white_laba-blue-10' | 'filled-laba-white_laba-red-05' | 'secondary-red-700' | 'tertiary-black' | 'primary-bill-primary-600' | 'secondary-bill-secondary-800' | 'tertiary-bill-secondary-800' | 'primary-bill-red-700' | 'filled-bill-blue-gray-500_bg-blue-gray-50' | 'filled-bill-secondary-800_bg-white' | 'primary-blue-gray-900-dsb_laba-grey-06' | 'filled-blue-gray-900';
|
|
6
|
+
export type TButtonVariants = 'primary-laba-blue-10' | 'primary-red-700-dsb_laba-grey-06' | 'primary-green-700-dsb_laba-grey-06' | 'ghost-laba-blue-10' | 'ghost-red-700' | 'ghost-green-700' | 'ghost-blue-gray-100-bg_white' | 'ghost-laba-green-10' | 'ghost-blue-gray-100-bg_white-text_blue-gray-400' | 'ghost-laba-blue-05' | 'nude-laba-blue-10' | 'nude-red-700' | 'nude-green-700' | 'nude-gray-500' | 'nude-laba-red-10' | 'nude-laba-red-08' | 'nude-laba-red-05' | 'primary-blue-700' | 'primary-red-700' | 'secondary-blue-700' | 'secondary-red-600' | 'secondary-green-600' | 'tertiary-blue-700' | 'tertiary-red-300' | 'tertiary-red-600' | 'tertiary-gray-500' | 'ghost-laba-blue-01' | 'filled-laba-white_laba-blue-10' | 'filled-laba-white_laba-red-05' | 'secondary-red-700' | 'tertiary-black' | 'primary-bill-primary-600' | 'secondary-bill-secondary-800' | 'tertiary-bill-secondary-800' | 'primary-bill-red-700' | 'filled-bill-blue-gray-500_bg-blue-gray-50' | 'filled-bill-secondary-800_bg-white' | 'primary-blue-gray-900-dsb_laba-grey-06' | 'filled-blue-gray-900' | 'primary-fin-primary-500' | 'secondary-fin-primary-500' | 'tertiary-fin-primary-500';
|
|
7
7
|
/**
|
|
8
8
|
* [ID] : Tipe ukuran tombol.
|
|
9
9
|
* [EN] : Button size type.
|