@pie-players/pie-tool-calculator-desmos 0.3.44 → 0.3.45

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/README.md ADDED
@@ -0,0 +1,35 @@
1
+ # Desmos Calculator Tool
2
+
3
+ Calculator custom element backed by the Desmos provider for PIE assessment
4
+ player flows.
5
+
6
+ ## Usage
7
+
8
+ Import the package to register `<pie-tool-calculator>`:
9
+
10
+ ```ts
11
+ import "@pie-players/pie-tool-calculator-desmos";
12
+ ```
13
+
14
+ ```html
15
+ <pie-tool-calculator
16
+ visible="true"
17
+ tool-id="calculator"
18
+ calculator-type="scientific"
19
+ ></pie-tool-calculator>
20
+ ```
21
+
22
+ ## Props
23
+
24
+ | Prop | Type | Default | Description |
25
+ | --- | --- | --- | --- |
26
+ | `visible` | `boolean` | `false` | Controls whether the calculator is visible. |
27
+ | `toolId` | `string` | `calculator` | Tool identifier used by the assessment toolkit runtime context. |
28
+ | `calculatorType` | `string` | package default | Requested calculator mode. |
29
+ | `availableTypes` | `string[]` | package default | Calculator modes the host allows. |
30
+ | `toolkitCoordinator` | `ToolkitCoordinator` | unset | Optional coordinator reference for toolkit-managed flows. |
31
+
32
+ ## Related Documentation
33
+
34
+ - [Calculator tools README](../assessment-toolkit/src/tools/calculators/README.md)
35
+ - [Tools and accommodations architecture](../../docs/tools-and-accomodations/architecture.md)