♻️ (builder) Remove barrel export and flatten folder arch

This commit is contained in:
Baptiste Arnaud
2023-03-15 11:51:30 +01:00
parent cbc8194f19
commit 44d7a0bcb8
498 changed files with 1542 additions and 1786 deletions

View File

@@ -1 +0,0 @@
export { ChatThemeSettings } from './ChatThemeSettings'

View File

@@ -1 +0,0 @@
export { BackgroundSelector } from './BackgroundSelector'

View File

@@ -1 +0,0 @@
export { FontSelector } from './FontSelector'

View File

@@ -1 +0,0 @@
export { GeneralSettings } from './GeneralSettings'

View File

@@ -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'

View File

@@ -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()

View File

@@ -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