@okam/directus-next-component 1.8.4 → 1.8.13
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 +39 -4
- package/components/DirectusFile/interface.d.ts +2 -2
- package/components/DirectusLink/interface.d.ts +1 -1
- package/index.d.ts +2 -2
- package/logger.d.ts +1 -1
- package/package.json +4 -4
- package/types/links.d.ts +2 -2
- package/types/metadata.d.ts +2 -2
- package/types/navigationItems.d.ts +1 -1
- package/utils/getDirectusFile/index.d.ts +2 -2
- package/utils/getDirectusLink/index.d.ts +1 -1
- package/utils/getDirectusMetadata/index.d.ts +2 -2
- package/utils/getDirectusSearchParams/index.d.ts +1 -1
- package/utils/getNavigationItems/index.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,41 @@
|
|
|
1
|
+
## 1.8.10 (2026-01-19)
|
|
2
|
+
|
|
3
|
+
### 🧱 Updated Dependencies
|
|
4
|
+
|
|
5
|
+
- Updated next-component to 1.3.3
|
|
6
|
+
- Updated directus-next to 1.2.25
|
|
7
|
+
|
|
8
|
+
## 1.8.9 (2026-01-19)
|
|
9
|
+
|
|
10
|
+
### 🧱 Updated Dependencies
|
|
11
|
+
|
|
12
|
+
- Updated stack-ui to 1.44.2
|
|
13
|
+
- Updated next-component to 1.3.3
|
|
14
|
+
|
|
15
|
+
## 1.8.6 (2026-01-19)
|
|
16
|
+
|
|
17
|
+
### 🩹 Fixes
|
|
18
|
+
|
|
19
|
+
- cross-lib type imports are always absolute ([#392](https://github.com/OKAMca/stack/pull/392))
|
|
20
|
+
|
|
21
|
+
### ❤️ Thank You
|
|
22
|
+
|
|
23
|
+
- Pierre-Olivier Clerson @poclerson
|
|
24
|
+
|
|
25
|
+
## 1.8.5 (2026-01-19)
|
|
26
|
+
|
|
27
|
+
### 🩹 Fixes
|
|
28
|
+
|
|
29
|
+
- cross-lib type imports are always absolute ([#392](https://github.com/OKAMca/stack/pull/392))
|
|
30
|
+
|
|
31
|
+
### 🧱 Updated Dependencies
|
|
32
|
+
|
|
33
|
+
- Updated directus-next to 1.2.21
|
|
34
|
+
|
|
35
|
+
### ❤️ Thank You
|
|
36
|
+
|
|
37
|
+
- Pierre-Olivier Clerson @poclerson
|
|
38
|
+
|
|
1
39
|
## 1.8.4 (2026-01-16)
|
|
2
40
|
|
|
3
41
|
### 🧱 Updated Dependencies
|
|
@@ -18,6 +56,7 @@
|
|
|
18
56
|
|
|
19
57
|
- ⚠️ React 19 + Next.js 15 upgrade for all @okam/* packages ([#369](https://github.com/OKAMca/stack/pull/369))
|
|
20
58
|
- **directus-next-component:** directus link supports search params ([21a3e46](https://github.com/OKAMca/stack/commit/21a3e46))
|
|
59
|
+
- Consumers must now have react and react-dom in their own
|
|
21
60
|
|
|
22
61
|
### 🩹 Fixes
|
|
23
62
|
|
|
@@ -29,10 +68,6 @@
|
|
|
29
68
|
- **directus-next-component:** core-lib in externals deps ([9b04ca0](https://github.com/OKAMca/stack/commit/9b04ca0))
|
|
30
69
|
- update vite-plugin-dts to version 3 ([5d33c77](https://github.com/OKAMca/stack/commit/5d33c77))
|
|
31
70
|
|
|
32
|
-
### ⚠️ Breaking Changes
|
|
33
|
-
|
|
34
|
-
- Consumers must now have react and react-dom in their own
|
|
35
|
-
|
|
36
71
|
### ❤️ Thank You
|
|
37
72
|
|
|
38
73
|
- Marie-Maxime Tanguay @marie-maxime
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TFiles } from '
|
|
2
|
-
import { TDefaultComponent } from '
|
|
1
|
+
import { TFiles } from '@okam/directus-next';
|
|
2
|
+
import { TDefaultComponent } from '@okam/stack-ui';
|
|
3
3
|
|
|
4
4
|
export interface TDirectusFileProps extends TFiles, TDefaultComponent {
|
|
5
5
|
/**
|
package/index.d.ts
CHANGED
|
@@ -17,8 +17,8 @@ export type {
|
|
|
17
17
|
/**
|
|
18
18
|
* @deprecated Import from `@okam/directus-next` instead
|
|
19
19
|
*/
|
|
20
|
-
TFiles, } from '
|
|
20
|
+
TFiles, } from '@okam/directus-next';
|
|
21
21
|
export type {
|
|
22
22
|
/**
|
|
23
23
|
* @deprecated Import from `@okam/directus-next` instead
|
|
24
|
-
*/ TPageSettings, } from '
|
|
24
|
+
*/ TPageSettings, } from '@okam/directus-next';
|
package/logger.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const logger: import('
|
|
1
|
+
export declare const logger: import('@okam/logger').Logger;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@okam/directus-next-component",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.13",
|
|
4
4
|
"main": "./index.js",
|
|
5
5
|
"types": "./index.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@okam/logger": "1.1.0",
|
|
36
|
-
"@okam/next-component": "1.3.
|
|
37
|
-
"@okam/stack-ui": "1.44.
|
|
36
|
+
"@okam/next-component": "1.3.4",
|
|
37
|
+
"@okam/stack-ui": "1.44.3",
|
|
38
38
|
"@react-spring/web": "^10.0.3",
|
|
39
39
|
"next": "^15.0.0",
|
|
40
40
|
"radashi": "^12.3.0",
|
|
41
41
|
"unlazy": "^0.12.1",
|
|
42
|
-
"@okam/directus-next": "1.2.
|
|
42
|
+
"@okam/directus-next": "1.2.26",
|
|
43
43
|
"zod": "^4.2.1"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
package/types/links.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TPageSettings, TFiles } from '
|
|
2
|
-
import { Nullable } from '
|
|
1
|
+
import { TPageSettings, TFiles } from '@okam/directus-next';
|
|
2
|
+
import { Nullable } from '@okam/stack-ui';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Represent the directus `links` collection, not the props of the DirectusLink component
|
package/types/metadata.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TPageSettings } from '
|
|
2
|
-
import { Nullable } from '
|
|
1
|
+
import { TPageSettings } from '@okam/directus-next';
|
|
2
|
+
import { Nullable } from '@okam/stack-ui';
|
|
3
3
|
import { AlternateURLs } from 'next/dist/lib/metadata/types/alternative-urls-types';
|
|
4
4
|
import { OpenGraphType } from 'next/dist/lib/metadata/types/opengraph-types';
|
|
5
5
|
import { StaticImageData } from 'next/image';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TFiles } from '
|
|
2
|
-
import { Nullable } from '
|
|
1
|
+
import { TFiles } from '@okam/directus-next';
|
|
2
|
+
import { Nullable } from '@okam/stack-ui';
|
|
3
3
|
|
|
4
4
|
export declare function getDirectusUrl(file: Nullable<TFiles>, baseUrl?: URL, searchParams?: Record<string, Nullable<string>>): URL | null;
|
|
5
5
|
export declare function getDirectusFile(file: Nullable<TFiles>, baseUrl?: URL, searchParams?: Record<string, Nullable<string>>): {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TAnchorProps } from '
|
|
1
|
+
import { TAnchorProps } from '@okam/stack-ui';
|
|
2
2
|
import { TGetDirectusLink } from '../../components/DirectusLink/interface';
|
|
3
3
|
|
|
4
4
|
export declare function getDirectusLink(props: TGetDirectusLink): TAnchorProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TPageSettings, TPageSettingsTranslation } from '
|
|
2
|
-
import { Nullable } from '
|
|
1
|
+
import { TPageSettings, TPageSettingsTranslation } from '@okam/directus-next';
|
|
2
|
+
import { Nullable } from '@okam/stack-ui';
|
|
3
3
|
import { Metadata } from 'next';
|
|
4
4
|
import { OpenGraph } from 'next/dist/lib/metadata/types/opengraph-types';
|
|
5
5
|
import { TDirectusFileProps } from '../../components/DirectusFile/interface';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Nullable } from '
|
|
1
|
+
import { Nullable } from '@okam/stack-ui';
|
|
2
2
|
import { TSearchParams } from '../../types/links';
|
|
3
3
|
|
|
4
4
|
export declare function getDirectusSearchParams(params: Nullable<Nullable<TSearchParams>[]>): URLSearchParams;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Nullable } from '
|
|
1
|
+
import { Nullable } from '@okam/stack-ui';
|
|
2
2
|
import { TDirectusLinkProps } from '../../components/DirectusLink/interface';
|
|
3
3
|
import { TNavigationItems, TNavigationItemsTree } from '../../types/navigationItems';
|
|
4
4
|
|