diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md
index 9fd78373..c48ec72e 100644
--- a/COMPONENT_INDEX.md
+++ b/COMPONENT_INDEX.md
@@ -3485,26 +3485,27 @@ None.
### Props
-| Prop name | Required | Kind | Reactive | Type | Default value | Description |
-| :------------- | :------- | :--------------- | :------- | --------------------------------------- | ------------------------------------------------ | ----------------------------------------------------------------------------------- |
-| ref | No | let
| Yes | null | HTMLDivElement
| null
| Obtain a reference to the HTML element |
-| value | No | let
| Yes | number
| 0
| Specify the value of the slider |
-| max | No | let
| No | number
| 100
| Set the maximum slider value |
-| maxLabel | No | let
| No | string
| ""
| Specify the label for the max value |
-| min | No | let
| No | number
| 0
| Set the minimum slider value |
-| minLabel | No | let
| No | string
| ""
| Specify the label for the min value |
-| step | No | let
| No | number
| 1
| Set the step value |
-| stepMultiplier | No | let
| No | number
| 4
| Set the step multiplier value |
-| required | No | let
| No | boolean
| false
| Set to `true` to require a value |
-| inputType | No | let
| No | string
| "number"
| Specify the input type |
-| disabled | No | let
| No | boolean
| false
| Set to `true` to disable the slider |
-| light | No | let
| No | boolean
| false
| Set to `true` to enable the light variant |
-| hideTextInput | No | let
| No | boolean
| false
| Set to `true` to hide the text input |
-| fullWidth | No | let
| No | boolean
| false
| Set to `true` for the slider to span
the full width of its containing element. |
-| id | No | let
| No | string
| "ccs-" + Math.random().toString(36)
| Set an id for the slider div element |
-| invalid | No | let
| No | boolean
| false
| Set to `true` to indicate an invalid state |
-| labelText | No | let
| No | string
| ""
| Specify the label text |
-| name | No | let
| No | string
| ""
| Set a name for the slider element |
+| Prop name | Required | Kind | Reactive | Type | Default value | Description |
+| :------------- | :------- | :--------------- | :------- | --------------------------------------- | ------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------- |
+| ref | No | let
| Yes | null | HTMLDivElement
| null
| Obtain a reference to the HTML element |
+| value | No | let
| Yes | number
| 0
| Specify the value of the slider |
+| max | No | let
| No | number
| 100
| Set the maximum slider value |
+| maxLabel | No | let
| No | string
| ""
| Specify the label for the max value |
+| min | No | let
| No | number
| 0
| Set the minimum slider value |
+| minLabel | No | let
| No | string
| ""
| Specify the label for the min value |
+| step | No | let
| No | number
| 1
| Set the step value |
+| stepMultiplier | No | let
| No | number
| 4
| Set the step multiplier value |
+| required | No | let
| No | boolean
| false
| Set to `true` to require a value |
+| inputType | No | let
| No | string
| "number"
| Specify the input type |
+| disabled | No | let
| No | boolean
| false
| Set to `true` to disable the slider |
+| light | No | let
| No | boolean
| false
| Set to `true` to enable the light variant |
+| hideTextInput | No | let
| No | boolean
| false
| Set to `true` to hide the text input |
+| fullWidth | No | let
| No | boolean
| false
| Set to `true` for the slider to span
the full width of its containing element. |
+| id | No | let
| No | string
| "ccs-" + Math.random().toString(36)
| Set an id for the slider div element |
+| invalid | No | let
| No | boolean
| false
| Set to `true` to indicate an invalid state |
+| labelText | No | let
| No | string
| ""
| Specify the label text.
Alternatively, use the "labelText" slot (e.g., <span slot="labelText">...</span>) |
+| hideLabel | No | let
| No | boolean
| false
| Set to `true` to visually hide the label text |
+| name | No | let
| No | string
| ""
| Set a name for the slider element |
### Slots
diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json
index 6675e655..381a6bcc 100644
--- a/docs/src/COMPONENT_API.json
+++ b/docs/src/COMPONENT_API.json
@@ -11215,7 +11215,7 @@
{
"name": "labelText",
"kind": "let",
- "description": "Specify the label text",
+ "description": "Specify the label text.\nAlternatively, use the \"labelText\" slot (e.g., ...)",
"type": "string",
"value": "\"\"",
"isFunction": false,
@@ -11224,6 +11224,18 @@
"constant": false,
"reactive": false
},
+ {
+ "name": "hideLabel",
+ "kind": "let",
+ "description": "Set to `true` to visually hide the label text",
+ "type": "boolean",
+ "value": "false",
+ "isFunction": false,
+ "isFunctionDeclaration": false,
+ "isRequired": false,
+ "constant": false,
+ "reactive": false
+ },
{
"name": "name",
"kind": "let",
diff --git a/docs/src/pages/components/Slider.svx b/docs/src/pages/components/Slider.svx
index 3710eeee..2fb77735 100644
--- a/docs/src/pages/components/Slider.svx
+++ b/docs/src/pages/components/Slider.svx
@@ -17,6 +17,10 @@ Set `fullWidth` to `true` for the slider to span the full width of its containin