react-guide-maker
Advanced tools
Comparing version 0.1.21 to 0.1.22
@@ -82,8 +82,3 @@ 'use strict'; | ||
fontWeight: "200", | ||
fontSize: "36px", | ||
"&:hover": { | ||
"& $headerLink": { | ||
visibility: "visible" | ||
} | ||
} | ||
fontSize: "36px" | ||
}, | ||
@@ -98,3 +93,3 @@ headerLink: { | ||
}); | ||
function Title(_ref) { | ||
function Heading(_ref) { | ||
var value = _ref.value; | ||
@@ -106,3 +101,3 @@ var classes = useStyles(); | ||
className: classes.headerLink, | ||
title: "Link to this header", | ||
title: "Link to this headline", | ||
href: "#".concat(value.replace(/[^a-z0-9_]+/gi, "-").replace(/^-|-$/g, "").toLowerCase()) | ||
@@ -115,2 +110,3 @@ }, "\xB6")); | ||
exports.Guide = Guide; | ||
exports.Heading = Heading; | ||
exports.List = List; | ||
@@ -120,2 +116,1 @@ exports.Paragraph = Paragraph; | ||
exports.Table = Table; | ||
exports.Title = Title; |
@@ -74,8 +74,3 @@ import React from 'react'; | ||
fontWeight: "200", | ||
fontSize: "36px", | ||
"&:hover": { | ||
"& $headerLink": { | ||
visibility: "visible" | ||
} | ||
} | ||
fontSize: "36px" | ||
}, | ||
@@ -90,3 +85,3 @@ headerLink: { | ||
}); | ||
function Title(_ref) { | ||
function Heading(_ref) { | ||
var value = _ref.value; | ||
@@ -98,3 +93,3 @@ var classes = useStyles(); | ||
className: classes.headerLink, | ||
title: "Link to this header", | ||
title: "Link to this headline", | ||
href: "#".concat(value.replace(/[^a-z0-9_]+/gi, "-").replace(/^-|-$/g, "").toLowerCase()) | ||
@@ -104,2 +99,2 @@ }, "\xB6")); | ||
export { Bold, Comment, Guide, List, Paragraph, Subtitle, Table, Title }; | ||
export { Bold, Comment, Guide, Heading, List, Paragraph, Subtitle, Table }; |
@@ -81,8 +81,3 @@ (function (global, factory) { | ||
fontWeight: "200", | ||
fontSize: "36px", | ||
"&:hover": { | ||
"& $headerLink": { | ||
visibility: "visible" | ||
} | ||
} | ||
fontSize: "36px" | ||
}, | ||
@@ -97,3 +92,3 @@ headerLink: { | ||
}); | ||
function Title(_ref) { | ||
function Heading(_ref) { | ||
var value = _ref.value; | ||
@@ -105,3 +100,3 @@ var classes = useStyles(); | ||
className: classes.headerLink, | ||
title: "Link to this header", | ||
title: "Link to this headline", | ||
href: "#".concat(value.replace(/[^a-z0-9_]+/gi, "-").replace(/^-|-$/g, "").toLowerCase()) | ||
@@ -114,2 +109,3 @@ }, "\xB6")); | ||
exports.Guide = Guide; | ||
exports.Heading = Heading; | ||
exports.List = List; | ||
@@ -119,3 +115,2 @@ exports.Paragraph = Paragraph; | ||
exports.Table = Table; | ||
exports.Title = Title; | ||
@@ -122,0 +117,0 @@ Object.defineProperty(exports, '__esModule', { value: true }); |
{ | ||
"name": "react-guide-maker", | ||
"version": "0.1.21", | ||
"version": "0.1.22", | ||
"description": "Guidemaker for react", | ||
@@ -5,0 +5,0 @@ "main": "./build/index.cjs.js", |
10906
271