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

gridstack

Package Overview
Dependencies
Maintainers
3
Versions
112
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 9.2.0 to 9.2.1

2

angular/projects/lib/package.json
{
"name": "gridstack-angular",
"version": "9.2.0",
"version": "9.2.1",
"peerDependencies": {

@@ -5,0 +5,0 @@ "@angular/common": "^14.2.0",

/**
* gridstack-item.component.ts 9.2.0
* gridstack-item.component.ts 9.2.1
* Copyright (c) 2022 Alain Dumesny - see GridStack root license

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

/**
* gridstack-item.component.ts 9.2.0
* gridstack-item.component.ts 9.2.1
* Copyright (c) 2022 Alain Dumesny - see GridStack root license

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

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

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

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

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

/**
* gridstack-item.component.ts 9.2.0
* gridstack-item.component.ts 9.2.1
* Copyright (c) 2022 Alain Dumesny - see GridStack root license

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

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

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

{
"name": "gridstack-angular",
"version": "9.2.0",
"version": "9.2.1",
"peerDependencies": {

@@ -5,0 +5,0 @@ "@angular/common": "^14.2.0",

/**
* gridstack-item.component.ts 9.2.0
* gridstack-item.component.ts 9.2.1
* Copyright (c) 2022 Alain Dumesny - see GridStack root license

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

/**
* gridstack-item.component.ts 9.2.0
* gridstack-item.component.ts 9.2.1
* Copyright (c) 2022 Alain Dumesny - see GridStack root license

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/*!
* GridStack 9.2.0
* GridStack 9.2.1
* https://gridstackjs.com/

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

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

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

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

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

/**
* gridstack-poly.ts 9.2.0 used for IE and older browser support (not supported in v2-v4.3.1, but again in v4.4)
* gridstack-poly.ts 9.2.1 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 9.2.0
* GridStack 9.2.1
* https://gridstackjs.com/

@@ -330,3 +330,3 @@ *

resizeToContent(el: GridItemHTMLElement, useAttrSize?: boolean): void;
/** call the user resize (so we can do extra work) else our build in version */
/** call the user resize (so they can do extra work) else our build in version */
protected resizeToContentCheck(el: GridItemHTMLElement, useAttr?: boolean): void;

@@ -333,0 +333,0 @@ /**

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

@@ -38,3 +38,3 @@ */

export type SaveFcn = (node: GridStackNode, w: GridStackWidget) => void;
export type ResizeToContentFcn = (els: GridItemHTMLElement) => void;
export type ResizeToContentFcn = (el: GridItemHTMLElement, useAttr?: boolean) => void;
/**

@@ -41,0 +41,0 @@ * Defines the options for a Grid

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

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

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

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

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

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

/*!
* GridStack 9.2.0
* GridStack 9.2.1
* https://gridstackjs.com/

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

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

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

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

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

/*!
* GridStack 9.2.0
* GridStack 9.2.1
* https://gridstackjs.com/

@@ -330,3 +330,3 @@ *

resizeToContent(el: GridItemHTMLElement, useAttrSize?: boolean): void;
/** call the user resize (so we can do extra work) else our build in version */
/** call the user resize (so they can do extra work) else our build in version */
protected resizeToContentCheck(el: GridItemHTMLElement, useAttr?: boolean): void;

@@ -333,0 +333,0 @@ /**

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

@@ -38,3 +38,3 @@ */

export type SaveFcn = (node: GridStackNode, w: GridStackWidget) => void;
export type ResizeToContentFcn = (els: GridItemHTMLElement) => void;
export type ResizeToContentFcn = (el: GridItemHTMLElement, useAttr?: boolean) => void;
/**

@@ -41,0 +41,0 @@ * Defines the options for a Grid

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

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

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

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

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

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

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

- [9.2.1 (2023-09-20)](#921-2023-09-20)
- [9.2.0 (2023-09-10)](#920-2023-09-10)

@@ -102,2 +103,5 @@ - [9.1.1 (2023-09-06)](#911-2023-09-06)

## 9.2.1 (2023-09-20)
* fix _updateContainerHeight() to use height rather than min-height again (apart for nested grids which need it) and partial getComputedStyle CSS minHeight support
## 9.2.0 (2023-09-10)

@@ -104,0 +108,0 @@ * feat: nested grids now support `sizeToContent` to size themselves to how many sub items they contain - Thank you [@Helix](https://gridstackjs.slack.com/team/U05QT7G8H7T) for sponsoring this!

@@ -60,2 +60,3 @@ gridstack.js API

- [`resizable(el, val)`](#resizableel-val)
- [`resizeToContent(el: GridItemHTMLElement, useAttrSize = false)`](#resizetocontentel-griditemhtmlelement-useattrsize--false)
- [`save(saveContent = true, saveGridOpt = false): GridStackWidget[] | GridStackOptions`](#savesavecontent--true-savegridopt--false-gridstackwidget--gridstackoptions)

@@ -567,2 +568,8 @@ - [`setAnimation(doAnimate)`](#setanimationdoanimate)

### `resizeToContent(el: GridItemHTMLElement, useAttrSize = false)`
Updates widget height to match the content height to avoid v-scrollbar or dead space.
Note: this assumes only 1 child under `resizeToContentParent='.grid-stack-item-content'` (sized to gridItem minus padding) that is at the entire content size wanted.
- `useAttrSize` set to `true` if GridStackNode.h should be used instead of actual container height when we don't need to wait for animation to finish to get actual DOM heights
### `save(saveContent = true, saveGridOpt = false): GridStackWidget[] | GridStackOptions`

@@ -569,0 +576,0 @@

{
"name": "gridstack",
"version": "9.2.0",
"version": "9.2.1",
"license": "MIT",

@@ -5,0 +5,0 @@ "author": "Alain Dumesny <alaind831+github@gmail.com> (https://github.com/adumesny)",

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 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