@hellobetterdigitalnz/selwynui 0.0.1-49 → 0.0.1-50
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.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +501 -501
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/src/Components/DataDisplay/ListBlock/ListBlock.stories.tsx +0 -1
- package/src/Components/DataDisplay/ListBlock/ListBlock.tsx +1 -2
package/package.json
CHANGED
|
@@ -42,7 +42,6 @@ const NoFilter: Story = {
|
|
|
42
42
|
<ListBlock
|
|
43
43
|
title={'Food and drink'}
|
|
44
44
|
description={'Find the ideal event venues in Selwyn, where beautiful landscapes blend with top-notch facilities. '}
|
|
45
|
-
variation={'carousel'}
|
|
46
45
|
action={<Button label={'ALL VENUE'} secondaryIcon={<ArrowRight/>} level={"secondary"}/>}
|
|
47
46
|
cards={
|
|
48
47
|
[
|
|
@@ -106,8 +106,7 @@ const ListBlock = (props: ListBlockProps) => {
|
|
|
106
106
|
<div className={styles.pathwayCards}>
|
|
107
107
|
{activeFilter ? (
|
|
108
108
|
<div className={styles.pathwayCardsWrap}>
|
|
109
|
-
{cards
|
|
110
|
-
.filter(c => filterCards(c.category))
|
|
109
|
+
{cards.filter(c => filterCards(c.category))
|
|
111
110
|
.map((card, idx) => (
|
|
112
111
|
<div key={idx} className={styles.pathwayCard}>
|
|
113
112
|
<DetailsCard {...card} variation="short" />
|