-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
60 changed files
with
422 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
"name": "Hamza Miloud Amar", | ||
"email": "[email protected]" | ||
}, | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"sideEffects": false, | ||
"license": "MIT", | ||
"main": "./dist/index.js", | ||
|
@@ -30,7 +30,8 @@ | |
"exports": { | ||
".": { | ||
"require": "./dist/index.js", | ||
"import": "./dist/index.mjs" | ||
"import": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts" | ||
} | ||
}, | ||
"scripts": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,10 @@ | ||
import { ROTATION, svgProps } from '../../shared' | ||
import { SvgWithDirection, SvgType } from '../../type' | ||
import { SvgWithDirection } from '../../type' | ||
|
||
const ArrowBarDown = ({ direction = 'bottom', ...rest }: SvgWithDirection) => ( | ||
<svg {...svgProps} transform={`rotate(${ROTATION[direction]})`} {...rest}> | ||
<path d="M12 20V10m0 10 4-4m-4 4-4-4M4 4h16" /> | ||
</svg> | ||
) | ||
|
||
const ArrowBarLeft = ({ direction, ...rest }: SvgType) => <ArrowBarDown direction="left" {...rest} /> | ||
const ArrowBarRight = ({ direction, ...rest }: SvgType) => <ArrowBarDown direction="right" {...rest} /> | ||
const ArrowBarTop = ({ direction, ...rest }: SvgType) => <ArrowBarDown direction="top" {...rest} /> | ||
|
||
export { ArrowBarDown, ArrowBarLeft, ArrowBarRight, ArrowBarTop } | ||
export default ArrowBarDown |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { SvgType } from '../../type' | ||
import ArrowBarDown from './arrowBarDown' | ||
|
||
const ArrowBarLeft = ({ direction, ...rest }: SvgType) => <ArrowBarDown direction="left" {...rest} /> | ||
|
||
export default ArrowBarLeft |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { SvgType } from '../../type' | ||
import ArrowBarDown from './arrowBarDown' | ||
|
||
const ArrowBarRight = ({ direction, ...rest }: SvgType) => <ArrowBarDown direction="right" {...rest} /> | ||
|
||
export default ArrowBarRight |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { SvgType } from '../../type' | ||
import ArrowBarDown from './arrowBarDown' | ||
|
||
const ArrowBarTop = ({ direction, ...rest }: SvgType) => <ArrowBarDown direction="top" {...rest} /> | ||
|
||
export default ArrowBarTop |
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
packages/pillar-icons/src/icons/arrows/arrowCircleDown.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { ROTATION, svgProps } from '../../shared' | ||
import { SvgWithDirection } from '../../type' | ||
|
||
const ArrowCircleDown = ({ direction = 'bottom', ...rest }: SvgWithDirection) => ( | ||
<svg {...svgProps} transform={`rotate(${ROTATION[direction]})`} {...rest}> | ||
<path d="m8 12 4 4m0 0V8m0 8 4-4m5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z" /> | ||
</svg> | ||
) | ||
|
||
export default ArrowCircleDown |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { SvgType } from '../../type' | ||
import ArrowCircleDown from './arrowCircleDown' | ||
|
||
const ArrowCircleLeft = ({ direction, ...rest }: SvgType) => <ArrowCircleDown direction="left" {...rest} /> | ||
|
||
export default ArrowCircleLeft |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { SvgType } from '../../type' | ||
import ArrowCircleDown from './arrowCircleDown' | ||
|
||
const ArrowCircleRight = ({ direction, ...rest }: SvgType) => <ArrowCircleDown direction="right" {...rest} /> | ||
|
||
export default ArrowCircleRight |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { SvgType } from '../../type' | ||
import ArrowCircleDown from './arrowCircleDown' | ||
|
||
const ArrowCircleTop = ({ direction, ...rest }: SvgType) => <ArrowCircleDown direction="top" {...rest} /> | ||
|
||
export default ArrowCircleTop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,10 @@ | ||
import { ROTATION, svgProps } from '../../shared' | ||
import { SvgType, SvgWithDirection } from '../../type' | ||
import { SvgWithDirection } from '../../type' | ||
|
||
const ArrowDown = ({ direction = 'bottom', ...rest }: SvgWithDirection) => ( | ||
<svg {...svgProps} transform={`rotate(${ROTATION[direction]})`} {...rest}> | ||
<path d="M12 5v14m0 0 4-4m-4 4-4-4" /> | ||
</svg> | ||
) | ||
|
||
const ArrowLeft = ({ direction, ...rest }: SvgType) => <ArrowDown direction="left" {...rest} /> | ||
const ArrowRight = ({ direction, ...rest }: SvgType) => <ArrowDown direction="right" {...rest} /> | ||
const ArrowTop = ({ direction, ...rest }: SvgType) => <ArrowDown direction="top" {...rest} /> | ||
|
||
export { ArrowDown, ArrowLeft, ArrowRight, ArrowTop } | ||
export default ArrowDown |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { SvgType } from '../../type' | ||
import ArrowDown from './arrowDown' | ||
|
||
const ArrowLeft = ({ direction, ...rest }: SvgType) => <ArrowDown direction="left" {...rest} /> | ||
|
||
export default ArrowLeft |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { SvgType } from '../../type' | ||
import ArrowDown from './arrowDown' | ||
|
||
const ArrowRight = ({ direction, ...rest }: SvgType) => <ArrowDown direction="right" {...rest} /> | ||
|
||
export default ArrowRight |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { SvgType } from '../../type' | ||
import ArrowDown from './arrowDown' | ||
|
||
const ArrowTop = ({ direction, ...rest }: SvgType) => <ArrowDown direction="top" {...rest} /> | ||
|
||
export default ArrowTop |
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
packages/pillar-icons/src/icons/arrows/arrowsDoubleDown.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { ROTATION, svgProps } from '../../shared' | ||
import { SvgWithDirection } from '../../type' | ||
|
||
const ArrowsDoubleDown = ({ direction = 'bottom', ...rest }: SvgWithDirection) => ( | ||
<svg {...svgProps} transform={`rotate(${ROTATION[direction]})`} {...rest}> | ||
<path d="M17 3v18m0-18 3 3m-3-3-3 3m-4 12-3 3m0 0-3-3m3 3V3" /> | ||
</svg> | ||
) | ||
|
||
export default ArrowsDoubleDown |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { SvgType } from '../../type' | ||
import ArrowsDoubleDown from './arrowsDoubleDown' | ||
|
||
const ArrowDownLeft = ({ direction, ...rest }: SvgType) => <ArrowsDoubleDown direction="left" {...rest} /> | ||
|
||
export default ArrowDownLeft |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { SvgType } from '../../type' | ||
import ArrowsDoubleDown from './arrowsDoubleDown' | ||
|
||
const ArrowDownRight = ({ direction, ...rest }: SvgType) => <ArrowsDoubleDown direction="right" {...rest} /> | ||
|
||
export default ArrowDownRight |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { SvgType } from '../../type' | ||
import ArrowsDoubleDown from './arrowsDoubleDown' | ||
|
||
const ArrowDownTop = ({ direction, ...rest }: SvgType) => <ArrowsDoubleDown direction="top" {...rest} /> | ||
|
||
export default ArrowDownTop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,10 @@ | ||
import { ROTATION, svgProps } from '../../shared' | ||
import { SvgType, SvgWithDirection } from '../../type' | ||
import { SvgWithDirection } from '../../type' | ||
|
||
const ArrowsDown = ({ direction = 'bottom', ...rest }: SvgWithDirection) => ( | ||
<svg {...svgProps} transform={`rotate(${ROTATION[direction]})`} {...rest}> | ||
<path d="M7 21V3m0 18-3-3m3 3 3-3m10 0-3 3m0 0-3-3m3 3V3" /> | ||
</svg> | ||
) | ||
|
||
const ArrowsLeft = ({ direction, ...rest }: SvgType) => <ArrowsDown direction="left" {...rest} /> | ||
const ArrowsRight = ({ direction, ...rest }: SvgType) => <ArrowsDown direction="right" {...rest} /> | ||
const ArrowsTop = ({ direction, ...rest }: SvgType) => <ArrowsDown direction="top" {...rest} /> | ||
|
||
export { ArrowsDown, ArrowsLeft, ArrowsRight, ArrowsTop } | ||
export default ArrowsDown |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { SvgType } from '../../type' | ||
import ArrowsDown from './arrowsDown' | ||
|
||
const ArrowsLeft = ({ direction, ...rest }: SvgType) => <ArrowsDown direction="left" {...rest} /> | ||
|
||
export default ArrowsLeft |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { SvgType } from '../../type' | ||
import ArrowsDown from './arrowsDown' | ||
|
||
const ArrowsRight = ({ direction, ...rest }: SvgType) => <ArrowsDown direction="right" {...rest} /> | ||
|
||
export default ArrowsRight |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { SvgType } from '../../type' | ||
import ArrowsDown from './arrowsDown' | ||
|
||
const ArrowsTop = ({ direction, ...rest }: SvgType) => <ArrowsDown direction="top" {...rest} /> | ||
|
||
export default ArrowsTop |
Oops, something went wrong.
f335e73
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
pillar-ui-docs-fu15 – ./apps/docs
pillar-ui-docs-fu15-hamzaamar.vercel.app
pillar-ui-docs-fu15.vercel.app
pillar-ui-docs-fu15-git-main-hamzaamar.vercel.app