@uploadcare/file-uploader 1.28.0-alpha.0 → 1.28.0-alpha.1

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 (466) hide show
  1. package/dist/ActivityHeader-R6Mlx-dA.js +9 -0
  2. package/dist/ActivityHeader.css +23 -0
  3. package/dist/ActivityHeader.layered.css +24 -0
  4. package/dist/{CameraSource-DbyO6GoK.js → CameraSource-DDwj1jCV.js} +106 -76
  5. package/dist/CameraSource-n1tun2Df.js +10 -0
  6. package/dist/CameraSource.css +180 -0
  7. package/dist/CameraSource.layered.css +209 -0
  8. package/dist/{CloudImageEditor-BIxf1V4M.js → CloudImageEditor-DcVoIRb3.js} +66 -65
  9. package/dist/{CloudImageEditorActivity-d4DpK6fQ.js → CloudImageEditorActivity-Csij4nlC.js} +4 -4
  10. package/dist/{CloudImageEditorActivity-CJxP5N0S.js → CloudImageEditorActivity-DD4NdU0P.js} +4 -4
  11. package/dist/CloudImageEditorActivity.css +14 -0
  12. package/dist/CloudImageEditorActivity.layered.css +15 -0
  13. package/dist/{Config-DuWre5p3.js → Config-DKOromHY.js} +27 -27
  14. package/dist/Config.css +4 -0
  15. package/dist/Config.layered.css +5 -0
  16. package/dist/ExternalSource-6MSUgxqy.js +10 -0
  17. package/dist/{ExternalSource-BKTFp95O.js → ExternalSource-DVEjSkPB.js} +56 -51
  18. package/dist/ExternalSource.css +98 -0
  19. package/dist/ExternalSource.layered.css +116 -0
  20. package/dist/{Icon-CqTVC82Q.js → Icon-tXRTvEF2.js} +7 -8
  21. package/dist/Icon.css +14 -0
  22. package/dist/Icon.layered.css +15 -0
  23. package/dist/{LitUploaderBlock-BA34rzeU.js → LitUploaderBlock-LxeOZ0ya.js} +65 -65
  24. package/dist/{UrlSource-DZK5EBwT.js → UrlSource-BkyX00I2.js} +5 -5
  25. package/dist/UrlSource-RI8TSD48.js +10 -0
  26. package/dist/UrlSource.css +17 -0
  27. package/dist/UrlSource.layered.css +18 -0
  28. package/dist/abstract/loadFileUploaderFrom.js +3 -3
  29. package/dist/cameraPlugin-weRKO7eG.js +8 -0
  30. package/dist/{cloud-image-editor-fNswWrI4.js → cloud-image-editor-hhbyNWLG.js} +6 -6
  31. package/dist/cloud-image-editor.css +1380 -0
  32. package/dist/cloud-image-editor.layered.css +1549 -0
  33. package/dist/cloudImageEditorPlugin-FjUgbMK3.js +8 -0
  34. package/dist/{en-DNCwRJsB.js → en-8OWEmZim.js} +2 -2
  35. package/dist/env-mM-ksNPq.js +8 -0
  36. package/dist/env.js +3 -3
  37. package/dist/externalSourcesPlugin-CMBmLT8S.js +8 -0
  38. package/dist/imageShrinkPlugin-BN6loiP2.js +8 -0
  39. package/dist/index-base.css +2497 -0
  40. package/dist/index-base.layered.css +2837 -0
  41. package/dist/index.css +9 -3964
  42. package/dist/index.d.ts +13 -0
  43. package/dist/index.js +827 -42
  44. package/dist/index.layered.css +9 -4478
  45. package/dist/instagramPlugin-CXRm8MGL.js +8 -0
  46. package/dist/{loadFileUploaderFrom-BWJM43Yq.js → loadFileUploaderFrom-Bfz8L3VB.js} +3 -3
  47. package/dist/locales/file-uploader/ar.js +2 -2
  48. package/dist/locales/file-uploader/az.js +2 -2
  49. package/dist/locales/file-uploader/ca.js +2 -2
  50. package/dist/locales/file-uploader/cs.js +2 -2
  51. package/dist/locales/file-uploader/da.js +2 -2
  52. package/dist/locales/file-uploader/de.js +2 -2
  53. package/dist/locales/file-uploader/el.js +2 -2
  54. package/dist/locales/file-uploader/en.js +3 -3
  55. package/dist/locales/file-uploader/es.js +2 -2
  56. package/dist/locales/file-uploader/et.js +2 -2
  57. package/dist/locales/file-uploader/fi.js +2 -2
  58. package/dist/locales/file-uploader/fr.js +2 -2
  59. package/dist/locales/file-uploader/he.js +2 -2
  60. package/dist/locales/file-uploader/hy.js +2 -2
  61. package/dist/locales/file-uploader/is.js +2 -2
  62. package/dist/locales/file-uploader/it.js +2 -2
  63. package/dist/locales/file-uploader/ja.js +2 -2
  64. package/dist/locales/file-uploader/ka.js +2 -2
  65. package/dist/locales/file-uploader/kk.js +2 -2
  66. package/dist/locales/file-uploader/ko.js +2 -2
  67. package/dist/locales/file-uploader/lv.js +2 -2
  68. package/dist/locales/file-uploader/nb.js +2 -2
  69. package/dist/locales/file-uploader/nl.js +2 -2
  70. package/dist/locales/file-uploader/pl.js +2 -2
  71. package/dist/locales/file-uploader/pt.js +2 -2
  72. package/dist/locales/file-uploader/ro.js +2 -2
  73. package/dist/locales/file-uploader/ru.js +2 -2
  74. package/dist/locales/file-uploader/sk.js +2 -2
  75. package/dist/locales/file-uploader/sr.js +2 -2
  76. package/dist/locales/file-uploader/sv.js +2 -2
  77. package/dist/locales/file-uploader/tr.js +2 -2
  78. package/dist/locales/file-uploader/uk.js +2 -2
  79. package/dist/locales/file-uploader/vi.js +2 -2
  80. package/dist/locales/file-uploader/zh-TW.js +2 -2
  81. package/dist/locales/file-uploader/zh.js +2 -2
  82. package/dist/{plugins-DxjsQUa8.js → plugins-CGUls7EV.js} +6 -6
  83. package/dist/urlSourcePlugin-_WdbEhq2.js +8 -0
  84. package/package.json +1 -1
  85. package/web/ActivityHeader-BFdTdVfD.js +9 -0
  86. package/web/ActivityHeader-DQy6rII1.js +9 -0
  87. package/web/ActivityHeader-DvzMl0uj.js +9 -0
  88. package/web/ActivityHeader-i4x6_Fne.js +9 -0
  89. package/web/CameraSource-BAWIA4Wm.js +508 -0
  90. package/web/CameraSource-BqZCQcij.js +11 -0
  91. package/web/CameraSource-Brxr4tz4.js +508 -0
  92. package/web/CameraSource-BvBJ5Uzy.js +508 -0
  93. package/web/CameraSource-CkHzIE-h.js +11 -0
  94. package/web/CameraSource-D964yPLu.js +508 -0
  95. package/web/CameraSource-DE48Az-f.js +11 -0
  96. package/web/CameraSource-DyPebtRF.js +478 -0
  97. package/web/CameraSource-pj7Xo81m.js +11 -0
  98. package/web/CloudImageEditor-CTgUWB07.js +2192 -0
  99. package/web/CloudImageEditor-CxqV9Lwm.js +2192 -0
  100. package/web/CloudImageEditor-DoLWHpqV.js +2192 -0
  101. package/web/CloudImageEditor-Drywn265.js +2192 -0
  102. package/web/CloudImageEditor-MXcaDtMx.js +2187 -0
  103. package/web/CloudImageEditorActivity-BPzmfaJV.js +85 -0
  104. package/web/CloudImageEditorActivity-Br8pU5gd.js +11 -0
  105. package/web/CloudImageEditorActivity-Cw8b2CEz.js +11 -0
  106. package/web/CloudImageEditorActivity-Df1ySGq0.js +86 -0
  107. package/web/CloudImageEditorActivity-DinG5r0y.js +11 -0
  108. package/web/CloudImageEditorActivity-DmnLLINR.js +85 -0
  109. package/web/CloudImageEditorActivity-U90BGCek.js +85 -0
  110. package/web/CloudImageEditorActivity-dNLQZRZI.js +11 -0
  111. package/web/CloudImageEditorActivity-ur-hQ-6p.js +85 -0
  112. package/web/Config-8hlBNhvs.js +455 -0
  113. package/web/Config-BDZhPIyz.js +455 -0
  114. package/web/Config-CJVNrrjj.js +455 -0
  115. package/web/Config-DvkVtlQ7.js +455 -0
  116. package/web/ExternalSource-B9ycBFiD.js +10 -0
  117. package/web/ExternalSource-BE7HX47E.js +250 -0
  118. package/web/ExternalSource-BL5GSlol.js +250 -0
  119. package/web/ExternalSource-BXQY6Dlc.js +10 -0
  120. package/web/ExternalSource-BXxH3JCD.js +250 -0
  121. package/web/ExternalSource-BYSS-PPV.js +245 -0
  122. package/web/ExternalSource-C57a61QN.js +10 -0
  123. package/web/ExternalSource-CKfMtOgU.js +250 -0
  124. package/web/ExternalSource-DP6q8ylB.js +10 -0
  125. package/web/LitUploaderBlock-AX6jOdAS.js +996 -0
  126. package/web/LitUploaderBlock-BjAaoLl2.js +996 -0
  127. package/web/LitUploaderBlock-D8E5HuwH.js +996 -0
  128. package/web/LitUploaderBlock-Dl3ce0Tc.js +996 -0
  129. package/web/LitUploaderBlock-Oi33U0uf.js +996 -0
  130. package/web/UrlSource-B9SX3K0L.js +10 -0
  131. package/web/UrlSource-C3zB1rCb.js +70 -0
  132. package/web/UrlSource-C7bEU6Xv.js +10 -0
  133. package/web/UrlSource-CE389CBz.js +70 -0
  134. package/web/UrlSource-CnvAJ58Y.js +10 -0
  135. package/web/UrlSource-CqF0h6B-.js +10 -0
  136. package/web/UrlSource-D-971Nut.js +70 -0
  137. package/web/UrlSource-DhI3YCt5.js +70 -0
  138. package/web/UrlSource-hWV7jtB2.js +70 -0
  139. package/web/abstract/CTX.d.ts +40 -0
  140. package/web/abstract/TypedCollection.d.ts +47 -0
  141. package/web/abstract/TypedCollection.test.d.ts +1 -0
  142. package/web/abstract/TypedData.d.ts +12 -0
  143. package/web/abstract/TypedData.test.d.ts +1 -0
  144. package/web/abstract/UploaderPublicApi.d.ts +41 -0
  145. package/web/abstract/buildOutputCollectionState.d.ts +3 -0
  146. package/web/abstract/customConfigOptions.d.ts +65 -0
  147. package/web/abstract/defineComponents.d.ts +1 -0
  148. package/web/abstract/features/ClipboardLayer.d.ts +12 -0
  149. package/web/abstract/loadFileUploaderFrom.d.ts +13 -0
  150. package/web/abstract/localeRegistry.d.ts +5 -0
  151. package/web/abstract/managers/LocaleManager.d.ts +10 -0
  152. package/web/abstract/managers/ModalManager.d.ts +53 -0
  153. package/web/abstract/managers/SecureUploadsManager.d.ts +7 -0
  154. package/web/abstract/managers/TelemetryManager.d.ts +41 -0
  155. package/web/abstract/managers/ValidationManager.d.ts +34 -0
  156. package/web/abstract/managers/__tests__/ModalManager.test.d.ts +13 -0
  157. package/web/abstract/managers/__tests__/SecureUploadsManager.test.d.ts +1 -0
  158. package/web/abstract/managers/a11y.d.ts +9 -0
  159. package/web/abstract/managers/plugin/PluginManager.d.ts +25 -0
  160. package/web/abstract/managers/plugin/PluginTypes.d.ts +146 -0
  161. package/web/abstract/managers/plugin/index.d.ts +2 -0
  162. package/web/abstract/sharedConfigKey.d.ts +2 -0
  163. package/web/abstract/uploadEntrySchema.d.ts +34 -0
  164. package/web/blocks/ActivityHeader/ActivityHeader.d.ts +8 -0
  165. package/web/blocks/CameraSource/CameraSource.d.ts +121 -0
  166. package/web/blocks/CameraSource/__tests__/calcCameraModes.test.d.ts +1 -0
  167. package/web/blocks/CameraSource/calcCameraModes.d.ts +5 -0
  168. package/web/blocks/CameraSource/constants.d.ts +15 -0
  169. package/web/blocks/CloudImageEditor/index.d.ts +1 -0
  170. package/web/blocks/CloudImageEditor/src/CloudImageEditorBlock.d.ts +60 -0
  171. package/web/blocks/CloudImageEditor/src/CropFrame.d.ts +56 -0
  172. package/web/blocks/CloudImageEditor/src/EditorAspectRatioButtonControl.d.ts +24 -0
  173. package/web/blocks/CloudImageEditor/src/EditorButtonControl.d.ts +14 -0
  174. package/web/blocks/CloudImageEditor/src/EditorCropButtonControl.d.ts +13 -0
  175. package/web/blocks/CloudImageEditor/src/EditorFilterControl.d.ts +35 -0
  176. package/web/blocks/CloudImageEditor/src/EditorImageCropper.d.ts +56 -0
  177. package/web/blocks/CloudImageEditor/src/EditorImageFader.d.ts +63 -0
  178. package/web/blocks/CloudImageEditor/src/EditorOperationControl.d.ts +15 -0
  179. package/web/blocks/CloudImageEditor/src/EditorScroller.d.ts +15 -0
  180. package/web/blocks/CloudImageEditor/src/EditorSlider.d.ts +33 -0
  181. package/web/blocks/CloudImageEditor/src/EditorToolbar.d.ts +68 -0
  182. package/web/blocks/CloudImageEditor/src/crop-utils.d.ts +36 -0
  183. package/web/blocks/CloudImageEditor/src/crop-utils.test.d.ts +1 -0
  184. package/web/blocks/CloudImageEditor/src/cropper-constants.d.ts +10 -0
  185. package/web/blocks/CloudImageEditor/src/elements/button/BtnUi.d.ts +31 -0
  186. package/web/blocks/CloudImageEditor/src/elements/line-loader/LineLoaderUi.d.ts +19 -0
  187. package/web/blocks/CloudImageEditor/src/elements/presence-toggle/PresenceToggle.d.ts +27 -0
  188. package/web/blocks/CloudImageEditor/src/elements/slider/SliderUi.d.ts +38 -0
  189. package/web/blocks/CloudImageEditor/src/index.d.ts +15 -0
  190. package/web/blocks/CloudImageEditor/src/lib/classNames.d.ts +5 -0
  191. package/web/blocks/CloudImageEditor/src/lib/classNames.test.d.ts +1 -0
  192. package/web/blocks/CloudImageEditor/src/lib/linspace.d.ts +1 -0
  193. package/web/blocks/CloudImageEditor/src/lib/linspace.test.d.ts +1 -0
  194. package/web/blocks/CloudImageEditor/src/lib/parseCropPreset.d.ts +4 -0
  195. package/web/blocks/CloudImageEditor/src/lib/parseCropPreset.test.d.ts +1 -0
  196. package/web/blocks/CloudImageEditor/src/lib/parseTabs.d.ts +2 -0
  197. package/web/blocks/CloudImageEditor/src/lib/pick.d.ts +1 -0
  198. package/web/blocks/CloudImageEditor/src/lib/pick.test.d.ts +1 -0
  199. package/web/blocks/CloudImageEditor/src/lib/transformationUtils.d.ts +7 -0
  200. package/web/blocks/CloudImageEditor/src/state.d.ts +20 -0
  201. package/web/blocks/CloudImageEditor/src/svg-sprite.d.ts +2 -0
  202. package/web/blocks/CloudImageEditor/src/toolbar-constants.d.ts +61 -0
  203. package/web/blocks/CloudImageEditor/src/types.d.ts +60 -0
  204. package/web/blocks/CloudImageEditor/src/util.d.ts +2 -0
  205. package/web/blocks/CloudImageEditor/src/utils/parseFilterValue.d.ts +7 -0
  206. package/web/blocks/CloudImageEditor/src/utils/parseFilterValue.test.d.ts +1 -0
  207. package/web/blocks/CloudImageEditorActivity/CloudImageEditorActivity.d.ts +25 -0
  208. package/web/blocks/Config/Config.d.ts +60 -0
  209. package/web/blocks/Config/assertions.d.ts +5 -0
  210. package/web/blocks/Config/computed-properties.d.ts +24 -0
  211. package/web/blocks/Config/computed-properties.test.d.ts +1 -0
  212. package/web/blocks/Config/initialConfig.d.ts +6 -0
  213. package/web/blocks/Config/normalizeConfigValue.d.ts +2 -0
  214. package/web/blocks/Config/validatorsType.d.ts +18 -0
  215. package/web/blocks/Copyright/Copyright.d.ts +10 -0
  216. package/web/blocks/DropArea/DropArea.d.ts +47 -0
  217. package/web/blocks/DropArea/addDropzone.d.ts +17 -0
  218. package/web/blocks/DropArea/getDropItems.d.ts +12 -0
  219. package/web/blocks/ExternalSource/ExternalSource.d.ts +45 -0
  220. package/web/blocks/ExternalSource/MessageBridge.d.ts +11 -0
  221. package/web/blocks/ExternalSource/buildThemeDefinition.d.ts +4 -0
  222. package/web/blocks/ExternalSource/query-string.d.ts +1 -0
  223. package/web/blocks/ExternalSource/types.d.ts +105 -0
  224. package/web/blocks/FileItem/FileItem.d.ts +50 -0
  225. package/web/blocks/FileItem/FileItemConfig.d.ts +10 -0
  226. package/web/blocks/FormInput/FormInput.d.ts +18 -0
  227. package/web/blocks/Icon/Icon.d.ts +19 -0
  228. package/web/blocks/Img/Img.d.ts +14 -0
  229. package/web/blocks/Img/ImgBase.d.ts +29 -0
  230. package/web/blocks/Img/ImgConfig.d.ts +28 -0
  231. package/web/blocks/Img/configurations.d.ts +11 -0
  232. package/web/blocks/Img/props-map.d.ts +28 -0
  233. package/web/blocks/Img/utils/parseObjectToString.d.ts +2 -0
  234. package/web/blocks/Modal/Modal.d.ts +34 -0
  235. package/web/blocks/PluginActivityRenderer/PluginActivityRenderer.d.ts +32 -0
  236. package/web/blocks/PluginActivityRenderer/index.d.ts +1 -0
  237. package/web/blocks/ProgressBar/ProgressBar.d.ts +21 -0
  238. package/web/blocks/ProgressBarCommon/ProgressBarCommon.d.ts +17 -0
  239. package/web/blocks/Select/Select.d.ts +18 -0
  240. package/web/blocks/SimpleBtn/SimpleBtn.d.ts +15 -0
  241. package/web/blocks/SourceBtn/SourceBtn.d.ts +23 -0
  242. package/web/blocks/SourceList/SourceList.d.ts +24 -0
  243. package/web/blocks/Spinner/Spinner.d.ts +9 -0
  244. package/web/blocks/StartFrom/StartFrom.d.ts +12 -0
  245. package/web/blocks/Thumb/Thumb.d.ts +35 -0
  246. package/web/blocks/UploadCtxProvider/EventEmitter.d.ts +70 -0
  247. package/web/blocks/UploadCtxProvider/UploadCtxProvider.d.ts +44 -0
  248. package/web/blocks/UploadList/UploadList.d.ts +39 -0
  249. package/web/blocks/UrlSource/UrlSource.d.ts +14 -0
  250. package/web/blocks/svg-backgrounds/svg-backgrounds.d.ts +3 -0
  251. package/web/blocks/themes/uc-basic/svg-sprite.d.ts +2 -0
  252. package/web/cameraPlugin-DeedXMWV.js +8 -0
  253. package/web/cameraPlugin-Duy1QwjB.js +8 -0
  254. package/web/cameraPlugin-QS9SUOtO.js +8 -0
  255. package/web/cameraPlugin-bq8ggY04.js +8 -0
  256. package/web/cameraPlugin-cel9YgP_.js +8 -0
  257. package/web/cloud-image-editor-8DrVRZ7E.js +12 -0
  258. package/web/cloud-image-editor-BX50EK1U.js +12 -0
  259. package/web/cloud-image-editor-DSW3oWq-.js +12 -0
  260. package/web/cloud-image-editor-DuI2Lx4M.js +12 -0
  261. package/web/cloudImageEditorPlugin-5my6aD36.js +8 -0
  262. package/web/cloudImageEditorPlugin-Bk19DmJv.js +8 -0
  263. package/web/cloudImageEditorPlugin-CcdnmtBW.js +8 -0
  264. package/web/cloudImageEditorPlugin-DQJmDl03.js +8 -0
  265. package/web/cloudImageEditorPlugin-kojghfqw.js +8 -0
  266. package/web/constants-BCfCF0cJ.js +4025 -0
  267. package/web/core.d.ts +42 -0
  268. package/web/env.d.ts +2 -0
  269. package/web/externalSourcesPlugin-BTeRm5C0.js +8 -0
  270. package/web/externalSourcesPlugin-BXgVeojg.js +8 -0
  271. package/web/externalSourcesPlugin-BgLpuIK9.js +8 -0
  272. package/web/externalSourcesPlugin-DMc9zs4T.js +8 -0
  273. package/web/externalSourcesPlugin-Dm9vnTBv.js +8 -0
  274. package/web/file-uploader.iife.min.js +697 -0
  275. package/web/file-uploader.min.js +1859 -0
  276. package/web/imageShrinkPlugin-BdHgEGZH.js +8 -0
  277. package/web/imageShrinkPlugin-BjkMGfvT.js +8 -0
  278. package/web/imageShrinkPlugin-CCkGHL2w.js +8 -0
  279. package/web/imageShrinkPlugin-D4WjaRGo.js +8 -0
  280. package/web/imageShrinkPlugin-DqYGutVx.js +8 -0
  281. package/web/index.d.ts +42 -0
  282. package/web/instagramPlugin-BTMz0K2a.js +8 -0
  283. package/web/instagramPlugin-BbIKgTH7.js +8 -0
  284. package/web/instagramPlugin-CQQhsEJa.js +8 -0
  285. package/web/instagramPlugin-Cm7lWKae.js +8 -0
  286. package/web/instagramPlugin-DcclxM_d.js +8 -0
  287. package/web/lit/BaseComponent.d.ts +12 -0
  288. package/web/lit/Constructor.d.ts +1 -0
  289. package/web/lit/CssDataMixin.d.ts +7 -0
  290. package/web/lit/LightDomMixin.d.ts +8 -0
  291. package/web/lit/LitActivityBlock.d.ts +53 -0
  292. package/web/lit/LitBlock.d.ts +83 -0
  293. package/web/lit/LitSolutionBlock.d.ts +21 -0
  294. package/web/lit/LitUploaderBlock.d.ts +53 -0
  295. package/web/lit/PubSubCompat.d.ts +18 -0
  296. package/web/lit/RegisterableElementMixin.d.ts +7 -0
  297. package/web/lit/SharedState.d.ts +119 -0
  298. package/web/lit/SymbioteCompatMixin.d.ts +40 -0
  299. package/web/lit/TestModeController.d.ts +16 -0
  300. package/web/lit/Uid.d.ts +3 -0
  301. package/web/lit/activity-constants.d.ts +11 -0
  302. package/web/lit/createDebugPrinter.d.ts +3 -0
  303. package/web/lit/findBlockInCtx.d.ts +3 -0
  304. package/web/lit/getOutputData.d.ts +2 -0
  305. package/web/lit/hasBlockInCtx.d.ts +3 -0
  306. package/web/lit/l10n.d.ts +5 -0
  307. package/web/lit/parseCssPropertyValue.d.ts +1 -0
  308. package/web/lit/shared-instances.d.ts +65 -0
  309. package/web/locales/file-uploader/ar.d.ts +137 -0
  310. package/web/locales/file-uploader/az.d.ts +129 -0
  311. package/web/locales/file-uploader/ca.d.ts +131 -0
  312. package/web/locales/file-uploader/cs.d.ts +133 -0
  313. package/web/locales/file-uploader/da.d.ts +129 -0
  314. package/web/locales/file-uploader/de.d.ts +129 -0
  315. package/web/locales/file-uploader/el.d.ts +129 -0
  316. package/web/locales/file-uploader/en.d.ts +129 -0
  317. package/web/locales/file-uploader/es.d.ts +131 -0
  318. package/web/locales/file-uploader/et.d.ts +129 -0
  319. package/web/locales/file-uploader/fi.d.ts +129 -0
  320. package/web/locales/file-uploader/fr.d.ts +131 -0
  321. package/web/locales/file-uploader/he.d.ts +131 -0
  322. package/web/locales/file-uploader/hy.d.ts +129 -0
  323. package/web/locales/file-uploader/is.d.ts +129 -0
  324. package/web/locales/file-uploader/it.d.ts +131 -0
  325. package/web/locales/file-uploader/ja.d.ts +129 -0
  326. package/web/locales/file-uploader/ka.d.ts +129 -0
  327. package/web/locales/file-uploader/kk.d.ts +129 -0
  328. package/web/locales/file-uploader/ko.d.ts +129 -0
  329. package/web/locales/file-uploader/lv.d.ts +131 -0
  330. package/web/locales/file-uploader/nb.d.ts +129 -0
  331. package/web/locales/file-uploader/nl.d.ts +129 -0
  332. package/web/locales/file-uploader/pl.d.ts +133 -0
  333. package/web/locales/file-uploader/pt.d.ts +131 -0
  334. package/web/locales/file-uploader/ro.d.ts +131 -0
  335. package/web/locales/file-uploader/ru.d.ts +133 -0
  336. package/web/locales/file-uploader/sk.d.ts +133 -0
  337. package/web/locales/file-uploader/sr.d.ts +131 -0
  338. package/web/locales/file-uploader/sv.d.ts +129 -0
  339. package/web/locales/file-uploader/tr.d.ts +129 -0
  340. package/web/locales/file-uploader/uk.d.ts +133 -0
  341. package/web/locales/file-uploader/vi.d.ts +129 -0
  342. package/web/locales/file-uploader/zh-TW.d.ts +129 -0
  343. package/web/locales/file-uploader/zh.d.ts +129 -0
  344. package/web/plugins/cameraPlugin.d.ts +2 -0
  345. package/web/plugins/cloudImageEditorPlugin.d.ts +2 -0
  346. package/web/plugins/externalSourcesPlugin.d.ts +2 -0
  347. package/web/plugins/imageShrinkPlugin.d.ts +2 -0
  348. package/web/plugins/instagramPlugin.d.ts +2 -0
  349. package/web/plugins/unsplashPlugin.d.ts +16 -0
  350. package/web/plugins/urlSourcePlugin.d.ts +2 -0
  351. package/web/plugins-Bt7FXHKx.js +562 -0
  352. package/web/plugins-CaaolyMk.js +562 -0
  353. package/web/plugins-Cjgw5oWg.js +562 -0
  354. package/web/plugins-CzNtrVQB.js +562 -0
  355. package/web/plugins-DS0hIs2V.js +563 -0
  356. package/web/ref-BOnG19ns.js +4040 -0
  357. package/web/ref-BejJFG7m.js +4040 -0
  358. package/web/ref-DcRg7zo9.js +4040 -0
  359. package/web/ref-ZWPcLQB9.js +4040 -0
  360. package/web/solutions/adaptive-image/index.d.ts +2 -0
  361. package/web/solutions/cloud-image-editor/CloudImageEditor.d.ts +11 -0
  362. package/web/solutions/cloud-image-editor/index.d.ts +5 -0
  363. package/web/solutions/file-uploader/inline/FileUploaderInline.d.ts +20 -0
  364. package/web/solutions/file-uploader/inline/index.d.ts +1 -0
  365. package/web/solutions/file-uploader/minimal/FileUploaderMinimal.d.ts +23 -0
  366. package/web/solutions/file-uploader/minimal/index.d.ts +1 -0
  367. package/web/solutions/file-uploader/regular/FileUploaderRegular.d.ts +17 -0
  368. package/web/solutions/file-uploader/regular/index.d.ts +1 -0
  369. package/web/style-map-BmZdux7T.js +37 -0
  370. package/web/style-map-CZ6fSV6e.js +37 -0
  371. package/web/style-map-Dk7mLCrB.js +37 -0
  372. package/web/style-map-HkHnu9oA.js +37 -0
  373. package/web/style-map-tw1yUEaj.js +37 -0
  374. package/web/types/dom.d.ts +1 -0
  375. package/web/types/events.d.ts +4 -0
  376. package/web/types/exported.d.ts +492 -0
  377. package/web/types/index.d.ts +5 -0
  378. package/web/uc-basic.layered.min.css +6046 -0
  379. package/web/uc-basic.min.css +5487 -0
  380. package/web/uc-cloud-image-editor.layered.min.css +1884 -0
  381. package/web/uc-cloud-image-editor.min.css +1675 -0
  382. package/web/uc-cloud-image-editor.min.js +457 -0
  383. package/web/uc-file-uploader-inline.layered.min.css +4352 -0
  384. package/web/uc-file-uploader-inline.min.css +3836 -0
  385. package/web/uc-file-uploader-inline.min.js +1859 -0
  386. package/web/uc-file-uploader-minimal.layered.min.css +4352 -0
  387. package/web/uc-file-uploader-minimal.min.css +3836 -0
  388. package/web/uc-file-uploader-minimal.min.js +1859 -0
  389. package/web/uc-file-uploader-regular.layered.min.css +4352 -0
  390. package/web/uc-file-uploader-regular.min.css +3836 -0
  391. package/web/uc-file-uploader-regular.min.js +1859 -0
  392. package/web/uc-img.min.js +895 -0
  393. package/web/urlSourcePlugin-9lhcr02f.js +8 -0
  394. package/web/urlSourcePlugin-C-sLGhGb.js +8 -0
  395. package/web/urlSourcePlugin-DNXDpnRD.js +8 -0
  396. package/web/urlSourcePlugin-JnD0cnxb.js +8 -0
  397. package/web/urlSourcePlugin-hcMU2K6T.js +8 -0
  398. package/web/utils/UID.d.ts +5 -0
  399. package/web/utils/UID.test.d.ts +1 -0
  400. package/web/utils/UploadSource.d.ts +37 -0
  401. package/web/utils/WindowHeightTracker.d.ts +9 -0
  402. package/web/utils/abilities.d.ts +1 -0
  403. package/web/utils/applyStyles.d.ts +1 -0
  404. package/web/utils/browser-info.d.ts +12 -0
  405. package/web/utils/browser-info.test.d.ts +1 -0
  406. package/web/utils/cdn-utils.d.ts +53 -0
  407. package/web/utils/cdn-utils.test.d.ts +1 -0
  408. package/web/utils/comma-separated.d.ts +2 -0
  409. package/web/utils/debounce.d.ts +3 -0
  410. package/web/utils/delay.d.ts +1 -0
  411. package/web/utils/fileTypes.d.ts +11 -0
  412. package/web/utils/fileTypes.test.d.ts +1 -0
  413. package/web/utils/get-top-level-origin.d.ts +1 -0
  414. package/web/utils/get-top-level-origin.test.d.ts +1 -0
  415. package/web/utils/getLocaleDirection.d.ts +1 -0
  416. package/web/utils/getPluralForm.d.ts +1 -0
  417. package/web/utils/getPluralForm.test.d.ts +1 -0
  418. package/web/utils/isPromiseLike.d.ts +1 -0
  419. package/web/utils/isPromiseLike.test.d.ts +1 -0
  420. package/web/utils/isSecureTokenExpired.d.ts +8 -0
  421. package/web/utils/isSecureTokenExpired.test.d.ts +1 -0
  422. package/web/utils/memoize.d.ts +1 -0
  423. package/web/utils/memoize.test.d.ts +1 -0
  424. package/web/utils/mixinClass.d.ts +8 -0
  425. package/web/utils/parseCdnUrl.d.ts +11 -0
  426. package/web/utils/parseCdnUrl.test.d.ts +1 -0
  427. package/web/utils/parseShrink.d.ts +7 -0
  428. package/web/utils/parseShrink.test.d.ts +1 -0
  429. package/web/utils/preloadImage.d.ts +10 -0
  430. package/web/utils/prettyBytes.d.ts +11 -0
  431. package/web/utils/prettyBytes.test.d.ts +1 -0
  432. package/web/utils/resizeImage.d.ts +1 -0
  433. package/web/utils/stringToArray.d.ts +1 -0
  434. package/web/utils/stringToArray.test.d.ts +1 -0
  435. package/web/utils/template-utils.d.ts +16 -0
  436. package/web/utils/template-utils.test.d.ts +1 -0
  437. package/web/utils/throttle.d.ts +3 -0
  438. package/web/utils/toKebabCase.d.ts +2 -0
  439. package/web/utils/toKebabCase.test.d.ts +1 -0
  440. package/web/utils/transparentPixelSrc.d.ts +1 -0
  441. package/web/utils/uniqueArray.d.ts +1 -0
  442. package/web/utils/uniqueArray.test.d.ts +1 -0
  443. package/web/utils/userAgent.d.ts +2 -0
  444. package/web/utils/validators/collection/index.d.ts +2 -0
  445. package/web/utils/validators/collection/validateCollectionUploadError.d.ts +2 -0
  446. package/web/utils/validators/collection/validateMultiple.d.ts +2 -0
  447. package/web/utils/validators/file/index.d.ts +4 -0
  448. package/web/utils/validators/file/validateFileType.d.ts +2 -0
  449. package/web/utils/validators/file/validateIsImage.d.ts +2 -0
  450. package/web/utils/validators/file/validateMaxSizeLimit.d.ts +2 -0
  451. package/web/utils/validators/file/validateUploadError.d.ts +2 -0
  452. package/web/utils/warnOnce.d.ts +1 -0
  453. package/web/utils/wildcardRegexp.d.ts +1 -0
  454. package/web/utils/wildcardRegexp.test.d.ts +1 -0
  455. package/web/utils/withResolvers.d.ts +5 -0
  456. package/web/utils/withResolvers.test.d.ts +1 -0
  457. package/dist/CameraSource-px4BzEMI.js +0 -9
  458. package/dist/ExternalSource-CR5DG0Jv.js +0 -9
  459. package/dist/UrlSource-BxVL9Pve.js +0 -9
  460. package/dist/cameraPlugin-dGash48Q.js +0 -8
  461. package/dist/cloudImageEditorPlugin-2EU0Pm_j.js +0 -8
  462. package/dist/env-B1nfXy9i.js +0 -8
  463. package/dist/externalSourcesPlugin-DKQqk3AC.js +0 -8
  464. package/dist/imageShrinkPlugin-DAx8eRen.js +0 -8
  465. package/dist/instagramPlugin-k67tMAo3.js +0 -8
  466. package/dist/urlSourcePlugin-9xdB7Pvw.js +0 -8
@@ -0,0 +1,1380 @@
1
+
2
+ /* TODO: we should use basic theme there */:where([uc-wgt-common]) {
3
+ /* Font */
4
+ --uc-font-family: system-ui;
5
+ --uc-font-size: 14px;
6
+ --uc-line-height: normal;
7
+ --uc-simple-btn-font-family: system-ui;
8
+ --uc-simple-btn-font-size: 14px;
9
+
10
+ /* Sizes */
11
+ --uc-button-size: 32px;
12
+ --uc-preview-size: 32px;
13
+ --uc-padding: 10px;
14
+ --uc-radius: 8px;
15
+ --uc-transition: 0.2s ease;
16
+ --uc-dialog-width: 430px;
17
+ --uc-dialog-max-width: 920px;
18
+ --uc-dialog-max-height: 675px;
19
+ --uc-simple-btn-padding: 7px 14px;
20
+
21
+ --uc-grid-col: 3;
22
+ --uc-grid-preview-image-height: auto;
23
+ --uc-grid-gap: calc(var(--uc-padding) / 2);
24
+ --uc-grid-aspect-ratio: 1 / 1;
25
+
26
+ /* Default colors, in case of media query failure */
27
+ --uc-background: var(--uc-background-light);
28
+ --uc-foreground: var(--uc-foreground-light);
29
+ --uc-primary: var(--uc-primary-light);
30
+ --uc-primary-hover: var(--uc-primary-hover-light);
31
+ --uc-primary-transparent: var(--uc-primary-transparent-light);
32
+ --uc-primary-foreground: var(--uc-primary-foreground-light);
33
+ --uc-secondary: var(--uc-secondary-light);
34
+ --uc-secondary-hover: var(--uc-secondary-hover-light);
35
+ --uc-secondary-foreground: var(--uc-secondary-foreground-light);
36
+ --uc-muted: var(--uc-muted-light);
37
+ --uc-muted-foreground: var(--uc-muted-foreground-light);
38
+ --uc-destructive: var(--uc-destructive-light);
39
+ --uc-destructive-foreground: var(--uc-destructive-foreground-light);
40
+ --uc-border: var(--uc-border-light);
41
+ --uc-dialog-shadow: var(--uc-dialog-shadow-light);
42
+ --uc-simple-btn: var(--uc-simple-btn-light);
43
+ --uc-simple-btn-hover: var(--uc-simple-btn-hover-light);
44
+ --uc-simple-btn-foreground: var(--uc-simple-btn-foreground-light);
45
+ }@supports not (color: oklch(0% 0 0)) {
46
+ :where([uc-wgt-common]) {
47
+ /* Light colors RGB fallback */
48
+ --uc-primary-rgb-light: 23 75 215;
49
+ --uc-primary-light: rgb(var(--uc-primary-rgb-light));
50
+ --uc-primary-hover-light: rgb(var(--uc-primary-rgb-light) / 90%);
51
+ --uc-primary-transparent-light: rgb(var(--uc-primary-rgb-light) / 10%);
52
+ --uc-background-light: rgb(255 255 255);
53
+ --uc-foreground-light: rgb(24 24 24);
54
+ --uc-primary-foreground-light: #fff;
55
+ --uc-secondary-light: rgb(24 24 24 / 5%);
56
+ --uc-secondary-hover-light: rgb(24 24 24 / 8%);
57
+ --uc-secondary-foreground-light: rgb(24 24 24);
58
+ --uc-muted-light: rgb(245 245 245);
59
+ --uc-muted-foreground-light: rgb(113 113 113);
60
+ --uc-destructive-light: rgb(232 19 20 / 5%);
61
+ --uc-destructive-foreground-light: rgb(232 19 20);
62
+ --uc-border-light: rgb(228 228 232);
63
+ --uc-dialog-shadow-light: 0px 6px 20px rgb(0 0 0 / 10%);
64
+ --uc-simple-btn-light: rgb(235 235 235);
65
+ --uc-simple-btn-hover-light: rgb(228 228 228);
66
+ --uc-simple-btn-foreground-light: rgb(24 24 24);
67
+
68
+ /* Dark colors RGB fallback */
69
+ --uc-primary-rgb-dark: 87 154 255;
70
+ --uc-primary-dark: rgb(var(--uc-primary-rgb-dark));
71
+ --uc-primary-hover-dark: rgb(var(--uc-primary-rgb-dark) / 90%);
72
+ --uc-primary-transparent-dark: rgb(var(--uc-primary-rgb-dark) / 7%);
73
+ --uc-background-dark: rgb(27 27 27);
74
+ --uc-foreground-dark: rgb(225 225 225);
75
+ --uc-primary-foreground-dark: rgb(0 0 0);
76
+ --uc-secondary-dark: rgb(225 225 225 / 7%);
77
+ --uc-secondary-hover-dark: rgb(225 225 225 / 10%);
78
+ --uc-secondary-foreground-dark: rgb(225 225 225);
79
+ --uc-muted-dark: rgb(36 36 36);
80
+ --uc-muted-foreground-dark: rgb(152 152 152);
81
+ --uc-destructive-dark: rgb(244 90 79 / 10%);
82
+ --uc-destructive-foreground-dark: rgb(244 90 79);
83
+ --uc-border-dark: rgb(61 61 61);
84
+ --uc-dialog-shadow-dark: 0px 6px 20px rgb(0 0 0 / 25%);
85
+ --uc-simple-btn-dark: rgb(36 36 36);
86
+ --uc-simple-btn-hover-dark: rgb(43 43 43);
87
+ --uc-simple-btn-foreground-dark: rgb(255 255 255);
88
+ }
89
+ }@supports (color: oklch(0% 0 0)) {
90
+ :where([uc-wgt-common]) {
91
+ /* Light colors OKLCH */
92
+ --uc-primary-oklch-light: 47% 0.22 264; /* Quick customization: change this value to your brand color */
93
+ --uc-primary-light: oklch(var(--uc-primary-oklch-light));
94
+ --uc-primary-hover-light: oklch(var(--uc-primary-oklch-light) / 90%);
95
+ --uc-primary-transparent-light: oklch(var(--uc-primary-oklch-light) / 7%);
96
+ --uc-background-light: oklch(100% 0 0);
97
+ --uc-foreground-light: oklch(21% 0 0);
98
+ --uc-primary-foreground-light: oklch(100% 0 0);
99
+ --uc-secondary-light: oklch(21% 0 0 / 0.05);
100
+ --uc-secondary-hover-light: oklch(21% 0 0 / 0.08);
101
+ --uc-secondary-foreground-light: oklch(21% 0 0);
102
+ --uc-muted-light: oklch(97% 0 0);
103
+ --uc-muted-foreground-light: oklch(40% 0 0);
104
+ --uc-destructive-light: oklch(59% 0.235 28.5 / 0.05);
105
+ --uc-destructive-foreground-light: oklch(59% 0.235 28.5);
106
+ --uc-border-light: oklch(92% 0 0);
107
+ --uc-dialog-shadow-light: 0px 6px 20px oklch(0% 0 0 / 0.1);
108
+ --uc-simple-btn-light: oklch(94% 0 0);
109
+ --uc-simple-btn-hover-light: oklch(92% 0 0);
110
+ --uc-simple-btn-foreground-light: oklch(20% 0 0);
111
+
112
+ /* Dark colors OKLCH */
113
+ --uc-primary-oklch-dark: 69% 0.1768 258.4; /* Quick customization: change this value to your brand color */
114
+ --uc-primary-dark: oklch(var(--uc-primary-oklch-dark));
115
+ --uc-primary-hover-dark: oklch(var(--uc-primary-oklch-dark) / 90%);
116
+ --uc-primary-transparent-dark: oklch(var(--uc-primary-oklch-dark) / 7%);
117
+ --uc-background-dark: oklch(22% 0 0);
118
+ --uc-foreground-dark: oklch(91% 0 0);
119
+ --uc-primary-foreground-dark: oklch(0% 0 0);
120
+ --uc-secondary-dark: oklch(91% 0 0 / 0.07);
121
+ --uc-secondary-hover-dark: oklch(91% 0 0 / 0.1);
122
+ --uc-secondary-foreground-dark: oklch(91% 0 0);
123
+ --uc-muted-dark: oklch(26% 0 0);
124
+ --uc-muted-foreground-dark: oklch(68% 0 0);
125
+ --uc-destructive-dark: oklch(67% 0.191 27.5 / 0.1);
126
+ --uc-destructive-foreground-dark: oklch(67% 0.191 27.5);
127
+ --uc-border-dark: oklch(36% 0 0);
128
+ --uc-dialog-shadow-dark: 0px 6px 20px oklch(0% 0 0 / 0.25);
129
+ --uc-simple-btn-dark: oklch(26% 0 0);
130
+ --uc-simple-btn-hover-dark: oklch(29% 0 0);
131
+ --uc-simple-btn-foreground-dark: oklch(100% 0 0);
132
+ }
133
+ }@media only screen and (max-height: 600px) {
134
+ :where([uc-wgt-common]) {
135
+ --uc-dialog-max-height: 100%;
136
+ }
137
+ }@media only screen and (max-width: 680px) {
138
+ :where([uc-wgt-common]) {
139
+ --uc-grid-col: 2;
140
+ }
141
+ }@media only screen and (max-width: 430px) {
142
+ :where([uc-wgt-common]) {
143
+ --uc-dialog-max-width: 100vw;
144
+ --uc-dialog-max-height: var(--uploadcare-blocks-window-height);
145
+ --uc-grid-col: 1;
146
+ }
147
+ }@media (prefers-color-scheme: light) {
148
+ :where([uc-wgt-common]) {
149
+ --uc-background: var(--uc-background-light);
150
+ --uc-foreground: var(--uc-foreground-light);
151
+ --uc-primary: var(--uc-primary-light);
152
+ --uc-primary-hover: var(--uc-primary-hover-light);
153
+ --uc-primary-transparent: var(--uc-primary-transparent-light);
154
+ --uc-primary-foreground: var(--uc-primary-foreground-light);
155
+ --uc-secondary: var(--uc-secondary-light);
156
+ --uc-secondary-hover: var(--uc-secondary-hover-light);
157
+ --uc-secondary-foreground: var(--uc-secondary-foreground-light);
158
+ --uc-muted: var(--uc-muted-light);
159
+ --uc-muted-foreground: var(--uc-muted-foreground-light);
160
+ --uc-destructive: var(--uc-destructive-light);
161
+ --uc-destructive-foreground: var(--uc-destructive-foreground-light);
162
+ --uc-border: var(--uc-border-light);
163
+ --uc-dialog-shadow: var(--uc-dialog-shadow-light);
164
+ --uc-simple-btn: var(--uc-simple-btn-light);
165
+ --uc-simple-btn-hover: var(--uc-simple-btn-hover-light);
166
+ --uc-simple-btn-foreground: var(--uc-simple-btn-foreground-light);
167
+ }
168
+ }@media (prefers-color-scheme: dark) {
169
+ :where([uc-wgt-common]) {
170
+ --uc-background: var(--uc-background-dark);
171
+ --uc-foreground: var(--uc-foreground-dark);
172
+ --uc-primary: var(--uc-primary-dark);
173
+ --uc-primary-hover: var(--uc-primary-hover-dark);
174
+ --uc-primary-transparent: var(--uc-primary-transparent-dark);
175
+ --uc-primary-foreground: var(--uc-primary-foreground-dark);
176
+ --uc-secondary: var(--uc-secondary-dark);
177
+ --uc-secondary-hover: var(--uc-secondary-hover-dark);
178
+ --uc-secondary-foreground: var(--uc-secondary-foreground-dark);
179
+ --uc-muted: var(--uc-muted-dark);
180
+ --uc-muted-foreground: var(--uc-muted-foreground-dark);
181
+ --uc-destructive: var(--uc-destructive-dark);
182
+ --uc-destructive-foreground: var(--uc-destructive-foreground-dark);
183
+ --uc-border: var(--uc-border-dark);
184
+ --uc-dialog-shadow: var(--uc-dialog-shadow-dark);
185
+ --uc-simple-btn: var(--uc-simple-btn-dark);
186
+ --uc-simple-btn-hover: var(--uc-simple-btn-hover-dark);
187
+ --uc-simple-btn-foreground: var(--uc-simple-btn-foreground-dark);
188
+ }
189
+ }:where(.uc-light) {
190
+ --uc-background: var(--uc-background-light);
191
+ --uc-foreground: var(--uc-foreground-light);
192
+ --uc-primary: var(--uc-primary-light);
193
+ --uc-primary-hover: var(--uc-primary-hover-light);
194
+ --uc-primary-transparent: var(--uc-primary-transparent-light);
195
+ --uc-primary-foreground: var(--uc-primary-foreground-light);
196
+ --uc-secondary: var(--uc-secondary-light);
197
+ --uc-secondary-hover: var(--uc-secondary-hover-light);
198
+ --uc-secondary-foreground: var(--uc-secondary-foreground-light);
199
+ --uc-muted: var(--uc-muted-light);
200
+ --uc-muted-foreground: var(--uc-muted-foreground-light);
201
+ --uc-destructive: var(--uc-destructive-light);
202
+ --uc-destructive-foreground: var(--uc-destructive-foreground-light);
203
+ --uc-border: var(--uc-border-light);
204
+ --uc-dialog-shadow: var(--uc-dialog-shadow-light);
205
+ --uc-simple-btn: var(--uc-simple-btn-light);
206
+ --uc-simple-btn-hover: var(--uc-simple-btn-hover-light);
207
+ --uc-simple-btn-foreground: var(--uc-simple-btn-foreground-light);
208
+ }:where(.uc-dark) {
209
+ --uc-background: var(--uc-background-dark);
210
+ --uc-foreground: var(--uc-foreground-dark);
211
+ --uc-primary: var(--uc-primary-dark);
212
+ --uc-primary-hover: var(--uc-primary-hover-dark);
213
+ --uc-primary-transparent: var(--uc-primary-transparent-dark);
214
+ --uc-primary-foreground: var(--uc-primary-foreground-dark);
215
+ --uc-secondary: var(--uc-secondary-dark);
216
+ --uc-secondary-hover: var(--uc-secondary-hover-dark);
217
+ --uc-secondary-foreground: var(--uc-secondary-foreground-dark);
218
+ --uc-muted: var(--uc-muted-dark);
219
+ --uc-muted-foreground: var(--uc-muted-foreground-dark);
220
+ --uc-destructive: var(--uc-destructive-dark);
221
+ --uc-destructive-foreground: var(--uc-destructive-foreground-dark);
222
+ --uc-border: var(--uc-border-dark);
223
+ --uc-dialog-shadow: var(--uc-dialog-shadow-dark);
224
+ --uc-simple-btn: var(--uc-simple-btn-dark);
225
+ --uc-simple-btn-hover: var(--uc-simple-btn-hover-dark);
226
+ --uc-simple-btn-foreground: var(--uc-simple-btn-foreground-dark);
227
+ }:where(.uc-purple) {
228
+ --uc-primary-oklch-light: 47% 0.22 300;
229
+ --uc-primary-oklch-dark: 69% 0.1768 300;
230
+ }:where(.uc-red) {
231
+ --uc-primary-oklch-light: 47% 0.21 21;
232
+ --uc-primary-oklch-dark: 71% 0.1768 21;
233
+ }:where(.uc-orange) {
234
+ --uc-primary-oklch-light: 47% 0.1376 51.88;
235
+ --uc-primary-oklch-dark: 69% 0.1768 51.88;
236
+ }:where(.uc-green) {
237
+ --uc-primary-oklch-light: 45% 0.14 130;
238
+ --uc-primary-oklch-dark: 69% 0.1768 130;
239
+ }:where(.uc-turquoise) {
240
+ --uc-primary-oklch-light: 45% 0.0854 174;
241
+ --uc-primary-oklch-dark: 69% 0.1768 174;
242
+ }:where(.uc-gray) {
243
+ --uc-primary-oklch-light: 10% 0 0;
244
+ --uc-primary-oklch-dark: 97% 0 0;
245
+ }:where(.uc-contrast) {
246
+ --uc-border-light: oklch(50% 0 0);
247
+ --uc-border-dark: oklch(50% 0 0);
248
+
249
+ --uc-muted-light: oklch(98% 0 0);
250
+ --uc-muted-dark: oklch(16% 0 0);
251
+
252
+ --uc-muted-foreground-light: oklch(20% 0 0);
253
+ --uc-muted-foreground-dark: oklch(80% 0 0);
254
+
255
+ --uc-background-light: oklch(100% 0 0);
256
+ --uc-foreground-light: oklch(0% 0 0);
257
+
258
+ --uc-background-dark: oklch(10% 0 0);
259
+ --uc-foreground-dark: oklch(100% 0 0);
260
+ }
261
+ /** biome-ignore-all lint/complexity/noImportantStyles: TODO: Refactor styles to get rid of !important rules */
262
+ /* TODO: we should use basic theme there */
263
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) {
264
+ --color-primary-accent: var(--uc-primary);
265
+ --color-text-base: var(--uc-foreground);
266
+ --color-text-accent-contrast: var(--uc-background);
267
+ --color-fill-contrast: var(--uc-background);
268
+ --color-modal-backdrop: oklch(0% 0 0 / 0.1);
269
+ --color-image-background: var(--uc-muted);
270
+ --color-focus-ring: var(--color-primary-accent);
271
+ --color-crop-guides: var(--uc-foreground);
272
+
273
+ --font-size-ui: var(--uc-font-size);
274
+
275
+ --size-touch-area: var(--uc-button-size);
276
+ --size-panel-heading: calc(var(--uc-button-size) + var(--uc-padding) * 2);
277
+ --size-ui-min-width: 130px;
278
+ --size-line-width: 1px;
279
+ --size-modal-width: 650px;
280
+ --size-icon: calc(var(--uc-button-size) / 2);
281
+
282
+ /* TODO: remove icon size overrides */
283
+
284
+ --border-radius-editor: var(--uc-radius);
285
+ --border-radius-thumb: var(--uc-radius);
286
+ --border-radius-ui: var(--uc-radius);
287
+ --border-radius-base: var(--uc-radius);
288
+
289
+ --cldtr-gap-min: 5px;
290
+ --cldtr-gap-mid-1: 10px;
291
+ --cldtr-gap-mid-2: 15px;
292
+ --cldtr-gap-max: 20px;
293
+
294
+ --transition-duration-2: var(--transition-duration-all, 0.2s);
295
+ --transition-duration-3: var(--transition-duration-all, 0.3s);
296
+ --transition-duration-4: var(--transition-duration-all, 0.4s);
297
+ --transition-duration-5: var(--transition-duration-all, 0.5s);
298
+
299
+ --modal-header-opacity: 1;
300
+ --modal-header-height: var(--size-panel-heading);
301
+ --modal-toolbar-height: var(--size-panel-heading);
302
+
303
+ --transparent-pixel: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=");
304
+
305
+ display: block;
306
+ width: 100%;
307
+ height: 100%;
308
+ max-height: 100%;
309
+ }
310
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) :is([can-handle-paste]:hover, [can-handle-paste]:focus) {
311
+ --can-handle-paste: "true";
312
+ }
313
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#)
314
+ :is([tabindex]:focus-visible, [tabindex]:hover, [with-effects]:focus-visible, [with-effects]:hover) {
315
+ --filter-effect: var(--hover-filter) !important;
316
+ --opacity-effect: var(--hover-opacity) !important;
317
+ --color-effect: var(--hover-color-rgb) !important;
318
+ --background-effect: var(--hover-background) !important;
319
+ }
320
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) :is([tabindex]:active, [with-effects]:active) {
321
+ --filter-effect: var(--down-filter) !important;
322
+ --opacity-effect: var(--down-opacity) !important;
323
+ --color-effect: var(--down-color-rgb) !important;
324
+ --background-effect: var(--down-background) !important;
325
+ }
326
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) :is([tabindex][active], [with-effects][active]) {
327
+ --filter-effect: var(--active-filter) !important;
328
+ --opacity-effect: var(--active-opacity) !important;
329
+ --color-effect: var(--active-color-rgb) !important;
330
+ --background-effect: var(--active-background) !important;
331
+ }
332
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) [hidden-scrollbar]::-webkit-scrollbar {
333
+ display: none;
334
+ }
335
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) [hidden-scrollbar] {
336
+ -ms-overflow-style: none;
337
+ scrollbar-width: none;
338
+ }
339
+ [uc-cloud-image-editor].uc-editor_ON:not(#\#):not(#\#):not(#\#) {
340
+ --modal-header-opacity: 0;
341
+ --modal-header-height: 0px;
342
+ --modal-toolbar-height: calc(var(--size-panel-heading) * 2);
343
+ }
344
+ [uc-cloud-image-editor].uc-editor_OFF:not(#\#):not(#\#):not(#\#) {
345
+ --modal-header-opacity: 1;
346
+ --modal-header-height: var(--size-panel-heading);
347
+ --modal-toolbar-height: var(--size-panel-heading);
348
+ }
349
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper {
350
+ --l-min-img-height: var(--modal-toolbar-height);
351
+ --l-max-img-height: 100%;
352
+ --l-edit-button-width: 120px;
353
+ --l-toolbar-horizontal-padding: var(--cldtr-gap-mid-1);
354
+
355
+ position: relative;
356
+ display: grid;
357
+ grid-template-rows: minmax(var(--l-min-img-height), var(--l-max-img-height)) minmax(
358
+ var(--modal-toolbar-height),
359
+ auto
360
+ );
361
+ height: 100%;
362
+ overflow: hidden;
363
+ overflow-y: auto;
364
+ }
365
+ @media only screen and (max-width: 800px) {
366
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper {
367
+ --l-edit-button-width: 70px;
368
+ --l-toolbar-horizontal-padding: var(--cldtr-gap-min);
369
+ }
370
+ }
371
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-viewport {
372
+ display: flex;
373
+ align-items: center;
374
+ justify-content: center;
375
+ overflow: hidden;
376
+ }
377
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-viewport > .uc-image_container > .uc-image {
378
+ --viewer-image-opacity: 1;
379
+
380
+ position: absolute;
381
+ top: 0px;
382
+ left: 0px;
383
+ z-index: 10;
384
+ display: block;
385
+ box-sizing: border-box;
386
+ width: 100%;
387
+ height: 100%;
388
+ object-fit: scale-down;
389
+ background-color: var(--color-image-background);
390
+ transform: scale(1);
391
+ opacity: var(--viewer-image-opacity);
392
+ user-select: none;
393
+ pointer-events: auto;
394
+ }
395
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-viewport > .uc-image_container > .uc-image.uc-image_visible_viewer {
396
+ transition:
397
+ opacity var(--transition-duration-3) ease-in-out,
398
+ transform var(--transition-duration-4);
399
+ }
400
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-viewport > .uc-image_container > .uc-image.uc-image_hidden_to_cropper {
401
+ --viewer-image-opacity: 0;
402
+
403
+ background-image: var(--transparent-pixel);
404
+ transform: scale(1);
405
+ transition:
406
+ transform var(--transition-duration-4),
407
+ opacity var(--transition-duration-3) steps(1, jump-end);
408
+ pointer-events: none;
409
+ }
410
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-viewport > .uc-image_container > .uc-image.uc-image_hidden_effects {
411
+ --viewer-image-opacity: 0;
412
+
413
+ transform: scale(1);
414
+ transition:
415
+ opacity var(--transition-duration-3) cubic-bezier(0.5, 0, 1, 1),
416
+ transform var(--transition-duration-4);
417
+ pointer-events: none;
418
+ }
419
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-viewport > .uc-image_container {
420
+ position: relative;
421
+ display: block;
422
+ width: 100%;
423
+ height: 100%;
424
+ background-color: var(--color-image-background);
425
+ transition: var(--transition-duration-3);
426
+ }
427
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-toolbar {
428
+ position: relative;
429
+ transition: 0.3s;
430
+ }
431
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-toolbar > .uc-toolbar_content {
432
+ position: absolute;
433
+ bottom: 0px;
434
+ left: 0px;
435
+ box-sizing: border-box;
436
+ width: 100%;
437
+ height: var(--modal-toolbar-height);
438
+ min-height: var(--size-panel-heading);
439
+ background-color: var(--color-fill-contrast);
440
+ }
441
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-toolbar > .uc-toolbar_content.uc-toolbar_content__viewer {
442
+ display: flex;
443
+ align-items: center;
444
+ justify-content: space-between;
445
+ height: var(--size-panel-heading);
446
+ padding-right: var(--l-toolbar-horizontal-padding);
447
+ padding-left: var(--l-toolbar-horizontal-padding);
448
+ }
449
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-toolbar > .uc-toolbar_content.uc-toolbar_content__editor {
450
+ display: flex;
451
+ }
452
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-viewport > .uc-info_pan {
453
+ position: absolute;
454
+ user-select: none;
455
+ }
456
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-viewport > .uc-file_type_outer {
457
+ position: absolute;
458
+ z-index: 2;
459
+ display: flex;
460
+ max-width: 120px;
461
+ transform: translateX(-40px);
462
+ user-select: none;
463
+ }
464
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-viewport > .uc-file_type_outer > .uc-file_type {
465
+ padding: 4px 0.8em;
466
+ }
467
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-network_problems_splash {
468
+ position: absolute;
469
+ z-index: 999;
470
+ display: flex;
471
+ flex-direction: column;
472
+ width: 100%;
473
+ height: 100%;
474
+ background-color: var(--color-fill-contrast);
475
+ }
476
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-network_problems_splash > .uc-network_problems_content {
477
+ display: flex;
478
+ flex: 1;
479
+ flex-direction: column;
480
+ align-items: center;
481
+ justify-content: center;
482
+ }
483
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#)
484
+ > .uc-wrapper
485
+ > .uc-network_problems_splash
486
+ > .uc-network_problems_content
487
+ > .uc-network_problems_icon {
488
+ display: flex;
489
+ align-items: center;
490
+ justify-content: center;
491
+ width: 40px;
492
+ height: 40px;
493
+ color: var(--uc-foreground);
494
+ background-color: var(--uc-muted);
495
+ border-radius: 50%;
496
+ }
497
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#)
498
+ > .uc-wrapper
499
+ > .uc-network_problems_splash
500
+ > .uc-network_problems_content
501
+ > .uc-network_problems_text {
502
+ margin-top: var(--cldtr-gap-max);
503
+ font-size: var(--font-size-ui);
504
+ color: var(--uc-foreground);
505
+ }
506
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-network_problems_splash > .uc-network_problems_footer {
507
+ display: flex;
508
+ align-items: center;
509
+ justify-content: center;
510
+ height: var(--size-panel-heading);
511
+ }
512
+ uc-crop-frame:not(#\#):not(#\#):not(#\#) > .uc-svg {
513
+ position: absolute;
514
+ top: 0px;
515
+ left: 0px;
516
+ z-index: 2;
517
+ width: 100%;
518
+ height: 100%;
519
+ border-top-left-radius: var(--border-radius-base);
520
+ border-top-right-radius: var(--border-radius-base);
521
+ opacity: inherit;
522
+ transition: var(--transition-duration-3);
523
+ }
524
+ uc-crop-frame:not(#\#):not(#\#):not(#\#) > .uc-thumb {
525
+ --idle-color-rgb: var(--color-text-base);
526
+ --hover-color-rgb: var(--color-primary-accent);
527
+ --focus-color-rgb: var(--color-primary-accent);
528
+ --down-color-rgb: var(--color-primary-accent);
529
+ --color-effect: var(--idle-color-rgb);
530
+
531
+ color: var(--color-effect);
532
+ transition:
533
+ color var(--transition-duration-3),
534
+ opacity var(--transition-duration-3);
535
+ }
536
+ uc-crop-frame:not(#\#):not(#\#):not(#\#) .uc-thumb--visible {
537
+ opacity: 1;
538
+ pointer-events: auto;
539
+ }
540
+ uc-crop-frame:not(#\#):not(#\#):not(#\#) .uc-thumb--hidden {
541
+ opacity: 0;
542
+ pointer-events: none;
543
+ }
544
+ uc-crop-frame:not(#\#):not(#\#):not(#\#) .uc-guides {
545
+ transition: var(--transition-duration-3);
546
+ }
547
+ uc-crop-frame:not(#\#):not(#\#):not(#\#) .uc-guides--hidden {
548
+ opacity: 0;
549
+ }
550
+ uc-crop-frame:not(#\#):not(#\#):not(#\#) .uc-guides--semi-hidden {
551
+ opacity: 0.2;
552
+ }
553
+ uc-crop-frame:not(#\#):not(#\#):not(#\#) .uc-guides--visible {
554
+ opacity: 1;
555
+ }
556
+ uc-editor-button-control:not(#\#):not(#\#):not(#\#),
557
+ uc-editor-crop-button-control:not(#\#):not(#\#):not(#\#),
558
+ uc-editor-aspect-ratio-button-control:not(#\#):not(#\#):not(#\#),
559
+ uc-editor-freeform-button-control:not(#\#):not(#\#):not(#\#),
560
+ uc-editor-filter-control:not(#\#):not(#\#):not(#\#),
561
+ uc-editor-operation-control:not(#\#):not(#\#):not(#\#) {
562
+ --l-base-min-width: var(--uc-button-size);
563
+ --l-base-height: var(--uc-button-size);
564
+ --opacity-effect: var(--idle-opacity);
565
+ --color-effect: var(--idle-color-rgb);
566
+ --background-effect: var(--idle-background);
567
+ --filter-effect: var(--idle-filter);
568
+
569
+ --idle-color-rgb: var(--uc-secondary-foreground);
570
+ --idle-opacity: 1;
571
+ --idle-filter: 1;
572
+ --idle-background: var(--uc-secondary);
573
+ --hover-color-rgb: var(--uc-secondary-foreground);
574
+ --hover-opacity: 1;
575
+ --hover-filter: 0.8;
576
+ --hover-background: var(--uc-secondary-hover);
577
+ --down-color-rgb: var(--hover-color-rgb);
578
+ --down-opacity: 1;
579
+ --down-filter: 0.6;
580
+ --down-background: var(--uc-secondary);
581
+
582
+ border-radius: var(--uc-radius);
583
+ }
584
+ uc-editor-button-control:not(#\#):not(#\#):not(#\#) > button,
585
+ uc-editor-crop-button-control:not(#\#):not(#\#):not(#\#) > button,
586
+ uc-editor-aspect-ratio-button-control:not(#\#):not(#\#):not(#\#) > button,
587
+ uc-editor-freeform-button-control:not(#\#):not(#\#):not(#\#) > button,
588
+ uc-editor-filter-control:not(#\#):not(#\#):not(#\#) > button,
589
+ uc-editor-operation-control:not(#\#):not(#\#):not(#\#) > button {
590
+ all: unset;
591
+ position: relative;
592
+ display: grid;
593
+ grid-template-columns: var(--l-base-min-width) auto;
594
+ grid-template-rows: 100%;
595
+ align-items: center;
596
+ height: var(--l-base-height);
597
+ color: var(--color-effect);
598
+ opacity: var(--opacity-effect);
599
+ cursor: pointer;
600
+ transition: var(--l-width-transition);
601
+ }
602
+ uc-editor-freeform-button-control:not(#\#):not(#\#):not(#\#) > button {
603
+ grid-template-columns: auto var(--l-base-min-width);
604
+ }
605
+ uc-editor-freeform-button-control:not(#\#):not(#\#):not(#\#) > button > uc-icon {
606
+ margin-left: var(--cldtr-gap-mid-1);
607
+ width: 10px;
608
+ }
609
+ :where(
610
+ uc-editor-button-control,
611
+ uc-editor-crop-button-control,
612
+ uc-editor-aspect-ratio-button-control,
613
+ uc-editor-freeform-button-control,
614
+ uc-editor-filter-control,
615
+ uc-editor-operation-control
616
+ ):not(#\#):not(#\#):not(#\#)
617
+ > uc-icon
618
+ > svg {
619
+ width: var(--size-icon);
620
+ height: var(--size-icon);
621
+ }
622
+ uc-editor-filter-control:not(#\#):not(#\#):not(#\#) > uc-icon.uc-original-icon > svg {
623
+ width: 100%;
624
+ height: 100%;
625
+ }
626
+ uc-editor-button-control.uc-active:not(#\#):not(#\#):not(#\#),
627
+ uc-editor-operation-control.uc-active:not(#\#):not(#\#):not(#\#),
628
+ uc-editor-crop-button-control.uc-active:not(#\#):not(#\#):not(#\#),
629
+ uc-editor-aspect-ratio-button-control.uc-active:not(#\#):not(#\#):not(#\#),
630
+ uc-editor-freeform-button-control.uc-active:not(#\#):not(#\#):not(#\#),
631
+ uc-editor-filter-control.uc-active:not(#\#):not(#\#):not(#\#) {
632
+ --idle-color-rgb: var(--uc-primary-foreground);
633
+ --idle-background: var(--uc-primary);
634
+ --idle-opacity: 1;
635
+ --hover-color-rgb: var(--uc-primary-foreground);
636
+ --hover-background: var(--uc-primary);
637
+ --hover-opacity: 1;
638
+ }
639
+ uc-editor-button-control.uc-not_active:not(#\#):not(#\#):not(#\#),
640
+ uc-editor-operation-control.uc-not_active:not(#\#):not(#\#):not(#\#),
641
+ uc-editor-crop-button-control.uc-not_active:not(#\#):not(#\#):not(#\#),
642
+ uc-editor-aspect-ratio-button-control.uc-not_active:not(#\#):not(#\#):not(#\#),
643
+ uc-editor-freeform-button-control.uc-not_active:not(#\#):not(#\#):not(#\#),
644
+ uc-editor-filter-control.uc-not_active:not(#\#):not(#\#):not(#\#) {
645
+ --idle-color-rgb: var(--uc-secondary-foreground);
646
+ }
647
+ :where(.uc-contrast):not(#\#):not(#\#):not(#\#) uc-editor-button-control.uc-not_active,
648
+ :where(.uc-contrast):not(#\#):not(#\#):not(#\#) uc-editor-operation-control.uc-not_active,
649
+ :where(.uc-contrast):not(#\#):not(#\#):not(#\#) uc-editor-crop-button-control.uc-not_active,
650
+ :where(.uc-contrast):not(#\#):not(#\#):not(#\#) uc-editor-freeform-button-control.uc-not_active,
651
+ :where(.uc-contrast):not(#\#):not(#\#):not(#\#) uc-editor-aspect-ratio-button-control.uc-not_active,
652
+ :where(.uc-contrast):not(#\#):not(#\#):not(#\#) uc-editor-filter-control.uc-not_active {
653
+ --idle-background: transparent;
654
+ --hover-background: var(--uc-secondary);
655
+
656
+ outline: 1px solid var(--uc-border);
657
+ outline-offset: -1px;
658
+ }
659
+ uc-editor-button-control:not(#\#):not(#\#):not(#\#) > button::before,
660
+ uc-editor-operation-control:not(#\#):not(#\#):not(#\#) > button::before,
661
+ uc-editor-crop-button-control:not(#\#):not(#\#):not(#\#) > button::before,
662
+ uc-editor-freeform-button-control:not(#\#):not(#\#):not(#\#) > button::before,
663
+ uc-editor-aspect-ratio-button-control:not(#\#):not(#\#):not(#\#) > button::before,
664
+ uc-editor-filter-control:not(#\#):not(#\#):not(#\#) > button::before {
665
+ position: absolute;
666
+ content: "";
667
+ right: 0;
668
+ left: 0;
669
+ z-index: -1;
670
+ width: 100%;
671
+ height: 100%;
672
+ background-color: var(--background-effect);
673
+ border-radius: var(--border-radius-editor);
674
+ transition: var(--transition-duration-3);
675
+ }
676
+ uc-editor-button-control:not(#\#):not(#\#):not(#\#) > button .uc-title,
677
+ uc-editor-operation-control:not(#\#):not(#\#):not(#\#) > button .uc-title,
678
+ uc-editor-crop-button-control:not(#\#):not(#\#):not(#\#) > button .uc-title,
679
+ uc-editor-aspect-ratio-button-control:not(#\#):not(#\#):not(#\#) > button .uc-title,
680
+ uc-editor-freeform-button-control:not(#\#):not(#\#):not(#\#) > button .uc-title,
681
+ uc-editor-filter-control:not(#\#):not(#\#):not(#\#) > button .uc-title {
682
+ padding-right: var(--cldtr-gap-mid-1);
683
+ font-size: 0.7em;
684
+ letter-spacing: 1.004px;
685
+ text-transform: uppercase;
686
+ }
687
+ uc-editor-freeform-button-control:not(#\#):not(#\#):not(#\#) > button .uc-title {
688
+ padding-left: var(--cldtr-gap-mid-1);
689
+ padding-right: 0;
690
+ }
691
+ uc-editor-button-control:not(#\#):not(#\#):not(#\#) > button uc-icon,
692
+ uc-editor-operation-control:not(#\#):not(#\#):not(#\#) > button uc-icon,
693
+ uc-editor-crop-button-control:not(#\#):not(#\#):not(#\#) > button uc-icon,
694
+ uc-editor-aspect-ratio-button-control:not(#\#):not(#\#):not(#\#) > button uc-icon,
695
+ uc-editor-freeform-button-control:not(#\#):not(#\#):not(#\#) > button uc-icon,
696
+ uc-editor-filter-control:not(#\#):not(#\#):not(#\#) > button uc-icon {
697
+ pointer-events: none;
698
+ }
699
+ uc-editor-filter-control:not(#\#):not(#\#):not(#\#) > button .uc-preview {
700
+ position: absolute;
701
+ right: 0;
702
+ left: 0;
703
+ z-index: -1;
704
+ width: 100%;
705
+ height: var(--l-base-height);
706
+ background-repeat: no-repeat;
707
+ background-size: contain;
708
+ border-radius: var(--border-radius-editor);
709
+ opacity: 0;
710
+ filter: brightness(var(--filter-effect));
711
+ transition: var(--transition-duration-3);
712
+ }
713
+ uc-editor-filter-control.uc-not_active:not(#\#):not(#\#):not(#\#) .uc-preview[data-loaded] {
714
+ opacity: 1;
715
+ }
716
+ uc-editor-filter-control.uc-active:not(#\#):not(#\#):not(#\#) .uc-preview {
717
+ opacity: 0;
718
+ }
719
+ uc-editor-filter-control:not(#\#):not(#\#):not(#\#) > .uc-original-icon {
720
+ color: var(--color-effect);
721
+ opacity: 0.3;
722
+ }
723
+ uc-editor-image-cropper:not(#\#):not(#\#):not(#\#) {
724
+ position: absolute;
725
+ top: 0px;
726
+ left: 0px;
727
+ z-index: 10;
728
+ display: block;
729
+ width: 100%;
730
+ height: 100%;
731
+ opacity: 0;
732
+ pointer-events: none;
733
+ touch-action: none;
734
+ color: var(--color-crop-guides);
735
+ }
736
+ uc-editor-image-cropper.uc-active_from_editor:not(#\#):not(#\#):not(#\#) {
737
+ transform: scale(1) translate(0px, 0px);
738
+ opacity: 1;
739
+ transition:
740
+ transform var(--transition-duration-4) cubic-bezier(0.37, 0, 0.63, 1) 0.4s,
741
+ opacity var(--transition-duration-3);
742
+ pointer-events: auto;
743
+ }
744
+ uc-editor-image-cropper.uc-active_from_viewer:not(#\#):not(#\#):not(#\#) {
745
+ transform: scale(1) translate(0px, 0px);
746
+ opacity: 1;
747
+ transition:
748
+ transform var(--transition-duration-4) cubic-bezier(0.37, 0, 0.63, 1) 0.4s,
749
+ opacity var(--transition-duration-3);
750
+ pointer-events: auto;
751
+ }
752
+ uc-editor-image-cropper.uc-inactive_to_editor:not(#\#):not(#\#):not(#\#) {
753
+ opacity: 0;
754
+ transition:
755
+ transform var(--transition-duration-4) cubic-bezier(0.37, 0, 0.63, 1),
756
+ opacity var(--transition-duration-3) calc(var(--transition-duration-3) + 0.05s);
757
+ pointer-events: none;
758
+ }
759
+ uc-editor-image-cropper:not(#\#):not(#\#):not(#\#) > .uc-canvas {
760
+ position: absolute;
761
+ top: 0px;
762
+ left: 0px;
763
+ z-index: 1;
764
+ display: block;
765
+ width: 100%;
766
+ height: 100%;
767
+ }
768
+ uc-editor-image-fader:not(#\#):not(#\#):not(#\#) {
769
+ position: absolute;
770
+ top: 0px;
771
+ left: 0px;
772
+ display: block;
773
+ width: 100%;
774
+ height: 100%;
775
+ }
776
+ uc-editor-image-fader.uc-active_from_viewer:not(#\#):not(#\#):not(#\#) {
777
+ z-index: 3;
778
+ transform: scale(1);
779
+ opacity: 1;
780
+ transition:
781
+ transform var(--transition-duration-4),
782
+ opacity var(--transition-duration-3) steps(1, jump-start);
783
+ pointer-events: auto;
784
+ }
785
+ uc-editor-image-fader.uc-active_from_cropper:not(#\#):not(#\#):not(#\#) {
786
+ z-index: 3;
787
+ transform: scale(1);
788
+ opacity: 1;
789
+ transition:
790
+ transform var(--transition-duration-4),
791
+ opacity var(--transition-duration-3) steps(1, jump-end);
792
+ pointer-events: auto;
793
+ }
794
+ uc-editor-image-fader.uc-inactive_to_cropper:not(#\#):not(#\#):not(#\#) {
795
+ z-index: 3;
796
+ transform: scale(1);
797
+ opacity: 0;
798
+ transition:
799
+ transform var(--transition-duration-4),
800
+ opacity var(--transition-duration-3) steps(1, jump-end);
801
+ pointer-events: none;
802
+ }
803
+ uc-editor-image-fader:not(#\#):not(#\#):not(#\#) .uc-fader-image {
804
+ position: absolute;
805
+ top: 0px;
806
+ left: 0px;
807
+ display: block;
808
+ width: 100%;
809
+ height: 100%;
810
+ object-fit: scale-down;
811
+ transform: scale(1);
812
+ user-select: none;
813
+ content-visibility: auto;
814
+ }
815
+ uc-editor-image-fader:not(#\#):not(#\#):not(#\#) .uc-fader-image--preview {
816
+ background-color: var(--color-image-background);
817
+ border-top-left-radius: var(--border-radius-base);
818
+ border-top-right-radius: var(--border-radius-base);
819
+ transform: scale(1);
820
+ opacity: 0;
821
+ transition: var(--transition-duration-3);
822
+ }
823
+ uc-editor-scroller:not(#\#):not(#\#):not(#\#) {
824
+ display: flex;
825
+ align-items: center;
826
+ width: 100%;
827
+ height: 100%;
828
+ overflow-x: scroll;
829
+ }
830
+ uc-editor-slider:not(#\#):not(#\#):not(#\#) {
831
+ display: flex;
832
+ align-items: center;
833
+ justify-content: center;
834
+ width: 100%;
835
+ height: var(--size-panel-heading);
836
+ }
837
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) {
838
+ position: relative;
839
+ width: 100%;
840
+ height: 100%;
841
+ }
842
+ @media only screen and (max-width: 600px) {
843
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) {
844
+ --l-tab-gap: var(--cldtr-gap-mid-1);
845
+ --l-slider-padding: var(--uc-padding);
846
+ --l-controls-padding: var(--uc-padding);
847
+ }
848
+ }
849
+ @media only screen and (min-width: 601px) {
850
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) {
851
+ --l-tab-gap: var(--cldtr-gap-max);
852
+ --l-slider-padding: var(--uc-padding);
853
+ --l-controls-padding: var(--uc-padding);
854
+ }
855
+ }
856
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) > .uc-toolbar-container {
857
+ position: relative;
858
+ width: 100%;
859
+ height: 100%;
860
+ overflow: hidden;
861
+ }
862
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) > .uc-toolbar-container > .uc-sub-toolbar {
863
+ position: absolute;
864
+ display: grid;
865
+ grid-template-rows: 1fr 1fr;
866
+ width: 100%;
867
+ height: 100%;
868
+ background-color: var(--color-fill-contrast);
869
+ transition:
870
+ opacity var(--transition-duration-3) ease-in-out,
871
+ transform var(--transition-duration-3) ease-in-out,
872
+ visibility var(--transition-duration-3) ease-in-out;
873
+ }
874
+ .uc-sub-toolbar:not(#\#):not(#\#):not(#\#) > .uc-list-aspect-ratio-container > .uc-list-aspect-ratio {
875
+ display: grid;
876
+ grid-auto-flow: column;
877
+ justify-content: center;
878
+ align-items: center;
879
+ gap: 6px;
880
+ height: var(--size-panel-heading);
881
+ }
882
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) > .uc-toolbar-container > .uc-sub-toolbar.uc-sub-toolbar--visible {
883
+ transform: translateY(0px);
884
+ opacity: 1;
885
+ pointer-events: auto;
886
+ }
887
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) > .uc-toolbar-container > .uc-sub-toolbar.uc-sub-toolbar--top-hidden {
888
+ transform: translateY(100%);
889
+ opacity: 0;
890
+ pointer-events: none;
891
+ }
892
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) > .uc-toolbar-container > .uc-sub-toolbar.uc-sub-toolbar--bottom-hidden {
893
+ transform: translateY(-100%);
894
+ opacity: 0;
895
+ pointer-events: none;
896
+ }
897
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) > .uc-toolbar-container > .uc-sub-toolbar > .uc-controls-row {
898
+ display: flex;
899
+ align-items: center;
900
+ justify-content: space-between;
901
+ padding-right: var(--l-controls-padding);
902
+ padding-left: var(--l-controls-padding);
903
+ }
904
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) > .uc-toolbar-container > .uc-sub-toolbar > .uc-controls-row > .uc-tab-toggles {
905
+ position: relative;
906
+ display: grid;
907
+ grid-auto-flow: column;
908
+ gap: 0px var(--l-tab-gap);
909
+ align-items: center;
910
+ height: 100%;
911
+ }
912
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#)
913
+ > .uc-toolbar-container
914
+ > .uc-sub-toolbar
915
+ > .uc-controls-row
916
+ > .uc-tab-toggles
917
+ > .uc-tab-toggles_indicator {
918
+ position: absolute;
919
+ bottom: 0px;
920
+ left: 0px;
921
+ width: var(--size-touch-area);
922
+ height: 2px;
923
+ background-color: var(--uc-secondary-foreground);
924
+ transform: translateX(0px);
925
+ transition: transform var(--transition-duration-3);
926
+ }
927
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) > .uc-toolbar-container > .uc-sub-toolbar > .uc-tab-content-row {
928
+ position: relative;
929
+ }
930
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) > .uc-toolbar-container > .uc-sub-toolbar > .uc-tab-content-row > .uc-tab-content {
931
+ position: absolute;
932
+ top: 0px;
933
+ left: 0px;
934
+ display: flex;
935
+ width: 100%;
936
+ height: 100%;
937
+ overflow: hidden;
938
+ content-visibility: auto;
939
+ }
940
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#)
941
+ > .uc-toolbar-container
942
+ > .uc-sub-toolbar
943
+ > .uc-controls-row
944
+ > .uc-tab-toggles
945
+ > .uc-tab-toggle.uc-tab-toggle--visible {
946
+ display: contents;
947
+ }
948
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#)
949
+ > .uc-toolbar-container
950
+ > .uc-sub-toolbar
951
+ > .uc-controls-row
952
+ > .uc-tab-toggles
953
+ > .uc-tab-toggle.uc-tab-toggle--hidden {
954
+ display: none;
955
+ }
956
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#)
957
+ > .uc-toolbar-container
958
+ > .uc-sub-toolbar
959
+ > .uc-controls-row
960
+ > .uc-tab-toggles.uc-tab-toggles--hidden {
961
+ display: none;
962
+ }
963
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#)
964
+ > .uc-toolbar-container
965
+ > .uc-sub-toolbar
966
+ > .uc-controls-row
967
+ > .uc-tab-toggles
968
+ > .uc-tab-toggle
969
+ > uc-btn-ui {
970
+ width: var(--uc-button-size);
971
+ }
972
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#)
973
+ > .uc-toolbar-container
974
+ > .uc-sub-toolbar
975
+ > .uc-controls-row
976
+ > .uc-tab-toggles
977
+ > .uc-tab-toggle
978
+ > uc-btn-ui
979
+ > uc-icon
980
+ > svg {
981
+ width: var(--size-icon);
982
+ height: var(--size-icon);
983
+ }
984
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#)
985
+ > .uc-toolbar-container
986
+ > .uc-sub-toolbar
987
+ > .uc-tab-content-row
988
+ > .uc-tab-content
989
+ .uc-controls-list_align {
990
+ display: grid;
991
+ grid-template-areas: ". inner .";
992
+ grid-template-columns: 1fr auto 1fr;
993
+ box-sizing: border-box;
994
+ min-width: 100%;
995
+ padding-left: var(--uc-padding);
996
+ }
997
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#)
998
+ > .uc-toolbar-container
999
+ > .uc-sub-toolbar
1000
+ > .uc-tab-content-row
1001
+ > .uc-tab-content
1002
+ .uc-controls-list_inner {
1003
+ display: grid;
1004
+ grid-area: inner;
1005
+ grid-auto-flow: column;
1006
+ gap: 6px;
1007
+ }
1008
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#)
1009
+ > .uc-toolbar-container
1010
+ > .uc-sub-toolbar
1011
+ > .uc-tab-content-row
1012
+ > .uc-tab-content
1013
+ .uc-controls-list_inner:last-child {
1014
+ padding-right: var(--uc-padding);
1015
+ }
1016
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) .uc-info-tooltip_container {
1017
+ position: absolute;
1018
+ display: flex;
1019
+ align-items: flex-start;
1020
+ justify-content: center;
1021
+ width: 100%;
1022
+ height: 100%;
1023
+ }
1024
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) .uc-info-tooltip_wrapper {
1025
+ position: absolute;
1026
+ top: calc(-100% - var(--cldtr-gap-mid-2));
1027
+ display: flex;
1028
+ flex-direction: column;
1029
+ justify-content: flex-end;
1030
+ height: 100%;
1031
+ pointer-events: none;
1032
+ }
1033
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) .uc-info-tooltip {
1034
+ z-index: 10;
1035
+ padding: 3px 6px;
1036
+ color: var(--color-text-base);
1037
+ font-size: 0.7em;
1038
+ letter-spacing: 1px;
1039
+ text-transform: uppercase;
1040
+ background-color: var(--color-text-accent-contrast);
1041
+ border-radius: var(--border-radius-editor);
1042
+ transform: translateY(100%);
1043
+ opacity: 0;
1044
+ transition: var(--transition-duration-3);
1045
+ }
1046
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) .uc-info-tooltip_visible {
1047
+ transform: translateY(0px);
1048
+ opacity: 1;
1049
+ }
1050
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) .uc-slider {
1051
+ padding-right: var(--l-slider-padding);
1052
+ padding-left: var(--l-slider-padding);
1053
+ }
1054
+ uc-btn-ui:not(#\#):not(#\#):not(#\#) > button {
1055
+ --filter-effect: var(--idle-brightness);
1056
+ --opacity-effect: var(--idle-opacity);
1057
+ --color-effect: var(--idle-color-rgb);
1058
+ --background-effect: var(--idle-background);
1059
+ --l-transition-effect: var(
1060
+ --css-transition,
1061
+ color var(--transition-duration-2),
1062
+ background-color var(--transition-duration-2),
1063
+ filter var(--transition-duration-2)
1064
+ );
1065
+
1066
+ all: unset;
1067
+ display: inline-flex;
1068
+ align-items: center;
1069
+ box-sizing: var(--css-box-sizing, border-box);
1070
+ height: var(--css-height, var(--uc-button-size));
1071
+ padding-right: var(--css-padding-right, 14px);
1072
+ padding-left: var(--css-padding-left, 14px);
1073
+ font-size: 1em;
1074
+ color: var(--color-effect);
1075
+ background-color: var(--background-effect);
1076
+ border-radius: var(--uc-radius);
1077
+ opacity: var(--opacity-effect);
1078
+ cursor: pointer;
1079
+ filter: brightness(var(--filter-effect));
1080
+ transition: var(--l-transition-effect);
1081
+ user-select: none;
1082
+ }
1083
+ uc-btn-ui:not(#\#):not(#\#):not(#\#) > button > uc-icon {
1084
+ pointer-events: none;
1085
+ }
1086
+ uc-btn-ui:not(#\#):not(#\#):not(#\#) .uc-text {
1087
+ white-space: nowrap;
1088
+ }
1089
+ uc-btn-ui:not(#\#):not(#\#):not(#\#) .uc-icon {
1090
+ display: flex;
1091
+ align-items: center;
1092
+ justify-content: center;
1093
+ color: var(--color-effect);
1094
+ filter: brightness(var(--filter-effect));
1095
+ transition: var(--l-transition-effect);
1096
+ }
1097
+ uc-btn-ui:not(#\#):not(#\#):not(#\#) .uc-icon_left {
1098
+ margin-right: var(--cldtr-gap-mid-1);
1099
+ margin-left: 0px;
1100
+ }
1101
+ uc-btn-ui:not(#\#):not(#\#):not(#\#) .uc-icon_right {
1102
+ margin-right: 0px;
1103
+ margin-left: var(--cldtr-gap-mid-1);
1104
+ }
1105
+ uc-btn-ui:not(#\#):not(#\#):not(#\#) .uc-icon_single {
1106
+ margin-right: 0px;
1107
+ margin-left: 0px;
1108
+ }
1109
+ uc-btn-ui:not(#\#):not(#\#):not(#\#) .uc-icon_hidden {
1110
+ display: none;
1111
+ margin: 0;
1112
+ }
1113
+ uc-btn-ui.uc-primary:not(#\#):not(#\#):not(#\#) > button {
1114
+ --idle-color-rgb: var(--uc-primary-foreground);
1115
+ --idle-brightness: 1;
1116
+ --idle-opacity: 1;
1117
+ --idle-background: var(--uc-primary);
1118
+ --hover-color-rgb: var(--uc-primary-foreground);
1119
+ --hover-brightness: 1;
1120
+ --hover-opacity: 1;
1121
+ --hover-background: var(--uc-primary-hover);
1122
+ --down-color-rgb: var(--uc-primary-foreground);
1123
+ --down-brightness: 0.75;
1124
+ --down-opacity: 1;
1125
+ --down-background: var(--uc-primary);
1126
+ --active-color-rgb: var(--uc-primary-foreground);
1127
+ --active-brightness: 1;
1128
+ --active-opacity: 1;
1129
+ --active-background: var(--uc-primary);
1130
+ }
1131
+ uc-btn-ui.uc-primary-icon:not(#\#):not(#\#):not(#\#) > button {
1132
+ --idle-color-rgb: var(--uc-primary);
1133
+ --idle-brightness: 1;
1134
+ --idle-opacity: 1;
1135
+ --idle-background: transparent;
1136
+ --hover-color-rgb: var(--uc-primary);
1137
+ --hover-brightness: 1;
1138
+ --hover-opacity: 1;
1139
+ --hover-background: var(--uc-primary-transparent);
1140
+ --down-color-rgb: var(--uc-primary);
1141
+ --down-brightness: 0.75;
1142
+ --down-opacity: 1;
1143
+ --down-background: var(--uc-primary-transparent);
1144
+ --active-color-rgb: var(--uc-primary-foreground);
1145
+ --active-brightness: 1;
1146
+ --active-opacity: 1;
1147
+ --active-background: var(--uc-primary);
1148
+
1149
+ padding: 0;
1150
+ width: var(--uc-button-size);
1151
+ }
1152
+ uc-btn-ui.uc-secondary:not(#\#):not(#\#):not(#\#) > button {
1153
+ --idle-color-rgb: var(--uc-secondary-foreground);
1154
+ --idle-brightness: 1;
1155
+ --idle-opacity: 1;
1156
+ --idle-background: var(--uc-secondary);
1157
+ --hover-color-rgb: var(--uc-secondary-foreground);
1158
+ --hover-brightness: 1;
1159
+ --hover-opacity: 1;
1160
+ --hover-background: var(--uc-secondary-hover);
1161
+ --down-color-rgb: var(--uc-secondary-foreground);
1162
+ --down-brightness: 1;
1163
+ --down-opacity: 1;
1164
+ --down-background: var(--uc-secondary-hover);
1165
+ --active-color-rgb: var(--uc-secondary-foreground);
1166
+ --active-brightness: 1;
1167
+ --active-opacity: 1;
1168
+ --active-background: transparent;
1169
+ }
1170
+ :where(.uc-contrast):not(#\#):not(#\#):not(#\#) uc-btn-ui.uc-secondary > button {
1171
+ border: 1px solid var(--uc-border);
1172
+ }
1173
+ uc-btn-ui.uc-secondary-icon:not(#\#):not(#\#):not(#\#) > button {
1174
+ --idle-color-rgb: var(--uc-secondary-foreground);
1175
+ --idle-brightness: 1;
1176
+ --idle-opacity: 1;
1177
+ --idle-background: transparent;
1178
+ --hover-color-rgb: var(--uc-secondary-foreground);
1179
+ --hover-brightness: 1;
1180
+ --hover-opacity: 1;
1181
+ --hover-background: var(--uc-secondary);
1182
+ --down-color-rgb: var(--uc-secondary-foreground);
1183
+ --down-brightness: 1;
1184
+ --down-opacity: 1;
1185
+ --down-background: var(--uc-secondary);
1186
+ --active-color-rgb: var(--uc-secondary-foreground);
1187
+ --active-brightness: 1;
1188
+ --active-opacity: 1;
1189
+ --active-background: transparent;
1190
+
1191
+ padding: 0;
1192
+ width: var(--uc-button-size);
1193
+ }
1194
+ uc-btn-ui.uc-tab:not(#\#):not(#\#):not(#\#) > button {
1195
+ --idle-color-rgb: var(--uc-secondary-foreground);
1196
+ --idle-brightness: 1;
1197
+ --idle-opacity: 1;
1198
+ --idle-background: transparent;
1199
+ --hover-color-rgb: var(--uc-secondary-foreground);
1200
+ --hover-brightness: 1;
1201
+ --hover-opacity: 1;
1202
+ --hover-background: var(--uc-secondary);
1203
+ --down-color-rgb: var(--uc-secondary-foreground);
1204
+ --down-brightness: 1;
1205
+ --down-opacity: 1;
1206
+ --down-background: var(--uc-secondary);
1207
+ --active-color-rgb: var(--uc-secondary-foreground);
1208
+ --active-brightness: 1;
1209
+ --active-opacity: 1;
1210
+ --active-background: transparent;
1211
+
1212
+ padding: 0;
1213
+ width: var(--uc-button-size);
1214
+ }
1215
+ uc-btn-ui.uc-default:not(#\#):not(#\#):not(#\#) > button {
1216
+ --idle-color-rgb: var(--uc-secondary-foreground);
1217
+ --idle-brightness: 1;
1218
+ --idle-opacity: 1;
1219
+ --idle-background: var(--uc-secondary);
1220
+ --hover-color-rgb: var(--uc-secondary-foreground);
1221
+ --hover-brightness: 1;
1222
+ --hover-opacity: 1;
1223
+ --hover-background: var(--uc-secondary-hover);
1224
+ --down-color-rgb: var(--uc-secondary-foreground);
1225
+ --down-brightness: 0.75;
1226
+ --down-opacity: 1;
1227
+ --down-background: var(--uc-secondary);
1228
+ --active-color-rgb: var(--uc-primary);
1229
+ --active-brightness: 1;
1230
+ --active-opacity: 1;
1231
+ --active-background: var(--uc-primary-transparent);
1232
+ }
1233
+ :where(.uc-contrast):not(#\#):not(#\#):not(#\#) uc-btn-ui.uc-default > button {
1234
+ --idle-background: transparent;
1235
+ --hover-background: var(--uc-secondary);
1236
+ --active-background: var(--uc-foreground);
1237
+ --active-color-rgb: var(--uc-background);
1238
+ }
1239
+ uc-line-loader-ui:not(#\#):not(#\#):not(#\#) {
1240
+ position: absolute;
1241
+ top: 0px;
1242
+ left: 0px;
1243
+ z-index: 9999;
1244
+ width: 100%;
1245
+ height: 2px;
1246
+ opacity: 0.5;
1247
+ }
1248
+ uc-line-loader-ui:not(#\#):not(#\#):not(#\#) .uc-inner {
1249
+ width: 25%;
1250
+ max-width: 200px;
1251
+ height: 100%;
1252
+ }
1253
+ uc-line-loader-ui:not(#\#):not(#\#):not(#\#) .uc-line {
1254
+ width: 100%;
1255
+ height: 100%;
1256
+ background-color: var(--uc-primary);
1257
+ transform: translateX(-101%);
1258
+ transition: transform 1s;
1259
+ }
1260
+ uc-slider-ui:not(#\#):not(#\#):not(#\#) {
1261
+ --l-thumb-size: 24px;
1262
+ --l-zero-dot-size: 5px;
1263
+ --l-zero-dot-offset: 2px;
1264
+ --idle-color-rgb: var(--uc-foreground);
1265
+ --hover-color-rgb: var(--uc-primary);
1266
+ --down-color-rgb: var(--uc-primary);
1267
+ --color-effect: var(--idle-color-rgb);
1268
+ --l-color: var(--color-effect);
1269
+
1270
+ position: relative;
1271
+ display: flex;
1272
+ align-items: center;
1273
+ justify-content: center;
1274
+ width: 100%;
1275
+ height: calc(var(--l-thumb-size) + (var(--l-zero-dot-size) + var(--l-zero-dot-offset)) * 2);
1276
+ }
1277
+ uc-slider-ui:not(#\#):not(#\#):not(#\#) .uc-thumb {
1278
+ position: absolute;
1279
+ left: 0px;
1280
+ width: var(--l-thumb-size);
1281
+ height: var(--l-thumb-size);
1282
+ background-color: var(--l-color);
1283
+ border-radius: 50%;
1284
+ transform: translateX(0px);
1285
+ opacity: 1;
1286
+ transition:
1287
+ opacity var(--transition-duration-2),
1288
+ background-color var(--transition-duration-2);
1289
+ }
1290
+ uc-slider-ui:not(#\#):not(#\#):not(#\#) .uc-steps {
1291
+ position: absolute;
1292
+ display: flex;
1293
+ align-items: center;
1294
+ justify-content: space-between;
1295
+ box-sizing: border-box;
1296
+ width: 100%;
1297
+ height: 100%;
1298
+ padding-right: calc(var(--l-thumb-size) / 2);
1299
+ padding-left: calc(var(--l-thumb-size) / 2);
1300
+ }
1301
+ uc-slider-ui:not(#\#):not(#\#):not(#\#) .uc-border-step {
1302
+ width: 0px;
1303
+ height: 10px;
1304
+ border-right: 1px solid var(--uc-foreground);
1305
+ opacity: 1;
1306
+ transition: border-color var(--transition-duration-2);
1307
+ }
1308
+ uc-slider-ui:not(#\#):not(#\#):not(#\#) .uc-minor-step {
1309
+ width: 0px;
1310
+ height: 4px;
1311
+ border-right: 1px solid var(--uc-foreground);
1312
+ opacity: 0.6;
1313
+ transition: border-color var(--transition-duration-2);
1314
+ }
1315
+ uc-slider-ui:not(#\#):not(#\#):not(#\#) .uc-zero-dot {
1316
+ position: absolute;
1317
+ top: calc(100% - var(--l-zero-dot-offset) * 2);
1318
+ left: calc(var(--l-thumb-size) / 2 - var(--l-zero-dot-size) / 2);
1319
+ width: var(--l-zero-dot-size);
1320
+ height: var(--l-zero-dot-size);
1321
+ background-color: var(--color-primary-accent);
1322
+ border-radius: 50%;
1323
+ opacity: 0;
1324
+ transition: var(--transition-duration-3);
1325
+ }
1326
+ uc-slider-ui:not(#\#):not(#\#):not(#\#) .uc-input {
1327
+ position: absolute;
1328
+ width: calc(100% - 10px);
1329
+ height: 100%;
1330
+ margin: 0;
1331
+ cursor: pointer;
1332
+ opacity: 0;
1333
+ }
1334
+ uc-presence-toggle.uc-transition:not(#\#):not(#\#):not(#\#) {
1335
+ transition:
1336
+ opacity var(--transition-duration-3),
1337
+ visibility var(--transition-duration-3);
1338
+ }
1339
+ uc-presence-toggle.uc-visible:not(#\#):not(#\#):not(#\#) {
1340
+ opacity: 1;
1341
+ pointer-events: inherit;
1342
+ }
1343
+ uc-presence-toggle.uc-hidden:not(#\#):not(#\#):not(#\#) {
1344
+ opacity: 0;
1345
+ pointer-events: none;
1346
+ }
1347
+ uc-presence-toggle.uc-initial:not(#\#):not(#\#):not(#\#) {
1348
+ display: none !important;
1349
+ transition: none !important;
1350
+ }
1351
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) [role="button"]:focus-visible,
1352
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) button:focus-visible {
1353
+ outline: 1px auto Highlight;
1354
+ outline: 1px auto -webkit-focus-ring-color;
1355
+ }
1356
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) .uc-cloud-mask {
1357
+ pointer-events: none;
1358
+ }
1359
+ [uc-aspect-ratio-freeform]:not(#\#):not(#\#):not(#\#) button {
1360
+ display: flex;
1361
+ }
1362
+ [uc-aspect-ratio-freeform]:not(#\#):not(#\#):not(#\#) uc-icon {
1363
+ display: none;
1364
+ }
1365
+ [uc-aspect-ratio-freeform]:not(#\#):not(#\#):not(#\#) .uc-title {
1366
+ padding-left: var(--cldtr-gap-mid-1);
1367
+ }
1368
+ :where(uc-editor-freeform-button-control, uc-editor-aspect-ratio-button-control:last-of-type):not(#\#):not(#\#):not(#\#) {
1369
+ margin-right: calc(3 * var(--cldtr-gap-mid-1));
1370
+ }
1371
+ :where([uc-cloud-image-editor]):not(#\#):not(#\#):not(#\#) uc-icon {
1372
+ display: flex;
1373
+ justify-content: center;
1374
+ width: 100%;
1375
+ height: 100%;
1376
+ }
1377
+ :where([uc-cloud-image-editor]):not(#\#):not(#\#):not(#\#) uc-icon svg {
1378
+ width: calc(var(--uc-button-size) / 2);
1379
+ height: calc(var(--uc-button-size) / 2);
1380
+ }