@bigbinary/neeto-molecules 1.1.16 → 1.1.18
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 +2292 -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
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Field } from "formik";
|
|
3
|
-
import { CenterAlign, LeftAlign } from "@bigbinary/neeto-icons";
|
|
4
|
-
import { Button, Typography } from "@bigbinary/neetoui";
|
|
5
|
-
import { useTranslation } from "react-i18next";
|
|
6
|
-
var AlignmentBlock = function AlignmentBlock(_ref) {
|
|
7
|
-
var label = _ref.label,
|
|
8
|
-
name = _ref.name;
|
|
9
|
-
var _useTranslation = useTranslation(),
|
|
10
|
-
t = _useTranslation.t;
|
|
11
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
12
|
-
className: "flex items-center justify-between gap-2 py-3 first:pt-0 last:pb-0"
|
|
13
|
-
}, /*#__PURE__*/React.createElement(Typography, {
|
|
14
|
-
"data-cy": "style-fields-labels",
|
|
15
|
-
style: "body2"
|
|
16
|
-
}, label), /*#__PURE__*/React.createElement(Field, {
|
|
17
|
-
name: name
|
|
18
|
-
}, function (_ref2) {
|
|
19
|
-
var value = _ref2.field.value,
|
|
20
|
-
setFieldValue = _ref2.form.setFieldValue;
|
|
21
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
22
|
-
className: "flex items-center gap-3"
|
|
23
|
-
}, /*#__PURE__*/React.createElement(Button, {
|
|
24
|
-
"data-cy": "alignment-left",
|
|
25
|
-
icon: LeftAlign,
|
|
26
|
-
size: "large",
|
|
27
|
-
style: value === "left" ? "primary" : "text",
|
|
28
|
-
tooltipProps: {
|
|
29
|
-
content: t("neetoMolecules.themeSidebar.alignmentOptions.left"),
|
|
30
|
-
position: "bottom"
|
|
31
|
-
},
|
|
32
|
-
onClick: function onClick() {
|
|
33
|
-
return setFieldValue(name, "left");
|
|
34
|
-
}
|
|
35
|
-
}), /*#__PURE__*/React.createElement(Button, {
|
|
36
|
-
"data-cy": "alignment-center",
|
|
37
|
-
icon: CenterAlign,
|
|
38
|
-
size: "large",
|
|
39
|
-
style: value === "center" ? "primary" : "text",
|
|
40
|
-
tooltipProps: {
|
|
41
|
-
content: t("neetoMolecules.themeSidebar.alignmentOptions.center"),
|
|
42
|
-
position: "bottom"
|
|
43
|
-
},
|
|
44
|
-
onClick: function onClick() {
|
|
45
|
-
return setFieldValue(name, "center");
|
|
46
|
-
}
|
|
47
|
-
}));
|
|
48
|
-
}));
|
|
49
|
-
};
|
|
50
|
-
export default AlignmentBlock;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Typography } from "@bigbinary/neetoui";
|
|
3
|
-
var Card = function Card(_ref) {
|
|
4
|
-
var title = _ref.title,
|
|
5
|
-
children = _ref.children;
|
|
6
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
7
|
-
className: "neeto-ui-border-gray-300 neeto-ui-rounded-lg neeto-ui-bg-white space-y-3 border p-4"
|
|
8
|
-
}, title && /*#__PURE__*/React.createElement("div", {
|
|
9
|
-
className: "flex items-center justify-between"
|
|
10
|
-
}, /*#__PURE__*/React.createElement(Typography, {
|
|
11
|
-
"data-cy": "edit-theme-properties",
|
|
12
|
-
lineHeight: "normal",
|
|
13
|
-
style: "h4",
|
|
14
|
-
weight: "semibold"
|
|
15
|
-
}, title)), children && /*#__PURE__*/React.createElement("div", {
|
|
16
|
-
className: "space-y-4"
|
|
17
|
-
}, children));
|
|
18
|
-
};
|
|
19
|
-
export default Card;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ColorPicker, Typography } from "@bigbinary/neetoui";
|
|
3
|
-
var ColorBlock = function ColorBlock(_ref) {
|
|
4
|
-
var label = _ref.label,
|
|
5
|
-
_ref$color = _ref.color,
|
|
6
|
-
color = _ref$color === void 0 ? "#FFFFFF" : _ref$color,
|
|
7
|
-
onChange = _ref.onChange;
|
|
8
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
9
|
-
className: "flex items-center justify-between py-3 first:pt-0 last:pb-0"
|
|
10
|
-
}, /*#__PURE__*/React.createElement(Typography, {
|
|
11
|
-
"data-cy": "style-fields-labels",
|
|
12
|
-
style: "body2"
|
|
13
|
-
}, label), /*#__PURE__*/React.createElement(ColorPicker, {
|
|
14
|
-
showEyeDropper: true,
|
|
15
|
-
color: color,
|
|
16
|
-
onChange: onChange
|
|
17
|
-
}));
|
|
18
|
-
};
|
|
19
|
-
export default ColorBlock;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
|
-
import React from "react";
|
|
5
|
-
import { Typography, Select } from "@bigbinary/neetoui";
|
|
6
|
-
var FontPickerBlock = function FontPickerBlock(_ref) {
|
|
7
|
-
var label = _ref.label,
|
|
8
|
-
_ref$placeholder = _ref.placeholder,
|
|
9
|
-
placeholder = _ref$placeholder === void 0 ? "" : _ref$placeholder,
|
|
10
|
-
value = _ref.value,
|
|
11
|
-
options = _ref.options,
|
|
12
|
-
onChange = _ref.onChange;
|
|
13
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
14
|
-
className: "flex items-center justify-between py-3 first:pt-0 last:pb-0"
|
|
15
|
-
}, /*#__PURE__*/React.createElement(Typography, {
|
|
16
|
-
"data-cy": "style-fields-labels",
|
|
17
|
-
style: "body2"
|
|
18
|
-
}, label), /*#__PURE__*/React.createElement("div", {
|
|
19
|
-
className: "w-40"
|
|
20
|
-
}, /*#__PURE__*/React.createElement(Select, {
|
|
21
|
-
options: options,
|
|
22
|
-
placeholder: placeholder,
|
|
23
|
-
value: value,
|
|
24
|
-
styles: {
|
|
25
|
-
option: function option(styles, _ref2) {
|
|
26
|
-
var data = _ref2.data;
|
|
27
|
-
return _objectSpread(_objectSpread({}, styles), {}, {
|
|
28
|
-
fontFamily: data.value
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
onChange: onChange
|
|
33
|
-
})));
|
|
34
|
-
};
|
|
35
|
-
export default FontPickerBlock;
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import React from "react";
|
|
3
|
-
import classnames from "classnames";
|
|
4
|
-
import { ImageUpload } from "@bigbinary/neeto-icons";
|
|
5
|
-
import { Typography } from "@bigbinary/neetoui";
|
|
6
|
-
import { Trans, useTranslation } from "react-i18next";
|
|
7
|
-
import ProgressBar from "./ProgressBar";
|
|
8
|
-
import { FIVE_MEGABYTES } from "../../constants";
|
|
9
|
-
import useDropzoneWithValidation from "../../hooks/useDirectUploadDropzone";
|
|
10
|
-
var ImageUploader = function ImageUploader(_ref) {
|
|
11
|
-
var onChange = _ref.onChange,
|
|
12
|
-
name = _ref.name,
|
|
13
|
-
_ref$isDominantColorE = _ref.isDominantColorEnabled,
|
|
14
|
-
isDominantColorEnabled = _ref$isDominantColorE === void 0 ? false : _ref$isDominantColorE;
|
|
15
|
-
var _useTranslation = useTranslation(),
|
|
16
|
-
t = _useTranslation.t;
|
|
17
|
-
var _useDropzoneWithValid = useDropzoneWithValidation({
|
|
18
|
-
maxSize: FIVE_MEGABYTES,
|
|
19
|
-
acceptedTypes: "image/*",
|
|
20
|
-
handleAcceptedFile: onChange,
|
|
21
|
-
isDominantColorEnabled: isDominantColorEnabled
|
|
22
|
-
}),
|
|
23
|
-
getInputProps = _useDropzoneWithValid.getInputProps,
|
|
24
|
-
getRootProps = _useDropzoneWithValid.getRootProps,
|
|
25
|
-
isDragActive = _useDropzoneWithValid.isDragActive,
|
|
26
|
-
uploadProgress = _useDropzoneWithValid.uploadProgress;
|
|
27
|
-
var shouldShowProgress = !!(uploadProgress && uploadProgress !== 1);
|
|
28
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
29
|
-
className: "space-y-2"
|
|
30
|
-
}, /*#__PURE__*/React.createElement("div", _extends({}, getRootProps(), {
|
|
31
|
-
"data-cy": "image-browse-button",
|
|
32
|
-
className: classnames("neeto-ui-border-primary-600 hover:neeto-ui-bg-gray-100 neeto-ui-rounded-lg flex cursor-pointer flex-col items-center justify-center gap-3 border border-dashed p-5 px-4 transition-all duration-300 ease-in-out", {
|
|
33
|
-
"neeto-ui-border-gray-300": !isDragActive,
|
|
34
|
-
"neeto-ui-border-gray-700": isDragActive
|
|
35
|
-
})
|
|
36
|
-
}), shouldShowProgress ? /*#__PURE__*/React.createElement("div", {
|
|
37
|
-
className: "flex h-24 w-full items-center"
|
|
38
|
-
}, /*#__PURE__*/React.createElement(ProgressBar, {
|
|
39
|
-
progressPercentage: uploadProgress * 100,
|
|
40
|
-
progressValue: "".concat(uploadProgress, "%")
|
|
41
|
-
})) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(ImageUpload, {
|
|
42
|
-
className: "neeto-ui-text-primary-500",
|
|
43
|
-
size: 24
|
|
44
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
45
|
-
className: "flex flex-col space-y-1"
|
|
46
|
-
}, /*#__PURE__*/React.createElement(Typography, {
|
|
47
|
-
className: "neeto-ui-text-gray-800 text-center leading-4",
|
|
48
|
-
style: "body2"
|
|
49
|
-
}, /*#__PURE__*/React.createElement(Trans, {
|
|
50
|
-
i18nKey: "neetoMolecules.themeSidebar.editTheme.imageUpload",
|
|
51
|
-
components: {
|
|
52
|
-
span: /*#__PURE__*/React.createElement("span", {
|
|
53
|
-
className: "neeto-ui-text-primary-500"
|
|
54
|
-
})
|
|
55
|
-
}
|
|
56
|
-
})), /*#__PURE__*/React.createElement("input", _extends({}, getInputProps(), {
|
|
57
|
-
name: name
|
|
58
|
-
})), /*#__PURE__*/React.createElement(Typography, {
|
|
59
|
-
className: "neeto-ui-text-gray-700 text-center",
|
|
60
|
-
"data-cy": "supported-files-text",
|
|
61
|
-
lineHeight: "snug",
|
|
62
|
-
style: "nano"
|
|
63
|
-
}, t("neetoMolecules.themeSidebar.fileRequirements", {
|
|
64
|
-
maxSize: FIVE_MEGABYTES
|
|
65
|
-
}))))));
|
|
66
|
-
};
|
|
67
|
-
export default ImageUploader;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { motion } from "framer-motion";
|
|
3
|
-
var ProgressBar = function ProgressBar(_ref) {
|
|
4
|
-
var progressPercentage = _ref.progressPercentage,
|
|
5
|
-
progressValue = _ref.progressValue;
|
|
6
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
7
|
-
className: "neeto-ui-bg-gray-200 neeto-ui-rounded-full w-full overflow-hidden"
|
|
8
|
-
}, /*#__PURE__*/React.createElement(motion.div, {
|
|
9
|
-
animate: {
|
|
10
|
-
width: "".concat(progressPercentage, "%")
|
|
11
|
-
},
|
|
12
|
-
className: "neeto-ui-bg-primary-600 neeto-ui-text-primary-100 text-2xs neeto-ui-rounded-full flex h-3 animate-pulse items-center justify-center font-medium leading-none",
|
|
13
|
-
initial: {
|
|
14
|
-
width: 0
|
|
15
|
-
},
|
|
16
|
-
transition: {
|
|
17
|
-
duration: 0.5,
|
|
18
|
-
ease: "easeInOut"
|
|
19
|
-
}
|
|
20
|
-
}, progressValue));
|
|
21
|
-
};
|
|
22
|
-
export default ProgressBar;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Button, Typography } from "@bigbinary/neetoui";
|
|
3
|
-
import ImageUploader from "./ImageUploader";
|
|
4
|
-
var ImageBlock = function ImageBlock(_ref) {
|
|
5
|
-
var label = _ref.label,
|
|
6
|
-
name = _ref.name,
|
|
7
|
-
_ref$imageData = _ref.imageData,
|
|
8
|
-
imageData = _ref$imageData === void 0 ? {} : _ref$imageData,
|
|
9
|
-
_onChange = _ref.onChange;
|
|
10
|
-
var url = imageData.url,
|
|
11
|
-
size = imageData.size;
|
|
12
|
-
var fileName = imageData.name;
|
|
13
|
-
if (url && !fileName) {
|
|
14
|
-
var urlParts = url.split("/");
|
|
15
|
-
fileName = urlParts[urlParts.length - 1];
|
|
16
|
-
}
|
|
17
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
18
|
-
className: "space-y-3 py-3 first:pt-0 last:pb-0"
|
|
19
|
-
}, label && /*#__PURE__*/React.createElement("div", {
|
|
20
|
-
className: "flex items-center justify-between"
|
|
21
|
-
}, /*#__PURE__*/React.createElement(Typography, {
|
|
22
|
-
"data-cy": "style-fields-labels",
|
|
23
|
-
style: "body2"
|
|
24
|
-
}, label)), url ? /*#__PURE__*/React.createElement("div", {
|
|
25
|
-
className: "flex items-center justify-between gap-2"
|
|
26
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
27
|
-
className: "flex min-w-0 flex-grow items-center gap-2"
|
|
28
|
-
}, /*#__PURE__*/React.createElement("img", {
|
|
29
|
-
className: "h-10 w-10 object-cover",
|
|
30
|
-
src: url
|
|
31
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
32
|
-
className: "flex min-w-0 flex-grow flex-col gap-1"
|
|
33
|
-
}, /*#__PURE__*/React.createElement(Typography, {
|
|
34
|
-
className: "neeto-ui-text-gray-700 break-words",
|
|
35
|
-
style: "nano"
|
|
36
|
-
}, fileName), size ? /*#__PURE__*/React.createElement(Typography, {
|
|
37
|
-
className: "neeto-ui-text-gray-500",
|
|
38
|
-
style: "nano"
|
|
39
|
-
}, size / 1000, "KB") : null)), /*#__PURE__*/React.createElement("div", {
|
|
40
|
-
className: "flex items-center gap-1"
|
|
41
|
-
}, /*#__PURE__*/React.createElement(Button, {
|
|
42
|
-
label: "Remove",
|
|
43
|
-
size: "small",
|
|
44
|
-
style: "danger-text",
|
|
45
|
-
onClick: function onClick() {
|
|
46
|
-
return _onChange(name, {}, "");
|
|
47
|
-
}
|
|
48
|
-
}))) : /*#__PURE__*/React.createElement(ImageUploader, {
|
|
49
|
-
isDominantColorEnabled: true,
|
|
50
|
-
onChange: function onChange(value) {
|
|
51
|
-
return _onChange(name, value, "url(".concat(value.url, ")"));
|
|
52
|
-
}
|
|
53
|
-
}));
|
|
54
|
-
};
|
|
55
|
-
export default ImageBlock;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Typography, Select } from "@bigbinary/neetoui";
|
|
3
|
-
var SelectBlock = function SelectBlock(_ref) {
|
|
4
|
-
var label = _ref.label,
|
|
5
|
-
_ref$placeholder = _ref.placeholder,
|
|
6
|
-
placeholder = _ref$placeholder === void 0 ? "" : _ref$placeholder,
|
|
7
|
-
value = _ref.value,
|
|
8
|
-
options = _ref.options,
|
|
9
|
-
onChange = _ref.onChange;
|
|
10
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
11
|
-
className: "flex items-center justify-between py-3 first:pt-0 last:pb-0"
|
|
12
|
-
}, /*#__PURE__*/React.createElement(Typography, {
|
|
13
|
-
"data-cy": "logo-field-labels",
|
|
14
|
-
style: "body2"
|
|
15
|
-
}, label), /*#__PURE__*/React.createElement("div", {
|
|
16
|
-
className: "w-40"
|
|
17
|
-
}, /*#__PURE__*/React.createElement(Select, {
|
|
18
|
-
options: options,
|
|
19
|
-
placeholder: placeholder,
|
|
20
|
-
value: value,
|
|
21
|
-
onChange: onChange
|
|
22
|
-
})));
|
|
23
|
-
};
|
|
24
|
-
export default SelectBlock;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Slider } from "antd";
|
|
3
|
-
import { noop } from "@bigbinary/neeto-commons-frontend/pure";
|
|
4
|
-
import { Typography } from "@bigbinary/neetoui";
|
|
5
|
-
import "./slider.scss";
|
|
6
|
-
var SliderBlock = function SliderBlock(_ref) {
|
|
7
|
-
var label = _ref.label,
|
|
8
|
-
onChange = _ref.onChange,
|
|
9
|
-
defaultValue = _ref.defaultValue,
|
|
10
|
-
min = _ref.min,
|
|
11
|
-
max = _ref.max,
|
|
12
|
-
marks = _ref.marks;
|
|
13
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
14
|
-
className: "flex items-center justify-between gap-3 py-3 first:pt-0 last:pb-0"
|
|
15
|
-
}, /*#__PURE__*/React.createElement(Typography, {
|
|
16
|
-
"data-cy": "style-fields-labels",
|
|
17
|
-
style: "body2"
|
|
18
|
-
}, label), /*#__PURE__*/React.createElement(Slider, {
|
|
19
|
-
className: "my-2 w-20",
|
|
20
|
-
defaultValue: defaultValue,
|
|
21
|
-
marks: marks,
|
|
22
|
-
max: max,
|
|
23
|
-
min: min,
|
|
24
|
-
onChange: onChange,
|
|
25
|
-
tooltip: {
|
|
26
|
-
formatter: noop
|
|
27
|
-
}
|
|
28
|
-
}));
|
|
29
|
-
};
|
|
30
|
-
export default SliderBlock;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Typography } from "@bigbinary/neetoui";
|
|
3
|
-
import { Switch } from "@bigbinary/neetoui/formik";
|
|
4
|
-
var SwitchBlock = function SwitchBlock(_ref) {
|
|
5
|
-
var label = _ref.label,
|
|
6
|
-
name = _ref.name;
|
|
7
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
8
|
-
className: "flex items-center justify-between py-3 first:pt-0 last:pb-0"
|
|
9
|
-
}, /*#__PURE__*/React.createElement(Typography, {
|
|
10
|
-
"data-cy": "style-fields-labels",
|
|
11
|
-
style: "body2"
|
|
12
|
-
}, label), /*#__PURE__*/React.createElement(Switch, {
|
|
13
|
-
"data-cy": "enable-background-color-toggle",
|
|
14
|
-
name: name
|
|
15
|
-
}));
|
|
16
|
-
};
|
|
17
|
-
export default SwitchBlock;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Input } from "@bigbinary/neetoui/formik";
|
|
3
|
-
var TextBlock = function TextBlock(_ref) {
|
|
4
|
-
var name = _ref.name,
|
|
5
|
-
_ref$autoFocus = _ref.autoFocus,
|
|
6
|
-
autoFocus = _ref$autoFocus === void 0 ? false : _ref$autoFocus;
|
|
7
|
-
return /*#__PURE__*/React.createElement(Input, {
|
|
8
|
-
autoFocus: autoFocus,
|
|
9
|
-
"data-cy": "text-block-input",
|
|
10
|
-
name: name
|
|
11
|
-
});
|
|
12
|
-
};
|
|
13
|
-
export default TextBlock;
|
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
.ant-slider {
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
margin: 0;
|
|
4
|
-
padding: 0;
|
|
5
|
-
color: rgba(0, 0, 0, 0.85);
|
|
6
|
-
font-size: 14px;
|
|
7
|
-
font-variant: tabular-nums;
|
|
8
|
-
line-height: 1.5715;
|
|
9
|
-
list-style: none;
|
|
10
|
-
font-feature-settings: "tnum";
|
|
11
|
-
position: relative;
|
|
12
|
-
height: 12px;
|
|
13
|
-
margin: 10px 6px 10px;
|
|
14
|
-
padding: 4px 0;
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
touch-action: none;
|
|
17
|
-
}
|
|
18
|
-
.ant-slider-vertical {
|
|
19
|
-
width: 12px;
|
|
20
|
-
height: 100%;
|
|
21
|
-
margin: 6px 10px;
|
|
22
|
-
padding: 0 4px;
|
|
23
|
-
}
|
|
24
|
-
.ant-slider-vertical .ant-slider-rail {
|
|
25
|
-
width: 4px;
|
|
26
|
-
height: 100%;
|
|
27
|
-
}
|
|
28
|
-
.ant-slider-vertical .ant-slider-track {
|
|
29
|
-
width: 4px;
|
|
30
|
-
}
|
|
31
|
-
.ant-slider-vertical .ant-slider-handle {
|
|
32
|
-
margin-top: -6px;
|
|
33
|
-
margin-left: -5px;
|
|
34
|
-
}
|
|
35
|
-
.ant-slider-vertical .ant-slider-mark {
|
|
36
|
-
top: 0;
|
|
37
|
-
left: 12px;
|
|
38
|
-
width: 18px;
|
|
39
|
-
height: 100%;
|
|
40
|
-
}
|
|
41
|
-
.ant-slider-vertical .ant-slider-mark-text {
|
|
42
|
-
left: 4px;
|
|
43
|
-
white-space: nowrap;
|
|
44
|
-
}
|
|
45
|
-
.ant-slider-vertical .ant-slider-step {
|
|
46
|
-
width: 4px;
|
|
47
|
-
height: 100%;
|
|
48
|
-
}
|
|
49
|
-
.ant-slider-vertical .ant-slider-dot {
|
|
50
|
-
top: auto;
|
|
51
|
-
margin-left: -2px;
|
|
52
|
-
}
|
|
53
|
-
.ant-slider-tooltip .ant-tooltip-inner {
|
|
54
|
-
min-width: unset;
|
|
55
|
-
}
|
|
56
|
-
.ant-slider-rtl.ant-slider-vertical .ant-slider-handle {
|
|
57
|
-
margin-right: -5px;
|
|
58
|
-
margin-left: 0;
|
|
59
|
-
}
|
|
60
|
-
.ant-slider-rtl.ant-slider-vertical .ant-slider-mark {
|
|
61
|
-
right: 12px;
|
|
62
|
-
left: auto;
|
|
63
|
-
}
|
|
64
|
-
.ant-slider-rtl.ant-slider-vertical .ant-slider-mark-text {
|
|
65
|
-
right: 4px;
|
|
66
|
-
left: auto;
|
|
67
|
-
}
|
|
68
|
-
.ant-slider-rtl.ant-slider-vertical .ant-slider-dot {
|
|
69
|
-
right: 2px;
|
|
70
|
-
left: auto;
|
|
71
|
-
}
|
|
72
|
-
.ant-slider-with-marks {
|
|
73
|
-
margin-bottom: 28px;
|
|
74
|
-
}
|
|
75
|
-
.ant-slider-rail {
|
|
76
|
-
position: absolute;
|
|
77
|
-
width: 100%;
|
|
78
|
-
height: 4px;
|
|
79
|
-
background-color: #f5f5f5;
|
|
80
|
-
border-radius: 2px;
|
|
81
|
-
transition: background-color 0.3s;
|
|
82
|
-
}
|
|
83
|
-
.ant-slider-track {
|
|
84
|
-
position: absolute;
|
|
85
|
-
height: 4px;
|
|
86
|
-
background-color: #91d5ff;
|
|
87
|
-
border-radius: 2px;
|
|
88
|
-
transition: background-color 0.3s;
|
|
89
|
-
}
|
|
90
|
-
.ant-slider-handle {
|
|
91
|
-
position: absolute;
|
|
92
|
-
width: 14px;
|
|
93
|
-
height: 14px;
|
|
94
|
-
margin-top: -5px;
|
|
95
|
-
background-color: #fff;
|
|
96
|
-
border: solid 2px #91d5ff;
|
|
97
|
-
border-radius: 50%;
|
|
98
|
-
box-shadow: 0;
|
|
99
|
-
cursor: pointer;
|
|
100
|
-
transition: border-color 0.3s, box-shadow 0.6s,
|
|
101
|
-
transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
|
|
102
|
-
}
|
|
103
|
-
.ant-slider-handle-dragging {
|
|
104
|
-
z-index: 1;
|
|
105
|
-
}
|
|
106
|
-
.ant-slider-handle:focus {
|
|
107
|
-
border-color: #46a6ff;
|
|
108
|
-
outline: none;
|
|
109
|
-
box-shadow: 0 0 0 5px rgba(24, 144, 255, 0.12);
|
|
110
|
-
}
|
|
111
|
-
.ant-slider-handle.ant-tooltip-open {
|
|
112
|
-
border-color: #1890ff;
|
|
113
|
-
}
|
|
114
|
-
.ant-slider-handle::after {
|
|
115
|
-
position: absolute;
|
|
116
|
-
top: -6px;
|
|
117
|
-
right: -6px;
|
|
118
|
-
bottom: -6px;
|
|
119
|
-
left: -6px;
|
|
120
|
-
content: "";
|
|
121
|
-
}
|
|
122
|
-
.ant-slider:hover .ant-slider-rail {
|
|
123
|
-
background-color: #e1e1e1;
|
|
124
|
-
}
|
|
125
|
-
.ant-slider:hover .ant-slider-track {
|
|
126
|
-
background-color: #69c0ff;
|
|
127
|
-
}
|
|
128
|
-
.ant-slider:hover .ant-slider-handle:not(.ant-tooltip-open) {
|
|
129
|
-
border-color: #69c0ff;
|
|
130
|
-
}
|
|
131
|
-
.ant-slider-mark {
|
|
132
|
-
position: absolute;
|
|
133
|
-
top: 14px;
|
|
134
|
-
left: 0;
|
|
135
|
-
width: 100%;
|
|
136
|
-
font-size: 14px;
|
|
137
|
-
}
|
|
138
|
-
.ant-slider-mark-text {
|
|
139
|
-
position: absolute;
|
|
140
|
-
display: inline-block;
|
|
141
|
-
color: rgba(0, 0, 0, 0.45);
|
|
142
|
-
text-align: center;
|
|
143
|
-
word-break: keep-all;
|
|
144
|
-
cursor: pointer;
|
|
145
|
-
-webkit-user-select: none;
|
|
146
|
-
-moz-user-select: none;
|
|
147
|
-
-ms-user-select: none;
|
|
148
|
-
user-select: none;
|
|
149
|
-
}
|
|
150
|
-
.ant-slider-mark-text-active {
|
|
151
|
-
color: rgba(0, 0, 0, 0.85);
|
|
152
|
-
}
|
|
153
|
-
.ant-slider-step {
|
|
154
|
-
position: absolute;
|
|
155
|
-
width: 100%;
|
|
156
|
-
height: 4px;
|
|
157
|
-
background: transparent;
|
|
158
|
-
pointer-events: none;
|
|
159
|
-
}
|
|
160
|
-
.ant-slider-dot {
|
|
161
|
-
position: absolute;
|
|
162
|
-
top: -2px;
|
|
163
|
-
width: 8px;
|
|
164
|
-
height: 8px;
|
|
165
|
-
background-color: #fff;
|
|
166
|
-
border: 2px solid #f0f0f0;
|
|
167
|
-
border-radius: 50%;
|
|
168
|
-
cursor: pointer;
|
|
169
|
-
}
|
|
170
|
-
.ant-slider-dot-active {
|
|
171
|
-
border-color: #8cc8ff;
|
|
172
|
-
}
|
|
173
|
-
.ant-slider-disabled {
|
|
174
|
-
cursor: not-allowed;
|
|
175
|
-
}
|
|
176
|
-
.ant-slider-disabled .ant-slider-rail {
|
|
177
|
-
background-color: #f5f5f5 !important;
|
|
178
|
-
}
|
|
179
|
-
.ant-slider-disabled .ant-slider-track {
|
|
180
|
-
background-color: rgba(0, 0, 0, 0.25) !important;
|
|
181
|
-
}
|
|
182
|
-
.ant-slider-disabled .ant-slider-handle,
|
|
183
|
-
.ant-slider-disabled .ant-slider-dot {
|
|
184
|
-
background-color: #fff;
|
|
185
|
-
border-color: rgba(0, 0, 0, 0.25) !important;
|
|
186
|
-
box-shadow: none;
|
|
187
|
-
cursor: not-allowed;
|
|
188
|
-
}
|
|
189
|
-
.ant-slider-disabled .ant-slider-mark-text,
|
|
190
|
-
.ant-slider-disabled .ant-slider-dot {
|
|
191
|
-
cursor: not-allowed !important;
|
|
192
|
-
}
|
|
193
|
-
.ant-slider-rtl {
|
|
194
|
-
direction: rtl;
|
|
195
|
-
}
|
|
196
|
-
.ant-slider-rtl .ant-slider-mark {
|
|
197
|
-
right: 0;
|
|
198
|
-
left: auto;
|
|
199
|
-
}
|