@shrfe/assets 1.0.65 → 1.0.66
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/brand/accelerex.css +27 -0
- package/css/ds/brand/access-pension.css +27 -0
- package/css/ds/brand/arm.css +27 -0
- package/css/ds/brand/asiko-energy.css +27 -0
- package/css/ds/brand/brand-star.css +27 -0
- package/css/ds/brand/chapel-hill-denham.css +27 -0
- package/css/ds/brand/coronation.css +27 -0
- package/css/ds/brand/custodian.css +27 -0
- package/css/ds/brand/fmdq.css +27 -0
- package/css/ds/brand/grant-thornton.css +27 -0
- package/css/ds/brand/julius-berger.css +27 -0
- package/css/ds/brand/providus.css +27 -0
- package/css/ds/brand/sterling.css +27 -0
- package/css/ds/brand/system.css +27 -0
- package/css/ds/brand/titan-trust.css +27 -0
- package/css/ds/brand/vdl.css +27 -0
- package/css/ds/brand/wema-bank.css +27 -0
- package/css/ds/brand/zebet.css +27 -0
- package/css/ds/brands.css +18 -0
- package/css/ds/component.css +299 -254
- package/css/ds/semantics/color/color.css +353 -120
- package/css/ds/semantics/shadow/shadow.css +35 -35
- package/css/ds/semantics/sizing/sizing.css +92 -48
- package/css/ds/semantics/typography/typography.css +86 -85
- package/css/sfe-styles.css +1 -0
- package/js/shrfe-core-umd.js +67 -1
- package/package.json +1 -1
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--sfe-shadow-small-offset-x:
|
|
3
|
-
--sfe-shadow-small-blur:
|
|
4
|
-
--sfe-shadow-small-spread:
|
|
5
|
-
--sfe-shadow-small-color:
|
|
6
|
-
--sfe-shadow-small-offset-y:
|
|
7
|
-
--sfe-shadow-medium-offset-x:
|
|
8
|
-
--sfe-shadow-medium-blur:
|
|
9
|
-
--sfe-shadow-medium-spread:
|
|
10
|
-
--sfe-shadow-medium-color:
|
|
11
|
-
--sfe-shadow-medium-offset-y:
|
|
12
|
-
--sfe-shadow-xxlarge-offset-x:
|
|
13
|
-
--sfe-shadow-xxlarge-blur:
|
|
14
|
-
--sfe-shadow-xxlarge-spread:
|
|
15
|
-
--sfe-shadow-xxlarge-color:
|
|
16
|
-
--sfe-shadow-xxlarge-offset-y:
|
|
17
|
-
--sfe-shadow-inner-offset-x:
|
|
18
|
-
--sfe-shadow-inner-blur:
|
|
19
|
-
--sfe-shadow-inner-spread:
|
|
20
|
-
--sfe-shadow-inner-color:
|
|
21
|
-
--sfe-shadow-inner-offset-y:
|
|
22
|
-
--sfe-shadow-focus-ring-offset-x:
|
|
23
|
-
--sfe-shadow-focus-ring-blur:
|
|
24
|
-
--sfe-shadow-focus-ring-spread:
|
|
25
|
-
--sfe-shadow-focus-ring-color:
|
|
26
|
-
--sfe-shadow-focus-ring-offset-y:
|
|
27
|
-
--sfe-shadow-large-offset-x:
|
|
28
|
-
--sfe-shadow-large-blur:
|
|
29
|
-
--sfe-shadow-large-spread:
|
|
30
|
-
--sfe-shadow-large-color:
|
|
31
|
-
--sfe-shadow-large-offset-y:
|
|
32
|
-
--sfe-shadow-xlarge-offset-x:
|
|
33
|
-
--sfe-shadow-xlarge-blur:
|
|
34
|
-
--sfe-shadow-xlarge-spread:
|
|
35
|
-
--sfe-shadow-xlarge-color:
|
|
36
|
-
--sfe-shadow-xlarge-offset-y:
|
|
2
|
+
--sfe-shadow-small-offset-x: 0;
|
|
3
|
+
--sfe-shadow-small-blur: 3;
|
|
4
|
+
--sfe-shadow-small-spread: -1;
|
|
5
|
+
--sfe-shadow-small-color: #0000000f;
|
|
6
|
+
--sfe-shadow-small-offset-y: 1;
|
|
7
|
+
--sfe-shadow-medium-offset-x: 0;
|
|
8
|
+
--sfe-shadow-medium-blur: 10;
|
|
9
|
+
--sfe-shadow-medium-spread: -3;
|
|
10
|
+
--sfe-shadow-medium-color: #0000001a;
|
|
11
|
+
--sfe-shadow-medium-offset-y: 4;
|
|
12
|
+
--sfe-shadow-xxlarge-offset-x: 0;
|
|
13
|
+
--sfe-shadow-xxlarge-blur: 52;
|
|
14
|
+
--sfe-shadow-xxlarge-spread: -12;
|
|
15
|
+
--sfe-shadow-xxlarge-color: #0000002e;
|
|
16
|
+
--sfe-shadow-xxlarge-offset-y: 24;
|
|
17
|
+
--sfe-shadow-inner-offset-x: 0;
|
|
18
|
+
--sfe-shadow-inner-blur: 3;
|
|
19
|
+
--sfe-shadow-inner-spread: 0;
|
|
20
|
+
--sfe-shadow-inner-color: #00000014;
|
|
21
|
+
--sfe-shadow-inner-offset-y: 1;
|
|
22
|
+
--sfe-shadow-focus-ring-offset-x: 0;
|
|
23
|
+
--sfe-shadow-focus-ring-blur: 0;
|
|
24
|
+
--sfe-shadow-focus-ring-spread: 3;
|
|
25
|
+
--sfe-shadow-focus-ring-color: #9747ff;
|
|
26
|
+
--sfe-shadow-focus-ring-offset-y: 0;
|
|
27
|
+
--sfe-shadow-large-offset-x: 0;
|
|
28
|
+
--sfe-shadow-large-blur: 20;
|
|
29
|
+
--sfe-shadow-large-spread: -5;
|
|
30
|
+
--sfe-shadow-large-color: #0000001f;
|
|
31
|
+
--sfe-shadow-large-offset-y: 8;
|
|
32
|
+
--sfe-shadow-xlarge-offset-x: 0;
|
|
33
|
+
--sfe-shadow-xlarge-blur: 32;
|
|
34
|
+
--sfe-shadow-xlarge-spread: -8;
|
|
35
|
+
--sfe-shadow-xlarge-color: #00000024;
|
|
36
|
+
--sfe-shadow-xlarge-offset-y: 14;
|
|
37
37
|
}
|
|
@@ -1,50 +1,94 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--sfe-sizing-gap-
|
|
3
|
-
--sfe-sizing-gap-
|
|
4
|
-
--sfe-sizing-gap-
|
|
5
|
-
--sfe-sizing-gap-
|
|
6
|
-
--sfe-sizing-gap-
|
|
7
|
-
--sfe-sizing-gap-
|
|
8
|
-
--sfe-sizing-gap-
|
|
9
|
-
--sfe-sizing-gap-
|
|
10
|
-
--sfe-sizing-
|
|
11
|
-
--sfe-sizing-
|
|
12
|
-
--sfe-sizing-
|
|
13
|
-
--sfe-sizing-
|
|
14
|
-
--sfe-sizing-
|
|
15
|
-
--sfe-sizing-
|
|
16
|
-
--sfe-sizing-
|
|
17
|
-
--sfe-sizing-
|
|
18
|
-
--sfe-sizing-
|
|
19
|
-
--sfe-sizing-
|
|
20
|
-
--sfe-sizing-
|
|
21
|
-
--sfe-sizing-
|
|
22
|
-
--sfe-sizing-
|
|
23
|
-
--sfe-sizing-
|
|
24
|
-
--sfe-sizing-
|
|
25
|
-
--sfe-sizing-
|
|
26
|
-
--sfe-sizing-
|
|
27
|
-
--sfe-sizing-
|
|
28
|
-
--sfe-sizing-
|
|
29
|
-
--sfe-sizing-
|
|
30
|
-
--sfe-sizing-
|
|
31
|
-
--sfe-sizing-
|
|
32
|
-
--sfe-sizing-
|
|
33
|
-
--sfe-sizing-
|
|
34
|
-
--sfe-sizing-
|
|
35
|
-
--sfe-sizing-
|
|
36
|
-
--sfe-sizing-
|
|
37
|
-
--sfe-sizing-
|
|
38
|
-
--sfe-sizing-
|
|
39
|
-
--sfe-sizing-
|
|
40
|
-
--sfe-sizing-
|
|
41
|
-
--sfe-sizing-
|
|
42
|
-
--sfe-sizing-size-
|
|
43
|
-
--sfe-sizing-size-
|
|
44
|
-
--sfe-sizing-size-
|
|
45
|
-
--sfe-sizing-size-
|
|
46
|
-
--sfe-sizing-size-
|
|
47
|
-
--sfe-sizing-size-
|
|
48
|
-
--sfe-sizing-size-
|
|
49
|
-
--sfe-sizing-size-
|
|
2
|
+
--sfe-sizing-gap-32: 32;
|
|
3
|
+
--sfe-sizing-gap-40: 40;
|
|
4
|
+
--sfe-sizing-gap-48: 48;
|
|
5
|
+
--sfe-sizing-gap-56: 56;
|
|
6
|
+
--sfe-sizing-gap-64: 64;
|
|
7
|
+
--sfe-sizing-gap-72: 72;
|
|
8
|
+
--sfe-sizing-gap-80: 80;
|
|
9
|
+
--sfe-sizing-gap-100: 100;
|
|
10
|
+
--sfe-sizing-gap-120: 120;
|
|
11
|
+
--sfe-sizing-gap-null: 0;
|
|
12
|
+
--sfe-sizing-gap-xxsmall: 2;
|
|
13
|
+
--sfe-sizing-gap-xsmall: 4;
|
|
14
|
+
--sfe-sizing-gap-small: 8;
|
|
15
|
+
--sfe-sizing-gap-large: 16;
|
|
16
|
+
--sfe-sizing-gap-mid: 12;
|
|
17
|
+
--sfe-sizing-gap-xxlarge: 24;
|
|
18
|
+
--sfe-sizing-gap-xlarge: 20;
|
|
19
|
+
--sfe-sizing-border-150: 1.5;
|
|
20
|
+
--sfe-sizing-border-200: 2;
|
|
21
|
+
--sfe-sizing-border-250: 2.5;
|
|
22
|
+
--sfe-sizing-border-400: 4;
|
|
23
|
+
--sfe-sizing-border-null: 0;
|
|
24
|
+
--sfe-sizing-border-thin: 0.5;
|
|
25
|
+
--sfe-sizing-border-default: 1;
|
|
26
|
+
--sfe-sizing-radius-null: 0;
|
|
27
|
+
--sfe-sizing-radius-xsmall: 2;
|
|
28
|
+
--sfe-sizing-radius-small: 4;
|
|
29
|
+
--sfe-sizing-radius-default: 8;
|
|
30
|
+
--sfe-sizing-radius-large: 12;
|
|
31
|
+
--sfe-sizing-radius-xlarge: 16;
|
|
32
|
+
--sfe-sizing-radius-round: 99999;
|
|
33
|
+
--sfe-sizing-padding-null: 0;
|
|
34
|
+
--sfe-sizing-padding-xxsmall: 2;
|
|
35
|
+
--sfe-sizing-padding-xsmall: 4;
|
|
36
|
+
--sfe-sizing-padding-small: 8;
|
|
37
|
+
--sfe-sizing-padding-mid: 12;
|
|
38
|
+
--sfe-sizing-padding-default: 16;
|
|
39
|
+
--sfe-sizing-padding-large: 24;
|
|
40
|
+
--sfe-sizing-padding-xlarge: 32;
|
|
41
|
+
--sfe-sizing-padding-xxlarge: 40;
|
|
42
|
+
--sfe-sizing-size-2: 2;
|
|
43
|
+
--sfe-sizing-size-4: 4;
|
|
44
|
+
--sfe-sizing-size-8: 8;
|
|
45
|
+
--sfe-sizing-size-12: 12;
|
|
46
|
+
--sfe-sizing-size-16: 16;
|
|
47
|
+
--sfe-sizing-size-20: 20;
|
|
48
|
+
--sfe-sizing-size-24: 24;
|
|
49
|
+
--sfe-sizing-size-28: 28;
|
|
50
|
+
--sfe-sizing-size-32: 32;
|
|
51
|
+
--sfe-sizing-size-36: 36;
|
|
52
|
+
--sfe-sizing-size-40: 40;
|
|
53
|
+
--sfe-sizing-size-44: 44;
|
|
54
|
+
--sfe-sizing-size-48: 48;
|
|
55
|
+
--sfe-sizing-size-56: 56;
|
|
56
|
+
--sfe-sizing-size-64: 64;
|
|
57
|
+
--sfe-sizing-size-72: 72;
|
|
58
|
+
--sfe-sizing-size-120: 120;
|
|
59
|
+
--sfe-sizing-size-160: 16;
|
|
60
|
+
--sfe-sizing-size-200: 20;
|
|
61
|
+
--sfe-sizing-size-240: 24;
|
|
62
|
+
--sfe-sizing-size-280: 28;
|
|
63
|
+
--sfe-sizing-size-320: 32;
|
|
64
|
+
--sfe-sizing-size-360: 36;
|
|
65
|
+
--sfe-sizing-size-400: 40;
|
|
66
|
+
--sfe-sizing-size-440: 44;
|
|
67
|
+
--sfe-sizing-size-480: 48;
|
|
68
|
+
--sfe-sizing-size-560: 56;
|
|
69
|
+
--sfe-sizing-size-640: 64;
|
|
70
|
+
--sfe-sizing-size-720: 72;
|
|
71
|
+
--sfe-sizing-size-1200: 120;
|
|
72
|
+
--sfe-sizing-size-null: 0;
|
|
73
|
+
--sfe-sizing-size-020: 2;
|
|
74
|
+
--sfe-sizing-size-040: 4;
|
|
75
|
+
--sfe-sizing-size-080: 8;
|
|
76
|
+
--sfe-sizing-padding-x-null: 0;
|
|
77
|
+
--sfe-sizing-padding-x-xxsmall: 2;
|
|
78
|
+
--sfe-sizing-padding-x-xsmall: 4;
|
|
79
|
+
--sfe-sizing-padding-x-small: 8;
|
|
80
|
+
--sfe-sizing-padding-x-mid: 12;
|
|
81
|
+
--sfe-sizing-padding-x-default: 16;
|
|
82
|
+
--sfe-sizing-padding-x-large: 24;
|
|
83
|
+
--sfe-sizing-padding-x-xlarge: 32;
|
|
84
|
+
--sfe-sizing-padding-x-xxlarge: 40;
|
|
85
|
+
--sfe-sizing-padding-y-null: 0;
|
|
86
|
+
--sfe-sizing-padding-y-xxsmall: 2;
|
|
87
|
+
--sfe-sizing-padding-y-xsmall: 4;
|
|
88
|
+
--sfe-sizing-padding-y-small: 8;
|
|
89
|
+
--sfe-sizing-padding-y-mid: 12;
|
|
90
|
+
--sfe-sizing-padding-y-default: 16;
|
|
91
|
+
--sfe-sizing-padding-y-large: 24;
|
|
92
|
+
--sfe-sizing-padding-y-xlarge: 32;
|
|
93
|
+
--sfe-sizing-padding-y-xxlarge: 40;
|
|
50
94
|
}
|
|
@@ -7,89 +7,90 @@
|
|
|
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:
|
|
13
|
-
--sfe-typography-font-size-body-xlarge:
|
|
14
|
-
--sfe-typography-font-size-body-xsmall:
|
|
15
|
-
--sfe-typography-font-size-subtitle-xsmall:
|
|
16
|
-
--sfe-typography-font-size-subtitle-small:
|
|
17
|
-
--sfe-typography-font-size-subtitle-default:
|
|
18
|
-
--sfe-typography-font-size-subtitle-large:
|
|
19
|
-
--sfe-typography-font-size-subtitle-xlarge:
|
|
20
|
-
--sfe-typography-font-size-label-xsmall:
|
|
21
|
-
--sfe-typography-font-size-label-small:
|
|
22
|
-
--sfe-typography-font-size-label-default:
|
|
23
|
-
--sfe-typography-font-size-label-large:
|
|
24
|
-
--sfe-typography-font-size-label-xlarge:
|
|
25
|
-
--sfe-typography-font-size-heading-small:
|
|
26
|
-
--sfe-typography-font-size-heading-large:
|
|
27
|
-
--sfe-typography-font-size-heading-xlarge:
|
|
28
|
-
--sfe-typography-font-size-heading-xxlarge:
|
|
29
|
-
--sfe-typography-font-size-heading-xxxlarge:
|
|
30
|
-
--sfe-typography-font-size-heading-medium:
|
|
31
|
-
--sfe-typography-font-size-caption-xsmall:
|
|
32
|
-
--sfe-typography-font-size-caption-default:
|
|
33
|
-
--sfe-typography-font-size-caption-large:
|
|
34
|
-
--sfe-typography-font-size-caption-xlarge:
|
|
35
|
-
--sfe-typography-font-size-caption-xxlarge:
|
|
36
|
-
--sfe-typography-font-size-display-small:
|
|
37
|
-
--sfe-typography-font-size-display-medium:
|
|
38
|
-
--sfe-typography-font-size-display-large:
|
|
39
|
-
--sfe-typography-font-size-display-xlarge:
|
|
40
|
-
--sfe-typography-font-size-display-xxlarge:
|
|
41
|
-
--sfe-typography-font-size-display-xxxlarge:
|
|
42
|
-
--sfe-typography-space-letter-10:
|
|
43
|
-
--sfe-typography-space-letter-15: 1.
|
|
44
|
-
--sfe-typography-space-letter-20:
|
|
45
|
-
--sfe-typography-space-letter-25: 2.
|
|
46
|
-
--sfe-typography-space-letter-30:
|
|
47
|
-
--sfe-typography-space-letter-35: 3.
|
|
48
|
-
--sfe-typography-space-letter-40:
|
|
49
|
-
--sfe-typography-space-letter-null:
|
|
50
|
-
--sfe-typography-space-letter-05: 0.
|
|
51
|
-
--sfe-typography-space-list-null:
|
|
52
|
-
--sfe-typography-space-list-small:
|
|
53
|
-
--sfe-typography-space-list-medium:
|
|
54
|
-
--sfe-typography-space-paragraph-10:
|
|
55
|
-
--sfe-typography-space-paragraph-15: 1.
|
|
56
|
-
--sfe-typography-space-paragraph-20:
|
|
57
|
-
--sfe-typography-space-paragraph-25: 2.
|
|
58
|
-
--sfe-typography-space-paragraph-30:
|
|
59
|
-
--sfe-typography-space-paragraph-35: 3.
|
|
60
|
-
--sfe-typography-space-paragraph-40:
|
|
61
|
-
--sfe-typography-space-paragraph-null:
|
|
62
|
-
--sfe-typography-space-paragraph-05: 0.
|
|
63
|
-
--sfe-typography-line-height-heading-small:
|
|
64
|
-
--sfe-typography-line-height-heading-medium:
|
|
65
|
-
--sfe-typography-line-height-heading-large:
|
|
66
|
-
--sfe-typography-line-height-heading-xlarge:
|
|
67
|
-
--sfe-typography-line-height-heading-xxlarge:
|
|
68
|
-
--sfe-typography-line-height-heading-xxxlarge:
|
|
69
|
-
--sfe-typography-line-height-body-xsmall:
|
|
70
|
-
--sfe-typography-line-height-body-small:
|
|
71
|
-
--sfe-typography-line-height-body-default:
|
|
72
|
-
--sfe-typography-line-height-body-large:
|
|
73
|
-
--sfe-typography-line-height-body-xlarge:
|
|
74
|
-
--sfe-typography-line-height-subtitle-xsmall:
|
|
75
|
-
--sfe-typography-line-height-subtitle-small:
|
|
76
|
-
--sfe-typography-line-height-subtitle-default:
|
|
77
|
-
--sfe-typography-line-height-subtitle-large:
|
|
78
|
-
--sfe-typography-line-height-subtitle-xlarge:
|
|
79
|
-
--sfe-typography-line-height-label-xsmall:
|
|
80
|
-
--sfe-typography-line-height-label-small:
|
|
81
|
-
--sfe-typography-line-height-label-default:
|
|
82
|
-
--sfe-typography-line-height-label-large:
|
|
83
|
-
--sfe-typography-line-height-label-xlarge:
|
|
84
|
-
--sfe-typography-line-height-caption-xsmall:
|
|
85
|
-
--sfe-typography-line-height-caption-small:
|
|
86
|
-
--sfe-typography-line-height-caption-default:
|
|
87
|
-
--sfe-typography-line-height-caption-large:
|
|
88
|
-
--sfe-typography-line-height-caption-xlarge:
|
|
89
|
-
--sfe-typography-line-height-
|
|
90
|
-
--sfe-typography-line-height-display-
|
|
91
|
-
--sfe-typography-line-height-display-
|
|
92
|
-
--sfe-typography-line-height-display-
|
|
93
|
-
--sfe-typography-line-height-display-
|
|
94
|
-
--sfe-typography-line-height-display-
|
|
10
|
+
--sfe-typography-font-size-body-small: 14;
|
|
11
|
+
--sfe-typography-font-size-body-default: 16;
|
|
12
|
+
--sfe-typography-font-size-body-large: 18;
|
|
13
|
+
--sfe-typography-font-size-body-xlarge: 20;
|
|
14
|
+
--sfe-typography-font-size-body-xsmall: 12;
|
|
15
|
+
--sfe-typography-font-size-subtitle-xsmall: 14;
|
|
16
|
+
--sfe-typography-font-size-subtitle-small: 16;
|
|
17
|
+
--sfe-typography-font-size-subtitle-default: 20;
|
|
18
|
+
--sfe-typography-font-size-subtitle-large: 24;
|
|
19
|
+
--sfe-typography-font-size-subtitle-xlarge: 32;
|
|
20
|
+
--sfe-typography-font-size-label-xsmall: 11;
|
|
21
|
+
--sfe-typography-font-size-label-small: 12;
|
|
22
|
+
--sfe-typography-font-size-label-default: 14;
|
|
23
|
+
--sfe-typography-font-size-label-large: 16;
|
|
24
|
+
--sfe-typography-font-size-label-xlarge: 18;
|
|
25
|
+
--sfe-typography-font-size-heading-small: 18;
|
|
26
|
+
--sfe-typography-font-size-heading-large: 32;
|
|
27
|
+
--sfe-typography-font-size-heading-xlarge: 40;
|
|
28
|
+
--sfe-typography-font-size-heading-xxlarge: 48;
|
|
29
|
+
--sfe-typography-font-size-heading-xxxlarge: 56;
|
|
30
|
+
--sfe-typography-font-size-heading-medium: 24;
|
|
31
|
+
--sfe-typography-font-size-caption-xsmall: 10;
|
|
32
|
+
--sfe-typography-font-size-caption-default: 12;
|
|
33
|
+
--sfe-typography-font-size-caption-large: 14;
|
|
34
|
+
--sfe-typography-font-size-caption-xlarge: 16;
|
|
35
|
+
--sfe-typography-font-size-caption-xxlarge: 18;
|
|
36
|
+
--sfe-typography-font-size-display-small: 72;
|
|
37
|
+
--sfe-typography-font-size-display-medium: 80;
|
|
38
|
+
--sfe-typography-font-size-display-large: 88;
|
|
39
|
+
--sfe-typography-font-size-display-xlarge: 96;
|
|
40
|
+
--sfe-typography-font-size-display-xxlarge: 104;
|
|
41
|
+
--sfe-typography-font-size-display-xxxlarge: 112;
|
|
42
|
+
--sfe-typography-space-letter-10: 1;
|
|
43
|
+
--sfe-typography-space-letter-15: 1.5;
|
|
44
|
+
--sfe-typography-space-letter-20: 2;
|
|
45
|
+
--sfe-typography-space-letter-25: 2.5;
|
|
46
|
+
--sfe-typography-space-letter-30: 3;
|
|
47
|
+
--sfe-typography-space-letter-35: 3.5;
|
|
48
|
+
--sfe-typography-space-letter-40: 4;
|
|
49
|
+
--sfe-typography-space-letter-null: 0;
|
|
50
|
+
--sfe-typography-space-letter-05: 0.5;
|
|
51
|
+
--sfe-typography-space-list-null: 0;
|
|
52
|
+
--sfe-typography-space-list-small: 4;
|
|
53
|
+
--sfe-typography-space-list-medium: 8;
|
|
54
|
+
--sfe-typography-space-paragraph-10: 1;
|
|
55
|
+
--sfe-typography-space-paragraph-15: 1.5;
|
|
56
|
+
--sfe-typography-space-paragraph-20: 2;
|
|
57
|
+
--sfe-typography-space-paragraph-25: 2.5;
|
|
58
|
+
--sfe-typography-space-paragraph-30: 3;
|
|
59
|
+
--sfe-typography-space-paragraph-35: 3.5;
|
|
60
|
+
--sfe-typography-space-paragraph-40: 4;
|
|
61
|
+
--sfe-typography-space-paragraph-null: 0;
|
|
62
|
+
--sfe-typography-space-paragraph-05: 0.5;
|
|
63
|
+
--sfe-typography-line-height-heading-small: 24;
|
|
64
|
+
--sfe-typography-line-height-heading-medium: 32;
|
|
65
|
+
--sfe-typography-line-height-heading-large: 40;
|
|
66
|
+
--sfe-typography-line-height-heading-xlarge: 48;
|
|
67
|
+
--sfe-typography-line-height-heading-xxlarge: 56;
|
|
68
|
+
--sfe-typography-line-height-heading-xxxlarge: 64;
|
|
69
|
+
--sfe-typography-line-height-body-xsmall: 16;
|
|
70
|
+
--sfe-typography-line-height-body-small: 20;
|
|
71
|
+
--sfe-typography-line-height-body-default: 24;
|
|
72
|
+
--sfe-typography-line-height-body-large: 24;
|
|
73
|
+
--sfe-typography-line-height-body-xlarge: 28;
|
|
74
|
+
--sfe-typography-line-height-subtitle-xsmall: 20;
|
|
75
|
+
--sfe-typography-line-height-subtitle-small: 24;
|
|
76
|
+
--sfe-typography-line-height-subtitle-default: 28;
|
|
77
|
+
--sfe-typography-line-height-subtitle-large: 32;
|
|
78
|
+
--sfe-typography-line-height-subtitle-xlarge: 40;
|
|
79
|
+
--sfe-typography-line-height-label-xsmall: 16;
|
|
80
|
+
--sfe-typography-line-height-label-small: 16;
|
|
81
|
+
--sfe-typography-line-height-label-default: 20;
|
|
82
|
+
--sfe-typography-line-height-label-large: 24;
|
|
83
|
+
--sfe-typography-line-height-label-xlarge: 24;
|
|
84
|
+
--sfe-typography-line-height-caption-xsmall: 12;
|
|
85
|
+
--sfe-typography-line-height-caption-small: 16;
|
|
86
|
+
--sfe-typography-line-height-caption-default: 16;
|
|
87
|
+
--sfe-typography-line-height-caption-large: 20;
|
|
88
|
+
--sfe-typography-line-height-caption-xlarge: 20;
|
|
89
|
+
--sfe-typography-line-height-caption-xxlarge: 24;
|
|
90
|
+
--sfe-typography-line-height-display-small: 80;
|
|
91
|
+
--sfe-typography-line-height-display-medium: 88;
|
|
92
|
+
--sfe-typography-line-height-display-large: 96;
|
|
93
|
+
--sfe-typography-line-height-display-xlarge: 104;
|
|
94
|
+
--sfe-typography-line-height-display-xxlarge: 112;
|
|
95
|
+
--sfe-typography-line-height-display-xxxlarge: 120;
|
|
95
96
|
}
|
package/css/sfe-styles.css
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
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';
|
|
12
13
|
:root {
|
|
13
14
|
--fallback-font:
|
|
14
15
|
-apple-system, blinkmacsystemfont, "SF Pro Display", "SF Pro Text", "Segoe UI Variable Text",
|
package/js/shrfe-core-umd.js
CHANGED
|
@@ -18613,6 +18613,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18613
18613
|
// EXPORTS
|
|
18614
18614
|
__webpack_require__.d(__webpack_exports__, {
|
|
18615
18615
|
AlertService: function() { return /* reexport */ alert_service_namespaceObject; },
|
|
18616
|
+
BrandService: function() { return /* reexport */ brand_service_namespaceObject; },
|
|
18616
18617
|
DataModifierService: function() { return /* reexport */ data_modifier_service_namespaceObject; },
|
|
18617
18618
|
DraggableService: function() { return /* reexport */ draggable_service; },
|
|
18618
18619
|
EventBus: function() { return /* reexport */ EventBus; },
|
|
@@ -18681,6 +18682,14 @@ __webpack_require__.r(data_modifier_service_namespaceObject);
|
|
|
18681
18682
|
__webpack_require__.d(data_modifier_service_namespaceObject, {
|
|
18682
18683
|
alterUsersForProfileStrip: function() { return alterUsersForProfileStrip; } });
|
|
18683
18684
|
|
|
18685
|
+
// NAMESPACE OBJECT: ./src/services/brand-service.ts
|
|
18686
|
+
var brand_service_namespaceObject = {};
|
|
18687
|
+
__webpack_require__.r(brand_service_namespaceObject);
|
|
18688
|
+
__webpack_require__.d(brand_service_namespaceObject, {
|
|
18689
|
+
isBrand: function() { return isBrand; },
|
|
18690
|
+
resolveBrand: function() { return resolveBrand; },
|
|
18691
|
+
setBrand: function() { return setBrand; } });
|
|
18692
|
+
|
|
18684
18693
|
|
|
18685
18694
|
;// CONCATENATED MODULE: ./src/services/draggable-service.ts
|
|
18686
18695
|
/*
|
|
@@ -26027,7 +26036,7 @@ class HTTPBaseService {
|
|
|
26027
26036
|
// Add this temporarily for breeze to work
|
|
26028
26037
|
if (!refreshTokenPath) {
|
|
26029
26038
|
setLocalStorageItem('refresh-token-path-not-found', true);
|
|
26030
|
-
|
|
26039
|
+
//refreshTokenPath = `${location.origin}/api/v2/auth/refresh-token-web`
|
|
26031
26040
|
}
|
|
26032
26041
|
const refreshTokenRequest = {
|
|
26033
26042
|
refresh_token: this.tokenService.getRefreshToken(),
|
|
@@ -28605,6 +28614,60 @@ function traverse(value, depth = Infinity, seen) {
|
|
|
28605
28614
|
}
|
|
28606
28615
|
};
|
|
28607
28616
|
|
|
28617
|
+
;// CONCATENATED MODULE: ./src/services/brand-service.ts
|
|
28618
|
+
const DEFAULT_BRAND = 'system';
|
|
28619
|
+
// Must match design-tokens/raw/brand/<slug>.json (each builds ds/brand/<slug>.css).
|
|
28620
|
+
const BRANDS = [
|
|
28621
|
+
'system',
|
|
28622
|
+
'accelerex',
|
|
28623
|
+
'access-pension',
|
|
28624
|
+
'arm',
|
|
28625
|
+
'asiko-energy',
|
|
28626
|
+
'brand-star',
|
|
28627
|
+
'chapel-hill-denham',
|
|
28628
|
+
'coronation',
|
|
28629
|
+
'custodian',
|
|
28630
|
+
'fmdq',
|
|
28631
|
+
'grant-thornton',
|
|
28632
|
+
'julius-berger',
|
|
28633
|
+
'providus',
|
|
28634
|
+
'sterling',
|
|
28635
|
+
'titan-trust',
|
|
28636
|
+
'vdl',
|
|
28637
|
+
'wema-bank',
|
|
28638
|
+
'zebet'
|
|
28639
|
+
];
|
|
28640
|
+
// Full-hostname match: covers clients on their own domains, and subdomains that don't equal the slug.
|
|
28641
|
+
// A client's branch hosts all map to the same brand.
|
|
28642
|
+
const BRAND_HOSTS = {
|
|
28643
|
+
'globalaccelerex.seamlesshrms.com': 'accelerex',
|
|
28644
|
+
'gt.seamlesshrms.com': 'grant-thornton',
|
|
28645
|
+
'nairabet.seamlesshrms.com': 'brand-star',
|
|
28646
|
+
'asikoenergy.seamlesshrms.com': 'asiko-energy',
|
|
28647
|
+
'custodian.seamlesshrms.com': 'custodian',
|
|
28648
|
+
'access-armpensions.seamlesshrms.com': 'access-pension',
|
|
28649
|
+
'arm.seamlesshrms.com': 'arm',
|
|
28650
|
+
'jbnrecruitment.seamlesshiring.com': 'julius-berger',
|
|
28651
|
+
'hrms.providusbank.com': 'providus',
|
|
28652
|
+
'vdl.seamlesshrms.com': 'vdl',
|
|
28653
|
+
'coronation.seamlesshrms.com': 'coronation',
|
|
28654
|
+
'hchub.sterling.ng': 'sterling',
|
|
28655
|
+
'wemabank.seamlesshrms.com': 'wema-bank',
|
|
28656
|
+
'humancapital.chapelhilldenham.com': 'chapel-hill-denham'
|
|
28657
|
+
};
|
|
28658
|
+
function isBrand(slug) {
|
|
28659
|
+
return !!slug && BRANDS.includes(slug);
|
|
28660
|
+
}
|
|
28661
|
+
function resolveBrand(slug, hostname = globalThis.location?.hostname) {
|
|
28662
|
+
if (isBrand(slug)) return slug;
|
|
28663
|
+
return BRAND_HOSTS[hostname?.toLowerCase() ?? ''] ?? DEFAULT_BRAND;
|
|
28664
|
+
}
|
|
28665
|
+
function setBrand(slug) {
|
|
28666
|
+
const brand = resolveBrand(slug);
|
|
28667
|
+
document.documentElement.dataset.brand = brand;
|
|
28668
|
+
return brand;
|
|
28669
|
+
}
|
|
28670
|
+
|
|
28608
28671
|
;// CONCATENATED MODULE: ./src/services/event-bus.ts
|
|
28609
28672
|
/*
|
|
28610
28673
|
import {ShrEventBus} from '....'
|
|
@@ -60276,6 +60339,9 @@ MixpanelService.trackEvent = (nodeEnv, eventName, payload)=>{
|
|
|
60276
60339
|
|
|
60277
60340
|
|
|
60278
60341
|
|
|
60342
|
+
// Runs synchronously from the <head> script tag, so data-brand is set before first paint.
|
|
60343
|
+
setBrand();
|
|
60344
|
+
|
|
60279
60345
|
/* export default */ var main_umd = ({});
|
|
60280
60346
|
|
|
60281
60347
|
}();
|