@ututrust/web-components 2.2.22-alpha.8 → 2.3.0-alpha.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/README.md +90 -1
- package/dist/{manifest.json → .vite/manifest.json} +4 -3
- package/dist/index.cjs +272 -234
- package/dist/index.css +1 -0
- package/dist/index.js +31683 -69145
- package/package.json +9 -8
- package/dist/style.css +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ututrust/web-components",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.3.0-alpha.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@preact/preset-vite": "^2.8.2",
|
|
28
28
|
"@rollup/plugin-terser": "^0.4.0",
|
|
29
29
|
"@unlock-protocol/contracts": "^0.0.22",
|
|
30
|
-
"@unlock-protocol/networks": "^0.0.
|
|
30
|
+
"@unlock-protocol/networks": "^0.0.25",
|
|
31
31
|
"@unlock-protocol/paywall": "^0.6.8",
|
|
32
32
|
"axios": "^1.3.4",
|
|
33
33
|
"browserify-zlib": "^0.2.0",
|
|
@@ -48,15 +48,16 @@
|
|
|
48
48
|
"react-loader-spinner": "^5.3.4",
|
|
49
49
|
"react-media-recorder": "github:utu-technologies/react-media-recorder#master",
|
|
50
50
|
"react-media-recorder-readable-storage": "github:utu-technologies/react-media-recorder-readable-storage",
|
|
51
|
+
"react-multi-carousel": "^2.8.6",
|
|
51
52
|
"react-stars": "^2.2.5",
|
|
52
53
|
"sass": "^1.49.9",
|
|
53
54
|
"stream-browserify": "^3.0.0",
|
|
54
55
|
"tus-js-client": "^2.3.0",
|
|
55
56
|
"tus-node-server": "^0.9.0",
|
|
56
57
|
"util": "^0.12.5",
|
|
57
|
-
"vite": "^
|
|
58
|
-
"vite-plugin-dts": "^
|
|
59
|
-
"vite-plugin-node-polyfills": "^0.
|
|
58
|
+
"vite": "^7.1.4",
|
|
59
|
+
"vite-plugin-dts": "^4.5.4",
|
|
60
|
+
"vite-plugin-node-polyfills": "^0.24.0",
|
|
60
61
|
"wagmi": "^0.12.0",
|
|
61
62
|
"web3modal": "^1.4.0"
|
|
62
63
|
},
|
|
@@ -85,7 +86,7 @@
|
|
|
85
86
|
"@typescript-eslint/parser": "^5.54.0",
|
|
86
87
|
"autoprefixer": "^10.4.13",
|
|
87
88
|
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
|
|
88
|
-
"browser-sync": "^
|
|
89
|
+
"browser-sync": "^3.0.4",
|
|
89
90
|
"buffer": "^6.0.3",
|
|
90
91
|
"del": "^6.0.0",
|
|
91
92
|
"dotenv": "^16.0.3",
|
|
@@ -97,14 +98,14 @@
|
|
|
97
98
|
"eslint-plugin-jsx-a11y": "^6.4.1",
|
|
98
99
|
"eslint-plugin-react": "^7.22.0",
|
|
99
100
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
100
|
-
"gulp": "^
|
|
101
|
+
"gulp": "^5.0.1",
|
|
101
102
|
"gulp-terser": "^2.0.1",
|
|
102
103
|
"jest": "^29.4.3",
|
|
103
104
|
"postcss": "^8.3.5",
|
|
104
105
|
"prettier": "^2.2.1",
|
|
105
106
|
"process": "^0.11.10",
|
|
106
107
|
"rollup": "^3.18.0",
|
|
107
|
-
"rollup-plugin-filesize": "^
|
|
108
|
+
"rollup-plugin-filesize": "^10.0.0",
|
|
108
109
|
"rollup-plugin-postcss": "^4.0.0",
|
|
109
110
|
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
110
111
|
"rollup-plugin-typescript-paths": "^1.5.0",
|
package/dist/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
p{margin-bottom:0}.x-utu-h3{text-transform:capitalize;font-weight:500;font-size:.9rem}.x-utu-h3-balance{text-transform:capitalize;font-weight:700;font-size:.9rem}.x-utu-error{color:#e80054}:host{margin:0;font-family:Roboto,system-ui,-apple-system,Segoe UI,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:14px;font-weight:300;line-height:1.5;color:#000;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:#000000}@keyframes spin{0%{transform:rotate(0)}50%{transform:rotate(180deg);border-top-color:#fce546;border-bottom-color:#9b9898;border-right-color:transparent;border-left-color:transparent}to{transform:rotate(360deg)}}.x-utu-spinner{margin:5px;display:inline-block;border:3px solid rgb(252,229,70);border-top-color:transparent;border-bottom-color:transparent;border-radius:50%;animation:spin 1s infinite}.x-utu-spinner-default-size{width:21px;height:21px}.x-utu-btn{padding:12px;border:none;border-radius:10px;font-size:14px;font-weight:500;font-family:Roboto,system-ui,-apple-system,Segoe UI,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.x-utu-btn-light,.x-utu-btn-dark{background-color:#fce546;color:#000!important}.x-utu-btn-round,.x-utu-btn-round-text{color:#fdfdfd!important}.x-utu-btn-icon{border:none;background:none;padding:0;font-family:Roboto,system-ui,-apple-system,Segoe UI,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-weight:500;font-size:14px}button.p{color:#fff}.submit-result,.submit-error,.submit-success{display:flex;flex-direction:column;justify-content:center;align-content:center;text-align:center}.logo-position-form{position:absolute;bottom:.3rem;right:22%;z-index:0}.logo-position-details{position:absolute;top:1rem;left:0;z-index:0;width:.5rem}.logo-position-player{position:absolute;bottom:-.5rem;left:22rem;z-index:0;display:none;width:.5rem}.logo-position-mobile{position:absolute;top:-1.5rem;right:4rem;z-index:2;width:.5rem}.logo-position-video{position:absolute;left:5%;bottom:3%}.logo-section,.logo-section-mobile{position:relative}.logo-size{width:5rem}.logo-video-section{position:relative}.logo-video-position{position:absolute;z-index:0;display:none;width:5rem;left:21rem;top:35.6rem}.x-utu-text-area{resize:vertical;min-height:8rem;border-radius:10px;border:none;padding:16px;font-weight:300;font-size:.9rem;background-color:#ffdd331a}.x-utu-video-icon{width:2rem;height:1.4rem}.x-utu-video-icon-dark,.x-utu-video-icon-light{fill:#000}@media only screen and (min-width: 768px){.x-utu-h3-balance,.x-utu-h3{font-size:.8rem}.x-utu-text-area{background-color:#ffdd331a}.logo-section{position:relative}.logo-section-mobile .logo-position-video{position:absolute;left:5%;bottom:5%}.logo-section-mobile .logo-section{position:relative}}.x-utu-border-radius{border-radius:5px}@media only screen and (min-width: 768px) and (max-width: 991px){.x-utu-btn{padding:10px;font-size:.9rem}}.x-utu-skeleton{background-color:#e2e5e7;background-image:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.5),rgba(255,255,255,0));background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;animation:shine 1s ease infinite}@keyframes shine{to{background-position:right -40px top 0}}.x-utu-description{background-color:#fcf8e5;padding:5px;margin-bottom:10px;width:100%;display:flex;flex-direction:row;flex-basis:content}.x-utu-details{width:70%;display:flex;flex-direction:column;margin:5px}.x-utu-icon{width:20%;min-height:70px;border-radius:4px;margin:auto}.x-utu-title{width:100%;min-height:28px;border-radius:4px;margin-bottom:5px;line-height:28px}.x-utu-information{min-height:42px;border-radius:4px;width:100%}.placeholder-card_wrapper{margin-bottom:.5rem}.placeholder-card{width:100%;display:flex;padding:2rem 2.5rem 2rem 1.5rem;background-color:#ffdd3326;min-height:10rem;border-radius:10px;margin-top:3%}.placeholder-icon{width:3rem}.placeholder-text-title{display:flex;text-align:left;padding-left:1rem;font-size:15px;align-items:center;margin:0 8px;white-space:pre-line;width:50px;inline-size:100%;font-style:italic;font-weight:500}.placeholder-text-body{display:flex;text-align:left;padding-left:1rem;font-size:15px;align-items:center;margin:.5rem 8px;white-space:pre-line;width:50px;inline-size:100%}.target-human-readable{padding:.5rem;font-size:17px;text-align:left;color:#000;font-family:sans-serif;font-weight:700}.video-msg{position:absolute}.trust-video{border:none;position:relative;object-fit:cover;width:100%;height:100%;transform:rotateY(180deg);-webkit-transform:rotateY(180deg);-moz-transform:rotateY(180deg)}.trust-video-container{width:25rem;height:40rem;position:relative}.trust-video-btn{padding:0!important;border:none!important;background:none!important}.trust-video-wrapper{width:100%;margin:auto;display:flex;flex-direction:column;justify-content:center;background-color:#fcf8e5;overflow:hidden;align-items:center;padding:2rem}.trust-video-wrapper:hover .trust-video-controls{visibility:visible;opacity:1}.trust-video-msg{display:flex;align-items:center}.trust-video-controls{position:relative;bottom:15%;margin-top:-10%;transform:translateY(-30%);border-radius:10px;align-items:center;justify-content:space-between;visibility:hidden;opacity:0;transition:all .25s ease-out;display:none}.trust-video-controls.show{display:flex}.trust-video-play{border-color:transparent;transition:.3s;margin:auto;margin-left:3rem;margin-right:3rem;line-height:1.5em;width:4em;height:4em;padding:.6rem .3rem .6rem .6rem;cursor:pointer;opacity:1;background-color:#fd3;font-size:.9rem;border-radius:50%;font:normal normal normal 18px/1}.trust-video-play:before{content:""}.trust-video-play.paused:before{content:""}.trust-video-play-btn{border-color:transparent}.trust-video-pause{border-color:transparent;transition:.3s;margin:auto;margin-left:3rem;margin-right:3rem;line-height:1.5em;width:4em;height:4em;padding:.6rem .4rem .6rem .6rem;cursor:pointer;opacity:1;background-color:#fd3;font-size:.9rem;border-radius:50%;font:normal normal normal 18px/1}.trust-video-pause:before{content:""}.trust-video-pause.paused:before{content:""}.trust-video-pause-btn{border-color:transparent}.trust-video-volume{border-color:transparent;color:#2b333fb3;font-size:1em;padding:.6rem;border-radius:20%;line-height:1.5em;width:3em;height:3em;background-color:#ffdd33b3;left:20px}.trust-video-fullscreen{border-color:transparent;color:#2b333fb3;font-size:.65em;line-height:2.5rem;padding:.6rem;width:5em;border-radius:20%;margin-right:5%;background-color:#ffdd33b3;right:20px}@media only screen and (min-width: 1280px){.trust-video-play,.trust-video-pause{margin-left:5rem;margin-right:5rem}.trust-video-controls{height:10em}}@media only screen and (max-width: 526px){.trust-video-play,.trust-video-pause{width:3em;height:3em;padding:.5rem .3rem .5rem .5rem}.trust-video-volume{width:2em;height:2em;padding:.4rem}.trust-video-fullscreen{width:3em;padding:.4rem}.trust-video-controls{transform:translateY(-100%)}}
|