@qodo/design-system 0.20.11 → 0.20.12

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
@@ -552,7 +552,7 @@ declare const INSIGHT_VARIANTS: {
552
552
  ACTIVE: string;
553
553
  };
554
554
 
555
- export declare function InsightCard({ title, description, caption, additionalContent, titleClassName: propTitleClassName, descriptionClassName: propDescriptionClassName, variant, className, icon, iconClassName: propIconClassName, size, }: InsightCardProps): JSX_2.Element;
555
+ export declare function InsightCard({ title, description, caption, additionalContent, titleClassName: propTitleClassName, descriptionClassName: propDescriptionClassName, variant, className, icon, iconClassName: propIconClassName, size, rightContent, }: InsightCardProps): JSX_2.Element;
556
556
 
557
557
  export declare type InsightCardProps = {
558
558
  title: ReactNode;
@@ -566,6 +566,7 @@ export declare type InsightCardProps = {
566
566
  icon?: ReactNode;
567
567
  iconClassName?: string;
568
568
  size?: (typeof INSIGHT_SIZES)[keyof typeof INSIGHT_SIZES];
569
+ rightContent?: ReactNode;
569
570
  };
570
571
 
571
572
  export declare type LoadingSkeletonProps = {
package/dist/index.esm.js CHANGED
@@ -8226,7 +8226,7 @@ function FP({
8226
8226
  {
8227
8227
  "data-slot": "dialog-content",
8228
8228
  className: P(
8229
- "qodo qodo-dialog-content bg-[var(--fil-panel-neutral)] data-[state=open]:animate-in",
8229
+ "qodo qodo-dialog-content bg-[var(--fill-panel-neutral)] data-[state=open]:animate-in",
8230
8230
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0",
8231
8231
  "data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95",
8232
8232
  "fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%]",
@@ -17940,22 +17940,23 @@ function Ck({
17940
17940
  className: i,
17941
17941
  icon: c,
17942
17942
  iconClassName: u,
17943
- size: f = Fl.SM
17943
+ size: f = Fl.SM,
17944
+ rightContent: p
17944
17945
  }) {
17945
- const p = P(
17946
+ const m = P(
17946
17947
  "p-4 flex flex-row items-center gap-4",
17947
17948
  "border-[var(--border-panel-neutral)] dark:border-[var(--border-panel-neutral)] rounded-md fill-[var(--fill-panel-neutral)]",
17948
17949
  { "px-6 gap-6": f === Fl.MD },
17949
17950
  i
17950
- ), m = P(
17951
+ ), g = P(
17951
17952
  "p-0 m-0 text-xs",
17952
17953
  "text-[var(--color-text-bg-neutral-mild)] dark:text-[var(--color-text-bg-neutral-mild)] font-normal",
17953
17954
  o
17954
- ), g = P(
17955
+ ), h = P(
17955
17956
  "w-8 h-8 flex items-center justify-center",
17956
- "bg-purple-muted-600 rounded-full p-2.5",
17957
+ "bg-purple-muted-600 rounded-full p-2",
17957
17958
  u
17958
- ), h = P(
17959
+ ), v = P(
17959
17960
  "text-xl font-medium p-0 m-0 leading-5",
17960
17961
  {
17961
17962
  "text-muted-foreground dark:text-white": s === Mn.DEFAULT,
@@ -17964,16 +17965,17 @@ function Ck({
17964
17965
  },
17965
17966
  a
17966
17967
  );
17967
- return /* @__PURE__ */ l.jsxs(Bw, { className: p, children: [
17968
- c && /* @__PURE__ */ l.jsx("div", { className: g, children: c }),
17968
+ return /* @__PURE__ */ l.jsxs(Bw, { className: m, children: [
17969
+ c && /* @__PURE__ */ l.jsx("div", { className: h, children: c }),
17969
17970
  /* @__PURE__ */ l.jsxs("div", { className: "flex flex-col gap-1 w-full", children: [
17970
- /* @__PURE__ */ l.jsx(Ww, { className: "m-0 p-0 gap-0", children: /* @__PURE__ */ l.jsx(Gw, { className: m, children: e }) }),
17971
+ /* @__PURE__ */ l.jsx(Ww, { className: "m-0 p-0 gap-0", children: /* @__PURE__ */ l.jsx(Gw, { className: g, children: e }) }),
17971
17972
  /* @__PURE__ */ l.jsxs(qw, { className: "m-0 p-0 flex flex-col gap-2", children: [
17972
- t && /* @__PURE__ */ l.jsx(zw, { className: h, children: t }),
17973
+ t && /* @__PURE__ */ l.jsx(zw, { className: v, children: t }),
17973
17974
  r && /* @__PURE__ */ l.jsx("span", { className: "text-xs text-foreground dark:text-foreground tracking-[0.12px]", children: r }),
17974
17975
  n
17975
17976
  ] })
17976
- ] })
17977
+ ] }),
17978
+ p && /* @__PURE__ */ l.jsx("div", { className: "shrink-0", children: p })
17977
17979
  ] });
17978
17980
  }
17979
17981
  export {