Skip to content

Commit

Permalink
chore: copy dependencies to helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
RiadhAdrani committed Aug 13, 2024
1 parent 0142ea8 commit 5627e6f
Show file tree
Hide file tree
Showing 10 changed files with 1,567 additions and 1,198 deletions.
2 changes: 1 addition & 1 deletion docs/components/Link.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Arrayable } from '@riadh-adrani/type-utils';
import { Arrayable } from '../../lib/helpers/type-utils.js';
import { joinClasses, useMemo } from '../index.js';
import { PropsWithUtility } from '@/types.js';
import { AProps, HTMLElementProps } from '@/dom.js';
Expand Down
2 changes: 1 addition & 1 deletion docs/context/UI.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Theme, Version, Versions } from '../types/index.js';
import { createComposable, useCallback, useEffect, useMemo, useState } from '../index.js';
import { getLogo, isDarkMode } from '../utils/utils.js';
import useLocalStorage from '../hooks/useLocalStorage.js';
import { isBoolean } from '@riadh-adrani/obj-utils';
import { isBoolean } from '../../lib/helpers/obj-utils.js';
import { useScroll } from '../hooks/composables.js';

export const useApp = createComposable('app', () => {
Expand Down
2 changes: 1 addition & 1 deletion lib/component/__tests__/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ import {
useContext,
} from '../index.js';
import '@core/index.js';
import { omit } from '@riadh-adrani/obj-utils';
import { omit } from '../../helpers/obj-utils.js';
import { RuvyError } from '@/helpers/helpers.js';
import { Namespace, element } from '@riadh-adrani/domer';
import { createRouter, navigate, unmountRouter } from '@/router/router.js';
Expand Down
2 changes: 1 addition & 1 deletion lib/component/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Namespace, isClassProp, resolveClassProps } from '@riadh-adrani/domer';
import { areEqual, hasProperty, isFunction } from '@riadh-adrani/obj-utils';
import { areEqual, hasProperty, isFunction } from '../helpers/obj-utils.js';
import {
Component,
ComponentHandler,
Expand Down
2 changes: 1 addition & 1 deletion lib/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import {
OutletComponent,
ParentComponent,
} from '../types.js';
import { toposort } from '@helpers/toposort.js';
import { toposort } from '../helpers/toposort.js';

export const frameworkContext: GlobalContext = {};

Expand Down
Loading

0 comments on commit 5627e6f

Please sign in to comment.