@1024pix/pix-ui 43.0.0 → 43.1.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.
@@ -55,7 +55,7 @@
55
55
  padding: var(--pix-spacing-2x) var(--pix-spacing-4x);
56
56
  }
57
57
 
58
- &--blue, &--primary {
58
+ &--primary {
59
59
  background-color: var(--pix-primary-500);
60
60
 
61
61
  &:not([aria-disabled="true"]) {
@@ -77,7 +77,7 @@
77
77
  }
78
78
  }
79
79
 
80
- &--green, &--success {
80
+ &--success {
81
81
  background-color: var(--pix-success-500);
82
82
 
83
83
  &:not([aria-disabled="true"]) {
@@ -99,7 +99,7 @@
99
99
  }
100
100
  }
101
101
 
102
- &--yellow, &--secondary {
102
+ &--secondary {
103
103
  color: var(--pix-neutral-900);
104
104
  background-color: var(--pix-secondary-500);
105
105
 
@@ -125,7 +125,7 @@
125
125
  }
126
126
  }
127
127
 
128
- &--red, &--error {
128
+ &--error {
129
129
  color: var(--pix-neutral-0);
130
130
  background-color: var(--pix-error-500);
131
131
 
@@ -148,7 +148,7 @@
148
148
  }
149
149
  }
150
150
 
151
- &--grey, &--neutral {
151
+ &--neutral {
152
152
  color: var(--pix-neutral-900);
153
153
  background-color: var(--pix-neutral-20);
154
154
 
@@ -173,13 +173,6 @@
173
173
  }
174
174
  }
175
175
 
176
- /* deprecated in favor of --transparent-light + --border */
177
- &--transparent {
178
- color: var(--pix-neutral-500);
179
- background-color: transparent;
180
- border: 1px solid var(--pix-neutral-500);
181
- }
182
-
183
176
  &--transparent-light {
184
177
  color: var(--pix-primary-700);
185
178
  background-color: transparent;
@@ -11,8 +11,7 @@
11
11
  display: flex;
12
12
  align-items: center;
13
13
  width: 100%;
14
- height: 36px;
15
- padding: 0 var(--pix-spacing-8x) 0 var(--pix-spacing-4x);
14
+ padding: var(--pix-spacing-2x) var(--pix-spacing-3x);
16
15
  color: var(--pix-neutral-900);
17
16
  background-color: var(--pix-neutral-0);
18
17
  border: 1px var(--pix-neutral-500) solid;
@@ -85,8 +85,7 @@
85
85
  align-items: center;
86
86
  justify-content: space-between;
87
87
  width: 100%;
88
- height: 2.25rem;
89
- padding: 0 var(--pix-spacing-4x) 0 var(--pix-spacing-4x);
88
+ padding: var(--pix-spacing-2x) var(--pix-spacing-3x);
90
89
  color: var(--pix-neutral-900);
91
90
  background-color: var(--pix-neutral-0);
92
91
  border: 1px var(--pix-neutral-500) solid;
@@ -29,13 +29,21 @@ export default {
29
29
  backgroundColor: {
30
30
  name: 'backgroundColor',
31
31
  description:
32
- 'color: `blue`, `green`, `yellow`, `red`, `grey`, `transparent-light`, `transparent-dark`',
33
- options: ['blue', 'green', 'yellow', 'red', 'grey', 'transparent-light', 'transparent-dark'],
32
+ 'color: `primary`, `success`, `secondary`, `error`, `neutral`, `transparent-light`, `transparent-dark`',
33
+ options: [
34
+ 'primary',
35
+ 'success',
36
+ 'secondary',
37
+ 'error',
38
+ 'neutral',
39
+ 'transparent-light',
40
+ 'transparent-dark',
41
+ ],
34
42
  type: { name: 'string', required: false },
35
43
  control: { type: 'select' },
36
44
  table: {
37
45
  type: { summary: 'string' },
38
- defaultValue: { summary: 'blue' },
46
+ defaultValue: { summary: 'primary' },
39
47
  },
40
48
  },
41
49
  size: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1024pix/pix-ui",
3
- "version": "43.0.0",
3
+ "version": "43.1.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"