@meduza/ui-kit-2 0.4.13 → 0.4.15
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 +3 -33
- 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 +3 -33
- package/dist/ui-kit-2.esm.js.map +1 -1
- package/dist/ui-kit.css +104 -41
- package/package.json +7 -6
- package/src/Footnote/Footnote.module.css +46 -6
- package/src/Footnote/Footnote.stories.tsx +26 -9
- package/src/Popover/Popover.module.css +47 -29
- package/src/Popover/Popover.stories.tsx +25 -1
- package/src/Popover/index.tsx +1 -21
- package/src/RichTitle/RichTitle.module.css +16 -6
package/dist/ui-kit-2.esm.js
CHANGED
|
@@ -483,7 +483,7 @@ const Image = ({
|
|
|
483
483
|
})));
|
|
484
484
|
};
|
|
485
485
|
|
|
486
|
-
var styles$B = {"root":"Popover-module_root__nBiV4","fadeOut":"Popover-module_fadeOut__Y88V7","visible":"Popover-module_visible__XVQLW","fadeIn":"Popover-module_fadeIn__FK1gd","overlay":"Popover-module_overlay__NAPar","container":"Popover-module_container__y4SB1","disappear":"Popover-module_disappear__uUn2b","dismiss":"Popover-module_dismiss__W8KFF","
|
|
486
|
+
var styles$B = {"root":"Popover-module_root__nBiV4","fadeOut":"Popover-module_fadeOut__Y88V7","visible":"Popover-module_visible__XVQLW","fadeIn":"Popover-module_fadeIn__FK1gd","overlay":"Popover-module_overlay__NAPar","container":"Popover-module_container__y4SB1","disappear":"Popover-module_disappear__uUn2b","dismiss":"Popover-module_dismiss__W8KFF","appear":"Popover-module_appear__b-CZ2","body":"Popover-module_body__UJEZf"};
|
|
487
487
|
|
|
488
488
|
const Popover = ({
|
|
489
489
|
children,
|
|
@@ -526,37 +526,7 @@ const Popover = ({
|
|
|
526
526
|
className: styles$B.dismiss,
|
|
527
527
|
onClick: () => handleClose(),
|
|
528
528
|
"aria-label": "dismiss"
|
|
529
|
-
}), /*#__PURE__*/React.createElement("
|
|
530
|
-
width: "100%",
|
|
531
|
-
className: styles$B.background
|
|
532
|
-
}, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("mask", {
|
|
533
|
-
id: "myMask",
|
|
534
|
-
x: "0",
|
|
535
|
-
y: "0",
|
|
536
|
-
width: "100%",
|
|
537
|
-
height: "100%"
|
|
538
|
-
}, /*#__PURE__*/React.createElement("rect", {
|
|
539
|
-
fill: "white",
|
|
540
|
-
y: "0",
|
|
541
|
-
width: "100%",
|
|
542
|
-
height: "100%",
|
|
543
|
-
x: "0"
|
|
544
|
-
}), /*#__PURE__*/React.createElement("svg", {
|
|
545
|
-
x: "50%",
|
|
546
|
-
overflow: "visible"
|
|
547
|
-
}, /*#__PURE__*/React.createElement("g", {
|
|
548
|
-
transform: "translate(-12 0)"
|
|
549
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
550
|
-
d: "M4.61852778e-14,9.76996262e-15 L9.84597532,5.80270273 C11.0992017,6.54128882 12.6546044,6.54128882 13.9078308,5.80270273 L23.7538061,9.76996262e-15 L4.61852778e-14,9.76996262e-15 Z"
|
|
551
|
-
}))))), /*#__PURE__*/React.createElement("rect", {
|
|
552
|
-
fill: "#F7F7F7",
|
|
553
|
-
id: "base-mask",
|
|
554
|
-
mask: "url(#myMask)",
|
|
555
|
-
x: "0",
|
|
556
|
-
y: "0",
|
|
557
|
-
width: "100%",
|
|
558
|
-
height: "100%"
|
|
559
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
529
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
560
530
|
className: styles$B.body
|
|
561
531
|
}, children)));
|
|
562
532
|
};
|
|
@@ -1419,7 +1389,7 @@ const SimpleTitle = ({
|
|
|
1419
1389
|
}, first);
|
|
1420
1390
|
};
|
|
1421
1391
|
|
|
1422
|
-
var styles$j = {"root":"RichTitle-module_root__U5XQu","slide":"RichTitle-module_slide__eU9Ob","game":"RichTitle-module_game__S1csb","podcastMaterial":"RichTitle-module_podcastMaterial__AulVF","half":"RichTitle-module_half__yBMby","featured":"RichTitle-module_featured__ULNQn","isInMediaBlock":"RichTitle-module_isInMediaBlock__2h6rl","mobile":"RichTitle-module_mobile__W5L9E","desktop":"RichTitle-module_desktop__k0PkC"};
|
|
1392
|
+
var styles$j = {"root":"RichTitle-module_root__U5XQu","slide":"RichTitle-module_slide__eU9Ob","game":"RichTitle-module_game__S1csb","podcastMaterial":"RichTitle-module_podcastMaterial__AulVF","half":"RichTitle-module_half__yBMby","featured":"RichTitle-module_featured__ULNQn","isInMediaBlock":"RichTitle-module_isInMediaBlock__2h6rl","isInPodcastPlayer":"RichTitle-module_isInPodcastPlayer__kvEPH","mobile":"RichTitle-module_mobile__W5L9E","desktop":"RichTitle-module_desktop__k0PkC"};
|
|
1423
1393
|
|
|
1424
1394
|
const RichTitle = ({
|
|
1425
1395
|
block: {
|