You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@heroui/checkbox

Package Overview
Dependencies
Maintainers
1
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@heroui/checkbox - npm Package Compare versions

Comparing version

to
2.3.21-beta.2

dist/chunk-ITDNPVX3.mjs

5

dist/checkbox-group.js

@@ -39,3 +39,2 @@ "use client";

var import_react = require("react");
var import_utils = require("@react-aria/utils");
var import_theme = require("@heroui/theme");

@@ -93,3 +92,3 @@ var import_checkbox = require("@react-aria/checkbox");

isInvalid: validationState === "invalid" || isInvalidProp,
onChange: (0, import_utils.chain)(props.onChange, onValueChange)
onChange: (0, import_shared_utils.chain)(props.onChange, onValueChange)
};

@@ -156,3 +155,3 @@ }, [

className: slots.base({ class: baseStyles }),
...(0, import_utils.mergeProps)(
...(0, import_shared_utils.mergeProps)(
groupProps,

@@ -159,0 +158,0 @@ (0, import_react_utils2.filterDOMProps)(otherProps, {

9

dist/checkbox.js

@@ -39,3 +39,2 @@ "use client";

var import_focus = require("@react-aria/focus");
var import_utils = require("@react-aria/utils");
var import_shared_utils = require("@heroui/shared-utils");

@@ -111,3 +110,3 @@ var import_checkbox = require("@react-aria/checkbox");

};
onChange = (0, import_utils.chain)(dispatch, onChange);
onChange = (0, import_shared_utils.chain)(dispatch, onChange);
}

@@ -227,3 +226,3 @@ const labelId = (0, import_react.useId)();

"data-indeterminate": (0, import_shared_utils.dataAttr)(isIndeterminate),
...(0, import_utils.mergeProps)(hoverProps, otherProps)
...(0, import_shared_utils.mergeProps)(hoverProps, otherProps)
};

@@ -258,5 +257,5 @@ }, [

ref: (0, import_react_utils2.mergeRefs)(inputRef, ref),
...(0, import_utils.mergeProps)(inputProps, focusProps),
...(0, import_shared_utils.mergeProps)(inputProps, focusProps),
className: slots.hiddenInput({ class: classNames == null ? void 0 : classNames.hiddenInput }),
onChange: (0, import_utils.chain)(inputProps.onChange, handleCheckboxChange)
onChange: (0, import_shared_utils.chain)(inputProps.onChange, handleCheckboxChange)
};

@@ -263,0 +262,0 @@ }, [inputProps, focusProps, handleCheckboxChange, classNames == null ? void 0 : classNames.hiddenInput]);

@@ -47,3 +47,2 @@ "use client";

var import_focus = require("@react-aria/focus");
var import_utils = require("@react-aria/utils");
var import_shared_utils = require("@heroui/shared-utils");

@@ -119,3 +118,3 @@ var import_checkbox = require("@react-aria/checkbox");

};
onChange = (0, import_utils.chain)(dispatch, onChange);
onChange = (0, import_shared_utils.chain)(dispatch, onChange);
}

@@ -235,3 +234,3 @@ const labelId = (0, import_react.useId)();

"data-indeterminate": (0, import_shared_utils.dataAttr)(isIndeterminate),
...(0, import_utils.mergeProps)(hoverProps, otherProps)
...(0, import_shared_utils.mergeProps)(hoverProps, otherProps)
};

@@ -266,5 +265,5 @@ }, [

ref: (0, import_react_utils2.mergeRefs)(inputRef, ref),
...(0, import_utils.mergeProps)(inputProps, focusProps),
...(0, import_shared_utils.mergeProps)(inputProps, focusProps),
className: slots.hiddenInput({ class: classNames == null ? void 0 : classNames.hiddenInput }),
onChange: (0, import_utils.chain)(inputProps.onChange, handleCheckboxChange)
onChange: (0, import_shared_utils.chain)(inputProps.onChange, handleCheckboxChange)
};

@@ -370,3 +369,2 @@ }, [inputProps, focusProps, handleCheckboxChange, classNames == null ? void 0 : classNames.hiddenInput]);

var import_react4 = require("react");
var import_utils2 = require("@react-aria/utils");
var import_theme2 = require("@heroui/theme");

@@ -424,3 +422,3 @@ var import_checkbox2 = require("@react-aria/checkbox");

isInvalid: validationState === "invalid" || isInvalidProp,
onChange: (0, import_utils2.chain)(props.onChange, onValueChange)
onChange: (0, import_shared_utils2.chain)(props.onChange, onValueChange)
};

@@ -487,3 +485,3 @@ }, [

className: slots.base({ class: baseStyles }),
...(0, import_utils2.mergeProps)(
...(0, import_shared_utils2.mergeProps)(
groupProps,

@@ -490,0 +488,0 @@ (0, import_react_utils3.filterDOMProps)(otherProps, {

import * as react from 'react';
import * as _heroui_system from '@heroui/system';
import { PropGetter, HTMLHeroUIProps } from '@heroui/system';
import { HTMLHeroUIProps, PropGetter } from '@heroui/system';
import { SlotsToClasses, CheckboxGroupSlots } from '@heroui/theme';

@@ -5,0 +5,0 @@ import { AriaCheckboxGroupProps } from '@react-types/checkbox';

@@ -29,3 +29,2 @@ "use client";

var import_react = require("react");
var import_utils = require("@react-aria/utils");
var import_theme = require("@heroui/theme");

@@ -83,3 +82,3 @@ var import_checkbox = require("@react-aria/checkbox");

isInvalid: validationState === "invalid" || isInvalidProp,
onChange: (0, import_utils.chain)(props.onChange, onValueChange)
onChange: (0, import_shared_utils.chain)(props.onChange, onValueChange)
};

@@ -146,3 +145,3 @@ }, [

className: slots.base({ class: baseStyles }),
...(0, import_utils.mergeProps)(
...(0, import_shared_utils.mergeProps)(
groupProps,

@@ -149,0 +148,0 @@ (0, import_react_utils.filterDOMProps)(otherProps, {

import * as _heroui_system from '@heroui/system';
import { PropGetter, HTMLHeroUIProps } from '@heroui/system';
import { HTMLHeroUIProps, PropGetter } from '@heroui/system';
import { CheckboxVariantProps, SlotsToClasses, CheckboxSlots } from '@heroui/theme';
import { AriaCheckboxProps } from '@react-types/checkbox';
import { ReactNode, Ref } from 'react';
import { Ref, ReactNode } from 'react';

@@ -7,0 +7,0 @@ type CheckboxIconProps = {

@@ -35,3 +35,2 @@ "use client";

var import_focus = require("@react-aria/focus");
var import_utils = require("@react-aria/utils");
var import_shared_utils = require("@heroui/shared-utils");

@@ -107,3 +106,3 @@ var import_checkbox = require("@react-aria/checkbox");

};
onChange = (0, import_utils.chain)(dispatch, onChange);
onChange = (0, import_shared_utils.chain)(dispatch, onChange);
}

@@ -223,3 +222,3 @@ const labelId = (0, import_react.useId)();

"data-indeterminate": (0, import_shared_utils.dataAttr)(isIndeterminate),
...(0, import_utils.mergeProps)(hoverProps, otherProps)
...(0, import_shared_utils.mergeProps)(hoverProps, otherProps)
};

@@ -254,5 +253,5 @@ }, [

ref: (0, import_react_utils2.mergeRefs)(inputRef, ref),
...(0, import_utils.mergeProps)(inputProps, focusProps),
...(0, import_shared_utils.mergeProps)(inputProps, focusProps),
className: slots.hiddenInput({ class: classNames == null ? void 0 : classNames.hiddenInput }),
onChange: (0, import_utils.chain)(inputProps.onChange, handleCheckboxChange)
onChange: (0, import_shared_utils.chain)(inputProps.onChange, handleCheckboxChange)
};

@@ -259,0 +258,0 @@ }, [inputProps, focusProps, handleCheckboxChange, classNames == null ? void 0 : classNames.hiddenInput]);

{
"name": "@heroui/checkbox",
"version": "2.3.21-beta.1",
"version": "2.3.21-beta.2",
"description": "Checkboxes allow users to select multiple items from a list of individual items, or to mark one individual item as selected.",

@@ -37,3 +37,2 @@ "keywords": [

"@react-aria/interactions": "3.25.3",
"@react-aria/utils": "3.29.1",
"@react-stately/checkbox": "3.6.15",

@@ -43,7 +42,7 @@ "@react-stately/toggle": "3.8.5",

"@react-types/shared": "3.30.0",
"@heroui/form": "2.1.21-beta.1",
"@heroui/react-utils": "2.1.12-beta.1",
"@heroui/shared-utils": "2.1.10-beta.3",
"@heroui/use-callback-ref": "2.1.8-beta.3",
"@heroui/use-safe-layout-effect": "2.1.8-beta.3"
"@heroui/form": "2.1.21-beta.2",
"@heroui/react-utils": "2.1.12-beta.2",
"@heroui/shared-utils": "2.1.10-beta.4",
"@heroui/use-callback-ref": "2.1.8-beta.4",
"@heroui/use-safe-layout-effect": "2.1.8-beta.4"
},

@@ -50,0 +49,0 @@ "clean-package": "../../../clean-package.config.json",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet