@activecollab/components 1.0.319 → 1.0.320

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.
@@ -21,12 +21,13 @@ var EmptySlate = function EmptySlate(_ref) {
21
21
  rest = _objectWithoutProperties(_ref, _excluded);
22
22
  return /*#__PURE__*/_react.default.createElement(_EmptySlate.Container, _extends({}, rest, {
23
23
  role: "status"
24
- }), /*#__PURE__*/_react.default.createElement("img", {
24
+ }), /*#__PURE__*/_react.default.createElement(_EmptySlate.StyledImg, {
25
25
  src: src,
26
26
  alt: alt
27
27
  }), /*#__PURE__*/_react.default.createElement(_EmptySlate.SubContainer, null, /*#__PURE__*/_react.default.createElement(_EmptySlate.Title, {
28
28
  variant: "Title 1"
29
29
  }, title), description && /*#__PURE__*/_react.default.createElement(_EmptySlate.Description, {
30
+ color: "secondary",
30
31
  variant: "Body 1"
31
32
  }, description), children));
32
33
  };
@@ -1 +1 @@
1
- {"version":3,"file":"EmptySlate.js","names":["EmptySlate","title","description","src","alt","children","rest","Footer","EmptySlateFooter","displayName"],"sources":["../../../../src/components/EmptySlate/EmptySlate.tsx"],"sourcesContent":["import React, { HTMLAttributes } from \"react\";\nimport {\n Container,\n Description,\n SubContainer,\n Title,\n} from \"./EmptySlate.styles\";\nimport { EmptySlateFooter } from \"./EmptySlateFooter\";\n\nexport interface EmptySlateProps extends HTMLAttributes<HTMLDivElement> {\n src: string;\n alt: string;\n title: string;\n description?: string;\n}\n\nexport const EmptySlate = ({\n title,\n description,\n src,\n alt,\n children,\n ...rest\n}: EmptySlateProps) => {\n return (\n <Container {...rest} role=\"status\">\n <img src={src} alt={alt} />\n <SubContainer>\n <Title variant=\"Title 1\">{title}</Title>\n {description && (\n <Description variant=\"Body 1\">{description}</Description>\n )}\n\n {children}\n </SubContainer>\n </Container>\n );\n};\n\nEmptySlate.Footer = EmptySlateFooter;\n\nEmptySlate.displayName = \"EmptySlate\";\n"],"mappings":";;;;;;AAAA;AACA;AAMA;AAAsD;AAAA;AAAA;AAAA;AAAA;AAS/C,IAAMA,UAAU,GAAG,SAAbA,UAAU,OAOA;EAAA,IANrBC,KAAK,QAALA,KAAK;IACLC,WAAW,QAAXA,WAAW;IACXC,GAAG,QAAHA,GAAG;IACHC,GAAG,QAAHA,GAAG;IACHC,QAAQ,QAARA,QAAQ;IACLC,IAAI;EAEP,oBACE,6BAAC,qBAAS,eAAKA,IAAI;IAAE,IAAI,EAAC;EAAQ,iBAChC;IAAK,GAAG,EAAEH,GAAI;IAAC,GAAG,EAAEC;EAAI,EAAG,eAC3B,6BAAC,wBAAY,qBACX,6BAAC,iBAAK;IAAC,OAAO,EAAC;EAAS,GAAEH,KAAK,CAAS,EACvCC,WAAW,iBACV,6BAAC,uBAAW;IAAC,OAAO,EAAC;EAAQ,GAAEA,WAAW,CAC3C,EAEAG,QAAQ,CACI,CACL;AAEhB,CAAC;AAAC;AAEFL,UAAU,CAACO,MAAM,GAAGC,kCAAgB;AAEpCR,UAAU,CAACS,WAAW,GAAG,YAAY"}
1
+ {"version":3,"file":"EmptySlate.js","names":["EmptySlate","title","description","src","alt","children","rest","Footer","EmptySlateFooter","displayName"],"sources":["../../../../src/components/EmptySlate/EmptySlate.tsx"],"sourcesContent":["import React, { HTMLAttributes } from \"react\";\nimport {\n Container,\n Description,\n SubContainer,\n Title,\n StyledImg,\n} from \"./EmptySlate.styles\";\nimport { EmptySlateFooter } from \"./EmptySlateFooter\";\n\nexport interface EmptySlateProps extends HTMLAttributes<HTMLDivElement> {\n src: string;\n alt: string;\n title: string;\n description?: string;\n}\n\nexport const EmptySlate = ({\n title,\n description,\n src,\n alt,\n children,\n ...rest\n}: EmptySlateProps) => {\n return (\n <Container {...rest} role=\"status\">\n <StyledImg src={src} alt={alt} />\n <SubContainer>\n <Title variant=\"Title 1\">{title}</Title>\n {description && (\n <Description color=\"secondary\" variant=\"Body 1\">\n {description}\n </Description>\n )}\n\n {children}\n </SubContainer>\n </Container>\n );\n};\n\nEmptySlate.Footer = EmptySlateFooter;\n\nEmptySlate.displayName = \"EmptySlate\";\n"],"mappings":";;;;;;AAAA;AACA;AAOA;AAAsD;AAAA;AAAA;AAAA;AAAA;AAS/C,IAAMA,UAAU,GAAG,SAAbA,UAAU,OAOA;EAAA,IANrBC,KAAK,QAALA,KAAK;IACLC,WAAW,QAAXA,WAAW;IACXC,GAAG,QAAHA,GAAG;IACHC,GAAG,QAAHA,GAAG;IACHC,QAAQ,QAARA,QAAQ;IACLC,IAAI;EAEP,oBACE,6BAAC,qBAAS,eAAKA,IAAI;IAAE,IAAI,EAAC;EAAQ,iBAChC,6BAAC,qBAAS;IAAC,GAAG,EAAEH,GAAI;IAAC,GAAG,EAAEC;EAAI,EAAG,eACjC,6BAAC,wBAAY,qBACX,6BAAC,iBAAK;IAAC,OAAO,EAAC;EAAS,GAAEH,KAAK,CAAS,EACvCC,WAAW,iBACV,6BAAC,uBAAW;IAAC,KAAK,EAAC,WAAW;IAAC,OAAO,EAAC;EAAQ,GAC5CA,WAAW,CAEf,EAEAG,QAAQ,CACI,CACL;AAEhB,CAAC;AAAC;AAEFL,UAAU,CAACO,MAAM,GAAGC,kCAAgB;AAEpCR,UAAU,CAACS,WAAW,GAAG,YAAY"}
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.Title = exports.SubContainer = exports.FooterContainer = exports.Description = exports.Container = void 0;
6
+ exports.Title = exports.SubContainer = exports.StyledImg = exports.FooterContainer = exports.Description = exports.Container = void 0;
7
7
  var _styledComponents = _interopRequireDefault(require("styled-components"));
8
8
  var _Typography = require("../Typography/Typography");
9
9
  var _BreakPoints = require("../BreakPoints");
@@ -18,19 +18,24 @@ var SubContainer = _styledComponents.default.div.withConfig({
18
18
  componentId: "sc-jfbqky-1"
19
19
  })(["display:flex;align-items:center;flex-direction:column;justify-content:center;max-width:400px;", "{align-items:flex-start;}"], _BreakPoints.screen.lg);
20
20
  exports.SubContainer = SubContainer;
21
+ var StyledImg = _styledComponents.default.img.withConfig({
22
+ displayName: "EmptySlatestyles__StyledImg",
23
+ componentId: "sc-jfbqky-2"
24
+ })(["width:280px;height:280px;"]);
25
+ exports.StyledImg = StyledImg;
21
26
  var Title = (0, _styledComponents.default)(_Typography.Typography).withConfig({
22
27
  displayName: "EmptySlatestyles__Title",
23
- componentId: "sc-jfbqky-2"
28
+ componentId: "sc-jfbqky-3"
24
29
  })(["margin-block-end:8px;text-align:center;", "{text-align:start;}"], _BreakPoints.screen.lg);
25
30
  exports.Title = Title;
26
31
  var Description = (0, _styledComponents.default)(_Typography.Typography).withConfig({
27
32
  displayName: "EmptySlatestyles__Description",
28
- componentId: "sc-jfbqky-3"
33
+ componentId: "sc-jfbqky-4"
29
34
  })(["text-align:center;", "{text-align:start;}"], _BreakPoints.screen.lg);
30
35
  exports.Description = Description;
31
36
  var FooterContainer = _styledComponents.default.div.withConfig({
32
37
  displayName: "EmptySlatestyles__FooterContainer",
33
- componentId: "sc-jfbqky-4"
38
+ componentId: "sc-jfbqky-5"
34
39
  })(["margin-block-start:24px;display:flex;flex-direction:column;gap:12px;align-items:center;", "{flex-direction:row;}"], _BreakPoints.screen.lg);
35
40
  exports.FooterContainer = FooterContainer;
36
41
  //# sourceMappingURL=EmptySlate.styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EmptySlate.styles.js","names":["Container","styled","div","screen","lg","SubContainer","Title","Typography","Description","FooterContainer"],"sources":["../../../../src/components/EmptySlate/EmptySlate.styles.ts"],"sourcesContent":["import styled from \"styled-components\";\nimport { Typography } from \"../Typography/Typography\";\nimport { screen } from \"../BreakPoints\";\n\nexport const Container = styled.div`\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: center;\n text-align: center;\n gap: 24px;\n\n ${screen.lg} {\n flex-direction: row;\n }\n`;\n\nexport const SubContainer = styled.div`\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: center;\n max-width: 400px;\n\n ${screen.lg} {\n align-items: flex-start;\n }\n`;\n\nexport const Title = styled(Typography)`\n margin-block-end: 8px;\n text-align: center;\n\n ${screen.lg} {\n text-align: start;\n }\n`;\n\nexport const Description = styled(Typography)`\n text-align: center;\n\n ${screen.lg} {\n text-align: start;\n }\n`;\n\nexport const FooterContainer = styled.div`\n margin-block-start: 24px;\n display: flex;\n flex-direction: column;\n gap: 12px;\n align-items: center;\n\n ${screen.lg} {\n flex-direction: row;\n }\n`;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AAAwC;AAEjC,IAAMA,SAAS,GAAGC,yBAAM,CAACC,GAAG;EAAA;EAAA;AAAA,0IAQ/BC,mBAAM,CAACC,EAAE,CAGZ;AAAC;AAEK,IAAMC,YAAY,GAAGJ,yBAAM,CAACC,GAAG;EAAA;EAAA;AAAA,mIAOlCC,mBAAM,CAACC,EAAE,CAGZ;AAAC;AAEK,IAAME,KAAK,GAAG,IAAAL,yBAAM,EAACM,sBAAU,CAAC;EAAA;EAAA;AAAA,uEAInCJ,mBAAM,CAACC,EAAE,CAGZ;AAAC;AAEK,IAAMI,WAAW,GAAG,IAAAP,yBAAM,EAACM,sBAAU,CAAC;EAAA;EAAA;AAAA,kDAGzCJ,mBAAM,CAACC,EAAE,CAGZ;AAAC;AAEK,IAAMK,eAAe,GAAGR,yBAAM,CAACC,GAAG;EAAA;EAAA;AAAA,yHAOrCC,mBAAM,CAACC,EAAE,CAGZ;AAAC"}
1
+ {"version":3,"file":"EmptySlate.styles.js","names":["Container","styled","div","screen","lg","SubContainer","StyledImg","img","Title","Typography","Description","FooterContainer"],"sources":["../../../../src/components/EmptySlate/EmptySlate.styles.ts"],"sourcesContent":["import styled from \"styled-components\";\nimport { Typography } from \"../Typography/Typography\";\nimport { screen } from \"../BreakPoints\";\n\nexport const Container = styled.div`\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: center;\n text-align: center;\n gap: 24px;\n\n ${screen.lg} {\n flex-direction: row;\n }\n`;\n\nexport const SubContainer = styled.div`\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: center;\n max-width: 400px;\n\n ${screen.lg} {\n align-items: flex-start;\n }\n`;\n\nexport const StyledImg = styled.img`\n width: 280px;\n height: 280px;\n`;\n\nexport const Title = styled(Typography)`\n margin-block-end: 8px;\n text-align: center;\n\n ${screen.lg} {\n text-align: start;\n }\n`;\n\nexport const Description = styled(Typography)`\n text-align: center;\n\n ${screen.lg} {\n text-align: start;\n }\n`;\n\nexport const FooterContainer = styled.div`\n margin-block-start: 24px;\n display: flex;\n flex-direction: column;\n gap: 12px;\n align-items: center;\n\n ${screen.lg} {\n flex-direction: row;\n }\n`;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AAAwC;AAEjC,IAAMA,SAAS,GAAGC,yBAAM,CAACC,GAAG;EAAA;EAAA;AAAA,0IAQ/BC,mBAAM,CAACC,EAAE,CAGZ;AAAC;AAEK,IAAMC,YAAY,GAAGJ,yBAAM,CAACC,GAAG;EAAA;EAAA;AAAA,mIAOlCC,mBAAM,CAACC,EAAE,CAGZ;AAAC;AAEK,IAAME,SAAS,GAAGL,yBAAM,CAACM,GAAG;EAAA;EAAA;AAAA,iCAGlC;AAAC;AAEK,IAAMC,KAAK,GAAG,IAAAP,yBAAM,EAACQ,sBAAU,CAAC;EAAA;EAAA;AAAA,uEAInCN,mBAAM,CAACC,EAAE,CAGZ;AAAC;AAEK,IAAMM,WAAW,GAAG,IAAAT,yBAAM,EAACQ,sBAAU,CAAC;EAAA;EAAA;AAAA,kDAGzCN,mBAAM,CAACC,EAAE,CAGZ;AAAC;AAEK,IAAMO,eAAe,GAAGV,yBAAM,CAACC,GAAG;EAAA;EAAA;AAAA,yHAOrCC,mBAAM,CAACC,EAAE,CAGZ;AAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"EmptySlate.d.ts","sourceRoot":"","sources":["../../../../src/components/EmptySlate/EmptySlate.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAS9C,MAAM,WAAW,eAAgB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACrE,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,UAAU;0DAOpB,eAAe;;;;;;;;;CAcjB,CAAC"}
1
+ {"version":3,"file":"EmptySlate.d.ts","sourceRoot":"","sources":["../../../../src/components/EmptySlate/EmptySlate.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAU9C,MAAM,WAAW,eAAgB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACrE,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,UAAU;0DAOpB,eAAe;;;;;;;;;CAgBjB,CAAC"}
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
3
3
  var _excluded = ["title", "description", "src", "alt", "children"];
4
4
  import React from "react";
5
- import { Container, Description, SubContainer, Title } from "./EmptySlate.styles";
5
+ import { Container, Description, SubContainer, Title, StyledImg } from "./EmptySlate.styles";
6
6
  import { EmptySlateFooter } from "./EmptySlateFooter";
7
7
  export var EmptySlate = function EmptySlate(_ref) {
8
8
  var title = _ref.title,
@@ -13,12 +13,13 @@ export var EmptySlate = function EmptySlate(_ref) {
13
13
  rest = _objectWithoutPropertiesLoose(_ref, _excluded);
14
14
  return /*#__PURE__*/React.createElement(Container, _extends({}, rest, {
15
15
  role: "status"
16
- }), /*#__PURE__*/React.createElement("img", {
16
+ }), /*#__PURE__*/React.createElement(StyledImg, {
17
17
  src: src,
18
18
  alt: alt
19
19
  }), /*#__PURE__*/React.createElement(SubContainer, null, /*#__PURE__*/React.createElement(Title, {
20
20
  variant: "Title 1"
21
21
  }, title), description && /*#__PURE__*/React.createElement(Description, {
22
+ color: "secondary",
22
23
  variant: "Body 1"
23
24
  }, description), children));
24
25
  };
@@ -1 +1 @@
1
- {"version":3,"file":"EmptySlate.js","names":["React","Container","Description","SubContainer","Title","EmptySlateFooter","EmptySlate","title","description","src","alt","children","rest","Footer","displayName"],"sources":["../../../../src/components/EmptySlate/EmptySlate.tsx"],"sourcesContent":["import React, { HTMLAttributes } from \"react\";\nimport {\n Container,\n Description,\n SubContainer,\n Title,\n} from \"./EmptySlate.styles\";\nimport { EmptySlateFooter } from \"./EmptySlateFooter\";\n\nexport interface EmptySlateProps extends HTMLAttributes<HTMLDivElement> {\n src: string;\n alt: string;\n title: string;\n description?: string;\n}\n\nexport const EmptySlate = ({\n title,\n description,\n src,\n alt,\n children,\n ...rest\n}: EmptySlateProps) => {\n return (\n <Container {...rest} role=\"status\">\n <img src={src} alt={alt} />\n <SubContainer>\n <Title variant=\"Title 1\">{title}</Title>\n {description && (\n <Description variant=\"Body 1\">{description}</Description>\n )}\n\n {children}\n </SubContainer>\n </Container>\n );\n};\n\nEmptySlate.Footer = EmptySlateFooter;\n\nEmptySlate.displayName = \"EmptySlate\";\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAA0B,OAAO;AAC7C,SACEC,SAAS,EACTC,WAAW,EACXC,YAAY,EACZC,KAAK,QACA,qBAAqB;AAC5B,SAASC,gBAAgB,QAAQ,oBAAoB;AASrD,OAAO,IAAMC,UAAU,GAAG,SAAbA,UAAU,OAOA;EAAA,IANrBC,KAAK,QAALA,KAAK;IACLC,WAAW,QAAXA,WAAW;IACXC,GAAG,QAAHA,GAAG;IACHC,GAAG,QAAHA,GAAG;IACHC,QAAQ,QAARA,QAAQ;IACLC,IAAI;EAEP,oBACE,oBAAC,SAAS,eAAKA,IAAI;IAAE,IAAI,EAAC;EAAQ,iBAChC;IAAK,GAAG,EAAEH,GAAI;IAAC,GAAG,EAAEC;EAAI,EAAG,eAC3B,oBAAC,YAAY,qBACX,oBAAC,KAAK;IAAC,OAAO,EAAC;EAAS,GAAEH,KAAK,CAAS,EACvCC,WAAW,iBACV,oBAAC,WAAW;IAAC,OAAO,EAAC;EAAQ,GAAEA,WAAW,CAC3C,EAEAG,QAAQ,CACI,CACL;AAEhB,CAAC;AAEDL,UAAU,CAACO,MAAM,GAAGR,gBAAgB;AAEpCC,UAAU,CAACQ,WAAW,GAAG,YAAY"}
1
+ {"version":3,"file":"EmptySlate.js","names":["React","Container","Description","SubContainer","Title","StyledImg","EmptySlateFooter","EmptySlate","title","description","src","alt","children","rest","Footer","displayName"],"sources":["../../../../src/components/EmptySlate/EmptySlate.tsx"],"sourcesContent":["import React, { HTMLAttributes } from \"react\";\nimport {\n Container,\n Description,\n SubContainer,\n Title,\n StyledImg,\n} from \"./EmptySlate.styles\";\nimport { EmptySlateFooter } from \"./EmptySlateFooter\";\n\nexport interface EmptySlateProps extends HTMLAttributes<HTMLDivElement> {\n src: string;\n alt: string;\n title: string;\n description?: string;\n}\n\nexport const EmptySlate = ({\n title,\n description,\n src,\n alt,\n children,\n ...rest\n}: EmptySlateProps) => {\n return (\n <Container {...rest} role=\"status\">\n <StyledImg src={src} alt={alt} />\n <SubContainer>\n <Title variant=\"Title 1\">{title}</Title>\n {description && (\n <Description color=\"secondary\" variant=\"Body 1\">\n {description}\n </Description>\n )}\n\n {children}\n </SubContainer>\n </Container>\n );\n};\n\nEmptySlate.Footer = EmptySlateFooter;\n\nEmptySlate.displayName = \"EmptySlate\";\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAA0B,OAAO;AAC7C,SACEC,SAAS,EACTC,WAAW,EACXC,YAAY,EACZC,KAAK,EACLC,SAAS,QACJ,qBAAqB;AAC5B,SAASC,gBAAgB,QAAQ,oBAAoB;AASrD,OAAO,IAAMC,UAAU,GAAG,SAAbA,UAAU,OAOA;EAAA,IANrBC,KAAK,QAALA,KAAK;IACLC,WAAW,QAAXA,WAAW;IACXC,GAAG,QAAHA,GAAG;IACHC,GAAG,QAAHA,GAAG;IACHC,QAAQ,QAARA,QAAQ;IACLC,IAAI;EAEP,oBACE,oBAAC,SAAS,eAAKA,IAAI;IAAE,IAAI,EAAC;EAAQ,iBAChC,oBAAC,SAAS;IAAC,GAAG,EAAEH,GAAI;IAAC,GAAG,EAAEC;EAAI,EAAG,eACjC,oBAAC,YAAY,qBACX,oBAAC,KAAK;IAAC,OAAO,EAAC;EAAS,GAAEH,KAAK,CAAS,EACvCC,WAAW,iBACV,oBAAC,WAAW;IAAC,KAAK,EAAC,WAAW;IAAC,OAAO,EAAC;EAAQ,GAC5CA,WAAW,CAEf,EAEAG,QAAQ,CACI,CACL;AAEhB,CAAC;AAEDL,UAAU,CAACO,MAAM,GAAGR,gBAAgB;AAEpCC,UAAU,CAACQ,WAAW,GAAG,YAAY"}
@@ -1,5 +1,6 @@
1
1
  export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
2
2
  export declare const SubContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const StyledImg: import("styled-components").StyledComponent<"img", any, {}, never>;
3
4
  export declare const Title: import("styled-components").StyledComponent<import("../Typography/Typography").TypographyComponent & {
4
5
  displayName?: string | undefined;
5
6
  }, any, {}, never>;
@@ -1 +1 @@
1
- {"version":3,"file":"EmptySlate.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/EmptySlate/EmptySlate.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS,oEAWrB,CAAC;AAEF,eAAO,MAAM,YAAY,oEAUxB,CAAC;AAEF,eAAO,MAAM,KAAK;;kBAOjB,CAAC;AAEF,eAAO,MAAM,WAAW;;kBAMvB,CAAC;AAEF,eAAO,MAAM,eAAe,oEAU3B,CAAC"}
1
+ {"version":3,"file":"EmptySlate.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/EmptySlate/EmptySlate.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS,oEAWrB,CAAC;AAEF,eAAO,MAAM,YAAY,oEAUxB,CAAC;AAEF,eAAO,MAAM,SAAS,oEAGrB,CAAC;AAEF,eAAO,MAAM,KAAK;;kBAOjB,CAAC;AAEF,eAAO,MAAM,WAAW;;kBAMvB,CAAC;AAEF,eAAO,MAAM,eAAe,oEAU3B,CAAC"}
@@ -9,16 +9,20 @@ export var SubContainer = styled.div.withConfig({
9
9
  displayName: "EmptySlatestyles__SubContainer",
10
10
  componentId: "sc-jfbqky-1"
11
11
  })(["display:flex;align-items:center;flex-direction:column;justify-content:center;max-width:400px;", "{align-items:flex-start;}"], screen.lg);
12
+ export var StyledImg = styled.img.withConfig({
13
+ displayName: "EmptySlatestyles__StyledImg",
14
+ componentId: "sc-jfbqky-2"
15
+ })(["width:280px;height:280px;"]);
12
16
  export var Title = styled(Typography).withConfig({
13
17
  displayName: "EmptySlatestyles__Title",
14
- componentId: "sc-jfbqky-2"
18
+ componentId: "sc-jfbqky-3"
15
19
  })(["margin-block-end:8px;text-align:center;", "{text-align:start;}"], screen.lg);
16
20
  export var Description = styled(Typography).withConfig({
17
21
  displayName: "EmptySlatestyles__Description",
18
- componentId: "sc-jfbqky-3"
22
+ componentId: "sc-jfbqky-4"
19
23
  })(["text-align:center;", "{text-align:start;}"], screen.lg);
20
24
  export var FooterContainer = styled.div.withConfig({
21
25
  displayName: "EmptySlatestyles__FooterContainer",
22
- componentId: "sc-jfbqky-4"
26
+ componentId: "sc-jfbqky-5"
23
27
  })(["margin-block-start:24px;display:flex;flex-direction:column;gap:12px;align-items:center;", "{flex-direction:row;}"], screen.lg);
24
28
  //# sourceMappingURL=EmptySlate.styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EmptySlate.styles.js","names":["styled","Typography","screen","Container","div","lg","SubContainer","Title","Description","FooterContainer"],"sources":["../../../../src/components/EmptySlate/EmptySlate.styles.ts"],"sourcesContent":["import styled from \"styled-components\";\nimport { Typography } from \"../Typography/Typography\";\nimport { screen } from \"../BreakPoints\";\n\nexport const Container = styled.div`\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: center;\n text-align: center;\n gap: 24px;\n\n ${screen.lg} {\n flex-direction: row;\n }\n`;\n\nexport const SubContainer = styled.div`\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: center;\n max-width: 400px;\n\n ${screen.lg} {\n align-items: flex-start;\n }\n`;\n\nexport const Title = styled(Typography)`\n margin-block-end: 8px;\n text-align: center;\n\n ${screen.lg} {\n text-align: start;\n }\n`;\n\nexport const Description = styled(Typography)`\n text-align: center;\n\n ${screen.lg} {\n text-align: start;\n }\n`;\n\nexport const FooterContainer = styled.div`\n margin-block-start: 24px;\n display: flex;\n flex-direction: column;\n gap: 12px;\n align-items: center;\n\n ${screen.lg} {\n flex-direction: row;\n }\n`;\n"],"mappings":"AAAA,OAAOA,MAAM,MAAM,mBAAmB;AACtC,SAASC,UAAU,QAAQ,0BAA0B;AACrD,SAASC,MAAM,QAAQ,gBAAgB;AAEvC,OAAO,IAAMC,SAAS,GAAGH,MAAM,CAACI,GAAG;EAAA;EAAA;AAAA,0IAQ/BF,MAAM,CAACG,EAAE,CAGZ;AAED,OAAO,IAAMC,YAAY,GAAGN,MAAM,CAACI,GAAG;EAAA;EAAA;AAAA,mIAOlCF,MAAM,CAACG,EAAE,CAGZ;AAED,OAAO,IAAME,KAAK,GAAGP,MAAM,CAACC,UAAU,CAAC;EAAA;EAAA;AAAA,uEAInCC,MAAM,CAACG,EAAE,CAGZ;AAED,OAAO,IAAMG,WAAW,GAAGR,MAAM,CAACC,UAAU,CAAC;EAAA;EAAA;AAAA,kDAGzCC,MAAM,CAACG,EAAE,CAGZ;AAED,OAAO,IAAMI,eAAe,GAAGT,MAAM,CAACI,GAAG;EAAA;EAAA;AAAA,yHAOrCF,MAAM,CAACG,EAAE,CAGZ"}
1
+ {"version":3,"file":"EmptySlate.styles.js","names":["styled","Typography","screen","Container","div","lg","SubContainer","StyledImg","img","Title","Description","FooterContainer"],"sources":["../../../../src/components/EmptySlate/EmptySlate.styles.ts"],"sourcesContent":["import styled from \"styled-components\";\nimport { Typography } from \"../Typography/Typography\";\nimport { screen } from \"../BreakPoints\";\n\nexport const Container = styled.div`\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: center;\n text-align: center;\n gap: 24px;\n\n ${screen.lg} {\n flex-direction: row;\n }\n`;\n\nexport const SubContainer = styled.div`\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: center;\n max-width: 400px;\n\n ${screen.lg} {\n align-items: flex-start;\n }\n`;\n\nexport const StyledImg = styled.img`\n width: 280px;\n height: 280px;\n`;\n\nexport const Title = styled(Typography)`\n margin-block-end: 8px;\n text-align: center;\n\n ${screen.lg} {\n text-align: start;\n }\n`;\n\nexport const Description = styled(Typography)`\n text-align: center;\n\n ${screen.lg} {\n text-align: start;\n }\n`;\n\nexport const FooterContainer = styled.div`\n margin-block-start: 24px;\n display: flex;\n flex-direction: column;\n gap: 12px;\n align-items: center;\n\n ${screen.lg} {\n flex-direction: row;\n }\n`;\n"],"mappings":"AAAA,OAAOA,MAAM,MAAM,mBAAmB;AACtC,SAASC,UAAU,QAAQ,0BAA0B;AACrD,SAASC,MAAM,QAAQ,gBAAgB;AAEvC,OAAO,IAAMC,SAAS,GAAGH,MAAM,CAACI,GAAG;EAAA;EAAA;AAAA,0IAQ/BF,MAAM,CAACG,EAAE,CAGZ;AAED,OAAO,IAAMC,YAAY,GAAGN,MAAM,CAACI,GAAG;EAAA;EAAA;AAAA,mIAOlCF,MAAM,CAACG,EAAE,CAGZ;AAED,OAAO,IAAME,SAAS,GAAGP,MAAM,CAACQ,GAAG;EAAA;EAAA;AAAA,iCAGlC;AAED,OAAO,IAAMC,KAAK,GAAGT,MAAM,CAACC,UAAU,CAAC;EAAA;EAAA;AAAA,uEAInCC,MAAM,CAACG,EAAE,CAGZ;AAED,OAAO,IAAMK,WAAW,GAAGV,MAAM,CAACC,UAAU,CAAC;EAAA;EAAA;AAAA,kDAGzCC,MAAM,CAACG,EAAE,CAGZ;AAED,OAAO,IAAMM,eAAe,GAAGX,MAAM,CAACI,GAAG;EAAA;EAAA;AAAA,yHAOrCF,MAAM,CAACG,EAAE,CAGZ"}
package/dist/index.js CHANGED
@@ -16798,17 +16798,21 @@
16798
16798
  displayName: "EmptySlatestyles__SubContainer",
16799
16799
  componentId: "sc-jfbqky-1"
16800
16800
  })(["display:flex;align-items:center;flex-direction:column;justify-content:center;max-width:400px;", "{align-items:flex-start;}"], screen.lg);
16801
+ var StyledImg = styled__default["default"].img.withConfig({
16802
+ displayName: "EmptySlatestyles__StyledImg",
16803
+ componentId: "sc-jfbqky-2"
16804
+ })(["width:280px;height:280px;"]);
16801
16805
  var Title = styled__default["default"](Typography).withConfig({
16802
16806
  displayName: "EmptySlatestyles__Title",
16803
- componentId: "sc-jfbqky-2"
16807
+ componentId: "sc-jfbqky-3"
16804
16808
  })(["margin-block-end:8px;text-align:center;", "{text-align:start;}"], screen.lg);
16805
16809
  var Description = styled__default["default"](Typography).withConfig({
16806
16810
  displayName: "EmptySlatestyles__Description",
16807
- componentId: "sc-jfbqky-3"
16811
+ componentId: "sc-jfbqky-4"
16808
16812
  })(["text-align:center;", "{text-align:start;}"], screen.lg);
16809
16813
  var FooterContainer = styled__default["default"].div.withConfig({
16810
16814
  displayName: "EmptySlatestyles__FooterContainer",
16811
- componentId: "sc-jfbqky-4"
16815
+ componentId: "sc-jfbqky-5"
16812
16816
  })(["margin-block-start:24px;display:flex;flex-direction:column;gap:12px;align-items:center;", "{flex-direction:row;}"], screen.lg);
16813
16817
 
16814
16818
  var _excluded$1 = ["children"];
@@ -16832,12 +16836,13 @@
16832
16836
  rest = _objectWithoutProperties(_ref, _excluded);
16833
16837
  return /*#__PURE__*/React__default["default"].createElement(Container, _extends({}, rest, {
16834
16838
  role: "status"
16835
- }), /*#__PURE__*/React__default["default"].createElement("img", {
16839
+ }), /*#__PURE__*/React__default["default"].createElement(StyledImg, {
16836
16840
  src: src,
16837
16841
  alt: alt
16838
16842
  }), /*#__PURE__*/React__default["default"].createElement(SubContainer, null, /*#__PURE__*/React__default["default"].createElement(Title, {
16839
16843
  variant: "Title 1"
16840
16844
  }, title), description && /*#__PURE__*/React__default["default"].createElement(Description, {
16845
+ color: "secondary",
16841
16846
  variant: "Body 1"
16842
16847
  }, description), children));
16843
16848
  };