New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@loadsmart/loadsmart-ui

Package Overview
Dependencies
Maintainers
20
Versions
273
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loadsmart/loadsmart-ui - npm Package Compare versions

Comparing version 0.24.0 to 0.25.0

dist/components/Tabs/Tabs.types.d.ts

33

dist/components/Tabs/Tabs.d.ts
import { HTMLAttributes, ReactNode } from 'react';
declare type NavProps = HTMLAttributes<HTMLUListElement>;
declare function Nav({ children, ...props }: NavProps): JSX.Element;
interface NavItemProps extends HTMLAttributes<HTMLInputElement> {
import type { WithDirectionProps } from './Tabs.types';
declare type TabsItemsProps = HTMLAttributes<HTMLUListElement>;
declare function TabsItems({ children, ...props }: TabsItemsProps): JSX.Element;
interface TabsItemProps extends HTMLAttributes<HTMLInputElement> {
name: string;

@@ -9,16 +10,18 @@ default?: boolean;

}
declare function NavItem({ children, name, default: isDefault, className, onChange, leading, ...props }: NavItemProps): JSX.Element;
declare type PanelsProps = HTMLAttributes<HTMLDivElement>;
interface PanelItemProps extends HTMLAttributes<HTMLElement> {
declare function TabsItem({ children, name, default: isDefault, className, onChange, leading, ...props }: TabsItemProps): JSX.Element;
declare type PanelsItemsProps = HTMLAttributes<HTMLDivElement>;
declare function PanelsItems({ children, ...props }: PanelsItemsProps): JSX.Element;
interface PanelsItemProps extends HTMLAttributes<HTMLElement> {
name: string;
}
declare function PanelItem({ children, name, ...props }: PanelItemProps): JSX.Element;
export declare type TabsProps = HTMLAttributes<HTMLElement>;
declare function Tab({ children, ...props }: TabsProps): JSX.Element;
declare namespace Tab {
var Items: typeof Nav;
var Item: typeof NavItem;
var Panels: ({ children, ...props }: PanelsProps) => JSX.Element;
var Panel: typeof PanelItem;
declare function PanelsItem({ children, name, ...props }: PanelsItemProps): JSX.Element;
export interface TabsProps extends HTMLAttributes<HTMLElement>, WithDirectionProps {
}
export default Tab;
declare function Tabs({ children, direction, ...props }: TabsProps): JSX.Element;
declare namespace Tabs {
var Items: typeof TabsItems;
var Item: typeof TabsItem;
var Panels: typeof PanelsItems;
var Panel: typeof PanelsItem;
}
export default Tabs;

@@ -6,4 +6,5 @@ /// <reference types="react" />

setActiveTab: (name: string) => void;
direction?: 'horizontal' | 'vertical';
}
export declare const TabContext: import("react").Context<TabContextValue>;
export {};
{
"name": "@loadsmart/loadsmart-ui",
"version": "0.24.0",
"version": "0.25.0",
"description": "Loadsmart UI",

@@ -5,0 +5,0 @@ "main": "dist",

@@ -7,4 +7,5 @@ import { createContext } from 'react'

setActiveTab: (name: string) => void
direction?: 'horizontal' | 'vertical'
}
export const TabContext = createContext<TabContextValue>({} as TabContextValue)

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