@antscorp/antsomi-ui 1.3.6-beta.63 → 1.3.6-beta.64
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 +78 -78
- package/es/__mocks__/1000_city.json +802 -802
- package/es/assets/css/main.scss +4 -4
- package/es/assets/images/feedback.svg +3 -3
- package/es/assets/svg/mobile-frame.svg +3 -3
- package/es/assets/svg/warning-icon.svg +5 -5
- package/es/components/atoms/Alert/Alert.js +28 -28
- package/es/components/atoms/ContentEditable/styled.js +16 -16
- package/es/components/atoms/DividerPure/styled.js +35 -35
- package/es/components/atoms/Icon/index.js +19 -19
- package/es/components/atoms/Iframe/Iframe.js +18 -18
- package/es/components/atoms/Input/styled.js +104 -104
- package/es/components/atoms/InputDynamic/styled.js +284 -284
- package/es/components/atoms/MobileBrandingBar/styled.js +21 -21
- package/es/components/atoms/MobileFrame/styled.js +30 -30
- package/es/components/atoms/MobileFrameV2/styled.js +42 -42
- package/es/components/atoms/MobileFrameV3/styled.js +31 -31
- package/es/components/atoms/NotificationStatus/styled.js +10 -10
- package/es/components/atoms/PreviewTabs/styled.js +69 -69
- package/es/components/atoms/Radio/index.js +16 -16
- package/es/components/atoms/ReactIframe/ReactIframe.js +5 -5
- package/es/components/atoms/ReactIframe/styled.js +9 -9
- package/es/components/atoms/RequiredLabel/styled.js +3 -3
- package/es/components/atoms/ScrollBox/index.js +5 -5
- package/es/components/atoms/Scrollbars/styled.js +21 -21
- package/es/components/atoms/SelectAssociatedTag/styled.js +51 -51
- package/es/components/atoms/SlideBar/styled.js +194 -194
- package/es/components/atoms/Slider/styled.js +31 -31
- package/es/components/atoms/Space/Space.js +4 -4
- package/es/components/atoms/Spin/styled.js +11 -11
- package/es/components/atoms/Steps/styled.js +244 -244
- package/es/components/atoms/Switch/styled.js +56 -56
- package/es/components/atoms/Tag/Tag.js +10 -10
- package/es/components/atoms/Text/styled.js +34 -34
- package/es/components/icons/DomainManagementIcon.js +1 -1
- package/es/components/icons/LoadingIcon.js +33 -33
- package/es/components/icons/document/styled.js +43 -43
- package/es/components/molecules/AccessDenied/styled.js +28 -28
- package/es/components/molecules/AccountSelection/styled.js +110 -110
- package/es/components/molecules/AddDynamicContent/components/DisplayFormat/DisplayFormat.d.ts +1 -0
- package/es/components/molecules/AddDynamicContent/styled.js +23 -23
- package/es/components/molecules/AlignSetting/styled.js +4 -4
- package/es/components/molecules/ApplyPopupContent/styled.js +32 -32
- package/es/components/molecules/CalendarSelection/components/AutoUpdateTo/styled.js +8 -8
- package/es/components/molecules/CalendarSelection/components/CustomPicker/styled.js +79 -79
- package/es/components/molecules/CalendarSelection/components/Footer/styled.js +4 -4
- package/es/components/molecules/CalendarSelection/components/RangePicker/styled.js +21 -21
- package/es/components/molecules/CalendarSelection/components/RangeSelectOptions/components/Option/Option.js +26 -26
- package/es/components/molecules/CalendarSelection/components/RangeSelectOptions/styled.js +30 -30
- package/es/components/molecules/CalendarSelection/components/TimeRangeDisplay/styled.js +26 -26
- package/es/components/molecules/CalendarSelection/styled.js +8 -8
- package/es/components/molecules/CaptureScreen/components/CommentBox/styled.js +119 -119
- package/es/components/molecules/CaptureScreen/components/Cursor/styled.js +67 -67
- package/es/components/molecules/CaptureScreen/styled.js +240 -240
- package/es/components/molecules/ChartTab/components/styled.js +24 -24
- package/es/components/molecules/ChartTab/styled.js +20 -20
- package/es/components/molecules/ChatBox/AntsomiAI.js +8 -8
- package/es/components/molecules/ChatBox/ChatBoxInsight/QuestionItem.js +9 -9
- package/es/components/molecules/ChatBox/ChatBoxInsight/styled.js +365 -365
- package/es/components/molecules/ChatBox/styled.js +324 -324
- package/es/components/molecules/CodeStructure/styled.js +5 -5
- package/es/components/molecules/ColorPicker/ChromePicker/styled.js +10 -10
- package/es/components/molecules/ColorPicker/CustomPicker/styled.js +89 -89
- package/es/components/molecules/ColorPicker/SketchPicker/styled.js +5 -5
- package/es/components/molecules/ColorPicker/styled.js +7 -7
- package/es/components/molecules/ColorSetting/styled.js +32 -32
- package/es/components/molecules/DatePicker/components/AdvancedPicker/styled.js +110 -110
- package/es/components/molecules/DatePickerV2/styled.js +6 -6
- package/es/components/molecules/DisplayFormat/styled.js +12 -12
- package/es/components/molecules/DrawerDetail/components/ToggleDrawerSizeButton.js +24 -24
- package/es/components/molecules/DrawerDetail/styled.js +109 -109
- package/es/components/molecules/Dropdown/style.scss +11 -11
- package/es/components/molecules/Dropdown/styled.js +28 -28
- package/es/components/molecules/EdgeSetting/styled.js +10 -10
- package/es/components/molecules/EditableName/styled.js +70 -70
- package/es/components/molecules/EditingList/styled.js +29 -29
- package/es/components/molecules/EditorTab/styled.js +156 -156
- package/es/components/molecules/EmojiCollections/styled.js +22 -22
- package/es/components/molecules/EmojiPopover/styled.js +4 -4
- package/es/components/molecules/EmptyData/styled.js +53 -53
- package/es/components/molecules/GradientSetting/styled.js +57 -57
- package/es/components/molecules/HeaderV2/styled.js +70 -70
- package/es/components/molecules/IconSelection/styled.js +69 -69
- package/es/components/molecules/ImageEditor/components/ModalShortcut.js +21 -21
- package/es/components/molecules/ImageEditor/styled.js +5 -5
- package/es/components/molecules/ImagePreview/styled.js +3 -3
- package/es/components/molecules/InputNumberWithUnit/styled.js +14 -14
- package/es/components/molecules/InputSearch/styled.js +41 -41
- package/es/components/molecules/InputSelectAttribute/styled.js +22 -22
- package/es/components/molecules/MatchAnySelect/components/ExtendValuePopup.js +5 -5
- package/es/components/molecules/MatchAnySelect/styled.js +245 -245
- package/es/components/molecules/Modal/styled.js +63 -63
- package/es/components/molecules/ModalSelect/styled.js +152 -152
- package/es/components/molecules/ModalV2/styled.js +27 -27
- package/es/components/molecules/PopupDraggable/styled.js +57 -57
- package/es/components/molecules/PreviewModal/styled.js +26 -26
- package/es/components/molecules/ProcessLoading/styled.js +2 -2
- package/es/components/molecules/RadioGroup/styled.js +9 -9
- package/es/components/molecules/RequestAccess/styled.js +38 -38
- package/es/components/molecules/ResizeGrid/components/Cell/styled.js +77 -77
- package/es/components/molecules/ResizeGrid/styled.js +50 -50
- package/es/components/molecules/RichMenu/RichMenuBlock/RichMenuCell/styled.js +118 -118
- package/es/components/molecules/RichMenu/RichMenuBlock/styled.js +13 -13
- package/es/components/molecules/RichMenu/RichMenuChatBar/TypingChat/styled.js +40 -40
- package/es/components/molecules/RichMenu/RichMenuChatBar/styled.js +27 -27
- package/es/components/molecules/RichMenu/RichMenuMobileView/RichMenuMobileView.js +2 -2
- package/es/components/molecules/RichMenu/RichMenuMobileView/styled.js +38 -38
- package/es/components/molecules/SearchPopover/components/PopoverSelect/PopoverSelect.js +9 -3
- package/es/components/molecules/SearchPopover/components/PopoverSelect/styled.d.ts +2 -0
- package/es/components/molecules/SearchPopover/components/PopoverSelect/styled.js +39 -22
- package/es/components/molecules/SearchPopover/components/PopoverSelect/styles.scss +7 -7
- package/es/components/molecules/SearchPopover/styled.js +32 -32
- package/es/components/molecules/SearchPopover/types.d.ts +2 -0
- package/es/components/molecules/Select/styled.js +32 -32
- package/es/components/molecules/SelectAccount/styled.js +147 -147
- package/es/components/molecules/SelectEventAttribute/styled.js +8 -8
- package/es/components/molecules/SelectMulti/styled.js +62 -62
- package/es/components/molecules/SelectV2/styled.js +124 -124
- package/es/components/molecules/SettingWrapper/styled.js +12 -12
- package/es/components/molecules/ShareAccess/components/GeneralAccess/styled.js +56 -56
- package/es/components/molecules/ShareAccess/components/LayoutContent/styled.js +5 -5
- package/es/components/molecules/ShareAccess/components/ModalTransferOwnerShip/styled.js +15 -15
- package/es/components/molecules/ShareAccess/components/PeopleAccess/styled.js +63 -63
- package/es/components/molecules/ShareAccess/components/SearchUser/styled.js +31 -31
- package/es/components/molecules/SliderWithInputNumber/styled.js +2 -2
- package/es/components/molecules/Tabs/Tabs.js +11 -11
- package/es/components/molecules/TagifyInput/TagifyInput.js +41 -41
- package/es/components/molecules/TagifyInput/styled.js +37 -37
- package/es/components/molecules/TagifyInput/utils.js +13 -13
- package/es/components/molecules/TagifyInput/utils.style.js +208 -208
- package/es/components/molecules/TemplateSaveAs/components/Category/Category.js +5 -5
- package/es/components/molecules/TemplateSaveAs/components/ImageSlider/styled.js +276 -276
- package/es/components/molecules/TemplateSaveAs/styled.js +134 -134
- package/es/components/molecules/ThumbnailCard/styled.js +92 -92
- package/es/components/molecules/Tree/styled.js +38 -38
- package/es/components/molecules/UploadImage/styled.js +114 -114
- package/es/components/molecules/VirtualizedMenu/styled.js +66 -66
- package/es/components/organism/AccountProfile/components/AccountSetting/components/EditableInput/styles.js +98 -98
- package/es/components/organism/AccountProfile/components/AccountSetting/components/LanguageSelector/styles.js +18 -18
- package/es/components/organism/AccountProfile/components/AccountSetting/styled.js +543 -543
- package/es/components/organism/AccountProfile/components/AccountSetting/styles.scss +39 -39
- package/es/components/organism/AccountSharing/styled.js +346 -346
- package/es/components/organism/ActivityTimeline/__mocks__/event_tracking.json +1556 -0
- package/es/components/organism/ActivityTimeline/__mocks__/timeline.json +2885 -0
- package/es/components/organism/ActivityTimeline/components/ActionHistory/styled.js +28 -28
- package/es/components/organism/ActivityTimeline/components/CardMember/styled.js +60 -60
- package/es/components/organism/ActivityTimeline/components/ItemGroupEvent/styled.js +4 -4
- package/es/components/organism/ActivityTimeline/components/List/styled.js +77 -77
- package/es/components/organism/ActivityTimeline/components/ListItem/styled.js +37 -37
- package/es/components/organism/ActivityTimeline/components/ProductCard/styled.js +92 -92
- package/es/components/organism/ActivityTimeline/components/Redeem/styled.js +7 -7
- package/es/components/organism/ActivityTimeline/components/Slide/styled.js +20 -20
- package/es/components/organism/ActivityTimeline/components/TimeLineTitle/styled.js +7 -7
- package/es/components/organism/ActivityTimeline/components/TimelineSection/styled.js +69 -69
- package/es/components/organism/ActivityTimeline/styled.js +39 -39
- package/es/components/organism/AlgorithmsSetting/styled.js +35 -35
- package/es/components/organism/ContentSources/styled.js +50 -50
- package/es/components/organism/DataTable/components/AddButton/index.js +8 -8
- package/es/components/organism/DataTable/components/ModifyColumn/styled.js +18 -18
- package/es/components/organism/DataTable/components/Pagination/styled.js +26 -26
- package/es/components/organism/DataTable/components/Table/styled.js +135 -135
- package/es/components/organism/DataTable/components/Toolbar/SearchPopover.js +17 -17
- package/es/components/organism/DataTable/components/Toolbar/styled.js +70 -70
- package/es/components/organism/DataTable/styled/index.js +84 -84
- package/es/components/organism/Filter/components/FilterCondition/styled.js +34 -34
- package/es/components/organism/Filter/styled.js +109 -109
- package/es/components/organism/FilterSetting/components/common/InputArray/styled.js +5 -5
- package/es/components/organism/FilterSetting/components/common/InputOrSelect/index.js +63 -63
- package/es/components/organism/FilterSetting/components/common/InputSelectMulti/ColumnSuggestion/index.js +31 -31
- package/es/components/organism/FilterSetting/components/common/InputSelectMulti/Tree/index.js +22 -22
- package/es/components/organism/FilterSetting/components/common/InputSelectMulti/index.js +55 -55
- package/es/components/organism/FilterSetting/styled.js +19 -19
- package/es/components/organism/GenerativeInsights/styled.js +55 -55
- package/es/components/organism/Help/Help.js +3 -3
- package/es/components/organism/Help/styled.js +253 -253
- package/es/components/organism/LeftMenu/components/HomeMenu/styled.js +39 -39
- package/es/components/organism/LeftMenu/components/common/ChildMenu/components/MenuItemImage/styled.js +16 -16
- package/es/components/organism/LeftMenu/components/common/ChildMenu/styled.js +156 -156
- package/es/components/organism/LeftMenu/styled.js +214 -214
- package/es/components/organism/Login/components/ForgotPassword/styled.js +8 -8
- package/es/components/organism/Login/components/LoginSelectPortal/Item/styled.js +31 -31
- package/es/components/organism/Login/components/LoginSelectPortal/styled.js +3 -3
- package/es/components/organism/Login/components/LoginStep2/styled.js +3 -3
- package/es/components/organism/Login/components/SetupGGAuthenticator/styled.js +7 -7
- package/es/components/organism/Login/components/SignIn/styled.js +8 -8
- package/es/components/organism/Login/components/VerifyAccount/styled.js +13 -13
- package/es/components/organism/Login/components/WidgetLayout/styled.js +18 -18
- package/es/components/organism/Login/styled.js +114 -114
- package/es/components/organism/Menu/styled.js +6 -6
- package/es/components/organism/ModifyColumnModal/styled.js +132 -132
- package/es/components/organism/Notification/styled.js +155 -155
- package/es/components/organism/PreviewCollections/Messages/SkeletonMessage/styled.js +14 -14
- package/es/components/organism/PreviewCollections/WhatsappMessage/CarouselMessage/styled.js +56 -56
- package/es/components/organism/PreviewCollections/constants.js +42 -42
- package/es/components/organism/PreviewCollections/styled.js +16 -16
- package/es/components/organism/PreviewTemplateModal/components/Banner/styled.js +78 -78
- package/es/components/organism/PreviewTemplateModal/components/Information/styled.js +52 -52
- package/es/components/organism/PreviewTemplateModal/components/SimilarTemplate/styled.js +18 -18
- package/es/components/organism/PreviewTemplateModal/components/ThumbnailSlider/styled.js +77 -77
- package/es/components/organism/PreviewTemplateModal/styled.js +21 -21
- package/es/components/organism/Table/CrossTabTable/components/CustomCell/styled.js +11 -11
- package/es/components/organism/Table/CrossTabTable/styled.js +11 -11
- package/es/components/organism/Table/ExplorePivotTable/components/CustomCell/styled.js +17 -17
- package/es/components/organism/Table/ExplorePivotTable/styled.js +11 -11
- package/es/components/organism/TicketEditor/components/Editor/EditorToolbar.js +5 -5
- package/es/components/organism/TicketEditor/styled.js +833 -833
- package/es/components/organism/TicketEditorV2/Content.js +3 -3
- package/es/components/organism/TicketEditorV2/styled.js +837 -837
- package/es/components/template/Layout/Layout.js +10 -10
- package/es/components/template/Layout/components/RecommendationWorkspace/components/MenuMapping/components/OldLeftMenu/styled.js +73 -73
- package/es/components/template/Layout/components/RecommendationWorkspace/components/MenuMapping/styled.js +39 -39
- package/es/components/template/Layout/components/RecommendationWorkspace/components/RecommendationImage/styled.js +61 -61
- package/es/components/template/Layout/components/RecommendationWorkspace/styled.js +16 -16
- package/es/components/template/Layout/styled.js +84 -84
- package/es/components/template/TemplateListing/Loadable.d.ts +1 -0
- package/es/components/template/TemplateListing/components/BlankTemplate/styled.js +21 -21
- package/es/components/template/TemplateListing/components/CategoryListing/styled.js +123 -123
- package/es/components/template/TemplateListing/components/Empty/styled.js +20 -20
- package/es/components/template/TemplateListing/stories/demo/styled.js +4 -4
- package/es/components/template/TemplateListing/styled/index.js +40 -40
- package/es/providers/ConfigProvider/GlobalStyle.js +1249 -1249
- package/es/styled/common.js +51 -51
- package/es/tests/styled.js +4 -4
- package/es/utils/variables.js +7 -7
- package/package.json +262 -262
- package/es/stories/assets/colors.svg +0 -1
- package/es/stories/assets/comments.svg +0 -1
- package/es/stories/assets/direction.svg +0 -1
- package/es/stories/assets/flow.svg +0 -1
- package/es/stories/assets/plugin.svg +0 -1
- package/es/stories/assets/repo.svg +0 -1
- package/es/stories/assets/stackalt.svg +0 -1
|
@@ -7,19 +7,19 @@ import skeletonBackground from '../../../../../assets/images/background/skeleton
|
|
|
7
7
|
import { globalToken } from '@antscorp/antsomi-ui/es/constants';
|
|
8
8
|
import { MOBILE_VIEWPORT } from '@antscorp/antsomi-ui/es/components/atoms/MobileFrameV2/constants';
|
|
9
9
|
const THUMBNAIL_CARD_RADIUS = 5;
|
|
10
|
-
export const BannerWrapper = styled.div `
|
|
11
|
-
width: 100%;
|
|
12
|
-
overflow-y: hidden;
|
|
13
|
-
display: flex;
|
|
14
|
-
justify-content: center;
|
|
15
|
-
align-items: center;
|
|
16
|
-
background-color: ${globalToken?.colorBgSkeleton};
|
|
17
|
-
border-radius: ${globalToken?.borderRadius}px;
|
|
18
|
-
border: 1px solid ${globalToken?.blue1_1};
|
|
19
|
-
height: ${({ $height }) => (isNumber($height) ? `${$height}px` : $height)};
|
|
20
|
-
|
|
21
|
-
// Calculate scale of mobile frame
|
|
22
|
-
#banner-mobile {
|
|
10
|
+
export const BannerWrapper = styled.div `
|
|
11
|
+
width: 100%;
|
|
12
|
+
overflow-y: hidden;
|
|
13
|
+
display: flex;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
align-items: center;
|
|
16
|
+
background-color: ${globalToken?.colorBgSkeleton};
|
|
17
|
+
border-radius: ${globalToken?.borderRadius}px;
|
|
18
|
+
border: 1px solid ${globalToken?.blue1_1};
|
|
19
|
+
height: ${({ $height }) => (isNumber($height) ? `${$height}px` : $height)};
|
|
20
|
+
|
|
21
|
+
// Calculate scale of mobile frame
|
|
22
|
+
#banner-mobile {
|
|
23
23
|
${({ clientHeight }) => {
|
|
24
24
|
const [smallScale, largeScale] = (() => {
|
|
25
25
|
if (clientHeight) {
|
|
@@ -31,70 +31,70 @@ export const BannerWrapper = styled.div `
|
|
|
31
31
|
}
|
|
32
32
|
return [1, 1];
|
|
33
33
|
})();
|
|
34
|
-
return css `
|
|
35
|
-
@media screen and (max-height: 1000px) {
|
|
36
|
-
transform: scale(${smallScale});
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
@media screen and (min-height: 1001px) {
|
|
40
|
-
transform: scale(${largeScale});
|
|
41
|
-
}
|
|
34
|
+
return css `
|
|
35
|
+
@media screen and (max-height: 1000px) {
|
|
36
|
+
transform: scale(${smallScale});
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@media screen and (min-height: 1001px) {
|
|
40
|
+
transform: scale(${largeScale});
|
|
41
|
+
}
|
|
42
42
|
`;
|
|
43
|
-
}}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.mobile-wrapper {
|
|
47
|
-
position: relative;
|
|
48
|
-
border-radius: 80px;
|
|
49
|
-
animation-duration: 0.2s !important;
|
|
50
|
-
|
|
51
|
-
.content-wrapper {
|
|
52
|
-
width: fit-content;
|
|
53
|
-
height: fit-content;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.skeleton,
|
|
57
|
-
.backdrop {
|
|
58
|
-
left: 5px;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.desktop-wrapper {
|
|
63
|
-
position: relative;
|
|
64
|
-
height: 100%;
|
|
65
|
-
width: 100%;
|
|
66
|
-
border-radius: ${THUMBNAIL_CARD_RADIUS}px;
|
|
67
|
-
transition: width 0.2s ease, height 0.2s ease;
|
|
68
|
-
.content-wrapper {
|
|
69
|
-
width: 100%;
|
|
70
|
-
height: 100%;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.content-wrapper {
|
|
75
|
-
position: absolute;
|
|
76
|
-
z-index: 12;
|
|
77
|
-
top: 50%;
|
|
78
|
-
left: 50%;
|
|
79
|
-
transform: translate(-50%, -50%);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.skeleton {
|
|
83
|
-
width: 100%;
|
|
84
|
-
height: 100%;
|
|
85
|
-
background: center / cover no-repeat url(${skeletonBackground});
|
|
86
|
-
border-radius: inherit;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.backdrop {
|
|
90
|
-
border-radius: inherit;
|
|
91
|
-
position: absolute;
|
|
92
|
-
width: 100%;
|
|
93
|
-
height: 100%;
|
|
94
|
-
background-color: black;
|
|
95
|
-
opacity: 0.5;
|
|
96
|
-
z-index: 10;
|
|
97
|
-
top: 0;
|
|
98
|
-
left: 0;
|
|
99
|
-
}
|
|
43
|
+
}}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.mobile-wrapper {
|
|
47
|
+
position: relative;
|
|
48
|
+
border-radius: 80px;
|
|
49
|
+
animation-duration: 0.2s !important;
|
|
50
|
+
|
|
51
|
+
.content-wrapper {
|
|
52
|
+
width: fit-content;
|
|
53
|
+
height: fit-content;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.skeleton,
|
|
57
|
+
.backdrop {
|
|
58
|
+
left: 5px;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.desktop-wrapper {
|
|
63
|
+
position: relative;
|
|
64
|
+
height: 100%;
|
|
65
|
+
width: 100%;
|
|
66
|
+
border-radius: ${THUMBNAIL_CARD_RADIUS}px;
|
|
67
|
+
transition: width 0.2s ease, height 0.2s ease;
|
|
68
|
+
.content-wrapper {
|
|
69
|
+
width: 100%;
|
|
70
|
+
height: 100%;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.content-wrapper {
|
|
75
|
+
position: absolute;
|
|
76
|
+
z-index: 12;
|
|
77
|
+
top: 50%;
|
|
78
|
+
left: 50%;
|
|
79
|
+
transform: translate(-50%, -50%);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.skeleton {
|
|
83
|
+
width: 100%;
|
|
84
|
+
height: 100%;
|
|
85
|
+
background: center / cover no-repeat url(${skeletonBackground});
|
|
86
|
+
border-radius: inherit;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.backdrop {
|
|
90
|
+
border-radius: inherit;
|
|
91
|
+
position: absolute;
|
|
92
|
+
width: 100%;
|
|
93
|
+
height: 100%;
|
|
94
|
+
background-color: black;
|
|
95
|
+
opacity: 0.5;
|
|
96
|
+
z-index: 10;
|
|
97
|
+
top: 0;
|
|
98
|
+
left: 0;
|
|
99
|
+
}
|
|
100
100
|
`;
|
|
@@ -4,58 +4,58 @@ import styled, { css } from 'styled-components';
|
|
|
4
4
|
import { Button, Flex } from '../../../../atoms';
|
|
5
5
|
// Providers
|
|
6
6
|
import { globalToken } from '@antscorp/antsomi-ui/es/constants';
|
|
7
|
-
export const InformationWrapper = styled(Flex) `
|
|
8
|
-
width: 300px;
|
|
9
|
-
flex-shrink: 0;
|
|
10
|
-
font-size: 12px;
|
|
11
|
-
height: 100%;
|
|
12
|
-
max-height: 100%;
|
|
13
|
-
|
|
14
|
-
.title {
|
|
15
|
-
font-size: 16px;
|
|
16
|
-
font-weight: 700;
|
|
17
|
-
max-width: 100%;
|
|
18
|
-
color: inherit;
|
|
19
|
-
padding-right: 25px;
|
|
20
|
-
word-break: break-word;
|
|
21
|
-
|
|
22
|
-
overflow: hidden;
|
|
23
|
-
display: -webkit-box;
|
|
24
|
-
-webkit-box-orient: vertical;
|
|
25
|
-
-webkit-line-clamp: 3;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.antsomi-radio-group {
|
|
29
|
-
width: 100%;
|
|
30
|
-
display: flex;
|
|
31
|
-
|
|
32
|
-
.antsomi-radio-button-wrapper {
|
|
33
|
-
flex: 1 1 0%;
|
|
34
|
-
display: flex;
|
|
35
|
-
justify-content: center;
|
|
36
|
-
align-items: center;
|
|
37
|
-
height: 30px;
|
|
38
|
-
|
|
39
|
-
i {
|
|
40
|
-
height: fit-content;
|
|
41
|
-
font-size: 24px;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.content-information {
|
|
47
|
-
flex: 1 1 0%;
|
|
48
|
-
height: fit-content;
|
|
49
|
-
overflow-y: auto;
|
|
50
|
-
max-height: 682px;
|
|
51
|
-
}
|
|
7
|
+
export const InformationWrapper = styled(Flex) `
|
|
8
|
+
width: 300px;
|
|
9
|
+
flex-shrink: 0;
|
|
10
|
+
font-size: 12px;
|
|
11
|
+
height: 100%;
|
|
12
|
+
max-height: 100%;
|
|
13
|
+
|
|
14
|
+
.title {
|
|
15
|
+
font-size: 16px;
|
|
16
|
+
font-weight: 700;
|
|
17
|
+
max-width: 100%;
|
|
18
|
+
color: inherit;
|
|
19
|
+
padding-right: 25px;
|
|
20
|
+
word-break: break-word;
|
|
21
|
+
|
|
22
|
+
overflow: hidden;
|
|
23
|
+
display: -webkit-box;
|
|
24
|
+
-webkit-box-orient: vertical;
|
|
25
|
+
-webkit-line-clamp: 3;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.antsomi-radio-group {
|
|
29
|
+
width: 100%;
|
|
30
|
+
display: flex;
|
|
31
|
+
|
|
32
|
+
.antsomi-radio-button-wrapper {
|
|
33
|
+
flex: 1 1 0%;
|
|
34
|
+
display: flex;
|
|
35
|
+
justify-content: center;
|
|
36
|
+
align-items: center;
|
|
37
|
+
height: 30px;
|
|
38
|
+
|
|
39
|
+
i {
|
|
40
|
+
height: fit-content;
|
|
41
|
+
font-size: 24px;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.content-information {
|
|
47
|
+
flex: 1 1 0%;
|
|
48
|
+
height: fit-content;
|
|
49
|
+
overflow-y: auto;
|
|
50
|
+
max-height: 682px;
|
|
51
|
+
}
|
|
52
52
|
`;
|
|
53
|
-
export const CheckboxButton = styled(Button) `
|
|
54
|
-
color: ${globalToken?.colorText} !important;
|
|
55
|
-
|
|
53
|
+
export const CheckboxButton = styled(Button) `
|
|
54
|
+
color: ${globalToken?.colorText} !important;
|
|
55
|
+
|
|
56
56
|
${p => p.$active &&
|
|
57
|
-
css `
|
|
58
|
-
color: ${globalToken?.colorPrimary} !important;
|
|
59
|
-
background-color: ${globalToken?.blue1_1} !important;
|
|
60
|
-
`}
|
|
57
|
+
css `
|
|
58
|
+
color: ${globalToken?.colorPrimary} !important;
|
|
59
|
+
background-color: ${globalToken?.blue1_1} !important;
|
|
60
|
+
`}
|
|
61
61
|
`;
|
|
@@ -4,23 +4,23 @@ import styled from 'styled-components';
|
|
|
4
4
|
import { Flex } from '../../../../atoms';
|
|
5
5
|
// Providers
|
|
6
6
|
import { globalToken } from '@antscorp/antsomi-ui/es/constants';
|
|
7
|
-
export const SimilarTemplateWrapper = styled(Flex) `
|
|
8
|
-
margin-top: 15px;
|
|
9
|
-
|
|
10
|
-
.title {
|
|
11
|
-
font-weight: 400;
|
|
12
|
-
font-size: 16px;
|
|
13
|
-
}
|
|
7
|
+
export const SimilarTemplateWrapper = styled(Flex) `
|
|
8
|
+
margin-top: 15px;
|
|
9
|
+
|
|
10
|
+
.title {
|
|
11
|
+
font-weight: 400;
|
|
12
|
+
font-size: 16px;
|
|
13
|
+
}
|
|
14
14
|
`;
|
|
15
|
-
export const TemplateListWrapper = styled.div `
|
|
16
|
-
display: flex;
|
|
17
|
-
gap: 30px;
|
|
18
|
-
|
|
19
|
-
.thumbnail-card {
|
|
20
|
-
border-radius: ${globalToken?.borderRadius}px;
|
|
21
|
-
|
|
22
|
-
> div {
|
|
23
|
-
border-radius: ${globalToken?.borderRadius}px;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
15
|
+
export const TemplateListWrapper = styled.div `
|
|
16
|
+
display: flex;
|
|
17
|
+
gap: 30px;
|
|
18
|
+
|
|
19
|
+
.thumbnail-card {
|
|
20
|
+
border-radius: ${globalToken?.borderRadius}px;
|
|
21
|
+
|
|
22
|
+
> div {
|
|
23
|
+
border-radius: ${globalToken?.borderRadius}px;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
26
|
`;
|
|
@@ -2,82 +2,82 @@ import styled from 'styled-components';
|
|
|
2
2
|
import { SwiperSlide } from 'swiper/react';
|
|
3
3
|
// Constants
|
|
4
4
|
import { THEME, globalToken } from '@antscorp/antsomi-ui/es/constants';
|
|
5
|
-
export const ThumbnailSliderWrapper = styled.div `
|
|
6
|
-
width: 100%;
|
|
7
|
-
display: flex;
|
|
8
|
-
justify-content: center;
|
|
9
|
-
align-items: center;
|
|
10
|
-
position: relative;
|
|
11
|
-
|
|
12
|
-
.swiper {
|
|
13
|
-
max-width: 1030px;
|
|
14
|
-
|
|
15
|
-
.swiper-slide {
|
|
16
|
-
width: fit-content !important;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.thumbnail-animation {
|
|
21
|
-
box-shadow: none;
|
|
22
|
-
transition: box-shadow 0.1s ease-in-out;
|
|
23
|
-
border-radius: ${globalToken?.borderRadius}px;
|
|
24
|
-
|
|
25
|
-
> div {
|
|
26
|
-
border-radius: ${globalToken?.borderRadius}px;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&:hover {
|
|
30
|
-
box-shadow:
|
|
31
|
-
0 8px 20px rgba(0, 0, 0, 0.1),
|
|
32
|
-
0 0 32px rgba(0, 0, 0, 0.04);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.custom-button-prev,
|
|
37
|
-
.custom-button-next {
|
|
38
|
-
z-index: 10;
|
|
39
|
-
position: absolute;
|
|
40
|
-
width: 24px;
|
|
41
|
-
height: 24px;
|
|
42
|
-
background-color: #ffffff;
|
|
43
|
-
box-shadow: 0px 3px 3px 0px #002e591a;
|
|
44
|
-
border-radius: 999px;
|
|
45
|
-
display: flex;
|
|
46
|
-
align-items: center;
|
|
47
|
-
justify-content: center;
|
|
48
|
-
|
|
49
|
-
/* Remove default style of Antd button */
|
|
50
|
-
border-color: white !important;
|
|
51
|
-
|
|
52
|
-
&.antsomi-btn-default:not(:disabled):hover {
|
|
53
|
-
border-color: white !important;
|
|
54
|
-
background-color: #ffffff !important;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.custom-button-prev {
|
|
59
|
-
left: 0px;
|
|
60
|
-
transform: rotate(90deg);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.custom-button-next {
|
|
64
|
-
right: 0px;
|
|
65
|
-
transform: rotate(-90deg);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.hidden {
|
|
69
|
-
display: none !important;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
i {
|
|
73
|
-
font-size: 20px;
|
|
74
|
-
color: ${THEME?.token?.bw8};
|
|
75
|
-
}
|
|
5
|
+
export const ThumbnailSliderWrapper = styled.div `
|
|
6
|
+
width: 100%;
|
|
7
|
+
display: flex;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
align-items: center;
|
|
10
|
+
position: relative;
|
|
11
|
+
|
|
12
|
+
.swiper {
|
|
13
|
+
max-width: 1030px;
|
|
14
|
+
|
|
15
|
+
.swiper-slide {
|
|
16
|
+
width: fit-content !important;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.thumbnail-animation {
|
|
21
|
+
box-shadow: none;
|
|
22
|
+
transition: box-shadow 0.1s ease-in-out;
|
|
23
|
+
border-radius: ${globalToken?.borderRadius}px;
|
|
24
|
+
|
|
25
|
+
> div {
|
|
26
|
+
border-radius: ${globalToken?.borderRadius}px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&:hover {
|
|
30
|
+
box-shadow:
|
|
31
|
+
0 8px 20px rgba(0, 0, 0, 0.1),
|
|
32
|
+
0 0 32px rgba(0, 0, 0, 0.04);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.custom-button-prev,
|
|
37
|
+
.custom-button-next {
|
|
38
|
+
z-index: 10;
|
|
39
|
+
position: absolute;
|
|
40
|
+
width: 24px;
|
|
41
|
+
height: 24px;
|
|
42
|
+
background-color: #ffffff;
|
|
43
|
+
box-shadow: 0px 3px 3px 0px #002e591a;
|
|
44
|
+
border-radius: 999px;
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
|
|
49
|
+
/* Remove default style of Antd button */
|
|
50
|
+
border-color: white !important;
|
|
51
|
+
|
|
52
|
+
&.antsomi-btn-default:not(:disabled):hover {
|
|
53
|
+
border-color: white !important;
|
|
54
|
+
background-color: #ffffff !important;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.custom-button-prev {
|
|
59
|
+
left: 0px;
|
|
60
|
+
transform: rotate(90deg);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.custom-button-next {
|
|
64
|
+
right: 0px;
|
|
65
|
+
transform: rotate(-90deg);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.hidden {
|
|
69
|
+
display: none !important;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
i {
|
|
73
|
+
font-size: 20px;
|
|
74
|
+
color: ${THEME?.token?.bw8};
|
|
75
|
+
}
|
|
76
76
|
`;
|
|
77
|
-
export const SwiperSlideWrapper = styled(SwiperSlide) `
|
|
78
|
-
list-style: none;
|
|
79
|
-
display: flex;
|
|
80
|
-
justify-content: center;
|
|
81
|
-
align-items: center;
|
|
82
|
-
width: fit-content;
|
|
77
|
+
export const SwiperSlideWrapper = styled(SwiperSlide) `
|
|
78
|
+
list-style: none;
|
|
79
|
+
display: flex;
|
|
80
|
+
justify-content: center;
|
|
81
|
+
align-items: center;
|
|
82
|
+
width: fit-content;
|
|
83
83
|
`;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
import { Modal } from '../../molecules/Modal';
|
|
3
|
-
export const ModalContainer = styled(Modal) `
|
|
4
|
-
&.antsomi-modal {
|
|
5
|
-
width: fit-content !important;
|
|
6
|
-
|
|
7
|
-
.antsomi-modal-content {
|
|
8
|
-
width: 1400px;
|
|
9
|
-
height: auto;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.overview {
|
|
14
|
-
flex: 1 1 0%;
|
|
15
|
-
}
|
|
3
|
+
export const ModalContainer = styled(Modal) `
|
|
4
|
+
&.antsomi-modal {
|
|
5
|
+
width: fit-content !important;
|
|
6
|
+
|
|
7
|
+
.antsomi-modal-content {
|
|
8
|
+
width: 1400px;
|
|
9
|
+
height: auto;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.overview {
|
|
14
|
+
flex: 1 1 0%;
|
|
15
|
+
}
|
|
16
16
|
`;
|
|
17
|
-
export const ModalWrapper = styled.div `
|
|
18
|
-
padding: 20px;
|
|
19
|
-
width: fit-content;
|
|
20
|
-
box-sizing: border-box;
|
|
17
|
+
export const ModalWrapper = styled.div `
|
|
18
|
+
padding: 20px;
|
|
19
|
+
width: fit-content;
|
|
20
|
+
box-sizing: border-box;
|
|
21
21
|
`;
|
|
22
|
-
export const ImageWrapper = styled.img `
|
|
23
|
-
width: 100%;
|
|
24
|
-
height: 100%;
|
|
25
|
-
object-fit: contain;
|
|
22
|
+
export const ImageWrapper = styled.img `
|
|
23
|
+
width: 100%;
|
|
24
|
+
height: 100%;
|
|
25
|
+
object-fit: contain;
|
|
26
26
|
`;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
|
-
export const BarCell = styled.div `
|
|
3
|
-
position: absolute;
|
|
4
|
-
inset: 0;
|
|
5
|
-
background-color: rgba(0, 0, 0, 0.075);
|
|
6
|
-
|
|
7
|
-
.bar-line {
|
|
8
|
-
position: absolute;
|
|
9
|
-
bottom: 0;
|
|
10
|
-
height: 3px;
|
|
11
|
-
width: 100%;
|
|
12
|
-
}
|
|
2
|
+
export const BarCell = styled.div `
|
|
3
|
+
position: absolute;
|
|
4
|
+
inset: 0;
|
|
5
|
+
background-color: rgba(0, 0, 0, 0.075);
|
|
6
|
+
|
|
7
|
+
.bar-line {
|
|
8
|
+
position: absolute;
|
|
9
|
+
bottom: 0;
|
|
10
|
+
height: 3px;
|
|
11
|
+
width: 100%;
|
|
12
|
+
}
|
|
13
13
|
`;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
|
-
export const BarCell = styled.div `
|
|
3
|
-
position: absolute;
|
|
4
|
-
inset: 0;
|
|
5
|
-
background-color: rgba(0, 0, 0, 0.075);
|
|
6
|
-
|
|
7
|
-
.bar-line {
|
|
8
|
-
position: absolute;
|
|
9
|
-
bottom: 0;
|
|
10
|
-
height: 3px;
|
|
11
|
-
width: 100%;
|
|
12
|
-
}
|
|
2
|
+
export const BarCell = styled.div `
|
|
3
|
+
position: absolute;
|
|
4
|
+
inset: 0;
|
|
5
|
+
background-color: rgba(0, 0, 0, 0.075);
|
|
6
|
+
|
|
7
|
+
.bar-line {
|
|
8
|
+
position: absolute;
|
|
9
|
+
bottom: 0;
|
|
10
|
+
height: 3px;
|
|
11
|
+
width: 100%;
|
|
12
|
+
}
|
|
13
13
|
`;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
|
-
export const BarCell = styled.div `
|
|
3
|
-
position: absolute;
|
|
4
|
-
inset: 0;
|
|
5
|
-
background-color: rgba(0, 0, 0, 0.075);
|
|
6
|
-
|
|
7
|
-
.bar-line {
|
|
8
|
-
position: absolute;
|
|
9
|
-
bottom: 0;
|
|
10
|
-
height: 3px;
|
|
11
|
-
width: 100%;
|
|
12
|
-
}
|
|
2
|
+
export const BarCell = styled.div `
|
|
3
|
+
position: absolute;
|
|
4
|
+
inset: 0;
|
|
5
|
+
background-color: rgba(0, 0, 0, 0.075);
|
|
6
|
+
|
|
7
|
+
.bar-line {
|
|
8
|
+
position: absolute;
|
|
9
|
+
bottom: 0;
|
|
10
|
+
height: 3px;
|
|
11
|
+
width: 100%;
|
|
12
|
+
}
|
|
13
13
|
`;
|
|
14
|
-
export const HeatCell = styled.div `
|
|
15
|
-
position: absolute;
|
|
16
|
-
inset: 0;
|
|
14
|
+
export const HeatCell = styled.div `
|
|
15
|
+
position: absolute;
|
|
16
|
+
inset: 0;
|
|
17
17
|
`;
|
|
18
|
-
export const StyledValue = styled.div `
|
|
19
|
-
position: relative;
|
|
20
|
-
z-index: 1;
|
|
18
|
+
export const StyledValue = styled.div `
|
|
19
|
+
position: relative;
|
|
20
|
+
z-index: 1;
|
|
21
21
|
`;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
import { Table } from '../Table';
|
|
3
|
-
export const StyledTable = styled(Table) `
|
|
4
|
-
.antsomi-table-thead {
|
|
5
|
-
.antsomi-table-cell {
|
|
6
|
-
background-color: white !important;
|
|
7
|
-
font-weight: 400 !important;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
3
|
+
export const StyledTable = styled(Table) `
|
|
4
|
+
.antsomi-table-thead {
|
|
5
|
+
.antsomi-table-cell {
|
|
6
|
+
background-color: white !important;
|
|
7
|
+
font-weight: 400 !important;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
10
|
`;
|
|
11
|
-
export const StyledHeader = styled.div `
|
|
12
|
-
background-color: #4285f4;
|
|
13
|
-
padding: 8px 10px;
|
|
14
|
-
text-align: right;
|
|
11
|
+
export const StyledHeader = styled.div `
|
|
12
|
+
background-color: #4285f4;
|
|
13
|
+
padding: 8px 10px;
|
|
14
|
+
text-align: right;
|
|
15
15
|
`;
|
|
@@ -63,11 +63,11 @@ export const formats = [
|
|
|
63
63
|
'color',
|
|
64
64
|
'code-block',
|
|
65
65
|
];
|
|
66
|
-
const ToolBarWrapper = styled.div `
|
|
67
|
-
border-radius: '10px 10px 0 0';
|
|
68
|
-
* {
|
|
69
|
-
font-weight: 400;
|
|
70
|
-
}
|
|
66
|
+
const ToolBarWrapper = styled.div `
|
|
67
|
+
border-radius: '10px 10px 0 0';
|
|
68
|
+
* {
|
|
69
|
+
font-weight: 400;
|
|
70
|
+
}
|
|
71
71
|
`;
|
|
72
72
|
export const QuillToolbar = () => (_jsxs(ToolBarWrapper, { id: "toolbar", children: [_jsxs("span", { className: "ql-formats", children: [_jsxs("select", { className: "ql-font", defaultValue: "false", children: [_jsx("option", { value: "false", children: "Sans Serif" }), _jsx("option", { value: "serif", children: "Serif" }), _jsx("option", { value: "monospace", children: "Monospace" })] }), _jsxs("select", { className: "ql-size", defaultValue: "12px", children: [_jsx("option", { value: "12px", children: "12px" }), _jsx("option", { value: "14px", children: "14px" }), _jsx("option", { value: "16px", children: "16px" }), _jsx("option", { value: "18px", children: "18px" }), _jsx("option", { value: "20px", children: "20px" }), _jsx("option", { value: "22px", children: "22px" }), _jsx("option", { value: "24px", children: "24px" }), _jsx("option", { value: "26px", children: "26px" }), _jsx("option", { value: "28px", children: "28px" }), _jsx("option", { value: "30px", children: "30px" })] }), _jsxs("select", { className: "ql-header", defaultValue: "3", children: [_jsx("option", { value: "1", children: "Heading1" }), _jsx("option", { value: "2", children: "Heading2" }), _jsx("option", { value: "3", children: "Heading3" })] })] }), _jsxs("span", { className: "ql-formats", children: [_jsx("button", { className: "ql-bold" }), _jsx("button", { className: "ql-italic" }), _jsx("button", { className: "ql-underline" }), _jsx("button", { className: "ql-strike" })] }), _jsxs("span", { className: "ql-formats", children: [_jsx("button", { className: "ql-list", value: "ordered" }), _jsx("button", { className: "ql-list", value: "bullet" }), _jsx("button", { className: "ql-indent", value: "-1" }), _jsx("button", { className: "ql-indent", value: "+1" })] }), _jsxs("span", { className: "ql-formats", children: [_jsx("button", { className: "ql-script", value: "super" }), _jsx("button", { className: "ql-script", value: "sub" }), _jsx("button", { className: "ql-blockquote" }), _jsx("button", { className: "ql-direction" })] }), _jsxs("span", { className: "ql-formats", children: [_jsx("select", { className: "ql-align" }), _jsx("select", { className: "ql-color" }), _jsx("select", { className: "ql-background" })] }), _jsxs("span", { className: "ql-formats", children: [_jsx("button", { className: "ql-link" }), _jsx("button", { className: "ql-image" })] }), _jsxs("span", { className: "ql-formats", children: [_jsx("button", { className: "ql-formula" }), _jsx("button", { className: "ql-code-block" }), _jsx("button", { className: "ql-clean" })] }), _jsxs("span", { className: "ql-formats", children: [_jsx("button", { className: "ql-undo", children: _jsx(CustomUndo, {}) }), _jsx("button", { className: "ql-redo", children: _jsx(CustomRedo, {}) })] })] }));
|
|
73
73
|
export default QuillToolbar;
|