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

@tanstack/svelte-table

Package Overview
Dependencies
Maintainers
2
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tanstack/svelte-table - npm Package Compare versions

Comparing version 9.0.0-alpha.4 to 9.0.0-alpha.5

12

dist/render-component.d.ts

@@ -1,2 +0,2 @@

import type { SvelteComponent, ComponentType, ComponentProps } from 'svelte';
import type { Component, ComponentProps } from 'svelte';
/**

@@ -11,6 +11,6 @@ * A helper class to make it easy to identify Svelte components in `columnDef.cell` and `columnDef.header` properties.

* */
export declare class RenderComponentConfig<TComponent extends SvelteComponent> {
component: ComponentType<TComponent>;
props: ComponentProps<TComponent> | Record<string, never>;
constructor(component: ComponentType<TComponent>, props?: ComponentProps<TComponent> | Record<string, never>);
export declare class RenderComponentConfig<TComponent extends Component<any>> {
component: TComponent;
props: ComponentProps<TComponent>;
constructor(component: TComponent, props: ComponentProps<TComponent>);
}

@@ -36,2 +36,2 @@ /**

*/
export declare const renderComponent: <TComponent extends SvelteComponent<any, any, any>>(component: ComponentType<TComponent>, props: ComponentProps<TComponent>) => RenderComponentConfig<TComponent>;
export declare const renderComponent: <TComponent extends Component<any, {}, string>>(component: TComponent, props: ComponentProps<TComponent>) => RenderComponentConfig<TComponent>;

@@ -11,3 +11,3 @@ /**

export class RenderComponentConfig {
constructor(component, props = {}) {
constructor(component, props) {
this.component = component;

@@ -14,0 +14,0 @@ this.props = props;

{
"name": "@tanstack/svelte-table",
"version": "9.0.0-alpha.4",
"version": "9.0.0-alpha.5",
"description": "Headless UI for building powerful tables & datagrids for Svelte.",

@@ -46,6 +46,6 @@ "author": "Tanner Linsley",

"devDependencies": {
"@sveltejs/package": "^2.3.1",
"@sveltejs/package": "^2.3.2",
"@sveltejs/vite-plugin-svelte": "^4.0.0-next",
"svelte": "^5.0.0-next",
"svelte-check": "^3.7.0"
"svelte-check": "^3.8.0"
},

@@ -52,0 +52,0 @@ "peerDependencies": {

@@ -1,2 +0,2 @@

import type { SvelteComponent, ComponentType, ComponentProps } from 'svelte'
import type { Component, ComponentProps } from 'svelte'

@@ -12,6 +12,6 @@ /**

* */
export class RenderComponentConfig<TComponent extends SvelteComponent> {
export class RenderComponentConfig<TComponent extends Component<any>> {
constructor(
public component: ComponentType<TComponent>,
public props: ComponentProps<TComponent> | Record<string, never> = {}
public component: TComponent,
public props: ComponentProps<TComponent>
) {}

@@ -39,5 +39,5 @@ }

*/
export const renderComponent = <TComponent extends SvelteComponent>(
component: ComponentType<TComponent>,
export const renderComponent = <TComponent extends Component<any>>(
component: TComponent,
props: ComponentProps<TComponent>
) => new RenderComponentConfig(component, props)
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