@baton8/general-components 2.1.0-alpha.8 → 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.
|
@@ -21,7 +21,7 @@ export declare const Badge: import("react").ForwardRefExoticComponent<import("..
|
|
|
21
21
|
* 見た目のバリアント。
|
|
22
22
|
* @defaultValue `"solid"`
|
|
23
23
|
*/
|
|
24
|
-
variant?: "
|
|
24
|
+
variant?: "outline" | "solid" | "light" | undefined;
|
|
25
25
|
/**
|
|
26
26
|
* サイズ。
|
|
27
27
|
* @defaultValue `"medium"`
|
|
@@ -70,6 +70,18 @@ export declare function borderWidth(level: number): string;
|
|
|
70
70
|
* @category CSS ユーティリティ
|
|
71
71
|
*/
|
|
72
72
|
export declare function boxShadow(color: string, level: number, inset?: boolean): string;
|
|
73
|
+
/**
|
|
74
|
+
* スマートフォン環境のときにマッチする CSS セレクタを返します。
|
|
75
|
+
* スマートフォン環境のチェック条件は、`Root` コンポーネントの `smartphoneQuery` prop で設定できます。
|
|
76
|
+
* @category CSS ユーティリティ
|
|
77
|
+
*/
|
|
78
|
+
export declare function whenSmartphone(): string;
|
|
79
|
+
/**
|
|
80
|
+
* デスクトップ環境のときにマッチする CSS セレクタを返します。
|
|
81
|
+
* スマートフォン環境のチェック条件は、`Root` コンポーネントの `smartphoneQuery` prop で設定できます。
|
|
82
|
+
* @category CSS ユーティリティ
|
|
83
|
+
*/
|
|
84
|
+
export declare function whenDesktop(): string;
|
|
73
85
|
/**
|
|
74
86
|
* 行の高さを設定します。
|
|
75
87
|
* さらに、before 疑似要素と after 疑似要素に負のマージンを設定することで、最初の行の上と最後の行の下に追加される余白を取り除きます。
|