@zohodesk/dot 1.0.0-temp-223.4 → 1.0.0-temp-187.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/assets/Appearance/dark/mode/Dot_DarkMode.module.css +315 -315
- package/assets/Appearance/dark/themes/blue/blue_DotTheme_DarkTheme.module.css +15 -15
- package/assets/Appearance/dark/themes/green/green_DotTheme_DarkTheme.module.css +15 -15
- package/assets/Appearance/dark/themes/orange/orange_DotTheme_DarkTheme.module.css +15 -15
- package/assets/Appearance/dark/themes/red/red_DotTheme_DarkTheme.module.css +15 -15
- package/assets/Appearance/dark/themes/yellow/yellow_DotTheme_DarkTheme.module.css +15 -15
- package/assets/Appearance/light/mode/Dot_LightMode.module.css +307 -307
- package/assets/Appearance/light/themes/blue/blue_DotTheme_LightTheme.module.css +15 -15
- package/assets/Appearance/light/themes/green/green_DotTheme_LightTheme.module.css +15 -15
- package/assets/Appearance/light/themes/orange/orange_DotTheme_LightTheme.module.css +15 -15
- package/assets/Appearance/light/themes/red/red_DotTheme_LightTheme.module.css +15 -15
- package/assets/Appearance/light/themes/yellow/yellow_DotTheme_LightTheme.module.css +15 -15
- package/assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css +317 -317
- package/assets/Appearance/pureDark/themes/blue/blue_DotTheme_PureDarkTheme.module.css +15 -15
- package/assets/Appearance/pureDark/themes/green/green_DotTheme_PureDarkTheme.module.css +15 -15
- package/assets/Appearance/pureDark/themes/orange/orange_DotTheme_PureDarkTheme.module.css +15 -15
- package/assets/Appearance/pureDark/themes/red/red_DotTheme_PureDarkTheme.module.css +15 -15
- package/assets/Appearance/pureDark/themes/yellow/yellow_DotTheme_PureDarkTheme.module.css +15 -15
- package/es/common/dot_boxShadow.module.css +2 -1
- package/es/form/fields/Fields.module.css +4 -1
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +10 -6
- package/es/form/fields/TagsMultiSelect/props/propTypes.js +2 -1
- package/es/form/fields/TextEditor/TextEditor.js +2 -3
- package/es/form/fields/TextEditor/props/defaultProps.js +1 -2
- package/es/form/fields/TextEditor/props/propTypes.js +1 -2
- package/es/list/DepartmentDropDown/DepartmentDropDown.js +6 -2
- package/es/list/DepartmentDropDown/props/defaultProps.js +2 -1
- package/es/list/DepartmentDropDown/props/propTypes.js +3 -0
- package/es/list/status/StatusDropdown/StatusDropdown.js +7 -2
- package/es/list/status/StatusDropdown/props/defaultProps.js +2 -1
- package/es/list/status/StatusDropdown/props/propTypes.js +4 -1
- package/es/list/status/StatusListItem/StatusListItem.js +1 -1
- package/es/list/status/StatusListItem/StatusListItem.module.css +43 -15
- package/lib/common/dot_boxShadow.module.css +2 -1
- package/lib/form/fields/Fields.module.css +4 -1
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +12 -7
- package/lib/form/fields/TagsMultiSelect/props/propTypes.js +2 -1
- package/lib/form/fields/TextEditor/TextEditor.js +2 -3
- package/lib/form/fields/TextEditor/props/defaultProps.js +1 -2
- package/lib/form/fields/TextEditor/props/propTypes.js +1 -2
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +8 -3
- package/lib/list/DepartmentDropDown/props/defaultProps.js +2 -1
- package/lib/list/DepartmentDropDown/props/propTypes.js +2 -0
- package/lib/list/status/StatusDropdown/StatusDropdown.js +6 -2
- package/lib/list/status/StatusDropdown/props/defaultProps.js +2 -1
- package/lib/list/status/StatusDropdown/props/propTypes.js +3 -1
- package/lib/list/status/StatusListItem/StatusListItem.js +1 -1
- package/lib/list/status/StatusListItem/StatusListItem.module.css +43 -15
- package/package.json +9 -9
|
@@ -427,14 +427,13 @@ var TextEditor = /*#__PURE__*/function (_Component) {
|
|
|
427
427
|
isNightMode = _this$props9.isNightMode,
|
|
428
428
|
isReadOnly = _this$props9.isReadOnly,
|
|
429
429
|
dataSelectorId = _this$props9.dataSelectorId,
|
|
430
|
-
isDisabled = _this$props9.isDisabled
|
|
431
|
-
customClass = _this$props9.customClass;
|
|
430
|
+
isDisabled = _this$props9.isDisabled;
|
|
432
431
|
var _this$state = this.state,
|
|
433
432
|
isEditorLoad = _this$state.isEditorLoad,
|
|
434
433
|
isEditorShow = _this$state.isEditorShow;
|
|
435
434
|
var editorDoc = ImgLazyLoad && global.editor && global.editor[id] ? global.editor[id].doc : null;
|
|
436
435
|
return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
437
|
-
className: "".concat(_TextEditorModule["default"].textEditor, " ").concat(_TextEditorModule["default"][type], " ").concat(_TextEditorModule["default"][border], "\n ").concat(isNightMode ? _TextEditorModule["default"].night : _TextEditorModule["default"].light, " ").concat(isReadOnly ? _TextEditorModule["default"].readOnly : '', " ").concat(isDisabled ? _TextEditorModule["default"].disable : '', " ").concat(!isEditorShow ? _TextEditorModule["default"].editorHide : ''
|
|
436
|
+
className: "".concat(_TextEditorModule["default"].textEditor, " ").concat(_TextEditorModule["default"][type], " ").concat(_TextEditorModule["default"][border], "\n ").concat(isNightMode ? _TextEditorModule["default"].night : _TextEditorModule["default"].light, " ").concat(isReadOnly ? _TextEditorModule["default"].readOnly : '', " ").concat(isDisabled ? _TextEditorModule["default"].disable : '', " ").concat(!isEditorShow ? _TextEditorModule["default"].editorHide : ''),
|
|
438
437
|
dataId: dataId,
|
|
439
438
|
"data-isEditor": true,
|
|
440
439
|
dataSelectorId: dataSelectorId
|
|
@@ -59,7 +59,6 @@ var propTypes = {
|
|
|
59
59
|
allowedFileExtensions: _propTypes["default"].array,
|
|
60
60
|
fileNameMaxCharacters: _propTypes["default"].number,
|
|
61
61
|
fileSizeMaxBytes: _propTypes["default"].number
|
|
62
|
-
})
|
|
63
|
-
customClass: _propTypes["default"].string
|
|
62
|
+
})
|
|
64
63
|
};
|
|
65
64
|
exports.propTypes = propTypes;
|
|
@@ -25,6 +25,8 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
25
25
|
|
|
26
26
|
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; }
|
|
27
27
|
|
|
28
|
+
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); }
|
|
29
|
+
|
|
28
30
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
29
31
|
|
|
30
32
|
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); } }
|
|
@@ -100,7 +102,10 @@ var DepartmentDropDown = /*#__PURE__*/function (_Component) {
|
|
|
100
102
|
onSearch = _this$props3.onSearch,
|
|
101
103
|
needSearchFetching = _this$props3.needSearchFetching,
|
|
102
104
|
searchStr = _this$props3.searchStr,
|
|
103
|
-
i18nKeys = _this$props3.i18nKeys
|
|
105
|
+
i18nKeys = _this$props3.i18nKeys,
|
|
106
|
+
customProps = _this$props3.customProps;
|
|
107
|
+
var _customProps$ToggleDr = customProps.ToggleDropDownProps,
|
|
108
|
+
ToggleDropDownProps = _customProps$ToggleDr === void 0 ? {} : _customProps$ToggleDr;
|
|
104
109
|
var _i18nKeys$title = i18nKeys.title,
|
|
105
110
|
title = _i18nKeys$title === void 0 ? 'Move Department' : _i18nKeys$title,
|
|
106
111
|
_i18nKeys$searchEmpty = i18nKeys.searchEmptyText,
|
|
@@ -109,7 +114,7 @@ var DepartmentDropDown = /*#__PURE__*/function (_Component) {
|
|
|
109
114
|
searchErrorText = _i18nKeys$searchError === void 0 ? 'No results' : _i18nKeys$searchError,
|
|
110
115
|
_i18nKeys$placeholder = i18nKeys.placeholder,
|
|
111
116
|
placeholder = _i18nKeys$placeholder === void 0 ? 'Search Department' : _i18nKeys$placeholder;
|
|
112
|
-
return /*#__PURE__*/_react["default"].createElement(_ToggleDropDown["default"], {
|
|
117
|
+
return /*#__PURE__*/_react["default"].createElement(_ToggleDropDown["default"], _extends({}, ToggleDropDownProps, {
|
|
113
118
|
title: title,
|
|
114
119
|
options: departmentList,
|
|
115
120
|
value: /*#__PURE__*/_react["default"].createElement(_SecondaryText.DepartmentText, {
|
|
@@ -138,7 +143,7 @@ var DepartmentDropDown = /*#__PURE__*/function (_Component) {
|
|
|
138
143
|
isNextOptions: isNextOptions,
|
|
139
144
|
onSearch: onSearch,
|
|
140
145
|
needSearchFetching: needSearchFetching
|
|
141
|
-
});
|
|
146
|
+
}));
|
|
142
147
|
}
|
|
143
148
|
}]);
|
|
144
149
|
|
|
@@ -31,5 +31,7 @@ var propTypes = (_propTypes = {
|
|
|
31
31
|
searchEmptyText: _propTypes2["default"].string,
|
|
32
32
|
searchErrorText: _propTypes2["default"].string,
|
|
33
33
|
placeholder: _propTypes2["default"].string
|
|
34
|
+
})), _defineProperty(_propTypes, "customProps", _propTypes2["default"].shape({
|
|
35
|
+
ToggleDropDownProps: _propTypes2["default"].object
|
|
34
36
|
})), _propTypes);
|
|
35
37
|
exports.propTypes = propTypes;
|
|
@@ -247,7 +247,10 @@ var StatusDropdown = /*#__PURE__*/function (_React$Component) {
|
|
|
247
247
|
renderTargetElement = _this$props4.renderTargetElement,
|
|
248
248
|
renderFooterElement = _this$props4.renderFooterElement,
|
|
249
249
|
_this$props4$a11y = _this$props4.a11y,
|
|
250
|
-
a11y = _this$props4$a11y === void 0 ? {} : _this$props4$a11y
|
|
250
|
+
a11y = _this$props4$a11y === void 0 ? {} : _this$props4$a11y,
|
|
251
|
+
customClass = _this$props4.customClass;
|
|
252
|
+
var _customClass$dropBoxC = customClass.dropBoxClass,
|
|
253
|
+
dropBoxClass = _customClass$dropBoxC === void 0 ? '' : _customClass$dropBoxC;
|
|
251
254
|
var _a11y$tabIndex = a11y.tabIndex,
|
|
252
255
|
tabIndex = _a11y$tabIndex === void 0 ? 0 : _a11y$tabIndex,
|
|
253
256
|
ariaLabelledby = a11y.ariaLabelledby,
|
|
@@ -310,7 +313,8 @@ var StatusDropdown = /*#__PURE__*/function (_React$Component) {
|
|
|
310
313
|
isAnimate: true,
|
|
311
314
|
getRef: getContainerRef,
|
|
312
315
|
customClass: {
|
|
313
|
-
customDropBoxWrap: _StatusDropdownModule["default"].dropBoxContainer
|
|
316
|
+
customDropBoxWrap: _StatusDropdownModule["default"].dropBoxContainer,
|
|
317
|
+
customDropBox: dropBoxClass
|
|
314
318
|
},
|
|
315
319
|
needResponsive: needResponsive,
|
|
316
320
|
isResponsivePadding: true,
|
|
@@ -30,5 +30,7 @@ var propTypes = (_propTypes = {
|
|
|
30
30
|
idName: _propTypes2["default"].string,
|
|
31
31
|
isArrow: _propTypes2["default"].bool,
|
|
32
32
|
isDataLoaded: _propTypes2["default"].bool
|
|
33
|
-
}, _defineProperty(_propTypes, "isDataLoaded", _propTypes2["default"].bool), _defineProperty(_propTypes, "isDisabled", _propTypes2["default"].bool), _defineProperty(_propTypes, "isEditable", _propTypes2["default"].bool), _defineProperty(_propTypes, "isFetchingOptions", _propTypes2["default"].bool), _defineProperty(_propTypes, "isPopupActive", _propTypes2["default"].bool), _defineProperty(_propTypes, "isPopupOpen", _propTypes2["default"].bool), _defineProperty(_propTypes, "isPopupReady", _propTypes2["default"].bool), _defineProperty(_propTypes, "isReadOnly", _propTypes2["default"].bool), _defineProperty(_propTypes, "isSearch", _propTypes2["default"].bool), _defineProperty(_propTypes, "keyName", _propTypes2["default"].string), _defineProperty(_propTypes, "left", _propTypes2["default"].number), _defineProperty(_propTypes, "needExternalPopupState", _propTypes2["default"].bool), _defineProperty(_propTypes, "needResponsive", _propTypes2["default"].bool), _defineProperty(_propTypes, "needTick", _propTypes2["default"].bool), _defineProperty(_propTypes, "onClick", _propTypes2["default"].func), _defineProperty(_propTypes, "onTogglePopup", _propTypes2["default"].func), _defineProperty(_propTypes, "options", _propTypes2["default"].array.isRequired), _defineProperty(_propTypes, "placeHolderText", _propTypes2["default"].string), _defineProperty(_propTypes, "position", _propTypes2["default"].string), _defineProperty(_propTypes, "removeClose", _propTypes2["default"].func), _defineProperty(_propTypes, "right", _propTypes2["default"].number), _defineProperty(_propTypes, "searchBoxSize", _propTypes2["default"].oneOf(['small', 'medium', 'xmedium'])), _defineProperty(_propTypes, "searchEmptyHint", _propTypes2["default"].string), _defineProperty(_propTypes, "searchErrorText", _propTypes2["default"].string), _defineProperty(_propTypes, "showIconOnHover", _propTypes2["default"].bool), _defineProperty(_propTypes, "showOnHover", _propTypes2["default"].bool), _defineProperty(_propTypes, "statusColor", _propTypes2["default"].string), _defineProperty(_propTypes, "targetAlign", _propTypes2["default"].oneOf(['vertical', 'horizontal', 'both', 'top', 'right', 'bottom', 'left', 'between', 'around'])), _defineProperty(_propTypes, "title", _propTypes2["default"].string), _defineProperty(_propTypes, "togglePopup", _propTypes2["default"].func), _defineProperty(_propTypes, "value", _propTypes2["default"].node), _defineProperty(_propTypes, "needMultiLineText", _propTypes2["default"].bool), _defineProperty(_propTypes, "onSelectLabel", _propTypes2["default"].func), _defineProperty(_propTypes, "top", _propTypes2["default"].number), _defineProperty(_propTypes, "a11y", _propTypes2["default"].object), _defineProperty(_propTypes, "isAbsolutePositioningNeeded", _propTypes2["default"].bool), _defineProperty(_propTypes, "isRestrictScroll", _propTypes2["default"].bool), _defineProperty(_propTypes, "positionsOffset", _propTypes2["default"].object), _defineProperty(_propTypes, "renderTargetElement", _propTypes2["default"].func), _defineProperty(_propTypes, "renderFooterElement", _propTypes2["default"].node), _defineProperty(_propTypes, "targetOffset", _propTypes2["default"].object), _propTypes
|
|
33
|
+
}, _defineProperty(_propTypes, "isDataLoaded", _propTypes2["default"].bool), _defineProperty(_propTypes, "isDisabled", _propTypes2["default"].bool), _defineProperty(_propTypes, "isEditable", _propTypes2["default"].bool), _defineProperty(_propTypes, "isFetchingOptions", _propTypes2["default"].bool), _defineProperty(_propTypes, "isPopupActive", _propTypes2["default"].bool), _defineProperty(_propTypes, "isPopupOpen", _propTypes2["default"].bool), _defineProperty(_propTypes, "isPopupReady", _propTypes2["default"].bool), _defineProperty(_propTypes, "isReadOnly", _propTypes2["default"].bool), _defineProperty(_propTypes, "isSearch", _propTypes2["default"].bool), _defineProperty(_propTypes, "keyName", _propTypes2["default"].string), _defineProperty(_propTypes, "left", _propTypes2["default"].number), _defineProperty(_propTypes, "needExternalPopupState", _propTypes2["default"].bool), _defineProperty(_propTypes, "needResponsive", _propTypes2["default"].bool), _defineProperty(_propTypes, "needTick", _propTypes2["default"].bool), _defineProperty(_propTypes, "onClick", _propTypes2["default"].func), _defineProperty(_propTypes, "onTogglePopup", _propTypes2["default"].func), _defineProperty(_propTypes, "options", _propTypes2["default"].array.isRequired), _defineProperty(_propTypes, "placeHolderText", _propTypes2["default"].string), _defineProperty(_propTypes, "position", _propTypes2["default"].string), _defineProperty(_propTypes, "removeClose", _propTypes2["default"].func), _defineProperty(_propTypes, "right", _propTypes2["default"].number), _defineProperty(_propTypes, "searchBoxSize", _propTypes2["default"].oneOf(['small', 'medium', 'xmedium'])), _defineProperty(_propTypes, "searchEmptyHint", _propTypes2["default"].string), _defineProperty(_propTypes, "searchErrorText", _propTypes2["default"].string), _defineProperty(_propTypes, "showIconOnHover", _propTypes2["default"].bool), _defineProperty(_propTypes, "showOnHover", _propTypes2["default"].bool), _defineProperty(_propTypes, "statusColor", _propTypes2["default"].string), _defineProperty(_propTypes, "targetAlign", _propTypes2["default"].oneOf(['vertical', 'horizontal', 'both', 'top', 'right', 'bottom', 'left', 'between', 'around'])), _defineProperty(_propTypes, "title", _propTypes2["default"].string), _defineProperty(_propTypes, "togglePopup", _propTypes2["default"].func), _defineProperty(_propTypes, "value", _propTypes2["default"].node), _defineProperty(_propTypes, "needMultiLineText", _propTypes2["default"].bool), _defineProperty(_propTypes, "onSelectLabel", _propTypes2["default"].func), _defineProperty(_propTypes, "top", _propTypes2["default"].number), _defineProperty(_propTypes, "a11y", _propTypes2["default"].object), _defineProperty(_propTypes, "isAbsolutePositioningNeeded", _propTypes2["default"].bool), _defineProperty(_propTypes, "isRestrictScroll", _propTypes2["default"].bool), _defineProperty(_propTypes, "positionsOffset", _propTypes2["default"].object), _defineProperty(_propTypes, "renderTargetElement", _propTypes2["default"].func), _defineProperty(_propTypes, "renderFooterElement", _propTypes2["default"].node), _defineProperty(_propTypes, "targetOffset", _propTypes2["default"].object), _defineProperty(_propTypes, "customClass", _propTypes2["default"].shape({
|
|
34
|
+
dropBoxClass: _propTypes2["default"].string
|
|
35
|
+
})), _propTypes);
|
|
34
36
|
exports.propTypes = propTypes;
|
|
@@ -135,7 +135,7 @@ var StatusListItem = /*#__PURE__*/function (_React$Component) {
|
|
|
135
135
|
"aria-label": ariaLabel,
|
|
136
136
|
"data-a11y-inset-focus": insetFocus,
|
|
137
137
|
isCover: false,
|
|
138
|
-
align: "
|
|
138
|
+
align: "center",
|
|
139
139
|
alignBox: "row",
|
|
140
140
|
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 : '', " ").concat(customClass),
|
|
141
141
|
dataId: String(value).replace("'", '_'),
|
|
@@ -1,9 +1,16 @@
|
|
|
1
|
+
.varClass {
|
|
2
|
+
--statuslistitem_multiline_lineheight: 1.5385;
|
|
3
|
+
--statuslistitem_font_size: var(--zd_font_size13);
|
|
4
|
+
--statuslistitem_min_height: var(--zd_size35);
|
|
5
|
+
}
|
|
6
|
+
|
|
1
7
|
.list {
|
|
8
|
+
composes: varClass;
|
|
2
9
|
color: var(--zdt_statuslistitem_list_text);
|
|
3
|
-
font-size: var(--
|
|
10
|
+
font-size: var(--statuslistitem_font_size);
|
|
4
11
|
position: relative;
|
|
5
12
|
list-style: none;
|
|
6
|
-
min-height: var(--
|
|
13
|
+
min-height: var(--statuslistitem_min_height);
|
|
7
14
|
cursor: pointer;
|
|
8
15
|
}
|
|
9
16
|
[dir=ltr] .withBorder {
|
|
@@ -36,9 +43,8 @@
|
|
|
36
43
|
.value {
|
|
37
44
|
composes: dotted from '~@zohodesk/components/es/common/common.module.css';
|
|
38
45
|
}
|
|
39
|
-
.multiLineValue{
|
|
40
|
-
|
|
41
|
-
composes: clamp from '~@zohodesk/components/es/common/common.module.css';
|
|
46
|
+
.multiLineValue {
|
|
47
|
+
composes: lineClamp from '~@zohodesk/components/es/common/common.module.css';
|
|
42
48
|
}
|
|
43
49
|
[dir=ltr] .withBorder.active {
|
|
44
50
|
border-left-color: var(--zdt_statuslistitem_default_active_border);
|
|
@@ -89,23 +95,45 @@
|
|
|
89
95
|
padding-left: var(--zd_size39) ;
|
|
90
96
|
}
|
|
91
97
|
/* Status Type */
|
|
92
|
-
.statusType {
|
|
93
|
-
|
|
94
|
-
|
|
98
|
+
/* .statusType {
|
|
99
|
+
--status_listitem_bullet_min_height: 8px;
|
|
100
|
+
--status_listitem_bullet_min_width: 8px;
|
|
101
|
+
height: var(--status_listitem_bullet_min_height);
|
|
102
|
+
width: var(--status_listitem_bullet_min_width);
|
|
103
|
+
border-radius: 50%;
|
|
104
|
+
margin-right: 13px;
|
|
105
|
+
} */
|
|
106
|
+
.statusType{
|
|
107
|
+
composes: dflex alignVertical alignHorizontal from '~@zohodesk/components/lib/common/common.module.css';
|
|
108
|
+
height: 100% ;
|
|
109
|
+
position: relative;
|
|
110
|
+
align-self: flex-start;
|
|
111
|
+
min-height: calc(var(--statuslistitem_font_size) * var(--statuslistitem_multiline_lineheight));
|
|
112
|
+
min-width: var(--zd_size20) ;
|
|
113
|
+
}
|
|
114
|
+
.statusType::after{
|
|
115
|
+
content: ' ';
|
|
116
|
+
--status_listitem_bullet_min_height: var(--zd_size8);
|
|
117
|
+
--status_listitem_bullet_min_width: var(--zd_size8);
|
|
118
|
+
height: var(--status_listitem_bullet_min_height);
|
|
119
|
+
width: var(--status_listitem_bullet_min_width);
|
|
120
|
+
/* css:theme-validation:ignore */
|
|
95
121
|
border-radius: 50%;
|
|
122
|
+
background-color: var(--zdt_statuslistitem_black_bg);
|
|
96
123
|
}
|
|
97
|
-
[dir=ltr] .statusType
|
|
98
|
-
margin-right: var(--
|
|
124
|
+
[dir=ltr] .statusType::after{
|
|
125
|
+
margin-right: var(--zd_size12) ;
|
|
99
126
|
}
|
|
100
|
-
[dir=rtl] .statusType
|
|
101
|
-
margin-left: var(--
|
|
127
|
+
[dir=rtl] .statusType::after{
|
|
128
|
+
margin-left: var(--zd_size12) ;
|
|
102
129
|
}
|
|
103
|
-
|
|
130
|
+
|
|
131
|
+
.black.statusType::after {
|
|
104
132
|
background-color: var(--zdt_statuslistitem_black_bg);
|
|
105
133
|
}
|
|
106
|
-
.orange {
|
|
134
|
+
.orange.statusType::after {
|
|
107
135
|
background-color: var(--zdt_statuslistitem_orange_bg);
|
|
108
136
|
}
|
|
109
|
-
.green {
|
|
137
|
+
.green.statusType::after {
|
|
110
138
|
background-color: var(--zdt_statuslistitem_green_bg);
|
|
111
139
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/dot",
|
|
3
|
-
"version": "1.0.0-temp-
|
|
3
|
+
"version": "1.0.0-temp-187.19",
|
|
4
4
|
"main": "lib/index",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"private": false,
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"sstest": "react-cli sstest",
|
|
40
40
|
"common_package_build": "cd ../common && npm run build && cd ../dot",
|
|
41
41
|
"docs": "npm run css:review && review:props && react-cli docs",
|
|
42
|
-
"prepublishOnly": "node prePublish.js && npm run
|
|
42
|
+
"prepublishOnly": "node prePublish.js && npm run css:review && npm run review:props",
|
|
43
43
|
"postpublish": "node postPublish.js",
|
|
44
44
|
"test-clean": "react-cli clean ./coverage && react-cli clean ./unittest react-cli clean ./es && react-cli clean ./lib && react-cli clean ./package-lock.json && react-cli clean ./result.json",
|
|
45
45
|
"download": "npm run downloadOnly && cd ../ && npm run download",
|
|
@@ -68,16 +68,16 @@
|
|
|
68
68
|
"@testing-library/react": "^11.2.5",
|
|
69
69
|
"@testing-library/react-hooks": "^7.0.2",
|
|
70
70
|
"@testing-library/user-event": "^13.0.10",
|
|
71
|
-
"@zohodesk-private/color-variable-preprocessor": "1.
|
|
71
|
+
"@zohodesk-private/color-variable-preprocessor": "1.2.0",
|
|
72
72
|
"@zohodesk-private/css-variable-migrator": "1.0.9",
|
|
73
73
|
"@zohodesk-private/node-plugins": "1.1.13",
|
|
74
74
|
"@zohodesk-private/react-prop-validator": "1.2.3",
|
|
75
75
|
"@zohodesk/a11y": "2.3.8",
|
|
76
|
-
"@zohodesk/components": "
|
|
76
|
+
"@zohodesk/components": "../components",
|
|
77
77
|
"@zohodesk/hooks": "2.0.6",
|
|
78
|
-
"@zohodesk/icons": "1.1.
|
|
78
|
+
"@zohodesk/icons": "1.1.6",
|
|
79
79
|
"@zohodesk/layout": "^3.1.0",
|
|
80
|
-
"@zohodesk/svg": "1.
|
|
80
|
+
"@zohodesk/svg": "1.2.6",
|
|
81
81
|
"@zohodesk/utils": "1.3.16",
|
|
82
82
|
"@zohodesk/variables": "1.2.0",
|
|
83
83
|
"@zohodesk/virtualizer": "1.0.13",
|
|
@@ -89,9 +89,9 @@
|
|
|
89
89
|
"peerDependencies": {
|
|
90
90
|
"velocity-react": "1.4.3",
|
|
91
91
|
"@zohodesk/variables": "1.2.0",
|
|
92
|
-
"@zohodesk/components": "1.
|
|
93
|
-
"@zohodesk/icons": "1.1.
|
|
94
|
-
"@zohodesk/svg": "1.
|
|
92
|
+
"@zohodesk/components": "1.5.6",
|
|
93
|
+
"@zohodesk/icons": "1.1.6",
|
|
94
|
+
"@zohodesk/svg": "1.2.6",
|
|
95
95
|
"@zohodesk/virtualizer": "1.0.13",
|
|
96
96
|
"react-sortable-hoc": "^0.8.3",
|
|
97
97
|
"@zohodesk/hooks": "2.0.6",
|