@xylabs/sdk-react 6.4.0 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xylabs/sdk-react",
3
- "version": "6.4.0",
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": "^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.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,13 +94,13 @@
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.8",
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.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
+ "@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",
100
104
  "eslint": "^9.32.0",
101
105
  "eslint-import-resolver-typescript": "^4.4.4",
102
106
  "eslint-plugin-storybook": "9.0.18",
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