@pie-players/pie-tool-periodic-table 0.3.4 → 0.3.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.
- package/README.md +32 -0
- package/package.json +4 -4
package/README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# @pie-players/pie-tool-periodic-table
|
|
2
|
+
|
|
3
|
+
Interactive periodic table reference tool for PIE assessment players.
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
Provides a full periodic table with element details, category filtering, and keyboard navigation. Rendered as a custom element with shadow DOM.
|
|
8
|
+
|
|
9
|
+
## Custom Element
|
|
10
|
+
|
|
11
|
+
Tag: `pie-tool-periodic-table`
|
|
12
|
+
|
|
13
|
+
| Attribute | Type | Default | Description |
|
|
14
|
+
|---|---|---|---|
|
|
15
|
+
| `visible` | `boolean` | `false` | Controls visibility |
|
|
16
|
+
| `tool-id` | `string` | `'periodicTable'` | Identifier used by the ToolCoordinator |
|
|
17
|
+
|
|
18
|
+
## Features
|
|
19
|
+
|
|
20
|
+
- Full 118-element periodic table laid out on an 18x10 CSS grid
|
|
21
|
+
- Element detail panel showing symbol, name, atomic mass, atomic number, electron configuration, and phase
|
|
22
|
+
- Category filter badges (Alkali Metal, Transition Metal, Noble Gas, etc.)
|
|
23
|
+
- Category-based color coding
|
|
24
|
+
- Keyboard accessible: focusable cells with Enter/Space to select
|
|
25
|
+
|
|
26
|
+
## Integration
|
|
27
|
+
|
|
28
|
+
Registered through the `ToolRegistry` as `periodicTable`. Managed by `ToolkitCoordinator` via `tools.placement`.
|
|
29
|
+
|
|
30
|
+
## License
|
|
31
|
+
|
|
32
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-players/pie-tool-periodic-table",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Interactive periodic table reference tool for PIE assessment player",
|
|
6
6
|
"repository": {
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"unpkg": "./dist/tool-periodic-table.js",
|
|
41
41
|
"jsdelivr": "./dist/tool-periodic-table.js",
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@pie-players/pie-assessment-toolkit": "0.3.
|
|
44
|
-
"@pie-players/pie-context": "0.3.
|
|
45
|
-
"@pie-players/pie-players-shared": "0.3.
|
|
43
|
+
"@pie-players/pie-assessment-toolkit": "0.3.7",
|
|
44
|
+
"@pie-players/pie-context": "0.3.7",
|
|
45
|
+
"@pie-players/pie-players-shared": "0.3.7"
|
|
46
46
|
},
|
|
47
47
|
"types": "./dist/index.d.ts",
|
|
48
48
|
"scripts": {
|