8seneca-app-launcher 0.1.0 → 0.1.3

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/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as react from 'react';
2
2
  import { LucideIcon } from 'lucide-react';
3
3
 
4
- type AppId = "hrm" | "plane" | "portal";
4
+ type AppId = "hrm" | "plane";
5
5
  type AppTile = {
6
6
  id: AppId;
7
7
  name: string;
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
 
3
3
  // src/launcher.tsx
4
- import { Grid3x3 } from "lucide-react";
4
+ import { Grip } from "lucide-react";
5
5
 
6
6
  // src/apps.ts
7
- import { Briefcase, FolderKanban, LayoutGrid } from "lucide-react";
7
+ import { Briefcase, FolderKanban } from "lucide-react";
8
8
  var APPS = [
9
9
  {
10
10
  id: "hrm",
@@ -19,13 +19,6 @@ var APPS = [
19
19
  url: "https://projects.8seneca.com",
20
20
  icon: FolderKanban,
21
21
  color: "oklch(0.65 0.15 30)"
22
- },
23
- {
24
- id: "portal",
25
- name: "8Seneca Hub",
26
- url: "https://portal.8seneca.com",
27
- icon: LayoutGrid,
28
- color: "oklch(0.65 0.15 150)"
29
22
  }
30
23
  ];
31
24
  function resolveApps(urls) {
@@ -149,7 +142,7 @@ function AppLauncher({ urls, label = "Your apps", align = "end" } = {}) {
149
142
  "aria-controls": panelId,
150
143
  "aria-label": "Open app launcher",
151
144
  className: `${TRIGGER_BASE} h-9 w-9 hover:bg-launcher-hover`,
152
- children: /* @__PURE__ */ jsx2(Grid3x3, { className: "h-5 w-5", "aria-hidden": "true" })
145
+ children: /* @__PURE__ */ jsx2(Grip, { className: "h-5 w-5", "aria-hidden": "true" })
153
146
  }
154
147
  ),
155
148
  open && /* @__PURE__ */ jsx2("div", { className: `absolute top-11 z-50 ${align === "end" ? "right-0" : "left-0"}`, children: /* @__PURE__ */ jsx2(LauncherPanel, { tiles, hostname, label, id: panelId }) })
@@ -173,7 +166,7 @@ function AppLauncherFab({ urls, label = "Your apps" } = {}) {
173
166
  "aria-label": "Open app launcher",
174
167
  title: "Open apps",
175
168
  className: `${TRIGGER_BASE} size-12 bg-launcher-surface border border-launcher-border shadow-lg transition-transform hover:scale-105`,
176
- children: /* @__PURE__ */ jsx2(Grid3x3, { className: "size-5", "aria-hidden": "true" })
169
+ children: /* @__PURE__ */ jsx2(Grip, { className: "size-5", "aria-hidden": "true" })
177
170
  }
178
171
  )
179
172
  ] });
package/dist/styles.css CHANGED
@@ -12,3 +12,13 @@
12
12
  --color-launcher-border: var(--launcher-border, var(--border, oklch(0.92 0 0)));
13
13
  --color-launcher-ring: var(--launcher-ring, var(--ring, currentColor));
14
14
  }
15
+
16
+ /*
17
+ * The utilities this package's markup uses, declared explicitly.
18
+ * Scanning the package with `@source "…/node_modules/8seneca-app-launcher/dist"`
19
+ * only works under a hoisted node_modules: with pnpm's isolated linker the path
20
+ * is a symlink into .pnpm/, which Tailwind does not follow, and the layout
21
+ * utilities silently go missing. Listing them here makes the package
22
+ * self-contained — consumers only import this file.
23
+ */
24
+ @source inline("absolute bg-launcher-hover bg-launcher-surface border border-launcher-border bottom-16 bottom-6 cursor-default fixed flex flex-col focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-launcher-ring font-medium gap-1 gap-1.5 grid grid-cols-3 h-10 h-5 h-9 hover:bg-launcher-hover hover:scale-105 inline-flex items-center justify-center left-0 mb-3 no-underline p-3 p-4 px-2 relative right-0 right-6 rounded-2xl rounded-full rounded-xl shadow-lg size-12 size-5 text-[11px] text-launcher-fg text-launcher-muted text-white text-xs top-11 tracking-wide transition-colors transition-transform uppercase w-10 w-5 w-72 w-9 z-50");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "8seneca-app-launcher",
3
- "version": "0.1.0",
3
+ "version": "0.1.3",
4
4
  "description": "9-dot app launcher shared across the 8seneca apps",
5
5
  "license": "MIT",
6
6
  "repository": {