@byline/richtext-lexical 0.10.6 → 1.1.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/dist/field/plugins/inline-image-plugin/inline-image-modal.js +1 -1
- package/dist/field/plugins/link-plugin/link/link-modal.js +1 -1
- package/dist/richtext-field.js +1 -2
- package/package.json +4 -4
- package/src/field/plugins/inline-image-plugin/inline-image-modal.tsx +1 -1
- package/src/field/plugins/link-plugin/link/link-modal.tsx +1 -1
- package/src/richtext-field.tsx +1 -2
|
@@ -3,7 +3,7 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import { useMemo, useState } from "react";
|
|
4
4
|
import { getCollectionDefinition } from "@byline/core";
|
|
5
5
|
import { Button, Checkbox, CloseIcon, ErrorText, IconButton, Input, Label, Modal, RadioGroup, RadioGroupItem } from "@byline/ui";
|
|
6
|
-
import { RelationPicker } from "@byline/ui/react
|
|
6
|
+
import { RelationPicker } from "@byline/ui/react";
|
|
7
7
|
import { useEditorConfig } from "../../config/editor-config-context.js";
|
|
8
8
|
import { useModalFormState } from "../../shared/useModalFormState.js";
|
|
9
9
|
import { isAltTextValid, positionOptions } from "./fields.js";
|
|
@@ -3,7 +3,7 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import { useMemo, useState } from "react";
|
|
4
4
|
import { getClientConfig, getCollectionDefinition } from "@byline/core";
|
|
5
5
|
import { Button, Checkbox, CloseIcon, IconButton, Input, Label, Modal, RadioGroup, RadioGroupItem, Select } from "@byline/ui";
|
|
6
|
-
import { RelationPicker } from "@byline/ui/react
|
|
6
|
+
import { RelationPicker } from "@byline/ui/react";
|
|
7
7
|
import { useEditorConfig } from "../../../config/editor-config-context.js";
|
|
8
8
|
import { useModalFormState } from "../../../shared/useModalFormState.js";
|
|
9
9
|
import { validateUrl } from "../../../utils/url.js";
|
package/dist/richtext-field.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { ErrorText, Label } from "@byline/ui";
|
|
3
|
-
import { LocaleBadge } from "@byline/ui/react
|
|
4
|
-
import { useFieldError, useFieldValue } from "@byline/ui/react/forms";
|
|
3
|
+
import { LocaleBadge, useFieldError, useFieldValue } from "@byline/ui/react";
|
|
5
4
|
import classnames from "classnames";
|
|
6
5
|
import { defaultEditorConfig } from "./field/config/default.js";
|
|
7
6
|
import { EditorField } from "./field/editor-field.js";
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"private": false,
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
|
-
"version": "
|
|
6
|
+
"version": "1.1.0",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=20.9.0"
|
|
9
9
|
},
|
|
@@ -71,9 +71,9 @@
|
|
|
71
71
|
"npm-run-all": "^4.1.5",
|
|
72
72
|
"prism-react-renderer": "^2.4.1",
|
|
73
73
|
"react-error-boundary": "^6.1.1",
|
|
74
|
-
"@byline/
|
|
75
|
-
"@byline/
|
|
76
|
-
"@byline/
|
|
74
|
+
"@byline/ui": "1.1.0",
|
|
75
|
+
"@byline/client": "1.1.0",
|
|
76
|
+
"@byline/core": "1.1.0"
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|
|
79
79
|
"react": "^19.0.0",
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
RadioGroup,
|
|
26
26
|
RadioGroupItem,
|
|
27
27
|
} from '@byline/ui'
|
|
28
|
-
import { RelationPicker } from '@byline/ui/react
|
|
28
|
+
import { RelationPicker } from '@byline/ui/react'
|
|
29
29
|
|
|
30
30
|
import { useEditorConfig } from '../../config/editor-config-context'
|
|
31
31
|
import { useModalFormState } from '../../shared/useModalFormState'
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
Select,
|
|
27
27
|
type SelectValue,
|
|
28
28
|
} from '@byline/ui'
|
|
29
|
-
import { RelationPicker } from '@byline/ui/react
|
|
29
|
+
import { RelationPicker } from '@byline/ui/react'
|
|
30
30
|
|
|
31
31
|
import { useEditorConfig } from '../../../config/editor-config-context'
|
|
32
32
|
import { useModalFormState } from '../../../shared/useModalFormState'
|
package/src/richtext-field.tsx
CHANGED
|
@@ -10,8 +10,7 @@ import type React from 'react'
|
|
|
10
10
|
|
|
11
11
|
import type { RichTextField as FieldType } from '@byline/core'
|
|
12
12
|
import { ErrorText, Label } from '@byline/ui'
|
|
13
|
-
import { LocaleBadge } from '@byline/ui/react
|
|
14
|
-
import { useFieldError, useFieldValue } from '@byline/ui/react/forms'
|
|
13
|
+
import { LocaleBadge, useFieldError, useFieldValue } from '@byline/ui/react'
|
|
15
14
|
import cx from 'classnames'
|
|
16
15
|
|
|
17
16
|
import { defaultEditorConfig } from './field/config/default'
|