@wireapp/react-ui-kit 9.29.2 → 9.30.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.
- package/lib/Icon/Files/ArchiveFileIcon.d.ts +3 -0
- package/lib/Icon/Files/ArchiveFileIcon.d.ts.map +1 -0
- package/lib/Icon/Files/ArchiveFileIcon.js +27 -0
- package/lib/Icon/Files/AudioFileIcon.d.ts +3 -0
- package/lib/Icon/Files/AudioFileIcon.d.ts.map +1 -0
- package/lib/Icon/Files/AudioFileIcon.js +27 -0
- package/lib/Icon/Files/CodeFileIcon.d.ts +3 -0
- package/lib/Icon/Files/CodeFileIcon.d.ts.map +1 -0
- package/lib/Icon/Files/CodeFileIcon.js +27 -0
- package/lib/Icon/Files/DocumentFileIcon.d.ts +3 -0
- package/lib/Icon/Files/DocumentFileIcon.d.ts.map +1 -0
- package/lib/Icon/Files/DocumentFileIcon.js +27 -0
- package/lib/Icon/Files/ImageFileIcon.d.ts +3 -0
- package/lib/Icon/Files/ImageFileIcon.d.ts.map +1 -0
- package/lib/Icon/Files/ImageFileIcon.js +27 -0
- package/lib/Icon/Files/OtherFileIcon.d.ts +3 -0
- package/lib/Icon/Files/OtherFileIcon.d.ts.map +1 -0
- package/lib/Icon/Files/OtherFileIcon.js +27 -0
- package/lib/Icon/Files/PdfFileIcon.d.ts +3 -0
- package/lib/Icon/Files/PdfFileIcon.d.ts.map +1 -0
- package/lib/Icon/Files/PdfFileIcon.js +27 -0
- package/lib/Icon/Files/PresentationFileIcon.d.ts +3 -0
- package/lib/Icon/Files/PresentationFileIcon.d.ts.map +1 -0
- package/lib/Icon/Files/PresentationFileIcon.js +27 -0
- package/lib/Icon/Files/SpreadsheetFileIcon.d.ts +3 -0
- package/lib/Icon/Files/SpreadsheetFileIcon.d.ts.map +1 -0
- package/lib/Icon/Files/SpreadsheetFileIcon.js +27 -0
- package/lib/Icon/Files/VideoFileIcon.d.ts +3 -0
- package/lib/Icon/Files/VideoFileIcon.d.ts.map +1 -0
- package/lib/Icon/Files/VideoFileIcon.js +27 -0
- package/lib/Icon/LinkIcon.js +1 -1
- package/lib/Icon/SVGIcon.d.ts +1 -1
- package/lib/Icon/SVGIcon.d.ts.map +1 -1
- package/lib/Icon/SVGIcon.js +2 -2
- package/lib/Icon/index.d.ts +10 -0
- package/lib/Icon/index.d.ts.map +1 -1
- package/lib/Icon/index.js +10 -0
- package/lib/Theme/GlobalCssVariables.d.ts.map +1 -1
- package/lib/Theme/GlobalCssVariables.js +60 -0
- package/package.json +7 -7
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArchiveFileIcon.d.ts","sourceRoot":"","sources":["../../../src/Icon/Files/ArchiveFileIcon.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAAU,YAAY,EAAC,MAAM,YAAY,CAAC;AAEjD,eAAO,MAAM,eAAe,iBAAgB,YAAY,qDAgBvD,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ArchiveFileIcon = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("@emotion/react/jsx-runtime");
|
|
5
|
+
/*
|
|
6
|
+
* Wire
|
|
7
|
+
* Copyright (C) 2025 Wire Swiss GmbH
|
|
8
|
+
*
|
|
9
|
+
* This program is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see http://www.gnu.org/licenses/.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const SVGIcon_1 = require("../SVGIcon");
|
|
24
|
+
const ArchiveFileIcon = ({ ...props }) => {
|
|
25
|
+
return ((0, jsx_runtime_1.jsxs)(SVGIcon_1.SVGIcon, { realWidth: 14, realHeight: 16, fill: "none", ...props, children: [(0, jsx_runtime_1.jsx)("path", { fill: "var(--archive-file-icon-bg)", stroke: "var(--archive-file-icon-stroke)", d: "M.996 2.5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v9.006a2.5 2.5 0 0 1-.719 1.754l-1.47 1.494a2.5 2.5 0 0 1-1.782.746h-6.03a2 2 0 0 1-2-2v-11Z" }), (0, jsx_runtime_1.jsx)("path", { stroke: "var(--archive-file-icon-stroke)", d: "M12.996 11.5a4 4 0 0 0-4 4" }), (0, jsx_runtime_1.jsx)("path", { fill: "var(--archive-file-icon-stroke)", d: "M3.496 8.5a.5.5 0 1 0 1 0h-1Zm0-8v8h1v-8h-1Z" }), (0, jsx_runtime_1.jsx)("path", { stroke: "var(--archive-file-icon-stroke)", d: "M5.496 2h-1M3.496 3h-1M5.496 4h-1M3.496 5h-1M5.496 6h-1M3.496 7h-1" })] }));
|
|
26
|
+
};
|
|
27
|
+
exports.ArchiveFileIcon = ArchiveFileIcon;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AudioFileIcon.d.ts","sourceRoot":"","sources":["../../../src/Icon/Files/AudioFileIcon.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAAU,YAAY,EAAC,MAAM,YAAY,CAAC;AAEjD,eAAO,MAAM,aAAa,iBAAgB,YAAY,qDAmBrD,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AudioFileIcon = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("@emotion/react/jsx-runtime");
|
|
5
|
+
/*
|
|
6
|
+
* Wire
|
|
7
|
+
* Copyright (C) 2025 Wire Swiss GmbH
|
|
8
|
+
*
|
|
9
|
+
* This program is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see http://www.gnu.org/licenses/.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const SVGIcon_1 = require("../SVGIcon");
|
|
24
|
+
const AudioFileIcon = ({ ...props }) => {
|
|
25
|
+
return ((0, jsx_runtime_1.jsxs)(SVGIcon_1.SVGIcon, { realWidth: 14, realHeight: 16, fill: "none", ...props, children: [(0, jsx_runtime_1.jsx)("path", { fill: "var(--audio-file-icon-bg)", stroke: "var(--audio-file-icon-stroke)", d: "M1 2.5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v9.006a2.5 2.5 0 0 1-.719 1.754l-1.47 1.494a2.5 2.5 0 0 1-1.782.746H3a2 2 0 0 1-2-2v-11Z" }), (0, jsx_runtime_1.jsx)("path", { stroke: "var(--audio-file-icon-stroke)", d: "M13 11.5a4 4 0 0 0-4 4" }), (0, jsx_runtime_1.jsx)("path", { fill: "var(--audio-file-icon-stroke)", d: "M5.5 4.5A.5.5 0 0 1 6 5v4.5a.5.5 0 0 1-1 0V5a.5.5 0 0 1 .5-.5Z" }), (0, jsx_runtime_1.jsx)("circle", { cx: "4.5", cy: "9.5", r: "1", stroke: "var(--audio-file-icon-stroke)" }), (0, jsx_runtime_1.jsx)("path", { fill: "var(--audio-file-icon-stroke)", d: "M9.5 3.5a.5.5 0 0 1 .5.5v4.5a.5.5 0 0 1-1 0V4a.5.5 0 0 1 .5-.5Z" }), (0, jsx_runtime_1.jsx)("circle", { cx: "8.5", cy: "8.5", r: "1", stroke: "var(--audio-file-icon-stroke)" }), (0, jsx_runtime_1.jsx)("path", { fill: "var(--audio-file-icon-stroke)", d: "M9.985 3.879a.5.5 0 0 1-.364.606l-4 1a.5.5 0 0 1-.242-.97l4-1a.5.5 0 0 1 .606.364Z" })] }));
|
|
26
|
+
};
|
|
27
|
+
exports.AudioFileIcon = AudioFileIcon;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CodeFileIcon.d.ts","sourceRoot":"","sources":["../../../src/Icon/Files/CodeFileIcon.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAAU,YAAY,EAAC,MAAM,YAAY,CAAC;AAEjD,eAAO,MAAM,YAAY,iBAAgB,YAAY,qDAcpD,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CodeFileIcon = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("@emotion/react/jsx-runtime");
|
|
5
|
+
/*
|
|
6
|
+
* Wire
|
|
7
|
+
* Copyright (C) 2025 Wire Swiss GmbH
|
|
8
|
+
*
|
|
9
|
+
* This program is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see http://www.gnu.org/licenses/.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const SVGIcon_1 = require("../SVGIcon");
|
|
24
|
+
const CodeFileIcon = ({ ...props }) => {
|
|
25
|
+
return ((0, jsx_runtime_1.jsxs)(SVGIcon_1.SVGIcon, { realWidth: 14, realHeight: 16, fill: "none", ...props, children: [(0, jsx_runtime_1.jsx)("path", { fill: "var(--code-file-icon-bg)", stroke: "var(--code-file-icon-stroke)", d: "M1 2.5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v9.006a2.5 2.5 0 0 1-.719 1.754l-1.47 1.494a2.5 2.5 0 0 1-1.782.746H3a2 2 0 0 1-2-2v-11Z" }), (0, jsx_runtime_1.jsx)("path", { stroke: "var(--code-file-icon-stroke)", d: "M13 11.5a4 4 0 0 0-4 4M6.148 9.606 7.66 6.5M5 6.5 3.5 8 5 9.5M9 6.5 10.5 8 9 9.5" })] }));
|
|
26
|
+
};
|
|
27
|
+
exports.CodeFileIcon = CodeFileIcon;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentFileIcon.d.ts","sourceRoot":"","sources":["../../../src/Icon/Files/DocumentFileIcon.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAAU,YAAY,EAAC,MAAM,YAAY,CAAC;AAEjD,eAAO,MAAM,gBAAgB,iBAAgB,YAAY,qDAcxD,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DocumentFileIcon = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("@emotion/react/jsx-runtime");
|
|
5
|
+
/*
|
|
6
|
+
* Wire
|
|
7
|
+
* Copyright (C) 2025 Wire Swiss GmbH
|
|
8
|
+
*
|
|
9
|
+
* This program is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see http://www.gnu.org/licenses/.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const SVGIcon_1 = require("../SVGIcon");
|
|
24
|
+
const DocumentFileIcon = ({ ...props }) => {
|
|
25
|
+
return ((0, jsx_runtime_1.jsxs)(SVGIcon_1.SVGIcon, { realWidth: 14, realHeight: 16, fill: "none", ...props, children: [(0, jsx_runtime_1.jsx)("path", { fill: "var(--document-file-icon-bg)", stroke: "var(--document-file-icon-stroke)", d: "M.999 2.498a2 2 0 0 1 2-2h7.998a2 2 0 0 1 2 2v9.005a2.5 2.5 0 0 1-.719 1.754l-1.47 1.493a2.5 2.5 0 0 1-1.781.746H2.998a2 2 0 0 1-2-2V2.498Z" }), (0, jsx_runtime_1.jsx)("path", { stroke: "var(--document-file-icon-stroke)", d: "M4.498 4.999h5M4.498 6.998h5M4.498 8.998h3.5M12.997 11.497a4 4 0 0 0-4 4" })] }));
|
|
26
|
+
};
|
|
27
|
+
exports.DocumentFileIcon = DocumentFileIcon;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImageFileIcon.d.ts","sourceRoot":"","sources":["../../../src/Icon/Files/ImageFileIcon.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAAU,YAAY,EAAC,MAAM,YAAY,CAAC;AAEjD,eAAO,MAAM,aAAa,iBAAgB,YAAY,qDAiBrD,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ImageFileIcon = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("@emotion/react/jsx-runtime");
|
|
5
|
+
/*
|
|
6
|
+
* Wire
|
|
7
|
+
* Copyright (C) 2025 Wire Swiss GmbH
|
|
8
|
+
*
|
|
9
|
+
* This program is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see http://www.gnu.org/licenses/.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const SVGIcon_1 = require("../SVGIcon");
|
|
24
|
+
const ImageFileIcon = ({ ...props }) => {
|
|
25
|
+
return ((0, jsx_runtime_1.jsxs)(SVGIcon_1.SVGIcon, { realWidth: 14, realHeight: 16, fill: "none", ...props, children: [(0, jsx_runtime_1.jsx)("path", { fill: "var(--image-file-icon-bg)", stroke: "var(--image-file-icon-stroke)", d: "M.996 2.5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v9.006a2.5 2.5 0 0 1-.719 1.754l-1.47 1.494a2.5 2.5 0 0 1-1.782.746h-6.03a2 2 0 0 1-2-2v-11Z" }), (0, jsx_runtime_1.jsx)("path", { stroke: "var(--image-file-icon-stroke)", d: "M12.996 11.5a4 4 0 0 0-4 4" }), (0, jsx_runtime_1.jsx)("circle", { cx: "6.496", cy: "4.5", r: "1", fill: "var(--image-file-icon-bg)", stroke: "var(--image-file-icon-stroke)" }), (0, jsx_runtime_1.jsx)("path", { fill: "var(--image-file-icon-bg)", stroke: "var(--image-file-icon-stroke)", d: "M6.33 10.25 8.497 6.5l2.165 3.75H6.33ZM3.697 10.25 4.996 8l1.299 2.25H3.697Z" })] }));
|
|
26
|
+
};
|
|
27
|
+
exports.ImageFileIcon = ImageFileIcon;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OtherFileIcon.d.ts","sourceRoot":"","sources":["../../../src/Icon/Files/OtherFileIcon.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAAU,YAAY,EAAC,MAAM,YAAY,CAAC;AAEjD,eAAO,MAAM,aAAa,iBAAgB,YAAY,qDAWrD,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OtherFileIcon = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("@emotion/react/jsx-runtime");
|
|
5
|
+
/*
|
|
6
|
+
* Wire
|
|
7
|
+
* Copyright (C) 2025 Wire Swiss GmbH
|
|
8
|
+
*
|
|
9
|
+
* This program is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see http://www.gnu.org/licenses/.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const SVGIcon_1 = require("../SVGIcon");
|
|
24
|
+
const OtherFileIcon = ({ ...props }) => {
|
|
25
|
+
return ((0, jsx_runtime_1.jsxs)(SVGIcon_1.SVGIcon, { realWidth: 14, realHeight: 16, fill: "none", ...props, children: [(0, jsx_runtime_1.jsx)("path", { fill: "var(--other-file-icon-bg)", stroke: "var(--other-file-icon-stroke)", d: "M1 2.5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v9.006a2.5 2.5 0 0 1-.719 1.754l-1.47 1.494a2.5 2.5 0 0 1-1.782.746H3a2 2 0 0 1-2-2v-11Z" }), (0, jsx_runtime_1.jsx)("path", { stroke: "var(--other-file-icon-stroke)", d: "M13 11.5a4 4 0 0 0-4 4" })] }));
|
|
26
|
+
};
|
|
27
|
+
exports.OtherFileIcon = OtherFileIcon;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PdfFileIcon.d.ts","sourceRoot":"","sources":["../../../src/Icon/Files/PdfFileIcon.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAAU,YAAY,EAAC,MAAM,YAAY,CAAC;AAEjD,eAAO,MAAM,WAAW,iBAAgB,YAAY,qDAenD,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PdfFileIcon = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("@emotion/react/jsx-runtime");
|
|
5
|
+
/*
|
|
6
|
+
* Wire
|
|
7
|
+
* Copyright (C) 2025 Wire Swiss GmbH
|
|
8
|
+
*
|
|
9
|
+
* This program is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see http://www.gnu.org/licenses/.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const SVGIcon_1 = require("../SVGIcon");
|
|
24
|
+
const PdfFileIcon = ({ ...props }) => {
|
|
25
|
+
return ((0, jsx_runtime_1.jsxs)(SVGIcon_1.SVGIcon, { realWidth: 14, realHeight: 16, fill: "none", ...props, children: [(0, jsx_runtime_1.jsx)("path", { fill: "var(--pdf-file-icon-bg)", stroke: "var(--pdf-file-icon-stroke)", d: "M1 2.5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v9.006a2.5 2.5 0 0 1-.719 1.754l-1.47 1.494a2.5 2.5 0 0 1-1.782.746H3a2 2 0 0 1-2-2v-11Z" }), (0, jsx_runtime_1.jsx)("path", { stroke: "var(--pdf-file-icon-stroke)", d: "M13 11.5a4 4 0 0 0-4 4" }), (0, jsx_runtime_1.jsx)("path", { fill: "var(--pdf-file-icon-stroke)", d: "M3.231 11.17a.985.985 0 0 0 .746.33 1.88 1.88 0 0 0 1.077-.406c.329-.24.69-.884 1.038-1.756a24.574 24.574 0 0 1 1.705-.415c.57.573 1.293.967 2.082 1.135a1.025 1.025 0 0 0 .962-.433.966.966 0 0 0 .043-.99c-.135-.254-.502-.683-1.458-.69-.467.02-.931.074-1.39.162A5.57 5.57 0 0 1 7.018 6.58c.125-.415.247-.844.368-1.277l.125-.429A2.32 2.32 0 0 0 7.6 3.94c-.099-.696-.546-.967-.933-.937-.49.043-.963.551-.917 1.442.033.74.188 1.47.46 2.159a37.817 37.817 0 0 1-.693 2.092c-.985.307-1.852.66-2.158.99a1.094 1.094 0 0 0-.128 1.485Zm6.191-2.475c.598 0 .76.221.795.287a.195.195 0 0 1 0 .208.272.272 0 0 1-.266.099 2.727 2.727 0 0 1-1.179-.545c.215-.03.43-.046.647-.05h.003Zm-2.69-4.95c.017 0 .09.062.115.264.02.211-.002.424-.065.627l-.125.439c-.016.06-.036.122-.053.184a6.487 6.487 0 0 1-.088-.851c-.033-.445.138-.643.213-.65l.004-.013Zm-.029 3.848c.147.237.31.464.486.68-.256.056-.516.118-.775.184.102-.277.19-.567.289-.864Zm-2.792 2.623a3.815 3.815 0 0 1 1.238-.594 2.344 2.344 0 0 1-.535.845c-.453.33-.736.3-.818.205-.082-.096-.049-.278.115-.46v.004Z" })] }));
|
|
26
|
+
};
|
|
27
|
+
exports.PdfFileIcon = PdfFileIcon;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PresentationFileIcon.d.ts","sourceRoot":"","sources":["../../../src/Icon/Files/PresentationFileIcon.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAAU,YAAY,EAAC,MAAM,YAAY,CAAC;AAEjD,eAAO,MAAM,oBAAoB,iBAAgB,YAAY,qDAoB5D,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PresentationFileIcon = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("@emotion/react/jsx-runtime");
|
|
5
|
+
/*
|
|
6
|
+
* Wire
|
|
7
|
+
* Copyright (C) 2025 Wire Swiss GmbH
|
|
8
|
+
*
|
|
9
|
+
* This program is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see http://www.gnu.org/licenses/.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const SVGIcon_1 = require("../SVGIcon");
|
|
24
|
+
const PresentationFileIcon = ({ ...props }) => {
|
|
25
|
+
return ((0, jsx_runtime_1.jsxs)(SVGIcon_1.SVGIcon, { realWidth: 14, realHeight: 16, fill: "none", ...props, children: [(0, jsx_runtime_1.jsx)("path", { fill: "var(--presentation-file-icon-bg)", stroke: "var(--presentation-file-icon-stroke)", d: "M1 2.5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v9.006a2.5 2.5 0 0 1-.719 1.754l-1.47 1.494a2.5 2.5 0 0 1-1.782.746H3a2 2 0 0 1-2-2v-11Z" }), (0, jsx_runtime_1.jsx)("path", { stroke: "var(--presentation-file-icon-stroke)", d: "M13 11.5a4 4 0 0 0-4 4M5.5 9.5 5 11M8 9.5l.5 1.5" }), (0, jsx_runtime_1.jsx)("rect", { width: "5.5", height: "3.971", x: "4", y: "5", fill: "var(--presentation-file-icon-bg)", stroke: "var(--presentation-file-icon-stroke)", rx: "1" })] }));
|
|
26
|
+
};
|
|
27
|
+
exports.PresentationFileIcon = PresentationFileIcon;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SpreadsheetFileIcon.d.ts","sourceRoot":"","sources":["../../../src/Icon/Files/SpreadsheetFileIcon.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAAU,YAAY,EAAC,MAAM,YAAY,CAAC;AAEjD,eAAO,MAAM,mBAAmB,iBAAgB,YAAY,qDAqB3D,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SpreadsheetFileIcon = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("@emotion/react/jsx-runtime");
|
|
5
|
+
/*
|
|
6
|
+
* Wire
|
|
7
|
+
* Copyright (C) 2025 Wire Swiss GmbH
|
|
8
|
+
*
|
|
9
|
+
* This program is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see http://www.gnu.org/licenses/.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const SVGIcon_1 = require("../SVGIcon");
|
|
24
|
+
const SpreadsheetFileIcon = ({ ...props }) => {
|
|
25
|
+
return ((0, jsx_runtime_1.jsxs)(SVGIcon_1.SVGIcon, { realWidth: 14, realHeight: 16, fill: "none", ...props, children: [(0, jsx_runtime_1.jsx)("path", { fill: "var(--spreadsheet-file-icon-bg)", stroke: "var(--spreadsheet-file-icon-stroke)", d: "M1 2.5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v9.006a2.5 2.5 0 0 1-.719 1.754l-1.47 1.494a2.5 2.5 0 0 1-1.782.746H3a2 2 0 0 1-2-2v-11Z" }), (0, jsx_runtime_1.jsx)("path", { stroke: "var(--spreadsheet-file-icon-stroke)", d: "M13 11.5a4 4 0 0 0-4 4" }), (0, jsx_runtime_1.jsx)("rect", { width: "7.5", height: "4", x: "3.5", y: "5", fill: "var(--spreadsheet-file-icon-bg)", stroke: "var(--spreadsheet-file-icon-stroke)", rx: "1" }), (0, jsx_runtime_1.jsx)("path", { stroke: "var(--spreadsheet-file-icon-stroke)", d: "M3.895 7h6.71M6.505 5v4" })] }));
|
|
26
|
+
};
|
|
27
|
+
exports.SpreadsheetFileIcon = SpreadsheetFileIcon;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VideoFileIcon.d.ts","sourceRoot":"","sources":["../../../src/Icon/Files/VideoFileIcon.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAAU,YAAY,EAAC,MAAM,YAAY,CAAC;AAEjD,eAAO,MAAM,aAAa,iBAAgB,YAAY,qDAcrD,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VideoFileIcon = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("@emotion/react/jsx-runtime");
|
|
5
|
+
/*
|
|
6
|
+
* Wire
|
|
7
|
+
* Copyright (C) 2025 Wire Swiss GmbH
|
|
8
|
+
*
|
|
9
|
+
* This program is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see http://www.gnu.org/licenses/.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const SVGIcon_1 = require("../SVGIcon");
|
|
24
|
+
const VideoFileIcon = ({ ...props }) => {
|
|
25
|
+
return ((0, jsx_runtime_1.jsxs)(SVGIcon_1.SVGIcon, { realWidth: 14, realHeight: 16, fill: "none", ...props, children: [(0, jsx_runtime_1.jsx)("path", { fill: "var(--video-file-icon-bg)", stroke: "var(--video-file-icon-stroke)", d: "M1 2.5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v9.006a2.5 2.5 0 0 1-.719 1.754l-1.47 1.494a2.5 2.5 0 0 1-1.782.746H3a2 2 0 0 1-2-2v-11Z" }), (0, jsx_runtime_1.jsx)("path", { stroke: "var(--video-file-icon-stroke)", d: "M13 11.5a4 4 0 0 0-4 4M9.25 7.317a.5.5 0 0 1 0 .866l-3.375 1.949a.5.5 0 0 1-.75-.433V5.8a.5.5 0 0 1 .75-.433L9.25 7.317Z" })] }));
|
|
26
|
+
};
|
|
27
|
+
exports.VideoFileIcon = VideoFileIcon;
|
package/lib/Icon/LinkIcon.js
CHANGED
|
@@ -21,5 +21,5 @@ const jsx_runtime_1 = require("@emotion/react/jsx-runtime");
|
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
23
|
const SVGIcon_1 = require("./SVGIcon");
|
|
24
|
-
const LinkIcon = ({ ...props }) => ((0, jsx_runtime_1.jsx)(SVGIcon_1.SVGIcon, { realWidth:
|
|
24
|
+
const LinkIcon = ({ ...props }) => ((0, jsx_runtime_1.jsx)(SVGIcon_1.SVGIcon, { realWidth: 16, realHeight: 16, ...props, children: (0, jsx_runtime_1.jsx)("path", { d: "M10.2129 0C7.91857 0 5.93605 1.32664 5 3.25H7.39978C8.09086 2.48281 9.09515 2 10.2129 2C12.2974 2 13.9871 3.67893 13.9871 5.75C13.9871 7.82107 12.2974 9.5 10.2129 9.5C9.09515 9.5 8.09086 9.01719 7.39978 8.25H5C5.93605 10.1734 7.91857 11.5 10.2129 11.5C13.409 11.5 16 8.92564 16 5.75C16 2.57436 13.409 0 10.2129 0ZM5.78707 4.5C8.08143 4.5 10.064 5.82664 11 7.75H8.60022C7.90914 6.98281 6.90485 6.5 5.78707 6.5C3.70265 6.5 2.01289 8.17893 2.01289 10.25C2.01289 12.3211 3.70265 14 5.78707 14C6.90485 14 7.90914 13.5172 8.60022 12.75H11C10.064 14.6734 8.08143 16 5.78707 16C2.59096 16 0 13.4256 0 10.25C0 7.07436 2.59096 4.5 5.78707 4.5Z" }) }));
|
|
25
25
|
exports.LinkIcon = LinkIcon;
|
package/lib/Icon/SVGIcon.d.ts
CHANGED
|
@@ -10,5 +10,5 @@ export interface SVGIconProps<T = SVGSVGElement> extends React.SVGProps<T> {
|
|
|
10
10
|
shadow?: boolean;
|
|
11
11
|
width?: number;
|
|
12
12
|
}
|
|
13
|
-
export declare const SVGIcon: ({ realWidth, realHeight, scale, width, height, shadow, children, ...props }: InternalSVGIconProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare const SVGIcon: ({ realWidth, realHeight, scale, width, height, shadow, children, fill, ...props }: InternalSVGIconProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
14
14
|
//# sourceMappingURL=SVGIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SVGIcon.d.ts","sourceRoot":"","sources":["../../src/Icon/SVGIcon.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,MAAM,WAAW,oBAAoB,CAAC,CAAC,GAAG,aAAa,CAAE,SAAQ,YAAY,CAAC,CAAC,CAAC;IAC9E,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,YAAY,CAAC,CAAC,GAAG,aAAa,CAAE,SAAQ,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;IACxE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAUD,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"SVGIcon.d.ts","sourceRoot":"","sources":["../../src/Icon/SVGIcon.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,MAAM,WAAW,oBAAoB,CAAC,CAAC,GAAG,aAAa,CAAE,SAAQ,YAAY,CAAC,CAAC,CAAC;IAC9E,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,YAAY,CAAC,CAAC,GAAG,aAAa,CAAE,SAAQ,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;IACxE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAUD,eAAO,MAAM,OAAO,sFAUjB,oBAAoB,qDA8BtB,CAAC"}
|
package/lib/Icon/SVGIcon.js
CHANGED
|
@@ -6,7 +6,7 @@ const svgIconStyle = (theme, { color = theme.general.color }) => ({
|
|
|
6
6
|
fill: color,
|
|
7
7
|
overflow: 'visible',
|
|
8
8
|
});
|
|
9
|
-
const SVGIcon = ({ realWidth, realHeight, scale = 1, width = null, height = null, shadow, children, ...props }) => {
|
|
9
|
+
const SVGIcon = ({ realWidth, realHeight, scale = 1, width = null, height = null, shadow, children, fill, ...props }) => {
|
|
10
10
|
let newScale = scale;
|
|
11
11
|
if (width || height) {
|
|
12
12
|
const widthScale = width ? width / realWidth : Infinity;
|
|
@@ -16,6 +16,6 @@ const SVGIcon = ({ realWidth, realHeight, scale = 1, width = null, height = null
|
|
|
16
16
|
const newWidth = Math.ceil(realWidth * newScale);
|
|
17
17
|
const newHeight = Math.ceil(realHeight * newScale);
|
|
18
18
|
const shadowId = shadow && Math.random().toString();
|
|
19
|
-
return ((0, jsx_runtime_1.jsxs)("svg", { css: (theme) => svgIconStyle(theme, props), viewBox: `0 0 ${realWidth} ${realHeight}`, width: newWidth, height: newHeight, ...props, children: [shadow && ((0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsxs)("filter", { id: shadowId, x: "-50%", y: "-50%", width: "200%", height: "200%", children: [(0, jsx_runtime_1.jsx)("feOffset", { result: "offOut", in: "SourceAlpha", dx: "0", dy: "0" }), (0, jsx_runtime_1.jsx)("feGaussianBlur", { result: "blurOut", in: "offOut", stdDeviation: "2.5" }), (0, jsx_runtime_1.jsx)("feBlend", { in: "SourceGraphic", in2: "blurOut", mode: "normal" })] }) })), (0, jsx_runtime_1.jsx)("g", { filter: shadow && `url(#${shadowId})`, children: children })] }));
|
|
19
|
+
return ((0, jsx_runtime_1.jsxs)("svg", { css: (theme) => svgIconStyle(theme, fill === 'none' ? { color: 'transparent' } : props), viewBox: `0 0 ${realWidth} ${realHeight}`, width: newWidth, height: newHeight, ...props, children: [shadow && ((0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsxs)("filter", { id: shadowId, x: "-50%", y: "-50%", width: "200%", height: "200%", children: [(0, jsx_runtime_1.jsx)("feOffset", { result: "offOut", in: "SourceAlpha", dx: "0", dy: "0" }), (0, jsx_runtime_1.jsx)("feGaussianBlur", { result: "blurOut", in: "offOut", stdDeviation: "2.5" }), (0, jsx_runtime_1.jsx)("feBlend", { in: "SourceGraphic", in2: "blurOut", mode: "normal" })] }) })), (0, jsx_runtime_1.jsx)("g", { filter: shadow && `url(#${shadowId})`, children: children })] }));
|
|
20
20
|
};
|
|
21
21
|
exports.SVGIcon = SVGIcon;
|
package/lib/Icon/index.d.ts
CHANGED
|
@@ -96,4 +96,14 @@ export * from './HeadingIcon';
|
|
|
96
96
|
export * from './CodeInlineIcon';
|
|
97
97
|
export * from './CodeBlockIcon';
|
|
98
98
|
export * from './BlockquoteIcon';
|
|
99
|
+
export * from './Files/ArchiveFileIcon';
|
|
100
|
+
export * from './Files/AudioFileIcon';
|
|
101
|
+
export * from './Files/CodeFileIcon';
|
|
102
|
+
export * from './Files/DocumentFileIcon';
|
|
103
|
+
export * from './Files/ImageFileIcon';
|
|
104
|
+
export * from './Files/OtherFileIcon';
|
|
105
|
+
export * from './Files/PdfFileIcon';
|
|
106
|
+
export * from './Files/PresentationFileIcon';
|
|
107
|
+
export * from './Files/SpreadsheetFileIcon';
|
|
108
|
+
export * from './Files/VideoFileIcon';
|
|
99
109
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/Icon/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|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AmB,CAAC;AAElC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AAEjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC"}
|
package/lib/Icon/index.js
CHANGED
|
@@ -131,3 +131,13 @@ __exportStar(require("./HeadingIcon"), exports);
|
|
|
131
131
|
__exportStar(require("./CodeInlineIcon"), exports);
|
|
132
132
|
__exportStar(require("./CodeBlockIcon"), exports);
|
|
133
133
|
__exportStar(require("./BlockquoteIcon"), exports);
|
|
134
|
+
__exportStar(require("./Files/ArchiveFileIcon"), exports);
|
|
135
|
+
__exportStar(require("./Files/AudioFileIcon"), exports);
|
|
136
|
+
__exportStar(require("./Files/CodeFileIcon"), exports);
|
|
137
|
+
__exportStar(require("./Files/DocumentFileIcon"), exports);
|
|
138
|
+
__exportStar(require("./Files/ImageFileIcon"), exports);
|
|
139
|
+
__exportStar(require("./Files/OtherFileIcon"), exports);
|
|
140
|
+
__exportStar(require("./Files/PdfFileIcon"), exports);
|
|
141
|
+
__exportStar(require("./Files/PresentationFileIcon"), exports);
|
|
142
|
+
__exportStar(require("./Files/SpreadsheetFileIcon"), exports);
|
|
143
|
+
__exportStar(require("./Files/VideoFileIcon"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GlobalCssVariables.d.ts","sourceRoot":"","sources":["../../src/Theme/GlobalCssVariables.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"GlobalCssVariables.d.ts","sourceRoot":"","sources":["../../src/Theme/GlobalCssVariables.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AA0MzC,eAAO,MAAM,kBAAkB;iBAtMZ,SAAS;gBA0FV,SAAS;wBA0FD,SAAS;CAsBlC,CAAC"}
|
|
@@ -61,6 +61,36 @@ const light = () => ({
|
|
|
61
61
|
'--success-color': Identity_1.COLOR_V2.GREEN_LIGHT_500,
|
|
62
62
|
'--app-bg': Identity_1.COLOR_V2.GRAY_10,
|
|
63
63
|
'--main-color': Identity_1.COLOR.BLACK,
|
|
64
|
+
// Archive File Icon
|
|
65
|
+
'--archive-file-icon-bg': Identity_1.COLOR_V2.AMBER_LIGHT_50,
|
|
66
|
+
'--archive-file-icon-stroke': Identity_1.COLOR_V2.AMBER_LIGHT_700,
|
|
67
|
+
// Audio File Icon
|
|
68
|
+
'--audio-file-icon-bg': Identity_1.COLOR_V2.PURPLE_DARK_50,
|
|
69
|
+
'--audio-file-icon-stroke': Identity_1.COLOR_V2.PURPLE_DARK_700,
|
|
70
|
+
// Code File Icon
|
|
71
|
+
'--code-file-icon-bg': Identity_1.COLOR_V2.PURPLE_LIGHT_50,
|
|
72
|
+
'--code-file-icon-stroke': Identity_1.COLOR_V2.PURPLE_LIGHT_700,
|
|
73
|
+
// Document File Icon
|
|
74
|
+
'--document-file-icon-bg': Identity_1.COLOR_V2.BLUE_LIGHT_50,
|
|
75
|
+
'--document-file-icon-stroke': Identity_1.COLOR_V2.BLUE_LIGHT_700,
|
|
76
|
+
// Image File Icon
|
|
77
|
+
'--image-file-icon-bg': Identity_1.COLOR_V2.TURQUOISE_LIGHT_50,
|
|
78
|
+
'--image-file-icon-stroke': Identity_1.COLOR_V2.TURQUOISE_LIGHT_700,
|
|
79
|
+
// PDF File Icon
|
|
80
|
+
'--pdf-file-icon-bg': Identity_1.COLOR_V2.RED_LIGHT_50,
|
|
81
|
+
'--pdf-file-icon-stroke': Identity_1.COLOR_V2.RED_LIGHT_700,
|
|
82
|
+
// Spreadsheet File Icon
|
|
83
|
+
'--spreadsheet-file-icon-bg': Identity_1.COLOR_V2.GREEN_LIGHT_50,
|
|
84
|
+
'--spreadsheet-file-icon-stroke': Identity_1.COLOR_V2.GREEN_LIGHT_700,
|
|
85
|
+
// Presentation File Icon
|
|
86
|
+
'--presentation-file-icon-bg': Identity_1.COLOR_V2.AMBER_LIGHT_50,
|
|
87
|
+
'--presentation-file-icon-stroke': Identity_1.COLOR_V2.AMBER_LIGHT_700,
|
|
88
|
+
// Video File Icon
|
|
89
|
+
'--video-file-icon-bg': Identity_1.COLOR_V2.RED_LIGHT_50,
|
|
90
|
+
'--video-file-icon-stroke': Identity_1.COLOR_V2.RED_LIGHT_700,
|
|
91
|
+
// Other File Icon
|
|
92
|
+
'--other-file-icon-bg': Identity_1.COLOR_V2.WHITE,
|
|
93
|
+
'--other-file-icon-stroke': Identity_1.COLOR_V2.GRAY_70,
|
|
64
94
|
});
|
|
65
95
|
const dark = () => ({
|
|
66
96
|
// Checkbox
|
|
@@ -103,6 +133,36 @@ const dark = () => ({
|
|
|
103
133
|
'--success-color': Identity_1.COLOR_V2.GREEN_DARK_500,
|
|
104
134
|
'--app-bg': Identity_1.COLOR_V2.GRAY_95,
|
|
105
135
|
'--main-color': Identity_1.COLOR.WHITE,
|
|
136
|
+
// Archive File Icon
|
|
137
|
+
'--archive-file-icon-bg': Identity_1.COLOR_V2.AMBER_DARK_50,
|
|
138
|
+
'--archive-file-icon-stroke': Identity_1.COLOR_V2.AMBER_DARK_700,
|
|
139
|
+
// Audio File Icon
|
|
140
|
+
'--audio-file-icon-bg': Identity_1.COLOR_V2.PURPLE_DARK_50,
|
|
141
|
+
'--audio-file-icon-stroke': Identity_1.COLOR_V2.PURPLE_DARK_700,
|
|
142
|
+
// Code File Icon
|
|
143
|
+
'--code-file-icon-bg': Identity_1.COLOR_V2.PURPLE_DARK_50,
|
|
144
|
+
'--code-file-icon-stroke': Identity_1.COLOR_V2.PURPLE_DARK_700,
|
|
145
|
+
// Document File Icon
|
|
146
|
+
'--document-file-icon-bg': Identity_1.COLOR_V2.BLUE_DARK_50,
|
|
147
|
+
'--document-file-icon-stroke': Identity_1.COLOR_V2.BLUE_DARK_700,
|
|
148
|
+
// Image File Icon
|
|
149
|
+
'--image-file-icon-bg': Identity_1.COLOR_V2.TURQUOISE_DARK_50,
|
|
150
|
+
'--image-file-icon-stroke': Identity_1.COLOR_V2.TURQUOISE_DARK_700,
|
|
151
|
+
// PDF File Icon
|
|
152
|
+
'--pdf-file-icon-bg': Identity_1.COLOR_V2.RED_DARK_50,
|
|
153
|
+
'--pdf-file-icon-stroke': Identity_1.COLOR_V2.RED_DARK_700,
|
|
154
|
+
// Spreadsheet File Icon
|
|
155
|
+
'--spreadsheet-file-icon-bg': Identity_1.COLOR_V2.GREEN_DARK_50,
|
|
156
|
+
'--spreadsheet-file-icon-stroke': Identity_1.COLOR_V2.GREEN_DARK_700,
|
|
157
|
+
// Presentation File Icon
|
|
158
|
+
'--presentation-file-icon-bg': Identity_1.COLOR_V2.AMBER_DARK_50,
|
|
159
|
+
'--presentation-file-icon-stroke': Identity_1.COLOR_V2.AMBER_DARK_700,
|
|
160
|
+
// Video File Icon
|
|
161
|
+
'--video-file-icon-bg': Identity_1.COLOR_V2.RED_DARK_50,
|
|
162
|
+
'--video-file-icon-stroke': Identity_1.COLOR_V2.RED_DARK_700,
|
|
163
|
+
// Other File Icon
|
|
164
|
+
'--other-file-icon-bg': Identity_1.COLOR_V2.GRAY_10,
|
|
165
|
+
'--other-file-icon-stroke': Identity_1.COLOR_V2.GRAY_60,
|
|
106
166
|
});
|
|
107
167
|
const accentColors = () => ({
|
|
108
168
|
'--accent-color': Identity_1.COLOR_V2.BLUE_LIGHT_500,
|
package/package.json
CHANGED
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@babel/cli": "7.26.4",
|
|
19
|
-
"@babel/core": "7.26.
|
|
20
|
-
"@babel/preset-env": "7.26.
|
|
19
|
+
"@babel/core": "7.26.7",
|
|
20
|
+
"@babel/preset-env": "7.26.7",
|
|
21
21
|
"@babel/preset-react": "7.26.3",
|
|
22
22
|
"@babel/preset-typescript": "7.26.0",
|
|
23
23
|
"@emotion/babel-preset-css-prop": "^11.10.0",
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
"@swc/core": "^1.3.10",
|
|
28
28
|
"@swc/jest": "^0.2.23",
|
|
29
29
|
"@testing-library/jest-dom": "6.6.3",
|
|
30
|
-
"@testing-library/react": "16.
|
|
31
|
-
"@testing-library/user-event": "14.
|
|
30
|
+
"@testing-library/react": "16.2.0",
|
|
31
|
+
"@testing-library/user-event": "14.6.1",
|
|
32
32
|
"@types/jest": "^29.2.0",
|
|
33
33
|
"@types/node": "^22.0.0",
|
|
34
34
|
"@types/react": "^18.0.25",
|
|
35
35
|
"@types/react-dom": "^18.0.8",
|
|
36
|
-
"@types/webpack-env": "1.18.
|
|
36
|
+
"@types/webpack-env": "1.18.6",
|
|
37
37
|
"babel-jest": "29.7.0",
|
|
38
38
|
"babel-loader": "9.2.1",
|
|
39
39
|
"jest": "^29.2.1",
|
|
@@ -69,6 +69,6 @@
|
|
|
69
69
|
"test:watch": "jest --watch",
|
|
70
70
|
"test:update": "jest --updateSnapshot"
|
|
71
71
|
},
|
|
72
|
-
"version": "9.
|
|
73
|
-
"gitHead": "
|
|
72
|
+
"version": "9.30.0",
|
|
73
|
+
"gitHead": "3170c3d31ea194e7b85e4982f5fc7c9375fb1434"
|
|
74
74
|
}
|