@okam/directus-block 1.6.3 → 1.7.2

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,17 +1,46 @@
1
- ## 1.6.3 (2026-01-14)
1
+ ## 1.7.2 (2026-01-16)
2
+
3
+ ### 🧱 Updated Dependencies
4
+
5
+ - Updated stack-ui to 1.44.1
6
+
7
+ ## 1.7.1 (2026-01-16)
8
+
9
+ ### 🧱 Updated Dependencies
10
+
11
+ - Updated directus-query to 1.5.0
12
+
13
+ ## 1.7.0 (2026-01-16)
2
14
 
3
15
  ### 🚀 Features
4
16
 
5
17
  - ⚠️ React 19 + Next.js 15 upgrade for all @okam/* packages ([#369](https://github.com/OKAMca/stack/pull/369))
18
+ - Consumers must now have react and react-dom in their own
6
19
 
7
20
  ### 🩹 Fixes
8
21
 
22
+ - **directus-block:** remove breaking changes tag ([b521c26](https://github.com/OKAMca/stack/commit/b521c26))
23
+ - **directus-block:** stop bundling okam libs ([b0ddad5](https://github.com/OKAMca/stack/commit/b0ddad5))
24
+ - **directus-next:** draft route handler uses zod, returns draft isEnabled whenever possible ([#376](https://github.com/OKAMca/stack/pull/376))
9
25
  - ⚠️ functions starting with "use" should be reserved to react hooks ([68f1f8f](https://github.com/OKAMca/stack/commit/68f1f8f))
10
26
 
11
- ### ⚠️ Breaking Changes
27
+ ### ❤️ Thank You
28
+
29
+ - Marie-Maxime Tanguay @marie-maxime
30
+ - Pierre-Olivier Clerson @poclerson
31
+ - poclerson
32
+
33
+ ## 1.6.3 (2026-01-14)
34
+
35
+ ### 🚀 Features
12
36
 
37
+ - ⚠️ React 19 + Next.js 15 upgrade for all @okam/* packages ([#369](https://github.com/OKAMca/stack/pull/369))
13
38
  - Consumers must now have react and react-dom in their own
14
39
 
40
+ ### 🩹 Fixes
41
+
42
+ - ⚠️ functions starting with "use" should be reserved to react hooks ([68f1f8f](https://github.com/OKAMca/stack/commit/68f1f8f))
43
+
15
44
  ### 🧱 Updated Dependencies
16
45
 
17
46
  - Updated stack-ui to 1.44.0
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const BlockSettingsFragmentDoc = { "kind": "Document", "definitions": [{ "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "BlockSettings" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "block_settings" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokens" } }, { "kind": "Field", "name": { "kind": "Name", "value": "variant" } }] } }] };
3
+ const BlockSettingsFragmentDoc = {};
4
4
  exports.BlockSettingsFragmentDoc = BlockSettingsFragmentDoc;
@@ -1,4 +1,4 @@
1
- const BlockSettingsFragmentDoc = { "kind": "Document", "definitions": [{ "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "BlockSettings" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "block_settings" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokens" } }, { "kind": "Field", "name": { "kind": "Name", "value": "variant" } }] } }] };
1
+ const BlockSettingsFragmentDoc = {};
2
2
  export {
3
3
  BlockSettingsFragmentDoc
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@okam/directus-block",
3
- "version": "1.6.3",
3
+ "version": "1.7.2",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
@@ -33,8 +33,8 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@graphql-typed-document-node/core": "3.2.0",
36
- "@okam/directus-query": "1.4.2",
37
- "@okam/stack-ui": "1.44.0",
36
+ "@okam/directus-query": "1.5.0",
37
+ "@okam/stack-ui": "1.44.1",
38
38
  "graphql": "^16.9.0",
39
39
  "graphql-request": "^7.1.2",
40
40
  "radashi": "^12.3.0"
@@ -1,5 +1,5 @@
1
1
  "server-only";
2
- import { queryGql, defaultGraphqlRequestClient } from "@okam/directus-query";
2
+ import { defaultGraphqlRequestClient, queryGql } from "@okam/directus-query";
3
3
  import { isEmpty } from "radashi";
4
4
  function isVariables(maybeVariables) {
5
5
  return !!maybeVariables;