@manuscripts/article-editor 3.9.3-LEAN-4611.1 → 4.0.0

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 (47) hide show
  1. package/dist/{es/lib/tracking.js → cjs/__mocks__/fileMock.js} +4 -35
  2. package/dist/cjs/__mocks__/fileMock.js.map +1 -0
  3. package/dist/{types/components/FileManager/FileGroup.d.ts → cjs/__mocks__/styleMock.js} +5 -9
  4. package/dist/cjs/__mocks__/styleMock.js.map +1 -0
  5. package/dist/cjs/components/FileManager/FileActions.js +1 -3
  6. package/dist/cjs/components/FileManager/FileActions.js.map +1 -1
  7. package/dist/cjs/components/FileManager/InlineFilesSection.js +28 -77
  8. package/dist/cjs/components/FileManager/InlineFilesSection.js.map +1 -1
  9. package/dist/cjs/lib/{tracking.js → __tests__/layout.test.js} +25 -38
  10. package/dist/cjs/lib/__tests__/layout.test.js.map +1 -0
  11. package/dist/cjs/lib/__tests__/preferences.test.js +50 -0
  12. package/dist/cjs/lib/__tests__/preferences.test.js.map +1 -0
  13. package/dist/cjs/lib/__tests__/roles.test.js +32 -0
  14. package/dist/cjs/lib/__tests__/roles.test.js.map +1 -0
  15. package/dist/cjs/lib/change-handlers.js +28 -5
  16. package/dist/cjs/lib/change-handlers.js.map +1 -1
  17. package/dist/es/__mocks__/fileMock.js +13 -0
  18. package/dist/es/__mocks__/fileMock.js.map +1 -0
  19. package/dist/es/__mocks__/styleMock.js +13 -0
  20. package/dist/es/__mocks__/styleMock.js.map +1 -0
  21. package/dist/es/components/FileManager/FileActions.js +1 -3
  22. package/dist/es/components/FileManager/FileActions.js.map +1 -1
  23. package/dist/es/components/FileManager/InlineFilesSection.js +31 -80
  24. package/dist/es/components/FileManager/InlineFilesSection.js.map +1 -1
  25. package/dist/es/lib/__tests__/layout.test.js +33 -0
  26. package/dist/es/lib/__tests__/layout.test.js.map +1 -0
  27. package/dist/es/lib/__tests__/preferences.test.js +25 -0
  28. package/dist/es/lib/__tests__/preferences.test.js.map +1 -0
  29. package/dist/es/lib/__tests__/roles.test.js +30 -0
  30. package/dist/es/lib/__tests__/roles.test.js.map +1 -0
  31. package/dist/es/lib/change-handlers.js +23 -1
  32. package/dist/es/lib/change-handlers.js.map +1 -1
  33. package/dist/types/__mocks__/fileMock.d.ts +13 -0
  34. package/dist/types/__mocks__/styleMock.d.ts +13 -0
  35. package/dist/types/components/FileManager/FileActions.d.ts +0 -1
  36. package/dist/types/components/projects/inputs.d.ts +1 -1
  37. package/dist/types/lib/{tracking.d.ts → __tests__/layout.test.d.ts} +0 -17
  38. package/dist/types/lib/__tests__/preferences.test.d.ts +12 -0
  39. package/dist/types/lib/__tests__/roles.test.d.ts +12 -0
  40. package/dist/types/lib/change-handlers.d.ts +1 -0
  41. package/package.json +77 -82
  42. package/dist/cjs/components/FileManager/FileGroup.js +0 -108
  43. package/dist/cjs/components/FileManager/FileGroup.js.map +0 -1
  44. package/dist/cjs/lib/tracking.js.map +0 -1
  45. package/dist/es/components/FileManager/FileGroup.js +0 -102
  46. package/dist/es/components/FileManager/FileGroup.js.map +0 -1
  47. package/dist/es/lib/tracking.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manuscripts/article-editor",
3
- "version": "3.9.3-LEAN-4611.1",
3
+ "version": "4.0.0",
4
4
  "license": "CPAL-1.0",
5
5
  "description": "React components for editing and viewing manuscripts",
6
6
  "repository": "github:Atypon-OpenSource/manuscripts-article-editor",
@@ -13,96 +13,91 @@
13
13
  "module": "dist/es",
14
14
  "types": "dist/types",
15
15
  "scripts": {
16
- "dev": "concurrently 'yarn:build:* --watch'",
17
- "build": "concurrently 'yarn:build:*'",
18
- "build:cjs": "tsc --outDir dist/cjs --module commonjs --project tsconfig.build.json",
19
- "build:es": "tsc --outDir dist/es --declarationDir dist/types --declaration --project tsconfig.build.json",
16
+ "dev": "npm-run-all --parallel 'build:* --watch'",
17
+ "build": "npm-run-all --parallel build:*",
18
+ "build:cjs": "tsc --outDir dist/cjs --module commonjs",
19
+ "build:es": "tsc --outDir dist/es --declarationDir dist/types --declaration",
20
20
  "test": "TZ=UTC jest --runInBand --detectOpenHandles --forceExit",
21
- "test:integration": "TZ=UTC jest --config=jest.integration.config.js --runInBand --detectOpenHandles --forceExit",
22
- "test:unit": "TZ=UTC jest --runInBand --detectOpenHandles --forceExit --testPathIgnorePatterns=Storyshots",
23
- "test:storyshots": "TZ=UTC jest --runInBand --detectOpenHandles --forceExit --testPathPattern=Storyshots",
24
- "test:watch": "jest --runInBand --testPathIgnorePatterns=Storyshots.test.ts --watch",
25
21
  "lint": "eslint src types --ext .ts,.tsx --max-warnings 0",
26
- "lint:fix": "eslint src types --fix --ext .ts,.tsx --max-warnings 0",
27
22
  "typecheck": "tsc --noEmit",
28
23
  "prettier": "prettier --write \"{src,stories,tests}/**/*.{js,ts,tsx,css}\"",
29
- "stats": "ALLOW_MISSING_VARIABLES=1 yarn --silent build --json > stats.json",
30
- "preversion": "concurrently typecheck lint",
24
+ "preversion": "npm-run-all --parallel typecheck lint",
31
25
  "prepare": "husky install",
32
- "version": "ALLOW_MISSING_VARIABLES=1 yarn build"
26
+ "version": "pnpm build"
33
27
  },
34
28
  "dependencies": {
35
- "@fontsource/lato": "^4.5.10",
36
- "@fontsource/pt-sans": "^4.5.11",
37
- "@fontsource/pt-serif": "^4.5.11",
38
- "@manuscripts/body-editor": "2.9.3-LEAN-4611.0",
39
- "@manuscripts/json-schema": "2.2.11",
40
- "@manuscripts/library": "1.3.14",
41
- "@manuscripts/style-guide": "2.1.13",
42
- "@manuscripts/track-changes-plugin": "1.10.9",
43
- "@manuscripts/transform": "3.1.3-LEAN-4611.0",
44
- "@popperjs/core": "^2.11.8",
45
- "@types/use-sync-external-store": "^0.0.6",
46
- "autotrack": "^2.4.1",
47
- "axios": "^1.6.7",
48
- "html-react-parser": "^5.1.16",
49
- "http-status-codes": "^2.2.0",
50
- "lodash": "^4.17.21",
51
- "prosemirror-utils": "^0.9.6",
52
- "react": "^18.3.1",
53
- "react-dnd": "^16.0.1",
54
- "react-dnd-html5-backend": "^16.0.1",
55
- "react-dom": "^18.3.1",
56
- "react-is": "^18.3.1",
57
- "react-modal": "^3.16.1",
58
- "react-popper": "^2.0.0",
59
- "react-select": "^5.7.3",
60
- "styled-components": "^5.2.0",
61
- "use-sync-external-store": "^1.2.2",
62
- "uuid": "^9.0.0",
63
- "yarn-run-all": "^3.1.1"
29
+ "@fontsource/lato": "5.2.5",
30
+ "@fontsource/pt-sans": "5.2.5",
31
+ "@fontsource/pt-serif": "5.2.5",
32
+ "@headlessui/react": "2.2.3",
33
+ "@manuscripts/body-editor": "3.0.0",
34
+ "@manuscripts/json-schema": "2.2.12",
35
+ "@manuscripts/style-guide": "3.0.0",
36
+ "@manuscripts/track-changes-plugin": "2.0.0",
37
+ "@manuscripts/transform": "4.0.0",
38
+ "@popperjs/core": "2.11.8",
39
+ "date-fns": "4.1.0",
40
+ "dompurify": "3.2.5",
41
+ "prosemirror-state": "1.4.3",
42
+ "prosemirror-model": "1.25.0",
43
+ "prosemirror-transform": "1.10.4",
44
+ "prosemirror-view": "1.40.0",
45
+ "prosemirror-utils": "1.2.2",
46
+ "axios": "1.9.0",
47
+ "html-react-parser": "5.2.5",
48
+ "jwt-decode": "4.0.0",
49
+ "lodash": "4.17.21",
50
+ "react": "18.3.1",
51
+ "react-dnd": "16.0.1",
52
+ "react-dnd-html5-backend": "16.0.1",
53
+ "react-dom": "18.3.1",
54
+ "react-is": "18.3.1",
55
+ "react-popper": "2.3.0",
56
+ "react-router-dom": "6.30.0",
57
+ "react-select": "5.10.1",
58
+ "styled-components": "5.3.11",
59
+ "use-sync-external-store": "1.5.0",
60
+ "uuid": "9.0.1"
64
61
  },
65
62
  "devDependencies": {
66
- "@babel/core": "^7.20.5",
67
- "@babel/preset-env": "^7.20.2",
68
- "@babel/preset-react": "^7.18.6",
69
- "@babel/preset-typescript": "^7.18.6",
70
- "@manuscripts/eslint-config": "^0.5.1",
71
- "@types/dompurify": "^2.0.4",
72
- "@types/google.analytics": "^0.0.45",
73
- "@types/jest": "^29.2.4",
74
- "@types/lodash": "^4.14.202",
75
- "@types/react": "^18.3.1",
76
- "@types/react-dom": "^18.3.0",
77
- "@types/react-modal": "^3.10.6",
78
- "@types/styled-components": "^5.1.4",
79
- "@types/uuid": "^9.0.8",
80
- "@typescript-eslint/eslint-plugin": "^5.47.0",
81
- "@typescript-eslint/parser": "^5.47.0",
82
- "babel-jest": "^29.3.1",
83
- "concurrently": "^7.6.0",
84
- "eslint": "^8.46.0",
85
- "eslint-config-prettier": "^8.5.0",
86
- "eslint-plugin-header": "^3.1.1",
87
- "eslint-plugin-import": "^2.26.0",
88
- "eslint-plugin-jest": "^27.1.7",
89
- "eslint-plugin-jsx-a11y": "^6.6.1",
90
- "eslint-plugin-mdx": "^2.0.5",
91
- "eslint-plugin-prettier": "^4.2.1",
92
- "eslint-plugin-promise": "^6.1.1",
93
- "eslint-plugin-react": "^7.31.11",
94
- "eslint-plugin-react-hooks": "^4.6.0",
95
- "eslint-plugin-simple-import-sort": "^8.0.0",
96
- "husky": "^8.0.2",
97
- "jest": "^29.3.1",
98
- "jest-environment-jsdom": "^29.3.1",
99
- "jest-junit": "^15.0.0",
100
- "jest-styled-components": "^7.1.1",
101
- "prettier": "^2.8.1",
102
- "react-dnd-test-backend": "^16.0.1",
103
- "typescript": "^4.0.5"
63
+ "@babel/core": "7.23.7",
64
+ "@babel/preset-env": "7.23.8",
65
+ "@babel/preset-react": "7.27.1",
66
+ "@babel/preset-typescript": "7.23.3",
67
+ "@manuscripts/eslint-config": "0.5.1",
68
+ "@types/jest": "29.5.14",
69
+ "@types/lodash": "4.17.16",
70
+ "@types/node": "20.17.46",
71
+ "@types/react": "18.3.21",
72
+ "@types/react-dom": "18.3.7",
73
+ "@types/styled-components": "5.1.34",
74
+ "@types/use-sync-external-store": "1.5.0",
75
+ "@types/uuid": "9.0.8",
76
+ "@typescript-eslint/eslint-plugin": "5.62.0",
77
+ "@typescript-eslint/parser": "5.62.0",
78
+ "babel-jest": "29.7.0",
79
+ "eslint": "8.57.1",
80
+ "eslint-config-prettier": "8.10.0",
81
+ "eslint-plugin-header": "3.1.1",
82
+ "eslint-plugin-import": "2.31.0",
83
+ "eslint-plugin-jest": "27.9.0",
84
+ "eslint-plugin-jsx-a11y": "6.10.2",
85
+ "eslint-plugin-mdx": "2.3.4",
86
+ "eslint-plugin-node": "11.1.0",
87
+ "eslint-plugin-prettier": "4.2.1",
88
+ "eslint-plugin-promise": "6.6.0",
89
+ "eslint-plugin-react": "7.37.5",
90
+ "eslint-plugin-react-hooks": "4.6.2",
91
+ "eslint-plugin-simple-import-sort": "8.0.0",
92
+ "husky": "8.0.3",
93
+ "jest": "29.7.0",
94
+ "jest-environment-jsdom": "29.7.0",
95
+ "npm-run-all": "4.1.5",
96
+ "prettier": "2.8.8",
97
+ "react-dnd-test-backend": "16.0.1",
98
+ "typescript": "4.9.5"
104
99
  },
105
- "resolutions": {
106
- "@types/react": "^18.3.1"
100
+ "engines": {
101
+ "node": ">=20.16.0"
107
102
  }
108
103
  }
@@ -1,108 +0,0 @@
1
- "use strict";
2
- /*!
3
- * The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://mpapp-public.gitlab.io/manuscripts-frontend/LICENSE. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.
4
- *
5
- * Software distributed under the License is distributed on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
6
- *
7
- * The Original Code is manuscripts-frontend.
8
- *
9
- * The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
10
- *
11
- * All portions of the code written by Atypon Systems LLC are Copyright (c) 2025 Atypon Systems LLC. All Rights Reserved.
12
- */
13
- var __importDefault = (this && this.__importDefault) || function (mod) {
14
- return (mod && mod.__esModule) ? mod : { "default": mod };
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.ToggleIcon = exports.FileGroupHeader = exports.FileLabel = exports.FileGroup = exports.FileGroupItemContainer = exports.FileGroupContainer = void 0;
18
- const styled_components_1 = __importDefault(require("styled-components"));
19
- exports.FileGroupContainer = styled_components_1.default.div `
20
- margin: 20px 0px 20px 15px;
21
- `;
22
- exports.FileGroupItemContainer = styled_components_1.default.div `
23
- display: flex;
24
- align-items: center;
25
- cursor: pointer;
26
- padding: 24px 18px;
27
-
28
- .react-tooltip {
29
- max-width: 100% !important;
30
- }
31
-
32
- svg {
33
- width: 16px;
34
- }
35
-
36
- &.dragging {
37
- opacity: 0.2;
38
- }
39
-
40
- .show-on-hover {
41
- visibility: hidden;
42
- }
43
-
44
- &:hover .show-on-hover {
45
- visibility: visible;
46
- }
47
-
48
- &:hover,
49
- &:focus {
50
- background: #f2fbfc;
51
- }
52
- `;
53
- exports.FileGroup = styled_components_1.default.div `
54
- display: block;
55
- `;
56
- exports.FileLabel = styled_components_1.default.div `
57
- color: ${(props) => props.theme.colors.text.primary};
58
- font-weight: bold;
59
- font-size: 16px;
60
- line-height: 20px;
61
- white-space: nowrap;
62
- align-content: center;
63
- `;
64
- exports.FileGroupHeader = styled_components_1.default.div `
65
- display: flex;
66
- align-items: center;
67
- cursor: pointer;
68
- padding-right: 20px;
69
-
70
- .file-icon {
71
- margin-right: ${(props) => props.theme.grid.unit * 2}px; /* Adjust as needed */
72
- }
73
-
74
- ${exports.FileLabel} {
75
- margin-right: auto;
76
- }
77
- `;
78
- exports.ToggleIcon = styled_components_1.default.div `
79
- width: 20px;
80
- height: 20px;
81
- border-radius: 50%;
82
- border: 1px solid #e2e2e2;
83
- text-align: center;
84
- cursor: pointer;
85
-
86
- svg {
87
- width: 19px;
88
- height: 19px;
89
- transition: transform 0.2s ease; // Smooth transition for rotation
90
- }
91
-
92
- // Style for TriangleCollapsedIcon (when collapsed)
93
- ${(props) => !props.isOpen &&
94
- `
95
- svg {
96
- transform: rotate(270deg); // Point downward when collapsed
97
- }
98
- `}
99
-
100
- // Style for TriangleExpandedIcon (when expanded)
101
- ${(props) => props.isOpen &&
102
- `
103
- svg {
104
- transform: rotate(0deg); // Point upward when expanded
105
- }
106
- `}
107
- `;
108
- //# sourceMappingURL=FileGroup.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FileGroup.js","sourceRoot":"","sources":["../../../../src/components/FileManager/FileGroup.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;;;;AAEH,0EAAsC;AAEzB,QAAA,kBAAkB,GAAG,2BAAM,CAAC,GAAG,CAAA;;CAE3C,CAAA;AACY,QAAA,sBAAsB,GAAG,2BAAM,CAAC,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8B/C,CAAA;AAEY,QAAA,SAAS,GAAG,2BAAM,CAAC,GAAG,CAAA;;CAElC,CAAA;AACY,QAAA,SAAS,GAAG,2BAAM,CAAC,GAAG,CAAA;WACxB,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO;;;;;;CAMpD,CAAA;AAEY,QAAA,eAAe,GAAG,2BAAM,CAAC,GAAG,CAAA;;;;;;;oBAOrB,CAAC,KAAK,EAAE,EAAE,CACxB,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC;;;IAG3B,iBAAS;;;CAGZ,CAAA;AAEY,QAAA,UAAU,GAAG,2BAAM,CAAC,GAAG,CAAqB;;;;;;;;;;;;;;;IAerD,CAAC,KAAK,EAAE,EAAE,CACV,CAAC,KAAK,CAAC,MAAM;IACb;;;;GAID;;;IAGC,CAAC,KAAK,EAAE,EAAE,CACV,KAAK,CAAC,MAAM;IACZ;;;;GAID;CACF,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"tracking.js","sourceRoot":"","sources":["../../../src/lib/tracking.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAqBI,MAAM,UAAU,GAAe,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE;IAC3E,IAAI,MAAM,CAAC,EAAE,EAAE;QACb,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE;YAChB,OAAO,EAAE,OAAO;YAChB,aAAa,EAAE,QAAQ;YACvB,WAAW,EAAE,MAAM;YACnB,UAAU,EAAE,KAAK;YACjB,UAAU,EAAE,KAAK;SAClB,CAAC,CAAA;KACH;AACH,CAAC,CAAA;AAVY,QAAA,UAAU,cAUtB;AAEM,MAAM,oBAAoB,GAAG,CAAC,SAAiB,EAAU,EAAE;IAChE,QAAQ,SAAS,EAAE;QACjB,KAAK,QAAQ,CAAC,CAAC;YACb,OAAO,SAAS,CAAA;SACjB;QACD,KAAK,QAAQ,CAAC;QACd,KAAK,gBAAgB,CAAC,CAAC;YACrB,OAAO,UAAU,CAAA;SAClB;QACD,KAAK,WAAW,CAAC,CAAC;YAChB,OAAO,SAAS,CAAA;SACjB;QACD,KAAK,YAAY,CAAC,CAAC;YACjB,OAAO,OAAO,CAAA;SACf;QACD,KAAK,MAAM,CAAC,CAAC;YACX,OAAO,MAAM,CAAA;SACd;QACD,OAAO,CAAC,CAAC;YACP,OAAO,MAAM,CAAA;SACd;KACF;AACH,CAAC,CAAA;AAtBY,QAAA,oBAAoB,wBAsBhC"}
@@ -1,102 +0,0 @@
1
- /*!
2
- * The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://mpapp-public.gitlab.io/manuscripts-frontend/LICENSE. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.
3
- *
4
- * Software distributed under the License is distributed on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
5
- *
6
- * The Original Code is manuscripts-frontend.
7
- *
8
- * The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
9
- *
10
- * All portions of the code written by Atypon Systems LLC are Copyright (c) 2025 Atypon Systems LLC. All Rights Reserved.
11
- */
12
- import styled from 'styled-components';
13
- export const FileGroupContainer = styled.div `
14
- margin: 20px 0px 20px 15px;
15
- `;
16
- export const FileGroupItemContainer = styled.div `
17
- display: flex;
18
- align-items: center;
19
- cursor: pointer;
20
- padding: 24px 18px;
21
-
22
- .react-tooltip {
23
- max-width: 100% !important;
24
- }
25
-
26
- svg {
27
- width: 16px;
28
- }
29
-
30
- &.dragging {
31
- opacity: 0.2;
32
- }
33
-
34
- .show-on-hover {
35
- visibility: hidden;
36
- }
37
-
38
- &:hover .show-on-hover {
39
- visibility: visible;
40
- }
41
-
42
- &:hover,
43
- &:focus {
44
- background: #f2fbfc;
45
- }
46
- `;
47
- export const FileGroup = styled.div `
48
- display: block;
49
- `;
50
- export const FileLabel = styled.div `
51
- color: ${(props) => props.theme.colors.text.primary};
52
- font-weight: bold;
53
- font-size: 16px;
54
- line-height: 20px;
55
- white-space: nowrap;
56
- align-content: center;
57
- `;
58
- export const FileGroupHeader = styled.div `
59
- display: flex;
60
- align-items: center;
61
- cursor: pointer;
62
- padding-right: 20px;
63
-
64
- .file-icon {
65
- margin-right: ${(props) => props.theme.grid.unit * 2}px; /* Adjust as needed */
66
- }
67
-
68
- ${FileLabel} {
69
- margin-right: auto;
70
- }
71
- `;
72
- export const ToggleIcon = styled.div `
73
- width: 20px;
74
- height: 20px;
75
- border-radius: 50%;
76
- border: 1px solid #e2e2e2;
77
- text-align: center;
78
- cursor: pointer;
79
-
80
- svg {
81
- width: 19px;
82
- height: 19px;
83
- transition: transform 0.2s ease; // Smooth transition for rotation
84
- }
85
-
86
- // Style for TriangleCollapsedIcon (when collapsed)
87
- ${(props) => !props.isOpen &&
88
- `
89
- svg {
90
- transform: rotate(270deg); // Point downward when collapsed
91
- }
92
- `}
93
-
94
- // Style for TriangleExpandedIcon (when expanded)
95
- ${(props) => props.isOpen &&
96
- `
97
- svg {
98
- transform: rotate(0deg); // Point upward when expanded
99
- }
100
- `}
101
- `;
102
- //# sourceMappingURL=FileGroup.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FileGroup.js","sourceRoot":"","sources":["../../../../src/components/FileManager/FileGroup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,MAAM,MAAM,mBAAmB,CAAA;AAEtC,MAAM,CAAC,MAAM,kBAAkB,GAAG,MAAM,CAAC,GAAG,CAAA;;CAE3C,CAAA;AACD,MAAM,CAAC,MAAM,sBAAsB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8B/C,CAAA;AAED,MAAM,CAAC,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAA;;CAElC,CAAA;AACD,MAAM,CAAC,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAA;WACxB,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO;;;;;;CAMpD,CAAA;AAED,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;oBAOrB,CAAC,KAAK,EAAE,EAAE,CACxB,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC;;;IAG3B,SAAS;;;CAGZ,CAAA;AAED,MAAM,CAAC,MAAM,UAAU,GAAG,MAAM,CAAC,GAAG,CAAqB;;;;;;;;;;;;;;;IAerD,CAAC,KAAK,EAAE,EAAE,CACV,CAAC,KAAK,CAAC,MAAM;IACb;;;;GAID;;;IAGC,CAAC,KAAK,EAAE,EAAE,CACV,KAAK,CAAC,MAAM;IACZ;;;;GAID;CACF,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"tracking.js","sourceRoot":"","sources":["../../../src/lib/tracking.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAqBH,MAAM,CAAC,MAAM,UAAU,GAAe,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE;IAC3E,IAAI,MAAM,CAAC,EAAE,EAAE;QACb,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE;YAChB,OAAO,EAAE,OAAO;YAChB,aAAa,EAAE,QAAQ;YACvB,WAAW,EAAE,MAAM;YACnB,UAAU,EAAE,KAAK;YACjB,UAAU,EAAE,KAAK;SAClB,CAAC,CAAA;KACH;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,SAAiB,EAAU,EAAE;IAChE,QAAQ,SAAS,EAAE;QACjB,KAAK,QAAQ,CAAC,CAAC;YACb,OAAO,SAAS,CAAA;SACjB;QACD,KAAK,QAAQ,CAAC;QACd,KAAK,gBAAgB,CAAC,CAAC;YACrB,OAAO,UAAU,CAAA;SAClB;QACD,KAAK,WAAW,CAAC,CAAC;YAChB,OAAO,SAAS,CAAA;SACjB;QACD,KAAK,YAAY,CAAC,CAAC;YACjB,OAAO,OAAO,CAAA;SACf;QACD,KAAK,MAAM,CAAC,CAAC;YACX,OAAO,MAAM,CAAA;SACd;QACD,OAAO,CAAC,CAAC;YACP,OAAO,MAAM,CAAA;SACd;KACF;AACH,CAAC,CAAA"}