@arkitektbedriftene/fe-lib 2.0.5 → 2.0.7

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.
@@ -11,3 +11,10 @@ export declare const stateToHTML: (state: SerializedEditorState | string | null
11
11
  html: string;
12
12
  trimCount: number;
13
13
  }>;
14
+ export declare const syncStateToHTML: (state: SerializedEditorState | string | null | undefined, nodes: CreateEditorArgs["nodes"], options?: {
15
+ maxLines?: number | null;
16
+ onlyMainContent?: boolean;
17
+ }) => Promise<{
18
+ html: string;
19
+ trimCount: number;
20
+ }>;
@@ -98,23 +98,22 @@ export declare const richTextStyleObj: {
98
98
  border: string;
99
99
  borderRadius: number;
100
100
  };
101
- "&::after": {
102
- content: string;
103
- width: number;
104
- height: number;
105
- top: number;
106
- left: number;
107
- display: string;
108
- position: string;
109
- borderLeft: string;
110
- borderBottom: string;
111
- transform: string;
112
- };
113
101
  "&[aria-checked=true]": {
114
102
  "&::before": {
115
- backgroundColor: string;
116
103
  borderColor: string;
117
104
  };
105
+ "&::after": {
106
+ content: string;
107
+ width: number;
108
+ height: number;
109
+ top: number;
110
+ left: number;
111
+ display: string;
112
+ position: string;
113
+ borderLeft: string;
114
+ borderBottom: string;
115
+ transform: string;
116
+ };
118
117
  };
119
118
  "&:focus": {
120
119
  outline: string;