property-practice-ui 0.1.3 → 0.1.4

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