siam-ui-utils 3.1.2 → 3.1.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.
|
@@ -10,7 +10,6 @@ const CustomInputCheckbox = ({
|
|
|
10
10
|
children,
|
|
11
11
|
defaultChecked,
|
|
12
12
|
disabled,
|
|
13
|
-
key,
|
|
14
13
|
label,
|
|
15
14
|
onChange
|
|
16
15
|
}) => {
|
|
@@ -29,7 +28,7 @@ const CustomInputCheckbox = ({
|
|
|
29
28
|
),
|
|
30
29
|
/* @__PURE__ */ jsx(Label, { check: true, htmlFor: `check_${id}`, children: label }),
|
|
31
30
|
children
|
|
32
|
-
] },
|
|
31
|
+
] }, id);
|
|
33
32
|
};
|
|
34
33
|
export {
|
|
35
34
|
CustomInputCheckbox
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomInputCheckbox.js","sources":["../../src/custom-input/CustomInputCheckbox.jsx"],"sourcesContent":["import { FormGroup, Label, Input } from '@neolution-ch/reactstrap';\r\nimport './index.css';\r\n\r\nexport const CustomInputCheckbox = ({\r\n className,\r\n id,\r\n checked,\r\n children,\r\n defaultChecked,\r\n disabled,\r\n
|
|
1
|
+
{"version":3,"file":"CustomInputCheckbox.js","sources":["../../src/custom-input/CustomInputCheckbox.jsx"],"sourcesContent":["import { FormGroup, Label, Input } from '@neolution-ch/reactstrap';\r\nimport './index.css';\r\n\r\nexport const CustomInputCheckbox = ({\r\n className,\r\n id,\r\n checked,\r\n children,\r\n defaultChecked,\r\n disabled,\r\n label,\r\n onChange,\r\n}) => {\r\n return (\r\n <FormGroup check key={id} className=\"custom-checkbox\">\r\n <Input\r\n type=\"checkbox\"\r\n id={`check_${id}`}\r\n className={className}\r\n checked={checked}\r\n onChange={onChange}\r\n defaultChecked={defaultChecked}\r\n disabled={disabled}\r\n />\r\n <Label check htmlFor={`check_${id}`}>\r\n {label}\r\n </Label>\r\n {children}\r\n </FormGroup>\r\n );\r\n};\r\nexport default CustomInputCheckbox;\r\n"],"names":[],"mappings":";;;;;AAGO,MAAM,sBAAsB,CAAC;AAAA,EAClC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,SACE,qBAAC,WAAA,EAAU,OAAK,MAAU,WAAU,mBAClC,UAAA;AAAA,IAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,MAAK;AAAA,QACL,IAAI,SAAS,EAAE;AAAA,QACf;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,IAAA;AAAA,IAEF,oBAAC,SAAM,OAAK,MAAC,SAAS,SAAS,EAAE,IAC9B,UAAA,MAAA,CACH;AAAA,IACC;AAAA,EAAA,EAAA,GAbmB,EActB;AAEJ;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "siam-ui-utils",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.3",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"ampf-react",
|
|
6
6
|
"ampf-utils",
|
|
@@ -129,5 +129,8 @@
|
|
|
129
129
|
"vite": "^7.0.1",
|
|
130
130
|
"vite-plugin-commonjs": "^0.10.3",
|
|
131
131
|
"vitest": "^3.2.4"
|
|
132
|
+
},
|
|
133
|
+
"overrides": {
|
|
134
|
+
"react-popper": "2.3.0"
|
|
132
135
|
}
|
|
133
136
|
}
|