@panomc/theme-core 1.3.0-dev.4 → 1.3.0-dev.5

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.
@@ -3084,6 +3084,12 @@
3084
3084
  word-wrap: break-word;
3085
3085
  word-break: break-word;
3086
3086
  }
3087
+ .pe-none {
3088
+ pointer-events: none;
3089
+ }
3090
+ .pe-auto {
3091
+ pointer-events: auto;
3092
+ }
3087
3093
  .rounded {
3088
3094
  border-radius: var(--bs-border-radius);
3089
3095
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panomc/theme-core",
3
- "version": "1.3.0-dev.4",
3
+ "version": "1.3.0-dev.5",
4
4
  "description": "The Pano theme engine: hooks factories, plugin engine, headless page controllers, default views and the theme CLI. Themes depend on this package instead of forking vanilla-theme.",
5
5
  "author": "PanoMC",
6
6
  "pano": {
@@ -61,7 +61,7 @@
61
61
  "@fortawesome/fontawesome-free": "^6.7.2"
62
62
  },
63
63
  "peerDependencies": {
64
- "@panomc/sdk": "^2.0.0-dev.4",
64
+ "@panomc/sdk": "^2.0.0-dev.5",
65
65
  "@sveltejs/adapter-node": "^6.0.0",
66
66
  "@sveltejs/kit": "^3.1.0",
67
67
  "@sveltejs/vite-plugin-svelte": "^7.3.1",
@@ -71,7 +71,7 @@
71
71
  "vite": "^8.3.4"
72
72
  },
73
73
  "devDependencies": {
74
- "@panomc/sdk": "2.0.0-dev.4",
74
+ "@panomc/sdk": "2.0.0-dev.5",
75
75
  "@sveltejs/adapter-node": "^6.0.0",
76
76
  "@sveltejs/kit": "^3.1.0",
77
77
  "@sveltejs/vite-plugin-svelte": "^7.3.1",
@@ -11,12 +11,12 @@
11
11
  style="background-position: center; height: {themeSettings.headerHeight || '256'}px;">
12
12
  <a href="/">
13
13
  <div
14
- class="position-absolute {logoPositionClasses} px-3"
14
+ class="position-absolute {logoPositionClasses} px-3 pe-none"
15
15
  style="padding-top: 80px; padding-bottom: 40px;"
16
16
  class:d-none={themeSettings.logoVisibility === false}>
17
17
  <img
18
18
  alt={$_("components.header.alt")}
19
- class={logoAnimationClass}
19
+ class="pano-header__image pe-auto {logoAnimationClass}"
20
20
  src="/api/v1/website-logo?hash={$session.siteInfo.websiteLogoHash}"
21
21
  style="object-fit: contain; width: {themeSettings.logoWidth || '256'}px; height: {themeSettings.logoHeight ? themeSettings.logoHeight + 'px' : 'auto'}; max-width: 100%;"
22
22
  title={$session.siteInfo.websiteName} />