@arc-ui/components 11.24.1 → 11.24.2

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.js CHANGED
@@ -882,9 +882,11 @@ var ArcRootElementContext = React.createContext(null);
882
882
  * Use `Base` as the root component of the arc system.
883
883
  */
884
884
  var Base = function (_a) {
885
- var _b = _a.brand, brand = _b === void 0 ? "bt" : _b, children = _a.children, props = __rest(_a, ["brand", "children"]);
886
- var _c = React__default["default"].useState(null), arcRoot = _c[0], setArcRoot = _c[1];
887
- return (React__default["default"].createElement("div", __assign({ id: "arc-root", ref: setArcRoot, className: "arc".concat(brand ? " arc-".concat(brand) : "") }, filterDataAttrs(props)),
885
+ var _b = _a.brand, brand = _b === void 0 ? "bt" : _b, _c = _a.resetCssStyles, resetCssStyles = _c === void 0 ? true : _c, children = _a.children, props = __rest(_a, ["brand", "resetCssStyles", "children"]);
886
+ var _d = React__default["default"].useState(null), arcRoot = _d[0], setArcRoot = _d[1];
887
+ return (React__default["default"].createElement("div", __assign({ id: "arc-root", ref: setArcRoot, className: classNames("arc".concat(brand ? " arc-".concat(brand) : ""), {
888
+ "arc--reset": resetCssStyles
889
+ }) }, filterDataAttrs(props)),
888
890
  React__default["default"].createElement(ArcRootElementContext.Provider, { value: arcRoot }, children)));
889
891
  };
890
892