You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ced4070
Browse filesBrowse the repository at this point in the historyBrowse files
* feat(ui): move Strata onto graphite-ui 0.6.0-rc.1 and its Material UI buttons
Installs graphite-ui 0.6.0-rc.1 with its @mui/material and Emotion peers. Strata's Button, ButtonLink, ButtonAnchor, IconButton, IconLink and TextButton keep their props and now render graphite-ui's MUI-based Button and IconButton, so every call site gets the new buttons.
* feat(ui): move Strata's action buttons onto the Material UI buttons
Text-button actions in comments, icon picking, load errors, category chips, database views, properties and the meal plan use TextButton, icon-only ones use graphite-ui's small IconButton, and FormDialog's danger submit, the AM/PM toggle, the crash page's home link, the file picker and the open-original bookmark link use MUI buttons. Menu triggers, inline prose links and purpose-built controls keep their classes.
* feat(ui): move Strata's plain text fields onto the Material UI fields
The comment box, quick-add task, property and option names, the weather place search and address lines, the shortcut fields and the capture note use graphite-ui's TextField and TextAreaField, with their accessible names as visible labels. Checkboxes, radios, hidden and file inputs and purpose-built inputs (note title, cell editor, currency search, share counts) are unchanged.
* fix(ui): keep Strata's buttons content-width and the weather search on its own line
MUI buttons stretched to the full row inside grid layouts, so the button wrappers, the file picker and the meal plan's add buttons get w-fit back. The weather place search starts at 10rem and wraps above its buttons in narrow widgets instead of shrinking to a sliver.
* feat(ui): finish moving Strata onto Material UI and drop duplicate components
Menu triggers use triggerVariant; checkboxes and radios use graphite-ui Checkbox and Radio; message boxes are MUI Alerts; prose links are MUI Links; chips, toggle groups, list buttons and inputs use MUI. Strata's IconButton wrapper, buttonClass, unreadBadge and the hand-built CurrencyField and DayOfMonthField pickers give way to graphite-ui's IconButton, MUI Badge, Select and GridListbox, and TimeField's trigger is graphite-ui's PickerField. Removes the CSS for the old chips, note tools and icon picker.
* chore(deps): graphite-ui 1.0.0
exportfunctionActionsMenu({ items, name }: {items: MenuItem[];name: string}){
4
-
return<Menuitems={items}label={`${name} actions`}trigger={<Iconname="more"size={18}/>}triggerClassName="icon-button"triggerLabel={`Actions for ${name}`}/>;
4
+
return<Menuitems={items}label={`${name} actions`}trigger={<Iconname="more"size={18}/>}triggerLabel={`Actions for ${name}`}triggerVariant="icon"/>;
0 commit comments