touchstudy-core 0.1.178 → 0.1.179

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.
@@ -0,0 +1,12 @@
1
+ import { MouseEvent } from "react";
2
+ import { FC } from "react";
3
+ import { ExamSessionResponse } from "../../configs/types";
4
+ interface Props {
5
+ isSelected: boolean;
6
+ isPrintSelected?: (code: string) => boolean;
7
+ session: ExamSessionResponse;
8
+ onViewResult: (code: string) => void;
9
+ onSelectPrint?: (e: MouseEvent<any>, code: string) => void;
10
+ }
11
+ declare const ExamSessionItem: FC<Props>;
12
+ export default ExamSessionItem;
@@ -0,0 +1,9 @@
1
+ import { FC } from "react";
2
+ import { ExamSessionResponse } from "../../configs/types";
3
+ interface Props {
4
+ isSelected: boolean;
5
+ session: ExamSessionResponse;
6
+ onViewResult: (code: string) => void;
7
+ }
8
+ declare const GeneralExamItem: FC<Props>;
9
+ export default GeneralExamItem;
@@ -0,0 +1,19 @@
1
+ import { MouseEvent } from "react";
2
+ import { FC } from "react";
3
+ import { ExamSessionResponse } from "../../configs/types";
4
+ import { Role } from "../../../../utils";
5
+ interface Props {
6
+ role: Role;
7
+ activeCode?: string;
8
+ examSessions: ExamSessionResponse[];
9
+ date: string;
10
+ index: number;
11
+ open: boolean;
12
+ itemActive: boolean;
13
+ isPrintSelected?: (code: string) => boolean;
14
+ onSelectPrint?: (e: MouseEvent<any>, code: string) => void;
15
+ onToggle: (index: number) => void;
16
+ onViewResult: (code: string) => void;
17
+ }
18
+ declare const MonthGroupedExamSessionItem: FC<Props>;
19
+ export default MonthGroupedExamSessionItem;
@@ -0,0 +1,3 @@
1
+ import ExamSessionItem from "./ExamSessionItem";
2
+ import MonthGroupedExamSessionItem from "./MonthGroupedExamSessionItem";
3
+ export { ExamSessionItem, MonthGroupedExamSessionItem };
package/dist/index.css CHANGED
@@ -501,19 +501,6 @@
501
501
  text-overflow: ellipsis;
502
502
  word-wrap: break-word; }
503
503
 
504
- ._3bvVg ._z624V {
505
- transition: background-color 0.3s ease; }
506
- ._3bvVg ._z624V:hover {
507
- background-color: #3DC674; }
508
- ._3bvVg ._z624V:hover ._2KJX4 {
509
- color: #F0FFF6; }
510
- ._3bvVg ._z624V:hover ._1mwlk {
511
- color: #F0FFF6; }
512
- ._3bvVg ._z624V:hover ._maff_ {
513
- color: #F0FFF6; }
514
- ._3bvVg ._z624V ._maff_ {
515
- color: #3DC674; }
516
-
517
504
  ._2mYOt ._1H9qR:nth-child(1) {
518
505
  font-family: "Pretendard";
519
506
  font-size: 20px;