funuicss 3.7.15 → 3.7.16
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/css/fun.css +236 -1
- package/index.d.ts +1 -0
- package/index.js +3 -1
- package/package.json +1 -1
- package/ui/feature/Feature.d.ts +130 -0
- package/ui/feature/Feature.js +380 -0
- package/ui/footer/Footer.d.ts +1 -0
- package/ui/footer/Footer.js +6 -1
- package/ui/icons/Dynamic.d.ts +12 -0
- package/ui/icons/Dynamic.js +163 -0
- package/ui/theme/theme.d.ts +1 -0
- package/ui/theme/theme.js +571 -23
- package/ui/vista/Vista.js +8 -12
package/ui/vista/Vista.js
CHANGED
|
@@ -186,23 +186,19 @@ var Vista = function (localProps) {
|
|
|
186
186
|
position: 'relative',
|
|
187
187
|
width: '100%',
|
|
188
188
|
maxWidth: mediaSize || '100%',
|
|
189
|
-
aspectRatio: '16/9',
|
|
190
189
|
margin: '0 auto',
|
|
190
|
+
height: 'fit-content',
|
|
191
191
|
} },
|
|
192
|
-
react_1.default.createElement("
|
|
193
|
-
position: 'relative',
|
|
192
|
+
react_1.default.createElement("iframe", { src: final.iframeUrl, className: "vista-iframe ".concat(final.mediaCss || ''), style: {
|
|
194
193
|
width: '100%',
|
|
195
|
-
height: '
|
|
194
|
+
height: 'auto',
|
|
195
|
+
aspectRatio: '16/9',
|
|
196
|
+
border: 'none',
|
|
197
|
+
display: 'block', // Crucial for 'height: auto' to work reliably
|
|
196
198
|
filter: getFilterStyle(final.mediaFilter, final.mediaFilterValue),
|
|
197
199
|
mixBlendMode: final.mediaBlendMode,
|
|
198
|
-
} },
|
|
199
|
-
|
|
200
|
-
width: '100%',
|
|
201
|
-
height: '100%',
|
|
202
|
-
border: 'none',
|
|
203
|
-
display: 'block',
|
|
204
|
-
}, allowFullScreen: true, allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture", title: "Vista media content" }),
|
|
205
|
-
final.mediaOverlay && react_1.default.createElement("div", { style: overlayStyle })))),
|
|
200
|
+
}, allowFullScreen: true, allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture", title: "Vista media content" }),
|
|
201
|
+
final.mediaOverlay && react_1.default.createElement("div", { style: overlayStyle }))),
|
|
206
202
|
mediaType === 'image' && (final.media || final.mediaUrl) && (react_1.default.createElement("div", { style: { position: 'relative', width: '100%' } },
|
|
207
203
|
final.media ? (react_1.default.createElement("div", { style: { width: '100%', maxWidth: mediaSize, margin: '0 auto' } }, final.media)) : (react_1.default.createElement("img", { src: final.mediaUrl, alt: final.mediaAlt || 'Vista media', className: final.mediaCss || '', style: mediaStyle, loading: "lazy" })),
|
|
208
204
|
final.mediaOverlay && react_1.default.createElement("div", { style: overlayStyle })))));
|