Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@diceui/mention

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@diceui/mention - npm Package Compare versions

Comparing version
0.4.0
to
0.5.0
+3
-3
dist/index.cjs

@@ -216,3 +216,3 @@ 'use client';

/* @__PURE__ */ React4__namespace.createElement(shared.Primitive.div, { ref: composedRef, ...rootProps }, children, isFormControl && name && /* @__PURE__ */ React4__namespace.createElement(
shared.BubbleInput,
shared.VisuallyHiddenInput,
{

@@ -1268,6 +1268,6 @@ type: "hidden",

{
...{ [shared.DATA_ITEM_ATTR]: "" },
role: "option",
id,
role: "option",
"aria-selected": isSelected,
...{ [shared.DATA_ITEM_ATTR]: "" },
"data-selected": isSelected ? "" : undefined,

@@ -1274,0 +1274,0 @@ "data-highlighted": context.highlightedItem?.ref.current?.id === id ? "" : undefined,

@@ -94,3 +94,3 @@ import { AnchorPositionerProps, Primitive, PointerDownOutsideEvent, Direction, PortalProps } from '@diceui/shared';

required?: boolean;
/** The name of the mention when used in a form. */
/** The name of the mention for form submission. */
name?: string;

@@ -97,0 +97,0 @@ }

@@ -94,3 +94,3 @@ import { AnchorPositionerProps, Primitive, PointerDownOutsideEvent, Direction, PortalProps } from '@diceui/shared';

required?: boolean;
/** The name of the mention when used in a form. */
/** The name of the mention for form submission. */
name?: string;

@@ -97,0 +97,0 @@ }

'use client';
import { createContext, useId, useCollection, useFormControl, composeRefs, useDirection, useControllableState, useFilterStore, useListHighlighting, Primitive, BubbleInput, useComposedRefs, useCallbackRef, composeEventHandlers, Portal as Portal$1, useAnchorPositioner, visuallyHidden, useDismiss, useScrollLock, useIsomorphicLayoutEffect, DATA_ITEM_ATTR } from '@diceui/shared';
import { createContext, useId, useCollection, useFormControl, composeRefs, useDirection, useControllableState, useFilterStore, useListHighlighting, Primitive, VisuallyHiddenInput, useComposedRefs, useCallbackRef, composeEventHandlers, Portal as Portal$1, useAnchorPositioner, visuallyHidden, useDismiss, useScrollLock, useIsomorphicLayoutEffect, DATA_ITEM_ATTR } from '@diceui/shared';
import * as React4 from 'react';

@@ -194,3 +194,3 @@ import { FloatingFocusManager } from '@floating-ui/react';

/* @__PURE__ */ React4.createElement(Primitive.div, { ref: composedRef, ...rootProps }, children, isFormControl && name && /* @__PURE__ */ React4.createElement(
BubbleInput,
VisuallyHiddenInput,
{

@@ -1246,6 +1246,6 @@ type: "hidden",

{
...{ [DATA_ITEM_ATTR]: "" },
role: "option",
id,
role: "option",
"aria-selected": isSelected,
...{ [DATA_ITEM_ATTR]: "" },
"data-selected": isSelected ? "" : undefined,

@@ -1252,0 +1252,0 @@ "data-highlighted": context.highlightedItem?.ref.current?.id === id ? "" : undefined,

{
"name": "@diceui/mention",
"version": "0.4.0",
"version": "0.5.0",
"type": "module",

@@ -56,3 +56,3 @@ "publishConfig": {

"@floating-ui/react": "^0.27.2",
"@diceui/shared": "0.8.0"
"@diceui/shared": "0.9.0"
},

@@ -59,0 +59,0 @@ "scripts": {