ingred-ui 33.9.0-canary.1 → 33.9.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.
@@ -25,7 +25,6 @@ export type CheckboxValueInputProps = {
25
25
  selectedValues: (string | boolean)[];
26
26
  /** チェックボックスの状態が変更されたときのコールバック */
27
27
  onValueToggle: (value: string | boolean, checked: boolean) => void;
28
- disabled?: boolean;
29
28
  };
30
29
  /**
31
30
  * チェックボックス形式の値入力コンポーネント
@@ -58,8 +58,6 @@ export type ConfigPanelValueInputProps = {
58
58
  isRangeOperator: (operator: string) => boolean;
59
59
  /** テキスト入力要素への ref(inputType=text 時のみ使用) */
60
60
  textInputRef?: React.Ref<HTMLInputElement>;
61
- /** 入力を無効化する */
62
- disabled?: boolean;
63
61
  };
64
62
  /**
65
63
  * 値入力統合コンポーネント
@@ -25,7 +25,6 @@ export type RadioValueInputProps = {
25
25
  selectedRadioValue: string | boolean;
26
26
  /** ラジオボタンの選択が変更されたときのコールバック */
27
27
  onRadioChange: (value: string | boolean) => void;
28
- disabled?: boolean;
29
28
  };
30
29
  /**
31
30
  * ラジオボタン形式の値入力コンポーネント
@@ -39,7 +39,6 @@ export type TextValueInputProps = {
39
39
  format?: string;
40
40
  /** テキスト入力要素への ref(inputType=text 時のみ使用) */
41
41
  inputRef?: React.Ref<HTMLInputElement>;
42
- disabled?: boolean;
43
42
  };
44
43
  /**
45
44
  * テキスト/日付入力コンポーネント
@@ -104,14 +104,6 @@ export type MultiFilterConditionConfig = {
104
104
  * - false: 任意(空でも適用可能)
105
105
  */
106
106
  required?: boolean;
107
- /**
108
- * 他条件の選択値に応じてこの条件を活性化する。
109
- * 未指定時は常に活性。指定時は参照条件の値が values のいずれかと一致したときのみ活性。
110
- */
111
- enabledWhen?: {
112
- conditionKey: string;
113
- values: (string | boolean)[];
114
- };
115
107
  /** カスタムオペレーター関数 */
116
108
  customOperator?: (filterValues: (string | boolean)[], operator?: string, currentValue?: unknown) => boolean;
117
109
  /** カスタムバリデーション関数 */
@@ -137,16 +137,6 @@ export declare const getMultiConditionLogic: (filterConfig?: FilterTypeConfig) =
137
137
  * 条件キーから条件設定を取得する
138
138
  */
139
139
  export declare const getConditionConfigByKey: (filterConfig: FilterTypeConfig | undefined, conditionKey: string) => MultiFilterConditionConfig | undefined;
140
- /**
141
- * enabledWhen により条件入力が非活性かどうかを判定する
142
- */
143
- export declare const isConditionDisabledByDependency: (conditionConfig: MultiFilterConditionConfig, conditions: Array<{
144
- conditionKey: string;
145
- operator: string;
146
- value: string;
147
- selectedValues: (string | boolean)[];
148
- selectedRadioValue: string | boolean;
149
- }>, filterConfig?: FilterTypeConfig) => boolean;
150
140
  /**
151
141
  * 条件設定のデフォルトオペレーターを取得する
152
142
  * defaultOperatorがoperatorsに存在しない場合はエラーを投げる