opsfuse-ui 0.1.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.
Files changed (209) hide show
  1. package/.claude/settings.local.json +8 -0
  2. package/.claude/skills/brief-to-tasks/SKILL.md +74 -0
  3. package/.claude/skills/design-brief/SKILL.md +120 -0
  4. package/.claude/skills/design-flow/SKILL.md +124 -0
  5. package/.claude/skills/design-review/SKILL.md +249 -0
  6. package/.claude/skills/design-tokens/SKILL.md +198 -0
  7. package/.claude/skills/frontend-design/SKILL.md +144 -0
  8. package/.claude/skills/grill-me/SKILL.md +21 -0
  9. package/.claude/skills/information-architecture/SKILL.md +111 -0
  10. package/.claude/skills/opsfuse-color-theme/SKILL.md +251 -0
  11. package/.claude/skills/opsfuse-components/SKILL.md +1439 -0
  12. package/.claude/skills/opsfuse-setup/SKILL.md +548 -0
  13. package/.claude/skills/opsfuse-ui-consistency/SKILL.md +160 -0
  14. package/README.md +356 -0
  15. package/dist/chunk-BdsCSvBP.js +20 -0
  16. package/dist/clsx-D7D_XZ_-.js +16 -0
  17. package/dist/components/logo/LogoMaker.d.ts +43 -0
  18. package/dist/components/logo/LogoMaker.d.ts.map +1 -0
  19. package/dist/components/logo/RecruitSmartly.d.ts +4 -0
  20. package/dist/components/logo/RecruitSmartly.d.ts.map +1 -0
  21. package/dist/components/logo/SkillReady.d.ts +4 -0
  22. package/dist/components/logo/SkillReady.d.ts.map +1 -0
  23. package/dist/components/logo/TalentScan.d.ts +4 -0
  24. package/dist/components/logo/TalentScan.d.ts.map +1 -0
  25. package/dist/components/logo/Verity.d.ts +4 -0
  26. package/dist/components/logo/Verity.d.ts.map +1 -0
  27. package/dist/components/logo/WorkLog.d.ts +4 -0
  28. package/dist/components/logo/WorkLog.d.ts.map +1 -0
  29. package/dist/components/opsfuse-root.d.ts +7 -0
  30. package/dist/components/opsfuse-root.d.ts.map +1 -0
  31. package/dist/components/opsfuse-theme-provider.d.ts +15 -0
  32. package/dist/components/opsfuse-theme-provider.d.ts.map +1 -0
  33. package/dist/components/ui/Header.d.ts +17 -0
  34. package/dist/components/ui/Header.d.ts.map +1 -0
  35. package/dist/components/ui/accordion.d.ts +20 -0
  36. package/dist/components/ui/accordion.d.ts.map +1 -0
  37. package/dist/components/ui/alert-dialog.d.ts +15 -0
  38. package/dist/components/ui/alert-dialog.d.ts.map +1 -0
  39. package/dist/components/ui/alert.d.ts +26 -0
  40. package/dist/components/ui/alert.d.ts.map +1 -0
  41. package/dist/components/ui/aspect-ratio.d.ts +4 -0
  42. package/dist/components/ui/aspect-ratio.d.ts.map +1 -0
  43. package/dist/components/ui/autocomplete.d.ts +24 -0
  44. package/dist/components/ui/autocomplete.d.ts.map +1 -0
  45. package/dist/components/ui/avatar.d.ts +9 -0
  46. package/dist/components/ui/avatar.d.ts.map +1 -0
  47. package/dist/components/ui/badge.d.ts +10 -0
  48. package/dist/components/ui/badge.d.ts.map +1 -0
  49. package/dist/components/ui/breadcrumb.d.ts +12 -0
  50. package/dist/components/ui/breadcrumb.d.ts.map +1 -0
  51. package/dist/components/ui/button-group.d.ts +12 -0
  52. package/dist/components/ui/button-group.d.ts.map +1 -0
  53. package/dist/components/ui/button.d.ts +14 -0
  54. package/dist/components/ui/button.d.ts.map +1 -0
  55. package/dist/components/ui/calendar.d.ts +11 -0
  56. package/dist/components/ui/calendar.d.ts.map +1 -0
  57. package/dist/components/ui/card.d.ts +14 -0
  58. package/dist/components/ui/card.d.ts.map +1 -0
  59. package/dist/components/ui/carousel.d.ts +29 -0
  60. package/dist/components/ui/carousel.d.ts.map +1 -0
  61. package/dist/components/ui/chart.d.ts +45 -0
  62. package/dist/components/ui/chart.d.ts.map +1 -0
  63. package/dist/components/ui/checkbox.d.ts +10 -0
  64. package/dist/components/ui/checkbox.d.ts.map +1 -0
  65. package/dist/components/ui/collapsible.d.ts +6 -0
  66. package/dist/components/ui/collapsible.d.ts.map +1 -0
  67. package/dist/components/ui/combobox.d.ts +40 -0
  68. package/dist/components/ui/combobox.d.ts.map +1 -0
  69. package/dist/components/ui/command.d.ts +19 -0
  70. package/dist/components/ui/command.d.ts.map +1 -0
  71. package/dist/components/ui/context-menu.d.ts +32 -0
  72. package/dist/components/ui/context-menu.d.ts.map +1 -0
  73. package/dist/components/ui/dialog.d.ts +30 -0
  74. package/dist/components/ui/dialog.d.ts.map +1 -0
  75. package/dist/components/ui/direction.d.ts +8 -0
  76. package/dist/components/ui/direction.d.ts.map +1 -0
  77. package/dist/components/ui/drawer.d.ts +14 -0
  78. package/dist/components/ui/drawer.d.ts.map +1 -0
  79. package/dist/components/ui/dropdown-menu.d.ts +30 -0
  80. package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
  81. package/dist/components/ui/empty.d.ts +12 -0
  82. package/dist/components/ui/empty.d.ts.map +1 -0
  83. package/dist/components/ui/field.d.ts +25 -0
  84. package/dist/components/ui/field.d.ts.map +1 -0
  85. package/dist/components/ui/form.d.ts +27 -0
  86. package/dist/components/ui/form.d.ts.map +1 -0
  87. package/dist/components/ui/hover-card.d.ts +7 -0
  88. package/dist/components/ui/hover-card.d.ts.map +1 -0
  89. package/dist/components/ui/input-group.d.ts +18 -0
  90. package/dist/components/ui/input-group.d.ts.map +1 -0
  91. package/dist/components/ui/input-otp.d.ts +12 -0
  92. package/dist/components/ui/input-otp.d.ts.map +1 -0
  93. package/dist/components/ui/input.d.ts +12 -0
  94. package/dist/components/ui/input.d.ts.map +1 -0
  95. package/dist/components/ui/item.d.ts +24 -0
  96. package/dist/components/ui/item.d.ts.map +1 -0
  97. package/dist/components/ui/kbd.d.ts +4 -0
  98. package/dist/components/ui/kbd.d.ts.map +1 -0
  99. package/dist/components/ui/label.d.ts +5 -0
  100. package/dist/components/ui/label.d.ts.map +1 -0
  101. package/dist/components/ui/menubar.d.ts +31 -0
  102. package/dist/components/ui/menubar.d.ts.map +1 -0
  103. package/dist/components/ui/navigation-menu.d.ts +15 -0
  104. package/dist/components/ui/navigation-menu.d.ts.map +1 -0
  105. package/dist/components/ui/pagination.d.ts +15 -0
  106. package/dist/components/ui/pagination.d.ts.map +1 -0
  107. package/dist/components/ui/popover.d.ts +11 -0
  108. package/dist/components/ui/popover.d.ts.map +1 -0
  109. package/dist/components/ui/progress.d.ts +19 -0
  110. package/dist/components/ui/progress.d.ts.map +1 -0
  111. package/dist/components/ui/radio-group.d.ts +11 -0
  112. package/dist/components/ui/radio-group.d.ts.map +1 -0
  113. package/dist/components/ui/resizable.d.ts +8 -0
  114. package/dist/components/ui/resizable.d.ts.map +1 -0
  115. package/dist/components/ui/scroll-area.d.ts +6 -0
  116. package/dist/components/ui/scroll-area.d.ts.map +1 -0
  117. package/dist/components/ui/select.d.ts +27 -0
  118. package/dist/components/ui/select.d.ts.map +1 -0
  119. package/dist/components/ui/separator.d.ts +5 -0
  120. package/dist/components/ui/separator.d.ts.map +1 -0
  121. package/dist/components/ui/shadcn/shadcn-accordion.d.ts +8 -0
  122. package/dist/components/ui/shadcn/shadcn-accordion.d.ts.map +1 -0
  123. package/dist/components/ui/shadcn/shadcn-alert-dialog.d.ts +19 -0
  124. package/dist/components/ui/shadcn/shadcn-alert-dialog.d.ts.map +1 -0
  125. package/dist/components/ui/shadcn/shadcn-avatar.d.ts +12 -0
  126. package/dist/components/ui/shadcn/shadcn-avatar.d.ts.map +1 -0
  127. package/dist/components/ui/shadcn/shadcn-combobox.d.ts +33 -0
  128. package/dist/components/ui/shadcn/shadcn-combobox.d.ts.map +1 -0
  129. package/dist/components/ui/shadcn/shadcn-dropdown-menu.d.ts +30 -0
  130. package/dist/components/ui/shadcn/shadcn-dropdown-menu.d.ts.map +1 -0
  131. package/dist/components/ui/shadcn/shadcn-empty.d.ts +12 -0
  132. package/dist/components/ui/shadcn/shadcn-empty.d.ts.map +1 -0
  133. package/dist/components/ui/shadcn/shadcn-pagination.d.ts +18 -0
  134. package/dist/components/ui/shadcn/shadcn-pagination.d.ts.map +1 -0
  135. package/dist/components/ui/shadcn/shadcn-select.d.ts +24 -0
  136. package/dist/components/ui/shadcn/shadcn-select.d.ts.map +1 -0
  137. package/dist/components/ui/shadcn/shadcn-tabs.d.ts +12 -0
  138. package/dist/components/ui/shadcn/shadcn-tabs.d.ts.map +1 -0
  139. package/dist/components/ui/shadcn/shadcn-tooltip.d.ts +11 -0
  140. package/dist/components/ui/shadcn/shadcn-tooltip.d.ts.map +1 -0
  141. package/dist/components/ui/sheet.d.ts +28 -0
  142. package/dist/components/ui/sheet.d.ts.map +1 -0
  143. package/dist/components/ui/sidebar.d.ts +70 -0
  144. package/dist/components/ui/sidebar.d.ts.map +1 -0
  145. package/dist/components/ui/skeleton.d.ts +3 -0
  146. package/dist/components/ui/skeleton.d.ts.map +1 -0
  147. package/dist/components/ui/slider.d.ts +22 -0
  148. package/dist/components/ui/slider.d.ts.map +1 -0
  149. package/dist/components/ui/sonner.d.ts +5 -0
  150. package/dist/components/ui/sonner.d.ts.map +1 -0
  151. package/dist/components/ui/spinner.d.ts +3 -0
  152. package/dist/components/ui/spinner.d.ts.map +1 -0
  153. package/dist/components/ui/switch.d.ts +12 -0
  154. package/dist/components/ui/switch.d.ts.map +1 -0
  155. package/dist/components/ui/table.d.ts +11 -0
  156. package/dist/components/ui/table.d.ts.map +1 -0
  157. package/dist/components/ui/tabs.d.ts +22 -0
  158. package/dist/components/ui/tabs.d.ts.map +1 -0
  159. package/dist/components/ui/textarea.d.ts +9 -0
  160. package/dist/components/ui/textarea.d.ts.map +1 -0
  161. package/dist/components/ui/toggle-group.d.ts +11 -0
  162. package/dist/components/ui/toggle-group.d.ts.map +1 -0
  163. package/dist/components/ui/toggle.d.ts +10 -0
  164. package/dist/components/ui/toggle.d.ts.map +1 -0
  165. package/dist/components/ui/tooltip.d.ts +15 -0
  166. package/dist/components/ui/tooltip.d.ts.map +1 -0
  167. package/dist/core.d.ts +2 -0
  168. package/dist/core.d.ts.map +1 -0
  169. package/dist/core.js +3 -0
  170. package/dist/es6-D-3xKXBT.js +24045 -0
  171. package/dist/extended.d.ts +2 -0
  172. package/dist/extended.d.ts.map +1 -0
  173. package/dist/extended.js +3 -0
  174. package/dist/hooks/use-mobile.d.ts +2 -0
  175. package/dist/hooks/use-mobile.d.ts.map +1 -0
  176. package/dist/icons.d.ts +2 -0
  177. package/dist/icons.d.ts.map +1 -0
  178. package/dist/icons.js +2 -0
  179. package/dist/index.d.ts +2 -0
  180. package/dist/index.d.ts.map +1 -0
  181. package/dist/index.js +2194 -0
  182. package/dist/input-group-DIfVGMYe.js +5196 -0
  183. package/dist/input-otp-DwLGFwVo.js +11879 -0
  184. package/dist/lib/brand-theme.d.ts +4 -0
  185. package/dist/lib/brand-theme.d.ts.map +1 -0
  186. package/dist/lib/document-dark-mode.d.ts +8 -0
  187. package/dist/lib/document-dark-mode.d.ts.map +1 -0
  188. package/dist/lib/opsfuse-portal-theme.d.ts +21 -0
  189. package/dist/lib/opsfuse-portal-theme.d.ts.map +1 -0
  190. package/dist/lib/theme-scope.d.ts +3 -0
  191. package/dist/lib/theme-scope.d.ts.map +1 -0
  192. package/dist/lib/utils.d.ts +3 -0
  193. package/dist/lib/utils.d.ts.map +1 -0
  194. package/dist/lucide-react-DLVJK_zM.js +38405 -0
  195. package/dist/public-api-core.d.ts +61 -0
  196. package/dist/public-api-core.d.ts.map +1 -0
  197. package/dist/public-api-extended.d.ts +9 -0
  198. package/dist/public-api-extended.d.ts.map +1 -0
  199. package/dist/public-api.d.ts +73 -0
  200. package/dist/public-api.d.ts.map +1 -0
  201. package/dist/recharts.d.ts +2 -0
  202. package/dist/recharts.d.ts.map +1 -0
  203. package/dist/recharts.js +2 -0
  204. package/dist/style.css +3 -0
  205. package/dist/style.layered.css +3 -0
  206. package/dist/toggle-group-D21Ul2kd.js +10171 -0
  207. package/package.json +113 -0
  208. package/scripts/postinstall.mjs +67 -0
  209. package/scripts/unwrap-css-layers.mjs +36 -0
@@ -0,0 +1,160 @@
1
+ ---
2
+ name: ui-consistency
3
+ description: >
4
+ Opsfuse UI code consistency guide. Use when building, editing, or reviewing any UI in this
5
+ codebase. Covers mandatory code patterns, provider setup, accessibility, and Storybook conventions.
6
+ For design tokens use /color-theme. For component APIs use /components.
7
+ ---
8
+
9
+ # Opsfuse UI — Code Consistency Guide
10
+
11
+ **Stack:** React 19 + TypeScript + Vite + Tailwind CSS v4 + shadcn/ui (radix-nova)
12
+ **Path alias:** `@/` → `src/`
13
+
14
+ > For token decisions (surfaces, text, color, typography, motion) use `/color-theme`.
15
+ > For component APIs, props, and variants use `/components`.
16
+
17
+ ---
18
+
19
+ ## 1. MANDATORY CODE PATTERNS
20
+
21
+ ### Always use cn() for classNames
22
+
23
+ ```tsx
24
+ import { cn } from "@/lib/utils"
25
+ // cn = clsx + tailwind-merge — rightmost class wins on conflict
26
+ className={cn("base-classes", conditionalClass && "extra", props.className)}
27
+ ```
28
+
29
+ ### Always use cva() for multi-variant components
30
+
31
+ ```tsx
32
+ import { cva, type VariantProps } from "class-variance-authority";
33
+
34
+ const variants = cva("base", {
35
+ variants: {
36
+ variant: { default: "...", outline: "..." },
37
+ size: { sm: "...", default: "..." },
38
+ },
39
+ defaultVariants: { variant: "default", size: "default" },
40
+ });
41
+ ```
42
+
43
+ ### Always add data-slot to every component part
44
+
45
+ ```tsx
46
+ <button data-slot="button" data-variant={variant} data-size={size} />
47
+ <div data-slot="card" /><div data-slot="card-header" /><div data-slot="card-content" />
48
+ ```
49
+
50
+ ### Use asChild for composition flexibility
51
+
52
+ ```tsx
53
+ <Button asChild>
54
+ <a href="/page">Link styled as Button</a>
55
+ </Button>
56
+ ```
57
+
58
+ ### Icons always from `opsfuse-ui/icons`
59
+
60
+ ```tsx
61
+ import { ChevronDown, Plus, X } from "opsfuse-ui/icons";
62
+
63
+ <ChevronDown />
64
+ <Plus />
65
+ <X />
66
+ // Components auto-size SVGs: [&_svg:not([class*='size-'])]:size-4
67
+ ```
68
+
69
+ Host apps must **not** install or import `lucide-react` directly — the full icon catalog is re-exported as flat named exports from `opsfuse-ui/icons` (and as the `Lucide` namespace from the main entry, for collision cases). Typing the icon name autocompletes from the entire Lucide library, and color comes from `currentColor` (style with `text-*` Tailwind classes, never hardcoded hex). For typing icon-as-prop slots, use `LucideIcon` from `opsfuse-ui/icons`.
70
+
71
+ For names that collide with opsfuse component exports (`Badge`, `Calendar`, `Command`, `Form`, `Sheet`, `Sidebar`, `Table`), alias on import (`import { Calendar as CalendarIcon } from "opsfuse-ui/icons"`) or use `<Lucide.Calendar />` from the main entry.
72
+
73
+ ---
74
+
75
+ ## 2. PROVIDERS SETUP (main.tsx)
76
+
77
+ **`OpsfuseThemeProvider`** (and `<OpsfuseRoot />`, which delegates to it) mounts the full provider stack: `ConfirmationDialogProvider`, `TooltipProvider`, `AlertProvider`, `DialogProvider`, `SheetProvider`, `SliderDialogProvider`, and `Toaster` (as a sibling of the sheet/slider subtree under `DialogProvider`). Host `main.tsx` should wrap the app once — do not duplicate those providers or add another `<ConfirmationDialogProvider>` (that duplicates the module-level `confirm` registration).
78
+
79
+ ```tsx
80
+ <OpsfuseThemeProvider className="min-h-svh">
81
+ <App />
82
+ </OpsfuseThemeProvider>
83
+ ```
84
+
85
+ **Never fork or reorder the internal provider tree without checking all imperative API call sites.**
86
+
87
+ Imperative APIs and where they are satisfied:
88
+ | API | Provided by |
89
+ |-----|---------------|
90
+ | `toast.success/error/loading()` from "sonner" | `<Toaster />` inside `<OpsfuseThemeProvider />` |
91
+ | `showAlert({ title, description, variant })` | `<AlertProvider />` inside theme |
92
+ | `openDialog({ title, children })` | `<DialogProvider />` inside theme |
93
+ | `openSheet({ title, children, side })` | `<SheetProvider />` inside theme |
94
+ | `confirm({ title, description?, confirmText?, cancelText?, onConfirm?, onCancel? })` | `<ConfirmationDialogProvider />` inside theme |
95
+ | `openSlider({ title, value, min, max, ... })` | `<SliderDialogProvider />` inside theme |
96
+ | `<Tooltip>` anywhere in the tree | `<TooltipProvider />` inside theme |
97
+
98
+ ---
99
+
100
+ ## 3. DARK MODE
101
+
102
+ All tokens have dark values in `brands.css` under `html.dark .opsfuse-ui` selectors.
103
+ When adding custom dark styles: use the `dark:` Tailwind prefix.
104
+ Never hardcode hex colors — tokens handle light/dark automatically.
105
+
106
+ ---
107
+
108
+ ## 4. ACCESSIBILITY RULES
109
+
110
+ - All interactive elements must have accessible labels (`aria-label` or visible text)
111
+ - Icon-only buttons: always `<Button size="icon" aria-label="Description">`
112
+ - Form fields: always pair with `<Label htmlFor="id">` or use the `label` prop on `<Input>`
113
+ - Disabled states: use `text-text-disabled` / `text-(--disabled-foreground)` on disabled controls only — never for readable body copy
114
+ - All provided semantic tokens meet WCAG 4.5:1 minimum contrast
115
+ - Use `confirm()` (requires `<OpsfuseThemeProvider />` / `<OpsfuseRoot />`, which mount the confirmation provider) before any destructive action (delete, reset, overwrite)
116
+
117
+ ---
118
+
119
+ ## 5. STORYBOOK STORY PATTERN
120
+
121
+ When creating stories:
122
+
123
+ ```tsx
124
+ import type { Meta, StoryObj } from "@storybook/react"
125
+ import { ComponentName } from "opsfuse-ui"
126
+
127
+ const meta: Meta<typeof ComponentName> = {
128
+ title: "UI/ComponentName",
129
+ component: ComponentName,
130
+ argTypes: { variant: { control: "select", options: [...] } },
131
+ args: { /* sensible defaults */ },
132
+ }
133
+ export default meta
134
+ type Story = StoryObj<typeof ComponentName>
135
+
136
+ export const Default: Story = { args: {} }
137
+ export const AllVariants: Story = { render: () => <div className="flex gap-2">...</div> }
138
+ ```
139
+
140
+ Write stories for all new components. Test in both light and dark mode. Page-level title strips use `PageHeader` from `src/components/ui/Header.tsx` (see `/components` skill).
141
+
142
+ **Alert dialog:** Storybook covers `src/components/ui/alert-dialog.tsx` via `confirm()` only. The preview wraps stories in `<OpsfuseRoot />`, which uses `OpsfuseThemeProvider` (full provider stack including `ConfirmationDialogProvider`) — stories must not add another `<ConfirmationDialogProvider>`. In apps, same rule: one theme root. Radix primitives live in `shadcn-alert-dialog.tsx` for internal use — do not add a separate Storybook file for that layer.
143
+
144
+ ---
145
+
146
+ ## 6. DO / DON'T
147
+
148
+ | ✅ DO | ❌ DON'T |
149
+ | ----------------------------------------------------- | ------------------------------------------------ |
150
+ | Use design tokens for all colors | Use arbitrary hex like `#ff0000` or `bg-red-500` |
151
+ | Use `cn()` for all className merging | String-concatenate classNames directly |
152
+ | Use `cva()` for multi-variant components | Inline ternary chains for variants |
153
+ | Add `data-slot` to every component part | Skip `data-slot` on wrapper/part elements |
154
+ | Use `<Field>` compound for form inputs | Lay out label + input with raw divs |
155
+ | Import icons from `lucide-react` | Import from other icon libraries |
156
+ | Use `.transition-micro/smooth/data` motion classes | Hardcode `transition duration-200` everywhere |
157
+ | Use `confirm()` before destructive actions | Skip confirmation on destructive button clicks |
158
+ | Use spacing tokens `--space-1` through `--space-10` | Use arbitrary gaps like `gap-[13px]` |
159
+ | Write stories for all new components | Add components without Storybook coverage |
160
+ | Test in light AND dark mode | Only check light mode |
package/README.md ADDED
@@ -0,0 +1,356 @@
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** (once, e.g. in your app entry). Import the bundle that matches your host's Tailwind version, **before** your own Tailwind/global stylesheet:
14
+
15
+ ```ts
16
+ // Tailwind v3 host (or no Tailwind):
17
+ import "opsfuse-ui/styles.css"; // flat, un-layered
18
+
19
+ // Tailwind v4 host:
20
+ import "opsfuse-ui/styles.layered.css"; // cascade-layered
21
+
22
+ import "./index.css"; // your own Tailwind/global CSS comes AFTER
23
+ ```
24
+
25
+ Both are precompiled, self-contained CSS — you do not run Tailwind over them.
26
+
27
+ - **`styles.css` (flat)** has no `@layer` blocks, so a Tailwind **v3** host's PostCSS pipeline never errors on reserved layer names, and the library's utility classes correctly out-specify the host's un-layered preflight.
28
+ - **`styles.layered.css`** keeps the library inside low-priority `opsfuse-*` cascade layers. On a Tailwind **v4** host imported first, your app's own `base`/`utilities` layers register later and therefore win — so your preflight and responsive utilities (`md:*`, `hover:*`, …) stay authoritative and are never overridden by the library.
29
+
30
+ Importing opsfuse **before** your own CSS keeps your rules at higher precedence (later source order on the flat bundle; later-declared layer on the layered bundle), so your `className` overrides on library components still take effect.
31
+
32
+ **Fonts:** the library does not bundle fonts. In Next.js, load fonts in the host app and map them to `--font-sans` / `--font-mono`.
33
+
34
+ ```tsx
35
+ // app/layout.tsx (Next.js)
36
+ import { Geist, Geist_Mono } from "next/font/google";
37
+
38
+ const geistSans = Geist({ subsets: ["latin"], variable: "--font-sans" });
39
+ const geistMono = Geist_Mono({ subsets: ["latin"], variable: "--font-mono" });
40
+
41
+ export default function RootLayout({ children }: { children: React.ReactNode }) {
42
+ return (
43
+ <html lang="en" className={`${geistSans.variable} ${geistMono.variable}`}>
44
+ <body>{children}</body>
45
+ </html>
46
+ );
47
+ }
48
+ ```
49
+
50
+ ```css
51
+ /* app/globals.css (or your host app global stylesheet) */
52
+ :root {
53
+ --font-sans: var(--font-geist);
54
+ --font-mono: var(--font-geist-mono);
55
+ }
56
+ ```
57
+
58
+ **Theme scope:** Design tokens (`--radius`, shadcn aliases like `--background`, etc.) apply only under the `opsfuse-ui` class so your app’s own `:root` theme is unchanged. Wrap UI that uses this library with `OpsfuseThemeProvider`.
59
+
60
+ Available brands: `recruitsmartly` (default), `skillready`, `worklog`, `verity`.
61
+
62
+ ```tsx
63
+ import { OpsfuseThemeProvider } from "opsfuse-ui";
64
+
65
+ export default function Layout({ children }: { children: React.ReactNode }) {
66
+ return (
67
+ <OpsfuseThemeProvider
68
+ brand="skillready"
69
+ darkMode={false} // optional manual override
70
+ className="min-h-svh"
71
+ >
72
+ {children}
73
+ </OpsfuseThemeProvider>
74
+ );
75
+ }
76
+ ```
77
+
78
+ You can also add `className="opsfuse-ui"` on your own wrapper, or use the `OPSFUSE_THEME_SCOPE` constant.
79
+
80
+ **Components:**
81
+
82
+ ```ts
83
+ import { Button, cn } from "opsfuse-ui";
84
+ ```
85
+
86
+ **Entrypoints (recommended for performance-sensitive apps):**
87
+
88
+ | Entrypoint | Use |
89
+ |------------|-----|
90
+ | `opsfuse-ui` | Full library (includes everything) |
91
+ | `opsfuse-ui/core` | Core components only (no charts, calendar, carousel, etc.) |
92
+ | `opsfuse-ui/extended` | Heavier components (Chart, Calendar, Carousel, Command, Combobox, Drawer, InputOTP, Sonner) |
93
+ | `opsfuse-ui/recharts` | Re-exported Recharts with theme support |
94
+
95
+ ```ts
96
+ import { Button, Badge, OpsfuseRoot } from "opsfuse-ui/core";
97
+ import { ChartContainer, Calendar } from "opsfuse-ui/extended";
98
+ import { Recharts } from "opsfuse-ui/recharts";
99
+ ```
100
+
101
+ **TypeScript:** use `moduleResolution` `"bundler"` or `"node16"` / `"nodenext"` so `package.json` `exports` resolve correctly.
102
+
103
+ ---
104
+
105
+ ## Install as a git submodule
106
+
107
+ Use a submodule when you want the library source pinned in your repo (for example at `packages/ui`) instead of pulling from the npm registry or a one-off git dependency.
108
+
109
+ From your **host app** repository root:
110
+
111
+ ```bash
112
+ git submodule add git+https://code.opsfuse.com/mockinterview/opsfuse-ui.git packages/ui
113
+ git submodule update --init --recursive
114
+ ```
115
+
116
+ Wire the submodule into the host app’s `package.json`:
117
+
118
+ ```json
119
+ {
120
+ "dependencies": {
121
+ "opsfuse-ui": "file:packages/ui"
122
+ }
123
+ }
124
+ ```
125
+
126
+ Then install in the host app:
127
+
128
+ ```bash
129
+ npm install
130
+ ```
131
+
132
+ The `prepare` script in this repo runs `build:lib`, so `dist/` is produced on install. If you clone the host repo later, initialize submodules before installing:
133
+
134
+ ```bash
135
+ git submodule update --init --recursive
136
+ npm install
137
+ ```
138
+
139
+ ### Update and pull in the host app
140
+
141
+ The host repo stores a **commit SHA** for `packages/ui`. Pulling the host app does not always check out that commit inside the submodule unless you sync submodules explicitly.
142
+
143
+ **After `git pull` on the host** (teammate bumped the submodule, or you switched branches):
144
+
145
+ ```bash
146
+ # From the host app repository root
147
+ git submodule update --init --recursive
148
+ cd packages/ui && npm run build:lib
149
+ cd ../.. && npm install # if packages/ui/package.json or lockfile changed
150
+ ```
151
+
152
+ **Pull host + sync submodules in one step** (optional; set once per machine):
153
+
154
+ ```bash
155
+ git config submodule.recurse true
156
+ git pull
157
+ cd packages/ui && npm run build:lib
158
+ ```
159
+
160
+ Or a single pull without changing config:
161
+
162
+ ```bash
163
+ git pull --recurse-submodules
164
+ cd packages/ui && npm run build:lib
165
+ ```
166
+
167
+ **Bump `packages/ui` to the latest library** (you choose the new commit and record it in the host repo):
168
+
169
+ ```bash
170
+ cd packages/ui
171
+ git fetch origin
172
+ git checkout main # or a tag / commit you want to pin
173
+ git pull origin main
174
+ cd ../..
175
+ git add packages/ui
176
+ git commit -m "chore: bump opsfuse-ui submodule"
177
+ cd packages/ui && npm run build:lib
178
+ cd ../.. && npm install # if library dependencies changed
179
+ ```
180
+
181
+ **Fresh clone of the host app:**
182
+
183
+ ```bash
184
+ git clone <host-repo-url>
185
+ cd <host-app>
186
+ git submodule update --init --recursive
187
+ npm install
188
+ ```
189
+
190
+ Imports, styles, fonts, and `OpsfuseThemeProvider` are the same as in [Install in an application](#install-in-an-application) above (`import "opsfuse-ui/..."`, etc.).
191
+
192
+ **Tailwind v4 content** — if you scan the library for classes, point at the submodule build output instead of `node_modules`:
193
+
194
+ ```js
195
+ content: [
196
+ "./src/**/*.{js,ts,jsx,tsx}",
197
+ "./packages/ui/dist/index.js",
198
+ ],
199
+ ```
200
+
201
+ **Claude Code skills** — the `postinstall` script copies skills into the host app’s `.claude/skills/` when you `npm install` the `file:` dependency.
202
+
203
+ ---
204
+
205
+ ## Claude Code Skills
206
+
207
+ 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.
208
+
209
+ Available skills:
210
+ - `/setup` — Step-by-step integration guide
211
+ - `/components` — Component API reference and usage patterns
212
+ - `/color-theme` — Design token and typography guide
213
+ - `/ui-consistency` — Best practices and mandatory code patterns
214
+
215
+ ---
216
+
217
+ ## Use the library locally (path / link)
218
+
219
+ For a copy tracked in git at a fixed path (`packages/ui`), use [Install as a git submodule](#install-as-a-git-submodule) instead of a manual relative path.
220
+
221
+ 1. In this repo, build the package:
222
+
223
+ ```bash
224
+ npm run build:lib
225
+ ```
226
+
227
+ 2. In the **host app**, depend on the folder (adjust the relative path):
228
+
229
+ **package.json**
230
+
231
+ ```json
232
+ {
233
+ "dependencies": {
234
+ "opsfuse-ui": "file:../opsfuse-ui"
235
+ }
236
+ }
237
+ ```
238
+
239
+ Then run `npm install` in the host app.
240
+
241
+ **Alternative — `npm link`**
242
+
243
+ ```bash
244
+ cd opsfuse-ui && npm run build:lib && npm link
245
+ cd ../your-host-app && npm link opsfuse-ui
246
+ ```
247
+
248
+ If you see duplicate React errors, prefer `file:` or align `react` / `react-dom` versions; restart the host dev server after rebuilding the library.
249
+
250
+ 3. After changing this library, run `npm run build:lib` again; the host picks up the new `dist/` on the next install or when the link updates.
251
+
252
+ ---
253
+
254
+ ## Install directly from Git
255
+
256
+ If you install from a Git URL, use `git+https` (or `git+ssh`) instead of a plain `https://...git` URL. A plain URL may be treated as a tarball endpoint and fail with `TAR_BAD_ARCHIVE`.
257
+
258
+ ```bash
259
+ npm install git+https://code.opsfuse.com/mockinterview/opsfuse-ui.git#main
260
+ ```
261
+
262
+ Notes:
263
+
264
+ - This repository now has a `prepare` script, so npm builds the library (`dist/`) when installing from git.
265
+ - The git host must be accessible/authenticated from the host app environment.
266
+ - Git installs are best for internal/dev usage; for stable consumer installs, prefer the GitLab npm registry flow below.
267
+
268
+ ---
269
+
270
+ ## Publish and install from GitLab (Package Registry)
271
+
272
+ Use the [GitLab npm registry](https://docs.gitlab.com/ee/user/packages/npm_registry/) for your project or group. URLs below use placeholders—replace with your GitLab instance URL, project ID, or group path.
273
+
274
+ ### Publish (this repo)
275
+
276
+ 1. Choose a registry URL:
277
+
278
+ - **Project:** `https://gitlab.example.com/api/v4/projects/<PROJECT_ID>/packages/npm/`
279
+ - **Group:** `https://gitlab.example.com/api/v4/groups/<GROUP_ID>/-/packages/npm/`
280
+
281
+ 2. **Bump version** in `package.json` (GitLab rejects duplicate versions).
282
+
283
+ 3. Authenticate, then publish:
284
+
285
+ ```bash
286
+ npm run build:lib
287
+ npm publish --registry=https://gitlab.example.com/api/v4/projects/<PROJECT_ID>/packages/npm/
288
+ ```
289
+
290
+ Use a [GitLab deploy token](https://docs.gitlab.com/ee/user/project/deploy_tokens/) or [personal access token](https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html) with scopes `read_package_registry` / `write_package_registry` as required. For CI, use `CI_JOB_TOKEN` with a [CI/CD job token](https://docs.gitlab.com/ee/ci/jobs/ci_job_token.html) allowed to access the registry.
291
+
292
+ Optional **publishConfig** in this package’s `package.json` so you do not pass `--registry` each time:
293
+
294
+ ```json
295
+ "publishConfig": {
296
+ "registry": "https://gitlab.example.com/api/v4/projects/<PROJECT_ID>/packages/npm/"
297
+ }
298
+ ```
299
+
300
+ For a **scoped** name (e.g. `@company/opsfuse-ui`), set `name` and scope in `.npmrc` on the consumer as shown below; the registry URL pattern is the same idea for project or group.
301
+
302
+ ### Install in the host app (GitLab)
303
+
304
+ 1. In the **host app**, add a **`.npmrc`** next to `package.json` (use the same registry base URL you publish to):
305
+
306
+ ```ini
307
+ ; Project registry example
308
+ registry=https://gitlab.example.com/api/v4/projects/<PROJECT_ID>/packages/npm/
309
+
310
+ ; For private registry auth (choose one approach)
311
+ //gitlab.example.com/api/v4/projects/<PROJECT_ID>/packages/npm/:_authToken=${GITLAB_TOKEN}
312
+ ```
313
+
314
+ For **local development**, set `GITLAB_TOKEN` to a personal access token or deploy token with `read_package_registry`. In **GitLab CI**, use `CI_JOB_TOKEN` if your job is allowed to pull packages from that project.
315
+
316
+ 2. Install:
317
+
318
+ ```bash
319
+ npm install opsfuse-ui
320
+ ```
321
+
322
+ If the package is **scoped** (e.g. `@company/opsfuse-ui`), configure the scope in `.npmrc`:
323
+
324
+ ```ini
325
+ @company:registry=https://gitlab.example.com/api/v4/groups/<GROUP_ID>/-/packages/npm/
326
+ //gitlab.example.com/api/v4/groups/<GROUP_ID>/-/packages/npm/:_authToken=${GITLAB_TOKEN}
327
+ ```
328
+
329
+ Then `npm install @company/opsfuse-ui`.
330
+
331
+ See GitLab’s docs for [npm authentication](https://docs.gitlab.com/ee/user/packages/npm_registry/#authenticate-with-the-registry) and [troubleshooting](https://docs.gitlab.com/ee/user/packages/npm_registry/) (401/403, token scopes, duplicate versions).
332
+
333
+ ### IDE (VS Code / Cursor) — completions and auto-imports
334
+
335
+ 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.
336
+
337
+ If you use a **`file:`** path or **`npm link`**, run **`npm run build:lib`** in this repo first so **`dist/index.d.ts`** exists; without it, the editor has nothing to load.
338
+
339
+ Optional: set **`typescript.preferences.includePackageJsonAutoImports`** to **`on`** if you want broader auto-import behavior (the default **`auto`** only considers direct `package.json` dependencies).
340
+
341
+ ---
342
+
343
+ ## Development (this repo)
344
+
345
+ | Command | Description |
346
+ |----------------------|--------------------------------------------------|
347
+ | `npm run dev` | Vite dev server for the demo app |
348
+ | `npm run build` | Demo app build → `dist-demo/` |
349
+ | `npm run build:lib` | Library build → `dist/` (JS, CSS, types) for npm |
350
+ | `npm run storybook` | Storybook |
351
+
352
+ ---
353
+
354
+ ## License
355
+
356
+ See repository metadata.
@@ -0,0 +1,20 @@
1
+ //#region \0rolldown/runtime.js
2
+ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), s = (e, n) => {
3
+ let r = {};
4
+ for (var i in e) t(r, i, {
5
+ get: e[i],
6
+ enumerable: !0
7
+ });
8
+ return n || t(r, Symbol.toStringTag, { value: "Module" }), r;
9
+ }, c = (e, i, o, s) => {
10
+ if (i && typeof i == "object" || typeof i == "function") for (var c = r(i), l = 0, u = c.length, d; l < u; l++) d = c[l], !a.call(e, d) && d !== o && t(e, d, {
11
+ get: ((e) => i[e]).bind(null, d),
12
+ enumerable: !(s = n(i, d)) || s.enumerable
13
+ });
14
+ return e;
15
+ }, l = (n, r, a) => (a = n == null ? {} : e(i(n)), c(r || !n || !n.__esModule ? t(a, "default", {
16
+ value: n,
17
+ enumerable: !0
18
+ }) : a, n));
19
+ //#endregion
20
+ export { s as n, l as r, o as t };
@@ -0,0 +1,16 @@
1
+ //#region node_modules/clsx/dist/clsx.mjs
2
+ function e(t) {
3
+ var n, r, i = "";
4
+ if (typeof t == "string" || typeof t == "number") i += t;
5
+ else if (typeof t == "object") if (Array.isArray(t)) {
6
+ var a = t.length;
7
+ for (n = 0; n < a; n++) t[n] && (r = e(t[n])) && (i && (i += " "), i += r);
8
+ } else for (r in t) t[r] && (i && (i += " "), i += r);
9
+ return i;
10
+ }
11
+ function t() {
12
+ for (var t, n, r = 0, i = "", a = arguments.length; r < a; r++) (t = arguments[r]) && (n = e(t)) && (i && (i += " "), i += n);
13
+ return i;
14
+ }
15
+ //#endregion
16
+ export { t };
@@ -0,0 +1,43 @@
1
+ import { ReactNode, SVGProps } from 'react';
2
+ export type BaseLogoProps = SVGProps<SVGSVGElement> & {
3
+ size?: number | string;
4
+ /**
5
+ * When true (default), `size` is the rendered height in px and width follows the viewBox
6
+ * (`w-auto` / fit-content). Set false for legacy width-based sizing (`size` = width).
7
+ */
8
+ fit?: boolean;
9
+ showLogo?: boolean;
10
+ brandFontSize?: number | string;
11
+ productFontSize?: number | string;
12
+ onlyIcon?: boolean;
13
+ };
14
+ type GradientConfig = {
15
+ x1: string;
16
+ y1: string;
17
+ x2: string;
18
+ y2: string;
19
+ };
20
+ type LogoMakerProps = BaseLogoProps & {
21
+ /** ViewBox min-x (default 0). Use with viewBoxY/viewBoxWidth to crop empty margins. */
22
+ viewBoxX?: number;
23
+ /** ViewBox min-y (default 0). */
24
+ viewBoxY?: number;
25
+ /** ViewBox width (default 480). Must match content width for correct aspect with `size`. */
26
+ viewBoxWidth?: number;
27
+ viewBoxHeight: number;
28
+ primary: string;
29
+ primaryDeep: string;
30
+ gradient: GradientConfig;
31
+ reverseGradient?: boolean;
32
+ textStartX?: number;
33
+ mark: (gradientId: string) => ReactNode;
34
+ markTransform?: string;
35
+ productLabel?: string;
36
+ brandY: number;
37
+ dividerY?: number;
38
+ productY?: number;
39
+ onlyIcon?: boolean;
40
+ };
41
+ declare const LogoMaker: ({ size, fit, showLogo, brandFontSize, productFontSize, viewBoxX, viewBoxY, viewBoxWidth, viewBoxHeight, primary, primaryDeep, gradient, reverseGradient, textStartX, mark, markTransform, productLabel, brandY, dividerY, productY, style, className, width: widthProp, height: heightProp, onlyIcon, ...props }: LogoMakerProps) => import("react/jsx-runtime").JSX.Element;
42
+ export default LogoMaker;
43
+ //# sourceMappingURL=LogoMaker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LogoMaker.d.ts","sourceRoot":"","sources":["../../../src/components/logo/LogoMaker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,QAAQ,EACd,MAAM,OAAO,CAAC;AAIf,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC,aAAa,CAAC,GAAG;IACpD,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB;;;OAGG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAChC,eAAe,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,KAAK,cAAc,GAAG;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,KAAK,cAAc,GAAG,aAAa,GAAG;IACpC,uFAAuF;IACvF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,4FAA4F;IAC5F,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,cAAc,CAAC;IACzB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,SAAS,CAAC;IACxC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,SAAS,GAAI,kTA2BhB,cAAc,4CAiIhB,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { BaseLogoProps } from './LogoMaker';
2
+ declare const RecruitSmartly: ({ ...props }: BaseLogoProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default RecruitSmartly;
4
+ //# sourceMappingURL=RecruitSmartly.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecruitSmartly.d.ts","sourceRoot":"","sources":["../../../src/components/logo/RecruitSmartly.tsx"],"names":[],"mappings":"AACA,OAAkB,EAAE,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5D,QAAA,MAAM,cAAc,GAAI,cAAc,aAAa,4CAmDlD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { BaseLogoProps } from './LogoMaker';
2
+ declare const SkillReady: ({ ...props }: BaseLogoProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default SkillReady;
4
+ //# sourceMappingURL=SkillReady.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SkillReady.d.ts","sourceRoot":"","sources":["../../../src/components/logo/SkillReady.tsx"],"names":[],"mappings":"AAAA,OAAkB,EAAE,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5D,QAAA,MAAM,UAAU,GAAI,cAAc,aAAa,4CAsD9C,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { BaseLogoProps } from './LogoMaker';
2
+ declare const TalentScan: ({ ...props }: BaseLogoProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default TalentScan;
4
+ //# sourceMappingURL=TalentScan.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TalentScan.d.ts","sourceRoot":"","sources":["../../../src/components/logo/TalentScan.tsx"],"names":[],"mappings":"AAAA,OAAkB,EAAE,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5D,QAAA,MAAM,UAAU,GAAI,cAAc,aAAa,4CAyF9C,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { BaseLogoProps } from './LogoMaker';
2
+ declare const Verity: ({ ...props }: BaseLogoProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Verity;
4
+ //# sourceMappingURL=Verity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Verity.d.ts","sourceRoot":"","sources":["../../../src/components/logo/Verity.tsx"],"names":[],"mappings":"AAAA,OAAkB,EAAE,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5D,QAAA,MAAM,MAAM,GAAI,cAAc,aAAa,4CAyC1C,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { BaseLogoProps } from './LogoMaker';
2
+ declare const WorkLog: ({ ...props }: BaseLogoProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default WorkLog;
4
+ //# sourceMappingURL=WorkLog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WorkLog.d.ts","sourceRoot":"","sources":["../../../src/components/logo/WorkLog.tsx"],"names":[],"mappings":"AAAA,OAAkB,EAAE,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5D,QAAA,MAAM,OAAO,GAAI,cAAc,aAAa,4CAmE3C,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { OpsfuseBrandTheme } from '../lib/brand-theme';
2
+ import * as React from "react";
3
+ /** Wraps children so opsfuse tokens and base styles apply only inside this subtree (host app theme stays independent). */
4
+ export declare function OpsfuseRoot({ theme, className, ...props }: React.ComponentProps<"div"> & {
5
+ theme?: OpsfuseBrandTheme;
6
+ }): import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=opsfuse-root.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"opsfuse-root.d.ts","sourceRoot":"","sources":["../../src/components/opsfuse-root.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,mBAAmB,CAAC;AAE3B,0HAA0H;AAC1H,wBAAgB,WAAW,CAAC,EAC1B,KAAmC,EACnC,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG;IAAE,KAAK,CAAC,EAAE,iBAAiB,CAAA;CAAE,2CAI7D"}