-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(iconsax): new Iconsax component
- Loading branch information
Showing
16 changed files
with
35,031 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Change Log | ||
|
||
All notable changes to this project will be documented in this file. | ||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. |
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,41 @@ | ||
# Vue Iconsax | ||
|
||
## Installation | ||
|
||
npm | ||
|
||
``` | ||
npm i @gits-id/iconsax | ||
``` | ||
|
||
yarn | ||
|
||
``` | ||
yarn add @gits-id/iconsax | ||
``` | ||
|
||
pnpm | ||
|
||
``` | ||
pnpm i @gits-id/iconsax | ||
``` | ||
|
||
## Usage | ||
|
||
```vue | ||
<script setup lang="ts"> | ||
import Iconsax from '@gits-id/iconsax'; | ||
</script> | ||
<template> | ||
<Iconsax name="airplane" /> | ||
</template> | ||
``` | ||
|
||
## Documentation | ||
|
||
View full documentation [here](https://gits-ui.web.app/?path=/story/components-iconsax--default). | ||
|
||
## License | ||
|
||
MIT |
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,33 @@ | ||
{ | ||
"name": "@gits-id/iconsax", | ||
"version": "0.0.0", | ||
"description": "Vue Iconsax", | ||
"scripts": { | ||
"build": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types", | ||
"prepublishOnly": "npm run build", | ||
"test": "vitest" | ||
}, | ||
"keywords": [ | ||
"icon", | ||
"gits", | ||
"ui-component", | ||
"iconsax", | ||
"vue" | ||
], | ||
"author": "Warsono <[email protected]>", | ||
"license": "MIT", | ||
"dependencies": { | ||
"vue": "^3.2.31" | ||
}, | ||
"devDependencies": { | ||
"@vue/test-utils": "^2.0.0-rc.17", | ||
"c8": "^7.11.3", | ||
"vite": "^3.0.0", | ||
"vitest": "^0.12.4" | ||
}, | ||
"main": "dist/iconsax.umd.js", | ||
"unpkg": "dist/iconsax.iife.js", | ||
"jsdelivr": "dist/iconsax.iife.js", | ||
"module": "./dist/iconsax.mjs", | ||
"types": "./dist/types/index.d.ts" | ||
} |
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 @@ | ||
module.exports = { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
} |
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,27 @@ | ||
import {Story} from '@storybook/vue3'; | ||
import Iconsax from './Iconsax.vue'; | ||
|
||
export default { | ||
title: 'Components/Iconsax', | ||
component: Iconsax, | ||
argTypes: {}, | ||
args: { | ||
name: 'ic:round-home', | ||
}, | ||
}; | ||
|
||
export const Default: Story<{}> = () => ({ | ||
components: {Iconsax}, | ||
template: ` | ||
<Iconsax name="airplane" /> | ||
`, | ||
}); | ||
Default.parameters = { | ||
docs: { | ||
source: { | ||
code: ` | ||
<Iconsax name="airplane" /> | ||
`, | ||
}, | ||
}, | ||
}; |
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,9 @@ | ||
<script setup lang="ts"> | ||
defineProps<{ | ||
name: string; | ||
}>(); | ||
</script> | ||
|
||
<template> | ||
<i :class="`isax isax-${name}`"></i> | ||
</template> |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
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 @@ | ||
export {default} from './Iconsax.vue'; |
Oops, something went wrong.