From a249b6183b351c7c940ba61e2ec896f8d43ce58d Mon Sep 17 00:00:00 2001 From: Richard O'flynn Date: Mon, 30 Nov 2020 22:14:59 +0000 Subject: [PATCH] Some fixes --- COMPONENT_INDEX.md | 4 ++-- docs/src/COMPONENT_API.json | 4 ++-- src/Tile/RadioTileGroup.svelte | 2 +- src/Tile/SelectableTile.svelte | 4 ++-- src/Tile/SelectableTileGroup.svelte | 2 +- types/Tile/RadioTileGroup.d.ts | 2 +- types/Tile/SelectableTileGroup.d.ts | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md index bc1a8dc8..8380d7ab 100644 --- a/COMPONENT_INDEX.md +++ b/COMPONENT_INDEX.md @@ -2729,7 +2729,7 @@ None. | Prop name | Kind | Reactive | Type | Default value | Description | | :------------ | :--------------- | :------- | :------------------- | ------------------ | --------------------------------------- | -| selectedValue | let | Yes | string | -- | Specify the selected tile value | +| selectedValue | let | Yes | any | -- | Specify the selected tile value | | disabled | let | No | boolean | false | Set to `true` to disable the tile group | | legend | let | No | string | "" | Specify the legend text | @@ -2961,7 +2961,7 @@ None. | Prop name | Kind | Reactive | Type | Default value | Description | | :------------- | :--------------- | :------- | :------------------- | ------------------ | ----------------------------------------- | -| selectedValues | let | Yes | string | [] | Specify the selected tile's | +| selectedValues | let | Yes | any[] | [] | Specify the selected tile's | | disabled | let | No | boolean | false | Set to `true` to disable the tile group | | light | let | No | boolean | false | Set to `true` to enable the light variant | | legend | let | No | string | "" | Specify the legend text | diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json index 976452a1..edbd3a16 100644 --- a/docs/src/COMPONENT_API.json +++ b/docs/src/COMPONENT_API.json @@ -8772,7 +8772,7 @@ "name": "selectedValue", "kind": "let", "description": "Specify the selected tile value", - "type": "string", + "type": "any", "isFunction": false, "constant": false, "reactive": true @@ -8811,7 +8811,7 @@ "name": "selectedValues", "kind": "let", "description": "Specify the selected tile's", - "type": "string", + "type": "any[]", "value": "[]", "isFunction": false, "constant": false, diff --git a/src/Tile/RadioTileGroup.svelte b/src/Tile/RadioTileGroup.svelte index 41eaa2f2..8b21b0a9 100644 --- a/src/Tile/RadioTileGroup.svelte +++ b/src/Tile/RadioTileGroup.svelte @@ -1,7 +1,7 @@