Skip to content

Commit

Permalink
Remove file extension from import paths
Browse files Browse the repository at this point in the history
  • Loading branch information
balazshevesi committed Feb 27, 2024
1 parent 63e9c3f commit a670724
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 17 deletions.
3 changes: 1 addition & 2 deletions package/dist/RippleSurface.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 3 additions & 4 deletions package/dist/main.d.ts
Original file line number Diff line number Diff line change
@@ -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 };
7 changes: 3 additions & 4 deletions package/dist/main.js
Original file line number Diff line number Diff line change
@@ -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 };
2 changes: 1 addition & 1 deletion package/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
3 changes: 1 addition & 2 deletions package/src/RippleSurface.tsx
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
7 changes: 3 additions & 4 deletions package/src/main.ts
Original file line number Diff line number Diff line change
@@ -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 };

0 comments on commit a670724

Please sign in to comment.