@refinedev/antd 5.45.1 → 5.46.1

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,73 @@
1
1
  # @refinedev/antd
2
2
 
3
+ ## 5.46.1
4
+
5
+ ### Patch Changes
6
+
7
+ 📢 **Refine Community Release** 📢
8
+
9
+ - Fixes event handler issue in ImportButton, ensuring Tooltip works correctly.
10
+ Fixes #6631.
11
+
12
+ 📢 **Refine Community Release** 📢
13
+
14
+ - - Add `deleteButtonProps` prop to the `Show` component of UI packages: AntDesign, Manitine, Charka-UI, Material-UI
15
+ - Add documentation for this addition
16
+
17
+ [Resolves #6692](https://github.com/refinedev/refine/issues/6692)
18
+
19
+ - Updated dependencies []:
20
+ - @refinedev/ui-types@1.24.2
21
+
22
+ ## 5.46.0
23
+
24
+ ### Minor Changes
25
+
26
+ ⚡ **Refine Enterprise Release** ⚡
27
+
28
+ - [#6699](https://github.com/refinedev/refine/pull/6699) [`cd938b04cb004b61174d65811467469abaf2db3f`](https://github.com/refinedev/refine/commit/cd938b04cb004b61174d65811467469abaf2db3f) Thanks [@arndom](https://github.com/arndom)! - - Add `deleteButtonProps` prop to the `Show` component of UI packages: AntDesign, Manitine, Charka-UI, Material-UI
29
+
30
+ - Add documenation for this addition
31
+
32
+ [Resolves #6692](https://github.com/refinedev/refine/issues/6692)
33
+
34
+ ### Patch Changes
35
+
36
+ ⚡ **Refine Enterprise Release** ⚡
37
+
38
+ - [#6701](https://github.com/refinedev/refine/pull/6701) [`b72c7ce83133011fa96bb81d660fbb2c23ab8acc`](https://github.com/refinedev/refine/commit/b72c7ce83133011fa96bb81d660fbb2c23ab8acc) Thanks [@mohit-2003](https://github.com/mohit-2003)! - Fixes event handler issue in ImportButton, ensuring Tooltip works correctly.
39
+ Fixes #6631.
40
+ - Updated dependencies [[`cd938b04cb004b61174d65811467469abaf2db3f`](https://github.com/refinedev/refine/commit/cd938b04cb004b61174d65811467469abaf2db3f)]:
41
+ - @refinedev/ui-types@1.24.0
42
+
43
+ ## 5.45.3
44
+
45
+ ### Patch Changes
46
+
47
+ 📢 **Refine Community Release** 📢
48
+
49
+ - fix(types): remove path aliases from type imports
50
+
51
+ Since typescript doesn't resolve and replace path aliases, using them for the type imports will cause `d.ts` files to reference unresolvable paths and types.
52
+
53
+ While this doesn't break everything, it breaks the types in places where the path aliases are used for type imports.
54
+
55
+ This change removes the path aliases from the type imports and replaces them with relative imports.
56
+
57
+ ## 5.45.2
58
+
59
+ ### Patch Changes
60
+
61
+ ⚡ **Refine Enterprise Release** ⚡
62
+
63
+ - [#6683](https://github.com/refinedev/refine/pull/6683) [`a12a0821e3c573386c2a8eea4ac1582cc46dd26d`](https://github.com/refinedev/refine/commit/a12a0821e3c573386c2a8eea4ac1582cc46dd26d) Thanks [@aliemir](https://github.com/aliemir)! - fix(types): remove path aliases from type imports
64
+
65
+ Since typescript doesn't resolve and replace path aliases, using them for the type imports will cause `d.ts` files to reference unresolvable paths and types.
66
+
67
+ While this doesn't break everything, it breaks the types in places where the path aliases are used for type imports.
68
+
69
+ This change removes the path aliases from the type imports and replaces them with relative imports.
70
+
3
71
  ## 5.45.1
4
72
 
5
73
  ### Patch Changes
@@ -2737,13 +2805,13 @@
2737
2805
 
2738
2806
  ## Upgrade
2739
2807
 
2740
- ⚡️ You can easily update **refine** packages with **refine** CLI [`update`](https://refine.dev/docs/packages/documentation/cli/#update) command.
2808
+ ⚡️ You can easily update **refine** packages with **refine** CLI [`update`](https://refine.dev/docs/packages/cli/#update) command.
2741
2809
 
2742
2810
  ```bash
2743
2811
  npm run refine update
2744
2812
  ```
2745
2813
 
2746
- > [How to add refine CLI to an existing project?](https://refine.dev/docs/packages/documentation/cli/#how-to-add-to-an-existing-project)
2814
+ > [How to add refine CLI to an existing project?](https://refine.dev/docs/packages/cli/#how-to-add-to-an-existing-project)
2747
2815
 
2748
2816
  ### 🪄 Migrating your project automatically with Codemod ✨
2749
2817
 
@@ -2781,13 +2849,13 @@
2781
2849
 
2782
2850
  ## Upgrade
2783
2851
 
2784
- ⚡️ You can easily update **refine** packages with **refine** CLI [`update`](https://refine.dev/docs/packages/documentation/cli/#update) command.
2852
+ ⚡️ You can easily update **refine** packages with **refine** CLI [`update`](https://refine.dev/docs/packages/cli/#update) command.
2785
2853
 
2786
2854
  ```bash
2787
2855
  npm run refine update
2788
2856
  ```
2789
2857
 
2790
- > [How to add refine CLI to an existing project?](https://refine.dev/docs/packages/documentation/cli/#how-to-add-to-an-existing-project)
2858
+ > [How to add refine CLI to an existing project?](https://refine.dev/docs/packages/cli/#how-to-add-to-an-existing-project)
2791
2859
 
2792
2860
  ### 🪄 Migrating your project automatically with Codemod ✨
2793
2861
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/import/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAsBpD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/import/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAwBpD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/import/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAsBpD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/import/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAwBpD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/crud/show/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA0B1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C;;;;;GAKG;AACH,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA0KpC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/crud/show/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA0B1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C;;;;;GAKG;AACH,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA+KpC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/crud/show/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA0B1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C;;;;;GAKG;AACH,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA0KpC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/crud/show/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA0B1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C;;;;;GAKG;AACH,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA+KpC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { FilterDropdownProps, MapValueEvent } from "@components/table/components";
2
+ import type { FilterDropdownProps, MapValueEvent } from "../../components/table/components";
3
3
  import dayjs from "dayjs";
4
4
  /**
5
5
  * It is a mapper function for the <DatePicker.RangePicker /> filter.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/definitions/filter-mappers/index.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,aAAa,EACd,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,uBAAuB,iBACpB,mBAAmB,CAAC,cAAc,CAAC,SAC1C,aAAa,8DAuBrB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/definitions/filter-mappers/index.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,aAAa,EACd,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,uBAAuB,iBACpB,mBAAmB,CAAC,cAAc,CAAC,SAC1C,aAAa,8DAuBrB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { FilterDropdownProps, MapValueEvent } from "@components/table/components";
2
+ import type { FilterDropdownProps, MapValueEvent } from "../../components/table/components";
3
3
  import dayjs from "dayjs";
4
4
  /**
5
5
  * It is a mapper function for the <DatePicker.RangePicker /> filter.
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { FilterDropdownProps, MapValueEvent } from "@components/table/components";
2
+ import type { FilterDropdownProps, MapValueEvent } from "../../components/table/components";
3
3
  import dayjs from "dayjs";
4
4
  /**
5
5
  * It is a mapper function for the <DatePicker.RangePicker /> filter.
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { FilterDropdownProps, MapValueEvent } from "@components/table/components";
2
+ import type { FilterDropdownProps, MapValueEvent } from "../../components/table/components";
3
3
  import dayjs from "dayjs";
4
4
  /**
5
5
  * It is a mapper function for the <DatePicker.RangePicker /> filter.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/definitions/filter-mappers/index.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,aAAa,EACd,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,uBAAuB,iBACpB,mBAAmB,CAAC,cAAc,CAAC,SAC1C,aAAa,8DAuBrB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/definitions/filter-mappers/index.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,aAAa,EACd,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,uBAAuB,iBACpB,mBAAmB,CAAC,cAAc,CAAC,SAC1C,aAAa,8DAuBrB,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { IThemedLayoutContext } from "@contexts/themedLayoutContext/IThemedLayoutContext";
1
+ import type { IThemedLayoutContext } from "../../contexts/themedLayoutContext/IThemedLayoutContext";
2
2
  export type UseThemedLayoutContextType = IThemedLayoutContext;
3
3
  export declare const useThemedLayoutContext: () => UseThemedLayoutContextType;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/useThemedLayoutContext/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oDAAoD,CAAC;AAE/F,MAAM,MAAM,0BAA0B,GAAG,oBAAoB,CAAC;AAE9D,eAAO,MAAM,sBAAsB,QAAO,0BAczC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/useThemedLayoutContext/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yDAAyD,CAAC;AAEpG,MAAM,MAAM,0BAA0B,GAAG,oBAAoB,CAAC;AAE9D,eAAO,MAAM,sBAAsB,QAAO,0BAczC,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { IThemedLayoutContext } from "@contexts/themedLayoutContext/IThemedLayoutContext";
1
+ import type { IThemedLayoutContext } from "../../contexts/themedLayoutContext/IThemedLayoutContext";
2
2
  export type UseThemedLayoutContextType = IThemedLayoutContext;
3
3
  export declare const useThemedLayoutContext: () => UseThemedLayoutContextType;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { IThemedLayoutContext } from "@contexts/themedLayoutContext/IThemedLayoutContext";
1
+ import type { IThemedLayoutContext } from "../../contexts/themedLayoutContext/IThemedLayoutContext";
2
2
  export type UseThemedLayoutContextType = IThemedLayoutContext;
3
3
  export declare const useThemedLayoutContext: () => UseThemedLayoutContextType;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { IThemedLayoutContext } from "@contexts/themedLayoutContext/IThemedLayoutContext";
1
+ import type { IThemedLayoutContext } from "../../contexts/themedLayoutContext/IThemedLayoutContext";
2
2
  export type UseThemedLayoutContextType = IThemedLayoutContext;
3
3
  export declare const useThemedLayoutContext: () => UseThemedLayoutContextType;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/useThemedLayoutContext/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oDAAoD,CAAC;AAE/F,MAAM,MAAM,0BAA0B,GAAG,oBAAoB,CAAC;AAE9D,eAAO,MAAM,sBAAsB,QAAO,0BAczC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/useThemedLayoutContext/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yDAAyD,CAAC;AAEpG,MAAM,MAAM,0BAA0B,GAAG,oBAAoB,CAAC;AAE9D,eAAO,MAAM,sBAAsB,QAAO,0BAczC,CAAC"}