@teambit/documenter.ui.paragraph
Advanced tools
Comparing version 3.0.12 to 3.0.13
@@ -1,2 +0,2 @@ | ||
import { ThemeContext } from "@teambit/documenter.theme.theme-context"; | ||
/// <reference types="react" /> | ||
import { Paragraph } from "./paragraph"; | ||
@@ -7,3 +7,3 @@ export declare const labels: string[]; | ||
Paragraph: typeof Paragraph; | ||
ThemeContext: typeof ThemeContext; | ||
ThemeCompositions: ({ children, ...rest }: import("react").HTMLAttributes<HTMLDivElement>) => JSX.Element; | ||
}; | ||
@@ -16,3 +16,3 @@ title: string; | ||
Paragraph: typeof Paragraph; | ||
ThemeContext: typeof ThemeContext; | ||
ThemeCompositions: ({ children, ...rest }: import("react").HTMLAttributes<HTMLDivElement>) => JSX.Element; | ||
}; | ||
@@ -19,0 +19,0 @@ description: string; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.examples = exports.labels = void 0; | ||
const documenter_theme_theme_context_1 = require("@teambit/documenter.theme.theme-context"); | ||
const documenter_theme_theme_compositions_1 = require("@teambit/documenter.theme.theme-compositions"); | ||
const paragraph_1 = require("./paragraph"); | ||
exports.labels = ['react', 'ui-component', 'text', 'paragraph', 'div', 'span']; | ||
const scope = { Paragraph: paragraph_1.Paragraph, ThemeContext: documenter_theme_theme_context_1.ThemeContext }; | ||
const scope = { Paragraph: paragraph_1.Paragraph, ThemeCompositions: documenter_theme_theme_compositions_1.ThemeCompositions }; | ||
exports.examples = [ | ||
@@ -14,3 +14,3 @@ { | ||
code: ` | ||
<ThemeContext> | ||
<ThemeCompositions> | ||
<Paragraph element="p" > | ||
@@ -25,3 +25,3 @@ This is a 'p' element. | ||
</Paragraph> | ||
</ThemeContext> | ||
</ThemeCompositions> | ||
` | ||
@@ -33,3 +33,3 @@ }, | ||
code: ` | ||
<ThemeContext> | ||
<ThemeCompositions> | ||
<Paragraph size="xxm" > | ||
@@ -44,3 +44,3 @@ This is an xx-small font. | ||
</Paragraph> | ||
</ThemeContext> | ||
</ThemeCompositions> | ||
` | ||
@@ -47,0 +47,0 @@ } |
{ | ||
"name": "@teambit/documenter.ui.paragraph", | ||
"version": "3.0.12", | ||
"version": "3.0.13", | ||
"homepage": "https://bit.dev/teambit/documenter/ui/paragraph", | ||
@@ -9,3 +9,3 @@ "main": "dist/index.js", | ||
"name": "ui/paragraph", | ||
"version": "3.0.12" | ||
"version": "3.0.13" | ||
}, | ||
@@ -23,4 +23,3 @@ "dependencies": { | ||
"@types/node": "12.20.4", | ||
"@teambit/documenter.theme.theme-compositions": "3.0.12", | ||
"@teambit/documenter.theme.theme-context": "3.0.12" | ||
"@teambit/documenter.theme.theme-compositions": "3.0.13" | ||
}, | ||
@@ -27,0 +26,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
17646
5