@zohodesk/dot 1.0.0-temp-182 → 1.0.0-temp-183
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/assets/Appearance/dark/mode/Dot_DarkMode.module.css +50 -0
- package/assets/Appearance/light/mode/Dot_LightMode.module.css +50 -0
- package/assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css +50 -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 +7 -4
- 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/es/Attachment/Attachment.module.css +4 -4
- package/es/ChannelIcon/ChannelIcon.module.css +1 -1
- package/es/Drawer/Drawer.js +5 -4
- package/es/Drawer/Drawer.module.css +3 -3
- package/es/ExternalLink/ExternalLink.js +5 -4
- package/es/FlipCard/FlipCard.js +12 -14
- package/es/IconButton/IconButton.js +5 -4
- package/es/ImportantNotes/ImportantNotes.module.css +1 -1
- package/es/Link/Link.js +10 -8
- package/es/Message/Message.js +5 -4
- package/es/Message/Message.module.css +1 -1
- package/es/Separator/Separator.module.css +2 -11
- package/es/TagWithIcon/TagWithIcon.module.css +2 -2
- package/es/ToastMessage/ToastMessage.js +4 -2
- package/es/ToastMessage/ToastMessage.module.css +3 -3
- package/es/actions/AutoClose.js +1 -2
- package/es/alert/AlertHeader/AlertHeader.module.css +2 -4
- package/es/alert/AlertLookup/AlertLookup.js +12 -14
- package/es/avatar/AvatarClose/AvatarClose.js +7 -7
- package/es/avatar/AvatarCollision/AvatarCollision.js +7 -7
- package/es/avatar/AvatarIcon/AvatarIcon.js +5 -4
- package/es/avatar/AvatarStatus/AvatarStatus.js +8 -7
- package/es/avatar/AvatarThread/AvatarThread.js +7 -7
- package/es/avatar/AvatarUser/AvatarUser.js +9 -10
- package/es/avatar/AvatarUser/AvatarUser.module.css +2 -46
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +14 -17
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +2 -2
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +24 -28
- package/es/errorstate/EmptyStates.module.css +1 -24
- package/es/form/fields/CheckBoxField/CheckBoxField.js +13 -15
- package/es/form/fields/CurrencyField/CurrencyField.js +12 -14
- package/es/form/fields/DateField/DateField.js +14 -14
- package/es/form/fields/MultiSelectField/MultiSelectField.js +12 -13
- package/es/form/fields/PhoneField/PhoneField.js +7 -7
- package/es/form/fields/RadioField/RadioField.js +15 -18
- package/es/form/fields/SelectField/SelectField.js +14 -14
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +14 -16
- 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 +63 -48
- package/es/form/fields/TextEditorField/TextEditorField.js +10 -11
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +10 -11
- package/es/form/fields/TextareaField/TextareaField.js +13 -14
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +2 -22
- package/es/layout/SubtabLayout/SubtabLayout.js +6 -4
- package/es/layout/SubtabLayout/SubtabLayout.module.css +1 -1
- package/es/list/AvatarFlip/AvatarFlip.module.css +2 -2
- package/es/list/DepartmentDropDown/DepartmentDropDown.js +9 -3
- package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +2 -4
- package/es/list/DepartmentDropDown/props/defaultProps.js +2 -1
- package/es/list/DepartmentDropDown/props/propTypes.js +2 -1
- package/es/list/GridStencils/GridStencils.module.css +1 -35
- package/es/list/ListLayout/ListLayout.js +5 -4
- package/es/list/SecondaryText/AccountName.js +12 -12
- package/es/list/SecondaryText/ContactName.js +9 -8
- package/es/list/SecondaryText/Email.js +8 -8
- package/es/list/SecondaryText/PhoneNumber.js +8 -8
- package/es/list/SecondaryText/SecondaryText.js +5 -4
- package/es/list/SecondaryText/TicketId.js +7 -7
- package/es/list/Subject/Subject.js +7 -7
- package/es/list/Subject/Subject.module.css +1 -1
- package/es/list/status/StatusListItem/StatusListItem.js +5 -5
- package/es/list/status/StatusListItem/StatusListItem.module.css +2 -1
- package/es/lookup/Lookup/Lookup.js +5 -4
- package/es/lookup/header/Close/LookupClose.module.css +2 -3
- package/es/lookup/header/Search/Search.js +3 -5
- package/es/lookup/header/Title/LookupTitle.module.css +2 -6
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +2 -13
- package/es/lookup/header/lookupHeaderCommon.module.css +2 -9
- package/es/setup/header/Search/Search.module.css +2 -14
- package/es/setup/table/Text/TableText.module.css +2 -11
- package/es/v1/Drawer/Drawer.js +5 -4
- package/es/v1/ExternalLink/ExternalLink.js +5 -4
- package/es/v1/FlipCard/FlipCard.js +12 -14
- package/es/v1/GlobalNotification/GlobalNotification.js +7 -6
- package/es/v1/IconButton/IconButton.js +5 -4
- package/es/v1/Link/Link.js +10 -8
- package/es/v1/Message/Message.js +5 -4
- package/es/v1/ToastMessage/ToastMessage.js +4 -2
- package/es/v1/actions/AutoClose.js +1 -2
- 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 +5 -4
- package/es/v1/avatar/AvatarStatus/AvatarStatus.js +8 -7
- package/es/v1/avatar/AvatarThread/AvatarThread.js +7 -7
- package/es/v1/avatar/AvatarUser/AvatarUser.js +9 -10
- package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +14 -17
- package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +24 -28
- package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +13 -15
- package/es/v1/form/fields/CurrencyField/CurrencyField.js +12 -14
- package/es/v1/form/fields/DateField/DateField.js +14 -14
- package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +12 -13
- package/es/v1/form/fields/PhoneField/PhoneField.js +7 -7
- package/es/v1/form/fields/RadioField/RadioField.js +16 -18
- package/es/v1/form/fields/SelectField/SelectField.js +14 -14
- package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +10 -13
- 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 +10 -11
- package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +10 -11
- package/es/v1/form/fields/TextareaField/TextareaField.js +13 -14
- package/es/v1/layout/SubtabLayout/SubtabLayout.js +6 -4
- package/es/v1/list/ListLayout/ListLayout.js +5 -4
- package/es/v1/list/SecondaryText/AccountName.js +12 -12
- package/es/v1/list/SecondaryText/ContactName.js +9 -8
- 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 +5 -4
- package/es/v1/list/SecondaryText/TicketId.js +7 -7
- package/es/v1/list/Subject/Subject.js +7 -7
- package/es/v1/list/status/StatusListItem/StatusListItem.js +5 -5
- package/es/v1/lookup/Lookup/Lookup.js +5 -4
- package/es/v1/lookup/header/Search/Search.js +3 -5
- package/es/v1/notification/DesktopNotification/DesktopNotification.js +7 -6
- package/es/version2/GlobalNotification/GlobalNotification.js +7 -6
- package/es/version2/GlobalNotification/GlobalNotification.module.css +6 -6
- package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +2 -7
- package/es/version2/lookup/AlertLookup/AlertLookup.js +15 -15
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +2 -8
- package/es/version2/lookup/alertLookupCommonNew.module.css +1 -1
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +7 -6
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +3 -4
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +93 -96
- package/lib/Attachment/Attachment.module.css +4 -4
- package/lib/ChannelIcon/ChannelIcon.module.css +1 -1
- package/lib/Drawer/Drawer.module.css +3 -3
- package/lib/ImportantNotes/ImportantNotes.module.css +1 -1
- package/lib/Message/Message.module.css +1 -1
- package/lib/Separator/Separator.module.css +2 -11
- package/lib/TagWithIcon/TagWithIcon.module.css +2 -2
- package/lib/ToastMessage/ToastMessage.module.css +3 -3
- package/lib/alert/AlertHeader/AlertHeader.module.css +2 -4
- package/lib/avatar/AvatarUser/AvatarUser.module.css +2 -46
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +2 -2
- package/lib/errorstate/EmptyStates.module.css +1 -24
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +5 -3
- package/lib/form/fields/TextEditor/TextEditor.module.css +63 -48
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +2 -22
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +1 -1
- package/lib/list/AvatarFlip/AvatarFlip.module.css +2 -2
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +8 -3
- package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +2 -4
- package/lib/list/DepartmentDropDown/props/defaultProps.js +2 -1
- package/lib/list/DepartmentDropDown/props/propTypes.js +1 -1
- package/lib/list/GridStencils/GridStencils.module.css +1 -35
- package/lib/list/Subject/Subject.module.css +1 -1
- package/lib/list/status/StatusListItem/StatusListItem.module.css +2 -1
- package/lib/lookup/header/Close/LookupClose.module.css +2 -3
- package/lib/lookup/header/Title/LookupTitle.module.css +2 -6
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +2 -13
- package/lib/lookup/header/lookupHeaderCommon.module.css +2 -9
- package/lib/setup/header/Search/Search.module.css +2 -14
- package/lib/setup/table/Text/TableText.module.css +2 -11
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +6 -6
- package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +2 -7
- package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +2 -8
- package/lib/version2/lookup/alertLookupCommonNew.module.css +1 -1
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +3 -4
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +93 -96
- package/package.json +4 -4
- package/result.json +1 -1
|
@@ -1,3 +1,5 @@
|
|
|
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
|
+
|
|
1
3
|
/**** Libraries ****/
|
|
2
4
|
import React, { PureComponent } from 'react';
|
|
3
5
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -60,15 +62,14 @@ export default class RadioField extends PureComponent {
|
|
|
60
62
|
className: `${style.container} ${isDisabled ? style.disabled : isReadOnly ? style.readonly : ''}`,
|
|
61
63
|
"data-title": isDisabled ? title : null,
|
|
62
64
|
"data-selector-id": dataSelectorId
|
|
63
|
-
}, labelName && /*#__PURE__*/React.createElement(Label, {
|
|
65
|
+
}, labelName && /*#__PURE__*/React.createElement(Label, _extends({
|
|
64
66
|
text: labelName,
|
|
65
67
|
size: "medium",
|
|
66
68
|
id: id,
|
|
67
69
|
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : 'default',
|
|
68
70
|
customClass: `${style.fieldLabel} ${isMandatory ? style.labelMandatory : ''}`,
|
|
69
|
-
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label
|
|
70
|
-
|
|
71
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
71
|
+
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`
|
|
72
|
+
}, LabelProps)), /*#__PURE__*/React.createElement("div", {
|
|
72
73
|
className: `${style.fieldContainer} ${labelName ? style.fieldMargin_medium : ''} ${style.radioContainer}`
|
|
73
74
|
}, options.map((option, index) => {
|
|
74
75
|
let {
|
|
@@ -81,7 +82,7 @@ export default class RadioField extends PureComponent {
|
|
|
81
82
|
return /*#__PURE__*/React.createElement("span", {
|
|
82
83
|
key: index,
|
|
83
84
|
className: `${style.radio}`
|
|
84
|
-
}, /*#__PURE__*/React.createElement(Radio, {
|
|
85
|
+
}, /*#__PURE__*/React.createElement(Radio, _extends({
|
|
85
86
|
id: index,
|
|
86
87
|
value: value,
|
|
87
88
|
name: id,
|
|
@@ -97,28 +98,24 @@ export default class RadioField extends PureComponent {
|
|
|
97
98
|
checked: selectedValue == value,
|
|
98
99
|
dataId: dataId,
|
|
99
100
|
isReadOnly: isReadOnly,
|
|
100
|
-
variant: variant
|
|
101
|
-
|
|
102
|
-
}, !!infoTooltip ? /*#__PURE__*/React.createElement(Icon, {
|
|
101
|
+
variant: variant
|
|
102
|
+
}, RadioProps), !!infoTooltip ? /*#__PURE__*/React.createElement(Icon, _extends({
|
|
103
103
|
name: "ZD-GN-info",
|
|
104
104
|
size: "16",
|
|
105
105
|
title: infoTooltip,
|
|
106
|
-
iconClass: style.infoIcon
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
})), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
106
|
+
iconClass: style.infoIcon
|
|
107
|
+
}, InfoIconProps)) : null));
|
|
108
|
+
})), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
110
109
|
text: validationMessage,
|
|
111
110
|
palette: validationPalette,
|
|
112
111
|
type: errorType,
|
|
113
|
-
dataId: `${dataId}_ValidationMessage
|
|
114
|
-
|
|
115
|
-
}), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
112
|
+
dataId: `${dataId}_ValidationMessage`
|
|
113
|
+
}, ValidationMessageProps1)), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
116
114
|
text: validationRuleMessage,
|
|
117
115
|
palette: validationRulePalette,
|
|
118
116
|
type: errorType,
|
|
119
|
-
dataId: `${dataId}_ValidationRuleMessage
|
|
120
|
-
|
|
121
|
-
}));
|
|
117
|
+
dataId: `${dataId}_ValidationRuleMessage`
|
|
118
|
+
}, ValidationMessageProps2)));
|
|
122
119
|
}
|
|
123
120
|
|
|
124
121
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
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
|
+
|
|
1
3
|
/**** Libraries ****/
|
|
2
4
|
import React, { PureComponent } from 'react';
|
|
3
5
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -113,18 +115,18 @@ export default class SelectField extends PureComponent {
|
|
|
113
115
|
isLocked: isLocked,
|
|
114
116
|
lockedInfoText: lockedInfoText,
|
|
115
117
|
renderProps: renderLabelProps
|
|
116
|
-
}, /*#__PURE__*/React.createElement(Label, {
|
|
118
|
+
}, /*#__PURE__*/React.createElement(Label, _extends({
|
|
117
119
|
text: labelName,
|
|
118
120
|
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
119
121
|
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
120
122
|
customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
|
|
121
123
|
htmlFor: uniqueId,
|
|
122
|
-
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label
|
|
123
|
-
|
|
124
|
+
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`
|
|
125
|
+
}, LabelProps, {
|
|
124
126
|
id: uniqueId
|
|
125
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
127
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
126
128
|
className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''} ${fieldClass ? fieldClass : ''}`
|
|
127
|
-
}, /*#__PURE__*/React.createElement(Select, {
|
|
129
|
+
}, /*#__PURE__*/React.createElement(Select, _extends({
|
|
128
130
|
options: options,
|
|
129
131
|
selectedValue: selectedValue,
|
|
130
132
|
onChange: this.handleChange,
|
|
@@ -153,24 +155,22 @@ export default class SelectField extends PureComponent {
|
|
|
153
155
|
needLocalSearch: needLocalSearch,
|
|
154
156
|
isDefaultSelectValue: isDefaultSelectValue,
|
|
155
157
|
placeHolder: placeHolder,
|
|
156
|
-
iconOnHover: iconOnHover
|
|
157
|
-
|
|
158
|
+
iconOnHover: iconOnHover
|
|
159
|
+
}, SelectProps, {
|
|
158
160
|
ariaLabelledby: uniqueId
|
|
159
|
-
}, children ? children : null)), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
161
|
+
}), children ? children : null)), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
160
162
|
text: validationMessage,
|
|
161
163
|
palette: validationPalette,
|
|
162
164
|
type: errorType,
|
|
163
165
|
htmlFor: uniqueId,
|
|
164
|
-
dataId: `${dataId}_ValidationMessage
|
|
165
|
-
|
|
166
|
-
}), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
166
|
+
dataId: `${dataId}_ValidationMessage`
|
|
167
|
+
}, ValidationMessageProps1)), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
167
168
|
text: validationRuleMessage,
|
|
168
169
|
palette: validationRulePalette,
|
|
169
170
|
type: errorType,
|
|
170
171
|
htmlFor: uniqueId,
|
|
171
|
-
dataId: `${dataId}_ValidationRuleMessage
|
|
172
|
-
|
|
173
|
-
}));
|
|
172
|
+
dataId: `${dataId}_ValidationRuleMessage`
|
|
173
|
+
}, ValidationMessageProps2)));
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
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
|
+
|
|
1
3
|
import React from 'react';
|
|
2
4
|
import { defaultProps } from './props/defaultProps';
|
|
3
5
|
import { propTypes } from './props/propTypes';
|
|
@@ -160,7 +162,8 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
160
162
|
const {
|
|
161
163
|
TextBoxIconProps = {},
|
|
162
164
|
TagWrapperProps = {},
|
|
163
|
-
TagProps = {}
|
|
165
|
+
TagProps = {},
|
|
166
|
+
listProps = {}
|
|
164
167
|
} = customProps;
|
|
165
168
|
return /*#__PURE__*/React.createElement("div", {
|
|
166
169
|
className: `${style.container} ${!isReadOnly ? ` ${needBorder ? style.hasBorder : ''}
|
|
@@ -185,12 +188,10 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
185
188
|
boxCustomProps,
|
|
186
189
|
tagCustomProps
|
|
187
190
|
} = tag;
|
|
188
|
-
return index < chipLimit ? /*#__PURE__*/React.createElement(Box, {
|
|
191
|
+
return index < chipLimit ? /*#__PURE__*/React.createElement(Box, _extends({
|
|
189
192
|
className: style.tag,
|
|
190
|
-
key: index
|
|
191
|
-
|
|
192
|
-
...boxCustomProps
|
|
193
|
-
}, /*#__PURE__*/React.createElement(Tag, {
|
|
193
|
+
key: index
|
|
194
|
+
}, TagWrapperProps, boxCustomProps), /*#__PURE__*/React.createElement(Tag, _extends({
|
|
194
195
|
id: id,
|
|
195
196
|
text: name,
|
|
196
197
|
onRemove: isReadOnly ? null : deleteTag.bind(this, name),
|
|
@@ -198,10 +199,8 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
198
199
|
palette: clickableTag ? 'defaultLink' : tagType === 'SYSTEM' ? 'primary' : 'default',
|
|
199
200
|
isReadOnly: isReadOnly,
|
|
200
201
|
onSelectTag: onSelectTag ? onSelectTag : undefined,
|
|
201
|
-
customClass: tagCustomClass
|
|
202
|
-
|
|
203
|
-
...tagCustomProps
|
|
204
|
-
})) : null;
|
|
202
|
+
customClass: tagCustomClass
|
|
203
|
+
}, TagProps, tagCustomProps))) : null;
|
|
205
204
|
}), tagsList.length > chipNeedToShow && !isPopupReady ? /*#__PURE__*/React.createElement(Box, {
|
|
206
205
|
className: style.moreLess,
|
|
207
206
|
dataId: `${dataId}_tagsMore`,
|
|
@@ -213,7 +212,7 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
213
212
|
className: style.inputWrapper
|
|
214
213
|
}, /*#__PURE__*/React.createElement("span", {
|
|
215
214
|
className: style.custmSpan
|
|
216
|
-
}, name), /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
215
|
+
}, name), /*#__PURE__*/React.createElement(TextBoxIcon, _extends({
|
|
217
216
|
htmlId: htmlId,
|
|
218
217
|
dataId: `${dataId}_tagInp`,
|
|
219
218
|
value: name,
|
|
@@ -229,9 +228,8 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
229
228
|
customTextBox: style.input
|
|
230
229
|
},
|
|
231
230
|
size: "xsmall",
|
|
232
|
-
inputRef: this.textInputRef
|
|
233
|
-
|
|
234
|
-
}, getTextBoxChildren ? getTextBoxChildren() : null))), isPopupOpen ? /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
231
|
+
inputRef: this.textInputRef
|
|
232
|
+
}, TextBoxIconProps), getTextBoxChildren ? getTextBoxChildren() : null))), isPopupOpen ? /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
235
233
|
query: this.responsiveFunc,
|
|
236
234
|
responsiveId: "Helmet"
|
|
237
235
|
}, _ref2 => {
|
|
@@ -277,7 +275,7 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
277
275
|
isNew,
|
|
278
276
|
listItemProps
|
|
279
277
|
} = item;
|
|
280
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, searchList.length > 1 && isNew ? /*#__PURE__*/React.createElement(DropDownSeparator, null) : null, /*#__PURE__*/React.createElement(ListItem, {
|
|
278
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, searchList.length > 1 && isNew ? /*#__PURE__*/React.createElement(DropDownSeparator, null) : null, /*#__PURE__*/React.createElement(ListItem, _extends({
|
|
281
279
|
key: index,
|
|
282
280
|
index: index,
|
|
283
281
|
autoHover: true,
|
|
@@ -290,7 +288,7 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
290
288
|
isDisabled: listDisabled,
|
|
291
289
|
customProps: listItemProps,
|
|
292
290
|
customClass: listItemClass
|
|
293
|
-
}, isNew ? /*#__PURE__*/React.createElement(Container, {
|
|
291
|
+
}, listProps), isNew ? /*#__PURE__*/React.createElement(Container, {
|
|
294
292
|
alignBox: "row",
|
|
295
293
|
align: "vertical"
|
|
296
294
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
@@ -1,3 +1,5 @@
|
|
|
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
|
+
|
|
1
3
|
import React, { useState, useEffect } from 'react';
|
|
2
4
|
import { defaultProps } from './props/defaultProps';
|
|
3
5
|
import { propTypes } from './props/propTypes';
|
|
@@ -200,7 +202,7 @@ const TagsMultiSelectField = props => {
|
|
|
200
202
|
renderProps: {
|
|
201
203
|
end: renderEnd
|
|
202
204
|
}
|
|
203
|
-
}, /*#__PURE__*/React.createElement(Label, {
|
|
205
|
+
}, /*#__PURE__*/React.createElement(Label, _extends({
|
|
204
206
|
text: labelName,
|
|
205
207
|
title: labelName,
|
|
206
208
|
id: id,
|
|
@@ -208,12 +210,11 @@ const TagsMultiSelectField = props => {
|
|
|
208
210
|
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
209
211
|
customClass: `${fieldStyle.fieldLabel} ${isMandatory ? fieldStyle.labelMandatory : ''} ${labelClass ? labelClass : ''}`,
|
|
210
212
|
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
|
|
211
|
-
htmlFor: htmlId
|
|
212
|
-
|
|
213
|
-
}), selectedValueCount ? /*#__PURE__*/React.createElement(Box, {
|
|
213
|
+
htmlFor: htmlId
|
|
214
|
+
}, LabelProps)), selectedValueCount ? /*#__PURE__*/React.createElement(Box, {
|
|
214
215
|
dataId: `${dataId}_tagCount`,
|
|
215
216
|
className: style.count
|
|
216
|
-
}, `(${selectedValueCount})`) : null), /*#__PURE__*/React.createElement(TagsMultiSelect, {
|
|
217
|
+
}, `(${selectedValueCount})`) : null), /*#__PURE__*/React.createElement(TagsMultiSelect, _extends({
|
|
217
218
|
addTag: handleAdd,
|
|
218
219
|
deleteTag: onDelete,
|
|
219
220
|
handleChange: handleChange,
|
|
@@ -243,17 +244,16 @@ const TagsMultiSelectField = props => {
|
|
|
243
244
|
borderColor: borderColor,
|
|
244
245
|
htmlId: htmlId,
|
|
245
246
|
getTextBoxChildren: getTextBoxChildren,
|
|
246
|
-
className: containerClass
|
|
247
|
-
|
|
247
|
+
className: containerClass
|
|
248
|
+
}, TagsMultiSelectProps, {
|
|
248
249
|
clickableTag: clickableTag
|
|
249
|
-
}), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
250
|
+
})), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
250
251
|
text: validationMessage,
|
|
251
252
|
palette: validationPalette,
|
|
252
253
|
type: errorType,
|
|
253
254
|
dataId: `${dataId}_ValidationMessage`,
|
|
254
|
-
htmlFor: htmlId
|
|
255
|
-
|
|
256
|
-
}));
|
|
255
|
+
htmlFor: htmlId
|
|
256
|
+
}, ValidationMessageProps)));
|
|
257
257
|
};
|
|
258
258
|
|
|
259
259
|
TagsMultiSelectField.propTypes = propTypes;
|
|
@@ -1,3 +1,5 @@
|
|
|
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
|
+
|
|
1
3
|
/**** Libraries ****/
|
|
2
4
|
import React, { PureComponent } from 'react';
|
|
3
5
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -101,18 +103,18 @@ export default class TextBoxField extends PureComponent {
|
|
|
101
103
|
ePhiData: ePhiData,
|
|
102
104
|
dataId: dataId,
|
|
103
105
|
renderProps: renderLabelProps
|
|
104
|
-
}, /*#__PURE__*/React.createElement(Label, {
|
|
106
|
+
}, /*#__PURE__*/React.createElement(Label, _extends({
|
|
105
107
|
text: labelName,
|
|
106
108
|
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
107
109
|
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
108
110
|
customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
|
|
109
111
|
htmlFor: uniqueId,
|
|
110
|
-
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label
|
|
111
|
-
|
|
112
|
+
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`
|
|
113
|
+
}, LabelProps, {
|
|
112
114
|
id: labelName
|
|
113
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
115
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
114
116
|
className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''}`
|
|
115
|
-
}, /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
117
|
+
}, /*#__PURE__*/React.createElement(TextBoxIcon, _extends({
|
|
116
118
|
htmlId: uniqueId,
|
|
117
119
|
id: id,
|
|
118
120
|
type: textBoxType,
|
|
@@ -132,26 +134,24 @@ export default class TextBoxField extends PureComponent {
|
|
|
132
134
|
isDisabled: isDisabled,
|
|
133
135
|
needEffect: isReadOnly || isDisabled ? false : true,
|
|
134
136
|
isClickable: isClickable,
|
|
135
|
-
needReadOnlyStyle: needReadOnlyStyle
|
|
136
|
-
|
|
137
|
+
needReadOnlyStyle: needReadOnlyStyle
|
|
138
|
+
}, TextBoxIconProps, {
|
|
137
139
|
a11y: {
|
|
138
140
|
ariaLabelledby: labelName
|
|
139
141
|
}
|
|
140
|
-
}, children ? children : null), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
142
|
+
}), children ? children : null), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
141
143
|
text: validationMessage,
|
|
142
144
|
palette: validationPalette,
|
|
143
145
|
type: errorType,
|
|
144
146
|
dataId: `${dataId}_ValidationMessage`,
|
|
145
|
-
htmlFor: uniqueId
|
|
146
|
-
|
|
147
|
-
}), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
147
|
+
htmlFor: uniqueId
|
|
148
|
+
}, ValidationMessageProps1)), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
148
149
|
text: validationRuleMessage,
|
|
149
150
|
palette: validationRulePalette,
|
|
150
151
|
type: errorType,
|
|
151
152
|
htmlFor: uniqueId,
|
|
152
|
-
dataId: `${dataId}_ValidationRuleMessage
|
|
153
|
-
|
|
154
|
-
})));
|
|
153
|
+
dataId: `${dataId}_ValidationRuleMessage`
|
|
154
|
+
}, ValidationMessageProps2))));
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
}
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.night :global .KB_Editor {
|
|
53
|
-
color: var(--
|
|
54
|
-
background-color: var(--
|
|
53
|
+
color: var(--zdt_texteditor_night_text);
|
|
54
|
+
background-color: var(--zdt_texteditor_night_bg);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
.small :global .KB_Editor_menus, .medium :global .KB_Editor_menus, .large :global .KB_Editor_menus, .xlarge :global .KB_Editor_menus, .default :global .KB_Editor_menus {
|
|
@@ -77,20 +77,20 @@
|
|
|
77
77
|
background-color: transparent;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
.small :global .KB_Editor_menus .KB_Editor_MultiTools>li:hover,
|
|
81
|
-
.small :global .KB_Editor_menus .KB_Editor_MultiTools>li.KB_Editor_sel,
|
|
82
|
-
.medium :global .KB_Editor_menus .KB_Editor_MultiTools>li:hover,
|
|
83
|
-
.medium :global .KB_Editor_menus .KB_Editor_MultiTools>li.KB_Editor_sel,
|
|
84
|
-
.large :global .KB_Editor_menus .KB_Editor_MultiTools>li:hover,
|
|
85
|
-
.large :global .KB_Editor_menus .KB_Editor_MultiTools>li.KB_Editor_sel,
|
|
86
|
-
.xlarge :global .KB_Editor_menus .KB_Editor_MultiTools>li:hover,
|
|
87
|
-
.xlarge :global .KB_Editor_menus .KB_Editor_MultiTools>li.KB_Editor_sel,
|
|
88
|
-
.default :global .KB_Editor_menus .KB_Editor_MultiTools>li:hover,
|
|
89
|
-
.default :global .KB_Editor_menus .KB_Editor_MultiTools>li.KB_Editor_sel {
|
|
80
|
+
.small :global .KB_Editor_menus .KB_Editor_MultiTools > li:hover,
|
|
81
|
+
.small :global .KB_Editor_menus .KB_Editor_MultiTools > li.KB_Editor_sel,
|
|
82
|
+
.medium :global .KB_Editor_menus .KB_Editor_MultiTools > li:hover,
|
|
83
|
+
.medium :global .KB_Editor_menus .KB_Editor_MultiTools > li.KB_Editor_sel,
|
|
84
|
+
.large :global .KB_Editor_menus .KB_Editor_MultiTools > li:hover,
|
|
85
|
+
.large :global .KB_Editor_menus .KB_Editor_MultiTools > li.KB_Editor_sel,
|
|
86
|
+
.xlarge :global .KB_Editor_menus .KB_Editor_MultiTools > li:hover,
|
|
87
|
+
.xlarge :global .KB_Editor_menus .KB_Editor_MultiTools > li.KB_Editor_sel,
|
|
88
|
+
.default :global .KB_Editor_menus .KB_Editor_MultiTools > li:hover,
|
|
89
|
+
.default :global .KB_Editor_menus .KB_Editor_MultiTools > li.KB_Editor_sel {
|
|
90
90
|
color: var(--zdt_texteditor_default_text);
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
.small :global .KB_Editor_menus .KB_Editor_MultiTools>li:hover, .small :global .KB_Editor_menus .KB_Editor_MultiTools>li.KB_Editor_sel, .medium :global .KB_Editor_menus .KB_Editor_MultiTools>li:hover, .medium :global .KB_Editor_menus .KB_Editor_MultiTools>li.KB_Editor_sel, .large :global .KB_Editor_menus .KB_Editor_MultiTools>li:hover, .large :global .KB_Editor_menus .KB_Editor_MultiTools>li.KB_Editor_sel, .xlarge :global .KB_Editor_menus .KB_Editor_MultiTools>li:hover, .xlarge :global .KB_Editor_menus .KB_Editor_MultiTools>li.KB_Editor_sel, .default :global .KB_Editor_menus .KB_Editor_MultiTools>li:hover, .default :global .KB_Editor_menus .KB_Editor_MultiTools>li.KB_Editor_sel {
|
|
93
|
+
.small :global .KB_Editor_menus .KB_Editor_MultiTools > li:hover, .small :global .KB_Editor_menus .KB_Editor_MultiTools > li.KB_Editor_sel, .medium :global .KB_Editor_menus .KB_Editor_MultiTools > li:hover, .medium :global .KB_Editor_menus .KB_Editor_MultiTools > li.KB_Editor_sel, .large :global .KB_Editor_menus .KB_Editor_MultiTools > li:hover, .large :global .KB_Editor_menus .KB_Editor_MultiTools > li.KB_Editor_sel, .xlarge :global .KB_Editor_menus .KB_Editor_MultiTools > li:hover, .xlarge :global .KB_Editor_menus .KB_Editor_MultiTools > li.KB_Editor_sel, .default :global .KB_Editor_menus .KB_Editor_MultiTools > li:hover, .default :global .KB_Editor_menus .KB_Editor_MultiTools > li.KB_Editor_sel {
|
|
94
94
|
background-color: var(--zdt_texteditor_menu_li_bg);
|
|
95
95
|
}
|
|
96
96
|
|
|
@@ -101,10 +101,10 @@
|
|
|
101
101
|
/* large type editor - ticket add form editor */
|
|
102
102
|
.large :global .KB_Editor,
|
|
103
103
|
.large :global .KB_Editor_menus .KB_Editor_MultiTools,
|
|
104
|
-
.large :global .KB_Editor_menus .KB_Editor_MultiTools>li,
|
|
104
|
+
.large :global .KB_Editor_menus .KB_Editor_MultiTools > li,
|
|
105
105
|
.default :global .KB_Editor,
|
|
106
106
|
.default :global .KB_Editor_menus .KB_Editor_MultiTools,
|
|
107
|
-
.default :global .KB_Editor_menus .KB_Editor_MultiTools>li {
|
|
107
|
+
.default :global .KB_Editor_menus .KB_Editor_MultiTools > li {
|
|
108
108
|
display: -webkit-box;
|
|
109
109
|
display: -ms-flexbox;
|
|
110
110
|
display: flex;
|
|
@@ -160,24 +160,24 @@
|
|
|
160
160
|
min-height: inherit ;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
.large :global .KB_Editor_menus .KB_Editor_MultiTools>li,
|
|
164
|
-
.default :global .KB_Editor_menus .KB_Editor_MultiTools>li {
|
|
163
|
+
.large :global .KB_Editor_menus .KB_Editor_MultiTools > li,
|
|
164
|
+
.default :global .KB_Editor_menus .KB_Editor_MultiTools > li {
|
|
165
165
|
height: unset;
|
|
166
166
|
-webkit-box-align: center;
|
|
167
167
|
-ms-flex-align: center;
|
|
168
168
|
align-items: center;
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
.large :global .KB_Editor_menus .KB_Editor_MultiTools>li, .default :global .KB_Editor_menus .KB_Editor_MultiTools>li {
|
|
171
|
+
.large :global .KB_Editor_menus .KB_Editor_MultiTools > li, .default :global .KB_Editor_menus .KB_Editor_MultiTools > li {
|
|
172
172
|
padding: 0 ;
|
|
173
173
|
float: unset;
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
-
[dir=ltr] .large :global .KB_Editor_menus .KB_Editor_MultiTools>li, [dir=ltr] .default :global .KB_Editor_menus .KB_Editor_MultiTools>li {
|
|
176
|
+
[dir=ltr] .large :global .KB_Editor_menus .KB_Editor_MultiTools > li, [dir=ltr] .default :global .KB_Editor_menus .KB_Editor_MultiTools > li {
|
|
177
177
|
margin-right: 0 ;
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
[dir=rtl] .large :global .KB_Editor_menus .KB_Editor_MultiTools>li, [dir=rtl] .default :global .KB_Editor_menus .KB_Editor_MultiTools>li {
|
|
180
|
+
[dir=rtl] .large :global .KB_Editor_menus .KB_Editor_MultiTools > li, [dir=rtl] .default :global .KB_Editor_menus .KB_Editor_MultiTools > li {
|
|
181
181
|
margin-left: 0 ;
|
|
182
182
|
}
|
|
183
183
|
|
|
@@ -190,14 +190,14 @@
|
|
|
190
190
|
float: unset !important;
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
.large :global .KB_Editor_menus>ul>li>span>svg,
|
|
194
|
-
.default :global .KB_Editor_menus>ul>li>span>svg {
|
|
193
|
+
.large :global .KB_Editor_menus > ul > li > span > svg,
|
|
194
|
+
.default :global .KB_Editor_menus > ul > li > span > svg {
|
|
195
195
|
width: var(--zd_size28) ;
|
|
196
196
|
height: var(--zd_size28) ;
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
-
.large :global .KB_Editor_menus>ul>li>span.KB_Editor_Bdr_div>svg,
|
|
200
|
-
.default :global .KB_Editor_menus>ul>li>span.KB_Editor_Bdr_div>svg {
|
|
199
|
+
.large :global .KB_Editor_menus > ul > li > span.KB_Editor_Bdr_div > svg,
|
|
200
|
+
.default :global .KB_Editor_menus > ul > li > span.KB_Editor_Bdr_div > svg {
|
|
201
201
|
width: var(--zd_size8) ;
|
|
202
202
|
height: var(--zd_size8) ;
|
|
203
203
|
}
|
|
@@ -241,18 +241,18 @@
|
|
|
241
241
|
left: 0 ;
|
|
242
242
|
}
|
|
243
243
|
|
|
244
|
-
[dir=ltr] .large :global .KB_Editor_menus .KB_Editor_MultiTools>li, [dir=ltr] .default :global .KB_Editor_menus .KB_Editor_MultiTools>li {
|
|
244
|
+
[dir=ltr] .large :global .KB_Editor_menus .KB_Editor_MultiTools > li, [dir=ltr] .default :global .KB_Editor_menus .KB_Editor_MultiTools > li {
|
|
245
245
|
margin-right: var(--zd_size2) ;
|
|
246
246
|
}
|
|
247
247
|
|
|
248
|
-
[dir=rtl] .large :global .KB_Editor_menus .KB_Editor_MultiTools>li, [dir=rtl] .default :global .KB_Editor_menus .KB_Editor_MultiTools>li {
|
|
248
|
+
[dir=rtl] .large :global .KB_Editor_menus .KB_Editor_MultiTools > li, [dir=rtl] .default :global .KB_Editor_menus .KB_Editor_MultiTools > li {
|
|
249
249
|
margin-left: var(--zd_size2) ;
|
|
250
250
|
}
|
|
251
251
|
|
|
252
252
|
/* xlarge type editor - reply area, blue print cases - full height hover style */
|
|
253
253
|
.xlarge :global .KB_Editor,
|
|
254
254
|
.xlarge :global .KB_Editor_menus .KB_Editor_MultiTools,
|
|
255
|
-
.xlarge :global .KB_Editor_menus .KB_Editor_MultiTools>li {
|
|
255
|
+
.xlarge :global .KB_Editor_menus .KB_Editor_MultiTools > li {
|
|
256
256
|
display: -webkit-box;
|
|
257
257
|
display: -ms-flexbox;
|
|
258
258
|
display: flex;
|
|
@@ -293,7 +293,7 @@
|
|
|
293
293
|
min-height: inherit ;
|
|
294
294
|
}
|
|
295
295
|
|
|
296
|
-
.xlarge :global .KB_Editor_menus .KB_Editor_MultiTools>li {
|
|
296
|
+
.xlarge :global .KB_Editor_menus .KB_Editor_MultiTools > li {
|
|
297
297
|
height: unset;
|
|
298
298
|
-webkit-box-align: center;
|
|
299
299
|
-ms-flex-align: center;
|
|
@@ -302,11 +302,11 @@
|
|
|
302
302
|
float: unset;
|
|
303
303
|
}
|
|
304
304
|
|
|
305
|
-
[dir=ltr] .xlarge :global .KB_Editor_menus .KB_Editor_MultiTools>li {
|
|
305
|
+
[dir=ltr] .xlarge :global .KB_Editor_menus .KB_Editor_MultiTools > li {
|
|
306
306
|
margin-right: 0 ;
|
|
307
307
|
}
|
|
308
308
|
|
|
309
|
-
[dir=rtl] .xlarge :global .KB_Editor_menus .KB_Editor_MultiTools>li {
|
|
309
|
+
[dir=rtl] .xlarge :global .KB_Editor_menus .KB_Editor_MultiTools > li {
|
|
310
310
|
margin-left: 0 ;
|
|
311
311
|
}
|
|
312
312
|
|
|
@@ -324,12 +324,12 @@
|
|
|
324
324
|
padding: var(--zd_size6) ;
|
|
325
325
|
}
|
|
326
326
|
|
|
327
|
-
.xlarge :global .KB_Editor_menus>ul>li>span>svg {
|
|
327
|
+
.xlarge :global .KB_Editor_menus > ul > li > span > svg {
|
|
328
328
|
width: var(--zd_size22) ;
|
|
329
329
|
height: var(--zd_size22) ;
|
|
330
330
|
}
|
|
331
331
|
|
|
332
|
-
.xlarge :global .KB_Editor_menus>ul>li>span.KB_Editor_Bdr_div>svg {
|
|
332
|
+
.xlarge :global .KB_Editor_menus > ul > li > span.KB_Editor_Bdr_div > svg {
|
|
333
333
|
width: var(--zd_size8) ;
|
|
334
334
|
height: var(--zd_size8) ;
|
|
335
335
|
}
|
|
@@ -354,13 +354,13 @@
|
|
|
354
354
|
left: 0 ;
|
|
355
355
|
}
|
|
356
356
|
|
|
357
|
-
.xlarge :global .KB_Editor_menus>ul>li>span.SnippetIcon svg {
|
|
357
|
+
.xlarge :global .KB_Editor_menus > ul > li > span.SnippetIcon svg {
|
|
358
358
|
width: var(--zd_size17) ;
|
|
359
359
|
height: var(--zd_size21) ;
|
|
360
360
|
padding: 0 var(--zd_size7) ;
|
|
361
361
|
}
|
|
362
362
|
|
|
363
|
-
.xlarge :global .KB_Editor_menus>ul>li>span.TemplateIcon svg {
|
|
363
|
+
.xlarge :global .KB_Editor_menus > ul > li > span.TemplateIcon svg {
|
|
364
364
|
width: var(--zd_size16) ;
|
|
365
365
|
height: var(--zd_size16) ;
|
|
366
366
|
padding: 0 var(--zd_size9) ;
|
|
@@ -393,16 +393,31 @@
|
|
|
393
393
|
padding: 0 var(--zd_size7) ;
|
|
394
394
|
}
|
|
395
395
|
|
|
396
|
-
.xlarge :global .KB_Editor_MultiTools li .Kbeditor_more_icon>svg {
|
|
396
|
+
.xlarge :global .KB_Editor_MultiTools li .Kbeditor_more_icon > svg {
|
|
397
397
|
width: var(--zd_size12) ;
|
|
398
398
|
height: var(--zd_size12) ;
|
|
399
399
|
}
|
|
400
400
|
|
|
401
|
-
.xlarge
|
|
401
|
+
.xlarge
|
|
402
|
+
:global
|
|
403
|
+
.KB_Editor_menus
|
|
404
|
+
> ul
|
|
405
|
+
> li
|
|
406
|
+
> span:not(.KB_Editor_Bdr_div):not(.KBEditortools-Block-down-arrow):not(.Kbeditor_more_icon):not(.SnippetIcon):not(
|
|
407
|
+
.TemplateIcon
|
|
408
|
+
):not(.KB_Editor_Richtext):not(.KB_Editor_PlainText) {
|
|
402
409
|
height: var(--zd_size21) ;
|
|
403
410
|
}
|
|
404
411
|
|
|
405
|
-
.xlarge
|
|
412
|
+
.xlarge
|
|
413
|
+
:global
|
|
414
|
+
.KB_Editor_menus
|
|
415
|
+
> ul
|
|
416
|
+
> li
|
|
417
|
+
> span:not(.KB_Editor_Bdr_div):not(.KBEditortools-Block-down-arrow):not(.Kbeditor_more_icon):not(.SnippetIcon):not(
|
|
418
|
+
.TemplateIcon
|
|
419
|
+
)
|
|
420
|
+
> svg {
|
|
406
421
|
width: var(--zd_size21) ;
|
|
407
422
|
height: var(--zd_size21) ;
|
|
408
423
|
padding: 0 var(--zd_size4) ;
|
|
@@ -427,7 +442,7 @@
|
|
|
427
442
|
/* medium type editor - snippet, bug tracker cases */
|
|
428
443
|
.medium :global .KB_Editor,
|
|
429
444
|
.medium :global .KB_Editor_menus .KB_Editor_MultiTools,
|
|
430
|
-
.medium :global .KB_Editor_menus .KB_Editor_MultiTools>li {
|
|
445
|
+
.medium :global .KB_Editor_menus .KB_Editor_MultiTools > li {
|
|
431
446
|
display: -webkit-box;
|
|
432
447
|
display: -ms-flexbox;
|
|
433
448
|
display: flex;
|
|
@@ -468,7 +483,7 @@
|
|
|
468
483
|
min-height: inherit ;
|
|
469
484
|
}
|
|
470
485
|
|
|
471
|
-
.medium :global .KB_Editor_menus .KB_Editor_MultiTools>li {
|
|
486
|
+
.medium :global .KB_Editor_menus .KB_Editor_MultiTools > li {
|
|
472
487
|
height: unset;
|
|
473
488
|
-webkit-box-align: center;
|
|
474
489
|
-ms-flex-align: center;
|
|
@@ -481,21 +496,21 @@
|
|
|
481
496
|
line-height: 0;
|
|
482
497
|
}
|
|
483
498
|
|
|
484
|
-
.medium :global .KB_Editor_menus>ul>li>span>svg {
|
|
499
|
+
.medium :global .KB_Editor_menus > ul > li > span > svg {
|
|
485
500
|
width: var(--zd_size22) ;
|
|
486
501
|
height: var(--zd_size22) ;
|
|
487
502
|
}
|
|
488
503
|
|
|
489
|
-
.medium :global .KB_Editor_menus>ul>li>span.KB_Editor_Bdr_div>svg {
|
|
504
|
+
.medium :global .KB_Editor_menus > ul > li > span.KB_Editor_Bdr_div > svg {
|
|
490
505
|
width: var(--zd_size8) ;
|
|
491
506
|
height: var(--zd_size8) ;
|
|
492
507
|
}
|
|
493
508
|
|
|
494
|
-
[dir=ltr] .medium :global .KB_Editor_menus>ul>li>span.KB_Editor_Bdr_div>svg {
|
|
509
|
+
[dir=ltr] .medium :global .KB_Editor_menus > ul > li > span.KB_Editor_Bdr_div > svg {
|
|
495
510
|
padding: 0 0 0 var(--zd_size2) ;
|
|
496
511
|
}
|
|
497
512
|
|
|
498
|
-
[dir=rtl] .medium :global .KB_Editor_menus>ul>li>span.KB_Editor_Bdr_div>svg {
|
|
513
|
+
[dir=rtl] .medium :global .KB_Editor_menus > ul > li > span.KB_Editor_Bdr_div > svg {
|
|
499
514
|
padding: 0 var(--zd_size2) 0 0 ;
|
|
500
515
|
}
|
|
501
516
|
|
|
@@ -532,7 +547,7 @@
|
|
|
532
547
|
padding: 0 var(--zd_size3) ;
|
|
533
548
|
}
|
|
534
549
|
|
|
535
|
-
.medium :global .KB_Editor_MultiTools li .Kbeditor_more_icon>svg {
|
|
550
|
+
.medium :global .KB_Editor_MultiTools li .Kbeditor_more_icon > svg {
|
|
536
551
|
width: var(--zd_size12) ;
|
|
537
552
|
height: var(--zd_size12) ;
|
|
538
553
|
}
|
|
@@ -612,13 +627,13 @@
|
|
|
612
627
|
line-height: 0;
|
|
613
628
|
}
|
|
614
629
|
|
|
615
|
-
.small :global .KB_Editor_menus>ul>li>span>svg,
|
|
616
|
-
.mini :global .KB_Editor_menus>ul>li>span>svg {
|
|
630
|
+
.small :global .KB_Editor_menus > ul > li > span > svg,
|
|
631
|
+
.mini :global .KB_Editor_menus > ul > li > span > svg {
|
|
617
632
|
width: var(--zd_size25) ;
|
|
618
633
|
height: var(--zd_size25) ;
|
|
619
634
|
}
|
|
620
635
|
|
|
621
|
-
.small :global .KB_Editor_menus>ul>li>span>svg, .mini :global .KB_Editor_menus>ul>li>span>svg {
|
|
636
|
+
.small :global .KB_Editor_menus > ul > li > span > svg, .mini :global .KB_Editor_menus > ul > li > span > svg {
|
|
622
637
|
padding: 0 var(--zd_size6) ;
|
|
623
638
|
}
|
|
624
639
|
|
|
@@ -769,4 +784,4 @@
|
|
|
769
784
|
|
|
770
785
|
[dir=rtl] .editorHide :global .KB_Editor {
|
|
771
786
|
right: 0 ;
|
|
772
|
-
}
|
|
787
|
+
}
|