@pie-players/pie-tool-calculator-inline-desmos 1.0.0-beta.6 → 1.0.0-beta.7

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.
@@ -0,0 +1,7 @@
1
+ /** Inputs shared by the component and its native element declaration. */
2
+ export interface CalculatorInlineProps {
3
+ targetToolId?: string;
4
+ calculatorType?: string;
5
+ availableTypes?: string;
6
+ size?: 'sm' | 'md' | 'lg';
7
+ }
package/dist/index.d.ts CHANGED
@@ -1,8 +1,9 @@
1
- /**
2
- * pie-tool-calculator-inline-desmos
3
- *
4
- * Importing this package registers `<pie-tool-calculator-inline>`. The build
5
- * entry is the component, so this file is the type entry alone and declares
6
- * nothing: a runtime export here would not exist in the built bundle.
7
- */
8
- export type {};
1
+ import { CalculatorInlineProps } from './element-props.js';
2
+ /** Native host interface for `<pie-tool-calculator-inline>`. Properties may be unset until it mounts. */
3
+ export interface PieToolCalculatorInlineElement extends HTMLElement, CalculatorInlineProps {
4
+ }
5
+ declare global {
6
+ interface HTMLElementTagNameMap {
7
+ "pie-tool-calculator-inline": PieToolCalculatorInlineElement;
8
+ }
9
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-players/pie-tool-calculator-inline-desmos",
3
- "version": "1.0.0-beta.6",
3
+ "version": "1.0.0-beta.7",
4
4
  "type": "module",
5
5
  "description": "Inline calculator toggle button for PIE assessment player question headers",
6
6
  "repository": {
@@ -37,8 +37,8 @@
37
37
  "unpkg": "./dist/tool-calculator-inline.js",
38
38
  "jsdelivr": "./dist/tool-calculator-inline.js",
39
39
  "dependencies": {
40
- "@pie-players/pie-assessment-toolkit": "1.0.0-beta.6",
41
- "@pie-players/pie-players-shared": "1.0.0-beta.6"
40
+ "@pie-players/pie-assessment-toolkit": "1.0.0-beta.7",
41
+ "@pie-players/pie-players-shared": "1.0.0-beta.7"
42
42
  },
43
43
  "scripts": {
44
44
  "build": "vite build",
@@ -49,8 +49,8 @@
49
49
  "lint": "biome lint ."
50
50
  },
51
51
  "devDependencies": {
52
- "@biomejs/biome": "^2.5.15",
53
- "@pie-players/pie-tool-calculator-shared": "1.0.0-beta.6",
52
+ "@biomejs/biome": "^2.6.2",
53
+ "@pie-players/pie-tool-calculator-shared": "1.0.0-beta.7",
54
54
  "@sveltejs/vite-plugin-svelte": "^7.3.1",
55
55
  "svelte": "^5.57.2",
56
56
  "svelte-check": "^4.7.6",