@madebywild/sanity-link-field 0.2.0 → 0.2.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/dist/index.d.cts CHANGED
@@ -1,7 +1,6 @@
1
1
  import * as sanity0 from "sanity";
2
2
  import { ObjectOptions, ReferenceTo, StringDefinition } from "sanity";
3
3
  import * as react1 from "react";
4
- import { ListItem } from "@madebywild/sanity-utils/async-autocomplete";
5
4
  /** @public */
6
5
  declare function buildLinkPreview({
7
6
  kind,
@@ -31,6 +30,12 @@ declare function buildLinkPreview({
31
30
  subtitle?: undefined;
32
31
  };
33
32
  /** @public */
33
+ type ListItem = {
34
+ value: string;
35
+ label?: string;
36
+ };
37
+ /** @public */
38
+ /** @public */
34
39
  declare const typeName: "wild.link";
35
40
  /** @public */
36
41
  declare const LinkKind: {
package/dist/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  import * as sanity0 from "sanity";
2
2
  import { ObjectOptions, ReferenceTo, StringDefinition } from "sanity";
3
3
  import * as react1 from "react";
4
- import { ListItem } from "@madebywild/sanity-utils/async-autocomplete";
5
4
  /** @public */
6
5
  declare function buildLinkPreview({
7
6
  kind,
@@ -31,6 +30,12 @@ declare function buildLinkPreview({
31
30
  subtitle?: undefined;
32
31
  };
33
32
  /** @public */
33
+ type ListItem = {
34
+ value: string;
35
+ label?: string;
36
+ };
37
+ /** @public */
38
+ /** @public */
34
39
  declare const typeName: "wild.link";
35
40
  /** @public */
36
41
  declare const LinkKind: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@madebywild/sanity-link-field",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "license": "UNLICENSED",
@@ -21,8 +21,8 @@
21
21
  "access": "restricted"
22
22
  },
23
23
  "dependencies": {
24
- "@madebywild/sanity-utils": "latest",
25
- "change-case": "^5.4.4"
24
+ "change-case": "^5.4.4",
25
+ "@madebywild/sanity-utils": "0.2.2"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "@sanity/ui": "^3.1",