@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.js
CHANGED
|
@@ -1472,8 +1472,17 @@ const CommandMenuList = memo((props) => {
|
|
|
1472
1472
|
});
|
|
1473
1473
|
CommandMenuList.displayName = "CommandMenuList";
|
|
1474
1474
|
const CommandMenuMultiSelectGroup = genericMemo(function CommandMenuMultiSelectGroup2(props) {
|
|
1475
|
-
const { children, ref, defaultValues, values, onValuesChange, ...rest } = props;
|
|
1476
|
-
return /* @__PURE__ */ jsx(
|
|
1475
|
+
const { children, ref, defaultValues, values, onValuesChange, equalityFn, ...rest } = props;
|
|
1476
|
+
return /* @__PURE__ */ jsx(
|
|
1477
|
+
MultiSelectProvider,
|
|
1478
|
+
{
|
|
1479
|
+
values,
|
|
1480
|
+
onValuesChange,
|
|
1481
|
+
defaultValues,
|
|
1482
|
+
equalityFn,
|
|
1483
|
+
children: /* @__PURE__ */ jsx(CommandMenuGroup, { ref, "aria-multiselectable": true, ...rest, children })
|
|
1484
|
+
}
|
|
1485
|
+
);
|
|
1477
1486
|
});
|
|
1478
1487
|
const CommandMenuMultiSelectItem = genericMemo(function(props) {
|
|
1479
1488
|
const { children, ref, value, onSelect, closeOnSelect = false, ...rest } = props;
|
|
@@ -1542,13 +1551,14 @@ const CommandMenuPageTriggerItem = memo((props) => {
|
|
|
1542
1551
|
});
|
|
1543
1552
|
CommandMenuPageTriggerItem.displayName = "CommandMenuPageTriggerItem";
|
|
1544
1553
|
const CommandMenuRadioGroup = genericMemo(function CommandMenuRadioGroup2(props) {
|
|
1545
|
-
const { children, ref, required, defaultValue, value, onValueChange, ...rest } = props;
|
|
1554
|
+
const { children, ref, required, defaultValue, value, onValueChange, equalityFn, ...rest } = props;
|
|
1546
1555
|
return /* @__PURE__ */ jsx(CommandMenuGroup, { ref, role: "radiogroup", ...rest, children: required ? /* @__PURE__ */ jsx(
|
|
1547
1556
|
SingleSelectRequiredProvider,
|
|
1548
1557
|
{
|
|
1549
1558
|
defaultValue,
|
|
1550
1559
|
value,
|
|
1551
1560
|
onValueChange,
|
|
1561
|
+
equalityFn,
|
|
1552
1562
|
children
|
|
1553
1563
|
}
|
|
1554
1564
|
) : /* @__PURE__ */ jsx(
|
|
@@ -1557,6 +1567,7 @@ const CommandMenuRadioGroup = genericMemo(function CommandMenuRadioGroup2(props)
|
|
|
1557
1567
|
defaultValue,
|
|
1558
1568
|
value,
|
|
1559
1569
|
onValueChange,
|
|
1570
|
+
equalityFn,
|
|
1560
1571
|
children
|
|
1561
1572
|
}
|
|
1562
1573
|
) });
|
|
@@ -3274,8 +3285,17 @@ const MenuLabel = memo((props) => {
|
|
|
3274
3285
|
});
|
|
3275
3286
|
MenuLabel.displayName = "MenuLabel";
|
|
3276
3287
|
const MenuMultiSelectGroup = genericMemo(function MenuMultiSelectGroup2(props) {
|
|
3277
|
-
const { ref, children, defaultValues, values, onValuesChange, ...rest } = props;
|
|
3278
|
-
return /* @__PURE__ */ jsx(MenuGroup, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
3288
|
+
const { ref, children, defaultValues, values, onValuesChange, equalityFn, ...rest } = props;
|
|
3289
|
+
return /* @__PURE__ */ jsx(MenuGroup, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
3290
|
+
MultiSelectProvider,
|
|
3291
|
+
{
|
|
3292
|
+
defaultValues,
|
|
3293
|
+
values,
|
|
3294
|
+
onValuesChange,
|
|
3295
|
+
equalityFn,
|
|
3296
|
+
children
|
|
3297
|
+
}
|
|
3298
|
+
) });
|
|
3279
3299
|
});
|
|
3280
3300
|
const MenuMultiSelectItem = genericMemo(function(props) {
|
|
3281
3301
|
const { ref, onSelect, children, closeOnSelect = false, value, ...rest } = props;
|
|
@@ -3470,13 +3490,23 @@ const MenuSelectedIndicator = memo((props) => {
|
|
|
3470
3490
|
});
|
|
3471
3491
|
MenuSelectedIndicator.displayName = "MenuSelectedIndicator";
|
|
3472
3492
|
const MenuSelectGroup = genericMemo(function MenuSelectGroup2(props) {
|
|
3473
|
-
const { ref, children, required, defaultValue, value, onValueChange, ...rest } = props;
|
|
3474
|
-
return /* @__PURE__ */ jsx(MenuGroup, { ref, ...rest, children: required ? /* @__PURE__ */ jsx(
|
|
3493
|
+
const { ref, children, required, defaultValue, value, onValueChange, equalityFn, ...rest } = props;
|
|
3494
|
+
return /* @__PURE__ */ jsx(MenuGroup, { ref, ...rest, children: required ? /* @__PURE__ */ jsx(
|
|
3495
|
+
SingleSelectRequiredProvider,
|
|
3496
|
+
{
|
|
3497
|
+
defaultValue,
|
|
3498
|
+
value,
|
|
3499
|
+
onValueChange,
|
|
3500
|
+
equalityFn,
|
|
3501
|
+
children
|
|
3502
|
+
}
|
|
3503
|
+
) : /* @__PURE__ */ jsx(
|
|
3475
3504
|
SingleSelectNotRequiredProvider,
|
|
3476
3505
|
{
|
|
3477
3506
|
defaultValue,
|
|
3478
3507
|
value,
|
|
3479
3508
|
onValueChange,
|
|
3509
|
+
equalityFn,
|
|
3480
3510
|
children
|
|
3481
3511
|
}
|
|
3482
3512
|
) });
|
|
@@ -4016,8 +4046,17 @@ const MenuV2SelectAllItem = genericMemo((props) => {
|
|
|
4016
4046
|
return /* @__PURE__ */ jsx(MenuV2Item, { onSelect: handleSelect, ref, "data-state": getCheckedState(selectedState), ...rest, children: /* @__PURE__ */ jsx(CheckedIndicatorContext, { value: selectedState, children }) });
|
|
4017
4047
|
});
|
|
4018
4048
|
const MenuV2MultiSelectGroup = genericMemo(function MenuMultiSelectGroup3(props) {
|
|
4019
|
-
const { ref, children, defaultValues, values, onValuesChange, ...rest } = props;
|
|
4020
|
-
return /* @__PURE__ */ jsx(MenuV2Group, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
4049
|
+
const { ref, children, defaultValues, values, onValuesChange, equalityFn, ...rest } = props;
|
|
4050
|
+
return /* @__PURE__ */ jsx(MenuV2Group, { ref, ...rest, children: /* @__PURE__ */ jsx(
|
|
4051
|
+
MultiSelectProvider,
|
|
4052
|
+
{
|
|
4053
|
+
defaultValues,
|
|
4054
|
+
values,
|
|
4055
|
+
onValuesChange,
|
|
4056
|
+
equalityFn,
|
|
4057
|
+
children
|
|
4058
|
+
}
|
|
4059
|
+
) });
|
|
4021
4060
|
});
|
|
4022
4061
|
const MenuV2MultiSelectItem = genericMemo(function(props) {
|
|
4023
4062
|
const { ref, onSelect, children, value, ...rest } = props;
|
|
@@ -4268,13 +4307,23 @@ const MenuV2SelectedIndicator = memo((props) => {
|
|
|
4268
4307
|
});
|
|
4269
4308
|
MenuV2SelectedIndicator.displayName = "MenuCheckboxItemIndicator";
|
|
4270
4309
|
const MenuV2SelectGroup = genericMemo(function MenuSelectGroup3(props) {
|
|
4271
|
-
const { ref, children, required, defaultValue, value, onValueChange, ...rest } = props;
|
|
4272
|
-
return /* @__PURE__ */ jsx(MenuV2Group, { ref, ...rest, children: required ? /* @__PURE__ */ jsx(
|
|
4310
|
+
const { ref, children, required, defaultValue, value, onValueChange, equalityFn, ...rest } = props;
|
|
4311
|
+
return /* @__PURE__ */ jsx(MenuV2Group, { ref, ...rest, children: required ? /* @__PURE__ */ jsx(
|
|
4312
|
+
SingleSelectRequiredProvider,
|
|
4313
|
+
{
|
|
4314
|
+
defaultValue,
|
|
4315
|
+
value,
|
|
4316
|
+
onValueChange,
|
|
4317
|
+
equalityFn,
|
|
4318
|
+
children
|
|
4319
|
+
}
|
|
4320
|
+
) : /* @__PURE__ */ jsx(
|
|
4273
4321
|
SingleSelectNotRequiredProvider,
|
|
4274
4322
|
{
|
|
4275
4323
|
defaultValue,
|
|
4276
4324
|
value,
|
|
4277
4325
|
onValueChange,
|
|
4326
|
+
equalityFn,
|
|
4278
4327
|
children
|
|
4279
4328
|
}
|
|
4280
4329
|
) });
|