@pie-players/pie-section-player 0.2.0
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 +599 -0
- package/dist/index.d.ts +2 -0
- package/dist/pie-section-player.d.ts +2 -0
- package/dist/pie-section-player.d.ts.map +1 -0
- package/dist/pie-section-player.js +235068 -0
- package/dist/pie-section-player.js.map +1 -0
- package/dist/utils/z-index.d.ts +12 -0
- package/dist/utils/z-index.d.ts.map +1 -0
- package/package.json +62 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Z-index layers for assessment components
|
|
3
|
+
* Copied from assessment-toolkit to avoid build dependency
|
|
4
|
+
*/
|
|
5
|
+
export declare enum ZIndexLayer {
|
|
6
|
+
BASE = 0,// PIE content, player chrome (0-999)
|
|
7
|
+
TOOL = 1000,// Non-modal tools (ruler, protractor) (1000-1999)
|
|
8
|
+
MODAL = 2000,// Modal tools (calculator, dictionary) (2000-2999)
|
|
9
|
+
CONTROL = 3000,// Drag handles, resize controls (3000-3999)
|
|
10
|
+
HIGHLIGHT = 4000
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=z-index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"z-index.d.ts","sourceRoot":"","sources":["../../src/utils/z-index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,oBAAY,WAAW;IACtB,IAAI,IAAI,CAAE,qCAAqC;IAC/C,IAAI,OAAO,CAAE,kDAAkD;IAC/D,KAAK,OAAO,CAAE,mDAAmD;IACjE,OAAO,OAAO,CAAE,4CAA4C;IAC5D,SAAS,OAAO;CAChB"}
|
package/package.json
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pie-players/pie-section-player",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Web component for rendering QTI 3.0 assessment sections with passages and items",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/pie-framework/pie-players.git"
|
|
10
|
+
},
|
|
11
|
+
"publishConfig": {
|
|
12
|
+
"access": "public"
|
|
13
|
+
},
|
|
14
|
+
"unpkg": "./dist/pie-section-player.js",
|
|
15
|
+
"jsdelivr": "./dist/pie-section-player.js",
|
|
16
|
+
"main": "./dist/pie-section-player.js",
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"import": "./dist/pie-section-player.js"
|
|
22
|
+
},
|
|
23
|
+
"./src/PieSectionPlayer.svelte": "./src/PieSectionPlayer.svelte"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"dist"
|
|
27
|
+
],
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build": "vite build",
|
|
30
|
+
"dev": "vite build --watch",
|
|
31
|
+
"typecheck": "tsc --noEmit",
|
|
32
|
+
"check": "svelte-check --tsconfig ./tsconfig.json",
|
|
33
|
+
"lint": "biome check ."
|
|
34
|
+
},
|
|
35
|
+
"peerDependencies": {
|
|
36
|
+
"svelte": "^5.0.0"
|
|
37
|
+
},
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@pie-players/pie-assessment-toolkit": "workspace:*",
|
|
40
|
+
"@pie-players/pie-esm-player": "workspace:*",
|
|
41
|
+
"@pie-players/pie-fixed-player": "workspace:*",
|
|
42
|
+
"@pie-players/pie-iife-player": "workspace:*",
|
|
43
|
+
"@pie-players/pie-inline-player": "workspace:*",
|
|
44
|
+
"@pie-players/pie-players-shared": "workspace:*",
|
|
45
|
+
"@pie-players/pie-section-tools-toolbar": "workspace:*",
|
|
46
|
+
"@pie-players/pie-tool-answer-eliminator": "workspace:*",
|
|
47
|
+
"@pie-players/pie-tool-tts-inline": "workspace:*"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@biomejs/biome": "^2.3.13",
|
|
51
|
+
"@playwright/test": "^1.58.2",
|
|
52
|
+
"@sveltejs/adapter-auto": "^7.0.0",
|
|
53
|
+
"@sveltejs/kit": "^2.50.1",
|
|
54
|
+
"@sveltejs/vite-plugin-svelte": "^6.2.4",
|
|
55
|
+
"@types/node": "^25.1.0",
|
|
56
|
+
"svelte": "^5.49.1",
|
|
57
|
+
"svelte-check": "^4.3.5",
|
|
58
|
+
"typescript": "^5.9.3",
|
|
59
|
+
"vite": "^7.3.1",
|
|
60
|
+
"vite-plugin-dts": "^4.5.4"
|
|
61
|
+
}
|
|
62
|
+
}
|