Commit Graph
891 Commits
Author SHA1 Message Date
durstann 07114d50b9 resolve merge conflicts 2026-08-31 16:04:34 -07:00
Víctor Losada Hernández a0ab1fd3b9 Merge branch 'master' into meta_a11y 2026-08-30 12:05:00 +02:00
Víctor Losada Hernández f559751f4e Merge branch 'master' of https://github.com/naturalcrit/homebrewery into add-cm-features 2026-08-29 21:26:04 +02:00
Víctor Losada Hernández 613cea91a3 skim lines 2026-08-23 22:11:30 +02:00
Víctor Losada Hernández 9a8148a179 remove lodash use 2026-08-23 21:56:37 +02:00
Víctor Losada Hernández fbf406dccd fix small issue 2026-08-23 21:43:46 +02:00
Víctor Losada Hernández 94ec0f15f6 minify some things 2026-08-23 20:19:03 +02:00
Víctor Losada Hernández ac30edffd6 lint 2026-08-23 20:16:10 +02:00
Víctor Losada Hernández b655454348 remove rerenderparent hook 2026-08-23 20:14:12 +02:00
Víctor Losada Hernández f53ed8c8e7 this is mostly working 2026-08-23 19:52:11 +02:00
firstmatekidd 4cf8c27ac4 Merge branch 'master' into meta_a11y 2026-08-20 13:54:36 -07:00
durstann 119d3277a5 Make snippet elements buttons so they can be interacted with a keyboard. 2026-08-17 11:14:50 -07:00
Víctor Losada Hernández 4ddc409129 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into add-cm-features 2026-08-16 17:16:38 +02:00
Víctor Losada Hernández 3442c877f8 final touches to snippetbar breakpoints 2026-08-16 10:41:27 +02:00
durstann 9275ac4d12 Make metadata editor more accessible. 2026-08-07 20:25:32 -07:00
Víctor Losada Hernández 98d579fc8a Merge branch 'master' into Accessible-Dropdowns 2026-07-29 18:38:57 +02:00
Víctor Losada Hernández bd2b7db5ab suggested change 2026-07-29 15:19:44 +02:00
Gazook89 caeeabc735 fixes to colors, and editor wrapping breakpoint. 2026-07-27 21:47:58 -05:00
Víctor Losada Hernández 9c0eb5f3a9 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into add-cm-features 2026-07-26 11:20:38 +02:00
Víctor Losada Hernández 16ec16c6b8 small changes 2026-07-26 01:05:13 +02:00
Víctor Losada Hernández 2a6e77731b Merge branch 'master' of https://github.com/naturalcrit/homebrewery into add-remove-author-if-owner 2026-07-26 00:22:32 +02:00
Gazook89 fd6fd98fdc Add @components aliases to vite config
And update all the files to point to that directory to use the alias.
2026-07-11 17:41:49 -05:00
Gazook89 fe297a47b2 cleanup extra css
Remove some unused css rules that weren't cut before, and a little bit of rearranging to group "dropdown" stuff together and "tools" together.
2026-07-09 14:14:21 -05:00
Gazook89 5d67d48436 Add custom properties to dropdown.less
Adds registered custom properties to the dropdown menus, which can be set in another stylesheet at any level (either on the direct element or on an ancestor) or use the default values given.
2026-07-09 14:13:22 -05:00
Gazook89 794c2fa09d add disabled attribute to items. beta to status
Adds the `disabled` attribute to a menu-item button if it's disabled, not just as a className.  Styling changes centered on that as well.

Also changes the `beta` class to `status` because it is used for both `beta` and `disabled` indicators.  Styling changes for that.
2026-07-09 14:10:49 -05:00
Gazook89 6f1ad35492 add aria labels to items 2026-07-08 23:35:45 -05:00
Gazook89 8e720d1c60 Set html structure to ul/li. Set roles.
The snippets are a `menubar` in terms of role, and is a list of items (`menitem`, `li`).

Note for myself:  submenus are `menu` roles that immediately follow their triggering `menuitem` and are direct children of the parent `menu`, per WCAG.  This is done in this commit.
2026-07-08 22:06:00 -05:00
Gazook89 416161e617 fix to previous commit. 2026-07-02 23:44:19 -05:00
Gazook89 3836150e42 hide arrows on snippetbar triggers, improve spacing
to decrease the width used for the snippet bar triggers, removed the down arrows (for the top level triggers only).  And, reduced the padding on the icons in the snippetbar while retaining it inside the menus.

The icons still align between the menu list and the menu trigger, but the text labels do not.
2026-07-02 23:40:01 -05:00
Gazook89 1861d036b9 add key to dropdown menuitem 2026-06-09 06:25:31 -05:00
Gazook89 c12a188196 Be sure snippet icon is getting passed in 2026-05-28 11:45:14 -05:00
Gazook89 5e122626d4 Merge branch 'master' into Better-Dropdowns 2026-05-27 22:22:34 -05:00
Gazook89 612614fa12 menu items dismiss menu on click by default
Unless a menu item has the `no-dismiss` attribute (set to either `''` or `'true'`), clicking a menu item will dismiss the menu.  Clicking a submenu trigger will not dismiss the menu.

The `no-dismiss` attribute must take a string, either empty or `'true'` because react doesn't allow boolean custom attributes.
2026-05-27 22:21:28 -05:00
Víctor Losada Hernández 9d95046c5a make linter happy 2026-05-23 09:00:54 +02:00
Víctor Losada Hernández 5b1c694447 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into add-cm-features 2026-05-21 00:37:33 +02:00
Víctor Losada Hernández 15db3c9f66 lint client 2026-05-18 16:21:57 +02:00
Víctor Losada Hernández 3ca7f81ad7 hate having to edit this every time 2026-05-13 23:09:38 +02:00
Víctor Losada Hernández 0540479e09 crude basic animation and button 2026-05-13 21:55:53 +02:00
Gazook89 00efbb7244 fix state variable themeSelector 2026-04-26 21:09:18 -05:00
Gazook89 285522d820 all snippet buttons are actually buttons now 2026-04-23 22:56:29 -05:00
Gazook89 904b14af19 icons in triggers and menus are aligned. 2026-04-23 22:52:39 -05:00
Gazook89 0c78a23c76 remove testing menu 2026-04-23 22:28:21 -05:00
Gazook89 992b72ee6f empty menus styled as disabled 2026-04-23 22:17:52 -05:00
Gazook89andCopilot 8bebbdac5d restore styling to work with new structure.
Co-authored-by: Copilot <copilot@github.com>
2026-04-23 22:10:51 -05:00
Gazook89andCopilot 3b6c7acdbf snippet submenu triggers don't fire events onclick
Co-authored-by: Copilot <copilot@github.com>
2026-04-23 10:42:58 -05:00
Víctor Losada Hernández f863871173 move darkvision to library, and sort themes 2026-04-22 17:05:17 +02:00
Víctor Losada Hernández 49e4f0a597 css reordering 2026-04-22 12:34:50 +02:00
Víctor Losada Hernández cd946bffaf remove old cm themes library 2026-04-21 23:19:02 +02:00
Víctor Losada Hernández 0ed772b054 add back cm5-themes 2026-04-21 20:50:04 +02:00
Víctor Losada Hernández 98749ed3e0 lint pass 2026-04-15 10:28:28 +02:00