<commit_before>import { Flex, Option, Select, Text } from "@artsy/palette"
import { FC } from "react"

interface SavedSearchAlertHeaderProps {
  selected: string
  onSortSelect: (value: string) => void
}

const SORT_OPTIONS: Option[] = [
  { value: "CREATED_AT_DESC", text: "Recently Added" },
  { value: "NAME_ASC", text: "Name (A-Z)" },
]

export const SavedSearchAlertHeader: FC<SavedSearchAlertHeaderProps> = ({
  selected,
  onSortSelect,
}) => {
  return (
    <Flex
      flexDirection={["column", "row"]}
      alignItems={["stretch", "center"]}
      justifyContent="space-between"
      my={4}
    >
      <Text variant="xl" mb={[4, 0]} mr={[0, 2]}>
        Your Alerts
      </Text>

      <Select
        variant="inline"
        title="Sort:"
        options={SORT_OPTIONS}
        selected={selected}
        onSelect={onSortSelect}<commit_msg>chore: update title size for your alerts (#9835)<commit_after>import { Flex, Option, Select, Text } from "@artsy/palette"
import { FC } from "react"

interface SavedSearchAlertHeaderProps {
  selected: string
  onSortSelect: (value: string) => void
}

const SORT_OPTIONS: Option[] = [
  { value: "CREATED_AT_DESC", text: "Recently Added" },
  { value: "NAME_ASC", text: "Name (A-Z)" },
]

export const SavedSearchAlertHeader: FC<SavedSearchAlertHeaderProps> = ({
  selected,
  onSortSelect,
}) => {
  return (
    <Flex
      flexDirection={["column", "row"]}
      alignItems={["stretch", "center"]}
      justifyContent="space-between"
      mb={4}
    >
      <Text variant="lg" mb={[4, 0]} mr={[0, 2]}>
        Your Alerts
      </Text>

      <Select
        variant="inline"
        title="Sort:"
        options={SORT_OPTIONS}
        selected={selected}
        onSelect={onSortSelect}
{'fraction_non_alphanumeric': 0.1553398058252427, 'fraction_numerical': 0.00799543118218161, 'mean_word_length': 3.273170731707317, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '986535', 'n_tokens_mistral': 591, 'n_tokens_neox': 574, 'n_words': 128}