@zohodesk/dot 1.0.0-temp-215 → 1.0.0-temp-216
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 +23 -0
- package/assets/Appearance/dark/mode/Dot_DarkMode.module.css +17 -7
- package/assets/Appearance/light/mode/Dot_LightMode.module.css +23 -13
- package/assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css +15 -5
- package/es/ActionButton/ActionButton.js +6 -6
- package/es/AlphabeticList/AlphabeticList.js +1 -1
- package/es/Attachment/Attachment.js +7 -4
- package/es/Attachment/__tests__/Attachment.spec.js +24 -0
- package/es/Attachment/__tests__/__snapshots__/Attachment.spec.js.snap +105 -0
- package/es/AttachmentViewer/AttachmentViewer.js +5 -5
- package/es/AttachmentViewer/AttachmentViewer.module.css +1 -1
- package/es/AudioPlayer/AudioPlayer.js +580 -0
- package/es/AudioPlayer/AudioPlayer.module.css +146 -0
- package/es/AudioPlayer/Timer/Timer.js +67 -0
- package/es/AudioPlayer/Timer/Timer.module.css +5 -0
- package/es/AudioPlayer/Timer/__tests__/Timer.spec.js +20 -0
- package/es/AudioPlayer/Timer/__tests__/__snapshots__/Timer.spec.js.snap +14 -0
- package/es/AudioPlayer/Timer/propTypes/defaultProps.js +4 -0
- package/es/AudioPlayer/Timer/propTypes/propTypes.js +11 -0
- package/es/AudioPlayer/__tests__/AudioPlayer.spec.js +44 -0
- package/es/AudioPlayer/__tests__/__snapshots__/AudioPlayer.spec.js.snap +145 -0
- package/es/AudioPlayer/propTypes/defaultProps.js +14 -0
- package/es/AudioPlayer/propTypes/propTypes.js +33 -0
- package/es/AudioPlayer/utils/utils.js +24 -0
- package/es/ChannelIcon/ChannelIcon.js +1 -1
- package/es/Drawer/Drawer.js +6 -6
- package/es/FlipCard/FlipCard.js +3 -3
- package/es/FormAction/FormAction.js +1 -1
- package/es/FreezeLayer/FreezeLayer.js +3 -3
- package/es/Hooks/Dragger/useDragger.js +52 -33
- package/es/IconButton/IconButton.js +3 -3
- package/es/ImportantNotes/ImportantNotes.js +1 -1
- package/es/Loader/Loader.js +1 -1
- package/es/MessageBanner/MessageBanner.js +1 -1
- package/es/NewStar/NewStar.js +1 -1
- package/es/Onboarding/Onboarding.js +3 -3
- package/es/Separator/Separator.js +1 -1
- package/es/ToastMessage/ToastMessage.js +4 -4
- package/es/Upload/Upload.js +1 -1
- package/es/VideoLookup/VideoLookup.js +1 -1
- package/es/alert/AlertHeader/AlertHeader.js +1 -1
- package/es/alert/AlertLookup/AlertLookup.js +1 -1
- package/es/avatar/AvatarClose/AvatarClose.js +1 -1
- package/es/avatar/AvatarCollision/AvatarCollision.js +1 -1
- package/es/avatar/AvatarIcon/AvatarIcon.js +2 -2
- package/es/avatar/AvatarStatus/AvatarStatus.js +1 -1
- package/es/avatar/AvatarThread/AvatarThread.js +1 -1
- package/es/avatar/AvatarUser/AvatarUser.js +1 -1
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +2 -2
- package/es/deprecated/FreezeLayer/FreezeLayer.js +3 -3
- package/es/deprecated/SelectDropdown/SelectDropdown.js +7 -7
- package/es/dot_layer.module.css +1 -0
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +14 -14
- package/es/emptystate/EditionPage/EditionPage.js +1 -1
- package/es/errorstate/Inconvenience/Inconvenience.js +3 -3
- package/es/errorstate/NoRequestFound/NoRequestFound.js +3 -3
- package/es/errorstate/PermissionPlay/PermissionPlay.js +3 -3
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +3 -3
- package/es/errorstate/UnableToProcess/UnableToProcess.js +3 -3
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
- package/es/errorstate/WillBack/WillBack.js +3 -3
- package/es/form/fields/CheckBoxField/CheckBoxField.js +3 -3
- package/es/form/fields/CurrencyField/CurrencyField.js +3 -3
- package/es/form/fields/DateField/DateField.js +3 -3
- package/es/form/fields/FieldContainer/FieldContainer.js +1 -1
- package/es/form/fields/Fields.module.css +4 -0
- package/es/form/fields/MultiSelectField/MultiSelectField.js +3 -3
- package/es/form/fields/PhoneField/PhoneField.js +3 -2
- package/es/form/fields/PhoneField/__tests__/__snapshots__/PhoneField.spec.js.snap +1 -1
- package/es/form/fields/RadioField/RadioField.js +2 -2
- package/es/form/fields/SelectField/SelectField.js +3 -3
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +11 -11
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +3 -3
- package/es/form/fields/TextBoxField/TextBoxField.js +3 -3
- package/es/form/fields/TextEditor/TextEditor.js +1 -1
- package/es/form/fields/TextEditorField/TextEditorField.js +1 -1
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +2 -2
- package/es/form/fields/TextareaField/TextareaField.js +3 -3
- package/es/form/fields/ValidationMessage/ValidationMessage.js +2 -2
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +1 -0
- package/es/layout/SetupDetailLayout/SetupDetailLayout.js +1 -1
- package/es/layout/SubtabLayout/SubtabLayout.js +2 -2
- package/es/list/Comment/Comment.js +1 -1
- package/es/list/Icons/AddNewIcon.js +1 -1
- package/es/list/Icons/CompleteIcon.js +1 -1
- package/es/list/Icons/DeleteIcon.js +1 -1
- package/es/list/Icons/EditIcon.js +1 -1
- package/es/list/Icons/ReadUnreadIcon.js +1 -1
- package/es/list/Icons/SmartIcon.js +1 -1
- package/es/list/ListLayout/ListLayout.js +1 -1
- package/es/list/ListStencils/ListStencils.js +1 -1
- package/es/list/SecondaryText/AccountName.js +1 -1
- package/es/list/SecondaryText/ContactName.js +1 -1
- package/es/list/SecondryPanel/SecondryPanel.js +2 -2
- package/es/list/Thread/Thread.js +1 -1
- package/es/list/status/StatusDropdown/StatusDropdown.js +10 -10
- package/es/list/status/StatusListItem/StatusListItem.js +2 -2
- package/es/lookup/EmptyPage/EmptyPage.js +4 -4
- package/es/lookup/Lookup/Lookup.js +1 -1
- package/es/lookup/Section/Section.js +1 -1
- package/es/lookup/header/ModuleHeader/ModuleHeader.js +1 -1
- package/es/lookup/header/Search/Search.js +3 -3
- package/es/lookup/header/TicketHeader/TicketHeader.js +1 -1
- package/es/lookup/header/ViewDropDown/ViewDropDown.js +9 -9
- package/es/setup/header/Button/Button.js +1 -1
- package/es/setup/header/Link/Link.js +1 -1
- package/es/setup/header/Search/Search.js +1 -1
- package/es/setup/table/Table/Table.js +1 -1
- package/es/setup/table/TableBody/TableBody.js +1 -1
- package/es/setup/table/TableData/TableData.js +1 -1
- package/es/setup/table/TableHead/TableHead.js +1 -1
- package/es/setup/table/TableRow/TableRow.js +1 -1
- package/es/svg/PlusIcon.js +1 -1
- package/es/svg/SnippetIcon.js +1 -1
- package/es/svg/TemplateIcon.js +1 -1
- package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +2 -2
- package/es/v1/emptystate/EditionPage/EditionPage.js +1 -1
- package/es/v1/errorstate/Inconvenience/Inconvenience.js +1 -1
- package/es/v1/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +1 -1
- package/es/v1/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +1 -1
- package/es/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +1 -1
- package/es/v1/errorstate/UrlNotFound/UrlNotFound.js +1 -1
- package/es/v1/errorstate/WillBeRightBack/WillBeRightBack.js +1 -1
- package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +2 -2
- package/es/v1/list/status/StatusDropdown/StatusDropdown.js +2 -2
- package/es/v1/lookup/EmptyPage/EmptyPage.js +4 -4
- package/es/v1/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
- package/es/v1/notification/DesktopNotification/DesktopNotification.js +1 -1
- package/es/v1/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +1 -1
- package/es/v1/svg/PlusIcon.js +1 -1
- package/es/v1/svg/SnippetIcon.js +1 -1
- package/es/v1/svg/TemplateIcon.js +1 -1
- package/es/version2/AlertClose/AlertClose.js +1 -1
- package/es/version2/GlobalNotification/GlobalNotification.js +1 -1
- package/es/version2/errorstate/Inconvenience/Inconvenience.js +3 -3
- package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +3 -3
- package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +3 -3
- package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
- package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +3 -3
- package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +3 -3
- package/es/version2/lookup/AlertHeader/AlertHeader.js +1 -1
- package/es/version2/lookup/AlertLookup/AlertLookup.js +3 -3
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +4 -4
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +2 -2
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +1 -0
- package/lib/ActionButton/ActionButton.js +6 -6
- package/lib/AlphabeticList/AlphabeticList.js +1 -1
- package/lib/Attachment/Attachment.js +7 -4
- package/lib/Attachment/__tests__/Attachment.spec.js +24 -0
- package/lib/Attachment/__tests__/__snapshots__/Attachment.spec.js.snap +105 -0
- package/lib/AttachmentViewer/AttachmentViewer.js +5 -5
- package/lib/AttachmentViewer/AttachmentViewer.module.css +1 -1
- package/lib/AudioPlayer/AudioPlayer.js +662 -0
- package/lib/AudioPlayer/AudioPlayer.module.css +146 -0
- package/lib/AudioPlayer/Timer/Timer.js +117 -0
- package/lib/AudioPlayer/Timer/Timer.module.css +5 -0
- package/lib/AudioPlayer/Timer/__tests__/Timer.spec.js +26 -0
- package/lib/AudioPlayer/Timer/__tests__/__snapshots__/Timer.spec.js.snap +14 -0
- package/lib/AudioPlayer/Timer/propTypes/defaultProps.js +11 -0
- package/lib/AudioPlayer/Timer/propTypes/propTypes.js +22 -0
- package/lib/AudioPlayer/__tests__/AudioPlayer.spec.js +50 -0
- package/lib/AudioPlayer/__tests__/__snapshots__/AudioPlayer.spec.js.snap +145 -0
- package/lib/AudioPlayer/propTypes/defaultProps.js +24 -0
- package/lib/AudioPlayer/propTypes/propTypes.js +44 -0
- package/lib/AudioPlayer/utils/utils.js +33 -0
- package/lib/ChannelIcon/ChannelIcon.js +1 -1
- package/lib/Drawer/Drawer.js +6 -6
- package/lib/FlipCard/FlipCard.js +3 -3
- package/lib/FormAction/FormAction.js +1 -1
- package/lib/FreezeLayer/FreezeLayer.js +3 -3
- package/lib/Hooks/Dragger/useDragger.js +51 -28
- package/lib/IconButton/IconButton.js +3 -3
- package/lib/ImportantNotes/ImportantNotes.js +1 -1
- package/lib/Loader/Loader.js +1 -1
- package/lib/MessageBanner/MessageBanner.js +1 -1
- package/lib/NewStar/NewStar.js +1 -1
- package/lib/Onboarding/Onboarding.js +3 -3
- package/lib/Separator/Separator.js +1 -1
- package/lib/ToastMessage/ToastMessage.js +4 -4
- package/lib/Upload/Upload.js +1 -1
- package/lib/VideoLookup/VideoLookup.js +1 -1
- package/lib/alert/AlertHeader/AlertHeader.js +1 -1
- package/lib/alert/AlertLookup/AlertLookup.js +1 -1
- package/lib/avatar/AvatarClose/AvatarClose.js +1 -1
- package/lib/avatar/AvatarCollision/AvatarCollision.js +1 -1
- package/lib/avatar/AvatarIcon/AvatarIcon.js +2 -2
- package/lib/avatar/AvatarStatus/AvatarStatus.js +1 -1
- package/lib/avatar/AvatarThread/AvatarThread.js +1 -1
- package/lib/avatar/AvatarUser/AvatarUser.js +1 -1
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +2 -2
- package/lib/deprecated/FreezeLayer/FreezeLayer.js +3 -3
- package/lib/deprecated/SelectDropdown/SelectDropdown.js +7 -7
- package/lib/dot_layer.module.css +1 -0
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +14 -14
- package/lib/emptystate/EditionPage/EditionPage.js +1 -1
- package/lib/errorstate/Inconvenience/Inconvenience.js +3 -3
- package/lib/errorstate/NoRequestFound/NoRequestFound.js +3 -3
- package/lib/errorstate/PermissionPlay/PermissionPlay.js +3 -3
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +3 -3
- package/lib/errorstate/UnableToProcess/UnableToProcess.js +3 -3
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
- package/lib/errorstate/WillBack/WillBack.js +3 -3
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +3 -3
- package/lib/form/fields/CurrencyField/CurrencyField.js +3 -3
- package/lib/form/fields/DateField/DateField.js +3 -3
- package/lib/form/fields/FieldContainer/FieldContainer.js +1 -1
- package/lib/form/fields/Fields.module.css +4 -0
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +3 -3
- package/lib/form/fields/PhoneField/PhoneField.js +3 -2
- package/lib/form/fields/PhoneField/__tests__/__snapshots__/PhoneField.spec.js.snap +1 -1
- package/lib/form/fields/RadioField/RadioField.js +2 -2
- package/lib/form/fields/SelectField/SelectField.js +3 -3
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +11 -11
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +3 -3
- package/lib/form/fields/TextBoxField/TextBoxField.js +3 -3
- package/lib/form/fields/TextEditor/TextEditor.js +1 -1
- package/lib/form/fields/TextEditorField/TextEditorField.js +1 -1
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +2 -2
- package/lib/form/fields/TextareaField/TextareaField.js +3 -3
- package/lib/form/fields/ValidationMessage/ValidationMessage.js +2 -2
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +1 -0
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +1 -1
- package/lib/layout/SubtabLayout/SubtabLayout.js +2 -2
- package/lib/list/Comment/Comment.js +1 -1
- package/lib/list/Icons/AddNewIcon.js +1 -1
- package/lib/list/Icons/CompleteIcon.js +1 -1
- package/lib/list/Icons/DeleteIcon.js +1 -1
- package/lib/list/Icons/EditIcon.js +1 -1
- package/lib/list/Icons/ReadUnreadIcon.js +1 -1
- package/lib/list/Icons/SmartIcon.js +1 -1
- package/lib/list/ListLayout/ListLayout.js +1 -1
- package/lib/list/ListStencils/ListStencils.js +1 -1
- package/lib/list/SecondaryText/AccountName.js +1 -1
- package/lib/list/SecondaryText/ContactName.js +1 -1
- package/lib/list/SecondryPanel/SecondryPanel.js +2 -2
- package/lib/list/Thread/Thread.js +1 -1
- package/lib/list/status/StatusDropdown/StatusDropdown.js +10 -10
- package/lib/list/status/StatusListItem/StatusListItem.js +2 -2
- package/lib/lookup/EmptyPage/EmptyPage.js +4 -4
- package/lib/lookup/Lookup/Lookup.js +1 -1
- package/lib/lookup/Section/Section.js +1 -1
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +1 -1
- package/lib/lookup/header/Search/Search.js +3 -3
- package/lib/lookup/header/TicketHeader/TicketHeader.js +1 -1
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +9 -9
- package/lib/setup/header/Button/Button.js +1 -1
- package/lib/setup/header/Link/Link.js +1 -1
- package/lib/setup/header/Search/Search.js +1 -1
- package/lib/setup/table/Table/Table.js +1 -1
- package/lib/setup/table/TableBody/TableBody.js +1 -1
- package/lib/setup/table/TableData/TableData.js +1 -1
- package/lib/setup/table/TableHead/TableHead.js +1 -1
- package/lib/setup/table/TableRow/TableRow.js +1 -1
- package/lib/svg/PlusIcon.js +1 -1
- package/lib/svg/SnippetIcon.js +1 -1
- package/lib/svg/TemplateIcon.js +1 -1
- package/lib/v1/dropdown/ToggleDropDown/ToggleDropDown.js +2 -2
- package/lib/v1/emptystate/EditionPage/EditionPage.js +1 -1
- package/lib/v1/errorstate/Inconvenience/Inconvenience.js +1 -1
- package/lib/v1/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +1 -1
- package/lib/v1/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +1 -1
- package/lib/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +1 -1
- package/lib/v1/errorstate/UrlNotFound/UrlNotFound.js +1 -1
- package/lib/v1/errorstate/WillBeRightBack/WillBeRightBack.js +1 -1
- package/lib/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +2 -2
- package/lib/v1/list/status/StatusDropdown/StatusDropdown.js +2 -2
- package/lib/v1/lookup/EmptyPage/EmptyPage.js +4 -4
- package/lib/v1/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
- package/lib/v1/notification/DesktopNotification/DesktopNotification.js +1 -1
- package/lib/v1/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +1 -1
- package/lib/v1/svg/PlusIcon.js +1 -1
- package/lib/v1/svg/SnippetIcon.js +1 -1
- package/lib/v1/svg/TemplateIcon.js +1 -1
- package/lib/version2/AlertClose/AlertClose.js +1 -1
- package/lib/version2/GlobalNotification/GlobalNotification.js +1 -1
- package/lib/version2/errorstate/Inconvenience/Inconvenience.js +3 -3
- package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +3 -3
- package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +3 -3
- package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
- package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +3 -3
- package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +3 -3
- package/lib/version2/lookup/AlertHeader/AlertHeader.js +1 -1
- package/lib/version2/lookup/AlertLookup/AlertLookup.js +3 -3
- package/lib/version2/notification/DesktopNotification/DesktopNotification.js +4 -4
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +2 -2
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +1 -0
- package/package.json +28 -13
- package/.cli/MissedPropType_Keys.html +0 -101
- package/.cli/PropLessFiles.html +0 -101
- package/.cli/PropUnificationExcludeFilesArray.js +0 -345
- package/.cli/PropValidationExcludeFilesArray.js +0 -8
- package/.cli/ThemeValidationExcludeFiles.js +0 -1
- package/.cli/UnValidatedFiles.html +0 -101
- package/.cli/propValidation_report.html +0 -182
- package/.cli/stringContains.js +0 -1
- package/assets/Appearance/dark/themes/blue/blue_DotCTA_DarkModifyCategory.module.css +0 -13
- package/assets/Appearance/dark/themes/green/green_DotCTA_DarkModifyCategory.module.css +0 -13
- package/assets/Appearance/dark/themes/orange/orange_DotCTA_DarkModifyCategory.module.css +0 -13
- package/assets/Appearance/dark/themes/red/red_DotCTA_DarkModifyCategory.module.css +0 -13
- package/assets/Appearance/dark/themes/yellow/yellow_DotCTA_DarkModifyCategory.module.css +0 -13
- package/assets/Appearance/light/themes/blue/blue_DotCTA_LightModifyCategory.module.css +0 -13
- package/assets/Appearance/light/themes/green/green_DotCTA_LightModifyCategory.module.css +0 -13
- package/assets/Appearance/light/themes/orange/orange_DotCTA_LightModifyCategory.module.css +0 -13
- package/assets/Appearance/light/themes/red/red_DotCTA_LightModifyCategory.module.css +0 -13
- package/assets/Appearance/light/themes/yellow/yellow_DotCTA_LightModifyCategory.module.css +0 -13
- package/assets/Appearance/pureDark/themes/blue/blue_DotCTA_PureDarkModifyCategory.module.css +0 -13
- package/assets/Appearance/pureDark/themes/green/green_DotCTA_PureDarkModifyCategory.module.css +0 -13
- package/assets/Appearance/pureDark/themes/orange/orange_DotCTA_PureDarkModifyCategory.module.css +0 -13
- package/assets/Appearance/pureDark/themes/red/red_DotCTA_PureDarkModifyCategory.module.css +0 -13
- package/assets/Appearance/pureDark/themes/yellow/yellow_DotCTA_PureDarkModifyCategory.module.css +0 -13
- package/css_error.log +0 -1
- package/images/audio_thumbnail.png +0 -0
- package/install.md +0 -12
- package/postPublish.js +0 -8
- package/prePublish.js +0 -70
- package/propValidationArg.json +0 -12
- package/react-cli.config.js +0 -24
- package/result.json +0 -1
- package/unittest/index.html +0 -45
package/README.md
CHANGED
|
@@ -2,6 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
In this Library, we Provide Some Basic Components to Build Your Application
|
|
4
4
|
|
|
5
|
+
# 1.7.24
|
|
6
|
+
|
|
7
|
+
- **Timer**
|
|
8
|
+
- timer_default_text css variable added.
|
|
9
|
+
|
|
10
|
+
# 1.7.23
|
|
11
|
+
|
|
12
|
+
- introduced AudioPlayer & Timer comopnent.
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
# 1.7.22
|
|
16
|
+
|
|
17
|
+
- **useDragger**
|
|
18
|
+
- While using the dragger, it was triggering even on a simple click inside the draggable element. The fixed position should only apply during an actual drag. To handle this, we added a drag distance threshold to accurately detect dragging and prevent the CSS from applying on click.
|
|
19
|
+
|
|
20
|
+
# 1.7.20, 1.7.21
|
|
21
|
+
|
|
22
|
+
- **PhoneField**
|
|
23
|
+
- RTL unicode-bidi issue fixed
|
|
24
|
+
- **Attachment**
|
|
25
|
+
- dataId added for fileName and fileSize element
|
|
26
|
+
- lib imports migrated to es
|
|
27
|
+
|
|
5
28
|
|
|
6
29
|
# 1.7.19
|
|
7
30
|
|
|
@@ -27,13 +27,23 @@
|
|
|
27
27
|
|
|
28
28
|
/* attachment */
|
|
29
29
|
--zdt_attachment_default_bg: hsla(217, 23.08%, calc(17.84% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
30
|
-
--zdt_attachment_default_border: var(--
|
|
30
|
+
--zdt_attachment_default_border: var(--zdtm_cta_grey_40_border_default_inverse_medium);
|
|
31
31
|
--zdt_attachment_default_text: hsla(0, 0.00%, calc(100.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
32
32
|
--zdt_attachment_default_hover_border: hsla(217, 7.76%, calc(54.51% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
33
33
|
--zdt_attachment_download_bg: var(--zdt_cta_grey_10_bg);
|
|
34
34
|
--zdt_attachment_download_hover_bg: var(--zdt_cta_grey_35_bg);
|
|
35
35
|
--zdt_avataruser_delete_text: hsla(217, 23.08%, calc(17.84% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
36
36
|
|
|
37
|
+
/* audio player */
|
|
38
|
+
--zdt_audioplayer_default_bg: var(--zdt_cta_grey_15_bg);
|
|
39
|
+
--zdt_audioplayer_line_text: hsla(217, 13.73%, calc(70.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
40
|
+
--zdt_audioplayer_input_bg: var(--zdt_cta_grey_35_bg);
|
|
41
|
+
--zdt_audioplayer_pauseicon_text: hsla(217, 13.73%, calc(70.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
42
|
+
--zdt_audioplayer_loading_bg: var(--zdtm_cta_primary_bg_default_inverse_lower);
|
|
43
|
+
|
|
44
|
+
/* timer */
|
|
45
|
+
--zdt_timer_default_text: hsla(217, 7.76%, calc(54.51% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
46
|
+
|
|
37
47
|
/* avatar close */
|
|
38
48
|
--zdt_avatarclose_pop_bg: hsla(0, 0.00%, calc(0.00% + var(--zdc_default)), calc( 0.75 + var(--zdc_alpha_high)));
|
|
39
49
|
--zdt_avatarclose_pop_text: hsla(30, 1.64%, calc(76.08% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
@@ -57,7 +67,7 @@
|
|
|
57
67
|
--zdt_avatarIcon_grey_icon: hsla(217, 13.73%, calc(70.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
58
68
|
--zdt_avatarIcon_success_icon: hsla(133, 48.36%, calc(52.16% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
59
69
|
--zdt_avatarIcon_smoke_icon: hsla(0, 0.00%, calc(66.67% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
60
|
-
--zdt_avatarIcon_default_border: var(--
|
|
70
|
+
--zdt_avatarIcon_default_border: var(--zdtm_cta_grey_40_border_default_inverse_medium);
|
|
61
71
|
--zdt_avatarIcon_default_hover_border: hsla(217, 7.76%, calc(54.51% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
62
72
|
--zdt_avatarIcon_primary_border: hsla(212, 100.00%, calc(63.92% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
63
73
|
--zdt_avatarIcon_primary_hover_border: hsla(213, 85.45%, calc(43.14% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
@@ -106,7 +116,7 @@
|
|
|
106
116
|
--zdt_drawer_default_box_shadow: rgba(0, 0, 0, 0.4);
|
|
107
117
|
--zdt_drawer_default_bg: hsla(217, 23.08%, calc(17.84% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
108
118
|
--zdt_drawer_header_bg: var(--zdtm_cta_grey_10_bg_default_inverse_low);
|
|
109
|
-
--zdt_drawer_header_border: var(--
|
|
119
|
+
--zdt_drawer_header_border: var(--zdtm_cta_grey_35_border_default_inverse_medium);
|
|
110
120
|
--zdt_drawer_title_text: hsla(210, 7.41%, calc(89.41% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
111
121
|
|
|
112
122
|
/* toggle dropdown */
|
|
@@ -221,7 +231,7 @@
|
|
|
221
231
|
--zdt_gridstencils_default_border: hsla(218, 23.08%, calc(22.94% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
222
232
|
--zdt_gridstencils_after_bg: hsla(217, 23.23%, calc(19.41% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
223
233
|
--zdt_gridstencils_listbar_bg: hsla(217, 23.23%, calc(19.41% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
224
|
-
--zdt_gridstencils_listbar_gradient_bg: linear-gradient(to left, #383f55 0, #414961 20%, #414961 40%, #383f55 100%);
|
|
234
|
+
--zdt_gridstencils_listbar_gradient_bg /* rtl:as:background-image */: linear-gradient(to left, #383f55 0, #414961 20%, #414961 40%, #383f55 100%);
|
|
225
235
|
|
|
226
236
|
/* icons */
|
|
227
237
|
--zdt_icons_default: hsla(217, 13.73%, calc(70.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
@@ -243,7 +253,7 @@
|
|
|
243
253
|
--zdt_secondaryText_orage_text: hsla(26, 100.00%, calc(56.08% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
244
254
|
--zdt_secondaryText_green_text: hsla(133, 48.36%, calc(52.16% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
245
255
|
--zdt_secondaryText_red_text: hsla(0, 100.00%, calc(70.98% + var(--zdc_default_inverse_lower)), calc(1 + var(--zdc_alpha_low)));
|
|
246
|
-
--zdt_secondaryText_blue_text: var(--
|
|
256
|
+
--zdt_secondaryText_blue_text: var(--zdtm_cta_primary_text_default_inverse_low);
|
|
247
257
|
--zdt_secondaryText_blue_hover_text: var(--zdt_cta_primary_hover_text);
|
|
248
258
|
--zdt_secondaryText_black_text: hsla(210, 7.41%, calc(89.41% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
249
259
|
--zdt_secondaryText_secondaryText_text: hsla(217, 13.73%, calc(70.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
@@ -279,7 +289,7 @@
|
|
|
279
289
|
/* lookup header common */
|
|
280
290
|
--zdt_lookupheader_default_bg: var(--zdt_cta_grey_10_bg);
|
|
281
291
|
--zdt_lookupheader_white_bg: hsla(217, 23.08%, calc(17.84% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
282
|
-
--zdt_lookupheader_default_border: var(--
|
|
292
|
+
--zdt_lookupheader_default_border: var(--zdtm_cta_grey_35_border_default_inverse_medium);
|
|
283
293
|
--zdt_lookupheader_white_border: hsla(223, 21.68%, calc(28.04% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
284
294
|
--zdt_lookupheader_para_text: hsla(217, 13.73%, calc(70.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
285
295
|
--zdt_lookupheader_input_border: hsla(0, 0.00%, calc(89.80% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
@@ -525,7 +535,7 @@
|
|
|
525
535
|
/* attachment viewer */
|
|
526
536
|
--zdt_attachmentviewer_title_text: hsla(210, 7.41%, calc(89.41% + var(--zdc_lighter)), calc(1 + var(--zdc_alpha_high)));
|
|
527
537
|
--zdt_attachmentviewer_button_border: hsla(218, 23.08%, calc(22.94% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
528
|
-
--zdt_attachmentviewer_hover_border: var(--
|
|
538
|
+
--zdt_attachmentviewer_hover_border: var(--zdtm_cta_grey_40_border_default_inverse_medium);
|
|
529
539
|
--zdt_attachmentviewer_selected_border: var(--zdt_cta_primary_border);
|
|
530
540
|
--zdt_attachmentviewer_selected_after_bg: hsla(0, 0.00%, calc(100.00% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
531
541
|
--zdt_attachmentviewer_selected_box_shadow: rgba(0, 0, 0, 0.34);
|
|
@@ -27,13 +27,23 @@
|
|
|
27
27
|
|
|
28
28
|
/* attachment */
|
|
29
29
|
--zdt_attachment_default_bg: hsla(0, 0.00%, calc(100.00% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
30
|
-
--zdt_attachment_default_border: var(--
|
|
30
|
+
--zdt_attachment_default_border: var(--zdtm_cta_grey_40_border_default_inverse_medium);
|
|
31
31
|
--zdt_attachment_default_text: hsla(0, 0.00%, calc(0.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
32
32
|
--zdt_attachment_default_hover_border: hsla(218, 9.76%, calc(51.76% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
33
33
|
--zdt_attachment_download_bg: var(--zdt_cta_grey_10_bg);
|
|
34
34
|
--zdt_attachment_download_hover_bg: var(--zdt_cta_grey_35_bg);
|
|
35
35
|
--zdt_avataruser_delete_text: hsla(0, 0.00%, calc(100.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
36
36
|
|
|
37
|
+
/* audio player */
|
|
38
|
+
--zdt_audioplayer_default_bg: var(--zdt_cta_grey_15_bg);
|
|
39
|
+
--zdt_audioplayer_line_text: hsla(220, 10.45%, calc(39.41% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
40
|
+
--zdt_audioplayer_input_bg: var(--zdt_cta_grey_35_bg);
|
|
41
|
+
--zdt_audioplayer_pauseicon_text: hsla(217, 25.93%, calc(15.88% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
42
|
+
--zdt_audioplayer_loading_bg: var(--zdtm_cta_primary_bg_default_inverse_lower);
|
|
43
|
+
|
|
44
|
+
/* timer */
|
|
45
|
+
--zdt_timer_default_text: hsla(217, 25.93%, calc(15.88% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
46
|
+
|
|
37
47
|
/* avatar close */
|
|
38
48
|
--zdt_avatarclose_pop_bg: hsla(0, 0.00%, calc(0.00% + var(--zdc_default)), calc( 0.75 + var(--zdc_alpha_high)));
|
|
39
49
|
--zdt_avatarclose_pop_text: hsla(30, 1.64%, calc(76.08% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
@@ -57,7 +67,7 @@
|
|
|
57
67
|
--zdt_avatarIcon_grey_icon: hsla(220, 10.45%, calc(39.41% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
58
68
|
--zdt_avatarIcon_success_icon: hsla(133, 63.29%, calc(40.59% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
59
69
|
--zdt_avatarIcon_smoke_icon: hsla(0, 0.00%, calc(66.67% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
60
|
-
--zdt_avatarIcon_default_border: var(--
|
|
70
|
+
--zdt_avatarIcon_default_border: var(--zdtm_cta_grey_40_border_default_inverse_medium);
|
|
61
71
|
--zdt_avatarIcon_default_hover_border: hsla(218, 9.76%, calc(51.76% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
62
72
|
--zdt_avatarIcon_primary_border: hsla(212, 91.84%, calc(48.04% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
63
73
|
--zdt_avatarIcon_primary_hover_border: hsla(213, 100.00%, calc(36.08% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
@@ -106,7 +116,7 @@
|
|
|
106
116
|
--zdt_drawer_default_box_shadow: rgba(0, 0, 0, 0.176);
|
|
107
117
|
--zdt_drawer_default_bg: hsla(0, 0.00%, calc(100.00% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
108
118
|
--zdt_drawer_header_bg: var(--zdtm_cta_grey_10_bg_default_inverse_low);
|
|
109
|
-
--zdt_drawer_header_border: var(--
|
|
119
|
+
--zdt_drawer_header_border: var(--zdtm_cta_grey_35_border_default_inverse_medium);
|
|
110
120
|
--zdt_drawer_title_text: hsla(0, 0.00%, calc(0.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
111
121
|
|
|
112
122
|
/* toggle dropdown */
|
|
@@ -155,7 +165,7 @@
|
|
|
155
165
|
|
|
156
166
|
/* form action */
|
|
157
167
|
--zdt_formAction_bg: hsla(0, 0.00%, calc(100.00% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
158
|
-
--zdt_formAction_border: var(--
|
|
168
|
+
--zdt_formAction_border: var(--zdtm_cta_grey_15_border_default_inverse_medium);
|
|
159
169
|
|
|
160
170
|
/* freezelayer */
|
|
161
171
|
--zdt_freezelayer_default_bg: rgba(0, 0, 0, 0.45);
|
|
@@ -221,7 +231,7 @@
|
|
|
221
231
|
--zdt_gridstencils_default_border: hsla(0, 0.00%, calc(94.51% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
222
232
|
--zdt_gridstencils_after_bg: hsla(0, 0.00%, calc(92.16% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
223
233
|
--zdt_gridstencils_listbar_bg: hsla(210, 12.50%, calc(96.86% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
224
|
-
--zdt_gridstencils_listbar_gradient_bg: linear-gradient(to left, var(--zd_smoke78) 0, #edeef1 20%, var(--zd_smoke78) 40%, var(--zd_smoke78) 100%);
|
|
234
|
+
--zdt_gridstencils_listbar_gradient_bg /* rtl:as:background-image */: linear-gradient(to left, var(--zd_smoke78) 0, #edeef1 20%, var(--zd_smoke78) 40%, var(--zd_smoke78) 100%);
|
|
225
235
|
|
|
226
236
|
/* icons */
|
|
227
237
|
--zdt_icons_default: hsla(220, 10.45%, calc(39.41% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
@@ -243,7 +253,7 @@
|
|
|
243
253
|
--zdt_secondaryText_orage_text: hsla(26, 100.00%, calc(50.00% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
244
254
|
--zdt_secondaryText_green_text: hsla(133, 63.29%, calc(40.59% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
245
255
|
--zdt_secondaryText_red_text: hsla(0, 71.91%, calc(53.92% + var(--zdc_default_inverse_lower)), calc(1 + var(--zdc_alpha_low)));
|
|
246
|
-
--zdt_secondaryText_blue_text: var(--
|
|
256
|
+
--zdt_secondaryText_blue_text: var(--zdtm_cta_primary_text_default_inverse_low);
|
|
247
257
|
--zdt_secondaryText_blue_hover_text: var(--zdt_cta_primary_hover_text);
|
|
248
258
|
--zdt_secondaryText_black_text: hsla(0, 0.00%, calc(0.00% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
249
259
|
--zdt_secondaryText_secondaryText_text: hsla(220, 10.45%, calc(39.41% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
@@ -279,8 +289,8 @@
|
|
|
279
289
|
/* lookup header common */
|
|
280
290
|
--zdt_lookupheader_default_bg: var(--zdt_cta_grey_10_bg);
|
|
281
291
|
--zdt_lookupheader_white_bg: hsla(0, 0.00%, calc(100.00% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
282
|
-
--zdt_lookupheader_default_border: var(--
|
|
283
|
-
--zdt_lookupheader_white_border: var(--
|
|
292
|
+
--zdt_lookupheader_default_border: var(--zdtm_cta_grey_35_border_default_inverse_medium);
|
|
293
|
+
--zdt_lookupheader_white_border: var(--zdtm_cta_grey_15_border_default_inverse_medium);
|
|
284
294
|
--zdt_lookupheader_para_text: hsla(220, 10.45%, calc(39.41% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
285
295
|
--zdt_lookupheader_input_border: hsla(0, 0.00%, calc(89.80% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
286
296
|
|
|
@@ -447,7 +457,7 @@
|
|
|
447
457
|
--zdt_commonalert_plaininfo_hover_bg: hsla(212, 80.95%, calc(95.88% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
448
458
|
--zdt_commonalert_danger_hover_bg: hsla(0, 73.91%, calc(95.49% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
449
459
|
--zdt_commonalert_warning_hover_bg: hsla(26, 100.00%, calc(95.10% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
450
|
-
--zdt_commonalert_light_hover_bg: var(--
|
|
460
|
+
--zdt_commonalert_light_hover_bg: var(--zdtm_cta_grey_10_bg_darker_lowest);
|
|
451
461
|
--zdt_commonalert_secondlayer_bg: rgb(246,248,251);
|
|
452
462
|
--zdt_commonalert_default_icon: hsla(0, 71.91%, calc(53.92% + var(--zdc_default_inverse_lower)), calc(1 + var(--zdc_alpha_low)));
|
|
453
463
|
--zdt_commonalert_success_icon: hsla(133, 63.29%, calc(40.59% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
@@ -524,8 +534,8 @@
|
|
|
524
534
|
|
|
525
535
|
/* attachment viewer */
|
|
526
536
|
--zdt_attachmentviewer_title_text: hsla(0, 0.00%, calc(100.00% + var(--zdc_lighter)), calc(1 + var(--zdc_alpha_high)));
|
|
527
|
-
--zdt_attachmentviewer_button_border: var(--
|
|
528
|
-
--zdt_attachmentviewer_hover_border: var(--
|
|
537
|
+
--zdt_attachmentviewer_button_border: var(--zdtm_cta_grey_35_border_default_inverse_medium);
|
|
538
|
+
--zdt_attachmentviewer_hover_border: var(--zdtm_cta_grey_40_border_default_inverse_medium);
|
|
529
539
|
--zdt_attachmentviewer_selected_border: var(--zdt_cta_primary_border);
|
|
530
540
|
--zdt_attachmentviewer_selected_after_bg: hsla(0, 0.00%, calc(100.00% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
531
541
|
--zdt_attachmentviewer_selected_box_shadow: rgba(0, 0, 0, 0.34);
|
|
@@ -539,8 +549,8 @@
|
|
|
539
549
|
--zdt_separator_secondary_text: hsla(0, 0.00%, calc(0.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
540
550
|
|
|
541
551
|
/* tag with icon */
|
|
542
|
-
--zdt_tagWithIconGrey_bg: var(--
|
|
543
|
-
--zdt_tagWithIconGrey_border: var(--
|
|
552
|
+
--zdt_tagWithIconGrey_bg: var(--zdtm_cta_grey_20_bg_darker_lowest);
|
|
553
|
+
--zdt_tagWithIconGrey_border: var(--zdtm_cta_grey_35_border_default_inverse_medium);
|
|
544
554
|
--zdt_tagWithIconGrey_text: hsla(0, 0.00%, calc(0.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
545
555
|
--zdt_tagWithIconBlue_bg: hsla(213, 84.62%, calc(94.90% + var(--zdc_darker_lowest)), calc(1 + var(--zdc_alpha_high)));
|
|
546
556
|
--zdt_tagWithIconBlue_border: hsla(212, 83.33%, calc(85.88% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
@@ -27,13 +27,23 @@
|
|
|
27
27
|
|
|
28
28
|
/* attachment */
|
|
29
29
|
--zdt_attachment_default_bg: hsla(0, 0.00%, calc(12.94% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
30
|
-
--zdt_attachment_default_border: var(--
|
|
30
|
+
--zdt_attachment_default_border: var(--zdtm_cta_grey_40_border_default_inverse_medium);
|
|
31
31
|
--zdt_attachment_default_text: hsla(0, 0.00%, calc(100.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
32
32
|
--zdt_attachment_default_hover_border: hsla(217, 7.76%, calc(54.51% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
33
33
|
--zdt_attachment_download_bg: var(--zdt_cta_grey_10_bg);
|
|
34
34
|
--zdt_attachment_download_hover_bg: var(--zdt_cta_grey_35_bg);
|
|
35
35
|
--zdt_avataruser_delete_text: hsla(0, 0.00%, calc(12.94% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
36
36
|
|
|
37
|
+
/* audio player */
|
|
38
|
+
--zdt_audioplayer_default_bg: var(--zdt_cta_grey_15_bg);
|
|
39
|
+
--zdt_audioplayer_line_text: hsla(0, 0.00%, calc(60.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
40
|
+
--zdt_audioplayer_input_bg: var(--zdt_cta_grey_35_bg);
|
|
41
|
+
--zdt_audioplayer_pauseicon_text: hsla(0, 0.00%, calc(60.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
42
|
+
--zdt_audioplayer_loading_bg: var(--zdtm_cta_primary_bg_default_inverse_lower);
|
|
43
|
+
|
|
44
|
+
/* timer */
|
|
45
|
+
--zdt_timer_default_text: hsla(217, 7.76%, calc(54.51% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
46
|
+
|
|
37
47
|
/* avatar close */
|
|
38
48
|
--zdt_avatarclose_pop_bg: hsla(0, 0.00%, calc(0.00% + var(--zdc_default)), calc( 0.75 + var(--zdc_alpha_high)));
|
|
39
49
|
--zdt_avatarclose_pop_text: hsla(30, 1.64%, calc(76.08% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
@@ -57,7 +67,7 @@
|
|
|
57
67
|
--zdt_avatarIcon_grey_icon: hsla(0, 0.00%, calc(60.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
58
68
|
--zdt_avatarIcon_success_icon: hsla(133, 48.36%, calc(52.16% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
59
69
|
--zdt_avatarIcon_smoke_icon: hsla(0, 0.00%, calc(66.67% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
60
|
-
--zdt_avatarIcon_default_border: var(--
|
|
70
|
+
--zdt_avatarIcon_default_border: var(--zdtm_cta_grey_40_border_default_inverse_medium);
|
|
61
71
|
--zdt_avatarIcon_default_hover_border: hsla(217, 7.76%, calc(54.51% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
62
72
|
--zdt_avatarIcon_primary_border: hsla(212, 100.00%, calc(63.92% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
63
73
|
--zdt_avatarIcon_primary_hover_border: hsla(213, 85.45%, calc(43.14% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
@@ -221,7 +231,7 @@
|
|
|
221
231
|
--zdt_gridstencils_default_border: hsla(0, 2.33%, calc(8.43% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
222
232
|
--zdt_gridstencils_after_bg: hsla(0, 0.00%, calc(16.86% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
223
233
|
--zdt_gridstencils_listbar_bg: hsla(0, 0.00%, calc(16.86% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
224
|
-
--zdt_gridstencils_listbar_gradient_bg: linear-gradient(to left, #212121 0, #262626 20%, #262626 40%, #212121 100%);
|
|
234
|
+
--zdt_gridstencils_listbar_gradient_bg /* rtl:as:background-image */: linear-gradient(to left, #212121 0, #262626 20%, #262626 40%, #212121 100%);
|
|
225
235
|
|
|
226
236
|
/* icons */
|
|
227
237
|
--zdt_icons_default: hsla(0, 0.00%, calc(60.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
@@ -243,7 +253,7 @@
|
|
|
243
253
|
--zdt_secondaryText_orage_text: hsla(26, 100.00%, calc(56.08% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
244
254
|
--zdt_secondaryText_green_text: hsla(133, 48.36%, calc(52.16% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
245
255
|
--zdt_secondaryText_red_text: hsla(0, 100.00%, calc(70.98% + var(--zdc_default_inverse_lower)), calc(1 + var(--zdc_alpha_low)));
|
|
246
|
-
--zdt_secondaryText_blue_text: var(--
|
|
256
|
+
--zdt_secondaryText_blue_text: var(--zdtm_cta_primary_text_default_inverse_low);
|
|
247
257
|
--zdt_secondaryText_blue_hover_text: var(--zdt_cta_primary_hover_text);
|
|
248
258
|
--zdt_secondaryText_black_text: hsla(210, 7.41%, calc(89.41% + var(--zdc_default_inverse_low)), calc(1 + var(--zdc_alpha_low)));
|
|
249
259
|
--zdt_secondaryText_secondaryText_text: hsla(0, 0.00%, calc(60.00% + var(--zdc_default_inverse)), calc(1 + var(--zdc_alpha_high)));
|
|
@@ -525,7 +535,7 @@
|
|
|
525
535
|
/* attachment viewer */
|
|
526
536
|
--zdt_attachmentviewer_title_text: hsla(210, 7.41%, calc(89.41% + var(--zdc_lighter)), calc(1 + var(--zdc_alpha_high)));
|
|
527
537
|
--zdt_attachmentviewer_button_border: hsla(0, 2.33%, calc(8.43% + var(--zdc_default_inverse_medium)), calc(1 + var(--zdc_alpha_low)));
|
|
528
|
-
--zdt_attachmentviewer_hover_border: var(--
|
|
538
|
+
--zdt_attachmentviewer_hover_border: var(--zdtm_cta_grey_40_border_default_inverse_medium);
|
|
529
539
|
--zdt_attachmentviewer_selected_border: var(--zdt_cta_primary_border);
|
|
530
540
|
--zdt_attachmentviewer_selected_after_bg: hsla(0, 0.00%, calc(100.00% + var(--zdc_default)), calc(1 + var(--zdc_alpha_high)));
|
|
531
541
|
--zdt_attachmentviewer_selected_box_shadow: rgba(0, 0, 0, 0.34);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { propTypes } from "./props/propTypes";
|
|
4
|
-
import Popup from '@zohodesk/components/
|
|
4
|
+
import Popup from '@zohodesk/components/es/Popup/Popup';
|
|
5
5
|
import { Icon } from '@zohodesk/icons';
|
|
6
|
-
import Button from '@zohodesk/components/
|
|
7
|
-
import { Container, Box } from '@zohodesk/components/
|
|
8
|
-
import ResponsiveDropBox from '@zohodesk/components/
|
|
9
|
-
import CssProvider from '@zohodesk/components/
|
|
6
|
+
import Button from '@zohodesk/components/es/Button/Button';
|
|
7
|
+
import { Container, Box } from '@zohodesk/components/es/Layout';
|
|
8
|
+
import ResponsiveDropBox from '@zohodesk/components/es/ResponsiveDropBox/ResponsiveDropBox';
|
|
9
|
+
import CssProvider from '@zohodesk/components/es/Provider/CssProvider';
|
|
10
10
|
import style from "./ActionButton.module.css";
|
|
11
|
-
import btnStyle from '@zohodesk/components/
|
|
11
|
+
import btnStyle from '@zohodesk/components/es/semantic/Button/semanticButton.module.css';
|
|
12
12
|
export class ActionButton extends React.Component {
|
|
13
13
|
constructor(props) {
|
|
14
14
|
super(props);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { AlphabeticList_defaultProps, AlphabeticListItem_defaultProps } from "./props/defaultProps";
|
|
4
4
|
import { AlphabeticList_propTypes, AlphabeticListItem_propTypes, AlphabeticCharacters, NumberList, AlphabeticCharactersWithHash } from "./props/propTypes";
|
|
5
|
-
import { Container, Box } from '@zohodesk/components/
|
|
5
|
+
import { Container, Box } from '@zohodesk/components/es/Layout';
|
|
6
6
|
/*** CSS ***/
|
|
7
7
|
|
|
8
8
|
import style from "./AlphabeticList.module.css";
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { propTypes } from "./props/propTypes";
|
|
4
4
|
import { Icon } from '@zohodesk/icons';
|
|
5
|
-
import { Container, Box } from '@zohodesk/components/
|
|
5
|
+
import { Container, Box } from '@zohodesk/components/es/Layout';
|
|
6
6
|
import Link from "../Link/Link";
|
|
7
7
|
import style from "./Attachment.module.css";
|
|
8
8
|
export default class Attachment extends React.Component {
|
|
@@ -49,7 +49,8 @@ export default class Attachment extends React.Component {
|
|
|
49
49
|
align: "horizontal"
|
|
50
50
|
}, fileName ? /*#__PURE__*/React.createElement(Box, {
|
|
51
51
|
className: style.atatchName,
|
|
52
|
-
"data-title": fileName
|
|
52
|
+
"data-title": fileName,
|
|
53
|
+
dataId: `${dataId}_filename`
|
|
53
54
|
}, fileName) : null, /*#__PURE__*/React.createElement(Box, {
|
|
54
55
|
className: style.footer
|
|
55
56
|
}, /*#__PURE__*/React.createElement(Container, {
|
|
@@ -60,14 +61,16 @@ export default class Attachment extends React.Component {
|
|
|
60
61
|
className: style.attachSize,
|
|
61
62
|
adjust: true,
|
|
62
63
|
shrink: true,
|
|
63
|
-
"data-title": fileSize
|
|
64
|
+
"data-title": fileSize,
|
|
65
|
+
dataId: `${dataId}_filesize`
|
|
64
66
|
}, fileSize) : null, fileInfo ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Box, {
|
|
65
67
|
className: style.dot
|
|
66
68
|
}), /*#__PURE__*/React.createElement(Box, {
|
|
67
69
|
className: style.attachSize,
|
|
68
70
|
adjust: true,
|
|
69
71
|
shrink: true,
|
|
70
|
-
"data-title": fileInfo
|
|
72
|
+
"data-title": fileInfo,
|
|
73
|
+
dataId: `${dataId}_fileinfo`
|
|
71
74
|
}, fileInfo)) : null)))), downloadLink && !isDisabled ? /*#__PURE__*/React.createElement(Link, {
|
|
72
75
|
target: "_self",
|
|
73
76
|
href: downloadLink,
|
|
@@ -8,4 +8,28 @@ describe('Attachment', () => {
|
|
|
8
8
|
} = render( /*#__PURE__*/React.createElement(Attachment, null));
|
|
9
9
|
expect(asFragment()).toMatchSnapshot();
|
|
10
10
|
});
|
|
11
|
+
});
|
|
12
|
+
describe('Attachment with props', () => {
|
|
13
|
+
test('rendering the defult props', () => {
|
|
14
|
+
const {
|
|
15
|
+
asFragment
|
|
16
|
+
} = render( /*#__PURE__*/React.createElement(Attachment, {
|
|
17
|
+
onClick: jest.fn(),
|
|
18
|
+
dataId: "test_id",
|
|
19
|
+
size: "medium",
|
|
20
|
+
iconName: "test_icon",
|
|
21
|
+
fileName: "test_file",
|
|
22
|
+
fileSize: "10MB",
|
|
23
|
+
downloadLink: "http://example.com",
|
|
24
|
+
palette: "default",
|
|
25
|
+
tooltip: "test_tooltip",
|
|
26
|
+
fileInfo: "test_info",
|
|
27
|
+
i18nKeys: {
|
|
28
|
+
downloadTitle: 'Download'
|
|
29
|
+
},
|
|
30
|
+
dataSelectorId: "test_selector",
|
|
31
|
+
isDisabled: false
|
|
32
|
+
}));
|
|
33
|
+
expect(asFragment()).toMatchSnapshot();
|
|
34
|
+
});
|
|
11
35
|
});
|
|
@@ -39,3 +39,108 @@ exports[`Attachment rendering the defult props 1`] = `
|
|
|
39
39
|
</div>
|
|
40
40
|
</DocumentFragment>
|
|
41
41
|
`;
|
|
42
|
+
|
|
43
|
+
exports[`Attachment with props rendering the defult props 1`] = `
|
|
44
|
+
<DocumentFragment>
|
|
45
|
+
<div
|
|
46
|
+
class="attachment attachmentHover palette_default medium inflex rowdir"
|
|
47
|
+
data-id="test_id"
|
|
48
|
+
data-selector-id="test_selector"
|
|
49
|
+
data-test-id="test_id"
|
|
50
|
+
data-title="test_tooltip"
|
|
51
|
+
tabindex="0"
|
|
52
|
+
>
|
|
53
|
+
<div
|
|
54
|
+
class="attachleft shrinkOff"
|
|
55
|
+
data-id="boxComponent"
|
|
56
|
+
data-selector-id="box"
|
|
57
|
+
data-test-id="boxComponent"
|
|
58
|
+
>
|
|
59
|
+
<div
|
|
60
|
+
class="flex cover coldir both"
|
|
61
|
+
data-id="containerComponent"
|
|
62
|
+
data-selector-id="container"
|
|
63
|
+
data-test-id="containerComponent"
|
|
64
|
+
/>
|
|
65
|
+
</div>
|
|
66
|
+
<div
|
|
67
|
+
class="attachright grow basis shrinkOff"
|
|
68
|
+
data-id="boxComponent"
|
|
69
|
+
data-selector-id="box"
|
|
70
|
+
data-test-id="boxComponent"
|
|
71
|
+
>
|
|
72
|
+
<div
|
|
73
|
+
class="flex cover coldir hCenter"
|
|
74
|
+
data-id="containerComponent"
|
|
75
|
+
data-selector-id="container"
|
|
76
|
+
data-test-id="containerComponent"
|
|
77
|
+
>
|
|
78
|
+
<div
|
|
79
|
+
class="atatchName shrinkOff"
|
|
80
|
+
data-id="test_id_filename"
|
|
81
|
+
data-selector-id="box"
|
|
82
|
+
data-test-id="test_id_filename"
|
|
83
|
+
data-title="test_file"
|
|
84
|
+
>
|
|
85
|
+
test_file
|
|
86
|
+
</div>
|
|
87
|
+
<div
|
|
88
|
+
class="footer shrinkOff"
|
|
89
|
+
data-id="boxComponent"
|
|
90
|
+
data-selector-id="box"
|
|
91
|
+
data-test-id="boxComponent"
|
|
92
|
+
>
|
|
93
|
+
<div
|
|
94
|
+
class="flex rowdir baseline"
|
|
95
|
+
data-id="containerComponent"
|
|
96
|
+
data-selector-id="container"
|
|
97
|
+
data-test-id="containerComponent"
|
|
98
|
+
>
|
|
99
|
+
<div
|
|
100
|
+
class="attachSize basisAuto shrinkOn"
|
|
101
|
+
data-id="test_id_filesize"
|
|
102
|
+
data-selector-id="box"
|
|
103
|
+
data-test-id="test_id_filesize"
|
|
104
|
+
data-title="10MB"
|
|
105
|
+
>
|
|
106
|
+
10MB
|
|
107
|
+
</div>
|
|
108
|
+
<div
|
|
109
|
+
class="dot shrinkOff"
|
|
110
|
+
data-id="boxComponent"
|
|
111
|
+
data-selector-id="box"
|
|
112
|
+
data-test-id="boxComponent"
|
|
113
|
+
/>
|
|
114
|
+
<div
|
|
115
|
+
class="attachSize basisAuto shrinkOn"
|
|
116
|
+
data-id="test_id_fileinfo"
|
|
117
|
+
data-selector-id="box"
|
|
118
|
+
data-test-id="test_id_fileinfo"
|
|
119
|
+
data-title="test_info"
|
|
120
|
+
>
|
|
121
|
+
test_info
|
|
122
|
+
</div>
|
|
123
|
+
</div>
|
|
124
|
+
</div>
|
|
125
|
+
</div>
|
|
126
|
+
</div>
|
|
127
|
+
<a
|
|
128
|
+
class="container attachDownload"
|
|
129
|
+
data-id="test_id_download"
|
|
130
|
+
data-test-id="test_id_download"
|
|
131
|
+
data-title="Download"
|
|
132
|
+
href="http://example.com"
|
|
133
|
+
rel="noopener noreferrer"
|
|
134
|
+
target="_self"
|
|
135
|
+
>
|
|
136
|
+
<i
|
|
137
|
+
aria-hidden="true"
|
|
138
|
+
class="zd_font_icons basic icon-download-new downIcon "
|
|
139
|
+
data-id="fontIcon"
|
|
140
|
+
data-selector-id="fontIcon"
|
|
141
|
+
data-test-id="fontIcon"
|
|
142
|
+
/>
|
|
143
|
+
</a>
|
|
144
|
+
</div>
|
|
145
|
+
</DocumentFragment>
|
|
146
|
+
`;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import { AttachmentViewer_defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { AttachmentViewer_propTypes } from "./props/propTypes";
|
|
4
|
-
import { Container, Box } from '@zohodesk/components/
|
|
4
|
+
import { Container, Box } from '@zohodesk/components/es/Layout';
|
|
5
5
|
import { Icon } from '@zohodesk/icons';
|
|
6
|
-
import Avatar from '@zohodesk/components/
|
|
7
|
-
import { ResponsiveReceiver } from '@zohodesk/components/
|
|
8
|
-
import Typography from '@zohodesk/components/
|
|
9
|
-
import { getUniqueId } from '@zohodesk/components/
|
|
6
|
+
import Avatar from '@zohodesk/components/es/Avatar/Avatar';
|
|
7
|
+
import { ResponsiveReceiver } from '@zohodesk/components/es/Responsive/CustomResponsive';
|
|
8
|
+
import Typography from '@zohodesk/components/es/Typography/Typography';
|
|
9
|
+
import { getUniqueId } from '@zohodesk/components/es/Provider/IdProvider';
|
|
10
10
|
import Button from '@zohodesk/components/es/Button/Button';
|
|
11
11
|
import AttachmentImage from "./AttachmentImage";
|
|
12
12
|
import Link from "../Link/Link";
|