@muraldevkit/ui-toolkit 4.28.0 → 4.29.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/button/MrlIconButton/MrlIconButton.d.ts +0 -2
- package/dist/components/modal/MrlModal/MrlModal.d.ts +0 -4
- package/dist/components/modal/constants.d.ts +0 -2
- package/dist/components/modal/index.d.ts +0 -1
- package/dist/components/toolbar/MrlToolbarButton/MrlToolbarButton.d.ts +0 -1
- package/dist/contexts/index.d.ts +0 -1
- package/dist/hooks/index.d.ts +0 -1
- package/dist/index.js +1 -1
- package/dist/styles.css +0 -1
- package/dist/utils/index.d.ts +0 -1
- package/package.json +1 -1
- package/dist/components/modal/MrlModalHeaderNative/MrlModalHeaderNative.d.ts +0 -13
- package/dist/components/modal/MrlModalHeaderNative/index.d.ts +0 -1
- package/dist/components/modal/demo/ModalWithDevices.d.ts +0 -16
- package/dist/contexts/MrlDeviceProvider/MrlDeviceProvider.d.ts +0 -28
- package/dist/contexts/MrlDeviceProvider/index.d.ts +0 -1
- package/dist/hooks/useVirtualKeyboard/index.d.ts +0 -1
- package/dist/hooks/useVirtualKeyboard/useVirtualKeyboard.d.ts +0 -24
- package/dist/styles/MrlModalHeaderNative/module.scss +0 -41
- package/dist/styles/MrlModalHeaderNative/variables.scss +0 -4
- package/dist/utils/scrollToElementWithLabel/index.d.ts +0 -1
- package/dist/utils/scrollToElementWithLabel/scrollToElementWithLabel.d.ts +0 -6
- package/dist/utils/scrollToElementWithLabel/scrollToElementWithLabel.test.d.ts +0 -1
- package/dist/utils/test-utils/patchGetBoundingRect.d.ts +0 -7
|
@@ -3,7 +3,6 @@ import { MrlButtonKind, MrlButtonSize, MrlGhostIconButtonSize, ToggleAria } from
|
|
|
3
3
|
import { AttrsObject, MrlComponentProps } from '../../../utils';
|
|
4
4
|
import { MrlTooltipAnchor, MrlTooltipPosition, MrlTooltipVariant } from '../../tooltip/constants';
|
|
5
5
|
import { MrlButtonState, ToggleStyle } from '../../';
|
|
6
|
-
import { MrlDeviceClient } from '../../../contexts';
|
|
7
6
|
import './MrlIconButton.scss';
|
|
8
7
|
export interface MrlIconButtonProps extends Omit<MrlComponentProps, 'style'>, React.ComponentProps<'button'> {
|
|
9
8
|
/**
|
|
@@ -22,7 +21,6 @@ export interface MrlIconButtonProps extends Omit<MrlComponentProps, 'style'>, Re
|
|
|
22
21
|
* Allows developers the ability to disable built in event listeners so they can manage user
|
|
23
22
|
* interactions from the application.
|
|
24
23
|
*/
|
|
25
|
-
client?: MrlDeviceClient;
|
|
26
24
|
disableEvents?: boolean;
|
|
27
25
|
/** Whether to disable the tooltip hover action that keeps it open */
|
|
28
26
|
disableTooltipHover?: boolean;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { MrlComponentProps } from '../../../utils';
|
|
3
3
|
import { ModalSize, ModalState } from '../constants';
|
|
4
|
-
import { MrlDeviceClient } from '../../../contexts/MrlDeviceProvider';
|
|
5
4
|
import './MrlModal.global.scss';
|
|
6
5
|
interface ModalProps extends MrlComponentProps {
|
|
7
6
|
/**
|
|
@@ -16,7 +15,6 @@ interface ModalProps extends MrlComponentProps {
|
|
|
16
15
|
* Modal Wrapper Class
|
|
17
16
|
*/
|
|
18
17
|
className?: string;
|
|
19
|
-
client?: MrlDeviceClient;
|
|
20
18
|
/**
|
|
21
19
|
* !!!!! WARNING: do not use this prop without an explicit requirement from the design team !!!!!
|
|
22
20
|
*
|
|
@@ -45,8 +43,6 @@ interface ModalProps extends MrlComponentProps {
|
|
|
45
43
|
/**
|
|
46
44
|
* Modal Component.
|
|
47
45
|
*
|
|
48
|
-
* This component has support for native devices through the `client` prop.
|
|
49
|
-
*
|
|
50
46
|
* @param {object} props - Modal props
|
|
51
47
|
* @param {ModalSize} props.size - The size of the modal container. Defaults to 'defaults.size'
|
|
52
48
|
* @param {ModalState} props.state - Current state of the modal. Defaults to 'close'
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { MrlDeviceClient } from '../../contexts';
|
|
2
1
|
import { AttrsObject } from '../../utils';
|
|
3
2
|
export declare const allowedValues: {
|
|
4
3
|
sizes: readonly ["small", "medium", "large"];
|
|
@@ -8,7 +7,6 @@ export type ModalSize = (typeof allowedValues.sizes)[number];
|
|
|
8
7
|
export type ModalState = (typeof allowedValues.states)[number];
|
|
9
8
|
export interface ModalDefaults {
|
|
10
9
|
attrs: AttrsObject;
|
|
11
|
-
client: MrlDeviceClient;
|
|
12
10
|
size: ModalSize;
|
|
13
11
|
state: ModalState;
|
|
14
12
|
}
|
|
@@ -34,7 +34,6 @@ export interface MrlToolbarButtonProps {
|
|
|
34
34
|
*/
|
|
35
35
|
toolbarButtonProps?: {
|
|
36
36
|
badge?: MrlIconButtonProps['badge'];
|
|
37
|
-
client?: MrlIconButtonProps['client'];
|
|
38
37
|
disableEvents?: MrlIconButtonProps['disableEvents'];
|
|
39
38
|
kind?: MrlIconButtonProps['kind'];
|
|
40
39
|
loading?: MrlIconButtonProps['loading'];
|
package/dist/contexts/index.d.ts
CHANGED
package/dist/hooks/index.d.ts
CHANGED