pallote-react 0.14.1 → 0.14.2

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.
Files changed (2) hide show
  1. package/index.js +1 -2
  2. package/package.json +2 -1
package/index.js CHANGED
@@ -3,7 +3,6 @@ import classnames from 'classnames';
3
3
  import PropTypes from 'prop-types';
4
4
  import { createPortal } from 'react-dom';
5
5
  import { X, CalendarBlank, Clock, CaretUpDown, ArrowSquareOut } from '@phosphor-icons/react';
6
- import { Link as Link$1 } from 'react-router-dom';
7
6
  import SyntaxHighlighter from 'react-syntax-highlighter';
8
7
 
9
8
  const Color = ({
@@ -916,7 +915,7 @@ const NavItem = ({
916
915
  if (dropdown) {
917
916
  Component = 'button';
918
917
  } else {
919
- Component = component || Link$1;
918
+ Component = component || "a";
920
919
  }
921
920
  return /*#__PURE__*/React.createElement("div", {
922
921
  className: classnames(['nav_item', {
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "pallote-react",
3
- "version": "0.14.1",
3
+ "version": "0.14.2",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "styles": "dist/index.css",
7
+ "type": "module",
7
8
  "files": [
8
9
  "README.md",
9
10
  "index.js",