@muraldevkit/ui-toolkit 4.2.2 → 4.3.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/panel/MrlPanel/MrlPanel.d.ts +1 -1
- package/dist/components/table/MrlSmartTable/MrlSmartTable.d.ts +4 -0
- package/dist/components/table/MrlTable/MrlTable.d.ts +1 -1
- package/dist/components/table/MrlTableCell/MrlTableCell.d.ts +3 -1
- package/dist/components/table/MrlTableColumn/MrlTableColumn.d.ts +3 -1
- package/dist/index.js +1 -1
- package/dist/styles/MrlSwitchStandalone/module.scss +1 -0
- package/dist/styles/table/global.scss +2 -2
- package/dist/styles.css +3 -3
- package/dist/utils/getScrollableContainer/getScrollableContainer.d.ts +7 -0
- package/dist/utils/hasHorizontalScroll/hasHorizontalScroll.d.ts +11 -0
- package/package.json +1 -1
|
@@ -49,5 +49,5 @@ interface MrlPanelProps extends React.ComponentPropsWithRef<'div'> {
|
|
|
49
49
|
* @param props The MrlPanel component properties.
|
|
50
50
|
* @returns The MrlPanel component.
|
|
51
51
|
*/
|
|
52
|
-
export declare const MrlPanel: React.ForwardRefExoticComponent<Pick<MrlPanelProps, "header" | "slot" | "style" | "title" | "dir" | "children" | "placeholder" | "id" | "defaultValue" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "lang" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "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" | "
|
|
52
|
+
export declare const MrlPanel: React.ForwardRefExoticComponent<Pick<MrlPanelProps, "header" | "slot" | "style" | "title" | "dir" | "children" | "placeholder" | "id" | "defaultValue" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "lang" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "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" | "description" | "key" | "data-qa" | "disableAutofocus" | "onClose" | "topActions" | "hasStickyHeader" | "hasDataScrollAnchor"> & React.RefAttributes<HTMLDivElement>>;
|
|
53
53
|
export {};
|
|
@@ -26,6 +26,8 @@ export interface MrlSmartColumnRendererProps {
|
|
|
26
26
|
* The current sort descriptor.
|
|
27
27
|
*/
|
|
28
28
|
sortDescriptor?: MrlTableColumnSortDescriptor;
|
|
29
|
+
hasScrollShadowLeft: boolean;
|
|
30
|
+
hasScrollShadowRight: boolean;
|
|
29
31
|
}
|
|
30
32
|
export interface MrlSmartCellRendererProps {
|
|
31
33
|
/**
|
|
@@ -44,6 +46,8 @@ export interface MrlSmartCellRendererProps {
|
|
|
44
46
|
* The data-qa prefix of the table.
|
|
45
47
|
*/
|
|
46
48
|
dataQaPrefix: string;
|
|
49
|
+
hasScrollShadowLeft: boolean;
|
|
50
|
+
hasScrollShadowRight: boolean;
|
|
47
51
|
}
|
|
48
52
|
export interface MrlTableItem extends Record<string, unknown> {
|
|
49
53
|
/**
|
|
@@ -14,4 +14,4 @@ export interface MrlTableProps extends React.ComponentPropsWithoutRef<'table'> {
|
|
|
14
14
|
* @param {MrlTable} props - MrlTable component props
|
|
15
15
|
* @returns a table element
|
|
16
16
|
*/
|
|
17
|
-
export declare
|
|
17
|
+
export declare const MrlTable: React.ForwardRefExoticComponent<MrlTableProps & React.RefAttributes<HTMLTableElement>>;
|
|
@@ -12,6 +12,8 @@ export interface MrlTableCellProps extends React.ComponentPropsWithoutRef<'td'>
|
|
|
12
12
|
* Whether this cell is sticky 'left' or sticky 'right' or not sticky at all
|
|
13
13
|
*/
|
|
14
14
|
sticky?: MrlTableColumnSticky;
|
|
15
|
+
hasScrollShadowLeft?: boolean;
|
|
16
|
+
hasScrollShadowRight?: boolean;
|
|
15
17
|
}
|
|
16
18
|
/**
|
|
17
19
|
* MrlTableCell Component
|
|
@@ -19,4 +21,4 @@ export interface MrlTableCellProps extends React.ComponentPropsWithoutRef<'td'>
|
|
|
19
21
|
* @param {MrlTableCellProps} props - MrlTableCell component props
|
|
20
22
|
* @returns a table cell element
|
|
21
23
|
*/
|
|
22
|
-
export declare function MrlTableCell(
|
|
24
|
+
export declare function MrlTableCell(props: MrlTableCellProps): JSX.Element;
|
|
@@ -12,6 +12,8 @@ export interface MrlTableColumnProps extends React.ComponentPropsWithoutRef<'th'
|
|
|
12
12
|
* Whether this column is sticky 'left' or sticky 'right' or not sticky at all
|
|
13
13
|
*/
|
|
14
14
|
sticky?: MrlTableColumnSticky;
|
|
15
|
+
hasScrollShadowLeft?: boolean;
|
|
16
|
+
hasScrollShadowRight?: boolean;
|
|
15
17
|
}
|
|
16
18
|
/**
|
|
17
19
|
* MrlTableColumn Component
|
|
@@ -19,4 +21,4 @@ export interface MrlTableColumnProps extends React.ComponentPropsWithoutRef<'th'
|
|
|
19
21
|
* @param {MrlTableColumnProps} props - MrlTableColumn component props
|
|
20
22
|
* @returns a table column element
|
|
21
23
|
*/
|
|
22
|
-
export declare function MrlTableColumn(
|
|
24
|
+
export declare function MrlTableColumn(props: MrlTableColumnProps): JSX.Element;
|