@popsure/dirty-swan 0.41.0 → 0.41.3-rc.2
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/cjs/index.js +6 -6
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/lib/components/cards/cardWithLeftIcon/index.stories.d.ts +2 -2
- package/dist/cjs/lib/components/cards/cardWithTopIcon/index.stories.d.ts +1 -1
- package/dist/cjs/lib/components/cards/infoCard/index.stories.d.ts +2 -2
- package/dist/cjs/lib/util/images/index.d.ts +149 -149
- package/dist/esm/components/toast/index.js +1 -1
- package/dist/esm/components/toast/index.stories.js +5 -3
- package/dist/esm/components/toast/index.stories.js.map +1 -1
- package/dist/esm/components/toast/index.test.js +1 -1
- package/dist/esm/index-1693701e.js.map +1 -1
- package/dist/esm/{index-eff726d3.js → index-45edc7d0.js} +7 -7
- package/dist/esm/index-45edc7d0.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/lib/components/cards/cardWithLeftIcon/index.stories.d.ts +2 -2
- package/dist/esm/lib/components/cards/cardWithTopIcon/index.stories.d.ts +1 -1
- package/dist/esm/lib/components/cards/infoCard/index.stories.d.ts +2 -2
- package/dist/esm/lib/util/images/index.d.ts +149 -149
- package/package.json +1 -1
- package/src/lib/components/toast/index.stories.tsx +7 -2
- package/src/lib/components/toast/index.tsx +8 -4
- package/src/lib/components/toast/style.module.scss +9 -5
- package/src/lib/util/images/index.ts +2 -2
- package/dist/esm/index-eff726d3.js.map +0 -1
|
@@ -22,7 +22,7 @@ declare const story: {
|
|
|
22
22
|
};
|
|
23
23
|
leftIcon: {
|
|
24
24
|
defaultValue: {
|
|
25
|
-
src:
|
|
25
|
+
src: string;
|
|
26
26
|
alt: string;
|
|
27
27
|
};
|
|
28
28
|
description: string;
|
|
@@ -36,7 +36,7 @@ declare const story: {
|
|
|
36
36
|
};
|
|
37
37
|
rightIcon: {
|
|
38
38
|
defaultValue: {
|
|
39
|
-
src:
|
|
39
|
+
src: string;
|
|
40
40
|
alt: string;
|
|
41
41
|
};
|
|
42
42
|
description: string;
|
|
@@ -18,14 +18,14 @@ declare const story: {
|
|
|
18
18
|
};
|
|
19
19
|
topIcon: {
|
|
20
20
|
defaultValue: {
|
|
21
|
-
src:
|
|
21
|
+
src: string;
|
|
22
22
|
alt: string;
|
|
23
23
|
};
|
|
24
24
|
description: string;
|
|
25
25
|
};
|
|
26
26
|
rightIcon: {
|
|
27
27
|
defaultValue: {
|
|
28
|
-
src:
|
|
28
|
+
src: string;
|
|
29
29
|
alt: string;
|
|
30
30
|
};
|
|
31
31
|
description: string;
|
|
@@ -1,156 +1,156 @@
|
|
|
1
1
|
declare const images: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
aid: string;
|
|
3
|
+
bed: string;
|
|
4
|
+
bigDog: string;
|
|
5
|
+
verticalIcons: {
|
|
6
|
+
dogLiability: string;
|
|
7
|
+
dogLiability2x: string;
|
|
8
|
+
dogLiability3x: string;
|
|
9
|
+
lifeIcon: string;
|
|
10
|
+
lifeIcon2x: string;
|
|
11
|
+
lifeIcon3x: string;
|
|
12
12
|
};
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
13
|
+
brokenAquarium: string;
|
|
14
|
+
brokenGlass: string;
|
|
15
|
+
damagedLaptop: string;
|
|
16
|
+
moneyIncome: string;
|
|
17
|
+
washingMachine: string;
|
|
18
|
+
bill: string;
|
|
19
|
+
books: string;
|
|
20
|
+
finalExpenses: string;
|
|
21
|
+
mortgage: string;
|
|
22
22
|
};
|
|
23
23
|
declare const illustrations: {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
24
|
+
aids: string;
|
|
25
|
+
allInOneAccount: string;
|
|
26
|
+
ambulance: string;
|
|
27
|
+
bank: string;
|
|
28
|
+
battery: string;
|
|
29
|
+
bed: string;
|
|
30
|
+
bigDog: string;
|
|
31
|
+
bikeDamage: string;
|
|
32
|
+
bikeDestroyedDamaged: string;
|
|
33
|
+
bikeDetails: string;
|
|
34
|
+
bikeFrameNumber: string;
|
|
35
|
+
bikeLock: string;
|
|
36
|
+
bikeParts: string;
|
|
37
|
+
bikeRiding: string;
|
|
38
|
+
bikeStolenBroken: string;
|
|
39
|
+
bikeStolen: string;
|
|
40
|
+
bikeTrailer: string;
|
|
41
|
+
bikeWear: string;
|
|
42
|
+
bike: string;
|
|
43
|
+
bill: string;
|
|
44
|
+
bookOpen: string;
|
|
45
|
+
briefcase: string;
|
|
46
|
+
brokenAquarium: string;
|
|
47
|
+
brokenGlass: string;
|
|
48
|
+
calculating1: string;
|
|
49
|
+
calculatingDone: string;
|
|
50
|
+
calculating: string;
|
|
51
|
+
calendar: string;
|
|
52
|
+
car: string;
|
|
53
|
+
checkDoc: string;
|
|
54
|
+
check: string;
|
|
55
|
+
concierge: string;
|
|
56
|
+
contract: string;
|
|
57
|
+
crash: string;
|
|
58
|
+
creditCard: string;
|
|
59
|
+
damagedLaptop: string;
|
|
60
|
+
dentalCleaning: string;
|
|
61
|
+
dentalTreatment: string;
|
|
62
|
+
dental: string;
|
|
63
|
+
dependents: string;
|
|
64
|
+
document1: string;
|
|
65
|
+
documentCheck: string;
|
|
66
|
+
documentCross: string;
|
|
67
|
+
document: string;
|
|
68
|
+
door: string;
|
|
69
|
+
education: string;
|
|
70
|
+
electricCar: string;
|
|
71
|
+
email: string;
|
|
72
|
+
euroMoney: string;
|
|
73
|
+
fastEasy: string;
|
|
74
|
+
fire: string;
|
|
75
|
+
freelancerExpat: string;
|
|
76
|
+
funeralBurial: string;
|
|
77
|
+
fuse: string;
|
|
78
|
+
giftPolicyOptionsQuote: string;
|
|
79
|
+
grandmother: string;
|
|
80
|
+
healthCard: string;
|
|
81
|
+
heart: string;
|
|
82
|
+
helmet: string;
|
|
83
|
+
householdHome: string;
|
|
84
|
+
keys: string;
|
|
85
|
+
legalLawyer: string;
|
|
86
|
+
location: string;
|
|
87
|
+
lock: string;
|
|
88
|
+
mail: string;
|
|
89
|
+
medicine: string;
|
|
90
|
+
mentalHealth: string;
|
|
91
|
+
mentalIllness: string;
|
|
92
|
+
miniJobExpat: string;
|
|
93
|
+
moneyIncome: string;
|
|
94
|
+
movingTruck: string;
|
|
95
|
+
naturalRemedies: string;
|
|
96
|
+
newArrival: string;
|
|
97
|
+
noPolicies: string;
|
|
98
|
+
passport: string;
|
|
99
|
+
pawPet: string;
|
|
100
|
+
pen: string;
|
|
101
|
+
personB: string;
|
|
102
|
+
person: string;
|
|
103
|
+
petsBunny: string;
|
|
104
|
+
petsCat: string;
|
|
105
|
+
phone1: string;
|
|
106
|
+
phone2Fa: string;
|
|
107
|
+
phonePerson: string;
|
|
108
|
+
phonePhoto: string;
|
|
109
|
+
phone: string;
|
|
110
|
+
photoPerson: string;
|
|
111
|
+
pipes: string;
|
|
112
|
+
planeRepatriationFlight: string;
|
|
113
|
+
pregnancy: string;
|
|
114
|
+
productionDown: string;
|
|
115
|
+
pushNotifications: string;
|
|
116
|
+
radioactive: string;
|
|
117
|
+
referral: string;
|
|
118
|
+
researcherExpat: string;
|
|
119
|
+
restrictions: string;
|
|
120
|
+
ring: string;
|
|
121
|
+
screen: string;
|
|
122
|
+
screenings: string;
|
|
123
|
+
shield1: string;
|
|
124
|
+
shield2: string;
|
|
125
|
+
shield3: string;
|
|
126
|
+
shieldCross: string;
|
|
127
|
+
shieldQuestionMark: string;
|
|
128
|
+
shieldWarning: string;
|
|
129
|
+
shield: string;
|
|
130
|
+
sign: string;
|
|
131
|
+
spinner: string;
|
|
132
|
+
sportLifestyleBasketball: string;
|
|
133
|
+
storm: string;
|
|
134
|
+
studentExpat: string;
|
|
135
|
+
submit: string;
|
|
136
|
+
supportAgent: string;
|
|
137
|
+
supportSpeakingMessageChatTalk: string;
|
|
138
|
+
theft: string;
|
|
139
|
+
time: string;
|
|
140
|
+
traffic: string;
|
|
141
|
+
tree: string;
|
|
142
|
+
user: string;
|
|
143
|
+
vaccination: string;
|
|
144
|
+
vandalism: string;
|
|
145
|
+
videoCall: string;
|
|
146
|
+
visaSeekerExpat: string;
|
|
147
|
+
visa: string;
|
|
148
|
+
visualAid: string;
|
|
149
|
+
visual: string;
|
|
150
|
+
washingMachine: string;
|
|
151
|
+
water: string;
|
|
152
|
+
wavingHand: string;
|
|
153
|
+
worldwide: string;
|
|
154
154
|
};
|
|
155
155
|
declare type IllustrationKeys = keyof typeof illustrations;
|
|
156
156
|
export type { IllustrationKeys };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../../tslib.es6-5bc94358.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import '../../index-6ea95111.js';
|
|
4
|
-
export { T as Toast, a as Toaster, t as toast } from '../../index-
|
|
4
|
+
export { T as Toast, a as Toaster, t as toast } from '../../index-45edc7d0.js';
|
|
5
5
|
import '../icon/icons/X.js';
|
|
6
6
|
import '../../style-inject.es-1f59c1d0.js';
|
|
7
7
|
import 'react';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as __assign } from '../../tslib.es6-5bc94358.js';
|
|
2
2
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { c as classNames } from '../../index-6ea95111.js';
|
|
4
|
-
import { T as Toast, a as Toaster, s as styles, t as toast } from '../../index-
|
|
4
|
+
import { T as Toast, a as Toaster, s as styles, t as toast } from '../../index-45edc7d0.js';
|
|
5
5
|
import { Button } from '../button/index.js';
|
|
6
6
|
import '../../style-inject.es-1f59c1d0.js';
|
|
7
7
|
import 'react';
|
|
@@ -40,7 +40,7 @@ var story = {
|
|
|
40
40
|
},
|
|
41
41
|
args: {
|
|
42
42
|
title: 'We couldn’t open the chat',
|
|
43
|
-
description: '
|
|
43
|
+
description: "We couldn't open the chat description. We couldn't open the chat description.",
|
|
44
44
|
action: {
|
|
45
45
|
title: 'Send an email',
|
|
46
46
|
onClick: function () { }
|
|
@@ -51,7 +51,9 @@ var story = {
|
|
|
51
51
|
};
|
|
52
52
|
var FakeInlineToast = function (_a) {
|
|
53
53
|
var title = _a.title, description = _a.description, action = _a.action, type = _a.type;
|
|
54
|
-
return (jsx("div", __assign({ className: 'mb32' }, { children: jsx("div", __assign({ className: classNames(styles.toast, 'br8 bs-lg d-inline-flex')
|
|
54
|
+
return (jsx("div", __assign({ className: 'mb32' }, { children: jsx("div", __assign({ className: classNames(styles.toast, 'br8 bs-lg d-inline-flex'), style: {
|
|
55
|
+
padding: "12px 20px"
|
|
56
|
+
} }, { children: jsx(Toast, { title: title, onDismiss: function () { }, description: description, action: action, type: type }, void 0) }), void 0) }), void 0));
|
|
55
57
|
};
|
|
56
58
|
var ToastStory = function (_a) {
|
|
57
59
|
var title = _a.title, description = _a.description, action = _a.action, type = _a.type, duration = _a.duration;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.stories.js","sources":["../../../../../src/lib/components/toast/index.stories.tsx"],"sourcesContent":["import classNames from 'classnames';\nimport { Toast, ToastProps, ToastType, Toaster, toast } from '.';\nimport { Button } from '../button';\nimport styles from './style.module.scss';\n\nconst toastTypes: ToastType[] = ['success', 'warning', 'error', 'information'];\n\nconst story = {\n title: 'JSX/Toast',\n component: Toast,\n argTypes: {\n title: {\n description: 'Title of the toast.',\n },\n description: {\n description: 'Additional description content to be displayed inside the toast.',\n },\n type: {\n description: 'Type of toast to display. This changes the styles/colors of the toast.',\n },\n action: {\n description: 'Object containing a possible action button inside the toast.',\n },\n duration: {\n description: 'Duration in ms that the toast should be displayed.',\n table: {\n defaultValue: { summary: 3000 },\n }\n },\n onDismiss: {\n table: {\n disable: true,\n },\n }\n },\n args: {\n title: 'We couldn’t open the chat',\n description: '
|
|
1
|
+
{"version":3,"file":"index.stories.js","sources":["../../../../../src/lib/components/toast/index.stories.tsx"],"sourcesContent":["import classNames from 'classnames';\nimport { Toast, ToastProps, ToastType, Toaster, toast } from '.';\nimport { Button } from '../button';\nimport styles from './style.module.scss';\n\nconst toastTypes: ToastType[] = ['success', 'warning', 'error', 'information'];\n\nconst story = {\n title: 'JSX/Toast',\n component: Toast,\n argTypes: {\n title: {\n description: 'Title of the toast.',\n },\n description: {\n description: 'Additional description content to be displayed inside the toast.',\n },\n type: {\n description: 'Type of toast to display. This changes the styles/colors of the toast.',\n },\n action: {\n description: 'Object containing a possible action button inside the toast.',\n },\n duration: {\n description: 'Duration in ms that the toast should be displayed.',\n table: {\n defaultValue: { summary: 3000 },\n }\n },\n onDismiss: {\n table: {\n disable: true,\n },\n }\n },\n args: {\n title: 'We couldn’t open the chat',\n description: \"We couldn't open the chat description. We couldn't open the chat description.\",\n action: {\n title: 'Send an email',\n onClick: () => {}\n },\n type: 'success',\n duration: 3000,\n },\n};\n\nconst FakeInlineToast = ({ \n title, \n description, \n action, \n type\n}: Omit<ToastProps, 'onDismiss'>) => (\n <div className='mb32'>\n <div\n className={classNames(styles.toast, 'br8 bs-lg d-inline-flex')}\n style={{\n padding: \"12px 20px\"\n }}\n >\n <Toast \n title={title}\n onDismiss={() => {}}\n description={description}\n action={action}\n type={type}\n />\n </div>\n </div>\n);\n\nexport const ToastStory = ({ title, description, action, type, duration }: ToastProps) => {\n const showToast = () => toast(\n title, \n {\n description,\n duration,\n type,\n action\n }\n );\n\n return (\n <>\n <div className='mb16'>\n <div>\n Show a toast using the following code:\n </div>\n <pre className='bg-grey-300 br4 d-inline-flex p8 mt8'>\n {\"() => toast(title, { description, type, action })\"}\n </pre>\n </div>\n <Toaster />\n\n <Button onClick={showToast}>Click here to trigger toast</Button>\n </>\n );\n};\n\nToastStory.storyName = \"Toast\";\n\nexport const ToastTypes = (props: ToastProps) => {\n return (\n <>\n {toastTypes.map((toastType) => (\n <div key={toastType} className='d-flex fd-column'>\n <h3 className='p-h3 mb16'>{toastType}</h3>\n <FakeInlineToast {...props} type={toastType} />\n </div>\n ))}\n </>\n );\n};\n\nexport const ToastContent = ({ title, description, action }: ToastProps) => {\n return (\n <div className='d-flex fd-column'>\n <FakeInlineToast title={title} />\n <FakeInlineToast title={title} description={description} />\n <FakeInlineToast title={title} description={description} action={action} />\n <FakeInlineToast title={title} action={action} />\n </div>\n );\n};\n\nexport default story;\n"],"names":["_jsx","_jsxs"],"mappings":";;;;;;;;;;;AAKA,IAAM,UAAU,GAAgB,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,aAAa,CAAC,CAAC;IAEzE,KAAK,GAAG;IACZ,KAAK,EAAE,WAAW;IAClB,SAAS,EAAE,KAAK;IAChB,QAAQ,EAAE;QACR,KAAK,EAAE;YACL,WAAW,EAAE,qBAAqB;SACnC;QACD,WAAW,EAAE;YACX,WAAW,EAAE,kEAAkE;SAChF;QACD,IAAI,EAAE;YACJ,WAAW,EAAE,wEAAwE;SACtF;QACD,MAAM,EAAE;YACN,WAAW,EAAE,8DAA8D;SAC5E;QACD,QAAQ,EAAE;YACR,WAAW,EAAE,oDAAoD;YACjE,KAAK,EAAE;gBACL,YAAY,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;aAChC;SACF;QACD,SAAS,EAAE;YACT,KAAK,EAAE;gBACL,OAAO,EAAE,IAAI;aACd;SACF;KACF;IACD,IAAI,EAAE;QACJ,KAAK,EAAE,2BAA2B;QAClC,WAAW,EAAE,+EAA+E;QAC5F,MAAM,EAAE;YACN,KAAK,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qBAAI,SAAS,EAAC,WAAW,gBAAE,SAAS,YAAM;gBAC1CA,IAAC,eAAe,eAAK,KAAK,IAAE,IAAI,EAAE,SAAS,YAAI,MAFvC,SAAS,CAGb,IACP,CAAC,WACD,EACH;AACJ,EAAE;IAEW,YAAY,GAAG,UAAC,EAA0C;QAAxC,KAAK,WAAA,EAAE,WAAW,iBAAA,EAAE,MAAM,YAAA;IACvD,QACEC,uBAAK,SAAS,EAAC,kBAAkB,iBAC/BD,IAAC,eAAe,IAAC,KAAK,EAAE,KAAK,WAAI;YACjCA,IAAC,eAAe,IAAC,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,WAAW,WAAI;YAC3DA,IAAC,eAAe,IAAC,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,WAAI;YAC3EA,IAAC,eAAe,IAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,WAAI,aAC7C,EACN;AACJ;;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { b as __awaiter, c as __generator } from '../../tslib.es6-5bc94358.js';
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { c as customRender, s as screen } from '../../customRender-9fd06f5b.js';
|
|
4
|
-
import { T as Toast } from '../../index-
|
|
4
|
+
import { T as Toast } from '../../index-45edc7d0.js';
|
|
5
5
|
import 'react';
|
|
6
6
|
import 'react-dom';
|
|
7
7
|
import '../../_commonjsHelpers-e7f67fd8.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-1693701e.js","sources":["../../../src/lib/util/images/index.ts"],"sourcesContent":["const basePath = 'https://assets.cdn.feather-insurance.com/assets/images';\nconst basePathIllustrations = `${basePath}/illustrations`;\n\nconst images = {\n aid: `${basePath}/aid.svg`,\n bed: `${basePath}/bed.svg`,\n bigDog: `${basePath}/bigDog.svg`,\n verticalIcons: {\n dogLiability: `${basePath}/dogLiabilityIcon.png`,\n dogLiability2x: `${basePath}/dogLiabilityIcon2x.png`,\n dogLiability3x: `${basePath}/dogLiabilityIcon3x.png`,\n lifeIcon: `${basePath}/lifeIcon.png`,\n lifeIcon2x: `${basePath}/lifeIcon2x.png`,\n lifeIcon3x: `${basePath}/lifeIcon3x.png`,\n },\n brokenAquarium: `${basePath}/brokenAquarium.svg`,\n brokenGlass: `${basePath}/brokenGlass.svg`,\n damagedLaptop: `${basePath}/damagedLaptop.svg`,\n moneyIncome: `${basePath}/moneyIncome.svg`,\n washingMachine: `${basePath}/washingMachine.svg`,\n bill: `${basePath}/bill.svg`,\n books: `${basePath}/books.svg`,\n finalExpenses: `${basePath}/finalExpenses.svg`,\n mortgage: `${basePath}/mortgage.svg`,\n} as const;\n\nconst illustrations = {\n aids: `${basePathIllustrations}/aids.svg`,\n allInOneAccount: `${basePathIllustrations}/all-in-one-account.svg`,\n ambulance: `${basePathIllustrations}/ambulance.svg`,\n bank: `${basePathIllustrations}/bank.svg`,\n battery: `${basePathIllustrations}/battery.svg`,\n bed: `${basePathIllustrations}/bed.svg`,\n bigDog: `${basePathIllustrations}/big-dog.svg`,\n bikeDamage: `${basePathIllustrations}/bike-damage.svg`,\n bikeDestroyedDamaged: `${basePathIllustrations}/bike-destroyed-damaged.svg`,\n bikeDetails: `${basePathIllustrations}/bike-details.svg`,\n bikeFrameNumber: `${basePathIllustrations}/bike-frame-number.svg`,\n bikeLock: `${basePathIllustrations}/bike-lock.svg`,\n bikeParts: `${basePathIllustrations}/bike-parts.svg`,\n bikeRiding: `${basePathIllustrations}/bike-riding.svg`,\n bikeStolenBroken: `${basePathIllustrations}/bike-stolen-broken.svg`,\n bikeStolen: `${basePathIllustrations}/bike-stolen.svg`,\n bikeTrailer: `${basePathIllustrations}/bike-trailer.svg`,\n bikeWear: `${basePathIllustrations}/bike-wear.svg`,\n bike: `${basePathIllustrations}/bike.svg`,\n bill: `${basePathIllustrations}/bill.svg`,\n bookOpen: `${basePathIllustrations}/book-open.svg`,\n briefcase: `${basePathIllustrations}/briefcase.svg`,\n brokenAquarium: `${basePathIllustrations}/broken-aquarium.svg`,\n brokenGlass: `${basePathIllustrations}/broken-glass.svg`,\n calculating1: `${basePathIllustrations}/calculating-1.svg`,\n calculatingDone: `${basePathIllustrations}/calculating-done.svg`,\n calculating: `${basePathIllustrations}/calculating.svg`,\n calendar: `${basePathIllustrations}/calendar.svg`,\n car: `${basePathIllustrations}/car.svg`,\n checkDoc: `${basePathIllustrations}/check-doc.svg`,\n check: `${basePathIllustrations}/check.svg`,\n concierge: `${basePathIllustrations}/concierge.svg`,\n contract: `${basePathIllustrations}/contract.svg`,\n crash: `${basePathIllustrations}/crash.svg`,\n creditCard: `${basePathIllustrations}/credit-card.svg`,\n damagedLaptop: `${basePathIllustrations}/damaged-laptop.svg`,\n dentalCleaning: `${basePathIllustrations}/dental-cleaning.svg`,\n dentalTreatment: `${basePathIllustrations}/dental-treatment.svg`,\n dental: `${basePathIllustrations}/dental.svg`,\n dependents: `${basePathIllustrations}/dependents.svg`,\n document1: `${basePathIllustrations}/document-1.svg`,\n documentCheck: `${basePathIllustrations}/document-check.svg`,\n documentCross: `${basePathIllustrations}/document-cross.svg`,\n document: `${basePathIllustrations}/document.svg`,\n door: `${basePathIllustrations}/door.svg`,\n education: `${basePathIllustrations}/education.svg`,\n electricCar: `${basePathIllustrations}/electric-car.svg`,\n email: `${basePathIllustrations}/email.svg`,\n euroMoney: `${basePathIllustrations}/euro-money.svg`,\n fastEasy: `${basePathIllustrations}/fast-easy.svg`,\n fire: `${basePathIllustrations}/fire.svg`,\n freelancerExpat: `${basePathIllustrations}/freelancer-expat.svg`,\n funeralBurial: `${basePathIllustrations}/funeral-burial.svg`,\n fuse: `${basePathIllustrations}/fuse.svg`,\n giftPolicyOptionsQuote: `${basePathIllustrations}/gift-policy-options-quote.svg`,\n grandmother: `${basePathIllustrations}/grandmother.svg`,\n healthCard: `${basePathIllustrations}/health-card.svg`,\n heart: `${basePathIllustrations}/heart.svg`,\n helmet: `${basePathIllustrations}/helmet.svg`,\n householdHome: `${basePathIllustrations}/household-home.svg`,\n keys: `${basePathIllustrations}/keys.svg`,\n legalLawyer: `${basePathIllustrations}/legal-lawyer.svg`,\n location: `${basePathIllustrations}/location.svg`,\n lock: `${basePathIllustrations}/lock.svg`,\n mail: `${basePathIllustrations}/mail.svg`,\n medicine: `${basePathIllustrations}/medicine.svg`,\n mentalHealth: `${basePathIllustrations}/mental-health.svg`,\n mentalIllness: `${basePathIllustrations}/mental-llness.svg`,\n miniJobExpat: `${basePathIllustrations}/minijob-expat.svg`,\n moneyIncome: `${basePathIllustrations}/money-income.svg`,\n movingTruck: `${basePathIllustrations}/moving-truck.svg`,\n naturalRemedies: `${basePathIllustrations}/natural-remedies.svg`,\n newArrival: `${basePathIllustrations}/new-arrival.svg`,\n noPolicies: `${basePathIllustrations}/no-policies.svg`,\n passport: `${basePathIllustrations}/passport.svg`,\n pawPet: `${basePathIllustrations}/paw-pet.svg`,\n pen: `${basePathIllustrations}/pen.svg`,\n personB: `${basePathIllustrations}/person-b.svg`,\n person: `${basePathIllustrations}/person.svg`,\n petsBunny: `${basePathIllustrations}/pets-bunny.svg`,\n petsCat: `${basePathIllustrations}/pets-cat.svg`,\n phone1: `${basePathIllustrations}/phone-1.svg`,\n phone2Fa: `${basePathIllustrations}/phone-2-fa.svg`,\n phonePerson: `${basePathIllustrations}/phone-person.svg`,\n phonePhoto: `${basePathIllustrations}/phone-photo.svg`,\n phone: `${basePathIllustrations}/phone.svg`,\n photoPerson: `${basePathIllustrations}/photo-person.svg`,\n pipes: `${basePathIllustrations}/pipes.svg`,\n planeRepatriationFlight: `${basePathIllustrations}/plane-repatriation-flight.svg`,\n pregnancy: `${basePathIllustrations}/pregnancy.svg`,\n productionDown: `${basePathIllustrations}/production-down.svg`,\n pushNotifications: `${basePathIllustrations}/push-notifications.svg`,\n radioactive: `${basePathIllustrations}/radioactive.svg`,\n referral: `${basePathIllustrations}/referral.svg`,\n researcherExpat: `${basePathIllustrations}/researcher-expat.svg`,\n restrictions: `${basePathIllustrations}/restrictions.svg`,\n ring: `${basePathIllustrations}/ring.svg`,\n screen: `${basePathIllustrations}/screen.svg`,\n screenings: `${basePathIllustrations}/screenings.svg`,\n shield1: `${basePathIllustrations}/shield-1.svg`,\n shield2: `${basePathIllustrations}/shield-2.svg`,\n shield3: `${basePathIllustrations}/shield-3.svg`,\n shieldCross: `${basePathIllustrations}/shield-cross.svg`,\n shieldQuestionMark: `${basePathIllustrations}/shield-questionmark.svg`,\n shieldWarning: `${basePathIllustrations}/shield-warning.svg`,\n shield: `${basePathIllustrations}/shield.svg`,\n sign: `${basePathIllustrations}/sign.svg`,\n spinner: `${basePathIllustrations}/spinner.svg`,\n sportLifestyleBasketball: `${basePathIllustrations}/sport-lifestyle-basketball.svg`,\n storm: `${basePathIllustrations}/storm.svg`,\n studentExpat: `${basePathIllustrations}/student-expat.svg`,\n submit: `${basePathIllustrations}/submit.svg`,\n supportAgent: `${basePathIllustrations}/support-agent.svg`,\n supportSpeakingMessageChatTalk: `${basePathIllustrations}/support-speaking-message-chat-talk.svg`,\n theft: `${basePathIllustrations}/theft.svg`,\n time: `${basePathIllustrations}/time.svg`,\n traffic: `${basePathIllustrations}/traffic.svg`,\n tree: `${basePathIllustrations}/tree.svg`,\n user: `${basePathIllustrations}/user.svg`,\n vaccination: `${basePathIllustrations}/vaccination.svg`,\n vandalism: `${basePathIllustrations}/vandalism.svg`,\n videoCall: `${basePathIllustrations}/video-call.svg`,\n visaSeekerExpat: `${basePathIllustrations}/visa-seeker-expat.svg`,\n visa: `${basePathIllustrations}/visa.svg`,\n visualAid: `${basePathIllustrations}/visual-aid.svg`,\n visual: `${basePathIllustrations}/visual.svg`,\n washingMachine: `${basePathIllustrations}/washing-machine.svg`,\n water: `${basePathIllustrations}/water.svg`,\n wavingHand: `${basePathIllustrations}/waving-hand.svg`,\n worldwide: `${basePathIllustrations}/worldwide.svg`,\n} as const;\n\ntype IllustrationKeys = keyof typeof illustr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AAI,EAAK,qBAAqB,cAAW;IACzC,WAAW,EAAK,qBAAqB,qBAAkB;IACvD,SAAS,EAAK,qBAAqB,mBAAgB;IACnD,SAAS,EAAK,qBAAqB,oBAAiB;IACpD,eAAe,EAAK,qBAAqB,2BAAwB;IACjE,IAAI,EAAK,qBAAqB,cAAW;IACzC,SAAS,EAAK,qBAAqB,oBAAiB;IACpD,MAAM,EAAK,qBAAqB,gBAAa;IAC7C,cAAc,EAAK,qBAAqB,yBAAsB;IAC9D,KAAK,EAAK,qBAAqB,eAAY;IAC3C,UAAU,EAAK,qBAAqB,qBAAkB;IACtD,SAAS,EAAK,qBAAqB,mBAAgB;;;;;"}
|
|
1
|
+
{"version":3,"file":"index-1693701e.js","sources":["../../../src/lib/util/images/index.ts"],"sourcesContent":["const basePath = 'https://assets.cdn.feather-insurance.com/assets/images';\nconst basePathIllustrations = `${basePath}/illustrations`;\n\nconst images = {\n aid: `${basePath}/aid.svg`,\n bed: `${basePath}/bed.svg`,\n bigDog: `${basePath}/bigDog.svg`,\n verticalIcons: {\n dogLiability: `${basePath}/dogLiabilityIcon.png`,\n dogLiability2x: `${basePath}/dogLiabilityIcon2x.png`,\n dogLiability3x: `${basePath}/dogLiabilityIcon3x.png`,\n lifeIcon: `${basePath}/lifeIcon.png`,\n lifeIcon2x: `${basePath}/lifeIcon2x.png`,\n lifeIcon3x: `${basePath}/lifeIcon3x.png`,\n },\n brokenAquarium: `${basePath}/brokenAquarium.svg`,\n brokenGlass: `${basePath}/brokenGlass.svg`,\n damagedLaptop: `${basePath}/damagedLaptop.svg`,\n moneyIncome: `${basePath}/moneyIncome.svg`,\n washingMachine: `${basePath}/washingMachine.svg`,\n bill: `${basePath}/bill.svg`,\n books: `${basePath}/books.svg`,\n finalExpenses: `${basePath}/finalExpenses.svg`,\n mortgage: `${basePath}/mortgage.svg`,\n};\n\nconst illustrations = {\n aids: `${basePathIllustrations}/aids.svg`,\n allInOneAccount: `${basePathIllustrations}/all-in-one-account.svg`,\n ambulance: `${basePathIllustrations}/ambulance.svg`,\n bank: `${basePathIllustrations}/bank.svg`,\n battery: `${basePathIllustrations}/battery.svg`,\n bed: `${basePathIllustrations}/bed.svg`,\n bigDog: `${basePathIllustrations}/big-dog.svg`,\n bikeDamage: `${basePathIllustrations}/bike-damage.svg`,\n bikeDestroyedDamaged: `${basePathIllustrations}/bike-destroyed-damaged.svg`,\n bikeDetails: `${basePathIllustrations}/bike-details.svg`,\n bikeFrameNumber: `${basePathIllustrations}/bike-frame-number.svg`,\n bikeLock: `${basePathIllustrations}/bike-lock.svg`,\n bikeParts: `${basePathIllustrations}/bike-parts.svg`,\n bikeRiding: `${basePathIllustrations}/bike-riding.svg`,\n bikeStolenBroken: `${basePathIllustrations}/bike-stolen-broken.svg`,\n bikeStolen: `${basePathIllustrations}/bike-stolen.svg`,\n bikeTrailer: `${basePathIllustrations}/bike-trailer.svg`,\n bikeWear: `${basePathIllustrations}/bike-wear.svg`,\n bike: `${basePathIllustrations}/bike.svg`,\n bill: `${basePathIllustrations}/bill.svg`,\n bookOpen: `${basePathIllustrations}/book-open.svg`,\n briefcase: `${basePathIllustrations}/briefcase.svg`,\n brokenAquarium: `${basePathIllustrations}/broken-aquarium.svg`,\n brokenGlass: `${basePathIllustrations}/broken-glass.svg`,\n calculating1: `${basePathIllustrations}/calculating-1.svg`,\n calculatingDone: `${basePathIllustrations}/calculating-done.svg`,\n calculating: `${basePathIllustrations}/calculating.svg`,\n calendar: `${basePathIllustrations}/calendar.svg`,\n car: `${basePathIllustrations}/car.svg`,\n checkDoc: `${basePathIllustrations}/check-doc.svg`,\n check: `${basePathIllustrations}/check.svg`,\n concierge: `${basePathIllustrations}/concierge.svg`,\n contract: `${basePathIllustrations}/contract.svg`,\n crash: `${basePathIllustrations}/crash.svg`,\n creditCard: `${basePathIllustrations}/credit-card.svg`,\n damagedLaptop: `${basePathIllustrations}/damaged-laptop.svg`,\n dentalCleaning: `${basePathIllustrations}/dental-cleaning.svg`,\n dentalTreatment: `${basePathIllustrations}/dental-treatment.svg`,\n dental: `${basePathIllustrations}/dental.svg`,\n dependents: `${basePathIllustrations}/dependents.svg`,\n document1: `${basePathIllustrations}/document-1.svg`,\n documentCheck: `${basePathIllustrations}/document-check.svg`,\n documentCross: `${basePathIllustrations}/document-cross.svg`,\n document: `${basePathIllustrations}/document.svg`,\n door: `${basePathIllustrations}/door.svg`,\n education: `${basePathIllustrations}/education.svg`,\n electricCar: `${basePathIllustrations}/electric-car.svg`,\n email: `${basePathIllustrations}/email.svg`,\n euroMoney: `${basePathIllustrations}/euro-money.svg`,\n fastEasy: `${basePathIllustrations}/fast-easy.svg`,\n fire: `${basePathIllustrations}/fire.svg`,\n freelancerExpat: `${basePathIllustrations}/freelancer-expat.svg`,\n funeralBurial: `${basePathIllustrations}/funeral-burial.svg`,\n fuse: `${basePathIllustrations}/fuse.svg`,\n giftPolicyOptionsQuote: `${basePathIllustrations}/gift-policy-options-quote.svg`,\n grandmother: `${basePathIllustrations}/grandmother.svg`,\n healthCard: `${basePathIllustrations}/health-card.svg`,\n heart: `${basePathIllustrations}/heart.svg`,\n helmet: `${basePathIllustrations}/helmet.svg`,\n householdHome: `${basePathIllustrations}/household-home.svg`,\n keys: `${basePathIllustrations}/keys.svg`,\n legalLawyer: `${basePathIllustrations}/legal-lawyer.svg`,\n location: `${basePathIllustrations}/location.svg`,\n lock: `${basePathIllustrations}/lock.svg`,\n mail: `${basePathIllustrations}/mail.svg`,\n medicine: `${basePathIllustrations}/medicine.svg`,\n mentalHealth: `${basePathIllustrations}/mental-health.svg`,\n mentalIllness: `${basePathIllustrations}/mental-llness.svg`,\n miniJobExpat: `${basePathIllustrations}/minijob-expat.svg`,\n moneyIncome: `${basePathIllustrations}/money-income.svg`,\n movingTruck: `${basePathIllustrations}/moving-truck.svg`,\n naturalRemedies: `${basePathIllustrations}/natural-remedies.svg`,\n newArrival: `${basePathIllustrations}/new-arrival.svg`,\n noPolicies: `${basePathIllustrations}/no-policies.svg`,\n passport: `${basePathIllustrations}/passport.svg`,\n pawPet: `${basePathIllustrations}/paw-pet.svg`,\n pen: `${basePathIllustrations}/pen.svg`,\n personB: `${basePathIllustrations}/person-b.svg`,\n person: `${basePathIllustrations}/person.svg`,\n petsBunny: `${basePathIllustrations}/pets-bunny.svg`,\n petsCat: `${basePathIllustrations}/pets-cat.svg`,\n phone1: `${basePathIllustrations}/phone-1.svg`,\n phone2Fa: `${basePathIllustrations}/phone-2-fa.svg`,\n phonePerson: `${basePathIllustrations}/phone-person.svg`,\n phonePhoto: `${basePathIllustrations}/phone-photo.svg`,\n phone: `${basePathIllustrations}/phone.svg`,\n photoPerson: `${basePathIllustrations}/photo-person.svg`,\n pipes: `${basePathIllustrations}/pipes.svg`,\n planeRepatriationFlight: `${basePathIllustrations}/plane-repatriation-flight.svg`,\n pregnancy: `${basePathIllustrations}/pregnancy.svg`,\n productionDown: `${basePathIllustrations}/production-down.svg`,\n pushNotifications: `${basePathIllustrations}/push-notifications.svg`,\n radioactive: `${basePathIllustrations}/radioactive.svg`,\n referral: `${basePathIllustrations}/referral.svg`,\n researcherExpat: `${basePathIllustrations}/researcher-expat.svg`,\n restrictions: `${basePathIllustrations}/restrictions.svg`,\n ring: `${basePathIllustrations}/ring.svg`,\n screen: `${basePathIllustrations}/screen.svg`,\n screenings: `${basePathIllustrations}/screenings.svg`,\n shield1: `${basePathIllustrations}/shield-1.svg`,\n shield2: `${basePathIllustrations}/shield-2.svg`,\n shield3: `${basePathIllustrations}/shield-3.svg`,\n shieldCross: `${basePathIllustrations}/shield-cross.svg`,\n shieldQuestionMark: `${basePathIllustrations}/shield-questionmark.svg`,\n shieldWarning: `${basePathIllustrations}/shield-warning.svg`,\n shield: `${basePathIllustrations}/shield.svg`,\n sign: `${basePathIllustrations}/sign.svg`,\n spinner: `${basePathIllustrations}/spinner.svg`,\n sportLifestyleBasketball: `${basePathIllustrations}/sport-lifestyle-basketball.svg`,\n storm: `${basePathIllustrations}/storm.svg`,\n studentExpat: `${basePathIllustrations}/student-expat.svg`,\n submit: `${basePathIllustrations}/submit.svg`,\n supportAgent: `${basePathIllustrations}/support-agent.svg`,\n supportSpeakingMessageChatTalk: `${basePathIllustrations}/support-speaking-message-chat-talk.svg`,\n theft: `${basePathIllustrations}/theft.svg`,\n time: `${basePathIllustrations}/time.svg`,\n traffic: `${basePathIllustrations}/traffic.svg`,\n tree: `${basePathIllustrations}/tree.svg`,\n user: `${basePathIllustrations}/user.svg`,\n vaccination: `${basePathIllustrations}/vaccination.svg`,\n vandalism: `${basePathIllustrations}/vandalism.svg`,\n videoCall: `${basePathIllustrations}/video-call.svg`,\n visaSeekerExpat: `${basePathIllustrations}/visa-seeker-expat.svg`,\n visa: `${basePathIllustrations}/visa.svg`,\n visualAid: `${basePathIllustrations}/visual-aid.svg`,\n visual: `${basePathIllustrations}/visual.svg`,\n washingMachine: `${basePathIllustrations}/washing-machine.svg`,\n water: `${basePathIllustrations}/water.svg`,\n wavingHand: `${basePathIllustrations}/waving-hand.svg`,\n worldwide: `${basePathIllustrations}/worldwide.svg`,\n};\n\ntype IllustrationKeys = keyof typeof illustrations;\n\nexport type { IllustrationKeys }\nexport { illustrations, images };\n"],"names":[],"mappings":"AAAA,IAAM,QAAQ,GAAG,wDAAwD,CAAC;AAC1E,IAAM,qBAAqB,GAAM,QAAQ,mBAAgB,CAAC;IAEpD,MAAM,GAAG;IACb,GAAG,EAAK,QAAQ,aAAU;IAC1B,GAAG,EAAK,QAAQ,aAAU;IAC1B,MAAM,EAAK,QAAQ,gBAAa;IAChC,aAAa,EAAE;QACb,YAAY,EAAK,QAAQ,0BAAuB;QAChD,cAAc,EAAK,QAAQ,4BAAyB;QACpD,cAAc,EAAK,QAAQ,4BAAyB;QACpD,QAAQ,EAAK,QAAQ,kBAAe;QACpC,UAAU,EAAK,QAAQ,oBAAiB;QACxC,UAAU,EAAK,QAAQ,oBAAiB;KACzC;IACD,cAAc,EAAK,QAAQ,wBAAqB;IAChD,WAAW,EAAK,QAAQ,qBAAkB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AqB,oBAAiB;IACrD,OAAO,EAAK,qBAAqB,kBAAe;IAChD,OAAO,EAAK,qBAAqB,kBAAe;IAChD,OAAO,EAAK,qBAAqB,kBAAe;IAChD,WAAW,EAAK,qBAAqB,sBAAmB;IACxD,kBAAkB,EAAK,qBAAqB,6BAA0B;IACtE,aAAa,EAAK,qBAAqB,wBAAqB;IAC5D,MAAM,EAAK,qBAAqB,gBAAa;IAC7C,IAAI,EAAK,qBAAqB,cAAW;IACzC,OAAO,EAAK,qBAAqB,iBAAc;IAC/C,wBAAwB,EAAK,qBAAqB,oCAAiC;IACnF,KAAK,EAAK,qBAAqB,eAAY;IAC3C,YAAY,EAAK,qBAAqB,uBAAoB;IAC1D,MAAM,EAAK,qBAAqB,gBAAa;IAC7C,YAAY,EAAK,qBAAqB,uBAAoB;IAC1D,8BAA8B,EAAK,qBAAqB,4CAAyC;IACjG,KAAK,EAAK,qBAAqB,eAAY;IAC3C,IAAI,EAAK,qBAAqB,cAAW;IACzC,OAAO,EAAK,qBAAqB,iBAAc;IAC/C,IAAI,EAAK,qBAAqB,cAAW;IACzC,IAAI,EAAK,qBAAqB,cAAW;IACzC,WAAW,EAAK,qBAAqB,qBAAkB;IACvD,SAAS,EAAK,qBAAqB,mBAAgB;IACnD,SAAS,EAAK,qBAAqB,oBAAiB;IACpD,eAAe,EAAK,qBAAqB,2BAAwB;IACjE,IAAI,EAAK,qBAAqB,cAAW;IACzC,SAAS,EAAK,qBAAqB,oBAAiB;IACpD,MAAM,EAAK,qBAAqB,gBAAa;IAC7C,cAAc,EAAK,qBAAqB,yBAAsB;IAC9D,KAAK,EAAK,qBAAqB,eAAY;IAC3C,UAAU,EAAK,qBAAqB,qBAAkB;IACtD,SAAS,EAAK,qBAAqB,mBAAgB;;;;;"}
|
|
@@ -6,8 +6,8 @@ import require$$0__default from 'react';
|
|
|
6
6
|
import { g as getAugmentedNamespace } from './_commonjsHelpers-e7f67fd8.js';
|
|
7
7
|
import XIcon from './components/icon/icons/X.js';
|
|
8
8
|
|
|
9
|
-
var css_248z = ".style-module_toastWrapper__1SC4C {\n margin: 0;\n padding: 0;\n}\n\n.style-module_toast__NY8bo {\n position: relative;\n margin: 0;\n width: 392px;\n overflow: hidden;\n padding:
|
|
10
|
-
var styles = {"toastWrapper":"style-module_toastWrapper__1SC4C","toast":"style-module_toast__NY8bo","toastSidebar":"style-module_toastSidebar__NUxSa","toastSidebar--information":"style-module_toastSidebar--information__2nKT_","toastSidebar--error":"style-module_toastSidebar--error__15Vwo","toastSidebar--warning":"style-module_toastSidebar--warning__33N9y","toastSidebar--success":"style-module_toastSidebar--success__27652","closeButton":"style-module_closeButton__3S_5n","actionButton":"style-module_actionButton__3ziRG","actionButton--warning":"style-module_actionButton--warning__2I0LT","actionButton--error":"style-module_actionButton--error__1kJIR","actionButton--success":"style-module_actionButton--success__y96NI","actionButton--information":"style-module_actionButton--information__1oeAG"};
|
|
9
|
+
var css_248z = ".style-module_toastWrapper__1SC4C {\n margin: 0;\n padding: 0;\n}\n\n.style-module_toast__NY8bo {\n position: relative;\n margin: 0;\n padding: 0;\n width: 392px;\n overflow: hidden;\n}\n\n.style-module_toastContent__3RHpU {\n padding: 4px 0 4px 8px;\n}\n\n.style-module_toastSidebar__NUxSa {\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n width: 8px;\n}\n.style-module_toastSidebar--information__2nKT_ {\n background-color: #8bb4ea;\n}\n.style-module_toastSidebar--error__15Vwo {\n background-color: #e55454;\n}\n.style-module_toastSidebar--warning__33N9y {\n background-color: #f7ce5c;\n}\n.style-module_toastSidebar--success__27652 {\n background-color: #84de8a;\n}\n\n.style-module_closeButton__3S_5n {\n background-color: transparent;\n color: #d2d2d8;\n min-width: 24px;\n}\n.style-module_closeButton__3S_5n:hover {\n color: #696970;\n}\n\n.style-module_actionButton__3ziRG {\n background-color: transparent;\n}\n.style-module_actionButton--warning__2I0LT {\n color: #cc9e21;\n}\n.style-module_actionButton--warning__2I0LT:hover {\n color: #4a3d10;\n}\n.style-module_actionButton--error__1kJIR {\n color: #e55454;\n}\n.style-module_actionButton--error__1kJIR:hover {\n color: #c64848;\n}\n.style-module_actionButton--success__y96NI {\n color: #599278;\n}\n.style-module_actionButton--success__y96NI:hover {\n color: #2b4639;\n}\n.style-module_actionButton--information__1oeAG {\n color: #5f7ba0;\n}\n.style-module_actionButton--information__1oeAG:hover {\n color: #2d394a;\n}";
|
|
10
|
+
var styles = {"toastWrapper":"style-module_toastWrapper__1SC4C","toast":"style-module_toast__NY8bo","toastContent":"style-module_toastContent__3RHpU","toastSidebar":"style-module_toastSidebar__NUxSa","toastSidebar--information":"style-module_toastSidebar--information__2nKT_","toastSidebar--error":"style-module_toastSidebar--error__15Vwo","toastSidebar--warning":"style-module_toastSidebar--warning__33N9y","toastSidebar--success":"style-module_toastSidebar--success__27652","closeButton":"style-module_closeButton__3S_5n","actionButton":"style-module_actionButton__3ziRG","actionButton--warning":"style-module_actionButton--warning__2I0LT","actionButton--error":"style-module_actionButton--error__1kJIR","actionButton--success":"style-module_actionButton--success__y96NI","actionButton--information":"style-module_actionButton--information__1oeAG"};
|
|
11
11
|
styleInject(css_248z);
|
|
12
12
|
|
|
13
13
|
let e={data:""},t=t=>"object"==typeof window?((t?t.querySelector("#_goober"):window._goober)||Object.assign((t||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:t||e,r=e=>{let r=t(e),l=r.data;return r.data="",l},l$1=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,a=/\/\*[^]*?\*\/| +/g,n$1=/\n+/g,o=(e,t)=>{let r="",l="",a="";for(let n in e){let c=e[n];"@"==n[0]?"i"==n[1]?r=n+" "+c+";":l+="f"==n[1]?o(c,n):n+"{"+o(c,"k"==n[1]?"":t)+"}":"object"==typeof c?l+=o(c,t?t.replace(/([^,])+/g,e=>n.replace(/(^:.*)|([^,])+/g,t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)):n):null!=c&&(n=/^--/.test(n)?n:n.replace(/[A-Z]/g,"-$&").toLowerCase(),a+=o.p?o.p(n,c):n+":"+c+";");}return r+(t&&a?t+"{"+a+"}":a)+l},c={},s=e=>{if("object"==typeof e){let t="";for(let r in e)t+=r+s(e[r]);return t}return e},i=(e,t,r,i,p)=>{let u=s(e),d=c[u]||(c[u]=(e=>{let t=0,r=11;for(;t<e.length;)r=101*r+e.charCodeAt(t++)>>>0;return "go"+r})(u));if(!c[d]){let t=u!==e?e:(e=>{let t,r,o=[{}];for(;t=l$1.exec(e.replace(a,""));)t[4]?o.shift():t[3]?(r=t[3].replace(n$1," ").trim(),o.unshift(o[0][r]=o[0][r]||{})):o[0][t[1]]=t[2].replace(n$1," ").trim();return o[0]})(e);c[d]=o(p?{["@keyframes "+d]:t}:t,r?"":"."+d);}let f=r&&c.g?c.g:null;return r&&(c.g=c[d]),((e,t,r,l)=>{l?t.data=t.data.replace(l,e):-1===t.data.indexOf(e)&&(t.data=r?e+t.data:t.data+e);})(c[d],t,i,f),d},p=(e,t,r)=>e.reduce((e,l,a)=>{let n=t[a];if(n&&n.call){let e=n(r),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;n=t?"."+t:e&&"object"==typeof e?e.props?"":o(e,""):!1===e?"":e;}return e+l+(null==n?"":n)},"");function u$1(e){let r=this||{},l=e.call?e(r.p):e;return i(l.unshift?l.raw?p(l,[].slice.call(arguments,1),r.p):l.reduce((e,t)=>Object.assign(e,t&&t.call?t(r.p):t),{}):l,t(r.target),r.g,r.o,r.k)}let d,f$1,g,b$1=u$1.bind({g:1}),h$1=u$1.bind({k:1});function m(e,t,r,l){o.p=t,d=e,f$1=r,g=l;}function j$1(e,t){let r=this||{};return function(){let l=arguments;function a(n,o){let c=Object.assign({},n),s=c.className||a.className;r.p=Object.assign({theme:f$1&&f$1()},c),r.o=/ *go\d+/.test(s),c.className=u$1.apply(r,l)+(s?" "+s:""),t&&(c.ref=o);let i=e;return e[0]&&(i=c.as||e,delete c.as),g&&i[0]&&g(c),d(i,c)}return t?t(a):a}}
|
|
@@ -207,14 +207,14 @@ var Toaster = function () { return (jsx(dist.Toaster, { toastOptions: {
|
|
|
207
207
|
} }, void 0)); };
|
|
208
208
|
var Toast = function (_a) {
|
|
209
209
|
var action = _a.action, description = _a.description, onDismiss = _a.onDismiss, title = _a.title, _b = _a.type, type = _b === void 0 ? "success" : _b;
|
|
210
|
-
return (jsxs("div", __assign({ className: 'd-flex jc-between w100' }, { children: [jsx("div", { className: classNames(styles.toastSidebar, styles["toastSidebar--" + type]) }, void 0),
|
|
211
|
-
jsxs("div", __assign({ className: '
|
|
210
|
+
return (jsxs("div", __assign({ className: classNames(styles.toastContent, 'd-flex jc-between w100') }, { children: [jsx("div", { className: classNames(styles.toastSidebar, styles["toastSidebar--" + type]) }, void 0),
|
|
211
|
+
jsxs("div", __assign({ className: 'd-flex fd-column jc-center ta-left mr8' }, { children: [jsx("h4", __assign({ className: 'p-h4' }, { children: title }), void 0),
|
|
212
212
|
description && (jsx("p", __assign({ className: 'p-p p-p--small mt8 tc-grey-600' }, { children: description }), void 0)),
|
|
213
|
-
action && (jsx("button", __assign({ className: classNames(styles.actionButton, styles["actionButton--" + type], 'mt8 c-pointer'), onClick: function () {
|
|
213
|
+
action && (jsx("button", __assign({ className: classNames(styles.actionButton, styles["actionButton--" + type], 'mt8 c-pointer ta-left'), onClick: function () {
|
|
214
214
|
action.onClick();
|
|
215
215
|
onDismiss();
|
|
216
216
|
}, type: "button" }, { children: action.title }), void 0))] }), void 0),
|
|
217
|
-
jsx("div", __assign({ className: 'd-flex ai-center' }, { children: jsx("button", __assign({ className: classNames(styles.closeButton, 'c-pointer'), onClick: onDismiss, "data-testid": "toast-close-button" }, { children: jsx(XIcon, {}, void 0) }), void 0) }), void 0)] }), void 0));
|
|
217
|
+
jsx("div", __assign({ className: 'd-flex ai-center' }, { children: jsx("button", __assign({ className: classNames(styles.closeButton, 'c-pointer'), onClick: onDismiss, "data-testid": "toast-close-button" }, { children: jsx(XIcon, { size: 24 }, void 0) }), void 0) }), void 0)] }), void 0));
|
|
218
218
|
};
|
|
219
219
|
var toast = function (title, _a) {
|
|
220
220
|
var _b = _a.duration, duration = _b === void 0 ? 3000 : _b, toastOptions = __rest(_a, ["duration"]);
|
|
@@ -222,4 +222,4 @@ var toast = function (title, _a) {
|
|
|
222
222
|
};
|
|
223
223
|
|
|
224
224
|
export { Toast as T, Toaster as a, styles as s, toast as t };
|
|
225
|
-
//# sourceMappingURL=index-
|
|
225
|
+
//# sourceMappingURL=index-45edc7d0.js.map
|