@telus-uds/palettes-community.palette-casa 4.6.0 → 4.6.1
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/CHANGELOG.json +15 -0
- package/CHANGELOG.md +9 -1
- package/build/android/border.xml +1 -1
- package/build/android/color.xml +1 -1
- package/build/android/font_size.xml +1 -1
- package/build/android/radius.xml +1 -1
- package/build/android/size.xml +1 -1
- package/build/ios/Border.swift +1 -1
- package/build/ios/Color.swift +1 -1
- package/build/ios/FontSize.swift +1 -1
- package/build/ios/Radius.swift +1 -1
- package/build/ios/Size.swift +1 -1
- package/build/rn/icons/CartEmpty.js +42 -0
- package/build/rn/icons/CartEmpty.native.js +41 -0
- package/build/rn/icons/ChevronUp.js +42 -0
- package/build/rn/icons/ChevronUp.native.js +41 -0
- package/build/rn/icons/MenuHamburger.js +1 -1
- package/build/rn/icons/MenuHamburger.native.js +1 -1
- package/build/rn/icons/UserSingle.js +46 -0
- package/build/rn/icons/UserSingle.native.js +45 -0
- package/build/rn/icons/cart-empty.icon.svg +3 -0
- package/build/rn/icons/chevron-up.icon.svg +3 -0
- package/build/rn/icons/index.js +4 -1
- package/build/rn/icons/menu-hamburger.icon.svg +1 -1
- package/build/rn/icons/user-single.icon.svg +4 -0
- package/build/rn/palette.js +5 -2
- package/build/web/fonts/fonts-cdn-family.css +12 -12
- package/build/web/fonts/fonts-cdn.css +12 -12
- package/build/web/fonts/fonts-local-family.css +12 -12
- package/build/web/fonts/fonts-local.css +12 -12
- package/build/web/icons/CartEmpty.js +42 -0
- package/build/web/icons/ChevronUp.js +42 -0
- package/build/web/icons/MenuHamburger.js +1 -1
- package/build/web/icons/UserSingle.js +46 -0
- package/build/web/icons/cart-empty.icon.svg +3 -0
- package/build/web/icons/chevron-up.icon.svg +3 -0
- package/build/web/icons/index.js +4 -1
- package/build/web/icons/menu-hamburger.icon.svg +1 -1
- package/build/web/icons/user-single.icon.svg +4 -0
- package/build/web/palette.js +17 -14
- package/package.json +2 -2
- /package/build/web/fonts/{HNforTELUSSA-Bd-v4_6_0.otf → HNforTELUSSA-Bd-v4_6_1.otf} +0 -0
- /package/build/web/fonts/{HNforTELUSSA-Display-v4_6_0.otf → HNforTELUSSA-Display-v4_6_1.otf} +0 -0
- /package/build/web/fonts/{HNforTELUSSA-Md-v4_6_0.otf → HNforTELUSSA-Md-v4_6_1.otf} +0 -0
- /package/build/web/fonts/{HNforTELUSSA-v4_6_0.otf → HNforTELUSSA-v4_6_1.otf} +0 -0
- /package/build/web/fonts/{HNforTELUSSABold_normal_normal-v4_6_0.woff → HNforTELUSSABold_normal_normal-v4_6_1.woff} +0 -0
- /package/build/web/fonts/{HNforTELUSSABold_normal_normal2-v4_6_0.woff2 → HNforTELUSSABold_normal_normal2-v4_6_1.woff2} +0 -0
- /package/build/web/fonts/{HNforTELUSSADisplay_normal_normal-v4_6_0.woff → HNforTELUSSADisplay_normal_normal-v4_6_1.woff} +0 -0
- /package/build/web/fonts/{HNforTELUSSADisplay_normal_normal2-v4_6_0.woff2 → HNforTELUSSADisplay_normal_normal2-v4_6_1.woff2} +0 -0
- /package/build/web/fonts/{HNforTELUSSAMedium_normal_normal-v4_6_0.woff → HNforTELUSSAMedium_normal_normal-v4_6_1.woff} +0 -0
- /package/build/web/fonts/{HNforTELUSSAMedium_normal_normal2-v4_6_0.woff2 → HNforTELUSSAMedium_normal_normal2-v4_6_1.woff2} +0 -0
- /package/build/web/fonts/{HNforTELUSSARegular_normal_normal-v4_6_0.woff → HNforTELUSSARegular_normal_normal-v4_6_1.woff} +0 -0
- /package/build/web/fonts/{HNforTELUSSARegular_normal_normal2-v4_6_0.woff2 → HNforTELUSSARegular_normal_normal2-v4_6_1.woff2} +0 -0
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
@font-face {
|
|
2
2
|
font-family: 'HNforTELUSSA300normal';
|
|
3
|
-
src: url('https://cdn.telus.digital/uds/HNforTELUSSADisplay_normal_normal-
|
|
3
|
+
src: url('https://cdn.telus.digital/uds/HNforTELUSSADisplay_normal_normal-v4_6_1.woff');
|
|
4
4
|
font-display: block;
|
|
5
5
|
}
|
|
6
6
|
@font-face {
|
|
7
7
|
font-family: 'HNforTELUSSA400normal';
|
|
8
|
-
src: url('https://cdn.telus.digital/uds/HNforTELUSSARegular_normal_normal-
|
|
8
|
+
src: url('https://cdn.telus.digital/uds/HNforTELUSSARegular_normal_normal-v4_6_1.woff');
|
|
9
9
|
font-display: block;
|
|
10
10
|
}
|
|
11
11
|
@font-face {
|
|
12
12
|
font-family: 'HNforTELUSSA500normal';
|
|
13
|
-
src: url('https://cdn.telus.digital/uds/HNforTELUSSAMedium_normal_normal-
|
|
13
|
+
src: url('https://cdn.telus.digital/uds/HNforTELUSSAMedium_normal_normal-v4_6_1.woff');
|
|
14
14
|
font-display: block;
|
|
15
15
|
}
|
|
16
16
|
@font-face {
|
|
17
17
|
font-family: 'HNforTELUSSA700normal';
|
|
18
|
-
src: url('https://cdn.telus.digital/uds/HNforTELUSSABold_normal_normal-
|
|
18
|
+
src: url('https://cdn.telus.digital/uds/HNforTELUSSABold_normal_normal-v4_6_1.woff');
|
|
19
19
|
font-display: block;
|
|
20
20
|
}
|
|
21
21
|
@font-face {
|
|
22
22
|
font-family: 'HNforTELUSSAOTF300normal';
|
|
23
|
-
src: url('https://cdn.telus.digital/uds/HNforTELUSSA-Display-
|
|
23
|
+
src: url('https://cdn.telus.digital/uds/HNforTELUSSA-Display-v4_6_1.otf');
|
|
24
24
|
font-display: block;
|
|
25
25
|
}
|
|
26
26
|
@font-face {
|
|
27
27
|
font-family: 'HNforTELUSSAOTF400normal';
|
|
28
|
-
src: url('https://cdn.telus.digital/uds/HNforTELUSSA-
|
|
28
|
+
src: url('https://cdn.telus.digital/uds/HNforTELUSSA-v4_6_1.otf');
|
|
29
29
|
font-display: block;
|
|
30
30
|
}
|
|
31
31
|
@font-face {
|
|
32
32
|
font-family: 'HNforTELUSSAOTF500normal';
|
|
33
|
-
src: url('https://cdn.telus.digital/uds/HNforTELUSSA-Md-
|
|
33
|
+
src: url('https://cdn.telus.digital/uds/HNforTELUSSA-Md-v4_6_1.otf');
|
|
34
34
|
font-display: block;
|
|
35
35
|
}
|
|
36
36
|
@font-face {
|
|
37
37
|
font-family: 'HNforTELUSSAOTF700normal';
|
|
38
|
-
src: url('https://cdn.telus.digital/uds/HNforTELUSSA-Bd-
|
|
38
|
+
src: url('https://cdn.telus.digital/uds/HNforTELUSSA-Bd-v4_6_1.otf');
|
|
39
39
|
font-display: block;
|
|
40
40
|
}
|
|
41
41
|
@font-face {
|
|
42
42
|
font-family: 'HNforTELUSSAWoff2300normal';
|
|
43
|
-
src: url('https://cdn.telus.digital/uds/HNforTELUSSADisplay_normal_normal2-
|
|
43
|
+
src: url('https://cdn.telus.digital/uds/HNforTELUSSADisplay_normal_normal2-v4_6_1.woff2');
|
|
44
44
|
font-display: block;
|
|
45
45
|
}
|
|
46
46
|
@font-face {
|
|
47
47
|
font-family: 'HNforTELUSSAWoff2400normal';
|
|
48
|
-
src: url('https://cdn.telus.digital/uds/HNforTELUSSARegular_normal_normal2-
|
|
48
|
+
src: url('https://cdn.telus.digital/uds/HNforTELUSSARegular_normal_normal2-v4_6_1.woff2');
|
|
49
49
|
font-display: block;
|
|
50
50
|
}
|
|
51
51
|
@font-face {
|
|
52
52
|
font-family: 'HNforTELUSSAWoff2500normal';
|
|
53
|
-
src: url('https://cdn.telus.digital/uds/HNforTELUSSAMedium_normal_normal2-
|
|
53
|
+
src: url('https://cdn.telus.digital/uds/HNforTELUSSAMedium_normal_normal2-v4_6_1.woff2');
|
|
54
54
|
font-display: block;
|
|
55
55
|
}
|
|
56
56
|
@font-face {
|
|
57
57
|
font-family: 'HNforTELUSSAWoff2700normal';
|
|
58
|
-
src: url('https://cdn.telus.digital/uds/HNforTELUSSABold_normal_normal2-
|
|
58
|
+
src: url('https://cdn.telus.digital/uds/HNforTELUSSABold_normal_normal2-v4_6_1.woff2');
|
|
59
59
|
font-display: block;
|
|
60
60
|
}
|
|
@@ -1,83 +1,83 @@
|
|
|
1
1
|
@font-face {
|
|
2
2
|
font-family: 'HNforTELUSSA';
|
|
3
|
-
src: url('./HNforTELUSSADisplay_normal_normal-
|
|
3
|
+
src: url('./HNforTELUSSADisplay_normal_normal-v4_6_1.woff');
|
|
4
4
|
font-weight: 300;
|
|
5
5
|
font-style: normal;
|
|
6
6
|
font-display: block;
|
|
7
7
|
}
|
|
8
8
|
@font-face {
|
|
9
9
|
font-family: 'HNforTELUSSA';
|
|
10
|
-
src: url('./HNforTELUSSARegular_normal_normal-
|
|
10
|
+
src: url('./HNforTELUSSARegular_normal_normal-v4_6_1.woff');
|
|
11
11
|
font-weight: 400;
|
|
12
12
|
font-style: normal;
|
|
13
13
|
font-display: block;
|
|
14
14
|
}
|
|
15
15
|
@font-face {
|
|
16
16
|
font-family: 'HNforTELUSSA';
|
|
17
|
-
src: url('./HNforTELUSSAMedium_normal_normal-
|
|
17
|
+
src: url('./HNforTELUSSAMedium_normal_normal-v4_6_1.woff');
|
|
18
18
|
font-weight: 500;
|
|
19
19
|
font-style: normal;
|
|
20
20
|
font-display: block;
|
|
21
21
|
}
|
|
22
22
|
@font-face {
|
|
23
23
|
font-family: 'HNforTELUSSA';
|
|
24
|
-
src: url('./HNforTELUSSABold_normal_normal-
|
|
24
|
+
src: url('./HNforTELUSSABold_normal_normal-v4_6_1.woff');
|
|
25
25
|
font-weight: 700;
|
|
26
26
|
font-style: normal;
|
|
27
27
|
font-display: block;
|
|
28
28
|
}
|
|
29
29
|
@font-face {
|
|
30
30
|
font-family: 'HNforTELUSSAOTF';
|
|
31
|
-
src: url('./HNforTELUSSA-Display-
|
|
31
|
+
src: url('./HNforTELUSSA-Display-v4_6_1.otf');
|
|
32
32
|
font-weight: 300;
|
|
33
33
|
font-style: normal;
|
|
34
34
|
font-display: block;
|
|
35
35
|
}
|
|
36
36
|
@font-face {
|
|
37
37
|
font-family: 'HNforTELUSSAOTF';
|
|
38
|
-
src: url('./HNforTELUSSA-
|
|
38
|
+
src: url('./HNforTELUSSA-v4_6_1.otf');
|
|
39
39
|
font-weight: 400;
|
|
40
40
|
font-style: normal;
|
|
41
41
|
font-display: block;
|
|
42
42
|
}
|
|
43
43
|
@font-face {
|
|
44
44
|
font-family: 'HNforTELUSSAOTF';
|
|
45
|
-
src: url('./HNforTELUSSA-Md-
|
|
45
|
+
src: url('./HNforTELUSSA-Md-v4_6_1.otf');
|
|
46
46
|
font-weight: 500;
|
|
47
47
|
font-style: normal;
|
|
48
48
|
font-display: block;
|
|
49
49
|
}
|
|
50
50
|
@font-face {
|
|
51
51
|
font-family: 'HNforTELUSSAOTF';
|
|
52
|
-
src: url('./HNforTELUSSA-Bd-
|
|
52
|
+
src: url('./HNforTELUSSA-Bd-v4_6_1.otf');
|
|
53
53
|
font-weight: 700;
|
|
54
54
|
font-style: normal;
|
|
55
55
|
font-display: block;
|
|
56
56
|
}
|
|
57
57
|
@font-face {
|
|
58
58
|
font-family: 'HNforTELUSSAWoff2';
|
|
59
|
-
src: url('./HNforTELUSSADisplay_normal_normal2-
|
|
59
|
+
src: url('./HNforTELUSSADisplay_normal_normal2-v4_6_1.woff2');
|
|
60
60
|
font-weight: 300;
|
|
61
61
|
font-style: normal;
|
|
62
62
|
font-display: block;
|
|
63
63
|
}
|
|
64
64
|
@font-face {
|
|
65
65
|
font-family: 'HNforTELUSSAWoff2';
|
|
66
|
-
src: url('./HNforTELUSSARegular_normal_normal2-
|
|
66
|
+
src: url('./HNforTELUSSARegular_normal_normal2-v4_6_1.woff2');
|
|
67
67
|
font-weight: 400;
|
|
68
68
|
font-style: normal;
|
|
69
69
|
font-display: block;
|
|
70
70
|
}
|
|
71
71
|
@font-face {
|
|
72
72
|
font-family: 'HNforTELUSSAWoff2';
|
|
73
|
-
src: url('./HNforTELUSSAMedium_normal_normal2-
|
|
73
|
+
src: url('./HNforTELUSSAMedium_normal_normal2-v4_6_1.woff2');
|
|
74
74
|
font-weight: 500;
|
|
75
75
|
font-style: normal;
|
|
76
76
|
font-display: block;
|
|
77
77
|
}
|
|
78
78
|
@font-face {
|
|
79
79
|
font-family: 'HNforTELUSSAWoff2';
|
|
80
|
-
src: url('./HNforTELUSSABold_normal_normal2-
|
|
80
|
+
src: url('./HNforTELUSSABold_normal_normal2-v4_6_1.woff2');
|
|
81
81
|
font-weight: 700;
|
|
82
82
|
font-style: normal;
|
|
83
83
|
font-display: block;
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
@font-face {
|
|
2
2
|
font-family: 'HNforTELUSSA300normal';
|
|
3
|
-
src: url('./HNforTELUSSADisplay_normal_normal-
|
|
3
|
+
src: url('./HNforTELUSSADisplay_normal_normal-v4_6_1.woff');
|
|
4
4
|
font-display: block;
|
|
5
5
|
}
|
|
6
6
|
@font-face {
|
|
7
7
|
font-family: 'HNforTELUSSA400normal';
|
|
8
|
-
src: url('./HNforTELUSSARegular_normal_normal-
|
|
8
|
+
src: url('./HNforTELUSSARegular_normal_normal-v4_6_1.woff');
|
|
9
9
|
font-display: block;
|
|
10
10
|
}
|
|
11
11
|
@font-face {
|
|
12
12
|
font-family: 'HNforTELUSSA500normal';
|
|
13
|
-
src: url('./HNforTELUSSAMedium_normal_normal-
|
|
13
|
+
src: url('./HNforTELUSSAMedium_normal_normal-v4_6_1.woff');
|
|
14
14
|
font-display: block;
|
|
15
15
|
}
|
|
16
16
|
@font-face {
|
|
17
17
|
font-family: 'HNforTELUSSA700normal';
|
|
18
|
-
src: url('./HNforTELUSSABold_normal_normal-
|
|
18
|
+
src: url('./HNforTELUSSABold_normal_normal-v4_6_1.woff');
|
|
19
19
|
font-display: block;
|
|
20
20
|
}
|
|
21
21
|
@font-face {
|
|
22
22
|
font-family: 'HNforTELUSSAOTF300normal';
|
|
23
|
-
src: url('./HNforTELUSSA-Display-
|
|
23
|
+
src: url('./HNforTELUSSA-Display-v4_6_1.otf');
|
|
24
24
|
font-display: block;
|
|
25
25
|
}
|
|
26
26
|
@font-face {
|
|
27
27
|
font-family: 'HNforTELUSSAOTF400normal';
|
|
28
|
-
src: url('./HNforTELUSSA-
|
|
28
|
+
src: url('./HNforTELUSSA-v4_6_1.otf');
|
|
29
29
|
font-display: block;
|
|
30
30
|
}
|
|
31
31
|
@font-face {
|
|
32
32
|
font-family: 'HNforTELUSSAOTF500normal';
|
|
33
|
-
src: url('./HNforTELUSSA-Md-
|
|
33
|
+
src: url('./HNforTELUSSA-Md-v4_6_1.otf');
|
|
34
34
|
font-display: block;
|
|
35
35
|
}
|
|
36
36
|
@font-face {
|
|
37
37
|
font-family: 'HNforTELUSSAOTF700normal';
|
|
38
|
-
src: url('./HNforTELUSSA-Bd-
|
|
38
|
+
src: url('./HNforTELUSSA-Bd-v4_6_1.otf');
|
|
39
39
|
font-display: block;
|
|
40
40
|
}
|
|
41
41
|
@font-face {
|
|
42
42
|
font-family: 'HNforTELUSSAWoff2300normal';
|
|
43
|
-
src: url('./HNforTELUSSADisplay_normal_normal2-
|
|
43
|
+
src: url('./HNforTELUSSADisplay_normal_normal2-v4_6_1.woff2');
|
|
44
44
|
font-display: block;
|
|
45
45
|
}
|
|
46
46
|
@font-face {
|
|
47
47
|
font-family: 'HNforTELUSSAWoff2400normal';
|
|
48
|
-
src: url('./HNforTELUSSARegular_normal_normal2-
|
|
48
|
+
src: url('./HNforTELUSSARegular_normal_normal2-v4_6_1.woff2');
|
|
49
49
|
font-display: block;
|
|
50
50
|
}
|
|
51
51
|
@font-face {
|
|
52
52
|
font-family: 'HNforTELUSSAWoff2500normal';
|
|
53
|
-
src: url('./HNforTELUSSAMedium_normal_normal2-
|
|
53
|
+
src: url('./HNforTELUSSAMedium_normal_normal2-v4_6_1.woff2');
|
|
54
54
|
font-display: block;
|
|
55
55
|
}
|
|
56
56
|
@font-face {
|
|
57
57
|
font-family: 'HNforTELUSSAWoff2700normal';
|
|
58
|
-
src: url('./HNforTELUSSABold_normal_normal2-
|
|
58
|
+
src: url('./HNforTELUSSABold_normal_normal2-v4_6_1.woff2');
|
|
59
59
|
font-display: block;
|
|
60
60
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
module.exports = ({
|
|
5
|
+
title,
|
|
6
|
+
titleId,
|
|
7
|
+
size,
|
|
8
|
+
color,
|
|
9
|
+
gradient,
|
|
10
|
+
...props
|
|
11
|
+
}) => {
|
|
12
|
+
const iconSharedUtils = require('./utils/icon-shared-utils');
|
|
13
|
+
const hasGradient = iconSharedUtils.hasValidGradient(gradient);
|
|
14
|
+
let fillValue = color;
|
|
15
|
+
let gradientDefs;
|
|
16
|
+
let gradientUtils;
|
|
17
|
+
if (hasGradient) {
|
|
18
|
+
gradientUtils = iconSharedUtils.getGradientUtils();
|
|
19
|
+
const iconWebUtils = require('./utils/icon-web-utils');
|
|
20
|
+
const gradientId = gradientUtils.generateGradientId(gradient);
|
|
21
|
+
fillValue = `url(#${gradientId})`;
|
|
22
|
+
gradientDefs = iconWebUtils.renderWebGradientDefs(gradient, gradientId);
|
|
23
|
+
}
|
|
24
|
+
const svgContent = (0, _jsxRuntime.jsxs)("svg", {
|
|
25
|
+
...props,
|
|
26
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
27
|
+
viewBox: "0 0 24 24",
|
|
28
|
+
height: size,
|
|
29
|
+
width: size,
|
|
30
|
+
fill: fillValue,
|
|
31
|
+
role: title ? 'img' : undefined,
|
|
32
|
+
"aria-hidden": !title,
|
|
33
|
+
"aria-labelledby": titleId,
|
|
34
|
+
children: [title ? (0, _jsxRuntime.jsx)("title", {
|
|
35
|
+
id: titleId,
|
|
36
|
+
children: title
|
|
37
|
+
}) : null, (0, _jsxRuntime.jsx)("path", {
|
|
38
|
+
d: "M8.526 18.125c1.326 0 2.402 1.068 2.402 2.379 0 1.309-1.076 2.378-2.402 2.378-1.325 0-2.401-1.07-2.401-2.378 0-1.311 1.076-2.379 2.401-2.379Zm9 0c1.326 0 2.402 1.068 2.402 2.379 0 1.309-1.076 2.378-2.402 2.378-1.325 0-2.401-1.07-2.401-2.378 0-1.311 1.076-2.379 2.401-2.379Zm-9 1.29c-.604 0-1.1.485-1.1 1.089 0 .601.496 1.089 1.1 1.089.606 0 1.1-.488 1.1-1.09 0-.603-.494-1.089-1.1-1.089Zm9 0c-.604 0-1.1.485-1.1 1.089 0 .601.496 1.089 1.1 1.089.606 0 1.1-.488 1.1-1.09 0-.603-.494-1.089-1.1-1.089ZM4.652 2.25c.337 0 .63.213.735.513l.026.092.401 1.945h16.341a.79.79 0 0 1 .588.26l.084.113a.73.73 0 0 1 .105.392l-.01.112-.778 5.452a1.627 1.627 0 0 1-1.294 1.342l-.153.025-12.985 1.6.22.337c.304.466.783.783 1.318.841l.014.001.152.01h10.99c.433 0 .776.343.776.753a.762.762 0 0 1-.69.748l-.1.006H9.43c-1.418 0-2.73-.97-3.211-2.324l-.085-.276-.043-.18L4.057 3.958l-.04-.2H2.025a.766.766 0 0 1-.775-.754c0-.382.298-.707.688-.75l.1-.004h2.614Zm1.532 4.358 1.145 5.712.045.226.23-.026 12.995-1.53.027-.191.635-4.49H6.124l.06.3Z"
|
|
39
|
+
})]
|
|
40
|
+
});
|
|
41
|
+
return hasGradient ? gradientUtils.addGradientToSvg(svgContent, gradientDefs) : svgContent;
|
|
42
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
module.exports = ({
|
|
5
|
+
title,
|
|
6
|
+
titleId,
|
|
7
|
+
size,
|
|
8
|
+
color,
|
|
9
|
+
gradient,
|
|
10
|
+
...props
|
|
11
|
+
}) => {
|
|
12
|
+
const iconSharedUtils = require('./utils/icon-shared-utils');
|
|
13
|
+
const hasGradient = iconSharedUtils.hasValidGradient(gradient);
|
|
14
|
+
let fillValue = color;
|
|
15
|
+
let gradientDefs;
|
|
16
|
+
let gradientUtils;
|
|
17
|
+
if (hasGradient) {
|
|
18
|
+
gradientUtils = iconSharedUtils.getGradientUtils();
|
|
19
|
+
const iconWebUtils = require('./utils/icon-web-utils');
|
|
20
|
+
const gradientId = gradientUtils.generateGradientId(gradient);
|
|
21
|
+
fillValue = `url(#${gradientId})`;
|
|
22
|
+
gradientDefs = iconWebUtils.renderWebGradientDefs(gradient, gradientId);
|
|
23
|
+
}
|
|
24
|
+
const svgContent = (0, _jsxRuntime.jsxs)("svg", {
|
|
25
|
+
...props,
|
|
26
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
27
|
+
viewBox: "0 0 24 24",
|
|
28
|
+
height: size,
|
|
29
|
+
width: size,
|
|
30
|
+
fill: fillValue,
|
|
31
|
+
role: title ? 'img' : undefined,
|
|
32
|
+
"aria-hidden": !title,
|
|
33
|
+
"aria-labelledby": titleId,
|
|
34
|
+
children: [title ? (0, _jsxRuntime.jsx)("title", {
|
|
35
|
+
id: titleId,
|
|
36
|
+
children: title
|
|
37
|
+
}) : null, (0, _jsxRuntime.jsx)("path", {
|
|
38
|
+
d: "M3.628 16.944a2.143 2.143 0 0 1 0-3.03l6.857-6.858a2.143 2.143 0 0 1 3.03 0l6.857 6.857a2.143 2.143 0 0 1-3.03 3.03l-5.039-5.038a.429.429 0 0 0-.606 0l-5.039 5.039a2.143 2.143 0 0 1-3.03 0Z"
|
|
39
|
+
})]
|
|
40
|
+
});
|
|
41
|
+
return hasGradient ? gradientUtils.addGradientToSvg(svgContent, gradientDefs) : svgContent;
|
|
42
|
+
};
|
|
@@ -36,7 +36,7 @@ module.exports = ({
|
|
|
36
36
|
children: title
|
|
37
37
|
}) : null, (0, _jsxRuntime.jsx)("path", {
|
|
38
38
|
fillRule: "evenodd",
|
|
39
|
-
d: "
|
|
39
|
+
d: "M21.166 18c.428 0 .78.383.828.883L22 19c0 .552-.373 1-.834 1H2.834C2.374 20 2 19.556 2 19c0-.552.373-1 .834-1h18.332Zm0-7c.428 0 .78.383.828.883L22 12c0 .552-.373 1-.834 1H2.834C2.374 13 2 12.556 2 12c0-.552.373-1 .834-1h18.332Zm0-7c.428 0 .78.383.828.883L22 5c0 .552-.373 1-.834 1H2.834C2.374 6 2 5.556 2 5c0-.552.373-1 .834-1h18.332Z",
|
|
40
40
|
clipRule: "evenodd"
|
|
41
41
|
})]
|
|
42
42
|
});
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
module.exports = ({
|
|
5
|
+
title,
|
|
6
|
+
titleId,
|
|
7
|
+
size,
|
|
8
|
+
color,
|
|
9
|
+
gradient,
|
|
10
|
+
...props
|
|
11
|
+
}) => {
|
|
12
|
+
const iconSharedUtils = require('./utils/icon-shared-utils');
|
|
13
|
+
const hasGradient = iconSharedUtils.hasValidGradient(gradient);
|
|
14
|
+
let fillValue = color;
|
|
15
|
+
let gradientDefs;
|
|
16
|
+
let gradientUtils;
|
|
17
|
+
if (hasGradient) {
|
|
18
|
+
gradientUtils = iconSharedUtils.getGradientUtils();
|
|
19
|
+
const iconWebUtils = require('./utils/icon-web-utils');
|
|
20
|
+
const gradientId = gradientUtils.generateGradientId(gradient);
|
|
21
|
+
fillValue = `url(#${gradientId})`;
|
|
22
|
+
gradientDefs = iconWebUtils.renderWebGradientDefs(gradient, gradientId);
|
|
23
|
+
}
|
|
24
|
+
const svgContent = (0, _jsxRuntime.jsxs)("svg", {
|
|
25
|
+
...props,
|
|
26
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
27
|
+
viewBox: "0 0 24 24",
|
|
28
|
+
height: size,
|
|
29
|
+
width: size,
|
|
30
|
+
fill: fillValue,
|
|
31
|
+
role: title ? 'img' : undefined,
|
|
32
|
+
"aria-hidden": !title,
|
|
33
|
+
"aria-labelledby": titleId,
|
|
34
|
+
children: [title ? (0, _jsxRuntime.jsx)("title", {
|
|
35
|
+
id: titleId,
|
|
36
|
+
children: title
|
|
37
|
+
}) : null, (0, _jsxRuntime.jsx)("path", {
|
|
38
|
+
d: "M12 13.81c4.879 0 9.138 3.275 10.565 7.784.145.46-.212.906-.694.906a.793.793 0 0 1-.743-.557c-1.266-3.86-4.933-6.653-9.128-6.653-4.197 0-7.862 2.792-9.127 6.653a.793.793 0 0 1-.744.557c-.481 0-.84-.447-.694-.906C2.864 17.086 7.12 13.811 12 13.811Z"
|
|
39
|
+
}), (0, _jsxRuntime.jsx)("path", {
|
|
40
|
+
fillRule: "evenodd",
|
|
41
|
+
d: "M12 1.5a5.18 5.18 0 0 1 5.173 5.174A5.18 5.18 0 0 1 12 11.847a5.18 5.18 0 0 1-5.173-5.173A5.18 5.18 0 0 1 12 1.5Zm0 1.479a3.7 3.7 0 0 0-3.696 3.695A3.7 3.7 0 0 0 12 10.37a3.699 3.699 0 0 0 3.694-3.695A3.7 3.7 0 0 0 12 2.98Z",
|
|
42
|
+
clipRule: "evenodd"
|
|
43
|
+
})]
|
|
44
|
+
});
|
|
45
|
+
return hasGradient ? gradientUtils.addGradientToSvg(svgContent, gradientDefs) : svgContent;
|
|
46
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
2
|
+
<path d="M8.526 18.125c1.326 0 2.402 1.068 2.402 2.379 0 1.309-1.076 2.378-2.402 2.378-1.325 0-2.401-1.07-2.401-2.378 0-1.311 1.076-2.379 2.401-2.379Zm9 0c1.326 0 2.402 1.068 2.402 2.379 0 1.309-1.076 2.378-2.402 2.378-1.325 0-2.401-1.07-2.401-2.378 0-1.311 1.076-2.379 2.401-2.379Zm-9 1.29c-.604 0-1.1.485-1.1 1.089 0 .601.496 1.089 1.1 1.089.606 0 1.1-.488 1.1-1.09 0-.603-.494-1.089-1.1-1.089Zm9 0c-.604 0-1.1.485-1.1 1.089 0 .601.496 1.089 1.1 1.089.606 0 1.1-.488 1.1-1.09 0-.603-.494-1.089-1.1-1.089ZM4.652 2.25c.337 0 .63.213.735.513l.026.092.401 1.945h16.341a.79.79 0 0 1 .588.26l.084.113a.73.73 0 0 1 .105.392l-.01.112-.778 5.452a1.627 1.627 0 0 1-1.294 1.342l-.153.025-12.985 1.6.22.337c.304.466.783.783 1.318.841l.014.001.152.01h10.99c.433 0 .776.343.776.753a.762.762 0 0 1-.69.748l-.1.006H9.43c-1.418 0-2.73-.97-3.211-2.324l-.085-.276-.043-.18L4.057 3.958l-.04-.2H2.025a.766.766 0 0 1-.775-.754c0-.382.298-.707.688-.75l.1-.004h2.614Zm1.532 4.358 1.145 5.712.045.226.23-.026 12.995-1.53.027-.191.635-4.49H6.124l.06.3Z"/>
|
|
3
|
+
</svg>
|
package/build/web/icons/index.js
CHANGED
|
@@ -50,6 +50,7 @@ module.exports = {
|
|
|
50
50
|
CardLightningBold: require('./CardLightningBold'),
|
|
51
51
|
CaretDown: require('./CaretDown'),
|
|
52
52
|
CaretUp: require('./CaretUp'),
|
|
53
|
+
CartEmpty: require('./CartEmpty'),
|
|
53
54
|
CartEmptyBold: require('./CartEmptyBold'),
|
|
54
55
|
CartFilledBold: require('./CartFilledBold'),
|
|
55
56
|
Channels: require('./Channels'),
|
|
@@ -66,8 +67,10 @@ module.exports = {
|
|
|
66
67
|
Check: require('./Check'),
|
|
67
68
|
Checkbold: require('./Checkbold'),
|
|
68
69
|
Checkmark: require('./Checkmark'),
|
|
70
|
+
ChevronDown: require('./ChevronDown'),
|
|
69
71
|
ChevronLeft: require('./ChevronLeft'),
|
|
70
72
|
ChevronRight: require('./ChevronRight'),
|
|
73
|
+
ChevronUp: require('./ChevronUp'),
|
|
71
74
|
Clipboard: require('./Clipboard'),
|
|
72
75
|
Close: require('./Close'),
|
|
73
76
|
ClosedCaptions: require('./ClosedCaptions'),
|
|
@@ -286,6 +289,7 @@ module.exports = {
|
|
|
286
289
|
User: require('./User'),
|
|
287
290
|
UserAdd: require('./UserAdd'),
|
|
288
291
|
UserAddBold: require('./UserAddBold'),
|
|
292
|
+
UserSingle: require('./UserSingle'),
|
|
289
293
|
Users: require('./Users'),
|
|
290
294
|
VideoCall: require('./VideoCall'),
|
|
291
295
|
VideoChat: require('./VideoChat'),
|
|
@@ -302,7 +306,6 @@ module.exports = {
|
|
|
302
306
|
WifiCloud: require('./WifiCloud'),
|
|
303
307
|
CaretDownSmall: require('./CaretDownSmall'),
|
|
304
308
|
CaretUpSmall: require('./CaretUpSmall'),
|
|
305
|
-
ChevronDown: require('./ChevronDown'),
|
|
306
309
|
Error: require('./Error'),
|
|
307
310
|
Info: require('./Info'),
|
|
308
311
|
Warning: require('./Warning')
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
2
|
-
<path fill-rule="evenodd" d="
|
|
2
|
+
<path fill-rule="evenodd" d="M21.166 18c.428 0 .78.383.828.883L22 19c0 .552-.373 1-.834 1H2.834C2.374 20 2 19.556 2 19c0-.552.373-1 .834-1h18.332Zm0-7c.428 0 .78.383.828.883L22 12c0 .552-.373 1-.834 1H2.834C2.374 13 2 12.556 2 12c0-.552.373-1 .834-1h18.332Zm0-7c.428 0 .78.383.828.883L22 5c0 .552-.373 1-.834 1H2.834C2.374 6 2 5.556 2 5c0-.552.373-1 .834-1h18.332Z" clip-rule="evenodd"/>
|
|
3
3
|
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
2
|
+
<path d="M12 13.81c4.879 0 9.138 3.275 10.565 7.784.145.46-.212.906-.694.906a.793.793 0 0 1-.743-.557c-1.266-3.86-4.933-6.653-9.128-6.653-4.197 0-7.862 2.792-9.127 6.653a.793.793 0 0 1-.744.557c-.481 0-.84-.447-.694-.906C2.864 17.086 7.12 13.811 12 13.811Z"/>
|
|
3
|
+
<path fill-rule="evenodd" d="M12 1.5a5.18 5.18 0 0 1 5.173 5.174A5.18 5.18 0 0 1 12 11.847a5.18 5.18 0 0 1-5.173-5.173A5.18 5.18 0 0 1 12 1.5Zm0 1.479a3.7 3.7 0 0 0-3.696 3.695A3.7 3.7 0 0 0 12 10.37a3.699 3.699 0 0 0 3.694-3.695A3.7 3.7 0 0 0 12 2.98Z" clip-rule="evenodd"/>
|
|
4
|
+
</svg>
|
package/build/web/palette.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Wed,
|
|
3
|
+
* Generated on Wed, 19 Nov 2025 05:54:51 GMT
|
|
4
4
|
*/
|
|
5
5
|
module.exports = {
|
|
6
6
|
border: {
|
|
@@ -81,22 +81,22 @@ module.exports = {
|
|
|
81
81
|
},
|
|
82
82
|
font: {
|
|
83
83
|
HNforTELUSSA: {
|
|
84
|
-
300: 'https://cdn.telus.digital/uds/HNforTELUSSADisplay_normal_normal-
|
|
85
|
-
400: 'https://cdn.telus.digital/uds/HNforTELUSSARegular_normal_normal-
|
|
86
|
-
500: 'https://cdn.telus.digital/uds/HNforTELUSSAMedium_normal_normal-
|
|
87
|
-
700: 'https://cdn.telus.digital/uds/HNforTELUSSABold_normal_normal-
|
|
84
|
+
300: 'https://cdn.telus.digital/uds/HNforTELUSSADisplay_normal_normal-v4_6_1.woff',
|
|
85
|
+
400: 'https://cdn.telus.digital/uds/HNforTELUSSARegular_normal_normal-v4_6_1.woff',
|
|
86
|
+
500: 'https://cdn.telus.digital/uds/HNforTELUSSAMedium_normal_normal-v4_6_1.woff',
|
|
87
|
+
700: 'https://cdn.telus.digital/uds/HNforTELUSSABold_normal_normal-v4_6_1.woff'
|
|
88
88
|
},
|
|
89
89
|
HNforTELUSSAOTF: {
|
|
90
|
-
300: 'https://cdn.telus.digital/uds/HNforTELUSSA-Display-
|
|
91
|
-
400: 'https://cdn.telus.digital/uds/HNforTELUSSA-
|
|
92
|
-
500: 'https://cdn.telus.digital/uds/HNforTELUSSA-Md-
|
|
93
|
-
700: 'https://cdn.telus.digital/uds/HNforTELUSSA-Bd-
|
|
90
|
+
300: 'https://cdn.telus.digital/uds/HNforTELUSSA-Display-v4_6_1.otf',
|
|
91
|
+
400: 'https://cdn.telus.digital/uds/HNforTELUSSA-v4_6_1.otf',
|
|
92
|
+
500: 'https://cdn.telus.digital/uds/HNforTELUSSA-Md-v4_6_1.otf',
|
|
93
|
+
700: 'https://cdn.telus.digital/uds/HNforTELUSSA-Bd-v4_6_1.otf'
|
|
94
94
|
},
|
|
95
95
|
HNforTELUSSAWoff2: {
|
|
96
|
-
300: 'https://cdn.telus.digital/uds/HNforTELUSSADisplay_normal_normal2-
|
|
97
|
-
400: 'https://cdn.telus.digital/uds/HNforTELUSSARegular_normal_normal2-
|
|
98
|
-
500: 'https://cdn.telus.digital/uds/HNforTELUSSAMedium_normal_normal2-
|
|
99
|
-
700: 'https://cdn.telus.digital/uds/HNforTELUSSABold_normal_normal2-
|
|
96
|
+
300: 'https://cdn.telus.digital/uds/HNforTELUSSADisplay_normal_normal2-v4_6_1.woff2',
|
|
97
|
+
400: 'https://cdn.telus.digital/uds/HNforTELUSSARegular_normal_normal2-v4_6_1.woff2',
|
|
98
|
+
500: 'https://cdn.telus.digital/uds/HNforTELUSSAMedium_normal_normal2-v4_6_1.woff2',
|
|
99
|
+
700: 'https://cdn.telus.digital/uds/HNforTELUSSABold_normal_normal2-v4_6_1.woff2'
|
|
100
100
|
}
|
|
101
101
|
},
|
|
102
102
|
fontSize: {
|
|
@@ -174,6 +174,7 @@ module.exports = {
|
|
|
174
174
|
CardLightningBold: '@telus-uds/palettes-community.palette-casa/build/web/icons/card-lightning-bold.icon.svg',
|
|
175
175
|
CaretDown: '@telus-uds/palettes-community.palette-casa/build/web/icons/caret-down.icon.svg',
|
|
176
176
|
CaretUp: '@telus-uds/palettes-community.palette-casa/build/web/icons/caret-up.icon.svg',
|
|
177
|
+
CartEmpty: '@telus-uds/palettes-community.palette-casa/build/web/icons/cart-empty.icon.svg',
|
|
177
178
|
CartEmptyBold: '@telus-uds/palettes-community.palette-casa/build/web/icons/cart-empty-bold.icon.svg',
|
|
178
179
|
CartFilledBold: '@telus-uds/palettes-community.palette-casa/build/web/icons/cart-filled-bold.icon.svg',
|
|
179
180
|
Channels: '@telus-uds/palettes-community.palette-casa/build/web/icons/channels.icon.svg',
|
|
@@ -190,8 +191,10 @@ module.exports = {
|
|
|
190
191
|
Check: '@telus-uds/palettes-community.palette-casa/build/web/icons/check.icon.svg',
|
|
191
192
|
Checkbold: '@telus-uds/palettes-community.palette-casa/build/web/icons/checkbold.icon.svg',
|
|
192
193
|
Checkmark: '@telus-uds/palettes-community.palette-casa/build/web/icons/checkmark.icon.svg',
|
|
194
|
+
ChevronDown: '@telus-uds/palettes-community.palette-casa/build/web/icons/chevron-down.icon.svg',
|
|
193
195
|
ChevronLeft: '@telus-uds/palettes-community.palette-casa/build/web/icons/chevron-left.icon.svg',
|
|
194
196
|
ChevronRight: '@telus-uds/palettes-community.palette-casa/build/web/icons/chevron-right.icon.svg',
|
|
197
|
+
ChevronUp: '@telus-uds/palettes-community.palette-casa/build/web/icons/chevron-up.icon.svg',
|
|
195
198
|
Clipboard: '@telus-uds/palettes-community.palette-casa/build/web/icons/clipboard.icon.svg',
|
|
196
199
|
Close: '@telus-uds/palettes-community.palette-casa/build/web/icons/close.icon.svg',
|
|
197
200
|
ClosedCaptions: '@telus-uds/palettes-community.palette-casa/build/web/icons/closed-captions.icon.svg',
|
|
@@ -410,6 +413,7 @@ module.exports = {
|
|
|
410
413
|
User: '@telus-uds/palettes-community.palette-casa/build/web/icons/user.icon.svg',
|
|
411
414
|
UserAdd: '@telus-uds/palettes-community.palette-casa/build/web/icons/user-add.icon.svg',
|
|
412
415
|
UserAddBold: '@telus-uds/palettes-community.palette-casa/build/web/icons/user-add-bold.icon.svg',
|
|
416
|
+
UserSingle: '@telus-uds/palettes-community.palette-casa/build/web/icons/user-single.icon.svg',
|
|
413
417
|
Users: '@telus-uds/palettes-community.palette-casa/build/web/icons/users.icon.svg',
|
|
414
418
|
VideoCall: '@telus-uds/palettes-community.palette-casa/build/web/icons/video-call.icon.svg',
|
|
415
419
|
VideoChat: '@telus-uds/palettes-community.palette-casa/build/web/icons/video-chat.icon.svg',
|
|
@@ -426,7 +430,6 @@ module.exports = {
|
|
|
426
430
|
WifiCloud: '@telus-uds/palettes-community.palette-casa/build/web/icons/wifi-cloud.icon.svg',
|
|
427
431
|
CaretDownSmall: '@telus-uds/palettes-community.palette-casa/build/web/icons/caret-down-small.icon.svg',
|
|
428
432
|
CaretUpSmall: '@telus-uds/palettes-community.palette-casa/build/web/icons/caret-up-small.icon.svg',
|
|
429
|
-
ChevronDown: '@telus-uds/palettes-community.palette-casa/build/web/icons/chevron-down.icon.svg',
|
|
430
433
|
Error: '@telus-uds/palettes-community.palette-casa/build/web/icons/error.icon.svg',
|
|
431
434
|
Info: '@telus-uds/palettes-community.palette-casa/build/web/icons/info.icon.svg',
|
|
432
435
|
Warning: '@telus-uds/palettes-community.palette-casa/build/web/icons/warning.icon.svg'
|
package/package.json
CHANGED
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"prepublishOnly": "npm run build"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@telus-uds/system-tokens": "^1.4.
|
|
21
|
+
"@telus-uds/system-tokens": "^1.4.10",
|
|
22
22
|
"@telus-uds/palette-allium": "*"
|
|
23
23
|
},
|
|
24
24
|
"sideEffects": false,
|
|
25
|
-
"version": "4.6.
|
|
25
|
+
"version": "4.6.1"
|
|
26
26
|
}
|
|
File without changes
|
/package/build/web/fonts/{HNforTELUSSA-Display-v4_6_0.otf → HNforTELUSSA-Display-v4_6_1.otf}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|