Compare commits
35 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
36f84a74f6 | ||
|
|
1479a9dbd8 | ||
|
|
2485f6117a | ||
|
|
0bbaaa8abd | ||
|
|
a82af02687 | ||
|
|
a5be1b4101 | ||
|
|
639c0e8d85 | ||
|
|
b863445492 | ||
|
|
8c4a41035b | ||
|
|
4a55ae4b91 | ||
|
|
30f683a192 | ||
|
|
25e0aaf33c | ||
|
|
3cd84c8adf | ||
|
|
096ce92866 | ||
|
|
57abe654b1 | ||
|
|
852da97d46 | ||
|
|
ba86ca5ef0 | ||
|
|
f2e325264f | ||
|
|
de366a1cb0 | ||
|
|
5f5cec5b58 | ||
|
|
2ccd5b7422 | ||
|
|
e38137822d | ||
|
|
a9fef9f6b0 | ||
|
|
f646d84559 | ||
|
|
6f6ffa2478 | ||
|
|
76326cb289 | ||
|
|
13a3f565b6 | ||
|
|
b0f2e084d8 | ||
|
|
fc78d27cc3 | ||
|
|
9b0d0edb61 | ||
|
|
6a5f8d3755 | ||
|
|
35c96ab61f | ||
|
|
8fd8007c96 | ||
|
|
621cf6b290 | ||
|
|
a5ce1df506 |
@@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
pnpm run checkIcons
|
||||
exit $?
|
||||
4
.github/PULL_REQUEST_TEMPLATE/new-icon.md
vendored
@@ -9,7 +9,7 @@ at https://github.com/lucide-icons/lucide/blob/main/docs/ICON_DESIGN_GUIDE.md be
|
||||
and please fill everything below. -->
|
||||
|
||||
- **Name of the icon** : <!-- `icon` -->
|
||||
- **Tags (alternative names for this icon)** (add them in tags.json) :
|
||||
- **Tags (alternative names for this icon)** (add them in as a separate json file using the same icon name) :
|
||||
- **What is the purpose of this icon?** : <!-- Shows that one can click it to... / Is used to denote or label... -->
|
||||
- **100% scale preview** : <!-- upload an image -->
|
||||
- **Have you considered alternative possibilities** for its naming or design? :
|
||||
- **Have you considered alternative possibilities** for its naming or design? :
|
||||
|
||||
44
.github/actions/build-and-test.yml
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
name: "Build and Test"
|
||||
description: "Builds and test a package"
|
||||
|
||||
inputs:
|
||||
name:
|
||||
description: “Name of the package”
|
||||
required: true
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
|
||||
- uses: pnpm/action-setup@v2.0.1
|
||||
name: Install pnpm
|
||||
id: pnpm-install
|
||||
with:
|
||||
version: 7
|
||||
run_install: false
|
||||
|
||||
- name: Get pnpm store directory
|
||||
id: pnpm-cache
|
||||
run: |
|
||||
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
|
||||
|
||||
- uses: actions/cache@v3
|
||||
name: Setup pnpm cache
|
||||
with:
|
||||
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
|
||||
key: ${{ runner.os }}-lucide-preact-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-lucide-preact-pnpm-store-
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --filter lucide-preact
|
||||
|
||||
- name: Build
|
||||
run: pnpm --filter lucide-preact build
|
||||
|
||||
- name: Test
|
||||
run: pnpm --filter lucide-preact test
|
||||
41
.github/actions/check-icons.yml
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
name: "Check icons"
|
||||
description: "Cross-checks icon and category references in JSON descriptors"
|
||||
|
||||
inputs:
|
||||
name:
|
||||
description: “Name of the package”
|
||||
required: true
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
|
||||
- uses: pnpm/action-setup@v2.0.1
|
||||
name: Install pnpm
|
||||
id: pnpm-install
|
||||
with:
|
||||
version: 7
|
||||
run_install: false
|
||||
|
||||
- name: Get pnpm store directory
|
||||
id: pnpm-cache
|
||||
run: |
|
||||
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
|
||||
|
||||
- uses: actions/cache@v3
|
||||
name: Setup pnpm cache
|
||||
with:
|
||||
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
|
||||
key: ${{ runner.os }}-lucide-preact-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-lucide-preact-pnpm-store-
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --filter .
|
||||
|
||||
- name: Check icons and categories
|
||||
run: pnpm checkIcons
|
||||
4
.gitignore
vendored
@@ -15,4 +15,8 @@ stats
|
||||
outlined
|
||||
packages/**/src/icons/*.js
|
||||
packages/**/src/icons/*.ts
|
||||
packages/**/src/icons/*.tsx
|
||||
packages/**/src/aliases.ts
|
||||
packages/**/LICENSE
|
||||
categories.json
|
||||
tags.json
|
||||
|
||||
5
.husky/pre-commit
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
pnpm lint-staged
|
||||
pnpm checkIcons
|
||||
11
README.md
@@ -39,6 +39,7 @@ Lucide is trying to expand the icon set as much as possible while staying faithf
|
||||
- [Svelte](#svelte)
|
||||
- [Solid](#solid)
|
||||
- [Hyva](#hyva)
|
||||
- [Eleventy](#eleventy)
|
||||
- [Contributing](#contributing)
|
||||
- [Community](#community)
|
||||
- [License](#license)
|
||||
@@ -251,6 +252,16 @@ composer require siteation/magento2-hyva-icons-lucide
|
||||
|
||||
For more details, see the [documentation](https://github.com/Siteation/magento2-hyva-icons-lucide/blob/main/README.md).
|
||||
|
||||
### Eleventy
|
||||
|
||||
Using this plugin, Eleventy projects can incorporate Lucide icons. it makes it simple to use Lucide icons into your themes via shortcodes, improving your website's overall usability and visual appeal.
|
||||
|
||||
```sh
|
||||
npm install @grimlink/eleventy-plugin-lucide-icons
|
||||
```
|
||||
|
||||
For more details, see the [documentation](https://github.com/GrimLink/eleventy-plugin-lucide-icons/blob/main/README.md).
|
||||
|
||||
## Contributing
|
||||
|
||||
For more info on how to contribute please see the [contribution guidelines](https://github.com/lucide-icons/lucide/blob/main/CONTRIBUTING.md).
|
||||
|
||||
1558
categories.json
@@ -20,7 +20,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"icon": {
|
||||
"$ref": "#/$defs/types/icon-reference"
|
||||
"type": "string"
|
||||
},
|
||||
"weight": {
|
||||
"type": "integer"
|
||||
|
||||
@@ -80,3 +80,21 @@ For each icon these attributes are applied, corresponding to the above rules.
|
||||
Code of paths can get really big.
|
||||
To reduce file size we like to minify the code.
|
||||
We recommend to use the [SVGOMG](https://jakearchibald.github.io/svgomg/) to minify paths.
|
||||
|
||||
### JSON metadata descriptor
|
||||
|
||||
Each icon added must also come with a matching JSON file listing tags and categories for the icon.
|
||||
Please use the following template:
|
||||
|
||||
```json
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"tags": [
|
||||
"foo",
|
||||
"bar"
|
||||
],
|
||||
"categories": [
|
||||
"devices"
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
9682
icons.json
@@ -1,84 +0,0 @@
|
||||
{
|
||||
"$id": "https://lucide.dev/icons.schema.json",
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$vocabulary": {
|
||||
"https://json-schema.org/draft/2020-12/vocab/core": true,
|
||||
"https://json-schema.org/draft/2020-12/vocab/applicator": true,
|
||||
"https://json-schema.org/draft/2020-12/vocab/unevaluated": true,
|
||||
"https://json-schema.org/draft/2020-12/vocab/validation": true,
|
||||
"https://json-schema.org/draft/2020-12/vocab/meta-data": true,
|
||||
"https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
|
||||
"https://json-schema.org/draft/2020-12/vocab/content": true
|
||||
},
|
||||
|
||||
"title": "Lucide Icons schema",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"icons": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "#/$defs/types/icon"
|
||||
}
|
||||
},
|
||||
"categories": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "#/$defs/types/category"
|
||||
}
|
||||
}
|
||||
},
|
||||
"$defs": {
|
||||
"types": {
|
||||
"icon": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"minItems": 1,
|
||||
"uniqueItems": true
|
||||
},
|
||||
"categories": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/types/category-reference"
|
||||
},
|
||||
"uniqueItems": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"category": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"icon": {
|
||||
"$ref": "#/$defs/types/icon-reference"
|
||||
},
|
||||
"weight": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"title",
|
||||
"icon"
|
||||
]
|
||||
},
|
||||
"icon-reference": {
|
||||
"type": "string",
|
||||
"format": "uri-reference"
|
||||
},
|
||||
"category-reference": {
|
||||
"type": "string",
|
||||
"format": "uri-reference"
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "A JSON Schema for icons, tags & categories defined by Lucide Icons."
|
||||
}
|
||||
@@ -3,10 +3,11 @@
|
||||
"tags": [
|
||||
"warning",
|
||||
"alert",
|
||||
"danger"
|
||||
"danger",
|
||||
"exclamation mark"
|
||||
],
|
||||
"categories": [
|
||||
"notifications",
|
||||
"shapes"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,10 +3,11 @@
|
||||
"tags": [
|
||||
"warning",
|
||||
"alert",
|
||||
"danger"
|
||||
"danger",
|
||||
"exclamation mark"
|
||||
],
|
||||
"categories": [
|
||||
"notifications",
|
||||
"shapes"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,10 +3,11 @@
|
||||
"tags": [
|
||||
"warning",
|
||||
"alert",
|
||||
"danger"
|
||||
"danger",
|
||||
"exclamation mark"
|
||||
],
|
||||
"categories": [
|
||||
"notifications",
|
||||
"shapes"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,10 +2,12 @@
|
||||
"$schema": "../icon.schema.json",
|
||||
"tags": [
|
||||
"power",
|
||||
"electricity"
|
||||
"electricity",
|
||||
"accumulator",
|
||||
"charge"
|
||||
],
|
||||
"categories": [
|
||||
"connectivity",
|
||||
"devices"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,10 +2,12 @@
|
||||
"$schema": "../icon.schema.json",
|
||||
"tags": [
|
||||
"power",
|
||||
"electricity"
|
||||
"electricity",
|
||||
"accumulator",
|
||||
"charge"
|
||||
],
|
||||
"categories": [
|
||||
"connectivity",
|
||||
"devices"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,10 +2,12 @@
|
||||
"$schema": "../icon.schema.json",
|
||||
"tags": [
|
||||
"power",
|
||||
"electricity"
|
||||
"electricity",
|
||||
"accumulator",
|
||||
"charge"
|
||||
],
|
||||
"categories": [
|
||||
"connectivity",
|
||||
"devices"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,10 +2,12 @@
|
||||
"$schema": "../icon.schema.json",
|
||||
"tags": [
|
||||
"power",
|
||||
"electricity"
|
||||
"electricity",
|
||||
"accumulator",
|
||||
"charge"
|
||||
],
|
||||
"categories": [
|
||||
"connectivity",
|
||||
"devices"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
14
icons/battery-warning.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"tags": [
|
||||
"power",
|
||||
"electricity",
|
||||
"accumulator",
|
||||
"charge",
|
||||
"exclamation mark"
|
||||
],
|
||||
"categories": [
|
||||
"connectivity",
|
||||
"devices"
|
||||
]
|
||||
}
|
||||
17
icons/battery-warning.svg
Normal file
@@ -0,0 +1,17 @@
|
||||
<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="M14 7h2a2 2 0 0 1 2 2v6c0 1 -1 2 -2 2h-2" />
|
||||
<path d="M6 7h-2a2 2 0 0 0-2 2v6c0 1 1 2 2 2h2" />
|
||||
<line x1="22" x2="22" y1="11" y2="13" />
|
||||
<line x1="10" x2="10" y1="7" y2="13" />
|
||||
<line x1="10" x2="10" y1="17" y2="17.01" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 448 B |
@@ -2,10 +2,12 @@
|
||||
"$schema": "../icon.schema.json",
|
||||
"tags": [
|
||||
"power",
|
||||
"electricity"
|
||||
"electricity",
|
||||
"accumulator",
|
||||
"charge"
|
||||
],
|
||||
"categories": [
|
||||
"connectivity",
|
||||
"devices"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
16
icons/beef.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"tags": [
|
||||
"food",
|
||||
"dish",
|
||||
"restaurant",
|
||||
"course",
|
||||
"meal",
|
||||
"meat",
|
||||
"bbq",
|
||||
"steak"
|
||||
],
|
||||
"categories": [
|
||||
"food-beverage"
|
||||
]
|
||||
}
|
||||
15
icons/beef.svg
Normal 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"
|
||||
>
|
||||
<circle cx="12.5" cy="8.5" r="2.5" />
|
||||
<path d="M12.5 2a6.5 6.5 0 0 0-6.22 4.6c-1.1 3.13-.78 3.9-3.18 6.08A3 3 0 0 0 5 18c4 0 8.4-1.8 11.4-4.3A6.5 6.5 0 0 0 12.5 2Z" />
|
||||
<path d="m18.5 6 2.19 4.5a6.48 6.48 0 0 1 .31 2 6.49 6.49 0 0 1-2.6 5.2C15.4 20.2 11 22 7 22a3 3 0 0 1-2.68-1.66L2.4 16.5" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 509 B |
@@ -9,9 +9,7 @@
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M14 5.256A8.148 8.148 0 0 0 12 5a9.04 9.04 0 0 0-2 .227M20.098 10c.572 1.068.902 2.24.902 3.444C21 17.89 16.97 21 12 21s-9-3-9-7.556c0-1.251.288-2.41.792-3.444" />
|
||||
<path d="M3.75 10S2.11 3.58 3.5 3C4.89 2.42 8 3 9.781 5" />
|
||||
<path d="M20.172 10.002s1.64-6.42.25-7c-1.39-.58-4.5 0-6.282 2" />
|
||||
<path d="M12 5c.67 0 1.35.09 2 .26 1.78-2 5.03-2.84 6.42-2.26 1.4.58-.42 7-.42 7 .57 1.07 1 2.24 1 3.44C21 17.9 16.97 21 12 21s-9-3-9-7.56c0-1.25.5-2.4 1-3.44 0 0-1.89-6.42-.5-7 1.39-.58 4.72.23 6.5 2.23A9.04 9.04 0 0 1 12 5Z" />
|
||||
<path d="M8 14v.5" />
|
||||
<path d="M16 14v.5" />
|
||||
<path d="M11.25 16.25h1.5L12 17l-.75-.75Z" />
|
||||
|
||||
|
Before Width: | Height: | Size: 611 B After Width: | Height: | Size: 537 B |
@@ -4,8 +4,7 @@
|
||||
"arrow",
|
||||
"expand",
|
||||
"horizontal",
|
||||
"unfold",
|
||||
"horizonal"
|
||||
"unfold"
|
||||
],
|
||||
"categories": [
|
||||
"arrows"
|
||||
|
||||
@@ -4,8 +4,7 @@
|
||||
"arrow",
|
||||
"collapse",
|
||||
"fold",
|
||||
"horizontal",
|
||||
"horizonal"
|
||||
"horizontal"
|
||||
],
|
||||
"categories": [
|
||||
"arrows"
|
||||
|
||||
12
icons/construction.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"tags": [
|
||||
"roadwork",
|
||||
"maintenance",
|
||||
"blockade",
|
||||
"barricade"
|
||||
],
|
||||
"categories": [
|
||||
"development"
|
||||
]
|
||||
}
|
||||
20
icons/construction.svg
Normal file
@@ -0,0 +1,20 @@
|
||||
<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 6H3C2.44772 6 2 6.44772 2 7V13C2 13.5523 2.44772 14 3 14H21C21.5523 14 22 13.5523 22 13V7C22 6.44772 21.5523 6 21 6Z"/>
|
||||
<path d="M17 14V21" />
|
||||
<path d="M7 14V21" />
|
||||
<path d="M17 3V6" />
|
||||
<path d="M7 3V6" />
|
||||
<path d="M2.5 6.5L10 14" />
|
||||
<path d="M8 6L16 14" />
|
||||
<path d="M14 6L21.5 13.5" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 524 B |
@@ -1,7 +1,8 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"tags": [
|
||||
"licence"
|
||||
"licence",
|
||||
"license"
|
||||
],
|
||||
"categories": []
|
||||
}
|
||||
}
|
||||
|
||||
8
icons/creative-commons.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"tags": [
|
||||
"licence",
|
||||
"license"
|
||||
],
|
||||
"categories": []
|
||||
}
|
||||
15
icons/creative-commons.svg
Normal 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"
|
||||
>
|
||||
<circle cx="12" cy="12" r="10" />
|
||||
<path d="M10 9.3a2.8 2.8 0 0 0-3.5 1 3.1 3.1 0 0 0 0 3.4 2.7 2.7 0 0 0 3.5 1" />
|
||||
<path d="M17 9.3a2.8 2.8 0 0 0-3.5 1 3.1 3.1 0 0 0 0 3.4 2.7 2.7 0 0 0 3.5 1" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 410 B |
18
icons/database-backup.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"tags": [
|
||||
"storage",
|
||||
"memory",
|
||||
"backup",
|
||||
"timemachine",
|
||||
"rotate",
|
||||
"arrow",
|
||||
"left"
|
||||
],
|
||||
"categories": [
|
||||
"devices",
|
||||
"arrows",
|
||||
"design",
|
||||
"photography"
|
||||
]
|
||||
}
|
||||
18
icons/database-backup.svg
Normal file
@@ -0,0 +1,18 @@
|
||||
<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"
|
||||
>
|
||||
<ellipse cx="12" cy="5" rx="9" ry="3" />
|
||||
<path d="M3 12c0 1.18 2.03 2.2 5 2.7" />
|
||||
<path d="M21 5v4.5" />
|
||||
<path d="m12 16 1.27-1.35a4.75 4.75 0 1 1 .41 5.74" />
|
||||
<path d="M12 12v4h4" />
|
||||
<path d="M3 5v14c0 1.43 2.97 2.63 7 2.93" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 449 B |
@@ -6,5 +6,8 @@
|
||||
],
|
||||
"categories": [
|
||||
"text"
|
||||
],
|
||||
"aliases": [
|
||||
"pen"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,5 +6,8 @@
|
||||
],
|
||||
"categories": [
|
||||
"text"
|
||||
],
|
||||
"aliases": [
|
||||
"pen-line"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,5 +6,8 @@
|
||||
],
|
||||
"categories": [
|
||||
"text"
|
||||
],
|
||||
"aliases": [
|
||||
"pen-box"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,10 +5,11 @@
|
||||
"warning",
|
||||
"alert",
|
||||
"danger",
|
||||
"protected"
|
||||
"protected",
|
||||
"exclamation mark"
|
||||
],
|
||||
"categories": [
|
||||
"files",
|
||||
"notifications"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
10
icons/filter-x.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"tags": [
|
||||
"funnel",
|
||||
"hopper"
|
||||
],
|
||||
"categories": [
|
||||
"layout"
|
||||
]
|
||||
}
|
||||
15
icons/filter-x.svg
Normal 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="m13.013 3h-11.013l8 9.46v6.54l4 2v-8.54l0.89973-1.0554" />
|
||||
<path d="m22 3-5 5" />
|
||||
<path d="m17 3 5 5" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 328 B |
22
icons/fish-off.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"tags": [
|
||||
"food",
|
||||
"dish",
|
||||
"restaurant",
|
||||
"course",
|
||||
"meal",
|
||||
"seafood",
|
||||
"animal",
|
||||
"pet",
|
||||
"sea",
|
||||
"marine",
|
||||
"allergy",
|
||||
"intolerance",
|
||||
"diet"
|
||||
],
|
||||
"categories": [
|
||||
"food-beverage",
|
||||
"animals"
|
||||
]
|
||||
}
|
||||
1
icons/fish-off.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M18 12.47v.03M18 12v.47M17.525 17.526A6.744 6.744 0 0 1 15 18c-3.56 0-7.56-2.53-8.5-6 .348-1.28 1.114-2.433 2.121-3.38M12.065 6.532A8.802 8.802 0 0 1 15 6c3.56 0 6.06 2.54 7 6-.309 1.14-.786 2.177-1.413 3.058"/><path d="M7 10.67C7 8 5.58 5.97 2.73 5.5c-1 1.5-1 5 .23 6.5-1.24 1.5-1.24 5-.23 6.5C5.58 18.03 7 16 7 13.33M14.48 8.958A9.77 9.77 0 0 1 16 6.07M16 17.93a9.77 9.77 0 0 1-1.728-3.618"/><path d="m16.01 17.93-.23 1.4A2 2 0 0 1 13.8 21H9.5a5.96 5.96 0 0 0 1.49-3.98M8.53 3h5.27a2 2 0 0 1 1.98 1.67l.23 1.4M2 2l20 20"/></svg>
|
||||
|
After Width: | Height: | Size: 701 B |
19
icons/fish.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"tags": [
|
||||
"food",
|
||||
"dish",
|
||||
"restaurant",
|
||||
"course",
|
||||
"meal",
|
||||
"seafood",
|
||||
"animal",
|
||||
"pet",
|
||||
"sea",
|
||||
"marine"
|
||||
],
|
||||
"categories": [
|
||||
"food-beverage",
|
||||
"animals"
|
||||
]
|
||||
}
|
||||
18
icons/fish.svg
Normal file
@@ -0,0 +1,18 @@
|
||||
<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="M6.5 12c.94-3.46 4.94-6 8.5-6 3.56 0 6.06 2.54 7 6-.94 3.47-3.44 6-7 6s-7.56-2.53-8.5-6Z" />
|
||||
<path d="M18 12v.5" />
|
||||
<path d="M16 17.93a9.77 9.77 0 0 1 0-11.86" />
|
||||
<path d="M7 10.67C7 8 5.58 5.97 2.73 5.5c-1 1.5-1 5 .23 6.5-1.24 1.5-1.24 5-.23 6.5C5.58 18.03 7 16 7 13.33" />
|
||||
<path d="M10.46 7.26C10.2 5.88 9.17 4.24 8 3h5.8a2 2 0 0 1 1.98 1.67l.23 1.4" />
|
||||
<path d="m16.01 17.93-.23 1.4A2 2 0 0 1 13.8 21H9.5a5.96 5.96 0 0 0 1.49-3.98" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 667 B |
@@ -9,8 +9,8 @@
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M15 21v-4a2 2 0 0 1 2-2h4" />
|
||||
<path d="M7 4v2a3 3 0 0 0 3 2h0a2 2 0 0 1 2 2 2 2 0 0 0 4 0 2 2 0 0 1 2-2h3" />
|
||||
<path d="M3 11h2a2 2 0 0 1 2 2v1a2 2 0 0 0 2 2 2 2 0 0 1 2 2v4" />
|
||||
<path d="M21.54 15H17a2 2 0 0 0-2 2v4.54" />
|
||||
<path d="M7 3.34V5a3 3 0 0 0 3 3v0a2 2 0 0 1 2 2v0c0 1.1.9 2 2 2v0a2 2 0 0 0 2-2v0c0-1.1.9-2 2-2h3.17" />
|
||||
<path d="M11 21.95V18a2 2 0 0 0-2-2v0a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05" />
|
||||
<circle cx="12" cy="12" r="10" />
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 436 B After Width: | Height: | Size: 479 B |
@@ -3,7 +3,9 @@
|
||||
"tags": [
|
||||
"grab",
|
||||
"dots",
|
||||
"handle"
|
||||
"handle",
|
||||
"move",
|
||||
"drag"
|
||||
],
|
||||
"categories": [
|
||||
"layout"
|
||||
|
||||
13
icons/grip.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"tags": [
|
||||
"grab",
|
||||
"dots",
|
||||
"handle",
|
||||
"move",
|
||||
"drag"
|
||||
],
|
||||
"categories": [
|
||||
"layout"
|
||||
]
|
||||
}
|
||||
21
icons/grip.svg
Normal file
@@ -0,0 +1,21 @@
|
||||
<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"
|
||||
>
|
||||
<circle cx="12" cy="5" r="1" />
|
||||
<circle cx="19" cy="5" r="1" />
|
||||
<circle cx="5" cy="5" r="1" />
|
||||
<circle cx="12" cy="12" r="1" />
|
||||
<circle cx="19" cy="12" r="1" />
|
||||
<circle cx="5" cy="12" r="1" />
|
||||
<circle cx="12" cy="19" r="1" />
|
||||
<circle cx="19" cy="19" r="1" />
|
||||
<circle cx="5" cy="19" r="1" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 517 B |
15
icons/ice-cream-2.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"tags": [
|
||||
"gelato",
|
||||
"food",
|
||||
"dessert",
|
||||
"dish",
|
||||
"restaurant",
|
||||
"course",
|
||||
"meal"
|
||||
],
|
||||
"categories": [
|
||||
"food-beverage"
|
||||
]
|
||||
}
|
||||
15
icons/ice-cream-2.svg
Normal 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="M12 17c5 0 8-2.69 8-6H4c0 3.31 3 6 8 6Zm-4 4h8m-4-3v3M5.14 11a3.5 3.5 0 1 1 6.71 0"/>
|
||||
<path d="M12.14 11a3.5 3.5 0 1 1 6.71 0"/>
|
||||
<path d="M15.5 6.5a3.5 3.5 0 1 0-7 0"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 392 B |
@@ -4,9 +4,10 @@
|
||||
"email",
|
||||
"message",
|
||||
"letter",
|
||||
"delivery error"
|
||||
"delivery error",
|
||||
"exclamation mark"
|
||||
],
|
||||
"categories": [
|
||||
"mail"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,6 +10,6 @@
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M18 6H5a2 2 0 0 0-2 2v3a2 2 0 0 0 2 2h13l4-3.5L18 6Z" />
|
||||
<path d="M12 13v9" />
|
||||
<path d="M12 2v4" />
|
||||
<path d="M12 13v8" />
|
||||
<path d="M12 3v3" />
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 323 B After Width: | Height: | Size: 323 B |
16
icons/picture-in-picture-2.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"tags": [
|
||||
"display",
|
||||
"play",
|
||||
"video",
|
||||
"pop out",
|
||||
"always on top",
|
||||
"window",
|
||||
"inset",
|
||||
"multitask"
|
||||
],
|
||||
"categories": [
|
||||
"multimedia"
|
||||
]
|
||||
}
|
||||
14
icons/picture-in-picture-2.svg
Normal file
@@ -0,0 +1,14 @@
|
||||
<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 9V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v10c0 1.1.9 2 2 2h4" />
|
||||
<rect x="12" y="13" width="10" height="7" rx="2" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 334 B |
16
icons/picture-in-picture.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"tags": [
|
||||
"display",
|
||||
"play",
|
||||
"video",
|
||||
"pop out",
|
||||
"always on top",
|
||||
"window",
|
||||
"inset",
|
||||
"multitask"
|
||||
],
|
||||
"categories": [
|
||||
"multimedia"
|
||||
]
|
||||
}
|
||||
14
icons/picture-in-picture.svg
Normal file
@@ -0,0 +1,14 @@
|
||||
<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="M8 4.5v5H3m-1-6 6 6m13 0v-3c0-1.16-.84-2-2-2h-7m-9 9v2c0 1.05.95 2 2 2h3"/>
|
||||
<rect width="10" height="7" x="12" y="13.5" ry="2"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 350 B |
@@ -1,9 +1,12 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"tags": [
|
||||
"device"
|
||||
"on",
|
||||
"off",
|
||||
"device",
|
||||
"switch"
|
||||
],
|
||||
"categories": [
|
||||
"connectivity"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,9 +3,10 @@
|
||||
"tags": [
|
||||
"on",
|
||||
"off",
|
||||
"device"
|
||||
"device",
|
||||
"switch"
|
||||
],
|
||||
"categories": [
|
||||
"connectivity"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
17
icons/remove-formatting.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"tags": [
|
||||
"text",
|
||||
"font",
|
||||
"typography",
|
||||
"format",
|
||||
"x",
|
||||
"remove",
|
||||
"delete",
|
||||
"times",
|
||||
"clear"
|
||||
],
|
||||
"categories": [
|
||||
"text"
|
||||
]
|
||||
}
|
||||
17
icons/remove-formatting.svg
Normal file
@@ -0,0 +1,17 @@
|
||||
<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="M4 7V4h16v3" />
|
||||
<path d="M5 20h6" />
|
||||
<path d="M13 4 8 20" />
|
||||
<path d="m15 15 5 5" />
|
||||
<path d="m20 15-5 5" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 336 B |
17
icons/salad.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"tags": [
|
||||
"food",
|
||||
"vegetarian",
|
||||
"dish",
|
||||
"restaurant",
|
||||
"course",
|
||||
"meal",
|
||||
"side",
|
||||
"vegetables",
|
||||
"health"
|
||||
],
|
||||
"categories": [
|
||||
"food-beverage"
|
||||
]
|
||||
}
|
||||
17
icons/salad.svg
Normal file
@@ -0,0 +1,17 @@
|
||||
<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="M7 21h10" />
|
||||
<path d="M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z" />
|
||||
<path d="M11.38 12a2.4 2.4 0 0 1-.4-4.77 2.4 2.4 0 0 1 3.2-2.77 2.4 2.4 0 0 1 3.47-.63 2.4 2.4 0 0 1 3.37 3.37 2.4 2.4 0 0 1-1.1 3.7 2.51 2.51 0 0 1 .03 1.1" />
|
||||
<path d="m13 12 4-4" />
|
||||
<path d="M10.9 7.25A3.99 3.99 0 0 0 4 10c0 .73.2 1.41.54 2" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 539 B |
14
icons/sandwich.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"tags": [
|
||||
"food",
|
||||
"snack",
|
||||
"dish",
|
||||
"restaurant",
|
||||
"lunch",
|
||||
"meal"
|
||||
],
|
||||
"categories": [
|
||||
"food-beverage"
|
||||
]
|
||||
}
|
||||
16
icons/sandwich.svg
Normal file
@@ -0,0 +1,16 @@
|
||||
<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="M3 11v3a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-3" />
|
||||
<path d="M12 19H4a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-3.83" />
|
||||
<path d="m3 11 7.77-6.04a2 2 0 0 1 2.46 0L21 11H3Z" />
|
||||
<path d="M12.97 19.77 7 15h12.5l-3.75 4.5a2 2 0 0 1-2.78.27Z" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 483 B |
15
icons/soup.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"tags": [
|
||||
"food",
|
||||
"dish",
|
||||
"restaurant",
|
||||
"course",
|
||||
"meal",
|
||||
"bowl",
|
||||
"starter"
|
||||
],
|
||||
"categories": [
|
||||
"food-beverage"
|
||||
]
|
||||
}
|
||||
18
icons/soup.svg
Normal file
@@ -0,0 +1,18 @@
|
||||
<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="M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z" />
|
||||
<path d="M7 21h10" />
|
||||
<path d="M19.5 12 22 6" />
|
||||
<path d="M16.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.73 1.62" />
|
||||
<path d="M11.25 3c.27.1.8.53.74 1.36-.05.83-.93 1.2-.98 2.02-.06.78.33 1.24.72 1.62" />
|
||||
<path d="M6.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.74 1.62" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 579 B |
10
icons/split-square-horizontal.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"tags": [
|
||||
"split",
|
||||
"divide"
|
||||
],
|
||||
"categories": [
|
||||
"layout"
|
||||
]
|
||||
}
|
||||
14
icons/split-square-horizontal.svg
Normal file
@@ -0,0 +1,14 @@
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="24"
|
||||
height="24"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
stroke-width="2"
|
||||
>
|
||||
<path d="M 8,19 H 5 C 4,19 3,18 3,17 V 7 C 3,6 4,5 5,5 h 3" />
|
||||
<path d="m 16,5 h 3 c 1,0 2,1 2,2 v 10 c 0,1 -1,2 -2,2 h -3" />
|
||||
<line x1="12" y1="4" x2="12" y2="20" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 359 B |
10
icons/split-square-vertical.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"tags": [
|
||||
"split",
|
||||
"divide"
|
||||
],
|
||||
"categories": [
|
||||
"layout"
|
||||
]
|
||||
}
|
||||
15
icons/split-square-vertical.svg
Normal 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="M 5,8 V 5 C 5,4 6,3 7,3 h 10 c 1,0 2,1 2,2 v 3" />
|
||||
<path d="m 19,16 v 3 c 0,1 -1,2 -2,2 H 7 C 6,21 5,20 5,19 v -3" />
|
||||
<line x1="4" y1="12" x2="20" y2="12" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 381 B |
9
icons/subtitles.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"tags": [
|
||||
"captions",
|
||||
"closed captions",
|
||||
"accessibility"
|
||||
],
|
||||
"categories": []
|
||||
}
|
||||
@@ -9,6 +9,6 @@
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<rect x="1" y="5" width="22" height="14" rx="7" ry="7" />
|
||||
<circle cx="8" cy="12" r="3" />
|
||||
<rect x="2" y="6" width="20" height="12" rx="6" ry="6" />
|
||||
<circle cx="8" cy="12" r="2" />
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 302 B After Width: | Height: | Size: 302 B |
@@ -9,6 +9,6 @@
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<rect x="1" y="5" width="22" height="14" rx="7" ry="7" />
|
||||
<circle cx="16" cy="12" r="3" />
|
||||
<rect x="2" y="6" width="20" height="12" rx="6" ry="6" />
|
||||
<circle cx="16" cy="12" r="2" />
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 303 B After Width: | Height: | Size: 303 B |
13
icons/vote.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"tags": [
|
||||
"vote",
|
||||
"poll",
|
||||
"ballot",
|
||||
"political",
|
||||
"social"
|
||||
],
|
||||
"categories": [
|
||||
"social"
|
||||
]
|
||||
}
|
||||
15
icons/vote.svg
Executable 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="m9 12 2 2 4-4" />
|
||||
<path d="M5 7c0-1.1.9-2 2-2h10a2 2 0 0 1 2 2v12H5V7Z" />
|
||||
<path d="M22 19H2" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 320 B |
11
package.json
@@ -16,16 +16,16 @@
|
||||
"build:outline-icons": "pnpm --filter outline-svg start",
|
||||
"generate:supersprite": "node ./scripts/generateSuperSVG.mjs",
|
||||
"optimize": "node ./scripts/optimizeSvgs.mjs",
|
||||
"addtags": "node ./scripts/addMissingKeysToTags.mjs",
|
||||
"addjsons": "node scripts/addMissingIconJsonFiles.mjs",
|
||||
"checkIcons": "node scripts/checkIconsAndCategories.mjs --presets @babel/env",
|
||||
"tags2icons": "node scripts/migrateTagsToIcons.mjs --presets @babel/env",
|
||||
"icons2tags": "node scripts/migrateIconsToTags.mjs --presets @babel/env",
|
||||
"icons2categories": "node scripts/migrateIconsToCategories.mjs --presets @babel/env",
|
||||
"categories2icons": "node scripts/migrateCategoriesToIcons.mjs --presets @babel/env",
|
||||
"icons2files": "node scripts/migrateIconsToJsonFiles.mjs --presets @babel/env",
|
||||
"generate:changelog": "node ./scripts/generateChangelog.mjs",
|
||||
"postinstall": "husky install",
|
||||
"lint": "eslint --ext .ts,.js,.mjs ./{packages/lucide,scripts}"
|
||||
"lint": "eslint --ext .ts,.js,.mjs ./{packages/lucide,scripts}",
|
||||
"prepare": "husky install"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^8.26.0",
|
||||
@@ -41,11 +41,6 @@
|
||||
"svgo": "^3.0.0",
|
||||
"svgson": "^5.2.1"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "lint-staged"
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
"icons/*.svg": "node ./scripts/optimizeStagedSvgs.mjs"
|
||||
},
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "lucide-angular",
|
||||
"description": "A Lucide icon library package for Angular applications",
|
||||
"version": "0.104.0",
|
||||
"version": "0.115.0",
|
||||
"author": "SMAH1",
|
||||
"license": "ISC",
|
||||
"homepage": "https://lucide.dev",
|
||||
@@ -28,7 +28,7 @@
|
||||
"build": "pnpm clean && pnpm copy:license && pnpm build:icons && pnpm build:ng",
|
||||
"copy:license": "cp ../../LICENSE ./LICENSE",
|
||||
"clean": "rm -rf dist && rm -rf ./src/icons/*.ts",
|
||||
"build:icons": "node ../../scripts/buildIcons.mjs --output=./src --templateSrc=./scripts/exportTemplate.mjs --iconFileExtension=.ts --exportFileName=index.ts",
|
||||
"build:icons": "build-icons --output=./src --templateSrc=./scripts/exportTemplate.mjs --iconFileExtension=.ts --exportFileName=index.ts",
|
||||
"build:ng": "ng build --configuration production",
|
||||
"test": "ng test --no-watch --no-progress --browsers=ChromeHeadlessCI",
|
||||
"test:watch": "ng test",
|
||||
@@ -48,6 +48,7 @@
|
||||
"@angular/core": "~14.2.7",
|
||||
"@angular/platform-browser": "~14.2.7",
|
||||
"@angular/platform-browser-dynamic": "~14.2.7",
|
||||
"@lucide/build-icons": "workspace:*",
|
||||
"@types/jasmine": "~4.3.0",
|
||||
"@types/node": "^18.11.4",
|
||||
"codelyzer": "^6.0.2",
|
||||
|
||||
@@ -23,8 +23,10 @@ export const fetchIcons = async (cachedIcons? : LucideIcons): Promise<LucideIcon
|
||||
return cachedIcons
|
||||
}
|
||||
|
||||
const iconNodesResponse = await fetch(`https://unpkg.com/lucide-static@${packageJson.version}/icon-nodes.json`)
|
||||
const tagsResponse = await fetch('https://unpkg.com/lucide-static@latest/tags.json')
|
||||
const [iconNodesResponse, tagsResponse] = await Promise.all([
|
||||
fetch('https://lucide.dev/api/icon-nodes'),
|
||||
fetch('https://lucide.dev/api/tags')
|
||||
])
|
||||
|
||||
const iconNodes = await iconNodesResponse.json();
|
||||
const tags = await tagsResponse.json();
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name: lucide_icons
|
||||
description: A Lucide icon library package for Flutter applications. Fork of Feather Icons, open for anyone to contribute icons.
|
||||
version: 0.104.0
|
||||
version: 0.115.0
|
||||
homepage: https://lucide.dev
|
||||
repository: https://github.com/lucide-icons/lucide
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "lucide-preact",
|
||||
"description": "A Lucide icon library package for Preact applications",
|
||||
"version": "0.104.0",
|
||||
"version": "0.115.0",
|
||||
"license": "ISC",
|
||||
"homepage": "https://lucide.dev",
|
||||
"bugs": "https://github.com/lucide-icons/lucide/issues",
|
||||
@@ -25,7 +25,7 @@
|
||||
"build": "pnpm clean && pnpm copy:license && pnpm build:icons && pnpm build:bundles && pnpm build:types",
|
||||
"copy:license": "cp ../../LICENSE ./LICENSE",
|
||||
"clean": "rm -rf dist && rm -rf stats && rm -rf ./src/icons/*.js",
|
||||
"build:icons": "node ../../scripts/buildIcons.mjs --output=./src --templateSrc=./scripts/exportTemplate.mjs --renderUniqueKey --iconFileExtension=.ts --exportFileName=index.ts",
|
||||
"build:icons": "build-icons --output=./src --templateSrc=./scripts/exportTemplate.mjs --renderUniqueKey --withAliases --aliasesFileExtension=.ts --iconFileExtension=.ts --exportFileName=index.ts",
|
||||
"build:types": "node ./scripts/buildTypes.mjs",
|
||||
"build:bundles": "rollup -c ./rollup.config.mjs",
|
||||
"test": "vitest run",
|
||||
@@ -33,6 +33,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@lucide/rollup-plugins": "workspace:*",
|
||||
"@lucide/build-icons": "workspace:*",
|
||||
"@preact/preset-vite": "^2.4.0",
|
||||
"@testing-library/jest-dom": "^5.16.5",
|
||||
"@testing-library/preact": "^2.0.1",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import plugins from '@lucide/rollup-plugins';
|
||||
import plugins, { replace } from '@lucide/rollup-plugins';
|
||||
import pkg from './package.json' assert { type: "json" };
|
||||
|
||||
const packageName = 'LucidePreact';
|
||||
@@ -39,7 +39,19 @@ const configs = bundles
|
||||
.map(({ inputs, outputDir, format, minify, preserveModules }) =>
|
||||
inputs.map(input => ({
|
||||
input,
|
||||
plugins: plugins(pkg, minify),
|
||||
plugins: [
|
||||
...(
|
||||
format !== 'esm' ? [
|
||||
replace({
|
||||
"export * from './aliases';": '',
|
||||
"export * as icons from './icons';": '',
|
||||
delimiters: ['', ''],
|
||||
preventAssignment: false,
|
||||
}),
|
||||
] : []
|
||||
),
|
||||
...plugins(pkg, minify)
|
||||
],
|
||||
external: ['preact', 'prop-types'],
|
||||
output: {
|
||||
name: packageName,
|
||||
|
||||
@@ -1,18 +1,27 @@
|
||||
import path from 'path';
|
||||
// eslint-disable-next-line import/no-extraneous-dependencies
|
||||
import { getAliases } from '@lucide/build-icons';
|
||||
import {
|
||||
writeFile,
|
||||
readSvgDirectory,
|
||||
resetFile,
|
||||
toPascalCase,
|
||||
appendFile,
|
||||
getCurrentDirPath
|
||||
getCurrentDirPath,
|
||||
} from '../../../scripts/helpers.mjs';
|
||||
|
||||
const currentDir = getCurrentDirPath(import.meta.url)
|
||||
const currentDir = getCurrentDirPath(import.meta.url);
|
||||
const srcDirectory = path.join(currentDir, '../dist');
|
||||
|
||||
const writeDeclarationFile = (typesFile, directory, content) => {
|
||||
resetFile(typesFile, directory);
|
||||
writeFile(content, typesFile, directory);
|
||||
};
|
||||
|
||||
const ICONS_DIR = path.resolve(currentDir, '../../../icons');
|
||||
const TYPES_FILE = 'lucide-preact.d.ts';
|
||||
|
||||
// Declare type definitions
|
||||
const typeDefinitions = `\
|
||||
let declarationFileContent = `\
|
||||
/// <reference types="preact" />
|
||||
import { JSX, RefObject } from 'preact'
|
||||
|
||||
@@ -24,23 +33,59 @@ interface LucideProps extends Partial<Omit<JSX.SVGAttributes, "ref" | "size">> {
|
||||
strokeWidth?: string | number
|
||||
}
|
||||
|
||||
export type LucideIcon = (props: LucideProps) => JSX.Element;
|
||||
|
||||
export type IconNode = [elementName: keyof ReactSVG, attrs: Record<string, string>][]
|
||||
|
||||
export declare const createLucideIcon: (iconName: string, iconNode: IconNode) => LucideIcon;
|
||||
|
||||
// Generated icons
|
||||
`;
|
||||
|
||||
const ICONS_DIR = path.resolve(currentDir, '../../../icons');
|
||||
const TYPES_FILE = 'lucide-preact.d.ts';
|
||||
|
||||
resetFile(TYPES_FILE, srcDirectory);
|
||||
writeFile(typeDefinitions, TYPES_FILE, srcDirectory);
|
||||
|
||||
const svgFiles = readSvgDirectory(ICONS_DIR);
|
||||
|
||||
svgFiles.forEach(svgFile => {
|
||||
svgFiles.forEach((svgFile) => {
|
||||
const iconName = path.basename(svgFile, '.svg');
|
||||
const componentName = toPascalCase(iconName);
|
||||
|
||||
const exportTypeString = `export declare const ${componentName}: (props: LucideProps) => JSX.Element;\n`;
|
||||
appendFile(exportTypeString, TYPES_FILE, srcDirectory);
|
||||
declarationFileContent += `export declare const ${componentName}: LucideIcon;\n`;
|
||||
});
|
||||
|
||||
console.log(`Generated ${TYPES_FILE} file with`, svgFiles.length, 'icons');
|
||||
const aliases = await getAliases(ICONS_DIR);
|
||||
|
||||
declarationFileContent += `
|
||||
// Generated icon aliases
|
||||
|
||||
`;
|
||||
|
||||
let aliasesCount = 0;
|
||||
|
||||
svgFiles.forEach((svgFile) => {
|
||||
const iconName = path.basename(svgFile, '.svg');
|
||||
const componentName = toPascalCase(iconName);
|
||||
const iconAliases = aliases[iconName]?.aliases;
|
||||
|
||||
declarationFileContent += `// ${componentName} aliases\n`;
|
||||
declarationFileContent += `export declare const ${componentName}Icon: LucideIcon;\n`;
|
||||
declarationFileContent += `export declare const Lucide${componentName}: LucideIcon;\n`;
|
||||
aliasesCount += 1;
|
||||
if (iconAliases != null && Array.isArray(iconAliases)) {
|
||||
iconAliases.forEach((alias) => {
|
||||
const componentNameAlias = toPascalCase(alias);
|
||||
declarationFileContent += `export declare const ${componentNameAlias}: LucideIcon;\n`;
|
||||
|
||||
aliasesCount += 1;
|
||||
});
|
||||
}
|
||||
|
||||
declarationFileContent += '\n';
|
||||
});
|
||||
|
||||
writeDeclarationFile(TYPES_FILE, srcDirectory, declarationFileContent);
|
||||
console.log(
|
||||
`Generated ${TYPES_FILE} file with`,
|
||||
svgFiles.length,
|
||||
'icons and with',
|
||||
aliasesCount,
|
||||
'aliases',
|
||||
);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
export default ({ componentName, children }) => `
|
||||
import createPreactComponent from '../createPreactComponent';
|
||||
import createLucideIcon from '../createLucideIcon';
|
||||
|
||||
const ${componentName} = createPreactComponent('${componentName}', ${JSON.stringify(children)});
|
||||
const ${componentName} = createLucideIcon('${componentName}', ${JSON.stringify(children)});
|
||||
|
||||
export default ${componentName};
|
||||
`;
|
||||
|
||||
@@ -1,15 +1,14 @@
|
||||
import { ComponentType, h, JSX, toChildArray } from 'preact';
|
||||
import { ComponentType, FunctionComponent, h, JSX, RefObject, toChildArray } from 'preact';
|
||||
import defaultAttributes from './defaultAttributes';
|
||||
|
||||
type IconNode = [elementName: keyof JSX.IntrinsicElements, attrs: Record<string, string>][]
|
||||
|
||||
interface LucideProps extends Omit<JSX.SVGAttributes<SVGElement>, "ref" | "size"> {
|
||||
interface LucideProps extends Partial<Omit<JSX.SVGAttributes, "ref" | "size">> {
|
||||
color?: string
|
||||
size?: string | number
|
||||
color: string
|
||||
strokeWidth?: string | number
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Converts string to KebabCase
|
||||
* Copied from scripts/helper. If anyone knows how to properly import it here
|
||||
@@ -20,7 +19,7 @@ interface LucideProps extends Omit<JSX.SVGAttributes<SVGElement>, "ref" | "size"
|
||||
*/
|
||||
export const toKebabCase = (string: string) => string.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();
|
||||
|
||||
const createPreactComponent = (iconName: string, iconNode: IconNode) => {
|
||||
const createLucideIcon = (iconName: string, iconNode: IconNode): FunctionComponent<LucideProps> => {
|
||||
const Component = (
|
||||
{ color = 'currentColor', size = 24, strokeWidth = 2, children, ...rest }: LucideProps
|
||||
) =>
|
||||
@@ -43,4 +42,4 @@ const createPreactComponent = (iconName: string, iconNode: IconNode) => {
|
||||
return Component;
|
||||
};
|
||||
|
||||
export default createPreactComponent
|
||||
export default createLucideIcon
|
||||
@@ -1 +1,4 @@
|
||||
export * from './icons';
|
||||
export * as icons from './icons';
|
||||
export * from './aliases';
|
||||
export { default as createLucideIcon } from './createLucideIcon';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { describe, it, expect } from 'vitest';
|
||||
import { render } from '@testing-library/preact'
|
||||
import { Grid } from '../src/icons'
|
||||
import { render, cleanup } from '@testing-library/preact'
|
||||
import { Pen, Edit2, Grid } from '../src/lucide-preact';
|
||||
|
||||
describe('Using lucide icon components', () => {
|
||||
it('should render an component', () => {
|
||||
@@ -27,4 +27,31 @@ describe('Using lucide icon components', () => {
|
||||
expect(attributes['stroke-width'].value).toBe('4');
|
||||
expect( container.innerHTML ).toMatchSnapshot();
|
||||
});
|
||||
|
||||
it('should render the alias icon', () => {
|
||||
const testId = 'pen-icon';
|
||||
const { container } = render(
|
||||
<Pen
|
||||
data-testid={testId}
|
||||
size={48}
|
||||
stroke="red"
|
||||
strokeWidth={4}
|
||||
/>,
|
||||
);
|
||||
|
||||
const PenIconRenderedHTML = container.innerHTML
|
||||
|
||||
cleanup()
|
||||
|
||||
const { container: Edit2Container } = render(
|
||||
<Edit2
|
||||
data-testid={testId}
|
||||
size={48}
|
||||
stroke="red"
|
||||
strokeWidth={4}
|
||||
/>,
|
||||
);
|
||||
|
||||
expect(PenIconRenderedHTML).toBe(Edit2Container.innerHTML)
|
||||
});
|
||||
})
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"strict": true,
|
||||
"declaration": true,
|
||||
"declaration": false,
|
||||
"noEmitOnError": true,
|
||||
"noEmit": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
@@ -17,7 +17,6 @@
|
||||
"downlevelIteration": true,
|
||||
"sourceMap": true,
|
||||
"outDir": "./dist",
|
||||
"declarationMap": true,
|
||||
"jsx": "react-jsx",
|
||||
"jsxImportSource": "preact",
|
||||
},
|
||||
|
||||
883
packages/lucide-react-native/lucide-react-native.d.ts
vendored
Normal file
@@ -0,0 +1,883 @@
|
||||
/// <reference types="react" />
|
||||
|
||||
declare module 'lucide-react-native'
|
||||
|
||||
// Create interface extending SVGProps
|
||||
export interface LucideProps extends Partial<React.SVGProps<SVGSVGElement>> {
|
||||
size?: string | number
|
||||
}
|
||||
|
||||
export declare const createLucideIcon: (iconName: string, iconNode: any[]) => (props: LucideProps) => JSX.Element;
|
||||
|
||||
export type Icon = React.FC<LucideProps>;
|
||||
|
||||
// Generated icons
|
||||
export declare const Accessibility: (props: LucideProps) => JSX.Element;
|
||||
export declare const Activity: (props: LucideProps) => JSX.Element;
|
||||
export declare const AirVent: (props: LucideProps) => JSX.Element;
|
||||
export declare const Airplay: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlarmCheck: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlarmClockOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlarmClock: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlarmMinus: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlarmPlus: (props: LucideProps) => JSX.Element;
|
||||
export declare const Album: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlertCircle: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlertOctagon: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlertTriangle: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlignCenterHorizontal: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlignCenterVertical: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlignCenter: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlignEndHorizontal: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlignEndVertical: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlignHorizontalDistributeCenter: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlignHorizontalDistributeEnd: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlignHorizontalDistributeStart: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlignHorizontalJustifyCenter: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlignHorizontalJustifyEnd: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlignHorizontalJustifyStart: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlignHorizontalSpaceAround: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlignHorizontalSpaceBetween: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlignJustify: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlignLeft: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlignRight: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlignStartHorizontal: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlignStartVertical: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlignVerticalDistributeCenter: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlignVerticalDistributeEnd: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlignVerticalDistributeStart: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlignVerticalJustifyCenter: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlignVerticalJustifyEnd: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlignVerticalJustifyStart: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlignVerticalSpaceAround: (props: LucideProps) => JSX.Element;
|
||||
export declare const AlignVerticalSpaceBetween: (props: LucideProps) => JSX.Element;
|
||||
export declare const Anchor: (props: LucideProps) => JSX.Element;
|
||||
export declare const Angry: (props: LucideProps) => JSX.Element;
|
||||
export declare const Annoyed: (props: LucideProps) => JSX.Element;
|
||||
export declare const Aperture: (props: LucideProps) => JSX.Element;
|
||||
export declare const Apple: (props: LucideProps) => JSX.Element;
|
||||
export declare const ArchiveRestore: (props: LucideProps) => JSX.Element;
|
||||
export declare const Archive: (props: LucideProps) => JSX.Element;
|
||||
export declare const Armchair: (props: LucideProps) => JSX.Element;
|
||||
export declare const ArrowBigDown: (props: LucideProps) => JSX.Element;
|
||||
export declare const ArrowBigLeft: (props: LucideProps) => JSX.Element;
|
||||
export declare const ArrowBigRight: (props: LucideProps) => JSX.Element;
|
||||
export declare const ArrowBigUp: (props: LucideProps) => JSX.Element;
|
||||
export declare const ArrowDownCircle: (props: LucideProps) => JSX.Element;
|
||||
export declare const ArrowDownLeft: (props: LucideProps) => JSX.Element;
|
||||
export declare const ArrowDownRight: (props: LucideProps) => JSX.Element;
|
||||
export declare const ArrowDown: (props: LucideProps) => JSX.Element;
|
||||
export declare const ArrowLeftCircle: (props: LucideProps) => JSX.Element;
|
||||
export declare const ArrowLeftRight: (props: LucideProps) => JSX.Element;
|
||||
export declare const ArrowLeft: (props: LucideProps) => JSX.Element;
|
||||
export declare const ArrowRightCircle: (props: LucideProps) => JSX.Element;
|
||||
export declare const ArrowRight: (props: LucideProps) => JSX.Element;
|
||||
export declare const ArrowUpCircle: (props: LucideProps) => JSX.Element;
|
||||
export declare const ArrowUpDown: (props: LucideProps) => JSX.Element;
|
||||
export declare const ArrowUpLeft: (props: LucideProps) => JSX.Element;
|
||||
export declare const ArrowUpRight: (props: LucideProps) => JSX.Element;
|
||||
export declare const ArrowUp: (props: LucideProps) => JSX.Element;
|
||||
export declare const Asterisk: (props: LucideProps) => JSX.Element;
|
||||
export declare const AtSign: (props: LucideProps) => JSX.Element;
|
||||
export declare const Award: (props: LucideProps) => JSX.Element;
|
||||
export declare const Axe: (props: LucideProps) => JSX.Element;
|
||||
export declare const Axis3d: (props: LucideProps) => JSX.Element;
|
||||
export declare const Baby: (props: LucideProps) => JSX.Element;
|
||||
export declare const Backpack: (props: LucideProps) => JSX.Element;
|
||||
export declare const BaggageClaim: (props: LucideProps) => JSX.Element;
|
||||
export declare const Banana: (props: LucideProps) => JSX.Element;
|
||||
export declare const Banknote: (props: LucideProps) => JSX.Element;
|
||||
export declare const BarChart2: (props: LucideProps) => JSX.Element;
|
||||
export declare const BarChart3: (props: LucideProps) => JSX.Element;
|
||||
export declare const BarChart4: (props: LucideProps) => JSX.Element;
|
||||
export declare const BarChartHorizontal: (props: LucideProps) => JSX.Element;
|
||||
export declare const BarChart: (props: LucideProps) => JSX.Element;
|
||||
export declare const Baseline: (props: LucideProps) => JSX.Element;
|
||||
export declare const Bath: (props: LucideProps) => JSX.Element;
|
||||
export declare const BatteryCharging: (props: LucideProps) => JSX.Element;
|
||||
export declare const BatteryFull: (props: LucideProps) => JSX.Element;
|
||||
export declare const BatteryLow: (props: LucideProps) => JSX.Element;
|
||||
export declare const BatteryMedium: (props: LucideProps) => JSX.Element;
|
||||
export declare const Battery: (props: LucideProps) => JSX.Element;
|
||||
export declare const Beaker: (props: LucideProps) => JSX.Element;
|
||||
export declare const BeanOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const Bean: (props: LucideProps) => JSX.Element;
|
||||
export declare const BedDouble: (props: LucideProps) => JSX.Element;
|
||||
export declare const BedSingle: (props: LucideProps) => JSX.Element;
|
||||
export declare const Bed: (props: LucideProps) => JSX.Element;
|
||||
export declare const Beer: (props: LucideProps) => JSX.Element;
|
||||
export declare const BellMinus: (props: LucideProps) => JSX.Element;
|
||||
export declare const BellOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const BellPlus: (props: LucideProps) => JSX.Element;
|
||||
export declare const BellRing: (props: LucideProps) => JSX.Element;
|
||||
export declare const Bell: (props: LucideProps) => JSX.Element;
|
||||
export declare const Bike: (props: LucideProps) => JSX.Element;
|
||||
export declare const Binary: (props: LucideProps) => JSX.Element;
|
||||
export declare const Bitcoin: (props: LucideProps) => JSX.Element;
|
||||
export declare const BluetoothConnected: (props: LucideProps) => JSX.Element;
|
||||
export declare const BluetoothOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const BluetoothSearching: (props: LucideProps) => JSX.Element;
|
||||
export declare const Bluetooth: (props: LucideProps) => JSX.Element;
|
||||
export declare const Bold: (props: LucideProps) => JSX.Element;
|
||||
export declare const Bomb: (props: LucideProps) => JSX.Element;
|
||||
export declare const Bone: (props: LucideProps) => JSX.Element;
|
||||
export declare const BookOpenCheck: (props: LucideProps) => JSX.Element;
|
||||
export declare const BookOpen: (props: LucideProps) => JSX.Element;
|
||||
export declare const Book: (props: LucideProps) => JSX.Element;
|
||||
export declare const BookmarkMinus: (props: LucideProps) => JSX.Element;
|
||||
export declare const BookmarkPlus: (props: LucideProps) => JSX.Element;
|
||||
export declare const Bookmark: (props: LucideProps) => JSX.Element;
|
||||
export declare const Bot: (props: LucideProps) => JSX.Element;
|
||||
export declare const BoxSelect: (props: LucideProps) => JSX.Element;
|
||||
export declare const Box: (props: LucideProps) => JSX.Element;
|
||||
export declare const Boxes: (props: LucideProps) => JSX.Element;
|
||||
export declare const Briefcase: (props: LucideProps) => JSX.Element;
|
||||
export declare const Brush: (props: LucideProps) => JSX.Element;
|
||||
export declare const Bug: (props: LucideProps) => JSX.Element;
|
||||
export declare const Building2: (props: LucideProps) => JSX.Element;
|
||||
export declare const Building: (props: LucideProps) => JSX.Element;
|
||||
export declare const Bus: (props: LucideProps) => JSX.Element;
|
||||
export declare const Cake: (props: LucideProps) => JSX.Element;
|
||||
export declare const Calculator: (props: LucideProps) => JSX.Element;
|
||||
export declare const CalendarCheck2: (props: LucideProps) => JSX.Element;
|
||||
export declare const CalendarCheck: (props: LucideProps) => JSX.Element;
|
||||
export declare const CalendarClock: (props: LucideProps) => JSX.Element;
|
||||
export declare const CalendarDays: (props: LucideProps) => JSX.Element;
|
||||
export declare const CalendarHeart: (props: LucideProps) => JSX.Element;
|
||||
export declare const CalendarMinus: (props: LucideProps) => JSX.Element;
|
||||
export declare const CalendarOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const CalendarPlus: (props: LucideProps) => JSX.Element;
|
||||
export declare const CalendarRange: (props: LucideProps) => JSX.Element;
|
||||
export declare const CalendarSearch: (props: LucideProps) => JSX.Element;
|
||||
export declare const CalendarX2: (props: LucideProps) => JSX.Element;
|
||||
export declare const CalendarX: (props: LucideProps) => JSX.Element;
|
||||
export declare const Calendar: (props: LucideProps) => JSX.Element;
|
||||
export declare const CameraOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const Camera: (props: LucideProps) => JSX.Element;
|
||||
export declare const CandyOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const Candy: (props: LucideProps) => JSX.Element;
|
||||
export declare const Car: (props: LucideProps) => JSX.Element;
|
||||
export declare const Carrot: (props: LucideProps) => JSX.Element;
|
||||
export declare const Cast: (props: LucideProps) => JSX.Element;
|
||||
export declare const Cat: (props: LucideProps) => JSX.Element;
|
||||
export declare const CheckCheck: (props: LucideProps) => JSX.Element;
|
||||
export declare const CheckCircle2: (props: LucideProps) => JSX.Element;
|
||||
export declare const CheckCircle: (props: LucideProps) => JSX.Element;
|
||||
export declare const CheckSquare: (props: LucideProps) => JSX.Element;
|
||||
export declare const Check: (props: LucideProps) => JSX.Element;
|
||||
export declare const ChefHat: (props: LucideProps) => JSX.Element;
|
||||
export declare const Cherry: (props: LucideProps) => JSX.Element;
|
||||
export declare const ChevronDown: (props: LucideProps) => JSX.Element;
|
||||
export declare const ChevronFirst: (props: LucideProps) => JSX.Element;
|
||||
export declare const ChevronLast: (props: LucideProps) => JSX.Element;
|
||||
export declare const ChevronLeft: (props: LucideProps) => JSX.Element;
|
||||
export declare const ChevronRight: (props: LucideProps) => JSX.Element;
|
||||
export declare const ChevronUp: (props: LucideProps) => JSX.Element;
|
||||
export declare const ChevronsDownUp: (props: LucideProps) => JSX.Element;
|
||||
export declare const ChevronsDown: (props: LucideProps) => JSX.Element;
|
||||
export declare const ChevronsLeftRight: (props: LucideProps) => JSX.Element;
|
||||
export declare const ChevronsLeft: (props: LucideProps) => JSX.Element;
|
||||
export declare const ChevronsRightLeft: (props: LucideProps) => JSX.Element;
|
||||
export declare const ChevronsRight: (props: LucideProps) => JSX.Element;
|
||||
export declare const ChevronsUpDown: (props: LucideProps) => JSX.Element;
|
||||
export declare const ChevronsUp: (props: LucideProps) => JSX.Element;
|
||||
export declare const Chrome: (props: LucideProps) => JSX.Element;
|
||||
export declare const CigaretteOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const Cigarette: (props: LucideProps) => JSX.Element;
|
||||
export declare const CircleDot: (props: LucideProps) => JSX.Element;
|
||||
export declare const CircleEllipsis: (props: LucideProps) => JSX.Element;
|
||||
export declare const CircleSlashed: (props: LucideProps) => JSX.Element;
|
||||
export declare const Circle: (props: LucideProps) => JSX.Element;
|
||||
export declare const Citrus: (props: LucideProps) => JSX.Element;
|
||||
export declare const Clapperboard: (props: LucideProps) => JSX.Element;
|
||||
export declare const ClipboardCheck: (props: LucideProps) => JSX.Element;
|
||||
export declare const ClipboardCopy: (props: LucideProps) => JSX.Element;
|
||||
export declare const ClipboardEdit: (props: LucideProps) => JSX.Element;
|
||||
export declare const ClipboardList: (props: LucideProps) => JSX.Element;
|
||||
export declare const ClipboardSignature: (props: LucideProps) => JSX.Element;
|
||||
export declare const ClipboardType: (props: LucideProps) => JSX.Element;
|
||||
export declare const ClipboardX: (props: LucideProps) => JSX.Element;
|
||||
export declare const Clipboard: (props: LucideProps) => JSX.Element;
|
||||
export declare const Clock1: (props: LucideProps) => JSX.Element;
|
||||
export declare const Clock10: (props: LucideProps) => JSX.Element;
|
||||
export declare const Clock11: (props: LucideProps) => JSX.Element;
|
||||
export declare const Clock12: (props: LucideProps) => JSX.Element;
|
||||
export declare const Clock2: (props: LucideProps) => JSX.Element;
|
||||
export declare const Clock3: (props: LucideProps) => JSX.Element;
|
||||
export declare const Clock4: (props: LucideProps) => JSX.Element;
|
||||
export declare const Clock5: (props: LucideProps) => JSX.Element;
|
||||
export declare const Clock6: (props: LucideProps) => JSX.Element;
|
||||
export declare const Clock7: (props: LucideProps) => JSX.Element;
|
||||
export declare const Clock8: (props: LucideProps) => JSX.Element;
|
||||
export declare const Clock9: (props: LucideProps) => JSX.Element;
|
||||
export declare const Clock: (props: LucideProps) => JSX.Element;
|
||||
export declare const CloudCog: (props: LucideProps) => JSX.Element;
|
||||
export declare const CloudDrizzle: (props: LucideProps) => JSX.Element;
|
||||
export declare const CloudFog: (props: LucideProps) => JSX.Element;
|
||||
export declare const CloudHail: (props: LucideProps) => JSX.Element;
|
||||
export declare const CloudLightning: (props: LucideProps) => JSX.Element;
|
||||
export declare const CloudMoonRain: (props: LucideProps) => JSX.Element;
|
||||
export declare const CloudMoon: (props: LucideProps) => JSX.Element;
|
||||
export declare const CloudOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const CloudRainWind: (props: LucideProps) => JSX.Element;
|
||||
export declare const CloudRain: (props: LucideProps) => JSX.Element;
|
||||
export declare const CloudSnow: (props: LucideProps) => JSX.Element;
|
||||
export declare const CloudSunRain: (props: LucideProps) => JSX.Element;
|
||||
export declare const CloudSun: (props: LucideProps) => JSX.Element;
|
||||
export declare const Cloud: (props: LucideProps) => JSX.Element;
|
||||
export declare const Cloudy: (props: LucideProps) => JSX.Element;
|
||||
export declare const Clover: (props: LucideProps) => JSX.Element;
|
||||
export declare const Code2: (props: LucideProps) => JSX.Element;
|
||||
export declare const Code: (props: LucideProps) => JSX.Element;
|
||||
export declare const Codepen: (props: LucideProps) => JSX.Element;
|
||||
export declare const Codesandbox: (props: LucideProps) => JSX.Element;
|
||||
export declare const Coffee: (props: LucideProps) => JSX.Element;
|
||||
export declare const Cog: (props: LucideProps) => JSX.Element;
|
||||
export declare const Coins: (props: LucideProps) => JSX.Element;
|
||||
export declare const Columns: (props: LucideProps) => JSX.Element;
|
||||
export declare const Command: (props: LucideProps) => JSX.Element;
|
||||
export declare const Compass: (props: LucideProps) => JSX.Element;
|
||||
export declare const Component: (props: LucideProps) => JSX.Element;
|
||||
export declare const ConciergeBell: (props: LucideProps) => JSX.Element;
|
||||
export declare const Contact: (props: LucideProps) => JSX.Element;
|
||||
export declare const Contrast: (props: LucideProps) => JSX.Element;
|
||||
export declare const Cookie: (props: LucideProps) => JSX.Element;
|
||||
export declare const Copy: (props: LucideProps) => JSX.Element;
|
||||
export declare const Copyleft: (props: LucideProps) => JSX.Element;
|
||||
export declare const Copyright: (props: LucideProps) => JSX.Element;
|
||||
export declare const CornerDownLeft: (props: LucideProps) => JSX.Element;
|
||||
export declare const CornerDownRight: (props: LucideProps) => JSX.Element;
|
||||
export declare const CornerLeftDown: (props: LucideProps) => JSX.Element;
|
||||
export declare const CornerLeftUp: (props: LucideProps) => JSX.Element;
|
||||
export declare const CornerRightDown: (props: LucideProps) => JSX.Element;
|
||||
export declare const CornerRightUp: (props: LucideProps) => JSX.Element;
|
||||
export declare const CornerUpLeft: (props: LucideProps) => JSX.Element;
|
||||
export declare const CornerUpRight: (props: LucideProps) => JSX.Element;
|
||||
export declare const Cpu: (props: LucideProps) => JSX.Element;
|
||||
export declare const CreditCard: (props: LucideProps) => JSX.Element;
|
||||
export declare const Croissant: (props: LucideProps) => JSX.Element;
|
||||
export declare const Crop: (props: LucideProps) => JSX.Element;
|
||||
export declare const Cross: (props: LucideProps) => JSX.Element;
|
||||
export declare const Crosshair: (props: LucideProps) => JSX.Element;
|
||||
export declare const Crown: (props: LucideProps) => JSX.Element;
|
||||
export declare const CupSoda: (props: LucideProps) => JSX.Element;
|
||||
export declare const CurlyBraces: (props: LucideProps) => JSX.Element;
|
||||
export declare const Currency: (props: LucideProps) => JSX.Element;
|
||||
export declare const Database: (props: LucideProps) => JSX.Element;
|
||||
export declare const Delete: (props: LucideProps) => JSX.Element;
|
||||
export declare const Diamond: (props: LucideProps) => JSX.Element;
|
||||
export declare const Dice1: (props: LucideProps) => JSX.Element;
|
||||
export declare const Dice2: (props: LucideProps) => JSX.Element;
|
||||
export declare const Dice3: (props: LucideProps) => JSX.Element;
|
||||
export declare const Dice4: (props: LucideProps) => JSX.Element;
|
||||
export declare const Dice5: (props: LucideProps) => JSX.Element;
|
||||
export declare const Dice6: (props: LucideProps) => JSX.Element;
|
||||
export declare const Dices: (props: LucideProps) => JSX.Element;
|
||||
export declare const Diff: (props: LucideProps) => JSX.Element;
|
||||
export declare const Disc: (props: LucideProps) => JSX.Element;
|
||||
export declare const DivideCircle: (props: LucideProps) => JSX.Element;
|
||||
export declare const DivideSquare: (props: LucideProps) => JSX.Element;
|
||||
export declare const Divide: (props: LucideProps) => JSX.Element;
|
||||
export declare const DnaOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const Dna: (props: LucideProps) => JSX.Element;
|
||||
export declare const Dog: (props: LucideProps) => JSX.Element;
|
||||
export declare const DollarSign: (props: LucideProps) => JSX.Element;
|
||||
export declare const DownloadCloud: (props: LucideProps) => JSX.Element;
|
||||
export declare const Download: (props: LucideProps) => JSX.Element;
|
||||
export declare const Dribbble: (props: LucideProps) => JSX.Element;
|
||||
export declare const Droplet: (props: LucideProps) => JSX.Element;
|
||||
export declare const Droplets: (props: LucideProps) => JSX.Element;
|
||||
export declare const Drumstick: (props: LucideProps) => JSX.Element;
|
||||
export declare const Dumbbell: (props: LucideProps) => JSX.Element;
|
||||
export declare const EarOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const Ear: (props: LucideProps) => JSX.Element;
|
||||
export declare const Edit2: (props: LucideProps) => JSX.Element;
|
||||
export declare const Edit3: (props: LucideProps) => JSX.Element;
|
||||
export declare const Edit: (props: LucideProps) => JSX.Element;
|
||||
export declare const EggFried: (props: LucideProps) => JSX.Element;
|
||||
export declare const EggOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const Egg: (props: LucideProps) => JSX.Element;
|
||||
export declare const EqualNot: (props: LucideProps) => JSX.Element;
|
||||
export declare const Equal: (props: LucideProps) => JSX.Element;
|
||||
export declare const Eraser: (props: LucideProps) => JSX.Element;
|
||||
export declare const Euro: (props: LucideProps) => JSX.Element;
|
||||
export declare const Expand: (props: LucideProps) => JSX.Element;
|
||||
export declare const ExternalLink: (props: LucideProps) => JSX.Element;
|
||||
export declare const EyeOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const Eye: (props: LucideProps) => JSX.Element;
|
||||
export declare const Facebook: (props: LucideProps) => JSX.Element;
|
||||
export declare const Factory: (props: LucideProps) => JSX.Element;
|
||||
export declare const Fan: (props: LucideProps) => JSX.Element;
|
||||
export declare const FastForward: (props: LucideProps) => JSX.Element;
|
||||
export declare const Feather: (props: LucideProps) => JSX.Element;
|
||||
export declare const Figma: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileArchive: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileAudio2: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileAudio: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileAxis3d: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileBadge2: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileBadge: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileBarChart2: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileBarChart: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileBox: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileCheck2: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileCheck: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileClock: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileCode: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileCog2: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileCog: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileDiff: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileDigit: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileDown: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileEdit: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileHeart: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileImage: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileInput: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileJson2: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileJson: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileKey2: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileKey: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileLineChart: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileLock2: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileLock: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileMinus2: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileMinus: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileOutput: (props: LucideProps) => JSX.Element;
|
||||
export declare const FilePieChart: (props: LucideProps) => JSX.Element;
|
||||
export declare const FilePlus2: (props: LucideProps) => JSX.Element;
|
||||
export declare const FilePlus: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileQuestion: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileScan: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileSearch2: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileSearch: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileSignature: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileSpreadsheet: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileSymlink: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileTerminal: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileText: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileType2: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileType: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileUp: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileVideo2: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileVideo: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileVolume2: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileVolume: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileWarning: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileX2: (props: LucideProps) => JSX.Element;
|
||||
export declare const FileX: (props: LucideProps) => JSX.Element;
|
||||
export declare const File: (props: LucideProps) => JSX.Element;
|
||||
export declare const Files: (props: LucideProps) => JSX.Element;
|
||||
export declare const Film: (props: LucideProps) => JSX.Element;
|
||||
export declare const Filter: (props: LucideProps) => JSX.Element;
|
||||
export declare const Fingerprint: (props: LucideProps) => JSX.Element;
|
||||
export declare const FlagOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const FlagTriangleLeft: (props: LucideProps) => JSX.Element;
|
||||
export declare const FlagTriangleRight: (props: LucideProps) => JSX.Element;
|
||||
export declare const Flag: (props: LucideProps) => JSX.Element;
|
||||
export declare const Flame: (props: LucideProps) => JSX.Element;
|
||||
export declare const FlashlightOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const Flashlight: (props: LucideProps) => JSX.Element;
|
||||
export declare const FlaskConicalOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const FlaskConical: (props: LucideProps) => JSX.Element;
|
||||
export declare const FlaskRound: (props: LucideProps) => JSX.Element;
|
||||
export declare const FlipHorizontal2: (props: LucideProps) => JSX.Element;
|
||||
export declare const FlipHorizontal: (props: LucideProps) => JSX.Element;
|
||||
export declare const FlipVertical2: (props: LucideProps) => JSX.Element;
|
||||
export declare const FlipVertical: (props: LucideProps) => JSX.Element;
|
||||
export declare const Flower2: (props: LucideProps) => JSX.Element;
|
||||
export declare const Flower: (props: LucideProps) => JSX.Element;
|
||||
export declare const Focus: (props: LucideProps) => JSX.Element;
|
||||
export declare const FolderArchive: (props: LucideProps) => JSX.Element;
|
||||
export declare const FolderCheck: (props: LucideProps) => JSX.Element;
|
||||
export declare const FolderClock: (props: LucideProps) => JSX.Element;
|
||||
export declare const FolderClosed: (props: LucideProps) => JSX.Element;
|
||||
export declare const FolderCog2: (props: LucideProps) => JSX.Element;
|
||||
export declare const FolderCog: (props: LucideProps) => JSX.Element;
|
||||
export declare const FolderDown: (props: LucideProps) => JSX.Element;
|
||||
export declare const FolderEdit: (props: LucideProps) => JSX.Element;
|
||||
export declare const FolderHeart: (props: LucideProps) => JSX.Element;
|
||||
export declare const FolderInput: (props: LucideProps) => JSX.Element;
|
||||
export declare const FolderKey: (props: LucideProps) => JSX.Element;
|
||||
export declare const FolderLock: (props: LucideProps) => JSX.Element;
|
||||
export declare const FolderMinus: (props: LucideProps) => JSX.Element;
|
||||
export declare const FolderOpen: (props: LucideProps) => JSX.Element;
|
||||
export declare const FolderOutput: (props: LucideProps) => JSX.Element;
|
||||
export declare const FolderPlus: (props: LucideProps) => JSX.Element;
|
||||
export declare const FolderSearch2: (props: LucideProps) => JSX.Element;
|
||||
export declare const FolderSearch: (props: LucideProps) => JSX.Element;
|
||||
export declare const FolderSymlink: (props: LucideProps) => JSX.Element;
|
||||
export declare const FolderTree: (props: LucideProps) => JSX.Element;
|
||||
export declare const FolderUp: (props: LucideProps) => JSX.Element;
|
||||
export declare const FolderX: (props: LucideProps) => JSX.Element;
|
||||
export declare const Folder: (props: LucideProps) => JSX.Element;
|
||||
export declare const Folders: (props: LucideProps) => JSX.Element;
|
||||
export declare const FormInput: (props: LucideProps) => JSX.Element;
|
||||
export declare const Forward: (props: LucideProps) => JSX.Element;
|
||||
export declare const Frame: (props: LucideProps) => JSX.Element;
|
||||
export declare const Framer: (props: LucideProps) => JSX.Element;
|
||||
export declare const Frown: (props: LucideProps) => JSX.Element;
|
||||
export declare const Fuel: (props: LucideProps) => JSX.Element;
|
||||
export declare const FunctionSquare: (props: LucideProps) => JSX.Element;
|
||||
export declare const Gamepad2: (props: LucideProps) => JSX.Element;
|
||||
export declare const Gamepad: (props: LucideProps) => JSX.Element;
|
||||
export declare const Gauge: (props: LucideProps) => JSX.Element;
|
||||
export declare const Gavel: (props: LucideProps) => JSX.Element;
|
||||
export declare const Gem: (props: LucideProps) => JSX.Element;
|
||||
export declare const Ghost: (props: LucideProps) => JSX.Element;
|
||||
export declare const Gift: (props: LucideProps) => JSX.Element;
|
||||
export declare const GitBranchPlus: (props: LucideProps) => JSX.Element;
|
||||
export declare const GitBranch: (props: LucideProps) => JSX.Element;
|
||||
export declare const GitCommit: (props: LucideProps) => JSX.Element;
|
||||
export declare const GitCompare: (props: LucideProps) => JSX.Element;
|
||||
export declare const GitFork: (props: LucideProps) => JSX.Element;
|
||||
export declare const GitMerge: (props: LucideProps) => JSX.Element;
|
||||
export declare const GitPullRequestClosed: (props: LucideProps) => JSX.Element;
|
||||
export declare const GitPullRequestDraft: (props: LucideProps) => JSX.Element;
|
||||
export declare const GitPullRequest: (props: LucideProps) => JSX.Element;
|
||||
export declare const Github: (props: LucideProps) => JSX.Element;
|
||||
export declare const Gitlab: (props: LucideProps) => JSX.Element;
|
||||
export declare const GlassWater: (props: LucideProps) => JSX.Element;
|
||||
export declare const Glasses: (props: LucideProps) => JSX.Element;
|
||||
export declare const Globe2: (props: LucideProps) => JSX.Element;
|
||||
export declare const Globe: (props: LucideProps) => JSX.Element;
|
||||
export declare const Grab: (props: LucideProps) => JSX.Element;
|
||||
export declare const GraduationCap: (props: LucideProps) => JSX.Element;
|
||||
export declare const Grape: (props: LucideProps) => JSX.Element;
|
||||
export declare const Grid: (props: LucideProps) => JSX.Element;
|
||||
export declare const GripHorizontal: (props: LucideProps) => JSX.Element;
|
||||
export declare const GripVertical: (props: LucideProps) => JSX.Element;
|
||||
export declare const Hammer: (props: LucideProps) => JSX.Element;
|
||||
export declare const HandMetal: (props: LucideProps) => JSX.Element;
|
||||
export declare const Hand: (props: LucideProps) => JSX.Element;
|
||||
export declare const HardDrive: (props: LucideProps) => JSX.Element;
|
||||
export declare const HardHat: (props: LucideProps) => JSX.Element;
|
||||
export declare const Hash: (props: LucideProps) => JSX.Element;
|
||||
export declare const Haze: (props: LucideProps) => JSX.Element;
|
||||
export declare const Heading1: (props: LucideProps) => JSX.Element;
|
||||
export declare const Heading2: (props: LucideProps) => JSX.Element;
|
||||
export declare const Heading3: (props: LucideProps) => JSX.Element;
|
||||
export declare const Heading4: (props: LucideProps) => JSX.Element;
|
||||
export declare const Heading5: (props: LucideProps) => JSX.Element;
|
||||
export declare const Heading6: (props: LucideProps) => JSX.Element;
|
||||
export declare const Heading: (props: LucideProps) => JSX.Element;
|
||||
export declare const Headphones: (props: LucideProps) => JSX.Element;
|
||||
export declare const HeartCrack: (props: LucideProps) => JSX.Element;
|
||||
export declare const HeartHandshake: (props: LucideProps) => JSX.Element;
|
||||
export declare const HeartOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const HeartPulse: (props: LucideProps) => JSX.Element;
|
||||
export declare const Heart: (props: LucideProps) => JSX.Element;
|
||||
export declare const HelpCircle: (props: LucideProps) => JSX.Element;
|
||||
export declare const Hexagon: (props: LucideProps) => JSX.Element;
|
||||
export declare const Highlighter: (props: LucideProps) => JSX.Element;
|
||||
export declare const History: (props: LucideProps) => JSX.Element;
|
||||
export declare const Home: (props: LucideProps) => JSX.Element;
|
||||
export declare const HopOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const Hop: (props: LucideProps) => JSX.Element;
|
||||
export declare const Hourglass: (props: LucideProps) => JSX.Element;
|
||||
export declare const IceCream: (props: LucideProps) => JSX.Element;
|
||||
export declare const ImageMinus: (props: LucideProps) => JSX.Element;
|
||||
export declare const ImageOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const ImagePlus: (props: LucideProps) => JSX.Element;
|
||||
export declare const Image: (props: LucideProps) => JSX.Element;
|
||||
export declare const Import: (props: LucideProps) => JSX.Element;
|
||||
export declare const Inbox: (props: LucideProps) => JSX.Element;
|
||||
export declare const Indent: (props: LucideProps) => JSX.Element;
|
||||
export declare const IndianRupee: (props: LucideProps) => JSX.Element;
|
||||
export declare const Infinity: (props: LucideProps) => JSX.Element;
|
||||
export declare const Info: (props: LucideProps) => JSX.Element;
|
||||
export declare const Inspect: (props: LucideProps) => JSX.Element;
|
||||
export declare const Instagram: (props: LucideProps) => JSX.Element;
|
||||
export declare const Italic: (props: LucideProps) => JSX.Element;
|
||||
export declare const JapaneseYen: (props: LucideProps) => JSX.Element;
|
||||
export declare const Joystick: (props: LucideProps) => JSX.Element;
|
||||
export declare const Key: (props: LucideProps) => JSX.Element;
|
||||
export declare const Keyboard: (props: LucideProps) => JSX.Element;
|
||||
export declare const LampCeiling: (props: LucideProps) => JSX.Element;
|
||||
export declare const LampDesk: (props: LucideProps) => JSX.Element;
|
||||
export declare const LampFloor: (props: LucideProps) => JSX.Element;
|
||||
export declare const LampWallDown: (props: LucideProps) => JSX.Element;
|
||||
export declare const LampWallUp: (props: LucideProps) => JSX.Element;
|
||||
export declare const Lamp: (props: LucideProps) => JSX.Element;
|
||||
export declare const Landmark: (props: LucideProps) => JSX.Element;
|
||||
export declare const Languages: (props: LucideProps) => JSX.Element;
|
||||
export declare const Laptop2: (props: LucideProps) => JSX.Element;
|
||||
export declare const Laptop: (props: LucideProps) => JSX.Element;
|
||||
export declare const LassoSelect: (props: LucideProps) => JSX.Element;
|
||||
export declare const Lasso: (props: LucideProps) => JSX.Element;
|
||||
export declare const Laugh: (props: LucideProps) => JSX.Element;
|
||||
export declare const Layers: (props: LucideProps) => JSX.Element;
|
||||
export declare const LayoutDashboard: (props: LucideProps) => JSX.Element;
|
||||
export declare const LayoutGrid: (props: LucideProps) => JSX.Element;
|
||||
export declare const LayoutList: (props: LucideProps) => JSX.Element;
|
||||
export declare const LayoutTemplate: (props: LucideProps) => JSX.Element;
|
||||
export declare const Layout: (props: LucideProps) => JSX.Element;
|
||||
export declare const Leaf: (props: LucideProps) => JSX.Element;
|
||||
export declare const Library: (props: LucideProps) => JSX.Element;
|
||||
export declare const LifeBuoy: (props: LucideProps) => JSX.Element;
|
||||
export declare const LightbulbOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const Lightbulb: (props: LucideProps) => JSX.Element;
|
||||
export declare const LineChart: (props: LucideProps) => JSX.Element;
|
||||
export declare const Link2Off: (props: LucideProps) => JSX.Element;
|
||||
export declare const Link2: (props: LucideProps) => JSX.Element;
|
||||
export declare const Link: (props: LucideProps) => JSX.Element;
|
||||
export declare const Linkedin: (props: LucideProps) => JSX.Element;
|
||||
export declare const ListChecks: (props: LucideProps) => JSX.Element;
|
||||
export declare const ListEnd: (props: LucideProps) => JSX.Element;
|
||||
export declare const ListMinus: (props: LucideProps) => JSX.Element;
|
||||
export declare const ListMusic: (props: LucideProps) => JSX.Element;
|
||||
export declare const ListOrdered: (props: LucideProps) => JSX.Element;
|
||||
export declare const ListPlus: (props: LucideProps) => JSX.Element;
|
||||
export declare const ListStart: (props: LucideProps) => JSX.Element;
|
||||
export declare const ListVideo: (props: LucideProps) => JSX.Element;
|
||||
export declare const ListX: (props: LucideProps) => JSX.Element;
|
||||
export declare const List: (props: LucideProps) => JSX.Element;
|
||||
export declare const Loader2: (props: LucideProps) => JSX.Element;
|
||||
export declare const Loader: (props: LucideProps) => JSX.Element;
|
||||
export declare const LocateFixed: (props: LucideProps) => JSX.Element;
|
||||
export declare const LocateOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const Locate: (props: LucideProps) => JSX.Element;
|
||||
export declare const Lock: (props: LucideProps) => JSX.Element;
|
||||
export declare const LogIn: (props: LucideProps) => JSX.Element;
|
||||
export declare const LogOut: (props: LucideProps) => JSX.Element;
|
||||
export declare const Luggage: (props: LucideProps) => JSX.Element;
|
||||
export declare const Magnet: (props: LucideProps) => JSX.Element;
|
||||
export declare const MailCheck: (props: LucideProps) => JSX.Element;
|
||||
export declare const MailMinus: (props: LucideProps) => JSX.Element;
|
||||
export declare const MailOpen: (props: LucideProps) => JSX.Element;
|
||||
export declare const MailPlus: (props: LucideProps) => JSX.Element;
|
||||
export declare const MailQuestion: (props: LucideProps) => JSX.Element;
|
||||
export declare const MailSearch: (props: LucideProps) => JSX.Element;
|
||||
export declare const MailWarning: (props: LucideProps) => JSX.Element;
|
||||
export declare const MailX: (props: LucideProps) => JSX.Element;
|
||||
export declare const Mail: (props: LucideProps) => JSX.Element;
|
||||
export declare const Mails: (props: LucideProps) => JSX.Element;
|
||||
export declare const MapPinOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const MapPin: (props: LucideProps) => JSX.Element;
|
||||
export declare const Map: (props: LucideProps) => JSX.Element;
|
||||
export declare const Martini: (props: LucideProps) => JSX.Element;
|
||||
export declare const Maximize2: (props: LucideProps) => JSX.Element;
|
||||
export declare const Maximize: (props: LucideProps) => JSX.Element;
|
||||
export declare const Medal: (props: LucideProps) => JSX.Element;
|
||||
export declare const MegaphoneOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const Megaphone: (props: LucideProps) => JSX.Element;
|
||||
export declare const Meh: (props: LucideProps) => JSX.Element;
|
||||
export declare const Menu: (props: LucideProps) => JSX.Element;
|
||||
export declare const MessageCircle: (props: LucideProps) => JSX.Element;
|
||||
export declare const MessageSquare: (props: LucideProps) => JSX.Element;
|
||||
export declare const Mic2: (props: LucideProps) => JSX.Element;
|
||||
export declare const MicOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const Mic: (props: LucideProps) => JSX.Element;
|
||||
export declare const Microscope: (props: LucideProps) => JSX.Element;
|
||||
export declare const Microwave: (props: LucideProps) => JSX.Element;
|
||||
export declare const Milestone: (props: LucideProps) => JSX.Element;
|
||||
export declare const MilkOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const Milk: (props: LucideProps) => JSX.Element;
|
||||
export declare const Minimize2: (props: LucideProps) => JSX.Element;
|
||||
export declare const Minimize: (props: LucideProps) => JSX.Element;
|
||||
export declare const MinusCircle: (props: LucideProps) => JSX.Element;
|
||||
export declare const MinusSquare: (props: LucideProps) => JSX.Element;
|
||||
export declare const Minus: (props: LucideProps) => JSX.Element;
|
||||
export declare const MonitorOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const MonitorSmartphone: (props: LucideProps) => JSX.Element;
|
||||
export declare const MonitorSpeaker: (props: LucideProps) => JSX.Element;
|
||||
export declare const Monitor: (props: LucideProps) => JSX.Element;
|
||||
export declare const Moon: (props: LucideProps) => JSX.Element;
|
||||
export declare const MoreHorizontal: (props: LucideProps) => JSX.Element;
|
||||
export declare const MoreVertical: (props: LucideProps) => JSX.Element;
|
||||
export declare const MountainSnow: (props: LucideProps) => JSX.Element;
|
||||
export declare const Mountain: (props: LucideProps) => JSX.Element;
|
||||
export declare const MousePointer2: (props: LucideProps) => JSX.Element;
|
||||
export declare const MousePointerClick: (props: LucideProps) => JSX.Element;
|
||||
export declare const MousePointer: (props: LucideProps) => JSX.Element;
|
||||
export declare const Mouse: (props: LucideProps) => JSX.Element;
|
||||
export declare const Move3d: (props: LucideProps) => JSX.Element;
|
||||
export declare const MoveDiagonal2: (props: LucideProps) => JSX.Element;
|
||||
export declare const MoveDiagonal: (props: LucideProps) => JSX.Element;
|
||||
export declare const MoveHorizontal: (props: LucideProps) => JSX.Element;
|
||||
export declare const MoveVertical: (props: LucideProps) => JSX.Element;
|
||||
export declare const Move: (props: LucideProps) => JSX.Element;
|
||||
export declare const Music2: (props: LucideProps) => JSX.Element;
|
||||
export declare const Music3: (props: LucideProps) => JSX.Element;
|
||||
export declare const Music4: (props: LucideProps) => JSX.Element;
|
||||
export declare const Music: (props: LucideProps) => JSX.Element;
|
||||
export declare const Navigation2Off: (props: LucideProps) => JSX.Element;
|
||||
export declare const Navigation2: (props: LucideProps) => JSX.Element;
|
||||
export declare const NavigationOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const Navigation: (props: LucideProps) => JSX.Element;
|
||||
export declare const Network: (props: LucideProps) => JSX.Element;
|
||||
export declare const Newspaper: (props: LucideProps) => JSX.Element;
|
||||
export declare const NutOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const Nut: (props: LucideProps) => JSX.Element;
|
||||
export declare const Octagon: (props: LucideProps) => JSX.Element;
|
||||
export declare const Option: (props: LucideProps) => JSX.Element;
|
||||
export declare const Outdent: (props: LucideProps) => JSX.Element;
|
||||
export declare const Package2: (props: LucideProps) => JSX.Element;
|
||||
export declare const PackageCheck: (props: LucideProps) => JSX.Element;
|
||||
export declare const PackageMinus: (props: LucideProps) => JSX.Element;
|
||||
export declare const PackageOpen: (props: LucideProps) => JSX.Element;
|
||||
export declare const PackagePlus: (props: LucideProps) => JSX.Element;
|
||||
export declare const PackageSearch: (props: LucideProps) => JSX.Element;
|
||||
export declare const PackageX: (props: LucideProps) => JSX.Element;
|
||||
export declare const Package: (props: LucideProps) => JSX.Element;
|
||||
export declare const PaintBucket: (props: LucideProps) => JSX.Element;
|
||||
export declare const Paintbrush2: (props: LucideProps) => JSX.Element;
|
||||
export declare const Paintbrush: (props: LucideProps) => JSX.Element;
|
||||
export declare const Palette: (props: LucideProps) => JSX.Element;
|
||||
export declare const Palmtree: (props: LucideProps) => JSX.Element;
|
||||
export declare const Paperclip: (props: LucideProps) => JSX.Element;
|
||||
export declare const PartyPopper: (props: LucideProps) => JSX.Element;
|
||||
export declare const PauseCircle: (props: LucideProps) => JSX.Element;
|
||||
export declare const PauseOctagon: (props: LucideProps) => JSX.Element;
|
||||
export declare const Pause: (props: LucideProps) => JSX.Element;
|
||||
export declare const PenTool: (props: LucideProps) => JSX.Element;
|
||||
export declare const Pencil: (props: LucideProps) => JSX.Element;
|
||||
export declare const Percent: (props: LucideProps) => JSX.Element;
|
||||
export declare const PersonStanding: (props: LucideProps) => JSX.Element;
|
||||
export declare const PhoneCall: (props: LucideProps) => JSX.Element;
|
||||
export declare const PhoneForwarded: (props: LucideProps) => JSX.Element;
|
||||
export declare const PhoneIncoming: (props: LucideProps) => JSX.Element;
|
||||
export declare const PhoneMissed: (props: LucideProps) => JSX.Element;
|
||||
export declare const PhoneOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const PhoneOutgoing: (props: LucideProps) => JSX.Element;
|
||||
export declare const Phone: (props: LucideProps) => JSX.Element;
|
||||
export declare const PieChart: (props: LucideProps) => JSX.Element;
|
||||
export declare const PiggyBank: (props: LucideProps) => JSX.Element;
|
||||
export declare const Pilcrow: (props: LucideProps) => JSX.Element;
|
||||
export declare const PinOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const Pin: (props: LucideProps) => JSX.Element;
|
||||
export declare const Pipette: (props: LucideProps) => JSX.Element;
|
||||
export declare const Pizza: (props: LucideProps) => JSX.Element;
|
||||
export declare const Plane: (props: LucideProps) => JSX.Element;
|
||||
export declare const PlayCircle: (props: LucideProps) => JSX.Element;
|
||||
export declare const Play: (props: LucideProps) => JSX.Element;
|
||||
export declare const Plug2: (props: LucideProps) => JSX.Element;
|
||||
export declare const PlugZap: (props: LucideProps) => JSX.Element;
|
||||
export declare const Plug: (props: LucideProps) => JSX.Element;
|
||||
export declare const PlusCircle: (props: LucideProps) => JSX.Element;
|
||||
export declare const PlusSquare: (props: LucideProps) => JSX.Element;
|
||||
export declare const Plus: (props: LucideProps) => JSX.Element;
|
||||
export declare const Pocket: (props: LucideProps) => JSX.Element;
|
||||
export declare const Podcast: (props: LucideProps) => JSX.Element;
|
||||
export declare const Pointer: (props: LucideProps) => JSX.Element;
|
||||
export declare const PoundSterling: (props: LucideProps) => JSX.Element;
|
||||
export declare const PowerOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const Power: (props: LucideProps) => JSX.Element;
|
||||
export declare const Printer: (props: LucideProps) => JSX.Element;
|
||||
export declare const Puzzle: (props: LucideProps) => JSX.Element;
|
||||
export declare const QrCode: (props: LucideProps) => JSX.Element;
|
||||
export declare const Quote: (props: LucideProps) => JSX.Element;
|
||||
export declare const RadioReceiver: (props: LucideProps) => JSX.Element;
|
||||
export declare const Radio: (props: LucideProps) => JSX.Element;
|
||||
export declare const RectangleHorizontal: (props: LucideProps) => JSX.Element;
|
||||
export declare const RectangleVertical: (props: LucideProps) => JSX.Element;
|
||||
export declare const Recycle: (props: LucideProps) => JSX.Element;
|
||||
export declare const Redo2: (props: LucideProps) => JSX.Element;
|
||||
export declare const Redo: (props: LucideProps) => JSX.Element;
|
||||
export declare const RefreshCcw: (props: LucideProps) => JSX.Element;
|
||||
export declare const RefreshCw: (props: LucideProps) => JSX.Element;
|
||||
export declare const Refrigerator: (props: LucideProps) => JSX.Element;
|
||||
export declare const Regex: (props: LucideProps) => JSX.Element;
|
||||
export declare const Repeat1: (props: LucideProps) => JSX.Element;
|
||||
export declare const Repeat: (props: LucideProps) => JSX.Element;
|
||||
export declare const ReplyAll: (props: LucideProps) => JSX.Element;
|
||||
export declare const Reply: (props: LucideProps) => JSX.Element;
|
||||
export declare const Rewind: (props: LucideProps) => JSX.Element;
|
||||
export declare const Rocket: (props: LucideProps) => JSX.Element;
|
||||
export declare const RockingChair: (props: LucideProps) => JSX.Element;
|
||||
export declare const Rotate3d: (props: LucideProps) => JSX.Element;
|
||||
export declare const RotateCcw: (props: LucideProps) => JSX.Element;
|
||||
export declare const RotateCw: (props: LucideProps) => JSX.Element;
|
||||
export declare const Rss: (props: LucideProps) => JSX.Element;
|
||||
export declare const Ruler: (props: LucideProps) => JSX.Element;
|
||||
export declare const RussianRuble: (props: LucideProps) => JSX.Element;
|
||||
export declare const Sailboat: (props: LucideProps) => JSX.Element;
|
||||
export declare const Save: (props: LucideProps) => JSX.Element;
|
||||
export declare const Scale3d: (props: LucideProps) => JSX.Element;
|
||||
export declare const Scale: (props: LucideProps) => JSX.Element;
|
||||
export declare const Scaling: (props: LucideProps) => JSX.Element;
|
||||
export declare const ScanFace: (props: LucideProps) => JSX.Element;
|
||||
export declare const ScanLine: (props: LucideProps) => JSX.Element;
|
||||
export declare const Scan: (props: LucideProps) => JSX.Element;
|
||||
export declare const Scissors: (props: LucideProps) => JSX.Element;
|
||||
export declare const ScreenShareOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const ScreenShare: (props: LucideProps) => JSX.Element;
|
||||
export declare const Scroll: (props: LucideProps) => JSX.Element;
|
||||
export declare const Search: (props: LucideProps) => JSX.Element;
|
||||
export declare const Send: (props: LucideProps) => JSX.Element;
|
||||
export declare const SeparatorHorizontal: (props: LucideProps) => JSX.Element;
|
||||
export declare const SeparatorVertical: (props: LucideProps) => JSX.Element;
|
||||
export declare const ServerCog: (props: LucideProps) => JSX.Element;
|
||||
export declare const ServerCrash: (props: LucideProps) => JSX.Element;
|
||||
export declare const ServerOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const Server: (props: LucideProps) => JSX.Element;
|
||||
export declare const Settings2: (props: LucideProps) => JSX.Element;
|
||||
export declare const Settings: (props: LucideProps) => JSX.Element;
|
||||
export declare const Share2: (props: LucideProps) => JSX.Element;
|
||||
export declare const Share: (props: LucideProps) => JSX.Element;
|
||||
export declare const Sheet: (props: LucideProps) => JSX.Element;
|
||||
export declare const ShieldAlert: (props: LucideProps) => JSX.Element;
|
||||
export declare const ShieldCheck: (props: LucideProps) => JSX.Element;
|
||||
export declare const ShieldClose: (props: LucideProps) => JSX.Element;
|
||||
export declare const ShieldOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const Shield: (props: LucideProps) => JSX.Element;
|
||||
export declare const Shirt: (props: LucideProps) => JSX.Element;
|
||||
export declare const ShoppingBag: (props: LucideProps) => JSX.Element;
|
||||
export declare const ShoppingCart: (props: LucideProps) => JSX.Element;
|
||||
export declare const Shovel: (props: LucideProps) => JSX.Element;
|
||||
export declare const ShowerHead: (props: LucideProps) => JSX.Element;
|
||||
export declare const Shrink: (props: LucideProps) => JSX.Element;
|
||||
export declare const Shrub: (props: LucideProps) => JSX.Element;
|
||||
export declare const Shuffle: (props: LucideProps) => JSX.Element;
|
||||
export declare const SidebarClose: (props: LucideProps) => JSX.Element;
|
||||
export declare const SidebarOpen: (props: LucideProps) => JSX.Element;
|
||||
export declare const Sidebar: (props: LucideProps) => JSX.Element;
|
||||
export declare const Sigma: (props: LucideProps) => JSX.Element;
|
||||
export declare const SignalHigh: (props: LucideProps) => JSX.Element;
|
||||
export declare const SignalLow: (props: LucideProps) => JSX.Element;
|
||||
export declare const SignalMedium: (props: LucideProps) => JSX.Element;
|
||||
export declare const SignalZero: (props: LucideProps) => JSX.Element;
|
||||
export declare const Signal: (props: LucideProps) => JSX.Element;
|
||||
export declare const Siren: (props: LucideProps) => JSX.Element;
|
||||
export declare const SkipBack: (props: LucideProps) => JSX.Element;
|
||||
export declare const SkipForward: (props: LucideProps) => JSX.Element;
|
||||
export declare const Skull: (props: LucideProps) => JSX.Element;
|
||||
export declare const Slack: (props: LucideProps) => JSX.Element;
|
||||
export declare const Slash: (props: LucideProps) => JSX.Element;
|
||||
export declare const Slice: (props: LucideProps) => JSX.Element;
|
||||
export declare const SlidersHorizontal: (props: LucideProps) => JSX.Element;
|
||||
export declare const Sliders: (props: LucideProps) => JSX.Element;
|
||||
export declare const SmartphoneCharging: (props: LucideProps) => JSX.Element;
|
||||
export declare const Smartphone: (props: LucideProps) => JSX.Element;
|
||||
export declare const SmilePlus: (props: LucideProps) => JSX.Element;
|
||||
export declare const Smile: (props: LucideProps) => JSX.Element;
|
||||
export declare const Snowflake: (props: LucideProps) => JSX.Element;
|
||||
export declare const Sofa: (props: LucideProps) => JSX.Element;
|
||||
export declare const SortAsc: (props: LucideProps) => JSX.Element;
|
||||
export declare const SortDesc: (props: LucideProps) => JSX.Element;
|
||||
export declare const Speaker: (props: LucideProps) => JSX.Element;
|
||||
export declare const Spline: (props: LucideProps) => JSX.Element;
|
||||
export declare const Sprout: (props: LucideProps) => JSX.Element;
|
||||
export declare const Square: (props: LucideProps) => JSX.Element;
|
||||
export declare const StarHalf: (props: LucideProps) => JSX.Element;
|
||||
export declare const StarOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const Star: (props: LucideProps) => JSX.Element;
|
||||
export declare const Stethoscope: (props: LucideProps) => JSX.Element;
|
||||
export declare const Sticker: (props: LucideProps) => JSX.Element;
|
||||
export declare const StickyNote: (props: LucideProps) => JSX.Element;
|
||||
export declare const StopCircle: (props: LucideProps) => JSX.Element;
|
||||
export declare const StretchHorizontal: (props: LucideProps) => JSX.Element;
|
||||
export declare const StretchVertical: (props: LucideProps) => JSX.Element;
|
||||
export declare const Strikethrough: (props: LucideProps) => JSX.Element;
|
||||
export declare const Subscript: (props: LucideProps) => JSX.Element;
|
||||
export declare const Subtitles: (props: LucideProps) => JSX.Element;
|
||||
export declare const SunDim: (props: LucideProps) => JSX.Element;
|
||||
export declare const SunMedium: (props: LucideProps) => JSX.Element;
|
||||
export declare const SunMoon: (props: LucideProps) => JSX.Element;
|
||||
export declare const SunSnow: (props: LucideProps) => JSX.Element;
|
||||
export declare const Sun: (props: LucideProps) => JSX.Element;
|
||||
export declare const Sunrise: (props: LucideProps) => JSX.Element;
|
||||
export declare const Sunset: (props: LucideProps) => JSX.Element;
|
||||
export declare const Superscript: (props: LucideProps) => JSX.Element;
|
||||
export declare const SwissFranc: (props: LucideProps) => JSX.Element;
|
||||
export declare const SwitchCamera: (props: LucideProps) => JSX.Element;
|
||||
export declare const Sword: (props: LucideProps) => JSX.Element;
|
||||
export declare const Swords: (props: LucideProps) => JSX.Element;
|
||||
export declare const Syringe: (props: LucideProps) => JSX.Element;
|
||||
export declare const Table2: (props: LucideProps) => JSX.Element;
|
||||
export declare const Table: (props: LucideProps) => JSX.Element;
|
||||
export declare const Tablet: (props: LucideProps) => JSX.Element;
|
||||
export declare const Tag: (props: LucideProps) => JSX.Element;
|
||||
export declare const Tags: (props: LucideProps) => JSX.Element;
|
||||
export declare const Target: (props: LucideProps) => JSX.Element;
|
||||
export declare const Tent: (props: LucideProps) => JSX.Element;
|
||||
export declare const TerminalSquare: (props: LucideProps) => JSX.Element;
|
||||
export declare const Terminal: (props: LucideProps) => JSX.Element;
|
||||
export declare const TextCursorInput: (props: LucideProps) => JSX.Element;
|
||||
export declare const TextCursor: (props: LucideProps) => JSX.Element;
|
||||
export declare const ThermometerSnowflake: (props: LucideProps) => JSX.Element;
|
||||
export declare const ThermometerSun: (props: LucideProps) => JSX.Element;
|
||||
export declare const Thermometer: (props: LucideProps) => JSX.Element;
|
||||
export declare const ThumbsDown: (props: LucideProps) => JSX.Element;
|
||||
export declare const ThumbsUp: (props: LucideProps) => JSX.Element;
|
||||
export declare const Ticket: (props: LucideProps) => JSX.Element;
|
||||
export declare const TimerOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const TimerReset: (props: LucideProps) => JSX.Element;
|
||||
export declare const Timer: (props: LucideProps) => JSX.Element;
|
||||
export declare const ToggleLeft: (props: LucideProps) => JSX.Element;
|
||||
export declare const ToggleRight: (props: LucideProps) => JSX.Element;
|
||||
export declare const Tornado: (props: LucideProps) => JSX.Element;
|
||||
export declare const ToyBrick: (props: LucideProps) => JSX.Element;
|
||||
export declare const Train: (props: LucideProps) => JSX.Element;
|
||||
export declare const Trash2: (props: LucideProps) => JSX.Element;
|
||||
export declare const Trash: (props: LucideProps) => JSX.Element;
|
||||
export declare const TreeDeciduous: (props: LucideProps) => JSX.Element;
|
||||
export declare const TreePine: (props: LucideProps) => JSX.Element;
|
||||
export declare const Trees: (props: LucideProps) => JSX.Element;
|
||||
export declare const Trello: (props: LucideProps) => JSX.Element;
|
||||
export declare const TrendingDown: (props: LucideProps) => JSX.Element;
|
||||
export declare const TrendingUp: (props: LucideProps) => JSX.Element;
|
||||
export declare const Triangle: (props: LucideProps) => JSX.Element;
|
||||
export declare const Trophy: (props: LucideProps) => JSX.Element;
|
||||
export declare const Truck: (props: LucideProps) => JSX.Element;
|
||||
export declare const Tv2: (props: LucideProps) => JSX.Element;
|
||||
export declare const Tv: (props: LucideProps) => JSX.Element;
|
||||
export declare const Twitch: (props: LucideProps) => JSX.Element;
|
||||
export declare const Twitter: (props: LucideProps) => JSX.Element;
|
||||
export declare const Type: (props: LucideProps) => JSX.Element;
|
||||
export declare const Umbrella: (props: LucideProps) => JSX.Element;
|
||||
export declare const Underline: (props: LucideProps) => JSX.Element;
|
||||
export declare const Undo2: (props: LucideProps) => JSX.Element;
|
||||
export declare const Undo: (props: LucideProps) => JSX.Element;
|
||||
export declare const Unlink2: (props: LucideProps) => JSX.Element;
|
||||
export declare const Unlink: (props: LucideProps) => JSX.Element;
|
||||
export declare const Unlock: (props: LucideProps) => JSX.Element;
|
||||
export declare const UploadCloud: (props: LucideProps) => JSX.Element;
|
||||
export declare const Upload: (props: LucideProps) => JSX.Element;
|
||||
export declare const Usb: (props: LucideProps) => JSX.Element;
|
||||
export declare const UserCheck: (props: LucideProps) => JSX.Element;
|
||||
export declare const UserCog: (props: LucideProps) => JSX.Element;
|
||||
export declare const UserMinus: (props: LucideProps) => JSX.Element;
|
||||
export declare const UserPlus: (props: LucideProps) => JSX.Element;
|
||||
export declare const UserX: (props: LucideProps) => JSX.Element;
|
||||
export declare const User: (props: LucideProps) => JSX.Element;
|
||||
export declare const Users: (props: LucideProps) => JSX.Element;
|
||||
export declare const UtensilsCrossed: (props: LucideProps) => JSX.Element;
|
||||
export declare const Utensils: (props: LucideProps) => JSX.Element;
|
||||
export declare const Vegan: (props: LucideProps) => JSX.Element;
|
||||
export declare const VenetianMask: (props: LucideProps) => JSX.Element;
|
||||
export declare const Verified: (props: LucideProps) => JSX.Element;
|
||||
export declare const VibrateOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const Vibrate: (props: LucideProps) => JSX.Element;
|
||||
export declare const VideoOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const Video: (props: LucideProps) => JSX.Element;
|
||||
export declare const View: (props: LucideProps) => JSX.Element;
|
||||
export declare const Voicemail: (props: LucideProps) => JSX.Element;
|
||||
export declare const Volume1: (props: LucideProps) => JSX.Element;
|
||||
export declare const Volume2: (props: LucideProps) => JSX.Element;
|
||||
export declare const VolumeX: (props: LucideProps) => JSX.Element;
|
||||
export declare const Volume: (props: LucideProps) => JSX.Element;
|
||||
export declare const Wallet: (props: LucideProps) => JSX.Element;
|
||||
export declare const Wand2: (props: LucideProps) => JSX.Element;
|
||||
export declare const Wand: (props: LucideProps) => JSX.Element;
|
||||
export declare const Watch: (props: LucideProps) => JSX.Element;
|
||||
export declare const Waves: (props: LucideProps) => JSX.Element;
|
||||
export declare const Webcam: (props: LucideProps) => JSX.Element;
|
||||
export declare const Webhook: (props: LucideProps) => JSX.Element;
|
||||
export declare const WheatOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const Wheat: (props: LucideProps) => JSX.Element;
|
||||
export declare const WifiOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const Wifi: (props: LucideProps) => JSX.Element;
|
||||
export declare const Wind: (props: LucideProps) => JSX.Element;
|
||||
export declare const WineOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const Wine: (props: LucideProps) => JSX.Element;
|
||||
export declare const WrapText: (props: LucideProps) => JSX.Element;
|
||||
export declare const Wrench: (props: LucideProps) => JSX.Element;
|
||||
export declare const XCircle: (props: LucideProps) => JSX.Element;
|
||||
export declare const XOctagon: (props: LucideProps) => JSX.Element;
|
||||
export declare const XSquare: (props: LucideProps) => JSX.Element;
|
||||
export declare const X: (props: LucideProps) => JSX.Element;
|
||||
export declare const Youtube: (props: LucideProps) => JSX.Element;
|
||||
export declare const ZapOff: (props: LucideProps) => JSX.Element;
|
||||
export declare const Zap: (props: LucideProps) => JSX.Element;
|
||||
export declare const ZoomIn: (props: LucideProps) => JSX.Element;
|
||||
export declare const ZoomOut: (props: LucideProps) => JSX.Element;
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "lucide-react-native",
|
||||
"description": "A Lucide icon library package for React Native applications",
|
||||
"version": "0.104.0",
|
||||
"version": "0.115.0",
|
||||
"license": "ISC",
|
||||
"homepage": "https://lucide.dev",
|
||||
"bugs": "https://github.com/lucide-icons/lucide/issues",
|
||||
@@ -26,7 +26,7 @@
|
||||
"build": "pnpm clean && pnpm copy:license && pnpm build:icons && pnpm build:bundles && pnpm build:types",
|
||||
"copy:license": "cp ../../LICENSE ./LICENSE",
|
||||
"clean": "rm -rf dist && rm -rf stats && rm -rf ./src/icons/*.js",
|
||||
"build:icons": "node ../../scripts/buildIcons.mjs --output=./src --templateSrc=./scripts/exportTemplate.mjs --renderUniqueKey --iconFileExtension=.ts --exportFileName=index.ts",
|
||||
"build:icons": "build-icons --output=./src --templateSrc=./scripts/exportTemplate.mjs --renderUniqueKey --iconFileExtension=.ts --exportFileName=index.ts --withAliases --aliasesFileExtension=.ts",
|
||||
"build:types": "node ./scripts/buildTypes.mjs",
|
||||
"build:bundles": "rollup -c ./rollup.config.mjs",
|
||||
"test": "vitest",
|
||||
@@ -34,6 +34,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@lucide/rollup-plugins": "workspace:*",
|
||||
"@lucide/build-icons": "workspace:*",
|
||||
"@testing-library/jest-dom": "^5.16.5",
|
||||
"@testing-library/react": "^13.4.0",
|
||||
"@types/prop-types": "^15.7.5",
|
||||
|
||||
@@ -6,28 +6,12 @@ const outputFileName = 'lucide-react-native';
|
||||
const outputDir = 'dist';
|
||||
const inputs = ['src/lucide-react-native.ts'];
|
||||
const bundles = [
|
||||
{
|
||||
format: 'umd',
|
||||
inputs,
|
||||
outputDir,
|
||||
minify: true,
|
||||
},
|
||||
{
|
||||
format: 'umd',
|
||||
inputs,
|
||||
outputDir,
|
||||
},
|
||||
{
|
||||
format: 'cjs',
|
||||
inputs,
|
||||
outputDir,
|
||||
preserveModules: true,
|
||||
},
|
||||
{
|
||||
format: 'es',
|
||||
inputs,
|
||||
outputDir,
|
||||
},
|
||||
{
|
||||
format: 'esm',
|
||||
inputs,
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import path from 'path';
|
||||
// eslint-disable-next-line import/no-extraneous-dependencies
|
||||
import { getAliases } from '@lucide/build-icons';
|
||||
import {
|
||||
appendFile,
|
||||
readSvgDirectory,
|
||||
resetFile,
|
||||
toPascalCase,
|
||||
@@ -11,29 +12,35 @@ import {
|
||||
const currentDir = getCurrentDirPath(import.meta.url);
|
||||
const srcDirectory = path.join(currentDir, '../dist');
|
||||
|
||||
// Declare type definitions
|
||||
const typeDefinitions = `\
|
||||
/// <reference types="react" />
|
||||
|
||||
declare module 'lucide-react-native'
|
||||
|
||||
// Create interface extending SVGProps
|
||||
export interface LucideProps extends Partial<React.SVGProps<SVGSVGElement>> {
|
||||
size?: string | number
|
||||
}
|
||||
|
||||
export declare const createReactComponent: (iconName: string, iconNode: any[]) => (props: LucideProps) => JSX.Element;
|
||||
|
||||
export type Icon = React.FC<LucideProps>;
|
||||
|
||||
// Generated icons
|
||||
`;
|
||||
const writeDeclarationFile = (typesFile, directory, content) => {
|
||||
resetFile(typesFile, directory);
|
||||
writeFile(content, typesFile, directory);
|
||||
};
|
||||
|
||||
const ICONS_DIR = path.resolve(currentDir, '../../../icons');
|
||||
const TYPES_FILE = 'lucide-react-native.d.ts';
|
||||
|
||||
resetFile(TYPES_FILE, srcDirectory);
|
||||
writeFile(typeDefinitions, TYPES_FILE, srcDirectory);
|
||||
let declarationFileContent = `\
|
||||
/// <reference types="react" />
|
||||
import { ReactSVG, FC, SVGProps } from 'react'
|
||||
|
||||
declare module 'lucide-react-native'
|
||||
|
||||
// Create interface extending SVGProps
|
||||
export interface LucideProps extends Partial<SVGProps<SVGSVGElement>> {
|
||||
size?: string | number
|
||||
}
|
||||
|
||||
export type LucideIcon = (props: LucideProps) => JSX.Element;
|
||||
|
||||
export type IconNode = [elementName: keyof ReactSVG, attrs: Record<string, string>][]
|
||||
|
||||
export declare const createLucideIcon: (iconName: string, iconNode: IconNode) => LucideIcon;
|
||||
|
||||
export type Icon = FC<LucideProps>;
|
||||
|
||||
// Generated icon
|
||||
`;
|
||||
|
||||
const svgFiles = readSvgDirectory(ICONS_DIR);
|
||||
|
||||
@@ -41,8 +48,44 @@ svgFiles.forEach((svgFile) => {
|
||||
const iconName = path.basename(svgFile, '.svg');
|
||||
const componentName = toPascalCase(iconName);
|
||||
|
||||
const exportTypeString = `export declare const ${componentName}: (props: LucideProps) => JSX.Element;\n`;
|
||||
appendFile(exportTypeString, TYPES_FILE, srcDirectory);
|
||||
declarationFileContent += `export declare const ${componentName}: LucideIcon;\n`;
|
||||
});
|
||||
|
||||
console.log(`Generated ${TYPES_FILE} file with`, svgFiles.length, 'icons');
|
||||
const aliases = await getAliases(ICONS_DIR);
|
||||
|
||||
declarationFileContent += `\n
|
||||
|
||||
// Generated icon aliases
|
||||
`;
|
||||
|
||||
let aliasesCount = 0;
|
||||
|
||||
svgFiles.forEach((svgFile) => {
|
||||
const iconName = path.basename(svgFile, '.svg');
|
||||
const componentName = toPascalCase(iconName);
|
||||
const iconAliases = aliases[iconName]?.aliases;
|
||||
|
||||
declarationFileContent += `// ${componentName} aliases\n`;
|
||||
declarationFileContent += `export declare const ${componentName}Icon: LucideIcon;\n`;
|
||||
declarationFileContent += `export declare const Lucide${componentName}: LucideIcon;\n`;
|
||||
aliasesCount += 1;
|
||||
if (iconAliases != null && Array.isArray(iconAliases)) {
|
||||
iconAliases.forEach((alias) => {
|
||||
const componentNameAlias = toPascalCase(alias);
|
||||
declarationFileContent += `export declare const ${componentNameAlias}: LucideIcon;\n`;
|
||||
|
||||
aliasesCount += 1;
|
||||
});
|
||||
}
|
||||
|
||||
declarationFileContent += '\n';
|
||||
});
|
||||
|
||||
writeDeclarationFile(TYPES_FILE, srcDirectory, declarationFileContent);
|
||||
console.log(
|
||||
`Generated ${TYPES_FILE} file with`,
|
||||
svgFiles.length,
|
||||
'icons and with',
|
||||
aliasesCount,
|
||||
'aliases',
|
||||
);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
export default ({ componentName, children }) => `
|
||||
import createReactComponent from '../createReactComponent';
|
||||
import createLucideIcon from '../createLucideIcon';
|
||||
|
||||
const ${componentName} = createReactComponent('${componentName}', ${JSON.stringify(children)});
|
||||
const ${componentName} = createLucideIcon('${componentName}', ${JSON.stringify(children)});
|
||||
|
||||
export default ${componentName};
|
||||
`;
|
||||
|
||||
@@ -10,7 +10,7 @@ export interface LucideProps extends SvgProps {
|
||||
size?: string | number
|
||||
}
|
||||
|
||||
const createReactComponent = (iconName: string, iconNode: IconNode) => {
|
||||
const createLucideIcon = (iconName: string, iconNode: IconNode) => {
|
||||
const Component = forwardRef(
|
||||
({ color = 'currentColor', size = 24, strokeWidth = 2, children, ...rest }: LucideProps, ref) =>
|
||||
createElement(
|
||||
@@ -45,4 +45,4 @@ const createReactComponent = (iconName: string, iconNode: IconNode) => {
|
||||
return Component;
|
||||
};
|
||||
|
||||
export default createReactComponent;
|
||||
export default createLucideIcon;
|
||||
@@ -1,2 +1,4 @@
|
||||
export * from './icons';
|
||||
export { default as createReactComponent } from './createReactComponent';
|
||||
export * as icons from './icons';
|
||||
export * from './aliases';
|
||||
export { default as createLucideIcon } from './createLucideIcon';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "lucide-react",
|
||||
"description": "A Lucide icon library package for React applications",
|
||||
"version": "0.104.1",
|
||||
"version": "0.115.0",
|
||||
"license": "ISC",
|
||||
"homepage": "https://lucide.dev",
|
||||
"bugs": "https://github.com/lucide-icons/lucide/issues",
|
||||
@@ -25,7 +25,7 @@
|
||||
"build": "pnpm clean && pnpm copy:license && pnpm build:icons && pnpm typecheck && pnpm build:bundles && pnpm build:types",
|
||||
"copy:license": "cp ../../LICENSE ./LICENSE",
|
||||
"clean": "rm -rf dist && rm -rf stats && rm -rf ./src/icons/*.ts",
|
||||
"build:icons": "node ../../scripts/buildIcons.mjs --output=./src --templateSrc=./scripts/exportTemplate.mjs --renderUniqueKey --iconFileExtension=.ts --exportFileName=index.ts",
|
||||
"build:icons": "build-icons --output=./src --templateSrc=./scripts/exportTemplate.mjs --renderUniqueKey --withAliases --aliasesFileExtension=.ts --iconFileExtension=.ts --exportFileName=index.ts",
|
||||
"build:types": "node ./scripts/buildTypes.mjs",
|
||||
"build:bundles": "rollup -c ./rollup.config.mjs",
|
||||
"typecheck": "tsc",
|
||||
@@ -34,13 +34,13 @@
|
||||
"version": "pnpm version --git-tag-version=false"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@lucide/build-icons": "workspace:*",
|
||||
"@lucide/rollup-plugins": "workspace:*",
|
||||
"@testing-library/jest-dom": "^5.16.5",
|
||||
"@testing-library/react": "^11.2.6",
|
||||
"@types/prop-types": "^15.7.5",
|
||||
"@types/react": "^18.0.21",
|
||||
"@vitejs/plugin-react": "^2.1.0",
|
||||
"prop-types": "^15.7.2",
|
||||
"react": "17.0.2",
|
||||
"react-dom": "17.0.2",
|
||||
"rollup": "^3.5.1",
|
||||
@@ -49,7 +49,6 @@
|
||||
"vitest": "^0.24.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"prop-types": "^15.7.2",
|
||||
"react": "^16.5.1 || ^17.0.0 || ^18.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import plugins from '@lucide/rollup-plugins';
|
||||
import plugins, { replace } from '@lucide/rollup-plugins';
|
||||
import pkg from './package.json' assert { type: 'json' };
|
||||
|
||||
const packageName = 'LucideReact';
|
||||
@@ -39,7 +39,20 @@ const configs = bundles
|
||||
.map(({ inputs, outputDir, format, minify, preserveModules }) =>
|
||||
inputs.map(input => ({
|
||||
input,
|
||||
plugins: plugins(pkg, minify),
|
||||
plugins: [
|
||||
// This for aliases, only for esm
|
||||
...(
|
||||
format !== 'esm' ? [
|
||||
replace({
|
||||
"export * from './aliases';": '',
|
||||
"export * as icons from './icons';": '',
|
||||
delimiters: ['', ''],
|
||||
preventAssignment: false,
|
||||
}),
|
||||
] : []
|
||||
),
|
||||
...plugins(pkg, minify)
|
||||
],
|
||||
external: ['react', 'prop-types'],
|
||||
output: {
|
||||
name: packageName,
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import path from 'path';
|
||||
// eslint-disable-next-line import/no-extraneous-dependencies
|
||||
import { getAliases } from '@lucide/build-icons';
|
||||
import {
|
||||
appendFile,
|
||||
readSvgDirectory,
|
||||
resetFile,
|
||||
toPascalCase,
|
||||
@@ -11,30 +12,35 @@ import {
|
||||
const currentDir = getCurrentDirPath(import.meta.url);
|
||||
const srcDirectory = path.join(currentDir, '../dist');
|
||||
|
||||
// Declare type definitions
|
||||
const typeDefinitions = `\
|
||||
/// <reference types="react" />
|
||||
import { SVGAttributes } from 'react'
|
||||
|
||||
declare module 'lucide-react'
|
||||
|
||||
// Create interface extending SVGProps
|
||||
export interface LucideProps extends Partial<React.SVGProps<SVGSVGElement>> {
|
||||
size?: string | number
|
||||
}
|
||||
|
||||
export declare const createReactComponent: (iconName: string, iconNode: any[]) => (props: LucideProps) => JSX.Element;
|
||||
|
||||
export type Icon = React.FC<LucideProps>;
|
||||
|
||||
// Generated icons
|
||||
`;
|
||||
const writeDeclarationFile = (typesFile, directory, content) => {
|
||||
resetFile(typesFile, directory);
|
||||
writeFile(content, typesFile, directory);
|
||||
};
|
||||
|
||||
const ICONS_DIR = path.resolve(currentDir, '../../../icons');
|
||||
const TYPES_FILE = 'lucide-react.d.ts';
|
||||
|
||||
resetFile(TYPES_FILE, srcDirectory);
|
||||
writeFile(typeDefinitions, TYPES_FILE, srcDirectory);
|
||||
let declarationFileContent = `\
|
||||
/// <reference types="react" />
|
||||
import { SVGAttributes, FC, SVGProps, ReactSVG } from 'react'
|
||||
|
||||
declare module 'lucide-react'
|
||||
|
||||
// Create interface extending SVGProps
|
||||
export interface LucideProps extends Partial<SVGProps<SVGSVGElement>> {
|
||||
size?: string | number
|
||||
}
|
||||
|
||||
export type LucideIcon = (props: LucideProps) => JSX.Element;
|
||||
|
||||
export type IconNode = [elementName: keyof ReactSVG, attrs: Record<string, string>][]
|
||||
|
||||
export declare const createLucideIcon: (iconName: string, iconNode: IconNode) => LucideIcon;
|
||||
|
||||
export type Icon = FC<LucideProps>;
|
||||
|
||||
// Generated icon
|
||||
`;
|
||||
|
||||
const svgFiles = readSvgDirectory(ICONS_DIR);
|
||||
|
||||
@@ -42,8 +48,44 @@ svgFiles.forEach((svgFile) => {
|
||||
const iconName = path.basename(svgFile, '.svg');
|
||||
const componentName = toPascalCase(iconName);
|
||||
|
||||
const exportTypeString = `export declare const ${componentName}: (props: LucideProps) => JSX.Element;\n`;
|
||||
appendFile(exportTypeString, TYPES_FILE, srcDirectory);
|
||||
declarationFileContent += `export declare const ${componentName}: LucideIcon;\n`;
|
||||
});
|
||||
|
||||
console.log(`Generated ${TYPES_FILE} file with`, svgFiles.length, 'icons');
|
||||
const aliases = await getAliases(ICONS_DIR);
|
||||
|
||||
declarationFileContent += `\n
|
||||
|
||||
// Generated icon aliases
|
||||
`;
|
||||
|
||||
let aliasesCount = 0;
|
||||
|
||||
svgFiles.forEach((svgFile) => {
|
||||
const iconName = path.basename(svgFile, '.svg');
|
||||
const componentName = toPascalCase(iconName);
|
||||
const iconAliases = aliases[iconName]?.aliases;
|
||||
|
||||
declarationFileContent += `// ${componentName} aliases\n`;
|
||||
declarationFileContent += `export declare const ${componentName}Icon: LucideIcon;\n`;
|
||||
declarationFileContent += `export declare const Lucide${componentName}: LucideIcon;\n`;
|
||||
aliasesCount += 1;
|
||||
if (iconAliases != null && Array.isArray(iconAliases)) {
|
||||
iconAliases.forEach((alias) => {
|
||||
const componentNameAlias = toPascalCase(alias);
|
||||
declarationFileContent += `export declare const ${componentNameAlias}: LucideIcon;\n`;
|
||||
|
||||
aliasesCount += 1;
|
||||
});
|
||||
}
|
||||
|
||||
declarationFileContent += '\n';
|
||||
});
|
||||
|
||||
writeDeclarationFile(TYPES_FILE, srcDirectory, declarationFileContent);
|
||||
console.log(
|
||||
`Generated ${TYPES_FILE} file with`,
|
||||
svgFiles.length,
|
||||
'icons and with',
|
||||
aliasesCount,
|
||||
'aliases',
|
||||
);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
export default ({ componentName, children }) => `
|
||||
import createReactComponent from '../createReactComponent';
|
||||
import createLucideIcon from '../createLucideIcon';
|
||||
|
||||
const ${componentName} = createReactComponent('${componentName}', ${JSON.stringify(children)});
|
||||
const ${componentName} = createLucideIcon('${componentName}', ${JSON.stringify(children)});
|
||||
|
||||
export default ${componentName};
|
||||
`;
|
||||
|
||||
3480
packages/lucide-react/src/aliases.ts
Normal file
@@ -1,5 +1,4 @@
|
||||
import { forwardRef, createElement, ReactSVG, SVGProps } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import defaultAttributes from './defaultAttributes';
|
||||
|
||||
type IconNode = [elementName: keyof ReactSVG, attrs: Record<string, string>][]
|
||||
@@ -19,7 +18,7 @@ export interface LucideProps extends SVGAttributes {
|
||||
*/
|
||||
export const toKebabCase = (string: string) => string.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();
|
||||
|
||||
const createReactComponent = (iconName: string, iconNode: IconNode) => {
|
||||
const createLucideIcon = (iconName: string, iconNode: IconNode) => {
|
||||
const Component = forwardRef<SVGSVGElement, LucideProps>(
|
||||
({ color = 'currentColor', size = 24, strokeWidth = 2, children, ...rest }, ref) =>
|
||||
createElement(
|
||||
@@ -43,15 +42,9 @@ const createReactComponent = (iconName: string, iconNode: IconNode) => {
|
||||
),
|
||||
);
|
||||
|
||||
Component.propTypes = {
|
||||
color: PropTypes.string,
|
||||
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
||||
strokeWidth: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
||||
};
|
||||
|
||||
Component.displayName = `${iconName}`;
|
||||
|
||||
return Component;
|
||||
};
|
||||
|
||||
export default createReactComponent
|
||||
export default createLucideIcon
|
||||