@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xylabs/sdk-react",
3
- "version": "6.4.0",
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": "^6.4.0",
60
- "@xylabs/react-animation": "^6.4.0",
61
- "@xylabs/react-appbar": "^6.4.0",
62
- "@xylabs/react-async-effect": "^6.4.0",
63
- "@xylabs/react-button": "^6.4.0",
64
- "@xylabs/react-common": "^6.4.0",
65
- "@xylabs/react-cookie-consent": "^6.4.0",
66
- "@xylabs/react-crypto": "^6.4.0",
67
- "@xylabs/react-dialogs": "^6.4.0",
68
- "@xylabs/react-experiments": "^6.4.0",
69
- "@xylabs/react-flexbox": "^6.4.0",
70
- "@xylabs/react-hooks": "^6.4.0",
71
- "@xylabs/react-identicon": "^6.4.0",
72
- "@xylabs/react-link": "^6.4.0",
73
- "@xylabs/react-mixpanel": "^6.4.0",
74
- "@xylabs/react-number-status": "^6.4.0",
75
- "@xylabs/react-pixel": "^6.4.0",
76
- "@xylabs/react-pixel-debugger": "^6.4.0",
77
- "@xylabs/react-promise": "^6.4.0",
78
- "@xylabs/react-quick-tip-button": "^6.4.0",
79
- "@xylabs/react-render-spin-check": "^6.4.0",
80
- "@xylabs/react-rich-result": "^6.4.0",
81
- "@xylabs/react-scroll-to-top": "^6.4.0",
82
- "@xylabs/react-shared": "^6.4.0",
83
- "@xylabs/react-theme": "^6.4.0"
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": "^11.14.0",
87
- "@emotion/styled": "^11.14.1",
88
- "@mui/icons-material": "^7.2.0",
89
- "@mui/material": "^7.2.0",
90
- "@storybook/addon-links": "^9.0.18",
91
- "@storybook/react-vite": "^9.0.18",
92
- "@types/node": "^24.1.0",
93
- "@types/react": "^19.1.8",
94
- "@typescript-eslint/eslint-plugin": "^8.38.0",
95
- "@typescript-eslint/parser": "^8.38.0",
96
- "@xylabs/eslint-config-flat": "^7.0.1",
97
- "@xylabs/eslint-config-react-flat": "^7.0.1",
98
- "@xylabs/ts-scripts-yarn3": "^7.0.1",
99
- "@xylabs/tsconfig-react": "^7.0.1",
100
- "eslint": "^9.32.0",
101
- "eslint-import-resolver-typescript": "^4.4.4",
102
- "eslint-plugin-storybook": "9.0.18",
103
- "knip": "^5.62.0",
104
- "react": "^19.1.1",
105
- "react-dom": "^19.1.1",
106
- "storybook": "^9.0.18",
107
- "typedoc": "^0.28.8",
108
- "typescript": "^5.8.3",
109
- "vite": "^7.0.6"
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": "^1",
115
- "react": "^19",
116
- "react-dom": "^19",
117
- "react-helmet": "^7"
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
@@ -1,5 +0,0 @@
1
- {
2
- "$schema": "https://typedoc.org/schema.json",
3
- "entryPoints": ["src"],
4
- "tsconfig": "./tsconfig.typedoc.json"
5
- }
package/xy.config.ts DELETED
@@ -1,10 +0,0 @@
1
- import type { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
2
- const config: XyTsupConfig = {
3
- compile: {
4
- browser: { src: {} },
5
- node: {},
6
- neutral: {},
7
- },
8
- }
9
-
10
- export default config