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.
@@ -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
- declare const meta: Meta<({ children, ...props }: import("../../../components/Forms/LiveSearch/types").LiveSearchProps) => React.JSX.Element>;
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: import("react").ForwardRefExoticComponent<import("../../components/Forms/Radio").RadioProps & import("react").RefAttributes<HTMLInputElement>>;
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
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "@biaenergi:registry": "https://gitlab.com/api/v4/projects/50905269/packages/npm/"
5
5
  },
6
- "version": "2.13.0-alpha.1",
6
+ "version": "2.13.0",
7
7
  "description": "Design Language System develop by BIAENERGI",
8
8
  "repository": {
9
9
  "type": "git",