@shrfe/assets 1.0.70-staging.3 → 1.0.71

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.
@@ -1,37 +1,37 @@
1
1
  :root {
2
2
  --sfe-shadow-small-offset-x: 0px;
3
- --sfe-shadow-small-blur: 3px;
4
- --sfe-shadow-small-spread: -1px;
5
- --sfe-shadow-small-color: #0000000f;
6
- --sfe-shadow-small-offset-y: 1px;
3
+ --sfe-shadow-small-blur: 0px;
4
+ --sfe-shadow-small-spread: 0px;
5
+ --sfe-shadow-small-color: 0px;
6
+ --sfe-shadow-small-offset-y: 0px;
7
7
  --sfe-shadow-medium-offset-x: 0px;
8
- --sfe-shadow-medium-blur: 10px;
9
- --sfe-shadow-medium-spread: -3px;
10
- --sfe-shadow-medium-color: #0000001a;
11
- --sfe-shadow-medium-offset-y: 4px;
8
+ --sfe-shadow-medium-blur: 0px;
9
+ --sfe-shadow-medium-spread: 0px;
10
+ --sfe-shadow-medium-color: 0px;
11
+ --sfe-shadow-medium-offset-y: 0px;
12
12
  --sfe-shadow-xxlarge-offset-x: 0px;
13
- --sfe-shadow-xxlarge-blur: 52px;
14
- --sfe-shadow-xxlarge-spread: -12px;
15
- --sfe-shadow-xxlarge-color: #0000002e;
16
- --sfe-shadow-xxlarge-offset-y: 24px;
13
+ --sfe-shadow-xxlarge-blur: 0px;
14
+ --sfe-shadow-xxlarge-spread: 0px;
15
+ --sfe-shadow-xxlarge-color: 0px;
16
+ --sfe-shadow-xxlarge-offset-y: 0px;
17
17
  --sfe-shadow-inner-offset-x: 0px;
18
- --sfe-shadow-inner-blur: 3px;
18
+ --sfe-shadow-inner-blur: 0px;
19
19
  --sfe-shadow-inner-spread: 0px;
20
- --sfe-shadow-inner-color: #00000014;
21
- --sfe-shadow-inner-offset-y: 1px;
20
+ --sfe-shadow-inner-color: 0px;
21
+ --sfe-shadow-inner-offset-y: 0px;
22
22
  --sfe-shadow-focus-ring-offset-x: 0px;
23
23
  --sfe-shadow-focus-ring-blur: 0px;
24
- --sfe-shadow-focus-ring-spread: 3px;
25
- --sfe-shadow-focus-ring-color: #9747ff;
24
+ --sfe-shadow-focus-ring-spread: 0px;
25
+ --sfe-shadow-focus-ring-color: 0px;
26
26
  --sfe-shadow-focus-ring-offset-y: 0px;
27
27
  --sfe-shadow-large-offset-x: 0px;
28
- --sfe-shadow-large-blur: 20px;
29
- --sfe-shadow-large-spread: -5px;
30
- --sfe-shadow-large-color: #0000001f;
31
- --sfe-shadow-large-offset-y: 8px;
28
+ --sfe-shadow-large-blur: 0px;
29
+ --sfe-shadow-large-spread: 0px;
30
+ --sfe-shadow-large-color: 0px;
31
+ --sfe-shadow-large-offset-y: 0px;
32
32
  --sfe-shadow-xlarge-offset-x: 0px;
33
- --sfe-shadow-xlarge-blur: 32px;
34
- --sfe-shadow-xlarge-spread: -8px;
35
- --sfe-shadow-xlarge-color: #00000024;
36
- --sfe-shadow-xlarge-offset-y: 14px;
33
+ --sfe-shadow-xlarge-blur: 0px;
34
+ --sfe-shadow-xlarge-spread: 0px;
35
+ --sfe-shadow-xlarge-color: 0px;
36
+ --sfe-shadow-xlarge-offset-y: 0px;
37
37
  }
@@ -1,61 +1,4 @@
1
1
  :root {
2
- --sfe-sizing-gap-1: 1px;
3
- --sfe-sizing-gap-2: 2px;
4
- --sfe-sizing-gap-4: 4px;
5
- --sfe-sizing-gap-6: 6px;
6
- --sfe-sizing-gap-8: 8px;
7
- --sfe-sizing-gap-10: 10px;
8
- --sfe-sizing-gap-12: 12px;
9
- --sfe-sizing-gap-14: 14px;
10
- --sfe-sizing-gap-16: 16px;
11
- --sfe-sizing-gap-18: 18px;
12
- --sfe-sizing-gap-20: 20px;
13
- --sfe-sizing-gap-22: 22px;
14
- --sfe-sizing-gap-24: 24px;
15
- --sfe-sizing-gap-26: 26px;
16
- --sfe-sizing-gap-28: 28px;
17
- --sfe-sizing-gap-30: 30px;
18
- --sfe-sizing-gap-32: 32px;
19
- --sfe-sizing-gap-36: 36px;
20
- --sfe-sizing-gap-40: 40px;
21
- --sfe-sizing-gap-44: 44px;
22
- --sfe-sizing-gap-48: 48px;
23
- --sfe-sizing-gap-52: 52px;
24
- --sfe-sizing-gap-56: 56px;
25
- --sfe-sizing-gap-60: 60px;
26
- --sfe-sizing-gap-64: 64px;
27
- --sfe-sizing-gap-68: 68px;
28
- --sfe-sizing-gap-72: 72px;
29
- --sfe-sizing-gap-76: 76px;
30
- --sfe-sizing-gap-80: 80px;
31
- --sfe-sizing-gap-84: 84px;
32
- --sfe-sizing-gap-88: 88px;
33
- --sfe-sizing-gap-92: 92px;
34
- --sfe-sizing-gap-96: 96px;
35
- --sfe-sizing-gap-100: 100px;
36
- --sfe-sizing-gap-104: 104px;
37
- --sfe-sizing-gap-108: 108px;
38
- --sfe-sizing-gap-112: 112px;
39
- --sfe-sizing-gap-116: 116px;
40
- --sfe-sizing-gap-120: 120px;
41
- --sfe-sizing-gap-128: 128px;
42
- --sfe-sizing-gap-136: 136px;
43
- --sfe-sizing-gap-144: 144px;
44
- --sfe-sizing-gap-152: 152px;
45
- --sfe-sizing-gap-160: 160px;
46
- --sfe-sizing-gap-168: 168px;
47
- --sfe-sizing-gap-176: 176px;
48
- --sfe-sizing-gap-184: 184px;
49
- --sfe-sizing-gap-192: 192px;
50
- --sfe-sizing-gap-200: 200px;
51
- --sfe-sizing-gap-216: 216px;
52
- --sfe-sizing-gap-232: 232px;
53
- --sfe-sizing-gap-248: 248px;
54
- --sfe-sizing-gap-264: 264px;
55
- --sfe-sizing-gap-280: 280px;
56
- --sfe-sizing-gap-296: 296px;
57
- --sfe-sizing-gap-312: 312px;
58
- --sfe-sizing-gap-320: 320px;
59
2
  --sfe-sizing-gap-null: 0px;
60
3
  --sfe-sizing-gap-xxsmall: 2px;
61
4
  --sfe-sizing-gap-xsmall: 4px;
@@ -78,63 +21,6 @@
78
21
  --sfe-sizing-radius-large: 12px;
79
22
  --sfe-sizing-radius-xlarge: 16px;
80
23
  --sfe-sizing-radius-round: 99999px;
81
- --sfe-sizing-padding-1: 1px;
82
- --sfe-sizing-padding-2: 2px;
83
- --sfe-sizing-padding-4: 4px;
84
- --sfe-sizing-padding-6: 6px;
85
- --sfe-sizing-padding-8: 8px;
86
- --sfe-sizing-padding-10: 10px;
87
- --sfe-sizing-padding-12: 12px;
88
- --sfe-sizing-padding-14: 14px;
89
- --sfe-sizing-padding-16: 16px;
90
- --sfe-sizing-padding-18: 18px;
91
- --sfe-sizing-padding-20: 20px;
92
- --sfe-sizing-padding-22: 22px;
93
- --sfe-sizing-padding-24: 24px;
94
- --sfe-sizing-padding-26: 26px;
95
- --sfe-sizing-padding-28: 28px;
96
- --sfe-sizing-padding-30: 30px;
97
- --sfe-sizing-padding-32: 32px;
98
- --sfe-sizing-padding-36: 36px;
99
- --sfe-sizing-padding-40: 40px;
100
- --sfe-sizing-padding-44: 44px;
101
- --sfe-sizing-padding-48: 48px;
102
- --sfe-sizing-padding-52: 52px;
103
- --sfe-sizing-padding-56: 56px;
104
- --sfe-sizing-padding-60: 60px;
105
- --sfe-sizing-padding-64: 64px;
106
- --sfe-sizing-padding-68: 68px;
107
- --sfe-sizing-padding-72: 72px;
108
- --sfe-sizing-padding-76: 76px;
109
- --sfe-sizing-padding-80: 80px;
110
- --sfe-sizing-padding-84: 84px;
111
- --sfe-sizing-padding-88: 88px;
112
- --sfe-sizing-padding-92: 92px;
113
- --sfe-sizing-padding-96: 96px;
114
- --sfe-sizing-padding-100: 100px;
115
- --sfe-sizing-padding-104: 104px;
116
- --sfe-sizing-padding-108: 108px;
117
- --sfe-sizing-padding-112: 112px;
118
- --sfe-sizing-padding-116: 116px;
119
- --sfe-sizing-padding-120: 120px;
120
- --sfe-sizing-padding-128: 128px;
121
- --sfe-sizing-padding-136: 136px;
122
- --sfe-sizing-padding-144: 144px;
123
- --sfe-sizing-padding-152: 152px;
124
- --sfe-sizing-padding-160: 160px;
125
- --sfe-sizing-padding-168: 168px;
126
- --sfe-sizing-padding-176: 176px;
127
- --sfe-sizing-padding-184: 184px;
128
- --sfe-sizing-padding-192: 192px;
129
- --sfe-sizing-padding-200: 200px;
130
- --sfe-sizing-padding-216: 216px;
131
- --sfe-sizing-padding-232: 232px;
132
- --sfe-sizing-padding-248: 248px;
133
- --sfe-sizing-padding-264: 264px;
134
- --sfe-sizing-padding-280: 280px;
135
- --sfe-sizing-padding-296: 296px;
136
- --sfe-sizing-padding-312: 312px;
137
- --sfe-sizing-padding-320: 320px;
138
24
  --sfe-sizing-padding-null: 0px;
139
25
  --sfe-sizing-padding-xxsmall: 2px;
140
26
  --sfe-sizing-padding-xsmall: 4px;
@@ -143,24 +29,7 @@
143
29
  --sfe-sizing-padding-default: 16px;
144
30
  --sfe-sizing-padding-large: 24px;
145
31
  --sfe-sizing-padding-xlarge: 32px;
146
- --sfe-sizing-padding-xxlarge: 40px;
147
- --sfe-sizing-size-2: 2px;
148
- --sfe-sizing-size-4: 4px;
149
- --sfe-sizing-size-8: 8px;
150
- --sfe-sizing-size-12: 12px;
151
- --sfe-sizing-size-16: 16px;
152
- --sfe-sizing-size-20: 20px;
153
- --sfe-sizing-size-24: 24px;
154
- --sfe-sizing-size-28: 28px;
155
- --sfe-sizing-size-32: 32px;
156
- --sfe-sizing-size-36: 36px;
157
- --sfe-sizing-size-40: 40px;
158
- --sfe-sizing-size-44: 44px;
159
- --sfe-sizing-size-48: 48px;
160
- --sfe-sizing-size-56: 56px;
161
- --sfe-sizing-size-64: 64px;
162
- --sfe-sizing-size-72: 72px;
163
- --sfe-sizing-size-120: 120px;
32
+ --sfe-sizing-size-120: 12px;
164
33
  --sfe-sizing-size-160: 16px;
165
34
  --sfe-sizing-size-200: 20px;
166
35
  --sfe-sizing-size-240: 24px;
@@ -178,22 +47,4 @@
178
47
  --sfe-sizing-size-020: 2px;
179
48
  --sfe-sizing-size-040: 4px;
180
49
  --sfe-sizing-size-080: 8px;
181
- --sfe-sizing-padding-x-null: 0px;
182
- --sfe-sizing-padding-x-xxsmall: 2px;
183
- --sfe-sizing-padding-x-xsmall: 4px;
184
- --sfe-sizing-padding-x-small: 8px;
185
- --sfe-sizing-padding-x-mid: 12px;
186
- --sfe-sizing-padding-x-default: 16px;
187
- --sfe-sizing-padding-x-large: 24px;
188
- --sfe-sizing-padding-x-xlarge: 32px;
189
- --sfe-sizing-padding-x-xxlarge: 40px;
190
- --sfe-sizing-padding-y-null: 0px;
191
- --sfe-sizing-padding-y-xxsmall: 2px;
192
- --sfe-sizing-padding-y-xsmall: 4px;
193
- --sfe-sizing-padding-y-small: 8px;
194
- --sfe-sizing-padding-y-mid: 12px;
195
- --sfe-sizing-padding-y-default: 16px;
196
- --sfe-sizing-padding-y-large: 24px;
197
- --sfe-sizing-padding-y-xlarge: 32px;
198
- --sfe-sizing-padding-y-xxlarge: 40px;
199
50
  }
@@ -7,28 +7,27 @@
7
7
  --sfe-typography-font-windows-system: Segoe UI;
8
8
  --sfe-typography-font-ios-system: SF Pro;
9
9
  --sfe-typography-font-old-font: Rubik;
10
- --sfe-typography-font-size-body-small: 14px;
11
- --sfe-typography-font-size-body-default: 16px;
12
- --sfe-typography-font-size-body-large: 18px;
10
+ --sfe-typography-font-size-body-small: 12px;
11
+ --sfe-typography-font-size-body-default: 14px;
12
+ --sfe-typography-font-size-body-large: 16px;
13
13
  --sfe-typography-font-size-body-xlarge: 20px;
14
- --sfe-typography-font-size-body-xsmall: 12px;
15
- --sfe-typography-font-size-body-xxlarge: 24px;
14
+ --sfe-typography-font-size-body-xsmall: 10px;
16
15
  --sfe-typography-font-size-subtitle-xsmall: 14px;
17
16
  --sfe-typography-font-size-subtitle-small: 16px;
18
17
  --sfe-typography-font-size-subtitle-default: 20px;
19
18
  --sfe-typography-font-size-subtitle-large: 24px;
20
19
  --sfe-typography-font-size-subtitle-xlarge: 32px;
21
- --sfe-typography-font-size-label-xsmall: 11px;
20
+ --sfe-typography-font-size-label-xsmall: 10px;
22
21
  --sfe-typography-font-size-label-small: 12px;
23
22
  --sfe-typography-font-size-label-default: 14px;
24
23
  --sfe-typography-font-size-label-large: 16px;
25
24
  --sfe-typography-font-size-label-xlarge: 18px;
26
- --sfe-typography-font-size-heading-small: 18px;
27
- --sfe-typography-font-size-heading-large: 32px;
28
- --sfe-typography-font-size-heading-xlarge: 40px;
25
+ --sfe-typography-font-size-heading-small: 16px;
26
+ --sfe-typography-font-size-heading-large: 24px;
27
+ --sfe-typography-font-size-heading-xlarge: 32px;
29
28
  --sfe-typography-font-size-heading-xxlarge: 48px;
30
- --sfe-typography-font-size-heading-xxxlarge: 56px;
31
- --sfe-typography-font-size-heading-medium: 24px;
29
+ --sfe-typography-font-size-heading-xxxlarge: 52px;
30
+ --sfe-typography-font-size-heading-medium: 20px;
32
31
  --sfe-typography-font-size-caption-xsmall: 10px;
33
32
  --sfe-typography-font-size-caption-default: 12px;
34
33
  --sfe-typography-font-size-caption-large: 14px;
@@ -37,10 +36,9 @@
37
36
  --sfe-typography-font-size-display-small: 72px;
38
37
  --sfe-typography-font-size-display-medium: 80px;
39
38
  --sfe-typography-font-size-display-large: 88px;
40
- --sfe-typography-font-size-display-xlarge: 96px;
41
- --sfe-typography-font-size-display-xxlarge: 104px;
42
- --sfe-typography-font-size-display-xxxlarge: 112px;
43
- --sfe-typography-font-size-display-xsmall: 36px;
39
+ --sfe-typography-font-size-display-xlarge: 92px;
40
+ --sfe-typography-font-size-display-xxlarge: 96px;
41
+ --sfe-typography-font-size-display-xxxlarge: 98px;
44
42
  --sfe-typography-space-letter-10: 1px;
45
43
  --sfe-typography-space-letter-15: 1.5px;
46
44
  --sfe-typography-space-letter-20: 2px;
@@ -50,7 +48,6 @@
50
48
  --sfe-typography-space-letter-40: 4px;
51
49
  --sfe-typography-space-letter-null: 0px;
52
50
  --sfe-typography-space-letter-05: 0.5px;
53
- --sfe-typography-space-letter-negative-10: -1px;
54
51
  --sfe-typography-space-list-null: 0px;
55
52
  --sfe-typography-space-list-small: 4px;
56
53
  --sfe-typography-space-list-medium: 8px;
@@ -67,35 +64,32 @@
67
64
  --sfe-typography-line-height-heading-medium: 32px;
68
65
  --sfe-typography-line-height-heading-large: 40px;
69
66
  --sfe-typography-line-height-heading-xlarge: 48px;
70
- --sfe-typography-line-height-heading-xxlarge: 56px;
67
+ --sfe-typography-line-height-heading-xxlarge: 52px;
71
68
  --sfe-typography-line-height-heading-xxxlarge: 64px;
72
69
  --sfe-typography-line-height-body-xsmall: 16px;
73
- --sfe-typography-line-height-body-small: 20px;
70
+ --sfe-typography-line-height-body-small: 16px;
74
71
  --sfe-typography-line-height-body-default: 24px;
75
72
  --sfe-typography-line-height-body-large: 24px;
76
- --sfe-typography-line-height-body-xlarge: 28px;
77
- --sfe-typography-line-height-subtitle-xsmall: 20px;
78
- --sfe-typography-line-height-subtitle-small: 24px;
79
- --sfe-typography-line-height-subtitle-default: 28px;
80
- --sfe-typography-line-height-subtitle-large: 32px;
81
- --sfe-typography-line-height-subtitle-xlarge: 40px;
82
- --sfe-typography-line-height-label-xsmall: 16px;
73
+ --sfe-typography-line-height-body-xlarge: 32px;
74
+ --sfe-typography-line-height-subtitle-xsmall: 16px;
75
+ --sfe-typography-line-height-subtitle-small: 20px;
76
+ --sfe-typography-line-height-subtitle-default: 24px;
77
+ --sfe-typography-line-height-subtitle-large: 28px;
78
+ --sfe-typography-line-height-subtitle-xlarge: 36px;
79
+ --sfe-typography-line-height-label-xsmall: 14px;
83
80
  --sfe-typography-line-height-label-small: 16px;
84
81
  --sfe-typography-line-height-label-default: 20px;
85
82
  --sfe-typography-line-height-label-large: 24px;
86
- --sfe-typography-line-height-label-xlarge: 24px;
87
- --sfe-typography-line-height-label-action-xsmall-underline: 14px;
83
+ --sfe-typography-line-height-label-xlarge: 28px;
88
84
  --sfe-typography-line-height-caption-xsmall: 12px;
89
85
  --sfe-typography-line-height-caption-small: 16px;
90
86
  --sfe-typography-line-height-caption-default: 16px;
91
87
  --sfe-typography-line-height-caption-large: 20px;
92
88
  --sfe-typography-line-height-caption-xlarge: 20px;
93
- --sfe-typography-line-height-caption-xxlarge: 24px;
94
- --sfe-typography-line-height-display-small: 80px;
95
- --sfe-typography-line-height-display-medium: 88px;
96
- --sfe-typography-line-height-display-large: 96px;
97
- --sfe-typography-line-height-display-xlarge: 104px;
98
- --sfe-typography-line-height-display-xxlarge: 112px;
99
- --sfe-typography-line-height-display-xxxlarge: 120px;
100
- --sfe-typography-line-height-display-xsmall: 44px;
89
+ --sfe-typography-line-height-display-small: 72px;
90
+ --sfe-typography-line-height-display-medium: 80px;
91
+ --sfe-typography-line-height-display-large: 88px;
92
+ --sfe-typography-line-height-display-xlarge: 92px;
93
+ --sfe-typography-line-height-display-xxlarge: 96px;
94
+ --sfe-typography-line-height-display-xxxlarge: 98px;
101
95
  }
@@ -9,8 +9,6 @@
9
9
  @import './ds/semantics/typography/typography.css';
10
10
  @import './ds/semantics/shadow/shadow.css';
11
11
  @import './ds/component.css';
12
- @import './ds/brand/system.css';
13
- @import './ds/brands.css';
14
12
  :root {
15
13
  --fallback-font:
16
14
  -apple-system, blinkmacsystemfont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI Variable Text',
@@ -193,6 +191,7 @@ sup {
193
191
 
194
192
  a {
195
193
  color: #0d6efd;
194
+ text-decoration: underline;
196
195
  background-color: transparent;
197
196
  }
198
197
 
@@ -29766,7 +29766,6 @@ __webpack_require__.r(__webpack_exports__);
29766
29766
  // EXPORTS
29767
29767
  __webpack_require__.d(__webpack_exports__, {
29768
29768
  AlertService: function() { return /* reexport */ alert_service_namespaceObject; },
29769
- BrandService: function() { return /* reexport */ brand_service_namespaceObject; },
29770
29769
  CustomerIoService: function() { return /* reexport */ customerio_service; },
29771
29770
  DataModifierService: function() { return /* reexport */ data_modifier_service_namespaceObject; },
29772
29771
  DraggableService: function() { return /* reexport */ draggable_service; },
@@ -29836,14 +29835,6 @@ __webpack_require__.r(data_modifier_service_namespaceObject);
29836
29835
  __webpack_require__.d(data_modifier_service_namespaceObject, {
29837
29836
  alterUsersForProfileStrip: function() { return alterUsersForProfileStrip; } });
29838
29837
 
29839
- // NAMESPACE OBJECT: ./src/services/brand-service.ts
29840
- var brand_service_namespaceObject = {};
29841
- __webpack_require__.r(brand_service_namespaceObject);
29842
- __webpack_require__.d(brand_service_namespaceObject, {
29843
- isBrand: function() { return isBrand; },
29844
- resolveBrand: function() { return resolveBrand; },
29845
- setBrand: function() { return setBrand; } });
29846
-
29847
29838
 
29848
29839
  ;// CONCATENATED MODULE: ./src/services/draggable-service.ts
29849
29840
  /*
@@ -37223,12 +37214,12 @@ class HTTPBaseService {
37223
37214
  return Promise.reject(error.response || error);
37224
37215
  };
37225
37216
  async refreshToken() {
37226
- const refreshTokenPath = this.authService.getRefreshTokenPath();
37217
+ let refreshTokenPath = this.authService.getRefreshTokenPath();
37227
37218
  //if (!refreshTokenPath) throw new Error('refreshTokenPath is not configured')
37228
37219
  // Add this temporarily for breeze to work
37229
37220
  if (!refreshTokenPath) {
37230
37221
  setLocalStorageItem('refresh-token-path-not-found', true);
37231
- //refreshTokenPath = `${location.origin}/api/v2/auth/refresh-token-web`
37222
+ refreshTokenPath = `${location.origin}/api/v2/auth/refresh-token-web`;
37232
37223
  }
37233
37224
  const refreshTokenRequest = {
37234
37225
  refresh_token: this.tokenService.getRefreshToken(),
@@ -39834,62 +39825,6 @@ function traverse(value, depth = Infinity, seen) {
39834
39825
  }
39835
39826
  };
39836
39827
 
39837
- ;// CONCATENATED MODULE: ./src/services/brand-service.ts
39838
- const DEFAULT_BRAND = 'system';
39839
- // Must match design-tokens/raw/brand/<slug>.json (each builds ds/brand/<slug>.css).
39840
- const BRANDS = [
39841
- 'system',
39842
- 'accelerex',
39843
- 'access-pension',
39844
- 'arm',
39845
- 'asiko-energy',
39846
- 'brand-star',
39847
- 'chapel-hill-denham',
39848
- 'coronation',
39849
- 'custodian',
39850
- 'fmdq',
39851
- 'grant-thornton',
39852
- 'julius-berger',
39853
- 'providus',
39854
- 'sterling',
39855
- 'titan-trust',
39856
- 'vdl',
39857
- 'wema-bank',
39858
- 'zebet'
39859
- ];
39860
- // Full-hostname match: covers clients on their own domains, and subdomains that don't equal the slug.
39861
- // A client's branch hosts all map to the same brand.
39862
- const BRAND_HOSTS = {
39863
- 'globalaccelerex.seamlesshrms.com': 'accelerex',
39864
- 'gt.seamlesshrms.com': 'grant-thornton',
39865
- 'nairabet.seamlesshrms.com': 'brand-star',
39866
- 'asikoenergy.seamlesshrms.com': 'asiko-energy',
39867
- 'custodian.seamlesshrms.com': 'custodian',
39868
- 'access-armpensions.seamlesshrms.com': 'access-pension',
39869
- 'arm.seamlesshrms.com': 'arm',
39870
- 'jbnrecruitment.seamlesshiring.com': 'julius-berger',
39871
- 'hrms.providusbank.com': 'providus',
39872
- 'vdl.seamlesshrms.com': 'vdl',
39873
- 'coronation.seamlesshrms.com': 'coronation',
39874
- 'hchub.sterling.ng': 'sterling',
39875
- 'wemabank.seamlesshrms.com': 'wema-bank',
39876
- 'humancapital.chapelhilldenham.com': 'chapel-hill-denham',
39877
- // For internal testing
39878
- 'unstable-reco.seamlesshrms.com': 'wema-bank'
39879
- };
39880
- function isBrand(slug) {
39881
- return !!slug && BRANDS.includes(slug);
39882
- }
39883
- function resolveBrand(slug, hostname = globalThis.location?.hostname) {
39884
- if (isBrand(slug)) return slug;
39885
- return BRAND_HOSTS[hostname?.toLowerCase() ?? ''] ?? DEFAULT_BRAND;
39886
- }
39887
- function setBrand(slug) {
39888
- const brand = resolveBrand(slug);
39889
- document.documentElement.dataset.brand = brand;
39890
- return brand;
39891
- }
39892
-
39893
39828
  ;// CONCATENATED MODULE: ./src/services/event-bus.ts
39894
39829
  /*
39895
39830
  import {ShrEventBus} from '....'
@@ -72561,7 +72496,9 @@ MixpanelService.trackEvent = (nodeEnv, eventName, payload)=>{
72561
72496
  }
72562
72497
  // Customer.io campaigns use the same events. This does nothing unless
72563
72498
  // CustomerIoService.init() received a write key.
72564
- customerio_service.trackEvent(eventName, payload);
72499
+ if (nodeEnv === 'production') {
72500
+ customerio_service.trackEvent(eventName, payload);
72501
+ }
72565
72502
  return result;
72566
72503
  };
72567
72504
  /* export default */ var mixpanel_service = (MixpanelService);
@@ -72582,9 +72519,6 @@ MixpanelService.trackEvent = (nodeEnv, eventName, payload)=>{
72582
72519
 
72583
72520
 
72584
72521
 
72585
- // Runs synchronously from the <head> script tag, so data-brand is set before first paint.
72586
- setBrand();
72587
-
72588
72522
  /* export default */ var main_umd = ({});
72589
72523
 
72590
72524
  }();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shrfe/assets",
3
- "version": "1.0.70-staging.3",
3
+ "version": "1.0.71",
4
4
  "description": "The assets used in SeamlessHR products",
5
5
  "author": "SeamlessHR LTD <oludayo@seamlesshr.com>",
6
6
  "license": "ISC",