kui-complex 0.0.128 → 0.0.130

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/index.js CHANGED
@@ -1238,11 +1238,11 @@ var columnDirectionCSS = function (_a) {
1238
1238
  };
1239
1239
  var rowDirectionCSS = function (_a) {
1240
1240
  var hasError = _a.hasError, withTitle = _a.withTitle;
1241
- return css(templateObject_3$4 || (templateObject_3$4 = __makeTemplateObject(["\n padding: ", ";\n border-radius: ", ";\n"], ["\n padding: ", ";\n border-radius: ", ";\n"])), withTitle ? "3px 4px 3px 16px" : "3px", hasError ? "66px 66px 0 0" : "66px");
1241
+ return css(templateObject_3$4 || (templateObject_3$4 = __makeTemplateObject(["\n padding: ", ";\n border-radius: ", ";\n"], ["\n padding: ", ";\n border-radius: ", ";\n"])), withTitle ? "3px 4px 3px 16px" : "3px", hasError ? "8px 8px 0 0" : "66px");
1242
1242
  };
1243
1243
  var StyledWrapper$6 = styled(Grid, {
1244
1244
  shouldForwardProp: function (prop) { return prop !== "hasError" && prop !== "withTitle"; },
1245
- })(templateObject_4$3 || (templateObject_4$3 = __makeTemplateObject(["\n border: 1px solid\n ", ";\n ", ";\n"], ["\n border: 1px solid\n ", ";\n ", ";\n"])), function (_a) {
1245
+ })(templateObject_4$3 || (templateObject_4$3 = __makeTemplateObject(["\n border: 1px solid\n ", ";\n ", ";\n @media (max-width: ", "px) {\n flex-direction: column;\n align-items: flex-start;\n border-radius: 8px;\n padding: 8px 15px;\n }\n"], ["\n border: 1px solid\n ", ";\n ", ";\n @media (max-width: ", "px) {\n flex-direction: column;\n align-items: flex-start;\n border-radius: 8px;\n padding: 8px 15px;\n }\n"])), function (_a) {
1246
1246
  var hasError = _a.hasError;
1247
1247
  return hasError ? theme.palette.red.fiftyP : theme.palette.grey.fifteenB;
1248
1248
  }, function (_a) {
@@ -1250,11 +1250,11 @@ var StyledWrapper$6 = styled(Grid, {
1250
1250
  return direction === "column"
1251
1251
  ? columnDirectionCSS({ hasError: hasError })
1252
1252
  : rowDirectionCSS({ hasError: hasError, withTitle: withTitle });
1253
- });
1254
- var StyledTitle = styled(Caption)(templateObject_5$2 || (templateObject_5$2 = __makeTemplateObject(["\n margin-bottom: ", "px;\n"], ["\n margin-bottom: ", "px;\n"])), function (_a) {
1253
+ }, theme.breakpoints.sm);
1254
+ var StyledTitle = styled(Caption)(templateObject_5$2 || (templateObject_5$2 = __makeTemplateObject(["\n margin-bottom: ", "px;\n @media (max-width: ", "px) {\n margin-bottom: 8px;\n }\n"], ["\n margin-bottom: ", "px;\n @media (max-width: ", "px) {\n margin-bottom: 8px;\n }\n"])), function (_a) {
1255
1255
  var direction = _a.direction;
1256
1256
  return (direction === "vertical" ? 8 : 0);
1257
- });
1257
+ }, theme.breakpoints.sm);
1258
1258
  var templateObject_1$a, templateObject_2$7, templateObject_3$4, templateObject_4$3, templateObject_5$2;
1259
1259
 
1260
1260
  var Loading = forwardRef(function (_a) {
@@ -1668,6 +1668,7 @@ function MapWrapper(_a) {
1668
1668
  var loader = new Loader({
1669
1669
  apiKey: mapKey,
1670
1670
  libraries: ["places"],
1671
+ language: "ru",
1671
1672
  });
1672
1673
  var setStatusAndExecuteCallback_1 = function (newStatus) {
1673
1674
  setStatus(newStatus);