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

@tcn/ui-layout

Package Overview
Dependencies
Maintainers
0
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tcn/ui-layout - npm Package Compare versions

Comparing version 0.3.12 to 0.3.15

dist/accordion/accordion.js

2

dist/grid.d.ts
import React from 'react';
import { VirtualizedGridProps } from './virtualized_grid/virtualized_grid.js';
import { VirtualizedGridProps } from "./virtualized_grid/virtualized_grid.js";
export interface GridProps extends Omit<VirtualizedGridProps<unknown>, 'presenter' | 'renderItem' | 'children'> {

@@ -4,0 +4,0 @@ children: React.ReactElement | React.ReactElement[];

import React from 'react';
import { VirtualizedListProps } from './virtualized_list/virtualized_list.js';
import { VirtualizedListProps } from "./virtualized_list/virtualized_list.js";
export interface ListProps extends Omit<VirtualizedListProps<unknown>, 'presenter' | 'renderItem' | 'children'> {

@@ -4,0 +4,0 @@ children: React.ReactElement | React.ReactElement[];

import React, { HTMLAttributes } from 'react';
import { Alignment } from '../stacks/alignment.js';
import { Alignment } from "./alignment.js";
export interface HStackProps extends HTMLAttributes<HTMLElement> {

@@ -4,0 +4,0 @@ as?: string;

import React from 'react';
import { StyleBoxProps } from '../stacks/style_box.js';
import { StyleBoxProps } from "./style_box.js";
export interface SquareProps extends StyleBoxProps {

@@ -4,0 +4,0 @@ color?: string;

import React, { HTMLAttributes } from 'react';
import { Alignment } from '../stacks/alignment.js';
import { Alignment } from "./alignment.js";
export interface VStackProps extends HTMLAttributes<HTMLElement> {

@@ -4,0 +4,0 @@ as?: string;

import React, { HTMLAttributes } from 'react';
import { Alignment } from '../stacks/alignment.js';
import { Alignment } from "./alignment.js";
export interface ZStackProps extends HTMLAttributes<HTMLElement> {

@@ -4,0 +4,0 @@ as?: string;

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

import type { GridItem } from '../virtualized_grid/grid_item.js';
import type { GridItem } from "./grid_item.js";
export declare class GridColumn {

@@ -3,0 +3,0 @@ private _items;

import React from 'react';
import { GridItem } from "./grid_item.js";
import { VirtualizedGridPresenter } from './virtualized_grid_presenter.js';
import { GridItem } from '../virtualized_grid/grid_item.js';
export interface GridItemProps {

@@ -5,0 +5,0 @@ item: GridItem<unknown>;

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

import { GridItem } from '../virtualized_grid/grid_item.js';
import { GridItem } from "./grid_item.js";
export declare class ItemFactory<T> {

@@ -3,0 +3,0 @@ availableInstances: GridItem<T>[];

import { IBroadcast } from '@tcn/state';
import { GridColumn } from '../virtualized_grid/grid_column.js';
import { GridItem } from '../virtualized_grid/grid_item.js';
import { GridColumn } from "./grid_column.js";
import { GridItem } from "./grid_item.js";
interface ViewportRect {

@@ -5,0 +5,0 @@ top: number;

import React, { HTMLAttributes } from 'react';
import { GridItem } from "./grid_item.js";
import { VirtualizedGridAlignment, VirtualizedGridPresenter } from './virtualized_grid_presenter.js';
import { GridItem } from '../virtualized_grid/grid_item.js';
export interface VirtualizedGridProps<T> extends HTMLAttributes<HTMLElement> {

@@ -5,0 +5,0 @@ renderItem: (item: GridItem<T>, index: number) => React.ReactElement;

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

import { VirtualizedGridPresenter, VirtualizedGridPresenterOptions } from '../virtualized_grid/virtualized_grid_presenter.js';
import { VirtualizedGridPresenter, VirtualizedGridPresenterOptions } from "../virtualized_grid/virtualized_grid_presenter.js";
export interface VirtualizedListPresenterOptions<T> extends Omit<VirtualizedGridPresenterOptions<T>, 'minColumnAmount' | 'maxColumnAmount' | 'minColumnWidth' | 'maxColumnWidth'> {

@@ -3,0 +3,0 @@ maxWidth?: number;

import React from 'react';
import { VirtualizedGridProps } from '../virtualized_grid/virtualized_grid.js';
import { VirtualizedGridProps } from "../virtualized_grid/virtualized_grid.js";
export type VirtualizedListProps<T> = VirtualizedGridProps<T>;
export declare const VirtualizedList: <T>(props: VirtualizedListProps<T> & React.RefAttributes<HTMLElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
{
"name": "@tcn/ui-layout",
"version": "0.3.12",
"version": "0.3.15",
"type": "module",
"description": "TCN layout components.",
"description": "TCN Layout.",
"files": [

@@ -10,12 +10,4 @@ "dist/**/*"

"main": "dist/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/tcncloud/blackcatui-layout.git"
},
"author": "TCN",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/tcncloud/blackcatui-layout/issues"
},
"homepage": "https://github.com/tcncloud/blackcatui-layout#readme",
"peerDependencies": {

@@ -26,16 +18,20 @@ "react": "^18.2.0",

"scripts": {
"check-all": "concurrently 'yarn check-types' 'yarn check-format' 'yarn check-lint'",
"check-types": "tsc --project ./tsconfig.types.json --noEmit && tsc-alias -p tsconfig.types.json",
"check-format": "prettier --check --config .prettierrc.json --ignore-path .prettierignore $INIT_CWD'/**/*.+(js|jsx|ts|tsx|css|md)'",
"check-lint": "eslint --config .eslintrc.cjs --ignore-path .eslintignore .",
"build": "vite build && yarn build-types",
"build-types": "tsc --project ./tsconfig.types.json --emitDeclarationOnly&& tsc-alias -p tsconfig.types.json",
"test": "node --experimental-vm-modules --expose-gc node_modules/.bin/jest --config=jest.coverage.config.cjs --coverage",
"check-all": "concurrently 'yarn check-types' 'biome check .'",
"check-types": "tspc --project ./tsconfig.types.json --noEmit",
"check-format": "biome format .",
"check-lint": "biome lint .",
"fix-all": "biome check --write",
"fix-format": "biome format --write",
"fix-lint": "biome lint --write",
"fix-imports": "biome check --formatter-enabled=false --linter-enabled=false --organize-imports-enabled=true --write",
"build": "tspc && copyfiles -u 1 'src/**/*.css' dist/",
"build-types": "tspc --project ./tsconfig.types.json --emitDeclarationOnly",
"test": "vitest run",
"test-coverage": "vitest run --coverage",
"storybook": "storybook dev -p 6006",
"format": "prettier --write .prettierrc.json --ignore-path .prettierignore $INIT_CWD'/**/*.+(js|jsx|ts|tsx|css|md)'",
"build-storybook": "storybook build"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@chromatic-com/storybook": "^1.2.25",
"@storybook/addon-docs": "^8.3.2",
"@storybook/addon-essentials": "^8.0.4",

@@ -50,26 +46,10 @@ "@storybook/addon-interactions": "^8.0.4",

"@storybook/testing-library": "^0.2.2",
"@testing-library/react": "^14.2.2",
"@types/jest": "^29.5.12",
"@types/copyfiles": "^2",
"@types/node": "^20.11.30",
"@types/react": "^18.2.70",
"@types/react-dom": "^18.2.22",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"@vitejs/plugin-react": "^4.2.1",
"add": "^2.0.6",
"classnames": "^2.5.1",
"concurrently": "^8.2.2",
"confusing-browser-globals": "^1.0.11",
"eslint": "^8.57.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-storybook": "^0.8.0",
"is-ci": "^3.0.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.2.5",
"copyfiles": "^2.4.1",
"react": "^18.2.0",

@@ -79,14 +59,13 @@ "react-dom": "^18.2.0",

"storybook": "^8.0.4",
"ts-jest": "^29.1.2",
"ts-jest-resolver": "^2.0.1",
"tsc": "^2.0.4",
"tsc-alias": "^1.8.8",
"ts-patch": "^3.2.1",
"typescript": "5.4.3",
"typescript-transform-paths": "^3.5.1",
"vite": "^5.2.6",
"vite-plugin-css-injected-by-js": "^3.5.0"
"vite-css-modules": "^1.5.2",
"vitest": "^2.1.4"
},
"dependencies": {
"@tcn/state": "^0.0.1-master.20241022155101.0",
"@tcn/ui-core": "^0.0.3"
"@tcn/state": "^0.0.3",
"@tcn/ui-core": "^0.4.1"
}
}

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

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