@zohodesk/dot 1.9.2 → 1.9.4
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 +22 -0
- package/_react-cli.config.js +27 -0
- package/assets/Appearance/dark/mode/Dot_DarkMode.module.css +425 -422
- package/assets/Appearance/dark/themes/blue/blue_DotTheme_DarkTheme.module.css +16 -16
- package/assets/Appearance/dark/themes/green/green_DotTheme_DarkTheme.module.css +16 -16
- package/assets/Appearance/dark/themes/orange/orange_DotTheme_DarkTheme.module.css +16 -16
- package/assets/Appearance/dark/themes/red/red_DotTheme_DarkTheme.module.css +16 -16
- package/assets/Appearance/dark/themes/yellow/yellow_DotTheme_DarkTheme.module.css +16 -16
- package/assets/Appearance/light/mode/Dot_LightMode.module.css +425 -422
- package/assets/Appearance/light/themes/blue/blue_DotTheme_LightTheme.module.css +16 -16
- package/assets/Appearance/light/themes/green/green_DotTheme_LightTheme.module.css +16 -16
- package/assets/Appearance/light/themes/orange/orange_DotTheme_LightTheme.module.css +16 -16
- package/assets/Appearance/light/themes/red/red_DotTheme_LightTheme.module.css +16 -16
- package/assets/Appearance/light/themes/yellow/yellow_DotTheme_LightTheme.module.css +16 -16
- package/assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css +425 -422
- package/assets/Appearance/pureDark/themes/blue/blue_DotTheme_PureDarkTheme.module.css +16 -16
- package/assets/Appearance/pureDark/themes/green/green_DotTheme_PureDarkTheme.module.css +16 -16
- package/assets/Appearance/pureDark/themes/orange/orange_DotTheme_PureDarkTheme.module.css +16 -16
- package/assets/Appearance/pureDark/themes/red/red_DotTheme_PureDarkTheme.module.css +16 -16
- package/assets/Appearance/pureDark/themes/yellow/yellow_DotTheme_PureDarkTheme.module.css +16 -16
- package/cbt.config.js +41 -0
- package/es/AlphabeticList/AlphabeticList.module.css +0 -0
- package/es/AttachmentViewer/AttachmentViewer.js +20 -24
- package/es/AudioPlayer/Timer/__tests__/Timer.spec.js +1 -2
- package/es/AudioPlayer/__tests__/AudioPlayer.spec.js +39 -38
- package/es/ChannelIcon/ChannelIcon.js +11 -13
- package/es/DotProvider/DotProvider.js +4 -2
- package/es/Drawer/Drawer.js +5 -4
- package/es/ExternalLink/ExternalLink.js +5 -4
- package/es/ExternalLink/ExternalLink.module.css +0 -0
- package/es/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
- package/es/FlipCard/FlipCard.js +12 -14
- package/es/IconButton/IconButton.js +5 -4
- package/es/Link/Link.js +10 -8
- package/es/Message/Message.js +5 -4
- package/es/Onboarding/Onboarding.js +25 -33
- package/es/PlusIcon/PlusIcon.js +0 -0
- package/es/Separator/Separator.module.css +5 -5
- package/es/TagWithIcon/TagWithIcon.module.css +2 -2
- package/es/ToastMessage/ToastMessage.js +4 -2
- package/es/ToastMessage/ToastMessage.module.css +0 -0
- package/es/actions/AutoClose.js +1 -2
- 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/AvatarWithTeam/AvatarWithTeam.js +14 -17
- package/es/dot_layer.module.css +1 -1
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +24 -28
- package/es/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
- package/es/errorstate/Inconvenience/Inconvenience.js +1 -1
- package/es/errorstate/UnableToProcess/UnableToProcess.js +1 -1
- 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 +13 -14
- package/es/form/fields/Fields.module.css +4 -1
- 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 +17 -19
- package/es/form/fields/SelectField/SelectField.js +13 -14
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +20 -20
- package/es/form/fields/TagsMultiSelect/props/propTypes.js +2 -1
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -11
- package/es/form/fields/TextBoxField/TextBoxField.js +13 -14
- package/es/form/fields/TextEditor/TextEditor.module.css +0 -0
- 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 +14 -15
- package/es/form/fields/ValidationMessage/ValidationMessage.js +4 -2
- package/es/form/layout/Field/Field.js +0 -0
- package/es/form/layout/Section/Section.js +0 -0
- package/es/layout/SubtabLayout/SubtabLayout.js +6 -4
- package/es/list/DepartmentDropDown/DepartmentDropDown.js +17 -10
- package/es/list/DepartmentDropDown/props/defaultProps.js +2 -1
- package/es/list/DepartmentDropDown/props/propTypes.js +3 -0
- package/es/list/GridStencils/GridStencils.module.css +14 -5
- package/es/list/ListLayout/ListLayout.js +5 -4
- package/es/list/SecondaryText/AccountName.js +6 -4
- package/es/list/SecondaryText/ContactName.js +6 -4
- package/es/list/SecondaryText/Email.js +5 -4
- package/es/list/SecondaryText/PhoneNumber.js +5 -4
- package/es/list/SecondaryText/TicketId.js +7 -7
- package/es/list/SecondaryText/Website.js +0 -0
- package/es/list/SecondryPanel/SecondryPanel.js +0 -0
- package/es/list/Subject/Subject.js +6 -4
- package/es/list/status/StatusDropdown/StatusDropdown.js +7 -2
- package/es/list/status/StatusDropdown/props/defaultProps.js +2 -1
- package/es/list/status/StatusDropdown/props/propTypes.js +4 -1
- package/es/list/status/StatusListItem/StatusListItem.js +11 -7
- package/es/list/status/StatusListItem/StatusListItem.module.css +38 -17
- package/es/list/status/StatusListItem/__tests__/__snapshots__/StatusListItem.spec.js.snap +30 -23
- package/es/list/status/StatusListItem/props/defaultProps.js +2 -1
- package/es/list/status/StatusListItem/props/propTypes.js +2 -1
- package/es/lookup/EmptyPage/EmptyPage.js +0 -0
- package/es/lookup/Lookup/Lookup.js +5 -4
- package/es/lookup/Lookup/Lookup.module.css +0 -0
- package/es/lookup/header/Search/Search.js +3 -5
- package/es/lookup/header/TicketHeader/TicketHeader.module.css +0 -0
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +0 -0
- package/es/setup/helptips/Link/Link.js +0 -0
- package/es/setup/helptips/Title/Title.js +0 -0
- package/es/setup/table/Text/TableText.module.css +0 -0
- package/es/setup/table/Text/Text.js +0 -0
- package/es/version2/GlobalNotification/GlobalNotification.js +9 -8
- package/es/version2/lookup/AlertLookup/AlertLookup.js +15 -15
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +7 -6
- package/lib/AlphabeticList/AlphabeticList.module.css +0 -0
- package/lib/Drawer/Drawer.js +0 -0
- package/lib/ExternalLink/ExternalLink.js +0 -0
- package/lib/ExternalLink/ExternalLink.module.css +0 -0
- package/lib/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
- package/lib/Link/Link.js +0 -0
- package/lib/PlusIcon/PlusIcon.js +0 -0
- package/lib/Separator/Separator.module.css +5 -5
- package/lib/TagWithIcon/TagWithIcon.module.css +2 -2
- package/lib/ToastMessage/ToastMessage.js +0 -0
- package/lib/ToastMessage/ToastMessage.module.css +0 -0
- package/lib/avatar/AvatarStatus/AvatarStatus.js +0 -0
- package/lib/avatar/AvatarUser/AvatarUser.js +0 -0
- package/lib/dot_layer.module.css +1 -1
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
- package/lib/errorstate/Inconvenience/Inconvenience.js +1 -1
- package/lib/errorstate/UnableToProcess/UnableToProcess.js +1 -1
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +0 -0
- package/lib/form/fields/Fields.module.css +4 -1
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +12 -7
- package/lib/form/fields/TagsMultiSelect/props/propTypes.js +2 -1
- package/lib/form/fields/TextEditor/TextEditor.module.css +0 -0
- package/lib/form/layout/Field/Field.js +0 -0
- package/lib/form/layout/Section/Section.js +0 -0
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +16 -10
- package/lib/list/DepartmentDropDown/props/defaultProps.js +2 -1
- package/lib/list/DepartmentDropDown/props/propTypes.js +2 -0
- package/lib/list/GridStencils/GridStencils.module.css +14 -5
- package/lib/list/SecondaryText/Website.js +0 -0
- package/lib/list/SecondryPanel/SecondryPanel.js +0 -0
- package/lib/list/Subject/Subject.js +1 -0
- package/lib/list/status/StatusDropdown/StatusDropdown.js +6 -2
- package/lib/list/status/StatusDropdown/props/defaultProps.js +2 -1
- package/lib/list/status/StatusDropdown/props/propTypes.js +3 -1
- package/lib/list/status/StatusListItem/StatusListItem.js +7 -3
- package/lib/list/status/StatusListItem/StatusListItem.module.css +38 -17
- package/lib/list/status/StatusListItem/__tests__/__snapshots__/StatusListItem.spec.js.snap +30 -23
- package/lib/list/status/StatusListItem/props/defaultProps.js +2 -1
- package/lib/list/status/StatusListItem/props/propTypes.js +2 -1
- package/lib/lookup/EmptyPage/EmptyPage.js +0 -0
- package/lib/lookup/Lookup/Lookup.js +0 -0
- package/lib/lookup/Lookup/Lookup.module.css +0 -0
- package/lib/lookup/header/TicketHeader/TicketHeader.module.css +0 -0
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +0 -0
- package/lib/setup/helptips/Link/Link.js +0 -0
- package/lib/setup/helptips/Title/Title.js +0 -0
- package/lib/setup/table/Text/TableText.module.css +0 -0
- package/lib/setup/table/Text/Text.js +0 -0
- package/package.json +16 -20
- package/es/v1/ActionButton/ActionButton.js +0 -155
- package/es/v1/ActionButton/props/defaultProps.js +0 -19
- package/es/v1/ActionButton/props/propTypes.js +0 -37
- package/es/v1/AlphabeticList/AlphabeticList.js +0 -94
- package/es/v1/AlphabeticList/props/defaultProps.js +0 -12
- package/es/v1/AlphabeticList/props/propTypes.js +0 -23
- package/es/v1/Attachment/Attachment.js +0 -96
- package/es/v1/Attachment/props/defaultProps.js +0 -8
- package/es/v1/Attachment/props/propTypes.js +0 -18
- package/es/v1/AttachmentViewer/AttachmentImage.js +0 -81
- package/es/v1/AttachmentViewer/AttachmentViewer.js +0 -626
- package/es/v1/AttachmentViewer/props/defaultProps.js +0 -11
- package/es/v1/AttachmentViewer/props/propTypes.js +0 -36
- package/es/v1/ChannelIcon/ChannelIcon.js +0 -93
- package/es/v1/ChannelIcon/props/defaultProps.js +0 -7
- package/es/v1/ChannelIcon/props/propTypes.js +0 -25
- package/es/v1/Drawer/Drawer.js +0 -270
- package/es/v1/Drawer/props/defaultProps.js +0 -23
- package/es/v1/Drawer/props/propTypes.js +0 -53
- package/es/v1/ExternalLink/ExternalLink.js +0 -48
- package/es/v1/ExternalLink/props/defaultProps.js +0 -5
- package/es/v1/ExternalLink/props/propTypes.js +0 -12
- package/es/v1/FlipCard/FlipCard.js +0 -132
- package/es/v1/FlipCard/props/defaultProps.js +0 -5
- package/es/v1/FlipCard/props/propTypes.js +0 -37
- package/es/v1/FormAction/FormAction.js +0 -75
- package/es/v1/FormAction/props/defaultProps.js +0 -5
- package/es/v1/FormAction/props/propTypes.js +0 -8
- package/es/v1/FreezeLayer/FreezeLayer.js +0 -74
- package/es/v1/FreezeLayer/props/defaultProps.js +0 -9
- package/es/v1/FreezeLayer/props/propTypes.js +0 -19
- package/es/v1/GlobalNotification/GlobalNotification.js +0 -144
- package/es/v1/GlobalNotification/props/defaultProps.js +0 -6
- package/es/v1/GlobalNotification/props/propTypes.js +0 -42
- package/es/v1/IconButton/IconButton.js +0 -112
- package/es/v1/IconButton/props/defaultProps.js +0 -17
- package/es/v1/IconButton/props/propTypes.js +0 -33
- package/es/v1/Image/Image.js +0 -36
- package/es/v1/Image/props/defaultProps.js +0 -4
- package/es/v1/Image/props/propTypes.js +0 -15
- package/es/v1/ImportantNotes/ImportantNotes.js +0 -41
- package/es/v1/ImportantNotes/props/defaultProps.js +0 -6
- package/es/v1/ImportantNotes/props/propTypes.js +0 -10
- package/es/v1/Link/Link.js +0 -93
- package/es/v1/Link/props/defaultProps.js +0 -5
- package/es/v1/Link/props/propTypes.js +0 -18
- package/es/v1/Loader/Loader.js +0 -15
- package/es/v1/Message/Message.js +0 -91
- package/es/v1/Message/props/defaultProps.js +0 -4
- package/es/v1/Message/props/propTypes.js +0 -20
- package/es/v1/MessageBanner/MessageBanner.js +0 -60
- package/es/v1/MessageBanner/props/defaultProps.js +0 -7
- package/es/v1/MessageBanner/props/propTypes.js +0 -13
- package/es/v1/NewStar/NewStar.js +0 -61
- package/es/v1/NewStar/props/defaultProps.js +0 -4
- package/es/v1/NewStar/props/propTypes.js +0 -6
- package/es/v1/PlusIcon/PlusIcon.js +0 -32
- package/es/v1/PlusIcon/props/defaultProps.js +0 -8
- package/es/v1/PlusIcon/props/propTypes.js +0 -11
- package/es/v1/Separator/Separator.js +0 -53
- package/es/v1/Separator/props/defaultProps.js +0 -12
- package/es/v1/Separator/props/propTypes.js +0 -11
- package/es/v1/TagWithIcon/TagWithIcon.js +0 -39
- package/es/v1/TagWithIcon/props/defaultProps.js +0 -8
- package/es/v1/TagWithIcon/props/propTypes.js +0 -13
- package/es/v1/ToastMessage/ToastMessage.js +0 -201
- package/es/v1/ToastMessage/props/defaultProps.js +0 -18
- package/es/v1/ToastMessage/props/propTypes.js +0 -40
- package/es/v1/Upload/Upload.js +0 -69
- package/es/v1/Upload/props/defaultProps.js +0 -7
- package/es/v1/Upload/props/propTypes.js +0 -17
- package/es/v1/actions/AutoClose.js +0 -44
- package/es/v1/actions/props/defaultProps.js +0 -3
- package/es/v1/actions/props/propTypes.js +0 -8
- package/es/v1/alert/AlertClose/AlertClose.js +0 -43
- package/es/v1/alert/AlertClose/props/propTypes.js +0 -8
- package/es/v1/alert/AlertHeader/AlertHeader.js +0 -82
- package/es/v1/alert/AlertHeader/props/defaultProps.js +0 -12
- package/es/v1/alert/AlertHeader/props/propTypes.js +0 -20
- package/es/v1/alert/AlertLookup/AlertLookup.js +0 -166
- package/es/v1/alert/AlertLookup/props/defaultProps.js +0 -13
- package/es/v1/alert/AlertLookup/props/propTypes.js +0 -36
- package/es/v1/alert/alertIcons/AlarmAlertIcon.js +0 -65
- package/es/v1/alert/alertIcons/AlertIcons.js +0 -57
- package/es/v1/alert/alertIcons/DangerAlertIcon.js +0 -65
- package/es/v1/alert/alertIcons/ErrorAlertIcon.js +0 -70
- package/es/v1/alert/alertIcons/InfoAlertIcon.js +0 -74
- package/es/v1/alert/alertIcons/NotificationAlertIcon.js +0 -70
- package/es/v1/alert/alertIcons/SuccessAlertIcon.js +0 -65
- package/es/v1/alert/alertIcons/WarningAlertIcon.js +0 -65
- package/es/v1/alert/alertIcons/index.js +0 -8
- package/es/v1/alert/alertIcons/props/defaultProps.js +0 -27
- package/es/v1/alert/alertIcons/props/propTypes.js +0 -34
- package/es/v1/alert/index.js +0 -2
- package/es/v1/avatar/AvatarClose/AvatarClose.js +0 -47
- package/es/v1/avatar/AvatarClose/props/defaultProps.js +0 -7
- package/es/v1/avatar/AvatarClose/props/propTypes.js +0 -15
- package/es/v1/avatar/AvatarCollision/AvatarCollision.js +0 -51
- package/es/v1/avatar/AvatarCollision/props/defaultProps.js +0 -8
- package/es/v1/avatar/AvatarCollision/props/propTypes.js +0 -17
- package/es/v1/avatar/AvatarIcon/AvatarIcon.js +0 -48
- package/es/v1/avatar/AvatarIcon/props/defaultProps.js +0 -14
- package/es/v1/avatar/AvatarIcon/props/propTypes.js +0 -20
- package/es/v1/avatar/AvatarStatus/AvatarStatus.js +0 -59
- package/es/v1/avatar/AvatarStatus/props/defaultProps.js +0 -12
- package/es/v1/avatar/AvatarStatus/props/propTypes.js +0 -26
- package/es/v1/avatar/AvatarThread/AvatarThread.js +0 -72
- package/es/v1/avatar/AvatarThread/props/defaultProps.js +0 -9
- package/es/v1/avatar/AvatarThread/props/propTypes.js +0 -30
- package/es/v1/avatar/AvatarUser/AvatarUser.js +0 -110
- package/es/v1/avatar/AvatarUser/props/defaultProps.js +0 -8
- package/es/v1/avatar/AvatarUser/props/propTypes.js +0 -35
- package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +0 -94
- package/es/v1/avatar/AvatarWithTeam/props/defaultProps.js +0 -9
- package/es/v1/avatar/AvatarWithTeam/props/propTypes.js +0 -25
- package/es/v1/avatar/index.js +0 -7
- package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +0 -880
- package/es/v1/dropdown/ToggleDropDown/props/defaultProps.js +0 -29
- package/es/v1/dropdown/ToggleDropDown/props/propTypes.js +0 -83
- package/es/v1/emptystate/CommonEmptyState/CommonEmptyState.js +0 -64
- package/es/v1/emptystate/CommonEmptyState/props/defaultProps.js +0 -10
- package/es/v1/emptystate/CommonEmptyState/props/propTypes.js +0 -21
- package/es/v1/emptystate/EditionPage/EditionPage.js +0 -51
- package/es/v1/emptystate/EditionPage/props/defaultProps.js +0 -5
- package/es/v1/emptystate/EditionPage/props/propTypes.js +0 -11
- package/es/v1/errorstate/Inconvenience/Inconvenience.js +0 -60
- package/es/v1/errorstate/Inconvenience/props/defaultProps.js +0 -8
- package/es/v1/errorstate/Inconvenience/props/propTypes.js +0 -16
- package/es/v1/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +0 -64
- package/es/v1/errorstate/OopsSomethingMiss/props/defaultProps.js +0 -8
- package/es/v1/errorstate/OopsSomethingMiss/props/propTypes.js +0 -16
- package/es/v1/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +0 -64
- package/es/v1/errorstate/UnableToProcessRequest/props/defaultProps.js +0 -8
- package/es/v1/errorstate/UnableToProcessRequest/props/propTypes.js +0 -16
- package/es/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -65
- package/es/v1/errorstate/UnauthorizedLogin/props/defaultProps.js +0 -9
- package/es/v1/errorstate/UnauthorizedLogin/props/propTypes.js +0 -17
- package/es/v1/errorstate/UrlNotFound/UrlNotFound.js +0 -64
- package/es/v1/errorstate/UrlNotFound/props/defaultProps.js +0 -8
- package/es/v1/errorstate/UrlNotFound/props/propTypes.js +0 -16
- package/es/v1/errorstate/WillBeRightBack/WillBeRightBack.js +0 -64
- package/es/v1/errorstate/WillBeRightBack/props/defaultProps.js +0 -8
- package/es/v1/errorstate/WillBeRightBack/props/propTypes.js +0 -16
- package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +0 -130
- package/es/v1/form/fields/CheckBoxField/props/defaultProps.js +0 -12
- package/es/v1/form/fields/CheckBoxField/props/propTypes.js +0 -29
- package/es/v1/form/fields/CurrencyField/CurrencyField.js +0 -160
- package/es/v1/form/fields/CurrencyField/props/defaultProps.js +0 -17
- package/es/v1/form/fields/CurrencyField/props/propTypes.js +0 -39
- package/es/v1/form/fields/DateField/DateField.js +0 -164
- package/es/v1/form/fields/DateField/props/defaultProps.js +0 -19
- package/es/v1/form/fields/DateField/props/propTypes.js +0 -39
- package/es/v1/form/fields/FieldContainer/FieldContainer.js +0 -66
- package/es/v1/form/fields/FieldContainer/props/defaultProps.js +0 -6
- package/es/v1/form/fields/FieldContainer/props/propTypes.js +0 -24
- package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +0 -190
- package/es/v1/form/fields/MultiSelectField/props/defaultProps.js +0 -17
- package/es/v1/form/fields/MultiSelectField/props/propTypes.js +0 -50
- package/es/v1/form/fields/PhoneField/PhoneField.js +0 -161
- package/es/v1/form/fields/PhoneField/props/defaultProps.js +0 -16
- package/es/v1/form/fields/PhoneField/props/propTypes.js +0 -47
- package/es/v1/form/fields/RadioField/RadioField.js +0 -144
- package/es/v1/form/fields/RadioField/props/defaultProps.js +0 -13
- package/es/v1/form/fields/RadioField/props/propTypes.js +0 -33
- package/es/v1/form/fields/RadioField/useRadio.js +0 -44
- package/es/v1/form/fields/SelectField/SelectField.js +0 -160
- package/es/v1/form/fields/SelectField/props/defaultProps.js +0 -18
- package/es/v1/form/fields/SelectField/props/propTypes.js +0 -50
- package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +0 -333
- package/es/v1/form/fields/TagsMultiSelect/props/defaultProps.js +0 -16
- package/es/v1/form/fields/TagsMultiSelect/props/propTypes.js +0 -57
- package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +0 -276
- package/es/v1/form/fields/TagsMultiSelectField/props/defaultProps.js +0 -23
- package/es/v1/form/fields/TagsMultiSelectField/props/propTypes.js +0 -71
- package/es/v1/form/fields/TextBoxField/TextBoxField.js +0 -144
- package/es/v1/form/fields/TextBoxField/props/defaultProps.js +0 -17
- package/es/v1/form/fields/TextBoxField/props/propTypes.js +0 -44
- package/es/v1/form/fields/TextEditor/TextEditor.js +0 -418
- package/es/v1/form/fields/TextEditor/props/defaultProps.js +0 -16
- package/es/v1/form/fields/TextEditor/props/propTypes.js +0 -53
- package/es/v1/form/fields/TextEditorField/TextEditorField.js +0 -159
- package/es/v1/form/fields/TextEditorField/props/defaultProps.js +0 -15
- package/es/v1/form/fields/TextEditorField/props/propTypes.js +0 -59
- package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +0 -163
- package/es/v1/form/fields/TextEditorWrapper/props/defaultProps.js +0 -9
- package/es/v1/form/fields/TextEditorWrapper/props/propTypes.js +0 -40
- package/es/v1/form/fields/TextareaField/TextareaField.js +0 -140
- package/es/v1/form/fields/TextareaField/props/defaultProps.js +0 -15
- package/es/v1/form/fields/TextareaField/props/propTypes.js +0 -35
- package/es/v1/form/fields/ValidationMessage/ValidationMessage.js +0 -58
- package/es/v1/form/fields/ValidationMessage/props/defaultProps.js +0 -7
- package/es/v1/form/fields/ValidationMessage/props/propTypes.js +0 -16
- package/es/v1/form/fields/index.js +0 -16
- package/es/v1/form/fields/props/FieldCommonDefaultProps.js +0 -10
- package/es/v1/form/fields/props/FieldCommonPropTypes.js +0 -17
- package/es/v1/form/layout/Field/Field.js +0 -29
- package/es/v1/form/layout/Field/props/defaultProps.js +0 -4
- package/es/v1/form/layout/Field/props/propTypes.js +0 -10
- package/es/v1/form/layout/Section/Section.js +0 -30
- package/es/v1/form/layout/Section/props/propTypes.js +0 -11
- package/es/v1/form/layout/index.js +0 -2
- package/es/v1/layout/SetupDetailLayout/SetupDetailLayout.js +0 -174
- package/es/v1/layout/SetupDetailLayout/index.js +0 -4
- package/es/v1/layout/SetupDetailLayout/props/defaultProps.js +0 -20
- package/es/v1/layout/SetupDetailLayout/props/propTypes.js +0 -40
- package/es/v1/layout/SubtabLayout/SubtabLayout.js +0 -126
- package/es/v1/layout/SubtabLayout/index.js +0 -4
- package/es/v1/layout/SubtabLayout/props/defaultProps.js +0 -25
- package/es/v1/layout/SubtabLayout/props/propTypes.js +0 -40
- package/es/v1/list/AvatarFlip/AvatarFlip.js +0 -73
- package/es/v1/list/AvatarFlip/props/defaultProps.js +0 -6
- package/es/v1/list/AvatarFlip/props/propTypes.js +0 -29
- package/es/v1/list/BluePrintStatus/BluePrintStatus.js +0 -21
- package/es/v1/list/BluePrintStatus/props/propTypes.js +0 -4
- package/es/v1/list/Comment/Comment.js +0 -35
- package/es/v1/list/Comment/props/defaultProps.js +0 -4
- package/es/v1/list/Comment/props/propTypes.js +0 -7
- package/es/v1/list/DepartmentDropDown/DepartmentDropDown.js +0 -85
- package/es/v1/list/DepartmentDropDown/props/defaultProps.js +0 -7
- package/es/v1/list/DepartmentDropDown/props/propTypes.js +0 -24
- package/es/v1/list/Dot/Dot.js +0 -15
- package/es/v1/list/Dot/props/defaultProps.js +0 -4
- package/es/v1/list/Dot/props/propTypes.js +0 -5
- package/es/v1/list/DotNew/DotNew.js +0 -22
- package/es/v1/list/DotNew/props/defaultProps.js +0 -3
- package/es/v1/list/DotNew/props/propTypes.js +0 -6
- package/es/v1/list/GridStencils/GridStencils.js +0 -31
- package/es/v1/list/GridStencils/props/propTypes.js +0 -8
- package/es/v1/list/Icons/AddNewIcon.js +0 -25
- package/es/v1/list/Icons/CompleteIcon.js +0 -27
- package/es/v1/list/Icons/DeleteIcon.js +0 -28
- package/es/v1/list/Icons/EditIcon.js +0 -28
- package/es/v1/list/Icons/FloatingIcons.js +0 -23
- package/es/v1/list/Icons/ReadUnreadIcon.js +0 -32
- package/es/v1/list/Icons/SmartIcon.js +0 -25
- package/es/v1/list/Icons/index.js +0 -7
- package/es/v1/list/Icons/props/defaultProps.js +0 -6
- package/es/v1/list/Icons/props/propTypes.js +0 -53
- package/es/v1/list/ListLayout/ListLayout.js +0 -68
- package/es/v1/list/ListLayout/props/defaultProps.js +0 -11
- package/es/v1/list/ListLayout/props/propTypes.js +0 -27
- package/es/v1/list/ListStencils/ListStencils.js +0 -44
- package/es/v1/list/ListStencils/props/defaultProps.js +0 -3
- package/es/v1/list/ListStencils/props/propTypes.js +0 -4
- package/es/v1/list/SecondaryText/AccountName.js +0 -77
- package/es/v1/list/SecondaryText/ContactName.js +0 -76
- package/es/v1/list/SecondaryText/DepartmentText.js +0 -18
- package/es/v1/list/SecondaryText/Email.js +0 -47
- package/es/v1/list/SecondaryText/HappinessRating.js +0 -23
- package/es/v1/list/SecondaryText/PhoneNumber.js +0 -51
- package/es/v1/list/SecondaryText/PriorityText.js +0 -21
- package/es/v1/list/SecondaryText/SecondaryText.js +0 -27
- package/es/v1/list/SecondaryText/StatusText.js +0 -22
- package/es/v1/list/SecondaryText/TicketId.js +0 -41
- package/es/v1/list/SecondaryText/Website.js +0 -35
- package/es/v1/list/SecondaryText/index.js +0 -11
- package/es/v1/list/SecondaryText/props/defaultProps.js +0 -44
- package/es/v1/list/SecondaryText/props/propTypes.js +0 -142
- package/es/v1/list/SecondryPanel/SecondryPanel.js +0 -87
- package/es/v1/list/SecondryPanel/props/defaultProps.js +0 -18
- package/es/v1/list/SecondryPanel/props/propTypes.js +0 -27
- package/es/v1/list/SentimentStatus/SentimentStatus.js +0 -23
- package/es/v1/list/SentimentStatus/props/propTypes.js +0 -5
- package/es/v1/list/Subject/Subject.js +0 -52
- package/es/v1/list/Subject/props/defaultProps.js +0 -8
- package/es/v1/list/Subject/props/propTypes.js +0 -20
- package/es/v1/list/TagNew/TagNew.js +0 -24
- package/es/v1/list/TagNew/props/defaultProps.js +0 -4
- package/es/v1/list/TagNew/props/propTypes.js +0 -8
- package/es/v1/list/Thread/Thread.js +0 -33
- package/es/v1/list/Thread/props/defaultProps.js +0 -4
- package/es/v1/list/Thread/props/propTypes.js +0 -8
- package/es/v1/list/index.js +0 -16
- package/es/v1/list/status/StatusDropdown/StatusDropdown.js +0 -307
- package/es/v1/list/status/StatusDropdown/props/defaultProps.js +0 -22
- package/es/v1/list/status/StatusDropdown/props/propTypes.js +0 -60
- package/es/v1/list/status/StatusListItem/StatusListItem.js +0 -108
- package/es/v1/list/status/StatusListItem/props/defaultProps.js +0 -16
- package/es/v1/list/status/StatusListItem/props/propTypes.js +0 -31
- package/es/v1/list/status/index.js +0 -2
- package/es/v1/lookup/EmptyPage/EmptyPage.js +0 -54
- package/es/v1/lookup/EmptyPage/props/defaultProps.js +0 -4
- package/es/v1/lookup/EmptyPage/props/propTypes.js +0 -5
- package/es/v1/lookup/Lookup/Lookup.js +0 -116
- package/es/v1/lookup/Lookup/props/defaultProps.js +0 -9
- package/es/v1/lookup/Lookup/props/propTypes.js +0 -24
- package/es/v1/lookup/Section/Section.js +0 -18
- package/es/v1/lookup/Section/props/propTypes.js +0 -6
- package/es/v1/lookup/header/Close/Close.js +0 -30
- package/es/v1/lookup/header/Close/props/defaultProps.js +0 -3
- package/es/v1/lookup/header/Close/props/propTypes.js +0 -6
- package/es/v1/lookup/header/ModuleHeader/ModuleHeader.js +0 -89
- package/es/v1/lookup/header/ModuleHeader/props/defaultProps.js +0 -9
- package/es/v1/lookup/header/ModuleHeader/props/propTypes.js +0 -20
- package/es/v1/lookup/header/Search/Search.js +0 -179
- package/es/v1/lookup/header/Search/props/defaultProps.js +0 -5
- package/es/v1/lookup/header/Search/props/propTypes.js +0 -28
- package/es/v1/lookup/header/TicketHeader/TicketHeader.js +0 -108
- package/es/v1/lookup/header/TicketHeader/props/defaultProps.js +0 -10
- package/es/v1/lookup/header/TicketHeader/props/propTypes.js +0 -21
- package/es/v1/lookup/header/Title/Title.js +0 -27
- package/es/v1/lookup/header/Title/props/defaultProps.js +0 -3
- package/es/v1/lookup/header/Title/props/propTypes.js +0 -6
- package/es/v1/lookup/header/ViewDropDown/ViewDropDown.js +0 -194
- package/es/v1/lookup/header/ViewDropDown/props/defaultProps.js +0 -10
- package/es/v1/lookup/header/ViewDropDown/props/propTypes.js +0 -27
- package/es/v1/lookup/header/index.js +0 -5
- package/es/v1/notification/DesktopNotification/DesktopNotification.js +0 -190
- package/es/v1/notification/DesktopNotification/props/defaultProps.js +0 -17
- package/es/v1/notification/DesktopNotification/props/propTypes.js +0 -43
- package/es/v1/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +0 -91
- package/es/v1/notification/DesktopNotificationHeader/props/defaultProps.js +0 -7
- package/es/v1/notification/DesktopNotificationHeader/props/propTypes.js +0 -13
- package/es/v1/setup/header/Button/Button.js +0 -24
- package/es/v1/setup/header/Button/props/defaultProps.js +0 -4
- package/es/v1/setup/header/Button/props/propTypes.js +0 -7
- package/es/v1/setup/header/Link/Link.js +0 -32
- package/es/v1/setup/header/Link/props/defaultProps.js +0 -4
- package/es/v1/setup/header/Link/props/propTypes.js +0 -8
- package/es/v1/setup/header/Search/Search.js +0 -60
- package/es/v1/setup/header/Search/props/defaultProps.js +0 -6
- package/es/v1/setup/header/Search/props/propTypes.js +0 -12
- package/es/v1/setup/header/Views/Views.js +0 -34
- package/es/v1/setup/header/Views/props/defaultProps.js +0 -6
- package/es/v1/setup/header/Views/props/propTypes.js +0 -9
- package/es/v1/setup/header/index.js +0 -4
- package/es/v1/setup/helptips/Description/Description.js +0 -12
- package/es/v1/setup/helptips/Description/props/propTypes.js +0 -4
- package/es/v1/setup/helptips/Link/Link.js +0 -29
- package/es/v1/setup/helptips/Link/props/propTypes.js +0 -7
- package/es/v1/setup/helptips/ListGroup/ListGroup.js +0 -27
- package/es/v1/setup/helptips/ListGroup/props/propTypes.js +0 -5
- package/es/v1/setup/helptips/Title/Title.js +0 -12
- package/es/v1/setup/helptips/Title/props/propTypes.js +0 -4
- package/es/v1/setup/helptips/index.js +0 -4
- package/es/v1/setup/index.js +0 -6
- package/es/v1/setup/table/Table/Table.js +0 -22
- package/es/v1/setup/table/Table/props/defaultProps.js +0 -4
- package/es/v1/setup/table/Table/props/propTypes.js +0 -6
- package/es/v1/setup/table/TableBody/TableBody.js +0 -26
- package/es/v1/setup/table/TableBody/props/defaultProps.js +0 -3
- package/es/v1/setup/table/TableBody/props/propTypes.js +0 -7
- package/es/v1/setup/table/TableData/TableData.js +0 -31
- package/es/v1/setup/table/TableData/props/defaultProps.js +0 -5
- package/es/v1/setup/table/TableData/props/propTypes.js +0 -11
- package/es/v1/setup/table/TableHead/TableHead.js +0 -31
- package/es/v1/setup/table/TableHead/props/defaultProps.js +0 -4
- package/es/v1/setup/table/TableHead/props/propTypes.js +0 -8
- package/es/v1/setup/table/TableRow/TableRow.js +0 -36
- package/es/v1/setup/table/TableRow/props/defaultProps.js +0 -4
- package/es/v1/setup/table/TableRow/props/propTypes.js +0 -11
- package/es/v1/setup/table/Text/Text.js +0 -50
- package/es/v1/setup/table/Text/props/defaultProps.js +0 -7
- package/es/v1/setup/table/Text/props/propTypes.js +0 -13
- package/es/v1/setup/table/index.js +0 -5
- package/es/v1/svg/PlusIcon.js +0 -25
- package/es/v1/svg/SnippetIcon.js +0 -27
- package/es/v1/svg/TemplateIcon.js +0 -28
- package/es/v1/svg/index.js +0 -3
- package/es/v1/svg/props/defaultProps.js +0 -15
- package/es/v1/svg/props/propTypes.js +0 -16
- package/es/v1/utils/ChannelIconMapping.js +0 -129
- package/es/v1/utils/General.js +0 -45
- package/es/v1/utils/editorUtils.js +0 -193
- package/lib/v1/ActionButton/ActionButton.js +0 -173
- package/lib/v1/ActionButton/props/defaultProps.js +0 -26
- package/lib/v1/ActionButton/props/propTypes.js +0 -48
- package/lib/v1/AlphabeticList/AlphabeticList.js +0 -113
- package/lib/v1/AlphabeticList/props/defaultProps.js +0 -20
- package/lib/v1/AlphabeticList/props/propTypes.js +0 -50
- package/lib/v1/Attachment/Attachment.js +0 -110
- package/lib/v1/Attachment/props/defaultProps.js +0 -15
- package/lib/v1/Attachment/props/propTypes.js +0 -29
- package/lib/v1/AttachmentViewer/AttachmentImage.js +0 -117
- package/lib/v1/AttachmentViewer/AttachmentViewer.js +0 -713
- package/lib/v1/AttachmentViewer/props/defaultProps.js +0 -19
- package/lib/v1/AttachmentViewer/props/propTypes.js +0 -48
- package/lib/v1/ChannelIcon/ChannelIcon.js +0 -114
- package/lib/v1/ChannelIcon/props/defaultProps.js +0 -14
- package/lib/v1/ChannelIcon/props/propTypes.js +0 -36
- package/lib/v1/Drawer/Drawer.js +0 -302
- package/lib/v1/Drawer/props/defaultProps.js +0 -32
- package/lib/v1/Drawer/props/propTypes.js +0 -67
- package/lib/v1/ExternalLink/ExternalLink.js +0 -57
- package/lib/v1/ExternalLink/props/defaultProps.js +0 -12
- package/lib/v1/ExternalLink/props/propTypes.js +0 -23
- package/lib/v1/FlipCard/FlipCard.js +0 -149
- package/lib/v1/FlipCard/props/defaultProps.js +0 -12
- package/lib/v1/FlipCard/props/propTypes.js +0 -48
- package/lib/v1/FormAction/FormAction.js +0 -102
- package/lib/v1/FormAction/props/defaultProps.js +0 -12
- package/lib/v1/FormAction/props/propTypes.js +0 -19
- package/lib/v1/FreezeLayer/FreezeLayer.js +0 -94
- package/lib/v1/FreezeLayer/props/defaultProps.js +0 -16
- package/lib/v1/FreezeLayer/props/propTypes.js +0 -31
- package/lib/v1/GlobalNotification/GlobalNotification.js +0 -187
- package/lib/v1/GlobalNotification/props/defaultProps.js +0 -13
- package/lib/v1/GlobalNotification/props/propTypes.js +0 -58
- package/lib/v1/IconButton/IconButton.js +0 -149
- package/lib/v1/IconButton/props/defaultProps.js +0 -24
- package/lib/v1/IconButton/props/propTypes.js +0 -43
- package/lib/v1/Image/Image.js +0 -48
- package/lib/v1/Image/props/defaultProps.js +0 -11
- package/lib/v1/Image/props/propTypes.js +0 -26
- package/lib/v1/ImportantNotes/ImportantNotes.js +0 -55
- package/lib/v1/ImportantNotes/props/defaultProps.js +0 -13
- package/lib/v1/ImportantNotes/props/propTypes.js +0 -21
- package/lib/v1/Link/Link.js +0 -116
- package/lib/v1/Link/props/defaultProps.js +0 -12
- package/lib/v1/Link/props/propTypes.js +0 -29
- package/lib/v1/Loader/Loader.js +0 -27
- package/lib/v1/Message/Message.js +0 -113
- package/lib/v1/Message/props/defaultProps.js +0 -11
- package/lib/v1/Message/props/propTypes.js +0 -41
- package/lib/v1/MessageBanner/MessageBanner.js +0 -75
- package/lib/v1/MessageBanner/props/defaultProps.js +0 -14
- package/lib/v1/MessageBanner/props/propTypes.js +0 -24
- package/lib/v1/NewStar/NewStar.js +0 -74
- package/lib/v1/NewStar/props/defaultProps.js +0 -11
- package/lib/v1/NewStar/props/propTypes.js +0 -17
- package/lib/v1/PlusIcon/PlusIcon.js +0 -45
- package/lib/v1/PlusIcon/props/defaultProps.js +0 -15
- package/lib/v1/PlusIcon/props/propTypes.js +0 -22
- package/lib/v1/Separator/Separator.js +0 -66
- package/lib/v1/Separator/props/defaultProps.js +0 -19
- package/lib/v1/Separator/props/propTypes.js +0 -22
- package/lib/v1/TagWithIcon/TagWithIcon.js +0 -53
- package/lib/v1/TagWithIcon/props/defaultProps.js +0 -15
- package/lib/v1/TagWithIcon/props/propTypes.js +0 -24
- package/lib/v1/ToastMessage/ToastMessage.js +0 -246
- package/lib/v1/ToastMessage/props/defaultProps.js +0 -25
- package/lib/v1/ToastMessage/props/propTypes.js +0 -51
- package/lib/v1/Upload/Upload.js +0 -83
- package/lib/v1/Upload/props/defaultProps.js +0 -14
- package/lib/v1/Upload/props/propTypes.js +0 -28
- package/lib/v1/actions/AutoClose.js +0 -75
- package/lib/v1/actions/props/defaultProps.js +0 -10
- package/lib/v1/actions/props/propTypes.js +0 -19
- package/lib/v1/alert/AlertClose/AlertClose.js +0 -62
- package/lib/v1/alert/AlertClose/props/propTypes.js +0 -19
- package/lib/v1/alert/AlertHeader/AlertHeader.js +0 -107
- package/lib/v1/alert/AlertHeader/props/defaultProps.js +0 -19
- package/lib/v1/alert/AlertHeader/props/propTypes.js +0 -31
- package/lib/v1/alert/AlertLookup/AlertLookup.js +0 -187
- package/lib/v1/alert/AlertLookup/props/defaultProps.js +0 -20
- package/lib/v1/alert/AlertLookup/props/propTypes.js +0 -47
- package/lib/v1/alert/alertIcons/AlarmAlertIcon.js +0 -77
- package/lib/v1/alert/alertIcons/AlertIcons.js +0 -78
- package/lib/v1/alert/alertIcons/DangerAlertIcon.js +0 -77
- package/lib/v1/alert/alertIcons/ErrorAlertIcon.js +0 -82
- package/lib/v1/alert/alertIcons/InfoAlertIcon.js +0 -86
- package/lib/v1/alert/alertIcons/NotificationAlertIcon.js +0 -82
- package/lib/v1/alert/alertIcons/SuccessAlertIcon.js +0 -77
- package/lib/v1/alert/alertIcons/WarningAlertIcon.js +0 -77
- package/lib/v1/alert/alertIcons/index.js +0 -71
- package/lib/v1/alert/alertIcons/props/defaultProps.js +0 -41
- package/lib/v1/alert/alertIcons/props/propTypes.js +0 -52
- package/lib/v1/alert/index.js +0 -23
- package/lib/v1/avatar/AvatarClose/AvatarClose.js +0 -61
- package/lib/v1/avatar/AvatarClose/props/defaultProps.js +0 -14
- package/lib/v1/avatar/AvatarClose/props/propTypes.js +0 -26
- package/lib/v1/avatar/AvatarCollision/AvatarCollision.js +0 -65
- package/lib/v1/avatar/AvatarCollision/props/defaultProps.js +0 -15
- package/lib/v1/avatar/AvatarCollision/props/propTypes.js +0 -28
- package/lib/v1/avatar/AvatarIcon/AvatarIcon.js +0 -63
- package/lib/v1/avatar/AvatarIcon/props/defaultProps.js +0 -21
- package/lib/v1/avatar/AvatarIcon/props/propTypes.js +0 -31
- package/lib/v1/avatar/AvatarStatus/AvatarStatus.js +0 -73
- package/lib/v1/avatar/AvatarStatus/props/defaultProps.js +0 -19
- package/lib/v1/avatar/AvatarStatus/props/propTypes.js +0 -35
- package/lib/v1/avatar/AvatarThread/AvatarThread.js +0 -85
- package/lib/v1/avatar/AvatarThread/props/defaultProps.js +0 -16
- package/lib/v1/avatar/AvatarThread/props/propTypes.js +0 -41
- package/lib/v1/avatar/AvatarUser/AvatarUser.js +0 -122
- package/lib/v1/avatar/AvatarUser/props/defaultProps.js +0 -15
- package/lib/v1/avatar/AvatarUser/props/propTypes.js +0 -46
- package/lib/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +0 -109
- package/lib/v1/avatar/AvatarWithTeam/props/defaultProps.js +0 -16
- package/lib/v1/avatar/AvatarWithTeam/props/propTypes.js +0 -36
- package/lib/v1/avatar/index.js +0 -63
- package/lib/v1/dropdown/ToggleDropDown/ToggleDropDown.js +0 -946
- package/lib/v1/dropdown/ToggleDropDown/props/defaultProps.js +0 -36
- package/lib/v1/dropdown/ToggleDropDown/props/propTypes.js +0 -94
- package/lib/v1/emptystate/CommonEmptyState/CommonEmptyState.js +0 -77
- package/lib/v1/emptystate/CommonEmptyState/props/defaultProps.js +0 -17
- package/lib/v1/emptystate/CommonEmptyState/props/propTypes.js +0 -32
- package/lib/v1/emptystate/EditionPage/EditionPage.js +0 -64
- package/lib/v1/emptystate/EditionPage/props/defaultProps.js +0 -12
- package/lib/v1/emptystate/EditionPage/props/propTypes.js +0 -22
- package/lib/v1/errorstate/Inconvenience/Inconvenience.js +0 -76
- package/lib/v1/errorstate/Inconvenience/props/defaultProps.js +0 -15
- package/lib/v1/errorstate/Inconvenience/props/propTypes.js +0 -27
- package/lib/v1/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +0 -80
- package/lib/v1/errorstate/OopsSomethingMiss/props/defaultProps.js +0 -15
- package/lib/v1/errorstate/OopsSomethingMiss/props/propTypes.js +0 -27
- package/lib/v1/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +0 -80
- package/lib/v1/errorstate/UnableToProcessRequest/props/defaultProps.js +0 -15
- package/lib/v1/errorstate/UnableToProcessRequest/props/propTypes.js +0 -27
- package/lib/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -81
- package/lib/v1/errorstate/UnauthorizedLogin/props/defaultProps.js +0 -16
- package/lib/v1/errorstate/UnauthorizedLogin/props/propTypes.js +0 -28
- package/lib/v1/errorstate/UrlNotFound/UrlNotFound.js +0 -80
- package/lib/v1/errorstate/UrlNotFound/props/defaultProps.js +0 -15
- package/lib/v1/errorstate/UrlNotFound/props/propTypes.js +0 -27
- package/lib/v1/errorstate/WillBeRightBack/WillBeRightBack.js +0 -80
- package/lib/v1/errorstate/WillBeRightBack/props/defaultProps.js +0 -15
- package/lib/v1/errorstate/WillBeRightBack/props/propTypes.js +0 -27
- package/lib/v1/form/fields/CheckBoxField/CheckBoxField.js +0 -148
- package/lib/v1/form/fields/CheckBoxField/props/defaultProps.js +0 -27
- package/lib/v1/form/fields/CheckBoxField/props/propTypes.js +0 -47
- package/lib/v1/form/fields/CurrencyField/CurrencyField.js +0 -194
- package/lib/v1/form/fields/CurrencyField/props/defaultProps.js +0 -32
- package/lib/v1/form/fields/CurrencyField/props/propTypes.js +0 -57
- package/lib/v1/form/fields/DateField/DateField.js +0 -183
- package/lib/v1/form/fields/DateField/props/defaultProps.js +0 -34
- package/lib/v1/form/fields/DateField/props/propTypes.js +0 -57
- package/lib/v1/form/fields/FieldContainer/FieldContainer.js +0 -87
- package/lib/v1/form/fields/FieldContainer/props/defaultProps.js +0 -22
- package/lib/v1/form/fields/FieldContainer/props/propTypes.js +0 -35
- package/lib/v1/form/fields/MultiSelectField/MultiSelectField.js +0 -208
- package/lib/v1/form/fields/MultiSelectField/props/defaultProps.js +0 -32
- package/lib/v1/form/fields/MultiSelectField/props/propTypes.js +0 -68
- package/lib/v1/form/fields/PhoneField/PhoneField.js +0 -193
- package/lib/v1/form/fields/PhoneField/props/defaultProps.js +0 -23
- package/lib/v1/form/fields/PhoneField/props/propTypes.js +0 -58
- package/lib/v1/form/fields/RadioField/RadioField.js +0 -164
- package/lib/v1/form/fields/RadioField/props/defaultProps.js +0 -20
- package/lib/v1/form/fields/RadioField/props/propTypes.js +0 -44
- package/lib/v1/form/fields/RadioField/useRadio.js +0 -50
- package/lib/v1/form/fields/SelectField/SelectField.js +0 -179
- package/lib/v1/form/fields/SelectField/props/defaultProps.js +0 -33
- package/lib/v1/form/fields/SelectField/props/propTypes.js +0 -68
- package/lib/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +0 -387
- package/lib/v1/form/fields/TagsMultiSelect/props/defaultProps.js +0 -23
- package/lib/v1/form/fields/TagsMultiSelect/props/propTypes.js +0 -68
- package/lib/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +0 -317
- package/lib/v1/form/fields/TagsMultiSelectField/props/defaultProps.js +0 -38
- package/lib/v1/form/fields/TagsMultiSelectField/props/propTypes.js +0 -83
- package/lib/v1/form/fields/TextBoxField/TextBoxField.js +0 -163
- package/lib/v1/form/fields/TextBoxField/props/defaultProps.js +0 -32
- package/lib/v1/form/fields/TextBoxField/props/propTypes.js +0 -62
- package/lib/v1/form/fields/TextEditor/TextEditor.js +0 -462
- package/lib/v1/form/fields/TextEditor/props/defaultProps.js +0 -23
- package/lib/v1/form/fields/TextEditor/props/propTypes.js +0 -64
- package/lib/v1/form/fields/TextEditorField/TextEditorField.js +0 -175
- package/lib/v1/form/fields/TextEditorField/props/defaultProps.js +0 -30
- package/lib/v1/form/fields/TextEditorField/props/propTypes.js +0 -67
- package/lib/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +0 -204
- package/lib/v1/form/fields/TextEditorWrapper/props/defaultProps.js +0 -16
- package/lib/v1/form/fields/TextEditorWrapper/props/propTypes.js +0 -51
- package/lib/v1/form/fields/TextareaField/TextareaField.js +0 -157
- package/lib/v1/form/fields/TextareaField/props/defaultProps.js +0 -30
- package/lib/v1/form/fields/TextareaField/props/propTypes.js +0 -53
- package/lib/v1/form/fields/ValidationMessage/ValidationMessage.js +0 -71
- package/lib/v1/form/fields/ValidationMessage/props/defaultProps.js +0 -14
- package/lib/v1/form/fields/ValidationMessage/props/propTypes.js +0 -27
- package/lib/v1/form/fields/index.js +0 -135
- package/lib/v1/form/fields/props/FieldCommonDefaultProps.js +0 -19
- package/lib/v1/form/fields/props/FieldCommonPropTypes.js +0 -28
- package/lib/v1/form/layout/Field/Field.js +0 -40
- package/lib/v1/form/layout/Field/props/defaultProps.js +0 -11
- package/lib/v1/form/layout/Field/props/propTypes.js +0 -21
- package/lib/v1/form/layout/Section/Section.js +0 -40
- package/lib/v1/form/layout/Section/props/propTypes.js +0 -22
- package/lib/v1/form/layout/index.js +0 -23
- package/lib/v1/layout/SetupDetailLayout/SetupDetailLayout.js +0 -212
- package/lib/v1/layout/SetupDetailLayout/index.js +0 -37
- package/lib/v1/layout/SetupDetailLayout/props/defaultProps.js +0 -30
- package/lib/v1/layout/SetupDetailLayout/props/propTypes.js +0 -54
- package/lib/v1/layout/SubtabLayout/SubtabLayout.js +0 -146
- package/lib/v1/layout/SubtabLayout/index.js +0 -37
- package/lib/v1/layout/SubtabLayout/props/defaultProps.js +0 -35
- package/lib/v1/layout/SubtabLayout/props/propTypes.js +0 -54
- package/lib/v1/list/AvatarFlip/AvatarFlip.js +0 -86
- package/lib/v1/list/AvatarFlip/props/defaultProps.js +0 -13
- package/lib/v1/list/AvatarFlip/props/propTypes.js +0 -40
- package/lib/v1/list/BluePrintStatus/BluePrintStatus.js +0 -33
- package/lib/v1/list/BluePrintStatus/props/propTypes.js +0 -15
- package/lib/v1/list/Comment/Comment.js +0 -49
- package/lib/v1/list/Comment/props/defaultProps.js +0 -11
- package/lib/v1/list/Comment/props/propTypes.js +0 -18
- package/lib/v1/list/DepartmentDropDown/DepartmentDropDown.js +0 -102
- package/lib/v1/list/DepartmentDropDown/props/defaultProps.js +0 -14
- package/lib/v1/list/DepartmentDropDown/props/propTypes.js +0 -35
- package/lib/v1/list/Dot/Dot.js +0 -27
- package/lib/v1/list/Dot/props/defaultProps.js +0 -11
- package/lib/v1/list/Dot/props/propTypes.js +0 -16
- package/lib/v1/list/DotNew/DotNew.js +0 -34
- package/lib/v1/list/DotNew/props/defaultProps.js +0 -10
- package/lib/v1/list/DotNew/props/propTypes.js +0 -17
- package/lib/v1/list/GridStencils/GridStencils.js +0 -42
- package/lib/v1/list/GridStencils/props/propTypes.js +0 -19
- package/lib/v1/list/Icons/AddNewIcon.js +0 -38
- package/lib/v1/list/Icons/CompleteIcon.js +0 -40
- package/lib/v1/list/Icons/DeleteIcon.js +0 -41
- package/lib/v1/list/Icons/EditIcon.js +0 -41
- package/lib/v1/list/Icons/FloatingIcons.js +0 -42
- package/lib/v1/list/Icons/ReadUnreadIcon.js +0 -46
- package/lib/v1/list/Icons/SmartIcon.js +0 -38
- package/lib/v1/list/Icons/index.js +0 -63
- package/lib/v1/list/Icons/props/defaultProps.js +0 -14
- package/lib/v1/list/Icons/props/propTypes.js +0 -70
- package/lib/v1/list/ListLayout/ListLayout.js +0 -82
- package/lib/v1/list/ListLayout/props/defaultProps.js +0 -18
- package/lib/v1/list/ListLayout/props/propTypes.js +0 -39
- package/lib/v1/list/ListStencils/ListStencils.js +0 -57
- package/lib/v1/list/ListStencils/props/defaultProps.js +0 -10
- package/lib/v1/list/ListStencils/props/propTypes.js +0 -15
- package/lib/v1/list/SecondaryText/AccountName.js +0 -86
- package/lib/v1/list/SecondaryText/ContactName.js +0 -94
- package/lib/v1/list/SecondaryText/DepartmentText.js +0 -29
- package/lib/v1/list/SecondaryText/Email.js +0 -53
- package/lib/v1/list/SecondaryText/HappinessRating.js +0 -34
- package/lib/v1/list/SecondaryText/PhoneNumber.js +0 -57
- package/lib/v1/list/SecondaryText/PriorityText.js +0 -33
- package/lib/v1/list/SecondaryText/SecondaryText.js +0 -38
- package/lib/v1/list/SecondaryText/StatusText.js +0 -34
- package/lib/v1/list/SecondaryText/TicketId.js +0 -54
- package/lib/v1/list/SecondaryText/Website.js +0 -48
- package/lib/v1/list/SecondaryText/index.js +0 -95
- package/lib/v1/list/SecondaryText/props/defaultProps.js +0 -59
- package/lib/v1/list/SecondaryText/props/propTypes.js +0 -163
- package/lib/v1/list/SecondryPanel/SecondryPanel.js +0 -104
- package/lib/v1/list/SecondryPanel/props/defaultProps.js +0 -28
- package/lib/v1/list/SecondryPanel/props/propTypes.js +0 -41
- package/lib/v1/list/SentimentStatus/SentimentStatus.js +0 -35
- package/lib/v1/list/SentimentStatus/props/propTypes.js +0 -16
- package/lib/v1/list/Subject/Subject.js +0 -65
- package/lib/v1/list/Subject/props/defaultProps.js +0 -15
- package/lib/v1/list/Subject/props/propTypes.js +0 -31
- package/lib/v1/list/TagNew/TagNew.js +0 -35
- package/lib/v1/list/TagNew/props/defaultProps.js +0 -11
- package/lib/v1/list/TagNew/props/propTypes.js +0 -19
- package/lib/v1/list/Thread/Thread.js +0 -46
- package/lib/v1/list/Thread/props/defaultProps.js +0 -11
- package/lib/v1/list/Thread/props/propTypes.js +0 -19
- package/lib/v1/list/index.js +0 -165
- package/lib/v1/list/status/StatusDropdown/StatusDropdown.js +0 -363
- package/lib/v1/list/status/StatusDropdown/props/defaultProps.js +0 -29
- package/lib/v1/list/status/StatusDropdown/props/propTypes.js +0 -34
- package/lib/v1/list/status/StatusListItem/StatusListItem.js +0 -124
- package/lib/v1/list/status/StatusListItem/props/defaultProps.js +0 -23
- package/lib/v1/list/status/StatusListItem/props/propTypes.js +0 -42
- package/lib/v1/list/status/index.js +0 -23
- package/lib/v1/lookup/EmptyPage/EmptyPage.js +0 -70
- package/lib/v1/lookup/EmptyPage/props/defaultProps.js +0 -11
- package/lib/v1/lookup/EmptyPage/props/propTypes.js +0 -16
- package/lib/v1/lookup/Lookup/Lookup.js +0 -145
- package/lib/v1/lookup/Lookup/props/defaultProps.js +0 -16
- package/lib/v1/lookup/Lookup/props/propTypes.js +0 -35
- package/lib/v1/lookup/Section/Section.js +0 -30
- package/lib/v1/lookup/Section/props/propTypes.js +0 -17
- package/lib/v1/lookup/header/Close/Close.js +0 -47
- package/lib/v1/lookup/header/Close/props/defaultProps.js +0 -10
- package/lib/v1/lookup/header/Close/props/propTypes.js +0 -17
- package/lib/v1/lookup/header/ModuleHeader/ModuleHeader.js +0 -116
- package/lib/v1/lookup/header/ModuleHeader/props/defaultProps.js +0 -16
- package/lib/v1/lookup/header/ModuleHeader/props/propTypes.js +0 -31
- package/lib/v1/lookup/header/Search/Search.js +0 -208
- package/lib/v1/lookup/header/Search/props/defaultProps.js +0 -12
- package/lib/v1/lookup/header/Search/props/propTypes.js +0 -40
- package/lib/v1/lookup/header/TicketHeader/TicketHeader.js +0 -133
- package/lib/v1/lookup/header/TicketHeader/props/defaultProps.js +0 -17
- package/lib/v1/lookup/header/TicketHeader/props/propTypes.js +0 -32
- package/lib/v1/lookup/header/Title/Title.js +0 -44
- package/lib/v1/lookup/header/Title/props/defaultProps.js +0 -10
- package/lib/v1/lookup/header/Title/props/propTypes.js +0 -17
- package/lib/v1/lookup/header/ViewDropDown/ViewDropDown.js +0 -239
- package/lib/v1/lookup/header/ViewDropDown/props/defaultProps.js +0 -17
- package/lib/v1/lookup/header/ViewDropDown/props/propTypes.js +0 -38
- package/lib/v1/lookup/header/index.js +0 -47
- package/lib/v1/notification/DesktopNotification/DesktopNotification.js +0 -209
- package/lib/v1/notification/DesktopNotification/props/defaultProps.js +0 -26
- package/lib/v1/notification/DesktopNotification/props/propTypes.js +0 -55
- package/lib/v1/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +0 -105
- package/lib/v1/notification/DesktopNotificationHeader/props/defaultProps.js +0 -16
- package/lib/v1/notification/DesktopNotificationHeader/props/propTypes.js +0 -24
- package/lib/v1/setup/header/Button/Button.js +0 -37
- package/lib/v1/setup/header/Button/props/defaultProps.js +0 -11
- package/lib/v1/setup/header/Button/props/propTypes.js +0 -18
- package/lib/v1/setup/header/Link/Link.js +0 -47
- package/lib/v1/setup/header/Link/props/defaultProps.js +0 -11
- package/lib/v1/setup/header/Link/props/propTypes.js +0 -19
- package/lib/v1/setup/header/Search/Search.js +0 -99
- package/lib/v1/setup/header/Search/props/defaultProps.js +0 -13
- package/lib/v1/setup/header/Search/props/propTypes.js +0 -23
- package/lib/v1/setup/header/Views/Views.js +0 -47
- package/lib/v1/setup/header/Views/props/defaultProps.js +0 -13
- package/lib/v1/setup/header/Views/props/propTypes.js +0 -20
- package/lib/v1/setup/header/index.js +0 -39
- package/lib/v1/setup/helptips/Description/Description.js +0 -23
- package/lib/v1/setup/helptips/Description/props/propTypes.js +0 -15
- package/lib/v1/setup/helptips/Link/Link.js +0 -42
- package/lib/v1/setup/helptips/Link/props/propTypes.js +0 -18
- package/lib/v1/setup/helptips/ListGroup/ListGroup.js +0 -42
- package/lib/v1/setup/helptips/ListGroup/props/propTypes.js +0 -16
- package/lib/v1/setup/helptips/Title/Title.js +0 -23
- package/lib/v1/setup/helptips/Title/props/propTypes.js +0 -15
- package/lib/v1/setup/helptips/index.js +0 -39
- package/lib/v1/setup/index.js +0 -24
- package/lib/v1/setup/table/Table/Table.js +0 -34
- package/lib/v1/setup/table/Table/props/defaultProps.js +0 -11
- package/lib/v1/setup/table/Table/props/propTypes.js +0 -17
- package/lib/v1/setup/table/TableBody/TableBody.js +0 -39
- package/lib/v1/setup/table/TableBody/props/defaultProps.js +0 -10
- package/lib/v1/setup/table/TableBody/props/propTypes.js +0 -18
- package/lib/v1/setup/table/TableData/TableData.js +0 -44
- package/lib/v1/setup/table/TableData/props/defaultProps.js +0 -12
- package/lib/v1/setup/table/TableData/props/propTypes.js +0 -22
- package/lib/v1/setup/table/TableHead/TableHead.js +0 -44
- package/lib/v1/setup/table/TableHead/props/defaultProps.js +0 -11
- package/lib/v1/setup/table/TableHead/props/propTypes.js +0 -19
- package/lib/v1/setup/table/TableRow/TableRow.js +0 -49
- package/lib/v1/setup/table/TableRow/props/defaultProps.js +0 -11
- package/lib/v1/setup/table/TableRow/props/propTypes.js +0 -22
- package/lib/v1/setup/table/Text/Text.js +0 -64
- package/lib/v1/setup/table/Text/props/defaultProps.js +0 -14
- package/lib/v1/setup/table/Text/props/propTypes.js +0 -24
- package/lib/v1/setup/table/index.js +0 -47
- package/lib/v1/svg/PlusIcon.js +0 -37
- package/lib/v1/svg/SnippetIcon.js +0 -39
- package/lib/v1/svg/TemplateIcon.js +0 -40
- package/lib/v1/svg/index.js +0 -31
- package/lib/v1/svg/props/defaultProps.js +0 -24
- package/lib/v1/svg/props/propTypes.js +0 -29
- package/lib/v1/utils/ChannelIconMapping.js +0 -138
- package/lib/v1/utils/General.js +0 -58
- package/lib/v1/utils/editorUtils.js +0 -224
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
import React, { useState } from 'react';
|
|
2
|
-
import { defaultProps } from "./props/defaultProps";
|
|
3
|
-
import { propTypes } from "./props/propTypes"; //components
|
|
4
|
-
|
|
5
|
-
import { cancelBubblingEffect } from '@zohodesk/components/es/utils/Common';
|
|
6
|
-
import { Icon } from '@zohodesk/icons';
|
|
7
|
-
import { Container, Box } from '@zohodesk/components/es/v1/Layout';
|
|
8
|
-
import { useZIndex } from '@zohodesk/components/es/Provider/ZindexProvider';
|
|
9
|
-
import { useUniqueId } from '@zohodesk/components/es/Provider/IdProvider';
|
|
10
|
-
import AutoClose from "../actions/AutoClose";
|
|
11
|
-
import a11yStyle from '@zohodesk/components/es/semantic/Button/semanticButton.module.css'; //style
|
|
12
|
-
|
|
13
|
-
import style from "../../ToastMessage/ToastMessage.module.css";
|
|
14
|
-
|
|
15
|
-
function ToastMessageUI(props) {
|
|
16
|
-
let [messageState, setMessageState] = useState(props.messageState);
|
|
17
|
-
let {
|
|
18
|
-
type,
|
|
19
|
-
subject,
|
|
20
|
-
info,
|
|
21
|
-
submitText,
|
|
22
|
-
cancelText,
|
|
23
|
-
iconName,
|
|
24
|
-
iconSize,
|
|
25
|
-
submitType,
|
|
26
|
-
isIconMid,
|
|
27
|
-
needClose,
|
|
28
|
-
iconPalette,
|
|
29
|
-
isMore,
|
|
30
|
-
message,
|
|
31
|
-
isAnimate,
|
|
32
|
-
getLeftContainer,
|
|
33
|
-
getInnerBottomContainer,
|
|
34
|
-
getBottomContainer,
|
|
35
|
-
getSubmitContainer,
|
|
36
|
-
onSubmit,
|
|
37
|
-
onCancel,
|
|
38
|
-
dataId,
|
|
39
|
-
dataSelectorId,
|
|
40
|
-
isClose,
|
|
41
|
-
onClose,
|
|
42
|
-
needAutoZindex,
|
|
43
|
-
a11y
|
|
44
|
-
} = props;
|
|
45
|
-
|
|
46
|
-
function onClickSubmit(e) {
|
|
47
|
-
onSubmit && onSubmit();
|
|
48
|
-
onClose && onClose();
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
function onClickCancel(e) {
|
|
52
|
-
onCancel && onCancel();
|
|
53
|
-
onClose && onClose();
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
function changeMessageState(e) {
|
|
57
|
-
cancelBubblingEffect(e);
|
|
58
|
-
setMessageState(!messageState);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
let animateClass = isClose ? style.rightanimate : style.leftanimate;
|
|
62
|
-
let animateRemoveClass = isClose ? style.rightanimate : style.leftnoanimate;
|
|
63
|
-
let channelIcon = /*#__PURE__*/React.createElement(Icon, {
|
|
64
|
-
iconClass: style[iconPalette],
|
|
65
|
-
name: iconName,
|
|
66
|
-
size: iconSize
|
|
67
|
-
});
|
|
68
|
-
let getNextIndex = useZIndex();
|
|
69
|
-
let Zindex = isAnimate ? getNextIndex() : null,
|
|
70
|
-
getNextId = useUniqueId(),
|
|
71
|
-
titleId = getNextId(),
|
|
72
|
-
infoId = getNextId();
|
|
73
|
-
let {
|
|
74
|
-
role = 'alert',
|
|
75
|
-
ariaLive = 'assertive',
|
|
76
|
-
ariaAtomic = true,
|
|
77
|
-
ariaDescribedby = infoId,
|
|
78
|
-
ariaLabelledby = titleId
|
|
79
|
-
} = a11y;
|
|
80
|
-
return /*#__PURE__*/React.createElement(Container, {
|
|
81
|
-
className: `${style.container} ${isAnimate ? animateClass : animateRemoveClass} ${style[`alert${type}`] ? style[`alert${type}`] : ''}`,
|
|
82
|
-
isCover: false,
|
|
83
|
-
dataId: dataId,
|
|
84
|
-
style: needAutoZindex && isAnimate ? {
|
|
85
|
-
zIndex: `${Zindex}`
|
|
86
|
-
} : {},
|
|
87
|
-
role: role,
|
|
88
|
-
"aria-live": ariaLive,
|
|
89
|
-
"aria-atomic": ariaAtomic,
|
|
90
|
-
"aria-describedby": ariaDescribedby,
|
|
91
|
-
"aria-labelledby": ariaLabelledby,
|
|
92
|
-
dataSelectorId: dataSelectorId
|
|
93
|
-
}, type !== 'custom' ? /*#__PURE__*/React.createElement(Box, {
|
|
94
|
-
className: style.alertifychild,
|
|
95
|
-
flexible: true
|
|
96
|
-
}, /*#__PURE__*/React.createElement(Container, {
|
|
97
|
-
alignBox: "row",
|
|
98
|
-
className: style.alertifybanner
|
|
99
|
-
}, /*#__PURE__*/React.createElement(Box, {
|
|
100
|
-
className: style.alertleft,
|
|
101
|
-
flexible: true
|
|
102
|
-
}, /*#__PURE__*/React.createElement(Container, {
|
|
103
|
-
align: isIconMid ? 'vertical' : '',
|
|
104
|
-
alignBox: "row"
|
|
105
|
-
}, type != 'success' && !getLeftContainer ? /*#__PURE__*/React.createElement(Box, {
|
|
106
|
-
className: `${style.alertico}`
|
|
107
|
-
}, /*#__PURE__*/React.createElement("span", null, channelIcon)) : getLeftContainer ? /*#__PURE__*/React.createElement(Box, {
|
|
108
|
-
className: `${style.alertico}`
|
|
109
|
-
}, getLeftContainer()) : null, /*#__PURE__*/React.createElement(Box, {
|
|
110
|
-
flexible: true
|
|
111
|
-
}, /*#__PURE__*/React.createElement(Container, {
|
|
112
|
-
align: "vertical",
|
|
113
|
-
alignBox: "row",
|
|
114
|
-
isCover: false
|
|
115
|
-
}, type == 'success' ? /*#__PURE__*/React.createElement(Box, {
|
|
116
|
-
className: style.alertTitleLeft
|
|
117
|
-
}, channelIcon) : null, /*#__PURE__*/React.createElement(Box, {
|
|
118
|
-
className: style.alertTitle,
|
|
119
|
-
flexible: true,
|
|
120
|
-
"data-title": subject,
|
|
121
|
-
id: titleId
|
|
122
|
-
}, subject)), info ? /*#__PURE__*/React.createElement("p", {
|
|
123
|
-
className: style.alertMessage,
|
|
124
|
-
"data-title": info,
|
|
125
|
-
id: infoId
|
|
126
|
-
}, info) : null, getInnerBottomContainer ? /*#__PURE__*/React.createElement("div", null, getInnerBottomContainer()) : null), type == 'information' && needClose ? /*#__PURE__*/React.createElement(Box, {
|
|
127
|
-
className: `${a11yStyle.buttonReset} ${style.closeIconPrimary}`,
|
|
128
|
-
onClick: onClose,
|
|
129
|
-
dataId: `${dataId}_close`,
|
|
130
|
-
tagName: "button"
|
|
131
|
-
}, /*#__PURE__*/React.createElement(Icon, {
|
|
132
|
-
isBold: true,
|
|
133
|
-
name: "ZD-close",
|
|
134
|
-
size: "18"
|
|
135
|
-
})) : null)), type != 'information' ? /*#__PURE__*/React.createElement(Box, {
|
|
136
|
-
className: style.alertright
|
|
137
|
-
}, /*#__PURE__*/React.createElement(Container, {
|
|
138
|
-
className: style.alerttab
|
|
139
|
-
}, needClose ? /*#__PURE__*/React.createElement("button", {
|
|
140
|
-
className: `${a11yStyle.buttonReset} ${style.closeIcon}`,
|
|
141
|
-
onClick: onClose,
|
|
142
|
-
"data-id": `${dataId}_closeRight`,
|
|
143
|
-
"data-test-id": `${dataId}_closeRight`
|
|
144
|
-
}, /*#__PURE__*/React.createElement(Icon, {
|
|
145
|
-
name: "ZD-close",
|
|
146
|
-
size: "18"
|
|
147
|
-
})) : null, submitText ? /*#__PURE__*/React.createElement(Box, {
|
|
148
|
-
className: `${getSubmitContainer ? style.sumbitBorder : cancelText ? style.notSolo : style.mainbutton} ${getSubmitContainer ? '' : style[submitType]} `,
|
|
149
|
-
flexible: true,
|
|
150
|
-
onClick: onClickSubmit,
|
|
151
|
-
dataId: `${dataId}_submitButton`
|
|
152
|
-
}, /*#__PURE__*/React.createElement(Container, {
|
|
153
|
-
align: "vertical",
|
|
154
|
-
alignBox: "row"
|
|
155
|
-
}, getSubmitContainer ? /*#__PURE__*/React.createElement(Box, {
|
|
156
|
-
flexible: true
|
|
157
|
-
}, getSubmitContainer()) : /*#__PURE__*/React.createElement(Box, {
|
|
158
|
-
className: `${a11yStyle.buttonReset} ${style.buttonText}`,
|
|
159
|
-
flexible: true,
|
|
160
|
-
tagName: "button"
|
|
161
|
-
}, submitText))) : null, cancelText ? /*#__PURE__*/React.createElement(Box, {
|
|
162
|
-
className: `${style.cancelButton}`,
|
|
163
|
-
flexible: true,
|
|
164
|
-
onClick: onClose,
|
|
165
|
-
dataId: `${dataId}_cancelButton`
|
|
166
|
-
}, /*#__PURE__*/React.createElement(Container, {
|
|
167
|
-
align: "vertical",
|
|
168
|
-
alignBox: "row"
|
|
169
|
-
}, /*#__PURE__*/React.createElement(Box, {
|
|
170
|
-
className: `${a11yStyle.buttonReset} ${style.buttonText}`,
|
|
171
|
-
flexible: true,
|
|
172
|
-
onClick: onClickCancel,
|
|
173
|
-
dataId: `${dataId}_cancelButtonInner`,
|
|
174
|
-
tagName: "button"
|
|
175
|
-
}, cancelText), isMore ? /*#__PURE__*/React.createElement(Box, {
|
|
176
|
-
className: `${a11yStyle.buttonReset} ${style.dropdown}`,
|
|
177
|
-
onClick: changeMessageState,
|
|
178
|
-
dataId: `${dataId}_moreIcon`,
|
|
179
|
-
tagName: "button",
|
|
180
|
-
"aria-expanded": messageState ? true : false,
|
|
181
|
-
"aria-haspopup": true
|
|
182
|
-
}, /*#__PURE__*/React.createElement(Icon, {
|
|
183
|
-
name: "ZD-down",
|
|
184
|
-
size: "7"
|
|
185
|
-
})) : null)) : null)) : null)) : null, isMore ? /*#__PURE__*/React.createElement(Box, {
|
|
186
|
-
className: `${style.message} ${messageState ? '' : style.messageOff}`,
|
|
187
|
-
tagName: "p"
|
|
188
|
-
}, message) : null, getBottomContainer ? /*#__PURE__*/React.createElement(Box, null, getBottomContainer()) : null);
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
export default function ToastMessage(props) {
|
|
192
|
-
return /*#__PURE__*/React.createElement(AutoClose, { ...props,
|
|
193
|
-
Element: ToastMessageUI
|
|
194
|
-
});
|
|
195
|
-
}
|
|
196
|
-
ToastMessage.propTypes = propTypes;
|
|
197
|
-
ToastMessage.defaultProps = defaultProps; // if (__DOCS__) {
|
|
198
|
-
// ToastMessage.docs = {
|
|
199
|
-
// componentGroup: 'Atom'
|
|
200
|
-
// };
|
|
201
|
-
// }
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export const defaultProps = {
|
|
2
|
-
iconName: 'bell',
|
|
3
|
-
iconSize: '30',
|
|
4
|
-
submitType: 'primary',
|
|
5
|
-
isIconMid: false,
|
|
6
|
-
needClose: false,
|
|
7
|
-
type: 'primary',
|
|
8
|
-
isMore: false,
|
|
9
|
-
messageState: false,
|
|
10
|
-
isAnimate: true,
|
|
11
|
-
isClose: false,
|
|
12
|
-
autoClose: false,
|
|
13
|
-
hideTime: '3000',
|
|
14
|
-
dataId: 'toastMessage',
|
|
15
|
-
needAutoZindex: true,
|
|
16
|
-
a11y: {},
|
|
17
|
-
dataSelectorId: 'toastMessage'
|
|
18
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export const propTypes = {
|
|
3
|
-
autoClose: PropTypes.bool,
|
|
4
|
-
cancelText: PropTypes.string,
|
|
5
|
-
dataId: PropTypes.string,
|
|
6
|
-
dataSelectorId: PropTypes.string,
|
|
7
|
-
getBottomContainer: PropTypes.func,
|
|
8
|
-
getInnerBottomContainer: PropTypes.func,
|
|
9
|
-
getLeftContainer: PropTypes.func,
|
|
10
|
-
getSubmitContainer: PropTypes.func,
|
|
11
|
-
hideTime: PropTypes.string,
|
|
12
|
-
iconName: PropTypes.string,
|
|
13
|
-
iconPalette: PropTypes.oneOf(['successFill', 'dangerFill', 'dangerShadow', 'successPlain', 'dangerPlain', 'primaryPlain']),
|
|
14
|
-
iconSize: PropTypes.string,
|
|
15
|
-
info: PropTypes.string,
|
|
16
|
-
isAnimate: PropTypes.bool,
|
|
17
|
-
isClose: PropTypes.bool,
|
|
18
|
-
isIconMid: PropTypes.bool,
|
|
19
|
-
isMore: PropTypes.bool,
|
|
20
|
-
message: PropTypes.string,
|
|
21
|
-
messageState: PropTypes.bool,
|
|
22
|
-
needClose: PropTypes.bool,
|
|
23
|
-
onCancel: PropTypes.func,
|
|
24
|
-
onSubmit: PropTypes.func,
|
|
25
|
-
subject: PropTypes.string,
|
|
26
|
-
submitText: PropTypes.string,
|
|
27
|
-
submitType: PropTypes.oneOf(['primary', 'danger', 'success']),
|
|
28
|
-
type: PropTypes.oneOf(['primary', 'information', 'secondary', 'success', 'custom']),
|
|
29
|
-
needAutoZindex: PropTypes.bool,
|
|
30
|
-
a11y: PropTypes.shape({
|
|
31
|
-
role: PropTypes.string,
|
|
32
|
-
ariaLive: PropTypes.oneOf(['polite', 'assertive', 'off']),
|
|
33
|
-
ariaAtomic: PropTypes.bool,
|
|
34
|
-
ariaDescribedby: PropTypes.string,
|
|
35
|
-
ariaLabelledby: PropTypes.string
|
|
36
|
-
}),
|
|
37
|
-
Element: PropTypes.element,
|
|
38
|
-
onPortalClose: PropTypes.func,
|
|
39
|
-
onClose: PropTypes.func
|
|
40
|
-
};
|
package/es/v1/Upload/Upload.js
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { defaultProps } from "./props/defaultProps";
|
|
3
|
-
import { propTypes } from "./props/propTypes";
|
|
4
|
-
import { Icon } from '@zohodesk/icons';
|
|
5
|
-
import { Container, Box } from '@zohodesk/components/es/v1/Layout';
|
|
6
|
-
import Image from "../Image/Image";
|
|
7
|
-
import style from "../../Upload/Upload.module.css";
|
|
8
|
-
export default function Upload(props) {
|
|
9
|
-
let {
|
|
10
|
-
isPreview,
|
|
11
|
-
tooltip,
|
|
12
|
-
dataId,
|
|
13
|
-
dataSelectorId,
|
|
14
|
-
progressValue,
|
|
15
|
-
onClick,
|
|
16
|
-
iconName,
|
|
17
|
-
fileSize,
|
|
18
|
-
imgSrc,
|
|
19
|
-
isPreviewType,
|
|
20
|
-
onRemove,
|
|
21
|
-
size,
|
|
22
|
-
getRef,
|
|
23
|
-
palette
|
|
24
|
-
} = props;
|
|
25
|
-
return /*#__PURE__*/React.createElement(Container, {
|
|
26
|
-
isInline: true,
|
|
27
|
-
className: `${style.container} ${style[palette]} ${style[size]} ${isPreview ? style.preview : ''}
|
|
28
|
-
`,
|
|
29
|
-
dataId: dataId,
|
|
30
|
-
"data-title": tooltip,
|
|
31
|
-
isCover: false,
|
|
32
|
-
eleRef: getRef,
|
|
33
|
-
dataSelectorId: dataSelectorId
|
|
34
|
-
}, /*#__PURE__*/React.createElement(React.Fragment, null, isPreview ? /*#__PURE__*/React.createElement("div", {
|
|
35
|
-
"data-id": `${dataId}_attachLoading`,
|
|
36
|
-
"data-test-id": `${dataId}_attachLoading`,
|
|
37
|
-
className: style.loader,
|
|
38
|
-
style: {
|
|
39
|
-
width: `${progressValue}%`
|
|
40
|
-
}
|
|
41
|
-
}) : null, isPreviewType ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Image, {
|
|
42
|
-
src: imgSrc,
|
|
43
|
-
className: `${style.uploadimage} `,
|
|
44
|
-
alt: "Uploaded Image",
|
|
45
|
-
dataId: `${dataId}_fileName`
|
|
46
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
47
|
-
className: style.overlay,
|
|
48
|
-
onClick: onClick
|
|
49
|
-
})) : /*#__PURE__*/React.createElement(Box, {
|
|
50
|
-
className: style.attachInfo,
|
|
51
|
-
onClick: onClick,
|
|
52
|
-
dataId: `${dataId}_openNewTab`
|
|
53
|
-
}, /*#__PURE__*/React.createElement(Icon, {
|
|
54
|
-
name: iconName,
|
|
55
|
-
iconClass: style.fileIcon
|
|
56
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
57
|
-
className: style.attachsize
|
|
58
|
-
}, fileSize))), typeof onRemove !== 'undefined' && onRemove != null ? /*#__PURE__*/React.createElement("span", {
|
|
59
|
-
className: style.uploadclose,
|
|
60
|
-
onClick: onRemove,
|
|
61
|
-
"data-id": `${dataId}_deleteUpload`,
|
|
62
|
-
"data-test-id": `${dataId}_deleteUpload`
|
|
63
|
-
}, /*#__PURE__*/React.createElement(Icon, {
|
|
64
|
-
name: "ZD-close",
|
|
65
|
-
isBold: true
|
|
66
|
-
})) : null);
|
|
67
|
-
}
|
|
68
|
-
Upload.propTypes = propTypes;
|
|
69
|
-
Upload.defaultProps = defaultProps;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export const propTypes = {
|
|
3
|
-
dataId: PropTypes.string,
|
|
4
|
-
dataSelectorId: PropTypes.string,
|
|
5
|
-
fileSize: PropTypes.string,
|
|
6
|
-
getRef: PropTypes.func,
|
|
7
|
-
iconName: PropTypes.string,
|
|
8
|
-
imgSrc: PropTypes.string,
|
|
9
|
-
isPreview: PropTypes.bool,
|
|
10
|
-
isPreviewType: PropTypes.bool,
|
|
11
|
-
onClick: PropTypes.func,
|
|
12
|
-
onRemove: PropTypes.func,
|
|
13
|
-
progressValue: PropTypes.string,
|
|
14
|
-
size: PropTypes.oneOf(['small', 'medium']),
|
|
15
|
-
tooltip: PropTypes.string,
|
|
16
|
-
palette: PropTypes.oneOf(['light', 'night'])
|
|
17
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import React, { useState, useEffect } from 'react';
|
|
2
|
-
import { cancelBubblingEffect } from '@zohodesk/components/es/utils/Common';
|
|
3
|
-
import { defaultProps } from "./props/defaultProps";
|
|
4
|
-
import { propTypes } from "./props/propTypes";
|
|
5
|
-
export default function AutoClose(props) {
|
|
6
|
-
let {
|
|
7
|
-
Element,
|
|
8
|
-
isClose: givenClose,
|
|
9
|
-
onPortalClose,
|
|
10
|
-
autoClose,
|
|
11
|
-
hideTime
|
|
12
|
-
} = props;
|
|
13
|
-
let [isClose, setClose] = useState(givenClose);
|
|
14
|
-
|
|
15
|
-
function onClose(e) {
|
|
16
|
-
cancelBubblingEffect(e);
|
|
17
|
-
onPortalClose && onPortalClose();
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
useEffect(() => {
|
|
21
|
-
let id;
|
|
22
|
-
|
|
23
|
-
if (autoClose) {
|
|
24
|
-
id = setTimeout(() => {
|
|
25
|
-
setClose(true);
|
|
26
|
-
setTimeout(onClose, 300); // For animation
|
|
27
|
-
}, hideTime);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
return () => {
|
|
31
|
-
if (autoClose) {
|
|
32
|
-
clearTimeout(id);
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
}, []);
|
|
36
|
-
let newProps = Object.assign({}, props, {
|
|
37
|
-
isClose,
|
|
38
|
-
onClose
|
|
39
|
-
});
|
|
40
|
-
return /*#__PURE__*/React.createElement(Element, { ...newProps
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
AutoClose.propTypes = propTypes;
|
|
44
|
-
AutoClose.defaultProps = defaultProps;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/*** Libraries ***/
|
|
2
|
-
import React, { memo } from 'react';
|
|
3
|
-
import { propTypes } from "./props/propTypes";
|
|
4
|
-
import { Icon } from '@zohodesk/icons';
|
|
5
|
-
import { Container, Box } from '@zohodesk/components/es/v1/Layout';
|
|
6
|
-
import style from "../../../version2/AlertClose/AlertClose.module.css";
|
|
7
|
-
|
|
8
|
-
function AlertClose(props) {
|
|
9
|
-
let {
|
|
10
|
-
onClose,
|
|
11
|
-
dataId,
|
|
12
|
-
dataTitle,
|
|
13
|
-
type,
|
|
14
|
-
customClass
|
|
15
|
-
} = props;
|
|
16
|
-
return /*#__PURE__*/React.createElement(Container, {
|
|
17
|
-
className: `${style.close} ${type ? style[type] : ''} ${customClass ? customClass : ''}`,
|
|
18
|
-
"data-title": dataTitle,
|
|
19
|
-
onClick: onClose,
|
|
20
|
-
dataId: dataId,
|
|
21
|
-
align: "both",
|
|
22
|
-
isInline: true,
|
|
23
|
-
alignBox: "row",
|
|
24
|
-
isCover: false,
|
|
25
|
-
tabIndex: "0"
|
|
26
|
-
}, /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(Icon, {
|
|
27
|
-
name: "GC-cross",
|
|
28
|
-
isBold: true,
|
|
29
|
-
size: "12",
|
|
30
|
-
iconClass: style.closeIcon
|
|
31
|
-
})));
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
AlertClose.propTypes = propTypes;
|
|
35
|
-
const MemoizedAlertClose = /*#__PURE__*/memo(AlertClose);
|
|
36
|
-
MemoizedAlertClose.propTypes = propTypes;
|
|
37
|
-
MemoizedAlertClose.displayName = 'AlertClose';
|
|
38
|
-
export default MemoizedAlertClose; // if (__DOCS__) {
|
|
39
|
-
// AlertClose.docs = {
|
|
40
|
-
// componentGroup: 'AlertClose',
|
|
41
|
-
// folderName: 'Alert'
|
|
42
|
-
// };
|
|
43
|
-
// }
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export const propTypes = {
|
|
3
|
-
customClass: PropTypes.string,
|
|
4
|
-
dataId: PropTypes.string,
|
|
5
|
-
dataTitle: PropTypes.string,
|
|
6
|
-
onClose: PropTypes.func,
|
|
7
|
-
type: PropTypes.oneOf(['success', 'danger', 'info', 'warning', 'error', 'light'])
|
|
8
|
-
};
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import React, { useRef } from 'react'; //AlertDependencies
|
|
2
|
-
|
|
3
|
-
import { Container, Box } from '@zohodesk/components/es/v1/Layout';
|
|
4
|
-
import AlertClose from "../AlertClose/AlertClose";
|
|
5
|
-
import AlertIcons from "../alertIcons/AlertIcons"; //CSS
|
|
6
|
-
|
|
7
|
-
import style from "../../../version2/lookup/AlertHeader/css/AlertHeaderNew.module.css";
|
|
8
|
-
import cssJSLogic from "../../../version2/lookup/AlertHeader/css/cssJSLogic";
|
|
9
|
-
import { mergeStyle } from '@zohodesk/utils'; //customHooks
|
|
10
|
-
|
|
11
|
-
import useDragger from "../../../Hooks/Dragger/useDragger"; //Props
|
|
12
|
-
|
|
13
|
-
import defaultProps from "./props/defaultProps";
|
|
14
|
-
import propTypes from "./props/propTypes";
|
|
15
|
-
export default function AlertHeader(props) {
|
|
16
|
-
const {
|
|
17
|
-
title,
|
|
18
|
-
needIcon,
|
|
19
|
-
onClose,
|
|
20
|
-
closeTitle,
|
|
21
|
-
children,
|
|
22
|
-
breakChildren,
|
|
23
|
-
dataId,
|
|
24
|
-
type,
|
|
25
|
-
htmlId,
|
|
26
|
-
customStyle,
|
|
27
|
-
dragBoundaryLimit,
|
|
28
|
-
renderAlertIcon
|
|
29
|
-
} = props;
|
|
30
|
-
const finalStyle = mergeStyle(style, customStyle);
|
|
31
|
-
const {
|
|
32
|
-
alertHeaderContainerClass
|
|
33
|
-
} = cssJSLogic({
|
|
34
|
-
props,
|
|
35
|
-
style: finalStyle
|
|
36
|
-
});
|
|
37
|
-
const dragRef = useRef(null); //dragRef
|
|
38
|
-
|
|
39
|
-
useDragger({
|
|
40
|
-
isActive: true,
|
|
41
|
-
ChildRef: dragRef,
|
|
42
|
-
boundaryLimit: dragBoundaryLimit
|
|
43
|
-
}); //custom Hook
|
|
44
|
-
|
|
45
|
-
return /*#__PURE__*/React.createElement(Container, {
|
|
46
|
-
align: "vertical",
|
|
47
|
-
alignBox: "row",
|
|
48
|
-
className: `${alertHeaderContainerClass}`,
|
|
49
|
-
isCover: false,
|
|
50
|
-
wrap: "wrap",
|
|
51
|
-
"data-drag-hook": "true",
|
|
52
|
-
eleRef: dragRef,
|
|
53
|
-
dataId: `${dataId}_alertHeader`
|
|
54
|
-
}, needIcon && /*#__PURE__*/React.createElement("div", {
|
|
55
|
-
className: finalStyle.iconContainer
|
|
56
|
-
}, renderAlertIcon ? renderAlertIcon() : /*#__PURE__*/React.createElement(AlertIcons, {
|
|
57
|
-
type: type
|
|
58
|
-
})), (title || children) && /*#__PURE__*/React.createElement(Box, {
|
|
59
|
-
flexible: true
|
|
60
|
-
}, /*#__PURE__*/React.createElement(Container, {
|
|
61
|
-
alignBox: "row",
|
|
62
|
-
wrap: breakChildren ? 'wrap' : null
|
|
63
|
-
}, title && /*#__PURE__*/React.createElement(Box, {
|
|
64
|
-
className: finalStyle.title,
|
|
65
|
-
shrink: true,
|
|
66
|
-
id: htmlId
|
|
67
|
-
}, title), children && /*#__PURE__*/React.createElement(Box, {
|
|
68
|
-
shrink: true,
|
|
69
|
-
adjust: true,
|
|
70
|
-
flexible: true
|
|
71
|
-
}, children))), onClose && /*#__PURE__*/React.createElement(Box, {
|
|
72
|
-
className: finalStyle.close
|
|
73
|
-
}, /*#__PURE__*/React.createElement(AlertClose, {
|
|
74
|
-
onClose: onClose,
|
|
75
|
-
dataTitle: closeTitle,
|
|
76
|
-
dataId: `${dataId}_close`,
|
|
77
|
-
type: "light"
|
|
78
|
-
})));
|
|
79
|
-
} //Props
|
|
80
|
-
|
|
81
|
-
AlertHeader.propTypes = propTypes;
|
|
82
|
-
AlertHeader.defaultProps = defaultProps;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export default {
|
|
3
|
-
breakChildren: PropTypes.bool,
|
|
4
|
-
children: PropTypes.node,
|
|
5
|
-
closeTitle: PropTypes.string,
|
|
6
|
-
dataId: PropTypes.string,
|
|
7
|
-
needIcon: PropTypes.bool,
|
|
8
|
-
onClose: PropTypes.func,
|
|
9
|
-
title: PropTypes.string,
|
|
10
|
-
type: PropTypes.oneOf(['success', 'error', 'danger', 'warning', 'info', 'notification']),
|
|
11
|
-
htmlId: PropTypes.string,
|
|
12
|
-
customStyle: PropTypes.object,
|
|
13
|
-
dragBoundaryLimit: PropTypes.shape({
|
|
14
|
-
top: PropTypes.number,
|
|
15
|
-
left: PropTypes.number,
|
|
16
|
-
right: PropTypes.number,
|
|
17
|
-
bottom: PropTypes.number
|
|
18
|
-
}),
|
|
19
|
-
renderAlertIcon: PropTypes.func
|
|
20
|
-
};
|