New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@datacamp/waffles-heading

Package Overview
Dependencies
Maintainers
42
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@datacamp/waffles-heading - npm Package Compare versions

Comparing version 0.0.29 to 1.0.0

src/index.js

18

CHANGELOG.md

@@ -6,2 +6,20 @@ # Change Log

# [1.0.0](https://github.com/datacamp/design-system/compare/@datacamp/waffles-heading@0.0.29...@datacamp/waffles-heading@1.0.0) (2019-07-03)
### Features
* deprecate old heading component ([590dba4](https://github.com/datacamp/design-system/commit/590dba4))
### BREAKING CHANGES
* This removes everything from this package. This version
will only throw an error if imported. Please use the Heading component
from the @datacamp/waffles-text package instead.
## [0.0.29](https://github.com/datacamp/design-system/compare/@datacamp/waffles-heading@0.0.28...@datacamp/waffles-heading@0.0.29) (2019-07-02)

@@ -8,0 +26,0 @@

31

package.json
{
"name": "@datacamp/waffles-heading",
"version": "0.0.29",
"version": "1.0.0",
"description": "Creates heading element h1, h2, h3, h4, h5, h6",
"main": "lib/index.js",
"main": "src/index.js",
"homepage": "https://github.com/datacamp-engineering/design-system/tree/master/packages/react-components/heading/README.md",
"scripts": {
"build": "babel src --out-dir lib --ignore spec.js --copy-files",
"prepare": "yarn build",
"watch": "yarn build --watch"
},
"scripts": {},
"keywords": [],

@@ -21,25 +17,6 @@ "author": "DataCamp",

},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"enzyme": "^3.10.0",
"jest-styled-components": "6.3.3",
"react": "^16.6.3"
},
"dependencies": {
"@datacamp/waffles-core": "^1.1.8",
"babel-plugin-lodash": "^3.3.4",
"classnames": "^2.2.6",
"prop-types": "^15.7.2",
"styled-components": "4.3.1"
},
"peerDependencies": {
"react": ">= 16.6.3"
},
"publishConfig": {
"access": "restricted"
},
"gitHead": "8e42637adebca9a874898d8abb95f70ced63c674",
"gitHead": "703ff981804560132076b0d5b33377e9f7f47717",
"browserslist": [

@@ -46,0 +23,0 @@ "last 2 versions",

@@ -1,23 +0,1 @@

# Heading
The Heading component is used as the h1-h6 titles of a section or view.
### Usage
```js
import React from 'react';
import Heading from '@datacamp/waffles-heading';
class App extends React.Component {
render() {
return <Heading>Course Title</Heading>;
}
}
```
### Properties
| propName | propType | defaultValue | isRequired | Description |
| ---------- | -------- | ------------ | ---------- | ----------------------------------------------------------- |
| children | string | | + | The content of the tag. |
| element | string | "h2" | - | Sets the html heading element tag (h1, h2, h3, h4, h5, h6). |
| extraClass | string | "" | - | Any extra css class required for the root element. |
This has been deprecated, please use the Heading component from @datacamp/waffles-text instead
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