@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.
@@ -1 +1 @@
1
- import{a as o}from"../chunk-2EOV63WT.js";import"../chunk-L6436D6O.js";import"../chunk-WFLR5TH7.js";import"../chunk-NMCIOGD2.js";export{o as QtiItem};
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-e1c352e0.js';
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-2EOV63WT.js";import"../chunk-L6436D6O.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};
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<1 | 2>;
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.16",
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.0",
89
- "@lit-labs/react": "^1.1.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.6.1",
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.0",
104
- "@jest/globals": "^28.1.3",
105
- "@storybook/addon-a11y": "^7.1.0-alpha.20",
106
- "@storybook/addon-essentials": "^7.1.0-alpha.20",
107
- "@storybook/addon-interactions": "^7.1.0-alpha.20",
108
- "@storybook/addon-jest": "^7.1.0-alpha.20",
109
- "@storybook/addon-links": "^7.1.0-alpha.20",
110
- "@storybook/addon-styling": "1.0.8",
111
- "@storybook/blocks": "^7.1.0-alpha.20",
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.10.0",
114
- "@storybook/testing-library": "^0.1.0",
115
- "@storybook/web-components": "^7.1.0-alpha.20",
116
- "@storybook/web-components-vite": "^7.1.0-alpha.20",
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.2",
119
- "@typescript-eslint/eslint-plugin": "^5.59.0",
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.9.0",
123
- "eslint": "^8.31.0",
124
- "eslint-plugin-import": "^2.27.4",
125
- "eslint-plugin-jest": "^27.2.1",
126
- "eslint-plugin-lit": "^1.8.2",
127
- "eslint-plugin-lit-a11y": "^2.3.0",
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.4.0",
138
+ "eslint-plugin-wc": "^1.5.0",
131
139
  "html-to-image": "^1.11.11",
132
- "jest-environment-jsdom": "^28.1.3",
140
+ "jest-environment-jsdom": "^29.5.0",
133
141
  "nodemon": "^2.0.22",
134
- "postcss": "^8.4.23",
142
+ "postcss": "^8.4.24",
135
143
  "postcss-import": "^15.1.0",
136
- "postcss-nesting": "^11.2.2",
137
- "prettier": "2.8.7",
138
- "prettier-plugin-tailwindcss": "^0.2.8",
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.62.0",
142
- "storybook": "^7.1.0-alpha.20",
143
- "storybook-addon-pseudo-states": "^2.0.1",
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": "^28.0.8",
153
+ "ts-jest": "^29.1.0",
146
154
  "ts-node": "^10.9.1",
147
- "tsup": "^6.7.0",
148
- "typescript": "^4.9.5",
149
- "vite": "^4.2.0",
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"
@@ -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};