auxalia-ui-kit 1.7.2 → 1.7.3
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.cjs +16 -8
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +16 -8
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -727,7 +727,15 @@ var dropdownMenuItemVariants = (0, import_class_variance_authority8.cva)(
|
|
|
727
727
|
// src/components/DropdownMenu/index.tsx
|
|
728
728
|
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
729
729
|
var DropdownMenu = DropdownMenuPrimitive.Root;
|
|
730
|
-
var DropdownMenuTrigger =
|
|
730
|
+
var DropdownMenuTrigger = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
731
|
+
DropdownMenuPrimitive.Trigger,
|
|
732
|
+
{
|
|
733
|
+
ref,
|
|
734
|
+
className: cn("focus:outline-none focus:ring-0", className),
|
|
735
|
+
...props
|
|
736
|
+
}
|
|
737
|
+
));
|
|
738
|
+
DropdownMenuTrigger.displayName = DropdownMenuPrimitive.Trigger.displayName;
|
|
731
739
|
var DropdownMenuGroup = DropdownMenuPrimitive.Group;
|
|
732
740
|
var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
|
|
733
741
|
var DropdownMenuSub = DropdownMenuPrimitive.Sub;
|
|
@@ -6448,16 +6456,16 @@ var import_lucide_react5 = require("lucide-react");
|
|
|
6448
6456
|
// src/components/Select/select.styles.ts
|
|
6449
6457
|
var import_class_variance_authority12 = require("class-variance-authority");
|
|
6450
6458
|
var selectTriggerVariants = (0, import_class_variance_authority12.cva)(
|
|
6451
|
-
"flex w-full items-center justify-between gap-2 rounded-md border transition-colors bg-card text-content focus:outline-none focus:ring-
|
|
6459
|
+
"flex w-full items-center justify-between gap-2 rounded-md border transition-colors bg-card text-content focus:outline-none focus:ring-0 disabled:cursor-not-allowed disabled:opacity-50 data-[placeholder]:text-muted [&>span]:truncate",
|
|
6452
6460
|
{
|
|
6453
6461
|
variants: {
|
|
6454
6462
|
variant: {
|
|
6455
|
-
default: "border-border hover:border-border-input
|
|
6456
|
-
primary: "border-primary/30 hover:border-primary/50
|
|
6457
|
-
secondary: "border-secondary/30 hover:border-secondary/50
|
|
6458
|
-
accent: "border-accent/30 hover:border-accent/50
|
|
6459
|
-
destructive: "border-destructive/40 hover:border-destructive/60
|
|
6460
|
-
error: "border-destructive hover:border-destructive
|
|
6463
|
+
default: "border-border hover:border-border-input",
|
|
6464
|
+
primary: "border-primary/30 hover:border-primary/50",
|
|
6465
|
+
secondary: "border-secondary/30 hover:border-secondary/50",
|
|
6466
|
+
accent: "border-accent/30 hover:border-accent/50",
|
|
6467
|
+
destructive: "border-destructive/40 hover:border-destructive/60",
|
|
6468
|
+
error: "border-destructive hover:border-destructive"
|
|
6461
6469
|
},
|
|
6462
6470
|
size: {
|
|
6463
6471
|
sm: "h-8 px-3 text-sm",
|
package/dist/index.d.cts
CHANGED
|
@@ -98,7 +98,7 @@ declare const dropdownMenuItemVariants: (props?: {
|
|
|
98
98
|
type DropdownMenuItemVariantProps = VariantProps<typeof dropdownMenuItemVariants>;
|
|
99
99
|
|
|
100
100
|
declare const DropdownMenu: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
101
|
-
declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
101
|
+
declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
102
102
|
declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
103
103
|
declare const DropdownMenuPortal: React.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
104
104
|
declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
package/dist/index.d.ts
CHANGED
|
@@ -98,7 +98,7 @@ declare const dropdownMenuItemVariants: (props?: {
|
|
|
98
98
|
type DropdownMenuItemVariantProps = VariantProps<typeof dropdownMenuItemVariants>;
|
|
99
99
|
|
|
100
100
|
declare const DropdownMenu: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
101
|
-
declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
101
|
+
declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
102
102
|
declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
103
103
|
declare const DropdownMenuPortal: React.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
104
104
|
declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
package/dist/index.js
CHANGED
|
@@ -602,7 +602,15 @@ var dropdownMenuItemVariants = cva8(
|
|
|
602
602
|
// src/components/DropdownMenu/index.tsx
|
|
603
603
|
import { jsx as jsx11, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
604
604
|
var DropdownMenu = DropdownMenuPrimitive.Root;
|
|
605
|
-
var DropdownMenuTrigger =
|
|
605
|
+
var DropdownMenuTrigger = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx11(
|
|
606
|
+
DropdownMenuPrimitive.Trigger,
|
|
607
|
+
{
|
|
608
|
+
ref,
|
|
609
|
+
className: cn("focus:outline-none focus:ring-0", className),
|
|
610
|
+
...props
|
|
611
|
+
}
|
|
612
|
+
));
|
|
613
|
+
DropdownMenuTrigger.displayName = DropdownMenuPrimitive.Trigger.displayName;
|
|
606
614
|
var DropdownMenuGroup = DropdownMenuPrimitive.Group;
|
|
607
615
|
var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
|
|
608
616
|
var DropdownMenuSub = DropdownMenuPrimitive.Sub;
|
|
@@ -6327,16 +6335,16 @@ import { Check as Check3, ChevronDown, ChevronUp } from "lucide-react";
|
|
|
6327
6335
|
// src/components/Select/select.styles.ts
|
|
6328
6336
|
import { cva as cva12 } from "class-variance-authority";
|
|
6329
6337
|
var selectTriggerVariants = cva12(
|
|
6330
|
-
"flex w-full items-center justify-between gap-2 rounded-md border transition-colors bg-card text-content focus:outline-none focus:ring-
|
|
6338
|
+
"flex w-full items-center justify-between gap-2 rounded-md border transition-colors bg-card text-content focus:outline-none focus:ring-0 disabled:cursor-not-allowed disabled:opacity-50 data-[placeholder]:text-muted [&>span]:truncate",
|
|
6331
6339
|
{
|
|
6332
6340
|
variants: {
|
|
6333
6341
|
variant: {
|
|
6334
|
-
default: "border-border hover:border-border-input
|
|
6335
|
-
primary: "border-primary/30 hover:border-primary/50
|
|
6336
|
-
secondary: "border-secondary/30 hover:border-secondary/50
|
|
6337
|
-
accent: "border-accent/30 hover:border-accent/50
|
|
6338
|
-
destructive: "border-destructive/40 hover:border-destructive/60
|
|
6339
|
-
error: "border-destructive hover:border-destructive
|
|
6342
|
+
default: "border-border hover:border-border-input",
|
|
6343
|
+
primary: "border-primary/30 hover:border-primary/50",
|
|
6344
|
+
secondary: "border-secondary/30 hover:border-secondary/50",
|
|
6345
|
+
accent: "border-accent/30 hover:border-accent/50",
|
|
6346
|
+
destructive: "border-destructive/40 hover:border-destructive/60",
|
|
6347
|
+
error: "border-destructive hover:border-destructive"
|
|
6340
6348
|
},
|
|
6341
6349
|
size: {
|
|
6342
6350
|
sm: "h-8 px-3 text-sm",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "auxalia-ui-kit",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.3",
|
|
4
4
|
"description": "Auxalia UI Kit is a React component library built on top of Radix UI and Tailwind CSS, designed to provide a comprehensive set of accessible and customizable UI components for building modern web applications.",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": {
|