@omniumretail/component-library 1.0.49 → 1.0.51
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/dist/bundle.js +27 -5
- package/dist/main.css +171 -0
- package/dist/types/components/CategoryReadOnly/CategoryReadOnly.stories.d.ts +4 -0
- package/dist/types/components/CategoryReadOnly/evaluationOptions.d.ts +10 -0
- package/dist/types/components/CategoryReadOnly/index.d.ts +9 -0
- package/dist/types/components/index.d.ts +1 -0
- package/package.json +1 -1
- package/src/components/AnalyticsBar/AnalyticsBar.stories.tsx +70 -14
- package/src/components/CategoryReadOnly/CategoryReadOnly.stories.tsx +270 -0
- package/src/components/CategoryReadOnly/evaluationOptions.tsx +81 -0
- package/src/components/CategoryReadOnly/index.tsx +254 -0
- package/src/components/CategoryReadOnly/styles.module.scss +182 -0
- package/src/components/index.tsx +1 -0
- package/src/locales/en.json +4 -0
- package/src/locales/es.json +4 -0
- package/src/locales/pt.json +4 -0
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
.categoryResponse {
|
|
2
|
+
display: grid;
|
|
3
|
+
grid-template-columns: 300px auto;
|
|
4
|
+
gap: 16px;
|
|
5
|
+
height: 100%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.sidebarWrapper {
|
|
9
|
+
background: #EBECED;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.contentWrapper {
|
|
13
|
+
background: var(--color-white);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.sidebarWrapper,
|
|
17
|
+
.contentWrapper {
|
|
18
|
+
padding: 20px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.title {
|
|
22
|
+
font-size: var(--font-size-body-4);
|
|
23
|
+
color: var(--color-blue);
|
|
24
|
+
margin-bottom: 36px;
|
|
25
|
+
font-weight: var(--font-weight-semibold);
|
|
26
|
+
text-transform: uppercase;
|
|
27
|
+
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.label {
|
|
31
|
+
padding-bottom: 15px;
|
|
32
|
+
font-weight: var(--font-weight-bold);
|
|
33
|
+
font-size: var(--font-size-body-4);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.cursorPointer {
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.subCategory {
|
|
41
|
+
padding-left: 16px;
|
|
42
|
+
|
|
43
|
+
.label {
|
|
44
|
+
font-weight: var(--font-weight-semibold);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.labelWrapper {
|
|
48
|
+
.subCategory {
|
|
49
|
+
.label {
|
|
50
|
+
font-weight: var(--font-weight-light);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.labelWrapper {
|
|
57
|
+
display: block;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.active {
|
|
61
|
+
color: var(--color-orange);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.details {
|
|
65
|
+
margin-bottom: 32px;
|
|
66
|
+
display: flex;
|
|
67
|
+
justify-content: space-between;
|
|
68
|
+
align-items: center;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.categoryName {
|
|
72
|
+
font-size: var(--font-size-body-4);
|
|
73
|
+
color: var(--color-blue);
|
|
74
|
+
font-weight: var(--font-weight-semibold);
|
|
75
|
+
margin-bottom: 8px;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.categoryDescription {
|
|
79
|
+
font-size: var(--font-size-body-3);
|
|
80
|
+
font-weight: var(--font-weight-light);
|
|
81
|
+
color: var(--color-black);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
// Questions
|
|
85
|
+
.questionWrapper {
|
|
86
|
+
display: flex;
|
|
87
|
+
flex-direction: row;
|
|
88
|
+
gap: 36px;
|
|
89
|
+
margin-bottom: 36px;
|
|
90
|
+
border-bottom: 1px solid rgba(var(--color-blue-rgb), .2);
|
|
91
|
+
padding-bottom: 4px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.questionWrapperOpenAnswer {
|
|
95
|
+
flex-direction: column;
|
|
96
|
+
border-bottom: 1px solid rgba(var(--color-blue-rgb), .2);
|
|
97
|
+
margin-bottom: 24px;
|
|
98
|
+
|
|
99
|
+
.question {
|
|
100
|
+
width: 100%;
|
|
101
|
+
border-bottom: none;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.answer {
|
|
105
|
+
width: 100%;
|
|
106
|
+
height: auto;
|
|
107
|
+
|
|
108
|
+
:global {
|
|
109
|
+
.ant-input {
|
|
110
|
+
min-height: 140px;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.ant-form-item {
|
|
114
|
+
margin-bottom: 16px;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.question {
|
|
121
|
+
width: calc(100% - 149px);
|
|
122
|
+
display: flex;
|
|
123
|
+
align-items: center;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.answer {
|
|
127
|
+
width: 130px;
|
|
128
|
+
min-width: 130px;
|
|
129
|
+
align-self: flex-end;
|
|
130
|
+
display: flex;
|
|
131
|
+
justify-content: space-between;
|
|
132
|
+
padding-right: 15px;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.answerOpenAnswer {
|
|
136
|
+
display: none;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.categoryGrades {
|
|
140
|
+
width: 130px;
|
|
141
|
+
min-width: 130px;
|
|
142
|
+
align-self: flex-end;
|
|
143
|
+
display: flex;
|
|
144
|
+
justify-content: space-between;
|
|
145
|
+
gap: 34px;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.subject {
|
|
149
|
+
font-size: var(--font-size-body-3);
|
|
150
|
+
font-weight: var(--font-weight-medium);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.description {
|
|
154
|
+
font-weight: var(--font-weight-light);
|
|
155
|
+
margin-bottom: 4px;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.gradeBox {
|
|
159
|
+
padding: 6px;
|
|
160
|
+
font-size: var(--font-size-body-4);
|
|
161
|
+
font-weight: var(--font-weight-medium);
|
|
162
|
+
color: var(--color-white);
|
|
163
|
+
border-radius: 5px;
|
|
164
|
+
display: inline-flex;
|
|
165
|
+
letter-spacing: 3px;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.categoryGradesWrapper {
|
|
169
|
+
background-color: rgba(217, 217, 217, 0.5);
|
|
170
|
+
border-radius: 5px;
|
|
171
|
+
padding: 8px 15px;
|
|
172
|
+
display: flex;
|
|
173
|
+
flex-direction: row;
|
|
174
|
+
gap: 50px;
|
|
175
|
+
align-items: center;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.categoryGradesTitle {
|
|
179
|
+
font-size: var(--font-size-body-3);
|
|
180
|
+
font-weight: var(--font-weight-medium);
|
|
181
|
+
color: var(--color-black);
|
|
182
|
+
}
|
package/src/components/index.tsx
CHANGED
package/src/locales/en.json
CHANGED
package/src/locales/es.json
CHANGED