@muraldevkit/ui-toolkit 2.28.1 → 2.29.1
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/form/text-input/MrlTextInput/MrlTextInput.d.ts +5 -0
- package/dist/components/menu/MrlMenu/MrlMenu.d.ts +21 -8
- package/dist/components/menu/MrlMenuGroup/MrlMenuGroup.d.ts +1 -1
- package/dist/components/menu/MrlMenuItem/MrlMenuItem.d.ts +3 -1
- package/dist/components/menu/MrlMenuItemLink/MrlMenuItemLink.d.ts +3 -1
- package/dist/components/menu/constants.d.ts +12 -1
- package/dist/components/menu/demo/MenuWithLink.d.ts +3 -4
- package/dist/components/menu/demo/MenuWithPopover.d.ts +3 -4
- package/dist/components/menu/demo/MenuWithSubmenu.d.ts +3 -4
- package/dist/components/menu/demo/MenuWithTrigger.d.ts +5 -4
- package/dist/components/menu/index.d.ts +1 -0
- package/dist/components/popover/MrlPopover/MrlPopover.d.ts +13 -11
- package/dist/components/popover/demo/PopoverWithTrigger.d.ts +3 -4
- package/dist/hooks/useClickOutside/index.d.ts +3 -2
- package/dist/hooks/useTriggerPosition/constants.d.ts +4 -4
- package/dist/hooks/useTriggerPosition/utilities.d.ts +7 -7
- package/dist/index.js +1 -1
- package/dist/styles/MrlMenu/module.scss +3 -0
- package/dist/styles/MrlMenuItem/module.scss +24 -9
- package/dist/styles/MrlPopover/module.scss +1 -2
- package/dist/styles/MrlTextarea/module.scss +0 -8
- package/dist/styles/form/global.scss +8 -0
- package/package.json +1 -1
|
@@ -50,7 +50,7 @@ $space-inset-small: calc(var(--mrl-spacing-03) - var(--mrl-spacing-01));
|
|
|
50
50
|
cursor: pointer;
|
|
51
51
|
display: flex;
|
|
52
52
|
height: 100%;
|
|
53
|
-
justify-content:
|
|
53
|
+
justify-content: flex-start;
|
|
54
54
|
padding: var(--mrl-space-inline-related) var(--mrl-space-inline-sibling);
|
|
55
55
|
position: relative;
|
|
56
56
|
white-space: nowrap;
|
|
@@ -58,6 +58,13 @@ $space-inset-small: calc(var(--mrl-spacing-03) - var(--mrl-spacing-01));
|
|
|
58
58
|
&--selected {
|
|
59
59
|
background: var(--mrl-color-background-inverse-hover);
|
|
60
60
|
color: var(--mrl-color-text-inverse);
|
|
61
|
+
&:hover {
|
|
62
|
+
background: var(--mrl-color-background-inverse-hover);
|
|
63
|
+
color: var(--mrl-color-text-inverse);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
&--withIcon {
|
|
67
|
+
padding: var(--mrl-spacing-02) var(--mrl-space-inline-sibling);
|
|
61
68
|
}
|
|
62
69
|
&--content {
|
|
63
70
|
position: relative;
|
|
@@ -80,22 +87,26 @@ $space-inset-small: calc(var(--mrl-spacing-03) - var(--mrl-spacing-01));
|
|
|
80
87
|
outline-offset: var(--mrl-spacing-01);
|
|
81
88
|
}
|
|
82
89
|
&--submenuItem {
|
|
83
|
-
padding-right:
|
|
90
|
+
padding-right: 15px;
|
|
84
91
|
}
|
|
85
|
-
&:active:not(.selected, [aria-disabled='true']) {
|
|
92
|
+
&:active:not(.MrlMenuItem--item--selected, [aria-disabled='true']) {
|
|
86
93
|
background: var(--mrl-color-background-highlight-emph-active);
|
|
87
94
|
color: var(--mrl-color-text-active);
|
|
88
95
|
}
|
|
89
|
-
&:hover:not(.selected, [aria-disabled='true']),
|
|
96
|
+
&:hover:not(.MrlMenuItem--item--selected, [aria-disabled='true']),
|
|
90
97
|
&--submenuOpen {
|
|
91
98
|
background: var(--mrl-color-background-highlight-hover);
|
|
92
99
|
color: var(--mrl-color-text-hover);
|
|
93
100
|
}
|
|
94
|
-
&--submenuIcon {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
101
|
+
&--submenuIcon-left {
|
|
102
|
+
display: flex;
|
|
103
|
+
margin-right: var(--mrl-spacing-03);
|
|
104
|
+
}
|
|
105
|
+
&--submenuIcon-right {
|
|
106
|
+
display: flex;
|
|
107
|
+
margin-left: auto;
|
|
108
|
+
position: relative;
|
|
109
|
+
top: 0;
|
|
99
110
|
width: 14px;
|
|
100
111
|
}
|
|
101
112
|
&[aria-disabled='true'] {
|
|
@@ -103,4 +114,8 @@ $space-inset-small: calc(var(--mrl-spacing-03) - var(--mrl-spacing-01));
|
|
|
103
114
|
color: var(--mrl-color-text-disabled);
|
|
104
115
|
pointer-events: none;
|
|
105
116
|
}
|
|
117
|
+
span,
|
|
118
|
+
svg {
|
|
119
|
+
pointer-events: none;
|
|
120
|
+
}
|
|
106
121
|
}
|
|
@@ -45,8 +45,7 @@
|
|
|
45
45
|
&--content {
|
|
46
46
|
overflow-x: hidden;
|
|
47
47
|
overflow-y: auto;
|
|
48
|
-
padding: var(--mrl-spacing-02) var(--mrl-spacing-04) var(--mrl-spacing-02)
|
|
49
|
-
var(--mrl-spacing-04);
|
|
48
|
+
padding: var(--mrl-spacing-02) var(--mrl-spacing-04) var(--mrl-spacing-02) 0;
|
|
50
49
|
}
|
|
51
50
|
}
|
|
52
51
|
&--point {
|
|
@@ -80,3 +80,11 @@
|
|
|
80
80
|
width: var(--mrl-checkbox-input-size);
|
|
81
81
|
z-index: $mrl-zIndex-focus + 1;
|
|
82
82
|
}
|
|
83
|
+
.MrlForm-counter {
|
|
84
|
+
@include mrl-text-static('xxsmall');
|
|
85
|
+
color: rgba(var(--mrl-gray-80), 1);
|
|
86
|
+
display: block;
|
|
87
|
+
margin-top: var(--mrl-spacing-02);
|
|
88
|
+
text-align: right;
|
|
89
|
+
width: 100%;
|
|
90
|
+
}
|