@salesforce/ui-bundle-template-app-react-template-b2e 12.5.2 → 12.5.3
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 +8 -0
- package/dist/force-app/main/default/uiBundles/reactinternalapp/package.json +4 -4
- package/dist/force-app/main/default/uiBundles/reactinternalapp/src/appLayout.tsx +1 -1
- package/dist/force-app/main/default/uiBundles/reactinternalapp/src/components/alerts/status-alert.tsx +1 -1
- package/dist/force-app/main/default/uiBundles/reactinternalapp/src/components/ui/alert.tsx +1 -1
- package/dist/force-app/main/default/uiBundles/reactinternalapp/src/features/search/components/Search.tsx +5 -2
- package/dist/force-app/main/default/uiBundles/reactinternalapp/src/features/search/components/SourceSection.tsx +1 -0
- package/dist/force-app/main/default/uiBundles/reactinternalapp/src/features/search/components/controls/PaginationControls.tsx +4 -1
- package/dist/force-app/main/default/uiBundles/reactinternalapp/src/routes.tsx +1 -0
- 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,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.5.3](https://github.com/salesforce-experience-platform-emu/webapps/compare/v12.5.2...v12.5.3) (2026-09-08)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [12.5.2](https://github.com/salesforce-experience-platform-emu/webapps/compare/v12.5.1...v12.5.2) (2026-09-08)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"graphql:schema": "node scripts/get-graphql-schema.mjs"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@salesforce/platform-sdk": "^12.5.
|
|
23
|
-
"@salesforce/ui-bundle": "^12.5.
|
|
22
|
+
"@salesforce/platform-sdk": "^12.5.3",
|
|
23
|
+
"@salesforce/ui-bundle": "^12.5.3",
|
|
24
24
|
"@tailwindcss/vite": "^4.1.17",
|
|
25
25
|
"class-variance-authority": "^0.7.1",
|
|
26
26
|
"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": "^12.5.
|
|
50
|
-
"@salesforce/vite-plugin-ui-bundle": "^12.5.
|
|
49
|
+
"@salesforce/graphiti": "^12.5.3",
|
|
50
|
+
"@salesforce/vite-plugin-ui-bundle": "^12.5.3",
|
|
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",
|
|
@@ -57,7 +57,7 @@ export default function AppLayout() {
|
|
|
57
57
|
>
|
|
58
58
|
Skip to main content
|
|
59
59
|
</a>
|
|
60
|
-
<nav className="bg-white border-b border-gray-200">
|
|
60
|
+
<nav aria-label="Primary" className="bg-white border-b border-gray-200">
|
|
61
61
|
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
|
62
62
|
<div className="flex justify-between items-center h-16">
|
|
63
63
|
<Link to="/" className="text-xl font-semibold text-gray-900">
|
|
@@ -8,7 +8,7 @@ const statusAlertVariants = cva('', {
|
|
|
8
8
|
variant: {
|
|
9
9
|
error: '',
|
|
10
10
|
success: '',
|
|
11
|
-
info: 'text-blue-
|
|
11
|
+
info: 'text-blue-700 dark:text-blue-400 *:[svg]:text-current *:data-[slot=alert-description]:text-blue-700 dark:*:data-[slot=alert-description]:text-blue-400',
|
|
12
12
|
},
|
|
13
13
|
},
|
|
14
14
|
defaultVariants: {
|
|
@@ -10,7 +10,7 @@ const alertVariants = cva(
|
|
|
10
10
|
variant: {
|
|
11
11
|
default: 'bg-card text-card-foreground',
|
|
12
12
|
destructive:
|
|
13
|
-
'text-
|
|
13
|
+
'text-red-700 dark:text-red-400 bg-card *:data-[slot=alert-description]:text-red-700 dark:*:data-[slot=alert-description]:text-red-400 *:[svg]:text-current',
|
|
14
14
|
},
|
|
15
15
|
},
|
|
16
16
|
defaultVariants: {
|
|
@@ -82,6 +82,8 @@ interface SearchProps {
|
|
|
82
82
|
/** Optional override for the entire header region. */
|
|
83
83
|
renderHeader?: (handle: SearchHandle) => ReactNode;
|
|
84
84
|
className?: string;
|
|
85
|
+
/** Root element tag; use `"main"` when this owns its route's landmark (WCAG 1.3.1). */
|
|
86
|
+
as?: "div" | "main";
|
|
85
87
|
}
|
|
86
88
|
|
|
87
89
|
export function Search({
|
|
@@ -97,6 +99,7 @@ export function Search({
|
|
|
97
99
|
allScopeLabel,
|
|
98
100
|
renderHeader,
|
|
99
101
|
className,
|
|
102
|
+
as: Root = "div",
|
|
100
103
|
}: SearchProps) {
|
|
101
104
|
// Resolve restrictTo to a lockedScope value, surfacing a clear error if
|
|
102
105
|
// the (kind, key) pair doesn't match any source. Memoize so it's
|
|
@@ -136,7 +139,7 @@ export function Search({
|
|
|
136
139
|
const showTotalResults = !merged && sourcesInScope >= 2;
|
|
137
140
|
|
|
138
141
|
return (
|
|
139
|
-
<
|
|
142
|
+
<Root className={`max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 py-6 space-y-6 ${className ?? ""}`}>
|
|
140
143
|
{renderHeader ? (
|
|
141
144
|
renderHeader(handle)
|
|
142
145
|
) : (
|
|
@@ -198,6 +201,6 @@ export function Search({
|
|
|
198
201
|
)}
|
|
199
202
|
</>
|
|
200
203
|
)}
|
|
201
|
-
</
|
|
204
|
+
</Root>
|
|
202
205
|
);
|
|
203
206
|
}
|
|
@@ -37,6 +37,8 @@ interface PaginationControlsProps {
|
|
|
37
37
|
onGoToPage?: (pageIndex: number) => void;
|
|
38
38
|
disabled?: boolean;
|
|
39
39
|
idPrefix?: string;
|
|
40
|
+
/** Accessible name for the pagination `<nav>` landmark; keep it unique per instance (WCAG 1.3.1, landmark-unique). */
|
|
41
|
+
navLabel?: string;
|
|
40
42
|
}
|
|
41
43
|
|
|
42
44
|
/**
|
|
@@ -76,6 +78,7 @@ export function PaginationControls({
|
|
|
76
78
|
onGoToPage,
|
|
77
79
|
disabled = false,
|
|
78
80
|
idPrefix = "page-size",
|
|
81
|
+
navLabel = "Pagination",
|
|
79
82
|
}: PaginationControlsProps) {
|
|
80
83
|
const handlePageSizeChange = (next: string) => {
|
|
81
84
|
const size = parseInt(next, 10);
|
|
@@ -121,7 +124,7 @@ export function PaginationControls({
|
|
|
121
124
|
</SelectContent>
|
|
122
125
|
</Select>
|
|
123
126
|
</div>
|
|
124
|
-
<Pagination className="w-full mx-0 sm:justify-end">
|
|
127
|
+
<Pagination aria-label={navLabel} className="w-full mx-0 sm:justify-end">
|
|
125
128
|
<PaginationContent>
|
|
126
129
|
<PaginationItem>
|
|
127
130
|
<PaginationPrevious
|
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.5.
|
|
3
|
+
"version": "12.5.3",
|
|
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.5.
|
|
9
|
+
"version": "12.5.3",
|
|
10
10
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"fast-xml-parser": "^5.9.3",
|
package/dist/package.json
CHANGED