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