@overmap-ai/blocks 1.0.25 → 1.0.26-component-forms.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/Checkbox/typings.d.ts +2 -0
- package/dist/blocks.js +17 -10
- package/dist/blocks.js.map +1 -1
- package/dist/blocks.umd.cjs +17 -10
- package/dist/blocks.umd.cjs.map +1 -1
- package/dist/style.css +6 -11
- package/package.json +1 -1
package/dist/blocks.umd.cjs
CHANGED
|
@@ -3431,22 +3431,29 @@
|
|
|
3431
3431
|
}
|
|
3432
3432
|
const $e698a72e93240346$export$be92b6f5f03c0fe9 = $e698a72e93240346$export$48513f6b9f8ce62d;
|
|
3433
3433
|
const $e698a72e93240346$export$adb584737d712b70 = $e698a72e93240346$export$59aad738f51d1c05;
|
|
3434
|
-
const
|
|
3435
|
-
const
|
|
3436
|
-
const
|
|
3437
|
-
const
|
|
3438
|
-
const
|
|
3439
|
-
const checkboxHidden = "_checkboxHidden_pb9za_51";
|
|
3434
|
+
const checkbox = "_checkbox_yl8iy_5";
|
|
3435
|
+
const checkboxIndicator = "_checkboxIndicator_yl8iy_22";
|
|
3436
|
+
const checkboxLabel = "_checkboxLabel_yl8iy_33";
|
|
3437
|
+
const noTextHighlight = "_noTextHighlight_yl8iy_37";
|
|
3438
|
+
const checkboxHidden = "_checkboxHidden_yl8iy_46";
|
|
3440
3439
|
const styles$2 = {
|
|
3441
|
-
checkboxContainer,
|
|
3442
3440
|
checkbox,
|
|
3443
3441
|
checkboxIndicator,
|
|
3444
3442
|
checkboxLabel,
|
|
3445
3443
|
noTextHighlight,
|
|
3446
3444
|
checkboxHidden
|
|
3447
3445
|
};
|
|
3448
|
-
const _Checkbox = React.forwardRef(function Checkbox2({
|
|
3449
|
-
|
|
3446
|
+
const _Checkbox = React.forwardRef(function Checkbox2({
|
|
3447
|
+
className,
|
|
3448
|
+
labelClassName,
|
|
3449
|
+
label,
|
|
3450
|
+
checked,
|
|
3451
|
+
onCheckedChange,
|
|
3452
|
+
checkboxPosition = "center",
|
|
3453
|
+
alwaysShow = true,
|
|
3454
|
+
...rest
|
|
3455
|
+
}, ref) {
|
|
3456
|
+
return /* @__PURE__ */ jsxRuntime.jsx(HoverUtility, { children: ({ isHovered, ...props }) => /* @__PURE__ */ jsxRuntime.jsxs(themes.Flex, { align: checkboxPosition, ...props, children: [
|
|
3450
3457
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3451
3458
|
$e698a72e93240346$export$be92b6f5f03c0fe9,
|
|
3452
3459
|
{
|
|
@@ -3983,7 +3990,7 @@
|
|
|
3983
3990
|
className: classNames(styles$1.tableRow, rowClassName, row.className, {
|
|
3984
3991
|
[styles$1.disabled]: row.disabled
|
|
3985
3992
|
}),
|
|
3986
|
-
onClick: !row.
|
|
3993
|
+
onClick: !row.disabled && row.onClick,
|
|
3987
3994
|
children: row.loading ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3988
3995
|
table_js.Cell,
|
|
3989
3996
|
{
|