-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v1.1 UI updates #29
Merged
Merged
v1.1 UI updates #29
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
lgtm |
fiveoutofnine
added a commit
that referenced
this pull request
May 18, 2024
* feat: pnpm -> bun * chore: add walletconnect project id * chore: update * feat: update deps and delete everything * feat: update all deps * feat: ini nav bar * feat: add connect button * feat: add header * feat: `<ChessFeature />` * fix: `font-weight: 300` -> `400` * chore: `FC` -> `React.FC` * feat: add link features * chore: delete unused code * fix: make nav-bar highlight selected page * refactor: naming * feat: error pages * fix: add @fiveoutofnine tweet ID * feat: add `<TxDotCoolFeature />` w/o functionality * feat: add `<TypingFeature />` w/o functionality * perf: move randomization to server-side * fix: add `pino-pretty` as external webpack config * chore: register base * feat: add `<ColormapRegistry />` * chore: ini `<RunningFeature />` * v1.1 UI updates (#29) * chore: ini `<RunningFeature />` * feat: modernize `<Badge />` * fix(`Badge />`): use `text-white`/`text-black` on `intent="primary"` * feat: modernize `<Button />` * chore: cleaner `@/components/ui` exports * fix: `<ConnectButton />` button props type error * feat: modernize `<IconButton />` * feat: modernize `<Select />` * feat: modernize `<HoverCard />` * feat: add `<Avatar />` * fix: make logo hover styles consistent * feat: add `<Accordion />` * feat: add `<Checkbox />` * chore: update * feat: add `<Radio />` * feat: add `<Switch />` * fix: make checked styles consistent * fix: `intent="primary"` -> `intent="info" * chore: update * chore: update * feat: add `intent="white"` * feat: modernize `<Tooltip />` * feat: modernize `<Toaster />` and `toast` * chore: update * feat: add `<TextArea />` * fix: adjust text area padding * feat: add `<Input />` * feat: add `<Popover />` * feat: modernize `<CodeBlock />` * feat: add `<Table />` * feat: add `<Tabs />` * fix: focus state on logo * feat: add `<Command />` and `<Dialog />` * feat: add `<Drawer />` * feat: add `<Form />` * feat: add `<Dropdown />` * fix: dropdown disabled states * chore: bump deps * fix: remove unnecessary tooltip * feat: add multichain sending functionality to tx.cool feature * chore: update * chore: update * chore: update * feat: add colormap definitino viewer * feat: add colormap ID copy * feat: ini `<RunningFeature />` * feat: add supabase type gen (#30) * feat: add supabase type gen * fix: lint * chore: run lint * feat: impl running bar chart * fix: hydration * fix: display time only to last-updated data * chore: delete unused file * feat: ini running heatmap * v1.1 `/design` (#31) * feat: ini running heatmap * feat: ini /design layout * fix: add more visual hierarchy and consistency to nav bar * chore: migrate `<DesignPageNav />` * feat: ini mdx * feat: ini first page * feat: ini MDX components * feat: add `<pre>` * feat: add `<a>`, `<code>`, `<p>` * feat: add design component display accordion * feat: use existing `ToastProps` * chore: update metadata * chore: update metadata * chore: update metadata * chore: add small animation * fix: add `backdrop-blur` to `<CodeBlock />` UI actions * chore: migrate color.mdx * chore: fix button intent * fix: color scale hover styles * chore: update OG image generation to new colors * chore: delete unused files * feat: `<Callout />` component * feat: add metadata export * docs: update colors * fix: `code` styles * chore: add blog page * fix: running bar chart tabs * feat: add running heatmap * chore: twitter -> X * chore: update bio * fix: scroll padding * chore: update * fix: close navbar drawer on navigation * fix: `ariaLabel` -> `aria-label` * v1.1 `/design` docs (#32) * docs: add /`design/libraries` * docs: edit `/design/colors` content * docs: edit `/design/badge` content * docs: edit `/design/button` content * docs: add `<CodeBlock />` content * fix: hard code in display name * docs: edit `<CodeBlock />` content * chore: update * docs: add `<Tooltip />` content * docs: add `<Toast />` content * docs: add `<Select />` content * docs: add `<HoverCard />` content
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@/components/ui
<Accordion />
🆕<Avatar />
🆕<Badge />
type: "text" | "number"
prop (number
has smallerx
-padding)intent="black"
andintent="white"
variantsdata-length-one
ifchildren
implements.toString()
and returns length 1variant="primary"
'sdark:text-white
andtext-black
to justtext-white
for accessibility and consistency (inverted forintent="warning"
)variant="secondary"
'stext-*-9
totext-*-11
for accessibility and consistency<Badge />
as<span>
instead of<div>
<Badge />
has a minimum aspect ratio of1 / 1
intent="primary"
intent="info"
<Button />
<ButtonGroup />
🆕 and corresponding interactive styles (hover:*
andfocus-visible:*
)newTab=false
variant="solid" & { intent="black" | "white" }
variantsbutton-left-icon=""
,button-right-icon=""
, andbutton-content=""
selectorsvariant="primary"
'sdark:text-white
andtext-black
to justtext-white
for accessibility and consistency (inverted forintent="warning"
)variant="outline" | "ghost" | "text"
'stext-*-9
totext-*-11
and addbg-transparent
for accessibility and consistencysize="xl"
'srounded
torounded-md
cursor-not-allowed
and addpointer-events-none
todisabled=true
variantsintent="primary"
intent="info"
<Checkbox />
🆕<CodeBlock />
logo
,breakLines
, andswitcher
propsdiff
syntax highlighting./actions
w/ source switcher<Copy />
/<Check />
icons on copyintent="success"
toast on copy<Command />
🆕<Dialog />
🆕@radix-ui/react-dialog
^1.0.4
^1.0.5
(latest)<Drawer />
🆕<Dropdown />
🆕<Form />
🆕<HoverCard />
@radix-ui/react-hover-card
^1.0.6
^1.0.7
(latest)inPortal
,triggerProps
,defaultOpen
,open
,onOpenChange
as props to preserve component API<IconButton />
<Button />
for consistency and code cleanlinessintent="primary"
intent="info"
<Input />
🆕<Popover />
🆕<Radio />
🆕<Select />
<Button />
for consistency and code cleanlinesspl-*
,pr-*
, andright-*
valuesfullWidth
propvariant="solid" & { intent="black" | "white" }
variantsselect-content=""
selectorvariant="primary"
'sdark:text-white
andtext-black
to justtext-white
for accessibility and consistency (inverted forintent="warning"
)variant="outline" | "ghost"
'stext-*-9
totext-*-11
for accessibility and consistency<Select.Item />
(in favor of the HTML-native<option>
)React.ForwardedRef
intent="primary"
intent="info"
<Switch />
🆕<Table />
🆕<Tabs />
🆕@radix-ui/react-tabs
^1.0.3
^1.0.4
(latest)<TextArea />
🆕<Toaster />
andtoast
intent="primary"
intent="info"
@/components/ui/toaster
@/components/ui/toast
useToast
toast
and imports@radix-ui/react-toast
withsonner
for smoother animations and performance (see Sonner docs for API changes)action
now takes the form ofReactNode | Action
, wheretype Action = { label: string; onClick: () => void }
<Toaster />
higher in the component treehasCloseButton
prop (note: this button will show on hover if on a non-touchscreen device, and always be displayed otherwise)<Tooltip />
@radix-ui/react-tooltip
^1.0.5
^1.0.7
(latest)inPortal
,triggerProps
,defaultOpen
,open
,onOpenChange
as props to preserve component APIMiscellaneous
FC
React.FC
)displayName
s@/components/ui/*/index.tsx
s<Logo />
hover styles toborder
color indicator<Logo />
focus statefocus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-9
tobutton
inglobals.css