adminium 1.0.4 → 1.0.5
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 +24 -0
- 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 +23 -1
- package/dist/index.js.map +1 -1
- package/dist/styles/adminium.css +16 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -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;
|