@gympass/yoga 7.102.2 → 7.102.3

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.
@@ -303,6 +303,7 @@ const Checkbox = (_a) => {
303
303
  "theme"
304
304
  ]);
305
305
  const inputRef = (0, import_react.useRef)(null);
306
+ const _a2 = rest, { onChange, onClick } = _a2, restWithoutEvents = __objRest(_a2, ["onChange", "onClick"]);
306
307
  (0, import_react.useEffect)(() => {
307
308
  if (inputRef.current) {
308
309
  inputRef.current.indeterminate = indeterminate;
@@ -314,7 +315,7 @@ const Checkbox = (_a) => {
314
315
  style,
315
316
  className,
316
317
  disabled
317
- }, rest), {
318
+ }, restWithoutEvents), {
318
319
  children: [
319
320
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
320
321
  CheckboxStyled,
@@ -342,12 +343,15 @@ const Checkbox = (_a) => {
342
343
  ),
343
344
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
344
345
  import_shared.HiddenInput,
345
- __spreadValues(__spreadValues({
346
+ __spreadProps(__spreadValues({
346
347
  type: "checkbox",
347
348
  ref: inputRef,
348
349
  checked,
349
350
  disabled
350
- }, value ? { value } : {}), rest)
351
+ }, value ? { value } : {}), {
352
+ onChange,
353
+ onClick
354
+ })
351
355
  ),
352
356
  label
353
357
  ] })
@@ -272,6 +272,7 @@ const Checkbox = (_a) => {
272
272
  "theme"
273
273
  ]);
274
274
  const inputRef = useRef(null);
275
+ const _a2 = rest, { onChange, onClick } = _a2, restWithoutEvents = __objRest(_a2, ["onChange", "onClick"]);
275
276
  useEffect(() => {
276
277
  if (inputRef.current) {
277
278
  inputRef.current.indeterminate = indeterminate;
@@ -283,7 +284,7 @@ const Checkbox = (_a) => {
283
284
  style,
284
285
  className,
285
286
  disabled
286
- }, rest), {
287
+ }, restWithoutEvents), {
287
288
  children: [
288
289
  /* @__PURE__ */ jsx(
289
290
  CheckboxStyled,
@@ -311,12 +312,15 @@ const Checkbox = (_a) => {
311
312
  ),
312
313
  /* @__PURE__ */ jsx(
313
314
  HiddenInput,
314
- __spreadValues(__spreadValues({
315
+ __spreadProps(__spreadValues({
315
316
  type: "checkbox",
316
317
  ref: inputRef,
317
318
  checked,
318
319
  disabled
319
- }, value ? { value } : {}), rest)
320
+ }, value ? { value } : {}), {
321
+ onChange,
322
+ onClick
323
+ })
320
324
  ),
321
325
  label
322
326
  ] })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gympass/yoga",
3
- "version": "7.102.2",
3
+ "version": "7.102.3",
4
4
  "description": "Gympass component library",
5
5
  "main": "./cjs",
6
6
  "types": "./typings/index.d.ts",
@@ -57,7 +57,7 @@
57
57
  "react-native": "0.72.3",
58
58
  "styled-components": "^4.4.0"
59
59
  },
60
- "gitHead": "003ec262716e9fc128bf071e1836f278766350a1",
60
+ "gitHead": "ceff4fcc30b0f6f6d4b5ee6faec29f0e6dd0e0de",
61
61
  "module": "./esm",
62
62
  "private": false,
63
63
  "react-native": "./cjs/index.native.js"