@hellobetterdigitalnz/selwynui 0.0.1-13 → 0.0.1-15

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-13",
3
+ "version": "0.0.1-15",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",
@@ -119,11 +119,6 @@ const ImageContentFullTemplate: Story = {
119
119
  <ImageContent
120
120
  rendition={'full'}
121
121
  pillar={'live'}
122
- images={{
123
- single: [
124
- 'https://images.pexels.com/photos/1563356/pexels-photo-1563356.jpeg',
125
- ],
126
- }}
127
122
  list={[
128
123
  {
129
124
  id:'1',
@@ -152,11 +147,6 @@ const ImageContentFullTemplate: Story = {
152
147
  <ImageContent
153
148
  rendition={'full'}
154
149
  pillar={'live'}
155
- images={{
156
- single: [
157
- 'https://images.pexels.com/photos/1563356/pexels-photo-1563356.jpeg',
158
- ],
159
- }}
160
150
  list={[
161
151
  {
162
152
  id:'1',
@@ -53,9 +53,9 @@ const ImageContent = (props: ImageContentProps) => {
53
53
  </>)}
54
54
  </h3>
55
55
  </div>
56
- <div className={styles.desc}>
57
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
58
- </div>
56
+ {content && <div className={styles.desc}>
57
+ <p>{content}</p>
58
+ </div>}
59
59
  {list && <ul className={styles.list}>
60
60
  {list.map((i) => (
61
61
  <li key={i.id}>
@@ -424,6 +424,9 @@
424
424
 
425
425
  .imageWrapper{
426
426
  width: 50%;
427
+ margin-left: 0px;
428
+ margin-right: 0px;
429
+
427
430
  }
428
431
 
429
432
  .content{