diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md index 3e79f2fb..258fd1e4 100644 --- a/COMPONENT_INDEX.md +++ b/COMPONENT_INDEX.md @@ -2693,16 +2693,15 @@ None. ### Props -| Prop name | Kind | Reactive | Type | Default value | Description | -| :-------------- | :--------------- | :------- | :---------------------------------------- | ------------------------------------------------ | -------------------------------------------------------- | -| ref | let | Yes | null | HTMLInputElement | null | Obtain a reference to the input HTML element | -| checked | let | Yes | boolean | false | Set to `true` to check the tile | -| light | let | No | boolean | false | Set to `true` to enable the light variant | -| value | let | No | string | "" | Specify the value of the radio input | -| tabindex | let | No | string | "0" | Specify the tabindex | -| iconDescription | let | No | string | "Tile checkmark" | Specify the ARIA label for the radio tile checkmark icon | -| id | let | No | string | "ccs-" + Math.random().toString(36) | Set an id for the input element | -| name | let | No | string | "" | Specify a name attribute for the input | +| Prop name | Kind | Reactive | Type | Default value | Description | +| :-------------- | :--------------- | :------- | :------------------- | ------------------------------------------------ | -------------------------------------------------------- | +| checked | let | Yes | boolean | false | Set to `true` to check the tile | +| light | let | No | boolean | false | Set to `true` to enable the light variant | +| value | let | No | string | "" | Specify the value of the radio input | +| tabindex | let | No | string | "0" | Specify the tabindex | +| iconDescription | let | No | string | "Tile checkmark" | Specify the ARIA label for the radio tile checkmark icon | +| id | let | No | string | "ccs-" + Math.random().toString(36) | Set an id for the input element | +| name | let | No | string | "" | Specify a name attribute for the input | ### Slots diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json index f642e027..654fbd36 100644 --- a/docs/src/COMPONENT_API.json +++ b/docs/src/COMPONENT_API.json @@ -8691,16 +8691,6 @@ "isFunction": false, "constant": false, "reactive": false - }, - { - "name": "ref", - "kind": "let", - "description": "Obtain a reference to the input HTML element", - "type": "null | HTMLInputElement", - "value": "null", - "isFunction": false, - "constant": false, - "reactive": true } ], "slots": [{ "name": "__default__", "default": true, "slot_props": "{}" }], diff --git a/src/Tile/RadioTile.svelte b/src/Tile/RadioTile.svelte index 2999d7b5..7e2fce40 100644 --- a/src/Tile/RadioTile.svelte +++ b/src/Tile/RadioTile.svelte @@ -20,9 +20,6 @@ /** Specify a name attribute for the input */ export let name = ""; - /** Obtain a reference to the input HTML element */ - export let ref = null; - import { getContext } from "svelte"; import CheckmarkFilled16 from "carbon-icons-svelte/lib/CheckmarkFilled16"; @@ -34,13 +31,12 @@