@brightlocal/icons 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/icons/dynamic-icon.cjs +1 -1
- package/dist/icons/dynamic-icon.d.ts +6 -0
- package/dist/icons/dynamic-icon.d.ts.map +1 -1
- package/dist/icons/dynamic-icon.js +7 -7
- package/dist/icons/icon.cjs +1 -1
- package/dist/icons/icon.d.ts +5 -0
- package/dist/icons/icon.d.ts.map +1 -1
- package/dist/icons/icon.js +9 -7
- package/dist/icons/lucide-exports.cjs +1 -0
- package/dist/icons/lucide-exports.d.ts +10552 -0
- package/dist/icons/lucide-exports.d.ts.map +1 -0
- package/dist/icons/lucide-exports.js +7042 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4278 -765
- package/package.json +9 -2
- package/src/icons/dynamic-icon.tsx +8 -2
- package/src/icons/icon.tsx +8 -1
- package/src/icons/lucide-exports.ts +7074 -0
- package/src/index.ts +7 -3
package/src/index.ts
CHANGED
|
@@ -8,12 +8,16 @@ export type { DynamicIconProps } from "./icons/dynamic-icon.js";
|
|
|
8
8
|
export { iconImports } from "./icons/dynamic-icon-imports.js";
|
|
9
9
|
export type { IconImportName } from "./icons/dynamic-icon-imports.js";
|
|
10
10
|
|
|
11
|
-
// Re-export all Lucide icons
|
|
12
|
-
|
|
11
|
+
// Re-export all Lucide icons with design system defaults (strokeWidth: 1.33)
|
|
12
|
+
// This allows `import { Check, Star } from "@brightlocal/icons"`
|
|
13
|
+
// Also exports the `icons` object for dynamic lookups: `import { icons } from "@brightlocal/icons"`
|
|
14
|
+
export * from "./icons/lucide-exports.js";
|
|
15
|
+
|
|
16
|
+
// Re-export Lucide types for convenience
|
|
17
|
+
export type { LucideIcon, LucideProps, IconNode } from "lucide-react";
|
|
13
18
|
|
|
14
19
|
// Re-export Lucide utilities for creating custom icons
|
|
15
20
|
export { createLucideIcon } from "lucide-react";
|
|
16
|
-
export type { IconNode } from "lucide-react";
|
|
17
21
|
|
|
18
22
|
// Flag icons - Full list available via barrel exports
|
|
19
23
|
// All icons are React SVG components with proper fill colors
|