@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.
- package/dist/components/accordions/accordions.d.ts +1 -1
- package/dist/components/accordions/accordionsButton.d.ts +1 -1
- package/dist/components/accordions/accordionsContent.d.ts +1 -1
- package/dist/components/accordions/accordionsContent.js +1 -1
- package/dist/components/accordions/accordionsHeader.d.ts +1 -1
- package/dist/components/dragResize/dragResize.d.ts +2 -2
- package/dist/components/dragResize/dragResize.js +2 -2
- package/dist/components/dragSortable/dragSortable.d.ts +1 -1
- package/package.json +2 -2
|
@@ -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 "
|
|
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,5 +1,5 @@
|
|
|
1
|
-
import { DragResizePropsTypes, ResizeTypes } from "
|
|
2
|
-
import { AsPropsTypes } from "
|
|
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 "
|
|
4
|
+
import { useDragResize, useCookies } from "../../hooks/index.js";
|
|
5
5
|
import { DragResizeContext } from "./dragResizeContext";
|
|
6
|
-
import { mergeClassName } from "
|
|
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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xwadex/fesd-next",
|
|
3
|
-
"version": "0.3.
|
|
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": {
|