@xylabs/sdk-react 7.1.16 → 7.1.20

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.
Files changed (3) hide show
  1. package/README.md +6 -101
  2. package/package.json +50 -45
  3. package/src/index.ts +0 -25
package/README.md CHANGED
@@ -1,122 +1,27 @@
1
- [![logo][]](https://xylabs.com)
2
-
3
1
  # @xylabs/sdk-react
4
2
 
5
- [![main-build][]][main-build-link]
6
- [![npm-badge][]][npm-link]
7
- [![npm-downloads-badge][]][npm-link]
8
- [![jsdelivr-badge][]][jsdelivr-link]
9
- [![npm-license-badge][]](LICENSE)
10
- [![codacy-badge][]][codacy-link]
11
- [![codeclimate-badge][]][codeclimate-link]
12
- [![snyk-badge][]][snyk-link]
13
-
14
- > XY Labs generalized React library
15
-
16
- ## Table of Contents
17
-
18
- - [Description](#description)
19
- - [Install](#install)
20
- - [Scripts](#scripts)
21
- - [Maintainers](#maintainers)
22
- - [License](#license)
23
- - [Credits](#credits)
24
-
25
- ## Description
3
+ [![npm][npm-badge]][npm-link]
26
4
 
27
- Common React code that is used throughout XYO projects that use React.
28
-
29
- Features:
30
-
31
- - Mono-repo that publishes individual packages to npm
32
- - Fully written in TypeScript
33
- - Tree-shaking focused; include only what you need during bundling
34
- - UI components built from the mui library
35
- - Crypto utilities backed by the Ethers.js library
5
+ > Common React library for all XY Labs projects that use React
36
6
 
37
7
  ## Install
38
8
 
39
- Using npm:
40
-
41
- ```sh
42
- npm i --save @xylabs/sdk-react
43
- ```
44
-
45
- Using yarn:
46
-
47
- ```sh
48
- yarn add @xylabs/sdk-react
49
- ```
50
-
51
- ## Documentation
52
- [Developer Reference](https://xylabs.github.io/sdk-react)
53
-
54
- [Storybook](https://xylabs.github.io/sdk-react/storybook)
55
-
56
- ## Scripts
57
-
58
- Using npm:
59
-
60
9
  ```sh
61
- npm xy --help
10
+ npm install {{name}}
62
11
  ```
63
12
 
64
- Using yarn:
13
+ or
65
14
 
66
15
  ```sh
67
- yarn xy --help
16
+ yarn add {{name}}
68
17
  ```
69
18
 
70
- ### Build (Storybook)
71
-
72
- Build the static Storybook site
73
-
74
- ```sh
75
- yarn build-storybook
76
- ```
77
-
78
- ### Start
79
-
80
- Starts the project in the browser for testing, with auto reload using Storybook
81
-
82
- ```sh
83
- yarn start
84
- ```
85
-
86
- ## Maintainers
87
-
88
- - [Arie Trouw](https://github.com/arietrouw) ([arietrouw.com](https://arietrouw.com))
89
- - [Matt Jones](https://github.com/jonesmac)
90
- - [Joel Carter](https://github.com/JoelBCarter)
91
- - [Jordan Trouw](https://github.com/jordantrouw)
92
19
 
93
20
  ## License
94
21
 
95
- See the [LICENSE](LICENSE) file for license details
96
-
97
- ## Credits
22
+ See the [LICENSE](LICENSE) file for license rights and limitations (LGPL-3.0-only).
98
23
 
99
- [Made with 🔥and ❄️ by XY Labs](https://xylabs.com)
100
24
 
101
- [logo]: https://cdn.xy.company/img/brand/XYPersistentCompany_Logo_Icon_Colored.svg
102
-
103
- [main-build]: https://github.com/xylabs/sdk-react/actions/workflows/build.yml/badge.svg
104
- [main-build-link]: https://github.com/xylabs/sdk-react/actions/workflows/build.yml
105
25
 
106
26
  [npm-badge]: https://img.shields.io/npm/v/@xylabs/sdk-react.svg
107
27
  [npm-link]: https://www.npmjs.com/package/@xylabs/sdk-react
108
-
109
- [codacy-badge]: https://app.codacy.com/project/badge/Grade/c2a69d4530ed4b7da6ddb070169dd339
110
- [codacy-link]: https://app.codacy.com/gh/xylabs/sdk-react
111
-
112
- [codeclimate-badge]: https://api.codeclimate.com/v1/badges/c461e0bc2b00c0b01ac0/maintainability
113
- [codeclimate-link]: https://codeclimate.com/github/xylabs/sdk-react/maintainability
114
-
115
- [snyk-badge]: https://snyk.io/test/github/xylabs/sdk-react/badge.svg?targetFile=package.json
116
- [snyk-link]: https://snyk.io/test/github/xylabs/sdk-react?targetFile=package.json
117
-
118
- [npm-downloads-badge]: https://img.shields.io/npm/dw/@xylabs/sdk-react
119
- [npm-license-badge]: https://img.shields.io/npm/l/@xylabs/sdk-react
120
-
121
- [jsdelivr-badge]: https://data.jsdelivr.com/v1/package/npm/@xylabs/sdk-react/badge
122
- [jsdelivr-link]: https://www.jsdelivr.com/package/npm/@xylabs/sdk-react
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xylabs/sdk-react",
3
- "version": "7.1.16",
3
+ "version": "7.1.20",
4
4
  "description": "Common React library for all XY Labs projects that use React",
5
5
  "keywords": [
6
6
  "utility",
@@ -27,67 +27,72 @@
27
27
  "exports": {
28
28
  ".": {
29
29
  "types": "./dist/browser/index.d.ts",
30
+ "import": "./dist/browser/index.mjs",
30
31
  "default": "./dist/browser/index.mjs"
31
32
  },
32
33
  "./package.json": "./package.json"
33
34
  },
34
- "module": "./dist/browser/index.mjs",
35
35
  "types": "dist/browser/index.d.ts",
36
36
  "files": [
37
37
  "dist",
38
- "src"
38
+ "README.md"
39
39
  ],
40
40
  "dependencies": {
41
- "@xylabs/react-accordion": "~7.1.16",
42
- "@xylabs/react-animation": "~7.1.16",
43
- "@xylabs/react-appbar": "~7.1.16",
44
- "@xylabs/react-async-effect": "~7.1.16",
45
- "@xylabs/react-button": "~7.1.16",
46
- "@xylabs/react-common": "~7.1.16",
47
- "@xylabs/react-cookie-consent": "~7.1.16",
48
- "@xylabs/react-crypto": "~7.1.16",
49
- "@xylabs/react-dialogs": "~7.1.16",
50
- "@xylabs/react-experiments": "~7.1.16",
51
- "@xylabs/react-flexbox": "~7.1.16",
52
- "@xylabs/react-hooks": "~7.1.16",
53
- "@xylabs/react-identicon": "~7.1.16",
54
- "@xylabs/react-link": "~7.1.16",
55
- "@xylabs/react-mixpanel": "~7.1.16",
56
- "@xylabs/react-number-status": "~7.1.16",
57
- "@xylabs/react-pixel": "~7.1.16",
58
- "@xylabs/react-pixel-debugger": "~7.1.16",
59
- "@xylabs/react-promise": "~7.1.16",
60
- "@xylabs/react-quick-tip-button": "~7.1.16",
61
- "@xylabs/react-render-spin-check": "~7.1.16",
62
- "@xylabs/react-rich-result": "~7.1.16",
63
- "@xylabs/react-scroll-to-top": "~7.1.16",
64
- "@xylabs/react-shared": "~7.1.16",
65
- "@xylabs/react-theme": "~7.1.16"
41
+ "@xylabs/react-appbar": "~7.1.20",
42
+ "@xylabs/react-animation": "~7.1.20",
43
+ "@xylabs/react-accordion": "~7.1.20",
44
+ "@xylabs/react-button": "~7.1.20",
45
+ "@xylabs/react-common": "~7.1.20",
46
+ "@xylabs/react-cookie-consent": "~7.1.20",
47
+ "@xylabs/react-crypto": "~7.1.20",
48
+ "@xylabs/react-flexbox": "~7.1.20",
49
+ "@xylabs/react-dialogs": "~7.1.20",
50
+ "@xylabs/react-hooks": "~7.1.20",
51
+ "@xylabs/react-identicon": "~7.1.20",
52
+ "@xylabs/react-link": "~7.1.20",
53
+ "@xylabs/react-number-status": "~7.1.20",
54
+ "@xylabs/react-mixpanel": "~7.1.20",
55
+ "@xylabs/react-experiments": "~7.1.20",
56
+ "@xylabs/react-pixel-debugger": "~7.1.20",
57
+ "@xylabs/react-async-effect": "~7.1.20",
58
+ "@xylabs/react-promise": "~7.1.20",
59
+ "@xylabs/react-pixel": "~7.1.20",
60
+ "@xylabs/react-rich-result": "~7.1.20",
61
+ "@xylabs/react-render-spin-check": "~7.1.20",
62
+ "@xylabs/react-quick-tip-button": "~7.1.20",
63
+ "@xylabs/react-scroll-to-top": "~7.1.20",
64
+ "@xylabs/react-shared": "~7.1.20",
65
+ "@xylabs/react-theme": "~7.1.20"
66
66
  },
67
67
  "devDependencies": {
68
- "@mui/icons-material": "~7.3.7",
69
- "@mui/material": "~7.3.7",
70
- "@types/react": "^19.2.10",
71
- "@xylabs/ts-scripts-yarn3": "~7.3.2",
72
- "@xylabs/tsconfig": "~7.3.2",
73
- "@xylabs/tsconfig-dom": "~7.3.2",
74
- "@xylabs/tsconfig-react": "~7.3.2",
68
+ "@mui/material": "~7.3.9",
69
+ "@opentelemetry/api": "^1",
70
+ "@types/react": "^19.2.14",
71
+ "@xylabs/ts-scripts-common": "~7.8.5",
72
+ "@xylabs/ts-scripts-pnpm": "~7.8.5",
73
+ "@xylabs/tsconfig": "~7.8",
74
+ "@xylabs/tsconfig-dom": "~7.8.5",
75
+ "@xylabs/tsconfig-react": "~7.8.5",
76
+ "@xylabs/zod": "~5.0.95",
77
+ "axios": "^1",
78
+ "pako": "~2.1.0",
75
79
  "react": "^19.2.4",
76
80
  "react-dom": "^19.2.4",
81
+ "react-helmet": "~6.1.0",
82
+ "react-is": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
77
83
  "typescript": "^5.9.3",
78
- "zod": "^4.3.6"
84
+ "zod": "^4.3.6",
85
+ "@xylabs/react-portal": "~7.1.20"
79
86
  },
80
87
  "peerDependencies": {
81
- "@mui/icons-material": ">=6 <8",
82
- "@mui/material": ">=6 <8",
88
+ "@opentelemetry/api": "^1",
89
+ "@xylabs/zod": "~5.0.95",
83
90
  "axios": "^1",
84
- "react": "^19",
85
- "react-dom": "^19",
86
- "react-helmet": "^7",
87
- "react-router-dom": "^7",
88
- "zod": "^4"
91
+ "pako": "~2.1.0",
92
+ "react-helmet": "~6.1.0",
93
+ "react-is": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
94
+ "@xylabs/react-portal": "~7.1.20"
89
95
  },
90
- "packageManager": "yarn@4.12.0",
91
96
  "volta": {
92
97
  "node": "22.15.0",
93
98
  "yarn": "4.9.1"
@@ -95,4 +100,4 @@
95
100
  "publishConfig": {
96
101
  "access": "public"
97
102
  }
98
- }
103
+ }
package/src/index.ts DELETED
@@ -1,25 +0,0 @@
1
- export * from '@xylabs/react-accordion'
2
- export * from '@xylabs/react-animation'
3
- export * from '@xylabs/react-appbar'
4
- export * from '@xylabs/react-async-effect'
5
- export * from '@xylabs/react-button'
6
- export * from '@xylabs/react-common'
7
- export * from '@xylabs/react-cookie-consent'
8
- export * from '@xylabs/react-crypto'
9
- export * from '@xylabs/react-dialogs'
10
- export * from '@xylabs/react-experiments'
11
- export * from '@xylabs/react-flexbox'
12
- export * from '@xylabs/react-hooks'
13
- export * from '@xylabs/react-identicon'
14
- export * from '@xylabs/react-link'
15
- export * from '@xylabs/react-mixpanel'
16
- export * from '@xylabs/react-number-status'
17
- export * from '@xylabs/react-pixel'
18
- export * from '@xylabs/react-pixel-debugger'
19
- export * from '@xylabs/react-promise'
20
- export * from '@xylabs/react-quick-tip-button'
21
- export * from '@xylabs/react-render-spin-check'
22
- export * from '@xylabs/react-rich-result'
23
- export * from '@xylabs/react-scroll-to-top'
24
- export * from '@xylabs/react-shared'
25
- export * from '@xylabs/react-theme'