Compare commits

...

5 Commits

Author SHA1 Message Date
Eric Fennis
a25f139953 add spline icon (#811) 2022-10-24 18:54:16 +02:00
Ekow Baah-Nyarkoh
b457c8dea1 Make lucid-angular compatible with angular 14 (#835)
* make lucid angular compatible with angular 14

* update pnpm-lock file
2022-10-24 18:39:44 +02:00
Christian Friedow
2e24567f8e Docs: fix and extend the generic vue3 icon component example (#832)
* docs: fix and extend the vue3 icon component example

* docs: refactor the usage example to utilize script setup

* fix: correct dashcase in property names
2022-10-23 18:30:39 +02:00
ANTARCTUS
9b90bc4d51 Better tags 1 (#827)
* Update tags.json

Add "logo" tag to the trello logo

* Update tags.json

Add "maths" tag

* Update tags.json

Add tag "logo" to  chrome

* Update tags.json

Add the tag "shape" to "octogon", "triangle", "square" and "circle"

* Update tags.json

Add tag "shape" to diamond

* Update tags.json

Add tag "maths" to function

* Update tags.json

* Update tags.json

Add "maths" to "circle slashed"

* Update tags.json

Remove the comma after the tag logo from trello
2022-10-23 18:29:43 +02:00
Lucide Bot
6fd0380e19 📦 Bump lucide package versions to 0.93.0 2022-10-23 12:19:23 +00:00
12 changed files with 3519 additions and 4180 deletions

View File

@@ -35,15 +35,8 @@ You can pass additional props to adjust the icon.
/> />
</template> </template>
<script> <script setup>
// Returns Vue component
import { Camera } from 'lucide-vue-next'; import { Camera } from 'lucide-vue-next';
export default {
name: "My Component",
components: { Camera }
}
</script> </script>
``` ```
@@ -53,8 +46,8 @@ export default {
| ------------ | -------- | -------- | ------------ | -------- | --------
| `size` | *Number* | 24 | `size` | *Number* | 24
| `color` | *String* | currentColor | `color` | *String* | currentColor
| `strokeWidth`| *Number* | 2 | `stroke-width`| *Number* | 2
| `defaultClass`| *String* | lucide-icon | `default-class`| *String* | lucide-icon
### Custom props ### Custom props
@@ -76,25 +69,25 @@ It is possible to create one generic icon component to load icons.
``` html ``` html
<template> <template>
<component :is="icon" /> <component :is="icon" :size="size" :color="color" :stroke-width="strokeWidth" :default-class="defaultClass" />
</template> </template>
<script> <script setup>
import { computed } from 'vue';
import * as icons from "lucide-vue-next"; import * as icons from "lucide-vue-next";
export default { const props = defineProps({
props: { name: {
name: { type: String,
type: String, required: true
required: true,
},
}, },
setup(props) { size: Number,
const icon = computed(() => icons[props.name]) color: String,
strokeWidth: Number,
defaultClass: String
})
return { icon } const icon = computed(() => icons[props.name]);
}
};
</script> </script>
``` ```
@@ -107,3 +100,4 @@ export default {
</div> </div>
</template> </template>
``` ```
All other props listed above also work on the `Icon` Component.

15
icons/spline.svg Normal file
View File

@@ -0,0 +1,15 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M21 6V4c0-.6-.4-1-1-1h-2a1 1 0 0 0-1 1v2c0 .6.4 1 1 1h2c.6 0 1-.4 1-1Z" />
<path d="M7 20v-2c0-.6-.4-1-1-1H4a1 1 0 0 0-1 1v2c0 .6.4 1 1 1h2c.6 0 1-.4 1-1Z" />
<path d="M5 17A12 12 0 0 1 17 5" />
</svg>

After

Width:  |  Height:  |  Size: 418 B

View File

@@ -1,7 +1,7 @@
{ {
"name": "lucide-angular", "name": "lucide-angular",
"description": "A Lucide icon library package for Angular applications", "description": "A Lucide icon library package for Angular applications",
"version": "0.92.0", "version": "0.93.0",
"author": "SMAH1", "author": "SMAH1",
"license": "ISC", "license": "ISC",
"homepage": "https://lucide.dev", "homepage": "https://lucide.dev",
@@ -34,34 +34,35 @@
"version": "pnpm version --git-tag-version=false" "version": "pnpm version --git-tag-version=false"
}, },
"dependencies": { "dependencies": {
"tslib": "^2.3.1" "tslib": "^2.4.0"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~0.1102.5", "@angular-devkit/build-angular": "~14.2.6",
"@angular/cli": "~11.2.15", "@angular/cli": "~14.2.6",
"@angular/common": "~11.2.14", "@angular/common": "~14.2.7",
"@angular/compiler": "~11.2.14", "@angular/compiler": "~14.2.7",
"@angular/compiler-cli": "~11.2.14", "@angular/compiler-cli": "~14.2.7",
"@angular/core": "~11.2.14", "@angular/core": "~14.2.7",
"@angular/platform-browser": "~11.2.14", "@angular/platform-browser": "~14.2.7",
"@angular/platform-browser-dynamic": "~11.2.14", "@angular/platform-browser-dynamic": "~14.2.7",
"@types/jasmine": "~3.10.2", "@types/jasmine": "~4.3.0",
"@types/node": "^16.11.7", "@types/node": "^18.11.4",
"codelyzer": "^6.0.2", "codelyzer": "^6.0.2",
"jasmine-core": "~3.10.1", "jasmine-core": "~4.4.0",
"jasmine-spec-reporter": "~7.0.0", "jasmine-spec-reporter": "~7.0.0",
"karma": "~6.3.14", "karma": "~6.4.1",
"karma-chrome-launcher": "~3.1.0", "karma-chrome-launcher": "~3.1.1",
"karma-coverage": "~2.0.3", "karma-coverage": "~2.2.0",
"karma-jasmine": "~4.0.1", "karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "^1.7.0", "karma-jasmine-html-reporter": "^2.0.0",
"ng-packagr": "^11.2.4", "ng-packagr": "^14.2.1",
"protractor": "~7.0.0", "protractor": "~7.0.0",
"puppeteer": "^8.0.0", "puppeteer": "^19.1.0",
"rxjs": "6.5.3", "rxjs": "7.5.7",
"ts-node": "~10.4.0", "ts-node": "~10.9.1",
"tslint": "~6.1.0", "tslint": "~6.1.0",
"typescript": "~4.1.5", "typescript": "~4.8.4",
"zone.js": "^0.11.7" "zone.js": "^0.11.8"
} }
} }

View File

@@ -1,6 +1,6 @@
name: lucide_icons name: lucide_icons
description: A Lucide icon library package for Flutter applications. Fork of Feather Icons, open for anyone to contribute icons. description: A Lucide icon library package for Flutter applications. Fork of Feather Icons, open for anyone to contribute icons.
version: 0.92.0 version: 0.93.0
homepage: https://lucide.dev homepage: https://lucide.dev
repository: https://github.com/lucide-icons/lucide repository: https://github.com/lucide-icons/lucide

View File

@@ -1,7 +1,7 @@
{ {
"name": "lucide-preact", "name": "lucide-preact",
"description": "A Lucide icon library package for Preact applications", "description": "A Lucide icon library package for Preact applications",
"version": "0.92.0", "version": "0.93.0",
"license": "ISC", "license": "ISC",
"homepage": "https://lucide.dev", "homepage": "https://lucide.dev",
"bugs": "https://github.com/lucide-icons/lucide/issues", "bugs": "https://github.com/lucide-icons/lucide/issues",

View File

@@ -1,7 +1,7 @@
{ {
"name": "lucide-react", "name": "lucide-react",
"description": "A Lucide icon library package for React applications", "description": "A Lucide icon library package for React applications",
"version": "0.92.0", "version": "0.93.0",
"license": "ISC", "license": "ISC",
"homepage": "https://lucide.dev", "homepage": "https://lucide.dev",
"bugs": "https://github.com/lucide-icons/lucide/issues", "bugs": "https://github.com/lucide-icons/lucide/issues",

View File

@@ -1,7 +1,7 @@
{ {
"name": "lucide-svelte", "name": "lucide-svelte",
"description": "A Lucide icon library package for Svelte applications", "description": "A Lucide icon library package for Svelte applications",
"version": "0.92.0", "version": "0.93.0",
"license": "ISC", "license": "ISC",
"homepage": "https://lucide.dev", "homepage": "https://lucide.dev",
"bugs": "https://github.com/lucide-icons/lucide/issues", "bugs": "https://github.com/lucide-icons/lucide/issues",

View File

@@ -1,6 +1,6 @@
{ {
"name": "lucide-vue-next", "name": "lucide-vue-next",
"version": "0.92.0", "version": "0.93.0",
"author": "Eric Fennis", "author": "Eric Fennis",
"description": "A Lucide icon library package for Vue 3 applications", "description": "A Lucide icon library package for Vue 3 applications",
"license": "ISC", "license": "ISC",

View File

@@ -1,6 +1,6 @@
{ {
"name": "lucide-vue", "name": "lucide-vue",
"version": "0.92.0", "version": "0.93.0",
"author": "Eric Fennis", "author": "Eric Fennis",
"description": "A Lucide icon library package for Vue 2 applications", "description": "A Lucide icon library package for Vue 2 applications",
"license": "ISC", "license": "ISC",

View File

@@ -1,7 +1,7 @@
{ {
"name": "lucide", "name": "lucide",
"description": "A Lucide icon library package for web and javascript applications.", "description": "A Lucide icon library package for web and javascript applications.",
"version": "0.92.0", "version": "0.93.0",
"license": "ISC", "license": "ISC",
"homepage": "https://lucide.dev", "homepage": "https://lucide.dev",
"bugs": "https://github.com/lucide-icons/lucide/issues", "bugs": "https://github.com/lucide-icons/lucide/issues",

7483
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -845,7 +845,8 @@
"vertical" "vertical"
], ],
"chrome": [ "chrome": [
"browser" "browser",
"logo"
], ],
"cigarette": [ "cigarette": [
"smoking" "smoking"
@@ -857,7 +858,8 @@
"circle": [ "circle": [
"off", "off",
"zero", "zero",
"record" "record",
"shape"
], ],
"circle-dot": [ "circle-dot": [
"pending", "pending",
@@ -875,7 +877,8 @@
"zero", "zero",
"Ø", "Ø",
"null", "null",
"nothing" "nothing",
"maths"
], ],
"citrus": [ "citrus": [
"lemon", "lemon",
@@ -1239,7 +1242,8 @@
"square", "square",
"rectangle", "rectangle",
"oblique", "oblique",
"rhombus" "rhombus",
"shape"
], ],
"dice-1": [ "dice-1": [
"dice", "dice",
@@ -1301,7 +1305,8 @@
"difference", "difference",
"plus", "plus",
"minus", "minus",
"plus-minus" "plus-minus",
"maths"
], ],
"disc": [ "disc": [
"album", "album",
@@ -1310,13 +1315,16 @@
"music" "music"
], ],
"divide": [ "divide": [
"calculate" "calculate",
"maths"
], ],
"divide-circle": [ "divide-circle": [
"calculate" "calculate",
"maths"
], ],
"divide-square": [ "divide-square": [
"calculate" "calculate",
"maths"
], ],
"dollar-sign": [ "dollar-sign": [
"currency", "currency",
@@ -1379,11 +1387,13 @@
"breakfast" "breakfast"
], ],
"equal": [ "equal": [
"calculate" "calculate",
"maths"
], ],
"equal-not": [ "equal-not": [
"calculate", "calculate",
"off" "off",
"maths"
], ],
"eraser": [ "eraser": [
"pencil", "pencil",
@@ -1996,7 +2006,8 @@
"function-square": [ "function-square": [
"programming", "programming",
"code", "code",
"automation" "automation",
"maths"
], ],
"joystick": [ "joystick": [
"game", "game",
@@ -2272,7 +2283,8 @@
"infinity": [ "infinity": [
"unlimited", "unlimited",
"forever", "forever",
"loop" "loop",
"maths"
], ],
"info": [ "info": [
"help" "help"
@@ -2287,6 +2299,7 @@
], ],
"instagram": [ "instagram": [
"logo", "logo",
"social",
"camera" "camera"
], ],
"italic": [ "italic": [
@@ -2451,7 +2464,7 @@
], ],
"linkedin": [ "linkedin": [
"logo", "logo",
"social media" "social"
], ],
"list": [ "list": [
"options" "options"
@@ -2771,15 +2784,18 @@
], ],
"minus": [ "minus": [
"subtract", "subtract",
"calculate" "calculate",
"maths"
], ],
"minus-circle": [ "minus-circle": [
"subtract", "subtract",
"calculate" "calculate",
"maths"
], ],
"minus-square": [ "minus-square": [
"subtract", "subtract",
"calculate" "calculate",
"maths"
], ],
"monitor": [ "monitor": [
"tv", "tv",
@@ -2915,7 +2931,8 @@
"headline" "headline"
], ],
"octagon": [ "octagon": [
"stop" "stop",
"shape"
], ],
"option": [ "option": [
"key", "key",
@@ -3103,15 +3120,18 @@
], ],
"plus": [ "plus": [
"add", "add",
"new" "new",
"maths"
], ],
"plus-circle": [ "plus-circle": [
"add", "add",
"new" "new",
"maths"
], ],
"plus-square": [ "plus-square": [
"add", "add",
"new" "new",
"maths"
], ],
"pocket": [ "pocket": [
"logo", "logo",
@@ -3169,13 +3189,15 @@
"rectangle", "rectangle",
"aspect ratio", "aspect ratio",
"16:9", "16:9",
"horizontal" "horizontal",
"shape"
], ],
"rectangle-vertical": [ "rectangle-vertical": [
"rectangle", "rectangle",
"aspect ratio", "aspect ratio",
"9:16", "9:16",
"vertical" "vertical",
"shape"
], ],
"recycle": [ "recycle": [
"sustainability", "sustainability",
@@ -3211,7 +3233,8 @@
], ],
"regex": [ "regex": [
"search", "search",
"text" "text",
"code"
], ],
"repeat": [ "repeat": [
"loop", "loop",
@@ -3479,7 +3502,8 @@
], ],
"sigma": [ "sigma": [
"sum", "sum",
"calculate" "calculate",
"maths"
], ],
"signal": [ "signal": [
"connection", "connection",
@@ -3644,7 +3668,8 @@
"square": [ "square": [
"rectangle", "rectangle",
"aspect ratio", "aspect ratio",
"1:1" "1:1",
"shape"
], ],
"star": [ "star": [
"bookmark", "bookmark",
@@ -3958,7 +3983,9 @@
"park", "park",
"nature" "nature"
], ],
"trello": [], "trello": [
"logo"
],
"trending-down": [ "trending-down": [
"statistics" "statistics"
], ],
@@ -3966,7 +3993,8 @@
"statistics" "statistics"
], ],
"triangle": [ "triangle": [
"delta" "delta",
"shape"
], ],
"trophy": [ "trophy": [
"prize", "prize",
@@ -3993,7 +4021,8 @@
"display" "display"
], ],
"twitch": [ "twitch": [
"logo" "logo",
"social"
], ],
"twitter": [ "twitter": [
"logo", "logo",
@@ -4237,7 +4266,8 @@
"delete", "delete",
"remove", "remove",
"times", "times",
"clear" "clear",
"maths"
], ],
"x-circle": [ "x-circle": [
"cancel", "cancel",
@@ -4245,7 +4275,8 @@
"delete", "delete",
"remove", "remove",
"times", "times",
"clear" "clear",
"maths"
], ],
"x-octagon": [ "x-octagon": [
"delete", "delete",
@@ -4253,7 +4284,8 @@
"alert", "alert",
"warning", "warning",
"times", "times",
"clear" "clear",
"maths"
], ],
"x-square": [ "x-square": [
"cancel", "cancel",
@@ -4261,10 +4293,12 @@
"delete", "delete",
"remove", "remove",
"times", "times",
"clear" "clear",
"maths"
], ],
"youtube": [ "youtube": [
"logo", "logo",
"social",
"video", "video",
"play" "play"
], ],