@oliasoft-open-source/react-ui-library 8.0.0-beta-8 → 8.0.0-beta-10

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
@@ -844,39 +844,34 @@ var _a = {
844
844
  let { sections: t } = e;
845
845
  return !s(t) && (!Array.isArray(t) || t.every((e) => cn(e)));
846
846
  }, J = {
847
- layerContainer: "_layerContainer_uahkz_1",
848
- layer: "_layer_uahkz_1",
849
- enter: "_enter_uahkz_17",
850
- enterActive: "_enterActive_uahkz_21",
851
- nested: "_nested_uahkz_26",
852
- fileInput: "_fileInput_uahkz_47",
853
- trigger: "_trigger_uahkz_53",
854
- heading: "_heading_uahkz_62",
855
- headingIcon: "_headingIcon_uahkz_68",
856
- clickable: "_clickable_uahkz_75",
857
- option: "_option_uahkz_79",
858
- active: "_active_uahkz_98",
859
- disabled: "_disabled_uahkz_103",
860
- selected: "_selected_uahkz_106",
861
- optionContent: "_optionContent_uahkz_113",
862
- inline: "_inline_uahkz_117",
863
- icon: "_icon_uahkz_122",
864
- check: "_check_uahkz_123",
865
- text: "_text_uahkz_149",
866
- label: "_label_uahkz_154",
867
- description: "_description_uahkz_166",
868
- arrow: "_arrow_uahkz_170",
869
- divider: "_divider_uahkz_174",
870
- deprecatedSemanticIcon: "_deprecatedSemanticIcon_uahkz_178",
871
- buttonLabel: "_buttonLabel_uahkz_186",
872
- component: "_component_uahkz_193",
873
- right: "_right_uahkz_199",
874
- actions: "_actions_uahkz_204",
875
- menuPopover: "_menuPopover_uahkz_211",
876
- menuPopoverNested: "_menuPopoverNested_uahkz_233",
877
- modalContainer: "_modalContainer_uahkz_236",
878
- menuItem: "_menuItem_uahkz_239",
879
- customSections: "_customSections_uahkz_254"
847
+ layer: "_layer_v9hv9_1",
848
+ nested: "_nested_v9hv9_14",
849
+ fileInput: "_fileInput_v9hv9_17",
850
+ trigger: "_trigger_v9hv9_23",
851
+ heading: "_heading_v9hv9_32",
852
+ headingIcon: "_headingIcon_v9hv9_38",
853
+ clickable: "_clickable_v9hv9_45",
854
+ option: "_option_v9hv9_49",
855
+ active: "_active_v9hv9_68",
856
+ disabled: "_disabled_v9hv9_73",
857
+ selected: "_selected_v9hv9_76",
858
+ optionContent: "_optionContent_v9hv9_83",
859
+ inline: "_inline_v9hv9_87",
860
+ icon: "_icon_v9hv9_92",
861
+ check: "_check_v9hv9_93",
862
+ label: "_label_v9hv9_119",
863
+ description: "_description_v9hv9_131",
864
+ arrow: "_arrow_v9hv9_135",
865
+ divider: "_divider_v9hv9_139",
866
+ buttonLabel: "_buttonLabel_v9hv9_147",
867
+ component: "_component_v9hv9_154",
868
+ right: "_right_v9hv9_160",
869
+ actions: "_actions_v9hv9_165",
870
+ menuPopover: "_menuPopover_v9hv9_172",
871
+ menuPopoverNested: "_menuPopoverNested_v9hv9_194",
872
+ modalContainer: "_modalContainer_v9hv9_197",
873
+ menuItem: "_menuItem_v9hv9_200",
874
+ customSections: "_customSections_v9hv9_215"
880
875
  }, Pa = ({ children: e, placement: t = "bottom-start", triggerRef: n, portalTriggerRef: r, isNested: i = !1, className: a, offset: o = 0 }) => {
881
876
  let s = i ? void 0 : xa((r == null ? n : r).current);
882
877
  return /* @__PURE__ */ x(On, {
@@ -1170,7 +1165,6 @@ var _a = {
1170
1165
  small: r,
1171
1166
  width: i,
1172
1167
  groupOrder: o,
1173
- onClick: () => {},
1174
1168
  rightIcon: _ ? U.CHEVRON_DOWN : null,
1175
1169
  loading: s,
1176
1170
  disabled: a || g,
@@ -1195,15 +1189,12 @@ var _a = {
1195
1189
  if (s(e) && Ea(e)) {
1196
1190
  var c;
1197
1191
  let s = e, l = (c = s.props["data-testid"]) == null ? s.props.testId : c, u = typeof s.type == "string", d = s.ref;
1198
- return /* @__PURE__ */ x("div", {
1199
- className: y(J.component, t ? J.disabled : null),
1200
- children: r(s, {
1201
- ...a,
1202
- ref: Za(o, d),
1203
- disabled: t || s.props.disabled,
1204
- ...u ? null : { active: !!(s.props.active || n) },
1205
- ...l ? null : u ? { "data-testid": i } : { testId: i }
1206
- })
1192
+ return r(s, {
1193
+ ...a,
1194
+ ref: Za(o, d),
1195
+ disabled: t || s.props.disabled,
1196
+ ...u ? null : { active: !!(s.props.active || n) },
1197
+ ...l ? null : u ? { "data-testid": i } : { testId: i }
1207
1198
  });
1208
1199
  }
1209
1200
  return /* @__PURE__ */ x("div", {
@@ -1304,7 +1295,10 @@ var _a = {
1304
1295
  isOpen: z,
1305
1296
  error: h,
1306
1297
  warning: v,
1307
- tabIndex: y
1298
+ tabIndex: y,
1299
+ onClick: (e) => {
1300
+ e.stopPropagation(), e.preventDefault();
1301
+ }
1308
1302
  })
1309
1303
  });
1310
1304
  return /* @__PURE__ */ S(Dn, {
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-8",
3
+ "version": "8.0.0-beta-10",
4
4
  "description": "Reusable UI components for React projects",
5
5
  "homepage": "https://oliasoft-open-source.gitlab.io/react-ui-library",
6
6
  "bugs": {