@meduza/ui-kit-2 0.9.0 → 0.9.1
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/ui-kit-2.cjs.development.js +2 -2
- package/dist/ui-kit-2.cjs.development.js.map +1 -1
- package/dist/ui-kit-2.cjs.production.min.js +1 -1
- package/dist/ui-kit-2.cjs.production.min.js.map +1 -1
- package/dist/ui-kit-2.esm.js +2 -2
- package/dist/ui-kit-2.esm.js.map +1 -1
- package/dist/ui-kit-game.css +3 -1
- package/dist/ui-kit.css +3 -1
- package/package.json +1 -1
- package/src/EmbedBlock/EmbedBlock.module.css +2 -0
- package/src/EmbedBlock/EmbedBlock.tsx +7 -1
package/dist/ui-kit-game.css
CHANGED
|
@@ -2743,14 +2743,16 @@
|
|
|
2743
2743
|
|
|
2744
2744
|
.EmbedBlock-module_wrapper__ynT7R {
|
|
2745
2745
|
position: relative;
|
|
2746
|
+
}
|
|
2746
2747
|
|
|
2748
|
+
.EmbedBlock-module_wrapper__ynT7R.EmbedBlock-module_isProportional__x8-8g {
|
|
2747
2749
|
width: 100%;
|
|
2748
2750
|
max-height: 70vh;
|
|
2749
2751
|
}
|
|
2750
2752
|
|
|
2751
2753
|
@media only screen and (min-width: 40.625em) {
|
|
2752
2754
|
|
|
2753
|
-
.EmbedBlock-module_wrapper__ynT7R {
|
|
2755
|
+
.EmbedBlock-module_wrapper__ynT7R.EmbedBlock-module_isProportional__x8-8g {
|
|
2754
2756
|
max-height: 90vh;
|
|
2755
2757
|
}
|
|
2756
2758
|
}
|
package/dist/ui-kit.css
CHANGED
|
@@ -2743,14 +2743,16 @@
|
|
|
2743
2743
|
|
|
2744
2744
|
.EmbedBlock-module_wrapper__ynT7R {
|
|
2745
2745
|
position: relative;
|
|
2746
|
+
}
|
|
2746
2747
|
|
|
2748
|
+
.EmbedBlock-module_wrapper__ynT7R.EmbedBlock-module_isProportional__x8-8g {
|
|
2747
2749
|
width: 100%;
|
|
2748
2750
|
max-height: 70vh;
|
|
2749
2751
|
}
|
|
2750
2752
|
|
|
2751
2753
|
@media only screen and (min-width: 64em) {
|
|
2752
2754
|
|
|
2753
|
-
.EmbedBlock-module_wrapper__ynT7R {
|
|
2755
|
+
.EmbedBlock-module_wrapper__ynT7R.EmbedBlock-module_isProportional__x8-8g {
|
|
2754
2756
|
max-height: 90vh;
|
|
2755
2757
|
}
|
|
2756
2758
|
}
|
package/package.json
CHANGED
|
@@ -141,7 +141,13 @@ export const EmbedBlock: React.FC<EmbedBlockProps> = ({
|
|
|
141
141
|
<figure className={makeClassName(classNames)}>
|
|
142
142
|
{children && (
|
|
143
143
|
<div className={styles.object}>
|
|
144
|
-
<div
|
|
144
|
+
<div
|
|
145
|
+
className={makeClassName([
|
|
146
|
+
[styles.wrapper, true],
|
|
147
|
+
[styles.isProportional, isProportional]
|
|
148
|
+
])}
|
|
149
|
+
style={style}
|
|
150
|
+
>
|
|
145
151
|
<div className={styles.objectWrap}>{children}</div>
|
|
146
152
|
</div>
|
|
147
153
|
</div>
|