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

@teambit/documenter.ui.paragraph

Package Overview
Dependencies
Maintainers
0
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 4.1.7 to 4.1.8

.bit-capsule-ready

15

dist/paragraph.composition.d.ts

@@ -1,8 +0,7 @@

/// <reference types="react" />
export declare const ParagraphXxl: () => JSX.Element;
export declare const ParagraphXl: () => JSX.Element;
export declare const ParagraphLg: () => JSX.Element;
export declare const ParagraphMd: () => JSX.Element;
export declare const ParagraphSm: () => JSX.Element;
export declare const ParagraphXs: () => JSX.Element;
export declare const ParagraphXxs: () => JSX.Element;
export declare const ParagraphXxl: () => import("react/jsx-runtime").JSX.Element;
export declare const ParagraphXl: () => import("react/jsx-runtime").JSX.Element;
export declare const ParagraphLg: () => import("react/jsx-runtime").JSX.Element;
export declare const ParagraphMd: () => import("react/jsx-runtime").JSX.Element;
export declare const ParagraphSm: () => import("react/jsx-runtime").JSX.Element;
export declare const ParagraphXs: () => import("react/jsx-runtime").JSX.Element;
export declare const ParagraphXxs: () => import("react/jsx-runtime").JSX.Element;

@@ -18,8 +18,2 @@ import React from 'react';

*/
export declare function Paragraph({ children, className, size, ...rest }: ParagraphProps): JSX.Element;
export declare namespace Paragraph {
var defaultProps: {
size: string;
element: string;
};
}
export declare function Paragraph({ children, className, size, element, ...rest }: ParagraphProps): import("react/jsx-runtime").JSX.Element;

@@ -9,10 +9,6 @@ import { jsx as _jsx } from "react/jsx-runtime";

*/
export function Paragraph({ children, className, size, ...rest }) {
export function Paragraph({ children, className, size = 'md', element = 'p', ...rest }) {
const paragraphSize = size ? PossibleSizes[size] : PossibleSizes.md;
return (_jsx(BaseParagraph, { size: paragraphSize, ...rest, className: classNames(styles.paragraph, className), children: children }));
return (_jsx(BaseParagraph, { element: element, size: paragraphSize, ...rest, className: classNames(styles.paragraph, className), children: children }));
}
Paragraph.defaultProps = {
size: 'md',
element: 'p',
};
//# sourceMappingURL=paragraph.js.map

@@ -27,3 +27,5 @@ {

"package.json",
"**/*.cjs"
"**/*.cjs",
"./dist",
"./dist"
],

@@ -30,0 +32,0 @@ "include": [

{
"name": "@teambit/documenter.ui.paragraph",
"version": "4.1.7",
"version": "4.1.8",
"homepage": "https://bit.cloud/teambit/documenter/ui/paragraph",

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

"name": "ui/paragraph",
"version": "4.1.7"
"version": "4.1.8"
},

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

"@types/jest": "^29.2.2",
"@teambit/documenter.envs.documenter-react-env": "0.0.1"
"@teambit/documenter.envs.documenter-react-env": "1.0.1"
},

@@ -27,4 +27,6 @@ "peerDependencies": {

},
"license": "SEE LICENSE IN LICENSE",
"license": "SEE LICENSE IN UNLICENSED",
"optionalDependencies": {},
"peerDependenciesMeta": {},
"private": false
}
}

Sorry, the diff of this file is not supported yet

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