chore: upgrade @acid-info/lsd-react

This commit is contained in:
Hossein Mehrabi
2023-12-14 04:19:42 +03:30
parent 36ec83e35e
commit 37287fe656
13 changed files with 29 additions and 16 deletions
+1 -1
View File
@@ -21,7 +21,7 @@
},
"dependencies": {
"@acid-info/docusaurus-og": "^1.0.0-alpha.111",
"@acid-info/lsd-react": "^0.1.0-alpha.21",
"@acid-info/lsd-react": "^0.1.0-beta.1",
"@docusaurus/core": "^2.4.1",
"@docusaurus/mdx-loader": "^2.4.1",
"@docusaurus/module-type-aliases": "^2.4.1",
@@ -41,7 +41,7 @@
}
.mdx-cta-section__title {
@include lsd.typography('h6', false);
@include lsd.typography('h5', false);
}
.mdx-cta-section__description {
@@ -65,7 +65,7 @@
.mdx-cta-section--simple {
.mdx-cta-section__title {
@include lsd.typography('h6', false);
@include lsd.typography('h5', false);
}
.mdx-cta-section__description {
@@ -91,7 +91,7 @@
}
.mdx-cta-section__title {
@include lsd.typography('h6', false);
@include lsd.typography('h5', false);
}
.mdx-cta-section__description {
@@ -66,7 +66,7 @@ export const FeatureList: React.FC<FeatureListProps> = ({
{...props}
>
<Typography
variant="h6"
variant="h5"
component="h1"
className="mdx-feature-list__title"
>
@@ -91,7 +91,7 @@ export const FeatureList: React.FC<FeatureListProps> = ({
{feature.title}
</Typography>
<Typography
variant="h6"
variant="h5"
component="h3"
className="mdx-feature-list__feature-description"
>
@@ -104,7 +104,7 @@ export const SingleGithubChallenge: React.FC<SingleGithubChallengeProps> = ({
return (
<div className="mdx-ghc__container">
<Link href={issue.url} className="mdx-ghc__issue-title-link">
<Typography variant="h6" className="mdx-ghc__issue-title">
<Typography variant="h5" className="mdx-ghc__issue-title">
{issue.title}
</Typography>
</Link>
@@ -30,7 +30,7 @@ export const SingleDepartmentJobs: React.FC<SingleDepartmentJobsProps> = ({
className="mdx-jpd__job-link"
>
<div className="mdx-jpd__job-title-container">
<Typography variant="h6" className="mdx-jpd__job-title">
<Typography variant="h5" className="mdx-jpd__job-title">
{job.title}
</Typography>
<IconExternalLink className="mdx-jpd__external-link-icon" />
@@ -103,6 +103,6 @@
}
.mdx-profile-card__name {
@include lsd.typography('h6');
@include lsd.typography('h5');
}
}
@@ -73,7 +73,7 @@ export const Roadmap: React.FC<RoadmapProps> = ({
return (
<div className={clsx(className, 'mdx-roadmap')} {...props}>
<div className="mdx-roadmap__header">
<Typography component="h2" variant="h6">
<Typography component="h2" variant="h5">
{title}
</Typography>
@@ -21,7 +21,7 @@ export const SectionHeader: React.FC<SectionHeaderProps> = ({
<Typography
className="mdx-section-header__title"
component="h2"
variant="h6"
variant="h5"
>
{title}
</Typography>
@@ -29,7 +29,7 @@
}
.mdx-showcase-card__name {
@include lsd.typography('h6');
@include lsd.typography('h5');
}
.mdx-showcase-card__description {
@@ -130,7 +130,7 @@ export const TimelineItem: React.FC<TimelineItemProps> = ({
</Typography>
</div>
<Typography
variant="h6"
variant="h5"
component="p"
className="mdx-timeline-item__description"
>
@@ -62,7 +62,7 @@
}
.blog-wrapper--index h2[itemprop='headline'] {
@include lsd.typography('h6');
@include lsd.typography('h5');
> a {
text-decoration: none;
@@ -210,7 +210,7 @@
margin: 0 !important;
h3 {
@include lsd.typography('h6');
@include lsd.typography('h5');
}
a {
@@ -9,7 +9,7 @@ type SubtitleProps = {
export const Subtitle = ({ content }: SubtitleProps): JSX.Element => {
return (
<Typography variant="h6" className={clsx(styles.blogPostSubtitle)}>
<Typography variant="h5" className={clsx(styles.blogPostSubtitle)}>
{content}
</Typography>
)
+13
View File
@@ -62,6 +62,19 @@
react-hot-toast "^2.4.1"
react-use "^17.4.0"
"@acid-info/lsd-react@^0.1.0-beta.1":
version "0.1.0-beta.1"
resolved "https://registry.yarnpkg.com/@acid-info/lsd-react/-/lsd-react-0.1.0-beta.1.tgz#a6d8dc04a3422a1a840d032fc1d1730f4cc34e29"
integrity sha512-YletiehVgoXmMhIH03u67Dxg8ZiFNrGhEsvN9/+jCTnOaBQxf0/JgS7kqBeZUlqK88prU6P/QzZruiWsxVFKgA==
dependencies:
"@datepicker-react/hooks" "^2.8.4"
"@emotion/react" "^11.10.5"
"@emotion/styled" "^11.10.5"
clsx "^1.2.1"
lodash "^4.17.21"
react-hot-toast "^2.4.1"
react-use "^17.4.0"
"@algolia/autocomplete-core@1.8.2":
version "1.8.2"
resolved "https://registry.yarnpkg.com/@algolia/autocomplete-core/-/autocomplete-core-1.8.2.tgz#8d758c8652742e2761450d2b615a841fca24e10e"