Skip to content

Commit

Permalink
Merge branch 'main' into studio/user-round-arrow-inwards
Browse files Browse the repository at this point in the history
  • Loading branch information
ericfennis authored Aug 23, 2024
2 parents 926e8ed + 7837a04 commit edecec5
Show file tree
Hide file tree
Showing 75 changed files with 1,963 additions and 628 deletions.
1 change: 1 addition & 0 deletions .cspell/custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ strikethrough
touchpad
ungroup
pilcrow
toc

# Brands
codepen
Expand Down
1 change: 1 addition & 0 deletions docs/.vitepress/theme/components/home/TeamMemberCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ defineProps<TeamMember>()
font-weight: 500;
color: var(--vp-c-text-2);
text-align: center;
text-wrap: balance;
margin-bottom: 16px;;
}
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/theme/components/overrides/VPFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const links = computed(() => [
href: `${githubLink.value}/releases`
},
{
text: 'Github',
text: 'GitHub',
href: `${githubLink.value}`
},
{
Expand Down
21 changes: 21 additions & 0 deletions docs/guide/packages/lucide-angular.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,20 @@ import { LucideAngularModule, File, Home, Menu, UserCheck } from 'lucide-angular
export class AppModule { }
```

or using standalone version:

```js
import { LucideAngularModule, FileIcon } from 'lucide-angular';

@NgModule({
imports: [
LucideAngularModule
]
})
export class AppModule {
readonly FileIcon = FileIcon;
}
```
### Step 2: Use the icons in templates

Within your templates you may now use one of the following component tags to insert an icon:
Expand All @@ -47,6 +61,13 @@ Within your templates you may now use one of the following component tags to ins
<i-lucide name="menu" class="my-icon"></i-lucide>
<span-lucide name="user-check" class="my-icon"></span-lucide>
```
for standalone
```html
<lucide-angular [img]="FileIcon" class="my-icon"></lucide-angular>
<lucide-icon [img]="FileIcon" class="my-icon"></lucide-icon>
<i-lucide [img]="FileIcon" class="my-icon"></i-lucide>
<span-lucide [img]="FileIcon" class="my-icon"></span-lucide>
```

### Props

Expand Down
13 changes: 13 additions & 0 deletions docs/guide/packages/lucide-solid.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,19 @@ const App = () => {
export default App;
```

Vite loading/performing issues with the dev server can be resolved by import icons directly from the `lucide-solid/icons` directory:

```jsx
import Camera from 'lucide-solid/icons/camera';

// Usage
const App = () => {
return <Camera color="red" size={48} />;
};

export default App;
```

## Props

| name | type | default |
Expand Down
Binary file modified docs/images/grid-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
# https://vitepress.dev/reference/default-theme-home-page
layout: home
markdownStyles: false

head:
- - link
Expand Down
5 changes: 2 additions & 3 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,13 @@
"@types/semver": "^7.5.3",
"h3": "^1.8.0",
"nitropack": "2.8.1",
"node-fetch": "2",
"rollup-plugin-copy": "^3.4.0",
"vitepress": "1.0.0-rc.36"
"vitepress": "^1.3.1"
},
"dependencies": {
"@floating-ui/vue": "^1.0.3",
"@headlessui/vue": "^1.7.17",
"@resvg/resvg-wasm": "^2.4.1",
"@resvg/resvg-wasm": "^2.6.2",
"@vueuse/components": "^10.7.2",
"@vueuse/core": "^10.7.2",
"element-to-path": "^1.2.1",
Expand Down
22 changes: 22 additions & 0 deletions icons/amphora.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"$schema": "../icon.schema.json",
"contributors": [
"karsa-mistmere"
],
"tags": [
"pottery",
"artifact",
"artefact",
"vase",
"ceramics",
"clay",
"archaeology",
"museum",
"wine",
"oil"
],
"categories": [
"food-beverage",
"gaming"
]
}
18 changes: 18 additions & 0 deletions icons/amphora.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions icons/bandage.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"$schema": "../icon.schema.json",
"contributors": [
"karsa-mistmere",
"jamiemlaw"
],
"tags": [
"plaster",
"band-aid",
"first aid",
"medical",
"health",
"wound",
"injury",
"care",
"treatment",
"healing",
"protection",
"emergency",
"aid",
"safety"
],
"categories": [
"medical"
]
}
19 changes: 19 additions & 0 deletions icons/bandage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions icons/binoculars.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"$schema": "../icon.schema.json",
"contributors": [
"karsa-mistmere"
],
"tags": [
"field glasses",
"lorgnette",
"pince-nez",
"observation",
"sightseeing",
"nature",
"wildlife",
"birdwatching",
"scouting",
"surveillance",
"search",
"discovery",
"monitoring",
"lookout",
"viewpoint",
"travel",
"tourism",
"research"
],
"categories": [
"maps",
"nature",
"photography",
"science",
"travel",
"development"
]
}
18 changes: 18 additions & 0 deletions icons/binoculars.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions icons/chart-gantt.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "../icon.schema.json",
"contributors": [
"karsa-mistmere",
"danielbayley",
"jguddas"
],
"tags": [
"diagram",
"graph",
"timeline",
"planning"
],
"categories": [
"charts"
]
}
16 changes: 16 additions & 0 deletions icons/chart-gantt.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 39 additions & 0 deletions icons/chevrons-left-right-ellipsis.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"$schema": "../icon.schema.json",
"contributors": [
"ericfennis"
],
"tags": [
"internet",
"network",
"connection",
"cable",
"lan",
"port",
"router",
"switch",
"hub",
"modem",
"web",
"online",
"networking",
"communication",
"socket",
"plug",
"slot",
"controller",
"connector",
"interface",
"console",
"signal",
"data",
"input",
"output"
],
"categories": [
"communication",
"devices",
"multimedia",
"gaming"
]
}
17 changes: 17 additions & 0 deletions icons/chevrons-left-right-ellipsis.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion icons/cigarette-off.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"$schema": "../icon.schema.json",
"contributors": [
"karsa-mistmere",
"ericfennis"
"ericfennis",
"jguddas"
],
"tags": [
"smoking",
Expand Down
9 changes: 4 additions & 5 deletions icons/cigarette-off.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion icons/cigarette.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"$schema": "../icon.schema.json",
"contributors": [
"karsa-mistmere",
"ericfennis"
"ericfennis",
"jguddas"
],
"tags": [
"smoking"
Expand Down
6 changes: 3 additions & 3 deletions icons/cigarette.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit edecec5

Please sign in to comment.