@layers-app/shared 0.3.9 → 0.4.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 (103) hide show
  1. package/dist/components/AnimatedFigurePage/AnimatedFigurePage.module.css.js +10 -10
  2. package/dist/components/AppContainer/AppContainer.d.ts +6 -1
  3. package/dist/components/AppContainer/AppContainer.d.ts.map +1 -1
  4. package/dist/components/AppContainer/AppContainer.module.css.js +1 -1
  5. package/dist/components/AppContainer/components/ToolbarNewButton.d.ts +7 -2
  6. package/dist/components/AppContainer/components/ToolbarNewButton.d.ts.map +1 -1
  7. package/dist/components/AppContainer/components/ToolbarNewButton.js +14 -14
  8. package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.module.css.js +1 -1
  9. package/dist/components/AppShell/AppShell.module.css.js +5 -5
  10. package/dist/components/AttachmentsGalleryModal/components/GallerySlide.d.ts.map +1 -1
  11. package/dist/components/AttachmentsGalleryModal/components/GallerySlide.js +33 -27
  12. package/dist/components/AttachmentsGalleryModal/components/ModalHeader.d.ts.map +1 -1
  13. package/dist/components/AttachmentsGalleryModal/components/ModalHeader.js +60 -47
  14. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.module.css.js +4 -4
  15. package/dist/components/AttachmentsGalleryModal/components/UnsupportedSection.d.ts +2 -1
  16. package/dist/components/AttachmentsGalleryModal/components/UnsupportedSection.d.ts.map +1 -1
  17. package/dist/components/AttachmentsGalleryModal/components/UnsupportedSection.js +13 -12
  18. package/dist/components/AttachmentsGalleryModal/styles.module.css.js +17 -17
  19. package/dist/components/AttachmentsPreview/AttachmentsPreview.module.css.js +1 -1
  20. package/dist/components/BouncingLogo/BouncingLogo.module.css.js +8 -8
  21. package/dist/components/CollapsibleContainer/CollapsibleContainer.module.css.js +1 -1
  22. package/dist/components/ColorPicker/ColorPicker.d.ts +9 -13
  23. package/dist/components/ColorPicker/ColorPicker.d.ts.map +1 -1
  24. package/dist/components/ColorPicker/ColorPicker.js +139 -145
  25. package/dist/components/ColorPicker/ColorPicker.module.css.js +8 -8
  26. package/dist/components/ColorPicker/ColorPickerToolbar.d.ts.map +1 -1
  27. package/dist/components/ColorPicker/ColorPickerToolbar.js +88 -71
  28. package/dist/components/ColorPicker/icons.js +4 -4
  29. package/dist/components/CommentComposer/CommentComposer.module.css.js +4 -4
  30. package/dist/components/CommentComposer/CommentEditorHotkeys.d.ts.map +1 -1
  31. package/dist/components/CommentComposer/CommentEditorHotkeys.js +4 -3
  32. package/dist/components/CommentComposer/index.js +1 -1
  33. package/dist/components/CommunitiesDialog/styles.module.css.js +1 -1
  34. package/dist/components/Copyright/Copyright.module.css.js +1 -1
  35. package/dist/components/CustomKBD/CustomKBD.module.css.js +1 -1
  36. package/dist/components/EmojiPicker/EmojiPanel.d.ts.map +1 -1
  37. package/dist/components/EmojiPicker/EmojiPanel.js +22 -22
  38. package/dist/components/EmojiPicker/EmojiPicker.d.ts.map +1 -1
  39. package/dist/components/EmojiPicker/EmojiPicker.js +1 -0
  40. package/dist/components/EmojiPicker/EmojiPicker.module.css.js +8 -8
  41. package/dist/components/EmojiPicker/IconsPanel.js +13 -13
  42. package/dist/components/EntityTitle/EntityTitle.module.css.js +1 -1
  43. package/dist/components/ErrorPage/components/Error404.d.ts.map +1 -1
  44. package/dist/components/FeatureProgress/FeatureProgress.module.css.js +49 -49
  45. package/dist/components/FilePicker/FilePicker.d.ts +4 -2
  46. package/dist/components/FilePicker/FilePicker.d.ts.map +1 -1
  47. package/dist/components/FilePicker/FilePicker.js +241 -226
  48. package/dist/components/FilePicker/FilePicker.module.css.js +14 -12
  49. package/dist/components/FilePicker/FilePickerGallery.d.ts.map +1 -1
  50. package/dist/components/FilePicker/FilePickerGallery.js +60 -34
  51. package/dist/components/FilePicker/FilePickerGiphy.d.ts.map +1 -1
  52. package/dist/components/FilePicker/FilePickerGiphy.js +38 -39
  53. package/dist/components/FilePicker/FilePickerLink.d.ts.map +1 -1
  54. package/dist/components/FilePicker/FilePickerLink.js +29 -26
  55. package/dist/components/FilePicker/FilePickerUnsplash.d.ts.map +1 -1
  56. package/dist/components/FilePicker/FilePickerUnsplash.js +42 -43
  57. package/dist/components/FilePicker/FilePickerUpload.d.ts.map +1 -1
  58. package/dist/components/FilePicker/FilePickerUpload.js +51 -35
  59. package/dist/components/FilePicker/coverCollections.d.ts +4 -0
  60. package/dist/components/FilePicker/coverCollections.d.ts.map +1 -0
  61. package/dist/components/FilePicker/coverCollections.js +164 -0
  62. package/dist/components/FilePicker/index.d.ts +1 -0
  63. package/dist/components/FilePicker/index.d.ts.map +1 -1
  64. package/dist/components/FormViewer/FormViewer.module.css.js +20 -20
  65. package/dist/components/FormViewer/components/fields/DragOptions/DragOptions.module.css.js +1 -1
  66. package/dist/components/FormViewer/components/fields/DropdownField/DropdownField.module.css.js +1 -1
  67. package/dist/components/FormViewer/components/fields/EditableContent/EditableContent.module.css.js +1 -1
  68. package/dist/components/FormViewer/components/fields/SelectableCard/SelectableCard.module.css.js +8 -8
  69. package/dist/components/FormViewer/components/fields/UploadField/UploadFile/UploadFile.module.css.js +4 -4
  70. package/dist/components/FormViewer/store/formStore.d.ts.map +1 -1
  71. package/dist/components/ImageCropper/ImageCropper.module.css.js +38 -38
  72. package/dist/components/IntegrationFlowAnimation/IntegrationFlowAnimation.module.css.js +11 -11
  73. package/dist/components/LanguagePicker/LanguagePicker.module.css.js +1 -1
  74. package/dist/components/Loaders/styles.module.css.js +6 -6
  75. package/dist/components/MediaLibrary/MediaLibrary.module.css.js +2 -2
  76. package/dist/components/NavMenu/NavMenu.module.css.js +12 -12
  77. package/dist/components/NavbarResizer/NavbarResizer.module.css.js +2 -2
  78. package/dist/components/NotPublicPanel/NotPublicPanel.module.css.js +11 -11
  79. package/dist/components/Notification/Notification.module.css.js +1 -1
  80. package/dist/components/OnBoarding/steps/DifferentLayouts/styles.module.css.js +3 -3
  81. package/dist/components/OnBoarding/steps/styles.module.css.js +9 -9
  82. package/dist/components/OnBoarding/styles.module.css.js +7 -7
  83. package/dist/components/SearchFilters/SearchFilters.module.css.js +1 -1
  84. package/dist/components/SettingsSection/styles.module.css.js +1 -1
  85. package/dist/components/StorageUsageProgress/StorageUsageProgress.module.css.js +1 -1
  86. package/dist/components/TreeIndent/TreeIndent.module.css.js +4 -4
  87. package/dist/components/table/FrontTable.d.ts.map +1 -1
  88. package/dist/components/table/hooks/useColumnsResizing.d.ts.map +1 -1
  89. package/dist/helpers/getFileType.d.ts +1 -1
  90. package/dist/helpers/showFeatureFeedback.module.css.js +4 -4
  91. package/dist/helpers/showNotifications.module.css.js +1 -1
  92. package/dist/index.css +1 -1
  93. package/dist/index.d.ts +1 -1
  94. package/dist/index.d.ts.map +1 -1
  95. package/dist/index.js +466 -463
  96. package/dist/lang/locales/ui_en.json.js +20 -18
  97. package/dist/lang/locales/ui_es.json.js +14 -12
  98. package/dist/lang/locales/ui_ru.json.js +15 -13
  99. package/docs/README.md +499 -499
  100. package/package.json +75 -75
  101. package/dist/components/TextColorIcon.d.ts +0 -8
  102. package/dist/components/TextColorIcon.d.ts.map +0 -1
  103. package/dist/components/TextColorIcon.js +0 -60
package/package.json CHANGED
@@ -1,75 +1,75 @@
1
- {
2
- "name": "@layers-app/shared",
3
- "version": "0.3.9",
4
- "description": "Shared components, hooks, and utilities for Layers application",
5
- "files": [
6
- "dist",
7
- "docs"
8
- ],
9
- "publishConfig": {
10
- "access": "public"
11
- },
12
- "type": "module",
13
- "main": "dist/index.js",
14
- "module": "dist/index.js",
15
- "types": "dist/index.d.ts",
16
- "sideEffects": [
17
- "**/*.css"
18
- ],
19
- "exports": {
20
- ".": {
21
- "import": "./dist/index.js",
22
- "types": "./dist/index.d.ts"
23
- },
24
- "./styles": "./dist/index.css",
25
- "./dist/*": "./dist/*",
26
- "./assets/*": "./src/assets/*",
27
- "./package.json": "./package.json"
28
- },
29
- "scripts": {
30
- "build": "NODE_OPTIONS='--max-old-space-size=8192' vite build && tsc --project tsconfig.build.json",
31
- "check:ts": "tsc --noEmit",
32
- "prePublish": "vite build && npm version patch",
33
- "watch": "vite build --watch"
34
- },
35
- "peerDependencies": {
36
- "@gfazioli/mantine-onboarding-tour": "^4.0.0",
37
- "@dnd-kit/core": "^6.0.0",
38
- "@dnd-kit/sortable": "^8.0.0",
39
- "@dnd-kit/utilities": "^3.2.0",
40
- "@mantine/core": ">=9.0.0",
41
- "@mantine/dates": ">=9.0.0",
42
- "@mantine/dropzone": ">=9.0.0",
43
- "@mantine/form": ">=9.0.0",
44
- "@mantine/hooks": ">=9.0.0",
45
- "@mantine/modals": ">=9.0.0",
46
- "@mantine/notifications": ">=9.0.0",
47
- "@reduxjs/toolkit": "^2.2.7",
48
- "@tabler/icons-react": "^3.7.0",
49
- "@tabler/icons-sprite": "^3.29.0",
50
- "@tanstack/react-query": "^5.52.2",
51
- "@tanstack/virtual-core": "^3.0.0",
52
- "chroma-js": "^3.1.2",
53
- "date-fns": "^4.1.0",
54
- "draggable-ui": "^0.0.1",
55
- "emoji-mart": "^5.6.0",
56
- "@emoji-mart/data": "^1.2.1",
57
- "exceljs": "^4.3.0",
58
- "framer-motion": "^11.3.24",
59
- "fuse.js": "^7.1.0",
60
- "i18next": "^25.5.2",
61
- "lodash-es": "^4.17.21",
62
- "query-string": "^9.1.0",
63
- "react": "^19.2.0",
64
- "react-dom": "^19.2.0",
65
- "react-helmet": "^6.1.0",
66
- "react-i18next": "^15.7.3",
67
- "react-router-dom": "^7.5.2",
68
- "react-zoom-pan-pinch": "^3.0.0",
69
- "shaka-player": "^4.0.0",
70
- "shaka-player-react": "^1.1.5",
71
- "styled-components": "^6.0.0",
72
- "zod": "^4.0.0",
73
- "zustand": "^5.0.3"
74
- }
75
- }
1
+ {
2
+ "name": "@layers-app/shared",
3
+ "version": "0.4.1",
4
+ "description": "Shared components, hooks, and utilities for Layers application",
5
+ "files": [
6
+ "dist",
7
+ "docs"
8
+ ],
9
+ "publishConfig": {
10
+ "access": "public"
11
+ },
12
+ "type": "module",
13
+ "main": "dist/index.js",
14
+ "module": "dist/index.js",
15
+ "types": "dist/index.d.ts",
16
+ "sideEffects": [
17
+ "**/*.css"
18
+ ],
19
+ "exports": {
20
+ ".": {
21
+ "import": "./dist/index.js",
22
+ "types": "./dist/index.d.ts"
23
+ },
24
+ "./styles": "./dist/index.css",
25
+ "./dist/*": "./dist/*",
26
+ "./assets/*": "./src/assets/*",
27
+ "./package.json": "./package.json"
28
+ },
29
+ "scripts": {
30
+ "build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build && tsc --project tsconfig.build.json",
31
+ "check:ts": "tsc --noEmit",
32
+ "prePublish": "vite build && npm version patch",
33
+ "watch": "vite build --watch"
34
+ },
35
+ "peerDependencies": {
36
+ "@gfazioli/mantine-onboarding-tour": "^4.0.0",
37
+ "@dnd-kit/core": "^6.0.0",
38
+ "@dnd-kit/sortable": "^8.0.0",
39
+ "@dnd-kit/utilities": "^3.2.0",
40
+ "@mantine/core": ">=9.0.0",
41
+ "@mantine/dates": ">=9.0.0",
42
+ "@mantine/dropzone": ">=9.0.0",
43
+ "@mantine/form": ">=9.0.0",
44
+ "@mantine/hooks": ">=9.0.0",
45
+ "@mantine/modals": ">=9.0.0",
46
+ "@mantine/notifications": ">=9.0.0",
47
+ "@reduxjs/toolkit": "^2.2.7",
48
+ "@tabler/icons-react": "^3.7.0",
49
+ "@tabler/icons-sprite": "^3.29.0",
50
+ "@tanstack/react-query": "^5.52.2",
51
+ "@tanstack/virtual-core": "^3.0.0",
52
+ "chroma-js": "^3.1.2",
53
+ "date-fns": "^4.1.0",
54
+ "draggable-ui": "^0.0.1",
55
+ "emoji-mart": "^5.6.0",
56
+ "@emoji-mart/data": "^1.2.1",
57
+ "exceljs": "^4.3.0",
58
+ "framer-motion": "^11.3.24",
59
+ "fuse.js": "^7.1.0",
60
+ "i18next": "^25.5.2",
61
+ "lodash-es": "^4.17.21",
62
+ "query-string": "^9.1.0",
63
+ "react": "^19.2.0",
64
+ "react-dom": "^19.2.0",
65
+ "react-helmet": "^6.1.0",
66
+ "react-i18next": "^15.7.3",
67
+ "react-router-dom": "^7.5.2",
68
+ "react-zoom-pan-pinch": "^3.0.0",
69
+ "shaka-player": "^4.0.0",
70
+ "shaka-player-react": "^1.1.5",
71
+ "styled-components": "^6.0.0",
72
+ "zod": "^4.0.0",
73
+ "zustand": "^5.0.3"
74
+ }
75
+ }
@@ -1,8 +0,0 @@
1
- import { SVGProps } from 'react';
2
- export interface TextColorIconProps extends SVGProps<SVGSVGElement> {
3
- size?: number;
4
- color?: string;
5
- showBorder?: boolean;
6
- }
7
- export declare const TextColorIcon: ({ size, color, showBorder, ...props }: TextColorIconProps) => import("react/jsx-runtime").JSX.Element;
8
- //# sourceMappingURL=TextColorIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextColorIcon.d.ts","sourceRoot":"","sources":["../../src/components/TextColorIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,WAAW,kBAAmB,SAAQ,QAAQ,CAAC,aAAa,CAAC;IACjE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,aAAa,GAAI,uCAK3B,kBAAkB,4CAwCpB,CAAC"}
@@ -1,60 +0,0 @@
1
- import { jsxs as s, jsx as r } from "react/jsx-runtime";
2
- const i = ({
3
- size: o = 20,
4
- color: t = "currentColor",
5
- showBorder: e = !1,
6
- ...n
7
- }) => /* @__PURE__ */ s(
8
- "svg",
9
- {
10
- width: o,
11
- height: o,
12
- viewBox: "0 0 20 20",
13
- fill: "none",
14
- xmlns: "http://www.w3.org/2000/svg",
15
- "aria-hidden": !0,
16
- ...n,
17
- children: [
18
- /* @__PURE__ */ r(
19
- "path",
20
- {
21
- d: "M5.25 14.75L8.85 5.25H11.15L14.75 14.75",
22
- stroke: "currentColor",
23
- strokeWidth: "1.6",
24
- strokeLinecap: "round",
25
- strokeLinejoin: "round"
26
- }
27
- ),
28
- /* @__PURE__ */ r(
29
- "path",
30
- {
31
- d: "M7.1 10.75H12.9",
32
- stroke: "currentColor",
33
- strokeWidth: "1.6",
34
- strokeLinecap: "round"
35
- }
36
- ),
37
- e ? /* @__PURE__ */ r(
38
- "path",
39
- {
40
- d: "M4.75 16.25H15.25",
41
- stroke: "currentColor",
42
- strokeWidth: "1.4",
43
- strokeLinecap: "round"
44
- }
45
- ) : null,
46
- /* @__PURE__ */ r(
47
- "path",
48
- {
49
- d: "M4.75 17.25H15.25",
50
- stroke: t,
51
- strokeWidth: "1.8",
52
- strokeLinecap: "round"
53
- }
54
- )
55
- ]
56
- }
57
- );
58
- export {
59
- i as TextColorIcon
60
- };