adminium 1.0.4 → 1.0.6
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 +25 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +24 -2
- package/dist/index.js.map +1 -1
- package/dist/styles/adminium.css +16 -20
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4266,7 +4266,7 @@ function AccordionMenuSeparator({
|
|
|
4266
4266
|
);
|
|
4267
4267
|
}
|
|
4268
4268
|
var itemVariants = classVarianceAuthority.cva(
|
|
4269
|
-
"relative cursor-pointer select-none flex w-full text-start items-center text-foreground rounded-lg gap-2 px-2 py-1.5 text-sm outline-hidden transition-colors hover:bg-accent hover:text-accent-foreground data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground disabled:opacity-50 disabled:bg-transparent focus-visible:bg-accent focus-visible:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:opacity-60 [&_svg:not([class*=size-])]:size-4 [&_svg]:shrink-0
|
|
4269
|
+
"relative cursor-pointer select-none flex w-full text-start items-center text-foreground rounded-lg gap-2 px-2 py-1.5 text-sm outline-hidden transition-colors hover:bg-accent hover:text-accent-foreground data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground disabled:opacity-50 disabled:bg-transparent focus-visible:bg-accent focus-visible:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:opacity-60 [&_svg:not([class*=size-])]:size-4 [&_svg]:shrink-0",
|
|
4270
4270
|
{
|
|
4271
4271
|
variants: {
|
|
4272
4272
|
variant: {
|
|
@@ -6544,6 +6544,28 @@ function Scrollspy({
|
|
|
6544
6544
|
function AspectRatio(props) {
|
|
6545
6545
|
return /* @__PURE__ */ jsxRuntime.jsx(radixUi.AspectRatio.Root, { "data-slot": "aspect-ratio", ...props });
|
|
6546
6546
|
}
|
|
6547
|
+
var containerVariants = classVarianceAuthority.cva("w-full mx-auto px-4 lg:px-8 2xl:px-30", {
|
|
6548
|
+
variants: {
|
|
6549
|
+
width: {
|
|
6550
|
+
fixed: "max-w-480",
|
|
6551
|
+
fluid: ""
|
|
6552
|
+
}
|
|
6553
|
+
},
|
|
6554
|
+
defaultVariants: {
|
|
6555
|
+
width: "fixed"
|
|
6556
|
+
}
|
|
6557
|
+
});
|
|
6558
|
+
function Container({ children, width, className, ...props }) {
|
|
6559
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6560
|
+
"div",
|
|
6561
|
+
{
|
|
6562
|
+
"data-slot": "container",
|
|
6563
|
+
className: cn(containerVariants({ width }), className),
|
|
6564
|
+
...props,
|
|
6565
|
+
children
|
|
6566
|
+
}
|
|
6567
|
+
);
|
|
6568
|
+
}
|
|
6547
6569
|
var headings = {
|
|
6548
6570
|
h1: "h1",
|
|
6549
6571
|
h2: "h2",
|
|
@@ -7280,6 +7302,7 @@ exports.CommandItem = CommandItem;
|
|
|
7280
7302
|
exports.CommandList = CommandList;
|
|
7281
7303
|
exports.CommandSeparator = CommandSeparator;
|
|
7282
7304
|
exports.CommandShortcut = CommandShortcut;
|
|
7305
|
+
exports.Container = Container;
|
|
7283
7306
|
exports.ContextMenu = ContextMenu;
|
|
7284
7307
|
exports.ContextMenuCheckboxItem = ContextMenuCheckboxItem;
|
|
7285
7308
|
exports.ContextMenuContent = ContextMenuContent;
|
|
@@ -7460,6 +7483,7 @@ exports.buttonVariantConfig = buttonVariantConfig;
|
|
|
7460
7483
|
exports.buttonVariants = buttonVariants;
|
|
7461
7484
|
exports.cn = cn;
|
|
7462
7485
|
exports.codeVariants = codeVariants;
|
|
7486
|
+
exports.containerVariants = containerVariants;
|
|
7463
7487
|
exports.dateInputStyles = dateInputStyles;
|
|
7464
7488
|
exports.headings = headings;
|
|
7465
7489
|
exports.inputAddonVariants = inputAddonVariants;
|