121b75f63a
Add clear button to Combobox input
...
* It only shows up when there is text in the input
* Clicking it clears the text in the input
* It uses CharLimitedFieldset's classes
2023-06-05 21:01:24 -07:00
2908c33b2c
Update CharLimitedFieldset class name
2023-06-05 21:00:54 -07:00
f85e3ac85e
Update side offset for Popover
2023-06-05 21:00:43 -07:00
42cc3b4f92
Add small shadow to Tooltip
2023-06-05 20:25:34 -07:00
659967f710
Replace RaidDropdown with RaidCombobox
2023-06-05 20:25:27 -07:00
436bec07b5
Updates themes and variables
2023-06-05 20:24:35 -07:00
d622d79f19
Add RaidCombobox and RaidItem components
...
* RaidCombobox combines Popover and Command to create an experience where users can browse through raids by section, search them and sort them.
* RaidItem is effectively a copy-paste of SelectItem using CommandItem, adding some raid-specific styles and elements
2023-06-05 20:24:26 -07:00
f8d2ccd012
Add Command component
...
The Command component is a wrapper over CMDK's Command component. Pretty much every object in that library is wrapped here. We will use this for the guts of our combobox.
2023-06-05 20:22:41 -07:00
07e43f4309
Add Popover component
...
* Popover is a wrapper of Radix's Popover component that we will use to wrap the combobox.
* Move styles that were in PopoverContent.scss to Popover.scss
2023-06-05 20:21:35 -07:00
6a7cfb230d
Remove raid prop from Party
2023-06-05 20:20:34 -07:00
106b2b8ee4
Update Select component
...
* data-placeholder style should match only if true
* Adjust corner radius to match cards instead of inputs
* Fix classNames call in SelectItem
2023-06-05 20:20:23 -07:00
4e63a6593b
Update SegmentedControl component
...
* Add className and blended properties
* Segment gets flex-grow
2023-06-05 20:19:10 -07:00
c9014913db
Add api call for raidGroups and update pages
...
Pages fetch raids and store them in the app state. We needed to update this to pull raid groups instead
2023-06-05 20:18:17 -07:00
2eea7a84e7
Rename Arrow.svg to Chevron.svg
...
Also added a new Arrow.svg with a stem
2023-06-05 20:16:39 -07:00
4bb8fc5df3
Update dependencies
...
* Update react and react-dom to at least 18.0.0
* Install cmdk
2023-06-05 20:15:23 -07:00
2f5b1582cd
Update types
...
Added RaidGroup and updated Raid, then updated dependent types and objects
2023-06-05 20:14:30 -07:00
321ddf0dc0
Update and reorganize localization files
2023-06-05 20:13:46 -07:00
d5525da7a7
Update .gitignore
2023-06-05 03:30:04 -07:00
9ab9520ac9
Add raid placeholder string to locale
2023-06-05 03:29:40 -07:00
715fa021de
Add guidebooks to DetailsObject
2023-04-20 02:34:54 -07:00
e5e135703f
Move read only buttons to PartyHeader
...
Also broke up tokens and made them easier to render
2023-04-20 02:34:18 -07:00
4403079733
Display guidebook validation error
2023-04-19 04:01:46 -07:00
bf77a4ffc7
Add support for removing guidebooks
2023-04-19 04:01:22 -07:00
59d264f3c3
Change to 1-indexing for guidebooks
2023-04-19 03:57:19 -07:00
aa904b4754
Properly determine when extra container should display
2023-04-19 01:15:42 -07:00
0d5c99c4e2
Fix dependency
2023-04-19 00:52:29 -07:00
8dbdd9fe49
Update styles
2023-04-19 00:36:40 -07:00
c793fdb6a9
Implement searching for/adding guidebooks to party
2023-04-19 00:36:32 -07:00
926e892b51
Remove old dependencies and props
2023-04-19 00:35:21 -07:00
662c2b0d5d
Remove extra switch
2023-04-19 00:32:54 -07:00
f2ba8ddbea
Implement GuidebooksGrid in WeaponGrid
2023-04-19 00:30:53 -07:00
a60630cdf1
Add Empty class to weapons when unit is unfilled
2023-04-19 00:30:08 -07:00
c152436df3
Visual adjustments to summon grid
2023-04-19 00:29:10 -07:00
76aadfbc15
Added GuidebooksGrid and GuidebookUnit
...
These are the display components for Guidebooks in the WeaponGrid
2023-04-19 00:27:39 -07:00
ba52ba4fb0
Move ExtraWeapons to ExtraWeaponsGrid
...
And put it in ExtraContainer
2023-04-19 00:25:41 -07:00
f6bc76e1d1
Add ExtraContainer
...
This is the purple container that will contain additional weapons and sephira guidebooks
2023-04-19 00:23:35 -07:00
f948c25e28
Indicate if a dialog is scrollable
...
We had broken paging in the infinite scroll component. Turning off "scrolling" at the dialog levels fixes it without adding scrollbars in environments that persistently show them
2023-04-19 00:21:35 -07:00
1e38b2921e
Update gitignore
...
Don't commit guidebook images
2023-04-19 00:19:41 -07:00
3bb60ae99c
Add Guidebook type and update other types
2023-04-19 00:19:25 -07:00
7a219076e6
Add localizations
2023-04-19 00:18:39 -07:00
e19da2d1b4
Add placeholder image for guidebooks
2023-04-19 00:18:31 -07:00
440157a4ba
Small fixes for weapon grid
2023-04-16 04:18:42 -07:00
68349da1e7
Remove duplicated code
...
This is description and remix code that is still in `PartyDetails`
2023-04-16 04:03:36 -07:00
f8df3a2a49
Began refactoring PartyDetails into several files
...
* PartyHeader will live at the top, above the new segmented control
* PartyDetails stays below, only showing remixed teams and the description
* PartyDropdown handles the new ... menu
2023-04-16 03:54:07 -07:00
ef5fd20497
Added an alert for when remixing teams
2023-04-16 03:52:10 -07:00
c365f857b0
Extract delete team alert into a file
...
Also, to support this:
* Added `Destructive` class to Button
* Added `primaryActionClassName` prop to Alert
2023-04-16 03:51:55 -07:00
7c3f03f20e
Extract URL copied and Remixed toasts into files
2023-04-16 03:50:35 -07:00
b8d4529f21
Modify PartySegmentedControl to use RepSegments
...
This will not work on mobile yet, where it should gracefully degrade to a normal SegmentedControl with only text
2023-04-16 03:50:12 -07:00
1c09a5cc9c
Added RepSegment
...
This is a Character, Weapon or Summon rep wrapped with an input and label for use in a SegmentedControl
2023-04-16 03:49:21 -07:00
bad870a546
Add reps for grid objects
...
These reps act like the existing PartyRep except for Characters and Summons, as well as a new component just for Weapons.
They only render the grid of objects and nothing else.
Eventually PartyRep will use WeaponRep
2023-04-16 03:48:47 -07:00