@mediaradar/design-components 0.4.0 → 0.5.0
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.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -444,7 +444,7 @@ function OptionRow({
|
|
|
444
444
|
// src/CheckBox.tsx
|
|
445
445
|
var import_lucide_react4 = require("lucide-react");
|
|
446
446
|
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
447
|
-
function CheckBox({ checked, indeterminate, onChange, ariaLabel, disabled, testId }) {
|
|
447
|
+
function CheckBox({ checked, indeterminate, onChange, ariaLabel, disabled, testId, title }) {
|
|
448
448
|
const on = checked || indeterminate;
|
|
449
449
|
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
450
450
|
"button",
|
|
@@ -453,6 +453,7 @@ function CheckBox({ checked, indeterminate, onChange, ariaLabel, disabled, testI
|
|
|
453
453
|
role: "checkbox",
|
|
454
454
|
"aria-checked": indeterminate ? "mixed" : checked,
|
|
455
455
|
"aria-label": ariaLabel,
|
|
456
|
+
title,
|
|
456
457
|
disabled,
|
|
457
458
|
"data-testid": testId,
|
|
458
459
|
onClick: (e) => {
|