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

gridley

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gridley - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

package.json

@@ -11,3 +11,3 @@ {

"typings": "dist/index.d.ts",
"version": "0.1.1",
"version": "0.1.2",
"scripts": {

@@ -14,0 +14,0 @@ "start": "vite",

@@ -17,3 +17,3 @@ # Gridley

For an usable example of the screenshots above, try [the sandbox example](https://codesandbox.io/s/o4fnxr?module=/example.tsx) as well as the source in [demo/demo.tsx](demo/demo.tsx)
For an usable example of the screenshots above, try [the sandbox example](https://codesandbox.io/s/ihjq23?module=/example.tsx) as well as the source in [demo/demo.tsx](demo/demo.tsx)

@@ -28,2 +28,3 @@ ## Gridley Components

* **caption** content to insert at the top of the grid.
* **rowAttributes** function | HTMLAttributes<div> A list of attributes to be added to each row as its rendered. If a function is specified, it will be passed the row and current layout and should return HTMLAttributes

@@ -30,0 +31,0 @@ #### Columns

@@ -7,2 +7,3 @@ import * as React from 'react'

GridContextState,
GridContextProps,
GridContextStoreState,

@@ -9,0 +10,0 @@ Layouts,

@@ -47,4 +47,4 @@ import * as React from 'react'

rowAttributes?:
| HTMLAttributes<div>
| ((rowData: any, layout: LayoutSpec) => HTMLAttributes<div>)
| React.HTMLAttributes<HTMLDivElement>
| ((rowData: any, layout: LayoutSpec) => React.HTMLAttributes<HTMLDivElement>)
}

@@ -54,3 +54,3 @@ export type Layouts = Record<string, LayoutSpec>

export interface GridContextStoreState {
props: GridContextProps
props: any // work around some attributes values being typed as "readonly string" which immer doesn't like
layouts: Layouts

@@ -57,0 +57,0 @@ renderers: Renderers

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