@still-forest/canopy 0.58.1 → 0.58.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.d.ts CHANGED
@@ -54,7 +54,7 @@ declare interface AddonProps extends ComponentProps<"div"> {
54
54
  align?: "inline-start" | "inline-end" | "block-start" | "block-end";
55
55
  }
56
56
 
57
- export declare const Alert: ({ variant, title, description, actions, className }: AlertProps) => JSX.Element;
57
+ export declare const Alert: ({ variant, title, description, actions, className, children }: AlertProps) => JSX.Element;
58
58
 
59
59
  declare interface AlertProps {
60
60
  variant: NotificationVariant;
@@ -62,6 +62,7 @@ declare interface AlertProps {
62
62
  description?: string;
63
63
  actions?: ReactNode;
64
64
  className?: string;
65
+ children?: ReactNode;
65
66
  }
66
67
 
67
68
  export declare const Badge: ({ children, label, variant, outline, size, as, className, tooltip, ...props }: BadgeProps) => JSX.Element;
package/dist/index.js CHANGED
@@ -5608,7 +5608,7 @@ const Ji = ({ children: e, ...t }) => /* @__PURE__ */ p.jsx(ov, { ...t, children
5608
5608
  Ji.Item = sv;
5609
5609
  Ji.Trigger = iv;
5610
5610
  Ji.Content = av;
5611
- const GM = ({ variant: e, title: t, description: n, actions: r, className: o }) => /* @__PURE__ */ p.jsxs(
5611
+ const GM = ({ variant: e, title: t, description: n, actions: r, className: o, children: s }) => /* @__PURE__ */ p.jsxs(
5612
5612
  "div",
5613
5613
  {
5614
5614
  className: I(
@@ -5632,6 +5632,7 @@ const GM = ({ variant: e, title: t, description: n, actions: r, className: o })
5632
5632
  /* @__PURE__ */ p.jsxs("div", { className: "alert-content", children: [
5633
5633
  t && /* @__PURE__ */ p.jsx("h6", { className: "alert-title", children: t }),
5634
5634
  n && /* @__PURE__ */ p.jsx("p", { className: "alert-description", children: n }),
5635
+ s,
5635
5636
  r && /* @__PURE__ */ p.jsx("div", { className: "alert-actions", children: r })
5636
5637
  ] })
5637
5638
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@still-forest/canopy",
3
- "version": "0.58.1",
3
+ "version": "0.58.2",
4
4
  "author": "John Szymanowski",
5
5
  "license": "MIT",
6
6
  "description": "React components, built with Tailwind CSS, Shadcn, and VisX",