@activecollab/components 1.0.344 → 1.0.346
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/CompleteCheckbox/CompleteCheckbox.js +8 -3
- package/dist/cjs/components/CompleteCheckbox/CompleteCheckbox.js.map +1 -1
- package/dist/cjs/components/EmptySlate/EmptySlate.styles.js +1 -1
- package/dist/cjs/components/EmptySlate/EmptySlate.styles.js.map +1 -1
- package/dist/esm/components/CompleteCheckbox/CompleteCheckbox.d.ts +2 -2
- package/dist/esm/components/CompleteCheckbox/CompleteCheckbox.d.ts.map +1 -1
- package/dist/esm/components/CompleteCheckbox/CompleteCheckbox.js +7 -3
- package/dist/esm/components/CompleteCheckbox/CompleteCheckbox.js.map +1 -1
- package/dist/esm/components/EmptySlate/EmptySlate.styles.d.ts.map +1 -1
- package/dist/esm/components/EmptySlate/EmptySlate.styles.js +1 -1
- package/dist/esm/components/EmptySlate/EmptySlate.styles.js.map +1 -1
- package/dist/index.js +52 -50
- 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
|
@@ -7,7 +7,11 @@ exports.CompleteCheckbox = void 0;
|
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
9
9
|
var _Styles = require("./Styles");
|
|
10
|
+
var _excluded = ["completed", "disabled", "animate", "onClick", "className", "primary", "checkMarkClassName"];
|
|
10
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; }
|
|
11
15
|
var CompleteCheckbox = function CompleteCheckbox(_ref) {
|
|
12
16
|
var _ref$completed = _ref.completed,
|
|
13
17
|
completed = _ref$completed === void 0 ? false : _ref$completed,
|
|
@@ -19,8 +23,9 @@ var CompleteCheckbox = function CompleteCheckbox(_ref) {
|
|
|
19
23
|
className = _ref.className,
|
|
20
24
|
_ref$primary = _ref.primary,
|
|
21
25
|
primary = _ref$primary === void 0 ? false : _ref$primary,
|
|
22
|
-
checkMarkClassName = _ref.checkMarkClassName
|
|
23
|
-
|
|
26
|
+
checkMarkClassName = _ref.checkMarkClassName,
|
|
27
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
28
|
+
return /*#__PURE__*/_react.default.createElement(_Styles.StyledCompleteCheckbox, _extends({
|
|
24
29
|
onClick: onClick,
|
|
25
30
|
className: (0, _classnames.default)("c-complete-checkbox", className),
|
|
26
31
|
$primary: primary,
|
|
@@ -28,7 +33,7 @@ var CompleteCheckbox = function CompleteCheckbox(_ref) {
|
|
|
28
33
|
$disabled: disabled,
|
|
29
34
|
$animation: !disabled && completed && animate,
|
|
30
35
|
$checkMarkClassName: !!checkMarkClassName
|
|
31
|
-
}, /*#__PURE__*/_react.default.createElement("svg", {
|
|
36
|
+
}, rest), /*#__PURE__*/_react.default.createElement("svg", {
|
|
32
37
|
viewBox: "0 0 48 48",
|
|
33
38
|
className: checkMarkClassName
|
|
34
39
|
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompleteCheckbox.js","names":["CompleteCheckbox","completed","disabled","animate","onClick","className","primary","checkMarkClassName","classnames","displayName"],"sources":["../../../../src/components/CompleteCheckbox/CompleteCheckbox.tsx"],"sourcesContent":["import React, { FC, MouseEvent } from \"react\";\nimport classnames from \"classnames\";\nimport { StyledCompleteCheckbox } from \"./Styles\";\n\nexport interface ICompleteCheckboxProps {\n /** Change completed state of checkbox */\n completed?: boolean;\n /** Callback */\n onClick?: (event: MouseEvent) => void;\n /** Make component disabled for interaction */\n disabled?: boolean;\n /** Animation (works only when is completed and not disabled) */\n animate?: boolean;\n /** Class names */\n className?: string | undefined;\n /** Set green color for checkbox */\n primary?: boolean;\n /** Set checkmark height and width */\n checkMarkClassName?: string;\n}\n\nexport const CompleteCheckbox: FC<ICompleteCheckboxProps> = ({\n completed = false,\n disabled = false,\n animate = false,\n onClick,\n className,\n primary = false,\n checkMarkClassName,\n}) => {\n return (\n <StyledCompleteCheckbox\n onClick={onClick}\n className={classnames(\"c-complete-checkbox\", className)}\n $primary={primary}\n $completed={completed}\n $disabled={disabled}\n $animation={!disabled && completed && animate}\n $checkMarkClassName={!!checkMarkClassName}\n >\n <svg viewBox=\"0 0 48 48\" className={checkMarkClassName}>\n <path d=\"M7,7l5.7,5.7 M0,24h8 M7,41l5.7-5.7 M24,48v-8 M41,41l-5.7-5.7 M48,24h-8 M41,7l-5.7,5.7 M24,0v8\" />\n <polyline points=\"19.5,24 22.5,27 28.5,21\" />\n </svg>\n </StyledCompleteCheckbox>\n );\n};\n\nCompleteCheckbox.displayName = \"CompleteCheckbox\";\n"],"mappings":";;;;;;AAAA;AACA;AACA;AAAkD;
|
|
1
|
+
{"version":3,"file":"CompleteCheckbox.js","names":["CompleteCheckbox","completed","disabled","animate","onClick","className","primary","checkMarkClassName","rest","classnames","displayName"],"sources":["../../../../src/components/CompleteCheckbox/CompleteCheckbox.tsx"],"sourcesContent":["import React, { FC, MouseEvent, ButtonHTMLAttributes } from \"react\";\nimport classnames from \"classnames\";\nimport { StyledCompleteCheckbox } from \"./Styles\";\n\nexport interface ICompleteCheckboxProps\n extends ButtonHTMLAttributes<HTMLButtonElement> {\n /** Change completed state of checkbox */\n completed?: boolean;\n /** Callback */\n onClick?: (event: MouseEvent) => void;\n /** Make component disabled for interaction */\n disabled?: boolean;\n /** Animation (works only when is completed and not disabled) */\n animate?: boolean;\n /** Class names */\n className?: string | undefined;\n /** Set green color for checkbox */\n primary?: boolean;\n /** Set checkmark height and width */\n checkMarkClassName?: string;\n}\n\nexport const CompleteCheckbox: FC<ICompleteCheckboxProps> = ({\n completed = false,\n disabled = false,\n animate = false,\n onClick,\n className,\n primary = false,\n checkMarkClassName,\n ...rest\n}) => {\n return (\n <StyledCompleteCheckbox\n onClick={onClick}\n className={classnames(\"c-complete-checkbox\", className)}\n $primary={primary}\n $completed={completed}\n $disabled={disabled}\n $animation={!disabled && completed && animate}\n $checkMarkClassName={!!checkMarkClassName}\n {...rest}\n >\n <svg viewBox=\"0 0 48 48\" className={checkMarkClassName}>\n <path d=\"M7,7l5.7,5.7 M0,24h8 M7,41l5.7-5.7 M24,48v-8 M41,41l-5.7-5.7 M48,24h-8 M41,7l-5.7,5.7 M24,0v8\" />\n <polyline points=\"19.5,24 22.5,27 28.5,21\" />\n </svg>\n </StyledCompleteCheckbox>\n );\n};\n\nCompleteCheckbox.displayName = \"CompleteCheckbox\";\n"],"mappings":";;;;;;AAAA;AACA;AACA;AAAkD;AAAA;AAAA;AAAA;AAAA;AAoB3C,IAAMA,gBAA4C,GAAG,SAA/CA,gBAA4C,OASnD;EAAA,0BARJC,SAAS;IAATA,SAAS,+BAAG,KAAK;IAAA,qBACjBC,QAAQ;IAARA,QAAQ,8BAAG,KAAK;IAAA,oBAChBC,OAAO;IAAPA,OAAO,6BAAG,KAAK;IACfC,OAAO,QAAPA,OAAO;IACPC,SAAS,QAATA,SAAS;IAAA,oBACTC,OAAO;IAAPA,OAAO,6BAAG,KAAK;IACfC,kBAAkB,QAAlBA,kBAAkB;IACfC,IAAI;EAEP,oBACE,6BAAC,8BAAsB;IACrB,OAAO,EAAEJ,OAAQ;IACjB,SAAS,EAAE,IAAAK,mBAAU,EAAC,qBAAqB,EAAEJ,SAAS,CAAE;IACxD,QAAQ,EAAEC,OAAQ;IAClB,UAAU,EAAEL,SAAU;IACtB,SAAS,EAAEC,QAAS;IACpB,UAAU,EAAE,CAACA,QAAQ,IAAID,SAAS,IAAIE,OAAQ;IAC9C,mBAAmB,EAAE,CAAC,CAACI;EAAmB,GACtCC,IAAI,gBAER;IAAK,OAAO,EAAC,WAAW;IAAC,SAAS,EAAED;EAAmB,gBACrD;IAAM,CAAC,EAAC;EAA+F,EAAG,eAC1G;IAAU,MAAM,EAAC;EAAyB,EAAG,CACzC,CACiB;AAE7B,CAAC;AAAC;AAEFP,gBAAgB,CAACU,WAAW,GAAG,kBAAkB"}
|
|
@@ -31,7 +31,7 @@ exports.Title = Title;
|
|
|
31
31
|
var Description = (0, _styledComponents.default)(_Typography.Typography).withConfig({
|
|
32
32
|
displayName: "EmptySlatestyles__Description",
|
|
33
33
|
componentId: "sc-jfbqky-4"
|
|
34
|
-
})(["text-align:center;", "{text-align:start;}"], _BreakPoints.screen.lg);
|
|
34
|
+
})(["text-align:center;width:400px;", "{text-align:start;}"], _BreakPoints.screen.lg);
|
|
35
35
|
exports.Description = Description;
|
|
36
36
|
var FooterContainer = _styledComponents.default.div.withConfig({
|
|
37
37
|
displayName: "EmptySlatestyles__FooterContainer",
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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 width: 400px;\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,8DAIzCN,mBAAM,CAACC,EAAE,CAGZ;AAAC;AAEK,IAAMO,eAAe,GAAGV,yBAAM,CAACC,GAAG;EAAA;EAAA;AAAA,yHAOrCC,mBAAM,CAACC,EAAE,CAGZ;AAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FC, MouseEvent } from "react";
|
|
2
|
-
export interface ICompleteCheckboxProps {
|
|
1
|
+
import { FC, MouseEvent, ButtonHTMLAttributes } from "react";
|
|
2
|
+
export interface ICompleteCheckboxProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3
3
|
/** Change completed state of checkbox */
|
|
4
4
|
completed?: boolean;
|
|
5
5
|
/** Callback */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompleteCheckbox.d.ts","sourceRoot":"","sources":["../../../../src/components/CompleteCheckbox/CompleteCheckbox.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CompleteCheckbox.d.ts","sourceRoot":"","sources":["../../../../src/components/CompleteCheckbox/CompleteCheckbox.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAIpE,MAAM,WAAW,sBACf,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IAC/C,yCAAyC;IACzC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,eAAe;IACf,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;IACtC,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gEAAgE;IAChE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kBAAkB;IAClB,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,mCAAmC;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,qCAAqC;IACrC,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,sBAAsB,CA2BvD,CAAC"}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
+
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
3
|
+
var _excluded = ["completed", "disabled", "animate", "onClick", "className", "primary", "checkMarkClassName"];
|
|
1
4
|
import React from "react";
|
|
2
5
|
import classnames from "classnames";
|
|
3
6
|
import { StyledCompleteCheckbox } from "./Styles";
|
|
@@ -12,8 +15,9 @@ export var CompleteCheckbox = function CompleteCheckbox(_ref) {
|
|
|
12
15
|
className = _ref.className,
|
|
13
16
|
_ref$primary = _ref.primary,
|
|
14
17
|
primary = _ref$primary === void 0 ? false : _ref$primary,
|
|
15
|
-
checkMarkClassName = _ref.checkMarkClassName
|
|
16
|
-
|
|
18
|
+
checkMarkClassName = _ref.checkMarkClassName,
|
|
19
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
20
|
+
return /*#__PURE__*/React.createElement(StyledCompleteCheckbox, _extends({
|
|
17
21
|
onClick: onClick,
|
|
18
22
|
className: classnames("c-complete-checkbox", className),
|
|
19
23
|
$primary: primary,
|
|
@@ -21,7 +25,7 @@ export var CompleteCheckbox = function CompleteCheckbox(_ref) {
|
|
|
21
25
|
$disabled: disabled,
|
|
22
26
|
$animation: !disabled && completed && animate,
|
|
23
27
|
$checkMarkClassName: !!checkMarkClassName
|
|
24
|
-
}, /*#__PURE__*/React.createElement("svg", {
|
|
28
|
+
}, rest), /*#__PURE__*/React.createElement("svg", {
|
|
25
29
|
viewBox: "0 0 48 48",
|
|
26
30
|
className: checkMarkClassName
|
|
27
31
|
}, /*#__PURE__*/React.createElement("path", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompleteCheckbox.js","names":["React","classnames","StyledCompleteCheckbox","CompleteCheckbox","completed","disabled","animate","onClick","className","primary","checkMarkClassName","displayName"],"sources":["../../../../src/components/CompleteCheckbox/CompleteCheckbox.tsx"],"sourcesContent":["import React, { FC, MouseEvent } from \"react\";\nimport classnames from \"classnames\";\nimport { StyledCompleteCheckbox } from \"./Styles\";\n\nexport interface ICompleteCheckboxProps {\n /** Change completed state of checkbox */\n completed?: boolean;\n /** Callback */\n onClick?: (event: MouseEvent) => void;\n /** Make component disabled for interaction */\n disabled?: boolean;\n /** Animation (works only when is completed and not disabled) */\n animate?: boolean;\n /** Class names */\n className?: string | undefined;\n /** Set green color for checkbox */\n primary?: boolean;\n /** Set checkmark height and width */\n checkMarkClassName?: string;\n}\n\nexport const CompleteCheckbox: FC<ICompleteCheckboxProps> = ({\n completed = false,\n disabled = false,\n animate = false,\n onClick,\n className,\n primary = false,\n checkMarkClassName,\n}) => {\n return (\n <StyledCompleteCheckbox\n onClick={onClick}\n className={classnames(\"c-complete-checkbox\", className)}\n $primary={primary}\n $completed={completed}\n $disabled={disabled}\n $animation={!disabled && completed && animate}\n $checkMarkClassName={!!checkMarkClassName}\n >\n <svg viewBox=\"0 0 48 48\" className={checkMarkClassName}>\n <path d=\"M7,7l5.7,5.7 M0,24h8 M7,41l5.7-5.7 M24,48v-8 M41,41l-5.7-5.7 M48,24h-8 M41,7l-5.7,5.7 M24,0v8\" />\n <polyline points=\"19.5,24 22.5,27 28.5,21\" />\n </svg>\n </StyledCompleteCheckbox>\n );\n};\n\nCompleteCheckbox.displayName = \"CompleteCheckbox\";\n"],"mappings":"AAAA,OAAOA,KAAK,
|
|
1
|
+
{"version":3,"file":"CompleteCheckbox.js","names":["React","classnames","StyledCompleteCheckbox","CompleteCheckbox","completed","disabled","animate","onClick","className","primary","checkMarkClassName","rest","displayName"],"sources":["../../../../src/components/CompleteCheckbox/CompleteCheckbox.tsx"],"sourcesContent":["import React, { FC, MouseEvent, ButtonHTMLAttributes } from \"react\";\nimport classnames from \"classnames\";\nimport { StyledCompleteCheckbox } from \"./Styles\";\n\nexport interface ICompleteCheckboxProps\n extends ButtonHTMLAttributes<HTMLButtonElement> {\n /** Change completed state of checkbox */\n completed?: boolean;\n /** Callback */\n onClick?: (event: MouseEvent) => void;\n /** Make component disabled for interaction */\n disabled?: boolean;\n /** Animation (works only when is completed and not disabled) */\n animate?: boolean;\n /** Class names */\n className?: string | undefined;\n /** Set green color for checkbox */\n primary?: boolean;\n /** Set checkmark height and width */\n checkMarkClassName?: string;\n}\n\nexport const CompleteCheckbox: FC<ICompleteCheckboxProps> = ({\n completed = false,\n disabled = false,\n animate = false,\n onClick,\n className,\n primary = false,\n checkMarkClassName,\n ...rest\n}) => {\n return (\n <StyledCompleteCheckbox\n onClick={onClick}\n className={classnames(\"c-complete-checkbox\", className)}\n $primary={primary}\n $completed={completed}\n $disabled={disabled}\n $animation={!disabled && completed && animate}\n $checkMarkClassName={!!checkMarkClassName}\n {...rest}\n >\n <svg viewBox=\"0 0 48 48\" className={checkMarkClassName}>\n <path d=\"M7,7l5.7,5.7 M0,24h8 M7,41l5.7-5.7 M24,48v-8 M41,41l-5.7-5.7 M48,24h-8 M41,7l-5.7,5.7 M24,0v8\" />\n <polyline points=\"19.5,24 22.5,27 28.5,21\" />\n </svg>\n </StyledCompleteCheckbox>\n );\n};\n\nCompleteCheckbox.displayName = \"CompleteCheckbox\";\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAgD,OAAO;AACnE,OAAOC,UAAU,MAAM,YAAY;AACnC,SAASC,sBAAsB,QAAQ,UAAU;AAoBjD,OAAO,IAAMC,gBAA4C,GAAG,SAA/CA,gBAA4C,OASnD;EAAA,0BARJC,SAAS;IAATA,SAAS,+BAAG,KAAK;IAAA,qBACjBC,QAAQ;IAARA,QAAQ,8BAAG,KAAK;IAAA,oBAChBC,OAAO;IAAPA,OAAO,6BAAG,KAAK;IACfC,OAAO,QAAPA,OAAO;IACPC,SAAS,QAATA,SAAS;IAAA,oBACTC,OAAO;IAAPA,OAAO,6BAAG,KAAK;IACfC,kBAAkB,QAAlBA,kBAAkB;IACfC,IAAI;EAEP,oBACE,oBAAC,sBAAsB;IACrB,OAAO,EAAEJ,OAAQ;IACjB,SAAS,EAAEN,UAAU,CAAC,qBAAqB,EAAEO,SAAS,CAAE;IACxD,QAAQ,EAAEC,OAAQ;IAClB,UAAU,EAAEL,SAAU;IACtB,SAAS,EAAEC,QAAS;IACpB,UAAU,EAAE,CAACA,QAAQ,IAAID,SAAS,IAAIE,OAAQ;IAC9C,mBAAmB,EAAE,CAAC,CAACI;EAAmB,GACtCC,IAAI,gBAER;IAAK,OAAO,EAAC,WAAW;IAAC,SAAS,EAAED;EAAmB,gBACrD;IAAM,CAAC,EAAC;EAA+F,EAAG,eAC1G;IAAU,MAAM,EAAC;EAAyB,EAAG,CACzC,CACiB;AAE7B,CAAC;AAEDP,gBAAgB,CAACS,WAAW,GAAG,kBAAkB"}
|
|
@@ -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,SAAS,oEAGrB,CAAC;AAEF,eAAO,MAAM,KAAK;;kBAOjB,CAAC;AAEF,eAAO,MAAM,WAAW;;
|
|
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;;kBAOvB,CAAC;AAEF,eAAO,MAAM,eAAe,oEAU3B,CAAC"}
|
|
@@ -20,7 +20,7 @@ export var Title = styled(Typography).withConfig({
|
|
|
20
20
|
export var Description = styled(Typography).withConfig({
|
|
21
21
|
displayName: "EmptySlatestyles__Description",
|
|
22
22
|
componentId: "sc-jfbqky-4"
|
|
23
|
-
})(["text-align:center;", "{text-align:start;}"], screen.lg);
|
|
23
|
+
})(["text-align:center;width:400px;", "{text-align:start;}"], screen.lg);
|
|
24
24
|
export var FooterContainer = styled.div.withConfig({
|
|
25
25
|
displayName: "EmptySlatestyles__FooterContainer",
|
|
26
26
|
componentId: "sc-jfbqky-5"
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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 width: 400px;\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,8DAIzCC,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
|
@@ -269,7 +269,7 @@
|
|
|
269
269
|
})(["display:inline-flex;svg{margin:0 4px;}"]);
|
|
270
270
|
StyledButtonElement.displayName = "StyledButtonElement";
|
|
271
271
|
|
|
272
|
-
var _excluded$
|
|
272
|
+
var _excluded$1m = ["children", "active", "variant", "size", "className"];
|
|
273
273
|
/**
|
|
274
274
|
* @component Button
|
|
275
275
|
* @description
|
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
_ref$size = _ref.size,
|
|
300
300
|
size = _ref$size === void 0 ? "medium" : _ref$size,
|
|
301
301
|
className = _ref.className,
|
|
302
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
302
|
+
args = _objectWithoutProperties(_ref, _excluded$1m);
|
|
303
303
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton$2, _extends({
|
|
304
304
|
className: classNames__default["default"]("c-btn", className, {
|
|
305
305
|
"c-btn--contained": variant === "primary" || variant === "contained",
|
|
@@ -373,12 +373,12 @@
|
|
|
373
373
|
})(["svg{fill:var(--color-theme-100);}&:hover svg{transform:rotate(90deg);transition:ease 0.3s;}"]);
|
|
374
374
|
StyledGlobalAddButton.displayName = "StyledGlobalAddButton";
|
|
375
375
|
|
|
376
|
-
var _excluded$
|
|
376
|
+
var _excluded$1l = ["className", "disabled"];
|
|
377
377
|
var GlobalAddButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
378
378
|
var className = _ref.className,
|
|
379
379
|
_ref$disabled = _ref.disabled,
|
|
380
380
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
381
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
381
|
+
rest = _objectWithoutProperties(_ref, _excluded$1l);
|
|
382
382
|
return /*#__PURE__*/React__default["default"].createElement(StyledGlobalAddButton, _extends({
|
|
383
383
|
ref: ref,
|
|
384
384
|
variant: "contained",
|
|
@@ -410,11 +410,11 @@
|
|
|
410
410
|
});
|
|
411
411
|
StyledButtonGroup$1.displayName = "StyledButtonGroup";
|
|
412
412
|
|
|
413
|
-
var _excluded$
|
|
413
|
+
var _excluded$1k = ["children", "className"];
|
|
414
414
|
var ButtonGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
415
415
|
var children = _ref.children,
|
|
416
416
|
className = _ref.className,
|
|
417
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
417
|
+
rest = _objectWithoutProperties(_ref, _excluded$1k);
|
|
418
418
|
return /*#__PURE__*/React__default["default"].createElement(StyledButtonGroup$1, _extends({
|
|
419
419
|
ref: ref,
|
|
420
420
|
className: classNames__default["default"]("c-btn-group", className)
|
|
@@ -474,7 +474,7 @@
|
|
|
474
474
|
return React.useContext(MenuContext);
|
|
475
475
|
};
|
|
476
476
|
|
|
477
|
-
var _excluded$
|
|
477
|
+
var _excluded$1j = ["children", "anchorEl", "open", "style", "transition", "placement", "strategy", "afterWrite"];
|
|
478
478
|
var Popper = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
479
479
|
var children = _ref.children,
|
|
480
480
|
anchorEl = _ref.anchorEl,
|
|
@@ -488,7 +488,7 @@
|
|
|
488
488
|
_ref$strategy = _ref.strategy,
|
|
489
489
|
strategy = _ref$strategy === void 0 ? "absolute" : _ref$strategy,
|
|
490
490
|
afterWrite = _ref.afterWrite,
|
|
491
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
491
|
+
rest = _objectWithoutProperties(_ref, _excluded$1j);
|
|
492
492
|
var _useState = React.useState(true),
|
|
493
493
|
_useState2 = _slicedToArray(_useState, 2),
|
|
494
494
|
exited = _useState2[0],
|
|
@@ -587,12 +587,12 @@
|
|
|
587
587
|
});
|
|
588
588
|
StyledOverlay.displayName = "StyledOverlay";
|
|
589
589
|
|
|
590
|
-
var _excluded$
|
|
590
|
+
var _excluded$1i = ["className", "disableBackgroundColor"];
|
|
591
591
|
var Overlay = function Overlay(_ref) {
|
|
592
592
|
var className = _ref.className,
|
|
593
593
|
_ref$disableBackgroun = _ref.disableBackgroundColor,
|
|
594
594
|
disableBackgroundColor = _ref$disableBackgroun === void 0 ? false : _ref$disableBackgroun,
|
|
595
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
595
|
+
rest = _objectWithoutProperties(_ref, _excluded$1i);
|
|
596
596
|
return /*#__PURE__*/React__default["default"].createElement(StyledOverlay, _extends({
|
|
597
597
|
className: classNames__default["default"]("c-overlay", className),
|
|
598
598
|
$disableBackgroundColor: disableBackgroundColor
|
|
@@ -632,7 +632,7 @@
|
|
|
632
632
|
})(["", " ", " position:fixed;top:0;right:0;bottom:0;left:0;"], FontStyle, BoxSizingStyle);
|
|
633
633
|
StyledWindow.displayName = "StyledWindow";
|
|
634
634
|
|
|
635
|
-
var _excluded$
|
|
635
|
+
var _excluded$1h = ["children", "onClose", "className", "style", "onKeyDown", "disableFocusLock", "disableScrollLock", "disableCloseOnEsc", "onClick"];
|
|
636
636
|
var returnFocus = {
|
|
637
637
|
preventScroll: true
|
|
638
638
|
};
|
|
@@ -649,7 +649,7 @@
|
|
|
649
649
|
_ref$disableCloseOnEs = _ref.disableCloseOnEsc,
|
|
650
650
|
disableCloseOnEsc = _ref$disableCloseOnEs === void 0 ? false : _ref$disableCloseOnEs,
|
|
651
651
|
onClick = _ref.onClick,
|
|
652
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
652
|
+
rest = _objectWithoutProperties(_ref, _excluded$1h);
|
|
653
653
|
var innerRef = React.useRef(null);
|
|
654
654
|
var handleRef = useForkRef(innerRef, ref);
|
|
655
655
|
var _useLayerContext = useLayerContext(),
|
|
@@ -709,7 +709,7 @@
|
|
|
709
709
|
}, FontStyle, BoxSizingStyle);
|
|
710
710
|
StyledBubble.displayName = "StyledBubble";
|
|
711
711
|
|
|
712
|
-
var _excluded$
|
|
712
|
+
var _excluded$1g = ["children", "className", "innerRef", "style"];
|
|
713
713
|
var Bubble = function Bubble(_ref) {
|
|
714
714
|
var children = _ref.children,
|
|
715
715
|
className = _ref.className,
|
|
@@ -717,7 +717,7 @@
|
|
|
717
717
|
innerRef = _ref$innerRef === void 0 ? null : _ref$innerRef,
|
|
718
718
|
_ref$style = _ref.style,
|
|
719
719
|
style = _ref$style === void 0 ? {} : _ref$style,
|
|
720
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
720
|
+
rest = _objectWithoutProperties(_ref, _excluded$1g);
|
|
721
721
|
return /*#__PURE__*/React__default["default"].createElement(StyledBubble, _extends({}, rest, {
|
|
722
722
|
ref: innerRef,
|
|
723
723
|
className: classNames__default["default"]("c-bubble", className),
|
|
@@ -1037,7 +1037,7 @@
|
|
|
1037
1037
|
});
|
|
1038
1038
|
StyledTypography.displayName = "StyledTypography";
|
|
1039
1039
|
|
|
1040
|
-
var _excluded$
|
|
1040
|
+
var _excluded$1f = ["variant", "as", "color", "italic", "tabularNums", "letterSpacing", "lineHeight", "align", "decoration", "transform", "overflow", "whitespace", "wordBreak", "weight", "className", "children"];
|
|
1041
1041
|
var Typography = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1042
1042
|
var _ref$variant = _ref.variant,
|
|
1043
1043
|
variant = _ref$variant === void 0 ? "Title 1" : _ref$variant,
|
|
@@ -1068,7 +1068,7 @@
|
|
|
1068
1068
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
1069
1069
|
className = _ref.className,
|
|
1070
1070
|
children = _ref.children,
|
|
1071
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1071
|
+
props = _objectWithoutProperties(_ref, _excluded$1f);
|
|
1072
1072
|
var Component = as || "div";
|
|
1073
1073
|
return /*#__PURE__*/React__default["default"].createElement(StyledTypography, _extends({
|
|
1074
1074
|
as: Component,
|
|
@@ -1091,13 +1091,13 @@
|
|
|
1091
1091
|
});
|
|
1092
1092
|
Typography.displayName = "Typography";
|
|
1093
1093
|
|
|
1094
|
-
var _excluded$
|
|
1094
|
+
var _excluded$1e = ["title", "className", "leftElement", "rightElement"];
|
|
1095
1095
|
var MenuHeader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1096
1096
|
var title = _ref.title,
|
|
1097
1097
|
className = _ref.className,
|
|
1098
1098
|
leftElement = _ref.leftElement,
|
|
1099
1099
|
rightElement = _ref.rightElement,
|
|
1100
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1100
|
+
props = _objectWithoutProperties(_ref, _excluded$1e);
|
|
1101
1101
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuHeader, _extends({}, props, {
|
|
1102
1102
|
className: classNames__default["default"]("c-menu-header", className),
|
|
1103
1103
|
ref: ref
|
|
@@ -1122,11 +1122,11 @@
|
|
|
1122
1122
|
});
|
|
1123
1123
|
MenuHeader.displayName = "MenuHeader";
|
|
1124
1124
|
|
|
1125
|
-
var _excluded$
|
|
1125
|
+
var _excluded$1d = ["children", "className"];
|
|
1126
1126
|
var MenuFooter = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1127
1127
|
var children = _ref.children,
|
|
1128
1128
|
className = _ref.className,
|
|
1129
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1129
|
+
props = _objectWithoutProperties(_ref, _excluded$1d);
|
|
1130
1130
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuFooter$1, _extends({}, props, {
|
|
1131
1131
|
className: classNames__default["default"]("c-menu-footer", className),
|
|
1132
1132
|
ref: ref
|
|
@@ -1150,11 +1150,11 @@
|
|
|
1150
1150
|
})(["border-top:1px solid var(--border-primary);margin:12px 16px;height:1px;"]);
|
|
1151
1151
|
StyledListSeparator.displayName = "StyledListSeparator";
|
|
1152
1152
|
|
|
1153
|
-
var _excluded$
|
|
1153
|
+
var _excluded$1c = ["children", "className"];
|
|
1154
1154
|
var ListItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1155
1155
|
var children = _ref.children,
|
|
1156
1156
|
className = _ref.className,
|
|
1157
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1157
|
+
props = _objectWithoutProperties(_ref, _excluded$1c);
|
|
1158
1158
|
return /*#__PURE__*/React__default["default"].createElement(StyledListItem, _extends({
|
|
1159
1159
|
className: classNames__default["default"]("c-list-item", className),
|
|
1160
1160
|
ref: ref,
|
|
@@ -1163,21 +1163,21 @@
|
|
|
1163
1163
|
});
|
|
1164
1164
|
ListItem.displayName = "ListItem";
|
|
1165
1165
|
|
|
1166
|
-
var _excluded$
|
|
1166
|
+
var _excluded$1b = ["className"];
|
|
1167
1167
|
var ListSeparator = function ListSeparator(_ref) {
|
|
1168
1168
|
var className = _ref.className,
|
|
1169
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1169
|
+
props = _objectWithoutProperties(_ref, _excluded$1b);
|
|
1170
1170
|
return /*#__PURE__*/React__default["default"].createElement(StyledListSeparator, _extends({
|
|
1171
1171
|
className: classNames__default["default"]("c-list-separator", className)
|
|
1172
1172
|
}, props));
|
|
1173
1173
|
};
|
|
1174
1174
|
ListSeparator.displayName = "ListSeparator";
|
|
1175
1175
|
|
|
1176
|
-
var _excluded$
|
|
1176
|
+
var _excluded$1a = ["children", "className"];
|
|
1177
1177
|
var _List = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1178
1178
|
var children = _ref.children,
|
|
1179
1179
|
className = _ref.className,
|
|
1180
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1180
|
+
props = _objectWithoutProperties(_ref, _excluded$1a);
|
|
1181
1181
|
return /*#__PURE__*/React__default["default"].createElement(StyledList, _extends({
|
|
1182
1182
|
className: className,
|
|
1183
1183
|
ref: ref,
|
|
@@ -1203,7 +1203,7 @@
|
|
|
1203
1203
|
return size === "big" && styled.css(["width:40px;"]);
|
|
1204
1204
|
});
|
|
1205
1205
|
|
|
1206
|
-
var _excluded$
|
|
1206
|
+
var _excluded$19 = ["children", "className", "variant", "size", "active"];
|
|
1207
1207
|
|
|
1208
1208
|
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
1209
1209
|
|
|
@@ -1233,7 +1233,7 @@
|
|
|
1233
1233
|
variant = _ref.variant,
|
|
1234
1234
|
size = _ref.size,
|
|
1235
1235
|
active = _ref.active,
|
|
1236
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
1236
|
+
args = _objectWithoutProperties(_ref, _excluded$19);
|
|
1237
1237
|
return /*#__PURE__*/React__default["default"].createElement(StyledIconButton, _extends({
|
|
1238
1238
|
className: className,
|
|
1239
1239
|
variant: variant,
|
|
@@ -7522,14 +7522,14 @@
|
|
|
7522
7522
|
});
|
|
7523
7523
|
StyledBreadcrumbListItem.displayName = "StyledBreadcrumbListItem";
|
|
7524
7524
|
|
|
7525
|
-
var _excluded$
|
|
7525
|
+
var _excluded$18 = ["children", "className", "separator"];
|
|
7526
7526
|
var Breadcrumbs = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
7527
7527
|
var _dimensions$width, _childDimensions$widt;
|
|
7528
7528
|
var children = _ref.children,
|
|
7529
7529
|
className = _ref.className,
|
|
7530
7530
|
_ref$separator = _ref.separator,
|
|
7531
7531
|
separator = _ref$separator === void 0 ? "/" : _ref$separator,
|
|
7532
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7532
|
+
rest = _objectWithoutProperties(_ref, _excluded$18);
|
|
7533
7533
|
var internalRef = React.useRef(null);
|
|
7534
7534
|
var listWrapperRef = React.useRef(null);
|
|
7535
7535
|
var olRef = React.useRef(null);
|
|
@@ -7696,10 +7696,10 @@
|
|
|
7696
7696
|
return props.$isLight && styled.css(["background-color:var(--page-paper-main);box-shadow:var(--shadow-secondary);color:var(--color-theme-700);"]);
|
|
7697
7697
|
});
|
|
7698
7698
|
|
|
7699
|
-
var _excluded$
|
|
7699
|
+
var _excluded$17 = ["children"];
|
|
7700
7700
|
var TooltipAnimation = function TooltipAnimation(_ref) {
|
|
7701
7701
|
var children = _ref.children,
|
|
7702
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7702
|
+
props = _objectWithoutProperties(_ref, _excluded$17);
|
|
7703
7703
|
return /*#__PURE__*/React__default["default"].createElement(FromElement, _extends({
|
|
7704
7704
|
timeout: 0
|
|
7705
7705
|
}, props), children);
|
|
@@ -7774,12 +7774,12 @@
|
|
|
7774
7774
|
});
|
|
7775
7775
|
Tooltip.displayName = "Tooltip";
|
|
7776
7776
|
|
|
7777
|
-
var _excluded$
|
|
7777
|
+
var _excluded$16 = ["weight", "children"];
|
|
7778
7778
|
var Body2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7779
7779
|
var _ref$weight = _ref.weight,
|
|
7780
7780
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
7781
7781
|
children = _ref.children,
|
|
7782
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7782
|
+
props = _objectWithoutProperties(_ref, _excluded$16);
|
|
7783
7783
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
7784
7784
|
variant: "Body 2",
|
|
7785
7785
|
weight: weight,
|
|
@@ -7828,7 +7828,7 @@
|
|
|
7828
7828
|
});
|
|
7829
7829
|
StyledCounterButtonLabel.displayName = "StyledCounterButtonLabel";
|
|
7830
7830
|
|
|
7831
|
-
var _excluded$
|
|
7831
|
+
var _excluded$15 = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className", "disabled"];
|
|
7832
7832
|
var CounterButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7833
7833
|
var label = _ref.label,
|
|
7834
7834
|
icon = _ref.icon,
|
|
@@ -7840,7 +7840,7 @@
|
|
|
7840
7840
|
className = _ref.className,
|
|
7841
7841
|
_ref$disabled = _ref.disabled,
|
|
7842
7842
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
7843
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
7843
|
+
args = _objectWithoutProperties(_ref, _excluded$15);
|
|
7844
7844
|
return /*#__PURE__*/React__default["default"].createElement(StyledCounterButtonWrapper, {
|
|
7845
7845
|
ref: ref,
|
|
7846
7846
|
className: className
|
|
@@ -8151,7 +8151,7 @@
|
|
|
8151
8151
|
StyledDatePicker.displayName = "StyledDatePicker";
|
|
8152
8152
|
StyledDayPicker.displayName = "StyledDayPicker";
|
|
8153
8153
|
|
|
8154
|
-
var _excluded$
|
|
8154
|
+
var _excluded$14 = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers"];
|
|
8155
8155
|
var DatePicker = function DatePicker(_ref) {
|
|
8156
8156
|
var className = _ref.className,
|
|
8157
8157
|
onChange = _ref.onChange,
|
|
@@ -8173,7 +8173,7 @@
|
|
|
8173
8173
|
_ref$fixedWeeks = _ref.fixedWeeks,
|
|
8174
8174
|
fixedWeeks = _ref$fixedWeeks === void 0 ? true : _ref$fixedWeeks,
|
|
8175
8175
|
defaultModifiers = _ref.modifiers,
|
|
8176
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8176
|
+
rest = _objectWithoutProperties(_ref, _excluded$14);
|
|
8177
8177
|
var _useState = React.useState(),
|
|
8178
8178
|
_useState2 = _slicedToArray(_useState, 2),
|
|
8179
8179
|
enteredTo = _useState2[0],
|
|
@@ -9065,10 +9065,10 @@
|
|
|
9065
9065
|
componentId: "sc-x4ge7a-0"
|
|
9066
9066
|
})(["width:70%;background:linear-gradient( 90deg,rgba(255,255,255,0) 20%,rgba(0,0,0,0.05) 50%,rgba(255,255,255,0) 60% );background-size:400%;height:16px;border-radius:8px;.neon &{background:linear-gradient( 90deg,rgba(255,255,255,0) 20%,rgba(0,0,0,0.2) 50%,rgba(255,255,255,0) 60% );background-size:500%;}animation-duration:1s;animation-iteration-count:infinite;animation-name:", ";animation-timing-function:linear;animation-direction:reverse;"], linearAnimation);
|
|
9067
9067
|
|
|
9068
|
-
var _excluded$
|
|
9068
|
+
var _excluded$13 = ["className"];
|
|
9069
9069
|
var LinearLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9070
9070
|
var className = _ref.className,
|
|
9071
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9071
|
+
rest = _objectWithoutProperties(_ref, _excluded$13);
|
|
9072
9072
|
return /*#__PURE__*/React__default["default"].createElement(StyledLinearLoader, _extends({
|
|
9073
9073
|
ref: ref,
|
|
9074
9074
|
className: classNames__default["default"]("c-loader c-loader--linear", className)
|
|
@@ -9082,10 +9082,10 @@
|
|
|
9082
9082
|
componentId: "sc-1f35d5h-0"
|
|
9083
9083
|
})(["display:inline-block;text-align:center;& > span{display:inline-block;width:18px;height:18px;background-color:#777;border-radius:100%;animation:", " 1.4s infinite ease-in-out both;}span:nth-child(1){animation-delay:-0.32s;}span:nth-child(2){animation-delay:-0.16s;}"], dotAnimation);
|
|
9084
9084
|
|
|
9085
|
-
var _excluded$
|
|
9085
|
+
var _excluded$12 = ["className"];
|
|
9086
9086
|
var DotsLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9087
9087
|
var className = _ref.className,
|
|
9088
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9088
|
+
rest = _objectWithoutProperties(_ref, _excluded$12);
|
|
9089
9089
|
return /*#__PURE__*/React__default["default"].createElement(StyledDotsLoader, _extends({
|
|
9090
9090
|
ref: ref,
|
|
9091
9091
|
className: classNames__default["default"]("c-loader c-loader--dots", className)
|
|
@@ -9107,7 +9107,7 @@
|
|
|
9107
9107
|
return props.$activeColorPercentage === "75%" && styled.css(["border-right:", "px solid ", ";border-bottom:", "px solid ", ";border-left:", "px solid ", ";border-top:", "px solid ", ";"], props.$stroke, props.$activeStrokeColor, props.$stroke, props.$activeStrokeColor, props.$stroke, props.$inactiveStrokeColor, props.$stroke, props.$activeStrokeColor);
|
|
9108
9108
|
});
|
|
9109
9109
|
|
|
9110
|
-
var _excluded$
|
|
9110
|
+
var _excluded$11 = ["radius", "stroke", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "rotateDurationInSeconds", "className"];
|
|
9111
9111
|
var SpinnerLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9112
9112
|
var _ref$radius = _ref.radius,
|
|
9113
9113
|
radius = _ref$radius === void 0 ? 10 : _ref$radius,
|
|
@@ -9122,7 +9122,7 @@
|
|
|
9122
9122
|
_ref$rotateDurationIn = _ref.rotateDurationInSeconds,
|
|
9123
9123
|
rotateDurationInSeconds = _ref$rotateDurationIn === void 0 ? 0.75 : _ref$rotateDurationIn,
|
|
9124
9124
|
className = _ref.className,
|
|
9125
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9125
|
+
rest = _objectWithoutProperties(_ref, _excluded$11);
|
|
9126
9126
|
return /*#__PURE__*/React__default["default"].createElement(StyledSpinnerLoader$1, _extends({
|
|
9127
9127
|
ref: ref,
|
|
9128
9128
|
className: className,
|
|
@@ -9136,7 +9136,7 @@
|
|
|
9136
9136
|
});
|
|
9137
9137
|
SpinnerLoader.displayName = "SpinnerLoader";
|
|
9138
9138
|
|
|
9139
|
-
var _excluded
|
|
9139
|
+
var _excluded$10 = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue", "loading", "loadingRows"];
|
|
9140
9140
|
exports.SortDirection = void 0;
|
|
9141
9141
|
(function (SortDirection) {
|
|
9142
9142
|
SortDirection["None"] = "none";
|
|
@@ -9184,7 +9184,7 @@
|
|
|
9184
9184
|
loading = _ref.loading,
|
|
9185
9185
|
_ref$loadingRows = _ref.loadingRows,
|
|
9186
9186
|
loadingRows = _ref$loadingRows === void 0 ? 7 : _ref$loadingRows,
|
|
9187
|
-
args = _objectWithoutProperties(_ref, _excluded
|
|
9187
|
+
args = _objectWithoutProperties(_ref, _excluded$10);
|
|
9188
9188
|
var _useState = React.useState(sortDirection),
|
|
9189
9189
|
_useState2 = _slicedToArray(_useState, 2),
|
|
9190
9190
|
columnDirection = _useState2[0],
|
|
@@ -9544,6 +9544,7 @@
|
|
|
9544
9544
|
});
|
|
9545
9545
|
StyledCompleteCheckbox.displayName = "StyledCompleteCheckbox";
|
|
9546
9546
|
|
|
9547
|
+
var _excluded$$ = ["completed", "disabled", "animate", "onClick", "className", "primary", "checkMarkClassName"];
|
|
9547
9548
|
var CompleteCheckbox = function CompleteCheckbox(_ref) {
|
|
9548
9549
|
var _ref$completed = _ref.completed,
|
|
9549
9550
|
completed = _ref$completed === void 0 ? false : _ref$completed,
|
|
@@ -9555,8 +9556,9 @@
|
|
|
9555
9556
|
className = _ref.className,
|
|
9556
9557
|
_ref$primary = _ref.primary,
|
|
9557
9558
|
primary = _ref$primary === void 0 ? false : _ref$primary,
|
|
9558
|
-
checkMarkClassName = _ref.checkMarkClassName
|
|
9559
|
-
|
|
9559
|
+
checkMarkClassName = _ref.checkMarkClassName,
|
|
9560
|
+
rest = _objectWithoutProperties(_ref, _excluded$$);
|
|
9561
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledCompleteCheckbox, _extends({
|
|
9560
9562
|
onClick: onClick,
|
|
9561
9563
|
className: classNames__default["default"]("c-complete-checkbox", className),
|
|
9562
9564
|
$primary: primary,
|
|
@@ -9564,7 +9566,7 @@
|
|
|
9564
9566
|
$disabled: disabled,
|
|
9565
9567
|
$animation: !disabled && completed && animate,
|
|
9566
9568
|
$checkMarkClassName: !!checkMarkClassName
|
|
9567
|
-
}, /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
9569
|
+
}, rest), /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
9568
9570
|
viewBox: "0 0 48 48",
|
|
9569
9571
|
className: checkMarkClassName
|
|
9570
9572
|
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
@@ -17139,7 +17141,7 @@
|
|
|
17139
17141
|
var Description = styled__default["default"](Typography).withConfig({
|
|
17140
17142
|
displayName: "EmptySlatestyles__Description",
|
|
17141
17143
|
componentId: "sc-jfbqky-4"
|
|
17142
|
-
})(["text-align:center;", "{text-align:start;}"], screen.lg);
|
|
17144
|
+
})(["text-align:center;width:400px;", "{text-align:start;}"], screen.lg);
|
|
17143
17145
|
var FooterContainer = styled__default["default"].div.withConfig({
|
|
17144
17146
|
displayName: "EmptySlatestyles__FooterContainer",
|
|
17145
17147
|
componentId: "sc-jfbqky-5"
|