@taikai/rocket-kit 3.0.0-beta.4 → 3.0.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/atoms/label/index.d.ts +2 -2
- package/dist/atoms/label/stories/label.stories.d.ts +30 -0
- package/dist/atoms/select-interactive/components/index.d.ts +0 -1
- package/dist/atoms/select-interactive/types.d.ts +1 -1
- package/dist/ions/variables.d.ts +3 -0
- package/dist/molecules/card-value/index.d.ts +2 -2
- package/dist/molecules/card-value/stories/card-value.stories.d.ts +45 -0
- package/dist/molecules/form-group/index.d.ts +1 -1
- package/dist/molecules/form-group/stories/form-group.stories.d.ts +3 -2
- package/dist/rocket-kit.cjs.development.js +83 -72
- package/dist/rocket-kit.cjs.development.js.map +1 -1
- package/dist/rocket-kit.cjs.production.min.js +144 -144
- package/dist/rocket-kit.cjs.production.min.js.map +1 -1
- package/dist/rocket-kit.esm.js +83 -72
- package/dist/rocket-kit.esm.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { LabelProps } from '..';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (props: LabelProps) => JSX.Element;
|
|
6
|
+
argTypes: {
|
|
7
|
+
currency: {
|
|
8
|
+
control: {
|
|
9
|
+
type: string;
|
|
10
|
+
options: string[];
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
16
|
+
export declare const LabelComponentKAI: {
|
|
17
|
+
(args: LabelProps): JSX.Element;
|
|
18
|
+
storyName: string;
|
|
19
|
+
args: {
|
|
20
|
+
currency: string;
|
|
21
|
+
value: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export declare const LabelComponent: {
|
|
25
|
+
(args: LabelProps): JSX.Element;
|
|
26
|
+
storyName: string;
|
|
27
|
+
args: {
|
|
28
|
+
value: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -18,7 +18,7 @@ export interface OptionsGroup<T extends TSelectInteractiveOption> {
|
|
|
18
18
|
}
|
|
19
19
|
declare type TDivElement = Omit<MapHTMLAttributes<HTMLDivElement>, 'onChange' | 'placeholder'>;
|
|
20
20
|
declare type Options = TSelectInteractiveOption | ReadonlyArray<TSelectInteractiveOption>;
|
|
21
|
-
export interface SelectInteractiveProps<T extends Options> extends TDivElement, Pick<NamedProps<T>, 'onInputChange'
|
|
21
|
+
export interface SelectInteractiveProps<T extends Options> extends TDivElement, Partial<Pick<NamedProps<T>, 'onInputChange'>> {
|
|
22
22
|
name?: string;
|
|
23
23
|
error?: string;
|
|
24
24
|
clear?: boolean;
|
package/dist/ions/variables.d.ts
CHANGED
|
@@ -153,8 +153,11 @@ export declare const colorHues: number[];
|
|
|
153
153
|
export declare const typography: {
|
|
154
154
|
defaultFont: string;
|
|
155
155
|
defaultSize: string;
|
|
156
|
+
fontSizeSm: string;
|
|
157
|
+
fontSizeXs: string;
|
|
156
158
|
regular: number;
|
|
157
159
|
medium: number;
|
|
160
|
+
semiBold: number;
|
|
158
161
|
bold: number;
|
|
159
162
|
};
|
|
160
163
|
export declare const button: {
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CardValueProps } from '..';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (props: CardValueProps) => JSX.Element;
|
|
6
|
+
argTypes: {
|
|
7
|
+
currency: {
|
|
8
|
+
control: {
|
|
9
|
+
type: string;
|
|
10
|
+
options: string[];
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
16
|
+
export declare const CardValueComponentKAI: {
|
|
17
|
+
(args: CardValueProps): JSX.Element;
|
|
18
|
+
storyName: string;
|
|
19
|
+
args: {
|
|
20
|
+
label: string;
|
|
21
|
+
currency: string;
|
|
22
|
+
value: string;
|
|
23
|
+
showArrowButton: boolean;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export declare const CardValueComponent: {
|
|
27
|
+
(args: CardValueProps): JSX.Element;
|
|
28
|
+
storyName: string;
|
|
29
|
+
args: {
|
|
30
|
+
label: string;
|
|
31
|
+
value: string;
|
|
32
|
+
showArrowButton: boolean;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export declare const CardValueComponentButton: {
|
|
36
|
+
(args: CardValueProps): JSX.Element;
|
|
37
|
+
storyName: string;
|
|
38
|
+
args: {
|
|
39
|
+
label: string;
|
|
40
|
+
value: string;
|
|
41
|
+
description: string;
|
|
42
|
+
buttonValue: string;
|
|
43
|
+
onClick: () => void;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -9,9 +9,10 @@ declare const _default: {
|
|
|
9
9
|
type: string;
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
currency: {
|
|
13
13
|
control: {
|
|
14
14
|
type: string;
|
|
15
|
+
options: string[];
|
|
15
16
|
};
|
|
16
17
|
};
|
|
17
18
|
};
|
|
@@ -22,7 +23,7 @@ export declare const FormGroupComponent: {
|
|
|
22
23
|
storyName: string;
|
|
23
24
|
args: {
|
|
24
25
|
label: string;
|
|
25
|
-
|
|
26
|
+
currency: string;
|
|
26
27
|
error: boolean;
|
|
27
28
|
};
|
|
28
29
|
};
|