cc-ui-library 2.2.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,25 +1,99 @@
1
- @mixin fontPoppins($size: 16px) {
2
- font-family: 'Poppins';
3
- font-size: $size;
1
+ @use '../../assets/styles/fonts';
2
+
3
+ .typography-container {
4
+ .typography-header {
5
+ & div {
6
+ @extend .font2Xl;
7
+ font-weight: 600;
8
+ }
9
+ & span {
10
+ @extend .fontSm;
11
+ font-weight: 400;
12
+ color: var(--tooltip-bg-color); // need to change color #7A7A7A
13
+ }
14
+ }
15
+ }
16
+ .font-display {
17
+ display: flex;
18
+ flex-direction: column;
19
+ gap: 20px;
4
20
  }
5
21
 
6
- .ff-text {
7
- @include fontPoppins();
22
+ .font-row {
23
+ display: flex;
24
+ justify-content: space-between;
25
+ padding: 20px;
26
+ }
8
27
 
9
- &--regular {
10
- font-weight: 400;
11
- }
12
- &--medium {
13
- font-weight: 500;
14
- }
15
- &--semi-bold {
28
+ .font-left {
29
+ width: 60%;
30
+ display: flex;
31
+ flex-direction: column;
32
+ border-right: 1px solid var(--border-color);
33
+ padding: 10px;
34
+ gap: 10px;
35
+
36
+ .font-name {
37
+ @extend .fontLg;
16
38
  font-weight: 600;
17
39
  }
18
- &--bold {
40
+
41
+ .font-sample {
42
+ @extend .font-size-80;
19
43
  font-weight: 700;
20
44
  }
21
- .required-asterisk {
22
- color: var(--input-error-text-color);
23
- padding-right: 4px;
45
+
46
+ .font-characters {
47
+ @extend .font2Xl;
48
+ font-weight: 400;
49
+ line-height: 36px;
50
+ letter-spacing: 0.16em;
51
+ white-space: pre;
52
+ }
53
+ }
54
+
55
+ .font-right {
56
+ width: 40%;
57
+ display: flex;
58
+ flex-direction: column;
59
+ justify-content: center;
60
+ padding: 20px;
61
+ gap: 20px;
62
+
63
+ .font-right-section {
64
+ display: flex;
65
+ align-items: center;
66
+
67
+ .font-sample-large {
68
+ font-size: 40px;
69
+ margin-right: 10px;
70
+ }
71
+
72
+ // Apply specific font weight different sections
73
+ &.bold {
74
+ @extend .font2Xl;
75
+ font-weight: 700;
76
+ }
77
+ &.semi-bold {
78
+ @extend .font2Xl;
79
+ font-weight: 600;
80
+ }
81
+ &.regular {
82
+ @extend .font2Xl;
83
+ font-weight: 400;
84
+ }
85
+
86
+ .font-info {
87
+ display: flex;
88
+ flex-direction: column;
89
+ align-items: flex-start;
90
+
91
+ // Specific styling for the font-size part
92
+ .font-size {
93
+ @extend .fontLg;
94
+ font-weight: 400;
95
+ color: var(--tooltip-bg-color);
96
+ }
97
+ }
24
98
  }
25
99
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cc-ui-library",
3
3
  "description": "CC-UI-Library is an open-source React component library ",
4
- "version": "2.2.0",
4
+ "version": "2.4.0",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.esm.js",
7
7
  "types": "lib/index.d.ts",