@pptx-editor.dev/react 0.3.0-canary.20261109032918.sha-39dc46e → 0.3.1
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.d.ts +11 -7
- package/dist/index.js +3377 -3359
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1262,8 +1262,9 @@ interface PptxEditorRootProps {
|
|
|
1262
1262
|
*/
|
|
1263
1263
|
readonly modules?: readonly EditorModule[];
|
|
1264
1264
|
/**
|
|
1265
|
-
* AutoCorrect while typing (default `true`):
|
|
1266
|
-
*
|
|
1265
|
+
* AutoCorrect while typing (default `true`): symbols, ellipses, fractions, and lists started
|
|
1266
|
+
* by typing `1.`, `1)`, `*`, or `-` and a space. Capitals, curly quotes, dashes, and
|
|
1267
|
+
* spelling are never automatic here: keyboards and systems that offer them apply them. Read
|
|
1267
1268
|
* once, when the editor is created.
|
|
1268
1269
|
*/
|
|
1269
1270
|
readonly autoCorrect?: boolean;
|
|
@@ -2328,8 +2329,8 @@ interface StatusBarNotesProps extends StatusBarPartProps {
|
|
|
2328
2329
|
/** The Notes button: shows or hides the speaker notes (`useNotesPane`). @public */
|
|
2329
2330
|
declare function StatusBarNotes({ className, hidden, icon, asChild, children, }: StatusBarNotesProps): ReactNode;
|
|
2330
2331
|
/**
|
|
2331
|
-
* The view buttons: the editor's view switch (`view.presentationView`: Normal
|
|
2332
|
-
* Sorter
|
|
2332
|
+
* The view buttons: the editor's view switch (`view.presentationView`: Normal and Slide
|
|
2333
|
+
* Sorter), the same control as the default editor's status area. @public
|
|
2333
2334
|
*/
|
|
2334
2335
|
declare function StatusBarViews({ className, hidden }: StatusBarPartProps): ReactNode;
|
|
2335
2336
|
/** Zoom out, the zoom level with its menu, and zoom in: the editor's `ZoomPill`. @public */
|
|
@@ -2743,12 +2744,12 @@ interface GradientDialogProps {
|
|
|
2743
2744
|
declare function GradientDialog({ open, initial, onClose, onApply }: GradientDialogProps): react.JSX.Element;
|
|
2744
2745
|
/** The props of `LineGlyph`. @public */
|
|
2745
2746
|
interface LineGlyphProps {
|
|
2746
|
-
/** The line kind
|
|
2747
|
+
/** The line kind, line end, or preset dash to draw, as the line menus give it. */
|
|
2747
2748
|
value: string;
|
|
2748
2749
|
/** Draw the end at the start of the line (mirrored), for the line start menu. */
|
|
2749
2750
|
start?: boolean;
|
|
2750
2751
|
}
|
|
2751
|
-
/** Glyphs for line kinds
|
|
2752
|
+
/** Glyphs for line kinds, line ends, and preset dashes, drawn in a 48×24 box. @public */
|
|
2752
2753
|
declare function LineGlyph({ value, start }: LineGlyphProps): react.JSX.Element;
|
|
2753
2754
|
/** The props of `LineMenuControl`. @public */
|
|
2754
2755
|
interface LineMenuControlProps {
|
|
@@ -2757,7 +2758,10 @@ interface LineMenuControlProps {
|
|
|
2757
2758
|
/** The registry entry of the control, from `CHROME_GROUPS`. */
|
|
2758
2759
|
control: ChromeControl;
|
|
2759
2760
|
}
|
|
2760
|
-
/**
|
|
2761
|
+
/**
|
|
2762
|
+
* The line tool, the line start and end menus, and the dash menus, with each option drawn.
|
|
2763
|
+
* @public
|
|
2764
|
+
*/
|
|
2761
2765
|
declare function LineMenuControl({ slot, control }: LineMenuControlProps): react.JSX.Element | null;
|
|
2762
2766
|
|
|
2763
2767
|
/** Props for `PptxEditor.PatternDialog`. @public */
|