0.1.1 • Published 3 years ago

@brewermap/glassware v0.1.1

Weekly downloads
1
License
MIT
Repository
-
Last release
3 years ago

Brewer Map Glassware

Component for render a SVG with the pint form and SRM color provided.

NOTE: This is a WIP project, more glassware will be added

Setup

import { GlasswareModule } from '@brewermap/glassware';
 
@NgModule({
  imports: [
    CommonModule,
    GlasswareModule
  ]
})

Usage

<bm-glassware
    type="pilsner"
    label="Pilsner Urquell"
    [srm]="5">
</bm-glassware>

Glassware Types

  • pint
  • weizen
  • thistle
  • teku
  • tallmug
  • stout
  • stange
  • snifter
  • pilsner
  • nonic
  • mug
  • ipa
  • goblet
  • boot
  • yard
  • tulip
  • tulippint
  • stein (NOTE: ignores srm)

Inputs

NameTypeDescription
srmnumberNumber between 1 and 50 (from 0 to 12.5 values with .5 are also accepted). Aditional 65 and 80 are available
labelstringOptional label at the bottom of the glass
typestringAny of the types available

Outputs

N/A

Roadmap

Upcomming glassware:

  • flute
  • footedpilsner
  • willbecher
  • oversizewine
  • tumbler
  • dimpledmug
  • oktoberfest
  • tankard (tallmug?)
  • chalice (goblet?)
  • pokal (pilsner?)

This library was generated with Angular CLI version 10.0.2.

0.1.0

3 years ago

0.1.1

3 years ago

0.0.5

4 years ago