@zohodesk/dot 1.9.2 → 1.9.3
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 +15 -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 +5 -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/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,166 +0,0 @@
|
|
|
1
|
-
/**** Libraries ****/
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { defaultProps } from "./props/defaultProps";
|
|
4
|
-
import { propTypes } from "./props/propTypes";
|
|
5
|
-
/**** Components ****/
|
|
6
|
-
|
|
7
|
-
import { useUniqueId } from '@zohodesk/components/es/Provider/IdProvider';
|
|
8
|
-
import Button from '@zohodesk/components/es/v1/Button/Button';
|
|
9
|
-
import { Container, Box } from '@zohodesk/components/es/v1/Layout';
|
|
10
|
-
import Lookup from "../../lookup/Lookup/Lookup";
|
|
11
|
-
import AlertHeader from "../AlertHeader/AlertHeader";
|
|
12
|
-
import Section from "../../lookup/Section/Section";
|
|
13
|
-
import FormAction from "../../FormAction/FormAction";
|
|
14
|
-
/**** CSS ****/
|
|
15
|
-
|
|
16
|
-
import style from "../../../version2/lookup/AlertLookup/AlertLookupNew.module.css";
|
|
17
|
-
let buttonPaletteObject = {
|
|
18
|
-
success: {
|
|
19
|
-
buttonPalette: 'successFilled'
|
|
20
|
-
},
|
|
21
|
-
error: {
|
|
22
|
-
buttonPalette: 'dangerFilled'
|
|
23
|
-
},
|
|
24
|
-
danger: {
|
|
25
|
-
buttonPalette: 'dangerFilled'
|
|
26
|
-
},
|
|
27
|
-
warning: {
|
|
28
|
-
buttonPalette: 'dangerFilled'
|
|
29
|
-
},
|
|
30
|
-
info: {
|
|
31
|
-
buttonPalette: 'primaryFilled'
|
|
32
|
-
},
|
|
33
|
-
notification: {
|
|
34
|
-
buttonPalette: 'primaryFilled'
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
export default function AlertLookup(props) {
|
|
38
|
-
const getAriaId = useUniqueId();
|
|
39
|
-
let {
|
|
40
|
-
isActive,
|
|
41
|
-
size,
|
|
42
|
-
type = 'danger',
|
|
43
|
-
title,
|
|
44
|
-
message,
|
|
45
|
-
confirmationMessage,
|
|
46
|
-
submitText,
|
|
47
|
-
cancelText,
|
|
48
|
-
onSubmitClick,
|
|
49
|
-
onCancelClick,
|
|
50
|
-
children,
|
|
51
|
-
forwardRef,
|
|
52
|
-
onClose,
|
|
53
|
-
headerChildren,
|
|
54
|
-
wrapHeader,
|
|
55
|
-
dataId,
|
|
56
|
-
onLookupClick,
|
|
57
|
-
customClass = {},
|
|
58
|
-
needIcon,
|
|
59
|
-
a11y,
|
|
60
|
-
customProps,
|
|
61
|
-
align,
|
|
62
|
-
childAnimationName,
|
|
63
|
-
isHtmlContent,
|
|
64
|
-
scroll,
|
|
65
|
-
isDefaultFocus,
|
|
66
|
-
onEsc,
|
|
67
|
-
renderAlertIcon
|
|
68
|
-
} = props;
|
|
69
|
-
const {
|
|
70
|
-
LookupProps = {},
|
|
71
|
-
AlertHeaderProps = {},
|
|
72
|
-
PrimaryButtonProps = {},
|
|
73
|
-
SecondaryButtonProps = {}
|
|
74
|
-
} = customProps;
|
|
75
|
-
let {
|
|
76
|
-
containerClass = '',
|
|
77
|
-
sectionClass = ''
|
|
78
|
-
} = customClass;
|
|
79
|
-
let {
|
|
80
|
-
buttonPalette = 'dangerFilled'
|
|
81
|
-
} = buttonPaletteObject[type] || {};
|
|
82
|
-
let ariaMessageId = getAriaId();
|
|
83
|
-
let ariaConfirmMsgId = getAriaId();
|
|
84
|
-
let ariaTitleId = getAriaId();
|
|
85
|
-
let ariaLeaveButtonId = getAriaId();
|
|
86
|
-
let ariaStayButtonId = getAriaId();
|
|
87
|
-
a11y = {
|
|
88
|
-
ariaLabelledby: a11y && a11y.ariaLabelledby ? a11y.ariaLabelledby : ariaTitleId,
|
|
89
|
-
ariaDescribedby: a11y && a11y.ariaDescribedby ? a11y.ariaDescribedby : ariaMessageId + ' ' + ariaConfirmMsgId
|
|
90
|
-
};
|
|
91
|
-
return /*#__PURE__*/React.createElement(Lookup, {
|
|
92
|
-
onClose: onEsc == 'close' ? onClose : onCancelClick,
|
|
93
|
-
needFocusScope: true,
|
|
94
|
-
isActive: isActive,
|
|
95
|
-
size: size,
|
|
96
|
-
dataId: dataId,
|
|
97
|
-
forwardRef: forwardRef,
|
|
98
|
-
onClick: onLookupClick,
|
|
99
|
-
customClass: containerClass,
|
|
100
|
-
a11y: a11y,
|
|
101
|
-
childAnimationName: childAnimationName,
|
|
102
|
-
...LookupProps
|
|
103
|
-
}, /*#__PURE__*/React.createElement(Container, {
|
|
104
|
-
alignBox: "row",
|
|
105
|
-
align: align,
|
|
106
|
-
wrap: "wrap"
|
|
107
|
-
}, /*#__PURE__*/React.createElement(Section, {
|
|
108
|
-
alignBox: "row",
|
|
109
|
-
className: style.section
|
|
110
|
-
}, /*#__PURE__*/React.createElement(Container, {
|
|
111
|
-
alignBox: "column"
|
|
112
|
-
}, /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(AlertHeader, {
|
|
113
|
-
htmlId: ariaTitleId,
|
|
114
|
-
title: title,
|
|
115
|
-
type: type,
|
|
116
|
-
needIcon: needIcon,
|
|
117
|
-
onClose: onClose,
|
|
118
|
-
breakChildren: wrapHeader,
|
|
119
|
-
renderAlertIcon: renderAlertIcon,
|
|
120
|
-
...AlertHeaderProps
|
|
121
|
-
}, headerChildren ? headerChildren() : null)), /*#__PURE__*/React.createElement(Box, {
|
|
122
|
-
flexible: true
|
|
123
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
124
|
-
className: `${style.innerSection} ${style[`${scroll}Scroll`] ? style[`${scroll}Scroll`] : ''} ${sectionClass}`
|
|
125
|
-
}, children ? children : /*#__PURE__*/React.createElement(React.Fragment, null, isHtmlContent && message ? /*#__PURE__*/React.createElement("div", {
|
|
126
|
-
id: ariaMessageId,
|
|
127
|
-
dangerouslySetInnerHTML: {
|
|
128
|
-
__html: message
|
|
129
|
-
}
|
|
130
|
-
}) : /*#__PURE__*/React.createElement("div", {
|
|
131
|
-
id: ariaMessageId
|
|
132
|
-
}, message), confirmationMessage && /*#__PURE__*/React.createElement("div", {
|
|
133
|
-
id: ariaConfirmMsgId,
|
|
134
|
-
className: `${message ? style.confirmMsgText : ''}`
|
|
135
|
-
}, confirmationMessage)))), submitText || onSubmitClick || cancelText || onCancelClick ? /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement("div", {
|
|
136
|
-
className: style.footer
|
|
137
|
-
}, /*#__PURE__*/React.createElement(FormAction, {
|
|
138
|
-
size: "small",
|
|
139
|
-
paddingLeftSize: "xmedium"
|
|
140
|
-
}, /*#__PURE__*/React.createElement(Button, {
|
|
141
|
-
text: submitText,
|
|
142
|
-
dataId: dataId === 'alertPopup' ? 'alertConfirmButton' : `${dataId}_confirmButton`,
|
|
143
|
-
onClick: onSubmitClick,
|
|
144
|
-
palette: buttonPalette,
|
|
145
|
-
customProps: {
|
|
146
|
-
'data-a11y-autofocus': isDefaultFocus
|
|
147
|
-
},
|
|
148
|
-
...PrimaryButtonProps,
|
|
149
|
-
a11y: {
|
|
150
|
-
'aria-labelledby': ariaTitleId + ' ' + ariaMessageId + ' ' + ariaLeaveButtonId
|
|
151
|
-
},
|
|
152
|
-
id: ariaLeaveButtonId
|
|
153
|
-
}), cancelText && /*#__PURE__*/React.createElement(Button, {
|
|
154
|
-
dataId: dataId === 'alertPopup' ? 'alertCancelButton' : `${dataId}_cancelButton`,
|
|
155
|
-
text: cancelText,
|
|
156
|
-
onClick: onCancelClick,
|
|
157
|
-
palette: "secondary",
|
|
158
|
-
...SecondaryButtonProps,
|
|
159
|
-
a11y: {
|
|
160
|
-
'aria-labelledby': ariaTitleId + ' ' + ariaMessageId + ' ' + ariaStayButtonId
|
|
161
|
-
},
|
|
162
|
-
id: ariaStayButtonId
|
|
163
|
-
})))) : null))));
|
|
164
|
-
}
|
|
165
|
-
AlertLookup.propTypes = propTypes;
|
|
166
|
-
AlertLookup.defaultProps = defaultProps;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export const defaultProps = {
|
|
2
|
-
isActive: false,
|
|
3
|
-
size: 'small',
|
|
4
|
-
wrapHeader: false,
|
|
5
|
-
dataId: 'alertPopup',
|
|
6
|
-
isDefaultFocus: true,
|
|
7
|
-
customProps: {},
|
|
8
|
-
align: 'top',
|
|
9
|
-
childAnimationName: 'flyDown',
|
|
10
|
-
isHtmlContent: false,
|
|
11
|
-
scroll: '',
|
|
12
|
-
onEsc: 'cancel'
|
|
13
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export const propTypes = {
|
|
3
|
-
cancelText: PropTypes.string,
|
|
4
|
-
children: PropTypes.node,
|
|
5
|
-
confirmationMessage: PropTypes.string,
|
|
6
|
-
customClass: PropTypes.object,
|
|
7
|
-
dataId: PropTypes.string,
|
|
8
|
-
forwardRef: PropTypes.object,
|
|
9
|
-
headerChildren: PropTypes.func,
|
|
10
|
-
isActive: PropTypes.bool,
|
|
11
|
-
isDefaultFocus: PropTypes.bool,
|
|
12
|
-
message: PropTypes.node,
|
|
13
|
-
needIcon: PropTypes.bool,
|
|
14
|
-
onCancelClick: PropTypes.func,
|
|
15
|
-
onClose: PropTypes.func,
|
|
16
|
-
onLookupClick: PropTypes.func,
|
|
17
|
-
onSubmitClick: PropTypes.func,
|
|
18
|
-
size: PropTypes.oneOf(['small', 'xmedium', 'medium']),
|
|
19
|
-
submitText: PropTypes.string,
|
|
20
|
-
title: PropTypes.string,
|
|
21
|
-
type: PropTypes.oneOf(['success', 'error', 'danger', 'warning', 'info', 'notification']),
|
|
22
|
-
wrapHeader: PropTypes.bool,
|
|
23
|
-
a11y: PropTypes.object,
|
|
24
|
-
customProps: PropTypes.shape({
|
|
25
|
-
LookupProps: PropTypes.object,
|
|
26
|
-
AlertHeaderProps: PropTypes.object,
|
|
27
|
-
PrimaryButtonProps: PropTypes.object,
|
|
28
|
-
SecondaryButtonProps: PropTypes.object
|
|
29
|
-
}),
|
|
30
|
-
align: PropTypes.oneOf(['top', 'vertical']),
|
|
31
|
-
childAnimationName: PropTypes.oneOf(['expand', 'flyDown']),
|
|
32
|
-
isHtmlContent: PropTypes.bool,
|
|
33
|
-
scroll: PropTypes.oneOf(['horizontal', 'vertical', 'both']),
|
|
34
|
-
onEsc: PropTypes.oneOf(['close', 'cancel']),
|
|
35
|
-
renderAlertIcon: PropTypes.func
|
|
36
|
-
};
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { AlarmAlertIcon_defaultProps } from "./props/defaultProps";
|
|
3
|
-
import { AlarmAlertIcon_propTypes } from "./props/propTypes";
|
|
4
|
-
import style from "../../../version2/alertIcons/AlertIcons.module.css";
|
|
5
|
-
export default function AlarmAlertIcon(props) {
|
|
6
|
-
let {
|
|
7
|
-
variant,
|
|
8
|
-
type
|
|
9
|
-
} = props;
|
|
10
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
11
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
-
viewBox: "0 0 100 100",
|
|
13
|
-
className: type ? `${style[type]}` : ''
|
|
14
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
15
|
-
className: `${style[`info_${variant}`]}`,
|
|
16
|
-
d: "M34.89,23.86s27.19-17.79,41-12.44S99,61.81,60.74,82,5.16,58.27,5,50.48C4.87,42.94,5,25,34.89,23.86Z"
|
|
17
|
-
}), /*#__PURE__*/React.createElement("polygon", {
|
|
18
|
-
className: style.outer_cls2,
|
|
19
|
-
points: "95 49.42 94.18 48.61 92.98 49.79 91.79 48.61 90.97 49.42 92.16 50.6 90.97 51.78 91.79 52.59 92.98 51.41 94.18 52.59 95 51.78 93.81 50.6 95 49.42"
|
|
20
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
21
|
-
className: style.outer_cls2,
|
|
22
|
-
x: "10",
|
|
23
|
-
y: "21.46",
|
|
24
|
-
width: "1.16",
|
|
25
|
-
height: "2.18"
|
|
26
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
27
|
-
className: style.outer_cls2,
|
|
28
|
-
x: "11.8",
|
|
29
|
-
y: "24.27",
|
|
30
|
-
width: "2.21",
|
|
31
|
-
height: "1.15"
|
|
32
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
33
|
-
className: style.outer_cls2,
|
|
34
|
-
x: "10",
|
|
35
|
-
y: "26.05",
|
|
36
|
-
width: "1.16",
|
|
37
|
-
height: "2.18"
|
|
38
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
39
|
-
className: style.outer_cls2,
|
|
40
|
-
x: "7.15",
|
|
41
|
-
y: "24.27",
|
|
42
|
-
width: "2.21",
|
|
43
|
-
height: "1.15"
|
|
44
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
45
|
-
className: style.outer_cls3,
|
|
46
|
-
d: "M11.8,82.6a2.76,2.76,0,1,1,2.8-2.76A2.78,2.78,0,0,1,11.8,82.6Zm0-4.37a1.61,1.61,0,1,0,1.63,1.61A1.62,1.62,0,0,0,11.8,78.23Z"
|
|
47
|
-
}), /*#__PURE__*/React.createElement("ellipse", {
|
|
48
|
-
className: style.outer_cls4,
|
|
49
|
-
cx: "50.21",
|
|
50
|
-
cy: "11.21",
|
|
51
|
-
rx: "1.22",
|
|
52
|
-
ry: "1.21"
|
|
53
|
-
}), /*#__PURE__*/React.createElement("polygon", {
|
|
54
|
-
className: style.outer_cls4,
|
|
55
|
-
points: "59.77 90 61.8 87.28 63.69 90 59.77 90"
|
|
56
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
57
|
-
className: style.outer_cls5,
|
|
58
|
-
d: "M25.63,50.18s5.71-18.8,14.18-21.65S70.1,42.91,60.19,67.13s-35,10.55-38.08,7S12.21,62.29,25.63,50.18Z"
|
|
59
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
60
|
-
className: style.outer_cls6,
|
|
61
|
-
d: "M60.2,57.89H49.52a1,1,0,0,1-1-1V48.23a1,1,0,0,1,2,0v7.66H60.2a1,1,0,0,1,0,2ZM50.52,44.08v-.29a1,1,0,0,0-2,0v.29a1,1,0,0,0,2,0Zm23.73.86a1,1,0,0,0,.14-1.4l-5.13-6.36a1,1,0,0,0-1.56,1.25l5.14,6.36a1,1,0,0,0,.78.37A1,1,0,0,0,74.25,44.94ZM51,79.68a22.84,22.84,0,0,0-.47-45.61l0-2.68a1,1,0,0,0-1-1h-5a1.38,1.38,0,0,1,0-2.76H54A1.4,1.4,0,0,1,55.35,29,1.35,1.35,0,0,1,55,30a1.31,1.31,0,0,1-.95.4h-.54a1,1,0,0,0,0,2H54A3.31,3.31,0,0,0,57.34,29,3.38,3.38,0,0,0,54,25.64H44.43a3.38,3.38,0,0,0,0,6.76h4.06l0,2.66a1,1,0,0,0,1,1A20.84,20.84,0,1,1,28.68,56.89a20.94,20.94,0,0,1,15-20A1,1,0,1,0,43.13,35a22.84,22.84,0,0,0-9.25,38.57,22.61,22.61,0,0,0,15.62,6.2C50,79.73,50.48,79.71,51,79.68Z"
|
|
62
|
-
}));
|
|
63
|
-
}
|
|
64
|
-
AlarmAlertIcon.propTypes = AlarmAlertIcon_propTypes;
|
|
65
|
-
AlarmAlertIcon.defaultProps = AlarmAlertIcon_defaultProps;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { AlertIcons_defaultProps } from "./props/defaultProps";
|
|
3
|
-
import { AlertIcons_propTypes } from "./props/propTypes";
|
|
4
|
-
import DangerAlertIcon from "./DangerAlertIcon";
|
|
5
|
-
import SuccessAlertIcon from "./SuccessAlertIcon";
|
|
6
|
-
import WarningAlertIcon from "./WarningAlertIcon";
|
|
7
|
-
import InfoAlertIcon from "./InfoAlertIcon";
|
|
8
|
-
import NotificationAlertIcon from "./NotificationAlertIcon";
|
|
9
|
-
import AlarmAlertIcon from "./AlarmAlertIcon";
|
|
10
|
-
import style from "../../../version2/alertIcons/AlertIcons.module.css";
|
|
11
|
-
let alertIconsObject = {
|
|
12
|
-
success: {
|
|
13
|
-
AlertIcon: SuccessAlertIcon
|
|
14
|
-
},
|
|
15
|
-
error: {
|
|
16
|
-
AlertIcon: DangerAlertIcon
|
|
17
|
-
},
|
|
18
|
-
danger: {
|
|
19
|
-
AlertIcon: DangerAlertIcon
|
|
20
|
-
},
|
|
21
|
-
warning: {
|
|
22
|
-
AlertIcon: WarningAlertIcon
|
|
23
|
-
},
|
|
24
|
-
info: {
|
|
25
|
-
AlertIcon: InfoAlertIcon
|
|
26
|
-
},
|
|
27
|
-
notification: {
|
|
28
|
-
AlertIcon: NotificationAlertIcon
|
|
29
|
-
},
|
|
30
|
-
alarm: {
|
|
31
|
-
AlertIcon: AlarmAlertIcon
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
export default function AlertIcons(props) {
|
|
35
|
-
let {
|
|
36
|
-
type,
|
|
37
|
-
variant,
|
|
38
|
-
dataSelectorId
|
|
39
|
-
} = props;
|
|
40
|
-
let {
|
|
41
|
-
AlertIcon = DangerAlertIcon
|
|
42
|
-
} = alertIconsObject[type] || {};
|
|
43
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
44
|
-
className: style.iconContainer,
|
|
45
|
-
"data-selector-id": dataSelectorId
|
|
46
|
-
}, /*#__PURE__*/React.createElement(AlertIcon, {
|
|
47
|
-
variant: variant,
|
|
48
|
-
type: type
|
|
49
|
-
}));
|
|
50
|
-
}
|
|
51
|
-
AlertIcons.propTypes = AlertIcons_propTypes;
|
|
52
|
-
AlertIcons.defaultProps = AlertIcons_defaultProps; // if (__DOCS__) {
|
|
53
|
-
// AlertIcons.docs = {
|
|
54
|
-
// componentGroup: 'AlertIcons',
|
|
55
|
-
// folderName: 'Alert'
|
|
56
|
-
// };
|
|
57
|
-
// }
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DangerAlertIcon_defaultProps } from "./props/defaultProps";
|
|
3
|
-
import { DangerAlertIcon_propTypes } from "./props/propTypes";
|
|
4
|
-
import style from "../../../version2/alertIcons/AlertIcons.module.css";
|
|
5
|
-
export default function DangerAlertIcon(props) {
|
|
6
|
-
let {
|
|
7
|
-
variant,
|
|
8
|
-
type
|
|
9
|
-
} = props;
|
|
10
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
11
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
-
viewBox: "0 0 100 100",
|
|
13
|
-
className: type ? `${style[type]}` : ''
|
|
14
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
15
|
-
className: `${style[`danger_${variant}`]}`,
|
|
16
|
-
d: "M34.89,23.86s27.19-17.79,41-12.44S99,61.81,60.74,82,5.16,58.27,5,50.48C4.87,42.94,5,25,34.89,23.86Z"
|
|
17
|
-
}), /*#__PURE__*/React.createElement("polygon", {
|
|
18
|
-
className: style.outer_cls2,
|
|
19
|
-
points: "95 49.42 94.18 48.61 92.98 49.79 91.79 48.61 90.97 49.42 92.16 50.6 90.97 51.78 91.79 52.59 92.98 51.41 94.18 52.59 95 51.78 93.81 50.6 95 49.42"
|
|
20
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
21
|
-
className: style.outer_cls2,
|
|
22
|
-
x: "10",
|
|
23
|
-
y: "21.46",
|
|
24
|
-
width: "1.16",
|
|
25
|
-
height: "2.18"
|
|
26
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
27
|
-
className: style.outer_cls2,
|
|
28
|
-
x: "11.8",
|
|
29
|
-
y: "24.27",
|
|
30
|
-
width: "2.21",
|
|
31
|
-
height: "1.15"
|
|
32
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
33
|
-
className: style.outer_cls2,
|
|
34
|
-
x: "10",
|
|
35
|
-
y: "26.05",
|
|
36
|
-
width: "1.16",
|
|
37
|
-
height: "2.18"
|
|
38
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
39
|
-
className: style.outer_cls2,
|
|
40
|
-
x: "7.15",
|
|
41
|
-
y: "24.27",
|
|
42
|
-
width: "2.21",
|
|
43
|
-
height: "1.15"
|
|
44
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
45
|
-
className: style.outer_cls3,
|
|
46
|
-
d: "M11.8,82.6a2.76,2.76,0,1,1,2.8-2.76A2.78,2.78,0,0,1,11.8,82.6Zm0-4.37a1.61,1.61,0,1,0,1.63,1.61A1.62,1.62,0,0,0,11.8,78.23Z"
|
|
47
|
-
}), /*#__PURE__*/React.createElement("ellipse", {
|
|
48
|
-
className: style.outer_cls4,
|
|
49
|
-
cx: "50.21",
|
|
50
|
-
cy: "11.21",
|
|
51
|
-
rx: "1.22",
|
|
52
|
-
ry: "1.21"
|
|
53
|
-
}), /*#__PURE__*/React.createElement("polygon", {
|
|
54
|
-
className: style.outer_cls4,
|
|
55
|
-
points: "59.77 90 61.8 87.28 63.69 90 59.77 90"
|
|
56
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
57
|
-
className: style.outer_cls5,
|
|
58
|
-
d: "M52.28,43.16s-13.79-9-20.78-6.31S19.75,62.42,39.17,72.67s28.2-12.05,28.28-16S67.45,43.72,52.28,43.16Z"
|
|
59
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
60
|
-
className: style.outer_cls6,
|
|
61
|
-
d: "M61.28,46.39a1.15,1.15,0,1,1-1.15-1.13A1.13,1.13,0,0,1,61.28,46.39ZM71.63,69.28a5.37,5.37,0,0,0,0-5.4L63,48.91a1,1,0,0,0-1.74,1l8.65,15A3.39,3.39,0,0,1,67,70H30.05a3.39,3.39,0,0,1-2.94-5.09l18.46-32a3.39,3.39,0,0,1,5.87,0l4.74,8.2H48a2.54,2.54,0,0,0-1.85.8,2.57,2.57,0,0,0-.69,1.91l.92,12.67a2.54,2.54,0,0,0,5.08,0l.76-9.85a1,1,0,0,0-.92-1.08,1,1,0,0,0-1.07.92l-.76,9.87a.55.55,0,0,1-1.1,0L47.46,43.7a.51.51,0,0,1,.14-.41.58.58,0,0,1,.4-.17h9.91a1,1,0,0,0,.86-1.5l-5.6-9.7a5.39,5.39,0,0,0-9.33,0l-18.46,32A5.39,5.39,0,0,0,30.05,72H67A5.35,5.35,0,0,0,71.63,69.28ZM49,61.34a2.61,2.61,0,1,0,2.6,2.6A2.6,2.6,0,0,0,49,61.34Z"
|
|
62
|
-
}));
|
|
63
|
-
}
|
|
64
|
-
DangerAlertIcon.propTypes = DangerAlertIcon_propTypes;
|
|
65
|
-
DangerAlertIcon.defaultProps = DangerAlertIcon_defaultProps;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ErrorAlertIcon_defaultProps } from "./props/defaultProps";
|
|
3
|
-
import { ErrorAlertIcon_propTypes } from "./props/propTypes";
|
|
4
|
-
import style from "../../../version2/alertIcons/AlertIcons.module.css";
|
|
5
|
-
export default function ErrorAlertIcon(props) {
|
|
6
|
-
let {
|
|
7
|
-
variant,
|
|
8
|
-
type
|
|
9
|
-
} = props;
|
|
10
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
11
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
-
viewBox: "0 0 100 100",
|
|
13
|
-
className: type ? `${style[type]}` : ''
|
|
14
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
15
|
-
className: `${style[`error_${variant}`]}`,
|
|
16
|
-
d: "M34.89,23.86s27.19-17.79,41-12.44S99,61.81,60.74,82,5.16,58.27,5,50.48C4.87,42.94,5,25,34.89,23.86Z"
|
|
17
|
-
}), /*#__PURE__*/React.createElement("polygon", {
|
|
18
|
-
className: style.outer_cls2,
|
|
19
|
-
points: "95 49.42 94.18 48.61 92.98 49.79 91.79 48.61 90.97 49.42 92.16 50.6 90.97 51.78 91.79 52.59 92.98 51.41 94.18 52.59 95 51.78 93.81 50.6 95 49.42"
|
|
20
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
21
|
-
className: style.outer_cls2,
|
|
22
|
-
x: "10",
|
|
23
|
-
y: "21.46",
|
|
24
|
-
width: "1.16",
|
|
25
|
-
height: "2.18"
|
|
26
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
27
|
-
className: style.outer_cls2,
|
|
28
|
-
x: "11.8",
|
|
29
|
-
y: "24.27",
|
|
30
|
-
width: "2.21",
|
|
31
|
-
height: "1.15"
|
|
32
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
33
|
-
className: style.outer_cls2,
|
|
34
|
-
x: "10",
|
|
35
|
-
y: "26.05",
|
|
36
|
-
width: "1.16",
|
|
37
|
-
height: "2.18"
|
|
38
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
39
|
-
className: style.outer_cls2,
|
|
40
|
-
x: "7.15",
|
|
41
|
-
y: "24.27",
|
|
42
|
-
width: "2.21",
|
|
43
|
-
height: "1.15"
|
|
44
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
45
|
-
className: style.outer_cls3,
|
|
46
|
-
d: "M11.8,82.6a2.76,2.76,0,1,1,2.8-2.76A2.78,2.78,0,0,1,11.8,82.6Zm0-4.37a1.61,1.61,0,1,0,1.63,1.61A1.62,1.62,0,0,0,11.8,78.23Z"
|
|
47
|
-
}), /*#__PURE__*/React.createElement("ellipse", {
|
|
48
|
-
className: style.outer_cls4,
|
|
49
|
-
cx: "50.21",
|
|
50
|
-
cy: "11.21",
|
|
51
|
-
rx: "1.22",
|
|
52
|
-
ry: "1.21"
|
|
53
|
-
}), /*#__PURE__*/React.createElement("polygon", {
|
|
54
|
-
className: style.outer_cls4,
|
|
55
|
-
points: "59.77 90 61.8 87.28 63.69 90 59.77 90"
|
|
56
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
57
|
-
className: style.outer_cls5,
|
|
58
|
-
d: "M53.32,46.17s-13.79-9-20.78-6.31S20.79,65.43,40.21,75.68s28.2-12.05,28.27-16S68.48,46.73,53.32,46.17Z"
|
|
59
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
60
|
-
className: style.outer_cls6,
|
|
61
|
-
d: "M61,70.94a.94.94,0,1,0-1-1.59,22.58,22.58,0,1,1,6.81-6.57L54.24,50.16l4-4a4.35,4.35,0,0,0-6.14-6.15l-4,4-4-4A4.34,4.34,0,0,0,38,46.18l4,4-4,4a4.35,4.35,0,0,0,6.14,6.15l4-4,7.32,7.22a.92.92,0,0,0,1.32,0h0a.94.94,0,0,0,0-1.32l-8-7.88a.94.94,0,0,0-1.32,0l-4.62,4.63a2.48,2.48,0,0,1-3.5-3.5l4.62-4.63h0a.92.92,0,0,0,0-1.32l-4.62-4.62a2.48,2.48,0,0,1,3.5-3.5L47.43,46a1,1,0,0,0,.66.29.94.94,0,0,0,.66-.28l4.62-4.62a2.47,2.47,0,0,1,3.5,3.49L52.25,49.5h0a.94.94,0,0,0,0,1.32L66.33,64.89l.09.08a.93.93,0,0,0,1.31-.19,24.47,24.47,0,1,0-44.1-14.62l0,0A24.47,24.47,0,0,0,61,70.94Z"
|
|
62
|
-
}), /*#__PURE__*/React.createElement("circle", {
|
|
63
|
-
className: style.outer_cls6,
|
|
64
|
-
cx: "58.4",
|
|
65
|
-
cy: "65.25",
|
|
66
|
-
r: "0.93"
|
|
67
|
-
}));
|
|
68
|
-
}
|
|
69
|
-
ErrorAlertIcon.propTypes = ErrorAlertIcon_propTypes;
|
|
70
|
-
ErrorAlertIcon.defaultProps = ErrorAlertIcon_defaultProps;
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { InfoAlertIcon_defaultProps } from "./props/defaultProps";
|
|
3
|
-
import { InfoAlertIcon_propTypes } from "./props/propTypes";
|
|
4
|
-
import style from "../../../version2/alertIcons/AlertIcons.module.css";
|
|
5
|
-
export default function InfoAlertIcon(props) {
|
|
6
|
-
let {
|
|
7
|
-
variant,
|
|
8
|
-
type
|
|
9
|
-
} = props;
|
|
10
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
11
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
-
viewBox: "0 0 100 100",
|
|
13
|
-
className: type ? `${style[type]}` : ''
|
|
14
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
15
|
-
className: `${style[`info_${variant}`]}`,
|
|
16
|
-
d: "M34.89,23.86s27.19-17.79,41-12.44S99,61.81,60.74,82,5.16,58.27,5,50.48C4.87,42.94,5,25,34.89,23.86Z"
|
|
17
|
-
}), /*#__PURE__*/React.createElement("polygon", {
|
|
18
|
-
className: style.outer_cls2,
|
|
19
|
-
points: "95 49.42 94.18 48.61 92.98 49.79 91.79 48.61 90.97 49.42 92.16 50.6 90.97 51.78 91.79 52.59 92.98 51.41 94.18 52.59 95 51.78 93.81 50.6 95 49.42"
|
|
20
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
21
|
-
className: style.outer_cls2,
|
|
22
|
-
x: "10",
|
|
23
|
-
y: "21.46",
|
|
24
|
-
width: "1.16",
|
|
25
|
-
height: "2.18"
|
|
26
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
27
|
-
className: style.outer_cls2,
|
|
28
|
-
x: "11.8",
|
|
29
|
-
y: "24.27",
|
|
30
|
-
width: "2.21",
|
|
31
|
-
height: "1.15"
|
|
32
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
33
|
-
className: style.outer_cls2,
|
|
34
|
-
x: "10",
|
|
35
|
-
y: "26.05",
|
|
36
|
-
width: "1.16",
|
|
37
|
-
height: "2.18"
|
|
38
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
39
|
-
className: style.outer_cls2,
|
|
40
|
-
x: "7.15",
|
|
41
|
-
y: "24.27",
|
|
42
|
-
width: "2.21",
|
|
43
|
-
height: "1.15"
|
|
44
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
45
|
-
className: style.outer_cls3,
|
|
46
|
-
d: "M11.8,82.6a2.76,2.76,0,1,1,2.8-2.76A2.78,2.78,0,0,1,11.8,82.6Zm0-4.37a1.61,1.61,0,1,0,1.63,1.61A1.62,1.62,0,0,0,11.8,78.23Z"
|
|
47
|
-
}), /*#__PURE__*/React.createElement("ellipse", {
|
|
48
|
-
className: style.outer_cls4,
|
|
49
|
-
cx: "50.21",
|
|
50
|
-
cy: "11.21",
|
|
51
|
-
rx: "1.22",
|
|
52
|
-
ry: "1.21"
|
|
53
|
-
}), /*#__PURE__*/React.createElement("polygon", {
|
|
54
|
-
className: style.outer_cls4,
|
|
55
|
-
points: "59.77 90 61.8 87.28 63.69 90 59.77 90"
|
|
56
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
57
|
-
className: style.outer_cls5,
|
|
58
|
-
d: "M51.93,46.17s-13.8-9-20.79-6.31S19.39,65.43,38.81,75.68s28.2-12.05,28.28-16S67.09,46.73,51.93,46.17Z"
|
|
59
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
60
|
-
className: style.outer_cls6,
|
|
61
|
-
d: "M47.87,47.66a4.9,4.9,0,1,1,4.9-4.9A4.91,4.91,0,0,1,47.87,47.66Zm0-7.8a2.9,2.9,0,1,0,2.9,2.9A2.9,2.9,0,0,0,47.87,39.86Z"
|
|
62
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
63
|
-
className: style.outer_cls6,
|
|
64
|
-
d: "M45,74.64h-.08a24.28,24.28,0,1,1,5.67-.13,1,1,0,0,1-.28-2,22.35,22.35,0,1,0-6.34,0L43.42,55.9a4.89,4.89,0,0,1,5.34-5l4.28.39a1,1,0,0,1,.7.39,1,1,0,0,1,.19.78l-1.64,9.64a1,1,0,0,1-2-.34l1.46-8.57-3.2-.3a2.83,2.83,0,0,0-2.24.76,2.89,2.89,0,0,0-.92,2.18L46,73.58a1,1,0,0,1-1,1.06Z"
|
|
65
|
-
}), /*#__PURE__*/React.createElement("ellipse", {
|
|
66
|
-
className: style.outer_cls6,
|
|
67
|
-
cx: "50.66",
|
|
68
|
-
cy: "65.73",
|
|
69
|
-
rx: "1.15",
|
|
70
|
-
ry: "1.13"
|
|
71
|
-
}));
|
|
72
|
-
}
|
|
73
|
-
InfoAlertIcon.propTypes = InfoAlertIcon_propTypes;
|
|
74
|
-
InfoAlertIcon.defaultProps = InfoAlertIcon_defaultProps;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { NotificationAlertIcon_defaultProps } from "./props/defaultProps";
|
|
3
|
-
import { NotificationAlertIcon_propTypes } from "./props/propTypes";
|
|
4
|
-
import style from "../../../version2/alertIcons/AlertIcons.module.css";
|
|
5
|
-
export default function NotificationAlertIcon(props) {
|
|
6
|
-
let {
|
|
7
|
-
variant,
|
|
8
|
-
type
|
|
9
|
-
} = props;
|
|
10
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
11
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
-
viewBox: "0 0 100 100",
|
|
13
|
-
className: type ? `${style[type]}` : ''
|
|
14
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
15
|
-
className: `${style[`notify_${variant}`]}`,
|
|
16
|
-
d: "M34.89,23.86s27.19-17.79,41-12.44S99,61.81,60.74,82,5.16,58.27,5,50.48C4.87,42.94,5,25,34.89,23.86Z"
|
|
17
|
-
}), /*#__PURE__*/React.createElement("polygon", {
|
|
18
|
-
className: style.outer_cls2,
|
|
19
|
-
points: "95 49.42 94.18 48.61 92.98 49.79 91.79 48.61 90.97 49.42 92.16 50.6 90.97 51.78 91.79 52.59 92.98 51.41 94.18 52.59 95 51.78 93.81 50.6 95 49.42"
|
|
20
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
21
|
-
className: style.outer_cls2,
|
|
22
|
-
x: "10",
|
|
23
|
-
y: "21.46",
|
|
24
|
-
width: "1.16",
|
|
25
|
-
height: "2.18"
|
|
26
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
27
|
-
className: style.outer_cls2,
|
|
28
|
-
x: "11.8",
|
|
29
|
-
y: "24.27",
|
|
30
|
-
width: "2.21",
|
|
31
|
-
height: "1.15"
|
|
32
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
33
|
-
className: style.outer_cls2,
|
|
34
|
-
x: "10",
|
|
35
|
-
y: "26.05",
|
|
36
|
-
width: "1.16",
|
|
37
|
-
height: "2.18"
|
|
38
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
39
|
-
className: style.outer_cls2,
|
|
40
|
-
x: "7.15",
|
|
41
|
-
y: "24.27",
|
|
42
|
-
width: "2.21",
|
|
43
|
-
height: "1.15"
|
|
44
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
45
|
-
className: style.outer_cls3,
|
|
46
|
-
d: "M11.8,82.6a2.76,2.76,0,1,1,2.8-2.76A2.78,2.78,0,0,1,11.8,82.6Zm0-4.37a1.61,1.61,0,1,0,1.63,1.61A1.62,1.62,0,0,0,11.8,78.23Z"
|
|
47
|
-
}), /*#__PURE__*/React.createElement("ellipse", {
|
|
48
|
-
className: style.outer_cls4,
|
|
49
|
-
cx: "50.21",
|
|
50
|
-
cy: "11.21",
|
|
51
|
-
rx: "1.22",
|
|
52
|
-
ry: "1.21"
|
|
53
|
-
}), /*#__PURE__*/React.createElement("polygon", {
|
|
54
|
-
className: style.outer_cls4,
|
|
55
|
-
points: "59.77 90 61.8 87.28 63.69 90 59.77 90"
|
|
56
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
57
|
-
className: style.outer_cls5,
|
|
58
|
-
d: "M52.28,46.17s-13.79-9-20.78-6.31S19.75,65.43,39.17,75.68s28.2-12.05,28.28-16S67.45,46.73,52.28,46.17Z"
|
|
59
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
60
|
-
className: style.outer_cls6,
|
|
61
|
-
d: "M60.43,59.67H45.11a1.11,1.11,0,0,0,0,2.21h15.3a3.76,3.76,0,1,1,0,7.52H30.08a3.76,3.76,0,1,1,0-7.52h.81A1.11,1.11,0,0,0,32,60.77V48.52A13.24,13.24,0,0,1,41,36a1.14,1.14,0,0,0,.41-.24,1.1,1.1,0,0,0,0-1.56,5.28,5.28,0,1,1,7.68,0,1.12,1.12,0,0,0-.26,1,1.09,1.09,0,0,0,.71.78,13.24,13.24,0,0,1,9,12.55v6.62a1.11,1.11,0,0,0,2.21,0V48.52a15.48,15.48,0,0,0-9.07-14.09,7.48,7.48,0,1,0-12.8,0,15.5,15.5,0,0,0-9,14.09V59.67A6,6,0,0,0,30.1,71.6H60.43a6,6,0,1,0,0-11.93Z"
|
|
62
|
-
}), /*#__PURE__*/React.createElement("circle", {
|
|
63
|
-
className: style.outer_cls6,
|
|
64
|
-
cx: "40.09",
|
|
65
|
-
cy: "60.77",
|
|
66
|
-
r: "1.26"
|
|
67
|
-
}));
|
|
68
|
-
}
|
|
69
|
-
NotificationAlertIcon.propTypes = NotificationAlertIcon_propTypes;
|
|
70
|
-
NotificationAlertIcon.defaultProps = NotificationAlertIcon_defaultProps;
|