@krosoft/react 0.0.263 → 0.0.265

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.
@@ -0,0 +1,5 @@
1
+ import { i as e, n as t, r as n, t as r } from "../datatable-COQcYUrk.js";
2
+ //#region src/constants/search.ts
3
+ var i = 300;
4
+ //#endregion
5
+ export { r as pageDefault, t as pageSizeDefault, n as pagesSizes, e as pagesSizesForCard, i as searchDebounceMs };
@@ -0,0 +1,2 @@
1
+ export declare const searchDebounceMs = 300;
2
+ //# sourceMappingURL=search.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../src/constants/search.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,gBAAgB,MAAM,CAAC"}
@@ -0,0 +1,14 @@
1
+ //#region src/constants/datatable.ts
2
+ var e = [
3
+ 5,
4
+ 10,
5
+ 30,
6
+ 50,
7
+ 100
8
+ ], t = e[1], n = 1, r = [
9
+ 6,
10
+ 9,
11
+ 12
12
+ ];
13
+ //#endregion
14
+ export { r as i, t as n, e as r, n as t };
@@ -6,6 +6,6 @@ import { t as a } from "../useLanguage-DdVIzhME.js";
6
6
  import { t as o } from "../useDocumentTitle-C5TsEDqh.js";
7
7
  import { a as s, c, d as l, f as u, i as d, l as f, n as p, o as m, p as h, r as g, s as _, t as v, u as y } from "../behavior-C4WdfbR1.js";
8
8
  import { n as b, t as x } from "../useFixedColumns-BVZs3wbh.js";
9
- import { t as S } from "../ui-IEH46J4v.js";
9
+ import { t as S } from "../ui-CnhA3ntY.js";
10
10
  import { t as C } from "../useTheme-ZzPZl0MM.js";
11
11
  export { v as URL_DATE_FORMAT, p as parseDateRange, g as serializeDateRange, n as toast, l as useConfirmDeleteDialog, u as useConfirmationDialog, b as useDataTable, y as useDebouncedValue, h as useDialog, o as useDocumentTitle, x as useFixedColumns, a as useLanguage, r as useMobile, i as useNotifications, f as usePage, e as useScrollFade, S as useServerTable, c as useSidebar, C as useTheme, t as useToast, d as useUrlArrayState, s as useUrlDateRangeState, m as useUrlNumberState, _ as useUrlState };
@@ -5,6 +5,6 @@ import { t as i } from "../../useNotifications-CyhTruIG.js";
5
5
  import { t as a } from "../../useLanguage-DdVIzhME.js";
6
6
  import { t as o } from "../../useDocumentTitle-C5TsEDqh.js";
7
7
  import { n as s, t as c } from "../../useFixedColumns-BVZs3wbh.js";
8
- import { t as l } from "../../ui-IEH46J4v.js";
8
+ import { t as l } from "../../ui-CnhA3ntY.js";
9
9
  import { t as u } from "../../useTheme-ZzPZl0MM.js";
10
10
  export { n as toast, s as useDataTable, o as useDocumentTitle, c as useFixedColumns, a as useLanguage, r as useMobile, i as useNotifications, e as useScrollFade, l as useServerTable, u as useTheme, t as useToast };
@@ -1 +1 @@
1
- {"version":3,"file":"useServerTable.d.ts","sourceRoot":"","sources":["../../../src/hooks/ui/useServerTable.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,oBAAoB,CAAC,QAAQ;IAC5C,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAC3D,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,aAAa,EAAE,KAAK,GAAG,MAAM,CAAC;IAC9B,YAAY,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,MAAM,KAAK,IAAI,CAAC;IAChE,UAAU,EAAE,MAAM,CAAC;IACnB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,cAAc,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,cAAc,EAAE,QAAQ,CAAC;IACzB,eAAe,EAAE,CAAC,OAAO,EAAE,QAAQ,KAAK,I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AAY,EACxC,OAAO,GAAE;IACP,oBAAoB,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IACtC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CAChB,GACL,oBAAoB,CAAC,QAAQ,CAAC,CAqDhC"}
@@ -164,11 +164,22 @@ declare const krosoftPreset: {
164
164
  transform: string;
165
165
  };
166
166
  };
167
+ "fade-in": {
168
+ from: {
169
+ opacity: string;
170
+ transform: string;
171
+ };
172
+ to: {
173
+ opacity: string;
174
+ transform: string;
175
+ };
176
+ };
167
177
  };
168
178
  animation: {
169
179
  "accordion-down": string;
170
180
  "accordion-up": string;
171
181
  progress: string;
182
+ "fade-in": string;
172
183
  };
173
184
  };
174
185
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tailwind/index.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc,UAAiD,CAAC;AAE7E;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwJQ,CAAC;AAE5B,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tailwind/index.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc,UAAiD,CAAC;AAE7E;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6JQ,CAAC;AAE5B,eAAe,aAAa,CAAC"}
@@ -112,12 +112,23 @@ var t = ["./node_modules/@krosoft/react/dist/**/*.js"], n = {
112
112
  progress: {
113
113
  "0%": { transform: "translateX(-100%)" },
114
114
  "100%": { transform: "translateX(100%)" }
115
+ },
116
+ "fade-in": {
117
+ from: {
118
+ opacity: "0",
119
+ transform: "translateY(10px)"
120
+ },
121
+ to: {
122
+ opacity: "1",
123
+ transform: "translateY(0)"
124
+ }
115
125
  }
116
126
  },
117
127
  animation: {
118
128
  "accordion-down": "accordion-down 0.2s ease-out",
119
129
  "accordion-up": "accordion-up 0.2s ease-out",
120
- progress: "progress 1.5s ease-in-out infinite"
130
+ progress: "progress 1.5s ease-in-out infinite",
131
+ "fade-in": "fade-in 0.3s ease-out"
121
132
  }
122
133
  }
123
134
  },
@@ -5,6 +5,7 @@ import "./useNotifications-CyhTruIG.js";
5
5
  import "./useLanguage-DdVIzhME.js";
6
6
  import "./useDocumentTitle-C5TsEDqh.js";
7
7
  import "./useFixedColumns-BVZs3wbh.js";
8
+ import "./constants/index.js";
8
9
  import "./useTheme-ZzPZl0MM.js";
9
10
  import { useCallback as e, useEffect as t, useState as n } from "react";
10
11
  //#region src/hooks/ui/useServerTable.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@krosoft/react",
3
- "version": "0.0.263",
3
+ "version": "0.0.265",
4
4
  "description": "Krosoft shared React package",
5
5
  "type": "module",
6
6
  "scripts": {