@hybr1d-tech/charizard 0.7.145 → 0.7.146
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/hybr1d-ui.js +15 -15
- package/dist/hybr1d-ui.umd.cjs +13 -13
- package/dist/index.d.ts +7 -3
- package/package.json +1 -1
package/dist/hybr1d-ui.js
CHANGED
|
@@ -12461,15 +12461,15 @@ function ux({ status: e = "info", children: l }) {
|
|
|
12461
12461
|
l
|
|
12462
12462
|
] });
|
|
12463
12463
|
}
|
|
12464
|
-
const S3 = g.createContext(null), D4 = ({ children: e, defaultActiveKey: l }) => {
|
|
12465
|
-
const [
|
|
12464
|
+
const S3 = g.createContext(null), D4 = ({ children: e, defaultActiveKey: l, customClasses: n, customStyle: c }) => {
|
|
12465
|
+
const [a, s] = u0(
|
|
12466
12466
|
l5.machine({
|
|
12467
12467
|
id: l,
|
|
12468
12468
|
collapsible: !0,
|
|
12469
12469
|
value: l ? [l] : []
|
|
12470
12470
|
})
|
|
12471
|
-
),
|
|
12472
|
-
return /* @__PURE__ */ t.jsx(S3.Provider, { value: { api:
|
|
12471
|
+
), r = l5.connect(a, s, d0);
|
|
12472
|
+
return /* @__PURE__ */ t.jsx(S3.Provider, { value: { api: r, state: a, send: s }, children: /* @__PURE__ */ t.jsx("div", { ...r.getRootProps(), className: n, style: c, children: e }) });
|
|
12473
12473
|
};
|
|
12474
12474
|
D4.Item = ({ eventKey: e, children: l }) => {
|
|
12475
12475
|
const n = g.useContext(S3);
|
|
@@ -12478,12 +12478,12 @@ D4.Item = ({ eventKey: e, children: l }) => {
|
|
|
12478
12478
|
const { api: c } = n;
|
|
12479
12479
|
return /* @__PURE__ */ t.jsx("div", { ...c.getItemProps({ value: e }), children: l });
|
|
12480
12480
|
};
|
|
12481
|
-
D4.Header = ({ eventKey: e, children: l,
|
|
12482
|
-
const
|
|
12483
|
-
if (!
|
|
12481
|
+
D4.Header = ({ eventKey: e, children: l, customClasses: n, customStyle: c }) => {
|
|
12482
|
+
const a = g.useContext(S3);
|
|
12483
|
+
if (!a)
|
|
12484
12484
|
throw new Error("Accordion.Header must be used within an Accordion");
|
|
12485
|
-
const { api:
|
|
12486
|
-
return /* @__PURE__ */ t.jsx("div", { style: n, children: /* @__PURE__ */ t.jsx(
|
|
12485
|
+
const { api: s } = a;
|
|
12486
|
+
return /* @__PURE__ */ t.jsx("div", { style: c, className: n, children: /* @__PURE__ */ t.jsx(
|
|
12487
12487
|
"button",
|
|
12488
12488
|
{
|
|
12489
12489
|
style: {
|
|
@@ -12496,17 +12496,17 @@ D4.Header = ({ eventKey: e, children: l, customStyle: n }) => {
|
|
|
12496
12496
|
width: "100%",
|
|
12497
12497
|
height: "100%"
|
|
12498
12498
|
},
|
|
12499
|
-
...
|
|
12499
|
+
...s.getItemTriggerProps({ value: e }),
|
|
12500
12500
|
children: l
|
|
12501
12501
|
}
|
|
12502
12502
|
) });
|
|
12503
12503
|
};
|
|
12504
|
-
D4.Collapse = ({ eventKey: e, children: l,
|
|
12505
|
-
const
|
|
12506
|
-
if (!
|
|
12504
|
+
D4.Collapse = ({ eventKey: e, children: l, customClasses: n, customStyle: c }) => {
|
|
12505
|
+
const a = g.useContext(S3);
|
|
12506
|
+
if (!a)
|
|
12507
12507
|
throw new Error("Accordion.Collapse must be used within an Accordion");
|
|
12508
|
-
const { api:
|
|
12509
|
-
return /* @__PURE__ */ t.jsx("div", { style: n, ...
|
|
12508
|
+
const { api: s } = a;
|
|
12509
|
+
return /* @__PURE__ */ t.jsx("div", { style: c, className: n, ...s.getItemContentProps({ value: e }), children: l });
|
|
12510
12510
|
};
|
|
12511
12511
|
const Gf = "_container_adbn2_1", Pf = "_labelContainer_adbn2_7", Of = "_sliderContainer_adbn2_18", Wf = "_slider_adbn2_18", Zf = "_label_adbn2_7", Xf = "_error_adbn2_87", $f = "_infoIconContainer_adbn2_93", Yf = "_infoIcon_adbn2_93", L2 = {
|
|
12512
12512
|
container: Gf,
|