mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 03:49:34 +00:00
Some fixes
This commit is contained in:
parent
fe5c571b13
commit
184c3d9219
13 changed files with 95 additions and 32710 deletions
|
@ -3356,7 +3356,7 @@
|
|||
{ "type": "forwarded", "name": "mouseleave", "element": "table" }
|
||||
],
|
||||
"typedefs": [],
|
||||
"rest_props": { "type": "Element", "name": "div" },
|
||||
"rest_props": { "type": "Element", "name": "table" },
|
||||
"extends": {
|
||||
"interface": "DataTableHeader",
|
||||
"import": "\"../DataTable/DataTable\""
|
||||
|
@ -8534,7 +8534,7 @@
|
|||
"value": "false",
|
||||
"isFunction": false,
|
||||
"constant": false,
|
||||
"reactive": true
|
||||
"reactive": false
|
||||
},
|
||||
{
|
||||
"name": "title",
|
||||
|
@ -8640,7 +8640,7 @@
|
|||
"value": "false",
|
||||
"isFunction": false,
|
||||
"constant": false,
|
||||
"reactive": true
|
||||
"reactive": false
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
|
@ -8787,16 +8787,6 @@
|
|||
"constant": false,
|
||||
"reactive": false
|
||||
},
|
||||
{
|
||||
"name": "light",
|
||||
"kind": "let",
|
||||
"description": "Set to `true` to enable the light variant",
|
||||
"type": "boolean",
|
||||
"value": "false",
|
||||
"isFunction": false,
|
||||
"constant": false,
|
||||
"reactive": false
|
||||
},
|
||||
{
|
||||
"name": "legend",
|
||||
"kind": "let",
|
||||
|
|
|
@ -29,14 +29,14 @@ components: ["RadioTileGroup", "RadioTile"]
|
|||
|
||||
### Light variant
|
||||
|
||||
<RadioTileGroup light legend="Service pricing tiers">
|
||||
<RadioTile value="0" checked>
|
||||
<RadioTileGroup legend="Service pricing tiers">
|
||||
<RadioTile light value="0" checked>
|
||||
Lite plan
|
||||
</RadioTile>
|
||||
<RadioTile value="1">
|
||||
<RadioTile light value="1">
|
||||
Standard plan
|
||||
</RadioTile>
|
||||
<RadioTile value="2">
|
||||
<RadioTile light value="2">
|
||||
Plus plan
|
||||
</RadioTile>
|
||||
</TileGroup>
|
|
@ -9,34 +9,34 @@ components: ["SelectableTile", "SelectableTileGroup"]
|
|||
|
||||
### Multi-selectable tiles
|
||||
|
||||
<SelectableTileGroup legend="Select the options you require" light>
|
||||
<SelectableTileGroup legend="Select the options you require">
|
||||
<SelectableTile title="Option 1" selected>
|
||||
Option 1
|
||||
</SelectableTile>
|
||||
<SelectableTile title="Option 2" selected>
|
||||
Option 2
|
||||
</SelectableTile>
|
||||
<SelectableTile title="Option 3£>
|
||||
<SelectableTile title="Option 3">
|
||||
Option 3
|
||||
</SelectableTile>
|
||||
<SelectableTile light title="Option 4£>
|
||||
<SelectableTile light title="Option 4">
|
||||
Option 4 (light variant)
|
||||
</SelectableTile>
|
||||
</div>
|
||||
|
||||
### Multi-selectable tiles with light variant
|
||||
|
||||
<SelectableTileGroup light legend="Select the options you require" light>
|
||||
<SelectableTile title="Option 1" selected>
|
||||
<SelectableTileGroup legend="Select the options you require" light>
|
||||
<SelectableTile light title="Option 1" selected>
|
||||
Option 1
|
||||
</SelectableTile>
|
||||
<SelectableTile title="Option 2" selected>
|
||||
<SelectableTile light title="Option 2" selected>
|
||||
Option 2
|
||||
</SelectableTile>
|
||||
<SelectableTile title="Option 3£>
|
||||
<SelectableTile light title="Option 3">
|
||||
Option 3
|
||||
</SelectableTile>
|
||||
<SelectableTile title="Option 4£>
|
||||
<SelectableTile light title="Option 4">
|
||||
Option 4
|
||||
</SelectableTile>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue