@sirendesign/markup 1.0.14 → 1.0.16

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.
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Standalone entry point for Markup widget
3
+ * This file bundles the widget for use in any web environment (React, PHP, Vue, etc.)
4
+ */
5
+ import type { MarkupConfig } from './types';
6
+ declare global {
7
+ interface Window {
8
+ MarkupWidget?: {
9
+ init: (config: Partial<MarkupConfig>, containerId?: string) => void;
10
+ destroy: () => void;
11
+ };
12
+ }
13
+ }
14
+ export declare function initMarkupWidget(config: Partial<MarkupConfig>, containerId?: string): () => void;
15
+ declare const MarkupWidgetAPI: {
16
+ init: typeof initMarkupWidget;
17
+ destroy: () => void;
18
+ };
19
+ export default MarkupWidgetAPI;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sirendesign/markup",
3
- "version": "1.0.14",
3
+ "version": "1.0.16",
4
4
  "description": "A web markup and feedback tool for collecting visual feedback from clients and account managers",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",