@faststore/ui 1.8.49 → 1.8.51
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/CHANGELOG.md +11 -0
- package/dist/index.d.ts +2 -0
- package/dist/organisms/Hero/Hero.d.ts +11 -0
- package/dist/organisms/Hero/HeroHeading.d.ts +10 -0
- package/dist/organisms/Hero/HeroImage.d.ts +10 -0
- package/dist/organisms/Hero/index.d.ts +6 -0
- package/dist/organisms/Hero/stories/Hero.stories.d.ts +4 -0
- package/dist/ui.cjs.development.js +39 -0
- package/dist/ui.cjs.development.js.map +1 -1
- package/dist/ui.cjs.production.min.js +1 -1
- package/dist/ui.cjs.production.min.js.map +1 -1
- package/dist/ui.esm.js +37 -1
- package/dist/ui.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +7 -0
- package/src/organisms/Hero/Hero.test.tsx +60 -0
- package/src/organisms/Hero/Hero.tsx +23 -0
- package/src/organisms/Hero/HeroHeading.tsx +24 -0
- package/src/organisms/Hero/HeroImage.tsx +22 -0
- package/src/organisms/Hero/index.tsx +8 -0
- package/src/organisms/Hero/stories/Hero.mdx +48 -0
- package/src/organisms/Hero/stories/Hero.stories.tsx +56 -0
package/dist/ui.esm.js
CHANGED
|
@@ -1995,5 +1995,41 @@ const OutOfStockTitle = ({
|
|
|
1995
1995
|
}, children);
|
|
1996
1996
|
};
|
|
1997
1997
|
|
|
1998
|
-
|
|
1998
|
+
const Hero = /*#__PURE__*/forwardRef(function Hero({
|
|
1999
|
+
testId = 'store-hero',
|
|
2000
|
+
children,
|
|
2001
|
+
...otherProps
|
|
2002
|
+
}, ref) {
|
|
2003
|
+
return React.createElement("article", Object.assign({
|
|
2004
|
+
ref: ref,
|
|
2005
|
+
"data-store-hero": true,
|
|
2006
|
+
"data-testid": testId
|
|
2007
|
+
}, otherProps), children);
|
|
2008
|
+
});
|
|
2009
|
+
|
|
2010
|
+
const HeroImage = /*#__PURE__*/forwardRef(function HeroImage({
|
|
2011
|
+
testId = 'store-hero-image',
|
|
2012
|
+
children,
|
|
2013
|
+
...otherProps
|
|
2014
|
+
}, ref) {
|
|
2015
|
+
return React.createElement("div", Object.assign({
|
|
2016
|
+
ref: ref,
|
|
2017
|
+
"data-hero-image": true,
|
|
2018
|
+
"data-testid": testId
|
|
2019
|
+
}, otherProps), children);
|
|
2020
|
+
});
|
|
2021
|
+
|
|
2022
|
+
const HeroHeading = /*#__PURE__*/forwardRef(function HeroHeading({
|
|
2023
|
+
testId = 'store-hero-heading',
|
|
2024
|
+
children,
|
|
2025
|
+
...otherProps
|
|
2026
|
+
}, ref) {
|
|
2027
|
+
return React.createElement("header", Object.assign({
|
|
2028
|
+
ref: ref,
|
|
2029
|
+
"data-hero-heading": true,
|
|
2030
|
+
"data-testid": testId
|
|
2031
|
+
}, otherProps), children);
|
|
2032
|
+
});
|
|
2033
|
+
|
|
2034
|
+
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
2035
|
//# sourceMappingURL=ui.esm.js.map
|