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

@teambit/documenter.ui.heading

Package Overview
Dependencies
Maintainers
18
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@teambit/documenter.ui.heading - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

8

dist/heading.d.ts

@@ -5,4 +5,12 @@ /// <reference types="react" />

export declare type HeaderProps = {
/** font-size for the header */
size?: Sizes;
} & HeadingProps;
/**
* A set of concrete heading for the workspace docs.
* H1, H2, H3, H4, H5, H6.
*
* To keep a consistent look to the site, headers come in a limited set of sizes.
* While each header corresponds to a default font-size, it can be overridden using the size prop:
*/
export declare function H1(props: HeaderProps): JSX.Element;

@@ -9,0 +17,0 @@ export declare function H2(props: HeaderProps): JSX.Element;

@@ -12,2 +12,9 @@ "use strict";

const margins_module_scss_1 = __importDefault(require("./margins.module.scss"));
/**
* A set of concrete heading for the workspace docs.
* H1, H2, H3, H4, H5, H6.
*
* To keep a consistent look to the site, headers come in a limited set of sizes.
* While each header corresponds to a default font-size, it can be overridden using the size prop:
*/
function H1(props) {

@@ -14,0 +21,0 @@ return (react_1.default.createElement(base_ui_text_heading_1.Heading, Object.assign({ element: "h1" }, props, { className: classnames_1.default(heading_module_scss_1.default.h1, margins_module_scss_1.default.h1, heading_sizes_module_scss_1.default[props.size || "lg"], props.className) })));

7

package.json
{
"name": "@teambit/documenter.ui.heading",
"version": "0.0.5",
"version": "0.0.6",
"homepage": "https://bit.dev/teambit/documenter/ui/heading",

@@ -9,3 +9,3 @@ "main": "dist/index.js",

"name": "ui/heading",
"version": "0.0.5"
"version": "0.0.6"
},

@@ -15,3 +15,3 @@ "dependencies": {

"@teambit/base-ui.text.heading": "0.2.10",
"@teambit/documenter.theme.theme-context": "0.0.5"
"@teambit/documenter.theme.theme-context": "0.0.6"
},

@@ -38,2 +38,3 @@ "devDependencies": {

"@types/jest": "~26.0.9",
"@types/mocha": "-",
"@types/react-router-dom": "^5.1.5"

@@ -40,0 +41,0 @@ },

@@ -7,4 +7,3 @@ {

"ES6",
"DOM.Iterable",
"ScriptHost"
"DOM.Iterable"
],

@@ -19,13 +18,4 @@ "target": "es2015",

"outDir": "dist",
"rootDir": ".",
"esModuleInterop": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"strictPropertyInitialization": false,
"strict": true,
"moduleResolution": "node",
"noImplicitAny": false,
"removeComments": true,
"preserveConstEnums": true,
"resolveJsonModule": true
"esModuleInterop": true
},

@@ -32,0 +22,0 @@ "exclude": [

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