@zohodesk/dot 1.0.0-temp-198.2 → 1.0.0-temp-197.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.cli/UnValidatedFiles.html +1 -1
- package/.cli/propValidation_report.html +1 -1
- package/README.md +12 -0
- package/es/ActionButton/ActionButton.js +3 -3
- package/es/ActionButton/ActionButton.module.css +192 -192
- package/es/ActionButton/__tests__/ActionButton.spec.js +1 -1
- package/es/AlphabeticList/AlphabeticList.js +3 -3
- package/es/AlphabeticList/AlphabeticList.module.css +57 -57
- package/es/AlphabeticList/__tests__/AlphabeticList.spec.js +1 -1
- package/es/Attachment/Attachment.js +4 -4
- package/es/Attachment/__tests__/Attachment.spec.js +1 -1
- package/es/AttachmentViewer/AttachmentImage.js +4 -4
- package/es/AttachmentViewer/AttachmentViewer.js +9 -9
- package/es/AttachmentViewer/AttachmentViewer.module.css +352 -352
- package/es/AttachmentViewer/__tests__/AttachmentImage.spec.js +1 -1
- package/es/AttachmentViewer/__tests__/AttachmentViewer.spec.js +1 -1
- package/es/ChannelIcon/ChannelIcon.js +5 -5
- package/es/ChannelIcon/ChannelIcon.module.css +225 -225
- package/es/ChannelIcon/__tests__/ChannelIcon.spec.js +1 -1
- package/es/Drawer/Drawer.js +6 -6
- package/es/Drawer/__tests__/Drawer.spec.js +1 -1
- package/es/Drawer/index.js +1 -1
- package/es/ExternalLink/ExternalLink.js +3 -3
- package/es/ExternalLink/__tests__/ExternalLink.spec.js +1 -1
- package/es/FlipCard/FlipCard.js +7 -7
- package/es/FlipCard/__tests__/FlipCard.spec.js +1 -1
- package/es/FormAction/FormAction.js +3 -3
- package/es/FormAction/FormAction.module.css +100 -100
- package/es/FormAction/__tests__/FormAction.spec.js +1 -1
- package/es/FreezeLayer/FreezeLayer.js +5 -5
- package/es/FreezeLayer/__tests__/FreezeLayer.spec.js +1 -1
- package/es/FreezeLayer/index.js +2 -2
- package/es/Hooks/Dragger/useDragger.js +5 -5
- package/es/Hooks/useFreezeLayer.js +1 -1
- package/es/IconButton/IconButton.js +3 -3
- package/es/IconButton/IconButton.module.css +22 -22
- package/es/IconButton/__tests__/IconButton.spec.js +1 -1
- package/es/Image/Image.js +3 -3
- package/es/Image/__tests__/Image.spec.js +1 -1
- package/es/ImportantNotes/ImportantNotes.js +3 -3
- package/es/ImportantNotes/__tests__/ImportantNotes.spec.js +1 -1
- package/es/Link/Link.js +4 -4
- package/es/Link/__tests__/Link.spec.js +1 -1
- package/es/Loader/Loader.js +1 -1
- package/es/Loader/__tests__/Loader.spec.js +1 -1
- package/es/Message/Message.js +4 -4
- package/es/Message/__tests__/Message.spec.js +1 -1
- package/es/Message/props/propTypes.js +1 -1
- package/es/MessageBanner/MessageBanner.js +4 -4
- package/es/MessageBanner/__tests__/MessageBanner.spec.js +1 -1
- package/es/NewStar/NewStar.js +3 -3
- package/es/NewStar/__tests__/NewStar.spec.js +1 -1
- package/es/PlusIcon/PlusIcon.js +4 -4
- package/es/PlusIcon/__tests__/PlusIcon.spec.js +1 -1
- package/es/Separator/Separator.js +3 -3
- package/es/Separator/__tests__/Separator.spec.js +1 -1
- package/es/TagWithIcon/TagWithIcon.js +3 -3
- package/es/TagWithIcon/TagWithIcon.module.css +66 -66
- package/es/TagWithIcon/__tests__/TagWithIcon.spec.js +1 -1
- package/es/ToastMessage/ToastMessage.js +4 -4
- package/es/ToastMessage/__tests__/ToastMessage.spec.js +1 -1
- package/es/Upload/Upload.js +4 -4
- package/es/Upload/__tests__/Upload.spec.js +1 -1
- package/es/actions/AutoClose.js +2 -2
- package/es/alert/AlertHeader/AlertHeader.js +5 -5
- package/es/alert/AlertHeader/__tests__/AlertHeader.spec.js +1 -1
- package/es/alert/AlertLookup/AlertLookup.js +7 -7
- package/es/alert/AlertLookup/__tests__/AlertLookup.spec.js +1 -1
- package/es/alert/index.js +2 -2
- package/es/avatar/AvatarClose/AvatarClose.js +3 -3
- package/es/avatar/AvatarClose/__tests__/AvatarClose.spec.js +1 -1
- package/es/avatar/AvatarCollision/AvatarCollision.js +3 -3
- package/es/avatar/AvatarCollision/__tests__/AvatarCollision.spec.js +1 -1
- package/es/avatar/AvatarIcon/AvatarIcon.js +3 -3
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
- package/es/avatar/AvatarIcon/__tests__/AvatarIcon.spec.js +1 -1
- package/es/avatar/AvatarStatus/AvatarStatus.js +3 -3
- package/es/avatar/AvatarStatus/__tests__/AvatarStatus.spec.js +1 -1
- package/es/avatar/AvatarThread/AvatarThread.js +3 -3
- package/es/avatar/AvatarThread/__tests__/AvatarThread.spec.js +1 -1
- package/es/avatar/AvatarUser/AvatarUser.js +4 -4
- package/es/avatar/AvatarUser/__tests__/AvatarUser.spec.js +1 -1
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -3
- package/es/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +1 -1
- package/es/avatar/index.js +7 -7
- package/es/common/dot_boxShadow.module.css +2 -0
- package/es/deprecated/FreezeLayer/FreezeLayer.js +4 -4
- package/es/deprecated/SelectDropdown/SelectDropdown.js +1 -1
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +4 -4
- package/es/dropdown/ToggleDropDown/__tests__/ToggleDropDown.spec.js +1 -1
- package/es/emptystate/CommonEmptyState/CommonEmptyState.js +4 -4
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +92 -92
- package/es/emptystate/CommonEmptyState/__tests__/CommonEmptyState.spec.js +1 -1
- package/es/emptystate/EditionPage/EditionPage.js +3 -3
- package/es/emptystate/EditionPage/__tests__/EditionPage.spec.js +1 -1
- package/es/errorstate/Inconvenience/Inconvenience.js +5 -5
- package/es/errorstate/Inconvenience/__tests__/Inconvenience.spec.js +1 -1
- package/es/errorstate/LinkText/LinkText.js +4 -4
- package/es/errorstate/LinkText/__tests__/LinkText.spec.js +1 -1
- package/es/errorstate/NoRequestFound/NoRequestFound.js +5 -5
- package/es/errorstate/NoRequestFound/__tests__/NoRequestFound.spec.js +1 -1
- package/es/errorstate/PermissionPlay/PermissionPlay.js +5 -5
- package/es/errorstate/PermissionPlay/__tests__/PermissionPlay.spec.js +1 -1
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +5 -5
- package/es/errorstate/RequestUrlNotFound/__tests__/RequestUrlNotFound.spec.js +1 -1
- package/es/errorstate/UnableToProcess/UnableToProcess.js +5 -5
- package/es/errorstate/UnableToProcess/__tests__/UnableToProcess.spec.js +1 -1
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +5 -5
- package/es/errorstate/UnauthorizedLogin/__tests__/UnauthorizedLogin.spec.js +1 -1
- package/es/errorstate/WillBack/WillBack.js +4 -4
- package/es/errorstate/WillBack/__tests__/WillBack.spec.js +1 -1
- package/es/errorstate/index.js +8 -8
- package/es/form/fields/CheckBoxField/CheckBoxField.js +5 -5
- package/es/form/fields/CheckBoxField/__tests__/CheckBoxField.spec.js +1 -1
- package/es/form/fields/CheckBoxField/props/defaultProps.js +1 -1
- package/es/form/fields/CheckBoxField/props/propTypes.js +1 -1
- package/es/form/fields/CurrencyField/CurrencyField.js +5 -5
- package/es/form/fields/CurrencyField/__tests__/CurrencyField.spec.js +1 -1
- package/es/form/fields/CurrencyField/props/defaultProps.js +1 -1
- package/es/form/fields/CurrencyField/props/propTypes.js +1 -1
- package/es/form/fields/DateField/DateField.js +5 -5
- package/es/form/fields/DateField/__tests__/DateField.spec.js +1 -1
- package/es/form/fields/DateField/props/defaultProps.js +1 -1
- package/es/form/fields/DateField/props/propTypes.js +1 -1
- package/es/form/fields/FieldContainer/FieldContainer.js +3 -3
- package/es/form/fields/FieldContainer/__tests__/FieldContainer.spec.js +1 -1
- package/es/form/fields/FieldContainer/props/defaultProps.js +1 -1
- package/es/form/fields/MultiSelectField/MultiSelectField.js +5 -5
- package/es/form/fields/MultiSelectField/__tests__/MultiSelectField.spec.js +1 -1
- package/es/form/fields/MultiSelectField/props/defaultProps.js +1 -1
- package/es/form/fields/MultiSelectField/props/propTypes.js +1 -1
- package/es/form/fields/PhoneField/PhoneField.js +6 -6
- package/es/form/fields/PhoneField/__tests__/PhoneField.spec.js +1 -1
- package/es/form/fields/RadioField/RadioField.js +4 -4
- package/es/form/fields/RadioField/__tests__/RadioField.spec.js +1 -1
- package/es/form/fields/SelectField/SelectField.js +5 -5
- package/es/form/fields/SelectField/__tests__/SelectField.spec.js +1 -1
- package/es/form/fields/SelectField/props/defaultProps.js +1 -1
- package/es/form/fields/SelectField/props/propTypes.js +1 -1
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +5 -5
- package/es/form/fields/TagsMultiSelect/__tests__/TagsMultiSelect.spec.js +1 -1
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +7 -7
- package/es/form/fields/TagsMultiSelectField/__tests__/TagsMultiSelectField.spec.js +1 -1
- package/es/form/fields/TagsMultiSelectField/props/defaultProps.js +1 -1
- package/es/form/fields/TagsMultiSelectField/props/propTypes.js +1 -1
- package/es/form/fields/TextBoxField/TextBoxField.js +5 -5
- package/es/form/fields/TextBoxField/__tests__/TextBoxField.spec.js +1 -1
- package/es/form/fields/TextBoxField/props/defaultProps.js +1 -1
- package/es/form/fields/TextBoxField/props/propTypes.js +1 -1
- package/es/form/fields/TextEditor/TextEditor.js +68 -68
- package/es/form/fields/TextEditor/TextEditor.module.css +73 -61
- package/es/form/fields/TextEditor/__tests__/TextEditor.spec.js +1 -1
- package/es/form/fields/TextEditor/props/defaultProps.js +4 -1
- package/es/form/fields/TextEditor/props/propTypes.js +10 -2
- package/es/form/fields/TextEditorField/TextEditorField.js +6 -6
- package/es/form/fields/TextEditorField/__tests__/TextEditorField.spec.js +1 -1
- package/es/form/fields/TextEditorField/props/defaultProps.js +1 -1
- package/es/form/fields/TextEditorField/props/propTypes.js +1 -1
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +5 -5
- package/es/form/fields/TextEditorWrapper/__tests__/TextEditorWrapper.spec.js +1 -1
- package/es/form/fields/TextareaField/TextareaField.js +5 -5
- package/es/form/fields/TextareaField/__tests__/TextareaField.spec.js +1 -1
- package/es/form/fields/TextareaField/props/defaultProps.js +1 -1
- package/es/form/fields/TextareaField/props/propTypes.js +1 -1
- package/es/form/fields/ValidationMessage/ValidationMessage.js +3 -3
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
- package/es/form/fields/ValidationMessage/__tests__/ValidationMessage.spec.js +1 -1
- package/es/form/fields/index.js +16 -16
- package/es/form/layout/Field/Field.js +3 -3
- package/es/form/layout/Field/__tests__/Field.spec.js +1 -1
- package/es/form/layout/Section/Section.js +2 -2
- package/es/form/layout/Section/__tests__/Section.spec.js +1 -1
- package/es/form/layout/index.js +2 -2
- package/es/index.js +39 -39
- package/es/layout/SetupDetailLayout/SetupDetailLayout.js +3 -3
- package/es/layout/SetupDetailLayout/__tests__/SetupDetailLayout.spec.js +1 -1
- package/es/layout/SetupDetailLayout/index.js +4 -4
- package/es/layout/SubtabLayout/SubtabLayout.js +4 -4
- package/es/layout/SubtabLayout/SubtabLayout.module.css +164 -164
- package/es/layout/SubtabLayout/__tests__/SubtabLayout.spec.js +1 -1
- package/es/layout/SubtabLayout/index.js +4 -4
- package/es/list/AvatarFlip/AvatarFlip.js +4 -4
- package/es/list/AvatarFlip/__tests__/AvatarFlip.spec.js +1 -1
- package/es/list/BluePrintStatus/BluePrintStatus.js +2 -2
- package/es/list/BluePrintStatus/__tests__/BluePrintStatus.spec.js +1 -1
- package/es/list/Comment/Comment.js +3 -3
- package/es/list/Comment/Comment.module.css +29 -29
- package/es/list/Comment/__tests__/Comment.spec.js +1 -1
- package/es/list/DepartmentDropDown/DepartmentDropDown.js +5 -5
- package/es/list/DepartmentDropDown/__tests__/DepartmentDropDown.spec.js +1 -1
- package/es/list/Dot/Dot.js +3 -3
- package/es/list/Dot/Dot.module.css +15 -15
- package/es/list/Dot/__tests__/Dot.spec.js +1 -1
- package/es/list/DotNew/DotNew.js +3 -3
- package/es/list/DotNew/__tests__/DotNew.spec.js +1 -1
- package/es/list/GridStencils/GridStencils.js +2 -2
- package/es/list/GridStencils/__tests__/GridStencils.spec.js +1 -1
- package/es/list/Icons/AddNewIcon.js +2 -2
- package/es/list/Icons/CompleteIcon.js +2 -2
- package/es/list/Icons/DeleteIcon.js +2 -2
- package/es/list/Icons/EditIcon.js +2 -2
- package/es/list/Icons/FloatingIcons.js +3 -3
- package/es/list/Icons/ReadUnreadIcon.js +3 -3
- package/es/list/Icons/SmartIcon.js +2 -2
- package/es/list/Icons/__tests__/AddNewIcon.spec.js +1 -1
- package/es/list/Icons/__tests__/CompleteIcon.spec.js +1 -1
- package/es/list/Icons/__tests__/DeleteIcon.spec.js +1 -1
- package/es/list/Icons/__tests__/EditIcon.spec.js +1 -1
- package/es/list/Icons/__tests__/FloatingIcons.spec.js +1 -1
- package/es/list/Icons/__tests__/ReadUnreadIcon.spec.js +1 -1
- package/es/list/Icons/__tests__/SmartIcon.spec.js +1 -1
- package/es/list/Icons/index.js +7 -7
- package/es/list/ListLayout/ListLayout.js +3 -3
- package/es/list/ListLayout/ListLayout.module.css +79 -79
- package/es/list/ListLayout/__tests__/ListLayout.spec.js +1 -1
- package/es/list/ListStencils/ListStencils.js +3 -3
- package/es/list/ListStencils/__tests__/ListStencils.spec.js +1 -1
- package/es/list/SecondaryText/AccountName.js +4 -4
- package/es/list/SecondaryText/ContactName.js +5 -5
- package/es/list/SecondaryText/DepartmentText.js +2 -2
- package/es/list/SecondaryText/Email.js +4 -4
- package/es/list/SecondaryText/HappinessRating.js +2 -2
- package/es/list/SecondaryText/PhoneNumber.js +4 -4
- package/es/list/SecondaryText/PriorityText.js +3 -3
- package/es/list/SecondaryText/SecondaryText.js +3 -3
- package/es/list/SecondaryText/StatusText.js +3 -3
- package/es/list/SecondaryText/TicketId.js +4 -4
- package/es/list/SecondaryText/Website.js +4 -4
- package/es/list/SecondaryText/__tests__/AccountName.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/ContactName.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/DepartmentText.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/Email.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/HappinessRating.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/PhoneNumber.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/PriorityText.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/SecondaryText.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/StatusText.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/TicketId.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/Website.spec.js +1 -1
- package/es/list/SecondaryText/index.js +11 -11
- package/es/list/SecondryPanel/SecondryPanel.js +4 -4
- package/es/list/SecondryPanel/__tests__/SecondryPanel.spec.js +1 -1
- package/es/list/SentimentStatus/SentimentStatus.js +2 -2
- package/es/list/SentimentStatus/__tests__/SentimentStatus.spec.js +1 -1
- package/es/list/Subject/Subject.js +4 -4
- package/es/list/Subject/Subject.module.css +34 -34
- package/es/list/Subject/__tests__/Subject.spec.js +1 -1
- package/es/list/TagNew/TagNew.js +3 -3
- package/es/list/TagNew/__tests__/TagNew.spec.js +1 -1
- package/es/list/Thread/Thread.js +3 -3
- package/es/list/Thread/Thread.module.css +42 -42
- package/es/list/Thread/__tests__/Thread.spec.js +1 -1
- package/es/list/index.js +16 -16
- package/es/list/status/StatusDropdown/StatusDropdown.js +5 -5
- package/es/list/status/StatusDropdown/__tests__/StatusDropdown.spec.js +1 -1
- package/es/list/status/StatusListItem/StatusListItem.js +3 -3
- package/es/list/status/StatusListItem/__tests__/StatusListItem.spec.js +1 -1
- package/es/list/status/index.js +2 -2
- package/es/lookup/EmptyPage/EmptyPage.js +3 -3
- package/es/lookup/EmptyPage/__tests__/EmptyPage.spec.js +1 -1
- package/es/lookup/Lookup/Lookup.js +4 -4
- package/es/lookup/Lookup/__tests__/Lookup.spec.js +1 -1
- package/es/lookup/Section/Section.js +2 -2
- package/es/lookup/Section/__tests__/Section.spec.js +1 -1
- package/es/lookup/header/Close/Close.js +3 -3
- package/es/lookup/header/Close/__tests__/Close.spec.js +1 -1
- package/es/lookup/header/ModuleHeader/ModuleHeader.js +8 -8
- package/es/lookup/header/ModuleHeader/__tests__/ModuleHeader.spec.js +1 -1
- package/es/lookup/header/Search/Search.js +4 -4
- package/es/lookup/header/Search/__tests__/Search.spec.js +1 -1
- package/es/lookup/header/TicketHeader/TicketHeader.js +10 -10
- package/es/lookup/header/TicketHeader/__tests__/TicketHeader.spec.js +1 -1
- package/es/lookup/header/Title/Title.js +3 -3
- package/es/lookup/header/Title/__tests__/Titles.spec.js +1 -1
- package/es/lookup/header/ViewDropDown/ViewDropDown.js +3 -3
- package/es/lookup/header/ViewDropDown/__test__/ViewDropDown.spec.js +1 -1
- package/es/lookup/header/index.js +5 -5
- package/es/lookup/index.js +4 -4
- package/es/setup/header/Button/Button.js +3 -3
- package/es/setup/header/Button/__tests__/Button.spec.js +1 -1
- package/es/setup/header/Link/Link.js +4 -4
- package/es/setup/header/Link/__tests__/Link.spec.js +1 -1
- package/es/setup/header/Search/Search.js +3 -3
- package/es/setup/header/Search/__tests__/Search.spec.js +1 -1
- package/es/setup/header/Views/Views.js +3 -3
- package/es/setup/header/Views/__tests__/Views.spec.js +1 -1
- package/es/setup/header/index.js +4 -4
- package/es/setup/helptips/Description/Description.js +2 -2
- package/es/setup/helptips/Description/__tests__/Description.spec.js +1 -1
- package/es/setup/helptips/Link/Link.js +3 -3
- package/es/setup/helptips/Link/__tests__/Link.spec.js +1 -1
- package/es/setup/helptips/ListGroup/ListGroup.js +2 -2
- package/es/setup/helptips/ListGroup/__tests__/ListGroup.spec.js +1 -1
- package/es/setup/helptips/Title/Title.js +2 -2
- package/es/setup/helptips/Title/__tests__/Title.spec.js +1 -1
- package/es/setup/helptips/index.js +4 -4
- package/es/setup/index.js +3 -3
- package/es/setup/table/Table/Table.js +2 -2
- package/es/setup/table/Table/__tests__/Table.spec.js +1 -1
- package/es/setup/table/TableBody/TableBody.js +2 -2
- package/es/setup/table/TableBody/__tests__/TableBody.spec.js +1 -1
- package/es/setup/table/TableData/TableData.js +3 -3
- package/es/setup/table/TableData/__tests__/TableData.spec.js +1 -1
- package/es/setup/table/TableHead/TableHead.js +3 -3
- package/es/setup/table/TableHead/__tests__/TableHead.spec.js +1 -1
- package/es/setup/table/TableRow/TableRow.js +3 -3
- package/es/setup/table/TableRow/__tests__/TableRow.spec.js +1 -1
- package/es/setup/table/Text/Text.js +4 -4
- package/es/setup/table/Text/__tests__/Text.spec.js +1 -1
- package/es/setup/table/index.js +5 -5
- package/es/svg/PlusIcon.js +2 -2
- package/es/svg/SnippetIcon.js +2 -2
- package/es/svg/TemplateIcon.js +2 -2
- package/es/svg/__tests__/PlusIcon.spec.js +1 -1
- package/es/svg/__tests__/SnippetIcon.spec.js +1 -1
- package/es/svg/__tests__/TemplateIcon.spec.js +1 -1
- package/es/svg/index.js +3 -3
- package/es/utils/editorUtils.js +6 -6
- package/es/v1/ActionButton/ActionButton.js +3 -3
- package/es/v1/AlphabeticList/AlphabeticList.js +3 -3
- package/es/v1/Attachment/Attachment.js +4 -4
- package/es/v1/AttachmentViewer/AttachmentImage.js +4 -4
- package/es/v1/AttachmentViewer/AttachmentViewer.js +9 -9
- package/es/v1/ChannelIcon/ChannelIcon.js +5 -5
- package/es/v1/Drawer/Drawer.js +6 -6
- package/es/v1/ExternalLink/ExternalLink.js +3 -3
- package/es/v1/FlipCard/FlipCard.js +7 -7
- package/es/v1/FormAction/FormAction.js +3 -3
- package/es/v1/FreezeLayer/FreezeLayer.js +5 -5
- package/es/v1/GlobalNotification/GlobalNotification.js +6 -6
- package/es/v1/IconButton/IconButton.js +3 -3
- package/es/v1/Image/Image.js +3 -3
- package/es/v1/ImportantNotes/ImportantNotes.js +3 -3
- package/es/v1/Link/Link.js +4 -4
- package/es/v1/Loader/Loader.js +1 -1
- package/es/v1/Message/Message.js +4 -4
- package/es/v1/Message/props/propTypes.js +1 -1
- package/es/v1/MessageBanner/MessageBanner.js +4 -4
- package/es/v1/NewStar/NewStar.js +3 -3
- package/es/v1/PlusIcon/PlusIcon.js +4 -4
- package/es/v1/Separator/Separator.js +3 -3
- package/es/v1/TagWithIcon/TagWithIcon.js +3 -3
- package/es/v1/ToastMessage/ToastMessage.js +4 -4
- package/es/v1/Upload/Upload.js +4 -4
- package/es/v1/actions/AutoClose.js +2 -2
- package/es/v1/alert/AlertClose/AlertClose.js +2 -2
- package/es/v1/alert/AlertHeader/AlertHeader.js +7 -7
- package/es/v1/alert/AlertLookup/AlertLookup.js +7 -7
- package/es/v1/alert/alertIcons/AlarmAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/AlertIcons.js +9 -9
- package/es/v1/alert/alertIcons/DangerAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/ErrorAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/InfoAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/NotificationAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/SuccessAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/WarningAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/index.js +8 -8
- package/es/v1/alert/index.js +2 -2
- package/es/v1/avatar/AvatarClose/AvatarClose.js +3 -3
- package/es/v1/avatar/AvatarCollision/AvatarCollision.js +3 -3
- package/es/v1/avatar/AvatarIcon/AvatarIcon.js +3 -3
- package/es/v1/avatar/AvatarStatus/AvatarStatus.js +3 -3
- package/es/v1/avatar/AvatarThread/AvatarThread.js +3 -3
- package/es/v1/avatar/AvatarUser/AvatarUser.js +4 -4
- package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -3
- package/es/v1/avatar/index.js +7 -7
- package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +4 -4
- package/es/v1/emptystate/CommonEmptyState/CommonEmptyState.js +4 -4
- package/es/v1/emptystate/EditionPage/EditionPage.js +3 -3
- package/es/v1/errorstate/Inconvenience/Inconvenience.js +4 -4
- package/es/v1/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +4 -4
- package/es/v1/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +4 -4
- package/es/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +4 -4
- package/es/v1/errorstate/UrlNotFound/UrlNotFound.js +4 -4
- package/es/v1/errorstate/WillBeRightBack/WillBeRightBack.js +4 -4
- package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +5 -5
- package/es/v1/form/fields/CheckBoxField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/CheckBoxField/props/propTypes.js +1 -1
- package/es/v1/form/fields/CurrencyField/CurrencyField.js +5 -5
- package/es/v1/form/fields/CurrencyField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/CurrencyField/props/propTypes.js +1 -1
- package/es/v1/form/fields/DateField/DateField.js +5 -5
- package/es/v1/form/fields/DateField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/DateField/props/propTypes.js +1 -1
- package/es/v1/form/fields/FieldContainer/FieldContainer.js +3 -3
- package/es/v1/form/fields/FieldContainer/props/defaultProps.js +1 -1
- package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +5 -5
- package/es/v1/form/fields/MultiSelectField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/MultiSelectField/props/propTypes.js +1 -1
- package/es/v1/form/fields/PhoneField/PhoneField.js +6 -6
- package/es/v1/form/fields/RadioField/RadioField.js +5 -5
- package/es/v1/form/fields/SelectField/SelectField.js +5 -5
- package/es/v1/form/fields/SelectField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/SelectField/props/propTypes.js +1 -1
- package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +5 -5
- package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +7 -7
- package/es/v1/form/fields/TagsMultiSelectField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/TagsMultiSelectField/props/propTypes.js +1 -1
- package/es/v1/form/fields/TextBoxField/TextBoxField.js +5 -5
- package/es/v1/form/fields/TextBoxField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/TextBoxField/props/propTypes.js +1 -1
- package/es/v1/form/fields/TextEditor/TextEditor.js +67 -68
- package/es/v1/form/fields/TextEditor/props/defaultProps.js +4 -1
- package/es/v1/form/fields/TextEditor/props/propTypes.js +10 -2
- package/es/v1/form/fields/TextEditorField/TextEditorField.js +6 -6
- package/es/v1/form/fields/TextEditorField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/TextEditorField/props/propTypes.js +1 -1
- package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +5 -5
- package/es/v1/form/fields/TextareaField/TextareaField.js +5 -5
- package/es/v1/form/fields/TextareaField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/TextareaField/props/propTypes.js +1 -1
- package/es/v1/form/fields/ValidationMessage/ValidationMessage.js +3 -3
- package/es/v1/form/fields/index.js +16 -16
- package/es/v1/form/layout/Field/Field.js +3 -3
- package/es/v1/form/layout/Section/Section.js +2 -2
- package/es/v1/form/layout/index.js +2 -2
- package/es/v1/layout/SetupDetailLayout/SetupDetailLayout.js +3 -3
- package/es/v1/layout/SetupDetailLayout/index.js +4 -4
- package/es/v1/layout/SubtabLayout/SubtabLayout.js +4 -4
- package/es/v1/layout/SubtabLayout/index.js +4 -4
- package/es/v1/list/AvatarFlip/AvatarFlip.js +4 -4
- package/es/v1/list/BluePrintStatus/BluePrintStatus.js +2 -2
- package/es/v1/list/Comment/Comment.js +3 -3
- package/es/v1/list/DepartmentDropDown/DepartmentDropDown.js +5 -5
- package/es/v1/list/Dot/Dot.js +3 -3
- package/es/v1/list/DotNew/DotNew.js +3 -3
- package/es/v1/list/GridStencils/GridStencils.js +2 -2
- package/es/v1/list/Icons/AddNewIcon.js +2 -2
- package/es/v1/list/Icons/CompleteIcon.js +2 -2
- package/es/v1/list/Icons/DeleteIcon.js +2 -2
- package/es/v1/list/Icons/EditIcon.js +2 -2
- package/es/v1/list/Icons/FloatingIcons.js +3 -3
- package/es/v1/list/Icons/ReadUnreadIcon.js +3 -3
- package/es/v1/list/Icons/SmartIcon.js +2 -2
- package/es/v1/list/Icons/index.js +7 -7
- package/es/v1/list/ListLayout/ListLayout.js +3 -3
- package/es/v1/list/ListStencils/ListStencils.js +3 -3
- package/es/v1/list/SecondaryText/AccountName.js +4 -4
- package/es/v1/list/SecondaryText/ContactName.js +5 -5
- package/es/v1/list/SecondaryText/DepartmentText.js +2 -2
- package/es/v1/list/SecondaryText/Email.js +4 -4
- package/es/v1/list/SecondaryText/HappinessRating.js +2 -2
- package/es/v1/list/SecondaryText/PhoneNumber.js +4 -4
- package/es/v1/list/SecondaryText/PriorityText.js +3 -3
- package/es/v1/list/SecondaryText/SecondaryText.js +3 -3
- package/es/v1/list/SecondaryText/StatusText.js +3 -3
- package/es/v1/list/SecondaryText/TicketId.js +4 -4
- package/es/v1/list/SecondaryText/Website.js +4 -4
- package/es/v1/list/SecondaryText/index.js +11 -11
- package/es/v1/list/SecondryPanel/SecondryPanel.js +4 -4
- package/es/v1/list/SentimentStatus/SentimentStatus.js +2 -2
- package/es/v1/list/Subject/Subject.js +4 -4
- package/es/v1/list/TagNew/TagNew.js +3 -3
- package/es/v1/list/Thread/Thread.js +3 -3
- package/es/v1/list/index.js +16 -16
- package/es/v1/list/status/StatusDropdown/StatusDropdown.js +5 -5
- package/es/v1/list/status/StatusListItem/StatusListItem.js +3 -3
- package/es/v1/list/status/index.js +2 -2
- package/es/v1/lookup/EmptyPage/EmptyPage.js +3 -3
- package/es/v1/lookup/Lookup/Lookup.js +4 -4
- package/es/v1/lookup/Section/Section.js +2 -2
- package/es/v1/lookup/header/Close/Close.js +3 -3
- package/es/v1/lookup/header/ModuleHeader/ModuleHeader.js +8 -8
- package/es/v1/lookup/header/Search/Search.js +4 -4
- package/es/v1/lookup/header/TicketHeader/TicketHeader.js +10 -10
- package/es/v1/lookup/header/Title/Title.js +3 -3
- package/es/v1/lookup/header/ViewDropDown/ViewDropDown.js +3 -3
- package/es/v1/lookup/header/index.js +5 -5
- package/es/v1/notification/DesktopNotification/DesktopNotification.js +6 -6
- package/es/v1/notification/DesktopNotification/props/defaultProps.js +1 -1
- package/es/v1/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +5 -5
- package/es/v1/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
- package/es/v1/setup/header/Button/Button.js +3 -3
- package/es/v1/setup/header/Link/Link.js +4 -4
- package/es/v1/setup/header/Search/Search.js +3 -3
- package/es/v1/setup/header/Views/Views.js +3 -3
- package/es/v1/setup/header/index.js +4 -4
- package/es/v1/setup/helptips/Description/Description.js +2 -2
- package/es/v1/setup/helptips/Link/Link.js +3 -3
- package/es/v1/setup/helptips/ListGroup/ListGroup.js +2 -2
- package/es/v1/setup/helptips/Title/Title.js +2 -2
- package/es/v1/setup/helptips/index.js +4 -4
- package/es/v1/setup/index.js +3 -3
- package/es/v1/setup/table/Table/Table.js +2 -2
- package/es/v1/setup/table/TableBody/TableBody.js +2 -2
- package/es/v1/setup/table/TableData/TableData.js +3 -3
- package/es/v1/setup/table/TableHead/TableHead.js +3 -3
- package/es/v1/setup/table/TableRow/TableRow.js +3 -3
- package/es/v1/setup/table/Text/Text.js +4 -4
- package/es/v1/setup/table/index.js +5 -5
- package/es/v1/svg/PlusIcon.js +2 -2
- package/es/v1/svg/SnippetIcon.js +2 -2
- package/es/v1/svg/TemplateIcon.js +2 -2
- package/es/v1/svg/index.js +3 -3
- package/es/v1/utils/editorUtils.js +6 -6
- package/es/version2/AlertClose/AlertClose.js +2 -2
- package/es/version2/AlertClose/__tests__/AlertClose.spec.js +1 -1
- package/es/version2/GlobalNotification/GlobalNotification.js +6 -6
- package/es/version2/GlobalNotification/GlobalNotification.module.css +177 -177
- package/es/version2/GlobalNotification/__tests__/GlobalNotification.spec.js +1 -1
- package/es/version2/alertIcons/AlarmAlertIcon.js +3 -3
- package/es/version2/alertIcons/AlertIcons.js +9 -9
- package/es/version2/alertIcons/DangerAlertIcon.js +3 -3
- package/es/version2/alertIcons/ErrorAlertIcon.js +3 -3
- package/es/version2/alertIcons/InfoAlertIcon.js +3 -3
- package/es/version2/alertIcons/NotificationAlertIcon.js +3 -3
- package/es/version2/alertIcons/SuccessAlertIcon.js +3 -3
- package/es/version2/alertIcons/WarningAlertIcon.js +3 -3
- package/es/version2/alertIcons/__tests__/AlarmAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/AlertIcons.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/DangerAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/ErrorAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/InfoAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/NotificationAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/SuccessAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/WarningAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/index.js +8 -8
- package/es/version2/errorstate/Inconvenience/Inconvenience.js +4 -4
- package/es/version2/errorstate/Inconvenience/__tests__/Inconvenience.spec.js +1 -1
- package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +4 -4
- package/es/version2/errorstate/OopsSomethingMiss/__tests__/OopsSomethingMiss.spec.js +1 -1
- package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +4 -4
- package/es/version2/errorstate/UnableToProcessRequest/__tests__/UnableToProcessRequest.spec.js +1 -1
- package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +4 -4
- package/es/version2/errorstate/UnauthorizedLogin/__tests__/UnauthorizedLogin.spec.js +1 -1
- package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +4 -4
- package/es/version2/errorstate/UrlNotFound/__tests__/UrlNotFound.spec.js +1 -1
- package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +4 -4
- package/es/version2/errorstate/WillBeRightBack/__tests__/WillBeRightBack.spec.js +1 -1
- package/es/version2/errorstate/index.js +6 -6
- package/es/version2/index.js +8 -8
- package/es/version2/lookup/AlertHeader/AlertHeader.js +7 -7
- package/es/version2/lookup/AlertHeader/__tests__/AlertHeader.spec.js +1 -1
- package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +87 -87
- package/es/version2/lookup/AlertLookup/AlertLookup.js +7 -7
- package/es/version2/lookup/AlertLookup/__tests__/AlertLookup.spec.js +1 -1
- package/es/version2/lookup/index.js +2 -2
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +6 -6
- package/es/version2/notification/DesktopNotification/__tests__/DesktopNotification.spec.js +1 -1
- package/es/version2/notification/DesktopNotification/props/defaultProps.js +1 -1
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +5 -5
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +132 -132
- package/es/version2/notification/DesktopNotificationHeader/__tests__/DesktopNotificationHeader.spec.js +1 -1
- package/es/version2/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
- package/es/version2/notification/index.js +3 -3
- package/lib/ActionButton/ActionButton.module.css +192 -192
- package/lib/AlphabeticList/AlphabeticList.module.css +57 -57
- package/lib/AttachmentViewer/AttachmentViewer.module.css +352 -352
- package/lib/ChannelIcon/ChannelIcon.module.css +225 -225
- package/lib/FormAction/FormAction.module.css +100 -100
- package/lib/IconButton/IconButton.module.css +22 -22
- package/lib/TagWithIcon/TagWithIcon.module.css +66 -66
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
- package/lib/common/dot_boxShadow.module.css +2 -0
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +92 -92
- package/lib/form/fields/TextEditor/TextEditor.js +74 -74
- package/lib/form/fields/TextEditor/TextEditor.module.css +73 -61
- package/lib/form/fields/TextEditor/props/defaultProps.js +4 -1
- package/lib/form/fields/TextEditor/props/propTypes.js +10 -2
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +164 -164
- package/lib/list/Comment/Comment.module.css +29 -29
- package/lib/list/Dot/Dot.module.css +15 -15
- package/lib/list/ListLayout/ListLayout.module.css +79 -79
- package/lib/list/Subject/Subject.module.css +34 -34
- package/lib/list/Thread/Thread.module.css +42 -42
- package/lib/utils/editorUtils.js +6 -5
- package/lib/v1/form/fields/TextEditor/TextEditor.js +73 -74
- package/lib/v1/form/fields/TextEditor/props/defaultProps.js +4 -1
- package/lib/v1/form/fields/TextEditor/props/propTypes.js +10 -2
- package/lib/v1/utils/editorUtils.js +6 -5
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +177 -177
- package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +87 -87
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +132 -132
- package/package.json +4 -4
- package/result.json +1 -1
- package/unittest/index.html +38 -2
- package/es/DotProvider/DotProvider.js +0 -60
- package/es/DotProvider/hooks/useDotProvider.js +0 -55
- package/es/DotProvider/hooks/useDownloadAssetsAndSetAttr.js +0 -97
- package/es/DotProvider/libraryChunks/themes/component/blue/Blue_Dark_Component.js +0 -3
- package/es/DotProvider/libraryChunks/themes/component/blue/Blue_Light_Component.js +0 -3
- package/es/DotProvider/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +0 -3
- package/es/DotProvider/libraryChunks/themes/component/green/Green_Dark_Component.js +0 -3
- package/es/DotProvider/libraryChunks/themes/component/green/Green_Light_Component.js +0 -3
- package/es/DotProvider/libraryChunks/themes/component/green/Green_PureDark_Component.js +0 -3
- package/es/DotProvider/libraryChunks/themes/component/orange/Orange_Dark_Component.js +0 -3
- package/es/DotProvider/libraryChunks/themes/component/orange/Orange_Light_Component.js +0 -3
- package/es/DotProvider/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +0 -3
- package/es/DotProvider/libraryChunks/themes/component/red/Red_Dark_Component.js +0 -3
- package/es/DotProvider/libraryChunks/themes/component/red/Red_Light_Component.js +0 -3
- package/es/DotProvider/libraryChunks/themes/component/red/Red_PureDark_Component.js +0 -3
- package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +0 -3
- package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +0 -3
- package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +0 -3
- package/es/DotProvider/libraryChunks/themes/dot/blue/Blue_Dark_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/blue/Blue_Light_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/blue/Blue_PureDark_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/green/Green_Dark_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/green/Green_Light_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/green/Green_PureDark_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/orange/Orange_Dark_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/orange/Orange_Light_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/orange/Orange_PureDark_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/red/Red_Dark_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/red/Red_Light_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/red/Red_PureDark_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Dark_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Light_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/svg/blue/Blue_Dark_SVG.js +0 -1
- package/es/DotProvider/libraryChunks/themes/svg/blue/Blue_Light_SVG.js +0 -1
- package/es/DotProvider/libraryChunks/themes/svg/blue/Blue_PureDark_SVG.js +0 -1
- package/es/DotProvider/libraryChunks/themes/svg/green/Green_Dark_SVG.js +0 -1
- package/es/DotProvider/libraryChunks/themes/svg/green/Green_Light_SVG.js +0 -1
- package/es/DotProvider/libraryChunks/themes/svg/green/Green_PureDark_SVG.js +0 -1
- package/es/DotProvider/libraryChunks/themes/svg/orange/Orange_Dark_SVG.js +0 -1
- package/es/DotProvider/libraryChunks/themes/svg/orange/Orange_Light_SVG.js +0 -1
- package/es/DotProvider/libraryChunks/themes/svg/orange/Orange_PureDark_SVG.js +0 -1
- package/es/DotProvider/libraryChunks/themes/svg/red/Red_Dark_SVG.js +0 -1
- package/es/DotProvider/libraryChunks/themes/svg/red/Red_Light_SVG.js +0 -1
- package/es/DotProvider/libraryChunks/themes/svg/red/Red_PureDark_SVG.js +0 -1
- package/es/DotProvider/libraryChunks/themes/svg/yellow/Yellow_Dark_SVG.js +0 -1
- package/es/DotProvider/libraryChunks/themes/svg/yellow/Yellow_Light_SVG.js +0 -1
- package/es/DotProvider/libraryChunks/themes/svg/yellow/Yellow_PureDark_SVG.js +0 -1
- package/es/DotProvider/props/defaultProps.js +0 -11
- package/es/DotProvider/props/propTypes.js +0 -16
- package/es/DotProvider/utils/assetPromiseHandlers/fontSizeAssetPromise.js +0 -4
- package/es/DotProvider/utils/assetPromiseHandlers/themeAppearanceAssetPromise.js +0 -28
- package/es/DotProvider/utils/assetPromiseHandlers/themeColorAssetPromise.js +0 -29
- package/es/DotProvider/utils/assetPromiseHandlers/zoomSizeAssetPromise.js +0 -4
- package/es/DotProvider/utils/constants.js +0 -14
- package/es/DotProvider/utils/errorValidation.js +0 -17
- package/es/DotProvider/utils/getAssetsImportPromises.js +0 -17
- package/es/DotProvider/utils/sizeAssetsConfig.js +0 -12
- package/es/DotProvider/utils/themeAppearanceAssetsConfig.js +0 -47
- package/es/DotProvider/utils/themeColorAssetsConfig.js +0 -221
- package/lib/DotProvider/DotProvider.js +0 -88
- package/lib/DotProvider/hooks/useDotProvider.js +0 -83
- package/lib/DotProvider/hooks/useDownloadAssetsAndSetAttr.js +0 -119
- package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_Dark_Component.js +0 -7
- package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_Light_Component.js +0 -7
- package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +0 -7
- package/lib/DotProvider/libraryChunks/themes/component/green/Green_Dark_Component.js +0 -7
- package/lib/DotProvider/libraryChunks/themes/component/green/Green_Light_Component.js +0 -7
- package/lib/DotProvider/libraryChunks/themes/component/green/Green_PureDark_Component.js +0 -7
- package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_Dark_Component.js +0 -7
- package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_Light_Component.js +0 -7
- package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +0 -7
- package/lib/DotProvider/libraryChunks/themes/component/red/Red_Dark_Component.js +0 -7
- package/lib/DotProvider/libraryChunks/themes/component/red/Red_Light_Component.js +0 -7
- package/lib/DotProvider/libraryChunks/themes/component/red/Red_PureDark_Component.js +0 -7
- package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +0 -7
- package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +0 -7
- package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +0 -7
- package/lib/DotProvider/libraryChunks/themes/dot/blue/Blue_Dark_Dot.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/dot/blue/Blue_Light_Dot.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/dot/blue/Blue_PureDark_Dot.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/dot/green/Green_Dark_Dot.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/dot/green/Green_Light_Dot.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/dot/green/Green_PureDark_Dot.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/dot/orange/Orange_Dark_Dot.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/dot/orange/Orange_Light_Dot.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/dot/orange/Orange_PureDark_Dot.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/dot/red/Red_Dark_Dot.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/dot/red/Red_Light_Dot.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/dot/red/Red_PureDark_Dot.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Dark_Dot.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Light_Dot.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/svg/blue/Blue_Dark_SVG.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/svg/blue/Blue_Light_SVG.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/svg/blue/Blue_PureDark_SVG.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/svg/green/Green_Dark_SVG.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/svg/green/Green_Light_SVG.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/svg/green/Green_PureDark_SVG.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/svg/orange/Orange_Dark_SVG.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/svg/orange/Orange_Light_SVG.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/svg/orange/Orange_PureDark_SVG.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/svg/red/Red_Dark_SVG.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/svg/red/Red_Light_SVG.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/svg/red/Red_PureDark_SVG.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/svg/yellow/Yellow_Dark_SVG.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/svg/yellow/Yellow_Light_SVG.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/svg/yellow/Yellow_PureDark_SVG.js +0 -3
- package/lib/DotProvider/props/defaultProps.js +0 -20
- package/lib/DotProvider/props/propTypes.js +0 -28
- package/lib/DotProvider/utils/assetPromiseHandlers/fontSizeAssetPromise.js +0 -12
- package/lib/DotProvider/utils/assetPromiseHandlers/themeAppearanceAssetPromise.js +0 -39
- package/lib/DotProvider/utils/assetPromiseHandlers/themeColorAssetPromise.js +0 -40
- package/lib/DotProvider/utils/assetPromiseHandlers/zoomSizeAssetPromise.js +0 -12
- package/lib/DotProvider/utils/constants.js +0 -34
- package/lib/DotProvider/utils/errorValidation.js +0 -25
- package/lib/DotProvider/utils/getAssetsImportPromises.js +0 -22
- package/lib/DotProvider/utils/sizeAssetsConfig.js +0 -31
- package/lib/DotProvider/utils/themeAppearanceAssetsConfig.js +0 -69
- package/lib/DotProvider/utils/themeColorAssetsConfig.js +0 -249
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { LIBRARY_COMPONENT, LIBRARY_DOT, LIBRARY_SVG, THEME_APPEARANCE_DARK, THEME_APPEARANCE_LIGHT, THEME_APPEARANCE_PURE_DARK } from "./constants";
|
|
2
|
-
export const themeAppearanceImports = {
|
|
3
|
-
Lib_LightMode_Component: () => import(
|
|
4
|
-
/* webpackChunkName: 'Lib_LightMode_Component' */
|
|
5
|
-
'@zohodesk/components/assets/Appearance/light/mode/Component_LightMode.module.css'),
|
|
6
|
-
Lib_DarkMode_Component: () => import(
|
|
7
|
-
/* webpackChunkName: 'Lib_DarkMode_Component' */
|
|
8
|
-
'@zohodesk/components/assets/Appearance/dark/mode/Component_DarkMode.module.css'),
|
|
9
|
-
Lib_PureDarkMode_Component: () => import(
|
|
10
|
-
/* webpackChunkName: 'Lib_PureDarkMode_Component' */
|
|
11
|
-
'@zohodesk/components/assets/Appearance/pureDark/mode/Component_PureDarkMode.module.css'),
|
|
12
|
-
Lib_LightMode_Dot: () => import(
|
|
13
|
-
/* webpackChunkName: 'Lib_LightMode_Dot' */
|
|
14
|
-
"./../../../assets/Appearance/light/mode/Dot_LightMode.module.css"),
|
|
15
|
-
Lib_DarkMode_Dot: () => import(
|
|
16
|
-
/* webpackChunkName: 'Lib_DarkMode_Dot' */
|
|
17
|
-
"./../../../assets/Appearance/dark/mode/Dot_DarkMode.module.css"),
|
|
18
|
-
Lib_PureDarkMode_Dot: () => import(
|
|
19
|
-
/* webpackChunkName: 'Lib_PureDarkMode_Dot' */
|
|
20
|
-
"./../../../assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css"),
|
|
21
|
-
Lib_LightMode_SVG: () => import(
|
|
22
|
-
/* webpackChunkName: 'Lib_LightMode_SVG' */
|
|
23
|
-
'@zohodesk/svg/assets/Appearance/light/mode/SVG_LightMode.module.css'),
|
|
24
|
-
Lib_DarkMode_SVG: () => import(
|
|
25
|
-
/* webpackChunkName: 'Lib_DarkMode_SVG' */
|
|
26
|
-
'@zohodesk/svg/assets/Appearance/dark/mode/SVG_DarkMode.module.css'),
|
|
27
|
-
Lib_PureDarkMode_SVG: () => import(
|
|
28
|
-
/* webpackChunkName: 'Lib_PureDarkMode_SVG' */
|
|
29
|
-
'@zohodesk/svg/assets/Appearance/pureDark/mode/SVG_PureDarkMode.module.css')
|
|
30
|
-
};
|
|
31
|
-
export const themeAppearanceMapping = {
|
|
32
|
-
[LIBRARY_COMPONENT]: {
|
|
33
|
-
[THEME_APPEARANCE_LIGHT]: 'Lib_LightMode_Component',
|
|
34
|
-
[THEME_APPEARANCE_DARK]: 'Lib_DarkMode_Component',
|
|
35
|
-
[THEME_APPEARANCE_PURE_DARK]: 'Lib_PureDarkMode_Component'
|
|
36
|
-
},
|
|
37
|
-
[LIBRARY_DOT]: {
|
|
38
|
-
[THEME_APPEARANCE_LIGHT]: 'Lib_LightMode_Dot',
|
|
39
|
-
[THEME_APPEARANCE_DARK]: 'Lib_DarkMode_Dot',
|
|
40
|
-
[THEME_APPEARANCE_PURE_DARK]: 'Lib_PureDarkMode_Dot'
|
|
41
|
-
},
|
|
42
|
-
[LIBRARY_SVG]: {
|
|
43
|
-
[THEME_APPEARANCE_LIGHT]: 'Lib_LightMode_SVG',
|
|
44
|
-
[THEME_APPEARANCE_DARK]: 'Lib_DarkMode_SVG',
|
|
45
|
-
[THEME_APPEARANCE_PURE_DARK]: 'Lib_PureDarkMode_SVG'
|
|
46
|
-
}
|
|
47
|
-
};
|
|
@@ -1,221 +0,0 @@
|
|
|
1
|
-
import { LIBRARY_COMPONENT, LIBRARY_DOT, LIBRARY_SVG, THEME_APPEARANCE_DARK, THEME_APPEARANCE_LIGHT, THEME_APPEARANCE_PURE_DARK, THEME_COLOR_BLUE, THEME_COLOR_GREEN, THEME_COLOR_ORANGE, THEME_COLOR_RED, THEME_COLOR_YELLOW } from "./constants";
|
|
2
|
-
export const themeColorImports = {
|
|
3
|
-
Lib_Blue_Light_Component: () => import(
|
|
4
|
-
/* webpackChunkName: 'Lib_Blue_Light_Component' */
|
|
5
|
-
"../libraryChunks/themes/component/blue/Blue_Light_Component"),
|
|
6
|
-
Lib_Blue_Dark_Component: () => import(
|
|
7
|
-
/* webpackChunkName: 'Lib_Blue_Dark_Component' */
|
|
8
|
-
"../libraryChunks/themes/component/blue/Blue_Dark_Component"),
|
|
9
|
-
Lib_Blue_PureDark_Component: () => import(
|
|
10
|
-
/* webpackChunkName: 'Lib_Blue_PureDark_Component' */
|
|
11
|
-
"../libraryChunks/themes/component/blue/Blue_PureDark_Component"),
|
|
12
|
-
Lib_Green_Light_Component: () => import(
|
|
13
|
-
/* webpackChunkName: 'Lib_Green_Light_Component' */
|
|
14
|
-
"../libraryChunks/themes/component/green/Green_Light_Component"),
|
|
15
|
-
Lib_Green_Dark_Component: () => import(
|
|
16
|
-
/* webpackChunkName: 'Lib_Green_Dark_Component' */
|
|
17
|
-
"../libraryChunks/themes/component/green/Green_Dark_Component"),
|
|
18
|
-
Lib_Green_PureDark_Component: () => import(
|
|
19
|
-
/* webpackChunkName: 'Lib_Green_PureDark_Component' */
|
|
20
|
-
"../libraryChunks/themes/component/green/Green_PureDark_Component"),
|
|
21
|
-
Lib_Orange_Light_Component: () => import(
|
|
22
|
-
/* webpackChunkName: 'Lib_Orange_Light_Component' */
|
|
23
|
-
"../libraryChunks/themes/component/orange/Orange_Light_Component"),
|
|
24
|
-
Lib_Orange_Dark_Component: () => import(
|
|
25
|
-
/* webpackChunkName: 'Lib_Orange_Dark_Component' */
|
|
26
|
-
"../libraryChunks/themes/component/orange/Orange_Dark_Component"),
|
|
27
|
-
Lib_Orange_PureDark_Component: () => import(
|
|
28
|
-
/* webpackChunkName: 'Lib_Orange_PureDark_Component' */
|
|
29
|
-
"../libraryChunks/themes/component/orange/Orange_PureDark_Component"),
|
|
30
|
-
Lib_Red_Light_Component: () => import(
|
|
31
|
-
/* webpackChunkName: 'Lib_Red_Light_Component' */
|
|
32
|
-
"../libraryChunks/themes/component/red/Red_Light_Component"),
|
|
33
|
-
Lib_Red_Dark_Component: () => import(
|
|
34
|
-
/* webpackChunkName: 'Lib_Red_Dark_Component' */
|
|
35
|
-
"../libraryChunks/themes/component/red/Red_Dark_Component"),
|
|
36
|
-
Lib_Red_PureDark_Component: () => import(
|
|
37
|
-
/* webpackChunkName: 'Lib_Red_PureDark_Component' */
|
|
38
|
-
"../libraryChunks/themes/component/red/Red_PureDark_Component"),
|
|
39
|
-
Lib_Yellow_Light_Component: () => import(
|
|
40
|
-
/* webpackChunkName: 'Lib_Yellow_Light_Component' */
|
|
41
|
-
"../libraryChunks/themes/component/yellow/Yellow_Light_Component"),
|
|
42
|
-
Lib_Yellow_Dark_Component: () => import(
|
|
43
|
-
/* webpackChunkName: 'Lib_Yellow_Dark_Component' */
|
|
44
|
-
"../libraryChunks/themes/component/yellow/Yellow_Dark_Component"),
|
|
45
|
-
Lib_Yellow_PureDark_Component: () => import(
|
|
46
|
-
/* webpackChunkName: 'Lib_Yellow_PureDark_Component' */
|
|
47
|
-
"../libraryChunks/themes/component/yellow/Yellow_PureDark_Component"),
|
|
48
|
-
Lib_Blue_Light_Dot: () => import(
|
|
49
|
-
/* webpackChunkName: 'Lib_Blue_Light_Dot' */
|
|
50
|
-
"../libraryChunks/themes/dot/blue/Blue_Light_Dot"),
|
|
51
|
-
Lib_Blue_Dark_Dot: () => import(
|
|
52
|
-
/* webpackChunkName: 'Lib_Blue_Dark_Dot' */
|
|
53
|
-
"../libraryChunks/themes/dot/blue/Blue_Dark_Dot"),
|
|
54
|
-
Lib_Blue_PureDark_Dot: () => import(
|
|
55
|
-
/* webpackChunkName: 'Lib_Blue_PureDark_Dot' */
|
|
56
|
-
"../libraryChunks/themes/dot/blue/Blue_PureDark_Dot"),
|
|
57
|
-
Lib_Green_Light_Dot: () => import(
|
|
58
|
-
/* webpackChunkName: 'Lib_Green_Light_Dot' */
|
|
59
|
-
"../libraryChunks/themes/dot/green/Green_Light_Dot"),
|
|
60
|
-
Lib_Green_Dark_Dot: () => import(
|
|
61
|
-
/* webpackChunkName: 'Lib_Green_Dark_Dot' */
|
|
62
|
-
"../libraryChunks/themes/dot/green/Green_Dark_Dot"),
|
|
63
|
-
Lib_Green_PureDark_Dot: () => import(
|
|
64
|
-
/* webpackChunkName: 'Lib_Green_PureDark_Dot' */
|
|
65
|
-
"../libraryChunks/themes/dot/green/Green_PureDark_Dot"),
|
|
66
|
-
Lib_Orange_Light_Dot: () => import(
|
|
67
|
-
/* webpackChunkName: 'Lib_Orange_Light_Dot' */
|
|
68
|
-
"../libraryChunks/themes/dot/orange/Orange_Light_Dot"),
|
|
69
|
-
Lib_Orange_Dark_Dot: () => import(
|
|
70
|
-
/* webpackChunkName: 'Lib_Orange_Dark_Dot' */
|
|
71
|
-
"../libraryChunks/themes/dot/orange/Orange_Dark_Dot"),
|
|
72
|
-
Lib_Orange_PureDark_Dot: () => import(
|
|
73
|
-
/* webpackChunkName: 'Lib_Orange_PureDark_Dot' */
|
|
74
|
-
"../libraryChunks/themes/dot/orange/Orange_PureDark_Dot"),
|
|
75
|
-
Lib_Red_Light_Dot: () => import(
|
|
76
|
-
/* webpackChunkName: 'Lib_Red_Light_Dot' */
|
|
77
|
-
"../libraryChunks/themes/dot/red/Red_Light_Dot"),
|
|
78
|
-
Lib_Red_Dark_Dot: () => import(
|
|
79
|
-
/* webpackChunkName: 'Lib_Red_Dark_Dot' */
|
|
80
|
-
"../libraryChunks/themes/dot/red/Red_Dark_Dot"),
|
|
81
|
-
Lib_Red_PureDark_Dot: () => import(
|
|
82
|
-
/* webpackChunkName: 'Lib_Red_PureDark_Dot' */
|
|
83
|
-
"../libraryChunks/themes/dot/red/Red_PureDark_Dot"),
|
|
84
|
-
Lib_Yellow_Light_Dot: () => import(
|
|
85
|
-
/* webpackChunkName: 'Lib_Yellow_Light_Dot' */
|
|
86
|
-
"../libraryChunks/themes/dot/yellow/Yellow_Light_Dot"),
|
|
87
|
-
Lib_Yellow_Dark_Dot: () => import(
|
|
88
|
-
/* webpackChunkName: 'Lib_Yellow_Dark_Dot' */
|
|
89
|
-
"../libraryChunks/themes/dot/yellow/Yellow_Dark_Dot"),
|
|
90
|
-
Lib_Yellow_PureDark_Dot: () => import(
|
|
91
|
-
/* webpackChunkName: 'Lib_Yellow_PureDark_Dot' */
|
|
92
|
-
"../libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot"),
|
|
93
|
-
Lib_Blue_Light_SVG: () => import(
|
|
94
|
-
/* webpackChunkName: 'Lib_Blue_Light_SVG' */
|
|
95
|
-
"../libraryChunks/themes/svg/blue/Blue_Light_SVG"),
|
|
96
|
-
Lib_Blue_Dark_SVG: () => import(
|
|
97
|
-
/* webpackChunkName: 'Lib_Blue_Dark_SVG' */
|
|
98
|
-
"../libraryChunks/themes/svg/blue/Blue_Dark_SVG"),
|
|
99
|
-
Lib_Blue_PureDark_SVG: () => import(
|
|
100
|
-
/* webpackChunkName: 'Lib_Blue_PureDark_SVG' */
|
|
101
|
-
"../libraryChunks/themes/svg/blue/Blue_PureDark_SVG"),
|
|
102
|
-
Lib_Green_Light_SVG: () => import(
|
|
103
|
-
/* webpackChunkName: 'Lib_Green_Light_SVG' */
|
|
104
|
-
"../libraryChunks/themes/svg/green/Green_Light_SVG"),
|
|
105
|
-
Lib_Green_Dark_SVG: () => import(
|
|
106
|
-
/* webpackChunkName: 'Lib_Green_Dark_SVG' */
|
|
107
|
-
"../libraryChunks/themes/svg/green/Green_Dark_SVG"),
|
|
108
|
-
Lib_Green_PureDark_SVG: () => import(
|
|
109
|
-
/* webpackChunkName: 'Lib_Green_PureDark_SVG' */
|
|
110
|
-
"../libraryChunks/themes/svg/green/Green_PureDark_SVG"),
|
|
111
|
-
Lib_Orange_Light_SVG: () => import(
|
|
112
|
-
/* webpackChunkName: 'Lib_Orange_Light_SVG' */
|
|
113
|
-
"../libraryChunks/themes/svg/orange/Orange_Light_SVG"),
|
|
114
|
-
Lib_Orange_Dark_SVG: () => import(
|
|
115
|
-
/* webpackChunkName: 'Lib_Orange_Dark_SVG' */
|
|
116
|
-
"../libraryChunks/themes/svg/orange/Orange_Dark_SVG"),
|
|
117
|
-
Lib_Orange_PureDark_SVG: () => import(
|
|
118
|
-
/* webpackChunkName: 'Lib_Orange_PureDark_SVG' */
|
|
119
|
-
"../libraryChunks/themes/svg/orange/Orange_PureDark_SVG"),
|
|
120
|
-
Lib_Red_Light_SVG: () => import(
|
|
121
|
-
/* webpackChunkName: 'Lib_Red_Light_SVG' */
|
|
122
|
-
"../libraryChunks/themes/svg/red/Red_Light_SVG"),
|
|
123
|
-
Lib_Red_Dark_SVG: () => import(
|
|
124
|
-
/* webpackChunkName: 'Lib_Red_Dark_SVG' */
|
|
125
|
-
"../libraryChunks/themes/svg/red/Red_Dark_SVG"),
|
|
126
|
-
Lib_Red_PureDark_SVG: () => import(
|
|
127
|
-
/* webpackChunkName: 'Lib_Red_PureDark_SVG' */
|
|
128
|
-
"../libraryChunks/themes/svg/red/Red_PureDark_SVG"),
|
|
129
|
-
Lib_Yellow_Light_SVG: () => import(
|
|
130
|
-
/* webpackChunkName: 'Lib_Yellow_Light_SVG' */
|
|
131
|
-
"../libraryChunks/themes/svg/yellow/Yellow_Light_SVG"),
|
|
132
|
-
Lib_Yellow_Dark_SVG: () => import(
|
|
133
|
-
/* webpackChunkName: 'Lib_Yellow_Dark_SVG' */
|
|
134
|
-
"../libraryChunks/themes/svg/yellow/Yellow_Dark_SVG"),
|
|
135
|
-
Lib_Yellow_PureDark_SVG: () => import(
|
|
136
|
-
/* webpackChunkName: 'Lib_Yellow_PureDark_SVG' */
|
|
137
|
-
"../libraryChunks/themes/svg/yellow/Yellow_PureDark_SVG")
|
|
138
|
-
};
|
|
139
|
-
export const themeColorMapping = {
|
|
140
|
-
[LIBRARY_COMPONENT]: {
|
|
141
|
-
[THEME_COLOR_BLUE]: {
|
|
142
|
-
[THEME_APPEARANCE_LIGHT]: 'Lib_Blue_Light_Component',
|
|
143
|
-
[THEME_APPEARANCE_DARK]: 'Lib_Blue_Dark_Component',
|
|
144
|
-
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Blue_PureDark_Component'
|
|
145
|
-
},
|
|
146
|
-
[THEME_COLOR_GREEN]: {
|
|
147
|
-
[THEME_APPEARANCE_LIGHT]: 'Lib_Green_Light_Component',
|
|
148
|
-
[THEME_APPEARANCE_DARK]: 'Lib_Green_Dark_Component',
|
|
149
|
-
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Green_PureDark_Component'
|
|
150
|
-
},
|
|
151
|
-
[THEME_COLOR_ORANGE]: {
|
|
152
|
-
[THEME_APPEARANCE_LIGHT]: 'Lib_Orange_Light_Component',
|
|
153
|
-
[THEME_APPEARANCE_DARK]: 'Lib_Orange_Dark_Component',
|
|
154
|
-
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Orange_PureDark_Component'
|
|
155
|
-
},
|
|
156
|
-
[THEME_COLOR_RED]: {
|
|
157
|
-
[THEME_APPEARANCE_LIGHT]: 'Lib_Red_Light_Component',
|
|
158
|
-
[THEME_APPEARANCE_DARK]: 'Lib_Red_Dark_Component',
|
|
159
|
-
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Red_PureDark_Component'
|
|
160
|
-
},
|
|
161
|
-
[THEME_COLOR_YELLOW]: {
|
|
162
|
-
[THEME_APPEARANCE_LIGHT]: 'Lib_Yellow_Light_Component',
|
|
163
|
-
[THEME_APPEARANCE_DARK]: 'Lib_Yellow_Dark_Component',
|
|
164
|
-
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Yellow_PureDark_Component'
|
|
165
|
-
}
|
|
166
|
-
},
|
|
167
|
-
[LIBRARY_DOT]: {
|
|
168
|
-
[THEME_COLOR_BLUE]: {
|
|
169
|
-
[THEME_APPEARANCE_LIGHT]: 'Lib_Blue_Light_Dot',
|
|
170
|
-
[THEME_APPEARANCE_DARK]: 'Lib_Blue_Dark_Dot',
|
|
171
|
-
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Blue_PureDark_Dot'
|
|
172
|
-
},
|
|
173
|
-
[THEME_COLOR_GREEN]: {
|
|
174
|
-
[THEME_APPEARANCE_LIGHT]: 'Lib_Green_Light_Dot',
|
|
175
|
-
[THEME_APPEARANCE_DARK]: 'Lib_Green_Dark_Dot',
|
|
176
|
-
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Green_PureDark_Dot'
|
|
177
|
-
},
|
|
178
|
-
[THEME_COLOR_ORANGE]: {
|
|
179
|
-
[THEME_APPEARANCE_LIGHT]: 'Lib_Orange_Light_Dot',
|
|
180
|
-
[THEME_APPEARANCE_DARK]: 'Lib_Orange_Dark_Dot',
|
|
181
|
-
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Orange_PureDark_Dot'
|
|
182
|
-
},
|
|
183
|
-
[THEME_COLOR_RED]: {
|
|
184
|
-
[THEME_APPEARANCE_LIGHT]: 'Lib_Red_Light_Dot',
|
|
185
|
-
[THEME_APPEARANCE_DARK]: 'Lib_Red_Dark_Dot',
|
|
186
|
-
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Red_PureDark_Dot'
|
|
187
|
-
},
|
|
188
|
-
[THEME_COLOR_YELLOW]: {
|
|
189
|
-
[THEME_APPEARANCE_LIGHT]: 'Lib_Yellow_Light_Dot',
|
|
190
|
-
[THEME_APPEARANCE_DARK]: 'Lib_Yellow_Dark_Dot',
|
|
191
|
-
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Yellow_PureDark_Dot'
|
|
192
|
-
}
|
|
193
|
-
},
|
|
194
|
-
[LIBRARY_SVG]: {
|
|
195
|
-
[THEME_COLOR_BLUE]: {
|
|
196
|
-
[THEME_APPEARANCE_LIGHT]: 'Lib_Blue_Light_SVG',
|
|
197
|
-
[THEME_APPEARANCE_DARK]: 'Lib_Blue_Dark_SVG',
|
|
198
|
-
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Blue_PureDark_SVG'
|
|
199
|
-
},
|
|
200
|
-
[THEME_COLOR_GREEN]: {
|
|
201
|
-
[THEME_APPEARANCE_LIGHT]: 'Lib_Green_Light_SVG',
|
|
202
|
-
[THEME_APPEARANCE_DARK]: 'Lib_Green_Dark_SVG',
|
|
203
|
-
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Green_PureDark_SVG'
|
|
204
|
-
},
|
|
205
|
-
[THEME_COLOR_ORANGE]: {
|
|
206
|
-
[THEME_APPEARANCE_LIGHT]: 'Lib_Orange_Light_SVG',
|
|
207
|
-
[THEME_APPEARANCE_DARK]: 'Lib_Orange_Dark_SVG',
|
|
208
|
-
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Orange_PureDark_SVG'
|
|
209
|
-
},
|
|
210
|
-
[THEME_COLOR_RED]: {
|
|
211
|
-
[THEME_APPEARANCE_LIGHT]: 'Lib_Red_Light_SVG',
|
|
212
|
-
[THEME_APPEARANCE_DARK]: 'Lib_Red_Dark_SVG',
|
|
213
|
-
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Red_PureDark_SVG'
|
|
214
|
-
},
|
|
215
|
-
[THEME_COLOR_YELLOW]: {
|
|
216
|
-
[THEME_APPEARANCE_LIGHT]: 'Lib_Yellow_Light_SVG',
|
|
217
|
-
[THEME_APPEARANCE_DARK]: 'Lib_Yellow_Dark_SVG',
|
|
218
|
-
[THEME_APPEARANCE_PURE_DARK]: 'Lib_Yellow_PureDark_SVG'
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
};
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = void 0;
|
|
7
|
-
|
|
8
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
-
|
|
10
|
-
var _defaultProps = require("./props/defaultProps");
|
|
11
|
-
|
|
12
|
-
var _propTypes = require("./props/propTypes");
|
|
13
|
-
|
|
14
|
-
var _useDotProvider = _interopRequireDefault(require("./hooks/useDotProvider"));
|
|
15
|
-
|
|
16
|
-
var _excluded = ["tag", "themeAppearance", "themeColor", "baseZoomUnit", "baseFontUnit", "zoomUnitVariable", "fontUnitVariable", "themeAppearanceAttr", "themeColorAttr", "providerRef", "onAssetsDownloadSuccess", "getAssetsPromises", "children"];
|
|
17
|
-
|
|
18
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
19
|
-
|
|
20
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
21
|
-
|
|
22
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
23
|
-
|
|
24
|
-
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); }
|
|
25
|
-
|
|
26
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
27
|
-
|
|
28
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
29
|
-
|
|
30
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
31
|
-
|
|
32
|
-
var DotProvider = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
33
|
-
var _props$tag = props.tag,
|
|
34
|
-
Element = _props$tag === void 0 ? 'div' : _props$tag,
|
|
35
|
-
themeAppearance = props.themeAppearance,
|
|
36
|
-
themeColor = props.themeColor,
|
|
37
|
-
baseZoomUnit = props.baseZoomUnit,
|
|
38
|
-
baseFontUnit = props.baseFontUnit,
|
|
39
|
-
zoomUnitVariable = props.zoomUnitVariable,
|
|
40
|
-
fontUnitVariable = props.fontUnitVariable,
|
|
41
|
-
themeAppearanceAttr = props.themeAppearanceAttr,
|
|
42
|
-
themeColorAttr = props.themeColorAttr,
|
|
43
|
-
providerRef = props.providerRef,
|
|
44
|
-
onAssetsDownloadSuccess = props.onAssetsDownloadSuccess,
|
|
45
|
-
getAssetsPromises = props.getAssetsPromises,
|
|
46
|
-
children = props.children,
|
|
47
|
-
rest = _objectWithoutProperties(props, _excluded);
|
|
48
|
-
|
|
49
|
-
var wrapperElementRef = (0, _react.useRef)(null);
|
|
50
|
-
var getProviderElement = (0, _react.useCallback)(function () {
|
|
51
|
-
if (typeof providerRef === 'function') {
|
|
52
|
-
return providerRef();
|
|
53
|
-
} else if (Element !== _react["default"].Fragment) {
|
|
54
|
-
return wrapperElementRef.current;
|
|
55
|
-
} else {
|
|
56
|
-
return document.documentElement;
|
|
57
|
-
}
|
|
58
|
-
}, [providerRef, Element]);
|
|
59
|
-
var getEleRef = (0, _react.useCallback)(function (ele) {
|
|
60
|
-
wrapperElementRef.current = ele;
|
|
61
|
-
|
|
62
|
-
if (ref && typeof ref === 'function') {
|
|
63
|
-
ref(ele);
|
|
64
|
-
} else if (ref && _typeof(ref) === 'object') {
|
|
65
|
-
ref.current = ele;
|
|
66
|
-
}
|
|
67
|
-
}, [ref]);
|
|
68
|
-
(0, _useDotProvider["default"])({
|
|
69
|
-
themeAppearance: themeAppearance,
|
|
70
|
-
themeColor: themeColor,
|
|
71
|
-
themeAppearanceAttr: themeAppearanceAttr,
|
|
72
|
-
themeColorAttr: themeColorAttr,
|
|
73
|
-
baseZoomUnit: baseZoomUnit,
|
|
74
|
-
baseFontUnit: baseFontUnit,
|
|
75
|
-
zoomUnitVariable: zoomUnitVariable,
|
|
76
|
-
fontUnitVariable: fontUnitVariable,
|
|
77
|
-
getProviderElement: getProviderElement,
|
|
78
|
-
onAssetsDownloadSuccess: onAssetsDownloadSuccess,
|
|
79
|
-
getAssetsPromises: getAssetsPromises
|
|
80
|
-
});
|
|
81
|
-
return /*#__PURE__*/_react["default"].createElement(Element, _extends({}, rest, {
|
|
82
|
-
ref: getEleRef
|
|
83
|
-
}), children);
|
|
84
|
-
});
|
|
85
|
-
DotProvider.propTypes = _propTypes.propTypes;
|
|
86
|
-
DotProvider.defaultProps = _defaultProps.defaultProps;
|
|
87
|
-
var _default = DotProvider;
|
|
88
|
-
exports["default"] = _default;
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = void 0;
|
|
7
|
-
|
|
8
|
-
var _react = require("react");
|
|
9
|
-
|
|
10
|
-
var _useDownloadAssetsAndSetAttr = _interopRequireDefault(require("./useDownloadAssetsAndSetAttr"));
|
|
11
|
-
|
|
12
|
-
require("@zohodesk/components/assets/Contrast/lightContrastLightness.module.css");
|
|
13
|
-
|
|
14
|
-
require("@zohodesk/components/assets/Contrast/darkContrastLightness.module.css");
|
|
15
|
-
|
|
16
|
-
require("@zohodesk/components/assets/Contrast/pureDarkContrastLightness.module.css");
|
|
17
|
-
|
|
18
|
-
require("@zohodesk/variables/assets/colorVariables.module.css");
|
|
19
|
-
|
|
20
|
-
require("@zohodesk/variables/assets/dotVariables.module.css");
|
|
21
|
-
|
|
22
|
-
require("@zohodesk/components/es/common/basic.module.css");
|
|
23
|
-
|
|
24
|
-
require("@zohodesk/variables/lib/fontFamilyVariables.module.css");
|
|
25
|
-
|
|
26
|
-
require("@zohodesk/components/lib/common/boxShadow.module.css");
|
|
27
|
-
|
|
28
|
-
require("../../common/dot_boxShadow.module.css");
|
|
29
|
-
|
|
30
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
31
|
-
|
|
32
|
-
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
33
|
-
|
|
34
|
-
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
35
|
-
|
|
36
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
37
|
-
|
|
38
|
-
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
39
|
-
|
|
40
|
-
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
41
|
-
|
|
42
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
43
|
-
|
|
44
|
-
function useDotProvider(_ref) {
|
|
45
|
-
var themeAppearance = _ref.themeAppearance,
|
|
46
|
-
themeColor = _ref.themeColor,
|
|
47
|
-
baseZoomUnit = _ref.baseZoomUnit,
|
|
48
|
-
baseFontUnit = _ref.baseFontUnit,
|
|
49
|
-
getProviderElement = _ref.getProviderElement,
|
|
50
|
-
zoomUnitVariable = _ref.zoomUnitVariable,
|
|
51
|
-
fontUnitVariable = _ref.fontUnitVariable,
|
|
52
|
-
themeAppearanceAttr = _ref.themeAppearanceAttr,
|
|
53
|
-
themeColorAttr = _ref.themeColorAttr,
|
|
54
|
-
onAssetsDownloadSuccess = _ref.onAssetsDownloadSuccess,
|
|
55
|
-
getAssetsPromises = _ref.getAssetsPromises;
|
|
56
|
-
var assetsPromises = (0, _useDownloadAssetsAndSetAttr["default"])({
|
|
57
|
-
themeAppearance: themeAppearance,
|
|
58
|
-
themeColor: themeColor,
|
|
59
|
-
baseZoomUnit: baseZoomUnit,
|
|
60
|
-
baseFontUnit: baseFontUnit,
|
|
61
|
-
getProviderElement: getProviderElement,
|
|
62
|
-
zoomUnitVariable: zoomUnitVariable,
|
|
63
|
-
fontUnitVariable: fontUnitVariable,
|
|
64
|
-
themeAppearanceAttr: themeAppearanceAttr,
|
|
65
|
-
themeColorAttr: themeColorAttr
|
|
66
|
-
});
|
|
67
|
-
var themeAppearancePromise = assetsPromises.themeAppearancePromise,
|
|
68
|
-
themeColorPromise = assetsPromises.themeColorPromise,
|
|
69
|
-
zoomSizePromise = assetsPromises.zoomSizePromise,
|
|
70
|
-
fontSizePromise = assetsPromises.fontSizePromise;
|
|
71
|
-
var allPromises = [].concat(_toConsumableArray(themeAppearancePromise), _toConsumableArray(themeColorPromise), [zoomSizePromise, fontSizePromise]);
|
|
72
|
-
(0, _react.useLayoutEffect)(function () {
|
|
73
|
-
Promise.all(allPromises).then(function () {
|
|
74
|
-
typeof onAssetsDownloadSuccess === 'function' && onAssetsDownloadSuccess();
|
|
75
|
-
})["catch"](function (error) {
|
|
76
|
-
console.error('Error loading assets:', error);
|
|
77
|
-
});
|
|
78
|
-
typeof getAssetsPromises === 'function' && getAssetsPromises(assetsPromises);
|
|
79
|
-
}, _toConsumableArray(allPromises));
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
var _default = useDotProvider;
|
|
83
|
-
exports["default"] = _default;
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = useDownloadAssetsAndSetAttr;
|
|
7
|
-
|
|
8
|
-
var _react = require("react");
|
|
9
|
-
|
|
10
|
-
var _themeAppearanceAssetPromise = require("../utils/assetPromiseHandlers/themeAppearanceAssetPromise.js");
|
|
11
|
-
|
|
12
|
-
var _themeColorAssetPromise = require("../utils/assetPromiseHandlers/themeColorAssetPromise.js");
|
|
13
|
-
|
|
14
|
-
var _fontSizeAssetPromise = require("../utils/assetPromiseHandlers/fontSizeAssetPromise.js");
|
|
15
|
-
|
|
16
|
-
var _zoomSizeAssetPromise = require("../utils/assetPromiseHandlers/zoomSizeAssetPromise.js");
|
|
17
|
-
|
|
18
|
-
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
19
|
-
|
|
20
|
-
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
21
|
-
|
|
22
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
23
|
-
|
|
24
|
-
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
25
|
-
|
|
26
|
-
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
27
|
-
|
|
28
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
29
|
-
|
|
30
|
-
function useDownloadAssetsAndSetAttr(_ref) {
|
|
31
|
-
var themeAppearance = _ref.themeAppearance,
|
|
32
|
-
themeColor = _ref.themeColor,
|
|
33
|
-
baseZoomUnit = _ref.baseZoomUnit,
|
|
34
|
-
baseFontUnit = _ref.baseFontUnit,
|
|
35
|
-
getProviderElement = _ref.getProviderElement,
|
|
36
|
-
zoomUnitVariable = _ref.zoomUnitVariable,
|
|
37
|
-
fontUnitVariable = _ref.fontUnitVariable,
|
|
38
|
-
themeAppearanceAttr = _ref.themeAppearanceAttr,
|
|
39
|
-
themeColorAttr = _ref.themeColorAttr;
|
|
40
|
-
var themeAppearancePromise = (0, _react.useMemo)(function () {
|
|
41
|
-
var themeAppearanceAssetPromise = (0, _themeAppearanceAssetPromise.getThemeAppearanceAssetPromise)({
|
|
42
|
-
themeAppearance: themeAppearance
|
|
43
|
-
});
|
|
44
|
-
return themeAppearanceAssetPromise;
|
|
45
|
-
}, [themeAppearance]);
|
|
46
|
-
var themeColorPromise = (0, _react.useMemo)(function () {
|
|
47
|
-
var themeColorAssetPromise = (0, _themeColorAssetPromise.getThemeColorAssetPromise)({
|
|
48
|
-
themeAppearance: themeAppearance,
|
|
49
|
-
themeColor: themeColor
|
|
50
|
-
});
|
|
51
|
-
return themeColorAssetPromise;
|
|
52
|
-
}, [themeAppearance, themeColor]);
|
|
53
|
-
var modifiedZoomUnitWithSuffix = (0, _react.useMemo)(function () {
|
|
54
|
-
return !isNaN(Number(baseZoomUnit)) ? "".concat(Number(baseZoomUnit), "px") : baseZoomUnit;
|
|
55
|
-
}, [baseZoomUnit]);
|
|
56
|
-
var zoomSizePromise = (0, _react.useMemo)(function () {
|
|
57
|
-
var assetPromise = (0, _zoomSizeAssetPromise.getZoomSizeAssetPromise)();
|
|
58
|
-
return assetPromise;
|
|
59
|
-
}, []);
|
|
60
|
-
var fontSizePromise = (0, _react.useMemo)(function () {
|
|
61
|
-
var assetPromise = (0, _fontSizeAssetPromise.getFontSizeAssetPromise)();
|
|
62
|
-
return assetPromise;
|
|
63
|
-
}, []);
|
|
64
|
-
var combinedPromise = {
|
|
65
|
-
themeAppearancePromise: themeAppearancePromise,
|
|
66
|
-
themeColorPromise: themeColorPromise,
|
|
67
|
-
zoomSizePromise: zoomSizePromise,
|
|
68
|
-
fontSizePromise: fontSizePromise
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
function setThemeAttribute() {
|
|
72
|
-
var themePromise = [].concat(_toConsumableArray(themeAppearancePromise), _toConsumableArray(themeColorPromise));
|
|
73
|
-
Promise.all(themePromise).then(function () {
|
|
74
|
-
var providerElement = getProviderElement();
|
|
75
|
-
|
|
76
|
-
if (providerElement) {
|
|
77
|
-
providerElement.setAttribute(themeAppearanceAttr, themeAppearance);
|
|
78
|
-
providerElement.setAttribute(themeColorAttr, themeColor);
|
|
79
|
-
}
|
|
80
|
-
})["catch"](function (error) {
|
|
81
|
-
console.error('Error on setting theme appearance and color attributes:', error);
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
function setZoomSizeAttribute() {
|
|
86
|
-
zoomSizePromise.then(function () {
|
|
87
|
-
var providerElement = getProviderElement();
|
|
88
|
-
|
|
89
|
-
if (providerElement) {
|
|
90
|
-
providerElement.style.setProperty(zoomUnitVariable, modifiedZoomUnitWithSuffix);
|
|
91
|
-
}
|
|
92
|
-
})["catch"](function (error) {
|
|
93
|
-
console.error('Error on setting zoom-size property', error);
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
function setFontSizeAttribute() {
|
|
98
|
-
fontSizePromise.then(function () {
|
|
99
|
-
var providerElement = getProviderElement();
|
|
100
|
-
|
|
101
|
-
if (providerElement) {
|
|
102
|
-
providerElement.style.setProperty(fontUnitVariable, baseFontUnit);
|
|
103
|
-
}
|
|
104
|
-
})["catch"](function (error) {
|
|
105
|
-
console.error('Error on setting font-size property', error);
|
|
106
|
-
});
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
(0, _react.useLayoutEffect)(function () {
|
|
110
|
-
setThemeAttribute();
|
|
111
|
-
}, [themeAppearanceAttr, themeColorAttr, themeAppearance, themeColor, getProviderElement]);
|
|
112
|
-
(0, _react.useLayoutEffect)(function () {
|
|
113
|
-
setZoomSizeAttribute();
|
|
114
|
-
}, [zoomUnitVariable, modifiedZoomUnitWithSuffix, getProviderElement]);
|
|
115
|
-
(0, _react.useLayoutEffect)(function () {
|
|
116
|
-
setFontSizeAttribute();
|
|
117
|
-
}, [fontUnitVariable, baseFontUnit, getProviderElement]);
|
|
118
|
-
return combinedPromise;
|
|
119
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("@zohodesk/components/assets/Appearance/dark/themes/blue/blue_CTA_DarkTheme.module.css");
|
|
4
|
-
|
|
5
|
-
require("@zohodesk/components/assets/Appearance/dark/themes/blue/blue_CTA_DarkModifyCategory.module.css");
|
|
6
|
-
|
|
7
|
-
require("@zohodesk/components/assets/Appearance/dark/themes/blue/blue_ComponentTheme_DarkTheme.module.css");
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("@zohodesk/components/assets/Appearance/light/themes/blue/blue_CTA_LightTheme.module.css");
|
|
4
|
-
|
|
5
|
-
require("@zohodesk/components/assets/Appearance/light/themes/blue/blue_CTA_LightModifyCategory.module.css");
|
|
6
|
-
|
|
7
|
-
require("@zohodesk/components/assets/Appearance/light/themes/blue/blue_ComponentTheme_LightTheme.module.css");
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("@zohodesk/components/assets/Appearance/pureDark/themes/blue/blue_CTA_PureDarkTheme.module.css");
|
|
4
|
-
|
|
5
|
-
require("@zohodesk/components/assets/Appearance/pureDark/themes/blue/blue_CTA_PureDarkModifyCategory.module.css");
|
|
6
|
-
|
|
7
|
-
require("@zohodesk/components/assets/Appearance/pureDark/themes/blue/blue_ComponentTheme_PureDarkTheme.module.css");
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("@zohodesk/components/assets/Appearance/dark/themes/green/green_CTA_DarkTheme.module.css");
|
|
4
|
-
|
|
5
|
-
require("@zohodesk/components/assets/Appearance/dark/themes/green/green_CTA_DarkModifyCategory.module.css");
|
|
6
|
-
|
|
7
|
-
require("@zohodesk/components/assets/Appearance/dark/themes/green/green_ComponentTheme_DarkTheme.module.css");
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("@zohodesk/components/assets/Appearance/light/themes/green/green_CTA_LightTheme.module.css");
|
|
4
|
-
|
|
5
|
-
require("@zohodesk/components/assets/Appearance/light/themes/green/green_CTA_LightModifyCategory.module.css");
|
|
6
|
-
|
|
7
|
-
require("@zohodesk/components/assets/Appearance/light/themes/green/green_ComponentTheme_LightTheme.module.css");
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("@zohodesk/components/assets/Appearance/pureDark/themes/green/green_CTA_PureDarkTheme.module.css");
|
|
4
|
-
|
|
5
|
-
require("@zohodesk/components/assets/Appearance/pureDark/themes/green/green_CTA_PureDarkModifyCategory.module.css");
|
|
6
|
-
|
|
7
|
-
require("@zohodesk/components/assets/Appearance/pureDark/themes/green/green_ComponentTheme_PureDarkTheme.module.css");
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("@zohodesk/components/assets/Appearance/dark/themes/orange/orange_CTA_DarkTheme.module.css");
|
|
4
|
-
|
|
5
|
-
require("@zohodesk/components/assets/Appearance/dark/themes/orange/orange_CTA_DarkModifyCategory.module.css");
|
|
6
|
-
|
|
7
|
-
require("@zohodesk/components/assets/Appearance/dark/themes/orange/orange_ComponentTheme_DarkTheme.module.css");
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("@zohodesk/components/assets/Appearance/light/themes/orange/orange_CTA_LightTheme.module.css");
|
|
4
|
-
|
|
5
|
-
require("@zohodesk/components/assets/Appearance/light/themes/orange/orange_CTA_LightModifyCategory.module.css");
|
|
6
|
-
|
|
7
|
-
require("@zohodesk/components/assets/Appearance/light/themes/orange/orange_ComponentTheme_LightTheme.module.css");
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("@zohodesk/components/assets/Appearance/pureDark/themes/orange/orange_CTA_PureDarkTheme.module.css");
|
|
4
|
-
|
|
5
|
-
require("@zohodesk/components/assets/Appearance/pureDark/themes/orange/orange_CTA_PureDarkModifyCategory.module.css");
|
|
6
|
-
|
|
7
|
-
require("@zohodesk/components/assets/Appearance/pureDark/themes/orange/orange_ComponentTheme_PureDarkTheme.module.css");
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("@zohodesk/components/assets/Appearance/dark/themes/red/red_CTA_DarkTheme.module.css");
|
|
4
|
-
|
|
5
|
-
require("@zohodesk/components/assets/Appearance/dark/themes/red/red_CTA_DarkModifyCategory.module.css");
|
|
6
|
-
|
|
7
|
-
require("@zohodesk/components/assets/Appearance/dark/themes/red/red_ComponentTheme_DarkTheme.module.css");
|