Commit graph

68 commits

Author SHA1 Message Date
2c4d9b1ab5 Make things that should be bound, bound 2023-07-03 19:22:45 -07:00
1b4c7ea588 Increase spacing of range mod style 2023-07-03 19:03:52 -07:00
2cd6513aa4 Add extra modifier styles to Input/Select 2023-07-02 16:26:20 -07:00
1f26b0afc8 Fix SelectWithInput styles and functionality
* Adapts styles for CSS modules
* Add name to errors
* Properly sends validity
2023-07-02 16:26:05 -07:00
c763a81e21 Alert overlays should display over modals
We were using the same Overlay with no changes, so alerts would display over modals without an overlay behind them
2023-07-02 16:18:13 -07:00
37ca90a18c Fix conflict CSS
Was accidentally adding it to a declaration that was setting min-height instead of max-height
2023-07-02 03:31:13 -07:00
fba1a6dfde Update styles for conflict modals
* The actual styles for these were in DialogContent and had been deleted, so we fetched them from a previous commit
* Conflict modals get added to the exception that gives them a taller max height
* We can probably combine the meat of these into a ConflictDiagram component
2023-07-02 03:19:03 -07:00
2e2f22d36f Move slideRight animation into Toast component 2023-07-02 02:44:07 -07:00
b8b3f2fffb Fix placeholder text and formatting
This fixes Textarea's placeholder text to be consistent with Input, as well as allows us to use new lines in the placeholder
2023-07-02 02:23:23 -07:00
3a684abf57 Fixes bug with SliderTablefield control
This fixes a bug where the SliderTableField's slider was not changing the input's value.

We essentially let the parent component control the value so the component is only ever reading from props, instead of using its stored state as a display.
2023-07-02 02:23:00 -07:00
f9a8d1db5c Passes along the autoFocus prop to Select
This passes along the autoFocus prop to the root Select component, and exposes it in SelectTableField
2023-07-02 02:21:31 -07:00
730bf0eac5 Hide text overflow in trigger
The Popover trigger (specifically for RaidCombobox) would stretch or break lines when given a long value. This makes it so that the text will always stay on one line and hide its overflow with an ellipsis if necessary
2023-07-02 02:20:43 -07:00
9f890ae253 Update Input
* Add fieldsetClasses prop
* Fallback to an empty string if value is undefined
* Fix focus ring to be consistent with our other custom focus rings
* Fix placeholder color
2023-07-02 02:19:47 -07:00
e8d1da58d5 Update DurationInput and remove old classes 2023-07-02 02:18:46 -07:00
d57b0fed23 Give visual focus state to close button 2023-07-02 02:18:06 -07:00
619eff2ad7 Revert Command changes
This seems to rely on these specific styles and it works, so we'll leave it alone for now.
2023-07-02 02:17:51 -07:00
9dd3260761 Update DialogContent
* Shrunk max-height to 60vh, and remove it for search
* Added an explicit width, as using min/max-width interferes with the contentEditable div in EditPartyModal
* Added custom styles for EditPartyModal
* Removed unused styles
2023-07-02 02:07:55 -07:00
0801693218 Use CSS modules with Command
We don't really use all of these exports, but we made it so that className gets passed properly to `styles` when we do
2023-07-02 02:06:15 -07:00
a6026cc592 Add custom styles for remixed pill
This pill displays when a party is a remix. We shrunk it so it wasn't quite the size of a normal small button, and then added disabled states for if the original party was deleted
2023-07-02 02:05:42 -07:00
da2d0cfc8e Remove unused code
Dependencies and components that were no longer used
2023-07-02 02:04:30 -07:00
db9193531c Add prop for destructive dropdown menu items 2023-06-30 23:04:51 -07:00
ab702edb4b Don't show <img> when there is no icon 2023-06-30 23:04:36 -07:00
a991011115 Add custom Button styles 2023-06-30 22:25:47 -07:00
5f3b1dadce Remove unused style import 2023-06-30 22:25:36 -07:00
c8fccc9a13 Update Segment styles
Notably, there's a nice transition now
2023-06-30 22:25:26 -07:00
3fbd4aac69 Update SegmentedControl
* Forward refs to SegmentedControl
* Allow passing of className via props
* Specific styles for RaidCombobox and something else
* Use small-tablet breakpoint
2023-06-30 22:25:09 -07:00
a4dbcebf0b Update SelectGroup styles 2023-06-30 22:23:21 -07:00
f89cdcdddd Center text on triggers on small screen sizes 2023-06-30 22:23:12 -07:00
a3a205fb5d Update Input and InputTableField
* Added error and label to input, in a fieldset
* Updated prop labels in InputTableField
2023-06-30 22:22:54 -07:00
bb81a54055 Added new Textarea component
This is a content editable div to prepare for when we add tagging and formatting
2023-06-30 22:17:34 -07:00
46a2a5c8f5 Removed LabelledInput 2023-06-30 22:16:37 -07:00
4a0865c088 Add missing animations to Toast 2023-06-30 22:14:20 -07:00
8cb41bc82c Update select component
* Align the popover
* Pass down classes from props
* Adds local animation
* Remove modal style
* Add full width style
2023-06-30 14:05:05 -07:00
58d1320484 Add local animation to Tooltip 2023-06-30 14:02:12 -07:00
d4ad809dc9 Fix alert styles and overlays
* Update alert styles
* Fix Overlay component to take onClick event handler as a prop
2023-06-30 13:55:46 -07:00
0e10ac5a48 Update PartyHeader and DropdownMenuItem
* Remove extraneous states and hooks from PartyHeader
* Only show PartyDropdown if we are looking at an existing party
* Add destructive prop for DropdownMenuItem
* Remove extraneous classes from PartyDropdown
* Localize dropdown contents
2023-06-30 13:55:01 -07:00
9a16574948 Update table field components
The structure of TableField's image props have changed
2023-06-30 13:10:08 -07:00
f9ba98ca82 Fix slider and switch components 2023-06-30 13:09:31 -07:00
f17232bc5e Pass down class name to Popover
* Other style changes for raid combobox
* Local keyframe animation
2023-06-30 13:09:17 -07:00
4dcbb33feb Add local transition to overlay 2023-06-30 13:08:40 -07:00
fd6e788c4d Update input
Make a consistent height with select triggers and fix props
2023-06-30 12:28:36 -07:00
072f6425f7 Update search modal styles 2023-06-30 12:26:23 -07:00
3434e7042c Button improvements
* Allow for passing className to left and right accessory
* Rename contained to bound
* Rename buttonSize to size
* Add custom button styles
2023-06-30 12:23:02 -07:00
7baa9dddd9 Fix hovercards
* Extracted header into HovercardHeader component
2023-06-30 12:21:54 -07:00
378486954c Updated toasts 2023-06-29 00:48:13 -07:00
9d6fec0a56 Updated TableField and SelectTableField 2023-06-29 00:48:05 -07:00
93007f48f6 Updated Select and SelectItem
Part of this was combining PictureSelectItem and SelectItem, so the former has been removed.
2023-06-29 00:47:48 -07:00
6a9da8e2d8 Remove console.log 2023-06-24 15:35:50 -07:00
52b1307bec Fix context menus 2023-06-24 15:35:39 -07:00
da3e4621d4 Fix select item classes 2023-06-24 15:35:32 -07:00