@meduza/ui-kit-2 0.1.62 → 0.1.65

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.
@@ -649,9 +649,7 @@ var DotsOnImage = function DotsOnImage(_ref) {
649
649
  ratio = _useState[0],
650
650
  setRatio = _useState[1];
651
651
 
652
- var _useInView = reactIntersectionObserver.useInView({
653
- threshold: 0.5
654
- }),
652
+ var _useInView = reactIntersectionObserver.useInView(),
655
653
  ref = _useInView[0],
656
654
  inView = _useInView[1],
657
655
  entry = _useInView[2];
@@ -1009,7 +1007,7 @@ var Dropdown = function Dropdown(_ref2) {
1009
1007
  }, children);
1010
1008
  };
1011
1009
 
1012
- var toolbarStyles = {"root":"Toolbar-module_root__2HF2r","list":"Toolbar-module_list__1n5ny","item":"Toolbar-module_item__36x7d","isInTopbar":"Toolbar-module_isInTopbar__223iP","center":"Toolbar-module_center__3_H8M","game":"Toolbar-module_game__5-jY_","gameSurvey":"Toolbar-module_gameSurvey__1hQEz","dark":"Toolbar-module_dark__2Ejc9"};
1010
+ var toolbarStyles = {"root":"Toolbar-module_root__2HF2r","list":"Toolbar-module_list__1n5ny","item":"Toolbar-module_item__36x7d","isInTopbar":"Toolbar-module_isInTopbar__223iP","center":"Toolbar-module_center__3_H8M","game":"Toolbar-module_game__5-jY_","gameSurvey":"Toolbar-module_gameSurvey__1hQEz","isDark":"Toolbar-module_isDark__k1U0i","dark":"Toolbar-module_dark__2Ejc9"};
1013
1011
 
1014
1012
  var Toolbar = function Toolbar(_ref) {
1015
1013
  var children = _ref.children,
@@ -1489,7 +1487,7 @@ var SimpleTitle = function SimpleTitle(_ref) {
1489
1487
  classNames = makeStyleContext(classNames, styleContext, styles$l);
1490
1488
  }
1491
1489
 
1492
- return React__default.createElement("div", {
1490
+ return React__default.createElement("h1", {
1493
1491
  "data-testid": "simple-title",
1494
1492
  className: makeClassName(classNames)
1495
1493
  }, first);
@@ -1519,7 +1517,7 @@ var RichTitle = function RichTitle(_ref) {
1519
1517
  }, first, second && React__default.createElement("span", null, " ", second));
1520
1518
  };
1521
1519
 
1522
- var styles$n = {"p":"SimpleBlock-module_p__Q3azD","h2":"SimpleBlock-module_h2__S0LRs","h3":"SimpleBlock-module_h3__2Kv7Y","h4":"SimpleBlock-module_h4__2TJO3","lead":"SimpleBlock-module_lead__35nXx","lead_hr":"SimpleBlock-module_lead_hr__1yD5v","context_p":"SimpleBlock-module_context_p__33saY","blockquote":"SimpleBlock-module_blockquote__pwpcX","game":"SimpleBlock-module_game__2sjgl","slide":"SimpleBlock-module_slide__Aqgfu","dark":"SimpleBlock-module_dark__1J_ov","isInIntro":"SimpleBlock-module_isInIntro__DfutD","center":"SimpleBlock-module_center__2rjif","isInImportantLead":"SimpleBlock-module_isInImportantLead__3VGzT","isInAnswer":"SimpleBlock-module_isInAnswer__3aX6X","mobile":"SimpleBlock-module_mobile__Ckgek","desktop":"SimpleBlock-module_desktop__2se2o"};
1520
+ var styles$n = {"p":"SimpleBlock-module_p__Q3azD","h2":"SimpleBlock-module_h2__S0LRs","h3":"SimpleBlock-module_h3__2Kv7Y","h4":"SimpleBlock-module_h4__2TJO3","lead":"SimpleBlock-module_lead__35nXx","lead_hr":"SimpleBlock-module_lead_hr__1yD5v","context_p":"SimpleBlock-module_context_p__33saY","blockquote":"SimpleBlock-module_blockquote__pwpcX","game":"SimpleBlock-module_game__2sjgl","slide":"SimpleBlock-module_slide__Aqgfu","dark":"SimpleBlock-module_dark__1J_ov","isInIntro":"SimpleBlock-module_isInIntro__DfutD","center":"SimpleBlock-module_center__2rjif","isInImportantLead":"SimpleBlock-module_isInImportantLead__3VGzT","isInAnswer":"SimpleBlock-module_isInAnswer__3aX6X","mobile":"SimpleBlock-module_mobile__Ckgek","desktop":"SimpleBlock-module_desktop__2se2o","isDark":"SimpleBlock-module_isDark__22q5s"};
1523
1521
 
1524
1522
  var SimpleBlock = function SimpleBlock(_ref) {
1525
1523
  var _ref$block = _ref.block,
@@ -1624,7 +1622,7 @@ var RelatedBlock = function RelatedBlock(_ref) {
1624
1622
  })));
1625
1623
  };
1626
1624
 
1627
- var styles$q = {"root":"SourceBlock-module_root__1P3XD","text":"SourceBlock-module_text__Si4vm","origin":"SourceBlock-module_origin__l3JbO","center":"SourceBlock-module_center__3P93B","mobile":"SourceBlock-module_mobile__2gw4S","desktop":"SourceBlock-module_desktop__DecT6"};
1625
+ var styles$q = {"root":"SourceBlock-module_root__1P3XD","text":"SourceBlock-module_text__Si4vm","origin":"SourceBlock-module_origin__l3JbO","center":"SourceBlock-module_center__3P93B","mobile":"SourceBlock-module_mobile__2gw4S","desktop":"SourceBlock-module_desktop__DecT6","isDark":"SourceBlock-module_isDark__3hEEp"};
1628
1626
 
1629
1627
  var SourceBlock = function SourceBlock(_ref) {
1630
1628
  var _ref$block = _ref.block,
@@ -2535,7 +2533,7 @@ var RawHtmlBlock = function RawHtmlBlock(_ref) {
2535
2533
  }
2536
2534
  };
2537
2535
 
2538
- var styles$B = {"root":"ToolbarButton-module_root__xN-fq","dark":"ToolbarButton-module_dark__GrIOr","bookmark":"ToolbarButton-module_bookmark__3369b","isActive":"ToolbarButton-module_isActive__3NLAE","text":"ToolbarButton-module_text__32m6s"};
2536
+ var styles$B = {"root":"ToolbarButton-module_root__xN-fq","isDark":"ToolbarButton-module_isDark__2q5U7","dark":"ToolbarButton-module_dark__GrIOr","bookmark":"ToolbarButton-module_bookmark__3369b","isActive":"ToolbarButton-module_isActive__3NLAE","text":"ToolbarButton-module_text__32m6s"};
2539
2537
 
2540
2538
  var ToolbarButton = function ToolbarButton(_ref) {
2541
2539
  var children = _ref.children,