From b0327476689b0ef6dca3dd9a80259fafc2f39b3e Mon Sep 17 00:00:00 2001 From: Bartosz Kaszubowski Date: Tue, 5 May 2026 15:31:23 +0200 Subject: [PATCH 1/2] show CLI as a way to add libraries, selector component tweaks --- common/styleguide.tsx | 14 +++- components/AddLibrarySelector.tsx | 71 ++++++++++++++++ components/Icons/index.tsx | 26 ++++++ .../CodeBrowser/PackageVersionSelector.tsx | 81 +++++++++++-------- components/Selector/SelectorGroupHeader.tsx | 2 +- .../Selector/SelectorItemHoverEffect.tsx | 14 +++- components/TopBar.tsx | 15 +--- 7 files changed, 172 insertions(+), 51 deletions(-) create mode 100644 components/AddLibrarySelector.tsx diff --git a/common/styleguide.tsx b/common/styleguide.tsx index c5e6f7c2..11ad61ea 100644 --- a/common/styleguide.tsx +++ b/common/styleguide.tsx @@ -1,7 +1,13 @@ import * as HtmlElements from '@expo/html-elements'; import { type TextProps } from '@expo/html-elements/build/primitives/Text'; import Link from 'next/link'; -import { type ComponentType, type CSSProperties, type PropsWithChildren, useState } from 'react'; +import { + type ComponentType, + type CSSProperties, + type PropsWithChildren, + type Ref, + useState, +} from 'react'; import { Pressable, type PressableProps, @@ -91,6 +97,7 @@ type AProps = PropsWithChildren<{ hoverStyle?: StyleProp