@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/components/tabs/tabs.d.ts.map +1 -1
- package/dist/components/tabs/tabs.stories.d.ts +1 -1
- package/dist/components/tabs/tabs.stories.d.ts.map +1 -1
- package/dist/components/tabs/tabs.test-case.stories.d.ts +7 -0
- package/dist/components/tabs/tabs.test-case.stories.d.ts.map +1 -0
- package/dist/global.css +1 -1
- package/dist/index.js +15 -19
- package/package.json +1 -1
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: "
|
|
6488
|
-
padding: "
|
|
6489
|
-
margin: "
|
|
6490
|
-
contentPadding: "
|
|
6491
|
-
item: "
|
|
6492
|
-
hidden: "
|
|
6493
|
-
left: "
|
|
6494
|
-
right: "
|
|
6495
|
-
|
|
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
|
-
|
|
6528
|
-
|
|
6529
|
-
|
|
6530
|
-
|
|
6531
|
-
|
|
6532
|
-
|
|
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