react-asc 16.1.0 → 17.0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-asc",
3
- "version": "16.1.0",
3
+ "version": "17.0.0",
4
4
  "description": "handcrafted react components",
5
5
  "main": "index.js",
6
6
  "module": "index.es.js",
package/readme.md CHANGED
@@ -52,7 +52,6 @@ const MyApp = () => {
52
52
  - ConditionalWrapper
53
53
  - DateSelect
54
54
  - Drawer
55
- - DropDown
56
55
  - ExpansionPanel
57
56
  - FileInput
58
57
  - FloatingActionButton
@@ -64,6 +63,7 @@ const MyApp = () => {
64
63
  - List
65
64
  - LoadingIndicator
66
65
  - Modal + ModalService
66
+ - Menu
67
67
  - NumberSelect
68
68
  - Select
69
69
  - Snackbar + SnackbarService
@@ -1,10 +0,0 @@
1
- import React, { ReactElement } from 'react';
2
- import { MenuPosition } from './dropDown.types';
3
- import { IDropDownItemProps } from './DropDownItem';
4
- export interface IDropDownProps extends React.DetailedHTMLProps<React.HtmlHTMLAttributes<HTMLDivElement>, HTMLDivElement> {
5
- toggle?: ReactElement;
6
- children?: ReactElement<IDropDownItemProps> | Array<ReactElement<IDropDownItemProps>>;
7
- menuPosition?: MenuPosition;
8
- onToggleClick?: (e: Event) => void;
9
- }
10
- export declare const DropDown: (props: IDropDownProps) => JSX.Element;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- interface IDropDownBackdropProps {
3
- onClick?: () => void;
4
- }
5
- export declare const DropDownBackdrop: ({ onClick }: IDropDownBackdropProps) => React.ReactPortal;
6
- export {};
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const DropDownDivider: () => JSX.Element;
@@ -1,10 +0,0 @@
1
- import React, { ReactElement } from 'react';
2
- import { MenuPosition } from './dropDown.types';
3
- import { IDropDownItemProps } from './DropDownItem';
4
- export interface IDropDownMenuProps {
5
- children?: ReactElement<IDropDownItemProps> | Array<ReactElement<IDropDownItemProps>>;
6
- className?: string;
7
- menuPosition?: MenuPosition;
8
- parentRef: React.RefObject<any>;
9
- }
10
- export declare const DropDownMenu: (props: IDropDownMenuProps) => React.ReactPortal;
@@ -1,6 +0,0 @@
1
- import { ReactNode } from 'react';
2
- interface IDropDownToggleProps {
3
- children?: ReactNode;
4
- }
5
- export declare const DropDownToggle: ({ children }: IDropDownToggleProps) => JSX.Element;
6
- export {};
@@ -1,6 +0,0 @@
1
- import { Dispatch } from 'react';
2
- export interface IDropDownContext {
3
- isShow: boolean;
4
- setIsShow: Dispatch<boolean>;
5
- }
6
- export declare const DropDownContext: import("react").Context<IDropDownContext>;
@@ -1,6 +0,0 @@
1
- export * from './DropDown';
2
- export * from './DropDownMenu';
3
- export * from './DropDownItem';
4
- export * from './DropDownToggle';
5
- export * from './DropDownDivider';
6
- export * from './dropDown.types';