@lets-events/react 6.1.0 → 7.0.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/index.mjs CHANGED
@@ -1594,6 +1594,10 @@ function Text(_a) {
1594
1594
  // src/components/Button/styledComponents.ts
1595
1595
  import { Button as ButtonRadix } from "@radix-ui/themes";
1596
1596
  var ButtonStyled = styled(ButtonRadix, {
1597
+ $$buttonColor: "inherit",
1598
+ $$buttonBgColor: "$colors$grey50",
1599
+ $$buttonBorderColor: "inherit",
1600
+ $$buttonOutlinedColor: "inherit",
1597
1601
  fontFamily: "$default",
1598
1602
  letterSpacing: 0,
1599
1603
  border: 0,
@@ -1612,332 +1616,223 @@ var ButtonStyled = styled(ButtonRadix, {
1612
1616
  },
1613
1617
  variants: {
1614
1618
  color: {
1615
- brand: {},
1616
- neutral: {},
1617
- purple: {}
1618
- },
1619
- variant: {
1620
- text: {
1621
- backgroundColor: "transparent",
1622
- boxShadow: "none",
1623
- padding: 0,
1624
- border: 0
1625
- },
1626
- contained: {
1619
+ brand: {
1620
+ $$buttonColor: "$colors$brand500",
1621
+ $$buttonBorderColor: "$colors$brand600",
1622
+ $$buttonOutlinedColor: "$$buttonColor",
1627
1623
  "&:hover": {
1628
- borderWidth: "1px",
1629
- borderStyle: "solid"
1624
+ $$buttonColor: "$colors$brand600",
1625
+ $$buttonBorderColor: "$colors$brand700"
1630
1626
  },
1631
- "&:active": {
1632
- borderWidth: "2px"
1627
+ "&:focus": {
1628
+ $$buttonColor: "$colors$brand400",
1629
+ $$buttonBorderColor: "$colors$brand300",
1630
+ $$buttonBgColor: "$colors$grey200"
1633
1631
  },
1634
- "&:disabled": {
1635
- boxShadow: "none"
1632
+ "&:active": {
1633
+ $$buttonColor: "$colors$brand500",
1634
+ $$buttonBorderColor: "$colors$brand700",
1635
+ $$buttonBgColor: "$colors$grey200"
1636
1636
  }
1637
1637
  },
1638
- outlined: {
1639
- borderWidth: "1px",
1640
- borderStyle: "solid",
1641
- "&:disabled": {
1642
- color: "$neutral400",
1643
- boxShadow: "none"
1644
- }
1645
- }
1646
- },
1647
- typography: typographyButtonValues,
1648
- fontWeight: {
1649
- regular: { fontWeight: "$regular" },
1650
- medium: { fontWeight: "$medium" },
1651
- semibold: { fontWeight: "$semibold" },
1652
- bold: { fontWeight: "$bold" }
1653
- },
1654
- outlinedBgColor: {
1655
- neutral: {},
1656
- transparent: {}
1657
- },
1658
- radii: {
1659
- "full": {
1660
- borderRadius: "$full"
1661
- }
1662
- }
1663
- },
1664
- defaultVariants: {
1665
- variant: "contained",
1666
- typography: "buttonMedium",
1667
- color: "brand"
1668
- },
1669
- compoundVariants: [
1670
- {
1671
- variant: "text",
1672
- color: "brand",
1673
- css: {
1674
- color: "$brand500",
1675
- "&:hover": { color: "$brand600" },
1676
- "&:focus": { color: "$brand700" },
1677
- "&:active": { color: "$brand500" },
1678
- "&:disabled": { color: "$dark400" }
1679
- }
1680
- },
1681
- {
1682
- variant: "text",
1683
- color: "neutral",
1684
- css: {
1685
- color: "$neutral600",
1686
- "&:hover": { color: "$neutral700" },
1687
- "&:focus": { color: "$neutral800" },
1688
- "&:active": { color: "$neutral500" },
1689
- "&:disabled": { color: "$dark400" }
1690
- }
1691
- },
1692
- {
1693
- variant: "text",
1694
- color: "purple",
1695
- css: {
1696
- color: "$purple500",
1697
- "&:hover": { color: "$purple600" },
1698
- "&:focus": { color: "$purple700" },
1699
- "&:active": { color: "$purple500" },
1700
- "&:disabled": { color: "$dark400" }
1701
- }
1702
- },
1703
- {
1704
- variant: "text",
1705
- color: "green",
1706
- css: {
1707
- color: "$green500",
1708
- "&:hover": { color: "$green600" },
1709
- "&:focus": { color: "$green700" },
1710
- "&:active": { color: "$green500" },
1711
- "&:disabled": { color: "$dark400" }
1712
- }
1713
- },
1714
- {
1715
- variant: "text",
1716
- color: "blue",
1717
- css: {
1718
- color: "$blue500",
1719
- "&:hover": { color: "$blue600" },
1720
- "&:focus": { color: "$blue700" },
1721
- "&:active": { color: "$blue500" },
1722
- "&:disabled": { color: "$dark400" }
1723
- }
1724
- },
1725
- {
1726
- variant: "text",
1727
- color: "red",
1728
- css: {
1729
- color: "$red500",
1730
- "&:hover": { color: "$red600" },
1731
- "&:focus": { color: "$red700" },
1732
- "&:active": { color: "$red500" },
1733
- "&:disabled": { color: "$dark400" }
1734
- }
1735
- },
1736
- // contained
1737
- {
1738
- variant: "contained",
1739
- color: "brand",
1740
- css: {
1741
- color: "$grey50",
1742
- backgroundColor: "$brand500",
1743
- borderWidth: "2px",
1744
- borderStyle: "solid",
1745
- borderColor: "transparent",
1638
+ purple: {
1639
+ $$buttonColor: "$colors$purple500",
1640
+ $$buttonBorderColor: "$colors$purple300",
1641
+ $$buttonOutlinedColor: "$$buttonColor",
1746
1642
  "&:hover": {
1747
- borderColor: "$brand700",
1748
- backgroundColor: "$blue600"
1643
+ $$buttonColor: "$colors$purple600",
1644
+ $$buttonBorderColor: "$colors$purple700",
1645
+ $$buttonOutlinedColor: "$colors$purple500",
1646
+ $$buttonBgColor: "$colors$purple50"
1749
1647
  },
1750
1648
  "&:focus": {
1751
- backgroundColor: "$blue700"
1649
+ $$buttonColor: "$colors$purple700",
1650
+ $$buttonOutlinedColor: "$colors$purple500",
1651
+ $$buttonBgColor: "$colors$purple200",
1652
+ $$buttonBorderColor: "$colors$purple400"
1752
1653
  },
1753
1654
  "&:active": {
1754
- borderColor: "$brand300",
1755
- backgroundColor: "$blue500"
1756
- },
1757
- "&:disabled": {
1758
- borderColor: "$brand50",
1759
- backgroundColor: "$brand50",
1760
- color: "$neutral400"
1655
+ $$buttonColor: "$colors$purple500",
1656
+ $$buttonOutlinedColor: "$colors$purple500",
1657
+ $$buttonBgColor: "$colors$purple100",
1658
+ $$buttonBorderColor: "$colors$purple300"
1761
1659
  }
1762
- }
1763
- },
1764
- {
1765
- variant: "contained",
1766
- color: "neutral",
1767
- css: {
1768
- backgroundColor: "$neutral600",
1769
- color: "$grey50",
1660
+ },
1661
+ error: {
1662
+ $$buttonColor: "$colors$error600",
1663
+ $$buttonBorderColor: "$colors$error500",
1664
+ $$buttonOutlinedColor: " $colors$error500",
1770
1665
  "&:hover": {
1771
- backgroundColor: "$neutral700",
1772
- borderColor: "$neutral800"
1666
+ $$buttonColor: "$colors$error600",
1667
+ $$buttonBorderColor: "$colors$error700",
1668
+ $$buttonBgColor: "$colors$error50"
1773
1669
  },
1774
1670
  "&:focus": {
1775
- backgroundColor: "$neutral800"
1671
+ $$buttonColor: "$colors$error400",
1672
+ $$buttonBorderColor: "$colors$error300",
1673
+ $$buttonBgColor: "$colors$error200"
1776
1674
  },
1777
1675
  "&:active": {
1778
- backgroundColor: "$neutral500",
1779
- borderColor: "$neutral400"
1780
- },
1781
- "&:disabled": {
1782
- backgroundColor: "$neutral50",
1783
- borderColor: "$neutral200",
1784
- color: "$neutral400"
1676
+ $$buttonColor: "$colors$error700",
1677
+ $$buttonBorderColor: "$colors$error700",
1678
+ $$buttonBgColor: "$colors$re1050"
1785
1679
  }
1786
- }
1787
- },
1788
- {
1789
- variant: "contained",
1790
- color: "purple",
1791
- css: {
1792
- backgroundColor: "$purple500",
1793
- color: "$grey50",
1680
+ },
1681
+ info: {
1682
+ $$buttonColor: "$colors$info500",
1683
+ $$buttonBorderColor: "$colors$info600",
1684
+ $$buttonOutlinedColor: "$$buttonColor",
1794
1685
  "&:hover": {
1795
- backgroundColor: "$purple600",
1796
- borderColor: "$purple700"
1686
+ $$buttonColor: "$colors$info600",
1687
+ $$buttonBorderColor: "$colors$info700",
1688
+ $$buttonBgColor: "$colors$info50"
1797
1689
  },
1798
1690
  "&:focus": {
1799
- backgroundColor: "$purple700"
1691
+ $$buttonColor: "$colors$info400",
1692
+ $$buttonBorderColor: "$colors$info600",
1693
+ $$buttonBgColor: "$colors$info200"
1800
1694
  },
1801
1695
  "&:active": {
1802
- borderColor: "$purple300",
1803
- backgroundColor: "$purple500"
1804
- },
1805
- "&:disabled": {
1806
- borderColor: "$purple200",
1807
- backgroundColor: "$purple200",
1808
- color: "$neutral400"
1696
+ $$buttonColor: "$colors$info700",
1697
+ $$buttonBorderColor: "$colors$info700",
1698
+ $$buttonBgColor: "$colors$info100"
1809
1699
  }
1810
- }
1811
- },
1812
- // outlined
1813
- {
1814
- variant: "outlined",
1815
- color: "brand",
1816
- outlinedBgColor: "neutral",
1817
- css: {
1818
- color: "$brand500",
1819
- border: "1px solid $brand300",
1820
- backgroundColor: "$grey50",
1700
+ },
1701
+ success: {
1702
+ $$buttonColor: "$colors$success500",
1703
+ $$buttonBorderColor: "$colors$success600",
1704
+ $$buttonOutlinedColor: "$$buttonColor",
1821
1705
  "&:hover": {
1822
- borderColor: "$brand400",
1823
- backgroundColor: "$brand50"
1706
+ $$buttonColor: "$colors$success600",
1707
+ $$buttonBorderColor: "$colors$success700",
1708
+ $$buttonBgColor: "$colors$success50"
1824
1709
  },
1825
1710
  "&:focus": {
1826
- borderColor: "$brand400",
1827
- backgroundColor: "$brand50"
1711
+ $$buttonColor: "$colors$success400",
1712
+ $$buttonBorderColor: "$colors$success600",
1713
+ $$buttonBgColor: "$colors$success200"
1828
1714
  },
1829
- "&:disabled": {
1830
- borderColor: "$brand200",
1831
- backgroundColor: "$neutral200"
1715
+ "&:active": {
1716
+ $$buttonColor: "$colors$success700",
1717
+ $$buttonBorderColor: "$colors$success700",
1718
+ $$buttonBgColor: "$colors$success100"
1832
1719
  }
1833
- }
1834
- },
1835
- {
1836
- variant: "outlined",
1837
- color: "neutral",
1838
- outlinedBgColor: "neutral",
1839
- css: {
1840
- color: "$neutral600",
1841
- border: "1px solid $neutral300",
1842
- backgroundColor: "$grey50",
1720
+ },
1721
+ warning: {
1722
+ $$buttonColor: "$colors$warning500",
1723
+ $$buttonBorderColor: "$colors$warning600",
1724
+ $$buttonOutlinedColor: "$$buttonColor",
1843
1725
  "&:hover": {
1844
- borderColor: "$neutral400",
1845
- backgroundColor: "$grey100"
1726
+ $$buttonColor: "$colors$warning600",
1727
+ $$buttonBorderColor: "$colors$warning700",
1728
+ $$buttonBgColor: "$colors$warning50"
1846
1729
  },
1847
1730
  "&:focus": {
1848
- borderColor: "$neutral400",
1849
- backgroundColor: "$grey100"
1731
+ $$buttonColor: "$colors$warning400",
1732
+ $$buttonBorderColor: "$colors$warning600",
1733
+ $$buttonBgColor: "$colors$warning200"
1850
1734
  },
1851
- "&:disabled": {
1852
- borderColor: "$neutral200",
1853
- backgroundColor: "$neutral200"
1735
+ "&:active": {
1736
+ $$buttonColor: "$colors$warning700",
1737
+ $$buttonBorderColor: "$colors$warning700",
1738
+ $$buttonBgColor: "$colors$warning100"
1854
1739
  }
1855
- }
1856
- },
1857
- {
1858
- variant: "outlined",
1859
- color: "purple",
1860
- outlinedBgColor: "neutral",
1861
- css: {
1862
- color: "$purple500",
1863
- backgroundColor: "$grey50",
1864
- border: "1px solid $purple300",
1740
+ },
1741
+ neutral: {
1742
+ $$buttonColor: "$colors$neutral600",
1743
+ $$buttonBorderColor: "$colors$neutral300",
1744
+ $$buttonOutlinedColor: "$$buttonColor",
1865
1745
  "&:hover": {
1866
- borderColor: "$purple400",
1867
- backgroundColor: "$purple50"
1746
+ $$buttonColor: "$colors$neutral700",
1747
+ $$buttonBgColor: "$colors$neutral100",
1748
+ $$buttonBorderColor: "$colors$neutral300"
1868
1749
  },
1869
1750
  "&:focus": {
1870
- borderColor: "$purple400",
1871
- backgroundColor: "$purple50"
1751
+ $$buttonColor: "$colors$neutral800",
1752
+ $$buttonBgColor: "$colors$neutral300",
1753
+ $$buttonBorderColor: "$colors$neutral400"
1872
1754
  },
1873
- "&:disabled": {
1874
- borderColor: "$purple200",
1875
- backgroundColor: "$neutral200"
1755
+ "&:active": {
1756
+ $$buttonColor: "$colors$neutral500",
1757
+ $$buttonBgColor: "$colors$neutral300",
1758
+ $$buttonBorderColor: "$colors$neutral400"
1876
1759
  }
1877
- }
1878
- },
1879
- // outlined transparent
1880
- {
1881
- variant: "outlined",
1882
- color: "brand",
1883
- outlinedBgColor: "transparent",
1884
- css: {
1885
- color: "$brand500",
1886
- border: "1px solid $brand300",
1887
- backgroundColor: "transparent",
1760
+ },
1761
+ white: {
1762
+ $$buttonColor: "$colors$neutral50",
1763
+ $$buttonBorderColor: "$colors$neutral300",
1764
+ $$buttonOutlinedColor: "$colors$neutral50",
1888
1765
  "&:hover": {
1889
- borderColor: "$brand400",
1890
- opacity: "0.8"
1766
+ $$buttonColor: "$colors$neutral100",
1767
+ $$buttonBorderColor: "$colors$neutral300",
1768
+ $$buttonBgColor: "$colors$neutral100"
1891
1769
  },
1892
1770
  "&:focus": {
1893
- borderColor: "$brand400"
1771
+ $$buttonBorderColor: "$colors$neutral400",
1772
+ $$buttonColor: "$colors$neutral300",
1773
+ $$buttonBgColor: "$colors$neutral200"
1894
1774
  },
1895
- "&:disabled": {
1896
- borderColor: "$brand200"
1775
+ "&:active": {
1776
+ $$buttonColor: "$colors$neutral400",
1777
+ $$buttonBorderColor: "$colors$neutral500",
1778
+ $$buttonBgColor: "$colors$neutral300"
1897
1779
  }
1898
1780
  }
1899
1781
  },
1900
- {
1901
- variant: "outlined",
1902
- color: "neutral",
1903
- outlinedBgColor: "transparent",
1904
- css: {
1905
- color: "$neutral600",
1906
- border: "1px solid $neutral300",
1782
+ variant: {
1783
+ text: {
1907
1784
  backgroundColor: "transparent",
1908
- "&:hover": {
1909
- borderColor: "$neutral400",
1910
- opacity: "0.8"
1911
- },
1912
- "&:focus": {
1913
- borderColor: "$neutral400"
1914
- },
1785
+ boxShadow: "none",
1786
+ padding: 0,
1787
+ border: 0,
1788
+ color: "$$buttonColor"
1789
+ },
1790
+ contained: {
1791
+ color: "$grey50",
1792
+ backgroundColor: "$$buttonColor",
1793
+ border: "1px solid $$buttonBorderColor",
1915
1794
  "&:disabled": {
1916
- borderColor: "$neutral200"
1795
+ boxShadow: "none",
1796
+ color: "$neutral400",
1797
+ backgroundColor: "$neutral200",
1798
+ $$buttonBorderColor: "$colors$neutral100"
1917
1799
  }
1918
- }
1919
- },
1920
- {
1921
- variant: "outlined",
1922
- color: "purple",
1923
- outlinedBgColor: "transparent",
1924
- css: {
1925
- color: "$purple500",
1926
- backgroundColor: "transparent",
1927
- border: "1px solid $purple300",
1928
- "&:hover": {
1929
- borderColor: "$purple400",
1930
- opacity: "0.8"
1931
- },
1932
- "&:focus": {
1933
- borderColor: "$purple400"
1934
- },
1800
+ },
1801
+ outlined: {
1802
+ color: "$$buttonOutlinedColor",
1803
+ border: "1px solid $$buttonOutlinedColor",
1804
+ backgroundColor: "$$buttonBgColor",
1935
1805
  "&:disabled": {
1936
- borderColor: "$purple200"
1806
+ boxShadow: "none",
1807
+ borderColor: "$colors$neutral100",
1808
+ $$buttonColor: "$colors$neutral300"
1937
1809
  }
1938
1810
  }
1811
+ },
1812
+ typography: typographyButtonValues,
1813
+ fontWeight: {
1814
+ regular: { fontWeight: "$regular" },
1815
+ medium: { fontWeight: "$medium" },
1816
+ semibold: { fontWeight: "$semibold" },
1817
+ bold: { fontWeight: "$bold" }
1818
+ },
1819
+ outlinedBgColor: {
1820
+ neutral: {},
1821
+ transparent: {
1822
+ backgroundColor: "transparent"
1823
+ }
1824
+ },
1825
+ radii: {
1826
+ "full": {
1827
+ borderRadius: "$full"
1828
+ }
1939
1829
  }
1940
- ]
1830
+ },
1831
+ defaultVariants: {
1832
+ variant: "contained",
1833
+ typography: "buttonMedium",
1834
+ color: "brand"
1835
+ }
1941
1836
  });
1942
1837
 
1943
1838
  // src/components/Button/index.tsx
@@ -2476,26 +2371,139 @@ function Avatar(_a) {
2476
2371
 
2477
2372
  // src/components/TextField.tsx
2478
2373
  import { TextField as TextFieldRadix } from "@radix-ui/themes";
2479
- import { jsx as jsx6, jsxs } from "react/jsx-runtime";
2374
+
2375
+ // src/components/Flex.tsx
2376
+ import { Flex as FlexRadix } from "@radix-ui/themes";
2377
+ import { jsx as jsx6 } from "react/jsx-runtime";
2378
+ var FlexStyled = styled(FlexRadix, {
2379
+ variants: {
2380
+ display: {
2381
+ "flex": { display: "flex" },
2382
+ "inline-flex": { display: "inline-flex" }
2383
+ },
2384
+ align: {
2385
+ start: { alignItems: "flex-start" },
2386
+ center: { alignItems: "center" },
2387
+ end: { alignItems: "flex-end" },
2388
+ stretch: { alignItems: "stretch" },
2389
+ baseline: { alignItems: "baseline" }
2390
+ },
2391
+ justify: {
2392
+ start: { justifyContent: "flex-start" },
2393
+ center: { justifyContent: "center" },
2394
+ end: { justifyContent: "flex-end" },
2395
+ between: { justifyContent: "space-between" },
2396
+ around: { justifyContent: "space-around" },
2397
+ evenly: { justifyContent: "space-evenly" }
2398
+ },
2399
+ direction: {
2400
+ row: { flexDirection: "row" },
2401
+ column: { flexDirection: "column" },
2402
+ "row-reverse": { flexDirection: "row-reverse" },
2403
+ "column-reverse": { flexDirection: "column-reverse" }
2404
+ },
2405
+ gap: {
2406
+ 0: { gap: "0px" },
2407
+ 2: { gap: "$2" },
2408
+ 4: { gap: "$4" },
2409
+ 6: { gap: "$6" },
2410
+ 8: { gap: "$8" },
2411
+ 10: { gap: "$10" },
2412
+ 12: { gap: "$12" },
2413
+ 14: { gap: "$14" },
2414
+ 16: { gap: "$16" },
2415
+ 20: { gap: "$20" },
2416
+ 22: { gap: "$22" },
2417
+ 24: { gap: "$24" },
2418
+ 32: { gap: "$32" },
2419
+ 36: { gap: "$36" },
2420
+ 40: { gap: "$40" },
2421
+ 48: { gap: "$48" },
2422
+ 56: { gap: "$56" },
2423
+ 64: { gap: "$64" },
2424
+ 72: { gap: "$72" },
2425
+ 80: { gap: "$80" },
2426
+ full: { gap: "$full" }
2427
+ },
2428
+ gapY: {
2429
+ 2: { gap: "$2" },
2430
+ 4: { gap: "$4" },
2431
+ 6: { gap: "$6" },
2432
+ 8: { gap: "$8" },
2433
+ 10: { gap: "$10" },
2434
+ 12: { gap: "$12" },
2435
+ 14: { gap: "$14" },
2436
+ 16: { gap: "$16" },
2437
+ 20: { gap: "$20" },
2438
+ 22: { gap: "$22" },
2439
+ 24: { gap: "$24" },
2440
+ 32: { gap: "$32" },
2441
+ 36: { gap: "$36" },
2442
+ 40: { gap: "$40" },
2443
+ 48: { gap: "$48" },
2444
+ 56: { gap: "$56" },
2445
+ 64: { gap: "$64" },
2446
+ 72: { gap: "$72" },
2447
+ 80: { gap: "$80" },
2448
+ full: { gap: "$full" }
2449
+ },
2450
+ gapX: {
2451
+ 2: { gap: "$2" },
2452
+ 4: { gap: "$4" },
2453
+ 6: { gap: "$6" },
2454
+ 8: { gap: "$8" },
2455
+ 10: { gap: "$10" },
2456
+ 12: { gap: "$12" },
2457
+ 14: { gap: "$14" },
2458
+ 16: { gap: "$16" },
2459
+ 20: { gap: "$20" },
2460
+ 22: { gap: "$22" },
2461
+ 24: { gap: "$24" },
2462
+ 32: { gap: "$32" },
2463
+ 36: { gap: "$36" },
2464
+ 40: { gap: "$40" },
2465
+ 48: { gap: "$48" },
2466
+ 56: { gap: "$56" },
2467
+ 64: { gap: "$64" },
2468
+ 72: { gap: "$72" },
2469
+ 80: { gap: "$80" },
2470
+ full: { gap: "$full" }
2471
+ }
2472
+ },
2473
+ defaultVariants: {
2474
+ display: "flex",
2475
+ direction: "row",
2476
+ gap: 10
2477
+ }
2478
+ });
2479
+ function Flex2(_a) {
2480
+ var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
2481
+ return /* @__PURE__ */ jsx6(FlexStyled, __spreadProps(__spreadValues({}, props), { children }));
2482
+ }
2483
+
2484
+ // src/components/TextField.tsx
2485
+ import { jsx as jsx7, jsxs } from "react/jsx-runtime";
2480
2486
  var TextFieldStyled = styled(TextFieldRadix.Root, {
2481
2487
  height: "$40",
2482
2488
  fontFamily: "$default",
2483
- padding: "$12 $14",
2489
+ padding: "0",
2484
2490
  borderRadius: "$sm",
2485
2491
  boxSizing: "border-box",
2486
2492
  color: "$dark500",
2487
2493
  border: "1px solid $dark300",
2488
2494
  position: "relative",
2489
2495
  display: "flex",
2496
+ width: "100%",
2497
+ alignItems: "center",
2490
2498
  "input": {
2491
2499
  order: 1,
2492
- border: "none",
2493
2500
  outline: "none",
2494
- padding: 0,
2501
+ border: "none",
2495
2502
  margin: 0,
2496
2503
  width: "100%",
2497
2504
  font: "inherit",
2498
- textAlign: "inherit"
2505
+ textAlign: "left",
2506
+ padding: "0 $14"
2499
2507
  },
2500
2508
  "&:has(input:focus)": {
2501
2509
  border: "2px solid $brand300"
@@ -2617,6 +2625,18 @@ var TextFieldSlotStyled = styled(TextFieldRadix.Slot, {
2617
2625
  }
2618
2626
  }
2619
2627
  });
2628
+ var InputAddon = styled(TextStyle, {
2629
+ boxSizing: "border-box",
2630
+ border: "1px solid $dark300",
2631
+ height: "$40",
2632
+ padding: "0",
2633
+ color: "$dark600",
2634
+ borderRadius: "$sm 0px 0px $sm",
2635
+ borderRightWidth: "0px",
2636
+ margin: "auto 0",
2637
+ display: "flex",
2638
+ alignItems: "center"
2639
+ });
2620
2640
  function TextField(_a) {
2621
2641
  var _b = _a, {
2622
2642
  children,
@@ -2625,6 +2645,7 @@ function TextField(_a) {
2625
2645
  color,
2626
2646
  typography,
2627
2647
  fontWeight,
2648
+ addon,
2628
2649
  textAlign = "right"
2629
2650
  } = _b, props = __objRest(_b, [
2630
2651
  "children",
@@ -2633,35 +2654,40 @@ function TextField(_a) {
2633
2654
  "color",
2634
2655
  "typography",
2635
2656
  "fontWeight",
2657
+ "addon",
2636
2658
  "textAlign"
2637
2659
  ]);
2638
- return /* @__PURE__ */ jsxs(
2639
- TextFieldStyled,
2640
- __spreadProps(__spreadValues({
2641
- color,
2642
- isValid: isValid2,
2643
- name,
2644
- typography,
2645
- fontWeight,
2646
- textAlign
2647
- }, props), {
2648
- children: [
2649
- children,
2650
- isValid2 && /* @__PURE__ */ jsx6(
2651
- TextFieldSlot,
2652
- {
2653
- position: "flex-end",
2654
- name,
2655
- color,
2656
- typography,
2657
- fontWeight,
2658
- textAlign,
2659
- children: /* @__PURE__ */ jsx6(Icon_default, { name: "check" })
2660
- }
2661
- )
2662
- ]
2663
- })
2664
- );
2660
+ return /* @__PURE__ */ jsxs(Flex2, { gap: "0", css: { width: "100%" }, children: [
2661
+ !!addon && /* @__PURE__ */ jsx7(InputAddon, { typography: "labelSmall", children: addon }),
2662
+ /* @__PURE__ */ jsxs(
2663
+ TextFieldStyled,
2664
+ __spreadProps(__spreadValues({
2665
+ color,
2666
+ isValid: isValid2,
2667
+ name,
2668
+ typography,
2669
+ fontWeight,
2670
+ textAlign,
2671
+ style: !!addon ? { borderTopLeftRadius: "0px", borderBottomLeftRadius: "0px" } : void 0
2672
+ }, props), {
2673
+ children: [
2674
+ children,
2675
+ isValid2 && /* @__PURE__ */ jsx7(
2676
+ TextFieldSlot,
2677
+ {
2678
+ position: "flex-end",
2679
+ name,
2680
+ color,
2681
+ typography,
2682
+ fontWeight,
2683
+ textAlign,
2684
+ children: /* @__PURE__ */ jsx7(Icon_default, { name: "check" })
2685
+ }
2686
+ )
2687
+ ]
2688
+ })
2689
+ )
2690
+ ] });
2665
2691
  }
2666
2692
  function TextFieldSlot(_a) {
2667
2693
  var _b = _a, {
@@ -2686,7 +2712,7 @@ function TextFieldSlot(_a) {
2686
2712
  }, props), {
2687
2713
  color: void 0
2688
2714
  });
2689
- return !!onClick ? /* @__PURE__ */ jsx6(
2715
+ return !!onClick ? /* @__PURE__ */ jsx7(
2690
2716
  TextFieldSlotStyled,
2691
2717
  __spreadProps(__spreadValues({}, sharedStyles), {
2692
2718
  style: {
@@ -2702,7 +2728,7 @@ function TextFieldSlot(_a) {
2702
2728
  onClick: () => onClick(),
2703
2729
  children
2704
2730
  })
2705
- ) : /* @__PURE__ */ jsx6(
2731
+ ) : /* @__PURE__ */ jsx7(
2706
2732
  TextFieldSlotStyled,
2707
2733
  __spreadProps(__spreadValues({}, sharedStyles), {
2708
2734
  style: {
@@ -2719,7 +2745,7 @@ function TextFieldSlot(_a) {
2719
2745
 
2720
2746
  // src/components/RadioGroup.tsx
2721
2747
  import { RadioGroup as RadioGroupRadix } from "@radix-ui/themes";
2722
- import { jsx as jsx7 } from "react/jsx-runtime";
2748
+ import { jsx as jsx8 } from "react/jsx-runtime";
2723
2749
  var RadioGroupStyled = styled(RadioGroupRadix.Root, {
2724
2750
  fontFamily: "$default",
2725
2751
  "label": {
@@ -2889,7 +2915,7 @@ function RadioGroup(_a) {
2889
2915
  "children",
2890
2916
  "disabled"
2891
2917
  ]);
2892
- return /* @__PURE__ */ jsx7(
2918
+ return /* @__PURE__ */ jsx8(
2893
2919
  RadioGroupStyled,
2894
2920
  __spreadProps(__spreadValues({
2895
2921
  disabled
@@ -2904,12 +2930,12 @@ function RadioItem(_a) {
2904
2930
  } = _b, props = __objRest(_b, [
2905
2931
  "children"
2906
2932
  ]);
2907
- return /* @__PURE__ */ jsx7(RadioGroupRadix.Item, __spreadProps(__spreadValues({}, props), { children }));
2933
+ return /* @__PURE__ */ jsx8(RadioGroupRadix.Item, __spreadProps(__spreadValues({}, props), { children }));
2908
2934
  }
2909
2935
 
2910
2936
  // src/components/CheckboxGroup.tsx
2911
2937
  import { CheckboxGroup as CheckboxGroupRadix } from "@radix-ui/themes";
2912
- import { jsx as jsx8 } from "react/jsx-runtime";
2938
+ import { jsx as jsx9 } from "react/jsx-runtime";
2913
2939
  var CheckboxGroupStyled = styled(CheckboxGroupRadix.Root, {
2914
2940
  fontFamily: "$default",
2915
2941
  "svg": {
@@ -3079,7 +3105,7 @@ function CheckboxGroup(_a) {
3079
3105
  } = _b, props = __objRest(_b, [
3080
3106
  "children"
3081
3107
  ]);
3082
- return /* @__PURE__ */ jsx8(CheckboxGroupStyled, __spreadProps(__spreadValues({}, props), { children }));
3108
+ return /* @__PURE__ */ jsx9(CheckboxGroupStyled, __spreadProps(__spreadValues({}, props), { children }));
3083
3109
  }
3084
3110
  function CheckboxItem(_a) {
3085
3111
  var _b = _a, {
@@ -3087,12 +3113,12 @@ function CheckboxItem(_a) {
3087
3113
  } = _b, props = __objRest(_b, [
3088
3114
  "children"
3089
3115
  ]);
3090
- return /* @__PURE__ */ jsx8(CheckboxGroupRadix.Item, __spreadProps(__spreadValues({}, props), { children }));
3116
+ return /* @__PURE__ */ jsx9(CheckboxGroupRadix.Item, __spreadProps(__spreadValues({}, props), { children }));
3091
3117
  }
3092
3118
 
3093
3119
  // src/components/Filter.tsx
3094
3120
  import { Theme, DropdownMenu } from "@radix-ui/themes";
3095
- import { jsx as jsx9, jsxs as jsxs2 } from "react/jsx-runtime";
3121
+ import { jsx as jsx10, jsxs as jsxs2 } from "react/jsx-runtime";
3096
3122
  var FilterContentStyled = styled(DropdownMenu.Content, {
3097
3123
  background: "white",
3098
3124
  padding: "$8 $12",
@@ -3202,13 +3228,13 @@ function Filter(_a) {
3202
3228
  "typography",
3203
3229
  "fontWeight"
3204
3230
  ]);
3205
- return /* @__PURE__ */ jsx9(Theme, { children: /* @__PURE__ */ jsx9(DropdownMenu.Root, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ jsxs2(FilterStyled, { typography, fontWeight, children: [
3206
- /* @__PURE__ */ jsx9(DropdownMenu.Trigger, { children: /* @__PURE__ */ jsxs2("button", { "aria-label": placeholder || "Fitrar", children: [
3207
- /* @__PURE__ */ jsx9(Icon, { name: "filter" }),
3208
- /* @__PURE__ */ jsx9("span", { children: placeholder || "Fitrar" }),
3209
- /* @__PURE__ */ jsx9(DropdownMenu.TriggerIcon, {})
3231
+ return /* @__PURE__ */ jsx10(Theme, { children: /* @__PURE__ */ jsx10(DropdownMenu.Root, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ jsxs2(FilterStyled, { typography, fontWeight, children: [
3232
+ /* @__PURE__ */ jsx10(DropdownMenu.Trigger, { children: /* @__PURE__ */ jsxs2("button", { "aria-label": placeholder || "Fitrar", children: [
3233
+ /* @__PURE__ */ jsx10(Icon, { name: "filter" }),
3234
+ /* @__PURE__ */ jsx10("span", { children: placeholder || "Fitrar" }),
3235
+ /* @__PURE__ */ jsx10(DropdownMenu.TriggerIcon, {})
3210
3236
  ] }) }),
3211
- /* @__PURE__ */ jsx9(
3237
+ /* @__PURE__ */ jsx10(
3212
3238
  FilterContentStyled,
3213
3239
  {
3214
3240
  avoidCollisions: false,
@@ -3216,7 +3242,7 @@ function Filter(_a) {
3216
3242
  alignOffset: -14,
3217
3243
  typography,
3218
3244
  fontWeight,
3219
- children: /* @__PURE__ */ jsx9(CheckboxGroup, { children })
3245
+ children: /* @__PURE__ */ jsx10(CheckboxGroup, { children })
3220
3246
  }
3221
3247
  )
3222
3248
  ] }) })) });
@@ -3227,12 +3253,12 @@ function FilterItem(_a) {
3227
3253
  } = _b, props = __objRest(_b, [
3228
3254
  "children"
3229
3255
  ]);
3230
- return /* @__PURE__ */ jsx9(CheckboxItem, __spreadProps(__spreadValues({}, props), { style: { padding: "8px 12px" }, children }));
3256
+ return /* @__PURE__ */ jsx10(CheckboxItem, __spreadProps(__spreadValues({}, props), { style: { padding: "8px 12px" }, children }));
3231
3257
  }
3232
3258
 
3233
3259
  // src/components/Dropdown.tsx
3234
3260
  import { Theme as Theme2, DropdownMenu as DropdownMenuRadix } from "@radix-ui/themes";
3235
- import { jsx as jsx10, jsxs as jsxs3 } from "react/jsx-runtime";
3261
+ import { jsx as jsx11, jsxs as jsxs3 } from "react/jsx-runtime";
3236
3262
  var DropdownMenuItemStyled = styled(DropdownMenuRadix.Item, {
3237
3263
  fontFamily: "$default",
3238
3264
  color: "$dark600",
@@ -3337,18 +3363,18 @@ function DropdownMenu2(_a) {
3337
3363
  "typography",
3338
3364
  "fontWeight"
3339
3365
  ]);
3340
- return /* @__PURE__ */ jsx10(Theme2, { children: /* @__PURE__ */ jsx10(DropdownMenuRadix.Root, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ jsxs3(DropdownMenuStyled, { typography, fontWeight, children: [
3341
- /* @__PURE__ */ jsx10(DropdownMenuRadix.Trigger, { children: /* @__PURE__ */ jsxs3("button", { "aria-label": placeholder || "Filtrar", children: [
3342
- /* @__PURE__ */ jsx10("span", { children: placeholder || "Filtrar" }),
3343
- /* @__PURE__ */ jsx10(DropdownMenuRadix.TriggerIcon, {})
3366
+ return /* @__PURE__ */ jsx11(Theme2, { children: /* @__PURE__ */ jsx11(DropdownMenuRadix.Root, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ jsxs3(DropdownMenuStyled, { typography, fontWeight, children: [
3367
+ /* @__PURE__ */ jsx11(DropdownMenuRadix.Trigger, { children: /* @__PURE__ */ jsxs3("button", { "aria-label": placeholder || "Filtrar", children: [
3368
+ /* @__PURE__ */ jsx11("span", { children: placeholder || "Filtrar" }),
3369
+ /* @__PURE__ */ jsx11(DropdownMenuRadix.TriggerIcon, {})
3344
3370
  ] }) }),
3345
- /* @__PURE__ */ jsx10(
3371
+ /* @__PURE__ */ jsx11(
3346
3372
  DropdownMenuContentStyled,
3347
3373
  {
3348
3374
  avoidCollisions: false,
3349
3375
  align: "start",
3350
3376
  alignOffset: -14,
3351
- children: /* @__PURE__ */ jsx10(DropdownMenuRadix.Group, { children })
3377
+ children: /* @__PURE__ */ jsx11(DropdownMenuRadix.Group, { children })
3352
3378
  }
3353
3379
  )
3354
3380
  ] }) })) });
@@ -3363,7 +3389,7 @@ function DropdownMenuItem(_a) {
3363
3389
  "typography",
3364
3390
  "fontWeight"
3365
3391
  ]);
3366
- return /* @__PURE__ */ jsx10(
3392
+ return /* @__PURE__ */ jsx11(
3367
3393
  DropdownMenuItemStyled,
3368
3394
  __spreadProps(__spreadValues({
3369
3395
  typography,
@@ -3377,7 +3403,7 @@ function DropdownMenuItem(_a) {
3377
3403
  // src/components/Badge.tsx
3378
3404
  import React from "react";
3379
3405
  import { Badge as BadgeRadix } from "@radix-ui/themes";
3380
- import { jsx as jsx11 } from "react/jsx-runtime";
3406
+ import { jsx as jsx12 } from "react/jsx-runtime";
3381
3407
  var BadgeStyled = styled(BadgeRadix, {
3382
3408
  fontFamily: "$default",
3383
3409
  borderRadius: "$sm",
@@ -3482,7 +3508,7 @@ var BadgeStyled = styled(BadgeRadix, {
3482
3508
  });
3483
3509
  function Badge(_a) {
3484
3510
  var _b = _a, { asChild, children } = _b, props = __objRest(_b, ["asChild", "children"]);
3485
- return /* @__PURE__ */ jsx11(BadgeStyled, __spreadProps(__spreadValues({}, props), { children: React.Children.map(children, (child) => {
3511
+ return /* @__PURE__ */ jsx12(BadgeStyled, __spreadProps(__spreadValues({}, props), { children: React.Children.map(children, (child) => {
3486
3512
  if (React.isValidElement(child)) {
3487
3513
  return React.cloneElement(child, { size: props.size });
3488
3514
  }
@@ -3497,114 +3523,6 @@ import { Dialog as ModalRadix } from "@radix-ui/themes";
3497
3523
  import { Box as BoxRadix } from "@radix-ui/themes";
3498
3524
  var Box = BoxRadix;
3499
3525
 
3500
- // src/components/Flex.tsx
3501
- import { Flex as FlexRadix } from "@radix-ui/themes";
3502
- import { jsx as jsx12 } from "react/jsx-runtime";
3503
- var FlexStyled = styled(FlexRadix, {
3504
- variants: {
3505
- display: {
3506
- "flex": { display: "flex" },
3507
- "inline-flex": { display: "inline-flex" }
3508
- },
3509
- align: {
3510
- start: { alignItems: "flex-start" },
3511
- center: { alignItems: "center" },
3512
- end: { alignItems: "flex-end" },
3513
- stretch: { alignItems: "stretch" },
3514
- baseline: { alignItems: "baseline" }
3515
- },
3516
- justify: {
3517
- start: { justifyContent: "flex-start" },
3518
- center: { justifyContent: "center" },
3519
- end: { justifyContent: "flex-end" },
3520
- between: { justifyContent: "space-between" },
3521
- around: { justifyContent: "space-around" },
3522
- evenly: { justifyContent: "space-evenly" }
3523
- },
3524
- direction: {
3525
- row: { flexDirection: "row" },
3526
- column: { flexDirection: "column" },
3527
- "row-reverse": { flexDirection: "row-reverse" },
3528
- "column-reverse": { flexDirection: "column-reverse" }
3529
- },
3530
- gap: {
3531
- 2: { gap: "$2" },
3532
- 4: { gap: "$4" },
3533
- 6: { gap: "$6" },
3534
- 8: { gap: "$8" },
3535
- 10: { gap: "$10" },
3536
- 12: { gap: "$12" },
3537
- 14: { gap: "$14" },
3538
- 16: { gap: "$16" },
3539
- 20: { gap: "$20" },
3540
- 22: { gap: "$22" },
3541
- 24: { gap: "$24" },
3542
- 32: { gap: "$32" },
3543
- 36: { gap: "$36" },
3544
- 40: { gap: "$40" },
3545
- 48: { gap: "$48" },
3546
- 56: { gap: "$56" },
3547
- 64: { gap: "$64" },
3548
- 72: { gap: "$72" },
3549
- 80: { gap: "$80" },
3550
- full: { gap: "$full" }
3551
- },
3552
- gapY: {
3553
- 2: { gap: "$2" },
3554
- 4: { gap: "$4" },
3555
- 6: { gap: "$6" },
3556
- 8: { gap: "$8" },
3557
- 10: { gap: "$10" },
3558
- 12: { gap: "$12" },
3559
- 14: { gap: "$14" },
3560
- 16: { gap: "$16" },
3561
- 20: { gap: "$20" },
3562
- 22: { gap: "$22" },
3563
- 24: { gap: "$24" },
3564
- 32: { gap: "$32" },
3565
- 36: { gap: "$36" },
3566
- 40: { gap: "$40" },
3567
- 48: { gap: "$48" },
3568
- 56: { gap: "$56" },
3569
- 64: { gap: "$64" },
3570
- 72: { gap: "$72" },
3571
- 80: { gap: "$80" },
3572
- full: { gap: "$full" }
3573
- },
3574
- gapX: {
3575
- 2: { gap: "$2" },
3576
- 4: { gap: "$4" },
3577
- 6: { gap: "$6" },
3578
- 8: { gap: "$8" },
3579
- 10: { gap: "$10" },
3580
- 12: { gap: "$12" },
3581
- 14: { gap: "$14" },
3582
- 16: { gap: "$16" },
3583
- 20: { gap: "$20" },
3584
- 22: { gap: "$22" },
3585
- 24: { gap: "$24" },
3586
- 32: { gap: "$32" },
3587
- 36: { gap: "$36" },
3588
- 40: { gap: "$40" },
3589
- 48: { gap: "$48" },
3590
- 56: { gap: "$56" },
3591
- 64: { gap: "$64" },
3592
- 72: { gap: "$72" },
3593
- 80: { gap: "$80" },
3594
- full: { gap: "$full" }
3595
- }
3596
- },
3597
- defaultVariants: {
3598
- display: "flex",
3599
- direction: "row",
3600
- gap: 10
3601
- }
3602
- });
3603
- function Flex2(_a) {
3604
- var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
3605
- return /* @__PURE__ */ jsx12(FlexStyled, __spreadProps(__spreadValues({}, props), { children }));
3606
- }
3607
-
3608
3526
  // src/components/Modal.tsx
3609
3527
  import { jsx as jsx13, jsxs as jsxs4 } from "react/jsx-runtime";
3610
3528
  var ModalStyled = styled("div", {
@@ -7574,6 +7492,9 @@ var CalendarStyled = styled("div", {
7574
7492
  maxWidth: "200px",
7575
7493
  borderRadius: "$sm"
7576
7494
  });
7495
+ var CalendarTitleStyled = styled(Calendaradix.Title, {
7496
+ display: "none"
7497
+ });
7577
7498
  var CalendarContentStyled = styled(Calendaradix.Content, {
7578
7499
  fontFamily: "$default",
7579
7500
  lineHeight: "$base",
@@ -7813,6 +7734,7 @@ function Calendar(_a) {
7813
7734
  }
7814
7735
  ) }),
7815
7736
  /* @__PURE__ */ jsxs5(CalendarContentStyled, { children: [
7737
+ /* @__PURE__ */ jsx14(CalendarTitleStyled, { children: "Calend\xE1rio" }),
7816
7738
  /* @__PURE__ */ jsx14(Box, { children: /* @__PURE__ */ jsx14(DayPickerWrapperStyled, { children: /* @__PURE__ */ jsx14(
7817
7739
  DayPicker,
7818
7740
  {
@@ -7853,6 +7775,9 @@ var TimePickerStyled = styled("div", {
7853
7775
  maxWidth: "200px",
7854
7776
  borderRadius: "$sm"
7855
7777
  });
7778
+ var TimePickerTitleStyled = styled(TimePickerRadix.Title, {
7779
+ display: "none"
7780
+ });
7856
7781
  var TimePickerDialogStyled = styled(TimePickerRadix.Content, {
7857
7782
  width: "100%",
7858
7783
  maxWidth: "8.875rem",
@@ -7881,42 +7806,144 @@ function TimePicker({ selected, setSelected }) {
7881
7806
  const [hours, setHours] = useState2("00");
7882
7807
  const [minutes, setMinutes] = useState2("00");
7883
7808
  const pad = (num) => String(num).padStart(2, "0");
7884
- const handleInputValue = useCallback((time) => {
7885
- setSelected(time);
7886
- }, [setSelected]);
7887
- const handleIncrement = useCallback((type) => {
7888
- if (type === "hours") {
7889
- const next = (parseInt(hours) + 1) % 24;
7890
- setHours(pad(next));
7891
- } else {
7892
- const next = (parseInt(minutes) + 1) % 60;
7893
- setMinutes(pad(next));
7894
- }
7895
- }, [hours, minutes]);
7896
- const handleDecrement = useCallback((type) => {
7897
- if (type === "hours") {
7898
- const prev = (parseInt(hours) - 1 + 24) % 24;
7899
- setHours(pad(prev));
7900
- } else {
7901
- const prev = (parseInt(minutes) - 1 + 60) % 60;
7902
- setMinutes(pad(prev));
7903
- }
7904
- }, [hours, minutes]);
7809
+ const handleInputValue = useCallback(
7810
+ (time) => {
7811
+ setSelected(time);
7812
+ },
7813
+ [setSelected]
7814
+ );
7815
+ const handleIncrement = useCallback(
7816
+ (type) => {
7817
+ if (type === "hours") {
7818
+ const next = (parseInt(hours) + 1) % 24;
7819
+ setHours(pad(next));
7820
+ } else {
7821
+ const next = (parseInt(minutes) + 1) % 60;
7822
+ setMinutes(pad(next));
7823
+ }
7824
+ },
7825
+ [hours, minutes]
7826
+ );
7827
+ const handleDecrement = useCallback(
7828
+ (type) => {
7829
+ if (type === "hours") {
7830
+ const prev = (parseInt(hours) - 1 + 24) % 24;
7831
+ setHours(pad(prev));
7832
+ } else {
7833
+ const prev = (parseInt(minutes) - 1 + 60) % 60;
7834
+ setMinutes(pad(prev));
7835
+ }
7836
+ },
7837
+ [hours, minutes]
7838
+ );
7905
7839
  return /* @__PURE__ */ jsx15(TimePickerRadix.Root, { children: /* @__PURE__ */ jsxs6(TimePickerStyled, { children: [
7906
- /* @__PURE__ */ jsx15(TimePickerRadix.Trigger, { children: /* @__PURE__ */ jsx15(TextField, { value: selected, readOnly: true, type: "text", placeholder: "00:00", typography: "labelSmall", fontWeight: "regular", children: /* @__PURE__ */ jsx15(TextFieldSlot, { children: /* @__PURE__ */ jsx15(Icon_default, { name: "clock", size: "xl" }) }) }) }),
7840
+ /* @__PURE__ */ jsx15(TimePickerRadix.Trigger, { children: /* @__PURE__ */ jsx15(
7841
+ TextField,
7842
+ {
7843
+ value: selected,
7844
+ readOnly: true,
7845
+ type: "text",
7846
+ placeholder: "00:00",
7847
+ typography: "labelSmall",
7848
+ fontWeight: "regular",
7849
+ children: /* @__PURE__ */ jsx15(TextFieldSlot, { children: /* @__PURE__ */ jsx15(Icon_default, { name: "clock", size: "xl" }) })
7850
+ }
7851
+ ) }),
7907
7852
  /* @__PURE__ */ jsxs6(TimePickerDialogStyled, { children: [
7853
+ /* @__PURE__ */ jsx15(TimePickerTitleStyled, { children: "Hor\xE1rio" }),
7908
7854
  /* @__PURE__ */ jsxs6(TimerPickerContentStyled, { children: [
7909
- ["hours", "minutes"].map((unit) => /* @__PURE__ */ jsxs6(Box, { style: { display: "flex", alignItems: "center", flexDirection: "column" }, children: [
7910
- /* @__PURE__ */ jsx15(Button, { variant: "text", onClick: () => handleIncrement(unit), children: /* @__PURE__ */ jsxs6("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", children: [
7911
- /* @__PURE__ */ jsx15("path", { d: "M0 8C0 3.58172 3.58172 0 8 0H24C28.4183 0 32 3.58172 32 8V24C32 28.4183 28.4183 32 24 32H8C3.58172 32 0 28.4183 0 24V8Z", fill: "white" }),
7912
- /* @__PURE__ */ jsx15("path", { d: "M16.7063 12.2937C16.3157 11.9031 15.6813 11.9031 15.2907 12.2937L10.2907 17.2937C9.9001 17.6843 9.9001 18.3187 10.2907 18.7093C10.6813 19.1 11.3157 19.1 11.7063 18.7093L16.0001 14.4156L20.2938 18.7062C20.6845 19.0968 21.3188 19.0968 21.7095 18.7062C22.1001 18.3156 22.1001 17.6812 21.7095 17.2906L16.7095 12.2906L16.7063 12.2937Z", fill: "#808289" })
7913
- ] }) }),
7914
- /* @__PURE__ */ jsx15(TextField, { value: unit === "hours" ? hours : minutes, onChange: (e) => handleInputValue(e.target.value), type: "text", placeholder: "00", typography: "labelSmall", fontWeight: "regular", textAlign: "center", style: { padding: "4px" } }),
7915
- /* @__PURE__ */ jsx15(Button, { variant: "text", onClick: () => handleDecrement(unit), children: /* @__PURE__ */ jsxs6("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", children: [
7916
- /* @__PURE__ */ jsx15("path", { d: "M0 8C0 3.58172 3.58172 0 8 0H24C28.4183 0 32 3.58172 32 8V24C32 28.4183 28.4183 32 24 32H8C3.58172 32 0 28.4183 0 24V8Z", fill: "white" }),
7917
- /* @__PURE__ */ jsx15("path", { d: "M15.2937 19.7063C15.6843 20.0969 16.3187 20.0969 16.7093 19.7063L21.7093 14.7063C22.0999 14.3157 22.0999 13.6813 21.7093 13.2907C21.3187 12.9 20.6843 12.9 20.2937 13.2907L15.9999 17.5844L11.7062 13.2938C11.3155 12.9032 10.6812 12.9032 10.2905 13.2938C9.8999 13.6844 9.8999 14.3188 10.2905 14.7094L15.2905 19.7094L15.2937 19.7063Z", fill: "#808289" })
7918
- ] }) })
7919
- ] }, unit)),
7855
+ ["hours", "minutes"].map((unit) => /* @__PURE__ */ jsxs6(
7856
+ Box,
7857
+ {
7858
+ style: {
7859
+ display: "flex",
7860
+ alignItems: "center",
7861
+ flexDirection: "column"
7862
+ },
7863
+ children: [
7864
+ /* @__PURE__ */ jsx15(
7865
+ Button,
7866
+ {
7867
+ variant: "text",
7868
+ onClick: () => handleIncrement(unit),
7869
+ children: /* @__PURE__ */ jsxs6(
7870
+ "svg",
7871
+ {
7872
+ xmlns: "http://www.w3.org/2000/svg",
7873
+ width: "32",
7874
+ height: "32",
7875
+ viewBox: "0 0 32 32",
7876
+ fill: "none",
7877
+ children: [
7878
+ /* @__PURE__ */ jsx15(
7879
+ "path",
7880
+ {
7881
+ d: "M0 8C0 3.58172 3.58172 0 8 0H24C28.4183 0 32 3.58172 32 8V24C32 28.4183 28.4183 32 24 32H8C3.58172 32 0 28.4183 0 24V8Z",
7882
+ fill: "white"
7883
+ }
7884
+ ),
7885
+ /* @__PURE__ */ jsx15(
7886
+ "path",
7887
+ {
7888
+ d: "M16.7063 12.2937C16.3157 11.9031 15.6813 11.9031 15.2907 12.2937L10.2907 17.2937C9.9001 17.6843 9.9001 18.3187 10.2907 18.7093C10.6813 19.1 11.3157 19.1 11.7063 18.7093L16.0001 14.4156L20.2938 18.7062C20.6845 19.0968 21.3188 19.0968 21.7095 18.7062C22.1001 18.3156 22.1001 17.6812 21.7095 17.2906L16.7095 12.2906L16.7063 12.2937Z",
7889
+ fill: "#808289"
7890
+ }
7891
+ )
7892
+ ]
7893
+ }
7894
+ )
7895
+ }
7896
+ ),
7897
+ /* @__PURE__ */ jsx15(
7898
+ TextField,
7899
+ {
7900
+ value: unit === "hours" ? hours : minutes,
7901
+ onChange: (e) => handleInputValue(e.target.value),
7902
+ type: "text",
7903
+ placeholder: "00",
7904
+ typography: "labelSmall",
7905
+ fontWeight: "regular",
7906
+ textAlign: "center",
7907
+ style: { padding: "4px" }
7908
+ }
7909
+ ),
7910
+ /* @__PURE__ */ jsx15(
7911
+ Button,
7912
+ {
7913
+ variant: "text",
7914
+ onClick: () => handleDecrement(unit),
7915
+ children: /* @__PURE__ */ jsxs6(
7916
+ "svg",
7917
+ {
7918
+ xmlns: "http://www.w3.org/2000/svg",
7919
+ width: "32",
7920
+ height: "32",
7921
+ viewBox: "0 0 32 32",
7922
+ fill: "none",
7923
+ children: [
7924
+ /* @__PURE__ */ jsx15(
7925
+ "path",
7926
+ {
7927
+ d: "M0 8C0 3.58172 3.58172 0 8 0H24C28.4183 0 32 3.58172 32 8V24C32 28.4183 28.4183 32 24 32H8C3.58172 32 0 28.4183 0 24V8Z",
7928
+ fill: "white"
7929
+ }
7930
+ ),
7931
+ /* @__PURE__ */ jsx15(
7932
+ "path",
7933
+ {
7934
+ d: "M15.2937 19.7063C15.6843 20.0969 16.3187 20.0969 16.7093 19.7063L21.7093 14.7063C22.0999 14.3157 22.0999 13.6813 21.7093 13.2907C21.3187 12.9 20.6843 12.9 20.2937 13.2907L15.9999 17.5844L11.7062 13.2938C11.3155 12.9032 10.6812 12.9032 10.2905 13.2938C9.8999 13.6844 9.8999 14.3188 10.2905 14.7094L15.2905 19.7094L15.2937 19.7063Z",
7935
+ fill: "#808289"
7936
+ }
7937
+ )
7938
+ ]
7939
+ }
7940
+ )
7941
+ }
7942
+ )
7943
+ ]
7944
+ },
7945
+ unit
7946
+ )),
7920
7947
  /* @__PURE__ */ jsx15(Text, { children: ":" })
7921
7948
  ] }),
7922
7949
  /* @__PURE__ */ jsx15(TimePickerFooterStyled, { children: /* @__PURE__ */ jsx15(TimePickerRadix.Close, { children: /* @__PURE__ */ jsx15(
@@ -8549,6 +8576,7 @@ export {
8549
8576
  TimePickerDialogStyled,
8550
8577
  TimePickerFooterStyled,
8551
8578
  TimePickerStyled,
8579
+ TimePickerTitleStyled,
8552
8580
  TimerPickerContentStyled
8553
8581
  };
8554
8582
  /*! Bundled license information: