@pie-players/pie-tool-periodic-table 0.3.29 → 0.3.31
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/dist/tool-periodic-table.js +1373 -1316
- package/package.json +6 -8
- package/elements-data.ts +0 -632
- package/index.ts +0 -8
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.31",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Interactive periodic table reference tool for PIE assessment player",
|
|
6
6
|
"repository": {
|
|
@@ -31,8 +31,6 @@
|
|
|
31
31
|
"files": [
|
|
32
32
|
"dist",
|
|
33
33
|
"tool-periodic-table.svelte",
|
|
34
|
-
"index.ts",
|
|
35
|
-
"elements-data.ts",
|
|
36
34
|
"periodic-table-data.json",
|
|
37
35
|
"package.json"
|
|
38
36
|
],
|
|
@@ -40,9 +38,9 @@
|
|
|
40
38
|
"unpkg": "./dist/tool-periodic-table.js",
|
|
41
39
|
"jsdelivr": "./dist/tool-periodic-table.js",
|
|
42
40
|
"dependencies": {
|
|
43
|
-
"@pie-players/pie-assessment-toolkit": "0.3.
|
|
44
|
-
"@pie-players/pie-context": "0.3.
|
|
45
|
-
"@pie-players/pie-players-shared": "0.3.
|
|
41
|
+
"@pie-players/pie-assessment-toolkit": "0.3.31",
|
|
42
|
+
"@pie-players/pie-context": "0.3.31",
|
|
43
|
+
"@pie-players/pie-players-shared": "0.3.31"
|
|
46
44
|
},
|
|
47
45
|
"types": "./dist/index.d.ts",
|
|
48
46
|
"scripts": {
|
|
@@ -52,11 +50,11 @@
|
|
|
52
50
|
"lint": "biome check ."
|
|
53
51
|
},
|
|
54
52
|
"devDependencies": {
|
|
55
|
-
"@biomejs/biome": "^2.
|
|
53
|
+
"@biomejs/biome": "^2.4.12",
|
|
56
54
|
"@sveltejs/vite-plugin-svelte": "^7.0.0",
|
|
57
55
|
"svelte": "^5.54.0",
|
|
58
56
|
"typescript": "^5.9.3",
|
|
59
|
-
"vite": "^8.0.
|
|
57
|
+
"vite": "^8.0.10",
|
|
60
58
|
"vite-plugin-dts": "^4.5.4"
|
|
61
59
|
},
|
|
62
60
|
"homepage": "https://github.com/pie-framework/pie-players/tree/master/packages/tool-periodic-table#readme",
|
package/elements-data.ts
DELETED
|
@@ -1,632 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Periodic Table Element Data
|
|
3
|
-
* Self-contained element data for chemistry assessments
|
|
4
|
-
* Based on standard periodic table reference materials
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
export interface Element {
|
|
8
|
-
atomicNumber: number;
|
|
9
|
-
symbol: string;
|
|
10
|
-
name: string;
|
|
11
|
-
atomicMass: number;
|
|
12
|
-
group: number;
|
|
13
|
-
period: number;
|
|
14
|
-
category: string;
|
|
15
|
-
electronConfiguration: string;
|
|
16
|
-
state: string; // solid, liquid, gas
|
|
17
|
-
color: string; // For category color coding
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export const elements: Element[] = [
|
|
21
|
-
// Period 1
|
|
22
|
-
{
|
|
23
|
-
atomicNumber: 1,
|
|
24
|
-
symbol: "H",
|
|
25
|
-
name: "Hydrogen",
|
|
26
|
-
atomicMass: 1.008,
|
|
27
|
-
group: 1,
|
|
28
|
-
period: 1,
|
|
29
|
-
category: "nonmetal",
|
|
30
|
-
electronConfiguration: "1s¹",
|
|
31
|
-
state: "gas",
|
|
32
|
-
color: "#fef3c7",
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
atomicNumber: 2,
|
|
36
|
-
symbol: "He",
|
|
37
|
-
name: "Helium",
|
|
38
|
-
atomicMass: 4.003,
|
|
39
|
-
group: 18,
|
|
40
|
-
period: 1,
|
|
41
|
-
category: "noble gas",
|
|
42
|
-
electronConfiguration: "1s²",
|
|
43
|
-
state: "gas",
|
|
44
|
-
color: "#dbeafe",
|
|
45
|
-
},
|
|
46
|
-
|
|
47
|
-
// Period 2
|
|
48
|
-
{
|
|
49
|
-
atomicNumber: 3,
|
|
50
|
-
symbol: "Li",
|
|
51
|
-
name: "Lithium",
|
|
52
|
-
atomicMass: 6.94,
|
|
53
|
-
group: 1,
|
|
54
|
-
period: 2,
|
|
55
|
-
category: "alkali metal",
|
|
56
|
-
electronConfiguration: "[He] 2s¹",
|
|
57
|
-
state: "solid",
|
|
58
|
-
color: "#fecaca",
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
atomicNumber: 4,
|
|
62
|
-
symbol: "Be",
|
|
63
|
-
name: "Beryllium",
|
|
64
|
-
atomicMass: 9.012,
|
|
65
|
-
group: 2,
|
|
66
|
-
period: 2,
|
|
67
|
-
category: "alkaline earth",
|
|
68
|
-
electronConfiguration: "[He] 2s²",
|
|
69
|
-
state: "solid",
|
|
70
|
-
color: "#fed7aa",
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
atomicNumber: 5,
|
|
74
|
-
symbol: "B",
|
|
75
|
-
name: "Boron",
|
|
76
|
-
atomicMass: 10.81,
|
|
77
|
-
group: 13,
|
|
78
|
-
period: 2,
|
|
79
|
-
category: "metalloid",
|
|
80
|
-
electronConfiguration: "[He] 2s² 2p¹",
|
|
81
|
-
state: "solid",
|
|
82
|
-
color: "#d1fae5",
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
atomicNumber: 6,
|
|
86
|
-
symbol: "C",
|
|
87
|
-
name: "Carbon",
|
|
88
|
-
atomicMass: 12.01,
|
|
89
|
-
group: 14,
|
|
90
|
-
period: 2,
|
|
91
|
-
category: "nonmetal",
|
|
92
|
-
electronConfiguration: "[He] 2s² 2p²",
|
|
93
|
-
state: "solid",
|
|
94
|
-
color: "#fef3c7",
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
atomicNumber: 7,
|
|
98
|
-
symbol: "N",
|
|
99
|
-
name: "Nitrogen",
|
|
100
|
-
atomicMass: 14.01,
|
|
101
|
-
group: 15,
|
|
102
|
-
period: 2,
|
|
103
|
-
category: "nonmetal",
|
|
104
|
-
electronConfiguration: "[He] 2s² 2p³",
|
|
105
|
-
state: "gas",
|
|
106
|
-
color: "#fef3c7",
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
atomicNumber: 8,
|
|
110
|
-
symbol: "O",
|
|
111
|
-
name: "Oxygen",
|
|
112
|
-
atomicMass: 16.0,
|
|
113
|
-
group: 16,
|
|
114
|
-
period: 2,
|
|
115
|
-
category: "nonmetal",
|
|
116
|
-
electronConfiguration: "[He] 2s² 2p⁴",
|
|
117
|
-
state: "gas",
|
|
118
|
-
color: "#fef3c7",
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
atomicNumber: 9,
|
|
122
|
-
symbol: "F",
|
|
123
|
-
name: "Fluorine",
|
|
124
|
-
atomicMass: 19.0,
|
|
125
|
-
group: 17,
|
|
126
|
-
period: 2,
|
|
127
|
-
category: "halogen",
|
|
128
|
-
electronConfiguration: "[He] 2s² 2p⁵",
|
|
129
|
-
state: "gas",
|
|
130
|
-
color: "#e9d5ff",
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
atomicNumber: 10,
|
|
134
|
-
symbol: "Ne",
|
|
135
|
-
name: "Neon",
|
|
136
|
-
atomicMass: 20.18,
|
|
137
|
-
group: 18,
|
|
138
|
-
period: 2,
|
|
139
|
-
category: "noble gas",
|
|
140
|
-
electronConfiguration: "[He] 2s² 2p⁶",
|
|
141
|
-
state: "gas",
|
|
142
|
-
color: "#dbeafe",
|
|
143
|
-
},
|
|
144
|
-
|
|
145
|
-
// Period 3
|
|
146
|
-
{
|
|
147
|
-
atomicNumber: 11,
|
|
148
|
-
symbol: "Na",
|
|
149
|
-
name: "Sodium",
|
|
150
|
-
atomicMass: 22.99,
|
|
151
|
-
group: 1,
|
|
152
|
-
period: 3,
|
|
153
|
-
category: "alkali metal",
|
|
154
|
-
electronConfiguration: "[Ne] 3s¹",
|
|
155
|
-
state: "solid",
|
|
156
|
-
color: "#fecaca",
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
atomicNumber: 12,
|
|
160
|
-
symbol: "Mg",
|
|
161
|
-
name: "Magnesium",
|
|
162
|
-
atomicMass: 24.31,
|
|
163
|
-
group: 2,
|
|
164
|
-
period: 3,
|
|
165
|
-
category: "alkaline earth",
|
|
166
|
-
electronConfiguration: "[Ne] 3s²",
|
|
167
|
-
state: "solid",
|
|
168
|
-
color: "#fed7aa",
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
atomicNumber: 13,
|
|
172
|
-
symbol: "Al",
|
|
173
|
-
name: "Aluminum",
|
|
174
|
-
atomicMass: 26.98,
|
|
175
|
-
group: 13,
|
|
176
|
-
period: 3,
|
|
177
|
-
category: "metal",
|
|
178
|
-
electronConfiguration: "[Ne] 3s² 3p¹",
|
|
179
|
-
state: "solid",
|
|
180
|
-
color: "#e5e7eb",
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
atomicNumber: 14,
|
|
184
|
-
symbol: "Si",
|
|
185
|
-
name: "Silicon",
|
|
186
|
-
atomicMass: 28.09,
|
|
187
|
-
group: 14,
|
|
188
|
-
period: 3,
|
|
189
|
-
category: "metalloid",
|
|
190
|
-
electronConfiguration: "[Ne] 3s² 3p²",
|
|
191
|
-
state: "solid",
|
|
192
|
-
color: "#d1fae5",
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
atomicNumber: 15,
|
|
196
|
-
symbol: "P",
|
|
197
|
-
name: "Phosphorus",
|
|
198
|
-
atomicMass: 30.97,
|
|
199
|
-
group: 15,
|
|
200
|
-
period: 3,
|
|
201
|
-
category: "nonmetal",
|
|
202
|
-
electronConfiguration: "[Ne] 3s² 3p³",
|
|
203
|
-
state: "solid",
|
|
204
|
-
color: "#fef3c7",
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
atomicNumber: 16,
|
|
208
|
-
symbol: "S",
|
|
209
|
-
name: "Sulfur",
|
|
210
|
-
atomicMass: 32.07,
|
|
211
|
-
group: 16,
|
|
212
|
-
period: 3,
|
|
213
|
-
category: "nonmetal",
|
|
214
|
-
electronConfiguration: "[Ne] 3s² 3p⁴",
|
|
215
|
-
state: "solid",
|
|
216
|
-
color: "#fef3c7",
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
atomicNumber: 17,
|
|
220
|
-
symbol: "Cl",
|
|
221
|
-
name: "Chlorine",
|
|
222
|
-
atomicMass: 35.45,
|
|
223
|
-
group: 17,
|
|
224
|
-
period: 3,
|
|
225
|
-
category: "halogen",
|
|
226
|
-
electronConfiguration: "[Ne] 3s² 3p⁵",
|
|
227
|
-
state: "gas",
|
|
228
|
-
color: "#e9d5ff",
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
atomicNumber: 18,
|
|
232
|
-
symbol: "Ar",
|
|
233
|
-
name: "Argon",
|
|
234
|
-
atomicMass: 39.95,
|
|
235
|
-
group: 18,
|
|
236
|
-
period: 3,
|
|
237
|
-
category: "noble gas",
|
|
238
|
-
electronConfiguration: "[Ne] 3s² 3p⁶",
|
|
239
|
-
state: "gas",
|
|
240
|
-
color: "#dbeafe",
|
|
241
|
-
},
|
|
242
|
-
|
|
243
|
-
// Period 4 - Transition metals included
|
|
244
|
-
{
|
|
245
|
-
atomicNumber: 19,
|
|
246
|
-
symbol: "K",
|
|
247
|
-
name: "Potassium",
|
|
248
|
-
atomicMass: 39.1,
|
|
249
|
-
group: 1,
|
|
250
|
-
period: 4,
|
|
251
|
-
category: "alkali metal",
|
|
252
|
-
electronConfiguration: "[Ar] 4s¹",
|
|
253
|
-
state: "solid",
|
|
254
|
-
color: "#fecaca",
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
atomicNumber: 20,
|
|
258
|
-
symbol: "Ca",
|
|
259
|
-
name: "Calcium",
|
|
260
|
-
atomicMass: 40.08,
|
|
261
|
-
group: 2,
|
|
262
|
-
period: 4,
|
|
263
|
-
category: "alkaline earth",
|
|
264
|
-
electronConfiguration: "[Ar] 4s²",
|
|
265
|
-
state: "solid",
|
|
266
|
-
color: "#fed7aa",
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
atomicNumber: 21,
|
|
270
|
-
symbol: "Sc",
|
|
271
|
-
name: "Scandium",
|
|
272
|
-
atomicMass: 44.96,
|
|
273
|
-
group: 3,
|
|
274
|
-
period: 4,
|
|
275
|
-
category: "transition metal",
|
|
276
|
-
electronConfiguration: "[Ar] 3d¹ 4s²",
|
|
277
|
-
state: "solid",
|
|
278
|
-
color: "#fecdd3",
|
|
279
|
-
},
|
|
280
|
-
{
|
|
281
|
-
atomicNumber: 22,
|
|
282
|
-
symbol: "Ti",
|
|
283
|
-
name: "Titanium",
|
|
284
|
-
atomicMass: 47.87,
|
|
285
|
-
group: 4,
|
|
286
|
-
period: 4,
|
|
287
|
-
category: "transition metal",
|
|
288
|
-
electronConfiguration: "[Ar] 3d² 4s²",
|
|
289
|
-
state: "solid",
|
|
290
|
-
color: "#fecdd3",
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
atomicNumber: 23,
|
|
294
|
-
symbol: "V",
|
|
295
|
-
name: "Vanadium",
|
|
296
|
-
atomicMass: 50.94,
|
|
297
|
-
group: 5,
|
|
298
|
-
period: 4,
|
|
299
|
-
category: "transition metal",
|
|
300
|
-
electronConfiguration: "[Ar] 3d³ 4s²",
|
|
301
|
-
state: "solid",
|
|
302
|
-
color: "#fecdd3",
|
|
303
|
-
},
|
|
304
|
-
{
|
|
305
|
-
atomicNumber: 24,
|
|
306
|
-
symbol: "Cr",
|
|
307
|
-
name: "Chromium",
|
|
308
|
-
atomicMass: 52.0,
|
|
309
|
-
group: 6,
|
|
310
|
-
period: 4,
|
|
311
|
-
category: "transition metal",
|
|
312
|
-
electronConfiguration: "[Ar] 3d⁵ 4s¹",
|
|
313
|
-
state: "solid",
|
|
314
|
-
color: "#fecdd3",
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
atomicNumber: 25,
|
|
318
|
-
symbol: "Mn",
|
|
319
|
-
name: "Manganese",
|
|
320
|
-
atomicMass: 54.94,
|
|
321
|
-
group: 7,
|
|
322
|
-
period: 4,
|
|
323
|
-
category: "transition metal",
|
|
324
|
-
electronConfiguration: "[Ar] 3d⁵ 4s²",
|
|
325
|
-
state: "solid",
|
|
326
|
-
color: "#fecdd3",
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
atomicNumber: 26,
|
|
330
|
-
symbol: "Fe",
|
|
331
|
-
name: "Iron",
|
|
332
|
-
atomicMass: 55.85,
|
|
333
|
-
group: 8,
|
|
334
|
-
period: 4,
|
|
335
|
-
category: "transition metal",
|
|
336
|
-
electronConfiguration: "[Ar] 3d⁶ 4s²",
|
|
337
|
-
state: "solid",
|
|
338
|
-
color: "#fecdd3",
|
|
339
|
-
},
|
|
340
|
-
{
|
|
341
|
-
atomicNumber: 27,
|
|
342
|
-
symbol: "Co",
|
|
343
|
-
name: "Cobalt",
|
|
344
|
-
atomicMass: 58.93,
|
|
345
|
-
group: 9,
|
|
346
|
-
period: 4,
|
|
347
|
-
category: "transition metal",
|
|
348
|
-
electronConfiguration: "[Ar] 3d⁷ 4s²",
|
|
349
|
-
state: "solid",
|
|
350
|
-
color: "#fecdd3",
|
|
351
|
-
},
|
|
352
|
-
{
|
|
353
|
-
atomicNumber: 28,
|
|
354
|
-
symbol: "Ni",
|
|
355
|
-
name: "Nickel",
|
|
356
|
-
atomicMass: 58.69,
|
|
357
|
-
group: 10,
|
|
358
|
-
period: 4,
|
|
359
|
-
category: "transition metal",
|
|
360
|
-
electronConfiguration: "[Ar] 3d⁸ 4s²",
|
|
361
|
-
state: "solid",
|
|
362
|
-
color: "#fecdd3",
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
atomicNumber: 29,
|
|
366
|
-
symbol: "Cu",
|
|
367
|
-
name: "Copper",
|
|
368
|
-
atomicMass: 63.55,
|
|
369
|
-
group: 11,
|
|
370
|
-
period: 4,
|
|
371
|
-
category: "transition metal",
|
|
372
|
-
electronConfiguration: "[Ar] 3d¹⁰ 4s¹",
|
|
373
|
-
state: "solid",
|
|
374
|
-
color: "#fecdd3",
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
atomicNumber: 30,
|
|
378
|
-
symbol: "Zn",
|
|
379
|
-
name: "Zinc",
|
|
380
|
-
atomicMass: 65.38,
|
|
381
|
-
group: 12,
|
|
382
|
-
period: 4,
|
|
383
|
-
category: "transition metal",
|
|
384
|
-
electronConfiguration: "[Ar] 3d¹⁰ 4s²",
|
|
385
|
-
state: "solid",
|
|
386
|
-
color: "#fecdd3",
|
|
387
|
-
},
|
|
388
|
-
{
|
|
389
|
-
atomicNumber: 31,
|
|
390
|
-
symbol: "Ga",
|
|
391
|
-
name: "Gallium",
|
|
392
|
-
atomicMass: 69.72,
|
|
393
|
-
group: 13,
|
|
394
|
-
period: 4,
|
|
395
|
-
category: "metal",
|
|
396
|
-
electronConfiguration: "[Ar] 3d¹⁰ 4s² 4p¹",
|
|
397
|
-
state: "solid",
|
|
398
|
-
color: "#e5e7eb",
|
|
399
|
-
},
|
|
400
|
-
{
|
|
401
|
-
atomicNumber: 32,
|
|
402
|
-
symbol: "Ge",
|
|
403
|
-
name: "Germanium",
|
|
404
|
-
atomicMass: 72.63,
|
|
405
|
-
group: 14,
|
|
406
|
-
period: 4,
|
|
407
|
-
category: "metalloid",
|
|
408
|
-
electronConfiguration: "[Ar] 3d¹⁰ 4s² 4p²",
|
|
409
|
-
state: "solid",
|
|
410
|
-
color: "#d1fae5",
|
|
411
|
-
},
|
|
412
|
-
{
|
|
413
|
-
atomicNumber: 33,
|
|
414
|
-
symbol: "As",
|
|
415
|
-
name: "Arsenic",
|
|
416
|
-
atomicMass: 74.92,
|
|
417
|
-
group: 15,
|
|
418
|
-
period: 4,
|
|
419
|
-
category: "metalloid",
|
|
420
|
-
electronConfiguration: "[Ar] 3d¹⁰ 4s² 4p³",
|
|
421
|
-
state: "solid",
|
|
422
|
-
color: "#d1fae5",
|
|
423
|
-
},
|
|
424
|
-
{
|
|
425
|
-
atomicNumber: 34,
|
|
426
|
-
symbol: "Se",
|
|
427
|
-
name: "Selenium",
|
|
428
|
-
atomicMass: 78.97,
|
|
429
|
-
group: 16,
|
|
430
|
-
period: 4,
|
|
431
|
-
category: "nonmetal",
|
|
432
|
-
electronConfiguration: "[Ar] 3d¹⁰ 4s² 4p⁴",
|
|
433
|
-
state: "solid",
|
|
434
|
-
color: "#fef3c7",
|
|
435
|
-
},
|
|
436
|
-
{
|
|
437
|
-
atomicNumber: 35,
|
|
438
|
-
symbol: "Br",
|
|
439
|
-
name: "Bromine",
|
|
440
|
-
atomicMass: 79.9,
|
|
441
|
-
group: 17,
|
|
442
|
-
period: 4,
|
|
443
|
-
category: "halogen",
|
|
444
|
-
electronConfiguration: "[Ar] 3d¹⁰ 4s² 4p⁵",
|
|
445
|
-
state: "liquid",
|
|
446
|
-
color: "#e9d5ff",
|
|
447
|
-
},
|
|
448
|
-
{
|
|
449
|
-
atomicNumber: 36,
|
|
450
|
-
symbol: "Kr",
|
|
451
|
-
name: "Krypton",
|
|
452
|
-
atomicMass: 83.8,
|
|
453
|
-
group: 18,
|
|
454
|
-
period: 4,
|
|
455
|
-
category: "noble gas",
|
|
456
|
-
electronConfiguration: "[Ar] 3d¹⁰ 4s² 4p⁶",
|
|
457
|
-
state: "gas",
|
|
458
|
-
color: "#dbeafe",
|
|
459
|
-
},
|
|
460
|
-
|
|
461
|
-
// Period 5 - Key elements (simplified for brevity)
|
|
462
|
-
{
|
|
463
|
-
atomicNumber: 37,
|
|
464
|
-
symbol: "Rb",
|
|
465
|
-
name: "Rubidium",
|
|
466
|
-
atomicMass: 85.47,
|
|
467
|
-
group: 1,
|
|
468
|
-
period: 5,
|
|
469
|
-
category: "alkali metal",
|
|
470
|
-
electronConfiguration: "[Kr] 5s¹",
|
|
471
|
-
state: "solid",
|
|
472
|
-
color: "#fecaca",
|
|
473
|
-
},
|
|
474
|
-
{
|
|
475
|
-
atomicNumber: 38,
|
|
476
|
-
symbol: "Sr",
|
|
477
|
-
name: "Strontium",
|
|
478
|
-
atomicMass: 87.62,
|
|
479
|
-
group: 2,
|
|
480
|
-
period: 5,
|
|
481
|
-
category: "alkaline earth",
|
|
482
|
-
electronConfiguration: "[Kr] 5s²",
|
|
483
|
-
state: "solid",
|
|
484
|
-
color: "#fed7aa",
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
atomicNumber: 47,
|
|
488
|
-
symbol: "Ag",
|
|
489
|
-
name: "Silver",
|
|
490
|
-
atomicMass: 107.87,
|
|
491
|
-
group: 11,
|
|
492
|
-
period: 5,
|
|
493
|
-
category: "transition metal",
|
|
494
|
-
electronConfiguration: "[Kr] 4d¹⁰ 5s¹",
|
|
495
|
-
state: "solid",
|
|
496
|
-
color: "#fecdd3",
|
|
497
|
-
},
|
|
498
|
-
{
|
|
499
|
-
atomicNumber: 53,
|
|
500
|
-
symbol: "I",
|
|
501
|
-
name: "Iodine",
|
|
502
|
-
atomicMass: 126.9,
|
|
503
|
-
group: 17,
|
|
504
|
-
period: 5,
|
|
505
|
-
category: "halogen",
|
|
506
|
-
electronConfiguration: "[Kr] 4d¹⁰ 5s² 5p⁵",
|
|
507
|
-
state: "solid",
|
|
508
|
-
color: "#e9d5ff",
|
|
509
|
-
},
|
|
510
|
-
{
|
|
511
|
-
atomicNumber: 54,
|
|
512
|
-
symbol: "Xe",
|
|
513
|
-
name: "Xenon",
|
|
514
|
-
atomicMass: 131.29,
|
|
515
|
-
group: 18,
|
|
516
|
-
period: 5,
|
|
517
|
-
category: "noble gas",
|
|
518
|
-
electronConfiguration: "[Kr] 4d¹⁰ 5s² 5p⁶",
|
|
519
|
-
state: "gas",
|
|
520
|
-
color: "#dbeafe",
|
|
521
|
-
},
|
|
522
|
-
|
|
523
|
-
// Period 6 - Key elements
|
|
524
|
-
{
|
|
525
|
-
atomicNumber: 55,
|
|
526
|
-
symbol: "Cs",
|
|
527
|
-
name: "Cesium",
|
|
528
|
-
atomicMass: 132.91,
|
|
529
|
-
group: 1,
|
|
530
|
-
period: 6,
|
|
531
|
-
category: "alkali metal",
|
|
532
|
-
electronConfiguration: "[Xe] 6s¹",
|
|
533
|
-
state: "solid",
|
|
534
|
-
color: "#fecaca",
|
|
535
|
-
},
|
|
536
|
-
{
|
|
537
|
-
atomicNumber: 56,
|
|
538
|
-
symbol: "Ba",
|
|
539
|
-
name: "Barium",
|
|
540
|
-
atomicMass: 137.33,
|
|
541
|
-
group: 2,
|
|
542
|
-
period: 6,
|
|
543
|
-
category: "alkaline earth",
|
|
544
|
-
electronConfiguration: "[Xe] 6s²",
|
|
545
|
-
state: "solid",
|
|
546
|
-
color: "#fed7aa",
|
|
547
|
-
},
|
|
548
|
-
{
|
|
549
|
-
atomicNumber: 79,
|
|
550
|
-
symbol: "Au",
|
|
551
|
-
name: "Gold",
|
|
552
|
-
atomicMass: 196.97,
|
|
553
|
-
group: 11,
|
|
554
|
-
period: 6,
|
|
555
|
-
category: "transition metal",
|
|
556
|
-
electronConfiguration: "[Xe] 4f¹⁴ 5d¹⁰ 6s¹",
|
|
557
|
-
state: "solid",
|
|
558
|
-
color: "#fecdd3",
|
|
559
|
-
},
|
|
560
|
-
{
|
|
561
|
-
atomicNumber: 80,
|
|
562
|
-
symbol: "Hg",
|
|
563
|
-
name: "Mercury",
|
|
564
|
-
atomicMass: 200.59,
|
|
565
|
-
group: 12,
|
|
566
|
-
period: 6,
|
|
567
|
-
category: "transition metal",
|
|
568
|
-
electronConfiguration: "[Xe] 4f¹⁴ 5d¹⁰ 6s²",
|
|
569
|
-
state: "liquid",
|
|
570
|
-
color: "#fecdd3",
|
|
571
|
-
},
|
|
572
|
-
{
|
|
573
|
-
atomicNumber: 82,
|
|
574
|
-
symbol: "Pb",
|
|
575
|
-
name: "Lead",
|
|
576
|
-
atomicMass: 207.2,
|
|
577
|
-
group: 14,
|
|
578
|
-
period: 6,
|
|
579
|
-
category: "metal",
|
|
580
|
-
electronConfiguration: "[Xe] 4f¹⁴ 5d¹⁰ 6s² 6p²",
|
|
581
|
-
state: "solid",
|
|
582
|
-
color: "#e5e7eb",
|
|
583
|
-
},
|
|
584
|
-
{
|
|
585
|
-
atomicNumber: 86,
|
|
586
|
-
symbol: "Rn",
|
|
587
|
-
name: "Radon",
|
|
588
|
-
atomicMass: 222,
|
|
589
|
-
group: 18,
|
|
590
|
-
period: 6,
|
|
591
|
-
category: "noble gas",
|
|
592
|
-
electronConfiguration: "[Xe] 4f¹⁴ 5d¹⁰ 6s² 6p⁶",
|
|
593
|
-
state: "gas",
|
|
594
|
-
color: "#dbeafe",
|
|
595
|
-
},
|
|
596
|
-
|
|
597
|
-
// Period 7 - Key elements
|
|
598
|
-
{
|
|
599
|
-
atomicNumber: 87,
|
|
600
|
-
symbol: "Fr",
|
|
601
|
-
name: "Francium",
|
|
602
|
-
atomicMass: 223,
|
|
603
|
-
group: 1,
|
|
604
|
-
period: 7,
|
|
605
|
-
category: "alkali metal",
|
|
606
|
-
electronConfiguration: "[Rn] 7s¹",
|
|
607
|
-
state: "solid",
|
|
608
|
-
color: "#fecaca",
|
|
609
|
-
},
|
|
610
|
-
{
|
|
611
|
-
atomicNumber: 88,
|
|
612
|
-
symbol: "Ra",
|
|
613
|
-
name: "Radium",
|
|
614
|
-
atomicMass: 226,
|
|
615
|
-
group: 2,
|
|
616
|
-
period: 7,
|
|
617
|
-
category: "alkaline earth",
|
|
618
|
-
electronConfiguration: "[Rn] 7s²",
|
|
619
|
-
state: "solid",
|
|
620
|
-
color: "#fed7aa",
|
|
621
|
-
},
|
|
622
|
-
];
|
|
623
|
-
|
|
624
|
-
// Helper to get element by atomic number
|
|
625
|
-
export function getElementByNumber(atomicNumber: number): Element | undefined {
|
|
626
|
-
return elements.find((el) => el.atomicNumber === atomicNumber);
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
// Helper to get element by symbol
|
|
630
|
-
export function getElementBySymbol(symbol: string): Element | undefined {
|
|
631
|
-
return elements.find((el) => el.symbol === symbol);
|
|
632
|
-
}
|
package/index.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* pie-tool-periodic-table - PIE Assessment Tool
|
|
3
|
-
*
|
|
4
|
-
* This package exports a web component built from Svelte.
|
|
5
|
-
* Import the built version for CDN usage, or the .svelte source for Svelte projects.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
// Re-export any TypeScript types defined in the package
|