From 2b8f421fb20dc2b9e05eb68ea2ec5b65780239c6 Mon Sep 17 00:00:00 2001 From: Joey Arhar Date: Wed, 20 Dec 2023 08:09:01 -0800 Subject: [PATCH 1/2] Update selectlist explainer to stylable select 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..44490cf2f 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 `