@toteat-eng/ds-react 2026.7.20 → 2026.7.23
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.es.js
CHANGED
|
@@ -3487,22 +3487,22 @@ var Da = {
|
|
|
3487
3487
|
};
|
|
3488
3488
|
//#endregion
|
|
3489
3489
|
//#region src/components/Toggle/Toggle.tsx
|
|
3490
|
-
function Oa({ label: e, size: t = "medium", className: n, id: r, ref: i, "data-testid":
|
|
3491
|
-
let
|
|
3490
|
+
function Oa({ label: e, size: t = "medium", className: n, id: r, ref: i, "data-testid": o, ...s }) {
|
|
3491
|
+
let c = a(), l = r ?? c;
|
|
3492
3492
|
return /* @__PURE__ */ p("label", {
|
|
3493
3493
|
className: Da.wrapper,
|
|
3494
3494
|
"data-size": t,
|
|
3495
|
-
htmlFor:
|
|
3496
|
-
"data-testid":
|
|
3495
|
+
htmlFor: l,
|
|
3496
|
+
"data-testid": o,
|
|
3497
3497
|
children: [
|
|
3498
3498
|
/* @__PURE__ */ f("input", {
|
|
3499
3499
|
ref: i,
|
|
3500
3500
|
type: "checkbox",
|
|
3501
3501
|
role: "switch",
|
|
3502
|
-
"aria-checked":
|
|
3503
|
-
id:
|
|
3502
|
+
"aria-checked": s.checked ?? !1,
|
|
3503
|
+
id: l,
|
|
3504
3504
|
className: Da.input,
|
|
3505
|
-
...
|
|
3505
|
+
...s
|
|
3506
3506
|
}),
|
|
3507
3507
|
/* @__PURE__ */ f("span", {
|
|
3508
3508
|
className: Da.track,
|