mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-08-29 09:38:26 +02:00
* Add new lucide angular package * feat(packages/angular): added initial @lucide/angular package * feat(packages/angular): update readme * feat(packages/angular): update angular.json * docs(packages/angular): added (for now) full documentation for @lucide/angular * docs(packages/angular): added migration guide from lucide-angular * fix(github): fix package label syntax 😅 * fix(lint): fix linting issues * fix(github/angular): add prebuild stage * fix(github/angular): add prebuild stage & fix tests * fix(github/angular): fix LucideIconComponentType, update with _real_ public members * fix(github/angular): add prebuild to build step manually * fix(github/angular): downgrade vitest * fix(packages/angular): fix migration guide code example * fix(packages): add vitest + @vitest/* to pnpm overrides * fix(packages): update pnpm-lock with merged version * Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * fix(packages): fix aria-hidden logic * fix(packages): update pnpm-lock * fix(packages): extract vitest and jsdom to root devDependencies * Fix copy utils script * Format code * feat(packages/angular): switched to self-describing IconData object from separate node+name – no more toKebabCase hackery feat(packages/angular): renamed LucideIconComponentType => LucideIcon, and LucideIcon => LucideDynamicIcon feat(packages/angular): added backwards compatible CSS class support feat(packages/angular): switched to vector-effect: non-scaling-stroke implementation from computed stroke width feat(packages/angular): rewrote icon provider to only accept a list of self-described icons – no more toKebabCase hackery & as an added bonus automatic backwards compatible alias support 🚀 feat(packages/angular): added legacy icon node helper function for passing legacy icons to providers test(packages/angular): added unit tests on LUCIDE_CONFIG provider usage * fix(packages/angular): fix linting issues * feat(packages/angular): extract createLucideIcon logic into helper function, refactor export template to use the iconData object as defined in ExportTemplate * Replace author * Remove private field * fix(packages/angular): remove createLucideIcon, it breaks the package :'( * fix(packages/angular): fix rendering order of child elements (_before_ projected content) * Format package.json * Update docs/guide/packages/angular.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update packages/angular/MIGRATION.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Eric Fennis <eric.fennis@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
144 lines
3.3 KiB
TypeScript
144 lines
3.3 KiB
TypeScript
import { DefaultTheme, UserConfig } from 'vitepress';
|
|
|
|
const sidebar: UserConfig<DefaultTheme.Config>['themeConfig']['sidebar'] = {
|
|
guide: [
|
|
{
|
|
text: 'Introduction',
|
|
items: [
|
|
{ text: 'What is lucide?', link: '/guide/' },
|
|
{ text: 'Installation', link: '/guide/installation' },
|
|
{ text: 'Comparison', link: '/guide/comparison' },
|
|
],
|
|
},
|
|
{
|
|
text: 'Basics',
|
|
items: [
|
|
{
|
|
text: 'Color',
|
|
link: '/guide/basics/color',
|
|
},
|
|
{
|
|
text: 'Sizing',
|
|
link: '/guide/basics/sizing',
|
|
},
|
|
{
|
|
text: 'Stroke width',
|
|
link: '/guide/basics/stroke-width',
|
|
},
|
|
],
|
|
},
|
|
// TODO: Add this section
|
|
{
|
|
text: 'Advanced',
|
|
items: [
|
|
{
|
|
text: 'Accessibility',
|
|
link: '/guide/advanced/accessibility',
|
|
},
|
|
{
|
|
text: 'Global styling',
|
|
link: '/guide/advanced/global-styling',
|
|
},
|
|
// {
|
|
// text: 'Animations',
|
|
// },
|
|
{
|
|
text: 'Filled icons',
|
|
link: '/guide/advanced/filled-icons',
|
|
},
|
|
{
|
|
text: 'Aliased Names',
|
|
link: '/guide/advanced/aliased-names',
|
|
},
|
|
// {
|
|
// text: 'Combining icons',
|
|
// },
|
|
// {
|
|
// text: 'Dynamic imports'
|
|
// },
|
|
// {
|
|
// text: 'Auto importing'
|
|
// },
|
|
],
|
|
},
|
|
{
|
|
text: 'Packages',
|
|
items: [
|
|
{
|
|
text: 'Lucide',
|
|
link: '/guide/packages/lucide',
|
|
},
|
|
{
|
|
text: 'React',
|
|
link: '/guide/packages/lucide-react',
|
|
},
|
|
{
|
|
text: 'Vue',
|
|
link: '/guide/packages/lucide-vue',
|
|
},
|
|
{
|
|
text: 'Svelte',
|
|
link: '/guide/packages/lucide-svelte',
|
|
},
|
|
{
|
|
text: 'Solid',
|
|
link: '/guide/packages/lucide-solid',
|
|
},
|
|
{
|
|
text: 'React Native',
|
|
link: '/guide/packages/lucide-react-native',
|
|
},
|
|
{
|
|
text: 'Angular',
|
|
link: '/guide/packages/angular',
|
|
},
|
|
{
|
|
text: 'Preact',
|
|
link: '/guide/packages/lucide-preact',
|
|
},
|
|
{
|
|
text: 'Astro',
|
|
link: '/guide/packages/lucide-astro',
|
|
},
|
|
{
|
|
text: 'Static',
|
|
link: '/guide/packages/lucide-static',
|
|
},
|
|
{
|
|
text: 'Icon data & helpers',
|
|
link: '/guide/packages/icons',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
text: 'Contributing',
|
|
items: [
|
|
{
|
|
text: 'Icon Design Principles',
|
|
link: '/guide/design/icon-design-guide',
|
|
},
|
|
{
|
|
text: 'Designing in Illustrator',
|
|
link: '/guide/design/illustrator-guide',
|
|
},
|
|
{
|
|
text: 'Designing in InkScape',
|
|
link: '/guide/design/inkscape-guide',
|
|
},
|
|
{
|
|
text: 'Designing in Figma',
|
|
link: '/guide/design/figma-guide',
|
|
},
|
|
{
|
|
text: 'Designing in Affinity Designer',
|
|
link: '/guide/design/affinity-designer-guide',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
// This should be here to keep the sidebar shown on the icons page
|
|
icons: [{ text: '', link: '/' }],
|
|
};
|
|
|
|
export default sidebar;
|