Socket
Socket
Sign inDemoInstall

@titelmedia/xtras-tabs

Package Overview
Dependencies
87
Maintainers
15
Versions
51
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.43 to 1.9.0

200

CHANGELOG.md

@@ -6,10 +6,10 @@ # Change Log

## [1.0.43](https://github.com/titel-media/bricks-lerna/compare/v1.0.42...v1.0.43) (2022-05-03)
# [1.9.0](https://github.com/titel-media/bricks-lerna/compare/v1.8.8...v1.9.0) (2023-03-09)
**Note:** Version bump only for package @titelmedia/xtras-tabs
## [1.0.43](https://github.com/titel-media/bricks-lerna/compare/v1.0.42...v1.0.43) (2022-05-03)
**Note:** Version bump only for package @titelmedia/xtras-tabs
## [1.0.40](https://github.com/titel-media/bricks-lerna/compare/v1.0.39...v1.0.40) (2022-05-03)

@@ -19,6 +19,2 @@

## [1.0.27](https://github.com/titel-media/bricks-lerna/compare/v1.0.26...v1.0.27) (2022-04-26)

@@ -28,6 +24,2 @@

## [1.0.18](https://github.com/titel-media/bricks-lerna/compare/v1.0.17...v1.0.18) (2022-04-20)

@@ -37,6 +29,2 @@

## [1.0.16](https://github.com/titel-media/bricks-lerna/compare/v1.0.15...v1.0.16) (2022-04-14)

@@ -46,6 +34,2 @@

## [1.0.15](https://github.com/titel-media/bricks-lerna/compare/v1.0.14...v1.0.15) (2022-04-14)

@@ -55,6 +39,2 @@

## [1.0.14](https://github.com/titel-media/bricks-lerna/compare/v1.0.13...v1.0.14) (2022-04-14)

@@ -64,6 +44,2 @@

## [1.0.13](https://github.com/titel-media/bricks-lerna/compare/v1.0.12...v1.0.13) (2022-04-13)

@@ -73,6 +49,2 @@

# [1.0.0](https://github.com/titel-media/bricks-lerna/compare/v0.4.111...v1.0.0) (2022-03-30)

@@ -82,17 +54,8 @@

## [0.4.110](https://github.com/titel-media/bricks-lerna/compare/v0.4.109...v0.4.110) (2022-03-24)
### Bug Fixes
* WARNING - Fixed the version of styled-components to 5.3.3, because 5.3.4 was breaking the installation ([b2f7bf6](https://github.com/titel-media/bricks-lerna/commit/b2f7bf6082707c414d76d3ce7a727fbfa8e4d0fb))
- WARNING - Fixed the version of styled-components to 5.3.3, because 5.3.4 was breaking the installation ([b2f7bf6](https://github.com/titel-media/bricks-lerna/commit/b2f7bf6082707c414d76d3ce7a727fbfa8e4d0fb))
## [0.4.82](https://github.com/titel-media/bricks-lerna/compare/v0.4.81...v0.4.82) (2022-03-10)

@@ -102,6 +65,2 @@

## [0.4.72](https://github.com/titel-media/bricks-lerna/compare/v0.4.71...v0.4.72) (2022-02-26)

@@ -111,6 +70,2 @@

## [0.4.32](https://github.com/titel-media/bricks-lerna/compare/v0.4.31...v0.4.32) (2022-02-09)

@@ -120,6 +75,2 @@

## [0.4.31](https://github.com/titel-media/bricks-lerna/compare/v0.4.30...v0.4.31) (2022-02-09)

@@ -129,6 +80,2 @@

## [0.4.30](https://github.com/titel-media/bricks-lerna/compare/v0.4.29...v0.4.30) (2022-02-09)

@@ -138,6 +85,2 @@

## [0.4.29](https://github.com/titel-media/bricks-lerna/compare/v0.4.28...v0.4.29) (2022-02-09)

@@ -147,6 +90,2 @@

## [0.4.28](https://github.com/titel-media/bricks-lerna/compare/v0.4.27...v0.4.28) (2022-02-09)

@@ -156,6 +95,2 @@

## [0.4.11](https://github.com/titel-media/bricks-lerna/compare/v0.4.10...v0.4.11) (2022-01-28)

@@ -165,6 +100,2 @@

## [0.4.10](https://github.com/titel-media/bricks-lerna/compare/v0.4.9...v0.4.10) (2022-01-28)

@@ -174,6 +105,2 @@

## [0.4.9](https://github.com/titel-media/bricks-lerna/compare/v0.4.8...v0.4.9) (2022-01-28)

@@ -183,6 +110,2 @@

## [0.4.5](https://github.com/titel-media/bricks-lerna/compare/v0.4.4...v0.4.5) (2022-01-27)

@@ -192,6 +115,2 @@

## [0.4.4](https://github.com/titel-media/bricks-lerna/compare/v0.4.3...v0.4.4) (2022-01-27)

@@ -201,6 +120,2 @@

## [0.4.3](https://github.com/titel-media/bricks-lerna/compare/v0.4.2...v0.4.3) (2022-01-27)

@@ -210,6 +125,2 @@

## [0.4.2](https://github.com/titel-media/bricks-lerna/compare/v0.4.1...v0.4.2) (2022-01-27)

@@ -219,6 +130,2 @@

# [0.4.0](https://github.com/titel-media/bricks-lerna/compare/v0.3.46...v0.4.0) (2022-01-27)

@@ -228,6 +135,2 @@

## [0.3.29](https://github.com/titel-media/bricks-lerna/compare/v0.3.28...v0.3.29) (2022-01-26)

@@ -237,17 +140,8 @@

## [0.3.20](https://github.com/titel-media/bricks-lerna/compare/v0.3.19...v0.3.20) (2022-01-25)
### Features
* Change githead again because of socket error ([7e90fb1](https://github.com/titel-media/bricks-lerna/commit/7e90fb1d2890f70fdf7827cf6d05a6695490d81f))
- Change githead again because of socket error ([7e90fb1](https://github.com/titel-media/bricks-lerna/commit/7e90fb1d2890f70fdf7827cf6d05a6695490d81f))
## [0.3.19](https://github.com/titel-media/bricks-lerna/compare/v0.3.18...v0.3.19) (2022-01-25)

@@ -257,6 +151,2 @@

## [0.3.18](https://github.com/titel-media/bricks-lerna/compare/v0.3.17...v0.3.18) (2022-01-25)

@@ -266,6 +156,2 @@

## [0.3.17](https://github.com/titel-media/bricks-lerna/compare/v0.3.16...v0.3.17) (2022-01-25)

@@ -275,6 +161,2 @@

## [0.3.16](https://github.com/titel-media/bricks-lerna/compare/v0.3.15...v0.3.16) (2022-01-25)

@@ -284,6 +166,2 @@

## [0.3.15](https://github.com/titel-media/bricks-lerna/compare/v0.3.14...v0.3.15) (2022-01-25)

@@ -293,6 +171,2 @@

## [0.3.14](https://github.com/titel-media/bricks-lerna/compare/v0.3.13...v0.3.14) (2022-01-25)

@@ -302,17 +176,8 @@

# [0.3.0](https://github.com/titel-media/bricks-lerna/compare/v0.2.22...v0.3.0) (2022-01-14)
### Bug Fixes
* Adding peer dependencies ([e428612](https://github.com/titel-media/bricks-lerna/commit/e4286128068801579566a6bc9933130fa75b5f54))
- Adding peer dependencies ([e428612](https://github.com/titel-media/bricks-lerna/commit/e4286128068801579566a6bc9933130fa75b5f54))
## [0.2.8](https://github.com/titel-media/bricks-lerna/compare/v0.2.7...v0.2.8) (2022-01-12)

@@ -322,6 +187,2 @@

## [0.2.7](https://github.com/titel-media/bricks-lerna/compare/v0.2.6...v0.2.7) (2022-01-12)

@@ -331,6 +192,2 @@

## [0.2.6](https://github.com/titel-media/bricks-lerna/compare/v0.2.5...v0.2.6) (2022-01-12)

@@ -340,6 +197,2 @@

## [0.2.5](https://github.com/titel-media/bricks-lerna/compare/v0.2.4...v0.2.5) (2022-01-12)

@@ -349,6 +202,2 @@

## [0.2.1](https://github.com/titel-media/bricks-lerna/compare/v0.1.21...v0.2.1) (2022-01-10)

@@ -358,6 +207,2 @@

# [0.2.0](https://github.com/titel-media/bricks-lerna/compare/v0.1.21...v0.2.0) (2022-01-10)

@@ -367,18 +212,9 @@

## [0.1.21](https://github.com/titel-media/bricks-lerna/compare/v0.1.20...v0.1.21) (2022-01-05)
### Features
* Added a configuration to include gsap on jest testing ([a51d3ea](https://github.com/titel-media/bricks-lerna/commit/a51d3ea607be3e123b083b3e3501705b5cad7f0a))
* Added a lot of fixes for tests and tests for Credits. WIP: gsap is still breaking tests ([533fe23](https://github.com/titel-media/bricks-lerna/commit/533fe23a3f1cd6a9ee1ca0f66f6beeaac38b1efd))
- Added a configuration to include gsap on jest testing ([a51d3ea](https://github.com/titel-media/bricks-lerna/commit/a51d3ea607be3e123b083b3e3501705b5cad7f0a))
- Added a lot of fixes for tests and tests for Credits. WIP: gsap is still breaking tests ([533fe23](https://github.com/titel-media/bricks-lerna/commit/533fe23a3f1cd6a9ee1ca0f66f6beeaac38b1efd))
## [0.1.20](https://github.com/titel-media/bricks-lerna/compare/v0.1.19...v0.1.20) (2021-12-21)

@@ -388,6 +224,2 @@

## [0.1.19](https://github.com/titel-media/bricks-lerna/compare/v0.1.18...v0.1.19) (2021-12-21)

@@ -397,6 +229,2 @@

## [0.1.17](https://github.com/titel-media/bricks-lerna/compare/v0.1.16...v0.1.17) (2021-12-21)

@@ -406,6 +234,2 @@

## [0.1.15](https://github.com/titel-media/bricks-lerna/compare/v0.1.14...v0.1.15) (2021-12-21)

@@ -415,6 +239,2 @@

## [0.1.12](https://github.com/titel-media/bricks-lerna/compare/v0.1.11...v0.1.12) (2021-12-20)

@@ -424,8 +244,4 @@

## [0.1.11](https://github.com/titel-media/bricks-lerna/compare/v0.1.10...v0.1.11) (2021-12-13)
**Note:** Version bump only for package @titelmedia/xtras-tabs

@@ -7,25 +7,13 @@ "use strict";

exports.default = void 0;
var _react = _interopRequireWildcard(require("react"));
var _lodash = require("lodash");
var _imagesloaded = _interopRequireDefault(require("imagesloaded"));
var _bricksTheme = _interopRequireDefault(require("@titelmedia/bricks-theme"));
var _all = require("gsap/all");
var _styles = require("./styles");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
_all.gsap.registerPlugin(_all.ScrollTrigger);
_all.gsap.registerPlugin(_all.ScrollToPlugin);
const Tabs = ({

@@ -39,3 +27,2 @@ sections

sectionTlsRef.current = Array(sections.length).fill().map((_, i) => sectionTlsRef.current[i] || (0, _react.createRef)());
const onTabClick = id => {

@@ -48,3 +35,2 @@ _all.gsap.to(window, {

};
(0, _react.useEffect)(() => {

@@ -55,3 +41,2 @@ (0, _imagesloaded.default)(document.querySelector('#bricks-story'), () => {

const s = document.querySelector(`#${section.id}`);
if (s) {

@@ -69,3 +54,2 @@ pinHeight += s.offsetHeight;

}
if (self.isActive && current !== index) {

@@ -106,5 +90,4 @@ _current = index;

};
var _default = Tabs;
exports.default = _default;
//# sourceMappingURL=index.js.map

8

dist/styles.js

@@ -7,9 +7,5 @@ "use strict";

exports.TabsWrapper = exports.TabItem = void 0;
var _styledComponents = _interopRequireDefault(require("styled-components"));
var _typography = require("@titelmedia/bricks-theme/lib/utilities/typography");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
const TabsWrapper = _styledComponents.default.nav`

@@ -44,4 +40,4 @@ display: flex;

${() => (0, _typography.setFontSizes)({
mobile: '12px',
tablet_vertical: '12px'
xs: '12px',
sm: '12px'
})};

@@ -48,0 +44,0 @@ `;

@@ -34,5 +34,5 @@ import styled from 'styled-components';

setFontSizes({
mobile: '12px',
tablet_vertical: '12px',
xs: '12px',
sm: '12px',
})};
`;
{
"name": "@titelmedia/xtras-tabs",
"version": "1.0.43",
"version": "1.9.0",
"description": "xtras tab navigation component",

@@ -28,7 +28,7 @@ "author": "highsnob",

"dependencies": {
"@titelmedia/bricks-theme": "^1.0.43",
"@titelmedia/bricks-theme": "^1.9.0",
"gsap": "^3.8.0",
"imagesloaded": "^4.1.4"
},
"gitHead": "0e4b02dd520dfaf8f93d1cca506865a1a781b314"
"gitHead": "821c55b5aee0c3c72b42c632fab502d634212354"
}

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc