@uniformdev/context-ui 20.34.3-alpha.70 → 20.35.1-alpha.58

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/index.d.mts CHANGED
@@ -39,6 +39,8 @@ type CriteriaOperatorMenuProps = {
39
39
  value: DimensionMatch['op'] | QuirkMatch['op'];
40
40
  onChange: (newValue: DimensionMatch['op'] | QuirkMatch['op']) => void;
41
41
  rhsType?: ResolvedDimensionDefinition['category'] | 'QUIRK';
42
+ /** sets the disabled state of the component */
43
+ disabled?: boolean;
42
44
  } & Omit<InputComboBoxProps<InputComboBoxOption, false>, 'value' | 'options' | 'onChange'>;
43
45
  declare const contextCriteriaMenuOperators: Array<{
44
46
  name: string;
@@ -93,6 +95,8 @@ type CriteriaMatchMenuProps = {
93
95
  dimensions: DimensionsData;
94
96
  errorMessage?: string;
95
97
  onChange: (newCriteria: DimensionMatch) => void;
98
+ /** sets the disabled state of the component */
99
+ disabled?: boolean;
96
100
  } & Omit<InputComboBoxProps<InputComboBoxOption, false>, 'value' | 'options' | 'onChange' | 'inputValue' | 'value' | 'onInputChange'>;
97
101
  declare function CriteriaMatchMenu({ onChange, criteriaMatch, dimensions, errorMessage, ...props }: CriteriaMatchMenuProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
98
102
 
@@ -106,6 +110,8 @@ type DimensionMenuProps = {
106
110
  quirks?: QuirkGetResponse['quirks'];
107
111
  errorMessage?: string;
108
112
  onChange: (newValue: ResolvedDimensionDefinition | Quirk | undefined) => void;
113
+ /** sets the disabled state of the component */
114
+ disabled?: boolean;
109
115
  } & Omit<InputComboBoxProps<DimensionMenuOption, false>, 'value' | 'options' | 'onChange'>;
110
116
  declare function DimensionMenu({ onChange, value, dimensions, errorMessage, quirks, ...props }: DimensionMenuProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
111
117
 
@@ -150,6 +156,8 @@ interface PersonalizationCriteriaStaticProps {
150
156
  lhs?: Array<string | undefined>;
151
157
  rhs?: Array<string | undefined>;
152
158
  };
159
+ /** sets the disabled state of the component */
160
+ readOnly?: boolean;
153
161
  }
154
162
  declare const PersonalizationCriteriaStatic: React.FC<PersonalizationCriteriaStaticProps>;
155
163
 
package/dist/index.d.ts CHANGED
@@ -39,6 +39,8 @@ type CriteriaOperatorMenuProps = {
39
39
  value: DimensionMatch['op'] | QuirkMatch['op'];
40
40
  onChange: (newValue: DimensionMatch['op'] | QuirkMatch['op']) => void;
41
41
  rhsType?: ResolvedDimensionDefinition['category'] | 'QUIRK';
42
+ /** sets the disabled state of the component */
43
+ disabled?: boolean;
42
44
  } & Omit<InputComboBoxProps<InputComboBoxOption, false>, 'value' | 'options' | 'onChange'>;
43
45
  declare const contextCriteriaMenuOperators: Array<{
44
46
  name: string;
@@ -93,6 +95,8 @@ type CriteriaMatchMenuProps = {
93
95
  dimensions: DimensionsData;
94
96
  errorMessage?: string;
95
97
  onChange: (newCriteria: DimensionMatch) => void;
98
+ /** sets the disabled state of the component */
99
+ disabled?: boolean;
96
100
  } & Omit<InputComboBoxProps<InputComboBoxOption, false>, 'value' | 'options' | 'onChange' | 'inputValue' | 'value' | 'onInputChange'>;
97
101
  declare function CriteriaMatchMenu({ onChange, criteriaMatch, dimensions, errorMessage, ...props }: CriteriaMatchMenuProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
98
102
 
@@ -106,6 +110,8 @@ type DimensionMenuProps = {
106
110
  quirks?: QuirkGetResponse['quirks'];
107
111
  errorMessage?: string;
108
112
  onChange: (newValue: ResolvedDimensionDefinition | Quirk | undefined) => void;
113
+ /** sets the disabled state of the component */
114
+ disabled?: boolean;
109
115
  } & Omit<InputComboBoxProps<DimensionMenuOption, false>, 'value' | 'options' | 'onChange'>;
110
116
  declare function DimensionMenu({ onChange, value, dimensions, errorMessage, quirks, ...props }: DimensionMenuProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
111
117
 
@@ -150,6 +156,8 @@ interface PersonalizationCriteriaStaticProps {
150
156
  lhs?: Array<string | undefined>;
151
157
  rhs?: Array<string | undefined>;
152
158
  };
159
+ /** sets the disabled state of the component */
160
+ readOnly?: boolean;
153
161
  }
154
162
  declare const PersonalizationCriteriaStatic: React.FC<PersonalizationCriteriaStaticProps>;
155
163