@zohodesk/dot 1.9.1 → 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 +20 -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/CheckBoxField/__tests__/__snapshots__/CheckBoxField.spec.js.snap +21 -18
- 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/__tests__/__snapshots__/DepartmentDropDown.spec.js.snap +1 -1
- 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 +28 -11
- package/es/list/SecondaryText/ContactName.js +23 -9
- package/es/list/SecondaryText/DepartmentText.js +13 -6
- package/es/list/SecondaryText/Email.js +23 -10
- package/es/list/SecondaryText/PhoneNumber.js +23 -10
- package/es/list/SecondaryText/PriorityText.js +13 -6
- package/es/list/SecondaryText/SecondaryText.js +17 -8
- package/es/list/SecondaryText/SecondaryText.module.css +40 -24
- package/es/list/SecondaryText/StatusText.js +13 -6
- package/es/list/SecondaryText/TicketId.js +14 -8
- package/es/list/SecondaryText/Website.js +16 -5
- package/es/list/SecondaryText/__tests__/__snapshots__/AccountName.spec.js.snap +1 -1
- package/es/list/SecondaryText/__tests__/__snapshots__/ContactName.spec.js.snap +1 -1
- package/es/list/SecondaryText/__tests__/__snapshots__/DepartmentText.spec.js.snap +1 -1
- package/es/list/SecondaryText/__tests__/__snapshots__/Email.spec.js.snap +1 -1
- package/es/list/SecondaryText/__tests__/__snapshots__/PhoneNumber.spec.js.snap +1 -1
- package/es/list/SecondaryText/__tests__/__snapshots__/PriorityText.spec.js.snap +1 -1
- package/es/list/SecondaryText/__tests__/__snapshots__/SecondaryText.spec.js.snap +1 -1
- package/es/list/SecondaryText/__tests__/__snapshots__/StatusText.spec.js.snap +1 -1
- package/es/list/SecondaryText/__tests__/__snapshots__/Website.spec.js.snap +6 -2
- package/es/list/SecondaryText/props/defaultProps.js +18 -0
- package/es/list/SecondaryText/props/propTypes.js +21 -0
- package/es/list/SecondryPanel/SecondryPanel.js +0 -0
- package/es/list/Subject/Subject.js +32 -15
- package/es/list/Subject/__tests__/__snapshots__/Subject.spec.js.snap +14 -14
- package/es/list/Subject/props/defaultProps.js +3 -1
- package/es/list/Subject/props/propTypes.js +5 -1
- 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/CheckBoxField/__tests__/__snapshots__/CheckBoxField.spec.js.snap +21 -18
- 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/__tests__/__snapshots__/DepartmentDropDown.spec.js.snap +1 -1
- 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/AccountName.js +27 -8
- package/lib/list/SecondaryText/ContactName.js +21 -6
- package/lib/list/SecondaryText/DepartmentText.js +15 -6
- package/lib/list/SecondaryText/Email.js +22 -7
- package/lib/list/SecondaryText/PhoneNumber.js +22 -7
- package/lib/list/SecondaryText/PriorityText.js +15 -6
- package/lib/list/SecondaryText/SecondaryText.js +26 -8
- package/lib/list/SecondaryText/SecondaryText.module.css +40 -24
- package/lib/list/SecondaryText/StatusText.js +15 -6
- package/lib/list/SecondaryText/TicketId.js +10 -2
- package/lib/list/SecondaryText/Website.js +18 -5
- package/lib/list/SecondaryText/__tests__/__snapshots__/AccountName.spec.js.snap +1 -1
- package/lib/list/SecondaryText/__tests__/__snapshots__/ContactName.spec.js.snap +1 -1
- package/lib/list/SecondaryText/__tests__/__snapshots__/DepartmentText.spec.js.snap +1 -1
- package/lib/list/SecondaryText/__tests__/__snapshots__/Email.spec.js.snap +1 -1
- package/lib/list/SecondaryText/__tests__/__snapshots__/PhoneNumber.spec.js.snap +1 -1
- package/lib/list/SecondaryText/__tests__/__snapshots__/PriorityText.spec.js.snap +1 -1
- package/lib/list/SecondaryText/__tests__/__snapshots__/SecondaryText.spec.js.snap +1 -1
- package/lib/list/SecondaryText/__tests__/__snapshots__/StatusText.spec.js.snap +1 -1
- package/lib/list/SecondaryText/__tests__/__snapshots__/Website.spec.js.snap +6 -2
- package/lib/list/SecondaryText/props/defaultProps.js +18 -0
- package/lib/list/SecondaryText/props/propTypes.js +22 -0
- package/lib/list/SecondryPanel/SecondryPanel.js +0 -0
- package/lib/list/Subject/Subject.js +40 -13
- package/lib/list/Subject/__tests__/__snapshots__/Subject.spec.js.snap +14 -14
- package/lib/list/Subject/props/defaultProps.js +3 -1
- package/lib/list/Subject/props/propTypes.js +6 -1
- 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,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
/**** Libraries ****/
|
|
2
4
|
import React, { PureComponent } from 'react';
|
|
3
5
|
import { defaultProps } from "./props/defaultProps";
|
|
@@ -96,7 +98,7 @@ export default class TextareaField extends PureComponent {
|
|
|
96
98
|
ValidationMessageProps2 = {}
|
|
97
99
|
} = customProps;
|
|
98
100
|
let uniqueId = htmlId ? htmlId : this.getNextId();
|
|
99
|
-
let textAreaContent = /*#__PURE__*/React.createElement(Textarea, {
|
|
101
|
+
let textAreaContent = /*#__PURE__*/React.createElement(Textarea, _extends({
|
|
100
102
|
onChange: this.handleChange,
|
|
101
103
|
animated: animated,
|
|
102
104
|
size: fieldSize === 'medium' ? textBoxSize : 'xmedium',
|
|
@@ -114,12 +116,12 @@ export default class TextareaField extends PureComponent {
|
|
|
114
116
|
needEffect: isReadOnly || isDisabled ? false : true,
|
|
115
117
|
resize: "vertical" // onKeyDown={onKeyDown}
|
|
116
118
|
,
|
|
117
|
-
htmlId: uniqueId
|
|
118
|
-
|
|
119
|
+
htmlId: uniqueId
|
|
120
|
+
}, TextareaProps, {
|
|
119
121
|
a11y: {
|
|
120
122
|
ariaLabelledby: labelName
|
|
121
123
|
}
|
|
122
|
-
});
|
|
124
|
+
}));
|
|
123
125
|
return /*#__PURE__*/React.createElement("div", {
|
|
124
126
|
className: `${style.container} ${isDisabled ? style.disabled : isReadOnly ? style.readonly : ''}`,
|
|
125
127
|
"data-title": isDisabled ? title : null,
|
|
@@ -129,7 +131,7 @@ export default class TextareaField extends PureComponent {
|
|
|
129
131
|
isLocked: isLocked,
|
|
130
132
|
lockedInfoText: lockedInfoText,
|
|
131
133
|
renderProps: renderLabelProps
|
|
132
|
-
}, /*#__PURE__*/React.createElement(Label, {
|
|
134
|
+
}, /*#__PURE__*/React.createElement(Label, _extends({
|
|
133
135
|
text: labelName,
|
|
134
136
|
isRequired: isMandatory,
|
|
135
137
|
isDisabled: isDisabled,
|
|
@@ -146,29 +148,26 @@ export default class TextareaField extends PureComponent {
|
|
|
146
148
|
label: {
|
|
147
149
|
id
|
|
148
150
|
}
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
151
|
+
}
|
|
152
|
+
}, LabelProps))), /*#__PURE__*/React.createElement("div", {
|
|
152
153
|
className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''}`
|
|
153
154
|
}, !renderRightPlaceholderNode ? textAreaContent : /*#__PURE__*/React.createElement("div", {
|
|
154
155
|
className: style.hasChildren
|
|
155
156
|
}, textAreaContent, /*#__PURE__*/React.createElement("div", {
|
|
156
157
|
className: `${style.rightPlaceholder} ${rightPlaceholderCustomClass}`
|
|
157
|
-
}, renderRightPlaceholderNode)), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
158
|
+
}, renderRightPlaceholderNode)), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
158
159
|
text: validationMessage,
|
|
159
160
|
palette: validationPalette,
|
|
160
161
|
type: errorType,
|
|
161
162
|
htmlFor: uniqueId,
|
|
162
|
-
dataId: `${dataId}_ValidationMessage
|
|
163
|
-
|
|
164
|
-
}), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
163
|
+
dataId: `${dataId}_ValidationMessage`
|
|
164
|
+
}, ValidationMessageProps1)), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
165
165
|
text: validationRuleMessage,
|
|
166
166
|
palette: validationRulePalette,
|
|
167
167
|
type: errorType,
|
|
168
168
|
htmlFor: uniqueId,
|
|
169
|
-
dataId: `${dataId}_ValidationRuleMessage
|
|
170
|
-
|
|
171
|
-
})));
|
|
169
|
+
dataId: `${dataId}_ValidationRuleMessage`
|
|
170
|
+
}, ValidationMessageProps2))));
|
|
172
171
|
}
|
|
173
172
|
|
|
174
173
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
import React from 'react';
|
|
2
4
|
import { defaultProps } from "./props/defaultProps";
|
|
3
5
|
import { propTypes } from "./props/propTypes";
|
|
@@ -61,7 +63,7 @@ export default class ValidationMessage extends React.Component {
|
|
|
61
63
|
'data-selector-id': dataSelectorId
|
|
62
64
|
}
|
|
63
65
|
};
|
|
64
|
-
return /*#__PURE__*/React.createElement(Flex, {
|
|
66
|
+
return /*#__PURE__*/React.createElement(Flex, _extends({}, wrapperProps, {
|
|
65
67
|
$ui_alignItems: alignChildren,
|
|
66
68
|
$ui_displayMode: isRightChildrenRenderable || isLeftChildrenRenderable ? 'flex' : null,
|
|
67
69
|
$event_onClick: onClick,
|
|
@@ -70,7 +72,7 @@ export default class ValidationMessage extends React.Component {
|
|
|
70
72
|
$ui_className: `${type === 'primary' ? style.primary : style.secondary} ${customWrapperClass}`,
|
|
71
73
|
$a11yAttributes_container: this.a11yMerged.wrapper,
|
|
72
74
|
$tagAttributes_container: this.tagMerged.wrapper
|
|
73
|
-
}, renderNode(renderLeftChildren), /*#__PURE__*/React.createElement(Label, {
|
|
75
|
+
}), renderNode(renderLeftChildren), /*#__PURE__*/React.createElement(Label, {
|
|
74
76
|
text: text,
|
|
75
77
|
htmlFor: htmlFor,
|
|
76
78
|
palette: palette,
|
|
File without changes
|
|
File without changes
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
import React from 'react';
|
|
2
4
|
import { SubtabHeader_propTypes, SubtabFooter_propTypes, SubtabContent_propTypes, SubtabLayout_propTypes } from "./props/propTypes";
|
|
3
5
|
import { SubtabHeader_defaultProps, SubtabFooter_defaultProps, SubtabContent_defaultProps, SubtabLayout_defaultProps } from "./props/defaultProps";
|
|
@@ -122,15 +124,15 @@ export default class SubtabLayout extends React.Component {
|
|
|
122
124
|
children,
|
|
123
125
|
dataId
|
|
124
126
|
} = this.props;
|
|
125
|
-
return /*#__PURE__*/React.createElement(Card, {
|
|
127
|
+
return /*#__PURE__*/React.createElement(Card, _extends({
|
|
126
128
|
isScrollAttribute: true,
|
|
127
|
-
dataId: dataId
|
|
128
|
-
|
|
129
|
+
dataId: dataId
|
|
130
|
+
}, this.props, {
|
|
129
131
|
childTypes: {
|
|
130
132
|
cardHeader: SubtabHeader,
|
|
131
133
|
cardContent: SubtabContent
|
|
132
134
|
}
|
|
133
|
-
}, children);
|
|
135
|
+
}), children);
|
|
134
136
|
}
|
|
135
137
|
|
|
136
138
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
import React, { Component } from 'react';
|
|
2
4
|
import { defaultProps } from "./props/defaultProps";
|
|
3
5
|
import { propTypes } from "./props/propTypes";
|
|
@@ -48,44 +50,49 @@ class DepartmentDropDown extends Component {
|
|
|
48
50
|
onSearch,
|
|
49
51
|
needSearchFetching,
|
|
50
52
|
searchStr,
|
|
51
|
-
i18nKeys
|
|
53
|
+
i18nKeys,
|
|
54
|
+
customProps
|
|
52
55
|
} = this.props;
|
|
56
|
+
const {
|
|
57
|
+
ToggleDropDownProps = {}
|
|
58
|
+
} = customProps;
|
|
53
59
|
let {
|
|
54
60
|
title = 'Move Department',
|
|
55
61
|
searchEmptyText = 'No results found',
|
|
56
62
|
searchErrorText = 'No results',
|
|
57
63
|
placeholder = 'Search Department'
|
|
58
64
|
} = i18nKeys;
|
|
59
|
-
return /*#__PURE__*/React.createElement(ToggleDropDown, {
|
|
65
|
+
return /*#__PURE__*/React.createElement(ToggleDropDown, _extends({
|
|
66
|
+
keyName: "name",
|
|
67
|
+
idName: "id",
|
|
68
|
+
isArrow: false,
|
|
69
|
+
boxSize: "small",
|
|
70
|
+
isPadding: false,
|
|
71
|
+
isNeedEffect: false,
|
|
72
|
+
isSearch: departmentList.length > 5 || searchStr.length !== 0
|
|
73
|
+
}, ToggleDropDownProps, {
|
|
60
74
|
title: title,
|
|
61
75
|
options: departmentList,
|
|
62
76
|
value: /*#__PURE__*/React.createElement(DepartmentText, {
|
|
63
77
|
text: departmentName,
|
|
64
78
|
dataTitle: departmentName
|
|
65
79
|
}),
|
|
66
|
-
keyName: "name",
|
|
67
|
-
idName: "id",
|
|
68
80
|
onClick: this.onMoveDepartment,
|
|
69
|
-
isArrow: false,
|
|
70
81
|
isEditable: isEditable,
|
|
71
82
|
onSelectLabel: onSelectLabel,
|
|
72
83
|
isPopupActive: isPopupActive,
|
|
73
84
|
needExternalPopupState: true,
|
|
74
|
-
isSearch: departmentList.length > 5 || searchStr.length !== 0,
|
|
75
|
-
boxSize: "small",
|
|
76
85
|
dataId: dataId,
|
|
77
86
|
isDataLoaded: !isFetching,
|
|
78
|
-
isPadding: false,
|
|
79
87
|
searchErrorText: searchErrorText,
|
|
80
88
|
searchEmptyHint: searchEmptyText,
|
|
81
|
-
isNeedEffect: false,
|
|
82
89
|
className: style.departmentBox,
|
|
83
90
|
placeHolderText: placeholder,
|
|
84
91
|
getNextOptions: getNextOptions,
|
|
85
92
|
isNextOptions: isNextOptions,
|
|
86
93
|
onSearch: onSearch,
|
|
87
94
|
needSearchFetching: needSearchFetching
|
|
88
|
-
});
|
|
95
|
+
}));
|
|
89
96
|
}
|
|
90
97
|
|
|
91
98
|
}
|
|
@@ -55,14 +55,14 @@
|
|
|
55
55
|
-webkit-animation-duration: var(--zd_transition10);
|
|
56
56
|
-webkit-animation-fill-mode: forwards;
|
|
57
57
|
-webkit-animation-iteration-count: infinite;
|
|
58
|
-
-webkit-animation-name:
|
|
58
|
+
-webkit-animation-name: placeHolderShimmer-ltr ;
|
|
59
59
|
-webkit-animation-timing-function: linear;
|
|
60
60
|
}
|
|
61
61
|
[dir=rtl] .stenListBAr {
|
|
62
62
|
-webkit-animation-duration: var(--zd_transition10);
|
|
63
63
|
-webkit-animation-fill-mode: forwards;
|
|
64
64
|
-webkit-animation-iteration-count: infinite;
|
|
65
|
-
-webkit-animation-name:
|
|
65
|
+
-webkit-animation-name: placeHolderShimmer-rtl ;
|
|
66
66
|
-webkit-animation-timing-function: linear;
|
|
67
67
|
}
|
|
68
68
|
.stenListBAr {
|
|
@@ -74,17 +74,17 @@
|
|
|
74
74
|
-webkit-animation-duration: var(--zd_transition10);
|
|
75
75
|
-webkit-animation-fill-mode: forwards;
|
|
76
76
|
-webkit-animation-iteration-count: infinite;
|
|
77
|
-
-webkit-animation-name:
|
|
77
|
+
-webkit-animation-name: placeHolderShimmer-ltr ;
|
|
78
78
|
-webkit-animation-timing-function: linear;
|
|
79
79
|
}
|
|
80
80
|
[dir=rtl] .stenListBAr {
|
|
81
81
|
-webkit-animation-duration: var(--zd_transition10);
|
|
82
82
|
-webkit-animation-fill-mode: forwards;
|
|
83
83
|
-webkit-animation-iteration-count: infinite;
|
|
84
|
-
-webkit-animation-name:
|
|
84
|
+
-webkit-animation-name: placeHolderShimmer-rtl ;
|
|
85
85
|
-webkit-animation-timing-function: linear;
|
|
86
86
|
}
|
|
87
|
-
@keyframes placeHolderShimmer {
|
|
87
|
+
@keyframes placeHolderShimmer-ltr {
|
|
88
88
|
0% {
|
|
89
89
|
background-position: -468px 0;
|
|
90
90
|
}
|
|
@@ -93,6 +93,15 @@
|
|
|
93
93
|
background-position: 468px 0;
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
|
+
@keyframes placeHolderShimmer-rtl {
|
|
97
|
+
0% {
|
|
98
|
+
background-position: right -468px top 0;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
100% {
|
|
102
|
+
background-position: right 468px top 0;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
96
105
|
.threeLayout .stenLoadbody::before {
|
|
97
106
|
transform: scale(0.8);
|
|
98
107
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
import React, { Component } from 'react';
|
|
2
4
|
import { ListLayout_defaultProps } from "./props/defaultProps";
|
|
3
5
|
import { ListLayout_propTypes, Column_propTypes } from "./props/propTypes";
|
|
@@ -67,10 +69,9 @@ export class Column extends Component {
|
|
|
67
69
|
children,
|
|
68
70
|
className
|
|
69
71
|
} = this.props;
|
|
70
|
-
return /*#__PURE__*/React.createElement(Box, {
|
|
71
|
-
className: `${className ? className : ''}
|
|
72
|
-
|
|
73
|
-
}, children);
|
|
72
|
+
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
73
|
+
className: `${className ? className : ''}`
|
|
74
|
+
}, this.props), children);
|
|
74
75
|
}
|
|
75
76
|
|
|
76
77
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
/* eslint-disable react/forbid-component-props */
|
|
2
4
|
|
|
3
5
|
/**** Libraries ****/
|
|
@@ -7,6 +9,8 @@ import { AccountName_propTypes } from "./props/propTypes";
|
|
|
7
9
|
/**** Components ****/
|
|
8
10
|
|
|
9
11
|
import { Container, Box } from '@zohodesk/components/es/Layout';
|
|
12
|
+
import Typography from '@zohodesk/components/es/Typography/Typography';
|
|
13
|
+
import { DUMMY_OBJECT } from '@zohodesk/components/es/utils/Common';
|
|
10
14
|
import Link from "../../Link/Link";
|
|
11
15
|
/**** CSS ****/
|
|
12
16
|
|
|
@@ -28,6 +32,8 @@ export default class AccountName extends Component {
|
|
|
28
32
|
secondaryAccountHref,
|
|
29
33
|
secondaryAccountClick,
|
|
30
34
|
secondaryAccountText,
|
|
35
|
+
highlightData,
|
|
36
|
+
isHighlighted,
|
|
31
37
|
customProps
|
|
32
38
|
} = this.props;
|
|
33
39
|
let {
|
|
@@ -51,27 +57,38 @@ export default class AccountName extends Component {
|
|
|
51
57
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
52
58
|
className: style.primaryAccountName,
|
|
53
59
|
shrink: true
|
|
54
|
-
}, isLink ? /*#__PURE__*/React.createElement(Link, {
|
|
60
|
+
}, isLink ? /*#__PURE__*/React.createElement(Link, _extends({
|
|
55
61
|
href: href,
|
|
56
62
|
urlName: urlName,
|
|
57
63
|
urlData: urlData,
|
|
58
64
|
onClick: onClick,
|
|
59
65
|
dataId: `${dataId}_link`,
|
|
60
|
-
className: style.link
|
|
61
|
-
|
|
66
|
+
className: style.link
|
|
67
|
+
}, LinkProps, {
|
|
62
68
|
ariaLabel: `Account Name ${text}`
|
|
63
|
-
}, /*#__PURE__*/React.createElement(
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
69
|
+
}), /*#__PURE__*/React.createElement(Typography, {
|
|
70
|
+
$tagAttributes_text: TextProps,
|
|
71
|
+
$ui_size: "12",
|
|
72
|
+
$flag_dotted: true,
|
|
73
|
+
$ui_className: `${style.linkWithText} ${className ? className : ''}`,
|
|
74
|
+
$ui_weight: fontWeight,
|
|
75
|
+
$ui_highlightConfig: isHighlighted ? highlightData : DUMMY_OBJECT
|
|
76
|
+
}, text)) : /*#__PURE__*/React.createElement(Typography, {
|
|
77
|
+
$tagAttributes_text: TextProps,
|
|
78
|
+
$ui_size: "12",
|
|
79
|
+
$flag_dotted: true,
|
|
80
|
+
$ui_className: `${style.secondaryText} ${className ? className : ''} ${notAccessible ? style.disable : ''}`,
|
|
81
|
+
$ui_highlightConfig: isHighlighted ? highlightData : DUMMY_OBJECT
|
|
68
82
|
}, text)), secondaryAccountText && /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(Link, {
|
|
69
83
|
href: secondaryAccountHref,
|
|
70
84
|
onClick: secondaryAccountClick,
|
|
71
85
|
className: style.link
|
|
72
|
-
}, /*#__PURE__*/React.createElement(
|
|
73
|
-
|
|
74
|
-
|
|
86
|
+
}, /*#__PURE__*/React.createElement(Typography, {
|
|
87
|
+
$tagAttributes_text: SecondaryTextProps,
|
|
88
|
+
$ui_size: "12",
|
|
89
|
+
$flag_dotted: true,
|
|
90
|
+
$ui_weight: fontWeight,
|
|
91
|
+
$ui_className: `${style.linkWithText} ${className ? className : ''}`
|
|
75
92
|
}, secondaryAccountText))))));
|
|
76
93
|
}
|
|
77
94
|
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
import React, { Component } from 'react';
|
|
2
4
|
import { ContactName_defaultProps } from "./props/defaultProps";
|
|
3
5
|
import { ContactName_propTypes } from "./props/propTypes";
|
|
4
6
|
import { Container, Box } from '@zohodesk/components/es/Layout';
|
|
7
|
+
import Typography from '@zohodesk/components/es/Typography/Typography';
|
|
8
|
+
import { DUMMY_OBJECT } from '@zohodesk/components/es/utils/Common';
|
|
5
9
|
import Link from "../../Link/Link";
|
|
6
10
|
import SentimentStatus from "../SentimentStatus/SentimentStatus";
|
|
7
11
|
import { Icon } from '@zohodesk/icons';
|
|
@@ -23,6 +27,8 @@ export default class ContactName extends Component {
|
|
|
23
27
|
notAccessible = false,
|
|
24
28
|
fontWeight,
|
|
25
29
|
i18nKeys,
|
|
30
|
+
highlightData,
|
|
31
|
+
isHighlighted,
|
|
26
32
|
customProps
|
|
27
33
|
} = this.props;
|
|
28
34
|
let {
|
|
@@ -52,22 +58,30 @@ export default class ContactName extends Component {
|
|
|
52
58
|
iconClass: style.icon
|
|
53
59
|
})), /*#__PURE__*/React.createElement(Box, {
|
|
54
60
|
flexible: true
|
|
55
|
-
}, isLink ? /*#__PURE__*/React.createElement(Link, {
|
|
61
|
+
}, isLink ? /*#__PURE__*/React.createElement(Link, _extends({
|
|
56
62
|
urlName: urlName,
|
|
57
63
|
href: href,
|
|
58
64
|
urlData: urlData,
|
|
59
65
|
onClick: onClick,
|
|
60
66
|
title: dataTitle,
|
|
61
67
|
dataId: `${dataId}_link`,
|
|
62
|
-
className: style.link
|
|
63
|
-
|
|
68
|
+
className: style.link
|
|
69
|
+
}, LinkProps, {
|
|
64
70
|
ariaLabel: `Contact Name ${text}`
|
|
65
|
-
}, /*#__PURE__*/React.createElement(
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
+
}), /*#__PURE__*/React.createElement(Typography, {
|
|
72
|
+
$flag_dotted: true,
|
|
73
|
+
$ui_size: "12",
|
|
74
|
+
$ui_weight: fontWeight,
|
|
75
|
+
$ui_className: `${style.linkWithText} ${className ? className : ''}`,
|
|
76
|
+
$ui_highlightConfig: isHighlighted ? highlightData : DUMMY_OBJECT
|
|
77
|
+
}, text)) : /*#__PURE__*/React.createElement(Typography, {
|
|
78
|
+
$tagAttributes_text: TextProps,
|
|
79
|
+
$ui_size: "12",
|
|
80
|
+
$flag_dotted: true,
|
|
81
|
+
$ui_className: `${style.secondaryText} ${className ? className : ''} ${notAccessible ? style.disable : ''}`,
|
|
82
|
+
$ui_weight: fontWeight,
|
|
83
|
+
$i18n_dataTitle: dataTitle,
|
|
84
|
+
$ui_highlightConfig: isHighlighted ? highlightData : DUMMY_OBJECT
|
|
71
85
|
}, text)), sentimentType && /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(SentimentStatus, {
|
|
72
86
|
type: sentimentType,
|
|
73
87
|
dataTitle: sentimentDataTitle
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import { DepartmentText_propTypes } from "./props/propTypes";
|
|
3
|
+
import Typography from '@zohodesk/components/es/Typography/Typography';
|
|
4
|
+
import { DUMMY_OBJECT } from '@zohodesk/components/es/utils/Common';
|
|
3
5
|
import style from "./SecondaryText.module.css";
|
|
4
6
|
export default class DepartmentText extends Component {
|
|
5
7
|
constructor(props) {
|
|
@@ -11,13 +13,18 @@ export default class DepartmentText extends Component {
|
|
|
11
13
|
className,
|
|
12
14
|
text,
|
|
13
15
|
dataTitle,
|
|
14
|
-
dataId
|
|
16
|
+
dataId,
|
|
17
|
+
isHighlighted,
|
|
18
|
+
highlightData
|
|
15
19
|
} = this.props;
|
|
16
|
-
return /*#__PURE__*/React.createElement(
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
return /*#__PURE__*/React.createElement(Typography, {
|
|
21
|
+
$ui_size: "12",
|
|
22
|
+
$flag_dotted: true,
|
|
23
|
+
$ui_className: `${style.departmentText} ${className ? className : ''}`,
|
|
24
|
+
$i18n_dataTitle: dataTitle,
|
|
25
|
+
customId: dataId,
|
|
26
|
+
testId: dataId,
|
|
27
|
+
$ui_highlightConfig: isHighlighted ? highlightData : DUMMY_OBJECT
|
|
21
28
|
}, text);
|
|
22
29
|
}
|
|
23
30
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
/* eslint-disable react/forbid-component-props */
|
|
2
4
|
|
|
3
5
|
/**** Libraries ****/
|
|
@@ -6,6 +8,8 @@ import { Email_defaultProps } from "./props/defaultProps";
|
|
|
6
8
|
import { Email_propTypes } from "./props/propTypes";
|
|
7
9
|
/**** Components ****/
|
|
8
10
|
|
|
11
|
+
import Typography from '@zohodesk/components/es/Typography/Typography';
|
|
12
|
+
import { DUMMY_OBJECT } from '@zohodesk/components/es/utils/Common';
|
|
9
13
|
import Link from "../../Link/Link";
|
|
10
14
|
/**** CSS ****/
|
|
11
15
|
|
|
@@ -22,26 +26,35 @@ export default class Email extends Component {
|
|
|
22
26
|
isLink,
|
|
23
27
|
target,
|
|
24
28
|
fontWeight,
|
|
25
|
-
customProps
|
|
29
|
+
customProps,
|
|
30
|
+
isHighlighted,
|
|
31
|
+
highlightData
|
|
26
32
|
} = this.props;
|
|
27
33
|
let {
|
|
28
34
|
LinkProps = {},
|
|
29
35
|
TextProps = {}
|
|
30
36
|
} = customProps;
|
|
31
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, isLink ? /*#__PURE__*/React.createElement(Link, {
|
|
37
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, isLink ? /*#__PURE__*/React.createElement(Link, _extends({
|
|
32
38
|
href: href,
|
|
33
39
|
title: title,
|
|
34
40
|
urlData: urlData,
|
|
35
41
|
urlName: urlName,
|
|
36
42
|
target: target,
|
|
37
|
-
className: style.link
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
className: style.link
|
|
44
|
+
}, LinkProps), /*#__PURE__*/React.createElement(Typography, {
|
|
45
|
+
$flag_dotted: true,
|
|
46
|
+
$ui_size: "12",
|
|
47
|
+
$ui_weight: fontWeight,
|
|
48
|
+
$ui_className: `${style.linkWithText} ${className ? className : ''}`,
|
|
49
|
+
$ui_highlightConfig: isHighlighted ? highlightData : DUMMY_OBJECT
|
|
50
|
+
}, text)) : /*#__PURE__*/React.createElement(Typography, {
|
|
51
|
+
$tagAttributes_text: TextProps,
|
|
52
|
+
$ui_size: "12",
|
|
53
|
+
$flag_dotted: true,
|
|
54
|
+
$ui_className: `${style.secondaryText} ${className ? className : ''}`,
|
|
55
|
+
$ui_weight: fontWeight,
|
|
56
|
+
$i18n_dataTitle: title,
|
|
57
|
+
$ui_highlightConfig: isHighlighted ? highlightData : DUMMY_OBJECT
|
|
45
58
|
}, text));
|
|
46
59
|
}
|
|
47
60
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
/* eslint-disable react/forbid-component-props */
|
|
2
4
|
|
|
3
5
|
/**** Libraries ****/
|
|
@@ -6,6 +8,8 @@ import { PhoneNumber_defaultProps } from "./props/defaultProps";
|
|
|
6
8
|
import { PhoneNumber_propTypes } from "./props/propTypes";
|
|
7
9
|
/**** Components ****/
|
|
8
10
|
|
|
11
|
+
import Typography from '@zohodesk/components/es/Typography/Typography';
|
|
12
|
+
import { DUMMY_OBJECT } from '@zohodesk/components/es/utils/Common';
|
|
9
13
|
import Link from "../../Link/Link";
|
|
10
14
|
/**** CSS ****/
|
|
11
15
|
|
|
@@ -24,13 +28,15 @@ export default class PhoneNumber extends Component {
|
|
|
24
28
|
target,
|
|
25
29
|
hasReload,
|
|
26
30
|
fontWeight,
|
|
27
|
-
customProps
|
|
31
|
+
customProps,
|
|
32
|
+
isHighlighted,
|
|
33
|
+
highlightData
|
|
28
34
|
} = this.props;
|
|
29
35
|
let {
|
|
30
36
|
LinkProps = {},
|
|
31
37
|
TextProps = {}
|
|
32
38
|
} = customProps;
|
|
33
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, isLink ? /*#__PURE__*/React.createElement(Link, {
|
|
39
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, isLink ? /*#__PURE__*/React.createElement(Link, _extends({
|
|
34
40
|
href: href,
|
|
35
41
|
title: title,
|
|
36
42
|
urlData: urlData,
|
|
@@ -38,14 +44,21 @@ export default class PhoneNumber extends Component {
|
|
|
38
44
|
dataId: dataId,
|
|
39
45
|
target: target,
|
|
40
46
|
hasReload: hasReload,
|
|
41
|
-
className: style.link
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
className: style.link
|
|
48
|
+
}, LinkProps), /*#__PURE__*/React.createElement(Typography, {
|
|
49
|
+
$ui_size: "12",
|
|
50
|
+
$flag_dotted: true,
|
|
51
|
+
$ui_className: `${style.phoneNumber} ${style.phonetxt} ${className ? className : ''}`,
|
|
52
|
+
$ui_weight: fontWeight,
|
|
53
|
+
$ui_highlightConfig: isHighlighted ? highlightData : DUMMY_OBJECT
|
|
54
|
+
}, text)) : /*#__PURE__*/React.createElement(Typography, {
|
|
55
|
+
$tagAttributes_text: TextProps,
|
|
56
|
+
$ui_className: `${style.secondaryText} ${style.phonetxt} ${className ? className : ''}`,
|
|
57
|
+
$ui_weight: fontWeight,
|
|
58
|
+
$ui_size: "12",
|
|
59
|
+
$flag_dotted: true,
|
|
60
|
+
$i18n_dataTitle: title,
|
|
61
|
+
$ui_highlightConfig: isHighlighted ? highlightData : DUMMY_OBJECT
|
|
49
62
|
}, text));
|
|
50
63
|
}
|
|
51
64
|
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import { PriorityText_defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { PriorityText_propTypes } from "./props/propTypes";
|
|
4
|
+
import Typography from '@zohodesk/components/es/Typography/Typography';
|
|
5
|
+
import { DUMMY_OBJECT } from '@zohodesk/components/es/utils/Common';
|
|
4
6
|
import style from "./SecondaryText.module.css";
|
|
5
7
|
export default class PriorityText extends Component {
|
|
6
8
|
constructor(props) {
|
|
@@ -13,13 +15,18 @@ export default class PriorityText extends Component {
|
|
|
13
15
|
color,
|
|
14
16
|
text,
|
|
15
17
|
dataTitle,
|
|
16
|
-
dataId
|
|
18
|
+
dataId,
|
|
19
|
+
isHighlighted,
|
|
20
|
+
highlightData
|
|
17
21
|
} = this.props;
|
|
18
|
-
return /*#__PURE__*/React.createElement(
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
|
|
22
|
+
return /*#__PURE__*/React.createElement(Typography, {
|
|
23
|
+
$ui_className: `${style.priorityText} ${style[color]} ${className ? className : ''}`,
|
|
24
|
+
$flag_dotted: true,
|
|
25
|
+
$ui_size: "12",
|
|
26
|
+
$ui_highlightConfig: isHighlighted ? highlightData : DUMMY_OBJECT,
|
|
27
|
+
$i18n_dataTitle: dataTitle,
|
|
28
|
+
customId: dataId,
|
|
29
|
+
testId: dataId
|
|
23
30
|
}, text);
|
|
24
31
|
}
|
|
25
32
|
|