@datacamp/waffles-heading
Advanced tools
Comparing version 0.0.29 to 1.0.0
@@ -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 @@ |
{ | ||
"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 |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
0
0
6111
5
34
2
- Removed@datacamp/waffles-core@^1.1.8
- Removedbabel-plugin-lodash@^3.3.4
- Removedclassnames@^2.2.6
- Removedprop-types@^15.7.2
- Removedstyled-components@4.3.1
- Removed@ampproject/remapping@2.3.0(transitive)
- Removed@babel/code-frame@7.26.2(transitive)
- Removed@babel/compat-data@7.26.8(transitive)
- Removed@babel/core@7.26.9(transitive)
- Removed@babel/generator@7.26.9(transitive)
- Removed@babel/helper-annotate-as-pure@7.25.9(transitive)
- Removed@babel/helper-compilation-targets@7.26.5(transitive)
- Removed@babel/helper-module-imports@7.25.9(transitive)
- Removed@babel/helper-module-transforms@7.26.0(transitive)
- Removed@babel/helper-plugin-utils@7.26.5(transitive)
- Removed@babel/helper-string-parser@7.25.9(transitive)
- Removed@babel/helper-validator-identifier@7.25.9(transitive)
- Removed@babel/helper-validator-option@7.25.9(transitive)
- Removed@babel/helpers@7.26.9(transitive)
- Removed@babel/parser@7.26.9(transitive)
- Removed@babel/plugin-syntax-jsx@7.25.9(transitive)
- Removed@babel/template@7.26.9(transitive)
- Removed@babel/traverse@7.26.9(transitive)
- Removed@babel/types@7.26.9(transitive)
- Removed@emotion/is-prop-valid@0.7.3(transitive)
- Removed@emotion/memoize@0.7.1(transitive)
- Removed@emotion/unitless@0.7.5(transitive)
- Removed@jridgewell/gen-mapping@0.3.8(transitive)
- Removed@jridgewell/resolve-uri@3.1.2(transitive)
- Removed@jridgewell/set-array@1.2.1(transitive)
- Removed@jridgewell/sourcemap-codec@1.5.0(transitive)
- Removed@jridgewell/trace-mapping@0.3.25(transitive)
- Removedbabel-plugin-lodash@3.3.4(transitive)
- Removedbabel-plugin-styled-components@2.1.4(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedbrowserslist@4.24.4(transitive)
- Removedcamelize@1.0.1(transitive)
- Removedcaniuse-lite@1.0.30001701(transitive)
- Removedclassnames@2.5.1(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedconvert-source-map@2.0.0(transitive)
- Removedcss-color-keywords@1.0.0(transitive)
- Removedcss-to-react-native@2.3.2(transitive)
- Removeddebug@4.4.0(transitive)
- Removedelectron-to-chromium@1.5.109(transitive)
- Removedescalade@3.2.0(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedgensync@1.0.0-beta.2(transitive)
- Removedglob@7.2.3(transitive)
- Removedglobals@11.12.0(transitive)
- Removedhas-flag@3.0.0(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedis-what@3.14.1(transitive)
- Removedjs-tokens@4.0.0(transitive)
- Removedjsesc@3.1.0(transitive)
- Removedjson5@2.2.3(transitive)
- Removedlodash@4.17.21(transitive)
- Removedloose-envify@1.4.0(transitive)
- Removedlru-cache@5.1.1(transitive)
- Removedmemoize-one@5.2.1(transitive)
- Removedmerge-anything@2.4.4(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedms@2.1.3(transitive)
- Removednode-releases@2.0.19(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedonce@1.4.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedpicocolors@1.1.1(transitive)
- Removedpicomatch@2.3.1(transitive)
- Removedpostcss-value-parser@3.3.1(transitive)
- Removedprop-types@15.8.1(transitive)
- Removedreact@19.0.0(transitive)
- Removedreact-dom@19.0.0(transitive)
- Removedreact-is@16.13.1(transitive)
- Removedrequire-package-name@2.0.1(transitive)
- Removedscheduler@0.25.0(transitive)
- Removedsemver@6.3.1(transitive)
- Removedstyled-components@4.3.1(transitive)
- Removedstylis@3.5.4(transitive)
- Removedstylis-rule-sheet@0.0.10(transitive)
- Removedsupports-color@5.5.0(transitive)
- Removedupdate-browserslist-db@1.1.3(transitive)
- Removedwrappy@1.0.2(transitive)
- Removedyallist@3.1.1(transitive)