@faststore/ui 1.8.49 → 1.9.1

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/ui.esm.js CHANGED
@@ -1976,24 +1976,62 @@ const OutOfStock = ({
1976
1976
  const OutOfStockMessage = ({
1977
1977
  as: MessageComponent = 'p',
1978
1978
  testId = 'store-out-of-stock-message',
1979
- children
1979
+ children,
1980
+ ...otherProps
1980
1981
  }) => {
1981
- return React.createElement(MessageComponent, {
1982
+ return React.createElement(MessageComponent, Object.assign({
1982
1983
  "data-out-of-stock-message": true,
1983
1984
  "data-testid": testId
1984
- }, children);
1985
+ }, otherProps), children);
1985
1986
  };
1986
1987
 
1987
1988
  const OutOfStockTitle = ({
1988
1989
  as: TitleComponent = 'h2',
1989
1990
  testId = 'store-out-of-stock-title',
1990
- children
1991
+ children,
1992
+ ...otherProps
1991
1993
  }) => {
1992
- return React.createElement(TitleComponent, {
1994
+ return React.createElement(TitleComponent, Object.assign({
1993
1995
  "data-out-of-stock-title": true,
1994
1996
  "data-testid": testId
1995
- }, children);
1997
+ }, otherProps), children);
1996
1998
  };
1997
1999
 
1998
- export { Accordion, AccordionButton, AccordionItem, AccordionPanel, Alert, Badge, Banner, BannerContent, BannerImage, BannerLink, Breadcrumb, Bullets, Button, Card, CardActions, CardContent, CardImage, Carousel, Checkbox, Dropdown, DropdownButton, DropdownItem, DropdownMenu, Form, Icon, IconButton, Incentive, Input, Label, Link, List, LoadingButton, Modal, OutOfStock, OutOfStockMessage, OutOfStockTitle, Overlay, PaymentMethods, Popover, Price, PriceRange, ProductCard, ProductCardActions, ProductCardContent, ProductCardImage, QuantitySelector, Radio, RadioGroup, RadioOption, SearchInput, Select, Skeleton, Slider, Spinner, Table, TableBody, TableCell, TableFooter, TableHead, TableRow, TextArea, useSlider };
2000
+ const Hero = /*#__PURE__*/forwardRef(function Hero({
2001
+ testId = 'store-hero',
2002
+ children,
2003
+ ...otherProps
2004
+ }, ref) {
2005
+ return React.createElement("article", Object.assign({
2006
+ ref: ref,
2007
+ "data-store-hero": true,
2008
+ "data-testid": testId
2009
+ }, otherProps), children);
2010
+ });
2011
+
2012
+ const HeroImage = /*#__PURE__*/forwardRef(function HeroImage({
2013
+ testId = 'store-hero-image',
2014
+ children,
2015
+ ...otherProps
2016
+ }, ref) {
2017
+ return React.createElement("div", Object.assign({
2018
+ ref: ref,
2019
+ "data-hero-image": true,
2020
+ "data-testid": testId
2021
+ }, otherProps), children);
2022
+ });
2023
+
2024
+ const HeroHeading = /*#__PURE__*/forwardRef(function HeroHeading({
2025
+ testId = 'store-hero-heading',
2026
+ children,
2027
+ ...otherProps
2028
+ }, ref) {
2029
+ return React.createElement("header", Object.assign({
2030
+ ref: ref,
2031
+ "data-hero-heading": true,
2032
+ "data-testid": testId
2033
+ }, otherProps), children);
2034
+ });
2035
+
2036
+ export { Accordion, AccordionButton, AccordionItem, AccordionPanel, Alert, Badge, Banner, BannerContent, BannerImage, BannerLink, Breadcrumb, Bullets, Button, Card, CardActions, CardContent, CardImage, Carousel, Checkbox, Dropdown, DropdownButton, DropdownItem, DropdownMenu, Form, Hero, HeroHeading, HeroImage, Icon, IconButton, Incentive, Input, Label, Link, List, LoadingButton, Modal, OutOfStock, OutOfStockMessage, OutOfStockTitle, Overlay, PaymentMethods, Popover, Price, PriceRange, ProductCard, ProductCardActions, ProductCardContent, ProductCardImage, QuantitySelector, Radio, RadioGroup, RadioOption, SearchInput, Select, Skeleton, Slider, Spinner, Table, TableBody, TableCell, TableFooter, TableHead, TableRow, TextArea, useSlider };
1999
2037
  //# sourceMappingURL=ui.esm.js.map