@arkitektbedriftene/fe-lib 0.3.20 → 0.3.22
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.
|
@@ -3,7 +3,7 @@ import { type CSS } from "../ui/ui";
|
|
|
3
3
|
import { type InitialConfigType } from "@lexical/react/LexicalComposer.js";
|
|
4
4
|
import type { EditorState, SerializedEditorState } from "lexical";
|
|
5
5
|
export type RichTextEditorState = EditorState | string | SerializedEditorState;
|
|
6
|
-
export declare const RichTextEditor: ({ isLoading, children, placeholderText, nodes, plugins, toolbarContent, content, hideBorder, onBlur, defaultState, css }: {
|
|
6
|
+
export declare const RichTextEditor: ({ isLoading, children, placeholderText, nodes, plugins, toolbarContent, content, hideBorder, onBlur, defaultState, css, }: {
|
|
7
7
|
isLoading: boolean;
|
|
8
8
|
children: ReactNode;
|
|
9
9
|
placeholderText?: string | undefined;
|
package/dist/rich-text.es.js
CHANGED
|
@@ -645,9 +645,11 @@ const Ue = () => /* @__PURE__ */ C(j, { children: [
|
|
|
645
645
|
borderRadius: "$md",
|
|
646
646
|
position: "relative",
|
|
647
647
|
backgroundColor: "white",
|
|
648
|
-
padding: "$4",
|
|
649
648
|
overflowY: "auto",
|
|
650
|
-
"&>div
|
|
649
|
+
"&>div[contenteditable]": {
|
|
650
|
+
padding: "$4"
|
|
651
|
+
},
|
|
652
|
+
"&>div[contenteditable]:focus-visible": {
|
|
651
653
|
outline: "none"
|
|
652
654
|
},
|
|
653
655
|
"&:hover": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arkitektbedriftene/fe-lib",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.22",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -86,6 +86,7 @@
|
|
|
86
86
|
"@stitches/react": "^1.2.8",
|
|
87
87
|
"oidc-client-ts": "^2.2.2",
|
|
88
88
|
"react-icons": "^4.8.0",
|
|
89
|
+
"react-select": "^5.8.0",
|
|
89
90
|
"use-local-storage-state": "^18.2.1"
|
|
90
91
|
}
|
|
91
92
|
}
|