@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';
|
|
@@ -119,18 +121,17 @@ export default class TextEditorField extends PureComponent {
|
|
|
119
121
|
renderProps: {
|
|
120
122
|
end: this.renderEnd
|
|
121
123
|
}
|
|
122
|
-
}, /*#__PURE__*/React.createElement(Label, {
|
|
124
|
+
}, /*#__PURE__*/React.createElement(Label, _extends({
|
|
123
125
|
text: labelName,
|
|
124
126
|
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
125
127
|
htmlFor: !isReadOnly && !isDisabled ? id : undefined,
|
|
126
128
|
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
127
129
|
onClick: this.handleLabelClick,
|
|
128
130
|
customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
|
|
129
|
-
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label
|
|
130
|
-
|
|
131
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
131
|
+
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`
|
|
132
|
+
}, LabelProps))), /*#__PURE__*/React.createElement("div", {
|
|
132
133
|
className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''}`
|
|
133
|
-
}, /*#__PURE__*/React.createElement(TextEditorWrapper, {
|
|
134
|
+
}, /*#__PURE__*/React.createElement(TextEditorWrapper, _extends({
|
|
134
135
|
needEditor: needEditor,
|
|
135
136
|
onChange: this.handleChange,
|
|
136
137
|
id: id,
|
|
@@ -159,15 +160,13 @@ export default class TextEditorField extends PureComponent {
|
|
|
159
160
|
shouldEditorUpdateContent: shouldEditorUpdateContent,
|
|
160
161
|
setInlineAttachmentInProgress: setInlineAttachmentInProgress,
|
|
161
162
|
handleEditorDropUpload: handleEditorDropUpload,
|
|
162
|
-
needInlineAttachment: needInlineAttachment
|
|
163
|
-
|
|
164
|
-
})), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
163
|
+
needInlineAttachment: needInlineAttachment
|
|
164
|
+
}, TextEditorWrapperProps))), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
165
165
|
text: validationMessage,
|
|
166
166
|
palette: validationPalette,
|
|
167
167
|
type: errorType,
|
|
168
|
-
dataId: `${dataId}_ValidationMessage
|
|
169
|
-
|
|
170
|
-
}));
|
|
168
|
+
dataId: `${dataId}_ValidationMessage`
|
|
169
|
+
}, ValidationMessageProps)));
|
|
171
170
|
}
|
|
172
171
|
|
|
173
172
|
}
|
|
@@ -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, { Component } from 'react';
|
|
2
4
|
import { defaultProps } from './props/defaultProps';
|
|
3
5
|
import { propTypes } from './props/propTypes';
|
|
@@ -130,7 +132,7 @@ export default class TextEditorWrapper extends Component {
|
|
|
130
132
|
return /*#__PURE__*/React.createElement("div", {
|
|
131
133
|
className: style.container,
|
|
132
134
|
"data-selector-id": dataSelectorId
|
|
133
|
-
}, !isEditorShow ? /*#__PURE__*/React.createElement(Textarea, {
|
|
135
|
+
}, !isEditorShow ? /*#__PURE__*/React.createElement(Textarea, _extends({
|
|
134
136
|
onFocus: this.handleTextareaFocus,
|
|
135
137
|
text: value,
|
|
136
138
|
animated: !needEditor,
|
|
@@ -142,9 +144,8 @@ export default class TextEditorWrapper extends Component {
|
|
|
142
144
|
getRef: getRef,
|
|
143
145
|
size: textBoxSize,
|
|
144
146
|
variant: textBoxVariant,
|
|
145
|
-
customClass: style.textBox
|
|
146
|
-
|
|
147
|
-
}) : null, /*#__PURE__*/React.createElement(VelocityAnimationGroup, {
|
|
147
|
+
customClass: style.textBox
|
|
148
|
+
}, Textarea1Props)) : null, /*#__PURE__*/React.createElement(VelocityAnimationGroup, {
|
|
148
149
|
name: "slideDown",
|
|
149
150
|
runOnMount: true,
|
|
150
151
|
enterDuration: '300',
|
|
@@ -153,7 +154,7 @@ export default class TextEditorWrapper extends Component {
|
|
|
153
154
|
component: "div"
|
|
154
155
|
}, /*#__PURE__*/React.createElement("div", {
|
|
155
156
|
className: style.textEditor
|
|
156
|
-
}, isEditorShow && needEditor ? /*#__PURE__*/React.createElement(TextEditor, {
|
|
157
|
+
}, isEditorShow && needEditor ? /*#__PURE__*/React.createElement(TextEditor, _extends({
|
|
157
158
|
id: id,
|
|
158
159
|
value: value,
|
|
159
160
|
onChange: !isReadOnly && !isDisabled ? onChange : null,
|
|
@@ -181,9 +182,8 @@ export default class TextEditorWrapper extends Component {
|
|
|
181
182
|
setInlineAttachmentInProgress: setInlineAttachmentInProgress,
|
|
182
183
|
handleDropUpload: handleEditorDropUpload,
|
|
183
184
|
onFocus: this.focusCallback,
|
|
184
|
-
needInlineAttachment: needInlineAttachment
|
|
185
|
-
|
|
186
|
-
}) : /*#__PURE__*/React.createElement(Textarea, {
|
|
185
|
+
needInlineAttachment: needInlineAttachment
|
|
186
|
+
}, TextEditorProps)) : /*#__PURE__*/React.createElement(Textarea, _extends({
|
|
187
187
|
onFocus: this.handleTextareaFocus,
|
|
188
188
|
text: value,
|
|
189
189
|
animated: !needEditor,
|
|
@@ -194,9 +194,8 @@ export default class TextEditorWrapper extends Component {
|
|
|
194
194
|
needEffect: !(isReadOnly || isDisabled),
|
|
195
195
|
getRef: getRef,
|
|
196
196
|
size: textBoxSize,
|
|
197
|
-
variant: textBoxVariant
|
|
198
|
-
|
|
199
|
-
}))));
|
|
197
|
+
variant: textBoxVariant
|
|
198
|
+
}, Textarea2Props)))));
|
|
200
199
|
}
|
|
201
200
|
|
|
202
201
|
}
|
|
@@ -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';
|
|
@@ -103,18 +105,17 @@ export default class TextareaField extends PureComponent {
|
|
|
103
105
|
isLocked: isLocked,
|
|
104
106
|
lockedInfoText: lockedInfoText,
|
|
105
107
|
renderProps: renderLabelProps
|
|
106
|
-
}, /*#__PURE__*/React.createElement(Label, {
|
|
108
|
+
}, /*#__PURE__*/React.createElement(Label, _extends({
|
|
107
109
|
text: labelName,
|
|
108
110
|
id: id,
|
|
109
111
|
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
110
112
|
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
111
113
|
customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
|
|
112
114
|
htmlFor: uniqueId,
|
|
113
|
-
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label
|
|
114
|
-
|
|
115
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
115
|
+
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`
|
|
116
|
+
}, LabelProps))), /*#__PURE__*/React.createElement("div", {
|
|
116
117
|
className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''}`
|
|
117
|
-
}, /*#__PURE__*/React.createElement(Textarea, {
|
|
118
|
+
}, /*#__PURE__*/React.createElement(Textarea, _extends({
|
|
118
119
|
onChange: this.handleChange,
|
|
119
120
|
animated: animated,
|
|
120
121
|
size: fieldSize === 'medium' ? textBoxSize : 'xmedium',
|
|
@@ -132,26 +133,24 @@ export default class TextareaField extends PureComponent {
|
|
|
132
133
|
needEffect: isReadOnly || isDisabled ? false : true,
|
|
133
134
|
resize: "vertical" // onKeyDown={onKeyDown}
|
|
134
135
|
,
|
|
135
|
-
htmlId: uniqueId
|
|
136
|
-
|
|
136
|
+
htmlId: uniqueId
|
|
137
|
+
}, TextareaProps, {
|
|
137
138
|
a11y: {
|
|
138
139
|
ariaLabelledby: labelName
|
|
139
140
|
}
|
|
140
|
-
}), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
141
|
+
})), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
141
142
|
text: validationMessage,
|
|
142
143
|
palette: validationPalette,
|
|
143
144
|
type: errorType,
|
|
144
145
|
htmlFor: uniqueId,
|
|
145
|
-
dataId: `${dataId}_ValidationMessage
|
|
146
|
-
|
|
147
|
-
}), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
146
|
+
dataId: `${dataId}_ValidationMessage`
|
|
147
|
+
}, ValidationMessageProps1)), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
148
148
|
text: validationRuleMessage,
|
|
149
149
|
palette: validationRulePalette,
|
|
150
150
|
type: errorType,
|
|
151
151
|
htmlFor: uniqueId,
|
|
152
|
-
dataId: `${dataId}_ValidationRuleMessage
|
|
153
|
-
|
|
154
|
-
})));
|
|
152
|
+
dataId: `${dataId}_ValidationRuleMessage`
|
|
153
|
+
}, ValidationMessageProps2))));
|
|
155
154
|
}
|
|
156
155
|
|
|
157
156
|
}
|
|
@@ -3,11 +3,9 @@
|
|
|
3
3
|
z-index: 2;
|
|
4
4
|
border-bottom: 1px solid var(--zdt_setupdetail_header_border);
|
|
5
5
|
}
|
|
6
|
-
|
|
7
6
|
.back {
|
|
8
7
|
width: var(--zd_size60) ;
|
|
9
8
|
}
|
|
10
|
-
|
|
11
9
|
.backIcon {
|
|
12
10
|
height: var(--zd_size30) ;
|
|
13
11
|
width: var(--zd_size30) ;
|
|
@@ -19,11 +17,9 @@
|
|
|
19
17
|
border-radius: 50%;
|
|
20
18
|
cursor: pointer;
|
|
21
19
|
}
|
|
22
|
-
|
|
23
20
|
[dir=ltr] .backIcon {
|
|
24
21
|
margin-left: var(--zd_size19) ;
|
|
25
22
|
}
|
|
26
|
-
|
|
27
23
|
[dir=rtl] .backIcon {
|
|
28
24
|
margin-right: var(--zd_size19) ;
|
|
29
25
|
}
|
|
@@ -31,7 +27,6 @@
|
|
|
31
27
|
.backIcon:hover {
|
|
32
28
|
background-color: var(--zdt_setupdetail_hover_backicon_bg);
|
|
33
29
|
}
|
|
34
|
-
|
|
35
30
|
.title {
|
|
36
31
|
font-size: var(--zd_font_size16) ;
|
|
37
32
|
line-height: 1;
|
|
@@ -39,11 +34,9 @@
|
|
|
39
34
|
color: var(--zdt_setupdetail_backicon);
|
|
40
35
|
composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
|
|
41
36
|
}
|
|
42
|
-
|
|
43
37
|
[dir=ltr] .title {
|
|
44
38
|
padding-right: var(--zd_size12) ;
|
|
45
39
|
}
|
|
46
|
-
|
|
47
40
|
[dir=rtl] .title {
|
|
48
41
|
padding-left: var(--zd_size12) ;
|
|
49
42
|
}
|
|
@@ -51,22 +44,18 @@
|
|
|
51
44
|
.rightPanel {
|
|
52
45
|
composes: justifyFend from '~@zohodesk/components/lib/common/common.module.css';
|
|
53
46
|
}
|
|
54
|
-
|
|
55
47
|
.helpInfoCont {
|
|
56
48
|
position: absolute;
|
|
57
49
|
z-index: 10;
|
|
58
50
|
}
|
|
59
|
-
|
|
60
51
|
[dir=ltr] .helpInfoCont {
|
|
61
52
|
right: 0 ;
|
|
62
53
|
padding: var(--zd_size12) var(--zd_size15) 0 0 ;
|
|
63
54
|
}
|
|
64
|
-
|
|
65
55
|
[dir=rtl] .helpInfoCont {
|
|
66
56
|
left: 0 ;
|
|
67
57
|
padding: var(--zd_size12) 0 0 var(--zd_size15) ;
|
|
68
58
|
}
|
|
69
|
-
|
|
70
59
|
.helpInfo {
|
|
71
60
|
line-height: 2.3636;
|
|
72
61
|
height: var(--zd_size28) ;
|
|
@@ -79,11 +68,9 @@
|
|
|
79
68
|
text-align: center;
|
|
80
69
|
cursor: pointer;
|
|
81
70
|
}
|
|
82
|
-
|
|
83
71
|
[dir=ltr] .mr15 {
|
|
84
72
|
margin-right: var(--zd_size15) ;
|
|
85
73
|
}
|
|
86
|
-
|
|
87
74
|
[dir=rtl] .mr15 {
|
|
88
75
|
margin-left: var(--zd_size15) ;
|
|
89
76
|
}
|
|
@@ -91,15 +78,12 @@
|
|
|
91
78
|
.content {
|
|
92
79
|
z-index: 1;
|
|
93
80
|
}
|
|
94
|
-
|
|
95
81
|
[dir=ltr] .padding {
|
|
96
82
|
padding: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size60) ;
|
|
97
83
|
}
|
|
98
|
-
|
|
99
84
|
[dir=rtl] .padding {
|
|
100
85
|
padding: var(--zd_size10) var(--zd_size60) var(--zd_size10) var(--zd_size25) ;
|
|
101
86
|
}
|
|
102
|
-
|
|
103
87
|
.popup {
|
|
104
88
|
z-index: 3;
|
|
105
89
|
position: absolute;
|
|
@@ -108,23 +92,19 @@
|
|
|
108
92
|
width: var(--zd_size330) ;
|
|
109
93
|
transition: transform var(--zd_transition3);
|
|
110
94
|
border: 1px solid var(--zdt_setupdetail_popup_border);
|
|
111
|
-
background-color: var(--
|
|
95
|
+
background-color: var(--zdt_setupdetail_popup_bg);
|
|
112
96
|
}
|
|
113
|
-
|
|
114
97
|
[dir=ltr] .popup {
|
|
115
98
|
right: 0 ;
|
|
116
99
|
transform: translateX(100%);
|
|
117
100
|
}
|
|
118
|
-
|
|
119
101
|
[dir=rtl] .popup {
|
|
120
102
|
left: 0 ;
|
|
121
103
|
transform: translateX(-100%);
|
|
122
104
|
}
|
|
123
|
-
|
|
124
105
|
.popup.open {
|
|
125
106
|
transform: translateX(0);
|
|
126
107
|
}
|
|
127
|
-
|
|
128
108
|
.close {
|
|
129
109
|
composes: disableFocus from '~@zohodesk/components/lib/common/common.module.css';
|
|
130
110
|
}
|
|
@@ -169,4 +149,4 @@
|
|
|
169
149
|
|
|
170
150
|
.infoFooter {
|
|
171
151
|
padding: var(--zd_size10) var(--zd_size20) ;
|
|
172
|
-
}
|
|
152
|
+
}
|
|
@@ -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 { SubtabHeader_propTypes, SubtabFooter_propTypes, SubtabContent_propTypes, SubtabLayout_propTypes } from './props/propTypes';
|
|
3
5
|
import { SubtabHeader_defaultProps, SubtabFooter_defaultProps, SubtabContent_defaultProps, SubtabLayout_defaultProps } from './props/defaultProps';
|
|
@@ -122,15 +124,15 @@ export default class SubtabLayout extends React.Component {
|
|
|
122
124
|
children,
|
|
123
125
|
dataId
|
|
124
126
|
} = this.props;
|
|
125
|
-
return /*#__PURE__*/React.createElement(Card, {
|
|
127
|
+
return /*#__PURE__*/React.createElement(Card, _extends({
|
|
126
128
|
isScrollAttribute: true,
|
|
127
|
-
dataId: dataId
|
|
128
|
-
|
|
129
|
+
dataId: dataId
|
|
130
|
+
}, this.props, {
|
|
129
131
|
childTypes: {
|
|
130
132
|
cardHeader: SubtabHeader,
|
|
131
133
|
cardContent: SubtabContent
|
|
132
134
|
}
|
|
133
|
-
}, children);
|
|
135
|
+
}), children);
|
|
134
136
|
}
|
|
135
137
|
|
|
136
138
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
.iconStyle {
|
|
2
|
-
color: var(--
|
|
3
|
-
}
|
|
2
|
+
color: var(--zdt_avatarflip_default_text);
|
|
3
|
+
}
|
|
@@ -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, { Component } from 'react';
|
|
2
4
|
import { defaultProps } from './props/defaultProps';
|
|
3
5
|
import { propTypes } from './props/propTypes';
|
|
@@ -48,15 +50,19 @@ class DepartmentDropDown extends Component {
|
|
|
48
50
|
onSearch,
|
|
49
51
|
needSearchFetching,
|
|
50
52
|
searchStr,
|
|
51
|
-
i18nKeys
|
|
53
|
+
i18nKeys,
|
|
54
|
+
customProps
|
|
52
55
|
} = this.props;
|
|
56
|
+
const {
|
|
57
|
+
toggleDropDownProps = {}
|
|
58
|
+
} = customProps;
|
|
53
59
|
let {
|
|
54
60
|
title = 'Move Department',
|
|
55
61
|
searchEmptyText = 'No results found',
|
|
56
62
|
searchErrorText = 'No results',
|
|
57
63
|
placeholder = 'Search Department'
|
|
58
64
|
} = i18nKeys;
|
|
59
|
-
return /*#__PURE__*/React.createElement(ToggleDropDown, {
|
|
65
|
+
return /*#__PURE__*/React.createElement(ToggleDropDown, _extends({
|
|
60
66
|
title: title,
|
|
61
67
|
options: departmentList,
|
|
62
68
|
value: /*#__PURE__*/React.createElement(DepartmentText, {
|
|
@@ -85,7 +91,7 @@ class DepartmentDropDown extends Component {
|
|
|
85
91
|
isNextOptions: isNextOptions,
|
|
86
92
|
onSearch: onSearch,
|
|
87
93
|
needSearchFetching: needSearchFetching
|
|
88
|
-
});
|
|
94
|
+
}, toggleDropDownProps));
|
|
89
95
|
}
|
|
90
96
|
|
|
91
97
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
.departmentBox {
|
|
2
2
|
max-width: 100% ;
|
|
3
3
|
}
|
|
4
|
-
|
|
5
4
|
.departmentBox :global .toggleDropIcon {
|
|
6
5
|
color: var(--zdt_departmentdropdown_default_text);
|
|
7
6
|
}
|
|
8
|
-
|
|
9
7
|
.departmentBox:hover :global .toggleDropIcon {
|
|
10
|
-
color: var(--
|
|
11
|
-
}
|
|
8
|
+
color: var(--zdt_departmentdropdown_default_hover_text);
|
|
9
|
+
}
|
|
@@ -1,20 +1,17 @@
|
|
|
1
1
|
.stenLoading {
|
|
2
2
|
position: relative;
|
|
3
|
-
background-color: var(--
|
|
3
|
+
background-color: var(--zdt_gridstencils_default_bg);
|
|
4
4
|
border-bottom: 1px solid var(--zdt_gridstencils_default_border);
|
|
5
5
|
padding: var(--zd_size13) var(--zd_size15) var(--zd_size11) var(--zd_size15) ;
|
|
6
6
|
margin-bottom: var(--zd_size10) ;
|
|
7
7
|
border-radius: var(--zd_size5);
|
|
8
8
|
}
|
|
9
|
-
|
|
10
9
|
[dir=ltr] .stenLoadbody {
|
|
11
10
|
margin: var(--zd_size8) var(--zd_size20) var(--zd_size8) 0 ;
|
|
12
11
|
}
|
|
13
|
-
|
|
14
12
|
[dir=rtl] .stenLoadbody {
|
|
15
13
|
margin: var(--zd_size8) 0 var(--zd_size8) var(--zd_size20) ;
|
|
16
14
|
}
|
|
17
|
-
|
|
18
15
|
.stenLoadbody::after {
|
|
19
16
|
content: '';
|
|
20
17
|
height: var(--zd_size22) ;
|
|
@@ -24,45 +21,36 @@
|
|
|
24
21
|
border-radius: 50%;
|
|
25
22
|
background-color: var(--zdt_gridstencils_after_bg);
|
|
26
23
|
}
|
|
27
|
-
|
|
28
24
|
[dir=ltr] .stenLoadbody::after {
|
|
29
25
|
right: var(--zd_size20) ;
|
|
30
26
|
}
|
|
31
|
-
|
|
32
27
|
[dir=rtl] .stenLoadbody::after {
|
|
33
28
|
left: var(--zd_size20) ;
|
|
34
29
|
}
|
|
35
|
-
|
|
36
30
|
.lineBar {
|
|
37
31
|
width: 90% ;
|
|
38
32
|
}
|
|
39
|
-
|
|
40
33
|
.lineBar2 {
|
|
41
34
|
width: 70% ;
|
|
42
35
|
margin: var(--zd_size22) 0 ;
|
|
43
36
|
}
|
|
44
|
-
|
|
45
37
|
.lineBar3 {
|
|
46
38
|
width: 50% ;
|
|
47
39
|
}
|
|
48
|
-
|
|
49
40
|
.lineBar,
|
|
50
41
|
.lineBar2,
|
|
51
42
|
.lineBar3 {
|
|
52
43
|
height: var(--zd_size5) ;
|
|
53
44
|
}
|
|
54
|
-
|
|
55
45
|
.lineBar, .lineBar2, .lineBar3 {
|
|
56
46
|
border-radius: var(--zd_size5);
|
|
57
47
|
}
|
|
58
|
-
|
|
59
48
|
.stenListBAr {
|
|
60
49
|
position: relative;
|
|
61
50
|
background: var(--zdt_gridstencils_listbar_bg);
|
|
62
51
|
background-image: var(--zdt_gridstencils_listbar_gradient_bg);
|
|
63
52
|
background-repeat: no-repeat;
|
|
64
53
|
}
|
|
65
|
-
|
|
66
54
|
[dir=ltr] .stenListBAr {
|
|
67
55
|
-webkit-animation-duration: var(--zd_transition10);
|
|
68
56
|
-webkit-animation-fill-mode: forwards;
|
|
@@ -70,7 +58,6 @@
|
|
|
70
58
|
-webkit-animation-name: placeHolderShimmer;
|
|
71
59
|
-webkit-animation-timing-function: linear;
|
|
72
60
|
}
|
|
73
|
-
|
|
74
61
|
[dir=rtl] .stenListBAr {
|
|
75
62
|
-webkit-animation-duration: var(--zd_transition10);
|
|
76
63
|
-webkit-animation-fill-mode: forwards;
|
|
@@ -78,13 +65,11 @@
|
|
|
78
65
|
-webkit-animation-name: placeHolderShimmer;
|
|
79
66
|
-webkit-animation-timing-function: linear;
|
|
80
67
|
}
|
|
81
|
-
|
|
82
68
|
.stenListBAr {
|
|
83
69
|
background: var(--zdt_gridstencils_listbar_bg);
|
|
84
70
|
background-image: var(--zdt_gridstencils_listbar_gradient_bg);
|
|
85
71
|
background-repeat: no-repeat;
|
|
86
72
|
}
|
|
87
|
-
|
|
88
73
|
[dir=ltr] .stenListBAr {
|
|
89
74
|
-webkit-animation-duration: var(--zd_transition10);
|
|
90
75
|
-webkit-animation-fill-mode: forwards;
|
|
@@ -92,7 +77,6 @@
|
|
|
92
77
|
-webkit-animation-name: placeHolderShimmer;
|
|
93
78
|
-webkit-animation-timing-function: linear;
|
|
94
79
|
}
|
|
95
|
-
|
|
96
80
|
[dir=rtl] .stenListBAr {
|
|
97
81
|
-webkit-animation-duration: var(--zd_transition10);
|
|
98
82
|
-webkit-animation-fill-mode: forwards;
|
|
@@ -100,7 +84,6 @@
|
|
|
100
84
|
-webkit-animation-name: placeHolderShimmer;
|
|
101
85
|
-webkit-animation-timing-function: linear;
|
|
102
86
|
}
|
|
103
|
-
|
|
104
87
|
@keyframes placeHolderShimmer {
|
|
105
88
|
0% {
|
|
106
89
|
background-position: -468px 0;
|
|
@@ -110,72 +93,55 @@
|
|
|
110
93
|
background-position: 468px 0;
|
|
111
94
|
}
|
|
112
95
|
}
|
|
113
|
-
|
|
114
96
|
.threeLayout .stenLoadbody::before {
|
|
115
97
|
transform: scale(0.8);
|
|
116
98
|
}
|
|
117
|
-
|
|
118
99
|
[dir=ltr] .threeLayout .stenLoadbody::before {
|
|
119
100
|
left: var(--zd_size16) ;
|
|
120
101
|
}
|
|
121
|
-
|
|
122
102
|
[dir=rtl] .threeLayout .stenLoadbody::before {
|
|
123
103
|
right: var(--zd_size16) ;
|
|
124
104
|
}
|
|
125
|
-
|
|
126
105
|
[dir=ltr] .threeLayout .stenLoadbody {
|
|
127
106
|
margin: var(--zd_size8) var(--zd_size20) var(--zd_size8) 0 ;
|
|
128
107
|
}
|
|
129
|
-
|
|
130
108
|
[dir=rtl] .threeLayout .stenLoadbody {
|
|
131
109
|
margin: var(--zd_size8) 0 var(--zd_size8) var(--zd_size20) ;
|
|
132
110
|
}
|
|
133
|
-
|
|
134
111
|
.threeLayout .stenLoadbody::after {
|
|
135
112
|
top: var(--zd_size15) ;
|
|
136
113
|
transform: scale(0.8);
|
|
137
114
|
}
|
|
138
|
-
|
|
139
115
|
[dir=ltr] .threeLayout .stenLoadbody::after {
|
|
140
116
|
right: var(--zd_size20) ;
|
|
141
117
|
}
|
|
142
|
-
|
|
143
118
|
[dir=rtl] .threeLayout .stenLoadbody::after {
|
|
144
119
|
left: var(--zd_size20) ;
|
|
145
120
|
}
|
|
146
|
-
|
|
147
121
|
[dir=ltr] .leftCont .stenLoadbody::before {
|
|
148
122
|
left: var(--zd_size33) ;
|
|
149
123
|
}
|
|
150
|
-
|
|
151
124
|
[dir=rtl] .leftCont .stenLoadbody::before {
|
|
152
125
|
right: var(--zd_size33) ;
|
|
153
126
|
}
|
|
154
|
-
|
|
155
127
|
[dir=ltr] .leftCont .stenLoadbody {
|
|
156
128
|
margin: var(--zd_size8) var(--zd_size20) var(--zd_size8) var(--zd_size46) ;
|
|
157
129
|
}
|
|
158
|
-
|
|
159
130
|
[dir=rtl] .leftCont .stenLoadbody {
|
|
160
131
|
margin: var(--zd_size8) var(--zd_size46) var(--zd_size8) var(--zd_size20) ;
|
|
161
132
|
}
|
|
162
|
-
|
|
163
133
|
[dir=ltr] .leftCont .stenLoadbody::after {
|
|
164
134
|
right: var(--zd_size40) ;
|
|
165
135
|
}
|
|
166
|
-
|
|
167
136
|
[dir=rtl] .leftCont .stenLoadbody::after {
|
|
168
137
|
left: var(--zd_size40) ;
|
|
169
138
|
}
|
|
170
|
-
|
|
171
139
|
.leftCont .lineBar {
|
|
172
140
|
width: 80% ;
|
|
173
141
|
}
|
|
174
|
-
|
|
175
142
|
.leftCont .lineBar2 {
|
|
176
143
|
width: 60% ;
|
|
177
144
|
}
|
|
178
|
-
|
|
179
145
|
.leftCont .lineBar3 {
|
|
180
146
|
width: 40% ;
|
|
181
147
|
}
|
|
@@ -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, { Component } from 'react';
|
|
2
4
|
import { ListLayout_defaultProps } from './props/defaultProps';
|
|
3
5
|
import { ListLayout_propTypes, Column_propTypes } from './props/propTypes';
|
|
@@ -67,10 +69,9 @@ export class Column extends Component {
|
|
|
67
69
|
children,
|
|
68
70
|
className
|
|
69
71
|
} = this.props;
|
|
70
|
-
return /*#__PURE__*/React.createElement(Box, {
|
|
71
|
-
className: `${className ? className : ''}
|
|
72
|
-
|
|
73
|
-
}, children);
|
|
72
|
+
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
73
|
+
className: `${className ? className : ''}`
|
|
74
|
+
}, this.props), children);
|
|
74
75
|
}
|
|
75
76
|
|
|
76
77
|
}
|
|
@@ -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
|
/* eslint-disable react/forbid-component-props */
|
|
2
4
|
|
|
3
5
|
/**** Libraries ****/
|
|
@@ -51,28 +53,26 @@ export default class AccountName extends Component {
|
|
|
51
53
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
52
54
|
className: style.primaryAccountName,
|
|
53
55
|
shrink: true
|
|
54
|
-
}, isLink ? /*#__PURE__*/React.createElement(Link, {
|
|
56
|
+
}, isLink ? /*#__PURE__*/React.createElement(Link, _extends({
|
|
55
57
|
href: href,
|
|
56
58
|
urlName: urlName,
|
|
57
59
|
urlData: urlData,
|
|
58
60
|
onClick: onClick,
|
|
59
61
|
dataId: `${dataId}_link`,
|
|
60
|
-
className: style.link
|
|
61
|
-
|
|
62
|
+
className: style.link
|
|
63
|
+
}, LinkProps, {
|
|
62
64
|
ariaLabel: `Account Name ${text}`
|
|
63
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
65
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
64
66
|
className: `${style.textStyle} ${style[`font_${fontWeight}`]} ${className ? className : ''}`
|
|
65
|
-
}, text)) : /*#__PURE__*/React.createElement("div", {
|
|
66
|
-
className: `${style.secondaryText} ${style[`font_${fontWeight}`]} ${className ? className : ''} ${notAccessible ? style.disable : ''}
|
|
67
|
-
|
|
68
|
-
}, text)), secondaryAccountText && /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(Link, {
|
|
67
|
+
}, text)) : /*#__PURE__*/React.createElement("div", _extends({
|
|
68
|
+
className: `${style.secondaryText} ${style[`font_${fontWeight}`]} ${className ? className : ''} ${notAccessible ? style.disable : ''}`
|
|
69
|
+
}, TextProps), text)), secondaryAccountText && /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(Link, {
|
|
69
70
|
href: secondaryAccountHref,
|
|
70
71
|
onClick: secondaryAccountClick,
|
|
71
72
|
className: style.link
|
|
72
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
73
|
-
className: `${style.textStyle} ${style[`font_${fontWeight}`]} ${className ? className : ''}
|
|
74
|
-
|
|
75
|
-
}, secondaryAccountText))))));
|
|
73
|
+
}, /*#__PURE__*/React.createElement("div", _extends({
|
|
74
|
+
className: `${style.textStyle} ${style[`font_${fontWeight}`]} ${className ? className : ''}`
|
|
75
|
+
}, SecondaryTextProps), secondaryAccountText))))));
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
}
|