Socket
Socket
Sign inDemoInstall

@chakra-ui/tabs

Package Overview
Dependencies
Maintainers
4
Versions
460
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chakra-ui/tabs - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

19

CHANGELOG.md
# Change Log
## 1.2.0
### Minor Changes
- [`f032942c8`](https://github.com/chakra-ui/chakra-ui/commit/f032942c8a2568a3a23baee0d5972834345e5fa6)
[#3447](https://github.com/chakra-ui/chakra-ui/pull/3447) Thanks
[@dodas](https://github.com/dodas)! - `TabPanels` component can now be styled
from `Tabs` component theme, specifying the `tabpanels` part.
### Patch Changes
- Updated dependencies
[[`83ae62905`](https://github.com/chakra-ui/chakra-ui/commit/83ae62905935fdb3104380d6fd845159b00095fa),
[`87cc23e14`](https://github.com/chakra-ui/chakra-ui/commit/87cc23e14814e02cbbfc9737c2356cef682ddd5d)]:
- @chakra-ui/hooks@1.1.5
- @chakra-ui/utils@1.3.0
- @chakra-ui/descendant@1.0.8
- @chakra-ui/clickable@1.0.5
## 1.1.1

@@ -4,0 +23,0 @@

4

dist/cjs/tabs.js

@@ -146,6 +146,8 @@ "use strict";

var panelsProps = (0, _useTabs2.useTabPanels)(props);
var styles = (0, _system.useStyles)();
return /*#__PURE__*/React.createElement(_system.chakra.div, _extends({}, panelsProps, {
width: "100%",
ref: ref,
className: (0, _utils.cx)("chakra-tabs__tab-panels", props.className)
className: (0, _utils.cx)("chakra-tabs__tab-panels", props.className),
__css: styles.tabpanels
}));

@@ -152,0 +154,0 @@ });

@@ -132,6 +132,8 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

var panelsProps = useTabPanels(props);
var styles = useStyles();
return /*#__PURE__*/React.createElement(chakra.div, _extends({}, panelsProps, {
width: "100%",
ref: ref,
className: cx("chakra-tabs__tab-panels", props.className)
className: cx("chakra-tabs__tab-panels", props.className),
__css: styles.tabpanels
}));

@@ -138,0 +140,0 @@ });

{
"name": "@chakra-ui/tabs",
"version": "1.1.1",
"version": "1.2.0",
"description": "Accessible Tabs component for React and Chakra UI",

@@ -64,9 +64,9 @@ "keywords": [

"dependencies": {
"@chakra-ui/clickable": "1.0.4",
"@chakra-ui/descendant": "1.0.7",
"@chakra-ui/hooks": "1.1.4",
"@chakra-ui/utils": "1.2.0"
"@chakra-ui/clickable": "1.0.5",
"@chakra-ui/descendant": "1.0.8",
"@chakra-ui/hooks": "1.1.5",
"@chakra-ui/utils": "1.3.0"
},
"devDependencies": {
"@chakra-ui/system": "1.3.0",
"@chakra-ui/system": "1.4.0",
"react": "^17.0.1"

@@ -73,0 +73,0 @@ },

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