Line data Source code
1 : /** Class for a row of the deployment switcher's list. */
2 2355 : export const switcherItemClass =
3 : 'group min-h-8 gap-2 rounded-sm px-2 py-1 text-xs'
4 :
5 : /** Class for the trailing slot each row keeps for its check, chevron or arrow. */
6 2355 : export const switcherTrailingSlotClass = 'flex w-3.5 shrink-0 justify-center'
7 :
8 : /** Class for the switcher's menus to fade and scale in and out. */
9 2355 : export const switcherMenuMotionClass =
10 : 'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0 data-[state=open]:zoom-in-95 data-[state=closed]:zoom-out-95'
11 :
12 : /** Class for the switcher's menus to keep one width that fits the screen. */
13 2355 : export const switcherMenuWidthClass =
14 : 'w-84 max-w-(--reka-dropdown-menu-content-available-width)'
|