@aortl/admin-react 0.18.2 → 0.18.3

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
@@ -2351,13 +2351,14 @@ var Navbar = Object.assign(NavbarRoot, {
2351
2351
  });
2352
2352
  //#endregion
2353
2353
  //#region src/Tabs.tsx
2354
- function TabsRoot({ variant = "bordered", size = "md", fullWidth = false, className, ...rest }) {
2354
+ function TabsRoot({ variant = "bordered", size = "md", fullWidth = false, wrap = false, className, ...rest }) {
2355
2355
  return /* @__PURE__ */ jsx(Tabs$1.Root, {
2356
2356
  className: cn([
2357
2357
  "tabs",
2358
2358
  variant !== "bordered" && `tabs-${variant}`,
2359
2359
  size !== "md" && `tabs-${size}`,
2360
- fullWidth && "tabs-full-width"
2360
+ fullWidth && "tabs-full-width",
2361
+ wrap && "tabs-wrap"
2361
2362
  ], className),
2362
2363
  ...rest
2363
2364
  });
@@ -2368,10 +2369,11 @@ function TabsList({ className, ...rest }) {
2368
2369
  ...rest
2369
2370
  });
2370
2371
  }
2371
- function TabsTab({ className, ...rest }) {
2372
- return /* @__PURE__ */ jsx(Tabs$1.Tab, {
2372
+ function TabsTab({ icon, className, children, ...rest }) {
2373
+ return /* @__PURE__ */ jsxs(Tabs$1.Tab, {
2373
2374
  className: cn("tab", className),
2374
- ...rest
2375
+ ...rest,
2376
+ children: [renderIcon(icon), children]
2375
2377
  });
2376
2378
  }
2377
2379
  function TabsPanel({ className, ...rest }) {