@layerfi/components 0.1.76 → 0.1.78
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/.eslintrc.js +41 -12
- package/.vscode/settings.json +14 -0
- package/LICENSE +33 -21
- package/dist/{index.js → cjs/index.cjs} +2818 -2150
- package/dist/esm/{index.js → index.mjs} +2863 -2191
- package/dist/{styles → esm/styles}/index.css +320 -37
- package/dist/index.css +7999 -0
- package/dist/index.d.ts +631 -347
- package/package.json +27 -16
- package/.prettierrc.json +0 -21
- package/dist/esm/index.js.map +0 -7
- package/dist/index.js.map +0 -7
- package/dist/styles/index.css.map +0 -7
package/.eslintrc.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/** @type {import("eslint").Linter.Config} */
|
|
1
2
|
module.exports = {
|
|
2
3
|
env: {
|
|
3
4
|
browser: true,
|
|
@@ -6,8 +7,9 @@ module.exports = {
|
|
|
6
7
|
},
|
|
7
8
|
extends: [
|
|
8
9
|
'eslint:recommended',
|
|
9
|
-
'plugin:react/recommended',
|
|
10
10
|
'plugin:@typescript-eslint/recommended',
|
|
11
|
+
'plugin:react/recommended',
|
|
12
|
+
'plugin:react-hooks/recommended',
|
|
11
13
|
],
|
|
12
14
|
ignorePatterns: ['build/*', 'dist/*', 'bin/*'],
|
|
13
15
|
parser: '@typescript-eslint/parser',
|
|
@@ -18,24 +20,46 @@ module.exports = {
|
|
|
18
20
|
ecmaVersion: 'latest',
|
|
19
21
|
sourceType: 'module',
|
|
20
22
|
},
|
|
21
|
-
plugins: ['
|
|
23
|
+
plugins: ['@typescript-eslint', '@stylistic', 'unused-imports'],
|
|
22
24
|
rules: {
|
|
23
|
-
'
|
|
24
|
-
|
|
25
|
-
'
|
|
26
|
-
'
|
|
27
|
-
|
|
28
|
-
'
|
|
29
|
-
|
|
30
|
-
'
|
|
31
|
-
|
|
32
|
-
'
|
|
25
|
+
'no-console': ['error', { allow: ['warn', 'error', 'debug'] }],
|
|
26
|
+
|
|
27
|
+
'@stylistic/quotes': ['error', 'single', { avoidEscape: false }],
|
|
28
|
+
'@stylistic/jsx-quotes': ['error', 'prefer-single'],
|
|
29
|
+
'@stylistic/semi': ['error', 'never'],
|
|
30
|
+
'@stylistic/eol-last': ['error', 'always'],
|
|
31
|
+
'@stylistic/indent': ['error', 2],
|
|
32
|
+
'@stylistic/operator-linebreak': [
|
|
33
|
+
'error',
|
|
34
|
+
'before',
|
|
35
|
+
{
|
|
36
|
+
overrides: {
|
|
37
|
+
'=': 'after',
|
|
38
|
+
},
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
'@stylistic/max-len': [
|
|
42
|
+
'error',
|
|
43
|
+
{
|
|
44
|
+
code: 100,
|
|
45
|
+
ignoreUrls: true,
|
|
46
|
+
ignoreStrings: true,
|
|
47
|
+
ignoreTemplateLiterals: true
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
|
|
51
|
+
'@typescript-eslint/no-unused-vars': 'off',
|
|
52
|
+
'unused-imports/no-unused-imports': 'error',
|
|
53
|
+
'unused-imports/no-unused-vars': [
|
|
54
|
+
'error',
|
|
33
55
|
{
|
|
34
56
|
argsIgnorePattern: '^_',
|
|
35
57
|
varsIgnorePattern: '^_',
|
|
36
58
|
caughtErrorsIgnorePattern: '^_',
|
|
37
59
|
},
|
|
38
60
|
],
|
|
61
|
+
|
|
62
|
+
'react/prop-types': 'off',
|
|
39
63
|
},
|
|
40
64
|
overrides: [
|
|
41
65
|
{
|
|
@@ -50,4 +74,9 @@ module.exports = {
|
|
|
50
74
|
},
|
|
51
75
|
},
|
|
52
76
|
],
|
|
77
|
+
settings: {
|
|
78
|
+
react: {
|
|
79
|
+
version: 'detect',
|
|
80
|
+
},
|
|
81
|
+
},
|
|
53
82
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"files.exclude": {
|
|
3
|
+
"**/.git": true,
|
|
4
|
+
},
|
|
5
|
+
"files.watcherExclude": {
|
|
6
|
+
"**/dist/**": true,
|
|
7
|
+
"**/node_modules/**": true,
|
|
8
|
+
},
|
|
9
|
+
"editor.codeActionsOnSave": {
|
|
10
|
+
"source.fixAll": "explicit",
|
|
11
|
+
},
|
|
12
|
+
"typescript.preferences.quoteStyle": "single",
|
|
13
|
+
"typescript.tsdk": "node_modules/typescript/lib",
|
|
14
|
+
}
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Copyright (c)
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
Proprietary Software License Agreement
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 Layer Financial
|
|
4
|
+
|
|
5
|
+
1. Authorized Use:
|
|
6
|
+
This Software may only be used by individuals or organizations who have obtained a valid license from Layer Financial. Unauthorized use, copying, distribution, or modification is strictly prohibited and will be prosecuted to the fullest extent of the law.
|
|
7
|
+
|
|
8
|
+
2. Grant of License:
|
|
9
|
+
Subject to the terms of this Agreement and any applicable Master Services Agreement (“MSA”) between the Licensee and Layer Financial, Layer Financial grants the Licensee a non-exclusive, non-transferable, limited license to use the Software solely for the purposes of serving their clients as defined within the scope of the MSA.
|
|
10
|
+
|
|
11
|
+
3. Restrictions:
|
|
12
|
+
Licensee shall not:
|
|
13
|
+
|
|
14
|
+
1. Redistribute, sell, lease, or license the Software to any third party.
|
|
15
|
+
2. Assign, transfer, or sublicense this License or any of its rights hereunder to any third party without the prior written consent of Layer Financial.
|
|
16
|
+
|
|
17
|
+
4. Ownership:
|
|
18
|
+
The Software is licensed, not sold. Layer Financial retains all rights, title, and interest, including future updates and enhancements.
|
|
19
|
+
|
|
20
|
+
5. Updates:
|
|
21
|
+
Layer Financial is under no obligation to provide updates or upgrades. Future updates may be subject to additional terms or fees.
|
|
22
|
+
|
|
23
|
+
6. Termination:
|
|
24
|
+
This License will automatically terminate upon any breach of this Agreement by the Licensee. Upon termination, Licensee must cease all use and destroy all copies of the Software.
|
|
25
|
+
|
|
26
|
+
7. Limitation of Liability:
|
|
27
|
+
The Software is provided "as is" without any warranties of any kind. In no event shall Layer Financial be liable for any damages arising from the use of the Software.
|
|
28
|
+
|
|
29
|
+
8. Indemnification:
|
|
30
|
+
The Licensee agrees to indemnify, defend, and hold harmless Layer Financial from any claims, damages, losses, or expenses arising out of or in connection with the Licensee’s use of the Software in violation of this Agreement.
|
|
31
|
+
|
|
32
|
+
9. Governing Law:
|
|
33
|
+
This Agreement shall be governed by the laws of the state of California.
|