@zohodesk/dot 1.0.0-temp-64 → 1.0.0-temp-65
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 +0 -34
- package/__testUtils__/globals.js +0 -0
- package/build/Unusedfiles.json +1 -0
- package/es/ActionButton/ActionButton.js +6 -10
- package/es/ActionButton/ActionButton.module.css +0 -1
- package/es/ActionButton/docs/ActionButton__default.docs.js +134 -0
- package/es/AlphabeticList/docs/AlphabeticList__default.docs.js +34 -0
- package/es/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +43 -0
- package/es/Appearance/dark/mode/dotDarkMode.module.css +536 -0
- package/es/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +10 -0
- package/es/Appearance/dark/themes/green/greenDarkDotTheme.module.css +10 -0
- package/es/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +10 -0
- package/es/Appearance/dark/themes/red/redDarkDotTheme.module.css +10 -0
- package/es/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +10 -0
- package/es/Appearance/default/mode/dotDefaultMode.module.css +536 -0
- package/es/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +10 -0
- package/es/Appearance/default/themes/green/greenDefaultDotTheme.module.css +10 -0
- package/es/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +10 -0
- package/es/Appearance/default/themes/red/redDefaultDotTheme.module.css +10 -0
- package/es/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +10 -0
- package/es/Attachment/docs/Attachment__default.docs.js +54 -0
- package/es/ChannelIcon/docs/ChannelIcon__default.docs.js +57 -0
- package/es/Drawer/docs/Drawer__default.docs.js +87 -0
- package/es/Drawer/docs/Drawer__multiDrawer.docs.js +112 -0
- package/es/Drawer/docs/Drawer__noFreeze.docs.js +20 -0
- package/es/Drawer/docs/Drawer__withModal.docs.js +74 -0
- package/es/ExternalLink/docs/ExternalLink__default.docs.js +19 -0
- package/es/FlipCard/docs/FlipCard__default.docs.js +66 -0
- package/es/FormAction/docs/FormAction__default.docs.js +72 -0
- package/es/FreezeLayer/docs/FreezeLayer__dark.docs.js +51 -0
- package/es/FreezeLayer/docs/FreezeLayer__default.docs.js +48 -0
- package/es/IconButton/IconButton.js +5 -2
- package/es/IconButton/docs/IconButton__default.docs.js +219 -0
- package/es/Image/docs/Image__default.docs.js +22 -0
- package/es/ImportantNotes/docs/ImportantNotes__default.docs.js +22 -0
- package/es/Link/Link.js +1 -1
- package/es/Link/docs/Link__default.docs.js +36 -0
- package/es/Loader/docs/Loader__default.docs.js +23 -0
- package/es/Message/docs/Message__default.docs.js +55 -0
- package/es/MessageBanner/docs/MessageBanner__default.docs.js +88 -0
- package/es/NewStar/docs/NewStar__default.docs.js +62 -0
- package/es/PlusIcon/docs/PlusIcon__default.docs.js +16 -0
- package/es/Provider.js +46 -46
- package/es/ToastMessage/docs/ToastMessage__custom.docs.js +92 -0
- package/es/ToastMessage/docs/ToastMessage__information.docs.js +54 -0
- package/es/ToastMessage/docs/ToastMessage__primary.docs.js +125 -0
- package/es/ToastMessage/docs/ToastMessage__secondary.docs.js +37 -0
- package/es/ToastMessage/docs/ToastMessage__success.docs.js +61 -0
- package/es/Upload/docs/Upload__default.docs.js +61 -0
- package/es/alert/AlertHeader/docs/AlertHeader__default.docs.js +63 -0
- package/es/alert/AlertLookup/AlertLookup.js +4 -8
- package/es/alert/AlertLookup/docs/AlertLookup__default.docs.js +121 -0
- package/es/avatar/AvatarClose/docs/AvatarClose__default.docs.js +26 -0
- package/es/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +35 -0
- package/es/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +40 -0
- package/es/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +46 -0
- package/es/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +35 -0
- package/es/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +51 -0
- package/es/avatar/AvatarThread/docs/AvatarThread__default.docs.js +147 -0
- package/es/avatar/AvatarUser/docs/AvatarUser__default.docs.js +173 -0
- package/es/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +24 -0
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +6 -6
- package/es/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +34 -0
- package/es/docs/formDocs.js +26 -0
- package/es/docs/generalDocs.js +131 -0
- package/es/docs/lookupDocs.js +44 -0
- package/es/docs/setupDocs.js +22 -0
- package/es/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +228 -0
- package/es/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +111 -0
- package/es/emptystate/EditionPage/docs/EditionPage__default.docs.js +21 -0
- package/es/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +19 -0
- package/es/errorstate/LinkText/docs/LinkText__default.docs.js +17 -0
- package/es/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +19 -0
- package/es/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +20 -0
- package/es/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +19 -0
- package/es/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +19 -0
- package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +20 -0
- package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +19 -0
- package/es/errorstate/WillBack/docs/WillBack__default.docs.js +21 -0
- package/es/form/fields/CheckBoxField/CheckBoxField.js +1 -1
- package/es/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +30 -0
- package/es/form/fields/CurrencyField/CurrencyField.js +2 -2
- package/es/form/fields/DateField/DateField.js +2 -2
- package/es/form/fields/DateField/docs/DateField__default.docs.js +25 -0
- package/es/form/fields/Fields.module.css +5 -7
- package/es/form/fields/MultiSelectField/MultiSelectField.js +2 -2
- package/es/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +48 -0
- package/es/form/fields/PhoneField/docs/PhoneField__default.docs.js +26 -0
- package/es/form/fields/RadioField/RadioField.js +2 -2
- package/es/form/fields/SelectField/SelectField.js +2 -2
- package/es/form/fields/SelectField/docs/SelectField__default.docs.js +58 -0
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +4 -5
- package/es/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +77 -0
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +2 -2
- package/es/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +82 -0
- package/es/form/fields/TextBoxField/TextBoxField.js +2 -2
- package/es/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +45 -0
- package/es/form/fields/TextEditor/TextEditor.js +5 -8
- package/es/form/fields/TextEditor/TextEditor.module.css +1 -2
- package/es/form/fields/TextEditorField/TextEditorField.js +2 -2
- package/es/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +43 -0
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +1 -1
- package/es/form/fields/TextareaField/TextareaField.js +2 -2
- package/es/form/fields/TextareaField/docs/TextareaField__default.docs.js +26 -0
- package/es/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +58 -0
- package/es/form/layout/Field/docs/Field__default.docs.js +25 -0
- package/es/form/layout/Section/docs/Section__default.docs.js +21 -0
- package/es/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +29 -0
- package/es/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +67 -0
- package/es/list/AvatarFlip/docs/AvatarFlip__default.docs.js +100 -0
- package/es/list/BluePrintStatus/BluePrintStatus.module.css +2 -2
- package/es/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +19 -0
- package/es/list/Comment/Comment.js +4 -1
- package/es/list/Comment/docs/Comment__default.docs.js +26 -0
- package/es/list/DotNew/DotNew.module.css +4 -4
- package/es/list/DotNew/docs/DotNew__default.docs.js +20 -0
- package/es/list/GridStencils/docs/GridStencils__default.docs.js +35 -0
- package/es/list/Icons/AddNewIcon.js +13 -4
- package/es/list/Icons/CompleteIcon.js +13 -4
- package/es/list/Icons/DeleteIcon.js +13 -4
- package/es/list/Icons/EditIcon.js +13 -4
- package/es/list/Icons/ReadUnreadIcon.js +9 -3
- package/es/list/Icons/SmartIcon.js +13 -4
- package/es/list/Icons/docs/FloatingIcons__default.docs.js +24 -0
- package/es/list/ListLayout/docs/ListLayout__default.docs.js +60 -0
- package/es/list/ListStencils/docs/ListStencils__default.docs.js +20 -0
- package/es/list/SecondaryText/docs/ContactName__default.docs.js +23 -0
- package/es/list/SecondryPanel/docs/SecondryPanelDocs.module.css +37 -0
- package/es/list/SecondryPanel/docs/SecondryPanel__default.docs.js +81 -0
- package/es/list/SentimentStatus/docs/SentimentStatus__default.docs.js +19 -0
- package/es/list/Subject/docs/Subject__default.docs.js +44 -0
- package/es/list/TagNew/docs/TagNew__default.docs.js +23 -0
- package/es/list/Thread/Thread.js +10 -5
- package/es/list/Thread/docs/Thread__default.docs.js +22 -0
- package/es/list/UserTime/docs/UserTime__default.docs.js +157 -0
- package/es/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +129 -0
- package/es/list/status/StatusListItem/docs/StatusListItem__default.docs.js +27 -0
- package/es/lookup/EmptyPage/docs/EmptyPage__account.docs.js +20 -0
- package/es/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +20 -0
- package/es/lookup/EmptyPage/docs/EmptyPage__default.docs.js +17 -0
- package/es/lookup/EmptyPage/docs/EmptyPage__product.docs.js +20 -0
- package/es/lookup/Lookup/docs/Lookup__contact.docs.js +196 -0
- package/es/lookup/Lookup/docs/Lookup__default.docs.js +68 -0
- package/es/lookup/header/Close/docs/Close__default.docs.js +19 -0
- package/es/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +41 -0
- package/es/lookup/header/Search/docs/Search__default.docs.js +124 -0
- package/es/lookup/header/TicketHeader/TicketHeader.js +1 -3
- package/es/lookup/header/TicketHeader/TicketHeader.module.css +1 -2
- package/es/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +83 -0
- package/es/lookup/header/Title/docs/Title__default.docs.js +21 -0
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +1 -0
- package/es/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +75 -0
- package/es/setup/header/Button/docs/Button__default.docs.js +22 -0
- package/es/setup/header/Link/docs/Link__default.docs.js +23 -0
- package/es/setup/header/Search/docs/Search__default.docs.js +41 -0
- package/es/setup/header/Views/docs/Views__default.docs.js +24 -0
- package/es/setup/helptips/Description/docs/Description__default.docs.js +26 -0
- package/es/setup/helptips/Link/docs/Link__default.docs.js +27 -0
- package/es/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +30 -0
- package/es/setup/helptips/Title/docs/Title__default.docs.js +26 -0
- package/es/setup/table/Table/docs/Table__default.docs.js +181 -0
- package/es/setup/table/Text/docs/Text__default.docs.js +35 -0
- package/es/svg/docs/SVG__default.docs.js +49 -0
- package/es/version2/AlertClose/docs/AlertClose__default.docs.js +47 -0
- package/es/version2/GlobalNotification/GlobalNotification.js +6 -18
- package/es/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +95 -0
- package/es/version2/alertIcons/docs/AlertIcons__default.docs.js +138 -0
- package/es/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +18 -0
- package/es/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +20 -0
- package/es/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +30 -0
- package/es/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +18 -0
- package/es/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +20 -0
- package/es/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +18 -0
- package/es/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +56 -0
- package/es/version2/lookup/AlertLookup/AlertLookup.js +4 -8
- package/es/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +147 -0
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +5 -13
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +5 -4
- package/es/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +92 -0
- package/es/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +57 -0
- package/lib/ActionButton/ActionButton.js +6 -10
- package/lib/ActionButton/ActionButton.module.css +0 -1
- package/lib/ActionButton/docs/ActionButton__default.docs.js +187 -0
- package/lib/AlphabeticList/docs/AlphabeticList__default.docs.js +82 -0
- package/lib/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +91 -0
- package/lib/Appearance/dark/mode/dotDarkMode.module.css +536 -0
- package/lib/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +10 -0
- package/lib/Appearance/dark/themes/green/greenDarkDotTheme.module.css +10 -0
- package/lib/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +10 -0
- package/lib/Appearance/dark/themes/red/redDarkDotTheme.module.css +10 -0
- package/lib/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +10 -0
- package/lib/Appearance/default/mode/dotDefaultMode.module.css +536 -0
- package/lib/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +10 -0
- package/lib/Appearance/default/themes/green/greenDefaultDotTheme.module.css +10 -0
- package/lib/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +10 -0
- package/lib/Appearance/default/themes/red/redDefaultDotTheme.module.css +10 -0
- package/lib/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +10 -0
- package/lib/Attachment/docs/Attachment__default.docs.js +104 -0
- package/lib/ChannelIcon/docs/ChannelIcon__default.docs.js +112 -0
- package/lib/Drawer/docs/Drawer__default.docs.js +143 -0
- package/lib/Drawer/docs/Drawer__multiDrawer.docs.js +171 -0
- package/lib/Drawer/docs/Drawer__noFreeze.docs.js +65 -0
- package/lib/Drawer/docs/Drawer__withModal.docs.js +131 -0
- package/lib/ExternalLink/docs/ExternalLink__default.docs.js +68 -0
- package/lib/FlipCard/docs/FlipCard__default.docs.js +121 -0
- package/lib/FormAction/docs/FormAction__default.docs.js +127 -0
- package/lib/FreezeLayer/docs/FreezeLayer__dark.docs.js +103 -0
- package/lib/FreezeLayer/docs/FreezeLayer__default.docs.js +100 -0
- package/lib/IconButton/IconButton.js +5 -2
- package/lib/IconButton/docs/IconButton__default.docs.js +272 -0
- package/lib/Image/docs/Image__default.docs.js +76 -0
- package/lib/ImportantNotes/docs/ImportantNotes__default.docs.js +68 -0
- package/lib/Link/Link.js +1 -1
- package/lib/Link/docs/Link__default.docs.js +90 -0
- package/lib/Loader/docs/Loader__default.docs.js +68 -0
- package/lib/Message/docs/Message__default.docs.js +100 -0
- package/lib/MessageBanner/docs/MessageBanner__default.docs.js +132 -0
- package/lib/NewStar/docs/NewStar__default.docs.js +111 -0
- package/lib/PlusIcon/docs/PlusIcon__default.docs.js +70 -0
- package/lib/Provider.js +46 -46
- package/lib/ToastMessage/docs/ToastMessage__custom.docs.js +151 -0
- package/lib/ToastMessage/docs/ToastMessage__information.docs.js +108 -0
- package/lib/ToastMessage/docs/ToastMessage__primary.docs.js +175 -0
- package/lib/ToastMessage/docs/ToastMessage__secondary.docs.js +91 -0
- package/lib/ToastMessage/docs/ToastMessage__success.docs.js +115 -0
- package/lib/Upload/docs/Upload__default.docs.js +110 -0
- package/lib/alert/AlertHeader/docs/AlertHeader__default.docs.js +112 -0
- package/lib/alert/AlertLookup/AlertLookup.js +4 -8
- package/lib/alert/AlertLookup/docs/AlertLookup__default.docs.js +175 -0
- package/lib/avatar/AvatarClose/docs/AvatarClose__default.docs.js +72 -0
- package/lib/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +81 -0
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +95 -0
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +99 -0
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +90 -0
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +104 -0
- package/lib/avatar/AvatarThread/docs/AvatarThread__default.docs.js +198 -0
- package/lib/avatar/AvatarUser/docs/AvatarUser__default.docs.js +224 -0
- package/lib/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +74 -0
- package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +6 -6
- package/lib/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +80 -0
- package/lib/docs/formDocs.js +215 -0
- package/lib/docs/generalDocs.js +1039 -0
- package/lib/docs/lookupDocs.js +287 -0
- package/lib/docs/setupDocs.js +183 -0
- package/lib/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +279 -0
- package/lib/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +171 -0
- package/lib/emptystate/EditionPage/docs/EditionPage__default.docs.js +74 -0
- package/lib/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +69 -0
- package/lib/errorstate/LinkText/docs/LinkText__default.docs.js +67 -0
- package/lib/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +68 -0
- package/lib/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +70 -0
- package/lib/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +69 -0
- package/lib/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +69 -0
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +70 -0
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +69 -0
- package/lib/errorstate/WillBack/docs/WillBack__default.docs.js +71 -0
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +1 -1
- package/lib/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +80 -0
- package/lib/form/fields/CurrencyField/CurrencyField.js +2 -2
- package/lib/form/fields/DateField/DateField.js +2 -2
- package/lib/form/fields/DateField/docs/DateField__default.docs.js +74 -0
- package/lib/form/fields/Fields.module.css +5 -7
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +2 -2
- package/lib/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +100 -0
- package/lib/form/fields/PhoneField/docs/PhoneField__default.docs.js +76 -0
- package/lib/form/fields/RadioField/RadioField.js +2 -2
- package/lib/form/fields/SelectField/SelectField.js +2 -2
- package/lib/form/fields/SelectField/docs/SelectField__default.docs.js +110 -0
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +4 -5
- package/lib/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +126 -0
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +2 -2
- package/lib/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +96 -0
- package/lib/form/fields/TextBoxField/TextBoxField.js +2 -2
- package/lib/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +97 -0
- package/lib/form/fields/TextEditor/TextEditor.js +5 -9
- package/lib/form/fields/TextEditor/TextEditor.module.css +1 -2
- package/lib/form/fields/TextEditorField/TextEditorField.js +2 -2
- package/lib/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +94 -0
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +1 -1
- package/lib/form/fields/TextareaField/TextareaField.js +2 -2
- package/lib/form/fields/TextareaField/docs/TextareaField__default.docs.js +76 -0
- package/lib/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +103 -0
- package/lib/form/layout/Field/docs/Field__default.docs.js +74 -0
- package/lib/form/layout/Section/docs/Section__default.docs.js +71 -0
- package/lib/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +80 -0
- package/lib/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +118 -0
- package/lib/list/AvatarFlip/docs/AvatarFlip__default.docs.js +149 -0
- package/lib/list/BluePrintStatus/BluePrintStatus.module.css +2 -2
- package/lib/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +65 -0
- package/lib/list/Comment/Comment.js +4 -1
- package/lib/list/Comment/docs/Comment__default.docs.js +76 -0
- package/lib/list/DotNew/DotNew.module.css +4 -4
- package/lib/list/DotNew/docs/DotNew__default.docs.js +70 -0
- package/lib/list/GridStencils/docs/GridStencils__default.docs.js +86 -0
- package/lib/list/Icons/AddNewIcon.js +11 -4
- package/lib/list/Icons/CompleteIcon.js +11 -4
- package/lib/list/Icons/DeleteIcon.js +11 -4
- package/lib/list/Icons/EditIcon.js +11 -4
- package/lib/list/Icons/ReadUnreadIcon.js +7 -3
- package/lib/list/Icons/SmartIcon.js +11 -4
- package/lib/list/Icons/docs/FloatingIcons__default.docs.js +81 -0
- package/lib/list/ListLayout/docs/ListLayout__default.docs.js +111 -0
- package/lib/list/ListStencils/docs/ListStencils__default.docs.js +70 -0
- package/lib/list/SecondaryText/docs/ContactName__default.docs.js +73 -0
- package/lib/list/SecondryPanel/docs/SecondryPanelDocs.module.css +37 -0
- package/lib/list/SecondryPanel/docs/SecondryPanel__default.docs.js +133 -0
- package/lib/list/SentimentStatus/docs/SentimentStatus__default.docs.js +65 -0
- package/lib/list/Subject/docs/Subject__default.docs.js +94 -0
- package/lib/list/TagNew/docs/TagNew__default.docs.js +73 -0
- package/lib/list/Thread/Thread.js +10 -5
- package/lib/list/Thread/docs/Thread__default.docs.js +72 -0
- package/lib/list/UserTime/docs/UserTime__default.docs.js +196 -0
- package/lib/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +178 -0
- package/lib/list/status/StatusListItem/docs/StatusListItem__default.docs.js +77 -0
- package/lib/lookup/EmptyPage/docs/EmptyPage__account.docs.js +70 -0
- package/lib/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +70 -0
- package/lib/lookup/EmptyPage/docs/EmptyPage__default.docs.js +67 -0
- package/lib/lookup/EmptyPage/docs/EmptyPage__product.docs.js +70 -0
- package/lib/lookup/Lookup/docs/Lookup__contact.docs.js +247 -0
- package/lib/lookup/Lookup/docs/Lookup__default.docs.js +121 -0
- package/lib/lookup/header/Close/docs/Close__default.docs.js +69 -0
- package/lib/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +89 -0
- package/lib/lookup/header/Search/docs/Search__default.docs.js +175 -0
- package/lib/lookup/header/TicketHeader/TicketHeader.js +1 -3
- package/lib/lookup/header/TicketHeader/TicketHeader.module.css +1 -2
- package/lib/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +133 -0
- package/lib/lookup/header/Title/docs/Title__default.docs.js +71 -0
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +1 -0
- package/lib/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +119 -0
- package/lib/setup/header/Button/docs/Button__default.docs.js +68 -0
- package/lib/setup/header/Link/docs/Link__default.docs.js +69 -0
- package/lib/setup/header/Search/docs/Search__default.docs.js +92 -0
- package/lib/setup/header/Views/docs/Views__default.docs.js +70 -0
- package/lib/setup/helptips/Description/docs/Description__default.docs.js +72 -0
- package/lib/setup/helptips/Link/docs/Link__default.docs.js +73 -0
- package/lib/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +76 -0
- package/lib/setup/helptips/Title/docs/Title__default.docs.js +72 -0
- package/lib/setup/table/Table/docs/Table__default.docs.js +238 -0
- package/lib/setup/table/Text/docs/Text__default.docs.js +84 -0
- package/lib/svg/docs/SVG__default.docs.js +101 -0
- package/lib/version2/AlertClose/docs/AlertClose__default.docs.js +97 -0
- package/lib/version2/GlobalNotification/GlobalNotification.js +6 -18
- package/lib/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +143 -0
- package/lib/version2/alertIcons/docs/AlertIcons__default.docs.js +187 -0
- package/lib/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +68 -0
- package/lib/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +70 -0
- package/lib/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +80 -0
- package/lib/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +68 -0
- package/lib/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +70 -0
- package/lib/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +68 -0
- package/lib/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +105 -0
- package/lib/version2/lookup/AlertLookup/AlertLookup.js +4 -8
- package/lib/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +201 -0
- package/lib/version2/notification/DesktopNotification/DesktopNotification.js +5 -13
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +5 -4
- package/lib/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +142 -0
- package/lib/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +108 -0
- package/package.json +9 -13
- package/src/ActionButton/ActionButton.js +197 -0
- package/src/ActionButton/ActionButton.module.css +120 -0
- package/src/ActionButton/docs/ActionButton__default.docs.js +110 -0
- package/src/AlphabeticList/AlphabeticList.js +176 -0
- package/src/AlphabeticList/AlphabeticList.module.css +54 -0
- package/src/AlphabeticList/docs/AlphabeticList__default.docs.js +36 -0
- package/src/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +44 -0
- package/src/Appearance/dark/mode/dotDarkMode.module.css +536 -0
- package/src/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +10 -0
- package/src/Appearance/dark/themes/green/greenDarkDotTheme.module.css +10 -0
- package/src/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +10 -0
- package/src/Appearance/dark/themes/red/redDarkDotTheme.module.css +10 -0
- package/src/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +10 -0
- package/src/Appearance/default/mode/dotDefaultMode.module.css +536 -0
- package/src/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +10 -0
- package/src/Appearance/default/themes/green/greenDefaultDotTheme.module.css +10 -0
- package/src/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +10 -0
- package/src/Appearance/default/themes/red/redDefaultDotTheme.module.css +10 -0
- package/src/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +10 -0
- package/src/Attachment/Attachment.js +119 -0
- package/src/Attachment/Attachment.module.css +121 -0
- package/src/Attachment/docs/Attachment__default.docs.js +63 -0
- package/src/ChannelIcon/ChannelIcon.js +154 -0
- package/src/ChannelIcon/ChannelIcon.module.css +208 -0
- package/src/ChannelIcon/docs/ChannelIcon__default.docs.js +63 -0
- package/src/Drawer/Drawer.js +398 -0
- package/src/Drawer/Drawer.module.css +103 -0
- package/src/Drawer/docs/Drawer__default.docs.js +86 -0
- package/src/Drawer/docs/Drawer__multiDrawer.docs.js +111 -0
- package/src/Drawer/docs/Drawer__noFreeze.docs.js +20 -0
- package/src/Drawer/docs/Drawer__withModal.docs.js +76 -0
- package/src/ExternalLink/ExternalLink.js +75 -0
- package/src/ExternalLink/ExternalLink.module.css +4 -0
- package/src/ExternalLink/__tests__/ExternalLink.spec.js +28 -0
- package/src/ExternalLink/docs/ExternalLink__default.docs.js +24 -0
- package/src/FlipCard/FlipCard.js +193 -0
- package/src/FlipCard/FlipCard.module.css +35 -0
- package/src/FlipCard/docs/FlipCard__default.docs.js +76 -0
- package/src/FormAction/FormAction.js +126 -0
- package/src/FormAction/FormAction.module.css +57 -0
- package/src/FormAction/docs/FormAction__default.docs.js +93 -0
- package/src/FreezeLayer/FreezeLayer.js +159 -0
- package/src/FreezeLayer/FreezeLayer.module.css +38 -0
- package/src/FreezeLayer/docs/FreezeLayer__dark.docs.js +52 -0
- package/src/FreezeLayer/docs/FreezeLayer__default.docs.js +51 -0
- package/src/IconButton/IconButton.js +189 -0
- package/src/IconButton/IconButton.module.css +22 -0
- package/src/IconButton/docs/IconButton__default.docs.js +158 -0
- package/src/Image/Image.js +58 -0
- package/src/Image/Image.module.css +11 -0
- package/src/Image/docs/Image__default.docs.js +18 -0
- package/src/ImportantNotes/ImportantNotes.js +57 -0
- package/src/ImportantNotes/ImportantNotes.module.css +15 -0
- package/src/ImportantNotes/docs/ImportantNotes__default.docs.js +22 -0
- package/src/Link/Link.js +123 -0
- package/src/Link/Link.module.css +4 -0
- package/src/Link/LinkContext.js +9 -0
- package/src/Link/docs/Link__default.docs.js +91 -0
- package/src/Loader/Loader.js +22 -0
- package/src/Loader/Loader.module.css +25 -0
- package/src/Loader/docs/Loader__default.docs.js +21 -0
- package/src/Message/Message.js +109 -0
- package/src/Message/Message.module.css +70 -0
- package/src/Message/docs/Message__default.docs.js +53 -0
- package/src/MessageBanner/MessageBanner.js +83 -0
- package/src/MessageBanner/MessageBanner.module.css +38 -0
- package/src/MessageBanner/docs/MessageBanner__default.docs.js +87 -0
- package/src/NewStar/NewStar.js +83 -0
- package/src/NewStar/NewStar.module.css +73 -0
- package/src/NewStar/docs/NewStar__default.docs.js +39 -0
- package/src/PlusIcon/PlusIcon.js +64 -0
- package/src/PlusIcon/PlusIcon.module.css +16 -0
- package/src/PlusIcon/docs/PlusIcon__default.docs.js +18 -0
- package/src/Provider.js +203 -0
- package/src/ToastMessage/ToastMessage.js +315 -0
- package/src/ToastMessage/ToastMessage.module.css +257 -0
- package/src/ToastMessage/docs/ToastMessage__custom.docs.js +97 -0
- package/src/ToastMessage/docs/ToastMessage__information.docs.js +57 -0
- package/src/ToastMessage/docs/ToastMessage__primary.docs.js +135 -0
- package/src/ToastMessage/docs/ToastMessage__secondary.docs.js +40 -0
- package/src/ToastMessage/docs/ToastMessage__success.docs.js +68 -0
- package/src/Upload/Upload.js +103 -0
- package/src/Upload/Upload.module.css +106 -0
- package/src/Upload/docs/Upload__default.docs.js +72 -0
- package/src/actions/AutoClose.js +51 -0
- package/src/actions/index.js +22 -0
- package/src/alert/AlertHeader/AlertHeader.js +122 -0
- package/src/alert/AlertHeader/AlertHeader.module.css +63 -0
- package/src/alert/AlertHeader/docs/AlertHeader__default.docs.js +73 -0
- package/src/alert/AlertLookup/AlertLookup.js +214 -0
- package/src/alert/AlertLookup/AlertLookup.module.css +23 -0
- package/src/alert/AlertLookup/docs/AlertLookup__default.docs.js +124 -0
- package/src/avatar/AvatarClose/AvatarClose.js +49 -0
- package/src/avatar/AvatarClose/AvatarClose.module.css +31 -0
- package/src/avatar/AvatarClose/docs/AvatarClose__default.docs.js +26 -0
- package/src/avatar/AvatarCollision/AvatarCollision.js +81 -0
- package/src/avatar/AvatarCollision/AvatarCollision.module.css +55 -0
- package/src/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +40 -0
- package/src/avatar/AvatarIcon/AvatarIcon.js +99 -0
- package/src/avatar/AvatarIcon/AvatarIcon.module.css +59 -0
- package/src/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +49 -0
- package/src/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +36 -0
- package/src/avatar/AvatarStatus/AvatarStatus.js +95 -0
- package/src/avatar/AvatarStatus/AvatarStatus.module.css +96 -0
- package/src/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +38 -0
- package/src/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +63 -0
- package/src/avatar/AvatarThread/AvatarThread.js +136 -0
- package/src/avatar/AvatarThread/AvatarThread.module.css +113 -0
- package/src/avatar/AvatarThread/docs/AvatarThread__default.docs.js +167 -0
- package/src/avatar/AvatarUser/AvatarUser.js +160 -0
- package/src/avatar/AvatarUser/AvatarUser.module.css +100 -0
- package/src/avatar/AvatarUser/docs/AvatarUser__default.docs.js +148 -0
- package/src/avatar/AvatarWithTeam/AvatarWithTeam.js +134 -0
- package/src/avatar/AvatarWithTeam/AvatarWithTeam.module.css +16 -0
- package/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +50 -0
- package/src/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +28 -0
- package/src/deprecated/SelectDropdown/SelectDropdown.js +122 -0
- package/src/deprecated/SelectDropdown/SelectDropdown.module.css +47 -0
- package/src/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +31 -0
- package/src/docs/formDocs.js +26 -0
- package/src/docs/generalDocs.js +162 -0
- package/src/docs/lookupDocs.js +52 -0
- package/src/docs/setupDocs.js +25 -0
- package/src/dropdown/ToggleDropDown/ToggleDropDown.js +950 -0
- package/src/dropdown/ToggleDropDown/ToggleDropDown.module.css +84 -0
- package/src/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +242 -0
- package/src/emptystate/CommonEmptyState/CommonEmptyState.js +116 -0
- package/src/emptystate/CommonEmptyState/CommonEmptyState.module.css +77 -0
- package/src/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +107 -0
- package/src/emptystate/EditionPage/EditionPage.css +37 -0
- package/src/emptystate/EditionPage/EditionPage.js +69 -0
- package/src/emptystate/EditionPage/docs/EditionPage__default.docs.js +23 -0
- package/src/errorstate/EmptyStates.module.css +85 -0
- package/src/errorstate/Inconvenience/Inconvenience.js +132 -0
- package/src/errorstate/Inconvenience/Inconvenience.module.css +4 -0
- package/src/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +19 -0
- package/src/errorstate/LinkText/LinkText.js +35 -0
- package/src/errorstate/LinkText/LinkText.module.css +6 -0
- package/src/errorstate/LinkText/docs/LinkText__default.docs.js +13 -0
- package/src/errorstate/NoRequestFound/NoRequestFound.js +132 -0
- package/src/errorstate/NoRequestFound/NoRequestFound.module.css +3 -0
- package/src/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +19 -0
- package/src/errorstate/PermissionPlay/PermissionPlay.js +127 -0
- package/src/errorstate/PermissionPlay/PermissionPlay.module.css +34 -0
- package/src/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +20 -0
- package/src/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +132 -0
- package/src/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -0
- package/src/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +19 -0
- package/src/errorstate/UnableToProcess/UnableToProcess.js +130 -0
- package/src/errorstate/UnableToProcess/UnableToProcess.module.css +3 -0
- package/src/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +19 -0
- package/src/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +130 -0
- package/src/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -0
- package/src/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +20 -0
- package/src/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +19 -0
- package/src/errorstate/WillBack/WillBack.js +120 -0
- package/src/errorstate/WillBack/WillBack.module.css +36 -0
- package/src/errorstate/WillBack/docs/WillBack__default.docs.js +21 -0
- package/src/form/fields/CheckBoxField/CheckBoxField.js +220 -0
- package/src/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +32 -0
- package/src/form/fields/CurrencyField/CurrencyField.js +267 -0
- package/src/form/fields/DateField/DateField.js +281 -0
- package/src/form/fields/DateField/docs/DateField__default.docs.js +24 -0
- package/src/form/fields/Fields.module.css +145 -0
- package/src/form/fields/MultiSelectField/MultiSelectField.js +311 -0
- package/src/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +53 -0
- package/src/form/fields/PhoneField/PhoneField.js +227 -0
- package/src/form/fields/PhoneField/docs/PhoneField__default.docs.js +26 -0
- package/src/form/fields/RadioField/RadioField.js +181 -0
- package/src/form/fields/SelectField/SelectField.js +296 -0
- package/src/form/fields/SelectField/docs/SelectField__default.docs.js +48 -0
- package/src/form/fields/TagsMultiSelect/TagsMultiSelect.js +331 -0
- package/src/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +95 -0
- package/src/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +55 -0
- package/src/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +342 -0
- package/src/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +6 -0
- package/src/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +58 -0
- package/src/form/fields/TextBoxField/TextBoxField.js +274 -0
- package/src/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +38 -0
- package/src/form/fields/TextEditor/TextEditor.js +440 -0
- package/src/form/fields/TextEditor/TextEditor.module.css +582 -0
- package/src/form/fields/TextEditorField/TextEditorField.js +286 -0
- package/src/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +62 -0
- package/src/form/fields/TextEditorWrapper/TextEditorWrapper.js +239 -0
- package/src/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +26 -0
- package/src/form/fields/TextareaField/TextareaField.js +247 -0
- package/src/form/fields/TextareaField/docs/TextareaField__default.docs.js +25 -0
- package/src/form/fields/ValidationMessage/ValidationMessage.js +77 -0
- package/src/form/fields/ValidationMessage/ValidationMessage.module.css +22 -0
- package/src/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +66 -0
- package/src/form/layout/Field/Field.js +53 -0
- package/src/form/layout/Field/Field.module.css +22 -0
- package/src/form/layout/Field/docs/Field__default.docs.js +20 -0
- package/src/form/layout/Section/ModuleFormSection.module.css +3 -0
- package/src/form/layout/Section/Section.js +47 -0
- package/src/form/layout/Section/docs/Section__default.docs.js +21 -0
- package/src/i18n.js +5498 -0
- package/src/index.js +8 -0
- package/src/layout/SetupDetailLayout/SetupDetailLayout.js +274 -0
- package/src/layout/SetupDetailLayout/SetupDetailLayout.module.css +116 -0
- package/src/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +34 -0
- package/src/layout/SetupDetailLayout/index.js +4 -0
- package/src/layout/SubtabLayout/SubtabLayout.js +235 -0
- package/src/layout/SubtabLayout/SubtabLayout.module.css +120 -0
- package/src/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +53 -0
- package/src/layout/SubtabLayout/index.js +4 -0
- package/src/list/AvatarFlip/AvatarFlip.js +106 -0
- package/src/list/AvatarFlip/AvatarFlip.module.css +3 -0
- package/src/list/AvatarFlip/docs/AvatarFlip__default.docs.js +82 -0
- package/src/list/BluePrintStatus/BluePrintStatus.js +28 -0
- package/src/list/BluePrintStatus/BluePrintStatus.module.css +14 -0
- package/src/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +20 -0
- package/src/list/Comment/Comment.js +54 -0
- package/src/list/Comment/Comment.module.css +24 -0
- package/src/list/Comment/docs/Comment__default.docs.js +22 -0
- package/src/list/DepartmentDropDown/DepartmentDropDown.js +119 -0
- package/src/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -0
- package/src/list/Dot/Dot.js +27 -0
- package/src/list/Dot/Dot.module.css +15 -0
- package/src/list/DotNew/DotNew.js +29 -0
- package/src/list/DotNew/DotNew.module.css +22 -0
- package/src/list/DotNew/docs/DotNew__default.docs.js +18 -0
- package/src/list/GridStencils/GridStencils.js +46 -0
- package/src/list/GridStencils/GridStencils.module.css +102 -0
- package/src/list/GridStencils/docs/GridStencils__default.docs.js +30 -0
- package/src/list/Icons/AddNewIcon.js +34 -0
- package/src/list/Icons/CompleteIcon.js +35 -0
- package/src/list/Icons/DeleteIcon.js +36 -0
- package/src/list/Icons/EditIcon.js +36 -0
- package/src/list/Icons/FloatingIcons.js +32 -0
- package/src/list/Icons/Icons.module.css +16 -0
- package/src/list/Icons/ReadUnreadIcon.js +44 -0
- package/src/list/Icons/SmartIcon.js +37 -0
- package/src/list/Icons/docs/FloatingIcons__default.docs.js +26 -0
- package/src/list/ListLayout/ListLayout.js +117 -0
- package/src/list/ListLayout/ListLayout.module.css +50 -0
- package/src/list/ListLayout/docs/ListLayout__default.docs.js +54 -0
- package/src/list/ListStencils/ListStencils.js +45 -0
- package/src/list/ListStencils/ListStencils.module.css +62 -0
- package/src/list/ListStencils/docs/ListStencils__default.docs.js +18 -0
- package/src/list/SecondaryText/AccountName.js +130 -0
- package/src/list/SecondaryText/ContactName.js +137 -0
- package/src/list/SecondaryText/DepartmentText.js +34 -0
- package/src/list/SecondaryText/Email.js +86 -0
- package/src/list/SecondaryText/HappinessRating.js +37 -0
- package/src/list/SecondaryText/PhoneNumber.js +93 -0
- package/src/list/SecondaryText/PriorityText.js +40 -0
- package/src/list/SecondaryText/SecondaryText.js +43 -0
- package/src/list/SecondaryText/SecondaryText.module.css +126 -0
- package/src/list/SecondaryText/StatusText.js +42 -0
- package/src/list/SecondaryText/TicketId.js +78 -0
- package/src/list/SecondaryText/Website.js +59 -0
- package/src/list/SecondaryText/docs/ContactName__default.docs.js +18 -0
- package/src/list/SecondaryText/index.js +11 -0
- package/src/list/SecondryPanel/SecondryPanel.js +144 -0
- package/src/list/SecondryPanel/SecondryPanel.module.css +6 -0
- package/src/list/SecondryPanel/docs/SecondryPanelDocs.module.css +37 -0
- package/src/list/SecondryPanel/docs/SecondryPanel__default.docs.js +90 -0
- package/src/list/SentimentStatus/SentimentStatus.js +32 -0
- package/src/list/SentimentStatus/SentimentStatus.module.css +9 -0
- package/src/list/SentimentStatus/docs/SentimentStatus__default.docs.js +20 -0
- package/src/list/Subject/Subject.js +88 -0
- package/src/list/Subject/Subject.module.css +27 -0
- package/src/list/Subject/docs/Subject__default.docs.js +34 -0
- package/src/list/TagNew/TagNew.js +40 -0
- package/src/list/TagNew/TagNew.module.css +108 -0
- package/src/list/TagNew/docs/TagNew__default.docs.js +18 -0
- package/src/list/Thread/Thread.js +46 -0
- package/src/list/Thread/Thread.module.css +31 -0
- package/src/list/Thread/docs/Thread__default.docs.js +18 -0
- package/src/list/UserTime/UserTime.js +138 -0
- package/src/list/UserTime/UserTime.module.css +52 -0
- package/src/list/UserTime/docs/UserTime__default.docs.js +114 -0
- package/src/list/listCommon.module.css +52 -0
- package/src/list/status/StatusDropdown/StatusDropdown.js +538 -0
- package/src/list/status/StatusDropdown/StatusDropdown.module.css +76 -0
- package/src/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +92 -0
- package/src/list/status/StatusListItem/StatusListItem.js +149 -0
- package/src/list/status/StatusListItem/StatusListItem.module.css +81 -0
- package/src/list/status/StatusListItem/docs/StatusListItem__default.docs.js +19 -0
- package/src/lookup/EmptyPage/EmptyPage.js +62 -0
- package/src/lookup/EmptyPage/LookupEmptyPage.module.css +12 -0
- package/src/lookup/EmptyPage/docs/EmptyPage__account.docs.js +17 -0
- package/src/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +17 -0
- package/src/lookup/EmptyPage/docs/EmptyPage__default.docs.js +16 -0
- package/src/lookup/EmptyPage/docs/EmptyPage__product.docs.js +17 -0
- package/src/lookup/Lookup/Lookup.js +113 -0
- package/src/lookup/Lookup/Lookup.module.css +26 -0
- package/src/lookup/Lookup/docs/Lookup__contact.docs.js +184 -0
- package/src/lookup/Lookup/docs/Lookup__default.docs.js +59 -0
- package/src/lookup/Section/LookupSection.module.css +8 -0
- package/src/lookup/Section/Section.js +27 -0
- package/src/lookup/header/Close/Close.js +36 -0
- package/src/lookup/header/Close/LookupClose.module.css +15 -0
- package/src/lookup/header/Close/docs/Close__default.docs.js +17 -0
- package/src/lookup/header/ModuleHeader/ModuleHeader.js +97 -0
- package/src/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +40 -0
- package/src/lookup/header/Search/LookupSearch.module.css +48 -0
- package/src/lookup/header/Search/Search.js +249 -0
- package/src/lookup/header/Search/docs/Search__default.docs.js +106 -0
- package/src/lookup/header/TicketHeader/TicketHeader.js +123 -0
- package/src/lookup/header/TicketHeader/TicketHeader.module.css +19 -0
- package/src/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +63 -0
- package/src/lookup/header/Title/LookupTitle.module.css +20 -0
- package/src/lookup/header/Title/Title.js +38 -0
- package/src/lookup/header/Title/docs/Title__default.docs.js +17 -0
- package/src/lookup/header/ViewDropDown/ViewDropDown.js +199 -0
- package/src/lookup/header/ViewDropDown/ViewDropDown.module.css +46 -0
- package/src/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +54 -0
- package/src/lookup/header/lookupHeaderCommon.module.css +25 -0
- package/src/lookup/header/lookupHeaderCommonResponsive.module.css +15 -0
- package/src/setup/header/Button/Button.js +40 -0
- package/src/setup/header/Button/HeaderButton.module.css +3 -0
- package/src/setup/header/Button/docs/Button__default.docs.js +21 -0
- package/src/setup/header/Link/HeaderLink.module.css +15 -0
- package/src/setup/header/Link/Link.js +48 -0
- package/src/setup/header/Link/docs/Link__default.docs.js +20 -0
- package/src/setup/header/Search/Search.js +87 -0
- package/src/setup/header/Search/Search.module.css +57 -0
- package/src/setup/header/Search/docs/Search__default.docs.js +32 -0
- package/src/setup/header/Views/Views.js +62 -0
- package/src/setup/header/Views/Views.module.css +27 -0
- package/src/setup/header/Views/docs/Views__default.docs.js +20 -0
- package/src/setup/helptips/Description/Description.js +22 -0
- package/src/setup/helptips/Description/HelpTipsDescription.module.css +6 -0
- package/src/setup/helptips/Description/docs/Description__default.docs.js +24 -0
- package/src/setup/helptips/Link/HelpTipsLink.module.css +6 -0
- package/src/setup/helptips/Link/Link.js +39 -0
- package/src/setup/helptips/Link/docs/Link__default.docs.js +27 -0
- package/src/setup/helptips/ListGroup/ListGroup.js +42 -0
- package/src/setup/helptips/ListGroup/ListGroup.module.css +17 -0
- package/src/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +37 -0
- package/src/setup/helptips/Title/HelpTipsTitle.module.css +5 -0
- package/src/setup/helptips/Title/Title.js +22 -0
- package/src/setup/helptips/Title/docs/Title__default.docs.js +22 -0
- package/src/setup/table/Table/Table.js +31 -0
- package/src/setup/table/Table/docs/Table__default.docs.js +115 -0
- package/src/setup/table/TableBody/TableBody.js +37 -0
- package/src/setup/table/TableData/SetupTableData.module.css +36 -0
- package/src/setup/table/TableData/TableData.js +56 -0
- package/src/setup/table/TableData/Tablehover.module.css +6 -0
- package/src/setup/table/TableHead/SetupTableHead.module.css +8 -0
- package/src/setup/table/TableHead/TableHead.js +53 -0
- package/src/setup/table/TableRow/SetupTableRow.module.css +10 -0
- package/src/setup/table/TableRow/TableRow.js +60 -0
- package/src/setup/table/Text/TableText.module.css +37 -0
- package/src/setup/table/Text/Text.js +82 -0
- package/src/setup/table/Text/docs/Text__default.docs.js +38 -0
- package/src/svg/PlusIcon.js +43 -0
- package/src/svg/SnippetIcon.js +50 -0
- package/src/svg/TemplateIcon.js +34 -0
- package/src/svg/docs/SVG__default.docs.js +46 -0
- package/src/utils/ChannelIconMapping.js +130 -0
- package/src/utils/Common.js +20 -0
- package/src/utils/General.js +58 -0
- package/src/utils/KeyboardApi.js +280 -0
- package/src/utils/editorUtils.js +189 -0
- package/src/version2/AlertClose/AlertClose.js +45 -0
- package/src/version2/AlertClose/AlertClose.module.css +43 -0
- package/src/version2/AlertClose/docs/AlertClose__default.docs.js +46 -0
- package/src/version2/GlobalNotification/GlobalNotification.js +112 -0
- package/src/version2/GlobalNotification/GlobalNotification.module.css +90 -0
- package/src/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +94 -0
- package/src/version2/alertIcons/AlarmAlertIcon.js +32 -0
- package/src/version2/alertIcons/AlertIcons.js +61 -0
- package/src/version2/alertIcons/AlertIcons.module.css +67 -0
- package/src/version2/alertIcons/DangerAlertIcon.js +33 -0
- package/src/version2/alertIcons/ErrorAlertIcon.js +34 -0
- package/src/version2/alertIcons/InfoAlertIcon.js +35 -0
- package/src/version2/alertIcons/NotificationAlertIcon.js +32 -0
- package/src/version2/alertIcons/SuccessAlertIcon.js +31 -0
- package/src/version2/alertIcons/WarningAlertIcon.js +31 -0
- package/src/version2/alertIcons/docs/AlertIcons__default.docs.js +123 -0
- package/src/version2/errorstate/Inconvenience/Inconvenience.js +98 -0
- package/src/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +19 -0
- package/src/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +99 -0
- package/src/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +21 -0
- package/src/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +98 -0
- package/src/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +31 -0
- package/src/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +102 -0
- package/src/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +19 -0
- package/src/version2/errorstate/UrlNotFound/UrlNotFound.js +98 -0
- package/src/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +21 -0
- package/src/version2/errorstate/V2_ErrorStates.module.css +46 -0
- package/src/version2/errorstate/WillBeRightBack/WillBeRightBack.js +98 -0
- package/src/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +19 -0
- package/src/version2/lookup/AlertHeader/AlertHeader.js +100 -0
- package/src/version2/lookup/AlertHeader/AlertHeaderNew.module.css +64 -0
- package/src/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +66 -0
- package/src/version2/lookup/AlertLookup/AlertLookup.js +290 -0
- package/src/version2/lookup/AlertLookup/AlertLookupNew.module.css +40 -0
- package/src/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +150 -0
- package/src/version2/lookup/alertLookupCommonNew.module.css +26 -0
- package/src/version2/notification/DesktopNotification/DesktopNotification.js +251 -0
- package/src/version2/notification/DesktopNotification/DesktopNotification.module.css +91 -0
- package/src/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +86 -0
- package/src/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +92 -0
- package/src/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +100 -0
- package/src/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +51 -0
- package/assets/Appearance/dark/mode/dotDarkMode.module.css +0 -521
- package/assets/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +0 -10
- package/assets/Appearance/dark/themes/green/greenDarkDotTheme.module.css +0 -10
- package/assets/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +0 -10
- package/assets/Appearance/dark/themes/red/redDarkDotTheme.module.css +0 -10
- package/assets/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +0 -10
- package/assets/Appearance/default/mode/dotDefaultMode.module.css +0 -521
- package/assets/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +0 -10
- package/assets/Appearance/default/themes/green/greenDefaultDotTheme.module.css +0 -10
- package/assets/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +0 -10
- package/assets/Appearance/default/themes/red/redDefaultDotTheme.module.css +0 -10
- package/assets/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +0 -10
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _TagsMultiSelectField = _interopRequireDefault(require("../TagsMultiSelectField"));
|
|
11
|
+
|
|
12
|
+
var _Icon = _interopRequireDefault(require("@zohodesk/icons/lib/Icon"));
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
+
|
|
16
|
+
var TagsMultiSelectField__default = function TagsMultiSelectField__default() {
|
|
17
|
+
var value = [{
|
|
18
|
+
name: 'Tag1',
|
|
19
|
+
tagType: 'MANUAL',
|
|
20
|
+
id: '5853000007033049'
|
|
21
|
+
}, {
|
|
22
|
+
name: 'Tag2',
|
|
23
|
+
tagType: 'MANUAL',
|
|
24
|
+
id: '5853000007033069'
|
|
25
|
+
}, {
|
|
26
|
+
name: 'Tag3',
|
|
27
|
+
tagType: 'MANUAL',
|
|
28
|
+
id: '5853000007033080'
|
|
29
|
+
}];
|
|
30
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
31
|
+
style: {
|
|
32
|
+
margin: '20px 20px 0'
|
|
33
|
+
}
|
|
34
|
+
}, /*#__PURE__*/_react["default"].createElement(_TagsMultiSelectField["default"], {
|
|
35
|
+
ePhiData: {
|
|
36
|
+
ePhiTitle: 'ehhweh',
|
|
37
|
+
ePhiText: 'ephi',
|
|
38
|
+
ePhiStatus: true
|
|
39
|
+
},
|
|
40
|
+
fieldProperties: {
|
|
41
|
+
id: 'tag',
|
|
42
|
+
name: 'tag',
|
|
43
|
+
labelName: 'Tags MultiSelect',
|
|
44
|
+
isReadOnly: false,
|
|
45
|
+
isDisabled: false,
|
|
46
|
+
value: value,
|
|
47
|
+
options: [],
|
|
48
|
+
selectedValueCount: '10'
|
|
49
|
+
},
|
|
50
|
+
styleProperties: {
|
|
51
|
+
labelPalette: 'secondary'
|
|
52
|
+
},
|
|
53
|
+
i18nKeys: {
|
|
54
|
+
newTagText: 'New Tag',
|
|
55
|
+
emptyTitleText: 'OOPS',
|
|
56
|
+
emptyDescription: 'No tag available',
|
|
57
|
+
deleteText: 'Delete tag',
|
|
58
|
+
lessText: 'Less',
|
|
59
|
+
moreText: 'More'
|
|
60
|
+
},
|
|
61
|
+
actions: {
|
|
62
|
+
onAdd: function onAdd(tag, event) {
|
|
63
|
+
console.log('Add Event=====', tag);
|
|
64
|
+
},
|
|
65
|
+
onDelete: function onDelete(tag, event) {
|
|
66
|
+
console.log('Delete Event=====', tag);
|
|
67
|
+
},
|
|
68
|
+
onChange: function onChange(searchValue) {
|
|
69
|
+
console.log('Value Change Event------>>', searchValue);
|
|
70
|
+
},
|
|
71
|
+
onScroll: function onScroll() {}
|
|
72
|
+
},
|
|
73
|
+
isNewNeeded: true,
|
|
74
|
+
getTextBoxChildren: function getTextBoxChildren() {
|
|
75
|
+
return /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
|
|
76
|
+
name: "ZD-SE-setpracket",
|
|
77
|
+
size: "18"
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
81
|
+
style: {
|
|
82
|
+
fontSize: '13px',
|
|
83
|
+
marginLeft: '5px',
|
|
84
|
+
color: 'var(--dot_text_shuttleGrey)'
|
|
85
|
+
}
|
|
86
|
+
}, "shift+t")));
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
var _default = TagsMultiSelectField__default;
|
|
90
|
+
exports["default"] = _default;
|
|
91
|
+
|
|
92
|
+
if (false) {
|
|
93
|
+
TagsMultiSelectField__default.docs = {
|
|
94
|
+
componentGroup: 'TagsMultiSelectField'
|
|
95
|
+
};
|
|
96
|
+
}
|
|
@@ -146,7 +146,7 @@ var TextBoxField = /*#__PURE__*/function (_PureComponent) {
|
|
|
146
146
|
ePhiStatus = _ePhiData$ePhiStatus === void 0 ? false : _ePhiData$ePhiStatus;
|
|
147
147
|
var uniqueId = htmlId ? htmlId : this.getNextId();
|
|
148
148
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
149
|
-
className: "".concat(_FieldsModule["default"].container, " ").concat(isDisabled ? _FieldsModule["default"].disabled :
|
|
149
|
+
className: "".concat(_FieldsModule["default"].container, " ").concat(isDisabled ? _FieldsModule["default"].disabled : ''),
|
|
150
150
|
"data-title": isDisabled ? title : ''
|
|
151
151
|
}, labelName && /*#__PURE__*/_react["default"].createElement("div", {
|
|
152
152
|
className: _FieldsModule["default"].labelContainer
|
|
@@ -154,7 +154,7 @@ var TextBoxField = /*#__PURE__*/function (_PureComponent) {
|
|
|
154
154
|
text: labelName,
|
|
155
155
|
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
156
156
|
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
157
|
-
customClass: "".concat(
|
|
157
|
+
customClass: "".concat(labelCustomClass, " ").concat(isMandatory ? _FieldsModule["default"].labelMandatory : ''),
|
|
158
158
|
htmlFor: uniqueId,
|
|
159
159
|
dataId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label")
|
|
160
160
|
}, LabelProps)), infoText ? /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
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); }
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
|
|
12
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
|
+
|
|
14
|
+
var _TextBoxField = _interopRequireDefault(require("../TextBoxField"));
|
|
15
|
+
|
|
16
|
+
var _Layout = require("@zohodesk/components/lib/Layout");
|
|
17
|
+
|
|
18
|
+
var _Icon = _interopRequireDefault(require("@zohodesk/icons/lib/Icon"));
|
|
19
|
+
|
|
20
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
21
|
+
|
|
22
|
+
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); }
|
|
23
|
+
|
|
24
|
+
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; }
|
|
25
|
+
|
|
26
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
27
|
+
|
|
28
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
29
|
+
|
|
30
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
31
|
+
|
|
32
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
33
|
+
|
|
34
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
35
|
+
|
|
36
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
37
|
+
|
|
38
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
39
|
+
|
|
40
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
41
|
+
|
|
42
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
43
|
+
|
|
44
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
45
|
+
|
|
46
|
+
var TextBoxField__default = /*#__PURE__*/function (_Component) {
|
|
47
|
+
_inherits(TextBoxField__default, _Component);
|
|
48
|
+
|
|
49
|
+
var _super = _createSuper(TextBoxField__default);
|
|
50
|
+
|
|
51
|
+
function TextBoxField__default(props) {
|
|
52
|
+
_classCallCheck(this, TextBoxField__default);
|
|
53
|
+
|
|
54
|
+
return _super.call(this, props);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
_createClass(TextBoxField__default, [{
|
|
58
|
+
key: "render",
|
|
59
|
+
value: function render() {
|
|
60
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_TextBoxField["default"], {
|
|
61
|
+
labelName: "Contact Name",
|
|
62
|
+
textBoxSize: "xmedium",
|
|
63
|
+
textBoxVariant: "primary",
|
|
64
|
+
validationMessage: "Invalid Input"
|
|
65
|
+
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
66
|
+
style: {
|
|
67
|
+
margin: '30px 0 10px',
|
|
68
|
+
fontFamily: 'var(--zd_semibold)'
|
|
69
|
+
}
|
|
70
|
+
}, "Children Option"), /*#__PURE__*/_react["default"].createElement(_TextBoxField["default"], {
|
|
71
|
+
labelName: "Contact Name",
|
|
72
|
+
textBoxSize: "xmedium",
|
|
73
|
+
textBoxVariant: "primary",
|
|
74
|
+
validationMessage: "Invalid Input"
|
|
75
|
+
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
76
|
+
align: "both",
|
|
77
|
+
style: {
|
|
78
|
+
marginRight: '15px'
|
|
79
|
+
}
|
|
80
|
+
}, /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
|
|
81
|
+
name: "ZD-SE-setpracket",
|
|
82
|
+
size: "18"
|
|
83
|
+
}))));
|
|
84
|
+
}
|
|
85
|
+
}]);
|
|
86
|
+
|
|
87
|
+
return TextBoxField__default;
|
|
88
|
+
}(_react.Component);
|
|
89
|
+
|
|
90
|
+
exports["default"] = TextBoxField__default;
|
|
91
|
+
|
|
92
|
+
if (false) {
|
|
93
|
+
TextBoxField__default.docs = {
|
|
94
|
+
componentGroup: 'Form Fields',
|
|
95
|
+
folderName: 'General'
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -65,8 +65,7 @@ var TextEditor = /*#__PURE__*/function (_Component) {
|
|
|
65
65
|
_this = _super.call(this, props);
|
|
66
66
|
_this.state = {
|
|
67
67
|
isEditorLoad: false,
|
|
68
|
-
isResourceLoaded: false
|
|
69
|
-
isEditorShow: false
|
|
68
|
+
isResourceLoaded: false
|
|
70
69
|
};
|
|
71
70
|
var methods = ['editorCallback', 'handleUpload', 'handleChange', 'focusCallback', 'handleInlineUpload', 'handleDropUpload', 'blurCallback', 'handleGetContent', 'initializeEditor', 'clearEditorData', 'plainTextSwitchCallback', 'onWindowClick', 'toggleEditor'];
|
|
72
71
|
|
|
@@ -247,8 +246,7 @@ var TextEditor = /*#__PURE__*/function (_Component) {
|
|
|
247
246
|
getRef = _this$props5.getRef,
|
|
248
247
|
isCustomScroll = _this$props5.isCustomScroll;
|
|
249
248
|
this.setState({
|
|
250
|
-
isEditorLoad: true
|
|
251
|
-
isEditorShow: true
|
|
249
|
+
isEditorLoad: true
|
|
252
250
|
});
|
|
253
251
|
var id = this.props.id;
|
|
254
252
|
global.editor = global.editor || {};
|
|
@@ -281,7 +279,7 @@ var TextEditor = /*#__PURE__*/function (_Component) {
|
|
|
281
279
|
|
|
282
280
|
if (isCustomScroll) {
|
|
283
281
|
var link = document.createElement('style');
|
|
284
|
-
link.innerText = "
|
|
282
|
+
link.innerText = ".scroll{--zd-scroll-width:12px;--zd-scroll-height:12px;--zd-scroll-bg:rgba(255,255,255,0.1);--zd-scroll-corner-bg:transparent;--zd-scroll-thump:rgba(44,51,77,0.2);--zd-scroll-thump-hoverbg:rgba(44,51,77,0.3);--zd-scroll-border:rgba(44,51,77,0.1)}.scroll[data-scroll-palette='dark'],.scroll [data-scroll-palette='dark']{--zd-scroll-thump:rgba(255,255,255,0.2);--zd-scroll-thump-hoverbg:rgba(255,255,255,0.4);--zd-scroll-border:rgba(255,255,255,0.07)}.scroll,.scroll *{scrollbar-color:var(--zd-scroll-thump) var(--zd-scroll-bg);scrollbar-width:thin;-ms-scrollbar-highlight-color:var(--zd-scroll-bg);-ms-scrollbar-face-color:var(--zd-scroll-thump)}.scroll::-webkit-scrollbar,.scroll ::-webkit-scrollbar{background:var(--zd-scroll-corner-bg)}.scroll::-webkit-scrollbar:hover,.scroll ::-webkit-scrollbar:hover{background:var(--zd-scroll-bg)}.scroll::-webkit-scrollbar:horizontal,.scroll ::-webkit-scrollbar:horizontal{height:var(--zd-scroll-height)}.scroll::-webkit-scrollbar:vertical,.scroll ::-webkit-scrollbar:vertical{width:var(--zd-scroll-width)}.scroll::-webkit-scrollbar-button,.scroll ::-webkit-scrollbar-button{display:none;width:0;height:0}.scroll::-webkit-scrollbar-track:vertical,.scroll ::-webkit-scrollbar-track:vertical{border-left:1px solid transparent;border-right:1px solid transparent}.scroll::-webkit-scrollbar-track:vertical:hover,.scroll ::-webkit-scrollbar-track:vertical:hover{border-color:var(--zd-scroll-border)}.scroll::-webkit-scrollbar-track:horizontal,.scroll ::-webkit-scrollbar-track:horizontal{border-top:1px solid transparent;border-bottom:1px solid transparent}.scroll::-webkit-scrollbar-track:horizontal:hover,.scroll ::-webkit-scrollbar-track:horizontal:hover{border-color:var(--zd-scroll-border)}.scroll::-webkit-scrollbar-track-piece,.scroll ::-webkit-scrollbar-track-piece{background:inherit}.scroll::-webkit-scrollbar-thumb,.scroll ::-webkit-scrollbar-thumb{border-radius:10px;background:var(--zd-scroll-thump);background-clip:padding-box;border:3px solid transparent}.scroll::-webkit-scrollbar-thumb:hover,.scroll ::-webkit-scrollbar-thumb:hover{background:var(--zd-scroll-thump-hoverbg);background-clip:padding-box;border:3px solid transparent}.scroll::-webkit-scrollbar-corner,.scroll ::-webkit-scrollbar-corner{background:var(--zd-scroll-corner-bg)}.scroll::-webkit-resizer,.scroll::-webkit-resizer{background:inherit}";
|
|
285
283
|
iframeHead.appendChild(link);
|
|
286
284
|
iframe.classList.add('scroll');
|
|
287
285
|
}
|
|
@@ -421,12 +419,10 @@ var TextEditor = /*#__PURE__*/function (_Component) {
|
|
|
421
419
|
loadingComponent = _this$props9.loadingComponent,
|
|
422
420
|
isNightMode = _this$props9.isNightMode,
|
|
423
421
|
isReadOnly = _this$props9.isReadOnly;
|
|
424
|
-
var
|
|
425
|
-
isEditorLoad = _this$state.isEditorLoad,
|
|
426
|
-
isEditorShow = _this$state.isEditorShow;
|
|
422
|
+
var isEditorLoad = this.state.isEditorLoad;
|
|
427
423
|
var editorDoc = ImgLazyLoad && global.editor && global.editor[id] ? global.editor[id].doc : null;
|
|
428
424
|
return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
429
|
-
className: "".concat(_TextEditorModule["default"].textEditor, " ").concat(_TextEditorModule["default"][type], " ").concat(_TextEditorModule["default"][border], " \n ").concat(isNightMode ? _TextEditorModule["default"].night : _TextEditorModule["default"].light, " ").concat(isReadOnly ? _TextEditorModule["default"].readOnly : ''
|
|
425
|
+
className: "".concat(_TextEditorModule["default"].textEditor, " ").concat(_TextEditorModule["default"][type], " ").concat(_TextEditorModule["default"][border], " \n ").concat(isNightMode ? _TextEditorModule["default"].night : _TextEditorModule["default"].light, " ").concat(isReadOnly ? _TextEditorModule["default"].readOnly : ''),
|
|
430
426
|
dataId: dataId,
|
|
431
427
|
"data-isEditor": true
|
|
432
428
|
}, loadingComponent && !isEditorLoad ? loadingComponent : null, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
@@ -156,7 +156,7 @@ var TextEditorField = /*#__PURE__*/function (_PureComponent) {
|
|
|
156
156
|
_ePhiData$ePhiStatus = ePhiData.ePhiStatus,
|
|
157
157
|
ePhiStatus = _ePhiData$ePhiStatus === void 0 ? false : _ePhiData$ePhiStatus;
|
|
158
158
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
159
|
-
className: "".concat(_FieldsModule["default"].container, " ").concat(
|
|
159
|
+
className: "".concat(_FieldsModule["default"].container, " ").concat(className)
|
|
160
160
|
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
161
161
|
isCover: false,
|
|
162
162
|
alignBox: "row",
|
|
@@ -167,7 +167,7 @@ var TextEditorField = /*#__PURE__*/function (_PureComponent) {
|
|
|
167
167
|
htmlFor: !isReadOnly && !isDisabled ? id : undefined,
|
|
168
168
|
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
169
169
|
onClick: this.handleLabelClick,
|
|
170
|
-
customClass: "".concat(
|
|
170
|
+
customClass: "".concat(labelCustomClass, " ").concat(isMandatory ? _FieldsModule["default"].labelMandatory : ''),
|
|
171
171
|
dataId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label")
|
|
172
172
|
}, LabelProps))), infoText ? /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
|
|
173
173
|
name: "ZD-GN-info",
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
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); }
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
|
|
12
|
+
var _TextEditorField = _interopRequireDefault(require("../TextEditorField"));
|
|
13
|
+
|
|
14
|
+
var _Layout = require("@zohodesk/components/lib/Layout");
|
|
15
|
+
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
17
|
+
|
|
18
|
+
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); }
|
|
19
|
+
|
|
20
|
+
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; }
|
|
21
|
+
|
|
22
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
23
|
+
|
|
24
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
25
|
+
|
|
26
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
27
|
+
|
|
28
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
|
+
|
|
30
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
31
|
+
|
|
32
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
33
|
+
|
|
34
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
35
|
+
|
|
36
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
37
|
+
|
|
38
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
39
|
+
|
|
40
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
41
|
+
|
|
42
|
+
var TextEditorField__default = /*#__PURE__*/function (_Component) {
|
|
43
|
+
_inherits(TextEditorField__default, _Component);
|
|
44
|
+
|
|
45
|
+
var _super = _createSuper(TextEditorField__default);
|
|
46
|
+
|
|
47
|
+
function TextEditorField__default(props) {
|
|
48
|
+
var _this;
|
|
49
|
+
|
|
50
|
+
_classCallCheck(this, TextEditorField__default);
|
|
51
|
+
|
|
52
|
+
_this = _super.call(this, props);
|
|
53
|
+
_this.handleEditorStyleOptions = _this.handleEditorStyleOptions.bind(_assertThisInitialized(_this));
|
|
54
|
+
return _this;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
_createClass(TextEditorField__default, [{
|
|
58
|
+
key: "handleEditorStyleOptions",
|
|
59
|
+
value: function handleEditorStyleOptions(ZohoDeskEditor_Init, hookToOrganize) {
|
|
60
|
+
ZohoDeskEditor_Init.toolbarOrder = [['bold', 'Bold (Ctrl+B)', '#KBEditortools_txtbold', 'KBEditortools-txtbold'], ['italic', 'Italic (Ctrl+I)', '#KBEditortools_txtitalic', 'KBEditortools-txtitalic'], ['underline', 'Underline (Ctrl+U)', '#KBEditortools_txtunderline', 'KBEditortools-txtunderline']];
|
|
61
|
+
}
|
|
62
|
+
}, {
|
|
63
|
+
key: "render",
|
|
64
|
+
value: function render() {
|
|
65
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_TextEditorField["default"], {
|
|
66
|
+
needEditor: false,
|
|
67
|
+
labelName: "TextArea"
|
|
68
|
+
}, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
69
|
+
flexible: true,
|
|
70
|
+
style: {
|
|
71
|
+
fontSize: '12px',
|
|
72
|
+
color: 'var(--dot_text_primary)',
|
|
73
|
+
textAlign: 'right'
|
|
74
|
+
}
|
|
75
|
+
}, "Placeholders")), /*#__PURE__*/_react["default"].createElement(_TextEditorField["default"], {
|
|
76
|
+
id: "editor",
|
|
77
|
+
labelName: "TextEditor",
|
|
78
|
+
EDITORURL: "https://js.zohostatic.com/zde/v2.2.9/js/ZohoDeskEditor.js",
|
|
79
|
+
initCallback: this.handleEditorStyleOptions,
|
|
80
|
+
loadingComponent: /*#__PURE__*/_react["default"].createElement("div", null, "Loading...")
|
|
81
|
+
}));
|
|
82
|
+
}
|
|
83
|
+
}]);
|
|
84
|
+
|
|
85
|
+
return TextEditorField__default;
|
|
86
|
+
}(_react.Component);
|
|
87
|
+
|
|
88
|
+
exports["default"] = TextEditorField__default;
|
|
89
|
+
|
|
90
|
+
if (false) {
|
|
91
|
+
TextEditorField__default.docs = {
|
|
92
|
+
componentGroup: 'Fields'
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -119,7 +119,7 @@ var TextEditorWrapper = /*#__PURE__*/function (_Component) {
|
|
|
119
119
|
isEditorShow: true
|
|
120
120
|
});
|
|
121
121
|
} else {
|
|
122
|
-
if (!this.state.isEditorFocus
|
|
122
|
+
if (!this.state.isEditorFocus) {
|
|
123
123
|
this.setState({
|
|
124
124
|
isEditorShow: false
|
|
125
125
|
});
|
|
@@ -142,7 +142,7 @@ var TextareaField = /*#__PURE__*/function (_PureComponent) {
|
|
|
142
142
|
ValidationMessageProps2 = _customProps$Validati2 === void 0 ? {} : _customProps$Validati2;
|
|
143
143
|
var uniqueId = htmlId ? htmlId : this.getNextId();
|
|
144
144
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
145
|
-
className: "".concat(_FieldsModule["default"].container, " ").concat(isDisabled ? _FieldsModule["default"].disabled :
|
|
145
|
+
className: "".concat(_FieldsModule["default"].container, " ").concat(isDisabled ? _FieldsModule["default"].disabled : ''),
|
|
146
146
|
"data-title": isDisabled ? title : ''
|
|
147
147
|
}, labelName && /*#__PURE__*/_react["default"].createElement("div", {
|
|
148
148
|
className: _FieldsModule["default"].labelContainer
|
|
@@ -151,7 +151,7 @@ var TextareaField = /*#__PURE__*/function (_PureComponent) {
|
|
|
151
151
|
id: id,
|
|
152
152
|
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
153
153
|
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
154
|
-
customClass: "".concat(
|
|
154
|
+
customClass: "".concat(labelCustomClass, " ").concat(isMandatory ? _FieldsModule["default"].labelMandatory : ''),
|
|
155
155
|
htmlFor: uniqueId,
|
|
156
156
|
dataId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label")
|
|
157
157
|
}, LabelProps)), infoText ? /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
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); }
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
|
|
12
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
|
+
|
|
14
|
+
var _TextareaField = _interopRequireDefault(require("../TextareaField"));
|
|
15
|
+
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
17
|
+
|
|
18
|
+
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); }
|
|
19
|
+
|
|
20
|
+
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; }
|
|
21
|
+
|
|
22
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
23
|
+
|
|
24
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
25
|
+
|
|
26
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
27
|
+
|
|
28
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
|
+
|
|
30
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
31
|
+
|
|
32
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
33
|
+
|
|
34
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
35
|
+
|
|
36
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
37
|
+
|
|
38
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
39
|
+
|
|
40
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
41
|
+
|
|
42
|
+
var TextareaField__default = /*#__PURE__*/function (_Component) {
|
|
43
|
+
_inherits(TextareaField__default, _Component);
|
|
44
|
+
|
|
45
|
+
var _super = _createSuper(TextareaField__default);
|
|
46
|
+
|
|
47
|
+
function TextareaField__default(props) {
|
|
48
|
+
_classCallCheck(this, TextareaField__default);
|
|
49
|
+
|
|
50
|
+
return _super.call(this, props);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
_createClass(TextareaField__default, [{
|
|
54
|
+
key: "render",
|
|
55
|
+
value: function render() {
|
|
56
|
+
return /*#__PURE__*/_react["default"].createElement(_TextareaField["default"], {
|
|
57
|
+
labelName: "Textarea",
|
|
58
|
+
onChange: function onChange() {},
|
|
59
|
+
textBoxSize: "xsmall",
|
|
60
|
+
textBoxVariant: "primary",
|
|
61
|
+
validationMessage: "Invalid Input"
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
}]);
|
|
65
|
+
|
|
66
|
+
return TextareaField__default;
|
|
67
|
+
}(_react.Component);
|
|
68
|
+
|
|
69
|
+
exports["default"] = TextareaField__default;
|
|
70
|
+
|
|
71
|
+
if (false) {
|
|
72
|
+
TextareaField__default.docs = {
|
|
73
|
+
componentGroup: 'Form Fields',
|
|
74
|
+
folderName: 'General'
|
|
75
|
+
};
|
|
76
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
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); }
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
|
|
12
|
+
var _ValidationMessage = _interopRequireDefault(require("../ValidationMessage"));
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
+
|
|
16
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
17
|
+
|
|
18
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
19
|
+
|
|
20
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
21
|
+
|
|
22
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
23
|
+
|
|
24
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
25
|
+
|
|
26
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
27
|
+
|
|
28
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
29
|
+
|
|
30
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
31
|
+
|
|
32
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
33
|
+
|
|
34
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
35
|
+
|
|
36
|
+
var ValidationMessage__default = /*#__PURE__*/function (_React$Component) {
|
|
37
|
+
_inherits(ValidationMessage__default, _React$Component);
|
|
38
|
+
|
|
39
|
+
var _super = _createSuper(ValidationMessage__default);
|
|
40
|
+
|
|
41
|
+
function ValidationMessage__default(props) {
|
|
42
|
+
_classCallCheck(this, ValidationMessage__default);
|
|
43
|
+
|
|
44
|
+
return _super.call(this, props);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
_createClass(ValidationMessage__default, [{
|
|
48
|
+
key: "render",
|
|
49
|
+
value: function render() {
|
|
50
|
+
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_ValidationMessage["default"], {
|
|
51
|
+
text: "validation",
|
|
52
|
+
palette: "default",
|
|
53
|
+
size: "small",
|
|
54
|
+
type: "secondary",
|
|
55
|
+
tooltip: "Information"
|
|
56
|
+
}), /*#__PURE__*/_react["default"].createElement(_ValidationMessage["default"], {
|
|
57
|
+
text: "validation",
|
|
58
|
+
palette: "primary",
|
|
59
|
+
size: "small",
|
|
60
|
+
type: "secondary"
|
|
61
|
+
}), /*#__PURE__*/_react["default"].createElement(_ValidationMessage["default"], {
|
|
62
|
+
text: "validation",
|
|
63
|
+
palette: "secondary",
|
|
64
|
+
size: "small",
|
|
65
|
+
type: "secondary",
|
|
66
|
+
tooltip: "Information"
|
|
67
|
+
}), /*#__PURE__*/_react["default"].createElement(_ValidationMessage["default"], {
|
|
68
|
+
text: "validation",
|
|
69
|
+
palette: "danger",
|
|
70
|
+
size: "small",
|
|
71
|
+
type: "secondary"
|
|
72
|
+
}), /*#__PURE__*/_react["default"].createElement(_ValidationMessage["default"], {
|
|
73
|
+
text: "validation",
|
|
74
|
+
palette: "mandatory",
|
|
75
|
+
size: "small",
|
|
76
|
+
type: "secondary",
|
|
77
|
+
tooltip: "Information"
|
|
78
|
+
}), /*#__PURE__*/_react["default"].createElement(_ValidationMessage["default"], {
|
|
79
|
+
text: "validation",
|
|
80
|
+
palette: "dark",
|
|
81
|
+
size: "small",
|
|
82
|
+
type: "secondary"
|
|
83
|
+
}), /*#__PURE__*/_react["default"].createElement(_ValidationMessage["default"], {
|
|
84
|
+
text: "validation",
|
|
85
|
+
palette: "disable",
|
|
86
|
+
size: "small",
|
|
87
|
+
type: "secondary",
|
|
88
|
+
tooltip: "Information"
|
|
89
|
+
}));
|
|
90
|
+
}
|
|
91
|
+
}]);
|
|
92
|
+
|
|
93
|
+
return ValidationMessage__default;
|
|
94
|
+
}(_react["default"].Component);
|
|
95
|
+
|
|
96
|
+
exports["default"] = ValidationMessage__default;
|
|
97
|
+
|
|
98
|
+
if (false) {
|
|
99
|
+
ValidationMessage__default.docs = {
|
|
100
|
+
componentGroup: 'Form Fields',
|
|
101
|
+
folderName: 'Style Guide'
|
|
102
|
+
};
|
|
103
|
+
}
|