@oliasoft-open-source/react-ui-library 6.12.0-beta-3 → 6.12.0-beta-5

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
@@ -6484,16 +6484,15 @@ var Va = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Ha =
6484
6484
  title: n == null ? void 0 : n.toString(),
6485
6485
  children: e
6486
6486
  }) : /* @__PURE__ */ y(v, { children: e }), vd = {
6487
- tabs: "_tabs_kv1ne_1",
6488
- padding: "_padding_kv1ne_7",
6489
- margin: "_margin_kv1ne_11",
6490
- contentPadding: "_contentPadding_kv1ne_14",
6491
- item: "_item_kv1ne_17",
6492
- hidden: "_hidden_kv1ne_60",
6493
- left: "_left_kv1ne_67",
6494
- right: "_right_kv1ne_67",
6495
- tabLink: "_tabLink_kv1ne_70",
6496
- selectionIndicator: "_selectionIndicator_kv1ne_75"
6487
+ tabs: "_tabs_1mioi_1",
6488
+ padding: "_padding_1mioi_7",
6489
+ margin: "_margin_1mioi_11",
6490
+ contentPadding: "_contentPadding_1mioi_14",
6491
+ item: "_item_1mioi_17",
6492
+ hidden: "_hidden_1mioi_60",
6493
+ left: "_left_1mioi_67",
6494
+ right: "_right_1mioi_67",
6495
+ selectionIndicator: "_selectionIndicator_1mioi_70"
6497
6496
  }, yd = ({ name: e = void 0, options: t = null, value: n = void 0, onChange: r = mn, padding: i = !1, margin: a = !0, testId: o, linkComponent: s }) => {
6498
6497
  let l = c(U), { simpleInputs: u, options: d, selectedOptions: f } = mc(t, n), p = f == null ? void 0 : u ? f : f.value, m = (e) => {
6499
6498
  var t;
@@ -6524,15 +6523,12 @@ var Va = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Ha =
6524
6523
  isDisabled: a || l,
6525
6524
  className: ({ isSelected: e }) => _(vd.item, i && !e && vd.hidden, s ? vd.right : vd.left),
6526
6525
  "data-testid": d,
6527
- children: [f && p ? /* @__PURE__ */ y(p, {
6528
- to: r,
6529
- className: vd.tabLink,
6530
- children: /* @__PURE__ */ y(_d, {
6531
- label: t,
6532
- invalid: c,
6533
- badge: u
6534
- })
6535
- }) : /* @__PURE__ */ y(_d, {
6526
+ render: f && p ? (e) => /* @__PURE__ */ y(p, {
6527
+ ...e,
6528
+ href: r,
6529
+ to: r
6530
+ }) : void 0,
6531
+ children: [/* @__PURE__ */ y(_d, {
6536
6532
  label: t,
6537
6533
  invalid: c,
6538
6534
  badge: u
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oliasoft-open-source/react-ui-library",
3
- "version": "6.12.0-beta-3",
3
+ "version": "6.12.0-beta-5",
4
4
  "description": "Reusable UI components for React projects",
5
5
  "homepage": "https://oliasoft-open-source.gitlab.io/react-ui-library",
6
6
  "bugs": {