yootd 0.2.44 → 0.2.46

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.
Files changed (68) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +43 -43
  3. package/dist/anchor/index.scss +23 -23
  4. package/dist/approval-process/index.scss +95 -95
  5. package/dist/areas/index.scss +21 -21
  6. package/dist/areas/types/types.d.ts +41 -41
  7. package/dist/areas-treeSelect/index.scss +6 -6
  8. package/dist/areas-treeSelect/types/type.d.ts +40 -40
  9. package/dist/aside/components/SortableItem.scss +289 -289
  10. package/dist/aside/index.scss +44 -44
  11. package/dist/aside/types/types.d.ts +82 -82
  12. package/dist/badge/index.scss +5 -5
  13. package/dist/buildings/types/types.d.ts +21 -21
  14. package/dist/button/index.scss +30 -30
  15. package/dist/cascader/index.scss +5 -5
  16. package/dist/courses/types/types.d.ts +18 -18
  17. package/dist/department/index.scss +6 -6
  18. package/dist/department/types/types.d.ts +23 -23
  19. package/dist/description/index.scss +10 -10
  20. package/dist/dictionary/types/types.d.ts +14 -14
  21. package/dist/drawer-modal/index.scss +42 -42
  22. package/dist/drawer-modal/types/types.d.ts +3 -3
  23. package/dist/dropdown/assets/arrow-down.svg +5 -5
  24. package/dist/dropdown-select/index.scss +6 -6
  25. package/dist/dropdown-select/types/type.d.ts +18 -18
  26. package/dist/empty/index.scss +15 -15
  27. package/dist/export/index.scss +6 -6
  28. package/dist/go-back/components/index.scss +5 -5
  29. package/dist/go-back/index.scss +33 -33
  30. package/dist/group-title/index.scss +31 -31
  31. package/dist/holiday/types/types.d.ts +22 -22
  32. package/dist/hooks/useBem.js +10 -10
  33. package/dist/image/index.scss +26 -26
  34. package/dist/input/index.scss +5 -5
  35. package/dist/job-title/types/types.d.ts +17 -17
  36. package/dist/modal/index.d.ts +1 -1
  37. package/dist/modal/index.scss +81 -81
  38. package/dist/pagination/index.scss +47 -47
  39. package/dist/preview/components/preview/phone.scss +7 -7
  40. package/dist/preview/components/reactflow/Controls.d.ts +1 -1
  41. package/dist/preview/components/reactflow/TopPreview.d.ts +1 -1
  42. package/dist/preview/index.scss +35 -35
  43. package/dist/preview/types/type.d.ts +22 -22
  44. package/dist/role/types/types.d.ts +22 -22
  45. package/dist/school/index.scss +21 -21
  46. package/dist/school/types/types.d.ts +85 -85
  47. package/dist/state/index.scss +89 -89
  48. package/dist/steps/index.scss +32 -32
  49. package/dist/student-dropdown/types/types.d.ts +44 -44
  50. package/dist/table/components/primary-header-row/index.scss +67 -67
  51. package/dist/table/components/primary-tbody-row/index.scss +5 -5
  52. package/dist/table/index.js +29 -13
  53. package/dist/table/index.scss +58 -33
  54. package/dist/tabs/index.scss +86 -86
  55. package/dist/tag/index.scss +4 -4
  56. package/dist/teacher/types/types.d.ts +33 -33
  57. package/dist/tree/index.scss +34 -34
  58. package/dist/upload/index.scss +115 -115
  59. package/dist/user-dropdown/types/types.d.ts +45 -45
  60. package/dist/video-player/index.js +7 -7
  61. package/dist/video-player/index.scss +339 -339
  62. package/dist/with-search-form/index.scss +11 -11
  63. package/dist/with-search-form/types/type.d.ts +3 -3
  64. package/dist/year-term/index.scss +21 -21
  65. package/dist/year-term/types/types.d.ts +39 -39
  66. package/dist/zones/index.scss +21 -21
  67. package/dist/zones/types/types.d.ts +26 -26
  68. package/package.json +93 -93
@@ -1,339 +1,339 @@
1
- .yot-video-player {
2
- display: flex;
3
- justify-content: center;
4
- align-items: center;
5
- &-container {
6
- width: 100%;
7
- height: 100%;
8
- position: relative;
9
- overflow: hidden;
10
- display: flex;
11
- justify-content: center;
12
- align-items: center;
13
- flex-shrink: 0;
14
-
15
- &:hover & {
16
- &__progress {
17
- visibility: visible;
18
- }
19
- &__controls-content {
20
- visibility: visible;
21
- }
22
- &__controls-bottom-progress__bar {
23
- visibility: hidden;
24
- }
25
- }
26
-
27
- &__video {
28
- width: 100%;
29
- height: 100%;
30
- object-fit: fill;
31
- }
32
-
33
- &__controls {
34
- position: absolute;
35
- left: 0;
36
- bottom: 0;
37
- width: 100%;
38
- height: 55px;
39
- display: flex;
40
- flex-direction: column;
41
- justify-content: flex-end;
42
- z-index: 10;
43
- }
44
-
45
- &__mask {
46
- width: 100%;
47
- height: 100px;
48
- background-repeat: repeat-x;
49
- background-position: bottom;
50
- position: absolute;
51
- left: 0;
52
- bottom: 0;
53
- }
54
-
55
- &__progress {
56
- height: 16px;
57
- padding: 6px 0px;
58
- margin: 0px 6px;
59
- overflow: hidden;
60
- position: relative;
61
- box-sizing: border-box;
62
- cursor: pointer;
63
- visibility: hidden;
64
- }
65
-
66
- &__progress-bar {
67
- width: 100%;
68
- height: 3px;
69
- background-color: #e1e1e133;
70
- position: absolute;
71
- }
72
-
73
- &__controls-content {
74
- width: 100%;
75
- height: 100%;
76
- display: flex;
77
- align-items: center;
78
- box-sizing: border-box;
79
- padding: 0px 6px;
80
- user-select: none;
81
- position: relative;
82
- z-index: 10;
83
- visibility: hidden;
84
- }
85
-
86
- &__controls-icon {
87
- width: 16px;
88
- height: 16px;
89
- cursor: pointer;
90
- margin-right: 20px;
91
- }
92
-
93
- &__controls-text {
94
- margin-right: 20px;
95
- font-size: 12px;
96
- white-space: nowrap;
97
- }
98
-
99
- &__controls-speed {
100
- margin-left: auto;
101
- margin-right: 20px;
102
- font-size: 12px;
103
- cursor: pointer;
104
- white-space: nowrap;
105
- position: relative;
106
-
107
- &--disabled {
108
- pointer-events: none;
109
- color: gray;
110
- }
111
- }
112
-
113
- &__controls-speed-picker-container {
114
- position: absolute;
115
- left: 50%;
116
- bottom: 24px;
117
- width: 70px;
118
- margin-left: -35px;
119
- border-radius: 4px;
120
- }
121
-
122
- &__controls-speeds {
123
- height: 36px;
124
- display: flex;
125
- justify-content: center;
126
- align-items: center;
127
- color: white;
128
-
129
- &--selected {
130
- color: #00aeec;
131
- }
132
- }
133
-
134
- &__controls-volume {
135
- position: relative;
136
- margin-right: 20px;
137
- display: flex;
138
- align-items: center;
139
-
140
- &__icon {
141
- width: 16px;
142
- height: 16px;
143
- cursor: pointer;
144
-
145
- &--disabled {
146
- pointer-events: none;
147
- }
148
- }
149
-
150
- &__slider {
151
- position: absolute;
152
- left: 50%;
153
- bottom: 24px;
154
- width: 30px;
155
- height: 100px;
156
- margin-left: -15px;
157
- padding-bottom: 5px;
158
- display: flex;
159
- flex-direction: column;
160
- align-items: center;
161
- overflow: hidden;
162
- background-color: rgba(0, 0, 0, 0.8);
163
- color: white;
164
- overflow: hidden;
165
-
166
- &__number {
167
- height: 28px;
168
- display: flex;
169
- justify-content: center;
170
- align-items: center;
171
-
172
- &__text {
173
- font-size: 12px;
174
- }
175
- }
176
-
177
- &__progress-bar {
178
- display: flex;
179
- flex: 1;
180
- position: relative;
181
- flex-direction: column;
182
- align-items: center;
183
- padding-bottom: 4px;
184
-
185
- &__line {
186
- background-color: white;
187
- width: 4px;
188
- height: 100%;
189
- border-radius: 4px;
190
- position: relative;
191
- overflow: hidden;
192
-
193
- &__button-1 {
194
- position: absolute;
195
- width: 4px;
196
- height: 100%;
197
- background-color: #00aeec;
198
- }
199
- }
200
-
201
- &__button-2 {
202
- position: absolute;
203
- width: 10px;
204
- height: 10px;
205
- border-radius: 50%;
206
- background-color: #00aeec;
207
- }
208
- }
209
- }
210
- }
211
-
212
- &__controls-capture {
213
- position: relative;
214
- margin-right: 20px;
215
- display: flex;
216
- align-items: center;
217
-
218
- svg {
219
- width: 16px;
220
- height: 16px;
221
- cursor: pointer;
222
- }
223
- }
224
-
225
- &__controls-download {
226
- position: relative;
227
- margin-right: 20px;
228
- display: flex;
229
- align-items: center;
230
-
231
- svg {
232
- width: 16px;
233
- height: 16px;
234
- cursor: pointer;
235
- }
236
-
237
- &__downloading-icon {
238
- animation: downloadIconSpin 1s linear infinite;
239
- }
240
- }
241
-
242
- &__controls-setting {
243
- position: relative;
244
- margin-right: 20px;
245
- display: flex;
246
- align-items: center;
247
-
248
- svg {
249
- width: 16px;
250
- height: 16px;
251
- cursor: pointer;
252
- }
253
-
254
- &__panel {
255
- background-color: rgba(0, 0, 0, 0.8);
256
- width: 96px;
257
- left: 50%;
258
- margin-left: -48px;
259
- margin-bottom: 40px;
260
- bottom: 0;
261
- position: absolute;
262
- font-size: 12px;
263
- padding: 0 12px;
264
- border-radius: 4px;
265
-
266
- &__item {
267
- color: white;
268
- width: 100%;
269
- height: 40px;
270
- display: flex;
271
- align-items: center;
272
-
273
- &__checkbox {
274
- margin-left: 8px;
275
- cursor: pointer;
276
- }
277
- }
278
- }
279
- }
280
-
281
- &__controls-full-screen {
282
- width: 16px;
283
- height: 16px;
284
- cursor: pointer;
285
- }
286
-
287
- &__controls-bottom-progress {
288
- &__bar {
289
- position: relative;
290
- left: 0px;
291
- bottom: 0px;
292
- width: 100%;
293
- height: 2px;
294
- z-index: 10;
295
-
296
- &__item-1 {
297
- width: 100%;
298
- height: 100%;
299
- background-color: #e1e1e133;
300
- position: absolute;
301
- }
302
-
303
- &__item-2 {
304
- position: absolute;
305
- height: 100%;
306
- background-color: #e1e1e14d;
307
- }
308
-
309
- &__item-3 {
310
- height: 100%;
311
- background-color: #00aeec;
312
- position: absolute;
313
- }
314
- }
315
- }
316
-
317
- &__canvas {
318
- position: absolute;
319
- transform-origin: center;
320
- }
321
- }
322
-
323
- &--full-screened {
324
- transform: rotate(90deg);
325
- transform-origin: center;
326
- width: 100vh !important;
327
- height: 100vw !important;
328
- }
329
- }
330
-
331
- @keyframes downloadIconSpin {
332
- 0% {
333
- transform: rotate(0deg);
334
- }
335
-
336
- 100% {
337
- transform: rotate(360deg);
338
- }
339
- }
1
+ .yot-video-player {
2
+ display: flex;
3
+ justify-content: center;
4
+ align-items: center;
5
+ &-container {
6
+ width: 100%;
7
+ height: 100%;
8
+ position: relative;
9
+ overflow: hidden;
10
+ display: flex;
11
+ justify-content: center;
12
+ align-items: center;
13
+ flex-shrink: 0;
14
+
15
+ &:hover & {
16
+ &__progress {
17
+ visibility: visible;
18
+ }
19
+ &__controls-content {
20
+ visibility: visible;
21
+ }
22
+ &__controls-bottom-progress__bar {
23
+ visibility: hidden;
24
+ }
25
+ }
26
+
27
+ &__video {
28
+ width: 100%;
29
+ height: 100%;
30
+ object-fit: fill;
31
+ }
32
+
33
+ &__controls {
34
+ position: absolute;
35
+ left: 0;
36
+ bottom: 0;
37
+ width: 100%;
38
+ height: 55px;
39
+ display: flex;
40
+ flex-direction: column;
41
+ justify-content: flex-end;
42
+ z-index: 10;
43
+ }
44
+
45
+ &__mask {
46
+ width: 100%;
47
+ height: 100px;
48
+ background-repeat: repeat-x;
49
+ background-position: bottom;
50
+ position: absolute;
51
+ left: 0;
52
+ bottom: 0;
53
+ }
54
+
55
+ &__progress {
56
+ height: 16px;
57
+ padding: 6px 0px;
58
+ margin: 0px 6px;
59
+ overflow: hidden;
60
+ position: relative;
61
+ box-sizing: border-box;
62
+ cursor: pointer;
63
+ visibility: hidden;
64
+ }
65
+
66
+ &__progress-bar {
67
+ width: 100%;
68
+ height: 3px;
69
+ background-color: #e1e1e133;
70
+ position: absolute;
71
+ }
72
+
73
+ &__controls-content {
74
+ width: 100%;
75
+ height: 100%;
76
+ display: flex;
77
+ align-items: center;
78
+ box-sizing: border-box;
79
+ padding: 0px 6px;
80
+ user-select: none;
81
+ position: relative;
82
+ z-index: 10;
83
+ visibility: hidden;
84
+ }
85
+
86
+ &__controls-icon {
87
+ width: 16px;
88
+ height: 16px;
89
+ cursor: pointer;
90
+ margin-right: 20px;
91
+ }
92
+
93
+ &__controls-text {
94
+ margin-right: 20px;
95
+ font-size: 12px;
96
+ white-space: nowrap;
97
+ }
98
+
99
+ &__controls-speed {
100
+ margin-left: auto;
101
+ margin-right: 20px;
102
+ font-size: 12px;
103
+ cursor: pointer;
104
+ white-space: nowrap;
105
+ position: relative;
106
+
107
+ &--disabled {
108
+ pointer-events: none;
109
+ color: gray;
110
+ }
111
+ }
112
+
113
+ &__controls-speed-picker-container {
114
+ position: absolute;
115
+ left: 50%;
116
+ bottom: 24px;
117
+ width: 70px;
118
+ margin-left: -35px;
119
+ border-radius: 4px;
120
+ }
121
+
122
+ &__controls-speeds {
123
+ height: 36px;
124
+ display: flex;
125
+ justify-content: center;
126
+ align-items: center;
127
+ color: white;
128
+
129
+ &--selected {
130
+ color: #00aeec;
131
+ }
132
+ }
133
+
134
+ &__controls-volume {
135
+ position: relative;
136
+ margin-right: 20px;
137
+ display: flex;
138
+ align-items: center;
139
+
140
+ &__icon {
141
+ width: 16px;
142
+ height: 16px;
143
+ cursor: pointer;
144
+
145
+ &--disabled {
146
+ pointer-events: none;
147
+ }
148
+ }
149
+
150
+ &__slider {
151
+ position: absolute;
152
+ left: 50%;
153
+ bottom: 24px;
154
+ width: 30px;
155
+ height: 100px;
156
+ margin-left: -15px;
157
+ padding-bottom: 5px;
158
+ display: flex;
159
+ flex-direction: column;
160
+ align-items: center;
161
+ overflow: hidden;
162
+ background-color: rgba(0, 0, 0, 0.8);
163
+ color: white;
164
+ overflow: hidden;
165
+
166
+ &__number {
167
+ height: 28px;
168
+ display: flex;
169
+ justify-content: center;
170
+ align-items: center;
171
+
172
+ &__text {
173
+ font-size: 12px;
174
+ }
175
+ }
176
+
177
+ &__progress-bar {
178
+ display: flex;
179
+ flex: 1;
180
+ position: relative;
181
+ flex-direction: column;
182
+ align-items: center;
183
+ padding-bottom: 4px;
184
+
185
+ &__line {
186
+ background-color: white;
187
+ width: 4px;
188
+ height: 100%;
189
+ border-radius: 4px;
190
+ position: relative;
191
+ overflow: hidden;
192
+
193
+ &__button-1 {
194
+ position: absolute;
195
+ width: 4px;
196
+ height: 100%;
197
+ background-color: #00aeec;
198
+ }
199
+ }
200
+
201
+ &__button-2 {
202
+ position: absolute;
203
+ width: 10px;
204
+ height: 10px;
205
+ border-radius: 50%;
206
+ background-color: #00aeec;
207
+ }
208
+ }
209
+ }
210
+ }
211
+
212
+ &__controls-capture {
213
+ position: relative;
214
+ margin-right: 20px;
215
+ display: flex;
216
+ align-items: center;
217
+
218
+ svg {
219
+ width: 16px;
220
+ height: 16px;
221
+ cursor: pointer;
222
+ }
223
+ }
224
+
225
+ &__controls-download {
226
+ position: relative;
227
+ margin-right: 20px;
228
+ display: flex;
229
+ align-items: center;
230
+
231
+ svg {
232
+ width: 16px;
233
+ height: 16px;
234
+ cursor: pointer;
235
+ }
236
+
237
+ &__downloading-icon {
238
+ animation: downloadIconSpin 1s linear infinite;
239
+ }
240
+ }
241
+
242
+ &__controls-setting {
243
+ position: relative;
244
+ margin-right: 20px;
245
+ display: flex;
246
+ align-items: center;
247
+
248
+ svg {
249
+ width: 16px;
250
+ height: 16px;
251
+ cursor: pointer;
252
+ }
253
+
254
+ &__panel {
255
+ background-color: rgba(0, 0, 0, 0.8);
256
+ width: 96px;
257
+ left: 50%;
258
+ margin-left: -48px;
259
+ margin-bottom: 40px;
260
+ bottom: 0;
261
+ position: absolute;
262
+ font-size: 12px;
263
+ padding: 0 12px;
264
+ border-radius: 4px;
265
+
266
+ &__item {
267
+ color: white;
268
+ width: 100%;
269
+ height: 40px;
270
+ display: flex;
271
+ align-items: center;
272
+
273
+ &__checkbox {
274
+ margin-left: 8px;
275
+ cursor: pointer;
276
+ }
277
+ }
278
+ }
279
+ }
280
+
281
+ &__controls-full-screen {
282
+ width: 16px;
283
+ height: 16px;
284
+ cursor: pointer;
285
+ }
286
+
287
+ &__controls-bottom-progress {
288
+ &__bar {
289
+ position: relative;
290
+ left: 0px;
291
+ bottom: 0px;
292
+ width: 100%;
293
+ height: 2px;
294
+ z-index: 10;
295
+
296
+ &__item-1 {
297
+ width: 100%;
298
+ height: 100%;
299
+ background-color: #e1e1e133;
300
+ position: absolute;
301
+ }
302
+
303
+ &__item-2 {
304
+ position: absolute;
305
+ height: 100%;
306
+ background-color: #e1e1e14d;
307
+ }
308
+
309
+ &__item-3 {
310
+ height: 100%;
311
+ background-color: #00aeec;
312
+ position: absolute;
313
+ }
314
+ }
315
+ }
316
+
317
+ &__canvas {
318
+ position: absolute;
319
+ transform-origin: center;
320
+ }
321
+ }
322
+
323
+ &--full-screened {
324
+ transform: rotate(90deg);
325
+ transform-origin: center;
326
+ width: 100vh !important;
327
+ height: 100vw !important;
328
+ }
329
+ }
330
+
331
+ @keyframes downloadIconSpin {
332
+ 0% {
333
+ transform: rotate(0deg);
334
+ }
335
+
336
+ 100% {
337
+ transform: rotate(360deg);
338
+ }
339
+ }
@@ -1,11 +1,11 @@
1
- .yot-WithSearchForm {
2
- &-container {
3
- display: flex;
4
- flex-wrap: wrap;
5
- }
6
- &__expanded {
7
- color: #4d8de2;
8
- font-size: 14px;
9
- cursor: pointer;
10
- }
11
- }
1
+ .yot-WithSearchForm {
2
+ &-container {
3
+ display: flex;
4
+ flex-wrap: wrap;
5
+ }
6
+ &__expanded {
7
+ color: #4d8de2;
8
+ font-size: 14px;
9
+ cursor: pointer;
10
+ }
11
+ }