property-practice-ui 0.1.2 → 0.1.3

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/atoms.js CHANGED
@@ -1,9 +1,6 @@
1
- import { HiArrowUpRight } from 'react-icons/hi2';
2
- import styled6, { keyframes } from 'styled-components';
3
- import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
4
- import { FaCheckCircle } from 'react-icons/fa';
5
-
6
1
  // src/atoms/ArrowButton/ArrowButton.tsx
2
+ import { HiArrowUpRight } from "react-icons/hi2";
3
+ import styled from "styled-components";
7
4
 
8
5
  // src/tokens/colors.ts
9
6
  var colors = {
@@ -19,8 +16,14 @@ var colors = {
19
16
  light: "#cacbcc"
20
17
  },
21
18
  border: {
19
+ primary: "#669999",
20
+ secondary: "rgba(30, 67, 132, 0.2)",
22
21
  hover: "#cacbcc",
23
- active: "#828282"},
22
+ active: "#828282",
23
+ error: "#F87171",
24
+ focus: "#3B82F6",
25
+ brand: "#1D3C77"
26
+ },
24
27
  text: {
25
28
  brand: "#1D3C77",
26
29
  primary: "#262626",
@@ -38,8 +41,11 @@ var colors = {
38
41
  secondary: "rgba(30, 67, 132, 1)"
39
42
  }
40
43
  };
44
+
45
+ // src/atoms/ArrowButton/ArrowButton.tsx
46
+ import { jsx } from "react/jsx-runtime";
41
47
  var variants = ["brand", "teal", "blue"];
42
- var StyledContainer = styled6.button`
48
+ var StyledContainer = styled.button`
43
49
  padding: 0.75rem;
44
50
  ${(props) => props.as === "button" ? `
45
51
  width: 2.5rem;
@@ -69,7 +75,7 @@ var StyledContainer = styled6.button`
69
75
  transform: rotate(45deg);
70
76
  }
71
77
  `;
72
- var StyledIcon = styled6(HiArrowUpRight)`
78
+ var StyledIcon = styled(HiArrowUpRight)`
73
79
  width: 1rem;
74
80
  height: 1rem;
75
81
  color: ${colors.text.secondary};
@@ -92,10 +98,16 @@ var ArrowButton = ({
92
98
  };
93
99
  ArrowButton.variants = variants;
94
100
 
101
+ // src/atoms/Button/Button.tsx
102
+ import styled3 from "styled-components";
103
+
95
104
  // src/tokens/radii.ts
96
105
  var radii = {
106
+ sm: "4px",
97
107
  md: "8px",
98
- lg: "10px"};
108
+ lg: "10px",
109
+ xl: "16px"
110
+ };
99
111
 
100
112
  // src/tokens/spaces.ts
101
113
  var spaces = {
@@ -119,10 +131,14 @@ var spaces = {
119
131
  9: "56px",
120
132
  20: "150px"
121
133
  };
134
+
135
+ // src/atoms/Loader/Loader.tsx
136
+ import styled2, { keyframes } from "styled-components";
137
+ import { jsx as jsx2 } from "react/jsx-runtime";
122
138
  var spin = keyframes`
123
139
  to { transform: rotate(360deg); }
124
140
  `;
125
- var Ring = styled6.span`
141
+ var Ring = styled2.span`
126
142
  display: inline-block;
127
143
  width: ${({ size }) => typeof size === "number" ? `${size}px` : size};
128
144
  height: ${({ size }) => typeof size === "number" ? `${size}px` : size};
@@ -145,7 +161,7 @@ var Loader = ({
145
161
  thickness = 3,
146
162
  speed = "0.8s"
147
163
  }) => {
148
- return /* @__PURE__ */ jsx(
164
+ return /* @__PURE__ */ jsx2(
149
165
  Ring,
150
166
  {
151
167
  role: "status",
@@ -156,8 +172,11 @@ var Loader = ({
156
172
  }
157
173
  );
158
174
  };
175
+
176
+ // src/atoms/Button/Button.tsx
177
+ import { Fragment, jsx as jsx3, jsxs } from "react/jsx-runtime";
159
178
  var ButtonTypes = ["submit", "reset", "button"];
160
- var StyledButton = styled6.button`
179
+ var StyledButton = styled3.button`
161
180
  padding: ${spaces[2]} ${spaces[4]};
162
181
  background-color: ${(props) => props.variant === "light" ? colors.button.primary : colors.button.secondary};
163
182
  border-radius: ${radii.lg};
@@ -184,7 +203,7 @@ var StyledButton = styled6.button`
184
203
  color: ${colors.text.primary};
185
204
  }
186
205
  `;
187
- var ButtonText = styled6.span`
206
+ var ButtonText = styled3.span`
188
207
  font-size: 12px;
189
208
  font-weight: 700;
190
209
  `;
@@ -197,7 +216,7 @@ var Button = ({
197
216
  variant = "light",
198
217
  isLoading
199
218
  }) => {
200
- return /* @__PURE__ */ jsx(
219
+ return /* @__PURE__ */ jsx3(
201
220
  StyledButton,
202
221
  {
203
222
  type,
@@ -206,14 +225,18 @@ var Button = ({
206
225
  variant,
207
226
  children: !isLoading ? /* @__PURE__ */ jsxs(Fragment, { children: [
208
227
  typeof icon !== "undefined" && icon,
209
- /* @__PURE__ */ jsx(ButtonText, { children: text })
210
- ] }) : /* @__PURE__ */ jsx(Loader, { size: "20px" })
228
+ /* @__PURE__ */ jsx3(ButtonText, { children: text })
229
+ ] }) : /* @__PURE__ */ jsx3(Loader, { size: "20px" })
211
230
  }
212
231
  );
213
232
  };
214
233
  Button.types = ButtonTypes;
234
+
235
+ // src/atoms/Description/Description.tsx
236
+ import styled4 from "styled-components";
237
+ import { jsx as jsx4 } from "react/jsx-runtime";
215
238
  var variants2 = ["primary", "secondary", "subtle", "error"];
216
- var StyledDescription = styled6.p`
239
+ var StyledDescription = styled4.p`
217
240
  margin: 0;
218
241
  font-size: 1rem;
219
242
  line-height: 1.6;
@@ -236,10 +259,14 @@ var Description = ({
236
259
  children,
237
260
  variant = "primary"
238
261
  }) => {
239
- return /* @__PURE__ */ jsx(StyledDescription, { variant, children });
262
+ return /* @__PURE__ */ jsx4(StyledDescription, { variant, children });
240
263
  };
241
264
  Description.variants = variants2;
242
- var StyledButton2 = styled6.button`
265
+
266
+ // src/atoms/ExtendedButton/ExtendedButton.tsx
267
+ import styled5 from "styled-components";
268
+ import { jsx as jsx5, jsxs as jsxs2 } from "react/jsx-runtime";
269
+ var StyledButton2 = styled5.button`
243
270
  display: flex;
244
271
  align-items: center;
245
272
  height: 2.5rem;
@@ -260,11 +287,15 @@ var ExtendedButton = ({
260
287
  textBgVariant = "brand",
261
288
  textVariant = "secondary"
262
289
  }) => {
263
- return /* @__PURE__ */ jsxs(StyledButton2, { onClick, children: [
264
- /* @__PURE__ */ jsx(ArrowButton, { asChild: true, variant: arrowVariant }),
265
- /* @__PURE__ */ jsx(TextButton, { asChild: true, text, bgVariant: textBgVariant, textVariant, uppercase: false })
290
+ return /* @__PURE__ */ jsxs2(StyledButton2, { onClick, children: [
291
+ /* @__PURE__ */ jsx5(ArrowButton, { asChild: true, variant: arrowVariant }),
292
+ /* @__PURE__ */ jsx5(TextButton, { asChild: true, text, bgVariant: textBgVariant, textVariant, uppercase: false })
266
293
  ] });
267
294
  };
295
+
296
+ // src/atoms/FeatureItem/FeatureItem.tsx
297
+ import styled6 from "styled-components";
298
+ import { jsx as jsx6, jsxs as jsxs3 } from "react/jsx-runtime";
268
299
  var Container = styled6.div`
269
300
  display: flex;
270
301
  gap: 1rem;
@@ -320,24 +351,35 @@ var FeatureItem = ({
320
351
  return "subtle";
321
352
  }
322
353
  };
323
- return /* @__PURE__ */ jsxs(Container, { children: [
324
- /* @__PURE__ */ jsx(ThumbnailWrapper, { $size: thumbnailSize, thumbnailBgColor, children: thumbnail }),
325
- /* @__PURE__ */ jsxs(Content, { children: [
326
- /* @__PURE__ */ jsx(Title, { titleColor, children: title }),
327
- /* @__PURE__ */ jsx(Description2, { descriptionColor: getDescriptionColor(), children: description })
354
+ return /* @__PURE__ */ jsxs3(Container, { children: [
355
+ /* @__PURE__ */ jsx6(ThumbnailWrapper, { $size: thumbnailSize, thumbnailBgColor, children: thumbnail }),
356
+ /* @__PURE__ */ jsxs3(Content, { children: [
357
+ /* @__PURE__ */ jsx6(Title, { titleColor, children: title }),
358
+ /* @__PURE__ */ jsx6(Description2, { descriptionColor: getDescriptionColor(), children: description })
328
359
  ] })
329
360
  ] });
330
361
  };
331
362
 
363
+ // src/atoms/FormContainer/FormContainer.tsx
364
+ import styled7 from "styled-components";
365
+
332
366
  // src/tokens/breakpoints.ts
333
367
  var breakpoints = {
334
- lg: "1024px"};
335
- var Container2 = styled6.div`
368
+ sm: "640px",
369
+ md: "768px",
370
+ lg: "1024px",
371
+ xl: "1280px",
372
+ "2xl": "1536px"
373
+ };
374
+
375
+ // src/atoms/FormContainer/FormContainer.tsx
376
+ import { jsx as jsx7 } from "react/jsx-runtime";
377
+ var Container2 = styled7.div`
336
378
  width: 100%;
337
379
  display: flex;
338
380
  justify-content: center;
339
381
  `;
340
- var InnerContainer = styled6.div`
382
+ var InnerContainer = styled7.div`
341
383
  display: flex;
342
384
  flex-direction: column;
343
385
  padding: ${spaces[4]};
@@ -346,8 +388,12 @@ var InnerContainer = styled6.div`
346
388
  gap: ${(props) => spaces[props.space]};
347
389
  `;
348
390
  var FormContainer = ({ children, space = 4 }) => {
349
- return /* @__PURE__ */ jsx(Container2, { children: /* @__PURE__ */ jsx(InnerContainer, { space, children }) });
391
+ return /* @__PURE__ */ jsx7(Container2, { children: /* @__PURE__ */ jsx7(InnerContainer, { space, children }) });
350
392
  };
393
+
394
+ // src/atoms/Header/Header.tsx
395
+ import styled8 from "styled-components";
396
+ import { jsx as jsx8 } from "react/jsx-runtime";
351
397
  var variants3 = {
352
398
  h1: {
353
399
  fontSize: "24px",
@@ -368,7 +414,7 @@ var variants3 = {
368
414
  letterSpacing: "0.2px"
369
415
  }
370
416
  };
371
- var StyledText = styled6.h1`
417
+ var StyledText = styled8.h1`
372
418
  color: ${(props) => colors.text[props?.color]};
373
419
  font-size: ${(props) => variants3[props.variant].fontSize};
374
420
  font-weight: ${(props) => variants3[props.variant].fontWeight};
@@ -380,12 +426,18 @@ var Header = ({
380
426
  variant = "h1",
381
427
  color = "primary"
382
428
  }) => {
383
- return /* @__PURE__ */ jsx(StyledText, { variant, color, children });
429
+ return /* @__PURE__ */ jsx8(StyledText, { variant, color, children });
384
430
  };
385
431
 
432
+ // src/atoms/Input/Input.tsx
433
+ import styled9 from "styled-components";
434
+
386
435
  // src/types.ts
387
436
  var InputTypes = ["number", "text", "email", "date"];
388
- var StyledInput = styled6.input`
437
+
438
+ // src/atoms/Input/Input.tsx
439
+ import { jsx as jsx9 } from "react/jsx-runtime";
440
+ var StyledInput = styled9.input`
389
441
  display: block;
390
442
  height: 100%;
391
443
  width: 100%;
@@ -395,19 +447,31 @@ var StyledInput = styled6.input`
395
447
  font-weight: 600;
396
448
  `;
397
449
  var Input = ({ name, onChange, ...rest }) => {
398
- return /* @__PURE__ */ jsx(StyledInput, { name, onChange, ...rest });
450
+ return /* @__PURE__ */ jsx9(StyledInput, { name, onChange, ...rest });
399
451
  };
400
452
  Input.types = InputTypes;
401
453
 
454
+ // src/atoms/Label/Label.tsx
455
+ import styled10 from "styled-components";
456
+
402
457
  // src/tokens/sizes.ts
403
458
  var sizes = {
404
- sm: "12px"};
405
- var StyledLabel = styled6.span`
459
+ sm: "12px",
460
+ md: "14px",
461
+ lg: "18px",
462
+ xl: "24px",
463
+ 0: "1px",
464
+ 0.5: "1.5px"
465
+ };
466
+
467
+ // src/atoms/Label/Label.tsx
468
+ import { jsx as jsx10 } from "react/jsx-runtime";
469
+ var StyledLabel = styled10.span`
406
470
  color: ${(props) => colors.text[props?.color]};
407
471
  font-size: ${sizes.sm};
408
472
  font-weight: ${(props) => props.fontWeight};
409
473
  `;
410
- styled6(StyledLabel)`
474
+ var StyledFloatingLabel = styled10(StyledLabel)`
411
475
  position: absolute;
412
476
  left: 0;
413
477
  bottom: 100%;
@@ -422,10 +486,14 @@ var Label = ({
422
486
  color = "subtle",
423
487
  fontWeight = "500"
424
488
  }) => {
425
- return /* @__PURE__ */ jsx(StyledLabel, { color, fontWeight, children: value });
489
+ return /* @__PURE__ */ jsx10(StyledLabel, { color, fontWeight, children: value });
426
490
  };
491
+
492
+ // src/atoms/Pill/Pill.tsx
493
+ import styled11 from "styled-components";
494
+ import { jsx as jsx11 } from "react/jsx-runtime";
427
495
  var variants4 = ["primary", "secondary", "subtle", "error"];
428
- var StyledPill = styled6.span`
496
+ var StyledPill = styled11.span`
429
497
  display: inline-block;
430
498
  padding: 0.5rem 1rem;
431
499
  border-radius: 9999px;
@@ -484,10 +552,15 @@ var Pill = ({
484
552
  variant = "primary",
485
553
  inverse = false
486
554
  }) => {
487
- return /* @__PURE__ */ jsx(StyledPill, { variant, $inverse: inverse, children });
555
+ return /* @__PURE__ */ jsx11(StyledPill, { variant, $inverse: inverse, children });
488
556
  };
489
557
  Pill.variants = variants4;
490
- var Container3 = styled6.div`
558
+
559
+ // src/atoms/RadioItem/RadioItem.tsx
560
+ import { FaCheckCircle } from "react-icons/fa";
561
+ import styled12 from "styled-components";
562
+ import { jsx as jsx12, jsxs as jsxs4 } from "react/jsx-runtime";
563
+ var Container3 = styled12.div`
491
564
  border-radius: ${radii.md};
492
565
  padding: ${spaces["3"]};
493
566
  display: flex;
@@ -513,21 +586,25 @@ var Container3 = styled6.div`
513
586
  background-color: rgba(255, 255, 255, 0.92);
514
587
  }
515
588
  `;
516
- var Label2 = styled6.span`
589
+ var Label2 = styled12.span`
517
590
  font-size: 16px;
518
591
  font-weight: ${(props) => props.isSelected ? "800" : "400"};
519
592
  text-align: center;
520
593
  `;
521
594
  var RadioItem = ({ label, isSelected, onClick }) => {
522
- return /* @__PURE__ */ jsxs(Container3, { onClick, children: [
523
- isSelected && /* @__PURE__ */ jsx(FaCheckCircle, { color: colors.background.blue }),
524
- /* @__PURE__ */ jsx(Label2, { isSelected, children: label })
595
+ return /* @__PURE__ */ jsxs4(Container3, { onClick, children: [
596
+ isSelected && /* @__PURE__ */ jsx12(FaCheckCircle, { color: colors.background.blue }),
597
+ /* @__PURE__ */ jsx12(Label2, { isSelected, children: label })
525
598
  ] });
526
599
  };
527
- var Container4 = styled6.div`
600
+
601
+ // src/atoms/SecondaryInput/SecondaryInput.tsx
602
+ import styled13 from "styled-components";
603
+ import { jsx as jsx13, jsxs as jsxs5 } from "react/jsx-runtime";
604
+ var Container4 = styled13.div`
528
605
  width: 100%;
529
606
  `;
530
- var Label3 = styled6.label`
607
+ var Label3 = styled13.label`
531
608
  display: block;
532
609
  font-size: 13px;
533
610
  font-weight: 600;
@@ -535,12 +612,12 @@ var Label3 = styled6.label`
535
612
  opacity: 0.8;
536
613
  margin-bottom: 0.5rem;
537
614
  `;
538
- var StyledInput2 = styled6.input`
615
+ var StyledInput2 = styled13.input`
539
616
  height: 2.75rem;
540
617
  width: 100%;
541
618
  border-radius: 6px;
542
619
  border: 1px solid ${(props) => props.$borderColor || "#d1d5db"};
543
- background-color: ${(props) => props.$bgColor ? colors.background[props.$bgColor] : colors.background?.light};
620
+ background-color: ${(props) => props.$bgColor ? colors.background[props.$bgColor] : colors.background?.light || "#f9fafb"};
544
621
  padding: 0 0.75rem;
545
622
  font-size: 15px;
546
623
  color: ${(props) => props.$textColor ? colors.text[props.$textColor] : colors.text.primary};
@@ -557,11 +634,11 @@ var StyledInput2 = styled6.input`
557
634
  }};
558
635
  }
559
636
  `;
560
- var StyledTextArea = styled6.textarea`
637
+ var StyledTextArea = styled13.textarea`
561
638
  width: 100%;
562
639
  border-radius: 6px;
563
640
  border: 1px solid ${(props) => props.$borderColor || "#d1d5db"};
564
- background-color: ${(props) => props.$bgColor ? colors.background[props.$bgColor] : colors.background?.light};
641
+ background-color: ${(props) => props.$bgColor ? colors.background[props.$bgColor] : colors.background?.light || "#f9fafb"};
565
642
  padding: 0.75rem;
566
643
  font-size: 15px;
567
644
  color: ${(props) => props.$textColor ? colors.text[props.$textColor] : colors.text.primary};
@@ -589,9 +666,9 @@ var SecondaryInput = ({
589
666
  focusRingColor = "brand",
590
667
  ...rest
591
668
  }) => {
592
- return /* @__PURE__ */ jsxs(Container4, { children: [
593
- typeof label === "string" && /* @__PURE__ */ jsx(Label3, { $color: labelColor, children: label }),
594
- isTextArea ? /* @__PURE__ */ jsx(
669
+ return /* @__PURE__ */ jsxs5(Container4, { children: [
670
+ typeof label === "string" && /* @__PURE__ */ jsx13(Label3, { $color: labelColor, children: label }),
671
+ isTextArea ? /* @__PURE__ */ jsx13(
595
672
  StyledTextArea,
596
673
  {
597
674
  ...rest,
@@ -602,7 +679,7 @@ var SecondaryInput = ({
602
679
  $borderColor: borderColor,
603
680
  $focusRingColor: focusRingColor
604
681
  }
605
- ) : /* @__PURE__ */ jsx(
682
+ ) : /* @__PURE__ */ jsx13(
606
683
  StyledInput2,
607
684
  {
608
685
  ...rest,
@@ -615,8 +692,12 @@ var SecondaryInput = ({
615
692
  )
616
693
  ] });
617
694
  };
695
+
696
+ // src/atoms/SocialButton/SocialButton.tsx
697
+ import styled14 from "styled-components";
698
+ import { jsx as jsx14 } from "react/jsx-runtime";
618
699
  var variants5 = ["primary", "secondary", "inverse", "filled"];
619
- var StyledButton3 = styled6.button`
700
+ var StyledButton3 = styled14.button`
620
701
  width: 2.5rem;
621
702
  height: 2.5rem;
622
703
  display: flex;
@@ -680,7 +761,7 @@ var SocialButton = ({
680
761
  variant = "primary",
681
762
  ariaLabel
682
763
  }) => {
683
- return /* @__PURE__ */ jsx(
764
+ return /* @__PURE__ */ jsx14(
684
765
  StyledButton3,
685
766
  {
686
767
  onClick,
@@ -691,8 +772,12 @@ var SocialButton = ({
691
772
  );
692
773
  };
693
774
  SocialButton.variants = variants5;
775
+
776
+ // src/atoms/TermsCheckbox/TermsCheckbox.tsx
777
+ import styled15 from "styled-components";
778
+ import { jsx as jsx15, jsxs as jsxs6 } from "react/jsx-runtime";
694
779
  var variants6 = ["primary", "secondary", "subtle"];
695
- var CheckboxContainer = styled6.label`
780
+ var CheckboxContainer = styled15.label`
696
781
  display: flex;
697
782
  align-items: flex-start;
698
783
  gap: 0.75rem;
@@ -700,12 +785,12 @@ var CheckboxContainer = styled6.label`
700
785
  font-size: 0.875rem;
701
786
  line-height: 1.5;
702
787
  `;
703
- var HiddenCheckbox = styled6.input.attrs({ type: "checkbox" })`
788
+ var HiddenCheckbox = styled15.input.attrs({ type: "checkbox" })`
704
789
  position: absolute;
705
790
  opacity: 0;
706
791
  cursor: pointer;
707
792
  `;
708
- var StyledCheckbox = styled6.div`
793
+ var StyledCheckbox = styled15.div`
709
794
  width: 1.25rem;
710
795
  height: 1.25rem;
711
796
  border: 2px solid ${(props) => {
@@ -753,7 +838,7 @@ var StyledCheckbox = styled6.div`
753
838
  display: ${(props) => props.$checked ? "block" : "none"};
754
839
  }
755
840
  `;
756
- var Text = styled6.span`
841
+ var Text = styled15.span`
757
842
  color: ${(props) => {
758
843
  switch (props.variant) {
759
844
  case "primary":
@@ -767,7 +852,7 @@ var Text = styled6.span`
767
852
  }
768
853
  }};
769
854
  `;
770
- var Link = styled6.a`
855
+ var Link = styled15.a`
771
856
  color: ${(props) => {
772
857
  switch (props.variant) {
773
858
  case "primary":
@@ -798,27 +883,31 @@ var TermsCheckbox = ({
798
883
  cookieUrl = "/cookie-policy",
799
884
  variant = "primary"
800
885
  }) => {
801
- return /* @__PURE__ */ jsxs(CheckboxContainer, { children: [
802
- /* @__PURE__ */ jsx(
886
+ return /* @__PURE__ */ jsxs6(CheckboxContainer, { children: [
887
+ /* @__PURE__ */ jsx15(
803
888
  HiddenCheckbox,
804
889
  {
805
890
  checked,
806
891
  onChange: (e) => onChange(e.target.checked)
807
892
  }
808
893
  ),
809
- /* @__PURE__ */ jsx(StyledCheckbox, { $checked: checked, variant }),
810
- /* @__PURE__ */ jsxs(Text, { variant, children: [
894
+ /* @__PURE__ */ jsx15(StyledCheckbox, { $checked: checked, variant }),
895
+ /* @__PURE__ */ jsxs6(Text, { variant, children: [
811
896
  text,
812
897
  " ",
813
- /* @__PURE__ */ jsx(Link, { href: termsUrl, variant, target: "_blank", rel: "noopener noreferrer", children: termsText }),
898
+ /* @__PURE__ */ jsx15(Link, { href: termsUrl, variant, target: "_blank", rel: "noopener noreferrer", children: termsText }),
814
899
  " ",
815
900
  "and",
816
901
  " ",
817
- /* @__PURE__ */ jsx(Link, { href: cookieUrl, variant, target: "_blank", rel: "noopener noreferrer", children: cookieText })
902
+ /* @__PURE__ */ jsx15(Link, { href: cookieUrl, variant, target: "_blank", rel: "noopener noreferrer", children: cookieText })
818
903
  ] })
819
904
  ] });
820
905
  };
821
906
  TermsCheckbox.variants = variants6;
907
+
908
+ // src/atoms/Text/Text.tsx
909
+ import styled16 from "styled-components";
910
+ import { jsx as jsx16 } from "react/jsx-runtime";
822
911
  var sizes2 = ["sm", "md", "lg"];
823
912
  var variants7 = {
824
913
  sm: {
@@ -834,7 +923,7 @@ var variants7 = {
834
923
  fontWeight: 500
835
924
  }
836
925
  };
837
- var StyledText2 = styled6.h1`
926
+ var StyledText2 = styled16.h1`
838
927
  color: ${(props) => colors.text[props?.color]};
839
928
  font-size: ${(props) => variants7[props.variant].fontSize};
840
929
  font-weight: ${(props) => variants7[props.variant].fontWeight};
@@ -844,10 +933,14 @@ var Text2 = ({
844
933
  color = "primary",
845
934
  variant = "md"
846
935
  }) => {
847
- return /* @__PURE__ */ jsx(StyledText2, { color, variant, children });
936
+ return /* @__PURE__ */ jsx16(StyledText2, { color, variant, children });
848
937
  };
849
938
  Text2.variants = sizes2;
850
- var StyledTextarea = styled6.textarea`
939
+
940
+ // src/atoms/Textarea/Textarea.tsx
941
+ import styled17 from "styled-components";
942
+ import { jsx as jsx17 } from "react/jsx-runtime";
943
+ var StyledTextarea = styled17.textarea`
851
944
  display: block;
852
945
  width: 100%;
853
946
  height: 100%;
@@ -863,12 +956,16 @@ var Textarea = ({
863
956
  rows = 3,
864
957
  ...rest
865
958
  }) => {
866
- return /* @__PURE__ */ jsx(StyledTextarea, { name, onChange, rows, ...rest });
959
+ return /* @__PURE__ */ jsx17(StyledTextarea, { name, onChange, rows, ...rest });
867
960
  };
868
961
  Textarea.types = InputTypes;
962
+
963
+ // src/atoms/TextButton/TextButton.tsx
964
+ import styled18 from "styled-components";
965
+ import { jsx as jsx18 } from "react/jsx-runtime";
869
966
  var bgVariants = ["primary", "secondary", "tertiary", "subtle", "blue", "brand", "light", "transparent"];
870
967
  var textVariants = ["brand", "primary", "secondary", "tertiary", "subtle", "light", "error", "blue"];
871
- var StyledContainer2 = styled6.button`
968
+ var StyledContainer2 = styled18.button`
872
969
  padding: 0 1rem;
873
970
  height: 2.5rem;
874
971
  display: flex;
@@ -887,7 +984,7 @@ var StyledContainer2 = styled6.button`
887
984
  opacity: 0.9;
888
985
  }
889
986
  `;
890
- var StyledText3 = styled6.span`
987
+ var StyledText3 = styled18.span`
891
988
  color: ${(props) => colors.text[props.textVariant]};
892
989
  font-size: 0.75rem;
893
990
  letter-spacing: 0.05em;
@@ -903,20 +1000,24 @@ var TextButton = ({
903
1000
  uppercase = true,
904
1001
  bold = false
905
1002
  }) => {
906
- return /* @__PURE__ */ jsx(
1003
+ return /* @__PURE__ */ jsx18(
907
1004
  StyledContainer2,
908
1005
  {
909
1006
  as: asChild ? "div" : "button",
910
1007
  onClick,
911
1008
  bgVariant,
912
- children: /* @__PURE__ */ jsx(StyledText3, { textVariant, $uppercase: uppercase, $bold: bold, children: text })
1009
+ children: /* @__PURE__ */ jsx18(StyledText3, { textVariant, $uppercase: uppercase, $bold: bold, children: text })
913
1010
  }
914
1011
  );
915
1012
  };
916
1013
  TextButton.bgVariants = bgVariants;
917
1014
  TextButton.textVariants = textVariants;
1015
+
1016
+ // src/atoms/ToggleButton/ToggleButton.tsx
1017
+ import styled19 from "styled-components";
1018
+ import { jsx as jsx19 } from "react/jsx-runtime";
918
1019
  var variants8 = ["primary", "secondary", "subtle"];
919
- var ToggleContainer = styled6.div`
1020
+ var ToggleContainer = styled19.div`
920
1021
  display: inline-flex;
921
1022
  background-color: ${(props) => {
922
1023
  switch (props.variant) {
@@ -934,7 +1035,7 @@ var ToggleContainer = styled6.div`
934
1035
  padding: 0.25rem;
935
1036
  gap: 0.25rem;
936
1037
  `;
937
- var ToggleOption = styled6.button`
1038
+ var ToggleOption = styled19.button`
938
1039
  padding: 0.5rem 1.5rem;
939
1040
  border-radius: 9999px;
940
1041
  border: none;
@@ -985,7 +1086,7 @@ var ToggleButton = ({
985
1086
  onChange,
986
1087
  variant = "primary"
987
1088
  }) => {
988
- return /* @__PURE__ */ jsx(ToggleContainer, { variant, children: options.map((option) => /* @__PURE__ */ jsx(
1089
+ return /* @__PURE__ */ jsx19(ToggleContainer, { variant, children: options.map((option) => /* @__PURE__ */ jsx19(
989
1090
  ToggleOption,
990
1091
  {
991
1092
  $isActive: activeOption === option,
@@ -997,7 +1098,25 @@ var ToggleButton = ({
997
1098
  )) });
998
1099
  };
999
1100
  ToggleButton.variants = variants8;
1000
-
1001
- export { ArrowButton, Button, Description, ExtendedButton, FeatureItem, FormContainer, Header, Input, Label, Loader, Pill, RadioItem, SecondaryInput, SocialButton, TermsCheckbox, Text2 as Text, TextButton, Textarea, ToggleButton };
1002
- //# sourceMappingURL=atoms.js.map
1101
+ export {
1102
+ ArrowButton,
1103
+ Button,
1104
+ Description,
1105
+ ExtendedButton,
1106
+ FeatureItem,
1107
+ FormContainer,
1108
+ Header,
1109
+ Input,
1110
+ Label,
1111
+ Loader,
1112
+ Pill,
1113
+ RadioItem,
1114
+ SecondaryInput,
1115
+ SocialButton,
1116
+ TermsCheckbox,
1117
+ Text2 as Text,
1118
+ TextButton,
1119
+ Textarea,
1120
+ ToggleButton
1121
+ };
1003
1122
  //# sourceMappingURL=atoms.js.map