@hellobetterdigitalnz/selwynui 0.0.1-45 → 0.0.1-47

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.
Files changed (34) hide show
  1. package/dist/Components/DataDisplay/ContactsBlock/ContactsBlockProps.d.ts +1 -1
  2. package/dist/Components/DataDisplay/ContentBlock/ContentBlockProps.d.ts +2 -1
  3. package/dist/Components/DataDisplay/DetailsCard/DetailsCardProps.d.ts +0 -1
  4. package/dist/Components/DataDisplay/ListBlock/ListBlockProps.d.ts +1 -1
  5. package/dist/Components/DataDisplay/Media/Media.d.ts +0 -0
  6. package/dist/Components/DataDisplay/Media/MediaProps.d.ts +0 -0
  7. package/dist/Components/Shared/ElementHolder/ElementHolderProps.d.ts +1 -1
  8. package/dist/index.cjs.js +5 -5
  9. package/dist/index.cjs.js.map +1 -1
  10. package/dist/index.es.js +2372 -2345
  11. package/dist/index.es.js.map +1 -1
  12. package/dist/selwynui.css +1 -1
  13. package/package.json +1 -1
  14. package/src/Components/DataDisplay/ChatItenaryBlock/ChatItenaryBlock.stories.tsx +1 -1
  15. package/src/Components/DataDisplay/ChatItenaryBlock/chatItenaryBlock.module.scss +17 -17
  16. package/src/Components/DataDisplay/ContactsBlock/ContactsBlock.stories.tsx +16 -20
  17. package/src/Components/DataDisplay/ContactsBlock/ContactsBlock.tsx +3 -3
  18. package/src/Components/DataDisplay/ContactsBlock/ContactsBlockProps.tsx +1 -1
  19. package/src/Components/DataDisplay/ContactsBlock/contactsBlock.module.scss +1 -8
  20. package/src/Components/DataDisplay/ContentBlock/ContentBlock.stories.tsx +2 -2
  21. package/src/Components/DataDisplay/ContentBlock/ContentBlock.tsx +14 -2
  22. package/src/Components/DataDisplay/ContentBlock/ContentBlockProps.tsx +6 -1
  23. package/src/Components/DataDisplay/ContentBlock/contentBlock.module.scss +62 -30
  24. package/src/Components/DataDisplay/DetailsCard/DetailsCard.tsx +2 -3
  25. package/src/Components/DataDisplay/DetailsCard/DetailsCardProps.tsx +0 -1
  26. package/src/Components/DataDisplay/KPIBlock/kpiBlock.module.scss +5 -3
  27. package/src/Components/DataDisplay/ListBlock/ListBlock.tsx +88 -60
  28. package/src/Components/DataDisplay/ListBlock/ListBlockProps.tsx +1 -1
  29. package/src/Components/DataDisplay/Media/Media.tsx +0 -0
  30. package/src/Components/DataDisplay/Media/MediaProps.tsx +0 -0
  31. package/src/Components/DataDisplay/TestimonyCard/TestimonyCard.stories.tsx +1 -1
  32. package/src/Components/DataDisplay/TestimonyCard/TestimonyCard.tsx +59 -63
  33. package/src/Components/DataDisplay/TestimonyCard/testimonyCard.module.scss +92 -53
  34. package/src/Components/Shared/ElementHolder/ElementHolderProps.tsx +1 -1
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  interface ContactsBlockProps {
3
3
  contactBlockTitle?: string;
4
- contactItem?: ReactNode;
4
+ children?: ReactNode;
5
5
  }
6
6
  export default ContactsBlockProps;
@@ -1,5 +1,6 @@
1
+ import { ReactNode } from 'react';
1
2
  interface ContentBlockProps {
2
- children: React.ReactNode;
3
+ children: ReactNode;
3
4
  pillar?: 'visit' | 'live' | 'business' | 'participate' | 'taste' | 'main';
4
5
  }
5
6
  export default ContentBlockProps;
@@ -11,6 +11,5 @@ interface DetailsCardProps {
11
11
  pillar?: 'visit' | 'live' | 'business' | 'participate' | 'taste';
12
12
  image?: string;
13
13
  variation?: "long" | "short";
14
- category?: 'all' | 'adventure' | 'ski' | 'nature';
15
14
  }
16
15
  export default DetailsCardProps;
@@ -12,7 +12,7 @@ export interface Card {
12
12
  pillar?: 'visit' | 'live' | 'business' | 'participate' | 'taste';
13
13
  image?: string;
14
14
  variation?: "long" | "short";
15
- category?: 'all' | 'adventure' | 'ski' | 'nature';
15
+ category?: string | undefined;
16
16
  }
17
17
  interface ListBlockProps {
18
18
  title?: string;
File without changes
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- type SpacingOption = "none" | "sm" | "md" | "lg";
2
+ type SpacingOption = "none" | "xsm" | "sm" | "md" | "lg" | "xl";
3
3
  interface ElementHolderProps {
4
4
  children?: ReactNode;
5
5
  paddingTop?: SpacingOption;