@coorax/react 0.0.0-canary.5 → 0.0.0-canary.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.
Files changed (30) hide show
  1. package/dist/components/corax-context-provider.d.ts +5 -0
  2. package/dist/components/corax-flow.d.ts +2 -0
  3. package/dist/components/slots/buttons/divider-style-button.d.ts +3 -0
  4. package/dist/components/slots/buttons/divider-width-button.d.ts +3 -0
  5. package/dist/components/slots/buttons/iframe-playback-button.d.ts +3 -0
  6. package/dist/components/slots/buttons/image-width-button.d.ts +3 -0
  7. package/dist/components/slots/buttons/paragraph-theme-button.d.ts +3 -0
  8. package/dist/index.js +784 -482
  9. package/dist/lib/comp.utils.d.ts +5 -1
  10. package/dist/lifecycle/fields/editable/handlers.d.ts +1 -1
  11. package/dist/styles.css +1 -1
  12. package/package.json +6 -5
  13. package/dist/components/fallbacks/iframe,fallback.d.ts +0 -2
  14. package/dist/lifecycle/fields/focus.events/onbeforeinput.d.ts +0 -3
  15. package/dist/lifecycle/fields/focus.events/onblur.d.ts +0 -3
  16. package/dist/lifecycle/fields/focus.events/onfocus.d.ts +0 -3
  17. package/dist/lifecycle/fields/keyboard.events/onkeydown.d.ts +0 -3
  18. package/dist/lifecycle/fields/media/handlers.d.ts +0 -7
  19. package/dist/lifecycle/fields/media/keyboard.events/onkeydown.d.ts +0 -3
  20. package/dist/lifecycle/fields/media/synthetic.events/onload.d.ts +0 -3
  21. package/dist/lifecycle/fields/mouse.events/onclick.d.ts +0 -3
  22. package/dist/lifecycle/fields/mouse.events/ondoubleclick.d.ts +0 -4
  23. package/dist/lifecycle/fields/mouse.events/onmouseenter.d.ts +0 -3
  24. package/dist/lifecycle/fields/mouse.events/onmouseleave.d.ts +0 -3
  25. package/dist/lifecycle/fields/synthetic.events/onload.d.ts +0 -3
  26. package/dist/lifecycle/fields/synthetic.events/onselect.d.ts +0 -3
  27. package/dist/registry/errors.registry.d.ts +0 -8
  28. package/dist/registry/fallbacks.registry.d.ts +0 -9
  29. package/dist/registry/primitives.registry.d.ts +0 -22
  30. package/dist/registry/registry.d.ts +0 -15
@@ -1,5 +1,10 @@
1
1
  import { Engine } from "@coorax/core";
2
2
  import React from "react";
3
+ declare global {
4
+ interface Window {
5
+ __cooraxEngine: Engine;
6
+ }
7
+ }
3
8
  export declare function CoraxEngineProvider({ children }: {
4
9
  children: React.ReactNode;
5
10
  }): React.JSX.Element;
@@ -1,4 +1,6 @@
1
1
  import React from "react";
2
+ /** Gouttière horizontale (px) où les médias élargis débordent tout en restant visibles. */
3
+ export declare const IMAGE_BREAKOUT_GUTTER = 150;
2
4
  export declare function CoraxFlow({ children, className, }: React.PropsWithChildren & {
3
5
  className?: string;
4
6
  }): React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import type { ButtonContribution, SlotBaseProps } from "@coorax/core";
2
+ import React from "react";
3
+ export declare const DividerStyleButton: React.MemoExoticComponent<({ c, ui, ...rest }: SlotBaseProps<ButtonContribution<"toolbar", "divider.setStyle", "DividerStyleButton">>) => React.JSX.Element>;
@@ -0,0 +1,3 @@
1
+ import type { ButtonContribution, SlotBaseProps } from "@coorax/core";
2
+ import React from "react";
3
+ export declare const DividerWidthButton: React.MemoExoticComponent<({ c, ui, ...rest }: SlotBaseProps<ButtonContribution<"toolbar", "divider.setWidth", "DividerWidthButton">>) => React.JSX.Element>;
@@ -0,0 +1,3 @@
1
+ import type { ButtonContribution, SlotBaseProps } from "@coorax/core";
2
+ import React from "react";
3
+ export declare const IframePlaybackButton: React.MemoExoticComponent<({ c, ui, ...rest }: SlotBaseProps<ButtonContribution<"toolbar", "iframe.playback", "IframePlaybackButton">>) => React.JSX.Element>;
@@ -0,0 +1,3 @@
1
+ import type { ButtonContribution, SlotBaseProps } from "@coorax/core";
2
+ import React from "react";
3
+ export declare const ImageWidthButton: React.MemoExoticComponent<({ c, ui, ...rest }: SlotBaseProps<ButtonContribution<"toolbar", "image.setWidth", "ImageWidthButton">>) => React.JSX.Element>;
@@ -0,0 +1,3 @@
1
+ import { type ButtonContribution, type SlotBaseProps } from "@coorax/core";
2
+ import React from "react";
3
+ export declare const ParagraphThemeButton: React.MemoExoticComponent<({ c, ui, ...rest }: SlotBaseProps<ButtonContribution<"toolbar", "paragraph.setTheme", "ParagraphThemeButton">>) => React.JSX.Element>;