@pie-players/pie-tool-calculator-desmos 0.3.73 → 0.3.75

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.
Files changed (2) hide show
  1. package/README.md +6 -7
  2. package/package.json +10 -13
package/README.md CHANGED
@@ -1,9 +1,10 @@
1
1
  # Desmos Calculator Tool
2
2
 
3
3
  Calculator custom element backed by the Desmos provider for PIE assessment
4
- player flows. It is a thin compatibility wrapper around
5
- `@pie-players/pie-tool-calculator-shared`; Desmos-specific layout rules and the
6
- default provider id remain in this package.
4
+ player flows. It is a thin compatibility entry for
5
+ `@pie-players/pie-tool-calculator-shared/calculator-element`, which holds the
6
+ Desmos-specific layout rules. The toolkit's calculator tool config selects the
7
+ provider the element mounts.
7
8
 
8
9
  ## Usage
9
10
 
@@ -26,14 +27,12 @@ import "@pie-players/pie-tool-calculator-desmos";
26
27
  | Prop | Type | Default | Description |
27
28
  | --- | --- | --- | --- |
28
29
  | `visible` | `boolean` | `false` | Controls whether the calculator is visible. |
29
- | `toolId` | `string` | `calculator` | Tool identifier used by the assessment toolkit runtime context. |
30
- | `providerId` | `string` | `calculator-desmos` | Toolkit provider registry id. |
30
+ | `toolId` | `string` | `calculator` | Tool instance id; its base tool id is the id the toolkit registers the calculator provider under. |
31
31
  | `calculatorType` | `string` | package default | Requested calculator mode. |
32
32
  | `availableTypes` | `string[]` | package default | Calculator modes the host allows. |
33
33
  | `calculatorConfig` | `CalculatorProviderConfig` | `{}` | Provider-neutral options plus implementation-owned `settings`. |
34
- | `toolkitCoordinator` | `ToolkitCoordinator` | unset | Optional coordinator reference for toolkit-managed flows. |
35
34
 
36
35
  ## Related Documentation
37
36
 
38
- - [Calculator tools README](../assessment-toolkit/src/tools/calculators/README.md)
37
+ - [Calculator providers](../default-tool-loaders/src/calculator-providers/README.md)
39
38
  - [Tools and accommodations architecture](../../docs/tools-and-accomodations/architecture.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-players/pie-tool-calculator-desmos",
3
- "version": "0.3.73",
3
+ "version": "0.3.75",
4
4
  "type": "module",
5
5
  "description": "Calculator tool for PIE assessment player",
6
6
  "repository": {
@@ -35,27 +35,24 @@
35
35
  "test": "bun test tests",
36
36
  "typecheck": "tsc --noEmit",
37
37
  "check": "svelte-check --tsconfig ./tsconfig.json --compiler-warnings options_missing_custom_element:ignore",
38
- "lint": "biome check ."
38
+ "lint": "biome lint ."
39
39
  },
40
40
  "license": "MIT",
41
41
  "unpkg": "./dist/pie-tool-calculator.js",
42
42
  "jsdelivr": "./dist/pie-tool-calculator.js",
43
43
  "dependencies": {
44
- "@pie-players/pie-assessment-toolkit": "0.3.73",
45
- "@pie-players/pie-calculator": "0.3.73",
46
- "@pie-players/pie-context": "0.3.73",
47
- "@pie-players/pie-players-shared": "0.3.73",
48
- "@pie-players/pie-tool-calculator-shared": "0.3.73"
44
+ "@pie-players/pie-calculator": "0.3.75",
45
+ "@pie-players/pie-tool-calculator-shared": "0.3.75"
49
46
  },
50
47
  "devDependencies": {
51
- "@biomejs/biome": "^2.5.13",
52
- "@pie-players/pie-calculator-desmos": "0.3.73",
53
- "@sveltejs/vite-plugin-svelte": "^7.3.0",
54
- "svelte": "^5.57.0",
48
+ "@biomejs/biome": "^2.5.15",
49
+ "@pie-players/pie-calculator-desmos": "0.3.75",
50
+ "@sveltejs/vite-plugin-svelte": "^7.3.1",
51
+ "svelte": "^5.57.1",
55
52
  "svelte-check": "^4.7.6",
56
53
  "typescript": "^5.9.3",
57
- "vite": "^8.2.2",
58
- "vite-plugin-dts": "^5.0.3"
54
+ "vite": "^8.3.2",
55
+ "vite-plugin-dts": "^5.1.2"
59
56
  },
60
57
  "homepage": "https://github.com/pie-framework/pie-players/tree/master/packages/tool-calculator-desmos#readme",
61
58
  "bugs": {