Jakob Guddas
6c865ccd9a
feat(ci): adds dpi preview for 16, 32 and 48px ( #3048 )
...
* feat(ci): adds dpi preview for 18, 32 and 48px
* Update DPI preview from 18px to 16px
* Consolidate DPI preview sections in markup
2025-04-18 15:02:00 +02:00
Eric Fennis
07f9d3ea79
ci(node): Use correct node version ( #2877 )
...
* ci(node): Use correct node version
* Remove overrides
* update lock file
* Change assert to with
* Remove duplicated version
2025-03-14 11:29:59 +01:00
Eric Fennis
aefb710e5c
feat(@lucide/svelte): Lucide svelte 5 package ( #2753 )
...
* Lucide svelte (#1 )
* Update peerDependencies to support Svelte 5
* Bump svelte version
* Bump @testing-library/svelte version
* Remove alias in vitest.config.ts that causes tests to fail due to deprecated svelte/internal API
* Convert to svelte 5 syntax
* Bump vite & @sveltejs/vite-plugin-svelte version
* Fix error during render when children prop is missing & fix components being mounted on the server during tests
* Update test snapshots to reflect the differences in the html generated by svelte 5
* Convert class attribute to new array syntax with built-in clsx
* Convert export template to svelte 5 syntax
* Move svelte 5 to separate directory
* Update snapshots
* Update docs
* fix(icon): change variable declaration from let to const in Icon.svelte
* Lucide svelte (#1 ) (#2727 )
* Update peerDependencies to support Svelte 5
* Bump svelte version
* Bump @testing-library/svelte version
* Remove alias in vitest.config.ts that causes tests to fail due to deprecated svelte/internal API
* Convert to svelte 5 syntax
* Bump vite & @sveltejs/vite-plugin-svelte version
* Fix error during render when children prop is missing & fix components being mounted on the server during tests
* Update test snapshots to reflect the differences in the html generated by svelte 5
* Convert class attribute to new array syntax with built-in clsx
* Convert export template to svelte 5 syntax
* Revert changes in lucide-svelte library
* Update package lock
* Update test files
* Formatting
* Update clean command
* Fix build
* Update packages
* update deps
* Fix export script
* Format code
* Revert version number change in package json
* Update workflows
---------
Co-authored-by: Aurélien Richard <56389380+aurelienrichard@users.noreply.github.com >
2025-03-07 13:44:09 +01:00
Eric Fennis
c96260d82a
style(scripts): Fix formatting
2025-02-28 15:06:39 +01:00
Jakob Guddas
6ae047557e
docs: updated guideline icons ( #2676 )
...
* docs: updated guideline icons
* Update docs/images/1px-border-radius.svg
* Update docs/images/1px-border-radius.svg
* Update docs/images/1px-padding.svg
* Update docs/images/24px-24px.svg
* Update docs/images/2px-element-spacing.svg
* Update docs/images/2px-stroke.svg
2025-02-28 11:11:48 +01:00
Eric Fennis
a59c5de61a
fix(scripts): Add extra const for path mapping
2025-02-24 10:28:54 +01:00
Eric Fennis
2bd0ae55fd
fix(scripts): Add await to readSvgDirectory
2025-02-24 10:18:58 +01:00
Eric Fennis
1828a392c8
fix: Add await to checkIconsAndCategories script
2025-02-19 11:19:53 +01:00
Eric Fennis
50630b3aaf
ci: Improve build speeds ( #2778 )
...
* Revert sync to async functions
* Replace more sync fs functions
* Format files
* Fix build svelte package
2025-02-10 14:13:52 +01:00
Eric Fennis
419d47019c
fix(scripts): Fix auto formatting script ( #2712 )
...
* Fix ./scripts/generateNextJSAliases.mjs
* Fix generateChangeIconsMarkup scripts
2025-01-06 10:42:53 +01:00
Eric Fennis
d30698cb38
ci(pull-request): Fix generate comments for empty changes ( #2593 )
2024-11-08 16:00:23 +01:00
Jakob Guddas
f70d5f5169
fix(pr-comment): added missing details open tag ( #2425 )
2024-09-06 12:45:07 +02:00
Jakob Guddas
30e0d55b4a
fix(pr-comment): changed diff path url ( #2426 )
2024-09-06 12:44:38 +02:00
Jakob Guddas
9c99fd809c
feat(pr-comment): moved diff into separate section ( #2421 )
...
* feat(pr-comment): moved diff into separate section
* Update docs/.vitepress/lib/SvgPreview/Diff.tsx
2024-09-01 21:04:36 +02:00
Eric Fennis
0d2c6c457e
refactor(scripts): Fix linting errors
2024-07-07 21:32:32 +02:00
Eric Fennis
c761ec7b5e
ci(pull-request): Fix workflows attempt #7
2024-07-01 21:28:11 +02:00
Eric Fennis
bbd877a3ba
ci(pull-request): Fix workflows attempt #6
2024-07-01 18:04:31 +02:00
Eric Fennis
077242cfa0
refactor(scripts): Cleaning up scripts ( #2092 )
...
* cleanup scripts
* Move helpers to package
* Fixes scripts
* Fix scripts
* Formatting
* Fix helpers import paths
* Remove lucide-figma
* Rename helpers package
* Fix build
* formatting
* Adjust main build-icons file
* Add export casing
* Adds `exportModuleNameCasing` fro lab project
* format files
* Bump package version @lucide/build-icons
* Revert changes in icons
* Revert changes in PR yml
* Fix lint issues
* Fix site build
* fix lint errors
* Attempt fix linting
* Fix lint errors
2024-06-28 11:24:37 +02:00
Eric Fennis
621b60b19d
fix(site): Aliases redirect ( #2235 )
...
* fix: Aliases redirect
* Fix lint errors
* Apply feedback
2024-06-20 16:13:38 +02:00
Karsa
4b312b369f
fix(scripts): fixes writeIconRelatedIcons.mjs ( #2190 )
...
* fix(scripts): fixes writeIconRelatedIcons.mjs
* fix(scripts): fixes linting
---------
Co-authored-by: Karsa <karsa@sztaki.hu >
2024-06-07 10:10:17 +02:00
Karsa
e2b46eac8e
feat(icons): add deprecationReason and alias deprecation feature ( #1960 )
...
* feat(icons): add deprecationReason and alias deprecation feature
* chore(tools): run prettier. again.
* fix(scripts): overall alias as object support
* fix(icon.schema.json): add dependentRequired on deprecated properties
* fix(icon.schema.json): remove unicode for now
* fix(icon.schema.json): use const true for deprecated
* fix(build): convert deprecation reason to enum
* fix(build): fix linting of icon.schema.json
* fix(build): renamed gracePeriod => toBeRemovedInVersion
* fix(build): fix aliases map in related icons generation
* fix(build): deprecate aliases using numbers
* feat(icon-schema): separate deprecation reason enumerations, extract removal notice
* fix(icon-schema): fix linting
* Update tools/build-icons/utils/deprecationReasonTemplate.mjs
* fix(icons): add deprecation reason to some more icons
* fix(docs): fix linting issue
---------
Co-authored-by: Karsa <karsa@sztaki.hu >
Co-authored-by: Jakob Guddas <github@jguddas.de >
2024-05-22 13:08:34 +02:00
Jakob Guddas
155ff3319a
fix: resolved broken icons as code details section issue ( #2144 )
2024-05-13 08:23:23 +02:00
Jakob Guddas
439ee3f707
chore: always fold Icon as code preview comment ( #2062 )
2024-04-18 09:21:10 +02:00
Jakob Guddas
9a65837e45
Update generateChangedIconsCommentMarkup.mjs ( #2029 )
2024-04-03 09:54:30 +02:00
Jakob Guddas
4c6587612a
feat: include code snippet in preview comment ( #1973 )
...
* feat: include code snippet in preview comment
* feat: collapse code snippet in preview comment when it has more than 20 lines
* Update scripts/generateChangedIconsCommentMarkup.mjs
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2024-04-02 17:48:08 +02:00
Karsa
6fbd5ee06a
chore(icons): update icon names to match naming guidelines no. 7 to 9 ( #1906 )
...
* Update icon names to match naming guidelines no. 7 to 9
Update and extend rename icon helper script.
* Ran prettier
* Refactor rename scripts so that simplegit import doesn't cause other helper script usages to crash.
* Revert renaming key-square
* Revert renaming message-circle|square
* Fix square-dashed-kanban
* Optimize circle power
* pnpm rename square-dashed-bottom-scissors square-bottom-dashed-scissors
* Fix linting
* Fix file name linting issues via cspell configuration
* Rename unlock => lock-open
* Rename (square|circle)-check-2 => (square|circle)-check-small
* pnpm rename code-2 code-xml
pnpm rename contact-2 contact-round
* rename test-tube-2 test-tube-diagonal
rename mic-2 mic-vocal
rename loader-2 loader-circle
rename test-tube-2 test-tube-diagonal
rename school-2 university
* fix icons linting
* rename ice-cream => ice-cream-cone
rename ice-cream-2 => ice-cream-bowl
rename laptop-2 => laptop-abstract
* renamePattern "^(square|circle)-arrow-([a-z-]+)-from$" "\\1-arrow-out-\\2"
* rename wand-2 => wand-sparkles
* Update university.json tags.
* fix(icons): renamePattern '^(.+)-abstract$' '\1-minimal' --add-alias=false
feat(scripts): added yargs option parsing to renamePattern
* fix(packages): Remove protractor and puppeteer from lucide-angular, they are no longer in use but cause pnpm install to fail
* Lint fix, this is starting to get ridiculous.
* fix(packages): fix lucide-angular karma config.
* chore(icons): renamePattern '^(square|circle)-check$' '\1-check-big'
chore(icons): renamePattern '^(square|circle)-check-small$' '\1-check'
---------
Co-authored-by: Karsa <karsa@sztaki.hu >
2024-03-08 16:55:46 +01:00
Eric Fennis
76d449a974
Aliases redirect on site ( #1959 )
...
* test aliases
* test
* Add redirect routes
* Formatting
2024-03-08 15:20:15 +01:00
Jakob Guddas
d255c6ac4e
fix: readded gap between x-ray preview comment icons. ( #1915 )
...
* fix: readded gap between x-ray preview comment icons.
* feat: keep size 400px
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2024-03-06 21:00:26 +01:00
Karsa
9bf8a653a3
Ran prettier on updateContributors.mjs ( #1887 )
...
Co-authored-by: Karsa <karsa@sztaki.hu >
2024-02-12 18:59:06 +01:00
Jakob Guddas
33189a81ac
fix: updateContributors adds trailing line to icon.json ( #1885 )
2024-02-12 14:33:04 +01:00
Han Yeong-woo
eb035fe370
Improve formatting ( #1814 )
...
* Ignore linting for examples in docs
* Formatting JSX single attribute per line
* Separte `format` and `lint:format` in package.json
* Bump prettier version
* Run format
2024-02-01 14:38:21 +01:00
Eric Fennis
114fb08556
fix icon preview comment ( #1823 )
2024-01-21 19:45:21 +01:00
Han Yeong-woo
675158df16
Cleanup tools ( #1756 )
...
* Use prettier own instead of eslint plugin
* Extend prettier config angular eslint
* Upgrade root prettier to 3
* Fix css syntax errors
* Change eslint ignore to prettier ignore
* Ignore formatting for outputs
* Fix lint-staged error when edited multiple files
* Bump pnpm version
* Remove unnecessary pnpm config
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2024-01-18 12:36:48 +01:00
Jakob Guddas
bc5efd7f0d
feat(ci): added filename lint job ( #1782 )
2024-01-07 17:15:49 +01:00
Eric Fennis
05f209cb04
Fix icon preview comment workflow ( #1775 )
...
* Add helpers
* fix preview script
* refactor markup to javascript
* test
* Add escaping
* Try alternative escaping
* test comment markup
* update comment markup
* Revert comment markup step
* revert escaping
* Test with markup file instead of GITHUB_OUTPUT var
2024-01-07 15:59:33 +01:00
Eugene Sviridov
f8aafd63b9
remove mentions of the site folder in doc and config files ( #1769 )
2024-01-02 15:14:34 +01:00
Jakob Guddas
e7abba5273
feat: added renameIcon script ( #1630 )
...
* feat: added renameIcon script
* feat: added renameIcon script
* chore: converted renameIcon.sh to mjs
* refactor: cleanup
* Delete scripts/renameIcon.sh
2023-12-16 15:20:08 +01:00
Eric Fennis
2693da38d3
fix: update pr workflow
2023-12-15 16:31:19 +01:00
Eric Fennis
e32db96f1f
update workflow
2023-12-13 22:44:08 +01:00
Jakob Guddas
372735999f
fix: exclude renames from contributor generation ( #1643 )
...
* fix: exclude renames from contributor generation
* fix: exclude renames from contributor generation
2023-10-30 21:31:25 +01:00
Eric Fennis
73d5bfc318
Fix icon contributors
2023-10-29 21:09:08 +01:00
Jakob Guddas
8f4d6b1651
feat: added lint-contributors job ( #1625 )
...
* feat: added lint-contributors job
Signed-off-by: Jakob Guddas <github@jguddas.de >
* feat: improved lint-contributors job
Signed-off-by: Jakob Guddas <github@jguddas.de >
* feat: add comments to lint-contributors job
Signed-off-by: Jakob Guddas <github@jguddas.de >
---------
Signed-off-by: Jakob Guddas <github@jguddas.de >
2023-10-27 08:59:27 +02:00
Jakob Guddas
6c6c8448fa
fix: duplicate Next.js aliases ( #1631 )
2023-10-22 13:06:07 +02:00
Eric Fennis
0a0fd1cf6c
Adds new font in lucide-static and speed up icon outlining ( #1599 )
...
* Apply new icon font build in release
* remove dockerfile
2023-10-16 22:03:57 +02:00
Eric Fennis
a4076db69b
fix: Allow slash icon with double release
2023-09-11 09:07:14 +02:00
Eric Fennis
c652723b32
Generated aliases for Weird NextJS Case transformations ( #1549 )
...
* add script
* Create script to generate the aliases Nextjs
* Apply aliases to the icon meta files
* Make sure duplicated imports are not added
* add command to lint-staged
2023-09-06 09:26:02 +02:00
Eric Fennis
dc1d17181f
Fix createdRelease in writeReleaseMetadata
2023-07-17 21:58:10 +02:00
Eric Fennis
34155d48e7
Site improvements ( #1366 )
...
* write cions details
* add details
* Add icons details
* update gitignore
* Add node details
* Move tags api to own composable
* remove overridden var
* remopve whitespace
* log directory existence
* Fix path name
* Fix build
* Fix tags fetching
* Move max related icons to prebuild
* Improve tags scroller
* Add categories call
* cleanup
* Add active state
2023-06-15 14:44:43 +02:00
Eric Fennis
5bfc736b61
New site! 🚀 ( #1275 )
...
* add new docs
* Add styling
* Move files
* Add active selection
* improve grid overview
* improve grid
* Add icon detail page
* Minor changes
* Fix icon preview
* optimize home card
* Add code examples
* Add gitignore
* correct temp directory
* Add first cusotmizer
* Add customizer
* fix images paths
* Add reset function
* Adjust category rendering
* Add packages section
* Some fixes
* Fix vercel build icon
* Small code adjustment
* move file
* Try this
* Add code groups with syntax highlighting
* Add search icon
* Cleanup
* update lockfile
* turnoff 404
* remove docs/iconMetaData.ts
* fix build
* Fix build 2
* cleanup
* Add icon customizer
* Fix build
* Add steps
* Add Button menu
* A lot off fixes!
* cleanup
* Fix build
* Css fixes
* Override menu icon
* try this to improve preformance
* minor improvements
* add comment
* add readme
* Add title
* minor fixes
* Fixes sliders + removes random backticks from index
* Added package list base, still WIP
* Added Guide+Source buttons to package list items
* Responsive support for XS screens
* Map categories count
* Adjust tooltip hover position
* Add see in action icon
* Add download options
* Aligns category list items to baseline and decreases category count weight
* Fixes event target error for categorylistitems
* Added icon release metadata builder
* Adds version badges to hero + icon detail overlay
* Added contributors.
Added Copy Angular.
Added release info to icon page.
* Centres contributor tooltip
* Fixed stroke step + added reset button
* Extracted reset button as a separate component for reusability
* Makes HomeIconCustomizerIcons less dense
* Fixes Button menu
* adjust versions and contributors styling on detail page
* Fix build?
* Fix build 2?
* Fix build 3
* Fix build 4
* Fix build 5?
* Add latest gh-icon changes
* Add comment
* Try fetch tags to retrieve release data
* try fetch all tags
* Add related icons
* Add stikcy search bar
* Add no results components
* Try to fix animation
* Try optimizing for categories
* Hide buggy animated icon
* minor fixes
* Add footer
* Add contributute link in footer
* Add copy name
* Add 100% preview icons
* remove site directory
* clean up
* Add redirects
* Fix build?
* fix redirect?
* minor improvements
* Fix icons preview on mobile
* Small preformance improvement
* Dark mode fixes for package icons
* Sort related icons by similarity + somewhat better name similarity matching
* Replace icon design guide images with uniform SVGs
* update lockfile
* Adds git clone to manually fetch the main repository for creating release metadata
* Remove initial v0.0.0 from release metadata
* Add extra CTA to no results behaviour
* Remove tags, as they are too overused
* Revert "Remove tags, as they are too overused"
This reverts commit 909b7563c0 .
* Checkout icons from main
* Add absoluteStrokeWidth switch
* Add absolute strokewidth to home customizer
* Add absolute strokewidth to copy code button
* remove unused import
* compare build time
* improve build speed
* Try new release meta data script
* add fetch tags
* try with branch and remote
* try with url
* try without ssh
* Fix fetch tags in build file
* Cleanup
* Fix fallback
* improve release data
* delete relatedIcons.json, because it should be gitignored
* Add icon details
* Fix import
* minor fixes
* Try running script parallel
* Revert icon details
* include aliases in release meta data
* Final fixes
* Final fixes 2
* minor code adjustment
* Fix build
* test
* Revert concurrent build flow
* switch back to concurrent build strategy
* revert icon changes
* update package.json
* update package.json
* dedube packages
---------
Co-authored-by: Karsa <karsa@karsa.org >
2023-06-04 16:59:38 +02:00
Karsa
2ebf99f591
Restores removed aliases ( #1324 )
...
* Restores removed aliases.
* Makes sure not to remove aliases next time.
2023-06-01 17:58:36 +02:00