@bigbinary/neeto-molecules 1.1.16 → 1.1.17
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/dist/AutoSaveInput.js +658 -0
- package/dist/AutoSaveInput.js.map +1 -0
- package/dist/Breadcrumbs.js +38 -0
- package/dist/Breadcrumbs.js.map +1 -0
- package/dist/BrowserSupport.js +418 -0
- package/dist/BrowserSupport.js.map +1 -0
- package/dist/Builder.js +662 -0
- package/dist/Builder.js.map +1 -0
- package/dist/CalendarView.js +538 -0
- package/dist/CalendarView.js.map +1 -0
- package/dist/Codeblock.js +236 -0
- package/dist/Codeblock.js.map +1 -0
- package/dist/{Columns/index.js → Columns.js} +130 -13
- package/dist/Columns.js.map +1 -0
- package/dist/{ConfirmationModal/index.js → ConfirmationModal.js} +20 -8
- package/dist/ConfirmationModal.js.map +1 -0
- package/dist/Container.js +1211 -0
- package/dist/Container.js.map +1 -0
- package/dist/CopyToClipboardButton.js +209 -0
- package/dist/CopyToClipboardButton.js.map +1 -0
- package/dist/CustomDomain.js +688 -0
- package/dist/CustomDomain.js.map +1 -0
- package/dist/CustomDomainDashboard.js +2283 -0
- package/dist/CustomDomainDashboard.js.map +1 -0
- package/dist/{DateFormat/index.js → DateFormat.js} +25 -8
- package/dist/DateFormat.js.map +1 -0
- package/dist/DateRangeFilter.js +229 -0
- package/dist/DateRangeFilter.js.map +1 -0
- package/dist/DynamicVariables.js +183 -0
- package/dist/DynamicVariables.js.map +1 -0
- package/dist/EmailForm.js +2291 -0
- package/dist/EmailForm.js.map +1 -0
- package/dist/EmailPreview.js +1353 -0
- package/dist/EmailPreview.js.map +1 -0
- package/dist/{ErrorPage/constants.js → ErrorPage.js} +137 -36
- package/dist/ErrorPage.js.map +1 -0
- package/dist/Header.js +122 -0
- package/dist/Header.js.map +1 -0
- package/dist/IconPicker.js +313 -0
- package/dist/IconPicker.js.map +1 -0
- package/dist/ImageWithFallback.js +181 -0
- package/dist/ImageWithFallback.js.map +1 -0
- package/dist/IntegrationCard.js +343 -0
- package/dist/IntegrationCard.js.map +1 -0
- package/dist/IntegrationDisconnectAlert.js +80 -0
- package/dist/IntegrationDisconnectAlert.js.map +1 -0
- package/dist/{IntegrationWalkthroughModal/index.js → IntegrationWalkthroughModal.js} +8 -6
- package/dist/IntegrationWalkthroughModal.js.map +1 -0
- package/dist/IpRestriction.js +857 -0
- package/dist/IpRestriction.js.map +1 -0
- package/dist/KeyboardShortcuts.js +359 -0
- package/dist/KeyboardShortcuts.js.map +1 -0
- package/dist/LoginPage.js +593 -0
- package/dist/LoginPage.js.map +1 -0
- package/dist/MenuBar.js +1461 -0
- package/dist/MenuBar.js.map +1 -0
- package/dist/Metadata.js +206 -0
- package/dist/Metadata.js.map +1 -0
- package/dist/{MoreDropdown/index.js → MoreDropdown.js} +102 -9
- package/dist/MoreDropdown.js.map +1 -0
- package/dist/NavigationHeader.js +690 -0
- package/dist/NavigationHeader.js.map +1 -0
- package/dist/NeetoWidget.js +1333 -0
- package/dist/NeetoWidget.js.map +1 -0
- package/dist/PageLoader.js +134 -0
- package/dist/PageLoader.js.map +1 -0
- package/dist/PhoneNumber.js +365 -0
- package/dist/PhoneNumber.js.map +1 -0
- package/dist/PublishBlock.js +158 -0
- package/dist/PublishBlock.js.map +1 -0
- package/dist/Rename.js +450 -0
- package/dist/Rename.js.map +1 -0
- package/dist/ResponsiveDevicePicker.js +194 -0
- package/dist/ResponsiveDevicePicker.js.map +1 -0
- package/dist/Schedule.js +1046 -0
- package/dist/Schedule.js.map +1 -0
- package/dist/Scrollable.js +122 -0
- package/dist/Scrollable.js.map +1 -0
- package/dist/Search.js +151 -0
- package/dist/Search.js.map +1 -0
- package/dist/Security.js +1835 -0
- package/dist/Security.js.map +1 -0
- package/dist/SendToFields.js +601 -0
- package/dist/SendToFields.js.map +1 -0
- package/dist/Settings.js +435 -0
- package/dist/Settings.js.map +1 -0
- package/dist/ShareViaEmail.js +2277 -0
- package/dist/ShareViaEmail.js.map +1 -0
- package/dist/ShareViaLink.js +628 -0
- package/dist/ShareViaLink.js.map +1 -0
- package/dist/Sidebar.js +972 -0
- package/dist/Sidebar.js.map +1 -0
- package/dist/SubHeader.js +216 -0
- package/dist/SubHeader.js.map +1 -0
- package/dist/{TableWrapper/index.js → TableWrapper.js} +6 -3
- package/dist/TableWrapper.js.map +1 -0
- package/dist/ThemeSidebar.js +1984 -0
- package/dist/ThemeSidebar.js.map +1 -0
- package/dist/TimeFormat.js +47 -0
- package/dist/TimeFormat.js.map +1 -0
- package/dist/TimezoneMismatchModal.js +168 -0
- package/dist/TimezoneMismatchModal.js.map +1 -0
- package/dist/ToggleFeatureCard.js +323 -0
- package/dist/ToggleFeatureCard.js.map +1 -0
- package/package.json +22 -13
- package/dist/AutoSaveInput/autosaveinput.scss +0 -15
- package/dist/AutoSaveInput/constants.js +0 -13
- package/dist/AutoSaveInput/index.js +0 -124
- package/dist/AutoSaveInput/utils.js +0 -10
- package/dist/Breadcrumbs/breadcrumbs.scss +0 -33
- package/dist/Breadcrumbs/index.js +0 -31
- package/dist/BrowserSupport/Callout.js +0 -15
- package/dist/BrowserSupport/ContactUs.js +0 -21
- package/dist/BrowserSupport/DownloadLink.js +0 -17
- package/dist/BrowserSupport/PartialSupportedBrowserVersion.js +0 -17
- package/dist/BrowserSupport/UnknownBrowser.js +0 -13
- package/dist/BrowserSupport/UnsupportedBrowser.js +0 -24
- package/dist/BrowserSupport/UnsupportedBrowserMessage.js +0 -22
- package/dist/BrowserSupport/UnsupportedBrowserVersion.js +0 -27
- package/dist/BrowserSupport/UnsupportedVersionMessage.js +0 -30
- package/dist/BrowserSupport/browsersupport.scss +0 -71
- package/dist/BrowserSupport/constants.js +0 -63
- package/dist/BrowserSupport/index.js +0 -58
- package/dist/BrowserSupport/utils.js +0 -32
- package/dist/Builder/Body.js +0 -9
- package/dist/Builder/ElementsPanel/ElementsList/Element.js +0 -27
- package/dist/Builder/ElementsPanel/ElementsList/Section.js +0 -28
- package/dist/Builder/ElementsPanel/ElementsList/TitleBar.js +0 -28
- package/dist/Builder/ElementsPanel/ElementsList/index.js +0 -63
- package/dist/Builder/ElementsPanel/SelectedElementsList/SelectedElement.js +0 -73
- package/dist/Builder/ElementsPanel/SelectedElementsList/TitleBar.js +0 -50
- package/dist/Builder/ElementsPanel/SelectedElementsList/index.js +0 -91
- package/dist/Builder/ElementsPanel/index.js +0 -70
- package/dist/Builder/PropertiesPanel/EmptyProperty.js +0 -21
- package/dist/Builder/PropertiesPanel/Skeleton.js +0 -24
- package/dist/Builder/PropertiesPanel/index.js +0 -12
- package/dist/Builder/index.js +0 -3
- package/dist/Builder/styles.scss +0 -84
- package/dist/CalendarView/CustomDatePicker.js +0 -87
- package/dist/CalendarView/Header.js +0 -53
- package/dist/CalendarView/constants.js +0 -19
- package/dist/CalendarView/index.js +0 -83
- package/dist/CalendarView/utils.js +0 -50
- package/dist/Codeblock/index.js +0 -30
- package/dist/Columns/utils.js +0 -20
- package/dist/ConfirmationModal/constants.js +0 -3
- package/dist/ConfirmationModal/utils.js +0 -6
- package/dist/Container/container.scss +0 -21
- package/dist/Container/index.js +0 -23
- package/dist/CopyToClipboardButton/constants.js +0 -13
- package/dist/CopyToClipboardButton/copyToClipboard.scss +0 -22
- package/dist/CopyToClipboardButton/index.js +0 -59
- package/dist/CustomDomain/index.js +0 -98
- package/dist/CustomDomainDashboard/DeleteAlert.js +0 -28
- package/dist/CustomDomainDashboard/Header.js +0 -32
- package/dist/CustomDomainDashboard/Manage/Record.js +0 -42
- package/dist/CustomDomainDashboard/Manage/StatusInfo.js +0 -21
- package/dist/CustomDomainDashboard/Manage/TagBlock.js +0 -36
- package/dist/CustomDomainDashboard/Manage/constants.js +0 -4
- package/dist/CustomDomainDashboard/Manage/index.js +0 -125
- package/dist/CustomDomainDashboard/Manage/utils.js +0 -8
- package/dist/CustomDomainDashboard/api.js +0 -35
- package/dist/CustomDomainDashboard/constants.js +0 -2
- package/dist/CustomDomainDashboard/index.js +0 -118
- package/dist/CustomDomainDashboard/useCustomDomainApi.js +0 -71
- package/dist/CustomDomainDashboard/utils.js +0 -84
- package/dist/DateRangeFilter/index.js +0 -60
- package/dist/DateRangeFilter/utils.js +0 -113
- package/dist/DynamicVariables/dynamic-variables.scss +0 -34
- package/dist/DynamicVariables/index.js +0 -59
- package/dist/DynamicVariables/utils.js +0 -37
- package/dist/EmailForm/EmailForm.js +0 -98
- package/dist/EmailForm/EmailFormProvider.js +0 -45
- package/dist/EmailForm/EmailPreview.js +0 -129
- package/dist/EmailForm/ReplyToField.js +0 -55
- package/dist/EmailForm/SendToField.js +0 -28
- package/dist/EmailForm/SubjectField.js +0 -64
- package/dist/EmailForm/constants.js +0 -33
- package/dist/EmailForm/contexts/EmailForm.js +0 -7
- package/dist/EmailForm/index.js +0 -4
- package/dist/EmailForm/utils.js +0 -10
- package/dist/EmailPreview/index.js +0 -2
- package/dist/ErrorPage/index.js +0 -78
- package/dist/Header/Breadcrumbs.js +0 -31
- package/dist/Header/Dropdown.js +0 -12
- package/dist/Header/constants.js +0 -6
- package/dist/Header/header.scss +0 -121
- package/dist/Header/index.js +0 -61
- package/dist/IconPicker/Icon.js +0 -34
- package/dist/IconPicker/NoResults.js +0 -12
- package/dist/IconPicker/constants.js +0 -8
- package/dist/IconPicker/icon-picker.scss +0 -1
- package/dist/IconPicker/index.js +0 -164
- package/dist/ImageWithFallback/ImagePlaceholder.js +0 -16
- package/dist/ImageWithFallback/index.js +0 -31
- package/dist/IntegrationCard/Dropdown.js +0 -45
- package/dist/IntegrationCard/Status.js +0 -25
- package/dist/IntegrationCard/index.js +0 -128
- package/dist/IntegrationDisconnectAlert/index.js +0 -36
- package/dist/IpRestriction/AllowedIpRanges.js +0 -75
- package/dist/IpRestriction/CurrentIp.js +0 -26
- package/dist/IpRestriction/FormRow.js +0 -84
- package/dist/IpRestriction/Row.js +0 -91
- package/dist/IpRestriction/apis/allowed_ip_ranges.js +0 -28
- package/dist/IpRestriction/apis/current_ip.js +0 -11
- package/dist/IpRestriction/apis/ip_restriction.js +0 -16
- package/dist/IpRestriction/constants.js +0 -20
- package/dist/IpRestriction/hooks/reactQuery/useAllowedIpRanges.js +0 -34
- package/dist/IpRestriction/hooks/reactQuery/useCurrentIp.js +0 -10
- package/dist/IpRestriction/hooks/reactQuery/useIpRestrictions.js +0 -18
- package/dist/IpRestriction/index.js +0 -102
- package/dist/IpRestriction/utils.js +0 -85
- package/dist/KeyboardShortcuts/Pane/HotKey.js +0 -44
- package/dist/KeyboardShortcuts/Pane/HotKeyList.js +0 -42
- package/dist/KeyboardShortcuts/Pane/constants.js +0 -25
- package/dist/KeyboardShortcuts/Pane/index.js +0 -61
- package/dist/KeyboardShortcuts/Pane/keyboard-shortcuts.scss +0 -5
- package/dist/KeyboardShortcuts/Pane/utils.js +0 -66
- package/dist/KeyboardShortcuts/hooks/useKeyboardShortcutsPaneState.js +0 -31
- package/dist/KeyboardShortcuts/index.js +0 -9
- package/dist/LoginPage/Form.js +0 -57
- package/dist/LoginPage/constants.js +0 -12
- package/dist/LoginPage/index.js +0 -103
- package/dist/MenuBar/AddNew.js +0 -25
- package/dist/MenuBar/Block.js +0 -60
- package/dist/MenuBar/Item.js +0 -32
- package/dist/MenuBar/Search.js +0 -39
- package/dist/MenuBar/SubTitle.js +0 -23
- package/dist/MenuBar/index.js +0 -46
- package/dist/MenuBar/menubar.scss +0 -154
- package/dist/Metadata/Block.js +0 -30
- package/dist/Metadata/DetailsBlock.js +0 -86
- package/dist/Metadata/constants.js +0 -9
- package/dist/Metadata/index.js +0 -29
- package/dist/Metadata/metadata.scss +0 -15
- package/dist/MoreDropdown/constants.js +0 -25
- package/dist/NavigationHeader/LeftBlock.js +0 -32
- package/dist/NavigationHeader/Navigation.js +0 -24
- package/dist/NavigationHeader/RightBlock.js +0 -68
- package/dist/NavigationHeader/constants.js +0 -11
- package/dist/NavigationHeader/index.js +0 -19
- package/dist/NavigationHeader/navigation-header.scss +0 -3
- package/dist/NeetoWidget/CodeBlock.js +0 -57
- package/dist/NeetoWidget/CodeSnippet.js +0 -119
- package/dist/NeetoWidget/EmbedCode.js +0 -281
- package/dist/NeetoWidget/Main.js +0 -19
- package/dist/NeetoWidget/SelectionSwitches/TooltipSwitch.js +0 -25
- package/dist/NeetoWidget/SelectionSwitches/index.js +0 -44
- package/dist/NeetoWidget/SyntaxHighlighter.js +0 -17
- package/dist/NeetoWidget/api.js +0 -20
- package/dist/NeetoWidget/constants.js +0 -62
- package/dist/NeetoWidget/hooks/useForceUpdate.js +0 -14
- package/dist/NeetoWidget/index.js +0 -7
- package/dist/NeetoWidget/mutations.js +0 -9
- package/dist/NeetoWidget/queries.js +0 -32
- package/dist/NeetoWidget/utils.js +0 -83
- package/dist/PageLoader/index.js +0 -81
- package/dist/PageLoader/page-loader.scss +0 -95
- package/dist/PhoneNumber/CountryPicker/SingleValue.js +0 -21
- package/dist/PhoneNumber/CountryPicker/constants.js +0 -26
- package/dist/PhoneNumber/CountryPicker/index.js +0 -59
- package/dist/PhoneNumber/FormikPhoneNumberInput.js +0 -21
- package/dist/PhoneNumber/PhoneNumber.js +0 -30
- package/dist/PhoneNumber/PhoneNumberInput.js +0 -79
- package/dist/PhoneNumber/index.js +0 -5
- package/dist/PhoneNumber/utils.js +0 -55
- package/dist/PublishBlock/AlertBlock.js +0 -14
- package/dist/PublishBlock/index.js +0 -100
- package/dist/PublishBlock/publish-block.scss +0 -25
- package/dist/Rename/DummySpan.js +0 -21
- package/dist/Rename/constants.js +0 -1
- package/dist/Rename/index.js +0 -191
- package/dist/Rename/rename.scss +0 -69
- package/dist/Rename/utils.js +0 -10
- package/dist/ResponsiveDevicePicker/constants.js +0 -19
- package/dist/ResponsiveDevicePicker/index.js +0 -36
- package/dist/Schedule/DisplayAvailability.js +0 -58
- package/dist/Schedule/Fields.js +0 -43
- package/dist/Schedule/Form/ScheduleRow.js +0 -125
- package/dist/Schedule/Form/constants.js +0 -20
- package/dist/Schedule/Form/index.js +0 -144
- package/dist/Schedule/Form/utils.js +0 -63
- package/dist/Schedule/Header.js +0 -76
- package/dist/Schedule/ScheduleContext.js +0 -8
- package/dist/Schedule/constants.js +0 -8
- package/dist/Schedule/dayjsExtended/constants.js +0 -1
- package/dist/Schedule/dayjsExtended/index.js +0 -14
- package/dist/Schedule/dayjsExtended/range.js +0 -73
- package/dist/Schedule/index.js +0 -80
- package/dist/Schedule/utils.js +0 -152
- package/dist/Scrollable/constants.js +0 -8
- package/dist/Scrollable/index.js +0 -26
- package/dist/Scrollable/scrollable.scss +0 -32
- package/dist/Search/index.js +0 -52
- package/dist/Security/AllowedKeywords/Add.js +0 -38
- package/dist/Security/AllowedKeywords/index.js +0 -38
- package/dist/Security/PasswordBlock.js +0 -31
- package/dist/Security/RadioBlock.js +0 -38
- package/dist/Security/api.js +0 -12
- package/dist/Security/constants.js +0 -58
- package/dist/Security/index.js +0 -68
- package/dist/Security/useSecurityApi.js +0 -22
- package/dist/Security/utils.js +0 -31
- package/dist/SendToFields/FilePicker.js +0 -34
- package/dist/SendToFields/constants.js +0 -6
- package/dist/SendToFields/index.js +0 -102
- package/dist/SendToFields/utils.js +0 -54
- package/dist/Settings/Category.js +0 -30
- package/dist/Settings/Item.js +0 -38
- package/dist/Settings/index.js +0 -37
- package/dist/Settings/utils.js +0 -4
- package/dist/ShareViaEmail/EmailBodyEditor.js +0 -22
- package/dist/ShareViaEmail/FilePicker.js +0 -43
- package/dist/ShareViaEmail/Form.js +0 -105
- package/dist/ShareViaEmail/FormikDatePicker.js +0 -24
- package/dist/ShareViaEmail/constants.js +0 -14
- package/dist/ShareViaEmail/index.js +0 -92
- package/dist/ShareViaEmail/utils.js +0 -72
- package/dist/ShareViaLink/EditURL.js +0 -74
- package/dist/ShareViaLink/Link.js +0 -105
- package/dist/ShareViaLink/QRCode.js +0 -41
- package/dist/ShareViaLink/RegenerateURL.js +0 -47
- package/dist/ShareViaLink/SocialMedia.js +0 -52
- package/dist/ShareViaLink/constants.js +0 -25
- package/dist/ShareViaLink/edit-url.scss +0 -8
- package/dist/ShareViaLink/index.js +0 -46
- package/dist/ShareViaLink/utils.js +0 -47
- package/dist/Sidebar/AppSwitcher/AppLink.js +0 -45
- package/dist/Sidebar/AppSwitcher/Backdrop.js +0 -13
- package/dist/Sidebar/AppSwitcher/Body.js +0 -65
- package/dist/Sidebar/AppSwitcher/Portal.js +0 -27
- package/dist/Sidebar/AppSwitcher/appswitcher.scss +0 -164
- package/dist/Sidebar/AppSwitcher/index.js +0 -47
- package/dist/Sidebar/AppSwitcher/utils.js +0 -25
- package/dist/Sidebar/Chevron.js +0 -14
- package/dist/Sidebar/FeaturedTooltip.js +0 -19
- package/dist/Sidebar/Footer/AppSwitcherButton.js +0 -48
- package/dist/Sidebar/Footer/ProfileButton.js +0 -30
- package/dist/Sidebar/Footer/index.js +0 -56
- package/dist/Sidebar/Footer/utils.js +0 -39
- package/dist/Sidebar/Header.js +0 -33
- package/dist/Sidebar/HelpSection/HelpSectionMenu.js +0 -52
- package/dist/Sidebar/HelpSection/index.js +0 -32
- package/dist/Sidebar/Links.js +0 -112
- package/dist/Sidebar/NavIconWrapper.js +0 -20
- package/dist/Sidebar/ProfileSection/LinkSection.js +0 -36
- package/dist/Sidebar/ProfileSection/ProfileMenu.js +0 -48
- package/dist/Sidebar/ProfileSection/index.js +0 -42
- package/dist/Sidebar/constants.js +0 -40
- package/dist/Sidebar/index.js +0 -94
- package/dist/Sidebar/sidebar.scss +0 -379
- package/dist/Sidebar/utils.js +0 -18
- package/dist/SubHeader/RightBlock/Columns.js +0 -35
- package/dist/SubHeader/RightBlock/Download.js +0 -28
- package/dist/SubHeader/RightBlock/Filter.js +0 -31
- package/dist/SubHeader/RightBlock/index.js +0 -21
- package/dist/SubHeader/RightBlock/utils.js +0 -13
- package/dist/SubHeader/index.js +0 -28
- package/dist/SubHeader/subheader.scss +0 -78
- package/dist/ThemeSidebar/Customize/Logo.js +0 -39
- package/dist/ThemeSidebar/Customize/Properties.js +0 -170
- package/dist/ThemeSidebar/Customize/index.js +0 -66
- package/dist/ThemeSidebar/Themes/ThemeCard.js +0 -135
- package/dist/ThemeSidebar/Themes/index.js +0 -110
- package/dist/ThemeSidebar/TitleBar.js +0 -62
- package/dist/ThemeSidebar/constants.js +0 -127
- package/dist/ThemeSidebar/fields/AlignmentBlock.js +0 -50
- package/dist/ThemeSidebar/fields/Card.js +0 -19
- package/dist/ThemeSidebar/fields/ColorBlock.js +0 -19
- package/dist/ThemeSidebar/fields/FontPickerBlock.js +0 -35
- package/dist/ThemeSidebar/fields/ImageBlock/ImageUploader.js +0 -67
- package/dist/ThemeSidebar/fields/ImageBlock/ProgressBar.js +0 -22
- package/dist/ThemeSidebar/fields/ImageBlock/index.js +0 -55
- package/dist/ThemeSidebar/fields/SelectBlock.js +0 -24
- package/dist/ThemeSidebar/fields/SliderBlock.js +0 -30
- package/dist/ThemeSidebar/fields/SwitchBlock.js +0 -17
- package/dist/ThemeSidebar/fields/TextBlock.js +0 -13
- package/dist/ThemeSidebar/fields/slider.scss +0 -199
- package/dist/ThemeSidebar/hooks/useDirectUploadDropzone.js +0 -149
- package/dist/ThemeSidebar/index.js +0 -118
- package/dist/ThemeSidebar/themeSidebar.scss +0 -45
- package/dist/ThemeSidebar/utils.js +0 -169
- package/dist/TimeFormat/index.js +0 -3
- package/dist/TimezoneMismatchModal/apis/time_zone.js +0 -9
- package/dist/TimezoneMismatchModal/index.js +0 -83
- package/dist/TimezoneMismatchModal/useTimeZoneApi.js +0 -10
- package/dist/TimezoneMismatchModal/utils.js +0 -12
- package/dist/ToggleFeatureCard/ToolTipSwitch.js +0 -31
- package/dist/ToggleFeatureCard/constants.js +0 -5
- package/dist/ToggleFeatureCard/hooks/useScrollIntoView.js +0 -11
- package/dist/ToggleFeatureCard/index.js +0 -148
- package/dist/ToggleFeatureCard/toggleFeatureCard.scss +0 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-molecules",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.17",
|
|
4
4
|
"description": "A package of reusable molecular components for neeto products.",
|
|
5
5
|
"repository": "git@github.com:bigbinary/neeto-molecules.git",
|
|
6
6
|
"author": "Amaljith K <amaljith.k@bigbinary.com>",
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
"prepare": "husky install",
|
|
10
10
|
"sync_with_wheel": "./.scripts/sync_with_wheel.sh",
|
|
11
11
|
"test": "TZ=UTC jest --runInBand",
|
|
12
|
-
"bundle": "
|
|
12
|
+
"bundle": "NODE_ENV=production rollup -c rollup.config.js && yarn build:jsdoc",
|
|
13
13
|
"build": "NODE_ENV=production build-storybook",
|
|
14
14
|
"serve": "node .storybook/db",
|
|
15
|
-
"watch": "
|
|
15
|
+
"watch": "rollup -c rollup.config.js --watch",
|
|
16
16
|
"storybook": "(trap 'kill 0' SIGINT; node .storybook/db & NODE_ENV=development start-storybook -p 6006)",
|
|
17
17
|
"build:jsdoc": "node ./.scripts/jsdoc-builder.mjs"
|
|
18
18
|
},
|
|
@@ -33,8 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"exports": {
|
|
35
35
|
"./*": {
|
|
36
|
-
"import": "./dist
|
|
37
|
-
"require": "./dist/*.cjs.js",
|
|
36
|
+
"import": "./dist/*.js",
|
|
38
37
|
"types": "./types/*.d.ts"
|
|
39
38
|
}
|
|
40
39
|
},
|
|
@@ -52,11 +51,9 @@
|
|
|
52
51
|
"qrcode.react": "^3.1.0",
|
|
53
52
|
"react-dropzone": "^11.2.4",
|
|
54
53
|
"react-transition-group": "^4.4.5",
|
|
55
|
-
"react-window": "^1.8.9"
|
|
56
|
-
"zustand": "^4.1.2"
|
|
54
|
+
"react-window": "^1.8.9"
|
|
57
55
|
},
|
|
58
56
|
"devDependencies": {
|
|
59
|
-
"@babel/cli": "^7.23.0",
|
|
60
57
|
"@babel/core": "^7.19.1",
|
|
61
58
|
"@babel/eslint-parser": "7.17.0",
|
|
62
59
|
"@babel/plugin-transform-runtime": "^7.19.1",
|
|
@@ -82,6 +79,11 @@
|
|
|
82
79
|
"@fullcalendar/timegrid": "^6.1.8",
|
|
83
80
|
"@hello-pangea/dnd": "^16.3.0",
|
|
84
81
|
"@honeybadger-io/react": "2.0.1",
|
|
82
|
+
"@rollup/plugin-alias": "^3.1.9",
|
|
83
|
+
"@rollup/plugin-babel": "^5.3.1",
|
|
84
|
+
"@rollup/plugin-commonjs": "^22.0.0",
|
|
85
|
+
"@rollup/plugin-json": "^4.1.0",
|
|
86
|
+
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
85
87
|
"@storybook/addon-actions": "^6.5.16",
|
|
86
88
|
"@storybook/addon-essentials": "6.5.16",
|
|
87
89
|
"@storybook/addon-postcss": "^2.0.0",
|
|
@@ -89,6 +91,7 @@
|
|
|
89
91
|
"@storybook/manager-webpack5": "6.5.16",
|
|
90
92
|
"@storybook/preset-scss": "1.0.3",
|
|
91
93
|
"@storybook/react": "6.5.16",
|
|
94
|
+
"@svgr/rollup": "^6.2.1",
|
|
92
95
|
"@svgr/webpack": "^6.5.1",
|
|
93
96
|
"@tailwindcss/line-clamp": "^0.4.4",
|
|
94
97
|
"@testing-library/jest-dom": "5.16.2",
|
|
@@ -101,16 +104,14 @@
|
|
|
101
104
|
"babel-jest": "27.0.6",
|
|
102
105
|
"babel-loader": "^8.2.5",
|
|
103
106
|
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
104
|
-
"babel-plugin-inline-react-svg": "^2.0.2",
|
|
105
107
|
"babel-plugin-istanbul": "^6.1.1",
|
|
106
108
|
"babel-plugin-js-logger": "1.0.17",
|
|
107
109
|
"babel-plugin-macros": "3.1.0",
|
|
108
|
-
"babel-plugin-module-resolver": "^5.0.0",
|
|
109
110
|
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
|
|
110
111
|
"babel-preset-react": "6.24.1",
|
|
111
112
|
"babel-preset-typescript": "^7.0.0-alpha.19",
|
|
113
|
+
"classnames": "^2.3.2",
|
|
112
114
|
"css-loader": "4.3.0",
|
|
113
|
-
"cssnano": "^6.0.1",
|
|
114
115
|
"dayjs": "1.11.1",
|
|
115
116
|
"eslint": "8.14.0",
|
|
116
117
|
"eslint-config-prettier": "8.5.0",
|
|
@@ -148,11 +149,17 @@
|
|
|
148
149
|
"react-router-dom": "^5.3.3",
|
|
149
150
|
"react-syntax-highlighter": "^15.5.0",
|
|
150
151
|
"react-toastify": "^9.0.8",
|
|
152
|
+
"rollup": "^2.76.0",
|
|
153
|
+
"rollup-plugin-analyzer": "^4.0.0",
|
|
154
|
+
"rollup-plugin-cleaner": "^1.0.0",
|
|
155
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
156
|
+
"rollup-plugin-styles": "^4.0.0",
|
|
151
157
|
"sass": "^1.58.1",
|
|
152
158
|
"sass-loader": "10.0.2",
|
|
153
159
|
"storybook-dark-mode": "^2.1.1",
|
|
154
160
|
"tailwindcss": "npm:@tailwindcss/postcss7-compat",
|
|
155
|
-
"yup": "^0.32.11"
|
|
161
|
+
"yup": "^0.32.11",
|
|
162
|
+
"zustand": "^4.1.2"
|
|
156
163
|
},
|
|
157
164
|
"peerDependencies": {
|
|
158
165
|
"@bigbinary/neeto-commons-frontend": "latest",
|
|
@@ -171,6 +178,7 @@
|
|
|
171
178
|
"@honeybadger-io/react": "2.0.1",
|
|
172
179
|
"antd": "5.9.2",
|
|
173
180
|
"axios": "^0.27.2",
|
|
181
|
+
"classnames": "^2.3.2",
|
|
174
182
|
"dayjs": "1.11.1",
|
|
175
183
|
"formik": "2.4.5",
|
|
176
184
|
"i18next": "^22.5.1",
|
|
@@ -186,6 +194,7 @@
|
|
|
186
194
|
"react-toastify": "^9.0.8",
|
|
187
195
|
"tailwindcss": "npm:@tailwindcss/postcss7-compat",
|
|
188
196
|
"webpack": "^5.75.0",
|
|
189
|
-
"yup": "^0.32.11"
|
|
197
|
+
"yup": "^0.32.11",
|
|
198
|
+
"zustand": "^4.1.2"
|
|
190
199
|
}
|
|
191
200
|
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
.neeto-molecules-autosave-input {
|
|
2
|
-
input::-webkit-outer-spin-button,
|
|
3
|
-
input::-webkit-inner-spin-button {
|
|
4
|
-
-webkit-appearance: none;
|
|
5
|
-
margin: 0;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
input[type="number"] {
|
|
9
|
-
-moz-appearance: textfield;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.neeto-ui-input__suffix {
|
|
13
|
-
margin-right: 0 !important;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { t } from "i18next";
|
|
2
|
-
export var TOOLTIP_PROPS = {
|
|
3
|
-
save: {
|
|
4
|
-
content: t("neetoMolecules.common.actions.save"),
|
|
5
|
-
position: "top",
|
|
6
|
-
delay: 300
|
|
7
|
-
},
|
|
8
|
-
cancel: {
|
|
9
|
-
content: t("neetoMolecules.common.actions.cancel"),
|
|
10
|
-
position: "top",
|
|
11
|
-
delay: 300
|
|
12
|
-
}
|
|
13
|
-
};
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
|
-
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
4
|
-
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
5
|
-
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
6
|
-
var _excluded = ["nullable", "value", "isSaving", "className", "handleSubmit", "handleCancel"];
|
|
7
|
-
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
8
|
-
import React, { useEffect, useState, useRef } from "react";
|
|
9
|
-
import classnames from "classnames";
|
|
10
|
-
import { isNotEmpty, noop } from "@bigbinary/neeto-commons-frontend/pure";
|
|
11
|
-
import { useHotKeys, useStateWithDependency } from "@bigbinary/neeto-commons-frontend/react-utils";
|
|
12
|
-
import { Check, Close } from "@bigbinary/neeto-icons";
|
|
13
|
-
import { Button, Input } from "@bigbinary/neetoui";
|
|
14
|
-
import { isNotNil } from "ramda";
|
|
15
|
-
import "./autosaveinput.scss";
|
|
16
|
-
import { TOOLTIP_PROPS } from "./constants";
|
|
17
|
-
import { mergeRefs } from "./utils";
|
|
18
|
-
var AutoSaveInput = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
19
|
-
var _props$nullable = props.nullable,
|
|
20
|
-
nullable = _props$nullable === void 0 ? false : _props$nullable,
|
|
21
|
-
_props$value = props.value,
|
|
22
|
-
value = _props$value === void 0 ? "" : _props$value,
|
|
23
|
-
isSaving = props.isSaving,
|
|
24
|
-
_props$className = props.className,
|
|
25
|
-
className = _props$className === void 0 ? "" : _props$className,
|
|
26
|
-
_props$handleSubmit = props.handleSubmit,
|
|
27
|
-
handleSubmit = _props$handleSubmit === void 0 ? noop : _props$handleSubmit,
|
|
28
|
-
_props$handleCancel = props.handleCancel,
|
|
29
|
-
handleCancel = _props$handleCancel === void 0 ? noop : _props$handleCancel,
|
|
30
|
-
otherProps = _objectWithoutProperties(props, _excluded);
|
|
31
|
-
var _useState = useState(false),
|
|
32
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
33
|
-
isSubmitting = _useState2[0],
|
|
34
|
-
setIsSubmitting = _useState2[1];
|
|
35
|
-
var _useStateWithDependen = useStateWithDependency(value !== null && value !== void 0 ? value : ""),
|
|
36
|
-
_useStateWithDependen2 = _slicedToArray(_useStateWithDependen, 2),
|
|
37
|
-
inputValue = _useStateWithDependen2[0],
|
|
38
|
-
setInputValue = _useStateWithDependen2[1];
|
|
39
|
-
var inputRef = useRef(null);
|
|
40
|
-
var trimmedValue = inputValue && (inputValue === null || inputValue === void 0 ? void 0 : inputValue.trim());
|
|
41
|
-
var isValidValue = nullable || isNotEmpty(trimmedValue) && isNotNil(trimmedValue);
|
|
42
|
-
var handleFocusOut = function handleFocusOut() {
|
|
43
|
-
if (!isValidValue || isSubmitting) return;
|
|
44
|
-
inputValue !== value ? onSubmit() : handleCancel(inputValue);
|
|
45
|
-
};
|
|
46
|
-
var onSubmit = /*#__PURE__*/function () {
|
|
47
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
48
|
-
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
49
|
-
while (1) switch (_context.prev = _context.next) {
|
|
50
|
-
case 0:
|
|
51
|
-
setIsSubmitting(true);
|
|
52
|
-
_context.next = 3;
|
|
53
|
-
return handleSubmit(inputValue);
|
|
54
|
-
case 3:
|
|
55
|
-
setIsSubmitting(false);
|
|
56
|
-
case 4:
|
|
57
|
-
case "end":
|
|
58
|
-
return _context.stop();
|
|
59
|
-
}
|
|
60
|
-
}, _callee);
|
|
61
|
-
}));
|
|
62
|
-
return function onSubmit() {
|
|
63
|
-
return _ref.apply(this, arguments);
|
|
64
|
-
};
|
|
65
|
-
}();
|
|
66
|
-
var closeRef = useHotKeys("escape", function (event) {
|
|
67
|
-
event.stopPropagation();
|
|
68
|
-
handleCancel(inputValue);
|
|
69
|
-
}, {
|
|
70
|
-
mode: "scoped"
|
|
71
|
-
});
|
|
72
|
-
var submitRef = useHotKeys(["command+return", "return"], function () {
|
|
73
|
-
return onSubmit();
|
|
74
|
-
}, {
|
|
75
|
-
mode: "scoped",
|
|
76
|
-
enabled: isValidValue
|
|
77
|
-
});
|
|
78
|
-
useEffect(function () {
|
|
79
|
-
return inputRef.current && inputRef.current.focus();
|
|
80
|
-
}, [isSubmitting]);
|
|
81
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
82
|
-
className: classnames("flex flex-grow", _defineProperty({}, className, className))
|
|
83
|
-
}, /*#__PURE__*/React.createElement(Input, _extends({
|
|
84
|
-
className: "neeto-molecules-autosave-input",
|
|
85
|
-
"data-testid": "neeto-molecules-autosave-input",
|
|
86
|
-
disabled: isSubmitting,
|
|
87
|
-
ref: mergeRefs(inputRef, closeRef, submitRef),
|
|
88
|
-
value: inputValue,
|
|
89
|
-
onChange: function onChange(e) {
|
|
90
|
-
return setInputValue(e.target.value);
|
|
91
|
-
},
|
|
92
|
-
onBlur: function onBlur(event) {
|
|
93
|
-
var _otherProps$onBlur;
|
|
94
|
-
otherProps === null || otherProps === void 0 ? void 0 : (_otherProps$onBlur = otherProps.onBlur) === null || _otherProps$onBlur === void 0 ? void 0 : _otherProps$onBlur.call(otherProps, event);
|
|
95
|
-
handleFocusOut();
|
|
96
|
-
}
|
|
97
|
-
}, otherProps, {
|
|
98
|
-
suffix: /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, {
|
|
99
|
-
"data-testid": "neeto-molecules-autosave-input-save",
|
|
100
|
-
disabled: !isValidValue || isSubmitting || isSaving,
|
|
101
|
-
icon: Check,
|
|
102
|
-
loading: isSubmitting || isSaving,
|
|
103
|
-
size: "small",
|
|
104
|
-
style: "text",
|
|
105
|
-
tabIndex: -1,
|
|
106
|
-
tooltipProps: TOOLTIP_PROPS["save"],
|
|
107
|
-
onClick: onSubmit
|
|
108
|
-
}), /*#__PURE__*/React.createElement(Button, {
|
|
109
|
-
disabled: isSubmitting || isSaving,
|
|
110
|
-
icon: Close,
|
|
111
|
-
ref: ref,
|
|
112
|
-
"data-testid": "neeto-molecules-autosave-input-cancel",
|
|
113
|
-
size: "small",
|
|
114
|
-
style: "text",
|
|
115
|
-
tabIndex: -1,
|
|
116
|
-
tooltipProps: TOOLTIP_PROPS["cancel"],
|
|
117
|
-
onClick: function onClick() {
|
|
118
|
-
return handleCancel(inputValue);
|
|
119
|
-
}
|
|
120
|
-
}))
|
|
121
|
-
})));
|
|
122
|
-
});
|
|
123
|
-
AutoSaveInput.displayName = "AutoSaveInput";
|
|
124
|
-
export default AutoSaveInput;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export var mergeRefs = function mergeRefs() {
|
|
2
|
-
for (var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
3
|
-
refs[_key] = arguments[_key];
|
|
4
|
-
}
|
|
5
|
-
return function (node) {
|
|
6
|
-
return refs.forEach(function (ref) {
|
|
7
|
-
return typeof ref === "function" ? ref(node) : ref.current = node;
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
.neeto-molecules-breadcrumbs-wrap {
|
|
2
|
-
display: flex;
|
|
3
|
-
|
|
4
|
-
.neeto-molecules-breadcrumb {
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: row;
|
|
7
|
-
align-items: center;
|
|
8
|
-
justify-content: flex-start;
|
|
9
|
-
line-height: 1;
|
|
10
|
-
|
|
11
|
-
a {
|
|
12
|
-
transition: all ease-in-out 300ms;
|
|
13
|
-
text-decoration: none;
|
|
14
|
-
&:focus-visible {
|
|
15
|
-
outline: 3px solid rgba(var(--neeto-ui-primary-500), 50%);
|
|
16
|
-
border-radius: var(--neeto-ui-rounded-sm);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.neeto-molecules-breadcrumb-link {
|
|
22
|
-
color: rgb(var(--neeto-ui-gray-500));
|
|
23
|
-
padding: 8px 5px;
|
|
24
|
-
&:hover {
|
|
25
|
-
color: rgb(var(--neeto-ui-gray-800));
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.neeto-molecules-breadcrumb-separator {
|
|
30
|
-
margin: 0 4px;
|
|
31
|
-
color: rgb(var(--neeto-ui-gray-500));
|
|
32
|
-
}
|
|
33
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Typography } from "@bigbinary/neetoui";
|
|
3
|
-
import { Link } from "react-router-dom";
|
|
4
|
-
import "./breadcrumbs.scss";
|
|
5
|
-
var Breadcrumbs = function Breadcrumbs(_ref) {
|
|
6
|
-
var breadcrumbs = _ref.breadcrumbs;
|
|
7
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
8
|
-
className: "neeto-molecules-breadcrumbs-wrap"
|
|
9
|
-
}, breadcrumbs.map(function (_ref2, index) {
|
|
10
|
-
var text = _ref2.text,
|
|
11
|
-
_ref2$link = _ref2.link,
|
|
12
|
-
link = _ref2$link === void 0 ? "#" : _ref2$link;
|
|
13
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
14
|
-
className: "neeto-molecules-breadcrumb",
|
|
15
|
-
"data-cy": "header-breadcrumb",
|
|
16
|
-
key: index
|
|
17
|
-
}, /*#__PURE__*/React.createElement(Link, {
|
|
18
|
-
to: link
|
|
19
|
-
}, /*#__PURE__*/React.createElement(Typography, {
|
|
20
|
-
className: "neeto-ui-text-gray-700 hover:neeto-ui-text-gray-800 neeto-molecules-breadcrumb-link",
|
|
21
|
-
component: "span",
|
|
22
|
-
"data-cy": text,
|
|
23
|
-
"data-test-id": text,
|
|
24
|
-
style: "body2",
|
|
25
|
-
weight: "normal"
|
|
26
|
-
}, text)), index + 1 !== breadcrumbs.length && /*#__PURE__*/React.createElement("span", {
|
|
27
|
-
className: "neeto-molecules-breadcrumb-separator neeto-ui-text-black"
|
|
28
|
-
}, "/"));
|
|
29
|
-
}));
|
|
30
|
-
};
|
|
31
|
-
export default Breadcrumbs;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["children"];
|
|
4
|
-
import React from "react";
|
|
5
|
-
var Callout = function Callout(_ref) {
|
|
6
|
-
var children = _ref.children,
|
|
7
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
8
|
-
return /*#__PURE__*/React.createElement("div", _extends({
|
|
9
|
-
className: "neeto-molecules-browser-support-callout",
|
|
10
|
-
"data-testid": "browser-support-callout"
|
|
11
|
-
}, props), /*#__PURE__*/React.createElement("p", {
|
|
12
|
-
className: "neeto-molecules-browser-support-callout__message"
|
|
13
|
-
}, children));
|
|
14
|
-
};
|
|
15
|
-
export default Callout;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import classnames from "classnames";
|
|
3
|
-
import { Trans } from "react-i18next";
|
|
4
|
-
var ContactUs = function ContactUs(_ref) {
|
|
5
|
-
var _ref$className = _ref.className,
|
|
6
|
-
className = _ref$className === void 0 ? "" : _ref$className;
|
|
7
|
-
return /*#__PURE__*/React.createElement(Trans, {
|
|
8
|
-
i18nKey: "neetoMolecules.browserSupport.contactUs.main",
|
|
9
|
-
components: {
|
|
10
|
-
button: /*#__PURE__*/React.createElement("button", {
|
|
11
|
-
className: classnames("neeto-molecules-browser-support__link-button", className),
|
|
12
|
-
onClick: function onClick() {
|
|
13
|
-
var _window$NeetoChat, _window$NeetoChat$con, _window$NeetoChat2, _window$NeetoChat2$co;
|
|
14
|
-
(_window$NeetoChat = window.NeetoChat) === null || _window$NeetoChat === void 0 ? void 0 : (_window$NeetoChat$con = _window$NeetoChat.contextualHelp) === null || _window$NeetoChat$con === void 0 ? void 0 : _window$NeetoChat$con.maximizeWidget();
|
|
15
|
-
(_window$NeetoChat2 = window.NeetoChat) === null || _window$NeetoChat2 === void 0 ? void 0 : (_window$NeetoChat2$co = _window$NeetoChat2.contextualHelp) === null || _window$NeetoChat2$co === void 0 ? void 0 : _window$NeetoChat2$co.openWidget();
|
|
16
|
-
}
|
|
17
|
-
})
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
};
|
|
21
|
-
export default ContactUs;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Trans } from "react-i18next";
|
|
3
|
-
var DownloadLink = function DownloadLink(_ref) {
|
|
4
|
-
var _ref$className = _ref.className,
|
|
5
|
-
className = _ref$className === void 0 ? "" : _ref$className,
|
|
6
|
-
link = _ref.link;
|
|
7
|
-
return /*#__PURE__*/React.createElement(Trans, {
|
|
8
|
-
components: {
|
|
9
|
-
button: /*#__PURE__*/React.createElement("a", {
|
|
10
|
-
className: className,
|
|
11
|
-
href: link
|
|
12
|
-
})
|
|
13
|
-
},
|
|
14
|
-
i18nKey: "neetoMolecules.browserSupport.downloadLink.main"
|
|
15
|
-
});
|
|
16
|
-
};
|
|
17
|
-
export default DownloadLink;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import Callout from "./Callout";
|
|
3
|
-
import UnsupportedVersionMessage from "./UnsupportedVersionMessage";
|
|
4
|
-
export var PartialSupportedBrowserVersion = function PartialSupportedBrowserVersion(_ref) {
|
|
5
|
-
var browserName = _ref.browserName,
|
|
6
|
-
browserVersion = _ref.browserVersion,
|
|
7
|
-
requiredMinBrowserVersion = _ref.requiredMinBrowserVersion,
|
|
8
|
-
downloadPageLink = _ref.downloadPageLink,
|
|
9
|
-
children = _ref.children;
|
|
10
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Callout, null, /*#__PURE__*/React.createElement(UnsupportedVersionMessage, {
|
|
11
|
-
browserName: browserName,
|
|
12
|
-
browserVersion: browserVersion,
|
|
13
|
-
downloadPageLink: downloadPageLink,
|
|
14
|
-
requiredMinBrowserVersion: requiredMinBrowserVersion
|
|
15
|
-
})), children);
|
|
16
|
-
};
|
|
17
|
-
export default PartialSupportedBrowserVersion;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import Callout from "./Callout";
|
|
3
|
-
import UnsupportedBrowserMessage from "./UnsupportedBrowserMessage";
|
|
4
|
-
var UnknownBrowser = function UnknownBrowser(_ref) {
|
|
5
|
-
var browserName = _ref.browserName,
|
|
6
|
-
browserVersion = _ref.browserVersion,
|
|
7
|
-
children = _ref.children;
|
|
8
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Callout, null, /*#__PURE__*/React.createElement(UnsupportedBrowserMessage, {
|
|
9
|
-
browserName: browserName,
|
|
10
|
-
browserVersion: browserVersion
|
|
11
|
-
})), children);
|
|
12
|
-
};
|
|
13
|
-
export default UnknownBrowser;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Trans } from "react-i18next";
|
|
3
|
-
import UnsupportedBrowserMessage from "./UnsupportedBrowserMessage";
|
|
4
|
-
var UnsupportedBrowser = function UnsupportedBrowser(_ref) {
|
|
5
|
-
var browserName = _ref.browserName,
|
|
6
|
-
browserVersion = _ref.browserVersion;
|
|
7
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
8
|
-
className: "neeto-molecules-browser-support-page",
|
|
9
|
-
"data-testid": "browser-support-page"
|
|
10
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
11
|
-
className: "neeto-molecules-browser-support-page__content"
|
|
12
|
-
}, /*#__PURE__*/React.createElement("h1", {
|
|
13
|
-
className: "neeto-molecules-browser-support-page__header"
|
|
14
|
-
}, /*#__PURE__*/React.createElement(Trans, {
|
|
15
|
-
i18nKey: "neetoMolecules.browserSupport.unsupportedBrowser.title"
|
|
16
|
-
})), /*#__PURE__*/React.createElement("p", {
|
|
17
|
-
className: "neeto-molecules-browser-support-page__desc"
|
|
18
|
-
}, /*#__PURE__*/React.createElement(UnsupportedBrowserMessage, {
|
|
19
|
-
browserName: browserName,
|
|
20
|
-
browserVersion: browserVersion,
|
|
21
|
-
className: "neeto-ui-text-body1"
|
|
22
|
-
}))));
|
|
23
|
-
};
|
|
24
|
-
export default /*#__PURE__*/React.memo(UnsupportedBrowser);
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Trans } from "react-i18next";
|
|
3
|
-
import ContactUs from "./ContactUs";
|
|
4
|
-
var UnsupportedBrowserMessage = function UnsupportedBrowserMessage(_ref) {
|
|
5
|
-
var browserName = _ref.browserName,
|
|
6
|
-
browserVersion = _ref.browserVersion,
|
|
7
|
-
_ref$className = _ref.className,
|
|
8
|
-
className = _ref$className === void 0 ? "" : _ref$className;
|
|
9
|
-
return /*#__PURE__*/React.createElement(Trans, {
|
|
10
|
-
components: {
|
|
11
|
-
contactUs: /*#__PURE__*/React.createElement(ContactUs, {
|
|
12
|
-
className: className
|
|
13
|
-
})
|
|
14
|
-
},
|
|
15
|
-
i18nKey: "neetoMolecules.browserSupport.unsupportedBrowser.description",
|
|
16
|
-
values: {
|
|
17
|
-
browserName: browserName,
|
|
18
|
-
browserVersion: browserVersion
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
};
|
|
22
|
-
export default /*#__PURE__*/React.memo(UnsupportedBrowserMessage);
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Trans } from "react-i18next";
|
|
3
|
-
import UnsupportedVersionMessage from "./UnsupportedVersionMessage";
|
|
4
|
-
var UnsupportedBrowserVersion = function UnsupportedBrowserVersion(_ref) {
|
|
5
|
-
var browserName = _ref.browserName,
|
|
6
|
-
browserVersion = _ref.browserVersion,
|
|
7
|
-
requiredMinBrowserVersion = _ref.requiredMinBrowserVersion,
|
|
8
|
-
downloadPageLink = _ref.downloadPageLink;
|
|
9
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
10
|
-
className: "neeto-molecules-browser-support-page",
|
|
11
|
-
"data-testid": "browser-support-page"
|
|
12
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
13
|
-
className: "neeto-molecules-browser-support-page__content"
|
|
14
|
-
}, /*#__PURE__*/React.createElement("h1", {
|
|
15
|
-
className: "neeto-molecules-browser-support-page__header"
|
|
16
|
-
}, /*#__PURE__*/React.createElement(Trans, {
|
|
17
|
-
i18nKey: "neetoMolecules.browserSupport.unsupportedBrowserVersion.title"
|
|
18
|
-
})), /*#__PURE__*/React.createElement("p", {
|
|
19
|
-
className: "neeto-molecules-browser-support-page__desc"
|
|
20
|
-
}, /*#__PURE__*/React.createElement(UnsupportedVersionMessage, {
|
|
21
|
-
browserName: browserName,
|
|
22
|
-
browserVersion: browserVersion,
|
|
23
|
-
downloadPageLink: downloadPageLink,
|
|
24
|
-
requiredMinBrowserVersion: requiredMinBrowserVersion
|
|
25
|
-
}))));
|
|
26
|
-
};
|
|
27
|
-
export default /*#__PURE__*/React.memo(UnsupportedBrowserVersion);
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Trans } from "react-i18next";
|
|
3
|
-
import ContactUs from "./ContactUs";
|
|
4
|
-
import DownloadLink from "./DownloadLink";
|
|
5
|
-
var UnsupportedVersionMessage = function UnsupportedVersionMessage(_ref) {
|
|
6
|
-
var browserName = _ref.browserName,
|
|
7
|
-
browserVersion = _ref.browserVersion,
|
|
8
|
-
_ref$className = _ref.className,
|
|
9
|
-
className = _ref$className === void 0 ? "" : _ref$className,
|
|
10
|
-
downloadPageLink = _ref.downloadPageLink,
|
|
11
|
-
requiredMinBrowserVersion = _ref.requiredMinBrowserVersion;
|
|
12
|
-
return /*#__PURE__*/React.createElement(Trans, {
|
|
13
|
-
i18nKey: "neetoMolecules.browserSupport.unsupportedBrowserVersion.description",
|
|
14
|
-
components: {
|
|
15
|
-
downloadLink: /*#__PURE__*/React.createElement(DownloadLink, {
|
|
16
|
-
className: className,
|
|
17
|
-
link: downloadPageLink
|
|
18
|
-
}),
|
|
19
|
-
contactUs: /*#__PURE__*/React.createElement(ContactUs, {
|
|
20
|
-
className: className
|
|
21
|
-
})
|
|
22
|
-
},
|
|
23
|
-
values: {
|
|
24
|
-
browserName: browserName,
|
|
25
|
-
browserVersion: browserVersion,
|
|
26
|
-
requiredMinBrowserVersion: requiredMinBrowserVersion === null || requiredMinBrowserVersion === void 0 ? void 0 : requiredMinBrowserVersion.softLimit
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
};
|
|
30
|
-
export default /*#__PURE__*/React.memo(UnsupportedVersionMessage);
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--neeto-molecules-browser-support-callout-bg: rgb(254, 236, 240);
|
|
3
|
-
--neeto-molecules-browser-support-border-color: rgb(215, 55, 63);
|
|
4
|
-
--neeto-molecules-browser-support-text-color: #121212;
|
|
5
|
-
--neeto-molecules-browser-support-link-color: #2d36d4;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.neeto-molecules-browser-support-callout {
|
|
9
|
-
display: flex;
|
|
10
|
-
justify-content: center;
|
|
11
|
-
padding: 5px;
|
|
12
|
-
border: 1px solid var(--neeto-molecules-browser-support-border-color);
|
|
13
|
-
background-color: var(--neeto-molecules-browser-support-callout-bg);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.neeto-molecules-browser-support-callout__message {
|
|
17
|
-
font-size: 14px;
|
|
18
|
-
color: var(--neeto-molecules-browser-support-text-color);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.neeto-molecules-browser-support-page {
|
|
22
|
-
display: flex;
|
|
23
|
-
flex-direction: column;
|
|
24
|
-
height: 100vh;
|
|
25
|
-
overflow-y: auto;
|
|
26
|
-
align-items: center;
|
|
27
|
-
justify-content: center;
|
|
28
|
-
background-color: #fff;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.neeto-molecules-browser-support-page__content {
|
|
32
|
-
display: flex;
|
|
33
|
-
flex-direction: column;
|
|
34
|
-
align-items: center;
|
|
35
|
-
justify-content: center;
|
|
36
|
-
width: 720px;
|
|
37
|
-
max-width: 100%;
|
|
38
|
-
padding-left: 15px;
|
|
39
|
-
padding-right: 15px;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.neeto-molecules-browser-support-page__header {
|
|
43
|
-
font-size: 24px;
|
|
44
|
-
margin: 0 0 0.5rem 0;
|
|
45
|
-
color: var(--neeto-molecules-browser-support-text-color);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.neeto-molecules-browser-support-page__desc {
|
|
49
|
-
font-size: 1rem;
|
|
50
|
-
margin: 0 0 1rem 0;
|
|
51
|
-
line-height: 1.5;
|
|
52
|
-
color: var(--neeto-molecules-browser-support-text-color);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.neeto-molecules-browser-support-callout__message,
|
|
56
|
-
.neeto-molecules-browser-support-page__desc {
|
|
57
|
-
text-align: center;
|
|
58
|
-
a {
|
|
59
|
-
color: var(--neeto-molecules-browser-support-link-color);
|
|
60
|
-
&:hover {
|
|
61
|
-
text-decoration: underline;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.neeto-molecules-browser-support__link-button {
|
|
67
|
-
color: var(--neeto-molecules-browser-support-link-color);
|
|
68
|
-
&:hover {
|
|
69
|
-
text-decoration: underline;
|
|
70
|
-
}
|
|
71
|
-
}
|