diff --git a/packages/code-studio/src/styleguide/SpectrumComponents.tsx b/packages/code-studio/src/styleguide/SpectrumComponents.tsx index 97b99641da..8a3b46cc3d 100644 --- a/packages/code-studio/src/styleguide/SpectrumComponents.tsx +++ b/packages/code-studio/src/styleguide/SpectrumComponents.tsx @@ -4,35 +4,58 @@ import { ActionButton, Button, Cell, + Checkbox, + Content, + ContextualHelp, Column, ComboBox, + Form, + Heading, Grid, + Icon, + IllustratedMessage, Item, + minmax, repeat, Row, + Slider, + Switch, TableBody, TableHeader, TableView, + Text, + TextField, + ToggleButton, View, Well, } from '@adobe/react-spectrum'; +import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; +import { vsEmptyWindow, vsStarFull } from '@deephaven/icons'; export function SpectrumComponents(): JSX.Element { return ( <>

Spectrum Components

- +

Buttons

-

Combobox

- - One - Two - Three - +

Forms

+ +
+ +

Icons

+ +
+ +

Illustrated Message

+ +
+ +

Contextual Help

+

Table View

@@ -99,6 +122,55 @@ function ButtonsSample(): JSX.Element { ); } +function ContextualHelpSample(): JSX.Element { + return ( + + Need help? + + + This is a helpful description of the thing you need help with. + + + + ); +} + +function FormsSample(): JSX.Element { + return ( +
+ + + + One + Two + Three + + Checkbox + +
+ ); +} + +function IconSample(): JSX.Element { + return ( + + + + ); +} + +function IllustratedMessageSample(): JSX.Element { + return ( + + + + + No results + Try another search + + ); +} + function TableViewSample(): JSX.Element { return (