@xwadex/fesd-next 0.3.12 → 0.3.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { AsPropsTypes } from "@/packages/types";
1
+ import { AsPropsTypes } from "../../types/index.js";
2
2
  type PropsTypes<T extends React.ElementType = "div"> = AsPropsTypes<T, {
3
3
  as?: React.ElementType;
4
4
  children?: React.ReactNode;
@@ -1,4 +1,4 @@
1
- import type { AsPropsTypes } from "@/packages/types";
1
+ import type { AsPropsTypes } from "../../types/index.js";
2
2
  type PropsTypes<T extends React.ElementType = "div"> = AsPropsTypes<T, {
3
3
  as?: React.ElementType;
4
4
  active?: boolean;
@@ -1,4 +1,4 @@
1
- import type { AsPropsTypes } from "@/packages/types";
1
+ import type { AsPropsTypes } from "../../types/index.js";
2
2
  type PropsTypes<T extends React.ElementType = "div"> = AsPropsTypes<T, {
3
3
  as?: React.ElementType;
4
4
  children?: React.ReactNode;
@@ -2,7 +2,7 @@
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import { memo, useCallback, useEffect, useRef, useState } from "react";
4
4
  import { useAccordionsContext } from "./accordionsContext";
5
- import { getDomTransTime, sleep } from "@/packages/utils";
5
+ import { getDomTransTime, sleep } from "../../utils/index.js";
6
6
  import styles from "./accordions.module.scss";
7
7
  const AccordionsContentBase = (props) => {
8
8
  const { as, children, ...othersProps } = props;
@@ -1,4 +1,4 @@
1
- import type { AsPropsTypes } from "@/packages/types";
1
+ import type { AsPropsTypes } from "../../types/index.js";
2
2
  type PropsTypes<T extends React.ElementType = "div"> = AsPropsTypes<T, {
3
3
  as?: React.ElementType;
4
4
  children?: React.ReactNode;
@@ -1,5 +1,5 @@
1
- import { DragResizePropsTypes, ResizeTypes } from "@/packages/hooks";
2
- import { AsPropsTypes } from "@/packages/types";
1
+ import { DragResizePropsTypes, ResizeTypes } from "../../hooks/index.js";
2
+ import { AsPropsTypes } from "../../types/index.js";
3
3
  type PropsTypes<T extends React.ElementType = "div"> = AsPropsTypes<T, {
4
4
  as?: React.ElementType;
5
5
  children: React.ReactNode;
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { memo, useCallback, useMemo, useState } from "react";
4
- import { useDragResize, useCookies } from "@/packages/hooks";
4
+ import { useDragResize, useCookies } from "../../hooks/index.js";
5
5
  import { DragResizeContext } from "./dragResizeContext";
6
- import { mergeClassName } from "@/packages/utils";
6
+ import { mergeClassName } from "../../utils/index.js";
7
7
  import styles from "./dragResize.module.scss";
8
8
  const DragResizeBase = (props) => {
9
9
  const { as, children, defaultWidth, defaultHeight, resizeClass, containerClass, dragClass, resizeStore = true, resizeStoreKey, resizeStoreValue, active = true, direction = "width", minWidth = 500, maxWidth = 950, onInit, onResizeStart, onResizing, onResizeEnd, ...othersProps } = props;
@@ -1,4 +1,4 @@
1
- import type { AsPropsTypes } from "@/packages/types";
1
+ import type { AsPropsTypes } from "../../types/index.js";
2
2
  import type { Sortable, Store } from "react-sortablejs";
3
3
  type PropsTypes<T extends React.ElementType = "div"> = AsPropsTypes<T, {
4
4
  as?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xwadex/fesd-next",
3
- "version": "0.3.12",
3
+ "version": "0.3.13",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -31,7 +31,7 @@
31
31
  ],
32
32
  "scripts": {
33
33
  "clean": "rm -rf dist",
34
- "build": "npm run clean && tsc --project tsconfig.json && node copy-scss.js",
34
+ "build": "npm run clean && tsc --project tsconfig.json && tsc-alias && node copy-scss.js",
35
35
  "prepare": "npm run build"
36
36
  },
37
37
  "peerDependencies": {