Skip to content

Commit

Permalink
v0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
janosh committed Mar 16, 2023
1 parent a93fee4 commit 2fdbb07
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 44 deletions.
91 changes: 50 additions & 41 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,103 +2,112 @@

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

<!-- auto-changelog-above -->
#### [v0.1.1](https://github.com/janosh/elementari/compare/v0.1.0...v0.1.1)

#### [v0.1.4](https://github.com/janosh/periodic-table/compare/v0.1.3...v0.1.4)
> 15 March 2023
> 2023-01-08
- AVIF element images [`#18`](https://github.com/janosh/elementari/pull/18)
- add src/lib/ColorBar.svelte [`1bff50c`](https://github.com/janosh/elementari/commit/1bff50c440466be02d7e47581c1b3e3ad817cb16)
- record element image provider to static/img-sources.json in src/fetch-elem-images.ts [`c3a5a91`](https://github.com/janosh/elementari/commit/c3a5a91aa35144400ef127d01bbb2a2e87669a7c)
- replace PrevNextElement.svelte with PrevNext from svelte-zoo [`4773c24`](https://github.com/janosh/elementari/commit/4773c2465c18b00fca9be1d2a608a0faf80d6147)
- show tiles of reduced opacity representing all lanth-/actinides in grid col=3, row=6/7 [`be4f88a`](https://github.com/janosh/elementari/commit/be4f88a5932c1f4eb8de25adb2d4918bd52ad78d)
- fix DemoNav active route [`887e8ce`](https://github.com/janosh/elementari/commit/887e8ce4a81e43566d42303f38b933d86e4f968d)
- update svelte-package to v2 [`0e61a9d`](https://github.com/janosh/elementari/commit/0e61a9dce4332adb215df2b191b101f1b6f74135)
- add CmdPalette for keyboard-only site navigation [`8a82f55`](https://github.com/janosh/elementari/commit/8a82f55a6b05d31d831e0c3c5c49a6d7d7eb4d8c)

- add color-scale + element-tile demo page [`028e1b3`](https://github.com/janosh/periodic-table/commit/028e1b3b49db4c757e142f154d55676e8fb564a5)
#### v0.1.0

#### [v0.1.3](https://github.com/janosh/periodic-table/compare/v0.1.2...v0.1.3)
> 14 February 2023
> 2023-01-08
- pnpm add -D svelte-zoo mdsvexamples [`154b121`](https://github.com/janosh/periodic-table/commit/154b121eafa27b2c9fd856647bb11136a8f9dd29)
- pnpm add -D d3-color to set ElementTile text_color based on lightness of bg_color [`cc6c399`](https://github.com/janosh/periodic-table/commit/cc6c3995e05e1796ac3398f649d3c9ba8775f688)
- add tests 'clicking element tile emits event', 'gap prop' and 'setting active_category=%s highlights corresponding element tiles' [`a19ac38`](https://github.com/janosh/periodic-table/commit/a19ac383d776512907ed49824d00b9951a0100ca)

#### [v0.1.2](https://github.com/janosh/periodic-table/compare/v0.1.1...v0.1.2)

> 2023-01-04
- remove `EasterEgg.svelte` from landing page [`257d73a`](https://github.com/janosh/periodic-table/commit/257d73a2ede19e992274f4240b128a246bd3a684)
- `PeriodicTable` forward `click`, `mouseenter`, `mouseleave`, `keyup`, `keydown` events from `ElementTile` [`7450f71`](https://github.com/janosh/periodic-table/commit/7450f71fc3cb815412d7e4102c73179a196da834)
- add prop `gap = 0.3cqw` between element tiles, default is `0.3%` of container width [`c625fbc`](https://github.com/janosh/periodic-table/commit/c625fbc134c47519823efb644ef48093d08b56a4)

#### [v0.1.1](https://github.com/janosh/periodic-table/compare/v0.1.0...v0.1.1)

> 2023-01-03
- only wrap ElementTile in &lt;a&gt; if passed href prop, else &lt;div&gt; [`73a61be`](https://github.com/janosh/periodic-table/commit/73a61be112f4fe1554b9e4e78c2ff65fddb96e35)

#### 0.1.0

> 2023-01-03
- move d3-array, d3-interpolate-path, d3-shape, d3-scale, @iconify/svelte from package devDeps to deps [`0898f1e`](https://github.com/janosh/elementari/commit/0898f1e3c2012cc012d751ea48dde4429e7c1666)
- export active_element + active_category from PeriodicTable.svelte [`1ab602b`](https://github.com/janosh/elementari/commit/1ab602b26ceaf876a8683ba70d2a238dfc3652fc)
- move types into src/lib/index.ts [`5072c76`](https://github.com/janosh/elementari/commit/5072c76003b3942b1ebcb6f7aee473cf1381c3e7)
- add coverage badges to readme [`264e375`](https://github.com/janosh/elementari/commit/264e375614f0e4b84dc2d17c5d574c630478b1b2)
- revert #13 `src/lib/element-data.{yml -> ts}` [`b3d11f9`](https://github.com/janosh/elementari/commit/b3d11f9218dca5a3a6b48d5387f735065e222e45)
- add npm install cmd to readme [`278d17f`](https://github.com/janosh/elementari/commit/278d17f6323dc8051158c256446dc2872cade6ba)
- move non-package components to new src/site dir [`ddeef16`](https://github.com/janosh/elementari/commit/ddeef16a26ae44e4d3fa997f8fa6b76eaee284de)
- NPM Release [`#16`](https://github.com/janosh/elementari/pull/16)
- prepare NPM Release [`#16`](https://github.com/janosh/elementari/pull/16)
- Deploy site to GitHub Pages [`#15`](https://github.com/janosh/elementari/pull/15)
- add test 'hooking PeriodicTable up to PropertySelect and selecting heatmap sets element tile background' [`#14`](https://github.com/janosh/elementari/pull/14)
- convert `src/lib/element-data.{ts -> yml}` [`#13`](https://github.com/janosh/elementari/pull/13)
- Migrate to PNPM [`#12`](https://github.com/janosh/elementari/pull/12)
- Update scatter tooltip when hovering element tiles [`#9`](https://github.com/janosh/elementari/pull/9)
- SvelteKit auto migration [`#8`](https://github.com/janosh/elementari/pull/8)
- pre-commit autoupdate [`#5`](https://github.com/janosh/elementari/pull/5)
- [pre-commit.ci] pre-commit autoupdate [`#5`](https://github.com/janosh/elementari/pull/5)
- Add fill area below elemental periodicity line plot [`#4`](https://github.com/janosh/elementari/pull/4)
- add individual element detail pages (closes #1) [`#1`](https://github.com/janosh/elementari/issues/1)
- split ActiveElement.svelte into TableInset + ElementStats + ElementPhoto (closes #2, closes #3) [`#2`](https://github.com/janosh/elementari/issues/2) [`#3`](https://github.com/janosh/elementari/issues/3)
- revert #13 `src/lib/element-data.{yml -> ts}` [`b181839`](https://github.com/janosh/elementari/commit/b1818397184d72e8ee229165fba38a2cebc0ee59)
- initial commit [`feeae8f`](https://github.com/janosh/elementari/commit/feeae8f84678316b408a1bf4f3bfc269901a73b9)
- add src/lib/Nucleus.svelte along with demo src/routes/(demos)/nucleus/+page.svx [`b148e54`](https://github.com/janosh/elementari/commit/b148e54609da3e744da8f6a70c45783f85039fc5)
- spice up ElementStats and element detail pages with iconify icons [`4eace91`](https://github.com/janosh/elementari/commit/4eace919af8b49ec44b261892a3df5cc6cf3db2b)
- add color-scale + element-tile demo page [`664e8f5`](https://github.com/janosh/elementari/commit/664e8f5a89a353fa4c72fd8b16d9e091a63cbd56)
- add ability to plot predefined heat maps [`71459fa`](https://github.com/janosh/elementari/commit/71459fab6283acda6d11a552896d252aa4683fb0)
- rename package and repo to elementari [`1921efe`](https://github.com/janosh/elementari/commit/1921efe5f02c5eadcf0e62cecafd657f0b0b99b4)
- split ScatterPlot into data-agnostic ScatterPlot and ElementScatter [`ea7e57f`](https://github.com/janosh/elementari/commit/ea7e57f4af01da8db88384b196210fb7faedd358)
- add show icons toggle to Footer [`7649f90`](https://github.com/janosh/elementari/commit/7649f9074e41b2906224ddeb14015f59961d535a)
- add katex math rendering to markdown and mdsvex [`81ce9b3`](https://github.com/janosh/elementari/commit/81ce9b3c3925f19eaa7337dd8e8af804cb0ad286)
- rename package and repo to sveriodic-table [`7867167`](https://github.com/janosh/elementari/commit/7867167760baa84416890c0329c48175ee13a038)
- fix scatter point fill color, `mv {ChemicalElement->ElementTile}.svelte`, now controlled externally by PeriodicTable.svelte [`9d10109`](https://github.com/janosh/elementari/commit/9d10109ffec04d2b4c5a58fb37c9920fda6712aa)
- add PrevNextElement.svelte to element detail pages [`266fab3`](https://github.com/janosh/elementari/commit/266fab336c5e4f9abc46d611647435ae6181c03f)
- fix ColorCustomizer which had zero effect since adding heatmap functionality [`80dcfb0`](https://github.com/janosh/elementari/commit/80dcfb0d52d9acbdbaf69ea6b23b5fd57d8891c5)
- ptable color_scale prop now takes d3-scale-chromatic scale names or any function mapping [0,1] to color strings [`84060cd`](https://github.com/janosh/elementari/commit/84060cded5c05f3dd4c7007c1d0b78c28c020c90)
- show table of electron occupations per orbital in element detail page [`c3580c0`](https://github.com/janosh/elementari/commit/c3580c00030bad268b7701e500278ab0dfb0dc45)
- add __layout +__error pages [`ffe433e`](https://github.com/janosh/elementari/commit/ffe433ec30acc29acffe194afbf9e3d86ec1ddd1)
- show PeriodicTable on element detail pages [`b7d1313`](https://github.com/janosh/elementari/commit/b7d1313a3233e4fe2989906a583e8a5c1a808b8b)
- improve detail page layout [`b6cf71a`](https://github.com/janosh/elementari/commit/b6cf71af4c0418955253ca23ca1bd89db49942c3)
- fix oversights [`4f40e97`](https://github.com/janosh/elementari/commit/4f40e9738a470c61847a33c503f12cd271e58001)
- improve test coverage for periodic table in heatmap mode and Bohr atoms page [`343662b`](https://github.com/janosh/elementari/commit/343662b7a8dfd40b7dfc59f34c2a623e2d7367ee)
- move types into src/lib/index.ts [`b706882`](https://github.com/janosh/elementari/commit/b7068822b8b305de551393e379bdfa49ca31cf6f)
- pnpm add -D d3-color to set ElementTile text_color based on lightness of bg_color [`a0b82fd`](https://github.com/janosh/elementari/commit/a0b82fdc4bef6e794d4697939bcb9391d7f4dcc5)
- add color scale ramp slots to ColorScaleSelect to provide visual preview of color scale [`ebcb0a3`](https://github.com/janosh/elementari/commit/ebcb0a32456dcfbff0686c0a948780adb4c8f382)
- pnpm add -D svelte-zoo mdsvexamples [`1a76bae`](https://github.com/janosh/elementari/commit/1a76bae0eb8cf074ec17246460e95bc6815b9de9)
- keep scroll pos on element tile links [`2dbc382`](https://github.com/janosh/elementari/commit/2dbc38207ad4b1acbdb6b7dbc54df045e160179b)
- add basic E2E tests and run in CI on push & pull to main branch [`e031919`](https://github.com/janosh/elementari/commit/e03191935775c4853091220624773942835edfc3)
- add ScatterPlot into TableInset showing periodicity trends when heat map selected [`efd2ed6`](https://github.com/janosh/elementari/commit/efd2ed6f1705c2ae92d7dbcf18ad0b9a560a52c9)
- add EasterEgg.svelte [`c8959ba`](https://github.com/janosh/elementari/commit/c8959badde4b777f83f01dbf941c5a3086a1c5b7)
- delete 'boil' key in periodic-table-data.ts [`e8eb1cf`](https://github.com/janosh/elementari/commit/e8eb1cf846beced5c86990afffcefa7c2047dc7a)
- move ColorCustomizer from PeriodicTable to index.svelte and hide it when in heatmap mode [`688a0bd`](https://github.com/janosh/elementari/commit/688a0bd3650d89f8f92b76488c1bbc80da64881d)
- remove EasterEgg.svelte from landing page [`686c904`](https://github.com/janosh/elementari/commit/686c904f8046a7ae28ce325e5dee78b78d94a8ad)
- improve element tile and element stats inset screen width responsiveness [`7b2b762`](https://github.com/janosh/elementari/commit/7b2b7628d132a27bf3fcd8a581c7156b6695f016)
- only wrap ElementTile in `<a>` if passed href prop, else `<div>` [`d8643c8`](https://github.com/janosh/elementari/commit/d8643c8133f27b058b0992c019d134e4b27f96b8)
- add vitest unit tests [`fad1b3a`](https://github.com/janosh/elementari/commit/fad1b3a90176bdb5ffd45168adc81f943fd2dbb8)
- add contributing.md [`3033f6e`](https://github.com/janosh/elementari/commit/3033f6e6b30856f66adaee689ea5f6f432ffa644)
- add tests 'clicking element tile emits event', 'gap prop' and 'setting active_category=%s highlights corresponding element tiles' [`36e757d`](https://github.com/janosh/elementari/commit/36e757d29ee47a3db015c8de433b148ba5a23ccc)
- fix pretty_num() raising TypeError: Cannot read properties of null (reading 'toExponential') [`fa81d29`](https://github.com/janosh/elementari/commit/fa81d2977296d1a9159b5873e1079cb8f5138b77)
- use src/(routes|lib)/index.ts convenience imports internally [`35f7fbe`](https://github.com/janosh/elementari/commit/35f7fbe8e1019d0813f2fcd5cbf5f364b9174bdb)
- move heatmap + color_scale to svelte stores [`0bb686b`](https://github.com/janosh/elementari/commit/0bb686b05399d63829ec27d57ff7b95b1f7ef790)
- allow navigating periodic table and detail pages with arrow keys [`8ffef5b`](https://github.com/janosh/elementari/commit/8ffef5b4e02578b18eaf4d4eb2999a2d40b93508)
- reduce max-width landing page ptable, negative margins on bohr atom demo, replace Toggle with svelte-zoo's Toggle [`8e4c90a`](https://github.com/janosh/elementari/commit/8e4c90a58e05ece552bb662662df0cf8f15cc63f)
- PeriodicTable forward click, mouseenter, mouseleave, keyup, keydown events from ElementTile [`13db2fa`](https://github.com/janosh/elementari/commit/13db2fa6cd32637e5a468496a07ea45de622f728)
- add src/fetch-elem-images.ts to download element photos to static assets [`a2dff38`](https://github.com/janosh/elementari/commit/a2dff384e2642f9c4d0916dbc9178b19ed508744)
- fix Bohr electron orbital speed [`ff3af1a`](https://github.com/janosh/elementari/commit/ff3af1af12ef9d6c67fb673cd048028ea424317e)
- fix ScatterPlot label and grid offset [`942719b`](https://github.com/janosh/elementari/commit/942719b2e7f3f896406e909f93cc57a4eca9cc3a)
- declare module periodic-table-data.ts + clean up [`6b9f717`](https://github.com/janosh/elementari/commit/6b9f7178246a9aee0c02c6abe634811eb95f6650)
- add coverage badges to readme [`39da8c1`](https://github.com/janosh/elementari/commit/39da8c16000676a6381989a7dffd295cf727f6a6)
- add hover tooltip for scatter plot [`0745307`](https://github.com/janosh/elementari/commit/07453070fdd77862279adeede2fead33fd3372bf)
- add ElementTile unit tests `'show_${prop} toggles ${prop} visibility'` and 'applies class active when active=true' [`fd8c33f`](https://github.com/janosh/elementari/commit/fd8c33f8edc21d007a17fae8c22bd6f37c245eb6)
- add prop gap = `0.3cqw` between element tiles, default is 0.3% of container width [`aa6b503`](https://github.com/janosh/elementari/commit/aa6b503cca26e22d1aa5cb5305866f3add2ecff7)
- add npm install cmd to readme [`d8e15e9`](https://github.com/janosh/elementari/commit/d8e15e9cb7f0e648c5342672eceb5d88723d18b0)
- add src/lib/BohrAtom.svelte [`ccb8e02`](https://github.com/janosh/elementari/commit/ccb8e020704884c30c813cb1ef05ba1ec81cf589)
- fix scatter plot not showing on element detail pages without photo [`9501bbb`](https://github.com/janosh/elementari/commit/9501bbbfe2f24541e4a8db3ab7192702653744d7)
- ElementTile use text color also for active/hover border [`178c27e`](https://github.com/janosh/elementari/commit/178c27e375a37f0979ce51c31f84b6a5b4ec8625)
- add BohrAtom to [slug].svelte [`6b3a71d`](https://github.com/janosh/elementari/commit/6b3a71d1ad675252f1df926618a4186d0d9b0fc2)
- add src/lib/Toggle.svelte [`a80df20`](https://github.com/janosh/elementari/commit/a80df20d7007fb66f5fe1b4e04e2cd2e9ee4264c)
- add x and y axes to ScatterPlot.svelte [`f6f8325`](https://github.com/janosh/elementari/commit/f6f8325d1d9f76861df0c53ea832a3833762284c)
- add prop highlight_shell to BohrAtom.svelte [`5741f34`](https://github.com/janosh/elementari/commit/5741f348c12339e613a91aa035d5ca961d75f141)
- improve SEO meta tags on index and `[slug]` pages [`abb5152`](https://github.com/janosh/elementari/commit/abb515269ef6e0da5b2e8d7962b14da711242551)
- add src/lib/PropertySelect.svelte used by `index.svelte` and `[slug].svelte` [`2654347`](https://github.com/janosh/elementari/commit/2654347ebfe27ba9bac11e04dc8e3ad7c6371d53)
- improve SEO meta tags on index and [slug] pages [`abb5152`](https://github.com/janosh/elementari/commit/abb515269ef6e0da5b2e8d7962b14da711242551)
- add script src/update-site-screenshots.ts [`b70e8bd`](https://github.com/janosh/elementari/commit/b70e8bd1e8b3f5237e1186fe1ef13d0dc896b64b)
- add src/lib/PropertySelect.svelte used byindex.svelte and [slug].svelte [`2654347`](https://github.com/janosh/elementari/commit/2654347ebfe27ba9bac11e04dc8e3ad7c6371d53)
- incl logo in readme heading, update deps, fix error page offline warning [`415e788`](https://github.com/janosh/elementari/commit/415e788d62d2e770d961cedb6f8e2f82ae9c72e9)
- simplify svg coords in BohrAtom.svelte by placing origin in `<svg>` center [`3511ca4`](https://github.com/janosh/elementari/commit/3511ca445975f2f9654a4d02eba9c05cf1ca94f7)
- simplify svg coords in BohrAtom.svelte by placing origin in <svg> center [`3511ca4`](https://github.com/janosh/elementari/commit/3511ca445975f2f9654a4d02eba9c05cf1ca94f7)
- move d3-array, d3-interpolate-path, d3-shape, d3-scale, @iconify/svelte from package devDeps to deps [`f901471`](https://github.com/janosh/elementari/commit/f90147114cb46112222e2a8d89e22144e2081f90)
- add src/routes/bohr-atoms.svelte [`b77abe8`](https://github.com/janosh/elementari/commit/b77abe868e9c4fe62831c19380ffb5158b1a0f92)
- use new SvelteKit snapshot feature to restore color scale on browser back navigation [`edf121d`](https://github.com/janosh/elementari/commit/edf121debc2a02c455a46af134802e5ea96fa3d4)
- add element detail page screen recording to readme [`88a27be`](https://github.com/janosh/elementari/commit/88a27bebb8deda53ed75724622b1c3ab231a1c2b)
- add toggle to start/stop electrons orbiting nucleus [`fcd9022`](https://github.com/janosh/elementari/commit/fcd9022ceea8e8ed18a2a5633fd6a8fac41e2b87)
- fix density unit to g/liter for gases instead of g/cm^3 for solids/liquids [`a145443`](https://github.com/janosh/elementari/commit/a145443a69c3ab1e4c42902f440308f506df3ce3)
- export active_element + active_category from PeriodicTable.svelte [`56ce7e3`](https://github.com/janosh/elementari/commit/56ce7e38e6314dd1afab2422e0af137e30a618f4)
- move non-package components to new src/site dir [`14440ae`](https://github.com/janosh/elementari/commit/14440aea8d4d83cde00e6cc43d7cfe8e97c91f26)
- hide element names if `windowWidth < 1000` to prevent text overflow [`905d932`](https://github.com/janosh/elementari/commit/905d93221059708eb9e77b8cbbd4d8342c497140)
- drop year heatmap, add covalent_radius + first_ionization instead [`6b2953e`](https://github.com/janosh/elementari/commit/6b2953e049a340c830ef0a8e2b7a70595824f88c)
- keep increased brightness on last-active element [`b441c78`](https://github.com/janosh/elementari/commit/b441c78fef0f2015038b06716619a48af9fccda3)
- update index page screenshot [`853cd18`](https://github.com/janosh/elementari/commit/853cd181bc16fa61dc67062f265ed272cc3c2e86)
- tweak ColorCustomizer.svelte CSS [`cdcf92e`](https://github.com/janosh/elementari/commit/cdcf92e405a50417a416d18b534292a4bdd8dfa7)
- group demo routes [`89aae68`](https://github.com/janosh/elementari/commit/89aae68e0a0dd1ac31b34eaa01a0fe787be15685)
- add ScatterPlot axis labels [`65fdc41`](https://github.com/janosh/elementari/commit/65fdc41b36ee1aa0666a180f925fcd592451101f)
- change import to import type for purely type imports [`ac53e0e`](https://github.com/janosh/elementari/commit/ac53e0e1d172e69e506cb9de0a593ac9021b5d3f)
- display BohrAtom in PeriodicTable if window width permits [`c5aacdc`](https://github.com/janosh/elementari/commit/c5aacdc100e3aaf8e69eced79046ca5f400eefc0)
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"homepage": "https://janosh.github.io/elementari",
"repository": "https://github.com/janosh/elementari",
"license": "MIT",
"version": "0.1.0",
"version": "0.1.1",
"type": "module",
"svelte": "./dist/index.js",
"bugs": "https://github.com/janosh/elementari/issues",
Expand Down Expand Up @@ -65,8 +65,8 @@
"svelte-toc": "^0.5.3",
"svelte-zoo": "^0.4.3",
"svelte2tsx": "^0.6.10",
"typescript": "5.0.1-rc",
"vite": "^4.1.4",
"typescript": "5.0.2",
"vite": "^4.2.0",
"vitest": "^0.29.3"
},
"keywords": [
Expand Down

0 comments on commit 2fdbb07

Please sign in to comment.