@overmap-ai/blocks 1.0.41 → 1.0.42
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/blocks.js +60 -11
- package/dist/blocks.js.map +1 -1
- package/dist/blocks.umd.cjs +60 -11
- package/dist/blocks.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/blocks.umd.cjs
CHANGED
|
@@ -1477,8 +1477,17 @@
|
|
|
1477
1477
|
});
|
|
1478
1478
|
CommandMenuList.displayName = "CommandMenuList";
|
|
1479
1479
|
const CommandMenuMultiSelectGroup = genericMemo(function CommandMenuMultiSelectGroup2(props) {
|
|
1480
|
-
const { children, ref, defaultValues, values, onValuesChange, ...rest } = props;
|
|
1481
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1480
|
+
const { children, ref, defaultValues, values, onValuesChange, equalityFn, ...rest } = props;
|
|
1481
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1482
|
+
MultiSelectProvider,
|
|
1483
|
+
{
|
|
1484
|
+
values,
|
|
1485
|
+
onValuesChange,
|
|
1486
|
+
defaultValues,
|
|
1487
|
+
equalityFn,
|
|
1488
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(CommandMenuGroup, { ref, "aria-multiselectable": true, ...rest, children })
|
|
1489
|
+
}
|
|
1490
|
+
);
|
|
1482
1491
|
});
|
|
1483
1492
|
const CommandMenuMultiSelectItem = genericMemo(function(props) {
|
|
1484
1493
|
const { children, ref, value, onSelect, closeOnSelect = false, ...rest } = props;
|
|
@@ -1547,13 +1556,14 @@
|
|
|
1547
1556
|
});
|
|
1548
1557
|
CommandMenuPageTriggerItem.displayName = "CommandMenuPageTriggerItem";
|
|
1549
1558
|
const CommandMenuRadioGroup = genericMemo(function CommandMenuRadioGroup2(props) {
|
|
1550
|
-
const { children, ref, required, defaultValue, value, onValueChange, ...rest } = props;
|
|
1559
|
+
const { children, ref, required, defaultValue, value, onValueChange, equalityFn, ...rest } = props;
|
|
1551
1560
|
return /* @__PURE__ */ jsxRuntime.jsx(CommandMenuGroup, { ref, role: "radiogroup", ...rest, children: required ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1552
1561
|
SingleSelectRequiredProvider,
|
|
1553
1562
|
{
|
|
1554
1563
|
defaultValue,
|
|
1555
1564
|
value,
|
|
1556
1565
|
onValueChange,
|
|
1566
|
+
equalityFn,
|
|
1557
1567
|
children
|
|
1558
1568
|
}
|
|
1559
1569
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1562,6 +1572,7 @@
|
|
|
1562
1572
|
defaultValue,
|
|
1563
1573
|
value,
|
|
1564
1574
|
onValueChange,
|
|
1575
|
+
equalityFn,
|
|
1565
1576
|
children
|
|
1566
1577
|
}
|
|
1567
1578
|
) });
|
|
@@ -3279,8 +3290,17 @@
|
|
|
3279
3290
|
});
|
|
3280
3291
|
MenuLabel.displayName = "MenuLabel";
|
|
3281
3292
|
const MenuMultiSelectGroup = genericMemo(function MenuMultiSelectGroup2(props) {
|
|
3282
|
-
const { ref, children, defaultValues, values, onValuesChange, ...rest } = props;
|
|
3283
|
-
return /* @__PURE__ */ jsxRuntime.jsx(MenuGroup, { ref, ...rest, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3293
|
+
const { ref, children, defaultValues, values, onValuesChange, equalityFn, ...rest } = props;
|
|
3294
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MenuGroup, { ref, ...rest, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3295
|
+
MultiSelectProvider,
|
|
3296
|
+
{
|
|
3297
|
+
defaultValues,
|
|
3298
|
+
values,
|
|
3299
|
+
onValuesChange,
|
|
3300
|
+
equalityFn,
|
|
3301
|
+
children
|
|
3302
|
+
}
|
|
3303
|
+
) });
|
|
3284
3304
|
});
|
|
3285
3305
|
const MenuMultiSelectItem = genericMemo(function(props) {
|
|
3286
3306
|
const { ref, onSelect, children, closeOnSelect = false, value, ...rest } = props;
|
|
@@ -3475,13 +3495,23 @@
|
|
|
3475
3495
|
});
|
|
3476
3496
|
MenuSelectedIndicator.displayName = "MenuSelectedIndicator";
|
|
3477
3497
|
const MenuSelectGroup = genericMemo(function MenuSelectGroup2(props) {
|
|
3478
|
-
const { ref, children, required, defaultValue, value, onValueChange, ...rest } = props;
|
|
3479
|
-
return /* @__PURE__ */ jsxRuntime.jsx(MenuGroup, { ref, ...rest, children: required ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3498
|
+
const { ref, children, required, defaultValue, value, onValueChange, equalityFn, ...rest } = props;
|
|
3499
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MenuGroup, { ref, ...rest, children: required ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3500
|
+
SingleSelectRequiredProvider,
|
|
3501
|
+
{
|
|
3502
|
+
defaultValue,
|
|
3503
|
+
value,
|
|
3504
|
+
onValueChange,
|
|
3505
|
+
equalityFn,
|
|
3506
|
+
children
|
|
3507
|
+
}
|
|
3508
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
3480
3509
|
SingleSelectNotRequiredProvider,
|
|
3481
3510
|
{
|
|
3482
3511
|
defaultValue,
|
|
3483
3512
|
value,
|
|
3484
3513
|
onValueChange,
|
|
3514
|
+
equalityFn,
|
|
3485
3515
|
children
|
|
3486
3516
|
}
|
|
3487
3517
|
) });
|
|
@@ -4021,8 +4051,17 @@
|
|
|
4021
4051
|
return /* @__PURE__ */ jsxRuntime.jsx(MenuV2Item, { onSelect: handleSelect, ref, "data-state": getCheckedState(selectedState), ...rest, children: /* @__PURE__ */ jsxRuntime.jsx(CheckedIndicatorContext, { value: selectedState, children }) });
|
|
4022
4052
|
});
|
|
4023
4053
|
const MenuV2MultiSelectGroup = genericMemo(function MenuMultiSelectGroup2(props) {
|
|
4024
|
-
const { ref, children, defaultValues, values, onValuesChange, ...rest } = props;
|
|
4025
|
-
return /* @__PURE__ */ jsxRuntime.jsx(MenuV2Group, { ref, ...rest, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4054
|
+
const { ref, children, defaultValues, values, onValuesChange, equalityFn, ...rest } = props;
|
|
4055
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MenuV2Group, { ref, ...rest, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4056
|
+
MultiSelectProvider,
|
|
4057
|
+
{
|
|
4058
|
+
defaultValues,
|
|
4059
|
+
values,
|
|
4060
|
+
onValuesChange,
|
|
4061
|
+
equalityFn,
|
|
4062
|
+
children
|
|
4063
|
+
}
|
|
4064
|
+
) });
|
|
4026
4065
|
});
|
|
4027
4066
|
const MenuV2MultiSelectItem = genericMemo(function(props) {
|
|
4028
4067
|
const { ref, onSelect, children, value, ...rest } = props;
|
|
@@ -4273,13 +4312,23 @@
|
|
|
4273
4312
|
});
|
|
4274
4313
|
MenuV2SelectedIndicator.displayName = "MenuCheckboxItemIndicator";
|
|
4275
4314
|
const MenuV2SelectGroup = genericMemo(function MenuSelectGroup2(props) {
|
|
4276
|
-
const { ref, children, required, defaultValue, value, onValueChange, ...rest } = props;
|
|
4277
|
-
return /* @__PURE__ */ jsxRuntime.jsx(MenuV2Group, { ref, ...rest, children: required ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
4315
|
+
const { ref, children, required, defaultValue, value, onValueChange, equalityFn, ...rest } = props;
|
|
4316
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MenuV2Group, { ref, ...rest, children: required ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
4317
|
+
SingleSelectRequiredProvider,
|
|
4318
|
+
{
|
|
4319
|
+
defaultValue,
|
|
4320
|
+
value,
|
|
4321
|
+
onValueChange,
|
|
4322
|
+
equalityFn,
|
|
4323
|
+
children
|
|
4324
|
+
}
|
|
4325
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
4278
4326
|
SingleSelectNotRequiredProvider,
|
|
4279
4327
|
{
|
|
4280
4328
|
defaultValue,
|
|
4281
4329
|
value,
|
|
4282
4330
|
onValueChange,
|
|
4331
|
+
equalityFn,
|
|
4283
4332
|
children
|
|
4284
4333
|
}
|
|
4285
4334
|
) });
|