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

@10up/component-tabs

Package Overview
Dependencies
Maintainers
7
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@10up/component-tabs - npm Package Compare versions

Comparing version 1.0.3 to 2.0.0-rc.1

CHANGELOG.md

48

package.json
{
"name": "@10up/component-tabs",
"version": "1.0.3",
"version": "2.0.0-rc.1",
"author": "10up",
"description": "Accessible tab component.",
"main": "./src/tabs.js",
"style": "./dist/tabs.css",
"main": "dist/index.js",
"exports": "./dist/index.modern.js",
"umd:main": "dist/index.umd.js",
"module": "dist/index.module.js",
"source": "src/index.js",
"style": "./dist/index.css",
"types": "./index.d.ts",
"scripts": {
"start": "npm install && npm run build",
"build": "webpack",
"watch": "webpack --watch"
"test": "jest --coverage",
"test:watch": "jest --watch",
"watch": "concurrently \"npm run build:modern -- --watch\" \"npm run build:umd -- --watch\"",
"build": "npm run build:modern && npm run build:umd",
"build:modern": "microbundle build -f modern,es,cjs",
"build:umd": "microbundle build -i src/index.umd.js --name TenUpTabs -f umd --external none",
"prepare": "npm run build"
},

@@ -23,24 +32,13 @@ "repository": {

"devDependencies": {
"@10up/eslint-config": "^1.0.9",
"@babel/cli": "^7.2.3",
"@babel/core": "^7.4.0",
"@babel/preset-env": "^7.4.2",
"babel-eslint": "^9.0.0",
"babel-loader": "^8.0.5",
"browser-sync": "^2.26.7",
"browser-sync-webpack-plugin": "^2.2.2",
"css-loader": "^1.0.1",
"eslint": "^5.16.0",
"eslint-loader": "^2.1.2",
"mini-css-extract-plugin": "^0.4.5",
"postcss": "^7.0.14",
"postcss-import": "^12.0.1",
"postcss-loader": "^3.0.0",
"postcss-preset-env": "^5.3.0",
"webpack": "^4.29.6",
"webpack-cli": "^3.3.0"
"@testing-library/dom": "^7.29.4",
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/user-event": "^12.6.3",
"jest-axe": "^4.1.0",
"microbundle": "^0.13.0",
"postcss-import": "^14.0.0",
"postcss-preset-env": "^6.7.0"
},
"dependencies": {
"@babel/polyfill": "^7.4.0"
"core-js": "^3.8.3"
}
}

@@ -5,3 +5,2 @@ # 10up Tabs component

[![Support Level](https://img.shields.io/badge/support-active-green.svg)](#support-level)

@@ -57,3 +56,3 @@ ## Installation

#### PostCSS Imports
`@import '@10up/component-tabs';`
`@import "@10up/component-tabs";`

@@ -70,5 +69,5 @@ #### Standalone

```javascript
import tabs from '@10up/component-tabs';
import Tabs from '@10up/component-tabs';
tabs( '.tabs', {
new Tabs( '.tabs', {
onCreate: function() {

@@ -85,3 +84,5 @@ console.log( 'onCreate callback' );

Include the `tabs.js` file from the `dist/` directory and access the component from the gobal `TenUp` object.
```html
<script src="unpkg.com/@10up/component-tabs@2.0.0/index.umd.js"></script>
```

@@ -109,2 +110,2 @@ ```javascript

<a href="http://10up.com/contact/"><img src="https://10updotcom-wpengine.s3.amazonaws.com/uploads/2016/10/10up-Github-Banner.png" width="850" alt="Work with us at 10up"></a>
<a href="http://10up.com/contact/"><img src="https://10up.com/uploads/2016/10/10up-Github-Banner.png" width="850" alt="Work with us at 10up"></a>

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