-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
67 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,67 @@ | ||
export { default as BohrAtom } from './BohrAtom.svelte' | ||
export { default as ColorCustomizer } from './ColorCustomizer.svelte' | ||
export { default as element_data } from './element-data.ts' | ||
export { default as element_data } from './element-data' | ||
export { default as ElementPhoto } from './ElementPhoto.svelte' | ||
export { default as ElementStats } from './ElementStats.svelte' | ||
export { default as ElementTile } from './ElementTile.svelte' | ||
export { default, default as PeriodicTable } from './PeriodicTable.svelte' | ||
export { default as ScatterPlot } from './ScatterPlot.svelte' | ||
export { default as TableInset } from './TableInset.svelte' | ||
export { default as Toggle } from './Toggle.svelte' | ||
export * as types from './types.ts' | ||
|
||
export type Category = | ||
| `diatomic nonmetal` | ||
| `noble gas` | ||
| `alkali metal` | ||
| `alkaline earth metal` | ||
| `metalloid` | ||
| `polyatomic nonmetal` | ||
| `transition metal` | ||
| `post-transition metal` | ||
| `lanthanide` | ||
| `actinide` | ||
|
||
export type ChemicalElement = { | ||
appearance: string | ||
atomic_mass: number | ||
atomic_radius: number | ||
boiling_point: number | null | ||
category: Category | ||
column: number // aka group, in range 1 - 18 | ||
covalent_radius: number | ||
density: number | ||
discoverer: string | ||
electron_affinity: number | ||
electron_configuration_semantic: string | ||
electron_configuration: string | ||
electronegativity_pauling: number | null | ||
electronegativity: number | null | ||
first_ionization: number | ||
ionization_energies: number[] | ||
jmol_color: string | ||
melting_point: number | null | ||
metal: boolean | null | ||
metalloid: boolean | null | ||
molar_heat: number | null | ||
n_electrons: number | ||
n_neutrons: number | ||
n_protons: number | ||
n_shells: number | ||
n_valence: number | ||
name: string | ||
natural: boolean | null | ||
nonmetal: boolean | null | ||
number_of_isotopes: number | ||
number: number | ||
phase: 'Gas' | 'Liquid' | 'Solid' | ||
radioactive: boolean | null | ||
row: number // != period for lanthanides and actinides | ||
shells: number[] | ||
specific_heat: number | ||
spectral_img: string | ||
summary: string | ||
symbol: string | ||
year: number | string | ||
} | ||
|
||
export type PlotPoint = [number, number, ChemicalElement] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters