@overmap-ai/blocks 1.0.31-tailwind-components.14 → 1.0.31-tailwind-components.15
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/blocks.umd.cjs
CHANGED
|
@@ -202,7 +202,8 @@
|
|
|
202
202
|
variant = "solid",
|
|
203
203
|
size: size2 = "md",
|
|
204
204
|
radius = providerContext.radius,
|
|
205
|
-
accentColor = providerContext.accentColor
|
|
205
|
+
accentColor = providerContext.accentColor,
|
|
206
|
+
...rest
|
|
206
207
|
} = props;
|
|
207
208
|
const value = React.useMemo(
|
|
208
209
|
() => ({
|
|
@@ -213,7 +214,7 @@
|
|
|
213
214
|
}),
|
|
214
215
|
[accentColor, radius, size2, variant]
|
|
215
216
|
);
|
|
216
|
-
return /* @__PURE__ */ jsxRuntime.jsx(ButtonGroupContext.Provider, { value, children });
|
|
217
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { ...rest, children: /* @__PURE__ */ jsxRuntime.jsx(ButtonGroupContext.Provider, { value, children }) });
|
|
217
218
|
};
|
|
218
219
|
ButtonGroup.displayName = "Buttons";
|
|
219
220
|
const useButtonGroup = () => React.useContext(ButtonGroupContext);
|