Skip to content

Commit

Permalink
Add the download-ios icon.
Browse files Browse the repository at this point in the history
  • Loading branch information
pixlwave committed Dec 16, 2024
1 parent ddc45d4 commit 95a74fa
Show file tree
Hide file tree
Showing 21 changed files with 92 additions and 1 deletion.
12 changes: 12 additions & 0 deletions assets/android/res/drawable/ic_compound_download_ios.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="#FF000000"
android:pathData="M12.76 17.65a1 1 0 0 1-1.52 0l-2.5-2.96a1 1 0 1 1 1.52-1.3L11 14.28V4a1 1 0 1 1 2 0v10.27l0.74-0.87a1 1 0 0 1 1.52 1.3l-2.5 2.95Z"/>
<path
android:fillColor="#FF000000"
android:pathData="M6 20V10h2a1 1 0 0 0 0-2H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2h-2a1 1 0 1 0 0 2h2v10H6Z"/>
</vector>
5 changes: 5 additions & 0 deletions assets/android/src/CompoundIcons.kt
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,9 @@ object CompoundIcons {
@Composable fun Download(): ImageVector {
return ImageVector.vectorResource(R.drawable.ic_compound_download)
}
@Composable fun DownloadIos(): ImageVector {
return ImageVector.vectorResource(R.drawable.ic_compound_download_ios)
}
@Composable fun DragGrid(): ImageVector {
return ImageVector.vectorResource(R.drawable.ic_compound_drag_grid)
}
Expand Down Expand Up @@ -646,6 +649,7 @@ object CompoundIcons {
Devices(),
Document(),
Download(),
DownloadIos(),
DragGrid(),
DragList(),
Edit(),
Expand Down Expand Up @@ -839,6 +843,7 @@ object CompoundIcons {
R.drawable.ic_compound_devices,
R.drawable.ic_compound_document,
R.drawable.ic_compound_download,
R.drawable.ic_compound_download_ios,
R.drawable.ic_compound_drag_grid,
R.drawable.ic_compound_drag_list,
R.drawable.ic_compound_edit,
Expand Down
1 change: 1 addition & 0 deletions assets/ios/swift/CompoundIcons.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public class CompoundIcons {
public let devices = Image("devices", bundle: Bundle.module)
public let document = Image("document", bundle: Bundle.module)
public let download = Image("download", bundle: Bundle.module)
public let downloadIos = Image("downloadIos", bundle: Bundle.module)
public let dragGrid = Image("dragGrid", bundle: Bundle.module)
public let dragList = Image("dragList", bundle: Bundle.module)
public let edit = Image("edit", bundle: Bundle.module)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"images":[{"filename":"downloadIos.svg","idiom":"universal"}],"info":{"author":"xcode","version":1},"properties":{"preserves-vector-representation":true,"template-rendering-intent":"template"}}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions assets/web/icons/download-ios.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
var _reactJsxRuntime = require("react/jsx-runtime");
var React = require("react");
function DownloadIosIcon(props, ref) {
return /*#__PURE__*/_reactJsxRuntime.jsxs("svg", {
xmlns: "http://www.w3.org/2000/svg",
width: "1em",
height: "1em",
fill: "currentColor",
viewBox: "0 0 24 24",
ref: ref,
...props,
children: [/*#__PURE__*/_reactJsxRuntime.jsx("path", {
d: "M12.763 17.646a1 1 0 0 1-1.526 0l-2.5-2.955a1 1 0 1 1 1.526-1.292l.737.871V4a1 1 0 1 1 2 0v10.27l.737-.87a1 1 0 0 1 1.526 1.291l-2.5 2.955Z"
}), /*#__PURE__*/_reactJsxRuntime.jsx("path", {
d: "M6 20V10h2a1 1 0 0 0 0-2H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2h-2a1 1 0 1 0 0 2h2v10H6Z"
})]
});
}
;
DownloadIosIcon.displayName = "DownloadIosIcon";
module.exports = React.forwardRef(DownloadIosIcon);
11 changes: 11 additions & 0 deletions assets/web/icons/download-ios.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from "react";

/**
* download-ios.svg
*/
declare const DownloadIosIcon: React.ForwardRefExoticComponent<
Omit<React.SVGProps<SVGSVGElement>, "ref" | "children"> &
React.RefAttributes<SVGSVGElement>
>;

export default DownloadIosIcon;
21 changes: 21 additions & 0 deletions assets/web/icons/download-ios.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { forwardRef } from "react";
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
function DownloadIosIcon(props, ref) {
return /*#__PURE__*/_jsxs("svg", {
xmlns: "http://www.w3.org/2000/svg",
width: "1em",
height: "1em",
fill: "currentColor",
viewBox: "0 0 24 24",
ref: ref,
...props,
children: [/*#__PURE__*/_jsx("path", {
d: "M12.763 17.646a1 1 0 0 1-1.526 0l-2.5-2.955a1 1 0 1 1 1.526-1.292l.737.871V4a1 1 0 1 1 2 0v10.27l.737-.87a1 1 0 0 1 1.526 1.291l-2.5 2.955Z"
}), /*#__PURE__*/_jsx("path", {
d: "M6 20V10h2a1 1 0 0 0 0-2H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2h-2a1 1 0 1 0 0 2h2v10H6Z"
})]
});
}
;
DownloadIosIcon.displayName = "DownloadIosIcon";
export default forwardRef(DownloadIosIcon);
1 change: 1 addition & 0 deletions assets/web/icons/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ module.exports = {
DeleteIcon: require("./delete.cjs"),
DevicesIcon: require("./devices.cjs"),
DocumentIcon: require("./document.cjs"),
DownloadIosIcon: require("./download-ios.cjs"),
DownloadIcon: require("./download.cjs"),
DragGridIcon: require("./drag-grid.cjs"),
DragListIcon: require("./drag-list.cjs"),
Expand Down
1 change: 1 addition & 0 deletions assets/web/icons/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export { default as DarkModeIcon } from "./dark-mode.js";
export { default as DeleteIcon } from "./delete.js";
export { default as DevicesIcon } from "./devices.js";
export { default as DocumentIcon } from "./document.js";
export { default as DownloadIosIcon } from "./download-ios.js";
export { default as DownloadIcon } from "./download.js";
export { default as DragGridIcon } from "./drag-grid.js";
export { default as DragListIcon } from "./drag-list.js";
Expand Down
1 change: 1 addition & 0 deletions assets/web/icons/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export { default as DarkModeIcon } from "./dark-mode.js";
export { default as DeleteIcon } from "./delete.js";
export { default as DevicesIcon } from "./devices.js";
export { default as DocumentIcon } from "./document.js";
export { default as DownloadIosIcon } from "./download-ios.js";
export { default as DownloadIcon } from "./download.js";
export { default as DragGridIcon } from "./drag-grid.js";
export { default as DragListIcon } from "./drag-list.js";
Expand Down
1 change: 1 addition & 0 deletions assets/web/js/cpdDark.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ export const cpdIconDarkMode: string;
export const cpdIconDelete: string;
export const cpdIconDevices: string;
export const cpdIconDocument: string;
export const cpdIconDownloadIos: string;
export const cpdIconDownload: string;
export const cpdIconDragGrid: string;
export const cpdIconDragList: string;
Expand Down
1 change: 1 addition & 0 deletions assets/web/js/cpdDark.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ export const cpdIconDarkMode = "icons/dark-mode.svg";
export const cpdIconDelete = "icons/delete.svg";
export const cpdIconDevices = "icons/devices.svg";
export const cpdIconDocument = "icons/document.svg";
export const cpdIconDownloadIos = "icons/download-ios.svg";
export const cpdIconDownload = "icons/download.svg";
export const cpdIconDragGrid = "icons/drag-grid.svg";
export const cpdIconDragList = "icons/drag-list.svg";
Expand Down
1 change: 1 addition & 0 deletions assets/web/js/cpdDarkHc.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ export const cpdIconDarkMode: string;
export const cpdIconDelete: string;
export const cpdIconDevices: string;
export const cpdIconDocument: string;
export const cpdIconDownloadIos: string;
export const cpdIconDownload: string;
export const cpdIconDragGrid: string;
export const cpdIconDragList: string;
Expand Down
1 change: 1 addition & 0 deletions assets/web/js/cpdDarkHc.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ export const cpdIconDarkMode = "icons/dark-mode.svg";
export const cpdIconDelete = "icons/delete.svg";
export const cpdIconDevices = "icons/devices.svg";
export const cpdIconDocument = "icons/document.svg";
export const cpdIconDownloadIos = "icons/download-ios.svg";
export const cpdIconDownload = "icons/download.svg";
export const cpdIconDragGrid = "icons/drag-grid.svg";
export const cpdIconDragList = "icons/drag-list.svg";
Expand Down
1 change: 1 addition & 0 deletions assets/web/js/cpdLight.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ export const cpdIconDarkMode: string;
export const cpdIconDelete: string;
export const cpdIconDevices: string;
export const cpdIconDocument: string;
export const cpdIconDownloadIos: string;
export const cpdIconDownload: string;
export const cpdIconDragGrid: string;
export const cpdIconDragList: string;
Expand Down
1 change: 1 addition & 0 deletions assets/web/js/cpdLight.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ export const cpdIconDarkMode = "icons/dark-mode.svg";
export const cpdIconDelete = "icons/delete.svg";
export const cpdIconDevices = "icons/devices.svg";
export const cpdIconDocument = "icons/document.svg";
export const cpdIconDownloadIos = "icons/download-ios.svg";
export const cpdIconDownload = "icons/download.svg";
export const cpdIconDragGrid = "icons/drag-grid.svg";
export const cpdIconDragList = "icons/drag-list.svg";
Expand Down
1 change: 1 addition & 0 deletions assets/web/js/cpdLightHc.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ export const cpdIconDarkMode: string;
export const cpdIconDelete: string;
export const cpdIconDevices: string;
export const cpdIconDocument: string;
export const cpdIconDownloadIos: string;
export const cpdIconDownload: string;
export const cpdIconDragGrid: string;
export const cpdIconDragList: string;
Expand Down
1 change: 1 addition & 0 deletions assets/web/js/cpdLightHc.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ export const cpdIconDarkMode = "icons/dark-mode.svg";
export const cpdIconDelete = "icons/delete.svg";
export const cpdIconDevices = "icons/devices.svg";
export const cpdIconDocument = "icons/document.svg";
export const cpdIconDownloadIos = "icons/download-ios.svg";
export const cpdIconDownload = "icons/download.svg";
export const cpdIconDragGrid = "icons/drag-grid.svg";
export const cpdIconDragList = "icons/drag-list.svg";
Expand Down
Loading

0 comments on commit 95a74fa

Please sign in to comment.