@iota/apps-ui-kit 0.11.0 → 0.12.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/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @iota/apps-ui-kit
2
2
 
3
+ ## 0.12.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 352991b: fix checkbox alignment
8
+
9
+ ### Patch Changes
10
+
11
+ - dd41759: Add icon for Badge
12
+ - 437f907: Fix Tooltip not closing on scroll and overflowing the viewport.
13
+ - 3ac0260: add prop to disable state layer in the accordion and add a receipt layout option for the keyvalue
14
+ - 2dcb8d1: update some types in displaystats and keyvalueinfo components
15
+
3
16
  ## 0.11.0
4
17
 
5
18
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -34,7 +34,7 @@ declare interface AccordionContentProps {
34
34
  isExpanded: boolean;
35
35
  }
36
36
 
37
- export declare function AccordionHeader({ onToggle, children, isExpanded, hideArrow, }: PropsWithChildren<AccordionHeaderProps>): JSX_2.Element;
37
+ export declare function AccordionHeader({ onToggle, children, isExpanded, hideArrow, disableStateLayer, }: PropsWithChildren<AccordionHeaderProps>): JSX_2.Element;
38
38
 
39
39
  export declare interface AccordionHeaderProps {
40
40
  /**
@@ -57,6 +57,12 @@ export declare interface AccordionHeaderProps {
57
57
  * Flag for hiding border.
58
58
  */
59
59
  hideBorder?: boolean;
60
+ /**
61
+ * Disable the header state layer while an interactive child is active.
62
+ * This keeps the parent hover treatment from competing with child links
63
+ * and controls.
64
+ */
65
+ disableStateLayer?: boolean;
60
66
  }
61
67
 
62
68
  export declare function Account({ title, subtitle, badgeType, badgeText, avatarContent, onOptionsClick, onCopy, copyText, onOpen, isCopyable, isExternal, isSelected, isActive, showSelected, badgeTooltipText, badgeTooltipPosition, }: AccountProps): React.JSX.Element;
@@ -186,7 +192,7 @@ export declare interface AssetMediaRendererProps extends VideoProps {
186
192
  showFallback?: boolean;
187
193
  }
188
194
 
189
- export declare function Badge({ type, label, size }: BadgeProps): React.JSX.Element;
195
+ export declare function Badge({ type, label, size, icon, }: BadgeProps): React.JSX.Element;
190
196
 
191
197
  declare interface BadgeProps {
192
198
  /**
@@ -201,6 +207,10 @@ declare interface BadgeProps {
201
207
  * The size of the badge
202
208
  */
203
209
  size?: BadgeSize;
210
+ /**
211
+ * An icon rendered before the label.
212
+ */
213
+ icon?: ReactNode;
204
214
  }
205
215
 
206
216
  export declare enum BadgeSize {
@@ -230,7 +240,7 @@ export declare interface BaseInputProps extends InputWrapperProps {
230
240
  /**
231
241
  * Amount counter that is shown at the side of the caption text.
232
242
  */
233
- amountCounter?: string | number;
243
+ amountCounter?: React.ReactNode;
234
244
  /**
235
245
  * Trailing element that is shown after the input
236
246
  */
@@ -246,7 +256,7 @@ export declare interface BaseInputProps extends InputWrapperProps {
246
256
  /**
247
257
  * Text that is shown below the value of the input.
248
258
  */
249
- supportingValue?: string | null;
259
+ supportingValue?: React.ReactNode;
250
260
  /**
251
261
  * Default value of the input
252
262
  */
@@ -285,7 +295,7 @@ export declare interface ButtonProps extends Omit<React.ButtonHTMLAttributes<HTM
285
295
  /**
286
296
  * The text of the button.
287
297
  */
288
- text?: string;
298
+ text?: React.ReactNode;
289
299
  /**
290
300
  The icon of the button
291
301
  */
@@ -382,7 +392,7 @@ export declare function Card({ isDisabled, type, isHoverable, onClick, children,
382
392
  export declare function CardAction({ type, onClick, subtitle, title, icon, iconAfterText, buttonType, buttonDisabled, }: CardActionProps): JSX_2.Element | null;
383
393
 
384
394
  export declare type CardActionProps = {
385
- title?: string;
395
+ title?: React.ReactNode;
386
396
  subtitle?: string | React.ReactNode;
387
397
  type: CardActionType;
388
398
  onClick?: () => void;
@@ -643,7 +653,7 @@ declare interface DisplayStatsProps {
643
653
  /**
644
654
  * The tooltip text.
645
655
  */
646
- tooltipText?: string;
656
+ tooltipText?: ReactNode;
647
657
  /**
648
658
  * The value of the stats.
649
659
  */
@@ -832,7 +842,7 @@ declare interface InputWrapperProps {
832
842
  /**
833
843
  * Shows a caption with the text below the input.
834
844
  */
835
- caption?: string;
845
+ caption?: ReactNode;
836
846
  /**
837
847
  * Error Message. Overrides the caption.
838
848
  */
@@ -840,7 +850,7 @@ declare interface InputWrapperProps {
840
850
  /**
841
851
  * Amount counter that is shown at the side of the caption text.
842
852
  */
843
- amountCounter?: string | number;
853
+ amountCounter?: React.ReactNode;
844
854
  /**
845
855
  * Is the input required
846
856
  */
@@ -1035,13 +1045,13 @@ export declare const IOTA_PRIMITIVES_COLOR_PALETTE: {
1035
1045
  };
1036
1046
  };
1037
1047
 
1038
- export declare function KeyValueInfo({ keyText, keyIcon, value, tooltipPosition, tooltipText, supportingLabel, size, isTruncated, copyText, onCopySuccess, onCopyError, fullwidth, isReverse, valueHoverTitle, }: KeyValueProps): React.JSX.Element;
1048
+ export declare function KeyValueInfo({ keyText, keyIcon, value, tooltipPosition, tooltipText, supportingLabel, size, isTruncated, copyText, onCopySuccess, onCopyError, fullwidth, isReverse, layout, valueHoverTitle, }: KeyValueProps): React.JSX.Element;
1039
1049
 
1040
1050
  declare interface KeyValueProps {
1041
1051
  /**
1042
1052
  * The key of the KeyValue.
1043
1053
  */
1044
- keyText: string;
1054
+ keyText: ReactNode;
1045
1055
  /**
1046
1056
  * An icon shown next to the key text (optional).
1047
1057
  */
@@ -1090,6 +1100,11 @@ declare interface KeyValueProps {
1090
1100
  * Reverse the KeyValue (optional).
1091
1101
  */
1092
1102
  isReverse?: boolean;
1103
+ /**
1104
+ * Use a receipt-style row with a dotted leader and right-aligned value.
1105
+ * This is opt-in so existing KeyValueInfo layouts remain unchanged.
1106
+ */
1107
+ layout?: 'default' | 'receipt';
1093
1108
  /**
1094
1109
  * Text shown on value hover.
1095
1110
  */
@@ -1603,7 +1618,7 @@ export declare function TableActionButton(props: PropsWithChildren<ButtonProps_2
1603
1618
 
1604
1619
  export declare function TableBody({ children }: PropsWithChildren): JSX.Element;
1605
1620
 
1606
- export declare function TableCellBase({ children, hasLastBorderNoneClass, isContentCentered, }: PropsWithChildren<TableCellBaseProps>): JSX_2.Element;
1621
+ export declare function TableCellBase({ children, hasLastBorderNoneClass, isContentCentered, colSpan, }: PropsWithChildren<TableCellBaseProps>): JSX_2.Element;
1607
1622
 
1608
1623
  declare interface TableCellBaseProps {
1609
1624
  /**
@@ -1618,6 +1633,10 @@ declare interface TableCellBaseProps {
1618
1633
  * Whether the cell content should be centered.
1619
1634
  */
1620
1635
  isContentCentered?: boolean;
1636
+ /**
1637
+ * The number of columns the cell should span.
1638
+ */
1639
+ colSpan?: number;
1621
1640
  }
1622
1641
 
1623
1642
  export declare function TableCellPlaceholder(): JSX_2.Element;
@@ -1760,8 +1779,9 @@ export declare type TableProps = {
1760
1779
  heightFull?: boolean;
1761
1780
  };
1762
1781
 
1763
- export declare function TableRow({ children, leading, }: PropsWithChildren<{
1782
+ export declare function TableRow({ children, leading, onClick, }: PropsWithChildren<{
1764
1783
  leading?: React.ReactNode;
1784
+ onClick?: React.MouseEventHandler<HTMLTableRowElement>;
1765
1785
  }>): JSX.Element;
1766
1786
 
1767
1787
  export declare function TableRowCheckbox({ rowIndex, onCheckboxChange, isDisabled, }: TableRowCheckboxProps): React.JSX.Element;
package/dist/index.es.js CHANGED
@@ -1046,14 +1046,17 @@ var ge = {
1046
1046
  [P.Outlined]: "badge-border-color-outlined",
1047
1047
  [P.Error]: "border-error-surface"
1048
1048
  }, F = /* @__PURE__ */ E(Oe());
1049
- function Ne({ type: e, label: n, size: r = ke.Medium }) {
1050
- let i = Ae[e], a = je[e], o = r === ke.Small, s = e === P.Outlined, c = n ? "px-xs py-xxs" : "h-1.5 w-1.5", l = o ? "text-label-sm" : "text-label-md";
1051
- return /* @__PURE__ */ t("div", {
1052
- className: (0, F.default)("inline-flex items-center space-x-2 rounded-full disabled:opacity-30", { border: !o }, { [Me[e]]: !o }, { "badge-ring-outlined": o && s }, i, c),
1053
- children: /* @__PURE__ */ t("span", {
1054
- className: (0, F.default)(l, a),
1055
- children: n
1056
- })
1049
+ function Ne({ type: e, label: r, size: i = ke.Medium, icon: a }) {
1050
+ let o = Ae[e], s = je[e], c = i === ke.Small, l = e === P.Outlined, u = r ? "px-xs py-xxs" : "h-1.5 w-1.5", d = c ? "text-label-sm" : "text-label-md";
1051
+ return /* @__PURE__ */ n("div", {
1052
+ className: (0, F.default)("inline-flex items-center rounded-full disabled:opacity-30", a ? "gap-xxs" : "space-x-2", { border: !c }, { [Me[e]]: !c }, { "badge-ring-outlined": c && l }, o, u),
1053
+ children: [a && /* @__PURE__ */ t("span", {
1054
+ className: (0, F.default)("flex h-4 w-4 items-center justify-center", s),
1055
+ children: a
1056
+ }), /* @__PURE__ */ t("span", {
1057
+ className: (0, F.default)(d, s),
1058
+ children: r
1059
+ })]
1057
1060
  });
1058
1061
  }
1059
1062
  //#endregion
@@ -1661,7 +1664,7 @@ var Ct = c(({ isChecked: e, isIndeterminate: r, label: i, isLabelFirst: a, isDis
1661
1664
  }),
1662
1665
  /* @__PURE__ */ t("span", {
1663
1666
  onClick: () => f.current?.click(),
1664
- className: (0, F.default)("checkbox-base checkbox-state checkbox-icon checkbox-icon-hidden", "checkbox-border-default", "peer-[&:is(:checked,:indeterminate)]:checkbox-border-checked", "peer-[&:is(:checked,:indeterminate)]:checkbox-bg-checked", "peer-[&:is(:checked,:indeterminate)]:checkbox-text-checked", "peer-disabled:peer-[&:not(:checked,:indeterminate)]:checkbox-border-color-disabled", "peer-disabled:peer-[&:is(:checked,:indeterminate)]:checkbox-border-color-disabled-checked", "peer-disabled:peer-[&:is(:checked,:indeterminate)]:checkbox-bg-color-disabled-checked"),
1667
+ className: (0, F.default)("checkbox-base checkbox-state checkbox-icon checkbox-icon-hidden shrink-0", "checkbox-border-default", "peer-[&:is(:checked,:indeterminate)]:checkbox-border-checked", "peer-[&:is(:checked,:indeterminate)]:checkbox-bg-checked", "peer-[&:is(:checked,:indeterminate)]:checkbox-text-checked", "peer-disabled:peer-[&:not(:checked,:indeterminate)]:checkbox-border-color-disabled", "peer-disabled:peer-[&:is(:checked,:indeterminate)]:checkbox-border-color-disabled-checked", "peer-disabled:peer-[&:is(:checked,:indeterminate)]:checkbox-bg-color-disabled-checked"),
1665
1668
  children: /* @__PURE__ */ t(m, {})
1666
1669
  }),
1667
1670
  /* @__PURE__ */ t(wt, {
@@ -1674,7 +1677,7 @@ var Ct = c(({ isChecked: e, isIndeterminate: r, label: i, isLabelFirst: a, isDis
1674
1677
  function wt({ label: e, name: n }) {
1675
1678
  return /* @__PURE__ */ t("label", {
1676
1679
  htmlFor: n,
1677
- className: "checkbox-label checkbox-label-disabled",
1680
+ className: "checkbox-label checkbox-label-disabled flex-1",
1678
1681
  children: e
1679
1682
  });
1680
1683
  }
@@ -1712,37 +1715,50 @@ function Mt({ text: r, position: i = jt.Top, maxWidth: a = "max-w-[200px]", offs
1712
1715
  S(), b.current = setTimeout(() => g(!0), s);
1713
1716
  }, w = () => {
1714
1717
  S(), x.current = setTimeout(() => g(!1), c);
1718
+ }, T = (e) => ({
1719
+ [jt.Top]: {
1720
+ top: e.top - o,
1721
+ left: e.left + e.width / 2,
1722
+ transform: "translate(-50%, -100%)",
1723
+ anchorX: .5,
1724
+ anchorY: 1
1725
+ },
1726
+ [jt.Bottom]: {
1727
+ top: e.bottom + o,
1728
+ left: e.left + e.width / 2,
1729
+ transform: "translate(-50%, 0)",
1730
+ anchorX: .5,
1731
+ anchorY: 0
1732
+ },
1733
+ [jt.Left]: {
1734
+ top: e.top + e.height / 2,
1735
+ left: e.left - o,
1736
+ transform: "translate(-100%, -50%)",
1737
+ anchorX: 1,
1738
+ anchorY: .5
1739
+ },
1740
+ [jt.Right]: {
1741
+ top: e.top + e.height / 2,
1742
+ left: e.right + o,
1743
+ transform: "translate(0, -50%)",
1744
+ anchorX: 0,
1745
+ anchorY: .5
1746
+ }
1747
+ })[i], E = (e, t, n, r) => {
1748
+ let i = e + t;
1749
+ return i > n - r ? n - r - i : e < r ? r - e : 0;
1715
1750
  };
1716
1751
  return d(() => {
1717
1752
  if (!h) return;
1718
- let e = u.current?.getBoundingClientRect();
1719
- if (!e) return;
1720
- let t = {
1721
- [jt.Top]: {
1722
- top: e.top - o,
1723
- left: e.left + e.width / 2,
1724
- transform: "translate(-50%, -100%)"
1725
- },
1726
- [jt.Bottom]: {
1727
- top: e.bottom + o,
1728
- left: e.left + e.width / 2,
1729
- transform: "translate(-50%, 0)"
1730
- },
1731
- [jt.Left]: {
1732
- top: e.top + e.height / 2,
1733
- left: e.left - o,
1734
- transform: "translate(-100%, -50%)"
1735
- },
1736
- [jt.Right]: {
1737
- top: e.top + e.height / 2,
1738
- left: e.right + o,
1739
- transform: "translate(0, -50%)"
1740
- }
1741
- }[i];
1753
+ let e = u.current?.getBoundingClientRect(), t = f.current;
1754
+ if (!e || !t) return;
1755
+ let n = T(e);
1756
+ t.style.transform = n.transform;
1757
+ let { width: r, height: i } = t.getBoundingClientRect(), a = n.left - r * n.anchorX, o = n.top - i * n.anchorY, s = E(a, r, window.innerWidth, 8), c = E(o, i, window.innerHeight, 8);
1742
1758
  y({
1743
- top: t.top,
1744
- left: t.left
1745
- }), f.current.style.transform = t.transform;
1759
+ top: n.top + c,
1760
+ left: n.left + s
1761
+ });
1746
1762
  }, [
1747
1763
  h,
1748
1764
  i,
@@ -1750,11 +1766,7 @@ function Mt({ text: r, position: i = jt.Top, maxWidth: a = "max-w-[200px]", offs
1750
1766
  ]), d(() => {
1751
1767
  if (!h) return;
1752
1768
  let e = () => {
1753
- let e = u.current?.getBoundingClientRect();
1754
- e && y((t) => ({
1755
- ...t,
1756
- left: e.left + e.width / 2
1757
- }));
1769
+ S(), g(!1);
1758
1770
  };
1759
1771
  return window.addEventListener("scroll", e, !0), window.addEventListener("resize", e), () => {
1760
1772
  window.removeEventListener("scroll", e, !0), window.removeEventListener("resize", e);
@@ -1788,9 +1800,9 @@ function Mt({ text: r, position: i = jt.Top, maxWidth: a = "max-w-[200px]", offs
1788
1800
  }
1789
1801
  //#endregion
1790
1802
  //#region src/lib/components/atoms/key-value-info/KeyValueInfo.tsx
1791
- function Nt({ keyText: e, keyIcon: r, value: i, tooltipPosition: a, tooltipText: o, supportingLabel: s, size: c = At.Small, isTruncated: l = !1, copyText: u, onCopySuccess: d, onCopyError: f, fullwidth: p, isReverse: m = !1, valueHoverTitle: h }) {
1792
- let g = m ? "flex-row-reverse" : "flex-row";
1793
- async function _(e) {
1803
+ function Nt({ keyText: e, keyIcon: r, value: i, tooltipPosition: a, tooltipText: o, supportingLabel: s, size: c = At.Small, isTruncated: l = !1, copyText: u, onCopySuccess: d, onCopyError: f, fullwidth: p, isReverse: m = !1, layout: h = "default", valueHoverTitle: g }) {
1804
+ let _ = m ? "flex-row-reverse" : "flex-row", v = h === "receipt";
1805
+ async function y(e) {
1794
1806
  if (navigator.clipboard && u) try {
1795
1807
  await navigator.clipboard.writeText(u), d?.(e, u);
1796
1808
  } catch (e) {
@@ -1798,47 +1810,56 @@ function Nt({ keyText: e, keyIcon: r, value: i, tooltipPosition: a, tooltipText:
1798
1810
  }
1799
1811
  }
1800
1812
  return /* @__PURE__ */ n("div", {
1801
- className: (0, F.default)("flex w-full items-baseline gap-xs py-xxs font-inter", g, { "flex-wrap justify-between": p }),
1802
- children: [/* @__PURE__ */ n("div", {
1803
- className: (0, F.default)("flex shrink-0 flex-row items-center gap-x-0.5", { "w-1/4": !p }),
1804
- children: [
1805
- r,
1806
- /* @__PURE__ */ t("span", {
1807
- className: "key-value-key-text-color break-normal text-body-md",
1808
- children: e
1809
- }),
1810
- o && /* @__PURE__ */ t(Mt, {
1811
- text: o,
1812
- position: a,
1813
- children: /* @__PURE__ */ t(et, { className: "key-supporting-text-color" })
1814
- })
1815
- ]
1816
- }), /* @__PURE__ */ n("div", {
1817
- className: (0, F.default)("flex min-w-0 flex-row items-baseline gap-1 break-all", {
1818
- "w-3/4": !p,
1819
- "flex-wrap": p,
1820
- truncate: l
1813
+ className: (0, F.default)("flex w-full items-baseline gap-xs py-xxs font-inter", _, { "flex-wrap justify-between": p }),
1814
+ children: [
1815
+ /* @__PURE__ */ n("div", {
1816
+ className: (0, F.default)("flex shrink-0 flex-row items-center gap-x-0.5", { "w-1/4": !p && !v }),
1817
+ children: [
1818
+ r,
1819
+ /* @__PURE__ */ t("span", {
1820
+ className: "key-value-key-text-color break-normal text-body-md",
1821
+ children: e
1822
+ }),
1823
+ o && /* @__PURE__ */ t(Mt, {
1824
+ text: o,
1825
+ position: a,
1826
+ children: /* @__PURE__ */ t(et, { className: "key-supporting-text-color" })
1827
+ })
1828
+ ]
1821
1829
  }),
1822
- children: [
1823
- /* @__PURE__ */ t("span", {
1824
- title: h,
1825
- className: (0, F.default)("key-value-hover-text-color min-w-0", c === At.Medium ? "text-body-lg" : "text-body-md", { truncate: l }),
1826
- children: i
1827
- }),
1828
- s && /* @__PURE__ */ t("span", {
1829
- className: (0, F.default)("key-supporting-text-color", c === At.Medium ? "text-body-md" : "text-body-sm"),
1830
- children: s
1830
+ v && !p && /* @__PURE__ */ t("span", {
1831
+ "aria-hidden": "true",
1832
+ className: "mb-1 min-w-[0.5rem] flex-1 border-b border-dotted border-iota-neutral-80 opacity-60 dark:border-iota-neutral-20"
1833
+ }),
1834
+ /* @__PURE__ */ n("div", {
1835
+ className: (0, F.default)("flex min-w-0 flex-row items-baseline gap-1 break-all", {
1836
+ "w-3/4": !p && !v,
1837
+ "max-w-[60%] justify-end text-right": !p && v,
1838
+ "flex-wrap": p,
1839
+ "justify-end text-right": p && v,
1840
+ truncate: l
1831
1841
  }),
1832
- /* @__PURE__ */ t("div", {
1833
- className: "self-center",
1834
- children: u && /* @__PURE__ */ t(B, {
1835
- onClick: _,
1836
- "aria-label": "Copy to clipboard",
1837
- children: /* @__PURE__ */ t(Xe, { className: "key-supporting-text-color" })
1842
+ children: [
1843
+ /* @__PURE__ */ t("span", {
1844
+ title: g,
1845
+ className: (0, F.default)("key-value-hover-text-color min-w-0", c === At.Medium ? "text-body-lg" : "text-body-md", { truncate: l }),
1846
+ children: i
1847
+ }),
1848
+ s && /* @__PURE__ */ t("span", {
1849
+ className: (0, F.default)("key-supporting-text-color", c === At.Medium ? "text-body-md" : "text-body-sm"),
1850
+ children: s
1851
+ }),
1852
+ /* @__PURE__ */ t("div", {
1853
+ className: "self-center",
1854
+ children: u && /* @__PURE__ */ t(B, {
1855
+ onClick: y,
1856
+ "aria-label": "Copy to clipboard",
1857
+ children: /* @__PURE__ */ t(Xe, { className: "key-supporting-text-color" })
1858
+ })
1838
1859
  })
1839
- })
1840
- ]
1841
- })]
1860
+ ]
1861
+ })
1862
+ ]
1842
1863
  });
1843
1864
  }
1844
1865
  //#endregion
@@ -3292,8 +3313,9 @@ var ii = /* @__PURE__ */ function(e) {
3292
3313
  }({});
3293
3314
  //#endregion
3294
3315
  //#region src/lib/components/molecules/table-cell/TableCell.tsx
3295
- function ai({ children: e, hasLastBorderNoneClass: n, isContentCentered: r }) {
3316
+ function ai({ children: e, hasLastBorderNoneClass: n, isContentCentered: r, colSpan: i }) {
3296
3317
  return /* @__PURE__ */ t("td", {
3318
+ colSpan: i,
3297
3319
  className: (0, F.default)("table-cell-border-color h-14 border-b px-md", { "last:border-none": n }, { "flex items-center justify-center": r }),
3298
3320
  children: e
3299
3321
  });
@@ -3832,7 +3854,7 @@ function Bi({ label: e, tooltipPosition: r, tooltipText: i, value: a, supporting
3832
3854
  className: "flex w-full flex-row items-baseline gap-xxs",
3833
3855
  children: [
3834
3856
  /* @__PURE__ */ t("span", {
3835
- className: (0, F.default)("break-all", g),
3857
+ className: (0, F.default)("min-w-0 break-all", g),
3836
3858
  children: a
3837
3859
  }),
3838
3860
  o && /* @__PURE__ */ t("span", {
@@ -5619,8 +5641,12 @@ function Ec(e) {
5619
5641
  function Dc({ children: e }) {
5620
5642
  return /* @__PURE__ */ t("thead", { children: e });
5621
5643
  }
5622
- function Oc({ children: e, leading: t }) {
5623
- return /* @__PURE__ */ n("tr", { children: [t, e] });
5644
+ function Oc({ children: e, leading: t, onClick: r }) {
5645
+ return /* @__PURE__ */ n("tr", {
5646
+ onClick: r,
5647
+ className: (0, F.default)({ "cursor-pointer hover:bg-shader-neutral-light-8 dark:hover:bg-shader-neutral-dark-8": r }),
5648
+ children: [t, e]
5649
+ });
5624
5650
  }
5625
5651
  var kc = "table-text-color", Ac = "text-body-md";
5626
5652
  function jc({ children: e }) {
@@ -5731,12 +5757,12 @@ function Fc({ items: r, activeId: i, onClickItem: a, isOpen: o, onToggleNavbar:
5731
5757
  }
5732
5758
  //#endregion
5733
5759
  //#region src/lib/components/organisms/accordion/Accordion.tsx
5734
- function Ic({ onToggle: e, children: r, isExpanded: i, hideArrow: a }) {
5760
+ function Ic({ onToggle: e, children: r, isExpanded: i, hideArrow: a, disableStateLayer: o = !1 }) {
5735
5761
  return /* @__PURE__ */ n("div", {
5736
5762
  onClick: e,
5737
5763
  role: "button",
5738
5764
  "aria-expanded": i,
5739
- className: (0, F.default)("state-layer relative flex cursor-pointer items-center justify-between gap-md overflow-hidden rounded-xl py-sm--rs", { "pr-md--rs": !a }),
5765
+ className: (0, F.default)("relative flex cursor-pointer items-center justify-between gap-md overflow-hidden rounded-xl py-sm--rs", !o && "state-layer", { "pr-md--rs": !a }),
5740
5766
  children: [r, !a && /* @__PURE__ */ t("div", {
5741
5767
  className: "[&_svg]:h-5 [&_svg]:w-5",
5742
5768
  children: /* @__PURE__ */ t(z, {