@zohodesk/dot 1.0.0-beta.227 → 1.0.0-beta.230
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 +12 -0
- package/es/ActionButton/ActionButton.js +7 -3
- package/es/ExternalLink/ExternalLink.js +1 -1
- package/es/FlipCard/FlipCard.js +1 -1
- package/es/Link/Link.js +1 -1
- package/es/Message/Message.js +1 -1
- package/es/Provider.js +6 -104
- package/es/ToastMessage/ToastMessage.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 +1 -1
- 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 +1 -1
- package/es/deprecated/SelectDropdown/SelectDropdown.js +59 -35
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +1 -0
- package/es/docs/formDocs.js +5 -1
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +184 -161
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +3 -0
- package/es/form/fields/CheckBoxField/CheckBoxField.js +17 -29
- package/es/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +8 -1
- package/es/form/fields/CurrencyField/CurrencyField.js +17 -30
- package/es/form/fields/CurrencyField/docs/CurrencyField__default.docs.js +36 -0
- package/es/form/fields/DateField/DateField.js +17 -29
- package/es/form/fields/DateField/docs/DateField__default.docs.js +8 -1
- package/es/form/fields/FieldContainer/FieldContainer.js +82 -0
- package/es/form/fields/FieldContainer/docs/FieldContainer__default.docs.js +49 -0
- package/es/form/fields/MultiSelectField/MultiSelectField.js +17 -29
- package/es/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +8 -1
- package/es/form/fields/PhoneField/PhoneField.js +1 -1
- package/es/form/fields/RadioField/RadioField.js +1 -1
- package/es/form/fields/SelectField/SelectField.js +17 -29
- package/es/form/fields/SelectField/docs/SelectField__default.docs.js +8 -1
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +93 -65
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +33 -29
- package/es/form/fields/TextBoxField/TextBoxField.js +19 -44
- package/es/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +28 -1
- package/es/form/fields/TextEditorField/TextEditorField.js +28 -45
- package/es/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +9 -2
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +1 -1
- package/es/form/fields/TextareaField/TextareaField.js +17 -29
- package/es/form/fields/TextareaField/docs/TextareaField__default.docs.js +8 -1
- package/es/form/fields/props/FieldCommonDefaultProps.js +10 -0
- package/es/form/fields/props/FieldCommonPropTypes.js +22 -0
- package/es/layout/SubtabLayout/SubtabLayout.js +1 -1
- package/es/list/GridStencils/GridStencils.module.css +7 -18
- package/es/list/ListLayout/ListLayout.js +1 -1
- package/es/list/SecondaryText/AccountName.js +1 -1
- package/es/list/SecondaryText/ContactName.js +1 -1
- package/es/list/SecondaryText/Email.js +1 -1
- package/es/list/SecondaryText/PhoneNumber.js +1 -1
- package/es/list/SecondaryText/SecondaryText.js +1 -1
- package/es/list/SecondaryText/TicketId.js +1 -1
- package/es/list/Subject/Subject.js +1 -1
- package/es/list/status/StatusDropdown/StatusDropdown.js +103 -80
- package/es/list/status/StatusDropdown/StatusDropdown.module.css +3 -0
- package/es/list/status/StatusListItem/StatusListItem.js +1 -1
- package/es/lookup/header/Search/Search.js +1 -1
- package/es/lookup/header/ViewDropDown/ViewDropDown.js +79 -54
- package/es/version2/GlobalNotification/GlobalNotification.js +1 -1
- package/es/version2/lookup/AlertLookup/AlertLookup.js +1 -1
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +1 -1
- package/lib/ActionButton/ActionButton.js +9 -5
- package/lib/ActionButton/docs/ActionButton__default.docs.js +2 -2
- package/lib/AlphabeticList/AlphabeticList.js +2 -2
- package/lib/AlphabeticList/docs/AlphabeticList__default.docs.js +2 -2
- package/lib/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +2 -2
- package/lib/Attachment/Attachment.js +2 -2
- package/lib/Attachment/docs/Attachment__default.docs.js +2 -2
- package/lib/AttachmentViewer/AttachmentImage.js +2 -2
- package/lib/AttachmentViewer/AttachmentViewer.js +2 -2
- package/lib/AttachmentViewer/docs/AttachmentViewer__default.docs.js +2 -2
- package/lib/ChannelIcon/ChannelIcon.js +2 -2
- package/lib/ChannelIcon/docs/ChannelIcon__default.docs.js +2 -2
- package/lib/Drawer/Drawer.js +2 -2
- package/lib/Drawer/docs/Drawer__default.docs.js +2 -2
- package/lib/Drawer/docs/Drawer__multiDrawer.docs.js +2 -2
- package/lib/Drawer/docs/Drawer__noFreeze.docs.js +2 -2
- package/lib/Drawer/docs/Drawer__withModal.docs.js +2 -2
- package/lib/ExternalLink/ExternalLink.js +3 -3
- package/lib/ExternalLink/docs/ExternalLink__default.docs.js +2 -2
- package/lib/FlipCard/FlipCard.js +3 -3
- package/lib/FlipCard/docs/FlipCard__default.docs.js +2 -2
- package/lib/FormAction/FormAction.js +2 -2
- package/lib/FormAction/docs/FormAction__default.docs.js +2 -2
- package/lib/FreezeLayer/FreezeLayer.js +2 -2
- package/lib/FreezeLayer/docs/FreezeLayer__dark.docs.js +2 -2
- package/lib/FreezeLayer/docs/FreezeLayer__default.docs.js +2 -2
- package/lib/IconButton/IconButton.js +2 -2
- package/lib/IconButton/docs/IconButton__default.docs.js +2 -2
- package/lib/Image/Image.js +2 -2
- package/lib/Image/docs/Image__default.docs.js +2 -2
- package/lib/ImportantNotes/ImportantNotes.js +2 -2
- package/lib/ImportantNotes/docs/ImportantNotes__default.docs.js +2 -2
- package/lib/Link/Link.js +3 -3
- package/lib/Link/docs/Link__default.docs.js +2 -2
- package/lib/Loader/Loader.js +2 -2
- package/lib/Loader/docs/Loader__default.docs.js +2 -2
- package/lib/Message/Message.js +3 -3
- package/lib/Message/docs/Message__default.docs.js +2 -2
- package/lib/MessageBanner/MessageBanner.js +2 -2
- package/lib/MessageBanner/docs/MessageBanner__default.docs.js +2 -2
- package/lib/NewStar/NewStar.js +2 -2
- package/lib/NewStar/docs/NewStar__default.docs.js +2 -2
- package/lib/PlusIcon/PlusIcon.js +2 -2
- package/lib/PlusIcon/docs/PlusIcon__default.docs.js +2 -2
- package/lib/Provider.js +9 -124
- package/lib/ToastMessage/ToastMessage.js +1 -1
- package/lib/ToastMessage/docs/ToastMessage__custom.docs.js +2 -2
- package/lib/ToastMessage/docs/ToastMessage__information.docs.js +2 -2
- package/lib/ToastMessage/docs/ToastMessage__primary.docs.js +2 -2
- package/lib/ToastMessage/docs/ToastMessage__secondary.docs.js +2 -2
- package/lib/ToastMessage/docs/ToastMessage__success.docs.js +2 -2
- package/lib/Upload/Upload.js +2 -2
- package/lib/Upload/docs/Upload__default.docs.js +2 -2
- package/lib/alert/AlertHeader/AlertHeader.js +2 -2
- package/lib/alert/AlertHeader/docs/AlertHeader__default.docs.js +2 -2
- package/lib/alert/AlertLookup/AlertLookup.js +3 -3
- package/lib/alert/AlertLookup/docs/AlertLookup__default.docs.js +2 -2
- package/lib/avatar/AvatarClose/AvatarClose.js +3 -3
- package/lib/avatar/AvatarClose/docs/AvatarClose__default.docs.js +2 -2
- package/lib/avatar/AvatarCollision/AvatarCollision.js +3 -3
- package/lib/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +2 -2
- package/lib/avatar/AvatarIcon/AvatarIcon.js +3 -3
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +2 -2
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +2 -2
- package/lib/avatar/AvatarStatus/AvatarStatus.js +3 -3
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +2 -2
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +2 -2
- package/lib/avatar/AvatarThread/AvatarThread.js +3 -3
- package/lib/avatar/AvatarThread/docs/AvatarThread__default.docs.js +2 -2
- package/lib/avatar/AvatarUser/AvatarUser.js +3 -3
- package/lib/avatar/AvatarUser/docs/AvatarUser__default.docs.js +2 -2
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -3
- package/lib/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +2 -2
- package/lib/deprecated/SelectDropdown/SelectDropdown.js +62 -40
- package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +1 -0
- package/lib/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +2 -2
- package/lib/docs/formDocs.js +32 -0
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +185 -164
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +3 -0
- package/lib/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +2 -2
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +2 -2
- package/lib/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +2 -2
- package/lib/emptystate/EditionPage/EditionPage.js +2 -2
- package/lib/emptystate/EditionPage/docs/EditionPage__default.docs.js +2 -2
- package/lib/errorstate/Inconvenience/Inconvenience.js +2 -2
- package/lib/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +2 -2
- package/lib/errorstate/LinkText/LinkText.js +2 -2
- package/lib/errorstate/LinkText/docs/LinkText__default.docs.js +2 -2
- package/lib/errorstate/NoRequestFound/NoRequestFound.js +2 -2
- package/lib/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +2 -2
- package/lib/errorstate/PermissionPlay/PermissionPlay.js +2 -2
- package/lib/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +2 -2
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +2 -2
- package/lib/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +2 -2
- package/lib/errorstate/UnableToProcess/UnableToProcess.js +2 -2
- package/lib/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +2 -2
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +2 -2
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +2 -2
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +2 -2
- package/lib/errorstate/WillBack/WillBack.js +2 -2
- package/lib/errorstate/WillBack/docs/WillBack__default.docs.js +2 -2
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +26 -32
- package/lib/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +10 -3
- package/lib/form/fields/CurrencyField/CurrencyField.js +26 -33
- package/lib/form/fields/CurrencyField/docs/CurrencyField__default.docs.js +86 -0
- package/lib/form/fields/DateField/DateField.js +26 -32
- package/lib/form/fields/DateField/docs/DateField__default.docs.js +10 -3
- package/lib/form/fields/FieldContainer/FieldContainer.js +136 -0
- package/lib/form/fields/FieldContainer/docs/FieldContainer__default.docs.js +104 -0
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +26 -32
- package/lib/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +10 -3
- package/lib/form/fields/PhoneField/PhoneField.js +3 -3
- package/lib/form/fields/PhoneField/docs/PhoneField__default.docs.js +2 -2
- package/lib/form/fields/RadioField/RadioField.js +3 -3
- package/lib/form/fields/SelectField/SelectField.js +26 -32
- package/lib/form/fields/SelectField/docs/SelectField__default.docs.js +10 -3
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +93 -67
- package/lib/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +2 -2
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +37 -31
- package/lib/form/fields/TextBoxField/TextBoxField.js +28 -48
- package/lib/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +37 -4
- package/lib/form/fields/TextEditor/TextEditor.js +2 -2
- package/lib/form/fields/TextEditorField/TextEditorField.js +36 -50
- package/lib/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +11 -4
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +3 -3
- package/lib/form/fields/TextareaField/TextareaField.js +26 -32
- package/lib/form/fields/TextareaField/docs/TextareaField__default.docs.js +10 -3
- package/lib/form/fields/ValidationMessage/ValidationMessage.js +2 -2
- package/lib/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +2 -2
- package/lib/form/fields/props/FieldCommonDefaultProps.js +19 -0
- package/lib/form/fields/props/FieldCommonPropTypes.js +34 -0
- package/lib/form/layout/Field/Field.js +2 -2
- package/lib/form/layout/Field/docs/Field__default.docs.js +2 -2
- package/lib/form/layout/Section/Section.js +2 -2
- package/lib/form/layout/Section/docs/Section__default.docs.js +2 -2
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +2 -2
- package/lib/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +2 -2
- package/lib/layout/SubtabLayout/SubtabLayout.js +3 -3
- package/lib/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +2 -2
- package/lib/list/AvatarFlip/AvatarFlip.js +2 -2
- package/lib/list/AvatarFlip/docs/AvatarFlip__default.docs.js +2 -2
- package/lib/list/BluePrintStatus/BluePrintStatus.js +2 -2
- package/lib/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +2 -2
- package/lib/list/Comment/Comment.js +2 -2
- package/lib/list/Comment/docs/Comment__default.docs.js +2 -2
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +2 -2
- package/lib/list/Dot/Dot.js +2 -2
- package/lib/list/DotNew/DotNew.js +2 -2
- package/lib/list/DotNew/docs/DotNew__default.docs.js +2 -2
- package/lib/list/GridStencils/GridStencils.js +2 -2
- package/lib/list/GridStencils/GridStencils.module.css +7 -18
- package/lib/list/GridStencils/docs/GridStencils__default.docs.js +2 -2
- package/lib/list/Icons/AddNewIcon.js +2 -2
- package/lib/list/Icons/CompleteIcon.js +2 -2
- package/lib/list/Icons/DeleteIcon.js +2 -2
- package/lib/list/Icons/EditIcon.js +2 -2
- package/lib/list/Icons/FloatingIcons.js +2 -2
- package/lib/list/Icons/ReadUnreadIcon.js +2 -2
- package/lib/list/Icons/SmartIcon.js +2 -2
- package/lib/list/Icons/docs/FloatingIcons__default.docs.js +2 -2
- package/lib/list/ListLayout/ListLayout.js +3 -3
- package/lib/list/ListLayout/docs/ListLayout__default.docs.js +2 -2
- package/lib/list/ListStencils/ListStencils.js +2 -2
- package/lib/list/ListStencils/docs/ListStencils__default.docs.js +2 -2
- package/lib/list/SecondaryText/AccountName.js +3 -3
- package/lib/list/SecondaryText/ContactName.js +3 -3
- package/lib/list/SecondaryText/DepartmentText.js +2 -2
- package/lib/list/SecondaryText/Email.js +3 -3
- package/lib/list/SecondaryText/HappinessRating.js +2 -2
- package/lib/list/SecondaryText/PhoneNumber.js +3 -3
- package/lib/list/SecondaryText/PriorityText.js +2 -2
- package/lib/list/SecondaryText/SecondaryText.js +3 -3
- package/lib/list/SecondaryText/StatusText.js +2 -2
- package/lib/list/SecondaryText/TicketId.js +3 -3
- package/lib/list/SecondaryText/Website.js +2 -2
- package/lib/list/SecondaryText/docs/ContactName__default.docs.js +2 -2
- package/lib/list/SecondryPanel/SecondryPanel.js +2 -2
- package/lib/list/SecondryPanel/docs/SecondryPanel__default.docs.js +2 -2
- package/lib/list/SentimentStatus/SentimentStatus.js +2 -2
- package/lib/list/SentimentStatus/docs/SentimentStatus__default.docs.js +2 -2
- package/lib/list/Subject/Subject.js +3 -3
- package/lib/list/Subject/docs/Subject__default.docs.js +2 -2
- package/lib/list/TagNew/TagNew.js +2 -2
- package/lib/list/TagNew/docs/TagNew__default.docs.js +2 -2
- package/lib/list/Thread/Thread.js +2 -2
- package/lib/list/Thread/docs/Thread__default.docs.js +2 -2
- package/lib/list/UserTime/UserTime.js +2 -2
- package/lib/list/UserTime/docs/UserTime__default.docs.js +2 -2
- package/lib/list/status/StatusDropdown/StatusDropdown.js +104 -83
- package/lib/list/status/StatusDropdown/StatusDropdown.module.css +3 -0
- package/lib/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +2 -2
- package/lib/list/status/StatusListItem/StatusListItem.js +3 -3
- package/lib/list/status/StatusListItem/docs/StatusListItem__default.docs.js +2 -2
- package/lib/lookup/EmptyPage/EmptyPage.js +2 -2
- package/lib/lookup/EmptyPage/docs/EmptyPage__account.docs.js +2 -2
- package/lib/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +2 -2
- package/lib/lookup/EmptyPage/docs/EmptyPage__default.docs.js +2 -2
- package/lib/lookup/EmptyPage/docs/EmptyPage__product.docs.js +2 -2
- package/lib/lookup/Lookup/Lookup.js +2 -2
- package/lib/lookup/Lookup/docs/Lookup__contact.docs.js +2 -2
- package/lib/lookup/Lookup/docs/Lookup__default.docs.js +2 -2
- package/lib/lookup/Section/Section.js +2 -2
- package/lib/lookup/header/Close/Close.js +2 -2
- package/lib/lookup/header/Close/docs/Close__default.docs.js +2 -2
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +2 -2
- package/lib/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +2 -2
- package/lib/lookup/header/Search/Search.js +3 -3
- package/lib/lookup/header/Search/docs/Search__default.docs.js +2 -2
- package/lib/lookup/header/TicketHeader/TicketHeader.js +2 -2
- package/lib/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +2 -2
- package/lib/lookup/header/Title/Title.js +2 -2
- package/lib/lookup/header/Title/docs/Title__default.docs.js +2 -2
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +77 -54
- package/lib/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +2 -2
- package/lib/setup/header/Button/Button.js +2 -2
- package/lib/setup/header/Button/docs/Button__default.docs.js +2 -2
- package/lib/setup/header/Link/Link.js +2 -2
- package/lib/setup/header/Link/docs/Link__default.docs.js +2 -2
- package/lib/setup/header/Search/Search.js +2 -2
- package/lib/setup/header/Search/docs/Search__default.docs.js +2 -2
- package/lib/setup/header/Views/Views.js +2 -2
- package/lib/setup/header/Views/docs/Views__default.docs.js +2 -2
- package/lib/setup/helptips/Description/Description.js +2 -2
- package/lib/setup/helptips/Description/docs/Description__default.docs.js +2 -2
- package/lib/setup/helptips/Link/Link.js +2 -2
- package/lib/setup/helptips/Link/docs/Link__default.docs.js +2 -2
- package/lib/setup/helptips/ListGroup/ListGroup.js +2 -2
- package/lib/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +2 -2
- package/lib/setup/helptips/Title/Title.js +2 -2
- package/lib/setup/helptips/Title/docs/Title__default.docs.js +2 -2
- package/lib/setup/table/Table/Table.js +2 -2
- package/lib/setup/table/Table/docs/Table__default.docs.js +2 -2
- package/lib/setup/table/TableBody/TableBody.js +2 -2
- package/lib/setup/table/TableData/TableData.js +2 -2
- package/lib/setup/table/TableHead/TableHead.js +2 -2
- package/lib/setup/table/TableRow/TableRow.js +2 -2
- package/lib/setup/table/Text/Text.js +2 -2
- package/lib/setup/table/Text/docs/Text__default.docs.js +2 -2
- package/lib/svg/PlusIcon.js +2 -2
- package/lib/svg/SnippetIcon.js +2 -2
- package/lib/svg/TemplateIcon.js +2 -2
- package/lib/svg/docs/SVG__default.docs.js +2 -2
- package/lib/version2/AlertClose/AlertClose.js +2 -2
- package/lib/version2/AlertClose/docs/AlertClose__default.docs.js +2 -2
- package/lib/version2/GlobalNotification/GlobalNotification.js +3 -3
- package/lib/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +2 -2
- package/lib/version2/alertIcons/AlarmAlertIcon.js +2 -2
- package/lib/version2/alertIcons/AlertIcons.js +2 -2
- package/lib/version2/alertIcons/DangerAlertIcon.js +2 -2
- package/lib/version2/alertIcons/ErrorAlertIcon.js +2 -2
- package/lib/version2/alertIcons/InfoAlertIcon.js +2 -2
- package/lib/version2/alertIcons/NotificationAlertIcon.js +2 -2
- package/lib/version2/alertIcons/SuccessAlertIcon.js +2 -2
- package/lib/version2/alertIcons/WarningAlertIcon.js +2 -2
- package/lib/version2/alertIcons/docs/AlertIcons__default.docs.js +2 -2
- package/lib/version2/errorstate/Inconvenience/Inconvenience.js +2 -2
- package/lib/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +2 -2
- package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +2 -2
- package/lib/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +2 -2
- package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +2 -2
- package/lib/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +2 -2
- package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +2 -2
- package/lib/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +2 -2
- package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +2 -2
- package/lib/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +2 -2
- package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +2 -2
- package/lib/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +2 -2
- package/lib/version2/lookup/AlertHeader/AlertHeader.js +2 -2
- package/lib/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +2 -2
- package/lib/version2/lookup/AlertLookup/AlertLookup.js +3 -3
- package/lib/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +2 -2
- package/lib/version2/notification/DesktopNotification/DesktopNotification.js +1 -1
- package/lib/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +2 -2
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +2 -2
- package/lib/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +2 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
In this Library, we Provide Some Basic Components to Build Your Application
|
|
4
4
|
|
|
5
|
+
# 1.0.0-beta.230
|
|
6
|
+
|
|
7
|
+
- renderLabelProps props added and Field Container Component Wrapped for => CheckBoxField, CurrencyField, DateField, MultiField, SelectField, TextareaField, TextBoxField
|
|
8
|
+
|
|
9
|
+
# 1.0.0-beta.229
|
|
10
|
+
|
|
11
|
+
- TagsMultiSelect,TagsMultiSelectField => clickableTag prop added
|
|
12
|
+
- GridStencils => margin, width removed in css
|
|
13
|
+
|
|
14
|
+
# 1.0.0-beta.228
|
|
15
|
+
|
|
16
|
+
- ResponsiveDropBox Implemented for all DropBox
|
|
5
17
|
|
|
6
18
|
# 1.0.0-beta.227
|
|
7
19
|
|
|
@@ -4,7 +4,7 @@ import Popup from '@zohodesk/components/lib/Popup/Popup';
|
|
|
4
4
|
import Icon from '@zohodesk/icons/lib/Icon';
|
|
5
5
|
import Button from '@zohodesk/components/lib/Button/Button';
|
|
6
6
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
7
|
-
import
|
|
7
|
+
import ResponsiveDropBox from '@zohodesk/components/lib/ResponsiveDropBox/ResponsiveDropBox';
|
|
8
8
|
import CssProvider from '@zohodesk/components/lib/Provider/CssProvider';
|
|
9
9
|
import style from './ActionButton.module.css';
|
|
10
10
|
export class ActionButton extends React.Component {
|
|
@@ -104,7 +104,7 @@ export class ActionButton extends React.Component {
|
|
|
104
104
|
name: "ZD-down",
|
|
105
105
|
size: "6",
|
|
106
106
|
iconClass: style.arrow
|
|
107
|
-
})), isPopupOpen ? /*#__PURE__*/React.createElement(
|
|
107
|
+
})), isPopupOpen ? /*#__PURE__*/React.createElement(ResponsiveDropBox, {
|
|
108
108
|
size: "small",
|
|
109
109
|
isActive: isPopupOpen,
|
|
110
110
|
boxPosition: position,
|
|
@@ -115,7 +115,11 @@ export class ActionButton extends React.Component {
|
|
|
115
115
|
},
|
|
116
116
|
isBoxPaddingNeed: isBoxPaddingNeed,
|
|
117
117
|
getRef: getContainerRef
|
|
118
|
-
},
|
|
118
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
119
|
+
flexible: true,
|
|
120
|
+
shrink: true,
|
|
121
|
+
scroll: "vertical"
|
|
122
|
+
}, children)) : null) : null));
|
|
119
123
|
}
|
|
120
124
|
|
|
121
125
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
/**** Libraries ****/
|
|
4
4
|
import React from 'react';
|
package/es/FlipCard/FlipCard.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React, { Component } from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
package/es/Link/Link.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
package/es/Message/Message.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
package/es/Provider.js
CHANGED
|
@@ -4,6 +4,7 @@ import { Container } from '@zohodesk/components/lib/Layout';
|
|
|
4
4
|
import AppContainer from '@zohodesk/components/lib/AppContainer/AppContainer';
|
|
5
5
|
import LibraryContext from '@zohodesk/components/lib/Provider/LibraryContextInit';
|
|
6
6
|
import datetime from '@zohodesk/datetimejs';
|
|
7
|
+
import ThemeTool from '../../common/lib/ThemeTool/ThemeTool';
|
|
7
8
|
import i18n from './i18n';
|
|
8
9
|
/* component pkg - default mode & themes */
|
|
9
10
|
|
|
@@ -109,6 +110,7 @@ export default class Provider extends React.Component {
|
|
|
109
110
|
themeName: 'blue'
|
|
110
111
|
};
|
|
111
112
|
this.setTheme = this.setTheme.bind(this);
|
|
113
|
+
this.setAppearance = this.setAppearance.bind(this);
|
|
112
114
|
}
|
|
113
115
|
|
|
114
116
|
setAppearance(mode) {
|
|
@@ -128,51 +130,6 @@ export default class Provider extends React.Component {
|
|
|
128
130
|
appearanceName,
|
|
129
131
|
themeName
|
|
130
132
|
} = this.state;
|
|
131
|
-
let themeClass = {
|
|
132
|
-
width: '20px',
|
|
133
|
-
height: '20px',
|
|
134
|
-
borderRadius: '3px',
|
|
135
|
-
display: 'flex',
|
|
136
|
-
border: '1px solid #ccc',
|
|
137
|
-
margin: '0 5px',
|
|
138
|
-
cursor: 'pointer',
|
|
139
|
-
backgroundColor: '#0a73eb'
|
|
140
|
-
};
|
|
141
|
-
let green = {
|
|
142
|
-
backgroundColor: '#26a942'
|
|
143
|
-
};
|
|
144
|
-
let red = {
|
|
145
|
-
backgroundColor: '#de3535'
|
|
146
|
-
};
|
|
147
|
-
let orange = {
|
|
148
|
-
backgroundColor: '#e57717'
|
|
149
|
-
};
|
|
150
|
-
let yellow = {
|
|
151
|
-
backgroundColor: '#e8b923'
|
|
152
|
-
};
|
|
153
|
-
let light = {
|
|
154
|
-
backgroundColor: '#fff'
|
|
155
|
-
};
|
|
156
|
-
let night = {
|
|
157
|
-
backgroundColor: '#232b38'
|
|
158
|
-
};
|
|
159
|
-
let dark = {
|
|
160
|
-
backgroundColor: '#212121'
|
|
161
|
-
};
|
|
162
|
-
let fixedPosition = {
|
|
163
|
-
position: 'fixed',
|
|
164
|
-
bottom: '0',
|
|
165
|
-
backgroundColor: '#272727',
|
|
166
|
-
padding: '10px',
|
|
167
|
-
borderRadius: '15px 15px 0 0',
|
|
168
|
-
minWidth: '100px',
|
|
169
|
-
textAlign: 'center',
|
|
170
|
-
boxShadow: '0 0 3px #000',
|
|
171
|
-
fontSize: '12px',
|
|
172
|
-
zIndex: '3',
|
|
173
|
-
display: 'flex',
|
|
174
|
-
alignItems: 'center'
|
|
175
|
-
};
|
|
176
133
|
return /*#__PURE__*/React.createElement(I18NProvider, {
|
|
177
134
|
i18n: i18n,
|
|
178
135
|
timeZone: "Asia/Kolkata",
|
|
@@ -194,65 +151,10 @@ export default class Provider extends React.Component {
|
|
|
194
151
|
}
|
|
195
152
|
}, /*#__PURE__*/React.createElement(Container, {
|
|
196
153
|
scroll: "vertical"
|
|
197
|
-
}, this.props.children), /*#__PURE__*/React.createElement(
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
})
|
|
202
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
203
|
-
style: {
|
|
204
|
-
color: '#fff'
|
|
205
|
-
}
|
|
206
|
-
}, "Appearance:"), /*#__PURE__*/React.createElement("div", {
|
|
207
|
-
style: {
|
|
208
|
-
display: 'flex'
|
|
209
|
-
}
|
|
210
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
211
|
-
title: "Light Mode",
|
|
212
|
-
style: Object.assign({}, themeClass, light),
|
|
213
|
-
onClick: () => this.setAppearance('default')
|
|
214
|
-
}), /*#__PURE__*/React.createElement("span", {
|
|
215
|
-
title: "Night Mode",
|
|
216
|
-
style: Object.assign({}, themeClass, night),
|
|
217
|
-
onClick: () => this.setAppearance('dark')
|
|
218
|
-
}), /*#__PURE__*/React.createElement("span", {
|
|
219
|
-
title: "Dark Mode",
|
|
220
|
-
style: Object.assign({}, themeClass, dark),
|
|
221
|
-
onClick: () => this.setAppearance('pureDark')
|
|
222
|
-
}))), /*#__PURE__*/React.createElement("div", {
|
|
223
|
-
style: Object.assign({}, fixedPosition, {
|
|
224
|
-
left: '80%',
|
|
225
|
-
transform: 'translate(-80%)'
|
|
226
|
-
})
|
|
227
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
228
|
-
style: {
|
|
229
|
-
color: '#fff'
|
|
230
|
-
}
|
|
231
|
-
}, "Themes:"), /*#__PURE__*/React.createElement("div", {
|
|
232
|
-
style: {
|
|
233
|
-
display: 'flex'
|
|
234
|
-
}
|
|
235
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
236
|
-
title: "Blue Theme",
|
|
237
|
-
style: themeClass,
|
|
238
|
-
onClick: () => this.setTheme('blue')
|
|
239
|
-
}), /*#__PURE__*/React.createElement("span", {
|
|
240
|
-
title: "Green Theme",
|
|
241
|
-
style: Object.assign({}, themeClass, green),
|
|
242
|
-
onClick: () => this.setTheme('green')
|
|
243
|
-
}), /*#__PURE__*/React.createElement("span", {
|
|
244
|
-
title: "Red Theme",
|
|
245
|
-
style: Object.assign({}, themeClass, red),
|
|
246
|
-
onClick: () => this.setTheme('red')
|
|
247
|
-
}), /*#__PURE__*/React.createElement("span", {
|
|
248
|
-
title: "Orange Theme",
|
|
249
|
-
style: Object.assign({}, themeClass, orange),
|
|
250
|
-
onClick: () => this.setTheme('orange')
|
|
251
|
-
}), /*#__PURE__*/React.createElement("span", {
|
|
252
|
-
title: "Yellow Theme",
|
|
253
|
-
style: Object.assign({}, themeClass, yellow),
|
|
254
|
-
onClick: () => this.setTheme('yellow')
|
|
255
|
-
}))))));
|
|
154
|
+
}, this.props.children), /*#__PURE__*/React.createElement(ThemeTool, {
|
|
155
|
+
onThemeChange: this.setTheme,
|
|
156
|
+
onAppearanceChange: this.setAppearance
|
|
157
|
+
}))));
|
|
256
158
|
}
|
|
257
159
|
|
|
258
160
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React, { useState } from 'react';
|
|
4
4
|
import PropTypes from 'prop-types'; //components
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
/**** Libraries ****/
|
|
4
4
|
import React, { Component } from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
/**** Libraries ****/
|
|
4
4
|
import React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import DropBox from '@zohodesk/components/lib/DropBox/DropBox';
|
|
4
3
|
import Popup from '@zohodesk/components/lib/Popup/Popup';
|
|
5
4
|
import ListItem from '@zohodesk/components/lib/ListItem/ListItem';
|
|
6
5
|
import TextBox from '@zohodesk/components/lib/TextBox/TextBox';
|
|
7
6
|
import DropDownHeading from '@zohodesk/components/lib/DropDown/DropDownHeading';
|
|
8
7
|
import Icon from '@zohodesk/icons/lib/Icon';
|
|
9
8
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
9
|
+
import ResponsiveDropBox from '@zohodesk/components/lib/ResponsiveDropBox/ResponsiveDropBox';
|
|
10
|
+
import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
|
|
10
11
|
import style from './SelectDropdown.module.css';
|
|
11
12
|
|
|
12
13
|
class SelectDropdown extends React.Component {
|
|
@@ -32,6 +33,17 @@ class SelectDropdown extends React.Component {
|
|
|
32
33
|
togglePopup(e, 'bottomRight');
|
|
33
34
|
}
|
|
34
35
|
|
|
36
|
+
responsiveFunc(_ref) {
|
|
37
|
+
let {
|
|
38
|
+
mediaQueryOR
|
|
39
|
+
} = _ref;
|
|
40
|
+
return {
|
|
41
|
+
tabletMode: mediaQueryOR([{
|
|
42
|
+
maxWidth: 700
|
|
43
|
+
}])
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
35
47
|
render() {
|
|
36
48
|
let {
|
|
37
49
|
title,
|
|
@@ -63,40 +75,52 @@ class SelectDropdown extends React.Component {
|
|
|
63
75
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
64
76
|
name: "ZD-down1",
|
|
65
77
|
size: "6"
|
|
66
|
-
})), /*#__PURE__*/React.createElement(
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
78
|
+
})), /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
79
|
+
query: this.responsiveFunc,
|
|
80
|
+
responsiveId: "Helmet"
|
|
81
|
+
}, _ref2 => {
|
|
82
|
+
let {
|
|
83
|
+
tabletMode
|
|
84
|
+
} = _ref2;
|
|
85
|
+
return /*#__PURE__*/React.createElement(ResponsiveDropBox, {
|
|
86
|
+
size: "medium",
|
|
87
|
+
boxPosition: "bottomRight",
|
|
88
|
+
isArrow: true,
|
|
89
|
+
isAnimate: true,
|
|
90
|
+
right: "-25",
|
|
91
|
+
isActive: isPopupOpen && isPopupReady,
|
|
92
|
+
getRef: getContainerRef,
|
|
93
|
+
isResponsivePadding: true,
|
|
94
|
+
alignBox: "row"
|
|
95
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
96
|
+
flexible: true
|
|
97
|
+
}, /*#__PURE__*/React.createElement(Container, {
|
|
98
|
+
alignBox: "column",
|
|
99
|
+
className: `${tabletMode ? '' : style.rulesPopup}`
|
|
100
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
101
|
+
className: style.rulesDepart
|
|
102
|
+
}, /*#__PURE__*/React.createElement(DropDownHeading, {
|
|
103
|
+
text: title
|
|
104
|
+
})), isSearchRequired ? /*#__PURE__*/React.createElement(Box, {
|
|
105
|
+
className: style.searchDepart
|
|
106
|
+
}, /*#__PURE__*/React.createElement(TextBox, {
|
|
107
|
+
name: "Test",
|
|
108
|
+
id: "Test",
|
|
109
|
+
maxLength: "150",
|
|
110
|
+
placeHolder: "Search Department"
|
|
111
|
+
})) : null, /*#__PURE__*/React.createElement(Box, {
|
|
112
|
+
scroll: "vertical",
|
|
113
|
+
flexible: true,
|
|
114
|
+
shrink: true
|
|
115
|
+
}, options && options.length && options.map((obj, index) => /*#__PURE__*/React.createElement(ListItem, {
|
|
116
|
+
key: index,
|
|
117
|
+
autoHover: true,
|
|
118
|
+
value: obj[valueKey],
|
|
119
|
+
active: selectedId == obj[idKey],
|
|
120
|
+
id: obj[idKey],
|
|
121
|
+
onClick: this.handleClick
|
|
122
|
+
}))))));
|
|
123
|
+
}));
|
|
100
124
|
}
|
|
101
125
|
|
|
102
126
|
}
|
package/es/docs/formDocs.js
CHANGED
|
@@ -18,9 +18,13 @@ export { default as DateField } from '../form/fields/DateField/DateField';
|
|
|
18
18
|
export { default as DateField__default } from '../form/fields/DateField/docs/DateField__default.docs';
|
|
19
19
|
export { default as CheckBoxField } from '../form/fields/CheckBoxField/CheckBoxField';
|
|
20
20
|
export { default as CheckBoxField__default } from '../form/fields/CheckBoxField/docs/CheckBoxField__default.docs';
|
|
21
|
+
export { default as CurrencyField } from '../form/fields/CurrencyField/CurrencyField';
|
|
22
|
+
export { default as CurrencyField__default } from '../form/fields/CurrencyField/docs/CurrencyField__default.docs';
|
|
21
23
|
export { default as TagsMultiSelect } from '../form/fields/TagsMultiSelect/TagsMultiSelect';
|
|
22
24
|
export { default as TagsMultiSelect__default } from '../form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs';
|
|
23
25
|
export { default as TagsMultiSelectField } from '../form/fields/TagsMultiSelectField/TagsMultiSelectField';
|
|
24
26
|
export { default as TagsMultiSelectField__default } from '../form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs';
|
|
25
27
|
export { default as TextEditorField } from '../form/fields/TextEditorField/TextEditorField';
|
|
26
|
-
export { default as TextEditorField__default } from '../form/fields/TextEditorField/docs/TextEditorField__default.docs';
|
|
28
|
+
export { default as TextEditorField__default } from '../form/fields/TextEditorField/docs/TextEditorField__default.docs';
|
|
29
|
+
export { default as FieldContainer } from '../form/fields/FieldContainer/FieldContainer';
|
|
30
|
+
export { default as FieldContainer__default } from '../form/fields/FieldContainer/docs/FieldContainer__default.docs';
|