github maizzle/framework v6.0.0-rc.15

pre-release6 hours ago

New features

maizzle prepare

Added a postinstall script that generates d.ts type definitions in .maizzle, so your editor knows about all the composables, components and their options even before you start the dev server.

Updated

<Row>

You now get a console warning when using a <Row> component without any <Column> components inside it. Row outputs <table><tr> for Outlook, so not adding Columns (which, for Outlook, are output as <td>s) inside it will break rendering in that client.

<Outlook>

Updated types for Outlook editions (years), your IDE will now suggest them when you type <Outlook gte=" for example.

Also, added open and close props to the <Outlook> component, so you can now wrap content that you pass it in whatever you want:

<Outlook 
  open="<table><tr><td>" 
  close="</td></tr></table>"
>
  Wrap in table, show only in Outlook.
</Outlook>

Result:

<!--[if mso]>
  <table>
    <tr><td>Wrap in table, show only in Outlook.</td></tr>
  </table>
<![endif]-->

<Layout>

Added double-head prop. Set it to true to have <Layout> use the double head hack for Yahoo! Mail on Android, as the <Head> component does.

Full commits list:

  • feat: warn when using row without columns ee2372a
  • feat: add prepare script 3bea159
  • chore: update dependencies c4c1d8d
  • refactor: outlook component 77d0a4d
  • chore: fix lint warnings 5fd6e27
  • test: add tests for Layout component 0a47152
  • feat: add double head hack to Layout component 395fe46

v6.0.0-rc.14...v6.0.0-rc.15

Don't miss a new framework release

NewReleases is sending notifications on new releases.