@1024pix/pix-ui 58.2.0 → 58.3.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.
@@ -75,7 +75,7 @@ export default class PixTableColumn extends Component {
75
75
  }
76
76
 
77
77
  get typeClass() {
78
- const correctTypes = ['number', 'text', 'checkbox', 'tag', 'tagDate'];
78
+ const correctTypes = ['number', 'text', 'checkbox', 'tag', 'tagDate', 'link'];
79
79
  warn('PixTableColumn: you need to provide a valid type', correctTypes.includes(this.type), {
80
80
  id: 'pix-ui.table-column.type.incorrect',
81
81
  });
@@ -91,6 +91,9 @@ export default class PixTableColumn extends Component {
91
91
  if (this.args.type === 'tagDate') {
92
92
  return `pix-table-column--tag-date`;
93
93
  }
94
+ if (this.args.type === 'link') {
95
+ return `pix-table-column--link`;
96
+ }
94
97
  return '';
95
98
  }
96
99
  }
@@ -15,6 +15,12 @@ td.pix-table-column {
15
15
  text-align: left;
16
16
  }
17
17
 
18
+ &--link {
19
+ padding-top: 0.875rem;
20
+ padding-bottom: 0.875rem;
21
+ text-align: left;
22
+ }
23
+
18
24
  &--tag-date {
19
25
  padding-top: var(--pix-spacing-1x);
20
26
  padding-bottom: var(--pix-spacing-1x);
@@ -31,4 +37,4 @@ td.pix-table-column {
31
37
  text-align: center;
32
38
  }
33
39
  }
34
- }
40
+ }
@@ -104,6 +104,11 @@
104
104
  padding-top: 0.375rem;
105
105
  padding-bottom: 0.375rem;
106
106
  }
107
+
108
+ td.pix-table-column--link {
109
+ padding-top: 0.375rem;
110
+ padding-bottom: 0.375rem;
111
+ }
107
112
  }
108
113
  }
109
114
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1024pix/pix-ui",
3
- "version": "58.2.0",
3
+ "version": "58.3.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"