1mpacto-react-ui 2.0.3 → 2.0.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.
Files changed (61) hide show
  1. package/dist/assets/_mixins.scss +43 -43
  2. package/dist/assets/core.css +1 -1
  3. package/dist/assets/fontfamily.css +1 -1
  4. package/dist/assets/icons/arrow-narrow-down.svg +3 -3
  5. package/dist/assets/style.css +1 -1
  6. package/dist/index.cjs +118 -117
  7. package/dist/index.mjs +9839 -9766
  8. package/dist/package.json.d.ts +132 -133
  9. package/dist/src/components/ButtonIcon/ButtonIcon.config.d.ts +14 -0
  10. package/dist/src/components/Pagination/Pagination.config.d.ts +18 -2
  11. package/dist/src/components/Pagination/Pagination.d.ts +1 -1
  12. package/dist/src/components/Pagination/Pagination.stories.d.ts +14 -1
  13. package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.config.d.ts +1 -0
  14. package/dist/src/components/Upload/UploadMultipleFile.d.ts +1 -1
  15. package/dist/src/components/Upload/UploadMultipleFile.stories.d.ts +1 -1
  16. package/dist/src/interfaces/components/ButtonIcon/index.d.ts +2 -2
  17. package/dist/src/interfaces/components/Checkbox/index.d.ts +2 -7
  18. package/dist/src/interfaces/components/Pagination/index.d.ts +6 -0
  19. package/dist/src/interfaces/components/RadioCheckbox/RadioCheckboxLabel.d.ts +1 -1
  20. package/dist/src/interfaces/components/Table/index.d.ts +8 -1
  21. package/dist/src/interfaces/components/UploadFile/index.d.ts +8 -2
  22. package/dist/tinymce/CHANGELOG.md +3910 -3910
  23. package/dist/tinymce/js/tinymce/notices.txt +21 -21
  24. package/dist/tinymce/js/tinymce/plugins/codesample/plugin.min.js +8 -8
  25. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/bg-BG.js +92 -92
  26. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/fr-FR.js +92 -92
  27. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/he-IL.js +92 -92
  28. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/hu-HU.js +92 -92
  29. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ko-KR.js +92 -92
  30. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/nb-NO.js +92 -92
  31. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/pt-BR.js +92 -92
  32. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/pt-PT.js +92 -92
  33. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/sl-SI.js +92 -92
  34. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/sv-SE.js +92 -92
  35. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/th-TH.js +92 -92
  36. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/zh-CN.js +86 -86
  37. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/zh-TW.js +92 -92
  38. package/dist/tinymce/js/tinymce/skins/ui/oxide/content.inline.js +9 -9
  39. package/dist/tinymce/js/tinymce/skins/ui/oxide/content.inline.min.css +10 -10
  40. package/dist/tinymce/js/tinymce/skins/ui/oxide/content.js +9 -9
  41. package/dist/tinymce/js/tinymce/skins/ui/oxide/content.min.css +10 -10
  42. package/dist/tinymce/js/tinymce/skins/ui/oxide/skin.min.css +1 -1
  43. package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/content.inline.js +9 -9
  44. package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/content.inline.min.css +10 -10
  45. package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/content.js +9 -9
  46. package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/content.min.css +10 -10
  47. package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/skin.min.css +1 -1
  48. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/content.inline.js +9 -9
  49. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/content.inline.min.css +10 -10
  50. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/content.js +9 -9
  51. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/content.min.css +10 -10
  52. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/skin.min.css +1 -1
  53. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/content.inline.js +9 -9
  54. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +10 -10
  55. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/content.js +9 -9
  56. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/content.min.css +10 -10
  57. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -1
  58. package/dist/tinymce/js/tinymce/tinymce.d.ts +3399 -3399
  59. package/dist/tinymce/js/tinymce/tinymce.min.js +9 -9
  60. package/dist/types-external/table.d.ts +15 -15
  61. package/package.json +132 -132
@@ -1,135 +1,134 @@
1
- declare const _default: {
2
- "name": "1mpacto-react-ui",
3
- "private": false,
4
- "version": "2.0.3",
5
- "type": "module",
6
- "engines": {
7
- "node": ">=20.19.4",
8
- "npm": ">=10.8.2"
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 -r ./src/utils/register-ts-node.js ./src/utils/generate-file-style.js",
15
- "postProcess:fontfamily": "node ./src/utils/post-process-css.js",
16
- "process:transformStyle": "npm run postProcess:fontfamily && npm run transform:style",
17
- "process:copyStyle": "npm run copy:mixin-scss && npm run copy:toastify-css",
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": "tailwindcss -i ./src/styles/index.scss -o ./dist/assets/core.css --minify",
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": "^3.9.0",
47
- "autoprefixer": "^10.4.19",
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
- "postcss": "^8.5.2",
61
- "prettier": "^3.7.4",
62
- "react": "^19.1.1",
63
- "react-dom": "^19.1.1",
64
- "sass": "^1.94.2",
65
- "storybook": "^10.1.4",
66
- "tailwindcss": "^3.4.4",
67
- "ts-node": "^10.9.2",
68
- "typescript": "~5.9.3",
69
- "vite": "^6.3.5",
70
- "vite-plugin-dts": "^4.5.4"
71
- },
72
- "peerDependencies": {
73
- "react": ">= 19",
74
- "react-dom": ">=19",
75
- "yup": ">=1.4.0"
76
- },
77
- "main": "./dist/index.cjs",
78
- "module": "./dist/index.mjs",
79
- "types": "./dist/index.d.ts",
80
- "exports": {
81
- ".": {
82
- "types": "./dist/index.d.ts",
83
- "import": "./dist/index.mjs",
84
- "require": "./dist/index.cjs"
85
- },
86
- "./dist/assets/toast.css": "./dist/assets/toast.css",
87
- "./dist/assets/core.css": "./dist/assets/core.css",
88
- "./dist/assets/style.css": "./dist/assets/style.css",
89
- "./dist/assets/colors.css": "./dist/assets/colors.css",
90
- "./dist/assets/_colors.scss": "./dist/assets/_colors.scss",
91
- "./dist/assets/typography.css": "./dist/assets/typography.css",
92
- "./dist/assets/_typography.scss": "./dist/assets/_typography.scss",
93
- "./dist/assets/screen.css": "./dist/assets/screen.css",
94
- "./dist/assets/_screen.scss": "./dist/assets/_screen.scss",
95
- "./dist/assets/_mixins.scss": "./dist/assets/_mixins.scss"
96
- },
97
- "files": [
98
- "/dist"
99
- ],
100
- "publishConfig": {
101
- "access": "public"
102
- },
103
- "lint-staged": {
104
- "*.{js,jsx,ts,tsx}": [
105
- "eslint --quiet --fix"
106
- ],
107
- "*.{json,js,ts,jsx,tsx,html}": [
108
- "prettier --write --ignore-unknown"
109
- ]
110
- },
111
- "dependencies": {
112
- "@floating-ui/react": "^0.27.16",
113
- "@internationalized/date": "^3.10.0",
114
- "@tanstack/react-table": "^8.21.3",
115
- "@tinymce/tinymce-react": "^6.3.0",
116
- "bignumber.js": "^9.3.1",
117
- "chart.js": "^4.5.1",
118
- "copyfiles": "^2.4.1",
119
- "date-fns": "^4.1.0",
120
- "js-cookie": "^3.0.5",
121
- "lossless-json": "^4.3.0",
122
- "node-forge": "^1.3.2",
123
- "react-aria": "^3.44.0",
124
- "react-chartjs-2": "^5.3.1",
125
- "react-number-format": "^5.4.4",
126
- "react-select": "^5.10.2",
127
- "react-stately": "^3.42.0",
128
- "react-toastify": "^11.0.5",
129
- "react-virtuoso": "^4.16.1",
130
- "tinymce": "^8.2.2"
131
- }
132
- }
133
- ;
1
+ declare const _default: {
2
+ "name": "1mpacto-react-ui",
3
+ "private": false,
4
+ "version": "2.0.5",
5
+ "type": "module",
6
+ "engines": {
7
+ "node": ">=20.19.4",
8
+ "npm": ">=10.8.2"
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 -r ./src/utils/register-ts-node.js ./src/utils/generate-file-style.js",
15
+ "postProcess:fontfamily": "node ./src/utils/post-process-css.js",
16
+ "process:transformStyle": "npm run postProcess:fontfamily && npm run transform:style",
17
+ "process:copyStyle": "npm run copy:mixin-scss && npm run copy:toastify-css",
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": "tailwindcss -i ./src/styles/index.scss -o ./dist/assets/core.css --minify",
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": "^3.9.0",
47
+ "autoprefixer": "^10.4.19",
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
+ "postcss": "^8.5.2",
61
+ "prettier": "^3.7.4",
62
+ "react": "^19.1.1",
63
+ "react-dom": "^19.1.1",
64
+ "sass": "^1.94.2",
65
+ "storybook": "^10.1.4",
66
+ "tailwindcss": "^3.4.4",
67
+ "ts-node": "^10.9.2",
68
+ "typescript": "~5.9.3",
69
+ "vite": "^6.3.5",
70
+ "vite-plugin-dts": "^4.5.4"
71
+ },
72
+ "peerDependencies": {
73
+ "react": ">= 19",
74
+ "react-dom": ">=19",
75
+ "yup": ">=1.4.0"
76
+ },
77
+ "main": "./dist/index.cjs",
78
+ "module": "./dist/index.mjs",
79
+ "types": "./dist/index.d.ts",
80
+ "exports": {
81
+ ".": {
82
+ "types": "./dist/index.d.ts",
83
+ "import": "./dist/index.mjs",
84
+ "require": "./dist/index.cjs"
85
+ },
86
+ "./dist/assets/toast.css": "./dist/assets/toast.css",
87
+ "./dist/assets/core.css": "./dist/assets/core.css",
88
+ "./dist/assets/style.css": "./dist/assets/style.css",
89
+ "./dist/assets/colors.css": "./dist/assets/colors.css",
90
+ "./dist/assets/_colors.scss": "./dist/assets/_colors.scss",
91
+ "./dist/assets/typography.css": "./dist/assets/typography.css",
92
+ "./dist/assets/_typography.scss": "./dist/assets/_typography.scss",
93
+ "./dist/assets/screen.css": "./dist/assets/screen.css",
94
+ "./dist/assets/_screen.scss": "./dist/assets/_screen.scss",
95
+ "./dist/assets/_mixins.scss": "./dist/assets/_mixins.scss"
96
+ },
97
+ "files": [
98
+ "/dist"
99
+ ],
100
+ "publishConfig": {
101
+ "access": "public"
102
+ },
103
+ "lint-staged": {
104
+ "*.{js,jsx,ts,tsx}": [
105
+ "eslint --quiet --fix"
106
+ ],
107
+ "*.{json,js,ts,jsx,tsx,html}": [
108
+ "prettier --write --ignore-unknown"
109
+ ]
110
+ },
111
+ "dependencies": {
112
+ "@floating-ui/react": "^0.27.16",
113
+ "@internationalized/date": "^3.10.0",
114
+ "@tanstack/react-table": "^8.21.3",
115
+ "@tinymce/tinymce-react": "^6.3.0",
116
+ "bignumber.js": "^9.3.1",
117
+ "chart.js": "^4.5.1",
118
+ "copyfiles": "^2.4.1",
119
+ "date-fns": "^4.1.0",
120
+ "js-cookie": "^3.0.5",
121
+ "lossless-json": "^4.3.0",
122
+ "node-forge": "^1.3.2",
123
+ "react-aria": "^3.44.0",
124
+ "react-chartjs-2": "^5.3.1",
125
+ "react-number-format": "^5.4.4",
126
+ "react-select": "^5.10.2",
127
+ "react-stately": "^3.42.0",
128
+ "react-toastify": "^11.0.5",
129
+ "react-virtuoso": "^4.16.1",
130
+ "tinymce": "^8.2.2"
131
+ }
132
+ };
134
133
 
135
134
  export default _default;
@@ -8,6 +8,11 @@ export declare const configButton: {
8
8
  m: string;
9
9
  s: string;
10
10
  xs: string;
11
+ 'bill-l': string;
12
+ 'bill-m': string;
13
+ 'bill-s': string;
14
+ 'bill-xs': string;
15
+ 'bill-xxs': string;
11
16
  };
12
17
  loadingSize: {
13
18
  large: string;
@@ -18,6 +23,11 @@ export declare const configButton: {
18
23
  m: string;
19
24
  s: string;
20
25
  xs: string;
26
+ 'bill-l': string;
27
+ 'bill-m': string;
28
+ 'bill-s': string;
29
+ 'bill-xs': string;
30
+ 'bill-xxs': string;
21
31
  };
22
32
  variants: {
23
33
  'primary-laba-blue-10': string;
@@ -46,6 +56,10 @@ export declare const configButton: {
46
56
  'nude-laba-red-05': string;
47
57
  'primary-red-700': string;
48
58
  'secondary-red-700': string;
59
+ 'primary-bill-primary-600': string;
60
+ 'secondary-bill-secondary-800': string;
61
+ 'tertiary-bill-secondary-800': string;
62
+ 'primary-bill-red-700': string;
49
63
  };
50
64
  };
51
65
  export declare const keysConfigButtonVariant: string[];
@@ -1,5 +1,21 @@
1
1
  export declare const configPagination: {
2
- box: string;
3
- nude: string;
2
+ kind: {
3
+ box: string;
4
+ nude: string;
5
+ };
6
+ fonts: {
7
+ inter: {
8
+ value: string;
9
+ typographyButtonLabel: string;
10
+ };
11
+ lato: {
12
+ value: string;
13
+ typographyButtonLabel: string;
14
+ };
15
+ pJakartaSans: {
16
+ value: string;
17
+ typographyButtonLabel: string;
18
+ };
19
+ };
4
20
  };
5
21
  export declare const keysConfigPaginationKind: string[];
@@ -1,3 +1,3 @@
1
1
  import { IPaginationProps } from '../../interfaces/components/Pagination';
2
- declare const Pagination: ({ totalData, totalPage, pageNumber, pageSize, className, id, kind, prevIcon, nextIcon, onChange, optionPageSize, offset, zIndex, withGotoPage, withMorePage, withOptionPageSize, locale, }: IPaginationProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const Pagination: ({ totalData, totalPage, pageNumber, pageSize, className, id, kind, prevIcon, nextIcon, onChange, optionPageSize, offset, zIndex, withGotoPage, withMorePage, withOptionPageSize, locale, fonts, }: IPaginationProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default Pagination;
@@ -1,7 +1,7 @@
1
1
  import { StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
3
  title: string;
4
- component: ({ totalData, totalPage, pageNumber, pageSize, className, id, kind, prevIcon, nextIcon, onChange, optionPageSize, offset, zIndex, withGotoPage, withMorePage, withOptionPageSize, locale, }: import('../../interfaces/components/Pagination').IPaginationProps) => import("react/jsx-runtime").JSX.Element;
4
+ component: ({ totalData, totalPage, pageNumber, pageSize, className, id, kind, prevIcon, nextIcon, onChange, optionPageSize, offset, zIndex, withGotoPage, withMorePage, withOptionPageSize, locale, fonts, }: import('../../interfaces/components/Pagination').IPaginationProps) => import("react/jsx-runtime").JSX.Element;
5
5
  parameters: {
6
6
  layout: string;
7
7
  };
@@ -77,6 +77,19 @@ declare const meta: {
77
77
  };
78
78
  };
79
79
  };
80
+ fonts: {
81
+ control: {
82
+ type: "select";
83
+ };
84
+ options: string[];
85
+ description: string;
86
+ table: {
87
+ category: string;
88
+ type: {
89
+ summary: string;
90
+ };
91
+ };
92
+ };
80
93
  className: {
81
94
  control: "text";
82
95
  description: string;
@@ -20,6 +20,7 @@ export declare const configRadioCheckboxLabel: {
20
20
  variants: {
21
21
  'laba-blue-01': string;
22
22
  'blue-50': string;
23
+ 'bill-secondary-50': string;
23
24
  };
24
25
  };
25
26
  export declare const keysConfigRadioCheckboxLabelVariant: string[];
@@ -1,3 +1,3 @@
1
1
  import { IUploadMultipleFile } from '../../interfaces/components/UploadFile';
2
- declare const UploadMultipleFile: ({ value, validateFile, classNameContainer, classNameButton, textUpload, buttonProps, maxFile, maxSize, error, removeElement, onChange, handlerDownload, priorityError, eventError, locationRemoveElement, }: IUploadMultipleFile) => import("react/jsx-runtime").JSX.Element;
2
+ declare const UploadMultipleFile: ({ value, validateFile, classNameContainer, classNameButton, textUpload, buttonProps, maxFile, maxSize, error, removeElement, onChange, handlerDownload, priorityError, eventError, locationRemoveElement, idItemAttachment, }: IUploadMultipleFile) => import("react/jsx-runtime").JSX.Element;
3
3
  export default UploadMultipleFile;
@@ -1,7 +1,7 @@
1
1
  import { StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
3
  title: string;
4
- component: ({ value, validateFile, classNameContainer, classNameButton, textUpload, buttonProps, maxFile, maxSize, error, removeElement, onChange, handlerDownload, priorityError, eventError, locationRemoveElement, }: import('../../interfaces/components/UploadFile').IUploadMultipleFile) => import("react/jsx-runtime").JSX.Element;
4
+ component: ({ value, validateFile, classNameContainer, classNameButton, textUpload, buttonProps, maxFile, maxSize, error, removeElement, onChange, handlerDownload, priorityError, eventError, locationRemoveElement, idItemAttachment, }: import('../../interfaces/components/UploadFile').IUploadMultipleFile) => import("react/jsx-runtime").JSX.Element;
5
5
  parameters: {
6
6
  layout: string;
7
7
  };
@@ -3,12 +3,12 @@ import { ReactNode } from 'react';
3
3
  * [ID] : Tipe varian tombol ikon.
4
4
  * [EN] : Button icon variant types.
5
5
  */
6
- export type TButtonIcomVariants = 'primary-laba-blue-10' | 'primary-red-700-dsb_laba-grey-06' | 'primary-green-700' | 'filled-laba-white_laba-blue-10' | 'filled-laba-white_laba-red-05' | 'ghost-laba-blue-10' | 'ghost-red-700' | 'ghost-green-700' | 'ghost-blue-gray-100-bg_white' | 'ghost-laba-green-10' | 'nude-laba-blue-10' | 'nude-red-700' | 'nude-green-700' | 'nude-gray-500' | 'nude-laba-red-10' | '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' | 'secondary-red-700';
6
+ export type TButtonIcomVariants = 'primary-laba-blue-10' | 'primary-red-700-dsb_laba-grey-06' | 'primary-green-700' | 'filled-laba-white_laba-blue-10' | 'filled-laba-white_laba-red-05' | 'ghost-laba-blue-10' | 'ghost-red-700' | 'ghost-green-700' | 'ghost-blue-gray-100-bg_white' | 'ghost-laba-green-10' | 'nude-laba-blue-10' | 'nude-red-700' | 'nude-green-700' | 'nude-gray-500' | 'nude-laba-red-10' | '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' | 'secondary-red-700' | 'primary-bill-primary-600' | 'secondary-bill-secondary-800' | 'tertiary-bill-secondary-800' | 'primary-bill-red-700';
7
7
  /**
8
8
  * [ID] : Tipe ukuran tombol ikon.
9
9
  * [EN] : Button icon size type.
10
10
  */
11
- export type TButtonIconSize = 'large' | 'reguler' | 'small' | 'extra-small' | 'l' | 'm' | 's' | 'xs';
11
+ export type TButtonIconSize = 'large' | 'reguler' | 'small' | 'extra-small' | 'l' | 'm' | 's' | 'xs' | 'bill-l' | 'bill-m' | 'bill-s' | 'bill-xs' | 'bill-xxs';
12
12
  /**
13
13
  * [ID] : Interface untuk komponen ButtonIcon.
14
14
  * [EN] : Interface for ButtonIcon component.
@@ -1,17 +1,12 @@
1
- import { default as React } from 'react';
1
+ import { IRadioCheckbox } from '../RadioCheckbox/RadioCheckbox';
2
2
  /**
3
3
  * [ID] : Interface untuk komponen CheckboxTable.
4
4
  * [EN] : Interface for CheckboxTable component.
5
5
  */
6
- export interface ICheckboxTable extends React.HTMLProps<HTMLInputElement> {
6
+ export interface ICheckboxTable extends IRadioCheckbox {
7
7
  /**
8
8
  * [ID] : Menentukan status indeterminate (setengah dicentang) (opsional).
9
9
  * [EN] : Determines indeterminate status (half-checked) (optional).
10
10
  */
11
11
  indeterminate?: boolean;
12
- /**
13
- * [ID] : Nama kelas CSS untuk kontainer (opsional).
14
- * [EN] : CSS class name for container (optional).
15
- */
16
- classNameContainer?: string;
17
12
  }
@@ -1,6 +1,7 @@
1
1
  import { OffsetOptions } from '@floating-ui/react';
2
2
  import { ReactNode } from 'react';
3
3
  import { TKeyLocale } from '../Calendar';
4
+ import { TFont } from '../../../config/components/font';
4
5
  /**
5
6
  * [ID] : Tipe jenis pagination.
6
7
  * [EN] : Pagination kind type.
@@ -48,6 +49,11 @@ export interface IPaginationProps extends IPagination {
48
49
  * [EN] : Pagination kind (optional).
49
50
  */
50
51
  kind?: TKindPaginationType;
52
+ /**
53
+ * [ID] : Tipe font (opsional).
54
+ * [EN] : Font type (optional).
55
+ */
56
+ fonts?: TFont;
51
57
  /**
52
58
  * [ID] : Nama kelas CSS (opsional).
53
59
  * [EN] : CSS class name (optional).
@@ -42,7 +42,7 @@ export interface IRadioCheckboxLabel extends InputHTMLAttributes<HTMLInputElemen
42
42
  * [ID] : Varian gaya (opsional).
43
43
  * [EN] : Style variant (optional).
44
44
  */
45
- variants?: 'blue-50' | 'laba-blue-01';
45
+ variants?: 'blue-50' | 'laba-blue-01' | 'bill-secondary-50';
46
46
  /**
47
47
  * [ID] : Label input.
48
48
  * [EN] : Input label.
@@ -140,7 +140,7 @@ export interface ITable<T = unknown> {
140
140
  * [ID] : Jenis tabel (opsional).
141
141
  * [EN] : Table kind (optional).
142
142
  */
143
- kind?: 'laba-reguler' | 'payhere-reguler' | 'laba-small' | 'bill-reguler' | 'laba-rounded-md-extra-small';
143
+ kind?: 'laba-reguler' | 'payhere-reguler' | 'laba-small' | 'bill-reguler' | 'laba-rounded-md-extra-small' | 'laba-small_body-small';
144
144
  /**
145
145
  * [ID] : Varian tabel (opsional).
146
146
  * [EN] : Table variant (optional).
@@ -467,6 +467,7 @@ export interface ITableConfig {
467
467
  'laba-small': string;
468
468
  'bill-reguler': string;
469
469
  'laba-rounded-md-extra-small': string;
470
+ 'laba-small_body-small': string;
470
471
  };
471
472
  /**
472
473
  * [ID] : Konfigurasi sub-mobile.
@@ -478,6 +479,7 @@ export interface ITableConfig {
478
479
  'laba-small': string;
479
480
  'bill-reguler': string;
480
481
  'laba-rounded-md-extra-small': string;
482
+ 'laba-small_body-small': string;
481
483
  };
482
484
  /**
483
485
  * [ID] : Konfigurasi pointer.
@@ -489,6 +491,7 @@ export interface ITableConfig {
489
491
  'laba-small': string;
490
492
  'bill-reguler': string;
491
493
  'laba-rounded-md-extra-small': string;
494
+ 'laba-small_body-small': string;
492
495
  };
493
496
  /**
494
497
  * [ID] : Konfigurasi utilitas.
@@ -522,6 +525,10 @@ export interface ITableConfig {
522
525
  asc: Element | React.ReactNode | React.ReactNode[];
523
526
  desc: Element | React.ReactNode | React.ReactNode[];
524
527
  };
528
+ 'laba-small_body-small': {
529
+ asc: Element | React.ReactNode | React.ReactNode[];
530
+ desc: Element | React.ReactNode | React.ReactNode[];
531
+ };
525
532
  };
526
533
  /**
527
534
  * [ID] : Konfigurasi varian.
@@ -176,9 +176,10 @@ export interface IUploadMultipleFile {
176
176
  * [ID] : Fungsi render elemen hapus (opsional).
177
177
  * [EN] : Remove element render function (optional).
178
178
  * @param value - [ID] : Nilai file. [EN] : File value.
179
- * @returns [ID] : Node React. [EN] : React Node.
179
+ * @param index - [ID] : Indeks file dalam daftar. [EN] : Index of the file in the list.
180
+ * @returns [ID] : Node React atau array Node React. [EN] : React Node or array of React Nodes.
180
181
  */
181
- removeElement?: (value: IUploadMultipleFileValue) => React.ReactNode | React.ReactNode[];
182
+ removeElement?: (value: IUploadMultipleFileValue, index: number) => React.ReactNode | React.ReactNode[];
182
183
  /**
183
184
  * [ID] : Pesan error (opsional).
184
185
  * [EN] : Error message (optional).
@@ -206,6 +207,11 @@ export interface IUploadMultipleFile {
206
207
  * [EN] : Remove element location (optional).
207
208
  */
208
209
  locationRemoveElement?: 'left' | 'right';
210
+ /**
211
+ * [ID] : ID item attachment (opsional).
212
+ * [EN] : Item attachment ID (optional).
213
+ */
214
+ idItemAttachment?: string;
209
215
  }
210
216
  /**
211
217
  * [ID] : Interface untuk nilai UploadMultipleFile.