@citolab/qti-components 6.9.1-beta.67 → 6.9.1-beta.69

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.
@@ -345,8 +345,6 @@ export type QtiChoiceInteractionProps = {
345
345
  };
346
346
 
347
347
  export type QtiCustomInteractionProps = {
348
- /** */
349
- "response-identifier"?: string;
350
348
  /** */
351
349
  data?: string;
352
350
  /** */
@@ -355,6 +353,8 @@ export type QtiCustomInteractionProps = {
355
353
  "data-base-ref"?: string;
356
354
  /** */
357
355
  id?: string;
356
+ /** */
357
+ "response-identifier"?: string;
358
358
  /** disabled should be exposed to the attributes and accessible as property */
359
359
  disabled?: boolean;
360
360
  /** readonly should be exposed to the attributes and accessible as property */
@@ -712,12 +712,12 @@ export type QtiOrderInteractionProps = {
712
712
  };
713
713
 
714
714
  export type QtiPortableCustomInteractionProps = {
715
- /** */
716
- "response-identifier"?: string;
717
715
  /** */
718
716
  module?: string;
719
717
  /** */
720
718
  "custom-interaction-type-identifier"?: string;
719
+ /** */
720
+ "response-identifier"?: string;
721
721
  /** disabled should be exposed to the attributes and accessible as property */
722
722
  disabled?: boolean;
723
723
  /** readonly should be exposed to the attributes and accessible as property */
@@ -1,5 +1,5 @@
1
1
  import { LitElement } from 'lit';
2
- import { p as QtiAssessmentItem } from '../qti-simple-choice-C2d4_r3u.cjs';
2
+ import { p as QtiAssessmentItem } from '../qti-simple-choice-C7xBKYaS.cjs';
3
3
  import 'lit-html';
4
4
  import 'lit-html/directives/ref.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { LitElement } from 'lit';
2
- import { p as QtiAssessmentItem } from '../qti-simple-choice-C2d4_r3u.js';
2
+ import { p as QtiAssessmentItem } from '../qti-simple-choice-C7xBKYaS.js';
3
3
  import 'lit-html';
4
4
  import 'lit-html/directives/ref.js';
5
5
 
@@ -1,4 +1,4 @@
1
- import { p as QtiAssessmentItem } from '../qti-simple-choice-C2d4_r3u.cjs';
1
+ import { p as QtiAssessmentItem } from '../qti-simple-choice-C7xBKYaS.cjs';
2
2
  import 'lit-html';
3
3
  import 'lit';
4
4
  import 'lit-html/directives/ref.js';
@@ -1,4 +1,4 @@
1
- import { p as QtiAssessmentItem } from '../qti-simple-choice-C2d4_r3u.js';
1
+ import { p as QtiAssessmentItem } from '../qti-simple-choice-C7xBKYaS.js';
2
2
  import 'lit-html';
3
3
  import 'lit';
4
4
  import 'lit-html/directives/ref.js';
@@ -644,7 +644,6 @@ declare class QtiPortableCustomInteraction extends Interaction {
644
644
  private intervalId;
645
645
  private rawResponse;
646
646
  private pci;
647
- responseIdentifier: string;
648
647
  module: string;
649
648
  customInteractionTypeIdentifier: string;
650
649
  private _errorMessage;
@@ -691,7 +690,6 @@ declare global {
691
690
  declare class QtiCustomInteraction extends Interaction {
692
691
  private rawResponse;
693
692
  constructor();
694
- responseIdentifier: string;
695
693
  data: string;
696
694
  baseItemUrl: string;
697
695
  baseRefUrl: string;
@@ -644,7 +644,6 @@ declare class QtiPortableCustomInteraction extends Interaction {
644
644
  private intervalId;
645
645
  private rawResponse;
646
646
  private pci;
647
- responseIdentifier: string;
648
647
  module: string;
649
648
  customInteractionTypeIdentifier: string;
650
649
  private _errorMessage;
@@ -691,7 +690,6 @@ declare global {
691
690
  declare class QtiCustomInteraction extends Interaction {
692
691
  private rawResponse;
693
692
  constructor();
694
- responseIdentifier: string;
695
693
  data: string;
696
694
  baseItemUrl: string;
697
695
  baseRefUrl: string;
@@ -33,7 +33,7 @@ declare const qtiTransformItem: () => transformItemApi;
33
33
 
34
34
  declare const qtiTransformManifest: () => {
35
35
  load: (uri: string) => Promise<{
36
- load(uri: any): Promise<any>;
36
+ load(uri: any): Promise</*elided*/ any>;
37
37
  parse(xmlString: string): void;
38
38
  assessmentTest(): {
39
39
  href: string;
@@ -33,7 +33,7 @@ declare const qtiTransformItem: () => transformItemApi;
33
33
 
34
34
  declare const qtiTransformManifest: () => {
35
35
  load: (uri: string) => Promise<{
36
- load(uri: any): Promise<any>;
36
+ load(uri: any): Promise</*elided*/ any>;
37
37
  parse(xmlString: string): void;
38
38
  assessmentTest(): {
39
39
  href: string;
@@ -292,11 +292,11 @@
292
292
  "name": "qti-custom-interaction",
293
293
  "description": "\n---\n\n\n### **Events:**\n - **qti-register-interaction**\n- **qti-interaction-response**",
294
294
  "attributes": [
295
- { "name": "response-identifier", "values": [] },
296
295
  { "name": "data", "values": [] },
297
296
  { "name": "data-base-item", "values": [] },
298
297
  { "name": "data-base-ref", "values": [] },
299
298
  { "name": "id", "values": [] },
299
+ { "name": "response-identifier", "values": [] },
300
300
  {
301
301
  "name": "disabled",
302
302
  "description": "disabled should be exposed to the attributes and accessible as property",
@@ -566,9 +566,9 @@
566
566
  "name": "qti-portable-custom-interaction",
567
567
  "description": "\n---\n\n\n### **Events:**\n - **qti-register-interaction**\n- **qti-interaction-response**",
568
568
  "attributes": [
569
- { "name": "response-identifier", "values": [] },
570
569
  { "name": "module", "values": [] },
571
570
  { "name": "custom-interaction-type-identifier", "values": [] },
571
+ { "name": "response-identifier", "values": [] },
572
572
  {
573
573
  "name": "disabled",
574
574
  "description": "disabled should be exposed to the attributes and accessible as property",
package/package.json CHANGED
@@ -21,7 +21,7 @@
21
21
  "engines": {
22
22
  "node": ">=20.0.0"
23
23
  },
24
- "version": "6.9.1-beta.67",
24
+ "version": "6.9.1-beta.69",
25
25
  "type": "module",
26
26
  "exports": {
27
27
  "./qti-components": {
@@ -112,7 +112,7 @@
112
112
  "command": "cem analyze --litelement --outdir \"dist\""
113
113
  },
114
114
  "css": {
115
- "command": "npx --yes tsx scripts/make-css.ts --outdir \"dist\""
115
+ "command": "postcss src/item.css -d dist -m"
116
116
  },
117
117
  "attw": {
118
118
  "command": "attw --pack --exclude-entrypoints ./item.css ./index.js ./index.global.js ./index.min.js",
@@ -127,73 +127,74 @@
127
127
  "lit-html": "^3.2.1"
128
128
  },
129
129
  "devDependencies": {
130
- "@arethetypeswrong/cli": "^0.16.4",
130
+ "@arethetypeswrong/cli": "^0.17.0",
131
131
  "@chromatic-com/storybook": "^3.2.2",
132
132
  "@custom-elements-manifest/analyzer": "^0.10.3",
133
- "@eslint/js": "^9.13.0",
133
+ "@eslint/js": "^9.15.0",
134
134
  "@lit/context": "^1.1.3",
135
135
  "@ljcl/storybook-addon-cssprops": "^4.0.0",
136
- "@storybook/addon-a11y": "^8.4.2",
137
- "@storybook/addon-essentials": "^8.4.2",
138
- "@storybook/addon-interactions": "^8.4.2",
139
- "@storybook/addon-links": "^8.4.2",
140
- "@storybook/blocks": "^8.4.2",
141
- "@storybook/preview-api": "^8.4.2",
142
- "@storybook/test": "^8.4.2",
143
- "@storybook/test-runner": "^0.19.1",
144
- "@storybook/testing-library": "^0.2.2",
145
- "@storybook/web-components": "^8.4.2",
146
- "@storybook/web-components-vite": "^8.4.2",
136
+ "@storybook/addon-a11y": "^8.4.5",
137
+ "@storybook/addon-essentials": "^8.4.5",
138
+ "@storybook/addon-interactions": "^8.4.5",
139
+ "@storybook/addon-links": "^8.4.5",
140
+ "@storybook/blocks": "^8.4.5",
141
+ "@storybook/preview-api": "^8.4.5",
142
+ "@storybook/test": "^8.4.5",
143
+ "@storybook/web-components": "^8.4.5",
144
+ "@storybook/web-components-vite": "^8.4.5",
145
+ "@swc/core": "^1.9.3",
147
146
  "@testing-library/dom": "^10.4.0",
148
147
  "@types/dom-view-transitions": "^1.0.5",
149
- "@types/node": "^22.8.6",
150
- "@typescript-eslint/eslint-plugin": "^8.12.2",
151
- "@typescript-eslint/parser": "^8.12.2",
152
- "@vitest/browser": "^2.1.4",
148
+ "@types/node": "^22.9.3",
149
+ "@typescript-eslint/eslint-plugin": "^8.15.0",
150
+ "@typescript-eslint/parser": "^8.15.0",
151
+ "@vitest/browser": "^2.1.5",
153
152
  "autoprefixer": "^10.4.20",
154
- "chromatic": "^11.16.3",
153
+ "chromatic": "^11.18.1",
155
154
  "custom-element-eslint-rule-generator": "^1.0.1",
156
155
  "custom-element-jsx-integration": "^1.5.3",
157
156
  "custom-element-react-wrappers": "^1.6.8",
158
157
  "custom-element-vs-code-integration": "^1.4.1",
159
158
  "dotenv": "^16.4.5",
160
- "eslint": "^9.13.0",
159
+ "eslint": "^9.15.0",
161
160
  "eslint-import-resolver-typescript": "^3.6.3",
162
161
  "eslint-plugin-import": "^2.31.0",
163
162
  "eslint-plugin-lit": "^1.15.0",
164
163
  "eslint-plugin-lit-a11y": "^4.1.4",
165
164
  "eslint-plugin-react": "^7.37.2",
166
165
  "eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
167
- "eslint-plugin-storybook": "^0.11.0",
166
+ "eslint-plugin-storybook": "^0.11.1",
168
167
  "eslint-plugin-wc": "^2.2.0",
169
- "globals": "^15.11.0",
168
+ "fast-xml-parser": "^4.5.0",
169
+ "globals": "^15.12.0",
170
170
  "husky": "^9.1.7",
171
171
  "lit": "^3.2.1",
172
172
  "nodemon": "^3.1.7",
173
- "np": "^10.0.7",
173
+ "np": "^10.1.0",
174
174
  "path-browserify": "^1.0.1",
175
- "playwright": "^1.48.2",
176
- "postcss": "^8.4.47",
175
+ "playwright": "^1.49.0",
176
+ "postcss": "^8.4.49",
177
177
  "postcss-class-apply": "^4.0.1",
178
+ "postcss-cli": "^11.0.0",
178
179
  "postcss-import": "^16.1.0",
179
180
  "postcss-nesting": "^13.0.1",
180
181
  "prettier": "3.3.3",
181
182
  "remark-gfm": "^4.0.0",
182
- "storybook": "^8.4.2",
183
+ "storybook": "^8.4.5",
183
184
  "stylelint": "^16.10.0",
184
185
  "stylelint-config-standard": "^36.0.1",
185
186
  "stylelint-prettier": "^5.0.2",
186
187
  "tsup": "^8.3.5",
187
188
  "tsx": "^4.19.2",
188
- "typescript": "^5.6.3",
189
- "typescript-eslint": "^8.12.2",
190
- "vite": "^5.4.10",
191
- "vite-tsconfig-paths": "^5.0.1",
192
- "vitest": "^2.1.4",
189
+ "typescript": "^5.7.2",
190
+ "typescript-eslint": "^8.15.0",
191
+ "vite": "^5.4.11",
192
+ "vite-tsconfig-paths": "^5.1.3",
193
+ "vitest": "^2.1.5",
193
194
  "wireit": "^0.14.9"
194
195
  },
195
196
  "optionalDependencies": {
196
- "@rollup/rollup-linux-x64-gnu": "^4.24.3"
197
+ "@rollup/rollup-linux-x64-gnu": "^4.27.4"
197
198
  },
198
199
  "customElements": "custom-elements.json",
199
200
  "bugs": {