@faststore/ui 1.8.34 → 1.8.37

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
@@ -1959,5 +1959,41 @@ const DropdownMenu = ({
1959
1959
  }, otherProps), children)), document.body) : clearChildrenReferences();
1960
1960
  };
1961
1961
 
1962
- 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, 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 };
1962
+ const OutOfStock = ({
1963
+ testId = 'store-out-of-stock',
1964
+ children,
1965
+ ...otherProps
1966
+ }) => {
1967
+ return React.createElement("section", {
1968
+ "data-store-out-of-stock": true,
1969
+ "data-testid": testId
1970
+ }, React.createElement(Form, Object.assign({
1971
+ "data-out-of-stock-form": true,
1972
+ testId: `${testId}-form`
1973
+ }, otherProps), children));
1974
+ };
1975
+
1976
+ const OutOfStockMessage = ({
1977
+ as: MessageComponent = 'p',
1978
+ testId = 'store-out-of-stock-message',
1979
+ children
1980
+ }) => {
1981
+ return React.createElement(MessageComponent, {
1982
+ "data-out-of-stock-message": true,
1983
+ "data-testid": testId
1984
+ }, children);
1985
+ };
1986
+
1987
+ const OutOfStockTitle = ({
1988
+ as: TitleComponent = 'h2',
1989
+ testId = 'store-out-of-stock-title',
1990
+ children
1991
+ }) => {
1992
+ return React.createElement(TitleComponent, {
1993
+ "data-out-of-stock-title": true,
1994
+ "data-testid": testId
1995
+ }, children);
1996
+ };
1997
+
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 };
1963
1999
  //# sourceMappingURL=ui.esm.js.map