@mlw-packages/react-components 1.8.13 → 1.8.14
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 +7 -7
- package/dist/index.mjs +7 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -670,7 +670,7 @@ var DialogOverlayBase = React33__namespace.forwardRef(({ className, testid: data
|
|
|
670
670
|
{
|
|
671
671
|
ref,
|
|
672
672
|
className: cn(
|
|
673
|
-
"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
673
|
+
"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 border-border",
|
|
674
674
|
className
|
|
675
675
|
),
|
|
676
676
|
"data-testid": dataTestId,
|
|
@@ -1902,7 +1902,7 @@ var CommandBase = React33__namespace.forwardRef(({ className, testid: dataTestId
|
|
|
1902
1902
|
{
|
|
1903
1903
|
ref,
|
|
1904
1904
|
className: cn(
|
|
1905
|
-
"flex h-full w-full flex-col overflow-hidden rounded-md bg-background text-popover-foreground",
|
|
1905
|
+
"flex h-full w-full flex-col overflow-hidden rounded-md bg-background text-popover-foreground border-border",
|
|
1906
1906
|
className
|
|
1907
1907
|
),
|
|
1908
1908
|
"data-testid": dataTestId,
|
|
@@ -1924,13 +1924,13 @@ var CommandDialogBase = ({ children, open, ...props }) => {
|
|
|
1924
1924
|
exit: "exit",
|
|
1925
1925
|
variants: dialogVariants,
|
|
1926
1926
|
transition: { duration: 0.2, ease: "easeOut" },
|
|
1927
|
-
className: "overflow-hidden p-0",
|
|
1927
|
+
className: "overflow-hidden p-0 ",
|
|
1928
1928
|
children: /* @__PURE__ */ jsxRuntime.jsx(CommandBase, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children })
|
|
1929
1929
|
},
|
|
1930
1930
|
"command-dialog"
|
|
1931
1931
|
) }) }) });
|
|
1932
1932
|
};
|
|
1933
|
-
var CommandInputBase = React33__namespace.forwardRef(({ className, testid: dataTestId = "command-input", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
|
|
1933
|
+
var CommandInputBase = React33__namespace.forwardRef(({ className, testid: dataTestId = "command-input", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center border-b px-3 border-border", "cmdk-input-wrapper": "", children: [
|
|
1934
1934
|
/* @__PURE__ */ jsxRuntime.jsx(react.MagnifyingGlassIcon, { className: "mr-2 h-4 w-4 shrink-0 text-primary" }),
|
|
1935
1935
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1936
1936
|
cmdk.Command.Input,
|
|
@@ -2628,7 +2628,7 @@ function MultiSelectContentBase({
|
|
|
2628
2628
|
PopoverContentBase,
|
|
2629
2629
|
{
|
|
2630
2630
|
forceMount: true,
|
|
2631
|
-
className: "w-[--radix-popover-trigger-width] relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md p-0",
|
|
2631
|
+
className: "w-[--radix-popover-trigger-width] relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md p-0 border-border",
|
|
2632
2632
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2633
2633
|
framerMotion.motion.div,
|
|
2634
2634
|
{
|
|
@@ -2654,7 +2654,7 @@ function MultiSelectContentBase({
|
|
|
2654
2654
|
placeholder: typeof search === "object" ? search.placeholder : void 0
|
|
2655
2655
|
}
|
|
2656
2656
|
) : /* @__PURE__ */ jsxRuntime.jsx("button", { autoFocus: true, className: "sr-only" }),
|
|
2657
|
-
/* @__PURE__ */ jsxRuntime.jsxs(CommandListBase, { children: [
|
|
2657
|
+
/* @__PURE__ */ jsxRuntime.jsxs(CommandListBase, { className: "border-border", children: [
|
|
2658
2658
|
canSearch && /* @__PURE__ */ jsxRuntime.jsx(CommandEmptyBase, { children: typeof search === "object" ? search.emptyMessage ?? emptyMessage : emptyMessage }),
|
|
2659
2659
|
children
|
|
2660
2660
|
] })
|
|
@@ -13822,7 +13822,7 @@ function MultiSelect({
|
|
|
13822
13822
|
MultiSelectTriggerBase,
|
|
13823
13823
|
{
|
|
13824
13824
|
className: cn(
|
|
13825
|
-
"flex items-center gap-2 justify-between",
|
|
13825
|
+
"flex items-center gap-2 justify-between hover:bg-muted transition-all duration-150",
|
|
13826
13826
|
error && "border-red-500",
|
|
13827
13827
|
className
|
|
13828
13828
|
),
|
package/dist/index.mjs
CHANGED
|
@@ -627,7 +627,7 @@ var DialogOverlayBase = React33.forwardRef(({ className, testid: dataTestId = "d
|
|
|
627
627
|
{
|
|
628
628
|
ref,
|
|
629
629
|
className: cn(
|
|
630
|
-
"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
630
|
+
"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 border-border",
|
|
631
631
|
className
|
|
632
632
|
),
|
|
633
633
|
"data-testid": dataTestId,
|
|
@@ -1859,7 +1859,7 @@ var CommandBase = React33.forwardRef(({ className, testid: dataTestId = "command
|
|
|
1859
1859
|
{
|
|
1860
1860
|
ref,
|
|
1861
1861
|
className: cn(
|
|
1862
|
-
"flex h-full w-full flex-col overflow-hidden rounded-md bg-background text-popover-foreground",
|
|
1862
|
+
"flex h-full w-full flex-col overflow-hidden rounded-md bg-background text-popover-foreground border-border",
|
|
1863
1863
|
className
|
|
1864
1864
|
),
|
|
1865
1865
|
"data-testid": dataTestId,
|
|
@@ -1881,13 +1881,13 @@ var CommandDialogBase = ({ children, open, ...props }) => {
|
|
|
1881
1881
|
exit: "exit",
|
|
1882
1882
|
variants: dialogVariants,
|
|
1883
1883
|
transition: { duration: 0.2, ease: "easeOut" },
|
|
1884
|
-
className: "overflow-hidden p-0",
|
|
1884
|
+
className: "overflow-hidden p-0 ",
|
|
1885
1885
|
children: /* @__PURE__ */ jsx(CommandBase, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children })
|
|
1886
1886
|
},
|
|
1887
1887
|
"command-dialog"
|
|
1888
1888
|
) }) }) });
|
|
1889
1889
|
};
|
|
1890
|
-
var CommandInputBase = React33.forwardRef(({ className, testid: dataTestId = "command-input", ...props }, ref) => /* @__PURE__ */ jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
|
|
1890
|
+
var CommandInputBase = React33.forwardRef(({ className, testid: dataTestId = "command-input", ...props }, ref) => /* @__PURE__ */ jsxs("div", { className: "flex items-center border-b px-3 border-border", "cmdk-input-wrapper": "", children: [
|
|
1891
1891
|
/* @__PURE__ */ jsx(MagnifyingGlassIcon, { className: "mr-2 h-4 w-4 shrink-0 text-primary" }),
|
|
1892
1892
|
/* @__PURE__ */ jsx(
|
|
1893
1893
|
Command.Input,
|
|
@@ -2585,7 +2585,7 @@ function MultiSelectContentBase({
|
|
|
2585
2585
|
PopoverContentBase,
|
|
2586
2586
|
{
|
|
2587
2587
|
forceMount: true,
|
|
2588
|
-
className: "w-[--radix-popover-trigger-width] relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md p-0",
|
|
2588
|
+
className: "w-[--radix-popover-trigger-width] relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md p-0 border-border",
|
|
2589
2589
|
children: /* @__PURE__ */ jsx(
|
|
2590
2590
|
motion.div,
|
|
2591
2591
|
{
|
|
@@ -2611,7 +2611,7 @@ function MultiSelectContentBase({
|
|
|
2611
2611
|
placeholder: typeof search === "object" ? search.placeholder : void 0
|
|
2612
2612
|
}
|
|
2613
2613
|
) : /* @__PURE__ */ jsx("button", { autoFocus: true, className: "sr-only" }),
|
|
2614
|
-
/* @__PURE__ */ jsxs(CommandListBase, { children: [
|
|
2614
|
+
/* @__PURE__ */ jsxs(CommandListBase, { className: "border-border", children: [
|
|
2615
2615
|
canSearch && /* @__PURE__ */ jsx(CommandEmptyBase, { children: typeof search === "object" ? search.emptyMessage ?? emptyMessage : emptyMessage }),
|
|
2616
2616
|
children
|
|
2617
2617
|
] })
|
|
@@ -13779,7 +13779,7 @@ function MultiSelect({
|
|
|
13779
13779
|
MultiSelectTriggerBase,
|
|
13780
13780
|
{
|
|
13781
13781
|
className: cn(
|
|
13782
|
-
"flex items-center gap-2 justify-between",
|
|
13782
|
+
"flex items-center gap-2 justify-between hover:bg-muted transition-all duration-150",
|
|
13783
13783
|
error && "border-red-500",
|
|
13784
13784
|
className
|
|
13785
13785
|
),
|