@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.
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- interface LabelProps {
3
- kai?: boolean;
2
+ export interface LabelProps {
3
+ currency?: 'tkai' | 'vkai' | undefined;
4
4
  value: string;
5
5
  className?: string;
6
6
  style?: React.CSSProperties;
@@ -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
+ };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TCustomOptions, TSelectInteractiveOption } from '../types';
3
2
  export interface GroupBase {
4
3
  options: readonly TSelectInteractiveOption[];
@@ -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;
@@ -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: {
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- interface CardValueProps {
2
+ export interface CardValueProps {
3
3
  label: string;
4
- kai?: boolean;
4
+ currency?: 'tkai' | 'vkai' | undefined;
5
5
  value: string | number;
6
6
  description?: string;
7
7
  buttonValue?: string;
@@ -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
+ };
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  export interface FormGroupProps {
3
- kai?: boolean;
3
+ currency?: 'tkai' | 'vkai' | undefined;
4
4
  label: string;
5
5
  error?: boolean;
6
6
  children: React.ReactNode;
@@ -9,9 +9,10 @@ declare const _default: {
9
9
  type: string;
10
10
  };
11
11
  };
12
- kai: {
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
- kai: boolean;
26
+ currency: string;
26
27
  error: boolean;
27
28
  };
28
29
  };