@activecollab/components 1.0.314 → 1.0.316
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/cjs/components/Avatar/Avatar.js +28 -3
- package/dist/cjs/components/Avatar/Avatar.js.map +1 -1
- package/dist/cjs/components/Avatar/Styles.js +2 -6
- package/dist/cjs/components/Avatar/Styles.js.map +1 -1
- package/dist/cjs/components/EmptySlate/EmptySlate.js +36 -0
- package/dist/cjs/components/EmptySlate/EmptySlate.js.map +1 -0
- package/dist/cjs/components/EmptySlate/EmptySlate.styles.js +36 -0
- package/dist/cjs/components/EmptySlate/EmptySlate.styles.js.map +1 -0
- package/dist/cjs/components/EmptySlate/EmptySlateFooter.js +20 -0
- package/dist/cjs/components/EmptySlate/EmptySlateFooter.js.map +1 -0
- package/dist/cjs/components/EmptySlate/index.js +17 -0
- package/dist/cjs/components/EmptySlate/index.js.map +1 -0
- package/dist/cjs/components/index.js +11 -0
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/esm/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/esm/components/Avatar/Avatar.js +22 -4
- package/dist/esm/components/Avatar/Avatar.js.map +1 -1
- package/dist/esm/components/Avatar/Styles.d.ts +1 -2
- package/dist/esm/components/Avatar/Styles.d.ts.map +1 -1
- package/dist/esm/components/Avatar/Styles.js +2 -6
- package/dist/esm/components/Avatar/Styles.js.map +1 -1
- package/dist/esm/components/EmptySlate/EmptySlate.d.ts +19 -0
- package/dist/esm/components/EmptySlate/EmptySlate.d.ts.map +1 -0
- package/dist/esm/components/EmptySlate/EmptySlate.js +27 -0
- package/dist/esm/components/EmptySlate/EmptySlate.js.map +1 -0
- package/dist/esm/components/EmptySlate/EmptySlate.styles.d.ts +10 -0
- package/dist/esm/components/EmptySlate/EmptySlate.styles.d.ts.map +1 -0
- package/dist/esm/components/EmptySlate/EmptySlate.styles.js +24 -0
- package/dist/esm/components/EmptySlate/EmptySlate.styles.js.map +1 -0
- package/dist/esm/components/EmptySlate/EmptySlateFooter.d.ts +11 -0
- package/dist/esm/components/EmptySlate/EmptySlateFooter.d.ts.map +1 -0
- package/dist/esm/components/EmptySlate/EmptySlateFooter.js +14 -0
- package/dist/esm/components/EmptySlate/EmptySlateFooter.js.map +1 -0
- package/dist/esm/components/EmptySlate/index.d.ts +2 -0
- package/dist/esm/components/EmptySlate/index.d.ts.map +1 -0
- package/dist/esm/components/EmptySlate/index.js +2 -0
- package/dist/esm/components/EmptySlate/index.js.map +1 -0
- package/dist/esm/components/index.d.ts +1 -0
- package/dist/esm/components/index.d.ts.map +1 -1
- package/dist/esm/components/index.js +1 -0
- package/dist/esm/components/index.js.map +1 -1
- package/dist/index.js +240 -171
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -6,11 +6,18 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.Avatar = void 0;
|
|
8
8
|
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
+
var _Loaders = require("../Loaders");
|
|
9
10
|
var _Styles = require("./Styles");
|
|
10
11
|
var _excluded = ["url", "alt", "size", "className", "imgClassName", "children"];
|
|
11
12
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
12
13
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
13
14
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
15
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
16
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
17
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
18
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
19
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
20
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
14
21
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
15
22
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
16
23
|
/**
|
|
@@ -48,16 +55,34 @@ var Avatar = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
48
55
|
imgClassName = _ref.imgClassName,
|
|
49
56
|
children = _ref.children,
|
|
50
57
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
58
|
+
var _useState = (0, _react.useState)(false),
|
|
59
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
60
|
+
imageLoaded = _useState2[0],
|
|
61
|
+
setImageLoaded = _useState2[1];
|
|
51
62
|
return /*#__PURE__*/_react.default.createElement(_Styles.StyledWrapper, {
|
|
52
63
|
className: className
|
|
53
64
|
}, children, /*#__PURE__*/_react.default.createElement(_Styles.StyledAvatar, _extends({
|
|
54
|
-
size: size,
|
|
55
65
|
ref: ref,
|
|
56
66
|
src: url,
|
|
57
67
|
alt: alt,
|
|
68
|
+
width: size,
|
|
69
|
+
height: size,
|
|
70
|
+
onLoad: function onLoad() {
|
|
71
|
+
setImageLoaded(true);
|
|
72
|
+
},
|
|
58
73
|
role: "img",
|
|
59
|
-
className: imgClassName
|
|
60
|
-
|
|
74
|
+
className: imgClassName,
|
|
75
|
+
style: {
|
|
76
|
+
display: imageLoaded ? "block" : "none"
|
|
77
|
+
}
|
|
78
|
+
}, rest)), !imageLoaded && /*#__PURE__*/_react.default.createElement(_Loaders.LinearLoader, {
|
|
79
|
+
"data-testid": "loader",
|
|
80
|
+
style: {
|
|
81
|
+
width: size,
|
|
82
|
+
height: size,
|
|
83
|
+
borderRadius: "100%"
|
|
84
|
+
}
|
|
85
|
+
}));
|
|
61
86
|
});
|
|
62
87
|
exports.Avatar = Avatar;
|
|
63
88
|
Avatar.displayName = "Avatar";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.js","names":["Avatar","forwardRef","ref","url","alt","size","className","imgClassName","children","rest","displayName"],"sources":["../../../../src/components/Avatar/Avatar.tsx"],"sourcesContent":["import React, { forwardRef, PropsWithChildren } from \"react\";\nimport { StyledAvatar, StyledWrapper } from \"./Styles\";\n\nexport interface AvatarProps extends React.ComponentPropsWithoutRef<\"img\"> {\n /** Path url. */\n url: string;\n /** Alt text. */\n alt?: string;\n /** Image size. */\n size?: number;\n /** Custom class. */\n className?: string;\n /** img custom class. */\n imgClassName?: string;\n}\n\n/**\n * @component Avatar\n * @description\n * The Avatar component is used to represent user, and displays the profile picture, initials or fallback icon.\n *\n * @prop {url} - The image url of the Avatar.\n * @prop {size} - controls the size of an Avatar (width and height) in pixels.\n * @prop {alt} - alt attribute of the img.\n * @prop {imgClassName} - class name that attaches to img element nested in Wrapper\n *\n * @example\n * <Avatar url=\"https://faces-img.xcdn.link/image-lorem-face-954.jpg\" alt=\"Profile picture of John\" />\n *\n * @example\n * <Avatar\n * url=\"https://faces-img.xcdn.link/image-lorem-face-954.jpg\"\n * alt=\"Profile picture of John\">\n * <Badge size={8} backgroundColor=\"green\" position=\"bottom-left\" />\n * </Avatar>\n *\n * @see\n * https://system.activecollab.com/?path=/story/components-button-indicators-avatar--avatar\n * @see\n * https://design.activecollab.com/docs/components/avatar\n */\nexport const Avatar = forwardRef<\n HTMLImageElement,\n PropsWithChildren<AvatarProps>\n>(\n (\n {\n url,\n alt = \"Avatar Image\",\n size = 24,\n className,\n imgClassName,\n children,\n ...rest\n },\n ref\n ) => (\n <StyledWrapper className={className}>\n
|
|
1
|
+
{"version":3,"file":"Avatar.js","names":["Avatar","forwardRef","ref","url","alt","size","className","imgClassName","children","rest","useState","imageLoaded","setImageLoaded","display","width","height","borderRadius","displayName"],"sources":["../../../../src/components/Avatar/Avatar.tsx"],"sourcesContent":["import React, { forwardRef, PropsWithChildren, useState } from \"react\";\nimport { LinearLoader } from \"../Loaders\";\nimport { StyledAvatar, StyledWrapper } from \"./Styles\";\n\nexport interface AvatarProps extends React.ComponentPropsWithoutRef<\"img\"> {\n /** Path url. */\n url: string;\n /** Alt text. */\n alt?: string;\n /** Image size. */\n size?: number;\n /** Custom class. */\n className?: string;\n /** img custom class. */\n imgClassName?: string;\n}\n\n/**\n * @component Avatar\n * @description\n * The Avatar component is used to represent user, and displays the profile picture, initials or fallback icon.\n *\n * @prop {url} - The image url of the Avatar.\n * @prop {size} - controls the size of an Avatar (width and height) in pixels.\n * @prop {alt} - alt attribute of the img.\n * @prop {imgClassName} - class name that attaches to img element nested in Wrapper\n *\n * @example\n * <Avatar url=\"https://faces-img.xcdn.link/image-lorem-face-954.jpg\" alt=\"Profile picture of John\" />\n *\n * @example\n * <Avatar\n * url=\"https://faces-img.xcdn.link/image-lorem-face-954.jpg\"\n * alt=\"Profile picture of John\">\n * <Badge size={8} backgroundColor=\"green\" position=\"bottom-left\" />\n * </Avatar>\n *\n * @see\n * https://system.activecollab.com/?path=/story/components-button-indicators-avatar--avatar\n * @see\n * https://design.activecollab.com/docs/components/avatar\n */\nexport const Avatar = forwardRef<\n HTMLImageElement,\n PropsWithChildren<AvatarProps>\n>(\n (\n {\n url,\n alt = \"Avatar Image\",\n size = 24,\n className,\n imgClassName,\n children,\n ...rest\n },\n ref\n ) => {\n const [imageLoaded, setImageLoaded] = useState<boolean>(false);\n\n return (\n <StyledWrapper className={className}>\n {children}\n\n <StyledAvatar\n ref={ref}\n src={url}\n alt={alt}\n width={size}\n height={size}\n onLoad={() => {\n setImageLoaded(true);\n }}\n role=\"img\"\n className={imgClassName}\n style={{ display: imageLoaded ? \"block\" : \"none\" }}\n {...rest}\n />\n {!imageLoaded && (\n <LinearLoader\n data-testid=\"loader\"\n style={{ width: size, height: size, borderRadius: \"100%\" }}\n />\n )}\n </StyledWrapper>\n );\n }\n);\n\nAvatar.displayName = \"Avatar\";\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AAAuD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAevD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,IAAMA,MAAM,gBAAG,IAAAC,iBAAU,EAI9B,gBAUEC,GAAG,EACA;EAAA,IATDC,GAAG,QAAHA,GAAG;IAAA,gBACHC,GAAG;IAAHA,GAAG,yBAAG,cAAc;IAAA,iBACpBC,IAAI;IAAJA,IAAI,0BAAG,EAAE;IACTC,SAAS,QAATA,SAAS;IACTC,YAAY,QAAZA,YAAY;IACZC,QAAQ,QAARA,QAAQ;IACLC,IAAI;EAIT,gBAAsC,IAAAC,eAAQ,EAAU,KAAK,CAAC;IAAA;IAAvDC,WAAW;IAAEC,cAAc;EAElC,oBACE,6BAAC,qBAAa;IAAC,SAAS,EAAEN;EAAU,GACjCE,QAAQ,eAET,6BAAC,oBAAY;IACX,GAAG,EAAEN,GAAI;IACT,GAAG,EAAEC,GAAI;IACT,GAAG,EAAEC,GAAI;IACT,KAAK,EAAEC,IAAK;IACZ,MAAM,EAAEA,IAAK;IACb,MAAM,EAAE,kBAAM;MACZO,cAAc,CAAC,IAAI,CAAC;IACtB,CAAE;IACF,IAAI,EAAC,KAAK;IACV,SAAS,EAAEL,YAAa;IACxB,KAAK,EAAE;MAAEM,OAAO,EAAEF,WAAW,GAAG,OAAO,GAAG;IAAO;EAAE,GAC/CF,IAAI,EACR,EACD,CAACE,WAAW,iBACX,6BAAC,qBAAY;IACX,eAAY,QAAQ;IACpB,KAAK,EAAE;MAAEG,KAAK,EAAET,IAAI;MAAEU,MAAM,EAAEV,IAAI;MAAEW,YAAY,EAAE;IAAO;EAAE,EAE9D,CACa;AAEpB,CAAC,CACF;AAAC;AAEFhB,MAAM,CAACiB,WAAW,GAAG,QAAQ"}
|
|
@@ -9,15 +9,11 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
9
9
|
var StyledWrapper = _styledComponents.default.span.withConfig({
|
|
10
10
|
displayName: "Styles__StyledWrapper",
|
|
11
11
|
componentId: "sc-5x2tyd-0"
|
|
12
|
-
})(["display:inline-flex;
|
|
12
|
+
})(["display:inline-flex;border-radius:100%;position:relative;"]);
|
|
13
13
|
exports.StyledWrapper = StyledWrapper;
|
|
14
14
|
var StyledAvatar = _styledComponents.default.img.withConfig({
|
|
15
15
|
displayName: "Styles__StyledAvatar",
|
|
16
16
|
componentId: "sc-5x2tyd-1"
|
|
17
|
-
})(["border-radius:100%;object-fit:cover;
|
|
18
|
-
return props.size + "px";
|
|
19
|
-
}, function (props) {
|
|
20
|
-
return props.size + "px";
|
|
21
|
-
});
|
|
17
|
+
})(["border-radius:100%;object-fit:cover;"]);
|
|
22
18
|
exports.StyledAvatar = StyledAvatar;
|
|
23
19
|
//# sourceMappingURL=Styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Styles.js","names":["StyledWrapper","styled","span","StyledAvatar","img"
|
|
1
|
+
{"version":3,"file":"Styles.js","names":["StyledWrapper","styled","span","StyledAvatar","img"],"sources":["../../../../src/components/Avatar/Styles.ts"],"sourcesContent":["import styled from \"styled-components\";\n\nexport const StyledWrapper = styled.span`\n display: inline-flex;\n border-radius: 100%;\n position: relative;\n`;\n\nexport const StyledAvatar = styled.img`\n border-radius: 100%;\n object-fit: cover;\n`;\n"],"mappings":";;;;;;AAAA;AAAuC;AAEhC,IAAMA,aAAa,GAAGC,yBAAM,CAACC,IAAI;EAAA;EAAA;AAAA,iEAIvC;AAAC;AAEK,IAAMC,YAAY,GAAGF,yBAAM,CAACG,GAAG;EAAA;EAAA;AAAA,4CAGrC;AAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.EmptySlate = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _EmptySlate = require("./EmptySlate.styles");
|
|
9
|
+
var _EmptySlateFooter = require("./EmptySlateFooter");
|
|
10
|
+
var _excluded = ["title", "description", "src", "alt", "children"];
|
|
11
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
13
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
14
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
15
|
+
var EmptySlate = function EmptySlate(_ref) {
|
|
16
|
+
var title = _ref.title,
|
|
17
|
+
description = _ref.description,
|
|
18
|
+
src = _ref.src,
|
|
19
|
+
alt = _ref.alt,
|
|
20
|
+
children = _ref.children,
|
|
21
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
22
|
+
return /*#__PURE__*/_react.default.createElement(_EmptySlate.Container, _extends({}, rest, {
|
|
23
|
+
role: "status"
|
|
24
|
+
}), /*#__PURE__*/_react.default.createElement("img", {
|
|
25
|
+
src: src,
|
|
26
|
+
alt: alt
|
|
27
|
+
}), /*#__PURE__*/_react.default.createElement(_EmptySlate.SubContainer, null, /*#__PURE__*/_react.default.createElement(_EmptySlate.Title, {
|
|
28
|
+
variant: "Title 1"
|
|
29
|
+
}, title), description && /*#__PURE__*/_react.default.createElement(_EmptySlate.Description, {
|
|
30
|
+
variant: "Body 1"
|
|
31
|
+
}, description), children));
|
|
32
|
+
};
|
|
33
|
+
exports.EmptySlate = EmptySlate;
|
|
34
|
+
EmptySlate.Footer = _EmptySlateFooter.EmptySlateFooter;
|
|
35
|
+
EmptySlate.displayName = "EmptySlate";
|
|
36
|
+
//# sourceMappingURL=EmptySlate.js.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.Title = exports.SubContainer = exports.FooterContainer = exports.Description = exports.Container = void 0;
|
|
7
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
|
+
var _Typography = require("../Typography/Typography");
|
|
9
|
+
var _BreakPoints = require("../BreakPoints");
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
var Container = _styledComponents.default.div.withConfig({
|
|
12
|
+
displayName: "EmptySlatestyles__Container",
|
|
13
|
+
componentId: "sc-jfbqky-0"
|
|
14
|
+
})(["display:flex;align-items:center;flex-direction:column;justify-content:center;text-align:center;gap:24px;", "{flex-direction:row;}"], _BreakPoints.screen.lg);
|
|
15
|
+
exports.Container = Container;
|
|
16
|
+
var SubContainer = _styledComponents.default.div.withConfig({
|
|
17
|
+
displayName: "EmptySlatestyles__SubContainer",
|
|
18
|
+
componentId: "sc-jfbqky-1"
|
|
19
|
+
})(["display:flex;align-items:center;flex-direction:column;justify-content:center;max-width:400px;", "{align-items:flex-start;}"], _BreakPoints.screen.lg);
|
|
20
|
+
exports.SubContainer = SubContainer;
|
|
21
|
+
var Title = (0, _styledComponents.default)(_Typography.Typography).withConfig({
|
|
22
|
+
displayName: "EmptySlatestyles__Title",
|
|
23
|
+
componentId: "sc-jfbqky-2"
|
|
24
|
+
})(["margin-block-end:8px;text-align:center;", "{text-align:start;}"], _BreakPoints.screen.lg);
|
|
25
|
+
exports.Title = Title;
|
|
26
|
+
var Description = (0, _styledComponents.default)(_Typography.Typography).withConfig({
|
|
27
|
+
displayName: "EmptySlatestyles__Description",
|
|
28
|
+
componentId: "sc-jfbqky-3"
|
|
29
|
+
})(["text-align:center;", "{text-align:start;}"], _BreakPoints.screen.lg);
|
|
30
|
+
exports.Description = Description;
|
|
31
|
+
var FooterContainer = _styledComponents.default.div.withConfig({
|
|
32
|
+
displayName: "EmptySlatestyles__FooterContainer",
|
|
33
|
+
componentId: "sc-jfbqky-4"
|
|
34
|
+
})(["margin-block-start:24px;display:flex;flex-direction:column;gap:12px;align-items:center;", "{flex-direction:row;}"], _BreakPoints.screen.lg);
|
|
35
|
+
exports.FooterContainer = FooterContainer;
|
|
36
|
+
//# sourceMappingURL=EmptySlate.styles.js.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.EmptySlateFooter = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _EmptySlate = require("./EmptySlate.styles");
|
|
9
|
+
var _excluded = ["children"];
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
12
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
13
|
+
var EmptySlateFooter = function EmptySlateFooter(_ref) {
|
|
14
|
+
var children = _ref.children,
|
|
15
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
16
|
+
return /*#__PURE__*/_react.default.createElement(_EmptySlate.FooterContainer, rest, children);
|
|
17
|
+
};
|
|
18
|
+
exports.EmptySlateFooter = EmptySlateFooter;
|
|
19
|
+
EmptySlateFooter.displayName = "EmptySlateFooter";
|
|
20
|
+
//# sourceMappingURL=EmptySlateFooter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmptySlateFooter.js","names":["EmptySlateFooter","children","rest","displayName"],"sources":["../../../../src/components/EmptySlate/EmptySlateFooter.tsx"],"sourcesContent":["import React, { HTMLAttributes } from \"react\";\nimport { FooterContainer } from \"./EmptySlate.styles\";\n\n// eslint-disable-next-line @typescript-eslint/no-empty-interface\nexport interface EmptySlateFooterProps extends HTMLAttributes<HTMLDivElement> {}\n\nexport const EmptySlateFooter = ({ children, ...rest }) => {\n return <FooterContainer {...rest}>{children}</FooterContainer>;\n};\n\nEmptySlateFooter.displayName = \"EmptySlateFooter\";\n"],"mappings":";;;;;;AAAA;AACA;AAAsD;AAAA;AAAA;AAAA;AAK/C,IAAMA,gBAAgB,GAAG,SAAnBA,gBAAgB,OAA8B;EAAA,IAAxBC,QAAQ,QAARA,QAAQ;IAAKC,IAAI;EAClD,oBAAO,6BAAC,2BAAe,EAAKA,IAAI,EAAGD,QAAQ,CAAmB;AAChE,CAAC;AAAC;AAEFD,gBAAgB,CAACG,WAAW,GAAG,kBAAkB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _EmptySlate = require("./EmptySlate");
|
|
7
|
+
Object.keys(_EmptySlate).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _EmptySlate[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function get() {
|
|
13
|
+
return _EmptySlate[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../src/components/EmptySlate/index.ts"],"sourcesContent":["export * from \"./EmptySlate\";\n"],"mappings":";;;;;AAAA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA"}
|
|
@@ -817,4 +817,15 @@ Object.keys(_CommandPalette).forEach(function (key) {
|
|
|
817
817
|
}
|
|
818
818
|
});
|
|
819
819
|
});
|
|
820
|
+
var _EmptySlate = require("./EmptySlate");
|
|
821
|
+
Object.keys(_EmptySlate).forEach(function (key) {
|
|
822
|
+
if (key === "default" || key === "__esModule") return;
|
|
823
|
+
if (key in exports && exports[key] === _EmptySlate[key]) return;
|
|
824
|
+
Object.defineProperty(exports, key, {
|
|
825
|
+
enumerable: true,
|
|
826
|
+
get: function get() {
|
|
827
|
+
return _EmptySlate[key];
|
|
828
|
+
}
|
|
829
|
+
});
|
|
830
|
+
});
|
|
820
831
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../src/components/index.ts"],"sourcesContent":["export * from \"./Button\";\nexport * from \"./ButtonGroup\";\nexport * from \"./Breadcrumbs\";\nexport * from \"./CounterButton\";\nexport * from \"./Steppers\";\nexport * from \"./Tables\";\nexport * from \"./CompleteCheckbox\";\nexport * from \"./Paper\";\nexport * from \"./ScaleBar\";\nexport * from \"./Card\";\nexport * from \"./EntityCard\";\nexport * from \"./Signifier\";\nexport * from \"./Avatar\";\nexport * from \"./Tag\";\nexport * from \"./Loaders\";\nexport * from \"./Nav\";\nexport * from \"./Bubble\";\nexport * from \"./Input\";\nexport * from \"./Menu\";\nexport * from \"./Expanders\";\nexport * from \"./Pickers\";\nexport * from \"./DatePicker\";\nexport * from \"./List\";\nexport * from \"./MenuSelector\";\nexport * from \"./MultiAvatar\";\nexport * from \"./RadioButton\";\nexport * from \"./ScrollShadow\";\nexport * from \"./Icons\";\nexport * from \"./Textarea\";\nexport * from \"./Modal\";\nexport * from \"./Sheet\";\nexport * from \"./Header\";\nexport * from \"./AutoResizeTextarea\";\nexport * from \"./Overlay\";\nexport * from \"./Accordion\";\nexport * from \"./Choose\";\nexport * from \"./Links\";\nexport * from \"./SelectDate\";\nexport * from \"./Popper\";\nexport * from \"./ToastMessage\";\nexport * from \"./Tooltip\";\nexport * from \"./Transitions\";\nexport * from \"./Pressed\";\nexport * from \"./Window\";\nexport * from \"./ValueButton\";\nexport * from \"./Select\";\nexport * from \"./SelectTrigger\";\nexport * from \"./Dialog\";\nexport * from \"./ConfirmDialog\";\nexport * from \"./Checkbox\";\nexport * from \"./Toggle\";\nexport * from \"./Typography\";\nexport * from \"./Autocomplete\";\nexport * from \"./ComboBox\";\nexport * from \"./Button/AddToListButton\";\nexport * from \"./ProgressBar\";\nexport * from \"./ProgressPie\";\nexport * from \"./Reactions\";\nexport * from \"./Label\";\nexport * from \"./GlobalStyle\";\nexport * from \"./ProgressRing\";\nexport * from \"./EditableContent\";\nexport * from \"./EditableText\";\nexport * from \"./Folder\";\nexport * from \"./Chip\";\nexport * from \"./Trigger\";\nexport * from \"./Dot\";\nexport * from \"./Entity\";\nexport * from \"./Filter\";\nexport * from \"./Wizard\";\nexport * from \"./IconButton\";\nexport * from \"./Typography\";\nexport * from \"./Badge\";\nexport * from \"./AvatarGroup\";\nexport * from \"./CommandPalette\";\n"],"mappings":";;;;;AAAA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;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AAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AAEA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../src/components/index.ts"],"sourcesContent":["export * from \"./Button\";\nexport * from \"./ButtonGroup\";\nexport * from \"./Breadcrumbs\";\nexport * from \"./CounterButton\";\nexport * from \"./Steppers\";\nexport * from \"./Tables\";\nexport * from \"./CompleteCheckbox\";\nexport * from \"./Paper\";\nexport * from \"./ScaleBar\";\nexport * from \"./Card\";\nexport * from \"./EntityCard\";\nexport * from \"./Signifier\";\nexport * from \"./Avatar\";\nexport * from \"./Tag\";\nexport * from \"./Loaders\";\nexport * from \"./Nav\";\nexport * from \"./Bubble\";\nexport * from \"./Input\";\nexport * from \"./Menu\";\nexport * from \"./Expanders\";\nexport * from \"./Pickers\";\nexport * from \"./DatePicker\";\nexport * from \"./List\";\nexport * from \"./MenuSelector\";\nexport * from \"./MultiAvatar\";\nexport * from \"./RadioButton\";\nexport * from \"./ScrollShadow\";\nexport * from \"./Icons\";\nexport * from \"./Textarea\";\nexport * from \"./Modal\";\nexport * from \"./Sheet\";\nexport * from \"./Header\";\nexport * from \"./AutoResizeTextarea\";\nexport * from \"./Overlay\";\nexport * from \"./Accordion\";\nexport * from \"./Choose\";\nexport * from \"./Links\";\nexport * from \"./SelectDate\";\nexport * from \"./Popper\";\nexport * from \"./ToastMessage\";\nexport * from \"./Tooltip\";\nexport * from \"./Transitions\";\nexport * from \"./Pressed\";\nexport * from \"./Window\";\nexport * from \"./ValueButton\";\nexport * from \"./Select\";\nexport * from \"./SelectTrigger\";\nexport * from \"./Dialog\";\nexport * from \"./ConfirmDialog\";\nexport * from \"./Checkbox\";\nexport * from \"./Toggle\";\nexport * from \"./Typography\";\nexport * from \"./Autocomplete\";\nexport * from \"./ComboBox\";\nexport * from \"./Button/AddToListButton\";\nexport * from \"./ProgressBar\";\nexport * from \"./ProgressPie\";\nexport * from \"./Reactions\";\nexport * from \"./Label\";\nexport * from \"./GlobalStyle\";\nexport * from \"./ProgressRing\";\nexport * from \"./EditableContent\";\nexport * from \"./EditableText\";\nexport * from \"./Folder\";\nexport * from \"./Chip\";\nexport * from \"./Trigger\";\nexport * from \"./Dot\";\nexport * from \"./Entity\";\nexport * from \"./Filter\";\nexport * from \"./Wizard\";\nexport * from \"./IconButton\";\nexport * from \"./Typography\";\nexport * from \"./Badge\";\nexport * from \"./AvatarGroup\";\nexport * from \"./CommandPalette\";\nexport * from \"./EmptySlate\";\n"],"mappings":";;;;;AAAA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;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AAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AAEA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/components/Avatar/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/components/Avatar/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAIvE,MAAM,WAAW,WAAY,SAAQ,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC;IACxE,gBAAgB;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,kBAAkB;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,oBAAoB;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wBAAwB;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,MAAM;;0CA6ClB,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
3
3
|
var _excluded = ["url", "alt", "size", "className", "imgClassName", "children"];
|
|
4
|
-
import React, { forwardRef } from "react";
|
|
4
|
+
import React, { forwardRef, useState } from "react";
|
|
5
|
+
import { LinearLoader } from "../Loaders";
|
|
5
6
|
import { StyledAvatar, StyledWrapper } from "./Styles";
|
|
6
7
|
/**
|
|
7
8
|
* @component Avatar
|
|
@@ -38,16 +39,33 @@ export var Avatar = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
38
39
|
imgClassName = _ref.imgClassName,
|
|
39
40
|
children = _ref.children,
|
|
40
41
|
rest = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
42
|
+
var _useState = useState(false),
|
|
43
|
+
imageLoaded = _useState[0],
|
|
44
|
+
setImageLoaded = _useState[1];
|
|
41
45
|
return /*#__PURE__*/React.createElement(StyledWrapper, {
|
|
42
46
|
className: className
|
|
43
47
|
}, children, /*#__PURE__*/React.createElement(StyledAvatar, _extends({
|
|
44
|
-
size: size,
|
|
45
48
|
ref: ref,
|
|
46
49
|
src: url,
|
|
47
50
|
alt: alt,
|
|
51
|
+
width: size,
|
|
52
|
+
height: size,
|
|
53
|
+
onLoad: function onLoad() {
|
|
54
|
+
setImageLoaded(true);
|
|
55
|
+
},
|
|
48
56
|
role: "img",
|
|
49
|
-
className: imgClassName
|
|
50
|
-
|
|
57
|
+
className: imgClassName,
|
|
58
|
+
style: {
|
|
59
|
+
display: imageLoaded ? "block" : "none"
|
|
60
|
+
}
|
|
61
|
+
}, rest)), !imageLoaded && /*#__PURE__*/React.createElement(LinearLoader, {
|
|
62
|
+
"data-testid": "loader",
|
|
63
|
+
style: {
|
|
64
|
+
width: size,
|
|
65
|
+
height: size,
|
|
66
|
+
borderRadius: "100%"
|
|
67
|
+
}
|
|
68
|
+
}));
|
|
51
69
|
});
|
|
52
70
|
Avatar.displayName = "Avatar";
|
|
53
71
|
//# sourceMappingURL=Avatar.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.js","names":["React","forwardRef","StyledAvatar","StyledWrapper","Avatar","ref","url","alt","size","className","imgClassName","children","rest","displayName"],"sources":["../../../../src/components/Avatar/Avatar.tsx"],"sourcesContent":["import React, { forwardRef, PropsWithChildren } from \"react\";\nimport { StyledAvatar, StyledWrapper } from \"./Styles\";\n\nexport interface AvatarProps extends React.ComponentPropsWithoutRef<\"img\"> {\n /** Path url. */\n url: string;\n /** Alt text. */\n alt?: string;\n /** Image size. */\n size?: number;\n /** Custom class. */\n className?: string;\n /** img custom class. */\n imgClassName?: string;\n}\n\n/**\n * @component Avatar\n * @description\n * The Avatar component is used to represent user, and displays the profile picture, initials or fallback icon.\n *\n * @prop {url} - The image url of the Avatar.\n * @prop {size} - controls the size of an Avatar (width and height) in pixels.\n * @prop {alt} - alt attribute of the img.\n * @prop {imgClassName} - class name that attaches to img element nested in Wrapper\n *\n * @example\n * <Avatar url=\"https://faces-img.xcdn.link/image-lorem-face-954.jpg\" alt=\"Profile picture of John\" />\n *\n * @example\n * <Avatar\n * url=\"https://faces-img.xcdn.link/image-lorem-face-954.jpg\"\n * alt=\"Profile picture of John\">\n * <Badge size={8} backgroundColor=\"green\" position=\"bottom-left\" />\n * </Avatar>\n *\n * @see\n * https://system.activecollab.com/?path=/story/components-button-indicators-avatar--avatar\n * @see\n * https://design.activecollab.com/docs/components/avatar\n */\nexport const Avatar = forwardRef<\n HTMLImageElement,\n PropsWithChildren<AvatarProps>\n>(\n (\n {\n url,\n alt = \"Avatar Image\",\n size = 24,\n className,\n imgClassName,\n children,\n ...rest\n },\n ref\n ) => (\n <StyledWrapper className={className}>\n
|
|
1
|
+
{"version":3,"file":"Avatar.js","names":["React","forwardRef","useState","LinearLoader","StyledAvatar","StyledWrapper","Avatar","ref","url","alt","size","className","imgClassName","children","rest","imageLoaded","setImageLoaded","display","width","height","borderRadius","displayName"],"sources":["../../../../src/components/Avatar/Avatar.tsx"],"sourcesContent":["import React, { forwardRef, PropsWithChildren, useState } from \"react\";\nimport { LinearLoader } from \"../Loaders\";\nimport { StyledAvatar, StyledWrapper } from \"./Styles\";\n\nexport interface AvatarProps extends React.ComponentPropsWithoutRef<\"img\"> {\n /** Path url. */\n url: string;\n /** Alt text. */\n alt?: string;\n /** Image size. */\n size?: number;\n /** Custom class. */\n className?: string;\n /** img custom class. */\n imgClassName?: string;\n}\n\n/**\n * @component Avatar\n * @description\n * The Avatar component is used to represent user, and displays the profile picture, initials or fallback icon.\n *\n * @prop {url} - The image url of the Avatar.\n * @prop {size} - controls the size of an Avatar (width and height) in pixels.\n * @prop {alt} - alt attribute of the img.\n * @prop {imgClassName} - class name that attaches to img element nested in Wrapper\n *\n * @example\n * <Avatar url=\"https://faces-img.xcdn.link/image-lorem-face-954.jpg\" alt=\"Profile picture of John\" />\n *\n * @example\n * <Avatar\n * url=\"https://faces-img.xcdn.link/image-lorem-face-954.jpg\"\n * alt=\"Profile picture of John\">\n * <Badge size={8} backgroundColor=\"green\" position=\"bottom-left\" />\n * </Avatar>\n *\n * @see\n * https://system.activecollab.com/?path=/story/components-button-indicators-avatar--avatar\n * @see\n * https://design.activecollab.com/docs/components/avatar\n */\nexport const Avatar = forwardRef<\n HTMLImageElement,\n PropsWithChildren<AvatarProps>\n>(\n (\n {\n url,\n alt = \"Avatar Image\",\n size = 24,\n className,\n imgClassName,\n children,\n ...rest\n },\n ref\n ) => {\n const [imageLoaded, setImageLoaded] = useState<boolean>(false);\n\n return (\n <StyledWrapper className={className}>\n {children}\n\n <StyledAvatar\n ref={ref}\n src={url}\n alt={alt}\n width={size}\n height={size}\n onLoad={() => {\n setImageLoaded(true);\n }}\n role=\"img\"\n className={imgClassName}\n style={{ display: imageLoaded ? \"block\" : \"none\" }}\n {...rest}\n />\n {!imageLoaded && (\n <LinearLoader\n data-testid=\"loader\"\n style={{ width: size, height: size, borderRadius: \"100%\" }}\n />\n )}\n </StyledWrapper>\n );\n }\n);\n\nAvatar.displayName = \"Avatar\";\n"],"mappings":";;;AAAA,OAAOA,KAAK,IAAIC,UAAU,EAAqBC,QAAQ,QAAQ,OAAO;AACtE,SAASC,YAAY,QAAQ,YAAY;AACzC,SAASC,YAAY,EAAEC,aAAa,QAAQ,UAAU;AAetD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,IAAMC,MAAM,gBAAGL,UAAU,CAI9B,gBAUEM,GAAG,EACA;EAAA,IATDC,GAAG,QAAHA,GAAG;IAAA,gBACHC,GAAG;IAAHA,GAAG,yBAAG,cAAc;IAAA,iBACpBC,IAAI;IAAJA,IAAI,0BAAG,EAAE;IACTC,SAAS,QAATA,SAAS;IACTC,YAAY,QAAZA,YAAY;IACZC,QAAQ,QAARA,QAAQ;IACLC,IAAI;EAIT,gBAAsCZ,QAAQ,CAAU,KAAK,CAAC;IAAvDa,WAAW;IAAEC,cAAc;EAElC,oBACE,oBAAC,aAAa;IAAC,SAAS,EAAEL;EAAU,GACjCE,QAAQ,eAET,oBAAC,YAAY;IACX,GAAG,EAAEN,GAAI;IACT,GAAG,EAAEC,GAAI;IACT,GAAG,EAAEC,GAAI;IACT,KAAK,EAAEC,IAAK;IACZ,MAAM,EAAEA,IAAK;IACb,MAAM,EAAE,kBAAM;MACZM,cAAc,CAAC,IAAI,CAAC;IACtB,CAAE;IACF,IAAI,EAAC,KAAK;IACV,SAAS,EAAEJ,YAAa;IACxB,KAAK,EAAE;MAAEK,OAAO,EAAEF,WAAW,GAAG,OAAO,GAAG;IAAO;EAAE,GAC/CD,IAAI,EACR,EACD,CAACC,WAAW,iBACX,oBAAC,YAAY;IACX,eAAY,QAAQ;IACpB,KAAK,EAAE;MAAEG,KAAK,EAAER,IAAI;MAAES,MAAM,EAAET,IAAI;MAAEU,YAAY,EAAE;IAAO;EAAE,EAE9D,CACa;AAEpB,CAAC,CACF;AAEDd,MAAM,CAACe,WAAW,GAAG,QAAQ"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { AvatarProps } from "./Avatar";
|
|
2
1
|
export declare const StyledWrapper: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
3
|
-
export declare const StyledAvatar: import("styled-components").StyledComponent<"img", any,
|
|
2
|
+
export declare const StyledAvatar: import("styled-components").StyledComponent<"img", any, {}, never>;
|
|
4
3
|
//# sourceMappingURL=Styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Avatar/Styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Avatar/Styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,qEAIzB,CAAC;AAEF,eAAO,MAAM,YAAY,oEAGxB,CAAC"}
|
|
@@ -2,13 +2,9 @@ import styled from "styled-components";
|
|
|
2
2
|
export var StyledWrapper = styled.span.withConfig({
|
|
3
3
|
displayName: "Styles__StyledWrapper",
|
|
4
4
|
componentId: "sc-5x2tyd-0"
|
|
5
|
-
})(["display:inline-flex;
|
|
5
|
+
})(["display:inline-flex;border-radius:100%;position:relative;"]);
|
|
6
6
|
export var StyledAvatar = styled.img.withConfig({
|
|
7
7
|
displayName: "Styles__StyledAvatar",
|
|
8
8
|
componentId: "sc-5x2tyd-1"
|
|
9
|
-
})(["border-radius:100%;object-fit:cover;
|
|
10
|
-
return props.size + "px";
|
|
11
|
-
}, function (props) {
|
|
12
|
-
return props.size + "px";
|
|
13
|
-
});
|
|
9
|
+
})(["border-radius:100%;object-fit:cover;"]);
|
|
14
10
|
//# sourceMappingURL=Styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Styles.js","names":["styled","StyledWrapper","span","StyledAvatar","img"
|
|
1
|
+
{"version":3,"file":"Styles.js","names":["styled","StyledWrapper","span","StyledAvatar","img"],"sources":["../../../../src/components/Avatar/Styles.ts"],"sourcesContent":["import styled from \"styled-components\";\n\nexport const StyledWrapper = styled.span`\n display: inline-flex;\n border-radius: 100%;\n position: relative;\n`;\n\nexport const StyledAvatar = styled.img`\n border-radius: 100%;\n object-fit: cover;\n`;\n"],"mappings":"AAAA,OAAOA,MAAM,MAAM,mBAAmB;AAEtC,OAAO,IAAMC,aAAa,GAAGD,MAAM,CAACE,IAAI;EAAA;EAAA;AAAA,iEAIvC;AAED,OAAO,IAAMC,YAAY,GAAGH,MAAM,CAACI,GAAG;EAAA;EAAA;AAAA,4CAGrC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { HTMLAttributes } from "react";
|
|
2
|
+
export interface EmptySlateProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
src: string;
|
|
4
|
+
alt: string;
|
|
5
|
+
title: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const EmptySlate: {
|
|
9
|
+
({ title, description, src, alt, children, ...rest }: EmptySlateProps): JSX.Element;
|
|
10
|
+
Footer: {
|
|
11
|
+
({ children, ...rest }: {
|
|
12
|
+
[x: string]: any;
|
|
13
|
+
children: any;
|
|
14
|
+
}): JSX.Element;
|
|
15
|
+
displayName: string;
|
|
16
|
+
};
|
|
17
|
+
displayName: string;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=EmptySlate.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
+
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
3
|
+
var _excluded = ["title", "description", "src", "alt", "children"];
|
|
4
|
+
import React from "react";
|
|
5
|
+
import { Container, Description, SubContainer, Title } from "./EmptySlate.styles";
|
|
6
|
+
import { EmptySlateFooter } from "./EmptySlateFooter";
|
|
7
|
+
export var EmptySlate = function EmptySlate(_ref) {
|
|
8
|
+
var title = _ref.title,
|
|
9
|
+
description = _ref.description,
|
|
10
|
+
src = _ref.src,
|
|
11
|
+
alt = _ref.alt,
|
|
12
|
+
children = _ref.children,
|
|
13
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
14
|
+
return /*#__PURE__*/React.createElement(Container, _extends({}, rest, {
|
|
15
|
+
role: "status"
|
|
16
|
+
}), /*#__PURE__*/React.createElement("img", {
|
|
17
|
+
src: src,
|
|
18
|
+
alt: alt
|
|
19
|
+
}), /*#__PURE__*/React.createElement(SubContainer, null, /*#__PURE__*/React.createElement(Title, {
|
|
20
|
+
variant: "Title 1"
|
|
21
|
+
}, title), description && /*#__PURE__*/React.createElement(Description, {
|
|
22
|
+
variant: "Body 1"
|
|
23
|
+
}, description), children));
|
|
24
|
+
};
|
|
25
|
+
EmptySlate.Footer = EmptySlateFooter;
|
|
26
|
+
EmptySlate.displayName = "EmptySlate";
|
|
27
|
+
//# sourceMappingURL=EmptySlate.js.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const SubContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const Title: import("styled-components").StyledComponent<import("../Typography/Typography").TypographyComponent & {
|
|
4
|
+
displayName?: string | undefined;
|
|
5
|
+
}, any, {}, never>;
|
|
6
|
+
export declare const Description: import("styled-components").StyledComponent<import("../Typography/Typography").TypographyComponent & {
|
|
7
|
+
displayName?: string | undefined;
|
|
8
|
+
}, any, {}, never>;
|
|
9
|
+
export declare const FooterContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
10
|
+
//# sourceMappingURL=EmptySlate.styles.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import styled from "styled-components";
|
|
2
|
+
import { Typography } from "../Typography/Typography";
|
|
3
|
+
import { screen } from "../BreakPoints";
|
|
4
|
+
export var Container = styled.div.withConfig({
|
|
5
|
+
displayName: "EmptySlatestyles__Container",
|
|
6
|
+
componentId: "sc-jfbqky-0"
|
|
7
|
+
})(["display:flex;align-items:center;flex-direction:column;justify-content:center;text-align:center;gap:24px;", "{flex-direction:row;}"], screen.lg);
|
|
8
|
+
export var SubContainer = styled.div.withConfig({
|
|
9
|
+
displayName: "EmptySlatestyles__SubContainer",
|
|
10
|
+
componentId: "sc-jfbqky-1"
|
|
11
|
+
})(["display:flex;align-items:center;flex-direction:column;justify-content:center;max-width:400px;", "{align-items:flex-start;}"], screen.lg);
|
|
12
|
+
export var Title = styled(Typography).withConfig({
|
|
13
|
+
displayName: "EmptySlatestyles__Title",
|
|
14
|
+
componentId: "sc-jfbqky-2"
|
|
15
|
+
})(["margin-block-end:8px;text-align:center;", "{text-align:start;}"], screen.lg);
|
|
16
|
+
export var Description = styled(Typography).withConfig({
|
|
17
|
+
displayName: "EmptySlatestyles__Description",
|
|
18
|
+
componentId: "sc-jfbqky-3"
|
|
19
|
+
})(["text-align:center;", "{text-align:start;}"], screen.lg);
|
|
20
|
+
export var FooterContainer = styled.div.withConfig({
|
|
21
|
+
displayName: "EmptySlatestyles__FooterContainer",
|
|
22
|
+
componentId: "sc-jfbqky-4"
|
|
23
|
+
})(["margin-block-start:24px;display:flex;flex-direction:column;gap:12px;align-items:center;", "{flex-direction:row;}"], screen.lg);
|
|
24
|
+
//# sourceMappingURL=EmptySlate.styles.js.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTMLAttributes } from "react";
|
|
2
|
+
export interface EmptySlateFooterProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
}
|
|
4
|
+
export declare const EmptySlateFooter: {
|
|
5
|
+
({ children, ...rest }: {
|
|
6
|
+
[x: string]: any;
|
|
7
|
+
children: any;
|
|
8
|
+
}): JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=EmptySlateFooter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmptySlateFooter.d.ts","sourceRoot":"","sources":["../../../../src/components/EmptySlate/EmptySlateFooter.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI9C,MAAM,WAAW,qBAAsB,SAAQ,cAAc,CAAC,cAAc,CAAC;CAAG;AAEhF,eAAO,MAAM,gBAAgB;;;;;;CAE5B,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
2
|
+
var _excluded = ["children"];
|
|
3
|
+
import React from "react";
|
|
4
|
+
import { FooterContainer } from "./EmptySlate.styles";
|
|
5
|
+
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
7
|
+
|
|
8
|
+
export var EmptySlateFooter = function EmptySlateFooter(_ref) {
|
|
9
|
+
var children = _ref.children,
|
|
10
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
11
|
+
return /*#__PURE__*/React.createElement(FooterContainer, rest, children);
|
|
12
|
+
};
|
|
13
|
+
EmptySlateFooter.displayName = "EmptySlateFooter";
|
|
14
|
+
//# sourceMappingURL=EmptySlateFooter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmptySlateFooter.js","names":["React","FooterContainer","EmptySlateFooter","children","rest","displayName"],"sources":["../../../../src/components/EmptySlate/EmptySlateFooter.tsx"],"sourcesContent":["import React, { HTMLAttributes } from \"react\";\nimport { FooterContainer } from \"./EmptySlate.styles\";\n\n// eslint-disable-next-line @typescript-eslint/no-empty-interface\nexport interface EmptySlateFooterProps extends HTMLAttributes<HTMLDivElement> {}\n\nexport const EmptySlateFooter = ({ children, ...rest }) => {\n return <FooterContainer {...rest}>{children}</FooterContainer>;\n};\n\nEmptySlateFooter.displayName = \"EmptySlateFooter\";\n"],"mappings":";;AAAA,OAAOA,KAAK,MAA0B,OAAO;AAC7C,SAASC,eAAe,QAAQ,qBAAqB;;AAErD;;AAGA,OAAO,IAAMC,gBAAgB,GAAG,SAAnBA,gBAAgB,OAA8B;EAAA,IAAxBC,QAAQ,QAARA,QAAQ;IAAKC,IAAI;EAClD,oBAAO,oBAAC,eAAe,EAAKA,IAAI,EAAGD,QAAQ,CAAmB;AAChE,CAAC;AAEDD,gBAAgB,CAACG,WAAW,GAAG,kBAAkB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/EmptySlate/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../src/components/EmptySlate/index.ts"],"sourcesContent":["export * from \"./EmptySlate\";\n"],"mappings":"AAAA,cAAc,cAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC;AAC1B,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AA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