bianic-ui 1.7.4-alpha.4 → 1.7.4-alpha.6

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.
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ interface DropdownContainerProps {
3
+ isTopFlat?: boolean;
4
+ children: React.ReactNode | undefined;
5
+ open?: boolean;
6
+ onClose?: () => void;
7
+ className?: string;
8
+ isWithOverlay?: boolean;
9
+ }
10
+ declare function DropdownContainer({ isTopFlat, children, open, onClose, className, isWithOverlay, }: DropdownContainerProps): false | React.JSX.Element;
11
+ declare namespace DropdownContainer {
12
+ var defaultProps: {
13
+ isTopFlat: boolean;
14
+ };
15
+ }
16
+ export default DropdownContainer;
@@ -0,0 +1,18 @@
1
+ import React, { ComponentPropsWithoutRef } from 'react';
2
+ export interface MenuItemProps extends ComponentPropsWithoutRef<'div'> {
3
+ className?: string;
4
+ onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
5
+ label: string;
6
+ isChecked?: boolean | undefined;
7
+ caption?: string | undefined;
8
+ children?: React.ReactNode | undefined;
9
+ onClose?: () => void;
10
+ }
11
+ declare function MenuItem({ className, label, onClick, caption, isChecked, onClose, children, ...props }: MenuItemProps): React.JSX.Element;
12
+ declare namespace MenuItem {
13
+ var defaultProps: {
14
+ className: string;
15
+ onClick: () => void;
16
+ };
17
+ }
18
+ export default MenuItem;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ interface DropdownContainerProps {
3
+ isTopFlat?: boolean;
4
+ children: React.ReactNode | undefined;
5
+ open?: boolean;
6
+ onClose?: () => void;
7
+ className?: string;
8
+ isWithOverlay?: boolean;
9
+ }
10
+ declare function DropdownContainer({ isTopFlat, children, open, onClose, className, isWithOverlay, }: DropdownContainerProps): false | React.JSX.Element;
11
+ declare namespace DropdownContainer {
12
+ var defaultProps: {
13
+ isTopFlat: boolean;
14
+ };
15
+ }
16
+ export default DropdownContainer;
@@ -0,0 +1,18 @@
1
+ import React, { ComponentPropsWithoutRef } from 'react';
2
+ export interface MenuItemProps extends ComponentPropsWithoutRef<'div'> {
3
+ className?: string;
4
+ onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
5
+ label: string;
6
+ isChecked?: boolean | undefined;
7
+ caption?: string | undefined;
8
+ children?: React.ReactNode | undefined;
9
+ onClose?: () => void;
10
+ }
11
+ declare function MenuItem({ className, label, onClick, caption, isChecked, onClose, children, ...props }: MenuItemProps): React.JSX.Element;
12
+ declare namespace MenuItem {
13
+ var defaultProps: {
14
+ className: string;
15
+ onClick: () => void;
16
+ };
17
+ }
18
+ export default MenuItem;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "@biaenergi:registry": "https://gitlab.com/api/v4/projects/50905269/packages/npm/"
5
5
  },
6
- "version": "1.7.4-alpha.4",
6
+ "version": "1.7.4-alpha.6",
7
7
  "description": "Design Language System develop by BIAENERGI",
8
8
  "scripts": {
9
9
  "rollup": "rollup -c",
@@ -76,6 +76,9 @@
76
76
  "url-loader": "^4.1.1",
77
77
  "webpack": "^5.88.2"
78
78
  },
79
+ "dependencies": {
80
+ "react-draggable": "^4.4.6"
81
+ },
79
82
  "main": "dist/cjs/index.js",
80
83
  "module": "dist/esm/index.js",
81
84
  "files": [
@@ -88,7 +91,6 @@
88
91
  "peerDependencies": {
89
92
  "react": "^18.0.0 || ^19.0.0-beta",
90
93
  "react-dom": "^18.0.0 || ^19.0.0-beta",
91
- "react-draggable": "^4.4.6",
92
94
  "react-icons": "^5.2.1"
93
95
  },
94
96
  "types": "dist/index.d.ts"