ehscan-react-components 0.1.51 → 0.1.52

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.
@@ -1,4 +1,4 @@
1
- import './style/input.css';
1
+ import '../style/input.css';
2
2
  interface Props {
3
3
  id?: string;
4
4
  tabIndex?: number;
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useLayoutEffect, useRef, useState, useCallback, useId } from "react";
3
- import './style/input.css';
3
+ import '../style/input.css';
4
4
  export const TextArea = ({ id, tabIndex, label, value, editable = true, required = false, onChange, placeholder, maxLength = 500, addClass }) => {
5
5
  const textareaRef = useRef(null);
6
6
  const [charCount, setCharCount] = useState(value.length);
@@ -1,4 +1,4 @@
1
- import './style/input-dropdown.css';
1
+ import '../style/input-dropdown.css';
2
2
  type Action = "add" | "remove";
3
3
  interface Props {
4
4
  id?: string;
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
11
11
  import { useRef, useState, useId, useEffect } from "react";
12
12
  import { DropDown } from "../DropDown";
13
- import './style/input-dropdown.css';
13
+ import '../style/input-dropdown.css';
14
14
  export const TextAreaDropDown = ({ id, tabIndex, alwaysOpenDropDown, closeCommand, label, value, editable = true, required = false, dropdownValue, onChange, placeholder = 'select or create new entry', maxLength = 500, addClass, maxDropDownHeight = 200 }) => {
15
15
  const childRef = useRef(null);
16
16
  const textareaRef = useRef(null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ehscan-react-components",
3
- "version": "0.1.51",
3
+ "version": "0.1.52",
4
4
  "description": "components",
5
5
  "main": "dist/Components.js",
6
6
  "types": "dist/Components.d.ts",