@muraldevkit/ui-toolkit 2.51.0-dev.1 → 2.51.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.
@@ -28,7 +28,6 @@
28
28
  position: absolute;
29
29
  right: 4px;
30
30
  top: 6px;
31
- transition: none;
32
31
  svg {
33
32
  color: var(--mrl-popover-text-color);
34
33
  }
@@ -40,14 +39,13 @@
40
39
  display: flex;
41
40
  }
42
41
  &--scrolling {
42
+ padding-bottom: var(--mrl-spacing-04);
43
43
  padding-right: 0;
44
+ padding-top: var(--mrl-spacing-03);
44
45
  &--content {
45
46
  overflow-x: hidden;
46
47
  overflow-y: auto;
47
- padding-right: calc(var(--mrl-popover-padding) - 4px);
48
- .MrlPopover--close {
49
- right: 8px;
50
- }
48
+ padding: var(--mrl-spacing-02) var(--mrl-spacing-04) var(--mrl-spacing-02) 0;
51
49
  }
52
50
  }
53
51
  &--point {
@@ -99,23 +97,3 @@
99
97
  }
100
98
  }
101
99
  }
102
- .inverse {
103
- .MrlPopover {
104
- &--scrolling {
105
- &--content {
106
- &::-webkit-scrollbar {
107
- background-color: var(--mrl-popover-background-color);
108
- border-radius: 10px;
109
- width: 12px;
110
- }
111
- &::-webkit-scrollbar-thumb {
112
- background-clip: content-box;
113
- background-color: var(--mrl-popover-text-color);
114
- border: 3px solid transparent;
115
- border-radius: 10px;
116
- position: relative;
117
- }
118
- }
119
- }
120
- }
121
- }
@@ -1,4 +1,5 @@
1
1
 
2
+ @use '../table.variables.scss';
2
3
  .MrlSmartTable--accessible-visually-hidden-button {
3
4
  all: unset;
4
5
  cursor: pointer;
@@ -6,3 +7,7 @@
6
7
  outline: revert;
7
8
  }
8
9
  }
10
+ .MrlTableRow--selected,
11
+ .MrlTableRow--selected > :global(.MrlTableCell) {
12
+ background-color: var(--mrl-table-row-background-selected);
13
+ }
@@ -9,6 +9,7 @@
9
9
  --mrl-table-row-border-bottom: 1px solid rgba(var(--mrl-gray-30), 1);
10
10
  --mrl-table-row-background: var(--mrl-color-background);
11
11
  --mrl-table-row-background-hover: var(--mrl-color-background-highlight-hover);
12
+ --mrl-table-row-background-selected: rgba(var(--mrl-blue-10), 1);
12
13
  --mrl-table-cell-height: 48px;
13
14
  --mrl-table-cell-padding-block: 6px;
14
15
  --mrl-table-cell-padding-inline: 6px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@muraldevkit/ui-toolkit",
3
- "version": "2.51.0-dev.1",
3
+ "version": "2.51.0",
4
4
  "description": "Mural's UI Toolkit",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -1,31 +0,0 @@
1
- import React from 'react';
2
- import { MrlPopoverProps } from '../../popover';
3
- export type MrlCalloutPopoverProps = Omit<MrlPopoverProps, 'children' | 'actionState' | 'isSubMenu' | 'triggerRef'>;
4
- interface MrlCalloutCTA {
5
- onClick: () => void;
6
- dataQa?: string;
7
- text: string;
8
- }
9
- export interface MrlCalloutProps extends MrlCalloutPopoverProps {
10
- /** a unique id that binds the callout content and the trigger for assistive technologies */
11
- ariaControls?: string;
12
- children: React.ReactElement;
13
- disableClickOutside?: boolean;
14
- description?: string | JSX.Element;
15
- eyebrow?: string;
16
- id: string;
17
- image?: JSX.Element;
18
- renderWithPortal?: boolean;
19
- show: boolean;
20
- title: string;
21
- primaryCta?: MrlCalloutCTA;
22
- secondaryCta?: MrlCalloutCTA;
23
- }
24
- /**
25
- * MrlCallout component.
26
- *
27
- * @param props - The props.
28
- * @returns {React.ReactElement} The MrlCallout component.
29
- */
30
- export declare const MrlCallout: ({ ariaControls, alignment, children, description, disableClickOutside, disableFocusTrap, eyebrow, hasCloseButton, id, image, kind, onOpen, onClose, point, position, primaryCta, secondaryCta, show, spacing, title }: MrlCalloutProps) => React.ReactElement;
31
- export {};
@@ -1 +0,0 @@
1
- export { MrlCallout } from './MrlCallout';
@@ -1 +0,0 @@
1
- export declare const HELLO_WORLD = "hello world";
@@ -1 +0,0 @@
1
- export * from './MrlCallout';
@@ -1,32 +0,0 @@
1
- .MrlCallout {
2
- &--content {
3
- max-width: 280px;
4
- }
5
- &--title {
6
- font-size: var(--mrl-font-size-05);
7
- margin-bottom: var(--mrl-spacing-02);
8
- }
9
- &--eyebrow {
10
- font-size: var(--mrl-font-size-03);
11
- font-weight: 700;
12
- margin-bottom: var(--mrl-spacing-02);
13
- }
14
- &--description {
15
- font-size: var(--mrl-font-size-03);
16
- }
17
- &--image {
18
- margin-top: var(--mrl-spacing-05);
19
- img {
20
- height: auto;
21
- width: 100%;
22
- }
23
- }
24
- &--footer {
25
- display: flex;
26
- justify-content: flex-start;
27
- margin-top: var(--mrl-spacing-05);
28
- :global(.mrlButton:last-child) {
29
- margin-left: auto;
30
- }
31
- }
32
- }