opsfuse-ui 0.1.23 → 0.1.25
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/.claude/skills/brief-to-tasks/SKILL.md +74 -74
- package/.claude/skills/design-brief/SKILL.md +120 -120
- package/.claude/skills/design-flow/SKILL.md +124 -124
- package/.claude/skills/design-review/SKILL.md +249 -249
- package/.claude/skills/design-tokens/SKILL.md +198 -198
- package/.claude/skills/frontend-design/SKILL.md +144 -144
- package/.claude/skills/grill-me/SKILL.md +21 -21
- package/.claude/skills/information-architecture/SKILL.md +111 -111
- package/.claude/skills/opsfuse-color-theme/SKILL.md +257 -256
- package/.claude/skills/opsfuse-components/SKILL.md +1494 -1494
- package/.claude/skills/opsfuse-setup/SKILL.md +169 -168
- package/.claude/skills/opsfuse-ui-consistency/SKILL.md +169 -169
- package/LICENSE +17 -17
- package/README.md +214 -214
- package/dist/core.js +2 -2
- package/dist/extended.js +2 -2
- package/dist/index.js +3 -3
- package/dist/{input-group-COKxQf1K.js → input-group-DsOYhBRV.js} +2 -1
- package/dist/{input-otp-CBFh_Ez5.js → input-otp-B3Ht2pOf.js} +1 -1
- package/dist/lib/brand-theme.d.ts +1 -1
- package/dist/lib/brand-theme.d.ts.map +1 -1
- package/dist/style.css +256 -253
- package/dist/{toggle-group-UI-J1H4k.js → toggle-group-BLGOVp8G.js} +1 -1
- package/package.json +151 -151
- package/scripts/postinstall.mjs +66 -66
- package/scripts/unwrap-css-layers.mjs +36 -36
- package/theme.css +253 -250
- package/.claude/settings.local.json +0 -8
package/README.md
CHANGED
|
@@ -1,214 +1,214 @@
|
|
|
1
|
-
# opsfuse-ui
|
|
2
|
-
|
|
3
|
-
React component library (React 19, TypeScript, Tailwind CSS v4, shadcn-style primitives). Publish as an npm package and consume it from any app; you do **not** need to install shadcn in the host app.
|
|
4
|
-
|
|
5
|
-
## Install in an application
|
|
6
|
-
|
|
7
|
-
**Peer dependencies:** `react` and `react-dom` (same major as this package, e.g. React 19).
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
npm install opsfuse-ui
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
**Styles** — one import, once, in your app entry, **before** your own Tailwind/global stylesheet:
|
|
14
|
-
|
|
15
|
-
```ts
|
|
16
|
-
import "opsfuse-ui/styles.css";
|
|
17
|
-
|
|
18
|
-
import "./index.css"; // your own Tailwind/global CSS comes AFTER
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
That is the only stylesheet. It is precompiled and self-contained — it ships its own
|
|
22
|
-
utilities and design tokens, so **you do not run Tailwind over it and Tailwind is not
|
|
23
|
-
required in the host app at all**.
|
|
24
|
-
|
|
25
|
-
Component rules live in the built-in `@layer components`, so a Tailwind v4 host's own
|
|
26
|
-
`@layer utilities` (responsive grids, spacing, `md:*`, `hover:*`, ring) always wins —
|
|
27
|
-
regardless of import order. Design tokens stay un-layered so custom properties resolve
|
|
28
|
-
everywhere, including inside portals mounted at `<body>`.
|
|
29
|
-
|
|
30
|
-
Importing opsfuse **before** your own CSS additionally keeps your un-layered rules at
|
|
31
|
-
higher precedence, so `className` overrides on library components take effect.
|
|
32
|
-
|
|
33
|
-
**Optional — tokens in your own Tailwind.** If the host uses Tailwind v4 and you want
|
|
34
|
-
opsfuse tokens available to utilities you write yourself (`bg-primary`, `border-border`, …),
|
|
35
|
-
also import the token map into your Tailwind entry:
|
|
36
|
-
|
|
37
|
-
```css
|
|
38
|
-
@import "tailwindcss";
|
|
39
|
-
@import "opsfuse-ui/theme.css";
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
`tailwindcss` is declared as an **optional** peer dependency — npm will not install it or
|
|
43
|
-
warn unless you opt into this path.
|
|
44
|
-
|
|
45
|
-
**Fonts:** the library does not bundle fonts. In Next.js, load fonts in the host app and map them to `--font-sans` / `--font-mono`.
|
|
46
|
-
|
|
47
|
-
```tsx
|
|
48
|
-
// app/layout.tsx (Next.js)
|
|
49
|
-
import { Geist, Geist_Mono } from "next/font/google";
|
|
50
|
-
|
|
51
|
-
const geistSans = Geist({ subsets: ["latin"], variable: "--font-sans" });
|
|
52
|
-
const geistMono = Geist_Mono({ subsets: ["latin"], variable: "--font-mono" });
|
|
53
|
-
|
|
54
|
-
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
|
55
|
-
return (
|
|
56
|
-
<html lang="en" className={`${geistSans.variable} ${geistMono.variable}`}>
|
|
57
|
-
<body>{children}</body>
|
|
58
|
-
</html>
|
|
59
|
-
);
|
|
60
|
-
}
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
```css
|
|
64
|
-
/* app/globals.css (or your host app global stylesheet) */
|
|
65
|
-
:root {
|
|
66
|
-
--font-sans: var(--font-geist);
|
|
67
|
-
--font-mono: var(--font-geist-mono);
|
|
68
|
-
}
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
**Theme scope:** opsfuse is intended as the host's design system, not a sandboxed guest
|
|
72
|
-
widget. Design tokens (`--radius`, shadcn aliases like `--background`, …) are published
|
|
73
|
-
on `:root` so they resolve everywhere — including Radix/Vaul portals that mount at
|
|
74
|
-
`<body>`, outside any wrapper. Brand and dark-mode variants are still selected per
|
|
75
|
-
subtree via classes on the wrapper.
|
|
76
|
-
|
|
77
|
-
If your app defines its own `--background` / `--foreground` on `:root`, expect them to
|
|
78
|
-
be overridden; namespace yours or scope them to a container.
|
|
79
|
-
|
|
80
|
-
Wrap UI that uses this library with `OpsfuseThemeProvider` — it is the single root
|
|
81
|
-
wrapper and mounts every provider the imperative APIs need (`confirm()`, alerts,
|
|
82
|
-
dialogs, sheets, slider dialogs, tooltips, toasts). Do not re-mount those individually.
|
|
83
|
-
|
|
84
|
-
Available brands: `recruitsmartly` (default), `skillready`, `worklog`, `verity`.
|
|
85
|
-
|
|
86
|
-
Dark mode is detected from any common convention — `.dark`, `[data-theme="dark"]`,
|
|
87
|
-
`[data-mode="dark"]`, `[data-color-mode="dark"]` — on `html`, `body`, or the wrapper, so
|
|
88
|
-
`next-themes` works with no extra wiring.
|
|
89
|
-
|
|
90
|
-
```tsx
|
|
91
|
-
import { OpsfuseThemeProvider } from "opsfuse-ui";
|
|
92
|
-
|
|
93
|
-
export default function Layout({ children }: { children: React.ReactNode }) {
|
|
94
|
-
return (
|
|
95
|
-
<OpsfuseThemeProvider
|
|
96
|
-
brand="skillready"
|
|
97
|
-
darkMode={false} // optional manual override
|
|
98
|
-
className="min-h-svh"
|
|
99
|
-
>
|
|
100
|
-
{children}
|
|
101
|
-
</OpsfuseThemeProvider>
|
|
102
|
-
);
|
|
103
|
-
}
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
You can also add `className="opsfuse-ui"` on your own wrapper, or use the `OPSFUSE_THEME_SCOPE` constant.
|
|
107
|
-
|
|
108
|
-
**Components:**
|
|
109
|
-
|
|
110
|
-
```ts
|
|
111
|
-
import { Button, cn } from "opsfuse-ui";
|
|
112
|
-
```
|
|
113
|
-
|
|
114
|
-
**Entrypoints (recommended for performance-sensitive apps):**
|
|
115
|
-
|
|
116
|
-
| Entrypoint | Use |
|
|
117
|
-
|------------|-----|
|
|
118
|
-
| `opsfuse-ui` | Full library (includes everything) |
|
|
119
|
-
| `opsfuse-ui/core` | Core components only (no charts, calendar, carousel, etc.) |
|
|
120
|
-
| `opsfuse-ui/extended` | Heavier components (Chart, Calendar, Carousel, Command, Combobox, Drawer, InputOTP, Sonner) |
|
|
121
|
-
| `opsfuse-ui/recharts` | Re-exported Recharts with theme support |
|
|
122
|
-
| `opsfuse-ui/icons` | Flat re-export of `lucide-react` icons |
|
|
123
|
-
| `opsfuse-ui/date-fns` | Flat re-export of `date-fns` utilities |
|
|
124
|
-
| `opsfuse-ui/date-fns/locale` | Flat re-export of `date-fns` locales |
|
|
125
|
-
|
|
126
|
-
```ts
|
|
127
|
-
import { Button, Badge, OpsfuseRoot } from "opsfuse-ui/core";
|
|
128
|
-
import { ChartContainer, Calendar } from "opsfuse-ui/extended";
|
|
129
|
-
import { Recharts } from "opsfuse-ui/recharts";
|
|
130
|
-
import { Home, Search } from "opsfuse-ui/icons";
|
|
131
|
-
import { format, addDays } from "opsfuse-ui/date-fns";
|
|
132
|
-
```
|
|
133
|
-
|
|
134
|
-
**TypeScript:** use `moduleResolution` `"bundler"` or `"node16"` / `"nodenext"` so `package.json` `exports` resolve correctly.
|
|
135
|
-
|
|
136
|
-
**Next.js App Router:** supported. `"use client"` is preserved through bundling onto every
|
|
137
|
-
client chunk, so components can be imported directly from server components. Chunks with
|
|
138
|
-
no client code (icons, `cn`, variant maps) are deliberately left unmarked and stay usable
|
|
139
|
-
inside RSCs.
|
|
140
|
-
|
|
141
|
-
**Requirements:** Node `^20.19 || >=22.12` (installing from git runs the library
|
|
142
|
-
build, which needs a Vite-supported runtime), React 19 / React DOM 19.
|
|
143
|
-
|
|
144
|
-
**Tailwind v4 content** — if you scan the library for classes, include the built bundle:
|
|
145
|
-
|
|
146
|
-
```js
|
|
147
|
-
content: [
|
|
148
|
-
"./src/**/*.{js,ts,jsx,tsx}",
|
|
149
|
-
"./node_modules/opsfuse-ui/dist/index.js",
|
|
150
|
-
],
|
|
151
|
-
```
|
|
152
|
-
|
|
153
|
-
---
|
|
154
|
-
|
|
155
|
-
## Claude Code Skills
|
|
156
|
-
|
|
157
|
-
This library includes built-in [Claude Code](https://claude.ai/code) skills to help you build faster and maintain UI consistency. They are automatically installed into your project's `.claude/skills/` directory via a `postinstall` script.
|
|
158
|
-
|
|
159
|
-
Available skills:
|
|
160
|
-
- `/setup` — Step-by-step integration guide
|
|
161
|
-
- `/components` — Component API reference and usage patterns
|
|
162
|
-
- `/color-theme` — Design token and typography guide
|
|
163
|
-
- `/ui-consistency` — Best practices and mandatory code patterns
|
|
164
|
-
|
|
165
|
-
### IDE (VS Code / Cursor) — completions and auto-imports
|
|
166
|
-
|
|
167
|
-
TypeScript only suggests symbols from packages that are **listed in the host app’s `package.json`** (`dependencies` or `devDependencies`). Add `opsfuse-ui` there, then run **“TypeScript: Restart TS Server”** after install or upgrades.
|
|
168
|
-
|
|
169
|
-
Optional: set **`typescript.preferences.includePackageJsonAutoImports`** to **`on`** if you want broader auto-import behavior (the default **`auto`** only considers direct `package.json` dependencies).
|
|
170
|
-
|
|
171
|
-
---
|
|
172
|
-
|
|
173
|
-
## Development (this repo)
|
|
174
|
-
|
|
175
|
-
| Command | Description |
|
|
176
|
-
|----------------------|--------------------------------------------------|
|
|
177
|
-
| `npm run dev` | Vite dev server for the demo app |
|
|
178
|
-
| `npm run build` | Demo app build → `dist-demo/` |
|
|
179
|
-
| `npm run build:lib` | Library build → `dist/` (JS, CSS, types) for npm |
|
|
180
|
-
| `npm run storybook` | Storybook |
|
|
181
|
-
| `npm run test` | Library build, then unit + packaging tests |
|
|
182
|
-
| `npm run test:unit` | Tests only — packaging suite skips without `dist/` |
|
|
183
|
-
| `npm run lint` | ESLint |
|
|
184
|
-
|
|
185
|
-
The packaging suite asserts against real output in `dist/`, which is why `npm run
|
|
186
|
-
test` builds first. `test:unit` skips those cases when `dist/` is absent so a
|
|
187
|
-
watch loop stays fast; in CI the skip is an error rather than a pass.
|
|
188
|
-
|
|
189
|
-
### Type scale
|
|
190
|
-
|
|
191
|
-
Application density, not web-page density — calibrated between Stripe's dashboard (14px
|
|
192
|
-
base) and Linear (13px base). `text-sm` (13px) is the default for UI text.
|
|
193
|
-
|
|
194
|
-
| Token | Size | Use |
|
|
195
|
-
|-------|------|-----|
|
|
196
|
-
| `text-xs` | 11px | micro labels, kbd, table meta |
|
|
197
|
-
| `text-sm` | 13px | **default UI text** — buttons, inputs, menus, rows |
|
|
198
|
-
| `text-base` | 14px | body copy, card content |
|
|
199
|
-
| `text-lg` | 16px | section headings |
|
|
200
|
-
| `text-xl` | 18px | panel titles |
|
|
201
|
-
| `text-2xl` | 20px | page titles |
|
|
202
|
-
| `text-3xl` | 24px | view titles |
|
|
203
|
-
|
|
204
|
-
Headings `h1`–`h6` follow a matching 24 / 20 / 18 / 16 / 14 / 13px ladder.
|
|
205
|
-
|
|
206
|
-
Sizes are driven entirely by the `--text-*` scale in `theme.css`. Never set a base
|
|
207
|
-
`font-size` on `.opsfuse-ui` — the library build rewrites that selector to `:root`, which
|
|
208
|
-
would rebase every rem in the host app.
|
|
209
|
-
|
|
210
|
-
---
|
|
211
|
-
|
|
212
|
-
## License
|
|
213
|
-
|
|
214
|
-
Proprietary — all rights reserved. See [LICENSE](./LICENSE).
|
|
1
|
+
# opsfuse-ui
|
|
2
|
+
|
|
3
|
+
React component library (React 19, TypeScript, Tailwind CSS v4, shadcn-style primitives). Publish as an npm package and consume it from any app; you do **not** need to install shadcn in the host app.
|
|
4
|
+
|
|
5
|
+
## Install in an application
|
|
6
|
+
|
|
7
|
+
**Peer dependencies:** `react` and `react-dom` (same major as this package, e.g. React 19).
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install opsfuse-ui
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
**Styles** — one import, once, in your app entry, **before** your own Tailwind/global stylesheet:
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
import "opsfuse-ui/styles.css";
|
|
17
|
+
|
|
18
|
+
import "./index.css"; // your own Tailwind/global CSS comes AFTER
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
That is the only stylesheet. It is precompiled and self-contained — it ships its own
|
|
22
|
+
utilities and design tokens, so **you do not run Tailwind over it and Tailwind is not
|
|
23
|
+
required in the host app at all**.
|
|
24
|
+
|
|
25
|
+
Component rules live in the built-in `@layer components`, so a Tailwind v4 host's own
|
|
26
|
+
`@layer utilities` (responsive grids, spacing, `md:*`, `hover:*`, ring) always wins —
|
|
27
|
+
regardless of import order. Design tokens stay un-layered so custom properties resolve
|
|
28
|
+
everywhere, including inside portals mounted at `<body>`.
|
|
29
|
+
|
|
30
|
+
Importing opsfuse **before** your own CSS additionally keeps your un-layered rules at
|
|
31
|
+
higher precedence, so `className` overrides on library components take effect.
|
|
32
|
+
|
|
33
|
+
**Optional — tokens in your own Tailwind.** If the host uses Tailwind v4 and you want
|
|
34
|
+
opsfuse tokens available to utilities you write yourself (`bg-primary`, `border-border`, …),
|
|
35
|
+
also import the token map into your Tailwind entry:
|
|
36
|
+
|
|
37
|
+
```css
|
|
38
|
+
@import "tailwindcss";
|
|
39
|
+
@import "opsfuse-ui/theme.css";
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
`tailwindcss` is declared as an **optional** peer dependency — npm will not install it or
|
|
43
|
+
warn unless you opt into this path.
|
|
44
|
+
|
|
45
|
+
**Fonts:** the library does not bundle fonts. In Next.js, load fonts in the host app and map them to `--font-sans` / `--font-mono`.
|
|
46
|
+
|
|
47
|
+
```tsx
|
|
48
|
+
// app/layout.tsx (Next.js)
|
|
49
|
+
import { Geist, Geist_Mono } from "next/font/google";
|
|
50
|
+
|
|
51
|
+
const geistSans = Geist({ subsets: ["latin"], variable: "--font-sans" });
|
|
52
|
+
const geistMono = Geist_Mono({ subsets: ["latin"], variable: "--font-mono" });
|
|
53
|
+
|
|
54
|
+
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
|
55
|
+
return (
|
|
56
|
+
<html lang="en" className={`${geistSans.variable} ${geistMono.variable}`}>
|
|
57
|
+
<body>{children}</body>
|
|
58
|
+
</html>
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
```css
|
|
64
|
+
/* app/globals.css (or your host app global stylesheet) */
|
|
65
|
+
:root {
|
|
66
|
+
--font-sans: var(--font-geist);
|
|
67
|
+
--font-mono: var(--font-geist-mono);
|
|
68
|
+
}
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
**Theme scope:** opsfuse is intended as the host's design system, not a sandboxed guest
|
|
72
|
+
widget. Design tokens (`--radius`, shadcn aliases like `--background`, …) are published
|
|
73
|
+
on `:root` so they resolve everywhere — including Radix/Vaul portals that mount at
|
|
74
|
+
`<body>`, outside any wrapper. Brand and dark-mode variants are still selected per
|
|
75
|
+
subtree via classes on the wrapper.
|
|
76
|
+
|
|
77
|
+
If your app defines its own `--background` / `--foreground` on `:root`, expect them to
|
|
78
|
+
be overridden; namespace yours or scope them to a container.
|
|
79
|
+
|
|
80
|
+
Wrap UI that uses this library with `OpsfuseThemeProvider` — it is the single root
|
|
81
|
+
wrapper and mounts every provider the imperative APIs need (`confirm()`, alerts,
|
|
82
|
+
dialogs, sheets, slider dialogs, tooltips, toasts). Do not re-mount those individually.
|
|
83
|
+
|
|
84
|
+
Available brands: `recruitsmartly` (default), `skillready`, `worklog`, `verity`, `lms`.
|
|
85
|
+
|
|
86
|
+
Dark mode is detected from any common convention — `.dark`, `[data-theme="dark"]`,
|
|
87
|
+
`[data-mode="dark"]`, `[data-color-mode="dark"]` — on `html`, `body`, or the wrapper, so
|
|
88
|
+
`next-themes` works with no extra wiring.
|
|
89
|
+
|
|
90
|
+
```tsx
|
|
91
|
+
import { OpsfuseThemeProvider } from "opsfuse-ui";
|
|
92
|
+
|
|
93
|
+
export default function Layout({ children }: { children: React.ReactNode }) {
|
|
94
|
+
return (
|
|
95
|
+
<OpsfuseThemeProvider
|
|
96
|
+
brand="skillready"
|
|
97
|
+
darkMode={false} // optional manual override
|
|
98
|
+
className="min-h-svh"
|
|
99
|
+
>
|
|
100
|
+
{children}
|
|
101
|
+
</OpsfuseThemeProvider>
|
|
102
|
+
);
|
|
103
|
+
}
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
You can also add `className="opsfuse-ui"` on your own wrapper, or use the `OPSFUSE_THEME_SCOPE` constant.
|
|
107
|
+
|
|
108
|
+
**Components:**
|
|
109
|
+
|
|
110
|
+
```ts
|
|
111
|
+
import { Button, cn } from "opsfuse-ui";
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
**Entrypoints (recommended for performance-sensitive apps):**
|
|
115
|
+
|
|
116
|
+
| Entrypoint | Use |
|
|
117
|
+
|------------|-----|
|
|
118
|
+
| `opsfuse-ui` | Full library (includes everything) |
|
|
119
|
+
| `opsfuse-ui/core` | Core components only (no charts, calendar, carousel, etc.) |
|
|
120
|
+
| `opsfuse-ui/extended` | Heavier components (Chart, Calendar, Carousel, Command, Combobox, Drawer, InputOTP, Sonner) |
|
|
121
|
+
| `opsfuse-ui/recharts` | Re-exported Recharts with theme support |
|
|
122
|
+
| `opsfuse-ui/icons` | Flat re-export of `lucide-react` icons |
|
|
123
|
+
| `opsfuse-ui/date-fns` | Flat re-export of `date-fns` utilities |
|
|
124
|
+
| `opsfuse-ui/date-fns/locale` | Flat re-export of `date-fns` locales |
|
|
125
|
+
|
|
126
|
+
```ts
|
|
127
|
+
import { Button, Badge, OpsfuseRoot } from "opsfuse-ui/core";
|
|
128
|
+
import { ChartContainer, Calendar } from "opsfuse-ui/extended";
|
|
129
|
+
import { Recharts } from "opsfuse-ui/recharts";
|
|
130
|
+
import { Home, Search } from "opsfuse-ui/icons";
|
|
131
|
+
import { format, addDays } from "opsfuse-ui/date-fns";
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
**TypeScript:** use `moduleResolution` `"bundler"` or `"node16"` / `"nodenext"` so `package.json` `exports` resolve correctly.
|
|
135
|
+
|
|
136
|
+
**Next.js App Router:** supported. `"use client"` is preserved through bundling onto every
|
|
137
|
+
client chunk, so components can be imported directly from server components. Chunks with
|
|
138
|
+
no client code (icons, `cn`, variant maps) are deliberately left unmarked and stay usable
|
|
139
|
+
inside RSCs.
|
|
140
|
+
|
|
141
|
+
**Requirements:** Node `^20.19 || >=22.12` (installing from git runs the library
|
|
142
|
+
build, which needs a Vite-supported runtime), React 19 / React DOM 19.
|
|
143
|
+
|
|
144
|
+
**Tailwind v4 content** — if you scan the library for classes, include the built bundle:
|
|
145
|
+
|
|
146
|
+
```js
|
|
147
|
+
content: [
|
|
148
|
+
"./src/**/*.{js,ts,jsx,tsx}",
|
|
149
|
+
"./node_modules/opsfuse-ui/dist/index.js",
|
|
150
|
+
],
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
---
|
|
154
|
+
|
|
155
|
+
## Claude Code Skills
|
|
156
|
+
|
|
157
|
+
This library includes built-in [Claude Code](https://claude.ai/code) skills to help you build faster and maintain UI consistency. They are automatically installed into your project's `.claude/skills/` directory via a `postinstall` script.
|
|
158
|
+
|
|
159
|
+
Available skills:
|
|
160
|
+
- `/setup` — Step-by-step integration guide
|
|
161
|
+
- `/components` — Component API reference and usage patterns
|
|
162
|
+
- `/color-theme` — Design token and typography guide
|
|
163
|
+
- `/ui-consistency` — Best practices and mandatory code patterns
|
|
164
|
+
|
|
165
|
+
### IDE (VS Code / Cursor) — completions and auto-imports
|
|
166
|
+
|
|
167
|
+
TypeScript only suggests symbols from packages that are **listed in the host app’s `package.json`** (`dependencies` or `devDependencies`). Add `opsfuse-ui` there, then run **“TypeScript: Restart TS Server”** after install or upgrades.
|
|
168
|
+
|
|
169
|
+
Optional: set **`typescript.preferences.includePackageJsonAutoImports`** to **`on`** if you want broader auto-import behavior (the default **`auto`** only considers direct `package.json` dependencies).
|
|
170
|
+
|
|
171
|
+
---
|
|
172
|
+
|
|
173
|
+
## Development (this repo)
|
|
174
|
+
|
|
175
|
+
| Command | Description |
|
|
176
|
+
|----------------------|--------------------------------------------------|
|
|
177
|
+
| `npm run dev` | Vite dev server for the demo app |
|
|
178
|
+
| `npm run build` | Demo app build → `dist-demo/` |
|
|
179
|
+
| `npm run build:lib` | Library build → `dist/` (JS, CSS, types) for npm |
|
|
180
|
+
| `npm run storybook` | Storybook |
|
|
181
|
+
| `npm run test` | Library build, then unit + packaging tests |
|
|
182
|
+
| `npm run test:unit` | Tests only — packaging suite skips without `dist/` |
|
|
183
|
+
| `npm run lint` | ESLint |
|
|
184
|
+
|
|
185
|
+
The packaging suite asserts against real output in `dist/`, which is why `npm run
|
|
186
|
+
test` builds first. `test:unit` skips those cases when `dist/` is absent so a
|
|
187
|
+
watch loop stays fast; in CI the skip is an error rather than a pass.
|
|
188
|
+
|
|
189
|
+
### Type scale
|
|
190
|
+
|
|
191
|
+
Application density, not web-page density — calibrated between Stripe's dashboard (14px
|
|
192
|
+
base) and Linear (13px base). `text-sm` (13px) is the default for UI text.
|
|
193
|
+
|
|
194
|
+
| Token | Size | Use |
|
|
195
|
+
|-------|------|-----|
|
|
196
|
+
| `text-xs` | 11px | micro labels, kbd, table meta |
|
|
197
|
+
| `text-sm` | 13px | **default UI text** — buttons, inputs, menus, rows |
|
|
198
|
+
| `text-base` | 14px | body copy, card content |
|
|
199
|
+
| `text-lg` | 16px | section headings |
|
|
200
|
+
| `text-xl` | 18px | panel titles |
|
|
201
|
+
| `text-2xl` | 20px | page titles |
|
|
202
|
+
| `text-3xl` | 24px | view titles |
|
|
203
|
+
|
|
204
|
+
Headings `h1`–`h6` follow a matching 24 / 20 / 18 / 16 / 14 / 13px ladder.
|
|
205
|
+
|
|
206
|
+
Sizes are driven entirely by the `--text-*` scale in `theme.css`. Never set a base
|
|
207
|
+
`font-size` on `.opsfuse-ui` — the library build rewrites that selector to `:root`, which
|
|
208
|
+
would rebase every rem in the host app.
|
|
209
|
+
|
|
210
|
+
---
|
|
211
|
+
|
|
212
|
+
## License
|
|
213
|
+
|
|
214
|
+
Proprietary — all rights reserved. See [LICENSE](./LICENSE).
|
package/dist/core.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { A as e, B as t, C as n, F as r, I as i, L as a, M as o, N as s, R as c, S as l, _ as u, a as d, b as f, c as p, f as m, g as h, h as g, i as _, j as v, k as y, l as b, m as x, n as S, o as C, p as w, r as T, s as E, t as D, v as O, x as k, y as A, z as j } from "./input-group-
|
|
3
|
-
import { $ as M, $n as N, $r as P, $t as F, A as I, An as L, Ar as R, At as z, B, Bn as V, Br as H, Bt as U, C as W, Cn as G, Cr as K, Ct as q, D as J, Dn as Y, Dr as X, Dt as Z, E as Q, En as $, Er as ee, Et as te, F as ne, Fn as re, Fr as ie, Ft as ae, G as oe, Gn as se, Gr as ce, Gt as le, H as ue, Hn as de, Hr as fe, Ht as pe, I as me, In as he, Ir as ge, It as _e, J as ve, Jn as ye, Jr as be, Jt as xe, K as Se, Kn as Ce, Kr as we, Kt as Te, L as Ee, Ln as De, Lr as Oe, Lt as ke, M as Ae, Mn as je, Mr as Me, Mt as Ne, N as Pe, Nn as Fe, Nr as Ie, Nt as Le, O as Re, On as ze, Or as Be, Ot as Ve, P as He, Pn as Ue, Pr as We, Pt as Ge, Q as Ke, Qn as qe, Qr as Je, Qt as Ye, R as Xe, Rn as Ze, Rr as Qe, Rt as $e, S as et, Sn as tt, Sr as nt, St as rt, T as it, Tn as at, Tr as ot, Tt as st, U as ct, Un as lt, Ur as ut, Ut as dt, V as ft, Vn as pt, Vr as mt, Vt as ht, W as gt, Wn as _t, Wr as vt, Wt as yt, X as bt, Xn as xt, Xr as St, Xt as Ct, Y as wt, Yn as Tt, Yr as Et, Yt as Dt, Z as Ot, Zn as kt, Zr as At, Zt as jt, _ as Mt, _n as Nt, _r as Pt, _t as Ft, a as It, ai as Lt, an as Rt, ar as zt, at as Bt, b as Vt, bn as Ht, br as Ut, bt as Wt, c as Gt, ci as Kt, cn as qt, cr as Jt, ct as Yt, d as Xt, di as Zt, dn as Qt, dr as $t, dt as en, ei as tn, en as nn, er as rn, et as an, f as on, fn as sn, fr as cn, ft as ln, g as un, gn as dn, gr as fn, gt as pn, h as mn, hn, hr as gn, ht as _n, i as vn, ii as yn, in as bn, ir as xn, it as Sn, j as Cn, jn as wn, jr as Tn, jt as En, k as Dn, kn as On, kr as kn, kt as An, l as jn, li as Mn, ln as Nn, lr as Pn, lt as Fn, m as In, mn as Ln, mr as Rn, mt as zn, n as Bn, ni as Vn, nn as Hn, nr as Un, nt as Wn, o as Gn, oi as Kn, on as qn, or as Jn, ot as Yn, p as Xn, pn as Zn, pr as Qn, pt as $n, q as er, qn as tr, qr as nr, qt as rr, r as ir, ri as ar, rn as or, rr as sr, rt as cr, s as lr, si as ur, sn as dr, sr as fr, st as pr, t as mr, ti as hr, tn as gr, tr as _r, tt as vr, u as yr, ui as br, un as xr, ur as Sr, ut as Cr, v as wr, vn as Tr, vr as Er, vt as Dr, w as Or, wn as kr, wr as Ar, wt as jr, x as Mr, xn as Nr, xr as Pr, xt as Fr, y as Ir, yn as Lr, yr as Rr, yt as zr, z as Br, zn as Vr, zr as Hr, zt as Ur } from "./toggle-group-
|
|
2
|
+
import { A as e, B as t, C as n, F as r, I as i, L as a, M as o, N as s, R as c, S as l, _ as u, a as d, b as f, c as p, f as m, g as h, h as g, i as _, j as v, k as y, l as b, m as x, n as S, o as C, p as w, r as T, s as E, t as D, v as O, x as k, y as A, z as j } from "./input-group-DsOYhBRV.js";
|
|
3
|
+
import { $ as M, $n as N, $r as P, $t as F, A as I, An as L, Ar as R, At as z, B, Bn as V, Br as H, Bt as U, C as W, Cn as G, Cr as K, Ct as q, D as J, Dn as Y, Dr as X, Dt as Z, E as Q, En as $, Er as ee, Et as te, F as ne, Fn as re, Fr as ie, Ft as ae, G as oe, Gn as se, Gr as ce, Gt as le, H as ue, Hn as de, Hr as fe, Ht as pe, I as me, In as he, Ir as ge, It as _e, J as ve, Jn as ye, Jr as be, Jt as xe, K as Se, Kn as Ce, Kr as we, Kt as Te, L as Ee, Ln as De, Lr as Oe, Lt as ke, M as Ae, Mn as je, Mr as Me, Mt as Ne, N as Pe, Nn as Fe, Nr as Ie, Nt as Le, O as Re, On as ze, Or as Be, Ot as Ve, P as He, Pn as Ue, Pr as We, Pt as Ge, Q as Ke, Qn as qe, Qr as Je, Qt as Ye, R as Xe, Rn as Ze, Rr as Qe, Rt as $e, S as et, Sn as tt, Sr as nt, St as rt, T as it, Tn as at, Tr as ot, Tt as st, U as ct, Un as lt, Ur as ut, Ut as dt, V as ft, Vn as pt, Vr as mt, Vt as ht, W as gt, Wn as _t, Wr as vt, Wt as yt, X as bt, Xn as xt, Xr as St, Xt as Ct, Y as wt, Yn as Tt, Yr as Et, Yt as Dt, Z as Ot, Zn as kt, Zr as At, Zt as jt, _ as Mt, _n as Nt, _r as Pt, _t as Ft, a as It, ai as Lt, an as Rt, ar as zt, at as Bt, b as Vt, bn as Ht, br as Ut, bt as Wt, c as Gt, ci as Kt, cn as qt, cr as Jt, ct as Yt, d as Xt, di as Zt, dn as Qt, dr as $t, dt as en, ei as tn, en as nn, er as rn, et as an, f as on, fn as sn, fr as cn, ft as ln, g as un, gn as dn, gr as fn, gt as pn, h as mn, hn, hr as gn, ht as _n, i as vn, ii as yn, in as bn, ir as xn, it as Sn, j as Cn, jn as wn, jr as Tn, jt as En, k as Dn, kn as On, kr as kn, kt as An, l as jn, li as Mn, ln as Nn, lr as Pn, lt as Fn, m as In, mn as Ln, mr as Rn, mt as zn, n as Bn, ni as Vn, nn as Hn, nr as Un, nt as Wn, o as Gn, oi as Kn, on as qn, or as Jn, ot as Yn, p as Xn, pn as Zn, pr as Qn, pt as $n, q as er, qn as tr, qr as nr, qt as rr, r as ir, ri as ar, rn as or, rr as sr, rt as cr, s as lr, si as ur, sn as dr, sr as fr, st as pr, t as mr, ti as hr, tn as gr, tr as _r, tt as vr, u as yr, ui as br, un as xr, ur as Sr, ut as Cr, v as wr, vn as Tr, vr as Er, vt as Dr, w as Or, wn as kr, wr as Ar, wt as jr, x as Mr, xn as Nr, xr as Pr, xt as Fr, y as Ir, yn as Lr, yr as Rr, yt as zr, z as Br, zn as Vr, zr as Hr, zt as Ur } from "./toggle-group-BLGOVp8G.js";
|
|
4
4
|
export { Rn as Accordion, gn as AccordionContent, fn as AccordionItem, Pt as AccordionTrigger, tn as Alert, hr as AlertAction, Vn as AlertDescription, fe as AlertDialog, ut as AlertDialogAction, vt as AlertDialogCancel, ce as AlertDialogContent, we as AlertDialogDescription, nr as AlertDialogFooter, be as AlertDialogHeader, Et as AlertDialogMedia, St as AlertDialogOverlay, At as AlertDialogPortal, Je as AlertDialogTitle, P as AlertDialogTrigger, ar as AlertProvider, yn as AlertTitle, Qn as AspectRatio, cn as Avatar, Sr as Badge, sr as Breadcrumb, xn as BreadcrumbEllipsis, zt as BreadcrumbItem, Jn as BreadcrumbLink, fr as BreadcrumbList, Jt as BreadcrumbPage, Pn as BreadcrumbSeparator, a as Button, qe as ButtonGroup, N as ButtonGroupSeparator, rn as ButtonGroupText, se as Card, Ce as CardAction, tr as CardContent, ye as CardDescription, Tt as CardFooter, xt as CardHeader, kt as CardTitle, _t as Checkbox, pt as Collapsible, de as CollapsibleContent, lt as CollapsibleTrigger, H as ConfirmationDialogProvider, $ as ContextMenu, Y as ContextMenuCheckboxItem, ze as ContextMenuContent, On as ContextMenuGroup, L as ContextMenuItem, wn as ContextMenuLabel, je as ContextMenuPortal, Fe as ContextMenuRadioGroup, Ue as ContextMenuRadioItem, re as ContextMenuSeparator, he as ContextMenuShortcut, De as ContextMenuSub, Ze as ContextMenuSubContent, Vr as ContextMenuSubTrigger, V as ContextMenuTrigger, r as DEFAULT_OPSFUSE_BRAND_THEME, m as Dialog, w as DialogClose, x as DialogContent, g as DialogDescription, h as DialogFooter, u as DialogHeader, O as DialogOverlay, A as DialogPortal, f as DialogProvider, k as DialogTitle, l as DialogTrigger, kr as DirectionProvider, G as DropdownMenu, tt as Empty, sn as Field, Zn as FieldContent, Ln as FieldDescription, hn as FieldError, dn as FieldGroup, Nt as FieldLabel, Tr as FieldLegend, Lr as FieldSeparator, Ht as FieldSet, Nr as FieldTitle, Nn as HoverCard, xr as HoverCardContent, Qt as HoverCardTrigger, p as Input, D as InputGroup, S as InputGroupAddon, T as InputGroupButton, _ as InputGroupInput, d as InputGroupText, C as InputGroupTextarea, Ye as Item, F as ItemActions, nn as ItemContent, gr as ItemDescription, Hn as ItemFooter, or as ItemGroup, bn as ItemHeader, Rt as ItemMedia, qn as ItemSeparator, dr as ItemTitle, Ct as Kbd, jt as KbdGroup, b as Label, Ge as Menubar, ae as MenubarCheckboxItem, _e as MenubarContent, ke as MenubarGroup, $e as MenubarItem, Ur as MenubarLabel, U as MenubarMenu, ht as MenubarPortal, pe as MenubarRadioGroup, dt as MenubarRadioItem, yt as MenubarSeparator, le as MenubarShortcut, Te as MenubarSub, rr as MenubarSubContent, xe as MenubarSubTrigger, Dt as MenubarTrigger, st as NavigationMenu, te as NavigationMenuContent, Z as NavigationMenuIndicator, Ve as NavigationMenuItem, An as NavigationMenuLink, z as NavigationMenuList, En as NavigationMenuTrigger, Ne as NavigationMenuViewport, i as OPSFUSE_BRAND_THEMES, s as OPSFUSE_THEME_SCOPE, Rr as OpsfuseRoot, Ut as OpsfuseThemeProvider, qt as PageHeader, Dr as Pagination, zr as PaginationContent, Wt as PaginationEllipsis, Fr as PaginationItem, rt as PaginationLink, q as PaginationNext, jr as PaginationPrevious, Ft as PaginationWrapper, Cr as Popover, en as PopoverAnchor, ln as PopoverContent, $n as PopoverDescription, zn as PopoverHeader, _n as PopoverTitle, pn as PopoverTrigger, Fn as Progress, pr as RadioGroup, Yt as RadioGroupItem, Zt as RecruitSmartly, Sn as ResizableHandle, Bt as ResizablePanel, Yn as ResizablePanelGroup, oe as SSelect, Ar as STooltip, Wn as ScrollArea, cr as ScrollBar, gt as Select, Se as SelectContent, er as SelectField, ve as SelectGroup, wt as SelectItem, bt as SelectLabel, Ot as SelectScrollDownButton, Ke as SelectScrollUpButton, M as SelectSeparator, an as SelectTrigger, vr as SelectValue, Un as Separator, R as Sheet, Tn as SheetClose, Me as SheetContent, Ie as SheetDescription, We as SheetFooter, ie as SheetHeader, ge as SheetProvider, Oe as SheetTitle, Qe as SheetTrigger, Ir as Sidebar, Vt as SidebarContent, Mr as SidebarFooter, et as SidebarGroup, W as SidebarGroupAction, Or as SidebarGroupContent, it as SidebarGroupLabel, Q as SidebarHeader, J as SidebarInput, Re as SidebarInset, Dn as SidebarMenu, I as SidebarMenuAction, Cn as SidebarMenuBadge, Ae as SidebarMenuButton, Pe as SidebarMenuItem, He as SidebarMenuSkeleton, ne as SidebarMenuSub, me as SidebarMenuSubButton, Ee as SidebarMenuSubItem, Xe as SidebarProvider, Br as SidebarRail, B as SidebarSeparator, ft as SidebarTrigger, ct as Skeleton, br as SkillReady, X as Slider, Be as SliderDialogProvider, j as Spinner, wr as Switch, yr as Table, Xt as TableBody, on as TableCaption, Xn as TableCell, In as TableFooter, mn as TableHead, un as TableHeader, Mt as TableRow, Gn as Tabs, It as TabsComponent, lr as TabsContent, Gt as TabsList, jn as TabsTrigger, Mn as TalentScan, E as Textarea, ir as Toggle, mr as ToggleGroup, Bn as ToggleGroupItem, nt as Tooltip, K as TooltipContent, ot as TooltipProvider, ee as TooltipTrigger, Kt as Verity, ur as WorkLog, $t as badgeVariants, _r as buttonGroupVariants, c as buttonVariants, t as cn, mt as confirm, Lt as dismissAlert, y as mergeOpsfusePortalSurface, Le as navigationMenuTriggerStyle, n as openDialog, Hr as openSheet, kn as openSlider, e as opsfuseBrandThemeClass, Kn as showAlert, vn as toggleVariants, at as useDirection, Er as useIsMobile, Pr as useLinkComponent, v as useOpsfuseBrandTheme, o as useOpsfusePortalSurface, ue as useSidebar };
|
package/dist/extended.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { d as e, u as t } from "./input-group-
|
|
3
|
-
import { $ as n, A as r, B as i, C as a, D as o, E as s, F as c, G as l, H as u, I as d, J as f, K as p, L as m, M as h, N as g, O as _, P as v, Q as y, R as b, S as x, T as S, U as C, V as w, W as T, X as E, Y as D, Z as O, _ as k, a as A, b as j, c as M, d as N, et as P, f as F, g as I, h as L, i as R, j as z, k as B, l as V, m as H, n as U, nt as W, o as G, p as K, q, r as J, s as Y, t as X, tt as Z, u as Q, v as $, w as ee, x as te, y as ne, z as re } from "./input-otp-
|
|
2
|
+
import { d as e, u as t } from "./input-group-DsOYhBRV.js";
|
|
3
|
+
import { $ as n, A as r, B as i, C as a, D as o, E as s, F as c, G as l, H as u, I as d, J as f, K as p, L as m, M as h, N as g, O as _, P as v, Q as y, R as b, S as x, T as S, U as C, V as w, W as T, X as E, Y as D, Z as O, _ as k, a as A, b as j, c as M, d as N, et as P, f as F, g as I, h as L, i as R, j as z, k as B, l as V, m as H, n as U, nt as W, o as G, p as K, q, r as J, s as Y, t as X, tt as Z, u as Q, v as $, w as ee, x as te, y as ne, z as re } from "./input-otp-B3Ht2pOf.js";
|
|
4
4
|
export { re as CCombobox, d as Calendar, m as CalendarDayButton, r as Carousel, z as CarouselContent, h as CarouselItem, g as CarouselNext, v as CarouselPrevious, ee as ChartContainer, S as ChartLegend, s as ChartLegendContent, o as ChartStyle, _ as ChartTooltip, B as ChartTooltipContent, b as Combobox, i as ComboboxChip, w as ComboboxChips, u as ComboboxChipsInput, C as ComboboxCollection, T as ComboboxContent, l as ComboboxEmpty, p as ComboboxField, q as ComboboxGroup, f as ComboboxInput, D as ComboboxItem, E as ComboboxLabel, O as ComboboxList, y as ComboboxSeparator, n as ComboboxStatus, P as ComboboxTrigger, Z as ComboboxValue, L as Command, I as CommandDialog, k as CommandEmpty, $ as CommandGroup, ne as CommandInput, j as CommandItem, te as CommandList, x as CommandSeparator, a as CommandShortcut, A as Drawer, G as DrawerClose, Y as DrawerContent, M as DrawerDescription, V as DrawerFooter, Q as DrawerHeader, N as DrawerOverlay, F as DrawerPortal, K as DrawerTitle, H as DrawerTrigger, X as InputOTP, U as InputOTPGroup, J as InputOTPSeparator, R as InputOTPSlot, t as Toaster, e as toast, c as useCarousel, W as useComboboxAnchor };
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { A as e, B as t, C as n, F as r, I as i, L as a, M as o, N as s, R as c, S as l, _ as u, a as d, b as ee, c as te, d as ne, f as re, g as ie, h as ae, i as oe, j as se, k as ce, l as f, m as le, n as ue, o as de, p as fe, r as pe, s as me, t as he, u as ge, v as _e, x as p, y as m, z as h } from "./input-group-
|
|
3
|
-
import { $ as g, $n as _, $r as v, $t as y, A as b, An as x, Ar as S, At as C, B as w, Bn as T, Br as E, Bt as D, C as O, Cn as k, Cr as A, Ct as j, D as M, Dn as N, Dr as P, Dt as F, E as I, En as ve, Er as ye, Et as be, F as xe, Fn as Se, Fr as Ce, Ft as we, G as Te, Gn as Ee, Gr as De, Gt as Oe, H as ke, Hn as Ae, Hr as je, Ht as Me, I as Ne, In as Pe, Ir as Fe, It as Ie, J as Le, Jn as Re, Jr as ze, Jt as Be, K as Ve, Kn as He, Kr as Ue, Kt as We, L as Ge, Ln as Ke, Lr as qe, Lt as Je, M as Ye, Mn as Xe, Mr as Ze, Mt as Qe, N as $e, Nn as et, Nr as tt, Nt as nt, O as rt, On as it, Or as at, Ot as ot, P as st, Pn as ct, Pr as lt, Pt as ut, Q as dt, Qn as ft, Qr as pt, Qt as mt, R as ht, Rn as gt, Rr as _t, Rt as vt, S as yt, Sn as bt, Sr as xt, St, T as Ct, Tn as wt, Tr as Tt, Tt as Et, U as Dt, Un as Ot, Ur as kt, Ut as At, V as jt, Vn as Mt, Vr as Nt, Vt as Pt, W as Ft, Wn as It, Wr as Lt, Wt as Rt, X as zt, Xn as Bt, Xr as Vt, Xt as Ht, Y as Ut, Yn as Wt, Yr as Gt, Yt as Kt, Z as qt, Zn as Jt, Zr as Yt, Zt as Xt, _ as Zt, _n as Qt, _r as $t, _t as en, a as tn, ai as nn, an as rn, ar as an, at as on, b as sn, bn as cn, br as ln, bt as un, c as dn, ci as fn, cn as pn, cr as mn, ct as hn, d as gn, di as _n, dn as vn, dr as yn, dt as bn, ei as xn, en as Sn, er as Cn, et as wn, f as Tn, fn as En, fr as Dn, ft as On, g as kn, gn as An, gr as jn, gt as Mn, h as Nn, hn as Pn, hr as Fn, ht as In, i as Ln, ii as Rn, in as zn, ir as Bn, it as Vn, j as Hn, jn as Un, jr as L, jt as Wn, k as Gn, kn as Kn, kr as qn, kt as Jn, l as Yn, li as Xn, ln as Zn, lr as Qn, lt as $n, m as er, mn as tr, mr as nr, mt as rr, n as ir, ni as ar, nn as or, nr as sr, nt as cr, o as lr, oi as ur, on as dr, or as fr, ot as pr, p as mr, pn as hr, pr as gr, pt as _r, q as vr, qn as yr, qr as br, qt as xr, r as Sr, ri as Cr, rn as wr, rr as Tr, rt as Er, s as Dr, si as Or, sn as kr, sr as Ar, st as jr, t as Mr, ti as Nr, tn as Pr, tr as Fr, tt as Ir, u as Lr, ui as Rr, un as zr, ur as Br, ut as Vr, v as Hr, vn as Ur, vr as Wr, vt as Gr, w as Kr, wn as qr, wr as Jr, wt as Yr, x as Xr, xn as Zr, xr as Qr, xt as $r, y as ei, yn as ti, yr as ni, yt as ri, z as ii, zn as ai, zr as oi, zt as si } from "./toggle-group-
|
|
4
|
-
import { $ as ci, A as li, B as R, C as ui, D as di, E as fi, F as pi, G as z, H as B, I as mi, J as V, K as hi, L as gi, M as _i, N as vi, O as yi, P as bi, Q as xi, R as Si, S as Ci, T as wi, U as Ti, V as H, W as U, X as Ei, Y as W, Z as G, _ as Di, a as Oi, b as ki, c as Ai, d as ji, et as K, f as Mi, g as Ni, h as Pi, i as Fi, j as Ii, k as Li, l as Ri, m as zi, n as Bi, nt as q, o as Vi, p as Hi, q as Ui, r as Wi, s as Gi, t as Ki, tt as J, u as qi, v as Ji, w as Yi, x as Xi, y as Zi, z as Y } from "./input-otp-
|
|
2
|
+
import { A as e, B as t, C as n, F as r, I as i, L as a, M as o, N as s, R as c, S as l, _ as u, a as d, b as ee, c as te, d as ne, f as re, g as ie, h as ae, i as oe, j as se, k as ce, l as f, m as le, n as ue, o as de, p as fe, r as pe, s as me, t as he, u as ge, v as _e, x as p, y as m, z as h } from "./input-group-DsOYhBRV.js";
|
|
3
|
+
import { $ as g, $n as _, $r as v, $t as y, A as b, An as x, Ar as S, At as C, B as w, Bn as T, Br as E, Bt as D, C as O, Cn as k, Cr as A, Ct as j, D as M, Dn as N, Dr as P, Dt as F, E as I, En as ve, Er as ye, Et as be, F as xe, Fn as Se, Fr as Ce, Ft as we, G as Te, Gn as Ee, Gr as De, Gt as Oe, H as ke, Hn as Ae, Hr as je, Ht as Me, I as Ne, In as Pe, Ir as Fe, It as Ie, J as Le, Jn as Re, Jr as ze, Jt as Be, K as Ve, Kn as He, Kr as Ue, Kt as We, L as Ge, Ln as Ke, Lr as qe, Lt as Je, M as Ye, Mn as Xe, Mr as Ze, Mt as Qe, N as $e, Nn as et, Nr as tt, Nt as nt, O as rt, On as it, Or as at, Ot as ot, P as st, Pn as ct, Pr as lt, Pt as ut, Q as dt, Qn as ft, Qr as pt, Qt as mt, R as ht, Rn as gt, Rr as _t, Rt as vt, S as yt, Sn as bt, Sr as xt, St, T as Ct, Tn as wt, Tr as Tt, Tt as Et, U as Dt, Un as Ot, Ur as kt, Ut as At, V as jt, Vn as Mt, Vr as Nt, Vt as Pt, W as Ft, Wn as It, Wr as Lt, Wt as Rt, X as zt, Xn as Bt, Xr as Vt, Xt as Ht, Y as Ut, Yn as Wt, Yr as Gt, Yt as Kt, Z as qt, Zn as Jt, Zr as Yt, Zt as Xt, _ as Zt, _n as Qt, _r as $t, _t as en, a as tn, ai as nn, an as rn, ar as an, at as on, b as sn, bn as cn, br as ln, bt as un, c as dn, ci as fn, cn as pn, cr as mn, ct as hn, d as gn, di as _n, dn as vn, dr as yn, dt as bn, ei as xn, en as Sn, er as Cn, et as wn, f as Tn, fn as En, fr as Dn, ft as On, g as kn, gn as An, gr as jn, gt as Mn, h as Nn, hn as Pn, hr as Fn, ht as In, i as Ln, ii as Rn, in as zn, ir as Bn, it as Vn, j as Hn, jn as Un, jr as L, jt as Wn, k as Gn, kn as Kn, kr as qn, kt as Jn, l as Yn, li as Xn, ln as Zn, lr as Qn, lt as $n, m as er, mn as tr, mr as nr, mt as rr, n as ir, ni as ar, nn as or, nr as sr, nt as cr, o as lr, oi as ur, on as dr, or as fr, ot as pr, p as mr, pn as hr, pr as gr, pt as _r, q as vr, qn as yr, qr as br, qt as xr, r as Sr, ri as Cr, rn as wr, rr as Tr, rt as Er, s as Dr, si as Or, sn as kr, sr as Ar, st as jr, t as Mr, ti as Nr, tn as Pr, tr as Fr, tt as Ir, u as Lr, ui as Rr, un as zr, ur as Br, ut as Vr, v as Hr, vn as Ur, vr as Wr, vt as Gr, w as Kr, wn as qr, wr as Jr, wt as Yr, x as Xr, xn as Zr, xr as Qr, xt as $r, y as ei, yn as ti, yr as ni, yt as ri, z as ii, zn as ai, zr as oi, zt as si } from "./toggle-group-BLGOVp8G.js";
|
|
4
|
+
import { $ as ci, A as li, B as R, C as ui, D as di, E as fi, F as pi, G as z, H as B, I as mi, J as V, K as hi, L as gi, M as _i, N as vi, O as yi, P as bi, Q as xi, R as Si, S as Ci, T as wi, U as Ti, V as H, W as U, X as Ei, Y as W, Z as G, _ as Di, a as Oi, b as ki, c as Ai, d as ji, et as K, f as Mi, g as Ni, h as Pi, i as Fi, j as Ii, k as Li, l as Ri, m as zi, n as Bi, nt as q, o as Vi, p as Hi, q as Ui, r as Wi, s as Gi, t as Ki, tt as J, u as qi, v as Ji, w as Yi, x as Xi, y as Zi, z as Y } from "./input-otp-B3Ht2pOf.js";
|
|
5
5
|
import * as Qi from "date-fns";
|
|
6
6
|
import * as $i from "lucide-react";
|
|
7
7
|
import { ChevronDownIcon as ea } from "lucide-react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { B as e, E as t, L as n, M as r, R as i, T as a, _ as o, f as s, h as c, i as l, l as u, m as d, n as f, r as p, t as m, w as h, x as g, z as ee } from "./input-group-
|
|
2
|
+
import { B as e, E as t, L as n, M as r, R as i, T as a, _ as o, f as s, h as c, i as l, l as u, m as d, n as f, r as p, t as m, w as h, x as g, z as ee } from "./input-group-DsOYhBRV.js";
|
|
3
3
|
import { CheckIcon as _, ChevronDownIcon as te, ChevronLeftIcon as v, ChevronRightIcon as ne, MinusIcon as y, SearchIcon as re, XIcon as b } from "lucide-react";
|
|
4
4
|
import * as x from "recharts";
|
|
5
5
|
import * as S from "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const OPSFUSE_BRAND_THEMES: readonly ["recruitsmartly", "skillready", "worklog", "verity"];
|
|
1
|
+
export declare const OPSFUSE_BRAND_THEMES: readonly ["recruitsmartly", "skillready", "worklog", "verity", "lms"];
|
|
2
2
|
export type OpsfuseBrandTheme = (typeof OPSFUSE_BRAND_THEMES)[number];
|
|
3
3
|
export declare const DEFAULT_OPSFUSE_BRAND_THEME: OpsfuseBrandTheme;
|
|
4
4
|
//# sourceMappingURL=brand-theme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"brand-theme.d.ts","sourceRoot":"","sources":["../../src/lib/brand-theme.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"brand-theme.d.ts","sourceRoot":"","sources":["../../src/lib/brand-theme.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,uEAMvB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEtE,eAAO,MAAM,2BAA2B,EAAE,iBAAoC,CAAC"}
|