@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.js CHANGED
@@ -686,6 +686,7 @@ function Notice({
686
686
  title,
687
687
  children,
688
688
  action,
689
+ icon,
689
690
  role,
690
691
  className
691
692
  }) {
@@ -702,7 +703,17 @@ function Notice({
702
703
  ),
703
704
  children: [
704
705
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 gap-3", children: [
705
- kind !== "neutral" ? /* @__PURE__ */ jsxRuntime.jsx(
706
+ icon ? /* @__PURE__ */ jsxRuntime.jsx(
707
+ "span",
708
+ {
709
+ "aria-hidden": true,
710
+ className: cn(
711
+ "mt-0.5 shrink-0 [&_svg]:size-[1.125rem]",
712
+ kind === "brand" ? "text-oca-accent-ink" : kind === "danger" ? "text-destructive" : "text-muted-foreground"
713
+ ),
714
+ children: icon
715
+ }
716
+ ) : kind !== "neutral" ? /* @__PURE__ */ jsxRuntime.jsx(
706
717
  "span",
707
718
  {
708
719
  "aria-hidden": true,