issue-sticker 0.1.0 → 0.1.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-DD-r5zA8.js → index-DN49yZjv.js} +2 -2
- package/dist/index.d.ts +13 -1
- package/dist/issue-sticker-react.js +21786 -5226
- package/dist/issue-sticker-runtime.js +1 -1
- package/dist/issue-sticker.js +2 -2
- package/dist/{sdkEventListeners-CtYEkXOR.js → sdkEventListeners-B7idjnFi.js} +1 -1
- package/package.json +8 -6
- package/dist/issue-sticker-demo-react.js +0 -51761
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as removePendingSdkEventListener, S as SDKManager, a as addPendingSdkEventListener, f as flushPendingSdkEventListeners } from "./sdkEventListeners-
|
|
1
|
+
import { r as removePendingSdkEventListener, S as SDKManager, a as addPendingSdkEventListener, f as flushPendingSdkEventListeners } from "./sdkEventListeners-B7idjnFi.js";
|
|
2
2
|
const IssueSticker = {
|
|
3
3
|
init(config) {
|
|
4
4
|
const sdk = SDKManager.getInstance();
|
package/dist/issue-sticker.js
CHANGED
|
@@ -808,14 +808,14 @@ async function waitUntilLoad(node, options) {
|
|
|
808
808
|
}
|
|
809
809
|
}
|
|
810
810
|
}
|
|
811
|
-
const uuid = /* @__PURE__ */ function uuid2() {
|
|
811
|
+
const uuid = /* @__PURE__ */ (function uuid2() {
|
|
812
812
|
let counter = 0;
|
|
813
813
|
const random = () => `0000${(Math.random() * 36 ** 4 << 0).toString(36)}`.slice(-4);
|
|
814
814
|
return () => {
|
|
815
815
|
counter += 1;
|
|
816
816
|
return `u${random()}${counter}`;
|
|
817
817
|
};
|
|
818
|
-
}();
|
|
818
|
+
})();
|
|
819
819
|
function splitFontFamily(fontFamily) {
|
|
820
820
|
return fontFamily == null ? void 0 : fontFamily.split(",").map((val) => val.trim().replace(/"|'/g, "").toLowerCase()).filter(Boolean);
|
|
821
821
|
}
|
|
@@ -220,7 +220,7 @@ function createModernStickySnapshot(root) {
|
|
|
220
220
|
};
|
|
221
221
|
}
|
|
222
222
|
async function captureWithModernScreenshot(options) {
|
|
223
|
-
const { domToWebp } = await import("./index-
|
|
223
|
+
const { domToWebp } = await import("./index-DN49yZjv.js");
|
|
224
224
|
const {
|
|
225
225
|
element,
|
|
226
226
|
excludeSelectors = [],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "issue-sticker",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "IssueSticker SDK - Visual bug tracking widget for web applications",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"type": "module",
|
|
@@ -67,6 +67,7 @@
|
|
|
67
67
|
"test:e2e:ui": "playwright test --ui"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
+
"@radix-ui/react-accordion": "^1.2.15",
|
|
70
71
|
"@radix-ui/react-popover": "^1.1.15",
|
|
71
72
|
"@radix-ui/react-select": "^2.2.6",
|
|
72
73
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
@@ -84,6 +85,7 @@
|
|
|
84
85
|
},
|
|
85
86
|
"devDependencies": {
|
|
86
87
|
"@issue-sticker/shared": "*",
|
|
88
|
+
"@microsoft/api-extractor": "^7.58.9",
|
|
87
89
|
"@playwright/test": "^1.58.2",
|
|
88
90
|
"@radix-ui/react-dialog": "^1.1.4",
|
|
89
91
|
"@radix-ui/react-label": "^2.1.1",
|
|
@@ -91,8 +93,8 @@
|
|
|
91
93
|
"@testing-library/react": "^16.3.2",
|
|
92
94
|
"@types/react": "^18.2.0",
|
|
93
95
|
"@types/react-dom": "^18.2.0",
|
|
94
|
-
"@vitejs/plugin-react": "^4.
|
|
95
|
-
"@vitest/ui": "^
|
|
96
|
+
"@vitejs/plugin-react": "^4.7.0",
|
|
97
|
+
"@vitest/ui": "^3.2.6",
|
|
96
98
|
"autoprefixer": "^10.4.23",
|
|
97
99
|
"concurrently": "^9.2.1",
|
|
98
100
|
"dotenv": "^16.3.1",
|
|
@@ -102,9 +104,9 @@
|
|
|
102
104
|
"tailwindcss": "^3.4.19",
|
|
103
105
|
"terser": "^5.44.1",
|
|
104
106
|
"typescript": "^5.0.0",
|
|
105
|
-
"vite": "^
|
|
106
|
-
"vite-plugin-dts": "^
|
|
107
|
-
"vitest": "^
|
|
107
|
+
"vite": "^6.4.3",
|
|
108
|
+
"vite-plugin-dts": "^4.5.4",
|
|
109
|
+
"vitest": "^3.2.6"
|
|
108
110
|
},
|
|
109
111
|
"peerDependencies": {
|
|
110
112
|
"react": "^18.0.0 || ^19.0.0",
|