@krosoft/react 0.0.79 → 0.0.81

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.
@@ -1980,15 +1980,15 @@ function ka({
1980
1980
  pageSizeOptions: c,
1981
1981
  totalPages: p
1982
1982
  }) {
1983
- return /* @__PURE__ */ _("div", { className: "px-4 py-2 border-t border-gray-200 dark:border-gray-800 flex items-center justify-between bg-card dark:bg-gray-950 flex-wrap gap-2", children: [
1984
- /* @__PURE__ */ _("div", { className: "text-sm text-gray-500 dark:text-gray-400", children: [
1983
+ return /* @__PURE__ */ _("div", { className: "px-4 py-2 border-t border-border flex items-center justify-between bg-card flex-wrap gap-2", children: [
1984
+ /* @__PURE__ */ _("div", { className: "text-sm text-muted-foreground", children: [
1985
1985
  e === 0 ? "0" : `${String(t + 1)} - ${String(n)}`,
1986
1986
  " sur ",
1987
1987
  e
1988
1988
  ] }),
1989
1989
  /* @__PURE__ */ _("div", { className: "flex items-center gap-4", children: [
1990
1990
  /* @__PURE__ */ _("div", { className: "flex items-center gap-2", children: [
1991
- /* @__PURE__ */ a("span", { className: "text-sm text-gray-500 dark:text-gray-400", children: "Lignes par page :" }),
1991
+ /* @__PURE__ */ a("span", { className: "text-sm text-muted-foreground", children: "Lignes par page :" }),
1992
1992
  /* @__PURE__ */ a(
1993
1993
  "select",
1994
1994
  {
@@ -1996,7 +1996,7 @@ function ka({
1996
1996
  onChange: (u) => {
1997
1997
  o(Number(u.target.value)), d(1);
1998
1998
  },
1999
- className: "border border-gray-300 dark:border-gray-700 dark:bg-gray-900 rounded px-2 py-1 text-sm text-foreground",
1999
+ className: "border border-input bg-background rounded px-2 py-1 text-sm text-foreground",
2000
2000
  children: c.map((u) => /* @__PURE__ */ a("option", { value: u, children: u }, u))
2001
2001
  }
2002
2002
  )
@@ -2015,7 +2015,7 @@ function ka({
2015
2015
  children: /* @__PURE__ */ a(Dn, { className: "size-4" })
2016
2016
  }
2017
2017
  ),
2018
- /* @__PURE__ */ _("span", { className: "text-sm text-gray-500 dark:text-gray-400", children: [
2018
+ /* @__PURE__ */ _("span", { className: "text-sm text-muted-foreground", children: [
2019
2019
  "Page ",
2020
2020
  i,
2021
2021
  " sur ",
@@ -3,7 +3,7 @@ import { D as S, a as c, M as b, S as p, b as T } from "../../SearchInput-Cf5NHh
3
3
  import { C as n, a as m, E as f, L as x } from "../../LoadingState-DQjGcT2l.js";
4
4
  import "react/jsx-runtime";
5
5
  import "react";
6
- import { T as k, a as A, b as g, c as h, d as F, e as M } from "../../TableSettings-4YLJSh4G.js";
6
+ import { T as k, a as A, b as g, c as h, d as F, e as M } from "../../TableSettings-Bhqq1v8E.js";
7
7
  import { A as u, a as D, S as K, T as v } from "../../TableFilter-DgChe4aX.js";
8
8
  import { S as E, T as L } from "../../Topbar-DifQ00kV.js";
9
9
  import { T as H } from "../../ThemeSelector-MqD5QvHl.js";
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { T as t, a as b, b as i, c as l, d as T, e as n } from "../../../TableSettings-4YLJSh4G.js";
3
+ import { T as t, a as b, b as i, c as l, d as T, e as n } from "../../../TableSettings-Bhqq1v8E.js";
4
4
  export {
5
5
  t as TableActions,
6
6
  b as TableBody,
@@ -3,7 +3,7 @@ import { D as S, a as c, M as n, S as p, b as T } from "../SearchInput-Cf5NHhnz.
3
3
  import { C as b, a as C, E as h, L as m } from "../LoadingState-DQjGcT2l.js";
4
4
  import "react/jsx-runtime";
5
5
  import "react";
6
- import { T as g, a as x, b as u, c as A, d as P, e as B } from "../TableSettings-4YLJSh4G.js";
6
+ import { T as g, a as x, b as u, c as A, d as P, e as B } from "../TableSettings-Bhqq1v8E.js";
7
7
  import { A as k, a as v, S as F, T as L } from "../TableFilter-DgChe4aX.js";
8
8
  import { S as M, T as V } from "../Topbar-DifQ00kV.js";
9
9
  import { T as K } from "../ThemeSelector-MqD5QvHl.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@krosoft/react",
3
- "version": "0.0.79",
3
+ "version": "0.0.81",
4
4
  "description": "Krosoft shared React package",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -43,12 +43,12 @@
43
43
  "dependencies": {
44
44
  "@radix-ui/react-checkbox": "^1.3.3",
45
45
  "@radix-ui/react-dialog": "^1.1.15",
46
+ "@radix-ui/react-dropdown-menu": "^2.1.16",
46
47
  "@radix-ui/react-label": "^2.1.8",
47
48
  "@radix-ui/react-popover": "^1.1.15",
48
49
  "@radix-ui/react-select": "^2.2.6",
49
- "@radix-ui/react-slot": "^1.2.4",
50
- "@radix-ui/react-dropdown-menu": "^2.1.16",
51
50
  "@radix-ui/react-separator": "^1.1.8",
51
+ "@radix-ui/react-slot": "^1.2.4",
52
52
  "@radix-ui/react-toast": "^1.2.15",
53
53
  "@radix-ui/react-tooltip": "^1.2.8",
54
54
  "class-variance-authority": "^0.7.1",
@@ -64,6 +64,7 @@
64
64
  "@krosoft/tooling-prettier": "^0.0.14",
65
65
  "@krosoft/tooling-tsconfig-react": "^0.0.10",
66
66
  "@storybook/addon-essentials": "^8.6.18",
67
+ "@storybook/addon-themes": "^8.6.18",
67
68
  "@storybook/react": "^8.6.18",
68
69
  "@storybook/react-vite": "^8.6.18",
69
70
  "@types/node": "^25.9.1",