@jsenv/navi 0.16.53 → 0.16.55

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.
@@ -4637,11 +4637,15 @@ const useArraySignalMembership = (arraySignal, id) => {
4637
4637
  const isMember = array.includes(id);
4638
4638
 
4639
4639
  const add = useCallback(() => {
4640
- arraySignal.value = addIntoArray(array, id);
4640
+ const arrayWithId = addIntoArray(arraySignal.peek(), id);
4641
+ arraySignal.value = arrayWithId;
4642
+ return arrayWithId;
4641
4643
  }, []);
4642
4644
 
4643
4645
  const remove = useCallback(() => {
4644
- arraySignal.value = removeFromArray(array, id);
4646
+ const arrayWithoutId = removeFromArray(arraySignal.peek(), id);
4647
+ arraySignal.value = arrayWithoutId;
4648
+ return arrayWithoutId;
4645
4649
  }, []);
4646
4650
 
4647
4651
  return [isMember, add, remove];
@@ -28303,7 +28307,7 @@ installImportMetaCss(import.meta);import.meta.css = /* css */`
28303
28307
  &[data-vertical] {
28304
28308
  display: inline-block;
28305
28309
 
28306
- width: var(--separator-size);
28310
+ width: var(--size);
28307
28311
  height: 1lh;
28308
28312
  margin-top: 0;
28309
28313
  margin-right: var(--spacing-end, var(--spacing));
@@ -28314,7 +28318,7 @@ installImportMetaCss(import.meta);import.meta.css = /* css */`
28314
28318
  }
28315
28319
  `;
28316
28320
  const SeparatorStyleCSSVars = {
28317
- color: "--separator-color"
28321
+ color: "--color"
28318
28322
  };
28319
28323
  const Separator = ({
28320
28324
  vertical,