@refinedev/antd 5.12.0 → 5.13.0
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 +38 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,43 @@
|
|
1
1
|
# @pankod/refine-antd
|
2
2
|
|
3
|
+
## 5.13.0
|
4
|
+
|
5
|
+
### Minor Changes
|
6
|
+
|
7
|
+
- [#4209](https://github.com/refinedev/refine/pull/4209) [`3f4b5fef76f`](https://github.com/refinedev/refine/commit/3f4b5fef76f3558fc4466f455b9f55083cf47fc2) Thanks [@yildirayunlu](https://github.com/yildirayunlu)! - feat: add `isSticky` prop to `ThemedHeaderV2` component
|
8
|
+
|
9
|
+
```tsx
|
10
|
+
import { ThemedHeaderV2, ThemedLayoutV2 } from "@refinedev/antd";
|
11
|
+
|
12
|
+
const CustomHeader = () => <ThemedHeaderV2 isSticky={true} />;
|
13
|
+
|
14
|
+
const App = () => (
|
15
|
+
<Refine>
|
16
|
+
// ...
|
17
|
+
<ThemedLayoutV2 Header={CustomHeader}>
|
18
|
+
<Outlet />
|
19
|
+
</ThemedLayoutV2>
|
20
|
+
// ...
|
21
|
+
</Refine>
|
22
|
+
);
|
23
|
+
```
|
24
|
+
|
25
|
+
- [#4232](https://github.com/refinedev/refine/pull/4232) [`c99bc0ad7f7`](https://github.com/refinedev/refine/commit/c99bc0ad7f7b71cf47e45a797acdea2325e6fbc8) Thanks [@alicanerdurmaz](https://github.com/alicanerdurmaz)! - feat: `initialSiderCollapsed` added to `RefineThemedLayoutV2Props` to control initial state of `<ThemedSiderV2>`.
|
26
|
+
From now on, you can control the initial collapsed state of `<ThemedSiderV2>` by passing the `initialSiderCollapsed` prop to `<ThemedLayoutV2>`.
|
27
|
+
|
28
|
+
```tsx
|
29
|
+
<ThemedLayoutV2
|
30
|
+
initialSiderCollapsed={true} // This will make the sider collapsed by default
|
31
|
+
>
|
32
|
+
{/* .. */}
|
33
|
+
</ThemedLayoutV2>
|
34
|
+
```
|
35
|
+
|
36
|
+
### Patch Changes
|
37
|
+
|
38
|
+
- Updated dependencies [[`c99bc0ad7f7`](https://github.com/refinedev/refine/commit/c99bc0ad7f7b71cf47e45a797acdea2325e6fbc8), [`3f4b5fef76f`](https://github.com/refinedev/refine/commit/3f4b5fef76f3558fc4466f455b9f55083cf47fc2)]:
|
39
|
+
- @refinedev/ui-types@1.12.0
|
40
|
+
|
3
41
|
## 5.12.0
|
4
42
|
|
5
43
|
### Minor Changes
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@refinedev/antd",
|
3
|
-
"version": "5.
|
3
|
+
"version": "5.13.0",
|
4
4
|
"description": "refine is a React-based framework for building internal tools, rapidly. It ships with Ant Design System, an enterprise-level UI toolkit.",
|
5
5
|
"private": false,
|
6
6
|
"main": "dist/index.js",
|
@@ -49,7 +49,7 @@
|
|
49
49
|
"dependencies": {
|
50
50
|
"@ant-design/icons": "^5.0.1",
|
51
51
|
"@ant-design/pro-layout": "7.8.3",
|
52
|
-
"@refinedev/ui-types": "^1.
|
52
|
+
"@refinedev/ui-types": "^1.12.0",
|
53
53
|
"@tanstack/react-query": "^4.10.1",
|
54
54
|
"antd": "^5.0.5",
|
55
55
|
"dayjs": "^1.10.7",
|