lightnet 4.4.3 → 4.5.0

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 CHANGED
@@ -1,5 +1,15 @@
1
1
  # lightnet
2
2
 
3
+ ## 4.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#417](https://github.com/LightNetDev/LightNet/pull/417) [`ce1eaa9`](https://github.com/LightNetDev/LightNet/commit/ce1eaa9acf8dc50b6cd413be3553c53068b4d234) - Add disableOverlay property to Hero Section.
8
+
9
+ ### Patch Changes
10
+
11
+ - [#417](https://github.com/LightNetDev/LightNet/pull/417) [`ce1eaa9`](https://github.com/LightNetDev/LightNet/commit/ce1eaa9acf8dc50b6cd413be3553c53068b4d234) - Update dependencies
12
+
3
13
  ## 4.4.3
4
14
 
5
15
  ### Patch Changes
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "LightNet makes it easy to run your own digital media library.",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
- "version": "4.4.3",
6
+ "version": "4.5.0",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "https://github.com/LightNetDev/lightnet",
@@ -52,7 +52,7 @@
52
52
  },
53
53
  "dependencies": {
54
54
  "@astrojs/react": "^5.0.7",
55
- "@iconify-json/lucide": "^1.2.113",
55
+ "@iconify-json/lucide": "^1.2.114",
56
56
  "@iconify-json/mdi": "^1.2.3",
57
57
  "@iconify/tailwind": "^1.2.0",
58
58
  "@tailwindcss/typography": "^0.5.20",
@@ -62,7 +62,7 @@
62
62
  "embla-carousel-wheel-gestures": "^8.1.0",
63
63
  "fuse.js": "^7.4.2",
64
64
  "i18next": "^26.3.1",
65
- "lucide-react": "^1.18.0",
65
+ "lucide-react": "^1.21.0",
66
66
  "marked": "^18.0.5",
67
67
  "postcss": "^8.5.15",
68
68
  "postcss-load-config": "^6.0.1",
@@ -71,7 +71,7 @@
71
71
  "devDependencies": {
72
72
  "@playwright/test": "^1.61.0",
73
73
  "@types/react": "^19.2.17",
74
- "astro": "^6.4.7",
74
+ "astro": "^6.4.8",
75
75
  "typescript": "^6.0.3",
76
76
  "vitest": "^4.1.9",
77
77
  "@internal/e2e-test-utils": "^0.0.1"
@@ -14,6 +14,7 @@ interface Props {
14
14
  subtitleClass?: string
15
15
  className?: string
16
16
  showSearch?: boolean
17
+ disableOverlay?: boolean
17
18
  }
18
19
  const {
19
20
  image,
@@ -25,6 +26,7 @@ const {
25
26
  subtitleClass,
26
27
  className,
27
28
  showSearch = false,
29
+ disableOverlay = false,
28
30
  } = Astro.props
29
31
 
30
32
  const titleSizes = {
@@ -52,8 +54,11 @@ const subtitleSizes = {
52
54
  alt=""
53
55
  />
54
56
  <div
55
- class="absolute top-0 flex h-full w-full flex-col items-center justify-center bg-gradient-radial from-black/30 to-black/40 p-4 text-center text-gray-50"
56
- class:list={[className]}
57
+ class="absolute top-0 flex h-full w-full flex-col items-center justify-center p-4 text-center text-gray-50"
58
+ class:list={[
59
+ className,
60
+ !disableOverlay && "bg-gradient-radial from-black/30 to-black/40",
61
+ ]}
57
62
  >
58
63
  {
59
64
  title && (