aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/toolbar
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/organisms/toolbar')
-rw-r--r--src/components/organisms/toolbar/main-nav.module.scss4
-rw-r--r--src/components/organisms/toolbar/main-nav.test.tsx2
-rw-r--r--src/components/organisms/toolbar/main-nav.tsx15
-rw-r--r--src/components/organisms/toolbar/search.test.tsx2
-rw-r--r--src/components/organisms/toolbar/search.tsx12
-rw-r--r--src/components/organisms/toolbar/settings.module.scss3
-rw-r--r--src/components/organisms/toolbar/settings.test.tsx2
-rw-r--r--src/components/organisms/toolbar/settings.tsx10
-rw-r--r--src/components/organisms/toolbar/toolbar-items.module.scss6
-rw-r--r--src/components/organisms/toolbar/toolbar.module.scss6
-rw-r--r--src/components/organisms/toolbar/toolbar.test.tsx2
-rw-r--r--src/components/organisms/toolbar/toolbar.tsx4
12 files changed, 31 insertions, 37 deletions
diff --git a/src/components/organisms/toolbar/main-nav.module.scss b/src/components/organisms/toolbar/main-nav.module.scss
index 24abc43..1b6b110 100644
--- a/src/components/organisms/toolbar/main-nav.module.scss
+++ b/src/components/organisms/toolbar/main-nav.module.scss
@@ -1,5 +1,5 @@
-@use "@styles/abstracts/functions" as fun;
-@use "@styles/abstracts/mixins" as mix;
+@use "../../../styles/abstracts/functions" as fun;
+@use "../../../styles/abstracts/mixins" as mix;
.item {
@include mix.media("screen") {
diff --git a/src/components/organisms/toolbar/main-nav.test.tsx b/src/components/organisms/toolbar/main-nav.test.tsx
index 43b8666..47e7c38 100644
--- a/src/components/organisms/toolbar/main-nav.test.tsx
+++ b/src/components/organisms/toolbar/main-nav.test.tsx
@@ -1,4 +1,4 @@
-import { render, screen } from '@tests/utils';
+import { render, screen } from '../../../../tests/utils';
import MainNav from './main-nav';
const items = [
diff --git a/src/components/organisms/toolbar/main-nav.tsx b/src/components/organisms/toolbar/main-nav.tsx
index 5dd32f7..3a2fbf5 100644
--- a/src/components/organisms/toolbar/main-nav.tsx
+++ b/src/components/organisms/toolbar/main-nav.tsx
@@ -1,14 +1,11 @@
-import BooleanField, {
- type BooleanFieldProps,
-} from '@components/atoms/forms/boolean-field';
-import Label from '@components/atoms/forms/label';
-import Hamburger from '@components/atoms/icons/hamburger';
-import Nav, {
- type NavProps,
- type NavItem,
-} from '@components/molecules/nav/nav';
import { forwardRef, ForwardRefRenderFunction } from 'react';
import { useIntl } from 'react-intl';
+import BooleanField, {
+ type BooleanFieldProps,
+} from '../../atoms/forms/boolean-field';
+import Label from '../../atoms/forms/label';
+import Hamburger from '../../atoms/icons/hamburger';
+import Nav, { type NavProps, type NavItem } from '../../molecules/nav/nav';
import mainNavStyles from './main-nav.module.scss';
import sharedStyles from './toolbar-items.module.scss';
diff --git a/src/components/organisms/toolbar/search.test.tsx b/src/components/organisms/toolbar/search.test.tsx
index 23dbda9..bafb58d 100644
--- a/src/components/organisms/toolbar/search.test.tsx
+++ b/src/components/organisms/toolbar/search.test.tsx
@@ -1,4 +1,4 @@
-import { render, screen } from '@tests/utils';
+import { render, screen } from '../../../../tests/utils';
import Search from './search';
describe('Search', () => {
diff --git a/src/components/organisms/toolbar/search.tsx b/src/components/organisms/toolbar/search.tsx
index 0ac82d9..90ee1b4 100644
--- a/src/components/organisms/toolbar/search.tsx
+++ b/src/components/organisms/toolbar/search.tsx
@@ -1,11 +1,11 @@
-import BooleanField, {
- type BooleanFieldProps,
-} from '@components/atoms/forms/boolean-field';
-import MagnifyingGlass from '@components/atoms/icons/magnifying-glass';
-import FlippingLabel from '@components/molecules/forms/flipping-label';
-import useInputAutofocus from '@utils/hooks/use-input-autofocus';
import { forwardRef, ForwardRefRenderFunction, useRef } from 'react';
import { useIntl } from 'react-intl';
+import useInputAutofocus from '../../../utils/hooks/use-input-autofocus';
+import BooleanField, {
+ type BooleanFieldProps,
+} from '../../atoms/forms/boolean-field';
+import MagnifyingGlass from '../../atoms/icons/magnifying-glass';
+import FlippingLabel from '../../molecules/forms/flipping-label';
import SearchModal, { type SearchModalProps } from '../modals/search-modal';
import searchStyles from './search.module.scss';
import sharedStyles from './toolbar-items.module.scss';
diff --git a/src/components/organisms/toolbar/settings.module.scss b/src/components/organisms/toolbar/settings.module.scss
index a46f28c..59c44f8 100644
--- a/src/components/organisms/toolbar/settings.module.scss
+++ b/src/components/organisms/toolbar/settings.module.scss
@@ -1,6 +1,3 @@
-@use "@styles/abstracts/functions" as fun;
-@use "@styles/abstracts/mixins" as mix;
-
.item .tooltip {
top: unset;
bottom: calc(100% + var(--spacing-2xs));
diff --git a/src/components/organisms/toolbar/settings.test.tsx b/src/components/organisms/toolbar/settings.test.tsx
index 9e91b09..44bed56 100644
--- a/src/components/organisms/toolbar/settings.test.tsx
+++ b/src/components/organisms/toolbar/settings.test.tsx
@@ -1,4 +1,4 @@
-import { render, screen } from '@tests/utils';
+import { render, screen } from '../../../../tests/utils';
import Settings from './settings';
describe('Settings', () => {
diff --git a/src/components/organisms/toolbar/settings.tsx b/src/components/organisms/toolbar/settings.tsx
index 774de64..6dc73e4 100644
--- a/src/components/organisms/toolbar/settings.tsx
+++ b/src/components/organisms/toolbar/settings.tsx
@@ -1,10 +1,10 @@
-import BooleanField, {
- type BooleanFieldProps,
-} from '@components/atoms/forms/boolean-field';
-import Cog from '@components/atoms/icons/cog';
-import FlippingLabel from '@components/molecules/forms/flipping-label';
import { forwardRef, ForwardRefRenderFunction } from 'react';
import { useIntl } from 'react-intl';
+import BooleanField, {
+ type BooleanFieldProps,
+} from '../../atoms/forms/boolean-field';
+import Cog from '../../atoms/icons/cog';
+import FlippingLabel from '../../molecules/forms/flipping-label';
import SettingsModal, {
type SettingsModalProps,
} from '../modals/settings-modal';
diff --git a/src/components/organisms/toolbar/toolbar-items.module.scss b/src/components/organisms/toolbar/toolbar-items.module.scss
index 86b4924..540844b 100644
--- a/src/components/organisms/toolbar/toolbar-items.module.scss
+++ b/src/components/organisms/toolbar/toolbar-items.module.scss
@@ -1,6 +1,6 @@
-@use "@styles/abstracts/functions" as fun;
-@use "@styles/abstracts/mixins" as mix;
-@use "@styles/abstracts/placeholders";
+@use "../../../styles/abstracts/functions" as fun;
+@use "../../../styles/abstracts/mixins" as mix;
+@use "../../../styles/abstracts/placeholders";
.item {
--btn-size: #{fun.convert-px(65)};
diff --git a/src/components/organisms/toolbar/toolbar.module.scss b/src/components/organisms/toolbar/toolbar.module.scss
index 60f41f1..1254f64 100644
--- a/src/components/organisms/toolbar/toolbar.module.scss
+++ b/src/components/organisms/toolbar/toolbar.module.scss
@@ -1,6 +1,6 @@
-@use "@styles/abstracts/functions" as fun;
-@use "@styles/abstracts/variables" as var;
-@use "@styles/abstracts/placeholders";
+@use "../../../styles/abstracts/functions" as fun;
+@use "../../../styles/abstracts/variables" as var;
+@use "../../../styles/abstracts/placeholders";
.wrapper {
--toolbar-size: #{fun.convert-px(75)};
diff --git a/src/components/organisms/toolbar/toolbar.test.tsx b/src/components/organisms/toolbar/toolbar.test.tsx
index 20f782a..01cc5ba 100644
--- a/src/components/organisms/toolbar/toolbar.test.tsx
+++ b/src/components/organisms/toolbar/toolbar.test.tsx
@@ -1,4 +1,4 @@
-import { render, screen } from '@tests/utils';
+import { render, screen } from '../../../../tests/utils';
import Toolbar from './toolbar';
const nav = [
diff --git a/src/components/organisms/toolbar/toolbar.tsx b/src/components/organisms/toolbar/toolbar.tsx
index 50fc7f2..339dec4 100644
--- a/src/components/organisms/toolbar/toolbar.tsx
+++ b/src/components/organisms/toolbar/toolbar.tsx
@@ -1,6 +1,6 @@
-import useOnClickOutside from '@utils/hooks/use-on-click-outside';
-import useRouteChange from '@utils/hooks/use-route-change';
import { FC, useState } from 'react';
+import useOnClickOutside from '../../../utils/hooks/use-on-click-outside';
+import useRouteChange from '../../../utils/hooks/use-route-change';
import MainNav, { type MainNavProps } from '../toolbar/main-nav';
import Search, { type SearchProps } from '../toolbar/search';
import Settings, { type SettingsProps } from '../toolbar/settings';