@citolab/qti-components 6.7.1-14 → 6.7.1-15

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.
@@ -2,159 +2,6 @@
2
2
  "schemaVersion": "1.0.0",
3
3
  "readme": "",
4
4
  "modules": [
5
- {
6
- "kind": "javascript-module",
7
- "path": "src/lib/decorators/index.ts",
8
- "declarations": [],
9
- "exports": [
10
- {
11
- "kind": "js",
12
- "name": "*",
13
- "declaration": {
14
- "name": "*",
15
- "package": "./live-query"
16
- }
17
- },
18
- {
19
- "kind": "js",
20
- "name": "*",
21
- "declaration": {
22
- "name": "*",
23
- "package": "./watch"
24
- }
25
- }
26
- ]
27
- },
28
- {
29
- "kind": "javascript-module",
30
- "path": "src/lib/decorators/live-query.ts",
31
- "declarations": [
32
- {
33
- "kind": "function",
34
- "name": "liveQuery",
35
- "parameters": [
36
- {
37
- "name": "querySelector",
38
- "type": {
39
- "text": "string"
40
- }
41
- },
42
- {
43
- "name": "options",
44
- "optional": true,
45
- "type": {
46
- "text": "LiveQueryOptions"
47
- }
48
- }
49
- ]
50
- }
51
- ],
52
- "exports": [
53
- {
54
- "kind": "js",
55
- "name": "liveQuery",
56
- "declaration": {
57
- "name": "liveQuery",
58
- "module": "src/lib/decorators/live-query.ts"
59
- }
60
- }
61
- ]
62
- },
63
- {
64
- "kind": "javascript-module",
65
- "path": "src/lib/decorators/watch.ts",
66
- "declarations": [
67
- {
68
- "kind": "function",
69
- "name": "watch",
70
- "parameters": [
71
- {
72
- "name": "propertyName",
73
- "type": {
74
- "text": "string | string[]"
75
- }
76
- },
77
- {
78
- "name": "options",
79
- "optional": true,
80
- "type": {
81
- "text": "WatchOptions"
82
- }
83
- }
84
- ],
85
- "description": "Runs when observed properties change, e.g. @property or @state, but before the component updates. To wait for an\nupdate to complete after a change occurs, use `await this.updateComplete` in the handler. To start watching after the\ninitial update/render, use `{ waitUntilFirstUpdate: true }` or `this.hasUpdated` in the handler.\n\nUsage:"
86
- }
87
- ],
88
- "exports": [
89
- {
90
- "kind": "js",
91
- "name": "watch",
92
- "declaration": {
93
- "name": "watch",
94
- "module": "src/lib/decorators/watch.ts"
95
- }
96
- }
97
- ]
98
- },
99
- {
100
- "kind": "javascript-module",
101
- "path": "src/lib/qti-transformers/index.ts",
102
- "declarations": [],
103
- "exports": [
104
- {
105
- "kind": "js",
106
- "name": "*",
107
- "declaration": {
108
- "name": "*",
109
- "package": "./qti-transformers"
110
- }
111
- }
112
- ]
113
- },
114
- {
115
- "kind": "javascript-module",
116
- "path": "src/lib/qti-transformers/qti-transformers.ts",
117
- "declarations": [
118
- {
119
- "kind": "function",
120
- "name": "qtiTransformItem",
121
- "return": {
122
- "type": {
123
- "text": ""
124
- }
125
- },
126
- "description": "Browser based QTI-XML to HTML transformer.\nReturns an object with methods to load, parse, transform and serialize QTI XML items."
127
- },
128
- {
129
- "kind": "function",
130
- "name": "qtiTransformTest",
131
- "return": {
132
- "type": {
133
- "text": ""
134
- }
135
- },
136
- "description": "Returns an object with methods to load, parse and transform QTI tests."
137
- }
138
- ],
139
- "exports": [
140
- {
141
- "kind": "js",
142
- "name": "qtiTransformItem",
143
- "declaration": {
144
- "name": "qtiTransformItem",
145
- "module": "src/lib/qti-transformers/qti-transformers.ts"
146
- }
147
- },
148
- {
149
- "kind": "js",
150
- "name": "qtiTransformTest",
151
- "declaration": {
152
- "name": "qtiTransformTest",
153
- "module": "src/lib/qti-transformers/qti-transformers.ts"
154
- }
155
- }
156
- ]
157
- },
158
5
  {
159
6
  "kind": "javascript-module",
160
7
  "path": "src/lib/qti-components/index.ts",
@@ -570,6 +417,159 @@
570
417
  }
571
418
  ]
572
419
  },
420
+ {
421
+ "kind": "javascript-module",
422
+ "path": "src/lib/decorators/index.ts",
423
+ "declarations": [],
424
+ "exports": [
425
+ {
426
+ "kind": "js",
427
+ "name": "*",
428
+ "declaration": {
429
+ "name": "*",
430
+ "package": "./live-query"
431
+ }
432
+ },
433
+ {
434
+ "kind": "js",
435
+ "name": "*",
436
+ "declaration": {
437
+ "name": "*",
438
+ "package": "./watch"
439
+ }
440
+ }
441
+ ]
442
+ },
443
+ {
444
+ "kind": "javascript-module",
445
+ "path": "src/lib/decorators/live-query.ts",
446
+ "declarations": [
447
+ {
448
+ "kind": "function",
449
+ "name": "liveQuery",
450
+ "parameters": [
451
+ {
452
+ "name": "querySelector",
453
+ "type": {
454
+ "text": "string"
455
+ }
456
+ },
457
+ {
458
+ "name": "options",
459
+ "optional": true,
460
+ "type": {
461
+ "text": "LiveQueryOptions"
462
+ }
463
+ }
464
+ ]
465
+ }
466
+ ],
467
+ "exports": [
468
+ {
469
+ "kind": "js",
470
+ "name": "liveQuery",
471
+ "declaration": {
472
+ "name": "liveQuery",
473
+ "module": "src/lib/decorators/live-query.ts"
474
+ }
475
+ }
476
+ ]
477
+ },
478
+ {
479
+ "kind": "javascript-module",
480
+ "path": "src/lib/decorators/watch.ts",
481
+ "declarations": [
482
+ {
483
+ "kind": "function",
484
+ "name": "watch",
485
+ "parameters": [
486
+ {
487
+ "name": "propertyName",
488
+ "type": {
489
+ "text": "string | string[]"
490
+ }
491
+ },
492
+ {
493
+ "name": "options",
494
+ "optional": true,
495
+ "type": {
496
+ "text": "WatchOptions"
497
+ }
498
+ }
499
+ ],
500
+ "description": "Runs when observed properties change, e.g. @property or @state, but before the component updates. To wait for an\nupdate to complete after a change occurs, use `await this.updateComplete` in the handler. To start watching after the\ninitial update/render, use `{ waitUntilFirstUpdate: true }` or `this.hasUpdated` in the handler.\n\nUsage:"
501
+ }
502
+ ],
503
+ "exports": [
504
+ {
505
+ "kind": "js",
506
+ "name": "watch",
507
+ "declaration": {
508
+ "name": "watch",
509
+ "module": "src/lib/decorators/watch.ts"
510
+ }
511
+ }
512
+ ]
513
+ },
514
+ {
515
+ "kind": "javascript-module",
516
+ "path": "src/lib/qti-transformers/index.ts",
517
+ "declarations": [],
518
+ "exports": [
519
+ {
520
+ "kind": "js",
521
+ "name": "*",
522
+ "declaration": {
523
+ "name": "*",
524
+ "package": "./qti-transformers"
525
+ }
526
+ }
527
+ ]
528
+ },
529
+ {
530
+ "kind": "javascript-module",
531
+ "path": "src/lib/qti-transformers/qti-transformers.ts",
532
+ "declarations": [
533
+ {
534
+ "kind": "function",
535
+ "name": "qtiTransformItem",
536
+ "return": {
537
+ "type": {
538
+ "text": ""
539
+ }
540
+ },
541
+ "description": "Browser based QTI-XML to HTML transformer.\nReturns an object with methods to load, parse, transform and serialize QTI XML items."
542
+ },
543
+ {
544
+ "kind": "function",
545
+ "name": "qtiTransformTest",
546
+ "return": {
547
+ "type": {
548
+ "text": ""
549
+ }
550
+ },
551
+ "description": "Returns an object with methods to load, parse and transform QTI tests."
552
+ }
553
+ ],
554
+ "exports": [
555
+ {
556
+ "kind": "js",
557
+ "name": "qtiTransformItem",
558
+ "declaration": {
559
+ "name": "qtiTransformItem",
560
+ "module": "src/lib/qti-transformers/qti-transformers.ts"
561
+ }
562
+ },
563
+ {
564
+ "kind": "js",
565
+ "name": "qtiTransformTest",
566
+ "declaration": {
567
+ "name": "qtiTransformTest",
568
+ "module": "src/lib/qti-transformers/qti-transformers.ts"
569
+ }
570
+ }
571
+ ]
572
+ },
573
573
  {
574
574
  "kind": "javascript-module",
575
575
  "path": "src/lib/qti-components/internal/event-types.ts",
package/dist/item.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- ! tailwindcss v3.3.6 | MIT License | https://tailwindcss.com
2
+ ! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com
3
3
  *//*
4
4
  1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
5
5
  2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
@@ -26,17 +26,20 @@
26
26
  4. Use the user's configured `sans` font-family by default.
27
27
  5. Use the user's configured `sans` font-feature-settings by default.
28
28
  6. Use the user's configured `sans` font-variation-settings by default.
29
+ 7. Disable tap highlights on iOS
29
30
  */
30
31
 
31
- html {
32
+ html,
33
+ :host {
32
34
  line-height: 1.5; /* 1 */
33
35
  -webkit-text-size-adjust: 100%; /* 2 */
34
36
  -moz-tab-size: 4; /* 3 */
35
37
  -o-tab-size: 4;
36
38
  tab-size: 4; /* 3 */
37
- font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
39
+ font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
38
40
  font-feature-settings: normal; /* 5 */
39
41
  font-variation-settings: normal; /* 6 */
42
+ -webkit-tap-highlight-color: transparent; /* 7 */
40
43
  }
41
44
 
42
45
  /*
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "engines": {
13
13
  "node": ">=16.0.0"
14
14
  },
15
- "version": "6.7.1-14",
15
+ "version": "6.7.1-15",
16
16
  "type": "module",
17
17
  "exports": {
18
18
  "./qti-components": "./dist/qti-components/index.js",
@@ -66,59 +66,59 @@
66
66
  },
67
67
  "devDependencies": {
68
68
  "@lit/context": "^1.1.0",
69
- "lit": "^3.1.0",
70
- "@arethetypeswrong/cli": "^0.13.2",
69
+ "lit": "^3.1.1",
70
+ "@arethetypeswrong/cli": "^0.13.5",
71
71
  "@custom-elements-manifest/analyzer": "^0.9.0",
72
72
  "@jest/globals": "^29.7.0",
73
- "@storybook/addon-a11y": "^7.6.4",
74
- "@storybook/addon-essentials": "^7.6.4",
75
- "@storybook/addon-interactions": "^7.6.4",
76
- "@storybook/addon-jest": "^7.6.4",
77
- "@storybook/addon-links": "^7.6.4",
78
- "@storybook/blocks": "^7.6.4",
73
+ "@storybook/addon-a11y": "^7.6.9",
74
+ "@storybook/addon-essentials": "^7.6.9",
75
+ "@storybook/addon-interactions": "^7.6.9",
76
+ "@storybook/addon-jest": "^7.6.9",
77
+ "@storybook/addon-links": "^7.6.9",
78
+ "@storybook/blocks": "^7.6.9",
79
79
  "@storybook/jest": "^0.2.3",
80
- "@storybook/preview-api": "^7.6.4",
80
+ "@storybook/preview-api": "^7.6.9",
81
81
  "@storybook/test-runner": "^0.16.0",
82
82
  "@storybook/testing-library": "^0.2.2",
83
- "@storybook/web-components": "^7.6.4",
84
- "@storybook/web-components-vite": "^7.6.4",
83
+ "@storybook/web-components": "^7.6.9",
84
+ "@storybook/web-components-vite": "^7.6.9",
85
85
  "@tailwindcss/nesting": "^0.0.0-insiders.565cd3e",
86
86
  "@tailwindcss/typography": "^0.5.10",
87
- "@types/node": "^20.9.2",
88
- "@typescript-eslint/eslint-plugin": "^6.11.0",
89
- "autoprefixer": "^10.4.16",
87
+ "@types/node": "^20.11.5",
88
+ "@typescript-eslint/eslint-plugin": "^6.19.0",
89
+ "autoprefixer": "^10.4.17",
90
90
  "custom-element-vs-code-integration": "^1.2.1",
91
- "eslint": "^8.54.0",
92
- "eslint-plugin-import": "^2.29.0",
93
- "eslint-plugin-jest": "^27.6.0",
94
- "eslint-plugin-lit": "^1.10.1",
91
+ "eslint": "^8.56.0",
92
+ "eslint-plugin-import": "^2.29.1",
93
+ "eslint-plugin-jest": "^27.6.3",
94
+ "eslint-plugin-lit": "^1.11.0",
95
95
  "eslint-plugin-lit-a11y": "^4.1.1",
96
96
  "eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
97
97
  "eslint-plugin-storybook": "^0.6.15",
98
98
  "eslint-plugin-wc": "^2.0.4",
99
99
  "jest-environment-jsdom": "^29.7.0",
100
100
  "lit-xml": "^0.6.0",
101
- "nodemon": "^3.0.1",
102
- "np": "^8.0.4",
101
+ "nodemon": "^3.0.3",
102
+ "np": "^9.2.0",
103
103
  "path-browserify": "^1.0.1",
104
- "playwright": "^1.40.0",
105
- "postcss": "^8.4.31",
106
- "postcss-import": "^15.1.0",
107
- "postcss-nesting": "^12.0.1",
108
- "prettier": "3.1.0",
109
- "prettier-plugin-tailwindcss": "^0.5.7",
104
+ "playwright": "^1.41.0",
105
+ "postcss": "^8.4.33",
106
+ "postcss-import": "^16.0.0",
107
+ "postcss-nesting": "^12.0.2",
108
+ "prettier": "3.2.4",
109
+ "prettier-plugin-tailwindcss": "^0.5.11",
110
110
  "react": "^18.2.0",
111
111
  "react-dom": "^18.2.0",
112
112
  "remark-gfm": "^4.0.0",
113
- "storybook": "^7.6.4",
114
- "tailwindcss": "^3.3.2",
113
+ "storybook": "^7.6.9",
114
+ "tailwindcss": "^3.4.1",
115
115
  "ts-jest": "^29.1.1",
116
- "ts-node": "^10.9.1",
117
- "tsup": "^8.0.0",
118
- "tsx": "^4.6.2",
119
- "typescript": "^5.2.2",
120
- "vite": "^5.0.7",
121
- "vite-tsconfig-paths": "^4.2.1"
116
+ "ts-node": "^10.9.2",
117
+ "tsup": "^8.0.1",
118
+ "tsx": "^4.7.0",
119
+ "typescript": "^5.3.3",
120
+ "vite": "^5.0.11",
121
+ "vite-tsconfig-paths": "^4.3.1"
122
122
  },
123
123
  "customElements": "custom-elements.json"
124
124
  }