@platned/ui 0.6.0 → 0.7.0

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/README.md CHANGED
@@ -14,10 +14,10 @@ Peer dependencies:
14
14
  | Package | Range | Required |
15
15
  |---|---|---|
16
16
  | `react`, `react-dom` | `>=18` | yes |
17
- | `react-icons` | `>=5.4.0` | yes — components render Lucide glyphs from `react-icons/lu` |
17
+ | `lucide-react` | `>=1.0.0` | yes — components render Lucide glyphs |
18
18
  | `react-router-dom` | `>=6` | **optional** — only for the `./sidebar` entry point |
19
19
 
20
- `clsx`, `tailwind-merge`, `@floating-ui/react` and `tabbable` are regular dependencies, not
20
+ `radix-ui`, `@tanstack/react-table`, `clsx` and `tailwind-merge` are regular dependencies, not
21
21
  peers. They are implementation details.
22
22
 
23
23
  ## Usage
@@ -72,17 +72,17 @@ const [collapsed, setCollapsed] = useState(false)
72
72
  <AppSidebar
73
73
  groups={[
74
74
  { items: [
75
- { to: '/dashboard', label: 'Dashboard', icon: <LuLayoutGrid />, end: true },
76
- { to: '/entities', label: 'Entities', icon: <LuLayers />, indicator: true },
75
+ { to: '/dashboard', label: 'Dashboard', icon: <LayoutGridIcon />, end: true },
76
+ { to: '/entities', label: 'Entities', icon: <LayersIcon />, indicator: true },
77
77
  ] },
78
78
  { title: 'Review', items: [
79
- { to: '/queue', label: 'Review queue', icon: <LuClipboardList /> },
79
+ { to: '/queue', label: 'Review queue', icon: <ClipboardListIcon /> },
80
80
  ] },
81
81
  ]}
82
82
  collapsed={collapsed}
83
83
  onToggle={() => setCollapsed(c => !c)}
84
84
  brand={({ collapsed }) => (collapsed ? <Mark /> : <Logo />)}
85
- footerNav={[{ to: '/settings', label: 'Settings', icon: <LuSettings /> }]}
85
+ footerNav={[{ to: '/settings', label: 'Settings', icon: <SettingsIcon /> }]}
86
86
  footer={
87
87
  <SidebarUserCard name={user.name} role={user.role} collapsed={collapsed} onLogout={signOut} />
88
88
  }
@@ -132,7 +132,7 @@ and cell parts, `Table` and parts, `ListRow`, `FileRow`, `ScoredRow`, `NumberedL
132
132
 
133
133
  **AI & decorative** — `AIChatBar`, `AISuggestionChip`, `QuickActionsBar`, `AuroraBackdrop`
134
134
 
135
- Icons are **not** re-exported. Import them from `react-icons/lu` at the call site.
135
+ Icons are **not** re-exported. Import them from `lucide-react` at the call site.
136
136
 
137
137
  ## Documentation
138
138