@xylabs/sdk-react 6.3.14 → 7.0.0
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 +40 -36
- package/doctor-storybook.log +0 -27
- 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.0",
|
|
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,31 +60,31 @@
|
|
|
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.0",
|
|
64
|
+
"@xylabs/react-animation": "^7.0.0",
|
|
65
|
+
"@xylabs/react-appbar": "^7.0.0",
|
|
66
|
+
"@xylabs/react-async-effect": "^7.0.0",
|
|
67
|
+
"@xylabs/react-button": "^7.0.0",
|
|
68
|
+
"@xylabs/react-common": "^7.0.0",
|
|
69
|
+
"@xylabs/react-cookie-consent": "^7.0.0",
|
|
70
|
+
"@xylabs/react-crypto": "^7.0.0",
|
|
71
|
+
"@xylabs/react-dialogs": "^7.0.0",
|
|
72
|
+
"@xylabs/react-experiments": "^7.0.0",
|
|
73
|
+
"@xylabs/react-flexbox": "^7.0.0",
|
|
74
|
+
"@xylabs/react-hooks": "^7.0.0",
|
|
75
|
+
"@xylabs/react-identicon": "^7.0.0",
|
|
76
|
+
"@xylabs/react-link": "^7.0.0",
|
|
77
|
+
"@xylabs/react-mixpanel": "^7.0.0",
|
|
78
|
+
"@xylabs/react-number-status": "^7.0.0",
|
|
79
|
+
"@xylabs/react-pixel": "^7.0.0",
|
|
80
|
+
"@xylabs/react-pixel-debugger": "^7.0.0",
|
|
81
|
+
"@xylabs/react-promise": "^7.0.0",
|
|
82
|
+
"@xylabs/react-quick-tip-button": "^7.0.0",
|
|
83
|
+
"@xylabs/react-render-spin-check": "^7.0.0",
|
|
84
|
+
"@xylabs/react-rich-result": "^7.0.0",
|
|
85
|
+
"@xylabs/react-scroll-to-top": "^7.0.0",
|
|
86
|
+
"@xylabs/react-shared": "^7.0.0",
|
|
87
|
+
"@xylabs/react-theme": "^7.0.0"
|
|
84
88
|
},
|
|
85
89
|
"devDependencies": {
|
|
86
90
|
"@emotion/react": "^11.14.0",
|
|
@@ -90,23 +94,23 @@
|
|
|
90
94
|
"@storybook/addon-links": "^9.0.18",
|
|
91
95
|
"@storybook/react-vite": "^9.0.18",
|
|
92
96
|
"@types/node": "^24.1.0",
|
|
93
|
-
"@types/react": "^19.1.
|
|
97
|
+
"@types/react": "^19.1.9",
|
|
94
98
|
"@typescript-eslint/eslint-plugin": "^8.38.0",
|
|
95
99
|
"@typescript-eslint/parser": "^8.38.0",
|
|
96
|
-
"@xylabs/eslint-config-flat": "^7.0.
|
|
97
|
-
"@xylabs/eslint-config-react-flat": "^7.0.
|
|
98
|
-
"@xylabs/ts-scripts-yarn3": "^7.0.
|
|
99
|
-
"@xylabs/tsconfig-react": "^7.0.
|
|
100
|
-
"eslint": "^9.
|
|
100
|
+
"@xylabs/eslint-config-flat": "^7.0.2",
|
|
101
|
+
"@xylabs/eslint-config-react-flat": "^7.0.2",
|
|
102
|
+
"@xylabs/ts-scripts-yarn3": "^7.0.2",
|
|
103
|
+
"@xylabs/tsconfig-react": "^7.0.2",
|
|
104
|
+
"eslint": "^9.32.0",
|
|
101
105
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
102
106
|
"eslint-plugin-storybook": "9.0.18",
|
|
103
107
|
"knip": "^5.62.0",
|
|
104
|
-
"react": "^19.1.
|
|
105
|
-
"react-dom": "^19.1.
|
|
108
|
+
"react": "^19.1.1",
|
|
109
|
+
"react-dom": "^19.1.1",
|
|
106
110
|
"storybook": "^9.0.18",
|
|
107
|
-
"typedoc": "^0.28.
|
|
111
|
+
"typedoc": "^0.28.8",
|
|
108
112
|
"typescript": "^5.8.3",
|
|
109
|
-
"vite": "^7.0.
|
|
113
|
+
"vite": "^7.0.6"
|
|
110
114
|
},
|
|
111
115
|
"peerDependencies": {
|
|
112
116
|
"@mui/icons-material": ">=6 <8",
|
package/doctor-storybook.log
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
🩺 The doctor is checking the health of your Storybook..
|
|
2
|
-
╭ Diagnostics ───────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
3
|
-
│ │
|
|
4
|
-
│ Attention: There seems to be a mismatch between your Storybook package versions. This can result in a broken Storybook │
|
|
5
|
-
│ installation. │
|
|
6
|
-
│ │
|
|
7
|
-
│ The version of your storybook core packages should align with 9.1.0-alpha.2 (from the @storybook/react-vite package) │
|
|
8
|
-
│ or higher. │
|
|
9
|
-
│ │
|
|
10
|
-
│ Based on your lockfile, these dependencies should be aligned: │
|
|
11
|
-
│ │
|
|
12
|
-
│ @storybook/react: 9.0.4 (in your package.json) │
|
|
13
|
-
│ storybook: 9.0.4 (in your package.json) │
|
|
14
|
-
│ @storybook/react-dom-shim: 9.0.4 │
|
|
15
|
-
│ │
|
|
16
|
-
│ You can run npx storybook@latest upgrade to upgrade all of your Storybook packages to the latest version. │
|
|
17
|
-
│ │
|
|
18
|
-
│ Alternatively you can try manually changing the versions to match in your package.json. We also recommend regenerating │
|
|
19
|
-
│ your lockfile, or running the following command to possibly deduplicate your Storybook package versions: yarn dedupe │
|
|
20
|
-
│ │
|
|
21
|
-
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
22
|
-
|
|
23
|
-
You can always recheck the health of your project by running:
|
|
24
|
-
npx storybook doctor
|
|
25
|
-
|
|
26
|
-
Full logs are available in /Users/mattjones/XYLabs/repos/sdk-react/doctor-storybook.log
|
|
27
|
-
|
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