Skip to content

Commit

Permalink
Move SenseiStepContainer in client
Browse files Browse the repository at this point in the history
  • Loading branch information
gikaragia committed Jan 27, 2023
1 parent f3631ed commit 25f5d95
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import { SENSEI_FLOW, StepContainer } from '@automattic/onboarding';
import { ExternalLink } from '@wordpress/components';
import { createInterpolateElement } from '@wordpress/element';
import { Icon, wordpress } from '@wordpress/icons';
import { useI18n } from '@wordpress/react-i18n';
import React from 'react';
import StepContainer from '../step-container';
import { SENSEI_FLOW } from '../utils';
import { Container, TitleContainer, Title, Footer, FooterText } from './components';
import './styles.scss';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable wpcalypso/jsx-classname-namespace */
import { SenseiStepContainer } from '@automattic/onboarding';
import { useSelect, useDispatch } from '@wordpress/data';
import { useI18n } from '@wordpress/react-i18n';
import RegisterDomainStep from 'calypso/components/domains/register-domain-step';
Expand All @@ -8,6 +7,7 @@ import FormattedHeader from 'calypso/components/formatted-header';
import { ONBOARD_STORE, PRODUCTS_LIST_STORE } from 'calypso/landing/stepper/stores';
import { recordTracksEvent } from 'calypso/lib/analytics/tracks';
import CalypsoShoppingCartProvider from 'calypso/my-sites/checkout/calypso-shopping-cart-provider';
import { SenseiStepContainer } from '../components/sensei-step-container';
import type { Step } from '../../types';

import './style.scss';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { SenseiStepContainer } from '@automattic/onboarding';
import { useDispatch } from '@wordpress/data';
import { useCallback, useEffect, useState } from '@wordpress/element';
import { useI18n } from '@wordpress/react-i18n';
Expand All @@ -9,6 +8,7 @@ import { SITE_STORE } from 'calypso/landing/stepper/stores';
import { recordTracksEvent } from 'calypso/lib/analytics/tracks';
import { fetchSitePlugins } from 'calypso/state/plugins/installed/actions';
import { getPlugins } from 'calypso/state/plugins/installed/selectors';
import { SenseiStepContainer } from '../components/sensei-step-container';
import { Progress, SenseiStepProgress } from '../sensei-setup/sensei-step-progress';

import './style.scss';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/* eslint-disable wpcalypso/jsx-classname-namespace */
import { useLocale } from '@automattic/i18n-utils';
import { SENSEI_FLOW } from '@automattic/onboarding';
import { useSelect, useDispatch } from '@wordpress/data';
import { useCallback, useState } from '@wordpress/element';
import { __, sprintf } from '@wordpress/i18n';
import { useI18n } from '@wordpress/react-i18n';
import classnames from 'classnames';
import { Plans } from 'calypso/../packages/data-stores/src';
import formatCurrency from 'calypso/../packages/format-currency/src';
import { SENSEI_FLOW, SenseiStepContainer } from 'calypso/../packages/onboarding/src';
import { useSupportedPlans } from 'calypso/../packages/plans-grid/src/hooks';
import PlanItem from 'calypso/../packages/plans-grid/src/plans-table/plan-item';
import { useNewSiteVisibility } from 'calypso/landing/gutenboarding/hooks/use-selected-plan';
Expand All @@ -22,6 +22,7 @@ import { recordTracksEvent } from 'calypso/lib/analytics/tracks';
import { domainRegistration } from 'calypso/lib/cart-values/cart-items';
import wpcom from 'calypso/lib/wp';
import { cartManagerClient } from 'calypso/my-sites/checkout/cart-manager-client';
import { SenseiStepContainer } from '../components/sensei-step-container';
import { SenseiStepError } from '../sensei-setup/sensei-step-error';
import { SenseiStepProgress, Progress } from '../sensei-setup/sensei-step-progress';
import { Tagline, Title, PlansIntervalToggle } from './components';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Gridicon } from '@automattic/components';
import { SenseiStepContainer } from '@automattic/onboarding';
import { useDesktopBreakpoint } from '@automattic/viewport-react';
import { useDispatch, useSelect } from '@wordpress/data';
import { useCallback, useState } from '@wordpress/element';
Expand All @@ -9,6 +8,7 @@ import { CSSProperties } from 'react';
import FormRadioWithThumbnail from 'calypso/components/forms/form-radio-with-thumbnail';
import { recordTracksEvent } from 'calypso/lib/analytics/tracks';
import { ONBOARD_STORE } from '../../../../stores';
import { SenseiStepContainer } from '../components/sensei-step-container';
import { Title, Label, Input, Button } from './components';
import type { StyleVariation } from 'calypso/../packages/design-picker/src/types';
import type { Step } from 'calypso/landing/stepper/declarative-flow/internals/types';
Expand Down
1 change: 0 additions & 1 deletion packages/onboarding/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,3 @@ export * from './utils';
export type { SelectItem } from './select-items';
export type { SelectItemAlt } from './select-items-alt';
export type { MShotsOptions } from './mshots-image';
export * from './sensei-step-container';

0 comments on commit 25f5d95

Please sign in to comment.