@shrfe/assets 1.0.72-staging.1 → 1.0.73
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.
- package/css/ds/component.css +176 -282
- package/css/ds/semantics/color/color.css +121 -377
- package/css/ds/semantics/shadow/shadow.css +25 -25
- package/css/ds/semantics/sizing/sizing.css +1 -150
- package/css/ds/semantics/typography/typography.css +29 -35
- package/css/sfe-styles.css +1 -2
- package/js/shrfe-core-umd.js +38 -82
- package/package.json +1 -1
- package/wc-lib/{p-3e4a8ef5.entry.js → p-2323d9ea.entry.js} +1 -1
- package/wc-lib/p-5b910af3.entry.js +1 -0
- package/wc-lib/{p-174301fb.entry.js → p-5f7b777d.entry.js} +1 -1
- package/wc-lib/{p-3e6d1904.js → p-6ae5a388.js} +1 -1
- package/wc-lib/wc-lib.esm.js +1 -1
- package/wc-lib/p-be8b915e.entry.js +0 -1
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
--sfe-shadow-small-offset-x: 0px;
|
|
3
|
-
--sfe-shadow-small-blur:
|
|
4
|
-
--sfe-shadow-small-spread:
|
|
5
|
-
--sfe-shadow-small-color:
|
|
6
|
-
--sfe-shadow-small-offset-y:
|
|
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:
|
|
9
|
-
--sfe-shadow-medium-spread:
|
|
10
|
-
--sfe-shadow-medium-color:
|
|
11
|
-
--sfe-shadow-medium-offset-y:
|
|
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:
|
|
14
|
-
--sfe-shadow-xxlarge-spread:
|
|
15
|
-
--sfe-shadow-xxlarge-color:
|
|
16
|
-
--sfe-shadow-xxlarge-offset-y:
|
|
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:
|
|
18
|
+
--sfe-shadow-inner-blur: 0px;
|
|
19
19
|
--sfe-shadow-inner-spread: 0px;
|
|
20
|
-
--sfe-shadow-inner-color:
|
|
21
|
-
--sfe-shadow-inner-offset-y:
|
|
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:
|
|
25
|
-
--sfe-shadow-focus-ring-color:
|
|
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:
|
|
29
|
-
--sfe-shadow-large-spread:
|
|
30
|
-
--sfe-shadow-large-color:
|
|
31
|
-
--sfe-shadow-large-offset-y:
|
|
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:
|
|
34
|
-
--sfe-shadow-xlarge-spread:
|
|
35
|
-
--sfe-shadow-xlarge-color:
|
|
36
|
-
--sfe-shadow-xlarge-offset-y:
|
|
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-
|
|
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:
|
|
11
|
-
--sfe-typography-font-size-body-default:
|
|
12
|
-
--sfe-typography-font-size-body-large:
|
|
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:
|
|
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:
|
|
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:
|
|
27
|
-
--sfe-typography-font-size-heading-large:
|
|
28
|
-
--sfe-typography-font-size-heading-xlarge:
|
|
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:
|
|
31
|
-
--sfe-typography-font-size-heading-medium:
|
|
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:
|
|
41
|
-
--sfe-typography-font-size-display-xxlarge:
|
|
42
|
-
--sfe-typography-font-size-display-xxxlarge:
|
|
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:
|
|
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:
|
|
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:
|
|
77
|
-
--sfe-typography-line-height-subtitle-xsmall:
|
|
78
|
-
--sfe-typography-line-height-subtitle-small:
|
|
79
|
-
--sfe-typography-line-height-subtitle-default:
|
|
80
|
-
--sfe-typography-line-height-subtitle-large:
|
|
81
|
-
--sfe-typography-line-height-subtitle-xlarge:
|
|
82
|
-
--sfe-typography-line-height-label-xsmall:
|
|
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:
|
|
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-
|
|
94
|
-
--sfe-typography-line-height-display-
|
|
95
|
-
--sfe-typography-line-height-display-
|
|
96
|
-
--sfe-typography-line-height-display-
|
|
97
|
-
--sfe-typography-line-height-display-
|
|
98
|
-
--sfe-typography-line-height-display-
|
|
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
|
}
|
package/css/sfe-styles.css
CHANGED
|
@@ -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
|
|
package/js/shrfe-core-umd.js
CHANGED
|
@@ -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
|
/*
|
|
@@ -36661,21 +36652,25 @@ const PROFILE_KEY_MAP = {
|
|
|
36661
36652
|
firstName: 'first_name',
|
|
36662
36653
|
lastName: 'last_name'
|
|
36663
36654
|
};
|
|
36664
|
-
//
|
|
36665
|
-
|
|
36655
|
+
// Renamed or ambiguous attributes: the stored key differs from the Customer.io name, or its leaf
|
|
36656
|
+
// ("id", "name") repeats across the tree, so each is pinned to an exact flattened key.
|
|
36657
|
+
const CUSTOMER_IO_ATTRIBUTE_SOURCES = {
|
|
36658
|
+
employee_phone: 'phone_number',
|
|
36659
|
+
employee_id: 'employee_id',
|
|
36660
|
+
employee_ums_user_id: 'breeze_user_id',
|
|
36661
|
+
jobrole_name: 'job_title',
|
|
36662
|
+
company_name: 'employer_name'
|
|
36663
|
+
};
|
|
36664
|
+
// Attributes a module stores under their own name; caught wherever they sit once flattened.
|
|
36665
|
+
const CUSTOMER_IO_ATTRIBUTES = [
|
|
36666
36666
|
'first_name',
|
|
36667
36667
|
'last_name',
|
|
36668
36668
|
'gender',
|
|
36669
36669
|
'email',
|
|
36670
|
-
'phone_number',
|
|
36671
|
-
'employer_name',
|
|
36672
36670
|
'employer_address',
|
|
36673
36671
|
'date_joined',
|
|
36674
36672
|
'time_in_company',
|
|
36675
|
-
'employee_id',
|
|
36676
|
-
'job_title',
|
|
36677
36673
|
'department',
|
|
36678
|
-
'breeze_user_id',
|
|
36679
36674
|
'channel',
|
|
36680
36675
|
'date_of_birth',
|
|
36681
36676
|
'location',
|
|
@@ -36687,7 +36682,7 @@ const CUSTOMER_IO_ATTRIBUTES = new Set([
|
|
|
36687
36682
|
'repayment_status',
|
|
36688
36683
|
'device',
|
|
36689
36684
|
'number_of_loans'
|
|
36690
|
-
]
|
|
36685
|
+
];
|
|
36691
36686
|
// Where the SDK persists the identified person (localStorage and cookies).
|
|
36692
36687
|
const STORED_IDENTITY_KEYS = [
|
|
36693
36688
|
'ajs_user_id',
|
|
@@ -36754,6 +36749,18 @@ const isEventAllowed = (eventName)=>{
|
|
|
36754
36749
|
return false;
|
|
36755
36750
|
}
|
|
36756
36751
|
};
|
|
36752
|
+
// The login payload nests attributes (employee.first_name, employee.company.name), so flatten to
|
|
36753
|
+
// parent_leaf keys the map can match. Only the immediate parent prefixes; later siblings win a clash.
|
|
36754
|
+
const flattenProfile = (source, containerKey = '', result = {})=>{
|
|
36755
|
+
Object.entries(source).forEach(([key, value])=>{
|
|
36756
|
+
if (value && typeof value === 'object' && !Array.isArray(value)) {
|
|
36757
|
+
flattenProfile(value, key, result);
|
|
36758
|
+
} else {
|
|
36759
|
+
result[containerKey ? `${containerKey}_${key}` : key] = value;
|
|
36760
|
+
}
|
|
36761
|
+
});
|
|
36762
|
+
return result;
|
|
36763
|
+
};
|
|
36757
36764
|
const toProfileTraits = (profile = {})=>{
|
|
36758
36765
|
const traits = {};
|
|
36759
36766
|
Object.entries(profile).forEach(([key, value])=>{
|
|
@@ -36804,12 +36811,20 @@ const CustomerIoService = {
|
|
|
36804
36811
|
isInitialized () {
|
|
36805
36812
|
return analytics !== null;
|
|
36806
36813
|
},
|
|
36807
|
-
identify (
|
|
36808
|
-
|
|
36814
|
+
identify (profile) {
|
|
36815
|
+
const flattened = flattenProfile(profile ?? {});
|
|
36809
36816
|
const attributeProfile = {};
|
|
36810
|
-
|
|
36811
|
-
if (
|
|
36817
|
+
Object.entries(CUSTOMER_IO_ATTRIBUTE_SOURCES).forEach(([flatKey, attribute])=>{
|
|
36818
|
+
if (flatKey in flattened) attributeProfile[attribute] = flattened[flatKey];
|
|
36819
|
+
});
|
|
36820
|
+
CUSTOMER_IO_ATTRIBUTES.forEach((attribute)=>{
|
|
36821
|
+
if (attribute in attributeProfile) return;
|
|
36822
|
+
const match = Object.keys(flattened).find((key)=>key === attribute || key.endsWith(`_${attribute}`));
|
|
36823
|
+
if (match) attributeProfile[attribute] = flattened[match];
|
|
36812
36824
|
});
|
|
36825
|
+
// Customer.io's second identifier (breeze_user_id) is the ums_user_id; it is the person's id.
|
|
36826
|
+
const userId = attributeProfile.breeze_user_id;
|
|
36827
|
+
if (userId === undefined || userId === null || userId === '') return;
|
|
36813
36828
|
const traits = toProfileTraits(attributeProfile);
|
|
36814
36829
|
log('identify', userId, traits);
|
|
36815
36830
|
safely((client)=>client.identify(String(userId), traits));
|
|
@@ -37254,12 +37269,12 @@ class HTTPBaseService {
|
|
|
37254
37269
|
return Promise.reject(error.response || error);
|
|
37255
37270
|
};
|
|
37256
37271
|
async refreshToken() {
|
|
37257
|
-
|
|
37272
|
+
let refreshTokenPath = this.authService.getRefreshTokenPath();
|
|
37258
37273
|
//if (!refreshTokenPath) throw new Error('refreshTokenPath is not configured')
|
|
37259
37274
|
// Add this temporarily for breeze to work
|
|
37260
37275
|
if (!refreshTokenPath) {
|
|
37261
37276
|
setLocalStorageItem('refresh-token-path-not-found', true);
|
|
37262
|
-
|
|
37277
|
+
refreshTokenPath = `${location.origin}/api/v2/auth/refresh-token-web`;
|
|
37263
37278
|
}
|
|
37264
37279
|
const refreshTokenRequest = {
|
|
37265
37280
|
refresh_token: this.tokenService.getRefreshToken(),
|
|
@@ -39865,62 +39880,6 @@ function traverse(value, depth = Infinity, seen) {
|
|
|
39865
39880
|
}
|
|
39866
39881
|
};
|
|
39867
39882
|
|
|
39868
|
-
;// CONCATENATED MODULE: ./src/services/brand-service.ts
|
|
39869
|
-
const DEFAULT_BRAND = 'system';
|
|
39870
|
-
// Must match design-tokens/raw/brand/<slug>.json (each builds ds/brand/<slug>.css).
|
|
39871
|
-
const BRANDS = [
|
|
39872
|
-
'system',
|
|
39873
|
-
'accelerex',
|
|
39874
|
-
'access-pension',
|
|
39875
|
-
'arm',
|
|
39876
|
-
'asiko-energy',
|
|
39877
|
-
'brand-star',
|
|
39878
|
-
'chapel-hill-denham',
|
|
39879
|
-
'coronation',
|
|
39880
|
-
'custodian',
|
|
39881
|
-
'fmdq',
|
|
39882
|
-
'grant-thornton',
|
|
39883
|
-
'julius-berger',
|
|
39884
|
-
'providus',
|
|
39885
|
-
'sterling',
|
|
39886
|
-
'titan-trust',
|
|
39887
|
-
'vdl',
|
|
39888
|
-
'wema-bank',
|
|
39889
|
-
'zebet'
|
|
39890
|
-
];
|
|
39891
|
-
// Full-hostname match: covers clients on their own domains, and subdomains that don't equal the slug.
|
|
39892
|
-
// A client's branch hosts all map to the same brand.
|
|
39893
|
-
const BRAND_HOSTS = {
|
|
39894
|
-
'globalaccelerex.seamlesshrms.com': 'accelerex',
|
|
39895
|
-
'gt.seamlesshrms.com': 'grant-thornton',
|
|
39896
|
-
'nairabet.seamlesshrms.com': 'brand-star',
|
|
39897
|
-
'asikoenergy.seamlesshrms.com': 'asiko-energy',
|
|
39898
|
-
'custodian.seamlesshrms.com': 'custodian',
|
|
39899
|
-
'access-armpensions.seamlesshrms.com': 'access-pension',
|
|
39900
|
-
'arm.seamlesshrms.com': 'arm',
|
|
39901
|
-
'jbnrecruitment.seamlesshiring.com': 'julius-berger',
|
|
39902
|
-
'hrms.providusbank.com': 'providus',
|
|
39903
|
-
'vdl.seamlesshrms.com': 'vdl',
|
|
39904
|
-
'coronation.seamlesshrms.com': 'coronation',
|
|
39905
|
-
'hchub.sterling.ng': 'sterling',
|
|
39906
|
-
'wemabank.seamlesshrms.com': 'wema-bank',
|
|
39907
|
-
'humancapital.chapelhilldenham.com': 'chapel-hill-denham',
|
|
39908
|
-
// For internal testing
|
|
39909
|
-
'unstable-reco.seamlesshrms.com': 'wema-bank'
|
|
39910
|
-
};
|
|
39911
|
-
function isBrand(slug) {
|
|
39912
|
-
return !!slug && BRANDS.includes(slug);
|
|
39913
|
-
}
|
|
39914
|
-
function resolveBrand(slug, hostname = globalThis.location?.hostname) {
|
|
39915
|
-
if (isBrand(slug)) return slug;
|
|
39916
|
-
return BRAND_HOSTS[hostname?.toLowerCase() ?? ''] ?? DEFAULT_BRAND;
|
|
39917
|
-
}
|
|
39918
|
-
function setBrand(slug) {
|
|
39919
|
-
const brand = resolveBrand(slug);
|
|
39920
|
-
document.documentElement.dataset.brand = brand;
|
|
39921
|
-
return brand;
|
|
39922
|
-
}
|
|
39923
|
-
|
|
39924
39883
|
;// CONCATENATED MODULE: ./src/services/event-bus.ts
|
|
39925
39884
|
/*
|
|
39926
39885
|
import {ShrEventBus} from '....'
|
|
@@ -72615,9 +72574,6 @@ MixpanelService.trackEvent = (nodeEnv, eventName, payload)=>{
|
|
|
72615
72574
|
|
|
72616
72575
|
|
|
72617
72576
|
|
|
72618
|
-
// Runs synchronously from the <head> script tag, so data-brand is set before first paint.
|
|
72619
|
-
setBrand();
|
|
72620
|
-
|
|
72621
72577
|
/* export default */ var main_umd = ({});
|
|
72622
72578
|
|
|
72623
72579
|
}();
|