@pie-players/pie-tool-calculator-shared 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.
- package/README.md +10 -6
- package/dist/calculator-element.d.ts +1 -1
- package/dist/calculator-element.js +2536 -57
- package/package.json +16 -19
- package/dist/CalculatorElement.svelte.d.ts +0 -1
- package/dist/CalculatorInlineTool.svelte.d.ts +0 -1
- package/dist/CalculatorTool-Dhv9G4lI.js +0 -231
- package/dist/CalculatorTool.svelte.d.ts +0 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -136
package/README.md
CHANGED
|
@@ -11,13 +11,17 @@ The provider-neutral registration entry owns the stable generic element:
|
|
|
11
11
|
import "@pie-players/pie-tool-calculator-shared/calculator-element";
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
It registers `<pie-tool-calculator
|
|
14
|
+
It registers `<pie-tool-calculator>`, which carries the Desmos layout rules. The
|
|
15
15
|
Desmos-named package remains a compatibility entry for the same guarded
|
|
16
|
-
registration.
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
registration. The entry bundles its own Svelte runtime and never resolves the
|
|
17
|
+
host's. It is the package's only entry.
|
|
18
|
+
|
|
19
|
+
Provider packages wrap the calculator and inline shells in their own
|
|
20
|
+
custom-element tags. The shell finds its provider under its base tool id through the toolkit runtime context, so the
|
|
21
|
+
calculator tool config selects the vendor; the shells are unpublished, and each wrapper compiles them
|
|
22
|
+
from source onto the one Svelte runtime it bundles. Applications normally
|
|
23
|
+
install a provider package, not this package directly, unless they
|
|
24
|
+
intentionally want the generic element.
|
|
21
25
|
|
|
22
26
|
The shared inline trigger owns these component-level active-state theme hooks:
|
|
23
27
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { CalculatorType } from '@pie-players/pie-
|
|
1
|
+
export type { CalculatorType } from '@pie-players/pie-calculator';
|