@mezzanine-ui/core 0.10.2 → 0.11.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.
@@ -19,8 +19,8 @@ $label-gap: 4px !default;
19
19
  --#{$prefix}-control-size: #{$control-size};
20
20
  --#{$prefix}-color: #{palette.color(primary)};
21
21
  --#{$prefix}-on-color: #{palette.color(on-primary)};
22
- --#{$prefix}-hover-bg: #{palette.color(primary-hover-bg)};
23
- --#{$prefix}-active-bg: #{palette.color(primary-active-bg)};
22
+ --#{$prefix}-hover-bg: transparent;
23
+ --#{$prefix}-active-bg: transparent;
24
24
 
25
25
  display: inline-flex;
26
26
  align-items: center;
package/_styles.scss CHANGED
@@ -5,11 +5,11 @@
5
5
  $options: map.get($all-options, $name);
6
6
 
7
7
  @if $options != false {
8
- @if $options != null and meta.type-of($options) != "map" {
9
- @error "Invalid options of #{$name}. Only accept false, null or map";
8
+ @if $options != null and meta.type-of($options) != 'map' {
9
+ @error 'Invalid options of #{$name}. Only accept false, null or map';
10
10
  }
11
11
 
12
- $url: #{"~@mezzanine-ui/core/"}#{$namespace}#{"/"}#{$name}#{"-styles"};
12
+ $url: #{'~@mezzanine-ui/core/'}#{$namespace}#{'/'}#{$name}#{'-styles'};
13
13
 
14
14
  @include meta.load-css($url, $options);
15
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mezzanine-ui/core",
3
- "version": "0.10.2",
3
+ "version": "0.11.1",
4
4
  "description": "Core for mezzanine-ui",
5
5
  "author": "Mezzanine",
6
6
  "repository": {
@@ -36,8 +36,9 @@
36
36
  }
37
37
  },
38
38
  "dependencies": {
39
- "@mezzanine-ui/icons": "^0.10.2",
40
- "@mezzanine-ui/system": "^0.7.0",
39
+ "@mezzanine-ui/icons": "^0.11.1",
40
+ "@mezzanine-ui/system": "^0.11.1",
41
+ "lodash": "^4.17.21",
41
42
  "tslib": "^2.1.0"
42
43
  }
43
44
  }
package/table/table.js CHANGED
@@ -36,6 +36,7 @@ function getColumnStyle(column) {
36
36
  ...style,
37
37
  width: column.width,
38
38
  maxWidth: column.width,
39
+ flex: 'auto',
39
40
  };
40
41
  }
41
42
  return style;
@@ -3,7 +3,6 @@
3
3
  @use '~@mezzanine-ui/system/z-index';
4
4
  @use './tooltip' as *;
5
5
 
6
- $max-width: 160px !default;
7
6
  $min-height: 24px !default;
8
7
  $vertical-padding: 4px !default;
9
8
  $horizontal-padding: 8px !default;
@@ -15,9 +14,9 @@ $horizontal-padding: 8px !default;
15
14
  padding: $vertical-padding $horizontal-padding;
16
15
  background-color: palette.color(action-inactive);
17
16
  color: palette.color(on-secondary);
18
- max-width: $max-width;
19
17
  min-height: $min-height;
20
18
  z-index: z-index.get(popover);
19
+ white-space: pre-line;
21
20
 
22
21
  @include typography.variant(caption);
23
22
  }