@oliasoft-open-source/react-ui-library 4.20.2 → 4.20.3-beta-2

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
@@ -1205,8 +1205,8 @@ export declare interface ISettingFieldProps {
1205
1205
  helpText?: string;
1206
1206
  disabled?: boolean;
1207
1207
  noPermission?: boolean;
1208
- selectedOption?: 'all_users' | 'superusers_admin';
1209
- handleSelectChange?: (value: 'all_users' | 'superusers_admin') => void;
1208
+ selectedOption?: boolean;
1209
+ handleSelectChange?: () => void;
1210
1210
  }
1211
1211
 
1212
1212
  export declare interface ISideBarProps {
package/dist/index.js CHANGED
@@ -67092,8 +67092,8 @@ const SettingField = ({
67092
67092
  ] }, index2));
67093
67093
  };
67094
67094
  const options = [
67095
- { label: "All users", value: "all_users" },
67096
- { label: "Admin only", value: "superusers_admin" }
67095
+ { label: "All users", value: false },
67096
+ { label: "Admin only", value: true }
67097
67097
  ];
67098
67098
  return /* @__PURE__ */ jsxs("div", { className: styles.settingField, children: [
67099
67099
  /* @__PURE__ */ jsxs(Flex, { justifyContent: "space-between", wrap: false, children: [
@@ -67107,9 +67107,7 @@ const SettingField = ({
67107
67107
  options,
67108
67108
  value: selectedOption,
67109
67109
  disabled: disabled2,
67110
- onChange: handleSelectChange ? (e2) => handleSelectChange(
67111
- e2.target.value
67112
- ) : void 0,
67110
+ onChange: handleSelectChange || void 0,
67113
67111
  "aria-label": "Select user type",
67114
67112
  width: "auto"
67115
67113
  }