@citolab/qti-components 7.14.3 → 7.15.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/cdn/index.global.js +1 -1
- package/cdn/index.js +4044 -4030
- package/custom-elements.json +10478 -26460
- package/dist/base.d.ts +8 -0
- package/dist/base.js +50 -0
- package/dist/{chunks/chunk-DGBI4IU5.js → chunk-2DOYPVF5.js} +252 -136
- package/dist/chunk-2DOYPVF5.js.map +1 -0
- package/dist/chunk-2ZEJ3RR5.js +89 -0
- package/dist/chunk-2ZEJ3RR5.js.map +1 -0
- package/dist/{chunks/chunk-E4GR4K26.js → chunk-352OTVTY.js} +1481 -442
- package/dist/chunk-352OTVTY.js.map +1 -0
- package/dist/{chunks/chunk-C4ELTNV7.js → chunk-C2HQFI2C.js} +857 -3819
- package/dist/chunk-C2HQFI2C.js.map +1 -0
- package/dist/chunk-DWIRLYDS.js +20 -0
- package/dist/chunk-DWIRLYDS.js.map +1 -0
- package/dist/{chunks/chunk-H2JE6IVU.js → chunk-EUXUH3YW.js} +1 -1
- package/dist/chunk-F44CI35W.js +145 -0
- package/dist/chunk-F44CI35W.js.map +1 -0
- package/dist/{chunks/chunk-XBPO6E25.js → chunk-INKI27D5.js} +6 -5
- package/dist/chunk-INKI27D5.js.map +1 -0
- package/dist/chunk-JEUY3MYB.js +2010 -0
- package/dist/chunk-JEUY3MYB.js.map +1 -0
- package/dist/chunk-O4XIWHTF.js +1139 -0
- package/dist/chunk-O4XIWHTF.js.map +1 -0
- package/dist/chunk-RI47B4ZT.js +1753 -0
- package/dist/chunk-RI47B4ZT.js.map +1 -0
- package/dist/{qti-loader/index.js → chunk-VEV4DGPH.js} +6 -6
- package/dist/chunk-VEV4DGPH.js.map +1 -0
- package/dist/{chunks/chunk-TN75CWLX.js → chunk-W4SQRNWO.js} +97 -2
- package/dist/chunk-W4SQRNWO.js.map +1 -0
- package/dist/elements.d.ts +1 -0
- package/dist/elements.js +42 -0
- package/dist/index.d.ts +8 -24
- package/dist/index.js +117 -285
- package/dist/index.js.map +1 -1
- package/dist/interactions.d.ts +1 -0
- package/dist/interactions.js +72 -0
- package/dist/item.d.ts +1 -0
- package/dist/item.js +23 -0
- package/dist/loader.d.ts +1 -0
- package/dist/loader.js +11 -0
- package/dist/processing.d.ts +1 -0
- package/dist/processing.js +103 -0
- package/dist/qti-components-jsx.d.ts +1475 -2388
- package/dist/test.d.ts +1 -0
- package/dist/{qti-test/index.js → test.js} +11 -19
- package/dist/transformers.d.ts +1 -0
- package/dist/{qti-transformers/index.js → transformers.js} +3 -3
- package/dist/vscode.html-custom-data.json +469 -631
- package/package.json +70 -166
- package/LICENSE.md +0 -674
- package/dist/chunks/chunk-4OGJBG35.js +0 -8
- package/dist/chunks/chunk-4OGJBG35.js.map +0 -1
- package/dist/chunks/chunk-AGV5GOTF.js +0 -234
- package/dist/chunks/chunk-AGV5GOTF.js.map +0 -1
- package/dist/chunks/chunk-BHJSX3Q6.js +0 -8
- package/dist/chunks/chunk-BHJSX3Q6.js.map +0 -1
- package/dist/chunks/chunk-C4ELTNV7.js.map +0 -1
- package/dist/chunks/chunk-C5RLRG3L.js +0 -10
- package/dist/chunks/chunk-C5RLRG3L.js.map +0 -1
- package/dist/chunks/chunk-CJADUWEC.js +0 -10
- package/dist/chunks/chunk-CJADUWEC.js.map +0 -1
- package/dist/chunks/chunk-DGBI4IU5.js.map +0 -1
- package/dist/chunks/chunk-DVQQ7I6Y.js +0 -8
- package/dist/chunks/chunk-DVQQ7I6Y.js.map +0 -1
- package/dist/chunks/chunk-E4GR4K26.js.map +0 -1
- package/dist/chunks/chunk-ELDMXTUQ.js +0 -31
- package/dist/chunks/chunk-ELDMXTUQ.js.map +0 -1
- package/dist/chunks/chunk-GAAFN7QF.js +0 -146
- package/dist/chunks/chunk-GAAFN7QF.js.map +0 -1
- package/dist/chunks/chunk-H6KHXSIO.js +0 -8
- package/dist/chunks/chunk-H6KHXSIO.js.map +0 -1
- package/dist/chunks/chunk-JQ6HWGRY.js +0 -22
- package/dist/chunks/chunk-JQ6HWGRY.js.map +0 -1
- package/dist/chunks/chunk-NJNQOQUU.js +0 -8
- package/dist/chunks/chunk-NJNQOQUU.js.map +0 -1
- package/dist/chunks/chunk-P4QBOVQ2.js +0 -206
- package/dist/chunks/chunk-P4QBOVQ2.js.map +0 -1
- package/dist/chunks/chunk-SV4K25ZI.js +0 -19
- package/dist/chunks/chunk-SV4K25ZI.js.map +0 -1
- package/dist/chunks/chunk-TN75CWLX.js.map +0 -1
- package/dist/chunks/chunk-XBPO6E25.js.map +0 -1
- package/dist/exports/computed-item.context.d.ts +0 -23
- package/dist/exports/computed-item.context.js +0 -8
- package/dist/exports/computed.context.d.ts +0 -34
- package/dist/exports/computed.context.js +0 -8
- package/dist/exports/config.context.d.ts +0 -14
- package/dist/exports/config.context.js +0 -8
- package/dist/exports/expression-result.d.ts +0 -19
- package/dist/exports/expression-result.js +0 -1
- package/dist/exports/interaction.d.ts +0 -46
- package/dist/exports/interaction.interface.d.ts +0 -13
- package/dist/exports/interaction.interface.js +0 -1
- package/dist/exports/interaction.js +0 -12
- package/dist/exports/item.context.d.ts +0 -11
- package/dist/exports/item.context.js +0 -8
- package/dist/exports/qti-assessment-item.context.d.ts +0 -9
- package/dist/exports/qti-assessment-item.context.js +0 -8
- package/dist/exports/qti-condition-expression.d.ts +0 -14
- package/dist/exports/qti-condition-expression.js +0 -11
- package/dist/exports/qti-condition-expression.js.map +0 -1
- package/dist/exports/qti-expression.d.ts +0 -23
- package/dist/exports/qti-expression.js +0 -10
- package/dist/exports/qti-expression.js.map +0 -1
- package/dist/exports/qti-test.d.ts +0 -12
- package/dist/exports/qti-test.js +0 -1
- package/dist/exports/qti-test.js.map +0 -1
- package/dist/exports/qti.context.d.ts +0 -14
- package/dist/exports/qti.context.js +0 -8
- package/dist/exports/qti.context.js.map +0 -1
- package/dist/exports/session.context.d.ts +0 -15
- package/dist/exports/session.context.js +0 -10
- package/dist/exports/session.context.js.map +0 -1
- package/dist/exports/test.context.d.ts +0 -16
- package/dist/exports/test.context.js +0 -10
- package/dist/exports/test.context.js.map +0 -1
- package/dist/exports/variables.d.ts +0 -2
- package/dist/exports/variables.js +0 -1
- package/dist/exports/variables.js.map +0 -1
- package/dist/qti-assessment-item-l-mN3teH.d.ts +0 -105
- package/dist/qti-components/index.d.ts +0 -1524
- package/dist/qti-components/index.js +0 -216
- package/dist/qti-components/index.js.map +0 -1
- package/dist/qti-item/index.d.ts +0 -114
- package/dist/qti-item/index.js +0 -19
- package/dist/qti-item/index.js.map +0 -1
- package/dist/qti-loader/index.d.ts +0 -21
- package/dist/qti-loader/index.js.map +0 -1
- package/dist/qti-modal-feedback-Cp3CHVKw.d.ts +0 -30
- package/dist/qti-test/index.d.ts +0 -480
- package/dist/qti-test/index.js.map +0 -1
- package/dist/qti-test-mmY8zNIj.d.ts +0 -120
- package/dist/qti-transform-test-Bz9A3hmD.d.ts +0 -63
- package/dist/qti-transformers/index.d.ts +0 -18
- package/dist/qti-transformers/index.js.map +0 -1
- package/dist/variables-BCkyLoXK.d.ts +0 -55
- package/readme.md +0 -59
- /package/dist/{chunks/chunk-H2JE6IVU.js.map → base.js.map} +0 -0
- /package/dist/{exports/computed-item.context.js.map → chunk-EUXUH3YW.js.map} +0 -0
- /package/dist/{exports/computed.context.js.map → elements.js.map} +0 -0
- /package/dist/{exports/config.context.js.map → interactions.js.map} +0 -0
- /package/dist/{exports/expression-result.js.map → item.js.map} +0 -0
- /package/dist/{exports/interaction.interface.js.map → loader.js.map} +0 -0
- /package/dist/{exports/interaction.js.map → processing.js.map} +0 -0
- /package/dist/{exports/item.context.js.map → test.js.map} +0 -0
- /package/dist/{exports/qti-assessment-item.context.js.map → transformers.js.map} +0 -0
package/package.json
CHANGED
|
@@ -1,198 +1,102 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@citolab/qti-components",
|
|
3
|
+
"version": "7.15.0",
|
|
4
|
+
"description": "QTI component utilities",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"build": "run-p tsup css cem",
|
|
8
|
+
"clean": "rm -rf dist cdn",
|
|
9
|
+
"attw": "attw --pack --profile esm-only --format table",
|
|
10
|
+
"publint": "publint",
|
|
11
|
+
"publish": "npm publish --access public",
|
|
12
|
+
"-": "---build---",
|
|
13
|
+
"tsup": "tsup",
|
|
14
|
+
"css": "postcss ../qti-theme/src/item.css -d dist -m",
|
|
15
|
+
"cem": "cd ../../ && CEM_OUTDIR=packages/qti-components/ cem analyze --config custom-elements-manifest.config.mjs"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"qti",
|
|
19
|
+
"components"
|
|
20
|
+
],
|
|
21
|
+
"author": "",
|
|
22
|
+
"type": "module",
|
|
23
|
+
"sideEffects": [
|
|
24
|
+
"./dist/elements.js",
|
|
25
|
+
"./dist/interactions.js",
|
|
26
|
+
"./dist/processing.js",
|
|
27
|
+
"./dist/test.js",
|
|
28
|
+
"./dist/item.js"
|
|
29
|
+
],
|
|
30
|
+
"license": "GPL-3.0-only",
|
|
3
31
|
"repository": {
|
|
4
32
|
"type": "git",
|
|
5
|
-
"url": "git+https://github.com/Citolab/qti-components.git"
|
|
6
|
-
|
|
7
|
-
"description": "QTI webcomponents",
|
|
8
|
-
"author": {
|
|
9
|
-
"name": "Patrick de Klein"
|
|
33
|
+
"url": "git+https://github.com/Citolab/qti-components.git",
|
|
34
|
+
"directory": "packages/qti-components"
|
|
10
35
|
},
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
"name": "Sander Looise"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"name": "Marcel Hoekstra"
|
|
17
|
-
}
|
|
18
|
-
],
|
|
19
|
-
"license": "GPLv3",
|
|
20
|
-
"private": false,
|
|
21
|
-
"engines": {
|
|
22
|
-
"node": ">=22.0.0"
|
|
36
|
+
"publishConfig": {
|
|
37
|
+
"access": "public"
|
|
23
38
|
},
|
|
24
|
-
"version": "7.14.3",
|
|
25
|
-
"type": "module",
|
|
26
|
-
"main": "./dist/index.js",
|
|
27
|
-
"types": "./dist/index.d.ts",
|
|
28
|
-
"sideEffects": true,
|
|
29
39
|
"exports": {
|
|
30
40
|
".": {
|
|
31
41
|
"types": "./dist/index.d.ts",
|
|
32
42
|
"import": "./dist/index.js"
|
|
33
43
|
},
|
|
34
|
-
"./
|
|
35
|
-
"
|
|
44
|
+
"./qti-base": {
|
|
45
|
+
"types": "./dist/base.d.ts",
|
|
46
|
+
"import": "./dist/base.js"
|
|
36
47
|
},
|
|
37
|
-
"./qti-
|
|
38
|
-
"types": "./dist/
|
|
39
|
-
"import": "./dist/
|
|
48
|
+
"./qti-elements": {
|
|
49
|
+
"types": "./dist/elements.d.ts",
|
|
50
|
+
"import": "./dist/elements.js"
|
|
51
|
+
},
|
|
52
|
+
"./qti-processing": {
|
|
53
|
+
"types": "./dist/processing.d.ts",
|
|
54
|
+
"import": "./dist/processing.js"
|
|
55
|
+
},
|
|
56
|
+
"./qti-interactions": {
|
|
57
|
+
"types": "./dist/interactions.d.ts",
|
|
58
|
+
"import": "./dist/interactions.js"
|
|
40
59
|
},
|
|
41
60
|
"./qti-item": {
|
|
42
|
-
"types": "./dist/
|
|
43
|
-
"import": "./dist/
|
|
61
|
+
"types": "./dist/item.d.ts",
|
|
62
|
+
"import": "./dist/item.js"
|
|
44
63
|
},
|
|
45
64
|
"./qti-test": {
|
|
46
|
-
"types": "./dist/
|
|
47
|
-
"import": "./dist/
|
|
65
|
+
"types": "./dist/test.d.ts",
|
|
66
|
+
"import": "./dist/test.js"
|
|
48
67
|
},
|
|
49
68
|
"./qti-loader": {
|
|
50
|
-
"types": "./dist/
|
|
51
|
-
"import": "./dist/
|
|
69
|
+
"types": "./dist/loader.d.ts",
|
|
70
|
+
"import": "./dist/loader.js"
|
|
52
71
|
},
|
|
53
72
|
"./qti-transformers": {
|
|
54
|
-
"types": "./dist/
|
|
55
|
-
"import": "./dist/
|
|
73
|
+
"types": "./dist/transformers.d.ts",
|
|
74
|
+
"import": "./dist/transformers.js"
|
|
56
75
|
},
|
|
57
76
|
"./customElements": "./custom-elements.json",
|
|
58
|
-
"./react": "./dist/qti-components-jsx.d.ts",
|
|
59
77
|
"./item.css": "./dist/item.css",
|
|
60
78
|
"./cdn/*": "./cdn/*",
|
|
61
|
-
"./package.json": "./package.json"
|
|
79
|
+
"./package.json": "./package.json",
|
|
80
|
+
"./react": "./dist/qti-components-jsx.d.ts"
|
|
62
81
|
},
|
|
63
82
|
"files": [
|
|
64
83
|
"dist",
|
|
65
84
|
"cdn",
|
|
66
85
|
"custom-elements.json"
|
|
67
86
|
],
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"ci": "npm ci",
|
|
82
|
-
"tsup": "tsup",
|
|
83
|
-
"publint": "publint",
|
|
84
|
-
"lint": "eslint src/**/*.ts",
|
|
85
|
-
"stylelint": "stylelint \"src/**/*.css\"",
|
|
86
|
-
"test": "vitest run",
|
|
87
|
-
"attw": "attw --profile esm-only --pack --exclude-entrypoints ./item.css ./react",
|
|
88
|
-
"chromatic": "node chromatic-runner.cjs",
|
|
89
|
-
"clean": "rm -rf dist cdn",
|
|
90
|
-
"madge": "madge --circular --extensions ts src",
|
|
91
|
-
"commitlint": "commitlint --edit",
|
|
92
|
-
"-----------------------npm--": "-",
|
|
93
|
-
"prepare": "husky && npm run build"
|
|
94
|
-
},
|
|
95
|
-
"peerDependencies": {
|
|
96
|
-
"@heximal/templates": "^0.1.5",
|
|
97
|
-
"@lit/context": "^1.1.3",
|
|
98
|
-
"lit": "^3.2.1"
|
|
99
|
-
},
|
|
100
|
-
"devDependencies": {
|
|
101
|
-
"@arethetypeswrong/cli": "^0.18.2",
|
|
102
|
-
"@chromatic-com/storybook": "^4.1.1",
|
|
103
|
-
"@commitlint/cli": "^19.8.1",
|
|
104
|
-
"@commitlint/config-conventional": "^19.8.1",
|
|
105
|
-
"@custom-elements-manifest/analyzer": "^0.10.4",
|
|
106
|
-
"@eslint/js": "^9.29.0",
|
|
107
|
-
"@heximal/templates": "0.1.5",
|
|
108
|
-
"@lit/context": "^1.1.5",
|
|
109
|
-
"@open-wc/lit-helpers": "^0.7.0",
|
|
110
|
-
"@storybook/addon-a11y": "^9.1.5",
|
|
111
|
-
"@storybook/addon-docs": "^9.1.5",
|
|
112
|
-
"@storybook/addon-links": "^9.1.5",
|
|
113
|
-
"@storybook/addon-themes": "^9.1.5",
|
|
114
|
-
"@storybook/addon-vitest": "^9.1.5",
|
|
115
|
-
"@storybook/web-components-vite": "^9.1.5",
|
|
116
|
-
"@swc/core": "^1.12.1",
|
|
117
|
-
"@testing-library/dom": "^10.4.0",
|
|
118
|
-
"@types/dom-view-transitions": "^1.0.6",
|
|
119
|
-
"@types/node": "^24.0.3",
|
|
120
|
-
"@vitest/browser": "^3.2.4",
|
|
121
|
-
"@vitest/coverage-v8": "^3.2.4",
|
|
122
|
-
"@vitest/ui": "^3.2.4",
|
|
123
|
-
"@wc-toolkit/cem-inheritance": "^1.2.2",
|
|
124
|
-
"@wc-toolkit/cem-sorter": "^1.0.1",
|
|
125
|
-
"@wc-toolkit/cem-utilities": "^1.5.0",
|
|
126
|
-
"@wc-toolkit/changelog": "^1.0.2",
|
|
127
|
-
"@wc-toolkit/jsx-types": "^1.4.3",
|
|
128
|
-
"@wc-toolkit/storybook-helpers": "^9.0.1",
|
|
129
|
-
"@wc-toolkit/type-parser": "^1.2.0",
|
|
130
|
-
"autoprefixer": "^10.4.21",
|
|
131
|
-
"chromatic": "^13.0.0",
|
|
132
|
-
"custom-element-vs-code-integration": "^1.5.0",
|
|
133
|
-
"custom-elements-manifest-deprecator": "^1.2.0",
|
|
134
|
-
"dotenv": "^16.5.0",
|
|
135
|
-
"eslint": "^9.29.0",
|
|
136
|
-
"eslint-import-resolver-typescript": "^4.4.3",
|
|
137
|
-
"eslint-plugin-import": "^2.31.0",
|
|
138
|
-
"eslint-plugin-lit": "^2.1.1",
|
|
139
|
-
"eslint-plugin-lit-a11y": "^5.0.1",
|
|
140
|
-
"eslint-plugin-react": "^7.37.5",
|
|
141
|
-
"eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
|
|
142
|
-
"eslint-plugin-storybook": "^9.1.5",
|
|
143
|
-
"eslint-plugin-wc": "^3.0.1",
|
|
144
|
-
"fast-xml-parser": "^5.2.5",
|
|
145
|
-
"globals": "^16.2.0",
|
|
146
|
-
"globby": "^14.1.0",
|
|
147
|
-
"husky": "^9.1.7",
|
|
148
|
-
"lit": "^3.3.0",
|
|
149
|
-
"madge": "^8.0.0",
|
|
150
|
-
"mdx-mermaid": "^2.0.3",
|
|
151
|
-
"mermaid": "^11.12.0",
|
|
152
|
-
"msw": "^2.11.5",
|
|
153
|
-
"msw-storybook-addon": "^2.0.5",
|
|
154
|
-
"nodemon": "^3.1.10",
|
|
155
|
-
"npm-run-all": "^4.1.5",
|
|
156
|
-
"path-browserify": "^1.0.1",
|
|
157
|
-
"pkg-pr-new": "^0.0.51",
|
|
158
|
-
"playwright": "^1.53.0",
|
|
159
|
-
"postcss": "^8.5.6",
|
|
160
|
-
"postcss-class-apply": "^4.0.1",
|
|
161
|
-
"postcss-cli": "^11.0.1",
|
|
162
|
-
"postcss-import": "^16.1.1",
|
|
163
|
-
"postcss-nesting": "^13.0.2",
|
|
164
|
-
"prettier": "3.5.3",
|
|
165
|
-
"prettier-v2": "npm:prettier@2.8.8",
|
|
166
|
-
"publint": "^0.3.12",
|
|
167
|
-
"remark-gfm": "^4.0.1",
|
|
168
|
-
"shadow-dom-testing-library": "^1.12.0",
|
|
169
|
-
"storybook": "^9.1.5",
|
|
170
|
-
"storybook-addon-tag-badges": "^2.0.1",
|
|
171
|
-
"stylelint": "^16.20.0",
|
|
172
|
-
"stylelint-config-standard": "^38.0.0",
|
|
173
|
-
"stylelint-prettier": "^5.0.3",
|
|
174
|
-
"tsup": "^8.5.0",
|
|
175
|
-
"typescript": "^5.8.3",
|
|
176
|
-
"typescript-eslint": "^8.34.1",
|
|
177
|
-
"vite": "^6.3.5",
|
|
178
|
-
"vite-tsconfig-paths": "^5.1.4",
|
|
179
|
-
"vitest": "^3.2.4",
|
|
180
|
-
"yalc": "^1.0.0-pre.53"
|
|
181
|
-
},
|
|
182
|
-
"optionalDependencies": {
|
|
183
|
-
"@rollup/rollup-linux-x64-gnu": "^4.43.0"
|
|
184
|
-
},
|
|
185
|
-
"customElements": "custom-elements.json",
|
|
186
|
-
"bugs": {
|
|
187
|
-
"url": "https://github.com/Citolab/qti-components/issues"
|
|
188
|
-
},
|
|
189
|
-
"homepage": "https://github.com/Citolab/qti-components#readme",
|
|
190
|
-
"overrides": {
|
|
191
|
-
"storybook": "$storybook"
|
|
87
|
+
"dependencies": {
|
|
88
|
+
"@qti-components/test": "workspace:*",
|
|
89
|
+
"@qti-components/item": "workspace:*",
|
|
90
|
+
"@qti-components/elements": "workspace:*",
|
|
91
|
+
"@qti-components/transformers": "workspace:*",
|
|
92
|
+
"@qti-components/interactions": "workspace:*",
|
|
93
|
+
"@qti-components/processing": "workspace:*",
|
|
94
|
+
"@qti-components/loader": "workspace:*",
|
|
95
|
+
"@qti-components/base": "workspace:*",
|
|
96
|
+
"@qti-components/theme": "workspace:*",
|
|
97
|
+
"lit": "^3.3.1",
|
|
98
|
+
"@lit/context": "^1.1.6",
|
|
99
|
+
"@heximal/templates": "^0.1.5"
|
|
192
100
|
},
|
|
193
|
-
"
|
|
194
|
-
"workerDirectory": [
|
|
195
|
-
"public"
|
|
196
|
-
]
|
|
197
|
-
}
|
|
101
|
+
"customElements": "dist/custom-elements.json"
|
|
198
102
|
}
|