@mezzanine-ui/core 0.7.3 → 0.8.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.
|
@@ -181,7 +181,6 @@ $outlined-border-width: 1px !default;
|
|
|
181
181
|
justify-content: center;
|
|
182
182
|
align-items: center;
|
|
183
183
|
text-decoration: none;
|
|
184
|
-
text-transform: uppercase;
|
|
185
184
|
transition: transition.standard(background-color), transition.standard(border), transition.standard(color);
|
|
186
185
|
will-change: background-color, border-color, color;
|
|
187
186
|
|
package/icon/_icon-styles.scss
CHANGED
package/input/_input-styles.scss
CHANGED
|
@@ -1,8 +1,34 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
@use '../text-field';
|
|
3
|
+
@use '../select';
|
|
3
4
|
@use './input' as *;
|
|
4
5
|
|
|
5
6
|
.#{$prefix} {
|
|
7
|
+
&__tags-mode {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-wrap: wrap;
|
|
10
|
+
|
|
11
|
+
.#{select.$prefix}-trigger__tags {
|
|
12
|
+
width: unset;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
input {
|
|
16
|
+
width: unset;
|
|
17
|
+
flex: 1;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&__input-on-top {
|
|
21
|
+
flex-direction: column-reverse;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&:hover {
|
|
25
|
+
.#{text-field.$prefix}__clear-icon {
|
|
26
|
+
opacity: 1;
|
|
27
|
+
pointer-events: auto;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
6
32
|
input {
|
|
7
33
|
padding-left: var(--#{text-field.$prefix}-padding-left);
|
|
8
34
|
padding-right: var(--#{text-field.$prefix}-padding-right);
|
package/input/input.d.ts
CHANGED
|
@@ -3,4 +3,6 @@ export declare type InputSize = Size;
|
|
|
3
3
|
export declare const inputPrefix = "mzn-input";
|
|
4
4
|
export declare const inputClasses: {
|
|
5
5
|
readonly host: "mzn-input";
|
|
6
|
+
readonly tagsMode: "mzn-input__tags-mode";
|
|
7
|
+
readonly tagsModeInputOnTop: "mzn-input__tags-mode__input-on-top";
|
|
6
8
|
};
|
package/input/input.js
CHANGED
package/message/message.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { CheckCircleFilledIcon, ExclamationCircleFilledIcon,
|
|
1
|
+
import { CheckCircleFilledIcon, ExclamationCircleFilledIcon, TimesCircleFilledIcon, InfoCircleFilledIcon } from '@mezzanine-ui/icons';
|
|
2
2
|
|
|
3
3
|
const messagePrefix = 'mzn-message';
|
|
4
4
|
const messageIcons = {
|
|
5
5
|
success: CheckCircleFilledIcon,
|
|
6
6
|
warning: ExclamationCircleFilledIcon,
|
|
7
|
-
error:
|
|
7
|
+
error: TimesCircleFilledIcon,
|
|
8
8
|
info: InfoCircleFilledIcon,
|
|
9
9
|
};
|
|
10
10
|
const messageClasses = {
|
package/package.json
CHANGED