oa-componentbook 0.17.18 → 0.17.19
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 -1
- package/build/components/oa-component-elevation/Elevation.js +23 -0
- package/build/components/oa-component-elevation/styles.js +15 -0
- package/build/index.js +7 -0
- package/build/widgets/oa-widget-approval/ApprovalWidget.js +4 -7
- package/build/widgets/oa-widget-approval/styles.js +14 -1
- package/build/widgets/oa-widget-close-claim/CloseClaim.js +1 -1
- package/build/widgets/oa-widget-notes/NotesWidget.js +2 -5
- package/build/widgets/oa-widget-notes/styles.js +14 -1
- package/build/widgets/oa-widget-send-payment-link/SendPaymentLink.js +9 -1
- package/build/widgets/oa-widget-stage-timeline/StageTimeline.js +3 -2
- package/build/widgets/oa-widget-stage-timeline/styles.js +4 -4
- package/package.json +1 -1
|
@@ -31,7 +31,7 @@ function Accordians(_ref) {
|
|
|
31
31
|
} = _ref;
|
|
32
32
|
return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_antd.Collapse, {
|
|
33
33
|
className: "collapseHead",
|
|
34
|
-
expandIconPosition: "
|
|
34
|
+
expandIconPosition: "end",
|
|
35
35
|
defaultActiveKey: defaultActiveKey
|
|
36
36
|
}, /*#__PURE__*/_react.default.createElement(_antd.Collapse.Panel, {
|
|
37
37
|
key: "1",
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
function Elevation(_ref) {
|
|
12
|
+
let {
|
|
13
|
+
type
|
|
14
|
+
} = _ref;
|
|
15
|
+
return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_styles.StyledElevation, {
|
|
16
|
+
className: type
|
|
17
|
+
}, "test"));
|
|
18
|
+
}
|
|
19
|
+
Elevation.propTypes = {
|
|
20
|
+
type: _propTypes.default.oneOf(['Elevation-white-level1', 'Elevation-above-white-level1', 'Elevation-white-level2', 'Elevation-above-white-level2', 'Elevation-white-level3', 'Elevation-dark-level1', 'Elevation-dark-level2', 'Elevation-dark-level3']).isRequired
|
|
21
|
+
};
|
|
22
|
+
var _default = Elevation;
|
|
23
|
+
exports.default = _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.StyledElevation = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
9
|
+
var _templateObject;
|
|
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
|
+
var _default = {};
|
|
13
|
+
exports.default = _default;
|
|
14
|
+
const StyledElevation = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n&.Elevation-white-level1{\n border-radius: 12px;\n box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.14);\n } \n\n &.Elevation-above-white-level1 {\n border-radius: 12px;\n box-shadow: 0px -2px 10px 0px rgba(0, 0, 0, 0.14);\n }\n &.Elevation-white-level2 {\n border-radius: 12px;\n box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.14);\n }\n &.Elevation-above-white-level2 {\n border-radius: 12px;\n box-shadow: 0px -4px 12px 0px rgba(0, 0, 0, 0.14);\n }\n &.Elevation-white-level3 {\n border-radius: 12px;\n box-shadow: 0px 4px 32px 0px rgba(0, 0, 0, 0.14);\n }\n &.Elevation-dark-level1{\n border-radius: 12px;\n box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.34);\n }\n &.Elevation-dark-level2 {\n border-radius: 12px;\n box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.34);\n }\n &.Elevation-dark-level3{\n border-radius: 12px;\n box-shadow: 0px 4px 32px 0px rgba(0, 0, 0, 0.34);\n }\n"])));
|
|
15
|
+
exports.StyledElevation = StyledElevation;
|
package/build/index.js
CHANGED
|
@@ -125,6 +125,12 @@ Object.defineProperty(exports, "CustomToggle", {
|
|
|
125
125
|
return _CustomToggle.default;
|
|
126
126
|
}
|
|
127
127
|
});
|
|
128
|
+
Object.defineProperty(exports, "Elevation", {
|
|
129
|
+
enumerable: true,
|
|
130
|
+
get: function get() {
|
|
131
|
+
return _Elevation.default;
|
|
132
|
+
}
|
|
133
|
+
});
|
|
128
134
|
Object.defineProperty(exports, "GridLayout", {
|
|
129
135
|
enumerable: true,
|
|
130
136
|
get: function get() {
|
|
@@ -227,6 +233,7 @@ var _CustomTag = _interopRequireDefault(require("./components/oa-component-tag/C
|
|
|
227
233
|
var _CustomTimeline = _interopRequireDefault(require("./components/oa-component-timeline/CustomTimeline"));
|
|
228
234
|
var _CustomToggle = _interopRequireDefault(require("./components/oa-component-toggle/CustomToggle"));
|
|
229
235
|
var _TrackShipment = _interopRequireDefault(require("./widgets/oa-widget-track-shipment/TrackShipment"));
|
|
236
|
+
var _Elevation = _interopRequireDefault(require("./components/oa-component-elevation/Elevation"));
|
|
230
237
|
var _Typography = _interopRequireWildcard(require("./components/oa-component-typography/Typography"));
|
|
231
238
|
var _BorderRadius = _interopRequireDefault(require("./BorderRadius"));
|
|
232
239
|
var _ColorVariables = _interopRequireDefault(require("./ColorVariables"));
|
|
@@ -9,17 +9,14 @@ require("core-js/modules/es.symbol.description.js");
|
|
|
9
9
|
require("core-js/modules/web.dom-collections.iterator.js");
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
12
|
-
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
13
12
|
var _antd = require("antd");
|
|
14
|
-
var _icons = require("@ant-design/icons");
|
|
15
13
|
var _UploadDownloadDocument = _interopRequireDefault(require("../oa-widget-document/UploadDownloadDocument"));
|
|
16
|
-
var
|
|
17
|
-
/* eslint-disable react/prop-types */
|
|
14
|
+
var _styles = require("./styles");
|
|
18
15
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
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); }
|
|
20
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; }
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
/* eslint-disable react/prop-types */
|
|
19
|
+
|
|
23
20
|
const isUndefined = () => typeof testVar === 'undefined';
|
|
24
21
|
function ApprovalWidget(_ref) {
|
|
25
22
|
let {
|
|
@@ -36,7 +33,7 @@ function ApprovalWidget(_ref) {
|
|
|
36
33
|
} = _ref;
|
|
37
34
|
const [drawer, setDrawer] = (0, _react.useState)(false);
|
|
38
35
|
const isDivider = isUndefined(divider) ? true : divider;
|
|
39
|
-
return /*#__PURE__*/_react.default.createElement(StyledAside, {
|
|
36
|
+
return /*#__PURE__*/_react.default.createElement(_styles.StyledAside, {
|
|
40
37
|
key: key
|
|
41
38
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
42
39
|
className: "container"
|
|
@@ -1 +1,14 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.StyledAside = 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 StyledAside = _styledComponents.default.aside(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .ant-typography{\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px; \n color: #212121;\n padding: 0 0 10px;\n display: block;\n }\n .ant-typography strong{\n font-weight: 400;\n }\n a{\n color: #014FC5 !important;\n padding:10px 0 0 !important;\n font-weight: 500 !important;\n display: block;\n }\n .ant-typography-secondary{\n color: #717171;\n padding: 0 !important;\n }\n .ant-radio-group-outline{\n display: flex;\n justify-content: space-between;\n }\n section{\n padding: 16px 0 0;\n }\n section span{\n padding: 0 0 4px !important;\n display: block;\n }\n textarea{\n padding: 12px;\n min-height: 88px;\n resize: none;\n border-radius: 4px;\n }\n radiofield label{\n white-space: nowrap;\n }\n docdetailstag a{\n white-space: nowrap;\n }\n .container {\n max-width: 1120px;\n margin: 0 auto;\n padding: 0 16px;\n }\n .container-fluid{\n width: 100%;\n padding: 0 16px;\n }\n .row {\n display: flex;\n flex-direction: column;\n }\n .gutter{\n margin: 0 24px 0 0;\n }\n .row::after {\n content: \"\";\n clear: both;\n display: table;\n }\n .col-xs-1 {\n width: 8.33333%;\n }\n \n .col-xs-2 {\n width: 16.66667%;\n }\n \n .col-xs-3 {\n width: 25%;\n }\n \n .col-xs-4 {\n width: 33.33333%;\n }\n \n .col-xs-5 {\n width: 41.66667%;\n }\n \n .col-xs-6 {\n width: 50%;\n }\n \n .col-xs-7 {\n width: 58.33333%;\n }\n \n .col-xs-8 {\n width: 66.66667%;\n }\n \n .col-xs-9 {\n width: 75%;\n }\n \n .col-xs-10 {\n width: 83.33333%;\n }\n \n .col-xs-11 {\n width: 91.66667%;\n }\n \n .col-xs-12 {\n width: 100%;\n }\n @media (min-width: 768px) {\n .row {\n flex-direction: row;\n }\n .col-sm-1 {\n width: 8.33333%;\n }\n \n .col-sm-2 {\n width: 16.66667%;\n }\n \n .col-sm-3 {\n width: 25%;\n }\n \n .col-sm-4 {\n width: 33.33333%;\n }\n \n .col-sm-5 {\n width: 41.66667%;\n }\n \n .col-sm-6 {\n width: 50%;\n }\n .col-sm-7 {\n width: 58.33333%;\n }\n .col-sm-8 {\n width: 66.66667%;\n }\n .col-sm-9 {\n width: 75%;\n }\n .col-sm-10 {\n width: 83.33333%;\n }\n .col-sm-11 {\n width: 91.66667%;\n }\n .col-sm-12 {\n width: 100%;\n }\n }\n \n @media (min-width: 768px) {\n .col-md-1 {\n width: 8.33333%;\n }\n .col-md-2 {\n width: 16.66667%;\n }\n .col-md-3 {\n width: 25%;\n }\n .col-md-4 {\n width: 33.33333%;\n float: left;\n }\n \n .col-md-5 {\n width: 41.66667%;\n }\n \n .col-md-6 {\n width: 50%;\n }\n \n .col-md-7 {\n width: 58.33333%;\n }\n \n .col-md-8 {\n width: 66.66667%;\n }\n \n .col-md-9 {\n width: 75%;\n }\n \n .col-md-10 {\n width: 83.33333%;\n }\n .col-md-11 {\n width: 91.66667%;\n }\n \n .col-md-12 {\n width: 100%;\n }\n \n }\n /* Large Devices (desktops) */\n @media (min-width: 992px) {\n .gutter{\n margin: 0 24px 0 0;\n }\n .col-lg-1 {\n width: 8.33333%;\n }\n .col-lg-2 {\n width: 16.66667%;\n }\n .col-lg-3 {\n width: 25%;\n float: left;\n }\n .col-lg-4 {\n width: 33.33333%;\n float: left;\n }\n .col-lg-5 {\n width: 41.66667%;\n }\n .col-lg-6 {\n width: 50%;\n }\n .col-lg-7 {\n width: 58.33333%;\n }\n .col-lg-8 {\n width: 66.66667%;\n }\n .col-lg-9 {\n width: 75%;\n }\n .col-lg-10 {\n width: 83.33333%;\n }\n \n .col-lg-11 {\n width: 91.66667%;\n }\n \n .col-lg-12 {\n width: 100%;\n }\n }\n \n @media (min-width: 1200px) {\n .gutter{\n margin: 0 32px 0 0;\n }\n .col-xl-1 {\n width: 8.33333%;\n }\n \n }\n"])));
|
|
14
|
+
exports.StyledAside = StyledAside;
|
|
@@ -9,14 +9,11 @@ require("core-js/modules/web.dom-collections.iterator.js");
|
|
|
9
9
|
var _react = _interopRequireWildcard(require("react"));
|
|
10
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
11
|
var _antd = require("antd");
|
|
12
|
-
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
13
12
|
var _CustomTable = _interopRequireDefault(require("../../components/oa-component-table/CustomTable"));
|
|
14
|
-
var
|
|
13
|
+
var _styles = require("./styles");
|
|
15
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
15
|
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
16
|
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 _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
19
|
-
const StyledAside = _styledComponents.default.aside(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .ant-table-thead > tr > th {\n padding: 4px 16px;\n }\n .ant-table-tbody > tr > td {\n padding: 8px 16px;\n }\n input {\n height: 30px;\n }\n"])));
|
|
20
17
|
function NotesWidget(_ref) {
|
|
21
18
|
let {
|
|
22
19
|
disabled,
|
|
@@ -63,7 +60,7 @@ function NotesWidget(_ref) {
|
|
|
63
60
|
title: 'USER',
|
|
64
61
|
dataIndex: 'user'
|
|
65
62
|
}];
|
|
66
|
-
return /*#__PURE__*/_react.default.createElement(StyledAside, null, /*#__PURE__*/_react.default.createElement(_CustomTable.default, {
|
|
63
|
+
return /*#__PURE__*/_react.default.createElement(_styles.StyledAside, null, /*#__PURE__*/_react.default.createElement(_CustomTable.default, {
|
|
67
64
|
columns: columns,
|
|
68
65
|
dataSource: mutatedRecords,
|
|
69
66
|
size: "small",
|
|
@@ -1 +1,14 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.StyledAside = 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 StyledAside = _styledComponents.default.aside(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .ant-table-thead > tr > th {\n padding: 4px 16px;\n }\n .ant-table-tbody > tr > td {\n padding: 8px 16px;\n }\n input {\n height: 30px;\n }\n"])));
|
|
14
|
+
exports.StyledAside = StyledAside;
|
|
@@ -110,11 +110,19 @@ function SendPaymentLink(_ref) {
|
|
|
110
110
|
label: /*#__PURE__*/_react.default.createElement(_Typography.default, null, "Mobile Number"),
|
|
111
111
|
name: "mobileNum"
|
|
112
112
|
}, /*#__PURE__*/_react.default.createElement(_antd.Input, {
|
|
113
|
+
style: {
|
|
114
|
+
height: '48px',
|
|
115
|
+
borderRadius: '4px'
|
|
116
|
+
},
|
|
113
117
|
disabled: options[selectedRadio].data.mobileNum
|
|
114
118
|
})), /*#__PURE__*/_react.default.createElement(_antd.Form.Item, {
|
|
115
119
|
label: /*#__PURE__*/_react.default.createElement(_Typography.default, null, "Email ID"),
|
|
116
120
|
name: "email"
|
|
117
121
|
}, /*#__PURE__*/_react.default.createElement(_antd.Input, {
|
|
122
|
+
style: {
|
|
123
|
+
height: '48px',
|
|
124
|
+
borderRadius: '4px'
|
|
125
|
+
},
|
|
118
126
|
disabled: options[selectedRadio].data.email
|
|
119
127
|
}))));
|
|
120
128
|
}
|
|
@@ -138,7 +146,7 @@ SendPaymentLink.propTypes = {
|
|
|
138
146
|
SendPaymentLink.defaultProps = {
|
|
139
147
|
onClose: () => {},
|
|
140
148
|
onSubmit: () => {},
|
|
141
|
-
open:
|
|
149
|
+
open: true,
|
|
142
150
|
heading: '',
|
|
143
151
|
height: 'auto',
|
|
144
152
|
width: '480',
|
|
@@ -96,12 +96,12 @@ function StageTimelineChild(_ref) {
|
|
|
96
96
|
StageTimelineChild.propTypes = {
|
|
97
97
|
isActive: _propTypes.default.bool,
|
|
98
98
|
onClick: _propTypes.default.func,
|
|
99
|
-
stageId: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number])
|
|
99
|
+
stageId: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number]),
|
|
100
100
|
stageName: _propTypes.default.string.isRequired,
|
|
101
101
|
// null and Not-Started result in the same behavior for a state.
|
|
102
102
|
status: _propTypes.default.oneOf(['Not-Started', 'In-Progress', 'completed']),
|
|
103
103
|
subStages: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
104
|
-
stageId: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number])
|
|
104
|
+
stageId: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number]),
|
|
105
105
|
stageName: _propTypes.default.string.isRequired,
|
|
106
106
|
isDisabled: _propTypes.default.bool,
|
|
107
107
|
isActive: _propTypes.default.bool,
|
|
@@ -111,6 +111,7 @@ StageTimelineChild.propTypes = {
|
|
|
111
111
|
StageTimelineChild.defaultProps = {
|
|
112
112
|
isActive: false,
|
|
113
113
|
onClick: () => {},
|
|
114
|
+
stageId: null,
|
|
114
115
|
status: null,
|
|
115
116
|
subStages: []
|
|
116
117
|
};
|
|
@@ -10,9 +10,9 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
|
10
10
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8;
|
|
11
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
12
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
13
|
-
const CheckIcon = (0, _styledComponents.default)(_icons.CheckOutlined)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n color: var(--color-green-success);\n"])));
|
|
13
|
+
const CheckIcon = (0, _styledComponents.default)(_icons.CheckOutlined)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n color: var(--color-green-success) !important;\n"])));
|
|
14
14
|
exports.CheckIcon = CheckIcon;
|
|
15
|
-
const CollapsibleStage = (0, _styledComponents.default)(_antd.Collapse)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n \n /* Removes default ant design font */\n font-family: inherit;\n\n border-radius: 28px 28px 0px 0px !important;\n\n\n
|
|
15
|
+
const CollapsibleStage = (0, _styledComponents.default)(_antd.Collapse)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n \n /* Removes default ant design font */\n font-family: inherit;\n\n border-radius: 28px 28px 0px 0px !important;\n\n \n\n &.notstarted .ant-collapse-header .ant-collapse-arrow {\n color: var(--color-grey2-disabled);\n }\n \n &.inprogress--active .ant-collapse-header .ant-collapse-arrow {\n color: var(--color-blue-CTA);\n }\n\n // This is for the arrow\n &.completed .ant-collapse-header .ant-collapse-arrow, \n &.inprogress .ant-collapse-header .ant-collapse-arrow, \n &.completed--active .ant-collapse-header .ant-collapse-arrow {\n color: var(--color-secondarygrey-text);\n }\n\n & .ant-collapse-header {\n /* !important needed to override pre-existing ant design styles */\n padding: 12px 24px 12px 24px !important;\n border-radius: 28px !important;\n border: 1px solid transparent;\n cursor: pointer;\n } \n\n &.notstarted .ant-collapse-header {\n cursor: not-allowed;\n }\n\n &.inprogress .ant-collapse-header, \n &.completed .ant-collapse-header {\n border: 1px solid var(--color-secondarygrey-text);\n background: var(--color-white-background);\n }\n\n\n &.inprogress--active .ant-collapse-header, \n &.completed--active .ant-collapse-header {\n background: var(--color-lightblue-background);\n border: 1px solid var(--color-lightblue-background);\n }\n"])));
|
|
16
16
|
exports.CollapsibleStage = CollapsibleStage;
|
|
17
17
|
const DotIcon = _styledComponents.default.span(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n width: 12px;\n height: 12px;\n \n /* Space between the icon and the stage name. */\n margin: 0 12px 0 0;\n \n border-radius: 50px;\n\n display: flex;\n\n background: ", ";\n"])), props => {
|
|
18
18
|
switch (props.className) {
|
|
@@ -27,9 +27,9 @@ const DotIcon = _styledComponents.default.span(_templateObject3 || (_templateObj
|
|
|
27
27
|
}
|
|
28
28
|
});
|
|
29
29
|
exports.DotIcon = DotIcon;
|
|
30
|
-
const StageDetails = _styledComponents.default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n \n &.notstarted {\n
|
|
30
|
+
const StageDetails = _styledComponents.default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n \n &.notstarted {\n color: var(--color-grey2-disabled);\n }\n\n &.inprogress--active {\n color: var(--color-blue-CTA);\n }\n\n &.completed, &.inprogress, &.completed--active {\n color: var(--color-secondarygrey-text);\n }\n"])));
|
|
31
31
|
exports.StageDetails = StageDetails;
|
|
32
|
-
const StaticStage = _styledComponents.default.a(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n \n padding: 12px 24px 12px 24px;\n \n cursor: pointer;\n\n border: 1px solid transparent;\n color: var(--color-grey2-disabled);\n \n text-decoration: none;\n border-radius: 28px;\n\n
|
|
32
|
+
const StaticStage = _styledComponents.default.a(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n \n padding: 12px 24px 12px 24px;\n \n cursor: pointer;\n\n border: 1px solid transparent;\n color: var(--color-grey2-disabled);\n \n text-decoration: none;\n border-radius: 28px;\n\n \n \n &.completed, &.inprogress {\n border-color: var(--color-secondarygrey-text);\n background: var(--color-white-background);\n }\n \n &.completed--active {\n color: var(--color-secondarygrey-text);\n background: var(--color-lightblue-background);\n border-color: var(--color-lightblue-background);\n }\n\n &.inprogress--active {\n color: var(--color-blue-CTA);\n background: var(--color-lightblue-background);\n border-color: var(--color-lightblue-background);\n }\n"])));
|
|
33
33
|
exports.StaticStage = StaticStage;
|
|
34
34
|
const StagesList = _styledComponents.default.ul(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n gap: 12px;\n list-style-type: none;\n \n /* Since width is 100%, it'll take up all of its container */\n /* width: 100%; */\n"])));
|
|
35
35
|
exports.StagesList = StagesList;
|