@1024pix/pix-ui 54.7.0 → 54.9.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.
@@ -52,7 +52,12 @@
52
52
  >
53
53
 
54
54
  {{#if option.icon}}
55
- <PixIcon role="presentation" @name={{option.icon}} @title={{option.iconTitle}} />
55
+ <PixIcon
56
+ role="presentation"
57
+ @name={{option.icon}}
58
+ @title={{option.iconTitle}}
59
+ class="pix-icon--no-shrink"
60
+ />
56
61
  {{/if}}
57
62
 
58
63
  {{option.label}}
@@ -84,7 +89,12 @@
84
89
  {{on-space-action (fn @onChange option)}}
85
90
  >
86
91
  {{#if option.icon}}
87
- <PixIcon role="presentation" @name={{option.icon}} @title={{option.iconTitle}} />
92
+ <PixIcon
93
+ role="presentation"
94
+ @name={{option.icon}}
95
+ @title={{option.iconTitle}}
96
+ class="pix-icon--no-shrink"
97
+ />
88
98
  {{/if}}
89
99
 
90
100
  {{option.label}}
@@ -2,4 +2,8 @@
2
2
  width: 1.5rem;
3
3
  height: 1.5rem;
4
4
  fill: currentcolor;
5
+
6
+ &--no-shrink {
7
+ flex-shrink: 0;
8
+ }
5
9
  }
@@ -23,7 +23,7 @@
23
23
  z-index: 200;
24
24
  width: 100%;
25
25
  min-width: fit-content;
26
- max-height: 12.8rem;
26
+ max-height: 12rem;
27
27
  margin-top: var(--pix-spacing-1x);
28
28
  padding: 0;
29
29
  overflow-y: auto;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1024pix/pix-ui",
3
- "version": "54.7.0",
3
+ "version": "54.9.0",
4
4
  "description": "Pix-UI is the implementation of Pix design principles and guidelines for its products.",
5
5
  "keywords": [
6
6
  "ember-addon"