Socket
Socket
Sign inDemoInstall

@blueprintjs/core

Package Overview
Dependencies
8
Maintainers
1
Versions
294
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.26.0 to 1.27.0

7

dist/components/tabs2/tabs2.d.ts

@@ -26,2 +26,9 @@ /// <reference types="react" />

/**
* If set to `true`, the tabs will display with larger styling.
* This is equivalent to setting `pt-large` on the `.pt-tab-list` element.
* This will apply large styles only to the tabs at this level, not to nested tabs.
* @default false
*/
large?: boolean;
/**
* Whether inactive tab panels should be removed from the DOM and unmounted in React.

@@ -28,0 +35,0 @@ * This can be a performance enhancement when rendering many complex panels, but requires

8

dist/components/tabs2/tabs2.js

@@ -85,8 +85,11 @@ /*

var classes = classNames(Classes.TABS, (_b = {}, _b[Classes.VERTICAL] = this.props.vertical, _b), this.props.className);
var tabListClasses = classNames(Classes.TAB_LIST, (_c = {},
_c[Classes.LARGE] = this.props.large,
_c));
return (React.createElement("div", { className: classes },
React.createElement("div", { className: Classes.TAB_LIST, onKeyDown: this.handleKeyDown, onKeyPress: this.handleKeyPress, ref: this.refHandlers.tablist, role: "tablist" },
React.createElement("div", { className: tabListClasses, onKeyDown: this.handleKeyDown, onKeyPress: this.handleKeyPress, ref: this.refHandlers.tablist, role: "tablist" },
this.props.animate ? tabIndicator : undefined,
tabTitles),
tabPanels));
var _b;
var _b, _c;
};

@@ -172,2 +175,3 @@ Tabs2.prototype.componentDidMount = function () {

animate: true,
large: false,
renderActiveTabPanelOnly: false,

@@ -174,0 +178,0 @@ vertical: false,

{
"name": "@blueprintjs/core",
"version": "1.26.0",
"version": "1.27.0",
"description": "Core styles & components",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc