@zohodesk/dot 1.3.0 → 1.3.2
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/.cli/PropLessFiles.html +1 -1
- package/.cli/PropValidationExcludeFilesArray.js +1 -1
- package/.cli/propValidation_report.html +1 -1
- package/README.md +21 -12
- package/assets/Appearance/dark/mode/Dot_DarkMode.module.css +163 -553
- package/assets/Appearance/dark/themes/blue/blue_DotTheme_DarkTheme.module.css +3 -12
- package/assets/Appearance/dark/themes/green/green_DotTheme_DarkTheme.module.css +3 -12
- package/assets/Appearance/dark/themes/orange/orange_DotTheme_DarkTheme.module.css +3 -12
- package/assets/Appearance/dark/themes/red/red_DotTheme_DarkTheme.module.css +3 -12
- package/assets/Appearance/dark/themes/yellow/yellow_DotTheme_DarkTheme.module.css +3 -12
- package/assets/Appearance/light/mode/Dot_LightMode.module.css +163 -553
- package/assets/Appearance/light/themes/blue/blue_DotTheme_LightTheme.module.css +3 -12
- package/assets/Appearance/light/themes/green/green_DotTheme_LightTheme.module.css +3 -12
- package/assets/Appearance/light/themes/orange/orange_DotTheme_LightTheme.module.css +3 -12
- package/assets/Appearance/light/themes/red/red_DotTheme_LightTheme.module.css +3 -12
- package/assets/Appearance/light/themes/yellow/yellow_DotTheme_LightTheme.module.css +3 -12
- package/assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css +163 -553
- package/assets/Appearance/pureDark/themes/blue/blue_DotTheme_PureDarkTheme.module.css +3 -12
- package/assets/Appearance/pureDark/themes/green/green_DotTheme_PureDarkTheme.module.css +3 -12
- package/assets/Appearance/pureDark/themes/orange/orange_DotTheme_PureDarkTheme.module.css +3 -12
- package/assets/Appearance/pureDark/themes/red/red_DotTheme_PureDarkTheme.module.css +3 -12
- package/assets/Appearance/pureDark/themes/yellow/yellow_DotTheme_PureDarkTheme.module.css +3 -12
- package/coverage/ExternalLink/ExternalLink.js.html +1 -1
- package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
- package/coverage/ExternalLink/index.html +1 -1
- package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
- package/coverage/ExternalLink/props/index.html +1 -1
- package/coverage/ExternalLink/props/propTypes.js.html +1 -1
- package/coverage/IconButton/IconButton.js.html +466 -0
- package/coverage/IconButton/IconButton.module.css.html +151 -0
- package/coverage/IconButton/index.html +131 -0
- package/coverage/IconButton/props/defaultProps.js.html +136 -0
- package/coverage/IconButton/props/index.html +131 -0
- package/coverage/IconButton/props/propTypes.js.html +187 -0
- package/coverage/Image/Image.js.html +1 -1
- package/coverage/Image/Image.module.css.html +1 -1
- package/coverage/Image/index.html +1 -1
- package/coverage/Image/props/defaultProps.js.html +1 -1
- package/coverage/Image/props/index.html +1 -1
- package/coverage/Image/props/propTypes.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +1 -1
- package/coverage/avatar/AvatarWithTeam/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
- package/coverage/coverage-final.json +4 -0
- package/coverage/coverage-summary.json +5 -1
- package/coverage/index.html +40 -10
- package/es/IconButton/__tests__/IconButton.spec.js +148 -0
- package/es/IconButton/__tests__/__snapshots__/IconButton.spec.js.snap +316 -0
- package/es/form/fields/FieldContainer/props/propTypes.js +1 -1
- package/es/v1/ActionButton/ActionButton.js +2 -2
- package/es/v1/AlphabeticList/AlphabeticList.js +6 -2
- package/es/v1/Attachment/Attachment.js +78 -75
- package/es/v1/AttachmentViewer/AttachmentImage.js +44 -63
- package/es/v1/Image/Image.js +26 -33
- package/es/v1/Loader/Loader.js +12 -18
- package/es/v1/Message/Message.js +16 -42
- package/es/v1/PlusIcon/PlusIcon.js +25 -37
- package/es/v1/Separator/Separator.js +40 -47
- package/es/v1/Upload/Upload.js +59 -66
- package/es/v1/alert/AlertHeader/AlertHeader.js +5 -4
- package/es/v1/alert/AlertHeader/props/defaultProps.js +12 -0
- package/es/v1/alert/AlertHeader/props/propTypes.js +20 -0
- package/es/v1/alert/AlertLookup/AlertLookup.js +6 -4
- package/es/v1/alert/AlertLookup/props/defaultProps.js +13 -0
- package/es/v1/alert/AlertLookup/props/propTypes.js +36 -0
- package/es/v1/avatar/AvatarClose/AvatarClose.js +32 -43
- package/es/v1/avatar/AvatarCollision/AvatarCollision.js +41 -52
- package/es/v1/avatar/AvatarIcon/AvatarIcon.js +38 -43
- package/es/v1/avatar/AvatarStatus/AvatarStatus.js +52 -63
- package/es/v1/avatar/AvatarThread/AvatarThread.js +62 -69
- package/es/v1/avatar/AvatarUser/AvatarUser.js +93 -100
- package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +81 -88
- package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +6 -6
- package/es/v1/form/fields/CurrencyField/CurrencyField.js +6 -6
- package/es/v1/form/fields/DateField/DateField.js +6 -6
- package/es/v1/form/fields/FieldContainer/FieldContainer.js +6 -6
- package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +6 -6
- package/es/v1/form/fields/PhoneField/PhoneField.js +6 -6
- package/es/v1/form/fields/RadioField/RadioField.js +89 -97
- package/es/v1/form/fields/SelectField/SelectField.js +139 -154
- package/es/v1/layout/SetupDetailLayout/SetupDetailLayout.js +154 -197
- package/es/v1/layout/SubtabLayout/SubtabLayout.js +108 -124
- package/es/v1/list/SecondaryText/AccountName.js +61 -69
- package/es/v1/list/SecondaryText/ContactName.js +66 -74
- package/es/v1/list/SecondaryText/DepartmentText.js +15 -27
- package/es/v1/list/SecondaryText/Email.js +32 -40
- package/es/v1/list/SecondaryText/HappinessRating.js +17 -25
- package/es/v1/list/SecondaryText/PhoneNumber.js +36 -44
- package/es/v1/list/SecondaryText/PriorityText.js +16 -28
- package/es/v1/list/SecondaryText/SecondaryText.js +21 -33
- package/es/v1/list/SecondaryText/StatusText.js +17 -29
- package/es/v1/list/SecondaryText/TicketId.js +33 -45
- package/es/v1/list/SecondaryText/Website.js +22 -30
- package/es/v1/list/SecondryPanel/SecondryPanel.js +66 -83
- package/es/v1/list/SentimentStatus/SentimentStatus.js +18 -29
- package/es/v1/list/status/StatusDropdown/StatusDropdown.js +2 -2
- package/es/v1/list/status/StatusListItem/StatusListItem.js +75 -100
- package/es/v1/lookup/EmptyPage/EmptyPage.js +15 -26
- package/es/v1/lookup/Section/Section.js +14 -20
- package/es/v1/svg/PlusIcon.js +20 -27
- package/es/v1/svg/SnippetIcon.js +22 -29
- package/es/v1/svg/TemplateIcon.js +23 -30
- package/lib/IconButton/__tests__/IconButton.spec.js +156 -0
- package/lib/IconButton/__tests__/__snapshots__/IconButton.spec.js.snap +316 -0
- package/lib/form/fields/FieldContainer/props/propTypes.js +1 -1
- package/lib/v1/ActionButton/ActionButton.js +2 -2
- package/lib/v1/AlphabeticList/AlphabeticList.js +7 -3
- package/lib/v1/Attachment/Attachment.js +77 -112
- package/lib/v1/AttachmentViewer/AttachmentImage.js +61 -96
- package/lib/v1/Image/Image.js +26 -71
- package/lib/v1/Loader/Loader.js +12 -55
- package/lib/v1/Message/Message.js +23 -80
- package/lib/v1/PlusIcon/PlusIcon.js +25 -71
- package/lib/v1/Separator/Separator.js +44 -85
- package/lib/v1/Upload/Upload.js +58 -103
- package/lib/v1/alert/AlertHeader/AlertHeader.js +5 -4
- package/lib/v1/alert/AlertHeader/props/defaultProps.js +19 -0
- package/lib/v1/alert/AlertHeader/props/propTypes.js +31 -0
- package/lib/v1/alert/AlertLookup/AlertLookup.js +6 -4
- package/lib/v1/alert/AlertLookup/props/defaultProps.js +20 -0
- package/lib/v1/alert/AlertLookup/props/propTypes.js +47 -0
- package/lib/v1/avatar/AvatarClose/AvatarClose.js +32 -77
- package/lib/v1/avatar/AvatarCollision/AvatarCollision.js +41 -86
- package/lib/v1/avatar/AvatarIcon/AvatarIcon.js +37 -80
- package/lib/v1/avatar/AvatarStatus/AvatarStatus.js +52 -97
- package/lib/v1/avatar/AvatarThread/AvatarThread.js +61 -106
- package/lib/v1/avatar/AvatarUser/AvatarUser.js +95 -140
- package/lib/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +85 -130
- package/lib/v1/form/fields/CheckBoxField/CheckBoxField.js +6 -6
- package/lib/v1/form/fields/CurrencyField/CurrencyField.js +6 -6
- package/lib/v1/form/fields/DateField/DateField.js +6 -6
- package/lib/v1/form/fields/FieldContainer/FieldContainer.js +6 -6
- package/lib/v1/form/fields/MultiSelectField/MultiSelectField.js +6 -6
- package/lib/v1/form/fields/PhoneField/PhoneField.js +6 -6
- package/lib/v1/form/fields/RadioField/RadioField.js +91 -137
- package/lib/v1/form/fields/SelectField/SelectField.js +149 -200
- package/lib/v1/layout/SetupDetailLayout/SetupDetailLayout.js +160 -253
- package/lib/v1/layout/SubtabLayout/SubtabLayout.js +107 -206
- package/lib/v1/list/SecondaryText/AccountName.js +63 -113
- package/lib/v1/list/SecondaryText/ContactName.js +67 -117
- package/lib/v1/list/SecondaryText/DepartmentText.js +16 -66
- package/lib/v1/list/SecondaryText/Email.js +32 -82
- package/lib/v1/list/SecondaryText/HappinessRating.js +21 -68
- package/lib/v1/list/SecondaryText/PhoneNumber.js +36 -86
- package/lib/v1/list/SecondaryText/PriorityText.js +16 -66
- package/lib/v1/list/SecondaryText/SecondaryText.js +19 -69
- package/lib/v1/list/SecondaryText/StatusText.js +17 -67
- package/lib/v1/list/SecondaryText/TicketId.js +33 -83
- package/lib/v1/list/SecondaryText/Website.js +29 -72
- package/lib/v1/list/SecondryPanel/SecondryPanel.js +69 -168
- package/lib/v1/list/SentimentStatus/SentimentStatus.js +19 -64
- package/lib/v1/list/status/StatusDropdown/StatusDropdown.js +2 -2
- package/lib/v1/list/status/StatusListItem/StatusListItem.js +81 -137
- package/lib/v1/lookup/EmptyPage/EmptyPage.js +43 -93
- package/lib/v1/lookup/Section/Section.js +14 -58
- package/lib/v1/svg/PlusIcon.js +20 -65
- package/lib/v1/svg/SnippetIcon.js +22 -67
- package/lib/v1/svg/TemplateIcon.js +23 -68
- package/package.json +12 -12
- package/result.json +1 -1
- package/unittest/index.html +1 -1
|
@@ -5,13 +5,13 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports["default"] =
|
|
8
|
+
exports["default"] = StatusListItem;
|
|
9
9
|
|
|
10
|
-
var _react =
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
|
|
12
|
-
var _defaultProps = require("
|
|
12
|
+
var _defaultProps = require("../../../../list/status/StatusListItem/props/defaultProps");
|
|
13
13
|
|
|
14
|
-
var _propTypes = require("
|
|
14
|
+
var _propTypes = require("../../../../list/status/StatusListItem/props/propTypes");
|
|
15
15
|
|
|
16
16
|
var _Layout = require("@zohodesk/components/es/v1/Layout");
|
|
17
17
|
|
|
@@ -19,150 +19,94 @@ var _icons = require("@zohodesk/icons");
|
|
|
19
19
|
|
|
20
20
|
var _CssProvider = _interopRequireDefault(require("@zohodesk/components/es/v1/Provider/CssProvider"));
|
|
21
21
|
|
|
22
|
-
var _StatusListItemModule = _interopRequireDefault(require("
|
|
22
|
+
var _StatusListItemModule = _interopRequireDefault(require("../../../../list/status/StatusListItem/StatusListItem.module.css"));
|
|
23
23
|
|
|
24
24
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
25
25
|
|
|
26
|
-
function
|
|
27
|
-
|
|
28
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
29
|
-
|
|
30
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
31
|
-
|
|
32
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
33
|
-
|
|
34
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
35
|
-
|
|
36
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
37
|
-
|
|
38
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
26
|
+
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); }
|
|
39
27
|
|
|
40
|
-
function
|
|
28
|
+
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; }
|
|
41
29
|
|
|
42
|
-
function
|
|
43
|
-
|
|
44
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
45
|
-
|
|
46
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
30
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
|
|
47
31
|
|
|
48
|
-
|
|
49
|
-
|
|
32
|
+
function StatusListItem(props) {
|
|
33
|
+
var size = props.size,
|
|
34
|
+
active = props.active,
|
|
35
|
+
highlight = props.highlight,
|
|
36
|
+
value = props.value,
|
|
37
|
+
autoHover = props.autoHover,
|
|
38
|
+
palette = props.palette,
|
|
39
|
+
title = props.title,
|
|
40
|
+
disableTitle = props.disableTitle,
|
|
41
|
+
needTick = props.needTick,
|
|
42
|
+
isLink = props.isLink,
|
|
43
|
+
href = props.href,
|
|
44
|
+
target = props.target,
|
|
45
|
+
needBorder = props.needBorder,
|
|
46
|
+
isDisabled = props.isDisabled,
|
|
47
|
+
bulletColor = props.bulletColor,
|
|
48
|
+
a11y = props.a11y,
|
|
49
|
+
needMultiLineText = props.needMultiLineText,
|
|
50
|
+
index = props.index,
|
|
51
|
+
getRef = props.getRef,
|
|
52
|
+
id = props.id,
|
|
53
|
+
onClick = props.onClick,
|
|
54
|
+
onMouseEnter = props.onMouseEnter;
|
|
55
|
+
var options = {};
|
|
56
|
+
var role = a11y.role,
|
|
57
|
+
ariaSelected = a11y.ariaSelected,
|
|
58
|
+
_a11y$ariaHidden = a11y.ariaHidden,
|
|
59
|
+
ariaHidden = _a11y$ariaHidden === void 0 ? true : _a11y$ariaHidden;
|
|
60
|
+
|
|
61
|
+
if (isLink) {
|
|
62
|
+
options.href = href;
|
|
63
|
+
options.target = "_".concat(target);
|
|
64
|
+
}
|
|
50
65
|
|
|
51
|
-
var
|
|
66
|
+
var element = (0, _react.useRef)(null);
|
|
52
67
|
|
|
53
|
-
function
|
|
54
|
-
|
|
68
|
+
function getReference(ele) {
|
|
69
|
+
element.current = ele;
|
|
70
|
+
getRef && getRef(element.current, index, id);
|
|
71
|
+
}
|
|
55
72
|
|
|
56
|
-
|
|
73
|
+
function handleClick(e) {
|
|
74
|
+
onClick && onClick(id, value, index, e);
|
|
75
|
+
}
|
|
57
76
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
_this.getRef = _this.getRef.bind(_assertThisInitialized(_this));
|
|
61
|
-
_this.handleMouseEnter = _this.handleMouseEnter.bind(_assertThisInitialized(_this));
|
|
62
|
-
return _this;
|
|
77
|
+
function handleMouseEnter(e) {
|
|
78
|
+
onMouseEnter && onMouseEnter(id, value, index, e);
|
|
63
79
|
}
|
|
64
80
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
}
|
|
95
|
-
}, {
|
|
96
|
-
key: "render",
|
|
97
|
-
value: function render() {
|
|
98
|
-
var _this$props4 = this.props,
|
|
99
|
-
size = _this$props4.size,
|
|
100
|
-
active = _this$props4.active,
|
|
101
|
-
highlight = _this$props4.highlight,
|
|
102
|
-
value = _this$props4.value,
|
|
103
|
-
autoHover = _this$props4.autoHover,
|
|
104
|
-
palette = _this$props4.palette,
|
|
105
|
-
title = _this$props4.title,
|
|
106
|
-
disableTitle = _this$props4.disableTitle,
|
|
107
|
-
needTick = _this$props4.needTick,
|
|
108
|
-
isLink = _this$props4.isLink,
|
|
109
|
-
href = _this$props4.href,
|
|
110
|
-
target = _this$props4.target,
|
|
111
|
-
needBorder = _this$props4.needBorder,
|
|
112
|
-
isDisabled = _this$props4.isDisabled,
|
|
113
|
-
bulletColor = _this$props4.bulletColor,
|
|
114
|
-
a11y = _this$props4.a11y,
|
|
115
|
-
needMultiLineText = _this$props4.needMultiLineText;
|
|
116
|
-
var options = {};
|
|
117
|
-
var role = a11y.role,
|
|
118
|
-
ariaSelected = a11y.ariaSelected,
|
|
119
|
-
_a11y$ariaHidden = a11y.ariaHidden,
|
|
120
|
-
ariaHidden = _a11y$ariaHidden === void 0 ? true : _a11y$ariaHidden;
|
|
121
|
-
|
|
122
|
-
if (isLink) {
|
|
123
|
-
options.href = href;
|
|
124
|
-
options.target = "_".concat(target);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
return /*#__PURE__*/_react["default"].createElement(_Layout.Container, _extends({
|
|
128
|
-
role: role,
|
|
129
|
-
"aria-selected": ariaSelected,
|
|
130
|
-
isCover: false,
|
|
131
|
-
align: "baseline",
|
|
132
|
-
alignBox: "row",
|
|
133
|
-
className: "".concat(_StatusListItemModule["default"].list, " ").concat(_StatusListItemModule["default"][size], " ").concat(_StatusListItemModule["default"][palette], " ").concat(active ? _StatusListItemModule["default"].active : highlight && !isDisabled ? _StatusListItemModule["default"].hover : '', " ").concat(autoHover && !isDisabled ? _StatusListItemModule["default"].effect : '', " ").concat(needTick ? _StatusListItemModule["default"].withTick : '', " ").concat(isDisabled ? (0, _CssProvider["default"])('isDisable') : '', " ").concat(needBorder ? _StatusListItemModule["default"].withBorder : ''),
|
|
134
|
-
dataId: String(value).replace("'", '_'),
|
|
135
|
-
onClick: !isDisabled && this.handleClick,
|
|
136
|
-
onMouseEnter: this.handleMouseEnter,
|
|
137
|
-
eleRef: this.getRef,
|
|
138
|
-
tagName: isLink ? 'a' : 'li',
|
|
139
|
-
"data-title": isDisabled ? disableTitle : null,
|
|
140
|
-
tabindex: isDisabled ? '-1' : '0'
|
|
141
|
-
}, options), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
142
|
-
className: "".concat(_StatusListItemModule["default"].statusType, " ").concat(_StatusListItemModule["default"][bulletColor])
|
|
143
|
-
}), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
144
|
-
"data-title": isDisabled ? null : title,
|
|
145
|
-
flexible: true,
|
|
146
|
-
shrink: true,
|
|
147
|
-
className: needMultiLineText ? _StatusListItemModule["default"].multiLineValue : _StatusListItemModule["default"].value
|
|
148
|
-
}, value), needTick && active ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
149
|
-
className: _StatusListItemModule["default"].tickIcon,
|
|
150
|
-
"aria-hidden": ariaHidden
|
|
151
|
-
}, /*#__PURE__*/_react["default"].createElement(_icons.Icon, {
|
|
152
|
-
name: "ZD-ticknew",
|
|
153
|
-
size: "8"
|
|
154
|
-
})) : null);
|
|
155
|
-
}
|
|
156
|
-
}]);
|
|
157
|
-
|
|
158
|
-
return StatusListItem;
|
|
159
|
-
}(_react["default"].Component);
|
|
81
|
+
return /*#__PURE__*/_react["default"].createElement(_Layout.Container, _extends({
|
|
82
|
+
role: role,
|
|
83
|
+
"aria-selected": ariaSelected,
|
|
84
|
+
isCover: false,
|
|
85
|
+
align: "baseline",
|
|
86
|
+
alignBox: "row",
|
|
87
|
+
className: "".concat(_StatusListItemModule["default"].list, " ").concat(_StatusListItemModule["default"][size], " ").concat(_StatusListItemModule["default"][palette], " ").concat(active ? _StatusListItemModule["default"].active : highlight && !isDisabled ? _StatusListItemModule["default"].hover : '', " ").concat(autoHover && !isDisabled ? _StatusListItemModule["default"].effect : '', " ").concat(needTick ? _StatusListItemModule["default"].withTick : '', " ").concat(isDisabled ? (0, _CssProvider["default"])('isDisable') : '', " ").concat(needBorder ? _StatusListItemModule["default"].withBorder : ''),
|
|
88
|
+
dataId: String(value).replace("'", '_'),
|
|
89
|
+
onClick: !isDisabled && handleClick,
|
|
90
|
+
onMouseEnter: handleMouseEnter,
|
|
91
|
+
eleRef: getReference,
|
|
92
|
+
tagName: isLink ? 'a' : 'li',
|
|
93
|
+
"data-title": isDisabled ? disableTitle : null,
|
|
94
|
+
tabindex: isDisabled ? '-1' : '0'
|
|
95
|
+
}, options), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
96
|
+
className: "".concat(_StatusListItemModule["default"].statusType, " ").concat(_StatusListItemModule["default"][bulletColor])
|
|
97
|
+
}), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
98
|
+
"data-title": isDisabled ? null : title,
|
|
99
|
+
flexible: true,
|
|
100
|
+
shrink: true,
|
|
101
|
+
className: needMultiLineText ? _StatusListItemModule["default"].multiLineValue : _StatusListItemModule["default"].value
|
|
102
|
+
}, value), needTick && active ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
103
|
+
className: _StatusListItemModule["default"].tickIcon,
|
|
104
|
+
"aria-hidden": ariaHidden
|
|
105
|
+
}, /*#__PURE__*/_react["default"].createElement(_icons.Icon, {
|
|
106
|
+
name: "ZD-ticknew",
|
|
107
|
+
size: "8"
|
|
108
|
+
})) : null);
|
|
109
|
+
}
|
|
160
110
|
|
|
161
|
-
exports["default"] = StatusListItem;
|
|
162
111
|
StatusListItem.defaultProps = _defaultProps.defaultProps;
|
|
163
|
-
StatusListItem.propTypes = _propTypes.propTypes;
|
|
164
|
-
// StatusListItem.docs = {
|
|
165
|
-
// componentGroup: 'StatusListItem',
|
|
166
|
-
// folderName: 'List'
|
|
167
|
-
// };
|
|
168
|
-
// }
|
|
112
|
+
StatusListItem.propTypes = _propTypes.propTypes;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
7
5
|
});
|
|
8
|
-
exports["default"] =
|
|
6
|
+
exports["default"] = EmptyPage;
|
|
9
7
|
|
|
10
|
-
var _react =
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
9
|
|
|
12
10
|
var _defaultProps = require("../../../lookup/EmptyPage/props/defaultProps");
|
|
13
11
|
|
|
@@ -25,96 +23,48 @@ var _LookupEmptyPageModule = _interopRequireDefault(require("../../../lookup/Emp
|
|
|
25
23
|
|
|
26
24
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
27
25
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
_classCallCheck(this, EmptyPage);
|
|
61
|
-
|
|
62
|
-
_this = _super.call(this, props);
|
|
63
|
-
_this.renderEmptyState = _this.renderEmptyState.bind();
|
|
64
|
-
return _this;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
_createClass(EmptyPage, [{
|
|
68
|
-
key: "renderEmptyState",
|
|
69
|
-
value: function renderEmptyState(type) {
|
|
70
|
-
switch (type) {
|
|
71
|
-
case 'search':
|
|
72
|
-
return /*#__PURE__*/_react["default"].createElement(_EmptySearch["default"], {
|
|
73
|
-
className: _LookupEmptyPageModule["default"].image
|
|
74
|
-
});
|
|
75
|
-
|
|
76
|
-
case 'account':
|
|
77
|
-
return /*#__PURE__*/_react["default"].createElement(_EmptyAccounts["default"], {
|
|
78
|
-
className: _LookupEmptyPageModule["default"].image
|
|
79
|
-
});
|
|
80
|
-
|
|
81
|
-
case 'contact':
|
|
82
|
-
return /*#__PURE__*/_react["default"].createElement(_EmptyContact["default"], {
|
|
83
|
-
className: _LookupEmptyPageModule["default"].image
|
|
84
|
-
});
|
|
85
|
-
|
|
86
|
-
case 'product':
|
|
87
|
-
return /*#__PURE__*/_react["default"].createElement(_EmptyProducts["default"], {
|
|
88
|
-
className: _LookupEmptyPageModule["default"].image
|
|
89
|
-
});
|
|
90
|
-
|
|
91
|
-
default:
|
|
92
|
-
return null;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}, {
|
|
96
|
-
key: "render",
|
|
97
|
-
value: function render() {
|
|
98
|
-
var _this$props = this.props,
|
|
99
|
-
type = _this$props.type,
|
|
100
|
-
title = _this$props.title;
|
|
101
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
102
|
-
className: _LookupEmptyPageModule["default"].container,
|
|
103
|
-
"data-id": "empty_".concat(type),
|
|
104
|
-
"data-test-id": "empty_".concat(type)
|
|
105
|
-
}, this.renderEmptyState(type), /*#__PURE__*/_react["default"].createElement("div", {
|
|
106
|
-
className: _LookupEmptyPageModule["default"].contentDiv
|
|
107
|
-
}, title));
|
|
26
|
+
/*** Libraries ***/
|
|
27
|
+
|
|
28
|
+
/*** CSS ***/
|
|
29
|
+
function EmptyPage(props) {
|
|
30
|
+
var type = props.type,
|
|
31
|
+
title = props.title;
|
|
32
|
+
|
|
33
|
+
function renderEmptyState(type) {
|
|
34
|
+
switch (type) {
|
|
35
|
+
case 'search':
|
|
36
|
+
return /*#__PURE__*/_react["default"].createElement(_EmptySearch["default"], {
|
|
37
|
+
className: _LookupEmptyPageModule["default"].image
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
case 'account':
|
|
41
|
+
return /*#__PURE__*/_react["default"].createElement(_EmptyAccounts["default"], {
|
|
42
|
+
className: _LookupEmptyPageModule["default"].image
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
case 'contact':
|
|
46
|
+
return /*#__PURE__*/_react["default"].createElement(_EmptyContact["default"], {
|
|
47
|
+
className: _LookupEmptyPageModule["default"].image
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
case 'product':
|
|
51
|
+
return /*#__PURE__*/_react["default"].createElement(_EmptyProducts["default"], {
|
|
52
|
+
className: _LookupEmptyPageModule["default"].image
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
default:
|
|
56
|
+
return null;
|
|
108
57
|
}
|
|
109
|
-
}
|
|
58
|
+
}
|
|
110
59
|
|
|
111
|
-
return
|
|
112
|
-
|
|
60
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
61
|
+
className: _LookupEmptyPageModule["default"].container,
|
|
62
|
+
"data-id": "empty_".concat(type),
|
|
63
|
+
"data-test-id": "empty_".concat(type)
|
|
64
|
+
}, renderEmptyState(type), /*#__PURE__*/_react["default"].createElement("div", {
|
|
65
|
+
className: _LookupEmptyPageModule["default"].contentDiv
|
|
66
|
+
}, title));
|
|
67
|
+
}
|
|
113
68
|
|
|
114
|
-
exports["default"] = EmptyPage;
|
|
115
69
|
EmptyPage.propTypes = _propTypes.propTypes;
|
|
116
|
-
EmptyPage.defaultProps = _defaultProps.defaultProps;
|
|
117
|
-
// EmptyPage.docs = {
|
|
118
|
-
// componentGroup: 'Lookup'
|
|
119
|
-
// };
|
|
120
|
-
// }
|
|
70
|
+
EmptyPage.defaultProps = _defaultProps.defaultProps;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
7
5
|
});
|
|
8
|
-
exports["default"] =
|
|
6
|
+
exports["default"] = Section;
|
|
9
7
|
|
|
10
|
-
var _react =
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
9
|
|
|
12
10
|
var _propTypes = require("../../../lookup/Section/props/propTypes");
|
|
13
11
|
|
|
@@ -17,59 +15,17 @@ var _LookupSectionModule = _interopRequireDefault(require("../../../lookup/Secti
|
|
|
17
15
|
|
|
18
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
19
17
|
|
|
20
|
-
function
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
33
|
-
|
|
34
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
35
|
-
|
|
36
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
18
|
+
function Section(props) {
|
|
19
|
+
var alignBox = props.alignBox,
|
|
20
|
+
className = props.className,
|
|
21
|
+
children = props.children;
|
|
22
|
+
return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
23
|
+
"data-drag-container": "true",
|
|
24
|
+
alignBox: alignBox,
|
|
25
|
+
className: "".concat(_LookupSectionModule["default"].section, " ").concat(className ? className : '')
|
|
26
|
+
}, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
27
|
+
flexible: true
|
|
28
|
+
}, children));
|
|
29
|
+
}
|
|
37
30
|
|
|
38
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
39
|
-
|
|
40
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
41
|
-
|
|
42
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
43
|
-
|
|
44
|
-
var Section = /*#__PURE__*/function (_Component) {
|
|
45
|
-
_inherits(Section, _Component);
|
|
46
|
-
|
|
47
|
-
var _super = _createSuper(Section);
|
|
48
|
-
|
|
49
|
-
function Section(props) {
|
|
50
|
-
_classCallCheck(this, Section);
|
|
51
|
-
|
|
52
|
-
return _super.call(this, props);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
_createClass(Section, [{
|
|
56
|
-
key: "render",
|
|
57
|
-
value: function render() {
|
|
58
|
-
var _this$props = this.props,
|
|
59
|
-
alignBox = _this$props.alignBox,
|
|
60
|
-
className = _this$props.className;
|
|
61
|
-
return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
62
|
-
"data-drag-container": "true",
|
|
63
|
-
alignBox: alignBox,
|
|
64
|
-
className: "".concat(_LookupSectionModule["default"].section, " ").concat(className ? className : '')
|
|
65
|
-
}, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
66
|
-
flexible: true
|
|
67
|
-
}, this.props.children));
|
|
68
|
-
}
|
|
69
|
-
}]);
|
|
70
|
-
|
|
71
|
-
return Section;
|
|
72
|
-
}(_react.Component);
|
|
73
|
-
|
|
74
|
-
exports["default"] = Section;
|
|
75
31
|
Section.propTypes = _propTypes.propTypes;
|
package/lib/v1/svg/PlusIcon.js
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
7
5
|
});
|
|
8
|
-
exports["default"] =
|
|
6
|
+
exports["default"] = PlusIcon;
|
|
9
7
|
|
|
10
8
|
var _react = _interopRequireDefault(require("react"));
|
|
11
9
|
|
|
@@ -13,70 +11,27 @@ var _defaultProps = require("../../svg/props/defaultProps");
|
|
|
13
11
|
|
|
14
12
|
var _propTypes = require("../../svg/props/propTypes");
|
|
15
13
|
|
|
16
|
-
var _SVG = _interopRequireDefault(require("@zohodesk/svg/lib/SVG/SVG"));
|
|
14
|
+
var _SVG = _interopRequireDefault(require("@zohodesk/svg/lib/v1/SVG/SVG"));
|
|
17
15
|
|
|
18
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
19
17
|
|
|
20
|
-
function
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
18
|
+
function PlusIcon(props) {
|
|
19
|
+
var isRender = props.isRender,
|
|
20
|
+
isSymbol = props.isSymbol,
|
|
21
|
+
className = props.className;
|
|
22
|
+
return /*#__PURE__*/_react["default"].createElement(_SVG["default"], {
|
|
23
|
+
viewBox: "0 0 32 32",
|
|
24
|
+
name: "PlusIcon",
|
|
25
|
+
isRender: isRender,
|
|
26
|
+
isSymbol: isSymbol,
|
|
27
|
+
className: className
|
|
28
|
+
}, /*#__PURE__*/_react["default"].createElement("g", null, /*#__PURE__*/_react["default"].createElement("path", {
|
|
29
|
+
style: {
|
|
30
|
+
fill: '#767d89'
|
|
31
|
+
},
|
|
32
|
+
d: "M16,2.7c0.4,0,0.7,0.1,0.9,0.4s0.4,0.6,0.4,0.9v10.7H28c0.4,0,0.7,0.1,0.9,0.4c0.3,0.3,0.4,0.6,0.4,0.9 c0,0.4-0.1,0.7-0.4,0.9c-0.3,0.3-0.6,0.4-0.9,0.4H17.3V28c0,0.4-0.1,0.7-0.4,0.9c-0.3,0.3-0.6,0.4-0.9,0.4c-0.4,0-0.7-0.1-0.9-0.4 c-0.3-0.3-0.4-0.6-0.4-0.9V17.3H4c-0.4,0-0.7-0.1-0.9-0.4S2.7,16.4,2.7,16s0.1-0.7,0.4-0.9c0.3-0.3,0.6-0.4,0.9-0.4h10.7V4 c0-0.4,0.1-0.7,0.4-0.9C15.3,2.8,15.6,2.7,16,2.7z"
|
|
33
|
+
})));
|
|
34
|
+
}
|
|
35
35
|
|
|
36
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
37
|
-
|
|
38
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
39
|
-
|
|
40
|
-
var PlusIcon = /*#__PURE__*/function (_React$Component) {
|
|
41
|
-
_inherits(PlusIcon, _React$Component);
|
|
42
|
-
|
|
43
|
-
var _super = _createSuper(PlusIcon);
|
|
44
|
-
|
|
45
|
-
function PlusIcon() {
|
|
46
|
-
_classCallCheck(this, PlusIcon);
|
|
47
|
-
|
|
48
|
-
return _super.apply(this, arguments);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
_createClass(PlusIcon, [{
|
|
52
|
-
key: "render",
|
|
53
|
-
value: function render() {
|
|
54
|
-
var _this$props = this.props,
|
|
55
|
-
isRender = _this$props.isRender,
|
|
56
|
-
isSymbol = _this$props.isSymbol,
|
|
57
|
-
className = _this$props.className;
|
|
58
|
-
return /*#__PURE__*/_react["default"].createElement(_SVG["default"], {
|
|
59
|
-
viewBox: "0 0 32 32",
|
|
60
|
-
name: "PlusIcon",
|
|
61
|
-
isRender: isRender,
|
|
62
|
-
isSymbol: isSymbol,
|
|
63
|
-
className: className
|
|
64
|
-
}, /*#__PURE__*/_react["default"].createElement("g", null, /*#__PURE__*/_react["default"].createElement("path", {
|
|
65
|
-
style: {
|
|
66
|
-
fill: '#767d89'
|
|
67
|
-
},
|
|
68
|
-
d: "M16,2.7c0.4,0,0.7,0.1,0.9,0.4s0.4,0.6,0.4,0.9v10.7H28c0.4,0,0.7,0.1,0.9,0.4c0.3,0.3,0.4,0.6,0.4,0.9 c0,0.4-0.1,0.7-0.4,0.9c-0.3,0.3-0.6,0.4-0.9,0.4H17.3V28c0,0.4-0.1,0.7-0.4,0.9c-0.3,0.3-0.6,0.4-0.9,0.4c-0.4,0-0.7-0.1-0.9-0.4 c-0.3-0.3-0.4-0.6-0.4-0.9V17.3H4c-0.4,0-0.7-0.1-0.9-0.4S2.7,16.4,2.7,16s0.1-0.7,0.4-0.9c0.3-0.3,0.6-0.4,0.9-0.4h10.7V4 c0-0.4,0.1-0.7,0.4-0.9C15.3,2.8,15.6,2.7,16,2.7z"
|
|
69
|
-
})));
|
|
70
|
-
}
|
|
71
|
-
}]);
|
|
72
|
-
|
|
73
|
-
return PlusIcon;
|
|
74
|
-
}(_react["default"].Component);
|
|
75
|
-
|
|
76
|
-
exports["default"] = PlusIcon;
|
|
77
36
|
PlusIcon.propTypes = _propTypes.PlusIcon_propTypes;
|
|
78
|
-
PlusIcon.defaultProps = _defaultProps.PlusIcon_defaultProps;
|
|
79
|
-
// PlusIcon.docs = {
|
|
80
|
-
// componentGroup: 'SVG'
|
|
81
|
-
// };
|
|
82
|
-
// }
|
|
37
|
+
PlusIcon.defaultProps = _defaultProps.PlusIcon_defaultProps;
|