From 85d16e135421d9274a774676ec5826ff39ec4a87 Mon Sep 17 00:00:00 2001
From: Tsvetomir Hristov <106250052+Tsvetomir-Hr@users.noreply.github.com>
Date: Mon, 6 Jan 2025 10:59:13 +0200
Subject: [PATCH] docs(ColorPicker): add docs for ColorPicker adaptiveness
---
common-features/adaptive-rendering.md | 2 ++
components/colorpicker/overview.md | 1 +
2 files changed, 3 insertions(+)
diff --git a/common-features/adaptive-rendering.md b/common-features/adaptive-rendering.md
index cd5907d4e4..bc6937dcd1 100644
--- a/common-features/adaptive-rendering.md
+++ b/common-features/adaptive-rendering.md
@@ -25,6 +25,7 @@ The adaptive rendering functionality is supported by the following components:
* [AutoComplete]({%slug autocomplete-overview%})
* [ComboBox]({%slug components/combobox/overview%})
+* [ColorPicker]({%slug colorpicker-overview%})
* [DatePicker]({%slug components/datepicker/overview%})
* [DateRangePicker]({%slug daterangepicker-overview%})
* [DateTimePicker]({%slug components/datetimepicker/overview%})
@@ -73,6 +74,7 @@ Some of the [supported components](#supported-components) allow custom values, f
* [Live Demo: AutoComplete](https://demos.telerik.com/blazor-ui/autocomplete/adaptive)
* [Live Demo: ComboBox](https://demos.telerik.com/blazor-ui/combobox/adaptive)
+* [Live Demo: ColorPicker](https://demos.telerik.com/blazor-ui/colorpicker/adaptive)
* [Live Demo: DatePicker](https://demos.telerik.com/blazor-ui/datepicker/adaptive)
* [Live Demo: DateRangePicker](https://demos.telerik.com/blazor-ui/daterangepicker/adaptive)
* [Live Demo: DateTimePicker](https://demos.telerik.com/blazor-ui/datetimepicker/adaptive)
diff --git a/components/colorpicker/overview.md b/components/colorpicker/overview.md
index 7416977d61..95e0170184 100644
--- a/components/colorpicker/overview.md
+++ b/components/colorpicker/overview.md
@@ -74,6 +74,7 @@ The ColorPicker tag exposes the following features through its attributes:
| Parameter | Type and Default Value | Description |
| --- | --- | --- |
+| `AdaptiveMode` | `AdaptiveMode`
(`None`) | The [adaptive mode]({%slug adaptive-rendering%}) of the component. |
| `Value` | `string` | The ColorPicker value in a few [different color formats](#supported-value-formats). Supports two-way binding. |
| `ValueFormat` | `ColorFormat` enum
(`Rgb`) | Sets the color format, which the component will return in the application code - `Rgb` or `Hex`. |
| `ColorPickerViews` | `RenderFragment` | A nested container to list the [ColorPicker views]({%slug colorpicker-views%}). All views are enabled by default and the user can switch between them with the buttons. Each view tag has its own configuration attributes. |