@oliasoft-open-source/react-ui-library 8.0.0-beta-1 → 8.0.0-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.js CHANGED
@@ -843,40 +843,40 @@ var pa = {
843
843
  let { sections: t } = e;
844
844
  return !s(t) && (!Array.isArray(t) || t.every((e) => ln(e)));
845
845
  }, q = {
846
- wrapper: "_wrapper_qmp87_1",
847
- layer: "_layer_qmp87_6",
848
- layerContainer: "_layerContainer_qmp87_9",
849
- enter: "_enter_qmp87_25",
850
- enterActive: "_enterActive_qmp87_29",
851
- nested: "_nested_qmp87_34",
852
- fileInput: "_fileInput_qmp87_55",
853
- trigger: "_trigger_qmp87_60",
854
- heading: "_heading_qmp87_69",
855
- headingIcon: "_headingIcon_qmp87_75",
856
- clickable: "_clickable_qmp87_82",
857
- option: "_option_qmp87_86",
858
- active: "_active_qmp87_105",
859
- disabled: "_disabled_qmp87_110",
860
- selected: "_selected_qmp87_113",
861
- optionContent: "_optionContent_qmp87_120",
862
- inline: "_inline_qmp87_124",
863
- icon: "_icon_qmp87_129",
864
- check: "_check_qmp87_130",
865
- text: "_text_qmp87_156",
866
- label: "_label_qmp87_161",
867
- description: "_description_qmp87_173",
868
- arrow: "_arrow_qmp87_177",
869
- divider: "_divider_qmp87_181",
870
- deprecatedSemanticIcon: "_deprecatedSemanticIcon_qmp87_185",
871
- buttonLabel: "_buttonLabel_qmp87_193",
872
- component: "_component_qmp87_200",
873
- right: "_right_qmp87_206",
874
- actions: "_actions_qmp87_211",
875
- menuPopover: "_menuPopover_qmp87_218",
876
- menuPopoverNested: "_menuPopoverNested_qmp87_240",
877
- modalContainer: "_modalContainer_qmp87_243",
878
- menuItem: "_menuItem_qmp87_246",
879
- customSections: "_customSections_qmp87_261"
846
+ wrapper: "_wrapper_r9cul_1",
847
+ layer: "_layer_r9cul_6",
848
+ layerContainer: "_layerContainer_r9cul_9",
849
+ enter: "_enter_r9cul_25",
850
+ enterActive: "_enterActive_r9cul_29",
851
+ nested: "_nested_r9cul_34",
852
+ fileInput: "_fileInput_r9cul_55",
853
+ trigger: "_trigger_r9cul_61",
854
+ heading: "_heading_r9cul_70",
855
+ headingIcon: "_headingIcon_r9cul_76",
856
+ clickable: "_clickable_r9cul_83",
857
+ option: "_option_r9cul_87",
858
+ active: "_active_r9cul_106",
859
+ disabled: "_disabled_r9cul_111",
860
+ selected: "_selected_r9cul_114",
861
+ optionContent: "_optionContent_r9cul_121",
862
+ inline: "_inline_r9cul_125",
863
+ icon: "_icon_r9cul_130",
864
+ check: "_check_r9cul_131",
865
+ text: "_text_r9cul_157",
866
+ label: "_label_r9cul_162",
867
+ description: "_description_r9cul_174",
868
+ arrow: "_arrow_r9cul_178",
869
+ divider: "_divider_r9cul_182",
870
+ deprecatedSemanticIcon: "_deprecatedSemanticIcon_r9cul_186",
871
+ buttonLabel: "_buttonLabel_r9cul_194",
872
+ component: "_component_r9cul_201",
873
+ right: "_right_r9cul_207",
874
+ actions: "_actions_r9cul_212",
875
+ menuPopover: "_menuPopover_r9cul_219",
876
+ menuPopoverNested: "_menuPopoverNested_r9cul_241",
877
+ modalContainer: "_modalContainer_r9cul_244",
878
+ menuItem: "_menuItem_r9cul_247",
879
+ customSections: "_customSections_r9cul_262"
880
880
  }, Aa = ({ children: e, placement: t = "bottom-start", triggerRef: n, portalTriggerRef: r, isNested: i = !1, className: a }) => {
881
881
  let o = i ? void 0 : _a((r == null ? n : r).current);
882
882
  return /* @__PURE__ */ x(On, {
@@ -917,6 +917,7 @@ var pa = {
917
917
  }
918
918
  if (p) {
919
919
  var t;
920
+ if (e.target === v.current) return;
920
921
  (t = v.current) == null || t.click();
921
922
  return;
922
923
  }
@@ -936,6 +937,7 @@ var pa = {
936
937
  type: "file",
937
938
  accept: m,
938
939
  className: q.fileInput,
940
+ onClick: (e) => e.stopPropagation(),
939
941
  onChange: (e) => {
940
942
  var t;
941
943
  let { files: n } = (t = e == null ? void 0 : e.target) == null ? {} : t;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oliasoft-open-source/react-ui-library",
3
- "version": "8.0.0-beta-1",
3
+ "version": "8.0.0-beta-2",
4
4
  "description": "Reusable UI components for React projects",
5
5
  "homepage": "https://oliasoft-open-source.gitlab.io/react-ui-library",
6
6
  "bugs": {