@xylabs/sdk-react 3.4.1 → 3.4.2
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/dist/browser/index.cjs.map +1 -1
- package/dist/{node/index.js → browser/index.mjs} +1 -1
- package/dist/neutral/index.cjs.map +1 -1
- package/dist/{browser/index.js → neutral/index.mjs} +1 -1
- package/dist/node/index.cjs.map +1 -1
- package/dist/{neutral/index.js → node/index.mjs} +1 -1
- package/eslint.config.mjs +16 -0
- package/package.json +70 -69
- package/babel.config.js +0 -4
- /package/dist/browser/{index.js.map → index.mjs.map} +0 -0
- /package/dist/neutral/{index.js.map → index.mjs.map} +0 -0
- /package/dist/node/{index.js.map → index.mjs.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from '@xylabs/react-accordion'\nexport * from '@xylabs/react-animation'\nexport * from '@xylabs/react-appbar'\nexport * from '@xylabs/react-async-effect'\nexport * from '@xylabs/react-button'\nexport * from '@xylabs/react-common'\nexport * from '@xylabs/react-cookie-consent'\nexport * from '@xylabs/react-crypto'\nexport * from '@xylabs/react-dialogs'\nexport * from '@xylabs/react-experiments'\nexport * from '@xylabs/react-flexbox'\nexport * from '@xylabs/react-identicon'\nexport * from '@xylabs/react-invertible-theme'\nexport * from '@xylabs/react-link'\nexport * from '@xylabs/react-number-status'\nexport * from '@xylabs/react-pixel'\nexport * from '@xylabs/react-pixel-debugger'\nexport * from '@xylabs/react-promise'\nexport * from '@xylabs/react-quick-tip-button'\nexport * from '@xylabs/react-render-spin-check'\nexport * from '@xylabs/react-rich-result'\nexport * from '@xylabs/react-scroll-to-top'\nexport * from '@xylabs/react-shared'\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from '@xylabs/react-accordion'\nexport * from '@xylabs/react-animation'\nexport * from '@xylabs/react-appbar'\nexport * from '@xylabs/react-async-effect'\nexport * from '@xylabs/react-button'\nexport * from '@xylabs/react-common'\nexport * from '@xylabs/react-cookie-consent'\nexport * from '@xylabs/react-crypto'\nexport * from '@xylabs/react-dialogs'\nexport * from '@xylabs/react-experiments'\nexport * from '@xylabs/react-flexbox'\nexport * from '@xylabs/react-identicon'\nexport * from '@xylabs/react-invertible-theme'\nexport * from '@xylabs/react-link'\nexport * from '@xylabs/react-number-status'\nexport * from '@xylabs/react-pixel'\nexport * from '@xylabs/react-pixel-debugger'\nexport * from '@xylabs/react-promise'\nexport * from '@xylabs/react-quick-tip-button'\nexport * from '@xylabs/react-render-spin-check'\nexport * from '@xylabs/react-rich-result'\nexport * from '@xylabs/react-scroll-to-top'\nexport * from '@xylabs/react-shared'\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;;wBAAc,oCAAd;AACA,wBAAc,oCADd;AAEA,wBAAc,iCAFd;AAGA,wBAAc,uCAHd;AAIA,wBAAc,iCAJd;AAKA,wBAAc,iCALd;AAMA,wBAAc,yCANd;AAOA,wBAAc,iCAPd;AAQA,wBAAc,kCARd;AASA,wBAAc,sCATd;AAUA,wBAAc,kCAVd;AAWA,wBAAc,oCAXd;AAYA,wBAAc,2CAZd;AAaA,wBAAc,+BAbd;AAcA,wBAAc,wCAdd;AAeA,wBAAc,gCAfd;AAgBA,wBAAc,yCAhBd;AAiBA,wBAAc,kCAjBd;AAkBA,wBAAc,2CAlBd;AAmBA,wBAAc,4CAnBd;AAoBA,wBAAc,sCApBd;AAqBA,wBAAc,wCArBd;AAsBA,wBAAc,iCAtBd;","names":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from '@xylabs/react-accordion'\nexport * from '@xylabs/react-animation'\nexport * from '@xylabs/react-appbar'\nexport * from '@xylabs/react-async-effect'\nexport * from '@xylabs/react-button'\nexport * from '@xylabs/react-common'\nexport * from '@xylabs/react-cookie-consent'\nexport * from '@xylabs/react-crypto'\nexport * from '@xylabs/react-dialogs'\nexport * from '@xylabs/react-experiments'\nexport * from '@xylabs/react-flexbox'\nexport * from '@xylabs/react-identicon'\nexport * from '@xylabs/react-invertible-theme'\nexport * from '@xylabs/react-link'\nexport * from '@xylabs/react-number-status'\nexport * from '@xylabs/react-pixel'\nexport * from '@xylabs/react-pixel-debugger'\nexport * from '@xylabs/react-promise'\nexport * from '@xylabs/react-quick-tip-button'\nexport * from '@xylabs/react-render-spin-check'\nexport * from '@xylabs/react-rich-result'\nexport * from '@xylabs/react-scroll-to-top'\nexport * from '@xylabs/react-shared'\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from '@xylabs/react-accordion'\nexport * from '@xylabs/react-animation'\nexport * from '@xylabs/react-appbar'\nexport * from '@xylabs/react-async-effect'\nexport * from '@xylabs/react-button'\nexport * from '@xylabs/react-common'\nexport * from '@xylabs/react-cookie-consent'\nexport * from '@xylabs/react-crypto'\nexport * from '@xylabs/react-dialogs'\nexport * from '@xylabs/react-experiments'\nexport * from '@xylabs/react-flexbox'\nexport * from '@xylabs/react-identicon'\nexport * from '@xylabs/react-invertible-theme'\nexport * from '@xylabs/react-link'\nexport * from '@xylabs/react-number-status'\nexport * from '@xylabs/react-pixel'\nexport * from '@xylabs/react-pixel-debugger'\nexport * from '@xylabs/react-promise'\nexport * from '@xylabs/react-quick-tip-button'\nexport * from '@xylabs/react-render-spin-check'\nexport * from '@xylabs/react-rich-result'\nexport * from '@xylabs/react-scroll-to-top'\nexport * from '@xylabs/react-shared'\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;;wBAAc,oCAAd;AACA,wBAAc,oCADd;AAEA,wBAAc,iCAFd;AAGA,wBAAc,uCAHd;AAIA,wBAAc,iCAJd;AAKA,wBAAc,iCALd;AAMA,wBAAc,yCANd;AAOA,wBAAc,iCAPd;AAQA,wBAAc,kCARd;AASA,wBAAc,sCATd;AAUA,wBAAc,kCAVd;AAWA,wBAAc,oCAXd;AAYA,wBAAc,2CAZd;AAaA,wBAAc,+BAbd;AAcA,wBAAc,wCAdd;AAeA,wBAAc,gCAfd;AAgBA,wBAAc,yCAhBd;AAiBA,wBAAc,kCAjBd;AAkBA,wBAAc,2CAlBd;AAmBA,wBAAc,4CAnBd;AAoBA,wBAAc,sCApBd;AAqBA,wBAAc,wCArBd;AAsBA,wBAAc,iCAtBd;","names":[]}
|
package/dist/node/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from '@xylabs/react-accordion'\nexport * from '@xylabs/react-animation'\nexport * from '@xylabs/react-appbar'\nexport * from '@xylabs/react-async-effect'\nexport * from '@xylabs/react-button'\nexport * from '@xylabs/react-common'\nexport * from '@xylabs/react-cookie-consent'\nexport * from '@xylabs/react-crypto'\nexport * from '@xylabs/react-dialogs'\nexport * from '@xylabs/react-experiments'\nexport * from '@xylabs/react-flexbox'\nexport * from '@xylabs/react-identicon'\nexport * from '@xylabs/react-invertible-theme'\nexport * from '@xylabs/react-link'\nexport * from '@xylabs/react-number-status'\nexport * from '@xylabs/react-pixel'\nexport * from '@xylabs/react-pixel-debugger'\nexport * from '@xylabs/react-promise'\nexport * from '@xylabs/react-quick-tip-button'\nexport * from '@xylabs/react-render-spin-check'\nexport * from '@xylabs/react-rich-result'\nexport * from '@xylabs/react-scroll-to-top'\nexport * from '@xylabs/react-shared'\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from '@xylabs/react-accordion'\nexport * from '@xylabs/react-animation'\nexport * from '@xylabs/react-appbar'\nexport * from '@xylabs/react-async-effect'\nexport * from '@xylabs/react-button'\nexport * from '@xylabs/react-common'\nexport * from '@xylabs/react-cookie-consent'\nexport * from '@xylabs/react-crypto'\nexport * from '@xylabs/react-dialogs'\nexport * from '@xylabs/react-experiments'\nexport * from '@xylabs/react-flexbox'\nexport * from '@xylabs/react-identicon'\nexport * from '@xylabs/react-invertible-theme'\nexport * from '@xylabs/react-link'\nexport * from '@xylabs/react-number-status'\nexport * from '@xylabs/react-pixel'\nexport * from '@xylabs/react-pixel-debugger'\nexport * from '@xylabs/react-promise'\nexport * from '@xylabs/react-quick-tip-button'\nexport * from '@xylabs/react-render-spin-check'\nexport * from '@xylabs/react-rich-result'\nexport * from '@xylabs/react-scroll-to-top'\nexport * from '@xylabs/react-shared'\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;;wBAAc,oCAAd;AACA,wBAAc,oCADd;AAEA,wBAAc,iCAFd;AAGA,wBAAc,uCAHd;AAIA,wBAAc,iCAJd;AAKA,wBAAc,iCALd;AAMA,wBAAc,yCANd;AAOA,wBAAc,iCAPd;AAQA,wBAAc,kCARd;AASA,wBAAc,sCATd;AAUA,wBAAc,kCAVd;AAWA,wBAAc,oCAXd;AAYA,wBAAc,2CAZd;AAaA,wBAAc,+BAbd;AAcA,wBAAc,wCAdd;AAeA,wBAAc,gCAfd;AAgBA,wBAAc,yCAhBd;AAiBA,wBAAc,kCAjBd;AAkBA,wBAAc,2CAlBd;AAmBA,wBAAc,4CAnBd;AAoBA,wBAAc,sCApBd;AAqBA,wBAAc,wCArBd;AAsBA,wBAAc,iCAtBd;","names":[]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// eslint.config.mjs
|
|
2
|
+
|
|
3
|
+
import { config as xylabsConfig } from '@xylabs/eslint-config-react-flat'
|
|
4
|
+
|
|
5
|
+
export default [
|
|
6
|
+
{
|
|
7
|
+
ignores: ['.yarn/**', 'jest.config.cjs', '**/dist/**', 'dist', 'build/**', 'node_modules/**', 'public', 'storybook-static', '.storybook'],
|
|
8
|
+
},
|
|
9
|
+
...xylabsConfig,
|
|
10
|
+
{
|
|
11
|
+
rules: {
|
|
12
|
+
'@typescript-eslint/no-misused-promises': ['off'],
|
|
13
|
+
'@eslint-react/no-array-index-key': ['off'],
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
]
|
package/package.json
CHANGED
|
@@ -13,103 +13,104 @@
|
|
|
13
13
|
"packages/*"
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@xylabs/
|
|
17
|
-
"@xylabs/react-
|
|
18
|
-
"@xylabs/react-
|
|
19
|
-
"@xylabs/react-
|
|
20
|
-
"@xylabs/react-
|
|
21
|
-
"@xylabs/react-
|
|
22
|
-
"@xylabs/react-
|
|
23
|
-
"@xylabs/react-
|
|
24
|
-
"@xylabs/react-
|
|
25
|
-
"@xylabs/react-
|
|
26
|
-
"@xylabs/react-
|
|
27
|
-
"@xylabs/react-
|
|
28
|
-
"@xylabs/react-
|
|
29
|
-
"@xylabs/react-
|
|
30
|
-
"@xylabs/react-
|
|
31
|
-
"@xylabs/react-
|
|
32
|
-
"@xylabs/react-pixel
|
|
33
|
-
"@xylabs/react-
|
|
34
|
-
"@xylabs/react-
|
|
35
|
-
"@xylabs/react-
|
|
36
|
-
"@xylabs/react-
|
|
37
|
-
"@xylabs/react-
|
|
38
|
-
"@xylabs/react-
|
|
16
|
+
"@xylabs/pixel": "^1.6.0",
|
|
17
|
+
"@xylabs/react-accordion": "^3.4.2",
|
|
18
|
+
"@xylabs/react-animation": "^3.4.2",
|
|
19
|
+
"@xylabs/react-appbar": "^3.4.2",
|
|
20
|
+
"@xylabs/react-async-effect": "^3.4.2",
|
|
21
|
+
"@xylabs/react-button": "^3.4.2",
|
|
22
|
+
"@xylabs/react-common": "^3.4.2",
|
|
23
|
+
"@xylabs/react-cookie-consent": "^3.4.2",
|
|
24
|
+
"@xylabs/react-crypto": "^3.4.2",
|
|
25
|
+
"@xylabs/react-dialogs": "^3.4.2",
|
|
26
|
+
"@xylabs/react-experiments": "^3.4.2",
|
|
27
|
+
"@xylabs/react-flexbox": "^3.4.2",
|
|
28
|
+
"@xylabs/react-identicon": "^3.4.2",
|
|
29
|
+
"@xylabs/react-invertible-theme": "^3.4.2",
|
|
30
|
+
"@xylabs/react-link": "^3.4.2",
|
|
31
|
+
"@xylabs/react-number-status": "^3.4.2",
|
|
32
|
+
"@xylabs/react-pixel": "^3.4.2",
|
|
33
|
+
"@xylabs/react-pixel-debugger": "^3.4.2",
|
|
34
|
+
"@xylabs/react-promise": "^3.4.2",
|
|
35
|
+
"@xylabs/react-quick-tip-button": "^3.4.2",
|
|
36
|
+
"@xylabs/react-render-spin-check": "^3.4.2",
|
|
37
|
+
"@xylabs/react-rich-result": "^3.4.2",
|
|
38
|
+
"@xylabs/react-scroll-to-top": "^3.4.2",
|
|
39
|
+
"@xylabs/react-shared": "^3.4.2"
|
|
39
40
|
},
|
|
40
41
|
"description": "Common React library for all XY Labs projects that use React",
|
|
41
42
|
"devDependencies": {
|
|
42
|
-
"@babel/core": "^7.
|
|
43
|
-
"@babel/preset-env": "^7.
|
|
43
|
+
"@babel/core": "^7.25.2",
|
|
44
|
+
"@babel/preset-env": "^7.25.3",
|
|
44
45
|
"@babel/preset-react": "^7.24.7",
|
|
45
46
|
"@babel/preset-typescript": "^7.24.7",
|
|
46
47
|
"@chromatic-com/storybook": "^1.6.1",
|
|
47
|
-
"@emotion/react": "^11.
|
|
48
|
-
"@emotion/styled": "^11.
|
|
49
|
-
"@
|
|
50
|
-
"@
|
|
51
|
-
"@storybook/addon-
|
|
52
|
-
"@storybook/addon-
|
|
53
|
-
"@storybook/addon-
|
|
54
|
-
"@storybook/addon-
|
|
55
|
-
"@storybook/addon-
|
|
56
|
-
"@storybook/addon-
|
|
57
|
-
"@storybook/addon-
|
|
58
|
-
"@storybook/
|
|
59
|
-
"@storybook/
|
|
60
|
-
"@storybook/
|
|
61
|
-
"@storybook/
|
|
62
|
-
"@storybook/react
|
|
63
|
-
"@storybook/
|
|
64
|
-
"@storybook/
|
|
65
|
-
"@
|
|
66
|
-
"@
|
|
67
|
-
"@
|
|
68
|
-
"@xylabs/
|
|
69
|
-
"@xylabs/
|
|
70
|
-
"
|
|
48
|
+
"@emotion/react": "^11.13.0",
|
|
49
|
+
"@emotion/styled": "^11.13.0",
|
|
50
|
+
"@eslint-react/eslint-plugin": "^1.8.2",
|
|
51
|
+
"@mui/material": "^5.16.6",
|
|
52
|
+
"@storybook/addon-actions": "^8.2.7",
|
|
53
|
+
"@storybook/addon-docs": "^8.2.7",
|
|
54
|
+
"@storybook/addon-essentials": "^8.2.7",
|
|
55
|
+
"@storybook/addon-interactions": "^8.2.7",
|
|
56
|
+
"@storybook/addon-links": "^8.2.7",
|
|
57
|
+
"@storybook/addon-mdx-gfm": "^8.2.7",
|
|
58
|
+
"@storybook/addon-onboarding": "^8.2.7",
|
|
59
|
+
"@storybook/addon-webpack5-compiler-swc": "^1.0.5",
|
|
60
|
+
"@storybook/blocks": "^8.2.7",
|
|
61
|
+
"@storybook/components": "^8.2.7",
|
|
62
|
+
"@storybook/core-events": "^8.2.7",
|
|
63
|
+
"@storybook/react": "^8.2.7",
|
|
64
|
+
"@storybook/react-vite": "^8.2.7",
|
|
65
|
+
"@storybook/test": "^8.2.7",
|
|
66
|
+
"@storybook/theming": "^8.2.7",
|
|
67
|
+
"@stylistic/eslint-plugin": "^2.6.1",
|
|
68
|
+
"@typescript-eslint/eslint-plugin": "^8.0.1",
|
|
69
|
+
"@xylabs/eslint-config-react-flat": "^3.15.16",
|
|
70
|
+
"@xylabs/ts-scripts-yarn3": "^3.15.16",
|
|
71
|
+
"@xylabs/tsconfig": "^3.15.16",
|
|
72
|
+
"@xylabs/tsconfig-react": "^3.15.16",
|
|
73
|
+
"@xyo-network/react-theme": "^2.81.10",
|
|
74
|
+
"axios": "^1.7.3",
|
|
71
75
|
"babel-loader": "^9.1.3",
|
|
72
76
|
"buffer": "^6.0.3",
|
|
73
|
-
"eslint": "^9.
|
|
77
|
+
"eslint": "^9.8.0",
|
|
74
78
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
75
|
-
"eslint-plugin-deprecation": "^3.0.0",
|
|
76
79
|
"eslint-plugin-import": "^2.29.1",
|
|
77
|
-
"eslint-plugin-
|
|
80
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
81
|
+
"eslint-plugin-react": "^7.35.0",
|
|
82
|
+
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
83
|
+
"eslint-plugin-sonarjs": "^1.0.4",
|
|
84
|
+
"eslint-plugin-workspaces": "^0.10.1",
|
|
78
85
|
"jest": "^29.7.0",
|
|
79
86
|
"react": "^18.3.1",
|
|
80
87
|
"react-dom": "^18.3.1",
|
|
81
88
|
"remark-gfm": "^4.0.0",
|
|
82
|
-
"rimraf": "^5.0.
|
|
83
|
-
"storybook": "^8.2.
|
|
89
|
+
"rimraf": "^5.0.10",
|
|
90
|
+
"storybook": "^8.2.7",
|
|
84
91
|
"storybook-dark-mode": "^4.0.2",
|
|
85
92
|
"ts-loader": "^9.5.1",
|
|
86
93
|
"tsconfig-paths-webpack-plugin": "^4.1.0",
|
|
87
|
-
"typescript": "^5.5.
|
|
88
|
-
"
|
|
94
|
+
"typescript": "^5.5.4",
|
|
95
|
+
"vite": "^5.3.5"
|
|
89
96
|
},
|
|
90
97
|
"peerDependencies": {
|
|
91
98
|
"@mui/icons-material": "^5",
|
|
92
99
|
"@mui/material": "^5",
|
|
93
|
-
"@xylabs/pixel": "^1.4.9",
|
|
94
100
|
"axios": "^1",
|
|
95
101
|
"react": "^18",
|
|
96
102
|
"react-dom": "^18",
|
|
97
103
|
"react-helmet": "^6"
|
|
98
104
|
},
|
|
99
|
-
"peerDependenciesMeta": {
|
|
100
|
-
"@xylabs/pixel": {
|
|
101
|
-
"optional": true
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
105
|
"resolutions": {
|
|
105
|
-
"
|
|
106
|
+
"bowser": "^1"
|
|
106
107
|
},
|
|
107
108
|
"exports": {
|
|
108
109
|
".": {
|
|
109
110
|
"node": {
|
|
110
111
|
"import": {
|
|
111
112
|
"types": "./dist/node/index.d.mts",
|
|
112
|
-
"default": "./dist/node/index.
|
|
113
|
+
"default": "./dist/node/index.mjs"
|
|
113
114
|
},
|
|
114
115
|
"require": {
|
|
115
116
|
"types": "./dist/node/index.d.cts",
|
|
@@ -119,20 +120,20 @@
|
|
|
119
120
|
"browser": {
|
|
120
121
|
"import": {
|
|
121
122
|
"types": "./dist/browser/index.d.mts",
|
|
122
|
-
"default": "./dist/browser/index.
|
|
123
|
+
"default": "./dist/browser/index.mjs"
|
|
123
124
|
},
|
|
124
125
|
"require": {
|
|
125
126
|
"types": "./dist/browser/index.d.cts",
|
|
126
127
|
"default": "./dist/browser/index.cjs"
|
|
127
128
|
}
|
|
128
129
|
},
|
|
129
|
-
"default": "./dist/browser/index.
|
|
130
|
+
"default": "./dist/browser/index.mjs"
|
|
130
131
|
},
|
|
131
132
|
"./package.json": "./package.json"
|
|
132
133
|
},
|
|
133
134
|
"types": "dist/browser/index.d.ts",
|
|
134
135
|
"main": "./dist/browser/index.cjs",
|
|
135
|
-
"module": "./dist/browser/index.
|
|
136
|
+
"module": "./dist/browser/index.mjs",
|
|
136
137
|
"homepage": "https://xylabs.com",
|
|
137
138
|
"keywords": [
|
|
138
139
|
"utility",
|
|
@@ -154,8 +155,8 @@
|
|
|
154
155
|
"storybook": "storybook dev -p 6006"
|
|
155
156
|
},
|
|
156
157
|
"sideEffects": false,
|
|
157
|
-
"version": "3.4.
|
|
158
|
-
"packageManager": "yarn@4.
|
|
158
|
+
"version": "3.4.2",
|
|
159
|
+
"packageManager": "yarn@4.4.0",
|
|
159
160
|
"volta": {
|
|
160
161
|
"node": "22.3.0",
|
|
161
162
|
"yarn": "4.3.1"
|
package/babel.config.js
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|