@yakavkaz/uikit 0.0.30 → 0.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -1530,66 +1530,75 @@ const y = c(
|
|
|
1530
1530
|
({
|
|
1531
1531
|
children: e,
|
|
1532
1532
|
className: g,
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
]
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1533
|
+
triggerClassName: i,
|
|
1534
|
+
valueClassName: Y,
|
|
1535
|
+
triggerIcon: M,
|
|
1536
|
+
style: x,
|
|
1537
|
+
placeholder: m,
|
|
1538
|
+
label: n,
|
|
1539
|
+
labelColor: h,
|
|
1540
|
+
...w
|
|
1541
|
+
}, J) => /* @__PURE__ */ B("div", { className: I("flex flex-col gap-1", g), children: [
|
|
1542
|
+
n && /* @__PURE__ */ A(
|
|
1543
|
+
l,
|
|
1544
|
+
{
|
|
1545
|
+
style: { color: h },
|
|
1546
|
+
variant: "text_16_regular",
|
|
1547
|
+
className: "capitalize",
|
|
1548
|
+
children: n
|
|
1549
|
+
}
|
|
1550
|
+
),
|
|
1551
|
+
/* @__PURE__ */ B(G.Root, { ...w, children: [
|
|
1552
|
+
/* @__PURE__ */ B(
|
|
1553
|
+
G.Trigger,
|
|
1554
|
+
{
|
|
1555
|
+
ref: J,
|
|
1556
|
+
style: x,
|
|
1557
|
+
"aria-label": n,
|
|
1558
|
+
className: I(
|
|
1559
|
+
"inline-flex items-center justify-between",
|
|
1560
|
+
"border border-gray-200 bg-white px-3 py-2",
|
|
1561
|
+
"text-black transition-colors",
|
|
1562
|
+
"hover:border-gray-300",
|
|
1563
|
+
"focus:ring-2 focus:ring-blue-500 focus:outline-none",
|
|
1564
|
+
"data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50",
|
|
1565
|
+
"data-[placeholder]:text-gray-500",
|
|
1566
|
+
i
|
|
1567
|
+
),
|
|
1568
|
+
children: [
|
|
1569
|
+
/* @__PURE__ */ B("div", { className: I("flex items-center", M && "gap-2"), children: [
|
|
1570
|
+
M && /* @__PURE__ */ A("span", { className: "flex h-6 w-6 flex-shrink-0 items-center justify-center", children: M }),
|
|
1571
|
+
/* @__PURE__ */ A(G.Value, { placeholder: m, className: Y })
|
|
1572
|
+
] }),
|
|
1573
|
+
/* @__PURE__ */ A(G.Icon, { className: "text-gray-600 transition-transform duration-200 data-[state=open]:rotate-180", children: /* @__PURE__ */ A(C, { iconId: "KeyboardArrowDown", className: "h-4 w-4" }) })
|
|
1574
|
+
]
|
|
1575
|
+
}
|
|
1576
|
+
),
|
|
1577
|
+
/* @__PURE__ */ A(G.Portal, { children: /* @__PURE__ */ A(
|
|
1578
|
+
G.Content,
|
|
1579
|
+
{
|
|
1580
|
+
className: "z-50 min-w-[var(--radix-select-trigger-width)] overflow-hidden border border-gray-200 bg-white shadow-lg",
|
|
1581
|
+
position: "popper",
|
|
1582
|
+
sideOffset: 4,
|
|
1583
|
+
collisionPadding: 10,
|
|
1584
|
+
children: /* @__PURE__ */ A(G.Viewport, { className: "max-h-60 overflow-y-auto p-1", children: e })
|
|
1585
|
+
}
|
|
1586
|
+
) })
|
|
1587
|
+
] })
|
|
1588
|
+
] })
|
|
1580
1589
|
);
|
|
1581
1590
|
y.displayName = "Selector";
|
|
1582
1591
|
const K = c(
|
|
1583
|
-
({ children: e, className: g
|
|
1592
|
+
({ children: e, className: g, ...i }, Y) => /* @__PURE__ */ A(
|
|
1584
1593
|
G.Item,
|
|
1585
1594
|
{
|
|
1586
|
-
ref:
|
|
1587
|
-
|
|
1588
|
-
disabled: Y,
|
|
1595
|
+
ref: Y,
|
|
1596
|
+
...i,
|
|
1589
1597
|
className: I(
|
|
1590
|
-
"relative flex cursor-pointer items-center px-3 py-
|
|
1591
|
-
"
|
|
1592
|
-
"data-[
|
|
1598
|
+
"relative flex cursor-pointer items-center rounded px-3 py-2 text-sm select-none",
|
|
1599
|
+
"hover:bg-gray-100 focus:bg-gray-100",
|
|
1600
|
+
"data-[highlighted]:bg-blue-50 data-[highlighted]:text-blue-900",
|
|
1601
|
+
"data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
1593
1602
|
"outline-none",
|
|
1594
1603
|
g
|
|
1595
1604
|
),
|