@salesforce/ui-bundle-template-feature-react-authentication 12.12.1 → 12.14.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 +16 -0
- package/dist/force-app/main/default/uiBundles/feature-react-authentication/eslint.config.js +8 -12
- package/dist/force-app/main/default/uiBundles/feature-react-authentication/package.json +5 -5
- package/dist/force-app/main/default/uiBundles/feature-react-authentication/src/components/ui/button.tsx +1 -1
- package/dist/force-app/main/default/uiBundles/feature-react-authentication/src/components/ui/sonner.tsx +7 -1
- package/dist/package-lock.json +2 -2
- package/dist/package.json +1 -1
- package/package.json +2 -2
package/dist/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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.14.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v12.13.0...v12.14.0) (2026-10-30)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [12.13.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v12.12.1...v12.13.0) (2026-10-27)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [12.12.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v12.12.0...v12.12.1) (2026-10-20)
|
|
7
23
|
|
|
8
24
|
**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
|
|
7
|
-
import
|
|
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:
|
|
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:
|
|
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.
|
|
23
|
-
"@salesforce/ui-bundle": "^12.
|
|
22
|
+
"@salesforce/platform-sdk": "^12.14.0",
|
|
23
|
+
"@salesforce/ui-bundle": "^12.14.0",
|
|
24
24
|
"@tailwindcss/vite": "^4.1.17",
|
|
25
25
|
"class-variance-authority": "^0.7.1",
|
|
26
26
|
"clsx": "^2.1.1",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"@graphql-eslint/eslint-plugin": "^4.1.0",
|
|
48
48
|
"@graphql-tools/utils": "^11.0.0",
|
|
49
49
|
"@playwright/test": "^1.49.0",
|
|
50
|
-
"@salesforce/graphiti": "^12.
|
|
51
|
-
"@salesforce/vite-plugin-ui-bundle": "^12.
|
|
50
|
+
"@salesforce/graphiti": "^12.14.0",
|
|
51
|
+
"@salesforce/vite-plugin-ui-bundle": "^12.14.0",
|
|
52
52
|
"@testing-library/jest-dom": "^6.6.3",
|
|
53
53
|
"@testing-library/react": "^16.1.0",
|
|
54
54
|
"@testing-library/user-event": "^14.5.2",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"patch-package": "^8.0.1",
|
|
69
69
|
"serve": "^14.2.5",
|
|
70
70
|
"typescript": "~5.9.3",
|
|
71
|
-
"typescript-eslint": "^8.
|
|
71
|
+
"typescript-eslint": "^8.71.2",
|
|
72
72
|
"vite": "^7.2.4",
|
|
73
73
|
"vite-plugin-graphql-codegen": "^3.6.3",
|
|
74
74
|
"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
|
|
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';
|
package/dist/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/ui-bundle-template-base-sfdx-project",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.14.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.
|
|
9
|
+
"version": "12.14.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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/ui-bundle-template-feature-react-authentication",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.14.0",
|
|
4
4
|
"description": "Authentication feature for UI Bundles",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"author": "",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"clean": "rm -rf dist"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@salesforce/ui-bundle": "^12.
|
|
19
|
+
"@salesforce/ui-bundle": "^12.14.0",
|
|
20
20
|
"@tanstack/react-form": "^1.27.7",
|
|
21
21
|
"@types/react": "^19.2.7",
|
|
22
22
|
"@types/react-dom": "^19.2.3",
|