oa-componentbook 0.7.0 → 0.9.0
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/build/components/Accordians.js +1 -9
- package/build/components/ColorVariables.js +25 -0
- package/build/components/{oa-button/OACustomButton.js → oa-component-button/CustomButton.js} +14 -14
- package/build/components/oa-component-button/styles.js +38 -0
- package/build/components/{CheckBoxes.js → oa-component-checkbox/CustomCheckBox.js} +8 -8
- package/build/components/oa-component-colorUsage/ColorUsage.js +27 -0
- package/build/components/oa-component-colorUsage/styles.js +14 -0
- package/build/components/oa-component-cornerRadius/CornerRadius.js +25 -0
- package/build/components/oa-component-cornerRadius/styles.js +35 -0
- package/build/components/oa-component-drawer/CustomDrawer.js +86 -0
- package/build/components/oa-component-drawer/styles.js +17 -0
- package/build/components/oa-component-modal/CustomModal.js +92 -0
- package/build/components/oa-component-modal/styles.js +16 -0
- package/build/components/{Notification.js → oa-component-notification/CustomNotification.js} +43 -37
- package/build/components/oa-component-notification/styles.js +13 -0
- package/build/components/{RadioButton.js → oa-component-radio/CustomRadio.js} +18 -13
- package/build/components/oa-component-spacingScales/SpacingScales.js +27 -0
- package/build/components/oa-component-spacingScales/styles.js +49 -0
- package/build/components/{TableDesign.js → oa-component-table/CustomTable.js} +4 -4
- package/build/components/{TabsDesign.js → oa-component-tabs/CustomTabs.js} +5 -5
- package/build/components/oa-component-textarea/TextArea.js +38 -0
- package/build/components/oa-component-textarea/styles.js +17 -0
- package/build/components/{DrawerDesign.js → oa-component-timeline/CustomTimeline.js} +27 -37
- package/build/components/oa-component-timeline/styles.js +17 -0
- package/build/components/oa-component-toggle/CustomToggle.js +44 -0
- package/build/components/oa-component-toggle/styles.js +16 -0
- package/build/components/oa-component-typography/Typography.js +34 -0
- package/build/components/oa-component-typography/styles.js +14 -0
- package/build/index.js +77 -57
- package/build/widgets/oa-widget-address/Address.js +61 -0
- package/build/widgets/oa-widget-address/styles.js +16 -0
- package/build/widgets/oa-widget-approval.js +134 -0
- package/build/widgets/oa-widget-keyValueDataView/KeyValueDataView.js +67 -0
- package/build/widgets/oa-widget-keyValueDataView/styles.js +16 -0
- package/build/widgets/oa-widget-send-payment-link/SendPaymentLink.js +109 -0
- package/build/widgets/oa-widget-send-payment-link/example-usage.md +34 -0
- package/build/widgets/oa-widget-send-payment-link/styles.js +18 -0
- package/build/widgets/oa-widget-stagesTimeline/StageTimeline.js +49 -0
- package/build/widgets/oa-widget-stagesTimeline/styles.js +22 -0
- package/build/widgets/oa-widget-track-shipment/TrackShipment.js +102 -0
- package/package.json +1 -1
- package/build/components/ColorUsage.js +0 -35
- package/build/components/CornerRadius.js +0 -46
- package/build/components/KeyValueDataView.js +0 -48
- package/build/components/LeftPannelTab.js +0 -34
- package/build/components/SpacingScales.js +0 -34
- package/build/components/Toggle.js +0 -60
- package/build/components/Typography.js +0 -37
- package/build/components/oa-button/styles.js +0 -37
- package/build/components/peclaim-components/CloseClaim.js +0 -97
- package/build/components/peclaim-components/ComplaintsTable.js +0 -103
- package/build/components/peclaim-components/MainComponent.js +0 -192
- package/build/components/peclaim-components/SrComplaints.js +0 -54
- package/build/components/peclaim-components/WorkflowSummaryNotesModal.js +0 -60
- package/build/components/peclaim-components/WorkflowSummaryTable.js +0 -82
- package/build/components/styles.js +0 -89
- package/build/components/wallet-service-details/ComplaintDetail.js +0 -28
- package/build/components/wallet-service-details/ServiceDetailsTabView.js +0 -170
- package/build/components/wallet-service-details/ViewMoreDetailsDrawer.js +0 -95
- package/build/components/wallet-service-details/WalletServiceDetails.js +0 -67
- package/build/components/wallet-service-details/styles/styles.css +0 -16
|
@@ -6,20 +6,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
8
|
exports.default = void 0;
|
|
9
|
-
require("core-js/modules/es.symbol.description.js");
|
|
10
9
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
12
11
|
var _antd = require("antd");
|
|
13
|
-
var _Typography = _interopRequireWildcard(require("./Typography"));
|
|
14
|
-
var _styles = require("./styles");
|
|
12
|
+
var _Typography = _interopRequireWildcard(require("./oa-component-typography/Typography"));
|
|
15
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
14
|
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); }
|
|
17
15
|
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; }
|
|
18
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
19
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
20
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
21
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
22
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
23
16
|
function Accordians(_ref) {
|
|
24
17
|
let {
|
|
25
18
|
disabled,
|
|
@@ -29,7 +22,6 @@ function Accordians(_ref) {
|
|
|
29
22
|
borderRadius
|
|
30
23
|
} = _ref;
|
|
31
24
|
return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_antd.Collapse, {
|
|
32
|
-
style: _objectSpread({}, _styles.cornerRadiusStyle[borderRadius]),
|
|
33
25
|
className: "collapseHead",
|
|
34
26
|
expandIconPosition: "right"
|
|
35
27
|
}, /*#__PURE__*/_react.default.createElement(_antd.Collapse.Panel, {
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _styledComponents = require("styled-components");
|
|
8
|
+
var _templateObject;
|
|
9
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
10
|
+
/*
|
|
11
|
+
? Keep this at the top level of the app using any of these components.
|
|
12
|
+
* Do not add any children to it because this element does NOT render any of its children
|
|
13
|
+
|
|
14
|
+
* Instead, follow a syntax similar to this:
|
|
15
|
+
<>
|
|
16
|
+
<ColorVariables />
|
|
17
|
+
<App />
|
|
18
|
+
</>
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
// TODO: Figure out a way to make this work with storybook.
|
|
22
|
+
// Can be used to wrap the entire application, to make these styles available to every component
|
|
23
|
+
const ColorVariables = (0, _styledComponents.createGlobalStyle)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n:root {\n --color-blue-CTA: #014FC5;\n --color-blue-hover: #82A9E2;\n --color-darkblue-background: #003264;\n --color-lightblue-background: #DEF1FB;\n --color-green-success: #00875A;\n --color-lightgreen-success: #CCE7DE;\n --color-yellow-warning: #FF991F;\n --color-lightyellow-warning: #FFEBD2;\n --color-red-error: #DE350B;\n --color-red-hover: #E87254;\n --color-lightred-error: #F8D7CE;\n --color-primarygrey-text: #212121;\n --color-secondarygrey-text: #717171;\n --color-grey1-placeholder: #959595;\n --color-grey2-disabled: #BFBFBF;\n --color-grey3-disabled_divider: #E0E0E0;\n --color-grey4-background: #F6F6F6;\n --color-white-background: #FFFFFF;\n --color-grey5-overlay: rgba(0, 0, 0, 0.7);\n --color-sunyellow-tags: #F5C82D;\n} \n"])));
|
|
24
|
+
var _default = ColorVariables;
|
|
25
|
+
exports.default = _default;
|
package/build/components/{oa-button/OACustomButton.js → oa-component-button/CustomButton.js}
RENAMED
|
@@ -11,50 +11,50 @@ require("core-js/modules/es.string.replace.js");
|
|
|
11
11
|
var _react = _interopRequireDefault(require("react"));
|
|
12
12
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
13
|
var _icons = require("@ant-design/icons");
|
|
14
|
-
var _Typography = _interopRequireWildcard(require("../Typography"));
|
|
15
|
-
var _styles =
|
|
14
|
+
var _Typography = _interopRequireWildcard(require("../oa-component-typography/Typography"));
|
|
15
|
+
var _styles = require("./styles");
|
|
16
16
|
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); }
|
|
17
17
|
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; }
|
|
18
18
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
|
-
function
|
|
19
|
+
function CustomButton(_ref) {
|
|
20
20
|
let {
|
|
21
21
|
className,
|
|
22
22
|
disabled,
|
|
23
23
|
onClick,
|
|
24
|
-
|
|
24
|
+
iconPosition,
|
|
25
25
|
size,
|
|
26
|
-
|
|
26
|
+
label,
|
|
27
27
|
type,
|
|
28
28
|
typography
|
|
29
29
|
} = _ref;
|
|
30
|
-
return /*#__PURE__*/_react.default.createElement(_styles.
|
|
30
|
+
return /*#__PURE__*/_react.default.createElement(_styles.ColoredStyledButton, {
|
|
31
31
|
className: "\n ".concat(disabled ? "".concat(type.replace('danger-', ''), "-disabled") : type, " \n ").concat(className, "\n "),
|
|
32
32
|
disabled: disabled,
|
|
33
33
|
onClick: disabled ? null : onClick,
|
|
34
34
|
type: "button"
|
|
35
35
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
36
36
|
className: "text-container"
|
|
37
|
-
},
|
|
37
|
+
}, iconPosition === 'left' && /*#__PURE__*/_react.default.createElement(_icons.SearchOutlined, null), /*#__PURE__*/_react.default.createElement(_Typography.default, {
|
|
38
38
|
typography: typography
|
|
39
|
-
},
|
|
39
|
+
}, label), iconPosition === 'right' && /*#__PURE__*/_react.default.createElement(_icons.SearchOutlined, null)));
|
|
40
40
|
}
|
|
41
|
-
|
|
41
|
+
CustomButton.propTypes = {
|
|
42
42
|
className: _propTypes.default.string,
|
|
43
43
|
disabled: _propTypes.default.bool,
|
|
44
44
|
onClick: _propTypes.default.func.isRequired,
|
|
45
45
|
size: _propTypes.default.oneOf(['small', 'medium', 'large']),
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
iconPosition: _propTypes.default.oneOf(['left', 'right', 'none']),
|
|
47
|
+
label: _propTypes.default.string.isRequired,
|
|
48
48
|
type: _propTypes.default.oneOf(['primary', 'secondary', 'text-only', 'danger-primary', 'danger-secondary', 'danger-text-only']),
|
|
49
49
|
typography: _propTypes.default.oneOf(_Typography.typographyOptions)
|
|
50
50
|
};
|
|
51
|
-
|
|
51
|
+
CustomButton.defaultProps = {
|
|
52
52
|
className: '',
|
|
53
53
|
disabled: false,
|
|
54
54
|
size: 'medium',
|
|
55
|
-
|
|
55
|
+
iconPosition: 'none',
|
|
56
56
|
type: 'primary',
|
|
57
57
|
typography: 'type-button-500'
|
|
58
58
|
};
|
|
59
|
-
var _default =
|
|
59
|
+
var _default = CustomButton;
|
|
60
60
|
exports.default = _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.weak-map.js");
|
|
4
|
+
require("core-js/modules/web.dom-collections.iterator.js");
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = exports.ColoredStyledButton = void 0;
|
|
9
|
+
var _styledComponents = _interopRequireWildcard(require("styled-components"));
|
|
10
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
|
|
11
|
+
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
|
+
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
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
14
|
+
var _default = {};
|
|
15
|
+
exports.default = _default;
|
|
16
|
+
const getSizeStyles = size => {
|
|
17
|
+
switch (size) {
|
|
18
|
+
case 'small':
|
|
19
|
+
{
|
|
20
|
+
return (0, _styledComponents.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n min-width: 80px;\n padding: 10px 16px;\n "])));
|
|
21
|
+
}
|
|
22
|
+
case 'medium':
|
|
23
|
+
{
|
|
24
|
+
return (0, _styledComponents.css)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n min-width: 100px;\n padding: 10px 16px; \n "])));
|
|
25
|
+
}
|
|
26
|
+
case 'large':
|
|
27
|
+
{
|
|
28
|
+
return (0, _styledComponents.css)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n min-width: 136px;\n padding: 10px 24px;\n "])));
|
|
29
|
+
}
|
|
30
|
+
default:
|
|
31
|
+
{
|
|
32
|
+
return (0, _styledComponents.css)(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n min-width: 100px;\n padding: 10px 16px; \n "])));
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
const StyledButton = _styledComponents.default.button(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n border-radius: 4px;\n cursor: pointer;\n\n .text-container {\n display: flex;\n align-items: center;\n justify-content: center;\n \n }\n\n .anticon-search {\n margin: 0 8px 0 0;\n }\n"])));
|
|
37
|
+
const ColoredStyledButton = (0, _styledComponents.default)(StyledButton)(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n\n ", "\n\n &.primary {\n background: var(--color-blue-CTA);\n border: 1px solid var(--color-blue-CTA);\n color: var(--color-white-background);\n }\n &.primary:hover {\n background: var(--color-blue-hover);\n border: 1px solid var(--color-blue-hover);\n }\n\n &.primary-disabled {\n background: var(--color-grey2-disabled);\n cursor: not-allowed;\n color: var(--color-white-background);\n }\n\n &.secondary {\n background: var(--color-white-background);\n border: 1px solid var(--color-blue-CTA);\n color: var(--color-blue-CTA);\n }\n &.secondary:hover {\n border: 1px solid var(--color-blue-hover);\n color: var(--color-blue-hover);\n }\n\n &.secondary-disabled {\n background: var(--color-white-background);\n border: 1px solid var(--color-grey2-disabled);\n color: var(--color-grey2-disabled);\n cursor: not-allowed;\n }\n\n &.text-only {\n border: none;\n background: var(--color-white-background);\n color: var(--color-blue-CTA);\n }\n &.text-only:hover {\n color: var(--color-blue-hover);\n }\n\n &.text-only-disabled {\n border: none;\n background: var(--color-white-background);\n color: var(--color-grey2-disabled);\n cursor: not-allowed;\n }\n \n &.danger-primary {\n background: var(--color-red-error);\n color: var(--color-white-background);\n border: 1px solid var(--color-red-error);\n }\n &.danger-primary:hover {\n background: var(--color-red-hover);\n color: var(--color-white-background);\n border: 1px solid var(--color-red-hover);\n }\n\n &.danger-secondary {\n color: var(--color-red-error);\n border: 1px solid var(--color-red-error);\n background: var(--color-white-background);\n }\n &.danger-secondary:hover {\n color: var(--color-red-hover);\n border: 1px solid var(--color-red-hover);\n background: var(--color-white-background);\n }\n\n &.danger-text-only {\n border: none;\n color: var(--color-red-error);\n background: var(--color-white-background);\n }\n &.danger-text-only:hover {\n border: none;\n color: var(--color-red-hover);\n background: var(--color-white-background);\n }\n"])), props => getSizeStyles(props.size));
|
|
38
|
+
exports.ColoredStyledButton = ColoredStyledButton;
|
|
@@ -9,15 +9,15 @@ exports.default = void 0;
|
|
|
9
9
|
var _react = _interopRequireDefault(require("react"));
|
|
10
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
11
|
var _antd = require("antd");
|
|
12
|
-
var _Typography = _interopRequireWildcard(require("
|
|
12
|
+
var _Typography = _interopRequireWildcard(require("../oa-component-typography/Typography"));
|
|
13
13
|
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); }
|
|
14
14
|
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; }
|
|
15
15
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
|
-
function
|
|
16
|
+
function CustomCheckBox(_ref) {
|
|
17
17
|
let {
|
|
18
18
|
disabled,
|
|
19
19
|
onChange,
|
|
20
|
-
|
|
20
|
+
label,
|
|
21
21
|
typography
|
|
22
22
|
} = _ref;
|
|
23
23
|
return /*#__PURE__*/_react.default.createElement(_antd.Checkbox, {
|
|
@@ -25,17 +25,17 @@ function CheckBoxes(_ref) {
|
|
|
25
25
|
onChange: disabled ? null : onChange
|
|
26
26
|
}, /*#__PURE__*/_react.default.createElement(_Typography.default, {
|
|
27
27
|
typography: typography
|
|
28
|
-
},
|
|
28
|
+
}, label));
|
|
29
29
|
}
|
|
30
|
-
|
|
30
|
+
CustomCheckBox.propTypes = {
|
|
31
31
|
disabled: _propTypes.default.bool,
|
|
32
32
|
onChange: _propTypes.default.func.isRequired,
|
|
33
|
-
|
|
33
|
+
label: _propTypes.default.string.isRequired,
|
|
34
34
|
typography: _propTypes.default.oneOf(_Typography.typographyOptions)
|
|
35
35
|
};
|
|
36
|
-
|
|
36
|
+
CustomCheckBox.defaultProps = {
|
|
37
37
|
disabled: false,
|
|
38
38
|
typography: 'type-b2-400'
|
|
39
39
|
};
|
|
40
|
-
var _default =
|
|
40
|
+
var _default = CustomCheckBox;
|
|
41
41
|
exports.default = _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.colorOptions = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
+
var _styles = require("./styles");
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
// Import the styles from the separate file
|
|
12
|
+
|
|
13
|
+
const colorOptions = ['blue-CTA', 'darkblue-background', 'lightblue-background', 'blue-hover', 'green-success', 'lightgreen-success', 'yellow-warning', 'lightyellow-warning', 'red-error', 'red-hover', 'lightred-error', 'primarygrey-text', 'secondarygrey-text', 'grey1-placeholder', 'grey2-disabled', 'grey3-disabled_divider', 'grey4-background', 'white-background', 'grey5-overlay', 'sunyellow-tags'];
|
|
14
|
+
exports.colorOptions = colorOptions;
|
|
15
|
+
function ColorUsage(_ref) {
|
|
16
|
+
let {
|
|
17
|
+
color
|
|
18
|
+
} = _ref;
|
|
19
|
+
return /*#__PURE__*/_react.default.createElement(_styles.StyledColorUsage, {
|
|
20
|
+
color: color
|
|
21
|
+
}, "--color-".concat(color));
|
|
22
|
+
}
|
|
23
|
+
ColorUsage.propTypes = {
|
|
24
|
+
color: _propTypes.default.oneOf(colorOptions).isRequired
|
|
25
|
+
};
|
|
26
|
+
var _default = ColorUsage;
|
|
27
|
+
exports.default = _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.StyledColorUsage = void 0;
|
|
7
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
|
+
var _templateObject;
|
|
9
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
11
|
+
var _default = {};
|
|
12
|
+
exports.default = _default;
|
|
13
|
+
const StyledColorUsage = _styledComponents.default.h1(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n background-color: var(--color-", ");\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100px;\n width: 450px;\n"])), props => props.color);
|
|
14
|
+
exports.StyledColorUsage = StyledColorUsage;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
+
var _styles = require("./styles");
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
// Import the styles from the separate file
|
|
12
|
+
|
|
13
|
+
function CornerRadius(_ref) {
|
|
14
|
+
let {
|
|
15
|
+
type
|
|
16
|
+
} = _ref;
|
|
17
|
+
return /*#__PURE__*/_react.default.createElement(_styles.StyledCornerComponent, {
|
|
18
|
+
type: type
|
|
19
|
+
}, type);
|
|
20
|
+
}
|
|
21
|
+
CornerRadius.propTypes = {
|
|
22
|
+
type: _propTypes.default.oneOf(['border-radius-xlarge', 'border-radius-large', 'border-radius-medium', 'border-radius-small', 'border-radius-xsmall', 'border-radius-none', 'border-radius-full']).isRequired
|
|
23
|
+
};
|
|
24
|
+
var _default = CornerRadius;
|
|
25
|
+
exports.default = _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getBorderSize = exports.StyledCornerComponent = void 0;
|
|
7
|
+
require("core-js/modules/es.regexp.exec.js");
|
|
8
|
+
require("core-js/modules/es.string.replace.js");
|
|
9
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
10
|
+
var _templateObject; // CornerRadiusStyles.js
|
|
11
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
13
|
+
const getBorderSize = type => {
|
|
14
|
+
switch (type.replace('border-radius-', '')) {
|
|
15
|
+
case 'full':
|
|
16
|
+
return 9999;
|
|
17
|
+
case 'xlarge':
|
|
18
|
+
return 16;
|
|
19
|
+
case 'large':
|
|
20
|
+
return 12;
|
|
21
|
+
case 'medium':
|
|
22
|
+
return 8;
|
|
23
|
+
case 'small':
|
|
24
|
+
return 4;
|
|
25
|
+
case 'xsmall':
|
|
26
|
+
return 2;
|
|
27
|
+
case 'none':
|
|
28
|
+
return 0;
|
|
29
|
+
default:
|
|
30
|
+
return 0;
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
exports.getBorderSize = getBorderSize;
|
|
34
|
+
const StyledCornerComponent = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n justify-content: center;\n align-items: center;\n height: 200px;\n width: 200px;\n background-color: blue;\n border-radius: ", "px; // Pass the 'type' prop to getBorderSize\n"])), props => getBorderSize(props.type));
|
|
35
|
+
exports.StyledCornerComponent = StyledCornerComponent;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.weak-map.js");
|
|
4
|
+
require("core-js/modules/web.dom-collections.iterator.js");
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = void 0;
|
|
9
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
10
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
+
var _icons = require("@ant-design/icons");
|
|
12
|
+
var _CustomButton = _interopRequireDefault(require("../oa-component-button/CustomButton"));
|
|
13
|
+
var _Typography = _interopRequireDefault(require("../oa-component-typography/Typography"));
|
|
14
|
+
var _styles = require("./styles");
|
|
15
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
|
+
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); }
|
|
17
|
+
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; }
|
|
18
|
+
function CustomDrawer(_ref) {
|
|
19
|
+
let {
|
|
20
|
+
buttonConfig,
|
|
21
|
+
children,
|
|
22
|
+
// This callback function provided by parent is called upon clicking on the close button.
|
|
23
|
+
onClose,
|
|
24
|
+
open,
|
|
25
|
+
placement,
|
|
26
|
+
title,
|
|
27
|
+
height,
|
|
28
|
+
width
|
|
29
|
+
} = _ref;
|
|
30
|
+
/*
|
|
31
|
+
We make our own callback function, which makes a call to the `onClose`
|
|
32
|
+
function given to use by the parent.
|
|
33
|
+
This is beneficial if we want some of our actions to be executed when
|
|
34
|
+
we attempt to close the drawer.
|
|
35
|
+
*/
|
|
36
|
+
const handleClose = () => {
|
|
37
|
+
onClose();
|
|
38
|
+
// console.log('`handleClose` callback of CustomDrawer component called.');
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
const drawerTitle = /*#__PURE__*/_react.default.createElement(_styles.CustomDrawerTitle, null, /*#__PURE__*/_react.default.createElement(_Typography.default, {
|
|
42
|
+
typography: "type-sl1-700"
|
|
43
|
+
}, title), /*#__PURE__*/_react.default.createElement(_icons.CloseOutlined, {
|
|
44
|
+
onClick: handleClose
|
|
45
|
+
}));
|
|
46
|
+
return /*#__PURE__*/_react.default.createElement(_styles.CustomStyledDrawer, {
|
|
47
|
+
closeIcon: false,
|
|
48
|
+
onClose: handleClose,
|
|
49
|
+
open: open,
|
|
50
|
+
placement: placement,
|
|
51
|
+
title: drawerTitle,
|
|
52
|
+
height: height,
|
|
53
|
+
width: width,
|
|
54
|
+
footer: /*#__PURE__*/_react.default.createElement(_styles.DrawerFooter, null, buttonConfig.map(button => /*#__PURE__*/_react.default.createElement(_CustomButton.default, {
|
|
55
|
+
key: button,
|
|
56
|
+
label: button.label,
|
|
57
|
+
onClick: button.callback,
|
|
58
|
+
size: "large",
|
|
59
|
+
type: button.type
|
|
60
|
+
})))
|
|
61
|
+
}, children);
|
|
62
|
+
}
|
|
63
|
+
CustomDrawer.propTypes = {
|
|
64
|
+
// Array of button configurations
|
|
65
|
+
buttonConfig: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
66
|
+
callback: _propTypes.default.string.isRequired,
|
|
67
|
+
label: _propTypes.default.string.isRequired,
|
|
68
|
+
type: _propTypes.default.oneOf(['secondary', 'primary']).isRequired
|
|
69
|
+
})).isRequired,
|
|
70
|
+
children: _propTypes.default.node.isRequired,
|
|
71
|
+
onClose: _propTypes.default.func.isRequired,
|
|
72
|
+
open: _propTypes.default.bool,
|
|
73
|
+
placement: _propTypes.default.oneOf(['top', 'right', 'bottom', 'left']),
|
|
74
|
+
title: _propTypes.default.node,
|
|
75
|
+
height: _propTypes.default.number,
|
|
76
|
+
width: _propTypes.default.number
|
|
77
|
+
};
|
|
78
|
+
CustomDrawer.defaultProps = {
|
|
79
|
+
open: true,
|
|
80
|
+
placement: 'right',
|
|
81
|
+
title: null,
|
|
82
|
+
height: 378,
|
|
83
|
+
width: 378
|
|
84
|
+
};
|
|
85
|
+
var _default = CustomDrawer;
|
|
86
|
+
exports.default = _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.DrawerFooter = exports.CustomStyledDrawer = exports.CustomDrawerTitle = void 0;
|
|
7
|
+
var _antd = require("antd");
|
|
8
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
9
|
+
var _templateObject, _templateObject2, _templateObject3;
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
12
|
+
const DrawerFooter = _styledComponents.default.aside(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-end;\n gap: 12px;\n"])));
|
|
13
|
+
exports.DrawerFooter = DrawerFooter;
|
|
14
|
+
const CustomStyledDrawer = (0, _styledComponents.default)(_antd.Drawer)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n .ant-drawer-header {\n padding: 16px 20px;\n background: #F6F6F6;\n }\n\n .ant-drawer-footer {\n padding: 16px\n }\n"])));
|
|
15
|
+
exports.CustomStyledDrawer = CustomStyledDrawer;
|
|
16
|
+
const CustomDrawerTitle = _styledComponents.default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n"])));
|
|
17
|
+
exports.CustomDrawerTitle = CustomDrawerTitle;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.weak-map.js");
|
|
4
|
+
require("core-js/modules/web.dom-collections.iterator.js");
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = void 0;
|
|
9
|
+
require("core-js/modules/es.symbol.description.js");
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
12
|
+
var _antd = require("antd");
|
|
13
|
+
var _CustomButton = _interopRequireDefault(require("../oa-component-button/CustomButton"));
|
|
14
|
+
var _Typography = _interopRequireWildcard(require("../oa-component-typography/Typography"));
|
|
15
|
+
var _styles = require("./styles");
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
|
+
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); }
|
|
18
|
+
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; }
|
|
19
|
+
function CustomModal(_ref) {
|
|
20
|
+
let {
|
|
21
|
+
buttonConfig,
|
|
22
|
+
description,
|
|
23
|
+
imgSrc,
|
|
24
|
+
// This callback function provided by parent is called upon clicking on the cancel button
|
|
25
|
+
onCancel,
|
|
26
|
+
open,
|
|
27
|
+
title,
|
|
28
|
+
typographies,
|
|
29
|
+
width
|
|
30
|
+
} = _ref;
|
|
31
|
+
/*
|
|
32
|
+
We make our own callback function, which makes a call to the `onCancel`
|
|
33
|
+
function given to use by the parent.
|
|
34
|
+
This is beneficial if we want some of our actions to be executed when
|
|
35
|
+
cancel is executed.
|
|
36
|
+
*/
|
|
37
|
+
const handleCancel = () => {
|
|
38
|
+
onCancel();
|
|
39
|
+
// console.log('`handleCancel` callback of CustomModal component called.');
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
return /*#__PURE__*/_react.default.createElement(_antd.Modal, {
|
|
43
|
+
onCancel: handleCancel,
|
|
44
|
+
title: /*#__PURE__*/_react.default.createElement(_styles.TitleContainer, null, imgSrc && /*#__PURE__*/_react.default.createElement("img", {
|
|
45
|
+
src: imgSrc,
|
|
46
|
+
alt: ""
|
|
47
|
+
}), /*#__PURE__*/_react.default.createElement(_Typography.default, {
|
|
48
|
+
typography: typographies.title
|
|
49
|
+
}, title)),
|
|
50
|
+
footer: /*#__PURE__*/_react.default.createElement(_styles.ButtonContainer, null, buttonConfig.map(button => /*#__PURE__*/_react.default.createElement(_CustomButton.default, {
|
|
51
|
+
key: button,
|
|
52
|
+
label: button.label,
|
|
53
|
+
onClick: button.callback,
|
|
54
|
+
size: "large",
|
|
55
|
+
type: button.type
|
|
56
|
+
}))),
|
|
57
|
+
open: open,
|
|
58
|
+
width: width
|
|
59
|
+
}, description && /*#__PURE__*/_react.default.createElement(_styles.DescriptionContainer, null, /*#__PURE__*/_react.default.createElement(_Typography.default, {
|
|
60
|
+
color: "secondarygrey-text",
|
|
61
|
+
typography: typographies.description
|
|
62
|
+
}, description)));
|
|
63
|
+
}
|
|
64
|
+
CustomModal.propTypes = {
|
|
65
|
+
// Array of button configurations
|
|
66
|
+
buttonConfig: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
67
|
+
callback: _propTypes.default.string.isRequired,
|
|
68
|
+
label: _propTypes.default.string.isRequired,
|
|
69
|
+
type: _propTypes.default.oneOf(['secondary', 'primary']).isRequired
|
|
70
|
+
})).isRequired,
|
|
71
|
+
description: _propTypes.default.string,
|
|
72
|
+
title: _propTypes.default.string.isRequired,
|
|
73
|
+
typographies: _propTypes.default.shape({
|
|
74
|
+
title: _propTypes.default.oneOf(_Typography.typographyOptions),
|
|
75
|
+
description: _propTypes.default.oneOf(_Typography.typographyOptions)
|
|
76
|
+
}),
|
|
77
|
+
imgSrc: _propTypes.default.string.isRequired,
|
|
78
|
+
onCancel: _propTypes.default.func.isRequired,
|
|
79
|
+
open: _propTypes.default.bool,
|
|
80
|
+
width: _propTypes.default.string || _propTypes.default.number
|
|
81
|
+
};
|
|
82
|
+
CustomModal.defaultProps = {
|
|
83
|
+
description: null,
|
|
84
|
+
open: true,
|
|
85
|
+
typographies: {
|
|
86
|
+
title: 'type-t1-500',
|
|
87
|
+
description: 'type-b2-400'
|
|
88
|
+
},
|
|
89
|
+
width: 416
|
|
90
|
+
};
|
|
91
|
+
var _default = CustomModal;
|
|
92
|
+
exports.default = _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.TitleContainer = exports.DescriptionContainer = exports.ButtonContainer = void 0;
|
|
7
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
|
+
var _templateObject, _templateObject2, _templateObject3;
|
|
9
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
11
|
+
const ButtonContainer = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n gap: 20px;\n justify-content: flex-end;\n"])));
|
|
12
|
+
exports.ButtonContainer = ButtonContainer;
|
|
13
|
+
const DescriptionContainer = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n margin: 12px 0 24px 0;\n"])));
|
|
14
|
+
exports.DescriptionContainer = DescriptionContainer;
|
|
15
|
+
const TitleContainer = _styledComponents.default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n display: flex;\n gap: 16px;\n flex-direction: column;\n\n img {\n height: 36px;\n width: 36px;\n }\n"])));
|
|
16
|
+
exports.TitleContainer = TitleContainer;
|