From 05fac09d1d5b89d90db2702fdc7aca3a74795baf Mon Sep 17 00:00:00 2001 From: Joey Arhar Date: Tue, 9 Jan 2024 16:56:38 -0800 Subject: [PATCH] Update selectlist explainer to stylable select (#976) This change was discussed here: https://github.com/openui/open-ui/issues/970 --- site/src/pages/components/selectlist.mdx | 418 ++++++++--------------- 1 file changed, 148 insertions(+), 270 deletions(-) diff --git a/site/src/pages/components/selectlist.mdx b/site/src/pages/components/selectlist.mdx index 5aab0e8a4..02a38f367 100644 --- a/site/src/pages/components/selectlist.mdx +++ b/site/src/pages/components/selectlist.mdx @@ -1,6 +1,6 @@ --- menu: Active Proposals -name: Selectlist Element (Explainer) +name: Stylable Select Element (Explainer) layout: ../../layouts/ComponentLayout.astro --- @@ -11,49 +11,76 @@ import Image from '../../components/image.astro' ## Table of Contents - [Background](#background) +- [Opting in to the new behavior](#opting-in-to-the-new-behavior) - [Use cases](#use-cases) -- [Testing out the selectlist element](#testing-out-the-selectlist-element) -- [Anatomy of the selectlist element](#anatomy-of-the-selectlist-element) -- [Styling selectlist](#styling-selectlist) - - [Styling parts of the control](#styling-parts-of-the-control) + - [Customizing basic styles](#customizing-basic-styles) + - [Rich content in `