@meddleware/ui 0.1.14 → 0.1.15

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.
@@ -0,0 +1,2 @@
1
+ /** Maps calendar month to season name and sets data-season on <html>. Call once at app init. */
2
+ export declare function useSeason(): void;
package/dist/ui.js CHANGED
@@ -512,7 +512,7 @@ function Le(e = "system") {
512
512
  };
513
513
  }
514
514
  //#endregion
515
- //#region src/composables/useSeason.js
515
+ //#region src/composables/useSeason.ts
516
516
  function Re() {
517
517
  if (typeof document > "u") return;
518
518
  let e = (/* @__PURE__ */ new Date()).getMonth(), t = e >= 2 && e <= 4 ? "spring" : e >= 5 && e <= 7 ? "summer" : e >= 8 && e <= 10 ? "autumn" : "winter";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meddleware/ui",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "Shared Vue 3 component library for @meddleware UIs \u2014 layout shell (header/sidebar/footer), colour-mode control, and primitives. Built on @meddleware/design-tokens.",
5
5
  "homepage": "https://docs.meddleware.co.uk/",
6
6
  "license": "0BSD",