@orangecatai/element 0.0.1 → 0.0.2

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 (62) hide show
  1. package/README.md +1 -1
  2. package/dist/dev/index.js +3 -1
  3. package/dist/dev/index.js.map +2 -2
  4. package/dist/types/element/src/arrows/focus.d.ts +1 -1
  5. package/dist/types/element/src/binding.d.ts +3 -3
  6. package/dist/types/element/src/bounds.d.ts +1 -1
  7. package/dist/types/element/src/collision.d.ts +1 -1
  8. package/dist/types/element/src/delta.d.ts +2 -2
  9. package/dist/types/element/src/dragElements.d.ts +1 -1
  10. package/dist/types/element/src/duplicate.d.ts +1 -1
  11. package/dist/types/element/src/embeddable.d.ts +1 -1
  12. package/dist/types/element/src/flowchart.d.ts +1 -1
  13. package/dist/types/element/src/frame.d.ts +1 -1
  14. package/dist/types/element/src/groups.d.ts +1 -1
  15. package/dist/types/element/src/renderElement.d.ts +1 -1
  16. package/dist/types/element/src/selection.d.ts +1 -1
  17. package/dist/types/element/src/shape.d.ts +2 -2
  18. package/dist/types/element/src/store.d.ts +2 -2
  19. package/dist/types/element/src/textElement.d.ts +1 -1
  20. package/dist/types/element/src/transform.d.ts +1 -1
  21. package/dist/types/element/src/utils.d.ts +1 -1
  22. package/dist/types/element/src/zindex.d.ts +1 -1
  23. package/dist/types/excalidraw/actions/actionCanvas.d.ts +7 -7
  24. package/dist/types/excalidraw/actions/actionExport.d.ts +9 -9
  25. package/dist/types/excalidraw/actions/actionProperties.d.ts +1 -1
  26. package/dist/types/excalidraw/appState.d.ts +4 -4
  27. package/dist/types/excalidraw/components/Actions.d.ts +1 -1
  28. package/dist/types/excalidraw/components/App.d.ts +13 -2
  29. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +2 -2
  30. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +1 -1
  31. package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +1 -1
  32. package/dist/types/excalidraw/components/DefaultSidebar.d.ts +1 -1
  33. package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +2 -2
  34. package/dist/types/excalidraw/components/EyeDropper.d.ts +1 -1
  35. package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +1 -1
  36. package/dist/types/excalidraw/components/FontPicker/FontPickerList.d.ts +1 -1
  37. package/dist/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +1 -1
  38. package/dist/types/excalidraw/components/ImageExportDialog.d.ts +1 -1
  39. package/dist/types/excalidraw/components/ImageGeneratorPanel.d.ts +38 -0
  40. package/dist/types/excalidraw/components/ImageQuickEditPanel.d.ts +7 -0
  41. package/dist/types/excalidraw/components/JSONExportDialog.d.ts +1 -1
  42. package/dist/types/excalidraw/components/LayerUI.d.ts +1 -1
  43. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +1 -1
  44. package/dist/types/excalidraw/components/Stats/FontSize.d.ts +1 -1
  45. package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +1 -1
  46. package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +1 -1
  47. package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +1 -1
  48. package/dist/types/excalidraw/components/TTDDialog/types.d.ts +2 -2
  49. package/dist/types/excalidraw/components/image-generation/pendingGenerations.d.ts +30 -0
  50. package/dist/types/excalidraw/components/ui/prompt-input.d.ts +28 -0
  51. package/dist/types/excalidraw/components/ui/textarea.d.ts +3 -0
  52. package/dist/types/excalidraw/components/ui/tooltip.d.ts +7 -0
  53. package/dist/types/excalidraw/data/blob.d.ts +19 -17
  54. package/dist/types/excalidraw/data/json.d.ts +8 -8
  55. package/dist/types/excalidraw/data/library.d.ts +1 -1
  56. package/dist/types/excalidraw/fonts/Fonts.d.ts +2 -2
  57. package/dist/types/excalidraw/i18n.d.ts +1 -1
  58. package/dist/types/excalidraw/index.d.ts +1 -0
  59. package/dist/types/excalidraw/lib/utils.d.ts +2 -0
  60. package/dist/types/excalidraw/types.d.ts +9 -0
  61. package/dist/types/excalidraw/utils/geminiApiKey.d.ts +1 -0
  62. package/package.json +6 -6
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
  npm install @orangecatai/element
7
7
  ```
8
8
 
9
- If you prefer Yarn over npm, use this command to install the Excalidraw utils package:
9
+ If you prefer Yarn over npm, use this command to install the OrangeCat element package:
10
10
 
11
11
  ```bash
12
12
  yarn add @orangecatai/element
package/dist/dev/index.js CHANGED
@@ -18257,7 +18257,9 @@ var embeddableURLValidator = (url, validateEmbeddable) => {
18257
18257
  // src/flowchart.ts
18258
18258
  init_define_import_meta_env();
18259
18259
  import { KEYS as KEYS3, invariant as invariant11, toBrandedType as toBrandedType2 } from "@orangecatai/common";
18260
- import { pointFrom as pointFrom15 } from "@orangecatai/math";
18260
+ import {
18261
+ pointFrom as pointFrom15
18262
+ } from "@orangecatai/math";
18261
18263
  var VERTICAL_OFFSET = 100;
18262
18264
  var HORIZONTAL_OFFSET = 100;
18263
18265
  var getLinkDirectionFromKey = (key) => {