@helpscout/ui-kit-react 0.1.5 → 0.1.7
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/lib/components/menu/menu.d.ts +5 -1
- package/dist/lib/components/menu/menu.d.ts.map +1 -1
- package/dist/prop-types.json +637 -464
- package/dist/ui-kit-react.css +1 -1
- package/dist/ui-kit-react.js +19856 -19769
- package/dist/ui-kit-react.umd.cjs +63 -79
- package/package.json +2 -2
|
@@ -14,7 +14,11 @@ declare function Menu({ className, ...props }: MenuProps): import("react/jsx-run
|
|
|
14
14
|
interface MenuItemProps extends MenuItemRACProps {
|
|
15
15
|
/** Whether the menu item is disabled. */
|
|
16
16
|
isDisabled?: boolean;
|
|
17
|
+
/** Optional title to apply to the menu item. */
|
|
18
|
+
title?: string;
|
|
19
|
+
/** The children to render in the menu item. */
|
|
20
|
+
children: React.ReactNode;
|
|
17
21
|
}
|
|
18
|
-
declare function MenuItem({ className, isDisabled, ...props }: MenuItemProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare function MenuItem({ className, isDisabled, title, children, ...props }: MenuItemProps): import("react/jsx-runtime").JSX.Element;
|
|
19
23
|
export { Menu, MenuItem, MenuTrigger, type MenuProps };
|
|
20
24
|
//# sourceMappingURL=menu.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../../lib/components/menu/menu.tsx"],"names":[],"mappings":";AACA,OAAO,EAEL,KAAK,aAAa,IAAI,gBAAgB,EAEtC,WAAW,EAEZ,MAAM,uBAAuB,CAAC;AAI/B,UAAU,SAAS;IACjB,gDAAgD;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,0CAA0C;IAC1C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAE1B,yCAAyC;IACzC,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAEtC,uDA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