@yext/pages-components 1.0.2 → 1.0.4
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/{debugger-DxMCz_HF.cjs → debugger-D1L4Q0Ym.cjs} +1 -1
- package/dist/{debugger-C-GK2f4q.js → debugger-Deci89uw.js} +1 -1
- package/dist/{index-ChSAX9jE.js → index-BEwdmdrX.js} +5336 -5770
- package/dist/{index-zdnlchNT.js → index-BwdzdvBD.js} +3 -3
- package/dist/{index-LU9eqw2L.cjs → index-D48pUOQV.cjs} +56 -54
- package/dist/{index-BaREGJWP.cjs → index-DmZ5N0Hz.cjs} +2 -2
- package/dist/index.d.cts +372 -3
- package/dist/index.d.ts +372 -3
- package/dist/pages-components.cjs +1 -1
- package/dist/pages-components.js +48 -32
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -616,7 +616,7 @@ type LinkProps = CTALinkProps | HREFLinkProps;
|
|
|
616
616
|
*
|
|
617
617
|
* @public
|
|
618
618
|
*/
|
|
619
|
-
declare const Link:
|
|
619
|
+
declare const Link: React$1.ForwardRefExoticComponent<(Omit<HREFLinkProps, "ref"> | Omit<CTAWithChildrenLinkProps, "ref"> | Omit<CTAWithoutChildrenLinkProps, "ref">) & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
620
620
|
|
|
621
621
|
/**
|
|
622
622
|
* This class represents a point on a sphere defined by latitude and longitude.
|
|
@@ -1116,6 +1116,7 @@ interface MarkerProps {
|
|
|
1116
1116
|
[key: string]: boolean;
|
|
1117
1117
|
};
|
|
1118
1118
|
zIndex?: number;
|
|
1119
|
+
hasPinUrl?: boolean;
|
|
1119
1120
|
}
|
|
1120
1121
|
type ClusterTemplateProps = {
|
|
1121
1122
|
count?: number;
|
|
@@ -1138,7 +1139,7 @@ interface ClustererContextType {
|
|
|
1138
1139
|
declare function useMapContext(): Map$1;
|
|
1139
1140
|
declare const Map: ({ apiKey, bounds, children, className, clientKey, controls, defaultCenter, defaultZoom, mapRef, padding, panHandler, panStartHandler, provider, providerOptions, singleZoom, }: MapProps) => react_jsx_runtime.JSX.Element;
|
|
1140
1141
|
|
|
1141
|
-
declare const Marker: ({ children, coordinate, hideOffscreen, id, icon, onClick, onFocus, onHover, zIndex, }: MarkerProps) => JSX.Element | null;
|
|
1142
|
+
declare const Marker: ({ children, coordinate, hideOffscreen, id, icon, onClick, onFocus, onHover, zIndex, hasPinUrl, }: MarkerProps) => JSX.Element | null;
|
|
1142
1143
|
|
|
1143
1144
|
declare function useClusterContext(): ClustererContextType;
|
|
1144
1145
|
declare const Clusterer: ({ clusterRadius, children, ClusterTemplate, }: ClustererProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -1300,6 +1301,374 @@ declare const HoursStatus: React__default.FC<HoursStatusProps>;
|
|
|
1300
1301
|
|
|
1301
1302
|
declare const HoursTable: React__default.FC<HoursTableProps>;
|
|
1302
1303
|
|
|
1304
|
+
declare const SchemaWrapper: (json: any) => string;
|
|
1305
|
+
|
|
1306
|
+
declare const BaseSchema: (document: Record<string, any>, schemaType: string) => {
|
|
1307
|
+
"@context": string;
|
|
1308
|
+
"@type": string;
|
|
1309
|
+
name: any;
|
|
1310
|
+
};
|
|
1311
|
+
|
|
1312
|
+
declare const Event: (document: Record<string, any>, schemaType?: string) => {
|
|
1313
|
+
offers?: {
|
|
1314
|
+
"@type": string;
|
|
1315
|
+
url: string | undefined;
|
|
1316
|
+
priceCurrency: string | undefined;
|
|
1317
|
+
price: string | undefined;
|
|
1318
|
+
priceValidUntil: string | undefined;
|
|
1319
|
+
itemCondition: string | undefined;
|
|
1320
|
+
availability: string | undefined;
|
|
1321
|
+
} | undefined;
|
|
1322
|
+
organizer?: {
|
|
1323
|
+
"@type": string;
|
|
1324
|
+
name: string | undefined;
|
|
1325
|
+
url: string | undefined;
|
|
1326
|
+
} | undefined;
|
|
1327
|
+
performer?: {
|
|
1328
|
+
"@type": string;
|
|
1329
|
+
name: string;
|
|
1330
|
+
} | undefined;
|
|
1331
|
+
startDate: any;
|
|
1332
|
+
endDate: any;
|
|
1333
|
+
description: any;
|
|
1334
|
+
eventAttendanceMode: any;
|
|
1335
|
+
eventStatus: any;
|
|
1336
|
+
address?: {
|
|
1337
|
+
"@type": string;
|
|
1338
|
+
streetAddress: string;
|
|
1339
|
+
addressLocality: string;
|
|
1340
|
+
addressRegion: string | undefined;
|
|
1341
|
+
postalCode: string;
|
|
1342
|
+
addressCountry: string;
|
|
1343
|
+
} | undefined;
|
|
1344
|
+
"@type": string;
|
|
1345
|
+
name: any;
|
|
1346
|
+
image?: undefined;
|
|
1347
|
+
"@context": string;
|
|
1348
|
+
} | {
|
|
1349
|
+
offers?: {
|
|
1350
|
+
"@type": string;
|
|
1351
|
+
url: string | undefined;
|
|
1352
|
+
priceCurrency: string | undefined;
|
|
1353
|
+
price: string | undefined;
|
|
1354
|
+
priceValidUntil: string | undefined;
|
|
1355
|
+
itemCondition: string | undefined;
|
|
1356
|
+
availability: string | undefined;
|
|
1357
|
+
} | undefined;
|
|
1358
|
+
organizer?: {
|
|
1359
|
+
"@type": string;
|
|
1360
|
+
name: string | undefined;
|
|
1361
|
+
url: string | undefined;
|
|
1362
|
+
} | undefined;
|
|
1363
|
+
performer?: {
|
|
1364
|
+
"@type": string;
|
|
1365
|
+
name: string;
|
|
1366
|
+
} | undefined;
|
|
1367
|
+
startDate: any;
|
|
1368
|
+
endDate: any;
|
|
1369
|
+
description: any;
|
|
1370
|
+
eventAttendanceMode: any;
|
|
1371
|
+
eventStatus: any;
|
|
1372
|
+
address?: {
|
|
1373
|
+
"@type": string;
|
|
1374
|
+
streetAddress: string;
|
|
1375
|
+
addressLocality: string;
|
|
1376
|
+
addressRegion: string | undefined;
|
|
1377
|
+
postalCode: string;
|
|
1378
|
+
addressCountry: string;
|
|
1379
|
+
} | undefined;
|
|
1380
|
+
"@type": string;
|
|
1381
|
+
name: any;
|
|
1382
|
+
image: string[];
|
|
1383
|
+
"@context": string;
|
|
1384
|
+
};
|
|
1385
|
+
|
|
1386
|
+
declare const LocalBusiness: (document: Record<string, any>, schemaType?: string) => {
|
|
1387
|
+
description: any;
|
|
1388
|
+
telephone: any;
|
|
1389
|
+
email: any;
|
|
1390
|
+
image?: undefined;
|
|
1391
|
+
openingHours?: undefined;
|
|
1392
|
+
address?: {
|
|
1393
|
+
"@type": string;
|
|
1394
|
+
streetAddress: string;
|
|
1395
|
+
addressLocality: string;
|
|
1396
|
+
addressRegion: string | undefined;
|
|
1397
|
+
postalCode: string;
|
|
1398
|
+
addressCountry: string;
|
|
1399
|
+
} | undefined;
|
|
1400
|
+
"@context": string;
|
|
1401
|
+
"@type": string;
|
|
1402
|
+
name: any;
|
|
1403
|
+
} | {
|
|
1404
|
+
description: any;
|
|
1405
|
+
telephone: any;
|
|
1406
|
+
email: any;
|
|
1407
|
+
image: string[];
|
|
1408
|
+
openingHours?: undefined;
|
|
1409
|
+
address?: {
|
|
1410
|
+
"@type": string;
|
|
1411
|
+
streetAddress: string;
|
|
1412
|
+
addressLocality: string;
|
|
1413
|
+
addressRegion: string | undefined;
|
|
1414
|
+
postalCode: string;
|
|
1415
|
+
addressCountry: string;
|
|
1416
|
+
} | undefined;
|
|
1417
|
+
"@context": string;
|
|
1418
|
+
"@type": string;
|
|
1419
|
+
name: any;
|
|
1420
|
+
} | {
|
|
1421
|
+
description: any;
|
|
1422
|
+
telephone: any;
|
|
1423
|
+
email: any;
|
|
1424
|
+
image?: undefined;
|
|
1425
|
+
openingHours: string[];
|
|
1426
|
+
address?: {
|
|
1427
|
+
"@type": string;
|
|
1428
|
+
streetAddress: string;
|
|
1429
|
+
addressLocality: string;
|
|
1430
|
+
addressRegion: string | undefined;
|
|
1431
|
+
postalCode: string;
|
|
1432
|
+
addressCountry: string;
|
|
1433
|
+
} | undefined;
|
|
1434
|
+
"@context": string;
|
|
1435
|
+
"@type": string;
|
|
1436
|
+
name: any;
|
|
1437
|
+
} | {
|
|
1438
|
+
description: any;
|
|
1439
|
+
telephone: any;
|
|
1440
|
+
email: any;
|
|
1441
|
+
image: string[];
|
|
1442
|
+
openingHours: string[];
|
|
1443
|
+
address?: {
|
|
1444
|
+
"@type": string;
|
|
1445
|
+
streetAddress: string;
|
|
1446
|
+
addressLocality: string;
|
|
1447
|
+
addressRegion: string | undefined;
|
|
1448
|
+
postalCode: string;
|
|
1449
|
+
addressCountry: string;
|
|
1450
|
+
} | undefined;
|
|
1451
|
+
"@context": string;
|
|
1452
|
+
"@type": string;
|
|
1453
|
+
name: any;
|
|
1454
|
+
};
|
|
1455
|
+
|
|
1456
|
+
declare const Product: (document: Record<string, any>, schemaType?: string) => {
|
|
1457
|
+
description: any;
|
|
1458
|
+
sku: any;
|
|
1459
|
+
mpn: any;
|
|
1460
|
+
brand: {
|
|
1461
|
+
"@type": string;
|
|
1462
|
+
name: any;
|
|
1463
|
+
};
|
|
1464
|
+
offers?: {
|
|
1465
|
+
"@type": string;
|
|
1466
|
+
url: string | undefined;
|
|
1467
|
+
priceCurrency: string | undefined;
|
|
1468
|
+
price: string | undefined;
|
|
1469
|
+
priceValidUntil: string | undefined;
|
|
1470
|
+
itemCondition: string | undefined;
|
|
1471
|
+
availability: string | undefined;
|
|
1472
|
+
} | undefined;
|
|
1473
|
+
aggregateRating?: {
|
|
1474
|
+
"@type": string;
|
|
1475
|
+
ratingValue: string | undefined;
|
|
1476
|
+
reviewCount: string | undefined;
|
|
1477
|
+
} | undefined;
|
|
1478
|
+
review?: {
|
|
1479
|
+
"@type": string;
|
|
1480
|
+
reviewRating: {
|
|
1481
|
+
"@type": string;
|
|
1482
|
+
ratingValue: string | undefined;
|
|
1483
|
+
bestRating: string | undefined;
|
|
1484
|
+
};
|
|
1485
|
+
author: {
|
|
1486
|
+
"@type": string;
|
|
1487
|
+
name: string | undefined;
|
|
1488
|
+
};
|
|
1489
|
+
} | undefined;
|
|
1490
|
+
image?: undefined;
|
|
1491
|
+
"@context": string;
|
|
1492
|
+
"@type": string;
|
|
1493
|
+
name: any;
|
|
1494
|
+
} | {
|
|
1495
|
+
description: any;
|
|
1496
|
+
sku: any;
|
|
1497
|
+
mpn: any;
|
|
1498
|
+
brand: {
|
|
1499
|
+
"@type": string;
|
|
1500
|
+
name: any;
|
|
1501
|
+
};
|
|
1502
|
+
offers?: {
|
|
1503
|
+
"@type": string;
|
|
1504
|
+
url: string | undefined;
|
|
1505
|
+
priceCurrency: string | undefined;
|
|
1506
|
+
price: string | undefined;
|
|
1507
|
+
priceValidUntil: string | undefined;
|
|
1508
|
+
itemCondition: string | undefined;
|
|
1509
|
+
availability: string | undefined;
|
|
1510
|
+
} | undefined;
|
|
1511
|
+
aggregateRating?: {
|
|
1512
|
+
"@type": string;
|
|
1513
|
+
ratingValue: string | undefined;
|
|
1514
|
+
reviewCount: string | undefined;
|
|
1515
|
+
} | undefined;
|
|
1516
|
+
review?: {
|
|
1517
|
+
"@type": string;
|
|
1518
|
+
reviewRating: {
|
|
1519
|
+
"@type": string;
|
|
1520
|
+
ratingValue: string | undefined;
|
|
1521
|
+
bestRating: string | undefined;
|
|
1522
|
+
};
|
|
1523
|
+
author: {
|
|
1524
|
+
"@type": string;
|
|
1525
|
+
name: string | undefined;
|
|
1526
|
+
};
|
|
1527
|
+
} | undefined;
|
|
1528
|
+
image: string[];
|
|
1529
|
+
"@context": string;
|
|
1530
|
+
"@type": string;
|
|
1531
|
+
name: any;
|
|
1532
|
+
};
|
|
1533
|
+
|
|
1534
|
+
type RTF2 = {
|
|
1535
|
+
json?: Record<string, any>;
|
|
1536
|
+
};
|
|
1537
|
+
type FAQ = {
|
|
1538
|
+
question: string;
|
|
1539
|
+
answer: string;
|
|
1540
|
+
} | {
|
|
1541
|
+
question: string;
|
|
1542
|
+
answerV2: RTF2;
|
|
1543
|
+
};
|
|
1544
|
+
declare const FAQPage: (data: FAQ[]) => {
|
|
1545
|
+
"@context": string;
|
|
1546
|
+
"@type": string;
|
|
1547
|
+
mainEntity: {
|
|
1548
|
+
"@type": string;
|
|
1549
|
+
name: string;
|
|
1550
|
+
acceptedAnswer: {
|
|
1551
|
+
"@type": string;
|
|
1552
|
+
text: string;
|
|
1553
|
+
};
|
|
1554
|
+
}[];
|
|
1555
|
+
};
|
|
1556
|
+
|
|
1557
|
+
type Location = {
|
|
1558
|
+
name?: string;
|
|
1559
|
+
address?: AddressType;
|
|
1560
|
+
};
|
|
1561
|
+
declare const AddressSchema: (address?: AddressType) => {
|
|
1562
|
+
address: {
|
|
1563
|
+
"@type": string;
|
|
1564
|
+
streetAddress: string;
|
|
1565
|
+
addressLocality: string;
|
|
1566
|
+
addressRegion: string | undefined;
|
|
1567
|
+
postalCode: string;
|
|
1568
|
+
addressCountry: string;
|
|
1569
|
+
};
|
|
1570
|
+
} | undefined;
|
|
1571
|
+
declare const LocationSchema: (location?: Location) => {
|
|
1572
|
+
address?: {
|
|
1573
|
+
"@type": string;
|
|
1574
|
+
streetAddress: string;
|
|
1575
|
+
addressLocality: string;
|
|
1576
|
+
addressRegion: string | undefined;
|
|
1577
|
+
postalCode: string;
|
|
1578
|
+
addressCountry: string;
|
|
1579
|
+
} | undefined;
|
|
1580
|
+
"@type": string;
|
|
1581
|
+
name: string | undefined;
|
|
1582
|
+
} | undefined;
|
|
1583
|
+
|
|
1584
|
+
declare const OpeningHoursSchema: (hours?: HoursType) => {
|
|
1585
|
+
openingHours?: undefined;
|
|
1586
|
+
} | {
|
|
1587
|
+
openingHours: string[];
|
|
1588
|
+
};
|
|
1589
|
+
|
|
1590
|
+
type Offer = {
|
|
1591
|
+
url?: string;
|
|
1592
|
+
priceCurrency?: string;
|
|
1593
|
+
price?: string;
|
|
1594
|
+
priceValidUntil?: string;
|
|
1595
|
+
itemCondition?: string;
|
|
1596
|
+
availability?: string;
|
|
1597
|
+
};
|
|
1598
|
+
declare const OfferSchema: (offer?: Offer) => {
|
|
1599
|
+
offers: {
|
|
1600
|
+
"@type": string;
|
|
1601
|
+
url: string | undefined;
|
|
1602
|
+
priceCurrency: string | undefined;
|
|
1603
|
+
price: string | undefined;
|
|
1604
|
+
priceValidUntil: string | undefined;
|
|
1605
|
+
itemCondition: string | undefined;
|
|
1606
|
+
availability: string | undefined;
|
|
1607
|
+
};
|
|
1608
|
+
} | undefined;
|
|
1609
|
+
|
|
1610
|
+
type Organization = {
|
|
1611
|
+
name?: string;
|
|
1612
|
+
url?: string;
|
|
1613
|
+
};
|
|
1614
|
+
declare const PerformerSchema: (performers?: string[]) => {
|
|
1615
|
+
performer: {
|
|
1616
|
+
"@type": string;
|
|
1617
|
+
name: string;
|
|
1618
|
+
};
|
|
1619
|
+
} | undefined;
|
|
1620
|
+
declare const OrganizationSchema: (org?: Organization) => {
|
|
1621
|
+
organizer: {
|
|
1622
|
+
"@type": string;
|
|
1623
|
+
name: string | undefined;
|
|
1624
|
+
url: string | undefined;
|
|
1625
|
+
};
|
|
1626
|
+
} | undefined;
|
|
1627
|
+
|
|
1628
|
+
type PhotoGallery = Photo[];
|
|
1629
|
+
type Photo = {
|
|
1630
|
+
image: ImageType;
|
|
1631
|
+
};
|
|
1632
|
+
declare const PhotoGallerySchema: (gallery?: PhotoGallery) => {
|
|
1633
|
+
image?: undefined;
|
|
1634
|
+
} | {
|
|
1635
|
+
image: string[];
|
|
1636
|
+
};
|
|
1637
|
+
declare const PhotoSchema: (photo?: Photo) => {
|
|
1638
|
+
image: string;
|
|
1639
|
+
} | undefined;
|
|
1640
|
+
|
|
1641
|
+
type Review = {
|
|
1642
|
+
ratingValue?: string;
|
|
1643
|
+
bestRating?: string;
|
|
1644
|
+
author?: string;
|
|
1645
|
+
};
|
|
1646
|
+
type AggregateRating = {
|
|
1647
|
+
ratingValue?: string;
|
|
1648
|
+
reviewCount?: string;
|
|
1649
|
+
};
|
|
1650
|
+
declare const ReviewSchema: (review?: Review) => {
|
|
1651
|
+
review: {
|
|
1652
|
+
"@type": string;
|
|
1653
|
+
reviewRating: {
|
|
1654
|
+
"@type": string;
|
|
1655
|
+
ratingValue: string | undefined;
|
|
1656
|
+
bestRating: string | undefined;
|
|
1657
|
+
};
|
|
1658
|
+
author: {
|
|
1659
|
+
"@type": string;
|
|
1660
|
+
name: string | undefined;
|
|
1661
|
+
};
|
|
1662
|
+
};
|
|
1663
|
+
} | undefined;
|
|
1664
|
+
declare const AggregateRatingSchema: (rating?: AggregateRating) => {
|
|
1665
|
+
aggregateRating: {
|
|
1666
|
+
"@type": string;
|
|
1667
|
+
ratingValue: string | undefined;
|
|
1668
|
+
reviewCount: string | undefined;
|
|
1669
|
+
};
|
|
1670
|
+
} | undefined;
|
|
1671
|
+
|
|
1303
1672
|
/**
|
|
1304
1673
|
* @type {module:@yext/components-maps~MapProvider}
|
|
1305
1674
|
*/
|
|
@@ -1330,4 +1699,4 @@ declare const LeafletMaps: any;
|
|
|
1330
1699
|
*/
|
|
1331
1700
|
declare const MapQuestMaps: any;
|
|
1332
1701
|
|
|
1333
|
-
export { Address, type AddressLine, type AddressLineProps, type AddressProps, type AddressType, Analytics, AnalyticsContext, AnalyticsProvider, AnalyticsScopeProvider, BaiduMaps, BingMaps, type CTA, type CTAWithChildrenLinkProps, type CTAWithoutChildrenLinkProps, type ClusterTemplateProps, Clusterer, type ClustererContextType, type ClustererProps, type ComplexImageType, type Coordinate, Coordinate$1 as CoordinateClass, Day, type DayOfWeekNames, type DayType, type DirectionCoordinate, type GetDirectionsConfig, GoogleMaps, type HREFLinkProps, type HolidayType, HoursStatus, HoursTable, type HoursTableDayData, type HoursTableProps, type HoursType, Image, type ImageLayout, ImageLayoutOption, type ImageProps, type ImageType, type IntervalType, LeafletMaps, LegacyRichText, LexicalRichText, type LexicalRichTextProps, Link, type LinkProps, type LinkType, LinkTypes, type ListingPublisher, ListingPublisherOption, type ListingType, LocationMap, type LocationMapProps, Map, type MapContextType, type MapProps, type MapProvider$1 as MapProvider, MapProviderOption, MapQuestMaps, MapboxMaps, Marker, type MarkerProps, type PinStoreType, type ThumbnailType, type WeekType, debuggingParamDetected, getDirections, useAnalytics, useClusterContext, useIdentify, useMapContext, usePageView, useScope, useTrack };
|
|
1702
|
+
export { Address, type AddressLine, type AddressLineProps, type AddressProps, AddressSchema, type AddressType, type AggregateRating, AggregateRatingSchema, Analytics, AnalyticsContext, AnalyticsProvider, AnalyticsScopeProvider, BaiduMaps, BaseSchema, BingMaps, type CTA, type CTAWithChildrenLinkProps, type CTAWithoutChildrenLinkProps, type ClusterTemplateProps, Clusterer, type ClustererContextType, type ClustererProps, type ComplexImageType, type Coordinate, Coordinate$1 as CoordinateClass, Day, type DayOfWeekNames, type DayType, type DirectionCoordinate, Event, FAQPage, type GetDirectionsConfig, GoogleMaps, type HREFLinkProps, type HolidayType, HoursStatus, HoursTable, type HoursTableDayData, type HoursTableProps, type HoursType, Image, type ImageLayout, ImageLayoutOption, type ImageProps, type ImageType, type IntervalType, LeafletMaps, LegacyRichText, LexicalRichText, type LexicalRichTextProps, Link, type LinkProps, type LinkType, LinkTypes, type ListingPublisher, ListingPublisherOption, type ListingType, LocalBusiness, type Location, LocationMap, type LocationMapProps, LocationSchema, Map, type MapContextType, type MapProps, type MapProvider$1 as MapProvider, MapProviderOption, MapQuestMaps, MapboxMaps, Marker, type MarkerProps, type Offer, OfferSchema, OpeningHoursSchema, type Organization, OrganizationSchema, PerformerSchema, type PhotoGallery, PhotoGallerySchema, PhotoSchema, type PinStoreType, Product, type Review, ReviewSchema, SchemaWrapper, type ThumbnailType, type WeekType, debuggingParamDetected, getDirections, useAnalytics, useClusterContext, useIdentify, useMapContext, usePageView, useScope, useTrack };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D48pUOQV.cjs");exports.Address=e.Address;exports.AddressSchema=e.AddressSchema;exports.AggregateRatingSchema=e.AggregateRatingSchema;exports.Analytics=e.Analytics;exports.AnalyticsContext=e.AnalyticsContext;exports.AnalyticsProvider=e.AnalyticsProvider;exports.AnalyticsScopeProvider=e.AnalyticsScopeProvider;exports.BaiduMaps=e.BaiduMaps;exports.BaseSchema=e.BaseSchema;exports.BingMaps=e.BingMaps;exports.Clusterer=e.Clusterer;exports.CoordinateClass=e.Coordinate;exports.Day=e.Day;exports.Event=e.Event;exports.FAQPage=e.FAQPage;exports.GoogleMaps=e.GoogleMaps;exports.HoursStatus=e.HoursStatus;exports.HoursTable=e.HoursTable;exports.Image=e.Image;exports.ImageLayoutOption=e.ImageLayoutOption;exports.LeafletMaps=e.LeafletMaps;exports.LegacyRichText=e.LegacyRichText;exports.LexicalRichText=e.LexicalRichText;exports.Link=e.Link;exports.LinkTypes=e.LinkTypes;exports.ListingPublisherOption=e.ListingPublisherOption;exports.LocalBusiness=e.LocalBusiness;exports.LocationMap=e.LocationMap;exports.LocationSchema=e.LocationSchema;exports.Map=e.Map;exports.MapProviderOption=e.MapProviderOption;exports.MapQuestMaps=e.MapQuestMaps;exports.MapboxMaps=e.MapboxMaps;exports.Marker=e.Marker;exports.OfferSchema=e.OfferSchema;exports.OpeningHoursSchema=e.OpeningHoursSchema;exports.OrganizationSchema=e.OrganizationSchema;exports.PerformerSchema=e.PerformerSchema;exports.PhotoGallerySchema=e.PhotoGallerySchema;exports.PhotoSchema=e.PhotoSchema;exports.Product=e.Product;exports.ReviewSchema=e.ReviewSchema;exports.SchemaWrapper=e.SchemaWrapper;exports.debuggingParamDetected=e.debuggingParamDetected;exports.getDirections=e.getDirections;exports.useAnalytics=e.useAnalytics;exports.useClusterContext=e.useClusterContext;exports.useIdentify=e.useIdentify;exports.useMapContext=e.useMapContext;exports.usePageView=e.usePageView;exports.useScope=e.useScope;exports.useTrack=e.useTrack;
|
package/dist/pages-components.js
CHANGED
|
@@ -1,39 +1,55 @@
|
|
|
1
|
-
import { A as e,
|
|
1
|
+
import { A as e, a3 as t, ac as i, x as o, y as r, E as c, H as n, ad as p, _ as u, ae as g, R as h, aj as m, Y as l, $ as S, a2 as d, af as M, W as y, X as P, I as L, J as A, ah as x, V as C, U as f, K as O, N as T, L as b, a0 as v, T as B, a4 as R, O as k, M as D, ai as H, ag as I, Q as w, a6 as G, a5 as Q, a8 as z, a7 as E, a9 as F, aa as V, a1 as W, ab as j, Z as J, F as K, w as N, z as U, S as X, D as Y, P as Z, C as _, G as $, B as q } from "./index-BEwdmdrX.js";
|
|
2
2
|
export {
|
|
3
3
|
e as Address,
|
|
4
|
-
t as
|
|
5
|
-
i as
|
|
6
|
-
o as
|
|
7
|
-
r as
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
4
|
+
t as AddressSchema,
|
|
5
|
+
i as AggregateRatingSchema,
|
|
6
|
+
o as Analytics,
|
|
7
|
+
r as AnalyticsContext,
|
|
8
|
+
c as AnalyticsProvider,
|
|
9
|
+
n as AnalyticsScopeProvider,
|
|
10
|
+
p as BaiduMaps,
|
|
11
|
+
u as BaseSchema,
|
|
12
|
+
g as BingMaps,
|
|
13
|
+
h as Clusterer,
|
|
14
|
+
m as CoordinateClass,
|
|
15
|
+
l as Day,
|
|
16
|
+
S as Event,
|
|
17
|
+
d as FAQPage,
|
|
18
|
+
M as GoogleMaps,
|
|
19
|
+
y as HoursStatus,
|
|
20
|
+
P as HoursTable,
|
|
21
|
+
L as Image,
|
|
22
|
+
A as ImageLayoutOption,
|
|
23
|
+
x as LeafletMaps,
|
|
19
24
|
C as LegacyRichText,
|
|
20
|
-
|
|
21
|
-
|
|
25
|
+
f as LexicalRichText,
|
|
26
|
+
O as Link,
|
|
22
27
|
T as LinkTypes,
|
|
23
28
|
b as ListingPublisherOption,
|
|
24
|
-
|
|
25
|
-
|
|
29
|
+
v as LocalBusiness,
|
|
30
|
+
B as LocationMap,
|
|
31
|
+
R as LocationSchema,
|
|
32
|
+
k as Map,
|
|
26
33
|
D as MapProviderOption,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
34
|
+
H as MapQuestMaps,
|
|
35
|
+
I as MapboxMaps,
|
|
36
|
+
w as Marker,
|
|
37
|
+
G as OfferSchema,
|
|
38
|
+
Q as OpeningHoursSchema,
|
|
39
|
+
z as OrganizationSchema,
|
|
40
|
+
E as PerformerSchema,
|
|
41
|
+
F as PhotoGallerySchema,
|
|
42
|
+
V as PhotoSchema,
|
|
43
|
+
W as Product,
|
|
44
|
+
j as ReviewSchema,
|
|
45
|
+
J as SchemaWrapper,
|
|
46
|
+
K as debuggingParamDetected,
|
|
47
|
+
N as getDirections,
|
|
48
|
+
U as useAnalytics,
|
|
49
|
+
X as useClusterContext,
|
|
50
|
+
Y as useIdentify,
|
|
51
|
+
Z as useMapContext,
|
|
52
|
+
_ as usePageView,
|
|
53
|
+
$ as useScope,
|
|
54
|
+
q as useTrack
|
|
39
55
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yext/pages-components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "A React component library that supports Yext Pages development",
|
|
5
5
|
"author": "sumo@yext.com",
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
@@ -71,15 +71,15 @@
|
|
|
71
71
|
"generate-license-file": "^3.0.1",
|
|
72
72
|
"jest-image-snapshot": "^6.4.0",
|
|
73
73
|
"jsdom": "^24.1.0",
|
|
74
|
-
"@playwright/test": "^1.
|
|
75
|
-
"playwright-core": "^1.
|
|
74
|
+
"@playwright/test": "^1.48.2",
|
|
75
|
+
"playwright-core": "^1.48.2",
|
|
76
76
|
"prop-types": "^15.8.1",
|
|
77
77
|
"react": "^18.2.0",
|
|
78
78
|
"react-dom": "^18.2.0",
|
|
79
79
|
"storybook": "^8.2.4",
|
|
80
80
|
"tsup": "^8.0.1",
|
|
81
81
|
"typescript": "^5.3.3",
|
|
82
|
-
"vite": "^5.
|
|
82
|
+
"vite": "^5.4.11",
|
|
83
83
|
"vite-tsconfig-paths": "^4.2.2",
|
|
84
84
|
"vitest": "^1.6.0"
|
|
85
85
|
},
|