@homefile/components-v2 2.16.1 → 2.17.1
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/assets/images/est-value.svg +22 -0
- package/dist/assets/images/ia.svg +13 -15
- package/dist/assets/images/index.d.ts +2 -1
- package/dist/assets/images/index.js +2 -1
- package/dist/assets/images/index.ts +2 -0
- package/dist/assets/locales/en/index.json +6 -2
- package/dist/components/homeBoard/AddToHomefile.d.ts +2 -0
- package/dist/components/homeBoard/AddToHomefile.js +9 -0
- package/dist/components/homeBoard/HomeBoard.js +2 -2
- package/dist/components/homeBoard/index.d.ts +1 -0
- package/dist/components/homeBoard/index.js +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/interfaces/sendDocument/AddToHomefile.interface.d.ts +4 -0
- package/dist/interfaces/sendDocument/AddToHomefile.interface.js +1 -0
- package/dist/interfaces/sendDocument/index.d.ts +1 -0
- package/dist/interfaces/sendDocument/index.js +1 -0
- package/dist/stories/assets/Illustrations.stories.js +2 -2
- package/dist/stories/homeBoard/AddToHomefile.stories.d.ts +5 -0
- package/dist/stories/homeBoard/AddToHomefile.stories.js +15 -0
- package/package.json +1 -1
- package/src/assets/images/est-value.svg +22 -0
- package/src/assets/images/ia.svg +13 -15
- package/src/assets/images/index.ts +2 -0
- package/src/assets/locales/en/index.json +6 -2
- package/src/components/homeBoard/AddToHomefile.tsx +59 -0
- package/src/components/homeBoard/HomeBoard.tsx +2 -4
- package/src/components/homeBoard/index.ts +1 -0
- package/src/index.ts +1 -0
- package/src/interfaces/sendDocument/AddToHomefile.interface.ts +5 -0
- package/src/interfaces/sendDocument/index.ts +2 -1
- package/src/stories/assets/Illustrations.stories.tsx +4 -1
- package/src/stories/homeBoard/AddToHomefile.stories.tsx +22 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<svg id="Grupo_21813" data-name="Grupo 21813" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="34.537" height="38.461" viewBox="0 0 34.537 38.461">
|
|
2
|
+
<defs>
|
|
3
|
+
<clipPath id="clip-path">
|
|
4
|
+
<rect id="Retângulo_25352" data-name="Retângulo 25352" width="34.537" height="38.461" fill="none"/>
|
|
5
|
+
</clipPath>
|
|
6
|
+
</defs>
|
|
7
|
+
<g id="Grupo_21796" data-name="Grupo 21796" clip-path="url(#clip-path)">
|
|
8
|
+
<path id="Caminho_15729" data-name="Caminho 15729" d="M34.537,1.381,33.152,5.92,30.638,7.255l.876-2.861L19.522,10.776A1.233,1.233,0,0,1,18,10.483L15.347,7.34c-3.31,1.8-7.337,3.991-10.222,5.563H0c.077-.053.208-.145,15.05-8.219a1.239,1.239,0,0,1,1.536.29l2.656,3.151L30.351,2.211l-2.864-.876L30,0Z" transform="translate(0 2.335)" fill="#f6cf76"/>
|
|
9
|
+
<rect id="Retângulo_25344" data-name="Retângulo 25344" width="34.406" height="2.388" transform="translate(0.064 36.073)" fill="#00c0b7"/>
|
|
10
|
+
<rect id="Retângulo_25345" data-name="Retângulo 25345" width="34.406" height="2.335" transform="translate(0.064 33.739)" fill="#40566b"/>
|
|
11
|
+
<path id="Caminho_15730" data-name="Caminho 15730" d="M34.586,63.962H.18V46.76H34.586Zm-2.112-4.317V51.076a2.2,2.2,0,0,1-2.2-2.2H4.5a2.2,2.2,0,0,1-2.2,2.2v8.569a2.2,2.2,0,0,1,2.2,2.2H30.27a2.2,2.2,0,0,1,2.2-2.2" transform="translate(-0.116 -30.244)" fill="#00c0b7"/>
|
|
12
|
+
<path id="Caminho_15731" data-name="Caminho 15731" d="M25.388,56.89h0a4.744,4.744,0,1,0,0,4.677h0a4.755,4.755,0,0,0,0-4.677m10.96-1.946v8.569a2.2,2.2,0,0,0-2.2,2.2H8.37a2.2,2.2,0,0,0-2.2-2.2V54.944a2.2,2.2,0,0,0,2.2-2.2H34.144a2.2,2.2,0,0,0,2.2,2.2" transform="translate(-3.991 -34.112)" fill="#daf1f3"/>
|
|
13
|
+
<rect id="Retângulo_25346" data-name="Retângulo 25346" width="11.076" height="1.06" transform="translate(18.48 24.587)" fill="#00c0b7"/>
|
|
14
|
+
<rect id="Retângulo_25347" data-name="Retângulo 25347" width="11.08" height="1.06" transform="translate(4.977 24.587)" fill="#00c0b7"/>
|
|
15
|
+
<rect id="Retângulo_25348" data-name="Retângulo 25348" width="8.004" height="1.06" transform="translate(17.865 26.925)" fill="#00c0b7"/>
|
|
16
|
+
<rect id="Retângulo_25349" data-name="Retângulo 25349" width="8.007" height="1.06" transform="translate(8.664 26.925)" fill="#00c0b7"/>
|
|
17
|
+
<rect id="Retângulo_25350" data-name="Retângulo 25350" width="8.004" height="1.06" transform="translate(17.865 22.249)" fill="#00c0b7"/>
|
|
18
|
+
<rect id="Retângulo_25351" data-name="Retângulo 25351" width="8.007" height="1.06" transform="translate(8.664 22.249)" fill="#00c0b7"/>
|
|
19
|
+
<path id="Caminho_15732" data-name="Caminho 15732" d="M44.333,60.085a4.755,4.755,0,0,1,0,4.677h0a4.744,4.744,0,1,1,0-4.677Z" transform="translate(-22.935 -37.307)" fill="#00c0b7"/>
|
|
20
|
+
<path id="Caminho_15733" data-name="Caminho 15733" d="M44.416,66.634a1.382,1.382,0,0,0,.765.377V64.972a5.142,5.142,0,0,1-.7-.219,1.8,1.8,0,0,1-.493-.284.983.983,0,0,1-.288-.4,1.765,1.765,0,0,1,.03-1.212,1.548,1.548,0,0,1,.835-.835,1.919,1.919,0,0,1,.619-.146v-.508H45.6v.516a1.6,1.6,0,0,1,.992.462A2.195,2.195,0,0,1,47.12,63.4h-.654a1.021,1.021,0,0,0-.861-.892V64.4l.462.123a2.15,2.15,0,0,1,.361.134,1.692,1.692,0,0,1,.4.266,1.492,1.492,0,0,1,.327.423,1.285,1.285,0,0,1,.135.608,1.667,1.667,0,0,1-.127.669,1.517,1.517,0,0,1-.35.5,1.672,1.672,0,0,1-.531.334,2.34,2.34,0,0,1-.677.154v.631h-.423v-.631a1.793,1.793,0,0,1-1.738-1.8H44.1a1.145,1.145,0,0,0,.319.815m.138-3.881a.842.842,0,0,0-.257.665.82.82,0,0,0,.065.343.648.648,0,0,0,.185.238,1.192,1.192,0,0,0,.28.166,2.878,2.878,0,0,0,.354.123v-1.8a1.1,1.1,0,0,0-.627.266M46,66.934a.916.916,0,0,0,.316-.181.793.793,0,0,0,.207-.3,1.127,1.127,0,0,0,.073-.427.76.76,0,0,0-.284-.631A1.174,1.174,0,0,0,46,65.214c-.123-.048-.254-.094-.392-.135v1.931a1.6,1.6,0,0,0,.4-.077" transform="translate(-28.098 -39.69)" fill="#daf1f3"/>
|
|
21
|
+
</g>
|
|
22
|
+
</svg>
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="
|
|
2
|
-
<g id="
|
|
3
|
-
<circle id="
|
|
4
|
-
<line id="
|
|
5
|
-
<rect id="
|
|
6
|
-
<circle id="
|
|
7
|
-
<ellipse id="
|
|
8
|
-
<circle id="
|
|
9
|
-
<rect id="
|
|
10
|
-
<rect id="
|
|
11
|
-
<line id="
|
|
12
|
-
<line id="
|
|
13
|
-
<path id="
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="39.675" height="34.007" viewBox="0 0 39.675 34.007">
|
|
2
|
+
<g id="Grupo_21819" data-name="Grupo 21819" transform="translate(76 -1643)">
|
|
3
|
+
<circle id="Elipse_1093" data-name="Elipse 1093" cx="2.834" cy="2.834" r="2.834" transform="translate(-58.996 1643)" fill="#bcd1d8"/>
|
|
4
|
+
<line id="Linha_3403" data-name="Linha 3403" y2="3.58" transform="translate(-56.162 1648.668)" fill="none" stroke="#bcd1d8" stroke-width="1"/>
|
|
5
|
+
<rect id="Retângulo_24537" data-name="Retângulo 24537" width="14.17" height="5.668" rx="2.834" transform="translate(-63.247 1651.502)" fill="#00a1aa"/>
|
|
6
|
+
<circle id="Elipse_1090" data-name="Elipse 1090" cx="4.251" cy="4.251" r="4.251" transform="translate(-76 1661.421)" fill="#00a1aa"/>
|
|
7
|
+
<ellipse id="Elipse_1092" data-name="Elipse 1092" cx="3.542" cy="4.251" rx="3.542" ry="4.251" transform="translate(-43.41 1661.421)" fill="#00a1aa"/>
|
|
8
|
+
<circle id="Elipse_1091" data-name="Elipse 1091" cx="4.251" cy="4.251" r="4.251" transform="translate(-49.077 1661.421)" fill="#00a1aa"/>
|
|
9
|
+
<rect id="Retângulo_24536" data-name="Retângulo 24536" width="31.174" height="22.672" rx="5" transform="translate(-71.749 1654.336)" fill="#02c0b7"/>
|
|
10
|
+
<rect id="Retângulo_24476" data-name="Retângulo 24476" width="19.838" height="8.502" rx="3" transform="translate(-66.081 1658.587)" fill="#324459"/>
|
|
11
|
+
<line id="Linha_3401" data-name="Linha 3401" x2="3.58" transform="translate(-62.932 1663.228)" fill="none" stroke="#fff" stroke-width="2"/>
|
|
12
|
+
<line id="Linha_3402" data-name="Linha 3402" x2="3.58" transform="translate(-52.371 1663.228)" fill="none" stroke="#fff" stroke-width="2"/>
|
|
13
|
+
<path id="Caminho_15024" data-name="Caminho 15024" d="M-112.806,1761.029a3.776,3.776,0,0,0,3.778,3.214,3.841,3.841,0,0,0,3.772-3.214" transform="translate(53.096 -90.627)" fill="none" stroke="#fff" stroke-linecap="round" stroke-width="1"/>
|
|
14
14
|
</g>
|
|
15
15
|
</svg>
|
|
16
|
-
|
|
17
|
-
|
|
@@ -48,6 +48,7 @@ import Drop from './drop.svg';
|
|
|
48
48
|
import DropCalendar from './drop-calendar.svg';
|
|
49
49
|
import Electricity from './electricity.svg';
|
|
50
50
|
import Entryway from './entryway.svg';
|
|
51
|
+
import EstValue from './est-value.svg';
|
|
51
52
|
import Exclamation from './exclamation.svg';
|
|
52
53
|
import Face from './face.svg';
|
|
53
54
|
import Feedback from './feedback.svg';
|
|
@@ -160,7 +161,7 @@ import WizardDetailed from './wizard-detailed.svg';
|
|
|
160
161
|
import WizardQuick from './wizard-quick.svg';
|
|
161
162
|
import YellowFolder from './yellow-folder.svg';
|
|
162
163
|
import YellowFolderUnshared from './yellow-folder-unshared.svg';
|
|
163
|
-
export { AlertDelete, AlertDeletePurple, Arrow, Batery, Bathroom, Battery, Battery2, Bedroom, BgBlue, BgLogo, Billing, BillingAddress, BlueFolder, BlueFolderShared, BookOpened, Box, Building, Calc, Calendar2, Catalog, ChatBubble, Check, CheckInCircle, CheckPen, Chemistry, CircleFace, Cleaning, Closet, Clouds, Co2, Company, Company2, ComputerReport, Confirmation, Construction, Contacts, Contacts2, Contributor, Create, CreditCard, Detector, Diamond, DiningRoom, DocIcon, Document, Document2, Drop, DropCalendar, Electricity, Entryway, Exclamation, Face, Feedback, FileUploading, Finance, Fire, Flag, FormSent, Foundation, Garage, GearPencil, GearTime, GenericField, GlassWater, GreenFolder, Group, Groups, GuestBedroom, Hallway, HandPencil, Heater, Help, HomeAddress, Homeowner, House, HouseHands, IA, ImageDefault, ImgIcon, Inbox, Insect, Kitchen, Laundry, Light, LivingRoom, Loading, Location, LogoCompany, LogoSmall, MagnifyingGlassReport, Manager, MasterBedroom, Member, Message, MobileDrop, Money, Mudroom, NeedHelp, Office, Painting, PartnerGeneric, Patio, PdfIcon, PersonMail, Plate, Play, Plus, Pool, Pool2, PressureWasher, Price, Profile, ProgressReport, Proposal, RealEstate, Receipt, ReceiptBg, ReceiptHouse, Receipts, Recipient, Records, Register, RelationshipHome, ResendPassword, Rocket, Roof2, Security, Send, ShareHome, ShareWith, SixtyEight, SMS, Social, SolarPanel, Speaker, Sprinkler, Structure, Subscription, Target, Temperature, Theatre, Thumbnail, ThumbnailSmall, ThumbUp, Trash, Trees, TreesCrop, TreesCrop2, VideoIcon, VideoPlay, VioletFolder, Warning, Warranty, WellDone, WholeHome, Wind, WindWhite, Wizard, WizardDetailed, WizardQuick, YellowFolder, YellowFolderUnshared, };
|
|
164
|
+
export { AlertDelete, AlertDeletePurple, Arrow, Batery, Bathroom, Battery, Battery2, Bedroom, BgBlue, BgLogo, Billing, BillingAddress, BlueFolder, BlueFolderShared, BookOpened, Box, Building, Calc, Calendar2, Catalog, ChatBubble, Check, CheckInCircle, CheckPen, Chemistry, CircleFace, Cleaning, Closet, Clouds, Co2, Company, Company2, ComputerReport, Confirmation, Construction, Contacts, Contacts2, Contributor, Create, CreditCard, Detector, Diamond, DiningRoom, DocIcon, Document, Document2, Drop, DropCalendar, Electricity, Entryway, EstValue, Exclamation, Face, Feedback, FileUploading, Finance, Fire, Flag, FormSent, Foundation, Garage, GearPencil, GearTime, GenericField, GlassWater, GreenFolder, Group, Groups, GuestBedroom, Hallway, HandPencil, Heater, Help, HomeAddress, Homeowner, House, HouseHands, IA, ImageDefault, ImgIcon, Inbox, Insect, Kitchen, Laundry, Light, LivingRoom, Loading, Location, LogoCompany, LogoSmall, MagnifyingGlassReport, Manager, MasterBedroom, Member, Message, MobileDrop, Money, Mudroom, NeedHelp, Office, Painting, PartnerGeneric, Patio, PdfIcon, PersonMail, Plate, Play, Plus, Pool, Pool2, PressureWasher, Price, Profile, ProgressReport, Proposal, RealEstate, Receipt, ReceiptBg, ReceiptHouse, Receipts, Recipient, Records, Register, RelationshipHome, ResendPassword, Rocket, Roof2, Security, Send, ShareHome, ShareWith, SixtyEight, SMS, Social, SolarPanel, Speaker, Sprinkler, Structure, Subscription, Target, Temperature, Theatre, Thumbnail, ThumbnailSmall, ThumbUp, Trash, Trees, TreesCrop, TreesCrop2, VideoIcon, VideoPlay, VioletFolder, Warning, Warranty, WellDone, WholeHome, Wind, WindWhite, Wizard, WizardDetailed, WizardQuick, YellowFolder, YellowFolderUnshared, };
|
|
164
165
|
export * from './alerts';
|
|
165
166
|
export * from './animations';
|
|
166
167
|
export * from './appliances';
|
|
@@ -48,6 +48,7 @@ import Drop from './drop.svg';
|
|
|
48
48
|
import DropCalendar from './drop-calendar.svg';
|
|
49
49
|
import Electricity from './electricity.svg';
|
|
50
50
|
import Entryway from './entryway.svg';
|
|
51
|
+
import EstValue from './est-value.svg';
|
|
51
52
|
import Exclamation from './exclamation.svg';
|
|
52
53
|
import Face from './face.svg';
|
|
53
54
|
import Feedback from './feedback.svg';
|
|
@@ -160,7 +161,7 @@ import WizardDetailed from './wizard-detailed.svg';
|
|
|
160
161
|
import WizardQuick from './wizard-quick.svg';
|
|
161
162
|
import YellowFolder from './yellow-folder.svg';
|
|
162
163
|
import YellowFolderUnshared from './yellow-folder-unshared.svg';
|
|
163
|
-
export { AlertDelete, AlertDeletePurple, Arrow, Batery, Bathroom, Battery, Battery2, Bedroom, BgBlue, BgLogo, Billing, BillingAddress, BlueFolder, BlueFolderShared, BookOpened, Box, Building, Calc, Calendar2, Catalog, ChatBubble, Check, CheckInCircle, CheckPen, Chemistry, CircleFace, Cleaning, Closet, Clouds, Co2, Company, Company2, ComputerReport, Confirmation, Construction, Contacts, Contacts2, Contributor, Create, CreditCard, Detector, Diamond, DiningRoom, DocIcon, Document, Document2, Drop, DropCalendar, Electricity, Entryway, Exclamation, Face, Feedback, FileUploading, Finance, Fire, Flag, FormSent, Foundation, Garage, GearPencil, GearTime, GenericField, GlassWater, GreenFolder, Group, Groups, GuestBedroom, Hallway, HandPencil, Heater, Help, HomeAddress, Homeowner, House, HouseHands, IA, ImageDefault, ImgIcon, Inbox, Insect, Kitchen, Laundry, Light, LivingRoom, Loading, Location, LogoCompany, LogoSmall, MagnifyingGlassReport, Manager, MasterBedroom, Member, Message, MobileDrop, Money, Mudroom, NeedHelp, Office, Painting, PartnerGeneric, Patio, PdfIcon, PersonMail, Plate, Play, Plus, Pool, Pool2, PressureWasher, Price, Profile, ProgressReport, Proposal, RealEstate, Receipt, ReceiptBg, ReceiptHouse, Receipts, Recipient, Records, Register, RelationshipHome, ResendPassword, Rocket, Roof2, Security, Send, ShareHome, ShareWith, SixtyEight, SMS, Social, SolarPanel, Speaker, Sprinkler, Structure, Subscription, Target, Temperature, Theatre, Thumbnail, ThumbnailSmall, ThumbUp, Trash, Trees, TreesCrop, TreesCrop2, VideoIcon, VideoPlay, VioletFolder, Warning, Warranty, WellDone, WholeHome, Wind, WindWhite, Wizard, WizardDetailed, WizardQuick, YellowFolder, YellowFolderUnshared, };
|
|
164
|
+
export { AlertDelete, AlertDeletePurple, Arrow, Batery, Bathroom, Battery, Battery2, Bedroom, BgBlue, BgLogo, Billing, BillingAddress, BlueFolder, BlueFolderShared, BookOpened, Box, Building, Calc, Calendar2, Catalog, ChatBubble, Check, CheckInCircle, CheckPen, Chemistry, CircleFace, Cleaning, Closet, Clouds, Co2, Company, Company2, ComputerReport, Confirmation, Construction, Contacts, Contacts2, Contributor, Create, CreditCard, Detector, Diamond, DiningRoom, DocIcon, Document, Document2, Drop, DropCalendar, Electricity, Entryway, EstValue, Exclamation, Face, Feedback, FileUploading, Finance, Fire, Flag, FormSent, Foundation, Garage, GearPencil, GearTime, GenericField, GlassWater, GreenFolder, Group, Groups, GuestBedroom, Hallway, HandPencil, Heater, Help, HomeAddress, Homeowner, House, HouseHands, IA, ImageDefault, ImgIcon, Inbox, Insect, Kitchen, Laundry, Light, LivingRoom, Loading, Location, LogoCompany, LogoSmall, MagnifyingGlassReport, Manager, MasterBedroom, Member, Message, MobileDrop, Money, Mudroom, NeedHelp, Office, Painting, PartnerGeneric, Patio, PdfIcon, PersonMail, Plate, Play, Plus, Pool, Pool2, PressureWasher, Price, Profile, ProgressReport, Proposal, RealEstate, Receipt, ReceiptBg, ReceiptHouse, Receipts, Recipient, Records, Register, RelationshipHome, ResendPassword, Rocket, Roof2, Security, Send, ShareHome, ShareWith, SixtyEight, SMS, Social, SolarPanel, Speaker, Sprinkler, Structure, Subscription, Target, Temperature, Theatre, Thumbnail, ThumbnailSmall, ThumbUp, Trash, Trees, TreesCrop, TreesCrop2, VideoIcon, VideoPlay, VioletFolder, Warning, Warranty, WellDone, WholeHome, Wind, WindWhite, Wizard, WizardDetailed, WizardQuick, YellowFolder, YellowFolderUnshared, };
|
|
164
165
|
export * from './alerts';
|
|
165
166
|
export * from './animations';
|
|
166
167
|
export * from './appliances';
|
|
@@ -48,6 +48,7 @@ import Drop from './drop.svg'
|
|
|
48
48
|
import DropCalendar from './drop-calendar.svg'
|
|
49
49
|
import Electricity from './electricity.svg'
|
|
50
50
|
import Entryway from './entryway.svg'
|
|
51
|
+
import EstValue from './est-value.svg'
|
|
51
52
|
import Exclamation from './exclamation.svg'
|
|
52
53
|
import Face from './face.svg'
|
|
53
54
|
import Feedback from './feedback.svg'
|
|
@@ -212,6 +213,7 @@ export {
|
|
|
212
213
|
DropCalendar,
|
|
213
214
|
Electricity,
|
|
214
215
|
Entryway,
|
|
216
|
+
EstValue,
|
|
215
217
|
Exclamation,
|
|
216
218
|
Face,
|
|
217
219
|
Feedback,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"addHomeItem": {
|
|
3
|
-
"btnLabel": "
|
|
3
|
+
"btnLabel": "Items",
|
|
4
4
|
"title": "Home Item"
|
|
5
5
|
},
|
|
6
6
|
"addItemWizard": {
|
|
@@ -70,6 +70,9 @@
|
|
|
70
70
|
"shared": "Shared",
|
|
71
71
|
"title": "Recipient"
|
|
72
72
|
},
|
|
73
|
+
"addToHomefile": {
|
|
74
|
+
"title": "Add to Homefile"
|
|
75
|
+
},
|
|
73
76
|
"ariaLabels": {
|
|
74
77
|
"add": "Add button",
|
|
75
78
|
"close": "Close button",
|
|
@@ -885,7 +888,7 @@
|
|
|
885
888
|
"youCan": "You can upload"
|
|
886
889
|
},
|
|
887
890
|
"sendDocument": {
|
|
888
|
-
"btLabel": "
|
|
891
|
+
"btLabel": "Documents",
|
|
889
892
|
"title": "Document Home",
|
|
890
893
|
"headers": {
|
|
891
894
|
"selectHome": "Select Home",
|
|
@@ -974,6 +977,7 @@
|
|
|
974
977
|
"view": "View"
|
|
975
978
|
},
|
|
976
979
|
"tooltips": {
|
|
980
|
+
"addToHomefile": "Add to Homefile",
|
|
977
981
|
"contacts": "Home contacts",
|
|
978
982
|
"documentHome": "Document home",
|
|
979
983
|
"editContact": "Edit contact",
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { t } from 'i18next';
|
|
3
|
+
import { Button, Circle, Container, Flex, Stack } from '@chakra-ui/react';
|
|
4
|
+
import { ChevronRight, ContainerHeader, DocumentMenu, IconAndText, MoreHorizontal, Plus, TileTooltip, } from '..';
|
|
5
|
+
import { GuestBedroom } from '../../assets/images';
|
|
6
|
+
import { colors } from '../../theme/colors';
|
|
7
|
+
export const AddToHomefile = ({ documentList, onItemClick, headerList, isDisabled = false, }) => {
|
|
8
|
+
return (_jsx(TileTooltip, { label: "addToHomefile", children: _jsxs(Container, { variant: "launchpad", h: "full", minW: ['full', '20rem'], children: [_jsx(ContainerHeader, { title: t('addToHomefile.title'), titleIcon: GuestBedroom, menuItems: headerList, icon: _jsx(MoreHorizontal, { size: 38 }) }), _jsxs(Stack, { spacing: "base", w: "full", p: "4", children: [_jsx(Button, { onClick: onItemClick, disabled: isDisabled, children: _jsxs(Flex, { w: "full", alignItems: "center", justifyContent: "space-between", px: "4", children: [_jsx(IconAndText, { title: t('addHomeItem.btnLabel'), icon: _jsx(Plus, {}) }), _jsx(Circle, { size: "40px", bg: "blue.1", color: "neutral.white", transition: "all 0.2s ease-in-out", children: _jsx(ChevronRight, { size: 26, stroke: colors.neutral.white }) })] }) }), _jsx(DocumentMenu, { documents: documentList, isDisabled: isDisabled, title: t('sendDocument.btLabel') })] })] }) }));
|
|
9
|
+
};
|
|
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
};
|
|
10
10
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
11
11
|
import { Box, DrawerBody, DrawerContent, DrawerHeader, Flex, Stack, } from '@chakra-ui/react';
|
|
12
|
-
import { HomeHeader, HomeCardWithRecipent, AddFolder, EditAccountType, FolderSharing, RightPanel, HomeBoardTour, RoomsMenu, ContactsContent, AppBar, BarDivider, ContactList, PeopleConnected, StorageUsed, TourButton, Trash, TutorialsButton, FolderTypeSelection, DisplayFiles, DisplayOptions, FilesUploader, FolderDetailBody, FolderDetailContent, FolderDetailFooter, FolderDetailHeader, FolderInfo, SharedAccounts, ReceiptAutofiler, HomeBoardGrid, ShortPartnerTile, ValueMonitor, TrendingValue, ReceiptsFiled, PropertyTaxes,
|
|
12
|
+
import { HomeHeader, HomeCardWithRecipent, AddFolder, EditAccountType, FolderSharing, RightPanel, HomeBoardTour, RoomsMenu, ContactsContent, AppBar, BarDivider, ContactList, PeopleConnected, StorageUsed, TourButton, Trash, TutorialsButton, FolderTypeSelection, DisplayFiles, DisplayOptions, FilesUploader, FolderDetailBody, FolderDetailContent, FolderDetailFooter, FolderDetailHeader, FolderInfo, SharedAccounts, ReceiptAutofiler, HomeBoardGrid, ShortPartnerTile, ValueMonitor, TrendingValue, ReceiptsFiled, PropertyTaxes, PartnerCatalogPanel, DynamicForm, PanelHeader, EditHomePanel, HomeCard, EditHomeFooter, HomeAssistant, HomeAssistantPanel, HomeMonitor, HomefileMonitoring, Notifications, HomeMonitorSteps, NotificationsReminder, NotificationsPanel, AddToHomefile, } from '..';
|
|
13
13
|
import { HomeCards, recipientsDb, FoldersDB, selectOptions, RoomsList, RoomsToAdd, } from '../../helpers';
|
|
14
14
|
import { ContactsMock, DisplayFilesMock, formFieldsMock, homeBoardRecorsMock, lineChartData, menuMock, partnerCatalogMock, sharedAccountsMock, socialLinksMock2, taxesMock, userMock, videoMock, homeAssitantStep1FormMock, homeAssitantStep2FormMock, homeAssitantStep3FormMock, homeAssitantStep4FormMock, homeAssitantStep5FormMock, homeAssitantStep6FormMock, tileUIMock, socialLinksMock, notificationsMock, } from '../../mocks';
|
|
15
15
|
import { useHomeBoard, useWindowDimensions } from '../../hooks';
|
|
@@ -57,7 +57,7 @@ export const HomeBoard = () => {
|
|
|
57
57
|
label: 'Details',
|
|
58
58
|
handleClick: handleHomeAssistantClick,
|
|
59
59
|
},
|
|
60
|
-
], stepsWithAlerts: [], onStepClick: () => null })] }) }), _jsx(DynamicForm, { form: tileUIMock, menuItems: menuMock, socialLinks: socialLinksMock, showTitle: false, websiteUrl: "http://www.audreyscheckdesign.com" }), _jsxs(Stack, { spacing: "base", children: [_jsx(ReceiptAutofiler, { onClick: () => null, totalReceipts: 36, totalTitle: "Receipts Received", forwardTo: "reciepts@homefile.cloud", onFilter: () => null, children: _jsx(ReceiptsFiled, { incidentalItemsNumber: 0, incidentalSpent: 0, inventoryItemsNumber: 0, inventorySpent: 0, total: 0 }) }), _jsx(ValueMonitor, { menuItems: menuMock, balance: "+3%", totalValue: 323421, year: "2023", yearValue: 5684 })] }), _jsx(PropertyTaxes, { estimatedTaxValue: 1000, menuItems: menuMock, taxes: taxesMock, title: "Travis County Property Taxes" }), _jsx(ShortPartnerTile, { _id: "1", buttonText: "Contact Audrey Scheck", description: "Full-service design firm focusing on residential remodels, furnishing, and styling.", onClick: () => null, socialLinks: socialLinksMock2, logo: "https://static.wixstatic.com/media/258105_8e04439070694f278e4787a310ea9f4b~mv2.png", partnerName: "Audrey Scheck", websiteUrl: "" }), _jsx(TrendingValue, { chartData: lineChartData, marketValue: 894000, menuItems: menuMock, mortgageBalance: 220532, purchasePrice: 220532, roi: "+234%" }), _jsx(ShortPartnerTile, { _id: "2", buttonText: "Contact Audrey Scheck", description: "Full-service design firm focusing on residential remodels, furnishing, and styling.", onClick: () => null, socialLinks: socialLinksMock2, logo: "https://static.wixstatic.com/media/258105_8e04439070694f278e4787a310ea9f4b~mv2.png", partnerName: "Audrey Scheck", websiteUrl: "" }), _jsx(FolderSharing, { folders: FoldersDB, handleAddNewFolder: handleNewFolder, handleFolderClick: handleFolderClick, handleSelect: () => null, initialSelectItem: selectOptions[0], menuItems: menuMock, selectItems: selectOptions }),
|
|
60
|
+
], stepsWithAlerts: [], onStepClick: () => null })] }) }), _jsx(DynamicForm, { form: tileUIMock, menuItems: menuMock, socialLinks: socialLinksMock, showTitle: false, websiteUrl: "http://www.audreyscheckdesign.com" }), _jsxs(Stack, { spacing: "base", children: [_jsx(ReceiptAutofiler, { onClick: () => null, totalReceipts: 36, totalTitle: "Receipts Received", forwardTo: "reciepts@homefile.cloud", onFilter: () => null, children: _jsx(ReceiptsFiled, { incidentalItemsNumber: 0, incidentalSpent: 0, inventoryItemsNumber: 0, inventorySpent: 0, total: 0 }) }), _jsx(ValueMonitor, { menuItems: menuMock, balance: "+3%", totalValue: 323421, year: "2023", yearValue: 5684 })] }), _jsx(PropertyTaxes, { estimatedTaxValue: 1000, menuItems: menuMock, taxes: taxesMock, title: "Travis County Property Taxes" }), _jsx(ShortPartnerTile, { _id: "1", buttonText: "Contact Audrey Scheck", description: "Full-service design firm focusing on residential remodels, furnishing, and styling.", onClick: () => null, socialLinks: socialLinksMock2, logo: "https://static.wixstatic.com/media/258105_8e04439070694f278e4787a310ea9f4b~mv2.png", partnerName: "Audrey Scheck", websiteUrl: "" }), _jsx(TrendingValue, { chartData: lineChartData, marketValue: 894000, menuItems: menuMock, mortgageBalance: 220532, purchasePrice: 220532, roi: "+234%" }), _jsx(ShortPartnerTile, { _id: "2", buttonText: "Contact Audrey Scheck", description: "Full-service design firm focusing on residential remodels, furnishing, and styling.", onClick: () => null, socialLinks: socialLinksMock2, logo: "https://static.wixstatic.com/media/258105_8e04439070694f278e4787a310ea9f4b~mv2.png", partnerName: "Audrey Scheck", websiteUrl: "" }), _jsx(FolderSharing, { folders: FoldersDB, handleAddNewFolder: handleNewFolder, handleFolderClick: handleFolderClick, handleSelect: () => null, initialSelectItem: selectOptions[0], menuItems: menuMock, selectItems: selectOptions }), _jsx(AddToHomefile, { documentList: [], onItemClick: () => null }), _jsx(ShortPartnerTile, { _id: "3", buttonText: "Contact Audrey Scheck", description: "Full-service design firm focusing on residential remodels, furnishing, and styling.", onClick: () => null, socialLinks: socialLinksMock2, logo: "https://static.wixstatic.com/media/258105_8e04439070694f278e4787a310ea9f4b~mv2.png", partnerName: "Audrey Scheck", websiteUrl: "" })] })] })] })] }), _jsx(HomeBoardTour, { currentStep: currentStep, handleClose: handleClose, handleStep: handleStep, meetStepUrl: videoMock, isActive: activeTour })] }));
|
|
61
61
|
};
|
|
62
62
|
export const AppBarComponent = ({ setActiveTour = (value) => { }, onClick = (panel) => { }, }) => {
|
|
63
63
|
const handleTour = () => {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ActivateAccount, ActiveSubscription, AddCardBanner, AddEditContactPanel, AddFolder, AddHomeContent, AddHomeItem, AddHomeItemHeader, AddMedia, AddPropertyRecords, Address, AddPopup, AddTile, AlertBanner, AphwTile, AppBar, AssignableReceipts, BackHeader, BarDivider, CancelAccount, CatalogPopup, CloudsAnimation, ContactList, ContactsContent, ContainerHeader, CreateDocumentHeader, CreateHouseholdItemHeader, CreditCardContainer, CreditCardError, CustomerTile, DeleteBanner, Dialog, DisplayFiles, DisplayFilesDetail, DisplayOptions, DisplayReceipts, DocumentMenu, DocumentNameHeader, DocumentPreview, DynamicForm, EditAccountType, EditHomeBody, EditHomeFooter, EditHomeHeader, EditHomePanel, EmailPermissions, EmailValidation, Feedback, FileDetail, FilesUploader, FlowStep, FolderDetail, FolderDetailBody, FolderDetailContent, FolderDetailFooter, FolderDetailHeader, FolderInfo, FolderSharing, FolderTypeSelection, FooterButtons, FooterDrawer, GenericBackHeader, GroupCard, GroupsContainer, GroupsHeader, Header, HelpContent, HomeAssistant, HomeAssistantPanel, HomeBoardGrid, HomeBoardTour, HomeCard, HomeCardWithRecipent, HomeDetailsContent, HomefileMonitoring, HomeHeader, HomeMonitor, HomeMonitorSteps, HomeSharedWith, InboxForwardBanner, InboxTile, ItemFormPanel, ItemFormTabs, ItemNameHeader, ItemsReviewBanner, ItemSubTypeSelect, Launchpad, LaunchpadAutofilerBanner, LaunchpadReceiptAutofiler, LaunchpadReceiptPanel, LaunchpadTour, LeftPanel, Loading, MediaDetailsStep, MessagePanel, MessageChatPanel, MonitorAlerts, MonthlyCharge, MortgageInfo, MoveModal, MyHomes, MyProfileBody, MyProfileContent, MyProfileFooter, MyProfileHeader, MyProfilePanel, NewCreditCard, NewCreditCardHeader, NewPassword, NotBeChargedBanner, Notifications, NotificationsReminder, NotificationsPanel, NotificationCard, Overlay, PanelHeader, PartnerActiveSubscription, PartnerCatalogPanel, PartnerContent, PartnerCustomerCode, PartnerDetails, PartnerImages, PartnerPanel, PasswordInput, PaymentReceipts, PdfButton, PeopleConnected, ProfileDetailsTab, ProfilePaymentTab, ProjectList, PropertyRecords, PropertyTaxes, ReadOnlyDynamicForm, ReadOnlyImage, ReadOnlyToggle, ReceiptAutofiler, ReceiptBody, ReceiptContent, ReceiptDetails, ReceiptFilters, ReceiptFooter, ReceiptHeader, ReceiptInfos, ReceiptItem, ReceiptItems, ReceiptPDF, ReceiptsDisplayOptions, ReceiptsFiled, ReceiptsHeader, ReceiptsInfo, ReceiptsReceivedContent, RecipientForm, RecipientsToShare, RecipientTab, RecordsInputs, ResendResetPassword, ResetPassword, ReviewBanner, RightPanel, RolePermissionsTab, RoomHeader, RoomsBoardTour, RoomsMenu, RoomsMenuMobile, RoomStep, RoomVideo, SalesTax, SatisfactionTile, SectionHeader, SendCommunication, ShareContactsContent, SharedAccounts, SharedHomeContent, SharedHomeHeader, ShareHome, ShareHomeConnections, ShareHomeForm, ShineTile, ShortPartnerTile, SignIn, SignUp, SkeletonBox, StepHeader, StorageUsed, Subscription, SubscriptionCard, SubscriptionTable, Summary, TabsHeader, TextInput, ToBeDeletedBody, ToBeDeletedContent, ToBeDeletedFooter, ToBeDeletedHeader, TourButton, Trash, TrendingValue, TrialBanner, TutorialsButton, TwoFactor, TwoFactorSetting, UpdateList, UserDetails, ValueMonitor, ViewContactPanel, VideoPlayer, VideoPlayerModal, WeatherWidget, WellDone, YtdTile, } from './components';
|
|
1
|
+
export { ActivateAccount, ActiveSubscription, AddCardBanner, AddEditContactPanel, AddFolder, AddHomeContent, AddHomeItem, AddHomeItemHeader, AddMedia, AddPropertyRecords, Address, AddPopup, AddTile, AddToHomefile, AlertBanner, AphwTile, AppBar, AssignableReceipts, BackHeader, BarDivider, CancelAccount, CatalogPopup, CloudsAnimation, ContactList, ContactsContent, ContainerHeader, CreateDocumentHeader, CreateHouseholdItemHeader, CreditCardContainer, CreditCardError, CustomerTile, DeleteBanner, Dialog, DisplayFiles, DisplayFilesDetail, DisplayOptions, DisplayReceipts, DocumentMenu, DocumentNameHeader, DocumentPreview, DynamicForm, EditAccountType, EditHomeBody, EditHomeFooter, EditHomeHeader, EditHomePanel, EmailPermissions, EmailValidation, Feedback, FileDetail, FilesUploader, FlowStep, FolderDetail, FolderDetailBody, FolderDetailContent, FolderDetailFooter, FolderDetailHeader, FolderInfo, FolderSharing, FolderTypeSelection, FooterButtons, FooterDrawer, GenericBackHeader, GroupCard, GroupsContainer, GroupsHeader, Header, HelpContent, HomeAssistant, HomeAssistantPanel, HomeBoardGrid, HomeBoardTour, HomeCard, HomeCardWithRecipent, HomeDetailsContent, HomefileMonitoring, HomeHeader, HomeMonitor, HomeMonitorSteps, HomeSharedWith, InboxForwardBanner, InboxTile, ItemFormPanel, ItemFormTabs, ItemNameHeader, ItemsReviewBanner, ItemSubTypeSelect, Launchpad, LaunchpadAutofilerBanner, LaunchpadReceiptAutofiler, LaunchpadReceiptPanel, LaunchpadTour, LeftPanel, Loading, MediaDetailsStep, MessagePanel, MessageChatPanel, MonitorAlerts, MonthlyCharge, MortgageInfo, MoveModal, MyHomes, MyProfileBody, MyProfileContent, MyProfileFooter, MyProfileHeader, MyProfilePanel, NewCreditCard, NewCreditCardHeader, NewPassword, NotBeChargedBanner, Notifications, NotificationsReminder, NotificationsPanel, NotificationCard, Overlay, PanelHeader, PartnerActiveSubscription, PartnerCatalogPanel, PartnerContent, PartnerCustomerCode, PartnerDetails, PartnerImages, PartnerPanel, PasswordInput, PaymentReceipts, PdfButton, PeopleConnected, ProfileDetailsTab, ProfilePaymentTab, ProjectList, PropertyRecords, PropertyTaxes, ReadOnlyDynamicForm, ReadOnlyImage, ReadOnlyToggle, ReceiptAutofiler, ReceiptBody, ReceiptContent, ReceiptDetails, ReceiptFilters, ReceiptFooter, ReceiptHeader, ReceiptInfos, ReceiptItem, ReceiptItems, ReceiptPDF, ReceiptsDisplayOptions, ReceiptsFiled, ReceiptsHeader, ReceiptsInfo, ReceiptsReceivedContent, RecipientForm, RecipientsToShare, RecipientTab, RecordsInputs, ResendResetPassword, ResetPassword, ReviewBanner, RightPanel, RolePermissionsTab, RoomHeader, RoomsBoardTour, RoomsMenu, RoomsMenuMobile, RoomStep, RoomVideo, SalesTax, SatisfactionTile, SectionHeader, SendCommunication, ShareContactsContent, SharedAccounts, SharedHomeContent, SharedHomeHeader, ShareHome, ShareHomeConnections, ShareHomeForm, ShineTile, ShortPartnerTile, SignIn, SignUp, SkeletonBox, StepHeader, StorageUsed, Subscription, SubscriptionCard, SubscriptionTable, Summary, TabsHeader, TextInput, ToBeDeletedBody, ToBeDeletedContent, ToBeDeletedFooter, ToBeDeletedHeader, TourButton, Trash, TrendingValue, TrialBanner, TutorialsButton, TwoFactor, TwoFactorSetting, UpdateList, UserDetails, ValueMonitor, ViewContactPanel, VideoPlayer, VideoPlayerModal, WeatherWidget, WellDone, YtdTile, } from './components';
|
|
2
2
|
export { useCustomToast } from './hooks';
|
|
3
3
|
export { randomColor, mapApiObjectToFormFields, mapForecastToWidget, } from './utils';
|
|
4
4
|
export { Contacts, MagnifyingGlassReport, Message, Register, Receipts, Price, BlueFolderShared, Calendar, Create, Notes, } from './assets/images';
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ActivateAccount, ActiveSubscription, AddCardBanner, AddEditContactPanel, AddFolder, AddHomeContent, AddHomeItem, AddHomeItemHeader, AddMedia, AddPropertyRecords, Address, AddPopup, AddTile, AlertBanner, AphwTile, AppBar, AssignableReceipts, BackHeader, BarDivider, CancelAccount, CatalogPopup, CloudsAnimation, ContactList, ContactsContent, ContainerHeader, CreateDocumentHeader, CreateHouseholdItemHeader, CreditCardContainer, CreditCardError, CustomerTile, DeleteBanner, Dialog, DisplayFiles, DisplayFilesDetail, DisplayOptions, DisplayReceipts, DocumentMenu, DocumentNameHeader, DocumentPreview, DynamicForm, EditAccountType, EditHomeBody, EditHomeFooter, EditHomeHeader, EditHomePanel, EmailPermissions, EmailValidation, Feedback, FileDetail, FilesUploader, FlowStep, FolderDetail, FolderDetailBody, FolderDetailContent, FolderDetailFooter, FolderDetailHeader, FolderInfo, FolderSharing, FolderTypeSelection, FooterButtons, FooterDrawer, GenericBackHeader, GroupCard, GroupsContainer, GroupsHeader, Header, HelpContent, HomeAssistant, HomeAssistantPanel, HomeBoardGrid, HomeBoardTour, HomeCard, HomeCardWithRecipent, HomeDetailsContent, HomefileMonitoring, HomeHeader, HomeMonitor, HomeMonitorSteps, HomeSharedWith, InboxForwardBanner, InboxTile, ItemFormPanel, ItemFormTabs, ItemNameHeader, ItemsReviewBanner, ItemSubTypeSelect, Launchpad, LaunchpadAutofilerBanner, LaunchpadReceiptAutofiler, LaunchpadReceiptPanel, LaunchpadTour, LeftPanel, Loading, MediaDetailsStep, MessagePanel, MessageChatPanel, MonitorAlerts, MonthlyCharge, MortgageInfo, MoveModal, MyHomes, MyProfileBody, MyProfileContent, MyProfileFooter, MyProfileHeader, MyProfilePanel, NewCreditCard, NewCreditCardHeader, NewPassword, NotBeChargedBanner, Notifications, NotificationsReminder, NotificationsPanel, NotificationCard, Overlay, PanelHeader, PartnerActiveSubscription, PartnerCatalogPanel, PartnerContent, PartnerCustomerCode, PartnerDetails, PartnerImages, PartnerPanel, PasswordInput, PaymentReceipts, PdfButton, PeopleConnected, ProfileDetailsTab, ProfilePaymentTab, ProjectList, PropertyRecords, PropertyTaxes, ReadOnlyDynamicForm, ReadOnlyImage, ReadOnlyToggle, ReceiptAutofiler, ReceiptBody, ReceiptContent, ReceiptDetails, ReceiptFilters, ReceiptFooter, ReceiptHeader, ReceiptInfos, ReceiptItem, ReceiptItems, ReceiptPDF, ReceiptsDisplayOptions, ReceiptsFiled, ReceiptsHeader, ReceiptsInfo, ReceiptsReceivedContent, RecipientForm, RecipientsToShare, RecipientTab, RecordsInputs, ResendResetPassword, ResetPassword, ReviewBanner, RightPanel, RolePermissionsTab, RoomHeader, RoomsBoardTour, RoomsMenu, RoomsMenuMobile, RoomStep, RoomVideo, SalesTax, SatisfactionTile, SectionHeader, SendCommunication, ShareContactsContent, SharedAccounts, SharedHomeContent, SharedHomeHeader, ShareHome, ShareHomeConnections, ShareHomeForm, ShineTile, ShortPartnerTile, SignIn, SignUp, SkeletonBox, StepHeader, StorageUsed, Subscription, SubscriptionCard, SubscriptionTable, Summary, TabsHeader, TextInput, ToBeDeletedBody, ToBeDeletedContent, ToBeDeletedFooter, ToBeDeletedHeader, TourButton, Trash, TrendingValue, TrialBanner, TutorialsButton, TwoFactor, TwoFactorSetting, UpdateList, UserDetails, ValueMonitor, ViewContactPanel, VideoPlayer, VideoPlayerModal, WeatherWidget, WellDone, YtdTile, } from './components';
|
|
1
|
+
export { ActivateAccount, ActiveSubscription, AddCardBanner, AddEditContactPanel, AddFolder, AddHomeContent, AddHomeItem, AddHomeItemHeader, AddMedia, AddPropertyRecords, Address, AddPopup, AddTile, AddToHomefile, AlertBanner, AphwTile, AppBar, AssignableReceipts, BackHeader, BarDivider, CancelAccount, CatalogPopup, CloudsAnimation, ContactList, ContactsContent, ContainerHeader, CreateDocumentHeader, CreateHouseholdItemHeader, CreditCardContainer, CreditCardError, CustomerTile, DeleteBanner, Dialog, DisplayFiles, DisplayFilesDetail, DisplayOptions, DisplayReceipts, DocumentMenu, DocumentNameHeader, DocumentPreview, DynamicForm, EditAccountType, EditHomeBody, EditHomeFooter, EditHomeHeader, EditHomePanel, EmailPermissions, EmailValidation, Feedback, FileDetail, FilesUploader, FlowStep, FolderDetail, FolderDetailBody, FolderDetailContent, FolderDetailFooter, FolderDetailHeader, FolderInfo, FolderSharing, FolderTypeSelection, FooterButtons, FooterDrawer, GenericBackHeader, GroupCard, GroupsContainer, GroupsHeader, Header, HelpContent, HomeAssistant, HomeAssistantPanel, HomeBoardGrid, HomeBoardTour, HomeCard, HomeCardWithRecipent, HomeDetailsContent, HomefileMonitoring, HomeHeader, HomeMonitor, HomeMonitorSteps, HomeSharedWith, InboxForwardBanner, InboxTile, ItemFormPanel, ItemFormTabs, ItemNameHeader, ItemsReviewBanner, ItemSubTypeSelect, Launchpad, LaunchpadAutofilerBanner, LaunchpadReceiptAutofiler, LaunchpadReceiptPanel, LaunchpadTour, LeftPanel, Loading, MediaDetailsStep, MessagePanel, MessageChatPanel, MonitorAlerts, MonthlyCharge, MortgageInfo, MoveModal, MyHomes, MyProfileBody, MyProfileContent, MyProfileFooter, MyProfileHeader, MyProfilePanel, NewCreditCard, NewCreditCardHeader, NewPassword, NotBeChargedBanner, Notifications, NotificationsReminder, NotificationsPanel, NotificationCard, Overlay, PanelHeader, PartnerActiveSubscription, PartnerCatalogPanel, PartnerContent, PartnerCustomerCode, PartnerDetails, PartnerImages, PartnerPanel, PasswordInput, PaymentReceipts, PdfButton, PeopleConnected, ProfileDetailsTab, ProfilePaymentTab, ProjectList, PropertyRecords, PropertyTaxes, ReadOnlyDynamicForm, ReadOnlyImage, ReadOnlyToggle, ReceiptAutofiler, ReceiptBody, ReceiptContent, ReceiptDetails, ReceiptFilters, ReceiptFooter, ReceiptHeader, ReceiptInfos, ReceiptItem, ReceiptItems, ReceiptPDF, ReceiptsDisplayOptions, ReceiptsFiled, ReceiptsHeader, ReceiptsInfo, ReceiptsReceivedContent, RecipientForm, RecipientsToShare, RecipientTab, RecordsInputs, ResendResetPassword, ResetPassword, ReviewBanner, RightPanel, RolePermissionsTab, RoomHeader, RoomsBoardTour, RoomsMenu, RoomsMenuMobile, RoomStep, RoomVideo, SalesTax, SatisfactionTile, SectionHeader, SendCommunication, ShareContactsContent, SharedAccounts, SharedHomeContent, SharedHomeHeader, ShareHome, ShareHomeConnections, ShareHomeForm, ShineTile, ShortPartnerTile, SignIn, SignUp, SkeletonBox, StepHeader, StorageUsed, Subscription, SubscriptionCard, SubscriptionTable, Summary, TabsHeader, TextInput, ToBeDeletedBody, ToBeDeletedContent, ToBeDeletedFooter, ToBeDeletedHeader, TourButton, Trash, TrendingValue, TrialBanner, TutorialsButton, TwoFactor, TwoFactorSetting, UpdateList, UserDetails, ValueMonitor, ViewContactPanel, VideoPlayer, VideoPlayerModal, WeatherWidget, WellDone, YtdTile, } from './components';
|
|
2
2
|
export { useCustomToast } from './hooks';
|
|
3
3
|
export { randomColor, mapApiObjectToFormFields, mapForecastToWidget, } from './utils';
|
|
4
4
|
export { Contacts, MagnifyingGlassReport, Message, Register, Receipts, Price, BlueFolderShared, Calendar, Create, Notes, } from './assets/images';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Center, Grid, Image, Text } from '@chakra-ui/react';
|
|
3
|
-
import { AlertDelete, AlertDeletePurple, Arrow, Balustrades, Barcode, Batery, Bathroom, Battery, Battery2, Bedding, Bedroom, Billing, BillingAddress, BlueFolder, BlueFolderShared, Book, Box as BoxIcon, Building, Calc, Calendar, Calendar2, Catalog, Check, CheckInCircle, CheckPen, Chemistry, CircleFace, Cleaning, Closet, Co2, Company, ComputerReport, Confirmation, Construction, Contacts, Contacts2, Contributor, Cookware, Countertops, CreditCard, Detector, Diamond, DiningRoom, DocIcon, Document, Document2, Doors, Drop, DropCalendar, Electricity, Electronics, Entryway, Equipment, Exclamation, Exterior, Face, Feedback, FileUploading, Finance, Fire, Flag, Flooring, FormSent, Foundation, Furniture, Garage, GearPencil, GearTime, GenericField, GlassWater, GoldenBars, GreenFolder, Group, Groups, GuestBedroom, Hallway, HandPencil, Hardware, Heart, Heater, Help, HomeAddress, Homeowner, House, HouseHands, IA, ImageDefault, ImgIcon, Inbox, Insect, Kitchen, LargeAppliances, Laundry, Light, Lighting, LivingRoom, LogoSmall, MagnifyingGlassReport, Manager, MasterBedroom, Mattress, Member, Message, MobileDrop, Money, Mudroom, NeedHelp, Notes, Office, Paint, Painting, PartnerGeneric, Patio, PdfIcon, PersonMail, Plants, Plate, Play, Plus, Pool, Pool2, PressureWasher, Porch, Price, Profile, ProgressReport, Proposal, Rating, RealEstate, Receipt, ReceiptBg, ReceiptHouse, Receipts, Recipient, Records, Register, Registry, RelationshipHome, ResendPassword, Rocket, Roof, Roof2, Security, Send, ShareHome, ShareWith, SixtyEight, SMS, Social, SmallAppliances, SolarPanel, Speaker, Sprinkler, Steps, Structure, Structures, Subscription, Supplies, Table, Target, Temperature, Theatre, Thumbnail, ThumbnailSmall, ThumbUp, Tile, Tools, Tools2, Trash, Utensils, VideoIcon, VideoPlay, VioletFolder, WallDecor, Warning, Warranty, Water, WellDone, WholeHome, Wind, Window, Wizard, WizardDetailed, WizardQuick, YellowFolder, YellowFolderUnshared, BookOpened, Company2, } from '../../assets/images';
|
|
3
|
+
import { AlertDelete, AlertDeletePurple, Arrow, Balustrades, Barcode, Batery, Bathroom, Battery, Battery2, Bedding, Bedroom, Billing, BillingAddress, BlueFolder, BlueFolderShared, Book, Box as BoxIcon, Building, Calc, Calendar, Calendar2, Catalog, Check, CheckInCircle, CheckPen, Chemistry, CircleFace, Cleaning, Closet, Co2, Company, ComputerReport, Confirmation, Construction, Contacts, Contacts2, Contributor, Cookware, Countertops, CreditCard, Detector, Diamond, DiningRoom, DocIcon, Document, Document2, Doors, Drop, DropCalendar, Electricity, Electronics, Entryway, EstValue, Equipment, Exclamation, Exterior, Face, Feedback, FileUploading, Finance, Fire, Flag, Flooring, FormSent, Foundation, Furniture, Garage, GearPencil, GearTime, GenericField, GlassWater, GoldenBars, GreenFolder, Group, Groups, GuestBedroom, Hallway, HandPencil, Hardware, Heart, Heater, Help, HomeAddress, Homeowner, House, HouseHands, IA, ImageDefault, ImgIcon, Inbox, Insect, Kitchen, LargeAppliances, Laundry, Light, Lighting, LivingRoom, LogoSmall, MagnifyingGlassReport, Manager, MasterBedroom, Mattress, Member, Message, MobileDrop, Money, Mudroom, NeedHelp, Notes, Office, Paint, Painting, PartnerGeneric, Patio, PdfIcon, PersonMail, Plants, Plate, Play, Plus, Pool, Pool2, PressureWasher, Porch, Price, Profile, ProgressReport, Proposal, Rating, RealEstate, Receipt, ReceiptBg, ReceiptHouse, Receipts, Recipient, Records, Register, Registry, RelationshipHome, ResendPassword, Rocket, Roof, Roof2, Security, Send, ShareHome, ShareWith, SixtyEight, SMS, Social, SmallAppliances, SolarPanel, Speaker, Sprinkler, Steps, Structure, Structures, Subscription, Supplies, Table, Target, Temperature, Theatre, Thumbnail, ThumbnailSmall, ThumbUp, Tile, Tools, Tools2, Trash, Utensils, VideoIcon, VideoPlay, VioletFolder, WallDecor, Warning, Warranty, Water, WellDone, WholeHome, Wind, Window, Wizard, WizardDetailed, WizardQuick, YellowFolder, YellowFolderUnshared, BookOpened, Company2, } from '../../assets/images';
|
|
4
4
|
import { CookTop, Dishwasher, Dryer, Freezer, Fridge, Microwave, Oven, Range, Washer, } from '../../assets/images/appliances';
|
|
5
5
|
export default {
|
|
6
6
|
title: 'Assets/Illustrations',
|
|
7
7
|
};
|
|
8
8
|
export const Illustrations = () => {
|
|
9
|
-
return (_jsxs(Grid, { maxW: "600px", templateColumns: "repeat(auto-fill, minmax(75px, 1fr))", p: "base", gap: "8", children: [_jsx(IconWrapper, { icon: CookTop, name: "CookTop" }), _jsx(IconWrapper, { icon: Dishwasher, name: "Dishwasher" }), _jsx(IconWrapper, { icon: Dryer, name: "Dryer" }), _jsx(IconWrapper, { icon: Freezer, name: "Freezer" }), _jsx(IconWrapper, { icon: Fridge, name: "Fridge" }), _jsx(IconWrapper, { icon: Microwave, name: "Microwave" }), _jsx(IconWrapper, { icon: Oven, name: "Oven" }), _jsx(IconWrapper, { icon: Range, name: "Range" }), _jsx(IconWrapper, { icon: Washer, name: "Washer" }), _jsx(IconWrapper, { icon: Barcode, name: "Barcode" }), _jsx(IconWrapper, { icon: Book, name: "Book" }), _jsx(IconWrapper, { icon: Calendar, name: "Calendar" }), _jsx(IconWrapper, { icon: GoldenBars, name: "GoldenBars" }), _jsx(IconWrapper, { icon: Heart, name: "Heart" }), _jsx(IconWrapper, { icon: Notes, name: "Notes" }), _jsx(IconWrapper, { icon: Rating, name: "Rating" }), _jsx(IconWrapper, { icon: Registry, name: "Registry" }), _jsx(IconWrapper, { icon: Tools2, name: "Tools2" }), _jsx(IconWrapper, { icon: Balustrades, name: "Balustrades" }), _jsx(IconWrapper, { icon: Bedding, name: "Bedding" }), _jsx(IconWrapper, { icon: Cookware, name: "Cookware" }), _jsx(IconWrapper, { icon: Countertops, name: "Countertops" }), _jsx(IconWrapper, { icon: Doors, name: "Doors" }), _jsx(IconWrapper, { icon: Electronics, name: "Electronics" }), _jsx(IconWrapper, { icon: Equipment, name: "Equipment" }), _jsx(IconWrapper, { icon: Exterior, name: "Exterior" }), _jsx(IconWrapper, { icon: Fire, name: "Fire" }), _jsx(IconWrapper, { icon: Flooring, name: "Flooring" }), _jsx(IconWrapper, { icon: Furniture, name: "Furniture" }), _jsx(IconWrapper, { icon: Hardware, name: "Hardware" }), _jsx(IconWrapper, { icon: IA, name: "IA" }), _jsx(IconWrapper, { icon: LargeAppliances, name: "LargeAppliances" }), _jsx(IconWrapper, { icon: Lighting, name: "Lighting" }), _jsx(IconWrapper, { icon: Mattress, name: "Mattress" }), _jsx(IconWrapper, { icon: Paint, name: "Paint" }), _jsx(IconWrapper, { icon: Plants, name: "Plants" }), _jsx(IconWrapper, { icon: Porch, name: "Porch" }), _jsx(IconWrapper, { icon: Roof, name: "Roof" }), _jsx(IconWrapper, { icon: SmallAppliances, name: "SmallAppliances" }), _jsx(IconWrapper, { icon: Steps, name: "Steps" }), _jsx(IconWrapper, { icon: Structures, name: "Structures" }), _jsx(IconWrapper, { icon: Supplies, name: "Supplies" }), _jsx(IconWrapper, { icon: Table, name: "Table" }), _jsx(IconWrapper, { icon: Temperature, name: "Temperature" }), _jsx(IconWrapper, { icon: Tile, name: "Tile" }), _jsx(IconWrapper, { icon: Tools, name: "Tools" }), _jsx(IconWrapper, { icon: Utensils, name: "Utensils" }), _jsx(IconWrapper, { icon: WallDecor, name: "WallDecor" }), _jsx(IconWrapper, { icon: Water, name: "Water" }), _jsx(IconWrapper, { icon: Window, name: "Window" }), _jsx(IconWrapper, { icon: AlertDelete, name: "AlertDelete" }), _jsx(IconWrapper, { icon: AlertDeletePurple, name: "AlertDeletePurple" }), _jsx(IconWrapper, { icon: Arrow, name: "Arrow" }), _jsx(IconWrapper, { icon: Batery, name: "Batery" }), _jsx(IconWrapper, { icon: Bathroom, name: "Bathroom" }), _jsx(IconWrapper, { icon: Battery, name: "Battery" }), _jsx(IconWrapper, { icon: Battery2, name: "Battery2" }), _jsx(IconWrapper, { icon: Bedroom, name: "Bedroom" }), _jsx(IconWrapper, { icon: Billing, name: "Billing" }), _jsx(IconWrapper, { icon: BillingAddress, name: "BillingAddress" }), _jsx(IconWrapper, { icon: BlueFolder, name: "BlueFolder" }), _jsx(IconWrapper, { icon: BlueFolderShared, name: "BlueFolderShared" }), _jsx(IconWrapper, { icon: BookOpened, name: "BookOpened" }), _jsx(IconWrapper, { icon: BoxIcon, name: "Box" }), _jsx(IconWrapper, { icon: Building, name: "Building" }), _jsx(IconWrapper, { icon: Calc, name: "Calc" }), _jsx(IconWrapper, { icon: Calendar2, name: "Calendar2" }), _jsx(IconWrapper, { icon: Catalog, name: "Catalog" }), _jsx(IconWrapper, { icon: Check, name: "Check" }), _jsx(IconWrapper, { icon: CheckInCircle, name: "CheckInCircle" }), _jsx(IconWrapper, { icon: CheckPen, name: "CheckPen" }), _jsx(IconWrapper, { icon: Chemistry, name: "Chemistry" }), _jsx(IconWrapper, { icon: CircleFace, name: "CircleFace" }), _jsx(IconWrapper, { icon: Cleaning, name: "Cleaning" }), _jsx(IconWrapper, { icon: Closet, name: "Closet" }), _jsx(IconWrapper, { icon: Co2, name: "Co2" }), _jsx(IconWrapper, { icon: Company, name: "Company" }), _jsx(IconWrapper, { icon: Company2, name: "Company2" }), _jsx(IconWrapper, { icon: ComputerReport, name: "ComputerReport" }), _jsx(IconWrapper, { icon: Confirmation, name: "Confirmation" }), _jsx(IconWrapper, { icon: Construction, name: "Construction" }), _jsx(IconWrapper, { icon: Contacts, name: "Contacts" }), _jsx(IconWrapper, { icon: Contacts2, name: "Contacts2" }), _jsx(IconWrapper, { icon: Contributor, name: "Contributor" }), _jsx(IconWrapper, { icon: CreditCard, name: "CreditCard" }), _jsx(IconWrapper, { icon: Detector, name: "Detector" }), _jsx(IconWrapper, { icon: Diamond, name: "Diamond" }), _jsx(IconWrapper, { icon: DiningRoom, name: "DiningRoom" }), _jsx(IconWrapper, { icon: DocIcon, name: "DocIcon" }), _jsx(IconWrapper, { icon: Document, name: "Document" }), _jsx(IconWrapper, { icon: Document2, name: "Document2" }), _jsx(IconWrapper, { icon: Drop, name: "Drop" }), _jsx(IconWrapper, { icon: DropCalendar, name: "DropCalendar" }), _jsx(IconWrapper, { icon: Electricity, name: "Electricity" }), _jsx(IconWrapper, { icon: Entryway, name: "Entryway" }), _jsx(IconWrapper, { icon: Exclamation, name: "Exclamation" }), _jsx(IconWrapper, { icon: Face, name: "Face" }), _jsx(IconWrapper, { icon: Feedback, name: "Feedback" }), _jsx(IconWrapper, { icon: FileUploading, name: "FileUploading" }), _jsx(IconWrapper, { icon: Finance, name: "Finance" }), _jsx(IconWrapper, { icon: Flag, name: "Flag" }), _jsx(IconWrapper, { icon: FormSent, name: "FormSent" }), _jsx(IconWrapper, { icon: Foundation, name: "Foundation" }), _jsx(IconWrapper, { icon: Garage, name: "Garage" }), _jsx(IconWrapper, { icon: GearPencil, name: "GearPencil" }), _jsx(IconWrapper, { icon: GearTime, name: "GearTime" }), _jsx(IconWrapper, { icon: GenericField, name: "GenericField" }), _jsx(IconWrapper, { icon: GlassWater, name: "GlassWater" }), _jsx(IconWrapper, { icon: GreenFolder, name: "GreenFolder" }), _jsx(IconWrapper, { icon: Group, name: "Group" }), _jsx(IconWrapper, { icon: Groups, name: "Groups" }), _jsx(IconWrapper, { icon: GuestBedroom, name: "GuestBedroom" }), _jsx(IconWrapper, { icon: Hallway, name: "Hallway" }), _jsx(IconWrapper, { icon: HandPencil, name: "HandPencil" }), _jsx(IconWrapper, { icon: Heater, name: "Heater" }), _jsx(IconWrapper, { icon: Help, name: "Help" }), _jsx(IconWrapper, { icon: HomeAddress, name: "HomeAddress" }), _jsx(IconWrapper, { icon: Homeowner, name: "Homeowner" }), _jsx(IconWrapper, { icon: House, name: "House" }), _jsx(IconWrapper, { icon: HouseHands, name: "HouseHands" }), _jsx(IconWrapper, { icon: ImageDefault, name: "ImageDefault" }), _jsx(IconWrapper, { icon: ImgIcon, name: "ImgIcon" }), _jsx(IconWrapper, { icon: Inbox, name: "Inbox" }), _jsx(IconWrapper, { icon: Insect, name: "Insect" }), _jsx(IconWrapper, { icon: Kitchen, name: "Kitchen" }), _jsx(IconWrapper, { icon: Laundry, name: "Laundry" }), _jsx(IconWrapper, { icon: Light, name: "Light" }), _jsx(IconWrapper, { icon: LivingRoom, name: "LivingRoom" }), _jsx(IconWrapper, { icon: LogoSmall, name: "LogoSmall" }), _jsx(IconWrapper, { icon: MagnifyingGlassReport, name: "MagnifyingGlassReport" }), _jsx(IconWrapper, { icon: Manager, name: "Manager" }), _jsx(IconWrapper, { icon: MasterBedroom, name: "MasterBedroom" }), _jsx(IconWrapper, { icon: Member, name: "Member" }), _jsx(IconWrapper, { icon: Message, name: "Message" }), _jsx(IconWrapper, { icon: MobileDrop, name: "MobileDrop" }), _jsx(IconWrapper, { icon: Money, name: "Money" }), _jsx(IconWrapper, { icon: Mudroom, name: "Mudroom" }), _jsx(IconWrapper, { icon: NeedHelp, name: "NeedHelp" }), _jsx(IconWrapper, { icon: Office, name: "Office" }), _jsx(IconWrapper, { icon: Painting, name: "Painting" }), _jsx(IconWrapper, { icon: PartnerGeneric, name: "PartnerGeneric" }), _jsx(IconWrapper, { icon: Patio, name: "Patio" }), _jsx(IconWrapper, { icon: PdfIcon, name: "PdfIcon" }), _jsx(IconWrapper, { icon: PersonMail, name: "PersonMail" }), _jsx(IconWrapper, { icon: Plate, name: "Plate" }), _jsx(IconWrapper, { icon: Play, name: "Play" }), _jsx(IconWrapper, { icon: Plus, name: "Plus" }), _jsx(IconWrapper, { icon: Pool, name: "Pool" }), _jsx(IconWrapper, { icon: Pool2, name: "Pool2" }), _jsx(IconWrapper, { icon: PressureWasher, name: "PressureWasher" }), _jsx(IconWrapper, { icon: Price, name: "Price" }), _jsx(IconWrapper, { icon: Profile, name: "Profile" }), _jsx(IconWrapper, { icon: ProgressReport, name: "ProgressReport" }), _jsx(IconWrapper, { icon: Proposal, name: "Proposal" }), _jsx(IconWrapper, { icon: RealEstate, name: "RealEstate" }), _jsx(IconWrapper, { icon: Receipt, name: "Receipt" }), _jsx(IconWrapper, { icon: ReceiptBg, name: "ReceiptBg" }), _jsx(IconWrapper, { icon: ReceiptHouse, name: "ReceiptHouse" }), _jsx(IconWrapper, { icon: Receipts, name: "Receipts" }), _jsx(IconWrapper, { icon: Recipient, name: "Recipient" }), _jsx(IconWrapper, { icon: Records, name: "Records" }), _jsx(IconWrapper, { icon: Register, name: "Register" }), _jsx(IconWrapper, { icon: RelationshipHome, name: "RelationshipHome" }), _jsx(IconWrapper, { icon: ResendPassword, name: "ResendPassword" }), _jsx(IconWrapper, { icon: Rocket, name: "Rocket" }), _jsx(IconWrapper, { icon: Roof2, name: "Roof2" }), _jsx(IconWrapper, { icon: Security, name: "Security" }), _jsx(IconWrapper, { icon: Send, name: "Send" }), _jsx(IconWrapper, { icon: ShareHome, name: "ShareHome" }), _jsx(IconWrapper, { icon: ShareWith, name: "ShareWith" }), _jsx(IconWrapper, { icon: SixtyEight, name: "SixtyEight" }), _jsx(IconWrapper, { icon: SMS, name: "SMS" }), _jsx(IconWrapper, { icon: Social, name: "Social" }), _jsx(IconWrapper, { icon: SolarPanel, name: "SolarPanel" }), _jsx(IconWrapper, { icon: Speaker, name: "Speaker" }), _jsx(IconWrapper, { icon: Sprinkler, name: "Sprinkler" }), _jsx(IconWrapper, { icon: Structure, name: "Structure" }), _jsx(IconWrapper, { icon: Subscription, name: "Subscription" }), _jsx(IconWrapper, { icon: Target, name: "Target" }), _jsx(IconWrapper, { icon: Theatre, name: "Theatre" }), _jsx(IconWrapper, { icon: Thumbnail, name: "Thumbnail" }), _jsx(IconWrapper, { icon: ThumbnailSmall, name: "ThumbnailSmall" }), _jsx(IconWrapper, { icon: ThumbUp, name: "ThumbUp" }), _jsx(IconWrapper, { icon: Trash, name: "Trash" }), _jsx(IconWrapper, { icon: VideoIcon, name: "VideoIcon" }), _jsx(IconWrapper, { icon: VideoPlay, name: "VideoPlay" }), _jsx(IconWrapper, { icon: VioletFolder, name: "VioletFolder" }), _jsx(IconWrapper, { icon: Warning, name: "Warning" }), _jsx(IconWrapper, { icon: Warranty, name: "Warranty" }), _jsx(IconWrapper, { icon: WellDone, name: "WellDone" }), _jsx(IconWrapper, { icon: WholeHome, name: "WholeHome" }), _jsx(IconWrapper, { icon: Wind, name: "Wind" }), _jsx(IconWrapper, { icon: Wizard, name: "Wizard" }), _jsx(IconWrapper, { icon: WizardDetailed, name: "WizardDetailed" }), _jsx(IconWrapper, { icon: WizardQuick, name: "WizardQuick" }), _jsx(IconWrapper, { icon: YellowFolder, name: "YellowFolder" }), _jsx(IconWrapper, { icon: YellowFolderUnshared, name: "YellowFolderUnshared" })] }));
|
|
9
|
+
return (_jsxs(Grid, { maxW: "600px", templateColumns: "repeat(auto-fill, minmax(75px, 1fr))", p: "base", gap: "8", children: [_jsx(IconWrapper, { icon: CookTop, name: "CookTop" }), _jsx(IconWrapper, { icon: Dishwasher, name: "Dishwasher" }), _jsx(IconWrapper, { icon: Dryer, name: "Dryer" }), _jsx(IconWrapper, { icon: Freezer, name: "Freezer" }), _jsx(IconWrapper, { icon: Fridge, name: "Fridge" }), _jsx(IconWrapper, { icon: Microwave, name: "Microwave" }), _jsx(IconWrapper, { icon: Oven, name: "Oven" }), _jsx(IconWrapper, { icon: Range, name: "Range" }), _jsx(IconWrapper, { icon: Washer, name: "Washer" }), _jsx(IconWrapper, { icon: Barcode, name: "Barcode" }), _jsx(IconWrapper, { icon: Book, name: "Book" }), _jsx(IconWrapper, { icon: Calendar, name: "Calendar" }), _jsx(IconWrapper, { icon: GoldenBars, name: "GoldenBars" }), _jsx(IconWrapper, { icon: Heart, name: "Heart" }), _jsx(IconWrapper, { icon: Notes, name: "Notes" }), _jsx(IconWrapper, { icon: Rating, name: "Rating" }), _jsx(IconWrapper, { icon: Registry, name: "Registry" }), _jsx(IconWrapper, { icon: Tools2, name: "Tools2" }), _jsx(IconWrapper, { icon: Balustrades, name: "Balustrades" }), _jsx(IconWrapper, { icon: Bedding, name: "Bedding" }), _jsx(IconWrapper, { icon: Cookware, name: "Cookware" }), _jsx(IconWrapper, { icon: Countertops, name: "Countertops" }), _jsx(IconWrapper, { icon: Doors, name: "Doors" }), _jsx(IconWrapper, { icon: Electronics, name: "Electronics" }), _jsx(IconWrapper, { icon: Equipment, name: "Equipment" }), _jsx(IconWrapper, { icon: Exterior, name: "Exterior" }), _jsx(IconWrapper, { icon: Fire, name: "Fire" }), _jsx(IconWrapper, { icon: Flooring, name: "Flooring" }), _jsx(IconWrapper, { icon: Furniture, name: "Furniture" }), _jsx(IconWrapper, { icon: Hardware, name: "Hardware" }), _jsx(IconWrapper, { icon: LargeAppliances, name: "LargeAppliances" }), _jsx(IconWrapper, { icon: Lighting, name: "Lighting" }), _jsx(IconWrapper, { icon: Mattress, name: "Mattress" }), _jsx(IconWrapper, { icon: Paint, name: "Paint" }), _jsx(IconWrapper, { icon: Plants, name: "Plants" }), _jsx(IconWrapper, { icon: Porch, name: "Porch" }), _jsx(IconWrapper, { icon: Roof, name: "Roof" }), _jsx(IconWrapper, { icon: SmallAppliances, name: "SmallAppliances" }), _jsx(IconWrapper, { icon: Steps, name: "Steps" }), _jsx(IconWrapper, { icon: Structures, name: "Structures" }), _jsx(IconWrapper, { icon: Supplies, name: "Supplies" }), _jsx(IconWrapper, { icon: Table, name: "Table" }), _jsx(IconWrapper, { icon: Temperature, name: "Temperature" }), _jsx(IconWrapper, { icon: Tile, name: "Tile" }), _jsx(IconWrapper, { icon: Tools, name: "Tools" }), _jsx(IconWrapper, { icon: Utensils, name: "Utensils" }), _jsx(IconWrapper, { icon: WallDecor, name: "WallDecor" }), _jsx(IconWrapper, { icon: Water, name: "Water" }), _jsx(IconWrapper, { icon: Window, name: "Window" }), _jsx(IconWrapper, { icon: AlertDelete, name: "AlertDelete" }), _jsx(IconWrapper, { icon: AlertDeletePurple, name: "AlertDeletePurple" }), _jsx(IconWrapper, { icon: Arrow, name: "Arrow" }), _jsx(IconWrapper, { icon: Batery, name: "Batery" }), _jsx(IconWrapper, { icon: Bathroom, name: "Bathroom" }), _jsx(IconWrapper, { icon: Battery, name: "Battery" }), _jsx(IconWrapper, { icon: Battery2, name: "Battery2" }), _jsx(IconWrapper, { icon: Bedroom, name: "Bedroom" }), _jsx(IconWrapper, { icon: Billing, name: "Billing" }), _jsx(IconWrapper, { icon: BillingAddress, name: "BillingAddress" }), _jsx(IconWrapper, { icon: BlueFolder, name: "BlueFolder" }), _jsx(IconWrapper, { icon: BlueFolderShared, name: "BlueFolderShared" }), _jsx(IconWrapper, { icon: BookOpened, name: "BookOpened" }), _jsx(IconWrapper, { icon: BoxIcon, name: "Box" }), _jsx(IconWrapper, { icon: Building, name: "Building" }), _jsx(IconWrapper, { icon: Calc, name: "Calc" }), _jsx(IconWrapper, { icon: Calendar2, name: "Calendar2" }), _jsx(IconWrapper, { icon: Catalog, name: "Catalog" }), _jsx(IconWrapper, { icon: Check, name: "Check" }), _jsx(IconWrapper, { icon: CheckInCircle, name: "CheckInCircle" }), _jsx(IconWrapper, { icon: CheckPen, name: "CheckPen" }), _jsx(IconWrapper, { icon: Chemistry, name: "Chemistry" }), _jsx(IconWrapper, { icon: CircleFace, name: "CircleFace" }), _jsx(IconWrapper, { icon: Cleaning, name: "Cleaning" }), _jsx(IconWrapper, { icon: Closet, name: "Closet" }), _jsx(IconWrapper, { icon: Co2, name: "Co2" }), _jsx(IconWrapper, { icon: Company, name: "Company" }), _jsx(IconWrapper, { icon: Company2, name: "Company2" }), _jsx(IconWrapper, { icon: ComputerReport, name: "ComputerReport" }), _jsx(IconWrapper, { icon: Confirmation, name: "Confirmation" }), _jsx(IconWrapper, { icon: Construction, name: "Construction" }), _jsx(IconWrapper, { icon: Contacts, name: "Contacts" }), _jsx(IconWrapper, { icon: Contacts2, name: "Contacts2" }), _jsx(IconWrapper, { icon: Contributor, name: "Contributor" }), _jsx(IconWrapper, { icon: CreditCard, name: "CreditCard" }), _jsx(IconWrapper, { icon: Detector, name: "Detector" }), _jsx(IconWrapper, { icon: Diamond, name: "Diamond" }), _jsx(IconWrapper, { icon: DiningRoom, name: "DiningRoom" }), _jsx(IconWrapper, { icon: DocIcon, name: "DocIcon" }), _jsx(IconWrapper, { icon: Document, name: "Document" }), _jsx(IconWrapper, { icon: Document2, name: "Document2" }), _jsx(IconWrapper, { icon: Drop, name: "Drop" }), _jsx(IconWrapper, { icon: DropCalendar, name: "DropCalendar" }), _jsx(IconWrapper, { icon: Electricity, name: "Electricity" }), _jsx(IconWrapper, { icon: Entryway, name: "Entryway" }), _jsx(IconWrapper, { icon: EstValue, name: "EstValue" }), _jsx(IconWrapper, { icon: Exclamation, name: "Exclamation" }), _jsx(IconWrapper, { icon: Face, name: "Face" }), _jsx(IconWrapper, { icon: Feedback, name: "Feedback" }), _jsx(IconWrapper, { icon: FileUploading, name: "FileUploading" }), _jsx(IconWrapper, { icon: Finance, name: "Finance" }), _jsx(IconWrapper, { icon: Flag, name: "Flag" }), _jsx(IconWrapper, { icon: FormSent, name: "FormSent" }), _jsx(IconWrapper, { icon: Foundation, name: "Foundation" }), _jsx(IconWrapper, { icon: Garage, name: "Garage" }), _jsx(IconWrapper, { icon: GearPencil, name: "GearPencil" }), _jsx(IconWrapper, { icon: GearTime, name: "GearTime" }), _jsx(IconWrapper, { icon: GenericField, name: "GenericField" }), _jsx(IconWrapper, { icon: GlassWater, name: "GlassWater" }), _jsx(IconWrapper, { icon: GreenFolder, name: "GreenFolder" }), _jsx(IconWrapper, { icon: Group, name: "Group" }), _jsx(IconWrapper, { icon: Groups, name: "Groups" }), _jsx(IconWrapper, { icon: GuestBedroom, name: "GuestBedroom" }), _jsx(IconWrapper, { icon: Hallway, name: "Hallway" }), _jsx(IconWrapper, { icon: HandPencil, name: "HandPencil" }), _jsx(IconWrapper, { icon: Heater, name: "Heater" }), _jsx(IconWrapper, { icon: Help, name: "Help" }), _jsx(IconWrapper, { icon: HomeAddress, name: "HomeAddress" }), _jsx(IconWrapper, { icon: Homeowner, name: "Homeowner" }), _jsx(IconWrapper, { icon: House, name: "House" }), _jsx(IconWrapper, { icon: HouseHands, name: "HouseHands" }), _jsx(IconWrapper, { icon: IA, name: "IA" }), _jsx(IconWrapper, { icon: ImageDefault, name: "ImageDefault" }), _jsx(IconWrapper, { icon: ImgIcon, name: "ImgIcon" }), _jsx(IconWrapper, { icon: Inbox, name: "Inbox" }), _jsx(IconWrapper, { icon: Insect, name: "Insect" }), _jsx(IconWrapper, { icon: Kitchen, name: "Kitchen" }), _jsx(IconWrapper, { icon: Laundry, name: "Laundry" }), _jsx(IconWrapper, { icon: Light, name: "Light" }), _jsx(IconWrapper, { icon: LivingRoom, name: "LivingRoom" }), _jsx(IconWrapper, { icon: LogoSmall, name: "LogoSmall" }), _jsx(IconWrapper, { icon: MagnifyingGlassReport, name: "MagnifyingGlassReport" }), _jsx(IconWrapper, { icon: Manager, name: "Manager" }), _jsx(IconWrapper, { icon: MasterBedroom, name: "MasterBedroom" }), _jsx(IconWrapper, { icon: Member, name: "Member" }), _jsx(IconWrapper, { icon: Message, name: "Message" }), _jsx(IconWrapper, { icon: MobileDrop, name: "MobileDrop" }), _jsx(IconWrapper, { icon: Money, name: "Money" }), _jsx(IconWrapper, { icon: Mudroom, name: "Mudroom" }), _jsx(IconWrapper, { icon: NeedHelp, name: "NeedHelp" }), _jsx(IconWrapper, { icon: Office, name: "Office" }), _jsx(IconWrapper, { icon: Painting, name: "Painting" }), _jsx(IconWrapper, { icon: PartnerGeneric, name: "PartnerGeneric" }), _jsx(IconWrapper, { icon: Patio, name: "Patio" }), _jsx(IconWrapper, { icon: PdfIcon, name: "PdfIcon" }), _jsx(IconWrapper, { icon: PersonMail, name: "PersonMail" }), _jsx(IconWrapper, { icon: Plate, name: "Plate" }), _jsx(IconWrapper, { icon: Play, name: "Play" }), _jsx(IconWrapper, { icon: Plus, name: "Plus" }), _jsx(IconWrapper, { icon: Pool, name: "Pool" }), _jsx(IconWrapper, { icon: Pool2, name: "Pool2" }), _jsx(IconWrapper, { icon: PressureWasher, name: "PressureWasher" }), _jsx(IconWrapper, { icon: Price, name: "Price" }), _jsx(IconWrapper, { icon: Profile, name: "Profile" }), _jsx(IconWrapper, { icon: ProgressReport, name: "ProgressReport" }), _jsx(IconWrapper, { icon: Proposal, name: "Proposal" }), _jsx(IconWrapper, { icon: RealEstate, name: "RealEstate" }), _jsx(IconWrapper, { icon: Receipt, name: "Receipt" }), _jsx(IconWrapper, { icon: ReceiptBg, name: "ReceiptBg" }), _jsx(IconWrapper, { icon: ReceiptHouse, name: "ReceiptHouse" }), _jsx(IconWrapper, { icon: Receipts, name: "Receipts" }), _jsx(IconWrapper, { icon: Recipient, name: "Recipient" }), _jsx(IconWrapper, { icon: Records, name: "Records" }), _jsx(IconWrapper, { icon: Register, name: "Register" }), _jsx(IconWrapper, { icon: RelationshipHome, name: "RelationshipHome" }), _jsx(IconWrapper, { icon: ResendPassword, name: "ResendPassword" }), _jsx(IconWrapper, { icon: Rocket, name: "Rocket" }), _jsx(IconWrapper, { icon: Roof2, name: "Roof2" }), _jsx(IconWrapper, { icon: Security, name: "Security" }), _jsx(IconWrapper, { icon: Send, name: "Send" }), _jsx(IconWrapper, { icon: ShareHome, name: "ShareHome" }), _jsx(IconWrapper, { icon: ShareWith, name: "ShareWith" }), _jsx(IconWrapper, { icon: SixtyEight, name: "SixtyEight" }), _jsx(IconWrapper, { icon: SMS, name: "SMS" }), _jsx(IconWrapper, { icon: Social, name: "Social" }), _jsx(IconWrapper, { icon: SolarPanel, name: "SolarPanel" }), _jsx(IconWrapper, { icon: Speaker, name: "Speaker" }), _jsx(IconWrapper, { icon: Sprinkler, name: "Sprinkler" }), _jsx(IconWrapper, { icon: Structure, name: "Structure" }), _jsx(IconWrapper, { icon: Subscription, name: "Subscription" }), _jsx(IconWrapper, { icon: Target, name: "Target" }), _jsx(IconWrapper, { icon: Theatre, name: "Theatre" }), _jsx(IconWrapper, { icon: Thumbnail, name: "Thumbnail" }), _jsx(IconWrapper, { icon: ThumbnailSmall, name: "ThumbnailSmall" }), _jsx(IconWrapper, { icon: ThumbUp, name: "ThumbUp" }), _jsx(IconWrapper, { icon: Trash, name: "Trash" }), _jsx(IconWrapper, { icon: VideoIcon, name: "VideoIcon" }), _jsx(IconWrapper, { icon: VideoPlay, name: "VideoPlay" }), _jsx(IconWrapper, { icon: VioletFolder, name: "VioletFolder" }), _jsx(IconWrapper, { icon: Warning, name: "Warning" }), _jsx(IconWrapper, { icon: Warranty, name: "Warranty" }), _jsx(IconWrapper, { icon: WellDone, name: "WellDone" }), _jsx(IconWrapper, { icon: WholeHome, name: "WholeHome" }), _jsx(IconWrapper, { icon: Wind, name: "Wind" }), _jsx(IconWrapper, { icon: Wizard, name: "Wizard" }), _jsx(IconWrapper, { icon: WizardDetailed, name: "WizardDetailed" }), _jsx(IconWrapper, { icon: WizardQuick, name: "WizardQuick" }), _jsx(IconWrapper, { icon: YellowFolder, name: "YellowFolder" }), _jsx(IconWrapper, { icon: YellowFolderUnshared, name: "YellowFolderUnshared" })] }));
|
|
10
10
|
};
|
|
11
11
|
const IconWrapper = ({ icon, name }) => {
|
|
12
12
|
return (_jsxs(Center, { flexDirection: "column", children: [_jsx(Image, { src: icon, boxSize: "30px", mb: "2" }), _jsx(Text, { variant: "home", children: name })] }));
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { AddToHomefileI } from '../../interfaces';
|
|
3
|
+
declare const _default: Meta<AddToHomefileI>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const AddToHomefileComponent: (args: AddToHomefileI) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Box } from '@chakra-ui/react';
|
|
3
|
+
import { AddToHomefile } from '../../components';
|
|
4
|
+
import { action } from '@storybook/addon-actions';
|
|
5
|
+
export default {
|
|
6
|
+
title: 'Components/HomeBoard',
|
|
7
|
+
component: AddToHomefile,
|
|
8
|
+
args: {
|
|
9
|
+
onItemClick: action('onItemClick'),
|
|
10
|
+
documentList: [],
|
|
11
|
+
},
|
|
12
|
+
};
|
|
13
|
+
export const AddToHomefileComponent = (args) => {
|
|
14
|
+
return (_jsx(Box, { w: ['full', '300px'], children: _jsx(AddToHomefile, Object.assign({}, args)) }));
|
|
15
|
+
};
|
package/package.json
CHANGED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<svg id="Grupo_21813" data-name="Grupo 21813" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="34.537" height="38.461" viewBox="0 0 34.537 38.461">
|
|
2
|
+
<defs>
|
|
3
|
+
<clipPath id="clip-path">
|
|
4
|
+
<rect id="Retângulo_25352" data-name="Retângulo 25352" width="34.537" height="38.461" fill="none"/>
|
|
5
|
+
</clipPath>
|
|
6
|
+
</defs>
|
|
7
|
+
<g id="Grupo_21796" data-name="Grupo 21796" clip-path="url(#clip-path)">
|
|
8
|
+
<path id="Caminho_15729" data-name="Caminho 15729" d="M34.537,1.381,33.152,5.92,30.638,7.255l.876-2.861L19.522,10.776A1.233,1.233,0,0,1,18,10.483L15.347,7.34c-3.31,1.8-7.337,3.991-10.222,5.563H0c.077-.053.208-.145,15.05-8.219a1.239,1.239,0,0,1,1.536.29l2.656,3.151L30.351,2.211l-2.864-.876L30,0Z" transform="translate(0 2.335)" fill="#f6cf76"/>
|
|
9
|
+
<rect id="Retângulo_25344" data-name="Retângulo 25344" width="34.406" height="2.388" transform="translate(0.064 36.073)" fill="#00c0b7"/>
|
|
10
|
+
<rect id="Retângulo_25345" data-name="Retângulo 25345" width="34.406" height="2.335" transform="translate(0.064 33.739)" fill="#40566b"/>
|
|
11
|
+
<path id="Caminho_15730" data-name="Caminho 15730" d="M34.586,63.962H.18V46.76H34.586Zm-2.112-4.317V51.076a2.2,2.2,0,0,1-2.2-2.2H4.5a2.2,2.2,0,0,1-2.2,2.2v8.569a2.2,2.2,0,0,1,2.2,2.2H30.27a2.2,2.2,0,0,1,2.2-2.2" transform="translate(-0.116 -30.244)" fill="#00c0b7"/>
|
|
12
|
+
<path id="Caminho_15731" data-name="Caminho 15731" d="M25.388,56.89h0a4.744,4.744,0,1,0,0,4.677h0a4.755,4.755,0,0,0,0-4.677m10.96-1.946v8.569a2.2,2.2,0,0,0-2.2,2.2H8.37a2.2,2.2,0,0,0-2.2-2.2V54.944a2.2,2.2,0,0,0,2.2-2.2H34.144a2.2,2.2,0,0,0,2.2,2.2" transform="translate(-3.991 -34.112)" fill="#daf1f3"/>
|
|
13
|
+
<rect id="Retângulo_25346" data-name="Retângulo 25346" width="11.076" height="1.06" transform="translate(18.48 24.587)" fill="#00c0b7"/>
|
|
14
|
+
<rect id="Retângulo_25347" data-name="Retângulo 25347" width="11.08" height="1.06" transform="translate(4.977 24.587)" fill="#00c0b7"/>
|
|
15
|
+
<rect id="Retângulo_25348" data-name="Retângulo 25348" width="8.004" height="1.06" transform="translate(17.865 26.925)" fill="#00c0b7"/>
|
|
16
|
+
<rect id="Retângulo_25349" data-name="Retângulo 25349" width="8.007" height="1.06" transform="translate(8.664 26.925)" fill="#00c0b7"/>
|
|
17
|
+
<rect id="Retângulo_25350" data-name="Retângulo 25350" width="8.004" height="1.06" transform="translate(17.865 22.249)" fill="#00c0b7"/>
|
|
18
|
+
<rect id="Retângulo_25351" data-name="Retângulo 25351" width="8.007" height="1.06" transform="translate(8.664 22.249)" fill="#00c0b7"/>
|
|
19
|
+
<path id="Caminho_15732" data-name="Caminho 15732" d="M44.333,60.085a4.755,4.755,0,0,1,0,4.677h0a4.744,4.744,0,1,1,0-4.677Z" transform="translate(-22.935 -37.307)" fill="#00c0b7"/>
|
|
20
|
+
<path id="Caminho_15733" data-name="Caminho 15733" d="M44.416,66.634a1.382,1.382,0,0,0,.765.377V64.972a5.142,5.142,0,0,1-.7-.219,1.8,1.8,0,0,1-.493-.284.983.983,0,0,1-.288-.4,1.765,1.765,0,0,1,.03-1.212,1.548,1.548,0,0,1,.835-.835,1.919,1.919,0,0,1,.619-.146v-.508H45.6v.516a1.6,1.6,0,0,1,.992.462A2.195,2.195,0,0,1,47.12,63.4h-.654a1.021,1.021,0,0,0-.861-.892V64.4l.462.123a2.15,2.15,0,0,1,.361.134,1.692,1.692,0,0,1,.4.266,1.492,1.492,0,0,1,.327.423,1.285,1.285,0,0,1,.135.608,1.667,1.667,0,0,1-.127.669,1.517,1.517,0,0,1-.35.5,1.672,1.672,0,0,1-.531.334,2.34,2.34,0,0,1-.677.154v.631h-.423v-.631a1.793,1.793,0,0,1-1.738-1.8H44.1a1.145,1.145,0,0,0,.319.815m.138-3.881a.842.842,0,0,0-.257.665.82.82,0,0,0,.065.343.648.648,0,0,0,.185.238,1.192,1.192,0,0,0,.28.166,2.878,2.878,0,0,0,.354.123v-1.8a1.1,1.1,0,0,0-.627.266M46,66.934a.916.916,0,0,0,.316-.181.793.793,0,0,0,.207-.3,1.127,1.127,0,0,0,.073-.427.76.76,0,0,0-.284-.631A1.174,1.174,0,0,0,46,65.214c-.123-.048-.254-.094-.392-.135v1.931a1.6,1.6,0,0,0,.4-.077" transform="translate(-28.098 -39.69)" fill="#daf1f3"/>
|
|
21
|
+
</g>
|
|
22
|
+
</svg>
|
package/src/assets/images/ia.svg
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="
|
|
2
|
-
<g id="
|
|
3
|
-
<circle id="
|
|
4
|
-
<line id="
|
|
5
|
-
<rect id="
|
|
6
|
-
<circle id="
|
|
7
|
-
<ellipse id="
|
|
8
|
-
<circle id="
|
|
9
|
-
<rect id="
|
|
10
|
-
<rect id="
|
|
11
|
-
<line id="
|
|
12
|
-
<line id="
|
|
13
|
-
<path id="
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="39.675" height="34.007" viewBox="0 0 39.675 34.007">
|
|
2
|
+
<g id="Grupo_21819" data-name="Grupo 21819" transform="translate(76 -1643)">
|
|
3
|
+
<circle id="Elipse_1093" data-name="Elipse 1093" cx="2.834" cy="2.834" r="2.834" transform="translate(-58.996 1643)" fill="#bcd1d8"/>
|
|
4
|
+
<line id="Linha_3403" data-name="Linha 3403" y2="3.58" transform="translate(-56.162 1648.668)" fill="none" stroke="#bcd1d8" stroke-width="1"/>
|
|
5
|
+
<rect id="Retângulo_24537" data-name="Retângulo 24537" width="14.17" height="5.668" rx="2.834" transform="translate(-63.247 1651.502)" fill="#00a1aa"/>
|
|
6
|
+
<circle id="Elipse_1090" data-name="Elipse 1090" cx="4.251" cy="4.251" r="4.251" transform="translate(-76 1661.421)" fill="#00a1aa"/>
|
|
7
|
+
<ellipse id="Elipse_1092" data-name="Elipse 1092" cx="3.542" cy="4.251" rx="3.542" ry="4.251" transform="translate(-43.41 1661.421)" fill="#00a1aa"/>
|
|
8
|
+
<circle id="Elipse_1091" data-name="Elipse 1091" cx="4.251" cy="4.251" r="4.251" transform="translate(-49.077 1661.421)" fill="#00a1aa"/>
|
|
9
|
+
<rect id="Retângulo_24536" data-name="Retângulo 24536" width="31.174" height="22.672" rx="5" transform="translate(-71.749 1654.336)" fill="#02c0b7"/>
|
|
10
|
+
<rect id="Retângulo_24476" data-name="Retângulo 24476" width="19.838" height="8.502" rx="3" transform="translate(-66.081 1658.587)" fill="#324459"/>
|
|
11
|
+
<line id="Linha_3401" data-name="Linha 3401" x2="3.58" transform="translate(-62.932 1663.228)" fill="none" stroke="#fff" stroke-width="2"/>
|
|
12
|
+
<line id="Linha_3402" data-name="Linha 3402" x2="3.58" transform="translate(-52.371 1663.228)" fill="none" stroke="#fff" stroke-width="2"/>
|
|
13
|
+
<path id="Caminho_15024" data-name="Caminho 15024" d="M-112.806,1761.029a3.776,3.776,0,0,0,3.778,3.214,3.841,3.841,0,0,0,3.772-3.214" transform="translate(53.096 -90.627)" fill="none" stroke="#fff" stroke-linecap="round" stroke-width="1"/>
|
|
14
14
|
</g>
|
|
15
15
|
</svg>
|
|
16
|
-
|
|
17
|
-
|
|
@@ -48,6 +48,7 @@ import Drop from './drop.svg'
|
|
|
48
48
|
import DropCalendar from './drop-calendar.svg'
|
|
49
49
|
import Electricity from './electricity.svg'
|
|
50
50
|
import Entryway from './entryway.svg'
|
|
51
|
+
import EstValue from './est-value.svg'
|
|
51
52
|
import Exclamation from './exclamation.svg'
|
|
52
53
|
import Face from './face.svg'
|
|
53
54
|
import Feedback from './feedback.svg'
|
|
@@ -212,6 +213,7 @@ export {
|
|
|
212
213
|
DropCalendar,
|
|
213
214
|
Electricity,
|
|
214
215
|
Entryway,
|
|
216
|
+
EstValue,
|
|
215
217
|
Exclamation,
|
|
216
218
|
Face,
|
|
217
219
|
Feedback,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"addHomeItem": {
|
|
3
|
-
"btnLabel": "
|
|
3
|
+
"btnLabel": "Items",
|
|
4
4
|
"title": "Home Item"
|
|
5
5
|
},
|
|
6
6
|
"addItemWizard": {
|
|
@@ -70,6 +70,9 @@
|
|
|
70
70
|
"shared": "Shared",
|
|
71
71
|
"title": "Recipient"
|
|
72
72
|
},
|
|
73
|
+
"addToHomefile": {
|
|
74
|
+
"title": "Add to Homefile"
|
|
75
|
+
},
|
|
73
76
|
"ariaLabels": {
|
|
74
77
|
"add": "Add button",
|
|
75
78
|
"close": "Close button",
|
|
@@ -885,7 +888,7 @@
|
|
|
885
888
|
"youCan": "You can upload"
|
|
886
889
|
},
|
|
887
890
|
"sendDocument": {
|
|
888
|
-
"btLabel": "
|
|
891
|
+
"btLabel": "Documents",
|
|
889
892
|
"title": "Document Home",
|
|
890
893
|
"headers": {
|
|
891
894
|
"selectHome": "Select Home",
|
|
@@ -974,6 +977,7 @@
|
|
|
974
977
|
"view": "View"
|
|
975
978
|
},
|
|
976
979
|
"tooltips": {
|
|
980
|
+
"addToHomefile": "Add to Homefile",
|
|
977
981
|
"contacts": "Home contacts",
|
|
978
982
|
"documentHome": "Document home",
|
|
979
983
|
"editContact": "Edit contact",
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { t } from 'i18next'
|
|
2
|
+
import { Box, Button, Circle, Container, Flex, Stack } from '@chakra-ui/react'
|
|
3
|
+
import {
|
|
4
|
+
ChevronRight,
|
|
5
|
+
ContainerHeader,
|
|
6
|
+
DocumentMenu,
|
|
7
|
+
IconAndText,
|
|
8
|
+
MoreHorizontal,
|
|
9
|
+
Plus,
|
|
10
|
+
TileTooltip,
|
|
11
|
+
} from '@/components'
|
|
12
|
+
import { AddToHomefileI } from '@/interfaces'
|
|
13
|
+
import { GuestBedroom } from '@/assets/images'
|
|
14
|
+
import { colors } from '@/theme/colors'
|
|
15
|
+
|
|
16
|
+
export const AddToHomefile = ({
|
|
17
|
+
documentList,
|
|
18
|
+
onItemClick,
|
|
19
|
+
headerList,
|
|
20
|
+
isDisabled = false,
|
|
21
|
+
}: AddToHomefileI) => {
|
|
22
|
+
return (
|
|
23
|
+
<TileTooltip label="addToHomefile">
|
|
24
|
+
<Container variant="launchpad" h="full" minW={['full', '20rem']}>
|
|
25
|
+
<ContainerHeader
|
|
26
|
+
title={t('addToHomefile.title')}
|
|
27
|
+
titleIcon={GuestBedroom}
|
|
28
|
+
menuItems={headerList}
|
|
29
|
+
icon={<MoreHorizontal size={38} />}
|
|
30
|
+
/>
|
|
31
|
+
<Stack spacing="base" w="full" p="4">
|
|
32
|
+
<Button onClick={onItemClick} disabled={isDisabled}>
|
|
33
|
+
<Flex
|
|
34
|
+
w="full"
|
|
35
|
+
alignItems="center"
|
|
36
|
+
justifyContent="space-between"
|
|
37
|
+
px="4"
|
|
38
|
+
>
|
|
39
|
+
<IconAndText title={t('addHomeItem.btnLabel')} icon={<Plus />} />
|
|
40
|
+
<Circle
|
|
41
|
+
size="40px"
|
|
42
|
+
bg="blue.1"
|
|
43
|
+
color="neutral.white"
|
|
44
|
+
transition="all 0.2s ease-in-out"
|
|
45
|
+
>
|
|
46
|
+
<ChevronRight size={26} stroke={colors.neutral.white} />
|
|
47
|
+
</Circle>
|
|
48
|
+
</Flex>
|
|
49
|
+
</Button>
|
|
50
|
+
<DocumentMenu
|
|
51
|
+
documents={documentList}
|
|
52
|
+
isDisabled={isDisabled}
|
|
53
|
+
title={t('sendDocument.btLabel')}
|
|
54
|
+
/>
|
|
55
|
+
</Stack>
|
|
56
|
+
</Container>
|
|
57
|
+
</TileTooltip>
|
|
58
|
+
)
|
|
59
|
+
}
|
|
@@ -57,6 +57,7 @@ import {
|
|
|
57
57
|
HomeMonitorSteps,
|
|
58
58
|
NotificationsReminder,
|
|
59
59
|
NotificationsPanel,
|
|
60
|
+
AddToHomefile,
|
|
60
61
|
} from '@/components'
|
|
61
62
|
import {
|
|
62
63
|
HomeCards,
|
|
@@ -454,10 +455,7 @@ export const HomeBoard = () => {
|
|
|
454
455
|
selectItems={selectOptions}
|
|
455
456
|
/>
|
|
456
457
|
|
|
457
|
-
<
|
|
458
|
-
<AddHomeItem handleClick={() => null} />
|
|
459
|
-
<SendCommunication documentList={[]} />
|
|
460
|
-
</Stack>
|
|
458
|
+
<AddToHomefile documentList={[]} onItemClick={() => null} />
|
|
461
459
|
|
|
462
460
|
<ShortPartnerTile
|
|
463
461
|
_id="3"
|
package/src/index.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './AddMedia.interface'
|
|
2
|
+
export * from './AddToHomefile.interface'
|
|
2
3
|
export * from './RecipientTab.interface'
|
|
3
4
|
export * from './CreateDocumentContent.interface'
|
|
4
5
|
export * from './CreateDocumentHeader.interface'
|
|
@@ -11,4 +12,4 @@ export * from './RecipientForm.interface'
|
|
|
11
12
|
export * from './RecipientHeader.interface'
|
|
12
13
|
export * from './SendCommunication.interface'
|
|
13
14
|
export * from './ThumbCard.interface'
|
|
14
|
-
export * from './Thumbs.interface'
|
|
15
|
+
export * from './Thumbs.interface'
|
|
@@ -53,6 +53,7 @@ import {
|
|
|
53
53
|
Electricity,
|
|
54
54
|
Electronics,
|
|
55
55
|
Entryway,
|
|
56
|
+
EstValue,
|
|
56
57
|
Equipment,
|
|
57
58
|
Exclamation,
|
|
58
59
|
Exterior,
|
|
@@ -248,7 +249,7 @@ export const Illustrations = () => {
|
|
|
248
249
|
<IconWrapper icon={Flooring} name="Flooring" />
|
|
249
250
|
<IconWrapper icon={Furniture} name="Furniture" />
|
|
250
251
|
<IconWrapper icon={Hardware} name="Hardware" />
|
|
251
|
-
|
|
252
|
+
|
|
252
253
|
<IconWrapper icon={LargeAppliances} name="LargeAppliances" />
|
|
253
254
|
<IconWrapper icon={Lighting} name="Lighting" />
|
|
254
255
|
<IconWrapper icon={Mattress} name="Mattress" />
|
|
@@ -314,6 +315,7 @@ export const Illustrations = () => {
|
|
|
314
315
|
<IconWrapper icon={DropCalendar} name="DropCalendar" />
|
|
315
316
|
<IconWrapper icon={Electricity} name="Electricity" />
|
|
316
317
|
<IconWrapper icon={Entryway} name="Entryway" />
|
|
318
|
+
<IconWrapper icon={EstValue} name="EstValue" />
|
|
317
319
|
<IconWrapper icon={Exclamation} name="Exclamation" />
|
|
318
320
|
<IconWrapper icon={Face} name="Face" />
|
|
319
321
|
<IconWrapper icon={Feedback} name="Feedback" />
|
|
@@ -339,6 +341,7 @@ export const Illustrations = () => {
|
|
|
339
341
|
<IconWrapper icon={Homeowner} name="Homeowner" />
|
|
340
342
|
<IconWrapper icon={House} name="House" />
|
|
341
343
|
<IconWrapper icon={HouseHands} name="HouseHands" />
|
|
344
|
+
<IconWrapper icon={IA} name="IA" />
|
|
342
345
|
<IconWrapper icon={ImageDefault} name="ImageDefault" />
|
|
343
346
|
<IconWrapper icon={ImgIcon} name="ImgIcon" />
|
|
344
347
|
<IconWrapper icon={Inbox} name="Inbox" />
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react'
|
|
2
|
+
import { Box } from '@chakra-ui/react'
|
|
3
|
+
import { AddToHomefile } from '@/components'
|
|
4
|
+
import { AddToHomefileI } from '@/interfaces'
|
|
5
|
+
import { action } from '@storybook/addon-actions'
|
|
6
|
+
|
|
7
|
+
export default {
|
|
8
|
+
title: 'Components/HomeBoard',
|
|
9
|
+
component: AddToHomefile,
|
|
10
|
+
args: {
|
|
11
|
+
onItemClick: action('onItemClick'),
|
|
12
|
+
documentList: [],
|
|
13
|
+
},
|
|
14
|
+
} as Meta<AddToHomefileI>
|
|
15
|
+
|
|
16
|
+
export const AddToHomefileComponent = (args: AddToHomefileI) => {
|
|
17
|
+
return (
|
|
18
|
+
<Box w={['full', '300px']}>
|
|
19
|
+
<AddToHomefile {...args} />
|
|
20
|
+
</Box>
|
|
21
|
+
)
|
|
22
|
+
}
|