Skip to content

Commit

Permalink
icon library update
Browse files Browse the repository at this point in the history
  • Loading branch information
artcoholic committed Jan 3, 2022
1 parent 926c9df commit cfcaaf6
Show file tree
Hide file tree
Showing 11 changed files with 128 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "akar-icons",
"version": "1.9.5",
"version": "1.9.6",
"description": "A perfectly rounded icon library made for everyone.",
"main": "dist/index.js",
"typings": "dist/icons.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/data.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions src/icons.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ export const Ascending: Icon;
export const Descending: Icon;
export const StatisticUp: Icon;
export const StatisticDown: Icon;
export const SidebarRight: Icon;
export const SidebarLeft: Icon;
export const Ribbon: Icon;
export const Phone: Icon;
export const Attach: Icon;
Expand Down Expand Up @@ -290,6 +292,7 @@ export const Sword: Icon;
export const DoubleSword: Icon;
export const Key: Icon;
export const Dental: Icon;
export const Cake: Icon;
export const Person: Icon;
export const PersonAdd: Icon;
export const PersonCheck: Icon;
Expand Down
3 changes: 3 additions & 0 deletions src/icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ export { default as Ascending } from './icons/ascending';
export { default as Descending } from './icons/descending';
export { default as StatisticUp } from './icons/statistic-up';
export { default as StatisticDown } from './icons/statistic-down';
export { default as SidebarRight } from './icons/sidebar-right';
export { default as SidebarLeft } from './icons/sidebar-left';
export { default as Ribbon } from './icons/ribbon';
export { default as Phone } from './icons/phone';
export { default as Attach } from './icons/attach';
Expand Down Expand Up @@ -281,6 +283,7 @@ export { default as Sword } from './icons/sword';
export { default as DoubleSword } from './icons/double-sword';
export { default as Key } from './icons/key';
export { default as Dental } from './icons/dental';
export { default as Cake } from './icons/cake';
export { default as Person } from './icons/person';
export { default as PersonAdd } from './icons/person-add';
export { default as PersonCheck } from './icons/person-check';
Expand Down
36 changes: 36 additions & 0 deletions src/icons/cake.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
import React from 'react';
import PropTypes from 'prop-types';

const Cake = props => {
const { color, size, ...otherProps } = props;
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
stroke={color}
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
{...otherProps}
>
<path d="M3 10a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-9z"></path>
<path d="M3 12l2.914 2.331c1.187.95 2.9.855 3.975-.22v0a2.985 2.985 0 0 1 4.222 0v0a2.985 2.985 0 0 0 3.975.22L21 12"></path>
<path d="M12 7a2 2 0 0 1-2-2c0-.876.677-1.576 1.273-2.217L12 2l.727.783C13.323 3.424 14 4.124 14 5a2 2 0 0 1-2 2z"></path>
</svg>
);
};

Cake.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
};

Cake.defaultProps = {
color: 'currentColor',
size: '24'
};

export default Cake;
35 changes: 35 additions & 0 deletions src/icons/sidebar-left.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import React from 'react';
import PropTypes from 'prop-types';

const SidebarLeft = props => {
const { color, size, ...otherProps } = props;
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
stroke={color}
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
{...otherProps}
>
<rect x="2" y="3" width="20" height="18" rx="2"></rect>
<path d="M9 3v18"></path>
</svg>
);
};

SidebarLeft.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
};

SidebarLeft.defaultProps = {
color: 'currentColor',
size: '24'
};

export default SidebarLeft;
35 changes: 35 additions & 0 deletions src/icons/sidebar-right.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import React from 'react';
import PropTypes from 'prop-types';

const SidebarRight = props => {
const { color, size, ...otherProps } = props;
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
stroke={color}
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
{...otherProps}
>
<rect x="2" y="3" width="20" height="18" rx="2"></rect>
<path d="M15 3v18"></path>
</svg>
);
};

SidebarRight.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
};

SidebarRight.defaultProps = {
color: 'currentColor',
size: '24'
};

export default SidebarRight;
5 changes: 5 additions & 0 deletions src/svg/cake.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/svg/sidebar-left.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/svg/sidebar-right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/svg/snapchat-fill.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 cfcaaf6

Please sign in to comment.