@oliasoft-open-source/react-ui-library 4.15.0-beta-5 → 4.15.0-beta-7

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.ts CHANGED
@@ -1193,6 +1193,7 @@ declare interface ISelectSelectedOption {
1193
1193
  export declare interface ISettingFieldProps {
1194
1194
  helpText: string;
1195
1195
  children: ReactNode;
1196
+ active?: boolean;
1196
1197
  selectedOption: 'all_users' | 'superusers_admin';
1197
1198
  handleSelectChange: (value: 'all_users' | 'superusers_admin') => void;
1198
1199
  }
@@ -1705,7 +1706,7 @@ export declare const Row: ({ alignItems, justifyContent, children, flex, height,
1705
1706
 
1706
1707
  export declare const Select: (props: ISelectProps) => JSX_2.Element;
1707
1708
 
1708
- export declare const SettingField: ({ helpText, children, selectedOption, handleSelectChange, }: ISettingFieldProps) => JSX_2.Element;
1709
+ export declare const SettingField: ({ helpText, active, children, selectedOption, handleSelectChange, }: ISettingFieldProps) => JSX_2.Element;
1709
1710
 
1710
1711
  export declare const SideBar: default_2.MemoExoticComponent<({ options, startOpen, onShiftClickToggleOpen, top, }: ISideBarProps) => JSX_2.Element>;
1711
1712
 
package/dist/index.js CHANGED
@@ -70954,6 +70954,7 @@ const SmartUploadModal = ({
70954
70954
  };
70955
70955
  const SettingField = ({
70956
70956
  helpText,
70957
+ active: active2 = true,
70957
70958
  children,
70958
70959
  selectedOption,
70959
70960
  handleSelectChange
@@ -70974,6 +70975,7 @@ const SettingField = ({
70974
70975
  name: "userType",
70975
70976
  options,
70976
70977
  value: selectedOption,
70978
+ disabled: !active2,
70977
70979
  onChange: onSelectChange,
70978
70980
  "aria-label": "Select user type",
70979
70981
  width: "auto"