@ews-admin/global-design-system 1.1.25 → 1.1.26

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ews-admin/global-design-system",
3
- "version": "1.1.25",
3
+ "version": "1.1.26",
4
4
  "description": "EWS Global Design System - Reusable components for EWS applications",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -1,5 +1,6 @@
1
1
  import { LucideProps } from "lucide-react";
2
2
  import React from "react";
3
+ import { cn } from "../utils";
3
4
 
4
5
  export interface IconProps extends Omit<LucideProps, "size"> {
5
6
  /**
@@ -47,7 +48,7 @@ const Icon = React.forwardRef<SVGSVGElement, IconProps>(
47
48
  <IconComponent
48
49
  ref={ref}
49
50
  size={iconSize}
50
- className={className}
51
+ className={cn("shrink-0", className)}
51
52
  {...props}
52
53
  />
53
54
  );
@@ -1,42 +1,7 @@
1
- // Re-export commonly used Lucide icons
2
- export {
3
- ArrowRight,
4
- Bell,
5
- Building,
6
- Calendar,
7
- Check,
8
- ChevronDown,
9
- ChevronLeft,
10
- ChevronRight,
11
- ChevronUp,
12
- Clock,
13
- Download,
14
- Edit,
15
- Eye,
16
- EyeOff,
17
- Filter,
18
- Heart,
19
- Home,
20
- Lock,
21
- Mail,
22
- MapPin,
23
- Menu,
24
- Minus,
25
- Phone,
26
- Plus,
27
- Search,
28
- Settings,
29
- Share,
30
- Star,
31
- Trash2,
32
- Unlock,
33
- Upload,
34
- User,
35
- X,
36
- type LucideProps,
37
- } from "lucide-react";
1
+ // Re-export all Lucide icons
2
+ export * from "lucide-react";
38
3
 
39
- // Keep our custom Icon component for backward compatibility
4
+ // Custom Icon wrapper component (overrides lucide's Icon if any naming conflict)
40
5
  export { Icon } from "./Icon";
41
6
  export type { IconProps, SimpleIconProps } from "./Icon";
42
7
 
package/src/index.ts CHANGED
@@ -35,16 +35,8 @@ export type { ThemeDebuggerProps } from "./components/ThemeDebugger";
35
35
  export { SpecialtySearchAutocomplete } from "./molecules";
36
36
  export type { Specialty, SpecialtySearchAutocompleteProps } from "./molecules";
37
37
 
38
- // Icons
39
- export {
40
- ArrowRight,
41
- Check,
42
- DoctorIcon,
43
- Icon,
44
- PatientIcon,
45
- Search,
46
- UserIcon,
47
- } from "./icons";
38
+ // Icons - re-exports all lucide-react icons + custom EWS icons
39
+ export * from "./icons";
48
40
  export type { IconProps, SimpleIconProps } from "./icons";
49
41
 
50
42
  // Utils