Skip to content

Latest commit

 

History

History
97 lines (65 loc) · 3.48 KB

CHANGELOG.md

File metadata and controls

97 lines (65 loc) · 3.48 KB

Changelog

4.0.0 (2023-03-08)

Features

  • update to ember 4.8.0

  • BREAKING: update to ember-auto-import v2

3.2.0 (2023-02-06)

Features

  • update to gridstack v7

3.1.1 (2022-05-25)

Bug Fixes

  • don't trigger events due to teardown (#98) (7743acf)

3.1.0 (2021-12-22)

Bug Fixes

  • grid-stack: allow custom class attribute (f00309e)

Features

  • update ember-modifier render-modifiers deps (7a1c6b4)

3.0.2 (2021-10-21)

Bug Fixes

  • embroider-safe and embroider-optimized builds (#88) (26e77a8)

3.0.1 (2021-10-19)

Bug Fixes

3.0.0 (2021-10-19)

✨ Huge shoutout to @adumesny for his work on gridstack ✨

  • BREAKING: Update to glimmer components and latest gridstack (#82)

    Some changes include

    • width -> w, height -> h
    • Manually specifying attributes via data-gs- -> updated to gs-

    For more detailed changes head over to gridstack and read their migration guides for v2, v3, and v4

    If you want to keep roughly the same display as before use these options

    <GridStack
      @options={{hash
        disableOneColumnMode=true
        animate=false
        marginTop=0
        marginBottom=20
        cellHeight="80px"
      }}
    >

    If your GridStackItems are no longer handling resizes, you may need to manually pass the event like this

    <GridStack @onResizestop={{this.doItemResize}}>
    
    export default class MyComponent extends Component<Args> {
      @action
      doItemResize(event: Event, gridStackItem: HTMLElement) {
        gridStackItem.dispatchEvent(new Event(event.type));
      }
    }
    
  • FEATURE: Some new options for GridStack events and GridStackItem options

    Some changes include

    • animation
    • native html5 implementation
    • better drag in/out and collision handling
  • DOCS: Updated readme examples to use updated hbs syntax