diff --git a/modules/admin/assets/js/components/link/admin-link.js b/modules/admin/assets/js/components/link/admin-link.js index a0e25f89..bff5c40e 100644 --- a/modules/admin/assets/js/components/link/admin-link.js +++ b/modules/admin/assets/js/components/link/admin-link.js @@ -1,4 +1,4 @@ -import { Link } from '@elementor/ui'; +import { Link } from '@elementor/ui/Link'; export const AdminLink = ( { href, children } ) => { return ( diff --git a/modules/admin/assets/js/components/link/promotion-link.js b/modules/admin/assets/js/components/link/promotion-link.js index f8188861..ce84e73e 100644 --- a/modules/admin/assets/js/components/link/promotion-link.js +++ b/modules/admin/assets/js/components/link/promotion-link.js @@ -1,4 +1,6 @@ -import { Stack, Typography, Button } from '@elementor/ui'; +import { Stack } from '@elementor/ui/Stack'; +import { Typography } from '@elementor/ui/Typography'; +import { Button } from '@elementor/ui/Button'; export const PromotionLink = ( { image, alt, title, message, button, link } ) => { return ( diff --git a/modules/admin/assets/js/components/panels/dashboard/home/components/home-hero.js b/modules/admin/assets/js/components/panels/dashboard/home/components/home-hero.js index 6aba0a0f..612e1f01 100644 --- a/modules/admin/assets/js/components/panels/dashboard/home/components/home-hero.js +++ b/modules/admin/assets/js/components/panels/dashboard/home/components/home-hero.js @@ -1,5 +1,7 @@ import { __ } from '@wordpress/i18n'; -import { Box, Stack, Typography } from '@elementor/ui'; +import { Box } from '@elementor/ui/Box'; +import { Stack } from '@elementor/ui/Stack'; +import { Typography } from '@elementor/ui/Typography'; const HomeHero = () => { return ( diff --git a/modules/admin/assets/js/components/panels/dashboard/home/components/home-links-grid.js b/modules/admin/assets/js/components/panels/dashboard/home/components/home-links-grid.js index 10103b12..216f1bc8 100644 --- a/modules/admin/assets/js/components/panels/dashboard/home/components/home-links-grid.js +++ b/modules/admin/assets/js/components/panels/dashboard/home/components/home-links-grid.js @@ -1,4 +1,4 @@ -import { Grid } from '@elementor/ui'; +import { Grid } from '@elementor/ui/Grid'; import { LinksColumn } from './links-column'; export const HomeLinksGrid = ( { linksColumns } ) => { diff --git a/modules/admin/assets/js/components/panels/dashboard/home/components/links-column.js b/modules/admin/assets/js/components/panels/dashboard/home/components/links-column.js index 3395b17d..0637887f 100644 --- a/modules/admin/assets/js/components/panels/dashboard/home/components/links-column.js +++ b/modules/admin/assets/js/components/panels/dashboard/home/components/links-column.js @@ -1,4 +1,6 @@ -import { Grid, Stack, Typography } from '@elementor/ui'; +import { Grid } from '@elementor/ui/Grid'; +import { Stack } from '@elementor/ui/Stack'; +import { Typography } from '@elementor/ui/Typography'; import { AdminLink } from '../../../../link/admin-link'; export const LinksColumn = ( { linksColumn } ) => { diff --git a/modules/admin/assets/js/components/panels/dashboard/home/dashboard-home-panel.js b/modules/admin/assets/js/components/panels/dashboard/home/dashboard-home-panel.js index e86c4a84..0055d79d 100644 --- a/modules/admin/assets/js/components/panels/dashboard/home/dashboard-home-panel.js +++ b/modules/admin/assets/js/components/panels/dashboard/home/dashboard-home-panel.js @@ -1,4 +1,4 @@ -import { Stack } from '@elementor/ui'; +import { Stack } from '@elementor/ui/Stack'; import HomeHero from './components/home-hero'; import { HomeLinksGrid } from './components/home-links-grid'; import { __ } from '@wordpress/i18n'; diff --git a/modules/admin/assets/js/components/panels/dashboard/settings/components/setting-card.js b/modules/admin/assets/js/components/panels/dashboard/settings/components/setting-card.js index 46277ad5..4460723c 100644 --- a/modules/admin/assets/js/components/panels/dashboard/settings/components/setting-card.js +++ b/modules/admin/assets/js/components/panels/dashboard/settings/components/setting-card.js @@ -1,4 +1,8 @@ -import { Box, Card, CardContent, CardHeader, FormControlLabel, Stack, Typography } from '@elementor/ui'; +import { Box } from '@elementor/ui/Box'; +import { Card } from '@elementor/ui/Card'; +import { CardContent } from '@elementor/ui/CardContent'; +import { FormControlLabel } from '@elementor/ui/FormControlLabel'; +import { Stack } from '@elementor/ui/Stack'; export const SettingCard = ( { label, description, control, code } ) => { return ( diff --git a/modules/admin/assets/js/components/panels/dashboard/settings/components/settings-body.js b/modules/admin/assets/js/components/panels/dashboard/settings/components/settings-body.js index 7b6c90c9..401c8f90 100644 --- a/modules/admin/assets/js/components/panels/dashboard/settings/components/settings-body.js +++ b/modules/admin/assets/js/components/panels/dashboard/settings/components/settings-body.js @@ -1,4 +1,8 @@ -import { Alert, Switch, Typography, Stack, Paper } from '@elementor/ui'; +import { Alert } from '@elementor/ui/Alert'; +import { Switch } from '@elementor/ui/Switch'; +import { Typography } from '@elementor/ui/Typography'; +import { Stack } from '@elementor/ui/Stack'; +import { Paper } from '@elementor/ui/Paper'; import { __ } from '@wordpress/i18n'; import { SettingCard } from './setting-card'; diff --git a/modules/admin/assets/js/components/panels/dashboard/settings/dashboard-settings-panel.js b/modules/admin/assets/js/components/panels/dashboard/settings/dashboard-settings-panel.js index eaf5d17b..91bca4ce 100644 --- a/modules/admin/assets/js/components/panels/dashboard/settings/dashboard-settings-panel.js +++ b/modules/admin/assets/js/components/panels/dashboard/settings/dashboard-settings-panel.js @@ -2,7 +2,11 @@ import { useEffect, useState } from 'react'; import { __ } from '@wordpress/i18n'; import api from '@wordpress/api'; import { SettingsBody } from './components/settings-body'; -import { Alert, Box, Button, CircularProgress, Stack } from '@elementor/ui'; +import { Alert } from '@elementor/ui/Alert'; +import { Box } from '@elementor/ui/Box'; +import { Button } from '@elementor/ui/Button'; +import { CircularProgress } from '@elementor/ui/CircularProgress'; +import { Stack } from '@elementor/ui/Stack'; import { GridWithActionLinks } from '../../../../layouts/grids/grid-with-action-links'; export const DashboardSettingsPanel = () => { diff --git a/modules/admin/assets/js/layouts/grids/grid-with-action-links.js b/modules/admin/assets/js/layouts/grids/grid-with-action-links.js index a7dd2b34..e8c7fde8 100644 --- a/modules/admin/assets/js/layouts/grids/grid-with-action-links.js +++ b/modules/admin/assets/js/layouts/grids/grid-with-action-links.js @@ -1,4 +1,4 @@ -import { Grid } from '@elementor/ui'; +import { Grid } from '@elementor/ui/Grid'; import { PromotionsLinksPanel } from '../../components/panels/promotions-links-panel'; export const GridWithActionLinks = ( { children } ) => { diff --git a/modules/admin/assets/js/pages/dashboard-page.js b/modules/admin/assets/js/pages/dashboard-page.js index 08ef10f4..fea04f34 100644 --- a/modules/admin/assets/js/pages/dashboard-page.js +++ b/modules/admin/assets/js/pages/dashboard-page.js @@ -1,6 +1,11 @@ import { __ } from '@wordpress/i18n'; // TODO: minimize to only necessary imports -import { Container, Box, Tabs, Tab, TabPanel, useTabs } from '@elementor/ui'; +import { Tabs } from '@elementor/ui/Tabs'; +import { useTabs } from '@elementor/ui/useTabs'; +import { TabPanel } from '@elementor/ui/TabPanel'; +import { Tab } from '@elementor/ui/Tab'; +import { Box } from '@elementor/ui/Box'; +import { Container } from '@elementor/ui/Container'; import { ThemeProvider } from '@elementor/ui/styles'; import { DashboardSettingsPanel } from '../components/panels/dashboard/settings/dashboard-settings-panel';