-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5522d98
commit f25e59e
Showing
74 changed files
with
432 additions
and
809 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode", "ZixuanChen.vitest-explorer"] | ||
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode", "ZixuanChen.vitest-explorer"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,5 @@ | ||
interface SMTextColorProperties { | ||
readonly italicized?: boolean | ||
readonly text: string | undefined // Use a boolean to determine if text should be italicized | ||
readonly italicized?: boolean; | ||
readonly text: string | undefined; // Use a boolean to determine if text should be italicized | ||
} | ||
export const SMTextColor = ({ italicized, text }: SMTextColorProperties) => ( | ||
<span className={`orange-color ${italicized ? 'font-italic' : ''}`}> | ||
{text} | ||
</span> | ||
); | ||
export const SMTextColor = ({ italicized, text }: SMTextColorProperties) => <span className={`orange-color ${italicized ? 'font-italic' : ''}`}>{text}</span>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,8 @@ | ||
import { type ChildButtonProps as ChildButtonProperties } from './BaseButton'; | ||
import BaseButton from './BaseButton'; | ||
|
||
const AutoSetButton: React.FC<ChildButtonProperties> = ({ | ||
disabled = true, | ||
onClick, | ||
tooltip = 'Auto Set' | ||
}) => ( | ||
<BaseButton | ||
disabled={disabled} | ||
icon="pi-sort-numeric-up-alt" | ||
onClick={onClick} | ||
tooltip={tooltip} | ||
/> | ||
const AutoSetButton: React.FC<ChildButtonProperties> = ({ disabled = true, onClick, tooltip = 'Auto Set' }) => ( | ||
<BaseButton disabled={disabled} icon="pi-sort-numeric-up-alt" onClick={onClick} tooltip={tooltip} /> | ||
); | ||
|
||
export default AutoSetButton; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,7 @@ | ||
import BaseButton, { type ChildButtonProps as ChildButtonProperties } from './BaseButton'; | ||
|
||
const BanButton: React.FC<ChildButtonProperties> = ({ | ||
className, | ||
disabled = false, | ||
onClick, | ||
tooltip = '' | ||
}) => ( | ||
<BaseButton | ||
className={className} | ||
disabled={disabled} | ||
icon="pi-ban" | ||
iconFilled={false} | ||
onClick={onClick} | ||
tooltip={tooltip} | ||
/> | ||
const BanButton: React.FC<ChildButtonProperties> = ({ className, disabled = false, onClick, tooltip = '' }) => ( | ||
<BaseButton className={className} disabled={disabled} icon="pi-ban" iconFilled={false} onClick={onClick} tooltip={tooltip} /> | ||
); | ||
|
||
export default BanButton; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,7 @@ | ||
import BaseButton, { type ChildButtonProps as ChildButtonProperties } from './BaseButton'; | ||
|
||
const BookButton: React.FC<ChildButtonProperties> = ({ | ||
disabled = false, | ||
iconFilled = true, | ||
label, | ||
onClick, | ||
tooltip = '' | ||
}) => ( | ||
<BaseButton | ||
disabled={disabled} | ||
icon="pi-book" | ||
iconFilled={iconFilled} | ||
label={label} | ||
onClick={onClick} | ||
tooltip={tooltip} | ||
/> | ||
const BookButton: React.FC<ChildButtonProperties> = ({ disabled = false, iconFilled = true, label, onClick, tooltip = '' }) => ( | ||
<BaseButton disabled={disabled} icon="pi-book" iconFilled={iconFilled} label={label} onClick={onClick} tooltip={tooltip} /> | ||
); | ||
|
||
export default BookButton; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,7 @@ | ||
import BaseButton, { type ChildButtonProps as ChildButtonProperties } from './BaseButton'; | ||
|
||
const ClearButton: React.FC<ChildButtonProperties> = ({ | ||
disabled = true, | ||
onClick, | ||
tooltip = '' | ||
}) => ( | ||
<BaseButton | ||
disabled={disabled} | ||
icon="pi-book" | ||
onClick={onClick} | ||
tooltip={tooltip} | ||
/> | ||
const ClearButton: React.FC<ChildButtonProperties> = ({ disabled = true, onClick, tooltip = '' }) => ( | ||
<BaseButton disabled={disabled} icon="pi-book" onClick={onClick} tooltip={tooltip} /> | ||
); | ||
|
||
export default ClearButton; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
import BaseButton, { type ChildButtonProps as ChildButtonProperties } from './BaseButton'; | ||
|
||
const ClockButton: React.FC<ChildButtonProperties> = ({ disabled = false, label, onClick, tooltip = 'Time Shift', iconFilled }) => <BaseButton disabled={disabled} icon="pi-stopwatch" iconFilled={iconFilled} label={label} onClick={onClick} tooltip={tooltip} />; | ||
const ClockButton: React.FC<ChildButtonProperties> = ({ disabled = false, label, onClick, tooltip = 'Time Shift', iconFilled }) => ( | ||
<BaseButton disabled={disabled} icon="pi-stopwatch" iconFilled={iconFilled} label={label} onClick={onClick} tooltip={tooltip} /> | ||
); | ||
|
||
export default ClockButton; |
Oops, something went wrong.