@oncehub/ui-react 1.4.16 → 1.4.17-beta.1.0

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,5 @@
1
1
  import { ComponentPropsWithRef, FC, ReactNode } from 'react';
2
+
2
3
  interface ButtonProps extends ComponentPropsWithRef<'button'> {
3
4
  /** The content of the button */
4
5
  children: ReactNode;
@@ -1,4 +1,5 @@
1
1
  import { ComponentPropsWithRef, FC, ReactNode } from 'react';
2
+
2
3
  interface CheckboxProps extends ComponentPropsWithRef<'input'> {
3
4
  children?: ReactNode;
4
5
  themeColor?: string;
@@ -1,4 +1,5 @@
1
1
  import { ComponentPropsWithRef, FC } from 'react';
2
+
2
3
  interface CheckboxProps extends ComponentPropsWithRef<'div'> {
3
4
  themeColor?: string;
4
5
  checked?: boolean;
@@ -1,4 +1,5 @@
1
1
  import { FC, ComponentPropsWithRef } from 'react';
2
+
2
3
  interface MultiLineInputProps extends ComponentPropsWithRef<'textarea'> {
3
4
  themeColor?: string;
4
5
  onSubmit?: () => void;
@@ -1,5 +1,6 @@
1
- import React, { CSSProperties } from 'react';
1
+ import { default as React, CSSProperties } from 'react';
2
2
  import { Option } from './multi-select.type';
3
+
3
4
  interface Props {
4
5
  options: Option[];
5
6
  checkedValue: string[];
@@ -1,5 +1,6 @@
1
- import React, { CSSProperties } from 'react';
1
+ import { default as React, CSSProperties } from 'react';
2
2
  import { Option } from './quick-multi-select.type';
3
+
3
4
  interface Props {
4
5
  options: Option[];
5
6
  checkedValue: string[];
@@ -1,5 +1,6 @@
1
1
  import { CSSProperties, FC } from 'react';
2
2
  import { Option } from './quick-select.type';
3
+
3
4
  interface Props {
4
5
  options: Option[];
5
6
  onSelect: (option: Option | undefined) => void;
@@ -1,4 +1,5 @@
1
1
  import { ComponentPropsWithRef, FC } from 'react';
2
+
2
3
  interface ScrollbarProps extends ComponentPropsWithRef<'div'> {
3
4
  children: any;
4
5
  }
@@ -1,4 +1,5 @@
1
- import React, { FC } from 'react';
1
+ import { default as React, FC } from 'react';
2
+
2
3
  interface Props {
3
4
  children: any;
4
5
  setQuery: (query: any) => void;
@@ -1,5 +1,6 @@
1
1
  import { FC } from 'react';
2
2
  import { IOption } from './select.types';
3
+
3
4
  interface Props {
4
5
  children: any;
5
6
  selected: IOption | null;
@@ -1,5 +1,5 @@
1
1
  export * from './select';
2
2
  export * from './select-options';
3
3
  export * from './auto-complete';
4
- export * from './options';
4
+ export * from './auto-complete-options';
5
5
  export * from './select.types';
@@ -1,4 +1,5 @@
1
- import React, { FC } from 'react';
1
+ import { default as React, FC } from 'react';
2
+
2
3
  interface Props {
3
4
  children: any;
4
5
  setQuery: (query: any) => void;
@@ -1,5 +1,6 @@
1
1
  import { FC } from 'react';
2
2
  import { IOption } from './select.types';
3
+
3
4
  interface Props {
4
5
  children: any;
5
6
  selected: IOption | null;
@@ -1,4 +1,5 @@
1
1
  import { FC, ComponentPropsWithRef } from 'react';
2
+
2
3
  interface SingleLineInputProps extends ComponentPropsWithRef<'input'> {
3
4
  themeColor?: string;
4
5
  }
package/dist/index.d.ts CHANGED
@@ -1 +1,2 @@
1
+
1
2
  export * from './components';