Skip to content

Commit 20efc04

Browse files
author
bardleb
committedDec 5, 2023
Merge branch 'issue/NT-outline-core-heading' of https://github.com/phase2/outline into issue/NT-outline-core-heading
2 parents 42cb790 + ab22886 commit 20efc04

File tree

13 files changed

+379
-384
lines changed

13 files changed

+379
-384
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# outline-core-heading
2+
3+
## Properties
4+
5+
| Property | Attribute | Type | Description |
6+
|---------------------|----------------------|-------------------------|--------------------------------------------------|
7+
| `additionalClasses` | `additional-classes` | `string` | Additional CSS classes to apply to the heading element. |
8+
| `level` | `level` | `string \| undefined` | The tag to apply: h1 \| h2 \| h3 \| h4 \| h5 \| h6 |
9+
| `size` | `size` | `AllowedHeadingSizes` | The size of the heading. |
10+
| `weight` | `weight` | `AllowedHeadingWeights` | The weight of the heading. |
11+
12+
## Methods
13+
14+
| Method | Type |
15+
|--------------------|--------------------------------------------------|
16+
| `fullMarkupInSlot` | `(classes: { [key: string]: string \| boolean; }): TemplateResult<ResultType>` |
17+
| `generateHeading` | `(classes: { [key: string]: string \| boolean; }): TemplateResult<ResultType>` |

‎packages/outline-core-heading/package.json ‎packages/components/outline-core-heading/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@phase2/outline-core-heading",
3-
"version": "0.1.2",
3+
"version": "0.0.0",
44
"description": "The Outline Components for the web heading component",
55
"keywords": [
66
"outline components",
@@ -19,7 +19,7 @@
1919
"repository": {
2020
"type": "git",
2121
"url": "https://github.com/phase2/outline.git",
22-
"directory": "packages/outline-heading"
22+
"directory": "packages/outline-core-heading"
2323
},
2424
"license": "BSD-3-Clause",
2525
"scripts": {

0 commit comments

Comments
 (0)
Please sign in to comment.