eat-js-sdk 2.0.0 → 2.0.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eat-js-sdk",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "change version": "2.0.0",
5
5
  "description": "Authoring tool frontend SDK",
6
6
  "contributors": [
@@ -79,5 +79,11 @@
79
79
  "svelte-autosize": "^1.1.5",
80
80
  "svelte-dnd-action": "^0.9.65",
81
81
  "svelte-viewport-info": "^1.0.3"
82
- }
82
+ },
83
+ "files": [
84
+ "README.md",
85
+ "package.json",
86
+ "./dist/**/*",
87
+ "dist"
88
+ ]
83
89
  }
package/.prettierignore DELETED
@@ -1,9 +0,0 @@
1
- # Package Managers
2
- package-lock.json
3
- pnpm-lock.yaml
4
- yarn.lock
5
- bun.lock
6
- bun.lockb
7
-
8
- # Miscellaneous
9
- /static/
package/.prettierrc DELETED
@@ -1,22 +0,0 @@
1
- {
2
- "arrowParens": "always",
3
- "bracketSameLine": false,
4
- "bracketSpacing": true,
5
- "htmlWhitespaceSensitivity": "css",
6
- "printWidth": 120,
7
- "quoteProps": "as-needed",
8
- "semi": false,
9
- "singleQuote": true,
10
- "tabWidth": 2,
11
- "trailingComma": "es5",
12
- "useTabs": false,
13
- "plugins": ["prettier-plugin-svelte"],
14
- "overrides": [
15
- {
16
- "files": "*.svelte",
17
- "options": {
18
- "parser": "svelte"
19
- }
20
- }
21
- ]
22
- }
package/CHANGELOG.md DELETED
@@ -1,121 +0,0 @@
1
- # 2.0.0
2
-
3
- ## 1.4.0
4
-
5
- - [EAT-179](https://cambridgeorg.atlassian.net/browse/EAT-179) As a student/teacher I want to open an image stimulus within a question item in an image viewer
6
-
7
- - [EAT-350](https://cambridgeorg.atlassian.net/browse/EAT-350) As a student/teacher I want to open image answers within MCQ items in an image viewer
8
-
9
- - [EAT-353](https://cambridgeorg.atlassian.net/browse/EAT-353) As an author I want to view my MCQs with image answers using an image viewer when creating the item/As a teacher I want to preview MCQs with image answers using an image viewer before assigning
10
-
11
- - [EAT-354](https://cambridgeorg.atlassian.net/browse/EAT-354) As an author I want to view my interactions with an image stimulus using an image viewer when creating the item/As a teacher I want to preview my interactions with an image stimulus using an image viewer before assigning
12
-
13
- ## 1.3.0
14
-
15
- - [EAT-221](https://cambridgeorg.atlassian.net/browse/EAT-221) Update configuration in EAT SDK for question items with inline tables
16
-
17
- ## 1.2.0
18
-
19
- - [EAT-305](https://cambridgeorg.atlassian.net/browse/EAT-305) [Review Mode] Display the "incorrect" feedback for partially correct partially skipped items
20
-
21
- - [EAT-306](https://cambridgeorg.atlassian.net/browse/EAT-306) [Contentful Preview] Display the "incorrect" feedback for partially correct partially skipped items
22
-
23
- ## 1.1.0
24
-
25
- - [EAT-320](https://cambridgeorg.atlassian.net/browse/EAT-320) Remove static skipped feedback alert
26
-
27
- - [EAT-324](https://cambridgeorg.atlassian.net/browse/EAT-324) Implement <p> tag for inline dropdown to fix new line display issue
28
-
29
- - [EAT-325](https://cambridgeorg.atlassian.net/browse/EAT-325) Update the logic for the correct answer that is shown for long type in questions
30
-
31
- ## 1.0.10
32
-
33
- - [EAT-318](https://cambridgeorg.atlassian.net/browse/EAT-318) Implement designs for long description field for image stimulus with rich text formatting so that they appear correctly in SDK
34
-
35
- - [EAT-319](https://cambridgeorg.atlassian.net/browse/EAT-319) As an author I want to view my interactions with an image stimulus with a long description field when creating the item/As a teacher I want to preview interactions with an image stimulus with a long description field before assigning
36
-
37
- ## 1.0.9
38
-
39
- - [EAT-292](https://btsservice.atlassian.net/browse/EAT-292) As an author I want to view my Categorise interactions with an image stimulus when creating the item/As a teacher I want to preview Categorise interactions with an image stimulus before assigning
40
-
41
- - [EAT-293](https://btsservice.atlassian.net/browse/EAT-293) Implement designs for Categorise interactions with image stimulus so that they appear correctly in SDK
42
-
43
- - [EAT-308](https://cambridgeorg.atlassian.net/browse/EAT-308) Add a "class" attribute in svg
44
-
45
- ## 1.0.8
46
-
47
- - [EAT-274](https://btsservice.atlassian.net/browse/EAT-274) As an author I want to view my MCQ with images in answers when creating the item/As a teacher I want to preview MCQ with images in answers items before assigning
48
-
49
- ## 1.0.7
50
-
51
- - [EAT-262](https://btsservice.atlassian.net/browse/EAT-262) Implement designs for images in MCQ answers so that they appear correctly in SDK
52
-
53
- ## 1.0.6
54
-
55
- - [EAT-263](https://btsservice.atlassian.net/browse/EAT-263) Implement designs for MCQ feedback fields with rich text formatting (including design for interactive preview and review pages)
56
-
57
- - [EAT-264](https://btsservice.atlassian.net/browse/EAT-264) Implement designs for categorise feedback fields with rich text formatting (including design for interactive preview and review pages)
58
-
59
- - [EAT-265](https://btsservice.atlassian.net/browse/EAT-265) Implement designs for type in feedback fields with rich text formatting (including design for interactive preview and review pages)
60
-
61
- ## 1.0.5
62
-
63
- - [EAT-36](https://btsservice.atlassian.net/browse/EAT-36) Implement designs for dropdown so that it appears correctly in SDK
64
-
65
- - [EAT-247](https://btsservice.atlassian.net/browse/EAT-247) As an author I want to view my inline dropdown when creating the item/As a teacher I want to preview inline dropdown items before assigning
66
-
67
- ## 1.0.4
68
-
69
- - [EAT-249](https://btsservice.atlassian.net/browse/EAT-249) [MCQ Single-select] Fix Contentful preview accessibility issues
70
-
71
- - [EAT-250](https://btsservice.atlassian.net/browse/EAT-250) [MCQ Single-select] Remove the options' hover state in review mode and static preview
72
-
73
- ## 1.0.3
74
-
75
- - [EAT-188](https://btsservice.atlassian.net/browse/EAT-188) Implement designs for MCQ multi select individual report pages so it appears correct for end users
76
-
77
- - [EAT-223](https://btsservice.atlassian.net/browse/EAT-223) Implement answer feedbacks for Inline Type-in
78
-
79
- - [EAT-231](https://btsservice.atlassian.net/browse/EAT-231) As an author I want to view my MCQ multi-select when creating the item/As a teacher I want to preview multi-select items before assigning
80
-
81
- - [EAT-234](https://btsservice.atlassian.net/browse/EAT-234) Update designs for MCQ single select individual report pages so it appears correctly for end users
82
-
83
- ## 1.0.2
84
-
85
- - [EAT-229](https://btsservice.atlassian.net/browse/EAT-229) Implement designs for MCQ multi select so it appears correct for end users
86
-
87
- ## 1.0.1
88
-
89
- - [EAT-195](https://btsservice.atlassian.net/browse/EAT-195) As an author I want to view my inline typein when creating the item/As a teacher I want to preview inline typein items before assigning
90
- - [EAT-220](https://btsservice.atlassian.net/browse/EAT-220) Implement designs for scoring for inline typein so that it appears correctly in SDK
91
- - [EAT-216](https://btsservice.atlassian.net/browse/EAT-216) Update SDK after changes to long typein item scoring for interactive preview
92
-
93
- ## 1.0.0
94
-
95
- - [EAT-4](https://btsservice.atlassian.net/browse/EAT-4) As an author I want to be able to preview my activity in content: No session in SDK
96
- - [EAT-12](https://btsservice.atlassian.net/browse/EAT-12) Styling and layouts for categorise (drag and drop) - small screens
97
- - [EAT-31](https://btsservice.atlassian.net/browse/EAT-31) Build authoring tool SDK
98
- - [EAT-33](https://btsservice.atlassian.net/browse/EAT-33) Styling and layouts for MCQ
99
- - [EAT-35](https://btsservice.atlassian.net/browse/EAT-35) Styling and layouts for categorise (drag and drop) - Medium/Large screens
100
- - [EAT-34](https://btsservice.atlassian.net/browse/EAT-34) Styling and layouts for typein questions
101
- - [EAT-45](https://btsservice.atlassian.net/browse/EAT-45) As a student/teacher I want to see image stimulus in my question item
102
- - [EAT-70](https://btsservice.atlassian.net/browse/EAT-70) As a user, I want to view MCQ Question using EAT SDK
103
- - [EAT-71](https://btsservice.atlassian.net/browse/EAT-71) As a user, I want to save my answer when MCQ option is clicked
104
- - [EAT-73](https://btsservice.atlassian.net/browse/EAT-73) As a teacher or student I want to view typein questions using EAT SDK
105
- - [EAT-74](https://btsservice.atlassian.net/browse/EAT-74) As a teacher or student I want to save my answer when I type answer in to a typein field
106
- - [EAT-76](https://btsservice.atlassian.net/browse/EAT-76) As a user, I want to view categorise questions using EAT SDK
107
- - [EAT-92](https://btsservice.atlassian.net/browse/EAT-92) MCQ: Update designs with correct/incorrect answer states and feedback
108
- - [EAT-98](https://btsservice.atlassian.net/browse/EAT-98) As an author I want to preview my categorise item in contentful and consuming platform so I know I have authored the item the way I intended
109
- - [EAT-99](https://btsservice.atlassian.net/browse/EAT-99) Styling and layouts for categorise (drag and drop) - accessibility
110
- - [EAT-100](https://btsservice.atlassian.net/browse/EAT-100) Review and test in/correct answer and feedback designs
111
- - [EAT-113](https://btsservice.atlassian.net/browse/EAT-113) As a student user, I want to save my categorise answers to the SDK
112
- - [EAT-121](https://btsservice.atlassian.net/browse/EAT-121) As a teacher I want to see how my student has fared in a Categorise item type
113
- - [EAT-155](https://btsservice.atlassian.net/browse/EAT-155) Implement designs for text stimulus to include rich text formatting
114
- - [EAT-156](https://btsservice.atlassian.net/browse/EAT-156) Implement designs for text stimulus for static/interactive preview
115
- - [EAT-164](https://btsservice.atlassian.net/browse/EAT-164) Updating designs for MCQ answers with rich text formatting
116
- - [EAT-165](https://btsservice.atlassian.net/browse/EAT-165) Implement designs for Categorise groups and word item with rich text formatting
117
- - [EAT-166](https://btsservice.atlassian.net/browse/EAT-166) Implement designs for MCQ answers to include rich text formatting for static/interactive preview
118
- - [EAT-167](https://btsservice.atlassian.net/browse/EAT-167) Implement designs for categorise to include rich text formatting for static/interactive preview
119
- - [EAT-174](https://btsservice.atlassian.net/browse/EAT-174) Implement designs for Rubric/Prompt with rich text formatting(including design for static/interactive preview)
120
- - [EAT-193](https://btsservice.atlassian.net/browse/EAT-193) Implement designs for inline typein so that it appears correctly in SDK
121
- - [EAT-201](https://btsservice.atlassian.net/browse/EAT-201) Update SDK config
package/svelte.config.js DELETED
@@ -1,20 +0,0 @@
1
- import adapter from '@sveltejs/adapter-auto'
2
- import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'
3
-
4
- /** @type {import('@sveltejs/kit').Config} */
5
- const config = {
6
- // Consult https://svelte.dev/docs/kit/integrations
7
- // for more information about preprocessors
8
- preprocess: vitePreprocess(),
9
-
10
- customElement: true,
11
-
12
- kit: {
13
- // adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
14
- // If your environment is not supported, or you settled on a specific environment, switch out the adapter.
15
- // See https://svelte.dev/docs/kit/adapters for more information about adapters.
16
- adapter: adapter(),
17
- },
18
- }
19
-
20
- export default config