@zohodesk/dot 1.9.13 → 1.9.15
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/README.md +11 -6
- package/assets/Appearance/dark/mode/Dot_DarkMode.module.css +7 -7
- package/assets/Appearance/dark/themes/blue/blue_DotCTA_DarkModifyCategory.module.css +13 -0
- package/assets/Appearance/dark/themes/green/green_DotCTA_DarkModifyCategory.module.css +13 -0
- package/assets/Appearance/dark/themes/orange/orange_DotCTA_DarkModifyCategory.module.css +13 -0
- package/assets/Appearance/dark/themes/red/red_DotCTA_DarkModifyCategory.module.css +13 -0
- package/assets/Appearance/dark/themes/yellow/yellow_DotCTA_DarkModifyCategory.module.css +13 -0
- package/assets/Appearance/light/mode/Dot_LightMode.module.css +13 -13
- package/assets/Appearance/light/themes/blue/blue_DotCTA_LightModifyCategory.module.css +13 -0
- package/assets/Appearance/light/themes/green/green_DotCTA_LightModifyCategory.module.css +13 -0
- package/assets/Appearance/light/themes/orange/orange_DotCTA_LightModifyCategory.module.css +13 -0
- package/assets/Appearance/light/themes/red/red_DotCTA_LightModifyCategory.module.css +13 -0
- package/assets/Appearance/light/themes/yellow/yellow_DotCTA_LightModifyCategory.module.css +13 -0
- package/assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css +5 -5
- package/assets/Appearance/pureDark/themes/blue/blue_DotCTA_PureDarkModifyCategory.module.css +13 -0
- package/assets/Appearance/pureDark/themes/green/green_DotCTA_PureDarkModifyCategory.module.css +13 -0
- package/assets/Appearance/pureDark/themes/orange/orange_DotCTA_PureDarkModifyCategory.module.css +13 -0
- package/assets/Appearance/pureDark/themes/red/red_DotCTA_PureDarkModifyCategory.module.css +13 -0
- package/assets/Appearance/pureDark/themes/yellow/yellow_DotCTA_PureDarkModifyCategory.module.css +13 -0
- package/cbt.config.js +12 -3
- package/es/DotProvider/libraryChunks/themes/component/blue/Blue_Dark_Component.js +2 -1
- package/es/DotProvider/libraryChunks/themes/component/blue/Blue_Light_Component.js +2 -1
- package/es/DotProvider/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +2 -1
- package/es/DotProvider/libraryChunks/themes/component/green/Green_Dark_Component.js +2 -1
- package/es/DotProvider/libraryChunks/themes/component/green/Green_Light_Component.js +2 -1
- package/es/DotProvider/libraryChunks/themes/component/green/Green_PureDark_Component.js +2 -1
- package/es/DotProvider/libraryChunks/themes/component/orange/Orange_Dark_Component.js +2 -1
- package/es/DotProvider/libraryChunks/themes/component/orange/Orange_Light_Component.js +2 -1
- package/es/DotProvider/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +2 -1
- package/es/DotProvider/libraryChunks/themes/component/red/Red_Dark_Component.js +2 -1
- package/es/DotProvider/libraryChunks/themes/component/red/Red_Light_Component.js +2 -1
- package/es/DotProvider/libraryChunks/themes/component/red/Red_PureDark_Component.js +2 -1
- package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +2 -1
- package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +2 -1
- package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +2 -1
- package/es/DotProvider/libraryChunks/themes/dot/blue/Blue_Dark_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/blue/Blue_Light_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/blue/Blue_PureDark_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/green/Green_Dark_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/green/Green_Light_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/green/Green_PureDark_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/orange/Orange_Dark_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/orange/Orange_Light_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/orange/Orange_PureDark_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/red/Red_Dark_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/red/Red_Light_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/red/Red_PureDark_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Dark_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Light_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/variables/blue/Blue_Dark_Variables.js +1 -2
- package/es/DotProvider/libraryChunks/themes/variables/blue/Blue_Light_Variables.js +1 -2
- package/es/DotProvider/libraryChunks/themes/variables/blue/Blue_PureDark_Variables.js +1 -2
- package/es/DotProvider/libraryChunks/themes/variables/green/Green_Dark_Variables.js +1 -2
- package/es/DotProvider/libraryChunks/themes/variables/green/Green_Light_Variables.js +1 -2
- package/es/DotProvider/libraryChunks/themes/variables/green/Green_PureDark_Variables.js +1 -2
- package/es/DotProvider/libraryChunks/themes/variables/orange/Orange_Dark_Variables.js +1 -2
- package/es/DotProvider/libraryChunks/themes/variables/orange/Orange_Light_Variables.js +1 -2
- package/es/DotProvider/libraryChunks/themes/variables/orange/Orange_PureDark_Variables.js +1 -2
- package/es/DotProvider/libraryChunks/themes/variables/red/Red_Dark_Variables.js +1 -2
- package/es/DotProvider/libraryChunks/themes/variables/red/Red_Light_Variables.js +1 -2
- package/es/DotProvider/libraryChunks/themes/variables/red/Red_PureDark_Variables.js +1 -2
- package/es/DotProvider/libraryChunks/themes/variables/yellow/Yellow_Dark_Variables.js +1 -2
- package/es/DotProvider/libraryChunks/themes/variables/yellow/Yellow_Light_Variables.js +1 -2
- package/es/DotProvider/libraryChunks/themes/variables/yellow/Yellow_PureDark_Variables.js +1 -2
- package/es/version2/lookup/AlertLookup/AlertLookup.js +11 -5
- package/es/version2/lookup/AlertLookup/props/defaultProps.js +1 -0
- package/es/version2/lookup/AlertLookup/props/propTypes.js +1 -0
- package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_Dark_Component.js +3 -1
- package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_Light_Component.js +3 -1
- package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +3 -1
- package/lib/DotProvider/libraryChunks/themes/component/green/Green_Dark_Component.js +3 -1
- package/lib/DotProvider/libraryChunks/themes/component/green/Green_Light_Component.js +3 -1
- package/lib/DotProvider/libraryChunks/themes/component/green/Green_PureDark_Component.js +3 -1
- package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_Dark_Component.js +3 -1
- package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_Light_Component.js +3 -1
- package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +3 -1
- package/lib/DotProvider/libraryChunks/themes/component/red/Red_Dark_Component.js +3 -1
- package/lib/DotProvider/libraryChunks/themes/component/red/Red_Light_Component.js +3 -1
- package/lib/DotProvider/libraryChunks/themes/component/red/Red_PureDark_Component.js +3 -1
- package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +3 -1
- package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +3 -1
- package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +3 -1
- package/lib/DotProvider/libraryChunks/themes/dot/blue/Blue_Dark_Dot.js +2 -0
- package/lib/DotProvider/libraryChunks/themes/dot/blue/Blue_Light_Dot.js +2 -0
- package/lib/DotProvider/libraryChunks/themes/dot/blue/Blue_PureDark_Dot.js +2 -0
- package/lib/DotProvider/libraryChunks/themes/dot/green/Green_Dark_Dot.js +2 -0
- package/lib/DotProvider/libraryChunks/themes/dot/green/Green_Light_Dot.js +2 -0
- package/lib/DotProvider/libraryChunks/themes/dot/green/Green_PureDark_Dot.js +2 -0
- package/lib/DotProvider/libraryChunks/themes/dot/orange/Orange_Dark_Dot.js +2 -0
- package/lib/DotProvider/libraryChunks/themes/dot/orange/Orange_Light_Dot.js +2 -0
- package/lib/DotProvider/libraryChunks/themes/dot/orange/Orange_PureDark_Dot.js +2 -0
- package/lib/DotProvider/libraryChunks/themes/dot/red/Red_Dark_Dot.js +2 -0
- package/lib/DotProvider/libraryChunks/themes/dot/red/Red_Light_Dot.js +2 -0
- package/lib/DotProvider/libraryChunks/themes/dot/red/Red_PureDark_Dot.js +2 -0
- package/lib/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Dark_Dot.js +2 -0
- package/lib/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Light_Dot.js +2 -0
- package/lib/DotProvider/libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot.js +2 -0
- package/lib/DotProvider/libraryChunks/themes/variables/blue/Blue_Dark_Variables.js +1 -3
- package/lib/DotProvider/libraryChunks/themes/variables/blue/Blue_Light_Variables.js +1 -3
- package/lib/DotProvider/libraryChunks/themes/variables/blue/Blue_PureDark_Variables.js +1 -3
- package/lib/DotProvider/libraryChunks/themes/variables/green/Green_Dark_Variables.js +1 -3
- package/lib/DotProvider/libraryChunks/themes/variables/green/Green_Light_Variables.js +1 -3
- package/lib/DotProvider/libraryChunks/themes/variables/green/Green_PureDark_Variables.js +1 -3
- package/lib/DotProvider/libraryChunks/themes/variables/orange/Orange_Dark_Variables.js +1 -3
- package/lib/DotProvider/libraryChunks/themes/variables/orange/Orange_Light_Variables.js +1 -3
- package/lib/DotProvider/libraryChunks/themes/variables/orange/Orange_PureDark_Variables.js +1 -3
- package/lib/DotProvider/libraryChunks/themes/variables/red/Red_Dark_Variables.js +1 -3
- package/lib/DotProvider/libraryChunks/themes/variables/red/Red_Light_Variables.js +1 -3
- package/lib/DotProvider/libraryChunks/themes/variables/red/Red_PureDark_Variables.js +1 -3
- package/lib/DotProvider/libraryChunks/themes/variables/yellow/Yellow_Dark_Variables.js +1 -3
- package/lib/DotProvider/libraryChunks/themes/variables/yellow/Yellow_Light_Variables.js +1 -3
- package/lib/DotProvider/libraryChunks/themes/variables/yellow/Yellow_PureDark_Variables.js +1 -3
- package/lib/version2/lookup/AlertLookup/AlertLookup.js +11 -8
- package/lib/version2/lookup/AlertLookup/props/defaultProps.js +1 -0
- package/lib/version2/lookup/AlertLookup/props/propTypes.js +1 -0
- package/package.json +14 -13
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
require("@zohodesk/variables/assets/Appearance/dark/themes/yellow/yellow_ctaTokens_DarkTheme.module.css");
|
|
4
|
-
|
|
5
|
-
require("@zohodesk/variables/assets/Appearance/dark/themes/yellow/yellow_ctaTokens_DarkModifyCategory.module.css");
|
|
3
|
+
require("@zohodesk/variables/assets/Appearance/dark/themes/yellow/yellow_ctaTokens_DarkTheme.module.css");
|
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
require("@zohodesk/variables/assets/Appearance/light/themes/yellow/yellow_ctaTokens_LightTheme.module.css");
|
|
4
|
-
|
|
5
|
-
require("@zohodesk/variables/assets/Appearance/light/themes/yellow/yellow_ctaTokens_LightModifyCategory.module.css");
|
|
3
|
+
require("@zohodesk/variables/assets/Appearance/light/themes/yellow/yellow_ctaTokens_LightTheme.module.css");
|
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
require("@zohodesk/variables/assets/Appearance/pureDark/themes/yellow/yellow_ctaTokens_PureDarkTheme.module.css");
|
|
4
|
-
|
|
5
|
-
require("@zohodesk/variables/assets/Appearance/pureDark/themes/yellow/yellow_ctaTokens_PureDarkModifyCategory.module.css");
|
|
3
|
+
require("@zohodesk/variables/assets/Appearance/pureDark/themes/yellow/yellow_ctaTokens_PureDarkTheme.module.css");
|
|
@@ -13,20 +13,22 @@ var _defaultProps = require("./props/defaultProps");
|
|
|
13
13
|
|
|
14
14
|
var _propTypes = require("./props/propTypes");
|
|
15
15
|
|
|
16
|
+
var _Button = _interopRequireDefault(require("@zohodesk/components/es/Button/Button"));
|
|
17
|
+
|
|
18
|
+
var _Layout = require("@zohodesk/components/es/Layout");
|
|
19
|
+
|
|
20
|
+
var _IdProvider = require("@zohodesk/components/es/Provider/IdProvider");
|
|
21
|
+
|
|
22
|
+
var _renderNode = _interopRequireDefault(require("@zohodesk/utils/es/renderNode"));
|
|
23
|
+
|
|
16
24
|
var _Lookup = _interopRequireDefault(require("../../../lookup/Lookup/Lookup"));
|
|
17
25
|
|
|
18
26
|
var _AlertHeader = _interopRequireDefault(require("../AlertHeader/AlertHeader"));
|
|
19
27
|
|
|
20
|
-
var _Button = _interopRequireDefault(require("@zohodesk/components/es/Button/Button"));
|
|
21
|
-
|
|
22
28
|
var _Section = _interopRequireDefault(require("../../../lookup/Section/Section"));
|
|
23
29
|
|
|
24
30
|
var _FormAction = _interopRequireDefault(require("../../../FormAction/FormAction"));
|
|
25
31
|
|
|
26
|
-
var _Layout = require("@zohodesk/components/es/Layout");
|
|
27
|
-
|
|
28
|
-
var _IdProvider = require("@zohodesk/components/es/Provider/IdProvider");
|
|
29
|
-
|
|
30
32
|
var _AlertLookupNewModule = _interopRequireDefault(require("./AlertLookupNew.module.css"));
|
|
31
33
|
|
|
32
34
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -150,6 +152,7 @@ var AlertLookup = /*#__PURE__*/function (_Component) {
|
|
|
150
152
|
needIcon = _this$props.needIcon,
|
|
151
153
|
a11y = _this$props.a11y,
|
|
152
154
|
customProps = _this$props.customProps,
|
|
155
|
+
renderFooterNode = _this$props.renderFooterNode,
|
|
153
156
|
align = _this$props.align,
|
|
154
157
|
childAnimationName = _this$props.childAnimationName,
|
|
155
158
|
isHtmlContent = _this$props.isHtmlContent,
|
|
@@ -223,9 +226,9 @@ var AlertLookup = /*#__PURE__*/function (_Component) {
|
|
|
223
226
|
}, message), confirmationMessage && /*#__PURE__*/_react["default"].createElement("div", {
|
|
224
227
|
id: ariaConfirmMsgId,
|
|
225
228
|
className: "".concat(message ? _AlertLookupNewModule["default"].confirmMsgText : '')
|
|
226
|
-
}, confirmationMessage)))), submitText || onSubmitClick || cancelText || onCancelClick ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
229
|
+
}, confirmationMessage)))), renderFooterNode || submitText || onSubmitClick || cancelText || onCancelClick ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
227
230
|
className: _AlertLookupNewModule["default"].footer
|
|
228
|
-
}, /*#__PURE__*/_react["default"].createElement(_FormAction["default"], {
|
|
231
|
+
}, (0, _renderNode["default"])(renderFooterNode) || /*#__PURE__*/_react["default"].createElement(_FormAction["default"], {
|
|
229
232
|
size: "small",
|
|
230
233
|
paddingLeftSize: "xmedium"
|
|
231
234
|
}, /*#__PURE__*/_react["default"].createElement(_Button["default"], _extends({
|
|
@@ -37,6 +37,7 @@ var propTypes = {
|
|
|
37
37
|
PrimaryButtonProps: _propTypes["default"].object,
|
|
38
38
|
SecondaryButtonProps: _propTypes["default"].object
|
|
39
39
|
}),
|
|
40
|
+
renderFooterNode: _propTypes["default"].oneOfType([_propTypes["default"].node, _propTypes["default"].func]),
|
|
40
41
|
align: _propTypes["default"].oneOf(['top', 'vertical']),
|
|
41
42
|
childAnimationName: _propTypes["default"].oneOf(['expand', 'flyDown']),
|
|
42
43
|
isHtmlContent: _propTypes["default"].bool,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/dot",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.15",
|
|
4
4
|
"main": "lib/index",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"private": false,
|
|
@@ -65,39 +65,40 @@
|
|
|
65
65
|
"@testing-library/react": "^11.2.5",
|
|
66
66
|
"@testing-library/react-hooks": "^7.0.2",
|
|
67
67
|
"@testing-library/user-event": "^13.0.10",
|
|
68
|
-
"@zohodesk-private/color-variable-preprocessor": "1.3.
|
|
68
|
+
"@zohodesk-private/color-variable-preprocessor": "1.3.3",
|
|
69
69
|
"@zohodesk-private/css-variable-migrator": "1.0.11",
|
|
70
|
-
"@zohodesk-private/node-plugins": "1.1.
|
|
70
|
+
"@zohodesk-private/node-plugins": "1.1.15",
|
|
71
71
|
"@zohodesk-private/react-prop-validator": "1.2.3",
|
|
72
72
|
"@zohodesk/a11y": "2.3.9",
|
|
73
73
|
"@zohodesk/client_build_tool": "0.0.23",
|
|
74
|
-
"@zohodesk/components": "1.6.
|
|
74
|
+
"@zohodesk/components": "1.6.18",
|
|
75
75
|
"@zohodesk/dotkit": "1.0.9",
|
|
76
76
|
"@zohodesk/hooks": "2.0.8",
|
|
77
|
-
"@zohodesk/icons": "1.3.
|
|
78
|
-
"@zohodesk/layout": "3.
|
|
77
|
+
"@zohodesk/icons": "1.3.6",
|
|
78
|
+
"@zohodesk/layout": "3.2.0",
|
|
79
79
|
"@zohodesk/react-cli": "1.1.27",
|
|
80
|
-
"@zohodesk/svg": "1.3.
|
|
80
|
+
"@zohodesk/svg": "1.3.8",
|
|
81
81
|
"@zohodesk/utils": "1.3.16",
|
|
82
|
-
"@zohodesk/variables": "1.3.
|
|
82
|
+
"@zohodesk/variables": "1.3.2",
|
|
83
83
|
"@zohodesk/virtualizer": "1.0.13",
|
|
84
84
|
"postcss-discard-comments": "^7.0.5",
|
|
85
85
|
"react-sortable-hoc": "^0.8.3",
|
|
86
86
|
"velocity-react": "1.4.3",
|
|
87
|
+
"@zohodesk/jsx_attribute_wrapper": "1.0.0",
|
|
87
88
|
"@dot-system/css-utility": "0.1.1"
|
|
88
89
|
},
|
|
89
90
|
"peerDependencies": {
|
|
90
91
|
"velocity-react": "1.4.3",
|
|
91
|
-
"@zohodesk/variables": "1.3.
|
|
92
|
-
"@zohodesk/components": "1.6.
|
|
93
|
-
"@zohodesk/icons": "1.3.
|
|
94
|
-
"@zohodesk/svg": "1.3.
|
|
92
|
+
"@zohodesk/variables": "1.3.2",
|
|
93
|
+
"@zohodesk/components": "1.6.18",
|
|
94
|
+
"@zohodesk/icons": "1.3.6",
|
|
95
|
+
"@zohodesk/svg": "1.3.8",
|
|
95
96
|
"@zohodesk/virtualizer": "1.0.13",
|
|
96
97
|
"react-sortable-hoc": "^0.8.3",
|
|
97
98
|
"@zohodesk/hooks": "2.0.8",
|
|
98
99
|
"@zohodesk/utils": "1.3.16",
|
|
99
100
|
"@zohodesk/a11y": "2.3.9",
|
|
100
|
-
"@zohodesk/layout": "3.
|
|
101
|
+
"@zohodesk/layout": "3.2.0",
|
|
101
102
|
"@dot-system/css-utility": "0.1.1"
|
|
102
103
|
}
|
|
103
104
|
}
|