@marigold/components 7.7.2 → 7.8.0

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
@@ -1453,27 +1453,63 @@ var Footer = ({ children, variant, size, ...props }) => {
1453
1453
  // src/Form/Form.tsx
1454
1454
  import { Form } from "react-aria-components";
1455
1455
 
1456
+ // src/Grid/Grid.tsx
1457
+ import { cn as cn24, gapSpace as gapSpace5, height as twHeight } from "@marigold/system";
1458
+
1459
+ // src/Grid/GridArea.tsx
1460
+ import { jsx as jsx38 } from "react/jsx-runtime";
1461
+ var GridArea = ({ name, children }) => /* @__PURE__ */ jsx38("div", { style: { gridArea: name }, children });
1462
+
1463
+ // src/Grid/Grid.tsx
1464
+ import { jsx as jsx39 } from "react/jsx-runtime";
1465
+ var parseGridAreas = (areas) => areas.map((area) => `"${area}"`).join("\n");
1466
+ var parseTemplateValue = (values) => values.map((val) => typeof val === "number" ? `${val}fr` : val).join(" ");
1467
+ var Grid = ({
1468
+ children,
1469
+ areas,
1470
+ columns,
1471
+ rows,
1472
+ height = "auto",
1473
+ space = 0,
1474
+ ...props
1475
+ }) => {
1476
+ return /* @__PURE__ */ jsx39(
1477
+ "div",
1478
+ {
1479
+ className: cn24("grid", gapSpace5[space], twHeight[height]),
1480
+ style: {
1481
+ gridTemplateAreas: parseGridAreas(areas),
1482
+ gridTemplateColumns: parseTemplateValue(columns),
1483
+ gridTemplateRows: parseTemplateValue(rows)
1484
+ },
1485
+ ...props,
1486
+ children
1487
+ }
1488
+ );
1489
+ };
1490
+ Grid.Area = GridArea;
1491
+
1456
1492
  // src/Header/Header.tsx
1457
1493
  import { Header } from "react-aria-components";
1458
1494
  import { useClassNames as useClassNames21 } from "@marigold/system";
1459
- import { jsx as jsx38 } from "react/jsx-runtime";
1495
+ import { jsx as jsx40 } from "react/jsx-runtime";
1460
1496
  var _Header = ({ variant, size, ...props }) => {
1461
1497
  const classNames2 = useClassNames21({
1462
1498
  component: "Header",
1463
1499
  variant,
1464
1500
  size
1465
1501
  });
1466
- return /* @__PURE__ */ jsx38(Header, { className: classNames2, ...props, children: props.children });
1502
+ return /* @__PURE__ */ jsx40(Header, { className: classNames2, ...props, children: props.children });
1467
1503
  };
1468
1504
 
1469
1505
  // src/Image/Image.tsx
1470
1506
  import {
1471
- cn as cn24,
1507
+ cn as cn25,
1472
1508
  objectFit,
1473
1509
  objectPosition,
1474
1510
  useClassNames as useClassNames22
1475
1511
  } from "@marigold/system";
1476
- import { jsx as jsx39 } from "react/jsx-runtime";
1512
+ import { jsx as jsx41 } from "react/jsx-runtime";
1477
1513
  var Image = ({
1478
1514
  variant,
1479
1515
  size,
@@ -1482,12 +1518,12 @@ var Image = ({
1482
1518
  ...props
1483
1519
  }) => {
1484
1520
  const classNames2 = useClassNames22({ component: "Image", variant, size });
1485
- return /* @__PURE__ */ jsx39(
1521
+ return /* @__PURE__ */ jsx41(
1486
1522
  "img",
1487
1523
  {
1488
1524
  ...props,
1489
1525
  alt: props.alt,
1490
- className: cn24(
1526
+ className: cn25(
1491
1527
  fit !== "none" && "h-full w-full",
1492
1528
  classNames2,
1493
1529
  objectFit[fit],
@@ -1500,10 +1536,10 @@ var Image = ({
1500
1536
  // src/Inline/Inline.tsx
1501
1537
  import {
1502
1538
  alignment as alignment2,
1503
- cn as cn25,
1504
- gapSpace as gapSpace5
1539
+ cn as cn26,
1540
+ gapSpace as gapSpace6
1505
1541
  } from "@marigold/system";
1506
- import { jsx as jsx40 } from "react/jsx-runtime";
1542
+ import { jsx as jsx42 } from "react/jsx-runtime";
1507
1543
  var Inline = ({
1508
1544
  space = 0,
1509
1545
  orientation,
@@ -1513,13 +1549,13 @@ var Inline = ({
1513
1549
  ...props
1514
1550
  }) => {
1515
1551
  var _a2, _b2, _c, _d;
1516
- return /* @__PURE__ */ jsx40(
1552
+ return /* @__PURE__ */ jsx42(
1517
1553
  "div",
1518
1554
  {
1519
1555
  ...props,
1520
- className: cn25(
1556
+ className: cn26(
1521
1557
  "flex flex-wrap",
1522
- gapSpace5[space],
1558
+ gapSpace6[space],
1523
1559
  alignX && ((_b2 = (_a2 = alignment2) == null ? void 0 : _a2.horizontal) == null ? void 0 : _b2.alignmentX[alignX]),
1524
1560
  alignY && ((_d = (_c = alignment2) == null ? void 0 : _c.horizontal) == null ? void 0 : _d.alignmentY[alignY])
1525
1561
  ),
@@ -1538,10 +1574,10 @@ import { useClassNames as useClassNames23 } from "@marigold/system";
1538
1574
 
1539
1575
  // src/DateField/DateSegment.tsx
1540
1576
  import { DateSegment } from "react-aria-components";
1541
- import { cn as cn26 } from "@marigold/system";
1542
- import { Fragment as Fragment4, jsx as jsx41, jsxs as jsxs14 } from "react/jsx-runtime";
1577
+ import { cn as cn27 } from "@marigold/system";
1578
+ import { Fragment as Fragment4, jsx as jsx43, jsxs as jsxs14 } from "react/jsx-runtime";
1543
1579
  var _DateSegment = ({ segment, ...props }) => {
1544
- return /* @__PURE__ */ jsx41(
1580
+ return /* @__PURE__ */ jsx43(
1545
1581
  DateSegment,
1546
1582
  {
1547
1583
  ...props,
@@ -1550,30 +1586,30 @@ var _DateSegment = ({ segment, ...props }) => {
1550
1586
  minWidth: segment.maxValue != null ? `${String(segment.maxValue).length}ch` : void 0
1551
1587
  },
1552
1588
  children: ({ text, placeholder, isPlaceholder }) => /* @__PURE__ */ jsxs14(Fragment4, { children: [
1553
- /* @__PURE__ */ jsx41(
1589
+ /* @__PURE__ */ jsx43(
1554
1590
  "span",
1555
1591
  {
1556
1592
  "aria-hidden": "true",
1557
- className: cn26(
1593
+ className: cn27(
1558
1594
  isPlaceholder ? "visible block" : "invisible hidden",
1559
1595
  "pointer-events-none w-full text-center"
1560
1596
  ),
1561
1597
  children: isPlaceholder && (placeholder == null ? void 0 : placeholder.toUpperCase())
1562
1598
  }
1563
1599
  ),
1564
- /* @__PURE__ */ jsx41("span", { children: isPlaceholder ? "" : segment.type === "month" || segment.type === "day" ? segment.text.padStart(2, "0") : text })
1600
+ /* @__PURE__ */ jsx43("span", { children: isPlaceholder ? "" : segment.type === "month" || segment.type === "day" ? segment.text.padStart(2, "0") : text })
1565
1601
  ] })
1566
1602
  }
1567
1603
  );
1568
1604
  };
1569
1605
 
1570
1606
  // src/DateField/DateInput.tsx
1571
- import { jsx as jsx42, jsxs as jsxs15 } from "react/jsx-runtime";
1607
+ import { jsx as jsx44, jsxs as jsxs15 } from "react/jsx-runtime";
1572
1608
  var _DateInput = ({ variant, size, action, ...props }) => {
1573
1609
  const classNames2 = useClassNames23({ component: "DateField", variant, size });
1574
1610
  return /* @__PURE__ */ jsxs15(Group, { className: classNames2.field, children: [
1575
- /* @__PURE__ */ jsx42(DateInput, { className: "flex flex-1 items-center", ...props, children: (segment) => /* @__PURE__ */ jsx42(_DateSegment, { className: classNames2.segment, segment }) }),
1576
- action ? action : /* @__PURE__ */ jsx42("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx42(
1611
+ /* @__PURE__ */ jsx44(DateInput, { className: "flex flex-1 items-center", ...props, children: (segment) => /* @__PURE__ */ jsx44(_DateSegment, { className: classNames2.segment, segment }) }),
1612
+ action ? action : /* @__PURE__ */ jsx44("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx44(
1577
1613
  "svg",
1578
1614
  {
1579
1615
  "data-testid": "action",
@@ -1581,14 +1617,14 @@ var _DateInput = ({ variant, size, action, ...props }) => {
1581
1617
  viewBox: "0 0 24 24",
1582
1618
  width: 24,
1583
1619
  height: 24,
1584
- children: /* @__PURE__ */ jsx42("path", { d: "M20.0906 19.2V6.6C20.0906 5.61 19.2806 4.8 18.2906 4.8H17.3906V3H15.5906V4.8H8.39062V3H6.59062V4.8H5.69063C4.69163 4.8 3.89962 5.61 3.89962 6.6L3.89062 19.2C3.89062 20.19 4.69163 21 5.69063 21H18.2906C19.2806 21 20.0906 20.19 20.0906 19.2ZM9.29062 11.1001H7.49061V12.9001H9.29062V11.1001ZM5.69062 8.40009H18.2906V6.60008H5.69062V8.40009ZM18.2906 10.2V19.2H5.69062V10.2H18.2906ZM14.6906 12.9001H16.4906V11.1001H14.6906V12.9001ZM12.8906 12.9001H11.0906V11.1001H12.8906V12.9001Z" })
1620
+ children: /* @__PURE__ */ jsx44("path", { d: "M20.0906 19.2V6.6C20.0906 5.61 19.2806 4.8 18.2906 4.8H17.3906V3H15.5906V4.8H8.39062V3H6.59062V4.8H5.69063C4.69163 4.8 3.89962 5.61 3.89962 6.6L3.89062 19.2C3.89062 20.19 4.69163 21 5.69063 21H18.2906C19.2806 21 20.0906 20.19 20.0906 19.2ZM9.29062 11.1001H7.49061V12.9001H9.29062V11.1001ZM5.69062 8.40009H18.2906V6.60008H5.69062V8.40009ZM18.2906 10.2V19.2H5.69062V10.2H18.2906ZM14.6906 12.9001H16.4906V11.1001H14.6906V12.9001ZM12.8906 12.9001H11.0906V11.1001H12.8906V12.9001Z" })
1585
1621
  }
1586
1622
  ) })
1587
1623
  ] });
1588
1624
  };
1589
1625
 
1590
1626
  // src/DateField/DateField.tsx
1591
- import { jsx as jsx43 } from "react/jsx-runtime";
1627
+ import { jsx as jsx45 } from "react/jsx-runtime";
1592
1628
  var _DateField = forwardRef13(
1593
1629
  ({
1594
1630
  variant,
@@ -1607,7 +1643,7 @@ var _DateField = forwardRef13(
1607
1643
  isRequired: required,
1608
1644
  ...rest
1609
1645
  };
1610
- return /* @__PURE__ */ jsx43(
1646
+ return /* @__PURE__ */ jsx45(
1611
1647
  FieldBase,
1612
1648
  {
1613
1649
  as: DateField,
@@ -1615,7 +1651,7 @@ var _DateField = forwardRef13(
1615
1651
  size,
1616
1652
  ref,
1617
1653
  ...props,
1618
- children: /* @__PURE__ */ jsx43(_DateInput, { action })
1654
+ children: /* @__PURE__ */ jsx45(_DateInput, { action })
1619
1655
  }
1620
1656
  );
1621
1657
  }
@@ -1624,7 +1660,7 @@ var _DateField = forwardRef13(
1624
1660
  // src/Calendar/Calendar.tsx
1625
1661
  import { useState } from "react";
1626
1662
  import { Calendar } from "react-aria-components";
1627
- import { cn as cn30, useClassNames as useClassNames28 } from "@marigold/system";
1663
+ import { cn as cn31, useClassNames as useClassNames28 } from "@marigold/system";
1628
1664
 
1629
1665
  // src/Calendar/CalendarGrid.tsx
1630
1666
  import {
@@ -1632,7 +1668,7 @@ import {
1632
1668
  CalendarGrid,
1633
1669
  CalendarGridBody
1634
1670
  } from "react-aria-components";
1635
- import { cn as cn27, useClassNames as useClassNames25 } from "@marigold/system";
1671
+ import { cn as cn28, useClassNames as useClassNames25 } from "@marigold/system";
1636
1672
 
1637
1673
  // src/Calendar/CalendarGridHeader.tsx
1638
1674
  import { startOfWeek, today } from "@internationalized/date";
@@ -1641,7 +1677,7 @@ import { CalendarStateContext } from "react-aria-components";
1641
1677
  import { useCalendarGrid } from "@react-aria/calendar";
1642
1678
  import { useDateFormatter, useLocale } from "@react-aria/i18n";
1643
1679
  import { useClassNames as useClassNames24 } from "@marigold/system";
1644
- import { jsx as jsx44 } from "react/jsx-runtime";
1680
+ import { jsx as jsx46 } from "react/jsx-runtime";
1645
1681
  function CalendarGridHeader(props) {
1646
1682
  const state = useContext7(CalendarStateContext);
1647
1683
  const { headerProps } = useCalendarGrid(props, state);
@@ -1659,20 +1695,20 @@ function CalendarGridHeader(props) {
1659
1695
  });
1660
1696
  }, [locale, state.timeZone, dayFormatter]);
1661
1697
  const classNames2 = useClassNames24({ component: "Calendar" });
1662
- return /* @__PURE__ */ jsx44("thead", { ...headerProps, children: /* @__PURE__ */ jsx44("tr", { children: weekDays.map((day, index) => /* @__PURE__ */ jsx44("th", { className: classNames2.calendarHeader, children: day.substring(0, 2) }, index)) }) });
1698
+ return /* @__PURE__ */ jsx46("thead", { ...headerProps, children: /* @__PURE__ */ jsx46("tr", { children: weekDays.map((day, index) => /* @__PURE__ */ jsx46("th", { className: classNames2.calendarHeader, children: day.substring(0, 2) }, index)) }) });
1663
1699
  }
1664
1700
 
1665
1701
  // src/Calendar/CalendarGrid.tsx
1666
- import { jsx as jsx45, jsxs as jsxs16 } from "react/jsx-runtime";
1702
+ import { jsx as jsx47, jsxs as jsxs16 } from "react/jsx-runtime";
1667
1703
  var _CalendarGrid = () => {
1668
1704
  const classNames2 = useClassNames25({ component: "Calendar" });
1669
1705
  return /* @__PURE__ */ jsxs16(CalendarGrid, { className: classNames2.calendarGrid, children: [
1670
- /* @__PURE__ */ jsx45(CalendarGridHeader, {}),
1671
- /* @__PURE__ */ jsx45(CalendarGridBody, { children: (date) => /* @__PURE__ */ jsx45(
1706
+ /* @__PURE__ */ jsx47(CalendarGridHeader, {}),
1707
+ /* @__PURE__ */ jsx47(CalendarGridBody, { children: (date) => /* @__PURE__ */ jsx47(
1672
1708
  CalendarCell,
1673
1709
  {
1674
1710
  date,
1675
- className: cn27(
1711
+ className: cn28(
1676
1712
  "flex h-[30px] w-[30px] cursor-pointer items-center justify-center rounded-full p-[5.3px] text-sm font-normal aria-disabled:cursor-default",
1677
1713
  classNames2.calendarCell
1678
1714
  )
@@ -1685,7 +1721,7 @@ var _CalendarGrid = () => {
1685
1721
  import { useContext as useContext8 } from "react";
1686
1722
  import { CalendarStateContext as CalendarStateContext2 } from "react-aria-components";
1687
1723
  import { ChevronDown as ChevronDown2 } from "@marigold/icons";
1688
- import { cn as cn28, useClassNames as useClassNames26 } from "@marigold/system";
1724
+ import { cn as cn29, useClassNames as useClassNames26 } from "@marigold/system";
1689
1725
 
1690
1726
  // src/Calendar/useFormattedMonths.tsx
1691
1727
  import { useDateFormatter as useDateFormatter2 } from "@react-aria/i18n";
@@ -1704,7 +1740,7 @@ function useFormattedMonths(timeZone, focusedDate) {
1704
1740
  }
1705
1741
 
1706
1742
  // src/Calendar/CalendarListBox.tsx
1707
- import { jsx as jsx46, jsxs as jsxs17 } from "react/jsx-runtime";
1743
+ import { jsx as jsx48, jsxs as jsxs17 } from "react/jsx-runtime";
1708
1744
  function CalendarListBox({
1709
1745
  type,
1710
1746
  isDisabled,
@@ -1719,11 +1755,11 @@ function CalendarListBox({
1719
1755
  {
1720
1756
  disabled: isDisabled,
1721
1757
  onClick: () => setSelectedDropdown(type),
1722
- className: cn28(buttonStyles, selectClassNames),
1758
+ className: cn29(buttonStyles, selectClassNames),
1723
1759
  "data-testid": type,
1724
1760
  children: [
1725
1761
  type === "month" ? months[state.focusedDate.month - 1].substring(0, 3) : state.focusedDate.year,
1726
- /* @__PURE__ */ jsx46(ChevronDown2, {})
1762
+ /* @__PURE__ */ jsx48(ChevronDown2, {})
1727
1763
  ]
1728
1764
  }
1729
1765
  );
@@ -1732,39 +1768,39 @@ function CalendarListBox({
1732
1768
  // src/Calendar/MonthControls.tsx
1733
1769
  import { Button as Button3 } from "react-aria-components";
1734
1770
  import { ChevronLeft, ChevronRight } from "@marigold/icons";
1735
- import { cn as cn29, useClassNames as useClassNames27 } from "@marigold/system";
1736
- import { jsx as jsx47, jsxs as jsxs18 } from "react/jsx-runtime";
1771
+ import { cn as cn30, useClassNames as useClassNames27 } from "@marigold/system";
1772
+ import { jsx as jsx49, jsxs as jsxs18 } from "react/jsx-runtime";
1737
1773
  function MonthControls() {
1738
1774
  const classNames2 = useClassNames27({ component: "Calendar" });
1739
1775
  const buttonClassNames = useClassNames27({ component: "Button" });
1740
1776
  return /* @__PURE__ */ jsxs18(
1741
1777
  "div",
1742
1778
  {
1743
- className: cn29(
1779
+ className: cn30(
1744
1780
  "flex w-full flex-nowrap justify-end gap-[10px] [&_button:disabled]:cursor-not-allowed [&_button]:px-2 [&_button]:py-1",
1745
1781
  classNames2.calendarControllers
1746
1782
  ),
1747
1783
  children: [
1748
- /* @__PURE__ */ jsx47(
1784
+ /* @__PURE__ */ jsx49(
1749
1785
  Button3,
1750
1786
  {
1751
- className: cn29(
1787
+ className: cn30(
1752
1788
  "inline-flex items-center justify-center gap-[0.5ch]",
1753
1789
  buttonClassNames
1754
1790
  ),
1755
1791
  slot: "previous",
1756
- children: /* @__PURE__ */ jsx47(ChevronLeft, {})
1792
+ children: /* @__PURE__ */ jsx49(ChevronLeft, {})
1757
1793
  }
1758
1794
  ),
1759
- /* @__PURE__ */ jsx47(
1795
+ /* @__PURE__ */ jsx49(
1760
1796
  Button3,
1761
1797
  {
1762
- className: cn29(
1798
+ className: cn30(
1763
1799
  "inline-flex items-center justify-center gap-[0.5ch]",
1764
1800
  buttonClassNames
1765
1801
  ),
1766
1802
  slot: "next",
1767
- children: /* @__PURE__ */ jsx47(ChevronRight, {})
1803
+ children: /* @__PURE__ */ jsx49(ChevronRight, {})
1768
1804
  }
1769
1805
  )
1770
1806
  ]
@@ -1776,7 +1812,7 @@ var MonthControls_default = MonthControls;
1776
1812
  // src/Calendar/MonthListBox.tsx
1777
1813
  import { useContext as useContext9 } from "react";
1778
1814
  import { CalendarStateContext as CalendarStateContext3 } from "react-aria-components";
1779
- import { jsx as jsx48 } from "react/jsx-runtime";
1815
+ import { jsx as jsx50 } from "react/jsx-runtime";
1780
1816
  var MonthListBox = ({ setSelectedDropdown }) => {
1781
1817
  const state = useContext9(CalendarStateContext3);
1782
1818
  const months = useFormattedMonths(state.timeZone, state.focusedDate);
@@ -1785,13 +1821,13 @@ var MonthListBox = ({ setSelectedDropdown }) => {
1785
1821
  let date = state.focusedDate.set({ month: value });
1786
1822
  state.setFocusedDate(date);
1787
1823
  };
1788
- return /* @__PURE__ */ jsx48(
1824
+ return /* @__PURE__ */ jsx50(
1789
1825
  "ul",
1790
1826
  {
1791
1827
  "data-testid": "monthOptions",
1792
1828
  className: "grid h-full max-h-[300px] min-w-[300px] grid-cols-3 gap-y-10 overflow-y-scroll p-2",
1793
1829
  children: months.map((month, index) => {
1794
- return /* @__PURE__ */ jsx48("li", { className: "flex justify-center", children: /* @__PURE__ */ jsx48(
1830
+ return /* @__PURE__ */ jsx50("li", { className: "flex justify-center", children: /* @__PURE__ */ jsx50(
1795
1831
  _Button,
1796
1832
  {
1797
1833
  slot: "previous",
@@ -1819,7 +1855,7 @@ import {
1819
1855
  } from "react";
1820
1856
  import { CalendarStateContext as CalendarStateContext4 } from "react-aria-components";
1821
1857
  import { useDateFormatter as useDateFormatter3 } from "@react-aria/i18n";
1822
- import { jsx as jsx49 } from "react/jsx-runtime";
1858
+ import { jsx as jsx51 } from "react/jsx-runtime";
1823
1859
  var YearListBox = ({ setSelectedDropdown }) => {
1824
1860
  const state = useContext10(CalendarStateContext4);
1825
1861
  const years = [];
@@ -1849,19 +1885,19 @@ var YearListBox = ({ setSelectedDropdown }) => {
1849
1885
  let date = years[index].value;
1850
1886
  state.setFocusedDate(date);
1851
1887
  };
1852
- return /* @__PURE__ */ jsx49(
1888
+ return /* @__PURE__ */ jsx51(
1853
1889
  "ul",
1854
1890
  {
1855
1891
  "data-testid": "yearOptions",
1856
1892
  className: "grid h-full max-h-[300px] min-w-[300px] grid-cols-3 gap-y-10 overflow-y-scroll p-2",
1857
1893
  children: years.map((year, index) => {
1858
1894
  const isActive = +year.formatted === state.focusedDate.year;
1859
- return /* @__PURE__ */ jsx49("li", { className: "flex justify-center", children: /* @__PURE__ */ jsx49(
1895
+ return /* @__PURE__ */ jsx51("li", { className: "flex justify-center", children: /* @__PURE__ */ jsx51(
1860
1896
  "div",
1861
1897
  {
1862
1898
  ref: isActive ? activeButtonRef : null,
1863
1899
  style: { height: "100%", width: "100%" },
1864
- children: /* @__PURE__ */ jsx49(
1900
+ children: /* @__PURE__ */ jsx51(
1865
1901
  _Button,
1866
1902
  {
1867
1903
  slot: "previous",
@@ -1886,7 +1922,7 @@ var YearListBox = ({ setSelectedDropdown }) => {
1886
1922
  var YearListBox_default = YearListBox;
1887
1923
 
1888
1924
  // src/Calendar/Calendar.tsx
1889
- import { Fragment as Fragment5, jsx as jsx50, jsxs as jsxs19 } from "react/jsx-runtime";
1925
+ import { Fragment as Fragment5, jsx as jsx52, jsxs as jsxs19 } from "react/jsx-runtime";
1890
1926
  var _Calendar = ({
1891
1927
  disabled,
1892
1928
  readOnly,
@@ -1902,13 +1938,13 @@ var _Calendar = ({
1902
1938
  const classNames2 = useClassNames28({ component: "Calendar" });
1903
1939
  const [selectedDropdown, setSelectedDropdown] = useState();
1904
1940
  const ViewMap = {
1905
- month: /* @__PURE__ */ jsx50(MonthListBox_default, { setSelectedDropdown }),
1906
- year: /* @__PURE__ */ jsx50(YearListBox_default, { setSelectedDropdown })
1941
+ month: /* @__PURE__ */ jsx52(MonthListBox_default, { setSelectedDropdown }),
1942
+ year: /* @__PURE__ */ jsx52(YearListBox_default, { setSelectedDropdown })
1907
1943
  };
1908
- return /* @__PURE__ */ jsx50(
1944
+ return /* @__PURE__ */ jsx52(
1909
1945
  Calendar,
1910
1946
  {
1911
- className: cn30(
1947
+ className: cn31(
1912
1948
  "flex min-h-[350px] w-[360px] flex-col rounded-sm p-4",
1913
1949
  classNames2.calendar
1914
1950
  ),
@@ -1916,7 +1952,7 @@ var _Calendar = ({
1916
1952
  children: selectedDropdown ? ViewMap[selectedDropdown] : /* @__PURE__ */ jsxs19(Fragment5, { children: [
1917
1953
  /* @__PURE__ */ jsxs19("div", { className: "mb-4 flex items-center justify-between", children: [
1918
1954
  /* @__PURE__ */ jsxs19("div", { className: "flex w-full gap-4", children: [
1919
- /* @__PURE__ */ jsx50(
1955
+ /* @__PURE__ */ jsx52(
1920
1956
  CalendarListBox,
1921
1957
  {
1922
1958
  type: "month",
@@ -1924,7 +1960,7 @@ var _Calendar = ({
1924
1960
  setSelectedDropdown
1925
1961
  }
1926
1962
  ),
1927
- /* @__PURE__ */ jsx50(
1963
+ /* @__PURE__ */ jsx52(
1928
1964
  CalendarListBox,
1929
1965
  {
1930
1966
  type: "year",
@@ -1933,9 +1969,9 @@ var _Calendar = ({
1933
1969
  }
1934
1970
  )
1935
1971
  ] }),
1936
- /* @__PURE__ */ jsx50(MonthControls_default, {})
1972
+ /* @__PURE__ */ jsx52(MonthControls_default, {})
1937
1973
  ] }),
1938
- /* @__PURE__ */ jsx50(_CalendarGrid, {})
1974
+ /* @__PURE__ */ jsx52(_CalendarGrid, {})
1939
1975
  ] })
1940
1976
  }
1941
1977
  );
@@ -1944,7 +1980,7 @@ var _Calendar = ({
1944
1980
  // src/DatePicker/DatePicker.tsx
1945
1981
  import { DatePicker } from "react-aria-components";
1946
1982
  import { useClassNames as useClassNames29 } from "@marigold/system";
1947
- import { jsx as jsx51, jsxs as jsxs20 } from "react/jsx-runtime";
1983
+ import { jsx as jsx53, jsxs as jsxs20 } from "react/jsx-runtime";
1948
1984
  var _DatePicker = ({
1949
1985
  disabled,
1950
1986
  required,
@@ -1971,16 +2007,16 @@ var _DatePicker = ({
1971
2007
  variant
1972
2008
  });
1973
2009
  return /* @__PURE__ */ jsxs20(FieldBase, { as: DatePicker, variant, size, ...props, children: [
1974
- /* @__PURE__ */ jsx51(
2010
+ /* @__PURE__ */ jsx53(
1975
2011
  _DateInput,
1976
2012
  {
1977
- action: /* @__PURE__ */ jsx51("div", { className: classNames2.container, children: /* @__PURE__ */ jsx51(
2013
+ action: /* @__PURE__ */ jsx53("div", { className: classNames2.container, children: /* @__PURE__ */ jsx53(
1978
2014
  _Button,
1979
2015
  {
1980
2016
  size: "small",
1981
2017
  disabled,
1982
2018
  className: classNames2.button,
1983
- children: /* @__PURE__ */ jsx51(
2019
+ children: /* @__PURE__ */ jsx53(
1984
2020
  "svg",
1985
2021
  {
1986
2022
  "data-testid": "action",
@@ -1988,29 +2024,29 @@ var _DatePicker = ({
1988
2024
  width: 24,
1989
2025
  height: 24,
1990
2026
  fill: "currentColor",
1991
- children: /* @__PURE__ */ jsx51("path", { d: "M20.0906 19.2V6.6C20.0906 5.61 19.2806 4.8 18.2906 4.8H17.3906V3H15.5906V4.8H8.39062V3H6.59062V4.8H5.69063C4.69163 4.8 3.89962 5.61 3.89962 6.6L3.89062 19.2C3.89062 20.19 4.69163 21 5.69063 21H18.2906C19.2806 21 20.0906 20.19 20.0906 19.2ZM9.29062 11.1001H7.49061V12.9001H9.29062V11.1001ZM5.69062 8.40009H18.2906V6.60008H5.69062V8.40009ZM18.2906 10.2V19.2H5.69062V10.2H18.2906ZM14.6906 12.9001H16.4906V11.1001H14.6906V12.9001ZM12.8906 12.9001H11.0906V11.1001H12.8906V12.9001Z" })
2027
+ children: /* @__PURE__ */ jsx53("path", { d: "M20.0906 19.2V6.6C20.0906 5.61 19.2806 4.8 18.2906 4.8H17.3906V3H15.5906V4.8H8.39062V3H6.59062V4.8H5.69063C4.69163 4.8 3.89962 5.61 3.89962 6.6L3.89062 19.2C3.89062 20.19 4.69163 21 5.69063 21H18.2906C19.2806 21 20.0906 20.19 20.0906 19.2ZM9.29062 11.1001H7.49061V12.9001H9.29062V11.1001ZM5.69062 8.40009H18.2906V6.60008H5.69062V8.40009ZM18.2906 10.2V19.2H5.69062V10.2H18.2906ZM14.6906 12.9001H16.4906V11.1001H14.6906V12.9001ZM12.8906 12.9001H11.0906V11.1001H12.8906V12.9001Z" })
1992
2028
  }
1993
2029
  )
1994
2030
  }
1995
2031
  ) })
1996
2032
  }
1997
2033
  ),
1998
- /* @__PURE__ */ jsx51(_Popover, { children: /* @__PURE__ */ jsx51(_Calendar, { disabled }) })
2034
+ /* @__PURE__ */ jsx53(_Popover, { children: /* @__PURE__ */ jsx53(_Calendar, { disabled }) })
1999
2035
  ] });
2000
2036
  };
2001
2037
 
2002
2038
  // src/Inset/Inset.tsx
2003
2039
  import {
2004
- cn as cn31,
2040
+ cn as cn32,
2005
2041
  paddingSpace as paddingSpace2,
2006
2042
  paddingSpaceX as paddingSpaceX2,
2007
2043
  paddingSpaceY as paddingSpaceY2
2008
2044
  } from "@marigold/system";
2009
- import { jsx as jsx52 } from "react/jsx-runtime";
2010
- var Inset = ({ space, spaceX, spaceY, children }) => /* @__PURE__ */ jsx52(
2045
+ import { jsx as jsx54 } from "react/jsx-runtime";
2046
+ var Inset = ({ space, spaceX, spaceY, children }) => /* @__PURE__ */ jsx54(
2011
2047
  "div",
2012
2048
  {
2013
- className: cn31(
2049
+ className: cn32(
2014
2050
  space && paddingSpace2[space],
2015
2051
  !space && spaceX && paddingSpaceX2[spaceX],
2016
2052
  !space && spaceY && paddingSpaceY2[spaceY]
@@ -2023,7 +2059,7 @@ var Inset = ({ space, spaceX, spaceY, children }) => /* @__PURE__ */ jsx52(
2023
2059
  import { forwardRef as forwardRef14 } from "react";
2024
2060
  import { Link } from "react-aria-components";
2025
2061
  import { useClassNames as useClassNames30 } from "@marigold/system";
2026
- import { jsx as jsx53 } from "react/jsx-runtime";
2062
+ import { jsx as jsx55 } from "react/jsx-runtime";
2027
2063
  var _Link = forwardRef14(
2028
2064
  ({ variant, size, disabled, children, ...props }, ref) => {
2029
2065
  const classNames2 = useClassNames30({
@@ -2031,7 +2067,7 @@ var _Link = forwardRef14(
2031
2067
  variant,
2032
2068
  size
2033
2069
  });
2034
- return /* @__PURE__ */ jsx53(Link, { ...props, ref, className: classNames2, isDisabled: disabled, children });
2070
+ return /* @__PURE__ */ jsx55(Link, { ...props, ref, className: classNames2, isDisabled: disabled, children });
2035
2071
  }
2036
2072
  );
2037
2073
 
@@ -2044,14 +2080,14 @@ var ListContext = createContext5({});
2044
2080
  var useListContext = () => useContext11(ListContext);
2045
2081
 
2046
2082
  // src/List/ListItem.tsx
2047
- import { jsx as jsx54 } from "react/jsx-runtime";
2083
+ import { jsx as jsx56 } from "react/jsx-runtime";
2048
2084
  var ListItem = ({ children, ...props }) => {
2049
2085
  const { classNames: classNames2 } = useListContext();
2050
- return /* @__PURE__ */ jsx54("li", { ...props, className: classNames2, children });
2086
+ return /* @__PURE__ */ jsx56("li", { ...props, className: classNames2, children });
2051
2087
  };
2052
2088
 
2053
2089
  // src/List/List.tsx
2054
- import { jsx as jsx55 } from "react/jsx-runtime";
2090
+ import { jsx as jsx57 } from "react/jsx-runtime";
2055
2091
  var List = ({
2056
2092
  as = "ul",
2057
2093
  children,
@@ -2061,7 +2097,7 @@ var List = ({
2061
2097
  }) => {
2062
2098
  const Component = as;
2063
2099
  const classNames2 = useClassNames31({ component: "List", variant, size });
2064
- return /* @__PURE__ */ jsx55(Component, { ...props, className: classNames2[as], children: /* @__PURE__ */ jsx55(ListContext.Provider, { value: { classNames: classNames2.item }, children }) });
2100
+ return /* @__PURE__ */ jsx57(Component, { ...props, className: classNames2[as], children: /* @__PURE__ */ jsx57(ListContext.Provider, { value: { classNames: classNames2.item }, children }) });
2065
2101
  };
2066
2102
  List.Item = ListItem;
2067
2103
 
@@ -2072,26 +2108,26 @@ import { useClassNames as useClassNames34 } from "@marigold/system";
2072
2108
  // src/Menu/MenuItem.tsx
2073
2109
  import { MenuItem } from "react-aria-components";
2074
2110
  import { useClassNames as useClassNames32 } from "@marigold/system";
2075
- import { jsx as jsx56 } from "react/jsx-runtime";
2111
+ import { jsx as jsx58 } from "react/jsx-runtime";
2076
2112
  var _MenuItem = ({ children, ...props }) => {
2077
2113
  const classNames2 = useClassNames32({ component: "Menu" });
2078
- return /* @__PURE__ */ jsx56(MenuItem, { ...props, className: classNames2.item, children });
2114
+ return /* @__PURE__ */ jsx58(MenuItem, { ...props, className: classNames2.item, children });
2079
2115
  };
2080
2116
 
2081
2117
  // src/Menu/MenuSection.tsx
2082
2118
  import { Section as Section2 } from "react-aria-components";
2083
2119
  import { useClassNames as useClassNames33 } from "@marigold/system";
2084
- import { jsx as jsx57, jsxs as jsxs21 } from "react/jsx-runtime";
2120
+ import { jsx as jsx59, jsxs as jsxs21 } from "react/jsx-runtime";
2085
2121
  var _MenuSection = ({ children, title, ...props }) => {
2086
2122
  const className = useClassNames33({ component: "Menu" });
2087
2123
  return /* @__PURE__ */ jsxs21(Section2, { ...props, children: [
2088
- /* @__PURE__ */ jsx57(_Header, { className: className.section, children: title }),
2124
+ /* @__PURE__ */ jsx59(_Header, { className: className.section, children: title }),
2089
2125
  children
2090
2126
  ] });
2091
2127
  };
2092
2128
 
2093
2129
  // src/Menu/Menu.tsx
2094
- import { jsx as jsx58, jsxs as jsxs22 } from "react/jsx-runtime";
2130
+ import { jsx as jsx60, jsxs as jsxs22 } from "react/jsx-runtime";
2095
2131
  var _Menu = ({
2096
2132
  children,
2097
2133
  label,
@@ -2104,8 +2140,8 @@ var _Menu = ({
2104
2140
  }) => {
2105
2141
  const classNames2 = useClassNames34({ component: "Menu", variant, size });
2106
2142
  return /* @__PURE__ */ jsxs22(MenuTrigger, { ...props, children: [
2107
- /* @__PURE__ */ jsx58(_Button, { variant: "menu", disabled, children: label }),
2108
- /* @__PURE__ */ jsx58(_Popover, { open, placement, children: /* @__PURE__ */ jsx58(Menu, { ...props, className: classNames2.container, children }) })
2143
+ /* @__PURE__ */ jsx60(_Button, { variant: "menu", disabled, children: label }),
2144
+ /* @__PURE__ */ jsx60(_Popover, { open, placement, children: /* @__PURE__ */ jsx60(Menu, { ...props, className: classNames2.container, children }) })
2109
2145
  ] });
2110
2146
  };
2111
2147
  _Menu.Item = _MenuItem;
@@ -2114,7 +2150,7 @@ _Menu.Section = _MenuSection;
2114
2150
  // src/Menu/ActionMenu.tsx
2115
2151
  import { Menu as Menu2, MenuTrigger as MenuTrigger2 } from "react-aria-components";
2116
2152
  import { SVG as SVG4, useClassNames as useClassNames35 } from "@marigold/system";
2117
- import { jsx as jsx59, jsxs as jsxs23 } from "react/jsx-runtime";
2153
+ import { jsx as jsx61, jsxs as jsxs23 } from "react/jsx-runtime";
2118
2154
  var ActionMenu = ({
2119
2155
  variant,
2120
2156
  size,
@@ -2123,23 +2159,23 @@ var ActionMenu = ({
2123
2159
  }) => {
2124
2160
  const classNames2 = useClassNames35({ component: "Menu", variant, size });
2125
2161
  return /* @__PURE__ */ jsxs23(MenuTrigger2, { children: [
2126
- /* @__PURE__ */ jsx59(_Button, { variant: "menu", size: "small", disabled, children: /* @__PURE__ */ jsx59(SVG4, { viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx59("path", { d: "M12.0117 7.47656C13.2557 7.47656 14.2734 6.45879 14.2734 5.21484C14.2734 3.9709 13.2557 2.95312 12.0117 2.95312C10.7678 2.95312 9.75 3.9709 9.75 5.21484C9.75 6.45879 10.7678 7.47656 12.0117 7.47656ZM12.0117 9.73828C10.7678 9.73828 9.75 10.7561 9.75 12C9.75 13.2439 10.7678 14.2617 12.0117 14.2617C13.2557 14.2617 14.2734 13.2439 14.2734 12C14.2734 10.7561 13.2557 9.73828 12.0117 9.73828ZM12.0117 16.5234C10.7678 16.5234 9.75 17.5412 9.75 18.7852C9.75 20.0291 10.7678 21.0469 12.0117 21.0469C13.2557 21.0469 14.2734 20.0291 14.2734 18.7852C14.2734 17.5412 13.2557 16.5234 12.0117 16.5234Z" }) }) }),
2127
- /* @__PURE__ */ jsx59(_Popover, { children: /* @__PURE__ */ jsx59(Menu2, { ...props, className: classNames2.container, children: props.children }) })
2162
+ /* @__PURE__ */ jsx61(_Button, { variant: "menu", size: "small", disabled, children: /* @__PURE__ */ jsx61(SVG4, { viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx61("path", { d: "M12.0117 7.47656C13.2557 7.47656 14.2734 6.45879 14.2734 5.21484C14.2734 3.9709 13.2557 2.95312 12.0117 2.95312C10.7678 2.95312 9.75 3.9709 9.75 5.21484C9.75 6.45879 10.7678 7.47656 12.0117 7.47656ZM12.0117 9.73828C10.7678 9.73828 9.75 10.7561 9.75 12C9.75 13.2439 10.7678 14.2617 12.0117 14.2617C13.2557 14.2617 14.2734 13.2439 14.2734 12C14.2734 10.7561 13.2557 9.73828 12.0117 9.73828ZM12.0117 16.5234C10.7678 16.5234 9.75 17.5412 9.75 18.7852C9.75 20.0291 10.7678 21.0469 12.0117 21.0469C13.2557 21.0469 14.2734 20.0291 14.2734 18.7852C14.2734 17.5412 13.2557 16.5234 12.0117 16.5234Z" }) }) }),
2163
+ /* @__PURE__ */ jsx61(_Popover, { children: /* @__PURE__ */ jsx61(Menu2, { ...props, className: classNames2.container, children: props.children }) })
2128
2164
  ] });
2129
2165
  };
2130
2166
 
2131
2167
  // src/Message/Message.tsx
2132
2168
  import { forwardRef as forwardRef15 } from "react";
2133
- import { cn as cn32, useClassNames as useClassNames36 } from "@marigold/system";
2134
- import { jsx as jsx60, jsxs as jsxs24 } from "react/jsx-runtime";
2169
+ import { cn as cn33, useClassNames as useClassNames36 } from "@marigold/system";
2170
+ import { jsx as jsx62, jsxs as jsxs24 } from "react/jsx-runtime";
2135
2171
  var icons = {
2136
- success: () => /* @__PURE__ */ jsx60(
2172
+ success: () => /* @__PURE__ */ jsx62(
2137
2173
  "svg",
2138
2174
  {
2139
2175
  xmlns: "http://www.w3.org/2000/svg",
2140
2176
  viewBox: "0 0 24 24",
2141
2177
  fill: "currentColor",
2142
- children: /* @__PURE__ */ jsx60(
2178
+ children: /* @__PURE__ */ jsx62(
2143
2179
  "path",
2144
2180
  {
2145
2181
  fillRule: "evenodd",
@@ -2149,13 +2185,13 @@ var icons = {
2149
2185
  )
2150
2186
  }
2151
2187
  ),
2152
- info: () => /* @__PURE__ */ jsx60(
2188
+ info: () => /* @__PURE__ */ jsx62(
2153
2189
  "svg",
2154
2190
  {
2155
2191
  xmlns: "http://www.w3.org/2000/svg",
2156
2192
  viewBox: "0 0 24 24",
2157
2193
  fill: "currentColor",
2158
- children: /* @__PURE__ */ jsx60(
2194
+ children: /* @__PURE__ */ jsx62(
2159
2195
  "path",
2160
2196
  {
2161
2197
  fillRule: "evenodd",
@@ -2165,13 +2201,13 @@ var icons = {
2165
2201
  )
2166
2202
  }
2167
2203
  ),
2168
- warning: () => /* @__PURE__ */ jsx60(
2204
+ warning: () => /* @__PURE__ */ jsx62(
2169
2205
  "svg",
2170
2206
  {
2171
2207
  xmlns: "http://www.w3.org/2000/svg",
2172
2208
  viewBox: "0 0 24 24",
2173
2209
  fill: "currentColor",
2174
- children: /* @__PURE__ */ jsx60(
2210
+ children: /* @__PURE__ */ jsx62(
2175
2211
  "path",
2176
2212
  {
2177
2213
  fillRule: "evenodd",
@@ -2181,13 +2217,13 @@ var icons = {
2181
2217
  )
2182
2218
  }
2183
2219
  ),
2184
- error: () => /* @__PURE__ */ jsx60(
2220
+ error: () => /* @__PURE__ */ jsx62(
2185
2221
  "svg",
2186
2222
  {
2187
2223
  xmlns: "http://www.w3.org/2000/svg",
2188
2224
  viewBox: "0 0 24 24",
2189
2225
  fill: "currentColor",
2190
- children: /* @__PURE__ */ jsx60(
2226
+ children: /* @__PURE__ */ jsx62(
2191
2227
  "path",
2192
2228
  {
2193
2229
  fillRule: "evenodd",
@@ -2205,25 +2241,25 @@ var Message = forwardRef15(
2205
2241
  return /* @__PURE__ */ jsxs24(
2206
2242
  "div",
2207
2243
  {
2208
- className: cn32(
2244
+ className: cn33(
2209
2245
  "grid auto-rows-min grid-cols-[min-content_auto] gap-1",
2210
2246
  classNames2.container
2211
2247
  ),
2212
2248
  ref,
2213
2249
  ...props,
2214
2250
  children: [
2215
- /* @__PURE__ */ jsx60("div", { className: cn32("col-span-1 h-5 w-5 self-center", classNames2.icon), children: /* @__PURE__ */ jsx60(Icon4, {}) }),
2216
- /* @__PURE__ */ jsx60(
2251
+ /* @__PURE__ */ jsx62("div", { className: cn33("col-span-1 h-5 w-5 self-center", classNames2.icon), children: /* @__PURE__ */ jsx62(Icon4, {}) }),
2252
+ /* @__PURE__ */ jsx62(
2217
2253
  "div",
2218
2254
  {
2219
- className: cn32(
2255
+ className: cn33(
2220
2256
  "col-start-2 row-start-1 self-center",
2221
2257
  classNames2.title
2222
2258
  ),
2223
2259
  children: messageTitle
2224
2260
  }
2225
2261
  ),
2226
- /* @__PURE__ */ jsx60("div", { className: cn32("col-start-2", classNames2.content), children })
2262
+ /* @__PURE__ */ jsx62("div", { className: cn33("col-start-2", classNames2.content), children })
2227
2263
  ]
2228
2264
  }
2229
2265
  );
@@ -2236,12 +2272,12 @@ import { useListData as useListData2 } from "@react-stately/data";
2236
2272
 
2237
2273
  // src/TagGroup/Tag.tsx
2238
2274
  import { Button as Button4, Tag } from "react-aria-components";
2239
- import { cn as cn33, useClassNames as useClassNames38 } from "@marigold/system";
2275
+ import { cn as cn34, useClassNames as useClassNames38 } from "@marigold/system";
2240
2276
 
2241
2277
  // src/TagGroup/TagGroup.tsx
2242
2278
  import { TagGroup, TagList } from "react-aria-components";
2243
2279
  import { useClassNames as useClassNames37 } from "@marigold/system";
2244
- import { jsx as jsx61 } from "react/jsx-runtime";
2280
+ import { jsx as jsx63 } from "react/jsx-runtime";
2245
2281
  var _TagGroup = ({
2246
2282
  width,
2247
2283
  items,
@@ -2252,7 +2288,7 @@ var _TagGroup = ({
2252
2288
  ...rest
2253
2289
  }) => {
2254
2290
  const classNames2 = useClassNames37({ component: "Tag", variant, size });
2255
- return /* @__PURE__ */ jsx61(FieldBase, { as: TagGroup, ...rest, children: /* @__PURE__ */ jsx61(
2291
+ return /* @__PURE__ */ jsx63(FieldBase, { as: TagGroup, ...rest, children: /* @__PURE__ */ jsx63(
2256
2292
  TagList,
2257
2293
  {
2258
2294
  items,
@@ -2264,25 +2300,25 @@ var _TagGroup = ({
2264
2300
  };
2265
2301
 
2266
2302
  // src/TagGroup/Tag.tsx
2267
- import { Fragment as Fragment6, jsx as jsx62, jsxs as jsxs25 } from "react/jsx-runtime";
2303
+ import { Fragment as Fragment6, jsx as jsx64, jsxs as jsxs25 } from "react/jsx-runtime";
2268
2304
  var CloseButton2 = ({ className }) => {
2269
- return /* @__PURE__ */ jsx62(Button4, { slot: "remove", className, children: /* @__PURE__ */ jsx62("svg", { viewBox: "0 0 20 20", fill: "currentColor", width: 20, height: 20, children: /* @__PURE__ */ jsx62("path", { d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" }) }) });
2305
+ return /* @__PURE__ */ jsx64(Button4, { slot: "remove", className, children: /* @__PURE__ */ jsx64("svg", { viewBox: "0 0 20 20", fill: "currentColor", width: 20, height: 20, children: /* @__PURE__ */ jsx64("path", { d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" }) }) });
2270
2306
  };
2271
2307
  var _Tag = ({ variant, size, children, ...props }) => {
2272
2308
  let textValue = typeof children === "string" ? children : void 0;
2273
2309
  const classNames2 = useClassNames38({ component: "Tag", variant, size });
2274
- return /* @__PURE__ */ jsx62(
2310
+ return /* @__PURE__ */ jsx64(
2275
2311
  Tag,
2276
2312
  {
2277
2313
  textValue,
2278
2314
  ...props,
2279
- className: cn33("data-[selection-mode]:cursor-pointer", classNames2.tag),
2315
+ className: cn34("data-[selection-mode]:cursor-pointer", classNames2.tag),
2280
2316
  children: ({ allowsRemoving }) => /* @__PURE__ */ jsxs25(Fragment6, { children: [
2281
2317
  children,
2282
- allowsRemoving && /* @__PURE__ */ jsx62(
2318
+ allowsRemoving && /* @__PURE__ */ jsx64(
2283
2319
  CloseButton2,
2284
2320
  {
2285
- className: cn33("flex items-center", classNames2.closeButton)
2321
+ className: cn34("flex items-center", classNames2.closeButton)
2286
2322
  }
2287
2323
  )
2288
2324
  ] })
@@ -2292,7 +2328,7 @@ var _Tag = ({ variant, size, children, ...props }) => {
2292
2328
  _Tag.Group = _TagGroup;
2293
2329
 
2294
2330
  // src/Multiselect/Multiselect.tsx
2295
- import { jsx as jsx63, jsxs as jsxs26 } from "react/jsx-runtime";
2331
+ import { jsx as jsx65, jsxs as jsxs26 } from "react/jsx-runtime";
2296
2332
  var Item2 = (_) => null;
2297
2333
  var Multiselect = ({
2298
2334
  label,
@@ -2331,17 +2367,17 @@ var Multiselect = ({
2331
2367
  input.focus();
2332
2368
  };
2333
2369
  return /* @__PURE__ */ jsxs26("div", { className: "flex flex-wrap gap-1", children: [
2334
- /* @__PURE__ */ jsx63(
2370
+ /* @__PURE__ */ jsx65(
2335
2371
  _Tag.Group,
2336
2372
  {
2337
2373
  items: selected,
2338
2374
  allowsRemoving: true,
2339
2375
  onRemove: setUnselected,
2340
2376
  renderEmptyState: () => null,
2341
- children: (item) => /* @__PURE__ */ jsx63(_Tag, { id: item.id, children: item.children }, item.id)
2377
+ children: (item) => /* @__PURE__ */ jsx65(_Tag, { id: item.id, children: item.children }, item.id)
2342
2378
  }
2343
2379
  ),
2344
- /* @__PURE__ */ jsx63(
2380
+ /* @__PURE__ */ jsx65(
2345
2381
  _ComboBox,
2346
2382
  {
2347
2383
  value,
@@ -2351,7 +2387,7 @@ var Multiselect = ({
2351
2387
  disabled: unselected.length === 0,
2352
2388
  placeholder: unselected.length === 0 ? "All items selected" : "",
2353
2389
  ...props,
2354
- children: unselected.map((item) => /* @__PURE__ */ jsx63(_ComboBox.Item, { id: item.id, children: item.children }, item.id))
2390
+ children: unselected.map((item) => /* @__PURE__ */ jsx65(_ComboBox.Item, { id: item.id, children: item.children }, item.id))
2355
2391
  }
2356
2392
  )
2357
2393
  ] });
@@ -2361,13 +2397,13 @@ Multiselect.Item = Item2;
2361
2397
  // src/NumberField/NumberField.tsx
2362
2398
  import { forwardRef as forwardRef16 } from "react";
2363
2399
  import { Group as Group2, NumberField } from "react-aria-components";
2364
- import { cn as cn35, useClassNames as useClassNames39 } from "@marigold/system";
2400
+ import { cn as cn36, useClassNames as useClassNames39 } from "@marigold/system";
2365
2401
 
2366
2402
  // src/NumberField/StepButton.tsx
2367
2403
  import { Button as Button5 } from "react-aria-components";
2368
- import { cn as cn34 } from "@marigold/system";
2369
- import { jsx as jsx64 } from "react/jsx-runtime";
2370
- var Plus = () => /* @__PURE__ */ jsx64("svg", { width: 16, height: 16, viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ jsx64(
2404
+ import { cn as cn35 } from "@marigold/system";
2405
+ import { jsx as jsx66 } from "react/jsx-runtime";
2406
+ var Plus = () => /* @__PURE__ */ jsx66("svg", { width: 16, height: 16, viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ jsx66(
2371
2407
  "path",
2372
2408
  {
2373
2409
  fillRule: "evenodd",
@@ -2375,7 +2411,7 @@ var Plus = () => /* @__PURE__ */ jsx64("svg", { width: 16, height: 16, viewBox:
2375
2411
  d: "M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z"
2376
2412
  }
2377
2413
  ) });
2378
- var Minus = () => /* @__PURE__ */ jsx64("svg", { width: 16, height: 16, viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ jsx64(
2414
+ var Minus = () => /* @__PURE__ */ jsx66("svg", { width: 16, height: 16, viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ jsx66(
2379
2415
  "path",
2380
2416
  {
2381
2417
  fillRule: "evenodd",
@@ -2385,10 +2421,10 @@ var Minus = () => /* @__PURE__ */ jsx64("svg", { width: 16, height: 16, viewBox:
2385
2421
  ) });
2386
2422
  var _StepButton = ({ direction, className, ...props }) => {
2387
2423
  const Icon4 = direction === "up" ? Plus : Minus;
2388
- return /* @__PURE__ */ jsx64(
2424
+ return /* @__PURE__ */ jsx66(
2389
2425
  Button5,
2390
2426
  {
2391
- className: cn34(
2427
+ className: cn35(
2392
2428
  [
2393
2429
  "flex items-center justify-center",
2394
2430
  "cursor-pointer data-[disabled]:cursor-not-allowed"
@@ -2396,13 +2432,13 @@ var _StepButton = ({ direction, className, ...props }) => {
2396
2432
  className
2397
2433
  ),
2398
2434
  ...props,
2399
- children: /* @__PURE__ */ jsx64(Icon4, {})
2435
+ children: /* @__PURE__ */ jsx66(Icon4, {})
2400
2436
  }
2401
2437
  );
2402
2438
  };
2403
2439
 
2404
2440
  // src/NumberField/NumberField.tsx
2405
- import { jsx as jsx65, jsxs as jsxs27 } from "react/jsx-runtime";
2441
+ import { jsx as jsx67, jsxs as jsxs27 } from "react/jsx-runtime";
2406
2442
  var _NumberField = forwardRef16(
2407
2443
  ({
2408
2444
  variant,
@@ -2427,8 +2463,8 @@ var _NumberField = forwardRef16(
2427
2463
  ...rest
2428
2464
  };
2429
2465
  const showStepper = !hideStepper;
2430
- return /* @__PURE__ */ jsx65(FieldBase, { as: NumberField, ...props, children: /* @__PURE__ */ jsxs27(Group2, { className: cn35("flex items-stretch", classNames2.group), children: [
2431
- showStepper && /* @__PURE__ */ jsx65(
2466
+ return /* @__PURE__ */ jsx67(FieldBase, { as: NumberField, ...props, children: /* @__PURE__ */ jsxs27(Group2, { className: cn36("flex items-stretch", classNames2.group), children: [
2467
+ showStepper && /* @__PURE__ */ jsx67(
2432
2468
  _StepButton,
2433
2469
  {
2434
2470
  className: classNames2.stepper,
@@ -2436,7 +2472,7 @@ var _NumberField = forwardRef16(
2436
2472
  slot: "decrement"
2437
2473
  }
2438
2474
  ),
2439
- /* @__PURE__ */ jsx65("div", { className: "flex-1", children: /* @__PURE__ */ jsx65(
2475
+ /* @__PURE__ */ jsx67("div", { className: "flex-1", children: /* @__PURE__ */ jsx67(
2440
2476
  _Input,
2441
2477
  {
2442
2478
  ref,
@@ -2445,7 +2481,7 @@ var _NumberField = forwardRef16(
2445
2481
  className: classNames2.input
2446
2482
  }
2447
2483
  ) }),
2448
- showStepper && /* @__PURE__ */ jsx65(
2484
+ showStepper && /* @__PURE__ */ jsx67(
2449
2485
  _StepButton,
2450
2486
  {
2451
2487
  className: classNames2.stepper,
@@ -2462,7 +2498,7 @@ import {
2462
2498
  forwardRef as forwardRef17
2463
2499
  } from "react";
2464
2500
  import { Radio } from "react-aria-components";
2465
- import { cn as cn37, useClassNames as useClassNames41 } from "@marigold/system";
2501
+ import { cn as cn38, useClassNames as useClassNames41 } from "@marigold/system";
2466
2502
 
2467
2503
  // src/Radio/Context.ts
2468
2504
  import { createContext as createContext6, useContext as useContext12 } from "react";
@@ -2473,8 +2509,8 @@ var useRadioGroupContext = () => useContext12(RadioGroupContext);
2473
2509
 
2474
2510
  // src/Radio/RadioGroup.tsx
2475
2511
  import { RadioGroup } from "react-aria-components";
2476
- import { cn as cn36, useClassNames as useClassNames40 } from "@marigold/system";
2477
- import { jsx as jsx66 } from "react/jsx-runtime";
2512
+ import { cn as cn37, useClassNames as useClassNames40 } from "@marigold/system";
2513
+ import { jsx as jsx68 } from "react/jsx-runtime";
2478
2514
  var _RadioGroup = ({
2479
2515
  variant,
2480
2516
  size,
@@ -2498,7 +2534,7 @@ var _RadioGroup = ({
2498
2534
  isInvalid: error,
2499
2535
  ...rest
2500
2536
  };
2501
- return /* @__PURE__ */ jsx66(
2537
+ return /* @__PURE__ */ jsx68(
2502
2538
  FieldBase,
2503
2539
  {
2504
2540
  as: RadioGroup,
@@ -2509,18 +2545,18 @@ var _RadioGroup = ({
2509
2545
  variant,
2510
2546
  size,
2511
2547
  ...props,
2512
- children: /* @__PURE__ */ jsx66(
2548
+ children: /* @__PURE__ */ jsx68(
2513
2549
  "div",
2514
2550
  {
2515
2551
  role: "presentation",
2516
2552
  "data-testid": "group",
2517
2553
  "data-orientation": orientation,
2518
- className: cn36(
2554
+ className: cn37(
2519
2555
  classNames2.group,
2520
2556
  "flex items-start",
2521
2557
  orientation === "vertical" ? "flex-col gap-[0.5ch]" : "flex-row gap-[1.5ch]"
2522
2558
  ),
2523
- children: /* @__PURE__ */ jsx66(RadioGroupContext.Provider, { value: { width, variant, size }, children })
2559
+ children: /* @__PURE__ */ jsx68(RadioGroupContext.Provider, { value: { width, variant, size }, children })
2524
2560
  }
2525
2561
  )
2526
2562
  }
@@ -2528,18 +2564,18 @@ var _RadioGroup = ({
2528
2564
  };
2529
2565
 
2530
2566
  // src/Radio/Radio.tsx
2531
- import { Fragment as Fragment7, jsx as jsx67, jsxs as jsxs28 } from "react/jsx-runtime";
2532
- var Dot = () => /* @__PURE__ */ jsx67("svg", { viewBox: "0 0 6 6", children: /* @__PURE__ */ jsx67("circle", { fill: "currentColor", cx: "3", cy: "3", r: "3" }) });
2533
- var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */ jsx67(
2567
+ import { Fragment as Fragment7, jsx as jsx69, jsxs as jsxs28 } from "react/jsx-runtime";
2568
+ var Dot = () => /* @__PURE__ */ jsx69("svg", { viewBox: "0 0 6 6", children: /* @__PURE__ */ jsx69("circle", { fill: "currentColor", cx: "3", cy: "3", r: "3" }) });
2569
+ var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */ jsx69(
2534
2570
  "div",
2535
2571
  {
2536
- className: cn37(
2572
+ className: cn38(
2537
2573
  "bg-secondary-50 flex h-4 w-4 items-center justify-center rounded-[50%] border p-1",
2538
2574
  className
2539
2575
  ),
2540
2576
  "aria-hidden": "true",
2541
2577
  ...props,
2542
- children: checked ? /* @__PURE__ */ jsx67(Dot, {}) : null
2578
+ children: checked ? /* @__PURE__ */ jsx69(Dot, {}) : null
2543
2579
  }
2544
2580
  );
2545
2581
  var _Radio = forwardRef17(
@@ -2550,11 +2586,11 @@ var _Radio = forwardRef17(
2550
2586
  variant: variant || props.variant,
2551
2587
  size: size || props.size
2552
2588
  });
2553
- return /* @__PURE__ */ jsx67(
2589
+ return /* @__PURE__ */ jsx69(
2554
2590
  Radio,
2555
2591
  {
2556
2592
  ref,
2557
- className: cn37(
2593
+ className: cn38(
2558
2594
  "group/radio",
2559
2595
  "relative flex items-center gap-[1ch]",
2560
2596
  width || groupWidth || "w-full",
@@ -2564,17 +2600,17 @@ var _Radio = forwardRef17(
2564
2600
  isDisabled: disabled,
2565
2601
  ...props,
2566
2602
  children: ({ isSelected }) => /* @__PURE__ */ jsxs28(Fragment7, { children: [
2567
- /* @__PURE__ */ jsx67(
2603
+ /* @__PURE__ */ jsx69(
2568
2604
  Icon3,
2569
2605
  {
2570
2606
  checked: isSelected,
2571
- className: cn37(
2607
+ className: cn38(
2572
2608
  disabled ? "cursor-not-allowed" : "cursor-pointer",
2573
2609
  classNames2.radio
2574
2610
  )
2575
2611
  }
2576
2612
  ),
2577
- /* @__PURE__ */ jsx67("div", { className: classNames2.label, children })
2613
+ /* @__PURE__ */ jsx69("div", { className: classNames2.label, children })
2578
2614
  ] })
2579
2615
  }
2580
2616
  );
@@ -2585,7 +2621,7 @@ _Radio.Group = _RadioGroup;
2585
2621
  // src/SearchField/SearchField.tsx
2586
2622
  import { forwardRef as forwardRef18 } from "react";
2587
2623
  import { SearchField } from "react-aria-components";
2588
- import { jsx as jsx68 } from "react/jsx-runtime";
2624
+ import { jsx as jsx70 } from "react/jsx-runtime";
2589
2625
  var _SearchField = forwardRef18(
2590
2626
  ({ disabled, required, readOnly, error, action, ...rest }, ref) => {
2591
2627
  const props = {
@@ -2595,7 +2631,7 @@ var _SearchField = forwardRef18(
2595
2631
  isReadOnly: readOnly,
2596
2632
  isInvalid: error
2597
2633
  };
2598
- return /* @__PURE__ */ jsx68(FieldBase, { as: SearchField, ...props, children: /* @__PURE__ */ jsx68(
2634
+ return /* @__PURE__ */ jsx70(FieldBase, { as: SearchField, ...props, children: /* @__PURE__ */ jsx70(
2599
2635
  SearchInput,
2600
2636
  {
2601
2637
  ref,
@@ -2612,8 +2648,8 @@ import {
2612
2648
  Select,
2613
2649
  SelectValue
2614
2650
  } from "react-aria-components";
2615
- import { cn as cn38, useClassNames as useClassNames42 } from "@marigold/system";
2616
- import { jsx as jsx69, jsxs as jsxs29 } from "react/jsx-runtime";
2651
+ import { cn as cn39, useClassNames as useClassNames42 } from "@marigold/system";
2652
+ import { jsx as jsx71, jsxs as jsxs29 } from "react/jsx-runtime";
2617
2653
  var _Select = forwardRef19(
2618
2654
  ({
2619
2655
  disabled,
@@ -2639,17 +2675,17 @@ var _Select = forwardRef19(
2639
2675
  /* @__PURE__ */ jsxs29(
2640
2676
  Button6,
2641
2677
  {
2642
- className: cn38(
2678
+ className: cn39(
2643
2679
  "flex w-full items-center justify-between gap-1 overflow-hidden",
2644
2680
  classNames2.select
2645
2681
  ),
2646
2682
  children: [
2647
- /* @__PURE__ */ jsx69(SelectValue, {}),
2648
- /* @__PURE__ */ jsx69(ChevronDown, { className: "size-4" })
2683
+ /* @__PURE__ */ jsx71(SelectValue, {}),
2684
+ /* @__PURE__ */ jsx71(ChevronDown, { className: "size-4" })
2649
2685
  ]
2650
2686
  }
2651
2687
  ),
2652
- /* @__PURE__ */ jsx69(_Popover, { children: /* @__PURE__ */ jsx69(_ListBox, { items, children: props.children }) })
2688
+ /* @__PURE__ */ jsx71(_Popover, { children: /* @__PURE__ */ jsx71(_ListBox, { items, children: props.children }) })
2653
2689
  ] });
2654
2690
  }
2655
2691
  );
@@ -2661,7 +2697,7 @@ import {
2661
2697
  forwardRef as forwardRef21
2662
2698
  } from "react";
2663
2699
  import { GridList as SelectList } from "react-aria-components";
2664
- import { cn as cn40, useClassNames as useClassNames43 } from "@marigold/system";
2700
+ import { cn as cn41, useClassNames as useClassNames43 } from "@marigold/system";
2665
2701
 
2666
2702
  // src/SelectList/Context.ts
2667
2703
  import { createContext as createContext7, useContext as useContext13 } from "react";
@@ -2673,21 +2709,21 @@ var useSelectListContext = () => useContext13(SelectListContext);
2673
2709
  // src/SelectList/SelectListItem.tsx
2674
2710
  import { forwardRef as forwardRef20 } from "react";
2675
2711
  import { GridListItem as SelectListItem } from "react-aria-components";
2676
- import { cn as cn39 } from "@marigold/system";
2677
- import { Fragment as Fragment8, jsx as jsx70, jsxs as jsxs30 } from "react/jsx-runtime";
2712
+ import { cn as cn40 } from "@marigold/system";
2713
+ import { Fragment as Fragment8, jsx as jsx72, jsxs as jsxs30 } from "react/jsx-runtime";
2678
2714
  var _SelectListItem = forwardRef20(
2679
2715
  ({ children, ...props }, ref) => {
2680
2716
  let textValue = typeof children === "string" ? children : void 0;
2681
2717
  const { classNames: classNames2 } = useSelectListContext();
2682
- return /* @__PURE__ */ jsx70(
2718
+ return /* @__PURE__ */ jsx72(
2683
2719
  SelectListItem,
2684
2720
  {
2685
2721
  textValue,
2686
2722
  ...props,
2687
- className: cn39("flex items-center", classNames2 == null ? void 0 : classNames2.option),
2723
+ className: cn40("flex items-center", classNames2 == null ? void 0 : classNames2.option),
2688
2724
  ref,
2689
2725
  children: ({ selectionMode }) => /* @__PURE__ */ jsxs30(Fragment8, { children: [
2690
- selectionMode === "multiple" && /* @__PURE__ */ jsx70(FieldGroup, { children: /* @__PURE__ */ jsx70(_Checkbox, { slot: "selection" }) }),
2726
+ selectionMode === "multiple" && /* @__PURE__ */ jsx72(FieldGroup, { children: /* @__PURE__ */ jsx72(_Checkbox, { slot: "selection" }) }),
2691
2727
  children
2692
2728
  ] })
2693
2729
  }
@@ -2696,7 +2732,7 @@ var _SelectListItem = forwardRef20(
2696
2732
  );
2697
2733
 
2698
2734
  // src/SelectList/SelectList.tsx
2699
- import { jsx as jsx71 } from "react/jsx-runtime";
2735
+ import { jsx as jsx73 } from "react/jsx-runtime";
2700
2736
  var _SelectList = forwardRef21(
2701
2737
  ({ onChange, ...rest }, ref) => {
2702
2738
  const classNames2 = useClassNames43({ component: "ListBox" });
@@ -2704,12 +2740,12 @@ var _SelectList = forwardRef21(
2704
2740
  onSelectionChange: onChange,
2705
2741
  ...rest
2706
2742
  };
2707
- return /* @__PURE__ */ jsx71(SelectListContext.Provider, { value: { classNames: classNames2 }, children: /* @__PURE__ */ jsx71("div", { className: classNames2.container, children: /* @__PURE__ */ jsx71(
2743
+ return /* @__PURE__ */ jsx73(SelectListContext.Provider, { value: { classNames: classNames2 }, children: /* @__PURE__ */ jsx73("div", { className: classNames2.container, children: /* @__PURE__ */ jsx73(
2708
2744
  SelectList,
2709
2745
  {
2710
2746
  ...props,
2711
2747
  ref,
2712
- className: cn40(
2748
+ className: cn41(
2713
2749
  "overflow-y-auto sm:max-h-[75vh] lg:max-h-[45vh]",
2714
2750
  classNames2.list
2715
2751
  ),
@@ -2721,18 +2757,18 @@ var _SelectList = forwardRef21(
2721
2757
  _SelectList.Item = _SelectListItem;
2722
2758
 
2723
2759
  // src/Scrollable/Scrollable.tsx
2724
- import { cn as cn41, createVar as createVar10, width as twWidth2 } from "@marigold/system";
2725
- import { jsx as jsx72 } from "react/jsx-runtime";
2760
+ import { cn as cn42, createVar as createVar10, width as twWidth2 } from "@marigold/system";
2761
+ import { jsx as jsx74 } from "react/jsx-runtime";
2726
2762
  var Scrollable = ({
2727
2763
  children,
2728
2764
  width = "full",
2729
2765
  height,
2730
2766
  ...props
2731
- }) => /* @__PURE__ */ jsx72(
2767
+ }) => /* @__PURE__ */ jsx74(
2732
2768
  "div",
2733
2769
  {
2734
2770
  ...props,
2735
- className: cn41(["sticky h-[--height] overflow-auto", twWidth2[width]]),
2771
+ className: cn42(["sticky h-[--height] overflow-auto", twWidth2[width]]),
2736
2772
  style: createVar10({ height }),
2737
2773
  children
2738
2774
  }
@@ -2747,11 +2783,11 @@ import {
2747
2783
  SliderTrack
2748
2784
  } from "react-aria-components";
2749
2785
  import {
2750
- cn as cn42,
2786
+ cn as cn43,
2751
2787
  width as twWidth3,
2752
2788
  useClassNames as useClassNames44
2753
2789
  } from "@marigold/system";
2754
- import { jsx as jsx73, jsxs as jsxs31 } from "react/jsx-runtime";
2790
+ import { jsx as jsx75, jsxs as jsxs31 } from "react/jsx-runtime";
2755
2791
  var _Slider = forwardRef22(
2756
2792
  ({
2757
2793
  thumbLabels,
@@ -2773,7 +2809,7 @@ var _Slider = forwardRef22(
2773
2809
  return /* @__PURE__ */ jsxs31(
2774
2810
  Slider,
2775
2811
  {
2776
- className: cn42(
2812
+ className: cn43(
2777
2813
  "grid grid-cols-[auto_1fr] gap-y-1",
2778
2814
  classNames2.container,
2779
2815
  twWidth3[width]
@@ -2781,16 +2817,16 @@ var _Slider = forwardRef22(
2781
2817
  ref,
2782
2818
  ...props,
2783
2819
  children: [
2784
- /* @__PURE__ */ jsx73(_Label, { children: props.children }),
2785
- /* @__PURE__ */ jsx73(SliderOutput, { className: cn42("flex justify-end", classNames2.output), children: ({ state }) => state.values.map((_, i) => state.getThumbValueLabel(i)).join(" \u2013 ") }),
2786
- /* @__PURE__ */ jsx73(
2820
+ /* @__PURE__ */ jsx75(_Label, { children: props.children }),
2821
+ /* @__PURE__ */ jsx75(SliderOutput, { className: cn43("flex justify-end", classNames2.output), children: ({ state }) => state.values.map((_, i) => state.getThumbValueLabel(i)).join(" \u2013 ") }),
2822
+ /* @__PURE__ */ jsx75(
2787
2823
  SliderTrack,
2788
2824
  {
2789
- className: cn42("relative col-span-2 h-2 w-full", classNames2.track),
2790
- children: ({ state }) => state.values.map((_, i) => /* @__PURE__ */ jsx73(
2825
+ className: cn43("relative col-span-2 h-2 w-full", classNames2.track),
2826
+ children: ({ state }) => state.values.map((_, i) => /* @__PURE__ */ jsx75(
2791
2827
  SliderThumb,
2792
2828
  {
2793
- className: cn42("top-1/2 cursor-pointer", classNames2.thumb),
2829
+ className: cn43("top-1/2 cursor-pointer", classNames2.thumb),
2794
2830
  index: i,
2795
2831
  "aria-label": thumbLabels == null ? void 0 : thumbLabels[i]
2796
2832
  },
@@ -2805,16 +2841,16 @@ var _Slider = forwardRef22(
2805
2841
  );
2806
2842
 
2807
2843
  // src/Split/Split.tsx
2808
- import { jsx as jsx74 } from "react/jsx-runtime";
2809
- var Split = (props) => /* @__PURE__ */ jsx74("div", { ...props, role: "separator", className: "grow" });
2844
+ import { jsx as jsx76 } from "react/jsx-runtime";
2845
+ var Split = (props) => /* @__PURE__ */ jsx76("div", { ...props, role: "separator", className: "grow" });
2810
2846
 
2811
2847
  // src/Stack/Stack.tsx
2812
2848
  import {
2813
2849
  alignment as alignment3,
2814
- cn as cn43,
2815
- gapSpace as gapSpace6
2850
+ cn as cn44,
2851
+ gapSpace as gapSpace7
2816
2852
  } from "@marigold/system";
2817
- import { jsx as jsx75 } from "react/jsx-runtime";
2853
+ import { jsx as jsx77 } from "react/jsx-runtime";
2818
2854
  var Stack = ({
2819
2855
  children,
2820
2856
  space = 0,
@@ -2825,12 +2861,12 @@ var Stack = ({
2825
2861
  ...props
2826
2862
  }) => {
2827
2863
  var _a, _b, _c, _d;
2828
- return /* @__PURE__ */ jsx75(
2864
+ return /* @__PURE__ */ jsx77(
2829
2865
  "div",
2830
2866
  {
2831
- className: cn43(
2867
+ className: cn44(
2832
2868
  "flex flex-col",
2833
- gapSpace6[space],
2869
+ gapSpace7[space],
2834
2870
  alignX && ((_b = (_a = alignment3) == null ? void 0 : _a.vertical) == null ? void 0 : _b.alignmentX[alignX]),
2835
2871
  alignY && ((_d = (_c = alignment3) == null ? void 0 : _c.vertical) == null ? void 0 : _d.alignmentY[alignY]),
2836
2872
  stretch && "h-full w-full"
@@ -2845,11 +2881,11 @@ var Stack = ({
2845
2881
  import { forwardRef as forwardRef23 } from "react";
2846
2882
  import { Switch } from "react-aria-components";
2847
2883
  import {
2848
- cn as cn44,
2884
+ cn as cn45,
2849
2885
  width as twWidth4,
2850
2886
  useClassNames as useClassNames45
2851
2887
  } from "@marigold/system";
2852
- import { jsx as jsx76, jsxs as jsxs32 } from "react/jsx-runtime";
2888
+ import { jsx as jsx78, jsxs as jsxs32 } from "react/jsx-runtime";
2853
2889
  var _Switch = forwardRef23(
2854
2890
  ({
2855
2891
  variant,
@@ -2873,25 +2909,25 @@ var _Switch = forwardRef23(
2873
2909
  {
2874
2910
  ...props,
2875
2911
  ref,
2876
- className: cn44(
2912
+ className: cn45(
2877
2913
  twWidth4[width],
2878
2914
  "group/switch",
2879
2915
  "flex items-center gap-[1ch]",
2880
2916
  classNames2.container
2881
2917
  ),
2882
2918
  children: [
2883
- /* @__PURE__ */ jsx76(_Label, { elementType: "span", children }),
2884
- /* @__PURE__ */ jsx76("div", { className: "relative", children: /* @__PURE__ */ jsx76(
2919
+ /* @__PURE__ */ jsx78(_Label, { elementType: "span", children }),
2920
+ /* @__PURE__ */ jsx78("div", { className: "relative", children: /* @__PURE__ */ jsx78(
2885
2921
  "div",
2886
2922
  {
2887
- className: cn44(
2923
+ className: cn45(
2888
2924
  "h-6 w-12 basis-12 rounded-3xl group-disabled/switch:cursor-not-allowed ",
2889
2925
  classNames2.track
2890
2926
  ),
2891
- children: /* @__PURE__ */ jsx76(
2927
+ children: /* @__PURE__ */ jsx78(
2892
2928
  "div",
2893
2929
  {
2894
- className: cn44(
2930
+ className: cn45(
2895
2931
  "h-[22px] w-[22px]",
2896
2932
  "cubic-bezier(.7,0,.3,1)",
2897
2933
  "absolute left-0 top-px",
@@ -2920,7 +2956,7 @@ import {
2920
2956
  Row,
2921
2957
  useTableState
2922
2958
  } from "@react-stately/table";
2923
- import { cn as cn50, useClassNames as useClassNames47 } from "@marigold/system";
2959
+ import { cn as cn51, useClassNames as useClassNames47 } from "@marigold/system";
2924
2960
 
2925
2961
  // src/Table/Context.tsx
2926
2962
  import { createContext as createContext8, useContext as useContext14 } from "react";
@@ -2929,10 +2965,10 @@ var useTableContext = () => useContext14(TableContext);
2929
2965
 
2930
2966
  // src/Table/TableBody.tsx
2931
2967
  import { useTableRowGroup } from "@react-aria/table";
2932
- import { jsx as jsx77 } from "react/jsx-runtime";
2968
+ import { jsx as jsx79 } from "react/jsx-runtime";
2933
2969
  var TableBody = ({ children }) => {
2934
2970
  const { rowGroupProps } = useTableRowGroup();
2935
- return /* @__PURE__ */ jsx77("tbody", { ...rowGroupProps, children });
2971
+ return /* @__PURE__ */ jsx79("tbody", { ...rowGroupProps, children });
2936
2972
  };
2937
2973
 
2938
2974
  // src/Table/TableCell.tsx
@@ -2940,8 +2976,8 @@ import { useRef as useRef4 } from "react";
2940
2976
  import { useFocusRing as useFocusRing2 } from "@react-aria/focus";
2941
2977
  import { useTableCell } from "@react-aria/table";
2942
2978
  import { mergeProps as mergeProps3 } from "@react-aria/utils";
2943
- import { cn as cn45, useStateProps as useStateProps2 } from "@marigold/system";
2944
- import { jsx as jsx78 } from "react/jsx-runtime";
2979
+ import { cn as cn46, useStateProps as useStateProps2 } from "@marigold/system";
2980
+ import { jsx as jsx80 } from "react/jsx-runtime";
2945
2981
  var TableCell = ({ cell, align = "left" }) => {
2946
2982
  const ref = useRef4(null);
2947
2983
  const { interactive, state, classNames: classNames2 } = useTableContext();
@@ -2964,11 +3000,11 @@ var TableCell = ({ cell, align = "left" }) => {
2964
3000
  };
2965
3001
  const { focusProps, isFocusVisible } = useFocusRing2();
2966
3002
  const stateProps = useStateProps2({ disabled, focusVisible: isFocusVisible });
2967
- return /* @__PURE__ */ jsx78(
3003
+ return /* @__PURE__ */ jsx80(
2968
3004
  "td",
2969
3005
  {
2970
3006
  ref,
2971
- className: cn45(classNames2 == null ? void 0 : classNames2.cell),
3007
+ className: cn46(classNames2 == null ? void 0 : classNames2.cell),
2972
3008
  ...mergeProps3(cellProps, focusProps),
2973
3009
  ...stateProps,
2974
3010
  align,
@@ -2982,7 +3018,7 @@ import { useRef as useRef5 } from "react";
2982
3018
  import { useFocusRing as useFocusRing3 } from "@react-aria/focus";
2983
3019
  import { useTableCell as useTableCell2, useTableSelectionCheckbox } from "@react-aria/table";
2984
3020
  import { mergeProps as mergeProps4 } from "@react-aria/utils";
2985
- import { cn as cn46, useStateProps as useStateProps3 } from "@marigold/system";
3021
+ import { cn as cn47, useStateProps as useStateProps3 } from "@marigold/system";
2986
3022
 
2987
3023
  // src/Table/utils.ts
2988
3024
  var mapCheckboxProps = ({
@@ -3005,7 +3041,7 @@ var mapCheckboxProps = ({
3005
3041
  };
3006
3042
 
3007
3043
  // src/Table/TableCheckboxCell.tsx
3008
- import { jsx as jsx79 } from "react/jsx-runtime";
3044
+ import { jsx as jsx81 } from "react/jsx-runtime";
3009
3045
  var TableCheckboxCell = ({ cell }) => {
3010
3046
  const ref = useRef5(null);
3011
3047
  const { state, classNames: classNames2 } = useTableContext();
@@ -3022,14 +3058,14 @@ var TableCheckboxCell = ({ cell }) => {
3022
3058
  );
3023
3059
  const { focusProps, isFocusVisible } = useFocusRing3();
3024
3060
  const stateProps = useStateProps3({ disabled, focusVisible: isFocusVisible });
3025
- return /* @__PURE__ */ jsx79(
3061
+ return /* @__PURE__ */ jsx81(
3026
3062
  "td",
3027
3063
  {
3028
3064
  ref,
3029
- className: cn46("text-center align-middle leading-none", classNames2 == null ? void 0 : classNames2.cell),
3065
+ className: cn47("text-center align-middle leading-none", classNames2 == null ? void 0 : classNames2.cell),
3030
3066
  ...mergeProps4(gridCellProps, focusProps),
3031
3067
  ...stateProps,
3032
- children: /* @__PURE__ */ jsx79(_Checkbox, { ...checkboxProps })
3068
+ children: /* @__PURE__ */ jsx81(_Checkbox, { ...checkboxProps })
3033
3069
  }
3034
3070
  );
3035
3071
  };
@@ -3041,9 +3077,9 @@ import { useHover } from "@react-aria/interactions";
3041
3077
  import { useTableColumnHeader } from "@react-aria/table";
3042
3078
  import { mergeProps as mergeProps5 } from "@react-aria/utils";
3043
3079
  import { SortDown, SortUp } from "@marigold/icons";
3044
- import { cn as cn47, useStateProps as useStateProps4 } from "@marigold/system";
3080
+ import { cn as cn48, useStateProps as useStateProps4 } from "@marigold/system";
3045
3081
  import { width as twWidth5 } from "@marigold/system";
3046
- import { jsx as jsx80, jsxs as jsxs33 } from "react/jsx-runtime";
3082
+ import { jsx as jsx82, jsxs as jsxs33 } from "react/jsx-runtime";
3047
3083
  var TableColumnHeader = ({
3048
3084
  column,
3049
3085
  width = "auto",
@@ -3070,13 +3106,13 @@ var TableColumnHeader = ({
3070
3106
  {
3071
3107
  colSpan: column.colspan,
3072
3108
  ref,
3073
- className: cn47("cursor-default", twWidth5[width], classNames2 == null ? void 0 : classNames2.header),
3109
+ className: cn48("cursor-default", twWidth5[width], classNames2 == null ? void 0 : classNames2.header),
3074
3110
  ...mergeProps5(columnHeaderProps, hoverProps, focusProps),
3075
3111
  ...stateProps,
3076
3112
  align,
3077
3113
  children: [
3078
3114
  column.rendered,
3079
- column.props.allowsSorting && (((_a = state.sortDescriptor) == null ? void 0 : _a.column) === column.key ? ((_b = state.sortDescriptor) == null ? void 0 : _b.direction) === "ascending" ? /* @__PURE__ */ jsx80(SortUp, { className: "inline-block" }) : /* @__PURE__ */ jsx80(SortDown, { className: "inline-block" }) : /* @__PURE__ */ jsx80(SortDown, { className: "inline-block" }))
3115
+ column.props.allowsSorting && (((_a = state.sortDescriptor) == null ? void 0 : _a.column) === column.key ? ((_b = state.sortDescriptor) == null ? void 0 : _b.direction) === "ascending" ? /* @__PURE__ */ jsx82(SortUp, { className: "inline-block" }) : /* @__PURE__ */ jsx82(SortDown, { className: "inline-block" }) : /* @__PURE__ */ jsx82(SortDown, { className: "inline-block" }))
3080
3116
  ]
3081
3117
  }
3082
3118
  );
@@ -3084,10 +3120,10 @@ var TableColumnHeader = ({
3084
3120
 
3085
3121
  // src/Table/TableHeader.tsx
3086
3122
  import { useTableRowGroup as useTableRowGroup2 } from "@react-aria/table";
3087
- import { jsx as jsx81 } from "react/jsx-runtime";
3123
+ import { jsx as jsx83 } from "react/jsx-runtime";
3088
3124
  var TableHeader = ({ stickyHeader, children }) => {
3089
3125
  const { rowGroupProps } = useTableRowGroup2();
3090
- return /* @__PURE__ */ jsx81(
3126
+ return /* @__PURE__ */ jsx83(
3091
3127
  "thead",
3092
3128
  {
3093
3129
  ...rowGroupProps,
@@ -3100,12 +3136,12 @@ var TableHeader = ({ stickyHeader, children }) => {
3100
3136
  // src/Table/TableHeaderRow.tsx
3101
3137
  import { useRef as useRef7 } from "react";
3102
3138
  import { useTableHeaderRow } from "@react-aria/table";
3103
- import { jsx as jsx82 } from "react/jsx-runtime";
3139
+ import { jsx as jsx84 } from "react/jsx-runtime";
3104
3140
  var TableHeaderRow = ({ item, children }) => {
3105
3141
  const { state } = useTableContext();
3106
3142
  const ref = useRef7(null);
3107
3143
  const { rowProps } = useTableHeaderRow({ node: item }, state, ref);
3108
- return /* @__PURE__ */ jsx82("tr", { ...rowProps, ref, children });
3144
+ return /* @__PURE__ */ jsx84("tr", { ...rowProps, ref, children });
3109
3145
  };
3110
3146
 
3111
3147
  // src/Table/TableRow.tsx
@@ -3114,8 +3150,8 @@ import { useFocusRing as useFocusRing5 } from "@react-aria/focus";
3114
3150
  import { useHover as useHover2 } from "@react-aria/interactions";
3115
3151
  import { useTableRow } from "@react-aria/table";
3116
3152
  import { mergeProps as mergeProps6 } from "@react-aria/utils";
3117
- import { cn as cn48, useClassNames as useClassNames46, useStateProps as useStateProps5 } from "@marigold/system";
3118
- import { jsx as jsx83 } from "react/jsx-runtime";
3153
+ import { cn as cn49, useClassNames as useClassNames46, useStateProps as useStateProps5 } from "@marigold/system";
3154
+ import { jsx as jsx85 } from "react/jsx-runtime";
3119
3155
  var TableRow = ({ children, row }) => {
3120
3156
  const ref = useRef8(null);
3121
3157
  const { interactive, state, ...ctx } = useTableContext();
@@ -3145,11 +3181,11 @@ var TableRow = ({ children, row }) => {
3145
3181
  focusVisible: isFocusVisible,
3146
3182
  active: isPressed
3147
3183
  });
3148
- return /* @__PURE__ */ jsx83(
3184
+ return /* @__PURE__ */ jsx85(
3149
3185
  "tr",
3150
3186
  {
3151
3187
  ref,
3152
- className: cn48(
3188
+ className: cn49(
3153
3189
  [
3154
3190
  !interactive ? "cursor-text" : disabled ? "cursor-default" : "cursor-pointer"
3155
3191
  ],
@@ -3172,11 +3208,11 @@ import {
3172
3208
  } from "@react-aria/table";
3173
3209
  import { mergeProps as mergeProps7 } from "@react-aria/utils";
3174
3210
  import {
3175
- cn as cn49,
3211
+ cn as cn50,
3176
3212
  width as twWidth6,
3177
3213
  useStateProps as useStateProps6
3178
3214
  } from "@marigold/system";
3179
- import { jsx as jsx84 } from "react/jsx-runtime";
3215
+ import { jsx as jsx86 } from "react/jsx-runtime";
3180
3216
  var TableSelectAllCell = ({
3181
3217
  column,
3182
3218
  width = "auto",
@@ -3198,21 +3234,21 @@ var TableSelectAllCell = ({
3198
3234
  hover: isHovered,
3199
3235
  focusVisible: isFocusVisible
3200
3236
  });
3201
- return /* @__PURE__ */ jsx84(
3237
+ return /* @__PURE__ */ jsx86(
3202
3238
  "th",
3203
3239
  {
3204
3240
  ref,
3205
- className: cn49(twWidth6[width], [" leading-none"], classNames2 == null ? void 0 : classNames2.header),
3241
+ className: cn50(twWidth6[width], [" leading-none"], classNames2 == null ? void 0 : classNames2.header),
3206
3242
  ...mergeProps7(columnHeaderProps, hoverProps, focusProps),
3207
3243
  ...stateProps,
3208
3244
  align,
3209
- children: /* @__PURE__ */ jsx84(_Checkbox, { ...checkboxProps })
3245
+ children: /* @__PURE__ */ jsx86(_Checkbox, { ...checkboxProps })
3210
3246
  }
3211
3247
  );
3212
3248
  };
3213
3249
 
3214
3250
  // src/Table/Table.tsx
3215
- import { jsx as jsx85, jsxs as jsxs34 } from "react/jsx-runtime";
3251
+ import { jsx as jsx87, jsxs as jsxs34 } from "react/jsx-runtime";
3216
3252
  var Table = ({
3217
3253
  variant,
3218
3254
  size,
@@ -3240,7 +3276,7 @@ var Table = ({
3240
3276
  size
3241
3277
  });
3242
3278
  const { collection } = state;
3243
- return /* @__PURE__ */ jsx85(
3279
+ return /* @__PURE__ */ jsx87(
3244
3280
  TableContext.Provider,
3245
3281
  {
3246
3282
  value: { state, interactive, classNames: classNames2, variant, size },
@@ -3248,7 +3284,7 @@ var Table = ({
3248
3284
  "table",
3249
3285
  {
3250
3286
  ref: tableRef,
3251
- className: cn50(
3287
+ className: cn51(
3252
3288
  "group/table",
3253
3289
  "border-collapse whitespace-nowrap",
3254
3290
  stretch ? "table w-full" : "block",
@@ -3256,10 +3292,10 @@ var Table = ({
3256
3292
  ),
3257
3293
  ...gridProps,
3258
3294
  children: [
3259
- /* @__PURE__ */ jsx85(TableHeader, { stickyHeader, children: collection.headerRows.map((headerRow) => /* @__PURE__ */ jsx85(TableHeaderRow, { item: headerRow, children: [...collection.getChildren(headerRow.key)].map(
3295
+ /* @__PURE__ */ jsx87(TableHeader, { stickyHeader, children: collection.headerRows.map((headerRow) => /* @__PURE__ */ jsx87(TableHeaderRow, { item: headerRow, children: [...collection.getChildren(headerRow.key)].map(
3260
3296
  (column) => {
3261
3297
  var _a, _b, _c, _d, _e;
3262
- return ((_a = column.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ jsx85(
3298
+ return ((_a = column.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ jsx87(
3263
3299
  TableSelectAllCell,
3264
3300
  {
3265
3301
  width: (_b = column.props) == null ? void 0 : _b.width,
@@ -3267,7 +3303,7 @@ var Table = ({
3267
3303
  align: (_c = column.props) == null ? void 0 : _c.align
3268
3304
  },
3269
3305
  column.key
3270
- ) : /* @__PURE__ */ jsx85(
3306
+ ) : /* @__PURE__ */ jsx87(
3271
3307
  TableColumnHeader,
3272
3308
  {
3273
3309
  width: (_d = column.props) == null ? void 0 : _d.width,
@@ -3280,10 +3316,10 @@ var Table = ({
3280
3316
  ) }, headerRow.key)) }),
3281
3317
  /* @__PURE__ */ jsxs34(TableBody, { children: [
3282
3318
  ...collection.rows.map(
3283
- (row) => row.type === "item" && /* @__PURE__ */ jsx85(TableRow, { row, children: [...collection.getChildren(row.key)].map((cell, index) => {
3319
+ (row) => row.type === "item" && /* @__PURE__ */ jsx87(TableRow, { row, children: [...collection.getChildren(row.key)].map((cell, index) => {
3284
3320
  var _a, _b;
3285
3321
  const currentColumn = collection.columns[index];
3286
- return ((_a = cell.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ jsx85(TableCheckboxCell, { cell }, cell.key) : /* @__PURE__ */ jsx85(
3322
+ return ((_a = cell.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ jsx87(TableCheckboxCell, { cell }, cell.key) : /* @__PURE__ */ jsx87(
3287
3323
  TableCell,
3288
3324
  {
3289
3325
  align: (_b = currentColumn.props) == null ? void 0 : _b.align,
@@ -3308,7 +3344,7 @@ Table.Row = Row;
3308
3344
 
3309
3345
  // src/Text/Text.tsx
3310
3346
  import {
3311
- cn as cn51,
3347
+ cn as cn52,
3312
3348
  createVar as createVar11,
3313
3349
  cursorStyle,
3314
3350
  fontWeight,
@@ -3319,7 +3355,7 @@ import {
3319
3355
  useClassNames as useClassNames48,
3320
3356
  useTheme as useTheme3
3321
3357
  } from "@marigold/system";
3322
- import { jsx as jsx86 } from "react/jsx-runtime";
3358
+ import { jsx as jsx88 } from "react/jsx-runtime";
3323
3359
  var Text2 = ({
3324
3360
  variant,
3325
3361
  size,
@@ -3338,11 +3374,11 @@ var Text2 = ({
3338
3374
  variant,
3339
3375
  size
3340
3376
  });
3341
- return /* @__PURE__ */ jsx86(
3377
+ return /* @__PURE__ */ jsx88(
3342
3378
  "p",
3343
3379
  {
3344
3380
  ...props,
3345
- className: cn51(
3381
+ className: cn52(
3346
3382
  "text-[--color] outline-[--outline]",
3347
3383
  classNames2,
3348
3384
  fontStyle && textStyle[fontStyle],
@@ -3368,7 +3404,7 @@ var Text2 = ({
3368
3404
  import { forwardRef as forwardRef24 } from "react";
3369
3405
  import { TextArea, TextField } from "react-aria-components";
3370
3406
  import { useClassNames as useClassNames49 } from "@marigold/system";
3371
- import { jsx as jsx87 } from "react/jsx-runtime";
3407
+ import { jsx as jsx89 } from "react/jsx-runtime";
3372
3408
  var _TextArea = forwardRef24(
3373
3409
  ({
3374
3410
  variant,
@@ -3388,14 +3424,14 @@ var _TextArea = forwardRef24(
3388
3424
  isRequired: required,
3389
3425
  ...rest
3390
3426
  };
3391
- return /* @__PURE__ */ jsx87(FieldBase, { as: TextField, ...props, variant, size, children: /* @__PURE__ */ jsx87(TextArea, { className: classNames2, ref, rows }) });
3427
+ return /* @__PURE__ */ jsx89(FieldBase, { as: TextField, ...props, variant, size, children: /* @__PURE__ */ jsx89(TextArea, { className: classNames2, ref, rows }) });
3392
3428
  }
3393
3429
  );
3394
3430
 
3395
3431
  // src/TextField/TextField.tsx
3396
3432
  import { forwardRef as forwardRef25 } from "react";
3397
3433
  import { TextField as TextField2 } from "react-aria-components";
3398
- import { jsx as jsx88 } from "react/jsx-runtime";
3434
+ import { jsx as jsx90 } from "react/jsx-runtime";
3399
3435
  var _TextField = forwardRef25(
3400
3436
  ({
3401
3437
  variant,
@@ -3413,13 +3449,13 @@ var _TextField = forwardRef25(
3413
3449
  isRequired: required,
3414
3450
  ...rest
3415
3451
  };
3416
- return /* @__PURE__ */ jsx88(FieldBase, { as: TextField2, ...props, children: /* @__PURE__ */ jsx88(_Input, { ref }) });
3452
+ return /* @__PURE__ */ jsx90(FieldBase, { as: TextField2, ...props, children: /* @__PURE__ */ jsx90(_Input, { ref }) });
3417
3453
  }
3418
3454
  );
3419
3455
 
3420
3456
  // src/Tiles/Tiles.tsx
3421
- import { cn as cn52, createVar as createVar12, gapSpace as gapSpace7 } from "@marigold/system";
3422
- import { jsx as jsx89 } from "react/jsx-runtime";
3457
+ import { cn as cn53, createVar as createVar12, gapSpace as gapSpace8 } from "@marigold/system";
3458
+ import { jsx as jsx91 } from "react/jsx-runtime";
3423
3459
  var Tiles = ({
3424
3460
  space = 0,
3425
3461
  stretch = false,
@@ -3432,13 +3468,13 @@ var Tiles = ({
3432
3468
  if (stretch) {
3433
3469
  column = `minmax(${column}, 1fr)`;
3434
3470
  }
3435
- return /* @__PURE__ */ jsx89(
3471
+ return /* @__PURE__ */ jsx91(
3436
3472
  "div",
3437
3473
  {
3438
3474
  ...props,
3439
- className: cn52(
3475
+ className: cn53(
3440
3476
  "grid",
3441
- gapSpace7[space],
3477
+ gapSpace8[space],
3442
3478
  "grid-cols-[repeat(auto-fit,var(--column))]",
3443
3479
  equalHeight && "auto-rows-[1fr]"
3444
3480
  ),
@@ -3450,11 +3486,11 @@ var Tiles = ({
3450
3486
 
3451
3487
  // src/Tooltip/Tooltip.tsx
3452
3488
  import { OverlayArrow, Tooltip } from "react-aria-components";
3453
- import { cn as cn53, useClassNames as useClassNames50 } from "@marigold/system";
3489
+ import { cn as cn54, useClassNames as useClassNames50 } from "@marigold/system";
3454
3490
 
3455
3491
  // src/Tooltip/TooltipTrigger.tsx
3456
3492
  import { TooltipTrigger } from "react-aria-components";
3457
- import { jsx as jsx90 } from "react/jsx-runtime";
3493
+ import { jsx as jsx92 } from "react/jsx-runtime";
3458
3494
  var _TooltipTrigger = ({
3459
3495
  delay = 1e3,
3460
3496
  children,
@@ -3468,11 +3504,11 @@ var _TooltipTrigger = ({
3468
3504
  isOpen: open,
3469
3505
  delay
3470
3506
  };
3471
- return /* @__PURE__ */ jsx90(TooltipTrigger, { ...props, children });
3507
+ return /* @__PURE__ */ jsx92(TooltipTrigger, { ...props, children });
3472
3508
  };
3473
3509
 
3474
3510
  // src/Tooltip/Tooltip.tsx
3475
- import { jsx as jsx91, jsxs as jsxs35 } from "react/jsx-runtime";
3511
+ import { jsx as jsx93, jsxs as jsxs35 } from "react/jsx-runtime";
3476
3512
  var _Tooltip = ({ children, variant, size, open, ...rest }) => {
3477
3513
  const props = {
3478
3514
  ...rest,
@@ -3484,10 +3520,10 @@ var _Tooltip = ({ children, variant, size, open, ...rest }) => {
3484
3520
  Tooltip,
3485
3521
  {
3486
3522
  ...props,
3487
- className: cn53("group/tooltip", classNames2.container),
3523
+ className: cn54("group/tooltip", classNames2.container),
3488
3524
  UNSTABLE_portalContainer: portal,
3489
3525
  children: [
3490
- /* @__PURE__ */ jsx91(OverlayArrow, { className: classNames2.arrow, children: /* @__PURE__ */ jsx91("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ jsx91("path", { d: "M0 0 L4 4 L8 0" }) }) }),
3526
+ /* @__PURE__ */ jsx93(OverlayArrow, { className: classNames2.arrow, children: /* @__PURE__ */ jsx93("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ jsx93("path", { d: "M0 0 L4 4 L8 0" }) }) }),
3491
3527
  children
3492
3528
  ]
3493
3529
  }
@@ -3501,7 +3537,7 @@ import { VisuallyHidden } from "@react-aria/visually-hidden";
3501
3537
  // src/XLoader/XLoader.tsx
3502
3538
  import { forwardRef as forwardRef26 } from "react";
3503
3539
  import { SVG as SVG5 } from "@marigold/system";
3504
- import { jsx as jsx92, jsxs as jsxs36 } from "react/jsx-runtime";
3540
+ import { jsx as jsx94, jsxs as jsxs36 } from "react/jsx-runtime";
3505
3541
  var XLoader = forwardRef26((props, ref) => /* @__PURE__ */ jsxs36(
3506
3542
  SVG5,
3507
3543
  {
@@ -3512,13 +3548,13 @@ var XLoader = forwardRef26((props, ref) => /* @__PURE__ */ jsxs36(
3512
3548
  ...props,
3513
3549
  ...ref,
3514
3550
  children: [
3515
- /* @__PURE__ */ jsx92("path", { id: "XMLID_1_", d: "M35.3 27h26.5l54 74.1H88.7z" }),
3516
- /* @__PURE__ */ jsx92(
3551
+ /* @__PURE__ */ jsx94("path", { id: "XMLID_1_", d: "M35.3 27h26.5l54 74.1H88.7z" }),
3552
+ /* @__PURE__ */ jsx94(
3517
3553
  "path",
3518
3554
  {
3519
3555
  id: "XMLID_5_",
3520
3556
  d: "M124.3 12.8h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
3521
- children: /* @__PURE__ */ jsx92(
3557
+ children: /* @__PURE__ */ jsx94(
3522
3558
  "animate",
3523
3559
  {
3524
3560
  attributeName: "opacity",
@@ -3531,12 +3567,12 @@ var XLoader = forwardRef26((props, ref) => /* @__PURE__ */ jsxs36(
3531
3567
  )
3532
3568
  }
3533
3569
  ),
3534
- /* @__PURE__ */ jsx92(
3570
+ /* @__PURE__ */ jsx94(
3535
3571
  "path",
3536
3572
  {
3537
3573
  id: "XMLID_18_",
3538
3574
  d: "M115.9 24.4h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
3539
- children: /* @__PURE__ */ jsx92(
3575
+ children: /* @__PURE__ */ jsx94(
3540
3576
  "animate",
3541
3577
  {
3542
3578
  attributeName: "opacity",
@@ -3549,12 +3585,12 @@ var XLoader = forwardRef26((props, ref) => /* @__PURE__ */ jsxs36(
3549
3585
  )
3550
3586
  }
3551
3587
  ),
3552
- /* @__PURE__ */ jsx92(
3588
+ /* @__PURE__ */ jsx94(
3553
3589
  "path",
3554
3590
  {
3555
3591
  id: "XMLID_19_",
3556
3592
  d: "M107.5 35.9h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
3557
- children: /* @__PURE__ */ jsx92(
3593
+ children: /* @__PURE__ */ jsx94(
3558
3594
  "animate",
3559
3595
  {
3560
3596
  attributeName: "opacity",
@@ -3567,12 +3603,12 @@ var XLoader = forwardRef26((props, ref) => /* @__PURE__ */ jsxs36(
3567
3603
  )
3568
3604
  }
3569
3605
  ),
3570
- /* @__PURE__ */ jsx92(
3606
+ /* @__PURE__ */ jsx94(
3571
3607
  "path",
3572
3608
  {
3573
3609
  id: "XMLID_20_",
3574
3610
  d: "M99.1 47.5h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
3575
- children: /* @__PURE__ */ jsx92(
3611
+ children: /* @__PURE__ */ jsx94(
3576
3612
  "animate",
3577
3613
  {
3578
3614
  attributeName: "opacity",
@@ -3585,12 +3621,12 @@ var XLoader = forwardRef26((props, ref) => /* @__PURE__ */ jsxs36(
3585
3621
  )
3586
3622
  }
3587
3623
  ),
3588
- /* @__PURE__ */ jsx92(
3624
+ /* @__PURE__ */ jsx94(
3589
3625
  "path",
3590
3626
  {
3591
3627
  id: "XMLID_21_",
3592
3628
  d: "M90.7 59H90c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.8-2.2 4.9-4.9 4.9z",
3593
- children: /* @__PURE__ */ jsx92(
3629
+ children: /* @__PURE__ */ jsx94(
3594
3630
  "animate",
3595
3631
  {
3596
3632
  attributeName: "opacity",
@@ -3603,12 +3639,12 @@ var XLoader = forwardRef26((props, ref) => /* @__PURE__ */ jsxs36(
3603
3639
  )
3604
3640
  }
3605
3641
  ),
3606
- /* @__PURE__ */ jsx92(
3642
+ /* @__PURE__ */ jsx94(
3607
3643
  "path",
3608
3644
  {
3609
3645
  id: "XMLID_22_",
3610
3646
  d: "M68 89.8h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.8c0 2.6-2.2 4.8-4.9 4.8z",
3611
- children: /* @__PURE__ */ jsx92(
3647
+ children: /* @__PURE__ */ jsx94(
3612
3648
  "animate",
3613
3649
  {
3614
3650
  attributeName: "opacity",
@@ -3621,12 +3657,12 @@ var XLoader = forwardRef26((props, ref) => /* @__PURE__ */ jsxs36(
3621
3657
  )
3622
3658
  }
3623
3659
  ),
3624
- /* @__PURE__ */ jsx92(
3660
+ /* @__PURE__ */ jsx94(
3625
3661
  "path",
3626
3662
  {
3627
3663
  id: "XMLID_23_",
3628
3664
  d: "M59.6 101.4h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
3629
- children: /* @__PURE__ */ jsx92(
3665
+ children: /* @__PURE__ */ jsx94(
3630
3666
  "animate",
3631
3667
  {
3632
3668
  attributeName: "opacity",
@@ -3639,12 +3675,12 @@ var XLoader = forwardRef26((props, ref) => /* @__PURE__ */ jsxs36(
3639
3675
  )
3640
3676
  }
3641
3677
  ),
3642
- /* @__PURE__ */ jsx92(
3678
+ /* @__PURE__ */ jsx94(
3643
3679
  "path",
3644
3680
  {
3645
3681
  id: "XMLID_24_",
3646
3682
  d: "M51.2 112.9h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.8-2.2 4.9-4.9 4.9z",
3647
- children: /* @__PURE__ */ jsx92(
3683
+ children: /* @__PURE__ */ jsx94(
3648
3684
  "animate",
3649
3685
  {
3650
3686
  attributeName: "opacity",
@@ -3657,12 +3693,12 @@ var XLoader = forwardRef26((props, ref) => /* @__PURE__ */ jsxs36(
3657
3693
  )
3658
3694
  }
3659
3695
  ),
3660
- /* @__PURE__ */ jsx92(
3696
+ /* @__PURE__ */ jsx94(
3661
3697
  "path",
3662
3698
  {
3663
3699
  id: "XMLID_25_",
3664
3700
  d: "M42.8 124.5h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.7-2.2 4.9-4.9 4.9z",
3665
- children: /* @__PURE__ */ jsx92(
3701
+ children: /* @__PURE__ */ jsx94(
3666
3702
  "animate",
3667
3703
  {
3668
3704
  attributeName: "opacity",
@@ -3675,12 +3711,12 @@ var XLoader = forwardRef26((props, ref) => /* @__PURE__ */ jsxs36(
3675
3711
  )
3676
3712
  }
3677
3713
  ),
3678
- /* @__PURE__ */ jsx92(
3714
+ /* @__PURE__ */ jsx94(
3679
3715
  "path",
3680
3716
  {
3681
3717
  id: "XMLID_26_",
3682
3718
  d: "M34.4 136h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.7-2.2 4.9-4.9 4.9z",
3683
- children: /* @__PURE__ */ jsx92(
3719
+ children: /* @__PURE__ */ jsx94(
3684
3720
  "animate",
3685
3721
  {
3686
3722
  attributeName: "opacity",
@@ -3693,12 +3729,12 @@ var XLoader = forwardRef26((props, ref) => /* @__PURE__ */ jsxs36(
3693
3729
  )
3694
3730
  }
3695
3731
  ),
3696
- /* @__PURE__ */ jsx92(
3732
+ /* @__PURE__ */ jsx94(
3697
3733
  "path",
3698
3734
  {
3699
3735
  id: "XMLID_27_",
3700
3736
  d: "M26 147.6h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.8-2.2 4.9-4.9 4.9z",
3701
- children: /* @__PURE__ */ jsx92(
3737
+ children: /* @__PURE__ */ jsx94(
3702
3738
  "animate",
3703
3739
  {
3704
3740
  attributeName: "opacity",
@@ -3726,15 +3762,15 @@ var useTabContext = () => useContext15(TabContext);
3726
3762
 
3727
3763
  // src/Tabs/Tab.tsx
3728
3764
  import { Tab } from "react-aria-components";
3729
- import { cn as cn54 } from "@marigold/system";
3730
- import { jsx as jsx93 } from "react/jsx-runtime";
3765
+ import { cn as cn55 } from "@marigold/system";
3766
+ import { jsx as jsx95 } from "react/jsx-runtime";
3731
3767
  var _Tab = (props) => {
3732
3768
  const { classNames: classNames2 } = useTabContext();
3733
- return /* @__PURE__ */ jsx93(
3769
+ return /* @__PURE__ */ jsx95(
3734
3770
  Tab,
3735
3771
  {
3736
3772
  ...props,
3737
- className: cn54(
3773
+ className: cn55(
3738
3774
  "flex cursor-pointer justify-center aria-disabled:cursor-not-allowed",
3739
3775
  classNames2.tab
3740
3776
  ),
@@ -3745,15 +3781,15 @@ var _Tab = (props) => {
3745
3781
 
3746
3782
  // src/Tabs/TabList.tsx
3747
3783
  import { TabList } from "react-aria-components";
3748
- import { cn as cn55, gapSpace as gapSpace8 } from "@marigold/system";
3749
- import { jsx as jsx94 } from "react/jsx-runtime";
3784
+ import { cn as cn56, gapSpace as gapSpace9 } from "@marigold/system";
3785
+ import { jsx as jsx96 } from "react/jsx-runtime";
3750
3786
  var _TabList = ({ space = 2, ...props }) => {
3751
3787
  const { classNames: classNames2 } = useTabContext();
3752
- return /* @__PURE__ */ jsx94(
3788
+ return /* @__PURE__ */ jsx96(
3753
3789
  TabList,
3754
3790
  {
3755
3791
  ...props,
3756
- className: cn55("flex", gapSpace8[space], classNames2.tabsList),
3792
+ className: cn56("flex", gapSpace9[space], classNames2.tabsList),
3757
3793
  children: props.children
3758
3794
  }
3759
3795
  );
@@ -3761,14 +3797,14 @@ var _TabList = ({ space = 2, ...props }) => {
3761
3797
 
3762
3798
  // src/Tabs/TabPanel.tsx
3763
3799
  import { TabPanel } from "react-aria-components";
3764
- import { jsx as jsx95 } from "react/jsx-runtime";
3800
+ import { jsx as jsx97 } from "react/jsx-runtime";
3765
3801
  var _TabPanel = (props) => {
3766
3802
  const { classNames: classNames2 } = useTabContext();
3767
- return /* @__PURE__ */ jsx95(TabPanel, { ...props, className: classNames2.tabpanel, children: props.children });
3803
+ return /* @__PURE__ */ jsx97(TabPanel, { ...props, className: classNames2.tabpanel, children: props.children });
3768
3804
  };
3769
3805
 
3770
3806
  // src/Tabs/Tabs.tsx
3771
- import { jsx as jsx96 } from "react/jsx-runtime";
3807
+ import { jsx as jsx98 } from "react/jsx-runtime";
3772
3808
  var _Tabs = ({ disabled, variant, size = "medium", ...rest }) => {
3773
3809
  const props = {
3774
3810
  isDisabled: disabled,
@@ -3779,7 +3815,7 @@ var _Tabs = ({ disabled, variant, size = "medium", ...rest }) => {
3779
3815
  size,
3780
3816
  variant
3781
3817
  });
3782
- return /* @__PURE__ */ jsx96(TabContext.Provider, { value: { classNames: classNames2 }, children: /* @__PURE__ */ jsx96(Tabs, { ...props, className: classNames2.container, children: props.children }) });
3818
+ return /* @__PURE__ */ jsx98(TabContext.Provider, { value: { classNames: classNames2 }, children: /* @__PURE__ */ jsx98(Tabs, { ...props, className: classNames2.container, children: props.children }) });
3783
3819
  };
3784
3820
  _Tabs.List = _TabList;
3785
3821
  _Tabs.TabPanel = _TabPanel;
@@ -3816,6 +3852,7 @@ export {
3816
3852
  FieldGroupContext,
3817
3853
  Footer,
3818
3854
  Form,
3855
+ Grid,
3819
3856
  _Header as Header,
3820
3857
  _Headline as Headline,
3821
3858
  I18nProvider,