@zohodesk/dot 1.0.0-beta.250 → 1.0.0-beta.251
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/es/ActionButton/ActionButton.js +3 -3
- package/es/Drawer/index.js +1 -0
- package/es/alert/index.js +2 -0
- package/es/avatar/index.js +7 -0
- package/es/deprecated/FreezeLayer/FreezeLayer.js +1 -1
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +6 -1
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +1 -2
- package/es/dropdown/ToggleDropDown/props/defaultProps.js +2 -1
- package/es/dropdown/ToggleDropDown/props/propTypes.js +2 -1
- package/es/errorstate/index.js +8 -0
- package/es/form/fields/index.js +16 -0
- package/es/form/layout/index.js +2 -0
- package/es/index.js +51 -4
- package/es/list/Icons/index.js +7 -0
- package/es/list/index.js +17 -0
- package/es/list/status/StatusDropdown/StatusDropdown.js +3 -1
- package/es/list/status/StatusDropdown/props/defaultProps.js +2 -1
- package/es/list/status/StatusDropdown/props/propTypes.js +2 -1
- package/es/list/status/StatusListItem/StatusListItem.js +3 -2
- package/es/list/status/StatusListItem/StatusListItem.module.css +5 -2
- package/es/list/status/StatusListItem/props/defaultProps.js +2 -1
- package/es/list/status/StatusListItem/props/propTypes.js +1 -0
- package/es/list/status/index.js +2 -0
- package/es/lookup/header/index.js +5 -0
- package/es/lookup/index.js +5 -0
- package/es/setup/header/index.js +4 -0
- package/es/setup/helptips/index.js +4 -0
- package/es/setup/index.js +6 -0
- package/es/setup/table/index.js +5 -0
- package/es/svg/index.js +3 -0
- package/es/version2/alertIcons/index.js +8 -0
- package/es/version2/errorstate/index.js +6 -0
- package/es/version2/index.js +12 -0
- package/es/version2/lookup/index.js +2 -0
- package/es/version2/notification/index.js +3 -0
- package/lib/ActionButton/ActionButton.js +3 -3
- package/lib/Drawer/index.js +33 -0
- package/lib/alert/index.js +20 -0
- package/lib/avatar/index.js +55 -0
- package/lib/deprecated/FreezeLayer/FreezeLayer.js +1 -1
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +6 -1
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +1 -2
- package/lib/dropdown/ToggleDropDown/props/defaultProps.js +2 -1
- package/lib/dropdown/ToggleDropDown/props/propTypes.js +2 -1
- package/lib/errorstate/index.js +62 -0
- package/lib/form/fields/index.js +118 -0
- package/lib/form/layout/index.js +20 -0
- package/lib/index.js +269 -29
- package/lib/list/Icons/index.js +55 -0
- package/lib/list/index.js +152 -0
- package/lib/list/status/StatusDropdown/StatusDropdown.js +3 -1
- package/lib/list/status/StatusDropdown/props/defaultProps.js +2 -1
- package/lib/list/status/StatusDropdown/props/propTypes.js +1 -1
- package/lib/list/status/StatusListItem/StatusListItem.js +3 -2
- package/lib/list/status/StatusListItem/StatusListItem.module.css +5 -2
- package/lib/list/status/StatusListItem/props/defaultProps.js +2 -1
- package/lib/list/status/StatusListItem/props/propTypes.js +1 -0
- package/lib/list/status/index.js +20 -0
- package/lib/lookup/header/index.js +41 -0
- package/lib/lookup/index.js +33 -0
- package/lib/setup/header/index.js +34 -0
- package/lib/setup/helptips/index.js +34 -0
- package/lib/setup/index.js +15 -0
- package/lib/setup/table/index.js +41 -0
- package/lib/svg/index.js +27 -0
- package/lib/version2/alertIcons/index.js +62 -0
- package/lib/version2/errorstate/index.js +48 -0
- package/lib/version2/index.js +44 -0
- package/lib/version2/lookup/index.js +20 -0
- package/lib/version2/notification/index.js +29 -0
- package/package.json +10 -8
- /package/es/deprecated/FreezeLayer/{FreezeLayer.module.css → _FreezeLayer.module.css} +0 -0
- /package/lib/deprecated/FreezeLayer/{FreezeLayer.module.css → _FreezeLayer.module.css} +0 -0
package/README.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
In this Library, we Provide Some Basic Components to Build Your Application
|
|
4
4
|
|
|
5
|
+
# 1.0.0-beta.251
|
|
6
|
+
|
|
7
|
+
- **ToggleDropdown, StatusDropdown, StatusListItem** - Added New Prop `needMultiLineText`
|
|
8
|
+
|
|
5
9
|
# 1.0.0-beta.250
|
|
6
10
|
|
|
7
11
|
- - **FreezeLayer** - converted to functional component
|
|
@@ -135,7 +135,7 @@ export class ActionButton extends React.Component {
|
|
|
135
135
|
}
|
|
136
136
|
ActionButton.defaultProps = defaultProps;
|
|
137
137
|
ActionButton.propTypes = propTypes;
|
|
138
|
-
ActionButton.docs = {
|
|
139
|
-
|
|
140
|
-
};
|
|
138
|
+
// ActionButton.docs = {
|
|
139
|
+
// componentGroup: 'Atom'
|
|
140
|
+
// };
|
|
141
141
|
export default Popup(ActionButton);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Header, Content, Footer, default as Drawer } from './Drawer';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as AvatarClose } from './AvatarClose/AvatarClose';
|
|
2
|
+
export { default as AvatarCollision } from './AvatarCollision/AvatarCollision';
|
|
3
|
+
export { default as AvatarIcon } from './AvatarIcon/AvatarIcon';
|
|
4
|
+
export { default as AvatarStatus } from './AvatarStatus/AvatarStatus';
|
|
5
|
+
export { default as AvatarThread } from './AvatarThread/AvatarThread';
|
|
6
|
+
export { default as AvatarUser } from './AvatarUser/AvatarUser';
|
|
7
|
+
export { default as AvatarWithTeam } from './AvatarWithTeam/AvatarWithTeam';
|
|
@@ -3,7 +3,7 @@ import { defaultProps } from './props/defaultProps';
|
|
|
3
3
|
import { propTypes } from './props/propTypes';
|
|
4
4
|
import { Container } from '@zohodesk/components/lib/Layout';
|
|
5
5
|
import VelocityAnimationGroup from '@zohodesk/components/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup';
|
|
6
|
-
import style from './
|
|
6
|
+
import style from './_FreezeLayer.module.css';
|
|
7
7
|
import { getZIndex } from '@zohodesk/components/lib/Provider/ZindexProvider';
|
|
8
8
|
import { getDotLibraryConfig } from '../Provider/Config';
|
|
9
9
|
export default class FreezeLayer extends Component {
|
|
@@ -519,7 +519,8 @@ export class ToggleDropDown extends Component {
|
|
|
519
519
|
hoverType,
|
|
520
520
|
palette,
|
|
521
521
|
getFooter,
|
|
522
|
-
customProps
|
|
522
|
+
customProps,
|
|
523
|
+
needMultiLineText
|
|
523
524
|
} = this.props;
|
|
524
525
|
let {
|
|
525
526
|
ToggleDropDownProps = {},
|
|
@@ -711,6 +712,7 @@ export class ToggleDropDown extends Component {
|
|
|
711
712
|
getRef: this.itemRef,
|
|
712
713
|
title: title ? title : item[keyName],
|
|
713
714
|
palette: palette,
|
|
715
|
+
needMultiLineText: needMultiLineText,
|
|
714
716
|
a11y: {
|
|
715
717
|
role: isSearch ? 'option' : 'menuitem',
|
|
716
718
|
ariaSelected: selectedId === item[idName],
|
|
@@ -733,6 +735,7 @@ export class ToggleDropDown extends Component {
|
|
|
733
735
|
getRef: this.itemRef,
|
|
734
736
|
title: title ? title : item[keyName],
|
|
735
737
|
palette: palette,
|
|
738
|
+
needMultiLineText: needMultiLineText,
|
|
736
739
|
a11y: {
|
|
737
740
|
role: isSearch ? 'option' : 'menuitem',
|
|
738
741
|
ariaSelected: selectedId === item[idName],
|
|
@@ -780,6 +783,7 @@ export class ToggleDropDown extends Component {
|
|
|
780
783
|
title: title ? title : item[keyName],
|
|
781
784
|
key: listIndex,
|
|
782
785
|
palette: palette,
|
|
786
|
+
needMultiLineText: needMultiLineText,
|
|
783
787
|
a11y: {
|
|
784
788
|
role: isSearch ? 'option' : 'menuitem',
|
|
785
789
|
ariaSelected: selectedId === item[idName],
|
|
@@ -802,6 +806,7 @@ export class ToggleDropDown extends Component {
|
|
|
802
806
|
getRef: this.itemRef,
|
|
803
807
|
title: title ? title : item[keyName],
|
|
804
808
|
palette: palette,
|
|
809
|
+
needMultiLineText: needMultiLineText,
|
|
805
810
|
a11y: {
|
|
806
811
|
role: isSearch ? 'option' : 'menuitem',
|
|
807
812
|
ariaSelected: selectedId === item[idName],
|
|
@@ -40,8 +40,7 @@
|
|
|
40
40
|
visibility: visible;
|
|
41
41
|
}
|
|
42
42
|
.value {
|
|
43
|
-
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
44
|
-
composes: offSelection from '~@zohodesk/components/lib/common/common.module.css';
|
|
43
|
+
composes: dotted offSelection from '~@zohodesk/components/lib/common/common.module.css';
|
|
45
44
|
}
|
|
46
45
|
.search {
|
|
47
46
|
padding: var(--zd_size6) var(--zd_size20) 0;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { default as Inconvenience } from './Inconvenience/Inconvenience';
|
|
2
|
+
export { default as LinkText } from './LinkText/LinkText';
|
|
3
|
+
export { default as NoRequestFound } from './NoRequestFound/NoRequestFound';
|
|
4
|
+
export { default as PermissionPlay } from './PermissionPlay/PermissionPlay';
|
|
5
|
+
export { default as RequestUrlNotFound } from './RequestUrlNotFound/RequestUrlNotFound';
|
|
6
|
+
export { default as UnableToProcess } from './UnableToProcess/UnableToProcess';
|
|
7
|
+
export { default as UnauthorizedLogin } from './UnauthorizedLogin/UnauthorizedLogin';
|
|
8
|
+
export { default as WillBack } from './WillBack/WillBack';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export { default as CheckBoxField } from './CheckBoxField/CheckBoxField';
|
|
2
|
+
export { default as CurrencyField } from './CurrencyField/CurrencyField';
|
|
3
|
+
export { default as DateField } from './DateField/DateField';
|
|
4
|
+
export { default as FieldContainer } from './FieldContainer/FieldContainer';
|
|
5
|
+
export { default as MultiSelectField } from './MultiSelectField/MultiSelectField';
|
|
6
|
+
export { default as PhoneField } from './PhoneField/PhoneField';
|
|
7
|
+
export { default as RadioField } from './RadioField/RadioField';
|
|
8
|
+
export { default as SelectField } from './SelectField/SelectField';
|
|
9
|
+
export { default as TagsMultiSelect } from './TagsMultiSelect/TagsMultiSelect';
|
|
10
|
+
export { default as TagsMultiSelectField } from './TagsMultiSelectField/TagsMultiSelectField';
|
|
11
|
+
export { default as TextareaField } from './TextareaField/TextareaField';
|
|
12
|
+
export { default as TextBoxField } from './TextBoxField/TextBoxField';
|
|
13
|
+
export { default as TextEditor } from './TextEditor/TextEditor';
|
|
14
|
+
export { default as TextEditorField } from './TextEditorField/TextEditorField';
|
|
15
|
+
export { default as TextEditorWrapper } from './TextEditorWrapper/TextEditorWrapper';
|
|
16
|
+
export { default as ValidationMessage } from './ValidationMessage/ValidationMessage';
|
package/es/index.js
CHANGED
|
@@ -1,4 +1,51 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export * from './
|
|
4
|
-
export
|
|
1
|
+
export { default as ActionButton } from './ActionButton/ActionButton';
|
|
2
|
+
export { default as AutoClose } from './actions/AutoClose';
|
|
3
|
+
export * from './alert';
|
|
4
|
+
export { default as AlphabeticList } from './AlphabeticList/AlphabeticList';
|
|
5
|
+
export { default as Attachment } from './Attachment/Attachment';
|
|
6
|
+
export { default as AttachmentViewer } from './AttachmentViewer/AttachmentViewer';
|
|
7
|
+
export * from './avatar';
|
|
8
|
+
export { default as ChannelIcon } from './ChannelIcon/ChannelIcon';
|
|
9
|
+
import * as _Drawer from './Drawer/Drawer';
|
|
10
|
+
export { _Drawer as Drawer };
|
|
11
|
+
export { default as ToggleDropDown } from './dropdown/ToggleDropDown/ToggleDropDown';
|
|
12
|
+
export { default as CommonEmptyState } from './emptystate/CommonEmptyState/CommonEmptyState';
|
|
13
|
+
export { default as EditionPage } from './emptystate/EditionPage/EditionPage';
|
|
14
|
+
import * as _errorstate from './errorstate';
|
|
15
|
+
export { _errorstate as errorstate };
|
|
16
|
+
export { default as ExternalLink } from './ExternalLink/ExternalLink';
|
|
17
|
+
export { default as FlipCard } from './FlipCard/FlipCard';
|
|
18
|
+
import * as _fields from './form/fields';
|
|
19
|
+
export { _fields as fields };
|
|
20
|
+
import * as _fields_layout from './form/layout/';
|
|
21
|
+
export { _fields_layout as fields_layout };
|
|
22
|
+
export { default as FormAction } from './FormAction/FormAction';
|
|
23
|
+
export { default as FreezeLayer } from './FreezeLayer/FreezeLayer';
|
|
24
|
+
export { default as IconButton } from './IconButton/IconButton';
|
|
25
|
+
export { default as Image } from './Image/Image';
|
|
26
|
+
export { default as ImportantNotes } from './ImportantNotes/ImportantNotes';
|
|
27
|
+
import * as _SetupDetailLayout from './layout/SetupDetailLayout';
|
|
28
|
+
export { _SetupDetailLayout as SetupDetailLayout };
|
|
29
|
+
import * as _SubtabLayout from './layout/SubtabLayout';
|
|
30
|
+
export { _SubtabLayout as SubtabLayout };
|
|
31
|
+
export { default as Link } from './Link/Link';
|
|
32
|
+
import * as _list from './list';
|
|
33
|
+
export { _list as list };
|
|
34
|
+
export { default as Loader } from './Loader/Loader';
|
|
35
|
+
export { default as Message, MessageUI, MessageNew } from './Message/Message';
|
|
36
|
+
export { default as MessageBanner } from './MessageBanner/MessageBanner';
|
|
37
|
+
export { default as NewStar } from './NewStar/NewStar';
|
|
38
|
+
export { default as PlusIcon } from './PlusIcon/PlusIcon';
|
|
39
|
+
import * as _Provider from './Provider/Config';
|
|
40
|
+
export { _Provider as Provider };
|
|
41
|
+
import * as _lookup from './lookup';
|
|
42
|
+
export { _lookup as lookup };
|
|
43
|
+
export { default as Separator } from './Separator/Separator';
|
|
44
|
+
import * as _setup from './setup';
|
|
45
|
+
export { _setup as setup };
|
|
46
|
+
import * as _svg from './svg';
|
|
47
|
+
export { _svg as svg };
|
|
48
|
+
export { default as ToastMessage } from './ToastMessage/ToastMessage';
|
|
49
|
+
export { default as Upload } from './Upload/Upload';
|
|
50
|
+
import * as _version from './version2';
|
|
51
|
+
export { _version as version2 };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as AddNewIcon } from './AddNewIcon';
|
|
2
|
+
export { default as CompleteIcon } from './CompleteIcon';
|
|
3
|
+
export { default as DeleteComponent } from './DeleteComponent';
|
|
4
|
+
export { default as EditIcon } from './EditIcon';
|
|
5
|
+
export { default as FloatingIcons } from './FloatingIcons';
|
|
6
|
+
export { default as ReadUnreadIcon } from './ReadUnreadIcon';
|
|
7
|
+
export { default as SmartIcon } from './SmartIcon';
|
package/es/list/index.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export { default as AvatarFlip } from './AvatarFlip/AvatarFlip';
|
|
2
|
+
export { default as BluePrintStatus } from './BluePrintStatus/BluePrintStatus';
|
|
3
|
+
export { default as Comment } from './Comment/Comment';
|
|
4
|
+
export { default as DepartmentDropDown } from './DepartmentDropDown/DepartmentDropDown';
|
|
5
|
+
export { default as Dot } from './Dot/Dot';
|
|
6
|
+
export { default as DotNew } from './DotNew/DotNew';
|
|
7
|
+
export { default as GridStencils } from './GridStencils/GridStencils';
|
|
8
|
+
export { default as ListLayout, Column } from './ListLayout/ListLayout';
|
|
9
|
+
export { default as ListStencils } from './ListStencils/ListStencils';
|
|
10
|
+
export { default as SecondryPanel, SecondryPanelUL, SecondryPanelLI, SecondryPanelItem } from './SecondryPanel/SecondryPanel';
|
|
11
|
+
export { default as SentimentStatus } from './SentimentStatus/SentimentStatus';
|
|
12
|
+
export { default as StatusDropdown } from './status/StatusDropdown/StatusDropdown';
|
|
13
|
+
export { default as StatusListItem } from './status/StatusListItem/StatusListItem';
|
|
14
|
+
export { default as Subject } from './Subject/Subject';
|
|
15
|
+
export { default as TagNew } from './TagNew/TagNew';
|
|
16
|
+
export { default as Thread } from './Thread/Thread';
|
|
17
|
+
export { default as UserTime } from './UserTime/UserTime';
|
|
@@ -275,7 +275,8 @@ export class StatusDropdown extends React.Component {
|
|
|
275
275
|
arrowIconPosition,
|
|
276
276
|
statusColor,
|
|
277
277
|
needExternalPopupState = false,
|
|
278
|
-
isPopupActive = false
|
|
278
|
+
isPopupActive = false,
|
|
279
|
+
needMultiLineText
|
|
279
280
|
} = this.props;
|
|
280
281
|
let isPopupOpen = needExternalPopupState ? isPopupActive && isOpen : isOpen;
|
|
281
282
|
let {
|
|
@@ -396,6 +397,7 @@ export class StatusDropdown extends React.Component {
|
|
|
396
397
|
getRef: this.itemRef,
|
|
397
398
|
bulletColor: item[statusColor],
|
|
398
399
|
title: item[keyName],
|
|
400
|
+
needMultiLineText: needMultiLineText,
|
|
399
401
|
a11y: {
|
|
400
402
|
role: isSearch ? 'option' : 'menuitem',
|
|
401
403
|
ariaSelected: value === item[keyName]
|
|
@@ -46,5 +46,6 @@ export const propTypes = {
|
|
|
46
46
|
targetAlign: PropTypes.oneOf(['vertical', 'horizontal', 'both', 'top', 'right', 'bottom', 'left', 'between', 'around']),
|
|
47
47
|
title: PropTypes.string,
|
|
48
48
|
togglePopup: PropTypes.func,
|
|
49
|
-
value: PropTypes.node
|
|
49
|
+
value: PropTypes.node,
|
|
50
|
+
needMultiLineText: PropTypes.bool
|
|
50
51
|
};
|
|
@@ -60,7 +60,8 @@ export default class StatusListItem extends React.Component {
|
|
|
60
60
|
needBorder,
|
|
61
61
|
isDisabled,
|
|
62
62
|
bulletColor,
|
|
63
|
-
a11y
|
|
63
|
+
a11y,
|
|
64
|
+
needMultiLineText
|
|
64
65
|
} = this.props;
|
|
65
66
|
let options = {};
|
|
66
67
|
let {
|
|
@@ -92,7 +93,7 @@ export default class StatusListItem extends React.Component {
|
|
|
92
93
|
"data-title": isDisabled ? null : title,
|
|
93
94
|
flexible: true,
|
|
94
95
|
shrink: true,
|
|
95
|
-
className: style.value
|
|
96
|
+
className: needMultiLineText ? style.multiLineValue : style.value
|
|
96
97
|
}, value), needTick && active ? /*#__PURE__*/React.createElement("div", {
|
|
97
98
|
className: style.tickIcon,
|
|
98
99
|
"aria-hidden": ariaHidden
|
|
@@ -33,11 +33,14 @@
|
|
|
33
33
|
.value {
|
|
34
34
|
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
35
35
|
}
|
|
36
|
-
|
|
36
|
+
.multiLineValue{
|
|
37
|
+
word-break: break-word;
|
|
38
|
+
line-height: var(--zd_size18);
|
|
39
|
+
composes: clamp from '~@zohodesk/components/lib/common/common.module.css';
|
|
40
|
+
}
|
|
37
41
|
[dir=ltr] .withBorder.active {
|
|
38
42
|
border-left-color: var(--zdt_statuslistitem_default_active_border);
|
|
39
43
|
}
|
|
40
|
-
|
|
41
44
|
[dir=rtl] .withBorder.active {
|
|
42
45
|
border-right-color: var(--zdt_statuslistitem_default_active_border);
|
|
43
46
|
}
|
|
@@ -20,6 +20,7 @@ export const propTypes = {
|
|
|
20
20
|
target: PropTypes.oneOf(['blank', 'self']),
|
|
21
21
|
title: PropTypes.string,
|
|
22
22
|
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,
|
|
23
|
+
needMultiLineText: PropTypes.bool,
|
|
23
24
|
a11y: PropTypes.shape({
|
|
24
25
|
role: PropTypes.string,
|
|
25
26
|
ariaSelected: PropTypes.bool,
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as Close } from './Close/Close';
|
|
2
|
+
export { default as ModuleHeader } from './ModuleHeader/ModuleHeader';
|
|
3
|
+
export { default as Search } from './Search/Search';
|
|
4
|
+
export { default as TicketHeader } from './TicketHeader/TicketHeader';
|
|
5
|
+
export { default as ViewDropDown } from './ViewDropDown/ViewDropDown';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as Table } from './Table/Table';
|
|
2
|
+
export { default as TableBody } from './TableBody/TableBody';
|
|
3
|
+
export { default as TableData } from './TableData/TableData';
|
|
4
|
+
export { default as TableHead } from './TableHead/TableHead';
|
|
5
|
+
export { default as TableRow } from './TableRow/TableRow';
|
package/es/svg/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { default as AlarmAlertIcon } from './AlarmAlertIcon';
|
|
2
|
+
export { default as AlertIcons } from './AlertIcons';
|
|
3
|
+
export { default as DangerAlertIcon } from './DangerAlertIcon';
|
|
4
|
+
export { default as ErrorAlertIcon } from './ErrorAlertIcon';
|
|
5
|
+
export { default as InfoAlertIcon } from './InfoAlertIcon';
|
|
6
|
+
export { default as NotificationAlertIcon } from './NotificationAlertIcon';
|
|
7
|
+
export { default as SuccessAlertIcon } from './SuccessAlertIcon';
|
|
8
|
+
export { default as WarningAlertIcon } from './WarningAlertIcon';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { default as Inconvenience } from './Inconvenience/Inconvenience';
|
|
2
|
+
export { default as OopsSomethingMiss } from './OopsSomethingMiss/OopsSomethingMiss';
|
|
3
|
+
export { default as UnableToProcessRequest } from './UnableToProcessRequest/UnableToProcessRequest';
|
|
4
|
+
export { default as UnauthorizedLogin } from './UnauthorizedLogin/UnauthorizedLogin';
|
|
5
|
+
export { default as UrlNotFound } from './UrlNotFound/UrlNotFound';
|
|
6
|
+
export { default as WillBeRightBack } from './WillBeRightBack/WillBeRightBack';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { default as AlertClose } from './AlertClose/AlertClose';
|
|
2
|
+
import * as _alertIcons from './alertIcons';
|
|
3
|
+
export { _alertIcons as alertIcons };
|
|
4
|
+
import * as _errorstate from './errorstate';
|
|
5
|
+
export { _errorstate as errorstate };
|
|
6
|
+
export { default as GlobalNotification } from './GlobalNotification/GlobalNotification';
|
|
7
|
+
export { GlobalNotificationUI } from './GlobalNotification/GlobalNotification';
|
|
8
|
+
export { GlobalNotificationNew } from './GlobalNotification/GlobalNotification';
|
|
9
|
+
import * as _lookup from './lookup';
|
|
10
|
+
export { _lookup as lookup };
|
|
11
|
+
import * as _notification from './notification';
|
|
12
|
+
export { _notification as notification };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { DesktopNotificationUI } from './DesktopNotification/DesktopNotification';
|
|
2
|
+
export { default as DesktopNotification } from './DesktopNotification/DesktopNotification';
|
|
3
|
+
export { default as DesktopNotificationHeader } from './DesktopNotificationHeader/DesktopNotificationHeader';
|
|
@@ -165,8 +165,8 @@ var ActionButton = /*#__PURE__*/function (_React$Component) {
|
|
|
165
165
|
exports.ActionButton = ActionButton;
|
|
166
166
|
ActionButton.defaultProps = _defaultProps.defaultProps;
|
|
167
167
|
ActionButton.propTypes = _propTypes.propTypes;
|
|
168
|
-
ActionButton.docs = {
|
|
169
|
-
|
|
170
|
-
};
|
|
168
|
+
// ActionButton.docs = {
|
|
169
|
+
// componentGroup: 'Atom'
|
|
170
|
+
// };
|
|
171
171
|
var _default = (0, _Popup["default"])(ActionButton);
|
|
172
172
|
exports["default"] = _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
Object.defineProperty(exports, "Content", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function get() {
|
|
10
|
+
return _Drawer.Content;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "Drawer", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function get() {
|
|
16
|
+
return _Drawer["default"];
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "Footer", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function get() {
|
|
22
|
+
return _Drawer.Footer;
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(exports, "Header", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function get() {
|
|
28
|
+
return _Drawer.Header;
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
var _Drawer = _interopRequireWildcard(require("./Drawer"));
|
|
32
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
33
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "AlertHeader", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _AlertHeader["default"];
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "AlertLookup", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function get() {
|
|
15
|
+
return _AlertLookup["default"];
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
var _AlertHeader = _interopRequireDefault(require("./AlertHeader/AlertHeader"));
|
|
19
|
+
var _AlertLookup = _interopRequireDefault(require("./AlertLookup/AlertLookup"));
|
|
20
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "AvatarClose", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _AvatarClose["default"];
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "AvatarCollision", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function get() {
|
|
15
|
+
return _AvatarCollision["default"];
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "AvatarIcon", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function get() {
|
|
21
|
+
return _AvatarIcon["default"];
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "AvatarStatus", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function get() {
|
|
27
|
+
return _AvatarStatus["default"];
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "AvatarThread", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function get() {
|
|
33
|
+
return _AvatarThread["default"];
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "AvatarUser", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function get() {
|
|
39
|
+
return _AvatarUser["default"];
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "AvatarWithTeam", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function get() {
|
|
45
|
+
return _AvatarWithTeam["default"];
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
var _AvatarClose = _interopRequireDefault(require("./AvatarClose/AvatarClose"));
|
|
49
|
+
var _AvatarCollision = _interopRequireDefault(require("./AvatarCollision/AvatarCollision"));
|
|
50
|
+
var _AvatarIcon = _interopRequireDefault(require("./AvatarIcon/AvatarIcon"));
|
|
51
|
+
var _AvatarStatus = _interopRequireDefault(require("./AvatarStatus/AvatarStatus"));
|
|
52
|
+
var _AvatarThread = _interopRequireDefault(require("./AvatarThread/AvatarThread"));
|
|
53
|
+
var _AvatarUser = _interopRequireDefault(require("./AvatarUser/AvatarUser"));
|
|
54
|
+
var _AvatarWithTeam = _interopRequireDefault(require("./AvatarWithTeam/AvatarWithTeam"));
|
|
55
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -10,7 +10,7 @@ var _defaultProps = require("./props/defaultProps");
|
|
|
10
10
|
var _propTypes = require("./props/propTypes");
|
|
11
11
|
var _Layout = require("@zohodesk/components/lib/Layout");
|
|
12
12
|
var _VelocityAnimationGroup = _interopRequireDefault(require("@zohodesk/components/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup"));
|
|
13
|
-
var _FreezeLayerModule = _interopRequireDefault(require("./
|
|
13
|
+
var _FreezeLayerModule = _interopRequireDefault(require("./_FreezeLayer.module.css"));
|
|
14
14
|
var _ZindexProvider = require("@zohodesk/components/lib/Provider/ZindexProvider");
|
|
15
15
|
var _Config = require("../Provider/Config");
|
|
16
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -568,7 +568,8 @@ var ToggleDropDown = /*#__PURE__*/function (_Component) {
|
|
|
568
568
|
hoverType = _this$props12.hoverType,
|
|
569
569
|
palette = _this$props12.palette,
|
|
570
570
|
getFooter = _this$props12.getFooter,
|
|
571
|
-
customProps = _this$props12.customProps
|
|
571
|
+
customProps = _this$props12.customProps,
|
|
572
|
+
needMultiLineText = _this$props12.needMultiLineText;
|
|
572
573
|
var _customProps$ToggleDr = customProps.ToggleDropDownProps,
|
|
573
574
|
ToggleDropDownProps = _customProps$ToggleDr === void 0 ? {} : _customProps$ToggleDr,
|
|
574
575
|
_customProps$DropBoxP = customProps.DropBoxProps,
|
|
@@ -757,6 +758,7 @@ var ToggleDropDown = /*#__PURE__*/function (_Component) {
|
|
|
757
758
|
getRef: _this6.itemRef,
|
|
758
759
|
title: title ? title : item[keyName],
|
|
759
760
|
palette: palette,
|
|
761
|
+
needMultiLineText: needMultiLineText,
|
|
760
762
|
a11y: {
|
|
761
763
|
role: isSearch ? 'option' : 'menuitem',
|
|
762
764
|
ariaSelected: selectedId === item[idName],
|
|
@@ -779,6 +781,7 @@ var ToggleDropDown = /*#__PURE__*/function (_Component) {
|
|
|
779
781
|
getRef: _this6.itemRef,
|
|
780
782
|
title: title ? title : item[keyName],
|
|
781
783
|
palette: palette,
|
|
784
|
+
needMultiLineText: needMultiLineText,
|
|
782
785
|
a11y: {
|
|
783
786
|
role: isSearch ? 'option' : 'menuitem',
|
|
784
787
|
ariaSelected: selectedId === item[idName],
|
|
@@ -826,6 +829,7 @@ var ToggleDropDown = /*#__PURE__*/function (_Component) {
|
|
|
826
829
|
title: title ? title : item[keyName],
|
|
827
830
|
key: listIndex,
|
|
828
831
|
palette: palette,
|
|
832
|
+
needMultiLineText: needMultiLineText,
|
|
829
833
|
a11y: {
|
|
830
834
|
role: isSearch ? 'option' : 'menuitem',
|
|
831
835
|
ariaSelected: selectedId === item[idName],
|
|
@@ -848,6 +852,7 @@ var ToggleDropDown = /*#__PURE__*/function (_Component) {
|
|
|
848
852
|
getRef: _this6.itemRef,
|
|
849
853
|
title: title ? title : item[keyName],
|
|
850
854
|
palette: palette,
|
|
855
|
+
needMultiLineText: needMultiLineText,
|
|
851
856
|
a11y: {
|
|
852
857
|
role: isSearch ? 'option' : 'menuitem',
|
|
853
858
|
ariaSelected: selectedId === item[idName],
|
|
@@ -40,8 +40,7 @@
|
|
|
40
40
|
visibility: visible;
|
|
41
41
|
}
|
|
42
42
|
.value {
|
|
43
|
-
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
44
|
-
composes: offSelection from '~@zohodesk/components/lib/common/common.module.css';
|
|
43
|
+
composes: dotted offSelection from '~@zohodesk/components/lib/common/common.module.css';
|
|
45
44
|
}
|
|
46
45
|
.search {
|
|
47
46
|
padding: var(--zd_size6) var(--zd_size20) 0;
|
|
@@ -74,6 +74,7 @@ var propTypes = {
|
|
|
74
74
|
ListItemWithIconProps: _propTypes["default"].object,
|
|
75
75
|
ListItemProps: _propTypes["default"].object
|
|
76
76
|
}),
|
|
77
|
-
preventPopupClose: _propTypes["default"].bool
|
|
77
|
+
preventPopupClose: _propTypes["default"].bool,
|
|
78
|
+
needMultiLineText: _propTypes["default"].bool
|
|
78
79
|
};
|
|
79
80
|
exports.propTypes = propTypes;
|