@7onic-ui/react 0.2.4 → 0.2.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.mjs CHANGED
@@ -4660,9 +4660,8 @@ var PaginationRoot = React26.forwardRef(
4660
4660
  color = "default",
4661
4661
  radius = "md",
4662
4662
  disabled = false,
4663
- // Pre-declared API; conditional auto-rendering is tracked in COMPONENT-IMPROVEMENTS.md.
4664
- withControls: _withControls = true,
4665
- withEdges: _withEdges = false,
4663
+ withControls = true,
4664
+ withEdges = false,
4666
4665
  loop = false,
4667
4666
  children,
4668
4667
  ...props
@@ -4700,7 +4699,7 @@ var PaginationRoot = React26.forwardRef(
4700
4699
  className: cn("", className),
4701
4700
  ...props
4702
4701
  },
4703
- children
4702
+ children ?? /* @__PURE__ */ React26.createElement(PaginationContent, null, withEdges && /* @__PURE__ */ React26.createElement(PaginationItem, null, /* @__PURE__ */ React26.createElement(PaginationFirst, null)), withControls && /* @__PURE__ */ React26.createElement(PaginationItem, null, /* @__PURE__ */ React26.createElement(PaginationPrevious, null)), /* @__PURE__ */ React26.createElement(PaginationItems, null), withControls && /* @__PURE__ */ React26.createElement(PaginationItem, null, /* @__PURE__ */ React26.createElement(PaginationNext, null)), withEdges && /* @__PURE__ */ React26.createElement(PaginationItem, null, /* @__PURE__ */ React26.createElement(PaginationLast, null)))
4704
4703
  ));
4705
4704
  }
4706
4705
  );