@faststore/components 2.2.37 → 2.2.43

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.
Files changed (93) hide show
  1. package/dist/cjs/atoms/Icon/Icon.d.ts +1 -1
  2. package/dist/cjs/atoms/Link/Link.d.ts +1 -1
  3. package/dist/cjs/atoms/SROnly/SROnly.d.ts +2 -1
  4. package/dist/cjs/hooks/UIProvider.d.ts +2 -1
  5. package/dist/cjs/molecules/Breadcrumb/Breadcrumb.d.ts +2 -2
  6. package/dist/cjs/molecules/Breadcrumb/Divider.d.ts +2 -2
  7. package/dist/cjs/molecules/Breadcrumb/ListItem.d.ts +2 -2
  8. package/dist/cjs/molecules/BuyButton/BuyButton.d.ts +2 -2
  9. package/dist/cjs/molecules/Carousel/Carousel.d.ts +2 -1
  10. package/dist/cjs/molecules/Carousel/CarouselItem.d.ts +2 -1
  11. package/dist/cjs/molecules/DiscountBadge/DiscountBadge.d.ts +2 -2
  12. package/dist/cjs/molecules/Dropdown/Dropdown.d.ts +2 -1
  13. package/dist/cjs/molecules/InputField/InputField.d.ts +2 -1
  14. package/dist/cjs/molecules/LinkButton/LinkButton.d.ts +2 -1
  15. package/dist/cjs/molecules/Modal/ModalBody.d.ts +2 -2
  16. package/dist/cjs/molecules/Modal/ModalContent.d.ts +2 -1
  17. package/dist/cjs/molecules/Modal/ModalHeader.d.ts +2 -2
  18. package/dist/cjs/molecules/NavbarLinks/NavbarLinksList.d.ts +1 -1
  19. package/dist/cjs/molecules/QuantitySelector/QuantitySelector.d.ts +2 -2
  20. package/dist/cjs/molecules/RadioGroup/RadioGroup.d.ts +2 -1
  21. package/dist/cjs/molecules/SearchAutoComplete/SearchAutoComplete.d.ts +2 -2
  22. package/dist/cjs/molecules/SearchAutoComplete/SearchAutoCompleteTerm.d.ts +2 -2
  23. package/dist/cjs/molecules/SearchHistory/SearchHistory.d.ts +2 -2
  24. package/dist/cjs/molecules/SearchHistory/SearchHistoryTerm.d.ts +2 -2
  25. package/dist/cjs/molecules/SearchProducts/SearchProducts.d.ts +2 -2
  26. package/dist/cjs/molecules/SearchProvider/SearchProvider.d.ts +1 -1
  27. package/dist/cjs/molecules/Table/Table.d.ts +1 -1
  28. package/dist/cjs/molecules/Toast/Toast.d.ts +2 -2
  29. package/dist/cjs/organisms/CartSidebar/CartSidebar.d.ts +2 -1
  30. package/dist/cjs/organisms/CartSidebar/CartSidebarFooter.d.ts +2 -2
  31. package/dist/cjs/organisms/CartSidebar/CartSidebarList.d.ts +2 -2
  32. package/dist/cjs/organisms/EmptyState/EmptyState.d.ts +2 -1
  33. package/dist/cjs/organisms/Filter/Filter.d.ts +2 -2
  34. package/dist/cjs/organisms/Filter/FilterFacetBoolean.d.ts +2 -2
  35. package/dist/cjs/organisms/Filter/FilterFacetBooleanItem.d.ts +2 -2
  36. package/dist/cjs/organisms/Filter/FilterFacetRange.d.ts +2 -2
  37. package/dist/cjs/organisms/Filter/FilterFacets.d.ts +2 -2
  38. package/dist/cjs/organisms/Filter/FilterSlider.d.ts +2 -1
  39. package/dist/cjs/organisms/ImageGallery/ImageGallerySelector.d.ts +2 -1
  40. package/dist/cjs/organisms/ImageGallery/ImageGalleryViewer.d.ts +2 -1
  41. package/dist/cjs/organisms/NavbarSlider/NavbarSlider.d.ts +2 -2
  42. package/dist/cjs/organisms/NavbarSlider/NavbarSliderHeader.d.ts +2 -2
  43. package/dist/cjs/organisms/RegionModal/RegionModal.d.ts +1 -1
  44. package/dist/cjs/organisms/ShippingSimulation/ShippingSimulation.d.ts +1 -1
  45. package/dist/cjs/organisms/SlideOver/SlideOver.d.ts +2 -1
  46. package/dist/cjs/organisms/SlideOver/SlideOverHeader.d.ts +2 -2
  47. package/dist/esm/atoms/Icon/Icon.d.ts +1 -1
  48. package/dist/esm/atoms/Link/Link.d.ts +1 -1
  49. package/dist/esm/atoms/SROnly/SROnly.d.ts +2 -1
  50. package/dist/esm/hooks/UIProvider.d.ts +2 -1
  51. package/dist/esm/molecules/Breadcrumb/Breadcrumb.d.ts +2 -2
  52. package/dist/esm/molecules/Breadcrumb/Divider.d.ts +2 -2
  53. package/dist/esm/molecules/Breadcrumb/ListItem.d.ts +2 -2
  54. package/dist/esm/molecules/BuyButton/BuyButton.d.ts +2 -2
  55. package/dist/esm/molecules/Carousel/Carousel.d.ts +2 -1
  56. package/dist/esm/molecules/Carousel/CarouselItem.d.ts +2 -1
  57. package/dist/esm/molecules/DiscountBadge/DiscountBadge.d.ts +2 -2
  58. package/dist/esm/molecules/Dropdown/Dropdown.d.ts +2 -1
  59. package/dist/esm/molecules/InputField/InputField.d.ts +2 -1
  60. package/dist/esm/molecules/LinkButton/LinkButton.d.ts +2 -1
  61. package/dist/esm/molecules/Modal/ModalBody.d.ts +2 -2
  62. package/dist/esm/molecules/Modal/ModalContent.d.ts +2 -1
  63. package/dist/esm/molecules/Modal/ModalHeader.d.ts +2 -2
  64. package/dist/esm/molecules/NavbarLinks/NavbarLinksList.d.ts +1 -1
  65. package/dist/esm/molecules/QuantitySelector/QuantitySelector.d.ts +2 -2
  66. package/dist/esm/molecules/RadioGroup/RadioGroup.d.ts +2 -1
  67. package/dist/esm/molecules/SearchAutoComplete/SearchAutoComplete.d.ts +2 -2
  68. package/dist/esm/molecules/SearchAutoComplete/SearchAutoCompleteTerm.d.ts +2 -2
  69. package/dist/esm/molecules/SearchHistory/SearchHistory.d.ts +2 -2
  70. package/dist/esm/molecules/SearchHistory/SearchHistoryTerm.d.ts +2 -2
  71. package/dist/esm/molecules/SearchProducts/SearchProducts.d.ts +2 -2
  72. package/dist/esm/molecules/SearchProvider/SearchProvider.d.ts +1 -1
  73. package/dist/esm/molecules/Table/Table.d.ts +1 -1
  74. package/dist/esm/molecules/Toast/Toast.d.ts +2 -2
  75. package/dist/esm/organisms/CartSidebar/CartSidebar.d.ts +2 -1
  76. package/dist/esm/organisms/CartSidebar/CartSidebarFooter.d.ts +2 -2
  77. package/dist/esm/organisms/CartSidebar/CartSidebarList.d.ts +2 -2
  78. package/dist/esm/organisms/EmptyState/EmptyState.d.ts +2 -1
  79. package/dist/esm/organisms/Filter/Filter.d.ts +2 -2
  80. package/dist/esm/organisms/Filter/FilterFacetBoolean.d.ts +2 -2
  81. package/dist/esm/organisms/Filter/FilterFacetBooleanItem.d.ts +2 -2
  82. package/dist/esm/organisms/Filter/FilterFacetRange.d.ts +2 -2
  83. package/dist/esm/organisms/Filter/FilterFacets.d.ts +2 -2
  84. package/dist/esm/organisms/Filter/FilterSlider.d.ts +2 -1
  85. package/dist/esm/organisms/ImageGallery/ImageGallerySelector.d.ts +2 -1
  86. package/dist/esm/organisms/ImageGallery/ImageGalleryViewer.d.ts +2 -1
  87. package/dist/esm/organisms/NavbarSlider/NavbarSlider.d.ts +2 -2
  88. package/dist/esm/organisms/NavbarSlider/NavbarSliderHeader.d.ts +2 -2
  89. package/dist/esm/organisms/RegionModal/RegionModal.d.ts +1 -1
  90. package/dist/esm/organisms/ShippingSimulation/ShippingSimulation.d.ts +1 -1
  91. package/dist/esm/organisms/SlideOver/SlideOver.d.ts +2 -1
  92. package/dist/esm/organisms/SlideOver/SlideOverHeader.d.ts +2 -2
  93. package/package.json +7 -6
@@ -31,5 +31,5 @@ export interface IconProps extends SVGProps<SVGSVGElement> {
31
31
  */
32
32
  height?: number;
33
33
  }
34
- declare const Icon: React.ForwardRefExoticComponent<Pick<IconProps, "string" | "filter" | "children" | "type" | "style" | "clipPath" | "mask" | "path" | "in" | "testId" | "aria-label" | "className" | "id" | "lang" | "tabIndex" | "role" | "color" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "name" | "crossOrigin" | "height" | "max" | "min" | "width" | "weight" | "media" | "method" | "target" | "accentHeight" | "accumulate" | "additive" | "alignmentBaseline" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baselineShift" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clip" | "clipPathUnits" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "colorProfile" | "colorRendering" | "contentScriptType" | "contentStyleType" | "cursor" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "direction" | "display" | "divisor" | "dominantBaseline" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "end" | "exponent" | "externalResourcesRequired" | "fill" | "fillOpacity" | "fillRule" | "filterRes" | "filterUnits" | "floodColor" | "floodOpacity" | "focusable" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphOrientationVertical" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "href" | "ideographic" | "imageRendering" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "letterSpacing" | "lightingColor" | "limitingConeAngle" | "local" | "markerEnd" | "markerHeight" | "markerMid" | "markerStart" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "mode" | "numOctaves" | "offset" | "opacity" | "operator" | "order" | "orient" | "orientation" | "origin" | "overflow" | "overlinePosition" | "overlineThickness" | "paintOrder" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "pointerEvents" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rotate" | "rx" | "ry" | "scale" | "seed" | "shapeRendering" | "slope" | "spacing" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "stopColor" | "stopOpacity" | "strikethroughPosition" | "strikethroughThickness" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textAnchor" | "textDecoration" | "textLength" | "textRendering" | "to" | "transform" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeBidi" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "vectorEffect" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "visibility" | "vMathematical" | "widths" | "wordSpacing" | "writingMode" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan" | "key"> & React.RefAttributes<SVGSVGElement>>;
34
+ declare const Icon: React.ForwardRefExoticComponent<Omit<IconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
35
35
  export default Icon;
@@ -21,5 +21,5 @@ type LinkBaseProps = {
21
21
  };
22
22
  export type LinkElementType = ElementType;
23
23
  export type LinkProps<C extends LinkElementType = 'a'> = PolymorphicComponentPropsWithRef<C, LinkBaseProps>;
24
- declare const Link: React.ForwardRefExoticComponent<Pick<LinkProps<LinkElementType>, string | number | symbol> & React.RefAttributes<unknown>>;
24
+ declare const Link: React.ForwardRefExoticComponent<Omit<LinkProps<LinkElementType>, "ref"> & React.RefAttributes<unknown>>;
25
25
  export default Link;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import type { ElementType } from 'react';
2
3
  interface SROnlyProps {
3
4
  /**
@@ -9,5 +10,5 @@ interface SROnlyProps {
9
10
  */
10
11
  as?: ElementType;
11
12
  }
12
- declare function SROnly({ text, as }: SROnlyProps): JSX.Element;
13
+ declare function SROnly({ text, as }: SROnlyProps): React.JSX.Element;
13
14
  export default SROnly;
@@ -1,4 +1,5 @@
1
1
  import type { PropsWithChildren, ReactNode } from 'react';
2
+ import React from 'react';
2
3
  export interface Toast {
3
4
  message: string;
4
5
  status: 'ERROR' | 'WARNING' | 'INFO';
@@ -28,6 +29,6 @@ interface Context extends State {
28
29
  pushToast: (data: Toast) => void;
29
30
  popToast: () => void;
30
31
  }
31
- declare function UIProvider({ children }: PropsWithChildren<unknown>): JSX.Element;
32
+ declare function UIProvider({ children }: PropsWithChildren<unknown>): React.JSX.Element;
32
33
  export declare function useUI(): Context;
33
34
  export default UIProvider;
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { BreadcrumbBaseProps } from './BreadcrumbBase';
3
3
  export interface BreadcrumbProps extends Omit<BreadcrumbBaseProps, 'isDesktop'> {
4
4
  }
5
- declare const Breadcrumb: ({ breadcrumbList, ...otherProps }: BreadcrumbProps) => JSX.Element;
5
+ declare const Breadcrumb: ({ breadcrumbList, ...otherProps }: BreadcrumbProps) => React.JSX.Element;
6
6
  export default Breadcrumb;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from "react";
2
2
  import { BreadcrumbBaseProps } from "./BreadcrumbBase";
3
- declare const Divider: ({ divider, testId }: Omit<BreadcrumbBaseProps, "breadcrumbList">) => JSX.Element;
3
+ declare const Divider: ({ divider, testId }: Omit<BreadcrumbBaseProps, "breadcrumbList">) => React.JSX.Element;
4
4
  export default Divider;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import React, { ReactNode } from 'react';
2
2
  import { BreadcrumbBaseProps } from './BreadcrumbBase';
3
3
  type ListItemProps = {
4
4
  children: ReactNode;
@@ -6,5 +6,5 @@ type ListItemProps = {
6
6
  divider: BreadcrumbBaseProps['divider'];
7
7
  testId: string;
8
8
  };
9
- declare const ListItem: ({ children, isLastItem, divider, testId }: ListItemProps) => JSX.Element;
9
+ declare const ListItem: ({ children, isLastItem, divider, testId }: ListItemProps) => React.JSX.Element;
10
10
  export default ListItem;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type { ButtonProps } from '../../';
3
3
  type BuyButtonProps = ButtonProps;
4
- declare function BuyButton({ testId, icon, children, ...otherProps }: BuyButtonProps): JSX.Element;
4
+ declare function BuyButton({ testId, icon, children, ...otherProps }: BuyButtonProps): React.JSX.Element;
5
5
  export default BuyButton;
@@ -1,4 +1,5 @@
1
1
  import type { PropsWithChildren, ReactNode, AriaAttributes } from 'react';
2
+ import React from 'react';
2
3
  import type { SwipeableProps } from 'react-swipeable';
3
4
  export interface CarouselProps extends SwipeableProps {
4
5
  /**
@@ -55,5 +56,5 @@ export interface CarouselProps extends SwipeableProps {
55
56
  right?: ReactNode;
56
57
  };
57
58
  }
58
- declare function Carousel({ children, className, 'aria-label': ariaLabel, infiniteMode, controls, testId, transition, id, variant, itemsPerPage, navigationIcons, ...swipeableConfigOverrides }: PropsWithChildren<CarouselProps>): JSX.Element;
59
+ declare function Carousel({ children, className, 'aria-label': ariaLabel, infiniteMode, controls, testId, transition, id, variant, itemsPerPage, navigationIcons, ...swipeableConfigOverrides }: PropsWithChildren<CarouselProps>): React.JSX.Element;
59
60
  export default Carousel;
@@ -1,4 +1,5 @@
1
1
  import type { HTMLAttributes, PropsWithChildren } from 'react';
2
+ import React from 'react';
2
3
  import { SliderState } from '../../hooks';
3
4
  export interface CarouselItemProps extends HTMLAttributes<HTMLLIElement> {
4
5
  index: number;
@@ -8,5 +9,5 @@ export interface CarouselItemProps extends HTMLAttributes<HTMLLIElement> {
8
9
  isScrollCarousel: boolean;
9
10
  marginRightValue: string;
10
11
  }
11
- declare function CarouselItem({ id, index, state, children, totalItems, infiniteMode, isScrollCarousel, marginRightValue, }: PropsWithChildren<CarouselItemProps>): JSX.Element;
12
+ declare function CarouselItem({ id, index, state, children, totalItems, infiniteMode, isScrollCarousel, marginRightValue, }: PropsWithChildren<CarouselItemProps>): React.JSX.Element;
12
13
  export default CarouselItem;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { BadgeProps } from '../..';
3
3
  export interface DiscountBadgeProps extends Omit<BadgeProps, 'variant' | 'counter' | 'aria-label'> {
4
4
  /**
@@ -22,5 +22,5 @@ export interface DiscountBadgeProps extends Omit<BadgeProps, 'variant' | 'counte
22
22
  */
23
23
  thresholdHigh?: number;
24
24
  }
25
- declare const DiscountBadge: ({ listPrice, spotPrice, thresholdLow, thresholdHigh, size, testId, }: DiscountBadgeProps) => JSX.Element;
25
+ declare const DiscountBadge: ({ listPrice, spotPrice, thresholdLow, thresholdHigh, size, testId, }: DiscountBadgeProps) => React.JSX.Element;
26
26
  export default DiscountBadge;
@@ -1,4 +1,5 @@
1
1
  import type { PropsWithChildren } from 'react';
2
+ import React from 'react';
2
3
  export interface DropdownProps {
3
4
  /**
4
5
  * Event emitted when the Dropdown is closed.
@@ -13,5 +14,5 @@ export interface DropdownProps {
13
14
  */
14
15
  id?: string;
15
16
  }
16
- declare const Dropdown: ({ children, isOpen: isOpenDefault, onDismiss, id, }: PropsWithChildren<DropdownProps>) => JSX.Element;
17
+ declare const Dropdown: ({ children, isOpen: isOpenDefault, onDismiss, id, }: PropsWithChildren<DropdownProps>) => React.JSX.Element;
17
18
  export default Dropdown;
@@ -1,4 +1,5 @@
1
1
  import type { MutableRefObject } from 'react';
2
+ import React from 'react';
2
3
  import type { InputProps } from '../../';
3
4
  type DefaultProps = {
4
5
  /**
@@ -55,5 +56,5 @@ type ActionableInputField = {
55
56
  displayClearButton?: boolean;
56
57
  };
57
58
  export type InputFieldProps = DefaultProps & Omit<InputProps, 'disabled' | 'onSubmit'> & ActionableInputField;
58
- declare const InputField: ({ id, label, type, error, displayClearButton, actionable, buttonActionText, onSubmit, onClear, placeholder, inputRef, disabled, value, testId, ...otherProps }: InputFieldProps) => JSX.Element;
59
+ declare const InputField: ({ id, label, type, error, displayClearButton, actionable, buttonActionText, onSubmit, onClear, placeholder, inputRef, disabled, value, testId, ...otherProps }: InputFieldProps) => React.JSX.Element;
59
60
  export default InputField;
@@ -1,5 +1,6 @@
1
1
  import type { AnchorHTMLAttributes } from 'react';
2
+ import React from 'react';
2
3
  import type { ButtonProps } from '../..';
3
4
  export type LinkButtonProps = AnchorHTMLAttributes<HTMLAnchorElement> & ButtonProps;
4
- declare function LinkButton({ icon, inverse, children, disabled, iconPosition, size, variant, testId, ...otherProps }: LinkButtonProps): JSX.Element;
5
+ declare function LinkButton({ icon, inverse, children, disabled, iconPosition, size, variant, testId, ...otherProps }: LinkButtonProps): React.JSX.Element;
5
6
  export default LinkButton;
@@ -1,9 +1,9 @@
1
- import { ReactNode, HTMLAttributes } from 'react';
1
+ import React, { ReactNode, HTMLAttributes } from 'react';
2
2
  export interface ModalBodyProps extends HTMLAttributes<HTMLDivElement> {
3
3
  /**
4
4
  * Children or function as a children
5
5
  */
6
6
  children: ReactNode;
7
7
  }
8
- declare const ModalBody: ({ children, ...otherProps }: ModalBodyProps) => JSX.Element;
8
+ declare const ModalBody: ({ children, ...otherProps }: ModalBodyProps) => React.JSX.Element;
9
9
  export default ModalBody;
@@ -1,4 +1,5 @@
1
1
  import type { DetailedHTMLProps, HTMLAttributes, RefObject } from 'react';
2
+ import React from 'react';
2
3
  interface ModalContentPureProps extends Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, 'ref'> {
3
4
  beforeElementRef: RefObject<HTMLDivElement>;
4
5
  trapFocusRef: RefObject<HTMLDivElement>;
@@ -6,5 +7,5 @@ interface ModalContentPureProps extends Omit<DetailedHTMLProps<HTMLAttributes<HT
6
7
  testId?: string;
7
8
  }
8
9
  export type ModalContentProps = Omit<ModalContentPureProps, 'trapFocusRef' | 'onClick' | 'beforeElementRef' | 'afterElementRef'>;
9
- declare const ModalContent: ({ children, ...otherProps }: ModalContentProps) => JSX.Element;
10
+ declare const ModalContent: ({ children, ...otherProps }: ModalContentProps) => React.JSX.Element;
10
11
  export default ModalContent;
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  import { IconButtonProps } from '../IconButton';
3
3
  export interface ModalHeaderProps extends HTMLAttributes<HTMLDivElement> {
4
4
  /**
@@ -18,5 +18,5 @@ export interface ModalHeaderProps extends HTMLAttributes<HTMLDivElement> {
18
18
  */
19
19
  onClose?: () => void;
20
20
  }
21
- declare const ModalHeader: ({ onClose, title, closeBtnProps, description, }: ModalHeaderProps) => JSX.Element;
21
+ declare const ModalHeader: ({ onClose, title, closeBtnProps, description, }: ModalHeaderProps) => React.JSX.Element;
22
22
  export default ModalHeader;
@@ -6,5 +6,5 @@ export interface NavbarLinksListProps extends ListProps {
6
6
  */
7
7
  testId?: string;
8
8
  }
9
- declare const NavbarLinksList: React.ForwardRefExoticComponent<Pick<NavbarLinksListProps, "children" | "slot" | "style" | "title" | "marker" | "testId" | "aria-label" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "as"> & React.RefAttributes<HTMLUListElement>>;
9
+ declare const NavbarLinksList: React.ForwardRefExoticComponent<Omit<NavbarLinksListProps, "ref"> & React.RefAttributes<HTMLUListElement>>;
10
10
  export default NavbarLinksList;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  export interface QuantitySelectorProps {
3
3
  /**
4
4
  * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
@@ -27,5 +27,5 @@ export interface QuantitySelectorProps {
27
27
  */
28
28
  onChange?: (value: number) => void;
29
29
  }
30
- declare const QuantitySelector: ({ max, min, initial, disabled, onChange, testId, ...otherProps }: QuantitySelectorProps) => JSX.Element;
30
+ declare const QuantitySelector: ({ max, min, initial, disabled, onChange, testId, ...otherProps }: QuantitySelectorProps) => React.JSX.Element;
31
31
  export default QuantitySelector;
@@ -1,5 +1,6 @@
1
1
  import type { PropsWithChildren } from 'react';
2
+ import React from 'react';
2
3
  import { RadioGroupContext } from './useRadioGroup';
3
4
  export type RadioGroupProps = PropsWithChildren<RadioGroupContext>;
4
- declare const RadioGroup: ({ name, onChange, children, selectedValue, }: RadioGroupProps) => JSX.Element;
5
+ declare const RadioGroup: ({ name, onChange, children, selectedValue, }: RadioGroupProps) => React.JSX.Element;
5
6
  export default RadioGroup;
@@ -1,9 +1,9 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  export interface SearchAutoCompleteProps extends HTMLAttributes<HTMLDivElement> {
3
3
  /**
4
4
  * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
5
5
  */
6
6
  testId?: string;
7
7
  }
8
- declare const SearchAutoComplete: ({ testId, children, ...otherProps }: SearchAutoCompleteProps) => JSX.Element | null;
8
+ declare const SearchAutoComplete: ({ testId, children, ...otherProps }: SearchAutoCompleteProps) => React.JSX.Element | null;
9
9
  export default SearchAutoComplete;
@@ -1,5 +1,5 @@
1
1
  import type { ReactNode } from 'react';
2
- import { HTMLAttributes } from 'react';
2
+ import React, { HTMLAttributes } from 'react';
3
3
  import { LinkElementType, LinkProps } from '../..';
4
4
  export interface SearchAutoCompleteTermProps extends HTMLAttributes<HTMLDivElement> {
5
5
  /**
@@ -23,5 +23,5 @@ export interface SearchAutoCompleteTermProps extends HTMLAttributes<HTMLDivEleme
23
23
  */
24
24
  suggestion: string;
25
25
  }
26
- declare const SearchAutoCompleteTerm: ({ testId, suggestion, term, linkProps, icon, }: SearchAutoCompleteTermProps) => JSX.Element;
26
+ declare const SearchAutoCompleteTerm: ({ testId, suggestion, term, linkProps, icon, }: SearchAutoCompleteTermProps) => React.JSX.Element;
27
27
  export default SearchAutoCompleteTerm;
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  export interface SearchHistoryProps extends HTMLAttributes<HTMLDivElement> {
3
3
  /**
4
4
  * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
@@ -17,5 +17,5 @@ export interface SearchHistoryProps extends HTMLAttributes<HTMLDivElement> {
17
17
  */
18
18
  onClear?: () => void;
19
19
  }
20
- declare const SearchHistory: ({ testId, title, clearLabel, onClear, children, ...otherProps }: SearchHistoryProps) => JSX.Element | null;
20
+ declare const SearchHistory: ({ testId, title, clearLabel, onClear, children, ...otherProps }: SearchHistoryProps) => React.JSX.Element | null;
21
21
  export default SearchHistory;
@@ -1,5 +1,5 @@
1
1
  import type { ReactNode } from 'react';
2
- import { HTMLAttributes } from 'react';
2
+ import React, { HTMLAttributes } from 'react';
3
3
  import { LinkElementType, LinkProps } from '../..';
4
4
  export interface SearchHistoryTermProps extends HTMLAttributes<HTMLDivElement> {
5
5
  /**
@@ -19,5 +19,5 @@ export interface SearchHistoryTermProps extends HTMLAttributes<HTMLDivElement> {
19
19
  */
20
20
  icon?: ReactNode;
21
21
  }
22
- declare const SearchHistoryTerm: ({ testId, value, linkProps, icon, }: SearchHistoryTermProps) => JSX.Element;
22
+ declare const SearchHistoryTerm: ({ testId, value, linkProps, icon, }: SearchHistoryTermProps) => React.JSX.Element;
23
23
  export default SearchHistoryTerm;
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  export interface SearchProductsProps extends HTMLAttributes<HTMLDivElement> {
3
3
  /**
4
4
  * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
@@ -9,5 +9,5 @@ export interface SearchProductsProps extends HTMLAttributes<HTMLDivElement> {
9
9
  */
10
10
  title?: string;
11
11
  }
12
- declare const SearchProductsProps: ({ testId, title, children, ...otherProps }: SearchProductsProps) => JSX.Element | null;
12
+ declare const SearchProductsProps: ({ testId, title, children, ...otherProps }: SearchProductsProps) => React.JSX.Element | null;
13
13
  export default SearchProductsProps;
@@ -25,5 +25,5 @@ export interface SearchProviderContextValue {
25
25
  onSearchSelection?: (term: string, path: string) => void;
26
26
  }
27
27
  export declare const SearchContext: React.Context<SearchProviderContextValue | null>;
28
- declare function SearchProvider({ onSearchSelection, children, term, terms, products, isLoading, }: PropsWithChildren<SearchProviderContextValue>): JSX.Element;
28
+ declare function SearchProvider({ onSearchSelection, children, term, terms, products, isLoading, }: PropsWithChildren<SearchProviderContextValue>): React.JSX.Element;
29
29
  export default SearchProvider;
@@ -22,5 +22,5 @@ export interface TableProps extends DetailedHTMLProps<TableHTMLAttributes<HTMLTa
22
22
  */
23
23
  nonce?: string | undefined;
24
24
  }
25
- declare const Table: React.ForwardRefExoticComponent<Pick<PropsWithChildren<TableProps>, "children" | "slot" | "style" | "summary" | "title" | "testId" | "variant" | "aria-label" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "width" | "key" | "align" | "bgcolor" | "border" | "cellPadding" | "cellSpacing" | "frame" | "rules"> & React.RefAttributes<HTMLTableElement>>;
25
+ declare const Table: React.ForwardRefExoticComponent<Omit<PropsWithChildren<TableProps>, "ref"> & React.RefAttributes<HTMLTableElement>>;
26
26
  export default Table;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare function Toast(): JSX.Element | null;
1
+ import React from 'react';
2
+ declare function Toast(): React.JSX.Element | null;
3
3
  export default Toast;
@@ -1,4 +1,5 @@
1
1
  import type { HTMLAttributes, PropsWithChildren, ReactNode } from 'react';
2
+ import React from 'react';
2
3
  import { OverlayProps } from '../../';
3
4
  import { SlideOverDirection, SlideOverWidthSize } from '../SlideOver';
4
5
  export interface CartSidebarProps extends HTMLAttributes<HTMLDivElement> {
@@ -40,5 +41,5 @@ export interface CartSidebarProps extends HTMLAttributes<HTMLDivElement> {
40
41
  */
41
42
  onClose: () => void;
42
43
  }
43
- declare function CartSidebar({ testId, title, size, direction, totalItems, children, alertIcon, alertText, overlayProps, onClose, ...otherProps }: PropsWithChildren<CartSidebarProps>): JSX.Element;
44
+ declare function CartSidebar({ testId, title, size, direction, totalItems, children, alertIcon, alertText, overlayProps, onClose, ...otherProps }: PropsWithChildren<CartSidebarProps>): React.JSX.Element;
44
45
  export default CartSidebar;
@@ -1,5 +1,5 @@
1
- import { ReactNode } from 'react';
1
+ import React, { ReactNode } from 'react';
2
2
  declare function CartSidebarFooter({ children }: {
3
3
  children: ReactNode;
4
- }): JSX.Element;
4
+ }): React.JSX.Element;
5
5
  export default CartSidebarFooter;
@@ -1,5 +1,5 @@
1
- import { ReactNode } from 'react';
1
+ import React, { ReactNode } from 'react';
2
2
  declare function CartSidebarList({ children }: {
3
3
  children: ReactNode;
4
- }): JSX.Element;
4
+ }): React.JSX.Element;
5
5
  export default CartSidebarList;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import type { PropsWithChildren, ReactNode } from 'react';
2
3
  type Variant = 'default' | 'rounded';
3
4
  type BackgroundColor = 'default' | 'light';
@@ -23,5 +24,5 @@ export interface EmptyStateProps {
23
24
  */
24
25
  bkgColor?: BackgroundColor;
25
26
  }
26
- declare function EmptyState({ testId, title, titleIcon, variant, bkgColor, children, ...otherProps }: PropsWithChildren<EmptyStateProps>): JSX.Element;
27
+ declare function EmptyState({ testId, title, titleIcon, variant, bkgColor, children, ...otherProps }: PropsWithChildren<EmptyStateProps>): React.JSX.Element;
27
28
  export default EmptyState;
@@ -1,4 +1,4 @@
1
- import { PropsWithChildren } from 'react';
1
+ import React, { PropsWithChildren } from 'react';
2
2
  export type OnFacetChange = (item: {
3
3
  key: string;
4
4
  value: string;
@@ -22,5 +22,5 @@ export interface FilterProps {
22
22
  */
23
23
  onAccordionChange: (index: number) => void;
24
24
  }
25
- declare function Filter({ testId, title, indicesExpanded, onAccordionChange, children, }: PropsWithChildren<FilterProps>): JSX.Element;
25
+ declare function Filter({ testId, title, indicesExpanded, onAccordionChange, children, }: PropsWithChildren<FilterProps>): React.JSX.Element;
26
26
  export default Filter;
@@ -1,5 +1,5 @@
1
- import { ReactNode } from 'react';
1
+ import React, { ReactNode } from 'react';
2
2
  declare function FilterFacetBoolean({ children }: {
3
3
  children: ReactNode;
4
- }): JSX.Element;
4
+ }): React.JSX.Element;
5
5
  export default FilterFacetBoolean;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { OnFacetChange } from './Filter';
3
3
  export interface FilterFacetBooleanItemProps {
4
4
  /**
@@ -34,5 +34,5 @@ export interface FilterFacetBooleanItemProps {
34
34
  */
35
35
  onFacetChange: OnFacetChange;
36
36
  }
37
- declare function FilterFacetBooleanItem({ testId, id, selected, value, quantity, facetKey, label, onFacetChange, }: FilterFacetBooleanItemProps): JSX.Element;
37
+ declare function FilterFacetBooleanItem({ testId, id, selected, value, quantity, facetKey, label, onFacetChange, }: FilterFacetBooleanItemProps): React.JSX.Element;
38
38
  export default FilterFacetBooleanItem;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { OnFacetChange } from './Filter';
3
3
  export interface FilterFacetRangeProps {
4
4
  /**
@@ -28,5 +28,5 @@ export interface FilterFacetRangeProps {
28
28
  */
29
29
  onFacetChange: OnFacetChange;
30
30
  }
31
- declare function FilterFacetRange({ min, max, formatter, facetKey, onFacetChange, }: FilterFacetRangeProps): JSX.Element;
31
+ declare function FilterFacetRange({ min, max, formatter, facetKey, onFacetChange, }: FilterFacetRangeProps): React.JSX.Element;
32
32
  export default FilterFacetRange;
@@ -1,4 +1,4 @@
1
- import { PropsWithChildren } from 'react';
1
+ import React, { PropsWithChildren } from 'react';
2
2
  export interface FilterFacetsProps {
3
3
  /**
4
4
  * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
@@ -17,5 +17,5 @@ export interface FilterFacetsProps {
17
17
  */
18
18
  label: string;
19
19
  }
20
- declare function FilterFacets({ testId, label, index, children, type, }: PropsWithChildren<FilterFacetsProps>): JSX.Element;
20
+ declare function FilterFacets({ testId, label, index, children, type, }: PropsWithChildren<FilterFacetsProps>): React.JSX.Element;
21
21
  export default FilterFacets;
@@ -1,4 +1,5 @@
1
1
  import type { HTMLAttributes, PropsWithChildren } from 'react';
2
+ import React from 'react';
2
3
  import { ButtonProps, OverlayProps } from '../../';
3
4
  import { SlideOverDirection, SlideOverWidthSize } from '../SlideOver';
4
5
  export interface FilterSliderProps extends HTMLAttributes<HTMLDivElement> {
@@ -31,5 +32,5 @@ export interface FilterSliderProps extends HTMLAttributes<HTMLDivElement> {
31
32
  */
32
33
  onClose: () => void;
33
34
  }
34
- declare function FilterSlider({ title, size, direction, children, applyBtnProps, clearBtnProps, overlayProps, onClose, ...otherProps }: PropsWithChildren<FilterSliderProps>): JSX.Element;
35
+ declare function FilterSlider({ title, size, direction, children, applyBtnProps, clearBtnProps, overlayProps, onClose, ...otherProps }: PropsWithChildren<FilterSliderProps>): React.JSX.Element;
35
36
  export default FilterSlider;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import type { AriaAttributes } from 'react';
2
3
  import type { ImageGalleryProps } from '.';
3
4
  export interface ImageGallerySelectorProps extends Pick<ImageGalleryProps, 'images' | 'ImageComponent'> {
@@ -27,5 +28,5 @@ export interface ImageGallerySelectorProps extends Pick<ImageGalleryProps, 'imag
27
28
  */
28
29
  onSelect: (imageIdx: number) => void;
29
30
  }
30
- declare function ImageGallerySelector({ images, onSelect, ImageComponent, currentImageIdx, testId, 'aria-label': ariaLabel, navigationButtonLeftAriaLabel, navigationButtonRightAriaLabel, }: ImageGallerySelectorProps): JSX.Element;
31
+ declare function ImageGallerySelector({ images, onSelect, ImageComponent, currentImageIdx, testId, 'aria-label': ariaLabel, navigationButtonLeftAriaLabel, navigationButtonRightAriaLabel, }: ImageGallerySelectorProps): React.JSX.Element;
31
32
  export default ImageGallerySelector;
@@ -1,7 +1,8 @@
1
+ import React from 'react';
1
2
  import type { PropsWithChildren } from 'react';
2
3
  export interface ImageGalleryViewerProps {
3
4
  helpMessage?: string;
4
5
  zoomFactor?: number;
5
6
  }
6
- declare const ImageGalleryViewer: ({ children, }: PropsWithChildren<ImageGalleryViewerProps>) => JSX.Element;
7
+ declare const ImageGalleryViewer: ({ children, }: PropsWithChildren<ImageGalleryViewerProps>) => React.JSX.Element;
7
8
  export default ImageGalleryViewer;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type { SlideOverProps } from '../..';
3
3
  type RequiredSliderOverProps = 'isOpen' | 'direction' | 'size';
4
4
  export interface NavbarSliderProps extends Omit<SlideOverProps, RequiredSliderOverProps> {
@@ -15,5 +15,5 @@ export interface NavbarSliderProps extends Omit<SlideOverProps, RequiredSliderOv
15
15
  */
16
16
  size?: SlideOverProps['size'];
17
17
  }
18
- declare function NavbarSlider({ children, size, isOpen, direction, testId, ...otherProps }: NavbarSliderProps): JSX.Element;
18
+ declare function NavbarSlider({ children, size, isOpen, direction, testId, ...otherProps }: NavbarSliderProps): React.JSX.Element;
19
19
  export default NavbarSlider;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type { SlideOverHeaderProps } from '../..';
3
3
  export interface NavbarSliderHeaderProps extends SlideOverHeaderProps {
4
4
  /**
@@ -6,5 +6,5 @@ export interface NavbarSliderHeaderProps extends SlideOverHeaderProps {
6
6
  */
7
7
  testId?: string;
8
8
  }
9
- declare function NavbarSliderHeader({ children, testId, ...otherProps }: NavbarSliderHeaderProps): JSX.Element;
9
+ declare function NavbarSliderHeader({ children, testId, ...otherProps }: NavbarSliderHeaderProps): React.JSX.Element;
10
10
  export default NavbarSliderHeader;
@@ -68,5 +68,5 @@ export interface RegionModalProps extends Omit<ModalProps, 'children'> {
68
68
  */
69
69
  onClear?: () => void;
70
70
  }
71
- declare function RegionModal({ testId, title, description, closeButtonAriaLabel, idkPostalCodeLinkProps, errorMessage, inputRef, inputValue, inputLabel, fadeOutOnSubmit, overlayProps, onClose, onInput, onSubmit, onClear, ...otherProps }: RegionModalProps): JSX.Element;
71
+ declare function RegionModal({ testId, title, description, closeButtonAriaLabel, idkPostalCodeLinkProps, errorMessage, inputRef, inputValue, inputLabel, fadeOutOnSubmit, overlayProps, onClose, onInput, onSubmit, onClear, ...otherProps }: RegionModalProps): React.JSX.Element;
72
72
  export default RegionModal;
@@ -121,5 +121,5 @@ export interface ShippingSimulationProps extends HTMLAttributes<HTMLDivElement>
121
121
  */
122
122
  postalCode?: string;
123
123
  }
124
- declare function ShippingSimulation({ testId, formatter, title, inputLabel, optionsLabel, idkPostalCodeLinkProps, onInput, onSubmit, onClear, location, options, displayClearButton, errorMessage, postalCode, ...otherProps }: ShippingSimulationProps): JSX.Element;
124
+ declare function ShippingSimulation({ testId, formatter, title, inputLabel, optionsLabel, idkPostalCodeLinkProps, onInput, onSubmit, onClear, location, options, displayClearButton, errorMessage, postalCode, ...otherProps }: ShippingSimulationProps): React.JSX.Element;
125
125
  export default ShippingSimulation;
@@ -1,4 +1,5 @@
1
1
  import type { ReactNode } from 'react';
2
+ import React from 'react';
2
3
  import type { ModalProps, OverlayProps } from '../../';
3
4
  export type Direction = 'leftSide' | 'rightSide';
4
5
  export type WidthSize = 'full' | 'partial';
@@ -34,5 +35,5 @@ export interface SlideOverProps extends Omit<ModalProps, 'title'> {
34
35
  */
35
36
  onDismiss?: () => void;
36
37
  }
37
- declare function SlideOver({ testId, isOpen, direction, size, fade, children, overlayProps, onDismiss, ...otherProps }: SlideOverProps): JSX.Element;
38
+ declare function SlideOver({ testId, isOpen, direction, size, fade, children, overlayProps, onDismiss, ...otherProps }: SlideOverProps): React.JSX.Element;
38
39
  export default SlideOver;
@@ -1,5 +1,5 @@
1
1
  import type { ReactNode } from 'react';
2
- import { HTMLAttributes } from 'react';
2
+ import React, { HTMLAttributes } from 'react';
3
3
  import { IconButtonProps } from '../../';
4
4
  export interface SlideOverHeaderProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
5
5
  /**
@@ -15,5 +15,5 @@ export interface SlideOverHeaderProps extends Omit<HTMLAttributes<HTMLDivElement
15
15
  */
16
16
  onClose: () => void;
17
17
  }
18
- declare const SlideOverHeader: ({ children, closeBtnProps, onClose, ...otherProps }: SlideOverHeaderProps) => JSX.Element;
18
+ declare const SlideOverHeader: ({ children, closeBtnProps, onClose, ...otherProps }: SlideOverHeaderProps) => React.JSX.Element;
19
19
  export default SlideOverHeader;