fix: restore old select selectors for label to still support the temp design select

deprecated the temp design select in favor of the new one
This commit is contained in:
Christian Andolf
2025-06-12 12:05:13 +02:00
parent 7ee711bb43
commit 73884aa428
12 changed files with 34 additions and 37 deletions

View File

@@ -2,7 +2,7 @@
import { useIntl } from "react-intl"
import Select from "@/components/TempDesignSystem/Select"
import DeprecatedSelect from "@/components/TempDesignSystem/DeprecatedSelect"
import styles from "./filter.module.css"
@@ -30,7 +30,7 @@ export default function Filter({
return (
<form className={styles.filterForm}>
<Select
<DeprecatedSelect
items={countryFilters}
defaultSelectedKey={""}
label={intl.formatMessage({
@@ -42,7 +42,7 @@ export default function Filter({
name="country"
onSelect={(value) => onFilterChange(JobylonFilterKey.country, value)}
/>
<Select
<DeprecatedSelect
items={cityFilters}
defaultSelectedKey={""}
label={intl.formatMessage({
@@ -54,7 +54,7 @@ export default function Filter({
name="city"
onSelect={(value) => onFilterChange(JobylonFilterKey.city, value)}
/>
<Select
<DeprecatedSelect
items={departmentFilters}
defaultSelectedKey={""}
label={intl.formatMessage({
@@ -66,7 +66,7 @@ export default function Filter({
name="department"
onSelect={(value) => onFilterChange(JobylonFilterKey.department, value)}
/>
<Select
<DeprecatedSelect
items={categoryFilters}
defaultSelectedKey={""}
label={intl.formatMessage({

View File

@@ -9,7 +9,7 @@ import {
} from "@/constants/membershipLevels"
import MembershipLevelIcon from "@/components/Levels/Icon"
import Select from "@/components/TempDesignSystem/Select"
import DeprecatedSelect from "@/components/TempDesignSystem/DeprecatedSelect"
import LargeTable from "./LargeTable"
import LevelSummary from "./LevelSummary"
@@ -98,7 +98,7 @@ export default function OverviewTableClient({
}
showDescription={false}
/>
<Select
<DeprecatedSelect
aria-label={intl.formatMessage({
defaultMessage: "Level",
})}
@@ -137,7 +137,7 @@ export default function OverviewTableClient({
return null
}
return (
<Select
<DeprecatedSelect
aria-label={intl.formatMessage({
defaultMessage: "Level",
})}