@emailmaker/filemanager 0.10.96 → 0.10.98

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/file-manager.css CHANGED
@@ -48,7 +48,7 @@
48
48
  width: 640px;
49
49
  max-width: 100%;
50
50
  padding: 0;
51
- margin: auto auto 12px;
51
+ margin: auto auto 0;
52
52
  transition: all 300ms ease;
53
53
  }
54
54
  .em-filemanager .iconsSearchFormCentered .iconsSearchFormInputInput {
@@ -1565,6 +1565,11 @@
1565
1565
  flex-shrink: 0;
1566
1566
  }
1567
1567
 
1568
+ /* Кнопка «Загрузить по URL» — icon-only, поэтому хост-приложение может задать ей
1569
+ свои размеры глобальным правилом `.ant-btn.ant-btn-icon-only` (в emailmaker это
1570
+ --formControlHeight: 34) и она становится ниже кнопки «Загрузить файл».
1571
+ Три класса в селекторе перебивают такие правила без !important. */
1572
+
1568
1573
  .em-filemanager .uploadButtonIcon {
1569
1574
  font-size: 20px;
1570
1575
  }
@@ -1834,6 +1839,7 @@
1834
1839
  left: 10px;
1835
1840
  }
1836
1841
  }
1842
+ @charset "UTF-8";
1837
1843
  .em-filemanager .gifTab {
1838
1844
  height: 100%;
1839
1845
  min-height: 0;
@@ -1998,8 +2004,15 @@
1998
2004
  flex-direction: column;
1999
2005
  }
2000
2006
 
2007
+ /* Иконка приходит как antd <Icon> — это span.anticon, а SVG внутри рисуется
2008
+ через currentColor. Хост-приложение может задавать `.blocks-app .anticon { color: inherit }`
2009
+ (два класса), что перебивает одиночный `.playButton` и красит иконку в чёрный.
2010
+ Дублируем цвет на самом svg — там у хоста правил на color нет. */
2001
2011
  .em-filemanager .playButton {
2002
2012
  color: var(--colorPrimary);
2013
+ }
2014
+
2015
+ .em-filemanager .playButton {
2003
2016
  margin-bottom: 16px;
2004
2017
  }
2005
2018
 
@@ -2015,6 +2028,7 @@
2015
2028
  color: var(--colorSecondary);
2016
2029
  line-height: 1.2;
2017
2030
  }
2031
+ @charset "UTF-8";
2018
2032
  .em-filemanager .stockTab {
2019
2033
  height: 100%;
2020
2034
  min-height: 0;
@@ -2238,8 +2252,15 @@
2238
2252
  flex-direction: column;
2239
2253
  }
2240
2254
 
2255
+ /* Иконка приходит как antd <Icon> — это span.anticon, а SVG внутри рисуется
2256
+ через currentColor. Хост-приложение может задавать `.blocks-app .anticon { color: inherit }`
2257
+ (два класса), что перебивает одиночный `.playButton` и красит иконку в чёрный.
2258
+ Дублируем цвет на самом svg — там у хоста правил на color нет. */
2241
2259
  .em-filemanager .playButton {
2242
2260
  color: var(--colorPrimary);
2261
+ }
2262
+
2263
+ .em-filemanager .playButton {
2243
2264
  margin-bottom: 16px;
2244
2265
  }
2245
2266
 
@@ -1,2 +1,2 @@
1
- export{$ as DEFAULT_FILE_MANAGER_CACHE_TTL_MS,a1 as DataSourceProxyBase,L as FailedRequestCache,A as FileContent,G as FileManagerApiError,z as FileManagerApp,t as FileManagerAppWithContext,B as FileModals,C as FolderSidebar,M as MutationRegistry,a2 as PathAwareStorageAdapter,P as PixieOnlyApp,V as TRASH_FOLDER_ID,Z as TreeCache,_ as ViewCacheManager,I as buildAssetsPath,O as compareFileSystemItems,W as createSystemFolderByPathResolver,y as default,Q as defaultChildrenViewFilterMatch,R as defaultFileSystemItemComparator,a0 as defaultIsFolderNotFoundError,a3 as fetchRemoteImageBlobByUrl,K as getAssetsBase,X as getTrashFolderLookupCandidates,q as init,x as initFileManager,v as initPixieEditor,D as installResizeObserverErrorHandler,J as joinUrls,H as mapHttpStatusToErrorCode,S as matchesChildrenViewFilter,Y as normalizeSystemFolderPath,T as resolveSortParams,U as resolveViewStrategyOptions,E as uninstallResizeObserverErrorHandler,s as unmount,w as unmountPixieEditor}from"./file-manager-index-BOM8wOfQ.js";import"react/jsx-runtime";import"react";import"react-dom/client";import"antd";import"@ant-design/icons";import"@ant-design/cssinjs";import"react-dom";import"@untitledui/icons";import"browser-image-compression";import"pixie";
1
+ export{a1 as DEFAULT_FILE_MANAGER_CACHE_TTL_MS,a3 as DataSourceProxyBase,L as FailedRequestCache,A as FileContent,G as FileManagerApiError,z as FileManagerApp,t as FileManagerAppWithContext,B as FileModals,C as FolderSidebar,M as MutationRegistry,a4 as PathAwareStorageAdapter,P as PixieOnlyApp,X as TRASH_FOLDER_ID,$ as TreeCache,a0 as ViewCacheManager,I as buildAssetsPath,O as compareFileSystemItems,Y as createSystemFolderByPathResolver,y as default,Q as defaultChildrenViewFilterMatch,R as defaultFileSystemItemComparator,S as defaultHasSortValue,a2 as defaultIsFolderNotFoundError,a5 as fetchRemoteImageBlobByUrl,K as getAssetsBase,Z as getTrashFolderLookupCandidates,T as hasComparableSortValue,q as init,x as initFileManager,v as initPixieEditor,D as installResizeObserverErrorHandler,J as joinUrls,H as mapHttpStatusToErrorCode,U as matchesChildrenViewFilter,_ as normalizeSystemFolderPath,V as resolveSortParams,W as resolveViewStrategyOptions,E as uninstallResizeObserverErrorHandler,s as unmount,w as unmountPixieEditor}from"./file-manager-index-B8YIsLbs.js";import"react/jsx-runtime";import"react";import"react-dom/client";import"antd";import"@ant-design/icons";import"@ant-design/cssinjs";import"react-dom";import"@untitledui/icons";import"browser-image-compression";import"pixie";
2
2
  //# sourceMappingURL=file-manager.esm.js.map