@npm-questionpro/wick-ui-lib 1.29.2 → 1.29.3

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.
@@ -13389,28 +13389,32 @@ const Dc = ({
13389
13389
  isStickyHeader: u
13390
13390
  }) => {
13391
13391
  const l = s === "compact" ? "wu-h-8" : "wu-h-10", d = (c) => {
13392
- const { id: w, columnDef: f, getIsSorted: p, toggleSorting: h } = c, { header: g } = f;
13392
+ const { id: w, columnDef: f, getIsSorted: p, toggleSorting: h } = c, { header: g } = f, y = f.headerAlign;
13393
13393
  if (!t.includes(w))
13394
13394
  return g;
13395
- const y = p(), S = y === "asc", x = y === "desc";
13395
+ const S = p(), x = S === "asc", T = S === "desc";
13396
13396
  return /* @__PURE__ */ v(
13397
13397
  "button",
13398
13398
  {
13399
13399
  onClick: () => {
13400
- n ? (h(!x), r == null || r({ id: w, desc: x })) : h(c.getIsSorted() === "asc");
13400
+ n ? (h(!T), r == null || r({ id: w, desc: T })) : h(c.getIsSorted() === "asc");
13401
13401
  },
13402
13402
  "aria-label": `Sort by ${g}`,
13403
- className: "wu-flex wu-items-center wu-gap-4",
13403
+ className: m(
13404
+ "wu-flex wu-items-center wu-gap-1 wu-w-full",
13405
+ y === "right" && "wu-justify-end",
13406
+ y === "center" && "wu-justify-center"
13407
+ ),
13404
13408
  children: [
13405
13409
  g,
13406
- /* @__PURE__ */ v("div", { className: "wu-relative", children: [
13410
+ /* @__PURE__ */ v("div", { className: "wu-relative wu-flex-shrink-0 wu-w-4", children: [
13407
13411
  /* @__PURE__ */ i(
13408
13412
  "span",
13409
13413
  {
13410
13414
  className: m(
13411
- "wu-absolute -wu-top-[15px] wm-arrow-drop-down wu-text-xl",
13412
- S && "wu-hidden",
13413
- !y && "-wu-top-[11px]"
13415
+ "wu-absolute -wu-top-[15px] wu-left-0 wm-arrow-drop-down wu-text-xl",
13416
+ x && "wu-hidden",
13417
+ !S && "-wu-top-[11px]"
13414
13418
  )
13415
13419
  }
13416
13420
  ),
@@ -13418,9 +13422,9 @@ const Dc = ({
13418
13422
  "span",
13419
13423
  {
13420
13424
  className: m(
13421
- "wu-absolute -wu-bottom-[13px] wm-arrow-drop-up wu-text-xl",
13422
- x && "wu-hidden",
13423
- !y && "-wu-bottom-[10px]"
13425
+ "wu-absolute -wu-bottom-[13px] wu-left-0 wm-arrow-drop-up wu-text-xl",
13426
+ T && "wu-hidden",
13427
+ !S && "-wu-bottom-[10px]"
13424
13428
  )
13425
13429
  }
13426
13430
  )
@@ -14468,7 +14472,7 @@ const Jy = qe("wu-flex wu-items-center wu-gap-3 wu-w-fit", {
14468
14472
  "--wu-sentiment-no-sentiment": "#E0E0E0"
14469
14473
  }
14470
14474
  };
14471
- window.wickUiVersion = "1.29.2";
14475
+ window.wickUiVersion = "1.29.3";
14472
14476
  export {
14473
14477
  mv as CHART_COLOR_SYSTEM,
14474
14478
  mx as WuAccordion,