@examind/block-editor 0.1.9 → 0.1.10
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.css +9 -4
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1893 -1800
- package/dist/index.mjs +1601 -1508
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1229,6 +1229,7 @@
|
|
|
1229
1229
|
nav.hidden {
|
|
1230
1230
|
opacity: 1;
|
|
1231
1231
|
width: auto;
|
|
1232
|
+
height: 50px;
|
|
1232
1233
|
}
|
|
1233
1234
|
main {
|
|
1234
1235
|
flex-grow: 1;
|
|
@@ -2960,11 +2961,13 @@ article {
|
|
|
2960
2961
|
.controls {
|
|
2961
2962
|
position: absolute;
|
|
2962
2963
|
top: calc(50% - 20px);
|
|
2963
|
-
right: -
|
|
2964
|
+
right: -32px;
|
|
2964
2965
|
display: flex;
|
|
2965
2966
|
flex-direction: row;
|
|
2966
|
-
gap: var(--sl-spacing-small);
|
|
2967
2967
|
z-index: 10;
|
|
2968
|
+
sl-button::part(base) {
|
|
2969
|
+
padding-inline: var(--sl-spacing-x-small);
|
|
2970
|
+
}
|
|
2968
2971
|
}
|
|
2969
2972
|
&.correct {
|
|
2970
2973
|
border-color: var(--sl-color-green-300);
|
|
@@ -3326,11 +3329,13 @@ article {
|
|
|
3326
3329
|
.controls {
|
|
3327
3330
|
position: absolute;
|
|
3328
3331
|
top: calc(50% - 20px);
|
|
3329
|
-
right: -
|
|
3332
|
+
right: -32px;
|
|
3330
3333
|
display: flex;
|
|
3331
3334
|
flex-direction: row;
|
|
3332
|
-
gap: var(--sl-spacing-small);
|
|
3333
3335
|
z-index: 10;
|
|
3336
|
+
sl-button::part(base) {
|
|
3337
|
+
padding-inline: var(--sl-spacing-x-small);
|
|
3338
|
+
}
|
|
3334
3339
|
}
|
|
3335
3340
|
&.correct {
|
|
3336
3341
|
border-color: var(--sl-color-green-300);
|
package/dist/index.d.mts
CHANGED
|
@@ -19,6 +19,7 @@ type BlockEditorProps = {
|
|
|
19
19
|
theme?: Theme;
|
|
20
20
|
onChange?: (editorState: SerializedEditorState) => void;
|
|
21
21
|
children?: React.ReactNode;
|
|
22
|
+
renderSettings?: () => React.ReactNode;
|
|
22
23
|
};
|
|
23
24
|
declare function BlockEditor(props: BlockEditorProps): react_jsx_runtime.JSX.Element;
|
|
24
25
|
|
package/dist/index.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ type BlockEditorProps = {
|
|
|
19
19
|
theme?: Theme;
|
|
20
20
|
onChange?: (editorState: SerializedEditorState) => void;
|
|
21
21
|
children?: React.ReactNode;
|
|
22
|
+
renderSettings?: () => React.ReactNode;
|
|
22
23
|
};
|
|
23
24
|
declare function BlockEditor(props: BlockEditorProps): react_jsx_runtime.JSX.Element;
|
|
24
25
|
|