izen-react-starter 2.7.15 → 2.7.17

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.
Files changed (2) hide show
  1. package/README.md +3 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -4,12 +4,9 @@ A modern React component library built with Vite, TypeScript, and best practices
4
4
 
5
5
  ## Changelog
6
6
 
7
- - **2026-01-17**:
8
- - **Tailwind CSS as peer dependency**: Library no longer bundles Tailwind. Consuming projects must install `tailwindcss` separately, reducing bundle size.
9
- - **Exported `tailwindConfig`**: Can now import the library's default Tailwind config: `import { tailwindConfig } from 'izen-react-starter'`.
10
- - **Custom sidebar support**: Added `customSidebar` and `useCustomSidebar` props to `DashboardLayout` for rendering custom sidebar components.
11
- - **2026-01-12**: Added `publicResources` prop to `RBACConfig` for guest access without authentication. Added `DashboardLayout` component with integrated `AppSidebar`, header, and overlay support. Sidebar supports `collapsible: 'icon'` for desktop toggle and `'offcanvas'` for mobile sheet behavior.
12
- - **2026-01-02**: `BrowserRouter` removed from inside `AppProvider`. Consumers must wrap `AppProvider` in their own router at the app root.
7
+ - 2026-01-17: **Tailwind CSS now configured as peer dependency** - The library no longer bundles Tailwind. Consuming projects must install `tailwindcss` themselves. This reduces bundle size and allows projects to use their own Tailwind configuration. Added `customSidebar` and `useCustomSidebar` props to `DashboardLayout` for custom sidebar support.
8
+ - 2026-01-12: Added `publicResources` prop to `RBACConfig` for defining resources accessible without authentication. The `useAccessControl` hook now checks `publicResources` first, allowing guest access to specified resources. Added `DashboardLayout` component with integrated `AppSidebar`, header, and overlay support. Sidebar now supports `collapsible: 'icon'` for desktop toggle and `'offcanvas'` for mobile sheet behavior. Updated `ApiService` interface to include `setTokenGetter` method for token management.
9
+ - 2026-01-02: `BrowserRouter` removed from inside `AppProvider`. Consumers must wrap `AppProvider` (and any `react-router-dom` usage) in their own router at the app root.
13
10
 
14
11
  ## Features
15
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "izen-react-starter",
3
- "version": "2.7.15",
3
+ "version": "2.7.17",
4
4
  "description": "A React component library with UI components, layout context, and data fetching",
5
5
  "type": "module",
6
6
  "main": "./dist/react-starter.umd.cjs",