@ztwoint/z-ui 0.1.129 → 0.1.130

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.
Files changed (46) hide show
  1. package/dist/components/button/button.d.ts +1 -1
  2. package/dist/components/button/button.js +30 -12
  3. package/dist/components/column-reorder/column-reorder.js +14 -14
  4. package/dist/components/dropdown/z2-dropdown.js +3 -3
  5. package/dist/components/input/input.js +1 -1
  6. package/dist/components/number-badge/index.d.ts +2 -0
  7. package/dist/components/number-badge/number-badge.d.ts +10 -0
  8. package/dist/components/number-badge/number-badge.js +27 -0
  9. package/dist/components/primitives/table-card/table-card.js +1 -1
  10. package/dist/components/tab/tab.js +57 -27
  11. package/dist/components/table/components/cell/avatar-cell.js +1 -1
  12. package/dist/components/table/components/cell/description-cell.js +3 -3
  13. package/dist/components/table/components/cell/label-cell.js +9 -9
  14. package/dist/components/table/components/cell/link-cell.js +17 -17
  15. package/dist/components/table/components/cell/number-cell.js +17 -17
  16. package/dist/components/table/table.const.d.ts +1 -1
  17. package/dist/components/table/table.const.js +1 -1
  18. package/dist/components/table-filter/table-filter-button.js +46 -45
  19. package/dist/components/table-filter/table-filter-column-button.js +49 -49
  20. package/dist/css/config/colors/semantic/base.css +6 -6
  21. package/dist/css/config/config.css +2 -1
  22. package/dist/css/config/other-variables.css +1 -1
  23. package/dist/css/styles/tailwind.css +1 -1
  24. package/dist/types/components/button/button.d.ts +1 -1
  25. package/dist/types/components/number-badge/index.d.ts +2 -0
  26. package/dist/types/components/number-badge/number-badge.d.ts +10 -0
  27. package/dist/types/components/table/table.const.d.ts +1 -1
  28. package/package.json +1 -1
  29. package/dist/css/config/colors/backgrounds.css +0 -32
  30. package/dist/css/config/colors/components/avatar.css +0 -53
  31. package/dist/css/config/colors/components/badge.css +0 -137
  32. package/dist/css/config/colors/components/checkbox.css +0 -7
  33. package/dist/css/config/colors/components/featured-icon.css +0 -80
  34. package/dist/css/config/colors/components/progress-bar.css +0 -7
  35. package/dist/css/config/colors/components/radio-button.css +0 -7
  36. package/dist/css/config/colors/components/scroll-overlay.css +0 -17
  37. package/dist/css/config/colors/components/tab.css +0 -59
  38. package/dist/css/config/colors/components/toggle-switch.css +0 -3
  39. package/dist/css/config/colors/components/toggle.css +0 -25
  40. package/dist/css/config/colors/icons.css +0 -81
  41. package/dist/css/config/colors/overlay.css +0 -3
  42. package/dist/css/config/colors/shape.css +0 -163
  43. package/dist/css/config/colors/stroke.css +0 -79
  44. package/dist/css/config/colors/surfaces.css +0 -199
  45. package/dist/css/config/colors/text.css +0 -160
  46. package/dist/css/config/config-deprecated.css +0 -39
@@ -1,7 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  import { VariantProps } from 'class-variance-authority';
3
3
  declare const buttonVariants: (props?: ({
4
- variant?: "stroke" | "filled" | "ghost" | null | undefined;
4
+ variant?: "stroke" | "filled" | "colored-stroke" | "ghost" | null | undefined;
5
5
  shade?: "danger" | "neutral" | "brand" | null | undefined;
6
6
  size?: "small" | "large" | "medium" | null | undefined;
7
7
  iconOnly?: boolean | null | undefined;
@@ -1,4 +1,4 @@
1
- import { jsx as e, jsxs as x, Fragment as h } from "react/jsx-runtime";
1
+ import { jsx as e, jsxs as f, Fragment as h } from "react/jsx-runtime";
2
2
  import k from "react";
3
3
  import { Slot as w } from "@radix-ui/react-slot";
4
4
  import { cva as N } from "class-variance-authority";
@@ -10,9 +10,12 @@ const C = N(
10
10
  variant: {
11
11
  filled: [""],
12
12
  stroke: [
13
- "ring-[0.5px] ring-btn-secondary-stroke-default hover:ring-btn-secondary-stroke-hover active:ring-btn-secondary-stroke-pressed disabled:ring-btn-secondary-stroke-disabled",
13
+ "ring-[1px] ring-btn-secondary-stroke-default hover:ring-btn-secondary-stroke-hover active:ring-btn-secondary-stroke-pressed disabled:ring-btn-secondary-stroke-disabled",
14
14
  "bg-btn-secondary-surface-default hover:bg-btn-secondary-surface-hover active:bg-btn-secondary-surface-pressed disabled:bg-btn-secondary-surface-disabled"
15
15
  ],
16
+ "colored-stroke": [
17
+ "ring-[1px] bg-btn-secondary-surface-default hover:bg-btn-secondary-surface-hover active:bg-btn-secondary-surface-pressed disabled:bg-btn-secondary-surface-disabled"
18
+ ],
16
19
  ghost: [
17
20
  "hover:text-text-neutral-secondary active:text-text-neutral-muted disabled:text-text-neutral-muted"
18
21
  ]
@@ -35,17 +38,17 @@ const C = N(
35
38
  {
36
39
  variant: "filled",
37
40
  shade: "brand",
38
- class: "bg-btn-primary-brand-surface-default hover:bg-btn-primary-brand-surface-hover active:bg-btn-primary-brand-surface-pressed disabled:bg-btn-primary-brand-surface-disabled ring-[0.5px] ring-btn-primary-brand-stroke-default hover:ring-btn-primary-brand-stroke-hover active:ring-btn-primary-brand-stroke-pressed disabled:ring-btn-primary-brand-stroke-disabled text-text-inverted-primary disabled:text-text-neutral-muted"
41
+ class: "bg-btn-primary-brand-surface-default hover:bg-btn-primary-brand-surface-hover active:bg-btn-primary-brand-surface-pressed disabled:bg-btn-primary-brand-surface-disabled ring-[1px] ring-btn-primary-brand-stroke-default hover:ring-btn-primary-brand-stroke-hover active:ring-btn-primary-brand-stroke-pressed disabled:ring-btn-primary-brand-stroke-disabled text-text-inverted-primary disabled:text-text-neutral-muted"
39
42
  },
40
43
  {
41
44
  variant: "filled",
42
45
  shade: "neutral",
43
- class: "bg-btn-primary-neutral-surface-default hover:bg-btn-primary-neutral-surface-hover active:bg-btn-primary-neutral-surface-pressed disabled:bg-btn-primary-neutral-surface-disabled ring-[0.5px] ring-btn-primary-neutral-stroke-default hover:ring-btn-primary-neutral-stroke-hover active:ring-btn-primary-neutral-stroke-pressed disabled:ring-btn-primary-neutral-stroke-disabled text-text-inverted-primary disabled:text-text-neutral-muted"
46
+ class: "bg-btn-primary-neutral-surface-default hover:bg-btn-primary-neutral-surface-hover active:bg-btn-primary-neutral-surface-pressed disabled:bg-btn-primary-neutral-surface-disabled ring-[1px] ring-btn-primary-neutral-stroke-default hover:ring-btn-primary-neutral-stroke-hover active:ring-btn-primary-neutral-stroke-pressed disabled:ring-btn-primary-neutral-stroke-disabled text-text-inverted-primary disabled:text-text-neutral-muted"
44
47
  },
45
48
  {
46
49
  variant: "filled",
47
50
  shade: "danger",
48
- class: "bg-btn-primary-danger-surface-default hover:bg-btn-primary-danger-surface-hover active:bg-btn-primary-danger-surface-pressed disabled:bg-btn-primary-danger-surface-disabled ring-[0.5px] ring-btn-primary-danger-stroke-default hover:ring-btn-primary-danger-stroke-hover active:ring-btn-primary-danger-stroke-pressed disabled:ring-btn-primary-danger-stroke-disabled text-text-inverted-primary disabled:text-text-neutral-muted"
51
+ class: "bg-btn-primary-danger-surface-default hover:bg-btn-primary-danger-surface-hover active:bg-btn-primary-danger-surface-pressed disabled:bg-btn-primary-danger-surface-disabled ring-[1px] ring-btn-primary-danger-stroke-default hover:ring-btn-primary-danger-stroke-hover active:ring-btn-primary-danger-stroke-pressed disabled:ring-btn-primary-danger-stroke-disabled text-text-inverted-primary disabled:text-text-neutral-muted"
49
52
  },
50
53
  {
51
54
  variant: "stroke",
@@ -62,6 +65,21 @@ const C = N(
62
65
  shade: "danger",
63
66
  class: "text-text-danger-secondary disabled:text-text-neutral-muted"
64
67
  },
68
+ {
69
+ variant: "colored-stroke",
70
+ shade: "neutral",
71
+ class: "text-text-neutral-primary ring-text-neutral-primary hover:ring-text-neutral-primary active:ring-text-neutral-primary disabled:text-text-neutral-muted disabled:ring-text-neutral-muted"
72
+ },
73
+ {
74
+ variant: "colored-stroke",
75
+ shade: "brand",
76
+ class: "text-text-neutral-primary ring-text-brand-secondary hover:ring-text-brand-secondary active:ring-text-brand-secondary disabled:text-text-neutral-muted disabled:ring-text-neutral-muted"
77
+ },
78
+ {
79
+ variant: "colored-stroke",
80
+ shade: "danger",
81
+ class: "text-text-neutral-primary ring-text-danger-secondary hover:ring-text-danger-secondary active:ring-text-danger-secondary disabled:text-text-neutral-muted disabled:ring-text-neutral-muted"
82
+ },
65
83
  {
66
84
  variant: "ghost",
67
85
  shade: "neutral",
@@ -90,19 +108,19 @@ const C = N(
90
108
  className: b,
91
109
  shade: u = "neutral",
92
110
  size: c,
93
- variant: m = "filled",
111
+ variant: g = "filled",
94
112
  asChild: i = !1,
95
113
  leftIcon: r,
96
114
  rightIcon: t,
97
- label: p,
115
+ label: m,
98
116
  children: l,
99
- ...g
100
- }, y) => {
101
- const f = i ? w : "button", a = p || l, n = !a && !!(r || t), o = n ? r || t : null, v = d(
102
- C({ shade: u, size: c, variant: m, iconOnly: n }),
117
+ ...p
118
+ }, x) => {
119
+ const y = i ? w : "button", a = m || l, n = !a && !!(r || t), o = n ? r || t : null, v = d(
120
+ C({ shade: u, size: c, variant: g, iconOnly: n }),
103
121
  b
104
122
  ), s = "w-3.5 h-3.5 min-w-max";
105
- return /* @__PURE__ */ e(f, { className: v, ref: y, ...g, children: i ? l : n ? o ? /* @__PURE__ */ e("span", { className: s, children: o }) : null : /* @__PURE__ */ x(h, { children: [
123
+ return /* @__PURE__ */ e(y, { className: v, ref: x, ...p, children: i ? l : n ? o ? /* @__PURE__ */ e("span", { className: s, children: o }) : null : /* @__PURE__ */ f(h, { children: [
106
124
  r && /* @__PURE__ */ e("span", { className: d(s), children: r }),
107
125
  a && /* @__PURE__ */ e("span", { children: a }),
108
126
  t && /* @__PURE__ */ e("span", { className: d(s), children: t })
@@ -4,35 +4,35 @@ import { cn as f } from "../../lib/utils.js";
4
4
  import { ColumnItem as p } from "./components/column-item/column-item.js";
5
5
  import { useColumnReorder as c } from "./column-reorder.hook.js";
6
6
  const C = ({
7
- columns: o,
7
+ columns: e,
8
8
  onReorder: d,
9
9
  onRemove: i,
10
10
  onEdit: l,
11
- renderAction: t,
12
- className: m,
13
- disabled: n = !1,
14
- editable: s = !1
11
+ renderAction: m,
12
+ className: t,
13
+ disabled: s = !1,
14
+ editable: n = !1
15
15
  }) => {
16
- const { internalColumns: a } = c({ columns: o, onReorder: d });
16
+ const { internalColumns: a } = c({ columns: e, onReorder: d });
17
17
  return /* @__PURE__ */ r(
18
18
  "div",
19
19
  {
20
20
  className: f(
21
- "rounded-2xl border-[0.5px] border-stroke-solid-light bg-background-neutral-default overflow-hidden",
22
- m
21
+ "rounded-2xl border-[1px] border-stroke-solid-light bg-background-neutral-default overflow-hidden box-shadow-medium-10",
22
+ t
23
23
  ),
24
- children: /* @__PURE__ */ r("div", { className: "divide-y divide-stroke-solid-light", children: a.map((e, u) => /* @__PURE__ */ r(
24
+ children: /* @__PURE__ */ r("div", { className: "divide-y divide-stroke-solid-light", children: a.map((o, u) => /* @__PURE__ */ r(
25
25
  p,
26
26
  {
27
- column: e,
27
+ column: o,
28
28
  index: u,
29
29
  onRemove: i,
30
30
  onEdit: l,
31
- renderAction: t,
32
- disabled: n,
33
- editable: s
31
+ renderAction: m,
32
+ disabled: s,
33
+ editable: n
34
34
  },
35
- e.id
35
+ o.id
36
36
  )) })
37
37
  }
38
38
  );
@@ -71,7 +71,7 @@ function B({
71
71
  "div",
72
72
  {
73
73
  className: d(
74
- "flex items-center justify-center gap-1.5 p-2 self-stretch relative cursor-pointer rounded-lg bg-white border-[0.5px] border-[#E0E0E0] shadow-[0px_1px_2px_0px_rgba(0,0,0,0.05)] hover:border-neutral-300 ",
74
+ "flex items-center justify-center gap-1.5 p-2 self-stretch relative cursor-pointer rounded-lg bg-white border-[1px] border-[#E0E0E0] shadow-[0px_1px_2px_0px_rgba(0,0,0,0.05)] hover:border-neutral-300 ",
75
75
  o
76
76
  ),
77
77
  children: [
@@ -133,7 +133,7 @@ function F({
133
133
  align: a,
134
134
  sideOffset: 8,
135
135
  className: d(
136
- "bg-white max-w-fit w-[var(--radix-popover-trigger-width)] p-1 flex flex-col items-start rounded-2xl border-[0.5px] border-[#E0E0E0] shadow-lg min-w-fit",
136
+ "bg-white max-w-fit w-[var(--radix-popover-trigger-width)] p-1 flex flex-col items-start rounded-2xl border-[1px] border-[#E0E0E0] shadow-lg min-w-fit",
137
137
  e
138
138
  ),
139
139
  ...o
@@ -222,7 +222,7 @@ function L({
222
222
  side: l,
223
223
  className: d(
224
224
  "min-w-md min-h-fit h-[var(--radix-popover-content-height)]",
225
- "bg-white w-full p-1 flex flex-col items-start rounded-2xl border-[0.5px] border-[#E0E0E0] shadow-lg",
225
+ "bg-white w-full p-1 flex flex-col items-start rounded-2xl border-[1px] border-[#E0E0E0] shadow-lg",
226
226
  e
227
227
  ),
228
228
  ...r
@@ -15,7 +15,7 @@ const d = _("", {
15
15
  "div",
16
16
  {
17
17
  className: e(
18
- "rounded-lg bg-input-surface-default flex items-center shadow-[inset_0_0_0_0.5px_theme(colors.input.stroke.default)] hover:shadow-[inset_0_0_0_0.5px_theme(colors.input.stroke.hover)] focus-within:shadow-[inset_0_0_0_0.5px_theme(colors.input.stroke.active),0_1px_2px_0_rgba(0,0,0,0.05)] focus-within:hover:shadow-[inset_0_0_0_0.5px_theme(colors.input.stroke.active),0_1px_2px_0_rgba(0,0,0,0.05)] has-[:disabled]:shadow-[inset_0_0_0_0.5px_theme(colors.input.stroke.disabled)]",
18
+ "rounded-lg bg-input-surface-default flex items-center shadow-[inset_0_0_0_1px_theme(colors.input.stroke.default)] hover:shadow-[inset_0_0_0_1px_theme(colors.input.stroke.hover)] focus-within:shadow-[inset_0_0_0_1px_theme(colors.input.stroke.active),0_1px_2px_0_rgba(0,0,0,0.05)] focus-within:hover:shadow-[inset_0_0_0_1px_theme(colors.input.stroke.active),0_1px_2px_0_rgba(0,0,0,0.05)] has-[:disabled]:shadow-[inset_0_0_0_1px_theme(colors.input.stroke.disabled)]",
19
19
  d({ size: s }),
20
20
  o
21
21
  ),
@@ -0,0 +1,2 @@
1
+ export { NumberBadge, numberBadgeVariants } from './number-badge';
2
+ export type { NumberBadgeProps } from './number-badge';
@@ -0,0 +1,10 @@
1
+ import { default as React } from 'react';
2
+ import { VariantProps } from 'class-variance-authority';
3
+ declare const numberBadgeVariants: (props?: ({
4
+ textColor?: "danger" | "neutral" | "brand" | null | undefined;
5
+ } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
6
+ export interface NumberBadgeProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof numberBadgeVariants> {
7
+ number: number;
8
+ }
9
+ declare const NumberBadge: React.ForwardRefExoticComponent<NumberBadgeProps & React.RefAttributes<HTMLSpanElement>>;
10
+ export { NumberBadge, numberBadgeVariants };
@@ -0,0 +1,27 @@
1
+ import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
+ import m from "react";
3
+ import { cva as d } from "class-variance-authority";
4
+ import { cn as o } from "../../lib/utils.js";
5
+ const i = d("inline-flex items-center leading-none-medium-sm", {
6
+ variants: {
7
+ textColor: {
8
+ neutral: "text-text-neutral-primary",
9
+ brand: "text-text-brand-secondary",
10
+ danger: "text-text-danger-secondary"
11
+ }
12
+ },
13
+ defaultVariants: {
14
+ textColor: "neutral"
15
+ }
16
+ }), x = m.forwardRef(
17
+ ({ className: t, textColor: r = "neutral", number: a, ...n }, s) => /* @__PURE__ */ l("span", { className: o(i({ textColor: r }), t), ref: s, ...n, children: [
18
+ /* @__PURE__ */ e("span", { className: "text-text-neutral-muted pr-[1px]", children: "[" }),
19
+ /* @__PURE__ */ e("span", { children: a }),
20
+ /* @__PURE__ */ e("span", { className: "text-text-neutral-muted pl-[1px]", children: "]" })
21
+ ] })
22
+ );
23
+ x.displayName = "NumberBadge";
24
+ export {
25
+ x as NumberBadge,
26
+ i as numberBadgeVariants
27
+ };
@@ -164,7 +164,7 @@ const Dt = ({
164
164
  r.Footer,
165
165
  {
166
166
  className: d(
167
- "flex-shrink-0 border-stroke-solid-light border-t-[0.5px] mt-[-2px]",
167
+ "flex-shrink-0 border-stroke-solid-light border-t-[1px] mt-[-2px]",
168
168
  n && "border",
169
169
  c && "rounded-b-xl",
170
170
  T
@@ -1,12 +1,12 @@
1
- import { jsx as e, jsxs as l } from "react/jsx-runtime";
2
- import * as r from "@radix-ui/react-tabs";
3
- import { cn as s } from "../../lib/utils.js";
4
- function o({ className: a, ...t }) {
1
+ import { jsx as e, jsxs as o } from "react/jsx-runtime";
2
+ import * as s from "@radix-ui/react-tabs";
3
+ import { cn as r } from "../../lib/utils.js";
4
+ function m({ className: a, ...t }) {
5
5
  return /* @__PURE__ */ e(
6
- r.Root,
6
+ s.Root,
7
7
  {
8
8
  "data-slot": "tabs",
9
- className: s(a),
9
+ className: r(a),
10
10
  orientation: "horizontal",
11
11
  ...t
12
12
  }
@@ -14,67 +14,97 @@ function o({ className: a, ...t }) {
14
14
  }
15
15
  function c({ className: a, ...t }) {
16
16
  return /* @__PURE__ */ e(
17
- r.List,
17
+ s.List,
18
18
  {
19
19
  "data-slot": "tabs-list",
20
- className: s(
20
+ className: r(
21
21
  "inline-flex items-center bg-transparent relative",
22
22
  "w-full h-11",
23
23
  "max-lg:w-full max-lg:max-w-[full] max-lg:overflow-x-auto max-lg:overflow-y-hidden",
24
24
  "max-sm:w-full max-sm:px-2",
25
- // 'after:absolute after:bottom-0 after:left-0 after:w-full after:h-0.5 after:bg-neutral-150',
26
25
  a
27
26
  ),
28
27
  ...t
29
28
  }
30
29
  );
31
30
  }
32
- function p({
31
+ function f({
33
32
  className: a,
34
33
  icon: t,
35
- label: i,
36
- ...n
34
+ label: n,
35
+ ...i
37
36
  }) {
38
- return /* @__PURE__ */ l(
39
- r.Trigger,
37
+ return /* @__PURE__ */ o(
38
+ s.Trigger,
40
39
  {
41
40
  "data-slot": "tabs-trigger",
42
- className: s(
41
+ className: r(
42
+ // Base positioning and layout
43
43
  "flex h-11 p-2.5 justify-center items-center gap-1 relative cursor-pointer",
44
44
  "max-lg:min-w-fit max-lg:flex-shrink-0",
45
45
  "max-sm:px-1.5 max-sm:py-2 max-sm:gap-0.5",
46
46
  "data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50",
47
47
  "group",
48
+ // Underline pseudo-element using Tailwind's after: utilities
49
+ 'after:content-[""] after:absolute after:left-1/2 after:bottom-0 after:-translate-x-1/2',
50
+ "after:w-[calc(100%-24px)] after:border-b after:border-stroke-solid-attention",
51
+ "after:opacity-0 after:transition-opacity after:duration-200 after:ease-linear after:z-10",
52
+ // Active state - show underline
53
+ "data-[state=active]:after:opacity-100",
48
54
  a
49
55
  ),
50
- ...n,
56
+ ...i,
51
57
  children: [
52
- t && /* @__PURE__ */ e("div", { className: "w-[14px] h-[14px] flex-shrink-0 flex items-center justify-center tab-icon", children: /* @__PURE__ */ e("div", { className: "w-[14px] h-[14px] [&>*]:!w-[14px] [&>*]:!h-[14px]", children: t }) }),
53
- i && /* @__PURE__ */ e("div", { className: "flex px-0.5 justify-center items-center gap-1.5 max-sm:px-0.25 max-sm:gap-1", children: /* @__PURE__ */ e(
58
+ t && /* @__PURE__ */ e(
59
+ "div",
60
+ {
61
+ className: r(
62
+ "w-[14px] h-[14px] flex-shrink-0 flex items-center justify-center transition-colors duration-200",
63
+ // Icon colors based on state
64
+ "text-text-neutral-secondary",
65
+ // Default inactive color
66
+ "group-data-[state=active]:text-text-neutral-primary",
67
+ // Active color
68
+ "group-hover:text-text-neutral-primary",
69
+ // Hover color
70
+ // Force icon size
71
+ "[&>*]:!w-[14px] [&>*]:!h-[14px]"
72
+ ),
73
+ children: t
74
+ }
75
+ ),
76
+ n && /* @__PURE__ */ e("div", { className: "flex px-0.5 justify-center items-center gap-1.5 max-sm:px-0.25 max-sm:gap-1", children: /* @__PURE__ */ e(
54
77
  "div",
55
78
  {
56
- className: s(
57
- "text-center font-[450] transition-colors duration-200 tab-label",
79
+ className: r(
80
+ "text-center font-[450] transition-colors duration-200",
58
81
  "text-sm leading-none tracking-[-0.2px]",
59
82
  "max-lg:text-[13px]",
60
- "max-sm:text-xs"
83
+ "max-sm:text-xs",
84
+ // Label colors based on state
85
+ "text-text-neutral-secondary",
86
+ // Default inactive color
87
+ "group-data-[state=active]:text-text-neutral-primary",
88
+ // Active color
89
+ "group-hover:text-text-neutral-primary"
90
+ // Hover color
61
91
  ),
62
- children: i
92
+ children: n
63
93
  }
64
94
  ) })
65
95
  ]
66
96
  }
67
97
  );
68
98
  }
69
- function d({
99
+ function p({
70
100
  className: a,
71
101
  ...t
72
102
  }) {
73
- return /* @__PURE__ */ e(r.Content, { "data-slot": "tabs-content", className: s(a), ...t });
103
+ return /* @__PURE__ */ e(s.Content, { "data-slot": "tabs-content", className: r(a), ...t });
74
104
  }
75
105
  export {
76
- o as Z2Tabs,
77
- d as Z2TabsContent,
106
+ m as Z2Tabs,
107
+ p as Z2TabsContent,
78
108
  c as Z2TabsList,
79
- p as Z2TabsTrigger
109
+ f as Z2TabsTrigger
80
110
  };
@@ -66,7 +66,7 @@ const ft = ({
66
66
  "div",
67
67
  {
68
68
  className: r(
69
- "flex flex-col gap-2.5 items-center hover:bg-background-neutral-light h-full min-w-full leading-none-medium-sm p-3",
69
+ "flex flex-col gap-2.5 items-center h-full min-w-full leading-none-medium-sm p-3",
70
70
  s
71
71
  ),
72
72
  children: [
@@ -1,10 +1,10 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import { cn as l } from "../../../../lib/utils.js";
3
- const i = ({ value: e, className: t }) => /* @__PURE__ */ r(
3
+ const o = ({ value: e, className: t }) => /* @__PURE__ */ r(
4
4
  "div",
5
5
  {
6
6
  className: l(
7
- "text-text-neutral-secondary p-3 w-full h-full items-center flex hover:bg-background-neutral-light",
7
+ "text-text-neutral-secondary p-3 w-full h-full items-center flex",
8
8
  "leading-[24px] text-[14px]",
9
9
  t
10
10
  ),
@@ -12,5 +12,5 @@ const i = ({ value: e, className: t }) => /* @__PURE__ */ r(
12
12
  }
13
13
  );
14
14
  export {
15
- i as DescriptionCell
15
+ o as DescriptionCell
16
16
  };
@@ -2,19 +2,19 @@ import { jsxs as e, jsx as l } from "react/jsx-runtime";
2
2
  import "react";
3
3
  import { cn as a } from "../../../../lib/utils.js";
4
4
  const u = ({
5
- value: i,
5
+ value: r,
6
6
  leftIcon: n,
7
- rightIcon: t,
7
+ rightIcon: m,
8
8
  className: c,
9
- helperText: m,
9
+ helperText: t,
10
10
  description: s
11
11
  }) => {
12
- const r = "min-h-max min-w-max";
12
+ const i = "min-h-max min-w-max";
13
13
  return /* @__PURE__ */ e(
14
14
  "div",
15
15
  {
16
16
  className: a(
17
- "flex flex-row gap-2.5 items-center hover:bg-background-neutral-light h-full min-w-full leading-none-medium-sm p-3",
17
+ "flex flex-row gap-2.5 items-center h-full min-w-full leading-none-medium-sm p-3",
18
18
  s && "flex-col",
19
19
  c
20
20
  ),
@@ -27,12 +27,12 @@ const u = ({
27
27
  ),
28
28
  children: [
29
29
  /* @__PURE__ */ e("div", { className: "flex items-center gap-2.5 h-full", children: [
30
- n && /* @__PURE__ */ l("span", { className: a(r), children: n }),
31
- i
30
+ n && /* @__PURE__ */ l("span", { className: a(i), children: n }),
31
+ r
32
32
  ] }),
33
33
  /* @__PURE__ */ e("div", { className: "flex items-center gap-2.5", children: [
34
- m && /* @__PURE__ */ l("span", { className: "text-text-neutral-secondary", children: m }),
35
- t && /* @__PURE__ */ l("span", { className: a(r), children: t })
34
+ t && /* @__PURE__ */ l("span", { className: "text-text-neutral-secondary", children: t }),
35
+ m && /* @__PURE__ */ l("span", { className: a(i), children: m })
36
36
  ] })
37
37
  ]
38
38
  }
@@ -1,36 +1,36 @@
1
- import { jsxs as s, jsx as a } from "react/jsx-runtime";
1
+ import { jsxs as r, jsx as m } from "react/jsx-runtime";
2
2
  import "react";
3
3
  import { cn as e } from "../../../../lib/utils.js";
4
- const x = ({
5
- value: i,
6
- href: m,
4
+ const d = ({
5
+ value: a,
6
+ href: i,
7
7
  target: t = "_self",
8
8
  leftIcon: n,
9
- rightIcon: r,
10
- className: o,
11
- LinkComponent: c = "a"
9
+ rightIcon: s,
10
+ className: c,
11
+ LinkComponent: o = "a"
12
12
  }) => {
13
13
  const l = "min-h-max min-w-max";
14
- return /* @__PURE__ */ s(
15
- c,
14
+ return /* @__PURE__ */ r(
15
+ o,
16
16
  {
17
- href: m,
17
+ href: i,
18
18
  target: t,
19
19
  rel: "noopener noreferrer",
20
20
  className: e(
21
- "text-text-brand-secondary p-3 leading-none-medium-sm flex flex-row justify-between hover:bg-background-neutral-light gap-2.5 min-w-full min-h-full items-center",
22
- o
21
+ "text-text-brand-secondary p-3 leading-none-medium-sm flex flex-row justify-between gap-2.5 min-w-full min-h-full items-center",
22
+ c
23
23
  ),
24
24
  children: [
25
- /* @__PURE__ */ s("div", { className: "flex items-center gap-2.5 h-full", children: [
26
- n && /* @__PURE__ */ a("span", { className: e(l), children: n }),
27
- i
25
+ /* @__PURE__ */ r("div", { className: "flex items-center gap-2.5 h-full", children: [
26
+ n && /* @__PURE__ */ m("span", { className: e(l), children: n }),
27
+ a
28
28
  ] }),
29
- r && /* @__PURE__ */ a("span", { className: e(l), children: r })
29
+ s && /* @__PURE__ */ m("span", { className: e(l), children: s })
30
30
  ]
31
31
  }
32
32
  );
33
33
  };
34
34
  export {
35
- x as LinkCell
35
+ d as LinkCell
36
36
  };
@@ -1,35 +1,35 @@
1
- import { jsx as e, jsxs as a } from "react/jsx-runtime";
1
+ import { jsx as e, jsxs as l } from "react/jsx-runtime";
2
2
  import "react";
3
- import { cn as l } from "../../../../lib/utils.js";
4
- const u = ({
5
- value: r,
6
- leftIcon: s,
3
+ import { cn as s } from "../../../../lib/utils.js";
4
+ const x = ({
5
+ value: t,
6
+ leftIcon: a,
7
7
  rightIcon: n,
8
- className: t,
8
+ className: r,
9
9
  helperText: i
10
10
  }) => {
11
11
  const m = "min-h-max min-w-max";
12
12
  return /* @__PURE__ */ e(
13
13
  "div",
14
14
  {
15
- className: l(
16
- "flex gap-2.5 items-center hover:bg-background-neutral-light h-full min-w-full leading-none-medium-sm p-3",
17
- t
15
+ className: s(
16
+ "flex gap-2.5 items-center h-full min-w-full leading-none-medium-sm p-3",
17
+ r
18
18
  ),
19
- children: /* @__PURE__ */ a(
19
+ children: /* @__PURE__ */ l(
20
20
  "div",
21
21
  {
22
- className: l(
22
+ className: s(
23
23
  "text-text-neutral-primary flex justify-between gap-2.5 min-w-full items-center"
24
24
  ),
25
25
  children: [
26
- /* @__PURE__ */ a("div", { className: "flex items-center gap-2.5 h-full", children: [
27
- s && /* @__PURE__ */ e("span", { className: l(m), children: s }),
26
+ /* @__PURE__ */ l("div", { className: "flex items-center gap-2.5 h-full", children: [
27
+ a && /* @__PURE__ */ e("span", { className: s(m), children: a }),
28
28
  i && /* @__PURE__ */ e("span", { className: "text-text-neutral-secondary", children: i })
29
29
  ] }),
30
- /* @__PURE__ */ a("div", { className: "flex items-center gap-2.5", children: [
31
- r,
32
- n && /* @__PURE__ */ e("span", { className: l(m), children: n })
30
+ /* @__PURE__ */ l("div", { className: "flex items-center gap-2.5", children: [
31
+ t,
32
+ n && /* @__PURE__ */ e("span", { className: s(m), children: n })
33
33
  ] })
34
34
  ]
35
35
  }
@@ -38,5 +38,5 @@ const u = ({
38
38
  );
39
39
  };
40
40
  export {
41
- u as NumberCell
41
+ x as NumberCell
42
42
  };
@@ -24,7 +24,7 @@ export declare const TABLE_CSS_CLASSES: {
24
24
  readonly headerCellContent: "flex items-center justify-between";
25
25
  readonly sortIcon: "ml-2 w-4 h-4 text-gray-400";
26
26
  readonly sortIconActive: "ml-2 w-4 h-4 text-gray-600";
27
- readonly row: " transition-colors duration-200 text-text-neutral-primary";
27
+ readonly row: " transition-colors duration-200 text-text-neutral-primary hover:bg-background-neutral-light";
28
28
  readonly emptyState: "px-4 py-8 text-center text-gray-500";
29
29
  readonly dataErrorState: "px-4 py-8 text-center text-text-danger-primary";
30
30
  readonly loading: "px-4 py-8 text-center text-gray-500";
@@ -23,7 +23,7 @@ const t = "No data available", e = {
23
23
  headerCellContent: "flex items-center justify-between",
24
24
  sortIcon: "ml-2 w-4 h-4 text-gray-400",
25
25
  sortIconActive: "ml-2 w-4 h-4 text-gray-600",
26
- row: " transition-colors duration-200 text-text-neutral-primary",
26
+ row: " transition-colors duration-200 text-text-neutral-primary hover:bg-background-neutral-light",
27
27
  emptyState: "px-4 py-8 text-center text-gray-500",
28
28
  dataErrorState: "px-4 py-8 text-center text-text-danger-primary",
29
29
  loading: "px-4 py-8 text-center text-gray-500"