From a6707249eecd616e4a2445e095d6dce079397cb8 Mon Sep 17 00:00:00 2001 From: Balazs <121605136+Balazs-topg@users.noreply.github.com> Date: Tue, 27 Feb 2024 20:56:02 +0100 Subject: [PATCH] Remove file extension from import paths --- package/dist/RippleSurface.js | 3 +-- package/dist/main.d.ts | 7 +++---- package/dist/main.js | 7 +++---- package/package.json | 2 +- package/src/RippleSurface.tsx | 3 +-- package/src/main.ts | 7 +++---- 6 files changed, 12 insertions(+), 17 deletions(-) diff --git a/package/dist/RippleSurface.js b/package/dist/RippleSurface.js index 34dd86d..005bfb3 100644 --- a/package/dist/RippleSurface.js +++ b/package/dist/RippleSurface.js @@ -10,8 +10,7 @@ var __rest = (this && this.__rest) || function (s, e) { return t; }; import React from "react"; -//@ts-ignore -import { Ripples } from "./Ripples.jsx"; +import { Ripples } from "./Ripples"; export function RippleSurface(_a) { var { tag = "div", children, disableDefaultStyling, rippleFromBehind, forwardedRef, rippleProps } = _a, props = __rest(_a, ["tag", "children", "disableDefaultStyling", "rippleFromBehind", "forwardedRef", "rippleProps"]); return React.createElement(tag, Object.assign(Object.assign({}, props), { style: !disableDefaultStyling diff --git a/package/dist/main.d.ts b/package/dist/main.d.ts index 98373ee..b357eb2 100644 --- a/package/dist/main.d.ts +++ b/package/dist/main.d.ts @@ -1,4 +1,3 @@ -import { RippleSurface } from "./RippleSurface.jsx"; -import { Ripples } from "./Ripples.jsx"; -export { RippleSurface }; -export { Ripples }; +import { RippleSurface } from "./RippleSurface"; +import { Ripples } from "./Ripples"; +export { RippleSurface, Ripples }; diff --git a/package/dist/main.js b/package/dist/main.js index 98373ee..b357eb2 100644 --- a/package/dist/main.js +++ b/package/dist/main.js @@ -1,4 +1,3 @@ -import { RippleSurface } from "./RippleSurface.jsx"; -import { Ripples } from "./Ripples.jsx"; -export { RippleSurface }; -export { Ripples }; +import { RippleSurface } from "./RippleSurface"; +import { Ripples } from "./Ripples"; +export { RippleSurface, Ripples }; diff --git a/package/package.json b/package/package.json index a8d1f9e..c3e756f 100644 --- a/package/package.json +++ b/package/package.json @@ -1,6 +1,6 @@ { "name": "react-ripples-continued", - "version": "1.3.3", + "version": "1.3.6", "description": "UI ripple effect for react made simple", "main": "dist/main.js", "type": "module", diff --git a/package/src/RippleSurface.tsx b/package/src/RippleSurface.tsx index 7ed44c4..24c4f66 100644 --- a/package/src/RippleSurface.tsx +++ b/package/src/RippleSurface.tsx @@ -1,7 +1,6 @@ import React, { ReactNode } from "react"; -//@ts-ignore -import { Ripples } from "./Ripples.jsx"; +import { Ripples } from "./Ripples"; import { HtmlTagName } from "./types/HtmlTagName.js"; import { RipplesInterface } from "./types/RipplesInterface.js"; diff --git a/package/src/main.ts b/package/src/main.ts index f65e980..c5ed654 100644 --- a/package/src/main.ts +++ b/package/src/main.ts @@ -1,5 +1,4 @@ -import { RippleSurface } from "./RippleSurface.jsx"; -import { Ripples } from "./Ripples.jsx"; +import { RippleSurface } from "./RippleSurface"; +import { Ripples } from "./Ripples"; -export { RippleSurface }; -export { Ripples }; +export { RippleSurface, Ripples };