@alexgorbatchev/shadcn 0.0.102 → 0.0.104
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/{chunk-519826kj.js → chunk-77k07x58.js} +1 -1
- package/dist/{chunk-9n0axzd5.js → chunk-bfv4qesg.js} +14 -2
- package/dist/{chunk-pn35mpc0.js → chunk-che2mtt5.js} +1 -1
- package/dist/{chunk-g4s1f61z.js → chunk-e1hkq1mw.js} +507 -383
- package/dist/{chunk-x9p6qh9d.js → chunk-r4r4qcyx.js} +1 -1
- package/dist/{chunk-rpjkf15t.js → chunk-sdkk4n8d.js} +1 -1
- package/dist/components/DescriptionList.d.ts +18 -0
- package/dist/components/Field.d.ts +8 -2
- package/dist/components/FilterChip.d.ts +17 -0
- package/dist/components/Message.d.ts +14 -1
- package/dist/components/assistant-ui/elements/EditMessage.js +2 -2
- package/dist/components/assistant-ui/elements/ElicitationForm.js +2 -2
- package/dist/components/assistant-ui/elements/FeedbackDialog.js +2 -2
- package/dist/components/assistant-ui/elements/ModelPicker.js +2 -2
- package/dist/components/assistant-ui/index.js +5 -5
- package/dist/components/event-calendar/index.js +1 -1
- package/dist/components/image-viewer/index.js +1 -1
- package/dist/components/input-otp/index.js +1 -1
- package/dist/components/json-render/index.js +2 -2
- package/dist/index.d.ts +5 -1
- package/dist/index.js +18 -2
- package/dist/prototype.js +1 -1
- package/llms/components/data-display/DescriptionList.md +56 -0
- package/llms/components/forms/Field.md +25 -0
- package/llms/components/forms/FilterChip.md +95 -0
- package/llms/components/messaging/Message.md +47 -1
- package/llms.txt +2 -0
- package/package.json +1 -1
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
Field2,
|
|
71
71
|
FieldLabel2,
|
|
72
72
|
FieldDescription2
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-bfv4qesg.js";
|
|
74
74
|
import {
|
|
75
75
|
Textarea2
|
|
76
76
|
} from "./chunk-9k5b62qf.js";
|
|
@@ -132,6 +132,11 @@ import {
|
|
|
132
132
|
AvatarImage2,
|
|
133
133
|
AvatarFallback2
|
|
134
134
|
} from "./chunk-0hq6rg7w.js";
|
|
135
|
+
import {
|
|
136
|
+
Collapsible2,
|
|
137
|
+
CollapsibleTrigger2,
|
|
138
|
+
CollapsibleContent2
|
|
139
|
+
} from "./chunk-fw86vanx.js";
|
|
135
140
|
import {
|
|
136
141
|
Spinner2
|
|
137
142
|
} from "./chunk-t3p4dn1p.js";
|
|
@@ -1420,13 +1425,47 @@ function ButtonGroupSeparator2({
|
|
|
1420
1425
|
...props
|
|
1421
1426
|
});
|
|
1422
1427
|
}
|
|
1428
|
+
// src/components/DescriptionList.tsx
|
|
1429
|
+
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
1430
|
+
function DescriptionList2({ density, className, ...props }) {
|
|
1431
|
+
return /* @__PURE__ */ jsx17("dl", {
|
|
1432
|
+
"data-density": density,
|
|
1433
|
+
"data-slot": "description-list",
|
|
1434
|
+
className: cn2("flex w-full min-w-0 flex-col gap-panel text-sm", className),
|
|
1435
|
+
...props
|
|
1436
|
+
});
|
|
1437
|
+
}
|
|
1438
|
+
function DescriptionListItem2({ density, className, ...props }) {
|
|
1439
|
+
return /* @__PURE__ */ jsx17("div", {
|
|
1440
|
+
"data-density": density,
|
|
1441
|
+
"data-slot": "description-list-item",
|
|
1442
|
+
className: cn2("flex min-w-0 flex-col gap-1", className),
|
|
1443
|
+
...props
|
|
1444
|
+
});
|
|
1445
|
+
}
|
|
1446
|
+
function DescriptionTerm2({ density, className, ...props }) {
|
|
1447
|
+
return /* @__PURE__ */ jsx17("dt", {
|
|
1448
|
+
"data-density": density,
|
|
1449
|
+
"data-slot": "description-term",
|
|
1450
|
+
className: cn2("min-w-0 font-medium break-words text-muted-foreground", className),
|
|
1451
|
+
...props
|
|
1452
|
+
});
|
|
1453
|
+
}
|
|
1454
|
+
function DescriptionDetails2({ density, className, ...props }) {
|
|
1455
|
+
return /* @__PURE__ */ jsx17("dd", {
|
|
1456
|
+
"data-density": density,
|
|
1457
|
+
"data-slot": "description-details",
|
|
1458
|
+
className: cn2("min-w-0 break-words whitespace-pre-wrap text-foreground", className),
|
|
1459
|
+
...props
|
|
1460
|
+
});
|
|
1461
|
+
}
|
|
1423
1462
|
// src/components/Item.tsx
|
|
1424
1463
|
import { mergeProps as mergeProps5 } from "@base-ui/react/merge-props";
|
|
1425
1464
|
import { useRender as useRender5 } from "@base-ui/react/use-render";
|
|
1426
1465
|
import { cva as cva2 } from "class-variance-authority";
|
|
1427
|
-
import { jsx as
|
|
1466
|
+
import { jsx as jsx18 } from "react/jsx-runtime";
|
|
1428
1467
|
function ItemGroup2({ density, className, ...props }) {
|
|
1429
|
-
return /* @__PURE__ */
|
|
1468
|
+
return /* @__PURE__ */ jsx18("div", {
|
|
1430
1469
|
role: "list",
|
|
1431
1470
|
"data-density": density,
|
|
1432
1471
|
"data-slot": "item-group",
|
|
@@ -1435,7 +1474,7 @@ function ItemGroup2({ density, className, ...props }) {
|
|
|
1435
1474
|
});
|
|
1436
1475
|
}
|
|
1437
1476
|
function ItemSeparator2({ density, className, ...props }) {
|
|
1438
|
-
return /* @__PURE__ */
|
|
1477
|
+
return /* @__PURE__ */ jsx18(Separator2, {
|
|
1439
1478
|
"data-density": density,
|
|
1440
1479
|
"data-slot": "item-separator",
|
|
1441
1480
|
orientation: "horizontal",
|
|
@@ -1496,7 +1535,7 @@ var itemMediaVariants = cva2("flex shrink-0 items-center justify-center gap-2 gr
|
|
|
1496
1535
|
}
|
|
1497
1536
|
});
|
|
1498
1537
|
function ItemMedia2({ density, className, variant = "default", ...props }) {
|
|
1499
|
-
return /* @__PURE__ */
|
|
1538
|
+
return /* @__PURE__ */ jsx18("div", {
|
|
1500
1539
|
"data-density": density,
|
|
1501
1540
|
"data-slot": "item-media",
|
|
1502
1541
|
"data-variant": variant,
|
|
@@ -1505,7 +1544,7 @@ function ItemMedia2({ density, className, variant = "default", ...props }) {
|
|
|
1505
1544
|
});
|
|
1506
1545
|
}
|
|
1507
1546
|
function ItemContent2({ density, className, ...props }) {
|
|
1508
|
-
return /* @__PURE__ */
|
|
1547
|
+
return /* @__PURE__ */ jsx18("div", {
|
|
1509
1548
|
"data-density": density,
|
|
1510
1549
|
"data-slot": "item-content",
|
|
1511
1550
|
className: cn2("flex flex-1 flex-col gap-1 group-data-[size=xs]/item:gap-0 [&+[data-slot=item-content]]:flex-none", className),
|
|
@@ -1513,7 +1552,7 @@ function ItemContent2({ density, className, ...props }) {
|
|
|
1513
1552
|
});
|
|
1514
1553
|
}
|
|
1515
1554
|
function ItemTitle2({ density, className, wrap = false, ...props }) {
|
|
1516
|
-
return /* @__PURE__ */
|
|
1555
|
+
return /* @__PURE__ */ jsx18("div", {
|
|
1517
1556
|
"data-density": density,
|
|
1518
1557
|
"data-slot": "item-title",
|
|
1519
1558
|
className: cn2(!wrap && "line-clamp-1", "flex w-fit items-center gap-2 text-sm leading-snug font-medium underline-offset-4", wrap && "min-w-0 max-w-full wrap-anywhere", className),
|
|
@@ -1521,7 +1560,7 @@ function ItemTitle2({ density, className, wrap = false, ...props }) {
|
|
|
1521
1560
|
});
|
|
1522
1561
|
}
|
|
1523
1562
|
function ItemDescription2({ density, className, ...props }) {
|
|
1524
|
-
return /* @__PURE__ */
|
|
1563
|
+
return /* @__PURE__ */ jsx18("p", {
|
|
1525
1564
|
"data-density": density,
|
|
1526
1565
|
"data-slot": "item-description",
|
|
1527
1566
|
className: cn2("line-clamp-2 text-start text-sm leading-normal font-normal text-muted-foreground group-data-[size=xs]/item:text-xs [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary", className),
|
|
@@ -1529,7 +1568,7 @@ function ItemDescription2({ density, className, ...props }) {
|
|
|
1529
1568
|
});
|
|
1530
1569
|
}
|
|
1531
1570
|
function ItemActions2({ density, className, ...props }) {
|
|
1532
|
-
return /* @__PURE__ */
|
|
1571
|
+
return /* @__PURE__ */ jsx18("div", {
|
|
1533
1572
|
"data-density": density,
|
|
1534
1573
|
"data-slot": "item-actions",
|
|
1535
1574
|
className: cn2("flex items-center gap-2", className),
|
|
@@ -1537,7 +1576,7 @@ function ItemActions2({ density, className, ...props }) {
|
|
|
1537
1576
|
});
|
|
1538
1577
|
}
|
|
1539
1578
|
function ItemHeader2({ density, className, ...props }) {
|
|
1540
|
-
return /* @__PURE__ */
|
|
1579
|
+
return /* @__PURE__ */ jsx18("div", {
|
|
1541
1580
|
"data-density": density,
|
|
1542
1581
|
"data-slot": "item-header",
|
|
1543
1582
|
className: cn2("flex basis-full items-center justify-between gap-2", className),
|
|
@@ -1545,7 +1584,7 @@ function ItemHeader2({ density, className, ...props }) {
|
|
|
1545
1584
|
});
|
|
1546
1585
|
}
|
|
1547
1586
|
function ItemFooter2({ density, className, ...props }) {
|
|
1548
|
-
return /* @__PURE__ */
|
|
1587
|
+
return /* @__PURE__ */ jsx18("div", {
|
|
1549
1588
|
"data-density": density,
|
|
1550
1589
|
"data-slot": "item-footer",
|
|
1551
1590
|
className: cn2("flex basis-full items-center justify-between gap-2", className),
|
|
@@ -1554,9 +1593,9 @@ function ItemFooter2({ density, className, ...props }) {
|
|
|
1554
1593
|
}
|
|
1555
1594
|
// src/components/Pagination.tsx
|
|
1556
1595
|
import { ChevronLeftIcon, ChevronRightIcon as ChevronRightIcon2, MoreHorizontalIcon as MoreHorizontalIcon2 } from "lucide-react";
|
|
1557
|
-
import { jsx as
|
|
1596
|
+
import { jsx as jsx19, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
1558
1597
|
function Pagination2({ density, className, ...props }) {
|
|
1559
|
-
return /* @__PURE__ */
|
|
1598
|
+
return /* @__PURE__ */ jsx19("nav", {
|
|
1560
1599
|
role: "navigation",
|
|
1561
1600
|
"aria-label": "pagination",
|
|
1562
1601
|
"data-density": density,
|
|
@@ -1566,7 +1605,7 @@ function Pagination2({ density, className, ...props }) {
|
|
|
1566
1605
|
});
|
|
1567
1606
|
}
|
|
1568
1607
|
function PaginationContent2({ density, className, ...props }) {
|
|
1569
|
-
return /* @__PURE__ */
|
|
1608
|
+
return /* @__PURE__ */ jsx19("ul", {
|
|
1570
1609
|
"data-density": density,
|
|
1571
1610
|
"data-slot": "pagination-content",
|
|
1572
1611
|
className: cn2("flex items-center gap-0.5", className),
|
|
@@ -1574,7 +1613,7 @@ function PaginationContent2({ density, className, ...props }) {
|
|
|
1574
1613
|
});
|
|
1575
1614
|
}
|
|
1576
1615
|
function PaginationItem2({ ...props }) {
|
|
1577
|
-
return /* @__PURE__ */
|
|
1616
|
+
return /* @__PURE__ */ jsx19("li", {
|
|
1578
1617
|
"data-slot": "pagination-item",
|
|
1579
1618
|
...props
|
|
1580
1619
|
});
|
|
@@ -1587,7 +1626,7 @@ function PaginationLink2({
|
|
|
1587
1626
|
size = "icon",
|
|
1588
1627
|
...props
|
|
1589
1628
|
}) {
|
|
1590
|
-
return /* @__PURE__ */
|
|
1629
|
+
return /* @__PURE__ */ jsx19(AnalyticsLink, {
|
|
1591
1630
|
component: "PaginationLink",
|
|
1592
1631
|
analytics,
|
|
1593
1632
|
"data-density": density,
|
|
@@ -1611,11 +1650,11 @@ function PaginationPrevious2({
|
|
|
1611
1650
|
className: cn2("ps-1.5!", className),
|
|
1612
1651
|
...props,
|
|
1613
1652
|
children: [
|
|
1614
|
-
/* @__PURE__ */
|
|
1653
|
+
/* @__PURE__ */ jsx19(ChevronLeftIcon, {
|
|
1615
1654
|
"data-icon": "inline-start",
|
|
1616
1655
|
className: "rtl:rotate-180"
|
|
1617
1656
|
}),
|
|
1618
|
-
/* @__PURE__ */
|
|
1657
|
+
/* @__PURE__ */ jsx19("span", {
|
|
1619
1658
|
className: "hidden sm:block",
|
|
1620
1659
|
children: text
|
|
1621
1660
|
})
|
|
@@ -1630,11 +1669,11 @@ function PaginationNext2({ density, className, text = "Next", ...props }) {
|
|
|
1630
1669
|
className: cn2("pe-1.5!", className),
|
|
1631
1670
|
...props,
|
|
1632
1671
|
children: [
|
|
1633
|
-
/* @__PURE__ */
|
|
1672
|
+
/* @__PURE__ */ jsx19("span", {
|
|
1634
1673
|
className: "hidden sm:block",
|
|
1635
1674
|
children: text
|
|
1636
1675
|
}),
|
|
1637
|
-
/* @__PURE__ */
|
|
1676
|
+
/* @__PURE__ */ jsx19(ChevronRightIcon2, {
|
|
1638
1677
|
"data-icon": "inline-end",
|
|
1639
1678
|
className: "rtl:rotate-180"
|
|
1640
1679
|
})
|
|
@@ -1649,8 +1688,8 @@ function PaginationEllipsis2({ density, className, ...props }) {
|
|
|
1649
1688
|
className: cn2("flex size-control items-center justify-center [&_svg:not([class*='size-'])]:size-4", className),
|
|
1650
1689
|
...props,
|
|
1651
1690
|
children: [
|
|
1652
|
-
/* @__PURE__ */
|
|
1653
|
-
/* @__PURE__ */
|
|
1691
|
+
/* @__PURE__ */ jsx19(MoreHorizontalIcon2, {}),
|
|
1692
|
+
/* @__PURE__ */ jsx19("span", {
|
|
1654
1693
|
className: "sr-only",
|
|
1655
1694
|
children: "More pages"
|
|
1656
1695
|
})
|
|
@@ -1661,9 +1700,9 @@ function PaginationEllipsis2({ density, className, ...props }) {
|
|
|
1661
1700
|
import { CheckIcon } from "lucide-react";
|
|
1662
1701
|
import { Menu as MenuPrimitive } from "@base-ui/react/menu";
|
|
1663
1702
|
import { Menubar as MenubarPrimitive } from "@base-ui/react/menubar";
|
|
1664
|
-
import { jsx as
|
|
1703
|
+
import { jsx as jsx20, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
1665
1704
|
function Menubar2({ density, className, ...props }) {
|
|
1666
|
-
return /* @__PURE__ */
|
|
1705
|
+
return /* @__PURE__ */ jsx20(MenubarPrimitive, {
|
|
1667
1706
|
"data-density": density,
|
|
1668
1707
|
"data-slot": "menubar",
|
|
1669
1708
|
className: (state) => cn2("flex h-control items-center gap-0.5 rounded-sm border p-px", typeof className === "function" ? className(state) : className),
|
|
@@ -1675,26 +1714,26 @@ function MenubarMenu2({
|
|
|
1675
1714
|
...props
|
|
1676
1715
|
}) {
|
|
1677
1716
|
const trackedOnOpenChange = useAnalyticsCallback("MenubarMenu", analytics, (open, _details) => ({ name: "ui.open-request", open }), props.onOpenChange);
|
|
1678
|
-
return /* @__PURE__ */
|
|
1717
|
+
return /* @__PURE__ */ jsx20(DropdownMenu2, {
|
|
1679
1718
|
"data-slot": "menubar-menu",
|
|
1680
1719
|
...props,
|
|
1681
1720
|
onOpenChange: trackedOnOpenChange
|
|
1682
1721
|
});
|
|
1683
1722
|
}
|
|
1684
1723
|
function MenubarGroup2({ ...props }) {
|
|
1685
|
-
return /* @__PURE__ */
|
|
1724
|
+
return /* @__PURE__ */ jsx20(MenuGroup2, {
|
|
1686
1725
|
"data-slot": "menubar-group",
|
|
1687
1726
|
...props
|
|
1688
1727
|
});
|
|
1689
1728
|
}
|
|
1690
1729
|
function MenubarPortal2({ ...props }) {
|
|
1691
|
-
return /* @__PURE__ */
|
|
1730
|
+
return /* @__PURE__ */ jsx20(MenuPortal, {
|
|
1692
1731
|
"data-slot": "menubar-portal",
|
|
1693
1732
|
...props
|
|
1694
1733
|
});
|
|
1695
1734
|
}
|
|
1696
1735
|
function MenubarTrigger2({ density, className, ...props }) {
|
|
1697
|
-
return /* @__PURE__ */
|
|
1736
|
+
return /* @__PURE__ */ jsx20(DropdownMenuTrigger2, {
|
|
1698
1737
|
"data-density": density,
|
|
1699
1738
|
"data-slot": "menubar-trigger",
|
|
1700
1739
|
className: (state) => cn2("flex h-full items-center rounded-sm px-control-x text-sm leading-none font-medium outline-hidden select-none hover:bg-muted aria-expanded:bg-muted", typeof className === "function" ? className(state) : className),
|
|
@@ -1709,7 +1748,7 @@ function MenubarContent2({
|
|
|
1709
1748
|
sideOffset = 8,
|
|
1710
1749
|
...props
|
|
1711
1750
|
}) {
|
|
1712
|
-
return /* @__PURE__ */
|
|
1751
|
+
return /* @__PURE__ */ jsx20(MenuPopup, {
|
|
1713
1752
|
density,
|
|
1714
1753
|
"data-slot": "menubar-content",
|
|
1715
1754
|
align,
|
|
@@ -1728,7 +1767,7 @@ function MenubarItem2({
|
|
|
1728
1767
|
...props
|
|
1729
1768
|
}) {
|
|
1730
1769
|
const trackedOnClick = useAnalyticsCallback("MenubarItem", analytics, { name: "ui.activate" }, props.onClick);
|
|
1731
|
-
return /* @__PURE__ */
|
|
1770
|
+
return /* @__PURE__ */ jsx20(MenuItem2, {
|
|
1732
1771
|
density,
|
|
1733
1772
|
"data-slot": "menubar-item",
|
|
1734
1773
|
inset,
|
|
@@ -1757,10 +1796,10 @@ function MenubarCheckboxItem2({
|
|
|
1757
1796
|
...props,
|
|
1758
1797
|
onCheckedChange: trackedOnCheckedChange,
|
|
1759
1798
|
children: [
|
|
1760
|
-
/* @__PURE__ */
|
|
1799
|
+
/* @__PURE__ */ jsx20("span", {
|
|
1761
1800
|
className: "pointer-events-none absolute start-1.5 flex size-4 items-center justify-center [&_svg:not([class*='size-'])]:size-4",
|
|
1762
|
-
children: /* @__PURE__ */
|
|
1763
|
-
children: /* @__PURE__ */
|
|
1801
|
+
children: /* @__PURE__ */ jsx20(MenuPrimitive.CheckboxItemIndicator, {
|
|
1802
|
+
children: /* @__PURE__ */ jsx20(CheckIcon, {})
|
|
1764
1803
|
})
|
|
1765
1804
|
}),
|
|
1766
1805
|
children
|
|
@@ -1768,7 +1807,7 @@ function MenubarCheckboxItem2({
|
|
|
1768
1807
|
});
|
|
1769
1808
|
}
|
|
1770
1809
|
function MenubarRadioGroup2({ ...props }) {
|
|
1771
|
-
return /* @__PURE__ */
|
|
1810
|
+
return /* @__PURE__ */ jsx20(MenuRadioGroup2, {
|
|
1772
1811
|
"data-slot": "menubar-radio-group",
|
|
1773
1812
|
...props
|
|
1774
1813
|
});
|
|
@@ -1781,10 +1820,10 @@ function MenubarRadioItem2({ density, className, children, inset, ...props }) {
|
|
|
1781
1820
|
className: (state) => cn2("relative flex cursor-default items-center gap-control-gap rounded-md py-1 pe-1.5 ps-7 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:ps-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", typeof className === "function" ? className(state) : className),
|
|
1782
1821
|
...props,
|
|
1783
1822
|
children: [
|
|
1784
|
-
/* @__PURE__ */
|
|
1823
|
+
/* @__PURE__ */ jsx20("span", {
|
|
1785
1824
|
className: "pointer-events-none absolute start-1.5 flex size-4 items-center justify-center [&_svg:not([class*='size-'])]:size-4",
|
|
1786
|
-
children: /* @__PURE__ */
|
|
1787
|
-
children: /* @__PURE__ */
|
|
1825
|
+
children: /* @__PURE__ */ jsx20(MenuPrimitive.RadioItemIndicator, {
|
|
1826
|
+
children: /* @__PURE__ */ jsx20(CheckIcon, {})
|
|
1788
1827
|
})
|
|
1789
1828
|
}),
|
|
1790
1829
|
children
|
|
@@ -1792,7 +1831,7 @@ function MenubarRadioItem2({ density, className, children, inset, ...props }) {
|
|
|
1792
1831
|
});
|
|
1793
1832
|
}
|
|
1794
1833
|
function MenubarLabel2({ density, className, inset, ...props }) {
|
|
1795
|
-
return /* @__PURE__ */
|
|
1834
|
+
return /* @__PURE__ */ jsx20(MenuLabel2, {
|
|
1796
1835
|
density,
|
|
1797
1836
|
"data-slot": "menubar-label",
|
|
1798
1837
|
inset,
|
|
@@ -1801,7 +1840,7 @@ function MenubarLabel2({ density, className, inset, ...props }) {
|
|
|
1801
1840
|
});
|
|
1802
1841
|
}
|
|
1803
1842
|
function MenubarSeparator2({ density, className, ...props }) {
|
|
1804
|
-
return /* @__PURE__ */
|
|
1843
|
+
return /* @__PURE__ */ jsx20(MenuSeparator2, {
|
|
1805
1844
|
density,
|
|
1806
1845
|
"data-slot": "menubar-separator",
|
|
1807
1846
|
className: (state) => cn2("-mx-1 my-1 h-px bg-border", typeof className === "function" ? className(state) : className),
|
|
@@ -1809,7 +1848,7 @@ function MenubarSeparator2({ density, className, ...props }) {
|
|
|
1809
1848
|
});
|
|
1810
1849
|
}
|
|
1811
1850
|
function MenubarShortcut2({ density, className, ...props }) {
|
|
1812
|
-
return /* @__PURE__ */
|
|
1851
|
+
return /* @__PURE__ */ jsx20(MenuShortcut2, {
|
|
1813
1852
|
"data-density": density,
|
|
1814
1853
|
"data-slot": "menubar-shortcut",
|
|
1815
1854
|
className: cn2("ms-auto text-xs tracking-widest text-muted-foreground group-focus/menubar-item:text-accent-foreground", className),
|
|
@@ -1817,13 +1856,13 @@ function MenubarShortcut2({ density, className, ...props }) {
|
|
|
1817
1856
|
});
|
|
1818
1857
|
}
|
|
1819
1858
|
function MenubarSub2({ ...props }) {
|
|
1820
|
-
return /* @__PURE__ */
|
|
1859
|
+
return /* @__PURE__ */ jsx20(MenuSub2, {
|
|
1821
1860
|
"data-slot": "menubar-sub",
|
|
1822
1861
|
...props
|
|
1823
1862
|
});
|
|
1824
1863
|
}
|
|
1825
1864
|
function MenubarSubTrigger2({ density, className, inset, ...props }) {
|
|
1826
|
-
return /* @__PURE__ */
|
|
1865
|
+
return /* @__PURE__ */ jsx20(MenuSubTrigger2, {
|
|
1827
1866
|
density,
|
|
1828
1867
|
"data-slot": "menubar-sub-trigger",
|
|
1829
1868
|
inset,
|
|
@@ -1832,7 +1871,7 @@ function MenubarSubTrigger2({ density, className, inset, ...props }) {
|
|
|
1832
1871
|
});
|
|
1833
1872
|
}
|
|
1834
1873
|
function MenubarSubContent2({ density, className, ...props }) {
|
|
1835
|
-
return /* @__PURE__ */
|
|
1874
|
+
return /* @__PURE__ */ jsx20(MenuSubContent2, {
|
|
1836
1875
|
density,
|
|
1837
1876
|
"data-slot": "menubar-sub-content",
|
|
1838
1877
|
className: (state) => cn2(" min-w-32 rounded-sm bg-popover p-1 text-popover-foreground shadow-frame border border-frame-edge border border-frame-edge shadow-frame duration-100 data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0 ", typeof className === "function" ? className(state) : className),
|
|
@@ -1843,7 +1882,7 @@ function MenubarSubContent2({ density, className, ...props }) {
|
|
|
1843
1882
|
import { ChevronDownIcon as ChevronDownIcon2 } from "lucide-react";
|
|
1844
1883
|
import { NavigationMenu as NavigationMenuPrimitive } from "@base-ui/react/navigation-menu";
|
|
1845
1884
|
import { cva as cva3 } from "class-variance-authority";
|
|
1846
|
-
import { jsx as
|
|
1885
|
+
import { jsx as jsx21, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
1847
1886
|
function NavigationMenu2({
|
|
1848
1887
|
analytics,
|
|
1849
1888
|
density,
|
|
@@ -1862,7 +1901,7 @@ function NavigationMenu2({
|
|
|
1862
1901
|
onValueChange: trackedOnValueChange,
|
|
1863
1902
|
children: [
|
|
1864
1903
|
children,
|
|
1865
|
-
/* @__PURE__ */
|
|
1904
|
+
/* @__PURE__ */ jsx21(NavigationMenuPositioner2, {
|
|
1866
1905
|
density: resolvedDensity,
|
|
1867
1906
|
align
|
|
1868
1907
|
})
|
|
@@ -1870,7 +1909,7 @@ function NavigationMenu2({
|
|
|
1870
1909
|
});
|
|
1871
1910
|
}
|
|
1872
1911
|
function NavigationMenuList2({ density, className, ...props }) {
|
|
1873
|
-
return /* @__PURE__ */
|
|
1912
|
+
return /* @__PURE__ */ jsx21(NavigationMenuPrimitive.List, {
|
|
1874
1913
|
"data-density": density,
|
|
1875
1914
|
"data-slot": "navigation-menu-list",
|
|
1876
1915
|
className: (state) => cn2("group flex flex-1 list-none items-center justify-center gap-0", typeof className === "function" ? className(state) : className),
|
|
@@ -1878,7 +1917,7 @@ function NavigationMenuList2({ density, className, ...props }) {
|
|
|
1878
1917
|
});
|
|
1879
1918
|
}
|
|
1880
1919
|
function NavigationMenuItem2({ density, className, ...props }) {
|
|
1881
|
-
return /* @__PURE__ */
|
|
1920
|
+
return /* @__PURE__ */ jsx21(NavigationMenuPrimitive.Item, {
|
|
1882
1921
|
"data-density": density,
|
|
1883
1922
|
"data-slot": "navigation-menu-item",
|
|
1884
1923
|
className: (state) => cn2("relative", typeof className === "function" ? className(state) : className),
|
|
@@ -1895,12 +1934,12 @@ function NavigationMenuTrigger2({ density, className, children, ...props }) {
|
|
|
1895
1934
|
children: [
|
|
1896
1935
|
children,
|
|
1897
1936
|
" ",
|
|
1898
|
-
/* @__PURE__ */
|
|
1937
|
+
/* @__PURE__ */ jsx21(NavigationMenuIndicator2, {})
|
|
1899
1938
|
]
|
|
1900
1939
|
});
|
|
1901
1940
|
}
|
|
1902
1941
|
function NavigationMenuContent2({ density, className, ...props }) {
|
|
1903
|
-
return /* @__PURE__ */
|
|
1942
|
+
return /* @__PURE__ */ jsx21(NavigationMenuPrimitive.Content, {
|
|
1904
1943
|
"data-density": density,
|
|
1905
1944
|
"data-slot": "navigation-menu-content",
|
|
1906
1945
|
className: (state) => cn2("data-ending-style:data-activation-direction=left:translate-x-[50%] data-ending-style:data-activation-direction=right:translate-x-[-50%] data-starting-style:data-activation-direction=left:translate-x-[-50%] data-starting-style:data-activation-direction=right:translate-x-[50%] h-full w-auto p-1 transition-[opacity,transform,translate] duration-[0.35s] ease-[cubic-bezier(0.22,1,0.36,1)] data-ending-style:opacity-0 data-starting-style:opacity-0 ", typeof className === "function" ? className(state) : className),
|
|
@@ -1920,12 +1959,12 @@ function NavigationMenuPositioner2({
|
|
|
1920
1959
|
const direction = useDirection2();
|
|
1921
1960
|
const container = usePortalContainer2();
|
|
1922
1961
|
const portal = usePortalNode();
|
|
1923
|
-
return /* @__PURE__ */
|
|
1962
|
+
return /* @__PURE__ */ jsx21(NavigationMenuPrimitive.Portal, {
|
|
1924
1963
|
container,
|
|
1925
1964
|
ref: portal.ref,
|
|
1926
|
-
children: /* @__PURE__ */
|
|
1965
|
+
children: /* @__PURE__ */ jsx21(PortalProvider2, {
|
|
1927
1966
|
container: portal.node,
|
|
1928
|
-
children: /* @__PURE__ */
|
|
1967
|
+
children: /* @__PURE__ */ jsx21(NavigationMenuPrimitive.Positioner, {
|
|
1929
1968
|
dir: direction,
|
|
1930
1969
|
side,
|
|
1931
1970
|
sideOffset,
|
|
@@ -1933,11 +1972,11 @@ function NavigationMenuPositioner2({
|
|
|
1933
1972
|
alignOffset,
|
|
1934
1973
|
className: (state) => cn2("isolate h-(--positioner-height) w-(--positioner-width) max-w-(--available-width) transition-[top,left,right,bottom] duration-[0.35s] ease-[cubic-bezier(0.22,1,0.36,1)] data-instant:transition-none data-[side=bottom]:before:top-[-10px] data-[side=bottom]:before:right-0 data-[side=bottom]:before:left-0", typeof className === "function" ? className(state) : className),
|
|
1935
1974
|
...props,
|
|
1936
|
-
children: /* @__PURE__ */
|
|
1975
|
+
children: /* @__PURE__ */ jsx21(NavigationMenuPrimitive.Popup, {
|
|
1937
1976
|
"data-density": resolvedDensity,
|
|
1938
1977
|
"data-slot": "navigation-menu-popup",
|
|
1939
1978
|
className: "data-[ending-style]:easing-[ease] xs:w-(--popup-width) relative h-(--popup-height) w-(--popup-width) origin-(--transform-origin) rounded-sm bg-popover text-popover-foreground border border-frame-edge shadow-frame transition-[opacity,transform,width,height,translate] duration-[0.35s] ease-[cubic-bezier(0.22,1,0.36,1)] outline-none data-ending-style:opacity-0 data-ending-style:duration-150 data-starting-style:opacity-0",
|
|
1940
|
-
children: /* @__PURE__ */
|
|
1979
|
+
children: /* @__PURE__ */ jsx21(NavigationMenuPrimitive.Viewport, {
|
|
1941
1980
|
className: "relative size-full overflow-hidden"
|
|
1942
1981
|
})
|
|
1943
1982
|
})
|
|
@@ -1947,7 +1986,7 @@ function NavigationMenuPositioner2({
|
|
|
1947
1986
|
}
|
|
1948
1987
|
function NavigationMenuLink2({ analytics, density, className, ...props }) {
|
|
1949
1988
|
const trackedOnClick = useAnalyticsCallback("NavigationMenuLink", analytics, { name: "ui.activate" }, props.onClick);
|
|
1950
|
-
return /* @__PURE__ */
|
|
1989
|
+
return /* @__PURE__ */ jsx21(NavigationMenuPrimitive.Link, {
|
|
1951
1990
|
"data-density": density,
|
|
1952
1991
|
"data-slot": "navigation-menu-link",
|
|
1953
1992
|
className: (state) => cn2("flex items-center gap-2 rounded-sm p-2 text-sm transition-colors outline-none hover:bg-muted focus:bg-muted focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-1 in-data-[slot=navigation-menu-content]:rounded-md data-active:bg-muted/50 data-active:hover:bg-muted data-active:focus:bg-muted [&_svg:not([class*='size-'])]:size-4", typeof className === "function" ? className(state) : className),
|
|
@@ -1961,32 +2000,32 @@ function NavigationMenuIndicator2({
|
|
|
1961
2000
|
children,
|
|
1962
2001
|
...props
|
|
1963
2002
|
}) {
|
|
1964
|
-
return /* @__PURE__ */
|
|
2003
|
+
return /* @__PURE__ */ jsx21(NavigationMenuPrimitive.Icon, {
|
|
1965
2004
|
"data-density": density,
|
|
1966
2005
|
"data-slot": "navigation-menu-indicator",
|
|
1967
2006
|
className: (state) => cn2("ms-1 inline-flex size-3 shrink-0 items-center justify-center transition-transform duration-120 data-popup-open:rotate-180 [&_svg]:size-full", typeof className === "function" ? className(state) : className),
|
|
1968
2007
|
...props,
|
|
1969
|
-
children: children ?? /* @__PURE__ */
|
|
2008
|
+
children: children ?? /* @__PURE__ */ jsx21(ChevronDownIcon2, {})
|
|
1970
2009
|
});
|
|
1971
2010
|
}
|
|
1972
2011
|
// src/components/Toast.tsx
|
|
1973
2012
|
import { Toast as ToastPrimitive } from "@base-ui/react/toast";
|
|
1974
2013
|
import { CircleCheckIcon, InfoIcon, TriangleAlertIcon, OctagonXIcon, LoaderCircleIcon, XIcon } from "lucide-react";
|
|
1975
|
-
import { jsx as
|
|
2014
|
+
import { jsx as jsx22, jsxs as jsxs14, Fragment as Fragment4 } from "react/jsx-runtime";
|
|
1976
2015
|
function ToastProvider2(props) {
|
|
1977
|
-
return /* @__PURE__ */
|
|
2016
|
+
return /* @__PURE__ */ jsx22(ToastPrimitive.Provider, {
|
|
1978
2017
|
...props
|
|
1979
2018
|
});
|
|
1980
2019
|
}
|
|
1981
2020
|
function ToastPortal2({ container, ref, children, ...props }) {
|
|
1982
2021
|
const resolvedContainer = usePortalContainer2(container);
|
|
1983
2022
|
const portal = usePortalNode(ref);
|
|
1984
|
-
return /* @__PURE__ */
|
|
2023
|
+
return /* @__PURE__ */ jsx22(ToastPrimitive.Portal, {
|
|
1985
2024
|
"data-slot": "toast-portal",
|
|
1986
2025
|
container: resolvedContainer,
|
|
1987
2026
|
ref: portal.ref,
|
|
1988
2027
|
...props,
|
|
1989
|
-
children: /* @__PURE__ */
|
|
2028
|
+
children: /* @__PURE__ */ jsx22(PortalProvider2, {
|
|
1990
2029
|
container: portal.node,
|
|
1991
2030
|
children
|
|
1992
2031
|
})
|
|
@@ -1995,7 +2034,7 @@ function ToastPortal2({ container, ref, children, ...props }) {
|
|
|
1995
2034
|
function ToastViewport2({ density, dir, className, ...props }) {
|
|
1996
2035
|
const resolvedDensity = useDensity(density);
|
|
1997
2036
|
const inheritedDirection = useDirection2();
|
|
1998
|
-
return /* @__PURE__ */
|
|
2037
|
+
return /* @__PURE__ */ jsx22(ToastPrimitive.Viewport, {
|
|
1999
2038
|
dir: dir ?? inheritedDirection,
|
|
2000
2039
|
"data-density": resolvedDensity,
|
|
2001
2040
|
"data-slot": "toast-viewport",
|
|
@@ -2004,7 +2043,7 @@ function ToastViewport2({ density, dir, className, ...props }) {
|
|
|
2004
2043
|
});
|
|
2005
2044
|
}
|
|
2006
2045
|
function Toast2({ density, className, ...props }) {
|
|
2007
|
-
return /* @__PURE__ */
|
|
2046
|
+
return /* @__PURE__ */ jsx22(ToastPrimitive.Root, {
|
|
2008
2047
|
"data-density": density,
|
|
2009
2048
|
"data-slot": "toast",
|
|
2010
2049
|
className: (state) => cn2("group/toast pointer-events-auto absolute right-0 bottom-0 w-full rounded-md border border-frame-edge bg-popover text-popover-foreground shadow-frame outline-none select-none focus-visible:ring-1 focus-visible:ring-ring [--offset-y:calc(var(--toast-offset-y)*-1-var(--toast-index)*var(--spacing-panel))] [transform:translateX(var(--toast-swipe-movement-x))_translateY(calc(var(--offset-y)+var(--toast-swipe-movement-y)))] transition-[transform,opacity] duration-120 ease-out data-limited:opacity-0 data-starting-style:opacity-0 data-ending-style:opacity-0 motion-reduce:transition-none", typeof className === "function" ? className(state) : className),
|
|
@@ -2012,21 +2051,21 @@ function Toast2({ density, className, ...props }) {
|
|
|
2012
2051
|
});
|
|
2013
2052
|
}
|
|
2014
2053
|
function ToastContent2({ className, ...props }) {
|
|
2015
|
-
return /* @__PURE__ */
|
|
2054
|
+
return /* @__PURE__ */ jsx22(ToastPrimitive.Content, {
|
|
2016
2055
|
"data-slot": "toast-content",
|
|
2017
2056
|
className: (state) => cn2("flex items-center gap-control-gap p-panel", typeof className === "function" ? className(state) : className),
|
|
2018
2057
|
...props
|
|
2019
2058
|
});
|
|
2020
2059
|
}
|
|
2021
2060
|
function ToastTitle2({ className, ...props }) {
|
|
2022
|
-
return /* @__PURE__ */
|
|
2061
|
+
return /* @__PURE__ */ jsx22(ToastPrimitive.Title, {
|
|
2023
2062
|
"data-slot": "toast-title",
|
|
2024
2063
|
className: (state) => cn2("text-sm font-medium", typeof className === "function" ? className(state) : className),
|
|
2025
2064
|
...props
|
|
2026
2065
|
});
|
|
2027
2066
|
}
|
|
2028
2067
|
function ToastDescription2({ className, ...props }) {
|
|
2029
|
-
return /* @__PURE__ */
|
|
2068
|
+
return /* @__PURE__ */ jsx22(ToastPrimitive.Description, {
|
|
2030
2069
|
"data-slot": "toast-description",
|
|
2031
2070
|
className: (state) => cn2("text-sm text-muted-foreground", typeof className === "function" ? className(state) : className),
|
|
2032
2071
|
...props
|
|
@@ -2035,14 +2074,14 @@ function ToastDescription2({ className, ...props }) {
|
|
|
2035
2074
|
function ToastAction2({
|
|
2036
2075
|
analytics,
|
|
2037
2076
|
className,
|
|
2038
|
-
render = /* @__PURE__ */
|
|
2077
|
+
render = /* @__PURE__ */ jsx22(Button2, {
|
|
2039
2078
|
variant: "outline",
|
|
2040
2079
|
size: "sm"
|
|
2041
2080
|
}),
|
|
2042
2081
|
...props
|
|
2043
2082
|
}) {
|
|
2044
2083
|
const trackedOnClick = useAnalyticsCallback("ToastAction", analytics, { name: "ui.activate" }, props.onClick);
|
|
2045
|
-
return /* @__PURE__ */
|
|
2084
|
+
return /* @__PURE__ */ jsx22(ToastPrimitive.Action, {
|
|
2046
2085
|
"data-slot": "toast-action",
|
|
2047
2086
|
render,
|
|
2048
2087
|
className: (state) => cn2("shrink-0", typeof className === "function" ? className(state) : className),
|
|
@@ -2054,21 +2093,21 @@ function ToastClose2({
|
|
|
2054
2093
|
analytics,
|
|
2055
2094
|
className,
|
|
2056
2095
|
children,
|
|
2057
|
-
render = /* @__PURE__ */
|
|
2096
|
+
render = /* @__PURE__ */ jsx22(Button2, {
|
|
2058
2097
|
variant: "ghost",
|
|
2059
2098
|
size: "icon-sm"
|
|
2060
2099
|
}),
|
|
2061
2100
|
...props
|
|
2062
2101
|
}) {
|
|
2063
2102
|
const trackedOnClick = useAnalyticsCallback("ToastClose", analytics, { name: "ui.activate" }, props.onClick);
|
|
2064
|
-
return /* @__PURE__ */
|
|
2103
|
+
return /* @__PURE__ */ jsx22(ToastPrimitive.Close, {
|
|
2065
2104
|
"data-slot": "toast-close",
|
|
2066
2105
|
"aria-label": "Close toast",
|
|
2067
2106
|
render,
|
|
2068
2107
|
className: (state) => cn2("relative shrink-0 text-muted-foreground hover:text-foreground", typeof className === "function" ? className(state) : className),
|
|
2069
2108
|
...props,
|
|
2070
2109
|
onClick: trackedOnClick,
|
|
2071
|
-
children: children ?? /* @__PURE__ */
|
|
2110
|
+
children: children ?? /* @__PURE__ */ jsx22(XIcon, {
|
|
2072
2111
|
"aria-hidden": "true"
|
|
2073
2112
|
})
|
|
2074
2113
|
});
|
|
@@ -2076,24 +2115,24 @@ function ToastClose2({
|
|
|
2076
2115
|
function ToastIcon({ type }) {
|
|
2077
2116
|
switch (type) {
|
|
2078
2117
|
case "success":
|
|
2079
|
-
return /* @__PURE__ */
|
|
2118
|
+
return /* @__PURE__ */ jsx22(CircleCheckIcon, {
|
|
2080
2119
|
"aria-hidden": "true"
|
|
2081
2120
|
});
|
|
2082
2121
|
case "info":
|
|
2083
|
-
return /* @__PURE__ */
|
|
2122
|
+
return /* @__PURE__ */ jsx22(InfoIcon, {
|
|
2084
2123
|
"aria-hidden": "true"
|
|
2085
2124
|
});
|
|
2086
2125
|
case "warning":
|
|
2087
|
-
return /* @__PURE__ */
|
|
2126
|
+
return /* @__PURE__ */ jsx22(TriangleAlertIcon, {
|
|
2088
2127
|
"aria-hidden": "true"
|
|
2089
2128
|
});
|
|
2090
2129
|
case "error":
|
|
2091
|
-
return /* @__PURE__ */
|
|
2130
|
+
return /* @__PURE__ */ jsx22(OctagonXIcon, {
|
|
2092
2131
|
"aria-hidden": "true",
|
|
2093
2132
|
className: "text-destructive"
|
|
2094
2133
|
});
|
|
2095
2134
|
case "loading":
|
|
2096
|
-
return /* @__PURE__ */
|
|
2135
|
+
return /* @__PURE__ */ jsx22(LoaderCircleIcon, {
|
|
2097
2136
|
"aria-hidden": "true",
|
|
2098
2137
|
className: "animate-spin motion-reduce:animate-none"
|
|
2099
2138
|
});
|
|
@@ -2103,27 +2142,27 @@ function ToastIcon({ type }) {
|
|
|
2103
2142
|
}
|
|
2104
2143
|
function ToastList() {
|
|
2105
2144
|
const { toasts } = ToastPrimitive.useToastManager();
|
|
2106
|
-
return /* @__PURE__ */
|
|
2107
|
-
children: toasts.map((toastItem) => /* @__PURE__ */
|
|
2145
|
+
return /* @__PURE__ */ jsx22(Fragment4, {
|
|
2146
|
+
children: toasts.map((toastItem) => /* @__PURE__ */ jsx22(Toast2, {
|
|
2108
2147
|
toast: toastItem,
|
|
2109
2148
|
children: /* @__PURE__ */ jsxs14(ToastContent2, {
|
|
2110
2149
|
children: [
|
|
2111
|
-
/* @__PURE__ */
|
|
2150
|
+
/* @__PURE__ */ jsx22("span", {
|
|
2112
2151
|
"data-slot": "toast-icon",
|
|
2113
2152
|
className: "shrink-0 empty:hidden [&_svg]:size-4",
|
|
2114
|
-
children: /* @__PURE__ */
|
|
2153
|
+
children: /* @__PURE__ */ jsx22(ToastIcon, {
|
|
2115
2154
|
type: toastItem.type
|
|
2116
2155
|
})
|
|
2117
2156
|
}),
|
|
2118
2157
|
/* @__PURE__ */ jsxs14("div", {
|
|
2119
2158
|
className: "flex min-w-0 flex-1 flex-col gap-1",
|
|
2120
2159
|
children: [
|
|
2121
|
-
/* @__PURE__ */
|
|
2122
|
-
/* @__PURE__ */
|
|
2160
|
+
/* @__PURE__ */ jsx22(ToastTitle2, {}),
|
|
2161
|
+
/* @__PURE__ */ jsx22(ToastDescription2, {})
|
|
2123
2162
|
]
|
|
2124
2163
|
}),
|
|
2125
|
-
/* @__PURE__ */
|
|
2126
|
-
/* @__PURE__ */
|
|
2164
|
+
/* @__PURE__ */ jsx22(ToastAction2, {}),
|
|
2165
|
+
/* @__PURE__ */ jsx22(ToastClose2, {})
|
|
2127
2166
|
]
|
|
2128
2167
|
})
|
|
2129
2168
|
}, toastItem.id))
|
|
@@ -2134,10 +2173,10 @@ function ToastToaster2({ children, density, ...props }) {
|
|
|
2134
2173
|
...props,
|
|
2135
2174
|
children: [
|
|
2136
2175
|
children,
|
|
2137
|
-
/* @__PURE__ */
|
|
2138
|
-
children: /* @__PURE__ */
|
|
2176
|
+
/* @__PURE__ */ jsx22(ToastPortal2, {
|
|
2177
|
+
children: /* @__PURE__ */ jsx22(ToastViewport2, {
|
|
2139
2178
|
density,
|
|
2140
|
-
children: /* @__PURE__ */
|
|
2179
|
+
children: /* @__PURE__ */ jsx22(ToastList, {})
|
|
2141
2180
|
})
|
|
2142
2181
|
})
|
|
2143
2182
|
]
|
|
@@ -2153,7 +2192,7 @@ function useToastManager2() {
|
|
|
2153
2192
|
import { mergeProps as mergeProps6 } from "@base-ui/react/merge-props";
|
|
2154
2193
|
import { useRender as useRender6 } from "@base-ui/react/use-render";
|
|
2155
2194
|
import { cva as cva4 } from "class-variance-authority";
|
|
2156
|
-
import { jsx as
|
|
2195
|
+
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
2157
2196
|
var markerVariants2 = cva4("group/marker relative flex min-h-4 w-full items-center gap-control-gap text-start text-sm text-muted-foreground [&_svg:not([class*='size-'])]:size-4 [a]:underline [a]:underline-offset-3 [a]:hover:text-foreground [&:is(a,button)]:outline-none [&:is(a,button)]:focus-visible:outline-1 [&:is(a,button)]:focus-visible:outline-ring", {
|
|
2158
2197
|
variants: {
|
|
2159
2198
|
variant: {
|
|
@@ -2172,7 +2211,7 @@ function Marker2({ density, className, variant = "default", render, ...props })
|
|
|
2172
2211
|
});
|
|
2173
2212
|
}
|
|
2174
2213
|
function MarkerIcon2({ density, className, ...props }) {
|
|
2175
|
-
return /* @__PURE__ */
|
|
2214
|
+
return /* @__PURE__ */ jsx23("span", {
|
|
2176
2215
|
"data-density": density,
|
|
2177
2216
|
"data-slot": "marker-icon",
|
|
2178
2217
|
"aria-hidden": "true",
|
|
@@ -2181,7 +2220,7 @@ function MarkerIcon2({ density, className, ...props }) {
|
|
|
2181
2220
|
});
|
|
2182
2221
|
}
|
|
2183
2222
|
function MarkerContent2({ density, className, ...props }) {
|
|
2184
|
-
return /* @__PURE__ */
|
|
2223
|
+
return /* @__PURE__ */ jsx23("span", {
|
|
2185
2224
|
"data-density": density,
|
|
2186
2225
|
"data-slot": "marker-content",
|
|
2187
2226
|
className: cn2("min-w-0 wrap-break-word group-data-[variant=separator]/marker:text-center [&>a]:underline [&>a]:underline-offset-3 [&>a:hover]:text-foreground", className),
|
|
@@ -2192,9 +2231,9 @@ function MarkerContent2({ density, className, ...props }) {
|
|
|
2192
2231
|
import { mergeProps as mergeProps7 } from "@base-ui/react/merge-props";
|
|
2193
2232
|
import { useRender as useRender7 } from "@base-ui/react/use-render";
|
|
2194
2233
|
import { cva as cva5 } from "class-variance-authority";
|
|
2195
|
-
import { jsx as
|
|
2234
|
+
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
2196
2235
|
function BubbleGroup2({ density, className, ...props }) {
|
|
2197
|
-
return /* @__PURE__ */
|
|
2236
|
+
return /* @__PURE__ */ jsx24("div", {
|
|
2198
2237
|
"data-density": density,
|
|
2199
2238
|
"data-slot": "bubble-group",
|
|
2200
2239
|
className: cn2("flex min-w-0 flex-col gap-control-gap", className),
|
|
@@ -2216,7 +2255,7 @@ var bubbleVariants = cva5("group/bubble relative flex w-fit max-w-[80%] min-w-0
|
|
|
2216
2255
|
defaultVariants: { variant: "default" }
|
|
2217
2256
|
});
|
|
2218
2257
|
function Bubble2({ density, variant = "default", align = "start", className, ...props }) {
|
|
2219
|
-
return /* @__PURE__ */
|
|
2258
|
+
return /* @__PURE__ */ jsx24("div", {
|
|
2220
2259
|
"data-density": density,
|
|
2221
2260
|
"data-slot": "bubble",
|
|
2222
2261
|
"data-variant": variant,
|
|
@@ -2249,7 +2288,7 @@ function BubbleReactions2({
|
|
|
2249
2288
|
className,
|
|
2250
2289
|
...props
|
|
2251
2290
|
}) {
|
|
2252
|
-
return /* @__PURE__ */
|
|
2291
|
+
return /* @__PURE__ */ jsx24("div", {
|
|
2253
2292
|
"data-density": density,
|
|
2254
2293
|
"data-slot": "bubble-reactions",
|
|
2255
2294
|
"data-align": align,
|
|
@@ -2267,9 +2306,10 @@ import { createContext as createContext2 } from "react";
|
|
|
2267
2306
|
var MessageContext = createContext2(null);
|
|
2268
2307
|
|
|
2269
2308
|
// src/components/Message.tsx
|
|
2270
|
-
import {
|
|
2309
|
+
import { ChevronRightIcon as ChevronRightIcon3 } from "lucide-react";
|
|
2310
|
+
import { jsx as jsx25, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
2271
2311
|
function MessageGroup2({ density, className, ...props }) {
|
|
2272
|
-
return /* @__PURE__ */
|
|
2312
|
+
return /* @__PURE__ */ jsx25("div", {
|
|
2273
2313
|
"data-density": density,
|
|
2274
2314
|
"data-slot": "message-group",
|
|
2275
2315
|
className: cn2("flex min-w-0 flex-col gap-control-gap", className),
|
|
@@ -2280,9 +2320,9 @@ function Message2({ density, className, align = "start", style, ...props }) {
|
|
|
2280
2320
|
const [footerOffset, setFooterOffset] = useState(0);
|
|
2281
2321
|
const context = useMemo2(() => ({ setFooterOffset }), []);
|
|
2282
2322
|
const messageStyle = { ...style, "--message-footer-offset": `${footerOffset}px` };
|
|
2283
|
-
return /* @__PURE__ */
|
|
2323
|
+
return /* @__PURE__ */ jsx25(MessageContext.Provider, {
|
|
2284
2324
|
value: context,
|
|
2285
|
-
children: /* @__PURE__ */
|
|
2325
|
+
children: /* @__PURE__ */ jsx25("div", {
|
|
2286
2326
|
"data-density": density,
|
|
2287
2327
|
"data-slot": "message",
|
|
2288
2328
|
"data-align": align,
|
|
@@ -2293,7 +2333,7 @@ function Message2({ density, className, align = "start", style, ...props }) {
|
|
|
2293
2333
|
});
|
|
2294
2334
|
}
|
|
2295
2335
|
function MessageAvatar2({ density, className, ...props }) {
|
|
2296
|
-
return /* @__PURE__ */
|
|
2336
|
+
return /* @__PURE__ */ jsx25("div", {
|
|
2297
2337
|
"data-density": density,
|
|
2298
2338
|
"data-slot": "message-avatar",
|
|
2299
2339
|
className: cn2("flex w-fit min-w-8 shrink-0 items-center justify-center self-end overflow-hidden rounded-full bg-muted group-has-data-[slot=message-footer]/message:-translate-y-(--message-footer-offset)", className),
|
|
@@ -2301,7 +2341,7 @@ function MessageAvatar2({ density, className, ...props }) {
|
|
|
2301
2341
|
});
|
|
2302
2342
|
}
|
|
2303
2343
|
function MessageContent2({ density, className, ...props }) {
|
|
2304
|
-
return /* @__PURE__ */
|
|
2344
|
+
return /* @__PURE__ */ jsx25("div", {
|
|
2305
2345
|
"data-density": density,
|
|
2306
2346
|
"data-slot": "message-content",
|
|
2307
2347
|
className: cn2("flex w-full min-w-0 flex-col gap-control-gap wrap-break-word group-data-[align=end]/message:[&>[data-slot]:not([data-slot=message-header])]:self-end", className),
|
|
@@ -2309,7 +2349,7 @@ function MessageContent2({ density, className, ...props }) {
|
|
|
2309
2349
|
});
|
|
2310
2350
|
}
|
|
2311
2351
|
function MessageHeader2({ density, className, ...props }) {
|
|
2312
|
-
return /* @__PURE__ */
|
|
2352
|
+
return /* @__PURE__ */ jsx25("div", {
|
|
2313
2353
|
"data-density": density,
|
|
2314
2354
|
"data-slot": "message-header",
|
|
2315
2355
|
className: cn2("flex max-w-full min-w-0 items-center px-control-x text-xs font-medium text-muted-foreground group-has-data-[variant=ghost]/message:px-0", className),
|
|
@@ -2347,11 +2387,42 @@ function MessageFooter2({ density, className, ...props }) {
|
|
|
2347
2387
|
}
|
|
2348
2388
|
});
|
|
2349
2389
|
}
|
|
2390
|
+
function MessageThread2({ density, className, ...props }) {
|
|
2391
|
+
return /* @__PURE__ */ jsx25(Collapsible2, {
|
|
2392
|
+
"data-density": density,
|
|
2393
|
+
"data-slot": "message-thread",
|
|
2394
|
+
className: cn2("flex min-w-0 flex-col gap-control-gap", className),
|
|
2395
|
+
...props
|
|
2396
|
+
});
|
|
2397
|
+
}
|
|
2398
|
+
function MessageThreadSummary2({ density, className, children, ...props }) {
|
|
2399
|
+
return /* @__PURE__ */ jsxs15(CollapsibleTrigger2, {
|
|
2400
|
+
"data-density": density,
|
|
2401
|
+
"data-slot": "message-thread-summary",
|
|
2402
|
+
className: cn2(buttonVariants2({ variant: "link", size: "inline" }), "group/message-thread-summary w-fit max-w-full justify-start text-xs whitespace-normal text-muted-foreground", className),
|
|
2403
|
+
...props,
|
|
2404
|
+
children: [
|
|
2405
|
+
/* @__PURE__ */ jsx25(ChevronRightIcon3, {
|
|
2406
|
+
"aria-hidden": "true",
|
|
2407
|
+
className: "size-3 shrink-0 group-aria-expanded/message-thread-summary:rotate-90 motion-reduce:transition-none"
|
|
2408
|
+
}),
|
|
2409
|
+
children
|
|
2410
|
+
]
|
|
2411
|
+
});
|
|
2412
|
+
}
|
|
2413
|
+
function MessageThreadReplies2({ density, className, ...props }) {
|
|
2414
|
+
return /* @__PURE__ */ jsx25(CollapsibleContent2, {
|
|
2415
|
+
"data-density": density,
|
|
2416
|
+
"data-slot": "message-thread-replies",
|
|
2417
|
+
className: cn2("min-w-0", className),
|
|
2418
|
+
...props
|
|
2419
|
+
});
|
|
2420
|
+
}
|
|
2350
2421
|
// src/components/Attachment.tsx
|
|
2351
2422
|
import { mergeProps as mergeProps8 } from "@base-ui/react/merge-props";
|
|
2352
2423
|
import { useRender as useRender9 } from "@base-ui/react/use-render";
|
|
2353
2424
|
import { cva as cva6 } from "class-variance-authority";
|
|
2354
|
-
import { jsx as
|
|
2425
|
+
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
2355
2426
|
var attachmentVariants = cva6("group/attachment relative flex w-fit max-w-full min-w-0 shrink-0 flex-wrap rounded-md border bg-card text-card-foreground transition-colors motion-reduce:transition-none focus-within:ring-1 focus-within:ring-ring has-[>a,>button]:hover:bg-muted/50 data-[state=error]:border-destructive data-[state=idle]:border-dashed", {
|
|
2356
2427
|
variants: {
|
|
2357
2428
|
size: {
|
|
@@ -2373,7 +2444,7 @@ function Attachment2({
|
|
|
2373
2444
|
orientation = "horizontal",
|
|
2374
2445
|
...props
|
|
2375
2446
|
}) {
|
|
2376
|
-
return /* @__PURE__ */
|
|
2447
|
+
return /* @__PURE__ */ jsx26("div", {
|
|
2377
2448
|
"data-slot": "attachment",
|
|
2378
2449
|
"data-density": density,
|
|
2379
2450
|
"data-state": state,
|
|
@@ -2393,7 +2464,7 @@ var attachmentMediaVariants = cva6("relative flex aspect-square w-10 shrink-0 it
|
|
|
2393
2464
|
defaultVariants: { variant: "icon" }
|
|
2394
2465
|
});
|
|
2395
2466
|
function AttachmentMedia2({ density, className, variant = "icon", ...props }) {
|
|
2396
|
-
return /* @__PURE__ */
|
|
2467
|
+
return /* @__PURE__ */ jsx26("div", {
|
|
2397
2468
|
"data-slot": "attachment-media",
|
|
2398
2469
|
"data-density": density,
|
|
2399
2470
|
"data-variant": variant,
|
|
@@ -2402,7 +2473,7 @@ function AttachmentMedia2({ density, className, variant = "icon", ...props }) {
|
|
|
2402
2473
|
});
|
|
2403
2474
|
}
|
|
2404
2475
|
function AttachmentContent2({ density, className, ...props }) {
|
|
2405
|
-
return /* @__PURE__ */
|
|
2476
|
+
return /* @__PURE__ */ jsx26("div", {
|
|
2406
2477
|
"data-slot": "attachment-content",
|
|
2407
2478
|
"data-density": density,
|
|
2408
2479
|
className: cn2("max-w-full min-w-0 flex-1 leading-tight group-data-[orientation=vertical]/attachment:px-1", className),
|
|
@@ -2410,7 +2481,7 @@ function AttachmentContent2({ density, className, ...props }) {
|
|
|
2410
2481
|
});
|
|
2411
2482
|
}
|
|
2412
2483
|
function AttachmentTitle2({ density, className, ...props }) {
|
|
2413
|
-
return /* @__PURE__ */
|
|
2484
|
+
return /* @__PURE__ */ jsx26("span", {
|
|
2414
2485
|
"data-slot": "attachment-title",
|
|
2415
2486
|
"data-density": density,
|
|
2416
2487
|
className: cn2("block max-w-full min-w-0 truncate font-medium group-data-[state=processing]/attachment:shimmer group-data-[state=uploading]/attachment:shimmer", className),
|
|
@@ -2418,7 +2489,7 @@ function AttachmentTitle2({ density, className, ...props }) {
|
|
|
2418
2489
|
});
|
|
2419
2490
|
}
|
|
2420
2491
|
function AttachmentDescription2({ density, className, ...props }) {
|
|
2421
|
-
return /* @__PURE__ */
|
|
2492
|
+
return /* @__PURE__ */ jsx26("span", {
|
|
2422
2493
|
"data-slot": "attachment-description",
|
|
2423
2494
|
"data-density": density,
|
|
2424
2495
|
className: cn2("mt-0.5 block max-w-full min-w-0 truncate text-xs text-muted-foreground group-data-[state=error]/attachment:text-destructive", className),
|
|
@@ -2426,7 +2497,7 @@ function AttachmentDescription2({ density, className, ...props }) {
|
|
|
2426
2497
|
});
|
|
2427
2498
|
}
|
|
2428
2499
|
function AttachmentActions2({ density, className, ...props }) {
|
|
2429
|
-
return /* @__PURE__ */
|
|
2500
|
+
return /* @__PURE__ */ jsx26("div", {
|
|
2430
2501
|
"data-slot": "attachment-actions",
|
|
2431
2502
|
"data-density": density,
|
|
2432
2503
|
className: cn2("relative z-20 flex shrink-0 items-center group-data-[orientation=vertical]/attachment:absolute group-data-[orientation=vertical]/attachment:top-3 group-data-[orientation=vertical]/attachment:end-3 group-data-[orientation=vertical]/attachment:gap-1", className),
|
|
@@ -2439,7 +2510,7 @@ function AttachmentAction2({
|
|
|
2439
2510
|
size = "icon-xs",
|
|
2440
2511
|
...props
|
|
2441
2512
|
}) {
|
|
2442
|
-
return /* @__PURE__ */
|
|
2513
|
+
return /* @__PURE__ */ jsx26(Button2, {
|
|
2443
2514
|
"data-slot": "attachment-action",
|
|
2444
2515
|
variant,
|
|
2445
2516
|
size,
|
|
@@ -2464,7 +2535,7 @@ function AttachmentTrigger2({
|
|
|
2464
2535
|
});
|
|
2465
2536
|
}
|
|
2466
2537
|
function AttachmentGroup2({ density, className, ...props }) {
|
|
2467
|
-
return /* @__PURE__ */
|
|
2538
|
+
return /* @__PURE__ */ jsx26("div", {
|
|
2468
2539
|
"data-slot": "attachment-group",
|
|
2469
2540
|
"data-density": density,
|
|
2470
2541
|
className: cn2("flex min-w-0 scroll-fade-x snap-x snap-mandatory scroll-px-1 no-scrollbar gap-3 overflow-x-auto overscroll-x-contain py-1 *:data-[slot=attachment]:flex-none *:data-[slot=attachment]:snap-start", className),
|
|
@@ -2473,7 +2544,7 @@ function AttachmentGroup2({ density, className, ...props }) {
|
|
|
2473
2544
|
}
|
|
2474
2545
|
// src/components/InlineEdit.tsx
|
|
2475
2546
|
import { useEffect as useEffect2, useId as useId3, useRef as useRef2, useState as useState2 } from "react";
|
|
2476
|
-
import { jsx as
|
|
2547
|
+
import { jsx as jsx27, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
2477
2548
|
function InlineEdit2({
|
|
2478
2549
|
analytics,
|
|
2479
2550
|
label,
|
|
@@ -2523,22 +2594,22 @@ function InlineEdit2({
|
|
|
2523
2594
|
setSaving(false);
|
|
2524
2595
|
}
|
|
2525
2596
|
};
|
|
2526
|
-
return /* @__PURE__ */
|
|
2597
|
+
return /* @__PURE__ */ jsxs16("form", {
|
|
2527
2598
|
className: "min-w-0",
|
|
2528
2599
|
onSubmit: (event) => {
|
|
2529
2600
|
event.preventDefault();
|
|
2530
2601
|
save();
|
|
2531
2602
|
},
|
|
2532
2603
|
children: [
|
|
2533
|
-
/* @__PURE__ */
|
|
2604
|
+
/* @__PURE__ */ jsxs16(Tooltip2, {
|
|
2534
2605
|
open: Boolean(error) && isErrorOpen,
|
|
2535
2606
|
onOpenChange: setErrorOpen,
|
|
2536
2607
|
disableHoverablePopup: true,
|
|
2537
2608
|
triggerId,
|
|
2538
2609
|
children: [
|
|
2539
|
-
/* @__PURE__ */
|
|
2610
|
+
/* @__PURE__ */ jsx27(TooltipTrigger2, {
|
|
2540
2611
|
id: triggerId,
|
|
2541
|
-
render: /* @__PURE__ */
|
|
2612
|
+
render: /* @__PURE__ */ jsx27(Input2, {
|
|
2542
2613
|
analytics: false,
|
|
2543
2614
|
ref: input,
|
|
2544
2615
|
density,
|
|
@@ -2570,20 +2641,20 @@ function InlineEdit2({
|
|
|
2570
2641
|
}
|
|
2571
2642
|
})
|
|
2572
2643
|
}),
|
|
2573
|
-
error && /* @__PURE__ */
|
|
2644
|
+
error && /* @__PURE__ */ jsx27(TooltipContent2, {
|
|
2574
2645
|
density,
|
|
2575
2646
|
side: "bottom",
|
|
2576
2647
|
align: "start",
|
|
2577
2648
|
"data-testid": "InlineEdit--error-popup",
|
|
2578
2649
|
"aria-hidden": true,
|
|
2579
|
-
children: /* @__PURE__ */
|
|
2650
|
+
children: /* @__PURE__ */ jsx27("p", {
|
|
2580
2651
|
className: "text-destructive",
|
|
2581
2652
|
children: error
|
|
2582
2653
|
})
|
|
2583
2654
|
})
|
|
2584
2655
|
]
|
|
2585
2656
|
}),
|
|
2586
|
-
error && /* @__PURE__ */
|
|
2657
|
+
error && /* @__PURE__ */ jsx27("p", {
|
|
2587
2658
|
id: errorId,
|
|
2588
2659
|
role: "alert",
|
|
2589
2660
|
className: "sr-only",
|
|
@@ -2596,7 +2667,7 @@ function InlineEdit2({
|
|
|
2596
2667
|
import { useState as useState3 } from "react";
|
|
2597
2668
|
import { Radio } from "@base-ui/react/radio";
|
|
2598
2669
|
import { StarIcon, CircleOffIcon } from "lucide-react";
|
|
2599
|
-
import { jsx as
|
|
2670
|
+
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
2600
2671
|
var ITEM_SIZES = { comfortable: "size-5", compact: "size-4" };
|
|
2601
2672
|
var STAR_SIZES = { comfortable: "size-3.5", compact: "size-3" };
|
|
2602
2673
|
var CLEAR_SIZES = { comfortable: "size-3", compact: "size-2.5" };
|
|
@@ -2633,7 +2704,7 @@ function StarRating2({
|
|
|
2633
2704
|
onValueChange(draft);
|
|
2634
2705
|
setDraft(null);
|
|
2635
2706
|
};
|
|
2636
|
-
return /* @__PURE__ */
|
|
2707
|
+
return /* @__PURE__ */ jsx28(RadioGroup2, {
|
|
2637
2708
|
analytics,
|
|
2638
2709
|
"aria-label": label,
|
|
2639
2710
|
"aria-busy": busy || undefined,
|
|
@@ -2643,7 +2714,7 @@ function StarRating2({
|
|
|
2643
2714
|
className: "inline-flex w-fit shrink-0 items-center gap-0.5",
|
|
2644
2715
|
onValueChange: isConfirm ? (next) => setDraft(next) : onValueChange,
|
|
2645
2716
|
onBlur,
|
|
2646
|
-
children: [1, 2, 3, 4, 5, ...clearable ? [0] : []].map((star) => /* @__PURE__ */
|
|
2717
|
+
children: [1, 2, 3, 4, 5, ...clearable ? [0] : []].map((star) => /* @__PURE__ */ jsx28(Radio.Root, {
|
|
2647
2718
|
value: star,
|
|
2648
2719
|
nativeButton: true,
|
|
2649
2720
|
...focusable ? {} : { tabIndex: -1 },
|
|
@@ -2654,17 +2725,17 @@ function StarRating2({
|
|
|
2654
2725
|
confirm(star);
|
|
2655
2726
|
}
|
|
2656
2727
|
},
|
|
2657
|
-
render: /* @__PURE__ */
|
|
2728
|
+
render: /* @__PURE__ */ jsx28(AnalyticsButton, {
|
|
2658
2729
|
component: "StarRating",
|
|
2659
2730
|
type: "button"
|
|
2660
2731
|
}),
|
|
2661
2732
|
"aria-label": star === 0 ? "Unrated" : `${star} ${star === 1 ? "star" : "stars"}`,
|
|
2662
2733
|
title: star === 0 ? "Clear rating" : `${star} stars`,
|
|
2663
2734
|
className: cn2("inline-flex shrink-0 items-center justify-center rounded-sm text-muted-foreground outline-none hover:text-primary focus-visible:ring-1 focus-visible:ring-ring data-disabled:cursor-not-allowed data-disabled:opacity-50", ITEM_SIZES[density]),
|
|
2664
|
-
children: star === 0 ? /* @__PURE__ */
|
|
2735
|
+
children: star === 0 ? /* @__PURE__ */ jsx28(CircleOffIcon, {
|
|
2665
2736
|
"aria-hidden": "true",
|
|
2666
2737
|
className: CLEAR_SIZES[density]
|
|
2667
|
-
}) : /* @__PURE__ */
|
|
2738
|
+
}) : /* @__PURE__ */ jsx28(StarIcon, {
|
|
2668
2739
|
"aria-hidden": "true",
|
|
2669
2740
|
className: star <= shown ? cn2(STAR_SIZES[density], "fill-primary text-primary") : STAR_SIZES[density]
|
|
2670
2741
|
})
|
|
@@ -2673,8 +2744,8 @@ function StarRating2({
|
|
|
2673
2744
|
}
|
|
2674
2745
|
// src/components/ReviewList.tsx
|
|
2675
2746
|
import { useRef as useRef3, useState as useState4 } from "react";
|
|
2676
|
-
import { ChevronRightIcon as
|
|
2677
|
-
import { jsx as
|
|
2747
|
+
import { ChevronRightIcon as ChevronRightIcon4 } from "lucide-react";
|
|
2748
|
+
import { jsx as jsx29, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
2678
2749
|
var TOGGLE_KEYS = new Set(["x", "X"]);
|
|
2679
2750
|
function isMod(event) {
|
|
2680
2751
|
return event.metaKey || event.ctrlKey;
|
|
@@ -2757,7 +2828,7 @@ function ReviewList2({ label, rows, onIncludedChange, onExpandedChange }) {
|
|
|
2757
2828
|
setCursor({ row: index, cell });
|
|
2758
2829
|
};
|
|
2759
2830
|
const isTree = rows.some((row) => row.level !== undefined);
|
|
2760
|
-
return /* @__PURE__ */
|
|
2831
|
+
return /* @__PURE__ */ jsx29("div", {
|
|
2761
2832
|
"data-slot": "review-list",
|
|
2762
2833
|
role: isTree ? "treegrid" : "grid",
|
|
2763
2834
|
"aria-label": label,
|
|
@@ -2774,7 +2845,7 @@ function ReviewList2({ label, rows, onIncludedChange, onExpandedChange }) {
|
|
|
2774
2845
|
cellsRef.current.delete(key);
|
|
2775
2846
|
};
|
|
2776
2847
|
const tabIndex = (cell) => isCursorRow && cursor.cell === cell ? 0 : -1;
|
|
2777
|
-
return /* @__PURE__ */
|
|
2848
|
+
return /* @__PURE__ */ jsxs17("div", {
|
|
2778
2849
|
role: "row",
|
|
2779
2850
|
"aria-rowindex": index + 1,
|
|
2780
2851
|
"aria-level": isTree ? row.level ?? 1 : undefined,
|
|
@@ -2782,13 +2853,13 @@ function ReviewList2({ label, rows, onIncludedChange, onExpandedChange }) {
|
|
|
2782
2853
|
"data-included": row.isIncluded || undefined,
|
|
2783
2854
|
className: cn2("flex min-w-0 items-start gap-2 rounded-sm px-1 py-0.5 focus-within:bg-accent/50", !row.isIncluded && "text-muted-foreground"),
|
|
2784
2855
|
children: [
|
|
2785
|
-
/* @__PURE__ */
|
|
2856
|
+
/* @__PURE__ */ jsx29("div", {
|
|
2786
2857
|
ref: cellRef(0),
|
|
2787
2858
|
role: "gridcell",
|
|
2788
2859
|
tabIndex: tabIndex(0),
|
|
2789
2860
|
className: "flex shrink-0 items-center pt-0.5 outline-none focus-visible:ring-1 focus-visible:ring-ring",
|
|
2790
2861
|
onClick: (event) => onRowClick(event, row, index, 0),
|
|
2791
|
-
children: /* @__PURE__ */
|
|
2862
|
+
children: /* @__PURE__ */ jsx29(Checkbox2, {
|
|
2792
2863
|
"aria-label": row.checkboxLabel,
|
|
2793
2864
|
checked: row.isIncluded,
|
|
2794
2865
|
indeterminate: row.isIndeterminate,
|
|
@@ -2801,7 +2872,7 @@ function ReviewList2({ label, rows, onIncludedChange, onExpandedChange }) {
|
|
|
2801
2872
|
}
|
|
2802
2873
|
})
|
|
2803
2874
|
}),
|
|
2804
|
-
/* @__PURE__ */
|
|
2875
|
+
/* @__PURE__ */ jsxs17("div", {
|
|
2805
2876
|
ref: cellRef(1),
|
|
2806
2877
|
role: "gridcell",
|
|
2807
2878
|
tabIndex: tabIndex(1),
|
|
@@ -2809,9 +2880,9 @@ function ReviewList2({ label, rows, onIncludedChange, onExpandedChange }) {
|
|
|
2809
2880
|
style: isTree ? { paddingInlineStart: `${((row.level ?? 1) - 1) * 1.25}rem` } : undefined,
|
|
2810
2881
|
onClick: (event) => onRowClick(event, row, index, 1),
|
|
2811
2882
|
children: [
|
|
2812
|
-
isTree && /* @__PURE__ */
|
|
2883
|
+
isTree && /* @__PURE__ */ jsx29("span", {
|
|
2813
2884
|
className: "flex size-5 shrink-0 items-center justify-center",
|
|
2814
|
-
children: row.isExpanded !== undefined && /* @__PURE__ */
|
|
2885
|
+
children: row.isExpanded !== undefined && /* @__PURE__ */ jsx29("button", {
|
|
2815
2886
|
type: "button",
|
|
2816
2887
|
tabIndex: -1,
|
|
2817
2888
|
"aria-hidden": "true",
|
|
@@ -2822,18 +2893,18 @@ function ReviewList2({ label, rows, onIncludedChange, onExpandedChange }) {
|
|
|
2822
2893
|
setCursor({ row: index, cell: 1 });
|
|
2823
2894
|
onExpandedChange?.(row.id, !row.isExpanded);
|
|
2824
2895
|
},
|
|
2825
|
-
children: /* @__PURE__ */
|
|
2896
|
+
children: /* @__PURE__ */ jsx29(ChevronRightIcon4, {
|
|
2826
2897
|
className: cn2("size-4 transition-transform", row.isExpanded && "rotate-90")
|
|
2827
2898
|
})
|
|
2828
2899
|
})
|
|
2829
2900
|
}),
|
|
2830
|
-
/* @__PURE__ */
|
|
2901
|
+
/* @__PURE__ */ jsx29("div", {
|
|
2831
2902
|
className: "min-w-0 flex-1",
|
|
2832
2903
|
children: row.content
|
|
2833
2904
|
})
|
|
2834
2905
|
]
|
|
2835
2906
|
}),
|
|
2836
|
-
row.cells?.map((cell, offset) => /* @__PURE__ */
|
|
2907
|
+
row.cells?.map((cell, offset) => /* @__PURE__ */ jsx29("div", {
|
|
2837
2908
|
ref: cellRef(offset + 2),
|
|
2838
2909
|
role: "gridcell",
|
|
2839
2910
|
tabIndex: tabIndex(offset + 2),
|
|
@@ -2851,7 +2922,7 @@ import {
|
|
|
2851
2922
|
useId as useId4,
|
|
2852
2923
|
useRef as useRef4
|
|
2853
2924
|
} from "react";
|
|
2854
|
-
import { jsx as
|
|
2925
|
+
import { jsx as jsx30, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
2855
2926
|
function isModified(event) {
|
|
2856
2927
|
return event.altKey || event.metaKey || event.ctrlKey || event.shiftKey;
|
|
2857
2928
|
}
|
|
@@ -2903,7 +2974,7 @@ function ChoiceTable2({
|
|
|
2903
2974
|
onValueChange(row.id);
|
|
2904
2975
|
event.currentTarget.closest("[role='grid']")?.focus({ preventScroll: true });
|
|
2905
2976
|
};
|
|
2906
|
-
return /* @__PURE__ */
|
|
2977
|
+
return /* @__PURE__ */ jsxs18("div", {
|
|
2907
2978
|
ref,
|
|
2908
2979
|
"data-slot": "choice-table",
|
|
2909
2980
|
role: "grid",
|
|
@@ -2915,12 +2986,12 @@ function ChoiceTable2({
|
|
|
2915
2986
|
className: "group/choice flex min-w-0 flex-col rounded-md text-sm outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
2916
2987
|
onKeyDown,
|
|
2917
2988
|
children: [
|
|
2918
|
-
/* @__PURE__ */
|
|
2989
|
+
/* @__PURE__ */ jsx30("div", {
|
|
2919
2990
|
role: "row",
|
|
2920
2991
|
"aria-rowindex": 1,
|
|
2921
2992
|
style: template,
|
|
2922
2993
|
className: "grid items-end gap-x-3 border-b px-3 py-1.5 text-xs text-muted-foreground",
|
|
2923
|
-
children: columns.map((column) => /* @__PURE__ */
|
|
2994
|
+
children: columns.map((column) => /* @__PURE__ */ jsx30("div", {
|
|
2924
2995
|
role: "columnheader",
|
|
2925
2996
|
className: cn2("min-w-0", column.isEnd && "text-end"),
|
|
2926
2997
|
children: column.header
|
|
@@ -2928,7 +2999,7 @@ function ChoiceTable2({
|
|
|
2928
2999
|
}),
|
|
2929
3000
|
rows.map((row, index) => {
|
|
2930
3001
|
const isChosen = index === chosenIndex;
|
|
2931
|
-
return /* @__PURE__ */
|
|
3002
|
+
return /* @__PURE__ */ jsxs18("div", {
|
|
2932
3003
|
id: rowId(row.id),
|
|
2933
3004
|
ref: (element) => {
|
|
2934
3005
|
if (element)
|
|
@@ -2945,12 +3016,12 @@ function ChoiceTable2({
|
|
|
2945
3016
|
className: cn2("grid cursor-default items-start gap-x-3 gap-y-2 border-b border-l-2 border-l-transparent px-3 py-2", isChosen && "border-l-primary bg-accent/60 group-focus-visible/choice:bg-accent"),
|
|
2946
3017
|
onClick: (event) => onRowClick(event, row),
|
|
2947
3018
|
children: [
|
|
2948
|
-
row.cells.map((cell, cellIndex) => /* @__PURE__ */
|
|
3019
|
+
row.cells.map((cell, cellIndex) => /* @__PURE__ */ jsx30("div", {
|
|
2949
3020
|
role: "gridcell",
|
|
2950
3021
|
className: cn2("min-w-0 break-words", columns[cellIndex]?.isEnd && "text-end"),
|
|
2951
3022
|
children: cell
|
|
2952
3023
|
}, cellIndex)),
|
|
2953
|
-
row.detail !== undefined && /* @__PURE__ */
|
|
3024
|
+
row.detail !== undefined && /* @__PURE__ */ jsx30("div", {
|
|
2954
3025
|
"data-slot": "choice-table-detail",
|
|
2955
3026
|
role: "gridcell",
|
|
2956
3027
|
className: "col-span-full min-w-0",
|
|
@@ -2964,7 +3035,7 @@ function ChoiceTable2({
|
|
|
2964
3035
|
}
|
|
2965
3036
|
// src/components/ConfirmationDialog.tsx
|
|
2966
3037
|
import { useState as useState5 } from "react";
|
|
2967
|
-
import { jsx as
|
|
3038
|
+
import { jsx as jsx31, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
2968
3039
|
function ConfirmationDialog2({
|
|
2969
3040
|
open,
|
|
2970
3041
|
title,
|
|
@@ -2976,7 +3047,7 @@ function ConfirmationDialog2({
|
|
|
2976
3047
|
}) {
|
|
2977
3048
|
const [isPending, setPending] = useState5(false);
|
|
2978
3049
|
const [error, setError] = useState5(null);
|
|
2979
|
-
return /* @__PURE__ */
|
|
3050
|
+
return /* @__PURE__ */ jsx31(AlertDialog2, {
|
|
2980
3051
|
open,
|
|
2981
3052
|
onOpenChange: (next, details) => {
|
|
2982
3053
|
if (isPending)
|
|
@@ -2986,33 +3057,33 @@ function ConfirmationDialog2({
|
|
|
2986
3057
|
onOpenChange(next);
|
|
2987
3058
|
}
|
|
2988
3059
|
},
|
|
2989
|
-
children: /* @__PURE__ */
|
|
3060
|
+
children: /* @__PURE__ */ jsxs19(AlertDialogContent2, {
|
|
2990
3061
|
children: [
|
|
2991
|
-
/* @__PURE__ */
|
|
2992
|
-
children: /* @__PURE__ */
|
|
3062
|
+
/* @__PURE__ */ jsx31(AlertDialogHeader2, {
|
|
3063
|
+
children: /* @__PURE__ */ jsx31(AlertDialogTitle2, {
|
|
2993
3064
|
children: title
|
|
2994
3065
|
})
|
|
2995
3066
|
}),
|
|
2996
|
-
/* @__PURE__ */
|
|
3067
|
+
/* @__PURE__ */ jsxs19(ScrollArea2, {
|
|
2997
3068
|
children: [
|
|
2998
|
-
/* @__PURE__ */
|
|
3069
|
+
/* @__PURE__ */ jsx31(AlertDialogDescription2, {
|
|
2999
3070
|
children: description
|
|
3000
3071
|
}),
|
|
3001
|
-
error && /* @__PURE__ */
|
|
3072
|
+
error && /* @__PURE__ */ jsx31(Alert2, {
|
|
3002
3073
|
variant: "destructive",
|
|
3003
|
-
children: /* @__PURE__ */
|
|
3074
|
+
children: /* @__PURE__ */ jsx31(AlertDescription2, {
|
|
3004
3075
|
children: error
|
|
3005
3076
|
})
|
|
3006
3077
|
})
|
|
3007
3078
|
]
|
|
3008
3079
|
}),
|
|
3009
|
-
/* @__PURE__ */
|
|
3080
|
+
/* @__PURE__ */ jsxs19(AlertDialogFooter2, {
|
|
3010
3081
|
children: [
|
|
3011
|
-
/* @__PURE__ */
|
|
3082
|
+
/* @__PURE__ */ jsx31(AlertDialogCancel2, {
|
|
3012
3083
|
disabled: isPending,
|
|
3013
3084
|
children: "Cancel"
|
|
3014
3085
|
}),
|
|
3015
|
-
/* @__PURE__ */
|
|
3086
|
+
/* @__PURE__ */ jsx31(Button2, {
|
|
3016
3087
|
variant: "destructive",
|
|
3017
3088
|
disabled: isPending,
|
|
3018
3089
|
onClick: async () => {
|
|
@@ -3056,7 +3127,7 @@ function useObjectURL(file) {
|
|
|
3056
3127
|
}
|
|
3057
3128
|
|
|
3058
3129
|
// src/components/ImagePicker.tsx
|
|
3059
|
-
import { jsx as
|
|
3130
|
+
import { jsx as jsx32, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
3060
3131
|
function ImagePicker2({
|
|
3061
3132
|
analytics,
|
|
3062
3133
|
src,
|
|
@@ -3070,27 +3141,27 @@ function ImagePicker2({
|
|
|
3070
3141
|
const input = useRef5(null);
|
|
3071
3142
|
const preview = useObjectURL(file);
|
|
3072
3143
|
const image = file === null ? undefined : preview ?? src;
|
|
3073
|
-
return /* @__PURE__ */
|
|
3144
|
+
return /* @__PURE__ */ jsxs20("figure", {
|
|
3074
3145
|
className: "flex min-w-0 flex-col items-center gap-3",
|
|
3075
3146
|
"aria-label": label,
|
|
3076
3147
|
children: [
|
|
3077
|
-
/* @__PURE__ */
|
|
3148
|
+
/* @__PURE__ */ jsxs20(Avatar2, {
|
|
3078
3149
|
size: "preview",
|
|
3079
3150
|
shape: "square",
|
|
3080
3151
|
children: [
|
|
3081
|
-
/* @__PURE__ */
|
|
3152
|
+
/* @__PURE__ */ jsx32(AvatarImage2, {
|
|
3082
3153
|
src: image,
|
|
3083
3154
|
alt: label
|
|
3084
3155
|
}),
|
|
3085
|
-
/* @__PURE__ */
|
|
3086
|
-
children: /* @__PURE__ */
|
|
3156
|
+
/* @__PURE__ */ jsx32(AvatarFallback2, {
|
|
3157
|
+
children: /* @__PURE__ */ jsx32(ImageIcon, {
|
|
3087
3158
|
className: "size-12",
|
|
3088
3159
|
"aria-hidden": "true"
|
|
3089
3160
|
})
|
|
3090
3161
|
})
|
|
3091
3162
|
]
|
|
3092
3163
|
}),
|
|
3093
|
-
/* @__PURE__ */
|
|
3164
|
+
/* @__PURE__ */ jsx32("input", {
|
|
3094
3165
|
ref: input,
|
|
3095
3166
|
hidden: true,
|
|
3096
3167
|
type: "file",
|
|
@@ -3106,22 +3177,22 @@ function ImagePicker2({
|
|
|
3106
3177
|
event.currentTarget.value = "";
|
|
3107
3178
|
}
|
|
3108
3179
|
}),
|
|
3109
|
-
/* @__PURE__ */
|
|
3180
|
+
/* @__PURE__ */ jsxs20("div", {
|
|
3110
3181
|
className: "flex flex-wrap justify-center gap-2",
|
|
3111
3182
|
children: [
|
|
3112
|
-
/* @__PURE__ */
|
|
3183
|
+
/* @__PURE__ */ jsxs20(Button2, {
|
|
3113
3184
|
type: "button",
|
|
3114
3185
|
variant: "outline",
|
|
3115
3186
|
disabled,
|
|
3116
3187
|
onClick: () => input.current?.click(),
|
|
3117
3188
|
children: [
|
|
3118
|
-
/* @__PURE__ */
|
|
3189
|
+
/* @__PURE__ */ jsx32(UploadIcon, {
|
|
3119
3190
|
"data-icon": "inline-start"
|
|
3120
3191
|
}),
|
|
3121
3192
|
"Upload image"
|
|
3122
3193
|
]
|
|
3123
3194
|
}),
|
|
3124
|
-
/* @__PURE__ */
|
|
3195
|
+
/* @__PURE__ */ jsx32(Button2, {
|
|
3125
3196
|
type: "button",
|
|
3126
3197
|
variant: "outline",
|
|
3127
3198
|
disabled: disabled || !image,
|
|
@@ -3135,9 +3206,9 @@ function ImagePicker2({
|
|
|
3135
3206
|
}
|
|
3136
3207
|
// src/components/Meter.tsx
|
|
3137
3208
|
import { Meter as MeterPrimitive } from "@base-ui/react/meter";
|
|
3138
|
-
import { jsx as
|
|
3209
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
3139
3210
|
function Meter2({ density, className, ...props }) {
|
|
3140
|
-
return /* @__PURE__ */
|
|
3211
|
+
return /* @__PURE__ */ jsx33(MeterPrimitive.Root, {
|
|
3141
3212
|
"data-density": density,
|
|
3142
3213
|
"data-slot": "meter",
|
|
3143
3214
|
className: (state) => cn2("flex min-w-0 flex-wrap items-center gap-field-gap", typeof className === "function" ? className(state) : className),
|
|
@@ -3145,7 +3216,7 @@ function Meter2({ density, className, ...props }) {
|
|
|
3145
3216
|
});
|
|
3146
3217
|
}
|
|
3147
3218
|
function MeterLabel2({ density, className, ...props }) {
|
|
3148
|
-
return /* @__PURE__ */
|
|
3219
|
+
return /* @__PURE__ */ jsx33(MeterPrimitive.Label, {
|
|
3149
3220
|
"data-density": density,
|
|
3150
3221
|
"data-slot": "meter-label",
|
|
3151
3222
|
className: (state) => cn2("text-sm font-medium", typeof className === "function" ? className(state) : className),
|
|
@@ -3153,7 +3224,7 @@ function MeterLabel2({ density, className, ...props }) {
|
|
|
3153
3224
|
});
|
|
3154
3225
|
}
|
|
3155
3226
|
function MeterValue2({ density, className, ...props }) {
|
|
3156
|
-
return /* @__PURE__ */
|
|
3227
|
+
return /* @__PURE__ */ jsx33(MeterPrimitive.Value, {
|
|
3157
3228
|
"data-density": density,
|
|
3158
3229
|
"data-slot": "meter-value",
|
|
3159
3230
|
className: (state) => cn2("ms-auto text-sm text-muted-foreground tabular-nums", typeof className === "function" ? className(state) : className),
|
|
@@ -3161,7 +3232,7 @@ function MeterValue2({ density, className, ...props }) {
|
|
|
3161
3232
|
});
|
|
3162
3233
|
}
|
|
3163
3234
|
function MeterTrack2({ density, className, ...props }) {
|
|
3164
|
-
return /* @__PURE__ */
|
|
3235
|
+
return /* @__PURE__ */ jsx33(MeterPrimitive.Track, {
|
|
3165
3236
|
"data-density": density,
|
|
3166
3237
|
"data-slot": "meter-track",
|
|
3167
3238
|
className: (state) => cn2("h-1 w-full overflow-hidden rounded-sm bg-muted", typeof className === "function" ? className(state) : className),
|
|
@@ -3173,7 +3244,7 @@ function MeterIndicator2({
|
|
|
3173
3244
|
className,
|
|
3174
3245
|
...props
|
|
3175
3246
|
}) {
|
|
3176
|
-
return /* @__PURE__ */
|
|
3247
|
+
return /* @__PURE__ */ jsx33(MeterPrimitive.Indicator, {
|
|
3177
3248
|
"data-density": density,
|
|
3178
3249
|
"data-slot": "meter-indicator",
|
|
3179
3250
|
className: (state) => cn2("h-full bg-primary transition-[width] motion-reduce:transition-none", typeof className === "function" ? className(state) : className),
|
|
@@ -3183,7 +3254,7 @@ function MeterIndicator2({
|
|
|
3183
3254
|
// src/components/ToolbarToggleChip.tsx
|
|
3184
3255
|
import { useId as useId5 } from "react";
|
|
3185
3256
|
import { Toolbar as ToolbarPrimitive } from "@base-ui/react/toolbar";
|
|
3186
|
-
import { jsx as
|
|
3257
|
+
import { jsx as jsx34, jsxs as jsxs21, Fragment as Fragment5 } from "react/jsx-runtime";
|
|
3187
3258
|
function pressedLabel(pressed) {
|
|
3188
3259
|
if (pressed === "mixed")
|
|
3189
3260
|
return "mixed";
|
|
@@ -3220,7 +3291,7 @@ function ToolbarToggleChip2({
|
|
|
3220
3291
|
if (!spaceActivates && event.key === " ")
|
|
3221
3292
|
event.preventDefault();
|
|
3222
3293
|
};
|
|
3223
|
-
const button = /* @__PURE__ */
|
|
3294
|
+
const button = /* @__PURE__ */ jsxs21(ToolbarPrimitive.Button, {
|
|
3224
3295
|
"data-density": density,
|
|
3225
3296
|
"data-slot": "toolbar-toggle-chip",
|
|
3226
3297
|
"data-pressed": pressedLabel(pressed),
|
|
@@ -3239,17 +3310,17 @@ function ToolbarToggleChip2({
|
|
|
3239
3310
|
trackedChange(pressed !== true);
|
|
3240
3311
|
},
|
|
3241
3312
|
children: [
|
|
3242
|
-
swatch && /* @__PURE__ */
|
|
3313
|
+
swatch && /* @__PURE__ */ jsx34("span", {
|
|
3243
3314
|
"aria-hidden": "true",
|
|
3244
3315
|
"data-slot": "toolbar-toggle-chip-swatch",
|
|
3245
3316
|
className: "size-3 shrink-0 rounded-sm border border-border",
|
|
3246
3317
|
style: { backgroundColor: swatch }
|
|
3247
3318
|
}),
|
|
3248
|
-
/* @__PURE__ */
|
|
3319
|
+
/* @__PURE__ */ jsx34("span", {
|
|
3249
3320
|
className: hideLabel ? "sr-only" : "min-w-0 truncate",
|
|
3250
3321
|
children
|
|
3251
3322
|
}),
|
|
3252
|
-
detail !== undefined && /* @__PURE__ */
|
|
3323
|
+
detail !== undefined && /* @__PURE__ */ jsxs21("span", {
|
|
3253
3324
|
"data-slot": "toolbar-toggle-chip-detail",
|
|
3254
3325
|
className: "text-xs text-muted-foreground",
|
|
3255
3326
|
children: [
|
|
@@ -3257,28 +3328,28 @@ function ToolbarToggleChip2({
|
|
|
3257
3328
|
detail
|
|
3258
3329
|
]
|
|
3259
3330
|
}),
|
|
3260
|
-
shortcut && !hideLabel && /* @__PURE__ */
|
|
3331
|
+
shortcut && !hideLabel && /* @__PURE__ */ jsx34(Kbd2, {
|
|
3261
3332
|
"aria-hidden": "true",
|
|
3262
3333
|
className: "ms-1",
|
|
3263
3334
|
children: shortcut.toUpperCase()
|
|
3264
3335
|
})
|
|
3265
3336
|
]
|
|
3266
3337
|
});
|
|
3267
|
-
return /* @__PURE__ */
|
|
3338
|
+
return /* @__PURE__ */ jsxs21(Fragment5, {
|
|
3268
3339
|
children: [
|
|
3269
|
-
disabledReason && /* @__PURE__ */
|
|
3340
|
+
disabledReason && /* @__PURE__ */ jsx34("span", {
|
|
3270
3341
|
id: reasonId,
|
|
3271
3342
|
className: "sr-only",
|
|
3272
3343
|
children: disabledReason
|
|
3273
3344
|
}),
|
|
3274
|
-
/* @__PURE__ */
|
|
3345
|
+
/* @__PURE__ */ jsxs21(Tooltip2, {
|
|
3275
3346
|
disabled: !disabledReason && !hideLabel,
|
|
3276
3347
|
children: [
|
|
3277
|
-
/* @__PURE__ */
|
|
3348
|
+
/* @__PURE__ */ jsx34(TooltipTrigger2, {
|
|
3278
3349
|
render: button,
|
|
3279
3350
|
closeOnClick: false
|
|
3280
3351
|
}),
|
|
3281
|
-
(disabledReason || hideLabel) && /* @__PURE__ */
|
|
3352
|
+
(disabledReason || hideLabel) && /* @__PURE__ */ jsxs21(TooltipContent2, {
|
|
3282
3353
|
children: [
|
|
3283
3354
|
hideLabel ? children : null,
|
|
3284
3355
|
hideLabel && shortcut ? ` · ${shortcut.toUpperCase()}` : null,
|
|
@@ -3294,9 +3365,9 @@ function ToolbarToggleChip2({
|
|
|
3294
3365
|
// src/components/Stepper.tsx
|
|
3295
3366
|
import { Tabs as TabsPrimitive } from "@base-ui/react/tabs";
|
|
3296
3367
|
import { CheckIcon as CheckIcon2 } from "lucide-react";
|
|
3297
|
-
import { jsx as
|
|
3368
|
+
import { jsx as jsx35 } from "react/jsx-runtime";
|
|
3298
3369
|
function Stepper2({ density, className, ...props }) {
|
|
3299
|
-
return /* @__PURE__ */
|
|
3370
|
+
return /* @__PURE__ */ jsx35(TabsPrimitive.Root, {
|
|
3300
3371
|
"data-density": density,
|
|
3301
3372
|
"data-slot": "stepper",
|
|
3302
3373
|
className: (state) => cn2("group/stepper flex min-w-0 flex-col gap-panel data-[orientation=vertical]:flex-row", typeof className === "function" ? className(state) : className),
|
|
@@ -3309,7 +3380,7 @@ function StepperList2({
|
|
|
3309
3380
|
activateOnFocus = false,
|
|
3310
3381
|
...props
|
|
3311
3382
|
}) {
|
|
3312
|
-
return /* @__PURE__ */
|
|
3383
|
+
return /* @__PURE__ */ jsx35(TabsPrimitive.List, {
|
|
3313
3384
|
"data-density": density,
|
|
3314
3385
|
"data-slot": "stepper-list",
|
|
3315
3386
|
activateOnFocus,
|
|
@@ -3318,7 +3389,7 @@ function StepperList2({
|
|
|
3318
3389
|
});
|
|
3319
3390
|
}
|
|
3320
3391
|
function StepperTrigger2({ density, className, ...props }) {
|
|
3321
|
-
return /* @__PURE__ */
|
|
3392
|
+
return /* @__PURE__ */ jsx35(TabsPrimitive.Tab, {
|
|
3322
3393
|
"data-density": density,
|
|
3323
3394
|
"data-slot": "stepper-trigger",
|
|
3324
3395
|
className: (state) => cn2("group/step flex min-h-control items-center gap-control-gap rounded-sm text-sm text-muted-foreground outline-none focus-visible:ring-1 focus-visible:ring-ring data-active:text-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:opacity-50", typeof className === "function" ? className(state) : className),
|
|
@@ -3326,17 +3397,17 @@ function StepperTrigger2({ density, className, ...props }) {
|
|
|
3326
3397
|
});
|
|
3327
3398
|
}
|
|
3328
3399
|
function StepperIndicator2({ completed = false, children, className, ...props }) {
|
|
3329
|
-
return /* @__PURE__ */
|
|
3400
|
+
return /* @__PURE__ */ jsx35("span", {
|
|
3330
3401
|
"aria-hidden": "true",
|
|
3331
3402
|
"data-slot": "stepper-indicator",
|
|
3332
3403
|
"data-completed": completed || undefined,
|
|
3333
3404
|
className: cn2("flex size-control shrink-0 items-center justify-center rounded-sm border border-input bg-secondary text-sm tabular-nums group-data-active/step:border-primary group-data-active/step:bg-primary group-data-active/step:text-primary-foreground data-completed:border-primary data-completed:text-primary [&_svg]:size-3.5", className),
|
|
3334
3405
|
...props,
|
|
3335
|
-
children: completed ? /* @__PURE__ */
|
|
3406
|
+
children: completed ? /* @__PURE__ */ jsx35(CheckIcon2, {}) : children
|
|
3336
3407
|
});
|
|
3337
3408
|
}
|
|
3338
3409
|
function StepperContent2({ density, className, ...props }) {
|
|
3339
|
-
return /* @__PURE__ */
|
|
3410
|
+
return /* @__PURE__ */ jsx35(TabsPrimitive.Panel, {
|
|
3340
3411
|
"data-density": density,
|
|
3341
3412
|
"data-slot": "stepper-content",
|
|
3342
3413
|
className: (state) => cn2("min-w-0 flex-1 outline-none focus-visible:ring-1 focus-visible:ring-ring", typeof className === "function" ? className(state) : className),
|
|
@@ -3344,7 +3415,7 @@ function StepperContent2({ density, className, ...props }) {
|
|
|
3344
3415
|
});
|
|
3345
3416
|
}
|
|
3346
3417
|
// src/components/AppShell.tsx
|
|
3347
|
-
import { jsx as
|
|
3418
|
+
import { jsx as jsx36, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
3348
3419
|
function AppShell2({
|
|
3349
3420
|
navigation,
|
|
3350
3421
|
brand,
|
|
@@ -3358,28 +3429,28 @@ function AppShell2({
|
|
|
3358
3429
|
content = "scroll",
|
|
3359
3430
|
density
|
|
3360
3431
|
}) {
|
|
3361
|
-
return /* @__PURE__ */
|
|
3432
|
+
return /* @__PURE__ */ jsxs22(SidebarProvider2, {
|
|
3362
3433
|
density,
|
|
3363
3434
|
defaultOpen: defaultSidebarOpen,
|
|
3364
3435
|
className: "relative min-h-0",
|
|
3365
3436
|
style: { height },
|
|
3366
3437
|
"data-scroll": "none",
|
|
3367
3438
|
children: [
|
|
3368
|
-
/* @__PURE__ */
|
|
3439
|
+
/* @__PURE__ */ jsxs22(Sidebar2, {
|
|
3369
3440
|
collapsible: "icon",
|
|
3370
3441
|
position: "container",
|
|
3371
3442
|
children: [
|
|
3372
|
-
/* @__PURE__ */
|
|
3443
|
+
/* @__PURE__ */ jsx36(SidebarHeader2, {
|
|
3373
3444
|
children: brand
|
|
3374
3445
|
}),
|
|
3375
|
-
/* @__PURE__ */
|
|
3376
|
-
children: /* @__PURE__ */
|
|
3446
|
+
/* @__PURE__ */ jsx36(SidebarContent2, {
|
|
3447
|
+
children: /* @__PURE__ */ jsx36("nav", {
|
|
3377
3448
|
"aria-label": "Primary navigation",
|
|
3378
|
-
children: /* @__PURE__ */
|
|
3379
|
-
children: /* @__PURE__ */
|
|
3380
|
-
children: navigation.map((item) => /* @__PURE__ */
|
|
3381
|
-
children: /* @__PURE__ */
|
|
3382
|
-
render: /* @__PURE__ */
|
|
3449
|
+
children: /* @__PURE__ */ jsx36(SidebarGroup2, {
|
|
3450
|
+
children: /* @__PURE__ */ jsx36(SidebarMenu2, {
|
|
3451
|
+
children: navigation.map((item) => /* @__PURE__ */ jsx36(SidebarMenuItem2, {
|
|
3452
|
+
children: /* @__PURE__ */ jsxs22(SidebarMenuButton2, {
|
|
3453
|
+
render: /* @__PURE__ */ jsx36(AnalyticsLink, {
|
|
3383
3454
|
component: "AppShell",
|
|
3384
3455
|
render: item.render,
|
|
3385
3456
|
...item.href === undefined ? {} : { href: item.href },
|
|
@@ -3389,7 +3460,7 @@ function AppShell2({
|
|
|
3389
3460
|
tooltip: item.label,
|
|
3390
3461
|
children: [
|
|
3391
3462
|
item.icon,
|
|
3392
|
-
/* @__PURE__ */
|
|
3463
|
+
/* @__PURE__ */ jsx36("span", {
|
|
3393
3464
|
children: item.label
|
|
3394
3465
|
})
|
|
3395
3466
|
]
|
|
@@ -3399,41 +3470,41 @@ function AppShell2({
|
|
|
3399
3470
|
})
|
|
3400
3471
|
})
|
|
3401
3472
|
}),
|
|
3402
|
-
sidebarFooter && /* @__PURE__ */
|
|
3473
|
+
sidebarFooter && /* @__PURE__ */ jsx36(SidebarFooter2, {
|
|
3403
3474
|
children: sidebarFooter
|
|
3404
3475
|
})
|
|
3405
3476
|
]
|
|
3406
3477
|
}),
|
|
3407
|
-
/* @__PURE__ */
|
|
3478
|
+
/* @__PURE__ */ jsxs22(SidebarInset2, {
|
|
3408
3479
|
"aria-label": label,
|
|
3409
3480
|
className: "min-h-0 min-w-0",
|
|
3410
3481
|
"data-scroll": "none",
|
|
3411
3482
|
children: [
|
|
3412
|
-
/* @__PURE__ */
|
|
3483
|
+
/* @__PURE__ */ jsxs22("header", {
|
|
3413
3484
|
"data-scroll": "none",
|
|
3414
3485
|
className: "flex shrink-0 items-center gap-control-gap border-b border-border p-panel",
|
|
3415
3486
|
children: [
|
|
3416
|
-
/* @__PURE__ */
|
|
3417
|
-
/* @__PURE__ */
|
|
3487
|
+
/* @__PURE__ */ jsx36(SidebarTrigger2, {}),
|
|
3488
|
+
/* @__PURE__ */ jsx36(Separator2, {
|
|
3418
3489
|
orientation: "vertical",
|
|
3419
3490
|
className: "h-control"
|
|
3420
3491
|
}),
|
|
3421
3492
|
header
|
|
3422
3493
|
]
|
|
3423
3494
|
}),
|
|
3424
|
-
content === "fill" ? /* @__PURE__ */
|
|
3495
|
+
content === "fill" ? /* @__PURE__ */ jsx36("div", {
|
|
3425
3496
|
"data-slot": "app-shell-content",
|
|
3426
3497
|
"data-scroll": "none",
|
|
3427
3498
|
className: "flex min-h-0 min-w-0 flex-1 flex-col",
|
|
3428
3499
|
children
|
|
3429
|
-
}) : /* @__PURE__ */
|
|
3500
|
+
}) : /* @__PURE__ */ jsx36(ScrollArea2, {
|
|
3430
3501
|
className: "min-h-0 flex-1",
|
|
3431
|
-
children: /* @__PURE__ */
|
|
3502
|
+
children: /* @__PURE__ */ jsx36("div", {
|
|
3432
3503
|
className: "flex min-w-0 flex-col gap-panel p-panel",
|
|
3433
3504
|
children
|
|
3434
3505
|
})
|
|
3435
3506
|
}),
|
|
3436
|
-
footer && /* @__PURE__ */
|
|
3507
|
+
footer && /* @__PURE__ */ jsx36("footer", {
|
|
3437
3508
|
className: "shrink-0 border-t border-border p-panel",
|
|
3438
3509
|
"data-scroll": "none",
|
|
3439
3510
|
children: footer
|
|
@@ -3783,7 +3854,7 @@ import {
|
|
|
3783
3854
|
DropletIcon,
|
|
3784
3855
|
SunIcon
|
|
3785
3856
|
} from "lucide-react";
|
|
3786
|
-
import { jsx as
|
|
3857
|
+
import { jsx as jsx37, jsxs as jsxs23, Fragment as Fragment6 } from "react/jsx-runtime";
|
|
3787
3858
|
var CONDITION_ICONS = {
|
|
3788
3859
|
clear: SunIcon,
|
|
3789
3860
|
"partly-cloudy": CloudSunIcon,
|
|
@@ -3835,43 +3906,43 @@ function WeatherSummary2({
|
|
|
3835
3906
|
defaultTagName: "div",
|
|
3836
3907
|
props: mergeProps14({
|
|
3837
3908
|
className: cn2("flex min-w-0 text-foreground", isCompact ? "flex-col items-center gap-1 text-center" : "items-center gap-panel-sm", className),
|
|
3838
|
-
children: /* @__PURE__ */
|
|
3909
|
+
children: /* @__PURE__ */ jsxs23(Fragment6, {
|
|
3839
3910
|
children: [
|
|
3840
|
-
/* @__PURE__ */
|
|
3911
|
+
/* @__PURE__ */ jsx37(ConditionIcon, {
|
|
3841
3912
|
"aria-hidden": "true",
|
|
3842
3913
|
"data-slot": "weather-summary-icon",
|
|
3843
3914
|
className: cn2("shrink-0 text-muted-foreground", isCompact ? "size-6" : "size-8")
|
|
3844
3915
|
}),
|
|
3845
|
-
/* @__PURE__ */
|
|
3916
|
+
/* @__PURE__ */ jsxs23("div", {
|
|
3846
3917
|
className: cn2("flex min-w-0 flex-col gap-0.5", isCompact && "items-center"),
|
|
3847
3918
|
children: [
|
|
3848
|
-
/* @__PURE__ */
|
|
3919
|
+
/* @__PURE__ */ jsx37("div", {
|
|
3849
3920
|
className: "text-sm font-medium break-words",
|
|
3850
3921
|
children: label
|
|
3851
3922
|
}),
|
|
3852
|
-
/* @__PURE__ */
|
|
3923
|
+
/* @__PURE__ */ jsx37("div", {
|
|
3853
3924
|
className: cn2("text-sm text-muted-foreground", isCompact && "sr-only"),
|
|
3854
3925
|
children: conditionLabel
|
|
3855
3926
|
}),
|
|
3856
|
-
/* @__PURE__ */
|
|
3927
|
+
/* @__PURE__ */ jsxs23("div", {
|
|
3857
3928
|
className: "flex flex-wrap items-baseline gap-x-2 text-sm tabular-nums",
|
|
3858
3929
|
children: [
|
|
3859
|
-
/* @__PURE__ */
|
|
3930
|
+
/* @__PURE__ */ jsxs23("span", {
|
|
3860
3931
|
children: [
|
|
3861
|
-
/* @__PURE__ */
|
|
3932
|
+
/* @__PURE__ */ jsx37("span", {
|
|
3862
3933
|
className: "sr-only",
|
|
3863
3934
|
children: "High "
|
|
3864
3935
|
}),
|
|
3865
|
-
/* @__PURE__ */
|
|
3936
|
+
/* @__PURE__ */ jsx37("span", {
|
|
3866
3937
|
className: "font-medium",
|
|
3867
3938
|
children: highText
|
|
3868
3939
|
})
|
|
3869
3940
|
]
|
|
3870
3941
|
}),
|
|
3871
|
-
/* @__PURE__ */
|
|
3942
|
+
/* @__PURE__ */ jsxs23("span", {
|
|
3872
3943
|
className: "text-muted-foreground",
|
|
3873
3944
|
children: [
|
|
3874
|
-
/* @__PURE__ */
|
|
3945
|
+
/* @__PURE__ */ jsx37("span", {
|
|
3875
3946
|
className: "sr-only",
|
|
3876
3947
|
children: "Low "
|
|
3877
3948
|
}),
|
|
@@ -3880,17 +3951,17 @@ function WeatherSummary2({
|
|
|
3880
3951
|
})
|
|
3881
3952
|
]
|
|
3882
3953
|
}),
|
|
3883
|
-
probabilityText !== undefined && /* @__PURE__ */
|
|
3954
|
+
probabilityText !== undefined && /* @__PURE__ */ jsxs23("div", {
|
|
3884
3955
|
className: "flex items-center gap-1 text-xs text-muted-foreground tabular-nums",
|
|
3885
3956
|
children: [
|
|
3886
|
-
/* @__PURE__ */
|
|
3957
|
+
/* @__PURE__ */ jsx37(DropletIcon, {
|
|
3887
3958
|
"aria-hidden": "true",
|
|
3888
3959
|
className: "size-3 shrink-0"
|
|
3889
3960
|
}),
|
|
3890
|
-
/* @__PURE__ */
|
|
3961
|
+
/* @__PURE__ */ jsxs23("span", {
|
|
3891
3962
|
children: [
|
|
3892
3963
|
probabilityText,
|
|
3893
|
-
/* @__PURE__ */
|
|
3964
|
+
/* @__PURE__ */ jsx37("span", {
|
|
3894
3965
|
className: "sr-only",
|
|
3895
3966
|
children: " chance of precipitation"
|
|
3896
3967
|
})
|
|
@@ -3908,7 +3979,7 @@ function WeatherSummary2({
|
|
|
3908
3979
|
});
|
|
3909
3980
|
}
|
|
3910
3981
|
// src/components/WeatherForecast.tsx
|
|
3911
|
-
import { jsx as
|
|
3982
|
+
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
3912
3983
|
function WeatherForecast2({
|
|
3913
3984
|
days,
|
|
3914
3985
|
label,
|
|
@@ -3919,52 +3990,52 @@ function WeatherForecast2({
|
|
|
3919
3990
|
className,
|
|
3920
3991
|
...props
|
|
3921
3992
|
}) {
|
|
3922
|
-
return /* @__PURE__ */
|
|
3993
|
+
return /* @__PURE__ */ jsx38("ul", {
|
|
3923
3994
|
"aria-label": label,
|
|
3924
3995
|
"data-slot": "weather-forecast",
|
|
3925
3996
|
"data-density": density,
|
|
3926
3997
|
className: cn2("grid min-w-0 gap-panel-sm", variant === "strip" && "grid-cols-[repeat(auto-fill,minmax(6rem,1fr))]", className),
|
|
3927
3998
|
...props,
|
|
3928
|
-
children: days.map(({ id, ...day }) => /* @__PURE__ */
|
|
3999
|
+
children: days.map(({ id, ...day }) => /* @__PURE__ */ jsx38(WeatherSummary2, {
|
|
3929
4000
|
...day,
|
|
3930
4001
|
unit,
|
|
3931
4002
|
locale,
|
|
3932
4003
|
variant: variant === "strip" ? "compact" : "default",
|
|
3933
|
-
render: /* @__PURE__ */
|
|
4004
|
+
render: /* @__PURE__ */ jsx38("li", {})
|
|
3934
4005
|
}, id))
|
|
3935
4006
|
});
|
|
3936
4007
|
}
|
|
3937
4008
|
// src/components/PageHeader.tsx
|
|
3938
|
-
import { jsx as
|
|
4009
|
+
import { jsx as jsx39, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
3939
4010
|
function PageHeader2({ title, eyebrow, description, breadcrumbs, actions, density }) {
|
|
3940
|
-
return /* @__PURE__ */
|
|
4011
|
+
return /* @__PURE__ */ jsxs24("header", {
|
|
3941
4012
|
"data-density": density,
|
|
3942
4013
|
"data-slot": "page-header",
|
|
3943
4014
|
"data-scroll": "none",
|
|
3944
4015
|
className: "flex min-w-0 flex-col gap-field-gap",
|
|
3945
4016
|
children: [
|
|
3946
4017
|
breadcrumbs,
|
|
3947
|
-
/* @__PURE__ */
|
|
4018
|
+
/* @__PURE__ */ jsxs24("div", {
|
|
3948
4019
|
className: "flex min-w-0 flex-wrap items-start justify-between gap-panel",
|
|
3949
4020
|
children: [
|
|
3950
|
-
/* @__PURE__ */
|
|
4021
|
+
/* @__PURE__ */ jsxs24("div", {
|
|
3951
4022
|
className: "min-w-0",
|
|
3952
4023
|
children: [
|
|
3953
|
-
eyebrow != null && /* @__PURE__ */
|
|
4024
|
+
eyebrow != null && /* @__PURE__ */ jsx39("div", {
|
|
3954
4025
|
className: "mb-2 text-xs font-medium tracking-widest text-muted-foreground",
|
|
3955
4026
|
children: eyebrow
|
|
3956
4027
|
}),
|
|
3957
|
-
/* @__PURE__ */
|
|
4028
|
+
/* @__PURE__ */ jsx39("h1", {
|
|
3958
4029
|
className: "text-xl font-semibold text-foreground",
|
|
3959
4030
|
children: title
|
|
3960
4031
|
}),
|
|
3961
|
-
description && /* @__PURE__ */
|
|
4032
|
+
description && /* @__PURE__ */ jsx39("div", {
|
|
3962
4033
|
className: "mt-1 text-sm text-muted-foreground",
|
|
3963
4034
|
children: description
|
|
3964
4035
|
})
|
|
3965
4036
|
]
|
|
3966
4037
|
}),
|
|
3967
|
-
actions && /* @__PURE__ */
|
|
4038
|
+
actions && /* @__PURE__ */ jsx39("div", {
|
|
3968
4039
|
className: "flex min-w-0 max-w-full flex-wrap items-center gap-control-gap wrap-anywhere",
|
|
3969
4040
|
children: actions
|
|
3970
4041
|
})
|
|
@@ -3974,46 +4045,46 @@ function PageHeader2({ title, eyebrow, description, breadcrumbs, actions, densit
|
|
|
3974
4045
|
});
|
|
3975
4046
|
}
|
|
3976
4047
|
// src/components/PageIntro.tsx
|
|
3977
|
-
import { jsx as
|
|
4048
|
+
import { jsx as jsx40, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
3978
4049
|
function PageIntro2({ title, description, eyebrow, icon, actions, highlights, density }) {
|
|
3979
|
-
return /* @__PURE__ */
|
|
4050
|
+
return /* @__PURE__ */ jsx40("header", {
|
|
3980
4051
|
"data-density": density,
|
|
3981
4052
|
"data-slot": "page-intro",
|
|
3982
4053
|
"data-scroll": "none",
|
|
3983
4054
|
className: "@container/page-intro min-w-0",
|
|
3984
|
-
children: /* @__PURE__ */
|
|
4055
|
+
children: /* @__PURE__ */ jsxs25(Card2, {
|
|
3985
4056
|
variant: "hero",
|
|
3986
4057
|
className: "gap-0 py-0",
|
|
3987
4058
|
children: [
|
|
3988
|
-
/* @__PURE__ */
|
|
4059
|
+
/* @__PURE__ */ jsx40("div", {
|
|
3989
4060
|
"aria-hidden": "true",
|
|
3990
4061
|
"data-slot": "page-intro-wash",
|
|
3991
4062
|
className: "pointer-events-none absolute inset-0 -z-10 bg-[radial-gradient(ellipse_90%_140%_at_100%_0%,color-mix(in_oklab,var(--primary)_16%,transparent),transparent_65%)]"
|
|
3992
4063
|
}),
|
|
3993
|
-
/* @__PURE__ */
|
|
4064
|
+
/* @__PURE__ */ jsxs25("div", {
|
|
3994
4065
|
className: "flex min-w-0 flex-col gap-panel p-(--card-spacing) @2xl/page-intro:flex-row @2xl/page-intro:items-start @2xl/page-intro:justify-between",
|
|
3995
4066
|
children: [
|
|
3996
|
-
/* @__PURE__ */
|
|
4067
|
+
/* @__PURE__ */ jsxs25("div", {
|
|
3997
4068
|
className: "flex min-w-0 gap-panel",
|
|
3998
4069
|
children: [
|
|
3999
|
-
icon != null && /* @__PURE__ */
|
|
4070
|
+
icon != null && /* @__PURE__ */ jsx40("div", {
|
|
4000
4071
|
"aria-hidden": "true",
|
|
4001
4072
|
"data-slot": "page-intro-icon",
|
|
4002
4073
|
className: "flex size-12 shrink-0 items-center justify-center rounded-md bg-primary/10 text-primary [&_svg]:size-6",
|
|
4003
4074
|
children: icon
|
|
4004
4075
|
}),
|
|
4005
|
-
/* @__PURE__ */
|
|
4076
|
+
/* @__PURE__ */ jsxs25("div", {
|
|
4006
4077
|
className: "min-w-0",
|
|
4007
4078
|
children: [
|
|
4008
|
-
eyebrow != null && /* @__PURE__ */
|
|
4079
|
+
eyebrow != null && /* @__PURE__ */ jsx40("div", {
|
|
4009
4080
|
className: "mb-1 text-xs font-medium tracking-widest text-muted-foreground",
|
|
4010
4081
|
children: eyebrow
|
|
4011
4082
|
}),
|
|
4012
|
-
/* @__PURE__ */
|
|
4083
|
+
/* @__PURE__ */ jsx40("h1", {
|
|
4013
4084
|
className: "text-2xl font-semibold text-foreground",
|
|
4014
4085
|
children: title
|
|
4015
4086
|
}),
|
|
4016
|
-
/* @__PURE__ */
|
|
4087
|
+
/* @__PURE__ */ jsx40("div", {
|
|
4017
4088
|
className: "mt-2 max-w-prose text-base text-pretty text-muted-foreground",
|
|
4018
4089
|
children: description
|
|
4019
4090
|
})
|
|
@@ -4021,33 +4092,33 @@ function PageIntro2({ title, description, eyebrow, icon, actions, highlights, de
|
|
|
4021
4092
|
})
|
|
4022
4093
|
]
|
|
4023
4094
|
}),
|
|
4024
|
-
actions != null && /* @__PURE__ */
|
|
4095
|
+
actions != null && /* @__PURE__ */ jsx40("div", {
|
|
4025
4096
|
className: "flex min-w-0 max-w-full shrink-0 flex-wrap items-center gap-control-gap wrap-anywhere",
|
|
4026
4097
|
children: actions
|
|
4027
4098
|
})
|
|
4028
4099
|
]
|
|
4029
4100
|
}),
|
|
4030
|
-
highlights != null && highlights.length > 0 && /* @__PURE__ */
|
|
4101
|
+
highlights != null && highlights.length > 0 && /* @__PURE__ */ jsx40("ul", {
|
|
4031
4102
|
"aria-label": `What you can do in ${title}`,
|
|
4032
4103
|
"data-slot": "page-intro-highlights",
|
|
4033
4104
|
className: "grid grid-cols-[repeat(auto-fit,minmax(min(100%,13rem),1fr))] gap-panel border-t border-border p-(--card-spacing)",
|
|
4034
|
-
children: highlights.map((highlight) => /* @__PURE__ */
|
|
4105
|
+
children: highlights.map((highlight) => /* @__PURE__ */ jsxs25("li", {
|
|
4035
4106
|
"data-slot": "page-intro-highlight",
|
|
4036
4107
|
className: "flex min-w-0 gap-2",
|
|
4037
4108
|
children: [
|
|
4038
|
-
highlight.icon != null && /* @__PURE__ */
|
|
4109
|
+
highlight.icon != null && /* @__PURE__ */ jsx40("span", {
|
|
4039
4110
|
"aria-hidden": "true",
|
|
4040
4111
|
className: "mt-0.5 shrink-0 text-primary [&_svg]:size-4",
|
|
4041
4112
|
children: highlight.icon
|
|
4042
4113
|
}),
|
|
4043
|
-
/* @__PURE__ */
|
|
4114
|
+
/* @__PURE__ */ jsxs25("div", {
|
|
4044
4115
|
className: "min-w-0",
|
|
4045
4116
|
children: [
|
|
4046
|
-
/* @__PURE__ */
|
|
4117
|
+
/* @__PURE__ */ jsx40("div", {
|
|
4047
4118
|
className: "text-sm font-medium text-foreground",
|
|
4048
4119
|
children: highlight.title
|
|
4049
4120
|
}),
|
|
4050
|
-
/* @__PURE__ */
|
|
4121
|
+
/* @__PURE__ */ jsx40("div", {
|
|
4051
4122
|
className: "mt-0.5 text-sm text-muted-foreground",
|
|
4052
4123
|
children: highlight.description
|
|
4053
4124
|
})
|
|
@@ -4061,7 +4132,7 @@ function PageIntro2({ title, description, eyebrow, icon, actions, highlights, de
|
|
|
4061
4132
|
});
|
|
4062
4133
|
}
|
|
4063
4134
|
// src/components/WorkspaceSwitcher.tsx
|
|
4064
|
-
import { jsx as
|
|
4135
|
+
import { jsx as jsx41, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
4065
4136
|
function WorkspaceSwitcher2({
|
|
4066
4137
|
workspaces,
|
|
4067
4138
|
value,
|
|
@@ -4071,7 +4142,7 @@ function WorkspaceSwitcher2({
|
|
|
4071
4142
|
label = "Workspace",
|
|
4072
4143
|
density
|
|
4073
4144
|
}) {
|
|
4074
|
-
return /* @__PURE__ */
|
|
4145
|
+
return /* @__PURE__ */ jsxs26(Select2, {
|
|
4075
4146
|
items: workspaces,
|
|
4076
4147
|
value,
|
|
4077
4148
|
defaultValue: defaultValue ?? workspaces[0]?.value,
|
|
@@ -4081,15 +4152,15 @@ function WorkspaceSwitcher2({
|
|
|
4081
4152
|
},
|
|
4082
4153
|
disabled,
|
|
4083
4154
|
children: [
|
|
4084
|
-
/* @__PURE__ */
|
|
4155
|
+
/* @__PURE__ */ jsx41(SelectTrigger2, {
|
|
4085
4156
|
"aria-label": label,
|
|
4086
4157
|
density,
|
|
4087
|
-
children: /* @__PURE__ */
|
|
4158
|
+
children: /* @__PURE__ */ jsx41(SelectValue2, {})
|
|
4088
4159
|
}),
|
|
4089
|
-
/* @__PURE__ */
|
|
4160
|
+
/* @__PURE__ */ jsx41(SelectContent2, {
|
|
4090
4161
|
density,
|
|
4091
|
-
children: /* @__PURE__ */
|
|
4092
|
-
children: workspaces.map((workspace) => /* @__PURE__ */
|
|
4162
|
+
children: /* @__PURE__ */ jsx41(SelectGroup2, {
|
|
4163
|
+
children: workspaces.map((workspace) => /* @__PURE__ */ jsx41(SelectItem2, {
|
|
4093
4164
|
value: workspace.value,
|
|
4094
4165
|
children: workspace.label
|
|
4095
4166
|
}, workspace.value))
|
|
@@ -4099,52 +4170,52 @@ function WorkspaceSwitcher2({
|
|
|
4099
4170
|
});
|
|
4100
4171
|
}
|
|
4101
4172
|
// src/components/AccountMenu.tsx
|
|
4102
|
-
import { jsx as
|
|
4173
|
+
import { jsx as jsx42, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
4103
4174
|
function AccountMenu2({ name, email, image, onAction, density }) {
|
|
4104
|
-
return /* @__PURE__ */
|
|
4175
|
+
return /* @__PURE__ */ jsxs27(DropdownMenu2, {
|
|
4105
4176
|
children: [
|
|
4106
|
-
/* @__PURE__ */
|
|
4107
|
-
render: /* @__PURE__ */
|
|
4177
|
+
/* @__PURE__ */ jsxs27(DropdownMenuTrigger2, {
|
|
4178
|
+
render: /* @__PURE__ */ jsx42(Button2, {
|
|
4108
4179
|
variant: "ghost",
|
|
4109
4180
|
density
|
|
4110
4181
|
}),
|
|
4111
4182
|
"aria-label": `Account menu for ${name}`,
|
|
4112
4183
|
children: [
|
|
4113
|
-
/* @__PURE__ */
|
|
4184
|
+
/* @__PURE__ */ jsxs27(Avatar2, {
|
|
4114
4185
|
className: "size-control",
|
|
4115
4186
|
children: [
|
|
4116
|
-
/* @__PURE__ */
|
|
4187
|
+
/* @__PURE__ */ jsx42(AvatarImage2, {
|
|
4117
4188
|
src: image,
|
|
4118
4189
|
alt: ""
|
|
4119
4190
|
}),
|
|
4120
|
-
/* @__PURE__ */
|
|
4191
|
+
/* @__PURE__ */ jsx42(AvatarFallback2, {
|
|
4121
4192
|
children: name.slice(0, 2).toUpperCase()
|
|
4122
4193
|
})
|
|
4123
4194
|
]
|
|
4124
4195
|
}),
|
|
4125
|
-
/* @__PURE__ */
|
|
4196
|
+
/* @__PURE__ */ jsx42("span", {
|
|
4126
4197
|
children: name
|
|
4127
4198
|
})
|
|
4128
4199
|
]
|
|
4129
4200
|
}),
|
|
4130
|
-
/* @__PURE__ */
|
|
4201
|
+
/* @__PURE__ */ jsx42(MenuPopup, {
|
|
4131
4202
|
density,
|
|
4132
4203
|
align: "end",
|
|
4133
|
-
children: /* @__PURE__ */
|
|
4204
|
+
children: /* @__PURE__ */ jsxs27(MenuGroup2, {
|
|
4134
4205
|
children: [
|
|
4135
|
-
/* @__PURE__ */
|
|
4206
|
+
/* @__PURE__ */ jsx42(MenuLabel2, {
|
|
4136
4207
|
children: email ?? name
|
|
4137
4208
|
}),
|
|
4138
|
-
/* @__PURE__ */
|
|
4209
|
+
/* @__PURE__ */ jsx42(MenuItem2, {
|
|
4139
4210
|
onClick: () => onAction("profile"),
|
|
4140
4211
|
children: "Profile"
|
|
4141
4212
|
}),
|
|
4142
|
-
/* @__PURE__ */
|
|
4213
|
+
/* @__PURE__ */ jsx42(MenuItem2, {
|
|
4143
4214
|
onClick: () => onAction("settings"),
|
|
4144
4215
|
children: "Settings"
|
|
4145
4216
|
}),
|
|
4146
|
-
/* @__PURE__ */
|
|
4147
|
-
/* @__PURE__ */
|
|
4217
|
+
/* @__PURE__ */ jsx42(MenuSeparator2, {}),
|
|
4218
|
+
/* @__PURE__ */ jsx42(MenuItem2, {
|
|
4148
4219
|
onClick: () => onAction("sign-out"),
|
|
4149
4220
|
children: "Sign out"
|
|
4150
4221
|
})
|
|
@@ -4155,7 +4226,7 @@ function AccountMenu2({ name, email, image, onAction, density }) {
|
|
|
4155
4226
|
});
|
|
4156
4227
|
}
|
|
4157
4228
|
// src/components/StatCard.tsx
|
|
4158
|
-
import { jsx as
|
|
4229
|
+
import { jsx as jsx43, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
4159
4230
|
function StatCard2({
|
|
4160
4231
|
label,
|
|
4161
4232
|
value,
|
|
@@ -4166,40 +4237,40 @@ function StatCard2({
|
|
|
4166
4237
|
loading = false,
|
|
4167
4238
|
density
|
|
4168
4239
|
}) {
|
|
4169
|
-
return /* @__PURE__ */
|
|
4240
|
+
return /* @__PURE__ */ jsxs28(Card2, {
|
|
4170
4241
|
density,
|
|
4171
4242
|
"aria-label": label,
|
|
4172
4243
|
"aria-busy": loading,
|
|
4173
4244
|
children: [
|
|
4174
|
-
/* @__PURE__ */
|
|
4245
|
+
/* @__PURE__ */ jsxs28(CardHeader2, {
|
|
4175
4246
|
children: [
|
|
4176
|
-
/* @__PURE__ */
|
|
4247
|
+
/* @__PURE__ */ jsx43(CardTitle2, {
|
|
4177
4248
|
children: label
|
|
4178
4249
|
}),
|
|
4179
|
-
description && /* @__PURE__ */
|
|
4250
|
+
description && /* @__PURE__ */ jsx43(CardDescription2, {
|
|
4180
4251
|
children: description
|
|
4181
4252
|
})
|
|
4182
4253
|
]
|
|
4183
4254
|
}),
|
|
4184
|
-
/* @__PURE__ */
|
|
4185
|
-
children: /* @__PURE__ */
|
|
4255
|
+
/* @__PURE__ */ jsx43(CardContent2, {
|
|
4256
|
+
children: /* @__PURE__ */ jsxs28("div", {
|
|
4186
4257
|
className: "flex flex-wrap items-center justify-between gap-control-gap",
|
|
4187
4258
|
children: [
|
|
4188
|
-
loading ? /* @__PURE__ */
|
|
4259
|
+
loading ? /* @__PURE__ */ jsx43(Skeleton2, {
|
|
4189
4260
|
className: "h-8 w-24",
|
|
4190
4261
|
"aria-label": `Loading ${label}`
|
|
4191
|
-
}) : /* @__PURE__ */
|
|
4262
|
+
}) : /* @__PURE__ */ jsx43("div", {
|
|
4192
4263
|
className: "text-2xl font-semibold tabular-nums",
|
|
4193
4264
|
children: value
|
|
4194
4265
|
}),
|
|
4195
|
-
change && /* @__PURE__ */
|
|
4266
|
+
change && /* @__PURE__ */ jsx43(Badge2, {
|
|
4196
4267
|
variant: changeIntent === "positive" ? "success" : changeIntent === "negative" ? "destructive" : "secondary",
|
|
4197
4268
|
children: change
|
|
4198
4269
|
})
|
|
4199
4270
|
]
|
|
4200
4271
|
})
|
|
4201
4272
|
}),
|
|
4202
|
-
children && /* @__PURE__ */
|
|
4273
|
+
children && /* @__PURE__ */ jsx43(CardFooter2, {
|
|
4203
4274
|
children
|
|
4204
4275
|
})
|
|
4205
4276
|
]
|
|
@@ -4207,7 +4278,7 @@ function StatCard2({
|
|
|
4207
4278
|
}
|
|
4208
4279
|
// src/components/AuthForm.tsx
|
|
4209
4280
|
import { useId as useId6, useState as useState7 } from "react";
|
|
4210
|
-
import { jsx as
|
|
4281
|
+
import { jsx as jsx44, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
4211
4282
|
function AuthForm2({
|
|
4212
4283
|
mode = "sign-in",
|
|
4213
4284
|
onSubmit,
|
|
@@ -4237,33 +4308,33 @@ function AuthForm2({
|
|
|
4237
4308
|
setPending(false);
|
|
4238
4309
|
}
|
|
4239
4310
|
}
|
|
4240
|
-
return /* @__PURE__ */
|
|
4311
|
+
return /* @__PURE__ */ jsxs29(Card2, {
|
|
4241
4312
|
density,
|
|
4242
4313
|
children: [
|
|
4243
|
-
/* @__PURE__ */
|
|
4314
|
+
/* @__PURE__ */ jsxs29(CardHeader2, {
|
|
4244
4315
|
children: [
|
|
4245
|
-
/* @__PURE__ */
|
|
4316
|
+
/* @__PURE__ */ jsx44(CardTitle2, {
|
|
4246
4317
|
children: title
|
|
4247
4318
|
}),
|
|
4248
|
-
/* @__PURE__ */
|
|
4319
|
+
/* @__PURE__ */ jsx44(CardDescription2, {
|
|
4249
4320
|
children: mode === "reset-password" ? "Enter your email to request a password reset." : "Enter your details to continue."
|
|
4250
4321
|
})
|
|
4251
4322
|
]
|
|
4252
4323
|
}),
|
|
4253
|
-
/* @__PURE__ */
|
|
4254
|
-
children: /* @__PURE__ */
|
|
4324
|
+
/* @__PURE__ */ jsx44(CardContent2, {
|
|
4325
|
+
children: /* @__PURE__ */ jsx44("form", {
|
|
4255
4326
|
onSubmit: submit,
|
|
4256
4327
|
"aria-label": title,
|
|
4257
4328
|
"aria-busy": pending,
|
|
4258
|
-
children: /* @__PURE__ */
|
|
4329
|
+
children: /* @__PURE__ */ jsxs29(FieldGroup2, {
|
|
4259
4330
|
children: [
|
|
4260
|
-
mode === "sign-up" && /* @__PURE__ */
|
|
4331
|
+
mode === "sign-up" && /* @__PURE__ */ jsxs29(Field2, {
|
|
4261
4332
|
children: [
|
|
4262
|
-
/* @__PURE__ */
|
|
4333
|
+
/* @__PURE__ */ jsx44(FieldLabel2, {
|
|
4263
4334
|
htmlFor: id + "-name",
|
|
4264
4335
|
children: "Name"
|
|
4265
4336
|
}),
|
|
4266
|
-
/* @__PURE__ */
|
|
4337
|
+
/* @__PURE__ */ jsx44(Input2, {
|
|
4267
4338
|
id: id + "-name",
|
|
4268
4339
|
name: "name",
|
|
4269
4340
|
autoComplete: "name",
|
|
@@ -4272,13 +4343,13 @@ function AuthForm2({
|
|
|
4272
4343
|
})
|
|
4273
4344
|
]
|
|
4274
4345
|
}),
|
|
4275
|
-
/* @__PURE__ */
|
|
4346
|
+
/* @__PURE__ */ jsxs29(Field2, {
|
|
4276
4347
|
children: [
|
|
4277
|
-
/* @__PURE__ */
|
|
4348
|
+
/* @__PURE__ */ jsx44(FieldLabel2, {
|
|
4278
4349
|
htmlFor: id + "-email",
|
|
4279
4350
|
children: "Email"
|
|
4280
4351
|
}),
|
|
4281
|
-
/* @__PURE__ */
|
|
4352
|
+
/* @__PURE__ */ jsx44(Input2, {
|
|
4282
4353
|
id: id + "-email",
|
|
4283
4354
|
name: "email",
|
|
4284
4355
|
type: "email",
|
|
@@ -4288,13 +4359,13 @@ function AuthForm2({
|
|
|
4288
4359
|
})
|
|
4289
4360
|
]
|
|
4290
4361
|
}),
|
|
4291
|
-
mode !== "reset-password" && /* @__PURE__ */
|
|
4362
|
+
mode !== "reset-password" && /* @__PURE__ */ jsxs29(Field2, {
|
|
4292
4363
|
children: [
|
|
4293
|
-
/* @__PURE__ */
|
|
4364
|
+
/* @__PURE__ */ jsx44(FieldLabel2, {
|
|
4294
4365
|
htmlFor: id + "-password",
|
|
4295
4366
|
children: "Password"
|
|
4296
4367
|
}),
|
|
4297
|
-
/* @__PURE__ */
|
|
4368
|
+
/* @__PURE__ */ jsx44(Input2, {
|
|
4298
4369
|
id: id + "-password",
|
|
4299
4370
|
name: "password",
|
|
4300
4371
|
type: "password",
|
|
@@ -4303,27 +4374,27 @@ function AuthForm2({
|
|
|
4303
4374
|
required: true,
|
|
4304
4375
|
disabled: disabled || pending
|
|
4305
4376
|
}),
|
|
4306
|
-
mode === "sign-up" && /* @__PURE__ */
|
|
4377
|
+
mode === "sign-up" && /* @__PURE__ */ jsx44(FieldDescription2, {
|
|
4307
4378
|
children: "Use at least eight characters."
|
|
4308
4379
|
})
|
|
4309
4380
|
]
|
|
4310
4381
|
}),
|
|
4311
|
-
error && /* @__PURE__ */
|
|
4382
|
+
error && /* @__PURE__ */ jsxs29(Alert2, {
|
|
4312
4383
|
variant: "destructive",
|
|
4313
4384
|
children: [
|
|
4314
|
-
/* @__PURE__ */
|
|
4385
|
+
/* @__PURE__ */ jsx44(AlertTitle2, {
|
|
4315
4386
|
children: "Request failed"
|
|
4316
4387
|
}),
|
|
4317
|
-
/* @__PURE__ */
|
|
4388
|
+
/* @__PURE__ */ jsx44(AlertDescription2, {
|
|
4318
4389
|
children: error
|
|
4319
4390
|
})
|
|
4320
4391
|
]
|
|
4321
4392
|
}),
|
|
4322
|
-
/* @__PURE__ */
|
|
4393
|
+
/* @__PURE__ */ jsxs29(Button2, {
|
|
4323
4394
|
type: "submit",
|
|
4324
4395
|
disabled: disabled || pending,
|
|
4325
4396
|
children: [
|
|
4326
|
-
pending && /* @__PURE__ */
|
|
4397
|
+
pending && /* @__PURE__ */ jsx44(Spinner2, {
|
|
4327
4398
|
"data-icon": "inline-start"
|
|
4328
4399
|
}),
|
|
4329
4400
|
mode === "reset-password" ? "Send reset link" : title
|
|
@@ -4334,14 +4405,14 @@ function AuthForm2({
|
|
|
4334
4405
|
})
|
|
4335
4406
|
})
|
|
4336
4407
|
}),
|
|
4337
|
-
footer && /* @__PURE__ */
|
|
4408
|
+
footer && /* @__PURE__ */ jsx44(CardFooter2, {
|
|
4338
4409
|
children: footer
|
|
4339
4410
|
})
|
|
4340
4411
|
]
|
|
4341
4412
|
});
|
|
4342
4413
|
}
|
|
4343
4414
|
// src/components/SettingsSection.tsx
|
|
4344
|
-
import { jsx as
|
|
4415
|
+
import { jsx as jsx45, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
4345
4416
|
function SettingsSection2({
|
|
4346
4417
|
title,
|
|
4347
4418
|
description,
|
|
@@ -4354,48 +4425,48 @@ function SettingsSection2({
|
|
|
4354
4425
|
destructive = false,
|
|
4355
4426
|
density
|
|
4356
4427
|
}) {
|
|
4357
|
-
return /* @__PURE__ */
|
|
4428
|
+
return /* @__PURE__ */ jsx45("form", {
|
|
4358
4429
|
"aria-label": title,
|
|
4359
4430
|
onSubmit,
|
|
4360
4431
|
"aria-busy": pending,
|
|
4361
|
-
children: /* @__PURE__ */
|
|
4432
|
+
children: /* @__PURE__ */ jsxs30(Card2, {
|
|
4362
4433
|
density,
|
|
4363
4434
|
children: [
|
|
4364
|
-
/* @__PURE__ */
|
|
4435
|
+
/* @__PURE__ */ jsxs30(CardHeader2, {
|
|
4365
4436
|
children: [
|
|
4366
|
-
/* @__PURE__ */
|
|
4437
|
+
/* @__PURE__ */ jsx45(CardTitle2, {
|
|
4367
4438
|
children: title
|
|
4368
4439
|
}),
|
|
4369
|
-
description && /* @__PURE__ */
|
|
4440
|
+
description && /* @__PURE__ */ jsx45(CardDescription2, {
|
|
4370
4441
|
children: description
|
|
4371
4442
|
})
|
|
4372
4443
|
]
|
|
4373
4444
|
}),
|
|
4374
|
-
/* @__PURE__ */
|
|
4375
|
-
children: /* @__PURE__ */
|
|
4445
|
+
/* @__PURE__ */ jsx45(CardContent2, {
|
|
4446
|
+
children: /* @__PURE__ */ jsxs30("fieldset", {
|
|
4376
4447
|
disabled: disabled || pending,
|
|
4377
4448
|
className: "min-w-0 border-0 p-0",
|
|
4378
4449
|
children: [
|
|
4379
|
-
/* @__PURE__ */
|
|
4450
|
+
/* @__PURE__ */ jsx45("legend", {
|
|
4380
4451
|
className: "sr-only",
|
|
4381
4452
|
children: title
|
|
4382
4453
|
}),
|
|
4383
|
-
/* @__PURE__ */
|
|
4454
|
+
/* @__PURE__ */ jsx45(FieldGroup2, {
|
|
4384
4455
|
children
|
|
4385
4456
|
})
|
|
4386
4457
|
]
|
|
4387
4458
|
})
|
|
4388
4459
|
}),
|
|
4389
|
-
/* @__PURE__ */
|
|
4460
|
+
/* @__PURE__ */ jsxs30(CardFooter2, {
|
|
4390
4461
|
className: "flex flex-wrap items-center justify-between gap-control-gap",
|
|
4391
4462
|
children: [
|
|
4392
4463
|
footer,
|
|
4393
|
-
/* @__PURE__ */
|
|
4464
|
+
/* @__PURE__ */ jsxs30(Button2, {
|
|
4394
4465
|
type: "submit",
|
|
4395
4466
|
variant: destructive ? "destructive" : "default",
|
|
4396
4467
|
disabled: disabled || pending,
|
|
4397
4468
|
children: [
|
|
4398
|
-
pending && /* @__PURE__ */
|
|
4469
|
+
pending && /* @__PURE__ */ jsx45(Spinner2, {
|
|
4399
4470
|
"data-icon": "inline-start"
|
|
4400
4471
|
}),
|
|
4401
4472
|
saveLabel
|
|
@@ -4408,7 +4479,7 @@ function SettingsSection2({
|
|
|
4408
4479
|
});
|
|
4409
4480
|
}
|
|
4410
4481
|
// src/components/TagInput.tsx
|
|
4411
|
-
import { jsx as
|
|
4482
|
+
import { jsx as jsx46, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
4412
4483
|
function TagInput2({
|
|
4413
4484
|
label,
|
|
4414
4485
|
options,
|
|
@@ -4421,7 +4492,7 @@ function TagInput2({
|
|
|
4421
4492
|
density
|
|
4422
4493
|
}) {
|
|
4423
4494
|
const anchor = useComboboxAnchor2();
|
|
4424
|
-
return /* @__PURE__ */
|
|
4495
|
+
return /* @__PURE__ */ jsxs31(Combobox2, {
|
|
4425
4496
|
items: options,
|
|
4426
4497
|
multiple: true,
|
|
4427
4498
|
value,
|
|
@@ -4430,33 +4501,33 @@ function TagInput2({
|
|
|
4430
4501
|
disabled,
|
|
4431
4502
|
name,
|
|
4432
4503
|
children: [
|
|
4433
|
-
/* @__PURE__ */
|
|
4504
|
+
/* @__PURE__ */ jsxs31(ComboboxChips2, {
|
|
4434
4505
|
ref: anchor,
|
|
4435
4506
|
density,
|
|
4436
4507
|
children: [
|
|
4437
|
-
/* @__PURE__ */
|
|
4438
|
-
children: (values) => values.map((item) => /* @__PURE__ */
|
|
4508
|
+
/* @__PURE__ */ jsx46(ComboboxValue2, {
|
|
4509
|
+
children: (values) => values.map((item) => /* @__PURE__ */ jsx46(ComboboxChip2, {
|
|
4439
4510
|
removeLabel: `Remove ${item}`,
|
|
4440
4511
|
children: item
|
|
4441
4512
|
}, item))
|
|
4442
4513
|
}),
|
|
4443
|
-
/* @__PURE__ */
|
|
4514
|
+
/* @__PURE__ */ jsx46(ComboboxChipsInput2, {
|
|
4444
4515
|
"aria-label": label,
|
|
4445
4516
|
placeholder
|
|
4446
4517
|
})
|
|
4447
4518
|
]
|
|
4448
4519
|
}),
|
|
4449
|
-
/* @__PURE__ */
|
|
4520
|
+
/* @__PURE__ */ jsxs31(ComboboxContent2, {
|
|
4450
4521
|
anchor,
|
|
4451
4522
|
density,
|
|
4452
4523
|
children: [
|
|
4453
|
-
/* @__PURE__ */
|
|
4524
|
+
/* @__PURE__ */ jsx46(ComboboxEmpty2, {
|
|
4454
4525
|
children: "No matching tags."
|
|
4455
4526
|
}),
|
|
4456
|
-
/* @__PURE__ */
|
|
4457
|
-
children: /* @__PURE__ */
|
|
4458
|
-
children: /* @__PURE__ */
|
|
4459
|
-
children: (item) => /* @__PURE__ */
|
|
4527
|
+
/* @__PURE__ */ jsx46(ComboboxList2, {
|
|
4528
|
+
children: /* @__PURE__ */ jsx46(ComboboxGroup2, {
|
|
4529
|
+
children: /* @__PURE__ */ jsx46(ComboboxCollection2, {
|
|
4530
|
+
children: (item) => /* @__PURE__ */ jsx46(ComboboxItem2, {
|
|
4460
4531
|
value: item,
|
|
4461
4532
|
children: item
|
|
4462
4533
|
}, item)
|
|
@@ -4468,8 +4539,61 @@ function TagInput2({
|
|
|
4468
4539
|
]
|
|
4469
4540
|
});
|
|
4470
4541
|
}
|
|
4542
|
+
// src/components/FilterChip.tsx
|
|
4543
|
+
import { useId as useId7 } from "react";
|
|
4544
|
+
import { XIcon as XIcon2 } from "lucide-react";
|
|
4545
|
+
import { jsx as jsx47, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
4546
|
+
function FilterChip2({
|
|
4547
|
+
density,
|
|
4548
|
+
className,
|
|
4549
|
+
children,
|
|
4550
|
+
clearLabel = "Show all",
|
|
4551
|
+
onClear,
|
|
4552
|
+
onKeyDown,
|
|
4553
|
+
...props
|
|
4554
|
+
}) {
|
|
4555
|
+
const labelId = useId7();
|
|
4556
|
+
return /* @__PURE__ */ jsxs32("div", {
|
|
4557
|
+
role: "group",
|
|
4558
|
+
"aria-labelledby": labelId,
|
|
4559
|
+
"data-density": density,
|
|
4560
|
+
"data-slot": "filter-chip",
|
|
4561
|
+
className: cn2("inline-flex max-w-full min-w-0 items-center gap-1 rounded-sm border border-border bg-muted ps-2 text-xs text-foreground", className),
|
|
4562
|
+
onKeyDown: (event) => {
|
|
4563
|
+
onKeyDown?.(event);
|
|
4564
|
+
if (event.defaultPrevented || event.key !== "Escape")
|
|
4565
|
+
return;
|
|
4566
|
+
event.preventDefault();
|
|
4567
|
+
event.stopPropagation();
|
|
4568
|
+
onClear();
|
|
4569
|
+
},
|
|
4570
|
+
...props,
|
|
4571
|
+
children: [
|
|
4572
|
+
/* @__PURE__ */ jsx47("span", {
|
|
4573
|
+
id: labelId,
|
|
4574
|
+
"data-slot": "filter-chip-label",
|
|
4575
|
+
className: "min-w-0 py-1 break-words",
|
|
4576
|
+
children
|
|
4577
|
+
}),
|
|
4578
|
+
/* @__PURE__ */ jsxs32(Button2, {
|
|
4579
|
+
type: "button",
|
|
4580
|
+
variant: "ghost",
|
|
4581
|
+
size: "xs",
|
|
4582
|
+
"aria-keyshortcuts": "Escape",
|
|
4583
|
+
onClick: onClear,
|
|
4584
|
+
children: [
|
|
4585
|
+
clearLabel,
|
|
4586
|
+
/* @__PURE__ */ jsx47(XIcon2, {
|
|
4587
|
+
"aria-hidden": "true",
|
|
4588
|
+
"data-icon": "inline-end"
|
|
4589
|
+
})
|
|
4590
|
+
]
|
|
4591
|
+
})
|
|
4592
|
+
]
|
|
4593
|
+
});
|
|
4594
|
+
}
|
|
4471
4595
|
// src/components/FilterBar.tsx
|
|
4472
|
-
import { jsx as
|
|
4596
|
+
import { jsx as jsx48, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
4473
4597
|
function FilterBar2({
|
|
4474
4598
|
label,
|
|
4475
4599
|
search,
|
|
@@ -4480,26 +4604,26 @@ function FilterBar2({
|
|
|
4480
4604
|
disabled,
|
|
4481
4605
|
density
|
|
4482
4606
|
}) {
|
|
4483
|
-
return /* @__PURE__ */
|
|
4607
|
+
return /* @__PURE__ */ jsxs33("fieldset", {
|
|
4484
4608
|
"aria-label": label,
|
|
4485
4609
|
disabled,
|
|
4486
4610
|
"data-density": density,
|
|
4487
4611
|
className: "flex min-w-0 flex-wrap items-center gap-2",
|
|
4488
4612
|
children: [
|
|
4489
|
-
/* @__PURE__ */
|
|
4613
|
+
/* @__PURE__ */ jsx48(Input2, {
|
|
4490
4614
|
"aria-label": `Search ${label}`,
|
|
4491
4615
|
type: "search",
|
|
4492
4616
|
value: search,
|
|
4493
4617
|
onChange: (event) => onSearchChange(event.target.value),
|
|
4494
4618
|
className: "min-w-40 flex-1"
|
|
4495
4619
|
}),
|
|
4496
|
-
filters.map((filter) => /* @__PURE__ */
|
|
4620
|
+
filters.map((filter) => /* @__PURE__ */ jsx48(OptionSelect2, {
|
|
4497
4621
|
"aria-label": filter.label,
|
|
4498
4622
|
value: value[filter.id] ?? "",
|
|
4499
4623
|
onValueChange: (next) => onValueChange({ ...value, [filter.id]: next }),
|
|
4500
4624
|
options: [{ value: "", label: filter.allLabel ?? `All ${filter.label.toLowerCase()}` }, ...filter.options]
|
|
4501
4625
|
}, filter.id)),
|
|
4502
|
-
/* @__PURE__ */
|
|
4626
|
+
/* @__PURE__ */ jsx48(Button2, {
|
|
4503
4627
|
type: "button",
|
|
4504
4628
|
variant: "ghost",
|
|
4505
4629
|
disabled: !search && !Object.values(value).some(Boolean),
|
|
@@ -4513,7 +4637,7 @@ function FilterBar2({
|
|
|
4513
4637
|
});
|
|
4514
4638
|
}
|
|
4515
4639
|
// src/components/BarList.tsx
|
|
4516
|
-
import { jsx as
|
|
4640
|
+
import { jsx as jsx49, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
4517
4641
|
function BarList2({
|
|
4518
4642
|
label,
|
|
4519
4643
|
items,
|
|
@@ -4522,14 +4646,14 @@ function BarList2({
|
|
|
4522
4646
|
density
|
|
4523
4647
|
}) {
|
|
4524
4648
|
const max = Math.max(1, ...items.map((item) => item.value));
|
|
4525
|
-
return /* @__PURE__ */
|
|
4649
|
+
return /* @__PURE__ */ jsxs34("section", {
|
|
4526
4650
|
"aria-label": label,
|
|
4527
4651
|
"data-density": density,
|
|
4528
4652
|
children: [
|
|
4529
|
-
/* @__PURE__ */
|
|
4653
|
+
/* @__PURE__ */ jsx49("ul", {
|
|
4530
4654
|
className: "grid gap-3",
|
|
4531
|
-
children: items.map((item) => /* @__PURE__ */
|
|
4532
|
-
children: /* @__PURE__ */
|
|
4655
|
+
children: items.map((item) => /* @__PURE__ */ jsx49("li", {
|
|
4656
|
+
children: /* @__PURE__ */ jsxs34(Meter2, {
|
|
4533
4657
|
min: 0,
|
|
4534
4658
|
max,
|
|
4535
4659
|
value: item.value,
|
|
@@ -4537,11 +4661,11 @@ function BarList2({
|
|
|
4537
4661
|
format: { maximumFractionDigits: 2 },
|
|
4538
4662
|
className: "gap-y-1",
|
|
4539
4663
|
children: [
|
|
4540
|
-
/* @__PURE__ */
|
|
4664
|
+
/* @__PURE__ */ jsxs34("div", {
|
|
4541
4665
|
className: "flex w-full items-center justify-between gap-3 text-sm",
|
|
4542
4666
|
children: [
|
|
4543
|
-
/* @__PURE__ */
|
|
4544
|
-
children: onItemSelect ? /* @__PURE__ */
|
|
4667
|
+
/* @__PURE__ */ jsx49(MeterLabel2, {
|
|
4668
|
+
children: onItemSelect ? /* @__PURE__ */ jsx49(Button2, {
|
|
4545
4669
|
type: "button",
|
|
4546
4670
|
variant: "link",
|
|
4547
4671
|
className: "h-auto p-0",
|
|
@@ -4549,19 +4673,19 @@ function BarList2({
|
|
|
4549
4673
|
children: item.label
|
|
4550
4674
|
}) : item.label
|
|
4551
4675
|
}),
|
|
4552
|
-
/* @__PURE__ */
|
|
4676
|
+
/* @__PURE__ */ jsx49(MeterValue2, {
|
|
4553
4677
|
children: () => valueFormatter(item.value)
|
|
4554
4678
|
})
|
|
4555
4679
|
]
|
|
4556
4680
|
}),
|
|
4557
|
-
/* @__PURE__ */
|
|
4558
|
-
children: /* @__PURE__ */
|
|
4681
|
+
/* @__PURE__ */ jsx49(MeterTrack2, {
|
|
4682
|
+
children: /* @__PURE__ */ jsx49(MeterIndicator2, {})
|
|
4559
4683
|
})
|
|
4560
4684
|
]
|
|
4561
4685
|
})
|
|
4562
4686
|
}, item.id))
|
|
4563
4687
|
}),
|
|
4564
|
-
!items.length && /* @__PURE__ */
|
|
4688
|
+
!items.length && /* @__PURE__ */ jsx49("p", {
|
|
4565
4689
|
role: "status",
|
|
4566
4690
|
className: "text-sm text-muted-foreground",
|
|
4567
4691
|
children: "No data available."
|
|
@@ -4570,23 +4694,23 @@ function BarList2({
|
|
|
4570
4694
|
});
|
|
4571
4695
|
}
|
|
4572
4696
|
// src/components/StatusTracker.tsx
|
|
4573
|
-
import { jsx as
|
|
4697
|
+
import { jsx as jsx50, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
4574
4698
|
var statusClasses = { success: "bg-success", warning: "bg-warning", error: "bg-destructive", unknown: "bg-muted" };
|
|
4575
4699
|
function StatusTracker2({ label, items, onItemSelect, density }) {
|
|
4576
|
-
return /* @__PURE__ */
|
|
4577
|
-
children: /* @__PURE__ */
|
|
4700
|
+
return /* @__PURE__ */ jsx50(TooltipProvider2, {
|
|
4701
|
+
children: /* @__PURE__ */ jsx50("div", {
|
|
4578
4702
|
role: "group",
|
|
4579
4703
|
"aria-label": label,
|
|
4580
4704
|
"data-density": density,
|
|
4581
4705
|
className: "flex min-w-0 gap-1",
|
|
4582
|
-
children: items.map((item) => /* @__PURE__ */
|
|
4706
|
+
children: items.map((item) => /* @__PURE__ */ jsxs35(Tooltip2, {
|
|
4583
4707
|
children: [
|
|
4584
|
-
/* @__PURE__ */
|
|
4708
|
+
/* @__PURE__ */ jsx50(TooltipTrigger2, {
|
|
4585
4709
|
"aria-label": `${item.label}: ${item.status}`,
|
|
4586
4710
|
onClick: () => onItemSelect?.(item),
|
|
4587
4711
|
className: cn2("h-8 min-w-2 flex-1 rounded-sm outline-none focus-visible:ring-2 focus-visible:ring-ring", statusClasses[item.status])
|
|
4588
4712
|
}),
|
|
4589
|
-
/* @__PURE__ */
|
|
4713
|
+
/* @__PURE__ */ jsxs35(TooltipContent2, {
|
|
4590
4714
|
children: [
|
|
4591
4715
|
item.label,
|
|
4592
4716
|
": ",
|
|
@@ -4599,7 +4723,7 @@ function StatusTracker2({ label, items, onItemSelect, density }) {
|
|
|
4599
4723
|
});
|
|
4600
4724
|
}
|
|
4601
4725
|
// src/components/DashboardLayout.tsx
|
|
4602
|
-
import { jsx as
|
|
4726
|
+
import { jsx as jsx51, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
4603
4727
|
function DashboardLayout2({
|
|
4604
4728
|
title,
|
|
4605
4729
|
description,
|
|
@@ -4610,24 +4734,24 @@ function DashboardLayout2({
|
|
|
4610
4734
|
footer,
|
|
4611
4735
|
density
|
|
4612
4736
|
}) {
|
|
4613
|
-
return /* @__PURE__ */
|
|
4737
|
+
return /* @__PURE__ */ jsxs36("div", {
|
|
4614
4738
|
"data-density": density,
|
|
4615
4739
|
"data-scroll": "none",
|
|
4616
4740
|
className: "grid min-w-0 gap-6",
|
|
4617
4741
|
children: [
|
|
4618
|
-
/* @__PURE__ */
|
|
4742
|
+
/* @__PURE__ */ jsx51(PageHeader2, {
|
|
4619
4743
|
title,
|
|
4620
4744
|
description,
|
|
4621
4745
|
actions
|
|
4622
4746
|
}),
|
|
4623
4747
|
filters,
|
|
4624
|
-
stats.length > 0 && /* @__PURE__ */
|
|
4748
|
+
stats.length > 0 && /* @__PURE__ */ jsx51("div", {
|
|
4625
4749
|
className: "grid gap-4 sm:grid-cols-2 xl:grid-cols-4",
|
|
4626
|
-
children: stats.map(({ id, ...stat }) => /* @__PURE__ */
|
|
4750
|
+
children: stats.map(({ id, ...stat }) => /* @__PURE__ */ jsx51(StatCard2, {
|
|
4627
4751
|
...stat
|
|
4628
4752
|
}, id))
|
|
4629
4753
|
}),
|
|
4630
|
-
/* @__PURE__ */
|
|
4754
|
+
/* @__PURE__ */ jsx51("div", {
|
|
4631
4755
|
className: "grid min-w-0 gap-4",
|
|
4632
4756
|
children
|
|
4633
4757
|
}),
|
|
@@ -4636,18 +4760,18 @@ function DashboardLayout2({
|
|
|
4636
4760
|
});
|
|
4637
4761
|
}
|
|
4638
4762
|
// src/components/BillingUsage.tsx
|
|
4639
|
-
import { jsx as
|
|
4763
|
+
import { jsx as jsx52, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
4640
4764
|
function BillingUsage2({ plan, price, period, metrics, onManage, pending, density }) {
|
|
4641
|
-
return /* @__PURE__ */
|
|
4765
|
+
return /* @__PURE__ */ jsxs37(Card2, {
|
|
4642
4766
|
density,
|
|
4643
4767
|
"aria-label": "Billing and usage",
|
|
4644
4768
|
children: [
|
|
4645
|
-
/* @__PURE__ */
|
|
4769
|
+
/* @__PURE__ */ jsxs37(CardHeader2, {
|
|
4646
4770
|
children: [
|
|
4647
|
-
/* @__PURE__ */
|
|
4771
|
+
/* @__PURE__ */ jsx52(CardTitle2, {
|
|
4648
4772
|
children: plan
|
|
4649
4773
|
}),
|
|
4650
|
-
/* @__PURE__ */
|
|
4774
|
+
/* @__PURE__ */ jsxs37(CardDescription2, {
|
|
4651
4775
|
children: [
|
|
4652
4776
|
price,
|
|
4653
4777
|
" · ",
|
|
@@ -4656,32 +4780,32 @@ function BillingUsage2({ plan, price, period, metrics, onManage, pending, densit
|
|
|
4656
4780
|
})
|
|
4657
4781
|
]
|
|
4658
4782
|
}),
|
|
4659
|
-
/* @__PURE__ */
|
|
4783
|
+
/* @__PURE__ */ jsx52(CardContent2, {
|
|
4660
4784
|
className: "grid gap-4",
|
|
4661
|
-
children: metrics.map((metric) => /* @__PURE__ */
|
|
4785
|
+
children: metrics.map((metric) => /* @__PURE__ */ jsxs37(Meter2, {
|
|
4662
4786
|
value: metric.used,
|
|
4663
4787
|
max: metric.limit,
|
|
4664
4788
|
"aria-label": metric.label,
|
|
4665
4789
|
children: [
|
|
4666
|
-
/* @__PURE__ */
|
|
4790
|
+
/* @__PURE__ */ jsxs37("div", {
|
|
4667
4791
|
className: "mb-2 flex items-center justify-between gap-3 text-sm",
|
|
4668
4792
|
children: [
|
|
4669
|
-
/* @__PURE__ */
|
|
4793
|
+
/* @__PURE__ */ jsx52(MeterLabel2, {
|
|
4670
4794
|
children: metric.label
|
|
4671
4795
|
}),
|
|
4672
|
-
/* @__PURE__ */
|
|
4796
|
+
/* @__PURE__ */ jsx52(MeterValue2, {
|
|
4673
4797
|
children: () => `${metric.used.toLocaleString()} / ${metric.limit.toLocaleString()}${metric.unit ? ` ${metric.unit}` : ""}`
|
|
4674
4798
|
})
|
|
4675
4799
|
]
|
|
4676
4800
|
}),
|
|
4677
|
-
/* @__PURE__ */
|
|
4678
|
-
children: /* @__PURE__ */
|
|
4801
|
+
/* @__PURE__ */ jsx52(MeterTrack2, {
|
|
4802
|
+
children: /* @__PURE__ */ jsx52(MeterIndicator2, {})
|
|
4679
4803
|
})
|
|
4680
4804
|
]
|
|
4681
4805
|
}, metric.id))
|
|
4682
4806
|
}),
|
|
4683
|
-
/* @__PURE__ */
|
|
4684
|
-
children: /* @__PURE__ */
|
|
4807
|
+
/* @__PURE__ */ jsx52(CardFooter2, {
|
|
4808
|
+
children: /* @__PURE__ */ jsx52(Button2, {
|
|
4685
4809
|
type: "button",
|
|
4686
4810
|
variant: "outline",
|
|
4687
4811
|
onClick: onManage,
|
|
@@ -4692,4 +4816,4 @@ function BillingUsage2({ plan, price, period, metrics, onManage, pending, densit
|
|
|
4692
4816
|
]
|
|
4693
4817
|
});
|
|
4694
4818
|
}
|
|
4695
|
-
export { ButtonLink2, ContextMenu2, ContextMenuPortal2, ContextMenuTrigger2, ContextMenuContent2, ActionsMenu2, ActionsMenuTrigger2, ActionsMenuContextTarget2, ActionsMenuContextContent2, FormDialog2, Accordion2, AccordionItem2, AccordionTrigger2, AccordionContent2, OptionCardGroup2, OptionCard2, EmptyState3, PageMessage2, formatDataLabel2, DataViewer2, JsonViewer2, AlertDialog2, AlertDialogTrigger2, AlertDialogPortal2, AlertDialogOverlay2, AlertDialogContent2, AlertDialogHeader2, AlertDialogFooter2, AlertDialogMedia2, AlertDialogTitle2, AlertDialogDescription2, AlertDialogAction2, AlertDialogCancel2, DensityProvider2, collectLayoutViolations2, LayoutGuard2, ScrollGuard2, ThemeProvider2, AspectRatio2, Breadcrumb2, BreadcrumbList2, BreadcrumbItem2, BreadcrumbLink2, BreadcrumbPage2, BreadcrumbSeparator2, BreadcrumbEllipsis2, buttonGroupVariants2, ButtonGroup2, ButtonGroupText2, ButtonGroupSeparator2, ItemGroup2, ItemSeparator2, Item2, ItemMedia2, ItemContent2, ItemTitle2, ItemDescription2, ItemActions2, ItemHeader2, ItemFooter2, Pagination2, PaginationContent2, PaginationItem2, PaginationLink2, PaginationPrevious2, PaginationNext2, PaginationEllipsis2, Menubar2, MenubarMenu2, MenubarGroup2, MenubarPortal2, MenubarTrigger2, MenubarContent2, MenubarItem2, MenubarCheckboxItem2, MenubarRadioGroup2, MenubarRadioItem2, MenubarLabel2, MenubarSeparator2, MenubarShortcut2, MenubarSub2, MenubarSubTrigger2, MenubarSubContent2, NavigationMenu2, NavigationMenuList2, NavigationMenuItem2, navigationMenuTriggerStyle2, NavigationMenuTrigger2, NavigationMenuContent2, NavigationMenuPositioner2, NavigationMenuLink2, NavigationMenuIndicator2, ToastProvider2, ToastPortal2, ToastViewport2, Toast2, ToastContent2, ToastTitle2, ToastDescription2, ToastAction2, ToastClose2, ToastToaster2, createToastManager2, useToastManager2, markerVariants2, Marker2, MarkerIcon2, MarkerContent2, BubbleGroup2, Bubble2, BubbleContent2, BubbleReactions2, MessageGroup2, Message2, MessageAvatar2, MessageContent2, MessageHeader2, MessageFooter2, Attachment2, AttachmentMedia2, AttachmentContent2, AttachmentTitle2, AttachmentDescription2, AttachmentActions2, AttachmentAction2, AttachmentTrigger2, AttachmentGroup2, InlineEdit2, StarRating2, ReviewList2, ChoiceTable2, ConfirmationDialog2, ImagePicker2, Meter2, MeterLabel2, MeterValue2, MeterTrack2, MeterIndicator2, ToolbarToggleChip2, Stepper2, StepperList2, StepperTrigger2, StepperIndicator2, StepperContent2, AppShell2, Stack2, Grid2, GridItem2, Container2, Text2, Heading2, WeatherSummary2, WeatherForecast2, PageHeader2, PageIntro2, WorkspaceSwitcher2, AccountMenu2, StatCard2, AuthForm2, SettingsSection2, TagInput2, FilterBar2, BarList2, StatusTracker2, DashboardLayout2, BillingUsage2 };
|
|
4819
|
+
export { ButtonLink2, ContextMenu2, ContextMenuPortal2, ContextMenuTrigger2, ContextMenuContent2, ActionsMenu2, ActionsMenuTrigger2, ActionsMenuContextTarget2, ActionsMenuContextContent2, FormDialog2, Accordion2, AccordionItem2, AccordionTrigger2, AccordionContent2, OptionCardGroup2, OptionCard2, EmptyState3, PageMessage2, formatDataLabel2, DataViewer2, JsonViewer2, AlertDialog2, AlertDialogTrigger2, AlertDialogPortal2, AlertDialogOverlay2, AlertDialogContent2, AlertDialogHeader2, AlertDialogFooter2, AlertDialogMedia2, AlertDialogTitle2, AlertDialogDescription2, AlertDialogAction2, AlertDialogCancel2, DensityProvider2, collectLayoutViolations2, LayoutGuard2, ScrollGuard2, ThemeProvider2, AspectRatio2, Breadcrumb2, BreadcrumbList2, BreadcrumbItem2, BreadcrumbLink2, BreadcrumbPage2, BreadcrumbSeparator2, BreadcrumbEllipsis2, buttonGroupVariants2, ButtonGroup2, ButtonGroupText2, ButtonGroupSeparator2, DescriptionList2, DescriptionListItem2, DescriptionTerm2, DescriptionDetails2, ItemGroup2, ItemSeparator2, Item2, ItemMedia2, ItemContent2, ItemTitle2, ItemDescription2, ItemActions2, ItemHeader2, ItemFooter2, Pagination2, PaginationContent2, PaginationItem2, PaginationLink2, PaginationPrevious2, PaginationNext2, PaginationEllipsis2, Menubar2, MenubarMenu2, MenubarGroup2, MenubarPortal2, MenubarTrigger2, MenubarContent2, MenubarItem2, MenubarCheckboxItem2, MenubarRadioGroup2, MenubarRadioItem2, MenubarLabel2, MenubarSeparator2, MenubarShortcut2, MenubarSub2, MenubarSubTrigger2, MenubarSubContent2, NavigationMenu2, NavigationMenuList2, NavigationMenuItem2, navigationMenuTriggerStyle2, NavigationMenuTrigger2, NavigationMenuContent2, NavigationMenuPositioner2, NavigationMenuLink2, NavigationMenuIndicator2, ToastProvider2, ToastPortal2, ToastViewport2, Toast2, ToastContent2, ToastTitle2, ToastDescription2, ToastAction2, ToastClose2, ToastToaster2, createToastManager2, useToastManager2, markerVariants2, Marker2, MarkerIcon2, MarkerContent2, BubbleGroup2, Bubble2, BubbleContent2, BubbleReactions2, MessageGroup2, Message2, MessageAvatar2, MessageContent2, MessageHeader2, MessageFooter2, MessageThread2, MessageThreadSummary2, MessageThreadReplies2, Attachment2, AttachmentMedia2, AttachmentContent2, AttachmentTitle2, AttachmentDescription2, AttachmentActions2, AttachmentAction2, AttachmentTrigger2, AttachmentGroup2, InlineEdit2, StarRating2, ReviewList2, ChoiceTable2, ConfirmationDialog2, ImagePicker2, Meter2, MeterLabel2, MeterValue2, MeterTrack2, MeterIndicator2, ToolbarToggleChip2, Stepper2, StepperList2, StepperTrigger2, StepperIndicator2, StepperContent2, AppShell2, Stack2, Grid2, GridItem2, Container2, Text2, Heading2, WeatherSummary2, WeatherForecast2, PageHeader2, PageIntro2, WorkspaceSwitcher2, AccountMenu2, StatCard2, AuthForm2, SettingsSection2, TagInput2, FilterChip2, FilterBar2, BarList2, StatusTracker2, DashboardLayout2, BillingUsage2 };
|