♻️ (builder) Remove barrel export and flatten folder arch
This commit is contained in:
@@ -1 +0,0 @@
|
||||
export { ChatThemeSettings } from './ChatThemeSettings'
|
||||
@@ -1 +0,0 @@
|
||||
export { BackgroundSelector } from './BackgroundSelector'
|
||||
@@ -1 +0,0 @@
|
||||
export { FontSelector } from './FontSelector'
|
||||
@@ -1 +0,0 @@
|
||||
export { GeneralSettings } from './GeneralSettings'
|
||||
@@ -1,5 +1,6 @@
|
||||
import { Seo } from '@/components/Seo'
|
||||
import { TypebotHeader, useTypebot } from '@/features/editor'
|
||||
import { TypebotHeader } from '@/features/editor/components/TypebotHeader'
|
||||
import { useTypebot } from '@/features/editor/providers/TypebotProvider'
|
||||
import { Flex } from '@chakra-ui/react'
|
||||
import { Standard } from '@typebot.io/react'
|
||||
import { ThemeSideMenu } from './ThemeSideMenu'
|
||||
|
||||
@@ -11,10 +11,11 @@ import {
|
||||
import { ChatIcon, CodeIcon, PencilIcon } from '@/components/icons'
|
||||
import { ChatTheme, GeneralTheme } from '@typebot.io/schemas'
|
||||
import React from 'react'
|
||||
import { ChatThemeSettings } from './ChatSettings'
|
||||
import { CustomCssSettings } from './CustomCssSettings/CustomCssSettings'
|
||||
import { GeneralSettings } from './GeneralSettings'
|
||||
import { headerHeight, useTypebot } from '@/features/editor'
|
||||
import { CustomCssSettings } from './CustomCssSettings'
|
||||
import { useTypebot } from '@/features/editor/providers/TypebotProvider'
|
||||
import { headerHeight } from '@/features/editor/constants'
|
||||
import { ChatThemeSettings } from './chat/ChatThemeSettings'
|
||||
import { GeneralSettings } from './general/GeneralSettings'
|
||||
|
||||
export const ThemeSideMenu = () => {
|
||||
const { typebot, updateTypebot } = useTypebot()
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Flex, Text } from '@chakra-ui/react'
|
||||
import { Background, BackgroundType } from '@typebot.io/schemas'
|
||||
import React from 'react'
|
||||
import { ColorPicker } from '../../../../../components/ColorPicker'
|
||||
import { ColorPicker } from '../../../../components/ColorPicker'
|
||||
|
||||
type BackgroundContentProps = {
|
||||
background?: Background
|
||||
Reference in New Issue
Block a user