@citolab/qti-components 6.0.16 → 6.0.18
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/{chunk-2EOV63WT.js → chunk-FIJLDR56.js} +1 -1
- package/dist/context/index.d.ts +1 -0
- package/dist/context/index.js +1 -0
- package/dist/context-a957e50e.d.ts +9 -0
- package/dist/custom-elements.json +472 -492
- package/dist/index.d.ts +1 -1
- package/dist/index.js +63 -143
- package/dist/qti-components/index.d.ts +3 -7
- package/dist/qti-components/index.js +70 -150
- package/dist/qti-item/index.js +1 -1
- package/dist/qti-item-react/index.d.ts +1 -1
- package/dist/qti-item-react/index.js +1 -1
- package/dist/{qti-simple-choice-e1c352e0.d.ts → qti-simple-choice-ca9b86db.d.ts} +1 -1
- package/package.json +47 -39
- package/dist/chunk-DLLHO3W2.js +0 -1
- package/dist/chunk-YDZUFMBB.js +0 -2204
- /package/dist/{chunk-L6436D6O.js → chunk-HQKT4SJF.js} +0 -0
package/dist/qti-item/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"../chunk-
|
|
1
|
+
import{a as o}from"../chunk-FIJLDR56.js";import"../chunk-HQKT4SJF.js";import"../chunk-WFLR5TH7.js";import"../chunk-NMCIOGD2.js";export{o as QtiItem};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { Ref } from 'react';
|
|
2
2
|
import { Q as QtiItem$1 } from '../qti-item-8c26fa9e.js';
|
|
3
3
|
import { a as ResponseInteraction } from '../qti-assessment-item-f1fcf393.js';
|
|
4
|
-
import { O as OutcomeChangedDetails, b as InteractionChangedDetails } from '../qti-simple-choice-
|
|
4
|
+
import { O as OutcomeChangedDetails, b as InteractionChangedDetails } from '../qti-simple-choice-ca9b86db.js';
|
|
5
5
|
import 'lit-html';
|
|
6
6
|
import 'lit';
|
|
7
7
|
import 'lit-html/directives/ref';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"../chunk-
|
|
1
|
+
import{a as e}from"../chunk-FIJLDR56.js";import"../chunk-HQKT4SJF.js";import"../chunk-WFLR5TH7.js";import"../chunk-NMCIOGD2.js";import t from"react";import{createComponent as o}from"@lit-labs/react";var c=o({tagName:"qti-item",react:t,elementClass:e,events:{qtioutcomechanged:"qti-outcome-changed",qtiinteractionchanged:"qti-interaction-changed",qtiitemconnected:"qti-item-connected"}});export{c as QtiItem};
|
|
@@ -185,7 +185,7 @@ declare abstract class QtiChoice extends LitElement {
|
|
|
185
185
|
private _onClick;
|
|
186
186
|
private _toggleChecked;
|
|
187
187
|
validateAllProps(): boolean;
|
|
188
|
-
render(): lit_html.TemplateResult
|
|
188
|
+
render(): lit_html.TemplateResult;
|
|
189
189
|
}
|
|
190
190
|
declare global {
|
|
191
191
|
interface HTMLElementTagNameMap {
|
package/package.json
CHANGED
|
@@ -12,13 +12,16 @@
|
|
|
12
12
|
"engines": {
|
|
13
13
|
"node": ">=16.0.0"
|
|
14
14
|
},
|
|
15
|
-
"version": "6.0.
|
|
15
|
+
"version": "6.0.18",
|
|
16
16
|
"type": "module",
|
|
17
17
|
"main": "dist/qti-components/index.js",
|
|
18
18
|
"exports": {
|
|
19
19
|
".": {
|
|
20
20
|
"import": "./dist/qti-components/index.js"
|
|
21
21
|
},
|
|
22
|
+
"./context": {
|
|
23
|
+
"import": "./dist/context/index.js"
|
|
24
|
+
},
|
|
22
25
|
"./decorators": {
|
|
23
26
|
"import": "./dist/decorators/index.js"
|
|
24
27
|
},
|
|
@@ -45,6 +48,9 @@
|
|
|
45
48
|
".": [
|
|
46
49
|
"./dist/index.d.ts"
|
|
47
50
|
],
|
|
51
|
+
"context": [
|
|
52
|
+
"./dist/context/index.d.ts"
|
|
53
|
+
],
|
|
48
54
|
"decorators": [
|
|
49
55
|
"./dist/decorators/index.d.ts"
|
|
50
56
|
],
|
|
@@ -82,15 +88,17 @@
|
|
|
82
88
|
"test-storybook": "test-storybook",
|
|
83
89
|
"cem": "cem analyze --watch",
|
|
84
90
|
"lint": "eslint src/lib/**",
|
|
85
|
-
"kill 6006": "sudo lsof -i :6006 | grep LISTEN | awk '{print $2}' | xargs kill"
|
|
91
|
+
"kill 6006": "sudo lsof -i :6006 | grep LISTEN | awk '{print $2}' | xargs kill",
|
|
92
|
+
"list-outdated-dependencies": "npx npm-check-updates --format repo --peer",
|
|
93
|
+
"update-dependencies": "npx npm-check-updates --peer -u && npm install"
|
|
86
94
|
},
|
|
87
95
|
"dependencies": {
|
|
88
|
-
"@lit-labs/context": "^0.3.
|
|
89
|
-
"@lit-labs/react": "^1.
|
|
96
|
+
"@lit-labs/context": "^0.3.3",
|
|
97
|
+
"@lit-labs/react": "^1.2.0",
|
|
90
98
|
"@tailwindcss/nesting": "^0.0.0-insiders.565cd3e",
|
|
91
99
|
"cheerio": "^1.0.0-rc.12",
|
|
92
100
|
"haunted": "^5.0.0",
|
|
93
|
-
"lit": "^2.
|
|
101
|
+
"lit": "^2.7.5",
|
|
94
102
|
"lit-xml": "^0.5.0"
|
|
95
103
|
},
|
|
96
104
|
"peerdependencies": {
|
|
@@ -100,53 +108,53 @@
|
|
|
100
108
|
"lit": ">= 2 < 3"
|
|
101
109
|
},
|
|
102
110
|
"devDependencies": {
|
|
103
|
-
"@custom-elements-manifest/analyzer": "^0.8.
|
|
104
|
-
"@jest/globals": "^
|
|
105
|
-
"@storybook/addon-a11y": "^7.
|
|
106
|
-
"@storybook/addon-essentials": "^7.
|
|
107
|
-
"@storybook/addon-interactions": "^7.
|
|
108
|
-
"@storybook/addon-jest": "^7.
|
|
109
|
-
"@storybook/addon-links": "^7.
|
|
110
|
-
"@storybook/addon-styling": "1.0
|
|
111
|
-
"@storybook/blocks": "^7.
|
|
111
|
+
"@custom-elements-manifest/analyzer": "^0.8.3",
|
|
112
|
+
"@jest/globals": "^29.5.0",
|
|
113
|
+
"@storybook/addon-a11y": "^7.0.21",
|
|
114
|
+
"@storybook/addon-essentials": "^7.0.21",
|
|
115
|
+
"@storybook/addon-interactions": "^7.0.21",
|
|
116
|
+
"@storybook/addon-jest": "^7.0.21",
|
|
117
|
+
"@storybook/addon-links": "^7.0.21",
|
|
118
|
+
"@storybook/addon-styling": "1.3.0",
|
|
119
|
+
"@storybook/blocks": "^7.0.21",
|
|
112
120
|
"@storybook/jest": "^0.1.0",
|
|
113
|
-
"@storybook/test-runner": "^0.
|
|
114
|
-
"@storybook/testing-library": "^0.
|
|
115
|
-
"@storybook/web-components": "^7.
|
|
116
|
-
"@storybook/web-components-vite": "^7.
|
|
121
|
+
"@storybook/test-runner": "^0.11.0",
|
|
122
|
+
"@storybook/testing-library": "^0.2.0",
|
|
123
|
+
"@storybook/web-components": "^7.0.21",
|
|
124
|
+
"@storybook/web-components-vite": "^7.0.21",
|
|
117
125
|
"@tailwindcss/typography": "^0.5.9",
|
|
118
|
-
"@types/node": "^20.1
|
|
119
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
126
|
+
"@types/node": "^20.3.1",
|
|
127
|
+
"@typescript-eslint/eslint-plugin": "^5.60.0",
|
|
120
128
|
"autoprefixer": "^10.4.14",
|
|
121
129
|
"cem-plugin-vs-code-custom-data-generator": "^1.4.1",
|
|
122
|
-
"esbuild-sass-plugin": "^2.
|
|
123
|
-
"eslint": "^8.
|
|
124
|
-
"eslint-plugin-import": "^2.27.
|
|
125
|
-
"eslint-plugin-jest": "^27.2.
|
|
126
|
-
"eslint-plugin-lit": "^1.8.
|
|
127
|
-
"eslint-plugin-lit-a11y": "^
|
|
130
|
+
"esbuild-sass-plugin": "^2.10.0",
|
|
131
|
+
"eslint": "^8.43.0",
|
|
132
|
+
"eslint-plugin-import": "^2.27.5",
|
|
133
|
+
"eslint-plugin-jest": "^27.2.2",
|
|
134
|
+
"eslint-plugin-lit": "^1.8.3",
|
|
135
|
+
"eslint-plugin-lit-a11y": "^3.0.0",
|
|
128
136
|
"eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
|
|
129
137
|
"eslint-plugin-storybook": "^0.6.12",
|
|
130
|
-
"eslint-plugin-wc": "^1.
|
|
138
|
+
"eslint-plugin-wc": "^1.5.0",
|
|
131
139
|
"html-to-image": "^1.11.11",
|
|
132
|
-
"jest-environment-jsdom": "^
|
|
140
|
+
"jest-environment-jsdom": "^29.5.0",
|
|
133
141
|
"nodemon": "^2.0.22",
|
|
134
|
-
"postcss": "^8.4.
|
|
142
|
+
"postcss": "^8.4.24",
|
|
135
143
|
"postcss-import": "^15.1.0",
|
|
136
|
-
"postcss-nesting": "^11.
|
|
137
|
-
"prettier": "2.8.
|
|
138
|
-
"prettier-plugin-tailwindcss": "^0.
|
|
144
|
+
"postcss-nesting": "^11.3.0",
|
|
145
|
+
"prettier": "2.8.8",
|
|
146
|
+
"prettier-plugin-tailwindcss": "^0.3.0",
|
|
139
147
|
"react": "^18.2.0",
|
|
140
148
|
"react-dom": "^18.2.0",
|
|
141
|
-
"sass": "^1.
|
|
142
|
-
"storybook": "^7.
|
|
143
|
-
"storybook-addon-pseudo-states": "^2.0
|
|
149
|
+
"sass": "^1.63.6",
|
|
150
|
+
"storybook": "^7.0.21",
|
|
151
|
+
"storybook-addon-pseudo-states": "^2.1.0",
|
|
144
152
|
"tailwindcss": "^3.3.2",
|
|
145
|
-
"ts-jest": "^
|
|
153
|
+
"ts-jest": "^29.1.0",
|
|
146
154
|
"ts-node": "^10.9.1",
|
|
147
|
-
"tsup": "^
|
|
148
|
-
"typescript": "^
|
|
149
|
-
"vite": "^4.
|
|
155
|
+
"tsup": "^7.0.0",
|
|
156
|
+
"typescript": "^5.1.3",
|
|
157
|
+
"vite": "^4.3.9",
|
|
150
158
|
"np": "^8.0.4"
|
|
151
159
|
},
|
|
152
160
|
"customElements": "custom-elements.json"
|
package/dist/chunk-DLLHO3W2.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as o}from"./chunk-NMCIOGD2.js";function U(e,l){let r=o({waitUntilFirstUpdate:!1},l);return(s,d)=>{let{update:c}=s,p=Array.isArray(e)?e:[e];s.update=function(t){p.forEach(f=>{let n=f;if(t.has(n)){let i=t.get(n),a=this[n];i!==a&&(!r.waitUntilFirstUpdate||this.hasUpdated)&&this[d](i,a)}}),c.call(this,t)}}}import{createContext as u}from"@lit-labs/context";var h=u("logger");export{U as a,h as b};
|