react-restyle-components 0.1.97 → 0.1.98

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.
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-restyle-components",
3
- "version": "0.1.96",
3
+ "version": "0.1.97",
4
4
  "private": false,
5
5
  "description": "Easy use restyle components",
6
6
  "author": {
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import './autocomplete.css';
3
+ import '../../../tc.css';
3
4
  interface AutocompleteProps {
4
5
  value: string;
5
6
  onValueChange: (value: string) => void;
@@ -1,5 +1,6 @@
1
1
  import React, { useState, useRef, useEffect, useCallback } from 'react';
2
2
  import './autocomplete.css';
3
+ import '../../../tc.css';
3
4
  const LI_ELEMENT_HEIGHT = 34;
4
5
  export const Autocomplete = ({ value = '', onValueChange, options = [], }) => {
5
6
  const [activeOption, setActiveOption] = useState(value === '' || options.indexOf(value) === -1 ? 0 : options.indexOf(value));
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import '../../../tc.css';
2
3
  interface MultiSelectProps {
3
4
  options: Array<string>;
4
5
  selectedItems?: Array<string>;
@@ -1,4 +1,5 @@
1
1
  import React, { useState, useEffect, useRef } from 'react';
2
+ import '../../../tc.css';
2
3
  export const MultiSelect = ({ options = [], selectedItems = [], hasError = false, onSelect, }) => {
3
4
  const [selectedOptions, setSelectedOptions] = useState([]);
4
5
  const [isListOpen, setIsListOpen] = useState(false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-restyle-components",
3
- "version": "0.1.97",
3
+ "version": "0.1.98",
4
4
  "private": false,
5
5
  "description": "Easy use restyle components",
6
6
  "author": {