@gradio/annotatedimage 0.12.1 → 0.12.3
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/AnnotatedImage.test.ts +0 -12
- package/CHANGELOG.md +46 -0
- package/Index.svelte +5 -5
- package/dist/Index.svelte +5 -5
- package/package.json +7 -7
package/AnnotatedImage.test.ts
CHANGED
|
@@ -599,15 +599,3 @@ describe("Edge cases", () => {
|
|
|
599
599
|
expect(masks[1].getAttribute("style")).toContain("hue-rotate");
|
|
600
600
|
});
|
|
601
601
|
});
|
|
602
|
-
|
|
603
|
-
test.todo(
|
|
604
|
-
"VISUAL: mask opacity transitions on hover — masks should fade to 0.3 opacity on container hover, active mask at 1.0, inactive at 0 — needs Playwright visual regression screenshot comparison"
|
|
605
|
-
);
|
|
606
|
-
|
|
607
|
-
test.todo(
|
|
608
|
-
"VISUAL: height/width props control component dimensions — needs Playwright visual regression screenshot comparison"
|
|
609
|
-
);
|
|
610
|
-
|
|
611
|
-
test.todo(
|
|
612
|
-
"VISUAL: default hue-rotate coloring distributes colors evenly across the color wheel — needs Playwright visual regression screenshot comparison"
|
|
613
|
-
);
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,51 @@
|
|
|
1
1
|
# @gradio/annotatedimage
|
|
2
2
|
|
|
3
|
+
## 0.12.3
|
|
4
|
+
|
|
5
|
+
### Dependency updates
|
|
6
|
+
|
|
7
|
+
- @gradio/upload@0.19.0
|
|
8
|
+
- @gradio/statustracker@0.15.4
|
|
9
|
+
- @gradio/client@2.7.1
|
|
10
|
+
|
|
11
|
+
## 0.12.2
|
|
12
|
+
|
|
13
|
+
### Dependency updates
|
|
14
|
+
|
|
15
|
+
- @gradio/utils@0.14.2
|
|
16
|
+
- @gradio/client@2.7.0
|
|
17
|
+
|
|
18
|
+
## 0.12.2
|
|
19
|
+
|
|
20
|
+
### Dependency updates
|
|
21
|
+
|
|
22
|
+
- @gradio/client@2.6.0
|
|
23
|
+
- @gradio/atoms@0.26.2
|
|
24
|
+
- @gradio/utils@0.14.1
|
|
25
|
+
- @gradio/upload@0.18.3
|
|
26
|
+
|
|
27
|
+
## 0.12.2
|
|
28
|
+
|
|
29
|
+
### Dependency updates
|
|
30
|
+
|
|
31
|
+
- @gradio/client@2.5.1
|
|
32
|
+
|
|
33
|
+
## 0.12.2
|
|
34
|
+
|
|
35
|
+
### Dependency updates
|
|
36
|
+
|
|
37
|
+
- @gradio/client@2.5.0
|
|
38
|
+
|
|
39
|
+
## 0.12.2
|
|
40
|
+
|
|
41
|
+
### Dependency updates
|
|
42
|
+
|
|
43
|
+
- @gradio/client@2.4.0
|
|
44
|
+
- @gradio/utils@0.14.0
|
|
45
|
+
- @gradio/atoms@0.26.1
|
|
46
|
+
- @gradio/statustracker@0.15.2
|
|
47
|
+
- @gradio/upload@0.18.2
|
|
48
|
+
|
|
3
49
|
## 0.12.1
|
|
4
50
|
|
|
5
51
|
### Dependency updates
|
package/Index.svelte
CHANGED
|
@@ -113,11 +113,11 @@
|
|
|
113
113
|
: `hsla(${Math.round(
|
|
114
114
|
(i * 360) / gradio.props.value.annotations.length
|
|
115
115
|
)}, 100%, 50%, 0.3)`}"
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
116
|
+
onmouseover={() => handle_mouseover(ann.label)}
|
|
117
|
+
onfocus={() => handle_mouseover(ann.label)}
|
|
118
|
+
onmouseout={() => handle_mouseout()}
|
|
119
|
+
onblur={() => handle_mouseout()}
|
|
120
|
+
onclick={() => handle_click(i, ann.label)}
|
|
121
121
|
>
|
|
122
122
|
{ann.label}
|
|
123
123
|
</button>
|
package/dist/Index.svelte
CHANGED
|
@@ -113,11 +113,11 @@
|
|
|
113
113
|
: `hsla(${Math.round(
|
|
114
114
|
(i * 360) / gradio.props.value.annotations.length
|
|
115
115
|
)}, 100%, 50%, 0.3)`}"
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
116
|
+
onmouseover={() => handle_mouseover(ann.label)}
|
|
117
|
+
onfocus={() => handle_mouseover(ann.label)}
|
|
118
|
+
onmouseout={() => handle_mouseout()}
|
|
119
|
+
onblur={() => handle_mouseout()}
|
|
120
|
+
onclick={() => handle_click(i, ann.label)}
|
|
121
121
|
>
|
|
122
122
|
{ann.label}
|
|
123
123
|
</button>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gradio/annotatedimage",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.3",
|
|
4
4
|
"description": "Gradio UI packages",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "",
|
|
@@ -16,18 +16,18 @@
|
|
|
16
16
|
"./package.json": "./package.json"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@gradio/preview": "^0.
|
|
19
|
+
"@gradio/preview": "^0.17.1"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"svelte": "^5.48.0"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@gradio/atoms": "^0.26.0",
|
|
26
25
|
"@gradio/icons": "^0.16.0",
|
|
27
|
-
"@gradio/
|
|
28
|
-
"@gradio/
|
|
29
|
-
"@gradio/utils": "^0.
|
|
30
|
-
"@gradio/client": "^2.
|
|
26
|
+
"@gradio/atoms": "^0.26.2",
|
|
27
|
+
"@gradio/statustracker": "^0.15.4",
|
|
28
|
+
"@gradio/utils": "^0.14.2",
|
|
29
|
+
"@gradio/client": "^2.7.1",
|
|
30
|
+
"@gradio/upload": "^0.19.0"
|
|
31
31
|
},
|
|
32
32
|
"repository": {
|
|
33
33
|
"type": "git",
|