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

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
@@ -1194,6 +1194,7 @@ export declare interface ISettingFieldProps {
1194
1194
  helpText: string;
1195
1195
  children: ReactNode;
1196
1196
  active?: boolean;
1197
+ isLastField?: boolean;
1197
1198
  selectedOption: 'all_users' | 'superusers_admin';
1198
1199
  handleSelectChange: (value: 'all_users' | 'superusers_admin') => void;
1199
1200
  }
@@ -1706,7 +1707,7 @@ export declare const Row: ({ alignItems, justifyContent, children, flex, height,
1706
1707
 
1707
1708
  export declare const Select: (props: ISelectProps) => JSX_2.Element;
1708
1709
 
1709
- export declare const SettingField: ({ helpText, active, children, selectedOption, handleSelectChange, }: ISettingFieldProps) => JSX_2.Element;
1710
+ export declare const SettingField: ({ helpText, active, children, isLastField, selectedOption, handleSelectChange, }: ISettingFieldProps) => JSX_2.Element;
1710
1711
 
1711
1712
  export declare const SideBar: default_2.MemoExoticComponent<({ options, startOpen, onShiftClickToggleOpen, top, }: ISideBarProps) => JSX_2.Element>;
1712
1713
 
package/dist/index.js CHANGED
@@ -70956,6 +70956,7 @@ const SettingField = ({
70956
70956
  helpText,
70957
70957
  active: active2 = true,
70958
70958
  children,
70959
+ isLastField = false,
70959
70960
  selectedOption,
70960
70961
  handleSelectChange
70961
70962
  }) => {
@@ -70983,7 +70984,7 @@ const SettingField = ({
70983
70984
  )
70984
70985
  ] }),
70985
70986
  /* @__PURE__ */ jsx(Text, { muted: true, children: helpText }),
70986
- /* @__PURE__ */ jsx(Divider, {})
70987
+ !isLastField && /* @__PURE__ */ jsx(Divider, {})
70987
70988
  ] });
70988
70989
  };
70989
70990
  export {