New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@clayui/form

Package Overview
Dependencies
Maintainers
13
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clayui/form - npm Package Compare versions

Comparing version 3.115.0 to 3.116.0

6

CHANGELOG.md

@@ -6,2 +6,8 @@ # Change Log

# [3.116.0](https://github.com/liferay/clay/compare/v3.115.2...v3.116.0) (2024-06-10)
### Features
- **@clayui/form:** add regular size to input ([53a62b1](https://github.com/liferay/clay/commit/53a62b1cc7ca7c80e471107ba67ddf3fdceca3ee))
# [3.115.0](https://github.com/liferay/clay/compare/v3.114.0...v3.115.0) (2024-05-16)

@@ -8,0 +14,0 @@

4

lib/Checkbox.d.ts

@@ -16,2 +16,6 @@ /**

/**
* Props to disable checkbox.
*/
disabled?: boolean;
/**
* Flag to indicate that checkbox is in an indeterminate state.

@@ -18,0 +22,0 @@ */

7

lib/Checkbox.js

@@ -12,3 +12,3 @@ "use strict";

var _excluded = ["checked", "children", "className", "containerProps", "indeterminate", "inline", "label", "readOnly"];
var _excluded = ["checked", "children", "className", "containerProps", "disabled", "indeterminate", "inline", "label"];

@@ -29,2 +29,3 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

containerProps = _ref$containerProps === void 0 ? {} : _ref$containerProps,
disabled = _ref.disabled,
_ref$indeterminate = _ref.indeterminate,

@@ -34,3 +35,2 @@ indeterminate = _ref$indeterminate === void 0 ? false : _ref$indeterminate,

label = _ref.label,
readOnly = _ref.readOnly,
otherProps = _objectWithoutProperties(_ref, _excluded);

@@ -52,6 +52,5 @@

}), /*#__PURE__*/_react.default.createElement("label", null, /*#__PURE__*/_react.default.createElement("input", _extends({}, otherProps, {
"aria-disabled": readOnly,
checked: checked,
className: (0, _classnames.default)('custom-control-input', className),
readOnly: readOnly,
disabled: disabled,
ref: function ref(r) {

@@ -58,0 +57,0 @@ inputRef.current = r;

@@ -67,3 +67,3 @@ /**

*/
sizing?: 'lg' | 'sm';
sizing?: 'lg' | 'regular' | 'sm';
}

@@ -70,0 +70,0 @@ declare const _default: React.ForwardRefExoticComponent<IProps & React.RefAttributes<HTMLInputElement>> & {

@@ -104,3 +104,4 @@ "use strict";

insetBefore = _ref5.insetBefore,
sizing = _ref5.sizing,
_ref5$sizing = _ref5.sizing,
sizing = _ref5$sizing === void 0 ? 'regular' : _ref5$sizing,
_ref5$type = _ref5.type,

@@ -111,3 +112,3 @@ type = _ref5$type === void 0 ? 'text' : _ref5$type,

return /*#__PURE__*/_react.default.createElement(Component, _extends({}, otherProps, {
className: (0, _classnames.default)('form-control', className, (_classNames4 = {}, _defineProperty(_classNames4, "form-control-".concat(sizing), sizing), _defineProperty(_classNames4, 'input-group-inset', insetAfter || insetBefore), _defineProperty(_classNames4, 'input-group-inset-after', insetAfter), _defineProperty(_classNames4, 'input-group-inset-before', insetBefore), _classNames4)),
className: (0, _classnames.default)('form-control', className, (_classNames4 = {}, _defineProperty(_classNames4, "form-control-".concat(sizing), sizing && sizing !== 'regular'), _defineProperty(_classNames4, 'input-group-inset', insetAfter || insetBefore), _defineProperty(_classNames4, 'input-group-inset-after', insetAfter), _defineProperty(_classNames4, 'input-group-inset-before', insetBefore), _classNames4)),
ref: ref,

@@ -114,0 +115,0 @@ type: type

{
"name": "@clayui/form",
"version": "3.115.0",
"version": "3.116.0",
"description": "ClayForm component",

@@ -27,5 +27,5 @@ "license": "BSD-3-Clause",

"dependencies": {
"@clayui/button": "^3.115.0",
"@clayui/button": "^3.116.0",
"@clayui/icon": "^3.111.0",
"@clayui/shared": "^3.115.0",
"@clayui/shared": "^3.116.0",
"classnames": "^2.2.6"

@@ -41,3 +41,3 @@ },

],
"gitHead": "c432c2c7a899470e0d9abf7a9217156a2de808fc"
"gitHead": "235780a282ba87864ce556f8004571af102ff165"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc