Lucide-py

Latest version: v0.1.1

Safety actively analyzes 682416 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 20 of 76

0.263.0

Modified Icons

- `pencil-ruler` (1442) by danielbayley
- `ruler` (1442) by danielbayley%0A

0.262.0

Lucide React Updates (`dynamicIconImports`)

Due to startup problems with build engines like ESBuild (e.g. Remix and Vite). We move to a different way of importing the `dynamicIconImports`. It's now in a separate entry module so compilers won't compile all dynamic imports when loading lucide-react. See 1437

0.261.0

New icons 🎨
- `antenna` (1341) by danielbayley
- `cable` (1341) by danielbayley
- `computer` (1269) by danielbayley
- `hard-drive-download` (1318) by danielbayley
- `hard-drive-upload` (1318) by danielbayley
- `hdmi-port` (1341) by danielbayley
- `ratio` (1341) by danielbayley
- `scissors-line-dashed` (1266) by danielbayley
- `scissors-square-dashed-bottom` (1266) by danielbayley
- `scissors-square` (1266) by danielbayley
- `shopping-basket` (1430) by danielbayley
- `triangle-right` (1341) by danielbayley
- `boom-box` (1249) by danielbayley

Modified Icons 🔨

- `scissors` (1266) by danielbayley
- `shopping-bag` (1430) by danielbayley

0.260.0

Lucide React Update

Improves Typescript types
Improves Typescript types export by switching to [rollup-plugin-dts](https://github.com/Swatinem/rollup-plugin-dts) for types generation.

Closes 1420 and 1373

Added JS Docs
When hovering (in an IDE that supports it) over a Lucide component you get a JSDoc comment with useful information about the Lucide Icons component. It also shows a small preview of the icons you imported with the link to the lucide website.
<img width="635" alt="image" src="https://github.com/lucide-icons/lucide/assets/11825403/20b62886-4552-4f09-905b-a8a1a5fab066">

Dynamic Imports Map (experimental)

Addition to 1373 (closed).

Lucide react now exposes a dynamic import map `dynamicIconImports`. Useful for applications that want to show icons dynamically by icon name. For example when using a content management system with where icon names are stored in a database.

More info in [docs](https://lucide.dev/guide/packages/lucide-react#with-dynamic-imports)

Example component with NextJS:

tsx
import dynamic from 'next/dynamic'
import { dynamicIconImports, LucideProps } from 'lucide-react';

interface IconProps extends LucideProps {
name: keyof typeof dynamicIconImports;
}

const Icon = ({ name, color, size }: IconProps) => {
const LucideIcon = dynamic(dynamicIconImports[name])

return <LucideIcon color={color} size={size} />;
};

export default Icon;


Using the Icon Component

These features will be added later to other packages.

tsx
import Icon from './Icon';

const App = () => {
return <Icon name="home" />;
};

export default App;


New icons 🎨
- `gauge-circle` (1256) by danielbayley

Modified Icons 🔨

- `minus-circle` (1381) by danielbayley
- `minus-square` (1381) by danielbayley
- `minus` (1381) by danielbayley
- `plus-circle` (1381) by danielbayley
- `plus-square` (1381) by danielbayley
- `plus` (1381) by danielbayley
- `square` (1381) by danielbayley

0.259.0

New icons 🎨
- `chevron-down-circle` (1355) by danielbayley
- `chevron-left-circle` (1355) by danielbayley
- `chevron-right-circle` (1355) by danielbayley
- `chevron-up-circle` (1355) by danielbayley

Optimized Icons 🔨
- `chevron-down-square` (1355) by danielbayley
- `chevron-down` (1355) by danielbayley
- `chevron-first` (1355) by danielbayley
- `chevron-last` (1355) by danielbayley
- `chevron-left-square` (1355) by danielbayley
- `chevron-left` (1355) by danielbayley
- `chevron-right-square` (1355) by danielbayley
- `chevron-right` (1355) by danielbayley
- `chevron-up-square` (1355) by danielbayley
- `chevron-up` (1355) by danielbayley
- `chevrons-down` (1355) by danielbayley
- `chevrons-left` (1355) by danielbayley
- `chevrons-right` (1355) by danielbayley
- `chevrons-up` (1355) by danielbayley

0.258.0

New icons 🎨
- `kanban` (1405) by danielbayley

Page 20 of 76

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.