…lines 1–70 unchanged (70 lines)
71 <Button className="flex items-center bg-transparent transition-all">
72 <Icon icon="caret-down" />
73 </Button>
74 </Group>
75 <Popover className="flex flex-col overflow-y-hidden">
76 <ListBox
77 className="max-h-80 select-none overflow-y-auto rounded-md border border-solid border-(--hl-sm) bg-(--color-bg) py-1 text-sm shadow-lg focus:outline-hidden"
78 items={BUILT_IN_ENCODINGS}
79 aria-label="Encoding List"
80 autoFocus
81 >
82 {item => (
83 <ListBoxItem
84 aria-label={item.label}
85 textValue={item.label}
86 className="flex h-(--line-height-xs) w-full items-center gap-2 whitespace-nowrap rounded-sm bg-transparent px-(--padding-md) text-(--color-font) transition-colors hover:bg-(--hl-sm) focus:bg-(--hl-xs) focus:outline-hidden disabled:cursor-not-allowed aria-disabled:cursor-not-allowed aria-disabled:opacity-30 aria-selected:font-bold data-focused:bg-(--hl-xs)"
87 >
88 {({ isSelected }) => (
89 <>
90 <span>{item.label}</span>
91 {isSelected && <Icon icon="check" className="ml-1 justify-self-end text-(--color-success)" />}
92 </>
…lines 93–101 unchanged (9 lines)