@popsure/dirty-swan 0.41.2 → 0.41.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.
@@ -1,156 +1,156 @@
1
1
  declare const images: {
2
- readonly aid: "https://assets.cdn.feather-insurance.com/assets/images/aid.svg";
3
- readonly bed: "https://assets.cdn.feather-insurance.com/assets/images/bed.svg";
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
- readonly lifeIcon: "https://assets.cdn.feather-insurance.com/assets/images/lifeIcon.png";
10
- readonly lifeIcon2x: "https://assets.cdn.feather-insurance.com/assets/images/lifeIcon2x.png";
11
- readonly lifeIcon3x: "https://assets.cdn.feather-insurance.com/assets/images/lifeIcon3x.png";
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
- readonly brokenAquarium: "https://assets.cdn.feather-insurance.com/assets/images/brokenAquarium.svg";
14
- readonly brokenGlass: "https://assets.cdn.feather-insurance.com/assets/images/brokenGlass.svg";
15
- readonly damagedLaptop: "https://assets.cdn.feather-insurance.com/assets/images/damagedLaptop.svg";
16
- readonly moneyIncome: "https://assets.cdn.feather-insurance.com/assets/images/moneyIncome.svg";
17
- readonly washingMachine: "https://assets.cdn.feather-insurance.com/assets/images/washingMachine.svg";
18
- readonly bill: "https://assets.cdn.feather-insurance.com/assets/images/bill.svg";
19
- readonly books: "https://assets.cdn.feather-insurance.com/assets/images/books.svg";
20
- readonly finalExpenses: "https://assets.cdn.feather-insurance.com/assets/images/finalExpenses.svg";
21
- readonly mortgage: "https://assets.cdn.feather-insurance.com/assets/images/mortgage.svg";
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
- readonly aids: `${string}/aids.svg`;
25
- readonly allInOneAccount: `${string}/all-in-one-account.svg`;
26
- readonly ambulance: `${string}/ambulance.svg`;
27
- readonly bank: `${string}/bank.svg`;
28
- readonly battery: `${string}/battery.svg`;
29
- readonly bed: `${string}/bed.svg`;
30
- readonly bigDog: `${string}/big-dog.svg`;
31
- readonly bikeDamage: `${string}/bike-damage.svg`;
32
- readonly bikeDestroyedDamaged: `${string}/bike-destroyed-damaged.svg`;
33
- readonly bikeDetails: `${string}/bike-details.svg`;
34
- readonly bikeFrameNumber: `${string}/bike-frame-number.svg`;
35
- readonly bikeLock: `${string}/bike-lock.svg`;
36
- readonly bikeParts: `${string}/bike-parts.svg`;
37
- readonly bikeRiding: `${string}/bike-riding.svg`;
38
- readonly bikeStolenBroken: `${string}/bike-stolen-broken.svg`;
39
- readonly bikeStolen: `${string}/bike-stolen.svg`;
40
- readonly bikeTrailer: `${string}/bike-trailer.svg`;
41
- readonly bikeWear: `${string}/bike-wear.svg`;
42
- readonly bike: `${string}/bike.svg`;
43
- readonly bill: `${string}/bill.svg`;
44
- readonly bookOpen: `${string}/book-open.svg`;
45
- readonly briefcase: `${string}/briefcase.svg`;
46
- readonly brokenAquarium: `${string}/broken-aquarium.svg`;
47
- readonly brokenGlass: `${string}/broken-glass.svg`;
48
- readonly calculating1: `${string}/calculating-1.svg`;
49
- readonly calculatingDone: `${string}/calculating-done.svg`;
50
- readonly calculating: `${string}/calculating.svg`;
51
- readonly calendar: `${string}/calendar.svg`;
52
- readonly car: `${string}/car.svg`;
53
- readonly checkDoc: `${string}/check-doc.svg`;
54
- readonly check: `${string}/check.svg`;
55
- readonly concierge: `${string}/concierge.svg`;
56
- readonly contract: `${string}/contract.svg`;
57
- readonly crash: `${string}/crash.svg`;
58
- readonly creditCard: `${string}/credit-card.svg`;
59
- readonly damagedLaptop: `${string}/damaged-laptop.svg`;
60
- readonly dentalCleaning: `${string}/dental-cleaning.svg`;
61
- readonly dentalTreatment: `${string}/dental-treatment.svg`;
62
- readonly dental: `${string}/dental.svg`;
63
- readonly dependents: `${string}/dependents.svg`;
64
- readonly document1: `${string}/document-1.svg`;
65
- readonly documentCheck: `${string}/document-check.svg`;
66
- readonly documentCross: `${string}/document-cross.svg`;
67
- readonly document: `${string}/document.svg`;
68
- readonly door: `${string}/door.svg`;
69
- readonly education: `${string}/education.svg`;
70
- readonly electricCar: `${string}/electric-car.svg`;
71
- readonly email: `${string}/email.svg`;
72
- readonly euroMoney: `${string}/euro-money.svg`;
73
- readonly fastEasy: `${string}/fast-easy.svg`;
74
- readonly fire: `${string}/fire.svg`;
75
- readonly freelancerExpat: `${string}/freelancer-expat.svg`;
76
- readonly funeralBurial: `${string}/funeral-burial.svg`;
77
- readonly fuse: `${string}/fuse.svg`;
78
- readonly giftPolicyOptionsQuote: `${string}/gift-policy-options-quote.svg`;
79
- readonly grandmother: `${string}/grandmother.svg`;
80
- readonly healthCard: `${string}/health-card.svg`;
81
- readonly heart: `${string}/heart.svg`;
82
- readonly helmet: `${string}/helmet.svg`;
83
- readonly householdHome: `${string}/household-home.svg`;
84
- readonly keys: `${string}/keys.svg`;
85
- readonly legalLawyer: `${string}/legal-lawyer.svg`;
86
- readonly location: `${string}/location.svg`;
87
- readonly lock: `${string}/lock.svg`;
88
- readonly mail: `${string}/mail.svg`;
89
- readonly medicine: `${string}/medicine.svg`;
90
- readonly mentalHealth: `${string}/mental-health.svg`;
91
- readonly mentalIllness: `${string}/mental-llness.svg`;
92
- readonly miniJobExpat: `${string}/minijob-expat.svg`;
93
- readonly moneyIncome: `${string}/money-income.svg`;
94
- readonly movingTruck: `${string}/moving-truck.svg`;
95
- readonly naturalRemedies: `${string}/natural-remedies.svg`;
96
- readonly newArrival: `${string}/new-arrival.svg`;
97
- readonly noPolicies: `${string}/no-policies.svg`;
98
- readonly passport: `${string}/passport.svg`;
99
- readonly pawPet: `${string}/paw-pet.svg`;
100
- readonly pen: `${string}/pen.svg`;
101
- readonly personB: `${string}/person-b.svg`;
102
- readonly person: `${string}/person.svg`;
103
- readonly petsBunny: `${string}/pets-bunny.svg`;
104
- readonly petsCat: `${string}/pets-cat.svg`;
105
- readonly phone1: `${string}/phone-1.svg`;
106
- readonly phone2Fa: `${string}/phone-2-fa.svg`;
107
- readonly phonePerson: `${string}/phone-person.svg`;
108
- readonly phonePhoto: `${string}/phone-photo.svg`;
109
- readonly phone: `${string}/phone.svg`;
110
- readonly photoPerson: `${string}/photo-person.svg`;
111
- readonly pipes: `${string}/pipes.svg`;
112
- readonly planeRepatriationFlight: `${string}/plane-repatriation-flight.svg`;
113
- readonly pregnancy: `${string}/pregnancy.svg`;
114
- readonly productionDown: `${string}/production-down.svg`;
115
- readonly pushNotifications: `${string}/push-notifications.svg`;
116
- readonly radioactive: `${string}/radioactive.svg`;
117
- readonly referral: `${string}/referral.svg`;
118
- readonly researcherExpat: `${string}/researcher-expat.svg`;
119
- readonly restrictions: `${string}/restrictions.svg`;
120
- readonly ring: `${string}/ring.svg`;
121
- readonly screen: `${string}/screen.svg`;
122
- readonly screenings: `${string}/screenings.svg`;
123
- readonly shield1: `${string}/shield-1.svg`;
124
- readonly shield2: `${string}/shield-2.svg`;
125
- readonly shield3: `${string}/shield-3.svg`;
126
- readonly shieldCross: `${string}/shield-cross.svg`;
127
- readonly shieldQuestionMark: `${string}/shield-questionmark.svg`;
128
- readonly shieldWarning: `${string}/shield-warning.svg`;
129
- readonly shield: `${string}/shield.svg`;
130
- readonly sign: `${string}/sign.svg`;
131
- readonly spinner: `${string}/spinner.svg`;
132
- readonly sportLifestyleBasketball: `${string}/sport-lifestyle-basketball.svg`;
133
- readonly storm: `${string}/storm.svg`;
134
- readonly studentExpat: `${string}/student-expat.svg`;
135
- readonly submit: `${string}/submit.svg`;
136
- readonly supportAgent: `${string}/support-agent.svg`;
137
- readonly supportSpeakingMessageChatTalk: `${string}/support-speaking-message-chat-talk.svg`;
138
- readonly theft: `${string}/theft.svg`;
139
- readonly time: `${string}/time.svg`;
140
- readonly traffic: `${string}/traffic.svg`;
141
- readonly tree: `${string}/tree.svg`;
142
- readonly user: `${string}/user.svg`;
143
- readonly vaccination: `${string}/vaccination.svg`;
144
- readonly vandalism: `${string}/vandalism.svg`;
145
- readonly videoCall: `${string}/video-call.svg`;
146
- readonly visaSeekerExpat: `${string}/visa-seeker-expat.svg`;
147
- readonly visa: `${string}/visa.svg`;
148
- readonly visualAid: `${string}/visual-aid.svg`;
149
- readonly visual: `${string}/visual.svg`;
150
- readonly washingMachine: `${string}/washing-machine.svg`;
151
- readonly water: `${string}/water.svg`;
152
- readonly wavingHand: `${string}/waving-hand.svg`;
153
- readonly worldwide: `${string}/worldwide.svg`;
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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@popsure/dirty-swan",
3
- "version": "0.41.2",
3
+ "version": "0.41.4",
4
4
  "author": "Vincent Audoire <vincent@getpopsure.com>",
5
5
  "license": "MIT",
6
6
  "private": false,
package/src/index.tsx CHANGED
@@ -17,6 +17,7 @@ export {
17
17
  CardWithTopIcon,
18
18
  InfoCard,
19
19
  CardButton,
20
+ Card,
20
21
  Button,
21
22
  AutoSuggestMultiSelect,
22
23
  Chip,
package/src/lib/index.tsx CHANGED
@@ -28,6 +28,7 @@ import {
28
28
  InfoCard,
29
29
  CardButton,
30
30
  } from './components/cards';
31
+ import { Card } from './components/card';
31
32
  import { Button } from './components/button';
32
33
  import { AutoSuggestMultiSelect } from './components/input/autoSuggestMultiSelect';
33
34
  import Chip from './components/chip';
@@ -66,6 +67,7 @@ export {
66
67
  CardWithLeftIcon,
67
68
  CardWithTopIcon,
68
69
  InfoCard,
70
+ Card,
69
71
  CardButton,
70
72
  Button,
71
73
  CurrencyInput,
@@ -22,7 +22,7 @@ const images = {
22
22
  books: `${basePath}/books.svg`,
23
23
  finalExpenses: `${basePath}/finalExpenses.svg`,
24
24
  mortgage: `${basePath}/mortgage.svg`,
25
- } as const;
25
+ };
26
26
 
27
27
  const illustrations = {
28
28
  aids: `${basePathIllustrations}/aids.svg`,
@@ -155,7 +155,7 @@ const illustrations = {
155
155
  water: `${basePathIllustrations}/water.svg`,
156
156
  wavingHand: `${basePathIllustrations}/waving-hand.svg`,
157
157
  worldwide: `${basePathIllustrations}/worldwide.svg`,
158
- } as const;
158
+ };
159
159
 
160
160
  type IllustrationKeys = keyof typeof illustrations;
161
161