@salesforce/webapp-template-app-react-template-b2x-experimental 1.67.1 → 1.68.1
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/webapplications/appreacttemplateb2x/package.json +4 -4
- package/dist/force-app/main/default/webapplications/appreacttemplateb2x/src/auth/hooks/form.tsx +4 -5
- package/dist/force-app/main/default/webapplications/appreacttemplateb2x/src/auth/layout/centered-page-layout.tsx +1 -2
- package/dist/force-app/main/default/webapplications/appreacttemplateb2x/src/hooks/form.tsx +16 -20
- package/dist/package.json +1 -1
- package/package.json +1 -1
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
|
+
## [1.68.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.68.0...v1.68.1) (2026-03-04)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [1.68.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.67.1...v1.68.0) (2026-03-04)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [1.67.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.67.0...v1.67.1) (2026-03-04)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
"graphql:schema": "node scripts/get-graphql-schema.mjs"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@salesforce/sdk-data": "^1.
|
|
19
|
-
"@salesforce/webapp-experimental": "^1.
|
|
18
|
+
"@salesforce/sdk-data": "^1.68.1",
|
|
19
|
+
"@salesforce/webapp-experimental": "^1.68.1",
|
|
20
20
|
"@tailwindcss/vite": "^4.1.17",
|
|
21
|
-
"@tanstack/react-form": "^1.28.
|
|
21
|
+
"@tanstack/react-form": "^1.28.4",
|
|
22
22
|
"class-variance-authority": "^0.7.1",
|
|
23
23
|
"clsx": "^2.1.1",
|
|
24
24
|
"lucide-react": "^0.562.0",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@graphql-eslint/eslint-plugin": "^4.1.0",
|
|
41
41
|
"@graphql-tools/utils": "^11.0.0",
|
|
42
42
|
"@playwright/test": "^1.49.0",
|
|
43
|
-
"@salesforce/vite-plugin-webapp-experimental": "^1.
|
|
43
|
+
"@salesforce/vite-plugin-webapp-experimental": "^1.68.1",
|
|
44
44
|
"@testing-library/jest-dom": "^6.6.3",
|
|
45
45
|
"@testing-library/react": "^16.1.0",
|
|
46
46
|
"@testing-library/user-event": "^14.5.2",
|
package/dist/force-app/main/default/webapplications/appreacttemplateb2x/src/auth/hooks/form.tsx
CHANGED
|
@@ -18,11 +18,10 @@ export const { fieldContext, formContext, useFieldContext, useFormContext } =
|
|
|
18
18
|
// Field Components
|
|
19
19
|
// ============================================================================
|
|
20
20
|
|
|
21
|
-
interface TextFieldProps
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
> {
|
|
21
|
+
interface TextFieldProps extends Omit<
|
|
22
|
+
React.ComponentProps<typeof Input>,
|
|
23
|
+
"name" | "value" | "onBlur" | "onChange" | "aria-invalid"
|
|
24
|
+
> {
|
|
26
25
|
label: string;
|
|
27
26
|
labelAction?: React.ReactNode;
|
|
28
27
|
description?: React.ReactNode;
|
|
@@ -22,8 +22,7 @@ const contentContainerVariants = cva("w-full", {
|
|
|
22
22
|
* Props for the CenteredPageLayout component.
|
|
23
23
|
*/
|
|
24
24
|
interface CenteredPageLayoutProps
|
|
25
|
-
extends React.ComponentProps<"div">,
|
|
26
|
-
VariantProps<typeof contentContainerVariants> {
|
|
25
|
+
extends React.ComponentProps<"div">, VariantProps<typeof contentContainerVariants> {
|
|
27
26
|
/** The content to be displayed within the page layout */
|
|
28
27
|
children: React.ReactNode;
|
|
29
28
|
/**
|
|
@@ -19,11 +19,10 @@ export { validateRangeValues } from "../utils/formUtils";
|
|
|
19
19
|
export const { fieldContext, formContext, useFieldContext, useFormContext } =
|
|
20
20
|
createFormHookContexts();
|
|
21
21
|
|
|
22
|
-
interface FilterTextFieldProps
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
> {
|
|
22
|
+
interface FilterTextFieldProps extends Omit<
|
|
23
|
+
React.ComponentProps<typeof Input>,
|
|
24
|
+
"name" | "value" | "onBlur" | "onChange" | "aria-invalid"
|
|
25
|
+
> {
|
|
27
26
|
label: string;
|
|
28
27
|
description?: React.ReactNode;
|
|
29
28
|
placeholder?: string;
|
|
@@ -119,11 +118,10 @@ function FilterSelectField({
|
|
|
119
118
|
);
|
|
120
119
|
}
|
|
121
120
|
|
|
122
|
-
interface FilterRangeFieldProps
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
> {
|
|
121
|
+
interface FilterRangeFieldProps extends Omit<
|
|
122
|
+
React.ComponentProps<typeof Input>,
|
|
123
|
+
"name" | "value" | "onBlur" | "onChange" | "aria-invalid"
|
|
124
|
+
> {
|
|
127
125
|
label?: string;
|
|
128
126
|
description?: React.ReactNode;
|
|
129
127
|
placeholder?: string;
|
|
@@ -167,21 +165,19 @@ function FilterRangeFieldBase({
|
|
|
167
165
|
);
|
|
168
166
|
}
|
|
169
167
|
|
|
170
|
-
interface FilterRangeMinFieldProps
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
> {
|
|
168
|
+
interface FilterRangeMinFieldProps extends Omit<
|
|
169
|
+
React.ComponentProps<typeof Input>,
|
|
170
|
+
"name" | "value" | "onBlur" | "onChange" | "aria-invalid"
|
|
171
|
+
> {
|
|
175
172
|
label?: string;
|
|
176
173
|
description?: React.ReactNode;
|
|
177
174
|
placeholder?: string;
|
|
178
175
|
}
|
|
179
176
|
|
|
180
|
-
interface FilterRangeMaxFieldProps
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
> {
|
|
177
|
+
interface FilterRangeMaxFieldProps extends Omit<
|
|
178
|
+
React.ComponentProps<typeof Input>,
|
|
179
|
+
"name" | "value" | "onBlur" | "onChange" | "aria-invalid"
|
|
180
|
+
> {
|
|
185
181
|
label?: string;
|
|
186
182
|
description?: React.ReactNode;
|
|
187
183
|
placeholder?: string;
|
package/dist/package.json
CHANGED