@yext/pages-components 1.1.6 → 1.1.8

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.
@@ -1,5 +1,5 @@
1
1
  import zn from "react";
2
- import { n as cr, a as fr, b as Hn, m as K, d as D, s as In, p as Sn, r as Pe, e as De, f as Tn, h as vn, i as me, k as pr, l as hr, o as dr, q as ge, t as bn, u as mr, v as gr } from "./index-C8IsJIMm.js";
2
+ import { n as cr, a as fr, b as Hn, m as K, d as D, s as In, p as Sn, r as Pe, e as De, f as Tn, h as vn, i as me, k as pr, l as hr, o as dr, q as ge, t as bn, u as mr, v as gr } from "./index-CZ9UWAMK.js";
3
3
  function yr(n) {
4
4
  const t = [];
5
5
  let e = -1;
package/dist/index.d.cts CHANGED
@@ -1567,8 +1567,8 @@ interface WeekType {
1567
1567
  sunday?: DayType;
1568
1568
  }
1569
1569
  interface DayType {
1570
- isClosed: boolean;
1571
- openIntervals: IntervalType[];
1570
+ isClosed?: boolean;
1571
+ openIntervals?: IntervalType[];
1572
1572
  }
1573
1573
  interface HolidayType extends DayType {
1574
1574
  date: string;
@@ -1682,82 +1682,10 @@ declare const SchemaWrapper: (json: any) => string;
1682
1682
  declare const BaseSchema: (document: Record<string, any>, schemaType: string) => {
1683
1683
  "@context": string;
1684
1684
  "@type": string;
1685
- name: any;
1686
- };
1685
+ name: string;
1686
+ } | undefined;
1687
1687
 
1688
- declare const Event: (document: Record<string, any>, schemaType?: string) => {
1689
- offers?: {
1690
- "@type": string;
1691
- url: string | undefined;
1692
- priceCurrency: string | undefined;
1693
- price: string | undefined;
1694
- priceValidUntil: string | undefined;
1695
- itemCondition: string | undefined;
1696
- availability: string | undefined;
1697
- } | undefined;
1698
- organizer?: {
1699
- "@type": string;
1700
- name: string | undefined;
1701
- url: string | undefined;
1702
- } | undefined;
1703
- performer?: {
1704
- "@type": string;
1705
- name: string;
1706
- } | undefined;
1707
- startDate: any;
1708
- endDate: any;
1709
- description: any;
1710
- eventAttendanceMode: any;
1711
- eventStatus: any;
1712
- address?: {
1713
- "@type": string;
1714
- streetAddress: string;
1715
- addressLocality: string;
1716
- addressRegion: string | undefined;
1717
- postalCode: string;
1718
- addressCountry: string;
1719
- } | undefined;
1720
- "@type": string;
1721
- name: any;
1722
- image?: undefined;
1723
- "@context": string;
1724
- } | {
1725
- offers?: {
1726
- "@type": string;
1727
- url: string | undefined;
1728
- priceCurrency: string | undefined;
1729
- price: string | undefined;
1730
- priceValidUntil: string | undefined;
1731
- itemCondition: string | undefined;
1732
- availability: string | undefined;
1733
- } | undefined;
1734
- organizer?: {
1735
- "@type": string;
1736
- name: string | undefined;
1737
- url: string | undefined;
1738
- } | undefined;
1739
- performer?: {
1740
- "@type": string;
1741
- name: string;
1742
- } | undefined;
1743
- startDate: any;
1744
- endDate: any;
1745
- description: any;
1746
- eventAttendanceMode: any;
1747
- eventStatus: any;
1748
- address?: {
1749
- "@type": string;
1750
- streetAddress: string;
1751
- addressLocality: string;
1752
- addressRegion: string | undefined;
1753
- postalCode: string;
1754
- addressCountry: string;
1755
- } | undefined;
1756
- "@type": string;
1757
- name: any;
1758
- image: string[];
1759
- "@context": string;
1760
- };
1688
+ declare const Event: (document: Record<string, any>, schemaType?: string) => any;
1761
1689
 
1762
1690
  declare const LocalBusiness: (document: Record<string, any>, schemaType?: string) => {
1763
1691
  description: any;
@@ -1773,9 +1701,9 @@ declare const LocalBusiness: (document: Record<string, any>, schemaType?: string
1773
1701
  postalCode: string;
1774
1702
  addressCountry: string;
1775
1703
  } | undefined;
1776
- "@context": string;
1777
- "@type": string;
1778
- name: any;
1704
+ "@context"?: string | undefined;
1705
+ "@type"?: string | undefined;
1706
+ name?: string | undefined;
1779
1707
  } | {
1780
1708
  description: any;
1781
1709
  telephone: any;
@@ -1790,9 +1718,9 @@ declare const LocalBusiness: (document: Record<string, any>, schemaType?: string
1790
1718
  postalCode: string;
1791
1719
  addressCountry: string;
1792
1720
  } | undefined;
1793
- "@context": string;
1794
- "@type": string;
1795
- name: any;
1721
+ "@context"?: string | undefined;
1722
+ "@type"?: string | undefined;
1723
+ name?: string | undefined;
1796
1724
  } | {
1797
1725
  description: any;
1798
1726
  telephone: any;
@@ -1807,9 +1735,9 @@ declare const LocalBusiness: (document: Record<string, any>, schemaType?: string
1807
1735
  postalCode: string;
1808
1736
  addressCountry: string;
1809
1737
  } | undefined;
1810
- "@context": string;
1811
- "@type": string;
1812
- name: any;
1738
+ "@context"?: string | undefined;
1739
+ "@type"?: string | undefined;
1740
+ name?: string | undefined;
1813
1741
  } | {
1814
1742
  description: any;
1815
1743
  telephone: any;
@@ -1824,88 +1752,12 @@ declare const LocalBusiness: (document: Record<string, any>, schemaType?: string
1824
1752
  postalCode: string;
1825
1753
  addressCountry: string;
1826
1754
  } | undefined;
1827
- "@context": string;
1828
- "@type": string;
1829
- name: any;
1755
+ "@context"?: string | undefined;
1756
+ "@type"?: string | undefined;
1757
+ name?: string | undefined;
1830
1758
  };
1831
1759
 
1832
- declare const Product: (document: Record<string, any>, schemaType?: string) => {
1833
- description: any;
1834
- sku: any;
1835
- mpn: any;
1836
- brand: {
1837
- "@type": string;
1838
- name: any;
1839
- };
1840
- offers?: {
1841
- "@type": string;
1842
- url: string | undefined;
1843
- priceCurrency: string | undefined;
1844
- price: string | undefined;
1845
- priceValidUntil: string | undefined;
1846
- itemCondition: string | undefined;
1847
- availability: string | undefined;
1848
- } | undefined;
1849
- aggregateRating?: {
1850
- "@type": string;
1851
- ratingValue: string | undefined;
1852
- reviewCount: string | undefined;
1853
- } | undefined;
1854
- review?: {
1855
- "@type": string;
1856
- reviewRating: {
1857
- "@type": string;
1858
- ratingValue: string | undefined;
1859
- bestRating: string | undefined;
1860
- };
1861
- author: {
1862
- "@type": string;
1863
- name: string | undefined;
1864
- };
1865
- } | undefined;
1866
- image?: undefined;
1867
- "@context": string;
1868
- "@type": string;
1869
- name: any;
1870
- } | {
1871
- description: any;
1872
- sku: any;
1873
- mpn: any;
1874
- brand: {
1875
- "@type": string;
1876
- name: any;
1877
- };
1878
- offers?: {
1879
- "@type": string;
1880
- url: string | undefined;
1881
- priceCurrency: string | undefined;
1882
- price: string | undefined;
1883
- priceValidUntil: string | undefined;
1884
- itemCondition: string | undefined;
1885
- availability: string | undefined;
1886
- } | undefined;
1887
- aggregateRating?: {
1888
- "@type": string;
1889
- ratingValue: string | undefined;
1890
- reviewCount: string | undefined;
1891
- } | undefined;
1892
- review?: {
1893
- "@type": string;
1894
- reviewRating: {
1895
- "@type": string;
1896
- ratingValue: string | undefined;
1897
- bestRating: string | undefined;
1898
- };
1899
- author: {
1900
- "@type": string;
1901
- name: string | undefined;
1902
- };
1903
- } | undefined;
1904
- image: string[];
1905
- "@context": string;
1906
- "@type": string;
1907
- name: any;
1908
- };
1760
+ declare const Product: (document: Record<string, any>, schemaType?: string) => any;
1909
1761
 
1910
1762
  type RTF2 = {
1911
1763
  json?: Record<string, any>;
@@ -1919,6 +1771,7 @@ type RichTextFAQ = {
1919
1771
  question: string;
1920
1772
  answerV2: RTF2;
1921
1773
  };
1774
+ declare function getRichTextContent(answer: RTF2): string;
1922
1775
  declare const FAQPage: (data: FAQ[]) => {
1923
1776
  "@context": string;
1924
1777
  "@type": string;
@@ -1930,7 +1783,7 @@ declare const FAQPage: (data: FAQ[]) => {
1930
1783
  text: string;
1931
1784
  };
1932
1785
  } | undefined)[];
1933
- };
1786
+ } | undefined;
1934
1787
 
1935
1788
  type Location = {
1936
1789
  name?: string;
@@ -1971,8 +1824,9 @@ type Offer = {
1971
1824
  price?: string;
1972
1825
  priceValidUntil?: string;
1973
1826
  itemCondition?: string;
1974
- availability?: string;
1827
+ availability?: (typeof availabilityOptions)[number];
1975
1828
  };
1829
+ declare const availabilityOptions: string[];
1976
1830
  declare const OfferSchema: (offer?: Offer) => false | {
1977
1831
  offers: {
1978
1832
  "@type": string;
@@ -1997,9 +1851,9 @@ declare const PerformerSchema: (performers?: string[]) => false | {
1997
1851
  };
1998
1852
  declare const OrganizationSchema: (org?: Organization) => false | {
1999
1853
  organizer: {
1854
+ url?: string | undefined;
2000
1855
  "@type": string;
2001
1856
  name: string | undefined;
2002
- url: string | undefined;
2003
1857
  };
2004
1858
  };
2005
1859
 
@@ -2027,16 +1881,16 @@ type AggregateRating = {
2027
1881
  };
2028
1882
  declare const ReviewSchema: (review?: Review) => false | {
2029
1883
  review: {
1884
+ author?: {
1885
+ "@type": string;
1886
+ name: string;
1887
+ } | undefined;
2030
1888
  "@type": string;
2031
1889
  reviewRating: {
2032
1890
  "@type": string;
2033
1891
  ratingValue: string | undefined;
2034
1892
  bestRating: string | undefined;
2035
1893
  };
2036
- author: {
2037
- "@type": string;
2038
- name: string | undefined;
2039
- };
2040
1894
  };
2041
1895
  };
2042
1896
  declare const AggregateRatingSchema: (rating?: AggregateRating) => {
@@ -2059,4 +1913,4 @@ declare const LeafletMaps: MapProvider;
2059
1913
 
2060
1914
  declare const MapQuestMaps: MapProvider;
2061
1915
 
2062
- 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, 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 };
1916
+ 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, 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, getRichTextContent, useAnalytics, useClusterContext, useIdentify, useMapContext, usePageView, useScope, useTrack };
package/dist/index.d.ts CHANGED
@@ -1567,8 +1567,8 @@ interface WeekType {
1567
1567
  sunday?: DayType;
1568
1568
  }
1569
1569
  interface DayType {
1570
- isClosed: boolean;
1571
- openIntervals: IntervalType[];
1570
+ isClosed?: boolean;
1571
+ openIntervals?: IntervalType[];
1572
1572
  }
1573
1573
  interface HolidayType extends DayType {
1574
1574
  date: string;
@@ -1682,82 +1682,10 @@ declare const SchemaWrapper: (json: any) => string;
1682
1682
  declare const BaseSchema: (document: Record<string, any>, schemaType: string) => {
1683
1683
  "@context": string;
1684
1684
  "@type": string;
1685
- name: any;
1686
- };
1685
+ name: string;
1686
+ } | undefined;
1687
1687
 
1688
- declare const Event: (document: Record<string, any>, schemaType?: string) => {
1689
- offers?: {
1690
- "@type": string;
1691
- url: string | undefined;
1692
- priceCurrency: string | undefined;
1693
- price: string | undefined;
1694
- priceValidUntil: string | undefined;
1695
- itemCondition: string | undefined;
1696
- availability: string | undefined;
1697
- } | undefined;
1698
- organizer?: {
1699
- "@type": string;
1700
- name: string | undefined;
1701
- url: string | undefined;
1702
- } | undefined;
1703
- performer?: {
1704
- "@type": string;
1705
- name: string;
1706
- } | undefined;
1707
- startDate: any;
1708
- endDate: any;
1709
- description: any;
1710
- eventAttendanceMode: any;
1711
- eventStatus: any;
1712
- address?: {
1713
- "@type": string;
1714
- streetAddress: string;
1715
- addressLocality: string;
1716
- addressRegion: string | undefined;
1717
- postalCode: string;
1718
- addressCountry: string;
1719
- } | undefined;
1720
- "@type": string;
1721
- name: any;
1722
- image?: undefined;
1723
- "@context": string;
1724
- } | {
1725
- offers?: {
1726
- "@type": string;
1727
- url: string | undefined;
1728
- priceCurrency: string | undefined;
1729
- price: string | undefined;
1730
- priceValidUntil: string | undefined;
1731
- itemCondition: string | undefined;
1732
- availability: string | undefined;
1733
- } | undefined;
1734
- organizer?: {
1735
- "@type": string;
1736
- name: string | undefined;
1737
- url: string | undefined;
1738
- } | undefined;
1739
- performer?: {
1740
- "@type": string;
1741
- name: string;
1742
- } | undefined;
1743
- startDate: any;
1744
- endDate: any;
1745
- description: any;
1746
- eventAttendanceMode: any;
1747
- eventStatus: any;
1748
- address?: {
1749
- "@type": string;
1750
- streetAddress: string;
1751
- addressLocality: string;
1752
- addressRegion: string | undefined;
1753
- postalCode: string;
1754
- addressCountry: string;
1755
- } | undefined;
1756
- "@type": string;
1757
- name: any;
1758
- image: string[];
1759
- "@context": string;
1760
- };
1688
+ declare const Event: (document: Record<string, any>, schemaType?: string) => any;
1761
1689
 
1762
1690
  declare const LocalBusiness: (document: Record<string, any>, schemaType?: string) => {
1763
1691
  description: any;
@@ -1773,9 +1701,9 @@ declare const LocalBusiness: (document: Record<string, any>, schemaType?: string
1773
1701
  postalCode: string;
1774
1702
  addressCountry: string;
1775
1703
  } | undefined;
1776
- "@context": string;
1777
- "@type": string;
1778
- name: any;
1704
+ "@context"?: string | undefined;
1705
+ "@type"?: string | undefined;
1706
+ name?: string | undefined;
1779
1707
  } | {
1780
1708
  description: any;
1781
1709
  telephone: any;
@@ -1790,9 +1718,9 @@ declare const LocalBusiness: (document: Record<string, any>, schemaType?: string
1790
1718
  postalCode: string;
1791
1719
  addressCountry: string;
1792
1720
  } | undefined;
1793
- "@context": string;
1794
- "@type": string;
1795
- name: any;
1721
+ "@context"?: string | undefined;
1722
+ "@type"?: string | undefined;
1723
+ name?: string | undefined;
1796
1724
  } | {
1797
1725
  description: any;
1798
1726
  telephone: any;
@@ -1807,9 +1735,9 @@ declare const LocalBusiness: (document: Record<string, any>, schemaType?: string
1807
1735
  postalCode: string;
1808
1736
  addressCountry: string;
1809
1737
  } | undefined;
1810
- "@context": string;
1811
- "@type": string;
1812
- name: any;
1738
+ "@context"?: string | undefined;
1739
+ "@type"?: string | undefined;
1740
+ name?: string | undefined;
1813
1741
  } | {
1814
1742
  description: any;
1815
1743
  telephone: any;
@@ -1824,88 +1752,12 @@ declare const LocalBusiness: (document: Record<string, any>, schemaType?: string
1824
1752
  postalCode: string;
1825
1753
  addressCountry: string;
1826
1754
  } | undefined;
1827
- "@context": string;
1828
- "@type": string;
1829
- name: any;
1755
+ "@context"?: string | undefined;
1756
+ "@type"?: string | undefined;
1757
+ name?: string | undefined;
1830
1758
  };
1831
1759
 
1832
- declare const Product: (document: Record<string, any>, schemaType?: string) => {
1833
- description: any;
1834
- sku: any;
1835
- mpn: any;
1836
- brand: {
1837
- "@type": string;
1838
- name: any;
1839
- };
1840
- offers?: {
1841
- "@type": string;
1842
- url: string | undefined;
1843
- priceCurrency: string | undefined;
1844
- price: string | undefined;
1845
- priceValidUntil: string | undefined;
1846
- itemCondition: string | undefined;
1847
- availability: string | undefined;
1848
- } | undefined;
1849
- aggregateRating?: {
1850
- "@type": string;
1851
- ratingValue: string | undefined;
1852
- reviewCount: string | undefined;
1853
- } | undefined;
1854
- review?: {
1855
- "@type": string;
1856
- reviewRating: {
1857
- "@type": string;
1858
- ratingValue: string | undefined;
1859
- bestRating: string | undefined;
1860
- };
1861
- author: {
1862
- "@type": string;
1863
- name: string | undefined;
1864
- };
1865
- } | undefined;
1866
- image?: undefined;
1867
- "@context": string;
1868
- "@type": string;
1869
- name: any;
1870
- } | {
1871
- description: any;
1872
- sku: any;
1873
- mpn: any;
1874
- brand: {
1875
- "@type": string;
1876
- name: any;
1877
- };
1878
- offers?: {
1879
- "@type": string;
1880
- url: string | undefined;
1881
- priceCurrency: string | undefined;
1882
- price: string | undefined;
1883
- priceValidUntil: string | undefined;
1884
- itemCondition: string | undefined;
1885
- availability: string | undefined;
1886
- } | undefined;
1887
- aggregateRating?: {
1888
- "@type": string;
1889
- ratingValue: string | undefined;
1890
- reviewCount: string | undefined;
1891
- } | undefined;
1892
- review?: {
1893
- "@type": string;
1894
- reviewRating: {
1895
- "@type": string;
1896
- ratingValue: string | undefined;
1897
- bestRating: string | undefined;
1898
- };
1899
- author: {
1900
- "@type": string;
1901
- name: string | undefined;
1902
- };
1903
- } | undefined;
1904
- image: string[];
1905
- "@context": string;
1906
- "@type": string;
1907
- name: any;
1908
- };
1760
+ declare const Product: (document: Record<string, any>, schemaType?: string) => any;
1909
1761
 
1910
1762
  type RTF2 = {
1911
1763
  json?: Record<string, any>;
@@ -1919,6 +1771,7 @@ type RichTextFAQ = {
1919
1771
  question: string;
1920
1772
  answerV2: RTF2;
1921
1773
  };
1774
+ declare function getRichTextContent(answer: RTF2): string;
1922
1775
  declare const FAQPage: (data: FAQ[]) => {
1923
1776
  "@context": string;
1924
1777
  "@type": string;
@@ -1930,7 +1783,7 @@ declare const FAQPage: (data: FAQ[]) => {
1930
1783
  text: string;
1931
1784
  };
1932
1785
  } | undefined)[];
1933
- };
1786
+ } | undefined;
1934
1787
 
1935
1788
  type Location = {
1936
1789
  name?: string;
@@ -1971,8 +1824,9 @@ type Offer = {
1971
1824
  price?: string;
1972
1825
  priceValidUntil?: string;
1973
1826
  itemCondition?: string;
1974
- availability?: string;
1827
+ availability?: (typeof availabilityOptions)[number];
1975
1828
  };
1829
+ declare const availabilityOptions: string[];
1976
1830
  declare const OfferSchema: (offer?: Offer) => false | {
1977
1831
  offers: {
1978
1832
  "@type": string;
@@ -1997,9 +1851,9 @@ declare const PerformerSchema: (performers?: string[]) => false | {
1997
1851
  };
1998
1852
  declare const OrganizationSchema: (org?: Organization) => false | {
1999
1853
  organizer: {
1854
+ url?: string | undefined;
2000
1855
  "@type": string;
2001
1856
  name: string | undefined;
2002
- url: string | undefined;
2003
1857
  };
2004
1858
  };
2005
1859
 
@@ -2027,16 +1881,16 @@ type AggregateRating = {
2027
1881
  };
2028
1882
  declare const ReviewSchema: (review?: Review) => false | {
2029
1883
  review: {
1884
+ author?: {
1885
+ "@type": string;
1886
+ name: string;
1887
+ } | undefined;
2030
1888
  "@type": string;
2031
1889
  reviewRating: {
2032
1890
  "@type": string;
2033
1891
  ratingValue: string | undefined;
2034
1892
  bestRating: string | undefined;
2035
1893
  };
2036
- author: {
2037
- "@type": string;
2038
- name: string | undefined;
2039
- };
2040
1894
  };
2041
1895
  };
2042
1896
  declare const AggregateRatingSchema: (rating?: AggregateRating) => {
@@ -2059,4 +1913,4 @@ declare const LeafletMaps: MapProvider;
2059
1913
 
2060
1914
  declare const MapQuestMaps: MapProvider;
2061
1915
 
2062
- 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, 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 };
1916
+ 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, 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, getRichTextContent, useAnalytics, useClusterContext, useIdentify, useMapContext, usePageView, useScope, useTrack };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BbVj7quu.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.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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CJMukuXt.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.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.getRichTextContent=e.getRichTextContent;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;
@@ -1,4 +1,4 @@
1
- import { A as e, a2 as t, ab as i, x as o, y as r, E as c, H as n, ac as p, Z as u, ad as g, Q as h, ai as m, X as l, _ as S, a1 as d, ae as M, V as P, W as y, I as A, J as L, ag as x, U as C, T as f, K as O, L as b, $ as v, S as B, a3 as R, N as T, M as D, ah as H, af as I, P as k, a5 as w, a4 as G, a7 as Q, a6 as z, a8 as E, a9 as F, a0 as V, aa as W, Y as J, F as K, w as N, z as U, R as X, D as Y, O as Z, C as _, G as $, B as j } from "./index-C8IsJIMm.js";
1
+ import { A as e, a3 as t, ab as i, x as o, y as r, E as c, H as n, ad as p, Z as g, ae as u, Q as h, aj as m, X as l, _ as S, a1 as d, af as M, V as P, W as y, I as x, J as A, ah as L, U as C, T as f, K as O, L as R, $ as T, S as b, a4 as v, N as B, M as D, ai as H, ag as I, P as k, a6 as w, a5 as G, a8 as Q, a7 as z, a9 as E, aa as F, a0 as V, ac as W, Y as j, F as J, w as K, a2 as N, z as U, R as X, D as Y, O as Z, C as _, G as $, B as q } from "./index-CZ9UWAMK.js";
2
2
  export {
3
3
  e as Address,
4
4
  t as AddressSchema,
@@ -8,8 +8,8 @@ export {
8
8
  c as AnalyticsProvider,
9
9
  n as AnalyticsScopeProvider,
10
10
  p as BaiduMaps,
11
- u as BaseSchema,
12
- g as BingMaps,
11
+ g as BaseSchema,
12
+ u as BingMaps,
13
13
  h as Clusterer,
14
14
  m as CoordinateClass,
15
15
  l as Day,
@@ -18,17 +18,17 @@ export {
18
18
  M as GoogleMaps,
19
19
  P as HoursStatus,
20
20
  y as HoursTable,
21
- A as Image,
22
- L as ImageLayoutOption,
23
- x as LeafletMaps,
21
+ x as Image,
22
+ A as ImageLayoutOption,
23
+ L as LeafletMaps,
24
24
  C as LegacyRichText,
25
25
  f as LexicalRichText,
26
26
  O as Link,
27
- b as ListingPublisherOption,
28
- v as LocalBusiness,
29
- B as LocationMap,
30
- R as LocationSchema,
31
- T as Map,
27
+ R as ListingPublisherOption,
28
+ T as LocalBusiness,
29
+ b as LocationMap,
30
+ v as LocationSchema,
31
+ B as Map,
32
32
  D as MapProviderOption,
33
33
  H as MapQuestMaps,
34
34
  I as MapboxMaps,
@@ -41,14 +41,15 @@ export {
41
41
  F as PhotoSchema,
42
42
  V as Product,
43
43
  W as ReviewSchema,
44
- J as SchemaWrapper,
45
- K as debuggingParamDetected,
46
- N as getDirections,
44
+ j as SchemaWrapper,
45
+ J as debuggingParamDetected,
46
+ K as getDirections,
47
+ N as getRichTextContent,
47
48
  U as useAnalytics,
48
49
  X as useClusterContext,
49
50
  Y as useIdentify,
50
51
  Z as useMapContext,
51
52
  _ as usePageView,
52
53
  $ as useScope,
53
- j as useTrack
54
+ q as useTrack
54
55
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yext/pages-components",
3
- "version": "1.1.6",
3
+ "version": "1.1.8",
4
4
  "description": "A React component library that supports Yext Pages development",
5
5
  "author": "sumo@yext.com",
6
6
  "license": "BSD-3-Clause",