Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gridstack

Package Overview
Dependencies
Maintainers
3
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gridstack - npm Package Compare versions

Comparing version 7.2.1 to 7.2.2

2

dist/angular/gridstack-item.component.ts
/**
* gridstack-item.component.ts 7.2.1
* gridstack-item.component.ts 7.2.2
* Copyright (c) 2022 Alain Dumesny - see GridStack root license

@@ -4,0 +4,0 @@ */

/**
* gridstack.component.ts 7.2.1
* gridstack.component.ts 7.2.2
* Copyright (c) 2022 Alain Dumesny - see GridStack root license

@@ -4,0 +4,0 @@ */

/**
* dd-base-impl.ts 7.2.1
* dd-base-impl.ts 7.2.2
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license

@@ -4,0 +4,0 @@ */

"use strict";
/**
* dd-base-impl.ts 7.2.1
* dd-base-impl.ts 7.2.2
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license

@@ -5,0 +5,0 @@ */

/**
* dd-draggable.ts 7.2.1
* dd-draggable.ts 7.2.2
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license

@@ -4,0 +4,0 @@ */

"use strict";
/**
* dd-draggable.ts 7.2.1
* dd-draggable.ts 7.2.2
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license

@@ -5,0 +5,0 @@ */

/**
* dd-droppable.ts 7.2.1
* dd-droppable.ts 7.2.2
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license

@@ -4,0 +4,0 @@ */

"use strict";
/**
* dd-droppable.ts 7.2.1
* dd-droppable.ts 7.2.2
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license

@@ -5,0 +5,0 @@ */

/**
* dd-elements.ts 7.2.1
* dd-elements.ts 7.2.2
* Copyright (c) 2021 Alain Dumesny - see GridStack root license

@@ -4,0 +4,0 @@ */

"use strict";
/**
* dd-elements.ts 7.2.1
* dd-elements.ts 7.2.2
* Copyright (c) 2021 Alain Dumesny - see GridStack root license

@@ -5,0 +5,0 @@ */

/**
* dd-gridstack.ts 7.2.1
* dd-gridstack.ts 7.2.2
* Copyright (c) 2021 Alain Dumesny - see GridStack root license

@@ -4,0 +4,0 @@ */

"use strict";
/**
* dd-gridstack.ts 7.2.1
* dd-gridstack.ts 7.2.2
* Copyright (c) 2021 Alain Dumesny - see GridStack root license

@@ -5,0 +5,0 @@ */

/**
* dd-manager.ts 7.2.1
* dd-manager.ts 7.2.2
* Copyright (c) 2021 Alain Dumesny - see GridStack root license

@@ -4,0 +4,0 @@ */

"use strict";
/**
* dd-manager.ts 7.2.1
* dd-manager.ts 7.2.2
* Copyright (c) 2021 Alain Dumesny - see GridStack root license

@@ -5,0 +5,0 @@ */

/**
* dd-resizable-handle.ts 7.2.1
* dd-resizable-handle.ts 7.2.2
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license

@@ -4,0 +4,0 @@ */

"use strict";
/**
* dd-resizable-handle.ts 7.2.1
* dd-resizable-handle.ts 7.2.2
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license

@@ -5,0 +5,0 @@ */

/**
* dd-resizable.ts 7.2.1
* dd-resizable.ts 7.2.2
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license

@@ -4,0 +4,0 @@ */

"use strict";
/**
* dd-resizable.ts 7.2.1
* dd-resizable.ts 7.2.2
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license

@@ -5,0 +5,0 @@ */

/**
* touch.ts 7.2.1
* touch.ts 7.2.2
* Copyright (c) 2021 Alain Dumesny - see GridStack root license

@@ -4,0 +4,0 @@ */

"use strict";
/**
* touch.ts 7.2.1
* touch.ts 7.2.2
* Copyright (c) 2021 Alain Dumesny - see GridStack root license

@@ -5,0 +5,0 @@ */

/**
* dd-base-impl.ts 7.2.1
* dd-base-impl.ts 7.2.2
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license

@@ -4,0 +4,0 @@ */

"use strict";
/**
* dd-base-impl.ts 7.2.1
* dd-base-impl.ts 7.2.2
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license

@@ -5,0 +5,0 @@ */

/**
* dd-draggable.ts 7.2.1
* dd-draggable.ts 7.2.2
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license

@@ -4,0 +4,0 @@ */

"use strict";
/**
* dd-draggable.ts 7.2.1
* dd-draggable.ts 7.2.2
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license

@@ -5,0 +5,0 @@ */

/**
* dd-droppable.ts 7.2.1
* dd-droppable.ts 7.2.2
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license

@@ -4,0 +4,0 @@ */

"use strict";
/**
* dd-droppable.ts 7.2.1
* dd-droppable.ts 7.2.2
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license

@@ -5,0 +5,0 @@ */

/**
* dd-elements.ts 7.2.1
* dd-elements.ts 7.2.2
* Copyright (c) 2021 Alain Dumesny - see GridStack root license

@@ -4,0 +4,0 @@ */

"use strict";
/**
* dd-elements.ts 7.2.1
* dd-elements.ts 7.2.2
* Copyright (c) 2021 Alain Dumesny - see GridStack root license

@@ -5,0 +5,0 @@ */

/**
* dd-gridstack.ts 7.2.1
* dd-gridstack.ts 7.2.2
* Copyright (c) 2021 Alain Dumesny - see GridStack root license

@@ -4,0 +4,0 @@ */

"use strict";
/**
* dd-gridstack.ts 7.2.1
* dd-gridstack.ts 7.2.2
* Copyright (c) 2021 Alain Dumesny - see GridStack root license

@@ -5,0 +5,0 @@ */

/**
* dd-manager.ts 7.2.1
* dd-manager.ts 7.2.2
* Copyright (c) 2021 Alain Dumesny - see GridStack root license

@@ -4,0 +4,0 @@ */

"use strict";
/**
* dd-manager.ts 7.2.1
* dd-manager.ts 7.2.2
* Copyright (c) 2021 Alain Dumesny - see GridStack root license

@@ -5,0 +5,0 @@ */

/**
* dd-resizable-handle.ts 7.2.1
* dd-resizable-handle.ts 7.2.2
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license

@@ -4,0 +4,0 @@ */

"use strict";
/**
* dd-resizable-handle.ts 7.2.1
* dd-resizable-handle.ts 7.2.2
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license

@@ -5,0 +5,0 @@ */

/**
* dd-resizable.ts 7.2.1
* dd-resizable.ts 7.2.2
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license

@@ -4,0 +4,0 @@ */

"use strict";
/**
* dd-resizable.ts 7.2.1
* dd-resizable.ts 7.2.2
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license

@@ -5,0 +5,0 @@ */

/**
* touch.ts 7.2.1
* touch.ts 7.2.2
* Copyright (c) 2021 Alain Dumesny - see GridStack root license

@@ -4,0 +4,0 @@ */

"use strict";
/**
* touch.ts 7.2.1
* touch.ts 7.2.2
* Copyright (c) 2021 Alain Dumesny - see GridStack root license

@@ -5,0 +5,0 @@ */

/*!
* GridStack 7.2.1
* GridStack 7.2.2
* https://gridstackjs.com/

@@ -4,0 +4,0 @@ *

/**
* gridstack-engine.ts 7.2.1
* gridstack-engine.ts 7.2.2
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license

@@ -4,0 +4,0 @@ */

"use strict";
/**
* gridstack-engine.ts 7.2.1
* gridstack-engine.ts 7.2.2
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license

@@ -5,0 +5,0 @@ */

/**
* gridstack-poly.ts 7.2.1 used for IE and older browser support (not supported in v2-v4.3.1, but again in v4.4)
* gridstack-poly.ts 7.2.2 used for IE and older browser support (not supported in v2-v4.3.1, but again in v4.4)
* Copyright (c) 2021 Alain Dumesny - see GridStack root license

@@ -4,0 +4,0 @@ */

/*!
* GridStack 7.2.1
* GridStack 7.2.2
* https://gridstackjs.com/

@@ -116,3 +116,3 @@ *

* Convert an existing gridItem element into a sub-grid with the given (optional) options, else inherit them
* from the parent subGrid options.
* from the parent's subGrid options.
* @param el gridItem element to convert

@@ -119,0 +119,0 @@ * @param ops (optional) sub-grid options, else default to node, then parent settings, else defaults

/**
* types.ts 7.2.1
* types.ts 7.2.2
* Copyright (c) 2021 Alain Dumesny - see GridStack root license

@@ -4,0 +4,0 @@ */

"use strict";
/**
* types.ts 7.2.1
* types.ts 7.2.2
* Copyright (c) 2021 Alain Dumesny - see GridStack root license

@@ -5,0 +5,0 @@ */

/**
* utils.ts 7.2.1
* utils.ts 7.2.2
* Copyright (c) 2021 Alain Dumesny - see GridStack root license

@@ -4,0 +4,0 @@ */

"use strict";
/**
* utils.ts 7.2.1
* utils.ts 7.2.2
* Copyright (c) 2021 Alain Dumesny - see GridStack root license

@@ -5,0 +5,0 @@ */

/*!
* GridStack 7.2.1
* GridStack 7.2.2
* https://gridstackjs.com/

@@ -4,0 +4,0 @@ *

/**
* gridstack-engine.ts 7.2.1
* gridstack-engine.ts 7.2.2
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license

@@ -4,0 +4,0 @@ */

"use strict";
/**
* gridstack-engine.ts 7.2.1
* gridstack-engine.ts 7.2.2
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license

@@ -5,0 +5,0 @@ */

/*!
* GridStack 7.2.1
* GridStack 7.2.2
* https://gridstackjs.com/

@@ -116,3 +116,3 @@ *

* Convert an existing gridItem element into a sub-grid with the given (optional) options, else inherit them
* from the parent subGrid options.
* from the parent's subGrid options.
* @param el gridItem element to convert

@@ -119,0 +119,0 @@ * @param ops (optional) sub-grid options, else default to node, then parent settings, else defaults

/**
* types.ts 7.2.1
* types.ts 7.2.2
* Copyright (c) 2021 Alain Dumesny - see GridStack root license

@@ -4,0 +4,0 @@ */

"use strict";
/**
* types.ts 7.2.1
* types.ts 7.2.2
* Copyright (c) 2021 Alain Dumesny - see GridStack root license

@@ -5,0 +5,0 @@ */

/**
* utils.ts 7.2.1
* utils.ts 7.2.2
* Copyright (c) 2021 Alain Dumesny - see GridStack root license

@@ -4,0 +4,0 @@ */

"use strict";
/**
* utils.ts 7.2.1
* utils.ts 7.2.2
* Copyright (c) 2021 Alain Dumesny - see GridStack root license

@@ -5,0 +5,0 @@ */

@@ -8,2 +8,3 @@ Change log

- [7.2.2 (2023-01-16)](#722-2023-01-16)
- [7.2.1 (2023-01-14)](#721-2023-01-14)

@@ -82,2 +83,7 @@ - [7.2.0 (2023-01-07)](#720-2023-01-07)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->
## 7.2.2 (2023-01-16)
* fix [#2171](https://github.com/gridstack/gridstack.js/issues/2171) `save()` nested grid has extra nested children & options
* regression for fix #2110: nested grids lost their styles causing wrong rendering when dragging to create sub nesting
## 7.2.1 (2023-01-14)

@@ -84,0 +90,0 @@ * fix [#2162](https://github.com/gridstack/gridstack.js/pull/2162) removing item from a grid (into another) will now call `change` if anything was also modified during the remove

@@ -9,2 +9,4 @@ gridstack.js API

- [Grid Options](#grid-options)
- [DDDragOpt](#dddragopt)
- [DDDragInOpt extends DDDragOpt](#dddraginopt-extends-dddragopt)
- [Grid attributes](#grid-attributes)

@@ -100,7 +102,7 @@ - [Item Options](#item-options)

* **Note**: if you have multiple grids, it's best to call `GridStack.setupDragIn()` with same params as it only need to be done once.
- `dragInOptions` - options for items that can be dragged into grids
- `dragInOptions` - options for items that can be dragged into grids - see `DDDragInOpt`
* example `dragInOptions: { appendTo: 'body', helper: 'clone', handle: '.grid-stack-item-content' }`
* **Note**: if you have multiple grids, it's best to call `GridStack.setupDragIn()` with same params as it only need to be done once.
* **Note2**: instead of 'clone' you can also pass your own function (get passed the event).
- `draggable` - allows to override draggable options. (default: `{handle: '.grid-stack-item-content', appendTo: 'body'}`)
- `draggable` - allows to override draggable options - see `DDDragOpt`. (default: `{handle: '.grid-stack-item-content', appendTo: 'body'}`)
- `dragOut` to let user drag nested grid items out of a parent or not (default false) See [example](http://gridstackjs.com/demo/nested.html)

@@ -133,2 +135,10 @@ - `engineClass` - the type of engine to create (so you can subclass) default to GridStackEngine

### DDDragOpt
- `handle`?: string - class selector of items that can be dragged. default to '.grid-stack-item-content'
- `appendTo`?: string - default to 'body' (TODO: is this even used anymore ?)
- `pause`?: boolean | number - if set (true | msec), dragging placement (collision) will only happen after a pause by the user. Note: this is Global
### DDDragInOpt extends DDDragOpt
- `helper`?: string | ((event: Event) => HTMLElement) - helper function when dropping (ex: 'clone' or your own method)
## Grid attributes

@@ -135,0 +145,0 @@

{
"name": "gridstack",
"version": "7.2.1",
"version": "7.2.2",
"description": "TypeScript/JS lib for dashboard layout and creation, responsive, mobile support, no external dependencies, with many wrappers (React, Angular, Vue, Ember, knockout...)",

@@ -5,0 +5,0 @@ "main": "./dist/gridstack.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc