@antscorp/antsomi-ui 1.3.6-beta.71 → 1.3.6-beta.72

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.
Files changed (232) hide show
  1. package/README.md +78 -78
  2. package/es/__mocks__/1000_city.json +802 -802
  3. package/es/assets/css/main.scss +4 -4
  4. package/es/assets/images/feedback.svg +3 -3
  5. package/es/assets/svg/mobile-frame.svg +3 -3
  6. package/es/assets/svg/warning-icon.svg +5 -5
  7. package/es/components/atoms/Alert/Alert.js +28 -28
  8. package/es/components/atoms/ContentEditable/styled.js +16 -16
  9. package/es/components/atoms/DividerPure/styled.js +35 -35
  10. package/es/components/atoms/Icon/index.js +19 -19
  11. package/es/components/atoms/Iframe/Iframe.js +18 -18
  12. package/es/components/atoms/Input/styled.js +104 -104
  13. package/es/components/atoms/InputDynamic/styled.js +284 -284
  14. package/es/components/atoms/MobileBrandingBar/styled.js +21 -21
  15. package/es/components/atoms/MobileFrame/styled.js +30 -30
  16. package/es/components/atoms/MobileFrameV2/styled.js +42 -42
  17. package/es/components/atoms/MobileFrameV3/styled.js +31 -31
  18. package/es/components/atoms/NotificationStatus/styled.js +10 -10
  19. package/es/components/atoms/PreviewTabs/styled.js +69 -69
  20. package/es/components/atoms/Radio/index.js +16 -16
  21. package/es/components/atoms/ReactIframe/ReactIframe.js +5 -5
  22. package/es/components/atoms/ReactIframe/styled.js +9 -9
  23. package/es/components/atoms/RequiredLabel/styled.js +3 -3
  24. package/es/components/atoms/ScrollBox/index.js +5 -5
  25. package/es/components/atoms/Scrollbars/styled.js +21 -21
  26. package/es/components/atoms/SelectAssociatedTag/styled.js +51 -51
  27. package/es/components/atoms/SlideBar/styled.js +194 -194
  28. package/es/components/atoms/Slider/styled.js +31 -31
  29. package/es/components/atoms/Space/Space.js +4 -4
  30. package/es/components/atoms/Spin/styled.js +11 -11
  31. package/es/components/atoms/Steps/styled.js +244 -244
  32. package/es/components/atoms/Switch/styled.js +56 -56
  33. package/es/components/atoms/Tag/Tag.js +10 -10
  34. package/es/components/atoms/Text/styled.js +34 -34
  35. package/es/components/icons/DomainManagementIcon.js +1 -1
  36. package/es/components/icons/LoadingIcon.js +33 -33
  37. package/es/components/icons/document/styled.js +43 -43
  38. package/es/components/molecules/AccessDenied/styled.js +28 -28
  39. package/es/components/molecules/AccountSelection/styled.js +110 -110
  40. package/es/components/molecules/AddDynamicContent/components/DisplayFormat/DisplayFormat.d.ts +0 -1
  41. package/es/components/molecules/AddDynamicContent/styled.js +23 -23
  42. package/es/components/molecules/AlignSetting/styled.js +4 -4
  43. package/es/components/molecules/ApplyPopupContent/styled.js +32 -32
  44. package/es/components/molecules/CalendarSelection/components/AutoUpdateTo/styled.js +8 -8
  45. package/es/components/molecules/CalendarSelection/components/CustomPicker/styled.js +79 -79
  46. package/es/components/molecules/CalendarSelection/components/Footer/styled.js +4 -4
  47. package/es/components/molecules/CalendarSelection/components/RangePicker/styled.js +21 -21
  48. package/es/components/molecules/CalendarSelection/components/RangeSelectOptions/components/Option/Option.js +26 -26
  49. package/es/components/molecules/CalendarSelection/components/RangeSelectOptions/styled.js +30 -30
  50. package/es/components/molecules/CalendarSelection/components/TimeRangeDisplay/styled.js +26 -26
  51. package/es/components/molecules/CalendarSelection/styled.js +8 -8
  52. package/es/components/molecules/CaptureScreen/components/CommentBox/styled.js +119 -119
  53. package/es/components/molecules/CaptureScreen/components/Cursor/styled.js +67 -67
  54. package/es/components/molecules/CaptureScreen/styled.js +240 -240
  55. package/es/components/molecules/ChartTab/components/styled.js +24 -24
  56. package/es/components/molecules/ChartTab/styled.js +20 -20
  57. package/es/components/molecules/ChatBox/AntsomiAI.js +8 -8
  58. package/es/components/molecules/ChatBox/ChatBoxInsight/QuestionItem.js +9 -9
  59. package/es/components/molecules/ChatBox/ChatBoxInsight/styled.js +365 -365
  60. package/es/components/molecules/ChatBox/styled.js +324 -324
  61. package/es/components/molecules/CodeStructure/styled.js +5 -5
  62. package/es/components/molecules/ColorPicker/ChromePicker/styled.js +10 -10
  63. package/es/components/molecules/ColorPicker/CustomPicker/styled.js +89 -89
  64. package/es/components/molecules/ColorPicker/SketchPicker/styled.js +5 -5
  65. package/es/components/molecules/ColorPicker/styled.js +7 -7
  66. package/es/components/molecules/ColorSetting/styled.js +32 -32
  67. package/es/components/molecules/DatePicker/components/AdvancedPicker/styled.js +110 -110
  68. package/es/components/molecules/DatePickerV2/styled.js +6 -6
  69. package/es/components/molecules/DisplayFormat/styled.js +12 -12
  70. package/es/components/molecules/DrawerDetail/components/ToggleDrawerSizeButton.js +24 -24
  71. package/es/components/molecules/DrawerDetail/styled.js +109 -109
  72. package/es/components/molecules/Dropdown/style.scss +11 -11
  73. package/es/components/molecules/Dropdown/styled.js +28 -28
  74. package/es/components/molecules/EdgeSetting/styled.js +10 -10
  75. package/es/components/molecules/EditableName/styled.js +70 -70
  76. package/es/components/molecules/EditingList/styled.js +29 -29
  77. package/es/components/molecules/EditorTab/styled.js +156 -156
  78. package/es/components/molecules/EmojiCollections/styled.js +22 -22
  79. package/es/components/molecules/EmojiPopover/styled.js +4 -4
  80. package/es/components/molecules/EmptyData/styled.js +53 -53
  81. package/es/components/molecules/GradientSetting/styled.js +57 -57
  82. package/es/components/molecules/HeaderV2/styled.js +70 -70
  83. package/es/components/molecules/IconSelection/styled.js +69 -69
  84. package/es/components/molecules/ImageEditor/components/ModalShortcut.js +21 -21
  85. package/es/components/molecules/ImageEditor/styled.js +5 -5
  86. package/es/components/molecules/ImagePreview/styled.js +3 -3
  87. package/es/components/molecules/InputNumberWithUnit/styled.js +14 -14
  88. package/es/components/molecules/InputSearch/styled.js +41 -41
  89. package/es/components/molecules/InputSelectAttribute/styled.js +22 -22
  90. package/es/components/molecules/MatchAnySelect/components/ExtendValuePopup.js +5 -5
  91. package/es/components/molecules/MatchAnySelect/styled.js +245 -245
  92. package/es/components/molecules/Modal/styled.js +63 -63
  93. package/es/components/molecules/ModalSelect/styled.js +152 -152
  94. package/es/components/molecules/ModalV2/styled.js +27 -27
  95. package/es/components/molecules/PopupDraggable/styled.js +57 -57
  96. package/es/components/molecules/PreviewModal/styled.js +26 -26
  97. package/es/components/molecules/ProcessLoading/styled.js +2 -2
  98. package/es/components/molecules/QuillEditor/CustomToolbar.js +3165 -3165
  99. package/es/components/molecules/QuillEditor/EditorToolbar.js +7 -7
  100. package/es/components/molecules/QuillEditor/QuillEditor.js +6 -6
  101. package/es/components/molecules/RadioGroup/styled.js +9 -9
  102. package/es/components/molecules/RequestAccess/styled.js +38 -38
  103. package/es/components/molecules/ResizeGrid/components/Cell/styled.js +77 -77
  104. package/es/components/molecules/ResizeGrid/styled.js +50 -50
  105. package/es/components/molecules/RichMenu/RichMenuBlock/RichMenuCell/styled.js +118 -118
  106. package/es/components/molecules/RichMenu/RichMenuBlock/styled.js +13 -13
  107. package/es/components/molecules/RichMenu/RichMenuChatBar/TypingChat/styled.js +40 -40
  108. package/es/components/molecules/RichMenu/RichMenuChatBar/styled.js +27 -27
  109. package/es/components/molecules/RichMenu/RichMenuMobileView/RichMenuMobileView.js +2 -2
  110. package/es/components/molecules/RichMenu/RichMenuMobileView/styled.js +38 -38
  111. package/es/components/molecules/SearchPopover/components/PopoverSelect/styled.js +36 -36
  112. package/es/components/molecules/SearchPopover/components/PopoverSelect/styles.scss +7 -7
  113. package/es/components/molecules/SearchPopover/styled.js +32 -32
  114. package/es/components/molecules/Select/styled.js +32 -32
  115. package/es/components/molecules/SelectAccount/styled.js +147 -147
  116. package/es/components/molecules/SelectEventAttribute/styled.js +8 -8
  117. package/es/components/molecules/SelectMulti/styled.js +62 -62
  118. package/es/components/molecules/SelectV2/styled.js +124 -124
  119. package/es/components/molecules/SettingWrapper/styled.js +12 -12
  120. package/es/components/molecules/ShareAccess/components/GeneralAccess/styled.js +56 -56
  121. package/es/components/molecules/ShareAccess/components/LayoutContent/styled.js +5 -5
  122. package/es/components/molecules/ShareAccess/components/ModalTransferOwnerShip/styled.js +15 -15
  123. package/es/components/molecules/ShareAccess/components/PeopleAccess/styled.js +63 -63
  124. package/es/components/molecules/ShareAccess/components/SearchUser/styled.js +31 -31
  125. package/es/components/molecules/SliderWithInputNumber/styled.js +2 -2
  126. package/es/components/molecules/Tabs/Tabs.js +11 -11
  127. package/es/components/molecules/TagifyInput/TagifyInput.js +41 -41
  128. package/es/components/molecules/TagifyInput/styled.js +37 -37
  129. package/es/components/molecules/TagifyInput/utils.js +13 -13
  130. package/es/components/molecules/TagifyInput/utils.style.js +208 -208
  131. package/es/components/molecules/TemplateSaveAs/components/Category/Category.js +5 -5
  132. package/es/components/molecules/TemplateSaveAs/components/ImageSlider/styled.js +276 -276
  133. package/es/components/molecules/TemplateSaveAs/styled.js +134 -134
  134. package/es/components/molecules/ThumbnailCard/styled.js +92 -92
  135. package/es/components/molecules/Tree/styled.js +38 -38
  136. package/es/components/molecules/UploadImage/styled.js +114 -114
  137. package/es/components/molecules/VirtualizedMenu/styled.js +66 -66
  138. package/es/components/organism/AccountProfile/components/AccountSetting/components/EditableInput/styles.js +98 -98
  139. package/es/components/organism/AccountProfile/components/AccountSetting/components/LanguageSelector/styles.js +18 -18
  140. package/es/components/organism/AccountProfile/components/AccountSetting/styled.js +543 -543
  141. package/es/components/organism/AccountProfile/components/AccountSetting/styles.scss +39 -39
  142. package/es/components/organism/AccountSharing/styled.js +346 -346
  143. package/es/components/organism/ActivityTimeline/components/ActionHistory/styled.js +28 -28
  144. package/es/components/organism/ActivityTimeline/components/CardMember/styled.js +60 -60
  145. package/es/components/organism/ActivityTimeline/components/ItemGroupEvent/styled.js +4 -4
  146. package/es/components/organism/ActivityTimeline/components/List/styled.js +77 -77
  147. package/es/components/organism/ActivityTimeline/components/ListItem/styled.js +37 -37
  148. package/es/components/organism/ActivityTimeline/components/ProductCard/styled.js +92 -92
  149. package/es/components/organism/ActivityTimeline/components/Redeem/styled.js +7 -7
  150. package/es/components/organism/ActivityTimeline/components/Slide/styled.js +20 -20
  151. package/es/components/organism/ActivityTimeline/components/TimeLineTitle/styled.js +7 -7
  152. package/es/components/organism/ActivityTimeline/components/TimelineSection/styled.js +69 -69
  153. package/es/components/organism/ActivityTimeline/styled.js +39 -39
  154. package/es/components/organism/AlgorithmsSetting/styled.js +35 -35
  155. package/es/components/organism/ContentSources/styled.js +50 -50
  156. package/es/components/organism/DataTable/components/AddButton/index.js +8 -8
  157. package/es/components/organism/DataTable/components/ModifyColumn/styled.js +18 -18
  158. package/es/components/organism/DataTable/components/Pagination/styled.js +26 -26
  159. package/es/components/organism/DataTable/components/Table/styled.js +135 -135
  160. package/es/components/organism/DataTable/components/Toolbar/SearchPopover.js +17 -17
  161. package/es/components/organism/DataTable/components/Toolbar/styled.js +70 -70
  162. package/es/components/organism/DataTable/styled/index.js +84 -84
  163. package/es/components/organism/Filter/components/FilterCondition/styled.js +34 -34
  164. package/es/components/organism/Filter/styled.js +109 -109
  165. package/es/components/organism/FilterSetting/components/common/InputArray/styled.js +5 -5
  166. package/es/components/organism/FilterSetting/components/common/InputOrSelect/index.js +63 -63
  167. package/es/components/organism/FilterSetting/components/common/InputSelectMulti/ColumnSuggestion/index.js +31 -31
  168. package/es/components/organism/FilterSetting/components/common/InputSelectMulti/Tree/index.js +22 -22
  169. package/es/components/organism/FilterSetting/components/common/InputSelectMulti/index.js +55 -55
  170. package/es/components/organism/FilterSetting/styled.js +19 -19
  171. package/es/components/organism/GenerativeInsights/styled.js +55 -55
  172. package/es/components/organism/Help/styled.js +253 -253
  173. package/es/components/organism/LeftMenu/components/HomeMenu/styled.js +39 -39
  174. package/es/components/organism/LeftMenu/components/common/ChildMenu/components/MenuItemImage/styled.js +16 -16
  175. package/es/components/organism/LeftMenu/components/common/ChildMenu/styled.js +156 -156
  176. package/es/components/organism/LeftMenu/styled.js +214 -214
  177. package/es/components/organism/Login/components/ForgotPassword/styled.js +8 -8
  178. package/es/components/organism/Login/components/LoginSelectPortal/Item/styled.js +31 -31
  179. package/es/components/organism/Login/components/LoginSelectPortal/styled.js +3 -3
  180. package/es/components/organism/Login/components/LoginStep2/styled.js +3 -3
  181. package/es/components/organism/Login/components/SetupGGAuthenticator/styled.js +7 -7
  182. package/es/components/organism/Login/components/SignIn/styled.js +8 -8
  183. package/es/components/organism/Login/components/VerifyAccount/styled.js +13 -13
  184. package/es/components/organism/Login/components/WidgetLayout/styled.js +18 -18
  185. package/es/components/organism/Login/styled.js +114 -114
  186. package/es/components/organism/Menu/styled.js +6 -6
  187. package/es/components/organism/ModifyColumnModal/styled.js +132 -132
  188. package/es/components/organism/Notification/styled.js +155 -155
  189. package/es/components/organism/PreviewCollections/Messages/SkeletonMessage/styled.js +14 -14
  190. package/es/components/organism/PreviewCollections/WhatsappMessage/CarouselMessage/index.js +2 -0
  191. package/es/components/organism/PreviewCollections/WhatsappMessage/CarouselMessage/styled.js +58 -58
  192. package/es/components/organism/PreviewCollections/WhatsappMessage/MediaMessage/index.js +16 -2
  193. package/es/components/organism/PreviewCollections/constants.js +58 -42
  194. package/es/components/organism/PreviewCollections/styled.js +16 -16
  195. package/es/components/organism/PreviewTemplateModal/components/Banner/styled.js +78 -78
  196. package/es/components/organism/PreviewTemplateModal/components/Information/styled.js +52 -52
  197. package/es/components/organism/PreviewTemplateModal/components/SimilarTemplate/styled.js +18 -18
  198. package/es/components/organism/PreviewTemplateModal/components/ThumbnailSlider/styled.js +77 -77
  199. package/es/components/organism/PreviewTemplateModal/styled.js +21 -21
  200. package/es/components/organism/Table/CrossTabTable/components/CustomCell/styled.js +11 -11
  201. package/es/components/organism/Table/CrossTabTable/styled.js +11 -11
  202. package/es/components/organism/Table/ExplorePivotTable/components/CustomCell/styled.js +17 -17
  203. package/es/components/organism/Table/ExplorePivotTable/styled.js +11 -11
  204. package/es/components/organism/TicketEditor/styled.js +846 -846
  205. package/es/components/organism/TicketEditorV2/Content.js +3 -3
  206. package/es/components/organism/TicketEditorV2/styled.js +837 -837
  207. package/es/components/template/Layout/Layout.js +10 -10
  208. package/es/components/template/Layout/components/RecommendationWorkspace/components/MenuMapping/components/OldLeftMenu/styled.js +73 -73
  209. package/es/components/template/Layout/components/RecommendationWorkspace/components/MenuMapping/styled.js +39 -39
  210. package/es/components/template/Layout/components/RecommendationWorkspace/components/RecommendationImage/styled.js +61 -61
  211. package/es/components/template/Layout/components/RecommendationWorkspace/styled.js +16 -16
  212. package/es/components/template/Layout/styled.js +84 -84
  213. package/es/components/template/TemplateListing/Loadable.d.ts +0 -1
  214. package/es/components/template/TemplateListing/components/BlankTemplate/styled.js +21 -21
  215. package/es/components/template/TemplateListing/components/CategoryListing/styled.js +123 -123
  216. package/es/components/template/TemplateListing/components/Empty/styled.js +20 -20
  217. package/es/components/template/TemplateListing/stories/demo/styled.js +4 -4
  218. package/es/components/template/TemplateListing/styled/index.js +40 -40
  219. package/es/providers/ConfigProvider/GlobalStyle.js +1249 -1249
  220. package/es/stories/assets/colors.svg +1 -0
  221. package/es/stories/assets/comments.svg +1 -0
  222. package/es/stories/assets/direction.svg +1 -0
  223. package/es/stories/assets/flow.svg +1 -0
  224. package/es/stories/assets/plugin.svg +1 -0
  225. package/es/stories/assets/repo.svg +1 -0
  226. package/es/stories/assets/stackalt.svg +1 -0
  227. package/es/styled/common.js +51 -51
  228. package/es/tests/styled.js +4 -4
  229. package/es/utils/variables.js +7 -7
  230. package/package.json +262 -262
  231. package/es/components/organism/ActivityTimeline/__mocks__/event_tracking.json +0 -1556
  232. package/es/components/organism/ActivityTimeline/__mocks__/timeline.json +0 -2885
@@ -70,13 +70,13 @@ export const formats = [
70
70
  'color',
71
71
  'code-block',
72
72
  ];
73
- const ToolBarWrapper = styled.div `
74
- border: 1px solid ${props => props.borderColor} !important;
75
- border-bottom: none !important;
76
- border-radius: ${props => (props.isRoundCorner ? '10px 10px 0 0' : '0')};
77
- * {
78
- font-weight: 400;
79
- }
73
+ const ToolBarWrapper = styled.div `
74
+ border: 1px solid ${props => props.borderColor} !important;
75
+ border-bottom: none !important;
76
+ border-radius: ${props => (props.isRoundCorner ? '10px 10px 0 0' : '0')};
77
+ * {
78
+ font-weight: 400;
79
+ }
80
80
  `;
81
81
  export const QuillToolbar = ({ id, isRoundCorner = true, borderColor }) => (_jsxs(ToolBarWrapper, { id: id, isRoundCorner: isRoundCorner, borderColor: borderColor, children: [_jsx("span", { className: "ql-formats", children: _jsxs("select", { className: "ql-size", defaultValue: "12px", children: [_jsx("option", { value: "12px", children: "Paragraph" }), _jsx("option", { value: "24px", children: "Heading 1" }), _jsx("option", { value: "18px", children: "Heading 2" }), _jsx("option", { value: "14px", children: "Heading 3" })] }) }), _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("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-blockquote" }), _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, {}) })] })] }));
82
82
  export default QuillToolbar;
@@ -29,12 +29,12 @@ Quill.register(Block, true);
29
29
  // [{ align: [] }],
30
30
  // ['clean'],
31
31
  // ];
32
- const EditorWrapper = styled.div `
33
- border: 1px solid ${props => props.borderColor} !important;
34
-
35
- .ql-editor.ql-blank::before {
36
- font-style: normal !important;
37
- }
32
+ const EditorWrapper = styled.div `
33
+ border: 1px solid ${props => props.borderColor} !important;
34
+
35
+ .ql-editor.ql-blank::before {
36
+ font-style: normal !important;
37
+ }
38
38
  `;
39
39
  export const QuillEditor = ({ value, onChange, placeholder = '', uploadService, height = 'auto', maxImgHeight = '300px', borderColor = '#d4d4d4', isRoundCorner, }) => {
40
40
  const editor = useRef(null);
@@ -1,14 +1,14 @@
1
1
  // Libraries
2
2
  import { Radio } from '@antscorp/antsomi-ui/es/components/atoms';
3
3
  import styled from 'styled-components';
4
- export const RadioGroupWrapper = styled.div `
5
- display: flex;
6
- align-items: center;
7
-
8
- & > :not([hidden]) ~ :not([hidden]) {
9
- --tw-space-x-reverse: 0;
10
- margin-right: calc(0.625rem /** 10px */ * var(--tw-space-x-reverse));
11
- margin-left: calc(0.625rem /** 10px */ * calc(1 - var(--tw-space-x-reverse)));
12
- }
4
+ export const RadioGroupWrapper = styled.div `
5
+ display: flex;
6
+ align-items: center;
7
+
8
+ & > :not([hidden]) ~ :not([hidden]) {
9
+ --tw-space-x-reverse: 0;
10
+ margin-right: calc(0.625rem /** 10px */ * var(--tw-space-x-reverse));
11
+ margin-left: calc(0.625rem /** 10px */ * calc(1 - var(--tw-space-x-reverse)));
12
+ }
13
13
  `;
14
14
  export const StyledRadioGroup = styled(Radio.Group) ``;
@@ -1,41 +1,41 @@
1
1
  import { globalToken } from '@antscorp/antsomi-ui/es/constants';
2
2
  import styled from 'styled-components';
3
- export const RequestAccessStyled = styled.div `
4
- box-sizing: border-box;
5
- width: 100%;
6
- height: 100%;
7
-
8
- display: flex;
9
- justify-content: center;
10
- align-items: center;
11
-
12
- & > div {
13
- width: 350px;
14
-
15
- .denied-title {
16
- display: inline-flex;
17
- gap: 5px;
18
-
19
- font-size: 20px;
20
- line-height: 24px;
21
- font-weight: 700;
22
- color: ${globalToken?.orange6};
23
-
24
- & > svg {
25
- color: ${globalToken?.bw5};
26
- }
27
- }
28
-
29
- .denied-sub-title {
30
- line-height: 14px;
31
- color: ${globalToken?.bw8};
32
- }
33
-
34
- .antsomi-input {
35
- height: 150px;
36
- border: 1px solid ${globalToken?.blue1} !important;
37
- border-radius: ${globalToken?.borderRadius}px;
38
- padding: 10px;
39
- }
40
- }
3
+ export const RequestAccessStyled = styled.div `
4
+ box-sizing: border-box;
5
+ width: 100%;
6
+ height: 100%;
7
+
8
+ display: flex;
9
+ justify-content: center;
10
+ align-items: center;
11
+
12
+ & > div {
13
+ width: 350px;
14
+
15
+ .denied-title {
16
+ display: inline-flex;
17
+ gap: 5px;
18
+
19
+ font-size: 20px;
20
+ line-height: 24px;
21
+ font-weight: 700;
22
+ color: ${globalToken?.orange6};
23
+
24
+ & > svg {
25
+ color: ${globalToken?.bw5};
26
+ }
27
+ }
28
+
29
+ .denied-sub-title {
30
+ line-height: 14px;
31
+ color: ${globalToken?.bw8};
32
+ }
33
+
34
+ .antsomi-input {
35
+ height: 150px;
36
+ border: 1px solid ${globalToken?.blue1} !important;
37
+ border-radius: ${globalToken?.borderRadius}px;
38
+ padding: 10px;
39
+ }
40
+ }
41
41
  `;
@@ -1,80 +1,80 @@
1
1
  // Libraries
2
2
  import styled from 'styled-components';
3
- export const StyledCell = styled.div `
4
- // border: ${props => props.borderStyle};
5
- // border-top: none;
6
- // border-left: none;
7
- // box-shadow: 1px 1px 0px 1px rgba(0, 0, 0, 0.1);
8
- position: relative;
9
- user-select: none;
10
-
11
- .cell-border {
12
- position: absolute;
13
- inset: 0;
14
- border: 1px solid #005eb8;
15
- box-sizing: border-box;
16
- border: ${props => props.borderStyle};
17
- border-top: none;
18
- border-left: none;
19
- z-index: 1;
20
- }
21
- .cell-content {
22
- position: relative;
23
- height: 100%;
24
- width: 100%;
25
- z-index: 2;
26
- }
27
- .resize-top,
28
- .resize-right,
29
- .resize-bottom,
30
- .resize-left {
31
- position: absolute;
32
- z-index: 3;
33
- }
34
-
35
- .resize-top,
36
- .resize-bottom {
37
- width: 100%;
38
- height: 3px;
39
- left: -1px;
40
- cursor: row-resize;
41
- }
42
- .resize-left,
43
- .resize-right {
44
- width: 3px;
45
- height: 100%;
46
- top: -1px;
47
- cursor: col-resize;
48
- }
49
-
50
- .resize-top {
51
- // background: red;
52
- top: -1px;
53
- }
54
- .resize-right {
55
- // background: green;
56
- right: -1px;
57
- }
58
- .resize-bottom {
59
- // background: blue;
60
- bottom: -1px;
61
- }
62
- .resize-left {
63
- // background: yellow;
64
- left: -1px;
65
- }
66
- .imageWrapper {
67
- height: 100%;
68
- max-width: 100%;
69
- max-height: 100%;
70
- img {
71
- display: block;
72
- width: 100%;
73
- height: 100%;
74
- max-width: 100%;
75
- max-height: 100%;
76
- object-fit: contain;
77
- -webkit-user-drag: none;
78
- }
79
- }
3
+ export const StyledCell = styled.div `
4
+ // border: ${props => props.borderStyle};
5
+ // border-top: none;
6
+ // border-left: none;
7
+ // box-shadow: 1px 1px 0px 1px rgba(0, 0, 0, 0.1);
8
+ position: relative;
9
+ user-select: none;
10
+
11
+ .cell-border {
12
+ position: absolute;
13
+ inset: 0;
14
+ border: 1px solid #005eb8;
15
+ box-sizing: border-box;
16
+ border: ${props => props.borderStyle};
17
+ border-top: none;
18
+ border-left: none;
19
+ z-index: 1;
20
+ }
21
+ .cell-content {
22
+ position: relative;
23
+ height: 100%;
24
+ width: 100%;
25
+ z-index: 2;
26
+ }
27
+ .resize-top,
28
+ .resize-right,
29
+ .resize-bottom,
30
+ .resize-left {
31
+ position: absolute;
32
+ z-index: 3;
33
+ }
34
+
35
+ .resize-top,
36
+ .resize-bottom {
37
+ width: 100%;
38
+ height: 3px;
39
+ left: -1px;
40
+ cursor: row-resize;
41
+ }
42
+ .resize-left,
43
+ .resize-right {
44
+ width: 3px;
45
+ height: 100%;
46
+ top: -1px;
47
+ cursor: col-resize;
48
+ }
49
+
50
+ .resize-top {
51
+ // background: red;
52
+ top: -1px;
53
+ }
54
+ .resize-right {
55
+ // background: green;
56
+ right: -1px;
57
+ }
58
+ .resize-bottom {
59
+ // background: blue;
60
+ bottom: -1px;
61
+ }
62
+ .resize-left {
63
+ // background: yellow;
64
+ left: -1px;
65
+ }
66
+ .imageWrapper {
67
+ height: 100%;
68
+ max-width: 100%;
69
+ max-height: 100%;
70
+ img {
71
+ display: block;
72
+ width: 100%;
73
+ height: 100%;
74
+ max-width: 100%;
75
+ max-height: 100%;
76
+ object-fit: contain;
77
+ -webkit-user-drag: none;
78
+ }
79
+ }
80
80
  `;
@@ -1,56 +1,56 @@
1
1
  // Libraries
2
2
  import styled from 'styled-components';
3
- export const StyledGrid = styled.div `
4
- width: 100%;
5
- box-sizing: border-box;
6
- position: relative;
7
-
8
- * {
9
- box-sizing: border-box;
10
- }
11
-
12
- .grid-container {
13
- position: relative;
14
- width: 100%;
15
- height: 100%;
16
- display: grid;
17
- background: transparent;
18
- aspect-ratio: ${props => (props.isCompact ? '3 / 1' : '3 / 2')};
19
- z-index: 3;
20
- }
3
+ export const StyledGrid = styled.div `
4
+ width: 100%;
5
+ box-sizing: border-box;
6
+ position: relative;
7
+
8
+ * {
9
+ box-sizing: border-box;
10
+ }
11
+
12
+ .grid-container {
13
+ position: relative;
14
+ width: 100%;
15
+ height: 100%;
16
+ display: grid;
17
+ background: transparent;
18
+ aspect-ratio: ${props => (props.isCompact ? '3 / 1' : '3 / 2')};
19
+ z-index: 3;
20
+ }
21
21
  `;
22
- export const StyledMiddleLayer = styled.div `
23
- width: 100%;
24
- height: 100%;
25
- position: absolute;
26
- inset: 0;
27
- // background: red;
28
- z-index: 2;
22
+ export const StyledMiddleLayer = styled.div `
23
+ width: 100%;
24
+ height: 100%;
25
+ position: absolute;
26
+ inset: 0;
27
+ // background: red;
28
+ z-index: 2;
29
29
  `;
30
- export const StyledBGLayer = styled.div `
31
- width: 100%;
32
- height: 100%;
33
- position: absolute;
34
- inset: 0;
35
- // background: red;
36
- z-index: 1;
37
- background-repeat: no-repeat;
38
- background-position: top left;
39
- background-size: 100% 100%;
30
+ export const StyledBGLayer = styled.div `
31
+ width: 100%;
32
+ height: 100%;
33
+ position: absolute;
34
+ inset: 0;
35
+ // background: red;
36
+ z-index: 1;
37
+ background-repeat: no-repeat;
38
+ background-position: top left;
39
+ background-size: 100% 100%;
40
40
  `;
41
- export const StyledLine = styled.div `
42
- position: absolute;
43
- width: 100%;
44
- height: 100%;
45
- top: -1px;
46
- left: -1px;
47
- background: red;
48
- display: none;
49
-
50
- &.vertical {
51
- width: 1px;
52
- }
53
- &.horizontal {
54
- height: 1px;
55
- }
41
+ export const StyledLine = styled.div `
42
+ position: absolute;
43
+ width: 100%;
44
+ height: 100%;
45
+ top: -1px;
46
+ left: -1px;
47
+ background: red;
48
+ display: none;
49
+
50
+ &.vertical {
51
+ width: 1px;
52
+ }
53
+ &.horizontal {
54
+ height: 1px;
55
+ }
56
56
  `;
@@ -1,135 +1,135 @@
1
1
  // Libraries
2
2
  import styled, { css } from 'styled-components';
3
- export const CellContainer = styled.div `
4
- width: 100%;
5
- height: 100%;
6
- cursor: pointer;
3
+ export const CellContainer = styled.div `
4
+ width: 100%;
5
+ height: 100%;
6
+ cursor: pointer;
7
7
  `;
8
- export const AddContainer = styled.div `
9
- display: flex;
10
- flex-direction: column;
11
- align-items: center;
12
- justify-content: center;
13
- gap: 4px;
14
- width: 100%;
15
- height: 100%;
16
- padding: 8px 0px;
17
- overflow: hidden;
8
+ export const AddContainer = styled.div `
9
+ display: flex;
10
+ flex-direction: column;
11
+ align-items: center;
12
+ justify-content: center;
13
+ gap: 4px;
14
+ width: 100%;
15
+ height: 100%;
16
+ padding: 8px 0px;
17
+ overflow: hidden;
18
18
  `;
19
- export const AddLabel = styled.span `
20
- width: 100%;
21
- padding: 0px 6px;
22
-
23
- font-size: 10px;
24
- font-weight: 400;
25
- color: #000000;
26
- white-space: nowrap;
27
- text-overflow: ellipsis;
28
- text-align: center;
29
- overflow: hidden;
19
+ export const AddLabel = styled.span `
20
+ width: 100%;
21
+ padding: 0px 6px;
22
+
23
+ font-size: 10px;
24
+ font-weight: 400;
25
+ color: #000000;
26
+ white-space: nowrap;
27
+ text-overflow: ellipsis;
28
+ text-align: center;
29
+ overflow: hidden;
30
30
  `;
31
- export const CellImage = styled.div `
32
- min-height: 100%;
33
- background-image: url(${({ src }) => src});
34
- background-size: ${({ imageSize }) => imageSize};
35
- background-position: ${({ imagePosition }) => imagePosition};
36
-
31
+ export const CellImage = styled.div `
32
+ min-height: 100%;
33
+ background-image: url(${({ src }) => src});
34
+ background-size: ${({ imageSize }) => imageSize};
35
+ background-position: ${({ imagePosition }) => imagePosition};
36
+
37
37
  ${props => props.active &&
38
- css `
39
- position: relative;
40
-
41
- &::after {
42
- content: '';
43
- position: absolute;
44
- top: 0;
45
- right: 0;
46
- bottom: 0;
47
- left: 0;
48
- background-color: rgba(0, 95, 184, 0.5);
49
- display: block;
50
- }
51
- `}
38
+ css `
39
+ position: relative;
40
+
41
+ &::after {
42
+ content: '';
43
+ position: absolute;
44
+ top: 0;
45
+ right: 0;
46
+ bottom: 0;
47
+ left: 0;
48
+ background-color: rgba(0, 95, 184, 0.5);
49
+ display: block;
50
+ }
51
+ `}
52
52
  `;
53
- export const LayerVideoContainer = styled.div `
54
- position: absolute;
55
- top: 0;
56
- left: 0;
57
- right: 0;
58
- bottom: 0;
59
- z-index: 9999;
60
- overflow: hidden;
61
-
53
+ export const LayerVideoContainer = styled.div `
54
+ position: absolute;
55
+ top: 0;
56
+ left: 0;
57
+ right: 0;
58
+ bottom: 0;
59
+ z-index: 9999;
60
+ overflow: hidden;
61
+
62
62
  ${props => props.active &&
63
- css `
64
- &::after {
65
- content: '';
66
- position: absolute;
67
- top: 0;
68
- right: 0;
69
- bottom: 0;
70
- left: 0;
71
- background-color: rgba(0, 95, 184, 0.5);
72
- display: block;
73
- z-index: 9999;
74
- }
75
- `}
63
+ css `
64
+ &::after {
65
+ content: '';
66
+ position: absolute;
67
+ top: 0;
68
+ right: 0;
69
+ bottom: 0;
70
+ left: 0;
71
+ background-color: rgba(0, 95, 184, 0.5);
72
+ display: block;
73
+ z-index: 9999;
74
+ }
75
+ `}
76
76
  `;
77
77
  export const Video = styled.video ``;
78
- export const VideoAction = styled.div `
79
- position: absolute;
80
- top: 50%;
81
- left: 50%;
82
- display: flex;
83
- flex-direction: column;
84
- justify-content: center;
85
- align-items: flex-start;
86
- gap: 10px;
87
- z-index: 99999;
88
- transform: translate(-50%, -50%);
78
+ export const VideoAction = styled.div `
79
+ position: absolute;
80
+ top: 50%;
81
+ left: 50%;
82
+ display: flex;
83
+ flex-direction: column;
84
+ justify-content: center;
85
+ align-items: flex-start;
86
+ gap: 10px;
87
+ z-index: 99999;
88
+ transform: translate(-50%, -50%);
89
89
  `;
90
- export const ActionButton = styled.div `
91
- display: flex;
92
- justify-content: center;
93
- align-items: center;
94
- height: auto;
90
+ export const ActionButton = styled.div `
91
+ display: flex;
92
+ justify-content: center;
93
+ align-items: center;
94
+ height: auto;
95
95
  `;
96
- export const ThumbnailBox = styled.div `
97
- position: absolute;
98
- top: 0;
99
- right: 0;
100
- bottom: 0;
101
- left: 0;
102
- z-index: 9999;
96
+ export const ThumbnailBox = styled.div `
97
+ position: absolute;
98
+ top: 0;
99
+ right: 0;
100
+ bottom: 0;
101
+ left: 0;
102
+ z-index: 9999;
103
103
  `;
104
- export const Image = styled.img `
105
- width: 100%;
106
- height: 100%;
107
- object-fit: cover;
104
+ export const Image = styled.img `
105
+ width: 100%;
106
+ height: 100%;
107
+ object-fit: cover;
108
108
  `;
109
- export const Link = styled.a `
110
- display: flex;
111
- justify-content: center;
112
- align-items: center;
113
- text-decoration: none;
114
- height: auto;
109
+ export const Link = styled.a `
110
+ display: flex;
111
+ justify-content: center;
112
+ align-items: center;
113
+ text-decoration: none;
114
+ height: auto;
115
115
  `;
116
- export const ActionButtonLabel = styled.span `
117
- font-size: 14px;
118
- color: #fff;
119
- white-space: nowrap;
120
- text-overflow: ellipsis;
121
- overflow: hidden;
122
- line-height: 18px;
123
- height: 18px;
124
- max-width: 300px;
116
+ export const ActionButtonLabel = styled.span `
117
+ font-size: 14px;
118
+ color: #fff;
119
+ white-space: nowrap;
120
+ text-overflow: ellipsis;
121
+ overflow: hidden;
122
+ line-height: 18px;
123
+ height: 18px;
124
+ max-width: 300px;
125
125
  `;
126
- export const CircleBorder = styled.div `
127
- width: 18px;
128
- height: 18px;
129
- border-radius: 50%;
130
- border: 1.5px solid #fff;
131
- display: flex;
132
- justify-content: center;
133
- align-items: center;
134
- margin-left: 3px;
126
+ export const CircleBorder = styled.div `
127
+ width: 18px;
128
+ height: 18px;
129
+ border-radius: 50%;
130
+ border: 1.5px solid #fff;
131
+ display: flex;
132
+ justify-content: center;
133
+ align-items: center;
134
+ margin-left: 3px;
135
135
  `;