@krosoft/react 0.0.310 → 0.0.311

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 (54) hide show
  1. package/dist/{AppActions-DBxmXROG.js → AppActions-BSFD13aV.js} +2 -2
  2. package/dist/{AppSubTitle-Ck4UmLrQ.js → AppSubTitle-CVNe5WHv.js} +2 -2
  3. package/dist/{AppTitle-CA3AuX6v.js → AppTitle-DIHE8uen.js} +1 -1
  4. package/dist/{ErrorAlert-BuKadO9Z.js → ErrorAlert-D8XnPN0I.js} +1 -1
  5. package/dist/{GenericForm-tZkFJ7mA.js → GenericForm-Dcn4Xecn.js} +6 -6
  6. package/dist/{ImageInput-BT08niR9.js → ImageInput-BtV_Ezgp.js} +2 -2
  7. package/dist/{MultiSelect-D7AFiC_X.js → MultiSelect-DyHOoUsz.js} +3 -3
  8. package/dist/{SearchInput-tvcgwvmw.js → SearchInput-KPozEk_s.js} +4 -4
  9. package/dist/{behavior-C2896MtZ.js → behavior-2kM6-wgK.js} +1 -1
  10. package/dist/{cards-m0h-usz_.js → cards-pQZw-utJ.js} +2 -2
  11. package/dist/{charts-B1R8vOM7.js → charts-Oxpbp_Ii.js} +1 -1
  12. package/dist/components/core/cards/index.js +1 -1
  13. package/dist/components/core/charts/index.js +1 -1
  14. package/dist/components/core/dialogs/index.js +3 -3
  15. package/dist/components/core/filters/FiltersContainer.d.ts +11 -0
  16. package/dist/components/core/filters/FiltersContainer.d.ts.map +1 -0
  17. package/dist/components/core/filters/FiltersMobileDrawer.d.ts +9 -0
  18. package/dist/components/core/filters/FiltersMobileDrawer.d.ts.map +1 -0
  19. package/dist/components/core/filters/index.d.ts +2 -0
  20. package/dist/components/core/filters/index.d.ts.map +1 -1
  21. package/dist/components/core/filters/index.js +208 -111
  22. package/dist/components/core/forms/index.js +1 -1
  23. package/dist/components/core/index.js +24 -24
  24. package/dist/components/core/inputs/index.js +4 -4
  25. package/dist/components/core/language/index.js +1 -1
  26. package/dist/components/core/layouts/index.js +11 -11
  27. package/dist/components/core/navbar/index.js +1 -1
  28. package/dist/components/core/states/index.js +2 -2
  29. package/dist/components/core/table/index.js +2 -2
  30. package/dist/components/core/tabs/index.js +5 -5
  31. package/dist/components/core/theme/index.js +1 -1
  32. package/dist/components/index.js +24 -24
  33. package/dist/components/ui/index.js +2 -2
  34. package/dist/{dialogs--0dbPy6W.js → dialogs-BLrrt68D.js} +5 -5
  35. package/dist/hooks/behavior/index.js +1 -1
  36. package/dist/hooks/index.js +7 -7
  37. package/dist/hooks/ui/index.js +6 -6
  38. package/dist/i18n/index.js +1 -1
  39. package/dist/i18n/krosoftLocales.d.ts +6 -0
  40. package/dist/i18n/krosoftLocales.d.ts.map +1 -1
  41. package/dist/{i18n-DbPbmPRj.js → i18n-ClZK4zll.js} +6 -0
  42. package/dist/{inputs-2cwQbuBl.js → inputs-c7vMvV76.js} +3 -3
  43. package/dist/{language-9LfgyTr7.js → language-VKGAsAfF.js} +2 -2
  44. package/dist/{navbar-DKgwZj74.js → navbar-C4WWdADW.js} +3 -3
  45. package/dist/pwa/index.js +1 -1
  46. package/dist/{sheet-w_xag5lP.js → sheet-BjlRzLnc.js} +1 -1
  47. package/dist/{states-Ceb6VL--.js → states-C3v4BU7N.js} +2 -2
  48. package/dist/{theme-BMH6B6jL.js → theme-Bkamu5J6.js} +2 -2
  49. package/dist/{ui-CfT3vbQZ.js → ui-Bbn7hLKT.js} +3 -3
  50. package/dist/{ui-k3NqEwlP.js → ui-BwBUIl5y.js} +1 -1
  51. package/dist/{useDocumentTitle-BISAg9M7.js → useDocumentTitle-Ces2VRou.js} +1 -1
  52. package/dist/{useLanguage-BVuLE78e.js → useLanguage-c7lPQ7eh.js} +1 -1
  53. package/dist/{useTheme-DRWux5vA.js → useTheme-CU6lGuO4.js} +1 -1
  54. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./tailwind.helper-CJaRYBmL.js";
2
- import { t } from "./i18n-DbPbmPRj.js";
3
- import { Bt as n, Ft as r, Gt as i, Nt as a, jt as o } from "./ui-k3NqEwlP.js";
2
+ import { t } from "./i18n-ClZK4zll.js";
3
+ import { Bt as n, Ft as r, Gt as i, Nt as a, jt as o } from "./ui-BwBUIl5y.js";
4
4
  import { c as s } from "./tooltip-_geGvbS7.js";
5
5
  import { t as c } from "./useMobile-pTQ8lWvt.js";
6
6
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
- import { t as e } from "./i18n-DbPbmPRj.js";
2
- import { t } from "./AppActions-DBxmXROG.js";
1
+ import { t as e } from "./i18n-ClZK4zll.js";
2
+ import { t } from "./AppActions-BSFD13aV.js";
3
3
  import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
4
  //#region src/components/core/layouts/AppSubTitle.tsx
5
5
  function i({ titleKey: i, actions: a, className: o }) {
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./tailwind.helper-CJaRYBmL.js";
2
- import { t } from "./i18n-DbPbmPRj.js";
2
+ import { t } from "./i18n-ClZK4zll.js";
3
3
  import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
4
  //#region src/components/core/layouts/AppTitle.tsx
5
5
  function i({ titleKey: i, descriptionKey: a, isSubTitle: o, inline: s }) {
@@ -1,4 +1,4 @@
1
- import { t as e } from "./i18n-DbPbmPRj.js";
1
+ import { t as e } from "./i18n-ClZK4zll.js";
2
2
  import { n as t, t as n } from "./alert-REQGK9bR.js";
3
3
  import "react";
4
4
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
@@ -1,14 +1,14 @@
1
1
  import { t as e } from "./tailwind.helper-CJaRYBmL.js";
2
2
  import { c as t, d as n, s as r } from "./chart-Dq3AIrue.js";
3
- import { t as i } from "./i18n-DbPbmPRj.js";
4
- import { Ct as a, Dt as o, Et as s, Ot as c, St as l, Tt as u, bn as d, p as f } from "./ui-k3NqEwlP.js";
3
+ import { t as i } from "./i18n-ClZK4zll.js";
4
+ import { Ct as a, Dt as o, Et as s, Ot as c, St as l, Tt as u, bn as d, p as f } from "./ui-BwBUIl5y.js";
5
5
  import { c as p } from "./tooltip-_geGvbS7.js";
6
- import { g as m } from "./sheet-w_xag5lP.js";
6
+ import { g as m } from "./sheet-BjlRzLnc.js";
7
7
  import { i as h, l as g, n as ee, t as _, u as v } from "./select-KWMg2_7Z.js";
8
8
  import { n as y } from "./useToast-UeDRLovh.js";
9
- import { t as b } from "./ImageInput-BT08niR9.js";
10
- import { t as x } from "./AppSubTitle-Ck4UmLrQ.js";
11
- import { t as S } from "./MultiSelect-D7AFiC_X.js";
9
+ import { t as b } from "./ImageInput-BtV_Ezgp.js";
10
+ import { t as x } from "./AppSubTitle-CVNe5WHv.js";
11
+ import { t as S } from "./MultiSelect-DyHOoUsz.js";
12
12
  import { useEffect as C, useRef as w, useState as T } from "react";
13
13
  import { jsx as E, jsxs as D } from "react/jsx-runtime";
14
14
  import { useForm as O } from "react-hook-form";
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./tailwind.helper-CJaRYBmL.js";
2
- import { t } from "./i18n-DbPbmPRj.js";
3
- import "./ui-k3NqEwlP.js";
2
+ import { t } from "./i18n-ClZK4zll.js";
3
+ import "./ui-BwBUIl5y.js";
4
4
  import { c as n } from "./tooltip-_geGvbS7.js";
5
5
  import { t as r } from "./useNotifications-CyhTruIG.js";
6
6
  import { forwardRef as i, useRef as a } from "react";
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./tailwind.helper-CJaRYBmL.js";
2
- import { t } from "./i18n-DbPbmPRj.js";
3
- import { Pn as n, bn as r } from "./ui-k3NqEwlP.js";
2
+ import { t } from "./i18n-ClZK4zll.js";
3
+ import { Pn as n, bn as r } from "./ui-BwBUIl5y.js";
4
4
  import { a as i, o as a, s as o } from "./tooltip-_geGvbS7.js";
5
- import { h as s, m as c, p as l } from "./sheet-w_xag5lP.js";
5
+ import { h as s, m as c, p as l } from "./sheet-BjlRzLnc.js";
6
6
  import { useCallback as u, useLayoutEffect as d, useMemo as f, useRef as p, useState as m } from "react";
7
7
  import { Fragment as h, jsx as g, jsxs as _ } from "react/jsx-runtime";
8
8
  import { ChevronDownIcon as v, SearchIcon as y, XIcon as b } from "lucide-react";
@@ -1,10 +1,10 @@
1
1
  import { t as e } from "./tailwind.helper-CJaRYBmL.js";
2
- import { r as t, t as n } from "./i18n-DbPbmPRj.js";
3
- import { En as r } from "./ui-k3NqEwlP.js";
2
+ import { r as t, t as n } from "./i18n-ClZK4zll.js";
3
+ import { En as r } from "./ui-BwBUIl5y.js";
4
4
  import { c as i, o as a, s as o } from "./tooltip-_geGvbS7.js";
5
- import { g as s, h as c, m as l, p as u } from "./sheet-w_xag5lP.js";
5
+ import { g as s, h as c, m as l, p as u } from "./sheet-BjlRzLnc.js";
6
6
  import { i as d, l as f, n as p, t as m, u as h } from "./select-KWMg2_7Z.js";
7
- import { n as g, r as _ } from "./MultiSelect-D7AFiC_X.js";
7
+ import { n as g, r as _ } from "./MultiSelect-DyHOoUsz.js";
8
8
  import * as v from "react";
9
9
  import { useEffect as y, useMemo as b, useRef as x, useState as S } from "react";
10
10
  import { jsx as C, jsxs as w } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { t as e } from "./i18n-DbPbmPRj.js";
1
+ import { t as e } from "./i18n-ClZK4zll.js";
2
2
  import { n as t, t as n } from "./sidebar.context-BahtU6hE.js";
3
3
  import * as r from "react";
4
4
  import { useCallback as i, useContext as a, useState as o } from "react";
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./tailwind.helper-CJaRYBmL.js";
2
2
  import { c as t, d as n, f as r, s as i } from "./chart-Dq3AIrue.js";
3
- import { t as a } from "./i18n-DbPbmPRj.js";
4
- import "./ui-k3NqEwlP.js";
3
+ import { t as a } from "./i18n-ClZK4zll.js";
4
+ import "./ui-BwBUIl5y.js";
5
5
  import { t as o } from "./skeleton-D6Ga4BLw.js";
6
6
  import "react";
7
7
  import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./tailwind.helper-CJaRYBmL.js";
2
2
  import { a as t, c as n, d as r, f as i, l as a, n as o, o as s, r as c, s as l, t as u } from "./chart-Dq3AIrue.js";
3
- import { t as d } from "./i18n-DbPbmPRj.js";
3
+ import { t as d } from "./i18n-ClZK4zll.js";
4
4
  import { t as f } from "./skeleton-D6Ga4BLw.js";
5
5
  import { t as p } from "./useMobile-pTQ8lWvt.js";
6
6
  import * as m from "react";
@@ -1,2 +1,2 @@
1
- import { a as e, i as t, n, o as r, r as i, t as a } from "../../../cards-m0h-usz_.js";
1
+ import { a as e, i as t, n, o as r, r as i, t as a } from "../../../cards-pQZw-utJ.js";
2
2
  export { r as DashboardCard, e as KpiCard, t as KpiCards, i as MetricCard, n as SkeletonCard, a as SkeletonCards };
@@ -1,2 +1,2 @@
1
- import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "../../../charts-B1R8vOM7.js";
1
+ import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "../../../charts-Oxpbp_Ii.js";
2
2
  export { t as BarChartHorizontal, o as BarChartVertical, e as CHART_COLORS, n as ChartCard, a as CircularGauge, r as LineChart, s as PieChart, i as getChartColor };
@@ -1,4 +1,4 @@
1
- import { I as e } from "../../../ui-k3NqEwlP.js";
2
- import { A as t, D as n, E as r, F as i, M as a, N as o, O as s, P as c, j as l, k as u } from "../../../sheet-w_xag5lP.js";
3
- import { n as d, r as f, t as p } from "../../../dialogs--0dbPy6W.js";
1
+ import { I as e } from "../../../ui-BwBUIl5y.js";
2
+ import { A as t, D as n, E as r, F as i, M as a, N as o, O as s, P as c, j as l, k as u } from "../../../sheet-BjlRzLnc.js";
3
+ import { n as d, r as f, t as p } from "../../../dialogs-BLrrt68D.js";
4
4
  export { f as AppDialog, p as ConfirmationDialog, r as Dialog, n as DialogClose, s as DialogContent, u as DialogDescription, t as DialogFooter, l as DialogHeader, a as DialogOverlay, o as DialogPortal, c as DialogTitle, i as DialogTrigger, d as FormDialog, e as Progress };
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ export interface FiltersContainerProps {
3
+ children?: React.ReactNode;
4
+ search?: string;
5
+ searchPlaceholder?: string;
6
+ activeFiltersCount?: number;
7
+ onReset?: () => void;
8
+ onSearch?: (value: string) => void;
9
+ }
10
+ export declare function FiltersContainer({ children, search, searchPlaceholder, activeFiltersCount, onReset, onSearch, }: FiltersContainerProps): React.ReactElement;
11
+ //# sourceMappingURL=FiltersContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FiltersContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/core/filters/FiltersContainer.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,MAAM,EACN,iBAAiB,EACjB,kBAAsB,EACtB,OAAO,EACP,QAAQ,GACT,EAAE,qBAAqB,GAAG,KAAK,CAAC,YAAY,CAwC5C"}
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ export interface FiltersMobileDrawerProps {
3
+ children: React.ReactNode;
4
+ activeFiltersCount?: number;
5
+ onReset?: () => void;
6
+ onApply?: () => void;
7
+ }
8
+ export declare function FiltersMobileDrawer({ children, activeFiltersCount, onReset, onApply }: FiltersMobileDrawerProps): React.ReactElement;
9
+ //# sourceMappingURL=FiltersMobileDrawer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FiltersMobileDrawer.d.ts","sourceRoot":"","sources":["../../../../src/components/core/filters/FiltersMobileDrawer.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,wBAAgB,mBAAmB,CAAC,EAAE,QAAQ,EAAE,kBAAsB,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,wBAAwB,GAAG,KAAK,CAAC,YAAY,CA8CxI"}
@@ -3,5 +3,7 @@ export * from "./AdvancedFilters";
3
3
  export * from "./FilterField";
4
4
  export * from "./FilterPills";
5
5
  export * from "./FilterPillsGroup";
6
+ export * from "./FiltersContainer";
7
+ export * from "./FiltersMobileDrawer";
6
8
  export * from "./TableFilter";
7
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/core/filters/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/core/filters/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC"}