@xylabs/sdk-react 3.0.1 → 3.0.3

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.
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+
17
+ // src/index.ts
18
+ var src_exports = {};
19
+ module.exports = __toCommonJS(src_exports);
20
+ __reExport(src_exports, require("@xylabs/react-accordion"), module.exports);
21
+ __reExport(src_exports, require("@xylabs/react-appbar"), module.exports);
22
+ __reExport(src_exports, require("@xylabs/react-async-effect"), module.exports);
23
+ __reExport(src_exports, require("@xylabs/react-button"), module.exports);
24
+ __reExport(src_exports, require("@xylabs/react-common"), module.exports);
25
+ __reExport(src_exports, require("@xylabs/react-cookie-consent"), module.exports);
26
+ __reExport(src_exports, require("@xylabs/react-crypto"), module.exports);
27
+ __reExport(src_exports, require("@xylabs/react-dialogs"), module.exports);
28
+ __reExport(src_exports, require("@xylabs/react-experiments"), module.exports);
29
+ __reExport(src_exports, require("@xylabs/react-flexbox"), module.exports);
30
+ __reExport(src_exports, require("@xylabs/react-identicon"), module.exports);
31
+ __reExport(src_exports, require("@xylabs/react-invertible-theme"), module.exports);
32
+ __reExport(src_exports, require("@xylabs/react-link"), module.exports);
33
+ __reExport(src_exports, require("@xylabs/react-number-status"), module.exports);
34
+ __reExport(src_exports, require("@xylabs/react-pixel"), module.exports);
35
+ __reExport(src_exports, require("@xylabs/react-pixel-debugger"), module.exports);
36
+ __reExport(src_exports, require("@xylabs/react-promise"), module.exports);
37
+ __reExport(src_exports, require("@xylabs/react-quick-tip-button"), module.exports);
38
+ __reExport(src_exports, require("@xylabs/react-render-spin-check"), module.exports);
39
+ __reExport(src_exports, require("@xylabs/react-rich-result"), module.exports);
40
+ __reExport(src_exports, require("@xylabs/react-scroll-to-top"), module.exports);
41
+ __reExport(src_exports, require("@xylabs/react-shared"), module.exports);
42
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from '@xylabs/react-accordion'\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;AAAA;AAAA,wBAAc,oCAAd;AACA,wBAAc,iCADd;AAEA,wBAAc,uCAFd;AAGA,wBAAc,iCAHd;AAIA,wBAAc,iCAJd;AAKA,wBAAc,yCALd;AAMA,wBAAc,iCANd;AAOA,wBAAc,kCAPd;AAQA,wBAAc,sCARd;AASA,wBAAc,kCATd;AAUA,wBAAc,oCAVd;AAWA,wBAAc,2CAXd;AAYA,wBAAc,+BAZd;AAaA,wBAAc,wCAbd;AAcA,wBAAc,gCAdd;AAeA,wBAAc,yCAfd;AAgBA,wBAAc,kCAhBd;AAiBA,wBAAc,2CAjBd;AAkBA,wBAAc,4CAlBd;AAmBA,wBAAc,sCAnBd;AAoBA,wBAAc,wCApBd;AAqBA,wBAAc,iCArBd;","names":[]}
@@ -1,3 +1,4 @@
1
+ // src/index.ts
1
2
  export * from "@xylabs/react-accordion";
2
3
  export * from "@xylabs/react-appbar";
3
4
  export * from "@xylabs/react-async-effect";
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from '@xylabs/react-accordion'\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,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from '@xylabs/react-accordion'\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,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
package/package.json CHANGED
@@ -13,61 +13,61 @@
13
13
  "packages/*"
14
14
  ],
15
15
  "dependencies": {
16
- "@xylabs/react-accordion": "~3.0.1",
17
- "@xylabs/react-appbar": "~3.0.1",
18
- "@xylabs/react-async-effect": "~3.0.1",
19
- "@xylabs/react-button": "~3.0.1",
20
- "@xylabs/react-common": "~3.0.1",
21
- "@xylabs/react-cookie-consent": "~3.0.1",
22
- "@xylabs/react-crypto": "~3.0.1",
23
- "@xylabs/react-dialogs": "~3.0.1",
24
- "@xylabs/react-experiments": "~3.0.1",
25
- "@xylabs/react-flexbox": "~3.0.1",
26
- "@xylabs/react-identicon": "~3.0.1",
27
- "@xylabs/react-invertible-theme": "~3.0.1",
28
- "@xylabs/react-link": "~3.0.1",
29
- "@xylabs/react-number-status": "~3.0.1",
30
- "@xylabs/react-pixel": "~3.0.1",
31
- "@xylabs/react-pixel-debugger": "~3.0.1",
32
- "@xylabs/react-promise": "~3.0.1",
33
- "@xylabs/react-quick-tip-button": "~3.0.1",
34
- "@xylabs/react-render-spin-check": "~3.0.1",
35
- "@xylabs/react-rich-result": "~3.0.1",
36
- "@xylabs/react-scroll-to-top": "~3.0.1",
37
- "@xylabs/react-shared": "~3.0.1"
16
+ "@xylabs/react-accordion": "~3.0.3",
17
+ "@xylabs/react-appbar": "~3.0.3",
18
+ "@xylabs/react-async-effect": "~3.0.3",
19
+ "@xylabs/react-button": "~3.0.3",
20
+ "@xylabs/react-common": "~3.0.3",
21
+ "@xylabs/react-cookie-consent": "~3.0.3",
22
+ "@xylabs/react-crypto": "~3.0.3",
23
+ "@xylabs/react-dialogs": "~3.0.3",
24
+ "@xylabs/react-experiments": "~3.0.3",
25
+ "@xylabs/react-flexbox": "~3.0.3",
26
+ "@xylabs/react-identicon": "~3.0.3",
27
+ "@xylabs/react-invertible-theme": "~3.0.3",
28
+ "@xylabs/react-link": "~3.0.3",
29
+ "@xylabs/react-number-status": "~3.0.3",
30
+ "@xylabs/react-pixel": "~3.0.3",
31
+ "@xylabs/react-pixel-debugger": "~3.0.3",
32
+ "@xylabs/react-promise": "~3.0.3",
33
+ "@xylabs/react-quick-tip-button": "~3.0.3",
34
+ "@xylabs/react-render-spin-check": "~3.0.3",
35
+ "@xylabs/react-rich-result": "~3.0.3",
36
+ "@xylabs/react-scroll-to-top": "~3.0.3",
37
+ "@xylabs/react-shared": "~3.0.3"
38
38
  },
39
39
  "description": "Common React library for all XY Labs projects that use React",
40
40
  "devDependencies": {
41
- "@babel/core": "^7.22.20",
41
+ "@babel/core": "^7.23.0",
42
42
  "@babel/preset-env": "^7.22.20",
43
43
  "@babel/preset-react": "^7.22.15",
44
- "@babel/preset-typescript": "^7.22.15",
44
+ "@babel/preset-typescript": "^7.23.0",
45
45
  "@emotion/react": "^11.11.1",
46
46
  "@emotion/styled": "^11.11.0",
47
- "@mui/material": "^5.14.10",
48
- "@storybook/addon-actions": "^7.4.4",
49
- "@storybook/addon-docs": "^7.4.4",
50
- "@storybook/addon-essentials": "^7.4.4",
51
- "@storybook/addon-interactions": "^7.4.4",
52
- "@storybook/addon-links": "^7.4.4",
53
- "@storybook/addon-mdx-gfm": "^7.4.4",
54
- "@storybook/addons": "^7.4.4",
55
- "@storybook/api": "^7.4.4",
56
- "@storybook/components": "^7.4.4",
57
- "@storybook/core-events": "^7.4.4",
47
+ "@mui/material": "^5.14.11",
48
+ "@storybook/addon-actions": "^7.4.5",
49
+ "@storybook/addon-docs": "^7.4.5",
50
+ "@storybook/addon-essentials": "^7.4.5",
51
+ "@storybook/addon-interactions": "^7.4.5",
52
+ "@storybook/addon-links": "^7.4.5",
53
+ "@storybook/addon-mdx-gfm": "^7.4.5",
54
+ "@storybook/addons": "^7.4.5",
55
+ "@storybook/api": "^7.4.5",
56
+ "@storybook/components": "^7.4.5",
57
+ "@storybook/core-events": "^7.4.5",
58
58
  "@storybook/mdx1-csf": "^1.0.0",
59
- "@storybook/react": "^7.4.4",
60
- "@storybook/react-webpack5": "^7.4.4",
59
+ "@storybook/react": "^7.4.5",
60
+ "@storybook/react-webpack5": "^7.4.5",
61
61
  "@storybook/testing-library": "^0.2.1",
62
- "@storybook/theming": "^7.4.4",
63
- "@typescript-eslint/eslint-plugin": "^6.7.2",
64
- "@typescript-eslint/parser": "^6.7.2",
65
- "@xylabs/eslint-config-react": "^3.0.55",
62
+ "@storybook/theming": "^7.4.5",
63
+ "@typescript-eslint/eslint-plugin": "^6.7.3",
64
+ "@typescript-eslint/parser": "^6.7.3",
65
+ "@xylabs/eslint-config-react": "^3.0.70",
66
66
  "@xylabs/pixel": "^1.4.14",
67
- "@xylabs/ts-scripts-yarn3": "^3.0.55",
68
- "@xylabs/tsconfig-react": "^3.0.55",
69
- "axios": "^1.5.0",
70
- "eslint": "^8.49.0",
67
+ "@xylabs/ts-scripts-yarn3": "^3.0.70",
68
+ "@xylabs/tsconfig-react": "^3.0.70",
69
+ "axios": "^1.5.1",
70
+ "eslint": "^8.50.0",
71
71
  "eslint-import-resolver-typescript": "^3.6.1",
72
72
  "eslint-plugin-deprecation": "^2.0.0",
73
73
  "eslint-plugin-import": "^2.28.1",
@@ -76,7 +76,7 @@
76
76
  "react-dom": "^18.2.0",
77
77
  "remark-gfm": "^3.0.1",
78
78
  "rimraf": "^4.4.1",
79
- "storybook": "^7.4.4",
79
+ "storybook": "^7.4.5",
80
80
  "storybook-dark-mode": "^3.0.1",
81
81
  "typescript": "^5.2.2",
82
82
  "webpack": "^5.88.2"
@@ -105,16 +105,23 @@
105
105
  }
106
106
  },
107
107
  "browser": {
108
- "types": "./dist/browser/index.d.ts",
109
- "default": "./dist/browser/index.js"
108
+ "import": {
109
+ "types": "./dist/browser/index.d.ts",
110
+ "default": "./dist/browser/index.js"
111
+ },
112
+ "require": {
113
+ "types": "./dist/browser/index.d.ts",
114
+ "default": "./dist/browser/index.cjs"
115
+ }
110
116
  },
111
117
  "default": "./dist/browser/index.js"
112
118
  },
113
- "./dist/docs.json": {
119
+ "./docs": {
114
120
  "default": "./dist/docs.json"
115
121
  },
116
122
  "./package.json": "./package.json"
117
123
  },
124
+ "types": "dist/browser/index.d.ts",
118
125
  "main": "./dist/browser/index.js",
119
126
  "module": "./dist/browser/index.js",
120
127
  "homepage": "https://xylabs.com",
@@ -131,13 +138,15 @@
131
138
  "type": "git",
132
139
  "url": "https://github.com/xylabs/sdk-react.git"
133
140
  },
141
+ "resolutions": {
142
+ "@xylabs/buffer": "2.11.13"
143
+ },
134
144
  "scripts": {
135
145
  "build-storybook": "storybook build",
136
146
  "start": "storybook dev -p 6006"
137
147
  },
138
148
  "sideEffects": false,
139
- "types": "dist/index.d.ts",
140
- "version": "3.0.1",
149
+ "version": "3.0.3",
141
150
  "packageManager": "yarn@3.6.1",
142
151
  "volta": {
143
152
  "node": "18.17.1",