@zohodesk/dot 1.0.0-temp-208.1 → 1.0.0-temp-187.12
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/propValidation_report.html +1 -1
- package/es/DotProvider/utils/themeAppearanceAssetsConfig.js +3 -3
- package/es/form/fields/Fields.module.css +4 -0
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +4 -2
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +116 -116
- package/es/form/fields/TagsMultiSelect/props/propTypes.js +2 -1
- package/es/list/DepartmentDropDown/DepartmentDropDown.js +7 -2
- package/es/list/DepartmentDropDown/props/defaultProps.js +2 -1
- package/es/list/DepartmentDropDown/props/propTypes.js +3 -0
- package/es/list/status/StatusListItem/StatusListItem.module.css +6 -6
- package/lib/DotProvider/utils/themeAppearanceAssetsConfig.js +3 -3
- package/lib/form/fields/Fields.module.css +4 -0
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +5 -3
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +116 -116
- package/lib/form/fields/TagsMultiSelect/props/propTypes.js +2 -1
- 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/StatusListItem/StatusListItem.module.css +6 -6
- package/package.json +4 -4
- package/result.json +1 -1
- package/unittest/index.html +2 -6
- package/es/DotProvider/libraryChunks/appearance/component/Dark_Component.js +0 -2
- package/es/DotProvider/libraryChunks/appearance/component/Light_Component.js +0 -2
- package/es/DotProvider/libraryChunks/appearance/component/PureDark_Component.js +0 -2
- package/lib/DotProvider/libraryChunks/appearance/component/Dark_Component.js +0 -5
- package/lib/DotProvider/libraryChunks/appearance/component/Light_Component.js +0 -5
- package/lib/DotProvider/libraryChunks/appearance/component/PureDark_Component.js +0 -5
|
@@ -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({
|
|
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
|
+
}, ToggleDropDownProps));
|
|
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;
|
|
@@ -36,9 +36,8 @@
|
|
|
36
36
|
.value {
|
|
37
37
|
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
38
38
|
}
|
|
39
|
-
.multiLineValue{
|
|
40
|
-
|
|
41
|
-
composes: clamp from '~@zohodesk/components/lib/common/common.module.css';
|
|
39
|
+
.multiLineValue {
|
|
40
|
+
composes: lineClamp from '~@zohodesk/components/lib/common/common.module.css';
|
|
42
41
|
}
|
|
43
42
|
[dir=ltr] .withBorder.active {
|
|
44
43
|
border-left-color: var(--zdt_statuslistitem_default_active_border);
|
|
@@ -46,7 +45,6 @@
|
|
|
46
45
|
[dir=rtl] .withBorder.active {
|
|
47
46
|
border-right-color: var(--zdt_statuslistitem_default_active_border);
|
|
48
47
|
}
|
|
49
|
-
|
|
50
48
|
.default.hover, .default.effect:hover {
|
|
51
49
|
background-color: var(--zdt_statuslistitem_default_effect_bg);
|
|
52
50
|
}
|
|
@@ -90,8 +88,10 @@
|
|
|
90
88
|
}
|
|
91
89
|
/* Status Type */
|
|
92
90
|
.statusType {
|
|
93
|
-
|
|
94
|
-
height: var(--
|
|
91
|
+
/* Variable:Ignore */
|
|
92
|
+
height: var(--zd_font_size8);
|
|
93
|
+
/* Variable:Ignore */
|
|
94
|
+
width: var(--zd_font_size8);
|
|
95
95
|
border-radius: 50%;
|
|
96
96
|
}
|
|
97
97
|
[dir=ltr] .statusType {
|
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.12",
|
|
4
4
|
"main": "lib/index",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"private": false,
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"sstest": "react-cli sstest",
|
|
38
38
|
"common_package_build": "cd ../common && npm run build && cd ../dot",
|
|
39
39
|
"docs": "npm run css:review && review:props && react-cli docs",
|
|
40
|
-
"prepublishOnly": "node prePublish.js && npm run
|
|
40
|
+
"prepublishOnly": "node prePublish.js && npm run css:review && npm run review:props",
|
|
41
41
|
"postpublish": "node postPublish.js",
|
|
42
42
|
"test-clean": "react-cli clean coverage && react-cli clean ./unittest",
|
|
43
43
|
"download": "react-cli clean ./node_modules ./package-lock.json && npm install",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"@zohodesk-private/node-plugins": "1.1.8",
|
|
64
64
|
"@zohodesk-private/react-prop-validator": "1.2.3",
|
|
65
65
|
"@zohodesk/a11y": "2.3.1",
|
|
66
|
-
"@zohodesk/components": "1.0.0-temp-
|
|
66
|
+
"@zohodesk/components": "1.0.0-temp-199.13",
|
|
67
67
|
"@zohodesk/hooks": "2.0.5",
|
|
68
68
|
"@zohodesk/icons": "1.0.72",
|
|
69
69
|
"@zohodesk/layout": "^3.1.0",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"peerDependencies": {
|
|
78
78
|
"velocity-react": "1.4.3",
|
|
79
79
|
"@zohodesk/variables": "1.0.0",
|
|
80
|
-
"@zohodesk/components": "1.
|
|
80
|
+
"@zohodesk/components": "1.0.0-temp-199.13",
|
|
81
81
|
"@zohodesk/icons": "1.0.72",
|
|
82
82
|
"@zohodesk/svg": "1.1.22",
|
|
83
83
|
"@zohodesk/virtualizer": "1.0.3",
|