@fctc/sme-widget-ui 1.1.6 → 1.1.8
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/.babelrc +7 -0
- package/dist/.editorconfig +10 -0
- package/dist/.eslintignore +6 -0
- package/dist/.eslintrc.cjs +66 -0
- package/dist/.gitattributes +4 -0
- package/dist/.prettierrc +4 -0
- package/dist/icons.d.mts +1 -5
- package/dist/icons.d.ts +1 -5
- package/dist/icons.js +49 -259
- package/dist/icons.mjs +49 -258
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +962 -843
- package/dist/index.mjs +859 -740
- package/dist/widgets.d.mts +5 -1
- package/dist/widgets.d.ts +5 -1
- package/dist/widgets.js +951 -830
- package/dist/widgets.mjs +848 -728
- package/package.json +1 -1
package/dist/.babelrc
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
root: true,
|
|
3
|
+
env: { browser: true, es2020: true },
|
|
4
|
+
extends: [
|
|
5
|
+
'eslint:recommended',
|
|
6
|
+
'plugin:@typescript-eslint/recommended',
|
|
7
|
+
'plugin:prettier/recommended',
|
|
8
|
+
],
|
|
9
|
+
ignorePatterns: ['dist', '.eslintrc.cjs', 'commitlint.config.cjs'],
|
|
10
|
+
parser: '@typescript-eslint/parser',
|
|
11
|
+
overrides: [
|
|
12
|
+
{
|
|
13
|
+
files: ['**/*.ts', '**/*.tsx', '**/*.js', '**/*.jsx', '**/*.cjs'],
|
|
14
|
+
plugins: [
|
|
15
|
+
'@typescript-eslint',
|
|
16
|
+
'unused-imports',
|
|
17
|
+
'simple-import-sort',
|
|
18
|
+
'react-refresh',
|
|
19
|
+
],
|
|
20
|
+
rules: {
|
|
21
|
+
'react-refresh/only-export-components': [
|
|
22
|
+
'warn',
|
|
23
|
+
{ allowConstantExport: true },
|
|
24
|
+
],
|
|
25
|
+
'import/prefer-default-export': 'off',
|
|
26
|
+
'simple-import-sort/imports': [
|
|
27
|
+
'error',
|
|
28
|
+
{
|
|
29
|
+
groups: [
|
|
30
|
+
// Packages `react` related packages come first.
|
|
31
|
+
['^react', '^@?\\w'],
|
|
32
|
+
// Internal packages.
|
|
33
|
+
['^(@|components)(/.*|$)'],
|
|
34
|
+
// Side effect imports.
|
|
35
|
+
['^\\u0000'],
|
|
36
|
+
// Parent imports. Put `..` last.
|
|
37
|
+
['^\\.\\.(?!/?$)', '^\\.\\./?$'],
|
|
38
|
+
// Other relative imports. Put same-folder imports and `.` last.
|
|
39
|
+
['^\\./(?=.*/)(?!/?$)', '^\\.(?!/?$)', '^\\./?$'],
|
|
40
|
+
// Style imports.
|
|
41
|
+
['^.+\\.?(css)$'],
|
|
42
|
+
],
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
'prettier/prettier': [
|
|
46
|
+
'error',
|
|
47
|
+
{
|
|
48
|
+
endOfLine: 'auto',
|
|
49
|
+
},
|
|
50
|
+
],
|
|
51
|
+
'react/react-in-jsx-scope': 'off',
|
|
52
|
+
'no-param-reassign': 'off',
|
|
53
|
+
'simple-import-sort/exports': 'error',
|
|
54
|
+
'@typescript-eslint/no-unused-vars': 'off',
|
|
55
|
+
'@typescript-eslint/no-non-null-assertion': 'off',
|
|
56
|
+
'@typescript-eslint/no-explicit-any': 'off',
|
|
57
|
+
'@typescript-eslint/ban-ts-comment': 'off',
|
|
58
|
+
'@typescript-eslint/ban-types': 'off',
|
|
59
|
+
'unused-imports/no-unused-imports': 'error',
|
|
60
|
+
'unused-imports/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
|
|
61
|
+
'no-plusplus': 'off',
|
|
62
|
+
'no-case-declarations': 'off',
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
}
|
package/dist/.prettierrc
ADDED
package/dist/icons.d.mts
CHANGED
|
@@ -75,10 +75,6 @@ declare const VectorIcon: () => JSX.Element;
|
|
|
75
75
|
|
|
76
76
|
declare const ZipIcon: () => JSX.Element;
|
|
77
77
|
|
|
78
|
-
declare const EmptyData: ({ className }: {
|
|
79
|
-
className?: string;
|
|
80
|
-
}) => JSX.Element;
|
|
81
|
-
|
|
82
78
|
declare const LoadingIcon: ({ width, height, ...props }: React.SVGProps<SVGSVGElement>) => JSX.Element;
|
|
83
79
|
|
|
84
80
|
declare const PaidIcon: () => JSX.Element;
|
|
@@ -89,4 +85,4 @@ declare const GoogleIcon: ({ width, height, ...props }: React.SVGProps<SVGSVGEle
|
|
|
89
85
|
|
|
90
86
|
declare const EyeClosedIcon: () => JSX.Element;
|
|
91
87
|
|
|
92
|
-
export { AddIcon, ArchiveIcon, ArrowDownIcon, ArrowRightIcon, AttachIcon, BackIcon, CalandarIcon, CheckIcon, ChevronBottomIcon, CloseIcon, CopyIcon, DeleteIcon, DownloadIcon,
|
|
88
|
+
export { AddIcon, ArchiveIcon, ArrowDownIcon, ArrowRightIcon, AttachIcon, BackIcon, CalandarIcon, CheckIcon, ChevronBottomIcon, CloseIcon, CopyIcon, DeleteIcon, DownloadIcon, ExcelIcon, ExportIcon, EyeClosedIcon, EyeIcon, FilterIcon, GoogleIcon, GroupByIcon, KanbanIcon, ListIcon, LoadingIcon, MoreIcon, PaidIcon, PdfIcon, PlaceHolderIcon, PlayIcon, ResetIcon, SearchIcon, SettingIcon, StarIcon, TriangleIcon, UnArchiveIcon, VectorIcon, ZipIcon };
|
package/dist/icons.d.ts
CHANGED
|
@@ -75,10 +75,6 @@ declare const VectorIcon: () => JSX.Element;
|
|
|
75
75
|
|
|
76
76
|
declare const ZipIcon: () => JSX.Element;
|
|
77
77
|
|
|
78
|
-
declare const EmptyData: ({ className }: {
|
|
79
|
-
className?: string;
|
|
80
|
-
}) => JSX.Element;
|
|
81
|
-
|
|
82
78
|
declare const LoadingIcon: ({ width, height, ...props }: React.SVGProps<SVGSVGElement>) => JSX.Element;
|
|
83
79
|
|
|
84
80
|
declare const PaidIcon: () => JSX.Element;
|
|
@@ -89,4 +85,4 @@ declare const GoogleIcon: ({ width, height, ...props }: React.SVGProps<SVGSVGEle
|
|
|
89
85
|
|
|
90
86
|
declare const EyeClosedIcon: () => JSX.Element;
|
|
91
87
|
|
|
92
|
-
export { AddIcon, ArchiveIcon, ArrowDownIcon, ArrowRightIcon, AttachIcon, BackIcon, CalandarIcon, CheckIcon, ChevronBottomIcon, CloseIcon, CopyIcon, DeleteIcon, DownloadIcon,
|
|
88
|
+
export { AddIcon, ArchiveIcon, ArrowDownIcon, ArrowRightIcon, AttachIcon, BackIcon, CalandarIcon, CheckIcon, ChevronBottomIcon, CloseIcon, CopyIcon, DeleteIcon, DownloadIcon, ExcelIcon, ExportIcon, EyeClosedIcon, EyeIcon, FilterIcon, GoogleIcon, GroupByIcon, KanbanIcon, ListIcon, LoadingIcon, MoreIcon, PaidIcon, PdfIcon, PlaceHolderIcon, PlayIcon, ResetIcon, SearchIcon, SettingIcon, StarIcon, TriangleIcon, UnArchiveIcon, VectorIcon, ZipIcon };
|