@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 ADDED
@@ -0,0 +1,7 @@
1
+ {
2
+ "presets": [
3
+ "@babel/preset-env",
4
+ "@babel/preset-react",
5
+ "@babel/preset-typescript"
6
+ ]
7
+ }
@@ -0,0 +1,10 @@
1
+ root = true
2
+
3
+ [*]
4
+ end_of_line = lf
5
+ insert_final_newline = true
6
+
7
+ [*.{js,json,yml}]
8
+ charset = utf-8
9
+ indent_style = space
10
+ indent_size = 2
@@ -0,0 +1,6 @@
1
+ dist
2
+ .cache
3
+ package-lock.json
4
+ public
5
+ node_modules
6
+ yarn.lock
@@ -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
+ }
@@ -0,0 +1,4 @@
1
+ /.yarn/** linguist-vendored
2
+ /.yarn/releases/* binary
3
+ /.yarn/plugins/**/* binary
4
+ /.pnp.* binary linguist-generated
@@ -0,0 +1,4 @@
1
+ {
2
+ "singleQuote": true,
3
+ "semi": false
4
+ }
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, EmptyData, ExcelIcon, ExportIcon, EyeClosedIcon, EyeIcon, FilterIcon, GoogleIcon, GroupByIcon, KanbanIcon, ListIcon, LoadingIcon, MoreIcon, PaidIcon, PdfIcon, PlaceHolderIcon, PlayIcon, ResetIcon, SearchIcon, SettingIcon, StarIcon, TriangleIcon, UnArchiveIcon, VectorIcon, ZipIcon };
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, EmptyData, ExcelIcon, ExportIcon, EyeClosedIcon, EyeIcon, FilterIcon, GoogleIcon, GroupByIcon, KanbanIcon, ListIcon, LoadingIcon, MoreIcon, PaidIcon, PdfIcon, PlaceHolderIcon, PlayIcon, ResetIcon, SearchIcon, SettingIcon, StarIcon, TriangleIcon, UnArchiveIcon, VectorIcon, ZipIcon };
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 };