polotno 4.0.0-beta.41 → 4.0.0-beta.43

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 (185) hide show
  1. package/blueprint/canvas/context-menu/context-menu.d.ts +2 -1
  2. package/blueprint/canvas/page-controls.d.ts +2 -1
  3. package/blueprint/canvas/tooltip.d.ts +2 -1
  4. package/blueprint/pages-timeline/audio-track.d.ts +2 -1
  5. package/blueprint/pages-timeline/audios.d.ts +2 -1
  6. package/blueprint/pages-timeline/current-time.d.ts +1 -1
  7. package/blueprint/pages-timeline/element-track.d.ts +2 -1
  8. package/blueprint/pages-timeline/elements.d.ts +2 -1
  9. package/blueprint/pages-timeline/page-preview.d.ts +1 -1
  10. package/blueprint/pages-timeline/pages-timeline.d.ts +2 -1
  11. package/blueprint/pages-timeline/pages.d.ts +2 -1
  12. package/blueprint/pages-timeline/play-button.d.ts +2 -1
  13. package/blueprint/pages-timeline/time-ruler.d.ts +2 -1
  14. package/blueprint/side-panel/ai-images-panel.d.ts +2 -1
  15. package/blueprint/side-panel/animations-panel.d.ts +3 -2
  16. package/blueprint/side-panel/background-panel.d.ts +2 -1
  17. package/blueprint/side-panel/draw-panel.d.ts +2 -1
  18. package/blueprint/side-panel/effects-panel.d.ts +3 -2
  19. package/blueprint/side-panel/elements-panel.d.ts +4 -3
  20. package/blueprint/side-panel/image-clip-panel.d.ts +2 -1
  21. package/blueprint/side-panel/images-grid.d.ts +2 -1
  22. package/blueprint/side-panel/layers-panel.d.ts +2 -1
  23. package/blueprint/side-panel/pages-panel.d.ts +2 -1
  24. package/blueprint/side-panel/photos-panel.d.ts +2 -1
  25. package/blueprint/side-panel/side-panel.d.ts +1 -1
  26. package/blueprint/side-panel/size-panel.d.ts +2 -1
  27. package/blueprint/side-panel/tab-button.d.ts +2 -1
  28. package/blueprint/side-panel/templates-panel.d.ts +2 -1
  29. package/blueprint/side-panel/text-panel.d.ts +2 -1
  30. package/blueprint/side-panel/upload-panel.d.ts +2 -1
  31. package/blueprint/side-panel/videos-grid.d.ts +2 -1
  32. package/blueprint/side-panel/videos-panel.d.ts +2 -1
  33. package/blueprint/toolbar/admin-button.d.ts +2 -1
  34. package/blueprint/toolbar/animations-picker.d.ts +4 -3
  35. package/blueprint/toolbar/color-picker.d.ts +2 -1
  36. package/blueprint/toolbar/copy-style.d.ts +3 -2
  37. package/blueprint/toolbar/download-button.d.ts +2 -1
  38. package/blueprint/toolbar/duplicate-button.d.ts +2 -1
  39. package/blueprint/toolbar/element-container.d.ts +2 -1
  40. package/blueprint/toolbar/figure-toolbar.d.ts +5 -4
  41. package/blueprint/toolbar/filters-picker.d.ts +5 -4
  42. package/blueprint/toolbar/flip-button.d.ts +2 -1
  43. package/blueprint/toolbar/gif-toolbar.d.ts +2 -1
  44. package/blueprint/toolbar/group-button.d.ts +2 -1
  45. package/blueprint/toolbar/group-toolbar.d.ts +2 -1
  46. package/blueprint/toolbar/history-buttons.d.ts +2 -1
  47. package/blueprint/toolbar/html-toolbar.d.ts +6 -5
  48. package/blueprint/toolbar/image-remove-background-button.d.ts +3 -2
  49. package/blueprint/toolbar/image-toolbar.d.ts +6 -5
  50. package/blueprint/toolbar/line-toolbar.d.ts +6 -5
  51. package/blueprint/toolbar/lock-button.d.ts +2 -1
  52. package/blueprint/toolbar/many-toolbar.d.ts +2 -1
  53. package/blueprint/toolbar/opacity-picker.d.ts +2 -1
  54. package/blueprint/toolbar/page-toolbar.d.ts +3 -2
  55. package/blueprint/toolbar/position-picker.d.ts +2 -1
  56. package/blueprint/toolbar/remove-button.d.ts +2 -1
  57. package/blueprint/toolbar/sketch.d.ts +1 -1
  58. package/blueprint/toolbar/svg-toolbar.d.ts +2 -1
  59. package/blueprint/toolbar/table-toolbar.d.ts +8 -7
  60. package/blueprint/toolbar/text-ai-write.d.ts +2 -1
  61. package/blueprint/toolbar/text-toolbar.d.ts +13 -12
  62. package/blueprint/toolbar/toolbar.d.ts +1 -1
  63. package/blueprint/toolbar/video-toolbar.d.ts +4 -3
  64. package/blueprint/toolbar/zoom-buttons.d.ts +3 -2
  65. package/blueprint.polotno.css +16 -0
  66. package/canvas/context-menu/context-menu.d.ts +1 -1
  67. package/canvas/drawing-layer.d.ts +2 -1
  68. package/canvas/element.d.ts +2 -1
  69. package/canvas/figure-element.d.ts +2 -1
  70. package/canvas/gif-element.d.ts +2 -1
  71. package/canvas/highlighter.d.ts +2 -1
  72. package/canvas/html-element.d.ts +2 -1
  73. package/canvas/image-element.d.ts +2 -1
  74. package/canvas/line-element.d.ts +2 -1
  75. package/canvas/page-controls.d.ts +1 -1
  76. package/canvas/page.d.ts +1 -1
  77. package/canvas/render-tag-element.d.ts +2 -1
  78. package/canvas/rich-editor.d.ts +2 -1
  79. package/canvas/rules.d.ts +2 -1
  80. package/canvas/table-element.d.ts +2 -1
  81. package/canvas/text-element.d.ts +2 -1
  82. package/canvas/text-element.js +1 -1
  83. package/canvas/tooltip.d.ts +2 -1
  84. package/canvas/video-element.d.ts +2 -1
  85. package/canvas/workspace-canvas.d.ts +2 -1
  86. package/canvas/workspace.d.ts +2 -1
  87. package/icons/animation-icons.d.ts +6 -6
  88. package/icons/brand-icons.d.ts +6 -0
  89. package/icons/brand-icons.js +1 -0
  90. package/icons/meronex.d.ts +25 -24
  91. package/icons/registry.d.ts +12 -12
  92. package/icons/registry.js +1 -1
  93. package/package.json +26 -26
  94. package/pages-timeline/audio-track.d.ts +2 -1
  95. package/pages-timeline/audio-track.js +1 -1
  96. package/pages-timeline/audios.d.ts +1 -1
  97. package/pages-timeline/current-time.d.ts +1 -1
  98. package/pages-timeline/element-track.d.ts +2 -1
  99. package/pages-timeline/element-track.js +1 -1
  100. package/pages-timeline/elements.d.ts +1 -1
  101. package/pages-timeline/page-preview.d.ts +1 -1
  102. package/pages-timeline/pages-timeline.d.ts +2 -1
  103. package/pages-timeline/pages-timeline.js +1 -1
  104. package/pages-timeline/pages.d.ts +1 -1
  105. package/pages-timeline/play-button.d.ts +1 -1
  106. package/pages-timeline/spinner.d.ts +1 -1
  107. package/pages-timeline/time-ruler.d.ts +2 -1
  108. package/pages-timeline/track-styles.d.ts +1 -1
  109. package/pages-timeline/track-styles.js +1 -1
  110. package/polotno-app.d.ts +1 -1
  111. package/polotno.bundle.js +149 -147
  112. package/primitives/dialog.d.ts +2 -2
  113. package/primitives/dropdown-menu.d.ts +5 -5
  114. package/primitives/field-group.d.ts +1 -1
  115. package/primitives/overflow-list.d.ts +1 -1
  116. package/primitives/panel-header.d.ts +1 -1
  117. package/primitives/popover.d.ts +1 -1
  118. package/primitives/portal-scope.d.ts +1 -1
  119. package/primitives/select.d.ts +2 -2
  120. package/primitives/slider-field.d.ts +1 -1
  121. package/primitives/tooltip.d.ts +2 -2
  122. package/side-panel/ai-images-panel.d.ts +2 -1
  123. package/side-panel/animations-panel.d.ts +2 -1
  124. package/side-panel/background-panel.d.ts +2 -1
  125. package/side-panel/draw-panel.d.ts +2 -1
  126. package/side-panel/effects-panel.d.ts +2 -1
  127. package/side-panel/elements-panel.d.ts +4 -3
  128. package/side-panel/image-clip-panel.d.ts +2 -1
  129. package/side-panel/images-grid.d.ts +2 -1
  130. package/side-panel/layers-panel.d.ts +2 -1
  131. package/side-panel/pages-panel.d.ts +2 -1
  132. package/side-panel/photos-panel.d.ts +1 -1
  133. package/side-panel/photos-panel.js +1 -1
  134. package/side-panel/side-panel.d.ts +2 -1
  135. package/side-panel/size-panel.d.ts +1 -1
  136. package/side-panel/tab-button.d.ts +1 -1
  137. package/side-panel/templates-panel.d.ts +2 -1
  138. package/side-panel/text-panel.d.ts +2 -1
  139. package/side-panel/unsplash-credit.d.ts +2 -1
  140. package/side-panel/upload-panel.d.ts +2 -1
  141. package/side-panel/videos-grid.d.ts +2 -1
  142. package/side-panel/videos-grid.js +1 -1
  143. package/side-panel/videos-panel.d.ts +1 -1
  144. package/side-panel/videos-panel.js +1 -1
  145. package/themes/blueprint.css +0 -3
  146. package/toolbar/admin-button.d.ts +1 -1
  147. package/toolbar/animations-picker.d.ts +3 -2
  148. package/toolbar/color-picker.d.ts +1 -1
  149. package/toolbar/color-picker.js +1 -1
  150. package/toolbar/copy-style.d.ts +2 -2
  151. package/toolbar/download-button.d.ts +2 -1
  152. package/toolbar/duplicate-button.d.ts +1 -1
  153. package/toolbar/element-container.d.ts +1 -1
  154. package/toolbar/figure-toolbar.d.ts +5 -4
  155. package/toolbar/filters-picker.d.ts +3 -2
  156. package/toolbar/flip-button.d.ts +1 -1
  157. package/toolbar/gif-toolbar.d.ts +2 -1
  158. package/toolbar/group-button.d.ts +1 -1
  159. package/toolbar/group-toolbar.d.ts +2 -1
  160. package/toolbar/history-buttons.d.ts +1 -1
  161. package/toolbar/html-toolbar.d.ts +6 -5
  162. package/toolbar/html-toolbar.js +4 -4
  163. package/toolbar/image-remove-background-button.d.ts +3 -2
  164. package/toolbar/image-toolbar.d.ts +6 -5
  165. package/toolbar/line-toolbar.d.ts +6 -5
  166. package/toolbar/lock-button.d.ts +1 -1
  167. package/toolbar/many-toolbar.d.ts +2 -1
  168. package/toolbar/opacity-picker.d.ts +1 -1
  169. package/toolbar/page-toolbar.d.ts +2 -1
  170. package/toolbar/position-picker.d.ts +2 -1
  171. package/toolbar/remove-button.d.ts +1 -1
  172. package/toolbar/sketch.d.ts +2 -1
  173. package/toolbar/sketch.js +1 -1
  174. package/toolbar/svg-toolbar.d.ts +2 -1
  175. package/toolbar/table-toolbar.d.ts +8 -7
  176. package/toolbar/text-ai-write.d.ts +2 -1
  177. package/toolbar/text-toolbar.d.ts +10 -10
  178. package/toolbar/toolbar-shared.d.ts +6 -6
  179. package/toolbar/toolbar.d.ts +1 -1
  180. package/toolbar/video-toolbar.d.ts +4 -3
  181. package/toolbar/zoom-buttons.d.ts +2 -2
  182. package/ui.css +1 -1
  183. package/utils/rich-text-html.d.ts +1 -0
  184. package/utils/rich-text-html.js +1 -1
  185. package/utils/validate-key.js +1 -1
@@ -1,5 +1,6 @@
1
1
  import { StoreType } from '../../../model/store.js';
2
2
  import { ShapeType } from '../../../model/shape-model.js';
3
+ import React from 'react';
3
4
  type ContextMenuProps = {
4
5
  store: StoreType;
5
6
  element: ShapeType;
@@ -10,7 +11,7 @@ type ContextMenuProps = {
10
11
  isOpen: boolean;
11
12
  setIsOpen: (b: boolean) => void;
12
13
  };
13
- export declare const ContextMenu: (({ store, isOpen, offset, setIsOpen }: ContextMenuProps) => import("react/jsx-runtime").JSX.Element | null) & {
14
+ export declare const ContextMenu: (({ store, isOpen, offset, setIsOpen }: ContextMenuProps) => React.JSX.Element | null) & {
14
15
  displayName: string;
15
16
  };
16
17
  export {};
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  import { PageType } from '../../model/page-model.js';
3
4
  export declare const PageControls: (({ store, page, xPadding, yPadding, layout, }: {
@@ -6,6 +7,6 @@ export declare const PageControls: (({ store, page, xPadding, yPadding, layout,
6
7
  xPadding: number;
7
8
  yPadding: number;
8
9
  layout?: "vertical" | "horizontal";
9
- }) => import("react/jsx-runtime").JSX.Element | null) & {
10
+ }) => React.JSX.Element | null) & {
10
11
  displayName: string;
11
12
  };
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  import { PageType } from '../../model/page-model.js';
3
4
  export declare const Tooltip: (({ store, page, components, stageRef, tooltipSafeArea, }: {
@@ -11,6 +12,6 @@ export declare const Tooltip: (({ store, page, components, stageRef, tooltipSafe
11
12
  left?: number;
12
13
  right?: number;
13
14
  };
14
- }) => import("react/jsx-runtime").JSX.Element | null) & {
15
+ }) => React.JSX.Element | null) & {
15
16
  displayName: string;
16
17
  };
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  import { AudioType } from '../../model/audio-model.js';
3
4
  export declare const AUDIO_ROW_HEIGHT = 28;
@@ -7,6 +8,6 @@ export declare const AudioTrack: (({ audio, scale, store, index, }: {
7
8
  scale: number;
8
9
  store: StoreType;
9
10
  index: number;
10
- }) => import("react/jsx-runtime").JSX.Element) & {
11
+ }) => React.JSX.Element) & {
11
12
  displayName: string;
12
13
  };
@@ -1,8 +1,9 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  export declare const Audios: (({ store, scale, width, }: {
3
4
  store: StoreType;
4
5
  scale: number;
5
6
  width: number;
6
- }) => import("react/jsx-runtime").JSX.Element | null) & {
7
+ }) => React.JSX.Element | null) & {
7
8
  displayName: string;
8
9
  };
@@ -7,7 +7,7 @@ interface CurrentTimeProps {
7
7
  variant?: Variant;
8
8
  dragAreaRef?: React.RefObject<HTMLElement>;
9
9
  }
10
- export declare const CurrentTime: (({ store, scale, variant, dragAreaRef }: CurrentTimeProps) => import("react/jsx-runtime").JSX.Element) & {
10
+ export declare const CurrentTime: (({ store, scale, variant, dragAreaRef }: CurrentTimeProps) => React.JSX.Element) & {
11
11
  displayName: string;
12
12
  };
13
13
  export {};
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { ShapeType } from '../../model/shape-model.js';
2
3
  import { StoreType } from '../../model/store.js';
3
4
  import { PageType } from '../../model/page-model.js';
@@ -8,6 +9,6 @@ export declare const ElementTrack: (({ element, page, store, scale, row, }: {
8
9
  store: StoreType;
9
10
  scale: number;
10
11
  row: number;
11
- }) => import("react/jsx-runtime").JSX.Element) & {
12
+ }) => React.JSX.Element) & {
12
13
  displayName: string;
13
14
  };
@@ -1,10 +1,11 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  interface ElementTimelineProps {
3
4
  store: StoreType;
4
5
  scale: number;
5
6
  width: number;
6
7
  }
7
- export declare const ElementsTimeline: (({ store, scale, width }: ElementTimelineProps) => import("react/jsx-runtime").JSX.Element | null) & {
8
+ export declare const ElementsTimeline: (({ store, scale, width }: ElementTimelineProps) => React.JSX.Element | null) & {
8
9
  displayName: string;
9
10
  };
10
11
  export {};
@@ -7,6 +7,6 @@ export declare const usePagePreview: ({ page, ref, }: {
7
7
  export declare const PagePreview: (({ page, scale }: {
8
8
  page: PageType;
9
9
  scale: number;
10
- }) => import("react/jsx-runtime").JSX.Element) & {
10
+ }) => React.JSX.Element) & {
11
11
  displayName: string;
12
12
  };
@@ -1,8 +1,9 @@
1
1
  import '../blueprint-guard';
2
+ import React from 'react';
2
3
  import { StoreType } from '../../model/store.js';
3
4
  export declare const PagesTimeline: (({ store, defaultOpened, }: {
4
5
  store: StoreType;
5
6
  defaultOpened?: boolean;
6
- }) => import("react/jsx-runtime").JSX.Element) & {
7
+ }) => React.JSX.Element) & {
7
8
  displayName: string;
8
9
  };
@@ -1,7 +1,8 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  export declare const Pages: (({ store, scale }: {
3
4
  store: StoreType;
4
5
  scale: number;
5
- }) => import("react/jsx-runtime").JSX.Element) & {
6
+ }) => React.JSX.Element) & {
6
7
  displayName: string;
7
8
  };
@@ -1,10 +1,11 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  interface PlayButtonProps {
3
4
  store: StoreType;
4
5
  scale?: number;
5
6
  onScaleChange?: (scale: number) => void;
6
7
  }
7
- export declare const PlayButton: (({ store, scale, onScaleChange }: PlayButtonProps) => import("react/jsx-runtime").JSX.Element) & {
8
+ export declare const PlayButton: (({ store, scale, onScaleChange }: PlayButtonProps) => React.JSX.Element) & {
8
9
  displayName: string;
9
10
  };
10
11
  export {};
@@ -1,8 +1,9 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  export declare const TimeRuler: (({ store, scale, minWidth, }: {
3
4
  store: StoreType;
4
5
  scale: number;
5
6
  minWidth?: number;
6
- }) => import("react/jsx-runtime").JSX.Element) & {
7
+ }) => React.JSX.Element) & {
7
8
  displayName: string;
8
9
  };
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  export declare const AiImagesPanel: (({ store }: {
3
4
  store: StoreType;
4
- }) => import("react/jsx-runtime").JSX.Element) & {
5
+ }) => React.JSX.Element) & {
5
6
  displayName: string;
6
7
  };
@@ -1,11 +1,12 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  export declare const NumberInput: ({ value, onValueChange, ...props }: {
3
4
  [x: string]: any;
4
5
  value: any;
5
6
  onValueChange: any;
6
- }) => import("react/jsx-runtime").JSX.Element;
7
+ }) => React.JSX.Element;
7
8
  export declare const AnimationsPanel: (({ store }: {
8
9
  store: StoreType;
9
- }) => import("react/jsx-runtime").JSX.Element | null) & {
10
+ }) => React.JSX.Element | null) & {
10
11
  displayName: string;
11
12
  };
@@ -1,8 +1,9 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  export declare const setDefaultQuery: (query: string) => void;
3
4
  export declare const setBackgroundColorsPreset: (newColors: string[]) => void;
4
5
  export declare const BackgroundPanel: (({ store }: {
5
6
  store: StoreType;
6
- }) => import("react/jsx-runtime").JSX.Element) & {
7
+ }) => React.JSX.Element) & {
7
8
  displayName: string;
8
9
  };
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  export declare const DrawPanel: (({ store }: {
3
4
  store: StoreType;
4
- }) => import("react/jsx-runtime").JSX.Element) & {
5
+ }) => React.JSX.Element) & {
5
6
  displayName: string;
6
7
  };
@@ -1,11 +1,12 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  export declare const NumberInput: ({ value, onValueChange, ...props }: {
3
4
  [x: string]: any;
4
5
  value: any;
5
6
  onValueChange: any;
6
- }) => import("react/jsx-runtime").JSX.Element;
7
+ }) => React.JSX.Element;
7
8
  export declare const EffectsPanel: (({ store }: {
8
9
  store: StoreType;
9
- }) => import("react/jsx-runtime").JSX.Element | null) & {
10
+ }) => React.JSX.Element | null) & {
10
11
  displayName: string;
11
12
  };
@@ -1,12 +1,13 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  export declare const NounprojectPanel: ({ store, query }: {
3
4
  store: any;
4
5
  query: any;
5
- }) => import("react/jsx-runtime").JSX.Element;
6
+ }) => React.JSX.Element;
6
7
  export declare const setDefaultColor: (color: string) => void;
7
8
  export declare const Shapes: ({ store }: {
8
9
  store: any;
9
- }) => import("react/jsx-runtime").JSX.Element;
10
+ }) => React.JSX.Element;
10
11
  export declare const ElementsPanel: ({ store }: {
11
12
  store: StoreType;
12
- }) => import("react/jsx-runtime").JSX.Element;
13
+ }) => React.JSX.Element;
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  export declare const ImageClipPanel: (({ store }: {
3
4
  store: StoreType;
4
- }) => import("react/jsx-runtime").JSX.Element) & {
5
+ }) => React.JSX.Element) & {
5
6
  displayName: string;
6
7
  };
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { ShapeType } from '../../model/shape-model.js';
2
3
  type Props<ImageType> = {
3
4
  images: ImageType[] | undefined;
@@ -18,5 +19,5 @@ type Props<ImageType> = {
18
19
  error?: any;
19
20
  hideNoResults?: boolean;
20
21
  };
21
- export declare const ImagesGrid: <ImageType>({ images, onSelect, isLoading, getPreview, loadMore, getCredit, getAlt, getImageClassName, rowsNumber, crossOrigin, shadowEnabled, itemHeight, error, hideNoResults, }: Props<ImageType>) => import("react/jsx-runtime").JSX.Element;
22
+ export declare const ImagesGrid: <ImageType>({ images, onSelect, isLoading, getPreview, loadMore, getCredit, getAlt, getImageClassName, rowsNumber, crossOrigin, shadowEnabled, itemHeight, error, hideNoResults, }: Props<ImageType>) => React.JSX.Element;
22
23
  export {};
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  export declare const LayersPanel: (({ store }: {
3
4
  store: StoreType;
4
- }) => import("react/jsx-runtime").JSX.Element) & {
5
+ }) => React.JSX.Element) & {
5
6
  displayName: string;
6
7
  };
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  export declare const PagesPanel: (({ store }: {
3
4
  store: StoreType;
4
- }) => import("react/jsx-runtime").JSX.Element) & {
5
+ }) => React.JSX.Element) & {
5
6
  displayName: string;
6
7
  };
@@ -1,4 +1,5 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  export declare const PhotosPanel: ({ store }: {
3
4
  store: StoreType;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
+ }) => React.JSX.Element;
@@ -33,7 +33,7 @@ interface SidePanelProps {
33
33
  sections?: Section[];
34
34
  defaultSection?: string;
35
35
  }
36
- export declare const SidePanel: (({ store, sections, defaultSection }: SidePanelProps) => import("react/jsx-runtime").JSX.Element) & {
36
+ export declare const SidePanel: (({ store, sections, defaultSection }: SidePanelProps) => React.JSX.Element) & {
37
37
  displayName: string;
38
38
  };
39
39
  export default SidePanel;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  import { UnitType } from '../../utils/unit.js';
3
4
  export declare const SIZE_CATEGORIES: Array<{
@@ -7,6 +8,6 @@ export declare const SIZE_CATEGORIES: Array<{
7
8
  }>;
8
9
  export declare const SizePanel: (({ store }: {
9
10
  store: StoreType;
10
- }) => import("react/jsx-runtime").JSX.Element) & {
11
+ }) => React.JSX.Element) & {
11
12
  displayName: string;
12
13
  };
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  interface SectionTabProps {
2
3
  children: any;
3
4
  name: string;
@@ -5,5 +6,5 @@ interface SectionTabProps {
5
6
  active: boolean;
6
7
  iconSize?: number;
7
8
  }
8
- export declare const SectionTab: ({ children, name, onClick, active, iconSize, }: SectionTabProps) => import("react/jsx-runtime").JSX.Element;
9
+ export declare const SectionTab: ({ children, name, onClick, active, iconSize, }: SectionTabProps) => React.JSX.Element;
9
10
  export {};
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  export declare const TemplatesPanel: (({ store }: {
3
4
  store: StoreType;
4
- }) => import("react/jsx-runtime").JSX.Element) & {
5
+ }) => React.JSX.Element) & {
5
6
  displayName: string;
6
7
  };
@@ -1,9 +1,10 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  declare let uploadFunc: (file: File) => Promise<string>;
3
4
  export declare function setFontUploadFunc(func: typeof uploadFunc): void;
4
5
  export declare const TextPanel: (({ store }: {
5
6
  store: StoreType;
6
- }) => import("react/jsx-runtime").JSX.Element) & {
7
+ }) => React.JSX.Element) & {
7
8
  displayName: string;
8
9
  };
9
10
  export {};
@@ -1,5 +1,6 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  export declare function setUploadFunc(func: any): void;
3
4
  export declare const UploadPanel: ({ store }: {
4
5
  store: StoreType;
5
- }) => import("react/jsx-runtime").JSX.Element;
6
+ }) => React.JSX.Element;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  export declare const VideosGrid: ({ items, onSelect, loadMore, isLoading, error, getCredit, }: {
2
3
  items: any;
3
4
  onSelect: any;
@@ -5,4 +6,4 @@ export declare const VideosGrid: ({ items, onSelect, loadMore, isLoading, error,
5
6
  isLoading: any;
6
7
  error: any;
7
8
  getCredit: any;
8
- }) => import("react/jsx-runtime").JSX.Element | null;
9
+ }) => React.JSX.Element | null;
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  export declare const VideosPanel: (({ store }: {
3
4
  store: StoreType;
4
- }) => import("react/jsx-runtime").JSX.Element) & {
5
+ }) => React.JSX.Element) & {
5
6
  displayName: string;
6
7
  };
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  export declare const AdminButton: (({ store }: {
3
4
  store: StoreType;
4
- }) => import("react/jsx-runtime").JSX.Element) & {
5
+ }) => React.JSX.Element) & {
5
6
  displayName: string;
6
7
  };
@@ -1,21 +1,22 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  import { ShapeType } from '../../model/shape-model.js';
3
4
  export declare const NumberInput: ({ value, onValueChange, ...props }: {
4
5
  [x: string]: any;
5
6
  value: any;
6
7
  onValueChange: any;
7
- }) => import("react/jsx-runtime").JSX.Element;
8
+ }) => React.JSX.Element;
8
9
  export declare const AnimationsPickerOld: (({ element, store, elements, }: {
9
10
  elements?: Array<ShapeType>;
10
11
  element?: ShapeType;
11
12
  store: StoreType;
12
- }) => import("react/jsx-runtime").JSX.Element) & {
13
+ }) => React.JSX.Element) & {
13
14
  displayName: string;
14
15
  };
15
16
  export declare const AnimationsPicker: (({ element, store }: {
16
17
  element: ShapeType;
17
18
  store: StoreType;
18
- }) => import("react/jsx-runtime").JSX.Element | null) & {
19
+ }) => React.JSX.Element | null) & {
19
20
  displayName: string;
20
21
  };
21
22
  export default AnimationsPicker;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { PopoverPosition } from '@blueprintjs/core';
2
3
  import { StoreType } from '../../model/store.js';
3
4
  export declare const DEFAULT_COLORS: string[];
@@ -16,5 +17,5 @@ type Props = {
16
17
  };
17
18
  declare let getColorsPreset: (store: StoreType) => string[];
18
19
  export declare function setColorsPresetFunc(func: typeof getColorsPreset): void;
19
- export declare const ColorPicker: ({ value, onChange, size, store, gradientEnabled, children, style, position, onOpen, onClose, }: Props) => import("react/jsx-runtime").JSX.Element;
20
+ export declare const ColorPicker: ({ value, onChange, size, store, gradientEnabled, children, style, position, onOpen, onClose, }: Props) => React.JSX.Element;
20
21
  export default ColorPicker;
@@ -1,7 +1,8 @@
1
1
  import { StoreType } from '../../model/store.js';
2
+ import React from 'react';
2
3
  export declare const CopyStyleButton: (({ store }: {
3
4
  store: StoreType;
4
- }) => import("react/jsx-runtime").JSX.Element) & {
5
+ }) => React.JSX.Element) & {
5
6
  displayName: string;
6
7
  };
7
- export declare const PAINT_ICON: import("react/jsx-runtime").JSX.Element;
8
+ export declare const PAINT_ICON: React.JSX.Element;
@@ -1,7 +1,8 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  export declare const DownloadButton: (({ store }: {
3
4
  store: StoreType;
4
- }) => import("react/jsx-runtime").JSX.Element) & {
5
+ }) => React.JSX.Element) & {
5
6
  displayName: string;
6
7
  };
7
8
  export default DownloadButton;
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  export declare const DuplicateButton: (({ store }: {
3
4
  store: StoreType;
4
- }) => import("react/jsx-runtime").JSX.Element) & {
5
+ }) => React.JSX.Element) & {
5
6
  displayName: string;
6
7
  };
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  export declare const extendToolbar: ({ type, usedItems, components, }: {
2
3
  type: string;
3
4
  usedItems: Array<string | undefined | false>;
@@ -6,4 +7,4 @@ export declare const extendToolbar: ({ type, usedItems, components, }: {
6
7
  export declare const ElementContainer: ({ items, itemRender }: {
7
8
  items: any;
8
9
  itemRender: any;
9
- }) => import("react/jsx-runtime").JSX.Element;
10
+ }) => React.JSX.Element;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  import { FigureElementType } from '../../model/figure-model.js';
3
4
  type Props = {
@@ -9,16 +10,16 @@ type ButtonProps = {
9
10
  store: StoreType;
10
11
  elements: FigureElementType[];
11
12
  };
12
- export declare const FigureFill: (({ elements, store }: ButtonProps) => import("react/jsx-runtime").JSX.Element) & {
13
+ export declare const FigureFill: (({ elements, store }: ButtonProps) => React.JSX.Element) & {
13
14
  displayName: string;
14
15
  };
15
- export declare const FigureSettings: (({ store, elements, element }: ButtonProps) => import("react/jsx-runtime").JSX.Element) & {
16
+ export declare const FigureSettings: (({ store, elements, element }: ButtonProps) => React.JSX.Element) & {
16
17
  displayName: string;
17
18
  };
18
- export declare const FigureStroke: (({ elements, store }: ButtonProps) => import("react/jsx-runtime").JSX.Element | null) & {
19
+ export declare const FigureStroke: (({ elements, store }: ButtonProps) => React.JSX.Element | null) & {
19
20
  displayName: string;
20
21
  };
21
- export declare const FigureToolbar: (({ store, components }: Props) => import("react/jsx-runtime").JSX.Element) & {
22
+ export declare const FigureToolbar: (({ store, components }: Props) => React.JSX.Element) & {
22
23
  displayName: string;
23
24
  };
24
25
  export default FigureToolbar;
@@ -1,27 +1,28 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  import { ShapeType } from '../../model/shape-model.js';
3
4
  export declare const NumberInput: ({ value, onValueChange, ...props }: {
4
5
  [x: string]: any;
5
6
  value: any;
6
7
  onValueChange: any;
7
- }) => import("react/jsx-runtime").JSX.Element;
8
+ }) => React.JSX.Element;
8
9
  export declare const CurvePowerSlider: (({ textEl, eachSet }: {
9
10
  textEl: any;
10
11
  eachSet: (attrs: any) => void;
11
- }) => import("react/jsx-runtime").JSX.Element) & {
12
+ }) => React.JSX.Element) & {
12
13
  displayName: string;
13
14
  };
14
15
  export declare const FiltersPicker: (({ element, store, elements, }: {
15
16
  elements?: Array<ShapeType>;
16
17
  element?: ShapeType;
17
18
  store: StoreType;
18
- }) => import("react/jsx-runtime").JSX.Element) & {
19
+ }) => React.JSX.Element) & {
19
20
  displayName: string;
20
21
  };
21
22
  export declare const EffectsPicker: (({ element, store }: {
22
23
  element: ShapeType;
23
24
  store: StoreType;
24
- }) => import("react/jsx-runtime").JSX.Element | null) & {
25
+ }) => React.JSX.Element | null) & {
25
26
  displayName: string;
26
27
  };
27
28
  export default EffectsPicker;
@@ -1,7 +1,8 @@
1
+ import React from 'react';
1
2
  import { SVGElementType } from '../../model/svg-model.js';
2
3
  import { ImageElementType } from '../../model/image-model.js';
3
4
  export declare const FlipButton: ({ element, elements, }: {
4
5
  element: ImageElementType | SVGElementType;
5
6
  elements: Array<ImageElementType | SVGElementType>;
6
- }) => import("react/jsx-runtime").JSX.Element;
7
+ }) => React.JSX.Element;
7
8
  export default FlipButton;
@@ -1,9 +1,10 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  type Props = {
3
4
  store: StoreType;
4
5
  components?: any;
5
6
  };
6
- export declare const GifToolbar: (({ store, components }: Props) => import("react/jsx-runtime").JSX.Element) & {
7
+ export declare const GifToolbar: (({ store, components }: Props) => React.JSX.Element) & {
7
8
  displayName: string;
8
9
  };
9
10
  export default GifToolbar;
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  export declare const GroupButton: (({ store }: {
3
4
  store: StoreType;
4
- }) => import("react/jsx-runtime").JSX.Element) & {
5
+ }) => React.JSX.Element) & {
5
6
  displayName: string;
6
7
  };
@@ -1,9 +1,10 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  type Props = {
3
4
  store: StoreType;
4
5
  components?: any;
5
6
  };
6
- export declare const GroupToolbar: (({ store, components }: Props) => import("react/jsx-runtime").JSX.Element) & {
7
+ export declare const GroupToolbar: (({ store, components }: Props) => React.JSX.Element) & {
7
8
  displayName: string;
8
9
  };
9
10
  export default GroupToolbar;
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  export declare const HistoryButtons: (({ store }: {
3
4
  store: StoreType;
4
- }) => import("react/jsx-runtime").JSX.Element) & {
5
+ }) => React.JSX.Element) & {
5
6
  displayName: string;
6
7
  };
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { StoreType } from '../../model/store.js';
2
3
  import { TextElementType } from '../../model/text-model.js';
3
4
  declare global {
@@ -15,19 +16,19 @@ type InputProps = {
15
16
  components?: any;
16
17
  elements: TextElementType[];
17
18
  };
18
- export declare const TextBold: (({ store }: InputProps) => import("react/jsx-runtime").JSX.Element) & {
19
+ export declare const TextBold: (({ store }: InputProps) => React.JSX.Element) & {
19
20
  displayName: string;
20
21
  };
21
- export declare const FontStyleGroup: (({ element, store, elements, components }: InputProps) => import("react/jsx-runtime").JSX.Element) & {
22
+ export declare const FontStyleGroup: (({ element, store, elements, components }: InputProps) => React.JSX.Element) & {
22
23
  displayName: string;
23
24
  };
24
- export declare const FontColorInput: (({ element, store }: InputProps) => import("react/jsx-runtime").JSX.Element) & {
25
+ export declare const FontColorInput: (({ element, store }: InputProps) => React.JSX.Element) & {
25
26
  displayName: string;
26
27
  };
27
- export declare const DirectionInput: (({ element }: InputProps) => import("react/jsx-runtime").JSX.Element) & {
28
+ export declare const DirectionInput: (({ element }: InputProps) => React.JSX.Element) & {
28
29
  displayName: string;
29
30
  };
30
- export declare const HtmlToolbar: (({ store, components }: PageProps) => import("react/jsx-runtime").JSX.Element) & {
31
+ export declare const HtmlToolbar: (({ store, components }: PageProps) => React.JSX.Element) & {
31
32
  displayName: string;
32
33
  };
33
34
  export {};