@zohodesk/dot 1.2.4 → 1.3.0-temp-158
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/PropLessFiles.html +1 -1
- package/.cli/PropValidationExcludeFilesArray.js +1 -1
- package/.cli/propValidation_report.html +1 -1
- package/README.md +20 -9
- package/assets/Appearance/dark/themes/blue/blue_DotTheme_DarkTheme.module.css +1 -1
- package/assets/Appearance/dark/themes/green/green_DotTheme_DarkTheme.module.css +1 -1
- package/assets/Appearance/dark/themes/orange/orange_DotTheme_DarkTheme.module.css +1 -1
- package/assets/Appearance/dark/themes/red/red_DotTheme_DarkTheme.module.css +1 -1
- package/assets/Appearance/dark/themes/yellow/yellow_DotTheme_DarkTheme.module.css +1 -1
- package/assets/Appearance/light/themes/blue/blue_DotTheme_LightTheme.module.css +1 -1
- package/assets/Appearance/light/themes/green/green_DotTheme_LightTheme.module.css +1 -1
- package/assets/Appearance/light/themes/orange/orange_DotTheme_LightTheme.module.css +1 -1
- package/assets/Appearance/light/themes/red/red_DotTheme_LightTheme.module.css +1 -1
- package/assets/Appearance/light/themes/yellow/yellow_DotTheme_LightTheme.module.css +1 -1
- package/assets/Appearance/pureDark/themes/blue/blue_DotTheme_PureDarkTheme.module.css +1 -1
- package/assets/Appearance/pureDark/themes/green/green_DotTheme_PureDarkTheme.module.css +1 -1
- package/assets/Appearance/pureDark/themes/orange/orange_DotTheme_PureDarkTheme.module.css +1 -1
- package/assets/Appearance/pureDark/themes/red/red_DotTheme_PureDarkTheme.module.css +1 -1
- package/assets/Appearance/pureDark/themes/yellow/yellow_DotTheme_PureDarkTheme.module.css +1 -1
- 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 +466 -0
- package/coverage/IconButton/IconButton.module.css.html +151 -0
- package/coverage/IconButton/index.html +131 -0
- package/coverage/IconButton/props/defaultProps.js.html +136 -0
- package/coverage/IconButton/props/index.html +131 -0
- package/coverage/IconButton/props/propTypes.js.html +187 -0
- package/coverage/Image/Image.js.html +1 -1
- package/coverage/Image/Image.module.css.html +1 -1
- package/coverage/Image/index.html +1 -1
- package/coverage/Image/props/defaultProps.js.html +1 -1
- package/coverage/Image/props/index.html +1 -1
- package/coverage/Image/props/propTypes.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +1 -1
- package/coverage/avatar/AvatarWithTeam/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
- package/coverage/coverage-final.json +16 -12
- package/coverage/coverage-summary.json +17 -13
- package/coverage/index.html +40 -10
- package/es/Drawer/Drawer.js +3 -2
- package/es/IconButton/__tests__/IconButton.spec.js +148 -0
- package/es/IconButton/__tests__/__snapshots__/IconButton.spec.js.snap +316 -0
- package/es/form/fields/FieldContainer/props/propTypes.js +1 -1
- package/es/v1/ActionButton/ActionButton.js +11 -8
- package/es/v1/AlphabeticList/AlphabeticList.js +7 -3
- package/es/v1/Attachment/Attachment.js +79 -76
- package/es/v1/AttachmentViewer/AttachmentImage.js +44 -63
- package/es/v1/AttachmentViewer/AttachmentViewer.js +4 -4
- package/es/v1/ChannelIcon/ChannelIcon.js +1 -1
- package/es/v1/Drawer/Drawer.js +6 -6
- package/es/v1/FlipCard/FlipCard.js +4 -4
- package/es/v1/FormAction/FormAction.js +1 -1
- package/es/v1/FreezeLayer/FreezeLayer.js +3 -3
- package/es/v1/{version2/GlobalNotification → GlobalNotification}/GlobalNotification.js +7 -7
- package/es/v1/IconButton/IconButton.js +3 -3
- package/es/v1/Image/Image.js +26 -33
- package/es/v1/ImportantNotes/ImportantNotes.js +1 -1
- package/es/v1/Loader/Loader.js +12 -18
- package/es/v1/MessageBanner/MessageBanner.js +1 -1
- package/es/v1/NewStar/NewStar.js +1 -1
- package/es/v1/Separator/Separator.js +41 -48
- package/es/v1/TagWithIcon/TagWithIcon.js +1 -1
- package/es/v1/ToastMessage/ToastMessage.js +4 -4
- package/es/v1/Upload/Upload.js +60 -67
- package/es/v1/{version2 → alert}/AlertClose/AlertClose.js +1 -1
- package/es/v1/alert/AlertHeader/AlertHeader.js +58 -49
- package/es/v1/alert/AlertLookup/AlertLookup.js +101 -41
- package/es/v1/avatar/AvatarClose/AvatarClose.js +1 -1
- package/es/v1/avatar/AvatarCollision/AvatarCollision.js +1 -1
- package/es/v1/avatar/AvatarIcon/AvatarIcon.js +2 -2
- package/es/v1/avatar/AvatarStatus/AvatarStatus.js +1 -1
- package/es/v1/avatar/AvatarThread/AvatarThread.js +1 -1
- package/es/v1/avatar/AvatarUser/AvatarUser.js +1 -1
- package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +2 -2
- package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +18 -15
- package/es/v1/errorstate/Inconvenience/Inconvenience.js +53 -80
- package/es/v1/{version2/errorstate → errorstate}/OopsSomethingMiss/OopsSomethingMiss.js +6 -6
- package/es/v1/{version2/errorstate → errorstate}/UnableToProcessRequest/UnableToProcessRequest.js +6 -6
- package/es/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +54 -73
- package/es/v1/{version2/errorstate → errorstate}/UrlNotFound/UrlNotFound.js +6 -6
- package/es/v1/{version2/errorstate → errorstate}/WillBeRightBack/WillBeRightBack.js +6 -6
- package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +102 -118
- package/es/v1/form/fields/CurrencyField/CurrencyField.js +129 -155
- package/es/v1/form/fields/DateField/DateField.js +132 -163
- package/es/v1/form/fields/FieldContainer/FieldContainer.js +52 -57
- package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +144 -168
- package/es/v1/form/fields/PhoneField/PhoneField.js +129 -157
- package/es/v1/form/fields/RadioField/RadioField.js +91 -99
- package/es/v1/form/fields/SelectField/SelectField.js +141 -156
- package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +8 -8
- package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +8 -5
- package/es/v1/form/fields/TextBoxField/TextBoxField.js +3 -3
- package/es/v1/form/fields/TextEditor/TextEditor.js +1 -1
- package/es/v1/form/fields/TextEditorField/TextEditorField.js +1 -1
- package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +3 -3
- package/es/v1/form/fields/TextareaField/TextareaField.js +3 -3
- package/es/v1/form/fields/ValidationMessage/ValidationMessage.js +2 -2
- package/es/v1/layout/SetupDetailLayout/SetupDetailLayout.js +155 -198
- package/es/v1/layout/SubtabLayout/SubtabLayout.js +110 -126
- package/es/v1/list/AvatarFlip/AvatarFlip.js +61 -64
- package/es/v1/list/BluePrintStatus/BluePrintStatus.js +11 -18
- package/es/v1/list/Comment/Comment.js +25 -32
- package/es/v1/list/DepartmentDropDown/DepartmentDropDown.js +57 -72
- package/es/v1/list/Dot/Dot.js +9 -16
- package/es/v1/list/DotNew/DotNew.js +11 -18
- package/es/v1/list/GridStencils/GridStencils.js +21 -24
- package/es/v1/list/Icons/AddNewIcon.js +19 -22
- package/es/v1/list/Icons/CompleteIcon.js +21 -24
- package/es/v1/list/Icons/DeleteIcon.js +22 -25
- package/es/v1/list/Icons/EditIcon.js +22 -25
- package/es/v1/list/Icons/FloatingIcons.js +12 -19
- package/es/v1/list/Icons/ReadUnreadIcon.js +24 -27
- package/es/v1/list/Icons/SmartIcon.js +20 -23
- package/es/v1/list/ListLayout/ListLayout.js +54 -68
- package/es/v1/list/ListStencils/ListStencils.js +28 -31
- package/es/v1/list/SecondaryText/AccountName.js +1 -1
- package/es/v1/list/SecondaryText/ContactName.js +1 -1
- package/es/v1/list/SecondryPanel/SecondryPanel.js +1 -2
- package/es/v1/list/Thread/Thread.js +1 -1
- package/es/v1/list/UserTime/UserTime.js +1 -1
- package/es/v1/list/status/StatusDropdown/StatusDropdown.js +266 -357
- package/es/v1/list/status/StatusListItem/StatusListItem.js +77 -102
- package/es/v1/lookup/EmptyPage/EmptyPage.js +15 -26
- package/es/v1/lookup/Lookup/Lookup.js +4 -3
- package/es/v1/lookup/Section/Section.js +15 -21
- package/es/v1/lookup/header/ModuleHeader/ModuleHeader.js +1 -1
- package/es/v1/lookup/header/Search/Search.js +3 -3
- package/es/v1/lookup/header/TicketHeader/TicketHeader.js +1 -1
- package/es/v1/lookup/header/ViewDropDown/ViewDropDown.js +10 -9
- package/es/v1/{version2/notification → notification}/DesktopNotification/DesktopNotification.js +6 -6
- package/es/v1/{version2/notification → notification}/DesktopNotificationHeader/DesktopNotificationHeader.js +6 -6
- package/es/v1/setup/header/Button/Button.js +1 -1
- package/es/v1/setup/header/Link/Link.js +1 -1
- package/es/v1/setup/header/Search/Search.js +1 -1
- package/es/v1/setup/table/Table/Table.js +1 -1
- package/es/v1/setup/table/TableBody/TableBody.js +1 -1
- package/es/v1/setup/table/TableData/TableData.js +1 -1
- package/es/v1/setup/table/TableHead/TableHead.js +1 -1
- package/es/v1/setup/table/TableRow/TableRow.js +1 -1
- package/es/v1/svg/PlusIcon.js +20 -27
- package/es/v1/svg/SnippetIcon.js +22 -29
- package/es/v1/svg/TemplateIcon.js +23 -30
- package/lib/Drawer/Drawer.js +3 -2
- package/lib/IconButton/__tests__/IconButton.spec.js +156 -0
- package/lib/IconButton/__tests__/__snapshots__/IconButton.spec.js.snap +316 -0
- package/lib/form/fields/FieldContainer/props/propTypes.js +1 -1
- package/lib/v1/ActionButton/ActionButton.js +11 -9
- package/lib/v1/AlphabeticList/AlphabeticList.js +8 -6
- package/lib/v1/Attachment/Attachment.js +78 -113
- package/lib/v1/AttachmentViewer/AttachmentImage.js +61 -96
- package/lib/v1/AttachmentViewer/AttachmentViewer.js +4 -4
- package/lib/v1/ChannelIcon/ChannelIcon.js +1 -1
- package/lib/v1/Drawer/Drawer.js +6 -6
- package/lib/v1/FlipCard/FlipCard.js +4 -4
- package/lib/v1/FormAction/FormAction.js +1 -1
- package/lib/v1/FreezeLayer/FreezeLayer.js +3 -3
- package/lib/v1/{version2/GlobalNotification → GlobalNotification}/GlobalNotification.js +7 -7
- package/lib/v1/IconButton/IconButton.js +3 -3
- package/lib/v1/Image/Image.js +26 -71
- package/lib/v1/ImportantNotes/ImportantNotes.js +1 -1
- package/lib/v1/Loader/Loader.js +13 -56
- package/lib/v1/MessageBanner/MessageBanner.js +1 -1
- package/lib/v1/NewStar/NewStar.js +1 -1
- package/lib/v1/Separator/Separator.js +45 -86
- package/lib/v1/TagWithIcon/TagWithIcon.js +1 -1
- package/lib/v1/ToastMessage/ToastMessage.js +4 -4
- package/lib/v1/Upload/Upload.js +59 -104
- package/lib/v1/{version2 → alert}/AlertClose/AlertClose.js +1 -1
- package/lib/v1/alert/AlertHeader/AlertHeader.js +68 -50
- package/lib/v1/alert/AlertLookup/AlertLookup.js +109 -42
- package/lib/v1/avatar/AvatarClose/AvatarClose.js +1 -1
- package/lib/v1/avatar/AvatarCollision/AvatarCollision.js +1 -1
- package/lib/v1/avatar/AvatarIcon/AvatarIcon.js +2 -2
- package/lib/v1/avatar/AvatarStatus/AvatarStatus.js +1 -1
- package/lib/v1/avatar/AvatarThread/AvatarThread.js +1 -1
- package/lib/v1/avatar/AvatarUser/AvatarUser.js +1 -1
- package/lib/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +2 -2
- package/lib/v1/dropdown/ToggleDropDown/ToggleDropDown.js +18 -16
- package/lib/v1/errorstate/Inconvenience/Inconvenience.js +53 -115
- package/lib/v1/{version2/errorstate → errorstate}/OopsSomethingMiss/OopsSomethingMiss.js +6 -6
- package/lib/v1/{version2/errorstate → errorstate}/UnableToProcessRequest/UnableToProcessRequest.js +6 -6
- package/lib/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +54 -108
- package/lib/v1/{version2/errorstate → errorstate}/UrlNotFound/UrlNotFound.js +6 -6
- package/lib/v1/{version2/errorstate → errorstate}/WillBeRightBack/WillBeRightBack.js +6 -6
- package/lib/v1/form/fields/CheckBoxField/CheckBoxField.js +108 -160
- package/lib/v1/form/fields/CurrencyField/CurrencyField.js +153 -194
- package/lib/v1/form/fields/DateField/DateField.js +141 -207
- package/lib/v1/form/fields/FieldContainer/FieldContainer.js +60 -91
- package/lib/v1/form/fields/MultiSelectField/MultiSelectField.js +169 -229
- package/lib/v1/form/fields/PhoneField/PhoneField.js +151 -194
- package/lib/v1/form/fields/RadioField/RadioField.js +93 -139
- package/lib/v1/form/fields/SelectField/SelectField.js +152 -203
- package/lib/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +8 -8
- package/lib/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -8
- package/lib/v1/form/fields/TextBoxField/TextBoxField.js +3 -3
- package/lib/v1/form/fields/TextEditor/TextEditor.js +1 -1
- package/lib/v1/form/fields/TextEditorField/TextEditorField.js +1 -1
- package/lib/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +3 -3
- package/lib/v1/form/fields/TextareaField/TextareaField.js +3 -3
- package/lib/v1/form/fields/ValidationMessage/ValidationMessage.js +2 -2
- package/lib/v1/layout/SetupDetailLayout/SetupDetailLayout.js +161 -254
- package/lib/v1/layout/SubtabLayout/SubtabLayout.js +109 -208
- package/lib/v1/list/AvatarFlip/AvatarFlip.js +61 -106
- package/lib/v1/list/BluePrintStatus/BluePrintStatus.js +11 -51
- package/lib/v1/list/Comment/Comment.js +24 -69
- package/lib/v1/list/DepartmentDropDown/DepartmentDropDown.js +67 -122
- package/lib/v1/list/Dot/Dot.js +9 -54
- package/lib/v1/list/DotNew/DotNew.js +11 -56
- package/lib/v1/list/GridStencils/GridStencils.js +21 -62
- package/lib/v1/list/Icons/AddNewIcon.js +19 -60
- package/lib/v1/list/Icons/CompleteIcon.js +21 -62
- package/lib/v1/list/Icons/DeleteIcon.js +22 -63
- package/lib/v1/list/Icons/EditIcon.js +22 -63
- package/lib/v1/list/Icons/FloatingIcons.js +17 -62
- package/lib/v1/list/Icons/ReadUnreadIcon.js +24 -65
- package/lib/v1/list/Icons/SmartIcon.js +20 -65
- package/lib/v1/list/ListLayout/ListLayout.js +53 -116
- package/lib/v1/list/ListStencils/ListStencils.js +33 -72
- package/lib/v1/list/SecondaryText/AccountName.js +1 -1
- package/lib/v1/list/SecondaryText/ContactName.js +1 -1
- package/lib/v1/list/SecondryPanel/SecondryPanel.js +3 -5
- package/lib/v1/list/Thread/Thread.js +1 -1
- package/lib/v1/list/UserTime/UserTime.js +1 -1
- package/lib/v1/list/status/StatusDropdown/StatusDropdown.js +367 -472
- package/lib/v1/list/status/StatusListItem/StatusListItem.js +83 -139
- package/lib/v1/lookup/EmptyPage/EmptyPage.js +43 -93
- package/lib/v1/lookup/Lookup/Lookup.js +5 -3
- package/lib/v1/lookup/Section/Section.js +15 -59
- package/lib/v1/lookup/header/ModuleHeader/ModuleHeader.js +1 -1
- package/lib/v1/lookup/header/Search/Search.js +3 -3
- package/lib/v1/lookup/header/TicketHeader/TicketHeader.js +1 -1
- package/lib/v1/lookup/header/ViewDropDown/ViewDropDown.js +10 -9
- package/lib/v1/{version2/notification → notification}/DesktopNotification/DesktopNotification.js +6 -6
- package/lib/v1/{version2/notification → notification}/DesktopNotificationHeader/DesktopNotificationHeader.js +6 -6
- package/lib/v1/setup/header/Button/Button.js +1 -1
- package/lib/v1/setup/header/Link/Link.js +1 -1
- package/lib/v1/setup/header/Search/Search.js +1 -1
- package/lib/v1/setup/table/Table/Table.js +1 -1
- package/lib/v1/setup/table/TableBody/TableBody.js +1 -1
- package/lib/v1/setup/table/TableData/TableData.js +1 -1
- package/lib/v1/setup/table/TableHead/TableHead.js +1 -1
- package/lib/v1/setup/table/TableRow/TableRow.js +1 -1
- package/lib/v1/svg/PlusIcon.js +20 -65
- package/lib/v1/svg/SnippetIcon.js +22 -67
- package/lib/v1/svg/TemplateIcon.js +23 -68
- package/package.json +10 -10
- package/result.json +1 -1
- package/unittest/index.html +1 -1
- package/es/v1/errorstate/LinkText/LinkText.js +0 -29
- package/es/v1/errorstate/NoRequestFound/NoRequestFound.js +0 -84
- package/es/v1/errorstate/PermissionPlay/PermissionPlay.js +0 -83
- package/es/v1/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +0 -84
- package/es/v1/errorstate/UnableToProcess/UnableToProcess.js +0 -86
- package/es/v1/errorstate/WillBack/WillBack.js +0 -75
- package/es/v1/errorstate/index.js +0 -8
- package/es/v1/version2/errorstate/Inconvenience/Inconvenience.js +0 -63
- package/es/v1/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -65
- package/es/v1/version2/index.js +0 -12
- package/es/v1/version2/lookup/AlertHeader/AlertHeader.js +0 -79
- package/es/v1/version2/lookup/AlertLookup/AlertLookup.js +0 -164
- package/lib/v1/errorstate/LinkText/LinkText.js +0 -80
- package/lib/v1/errorstate/NoRequestFound/NoRequestFound.js +0 -135
- package/lib/v1/errorstate/PermissionPlay/PermissionPlay.js +0 -134
- package/lib/v1/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +0 -135
- package/lib/v1/errorstate/UnableToProcess/UnableToProcess.js +0 -137
- package/lib/v1/errorstate/WillBack/WillBack.js +0 -125
- package/lib/v1/errorstate/index.js +0 -71
- package/lib/v1/version2/errorstate/Inconvenience/Inconvenience.js +0 -79
- package/lib/v1/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -81
- package/lib/v1/version2/index.js +0 -58
- package/lib/v1/version2/lookup/AlertHeader/AlertHeader.js +0 -104
- package/lib/v1/version2/lookup/AlertLookup/AlertLookup.js +0 -185
- /package/es/v1/{version2 → alert}/alertIcons/AlarmAlertIcon.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/AlertIcons.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/DangerAlertIcon.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/ErrorAlertIcon.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/InfoAlertIcon.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/NotificationAlertIcon.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/SuccessAlertIcon.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/WarningAlertIcon.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/index.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/AlarmAlertIcon.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/AlertIcons.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/DangerAlertIcon.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/ErrorAlertIcon.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/InfoAlertIcon.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/NotificationAlertIcon.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/SuccessAlertIcon.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/WarningAlertIcon.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/index.js +0 -0
|
@@ -13,7 +13,7 @@ var _defaultProps = require("../../AlphabeticList/props/defaultProps");
|
|
|
13
13
|
|
|
14
14
|
var _propTypes = require("../../AlphabeticList/props/propTypes");
|
|
15
15
|
|
|
16
|
-
var _Layout = require("@zohodesk/components/
|
|
16
|
+
var _Layout = require("@zohodesk/components/es/v1/Layout");
|
|
17
17
|
|
|
18
18
|
var _AlphabeticListModule = _interopRequireDefault(require("../../AlphabeticList/AlphabeticList.module.css"));
|
|
19
19
|
|
|
@@ -80,6 +80,12 @@ function AlphabeticList(props) {
|
|
|
80
80
|
|
|
81
81
|
AlphabeticList.propTypes = _propTypes.AlphabeticList_propTypes;
|
|
82
82
|
AlphabeticList.defaultProps = _defaultProps.AlphabeticList_defaultProps;
|
|
83
|
+
var MemoizedAlphabeticList = /*#__PURE__*/(0, _react.memo)(AlphabeticList);
|
|
84
|
+
MemoizedAlphabeticList.propTypes = _propTypes.AlphabeticList_propTypes;
|
|
85
|
+
MemoizedAlphabeticList.defaultProps = _defaultProps.AlphabeticList_defaultProps;
|
|
86
|
+
MemoizedAlphabeticList.displayName = 'AlphabeticList';
|
|
87
|
+
var _default = MemoizedAlphabeticList;
|
|
88
|
+
exports["default"] = _default;
|
|
83
89
|
|
|
84
90
|
function AlphabeticListItem(props) {
|
|
85
91
|
var isActive = props.isActive,
|
|
@@ -104,8 +110,4 @@ function AlphabeticListItem(props) {
|
|
|
104
110
|
}
|
|
105
111
|
|
|
106
112
|
AlphabeticListItem.propTypes = _propTypes.AlphabeticListItem_propTypes;
|
|
107
|
-
AlphabeticListItem.defaultProps = _defaultProps.AlphabeticListItem_defaultProps;
|
|
108
|
-
|
|
109
|
-
var _default = /*#__PURE__*/(0, _react.memo)(AlphabeticList);
|
|
110
|
-
|
|
111
|
-
exports["default"] = _default;
|
|
113
|
+
AlphabeticListItem.defaultProps = _defaultProps.AlphabeticListItem_defaultProps;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
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
|
-
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
7
5
|
});
|
|
@@ -15,7 +13,7 @@ var _propTypes = require("../../Attachment/props/propTypes");
|
|
|
15
13
|
|
|
16
14
|
var _icons = require("@zohodesk/icons");
|
|
17
15
|
|
|
18
|
-
var _Layout = require("@zohodesk/components/
|
|
16
|
+
var _Layout = require("@zohodesk/components/es/v1/Layout");
|
|
19
17
|
|
|
20
18
|
var _Link = _interopRequireDefault(require("../Link/Link"));
|
|
21
19
|
|
|
@@ -23,118 +21,85 @@ var _AttachmentModule = _interopRequireDefault(require("../../Attachment/Attachm
|
|
|
23
21
|
|
|
24
22
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
25
23
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
24
|
+
/**** Libraries ****/
|
|
25
|
+
|
|
26
|
+
/**** CSS ****/
|
|
27
|
+
var Attachment = function Attachment(props) {
|
|
28
|
+
var onClick = props.onClick,
|
|
29
|
+
dataId = props.dataId,
|
|
30
|
+
size = props.size,
|
|
31
|
+
iconName = props.iconName,
|
|
32
|
+
fileName = props.fileName,
|
|
33
|
+
fileSize = props.fileSize,
|
|
34
|
+
downloadLink = props.downloadLink,
|
|
35
|
+
palette = props.palette,
|
|
36
|
+
tooltip = props.tooltip,
|
|
37
|
+
fileInfo = props.fileInfo,
|
|
38
|
+
i18nKeys = props.i18nKeys,
|
|
39
|
+
dataSelectorId = props.dataSelectorId;
|
|
40
|
+
var _i18nKeys$downloadTit = i18nKeys.downloadTitle,
|
|
41
|
+
downloadTitle = _i18nKeys$downloadTit === void 0 ? 'Download' : _i18nKeys$downloadTit;
|
|
42
|
+
return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
43
|
+
isInline: true,
|
|
44
|
+
className: "".concat(_AttachmentModule["default"].attachment, " ").concat(onClick ? _AttachmentModule["default"].attachmentHover : '', " ").concat(_AttachmentModule["default"]["palette_".concat(palette)], " ").concat(_AttachmentModule["default"][size]),
|
|
45
|
+
onClick: onClick,
|
|
46
|
+
dataId: dataId,
|
|
47
|
+
"data-title": tooltip,
|
|
48
|
+
alignBox: "row",
|
|
49
|
+
isCover: false,
|
|
50
|
+
dataSelectorId: dataSelectorId,
|
|
51
|
+
tabIndex: "0"
|
|
52
|
+
}, iconName ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
53
|
+
className: _AttachmentModule["default"].attachleft
|
|
54
|
+
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
55
|
+
align: "both"
|
|
56
|
+
}, /*#__PURE__*/_react["default"].createElement(_icons.Icon, {
|
|
57
|
+
name: iconName,
|
|
58
|
+
iconClass: _AttachmentModule["default"].attachIcon
|
|
59
|
+
}))) : null, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
60
|
+
flexible: true,
|
|
61
|
+
className: _AttachmentModule["default"].attachright
|
|
62
|
+
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
63
|
+
align: "horizontal"
|
|
64
|
+
}, fileName ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
65
|
+
className: _AttachmentModule["default"].atatchName,
|
|
66
|
+
"data-title": fileName
|
|
67
|
+
}, fileName) : null, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
68
|
+
className: _AttachmentModule["default"].footer
|
|
69
|
+
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
70
|
+
alignBox: "row",
|
|
71
|
+
align: "baseline",
|
|
72
|
+
isCover: false
|
|
73
|
+
}, fileSize ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
74
|
+
className: _AttachmentModule["default"].attachSize,
|
|
75
|
+
adjust: true,
|
|
76
|
+
shrink: true,
|
|
77
|
+
"data-title": fileSize
|
|
78
|
+
}, fileSize) : null, fileInfo ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
79
|
+
className: _AttachmentModule["default"].dot
|
|
80
|
+
}), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
81
|
+
className: _AttachmentModule["default"].attachSize,
|
|
82
|
+
adjust: true,
|
|
83
|
+
shrink: true,
|
|
84
|
+
"data-title": fileInfo
|
|
85
|
+
}, fileInfo)) : null)))), downloadLink ? /*#__PURE__*/_react["default"].createElement(_Link["default"], {
|
|
86
|
+
target: "_self",
|
|
87
|
+
href: downloadLink,
|
|
88
|
+
className: _AttachmentModule["default"].attachDownload,
|
|
89
|
+
title: downloadTitle,
|
|
90
|
+
hasReload: true
|
|
91
|
+
}, /*#__PURE__*/_react["default"].createElement(_icons.Icon, {
|
|
92
|
+
name: "ZD-downloadNew",
|
|
93
|
+
iconClass: _AttachmentModule["default"].downIcon
|
|
94
|
+
})) : null);
|
|
95
|
+
};
|
|
43
96
|
|
|
44
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
45
|
-
|
|
46
|
-
var Attachment = /*#__PURE__*/function (_React$Component) {
|
|
47
|
-
_inherits(Attachment, _React$Component);
|
|
48
|
-
|
|
49
|
-
var _super = _createSuper(Attachment);
|
|
50
|
-
|
|
51
|
-
function Attachment() {
|
|
52
|
-
_classCallCheck(this, Attachment);
|
|
53
|
-
|
|
54
|
-
return _super.apply(this, arguments);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
_createClass(Attachment, [{
|
|
58
|
-
key: "render",
|
|
59
|
-
value: function render() {
|
|
60
|
-
var _this$props = this.props,
|
|
61
|
-
onClick = _this$props.onClick,
|
|
62
|
-
dataId = _this$props.dataId,
|
|
63
|
-
size = _this$props.size,
|
|
64
|
-
iconName = _this$props.iconName,
|
|
65
|
-
fileName = _this$props.fileName,
|
|
66
|
-
fileSize = _this$props.fileSize,
|
|
67
|
-
downloadLink = _this$props.downloadLink,
|
|
68
|
-
palette = _this$props.palette,
|
|
69
|
-
tooltip = _this$props.tooltip,
|
|
70
|
-
fileInfo = _this$props.fileInfo,
|
|
71
|
-
i18nKeys = _this$props.i18nKeys,
|
|
72
|
-
dataSelectorId = _this$props.dataSelectorId;
|
|
73
|
-
var _i18nKeys$downloadTit = i18nKeys.downloadTitle,
|
|
74
|
-
downloadTitle = _i18nKeys$downloadTit === void 0 ? 'Download' : _i18nKeys$downloadTit;
|
|
75
|
-
return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
76
|
-
isInline: true,
|
|
77
|
-
className: "".concat(_AttachmentModule["default"].attachment, " ").concat(onClick ? _AttachmentModule["default"].attachmentHover : '', " ").concat(_AttachmentModule["default"]["palette_".concat(palette)], " ").concat(_AttachmentModule["default"][size]),
|
|
78
|
-
onClick: onClick,
|
|
79
|
-
dataId: dataId,
|
|
80
|
-
"data-title": tooltip,
|
|
81
|
-
alignBox: "row",
|
|
82
|
-
isCover: false,
|
|
83
|
-
dataSelectorId: dataSelectorId,
|
|
84
|
-
tabIndex: "0"
|
|
85
|
-
}, iconName ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
86
|
-
className: _AttachmentModule["default"].attachleft
|
|
87
|
-
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
88
|
-
align: "both"
|
|
89
|
-
}, /*#__PURE__*/_react["default"].createElement(_icons.Icon, {
|
|
90
|
-
name: iconName,
|
|
91
|
-
iconClass: _AttachmentModule["default"].attachIcon
|
|
92
|
-
}))) : null, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
93
|
-
flexible: true,
|
|
94
|
-
className: _AttachmentModule["default"].attachright
|
|
95
|
-
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
96
|
-
align: "horizontal"
|
|
97
|
-
}, fileName ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
98
|
-
className: _AttachmentModule["default"].atatchName,
|
|
99
|
-
"data-title": fileName
|
|
100
|
-
}, fileName) : null, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
101
|
-
className: _AttachmentModule["default"].footer
|
|
102
|
-
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
103
|
-
alignBox: "row",
|
|
104
|
-
align: "baseline",
|
|
105
|
-
isCover: false
|
|
106
|
-
}, fileSize ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
107
|
-
className: _AttachmentModule["default"].attachSize,
|
|
108
|
-
adjust: true,
|
|
109
|
-
shrink: true,
|
|
110
|
-
"data-title": fileSize
|
|
111
|
-
}, fileSize) : null, fileInfo ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
112
|
-
className: _AttachmentModule["default"].dot
|
|
113
|
-
}), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
114
|
-
className: _AttachmentModule["default"].attachSize,
|
|
115
|
-
adjust: true,
|
|
116
|
-
shrink: true,
|
|
117
|
-
"data-title": fileInfo
|
|
118
|
-
}, fileInfo)) : null)))), downloadLink ? /*#__PURE__*/_react["default"].createElement(_Link["default"], {
|
|
119
|
-
target: "_self",
|
|
120
|
-
href: downloadLink,
|
|
121
|
-
className: _AttachmentModule["default"].attachDownload,
|
|
122
|
-
title: downloadTitle,
|
|
123
|
-
hasReload: true
|
|
124
|
-
}, /*#__PURE__*/_react["default"].createElement(_icons.Icon, {
|
|
125
|
-
name: "ZD-downloadNew",
|
|
126
|
-
iconClass: _AttachmentModule["default"].downIcon
|
|
127
|
-
})) : null);
|
|
128
|
-
}
|
|
129
|
-
}]);
|
|
130
|
-
|
|
131
|
-
return Attachment;
|
|
132
|
-
}(_react["default"].Component);
|
|
133
|
-
|
|
134
|
-
exports["default"] = Attachment;
|
|
135
97
|
Attachment.propTypes = _propTypes.propTypes;
|
|
136
|
-
Attachment.defaultProps = _defaultProps.defaultProps;
|
|
98
|
+
Attachment.defaultProps = _defaultProps.defaultProps;
|
|
99
|
+
var _default = Attachment; // if (__DOCS__) {
|
|
137
100
|
// Attachment.docs = {
|
|
138
101
|
// componentGroup: 'Attachment'
|
|
139
102
|
// };
|
|
140
|
-
// }
|
|
103
|
+
// }
|
|
104
|
+
|
|
105
|
+
exports["default"] = _default;
|
|
@@ -23,102 +23,67 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
23
23
|
|
|
24
24
|
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; }
|
|
25
25
|
|
|
26
|
-
function
|
|
27
|
-
|
|
28
|
-
function
|
|
29
|
-
|
|
30
|
-
function
|
|
31
|
-
|
|
32
|
-
function
|
|
33
|
-
|
|
34
|
-
function
|
|
35
|
-
|
|
36
|
-
function
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
key: "componentDidMount",
|
|
67
|
-
value: function componentDidMount() {
|
|
68
|
-
var isImage = this.props.isImage;
|
|
69
|
-
|
|
70
|
-
if (isImage) {
|
|
71
|
-
var image = this.imageEle.current;
|
|
72
|
-
image.addEventListener('load', this.imgLoad);
|
|
73
|
-
} else {
|
|
74
|
-
this.setState({
|
|
75
|
-
isLoading: false
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}, {
|
|
80
|
-
key: "imgLoad",
|
|
81
|
-
value: function imgLoad() {
|
|
82
|
-
this.setState({
|
|
83
|
-
isLoading: false
|
|
84
|
-
});
|
|
85
|
-
var onLoad = this.props.onLoad;
|
|
86
|
-
onLoad && onLoad();
|
|
26
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
27
|
+
|
|
28
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
29
|
+
|
|
30
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
31
|
+
|
|
32
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
33
|
+
|
|
34
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
35
|
+
|
|
36
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
37
|
+
|
|
38
|
+
var AttachmentImage = function AttachmentImage(props) {
|
|
39
|
+
var isImage = props.isImage,
|
|
40
|
+
onLoad = props.onLoad,
|
|
41
|
+
src = props.src,
|
|
42
|
+
onClick = props.onClick,
|
|
43
|
+
alt = props.alt,
|
|
44
|
+
dataId = props.dataId,
|
|
45
|
+
id = props.id,
|
|
46
|
+
className = props.className,
|
|
47
|
+
isCover = props.isCover;
|
|
48
|
+
var imageEle = (0, _react.useRef)();
|
|
49
|
+
|
|
50
|
+
var _useState = (0, _react.useState)(true),
|
|
51
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
52
|
+
isLoading = _useState2[0],
|
|
53
|
+
setLoading = _useState2[1];
|
|
54
|
+
|
|
55
|
+
var imgLoad = function imgLoad() {
|
|
56
|
+
setLoading(false);
|
|
57
|
+
onLoad && onLoad();
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
(0, _react.useEffect)(function () {
|
|
61
|
+
if (isImage) {
|
|
62
|
+
var image = imageEle.current;
|
|
63
|
+
image.addEventListener('load', imgLoad);
|
|
64
|
+
} else {
|
|
65
|
+
setLoading(false);
|
|
87
66
|
}
|
|
88
|
-
},
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
})) : null, /*#__PURE__*/_react["default"].createElement(_Image["default"], {
|
|
107
|
-
htmlId: id,
|
|
108
|
-
eleRef: this.imageEle,
|
|
109
|
-
dataId: dataId,
|
|
110
|
-
src: src,
|
|
111
|
-
onClick: onClick,
|
|
112
|
-
className: "".concat(isLoading ? _AttachmentViewerModule["default"].hide : '', " ").concat(className),
|
|
113
|
-
alt: alt,
|
|
114
|
-
isCover: isCover
|
|
115
|
-
}));
|
|
116
|
-
}
|
|
117
|
-
}]);
|
|
118
|
-
|
|
119
|
-
return AttachmentImage;
|
|
120
|
-
}(_react.Component);
|
|
67
|
+
}, []);
|
|
68
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, isLoading ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
69
|
+
className: "".concat(_AttachmentViewerModule["default"].spinLoad),
|
|
70
|
+
"data-id": "".concat(dataId, "_loader"),
|
|
71
|
+
"data-test-id": "".concat(dataId, "_loader")
|
|
72
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
73
|
+
className: _AttachmentViewerModule["default"].loader
|
|
74
|
+
})) : null, /*#__PURE__*/_react["default"].createElement(_Image["default"], {
|
|
75
|
+
htmlId: id,
|
|
76
|
+
eleRef: imageEle,
|
|
77
|
+
dataId: dataId,
|
|
78
|
+
src: src,
|
|
79
|
+
onClick: onClick,
|
|
80
|
+
className: "".concat(isLoading ? _AttachmentViewerModule["default"].hide : '', " ").concat(className),
|
|
81
|
+
alt: alt,
|
|
82
|
+
isCover: isCover
|
|
83
|
+
}));
|
|
84
|
+
};
|
|
121
85
|
|
|
122
|
-
exports["default"] = AttachmentImage;
|
|
123
86
|
AttachmentImage.propTypes = _propTypes.AttachmentImage_propTypes;
|
|
124
|
-
AttachmentImage.defaultProps = _defaultProps.AttachmentImage_defaultProps;
|
|
87
|
+
AttachmentImage.defaultProps = _defaultProps.AttachmentImage_defaultProps;
|
|
88
|
+
var _default = AttachmentImage;
|
|
89
|
+
exports["default"] = _default;
|
|
@@ -13,15 +13,15 @@ var _defaultProps = require("../../AttachmentViewer/props/defaultProps");
|
|
|
13
13
|
|
|
14
14
|
var _propTypes = require("../../AttachmentViewer/props/propTypes");
|
|
15
15
|
|
|
16
|
-
var _Layout = require("@zohodesk/components/
|
|
16
|
+
var _Layout = require("@zohodesk/components/es/v1/Layout");
|
|
17
17
|
|
|
18
18
|
var _icons = require("@zohodesk/icons");
|
|
19
19
|
|
|
20
|
-
var _Avatar = _interopRequireDefault(require("@zohodesk/components/
|
|
20
|
+
var _Avatar = _interopRequireDefault(require("@zohodesk/components/es/v1/Avatar/Avatar"));
|
|
21
21
|
|
|
22
|
-
var _CustomResponsive = require("@zohodesk/components/
|
|
22
|
+
var _CustomResponsive = require("@zohodesk/components/es/v1/Responsive/CustomResponsive");
|
|
23
23
|
|
|
24
|
-
var _IdProvider = require("@zohodesk/components/
|
|
24
|
+
var _IdProvider = require("@zohodesk/components/es/v1/Provider/IdProvider");
|
|
25
25
|
|
|
26
26
|
var _AttachmentImage = _interopRequireDefault(require("./AttachmentImage"));
|
|
27
27
|
|
|
@@ -11,7 +11,7 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
11
11
|
|
|
12
12
|
var _icons = require("@zohodesk/icons");
|
|
13
13
|
|
|
14
|
-
var _Avatar = _interopRequireDefault(require("@zohodesk/components/
|
|
14
|
+
var _Avatar = _interopRequireDefault(require("@zohodesk/components/es/v1/Avatar/Avatar"));
|
|
15
15
|
|
|
16
16
|
var _AvatarIcon = _interopRequireDefault(require("../avatar/AvatarIcon/AvatarIcon"));
|
|
17
17
|
|
package/lib/v1/Drawer/Drawer.js
CHANGED
|
@@ -16,21 +16,21 @@ var _defaultProps = require("../../Drawer/props/defaultProps");
|
|
|
16
16
|
|
|
17
17
|
var _propTypes = require("../../Drawer/props/propTypes");
|
|
18
18
|
|
|
19
|
-
var _Layout = require("@zohodesk/components/
|
|
19
|
+
var _Layout = require("@zohodesk/components/es/v1/Layout");
|
|
20
20
|
|
|
21
|
-
var _Card = require("@zohodesk/components/
|
|
21
|
+
var _Card = require("@zohodesk/components/es/v1/Card");
|
|
22
22
|
|
|
23
|
-
var _VelocityAnimationGroup = _interopRequireDefault(require("@zohodesk/components/
|
|
23
|
+
var _VelocityAnimationGroup = _interopRequireDefault(require("@zohodesk/components/es/v1/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup"));
|
|
24
24
|
|
|
25
|
-
var _CustomResponsive = require("@zohodesk/components/
|
|
25
|
+
var _CustomResponsive = require("@zohodesk/components/es/v1/Responsive/CustomResponsive");
|
|
26
26
|
|
|
27
27
|
var _icons = require("@zohodesk/icons");
|
|
28
28
|
|
|
29
|
-
var _ZindexProvider = require("@zohodesk/components/
|
|
29
|
+
var _ZindexProvider = require("@zohodesk/components/es/v1/Provider/ZindexProvider");
|
|
30
30
|
|
|
31
31
|
var _FocusScope = _interopRequireDefault(require("@zohodesk/a11y/es/FocusScope/FocusScope"));
|
|
32
32
|
|
|
33
|
-
var _Heading = _interopRequireDefault(require("@zohodesk/components/
|
|
33
|
+
var _Heading = _interopRequireDefault(require("@zohodesk/components/es/v1/Heading/Heading"));
|
|
34
34
|
|
|
35
35
|
var _FreezeLayer = _interopRequireDefault(require("../FreezeLayer/FreezeLayer"));
|
|
36
36
|
|
|
@@ -11,11 +11,11 @@ var _defaultProps = require("../../FlipCard/props/defaultProps");
|
|
|
11
11
|
|
|
12
12
|
var _propTypes = require("../../FlipCard/props/propTypes");
|
|
13
13
|
|
|
14
|
-
var _CheckBox = _interopRequireDefault(require("@zohodesk/components/
|
|
14
|
+
var _CheckBox = _interopRequireDefault(require("@zohodesk/components/es/v1/CheckBox/CheckBox"));
|
|
15
15
|
|
|
16
|
-
var _Layout = require("@zohodesk/components/
|
|
16
|
+
var _Layout = require("@zohodesk/components/es/v1/Layout");
|
|
17
17
|
|
|
18
|
-
var _AvatarSize = _interopRequireDefault(require("@zohodesk/components/
|
|
18
|
+
var _AvatarSize = _interopRequireDefault(require("@zohodesk/components/es/v1/Provider/AvatarSize"));
|
|
19
19
|
|
|
20
20
|
var _ChannelIcon = _interopRequireDefault(require("../ChannelIcon/ChannelIcon"));
|
|
21
21
|
|
|
@@ -145,5 +145,5 @@ FlipCard.propTypes = _propTypes.propTypes;
|
|
|
145
145
|
FlipCard.defaultProps = _defaultProps.defaultProps; // if (__DOCS__) {
|
|
146
146
|
// FlipCard.docs = {
|
|
147
147
|
// componentGroup: 'Molecule'
|
|
148
|
-
// };
|
|
148
|
+
// };
|
|
149
149
|
// }
|
|
@@ -12,7 +12,7 @@ var _defaultProps = require("../../FormAction/props/defaultProps");
|
|
|
12
12
|
|
|
13
13
|
var _propTypes = require("../../FormAction/props/propTypes");
|
|
14
14
|
|
|
15
|
-
var _Layout = require("@zohodesk/components/
|
|
15
|
+
var _Layout = require("@zohodesk/components/es/v1/Layout");
|
|
16
16
|
|
|
17
17
|
var _FormActionModule = _interopRequireDefault(require("../../FormAction/FormAction.module.css"));
|
|
18
18
|
|
|
@@ -11,13 +11,13 @@ var _defaultProps = require("../../FreezeLayer/props/defaultProps");
|
|
|
11
11
|
|
|
12
12
|
var _propTypes = require("../../FreezeLayer/props/propTypes");
|
|
13
13
|
|
|
14
|
-
var _Layout = require("@zohodesk/components/
|
|
14
|
+
var _Layout = require("@zohodesk/components/es/v1/Layout");
|
|
15
15
|
|
|
16
16
|
var _utils = require("@zohodesk/utils");
|
|
17
17
|
|
|
18
|
-
var _VelocityAnimationGroup = _interopRequireDefault(require("@zohodesk/components/
|
|
18
|
+
var _VelocityAnimationGroup = _interopRequireDefault(require("@zohodesk/components/es/v1/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup"));
|
|
19
19
|
|
|
20
|
-
var _ZindexProvider = require("@zohodesk/components/
|
|
20
|
+
var _ZindexProvider = require("@zohodesk/components/es/v1/Provider/ZindexProvider");
|
|
21
21
|
|
|
22
22
|
var _cssJSLogic2 = _interopRequireDefault(require("../../FreezeLayer/css/cssJSLogic"));
|
|
23
23
|
|
|
@@ -11,19 +11,19 @@ exports["default"] = GlobalNotification;
|
|
|
11
11
|
|
|
12
12
|
var _react = _interopRequireWildcard(require("react"));
|
|
13
13
|
|
|
14
|
-
var _defaultProps = require("
|
|
14
|
+
var _defaultProps = require("../../version2/GlobalNotification/props/defaultProps");
|
|
15
15
|
|
|
16
|
-
var _propTypes = require("
|
|
16
|
+
var _propTypes = require("../../version2/GlobalNotification/props/propTypes");
|
|
17
17
|
|
|
18
|
-
var _AutoClose = _interopRequireDefault(require("
|
|
18
|
+
var _AutoClose = _interopRequireDefault(require("../../actions/AutoClose"));
|
|
19
19
|
|
|
20
|
-
var _AlertIcons = _interopRequireDefault(require("../alertIcons/AlertIcons"));
|
|
20
|
+
var _AlertIcons = _interopRequireDefault(require("../alert/alertIcons/AlertIcons"));
|
|
21
21
|
|
|
22
|
-
var _AlertClose = _interopRequireDefault(require("../AlertClose/AlertClose"));
|
|
22
|
+
var _AlertClose = _interopRequireDefault(require("../alert/AlertClose/AlertClose"));
|
|
23
23
|
|
|
24
|
-
var _Layout = require("@zohodesk/components/
|
|
24
|
+
var _Layout = require("@zohodesk/components/es/v1/Layout");
|
|
25
25
|
|
|
26
|
-
var _GlobalNotificationModule = _interopRequireDefault(require("
|
|
26
|
+
var _GlobalNotificationModule = _interopRequireDefault(require("../../version2/GlobalNotification/GlobalNotification.module.css"));
|
|
27
27
|
|
|
28
28
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
29
29
|
|
|
@@ -15,11 +15,11 @@ var _propTypes = require("../../IconButton/props/propTypes");
|
|
|
15
15
|
|
|
16
16
|
var _icons = require("@zohodesk/icons");
|
|
17
17
|
|
|
18
|
-
var _Layout = require("@zohodesk/components/
|
|
18
|
+
var _Layout = require("@zohodesk/components/es/v1/Layout");
|
|
19
19
|
|
|
20
|
-
var _semanticButtonModule = _interopRequireDefault(require("@zohodesk/components/
|
|
20
|
+
var _semanticButtonModule = _interopRequireDefault(require("@zohodesk/components/es/semantic/Button/semanticButton.module.css"));
|
|
21
21
|
|
|
22
|
-
var _RippleEffect = _interopRequireDefault(require("@zohodesk/components/
|
|
22
|
+
var _RippleEffect = _interopRequireDefault(require("@zohodesk/components/es/v1/RippleEffect/RippleEffect"));
|
|
23
23
|
|
|
24
24
|
var _IconButtonModule = _interopRequireDefault(require("../../IconButton/IconButton.module.css"));
|
|
25
25
|
|