Comparing version 10.0.0-beta.37 to 10.0.0-beta.80
@@ -0,3 +1,3 @@ | ||
import { RefObject } from "react"; | ||
import { BodyScrollOptions } from "../utils/bodyScrollLock"; | ||
import { RefObject } from "react"; | ||
export interface UseBodyScrollLockOptions extends BodyScrollOptions { | ||
@@ -4,0 +4,0 @@ clearAllOnClose?: boolean; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.useBodyScrollLock = void 0; | ||
const react_1 = require("react"); | ||
const bodyScrollLock_1 = require("../utils/bodyScrollLock"); | ||
const react_1 = require("react"); | ||
function useBodyScrollLock(containerRef, isOpen, { allowTouchMove, clearAllOnClose, reserveScrollBarGap } = {}) { | ||
@@ -7,0 +7,0 @@ (0, react_1.useEffect)(() => { |
@@ -0,2 +1,2 @@ | ||
export * from "./Validators/FormValidator"; | ||
export * from "./Validators/Validator"; | ||
export * from "./Validators/FormValidator"; |
@@ -18,3 +18,3 @@ "use strict"; | ||
// TODO @vejvis - remove me | ||
__exportStar(require("./Validators/FormValidator"), exports); | ||
__exportStar(require("./Validators/Validator"), exports); | ||
__exportStar(require("./Validators/FormValidator"), exports); |
{ | ||
"name": "@uxf/core", | ||
"version": "10.0.0-beta.37", | ||
"version": "10.0.0-beta.80", | ||
"description": "UXF Core", | ||
@@ -20,4 +20,2 @@ "author": "Petr Vejvoda <vejvoda@uxf.cz>", | ||
"build": "tsc -P tsconfig.json", | ||
"jest": "jest", | ||
"test": "npm run jest", | ||
"typecheck": "tsc --noEmit --skipLibCheck" | ||
@@ -28,13 +26,10 @@ }, | ||
}, | ||
"peerDependencies": { | ||
"react": ">=18.2.0" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^27.4.0", | ||
"@types/react": "^18.2.6", | ||
"jest": "^27.4.5", | ||
"react": "^18.2.0", | ||
"ts-jest": "^27.1.2" | ||
"@types/react": "18.2.27", | ||
"react": "18.2.0" | ||
}, | ||
"peerDependencies": { | ||
"react": "^17.0.0 || ^18.0.0" | ||
}, | ||
"gitHead": "a2dee6aa67621f6eda17e63e88d0edf14f88455a" | ||
} |
@@ -0,3 +1,3 @@ | ||
import { FC } from "react"; | ||
import { ImageSource, ResizerImageProps } from "./resizer"; | ||
import { FC } from "react"; | ||
export type Dimension = number | "auto"; | ||
@@ -4,0 +4,0 @@ export type Format = "avif" | "webp" | "original"; |
@@ -7,5 +7,5 @@ "use strict"; | ||
exports.ImgSources = exports.getImgSrcSet = exports.getImgElementWidth = exports.getImgElementHeight = exports.getImgUniqueIdentifier = exports.getImgQuality = exports.getSvgImgUrl = void 0; | ||
const react_1 = __importDefault(require("react")); | ||
const file_1 = require("./file"); | ||
const resizer_1 = require("./resizer"); | ||
const react_1 = __importDefault(require("react")); | ||
function toImageResponse(src) { | ||
@@ -12,0 +12,0 @@ return typeof src !== "string" && "uuid" in src ? src : undefined; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2
96181
112
2079