@aws-amplify/ui-react 0.0.0-next-poc-202198192630
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/CHANGELOG.md +3 -0
- package/dist/esm/index.css +1 -0
- package/dist/esm/index.css.map +7 -0
- package/dist/esm/index.js +28 -0
- package/dist/esm/index.js.map +7 -0
- package/dist/esm/legacy.js +1 -0
- package/dist/esm/legacy.js.map +7 -0
- package/dist/index.css +1 -0
- package/dist/index.css.map +7 -0
- package/dist/index.d.ts +13687 -0
- package/dist/index.js +28 -0
- package/dist/index.js.map +7 -0
- package/dist/legacy.d.ts +1 -0
- package/dist/legacy.js +1 -0
- package/dist/legacy.js.map +7 -0
- package/legacy/package.json +7 -0
- package/package.json +65 -0
package/dist/legacy.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AmplifyAuthenticator, AmplifyChatbot, AmplifyPhotoPicker, AmplifyPicker, AmplifyS3Album, AmplifyS3Image, AmplifyS3ImagePicker, AmplifyS3Text, AmplifyS3TextPicker, withAuthenticator } from '@aws-amplify/ui-react-v1';
|
package/dist/legacy.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var a=Object.create;var r=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var y=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty;var f=t=>r(t,"__esModule",{value:!0});var h=(t,m)=>{f(t);for(var e in m)r(t,e,{get:m[e],enumerable:!0})},P=(t,m,e)=>{if(m&&typeof m=="object"||typeof m=="function")for(let p of o(m))!c.call(t,p)&&p!=="default"&&r(t,p,{get:()=>m[p],enumerable:!(e=l(m,p))||e.enumerable});return t},A=t=>P(f(r(t!=null?a(y(t)):{},"default",t&&t.__esModule&&"default"in t?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t);h(exports,{AmplifyAuthenticator:()=>i.AmplifyAuthenticator,AmplifyChatbot:()=>i.AmplifyChatbot,AmplifyPhotoPicker:()=>i.AmplifyPhotoPicker,AmplifyPicker:()=>i.AmplifyPicker,AmplifyS3Album:()=>i.AmplifyS3Album,AmplifyS3Image:()=>i.AmplifyS3Image,AmplifyS3ImagePicker:()=>i.AmplifyS3ImagePicker,AmplifyS3Text:()=>i.AmplifyS3Text,AmplifyS3TextPicker:()=>i.AmplifyS3TextPicker,withAuthenticator:()=>i.withAuthenticator});var S=A(require("react"));var i=A(require("@aws-amplify/ui-react-v1"));0&&(module.exports={AmplifyAuthenticator,AmplifyChatbot,AmplifyPhotoPicker,AmplifyPicker,AmplifyS3Album,AmplifyS3Image,AmplifyS3ImagePicker,AmplifyS3Text,AmplifyS3TextPicker,withAuthenticator});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/legacy.tsx", "../src/globals.js"],
|
|
4
|
+
"sourcesContent": ["export {\n /** @deprecated `AmplifyAuthenticator` is the v1 release. Prefer the latest `Authenticator` for continued support. */\n AmplifyAuthenticator,\n AmplifyChatbot,\n AmplifyPhotoPicker,\n AmplifyPicker,\n AmplifyS3Album,\n AmplifyS3Image,\n AmplifyS3ImagePicker,\n AmplifyS3Text,\n AmplifyS3TextPicker,\n /** @deprecated `withAuthenticator` from legacy. Prefer the latest `withAuthenticator` release for continued support. */\n withAuthenticator,\n} from '@aws-amplify/ui-react-v1';\n", "/**\n * This shim exists for `esbuild` to `inject` into every .tsx file.\n * Otherwise, `import * as React from 'react'` would need to be added manually\n *\n * See: https://esbuild.github.io/content-types/#auto-import-for-jsx\n * See: https://github.com/egoist/tsup/issues/390\n */\n\nimport * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": "mlBAAA,iaCQA,MAAuB,oBDRvB,MAaO",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@aws-amplify/ui-react",
|
|
3
|
+
"version": "0.0.0-next-poc-202198192630",
|
|
4
|
+
"main": "dist/index.js",
|
|
5
|
+
"module": "dist/esm/index.js",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": "./dist/esm/index.js",
|
|
8
|
+
"./legacy": "./dist/esm/legacy.js",
|
|
9
|
+
"./styles.css": "./dist/index.css"
|
|
10
|
+
},
|
|
11
|
+
"browser": {
|
|
12
|
+
"./styles.css": "./dist/index.css"
|
|
13
|
+
},
|
|
14
|
+
"types": "dist/index.d.ts",
|
|
15
|
+
"files": [
|
|
16
|
+
"dist",
|
|
17
|
+
"legacy"
|
|
18
|
+
],
|
|
19
|
+
"scripts": {
|
|
20
|
+
"prebuild": "rimraf dist",
|
|
21
|
+
"build": "tsup --minify",
|
|
22
|
+
"dev": "tsup --watch src",
|
|
23
|
+
"update:icons": "node scripts/updateIcons.js",
|
|
24
|
+
"build:icons": "yarn run clean:icons && node scripts/generateIcons.js",
|
|
25
|
+
"clean": "rimraf dist",
|
|
26
|
+
"clean:icons": "rimraf ./src/primitives/Icon/icons",
|
|
27
|
+
"primitives:new": "hygen primitives new",
|
|
28
|
+
"test": "yarn test:unit",
|
|
29
|
+
"test:watch": "yarn test:unit:watch",
|
|
30
|
+
"test:unit": "jest",
|
|
31
|
+
"test:unit:watch": "jest --watch"
|
|
32
|
+
},
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"@aws-amplify/ui": "0.0.0-next-poc-202198192630",
|
|
35
|
+
"@aws-amplify/ui-react-v1": "npm:@aws-amplify/ui-react@1.2.9",
|
|
36
|
+
"@radix-ui/react-id": "^0.1.0",
|
|
37
|
+
"@radix-ui/react-tabs": "0.0.16",
|
|
38
|
+
"@xstate/react": "^1.4.0",
|
|
39
|
+
"autoprefixer": "^10.3.1",
|
|
40
|
+
"classnames": "^2.3.1",
|
|
41
|
+
"deepmerge": "^4.2.2",
|
|
42
|
+
"postcss-js": "^3.0.3",
|
|
43
|
+
"qrcode": "^1.4.4"
|
|
44
|
+
},
|
|
45
|
+
"peerDependencies": {
|
|
46
|
+
"aws-amplify": "3.x.x || 4.x.x",
|
|
47
|
+
"react": ">= 16.8.0",
|
|
48
|
+
"react-dom": ">= 16.8.0"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@testing-library/jest-dom": "^5.14.1",
|
|
52
|
+
"@testing-library/react": "^12.0.0",
|
|
53
|
+
"@testing-library/react-hooks": "^7.0.1",
|
|
54
|
+
"@testing-library/user-event": "^13.2.1",
|
|
55
|
+
"@types/jest": "^26.0.23",
|
|
56
|
+
"@types/testing-library__jest-dom": "^5.14.1",
|
|
57
|
+
"degit": "^2.8.4",
|
|
58
|
+
"hygen": "^6.1.0",
|
|
59
|
+
"jest": "^27.0.4",
|
|
60
|
+
"jest-matchmedia-mock": "^1.1.0",
|
|
61
|
+
"rimraf": "^3.0.2",
|
|
62
|
+
"ts-jest": "^27.0.3",
|
|
63
|
+
"typescript": "^4.3.2"
|
|
64
|
+
}
|
|
65
|
+
}
|