@muraldevkit/ui-toolkit 4.53.0 → 4.54.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.
@@ -7,6 +7,7 @@ export * from './error-boundary';
7
7
  export * from './focus-trap';
8
8
  export * from './form';
9
9
  export * from './grid';
10
+ export * from './keystroke';
10
11
  export * from './layout';
11
12
  export * from './link';
12
13
  export * from './loader';
@@ -0,0 +1,17 @@
1
+ import * as React from 'react';
2
+ export interface MrlKeystrokeProps extends React.ComponentPropsWithoutRef<'span'> {
3
+ /**
4
+ * Children to be rendered within the component.
5
+ */
6
+ children: React.ReactNode;
7
+ }
8
+ /**
9
+ * MrlKeystroke Component
10
+ *
11
+ * Displays keyboard shortcuts and keystroke combinations in a visually consistent format.
12
+ * Useful for showing users available keyboard shortcuts in tooltips, menus, help text, or command palettes.
13
+ *
14
+ * @param props - component props
15
+ * @returns a MrlKeystroke React component
16
+ */
17
+ export declare function MrlKeystroke({ children, className, ...remainingProps }: MrlKeystrokeProps): React.JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './MrlKeystroke';
@@ -0,0 +1,17 @@
1
+ import * as React from 'react';
2
+ export interface MrlKeystrokesProps extends React.ComponentPropsWithoutRef<'span'> {
3
+ /**
4
+ * Children to be rendered within the component.
5
+ */
6
+ children: React.ReactNode;
7
+ }
8
+ /**
9
+ * MrlKeystrokes Component
10
+ *
11
+ * Wraps a group of MrlKeystroke components together with proper spacing.
12
+ * Useful for displaying keyboard shortcut combinations.
13
+ *
14
+ * @param props - component props
15
+ * @returns a MrlKeystrokes React component
16
+ */
17
+ export declare function MrlKeystrokes({ children, className, ...remainingProps }: MrlKeystrokesProps): React.JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './MrlKeystrokes';
@@ -0,0 +1,2 @@
1
+ export * from './MrlKeystroke';
2
+ export * from './MrlKeystrokes';