@arkitektbedriftene/fe-lib 0.4.39 → 1.0.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.
@@ -3,6 +3,6 @@ export declare class LinkTargetNode extends LinkNode {
3
3
  static getType(): string;
4
4
  constructor(url: string, attrs?: LinkAttributes, key?: string);
5
5
  static clone(node: LinkTargetNode): LinkTargetNode;
6
- exportJSON(): SerializedLinkNode;
6
+ exportJSON(): SerializedLinkNode | import("@lexical/link").SerializedAutoLinkNode;
7
7
  static importJSON(serializedNode: SerializedLinkNode): LinkNode;
8
8
  }
@@ -5,7 +5,7 @@ export declare class RutineLinkNode extends LinkNode {
5
5
  static baseURL: string;
6
6
  static getType(): string;
7
7
  static clone(node: RutineLinkNode): RutineLinkNode;
8
- createDOM(config: EditorConfig): HTMLAnchorElement;
8
+ createDOM(config: EditorConfig): HTMLSpanElement | HTMLAnchorElement;
9
9
  static importJSON(serializedNode: SerializedLinkNode): RutineLinkNode;
10
10
  exportJSON(): {
11
11
  type: string;
@@ -18,6 +18,18 @@ export declare class RutineLinkNode extends LinkNode {
18
18
  indent: number;
19
19
  rel?: string | null | undefined;
20
20
  target?: string | null | undefined;
21
+ } | {
22
+ type: string;
23
+ url: string;
24
+ version: number;
25
+ title?: string | null | undefined;
26
+ children: import("lexical").SerializedLexicalNode[];
27
+ direction: "ltr" | "rtl" | null;
28
+ format: import("lexical").ElementFormatType;
29
+ indent: number;
30
+ rel?: string | null | undefined;
31
+ target?: string | null | undefined;
32
+ isUnlinked: boolean;
21
33
  };
22
34
  getURL(): string;
23
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkitektbedriftene/fe-lib",
3
- "version": "0.4.39",
3
+ "version": "1.0.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -73,21 +73,21 @@
73
73
  },
74
74
  "dependencies": {
75
75
  "@floating-ui/react": "^0.26.0",
76
- "@lexical/headless": "~0.12.0",
77
- "@lexical/html": "~0.12.0",
78
- "@lexical/link": "~0.12.0",
79
- "@lexical/list": "~0.12.0",
80
- "@lexical/react": "~0.12.0",
81
- "@lexical/rich-text": "~0.12.0",
82
- "@lexical/selection": "~0.12.0",
83
- "@lexical/table": "~0.12.0",
76
+ "@lexical/headless": "~0.17.0",
77
+ "@lexical/html": "~0.17.0",
78
+ "@lexical/link": "~0.17.0",
79
+ "@lexical/list": "~0.17.0",
80
+ "@lexical/react": "~0.17.0",
81
+ "@lexical/rich-text": "~0.17.0",
82
+ "@lexical/selection": "~0.17.0",
83
+ "@lexical/table": "~0.17.0",
84
84
  "@radix-ui/react-checkbox": "^1.0.4",
85
85
  "@radix-ui/react-dialog": "^1.0.5",
86
86
  "@radix-ui/react-dropdown-menu": "^2.0.6",
87
87
  "@radix-ui/react-toolbar": "^1.0.4",
88
88
  "@stitches/react": "^1.2.8",
89
89
  "jwt-decode": "^4.0.0",
90
- "lexical": "~0.12.0",
90
+ "lexical": "~0.17.0",
91
91
  "oidc-client-ts": "^2.2.2",
92
92
  "react-icons": "^4.8.0",
93
93
  "react-select": "^5.8.0",