@kelet-ai/feedback-ui 0.5.1 → 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.
@@ -37,6 +37,12 @@ export interface FeedbackStateOptions<T> {
37
37
  * @default 'auto_state_change'
38
38
  */
39
39
  default_trigger_name?: string;
40
+ /**
41
+ * Whether to ignore transitions from initial null/undefined values to prevent noise
42
+ * from common loading patterns where initial state is null/undefined and then set via XHR
43
+ * @default true
44
+ */
45
+ ignoreInitialNullish?: boolean;
40
46
  }
41
47
  /**
42
48
  * Custom setState function that accepts an optional trigger_name parameter
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kelet-ai/feedback-ui",
3
- "version": "0.5.1",
3
+ "version": "0.7.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/kelet-ai/feedback-ui.git"
@@ -8,48 +8,48 @@
8
8
  "main": "./dist/feedback-ui.umd.js",
9
9
  "module": "./dist/feedback-ui.es.js",
10
10
  "devDependencies": {
11
- "@chromatic-com/storybook": "^4.1.0",
11
+ "@chromatic-com/storybook": "^4.1.1",
12
12
  "@opentelemetry/api": "^1.9.0",
13
- "@radix-ui/react-popover": "^1.1.14",
13
+ "@radix-ui/react-popover": "^1.1.15",
14
14
  "@radix-ui/react-slot": "^1.2.3",
15
- "@storybook/addon-a11y": "^9.1.0",
16
- "@storybook/addon-docs": "^9.1.0",
17
- "@storybook/addon-themes": "^9.1.0",
18
- "@storybook/addon-vitest": "^9.1.0",
19
- "@storybook/builder-vite": "^9.1.0",
20
- "@storybook/react-vite": "^9.1.0",
15
+ "@storybook/addon-a11y": "^9.1.3",
16
+ "@storybook/addon-docs": "^9.1.3",
17
+ "@storybook/addon-themes": "^9.1.3",
18
+ "@storybook/addon-vitest": "^9.1.3",
19
+ "@storybook/builder-vite": "^9.1.3",
20
+ "@storybook/react-vite": "^9.1.3",
21
21
  "@tailwindcss/forms": "^0.5.10",
22
- "@tailwindcss/vite": "^4.1.11",
23
- "@testing-library/jest-dom": "^6.6.4",
22
+ "@tailwindcss/vite": "^4.1.12",
23
+ "@testing-library/jest-dom": "^6.8.0",
24
24
  "@testing-library/react": "^16.3.0",
25
25
  "@testing-library/user-event": "^14.6.1",
26
26
  "@types/bun": "latest",
27
- "@types/node": "^24.1.0",
28
- "@types/react": "^19.1.9",
29
- "@types/react-dom": "^19.1.7",
27
+ "@types/node": "^24.3.0",
28
+ "@types/react": "^19.1.12",
29
+ "@types/react-dom": "^19.1.9",
30
30
  "@vitejs/plugin-react": "^4.7.0",
31
31
  "@vitest/browser": "^3.2.4",
32
32
  "@vitest/coverage-v8": "^3.2.4",
33
33
  "ajv": "^8.17.1",
34
34
  "class-variance-authority": "^0.7.1",
35
35
  "clsx": "^2.1.1",
36
- "eslint": "^9.32.0",
36
+ "eslint": "^9.34.0",
37
37
  "eslint-plugin-react-hooks": "^5.2.0",
38
38
  "eslint-plugin-storybook": "9.1.0",
39
39
  "jsdom": "^26.1.0",
40
40
  "lucide-react": "^0.525.0",
41
- "playwright": "^1.54.2",
41
+ "playwright": "^1.55.0",
42
42
  "prettier": "^3.6.2",
43
43
  "react": "^19.1.1",
44
44
  "react-dom": "^19.1.1",
45
45
  "shadcn": "^2.10.0",
46
- "storybook": "^9.1.0",
46
+ "storybook": "^9.1.3",
47
47
  "tailwind-merge": "^3.3.1",
48
- "tailwindcss": "^4.1.11",
49
- "tw-animate-css": "^1.3.6",
48
+ "tailwindcss": "^4.1.12",
49
+ "tw-animate-css": "^1.3.7",
50
50
  "typescript": "^5.9.2",
51
- "typescript-eslint": "^8.38.0",
52
- "vite": "^7.0.6",
51
+ "typescript-eslint": "^8.41.0",
52
+ "vite": "^7.1.4",
53
53
  "vite-plugin-dts": "^4.5.4",
54
54
  "vitest": "^3.2.4"
55
55
  },
@@ -78,7 +78,7 @@
78
78
  "require": "./dist/feedback-ui.umd.min.js"
79
79
  }
80
80
  },
81
- "description": "A React component library for feedback UI components",
81
+ "description": "A headless React component library for collecting explicit and implicit user feedback, with automatic state change tracking",
82
82
  "files": [
83
83
  "dist"
84
84
  ],