Skip to content

Commit

Permalink
Add hand-raised icon. (#116)
Browse files Browse the repository at this point in the history
* Add hand-raised icon.

* Add android & ios files.
  • Loading branch information
Half-Shot authored Nov 4, 2024
1 parent 2a1adab commit 2f8f2ce
Show file tree
Hide file tree
Showing 21 changed files with 85 additions and 1 deletion.
9 changes: 9 additions & 0 deletions assets/android/res/drawable/ic_compound_hand_raised.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<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="#FF1B1D22"
android:pathData="M11 3c0-0.55 0.45-1 1-1s1 0.45 1 1v8.5c0 0.28 0.22 0.5 0.5 0.5s0.5-0.22 0.5-0.5V4c0-0.55 0.45-1 1-1s1 0.45 1 1v10.2l3.28-2.6c0.42-0.32 1-0.3 1.4 0.05 0.44 0.4 0.48 1.09 0.07 1.53l-1.81 2.06c-1.27 1.47-2.55 2.94-3.95 4.24C13.93 20.43 12.53 21 11 21c-3.31 0-6-2.69-6-6V7c0-0.55 0.45-1 1-1s1 0.45 1 1v5.5C7 12.78 7.22 13 7.5 13S8 12.78 8 12.5V4c0-0.55 0.45-1 1-1s1 0.45 1 1v7.5c0 0.28 0.22 0.5 0.5 0.5s0.5-0.22 0.5-0.5V3Z"/>
</vector>
5 changes: 5 additions & 0 deletions assets/android/src/CompoundIcons.kt
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,9 @@ object CompoundIcons {
@Composable fun Grid(): ImageVector {
return ImageVector.vectorResource(R.drawable.ic_compound_grid)
}
@Composable fun HandRaised(): ImageVector {
return ImageVector.vectorResource(R.drawable.ic_compound_hand_raised)
}
@Composable fun Help(): ImageVector {
return ImageVector.vectorResource(R.drawable.ic_compound_help)
}
Expand Down Expand Up @@ -614,6 +617,7 @@ object CompoundIcons {
Filter(),
Forward(),
Grid(),
HandRaised(),
Help(),
HelpSolid(),
History(),
Expand Down Expand Up @@ -791,6 +795,7 @@ object CompoundIcons {
R.drawable.ic_compound_filter,
R.drawable.ic_compound_forward,
R.drawable.ic_compound_grid,
R.drawable.ic_compound_hand_raised,
R.drawable.ic_compound_help,
R.drawable.ic_compound_help_solid,
R.drawable.ic_compound_history,
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 @@ -63,6 +63,7 @@ public class CompoundIcons {
public let filter = Image("filter", bundle: Bundle.module)
public let forward = Image("forward", bundle: Bundle.module)
public let grid = Image("grid", bundle: Bundle.module)
public let handRaised = Image("handRaised", bundle: Bundle.module)
public let helpSolid = Image("helpSolid", bundle: Bundle.module)
public let help = Image("help", bundle: Bundle.module)
public let history = Image("history", bundle: Bundle.module)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"images":[{"filename":"handRaised.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.
20 changes: 20 additions & 0 deletions assets/web/icons/hand-raised.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
var _reactJsxRuntime = require("react/jsx-runtime");
var React = require("react");
function HandRaisedIcon(props, ref) {
return /*#__PURE__*/_reactJsxRuntime.jsx("svg", {
width: "1em",
height: "1em",
viewBox: "0 0 24 24",
fill: "none",
xmlns: "http://www.w3.org/2000/svg",
ref: ref,
...props,
children: /*#__PURE__*/_reactJsxRuntime.jsx("path", {
d: "M11 3C11 2.44772 11.4477 2 12 2C12.5523 2 13 2.44772 13 3V11.5C13 11.7761 13.2239 12 13.5 12C13.7761 12 14 11.7761 14 11.5V4C14 3.44772 14.4477 3 15 3C15.5523 3 16 3.44772 16 4V14.1993L19.284 11.6032C19.6975 11.2763 20.2865 11.2952 20.6782 11.6479C21.1238 12.0491 21.1579 12.7361 20.7543 13.1795C20.1413 13.8528 19.5396 14.5475 18.9362 15.2441C17.6692 16.7068 16.3947 18.1782 14.9925 19.4789C13.9319 20.425 12.5331 21 11 21C7.68629 21 5 18.3137 5 15V7C5 6.44772 5.44772 6 6 6C6.55228 6 7 6.44772 7 7V12.5C7 12.7761 7.22386 13 7.5 13C7.77614 13 8 12.7761 8 12.5V4C8 3.44772 8.44772 3 9 3C9.55228 3 10 3.44772 10 4V11.5C10 11.7761 10.2239 12 10.5 12C10.7761 12 11 11.7761 11 11.5V3Z",
fill: "#1B1D22"
})
});
}
;
HandRaisedIcon.displayName = "HandRaisedIcon";
module.exports = React.forwardRef(HandRaisedIcon);
11 changes: 11 additions & 0 deletions assets/web/icons/hand-raised.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from "react";

/**
* hand-raised.svg
*/
declare const HandRaisedIcon: React.ForwardRefExoticComponent<
Omit<React.SVGProps<SVGSVGElement>, "ref" | "children"> &
React.RefAttributes<SVGSVGElement>
>;

export default HandRaisedIcon;
20 changes: 20 additions & 0 deletions assets/web/icons/hand-raised.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { forwardRef } from "react";
import { jsx as _jsx } from "react/jsx-runtime";
function HandRaisedIcon(props, ref) {
return /*#__PURE__*/_jsx("svg", {
width: "1em",
height: "1em",
viewBox: "0 0 24 24",
fill: "none",
xmlns: "http://www.w3.org/2000/svg",
ref: ref,
...props,
children: /*#__PURE__*/_jsx("path", {
d: "M11 3C11 2.44772 11.4477 2 12 2C12.5523 2 13 2.44772 13 3V11.5C13 11.7761 13.2239 12 13.5 12C13.7761 12 14 11.7761 14 11.5V4C14 3.44772 14.4477 3 15 3C15.5523 3 16 3.44772 16 4V14.1993L19.284 11.6032C19.6975 11.2763 20.2865 11.2952 20.6782 11.6479C21.1238 12.0491 21.1579 12.7361 20.7543 13.1795C20.1413 13.8528 19.5396 14.5475 18.9362 15.2441C17.6692 16.7068 16.3947 18.1782 14.9925 19.4789C13.9319 20.425 12.5331 21 11 21C7.68629 21 5 18.3137 5 15V7C5 6.44772 5.44772 6 6 6C6.55228 6 7 6.44772 7 7V12.5C7 12.7761 7.22386 13 7.5 13C7.77614 13 8 12.7761 8 12.5V4C8 3.44772 8.44772 3 9 3C9.55228 3 10 3.44772 10 4V11.5C10 11.7761 10.2239 12 10.5 12C10.7761 12 11 11.7761 11 11.5V3Z",
fill: "#1B1D22"
})
});
}
;
HandRaisedIcon.displayName = "HandRaisedIcon";
export default forwardRef(HandRaisedIcon);
1 change: 1 addition & 0 deletions assets/web/icons/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ module.exports = {
FilterIcon: require("./filter.cjs"),
ForwardIcon: require("./forward.cjs"),
GridIcon: require("./grid.cjs"),
HandRaisedIcon: require("./hand-raised.cjs"),
HelpSolidIcon: require("./help-solid.cjs"),
HelpIcon: require("./help.cjs"),
HistoryIcon: require("./history.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 @@ -55,6 +55,7 @@ export { default as FilesIcon } from "./files.js";
export { default as FilterIcon } from "./filter.js";
export { default as ForwardIcon } from "./forward.js";
export { default as GridIcon } from "./grid.js";
export { default as HandRaisedIcon } from "./hand-raised.js";
export { default as HelpSolidIcon } from "./help-solid.js";
export { default as HelpIcon } from "./help.js";
export { default as HistoryIcon } from "./history.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 @@ -55,6 +55,7 @@ export { default as FilesIcon } from "./files.js";
export { default as FilterIcon } from "./filter.js";
export { default as ForwardIcon } from "./forward.js";
export { default as GridIcon } from "./grid.js";
export { default as HandRaisedIcon } from "./hand-raised.js";
export { default as HelpSolidIcon } from "./help-solid.js";
export { default as HelpIcon } from "./help.js";
export { default as HistoryIcon } from "./history.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 @@ -134,6 +134,7 @@ export const cpdIconFiles : string;
export const cpdIconFilter : string;
export const cpdIconForward : string;
export const cpdIconGrid : string;
export const cpdIconHandRaised : string;
export const cpdIconHelpSolid : string;
export const cpdIconHelp : string;
export const cpdIconHistory : 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 @@ -134,6 +134,7 @@ export const cpdIconFiles = "icons/files.svg";
export const cpdIconFilter = "icons/filter.svg";
export const cpdIconForward = "icons/forward.svg";
export const cpdIconGrid = "icons/grid.svg";
export const cpdIconHandRaised = "icons/hand-raised.svg";
export const cpdIconHelpSolid = "icons/help-solid.svg";
export const cpdIconHelp = "icons/help.svg";
export const cpdIconHistory = "icons/history.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 @@ -134,6 +134,7 @@ export const cpdIconFiles : string;
export const cpdIconFilter : string;
export const cpdIconForward : string;
export const cpdIconGrid : string;
export const cpdIconHandRaised : string;
export const cpdIconHelpSolid : string;
export const cpdIconHelp : string;
export const cpdIconHistory : 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 @@ -134,6 +134,7 @@ export const cpdIconFiles = "icons/files.svg";
export const cpdIconFilter = "icons/filter.svg";
export const cpdIconForward = "icons/forward.svg";
export const cpdIconGrid = "icons/grid.svg";
export const cpdIconHandRaised = "icons/hand-raised.svg";
export const cpdIconHelpSolid = "icons/help-solid.svg";
export const cpdIconHelp = "icons/help.svg";
export const cpdIconHistory = "icons/history.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 @@ -134,6 +134,7 @@ export const cpdIconFiles : string;
export const cpdIconFilter : string;
export const cpdIconForward : string;
export const cpdIconGrid : string;
export const cpdIconHandRaised : string;
export const cpdIconHelpSolid : string;
export const cpdIconHelp : string;
export const cpdIconHistory : 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 @@ -134,6 +134,7 @@ export const cpdIconFiles = "icons/files.svg";
export const cpdIconFilter = "icons/filter.svg";
export const cpdIconForward = "icons/forward.svg";
export const cpdIconGrid = "icons/grid.svg";
export const cpdIconHandRaised = "icons/hand-raised.svg";
export const cpdIconHelpSolid = "icons/help-solid.svg";
export const cpdIconHelp = "icons/help.svg";
export const cpdIconHistory = "icons/history.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 @@ -134,6 +134,7 @@ export const cpdIconFiles : string;
export const cpdIconFilter : string;
export const cpdIconForward : string;
export const cpdIconGrid : string;
export const cpdIconHandRaised : string;
export const cpdIconHelpSolid : string;
export const cpdIconHelp : string;
export const cpdIconHistory : 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 @@ -134,6 +134,7 @@ export const cpdIconFiles = "icons/files.svg";
export const cpdIconFilter = "icons/filter.svg";
export const cpdIconForward = "icons/forward.svg";
export const cpdIconGrid = "icons/grid.svg";
export const cpdIconHandRaised = "icons/hand-raised.svg";
export const cpdIconHelpSolid = "icons/help-solid.svg";
export const cpdIconHelp = "icons/help.svg";
export const cpdIconHistory = "icons/history.svg";
Expand Down
Loading

0 comments on commit 2f8f2ce

Please sign in to comment.