Skip to content

Commit

Permalink
Add audio icon. (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
pixlwave authored Nov 25, 2024
1 parent 5e7da26 commit 31b236f
Show file tree
Hide file tree
Showing 21 changed files with 81 additions and 1 deletion.
9 changes: 9 additions & 0 deletions assets/android/res/drawable/ic_compound_audio.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="M12 3a1 1 0 0 1 1 1v16a1 1 0 1 1-2 0V4a1 1 0 0 1 1-1Zm4 3a1 1 0 0 1 1 1v10a1 1 0 1 1-2 0V7a1 1 0 0 1 1-1Zm5 4a1 1 0 1 0-2 0v4a1 1 0 1 0 2 0v-4ZM4 9a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0v-4a1 1 0 0 1 1-1Zm5-2a1 1 0 0 0-2 0v10a1 1 0 1 0 2 0V7Z"/>
</vector>
5 changes: 5 additions & 0 deletions assets/android/src/CompoundIcons.kt
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ object CompoundIcons {
@Composable fun Attachment(): ImageVector {
return ImageVector.vectorResource(R.drawable.ic_compound_attachment)
}
@Composable fun Audio(): ImageVector {
return ImageVector.vectorResource(R.drawable.ic_compound_audio)
}
@Composable fun Block(): ImageVector {
return ImageVector.vectorResource(R.drawable.ic_compound_block)
}
Expand Down Expand Up @@ -602,6 +605,7 @@ object CompoundIcons {
AskToJoin(),
AskToJoinSolid(),
Attachment(),
Audio(),
Block(),
Bold(),
Calendar(),
Expand Down Expand Up @@ -791,6 +795,7 @@ object CompoundIcons {
R.drawable.ic_compound_ask_to_join,
R.drawable.ic_compound_ask_to_join_solid,
R.drawable.ic_compound_attachment,
R.drawable.ic_compound_audio,
R.drawable.ic_compound_block,
R.drawable.ic_compound_bold,
R.drawable.ic_compound_calendar,
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 @@ -16,6 +16,7 @@ public class CompoundIcons {
public let askToJoin = Image("askToJoin", bundle: Bundle.module)
public let askToJoinSolid = Image("askToJoinSolid", bundle: Bundle.module)
public let attachment = Image("attachment", bundle: Bundle.module)
public let audio = Image("audio", bundle: Bundle.module)
public let block = Image("block", bundle: Bundle.module)
public let bold = Image("bold", bundle: Bundle.module)
public let calendar = Image("calendar", bundle: Bundle.module)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"images":[{"filename":"audio.svg","idiom":"universal"}],"info":{"author":"xcode","version":1},"properties":{"preserves-vector-representation":true,"template-rendering-intent":"template"}}
1 change: 1 addition & 0 deletions assets/ios/swift/Icons.xcassets/audio.imageset/audio.svg
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/audio.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 AudioIcon(props, ref) {
return /*#__PURE__*/_reactJsxRuntime.jsx("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", {
fill: "#1B1D22",
d: "M12 3a1 1 0 0 1 1 1v16a1 1 0 1 1-2 0V4a1 1 0 0 1 1-1Zm4 3a1 1 0 0 1 1 1v10a1 1 0 1 1-2 0V7a1 1 0 0 1 1-1Zm5 4a1 1 0 1 0-2 0v4a1 1 0 1 0 2 0v-4ZM4 9a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0v-4a1 1 0 0 1 1-1Zm5-2a1 1 0 0 0-2 0v10a1 1 0 1 0 2 0V7Z"
})
});
}
;
AudioIcon.displayName = "AudioIcon";
module.exports = React.forwardRef(AudioIcon);
11 changes: 11 additions & 0 deletions assets/web/icons/audio.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from "react";

/**
* audio.svg
*/
declare const AudioIcon: React.ForwardRefExoticComponent<
Omit<React.SVGProps<SVGSVGElement>, "ref" | "children"> &
React.RefAttributes<SVGSVGElement>
>;

export default AudioIcon;
20 changes: 20 additions & 0 deletions assets/web/icons/audio.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 AudioIcon(props, ref) {
return /*#__PURE__*/_jsx("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", {
fill: "#1B1D22",
d: "M12 3a1 1 0 0 1 1 1v16a1 1 0 1 1-2 0V4a1 1 0 0 1 1-1Zm4 3a1 1 0 0 1 1 1v10a1 1 0 1 1-2 0V7a1 1 0 0 1 1-1Zm5 4a1 1 0 1 0-2 0v4a1 1 0 1 0 2 0v-4ZM4 9a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0v-4a1 1 0 0 1 1-1Zm5-2a1 1 0 0 0-2 0v10a1 1 0 1 0 2 0V7Z"
})
});
}
;
AudioIcon.displayName = "AudioIcon";
export default forwardRef(AudioIcon);
1 change: 1 addition & 0 deletions assets/web/icons/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module.exports = {
AskToJoinSolidIcon: require("./ask-to-join-solid.cjs"),
AskToJoinIcon: require("./ask-to-join.cjs"),
AttachmentIcon: require("./attachment.cjs"),
AudioIcon: require("./audio.cjs"),
BlockIcon: require("./block.cjs"),
BoldIcon: require("./bold.cjs"),
CalendarIcon: require("./calendar.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 @@ -7,6 +7,7 @@ export { default as ArrowUpIcon } from "./arrow-up.js";
export { default as AskToJoinSolidIcon } from "./ask-to-join-solid.js";
export { default as AskToJoinIcon } from "./ask-to-join.js";
export { default as AttachmentIcon } from "./attachment.js";
export { default as AudioIcon } from "./audio.js";
export { default as BlockIcon } from "./block.js";
export { default as BoldIcon } from "./bold.js";
export { default as CalendarIcon } from "./calendar.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 @@ -7,6 +7,7 @@ export { default as ArrowUpIcon } from "./arrow-up.js";
export { default as AskToJoinSolidIcon } from "./ask-to-join-solid.js";
export { default as AskToJoinIcon } from "./ask-to-join.js";
export { default as AttachmentIcon } from "./attachment.js";
export { default as AudioIcon } from "./audio.js";
export { default as BlockIcon } from "./block.js";
export { default as BoldIcon } from "./bold.js";
export { default as CalendarIcon } from "./calendar.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 @@ -86,6 +86,7 @@ export const cpdIconArrowUp: string;
export const cpdIconAskToJoinSolid: string;
export const cpdIconAskToJoin: string;
export const cpdIconAttachment: string;
export const cpdIconAudio: string;
export const cpdIconBlock: string;
export const cpdIconBold: string;
export const cpdIconCalendar: 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 @@ -108,6 +108,7 @@ export const cpdIconArrowUp = "icons/arrow-up.svg";
export const cpdIconAskToJoinSolid = "icons/ask-to-join-solid.svg";
export const cpdIconAskToJoin = "icons/ask-to-join.svg";
export const cpdIconAttachment = "icons/attachment.svg";
export const cpdIconAudio = "icons/audio.svg";
export const cpdIconBlock = "icons/block.svg";
export const cpdIconBold = "icons/bold.svg";
export const cpdIconCalendar = "icons/calendar.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 @@ -86,6 +86,7 @@ export const cpdIconArrowUp: string;
export const cpdIconAskToJoinSolid: string;
export const cpdIconAskToJoin: string;
export const cpdIconAttachment: string;
export const cpdIconAudio: string;
export const cpdIconBlock: string;
export const cpdIconBold: string;
export const cpdIconCalendar: 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 @@ -108,6 +108,7 @@ export const cpdIconArrowUp = "icons/arrow-up.svg";
export const cpdIconAskToJoinSolid = "icons/ask-to-join-solid.svg";
export const cpdIconAskToJoin = "icons/ask-to-join.svg";
export const cpdIconAttachment = "icons/attachment.svg";
export const cpdIconAudio = "icons/audio.svg";
export const cpdIconBlock = "icons/block.svg";
export const cpdIconBold = "icons/bold.svg";
export const cpdIconCalendar = "icons/calendar.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 @@ -86,6 +86,7 @@ export const cpdIconArrowUp: string;
export const cpdIconAskToJoinSolid: string;
export const cpdIconAskToJoin: string;
export const cpdIconAttachment: string;
export const cpdIconAudio: string;
export const cpdIconBlock: string;
export const cpdIconBold: string;
export const cpdIconCalendar: 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 @@ -108,6 +108,7 @@ export const cpdIconArrowUp = "icons/arrow-up.svg";
export const cpdIconAskToJoinSolid = "icons/ask-to-join-solid.svg";
export const cpdIconAskToJoin = "icons/ask-to-join.svg";
export const cpdIconAttachment = "icons/attachment.svg";
export const cpdIconAudio = "icons/audio.svg";
export const cpdIconBlock = "icons/block.svg";
export const cpdIconBold = "icons/bold.svg";
export const cpdIconCalendar = "icons/calendar.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 @@ -86,6 +86,7 @@ export const cpdIconArrowUp: string;
export const cpdIconAskToJoinSolid: string;
export const cpdIconAskToJoin: string;
export const cpdIconAttachment: string;
export const cpdIconAudio: string;
export const cpdIconBlock: string;
export const cpdIconBold: string;
export const cpdIconCalendar: 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 @@ -108,6 +108,7 @@ export const cpdIconArrowUp = "icons/arrow-up.svg";
export const cpdIconAskToJoinSolid = "icons/ask-to-join-solid.svg";
export const cpdIconAskToJoin = "icons/ask-to-join.svg";
export const cpdIconAttachment = "icons/attachment.svg";
export const cpdIconAudio = "icons/audio.svg";
export const cpdIconBlock = "icons/block.svg";
export const cpdIconBold = "icons/bold.svg";
export const cpdIconCalendar = "icons/calendar.svg";
Expand Down
2 changes: 1 addition & 1 deletion icons/$icons.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions icons/audio.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 31b236f

Please sign in to comment.