@launchpad-ui/menu 0.6.5 → 0.6.6-alpha.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/package.json +5 -6
- package/dist/Menu.d.ts +0 -43
- package/dist/Menu.d.ts.map +0 -1
- package/dist/MenuBase.d.ts +0 -11
- package/dist/MenuBase.d.ts.map +0 -1
- package/dist/MenuDivider.d.ts +0 -11
- package/dist/MenuDivider.d.ts.map +0 -1
- package/dist/MenuItem.d.ts +0 -48
- package/dist/MenuItem.d.ts.map +0 -1
- package/dist/MenuItemList.d.ts +0 -7
- package/dist/MenuItemList.d.ts.map +0 -1
- package/dist/MenuSearch.d.ts +0 -13
- package/dist/MenuSearch.d.ts.map +0 -1
- package/dist/index.d.ts +0 -13
- package/dist/index.d.ts.map +0 -1
- package/dist/index.es.js +0 -452
- package/dist/index.es.js.map +0 -1
- package/dist/index.js +0 -452
- package/dist/index.js.map +0 -1
- package/dist/style.css +0 -222
- package/dist/utils.d.ts +0 -7
- package/dist/utils.d.ts.map +0 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@launchpad-ui/menu",
|
3
|
-
"version": "0.6.
|
3
|
+
"version": "0.6.6-alpha.0",
|
4
4
|
"status": "beta",
|
5
5
|
"publishConfig": {
|
6
6
|
"access": "public"
|
@@ -26,11 +26,11 @@
|
|
26
26
|
},
|
27
27
|
"source": "src/index.ts",
|
28
28
|
"dependencies": {
|
29
|
-
"@launchpad-ui/form": "~0.6.
|
30
|
-
"@launchpad-ui/icons": "~0.5.
|
31
|
-
"@launchpad-ui/popover": "~0.8.
|
29
|
+
"@launchpad-ui/form": "~0.6.5-alpha.0",
|
30
|
+
"@launchpad-ui/icons": "~0.5.4-alpha.0",
|
31
|
+
"@launchpad-ui/popover": "~0.8.4-alpha.0",
|
32
32
|
"@launchpad-ui/tokens": "~0.1.5",
|
33
|
-
"@launchpad-ui/tooltip": "~0.6.
|
33
|
+
"@launchpad-ui/tooltip": "~0.6.5-alpha.0",
|
34
34
|
"@radix-ui/react-slot": "^1.0.0",
|
35
35
|
"@react-aria/focus": "^3.8.0",
|
36
36
|
"@react-aria/separator": "^3.2.0",
|
@@ -49,7 +49,6 @@
|
|
49
49
|
"scripts": {
|
50
50
|
"build": "vite build -c ../../vite.config.ts && tsc --project tsconfig.build.json",
|
51
51
|
"clean": "rm -rf dist",
|
52
|
-
"e2e": "playwright test --config=../../playwright.config.ct.ts",
|
53
52
|
"lint": "eslint '**/*.{ts,tsx,js}' && stylelint '**/*.css' --ignore-path ../../.stylelintignore",
|
54
53
|
"test": "vitest run --coverage"
|
55
54
|
}
|
package/dist/Menu.d.ts
DELETED
@@ -1,43 +0,0 @@
|
|
1
|
-
import type { FocusManager } from '@react-aria/focus';
|
2
|
-
import type { ReactElement, ReactNode } from 'react';
|
3
|
-
declare type ControlledMenuProps<T> = {
|
4
|
-
children: ReactNode;
|
5
|
-
onSelect?: (item: T) => void;
|
6
|
-
/**
|
7
|
-
* Menus items are rendered using react-virtual for
|
8
|
-
* additional rendering performance.
|
9
|
-
*/
|
10
|
-
enableVirtualization?: boolean;
|
11
|
-
/**
|
12
|
-
* Class name to be applied to all MenuItem and MenuItemLink components
|
13
|
-
* in the menu.
|
14
|
-
*/
|
15
|
-
menuItemClassName?: string;
|
16
|
-
/**
|
17
|
-
* Sets the width of the menu. This is especially useful when using virtual items
|
18
|
-
* since the width cannot be automatically set by the widest element.
|
19
|
-
*/
|
20
|
-
size?: 'sm' | 'md' | 'lg' | 'xl';
|
21
|
-
/**
|
22
|
-
* Sets the number out of elements rendered outside of the view window
|
23
|
-
* when using virtualization
|
24
|
-
*/
|
25
|
-
overscan?: number;
|
26
|
-
/**
|
27
|
-
* Sets the height for each menu item when using virtualization.
|
28
|
-
*
|
29
|
-
*/
|
30
|
-
itemHeight?: number;
|
31
|
-
'data-test-id'?: string;
|
32
|
-
};
|
33
|
-
declare type MenuProps<T extends number | string> = ControlledMenuProps<T>;
|
34
|
-
declare const Menu: <T extends string | number>(props: MenuProps<T>) => JSX.Element;
|
35
|
-
declare type ItemVirtualizerProps<T> = Omit<ControlledMenuProps<T>, 'children'> & {
|
36
|
-
items: ReactElement[] | null;
|
37
|
-
searchElement?: ReactElement | null;
|
38
|
-
focusManager: FocusManager;
|
39
|
-
};
|
40
|
-
declare const ItemVirtualizer: <T extends string | number>(props: ItemVirtualizerProps<T>) => JSX.Element;
|
41
|
-
export { Menu, ItemVirtualizer };
|
42
|
-
export type { MenuProps, ItemVirtualizerProps };
|
43
|
-
//# sourceMappingURL=Menu.d.ts.map
|
package/dist/Menu.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../src/Menu.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAiB,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AA4BpE,aAAK,mBAAmB,CAAC,CAAC,IAAI;IAC5B,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,CAAC;IAC7B;;;OAGG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACjC;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,aAAK,SAAS,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,IAAI,mBAAmB,CAAC,CAAC,CAAC,CAAC;AAEnE,QAAA,MAAM,IAAI,iEAyHT,CAAC;AAEF,aAAK,oBAAoB,CAAC,CAAC,IAAI,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,GAAG;IACxE,KAAK,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC;IAC7B,aAAa,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IACpC,YAAY,EAAE,YAAY,CAAC;CAC5B,CAAC;AAEF,QAAA,MAAM,eAAe,4EAoNpB,CAAC;AAEF,OAAO,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;AACjC,YAAY,EAAE,SAAS,EAAE,oBAAoB,EAAE,CAAC"}
|
package/dist/MenuBase.d.ts
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
import type { MenuProps } from './Menu';
|
2
|
-
import type { ComponentPropsWithRef } from 'react';
|
3
|
-
import './styles/Menu.css';
|
4
|
-
declare type MenuBaseProps = ComponentPropsWithRef<'div'> & {
|
5
|
-
isVirtual?: boolean;
|
6
|
-
size?: MenuProps<string>['size'];
|
7
|
-
};
|
8
|
-
declare const MenuBase: import("react").ForwardRefExoticComponent<Pick<MenuBaseProps, "key" | "size" | keyof import("react").HTMLAttributes<HTMLDivElement> | "isVirtual"> & import("react").RefAttributes<HTMLDivElement>>;
|
9
|
-
export { MenuBase };
|
10
|
-
export type { MenuBaseProps };
|
11
|
-
//# sourceMappingURL=MenuBase.d.ts.map
|
package/dist/MenuBase.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"MenuBase.d.ts","sourceRoot":"","sources":["../src/MenuBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAKnD,OAAO,mBAAmB,CAAC;AAE3B,aAAK,aAAa,GAAG,qBAAqB,CAAC,KAAK,CAAC,GAAG;IAClD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;CAClC,CAAC;AAEF,QAAA,MAAM,QAAQ,qMAUb,CAAC;AAIF,OAAO,EAAE,QAAQ,EAAE,CAAC;AACpB,YAAY,EAAE,aAAa,EAAE,CAAC"}
|
package/dist/MenuDivider.d.ts
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
import type { SeparatorProps } from '@react-aria/separator';
|
2
|
-
import type { RefObject } from 'react';
|
3
|
-
import './styles/Menu.css';
|
4
|
-
declare type MenuDividerProps = SeparatorProps & {
|
5
|
-
innerRef?: RefObject<HTMLDivElement>;
|
6
|
-
'data-test-id'?: string;
|
7
|
-
};
|
8
|
-
declare const MenuDivider: ({ elementType, orientation, innerRef, "data-test-id": testId, }: MenuDividerProps) => JSX.Element;
|
9
|
-
export { MenuDivider };
|
10
|
-
export type { MenuDividerProps };
|
11
|
-
//# sourceMappingURL=MenuDivider.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"MenuDivider.d.ts","sourceRoot":"","sources":["../src/MenuDivider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,OAAO,mBAAmB,CAAC;AAE3B,aAAK,gBAAgB,GAAG,cAAc,GAAG;IACvC,QAAQ,CAAC,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IACrC,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,QAAA,MAAM,WAAW,oEAKd,gBAAgB,gBAOlB,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC;AACvB,YAAY,EAAE,gBAAgB,EAAE,CAAC"}
|
package/dist/MenuItem.d.ts
DELETED
@@ -1,48 +0,0 @@
|
|
1
|
-
import type { Icon } from '@launchpad-ui/icons';
|
2
|
-
import type { PopoverPlacement } from '@launchpad-ui/popover';
|
3
|
-
import type { ComponentPropsWithRef, ElementType, PropsWithRef, ReactElement } from 'react';
|
4
|
-
import { Tooltip } from '@launchpad-ui/tooltip';
|
5
|
-
import { Link } from 'react-router-dom';
|
6
|
-
import './styles/Menu.css';
|
7
|
-
declare type Merge<T, U> = Omit<T, keyof U> & U;
|
8
|
-
declare type PropsWithComponent<P, T extends ElementType> = P & {
|
9
|
-
component?: T;
|
10
|
-
};
|
11
|
-
declare type PolymorphicPropsWithRef<P, T extends ElementType> = Merge<T extends keyof JSX.IntrinsicElements ? PropsWithRef<JSX.IntrinsicElements[T]> : ComponentPropsWithRef<T>, PropsWithComponent<P, T>>;
|
12
|
-
declare type MenuItemOwnProps = {
|
13
|
-
isHighlighted?: boolean;
|
14
|
-
icon?: typeof Icon | null;
|
15
|
-
disabled?: boolean;
|
16
|
-
nested?: boolean;
|
17
|
-
groupHeader?: boolean;
|
18
|
-
tooltip?: string | ReactElement;
|
19
|
-
tooltipOptions?: typeof Tooltip;
|
20
|
-
tooltipPlacement?: PopoverPlacement;
|
21
|
-
asChild?: boolean;
|
22
|
-
'data-test-id'?: string;
|
23
|
-
};
|
24
|
-
declare const defaultElement = "button";
|
25
|
-
declare type MenuItemProps<P, T extends ElementType = typeof defaultElement> = PolymorphicPropsWithRef<(MenuItemOwnProps & {
|
26
|
-
item: P;
|
27
|
-
}) | (MenuItemOwnProps & {
|
28
|
-
item?: undefined;
|
29
|
-
}), T>;
|
30
|
-
declare const MenuItem: <P, T extends ElementType<any> = "button">({ ...props }: MenuItemProps<P, T>) => JSX.Element;
|
31
|
-
declare type MenuItemLinkOwnProps = {
|
32
|
-
disabled?: boolean;
|
33
|
-
useHistory?: boolean;
|
34
|
-
newTab?: boolean;
|
35
|
-
};
|
36
|
-
declare type MenuItemLinkProps<P, T extends ElementType = typeof Link> = Merge<Omit<MenuItemProps<P, T>, 'component' | 'item'>, MenuItemLinkOwnProps> & ({
|
37
|
-
item?: undefined;
|
38
|
-
} | {
|
39
|
-
item: P;
|
40
|
-
});
|
41
|
-
declare const MenuItemLink: <P, T extends ElementType<any> = import("react").ForwardRefExoticComponent<import("react-router-dom").LinkProps & import("react").RefAttributes<HTMLAnchorElement>>>({ to, disabled, useHistory, newTab, children, ...props }: Omit<Omit<MenuItemProps<P, T>, "item" | "component">, keyof MenuItemLinkOwnProps> & MenuItemLinkOwnProps & ({
|
42
|
-
item?: undefined;
|
43
|
-
} | {
|
44
|
-
item: P;
|
45
|
-
})) => JSX.Element;
|
46
|
-
export { MenuItem, MenuItemLink };
|
47
|
-
export type { MenuItemProps, MenuItemLinkProps };
|
48
|
-
//# sourceMappingURL=MenuItem.d.ts.map
|
package/dist/MenuItem.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"MenuItem.d.ts","sourceRoot":"","sources":["../src/MenuItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,EAAE,qBAAqB,EAAE,WAAW,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE5F,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAIhD,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAExC,OAAO,mBAAmB,CAAC;AAG3B,aAAK,KAAK,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC;AAExC,aAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,SAAS,WAAW,IAAI,CAAC,GAAG;IAAE,SAAS,CAAC,EAAE,CAAC,CAAA;CAAE,CAAC;AAE1E,aAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,SAAS,WAAW,IAAI,KAAK,CAC5D,CAAC,SAAS,MAAM,GAAG,CAAC,iBAAiB,GACjC,YAAY,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,GACtC,qBAAqB,CAAC,CAAC,CAAC,EAC5B,kBAAkB,CAAC,CAAC,EAAE,CAAC,CAAC,CACzB,CAAC;AAEF,aAAK,gBAAgB,GAAG;IACtB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,IAAI,CAAC,EAAE,OAAO,IAAI,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC;IAChC,cAAc,CAAC,EAAE,OAAO,OAAO,CAAC;IAChC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,QAAA,MAAM,cAAc,WAAW,CAAC;AAEhC,aAAK,aAAa,CAAC,CAAC,EAAE,CAAC,SAAS,WAAW,GAAG,OAAO,cAAc,IAAI,uBAAuB,CAC1F,CAAC,gBAAgB,GAAG;IAClB,IAAI,EAAE,CAAC,CAAC;CACT,CAAC,GACF,CAAC,gBAAgB,GAAG;IAClB,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB,CAAC,EACJ,CAAC,CACF,CAAC;AAEF,QAAA,MAAM,QAAQ,8FA0Eb,CAAC;AAEF,aAAK,oBAAoB,GAAG;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,aAAK,iBAAiB,CAAC,CAAC,EAAE,CAAC,SAAS,WAAW,GAAG,OAAO,IAAI,IACzD,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,WAAW,GAAG,MAAM,CAAC,EAAE,oBAAoB,CAAC,GAC1E,CACI;IACE,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB,GACD;IACE,IAAI,EAAE,CAAC,CAAC;CACT,CACJ,CAAC;AAKR,QAAA,MAAM,YAAY;WAVC,SAAS;;;kBA+B3B,CAAC;AAEF,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,CAAC;AAClC,YAAY,EAAE,aAAa,EAAE,iBAAiB,EAAE,CAAC"}
|
package/dist/MenuItemList.d.ts
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
import type { ComponentPropsWithRef } from 'react';
|
2
|
-
import './styles/Menu.css';
|
3
|
-
declare type MenuItemListProps = Omit<ComponentPropsWithRef<'div'>, 'className'>;
|
4
|
-
declare const MenuItemList: import("react").ForwardRefExoticComponent<Pick<MenuItemListProps, "key" | "id" | "color" | "translate" | "hidden" | "slot" | "style" | "title" | "dir" | "accessKey" | "draggable" | "lang" | "prefix" | "children" | "contentEditable" | "inputMode" | "tabIndex" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("react").RefAttributes<HTMLDivElement>>;
|
5
|
-
export { MenuItemList };
|
6
|
-
export type { MenuItemListProps };
|
7
|
-
//# sourceMappingURL=MenuItemList.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"MenuItemList.d.ts","sourceRoot":"","sources":["../src/MenuItemList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAInD,OAAO,mBAAmB,CAAC;AAE3B,aAAK,iBAAiB,GAAG,IAAI,CAAC,qBAAqB,CAAC,KAAK,CAAC,EAAE,WAAW,CAAC,CAAC;AAEzE,QAAA,MAAM,YAAY,4lJAIhB,CAAC;AAIH,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB,YAAY,EAAE,iBAAiB,EAAE,CAAC"}
|
package/dist/MenuSearch.d.ts
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
import type { ChangeEvent } from 'react';
|
2
|
-
import './styles/Menu.css';
|
3
|
-
declare type MenuSearchProps = {
|
4
|
-
ariaLabel?: string;
|
5
|
-
value?: string;
|
6
|
-
placeholder?: string;
|
7
|
-
onChange?(event: ChangeEvent<HTMLInputElement>): void;
|
8
|
-
'data-test-id'?: string;
|
9
|
-
};
|
10
|
-
declare const MenuSearch: import("react").ForwardRefExoticComponent<MenuSearchProps & import("react").RefAttributes<HTMLInputElement>>;
|
11
|
-
export { MenuSearch };
|
12
|
-
export type { MenuSearchProps };
|
13
|
-
//# sourceMappingURL=MenuSearch.d.ts.map
|
package/dist/MenuSearch.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"MenuSearch.d.ts","sourceRoot":"","sources":["../src/MenuSearch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAKzC,OAAO,mBAAmB,CAAC;AAE3B,aAAK,eAAe,GAAG;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,CAAC,KAAK,EAAE,WAAW,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IACtD,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,QAAA,MAAM,UAAU,8GAkBd,CAAC;AAIH,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB,YAAY,EAAE,eAAe,EAAE,CAAC"}
|
package/dist/index.d.ts
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
export type { MenuBaseProps } from './MenuBase';
|
2
|
-
export type { MenuDividerProps } from './MenuDivider';
|
3
|
-
export type { MenuItemProps, MenuItemLinkProps } from './MenuItem';
|
4
|
-
export type { MenuItemListProps } from './MenuItemList';
|
5
|
-
export type { MenuSearchProps } from './MenuSearch';
|
6
|
-
export type { MenuProps } from './Menu';
|
7
|
-
export { MenuBase } from './MenuBase';
|
8
|
-
export { MenuDivider } from './MenuDivider';
|
9
|
-
export { MenuItem, MenuItemLink } from './MenuItem';
|
10
|
-
export { MenuItemList } from './MenuItemList';
|
11
|
-
export { MenuSearch } from './MenuSearch';
|
12
|
-
export { Menu } from './Menu';
|
13
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtD,YAAY,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACnE,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAExC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC"}
|