@contact_incruiter/fcc 1.0.5 → 1.0.6
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/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +602 -541
- package/dist/index.js.map +1 -1
- package/dist/shared/InCruiterSidebar.d.ts +8 -0
- package/package.json +2 -2
|
@@ -45,4 +45,12 @@ export interface InCruiterSidebarProps {
|
|
|
45
45
|
onToggleCollapse?: (collapsed: boolean) => void;
|
|
46
46
|
children?: ReactNode;
|
|
47
47
|
}
|
|
48
|
+
export interface SidebarSubItemProps {
|
|
49
|
+
name: string;
|
|
50
|
+
/** URL to product icon image — shows initial-letter fallback if absent */
|
|
51
|
+
icon?: string;
|
|
52
|
+
active: boolean;
|
|
53
|
+
onClick: () => void;
|
|
54
|
+
}
|
|
55
|
+
export declare function SidebarSubItem({ name, icon, active, onClick }: SidebarSubItemProps): import("react/jsx-runtime").JSX.Element;
|
|
48
56
|
export declare function InCruiterSidebar({ logoSrc, user, navItems, otherItems, profileItems, activeHref, onNavigate, collapsed: collapsedProp, onToggleCollapse, children, }: InCruiterSidebarProps): import("react/jsx-runtime").JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contact_incruiter/fcc",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "InCruiter Front-end Component Collection — reusable React components for InCruiter products",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"dist"
|
|
19
19
|
],
|
|
20
20
|
"publishConfig": {
|
|
21
|
-
"access": "
|
|
21
|
+
"access": "public"
|
|
22
22
|
},
|
|
23
23
|
"scripts": {
|
|
24
24
|
"dev": "vite",
|