@popsure/dirty-swan 0.33.2 → 0.33.4

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 (43) hide show
  1. package/dist/cjs/index.js +32 -25
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/lib/components/modal/bottomModal/index.d.ts +1 -2
  4. package/dist/cjs/lib/components/modal/bottomOrRegularModal/index.d.ts +1 -2
  5. package/dist/cjs/lib/components/modal/index.d.ts +3 -3
  6. package/dist/cjs/lib/components/modal/index.stories.d.ts +62 -0
  7. package/dist/cjs/lib/components/modal/regularModal/index.d.ts +1 -2
  8. package/dist/cjs/lib/util/images/index.d.ts +5 -0
  9. package/dist/esm/components/input/checkbox/index.js +11 -10
  10. package/dist/esm/components/input/checkbox/index.js.map +1 -1
  11. package/dist/esm/components/input/checkbox/index.stories.js +1 -1
  12. package/dist/esm/components/modal/bottomModal/index.js +3 -3
  13. package/dist/esm/components/modal/bottomModal/index.js.map +1 -1
  14. package/dist/esm/components/modal/bottomOrRegularModal/index.js +5 -5
  15. package/dist/esm/components/modal/bottomOrRegularModal/index.js.map +1 -1
  16. package/dist/esm/components/modal/index.stories.js +118 -0
  17. package/dist/esm/components/modal/index.stories.js.map +1 -0
  18. package/dist/esm/components/modal/regularModal/index.js +3 -3
  19. package/dist/esm/components/modal/regularModal/index.js.map +1 -1
  20. package/dist/esm/index-e81a1766.js +19 -0
  21. package/dist/esm/index-e81a1766.js.map +1 -0
  22. package/dist/esm/index.js +4 -4
  23. package/dist/esm/lib/components/modal/bottomModal/index.d.ts +1 -2
  24. package/dist/esm/lib/components/modal/bottomOrRegularModal/index.d.ts +1 -2
  25. package/dist/esm/lib/components/modal/index.d.ts +3 -3
  26. package/dist/esm/lib/components/modal/index.stories.d.ts +62 -0
  27. package/dist/esm/lib/components/modal/regularModal/index.d.ts +1 -2
  28. package/dist/esm/lib/util/images/index.d.ts +5 -0
  29. package/dist/esm/util/images/index.stories.js +7 -4
  30. package/dist/esm/util/images/index.stories.js.map +1 -1
  31. package/package.json +1 -1
  32. package/src/lib/components/input/checkbox/index.tsx +2 -2
  33. package/src/lib/components/input/checkbox/styles.module.scss +8 -0
  34. package/src/lib/components/modal/bottomModal/index.tsx +1 -1
  35. package/src/lib/components/modal/bottomOrRegularModal/index.tsx +2 -2
  36. package/src/lib/components/modal/index.stories.tsx +254 -0
  37. package/src/lib/components/modal/index.ts +3 -3
  38. package/src/lib/components/modal/regularModal/index.tsx +1 -1
  39. package/src/lib/util/images/index.stories.tsx +20 -12
  40. package/src/lib/util/images/index.ts +16 -9
  41. package/dist/esm/index-db2e797f.js +0 -13
  42. package/dist/esm/index-db2e797f.js.map +0 -1
  43. package/src/lib/components/modal/index.stories.mdx +0 -313
@@ -2,6 +2,11 @@ declare const images: {
2
2
  readonly aid: "https://assets.cdn.feather-insurance.com/assets/images/aid.svg";
3
3
  readonly bed: "https://assets.cdn.feather-insurance.com/assets/images/bed.svg";
4
4
  readonly bigDog: "https://assets.cdn.feather-insurance.com/assets/images/bigDog.svg";
5
+ readonly verticalIcons: {
6
+ readonly dogLiability: "https://assets.cdn.feather-insurance.com/assets/images/dogLiabilityIcon.png";
7
+ readonly dogLiability2x: "https://assets.cdn.feather-insurance.com/assets/images/dogLiabilityIcon2x.png";
8
+ readonly dogLiability3x: "https://assets.cdn.feather-insurance.com/assets/images/dogLiabilityIcon3x.png";
9
+ };
5
10
  readonly brokenAquarium: "https://assets.cdn.feather-insurance.com/assets/images/brokenAquarium.svg";
6
11
  readonly brokenGlass: "https://assets.cdn.feather-insurance.com/assets/images/brokenGlass.svg";
7
12
  readonly damagedLaptop: "https://assets.cdn.feather-insurance.com/assets/images/damagedLaptop.svg";
@@ -1,6 +1,6 @@
1
1
  import { _ as __assign } from '../../tslib.es6-5bc94358.js';
2
2
  import { jsx, jsxs } from 'react/jsx-runtime';
3
- import { i as images } from '../../index-db2e797f.js';
3
+ import { i as images } from '../../index-e81a1766.js';
4
4
 
5
5
  var story = {
6
6
  title: 'Utils/Images',
@@ -10,11 +10,14 @@ var story = {
10
10
  component: 'Use the `images` object export to access our list of available images.',
11
11
  },
12
12
  },
13
- }
13
+ },
14
14
  };
15
- var Images = function () { return (jsx("div", __assign({ className: 'd-flex gap8 f-wrap' }, { children: Object.entries(images).map(function (_a) {
15
+ var Images = function () { return (jsx("div", __assign({ className: "d-flex gap8 f-wrap" }, { children: Object.entries(images).map(function (_a) {
16
16
  var key = _a[0], value = _a[1];
17
- return (jsxs("div", __assign({ className: "ws3 d-flex fd-column ai-center br4 p24 pt16 pb16 bg-grey-100" }, { children: [jsx("span", __assign({ className: 'p-p--small mb8' }, { children: key }), void 0),
17
+ if (typeof value !== 'string') {
18
+ return null;
19
+ }
20
+ return (jsxs("div", __assign({ className: "ws3 d-flex fd-column ai-center br4 p24 pt16 pb16 bg-grey-100" }, { children: [jsx("span", __assign({ className: "p-p--small mb8" }, { children: key }), void 0),
18
21
  jsx("img", { alt: key, src: value }, void 0)] }), key));
19
22
  }) }), void 0)); };
20
23
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.stories.js","sources":["../../../../../src/lib/util/images/index.stories.tsx"],"sourcesContent":["import { images } from \"../../util/images\";\n\nconst story = {\n title: 'Utils/Images',\n parameters: {\n docs: {\n description: {\n component: 'Use the `images` object export to access our list of available images.',\n },\n },\n }\n};\n\n\nexport const Images = () => (\n <div className='d-flex gap8 f-wrap'>\n {Object.entries(images).map(([key, value]) => (\n <div key={key} className=\"ws3 d-flex fd-column ai-center br4 p24 pt16 pb16 bg-grey-100\">\n <span className='p-p--small mb8'>{key}</span>\n \n <img alt={key} src={value} />\n </div>\n ))}\n </div>\n);\n\nexport default story;\n"],"names":["_jsx","_jsxs"],"mappings":";;;;IAEM,KAAK,GAAG;IACZ,KAAK,EAAE,cAAc;IACrB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,WAAW,EAAE;gBACX,SAAS,EAAE,wEAAwE;aACpF;SACF;KACF;EACD;IAGW,MAAM,GAAG,cAAM,QAC1BA,sBAAK,SAAS,EAAC,oBAAoB,gBAChC,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,UAAC,EAAY;YAAX,GAAG,QAAA,EAAE,KAAK,QAAA;QAAM,QAC5CC,uBAAe,SAAS,EAAC,8DAA8D,iBACrFD,uBAAM,SAAS,EAAC,gBAAgB,gBAAE,GAAG,YAAQ;gBAE7CA,aAAK,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,KAAK,WAAI,MAHrB,GAAG,CAIP;KACP,CAAC,YACE;;;;;"}
1
+ {"version":3,"file":"index.stories.js","sources":["../../../../../src/lib/util/images/index.stories.tsx"],"sourcesContent":["import { images } from '../../util/images';\n\nconst story = {\n title: 'Utils/Images',\n parameters: {\n docs: {\n description: {\n component:\n 'Use the `images` object export to access our list of available images.',\n },\n },\n },\n};\n\nexport const Images = () => (\n <div className=\"d-flex gap8 f-wrap\">\n {Object.entries(images).map(([key, value]) => {\n if (typeof value !== 'string') {\n return null;\n }\n return (\n <div\n key={key}\n className=\"ws3 d-flex fd-column ai-center br4 p24 pt16 pb16 bg-grey-100\"\n >\n <span className=\"p-p--small mb8\">{key}</span>\n\n <img alt={key} src={value} />\n </div>\n );\n })}\n </div>\n);\n\nexport default story;\n"],"names":["_jsx","_jsxs"],"mappings":";;;;IAEM,KAAK,GAAG;IACZ,KAAK,EAAE,cAAc;IACrB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,WAAW,EAAE;gBACX,SAAS,EACP,wEAAwE;aAC3E;SACF;KACF;EACD;IAEW,MAAM,GAAG,cAAM,QAC1BA,sBAAK,SAAS,EAAC,oBAAoB,gBAChC,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,UAAC,EAAY;YAAX,GAAG,QAAA,EAAE,KAAK,QAAA;QACtC,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC7B,OAAO,IAAI,CAAC;SACb;QACD,QACEC,uBAEE,SAAS,EAAC,8DAA8D,iBAExED,uBAAM,SAAS,EAAC,gBAAgB,gBAAE,GAAG,YAAQ;gBAE7CA,aAAK,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,KAAK,WAAI,MALxB,GAAG,CAMJ,EACN;KACH,CAAC,YACE;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@popsure/dirty-swan",
3
- "version": "0.33.2",
3
+ "version": "0.33.4",
4
4
  "author": "Vincent Audoire <vincent@getpopsure.com>",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -69,8 +69,8 @@ export const Checkbox = <ValueType extends string>({
69
69
  return (
70
70
  <div
71
71
  className={classNames(className, styles.container, 'd-flex gap8', {
72
- ws10: wide,
73
- ws6: !wide,
72
+ [styles.wide]: wide,
73
+ [styles.narrow]: !wide,
74
74
  'fd-row': inlineLayout,
75
75
  'f-wrap': inlineLayout,
76
76
  'fd-column': !inlineLayout,
@@ -1,3 +1,11 @@
1
1
  .container {
2
2
  max-width: 100%;
3
+ }
4
+
5
+ .narrow {
6
+ max-width: 424px;
7
+ }
8
+
9
+ .wide {
10
+ max-width: 736px;
3
11
  }
@@ -7,7 +7,7 @@ import imageClose from './img/close.svg';
7
7
  import useOnClose from '../hooks/useOnClose';
8
8
  import classNames from 'classnames';
9
9
 
10
- export default ({
10
+ export const BottomModal = ({
11
11
  title,
12
12
  isOpen,
13
13
  children,
@@ -1,11 +1,11 @@
1
1
  import React, { useEffect, useRef, useState } from 'react';
2
2
 
3
3
  import { Props, RegularModal } from '..';
4
- import BottomModal from '../bottomModal';
4
+ import { BottomModal } from '../bottomModal';
5
5
 
6
6
  import styles from './style.module.scss';
7
7
 
8
- export default ({ isOpen, ...props }: Props) => {
8
+ export const BottomOrRegularModal = ({ isOpen, ...props }: Props) => {
9
9
  const mobileRef = useRef<HTMLDivElement>(null);
10
10
  const [visibleSize, setVisibleSize] = useState<'desktop' | 'mobile'>(
11
11
  'desktop'
@@ -0,0 +1,254 @@
1
+
2
+ import { useState } from 'react';
3
+ import { BottomModal, BottomOrRegularModal, Props, RegularModal } from '.';
4
+ import { Markdown } from '../markdown';
5
+
6
+ const story = {
7
+ title: 'JSX/Modals',
8
+ component: BottomOrRegularModal,
9
+ argTypes: {
10
+ title: {
11
+ defaultValue: "Modal title",
12
+ description: "The title that needs to be displayed on the modal",
13
+ },
14
+ isOpen: {
15
+ defaultValue: false,
16
+ description: "When set to `true`, the modal is displayed. When set to `false` the modal gets removed",
17
+ },
18
+ dismissible: {
19
+ defaultValue: true,
20
+ description: "The content that gets displayed on the modal",
21
+ },
22
+ className: {
23
+ defaultValue: '',
24
+ description: 'Any additional className',
25
+ },
26
+ children: {
27
+ defaultValue: 'Modal content to be displayed',
28
+ description: 'The content that gets displayed on the modal',
29
+ type: 'text',
30
+ table: {
31
+ type: {
32
+ summary: 'ReactNode'
33
+ }
34
+ }
35
+ },
36
+ onClose: {
37
+ description: 'Callback when the user close the modal',
38
+ action: true,
39
+ table: {
40
+ category: "Callbacks",
41
+ },
42
+ },
43
+ },
44
+ parameters: {
45
+ componentSubtitle: 'Bottom or Regular modal will automatically choose what’s best to display based on the users screen width.',
46
+ docs: {
47
+ description: {
48
+ component: 'Modals are dialog overlays that prevent the user from interacting with the rest of the website until an action is taken or the dialog is dismissed. Modals are purposefully disruptive and should be used thoughtfully and sparingly.',
49
+ }
50
+ },
51
+ },
52
+ };
53
+
54
+ export const BottomOrRegularModalStory = ({
55
+ children,
56
+ className,
57
+ dismissible,
58
+ isOpen,
59
+ onClose,
60
+ title,
61
+ }: Props) => {
62
+ const [display, setDisplay] = useState(isOpen);
63
+ const handleOnClose = () => {
64
+ onClose();
65
+ setDisplay(false);
66
+ };
67
+
68
+ return (
69
+ <>
70
+ <button
71
+ className="p-btn--primary wmn2"
72
+ onClick={() => setDisplay(true)}
73
+ >
74
+ Click to open modal
75
+ </button>
76
+
77
+ <BottomOrRegularModal
78
+ dismissible={dismissible}
79
+ className={className}
80
+ title={title}
81
+ isOpen={display}
82
+ onClose={handleOnClose}
83
+ >
84
+ <div style={{ padding: '0 24px 24px 24px' }}>
85
+ <div>
86
+ {children}
87
+ </div>
88
+ <button
89
+ className="p-btn--primary mt24 wmn3"
90
+ onClick={() => setDisplay(false)}
91
+ >
92
+ Continue
93
+ </button>
94
+ </div>
95
+ </BottomOrRegularModal>
96
+ </>
97
+ );
98
+ }
99
+
100
+ BottomOrRegularModalStory.storyName = 'BottomOrRegularModal';
101
+
102
+ export const RegularModalStory = ({
103
+ children,
104
+ isOpen,
105
+ onClose,
106
+ title,
107
+ }: Props) => {
108
+ const [display, setDisplay] = useState(isOpen);
109
+ const handleOnClose = () => {
110
+ onClose();
111
+ setDisplay(false);
112
+ };
113
+
114
+ return (
115
+ <>
116
+ Regular modals are primary meant to be used on Desktop or Tablet environment. The modal will appear in the middle of the screen and the user will be able to dismiss them using the top left "X" icon.
117
+ <Markdown>
118
+ If you want to use it for Mobile only, you should check [Bottom modal](#bottommodal) instead.
119
+ Want to use either Regular Modal or Bottom Modal based on the screen width? You can use [Bottom or Regular modal](#bottomorregularmodal).
120
+ </Markdown>
121
+
122
+ <button
123
+ className="p-btn--primary wmn2 mt24"
124
+ onClick={() => setDisplay(true)}
125
+ >
126
+ Click to open modal
127
+ </button>
128
+
129
+ <RegularModal
130
+ title={title}
131
+ isOpen={display}
132
+ onClose={handleOnClose}
133
+ >
134
+ <div style={{ padding: '0 24px 24px 24px' }}>
135
+ <div>
136
+ {children}
137
+ </div>
138
+ <button
139
+ className="p-btn--primary mt24 wmn3"
140
+ onClick={() => setDisplay(false)}
141
+ >
142
+ Continue
143
+ </button>
144
+ </div>
145
+ </RegularModal>
146
+ </>
147
+ );
148
+ }
149
+
150
+ RegularModalStory.storyName = 'RegularModal';
151
+
152
+ export const BottomModalStory = ({
153
+ children,
154
+ isOpen,
155
+ onClose,
156
+ title,
157
+ }: Props) => {
158
+ const [display, setDisplay] = useState(isOpen);
159
+ const handleOnClose = () => {
160
+ onClose();
161
+ setDisplay(false);
162
+ };
163
+
164
+ return (
165
+ <>
166
+ Bottom modals are primary meant to be used on Mobile environment. The modal will appear from the bottom of the screen and the user will be able to dismiss them using the top left "X" icon.
167
+ <Markdown>
168
+ If you want to use it for Desktop only, you should check [Regular modal](#regularmodal) instead.
169
+ Want to use either Regular Modal or Bottom Modal based on the screen width? You can use [Bottom or Regular modal](#bottomorregularmodal).
170
+ </Markdown>
171
+
172
+ <button
173
+ className="p-btn--primary wmn2 mt24"
174
+ onClick={() => setDisplay(true)}
175
+ >
176
+ Click to open modal
177
+ </button>
178
+
179
+ <BottomModal
180
+ title={title}
181
+ isOpen={display}
182
+ onClose={handleOnClose}
183
+ >
184
+ <div style={{ padding: '0 24px 24px 24px' }}>
185
+ <div>
186
+ {children}
187
+ </div>
188
+ <button
189
+ className="p-btn--primary mt24 wmn3"
190
+ onClick={() => setDisplay(false)}
191
+ >
192
+ Continue
193
+ </button>
194
+ </div>
195
+ </BottomModal>
196
+ </>
197
+ );
198
+ }
199
+
200
+ BottomModalStory.storyName = 'BottomModal';
201
+
202
+ export const NonDismissibleModal = ({
203
+ children,
204
+ isOpen,
205
+ onClose,
206
+ title,
207
+ }: Props) => {
208
+ const [display, setDisplay] = useState(isOpen);
209
+ const handleOnClose = () => {
210
+ onClose();
211
+ setDisplay(false);
212
+ };
213
+
214
+ return (
215
+ <>
216
+ <Markdown>
217
+ Setting the dismissible prop to false will hide the close button and prevent the user from closing it using the escape key or clicking outside.
218
+ This prop can be useful if we want the user to explicitly interact with the modal options.
219
+ </Markdown>
220
+
221
+ <Markdown>
222
+ **Warning:** a modal with the dismissible prop can only be closed by changing the isOpen prop to false.
223
+ </Markdown>
224
+
225
+ <button
226
+ className="p-btn--primary wmn2 mt24"
227
+ onClick={() => setDisplay(true)}
228
+ >
229
+ Click to open modal
230
+ </button>
231
+
232
+ <BottomOrRegularModal
233
+ dismissible={false}
234
+ title={title}
235
+ isOpen={display}
236
+ onClose={handleOnClose}
237
+ >
238
+ <div style={{ padding: '0 24px 24px 24px' }}>
239
+ <div>
240
+ {children}
241
+ </div>
242
+ <button
243
+ className="p-btn--primary mt24 wmn3"
244
+ onClick={() => setDisplay(false)}
245
+ >
246
+ Continue
247
+ </button>
248
+ </div>
249
+ </BottomOrRegularModal>
250
+ </>
251
+ );
252
+ }
253
+
254
+ export default story;
@@ -1,6 +1,6 @@
1
- import BottomModal from './bottomModal';
2
- import RegularModal from './regularModal';
3
- import BottomOrRegularModal from './bottomOrRegularModal';
1
+ import { BottomModal } from './bottomModal';
2
+ import { RegularModal } from './regularModal';
3
+ import { BottomOrRegularModal } from './bottomOrRegularModal';
4
4
 
5
5
  export interface Props {
6
6
  title?: string;
@@ -8,7 +8,7 @@ import styles from './style.module.scss';
8
8
  import imageClose from './img/close.svg';
9
9
  import classNames from 'classnames';
10
10
 
11
- export default ({
11
+ export const RegularModal = ({
12
12
  title,
13
13
  isOpen,
14
14
  children,
@@ -1,26 +1,34 @@
1
- import { images } from "../../util/images";
1
+ import { images } from '../../util/images';
2
2
 
3
3
  const story = {
4
4
  title: 'Utils/Images',
5
5
  parameters: {
6
6
  docs: {
7
7
  description: {
8
- component: 'Use the `images` object export to access our list of available images.',
8
+ component:
9
+ 'Use the `images` object export to access our list of available images.',
9
10
  },
10
11
  },
11
- }
12
+ },
12
13
  };
13
14
 
14
-
15
15
  export const Images = () => (
16
- <div className='d-flex gap8 f-wrap'>
17
- {Object.entries(images).map(([key, value]) => (
18
- <div key={key} className="ws3 d-flex fd-column ai-center br4 p24 pt16 pb16 bg-grey-100">
19
- <span className='p-p--small mb8'>{key}</span>
20
-
21
- <img alt={key} src={value} />
22
- </div>
23
- ))}
16
+ <div className="d-flex gap8 f-wrap">
17
+ {Object.entries(images).map(([key, value]) => {
18
+ if (typeof value !== 'string') {
19
+ return null;
20
+ }
21
+ return (
22
+ <div
23
+ key={key}
24
+ className="ws3 d-flex fd-column ai-center br4 p24 pt16 pb16 bg-grey-100"
25
+ >
26
+ <span className="p-p--small mb8">{key}</span>
27
+
28
+ <img alt={key} src={value} />
29
+ </div>
30
+ );
31
+ })}
24
32
  </div>
25
33
  );
26
34
 
@@ -1,12 +1,19 @@
1
+ const basePath = 'https://assets.cdn.feather-insurance.com/assets/images';
2
+
1
3
  const images = {
2
- aid: 'https://assets.cdn.feather-insurance.com/assets/images/aid.svg',
3
- bed: 'https://assets.cdn.feather-insurance.com/assets/images/bed.svg',
4
- bigDog: 'https://assets.cdn.feather-insurance.com/assets/images/bigDog.svg',
5
- brokenAquarium: 'https://assets.cdn.feather-insurance.com/assets/images/brokenAquarium.svg',
6
- brokenGlass: 'https://assets.cdn.feather-insurance.com/assets/images/brokenGlass.svg',
7
- damagedLaptop: 'https://assets.cdn.feather-insurance.com/assets/images/damagedLaptop.svg',
8
- moneyIncome: 'https://assets.cdn.feather-insurance.com/assets/images/moneyIncome.svg',
9
- washingMachine: 'https://assets.cdn.feather-insurance.com/assets/images/washingMachine.svg',
4
+ aid: `${basePath}/aid.svg`,
5
+ bed: `${basePath}/bed.svg`,
6
+ bigDog: `${basePath}/bigDog.svg`,
7
+ verticalIcons: {
8
+ dogLiability: `${basePath}/dogLiabilityIcon.png`,
9
+ dogLiability2x: `${basePath}/dogLiabilityIcon2x.png`,
10
+ dogLiability3x: `${basePath}/dogLiabilityIcon3x.png`,
11
+ },
12
+ brokenAquarium: `${basePath}/brokenAquarium.svg`,
13
+ brokenGlass: `${basePath}/brokenGlass.svg`,
14
+ damagedLaptop: `${basePath}/damagedLaptop.svg`,
15
+ moneyIncome: `${basePath}/moneyIncome.svg`,
16
+ washingMachine: `${basePath}/washingMachine.svg`,
10
17
  } as const;
11
18
 
12
- export { images };
19
+ export { images };
@@ -1,13 +0,0 @@
1
- var images = {
2
- aid: 'https://assets.cdn.feather-insurance.com/assets/images/aid.svg',
3
- bed: 'https://assets.cdn.feather-insurance.com/assets/images/bed.svg',
4
- bigDog: 'https://assets.cdn.feather-insurance.com/assets/images/bigDog.svg',
5
- brokenAquarium: 'https://assets.cdn.feather-insurance.com/assets/images/brokenAquarium.svg',
6
- brokenGlass: 'https://assets.cdn.feather-insurance.com/assets/images/brokenGlass.svg',
7
- damagedLaptop: 'https://assets.cdn.feather-insurance.com/assets/images/damagedLaptop.svg',
8
- moneyIncome: 'https://assets.cdn.feather-insurance.com/assets/images/moneyIncome.svg',
9
- washingMachine: 'https://assets.cdn.feather-insurance.com/assets/images/washingMachine.svg',
10
- };
11
-
12
- export { images as i };
13
- //# sourceMappingURL=index-db2e797f.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-db2e797f.js","sources":["../../../src/lib/util/images/index.ts"],"sourcesContent":["const images = {\n aid: 'https://assets.cdn.feather-insurance.com/assets/images/aid.svg',\n bed: 'https://assets.cdn.feather-insurance.com/assets/images/bed.svg',\n bigDog: 'https://assets.cdn.feather-insurance.com/assets/images/bigDog.svg',\n brokenAquarium: 'https://assets.cdn.feather-insurance.com/assets/images/brokenAquarium.svg',\n brokenGlass: 'https://assets.cdn.feather-insurance.com/assets/images/brokenGlass.svg',\n damagedLaptop: 'https://assets.cdn.feather-insurance.com/assets/images/damagedLaptop.svg',\n moneyIncome: 'https://assets.cdn.feather-insurance.com/assets/images/moneyIncome.svg',\n washingMachine: 'https://assets.cdn.feather-insurance.com/assets/images/washingMachine.svg',\n} as const;\n\nexport { images };"],"names":[],"mappings":"IAAM,MAAM,GAAG;IACb,GAAG,EAAE,gEAAgE;IACrE,GAAG,EAAE,gEAAgE;IACrE,MAAM,EAAE,mEAAmE;IAC3E,cAAc,EAAE,2EAA2E;IAC3F,WAAW,EAAE,wEAAwE;IACrF,aAAa,EAAE,0EAA0E;IACzF,WAAW,EAAE,wEAAwE;IACrF,cAAc,EAAE,2EAA2E;;;;;"}