@salesforce/ui-bundle-template-app-react-template-b2x 11.8.4 → 11.10.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/reactexternalapp/package.json +4 -4
- package/dist/force-app/main/default/uiBundles/reactexternalapp/src/features/object-search/components/filters/FilterFieldWrapper.tsx +6 -1
- package/dist/force-app/main/default/uiBundles/reactexternalapp/src/features/object-search/components/filters/NumericRangeFilter.tsx +5 -1
- package/dist/package-lock.json +2 -2
- 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
|
+
## [11.10.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v11.9.0...v11.10.0) (2026-07-07)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [11.9.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v11.8.4...v11.9.0) (2026-07-07)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [11.8.4](https://github.com/salesforce-experience-platform-emu/webapps/compare/v11.8.3...v11.8.4) (2026-07-07)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"graphql:schema": "node scripts/get-graphql-schema.mjs"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@salesforce/platform-sdk": "^11.
|
|
22
|
-
"@salesforce/ui-bundle": "^11.
|
|
21
|
+
"@salesforce/platform-sdk": "^11.10.0",
|
|
22
|
+
"@salesforce/ui-bundle": "^11.10.0",
|
|
23
23
|
"@tailwindcss/vite": "^4.1.17",
|
|
24
24
|
"class-variance-authority": "^0.7.1",
|
|
25
25
|
"clsx": "^2.1.1",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"@graphql-eslint/eslint-plugin": "^4.1.0",
|
|
47
47
|
"@graphql-tools/utils": "^11.0.0",
|
|
48
48
|
"@playwright/test": "^1.49.0",
|
|
49
|
-
"@salesforce/graphiti": "^11.
|
|
50
|
-
"@salesforce/vite-plugin-ui-bundle": "^11.
|
|
49
|
+
"@salesforce/graphiti": "^11.10.0",
|
|
50
|
+
"@salesforce/vite-plugin-ui-bundle": "^11.10.0",
|
|
51
51
|
"@testing-library/jest-dom": "^6.6.3",
|
|
52
52
|
"@testing-library/react": "^16.1.0",
|
|
53
53
|
"@testing-library/user-event": "^14.5.2",
|
|
@@ -6,6 +6,8 @@ interface FilterFieldWrapperProps extends React.ComponentProps<"div"> {
|
|
|
6
6
|
htmlFor?: string;
|
|
7
7
|
/** id applied to the visible label so a non-native control can reference it via aria-labelledby */
|
|
8
8
|
labelId?: string;
|
|
9
|
+
/** id applied to the error message so a control can reference it via aria-describedby */
|
|
10
|
+
errorId?: string;
|
|
9
11
|
helpText?: string;
|
|
10
12
|
error?: string;
|
|
11
13
|
}
|
|
@@ -14,6 +16,7 @@ export function FilterFieldWrapper({
|
|
|
14
16
|
label,
|
|
15
17
|
htmlFor,
|
|
16
18
|
labelId,
|
|
19
|
+
errorId,
|
|
17
20
|
helpText,
|
|
18
21
|
error,
|
|
19
22
|
className,
|
|
@@ -28,7 +31,9 @@ export function FilterFieldWrapper({
|
|
|
28
31
|
{children}
|
|
29
32
|
<div className="min-h-4">
|
|
30
33
|
{error ? (
|
|
31
|
-
<p className="text-xs text-destructive">
|
|
34
|
+
<p id={errorId} role="alert" className="text-xs text-destructive">
|
|
35
|
+
{error}
|
|
36
|
+
</p>
|
|
32
37
|
) : (
|
|
33
38
|
helpText && <p className="text-xs text-muted-foreground">{helpText}</p>
|
|
34
39
|
)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useState } from "react";
|
|
1
|
+
import { useId, useState } from "react";
|
|
2
2
|
import { Input } from "../../../../components/ui/input";
|
|
3
3
|
|
|
4
4
|
import { useFilterField } from "../FilterContext";
|
|
@@ -62,6 +62,7 @@ export function NumericRangeFilterInputs({
|
|
|
62
62
|
className,
|
|
63
63
|
...props
|
|
64
64
|
}: NumericRangeFilterInputsProps) {
|
|
65
|
+
const errorId = useId();
|
|
65
66
|
const [localMin, setLocalMin] = useState(value?.min ?? "");
|
|
66
67
|
const [localMax, setLocalMax] = useState(value?.max ?? "");
|
|
67
68
|
|
|
@@ -129,6 +130,7 @@ export function NumericRangeFilterInputs({
|
|
|
129
130
|
label={label}
|
|
130
131
|
helpText={helpText}
|
|
131
132
|
error={errorMessage}
|
|
133
|
+
errorId={errorId}
|
|
132
134
|
className={className}
|
|
133
135
|
{...props}
|
|
134
136
|
>
|
|
@@ -146,6 +148,7 @@ export function NumericRangeFilterInputs({
|
|
|
146
148
|
}}
|
|
147
149
|
aria-label={`${label} minimum`}
|
|
148
150
|
aria-invalid={hasError || undefined}
|
|
151
|
+
aria-describedby={hasError ? errorId : undefined}
|
|
149
152
|
/>
|
|
150
153
|
<Input
|
|
151
154
|
type="number"
|
|
@@ -160,6 +163,7 @@ export function NumericRangeFilterInputs({
|
|
|
160
163
|
}}
|
|
161
164
|
aria-label={`${label} maximum`}
|
|
162
165
|
aria-invalid={hasError || undefined}
|
|
166
|
+
aria-describedby={hasError ? errorId : undefined}
|
|
163
167
|
/>
|
|
164
168
|
</div>
|
|
165
169
|
</FilterFieldWrapper>
|
package/dist/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/webapp-template-base-sfdx-project-experimental",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.10.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@salesforce/webapp-template-base-sfdx-project-experimental",
|
|
9
|
-
"version": "11.
|
|
9
|
+
"version": "11.10.0",
|
|
10
10
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"@lwc/eslint-plugin-lwc": "^3.3.0",
|
package/dist/package.json
CHANGED