@taikai/rocket-kit 3.0.0-beta.2 → 3.0.0-beta.4
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/atoms/checkbox/index.d.ts +1 -1
- package/dist/atoms/progress-bar/index.d.ts +0 -1
- package/dist/atoms/select-interactive/components/index.d.ts +6 -3
- package/dist/atoms/select-interactive/index.d.ts +0 -1
- package/dist/atoms/select-interactive/types.d.ts +2 -2
- package/dist/atoms/slideshow/index.d.ts +0 -1
- package/dist/atoms/toggle/index.d.ts +0 -1
- package/dist/atoms/video-player/index.d.ts +0 -1
- package/dist/ions/icon-empty-data.d.ts +0 -1
- package/dist/ions/icon-login-only.d.ts +0 -1
- package/dist/ions/variables.d.ts +0 -1
- package/dist/molecules/actions-menu/index.d.ts +0 -1
- package/dist/molecules/empty-table/index.d.ts +0 -1
- package/dist/molecules/error/index.d.ts +0 -1
- package/dist/molecules/number-input-spinner/index.d.ts +0 -1
- package/dist/organisms/grid-container/grid-row.d.ts +0 -1
- package/dist/organisms/horizontal-nav/index.d.ts +0 -1
- package/dist/organisms/loading-state/index.d.ts +0 -1
- package/dist/rocket-kit.cjs.development.js +99 -129
- package/dist/rocket-kit.cjs.development.js.map +1 -1
- package/dist/rocket-kit.cjs.production.min.js +30 -25
- package/dist/rocket-kit.cjs.production.min.js.map +1 -1
- package/dist/rocket-kit.esm.js +100 -130
- package/dist/rocket-kit.esm.js.map +1 -1
- package/package.json +2 -3
|
@@ -11,5 +11,5 @@ interface Props {
|
|
|
11
11
|
dataTestId?: string;
|
|
12
12
|
required?: boolean;
|
|
13
13
|
}
|
|
14
|
-
declare const Checkbox: (
|
|
14
|
+
declare const Checkbox: ({ label, value, checked, onChange, error, disabled, className, style, dataTestId, required, }: Props) => JSX.Element;
|
|
15
15
|
export default Checkbox;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { TCustomOptions,
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import { TCustomOptions, TSelectInteractiveOption } from '../types';
|
|
3
|
+
export interface GroupBase {
|
|
4
|
+
options: readonly TSelectInteractiveOption[];
|
|
5
|
+
label?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const FormatGroupLabel: (props: GroupBase) => JSX.Element;
|
|
5
8
|
export declare const CustomSelectOption: (props: TCustomOptions, commonProps: any) => JSX.Element;
|
|
6
9
|
export declare const CustomSelectValue: (props: TCustomOptions) => JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { SelectInteractiveProps, TSelectInteractiveOption } from './types';
|
|
3
2
|
declare const SelectInteractive: ({ name, multi, search, placeholder, options, value, clear, error, disabled, formatGroupLabel, onChange, onInputChange, ...rest }: SelectInteractiveProps<TSelectInteractiveOption>) => JSX.Element;
|
|
4
3
|
export default SelectInteractive;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MapHTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
import
|
|
2
|
+
import NamedProps from 'react-select/dist/declarations/src/Select';
|
|
3
3
|
export interface TSelectInteractiveOption {
|
|
4
4
|
value: string;
|
|
5
5
|
label: string;
|
|
@@ -7,7 +7,7 @@ export interface TSelectInteractiveOption {
|
|
|
7
7
|
}
|
|
8
8
|
export interface TOptions extends TSelectInteractiveOption {
|
|
9
9
|
icon?: string;
|
|
10
|
-
customImage?:
|
|
10
|
+
customImage?: string;
|
|
11
11
|
}
|
|
12
12
|
export interface TCustomOptions {
|
|
13
13
|
data: TOptions;
|
package/dist/ions/variables.d.ts
CHANGED