@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.
- package/dist/components/index.d.ts +1 -0
- package/dist/components/keystroke/MrlKeystroke/MrlKeystroke.d.ts +17 -0
- package/dist/components/keystroke/MrlKeystroke/index.d.ts +1 -0
- package/dist/components/keystroke/MrlKeystrokes/MrlKeystrokes.d.ts +17 -0
- package/dist/components/keystroke/MrlKeystrokes/index.d.ts +1 -0
- package/dist/components/keystroke/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/dist/styles/MrlKeystroke/module.scss +16 -0
- package/dist/styles/MrlKeystrokes/module.scss +5 -0
- package/dist/styles.css +2 -0
- package/package.json +1 -1
|
@@ -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';
|