@qtalo/qt-ui-library 0.3.0 → 0.3.1

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.js CHANGED
@@ -25913,10 +25913,10 @@ function EvidenceTimeline({ items: e, canExpandThread: t = !1, tone: n = "fire",
25913
25913
  tone: n
25914
25914
  }, t.id)), t && p.length > 0 && /* @__PURE__ */ jsxs("div", {
25915
25915
  className: "mt-1 border-t border-neutral-200-variant-1 pt-2",
25916
- children: [/* @__PURE__ */ jsxs("button", {
25916
+ children: [/* @__PURE__ */ jsxs(Button, {
25917
25917
  type: "button",
25918
25918
  onClick: () => f((e) => !e),
25919
- className: "inline-flex items-center gap-1.5 text-xs font-medium text-neutral-700-variant-1 transition-colors hover:text-neutral-900",
25919
+ className: "gap-1.5 text-xs font-medium text-neutral-700-variant-1 transition-colors hover:text-neutral-900",
25920
25920
  children: [/* @__PURE__ */ jsx("svg", {
25921
25921
  width: "11",
25922
25922
  height: "11",
@@ -26601,12 +26601,12 @@ function SelectedChip({ suggestion: e, onClear: t }) {
26601
26601
  });
26602
26602
  }
26603
26603
  function SuggestionRow({ suggestion: e, onSelect: t }) {
26604
- return /* @__PURE__ */ jsxs("button", {
26604
+ return /* @__PURE__ */ jsxs(Button, {
26605
26605
  type: "button",
26606
26606
  onMouseDown: (n) => {
26607
26607
  n.preventDefault(), t(e);
26608
26608
  },
26609
- className: "hover:bg-neutral-50 flex w-full items-center gap-2 px-3 py-2 text-left text-[12px] text-neutral-800",
26609
+ className: "hover:bg-neutral-50 w-full justify-start gap-2 px-3 py-2 text-left text-[12px] text-neutral-800",
26610
26610
  children: [e.type === "client" ? /* @__PURE__ */ jsx(BuildingOutlineIcon, {
26611
26611
  size: 12,
26612
26612
  className: "text-neutral-600"
@@ -27201,11 +27201,11 @@ function SignalDetailPanel({ title: e, severity: t, slaDurationLabel: n, slaStat
27201
27201
  children: [/* @__PURE__ */ jsx("span", { className: cn("h-1.5 w-1.5 shrink-0 rounded-full", STATUS_BADGE_STYLES[a].dot) }), i]
27202
27202
  })
27203
27203
  ]
27204
- }), Ls && /* @__PURE__ */ jsx("button", {
27204
+ }), Ls && /* @__PURE__ */ jsx(Button, {
27205
27205
  type: "button",
27206
27206
  onClick: Ls,
27207
27207
  "aria-label": "Close",
27208
- className: "flex h-7 w-7 shrink-0 items-center justify-center rounded-lg hover:bg-neutral-100",
27208
+ className: "h-7 w-7 shrink-0 rounded-lg hover:bg-neutral-100",
27209
27209
  children: /* @__PURE__ */ jsx("svg", {
27210
27210
  width: "14",
27211
27211
  height: "14",
@@ -27329,7 +27329,7 @@ function SignalDetailPanel({ title: e, severity: t, slaDurationLabel: n, slaStat
27329
27329
  }),
27330
27330
  /* @__PURE__ */ jsx("div", {
27331
27331
  className: "flex flex-wrap gap-1.5",
27332
- children: Is.map((e) => /* @__PURE__ */ jsx("button", {
27332
+ children: Is.map((e) => /* @__PURE__ */ jsx(Button, {
27333
27333
  type: "button",
27334
27334
  onClick: () => Ks((t) => t === e.id ? null : e.id),
27335
27335
  className: Gs === e.id ? "rounded-full bg-neutral-800 px-2.5 py-1 text-[11px] font-medium text-white" : "rounded-full border border-neutral-300 bg-white px-2.5 py-1 text-[11px] font-medium text-neutral-700 hover:border-neutral-500",
@@ -27339,13 +27339,13 @@ function SignalDetailPanel({ title: e, severity: t, slaDurationLabel: n, slaStat
27339
27339
  /* @__PURE__ */ jsxs("div", {
27340
27340
  className: "mt-1 flex items-center gap-3",
27341
27341
  children: [
27342
- /* @__PURE__ */ jsx("button", {
27342
+ /* @__PURE__ */ jsx(Button, {
27343
27343
  type: "button",
27344
27344
  onClick: Qs,
27345
27345
  className: "rounded-lg bg-neutral-800 px-3 py-1.5 text-xs font-semibold text-white",
27346
27346
  children: "Confirm"
27347
27347
  }),
27348
- /* @__PURE__ */ jsx("button", {
27348
+ /* @__PURE__ */ jsx(Button, {
27349
27349
  type: "button",
27350
27350
  onClick: () => {
27351
27351
  Ws(!1), Ks(null);
@@ -27353,7 +27353,7 @@ function SignalDetailPanel({ title: e, severity: t, slaDurationLabel: n, slaStat
27353
27353
  className: "text-xs font-medium text-neutral-700-variant-1 hover:underline",
27354
27354
  children: "Cancel"
27355
27355
  }),
27356
- /* @__PURE__ */ jsx("button", {
27356
+ /* @__PURE__ */ jsx(Button, {
27357
27357
  type: "button",
27358
27358
  onClick: Rs,
27359
27359
  className: "ml-auto text-xs font-medium text-primary-500 hover:underline",
@@ -27372,22 +27372,22 @@ function SignalDetailPanel({ title: e, severity: t, slaDurationLabel: n, slaStat
27372
27372
  className: "inline-flex items-center gap-1.5 rounded-lg border border-neutral-300 bg-neutral-100 px-3 py-1.5 text-xs font-semibold text-neutral-700 transition-colors hover:bg-neutral-200",
27373
27373
  children: [/* @__PURE__ */ jsx(OpenSourceIcon, {}), "Open source"]
27374
27374
  }),
27375
- /* @__PURE__ */ jsxs("button", {
27375
+ /* @__PURE__ */ jsxs(Button, {
27376
27376
  type: "button",
27377
27377
  onClick: Rs,
27378
- className: "inline-flex items-center gap-1.5 rounded-lg border border-green-400 bg-green-50 px-3 py-1.5 text-xs font-semibold text-green-800 transition-colors hover:bg-green-100",
27378
+ className: "gap-1.5 rounded-lg border border-green-400 bg-green-50 px-3 py-1.5 text-xs font-semibold text-green-800 transition-colors hover:bg-green-100",
27379
27379
  children: [/* @__PURE__ */ jsx(CheckActionIcon, {}), "Mark handled"]
27380
27380
  }),
27381
- /* @__PURE__ */ jsxs("button", {
27381
+ /* @__PURE__ */ jsxs(Button, {
27382
27382
  type: "button",
27383
27383
  onClick: () => Ws(!0),
27384
- className: "inline-flex items-center gap-1.5 rounded-lg border border-neutral-300 bg-neutral-100 px-3 py-1.5 text-xs font-semibold text-neutral-700 transition-colors hover:bg-neutral-200",
27384
+ className: "gap-1.5 rounded-lg border border-neutral-300 bg-neutral-100 px-3 py-1.5 text-xs font-semibold text-neutral-700 transition-colors hover:bg-neutral-200",
27385
27385
  children: [/* @__PURE__ */ jsx(DismissActionIcon, {}), "Mark not useful"]
27386
27386
  }),
27387
- /* @__PURE__ */ jsxs("button", {
27387
+ /* @__PURE__ */ jsxs(Button, {
27388
27388
  type: "button",
27389
27389
  onClick: Zs,
27390
- className: qs ? "inline-flex items-center gap-1.5 rounded-lg border border-green-400 bg-green-50 px-3 py-1.5 text-xs font-semibold text-green-800 transition-colors" : "inline-flex items-center gap-1.5 rounded-lg border border-neutral-300 bg-neutral-100 px-3 py-1.5 text-xs font-semibold text-neutral-700 transition-colors hover:bg-neutral-200",
27390
+ className: qs ? "gap-1.5 rounded-lg border border-green-400 bg-green-50 px-3 py-1.5 text-xs font-semibold text-green-800 transition-colors" : "gap-1.5 rounded-lg border border-neutral-300 bg-neutral-100 px-3 py-1.5 text-xs font-semibold text-neutral-700 transition-colors hover:bg-neutral-200",
27391
27391
  children: [jsx(qs ? CheckActionIcon : CopyActionIcon, {}), qs ? "Copied" : "Copy evidence"]
27392
27392
  })
27393
27393
  ]
@@ -27395,10 +27395,10 @@ function SignalDetailPanel({ title: e, severity: t, slaDurationLabel: n, slaStat
27395
27395
  }),
27396
27396
  /* @__PURE__ */ jsxs("div", {
27397
27397
  className: "rounded-xl border border-neutral-200-variant-1 bg-white-variant-8 px-4 py-3.5",
27398
- children: [/* @__PURE__ */ jsxs("button", {
27398
+ children: [/* @__PURE__ */ jsxs(Button, {
27399
27399
  type: "button",
27400
27400
  onClick: () => H((e) => !e),
27401
- className: "flex w-full items-center justify-between text-left",
27401
+ className: "w-full justify-between text-left",
27402
27402
  "aria-expanded": Ys,
27403
27403
  children: [/* @__PURE__ */ jsx("span", {
27404
27404
  className: "text-[10px] font-bold tracking-widest text-neutral-900 uppercase",