ingred-ui 37.1.3 → 37.2.1

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.
@@ -14,6 +14,7 @@
14
14
  * 注: FilterOperator, FilterInputType, FilterPresetType は src/utils/filterTypes.ts で
15
15
  * 定義され、本ファイルから re-export しています。
16
16
  */
17
+ import type { RadiiKey } from "../../styles";
17
18
  import type { MouseEvent, ReactNode, RefObject } from "react";
18
19
  import { Theme } from "../../themes";
19
20
  import type { IconName } from "../Icon";
@@ -288,7 +289,7 @@ export type AdvancedFilterSizeConfig = {
288
289
  height: string;
289
290
  fontSize: string;
290
291
  padding: string;
291
- borderRadius: string;
292
+ borderRadius: RadiiKey;
292
293
  iconSize: number;
293
294
  };
294
295
  export type AdvancedFilterVariantConfig = {
@@ -1,5 +1,6 @@
1
1
  /**
2
2
  * 左右2カラムかタブ切り替えかは、この要素に割り当てられた幅で決める。
3
+ * タブのときは外枠と角丸を付けない。画面幅が広くても、箱が狭ければ同じ見た目にする。
3
4
  * タブは上に残し、その下の一覧だけをスクロールする。
4
5
  */
5
6
  export declare const DualListBox2: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
@@ -1,3 +1,4 @@
1
+ import type { RadiiKey } from "../../styles";
1
2
  import { Theme } from "../../themes";
2
3
  export type FilterSize = "small" | "medium" | "large";
3
4
  export type FilterVariant = "light" | "dark";
@@ -6,7 +7,7 @@ export type FilterSizeProps = {
6
7
  };
7
8
  export type FilterSizeConfig = {
8
9
  height: string;
9
- borderRadius: string;
10
+ borderRadius: RadiiKey;
10
11
  iconSize: string;
11
12
  arrowIconSize: string;
12
13
  padding: string;
@@ -1,3 +1,4 @@
1
+ import type { RadiiKey } from "../../styles";
1
2
  import { Theme } from "../../themes";
2
3
  export type InputSize = "small" | "medium" | "large";
3
4
  export type InputVariant = "light" | "dark";
@@ -5,7 +6,7 @@ export type InputSizeConfig = {
5
6
  height: string;
6
7
  fontSize: string;
7
8
  padding: string;
8
- borderRadius: string;
9
+ borderRadius: RadiiKey;
9
10
  iconSize: number;
10
11
  };
11
12
  export declare const TEXTAREA_PADDING = "8px";
@@ -1,3 +1,4 @@
1
+ import type { RadiiKey } from "../../styles";
1
2
  import { Theme } from "../../themes";
2
3
  export type SwitchSize = "small" | "medium" | "large";
3
4
  export type SwitchVariant = "light" | "dark" | "primary";
@@ -5,10 +6,10 @@ export type SwitchSizeConfig = {
5
6
  height: string;
6
7
  fontSize: string;
7
8
  padding: string;
8
- borderRadius: string;
9
+ borderRadius: RadiiKey;
9
10
  itemHeight: string;
10
11
  itemPadding: string;
11
- itemRadius: string;
12
+ itemRadius: RadiiKey;
12
13
  iconSize: string;
13
14
  iconItemWidth: string;
14
15
  gap: string;
@@ -26,7 +26,7 @@ export declare const TAG_SIZES: {
26
26
  readonly fontSize: "11px";
27
27
  readonly padding: "2px 4px";
28
28
  readonly iconSize: "12px";
29
- readonly borderRadius: "4px";
29
+ readonly borderRadius: "small";
30
30
  readonly prependGap: "2px";
31
31
  readonly itemGap: "4px";
32
32
  };
@@ -35,7 +35,7 @@ export declare const TAG_SIZES: {
35
35
  readonly fontSize: "12px";
36
36
  readonly padding: "2px 4px";
37
37
  readonly iconSize: "14px";
38
- readonly borderRadius: "4px";
38
+ readonly borderRadius: "small";
39
39
  readonly prependGap: "2px";
40
40
  readonly itemGap: "6px";
41
41
  };
@@ -44,7 +44,7 @@ export declare const TAG_SIZES: {
44
44
  readonly fontSize: "13px";
45
45
  readonly padding: "4px 6px";
46
46
  readonly iconSize: "16px";
47
- readonly borderRadius: "4px";
47
+ readonly borderRadius: "small";
48
48
  readonly prependGap: "4px";
49
49
  readonly itemGap: "8px";
50
50
  };
@@ -53,7 +53,7 @@ export declare const TAG_SIZES: {
53
53
  readonly fontSize: "14px";
54
54
  readonly padding: "4px 8px";
55
55
  readonly iconSize: "16px";
56
- readonly borderRadius: "4px";
56
+ readonly borderRadius: "small";
57
57
  readonly prependGap: "4px";
58
58
  readonly itemGap: "8px";
59
59
  };