@orangecheck/app-design 1.7.0 → 1.8.0

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/mdx.mjs CHANGED
@@ -660,6 +660,7 @@ function Notice({
660
660
  title,
661
661
  children,
662
662
  action,
663
+ icon,
663
664
  role,
664
665
  className
665
666
  }) {
@@ -676,7 +677,17 @@ function Notice({
676
677
  ),
677
678
  children: [
678
679
  /* @__PURE__ */ jsxs("div", { className: "flex min-w-0 gap-3", children: [
679
- kind !== "neutral" ? /* @__PURE__ */ jsx(
680
+ icon ? /* @__PURE__ */ jsx(
681
+ "span",
682
+ {
683
+ "aria-hidden": true,
684
+ className: cn(
685
+ "mt-0.5 shrink-0 [&_svg]:size-[1.125rem]",
686
+ kind === "brand" ? "text-oca-accent-ink" : kind === "danger" ? "text-destructive" : "text-muted-foreground"
687
+ ),
688
+ children: icon
689
+ }
690
+ ) : kind !== "neutral" ? /* @__PURE__ */ jsx(
680
691
  "span",
681
692
  {
682
693
  "aria-hidden": true,