Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

elementari

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elementari - npm Package Versions

2

0.2.3

Diff

Changelog

Source

v0.2.3

15 January 2024

  • Add props and control sliders for ambient and directional lighting to Structure #45
  • Add SymmetryCard.svelte #42
  • add /molecule demo page with initial examples water, methane, benzene 71ce70b
  • fix find_image_atoms() for non-cuboid lattices 9138582
  • add lib/structure/bonding.ts with max_dist and nearest_neighbor bonding strategies f707cf2
  • add lib/math.ts 58cf060
  • Structure add fullscreen button + improve default initial camera_position bda2e5f
  • fix black text color on transparent ElementTiles 3ace071
  • add src/emmet_pydantic_to_ts.py to auto-convert emmet pydantic models to typescript types e4bcc92
  • add /api page to inspect AWS Open Data schema 83bc866
  • add similar structures and robocrys sections to mp-[slug] page d4dce4b
  • extract (demos)/periodic-table/+page.svelte from landing page, change landing +page.svelte to +page.md cd32144
  • fix duplicate bonds in max_dist and nearest_neighbor functions 14027e3
  • StructureScene add prop fov: number | undefined = undefined 770ffbf
  • rename prop site_labels -> show_site_labels, default to true + fix site site_labels rendering ff0336a
  • add largest MP structure mp-1204603 to demo 1b0bc6d
  • bump threlte to v6 official release 45e3dc2
  • periodic-table.test.ts don't iterate over full table, do random subset for speed be68b6a
  • fetch_zipped() only console.error, not raise if !response.ok f46cee0
janosh
published 0.2.2 •

janosh
published 0.2.1 •

janosh
published 0.2.0 •

Changelog

Source

v0.2.0

8 July 2023

  • Add Lattice.svelte #41
  • Show cylinder between active and hovered sites #40
  • Fix structure controls for atom_radius, same_size_atoms #38
  • Add Bond component #37
  • Split /src/lib into submodules #36
  • Add materials detail pages #35
  • Highlight active and hovered sites in Structure #34
  • Structure tooltips when hovering atoms #33
  • get started with testing Structure.svelte and structure.ts #32
  • Structure hide buttons on desktop until hover #31
  • Structure grid example #30
  • Structure allow selecting from different element color schemes + override individual elements #29
  • add function find_image_atoms() used in StructureScene to draw images of atoms 3098d6c
  • Structure add prop show_image_atoms, expand MaterialCard to show more attrs, mp-[slug] pages sync material ID with url f43dd31
  • add Structure control bond_color + make all Structure CSS into variables a79ff00
  • make initial camera_position responsive to crystal size 5b1e82a
  • use InstancedMesh from @threlte/extras for more efficient drawing of crystal sites 142effb
  • add API explorer page (under /api) 2a7c60e
  • display distance between active and hovered site in hover tooltip 9e1af46
  • add props c586225
  • drop valid Pymatgen structures as JSON files on Structure.svelte to display them 7127b18
  • PeriodicTable add prop color_overrides 1042bf2
  • add copy buttons to all code blocks 7f3fb5c
  • fix landing page layout broken in last commit 6f675dd
janosh
published 0.1.8 •

Changelog

Source

v0.2.0

8 July 2023

  • Add Lattice.svelte #41
  • Show cylinder between active and hovered sites #40
  • Fix structure controls for atom_radius, same_size_atoms #38
  • Add Bond component #37
  • Split /src/lib into submodules #36
  • Add materials detail pages #35
  • Highlight active and hovered sites in Structure #34
  • Structure tooltips when hovering atoms #33
  • get started with testing Structure.svelte and structure.ts #32
  • Structure hide buttons on desktop until hover #31
  • Structure grid example #30
  • Structure allow selecting from different element color schemes + override individual elements #29
  • add function find_image_atoms() used in StructureScene to draw images of atoms 3098d6c
  • Structure add prop show_image_atoms, expand MaterialCard to show more attrs, mp-[slug] pages sync material ID with url f43dd31
  • add Structure control bond_color + make all Structure CSS into variables a79ff00
  • make initial camera_position responsive to crystal size 5b1e82a
  • use InstancedMesh from @threlte/extras for more efficient drawing of crystal sites 142effb
  • add API explorer page (under /api) 2a7c60e
  • display distance between active and hovered site in hover tooltip 9e1af46
  • add props c586225
  • drop valid Pymatgen structures as JSON files on Structure.svelte to display them 7127b18
  • PeriodicTable add prop color_overrides 1042bf2
  • add copy buttons to all code blocks 7f3fb5c
  • fix landing page layout broken in last commit 6f675dd
janosh
published 0.1.7 •

Changelog

Source

v0.1.7

3 May 2023

  • Initial support for rendering interactive 3d structures #28
  • Rename ColorBar props #27
  • handle structure=undefined in Structure and StructureCard component 3aa160b
  • add Structure props zoom_speed, pan_speed b2484ed
  • add option to show cell as surface, wireframe or not at all, add range slider for cell opacity 072d57a
  • add Structure props show_vectors, vector_colors, vector_origin a3f4468
  • fix ElementTile dispatch event payload name dom_event f557b07
  • Structure add bindable props width, height 3921f9d
  • rename Structure->PymatgenStructure 2009670
janosh
published 0.1.6 •

Changelog

Source

v0.1.6

8 April 2023

  • DRY workflows and ColorBar snap tick labels to nice values #22
  • Add unit tests for ColorBar.svelte #21
  • add prop precision: number = 2 to ElementTile 9847290
  • add ElementStats.test.ts ccc98bf
  • add precision prop to ColorBar b9bc392
janosh
published 0.1.5 •

janosh
published 0.1.4 •

Changelog

Source

v0.1.4

19 March 2023

  • Add prop color_scale_range to PeriodicTable #20
  • Add tick labels to ColorBar #19
  • add test 'element tiles are accessible to keyboard users' 314876a
  • add prop text_color to ElementTile 79b1eb4
  • fix error msg on bad color scale names c1d0f2a

v0.1.2 and v0.1.3 were faulty and have been unpublished.

janosh
published 0.1.1 •

Changelog

Source

v0.1.1

16 March 2023

  • AVIF element images #18
  • add src/lib/ColorBar.svelte 1bff50c
  • record element image provider to static/img-sources.json in src/fetch-elem-images.ts c3a5a91
  • replace PrevNextElement.svelte with PrevNext from svelte-zoo 4773c24
  • show tiles of reduced opacity representing all lanth-/actinides in grid col=3, row=6/7 be4f88a
  • fix DemoNav active route 887e8ce
  • update svelte-package to v2 0e61a9d
  • add CmdPalette for keyboard-only site navigation 8a82f55
2
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc