{"push_id":3146001258,"size":3,"distinct_size":3,"ref":"refs/heads/feat/make-typography-themable-1307","head":"5956ba58c576720f3a0c5942a00c2ab4c0c58840","before":"46f7cbc1500dd90de930e205f977894d4804de65","commits":[{"sha":"8d4e5d81121d2adeef73a159f14ae4f3249bcc75","author":{"name":"Rae Bonfanti","email":"d067e8ec950f6e6d0c52f7df7ea460ce9e1ad10c@carbonfive.com"},"message":"BREAKING (theming): rm old Typography code\n\n* rm typography.scss in favor of stylesheet function for updated styles\n* rm Body, Bold, Caption, Disabled, H1, H2, H3, Sub1, Sub2, and Text\nhelper components\n* clean out old tests related to the old API\n* updates snapshots\n* rm classnames package\n* rm old available prop value exports from Typography package\n* rm style attribue from package.json\n* updates gemini screenshots\n\nTypography 0.1.4 to 1.0.0 Migration\n\nThis update contains significant breaking changes to the Typography API.\nMost notably, the helper Typography components `Bold`, `Body`,\n`Caption`, `Disabled`, `H1`, `H2`, `H3`, `Sub1`, `Sub2`, or `Text` no\nlonger exist. You can achieve the same behavior with...\n\n* `<Bold text=\"hi\" />`\n  ->\n  `<Typography fontWeight=\"bold\">hi</Typography>`\n\n* `<Body text=\"hi\" />`\n   ->\n  `<Typography>hi</Typography>` or\n  `<Typography variant=\"body\">hi</Typography>`\n\n* `<Caption text=\"hi\" />`\n  ->\n  `<Typography variant=\"caption\">hi</Typography>`\n\n* `<Disabled text=\"hi\" />`\n  ->\n  `<Typography disabled={true}>hi</Typography>`\n\n* `<H1 text=\"hi\" />`\n  ->\n  `<Typography variant=\"h1\">hi</Typography>`\n\n* `<H2 text=\"hi\" />`\n  ->\n  `<Typography variant=\"h2\">hi</Typography>`\n\n* `<H3 text=\"hi\" />`\n  ->\n  `<Typography variant=\"h3\">hi</Typography>`\n\n* `<Text text=\"hi\"/>`\n  ->\n  `<Typography>hi</Typography>` or\n  `<Typography variant=\"body\">hi</Typography>`\n\n`<Sub1 />` and `<Sub2 />` can be achieved by using the style prop with\nany styles needed. For instance to get the old `<Sub1 />` look, use...\n```\nconst style = { color: '#222934', fontSize: '14px', lineHeight: '20px',\n  display: 'block', fontWeight: '700' }\n<Typography style={style} />\n```\n\nIn addition removing these components, we no longer explicitly support\n* `bold` - use `variant=\"bold\"`\n* `color` - use `style={{color: \"blue\"}}`\n* `disabled` - you can still use this with a boolean  as you were\n  before, we just no longer specifically declare it as a prop\n* `opacity` - use `style={{opacity: \"1\"}}`\n* `size` - use `style={{fontSize: \"14px\"}}`\n* `type` - use `variant`\n* `text` - this is replaced by `children`, which you provide to the\n  component by wrapping, e.g. `<Typography/>hi</Typography>` and not <Typography children=\"hi\"/>","distinct":true,"url":"https://api.github.com/repos/Autodesk/hig/commits/8d4e5d81121d2adeef73a159f14ae4f3249bcc75"},{"sha":"be99139ccde9ea5dcbf02eea660128e71b3c5a03","author":{"name":"Rae Bonfanti","email":"d067e8ec950f6e6d0c52f7df7ea460ce9e1ad10c@carbonfive.com"},"message":"feat (theming): export avail Typograpy prop values\n\nExport AVAILABLE_ALIGNMENTS, AVAILABLE_FONT_WEIGHTS, AVAILABLE_VARIANTS\nso that other packages can access them.","distinct":true,"url":"https://api.github.com/repos/Autodesk/hig/commits/be99139ccde9ea5dcbf02eea660128e71b3c5a03"},{"sha":"5956ba58c576720f3a0c5942a00c2ab4c0c58840","author":{"name":"Rae Bonfanti","email":"d067e8ec950f6e6d0c52f7df7ea460ce9e1ad10c@carbonfive.com"},"message":"feat: allow Typography to accept arbitrary props","distinct":true,"url":"https://api.github.com/repos/Autodesk/hig/commits/5956ba58c576720f3a0c5942a00c2ab4c0c58840"}]}
{"actor":{"display_login":"raebot"}}