@xylabs/sdk-react 6.4.0 → 7.0.1
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/package.json +62 -54
- package/eslint.config.mjs +0 -31
- package/knip.config.ts +0 -43
- package/typedoc.json +0 -5
- package/xy.config.ts +0 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xylabs/sdk-react",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.1",
|
|
4
4
|
"description": "Common React library for all XY Labs projects that use React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"utility",
|
|
@@ -33,6 +33,10 @@
|
|
|
33
33
|
},
|
|
34
34
|
"module": "./dist/browser/index.mjs",
|
|
35
35
|
"types": "dist/browser/index.d.ts",
|
|
36
|
+
"files": [
|
|
37
|
+
"dist",
|
|
38
|
+
"src"
|
|
39
|
+
],
|
|
36
40
|
"workspaces": [
|
|
37
41
|
"packages/*"
|
|
38
42
|
],
|
|
@@ -56,65 +60,69 @@
|
|
|
56
60
|
]
|
|
57
61
|
},
|
|
58
62
|
"dependencies": {
|
|
59
|
-
"@xylabs/react-accordion": "
|
|
60
|
-
"@xylabs/react-animation": "
|
|
61
|
-
"@xylabs/react-appbar": "
|
|
62
|
-
"@xylabs/react-async-effect": "
|
|
63
|
-
"@xylabs/react-button": "
|
|
64
|
-
"@xylabs/react-common": "
|
|
65
|
-
"@xylabs/react-cookie-consent": "
|
|
66
|
-
"@xylabs/react-crypto": "
|
|
67
|
-
"@xylabs/react-dialogs": "
|
|
68
|
-
"@xylabs/react-experiments": "
|
|
69
|
-
"@xylabs/react-flexbox": "
|
|
70
|
-
"@xylabs/react-hooks": "
|
|
71
|
-
"@xylabs/react-identicon": "
|
|
72
|
-
"@xylabs/react-link": "
|
|
73
|
-
"@xylabs/react-mixpanel": "
|
|
74
|
-
"@xylabs/react-number-status": "
|
|
75
|
-
"@xylabs/react-pixel": "
|
|
76
|
-
"@xylabs/react-pixel-debugger": "
|
|
77
|
-
"@xylabs/react-promise": "
|
|
78
|
-
"@xylabs/react-quick-tip-button": "
|
|
79
|
-
"@xylabs/react-render-spin-check": "
|
|
80
|
-
"@xylabs/react-rich-result": "
|
|
81
|
-
"@xylabs/react-scroll-to-top": "
|
|
82
|
-
"@xylabs/react-shared": "
|
|
83
|
-
"@xylabs/react-theme": "
|
|
63
|
+
"@xylabs/react-accordion": "~7.0.1",
|
|
64
|
+
"@xylabs/react-animation": "~7.0.1",
|
|
65
|
+
"@xylabs/react-appbar": "~7.0.1",
|
|
66
|
+
"@xylabs/react-async-effect": "~7.0.1",
|
|
67
|
+
"@xylabs/react-button": "~7.0.1",
|
|
68
|
+
"@xylabs/react-common": "~7.0.1",
|
|
69
|
+
"@xylabs/react-cookie-consent": "~7.0.1",
|
|
70
|
+
"@xylabs/react-crypto": "~7.0.1",
|
|
71
|
+
"@xylabs/react-dialogs": "~7.0.1",
|
|
72
|
+
"@xylabs/react-experiments": "~7.0.1",
|
|
73
|
+
"@xylabs/react-flexbox": "~7.0.1",
|
|
74
|
+
"@xylabs/react-hooks": "~7.0.1",
|
|
75
|
+
"@xylabs/react-identicon": "~7.0.1",
|
|
76
|
+
"@xylabs/react-link": "~7.0.1",
|
|
77
|
+
"@xylabs/react-mixpanel": "~7.0.1",
|
|
78
|
+
"@xylabs/react-number-status": "~7.0.1",
|
|
79
|
+
"@xylabs/react-pixel": "~7.0.1",
|
|
80
|
+
"@xylabs/react-pixel-debugger": "~7.0.1",
|
|
81
|
+
"@xylabs/react-promise": "~7.0.1",
|
|
82
|
+
"@xylabs/react-quick-tip-button": "~7.0.1",
|
|
83
|
+
"@xylabs/react-render-spin-check": "~7.0.1",
|
|
84
|
+
"@xylabs/react-rich-result": "~7.0.1",
|
|
85
|
+
"@xylabs/react-scroll-to-top": "~7.0.1",
|
|
86
|
+
"@xylabs/react-shared": "~7.0.1",
|
|
87
|
+
"@xylabs/react-theme": "~7.0.1"
|
|
84
88
|
},
|
|
85
89
|
"devDependencies": {
|
|
86
|
-
"@emotion/react": "
|
|
87
|
-
"@emotion/styled": "
|
|
88
|
-
"@mui/icons-material": "
|
|
89
|
-
"@mui/material": "
|
|
90
|
-
"@storybook/addon-links": "
|
|
91
|
-
"@storybook/react-vite": "
|
|
92
|
-
"@types/node": "
|
|
93
|
-
"@types/react": "
|
|
94
|
-
"@typescript-eslint/eslint-plugin": "
|
|
95
|
-
"@typescript-eslint/parser": "
|
|
96
|
-
"@
|
|
97
|
-
"@xylabs/eslint-config-
|
|
98
|
-
"@xylabs/
|
|
99
|
-
"@xylabs/
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
90
|
+
"@emotion/react": "~11.14.0",
|
|
91
|
+
"@emotion/styled": "~11.14.1",
|
|
92
|
+
"@mui/icons-material": "~7.3.1",
|
|
93
|
+
"@mui/material": "~7.3.1",
|
|
94
|
+
"@storybook/addon-links": "~9.1.2",
|
|
95
|
+
"@storybook/react-vite": "~9.1.2",
|
|
96
|
+
"@types/node": "~24.2.1",
|
|
97
|
+
"@types/react": "~19.1.10",
|
|
98
|
+
"@typescript-eslint/eslint-plugin": "~8.39.1",
|
|
99
|
+
"@typescript-eslint/parser": "~8.39.1",
|
|
100
|
+
"@typescript-eslint/utils": "~8.39.1",
|
|
101
|
+
"@xylabs/eslint-config-flat": "~7.1.1",
|
|
102
|
+
"@xylabs/eslint-config-react-flat": "~7.1.1",
|
|
103
|
+
"@xylabs/ts-scripts-yarn3": "~7.1.1",
|
|
104
|
+
"@xylabs/tsconfig": "~7.1.1",
|
|
105
|
+
"@xylabs/tsconfig-dom": "~7.1.1",
|
|
106
|
+
"@xylabs/tsconfig-react": "~7.1.1",
|
|
107
|
+
"eslint": "~9.33.0",
|
|
108
|
+
"eslint-import-resolver-typescript": "~4.4.4",
|
|
109
|
+
"eslint-plugin-storybook": "9.1.2",
|
|
110
|
+
"knip": "~5.62.0",
|
|
111
|
+
"react": "~19.1.1",
|
|
112
|
+
"react-dom": "~19.1.1",
|
|
113
|
+
"storybook": "~9.1.2",
|
|
114
|
+
"ts-api-utils": "~2.1.0",
|
|
115
|
+
"typedoc": "~0.28.10",
|
|
116
|
+
"typescript": "~5.9.2",
|
|
117
|
+
"vite": "~7.1.2"
|
|
110
118
|
},
|
|
111
119
|
"peerDependencies": {
|
|
112
120
|
"@mui/icons-material": ">=6 <8",
|
|
113
121
|
"@mui/material": ">=6 <8",
|
|
114
|
-
"axios": "
|
|
115
|
-
"react": "
|
|
116
|
-
"react-dom": "
|
|
117
|
-
"react-helmet": "
|
|
122
|
+
"axios": "~1",
|
|
123
|
+
"react": "~19",
|
|
124
|
+
"react-dom": "~19",
|
|
125
|
+
"react-helmet": "~7"
|
|
118
126
|
},
|
|
119
127
|
"packageManager": "yarn@4.9.2",
|
|
120
128
|
"volta": {
|
package/eslint.config.mjs
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
// For more info, see https://github.com/storybookjs/eslint-plugin-storybook#configuration-flat-config-format
|
|
2
|
-
import storybook from "eslint-plugin-storybook";
|
|
3
|
-
|
|
4
|
-
// eslint.config.mjs
|
|
5
|
-
|
|
6
|
-
import { typescriptConfig,
|
|
7
|
-
unicornConfig,
|
|
8
|
-
workspacesConfig,
|
|
9
|
-
rulesConfig,
|
|
10
|
-
importConfig } from '@xylabs/eslint-config-flat'
|
|
11
|
-
import { reactConfig } from '@xylabs/eslint-config-react-flat'
|
|
12
|
-
|
|
13
|
-
export default [{
|
|
14
|
-
ignores: ['.yarn', 'dist', 'docs', '**/packages/*/dist', 'storybook-static', 'eslint.config.mjs', '.storybook'],
|
|
15
|
-
}, reactConfig, unicornConfig, workspacesConfig, rulesConfig, importConfig, {
|
|
16
|
-
...reactConfig,
|
|
17
|
-
rules: {
|
|
18
|
-
...reactConfig.rules,
|
|
19
|
-
'@eslint-react/no-array-index-key': ['off'],
|
|
20
|
-
'@eslint-react/no-prop-types': ['warn'],
|
|
21
|
-
'@eslint-react/prefer-destructuring-assignment': ['warn'],
|
|
22
|
-
'@eslint-react/prefer-shorthand-boolean': ['warn'],
|
|
23
|
-
},
|
|
24
|
-
}, {
|
|
25
|
-
...typescriptConfig,
|
|
26
|
-
rules: {
|
|
27
|
-
...typescriptConfig.rules,
|
|
28
|
-
'@typescript-eslint/no-misused-promises': ['warn'],
|
|
29
|
-
'@typescript-eslint/consistent-type-imports': ['warn']
|
|
30
|
-
},
|
|
31
|
-
}, ...storybook.configs["flat/recommended"]];
|
package/knip.config.ts
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import type { KnipConfig } from 'knip'
|
|
2
|
-
|
|
3
|
-
const entry = ['src/index.ts*', 'src/index-*.ts*', '*.ts', '*.mjs', 'scripts/**/*.*', 'bin/*', 'src/**/*.stories.ts*', 'src/**/*.spec.ts']
|
|
4
|
-
const project = ['src/**/*.ts*', '*.ts*']
|
|
5
|
-
|
|
6
|
-
const config: KnipConfig = {
|
|
7
|
-
entry: [
|
|
8
|
-
'src/index.ts*',
|
|
9
|
-
'src/index-*.ts*',
|
|
10
|
-
'*.ts',
|
|
11
|
-
'*.mjs',
|
|
12
|
-
'scripts/**/*.*',
|
|
13
|
-
'bin/*',
|
|
14
|
-
'src/**/*.stories.ts*',
|
|
15
|
-
'src/**/*.spec.ts',
|
|
16
|
-
],
|
|
17
|
-
project: ['src/**/*.ts*', '*.ts*'],
|
|
18
|
-
workspaces: {
|
|
19
|
-
'.': {
|
|
20
|
-
entry: [...entry, 'src/**/*.ts', './storybook/**/*.ts', 'vite.config.ts'],
|
|
21
|
-
project,
|
|
22
|
-
ignoreDependencies: [
|
|
23
|
-
'@typescript-eslint/eslint-plugin',
|
|
24
|
-
'@typescript-eslint/parser',
|
|
25
|
-
'eslint',
|
|
26
|
-
'eslint-import-resolver-typescript',
|
|
27
|
-
],
|
|
28
|
-
},
|
|
29
|
-
'packages/*': { entry, project },
|
|
30
|
-
'packages/*/packages/*': { entry, project },
|
|
31
|
-
'packages/*/packages/packages/*': { entry, project },
|
|
32
|
-
'packages/*/packages/*/packages/*': { entry, project },
|
|
33
|
-
'packages/*/packages/*/packages/*/packages/*': { entry, project },
|
|
34
|
-
},
|
|
35
|
-
typescript: {
|
|
36
|
-
config: [
|
|
37
|
-
'tsconfig.json',
|
|
38
|
-
'packages/**/*/tsconfig.json',
|
|
39
|
-
],
|
|
40
|
-
},
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export default config
|
package/typedoc.json
DELETED