@yext/pages-components 1.1.8 → 1.1.9

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/index.d.cts CHANGED
@@ -144,7 +144,7 @@ interface TemplateProps<T = Record<string, any>> {
144
144
 
145
145
  type TrackProps = {
146
146
  action: Action;
147
- destinationUrl: string;
147
+ destinationUrl?: string;
148
148
  scope?: string;
149
149
  eventName: string;
150
150
  amount?: number;
@@ -1557,6 +1557,41 @@ declare const LegacyRichText: (props: {
1557
1557
  markdown: string;
1558
1558
  }) => ReactElement<any, string | React$1.JSXElementConstructor<any>> | null;
1559
1559
 
1560
+ declare class HoursInterval {
1561
+ end: DateTime;
1562
+ start: DateTime;
1563
+ /**
1564
+ * @param date - DateTime the DateTime for the day on which the interval starts
1565
+ * @param interval - the Yext Streams interval data
1566
+ */
1567
+ constructor(date: DateTime, interval: IntervalType, zone: string);
1568
+ /**
1569
+ * @param date - A moment in time
1570
+ * @returns boolean - True if the given moment is within the interval
1571
+ */
1572
+ contains(date: DateTime): boolean;
1573
+ /**
1574
+ * @param opts - intl.DateTimeFormatOptions
1575
+ * @param locale - defaults to 'en-US'
1576
+ * @returns string - representation of this interval's start time
1577
+ */
1578
+ getStartTime(locale?: string, opts?: Intl.DateTimeFormatOptions): string;
1579
+ /**
1580
+ * @param opts - intl.DateTimeFormatOptions
1581
+ * @param locale - defaults to 'en-US'
1582
+ * @returns string representation of this interval's end time
1583
+ */
1584
+ getEndTime(locale?: string, opts?: Intl.DateTimeFormatOptions): string;
1585
+ /**
1586
+ * @returns boolean if this interval and 'other' have the same start/end
1587
+ */
1588
+ timeIsEqualTo(other: HoursInterval): boolean;
1589
+ /**
1590
+ * @returns boolean if this interval is 24 hours
1591
+ */
1592
+ is24h(): boolean;
1593
+ }
1594
+
1560
1595
  interface WeekType {
1561
1596
  monday?: DayType;
1562
1597
  tuesday?: DayType;
@@ -1597,8 +1632,20 @@ interface HoursTableProps {
1597
1632
  collapseDays?: boolean;
1598
1633
  /** Override rendering for the interval on each table row */
1599
1634
  intervalStringsBuilderFn?: (h: HoursTableDayData, t?: Intl.DateTimeFormatOptions) => string[];
1635
+ /** Override values for hardcoded strings */
1636
+ intervalTranslations?: HoursTableIntervalTranslations;
1600
1637
  className?: string;
1601
1638
  }
1639
+ interface HoursTableIntervalTranslations {
1640
+ /** Displayed when an interval is marked as closed */
1641
+ isClosed?: string;
1642
+ /** Displayed when an interval is marked as open 24 hours */
1643
+ open24Hours?: string;
1644
+ /** Displayed when there is a reopen date set */
1645
+ reopenDate?: string;
1646
+ /** Sets the locale for time interval formatting */
1647
+ timeFormatLocale?: string;
1648
+ }
1602
1649
  interface HoursTableDayData {
1603
1650
  dayName: string;
1604
1651
  intervals: HoursInterval[];
@@ -1615,64 +1662,46 @@ declare enum Day {
1615
1662
  Saturday = "SATURDAY",
1616
1663
  Sunday = "SUNDAY"
1617
1664
  }
1618
-
1619
- declare class HoursInterval {
1620
- end: DateTime;
1621
- start: DateTime;
1622
- /**
1623
- * @param date - DateTime the DateTime for the day on which the interval starts
1624
- * @param interval - the Yext Streams interval data
1625
- */
1626
- constructor(date: DateTime, interval: IntervalType, zone: string);
1627
- /**
1628
- * @param date - A moment in time
1629
- * @returns boolean - True if the given moment is within the interval
1630
- */
1631
- contains(date: DateTime): boolean;
1632
- /**
1633
- * @param opts - intl.DateTimeFormatOptions
1634
- * @param locale - defaults to 'en-US'
1635
- * @returns string - representation of this interval's start time
1636
- */
1637
- getStartTime(locale?: string, opts?: Intl.DateTimeFormatOptions): string;
1638
- /**
1639
- * @param opts - intl.DateTimeFormatOptions
1640
- * @param locale - defaults to 'en-US'
1641
- * @returns string representation of this interval's end time
1642
- */
1643
- getEndTime(locale?: string, opts?: Intl.DateTimeFormatOptions): string;
1644
- /**
1645
- * @returns boolean if this interval and 'other' have the same start/end
1646
- */
1647
- timeIsEqualTo(other: HoursInterval): boolean;
1648
- /**
1649
- * @returns boolean if this interval is 24 hours
1650
- */
1651
- is24h(): boolean;
1652
- }
1653
-
1654
1665
  interface StatusParams {
1666
+ /** Whether the entity is currently open */
1655
1667
  isOpen: boolean;
1668
+ /** The first interval that contains the current time */
1656
1669
  currentInterval: HoursInterval | null;
1670
+ /** The next interval that hasn't started */
1657
1671
  futureInterval: HoursInterval | null;
1672
+ /** Formatting intended for the "time" part of this component "Open Now - closes at [[5:00PM]] Monday" */
1658
1673
  timeOptions?: Intl.DateTimeFormatOptions;
1674
+ /** Formatting intended for the "day" part of this component "Open Now - closes at 5:00PM [[Monday]]" */
1659
1675
  dayOptions?: Intl.DateTimeFormatOptions;
1660
1676
  }
1661
1677
  interface TemplateParams {
1662
- currentTemplate?: (s: StatusParams) => React__default.ReactNode;
1663
- separatorTemplate?: (s: StatusParams) => React__default.ReactNode;
1664
- futureTemplate?: (s: StatusParams) => React__default.ReactNode;
1665
- timeTemplate?: (s: StatusParams) => React__default.ReactNode;
1666
- dayOfWeekTemplate?: (s: StatusParams) => React__default.ReactNode;
1678
+ /** Override rendering for the "current" part of this component "[[Open Now]] - closes at 5:00PM Monday" */
1679
+ currentTemplate?: (s: StatusParams) => React.ReactNode;
1680
+ /** Override rendering for the "separator" part of this component "Open Now [[-]] closes at 5:00PM Monday" */
1681
+ separatorTemplate?: (s: StatusParams) => React.ReactNode;
1682
+ /** FutureTemplate override rendering for the "future" part of this component "Open Now - [[closes at]] 5:00PM Monday" */
1683
+ futureTemplate?: (s: StatusParams) => React.ReactNode;
1684
+ /** Override rendering for the "time" part of this component "Open Now - closes at [[5:00PM]] Monday" */
1685
+ timeTemplate?: (s: StatusParams) => React.ReactNode;
1686
+ /** Override rendering for the "dayOfWeek" part of this component "Open Now - closes at 5:00PM [[Monday]]" */
1687
+ dayOfWeekTemplate?: (s: StatusParams) => React.ReactNode;
1688
+ }
1689
+ interface StatusTemplateParams extends StatusParams, TemplateParams {
1667
1690
  }
1668
1691
  interface HoursStatusProps extends TemplateParams {
1692
+ /** Hours data from Yext Streams */
1669
1693
  hours: HoursType;
1694
+ /** The IANA or UTC Offset timezone of the hours data from Yext Streams */
1670
1695
  timezone: string;
1696
+ /** Formatting for the "time" part of this component "Open Now - closes at [[5:00PM]] Monday" */
1671
1697
  timeOptions?: Intl.DateTimeFormatOptions;
1698
+ /** Formatting for the "day" part of this component "Open Now - closes at 5:00PM [[Monday]]" */
1672
1699
  dayOptions?: Intl.DateTimeFormatOptions;
1673
- statusTemplate?: (s: StatusParams) => React__default.ReactNode;
1700
+ /** Completely override rendering for this component */
1701
+ statusTemplate?: (s: StatusParams) => React.ReactNode;
1674
1702
  className?: string;
1675
1703
  }
1704
+
1676
1705
  declare const HoursStatus: React__default.FC<HoursStatusProps>;
1677
1706
 
1678
1707
  declare const HoursTable: React__default.FC<HoursTableProps>;
@@ -1913,4 +1942,4 @@ declare const LeafletMaps: MapProvider;
1913
1942
 
1914
1943
  declare const MapQuestMaps: MapProvider;
1915
1944
 
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 };
1945
+ 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, type HoursStatusProps, HoursTable, type HoursTableDayData, type HoursTableIntervalTranslations, 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 StatusParams, type StatusTemplateParams, type TemplateParams, type ThumbnailType, type WeekType, debuggingParamDetected, getDirections, getRichTextContent, useAnalytics, useClusterContext, useIdentify, useMapContext, usePageView, useScope, useTrack };
package/dist/index.d.ts CHANGED
@@ -144,7 +144,7 @@ interface TemplateProps<T = Record<string, any>> {
144
144
 
145
145
  type TrackProps = {
146
146
  action: Action;
147
- destinationUrl: string;
147
+ destinationUrl?: string;
148
148
  scope?: string;
149
149
  eventName: string;
150
150
  amount?: number;
@@ -1557,6 +1557,41 @@ declare const LegacyRichText: (props: {
1557
1557
  markdown: string;
1558
1558
  }) => ReactElement<any, string | React$1.JSXElementConstructor<any>> | null;
1559
1559
 
1560
+ declare class HoursInterval {
1561
+ end: DateTime;
1562
+ start: DateTime;
1563
+ /**
1564
+ * @param date - DateTime the DateTime for the day on which the interval starts
1565
+ * @param interval - the Yext Streams interval data
1566
+ */
1567
+ constructor(date: DateTime, interval: IntervalType, zone: string);
1568
+ /**
1569
+ * @param date - A moment in time
1570
+ * @returns boolean - True if the given moment is within the interval
1571
+ */
1572
+ contains(date: DateTime): boolean;
1573
+ /**
1574
+ * @param opts - intl.DateTimeFormatOptions
1575
+ * @param locale - defaults to 'en-US'
1576
+ * @returns string - representation of this interval's start time
1577
+ */
1578
+ getStartTime(locale?: string, opts?: Intl.DateTimeFormatOptions): string;
1579
+ /**
1580
+ * @param opts - intl.DateTimeFormatOptions
1581
+ * @param locale - defaults to 'en-US'
1582
+ * @returns string representation of this interval's end time
1583
+ */
1584
+ getEndTime(locale?: string, opts?: Intl.DateTimeFormatOptions): string;
1585
+ /**
1586
+ * @returns boolean if this interval and 'other' have the same start/end
1587
+ */
1588
+ timeIsEqualTo(other: HoursInterval): boolean;
1589
+ /**
1590
+ * @returns boolean if this interval is 24 hours
1591
+ */
1592
+ is24h(): boolean;
1593
+ }
1594
+
1560
1595
  interface WeekType {
1561
1596
  monday?: DayType;
1562
1597
  tuesday?: DayType;
@@ -1597,8 +1632,20 @@ interface HoursTableProps {
1597
1632
  collapseDays?: boolean;
1598
1633
  /** Override rendering for the interval on each table row */
1599
1634
  intervalStringsBuilderFn?: (h: HoursTableDayData, t?: Intl.DateTimeFormatOptions) => string[];
1635
+ /** Override values for hardcoded strings */
1636
+ intervalTranslations?: HoursTableIntervalTranslations;
1600
1637
  className?: string;
1601
1638
  }
1639
+ interface HoursTableIntervalTranslations {
1640
+ /** Displayed when an interval is marked as closed */
1641
+ isClosed?: string;
1642
+ /** Displayed when an interval is marked as open 24 hours */
1643
+ open24Hours?: string;
1644
+ /** Displayed when there is a reopen date set */
1645
+ reopenDate?: string;
1646
+ /** Sets the locale for time interval formatting */
1647
+ timeFormatLocale?: string;
1648
+ }
1602
1649
  interface HoursTableDayData {
1603
1650
  dayName: string;
1604
1651
  intervals: HoursInterval[];
@@ -1615,64 +1662,46 @@ declare enum Day {
1615
1662
  Saturday = "SATURDAY",
1616
1663
  Sunday = "SUNDAY"
1617
1664
  }
1618
-
1619
- declare class HoursInterval {
1620
- end: DateTime;
1621
- start: DateTime;
1622
- /**
1623
- * @param date - DateTime the DateTime for the day on which the interval starts
1624
- * @param interval - the Yext Streams interval data
1625
- */
1626
- constructor(date: DateTime, interval: IntervalType, zone: string);
1627
- /**
1628
- * @param date - A moment in time
1629
- * @returns boolean - True if the given moment is within the interval
1630
- */
1631
- contains(date: DateTime): boolean;
1632
- /**
1633
- * @param opts - intl.DateTimeFormatOptions
1634
- * @param locale - defaults to 'en-US'
1635
- * @returns string - representation of this interval's start time
1636
- */
1637
- getStartTime(locale?: string, opts?: Intl.DateTimeFormatOptions): string;
1638
- /**
1639
- * @param opts - intl.DateTimeFormatOptions
1640
- * @param locale - defaults to 'en-US'
1641
- * @returns string representation of this interval's end time
1642
- */
1643
- getEndTime(locale?: string, opts?: Intl.DateTimeFormatOptions): string;
1644
- /**
1645
- * @returns boolean if this interval and 'other' have the same start/end
1646
- */
1647
- timeIsEqualTo(other: HoursInterval): boolean;
1648
- /**
1649
- * @returns boolean if this interval is 24 hours
1650
- */
1651
- is24h(): boolean;
1652
- }
1653
-
1654
1665
  interface StatusParams {
1666
+ /** Whether the entity is currently open */
1655
1667
  isOpen: boolean;
1668
+ /** The first interval that contains the current time */
1656
1669
  currentInterval: HoursInterval | null;
1670
+ /** The next interval that hasn't started */
1657
1671
  futureInterval: HoursInterval | null;
1672
+ /** Formatting intended for the "time" part of this component "Open Now - closes at [[5:00PM]] Monday" */
1658
1673
  timeOptions?: Intl.DateTimeFormatOptions;
1674
+ /** Formatting intended for the "day" part of this component "Open Now - closes at 5:00PM [[Monday]]" */
1659
1675
  dayOptions?: Intl.DateTimeFormatOptions;
1660
1676
  }
1661
1677
  interface TemplateParams {
1662
- currentTemplate?: (s: StatusParams) => React__default.ReactNode;
1663
- separatorTemplate?: (s: StatusParams) => React__default.ReactNode;
1664
- futureTemplate?: (s: StatusParams) => React__default.ReactNode;
1665
- timeTemplate?: (s: StatusParams) => React__default.ReactNode;
1666
- dayOfWeekTemplate?: (s: StatusParams) => React__default.ReactNode;
1678
+ /** Override rendering for the "current" part of this component "[[Open Now]] - closes at 5:00PM Monday" */
1679
+ currentTemplate?: (s: StatusParams) => React.ReactNode;
1680
+ /** Override rendering for the "separator" part of this component "Open Now [[-]] closes at 5:00PM Monday" */
1681
+ separatorTemplate?: (s: StatusParams) => React.ReactNode;
1682
+ /** FutureTemplate override rendering for the "future" part of this component "Open Now - [[closes at]] 5:00PM Monday" */
1683
+ futureTemplate?: (s: StatusParams) => React.ReactNode;
1684
+ /** Override rendering for the "time" part of this component "Open Now - closes at [[5:00PM]] Monday" */
1685
+ timeTemplate?: (s: StatusParams) => React.ReactNode;
1686
+ /** Override rendering for the "dayOfWeek" part of this component "Open Now - closes at 5:00PM [[Monday]]" */
1687
+ dayOfWeekTemplate?: (s: StatusParams) => React.ReactNode;
1688
+ }
1689
+ interface StatusTemplateParams extends StatusParams, TemplateParams {
1667
1690
  }
1668
1691
  interface HoursStatusProps extends TemplateParams {
1692
+ /** Hours data from Yext Streams */
1669
1693
  hours: HoursType;
1694
+ /** The IANA or UTC Offset timezone of the hours data from Yext Streams */
1670
1695
  timezone: string;
1696
+ /** Formatting for the "time" part of this component "Open Now - closes at [[5:00PM]] Monday" */
1671
1697
  timeOptions?: Intl.DateTimeFormatOptions;
1698
+ /** Formatting for the "day" part of this component "Open Now - closes at 5:00PM [[Monday]]" */
1672
1699
  dayOptions?: Intl.DateTimeFormatOptions;
1673
- statusTemplate?: (s: StatusParams) => React__default.ReactNode;
1700
+ /** Completely override rendering for this component */
1701
+ statusTemplate?: (s: StatusParams) => React.ReactNode;
1674
1702
  className?: string;
1675
1703
  }
1704
+
1676
1705
  declare const HoursStatus: React__default.FC<HoursStatusProps>;
1677
1706
 
1678
1707
  declare const HoursTable: React__default.FC<HoursTableProps>;
@@ -1913,4 +1942,4 @@ declare const LeafletMaps: MapProvider;
1913
1942
 
1914
1943
  declare const MapQuestMaps: MapProvider;
1915
1944
 
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 };
1945
+ 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, type HoursStatusProps, HoursTable, type HoursTableDayData, type HoursTableIntervalTranslations, 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 StatusParams, type StatusTemplateParams, type TemplateParams, 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-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
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DIneK0am.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, 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";
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-B-328H9u.js";
2
2
  export {
3
3
  e as Address,
4
4
  t as AddressSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yext/pages-components",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "A React component library that supports Yext Pages development",
5
5
  "author": "sumo@yext.com",
6
6
  "license": "BSD-3-Clause",