@ballistix.digital/react-components 0.4.110 → 0.4.111
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.esm.js +3 -3
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -5681,7 +5681,7 @@ var invalid$1 = {
|
|
|
5681
5681
|
description: 'text-sm text-red-600',
|
|
5682
5682
|
};
|
|
5683
5683
|
var disabled$2 = {
|
|
5684
|
-
input: 'block w-full rounded-md border-0 text-gray-900 shadow-sm ring-1 ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600
|
|
5684
|
+
input: 'block w-full rounded-md border-0 text-gray-900 shadow-sm ring-1 ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600 cursor-not-allowed bg-gray-50 text-gray-500 ring-gray-200 sm:text-sm sm:leading-6',
|
|
5685
5685
|
};
|
|
5686
5686
|
var styles$2 = {
|
|
5687
5687
|
base: base$2,
|
|
@@ -11318,7 +11318,7 @@ var CheckboxInputGroupForm = function (props) {
|
|
|
11318
11318
|
var styles$1 = handleGenerateStyle();
|
|
11319
11319
|
return (jsx(FormikProvider, __assign({ value: form }, { children: jsxs("fieldset", { children: [jsx("legend", __assign({ className: styles$1.sr }, { children: name })), jsx("div", __assign({ className: styles$1.list }, { children: jsx(FieldArray, { name: name, render: function (_a) {
|
|
11320
11320
|
var remove = _a.remove, push = _a.push;
|
|
11321
|
-
return (jsx(Fragment$1, { children: options.map(function (option) { return (jsxs("div", __assign({ className: styles$1.item.container }, { children: [jsx("div", __assign({ className: styles$1.item.head }, { children: jsx("input", { id: option.value, name: option.value, "aria-describedby": "".concat(option.value, "-description"), type: "checkbox", checked: values === null || values === void 0 ? void 0 : values.includes(option.value), className: styles$1.item.input, onChange: function (value) {
|
|
11321
|
+
return (jsx(Fragment$1, { children: options.map(function (option) { return (jsxs("div", __assign({ className: styles$1.item.container }, { children: [jsx("div", __assign({ className: styles$1.item.head }, { children: jsx("input", { id: option.value, name: option.value, "aria-describedby": "".concat(option.value, "-description"), type: "checkbox", checked: values === null || values === void 0 ? void 0 : values.includes(option.value), className: styles$1.item.input, disabled: isDisabled, onChange: function (value) {
|
|
11322
11322
|
var isChecked = value.currentTarget.checked;
|
|
11323
11323
|
if (isChecked) {
|
|
11324
11324
|
push(option.value);
|
|
@@ -11345,7 +11345,7 @@ var base = {
|
|
|
11345
11345
|
};
|
|
11346
11346
|
var disabled = {
|
|
11347
11347
|
item: {
|
|
11348
|
-
input: 'block
|
|
11348
|
+
input: 'block rounded-md border-0 text-gray-900 shadow-sm ring-1 ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600 disabled:cursor-not-allowed disabled:bg-gray-50 disabled:text-gray-500 disabled:ring-gray-200 sm:text-sm sm:leading-6',
|
|
11349
11349
|
},
|
|
11350
11350
|
};
|
|
11351
11351
|
var styles = {
|
package/dist/index.js
CHANGED
|
@@ -5692,7 +5692,7 @@ var invalid$1 = {
|
|
|
5692
5692
|
description: 'text-sm text-red-600',
|
|
5693
5693
|
};
|
|
5694
5694
|
var disabled$2 = {
|
|
5695
|
-
input: 'block w-full rounded-md border-0 text-gray-900 shadow-sm ring-1 ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600
|
|
5695
|
+
input: 'block w-full rounded-md border-0 text-gray-900 shadow-sm ring-1 ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600 cursor-not-allowed bg-gray-50 text-gray-500 ring-gray-200 sm:text-sm sm:leading-6',
|
|
5696
5696
|
};
|
|
5697
5697
|
var styles$2 = {
|
|
5698
5698
|
base: base$2,
|
|
@@ -11329,7 +11329,7 @@ var CheckboxInputGroupForm = function (props) {
|
|
|
11329
11329
|
var styles$1 = handleGenerateStyle();
|
|
11330
11330
|
return (jsxRuntime.jsx(FormikProvider, __assign({ value: form }, { children: jsxRuntime.jsxs("fieldset", { children: [jsxRuntime.jsx("legend", __assign({ className: styles$1.sr }, { children: name })), jsxRuntime.jsx("div", __assign({ className: styles$1.list }, { children: jsxRuntime.jsx(FieldArray, { name: name, render: function (_a) {
|
|
11331
11331
|
var remove = _a.remove, push = _a.push;
|
|
11332
|
-
return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: options.map(function (option) { return (jsxRuntime.jsxs("div", __assign({ className: styles$1.item.container }, { children: [jsxRuntime.jsx("div", __assign({ className: styles$1.item.head }, { children: jsxRuntime.jsx("input", { id: option.value, name: option.value, "aria-describedby": "".concat(option.value, "-description"), type: "checkbox", checked: values === null || values === void 0 ? void 0 : values.includes(option.value), className: styles$1.item.input, onChange: function (value) {
|
|
11332
|
+
return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: options.map(function (option) { return (jsxRuntime.jsxs("div", __assign({ className: styles$1.item.container }, { children: [jsxRuntime.jsx("div", __assign({ className: styles$1.item.head }, { children: jsxRuntime.jsx("input", { id: option.value, name: option.value, "aria-describedby": "".concat(option.value, "-description"), type: "checkbox", checked: values === null || values === void 0 ? void 0 : values.includes(option.value), className: styles$1.item.input, disabled: isDisabled, onChange: function (value) {
|
|
11333
11333
|
var isChecked = value.currentTarget.checked;
|
|
11334
11334
|
if (isChecked) {
|
|
11335
11335
|
push(option.value);
|
|
@@ -11356,7 +11356,7 @@ var base = {
|
|
|
11356
11356
|
};
|
|
11357
11357
|
var disabled = {
|
|
11358
11358
|
item: {
|
|
11359
|
-
input: 'block
|
|
11359
|
+
input: 'block rounded-md border-0 text-gray-900 shadow-sm ring-1 ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600 disabled:cursor-not-allowed disabled:bg-gray-50 disabled:text-gray-500 disabled:ring-gray-200 sm:text-sm sm:leading-6',
|
|
11360
11360
|
},
|
|
11361
11361
|
};
|
|
11362
11362
|
var styles = {
|