lightnet 4.11.0 → 4.11.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.
- package/CHANGELOG.md +10 -0
- package/package.json +1 -1
- package/src/components/CarouselSection.astro +2 -1
- package/src/components/HighlightSection.astro +1 -1
- package/src/components/MediaList.astro +1 -1
- package/src/components/SearchInput.astro +3 -3
- package/src/components/Section.astro +1 -1
- package/src/components/VideoPlayer.astro +1 -1
- package/src/layouts/Page.astro +7 -0
- package/src/layouts/components/footer/LanguageSelectionMenu.astro +1 -1
- package/src/layouts/components/header/LanguageSelectionMenu.astro +1 -1
- package/src/layouts/components/header/PageNavigation.astro +4 -6
- package/src/pages/details-page/components/AudioPlayer.astro +1 -1
- package/src/pages/details-page/components/ContentSection.astro +10 -12
- package/src/pages/details-page/components/main-details/EditButton.astro +1 -1
- package/src/pages/details-page/components/main-details/OpenButton.astro +1 -1
- package/src/pages/details-page/components/main-details/ShareButton.astro +1 -1
- package/src/pages/search-page/components/LoadingSkeleton.tsx +1 -1
- package/src/pages/search-page/components/SearchFilter.tsx +1 -1
- package/src/pages/search-page/components/SearchListItem.tsx +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# lightnet
|
|
2
2
|
|
|
3
|
+
## 4.11.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#481](https://github.com/LightNetDev/LightNet/pull/481) [`c8bd2a3`](https://github.com/LightNetDev/LightNet/commit/c8bd2a33c345bff6b3bded43115ed90cc8dde573) - Use direct Lucide icon imports instead of importing from the package barrel.
|
|
8
|
+
|
|
9
|
+
- [#481](https://github.com/LightNetDev/LightNet/pull/481) [`c8bd2a3`](https://github.com/LightNetDev/LightNet/commit/c8bd2a33c345bff6b3bded43115ed90cc8dde573) - Give the hero search bar a translucent glass background with backdrop blur.
|
|
10
|
+
|
|
11
|
+
- [#481](https://github.com/LightNetDev/LightNet/pull/481) [`c8bd2a3`](https://github.com/LightNetDev/LightNet/commit/c8bd2a33c345bff6b3bded43115ed90cc8dde573) - Add a subtle gradient at the bottom of the main section to blend into the footer.
|
|
12
|
+
|
|
3
13
|
## 4.11.0
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
import
|
|
2
|
+
import ChevronLeftIcon from "lucide-react/icons/chevron-left"
|
|
3
|
+
import ChevronRightIcon from "lucide-react/icons/chevron-right"
|
|
3
4
|
|
|
4
5
|
import Section, { type Props as SectionProps } from "./Section.astro"
|
|
5
6
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type { ImageMetadata } from "astro"
|
|
3
3
|
import { Image } from "astro:assets"
|
|
4
4
|
import { cacheDir } from "astro:config/server"
|
|
5
|
-
import
|
|
5
|
+
import ArrowRightIcon from "lucide-react/icons/arrow-right"
|
|
6
6
|
|
|
7
7
|
import { getImageTint } from "../utils/get-image-tint"
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
import type { ImageMetadata } from "astro"
|
|
3
3
|
import { Image } from "astro:assets"
|
|
4
|
-
import
|
|
4
|
+
import ChevronRightIcon from "lucide-react/icons/chevron-right"
|
|
5
5
|
|
|
6
6
|
import { getTranslatedMediaTypes } from "../content/get-media-types"
|
|
7
7
|
import { detailsPagePath } from "../utils/paths"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
import
|
|
2
|
+
import SearchIcon from "lucide-react/icons/search"
|
|
3
3
|
|
|
4
4
|
import { searchPagePath } from "../utils/paths"
|
|
5
5
|
|
|
@@ -14,11 +14,11 @@ const { t, currentLocale } = Astro.locals.i18n
|
|
|
14
14
|
action={searchPagePath(currentLocale)}
|
|
15
15
|
method="get"
|
|
16
16
|
role="search"
|
|
17
|
-
class="group flex w-full rounded-2xl shadow-sm outline outline-2 outline-offset-2 outline-transparent transition-all ease-in-out group-focus-within:outline-gray-400"
|
|
17
|
+
class="group flex w-full rounded-2xl bg-white/80 shadow-sm outline outline-2 outline-offset-2 outline-transparent backdrop-blur-lg transition-all ease-in-out group-focus-within:outline-gray-400"
|
|
18
18
|
class:list={[Astro.props.className]}
|
|
19
19
|
>
|
|
20
20
|
<input
|
|
21
|
-
class="grow rounded-s-2xl bg-
|
|
21
|
+
class="grow rounded-s-2xl bg-transparent px-4 py-3 text-gray-900 placeholder-gray-500 shadow-inner focus:outline-none"
|
|
22
22
|
enterkeyhint="search"
|
|
23
23
|
type="search"
|
|
24
24
|
name="search"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type { ImageMetadata } from "astro"
|
|
3
3
|
import { getImage } from "astro:assets"
|
|
4
4
|
import { Image } from "astro:assets"
|
|
5
|
-
import
|
|
5
|
+
import ExternalLinkIcon from "lucide-react/icons/external-link"
|
|
6
6
|
|
|
7
7
|
import { getLinkAttributes } from "../utils/link-attributes"
|
|
8
8
|
|
package/src/layouts/Page.astro
CHANGED
|
@@ -107,3 +107,10 @@ const { direction } = resolveLanguage(currentLocale)
|
|
|
107
107
|
{CustomFooter ? <CustomFooter /> : <Footer />}
|
|
108
108
|
</body>
|
|
109
109
|
</html>
|
|
110
|
+
|
|
111
|
+
<style>
|
|
112
|
+
main {
|
|
113
|
+
background: linear-gradient(to bottom, transparent, #fff) bottom / 100% 8rem
|
|
114
|
+
no-repeat;
|
|
115
|
+
}
|
|
116
|
+
</style>
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
---
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
SquarePenIcon,
|
|
7
|
-
} from "lucide-react"
|
|
2
|
+
import ExternalLinkIcon from "lucide-react/icons/external-link"
|
|
3
|
+
import MenuIcon from "lucide-react/icons/menu"
|
|
4
|
+
import SearchIcon from "lucide-react/icons/search"
|
|
5
|
+
import SquarePenIcon from "lucide-react/icons/square-pen"
|
|
8
6
|
import config from "virtual:lightnet/config"
|
|
9
7
|
|
|
10
8
|
import { isExternalUrl } from "../../../utils/is-external-url"
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
---
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
VideoIcon,
|
|
13
|
-
} from "lucide-react"
|
|
2
|
+
import ChevronRightIcon from "lucide-react/icons/chevron-right"
|
|
3
|
+
import CodeIcon from "lucide-react/icons/code"
|
|
4
|
+
import DownloadIcon from "lucide-react/icons/download"
|
|
5
|
+
import ImageIcon from "lucide-react/icons/image"
|
|
6
|
+
import LinkIcon from "lucide-react/icons/link"
|
|
7
|
+
import MusicIcon from "lucide-react/icons/music"
|
|
8
|
+
import PackageIcon from "lucide-react/icons/package"
|
|
9
|
+
import TextIcon from "lucide-react/icons/text"
|
|
10
|
+
import VideoIcon from "lucide-react/icons/video"
|
|
11
|
+
import { type LucideIcon } from "lucide-react/types"
|
|
14
12
|
|
|
15
13
|
import { getMediaItem } from "../../../content/get-media-items"
|
|
16
14
|
import { getLinkAttributes } from "../../../utils/link-attributes"
|