mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 19:01:05 +00:00
feat(heading): add Heading
and Section
components (#1961)
This commit is contained in:
parent
42e50261a8
commit
76210d68d4
11 changed files with 287 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"total": 166,
|
||||
"total": 168,
|
||||
"components": [
|
||||
{
|
||||
"moduleName": "Accordion",
|
||||
|
@ -5386,6 +5386,21 @@
|
|||
"events": [],
|
||||
"typedefs": []
|
||||
},
|
||||
{
|
||||
"moduleName": "Heading",
|
||||
"filePath": "src/Heading/Heading.svelte",
|
||||
"props": [],
|
||||
"moduleExports": [],
|
||||
"slots": [{ "name": "__default__", "default": true, "slot_props": "{}" }],
|
||||
"events": [],
|
||||
"typedefs": [
|
||||
{
|
||||
"type": "1 | 2 | 3 | 4 | 5 | 6",
|
||||
"name": "SectionLevel",
|
||||
"ts": "type SectionLevel = 1 | 2 | 3 | 4 | 5 | 6"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"moduleName": "ImageLoader",
|
||||
"filePath": "src/ImageLoader/ImageLoader.svelte",
|
||||
|
@ -10181,6 +10196,46 @@
|
|||
"typedefs": [],
|
||||
"rest_props": { "type": "Element", "name": "div" }
|
||||
},
|
||||
{
|
||||
"moduleName": "Section",
|
||||
"filePath": "src/Heading/Section.svelte",
|
||||
"props": [
|
||||
{
|
||||
"name": "level",
|
||||
"kind": "let",
|
||||
"description": "Specify the level the section should start at.",
|
||||
"type": "SectionLevel",
|
||||
"value": "1",
|
||||
"isFunction": false,
|
||||
"isFunctionDeclaration": false,
|
||||
"isRequired": false,
|
||||
"constant": false,
|
||||
"reactive": false
|
||||
},
|
||||
{
|
||||
"name": "tag",
|
||||
"kind": "let",
|
||||
"description": "Specify the tag name",
|
||||
"type": "keyof HTMLElementTagNameMap",
|
||||
"value": "\"section\"",
|
||||
"isFunction": false,
|
||||
"isFunctionDeclaration": false,
|
||||
"isRequired": false,
|
||||
"constant": false,
|
||||
"reactive": false
|
||||
}
|
||||
],
|
||||
"moduleExports": [],
|
||||
"slots": [{ "name": "__default__", "default": true, "slot_props": "{}" }],
|
||||
"events": [],
|
||||
"typedefs": [
|
||||
{
|
||||
"type": "1 | 2 | 3 | 4 | 5 | 6",
|
||||
"name": "SectionLevel",
|
||||
"ts": "type SectionLevel = 1 | 2 | 3 | 4 | 5 | 6"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"moduleName": "Select",
|
||||
"filePath": "src/Select/Select.svelte",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue