1. 03 Nov, 2020 12 commits
  2. 02 Nov, 2020 14 commits
  3. 01 Nov, 2020 9 commits
  4. 31 Oct, 2020 2 commits
    • Joe Haddad's avatar
      Deprecate Image `unsized` property and add `layout="fill"` (#18562) · 9569f5a3
      Joe Haddad authored
      This PR deprecates the `unsized` property from NextImage because the property did not accomplish the desired effect.
      
      Users should rely on one of the new layouts instead:
      
      - `<Image layout="fixed" />`
      - `<Image layout="intrinsic" />`
      - `<Image layout="responsive" />`
      - `<Image layout="fill" />`
      
      The `unsized` property will continue to work as-is in production but is deprecated and will throw in dev.
      
      ---
      
      ### TODO:
      - [x] test `layout=fill` in typescript types
      - [x] test `layout=fill` render behavior
      - [x] test that `unsized` switches to `layout=fill`
      - [x] test `next dev` erroring on `unsized`
      - [ ] layout docs (tracked in issue #18554)
      - [ ] both `layout=fill` and `layout=responsive` use all deviceWidths in the srcset
      
      ---
      
      Fixes #18541 
      Co-authored-by: 's avatarSteven <steven@ceriously.com>
      9569f5a3
    • Joe Haddad's avatar
      v10.0.1-canary.2 · 9de734a2
      Joe Haddad authored
      9de734a2
  5. 30 Oct, 2020 3 commits