refactor(discovery): ♻️ Implement consistent UI filter component structure
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
649ee9e863
commit
d3413f8285
15 changed files with 0 additions and 15 deletions
|
|
@ -4,7 +4,6 @@
|
|||
* Uses lilith-ui based FilterInputs for consistent theming.
|
||||
*/
|
||||
|
||||
/** @jsxImportSource react */
|
||||
|
||||
import { useMemo } from 'react'
|
||||
import type { ChangeEvent, FC } from 'react';
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
* Groups simpler boolean and single-value filters together
|
||||
*/
|
||||
|
||||
/** @jsxImportSource react */
|
||||
import type { ChangeEvent, FC } from 'react';
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
* TextFilter - Debounced text search filter for string and text attributes.
|
||||
*/
|
||||
|
||||
/** @jsxImportSource react */
|
||||
|
||||
import { useState, useEffect, type FC, type ChangeEvent } from 'react';
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
* Thin wrapper around RangeFilterContent with age-specific configuration.
|
||||
*/
|
||||
|
||||
/** @jsxImportSource react */
|
||||
import type { FC } from 'react';
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
* Uses MultiSelectFilterContent for each attribute with appropriate display modes.
|
||||
*/
|
||||
|
||||
/** @jsxImportSource react */
|
||||
import type { FC } from 'react';
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
* AvailabilityFilterContent - Content for availability filter (no wrapper)
|
||||
*/
|
||||
|
||||
/** @jsxImportSource react */
|
||||
import type { ChangeEvent, FC } from 'react';
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
* BodyArtFilterContent - Tattoos, piercings, and grooming filters
|
||||
*/
|
||||
|
||||
/** @jsxImportSource react */
|
||||
|
||||
import { useState } from 'react'
|
||||
import type { ChangeEvent, FC } from 'react';
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
* Uses MultiSelectFilterContent for each attribute.
|
||||
*/
|
||||
|
||||
/** @jsxImportSource react */
|
||||
import type { FC } from 'react';
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
* ContentFilterContent - Content for content filter (no wrapper)
|
||||
*/
|
||||
|
||||
/** @jsxImportSource react */
|
||||
import type { ChangeEvent, FC } from 'react';
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
* Uses SearchableMultiSelect for 40+ language options with fuzzy search.
|
||||
*/
|
||||
|
||||
/** @jsxImportSource react */
|
||||
|
||||
import type { FC } from 'react';
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,6 @@
|
|||
* />
|
||||
*/
|
||||
|
||||
/** @jsxImportSource react */
|
||||
|
||||
import { useCallback } from 'react'
|
||||
import type { FC } from 'react';
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
* PaymentFilterContent - Content for payment methods filter (no wrapper)
|
||||
*/
|
||||
|
||||
/** @jsxImportSource react */
|
||||
import type { ChangeEvent, FC } from 'react';
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
* - Coverage level, location, and style filters
|
||||
*/
|
||||
|
||||
/** @jsxImportSource react */
|
||||
|
||||
import { useState } from 'react'
|
||||
import type { ChangeEvent, FC } from 'react';
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
* Thin wrapper around RangeFilterContent with pricing-specific configuration.
|
||||
*/
|
||||
|
||||
/** @jsxImportSource react */
|
||||
import type { FC } from 'react';
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@
|
|||
* />
|
||||
*/
|
||||
|
||||
/** @jsxImportSource react */
|
||||
import type { ChangeEvent, FC } from 'react';
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue