@pie-players/pie-tool-annotation-toolbar 0.3.60 → 0.3.62
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/README.md +24 -0
- package/dist/{sre-CXN7ed6H.js → sre-DVwZOEmz.js} +4020 -3920
- package/dist/tool-annotation-toolbar.js +1912 -1724
- package/package.json +7 -6
- package/dist/pie-tool-annotation-toolbar.css +0 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-players/pie-tool-annotation-toolbar",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.62",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Text annotation toolbar with highlighting and underlining for PIE assessment player",
|
|
6
6
|
"repository": {
|
|
@@ -36,20 +36,21 @@
|
|
|
36
36
|
"unpkg": "./dist/tool-annotation-toolbar.js",
|
|
37
37
|
"jsdelivr": "./dist/tool-annotation-toolbar.js",
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@pie-players/pie-assessment-toolkit": "0.3.
|
|
40
|
-
"@pie-players/pie-players-shared": "0.3.
|
|
39
|
+
"@pie-players/pie-assessment-toolkit": "0.3.62",
|
|
40
|
+
"@pie-players/pie-players-shared": "0.3.62"
|
|
41
41
|
},
|
|
42
42
|
"types": "./dist/index.d.ts",
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "vite build",
|
|
45
45
|
"dev": "vite build --watch",
|
|
46
|
+
"test": "bun test tests",
|
|
46
47
|
"typecheck": "tsc --noEmit",
|
|
47
48
|
"lint": "biome check ."
|
|
48
49
|
},
|
|
49
50
|
"devDependencies": {
|
|
50
|
-
"@biomejs/biome": "^2.
|
|
51
|
-
"@sveltejs/vite-plugin-svelte": "^7.
|
|
52
|
-
"svelte": "^5.
|
|
51
|
+
"@biomejs/biome": "^2.5.6",
|
|
52
|
+
"@sveltejs/vite-plugin-svelte": "^7.2.0",
|
|
53
|
+
"svelte": "^5.56.8",
|
|
53
54
|
"typescript": "^5.9.3",
|
|
54
55
|
"vite": "^8.0.10",
|
|
55
56
|
"vite-plugin-dts": "^4.5.4"
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
::highlight(tts-word){background-color:var( --pie-tts-word-highlight, color-mix(in srgb, var(--pie-missing, #ffeb3b) 68%, transparent) );text-decoration:underline 2px solid var( --pie-tts-word-underline, color-mix(in srgb, var(--pie-text, #111827) 70%, transparent) );text-underline-offset:2px;text-shadow:0 0 1px var( --pie-tts-word-shadow, color-mix(in srgb, var(--pie-text, #111827) 35%, transparent) );color:inherit}::highlight(tts-sentence){background-color:var( --pie-tts-sentence-highlight, color-mix(in srgb, var(--pie-missing, #ffeb3b) 38%, transparent) );color:inherit}::highlight(annotation-yellow){background-color:var( --pie-annotation-yellow-highlight, rgba(253, 233, 149, .5) );color:inherit}::highlight(annotation-pink){background-color:var( --pie-annotation-pink-highlight, rgba(255, 159, 174, .5) );color:inherit}::highlight(annotation-blue){background-color:var( --pie-annotation-blue-highlight, rgba(167, 224, 246, .5) );color:inherit}::highlight(annotation-green){background-color:var( --pie-annotation-green-highlight, rgba(166, 225, 197, .5) );color:inherit}::highlight(annotation-underline){background-color:transparent;text-decoration:underline 2px solid var(--pie-primary, #0066cc);text-underline-offset:2px;color:inherit}@media(prefers-color-scheme:dark){::highlight(tts-word){background-color:var( --pie-tts-word-highlight, color-mix(in srgb, var(--pie-missing, #ffeb3b) 72%, transparent) );text-decoration:underline 2px solid var( --pie-tts-word-underline, color-mix(in srgb, var(--pie-white, #fff) 70%, transparent) );text-shadow:0 0 2px var( --pie-tts-word-shadow, color-mix(in srgb, var(--pie-white, #fff) 32%, transparent) )}::highlight(tts-sentence){background-color:var( --pie-tts-sentence-highlight, color-mix(in srgb, var(--pie-missing, #ffeb3b) 42%, transparent) )}::highlight(annotation-yellow){background-color:#8b750099}::highlight(annotation-pink){background-color:#8b334a99}::highlight(annotation-blue){background-color:#06a9}::highlight(annotation-green){background-color:#2d5c3f99}::highlight(annotation-underline){text-decoration-color:#4da6ff}}@media(prefers-contrast:high){::highlight(tts-word){background-color:var( --pie-tts-word-highlight, color-mix(in srgb, var(--pie-missing, #ffeb3b) 85%, transparent) );text-decoration-color:var( --pie-tts-word-underline, color-mix(in srgb, var(--pie-text, #111827) 85%, transparent) );text-decoration-thickness:3px;text-shadow:none}::highlight(tts-sentence){background-color:var( --pie-tts-sentence-highlight, color-mix(in srgb, var(--pie-missing, #ffeb3b) 55%, transparent) )}::highlight(annotation-yellow){background-color:#ffff00b3}::highlight(annotation-pink){background-color:#ff69b4b3}::highlight(annotation-blue){background-color:#00bfffb3}::highlight(annotation-green){background-color:#00ff7fb3}::highlight(annotation-underline){text-decoration-thickness:3px;text-decoration-color:#000}}@media(prefers-color-scheme:dark)and (prefers-contrast:high){::highlight(tts-word){background-color:var( --pie-tts-word-highlight, color-mix(in srgb, var(--pie-missing, #ffeb3b) 85%, transparent) );text-decoration-color:var( --pie-tts-word-underline, color-mix(in srgb, var(--pie-white, #fff) 88%, transparent) )}::highlight(annotation-underline){text-decoration-color:#fff}}@media print{::highlight(tts-word),::highlight(tts-sentence){background-color:transparent;text-decoration:none;text-shadow:none}::highlight(annotation-yellow),::highlight(annotation-pink),::highlight(annotation-blue),::highlight(annotation-green){background-color:transparent;border-bottom:2px solid currentColor}::highlight(annotation-yellow){border-bottom-color:#ffeb3b}::highlight(annotation-pink){border-bottom-color:#ff9fae}::highlight(annotation-blue){border-bottom-color:#a7e0f6}::highlight(annotation-green){border-bottom-color:#a6e1c5}::highlight(annotation-underline){text-decoration-color:#000;border-bottom:none}}@media(prefers-reduced-motion:reduce){::highlight(tts-word){text-shadow:none}}.pie-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pie-tool-annotation-toolbar button:focus-visible{outline:2px solid var(--pie-button-focus-outline, var(--pie-primary, #0066cc));outline-offset:2px}@media(prefers-color-scheme:dark){.pie-tool-annotation-toolbar button:focus-visible{outline-color:#4da6ff}}@media(prefers-contrast:high){.pie-tool-annotation-toolbar button:focus-visible{outline-width:3px}}
|
|
2
|
-
/*$vite$:1*/
|