@attabot/complaint-app 1.0.3 → 1.0.5

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/dist/index.d.ts +3 -0
  2. package/package.json +3 -2
package/dist/index.d.ts CHANGED
@@ -36,6 +36,7 @@ export interface ComplaintAppProps {
36
36
  createLabel?: string;
37
37
  onCreateForm?: () => void;
38
38
  onConfigure?: (system: SystemItem) => void;
39
+ onOpen?: (system: Pick<SystemItem, 'id' | 'title'>) => void;
39
40
  onTitleClick?: (system: Pick<SystemItem, 'id' | 'title'>) => void;
40
41
  onDescriptionClick?: (payload: {
41
42
  id?: string | number;
@@ -178,6 +179,7 @@ export declare function SearchBar(props: {
178
179
 
179
180
  export declare function SystemCard(props: SystemItem & {
180
181
  onConfigure?: (system: SystemItem) => void;
182
+ onOpen?: (system: Pick<SystemItem, 'id' | 'title'>) => void;
181
183
  onTitleClick?: (system: Pick<SystemItem, 'id' | 'title'>) => void;
182
184
  onDescriptionClick?: (payload: {
183
185
  id?: string | number;
@@ -198,6 +200,7 @@ export declare function PageHeader(props: {
198
200
  export declare function SystemCardGrid(props: {
199
201
  systems?: SystemItem[];
200
202
  onConfigure?: (system: SystemItem) => void;
203
+ onOpen?: (system: Pick<SystemItem, 'id' | 'title'>) => void;
201
204
  onTitleClick?: (system: Pick<SystemItem, 'id' | 'title'>) => void;
202
205
  onDescriptionClick?: (payload: {
203
206
  id?: string | number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@attabot/complaint-app",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "Complaint Management UI package — atomic React components that run on the parent app's auth and API",
5
5
  "type": "module",
6
6
  "main": "./dist/complaint-app.umd.js",
@@ -42,11 +42,12 @@
42
42
  "dependencies": {
43
43
  "axios": "^1.13.2",
44
44
  "js-cookie": "^3.0.5",
45
+ "lucide-react": "^1.32.0",
45
46
  "react-router-dom": "^6.30.2"
46
47
  },
47
48
  "devDependencies": {
48
- "@reduxjs/toolkit": "^2.8.2",
49
49
  "@eslint/js": "^9.39.1",
50
+ "@reduxjs/toolkit": "^2.8.2",
50
51
  "@types/react": "^19.2.5",
51
52
  "@types/react-dom": "^19.2.3",
52
53
  "@vitejs/plugin-react": "^5.1.1",