@cerberus-design/react 0.18.0 → 0.18.2
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/build/legacy/_tsup-dts-rollup.d.cts +12 -5
- package/build/legacy/components/CircularProgress.cjs +92 -83
- package/build/legacy/components/CircularProgress.cjs.map +1 -1
- package/build/legacy/index.cjs +380 -378
- package/build/legacy/index.cjs.map +1 -1
- package/build/modern/_tsup-dts-rollup.d.ts +12 -5
- package/build/modern/{chunk-JFSCSAHD.js → chunk-25S67KZH.js} +4 -4
- package/build/modern/{chunk-URJ6JHLG.js → chunk-A5UXCB4L.js} +4 -4
- package/build/modern/{chunk-H2HP63H4.js → chunk-CJVKAGCJ.js} +4 -4
- package/build/modern/{chunk-TGY3RICC.js → chunk-KABRV6TB.js} +4 -4
- package/build/modern/chunk-PRV3HAK3.js +156 -0
- package/build/modern/chunk-PRV3HAK3.js.map +1 -0
- package/build/modern/{chunk-SDV6XUM6.js → chunk-RF4VKGOQ.js} +2 -2
- package/build/modern/{chunk-NYRNXRTZ.js → chunk-TS7PAQPV.js} +4 -4
- package/build/modern/{chunk-STCGFGTK.js → chunk-TV346AYO.js} +4 -4
- package/build/modern/{chunk-6DU5QBPR.js → chunk-UCVB2VOI.js} +4 -4
- package/build/modern/components/CircularProgress.js +2 -2
- package/build/modern/components/FileStatus.js +4 -4
- package/build/modern/components/Tag.js +2 -2
- package/build/modern/components/combobox/combobox.js +2 -2
- package/build/modern/components/combobox/index.js +2 -2
- package/build/modern/components/cta-dialog/index.js +5 -5
- package/build/modern/components/cta-dialog/provider.js +5 -5
- package/build/modern/components/date-picker/calendar.js +2 -2
- package/build/modern/components/date-picker/day-view.js +2 -2
- package/build/modern/components/date-picker/index.js +8 -8
- package/build/modern/components/date-picker/month-view.js +2 -2
- package/build/modern/components/date-picker/view-control-group.js +2 -2
- package/build/modern/components/date-picker/year-view.js +2 -2
- package/build/modern/components/deprecated/Label.js +1 -1
- package/build/modern/components/deprecated/NavMenuTrigger.js +2 -2
- package/build/modern/components/dialog/index.js +3 -3
- package/build/modern/components/field/index.js +3 -3
- package/build/modern/components/notifications/center.js +3 -3
- package/build/modern/components/notifications/index.js +4 -4
- package/build/modern/components/notifications/match-icon.js +2 -2
- package/build/modern/components/select/index.js +2 -2
- package/build/modern/components/select/select.js +2 -2
- package/build/modern/context/confirm-modal.js +3 -3
- package/build/modern/context/prompt-modal.js +4 -4
- package/build/modern/index.js +63 -63
- package/package.json +6 -7
- package/src/components/CircularProgress.tsx +79 -67
- package/build/modern/chunk-Q3LUIS3M.js +0 -153
- package/build/modern/chunk-Q3LUIS3M.js.map +0 -1
- package/src/.DS_Store +0 -0
- package/src/components/.DS_Store +0 -0
- /package/build/modern/{chunk-JFSCSAHD.js.map → chunk-25S67KZH.js.map} +0 -0
- /package/build/modern/{chunk-URJ6JHLG.js.map → chunk-A5UXCB4L.js.map} +0 -0
- /package/build/modern/{chunk-H2HP63H4.js.map → chunk-CJVKAGCJ.js.map} +0 -0
- /package/build/modern/{chunk-TGY3RICC.js.map → chunk-KABRV6TB.js.map} +0 -0
- /package/build/modern/{chunk-SDV6XUM6.js.map → chunk-RF4VKGOQ.js.map} +0 -0
- /package/build/modern/{chunk-NYRNXRTZ.js.map → chunk-TS7PAQPV.js.map} +0 -0
- /package/build/modern/{chunk-STCGFGTK.js.map → chunk-TV346AYO.js.map} +0 -0
- /package/build/modern/{chunk-6DU5QBPR.js.map → chunk-UCVB2VOI.js.map} +0 -0
package/build/legacy/index.cjs
CHANGED
|
@@ -1442,16 +1442,33 @@ function Checkbox2(props) {
|
|
|
1442
1442
|
}
|
|
1443
1443
|
|
|
1444
1444
|
// src/components/CircularProgress.tsx
|
|
1445
|
-
var
|
|
1446
|
-
|
|
1445
|
+
var import_recipes14 = require("styled-system/recipes");
|
|
1446
|
+
|
|
1447
|
+
// src/components/for.tsx
|
|
1447
1448
|
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
1449
|
+
function For(props) {
|
|
1450
|
+
var _a;
|
|
1451
|
+
if (!props.each || !props.each.length) {
|
|
1452
|
+
return props.fallback || null;
|
|
1453
|
+
}
|
|
1454
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_jsx_runtime29.Fragment, { children: (_a = props.each) == null ? void 0 : _a.map(props.children) });
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
// src/components/CircularProgress.tsx
|
|
1458
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
1448
1459
|
function CircularProgress(props) {
|
|
1460
|
+
const { size = "1.1em" } = props;
|
|
1461
|
+
const sizeProps = props.size ? {
|
|
1462
|
+
height: size,
|
|
1463
|
+
width: size
|
|
1464
|
+
} : {};
|
|
1449
1465
|
const strokeW = 14;
|
|
1450
1466
|
const radius = `calc(50% * (1 - ${strokeW}/100))`;
|
|
1451
1467
|
const status = props.syntax ?? "Done";
|
|
1452
1468
|
const now = props.now >= 100 ? 100 : props.now;
|
|
1453
1469
|
const bgStyle = props.bgStyle ?? "filled";
|
|
1454
|
-
|
|
1470
|
+
const styles = (0, import_recipes14.circularProgress)();
|
|
1471
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1455
1472
|
"div",
|
|
1456
1473
|
{
|
|
1457
1474
|
id: props.id,
|
|
@@ -1459,39 +1476,31 @@ function CircularProgress(props) {
|
|
|
1459
1476
|
"aria-valuemin": 0,
|
|
1460
1477
|
"aria-valuemax": 100,
|
|
1461
1478
|
"aria-valuenow": now,
|
|
1462
|
-
className:
|
|
1463
|
-
alignSelf: "stretch",
|
|
1464
|
-
flex: 1,
|
|
1465
|
-
m: "4px",
|
|
1466
|
-
position: "relative"
|
|
1467
|
-
}),
|
|
1479
|
+
className: styles.root,
|
|
1468
1480
|
role: "progressbar",
|
|
1469
|
-
children: /* @__PURE__ */ (0,
|
|
1481
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
1470
1482
|
"svg",
|
|
1471
1483
|
{
|
|
1472
1484
|
"data-complete": now === 100,
|
|
1473
|
-
className:
|
|
1474
|
-
display: "block",
|
|
1475
|
-
rounded: "full",
|
|
1476
|
-
transition: "all 0.5s ease"
|
|
1477
|
-
}),
|
|
1485
|
+
className: styles.group,
|
|
1478
1486
|
fill: "none",
|
|
1479
1487
|
strokeLinecap: "round",
|
|
1480
1488
|
strokeWidth: strokeW,
|
|
1481
1489
|
viewBox: "0 0 100 100",
|
|
1482
1490
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1491
|
+
...sizeProps,
|
|
1483
1492
|
children: [
|
|
1484
|
-
/* @__PURE__ */ (0,
|
|
1485
|
-
/* @__PURE__ */ (0,
|
|
1486
|
-
/* @__PURE__ */ (0,
|
|
1487
|
-
/* @__PURE__ */ (0,
|
|
1493
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("title", { children: props.title }),
|
|
1494
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("desc", { children: `${now}% ${status}` }),
|
|
1495
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("linearGradient", { id: "gradient", children: [
|
|
1496
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1488
1497
|
"stop",
|
|
1489
1498
|
{
|
|
1490
1499
|
offset: "0%",
|
|
1491
1500
|
stopColor: "var(--cerberus-colors-data-viz-progress-start)"
|
|
1492
1501
|
}
|
|
1493
1502
|
),
|
|
1494
|
-
/* @__PURE__ */ (0,
|
|
1503
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1495
1504
|
"stop",
|
|
1496
1505
|
{
|
|
1497
1506
|
offset: "100%",
|
|
@@ -1499,86 +1508,89 @@ function CircularProgress(props) {
|
|
|
1499
1508
|
}
|
|
1500
1509
|
)
|
|
1501
1510
|
] }) }),
|
|
1502
|
-
/* @__PURE__ */ (0,
|
|
1511
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Show, { when: bgStyle === "filled", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1503
1512
|
"circle",
|
|
1504
1513
|
{
|
|
1505
|
-
className:
|
|
1506
|
-
fill: "page.surface.initial"
|
|
1507
|
-
}),
|
|
1514
|
+
className: styles.base,
|
|
1508
1515
|
cx: "50%",
|
|
1509
1516
|
cy: "50%",
|
|
1510
1517
|
r: `calc(50% * (1 - ${strokeW}/100))`,
|
|
1511
1518
|
pathLength: "100"
|
|
1512
1519
|
}
|
|
1513
1520
|
) }),
|
|
1514
|
-
/* @__PURE__ */ (0,
|
|
1521
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1515
1522
|
"circle",
|
|
1516
1523
|
{
|
|
1517
|
-
className:
|
|
1518
|
-
stroke: "page.bg.100"
|
|
1519
|
-
}),
|
|
1524
|
+
className: styles.track,
|
|
1520
1525
|
cx: "50%",
|
|
1521
1526
|
cy: "50%",
|
|
1522
1527
|
r: radius,
|
|
1523
1528
|
pathLength: "100"
|
|
1524
1529
|
}
|
|
1525
1530
|
),
|
|
1526
|
-
/* @__PURE__ */ (0,
|
|
1527
|
-
|
|
1531
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
1532
|
+
Show,
|
|
1528
1533
|
{
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1534
|
+
when: now > 0,
|
|
1535
|
+
fallback: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1536
|
+
"text",
|
|
1537
|
+
{
|
|
1538
|
+
"data-fallback": true,
|
|
1539
|
+
className: styles.description,
|
|
1540
|
+
x: "50%",
|
|
1541
|
+
y: "27%",
|
|
1542
|
+
dominantBaseline: "middle",
|
|
1543
|
+
textAnchor: "middle",
|
|
1544
|
+
textLength: "65%",
|
|
1545
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(For, { each: status.split(" "), children: (word, idx) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("tspan", { x: "50%", dy: "1.2em", children: word }, `${word}:${idx}`) })
|
|
1535
1546
|
}
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1547
|
+
),
|
|
1548
|
+
children: [
|
|
1549
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1550
|
+
"circle",
|
|
1551
|
+
{
|
|
1552
|
+
"data-complete": now === 100,
|
|
1553
|
+
className: styles.path,
|
|
1554
|
+
cx: "50%",
|
|
1555
|
+
cy: "50%",
|
|
1556
|
+
fill: "none",
|
|
1557
|
+
r: radius,
|
|
1558
|
+
pathLength: "100",
|
|
1559
|
+
strokeDasharray: "100",
|
|
1560
|
+
strokeDashoffset: 100 - now,
|
|
1561
|
+
transform: "rotate(-90 50 50)"
|
|
1562
|
+
}
|
|
1563
|
+
),
|
|
1564
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("g", { children: [
|
|
1565
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
1566
|
+
"text",
|
|
1567
|
+
{
|
|
1568
|
+
className: styles.title,
|
|
1569
|
+
x: "50%",
|
|
1570
|
+
y: "47%",
|
|
1571
|
+
dominantBaseline: "middle",
|
|
1572
|
+
textAnchor: "middle",
|
|
1573
|
+
children: [
|
|
1574
|
+
now,
|
|
1575
|
+
"%"
|
|
1576
|
+
]
|
|
1577
|
+
}
|
|
1578
|
+
),
|
|
1579
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1580
|
+
"text",
|
|
1581
|
+
{
|
|
1582
|
+
className: styles.description,
|
|
1583
|
+
x: "50%",
|
|
1584
|
+
y: "59%",
|
|
1585
|
+
dominantBaseline: "middle",
|
|
1586
|
+
textAnchor: "middle",
|
|
1587
|
+
children: status
|
|
1588
|
+
}
|
|
1589
|
+
)
|
|
1590
|
+
] })
|
|
1591
|
+
]
|
|
1545
1592
|
}
|
|
1546
|
-
)
|
|
1547
|
-
/* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("g", { children: [
|
|
1548
|
-
/* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
|
|
1549
|
-
"text",
|
|
1550
|
-
{
|
|
1551
|
-
className: (0, import_css17.css)({
|
|
1552
|
-
fill: "page.text.initial",
|
|
1553
|
-
fontFamily: "mono",
|
|
1554
|
-
textStyle: "1.25rem"
|
|
1555
|
-
}),
|
|
1556
|
-
x: "50%",
|
|
1557
|
-
y: "47%",
|
|
1558
|
-
dominantBaseline: "middle",
|
|
1559
|
-
textAnchor: "middle",
|
|
1560
|
-
children: [
|
|
1561
|
-
now,
|
|
1562
|
-
"%"
|
|
1563
|
-
]
|
|
1564
|
-
}
|
|
1565
|
-
),
|
|
1566
|
-
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
1567
|
-
"text",
|
|
1568
|
-
{
|
|
1569
|
-
className: (0, import_css17.css)({
|
|
1570
|
-
fill: "page.text.100",
|
|
1571
|
-
fontSize: "0.5rem",
|
|
1572
|
-
fontWeight: 600
|
|
1573
|
-
}),
|
|
1574
|
-
x: "50%",
|
|
1575
|
-
y: "59%",
|
|
1576
|
-
dominantBaseline: "middle",
|
|
1577
|
-
textAnchor: "middle",
|
|
1578
|
-
children: status
|
|
1579
|
-
}
|
|
1580
|
-
)
|
|
1581
|
-
] })
|
|
1593
|
+
)
|
|
1582
1594
|
]
|
|
1583
1595
|
}
|
|
1584
1596
|
)
|
|
@@ -1589,126 +1601,126 @@ function CircularProgress(props) {
|
|
|
1589
1601
|
// src/components/combobox/primitives.tsx
|
|
1590
1602
|
var import_combobox = require("@ark-ui/react/combobox");
|
|
1591
1603
|
var import_factory3 = require("@ark-ui/react/factory");
|
|
1592
|
-
var
|
|
1593
|
-
var
|
|
1594
|
-
var
|
|
1604
|
+
var import_recipes15 = require("styled-system/recipes");
|
|
1605
|
+
var import_css17 = require("styled-system/css");
|
|
1606
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
1595
1607
|
function ComboboxRoot(props) {
|
|
1596
1608
|
const { size, ...rootProps } = props;
|
|
1597
|
-
const styles = (0,
|
|
1598
|
-
return /* @__PURE__ */ (0,
|
|
1609
|
+
const styles = (0, import_recipes15.combobox)({ size });
|
|
1610
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1599
1611
|
import_combobox.Combobox.Root,
|
|
1600
1612
|
{
|
|
1601
1613
|
...rootProps,
|
|
1602
|
-
className: (0,
|
|
1614
|
+
className: (0, import_css17.cx)(styles.root, rootProps.className)
|
|
1603
1615
|
}
|
|
1604
1616
|
);
|
|
1605
1617
|
}
|
|
1606
1618
|
function ComboboxLabel(props) {
|
|
1607
|
-
const styles = (0,
|
|
1608
|
-
return /* @__PURE__ */ (0,
|
|
1619
|
+
const styles = (0, import_recipes15.combobox)();
|
|
1620
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_combobox.Combobox.Label, { ...props, className: (0, import_css17.cx)(styles.label, props.className) });
|
|
1609
1621
|
}
|
|
1610
1622
|
function ComboboxControl(props) {
|
|
1611
|
-
const styles = (0,
|
|
1612
|
-
return /* @__PURE__ */ (0,
|
|
1623
|
+
const styles = (0, import_recipes15.combobox)();
|
|
1624
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1613
1625
|
import_combobox.Combobox.Control,
|
|
1614
1626
|
{
|
|
1615
1627
|
...props,
|
|
1616
|
-
className: (0,
|
|
1628
|
+
className: (0, import_css17.cx)(styles.control, props.className)
|
|
1617
1629
|
}
|
|
1618
1630
|
);
|
|
1619
1631
|
}
|
|
1620
1632
|
function ComboboxInput(props) {
|
|
1621
|
-
const styles = (0,
|
|
1622
|
-
return /* @__PURE__ */ (0,
|
|
1633
|
+
const styles = (0, import_recipes15.combobox)();
|
|
1634
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_combobox.Combobox.Input, { ...props, className: (0, import_css17.cx)(styles.input, props.className) });
|
|
1623
1635
|
}
|
|
1624
1636
|
function ComboboxTrigger(props) {
|
|
1625
|
-
const styles = (0,
|
|
1626
|
-
return /* @__PURE__ */ (0,
|
|
1637
|
+
const styles = (0, import_recipes15.combobox)();
|
|
1638
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1627
1639
|
import_combobox.Combobox.Trigger,
|
|
1628
1640
|
{
|
|
1629
1641
|
...props,
|
|
1630
|
-
className: (0,
|
|
1642
|
+
className: (0, import_css17.cx)(styles.trigger, props.className)
|
|
1631
1643
|
}
|
|
1632
1644
|
);
|
|
1633
1645
|
}
|
|
1634
1646
|
function ComboboxClearTrigger(props) {
|
|
1635
|
-
const styles = (0,
|
|
1636
|
-
return /* @__PURE__ */ (0,
|
|
1647
|
+
const styles = (0, import_recipes15.combobox)();
|
|
1648
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1637
1649
|
import_combobox.Combobox.ClearTrigger,
|
|
1638
1650
|
{
|
|
1639
1651
|
...props,
|
|
1640
|
-
className: (0,
|
|
1652
|
+
className: (0, import_css17.cx)(styles.clearTrigger, props.className)
|
|
1641
1653
|
}
|
|
1642
1654
|
);
|
|
1643
1655
|
}
|
|
1644
1656
|
function ComboboxPositioner(props) {
|
|
1645
|
-
const styles = (0,
|
|
1646
|
-
return /* @__PURE__ */ (0,
|
|
1657
|
+
const styles = (0, import_recipes15.combobox)();
|
|
1658
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1647
1659
|
import_combobox.Combobox.Positioner,
|
|
1648
1660
|
{
|
|
1649
1661
|
...props,
|
|
1650
|
-
className: (0,
|
|
1662
|
+
className: (0, import_css17.cx)(styles.positioner, props.className)
|
|
1651
1663
|
}
|
|
1652
1664
|
);
|
|
1653
1665
|
}
|
|
1654
1666
|
function ComboboxContent(props) {
|
|
1655
1667
|
const { size, ...contentProps } = props;
|
|
1656
|
-
const styles = (0,
|
|
1657
|
-
return /* @__PURE__ */ (0,
|
|
1668
|
+
const styles = (0, import_recipes15.combobox)({ size });
|
|
1669
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1658
1670
|
import_combobox.Combobox.Content,
|
|
1659
1671
|
{
|
|
1660
1672
|
...contentProps,
|
|
1661
|
-
className: (0,
|
|
1673
|
+
className: (0, import_css17.cx)(styles.content, contentProps.className)
|
|
1662
1674
|
}
|
|
1663
1675
|
);
|
|
1664
1676
|
}
|
|
1665
1677
|
function ComboboxItemGroup(props) {
|
|
1666
|
-
const styles = (0,
|
|
1667
|
-
return /* @__PURE__ */ (0,
|
|
1678
|
+
const styles = (0, import_recipes15.combobox)();
|
|
1679
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1668
1680
|
import_combobox.Combobox.ItemGroup,
|
|
1669
1681
|
{
|
|
1670
1682
|
...props,
|
|
1671
|
-
className: (0,
|
|
1683
|
+
className: (0, import_css17.cx)(styles.itemGroup, props.className)
|
|
1672
1684
|
}
|
|
1673
1685
|
);
|
|
1674
1686
|
}
|
|
1675
1687
|
function ComboboxItemGroupLabel(props) {
|
|
1676
|
-
const styles = (0,
|
|
1677
|
-
return /* @__PURE__ */ (0,
|
|
1688
|
+
const styles = (0, import_recipes15.combobox)();
|
|
1689
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1678
1690
|
import_combobox.Combobox.ItemGroupLabel,
|
|
1679
1691
|
{
|
|
1680
1692
|
...props,
|
|
1681
|
-
className: (0,
|
|
1693
|
+
className: (0, import_css17.cx)(styles.itemGroupLabel, props.className)
|
|
1682
1694
|
}
|
|
1683
1695
|
);
|
|
1684
1696
|
}
|
|
1685
1697
|
function ComboboxItem(props) {
|
|
1686
|
-
const styles = (0,
|
|
1687
|
-
return /* @__PURE__ */ (0,
|
|
1698
|
+
const styles = (0, import_recipes15.combobox)();
|
|
1699
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_combobox.Combobox.Item, { ...props, className: (0, import_css17.cx)(styles.item, props.className) });
|
|
1688
1700
|
}
|
|
1689
1701
|
function ComboboxItemText(props) {
|
|
1690
|
-
const styles = (0,
|
|
1691
|
-
return /* @__PURE__ */ (0,
|
|
1702
|
+
const styles = (0, import_recipes15.combobox)();
|
|
1703
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1692
1704
|
import_combobox.Combobox.ItemText,
|
|
1693
1705
|
{
|
|
1694
1706
|
...props,
|
|
1695
|
-
className: (0,
|
|
1707
|
+
className: (0, import_css17.cx)(styles.itemText, props.className)
|
|
1696
1708
|
}
|
|
1697
1709
|
);
|
|
1698
1710
|
}
|
|
1699
1711
|
function ComboboxItemIndicator(props) {
|
|
1700
|
-
const styles = (0,
|
|
1701
|
-
return /* @__PURE__ */ (0,
|
|
1712
|
+
const styles = (0, import_recipes15.combobox)();
|
|
1713
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1702
1714
|
import_combobox.Combobox.ItemIndicator,
|
|
1703
1715
|
{
|
|
1704
1716
|
...props,
|
|
1705
|
-
className: (0,
|
|
1717
|
+
className: (0, import_css17.cx)(styles.itemIndicator, props.className)
|
|
1706
1718
|
}
|
|
1707
1719
|
);
|
|
1708
1720
|
}
|
|
1709
1721
|
function ComboboxStartIcon(props) {
|
|
1710
|
-
const styles = (0,
|
|
1711
|
-
return /* @__PURE__ */ (0,
|
|
1722
|
+
const styles = (0, import_recipes15.combobox)();
|
|
1723
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_factory3.ark.span, { ...props, className: styles.startIcon });
|
|
1712
1724
|
}
|
|
1713
1725
|
var ComboItemText = ComboboxItemText;
|
|
1714
1726
|
|
|
@@ -1731,52 +1743,52 @@ var ComboboxParts = {
|
|
|
1731
1743
|
|
|
1732
1744
|
// src/components/Portal.tsx
|
|
1733
1745
|
var import_react11 = require("@ark-ui/react");
|
|
1734
|
-
var
|
|
1746
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
1735
1747
|
function Portal(props) {
|
|
1736
|
-
return /* @__PURE__ */ (0,
|
|
1748
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react11.Portal, { ...props });
|
|
1737
1749
|
}
|
|
1738
1750
|
|
|
1739
1751
|
// src/components/combobox/combobox.tsx
|
|
1740
|
-
var
|
|
1752
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
1741
1753
|
function Combobox2(props) {
|
|
1742
1754
|
const { label: label4, children, startIcon, ...rootProps } = props;
|
|
1743
1755
|
const { icons } = useCerberusContext();
|
|
1744
1756
|
const { selectArrow: SelectArrow, close: CloseIcon } = icons;
|
|
1745
1757
|
const hasStartIcon = Boolean(startIcon);
|
|
1746
|
-
return /* @__PURE__ */ (0,
|
|
1747
|
-
/* @__PURE__ */ (0,
|
|
1748
|
-
/* @__PURE__ */ (0,
|
|
1749
|
-
/* @__PURE__ */ (0,
|
|
1750
|
-
/* @__PURE__ */ (0,
|
|
1758
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(ComboboxParts.Root, { ...rootProps, children: [
|
|
1759
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Show, { when: label4, children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ComboboxParts.Label, { children: label4 }) }),
|
|
1760
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(ComboboxParts.Control, { children: [
|
|
1761
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Show, { when: hasStartIcon, children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ComboboxStartIcon, { children: startIcon }) }),
|
|
1762
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
1751
1763
|
ComboboxParts.Input,
|
|
1752
1764
|
{
|
|
1753
1765
|
...hasStartIcon && { "data-has": "start-indicator" }
|
|
1754
1766
|
}
|
|
1755
1767
|
),
|
|
1756
|
-
/* @__PURE__ */ (0,
|
|
1757
|
-
/* @__PURE__ */ (0,
|
|
1768
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ComboboxParts.ClearTrigger, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(CloseIcon, {}) }),
|
|
1769
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ComboboxParts.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(SelectArrow, {}) })
|
|
1758
1770
|
] }),
|
|
1759
|
-
/* @__PURE__ */ (0,
|
|
1771
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ComboboxParts.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ComboboxParts.Content, { size: rootProps.size, children }) }) })
|
|
1760
1772
|
] });
|
|
1761
1773
|
}
|
|
1762
1774
|
|
|
1763
1775
|
// src/components/combobox/item.tsx
|
|
1764
|
-
var
|
|
1776
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
1765
1777
|
function ComboItemWithIndicator(props) {
|
|
1766
1778
|
const { icons } = useCerberusContext();
|
|
1767
1779
|
const { selectChecked: CheckedIcon } = icons;
|
|
1768
|
-
return /* @__PURE__ */ (0,
|
|
1769
|
-
/* @__PURE__ */ (0,
|
|
1780
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(ComboboxParts.Item, { ...props, children: [
|
|
1781
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(ComboboxParts.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CheckedIcon, {}) }),
|
|
1770
1782
|
props.children
|
|
1771
1783
|
] });
|
|
1772
1784
|
}
|
|
1773
1785
|
|
|
1774
1786
|
// src/components/combobox/item-group.tsx
|
|
1775
|
-
var
|
|
1787
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
1776
1788
|
function ComboItemGroup(props) {
|
|
1777
1789
|
const { label: label4, children, ...groupProps } = props;
|
|
1778
|
-
return /* @__PURE__ */ (0,
|
|
1779
|
-
/* @__PURE__ */ (0,
|
|
1790
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(ComboboxParts.ItemGroup, { ...groupProps, children: [
|
|
1791
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(ComboboxParts.ItemGroupLabel, { children: label4 }),
|
|
1780
1792
|
children
|
|
1781
1793
|
] });
|
|
1782
1794
|
}
|
|
@@ -1786,106 +1798,106 @@ var import_react12 = require("react");
|
|
|
1786
1798
|
|
|
1787
1799
|
// src/components/select/primitives.tsx
|
|
1788
1800
|
var import_select = require("@ark-ui/react/select");
|
|
1789
|
-
var
|
|
1790
|
-
var
|
|
1791
|
-
var
|
|
1801
|
+
var import_recipes16 = require("styled-system/recipes");
|
|
1802
|
+
var import_css18 = require("styled-system/css");
|
|
1803
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
1792
1804
|
function SelectRoot(props) {
|
|
1793
1805
|
const { size, ...rootProps } = props;
|
|
1794
|
-
const styles = (0,
|
|
1795
|
-
return /* @__PURE__ */ (0,
|
|
1806
|
+
const styles = (0, import_recipes16.select)({ size });
|
|
1807
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
1796
1808
|
import_select.Select.Root,
|
|
1797
1809
|
{
|
|
1798
1810
|
...rootProps,
|
|
1799
|
-
className: (0,
|
|
1811
|
+
className: (0, import_css18.cx)(styles.root, rootProps.className)
|
|
1800
1812
|
}
|
|
1801
1813
|
);
|
|
1802
1814
|
}
|
|
1803
1815
|
function SelectLabel(props) {
|
|
1804
|
-
const styles = (0,
|
|
1805
|
-
return /* @__PURE__ */ (0,
|
|
1816
|
+
const styles = (0, import_recipes16.select)();
|
|
1817
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_select.Select.Label, { ...props, className: (0, import_css18.cx)(styles.label, props.className) });
|
|
1806
1818
|
}
|
|
1807
1819
|
function SelectControl(props) {
|
|
1808
|
-
return /* @__PURE__ */ (0,
|
|
1820
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_select.Select.Control, { ...props });
|
|
1809
1821
|
}
|
|
1810
1822
|
function SelectTrigger(props) {
|
|
1811
|
-
const styles = (0,
|
|
1812
|
-
return /* @__PURE__ */ (0,
|
|
1823
|
+
const styles = (0, import_recipes16.select)();
|
|
1824
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
1813
1825
|
import_select.Select.Trigger,
|
|
1814
1826
|
{
|
|
1815
1827
|
...props,
|
|
1816
|
-
className: (0,
|
|
1828
|
+
className: (0, import_css18.cx)(styles.trigger, props.className)
|
|
1817
1829
|
}
|
|
1818
1830
|
);
|
|
1819
1831
|
}
|
|
1820
1832
|
function SelectValueText(props) {
|
|
1821
|
-
return /* @__PURE__ */ (0,
|
|
1833
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_select.Select.ValueText, { ...props });
|
|
1822
1834
|
}
|
|
1823
1835
|
function SelectIndicator(props) {
|
|
1824
|
-
const styles = (0,
|
|
1825
|
-
return /* @__PURE__ */ (0,
|
|
1836
|
+
const styles = (0, import_recipes16.select)();
|
|
1837
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
1826
1838
|
import_select.Select.Indicator,
|
|
1827
1839
|
{
|
|
1828
1840
|
...props,
|
|
1829
|
-
className: (0,
|
|
1841
|
+
className: (0, import_css18.cx)(styles.indicator, props.className)
|
|
1830
1842
|
}
|
|
1831
1843
|
);
|
|
1832
1844
|
}
|
|
1833
1845
|
function SelectClearTrigger(props) {
|
|
1834
|
-
return /* @__PURE__ */ (0,
|
|
1846
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_select.Select.ClearTrigger, { ...props });
|
|
1835
1847
|
}
|
|
1836
1848
|
function SelectPositioner(props) {
|
|
1837
|
-
const styles = (0,
|
|
1838
|
-
return /* @__PURE__ */ (0,
|
|
1849
|
+
const styles = (0, import_recipes16.select)();
|
|
1850
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
1839
1851
|
import_select.Select.Positioner,
|
|
1840
1852
|
{
|
|
1841
1853
|
...props,
|
|
1842
|
-
className: (0,
|
|
1854
|
+
className: (0, import_css18.cx)(styles.positioner, props.className)
|
|
1843
1855
|
}
|
|
1844
1856
|
);
|
|
1845
1857
|
}
|
|
1846
1858
|
function SelectContent(props) {
|
|
1847
1859
|
const { size, ...contentProps } = props;
|
|
1848
|
-
const styles = (0,
|
|
1849
|
-
return /* @__PURE__ */ (0,
|
|
1860
|
+
const styles = (0, import_recipes16.select)({ size });
|
|
1861
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
1850
1862
|
import_select.Select.Content,
|
|
1851
1863
|
{
|
|
1852
1864
|
...contentProps,
|
|
1853
|
-
className: (0,
|
|
1865
|
+
className: (0, import_css18.cx)(styles.content, contentProps.className)
|
|
1854
1866
|
}
|
|
1855
1867
|
);
|
|
1856
1868
|
}
|
|
1857
1869
|
function SelectItemGroup(props) {
|
|
1858
|
-
return /* @__PURE__ */ (0,
|
|
1870
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_select.Select.ItemGroup, { ...props });
|
|
1859
1871
|
}
|
|
1860
1872
|
function SelectItemGroupLabel(props) {
|
|
1861
|
-
const styles = (0,
|
|
1862
|
-
return /* @__PURE__ */ (0,
|
|
1873
|
+
const styles = (0, import_recipes16.select)();
|
|
1874
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
1863
1875
|
import_select.Select.ItemGroupLabel,
|
|
1864
1876
|
{
|
|
1865
1877
|
...props,
|
|
1866
|
-
className: (0,
|
|
1878
|
+
className: (0, import_css18.cx)(styles.itemGroupLabel, props.className)
|
|
1867
1879
|
}
|
|
1868
1880
|
);
|
|
1869
1881
|
}
|
|
1870
1882
|
function SelectItem(props) {
|
|
1871
|
-
const styles = (0,
|
|
1872
|
-
return /* @__PURE__ */ (0,
|
|
1883
|
+
const styles = (0, import_recipes16.select)();
|
|
1884
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_select.Select.Item, { ...props, className: (0, import_css18.cx)(styles.item, props.className) });
|
|
1873
1885
|
}
|
|
1874
1886
|
function SelectItemText(props) {
|
|
1875
|
-
return /* @__PURE__ */ (0,
|
|
1887
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_select.Select.ItemText, { ...props });
|
|
1876
1888
|
}
|
|
1877
1889
|
function SelectItemIndicator(props) {
|
|
1878
|
-
const styles = (0,
|
|
1879
|
-
return /* @__PURE__ */ (0,
|
|
1890
|
+
const styles = (0, import_recipes16.select)();
|
|
1891
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
1880
1892
|
import_select.Select.ItemIndicator,
|
|
1881
1893
|
{
|
|
1882
1894
|
...props,
|
|
1883
|
-
className: (0,
|
|
1895
|
+
className: (0, import_css18.cx)(styles.itemIndicator, props.className)
|
|
1884
1896
|
}
|
|
1885
1897
|
);
|
|
1886
1898
|
}
|
|
1887
1899
|
function SelectHiddenSelect(props) {
|
|
1888
|
-
return /* @__PURE__ */ (0,
|
|
1900
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_select.Select.HiddenSelect, { ...props });
|
|
1889
1901
|
}
|
|
1890
1902
|
function createSelectCollection(collection) {
|
|
1891
1903
|
return (0, import_select.createListCollection)({
|
|
@@ -1926,76 +1938,66 @@ function useStatefulCollection(initialItems = []) {
|
|
|
1926
1938
|
var import_react14 = require("react");
|
|
1927
1939
|
var import_jsx4 = require("styled-system/jsx");
|
|
1928
1940
|
|
|
1929
|
-
// src/components/for.tsx
|
|
1930
|
-
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
1931
|
-
function For(props) {
|
|
1932
|
-
var _a;
|
|
1933
|
-
if (!props.each || !props.each.length) {
|
|
1934
|
-
return props.fallback || null;
|
|
1935
|
-
}
|
|
1936
|
-
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_jsx_runtime36.Fragment, { children: (_a = props.each) == null ? void 0 : _a.map(props.children) });
|
|
1937
|
-
}
|
|
1938
|
-
|
|
1939
1941
|
// src/components/dialog/primitives.tsx
|
|
1940
1942
|
var import_dialog = require("@ark-ui/react/dialog");
|
|
1941
|
-
var
|
|
1942
|
-
var
|
|
1943
|
+
var import_css19 = require("styled-system/css");
|
|
1944
|
+
var import_recipes17 = require("styled-system/recipes");
|
|
1943
1945
|
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
1944
1946
|
function DialogRoot(props) {
|
|
1945
1947
|
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_dialog.Dialog.Root, { ...props });
|
|
1946
1948
|
}
|
|
1947
1949
|
function DialogTrigger(props) {
|
|
1948
|
-
const styles = (0,
|
|
1950
|
+
const styles = (0, import_recipes17.dialog)();
|
|
1949
1951
|
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
1950
1952
|
import_dialog.Dialog.Trigger,
|
|
1951
1953
|
{
|
|
1952
1954
|
...props,
|
|
1953
|
-
className: (0,
|
|
1955
|
+
className: (0, import_css19.cx)(styles.trigger, props.className)
|
|
1954
1956
|
}
|
|
1955
1957
|
);
|
|
1956
1958
|
}
|
|
1957
1959
|
function DialogBackdrop(props) {
|
|
1958
|
-
const styles = (0,
|
|
1960
|
+
const styles = (0, import_recipes17.dialog)();
|
|
1959
1961
|
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
1960
1962
|
import_dialog.Dialog.Backdrop,
|
|
1961
1963
|
{
|
|
1962
1964
|
...props,
|
|
1963
|
-
className: (0,
|
|
1965
|
+
className: (0, import_css19.cx)(styles.backdrop, props.className)
|
|
1964
1966
|
}
|
|
1965
1967
|
);
|
|
1966
1968
|
}
|
|
1967
1969
|
function DialogPositioner(props) {
|
|
1968
|
-
const styles = (0,
|
|
1970
|
+
const styles = (0, import_recipes17.dialog)();
|
|
1969
1971
|
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
1970
1972
|
import_dialog.Dialog.Positioner,
|
|
1971
1973
|
{
|
|
1972
1974
|
...props,
|
|
1973
|
-
className: (0,
|
|
1975
|
+
className: (0, import_css19.cx)(styles.positioner, props.className)
|
|
1974
1976
|
}
|
|
1975
1977
|
);
|
|
1976
1978
|
}
|
|
1977
1979
|
function DialogContent(props) {
|
|
1978
1980
|
const { size, ...contentProps } = props;
|
|
1979
|
-
const styles = (0,
|
|
1981
|
+
const styles = (0, import_recipes17.dialog)({ size });
|
|
1980
1982
|
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
1981
1983
|
import_dialog.Dialog.Content,
|
|
1982
1984
|
{
|
|
1983
1985
|
...contentProps,
|
|
1984
|
-
className: (0,
|
|
1986
|
+
className: (0, import_css19.cx)(styles.content, contentProps.className)
|
|
1985
1987
|
}
|
|
1986
1988
|
);
|
|
1987
1989
|
}
|
|
1988
1990
|
function DialogHeading(props) {
|
|
1989
|
-
const styles = (0,
|
|
1990
|
-
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_dialog.Dialog.Title, { ...props, className: (0,
|
|
1991
|
+
const styles = (0, import_recipes17.dialog)();
|
|
1992
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_dialog.Dialog.Title, { ...props, className: (0, import_css19.cx)(styles.title, props.className) });
|
|
1991
1993
|
}
|
|
1992
1994
|
function DialogDescription(props) {
|
|
1993
|
-
const styles = (0,
|
|
1995
|
+
const styles = (0, import_recipes17.dialog)();
|
|
1994
1996
|
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
1995
1997
|
import_dialog.Dialog.Description,
|
|
1996
1998
|
{
|
|
1997
1999
|
...props,
|
|
1998
|
-
className: (0,
|
|
2000
|
+
className: (0, import_css19.cx)(styles.description, props.className)
|
|
1999
2001
|
}
|
|
2000
2002
|
);
|
|
2001
2003
|
}
|
|
@@ -2018,8 +2020,8 @@ var DialogParts = {
|
|
|
2018
2020
|
|
|
2019
2021
|
// src/components/IconButton.tsx
|
|
2020
2022
|
var import_factory4 = require("@ark-ui/react/factory");
|
|
2021
|
-
var
|
|
2022
|
-
var
|
|
2023
|
+
var import_css20 = require("styled-system/css");
|
|
2024
|
+
var import_recipes18 = require("styled-system/recipes");
|
|
2023
2025
|
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
2024
2026
|
function IconButton(props) {
|
|
2025
2027
|
const { ariaLabel, palette, usage, size, ...nativeProps } = props;
|
|
@@ -2028,9 +2030,9 @@ function IconButton(props) {
|
|
|
2028
2030
|
{
|
|
2029
2031
|
...nativeProps,
|
|
2030
2032
|
"aria-label": ariaLabel ?? "Icon Button",
|
|
2031
|
-
className: (0,
|
|
2033
|
+
className: (0, import_css20.cx)(
|
|
2032
2034
|
nativeProps.className,
|
|
2033
|
-
(0,
|
|
2035
|
+
(0, import_recipes18.iconButton)({
|
|
2034
2036
|
palette,
|
|
2035
2037
|
usage,
|
|
2036
2038
|
size
|
|
@@ -2041,18 +2043,18 @@ function IconButton(props) {
|
|
|
2041
2043
|
}
|
|
2042
2044
|
|
|
2043
2045
|
// src/components/dialog/close-icon-trigger.tsx
|
|
2044
|
-
var
|
|
2045
|
-
var
|
|
2046
|
+
var import_recipes19 = require("styled-system/recipes");
|
|
2047
|
+
var import_css21 = require("styled-system/css");
|
|
2046
2048
|
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
2047
2049
|
function DialogCloseIconTrigger(props) {
|
|
2048
|
-
const styles = (0,
|
|
2050
|
+
const styles = (0, import_recipes19.dialog)();
|
|
2049
2051
|
const { icons } = useCerberusContext();
|
|
2050
2052
|
const { close: CloseIcon } = icons;
|
|
2051
2053
|
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
2052
2054
|
DialogCloseTrigger,
|
|
2053
2055
|
{
|
|
2054
2056
|
...props,
|
|
2055
|
-
className: (0,
|
|
2057
|
+
className: (0, import_css21.cx)(styles.closeTrigger, props.className),
|
|
2056
2058
|
asChild: true,
|
|
2057
2059
|
children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
2058
2060
|
IconButton,
|
|
@@ -2082,9 +2084,9 @@ var import_react13 = require("react");
|
|
|
2082
2084
|
var CTAModalContext = (0, import_react13.createContext)(null);
|
|
2083
2085
|
|
|
2084
2086
|
// src/components/cta-dialog/trigger-item.tsx
|
|
2085
|
-
var
|
|
2087
|
+
var import_css22 = require("styled-system/css");
|
|
2086
2088
|
var import_factory5 = require("@ark-ui/react/factory");
|
|
2087
|
-
var
|
|
2089
|
+
var import_recipes20 = require("styled-system/recipes");
|
|
2088
2090
|
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
2089
2091
|
function TriggerItem(props) {
|
|
2090
2092
|
const { asChild, children, ...buttonProps } = props;
|
|
@@ -2092,12 +2094,12 @@ function TriggerItem(props) {
|
|
|
2092
2094
|
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2093
2095
|
import_factory5.ark.div,
|
|
2094
2096
|
{
|
|
2095
|
-
className: (0,
|
|
2096
|
-
(0,
|
|
2097
|
+
className: (0, import_css22.cx)(
|
|
2098
|
+
(0, import_recipes20.button)({
|
|
2097
2099
|
shape: "rounded",
|
|
2098
2100
|
usage: "ghost"
|
|
2099
2101
|
}),
|
|
2100
|
-
(0,
|
|
2102
|
+
(0, import_css22.css)({
|
|
2101
2103
|
w: "1/2"
|
|
2102
2104
|
})
|
|
2103
2105
|
),
|
|
@@ -2110,7 +2112,7 @@ function TriggerItem(props) {
|
|
|
2110
2112
|
Button,
|
|
2111
2113
|
{
|
|
2112
2114
|
...buttonProps,
|
|
2113
|
-
className: (0,
|
|
2115
|
+
className: (0, import_css22.css)({
|
|
2114
2116
|
w: "1/2"
|
|
2115
2117
|
}),
|
|
2116
2118
|
shape: "rounded",
|
|
@@ -2220,116 +2222,116 @@ function createCTAModalActions(providedActions) {
|
|
|
2220
2222
|
|
|
2221
2223
|
// src/components/date-picker/primitives.tsx
|
|
2222
2224
|
var import_date_picker = require("@ark-ui/react/date-picker");
|
|
2223
|
-
var
|
|
2224
|
-
var
|
|
2225
|
+
var import_css23 = require("styled-system/css");
|
|
2226
|
+
var import_recipes21 = require("styled-system/recipes");
|
|
2225
2227
|
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
2226
2228
|
function DatePickerLabel(props) {
|
|
2227
|
-
const styles = (0,
|
|
2229
|
+
const styles = (0, import_recipes21.datePicker)();
|
|
2228
2230
|
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
2229
2231
|
import_date_picker.DatePicker.Label,
|
|
2230
2232
|
{
|
|
2231
2233
|
...props,
|
|
2232
|
-
className: (0,
|
|
2234
|
+
className: (0, import_css23.cx)(styles.label, props.className)
|
|
2233
2235
|
}
|
|
2234
2236
|
);
|
|
2235
2237
|
}
|
|
2236
2238
|
function DatePickerControl(props) {
|
|
2237
|
-
const styles = (0,
|
|
2239
|
+
const styles = (0, import_recipes21.datePicker)();
|
|
2238
2240
|
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
2239
2241
|
import_date_picker.DatePicker.Control,
|
|
2240
2242
|
{
|
|
2241
2243
|
...props,
|
|
2242
|
-
className: (0,
|
|
2244
|
+
className: (0, import_css23.cx)(styles.control, props.className)
|
|
2243
2245
|
}
|
|
2244
2246
|
);
|
|
2245
2247
|
}
|
|
2246
2248
|
function DatePickerInputEl(props) {
|
|
2247
|
-
const styles = (0,
|
|
2249
|
+
const styles = (0, import_recipes21.datePicker)();
|
|
2248
2250
|
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
2249
2251
|
import_date_picker.DatePicker.Input,
|
|
2250
2252
|
{
|
|
2251
2253
|
...props,
|
|
2252
|
-
className: (0,
|
|
2254
|
+
className: (0, import_css23.cx)(styles.input, props.className)
|
|
2253
2255
|
}
|
|
2254
2256
|
);
|
|
2255
2257
|
}
|
|
2256
2258
|
function DatePickerTrigger(props) {
|
|
2257
|
-
const styles = (0,
|
|
2259
|
+
const styles = (0, import_recipes21.datePicker)();
|
|
2258
2260
|
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
2259
2261
|
import_date_picker.DatePicker.Trigger,
|
|
2260
2262
|
{
|
|
2261
2263
|
...props,
|
|
2262
|
-
className: (0,
|
|
2264
|
+
className: (0, import_css23.cx)(styles.trigger, props.className)
|
|
2263
2265
|
}
|
|
2264
2266
|
);
|
|
2265
2267
|
}
|
|
2266
2268
|
function DatePickerContent(props) {
|
|
2267
|
-
const styles = (0,
|
|
2269
|
+
const styles = (0, import_recipes21.datePicker)();
|
|
2268
2270
|
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
2269
2271
|
import_date_picker.DatePicker.Content,
|
|
2270
2272
|
{
|
|
2271
2273
|
...props,
|
|
2272
|
-
className: (0,
|
|
2274
|
+
className: (0, import_css23.cx)(styles.content, props.className)
|
|
2273
2275
|
}
|
|
2274
2276
|
);
|
|
2275
2277
|
}
|
|
2276
2278
|
function DatePickerViewControl(props) {
|
|
2277
|
-
const styles = (0,
|
|
2279
|
+
const styles = (0, import_recipes21.datePicker)();
|
|
2278
2280
|
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
2279
2281
|
import_date_picker.DatePicker.Control,
|
|
2280
2282
|
{
|
|
2281
2283
|
...props,
|
|
2282
|
-
className: (0,
|
|
2284
|
+
className: (0, import_css23.cx)(styles.viewControl, props.className)
|
|
2283
2285
|
}
|
|
2284
2286
|
);
|
|
2285
2287
|
}
|
|
2286
2288
|
function DatePickerRangeText(props) {
|
|
2287
|
-
const styles = (0,
|
|
2289
|
+
const styles = (0, import_recipes21.datePicker)();
|
|
2288
2290
|
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
2289
2291
|
import_date_picker.DatePicker.RangeText,
|
|
2290
2292
|
{
|
|
2291
2293
|
...props,
|
|
2292
|
-
className: (0,
|
|
2294
|
+
className: (0, import_css23.cx)(styles.rangeText, props.className)
|
|
2293
2295
|
}
|
|
2294
2296
|
);
|
|
2295
2297
|
}
|
|
2296
2298
|
function DatePickerTable(props) {
|
|
2297
|
-
const styles = (0,
|
|
2299
|
+
const styles = (0, import_recipes21.datePicker)();
|
|
2298
2300
|
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
2299
2301
|
import_date_picker.DatePicker.Table,
|
|
2300
2302
|
{
|
|
2301
2303
|
...props,
|
|
2302
|
-
className: (0,
|
|
2304
|
+
className: (0, import_css23.cx)(styles.table, props.className)
|
|
2303
2305
|
}
|
|
2304
2306
|
);
|
|
2305
2307
|
}
|
|
2306
2308
|
function DatePickerTableHeader(props) {
|
|
2307
|
-
const styles = (0,
|
|
2309
|
+
const styles = (0, import_recipes21.datePicker)();
|
|
2308
2310
|
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
2309
2311
|
import_date_picker.DatePicker.TableHeader,
|
|
2310
2312
|
{
|
|
2311
2313
|
...props,
|
|
2312
|
-
className: (0,
|
|
2314
|
+
className: (0, import_css23.cx)(styles.tableHeader, props.className)
|
|
2313
2315
|
}
|
|
2314
2316
|
);
|
|
2315
2317
|
}
|
|
2316
2318
|
function DatePickerTableCell(props) {
|
|
2317
|
-
const styles = (0,
|
|
2319
|
+
const styles = (0, import_recipes21.datePicker)();
|
|
2318
2320
|
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
2319
2321
|
import_date_picker.DatePicker.TableCell,
|
|
2320
2322
|
{
|
|
2321
2323
|
...props,
|
|
2322
|
-
className: (0,
|
|
2324
|
+
className: (0, import_css23.cx)(styles.tableCell, props.className)
|
|
2323
2325
|
}
|
|
2324
2326
|
);
|
|
2325
2327
|
}
|
|
2326
2328
|
function DatePickerTableCellTrigger(props) {
|
|
2327
|
-
const styles = (0,
|
|
2329
|
+
const styles = (0, import_recipes21.datePicker)();
|
|
2328
2330
|
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
2329
2331
|
import_date_picker.DatePicker.TableCellTrigger,
|
|
2330
2332
|
{
|
|
2331
2333
|
...props,
|
|
2332
|
-
className: (0,
|
|
2334
|
+
className: (0, import_css23.cx)(styles.tableCellTrigger, props.className)
|
|
2333
2335
|
}
|
|
2334
2336
|
);
|
|
2335
2337
|
}
|
|
@@ -2482,7 +2484,7 @@ function DatePickerContent2(props) {
|
|
|
2482
2484
|
}
|
|
2483
2485
|
|
|
2484
2486
|
// src/components/date-picker/view-control-group.tsx
|
|
2485
|
-
var
|
|
2487
|
+
var import_css24 = require("styled-system/css");
|
|
2486
2488
|
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
2487
2489
|
function DatePickerViewControlGroup(props) {
|
|
2488
2490
|
const { icons } = useCerberusContext();
|
|
@@ -2492,7 +2494,7 @@ function DatePickerViewControlGroup(props) {
|
|
|
2492
2494
|
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DatePickerParts.ViewTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
2493
2495
|
Button,
|
|
2494
2496
|
{
|
|
2495
|
-
className: (0,
|
|
2497
|
+
className: (0, import_css24.css)({
|
|
2496
2498
|
h: "2rem",
|
|
2497
2499
|
paddingInline: "md"
|
|
2498
2500
|
}),
|
|
@@ -2619,42 +2621,42 @@ function FeatureFlag(props) {
|
|
|
2619
2621
|
|
|
2620
2622
|
// src/components/fieldset/primitives.tsx
|
|
2621
2623
|
var import_fieldset = require("@ark-ui/react/fieldset");
|
|
2622
|
-
var
|
|
2623
|
-
var
|
|
2624
|
+
var import_css25 = require("styled-system/css");
|
|
2625
|
+
var import_recipes22 = require("styled-system/recipes");
|
|
2624
2626
|
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
2625
2627
|
function FieldsetRoot(props) {
|
|
2626
|
-
const styles = (0,
|
|
2627
|
-
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_fieldset.Fieldset.Root, { ...props, className: (0,
|
|
2628
|
+
const styles = (0, import_recipes22.fieldset)();
|
|
2629
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_fieldset.Fieldset.Root, { ...props, className: (0, import_css25.cx)(styles.root, props.className) });
|
|
2628
2630
|
}
|
|
2629
2631
|
function FieldsetLegend(props) {
|
|
2630
2632
|
const { usage, ...legendProps } = props;
|
|
2631
|
-
const styles = (0,
|
|
2633
|
+
const styles = (0, import_recipes22.fieldset)({ usage });
|
|
2632
2634
|
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
2633
2635
|
import_fieldset.Fieldset.Legend,
|
|
2634
2636
|
{
|
|
2635
2637
|
...legendProps,
|
|
2636
|
-
className: (0,
|
|
2638
|
+
className: (0, import_css25.cx)(styles.legend, legendProps.className)
|
|
2637
2639
|
}
|
|
2638
2640
|
);
|
|
2639
2641
|
}
|
|
2640
2642
|
function FieldsetHelperText(props) {
|
|
2641
2643
|
const { usage, ...helperTextProps } = props;
|
|
2642
|
-
const styles = (0,
|
|
2644
|
+
const styles = (0, import_recipes22.fieldset)({ usage });
|
|
2643
2645
|
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
2644
2646
|
import_fieldset.Fieldset.HelperText,
|
|
2645
2647
|
{
|
|
2646
2648
|
...helperTextProps,
|
|
2647
|
-
className: (0,
|
|
2649
|
+
className: (0, import_css25.cx)(styles.helperText, helperTextProps.className)
|
|
2648
2650
|
}
|
|
2649
2651
|
);
|
|
2650
2652
|
}
|
|
2651
2653
|
function FieldsetErrorText(props) {
|
|
2652
|
-
const styles = (0,
|
|
2654
|
+
const styles = (0, import_recipes22.fieldset)();
|
|
2653
2655
|
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
2654
2656
|
import_fieldset.Fieldset.ErrorText,
|
|
2655
2657
|
{
|
|
2656
2658
|
...props,
|
|
2657
|
-
className: (0,
|
|
2659
|
+
className: (0, import_css25.cx)(styles.errorText, props.className)
|
|
2658
2660
|
}
|
|
2659
2661
|
);
|
|
2660
2662
|
}
|
|
@@ -2685,18 +2687,18 @@ function Fieldset2(props) {
|
|
|
2685
2687
|
|
|
2686
2688
|
// src/components/FileStatus.tsx
|
|
2687
2689
|
var import_react18 = require("react");
|
|
2688
|
-
var
|
|
2689
|
-
var
|
|
2690
|
-
var
|
|
2690
|
+
var import_recipes24 = require("styled-system/recipes");
|
|
2691
|
+
var import_css27 = require("styled-system/css");
|
|
2692
|
+
var import_patterns3 = require("styled-system/patterns");
|
|
2691
2693
|
|
|
2692
2694
|
// src/components/ProgressBar.tsx
|
|
2693
2695
|
var import_factory6 = require("@ark-ui/react/factory");
|
|
2694
|
-
var
|
|
2695
|
-
var
|
|
2696
|
+
var import_css26 = require("styled-system/css");
|
|
2697
|
+
var import_recipes23 = require("styled-system/recipes");
|
|
2696
2698
|
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
2697
2699
|
function ProgressBar(props) {
|
|
2698
2700
|
const { indeterminate, size, usage, now, label: label4, ...nativeProps } = props;
|
|
2699
|
-
const styles = (0,
|
|
2701
|
+
const styles = (0, import_recipes23.progressBar)({ size, usage });
|
|
2700
2702
|
const nowClamped = Math.min(100, Math.max(0, now || 0));
|
|
2701
2703
|
const width = {
|
|
2702
2704
|
width: indeterminate ? "50%" : `${nowClamped}%`
|
|
@@ -2709,7 +2711,7 @@ function ProgressBar(props) {
|
|
|
2709
2711
|
"aria-valuemin": 0,
|
|
2710
2712
|
"aria-valuemax": 100,
|
|
2711
2713
|
"aria-valuenow": indeterminate ? 0 : nowClamped,
|
|
2712
|
-
className: (0,
|
|
2714
|
+
className: (0, import_css26.cx)(nativeProps.className, styles.root),
|
|
2713
2715
|
role: "progressbar",
|
|
2714
2716
|
children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
2715
2717
|
import_factory6.ark.div,
|
|
@@ -2741,15 +2743,15 @@ function FileStatus(props) {
|
|
|
2741
2743
|
const styles = (0, import_react18.useMemo)(() => {
|
|
2742
2744
|
switch (status) {
|
|
2743
2745
|
case "todo" /* TODO */:
|
|
2744
|
-
return (0,
|
|
2746
|
+
return (0, import_recipes24.fileStatus)({ status: "todo" });
|
|
2745
2747
|
case "processing" /* PROCESSING */:
|
|
2746
|
-
return (0,
|
|
2748
|
+
return (0, import_recipes24.fileStatus)({ status: "processing" });
|
|
2747
2749
|
case "done" /* DONE */:
|
|
2748
|
-
return (0,
|
|
2750
|
+
return (0, import_recipes24.fileStatus)({ status: "done" });
|
|
2749
2751
|
case "error" /* ERROR */:
|
|
2750
|
-
return (0,
|
|
2752
|
+
return (0, import_recipes24.fileStatus)({ status: "error" });
|
|
2751
2753
|
default:
|
|
2752
|
-
return (0,
|
|
2754
|
+
return (0, import_recipes24.fileStatus)();
|
|
2753
2755
|
}
|
|
2754
2756
|
}, [status]);
|
|
2755
2757
|
const handleClick = (0, import_react18.useCallback)(
|
|
@@ -2765,7 +2767,7 @@ function FileStatus(props) {
|
|
|
2765
2767
|
"div",
|
|
2766
2768
|
{
|
|
2767
2769
|
...nativeProps,
|
|
2768
|
-
className: (0,
|
|
2770
|
+
className: (0, import_css27.cx)(nativeProps.className, styles.root, (0, import_patterns3.hstack)()),
|
|
2769
2771
|
children: [
|
|
2770
2772
|
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
2771
2773
|
Avatar2,
|
|
@@ -2777,7 +2779,7 @@ function FileStatus(props) {
|
|
|
2777
2779
|
/* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
|
|
2778
2780
|
"div",
|
|
2779
2781
|
{
|
|
2780
|
-
className: (0,
|
|
2782
|
+
className: (0, import_patterns3.vstack)({
|
|
2781
2783
|
alignItems: "flex-start",
|
|
2782
2784
|
gap: "0.12rem",
|
|
2783
2785
|
w: "full"
|
|
@@ -2786,7 +2788,7 @@ function FileStatus(props) {
|
|
|
2786
2788
|
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
2787
2789
|
"small",
|
|
2788
2790
|
{
|
|
2789
|
-
className: (0,
|
|
2791
|
+
className: (0, import_css27.css)({
|
|
2790
2792
|
color: "page.text.initial",
|
|
2791
2793
|
textStyle: "label-sm"
|
|
2792
2794
|
}),
|
|
@@ -2805,7 +2807,7 @@ function FileStatus(props) {
|
|
|
2805
2807
|
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Field2, { label: "", invalid: modalIconPalette === "hades-dark", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
2806
2808
|
FieldHelperText,
|
|
2807
2809
|
{
|
|
2808
|
-
className: (0,
|
|
2810
|
+
className: (0, import_css27.css)({
|
|
2809
2811
|
color: "page.text.100"
|
|
2810
2812
|
}),
|
|
2811
2813
|
id: `help:${file}`,
|
|
@@ -2920,21 +2922,21 @@ function getModalIconPalette(status) {
|
|
|
2920
2922
|
}
|
|
2921
2923
|
|
|
2922
2924
|
// src/components/FileUploader.tsx
|
|
2923
|
-
var
|
|
2924
|
-
var
|
|
2925
|
-
var
|
|
2925
|
+
var import_css28 = require("styled-system/css");
|
|
2926
|
+
var import_patterns4 = require("styled-system/patterns");
|
|
2927
|
+
var import_recipes25 = require("styled-system/recipes");
|
|
2926
2928
|
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
2927
2929
|
function FileUploader(props) {
|
|
2928
2930
|
var _a;
|
|
2929
2931
|
const { icons } = useCerberusContext();
|
|
2930
|
-
const styles = (0,
|
|
2932
|
+
const styles = (0, import_recipes25.fileUploader)();
|
|
2931
2933
|
const { waitingFileUploader: Icon } = icons;
|
|
2932
2934
|
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
|
|
2933
2935
|
"div",
|
|
2934
2936
|
{
|
|
2935
2937
|
...props.disabled ? { "aria-disabled": true } : {},
|
|
2936
|
-
className: (0,
|
|
2937
|
-
(0,
|
|
2938
|
+
className: (0, import_css28.cx)(
|
|
2939
|
+
(0, import_patterns4.vstack)({
|
|
2938
2940
|
justify: "center"
|
|
2939
2941
|
}),
|
|
2940
2942
|
styles.container
|
|
@@ -2944,8 +2946,8 @@ function FileUploader(props) {
|
|
|
2944
2946
|
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
|
|
2945
2947
|
"label",
|
|
2946
2948
|
{
|
|
2947
|
-
className: (0,
|
|
2948
|
-
(0,
|
|
2949
|
+
className: (0, import_css28.cx)(
|
|
2950
|
+
(0, import_patterns4.vstack)({
|
|
2949
2951
|
justify: "center"
|
|
2950
2952
|
}),
|
|
2951
2953
|
styles.label
|
|
@@ -2961,7 +2963,7 @@ function FileUploader(props) {
|
|
|
2961
2963
|
"input",
|
|
2962
2964
|
{
|
|
2963
2965
|
...props,
|
|
2964
|
-
className: (0,
|
|
2966
|
+
className: (0, import_css28.cx)(props.className, styles.input),
|
|
2965
2967
|
type: "file"
|
|
2966
2968
|
}
|
|
2967
2969
|
)
|
|
@@ -2975,10 +2977,10 @@ function FileUploader(props) {
|
|
|
2975
2977
|
|
|
2976
2978
|
// src/components/Menu.tsx
|
|
2977
2979
|
var import_react19 = require("@ark-ui/react");
|
|
2978
|
-
var
|
|
2979
|
-
var
|
|
2980
|
+
var import_recipes26 = require("styled-system/recipes");
|
|
2981
|
+
var import_css29 = require("styled-system/css");
|
|
2980
2982
|
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
2981
|
-
var menuStyles = (0,
|
|
2983
|
+
var menuStyles = (0, import_recipes26.menu)();
|
|
2982
2984
|
function Menu(props) {
|
|
2983
2985
|
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_react19.Menu.Root, { ...props });
|
|
2984
2986
|
}
|
|
@@ -2990,12 +2992,12 @@ function MenuContent(props) {
|
|
|
2990
2992
|
import_react19.Menu.Content,
|
|
2991
2993
|
{
|
|
2992
2994
|
...props,
|
|
2993
|
-
className: (0,
|
|
2995
|
+
className: (0, import_css29.cx)(props.className, menuStyles.content)
|
|
2994
2996
|
}
|
|
2995
2997
|
) });
|
|
2996
2998
|
}
|
|
2997
2999
|
function MenuItem(props) {
|
|
2998
|
-
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_react19.Menu.Item, { ...props, className: (0,
|
|
3000
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_react19.Menu.Item, { ...props, className: (0, import_css29.cx)(props.className, menuStyles.item) });
|
|
2999
3001
|
}
|
|
3000
3002
|
function MenuItemGroup(props) {
|
|
3001
3003
|
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_react19.Menu.ItemGroup, { ...props });
|
|
@@ -3005,7 +3007,7 @@ function MenuGroupLabel(props) {
|
|
|
3005
3007
|
import_react19.Menu.ItemGroupLabel,
|
|
3006
3008
|
{
|
|
3007
3009
|
...props,
|
|
3008
|
-
className: (0,
|
|
3010
|
+
className: (0, import_css29.cx)(props.className, menuStyles.itemGroupLabel)
|
|
3009
3011
|
}
|
|
3010
3012
|
);
|
|
3011
3013
|
}
|
|
@@ -3014,54 +3016,54 @@ function MenuSeparator(props) {
|
|
|
3014
3016
|
import_react19.Menu.Separator,
|
|
3015
3017
|
{
|
|
3016
3018
|
...props,
|
|
3017
|
-
className: (0,
|
|
3019
|
+
className: (0, import_css29.cx)(props.className, menuStyles.separator)
|
|
3018
3020
|
}
|
|
3019
3021
|
);
|
|
3020
3022
|
}
|
|
3021
3023
|
|
|
3022
3024
|
// src/components/notifications/primitives.tsx
|
|
3023
3025
|
var import_toast = require("@ark-ui/react/toast");
|
|
3024
|
-
var
|
|
3025
|
-
var
|
|
3026
|
+
var import_css30 = require("styled-system/css");
|
|
3027
|
+
var import_recipes27 = require("styled-system/recipes");
|
|
3026
3028
|
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
3027
3029
|
function NotificationProvider(props) {
|
|
3028
3030
|
return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_toast.Toaster, { ...props });
|
|
3029
3031
|
}
|
|
3030
3032
|
function NotificationRoot(props) {
|
|
3031
|
-
const styles = (0,
|
|
3032
|
-
return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_toast.Toast.Root, { ...props, className: (0,
|
|
3033
|
+
const styles = (0, import_recipes27.toast)();
|
|
3034
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_toast.Toast.Root, { ...props, className: (0, import_css30.cx)(styles.root, props.className) });
|
|
3033
3035
|
}
|
|
3034
3036
|
function NotificationHeading(props) {
|
|
3035
|
-
const styles = (0,
|
|
3036
|
-
return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_toast.Toast.Title, { ...props, className: (0,
|
|
3037
|
+
const styles = (0, import_recipes27.toast)();
|
|
3038
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_toast.Toast.Title, { ...props, className: (0, import_css30.cx)(styles.title, props.className) });
|
|
3037
3039
|
}
|
|
3038
3040
|
function NotificationDescription(props) {
|
|
3039
|
-
const styles = (0,
|
|
3041
|
+
const styles = (0, import_recipes27.toast)();
|
|
3040
3042
|
return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
3041
3043
|
import_toast.Toast.Description,
|
|
3042
3044
|
{
|
|
3043
3045
|
...props,
|
|
3044
|
-
className: (0,
|
|
3046
|
+
className: (0, import_css30.cx)(styles.description, props.className)
|
|
3045
3047
|
}
|
|
3046
3048
|
);
|
|
3047
3049
|
}
|
|
3048
3050
|
function NotificationCloseTrigger(props) {
|
|
3049
|
-
const styles = (0,
|
|
3051
|
+
const styles = (0, import_recipes27.toast)();
|
|
3050
3052
|
return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
3051
3053
|
import_toast.Toast.CloseTrigger,
|
|
3052
3054
|
{
|
|
3053
3055
|
...props,
|
|
3054
|
-
className: (0,
|
|
3056
|
+
className: (0, import_css30.cx)(styles.closeTrigger, props.className)
|
|
3055
3057
|
}
|
|
3056
3058
|
);
|
|
3057
3059
|
}
|
|
3058
3060
|
function NotificationActionTrigger(props) {
|
|
3059
|
-
const styles = (0,
|
|
3061
|
+
const styles = (0, import_recipes27.toast)();
|
|
3060
3062
|
return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
3061
3063
|
import_toast.Toast.ActionTrigger,
|
|
3062
3064
|
{
|
|
3063
3065
|
...props,
|
|
3064
|
-
className: (0,
|
|
3066
|
+
className: (0, import_css30.cx)(styles.actionTrigger, props.className)
|
|
3065
3067
|
}
|
|
3066
3068
|
);
|
|
3067
3069
|
}
|
|
@@ -3080,13 +3082,13 @@ var import_toast2 = require("@ark-ui/react/toast");
|
|
|
3080
3082
|
var import_jsx5 = require("styled-system/jsx");
|
|
3081
3083
|
|
|
3082
3084
|
// src/components/notifications/match-icon.tsx
|
|
3083
|
-
var
|
|
3085
|
+
var import_recipes28 = require("styled-system/recipes");
|
|
3084
3086
|
var import_factory7 = require("@ark-ui/react/factory");
|
|
3085
3087
|
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
3086
3088
|
function MatchNotificationIcon(props) {
|
|
3087
3089
|
const { icons } = useCerberusContext();
|
|
3088
3090
|
const type = props.type || "info";
|
|
3089
|
-
const styles = (0,
|
|
3091
|
+
const styles = (0, import_recipes28.toast)();
|
|
3090
3092
|
const key = `${type}Notification`;
|
|
3091
3093
|
const Icon = icons[key] || ToastLoadingIcon;
|
|
3092
3094
|
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_factory7.ark.div, { className: styles.icon, children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Icon, {}) });
|
|
@@ -3151,69 +3153,69 @@ function useNotificationCenter() {
|
|
|
3151
3153
|
|
|
3152
3154
|
// src/components/radio/primitives.tsx
|
|
3153
3155
|
var import_radio_group = require("@ark-ui/react/radio-group");
|
|
3154
|
-
var
|
|
3155
|
-
var
|
|
3156
|
+
var import_css31 = require("styled-system/css");
|
|
3157
|
+
var import_recipes29 = require("styled-system/recipes");
|
|
3156
3158
|
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
3157
3159
|
function RadioGroupRoot(props) {
|
|
3158
3160
|
const { size, orientation, ...rootProps } = props;
|
|
3159
|
-
const styles = (0,
|
|
3161
|
+
const styles = (0, import_recipes29.radioGroup)({ size, orientation });
|
|
3160
3162
|
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
3161
3163
|
import_radio_group.RadioGroup.Root,
|
|
3162
3164
|
{
|
|
3163
3165
|
...rootProps,
|
|
3164
|
-
className: (0,
|
|
3166
|
+
className: (0, import_css31.cx)(styles.root, rootProps.className)
|
|
3165
3167
|
}
|
|
3166
3168
|
);
|
|
3167
3169
|
}
|
|
3168
3170
|
function RadioGroupLabel(props) {
|
|
3169
|
-
const styles = (0,
|
|
3171
|
+
const styles = (0, import_recipes29.radioGroup)();
|
|
3170
3172
|
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
3171
3173
|
import_radio_group.RadioGroup.Label,
|
|
3172
3174
|
{
|
|
3173
3175
|
...props,
|
|
3174
|
-
className: (0,
|
|
3176
|
+
className: (0, import_css31.cx)(styles.label, props.className)
|
|
3175
3177
|
}
|
|
3176
3178
|
);
|
|
3177
3179
|
}
|
|
3178
3180
|
function RadioGroupIndicator(props) {
|
|
3179
|
-
const styles = (0,
|
|
3181
|
+
const styles = (0, import_recipes29.radioGroup)();
|
|
3180
3182
|
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
3181
3183
|
import_radio_group.RadioGroup.Indicator,
|
|
3182
3184
|
{
|
|
3183
3185
|
...props,
|
|
3184
|
-
className: (0,
|
|
3186
|
+
className: (0, import_css31.cx)(styles.indicator, props.className)
|
|
3185
3187
|
}
|
|
3186
3188
|
);
|
|
3187
3189
|
}
|
|
3188
3190
|
function RadioGroupItem(props) {
|
|
3189
|
-
const styles = (0,
|
|
3191
|
+
const styles = (0, import_recipes29.radioGroup)();
|
|
3190
3192
|
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
3191
3193
|
import_radio_group.RadioGroup.Item,
|
|
3192
3194
|
{
|
|
3193
3195
|
...props,
|
|
3194
|
-
className: (0,
|
|
3196
|
+
className: (0, import_css31.cx)(styles.item, props.className)
|
|
3195
3197
|
}
|
|
3196
3198
|
);
|
|
3197
3199
|
}
|
|
3198
3200
|
function RadioGroupItemText(props) {
|
|
3199
3201
|
const { size, orientation, ...itemTextProps } = props;
|
|
3200
|
-
const styles = (0,
|
|
3202
|
+
const styles = (0, import_recipes29.radioGroup)({ size, orientation });
|
|
3201
3203
|
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
3202
3204
|
import_radio_group.RadioGroup.ItemText,
|
|
3203
3205
|
{
|
|
3204
3206
|
...itemTextProps,
|
|
3205
|
-
className: (0,
|
|
3207
|
+
className: (0, import_css31.cx)(styles.itemText, itemTextProps.className)
|
|
3206
3208
|
}
|
|
3207
3209
|
);
|
|
3208
3210
|
}
|
|
3209
3211
|
function RadioGroupItemControl(props) {
|
|
3210
3212
|
const { size, orientation, ...itemControlProps } = props;
|
|
3211
|
-
const styles = (0,
|
|
3213
|
+
const styles = (0, import_recipes29.radioGroup)({ size, orientation });
|
|
3212
3214
|
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
3213
3215
|
import_radio_group.RadioGroup.ItemControl,
|
|
3214
3216
|
{
|
|
3215
3217
|
...itemControlProps,
|
|
3216
|
-
className: (0,
|
|
3218
|
+
className: (0, import_css31.cx)(styles.itemControl, itemControlProps.className)
|
|
3217
3219
|
}
|
|
3218
3220
|
);
|
|
3219
3221
|
}
|
|
@@ -3246,37 +3248,37 @@ function Radio(props) {
|
|
|
3246
3248
|
|
|
3247
3249
|
// src/components/rating/primitives.tsx
|
|
3248
3250
|
var import_rating_group = require("@ark-ui/react/rating-group");
|
|
3249
|
-
var
|
|
3250
|
-
var
|
|
3251
|
+
var import_css32 = require("styled-system/css");
|
|
3252
|
+
var import_recipes30 = require("styled-system/recipes");
|
|
3251
3253
|
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
3252
3254
|
function RatingRoot(props) {
|
|
3253
3255
|
const { orientation, size, ...rootProps } = props;
|
|
3254
|
-
const styles = (0,
|
|
3256
|
+
const styles = (0, import_recipes30.ratingGroup)({ orientation, size });
|
|
3255
3257
|
return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
3256
3258
|
import_rating_group.RatingGroup.Root,
|
|
3257
3259
|
{
|
|
3258
3260
|
...rootProps,
|
|
3259
|
-
className: (0,
|
|
3261
|
+
className: (0, import_css32.cx)(styles.root, rootProps.className)
|
|
3260
3262
|
}
|
|
3261
3263
|
);
|
|
3262
3264
|
}
|
|
3263
3265
|
function RatingLabel(props) {
|
|
3264
|
-
const styles = (0,
|
|
3266
|
+
const styles = (0, import_recipes30.ratingGroup)();
|
|
3265
3267
|
return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
3266
3268
|
import_rating_group.RatingGroup.Label,
|
|
3267
3269
|
{
|
|
3268
3270
|
...props,
|
|
3269
|
-
className: (0,
|
|
3271
|
+
className: (0, import_css32.cx)(styles.label, props.className)
|
|
3270
3272
|
}
|
|
3271
3273
|
);
|
|
3272
3274
|
}
|
|
3273
3275
|
function RatingControl(props) {
|
|
3274
|
-
const styles = (0,
|
|
3276
|
+
const styles = (0, import_recipes30.ratingGroup)();
|
|
3275
3277
|
return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
3276
3278
|
import_rating_group.RatingGroup.Control,
|
|
3277
3279
|
{
|
|
3278
3280
|
...props,
|
|
3279
|
-
className: (0,
|
|
3281
|
+
className: (0, import_css32.cx)(styles.control, props.className)
|
|
3280
3282
|
}
|
|
3281
3283
|
);
|
|
3282
3284
|
}
|
|
@@ -3285,12 +3287,12 @@ function RatingContext(props) {
|
|
|
3285
3287
|
}
|
|
3286
3288
|
function RatingItem(props) {
|
|
3287
3289
|
const { palette, ...itemProps } = props;
|
|
3288
|
-
const styles = (0,
|
|
3290
|
+
const styles = (0, import_recipes30.ratingGroup)({ palette });
|
|
3289
3291
|
return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
3290
3292
|
import_rating_group.RatingGroup.Item,
|
|
3291
3293
|
{
|
|
3292
3294
|
...itemProps,
|
|
3293
|
-
className: (0,
|
|
3295
|
+
className: (0, import_css32.cx)(styles.item, itemProps.className)
|
|
3294
3296
|
}
|
|
3295
3297
|
);
|
|
3296
3298
|
}
|
|
@@ -3393,37 +3395,37 @@ function OptionGroupLabel(props) {
|
|
|
3393
3395
|
|
|
3394
3396
|
// src/components/switch/primitives.tsx
|
|
3395
3397
|
var import_switch = require("@ark-ui/react/switch");
|
|
3396
|
-
var
|
|
3397
|
-
var
|
|
3398
|
+
var import_css33 = require("styled-system/css");
|
|
3399
|
+
var import_recipes31 = require("styled-system/recipes");
|
|
3398
3400
|
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
3399
3401
|
function SwitchRoot(props) {
|
|
3400
3402
|
const { size, ...rootProps } = props;
|
|
3401
|
-
const styles = (0,
|
|
3403
|
+
const styles = (0, import_recipes31.switchRecipe)({ size });
|
|
3402
3404
|
return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
3403
3405
|
import_switch.Switch.Root,
|
|
3404
3406
|
{
|
|
3405
3407
|
...rootProps,
|
|
3406
|
-
className: (0,
|
|
3408
|
+
className: (0, import_css33.cx)(styles.root, rootProps.className)
|
|
3407
3409
|
}
|
|
3408
3410
|
);
|
|
3409
3411
|
}
|
|
3410
3412
|
function SwitchLabel(props) {
|
|
3411
|
-
const styles = (0,
|
|
3412
|
-
return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_switch.Switch.Label, { ...props, className: (0,
|
|
3413
|
+
const styles = (0, import_recipes31.switchRecipe)();
|
|
3414
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_switch.Switch.Label, { ...props, className: (0, import_css33.cx)(styles.label, props.className) });
|
|
3413
3415
|
}
|
|
3414
3416
|
function SwitchControl(props) {
|
|
3415
|
-
const styles = (0,
|
|
3417
|
+
const styles = (0, import_recipes31.switchRecipe)();
|
|
3416
3418
|
return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
3417
3419
|
import_switch.Switch.Control,
|
|
3418
3420
|
{
|
|
3419
3421
|
...props,
|
|
3420
|
-
className: (0,
|
|
3422
|
+
className: (0, import_css33.cx)(styles.control, props.className)
|
|
3421
3423
|
}
|
|
3422
3424
|
);
|
|
3423
3425
|
}
|
|
3424
3426
|
function SwitchThumb(props) {
|
|
3425
|
-
const styles = (0,
|
|
3426
|
-
return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_switch.Switch.Thumb, { ...props, className: (0,
|
|
3427
|
+
const styles = (0, import_recipes31.switchRecipe)();
|
|
3428
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_switch.Switch.Thumb, { ...props, className: (0, import_css33.cx)(styles.thumb, props.className) });
|
|
3427
3429
|
}
|
|
3428
3430
|
function SwitchHiddenInput(props) {
|
|
3429
3431
|
return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_switch.Switch.HiddenInput, { ...props });
|
|
@@ -3459,12 +3461,12 @@ function Switch2(props) {
|
|
|
3459
3461
|
|
|
3460
3462
|
// src/components/table/primitives.tsx
|
|
3461
3463
|
var import_factory8 = require("@ark-ui/react/factory");
|
|
3462
|
-
var
|
|
3463
|
-
var
|
|
3464
|
+
var import_css34 = require("styled-system/css");
|
|
3465
|
+
var import_recipes32 = require("styled-system/recipes");
|
|
3464
3466
|
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
3465
3467
|
function TableRoot(props) {
|
|
3466
3468
|
const { decoration, size, ...rootProps } = props;
|
|
3467
|
-
const styles = (0,
|
|
3469
|
+
const styles = (0, import_recipes32.table)({
|
|
3468
3470
|
decoration,
|
|
3469
3471
|
size
|
|
3470
3472
|
});
|
|
@@ -3472,115 +3474,115 @@ function TableRoot(props) {
|
|
|
3472
3474
|
import_factory8.ark.div,
|
|
3473
3475
|
{
|
|
3474
3476
|
...rootProps,
|
|
3475
|
-
className: (0,
|
|
3477
|
+
className: (0, import_css34.cx)(styles.root, rootProps.className),
|
|
3476
3478
|
"data-scope": "table",
|
|
3477
3479
|
"data-part": "root"
|
|
3478
3480
|
}
|
|
3479
3481
|
);
|
|
3480
3482
|
}
|
|
3481
3483
|
function TableEl(props) {
|
|
3482
|
-
const styles = (0,
|
|
3484
|
+
const styles = (0, import_recipes32.table)();
|
|
3483
3485
|
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
3484
3486
|
import_factory8.ark.table,
|
|
3485
3487
|
{
|
|
3486
3488
|
...props,
|
|
3487
|
-
className: (0,
|
|
3489
|
+
className: (0, import_css34.cx)(styles.table, props.className),
|
|
3488
3490
|
"data-scope": "table",
|
|
3489
3491
|
"data-part": "table"
|
|
3490
3492
|
}
|
|
3491
3493
|
);
|
|
3492
3494
|
}
|
|
3493
3495
|
function Caption(props) {
|
|
3494
|
-
const styles = (0,
|
|
3496
|
+
const styles = (0, import_recipes32.table)();
|
|
3495
3497
|
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
3496
3498
|
import_factory8.ark.caption,
|
|
3497
3499
|
{
|
|
3498
3500
|
...props,
|
|
3499
|
-
className: (0,
|
|
3501
|
+
className: (0, import_css34.cx)(styles.caption, props.className),
|
|
3500
3502
|
"data-scope": "table",
|
|
3501
3503
|
"data-part": "caption"
|
|
3502
3504
|
}
|
|
3503
3505
|
);
|
|
3504
3506
|
}
|
|
3505
3507
|
function Thead(props) {
|
|
3506
|
-
const styles = (0,
|
|
3508
|
+
const styles = (0, import_recipes32.table)();
|
|
3507
3509
|
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
3508
3510
|
import_factory8.ark.thead,
|
|
3509
3511
|
{
|
|
3510
3512
|
...props,
|
|
3511
|
-
className: (0,
|
|
3513
|
+
className: (0, import_css34.cx)(styles.thead, props.className),
|
|
3512
3514
|
"data-scope": "table",
|
|
3513
3515
|
"data-part": "header"
|
|
3514
3516
|
}
|
|
3515
3517
|
);
|
|
3516
3518
|
}
|
|
3517
3519
|
function Th(props) {
|
|
3518
|
-
const styles = (0,
|
|
3520
|
+
const styles = (0, import_recipes32.table)();
|
|
3519
3521
|
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
3520
3522
|
import_factory8.ark.th,
|
|
3521
3523
|
{
|
|
3522
3524
|
...props,
|
|
3523
|
-
className: (0,
|
|
3525
|
+
className: (0, import_css34.cx)(styles.th, props.className),
|
|
3524
3526
|
"data-scope": "table",
|
|
3525
3527
|
"data-part": "header-col"
|
|
3526
3528
|
}
|
|
3527
3529
|
);
|
|
3528
3530
|
}
|
|
3529
3531
|
function Tbody(props) {
|
|
3530
|
-
const styles = (0,
|
|
3532
|
+
const styles = (0, import_recipes32.table)();
|
|
3531
3533
|
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
3532
3534
|
import_factory8.ark.tbody,
|
|
3533
3535
|
{
|
|
3534
3536
|
...props,
|
|
3535
|
-
className: (0,
|
|
3537
|
+
className: (0, import_css34.cx)(styles.tbody, props.className),
|
|
3536
3538
|
"data-scope": "table",
|
|
3537
3539
|
"data-part": "body"
|
|
3538
3540
|
}
|
|
3539
3541
|
);
|
|
3540
3542
|
}
|
|
3541
3543
|
function Tr(props) {
|
|
3542
|
-
const styles = (0,
|
|
3544
|
+
const styles = (0, import_recipes32.table)();
|
|
3543
3545
|
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
3544
3546
|
import_factory8.ark.tr,
|
|
3545
3547
|
{
|
|
3546
3548
|
...props,
|
|
3547
|
-
className: (0,
|
|
3549
|
+
className: (0, import_css34.cx)(styles.tr, props.className),
|
|
3548
3550
|
"data-scope": "table",
|
|
3549
3551
|
"data-part": "row"
|
|
3550
3552
|
}
|
|
3551
3553
|
);
|
|
3552
3554
|
}
|
|
3553
3555
|
function Td(props) {
|
|
3554
|
-
const styles = (0,
|
|
3556
|
+
const styles = (0, import_recipes32.table)();
|
|
3555
3557
|
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
3556
3558
|
import_factory8.ark.td,
|
|
3557
3559
|
{
|
|
3558
3560
|
...props,
|
|
3559
|
-
className: (0,
|
|
3561
|
+
className: (0, import_css34.cx)(styles.td, props.className),
|
|
3560
3562
|
"data-scope": "table",
|
|
3561
3563
|
"data-part": "cell"
|
|
3562
3564
|
}
|
|
3563
3565
|
);
|
|
3564
3566
|
}
|
|
3565
3567
|
function Tfoot(props) {
|
|
3566
|
-
const styles = (0,
|
|
3568
|
+
const styles = (0, import_recipes32.table)();
|
|
3567
3569
|
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
3568
3570
|
import_factory8.ark.tfoot,
|
|
3569
3571
|
{
|
|
3570
3572
|
...props,
|
|
3571
|
-
className: (0,
|
|
3573
|
+
className: (0, import_css34.cx)(styles.tfoot, props.className),
|
|
3572
3574
|
"data-scope": "table",
|
|
3573
3575
|
"data-part": "footer"
|
|
3574
3576
|
}
|
|
3575
3577
|
);
|
|
3576
3578
|
}
|
|
3577
3579
|
function TableTrigger(props) {
|
|
3578
|
-
const styles = (0,
|
|
3580
|
+
const styles = (0, import_recipes32.table)();
|
|
3579
3581
|
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
3580
3582
|
import_factory8.ark.button,
|
|
3581
3583
|
{
|
|
3582
3584
|
...props,
|
|
3583
|
-
className: (0,
|
|
3585
|
+
className: (0, import_css34.cx)(styles.trigger, props.className),
|
|
3584
3586
|
"data-scope": "table",
|
|
3585
3587
|
"data-part": "trigger"
|
|
3586
3588
|
}
|
|
@@ -3624,39 +3626,39 @@ var Table = {
|
|
|
3624
3626
|
|
|
3625
3627
|
// src/components/tabs/primitives.tsx
|
|
3626
3628
|
var import_tabs = require("@ark-ui/react/tabs");
|
|
3627
|
-
var
|
|
3628
|
-
var
|
|
3629
|
+
var import_css35 = require("styled-system/css");
|
|
3630
|
+
var import_recipes33 = require("styled-system/recipes");
|
|
3629
3631
|
var import_jsx_runtime78 = require("react/jsx-runtime");
|
|
3630
3632
|
function TabsRoot(props) {
|
|
3631
3633
|
const { palette, ...rootProps } = props;
|
|
3632
|
-
const styles = (0,
|
|
3634
|
+
const styles = (0, import_recipes33.tabs)({ palette });
|
|
3633
3635
|
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3634
3636
|
import_tabs.Tabs.Root,
|
|
3635
3637
|
{
|
|
3636
3638
|
...rootProps,
|
|
3637
|
-
className: (0,
|
|
3639
|
+
className: (0, import_css35.cx)(styles.root, rootProps.className)
|
|
3638
3640
|
}
|
|
3639
3641
|
);
|
|
3640
3642
|
}
|
|
3641
3643
|
function TabsList(props) {
|
|
3642
|
-
const styles = (0,
|
|
3643
|
-
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_tabs.Tabs.List, { ...props, className: (0,
|
|
3644
|
+
const styles = (0, import_recipes33.tabs)();
|
|
3645
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_tabs.Tabs.List, { ...props, className: (0, import_css35.cx)(styles.list, props.className) });
|
|
3644
3646
|
}
|
|
3645
3647
|
function TabsTrigger(props) {
|
|
3646
|
-
const styles = (0,
|
|
3647
|
-
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_tabs.Tabs.Trigger, { ...props, className: (0,
|
|
3648
|
+
const styles = (0, import_recipes33.tabs)();
|
|
3649
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_tabs.Tabs.Trigger, { ...props, className: (0, import_css35.cx)(styles.trigger, props.className) });
|
|
3648
3650
|
}
|
|
3649
3651
|
function TabsContent(props) {
|
|
3650
|
-
const styles = (0,
|
|
3651
|
-
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_tabs.Tabs.Content, { ...props, className: (0,
|
|
3652
|
+
const styles = (0, import_recipes33.tabs)();
|
|
3653
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_tabs.Tabs.Content, { ...props, className: (0, import_css35.cx)(styles.content, props.className) });
|
|
3652
3654
|
}
|
|
3653
3655
|
function TabsIndicator(props) {
|
|
3654
|
-
const styles = (0,
|
|
3656
|
+
const styles = (0, import_recipes33.tabs)();
|
|
3655
3657
|
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3656
3658
|
import_tabs.Tabs.Indicator,
|
|
3657
3659
|
{
|
|
3658
3660
|
...props,
|
|
3659
|
-
className: (0,
|
|
3661
|
+
className: (0, import_css35.cx)(styles.indicator, props.className)
|
|
3660
3662
|
}
|
|
3661
3663
|
);
|
|
3662
3664
|
}
|
|
@@ -3688,8 +3690,8 @@ var Tabs2 = {
|
|
|
3688
3690
|
|
|
3689
3691
|
// src/components/Tag.tsx
|
|
3690
3692
|
var import_factory9 = require("@ark-ui/react/factory");
|
|
3691
|
-
var
|
|
3692
|
-
var
|
|
3693
|
+
var import_css36 = require("styled-system/css");
|
|
3694
|
+
var import_recipes34 = require("styled-system/recipes");
|
|
3693
3695
|
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
3694
3696
|
function Tag(props) {
|
|
3695
3697
|
const { shape: initShape, gradient, onClick, usage, ...nativeProps } = props;
|
|
@@ -3703,9 +3705,9 @@ function Tag(props) {
|
|
|
3703
3705
|
import_factory9.ark.span,
|
|
3704
3706
|
{
|
|
3705
3707
|
...nativeProps,
|
|
3706
|
-
className: (0,
|
|
3708
|
+
className: (0, import_css36.cx)(
|
|
3707
3709
|
nativeProps.className,
|
|
3708
|
-
(0,
|
|
3710
|
+
(0, import_recipes34.tag)({
|
|
3709
3711
|
gradient,
|
|
3710
3712
|
palette,
|
|
3711
3713
|
shape,
|
|
@@ -3730,7 +3732,7 @@ function Tag(props) {
|
|
|
3730
3732
|
}
|
|
3731
3733
|
);
|
|
3732
3734
|
}
|
|
3733
|
-
var closableCss = (0,
|
|
3735
|
+
var closableCss = (0, import_css36.css)({
|
|
3734
3736
|
bgColor: "action.bg.active",
|
|
3735
3737
|
color: "action.text.initial",
|
|
3736
3738
|
paddingInlineEnd: "0"
|
|
@@ -3754,12 +3756,12 @@ var ToggleParts = {
|
|
|
3754
3756
|
|
|
3755
3757
|
// src/components/Tooltip.tsx
|
|
3756
3758
|
var import_tooltip = require("@ark-ui/react/tooltip");
|
|
3757
|
-
var
|
|
3758
|
-
var
|
|
3759
|
+
var import_css37 = require("styled-system/css");
|
|
3760
|
+
var import_recipes35 = require("styled-system/recipes");
|
|
3759
3761
|
var import_jsx_runtime82 = require("react/jsx-runtime");
|
|
3760
3762
|
function Tooltip(props) {
|
|
3761
3763
|
const { content, children, asChild, ...nativeProps } = props;
|
|
3762
|
-
const styles = (0,
|
|
3764
|
+
const styles = (0, import_recipes35.tooltip)();
|
|
3763
3765
|
const position = {
|
|
3764
3766
|
placement: props.position || "top"
|
|
3765
3767
|
};
|
|
@@ -3769,7 +3771,7 @@ function Tooltip(props) {
|
|
|
3769
3771
|
import_tooltip.Tooltip.Content,
|
|
3770
3772
|
{
|
|
3771
3773
|
...nativeProps,
|
|
3772
|
-
className: (0,
|
|
3774
|
+
className: (0, import_css37.cx)(nativeProps.className, styles.content),
|
|
3773
3775
|
children: [
|
|
3774
3776
|
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_tooltip.Tooltip.Arrow, { className: styles.arrow, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_tooltip.Tooltip.ArrowTip, { className: styles.arrowTip }) }),
|
|
3775
3777
|
content
|
|
@@ -3781,7 +3783,7 @@ function Tooltip(props) {
|
|
|
3781
3783
|
|
|
3782
3784
|
// src/context/confirm-modal.tsx
|
|
3783
3785
|
var import_react20 = require("react");
|
|
3784
|
-
var
|
|
3786
|
+
var import_css38 = require("styled-system/css");
|
|
3785
3787
|
var import_jsx7 = require("styled-system/jsx");
|
|
3786
3788
|
var import_jsx_runtime83 = require("react/jsx-runtime");
|
|
3787
3789
|
var ConfirmModalContext = (0, import_react20.createContext)(null);
|
|
@@ -3865,7 +3867,7 @@ function ConfirmModal(props) {
|
|
|
3865
3867
|
Button,
|
|
3866
3868
|
{
|
|
3867
3869
|
autoFocus: true,
|
|
3868
|
-
className: (0,
|
|
3870
|
+
className: (0, import_css38.css)({
|
|
3869
3871
|
w: "1/2"
|
|
3870
3872
|
}),
|
|
3871
3873
|
name: "confirm",
|
|
@@ -3878,7 +3880,7 @@ function ConfirmModal(props) {
|
|
|
3878
3880
|
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(DialogCloseTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
3879
3881
|
Button,
|
|
3880
3882
|
{
|
|
3881
|
-
className: (0,
|
|
3883
|
+
className: (0, import_css38.css)({
|
|
3882
3884
|
w: "1/2"
|
|
3883
3885
|
}),
|
|
3884
3886
|
name: "cancel",
|
|
@@ -3906,8 +3908,8 @@ function useConfirmModal() {
|
|
|
3906
3908
|
var import_react21 = require("react");
|
|
3907
3909
|
var import_dialog4 = require("@ark-ui/react/dialog");
|
|
3908
3910
|
var import_jsx8 = require("styled-system/jsx");
|
|
3909
|
-
var
|
|
3910
|
-
var
|
|
3911
|
+
var import_css39 = require("styled-system/css");
|
|
3912
|
+
var import_patterns5 = require("styled-system/patterns");
|
|
3911
3913
|
var import_jsx_runtime84 = require("react/jsx-runtime");
|
|
3912
3914
|
var PromptModalContext = (0, import_react21.createContext)(null);
|
|
3913
3915
|
function PromptModal(props) {
|
|
@@ -4012,7 +4014,7 @@ function PromptModal(props) {
|
|
|
4012
4014
|
/* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
|
|
4013
4015
|
FieldLabel,
|
|
4014
4016
|
{
|
|
4015
|
-
className: (0,
|
|
4017
|
+
className: (0, import_patterns5.hstack)({
|
|
4016
4018
|
gap: "xs",
|
|
4017
4019
|
justify: "flex-start !important",
|
|
4018
4020
|
marginBlockEnd: "xs",
|
|
@@ -4036,7 +4038,7 @@ function PromptModal(props) {
|
|
|
4036
4038
|
Button,
|
|
4037
4039
|
{
|
|
4038
4040
|
autoFocus: true,
|
|
4039
|
-
className: (0,
|
|
4041
|
+
className: (0, import_css39.css)({
|
|
4040
4042
|
w: "1/2"
|
|
4041
4043
|
}),
|
|
4042
4044
|
disabled: !isValid,
|
|
@@ -4050,7 +4052,7 @@ function PromptModal(props) {
|
|
|
4050
4052
|
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_dialog4.DialogCloseTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
4051
4053
|
Button,
|
|
4052
4054
|
{
|
|
4053
|
-
className: (0,
|
|
4055
|
+
className: (0, import_css39.css)({
|
|
4054
4056
|
w: "1/2"
|
|
4055
4057
|
}),
|
|
4056
4058
|
name: "cancel",
|