bianic-ui 2.13.0-alpha.1 → 2.13.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/dist/cjs/index.js +21 -13
- package/dist/cjs/lib.css +1 -1
- package/dist/cjs/types/components/Forms/LiveSearch/index.d.ts +1 -1
- package/dist/cjs/types/components/Forms/LiveSearch/types/index.d.ts +1 -0
- package/dist/cjs/types/stories/Form/LiveSearch/LivesearchCustomDropdownExample.stories.d.ts +3 -1
- package/dist/cjs/types/stories/Form/Radio.stories.d.ts +3 -1
- package/dist/esm/index.js +21 -13
- package/dist/esm/lib.css +1 -1
- package/dist/esm/types/components/Forms/LiveSearch/index.d.ts +1 -1
- package/dist/esm/types/components/Forms/LiveSearch/types/index.d.ts +1 -0
- package/dist/esm/types/stories/Form/LiveSearch/LivesearchCustomDropdownExample.stories.d.ts +3 -1
- package/dist/esm/types/stories/Form/Radio.stories.d.ts +3 -1
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { LiveSearchProps } from './types';
|
|
3
|
-
declare function LiveSearch({ autoComplete, children, descText, disabled, dropContProps, id, label, onChangeText, onClickDropdown, options, placeholder, readOnly, required, searchVariant, setValue, size, isValid, value, }: LiveSearchProps): React.JSX.Element;
|
|
3
|
+
declare function LiveSearch({ autoComplete, children, descText, disabled, dropContProps, id, label, onChangeText, onChangeButton, onClickDropdown, options, placeholder, readOnly, required, searchVariant, setValue, size, isValid, value, }: LiveSearchProps): React.JSX.Element;
|
|
4
4
|
declare namespace LiveSearch {
|
|
5
5
|
var defaultProps: {
|
|
6
6
|
descText: string;
|
|
@@ -11,6 +11,7 @@ export interface LiveSearchProps extends Omit<ComponentPropsWithoutRef<'input'>,
|
|
|
11
11
|
isValid?: boolean | null;
|
|
12
12
|
label?: string;
|
|
13
13
|
onChangeText?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
14
|
+
onChangeButton?: ReactNode;
|
|
14
15
|
onClickDropdown?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
15
16
|
options?: any[];
|
|
16
17
|
placeholder?: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react/*';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
|
|
3
|
+
import { LiveSearchProps } from '../../../components/Forms/LiveSearch/types';
|
|
4
|
+
declare const meta: Meta<({ children, ...props }: LiveSearchProps) => React.JSX.Element>;
|
|
4
5
|
export default meta;
|
|
5
6
|
type Story = StoryObj<typeof meta>;
|
|
6
7
|
export declare const DefaultExample: Story;
|
|
@@ -8,3 +9,4 @@ export declare const BasicExample: Story;
|
|
|
8
9
|
export declare const Description: Story;
|
|
9
10
|
export declare const Disabled: Story;
|
|
10
11
|
export declare const ObjectOptionsExample: Story;
|
|
12
|
+
export declare const onChangeButton: Story;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { StoryObj } from '@storybook/react-webpack5';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
declare const meta: {
|
|
3
4
|
title: string;
|
|
4
|
-
component:
|
|
5
|
+
component: React.ForwardRefExoticComponent<import("../../components/Forms/Radio").RadioProps & React.RefAttributes<HTMLInputElement>>;
|
|
5
6
|
parameters: {
|
|
6
7
|
layout: string;
|
|
7
8
|
};
|
|
@@ -11,3 +12,4 @@ declare const meta: {
|
|
|
11
12
|
export default meta;
|
|
12
13
|
type Story = StoryObj<typeof meta>;
|
|
13
14
|
export declare const Demo: Story;
|
|
15
|
+
export declare const LiveSimulation: Story;
|
package/dist/index.d.ts
CHANGED
|
@@ -411,6 +411,7 @@ interface LiveSearchProps extends Omit<ComponentPropsWithoutRef<'input'>, 'size'
|
|
|
411
411
|
isValid?: boolean | null;
|
|
412
412
|
label?: string;
|
|
413
413
|
onChangeText?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
414
|
+
onChangeButton?: ReactNode;
|
|
414
415
|
onClickDropdown?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
415
416
|
options?: any[];
|
|
416
417
|
placeholder?: string;
|
|
@@ -422,7 +423,7 @@ interface LiveSearchProps extends Omit<ComponentPropsWithoutRef<'input'>, 'size'
|
|
|
422
423
|
value: any;
|
|
423
424
|
}
|
|
424
425
|
|
|
425
|
-
declare function LiveSearch({ autoComplete, children, descText, disabled, dropContProps, id, label, onChangeText, onClickDropdown, options, placeholder, readOnly, required, searchVariant, setValue, size, isValid, value, }: LiveSearchProps): React$1.JSX.Element;
|
|
426
|
+
declare function LiveSearch({ autoComplete, children, descText, disabled, dropContProps, id, label, onChangeText, onChangeButton, onClickDropdown, options, placeholder, readOnly, required, searchVariant, setValue, size, isValid, value, }: LiveSearchProps): React$1.JSX.Element;
|
|
426
427
|
declare namespace LiveSearch {
|
|
427
428
|
var defaultProps: {
|
|
428
429
|
descText: string;
|
package/package.json
CHANGED