@modul/mbui 0.0.45-beta-pv-54098-294462ad → 0.0.46-beta-for-dev-4a09e9ad

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": "@modul/mbui",
3
- "version": "0.0.45-beta-pv-54098-294462ad",
3
+ "version": "0.0.46-beta-for-dev-4a09e9ad",
4
4
  "packageManager": "yarn@3.5.1",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -61,15 +61,15 @@
61
61
  "@babel/preset-env": "^7.9.5",
62
62
  "@babel/preset-react": "^7.9.4",
63
63
  "@babel/preset-typescript": "^7.21.5",
64
- "@chromatic-com/storybook": "^3.2.4",
65
- "@storybook/addon-essentials": "^8.5.8",
66
- "@storybook/addon-interactions": "^8.5.8",
67
- "@storybook/addon-links": "^8.5.8",
64
+ "@chromatic-com/storybook": "^3.2.5",
65
+ "@storybook/addon-essentials": "^8.6.4",
66
+ "@storybook/addon-interactions": "^8.6.4",
67
+ "@storybook/addon-links": "^8.6.4",
68
68
  "@storybook/addon-webpack5-compiler-babel": "^3.0.5",
69
- "@storybook/blocks": "^8.5.8",
70
- "@storybook/react": "^8.5.8",
71
- "@storybook/react-webpack5": "^8.5.8",
72
- "@storybook/test": "^8.5.8",
69
+ "@storybook/blocks": "^8.6.4",
70
+ "@storybook/react": "^8.6.4",
71
+ "@storybook/react-webpack5": "^8.6.4",
72
+ "@storybook/test": "^8.6.4",
73
73
  "@svgr/cli": "8.1.0",
74
74
  "@tailwindcss/forms": "^0.5.7",
75
75
  "@testing-library/dom": "^10.4.0",
@@ -101,7 +101,7 @@
101
101
  "eslint-plugin-prettier": "4.2.1",
102
102
  "eslint-plugin-react": "7.31.10",
103
103
  "eslint-plugin-react-hooks": "4.6.0",
104
- "eslint-plugin-storybook": "^0.11.3",
104
+ "eslint-plugin-storybook": "^0.11.4",
105
105
  "glob": "^10.2.4",
106
106
  "html-webpack-plugin": "5.5.1",
107
107
  "image-minimizer-webpack-plugin": "^4.0.2",
@@ -118,7 +118,7 @@
118
118
  "prettier": "2.7.1",
119
119
  "react": "18.2.0",
120
120
  "react-dom": "^18.2.0",
121
- "storybook": "^8.5.8",
121
+ "storybook": "^8.6.4",
122
122
  "style-loader": "^3.3.3",
123
123
  "terser-webpack-plugin": "^5.3.10",
124
124
  "ts-jest": "^29.2.6",
@@ -1,21 +0,0 @@
1
- import React from 'react';
2
- export interface ISelectOption {
3
- label: string;
4
- value: string;
5
- [key: string]: any;
6
- }
7
- interface IOptionWrapperProps {
8
- component: React.FC<ISelectOption & {
9
- isChecked: boolean;
10
- }>;
11
- optionWrapperCSS?: string;
12
- option: ISelectOption;
13
- selected: ISelectOption[];
14
- onSelect: (option: ISelectOption) => void;
15
- multiple?: boolean;
16
- }
17
- export declare const Option: React.FC<ISelectOption & {
18
- isChecked: boolean;
19
- }>;
20
- export declare const OptionWrapper: React.FC<IOptionWrapperProps>;
21
- export {};
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- interface ISeacrhFieldProps {
3
- onChange: (value: string) => void;
4
- placeholder?: string;
5
- }
6
- declare const SearchField: React.FC<ISeacrhFieldProps>;
7
- export default SearchField;
@@ -1,33 +0,0 @@
1
- import React, { FC } from 'react';
2
- import { ISelectOption } from './Option';
3
- import { ISelectValue } from './Value';
4
- interface ISelectDrawerProps {
5
- options: ISelectOption[];
6
- onChange: (value?: ISelectOption | ISelectOption[] | null) => void;
7
- placeholder?: string;
8
- multiple?: boolean;
9
- isClearable?: boolean;
10
- isSearchable?: boolean;
11
- searchPlaceholder?: string;
12
- autoFocus?: boolean;
13
- disabled?: boolean;
14
- components?: {
15
- OptionComponent?: FC<ISelectOption & {
16
- isChecked: boolean;
17
- }>;
18
- ValueComponent?: FC<ISelectValue>;
19
- };
20
- value?: ISelectOption | ISelectOption[] | null;
21
- defaultValue?: ISelectOption | ISelectOption[];
22
- menuListCSS?: string;
23
- triggerWrapperCSS?: string;
24
- dropWrapperCSS?: string;
25
- dropTitle?: string;
26
- dropTitleCSS?: string;
27
- optionWrapperCSS?: string;
28
- modal?: boolean;
29
- selectAll?: boolean;
30
- selectAllText?: string;
31
- }
32
- declare const SelectDrawer: React.ForwardRefExoticComponent<ISelectDrawerProps & React.RefAttributes<HTMLButtonElement>>;
33
- export { SelectDrawer, type ISelectValue, type ISelectOption, type ISelectDrawerProps };
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
- import { ISelectOption } from './SelectDrawer';
3
- export interface ISelectValue {
4
- isClearable?: boolean;
5
- onClear: (evt: React.MouseEvent<HTMLButtonElement>) => void;
6
- multiple?: boolean;
7
- selected: ISelectOption[];
8
- placeholder?: string | undefined;
9
- }
10
- interface IValueWrapper {
11
- valueProps: ISelectValue;
12
- valueComponent?: React.FC<ISelectValue>;
13
- }
14
- export declare const ValueWrapper: React.FC<IValueWrapper>;
15
- export {};
@@ -1 +0,0 @@
1
- export * from './SelectDrawer';