@hellobetterdigitalnz/selwynui 0.0.1-29 → 0.0.1-31

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.
@@ -255,6 +255,37 @@
255
255
  }
256
256
  }
257
257
 
258
+ .itineraryContainer {
259
+ position: relative;
260
+ min-height: 100vh;
261
+ display: flex;
262
+ flex-direction: column;
263
+ }
264
+
265
+ .chatItineraryBlock {
266
+ transition: all 0.5s ease;
267
+
268
+ &.hero {
269
+ display: flex;
270
+ flex-direction: column;
271
+ }
272
+
273
+ &.itinerary {
274
+ padding: 48px 0 0;
275
+ border-top: 1px solid var(--color-taste);
276
+ flex: 1;
277
+ display: flex;
278
+ flex-direction: column;
279
+ overflow: hidden;
280
+ height: calc(100vh - 80px); // Adjust based on header height
281
+
282
+ @media (max-width: 834px) {
283
+ padding: 24px 0 0;
284
+ height: calc(100vh - 60px); // Smaller header on mobile
285
+ }
286
+ }
287
+ }
288
+
258
289
  .itineraryWrapper {
259
290
  background: var(--color-sand);
260
291
  border-radius: 16px;
@@ -262,13 +293,74 @@
262
293
  position: relative;
263
294
  animation: fadeIn 0.5s ease;
264
295
  width: 100%;
296
+ overflow-y: auto;
297
+ overflow-x: hidden;
298
+ max-height: calc(100vh - 380px);
265
299
 
266
300
  @media (max-width: 834px) {
267
301
  padding: 24px 16px;
268
302
  border-radius: 8px;
303
+ max-height: calc(100vh - 320px);
304
+ }
305
+
306
+ // Optional: Style the scrollbar
307
+ &::-webkit-scrollbar {
308
+ width: 8px;
309
+ }
310
+
311
+ &::-webkit-scrollbar-track {
312
+ background: rgba(0, 0, 0, 0.05);
313
+ border-radius: 4px;
314
+ }
315
+
316
+ &::-webkit-scrollbar-thumb {
317
+ background: rgba(0, 0, 0, 0.2);
318
+ border-radius: 4px;
319
+
320
+ &:hover {
321
+ background: rgba(0, 0, 0, 0.3);
322
+ }
323
+ }
324
+ }
325
+
326
+ .bottomSpacer {
327
+ //height: 40px; // Reduced since we're scrolling within container
328
+ //
329
+ //@media (max-width: 834px) {
330
+ // height: 20px;
331
+ //}
332
+ }
333
+
334
+ // Keep all other styles the same...
335
+ .fixedFooter {
336
+ position: fixed;
337
+ bottom: 24px;
338
+ left: 0;
339
+ right: 0;
340
+ z-index: 100;
341
+
342
+
343
+ @media (max-width: 834px) {
344
+ padding: 16px 0;
269
345
  }
270
346
  }
271
347
 
348
+ .footerContent {
349
+ display: flex;
350
+ flex-direction: column;
351
+ padding: 24px 24px 24px 24px;
352
+ background-color: var(--color-sand);
353
+ border-radius: 12px;
354
+ gap: 16px;
355
+ box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
356
+
357
+
358
+ @media (max-width: 834px) {
359
+ gap: 12px;
360
+ }
361
+ }
362
+
363
+
272
364
  @keyframes fadeIn {
273
365
  from {
274
366
  opacity: 0;
@@ -388,9 +480,9 @@
388
480
  width: 40px;
389
481
  height: 40px;
390
482
  border-radius: 50%;
391
- background: #2D5016;
483
+ background: var(--color-bg);
392
484
  border: none;
393
- color: white;
485
+ color: var(--bg-modal-color);
394
486
  cursor: pointer;
395
487
  display: flex;
396
488
  align-items: center;
@@ -407,8 +499,8 @@
407
499
  height: 40px;
408
500
  border-radius: 50%;
409
501
  background: none;
410
- border: 1px solid #2D5016;
411
- color: #2D5016;
502
+ border: 1px solid var(--color-bg);
503
+ color: var(--color-bg);
412
504
  cursor: pointer;
413
505
  display: flex;
414
506
  align-items: center;
@@ -460,24 +552,23 @@
460
552
  .tags {
461
553
  display: flex;
462
554
  gap: 12px;
463
- margin: 72px 0 16px 0;
555
+ margin: 0;
464
556
  flex-wrap: wrap;
465
557
 
466
558
  @media (max-width: 834px) {
467
- margin: 40px 0 16px 0;
468
559
  gap: 8px;
469
560
  }
470
561
  }
471
562
 
472
563
  .chatInput {
473
564
  display: flex;
474
- align-items: center;
565
+ align-items: flex-end;
475
566
  padding: 16px;
476
567
  min-height: 162px;
477
- background: #F5F5F5;
568
+ background: var(--bg-modal-color);
478
569
  border-radius: 12px;
479
- border: 2px solid #92C134;
480
- margin-top: 24px;
570
+ border: 2px solid var(--color-taste);
571
+ margin: 0;
481
572
  width: 100%;
482
573
  box-sizing: border-box;
483
574
 
@@ -505,26 +596,22 @@
505
596
  background: none;
506
597
  outline: none;
507
598
  font-size: 16px;
508
- color: #333;
509
599
  min-width: 0;
510
600
 
511
601
  @media (max-width: 834px) {
512
602
  font-size: 14px;
513
603
  }
514
604
 
515
- &::placeholder {
516
- color: #999;
517
- }
518
605
  }
519
606
  }
520
607
 
521
608
  .sendButton {
522
- width: 88px;
523
- height: 51px;
609
+ width: 88px !important;
610
+ height: 51px !important;
524
611
  border-radius: 48px;
525
- background: #2D5016;
612
+ background: var(--color-bg);
526
613
  border: none;
527
- color: white;
614
+ color: var(--bg-modal-color);
528
615
  cursor: pointer;
529
616
  display: flex;
530
617
  align-items: center;
@@ -533,7 +620,7 @@
533
620
  flex-shrink: 0;
534
621
 
535
622
  &:hover {
536
- background: #234010;
623
+ background: var(--color-bg);
537
624
  }
538
625
 
539
626
  svg {
@@ -553,11 +640,11 @@
553
640
  }
554
641
 
555
642
  .itinaryHeader {
556
- border-top: 1px solid #234010;
643
+ border-top: 1px solid var(--color-bg);
557
644
 
558
645
  h4 {
559
646
  font-size: var(--font-size-h4);
560
- color: #23461F;
647
+ color: var(--color-bg);
561
648
  font-weight: var(--font-weight-bold);
562
649
  line-height: var(--line-height-h3);
563
650
  letter-spacing: -1.92px;
@@ -574,7 +661,7 @@
574
661
  font-weight: var(--font-weight-h4);
575
662
  line-height: var(--line-height-h6);
576
663
  letter-spacing: -0.56px;
577
- color: #23461F;
664
+ color: var(--color-bg);
578
665
  margin-top: 48px;
579
666
 
580
667
  @media (max-width: 834px) {
@@ -595,4 +682,48 @@
595
682
  @media (max-width: 1024px) {
596
683
  display: none;
597
684
  }
685
+ }
686
+
687
+ .chatButton {
688
+ flex: 1;
689
+ display: flex;
690
+ justify-content: flex-end;
691
+ min-width: 0;
692
+
693
+ button {
694
+ width: 100%;
695
+ max-width: none;
696
+ }
697
+
698
+ .planButtonDesktop {
699
+ display: block;
700
+
701
+ @media (max-width: 768px) {
702
+ display: none;
703
+ }
704
+ }
705
+
706
+ .planButtonMobile {
707
+ background: var(--color-bg);
708
+ cursor: pointer;
709
+ border: none;
710
+ align-items: center;
711
+ justify-content: center;
712
+ border-radius: 48px;
713
+ flex-shrink: 0;
714
+ height: 48px;
715
+ width: 48px;
716
+ display: none;
717
+ padding: 0;
718
+
719
+ svg {
720
+ color: var(--color-taste);
721
+ width: 20px;
722
+ height: 20px;
723
+ }
724
+
725
+ @media (max-width: 768px) {
726
+ display: flex;
727
+ }
728
+ }
598
729
  }
@@ -0,0 +1,47 @@
1
+ // @ts-ignore
2
+ import React from "react"
3
+ import { Meta, StoryObj } from "@storybook/react-vite";
4
+ import ListingDetailBlock from "./ListingDetailBlock";
5
+ import ElementHolder from "../../Shared/ElementHolder/ElementHolder";
6
+
7
+ const meta: Meta = {
8
+ title: "Layout / ListingDetailBlock",
9
+ component: ListingDetailBlock,
10
+ parameters: {
11
+ layout: 'fullscreen',
12
+ },
13
+ tags: ["autodocs"]
14
+ }
15
+
16
+ export default meta;
17
+
18
+ type Story = StoryObj<typeof ListingDetailBlock>;
19
+
20
+ export const Default: Story = {
21
+ render: () => (
22
+ <ElementHolder paddingTop="sm" paddingBottom="sm" pillar="visit" level="light">
23
+ <ListingDetailBlock
24
+ title="For beginners and kids the dedicated learner slope has gentle runs, easy sunkid carpet and platter lifts."
25
+ description={`Those more advanced can enjoy the long cruising runs by taking the Easy Rider chairlift and three T-bars to the top. For the more adventurous there's challenging terrains and a freestyle park. A fleet of rental equipment is available for hire and a range of professional lessons available.\n\nThose more advanced can enjoy the long cruising runs by taking the Easy Rider chairlift and three T-bars to the top. For the more adventurous there’s challenging terrains and a freestyle park. A fleet of rental equipment is available for hire and a range of professional lessons available.\n\nPorters Lodge at the base of the mountain provides lodging as well as a fantastic restaurant and bar. Enjoy a dedicated snow play area adjacent to the lodge for tobogganing, the perfect setting for a family adventure.`}
26
+ facilities={[
27
+ "Hot food",
28
+ "Ski school",
29
+ "Chairlift (1)",
30
+ "T-bars (3)",
31
+ "Pomas (1)",
32
+ "Magic carpet (1)",
33
+ "Beds (36)",
34
+ "Shuttle bus",
35
+ "Gear rental",
36
+ ]}
37
+ distance="91 km, approximately 1.25 hours"
38
+ elevation="Top 1980m / Base 1302m"
39
+ address="State Highway 73\nSelwyn, New Zealand"
40
+ hours="9am–4pm, daily during winter"
41
+ phone="03 318 4731"
42
+ websiteUrl="https://porters.nz"
43
+ websiteText="WEBSITE"
44
+ />
45
+ </ElementHolder>
46
+ ),
47
+ };
@@ -0,0 +1,98 @@
1
+ import { ListingDetailBlockProps } from "./ListingDetailBlockProps";
2
+ import styles from "./ListingDetailBlock.module.scss";
3
+ import {CheckCircle, Clock, DeviceMobile, MapPin, Mountains, Path} from "../../Icons";
4
+ import {Button} from "../../Form";
5
+ import ArrowRight from "../../Icons/Arrows/ArrowRight/ArrowRight.tsx";
6
+
7
+ const ListingDetailBlock = ({
8
+ title,
9
+ description,
10
+ facilities,
11
+ distance,
12
+ elevation,
13
+ address,
14
+ hours,
15
+ phone,
16
+ websiteUrl,
17
+ }: ListingDetailBlockProps) => {
18
+ return (
19
+ <div className={styles.listingDetail}>
20
+ {/* Main Content - Left */}
21
+ <div className={styles.mainContent}>
22
+ <h2 className={styles.title}>{title}</h2>
23
+ <p className={styles.description}>{description}</p>
24
+
25
+ <h3 className={styles.sectionTitle}>Facilities</h3>
26
+ <ul className={styles.facilitiesList}>
27
+ {facilities.map((facility, index) => (
28
+ <li key={index} className={styles.facilityItem}>
29
+ <CheckCircle type={'fill'}/> {facility}
30
+ </li>
31
+ ))}
32
+ </ul>
33
+ </div>
34
+
35
+ {/* Sidebar - Right */}
36
+ <div className={styles.sidebar}>
37
+ {distance && (
38
+ <div className={styles.infoItem}>
39
+ <Path type={'fill'}/>
40
+ <div>
41
+ <div className={styles.infoLabel}>Distance from Christchurch Airport</div>
42
+ <div className={styles.infoValue}>{distance}</div>
43
+ </div>
44
+ </div>
45
+ )}
46
+
47
+ {elevation && (
48
+ <div className={styles.infoItem}>
49
+ <Mountains type={'fill'}/>
50
+ <div>
51
+ <div className={styles.infoLabel}>Elevations</div>
52
+ <div className={styles.infoValue}>{elevation}</div>
53
+ </div>
54
+ </div>
55
+ )}
56
+
57
+ {address && (
58
+ <div className={styles.infoItem}>
59
+ <MapPin type={'fill'}/>
60
+ <div>
61
+ <div className={styles.infoLabel}>Address</div>
62
+ <div className={styles.infoValue}>{address}</div>
63
+ </div>
64
+ </div>
65
+ )}
66
+
67
+ {hours && (
68
+ <div className={styles.infoItem}>
69
+ <Clock type={'fill'}/>
70
+ <div>
71
+ <div className={styles.infoLabel}>Hours</div>
72
+ <div className={styles.infoValue}>{hours}</div>
73
+ </div>
74
+ </div>
75
+ )}
76
+
77
+ {phone && (
78
+ <div className={styles.infoItem}>
79
+ <DeviceMobile type={'fill'}/>
80
+ <div>
81
+ <div className={styles.infoLabel}>Phone</div>
82
+ <div className={styles.infoValue}>{phone}</div>
83
+ </div>
84
+ </div>
85
+ )}
86
+
87
+ {websiteUrl && (
88
+
89
+ <div>
90
+ <Button label={'WEBSITE'} type={'button'} size={'default'} level={"primary"} style={'solid'} secondaryIcon={<ArrowRight/>} />
91
+ </div>
92
+ )}
93
+ </div>
94
+ </div>
95
+ );
96
+ };
97
+
98
+ export default ListingDetailBlock;
@@ -1,8 +1,15 @@
1
+ // ListingDetailBlockProps.ts
2
+ export interface ListingDetailBlockProps {
3
+ title: string;
4
+ description: string;
5
+ facilities: string[];
1
6
 
2
- export interface ListingDetailBlockProps{
3
- title: string,
4
- description: string
5
- facilities: string[],
6
- contact: string [],
7
- location: string
8
- }
7
+ // New structured contact/info fields to match the design
8
+ distance?: string;
9
+ elevation?: string;
10
+ address?: string;
11
+ hours?: string;
12
+ phone?: string;
13
+ websiteUrl?: string;
14
+ websiteText?: string; // e.g., "WEBSITE →"
15
+ }
@@ -0,0 +1,125 @@
1
+ .listingDetail {
2
+ display: flex;
3
+ gap: 48px;
4
+ padding: 32px;
5
+ border-radius: 8px;
6
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
7
+
8
+ &::before {
9
+ content: '';
10
+ position: absolute;
11
+ left: 50%;
12
+ top: 32px;
13
+ bottom: 32px;
14
+ width: 1px;
15
+ background: var(--color-bg);
16
+ transform: translateX(-50%);
17
+ z-index: 1;
18
+ pointer-events: none;
19
+ }
20
+
21
+ /* Optional: Hide divider on mobile when layout becomes stacked */
22
+ @media (max-width: 900px) {
23
+ &::before {
24
+ display: none;
25
+ }
26
+ }
27
+ }
28
+
29
+ .mainContent {
30
+ width: 50%;
31
+ padding-left: 152px;
32
+ padding-right: 72px;
33
+
34
+ .title {
35
+ font-size: 48px;
36
+ font-weight: 400;
37
+ line-height: 1;
38
+ letter-spacing: -1.92px;
39
+ margin: 0 0 72px 0;
40
+ }
41
+
42
+ .description {
43
+ font-size: 24px;
44
+ line-height: 1.3;
45
+ font-weight: 400;
46
+ margin-bottom: 72px;
47
+ }
48
+
49
+ .sectionTitle {
50
+ font-size: 24px;
51
+ font-weight: 600;
52
+ margin: 72px 0 32px 0;
53
+ }
54
+ }
55
+
56
+ .facilitiesList {
57
+ list-style: none;
58
+ padding: 0;
59
+ margin: 0;
60
+ display: grid;
61
+ grid-template-columns: repeat(2, 1fr);
62
+ gap: 12px 24px;
63
+ }
64
+
65
+ .facilityItem {
66
+ display: flex;
67
+ align-items: center;
68
+ font-size: 18px;
69
+ font-weight: 400;
70
+ line-height: 1.4;
71
+ gap: 12px;
72
+
73
+ svg {
74
+ height: 32px;
75
+ width: 32px;
76
+ color: var(--color-bg);
77
+ }
78
+ }
79
+
80
+
81
+ .sidebar {
82
+ display: flex;
83
+ flex-direction: column;
84
+ gap: 72px;
85
+ padding-left: 72px;
86
+ }
87
+
88
+ .infoItem {
89
+ display: flex;
90
+ gap: 16px;
91
+ align-items: flex-start;
92
+
93
+ svg {
94
+ color: var(--color-taste);
95
+ width: 48px;
96
+ height: 48px;
97
+ }
98
+ }
99
+
100
+
101
+ .infoLabel {
102
+ font-size: 24px;
103
+ letter-spacing: -0.48px;
104
+ line-height: 1.3;
105
+ font-weight: 700;
106
+ }
107
+
108
+ .infoValue {
109
+ font-size: 24px;
110
+ line-height: 1.3;
111
+ font-weight: 400;
112
+ margin-top: 16px;
113
+ }
114
+
115
+
116
+
117
+ // Responsive
118
+ @media (max-width: 900px) {
119
+ .listingDetail {
120
+ grid-template-columns: 1fr;
121
+ }
122
+ .sidebar {
123
+ order: -1;
124
+ }
125
+ }
@@ -0,0 +1,35 @@
1
+ import IconProps from "../../IconProps";
2
+
3
+ const CheckCircle = ({type}: IconProps) => {
4
+ if (type === 'thin') {
5
+ return <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" fill="none">
6
+ <path d="M21.3538 12.6462C21.4002 12.6927 21.4371 12.7478 21.4623 12.8085C21.4874 12.8692 21.5004 12.9343 21.5004 13C21.5004 13.0657 21.4874 13.1308 21.4623 13.1915C21.4371 13.2522 21.4002 13.3073 21.3538 13.3538L14.3538 20.3538C14.3073 20.4002 14.2522 20.4371 14.1915 20.4623C14.1308 20.4874 14.0657 20.5004 14 20.5004C13.9343 20.5004 13.8692 20.4874 13.8085 20.4623C13.7478 20.4371 13.6927 20.4002 13.6463 20.3538L10.6463 17.3538C10.5524 17.2599 10.4997 17.1327 10.4997 17C10.4997 16.8673 10.5524 16.7401 10.6463 16.6462C10.7401 16.5524 10.8673 16.4997 11 16.4997C11.1327 16.4997 11.2599 16.5524 11.3538 16.6462L14 19.2925L20.6463 12.6462C20.6927 12.5998 20.7478 12.5629 20.8085 12.5377C20.8692 12.5126 20.9343 12.4996 21 12.4996C21.0657 12.4996 21.1308 12.5126 21.1915 12.5377C21.2522 12.5629 21.3073 12.5998 21.3538 12.6462ZM28.5 16C28.5 18.4723 27.7669 20.889 26.3934 22.9446C25.0199 25.0002 23.0676 26.6024 20.7835 27.5485C18.4995 28.4946 15.9861 28.7421 13.5614 28.2598C11.1366 27.7775 8.90933 26.587 7.16117 24.8388C5.41301 23.0907 4.2225 20.8634 3.74019 18.4386C3.25787 16.0139 3.50542 13.5005 4.45151 11.2165C5.39761 8.93238 6.99976 6.98015 9.05538 5.60663C11.111 4.23311 13.5277 3.5 16 3.5C19.3141 3.50364 22.4914 4.82177 24.8348 7.16518C27.1782 9.5086 28.4964 12.6859 28.5 16ZM27.5 16C27.5 13.7255 26.8255 11.5021 25.5619 9.61094C24.2983 7.71978 22.5022 6.24579 20.4009 5.37539C18.2995 4.50498 15.9872 4.27724 13.7565 4.72097C11.5257 5.1647 9.47658 6.25997 7.86828 7.86827C6.25997 9.47658 5.1647 11.5257 4.72097 13.7565C4.27724 15.9872 4.50498 18.2995 5.37539 20.4009C6.2458 22.5022 7.71978 24.2983 9.61095 25.5619C11.5021 26.8255 13.7255 27.5 16 27.5C19.049 27.4967 21.9721 26.284 24.1281 24.1281C26.284 21.9721 27.4967 19.049 27.5 16Z" fill="currentColor"/>
7
+ </svg>
8
+ }
9
+ if (type === 'regular') {
10
+ return <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" fill="none">
11
+ <path d="M21.7075 12.2925C21.8005 12.3854 21.8742 12.4957 21.9246 12.6171C21.9749 12.7385 22.0008 12.8686 22.0008 13C22.0008 13.1314 21.9749 13.2615 21.9246 13.3829C21.8742 13.5043 21.8005 13.6146 21.7075 13.7075L14.7075 20.7075C14.6146 20.8005 14.5043 20.8742 14.3829 20.9246C14.2615 20.9749 14.1314 21.0008 14 21.0008C13.8686 21.0008 13.7385 20.9749 13.6171 20.9246C13.4957 20.8742 13.3854 20.8005 13.2925 20.7075L10.2925 17.7075C10.1049 17.5199 9.99945 17.2654 9.99945 17C9.99945 16.7346 10.1049 16.4801 10.2925 16.2925C10.4801 16.1049 10.7346 15.9994 11 15.9994C11.2654 15.9994 11.5199 16.1049 11.7075 16.2925L14 18.5863L20.2925 12.2925C20.3854 12.1995 20.4957 12.1258 20.6171 12.0754C20.7385 12.0251 20.8686 11.9992 21 11.9992C21.1314 11.9992 21.2615 12.0251 21.3829 12.0754C21.5043 12.1258 21.6146 12.1995 21.7075 12.2925ZM29 16C29 18.5712 28.2376 21.0846 26.8091 23.2224C25.3807 25.3603 23.3503 27.0265 20.9749 28.0104C18.5995 28.9944 15.9856 29.2518 13.4638 28.7502C10.9421 28.2486 8.6257 27.0105 6.80762 25.1924C4.98953 23.3743 3.75141 21.0579 3.2498 18.5362C2.74819 16.0144 3.00563 13.4006 3.98957 11.0251C4.97351 8.64968 6.63975 6.61935 8.77759 5.1909C10.9154 3.76244 13.4288 3 16 3C19.4467 3.00364 22.7512 4.37445 25.1884 6.81163C27.6256 9.24882 28.9964 12.5533 29 16ZM27 16C27 13.8244 26.3549 11.6977 25.1462 9.88873C23.9375 8.07979 22.2195 6.66989 20.2095 5.83733C18.1995 5.00476 15.9878 4.78692 13.854 5.21136C11.7202 5.6358 9.76021 6.68345 8.22183 8.22183C6.68345 9.7602 5.63581 11.7202 5.21137 13.854C4.78693 15.9878 5.00477 18.1995 5.83733 20.2095C6.66989 22.2195 8.07979 23.9375 9.88873 25.1462C11.6977 26.3549 13.8244 27 16 27C18.9164 26.9967 21.7123 25.8367 23.7745 23.7745C25.8367 21.7123 26.9967 18.9164 27 16Z" fill="currentColor"/>
12
+ </svg>
13
+ }
14
+ if (type === 'bold') {
15
+ return <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" fill="none">
16
+ <path d="M22.0613 11.9388C22.2011 12.0781 22.312 12.2437 22.3878 12.426C22.4635 12.6083 22.5024 12.8038 22.5024 13.0013C22.5024 13.1987 22.4635 13.3942 22.3878 13.5765C22.312 13.7588 22.2011 13.9244 22.0613 14.0638L15.0613 21.0637C14.9219 21.2036 14.7563 21.3145 14.574 21.3903C14.3917 21.466 14.1962 21.5049 13.9988 21.5049C13.8013 21.5049 13.6059 21.466 13.4235 21.3903C13.2412 21.3145 13.0756 21.2036 12.9363 21.0637L9.93626 18.0637C9.79673 17.9242 9.68605 17.7586 9.61053 17.5763C9.53502 17.394 9.49615 17.1986 9.49615 17.0012C9.49615 16.8039 9.53502 16.6085 9.61053 16.4262C9.68605 16.2439 9.79673 16.0783 9.93626 15.9388C10.0758 15.7992 10.2414 15.6885 10.4237 15.613C10.606 15.5375 10.8014 15.4986 10.9988 15.4986C11.1961 15.4986 11.3915 15.5375 11.5738 15.613C11.7561 15.6885 11.9217 15.7992 12.0613 15.9388L14 17.875L19.9388 11.935C20.0783 11.7958 20.2439 11.6854 20.4262 11.6103C20.6084 11.5351 20.8037 11.4966 21.0008 11.4969C21.1979 11.4973 21.393 11.5365 21.575 11.6123C21.757 11.6881 21.9222 11.799 22.0613 11.9388ZM29.5 16C29.5 18.67 28.7082 21.2801 27.2248 23.5002C25.7414 25.7203 23.633 27.4506 21.1662 28.4724C18.6994 29.4942 15.985 29.7615 13.3663 29.2406C10.7475 28.7197 8.34207 27.434 6.45406 25.5459C4.56606 23.6579 3.28031 21.2525 2.7594 18.6337C2.2385 16.015 2.50585 13.3006 3.52763 10.8338C4.54942 8.36697 6.27974 6.25856 8.49981 4.77516C10.7199 3.29176 13.33 2.5 16 2.5C19.5792 2.50397 23.0107 3.92756 25.5416 6.45844C28.0724 8.98932 29.496 12.4208 29.5 16ZM26.5 16C26.5 13.9233 25.8842 11.8932 24.7304 10.1665C23.5767 8.4398 21.9368 7.09399 20.0182 6.29926C18.0996 5.50454 15.9884 5.29661 13.9516 5.70175C11.9148 6.1069 10.0438 7.10693 8.57538 8.57538C7.10693 10.0438 6.10691 11.9148 5.70176 13.9516C5.29662 15.9884 5.50455 18.0996 6.29927 20.0182C7.09399 21.9368 8.4398 23.5767 10.1665 24.7304C11.8932 25.8842 13.9233 26.5 16 26.5C18.7839 26.497 21.4529 25.3898 23.4213 23.4213C25.3898 21.4528 26.497 18.7839 26.5 16Z" fill="currentColor"/>
17
+ </svg>
18
+ }
19
+ if (type === 'fill') {
20
+ return <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" fill="none">
21
+ <path d="M16 3C13.4288 3 10.9154 3.76244 8.77759 5.1909C6.63975 6.61935 4.97351 8.64968 3.98957 11.0251C3.00563 13.4006 2.74819 16.0144 3.2498 18.5362C3.75141 21.0579 4.98953 23.3743 6.80762 25.1924C8.6257 27.0105 10.9421 28.2486 13.4638 28.7502C15.9856 29.2518 18.5995 28.9944 20.9749 28.0104C23.3503 27.0265 25.3807 25.3603 26.8091 23.2224C28.2376 21.0846 29 18.5712 29 16C28.9964 12.5533 27.6256 9.24882 25.1884 6.81163C22.7512 4.37445 19.4467 3.00364 16 3ZM21.7075 13.7075L14.7075 20.7075C14.6146 20.8005 14.5043 20.8742 14.3829 20.9246C14.2615 20.9749 14.1314 21.0008 14 21.0008C13.8686 21.0008 13.7385 20.9749 13.6171 20.9246C13.4957 20.8742 13.3854 20.8005 13.2925 20.7075L10.2925 17.7075C10.1049 17.5199 9.99945 17.2654 9.99945 17C9.99945 16.7346 10.1049 16.4801 10.2925 16.2925C10.4801 16.1049 10.7346 15.9994 11 15.9994C11.2654 15.9994 11.5199 16.1049 11.7075 16.2925L14 18.5863L20.2925 12.2925C20.3854 12.1996 20.4957 12.1259 20.6171 12.0756C20.7385 12.0253 20.8686 11.9994 21 11.9994C21.1314 11.9994 21.2615 12.0253 21.3829 12.0756C21.5043 12.1259 21.6146 12.1996 21.7075 12.2925C21.8004 12.3854 21.8741 12.4957 21.9244 12.6171C21.9747 12.7385 22.0006 12.8686 22.0006 13C22.0006 13.1314 21.9747 13.2615 21.9244 13.3829C21.8741 13.5043 21.8004 13.6146 21.7075 13.7075Z" fill="currentColor"/>
22
+ </svg>
23
+ }
24
+ if (type === 'duotone') {
25
+ return <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" fill="none">
26
+ <path opacity="0.2" d="M28 16C28 18.3734 27.2962 20.6935 25.9776 22.6668C24.6591 24.6402 22.7849 26.1783 20.5922 27.0866C18.3995 27.9948 15.9867 28.2324 13.6589 27.7694C11.3312 27.3064 9.19295 26.1635 7.51472 24.4853C5.83649 22.8071 4.6936 20.6689 4.23058 18.3411C3.76756 16.0133 4.0052 13.6005 4.91345 11.4078C5.8217 9.21509 7.35977 7.34094 9.33316 6.02236C11.3066 4.70379 13.6266 4 16 4C19.1826 4 22.2348 5.26428 24.4853 7.51472C26.7357 9.76516 28 12.8174 28 16Z" fill="currentColor"/>
27
+ <path d="M21.7075 12.2925C21.8005 12.3854 21.8742 12.4957 21.9246 12.6171C21.9749 12.7385 22.0008 12.8686 22.0008 13C22.0008 13.1314 21.9749 13.2615 21.9246 13.3829C21.8742 13.5043 21.8005 13.6146 21.7075 13.7075L14.7075 20.7075C14.6146 20.8005 14.5043 20.8742 14.3829 20.9246C14.2615 20.9749 14.1314 21.0008 14 21.0008C13.8686 21.0008 13.7385 20.9749 13.6171 20.9246C13.4957 20.8742 13.3854 20.8005 13.2925 20.7075L10.2925 17.7075C10.1049 17.5199 9.99945 17.2654 9.99945 17C9.99945 16.7346 10.1049 16.4801 10.2925 16.2925C10.4801 16.1049 10.7346 15.9994 11 15.9994C11.2654 15.9994 11.5199 16.1049 11.7075 16.2925L14 18.5863L20.2925 12.2925C20.3854 12.1995 20.4957 12.1258 20.6171 12.0754C20.7385 12.0251 20.8686 11.9992 21 11.9992C21.1314 11.9992 21.2615 12.0251 21.3829 12.0754C21.5043 12.1258 21.6146 12.1995 21.7075 12.2925ZM29 16C29 18.5712 28.2376 21.0846 26.8091 23.2224C25.3807 25.3603 23.3503 27.0265 20.9749 28.0104C18.5995 28.9944 15.9856 29.2518 13.4638 28.7502C10.9421 28.2486 8.6257 27.0105 6.80762 25.1924C4.98953 23.3743 3.75141 21.0579 3.2498 18.5362C2.74819 16.0144 3.00563 13.4006 3.98957 11.0251C4.97351 8.64968 6.63975 6.61935 8.77759 5.1909C10.9154 3.76244 13.4288 3 16 3C19.4467 3.00364 22.7512 4.37445 25.1884 6.81163C27.6256 9.24882 28.9964 12.5533 29 16ZM27 16C27 13.8244 26.3549 11.6977 25.1462 9.88873C23.9375 8.07979 22.2195 6.66989 20.2095 5.83733C18.1995 5.00476 15.9878 4.78692 13.854 5.21136C11.7202 5.6358 9.76021 6.68345 8.22183 8.22183C6.68345 9.7602 5.63581 11.7202 5.21137 13.854C4.78693 15.9878 5.00477 18.1995 5.83733 20.2095C6.66989 22.2195 8.07979 23.9375 9.88873 25.1462C11.6977 26.3549 13.8244 27 16 27C18.9164 26.9967 21.7123 25.8367 23.7745 23.7745C25.8367 21.7123 26.9967 18.9164 27 16Z" fill="currentColor"/>
28
+ </svg>
29
+ }
30
+ return <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" fill="none">
31
+ <path d="M21.53 12.47C21.6705 12.6106 21.7493 12.8012 21.7493 13C21.7493 13.1988 21.6705 13.3894 21.53 13.53L14.53 20.53C14.3894 20.6705 14.1988 20.7493 14 20.7493C13.8013 20.7493 13.6106 20.6705 13.47 20.53L10.47 17.53C10.3375 17.3878 10.2654 17.1998 10.2688 17.0055C10.2723 16.8112 10.351 16.6258 10.4884 16.4884C10.6258 16.351 10.8112 16.2723 11.0055 16.2688C11.1998 16.2654 11.3878 16.3375 11.53 16.47L14 18.9387L20.47 12.47C20.6106 12.3295 20.8013 12.2507 21 12.2507C21.1988 12.2507 21.3894 12.3295 21.53 12.47ZM28.75 16C28.75 18.5217 28.0022 20.9868 26.6012 23.0835C25.2003 25.1802 23.209 26.8144 20.8792 27.7795C18.5495 28.7445 15.9859 28.997 13.5126 28.505C11.0393 28.0131 8.76751 26.7987 6.98439 25.0156C5.20127 23.2325 3.98696 20.9607 3.49499 18.4874C3.00303 16.0141 3.25552 13.4505 4.22054 11.1208C5.18556 8.79103 6.81976 6.79975 8.91648 5.39876C11.0132 3.99777 13.4783 3.25 16 3.25C19.3803 3.25397 22.621 4.59854 25.0112 6.98877C27.4015 9.379 28.746 12.6197 28.75 16ZM27.25 16C27.25 13.775 26.5902 11.5999 25.354 9.74984C24.1179 7.89978 22.3609 6.45784 20.3052 5.60636C18.2495 4.75487 15.9875 4.53208 13.8052 4.96617C11.623 5.40025 9.6184 6.47171 8.04505 8.04505C6.47171 9.61839 5.40025 11.6229 4.96617 13.8052C4.53209 15.9875 4.75488 18.2495 5.60636 20.3052C6.45785 22.3609 7.89979 24.1179 9.74984 25.354C11.5999 26.5902 13.775 27.25 16 27.25C18.9827 27.2467 21.8422 26.0604 23.9513 23.9513C26.0604 21.8422 27.2467 18.9827 27.25 16Z" fill="currentColor"/>
32
+ </svg>
33
+ };
34
+
35
+ export default CheckCircle;
@@ -141,6 +141,7 @@ export { default as ToggleLeft } from './SystemAndDevice/ToggleLeft/ToggleLeft.t
141
141
  export { default as CloudCheck } from './SystemAndDevice/CloudCheck/CloudCheck.tsx';
142
142
  export { default as DeviceMobile } from './SystemAndDevice/DeviceMobile/DeviceMobile.tsx';
143
143
  export { default as Desktop } from './SystemAndDevice/Desktop/Desktop.tsx';
144
+ export { default as CheckCircle} from './SystemAndDevice/CheckCircle/CheckCircle.tsx';
144
145
 
145
146
 
146
147