@zohodesk/dot 1.0.0-temp-184.2 → 1.0.0-temp-185
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/PropUnificationExcludeFilesArray.js +344 -344
- package/.cli/PropValidationExcludeFilesArray.js +8 -8
- package/.cli/propValidation_report.html +1 -1
- package/README.md +8 -0
- 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 +1 -1
- package/coverage/IconButton/IconButton.module.css.html +1 -1
- package/coverage/IconButton/index.html +1 -1
- package/coverage/IconButton/props/defaultProps.js.html +1 -1
- package/coverage/IconButton/props/index.html +1 -1
- package/coverage/IconButton/props/propTypes.js.html +1 -1
- 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 +16 -16
- package/coverage/coverage-summary.json +16 -16
- package/coverage/index.html +1 -1
- package/css_error.log +1 -1
- package/es/AttachmentViewer/AttachmentViewer.module.css +1 -1
- package/es/Drawer/Drawer.js +4 -5
- package/es/Drawer/Drawer.module.css +2 -2
- package/es/ExternalLink/ExternalLink.js +4 -5
- package/es/FlipCard/FlipCard.js +14 -12
- package/es/IconButton/IconButton.js +4 -5
- package/es/IconButton/__tests__/__snapshots__/IconButton.spec.js.snap +316 -316
- package/es/Link/Link.js +8 -10
- package/es/Message/Message.js +4 -5
- package/es/Message/Message.module.css +1 -1
- package/es/PlusIcon/PlusIcon.module.css +1 -1
- package/es/ToastMessage/ToastMessage.js +2 -4
- package/es/ToastMessage/ToastMessage.module.css +1 -1
- package/es/actions/AutoClose.js +2 -1
- package/es/alert/AlertLookup/AlertLookup.js +14 -12
- package/es/avatar/AvatarClose/AvatarClose.js +7 -7
- package/es/avatar/AvatarCollision/AvatarCollision.js +7 -7
- package/es/avatar/AvatarIcon/AvatarIcon.js +4 -5
- package/es/avatar/AvatarStatus/AvatarStatus.js +7 -8
- package/es/avatar/AvatarThread/AvatarThread.js +7 -7
- package/es/avatar/AvatarUser/AvatarUser.js +10 -9
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +17 -14
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +28 -24
- package/es/form/fields/CheckBoxField/CheckBoxField.js +15 -13
- package/es/form/fields/CurrencyField/CurrencyField.js +14 -12
- package/es/form/fields/DateField/DateField.js +14 -14
- package/es/form/fields/MultiSelectField/MultiSelectField.js +13 -12
- package/es/form/fields/PhoneField/PhoneField.js +7 -7
- package/es/form/fields/RadioField/RadioField.js +18 -15
- package/es/form/fields/SelectField/SelectField.js +14 -14
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +13 -10
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -11
- package/es/form/fields/TextBoxField/TextBoxField.js +14 -14
- package/es/form/fields/TextEditor/TextEditor.module.css +49 -63
- package/es/form/fields/TextEditorField/TextEditorField.js +11 -10
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +11 -10
- package/es/form/fields/TextareaField/TextareaField.js +14 -13
- package/es/layout/SubtabLayout/SubtabLayout.js +4 -6
- package/es/layout/SubtabLayout/SubtabLayout.module.css +1 -1
- package/es/list/DotNew/DotNew.module.css +2 -1
- package/es/list/ListLayout/ListLayout.js +4 -5
- package/es/list/SecondaryText/AccountName.js +12 -12
- package/es/list/SecondaryText/ContactName.js +8 -9
- package/es/list/SecondaryText/Email.js +8 -8
- package/es/list/SecondaryText/PhoneNumber.js +8 -8
- package/es/list/SecondaryText/SecondaryText.js +4 -5
- package/es/list/SecondaryText/TicketId.js +7 -7
- package/es/list/Subject/Subject.js +7 -7
- package/es/list/TagNew/TagNew.module.css +1 -1
- package/es/list/status/StatusDropdown/StatusDropdown.js +30 -115
- package/es/list/status/StatusDropdown/StatusDropdown.module.css +1 -10
- package/es/list/status/StatusDropdown/props/defaultProps.js +2 -1
- package/es/list/status/StatusDropdown/props/propTypes.js +1 -1
- package/es/list/status/StatusListItem/StatusListItem.js +5 -5
- package/es/lookup/Lookup/Lookup.js +4 -5
- package/es/lookup/Section/LookupSection.module.css +1 -1
- package/es/lookup/header/Search/Search.js +5 -3
- package/es/v1/Drawer/Drawer.js +4 -5
- package/es/v1/ExternalLink/ExternalLink.js +4 -5
- package/es/v1/FlipCard/FlipCard.js +14 -12
- package/es/v1/GlobalNotification/GlobalNotification.js +6 -7
- package/es/v1/IconButton/IconButton.js +4 -5
- package/es/v1/Link/Link.js +8 -10
- package/es/v1/Message/Message.js +4 -5
- package/es/v1/ToastMessage/ToastMessage.js +2 -4
- package/es/v1/actions/AutoClose.js +2 -1
- package/es/v1/alert/AlertLookup/AlertLookup.js +15 -15
- package/es/v1/avatar/AvatarClose/AvatarClose.js +7 -7
- package/es/v1/avatar/AvatarCollision/AvatarCollision.js +7 -7
- package/es/v1/avatar/AvatarIcon/AvatarIcon.js +4 -5
- package/es/v1/avatar/AvatarStatus/AvatarStatus.js +7 -8
- package/es/v1/avatar/AvatarThread/AvatarThread.js +7 -7
- package/es/v1/avatar/AvatarUser/AvatarUser.js +10 -9
- package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +17 -14
- package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +28 -24
- package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +15 -13
- package/es/v1/form/fields/CurrencyField/CurrencyField.js +14 -12
- package/es/v1/form/fields/DateField/DateField.js +14 -14
- package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +13 -12
- package/es/v1/form/fields/PhoneField/PhoneField.js +7 -7
- package/es/v1/form/fields/RadioField/RadioField.js +18 -16
- package/es/v1/form/fields/SelectField/SelectField.js +14 -14
- package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +13 -10
- package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -11
- package/es/v1/form/fields/TextBoxField/TextBoxField.js +14 -14
- package/es/v1/form/fields/TextEditorField/TextEditorField.js +11 -10
- package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +11 -10
- package/es/v1/form/fields/TextareaField/TextareaField.js +14 -13
- package/es/v1/layout/SubtabLayout/SubtabLayout.js +4 -6
- package/es/v1/list/ListLayout/ListLayout.js +4 -5
- package/es/v1/list/SecondaryText/AccountName.js +12 -12
- package/es/v1/list/SecondaryText/ContactName.js +8 -9
- package/es/v1/list/SecondaryText/Email.js +8 -8
- package/es/v1/list/SecondaryText/PhoneNumber.js +8 -8
- package/es/v1/list/SecondaryText/SecondaryText.js +4 -5
- package/es/v1/list/SecondaryText/TicketId.js +7 -7
- package/es/v1/list/Subject/Subject.js +7 -7
- package/es/v1/list/status/StatusDropdown/StatusDropdown.js +32 -106
- package/es/v1/list/status/StatusDropdown/props/defaultProps.js +2 -1
- package/es/v1/list/status/StatusDropdown/props/propTypes.js +1 -1
- package/es/v1/list/status/StatusListItem/StatusListItem.js +5 -5
- package/es/v1/lookup/Lookup/Lookup.js +4 -5
- package/es/v1/lookup/header/Search/Search.js +5 -3
- package/es/v1/notification/DesktopNotification/DesktopNotification.js +6 -7
- package/es/v1/svg/PlusIcon.js +1 -1
- package/es/v1/svg/SnippetIcon.js +2 -2
- package/es/version2/GlobalNotification/GlobalNotification.js +6 -7
- package/es/version2/GlobalNotification/GlobalNotification.module.css +2 -2
- package/es/version2/lookup/AlertLookup/AlertLookup.js +15 -15
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +6 -7
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +4 -3
- package/lib/AttachmentViewer/AttachmentViewer.module.css +1 -1
- package/lib/Drawer/Drawer.module.css +2 -2
- package/lib/IconButton/__tests__/__snapshots__/IconButton.spec.js.snap +316 -316
- package/lib/Message/Message.module.css +1 -1
- package/lib/PlusIcon/PlusIcon.module.css +1 -1
- package/lib/ToastMessage/ToastMessage.module.css +1 -1
- package/lib/form/fields/TextEditor/TextEditor.module.css +49 -63
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +1 -1
- package/lib/list/DotNew/DotNew.module.css +2 -1
- package/lib/list/TagNew/TagNew.module.css +1 -1
- package/lib/list/status/StatusDropdown/StatusDropdown.js +77 -161
- package/lib/list/status/StatusDropdown/StatusDropdown.module.css +1 -10
- package/lib/list/status/StatusDropdown/props/defaultProps.js +2 -1
- package/lib/list/status/StatusDropdown/props/propTypes.js +1 -1
- package/lib/lookup/Section/LookupSection.module.css +1 -1
- package/lib/v1/list/status/StatusDropdown/StatusDropdown.js +31 -103
- package/lib/v1/list/status/StatusDropdown/props/defaultProps.js +2 -1
- package/lib/v1/list/status/StatusDropdown/props/propTypes.js +1 -1
- package/lib/v1/svg/PlusIcon.js +1 -1
- package/lib/v1/svg/SnippetIcon.js +2 -2
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +2 -2
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +4 -3
- package/package.json +11 -7
- package/propValidationArg.json +11 -11
- package/result.json +1 -1
- /package/es/{common → deprecated}/dot_boxShadow.module.css +0 -0
- /package/lib/{common → deprecated}/dot_boxShadow.module.css +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.container {
|
|
2
2
|
transition: width var(--zd_transition3);
|
|
3
|
-
box-shadow: var(--
|
|
3
|
+
box-shadow: var(--zd_bs_contrast_outline, 0 6px 12px var(--zdt_drawer_default_box_shadow));
|
|
4
4
|
background-color: var(--zdt_drawer_default_bg);
|
|
5
5
|
}
|
|
6
6
|
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
|
|
30
30
|
.secondDrawer {
|
|
31
31
|
background-color: var(--zdt_drawer_default_bg);
|
|
32
|
-
box-shadow: var(--
|
|
32
|
+
box-shadow: var(--zd_bs_contrast_outline, 0 6px 12px var(--zdt_drawer_default_box_shadow));
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.secondMobDrawer {
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
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); }
|
|
2
|
-
|
|
3
1
|
/**** Libraries ****/
|
|
4
2
|
import React from 'react';
|
|
5
3
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -31,7 +29,7 @@ export default class ExternalLink extends React.Component {
|
|
|
31
29
|
customProps
|
|
32
30
|
} = this.props;
|
|
33
31
|
const urlOutput = href && typeof href !== 'boolean' ? this.addHttp(String(href)) : 'javascript:void(0);';
|
|
34
|
-
return /*#__PURE__*/React.createElement("a",
|
|
32
|
+
return /*#__PURE__*/React.createElement("a", {
|
|
35
33
|
href: urlOutput,
|
|
36
34
|
target: target,
|
|
37
35
|
className: `${style.link} ${className ? className : ''}`,
|
|
@@ -39,8 +37,9 @@ export default class ExternalLink extends React.Component {
|
|
|
39
37
|
rel: rel,
|
|
40
38
|
"data-id": dataId,
|
|
41
39
|
"data-test-id": dataId,
|
|
42
|
-
onClick: onClick
|
|
43
|
-
|
|
40
|
+
onClick: onClick,
|
|
41
|
+
...customProps
|
|
42
|
+
}, children);
|
|
44
43
|
}
|
|
45
44
|
|
|
46
45
|
}
|
package/es/FlipCard/FlipCard.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
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); }
|
|
2
|
-
|
|
3
1
|
import React, { Component } from 'react';
|
|
4
2
|
import { defaultProps } from './props/defaultProps';
|
|
5
3
|
import { propTypes } from './props/propTypes';
|
|
@@ -89,16 +87,17 @@ export default class FlipCard extends Component {
|
|
|
89
87
|
}, !noNeedFlip ? /*#__PURE__*/React.createElement(Container, {
|
|
90
88
|
align: "both",
|
|
91
89
|
className: `${style.front} ${frontClass ? frontClass : ''}`
|
|
92
|
-
}, /*#__PURE__*/React.createElement(CheckBox,
|
|
90
|
+
}, /*#__PURE__*/React.createElement(CheckBox, {
|
|
93
91
|
isFilled: isFilledCheckbox,
|
|
94
92
|
checked: isChecked,
|
|
95
93
|
onChange: this.onChange,
|
|
96
94
|
id: `checkbox_${id}`,
|
|
97
|
-
dataId: `listViewCheckBox_${id}
|
|
98
|
-
|
|
95
|
+
dataId: `listViewCheckBox_${id}`,
|
|
96
|
+
...CheckBoxProps
|
|
97
|
+
})) : null, /*#__PURE__*/React.createElement(Container, {
|
|
99
98
|
align: "both",
|
|
100
99
|
className: style.back
|
|
101
|
-
}, channel && action ? /*#__PURE__*/React.createElement(ChannelIcon,
|
|
100
|
+
}, channel && action ? /*#__PURE__*/React.createElement(ChannelIcon, {
|
|
102
101
|
name: channel,
|
|
103
102
|
action: action,
|
|
104
103
|
size: size,
|
|
@@ -111,8 +110,9 @@ export default class FlipCard extends Component {
|
|
|
111
110
|
customTextClass: customTextClass,
|
|
112
111
|
iconColor: iconColor,
|
|
113
112
|
title: channelTitle,
|
|
114
|
-
iconTitle: channelTitle
|
|
115
|
-
|
|
113
|
+
iconTitle: channelTitle,
|
|
114
|
+
...ChannelIconProps
|
|
115
|
+
}) : icon ? /*#__PURE__*/React.createElement(AvatarIcon, {
|
|
116
116
|
name: icon,
|
|
117
117
|
iconSize: iconSize,
|
|
118
118
|
size: size,
|
|
@@ -120,8 +120,9 @@ export default class FlipCard extends Component {
|
|
|
120
120
|
dataId: icon,
|
|
121
121
|
className: className,
|
|
122
122
|
iconColor: iconColor,
|
|
123
|
-
title: needTitle ? name : ''
|
|
124
|
-
|
|
123
|
+
title: needTitle ? name : '',
|
|
124
|
+
...AvatarIconProps
|
|
125
|
+
}) : /*#__PURE__*/React.createElement(AvatarUser, {
|
|
125
126
|
name: name,
|
|
126
127
|
initial: initial,
|
|
127
128
|
size: size,
|
|
@@ -132,8 +133,9 @@ export default class FlipCard extends Component {
|
|
|
132
133
|
needTitle: needTitle,
|
|
133
134
|
palette: palette,
|
|
134
135
|
textPalette: textPalette,
|
|
135
|
-
customTextClass: customTextClass
|
|
136
|
-
|
|
136
|
+
customTextClass: customTextClass,
|
|
137
|
+
...AvatarUserProps
|
|
138
|
+
}))));
|
|
137
139
|
}
|
|
138
140
|
|
|
139
141
|
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
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); }
|
|
2
|
-
|
|
3
1
|
import React from 'react';
|
|
4
2
|
import { defaultProps } from './props/defaultProps';
|
|
5
3
|
import { propTypes } from './props/propTypes';
|
|
@@ -107,7 +105,7 @@ export default class IconButton extends React.Component {
|
|
|
107
105
|
hoverType: hoverType,
|
|
108
106
|
isDisabled: isDisabled,
|
|
109
107
|
isNeedEffect: isNeedEffect
|
|
110
|
-
}, /*#__PURE__*/React.createElement(Container,
|
|
108
|
+
}, /*#__PURE__*/React.createElement(Container, {
|
|
111
109
|
"aria-label": ariaLabel,
|
|
112
110
|
"aria-haspopup": ariaHaspopup,
|
|
113
111
|
"aria-expanded": ariaExpanded,
|
|
@@ -131,8 +129,9 @@ export default class IconButton extends React.Component {
|
|
|
131
129
|
onKeyDown: this.handleToggle,
|
|
132
130
|
onFocus: this.triggerMouseOver,
|
|
133
131
|
onBlur: this.onBlur,
|
|
134
|
-
disabled: isDisabled
|
|
135
|
-
|
|
132
|
+
disabled: isDisabled,
|
|
133
|
+
...customProps
|
|
134
|
+
}, iconName ? /*#__PURE__*/React.createElement(Icon, {
|
|
136
135
|
isBold: isBold,
|
|
137
136
|
size: iconSize,
|
|
138
137
|
name: iconName,
|