@salesforce/webapp-template-app-react-sample-b2x-experimental 1.81.0 → 1.82.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 +8 -0
- package/dist/force-app/main/default/webapplications/appreactsampleb2x/package.json +3 -3
- package/dist/force-app/main/default/webapplications/appreactsampleb2x/src/api/maintenanceRequestApi.ts +1 -1
- package/dist/force-app/main/default/webapplications/appreactsampleb2x/src/api/propertyDetailGraphQL.ts +1 -1
- package/dist/force-app/main/default/webapplications/appreactsampleb2x/src/api/propertyListingGraphQL.ts +2 -2
- package/dist/force-app/main/default/webapplications/appreactsampleb2x/src/components/PropertyListingCard.tsx +1 -1
- package/dist/force-app/main/default/webapplications/appreactsampleb2x/src/hooks/usePropertyAddresses.ts +1 -1
- package/dist/force-app/main/default/webapplications/appreactsampleb2x/src/hooks/usePropertyListingSearch.ts +1 -1
- package/dist/force-app/main/default/webapplications/appreactsampleb2x/src/hooks/usePropertyMapMarkers.ts +1 -1
- package/dist/force-app/main/default/webapplications/appreactsampleb2x/src/hooks/usePropertyPrimaryImages.ts +1 -1
- 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
|
+
# [1.82.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.81.0...v1.82.0) (2026-03-09)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [1.81.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.80.1...v1.81.0) (2026-03-09)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
@@ -15,8 +15,8 @@
|
|
|
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.82.0",
|
|
19
|
+
"@salesforce/webapp-experimental": "^1.82.0",
|
|
20
20
|
"@tailwindcss/vite": "^4.1.17",
|
|
21
21
|
"@tanstack/react-form": "^1.28.4",
|
|
22
22
|
"@types/leaflet": "^1.9.21",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@graphql-eslint/eslint-plugin": "^4.1.0",
|
|
44
44
|
"@graphql-tools/utils": "^11.0.0",
|
|
45
45
|
"@playwright/test": "^1.49.0",
|
|
46
|
-
"@salesforce/vite-plugin-webapp-experimental": "^1.
|
|
46
|
+
"@salesforce/vite-plugin-webapp-experimental": "^1.82.0",
|
|
47
47
|
"@testing-library/jest-dom": "^6.6.3",
|
|
48
48
|
"@testing-library/react": "^16.1.0",
|
|
49
49
|
"@testing-library/user-event": "^14.5.2",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Maintenance_Request__c: list via GraphQL, create via createRecord.
|
|
3
3
|
*/
|
|
4
4
|
import { createRecord } from "@salesforce/webapp-experimental/api";
|
|
5
|
-
import { executeGraphQL } from "./graphqlClient
|
|
5
|
+
import { executeGraphQL } from "./graphqlClient";
|
|
6
6
|
|
|
7
7
|
const OBJECT_API_NAME = "Maintenance_Request__c";
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GraphQL queries for Property_Listing__c detail and related Property__c data:
|
|
3
3
|
* Property_Image__c, Property_Cost__c, Property_Feature__c.
|
|
4
4
|
*/
|
|
5
|
-
import { executeGraphQL } from "./graphqlClient
|
|
5
|
+
import { executeGraphQL } from "./graphqlClient";
|
|
6
6
|
|
|
7
7
|
// ---- Listing by Id ----
|
|
8
8
|
const LISTING_QUERY = /* GraphQL */ `
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
* Property Listing search via Salesforce GraphQL.
|
|
3
3
|
* Replaces REST keyword search with uiapi.query.Property_Listing__c.
|
|
4
4
|
*/
|
|
5
|
-
import { executeGraphQL } from "./graphqlClient
|
|
5
|
+
import { executeGraphQL } from "./graphqlClient";
|
|
6
6
|
import type {
|
|
7
7
|
SearchResultRecord,
|
|
8
8
|
SearchResultRecordData,
|
|
9
9
|
FieldValue,
|
|
10
|
-
} from "../features/global-search/types/search/searchResults
|
|
10
|
+
} from "../features/global-search/types/search/searchResults";
|
|
11
11
|
|
|
12
12
|
const OBJECT_API_NAME = "Property_Listing__c";
|
|
13
13
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { useNavigate } from "react-router";
|
|
5
5
|
import { useCallback, useState } from "react";
|
|
6
6
|
import { Button } from "./ui/button";
|
|
7
|
-
import type { SearchResultRecordData } from "../features/global-search/types/search/searchResults
|
|
7
|
+
import type { SearchResultRecordData } from "../features/global-search/types/search/searchResults";
|
|
8
8
|
import { Heart } from "lucide-react";
|
|
9
9
|
|
|
10
10
|
function fieldDisplay(
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { useState, useEffect } from "react";
|
|
6
6
|
import { fetchPropertyAddresses } from "@/api/propertyDetailGraphQL";
|
|
7
7
|
import { getPropertyIdFromRecord } from "./usePropertyPrimaryImages";
|
|
8
|
-
import type { SearchResultRecord } from "../features/global-search/types/search/searchResults
|
|
8
|
+
import type { SearchResultRecord } from "../features/global-search/types/search/searchResults";
|
|
9
9
|
|
|
10
10
|
export function usePropertyAddresses(results: SearchResultRecord[]): Record<string, string> {
|
|
11
11
|
const [map, setMap] = useState<Record<string, string>>({});
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { useState, useEffect, useRef, useCallback } from "react";
|
|
5
5
|
import { queryPropertyListingsGraphQL } from "@/api/propertyListingGraphQL";
|
|
6
|
-
import type { SearchResultRecord } from "../features/global-search/types/search/searchResults
|
|
6
|
+
import type { SearchResultRecord } from "../features/global-search/types/search/searchResults";
|
|
7
7
|
|
|
8
8
|
export function usePropertyListingSearch(searchQuery: string, pageSize: number, pageToken: string) {
|
|
9
9
|
const [results, setResults] = useState<SearchResultRecord[]>([]);
|
|
@@ -6,7 +6,7 @@ import { useState, useEffect } from "react";
|
|
|
6
6
|
import { fetchPropertyAddresses } from "@/api/propertyDetailGraphQL";
|
|
7
7
|
import { geocodeAddress } from "@/utils/geocode";
|
|
8
8
|
import { getPropertyIdFromRecord } from "./usePropertyPrimaryImages";
|
|
9
|
-
import type { SearchResultRecord } from "../features/global-search/types/search/searchResults
|
|
9
|
+
import type { SearchResultRecord } from "../features/global-search/types/search/searchResults";
|
|
10
10
|
import type { MapMarker } from "@/components/PropertyMap";
|
|
11
11
|
|
|
12
12
|
function getListingName(record: {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { useState, useEffect } from "react";
|
|
6
6
|
import { fetchPrimaryImagesByPropertyIds } from "@/api/propertyDetailGraphQL";
|
|
7
|
-
import type { SearchResultRecord } from "../features/global-search/types/search/searchResults
|
|
7
|
+
import type { SearchResultRecord } from "../features/global-search/types/search/searchResults";
|
|
8
8
|
|
|
9
9
|
export function getPropertyIdFromRecord(record: {
|
|
10
10
|
fields?: Record<string, { value?: unknown }>;
|
package/dist/package.json
CHANGED
package/package.json
CHANGED