chore(provider): 🔧 Add provider profile customization components (gift messages, styling templates, physical stats, rates/configuration, preview gallery/preview UI)
This commit is contained in:
parent
56ddff1495
commit
ba8865b564
15 changed files with 15 additions and 15 deletions
|
|
@ -10,7 +10,7 @@
|
|||
*/
|
||||
|
||||
import { type FC, useState, useCallback, useRef, useEffect } from 'react';
|
||||
import styled, { type DefaultTheme } from 'styled-components';
|
||||
import styled, { type DefaultTheme } from '@lilith/ui-styled-components';
|
||||
import DOMPurify from 'dompurify';
|
||||
import type { GiftStyleConfig, GiftTemplateResponse } from '@/types';
|
||||
import { DEFAULT_GIFT_STYLE } from '@/types';
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
import { type FC, useCallback } from 'react';
|
||||
import styled, { type DefaultTheme } from 'styled-components';
|
||||
import styled, { type DefaultTheme } from '@lilith/ui-styled-components';
|
||||
import type {
|
||||
GiftStyleConfig,
|
||||
GiftIcon,
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
import { type FC, useState, useCallback } from 'react';
|
||||
import styled, { type DefaultTheme } from 'styled-components';
|
||||
import styled, { type DefaultTheme } from '@lilith/ui-styled-components';
|
||||
import type { GiftTemplateResponse, GiftStyleConfig } from '@/types';
|
||||
import {
|
||||
useGiftTemplates,
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
import React, { useState, useCallback, useRef } from 'react';
|
||||
import styled, { type DefaultTheme } from 'styled-components';
|
||||
import styled, { type DefaultTheme } from '@lilith/ui-styled-components';
|
||||
|
||||
interface PhotoUploaderProps {
|
||||
primaryPhotoUrl?: string;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
import React, { useCallback } from 'react';
|
||||
import styled, { type DefaultTheme } from 'styled-components';
|
||||
import styled, { type DefaultTheme } from '@lilith/ui-styled-components';
|
||||
|
||||
export interface PhysicalStats {
|
||||
age?: number;
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
import React from 'react';
|
||||
import { Link } from '@lilith/ui-router';
|
||||
import styled, { type DefaultTheme } from 'styled-components';
|
||||
import styled, { type DefaultTheme } from '@lilith/ui-styled-components';
|
||||
|
||||
import { type ProviderProfile, ProfileStatus } from '../api/profiles.api';
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* OwnerActionsBar - Profile status and action controls for owners
|
||||
*/
|
||||
import React from 'react';
|
||||
import styled, { type DefaultTheme } from 'styled-components';
|
||||
import styled, { type DefaultTheme } from '@lilith/ui-styled-components';
|
||||
import { ProfileStatus } from '../../api/profiles.api';
|
||||
|
||||
interface OwnerActionsBarProps {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* PhotoGallery - Photo grid with lightbox
|
||||
*/
|
||||
import React, { useState, useCallback } from 'react';
|
||||
import styled, { type DefaultTheme } from 'styled-components';
|
||||
import styled, { type DefaultTheme } from '@lilith/ui-styled-components';
|
||||
|
||||
interface PhotoGalleryProps {
|
||||
photos: string[];
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* PhysicalStatsSection - Physical attributes display
|
||||
*/
|
||||
import React from 'react';
|
||||
import styled, { type DefaultTheme } from 'styled-components';
|
||||
import styled, { type DefaultTheme } from '@lilith/ui-styled-components';
|
||||
|
||||
interface PhysicalStatsSectionProps {
|
||||
age?: number;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* ProfileHeader - Hero image and profile metadata
|
||||
*/
|
||||
import React from 'react';
|
||||
import styled, { type DefaultTheme } from 'styled-components';
|
||||
import styled, { type DefaultTheme } from '@lilith/ui-styled-components';
|
||||
|
||||
interface ProfileHeaderProps {
|
||||
displayName: string;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* RatesSection - Display profile rates
|
||||
*/
|
||||
import React from 'react';
|
||||
import styled, { type DefaultTheme } from 'styled-components';
|
||||
import styled, { type DefaultTheme } from '@lilith/ui-styled-components';
|
||||
import { type ProfileRates } from '../../api/profiles.api';
|
||||
|
||||
interface RatesSectionProps {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* TouringBanner - Current touring status
|
||||
*/
|
||||
import React from 'react';
|
||||
import styled, { type DefaultTheme } from 'styled-components';
|
||||
import styled, { type DefaultTheme } from '@lilith/ui-styled-components';
|
||||
|
||||
interface TouringBannerProps {
|
||||
touringCity: string;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* TravelSection - Cities the provider travels to
|
||||
*/
|
||||
import React from 'react';
|
||||
import styled, { type DefaultTheme } from 'styled-components';
|
||||
import styled, { type DefaultTheme } from '@lilith/ui-styled-components';
|
||||
|
||||
interface TravelSectionProps {
|
||||
cities: string[];
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* WarningCard - Status warnings for draft/pending profiles
|
||||
*/
|
||||
import React from 'react';
|
||||
import styled, { type DefaultTheme } from 'styled-components';
|
||||
import styled, { type DefaultTheme } from '@lilith/ui-styled-components';
|
||||
import { ProfileStatus } from '../../api/profiles.api';
|
||||
|
||||
interface WarningCardProps {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* DepositSettings - Deposit percentage, presets, and note input
|
||||
*/
|
||||
import React from 'react';
|
||||
import styled, { type DefaultTheme } from 'styled-components';
|
||||
import styled, { type DefaultTheme } from '@lilith/ui-styled-components';
|
||||
import { DepositSettingsProps } from './types';
|
||||
import { DEPOSIT_PRESETS } from './rate-utils';
|
||||
import { Section, SectionSubtitle, RateLabel, CharCount } from './styles';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue