@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
 
@@ -9,6 +9,7 @@ $spin-keyframes-name: #{$prefix}-spin !default;
9
9
  }
10
10
 
11
11
  .#{$prefix} {
12
+ cursor: var(--#{$prefix}-cursor);
12
13
  display: inline-block;
13
14
  width: 1em;
14
15
  height: 1em;
@@ -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
@@ -1,6 +1,8 @@
1
1
  const inputPrefix = 'mzn-input';
2
2
  const inputClasses = {
3
3
  host: inputPrefix,
4
+ tagsMode: `${inputPrefix}__tags-mode`,
5
+ tagsModeInputOnTop: `${inputPrefix}__tags-mode__input-on-top`,
4
6
  };
5
7
 
6
8
  export { inputClasses, inputPrefix };
@@ -1,10 +1,10 @@
1
- import { CheckCircleFilledIcon, ExclamationCircleFilledIcon, MinusCircleFilledIcon, InfoCircleFilledIcon } from '@mezzanine-ui/icons';
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: MinusCircleFilledIcon,
7
+ error: TimesCircleFilledIcon,
8
8
  info: InfoCircleFilledIcon,
9
9
  };
10
10
  const messageClasses = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mezzanine-ui/core",
3
- "version": "0.7.3",
3
+ "version": "0.8.1",
4
4
  "description": "Core for mezzanine-ui",
5
5
  "author": "Mezzanine",
6
6
  "repository": {
@@ -3,7 +3,6 @@
3
3
  @use './page-footer' as *;
4
4
 
5
5
  .#{$prefix} {
6
- height: 32px;
7
6
  padding: spacing.level(4) spacing.level(5);
8
7
  border-top: 1px solid palette.color(border);
9
8
  background-color: palette.color(surface);