@baton8/general-components 2.1.0-alpha.4 → 2.1.0-alpha.6
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/components/atoms/badge/badge.d.ts +1 -1
- package/dist/components/atoms/generalIcon/generalIcon.d.ts +1 -1
- package/dist/components/atoms/input/input.d.ts +1 -1
- package/dist/components/atoms/textarea/textarea.d.ts +1 -1
- package/dist/components/functions/utilities.d.ts +2 -0
- package/dist/components/modules/tabList/tab.d.ts +2 -0
- package/dist/index.js +63 -51
- package/dist/index.js.map +1 -1
- package/dist/modules/translation.d.ts +1 -2
- package/dist/stories/modules/tabList/tabList.stories.d.ts +2 -0
- package/package.json +1 -1
|
@@ -21,7 +21,7 @@ export declare const Badge: import("react").ForwardRefExoticComponent<import("..
|
|
|
21
21
|
* 見た目のバリアント。
|
|
22
22
|
* @defaultValue `"solid"`
|
|
23
23
|
*/
|
|
24
|
-
variant?: "
|
|
24
|
+
variant?: "solid" | "light" | "outline" | undefined;
|
|
25
25
|
/**
|
|
26
26
|
* サイズ。
|
|
27
27
|
* @defaultValue `"medium"`
|
|
@@ -42,7 +42,7 @@ export declare const GeneralIcon: import("react").ForwardRefExoticComponent<impo
|
|
|
42
42
|
* アイコンの反転。
|
|
43
43
|
* @defaultValue `"none"`
|
|
44
44
|
*/
|
|
45
|
-
flip?: "
|
|
45
|
+
flip?: "both" | "none" | "horizontal" | "vertical" | undefined;
|
|
46
46
|
/**
|
|
47
47
|
* アイコンの回転角度。
|
|
48
48
|
* @defaultValue `0`
|
|
@@ -50,7 +50,7 @@ export declare const Input: import("react").ForwardRefExoticComponent<import("..
|
|
|
50
50
|
/**
|
|
51
51
|
* @defaultValue `"text"`
|
|
52
52
|
*/
|
|
53
|
-
type?: "
|
|
53
|
+
type?: "date" | "time" | "search" | "month" | "text" | "tel" | "url" | "email" | "datetime-local" | "week" | undefined;
|
|
54
54
|
/** */
|
|
55
55
|
inputMode?: "search" | "numeric" | "decimal" | "text" | "none" | "tel" | "url" | "email" | undefined;
|
|
56
56
|
/**
|
|
@@ -23,7 +23,7 @@ export declare const Textarea: import("react").ForwardRefExoticComponent<import(
|
|
|
23
23
|
* リサイズ可能な方向。
|
|
24
24
|
* @defaultValue `"vertical"`
|
|
25
25
|
*/
|
|
26
|
-
resize?: "
|
|
26
|
+
resize?: "both" | "none" | "horizontal" | "vertical" | undefined;
|
|
27
27
|
/** */
|
|
28
28
|
inputMode?: "search" | "numeric" | "decimal" | "text" | "none" | "tel" | "url" | "email" | undefined;
|
|
29
29
|
/**
|
|
@@ -33,6 +33,7 @@ export declare function color<S extends LeveledColorScheme>(scheme: S, level: Co
|
|
|
33
33
|
export declare function alpha(color: string, alpha: number): string;
|
|
34
34
|
declare const SEMANTIC_SIZES: {
|
|
35
35
|
gap: string;
|
|
36
|
+
unitGap: string;
|
|
36
37
|
max: string;
|
|
37
38
|
};
|
|
38
39
|
type SemanticSize = keyof typeof SEMANTIC_SIZES;
|
|
@@ -47,6 +48,7 @@ type SemanticSize = keyof typeof SEMANTIC_SIZES;
|
|
|
47
48
|
* 指定できる文字列は以下の通りです。
|
|
48
49
|
*
|
|
49
50
|
* - `"gap"` — アイコンとテキストの間隔 (6/16 em)
|
|
51
|
+
* - `"unitGap"` — テキストにおける数値と単位の間隔 (4/16 em)
|
|
50
52
|
* - `"max"` — `border-radius` で真円の角丸を作るための大きな値 (1000 em)
|
|
51
53
|
* @param level 長さ
|
|
52
54
|
* @returns 長さ文字列
|
|
@@ -11,6 +11,8 @@ export declare const Tab: import("react").ForwardRefExoticComponent<import("../.
|
|
|
11
11
|
/** */
|
|
12
12
|
scheme?: "primary" | "secondary" | "blue" | "red" | "green" | "pink" | "yellow" | "purple" | "orange" | "gray" | "gold" | "silver" | "bronze" | undefined;
|
|
13
13
|
/** */
|
|
14
|
+
isDisabled?: boolean | undefined;
|
|
15
|
+
/** */
|
|
14
16
|
isActive?: boolean | undefined;
|
|
15
17
|
/** */
|
|
16
18
|
href?: string | undefined;
|