The shared builder and stylesheet for every `@behivetech/icons.*` package: `createIcon`, the factory each icon package builds its component with, and the stylesheet that sizes them. It holds no glyphs; each one is its own package, `@behivetech/icons.<name>`, so an app loads only the icons it renders.
pnpm add @behivetech/icons.base
Published to npm.pkg.github.com
v0.4.0 · current
Changelog
v0.4.0
Minor Changes
8fe9fb4: Icons are one package each, and the base moves out of atoms: @behivetech/icons.base (renamed from @behivetech/atoms.icon, which is deprecated and gets no further release, so this continues its 0.3.8 as 0.4.0) holds createIcon (hidden from assistive technology unless named, titleAccess as a <title> with role="img", focusable="false", ref on the root svg, svg attributes that override the defaults), its types and the stylesheet (@behivetech/icons.base/styles.css). The glyph exports and the name-keyed Icon of atoms.icon are gone. Import a glyph from its package, import { CheckIcon } from "@behivetech/icons.check" (also the default export), or the name-keyed Icon from @behivetech/icons.all.