@emailmaker/filemanager 0.10.103 → 1.1.69

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 (31) hide show
  1. package/.build-meta.json +5 -0
  2. package/assets/image-editor/fonts/Rubik-Black.woff2 +0 -0
  3. package/assets/image-editor/fonts/Rubik-Bold.woff2 +0 -0
  4. package/assets/image-editor/fonts/Rubik-Light.woff2 +0 -0
  5. package/assets/image-editor/fonts/Rubik-Regular.woff2 +0 -0
  6. package/assets/image-editor/fonts/caveat-v23-cyrillic_latin-regular.woff2 +0 -0
  7. package/assets/image-editor/fonts/commissioner-v24-cyrillic_latin-regular.woff2 +0 -0
  8. package/assets/image-editor/fonts/inter-v20-cyrillic_latin-regular.woff2 +0 -0
  9. package/assets/image-editor/fonts/oswald-v57-cyrillic_latin-regular.woff2 +0 -0
  10. package/assets/image-editor/fonts/pacifico-v23-cyrillic_latin-regular.woff2 +0 -0
  11. package/assets/image-editor/fonts/playfair-display-v40-cyrillic_latin-regular.woff2 +0 -0
  12. package/components/PixieEditor/PixieEditor.d.ts +1 -2
  13. package/components/PixieEditor/index.d.ts +4 -1
  14. package/core.d.ts +21 -0
  15. package/core.esm.js +2690 -0
  16. package/core.js +2 -0
  17. package/{file-manager-IconsTab-Cv51TWYV.js → file-manager-IconsTab-BPDaI1rw.js} +526 -518
  18. package/{file-manager-ImageCodeGenerator-DroVucLL.js → file-manager-ImageCodeGenerator-Bfcf-n-G.js} +14 -14
  19. package/{file-manager-JsBarcode-Cji_rnaG.js → file-manager-JsBarcode-CyaffT5b.js} +28 -29
  20. package/file-manager-PixieEditor-BRUKJkjp.js +597 -0
  21. package/{file-manager-browser-CweGvoKm.js → file-manager-browser-DDyRNDQk.js} +4 -4
  22. package/{file-manager-hooks-Dg-OcR_x.js → file-manager-hooks-aNT0w8kI.js} +2527 -2364
  23. package/{file-manager-rolldown-runtime-DtPi1Y-2.js → file-manager-rolldown-runtime-DAVfCfog.js} +11 -4
  24. package/file-manager-urls-DN9gaYil.js +37 -0
  25. package/{file-manager-useMediaListEngine-ByGmaaib.js → file-manager-useMediaListEngine-zkDk3m1H.js} +6 -6
  26. package/file-manager.css +1 -1
  27. package/file-manager.esm.js +2930 -3609
  28. package/file-manager.js +11 -11
  29. package/package.json +24 -1
  30. package/utils/iconCssVars.d.ts +12 -0
  31. package/utils/svgToPng.test.d.ts +1 -0
package/package.json CHANGED
@@ -1,9 +1,32 @@
1
1
  {
2
2
  "name": "@emailmaker/filemanager",
3
- "version": "0.10.103",
3
+ "version": "1.1.69",
4
4
  "main": "./file-manager.js",
5
5
  "module": "./file-manager.esm.js",
6
6
  "types": "./index.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "types": "./index.d.ts",
10
+ "import": "./file-manager.esm.js",
11
+ "require": "./file-manager.js"
12
+ },
13
+ "./core": {
14
+ "types": "./core.d.ts",
15
+ "import": "./core.esm.js",
16
+ "require": "./core.js"
17
+ },
18
+ "./types": {
19
+ "types": "./types.d.ts"
20
+ },
21
+ "./types/*": {
22
+ "types": "./types/*.d.ts"
23
+ },
24
+ "./notification": {
25
+ "types": "./notification.d.ts"
26
+ },
27
+ "./package.json": "./package.json",
28
+ "./*": "./*"
29
+ },
7
30
  "style": "./file-manager.css",
8
31
  "license": "MIT",
9
32
  "peerDependencies": {
@@ -0,0 +1,12 @@
1
+ /**
2
+ * CSS-переменные раскраски иконок (`--em-icon-color-1` и подобные).
3
+ *
4
+ * Имена в исходниках пишутся без бренд-префикса, его проставляет трансформ сборки. Но видит он
5
+ * только строковые литералы и шаблоны — имя внутри regex-литерала (`/var\(--icon-color-2\)/`)
6
+ * остаётся непрефиксованным и перестаёт совпадать с тем, что реально попало в SVG. Поэтому
7
+ * регулярные выражения строим здесь, из того же правила префикса.
8
+ */
9
+ /** `var(--em-icon-color-1)` — ссылка на переменную. */
10
+ export declare function iconVarRef(name: string): string;
11
+ /** Регулярное выражение на такую же ссылку. */
12
+ export declare function iconVarRefPattern(name: string, flags?: string): RegExp;
@@ -0,0 +1 @@
1
+ export {};