Skip to content

Commit

Permalink
Merge branch 'master' into mantine7.v4
Browse files Browse the repository at this point in the history
  • Loading branch information
alodela authored Nov 24, 2024
2 parents faf028d + 716123c commit ceaf214
Show file tree
Hide file tree
Showing 12 changed files with 100 additions and 8 deletions.
2 changes: 1 addition & 1 deletion documentation/docs/advanced-tutorials/real-time.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ We need to install the Ably live provider package from **Refine**.

:::caution

To make this example more visual, we used the [`@refinedev/antd`](https://github.com/refinedev/refine/tree/master/packages/refine-antd) package. If you are using Refine headless, you need to provide the components, hooks, or helpers imported from the [`@refinedev/antd`](https://github.com/refinedev/refine/tree/master/packages/refine-antd) package.
To make this example more visual, we used the [`@refinedev/antd`](https://github.com/refinedev/refine/tree/master/packages/antd) package. If you are using Refine headless, you need to provide the components, hooks, or helpers imported from the [`@refinedev/antd`](https://github.com/refinedev/refine/tree/master/packages/antd) package.

:::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ We will need [web3](https://github.com/ChainSafe/web3.js) and [web3-modal](https

:::caution

To make this example more visual, we used the [`@refinedev/antd`](https://github.com/refinedev/refine/tree/master/packages/refine-antd) package. If you are using Refine headless, you need to provide the components, hooks or helpers imported from the [`@refinedev/antd`](https://github.com/refinedev/refine/tree/master/packages/refine-antd) package.
To make this example more visual, we used the [`@refinedev/antd`](https://github.com/refinedev/refine/tree/master/packages/antd) package. If you are using Refine headless, you need to provide the components, hooks or helpers imported from the [`@refinedev/antd`](https://github.com/refinedev/refine/tree/master/packages/antd) package.

:::

Expand Down
2 changes: 1 addition & 1 deletion documentation/docs/data/packages/strapi-v4/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ However, we can use [normalizeData](https://github.com/refinedev/refine/blob/27a

:::caution

To make this example more visual, we used the [`@refinedev/antd`](https://github.com/refinedev/refine/tree/master/packages/refine-antd) package. If you are using Refine headless, you need to provide the components, hooks, or helpers imported from the [`@refinedev/antd`](https://github.com/refinedev/refine/tree/master/packages/refine-antd) package.
To make this example more visual, we used the [`@refinedev/antd`](https://github.com/refinedev/refine/tree/master/packages/antd) package. If you are using Refine headless, you need to provide the components, hooks, or helpers imported from the [`@refinedev/antd`](https://github.com/refinedev/refine/tree/master/packages/antd) package.

:::

Expand Down
4 changes: 2 additions & 2 deletions documentation/docs/guides-concepts/contributing/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ We're using [Codesandbox's Sandpack](https://sandpack.codesandbox.io) to provide
Check out the example usage of `<Sandpack />` in Core API's `useForm` hook documentation:

- [useForm Documentation](/docs/data/hooks/use-form/#usage)
- [Source Code for Sandpack](https://github.com/refinedev/refine/blob/master/documentation/docs/core/hooks/use-form/basic-usage.tsx)
- [Source Code for Markdown](https://github.com/refinedev/refine/blob/master/documentation/docs/core/hooks/use-form/index.md)
- [Source Code for Sandpack](https://github.com/refinedev/refine/blob/master/documentation/docs/data/hooks/use-form/basic-usage.tsx)
- [Source Code for Markdown](https://github.com/refinedev/refine/blob/master/documentation/docs/data/hooks/use-form/index.md)

## Committing Your Work and Preparing a Pull Request

Expand Down
1 change: 1 addition & 0 deletions documentation/docs/packages/list-of-packages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,4 @@ To learn more about Live Providers, check out [Realtime](/docs/guides-concepts/r
- [`refine-jsonapi`](https://github.com/MahirMahdi/refine-jsonapi) - Connector for [JSON:API](https://jsonapi.org/) backends
- [`@refine-auth/kinde-react`](https://github.com/hirenf14/refine-auth-kinde-react) - Support for [Kinde](https://kinde.com) authentication.
- [`refine-pocketbase`](https://github.com/kruschid/refine-pocketbase) - Connector for backends created with [PocketBase](https://pocketbase.io/). Also has auth provider and live provider supports.
- [`refine-postgrest-ts`](https://github.com/ffimnsr/refine-postgrest-ts) - Connector for [PostgREST](https://postgrest.org) backends.
2 changes: 1 addition & 1 deletion documentation/docs/routing/router-provider/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ The `Link` component is used to create links to other pages. It accepts a `to` p

- [React Router V6](https://github.com/refinedev/refine/blob/master/packages/react-router-v6/src/bindings.tsx)
- [Next.js Router](https://github.com/refinedev/refine/blob/master/packages/nextjs-router/src/pages/bindings.tsx)
- [Remix Router](https://github.com/refinedev/refine/blob/master/packages/remix/src/bindings.tsx)
- [Remix Router](https://github.com/refinedev/refine/blob/master/packages/remix-router/src/bindings.tsx)

## Legacy Router Provider

Expand Down
1 change: 1 addition & 0 deletions documentation/src/assets/integration-icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ export { default as RestWithoutText } from "./rest-without-text";
export { default as CustomAuth } from "./custom-auth";
export { default as Vite } from "./vite";
export { default as PocketBase } from "./pocketbase";
export { default as PostgREST } from "./postgrest";
61 changes: 61 additions & 0 deletions documentation/src/assets/integration-icons/postgrest.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
import * as React from "react";
import type { SVGProps } from "react";

const PostgREST = (props: SVGProps<SVGSVGElement>) => (
<svg
version="1.0"
xmlns="http://www.w3.org/2000/svg"
width={20}
height={20}
viewBox="0 0 200.000000 200.000000"
preserveAspectRatio="xMidYMid meet"
{...props}
>
<g
transform="translate(0.000000,200.000000) scale(0.100000,-0.100000)"
fill="#000000"
stroke="none"
>
<path
d="M660 1988 c0 -7 36 -58 80 -113 104 -129 142 -206 138 -278 l-3 -52
-313 -3 -313 -2 3 -23 3 -22 293 -3 c160 -1 292 -5 292 -8 0 -18 -234 -326
-264 -346 -6 -4 -82 -8 -168 -8 -148 0 -158 -1 -158 -19 0 -28 18 -31 169 -31
l137 0 140 -140 c76 -78 140 -144 142 -149 1 -5 -11 -14 -27 -21 -16 -6 -44
-23 -62 -36 -33 -24 -35 -24 -267 -24 l-233 0 3 -22 c3 -23 4 -23 206 -26 111
-1 202 -4 202 -7 0 -2 -10 -21 -22 -42 -31 -52 -31 -174 0 -249 11 -29 18 -55
15 -58 -4 -3 -96 -6 -205 -6 -191 0 -198 -1 -198 -20 0 -19 7 -20 213 -20 233
0 223 2 272 -65 16 -22 60 -75 98 -117 67 -76 70 -78 115 -78 l46 0 -68 68
c-200 195 -287 372 -247 495 25 75 130 157 232 181 l47 11 -164 169 c-90 93
-164 172 -164 175 0 3 41 58 91 121 111 139 192 261 209 314 31 97 -11 212
-136 366 -60 75 -83 96 -105 98 -19 2 -29 -1 -29 -10z"
/>
<path
fill="#2F6A97"
d="M844 1906 c101 -129 128 -189 134 -293 4 -75 2 -87 -23 -135 -35 -68
-98 -158 -196 -279 l-76 -95 193 -200 c106 -109 193 -202 194 -206 0 -4 -33
-5 -72 -2 -44 4 -90 2 -115 -5 -54 -15 -148 -99 -163 -147 -24 -73 18 -188
114 -312 59 -77 213 -225 228 -220 6 2 16 11 22 20 8 13 -3 30 -52 82 -72 78
-103 133 -104 185 0 49 14 75 62 110 76 55 244 62 335 15 37 -19 48 -18 63 7
12 19 6 28 -80 117 -184 190 -251 367 -202 533 27 94 99 212 182 301 19 20 32
43 29 50 -5 12 -137 171 -385 466 -81 96 -88 102 -124 102 l-38 0 74 -94z"
/>
<path
d="M916 1989 c3 -6 109 -134 235 -285 126 -151 229 -277 229 -280 0 -3
-27 -36 -61 -72 -98 -107 -168 -238 -183 -343 -20 -135 73 -313 248 -476 42
-39 76 -75 76 -80 0 -5 -19 -30 -43 -56 l-42 -47 -55 27 c-106 54 -279 40
-330 -25 -41 -52 -13 -122 91 -225 38 -37 69 -71 69 -76 0 -5 -7 -14 -15 -21
-24 -20 -18 -30 18 -30 25 0 39 7 55 30 12 16 22 33 22 39 0 5 -29 32 -65 61
-70 55 -110 104 -100 120 4 6 134 10 361 10 333 0 355 1 352 17 -3 16 -20 18
-168 21 -90 1 -168 6 -173 11 -5 5 17 40 52 83 l61 73 -42 35 c-67 55 -158
142 -158 152 0 4 91 8 203 8 111 0 208 4 216 9 8 5 11 16 8 25 -6 14 -35 16
-242 16 l-235 0 -30 41 c-62 86 -92 208 -71 287 l12 42 272 0 c150 0 278 4
286 9 8 5 11 16 8 25 -6 14 -37 16 -266 16 -143 0 -262 4 -265 9 -9 14 73 129
148 208 l68 73 -27 32 -28 33 181 5 c99 3 184 8 187 12 4 4 5 14 2 23 -6 13
-36 15 -210 15 l-204 0 -192 230 c-184 221 -192 230 -227 230 -23 0 -33 -4
-28 -11z"
/>
</g>
</svg>
);

export default PostgREST;
15 changes: 15 additions & 0 deletions documentation/src/assets/integrations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import {
Kinde,
PocketBase,
ShadCnUI,
PostgREST,
} from "./integration-icons";

export const integrations: IntegrationsType = {
Expand Down Expand Up @@ -303,6 +304,20 @@ export const integrations: IntegrationsType = {
},
],
},
{
name: "PostgREST Data Provider",
icon: PostgREST,
description:
"Connector for backends created with <strong>PostgREST</strong>",
url: "https://github.com/ffimnsr/refine-postgrest-ts",
status: "stable",
contributors: [
{
name: "ffimnsr",
url: "https://github.com/ffimnsr",
},
],
},
],
frameworks: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@
- [SQLite](https://www.sqlite.org/index.html) by [mateusabelli](https://github.com/mateusabelli/refine-sqlite)
- [JSON:API](https://jsonapi.org/) by [mahirmahdi](https://github.com/MahirMahdi/refine-jsonapi)
- [PocketBase](https://pocketbase.io/) by [kruschid](https://github.com/kruschid)
- [PostgREST](https://github.com/ffimnsr/refine-postgrest-ts) by [ffimnsr](https://github.com/ffimnsr)

_If you have created a custom data provider and would like to share it with the community, please don't hesitate to get in touch with us. We would be happy to include it on this page for others to use._
_If you have created a custom data provider and would like to share it with the community, feel free to create a PR. We would be happy to include it on this page for others to use._
2 changes: 1 addition & 1 deletion examples/table-material-ui-use-data-grid/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ npm create refine-app@latest -- --example table-material-ui-use-data-grid

<br/>

[![Open table-material-ui-use-data-grid example from refine](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/embed/github/refinedev/refine/tree/master/examples/table-material-ui-use-data-grid?view=preview&theme=dark&codemirror=1)
[![Open table-material-ui-use-data-grid example from refine](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/devbox/github/refinedev/refine/tree/master/examples/table-material-ui-use-data-grid)
13 changes: 13 additions & 0 deletions examples/table-react-table-basic/.codesandbox/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"$schema": "https://codesandbox.io/schemas/tasks.json",
"setupTasks": [
{
"name": "Installing Dependencies",
"command": "yarn install"
},
{
"name": "Building Workspace",
"command": "yarn build"
}
]
}

0 comments on commit ceaf214

Please sign in to comment.