@salesforce/ui-bundle-template-feature-react-customer-web-client-chat 12.12.1 → 12.13.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/dist/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [12.13.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v12.12.1...v12.13.0) (2026-10-27)
7
+
8
+ **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
9
+
10
+
11
+
12
+
13
+
6
14
  ## [12.12.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v12.12.0...v12.12.1) (2026-10-20)
7
15
 
8
16
  **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
@@ -3,8 +3,8 @@ import { resolve } from 'node:path';
3
3
  import { fileURLToPath } from 'node:url';
4
4
  import { dirname } from 'node:path';
5
5
  import js from '@eslint/js';
6
- import tseslint from '@typescript-eslint/eslint-plugin';
7
- import tsparser from '@typescript-eslint/parser';
6
+ import { defineConfig } from 'eslint/config';
7
+ import tseslint from 'typescript-eslint';
8
8
  import react from 'eslint-plugin-react';
9
9
  import reactHooks from 'eslint-plugin-react-hooks';
10
10
  import reactRefresh from 'eslint-plugin-react-refresh';
@@ -15,7 +15,7 @@ const __dirname = dirname(fileURLToPath(import.meta.url));
15
15
  const schemaPath = resolve(__dirname, '../../../../../schema.graphql');
16
16
  const schemaExists = existsSync(schemaPath);
17
17
 
18
- const config = [
18
+ const config = defineConfig([
19
19
  // Global ignores
20
20
  {
21
21
  ignores: [
@@ -29,7 +29,7 @@ const config = [
29
29
  {
30
30
  files: ['*.config.{js,ts}', 'vite.config.ts'],
31
31
  languageOptions: {
32
- parser: tsparser,
32
+ parser: tseslint.parser,
33
33
  parserOptions: {
34
34
  ecmaVersion: 'latest',
35
35
  sourceType: 'module',
@@ -41,7 +41,7 @@ const config = [
41
41
  },
42
42
  },
43
43
  plugins: {
44
- '@typescript-eslint': tseslint,
44
+ '@typescript-eslint': tseslint.plugin,
45
45
  },
46
46
  rules: {
47
47
  '@typescript-eslint/no-var-requires': 'off',
@@ -50,6 +50,7 @@ const config = [
50
50
  // Main TypeScript/React files
51
51
  {
52
52
  files: ['**/*.{ts,tsx}'],
53
+ extends: [js.configs.recommended, tseslint.configs.recommended],
53
54
  ignores: [
54
55
  'coverage',
55
56
  'dist',
@@ -61,14 +62,12 @@ const config = [
61
62
  languageOptions: {
62
63
  ecmaVersion: 2020,
63
64
  sourceType: 'module',
64
- parser: tsparser,
65
65
  parserOptions: {
66
66
  ecmaFeatures: {
67
67
  jsx: true,
68
68
  },
69
69
  ecmaVersion: 'latest',
70
70
  sourceType: 'module',
71
- project: './tsconfig.json',
72
71
  },
73
72
  globals: {
74
73
  ...globals.browser,
@@ -81,11 +80,8 @@ const config = [
81
80
  react,
82
81
  'react-hooks': reactHooks,
83
82
  'react-refresh': reactRefresh,
84
- '@typescript-eslint': tseslint,
85
83
  },
86
84
  rules: {
87
- ...js.configs.recommended.rules,
88
- ...tseslint.configs.recommended.rules,
89
85
  ...react.configs.recommended.rules,
90
86
  ...reactHooks.configs.recommended.rules,
91
87
  'react/react-in-jsx-scope': 'off',
@@ -120,7 +116,7 @@ const config = [
120
116
  'src/test/**/*.{ts,tsx}',
121
117
  ],
122
118
  languageOptions: {
123
- parser: tsparser,
119
+ parser: tseslint.parser,
124
120
  globals: {
125
121
  ...globals.browser,
126
122
  ...globals.node,
@@ -132,7 +128,7 @@ const config = [
132
128
  '@typescript-eslint/no-explicit-any': 'off',
133
129
  },
134
130
  },
135
- ];
131
+ ]);
136
132
 
137
133
  // Only add GraphQL rules when schema exists (e.g. after graphql:schema).
138
134
  // In CI or when schema is not checked in, skip so lint succeeds.
@@ -19,8 +19,8 @@
19
19
  "graphql:schema": "node scripts/get-graphql-schema.mjs"
20
20
  },
21
21
  "dependencies": {
22
- "@salesforce/platform-sdk": "^12.12.1",
23
- "@salesforce/ui-bundle": "^12.12.1",
22
+ "@salesforce/platform-sdk": "^12.13.0",
23
+ "@salesforce/ui-bundle": "^12.13.0",
24
24
  "@tailwindcss/vite": "^4.1.17",
25
25
  "class-variance-authority": "^0.7.1",
26
26
  "clsx": "^2.1.1",
@@ -45,8 +45,8 @@
45
45
  "@graphql-eslint/eslint-plugin": "^4.1.0",
46
46
  "@graphql-tools/utils": "^11.0.0",
47
47
  "@playwright/test": "^1.49.0",
48
- "@salesforce/graphiti": "^12.12.1",
49
- "@salesforce/vite-plugin-ui-bundle": "^12.12.1",
48
+ "@salesforce/graphiti": "^12.13.0",
49
+ "@salesforce/vite-plugin-ui-bundle": "^12.13.0",
50
50
  "@testing-library/jest-dom": "^6.6.3",
51
51
  "@testing-library/react": "^16.1.0",
52
52
  "@testing-library/user-event": "^14.5.2",
@@ -66,7 +66,7 @@
66
66
  "patch-package": "^8.0.1",
67
67
  "serve": "^14.2.5",
68
68
  "typescript": "~5.9.3",
69
- "typescript-eslint": "^8.46.4",
69
+ "typescript-eslint": "^8.71.2",
70
70
  "vite": "^7.2.4",
71
71
  "vite-plugin-graphql-codegen": "^3.6.3",
72
72
  "vitest": "^4.1.11"
@@ -17,7 +17,7 @@ const buttonVariants = cva(
17
17
  ghost:
18
18
  'hover:bg-muted hover:text-foreground dark:hover:bg-muted/50 aria-expanded:bg-muted aria-expanded:text-foreground',
19
19
  destructive:
20
- 'bg-destructive/10 hover:bg-destructive/20 dark:bg-destructive/20 text-red-700 dark:text-destructive dark:hover:bg-destructive/30',
20
+ 'bg-destructive/10 hover:bg-destructive/20 hover:text-red-800 dark:bg-destructive/20 text-red-700 dark:text-destructive dark:hover:bg-destructive/30',
21
21
  link: 'text-primary underline-offset-4 hover:underline',
22
22
  },
23
23
  size: {
@@ -14,7 +14,13 @@ import { Toaster as Sonner } from 'sonner';
14
14
  * toast.warning("Please review");
15
15
  */
16
16
  export function Toaster() {
17
- return <Sonner position="top-right" richColors />;
17
+ return (
18
+ <Sonner
19
+ className="![--success-text:#166534] dark:![--success-text:hsl(150_86%_65%)]"
20
+ position="top-right"
21
+ richColors
22
+ />
23
+ );
18
24
  }
19
25
 
20
26
  export { toast } from 'sonner';
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@salesforce/ui-bundle-template-base-sfdx-project",
3
- "version": "12.12.1",
3
+ "version": "12.13.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@salesforce/ui-bundle-template-base-sfdx-project",
9
- "version": "12.12.1",
9
+ "version": "12.13.0",
10
10
  "license": "SEE LICENSE IN LICENSE.txt",
11
11
  "dependencies": {
12
12
  "fast-xml-parser": "^5.9.3",
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/ui-bundle-template-base-sfdx-project",
3
- "version": "12.12.1",
3
+ "version": "12.13.0",
4
4
  "description": "Base SFDX project template",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "publishConfig": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/ui-bundle-template-feature-react-customer-web-client-chat",
3
- "version": "12.12.1",
3
+ "version": "12.13.0",
4
4
  "description": "Embedded Customer Web Client (Embedded Messaging) chat feature for UI Bundles",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "",