Skip to content

Commit

Permalink
feat(rtl): support rtl
Browse files Browse the repository at this point in the history
  • Loading branch information
AppleMonkey2019 committed Jan 26, 2021
1 parent 8ff056c commit 355a2a7
Show file tree
Hide file tree
Showing 2,130 changed files with 2,328 additions and 2,312 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.en-US.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Changelog
## v1.2.4
> 2021.01.26
- 🦋**feature**: support RTL

## v1.2.3
> 2021.01.26
- 🦋**add icons**: add 103 icons,add categories:`Brand``Child``Music``Operate`
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# 日志
## v1.2.4
> 2021.01.26
- 🦋**新特性**: 支持RTL

## v1.2.3
> 2021.01.26
- 🦋**增加图标**: 新增103个icon,分类有`Brand``Child``Music``Operate`
Expand Down
2 changes: 1 addition & 1 deletion build/build-code.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ SUPPORT_PLATFORMS.forEach(type => {
name: item.name,
description: item.title,
content: item.svg,
rtl: true
rtl: item.rtl
}));

const files = compiler.getIconFiles();
Expand Down
4 changes: 2 additions & 2 deletions packages/react/src/icons/ACane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default IconWrapper(
fill="none"
>
<g
clipPath={'url(#' + props.id + '572b7723' + ')'}
clipPath={'url(#' + props.id + '6a3f6771' + ')'}
>
<path
d="M19.5571 44.7684C19.5571 44.7684 32.4675 20.4873 33.6412 18.28C34.8149 16.0726 37.453 8.98102 30.3894 5.22524C23.3258 1.46947 19.1566 7.18063 17.7482 9.82948"
Expand All @@ -31,7 +31,7 @@ export default IconWrapper(
</g>
<defs>
<clipPath
id={props.id + '572b7723'}
id={props.id + '6a3f6771'}
>
<rect
width="48"
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/Abdominal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'abdominal',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/Acoustic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'acoustic',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/Add.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'add',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/AddFour.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'add-four',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/AddOne.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'add-one',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/AddPrint.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'add-print',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/AddThree.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'add-three',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/AddUser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'add-user',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/Aiming.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'aiming',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/Airpods.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'airpods',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/AlignHorizontally.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'align-horizontally',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/AlignTextBoth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'align-text-both',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/AlignTextBothOne.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'align-text-both-one',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/AlignTextBottom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'align-text-bottom',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/AlignTextCenterOne.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'align-text-center-one',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/AlignTextMiddle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'align-text-middle',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/AlignTextTop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'align-text-top',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/AllApplication.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'all-application',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/Anchor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'anchor',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/AnchorOne.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'anchor-one',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/AnchorRound.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'anchor-round',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/AnchorSqure.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'anchor-squre',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/AnchorTwo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'anchor-two',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/Android.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'android',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/AngryFace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'angry-face',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/AnguishedFace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'anguished-face',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/AperturePriority.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'aperture-priority',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/AppSwitch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'app-switch',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/AppletClosed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'applet-closed',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/Application.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'application',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/ApplicationOne.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'application-one',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/ApplicationTwo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'application-two',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/ArcDeTriomphe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'arc-de-triomphe',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/ArrowCircleDown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'arrow-circle-down',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/ArrowCircleUp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'arrow-circle-up',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/ArrowDown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'arrow-down',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/ArrowUp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'arrow-up',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/Association.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'association',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/icons/Asterisk.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'asterisk',
true,
false,
(props: ISvgIconProps) => (
<svg
width={props.size}
Expand Down
Loading

0 comments on commit 355a2a7

Please sign in to comment.