defuss-shadcn 0.6.4 → 0.6.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 CHANGED
@@ -6254,6 +6254,27 @@ const ToggleButton = ({
6254
6254
  };
6255
6255
  const Toggle = ToggleButton;
6256
6256
 
6257
+ const ButtonGroup = ({
6258
+ orientation = "horizontal",
6259
+ className,
6260
+ children,
6261
+ ref = defuss.createRef(),
6262
+ ...props
6263
+ }) => {
6264
+ const groupRef = ref || defuss.createRef();
6265
+ return /* @__PURE__ */ jsxRuntime.jsx(
6266
+ "div",
6267
+ {
6268
+ ref: groupRef,
6269
+ role: "group",
6270
+ class: cn("button-group", className),
6271
+ "data-orientation": orientation,
6272
+ ...props,
6273
+ children
6274
+ }
6275
+ );
6276
+ };
6277
+
6257
6278
  const Tooltip = ({
6258
6279
  className,
6259
6280
  tooltip,
@@ -6309,6 +6330,7 @@ exports.BreadcrumbList = BreadcrumbList;
6309
6330
  exports.BreadcrumbPage = BreadcrumbPage;
6310
6331
  exports.BreadcrumbSeparator = BreadcrumbSeparator;
6311
6332
  exports.Button = Button;
6333
+ exports.ButtonGroup = ButtonGroup;
6312
6334
  exports.Card = Card;
6313
6335
  exports.CardContent = CardContent;
6314
6336
  exports.CardDescription = CardDescription;