@1024pix/pix-ui 55.2.0 → 55.4.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.
@@ -4,6 +4,7 @@ import { tracked } from '@glimmer/tracking';
4
4
  const TYPE_INFO = 'information';
5
5
  const TYPE_ERROR = 'error';
6
6
  const TYPE_WARNING = 'warning';
7
+ const TYPE_ENVIRONMENT = 'environment';
7
8
  const TYPE_COMMUNICATION = 'communication';
8
9
  const TYPE_COMMUNICATION_ORGA = 'communication-orga';
9
10
  const TYPE_COMMUNICATION_CERTIF = 'communication-certif';
@@ -12,6 +13,7 @@ const types = [
12
13
  TYPE_INFO,
13
14
  TYPE_ERROR,
14
15
  TYPE_WARNING,
16
+ TYPE_ENVIRONMENT,
15
17
  TYPE_COMMUNICATION,
16
18
  TYPE_COMMUNICATION_ORGA,
17
19
  TYPE_COMMUNICATION_CERTIF,
@@ -21,6 +23,7 @@ const icons = {
21
23
  [TYPE_INFO]: 'info',
22
24
  [TYPE_ERROR]: 'error',
23
25
  [TYPE_WARNING]: 'warning',
26
+ [TYPE_ENVIRONMENT]: 'displaySettings',
24
27
  [TYPE_COMMUNICATION]: 'campaign',
25
28
  [TYPE_COMMUNICATION_ORGA]: 'campaign',
26
29
  [TYPE_COMMUNICATION_CERTIF]: 'campaign',
@@ -87,5 +87,25 @@
87
87
  }
88
88
  }
89
89
  }
90
+
91
+ &--environment {
92
+ color: var(--pix-primary-700);
93
+ background-color: var(--pix-primary-10);
94
+
95
+ .pix-icon-button {
96
+ color: currentcolor;
97
+ background-color: var(--pix-primary-10);
98
+
99
+ &:hover:enabled,
100
+ &:focus:enabled,
101
+ &:active:enabled {
102
+ background-color: var(--pix-primary-100);
103
+ }
104
+
105
+ &:focus:enabled {
106
+ outline-color: var(--pix-primary-700);
107
+ }
108
+ }
109
+ }
90
110
  }
91
111
 
@@ -80,6 +80,17 @@
80
80
  letter-spacing: calc(-0.01 * var(--font-size-title));
81
81
  }
82
82
 
83
+ %pix-title-xxs,
84
+ .pix-title-xxs {
85
+ @extend %-pix-title;
86
+
87
+ --font-size-title: 1.125rem;
88
+
89
+ font-size: var(--font-size-title);
90
+ line-height: 1.625;
91
+ letter-spacing: calc(-0.01 * var(--font-size-title));
92
+ }
93
+
83
94
  %-pix-body {
84
95
  font-weight: var(--pix-font-normal);
85
96
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1024pix/pix-ui",
3
- "version": "55.2.0",
3
+ "version": "55.4.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"