@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hellobetterdigitalnz/selwynui",
3
- "version": "0.0.1-49",
3
+ "version": "0.0.1-50",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",
@@ -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" />