@konstructio/ui 0.1.2-alpha.47 → 0.1.2-alpha.49

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 (29) hide show
  1. package/dist/assets/icons/index.js +7 -0
  2. package/dist/components/Badge/Badge.js +36 -35
  3. package/dist/components/Counter/Counter.js +23 -23
  4. package/dist/components/ImageUpload/ImageUpload.js +8 -8
  5. package/dist/components/Input/Input.js +185 -118
  6. package/dist/components/Input/Input.variants.js +16 -20
  7. package/dist/components/MultiSelectDropdown/MultiSelectDropdown.js +19 -19
  8. package/dist/components/MultiSelectDropdown/MultiSelectDropdown.variants.js +11 -15
  9. package/dist/components/MultiSelectDropdown/components/Item/Item.js +18 -26
  10. package/dist/components/MultiSelectDropdown/components/Item/Item.variants.js +8 -8
  11. package/dist/components/MultiSelectDropdown/components/List/List.js +12 -19
  12. package/dist/components/MultiSelectDropdown/components/List/List.variants.js +6 -4
  13. package/dist/components/MultiSelectDropdown/components/Wrapper/Wrapper.js +79 -65
  14. package/dist/components/PhoneNumberInput/components/Wrapper.js +43 -36
  15. package/dist/components/RadioGroup/RadioGroup.js +9 -9
  16. package/dist/components/Select/components/Wrapper.js +1 -1
  17. package/dist/components/TimePicker/components/Wrapper/Wrapper.js +1 -1
  18. package/dist/components/Typography/Typography.variants.js +6 -1
  19. package/dist/components/VirtualizedTable/VirtualizedTable.js +14 -14
  20. package/dist/components/VirtualizedTable/components/Actions/Actions.js +20 -16
  21. package/dist/components/VirtualizedTable/components/DotPaginate/DotPaginate.js +60 -60
  22. package/dist/components/VirtualizedTable/components/DropdownPaginate/DropdownPaginate.js +8 -8
  23. package/dist/components/VirtualizedTable/components/FormPaginate/FormPaginate.js +32 -21
  24. package/dist/components/VirtualizedTable/components/Header/Header.js +15 -15
  25. package/dist/components/VirtualizedTable/components/Pagination/Pagination.js +8 -8
  26. package/dist/index.d.ts +1875 -10
  27. package/dist/package.json +4 -4
  28. package/dist/styles.css +1 -1
  29. package/package.json +4 -4
@@ -14,11 +14,11 @@ const J = ({
14
14
  ariaLabel: p,
15
15
  columns: d,
16
16
  data: f,
17
- totalItems: b = -1 / 0,
18
- className: u,
17
+ totalItems: u = -1 / 0,
18
+ className: b,
19
19
  classNameHeaderActiveArrows: T,
20
- classNameHeaderArrows: x,
21
- classNameHeaderTable: N,
20
+ classNameHeaderArrows: N,
21
+ classNameHeaderTable: x,
22
22
  classNameTable: A,
23
23
  classNameWrapperTable: y,
24
24
  isLoading: a,
@@ -26,8 +26,8 @@ const J = ({
26
26
  queryOptions: z,
27
27
  // Pagination
28
28
  showPagination: B,
29
- showTotalItems: i,
30
- showDropdownPagination: t,
29
+ showTotalItems: t,
30
+ showDropdownPagination: i,
31
31
  showDotPagination: l,
32
32
  showFormPagination: m,
33
33
  pageSizes: V,
@@ -42,8 +42,8 @@ const J = ({
42
42
  }) => {
43
43
  const e = I(
44
44
  () => B || [
45
- i,
46
45
  t,
46
+ i,
47
47
  l,
48
48
  m
49
49
  ].some(Boolean),
@@ -56,10 +56,10 @@ const J = ({
56
56
  columns: d,
57
57
  data: f,
58
58
  fetchData: h,
59
- totalItems: b,
59
+ totalItems: u,
60
60
  queryOptions: z,
61
61
  isPaginationEnabled: e,
62
- children: /* @__PURE__ */ s("section", { className: c("w-full min-w-fit", u), children: [
62
+ children: /* @__PURE__ */ s("section", { className: c("w-full min-w-fit", b), children: [
63
63
  j && /* @__PURE__ */ r(
64
64
  M,
65
65
  {
@@ -81,7 +81,7 @@ const J = ({
81
81
  "table",
82
82
  {
83
83
  className: c(
84
- "w-full border-collapse table-fixed",
84
+ "w-full border-collapse table-auto",
85
85
  "dark:border-separate dark:border-spacing-0",
86
86
  A
87
87
  ),
@@ -90,8 +90,8 @@ const J = ({
90
90
  /* @__PURE__ */ r(
91
91
  g,
92
92
  {
93
- className: N,
94
- classNameArrows: x,
93
+ className: x,
94
+ classNameArrows: N,
95
95
  classNameActiveArrows: T
96
96
  }
97
97
  ),
@@ -104,8 +104,8 @@ const J = ({
104
104
  e && /* @__PURE__ */ r(
105
105
  C,
106
106
  {
107
- showTotalItems: i,
108
- showDropdownPagination: t,
107
+ showTotalItems: t,
108
+ showDropdownPagination: i,
109
109
  showDotPagination: l,
110
110
  showFormPagination: m,
111
111
  pageSizes: V,
@@ -1,17 +1,17 @@
1
- import { jsxs as i, jsx as r } from "react/jsx-runtime";
1
+ import { jsxs as l, jsx as r } from "react/jsx-runtime";
2
2
  import { Button as a } from "../../../Button/Button.js";
3
3
  import { cn as e } from "../../../../utils/index.js";
4
- import { E as m } from "../../../../ellipsis-vertical-BVPtjl5f.js";
4
+ import { E as u } from "../../../../ellipsis-vertical-BVPtjl5f.js";
5
5
  const b = ({
6
- actions: t,
7
- wrapperClassName: l,
6
+ actions: o,
7
+ wrapperClassName: i,
8
8
  triggerButtonClassName: n,
9
9
  iconTriggerButtonClassName: s,
10
10
  wrapperActionsClassName: d,
11
- wrapperContentActionsClassName: c,
12
- ...h
13
- }) => t ? /* @__PURE__ */ i("div", { className: e("relative group", l), children: [
14
- /* @__PURE__ */ i(
11
+ wrapperContentActionsClassName: h,
12
+ ...c
13
+ }) => o ? /* @__PURE__ */ l("div", { className: e("relative group", i), children: [
14
+ /* @__PURE__ */ l(
15
15
  a,
16
16
  {
17
17
  variant: "link",
@@ -29,7 +29,7 @@ const b = ({
29
29
  role: "presentation",
30
30
  children: [
31
31
  /* @__PURE__ */ r(
32
- m,
32
+ u,
33
33
  {
34
34
  "aria-hidden": "true",
35
35
  className: e("w-7 h-7", s)
@@ -65,9 +65,11 @@ const b = ({
65
65
  "border-zinc-100",
66
66
  "animate-in",
67
67
  "fade-in-0",
68
- c
68
+ "dark:bg-metal-800",
69
+ "dark:border-metal-700",
70
+ h
69
71
  ),
70
- children: t.map(({ label: o, className: p, onClick: u }) => /* @__PURE__ */ r(
72
+ children: o.map(({ label: t, className: m, onClick: p }) => /* @__PURE__ */ r(
71
73
  a,
72
74
  {
73
75
  className: e(
@@ -81,18 +83,20 @@ const b = ({
81
83
  "text-sm",
82
84
  "font-normal",
83
85
  "justify-start",
84
- "hover:bg-gray-50",
85
- "hover:text-slate-800",
86
86
  "rounded-none",
87
87
  "px-6",
88
- p
88
+ "hover:bg-gray-50",
89
+ "hover:text-slate-800",
90
+ "hover:no-underline",
91
+ "dark:hover:bg-metal-700",
92
+ m
89
93
  ),
90
94
  variant: "link",
91
95
  asChild: !0,
92
96
  role: "presentation",
93
- children: /* @__PURE__ */ r(a, { onClick: () => u(h.row.original), children: o })
97
+ children: /* @__PURE__ */ r(a, { onClick: () => p(c.row.original), children: t })
94
98
  },
95
- o
99
+ t
96
100
  ))
97
101
  }
98
102
  )
@@ -3,162 +3,162 @@ import { memo as u } from "react";
3
3
  import { cn as p } from "../../../../utils/index.js";
4
4
  import { C as m, a as g } from "../../../../chevron-right-DYvXLeql.js";
5
5
  import { useTableContext as f } from "../../contexts/table.hook.js";
6
- const a = u(
6
+ const l = u(
7
7
  ({
8
- index: e,
9
- currentPage: t,
8
+ index: t,
9
+ currentPage: e,
10
10
  handlePage: i
11
11
  }) => /* @__PURE__ */ s("li", { children: /* @__PURE__ */ s(
12
12
  "button",
13
13
  {
14
14
  type: "button",
15
- onClick: () => i(e),
15
+ onClick: () => i(t),
16
16
  className: p(
17
17
  "px-2.5 py-1 rounded-lg text-blue-600 cursor-pointer dark:text-aurora-500",
18
18
  {
19
- "bg-blue-600 text-white dark:bg-aurora-500 dark:text-metal-800": e === t
19
+ "bg-blue-600 text-white font-semibold dark:bg-aurora-500 dark:text-metal-800": t === e
20
20
  }
21
21
  ),
22
- children: e + 1
22
+ children: t + 1
23
23
  }
24
- ) }, e)
24
+ ) }, t)
25
25
  );
26
- a.displayName = "PageButton";
27
- const n = u(({ keyValue: e }) => /* @__PURE__ */ s("li", { className: "px-2", children: /* @__PURE__ */ s("span", { className: "text-blue-600 select-none dark:text-aurora-500", children: "..." }) }, e));
28
- n.displayName = "Ellipsis";
26
+ l.displayName = "KonstructPageButton";
27
+ const a = u(({ keyValue: t }) => /* @__PURE__ */ s("li", { className: "px-2", children: /* @__PURE__ */ s("span", { className: "text-blue-600 select-none dark:text-aurora-500", children: "..." }) }, t));
28
+ a.displayName = "KonstructEllipsis";
29
29
  const o = u(
30
30
  ({
31
- direction: e,
32
- onClick: t,
33
- disabled: i
34
- }) => /* @__PURE__ */ s("li", { className: "flex items-center justify-center", children: /* @__PURE__ */ s("button", { onClick: t, disabled: i, children: /* @__PURE__ */ s(
35
- e === "left" ? m : g,
31
+ direction: t,
32
+ disabled: e,
33
+ onClick: i
34
+ }) => /* @__PURE__ */ s("li", { className: "flex items-center justify-center", children: /* @__PURE__ */ s("button", { onClick: i, disabled: e, children: /* @__PURE__ */ s(
35
+ t === "left" ? m : g,
36
36
  {
37
37
  className: p("h-6 w-6 cursor-pointer", {
38
- "text-blue-600 dark:text-aurora-500": !i,
39
- "text-slate-400 cursor-not-allowed": i
38
+ "text-blue-600 dark:text-aurora-500": !e,
39
+ "text-slate-400 cursor-not-allowed": e
40
40
  })
41
41
  }
42
42
  ) }) })
43
43
  );
44
- o.displayName = "NavigationButton";
44
+ o.displayName = "KonstructNavigationButton";
45
45
  const N = () => {
46
- const { totalPages: e, page: t, handlePage: i } = f();
46
+ const { totalPages: t, page: e, handlePage: i } = f();
47
47
  return /* @__PURE__ */ h("ul", { className: "flex items-center gap-2", children: [
48
48
  /* @__PURE__ */ s(
49
49
  o,
50
50
  {
51
51
  direction: "left",
52
- onClick: () => i(t - 1),
53
- disabled: t === 0
52
+ onClick: () => i(e - 1),
53
+ disabled: e === 0
54
54
  }
55
55
  ),
56
56
  (() => {
57
- if (e <= 5)
58
- return Array.from({ length: e }, (r, c) => /* @__PURE__ */ s(
59
- a,
57
+ if (t <= 5)
58
+ return Array.from({ length: t }, (r, c) => /* @__PURE__ */ s(
59
+ l,
60
60
  {
61
61
  index: c,
62
- currentPage: t,
62
+ currentPage: e,
63
63
  handlePage: i
64
64
  },
65
65
  c
66
66
  ));
67
- const l = [];
68
- if (t < 3) {
67
+ const n = [];
68
+ if (e < 3) {
69
69
  for (let r = 0; r < 3; r++)
70
- l.push(
70
+ n.push(
71
71
  /* @__PURE__ */ s(
72
- a,
72
+ l,
73
73
  {
74
74
  index: r,
75
- currentPage: t,
75
+ currentPage: e,
76
76
  handlePage: i
77
77
  },
78
78
  r
79
79
  )
80
80
  );
81
- l.push(/* @__PURE__ */ s(n, { keyValue: "ellipsis" }, "ellipsis"));
82
- for (let r = e - 2; r < e; r++)
83
- l.push(
81
+ n.push(/* @__PURE__ */ s(a, { keyValue: "ellipsis" }, "ellipsis"));
82
+ for (let r = t - 2; r < t; r++)
83
+ n.push(
84
84
  /* @__PURE__ */ s(
85
- a,
85
+ l,
86
86
  {
87
87
  index: r,
88
- currentPage: t,
88
+ currentPage: e,
89
89
  handlePage: i
90
90
  },
91
91
  r
92
92
  )
93
93
  );
94
- } else if (t >= e - 5) {
95
- l.push(
94
+ } else if (e >= t - 5) {
95
+ n.push(
96
96
  /* @__PURE__ */ s(
97
- a,
97
+ l,
98
98
  {
99
99
  index: 0,
100
- currentPage: t,
100
+ currentPage: e,
101
101
  handlePage: i
102
102
  },
103
103
  0
104
104
  )
105
- ), e > 6 && l.push(/* @__PURE__ */ s(n, { keyValue: "ellipsis" }, "ellipsis"));
106
- for (let r = Math.max(1, e - 5); r < e; r++)
107
- l.push(
105
+ ), t > 6 && n.push(/* @__PURE__ */ s(a, { keyValue: "ellipsis" }, "ellipsis"));
106
+ for (let r = Math.max(1, t - 5); r < t; r++)
107
+ n.push(
108
108
  /* @__PURE__ */ s(
109
- a,
109
+ l,
110
110
  {
111
111
  index: r,
112
- currentPage: t,
112
+ currentPage: e,
113
113
  handlePage: i
114
114
  },
115
115
  r
116
116
  )
117
117
  );
118
118
  } else {
119
- l.push(
119
+ n.push(
120
120
  /* @__PURE__ */ s(
121
- a,
121
+ l,
122
122
  {
123
123
  index: 0,
124
- currentPage: t,
124
+ currentPage: e,
125
125
  handlePage: i
126
126
  },
127
127
  0
128
128
  )
129
- ), t > 3 && l.push(/* @__PURE__ */ s(n, { keyValue: "ellipsis1" }, "ellipsis1"));
130
- for (let r = t - 1; r <= t + 1; r++)
131
- r > 0 && r < e - 1 && l.push(
129
+ ), e > 3 && n.push(/* @__PURE__ */ s(a, { keyValue: "ellipsis1" }, "ellipsis1"));
130
+ for (let r = e - 1; r <= e + 1; r++)
131
+ r > 0 && r < t - 1 && n.push(
132
132
  /* @__PURE__ */ s(
133
- a,
133
+ l,
134
134
  {
135
135
  index: r,
136
- currentPage: t,
136
+ currentPage: e,
137
137
  handlePage: i
138
138
  },
139
139
  r
140
140
  )
141
141
  );
142
- t < e - 4 && l.push(/* @__PURE__ */ s(n, { keyValue: "ellipsis2" }, "ellipsis2")), l.push(
142
+ e < t - 4 && n.push(/* @__PURE__ */ s(a, { keyValue: "ellipsis2" }, "ellipsis2")), n.push(
143
143
  /* @__PURE__ */ s(
144
- a,
144
+ l,
145
145
  {
146
- index: e - 1,
147
- currentPage: t,
146
+ index: t - 1,
147
+ currentPage: e,
148
148
  handlePage: i
149
149
  },
150
- e - 1
150
+ t - 1
151
151
  )
152
152
  );
153
153
  }
154
- return l;
154
+ return n;
155
155
  })(),
156
156
  /* @__PURE__ */ s(
157
157
  o,
158
158
  {
159
159
  direction: "right",
160
- onClick: () => i(t + 1),
161
- disabled: t >= e - 1
160
+ onClick: () => i(e + 1),
161
+ disabled: e >= t - 1
162
162
  }
163
163
  )
164
164
  ] });
@@ -2,12 +2,12 @@ import { jsxs as i, jsx as o } from "react/jsx-runtime";
2
2
  import { useMemo as l, useCallback as p } from "react";
3
3
  import { Select as c } from "../../../Select/Select.js";
4
4
  import { DEFAULT_PAGE_SIZES as g } from "../../constants/pagination.js";
5
- import { useTableContext as x } from "../../contexts/table.hook.js";
5
+ import { useTableContext as d } from "../../contexts/table.hook.js";
6
6
  const u = ({
7
- pageSizes: r = g
7
+ pageSizes: m = g
8
8
  }) => {
9
- const { pageSize: s, onPageSize: t, handlePage: a } = x(), m = l(
10
- () => r.map(String).map((e) => ({ label: e, value: e })),
9
+ const { pageSize: r, onPageSize: t, handlePage: a } = d(), s = l(
10
+ () => m.map(String).map((e) => ({ label: e, value: e })),
11
11
  []
12
12
  ), n = p(
13
13
  (e) => {
@@ -20,10 +20,10 @@ const u = ({
20
20
  /* @__PURE__ */ o(
21
21
  c,
22
22
  {
23
- className: "w-22 [&>div>p]:text-xs bg-white",
24
- listItemClassName: "[&>p]:text-xs dark:bg-metal-800",
25
- options: m,
26
- value: s.toString(),
23
+ className: "w-22 [&>div>p]:text-sm bg-white",
24
+ listItemClassName: "[&>p]:text-sm dark:bg-metal-800",
25
+ options: s,
26
+ value: r.toString(),
27
27
  onChange: ({ target: e }) => n(e.value)
28
28
  }
29
29
  )
@@ -1,42 +1,53 @@
1
- import { jsxs as u, jsx as t } from "react/jsx-runtime";
2
- import { useRef as i, useCallback as p } from "react";
1
+ import { jsxs as p, jsx as e } from "react/jsx-runtime";
2
+ import { useRef as u, useCallback as l } from "react";
3
3
  import { Input as c } from "../../../Input/Input.js";
4
- import { useTableContext as f } from "../../contexts/table.hook.js";
5
- const k = () => {
6
- const r = i(null), { totalPages: e, handlePage: a } = f(), n = p(
7
- (o) => {
8
- o.preventDefault();
9
- const s = new FormData(o.currentTarget), m = Number(s.get("jump-to")), l = (m < e ? m : e) || 1;
10
- a(l - 1), r.current?.reset();
4
+ import { Typography as f } from "../../../Typography/Typography.js";
5
+ import { Button as g } from "../../../Button/Button.js";
6
+ import { useTableContext as x } from "../../contexts/table.hook.js";
7
+ const y = () => {
8
+ const o = u(null), { totalPages: t, handlePage: r } = x(), m = l(
9
+ (a) => {
10
+ a.preventDefault();
11
+ const s = new FormData(a.currentTarget), n = Number(s.get("jump-to")), i = (n < t ? n : t) || 1;
12
+ r(i - 1), o.current?.reset();
11
13
  },
12
- [a, e]
14
+ [r, t]
13
15
  );
14
- return /* @__PURE__ */ u(
16
+ return /* @__PURE__ */ p(
15
17
  "form",
16
18
  {
17
19
  "aria-label": "footer-pagination",
18
- ref: r,
19
- onSubmit: n,
20
+ ref: o,
21
+ onSubmit: m,
20
22
  className: "flex items-center gap-2",
23
+ noValidate: !0,
21
24
  children: [
22
- /* @__PURE__ */ t("span", { className: "min-w-fit dark:text-metal-300", children: "Jump to" }),
23
- /* @__PURE__ */ t(
25
+ /* @__PURE__ */ e(
26
+ f,
27
+ {
28
+ component: "span",
29
+ className: "text-sm min-w-fit tracking-normal",
30
+ children: "Jump to"
31
+ }
32
+ ),
33
+ /* @__PURE__ */ e(
24
34
  c,
25
35
  {
26
36
  type: "number",
27
- className: "w-18 text-xs no-spinner dark:bg-metal-800 dark:border-metal-700 dark:text-metal-300",
37
+ className: "w-18 text-sm no-spinner",
28
38
  name: "jump-to",
29
39
  min: 1,
30
- max: e,
40
+ max: t,
31
41
  required: !0,
32
42
  autoComplete: "off"
33
43
  }
34
44
  ),
35
- /* @__PURE__ */ t(
36
- "button",
45
+ /* @__PURE__ */ e(
46
+ g,
37
47
  {
48
+ variant: "link",
38
49
  type: "submit",
39
- className: "text-xs text-blue-600 p-2 cursor-pointer dark:text-aurora-500",
50
+ className: "text-xs p-2 cursor-pointer",
40
51
  children: "Go"
41
52
  }
42
53
  )
@@ -45,5 +56,5 @@ const k = () => {
45
56
  );
46
57
  };
47
58
  export {
48
- k as FormPaginate
59
+ y as FormPaginate
49
60
  };
@@ -1,6 +1,6 @@
1
- import { jsx as r, jsxs as l } from "react/jsx-runtime";
1
+ import { jsx as r, jsxs as d } from "react/jsx-runtime";
2
2
  import { f as b } from "../../../../index-CSWGJT-v.js";
3
- import { useCallback as d } from "react";
3
+ import { useCallback as l } from "react";
4
4
  import { cn as a } from "../../../../utils/index.js";
5
5
  import g from "../../assets/chevron-up.js";
6
6
  import u from "../../assets/chevron-down.js";
@@ -8,14 +8,14 @@ import { useTableContext as k } from "../../contexts/table.hook.js";
8
8
  const y = ({
9
9
  className: n,
10
10
  classNameArrows: i,
11
- classNameActiveArrows: o
11
+ classNameActiveArrows: s
12
12
  }) => {
13
- const { table: c, onSorting: s } = k(), m = d(
14
- (t) => s([{ id: t.id, desc: !1 }]),
15
- [s]
16
- ), p = d(
17
- (t) => s([{ id: t.id, desc: !0 }]),
18
- [s]
13
+ const { table: c, onSorting: o } = k(), m = l(
14
+ (t) => o([{ id: t.id, desc: !1 }]),
15
+ [o]
16
+ ), p = l(
17
+ (t) => o([{ id: t.id, desc: !0 }]),
18
+ [o]
19
19
  );
20
20
  return /* @__PURE__ */ r(
21
21
  "thead",
@@ -50,9 +50,9 @@ const y = ({
50
50
  "dark:last:border-r",
51
51
  e.columnDef.meta?.headerClassName
52
52
  ),
53
- children: /* @__PURE__ */ l("span", { className: "flex items-center gap-2 w-full", children: [
53
+ children: /* @__PURE__ */ d("span", { className: "flex items-center gap-2 w-full", children: [
54
54
  b(e.columnDef.header, h()),
55
- e.getCanSort() && /* @__PURE__ */ l(
55
+ e.getCanSort() && /* @__PURE__ */ d(
56
56
  "div",
57
57
  {
58
58
  className: a(
@@ -67,9 +67,9 @@ const y = ({
67
67
  className: a(
68
68
  "w-2 h-2 cursor-pointer",
69
69
  {
70
- "text-blue-600": e.getIsSorted() === "asc"
70
+ "text-blue-600 dark:text-aurora-500": e.getIsSorted() === "asc"
71
71
  },
72
- o
72
+ s
73
73
  ),
74
74
  onClick: () => m(e)
75
75
  }
@@ -80,9 +80,9 @@ const y = ({
80
80
  className: a(
81
81
  "w-2 h-2 cursor-pointer",
82
82
  {
83
- "text-blue-600": e.getIsSorted() === "desc"
83
+ "text-blue-600 dark:text-aurora-500": e.getIsSorted() === "desc"
84
84
  },
85
- o
85
+ s
86
86
  ),
87
87
  onClick: () => p(e)
88
88
  }
@@ -1,6 +1,6 @@
1
- import { jsxs as t, Fragment as p, jsx as e } from "react/jsx-runtime";
2
- import { DotPaginate as x } from "../DotPaginate/DotPaginate.js";
3
- import { DropdownPaginate as f } from "../DropdownPaginate/DropdownPaginate.js";
1
+ import { jsxs as t, Fragment as f, jsx as e } from "react/jsx-runtime";
2
+ import { DotPaginate as p } from "../DotPaginate/DotPaginate.js";
3
+ import { DropdownPaginate as x } from "../DropdownPaginate/DropdownPaginate.js";
4
4
  import { FormPaginate as u } from "../FormPaginate/FormPaginate.js";
5
5
  import { cn as b } from "../../../../utils/index.js";
6
6
  import { useTableContext as g } from "../../contexts/table.hook.js";
@@ -19,7 +19,7 @@ const j = ({
19
19
  tableFetching: d,
20
20
  isFirstLoad: c
21
21
  } = g();
22
- return r <= h || d || o ? null : /* @__PURE__ */ t(p, { children: [
22
+ return r <= h || d || o ? null : /* @__PURE__ */ t(f, { children: [
23
23
  /* @__PURE__ */ e(
24
24
  "div",
25
25
  {
@@ -29,7 +29,7 @@ const j = ({
29
29
  "border-y-transparent",
30
30
  "border-x-slate-100",
31
31
  "text-slate-500",
32
- "text-xs",
32
+ "text-sm",
33
33
  "not-italic",
34
34
  "py-2",
35
35
  "px-6",
@@ -49,16 +49,16 @@ const j = ({
49
49
  r,
50
50
  " Results"
51
51
  ] }) : null,
52
- i && /* @__PURE__ */ e("div", { className: "flex items-center gap-2", children: /* @__PURE__ */ e(f, { pageSizes: s }) })
52
+ i && /* @__PURE__ */ e("div", { className: "flex items-center gap-2", children: /* @__PURE__ */ e(x, { pageSizes: s }) })
53
53
  ] }),
54
54
  /* @__PURE__ */ t("div", { className: "flex items-center gap-8", children: [
55
- n && /* @__PURE__ */ e(x, {}),
55
+ n && /* @__PURE__ */ e(p, {}),
56
56
  l && /* @__PURE__ */ e(u, {})
57
57
  ] })
58
58
  ] })
59
59
  }
60
60
  ),
61
- /* @__PURE__ */ e("div", { className: "w-full min-h-[150px]" })
61
+ /* @__PURE__ */ e("div", { className: "w-full min-h-37.5" })
62
62
  ] });
63
63
  };
64
64
  export {