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

brahma-ui

Package Overview
Dependencies
Maintainers
1
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brahma-ui - npm Package Compare versions

Comparing version 1.0.53 to 1.0.54

1

lib/components/Navbar/Navbar.d.ts

@@ -6,2 +6,3 @@ /// <reference types="react" />

onItemClick?: (href: string) => void;
hideOnMobile?: boolean;
};

@@ -8,0 +9,0 @@ export declare type NavbarProps = {

4

lib/components/Navbar/styles.d.ts

@@ -12,5 +12,7 @@ declare type LinksWrapperProps = {

export declare const LinksWrapper: import("styled-components").StyledComponent<"div", any, LinksWrapperProps, never>;
export declare const Link: import("styled-components").StyledComponent<"div", any, {}, never>;
export declare const Link: import("styled-components").StyledComponent<"div", any, {
hideOnMobile?: boolean | undefined;
}, never>;
export declare const ButtonWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
export declare const MobileIconWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
export {};

@@ -70,2 +70,3 @@ /// <reference types="react" />

onItemClick?: (href: string) => void;
hideOnMobile?: boolean;
};

@@ -72,0 +73,0 @@ declare type NavbarProps = {

{
"name": "brahma-ui",
"version": "1.0.53",
"version": "1.0.54",
"description": "Brahma ui package contained shared components",

@@ -5,0 +5,0 @@ "scripts": {

@@ -113,4 +113,4 @@ import styled, { css } from 'styled-components'

export const Link = styled.div`
${({ theme }) => css`
export const Link = styled.div<{ hideOnMobile?: boolean }>`
${({ theme, hideOnMobile = false }) => css`
padding: 0 2rem;

@@ -131,2 +131,3 @@ cursor: pointer;

font-size: ${theme.font.sizes.medium};
${hideOnMobile && 'display: none'};
`}

@@ -133,0 +134,0 @@ `}

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

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

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