opsfuse-ui 0.1.10 → 0.1.12
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/opsfuse-color-theme/SKILL.md +1 -1
- package/.claude/skills/opsfuse-components/SKILL.md +1 -1
- package/.claude/skills/opsfuse-setup/SKILL.md +94 -419
- package/.claude/skills/opsfuse-ui-consistency/SKILL.md +1 -1
- package/dist/{chunk-BdsCSvBP.js → chunk-Dqa2HsxW.js} +1 -1
- package/dist/components/logo/LogoMaker.d.ts +1 -1
- package/dist/components/logo/LogoMaker.d.ts.map +1 -1
- package/dist/components/logo/RecruitSmartly.d.ts +1 -1
- package/dist/components/logo/RecruitSmartly.d.ts.map +1 -1
- package/dist/components/logo/SkillReady.d.ts +1 -1
- package/dist/components/logo/SkillReady.d.ts.map +1 -1
- package/dist/components/logo/TalentScan.d.ts +1 -1
- package/dist/components/logo/TalentScan.d.ts.map +1 -1
- package/dist/components/logo/Verity.d.ts +1 -1
- package/dist/components/logo/Verity.d.ts.map +1 -1
- package/dist/components/logo/WorkLog.d.ts +1 -1
- package/dist/components/logo/WorkLog.d.ts.map +1 -1
- package/dist/components/opsfuse-root.d.ts +1 -1
- package/dist/components/opsfuse-root.d.ts.map +1 -1
- package/dist/components/opsfuse-theme-provider.d.ts +1 -1
- package/dist/components/opsfuse-theme-provider.d.ts.map +1 -1
- package/dist/components/ui/Header.d.ts +1 -1
- package/dist/components/ui/Header.d.ts.map +1 -1
- package/dist/components/ui/accordion.d.ts +1 -1
- package/dist/components/ui/accordion.d.ts.map +1 -1
- package/dist/components/ui/alert-dialog.d.ts +1 -1
- package/dist/components/ui/alert-dialog.d.ts.map +1 -1
- package/dist/components/ui/alert.d.ts +5 -5
- package/dist/components/ui/alert.d.ts.map +1 -1
- package/dist/components/ui/aspect-ratio.d.ts +1 -1
- package/dist/components/ui/aspect-ratio.d.ts.map +1 -1
- package/dist/components/ui/autocomplete.d.ts +1 -1
- package/dist/components/ui/autocomplete.d.ts.map +1 -1
- package/dist/components/ui/avatar.d.ts +1 -1
- package/dist/components/ui/avatar.d.ts.map +1 -1
- package/dist/components/ui/badge.d.ts +1 -1
- package/dist/components/ui/badge.d.ts.map +1 -1
- package/dist/components/ui/breadcrumb.d.ts +7 -7
- package/dist/components/ui/breadcrumb.d.ts.map +1 -1
- package/dist/components/ui/button-group.d.ts +3 -3
- package/dist/components/ui/button-group.d.ts.map +1 -1
- package/dist/components/ui/button.d.ts +1 -1
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/calendar.d.ts +2 -2
- package/dist/components/ui/calendar.d.ts.map +1 -1
- package/dist/components/ui/card.d.ts +7 -7
- package/dist/components/ui/card.d.ts.map +1 -1
- package/dist/components/ui/carousel.d.ts +5 -5
- package/dist/components/ui/carousel.d.ts.map +1 -1
- package/dist/components/ui/chart.d.ts +4 -4
- package/dist/components/ui/chart.d.ts.map +1 -1
- package/dist/components/ui/checkbox.d.ts +1 -1
- package/dist/components/ui/checkbox.d.ts.map +1 -1
- package/dist/components/ui/collapsible.d.ts +3 -3
- package/dist/components/ui/collapsible.d.ts.map +1 -1
- package/dist/components/ui/combobox.d.ts +1 -1
- package/dist/components/ui/combobox.d.ts.map +1 -1
- package/dist/components/ui/command.d.ts +9 -9
- package/dist/components/ui/command.d.ts.map +1 -1
- package/dist/components/ui/context-menu.d.ts +15 -15
- package/dist/components/ui/context-menu.d.ts.map +1 -1
- package/dist/components/ui/dialog.d.ts +11 -11
- package/dist/components/ui/dialog.d.ts.map +1 -1
- package/dist/components/ui/direction.d.ts +1 -1
- package/dist/components/ui/direction.d.ts.map +1 -1
- package/dist/components/ui/drawer.d.ts +10 -10
- package/dist/components/ui/drawer.d.ts.map +1 -1
- package/dist/components/ui/dropdown-menu.d.ts +1 -1
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/empty.d.ts +1 -1
- package/dist/components/ui/empty.d.ts.map +1 -1
- package/dist/components/ui/field.d.ts +10 -10
- package/dist/components/ui/field.d.ts.map +1 -1
- package/dist/components/ui/form.d.ts +5 -5
- package/dist/components/ui/form.d.ts.map +1 -1
- package/dist/components/ui/hover-card.d.ts +3 -3
- package/dist/components/ui/hover-card.d.ts.map +1 -1
- package/dist/components/ui/input-group.d.ts +6 -6
- package/dist/components/ui/input-group.d.ts.map +1 -1
- package/dist/components/ui/input-otp.d.ts +4 -4
- package/dist/components/ui/input-otp.d.ts.map +1 -1
- package/dist/components/ui/input.d.ts +1 -1
- package/dist/components/ui/input.d.ts.map +1 -1
- package/dist/components/ui/item.d.ts +10 -10
- package/dist/components/ui/item.d.ts.map +1 -1
- package/dist/components/ui/kbd.d.ts +2 -2
- package/dist/components/ui/kbd.d.ts.map +1 -1
- package/dist/components/ui/label.d.ts +1 -1
- package/dist/components/ui/label.d.ts.map +1 -1
- package/dist/components/ui/menubar.d.ts +16 -16
- package/dist/components/ui/menubar.d.ts.map +1 -1
- package/dist/components/ui/navigation-menu.d.ts +8 -8
- package/dist/components/ui/navigation-menu.d.ts.map +1 -1
- package/dist/components/ui/pagination.d.ts +1 -1
- package/dist/components/ui/pagination.d.ts.map +1 -1
- package/dist/components/ui/popover.d.ts +7 -7
- package/dist/components/ui/popover.d.ts.map +1 -1
- package/dist/components/ui/progress.d.ts +1 -1
- package/dist/components/ui/progress.d.ts.map +1 -1
- package/dist/components/ui/radio-group.d.ts +2 -2
- package/dist/components/ui/radio-group.d.ts.map +1 -1
- package/dist/components/ui/resizable.d.ts +3 -3
- package/dist/components/ui/resizable.d.ts.map +1 -1
- package/dist/components/ui/scroll-area.d.ts +2 -2
- package/dist/components/ui/scroll-area.d.ts.map +1 -1
- package/dist/components/ui/select.d.ts +1 -1
- package/dist/components/ui/select.d.ts.map +1 -1
- package/dist/components/ui/separator.d.ts +1 -1
- package/dist/components/ui/separator.d.ts.map +1 -1
- package/dist/components/ui/shadcn/shadcn-accordion.d.ts +4 -4
- package/dist/components/ui/shadcn/shadcn-accordion.d.ts.map +1 -1
- package/dist/components/ui/shadcn/shadcn-alert-dialog.d.ts +12 -12
- package/dist/components/ui/shadcn/shadcn-alert-dialog.d.ts.map +1 -1
- package/dist/components/ui/shadcn/shadcn-avatar.d.ts +6 -6
- package/dist/components/ui/shadcn/shadcn-avatar.d.ts.map +1 -1
- package/dist/components/ui/shadcn/shadcn-combobox.d.ts +15 -15
- package/dist/components/ui/shadcn/shadcn-combobox.d.ts.map +1 -1
- package/dist/components/ui/shadcn/shadcn-dropdown-menu.d.ts +15 -15
- package/dist/components/ui/shadcn/shadcn-dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/shadcn/shadcn-empty.d.ts +6 -6
- package/dist/components/ui/shadcn/shadcn-empty.d.ts.map +1 -1
- package/dist/components/ui/shadcn/shadcn-pagination.d.ts +7 -7
- package/dist/components/ui/shadcn/shadcn-pagination.d.ts.map +1 -1
- package/dist/components/ui/shadcn/shadcn-select.d.ts +11 -11
- package/dist/components/ui/shadcn/shadcn-select.d.ts.map +1 -1
- package/dist/components/ui/shadcn/shadcn-tabs.d.ts +4 -4
- package/dist/components/ui/shadcn/shadcn-tabs.d.ts.map +1 -1
- package/dist/components/ui/shadcn/shadcn-tooltip.d.ts +4 -4
- package/dist/components/ui/shadcn/shadcn-tooltip.d.ts.map +1 -1
- package/dist/components/ui/sheet.d.ts +9 -9
- package/dist/components/ui/sheet.d.ts.map +1 -1
- package/dist/components/ui/sidebar.d.ts +23 -23
- package/dist/components/ui/sidebar.d.ts.map +1 -1
- package/dist/components/ui/skeleton.d.ts +1 -1
- package/dist/components/ui/skeleton.d.ts.map +1 -1
- package/dist/components/ui/slider.d.ts +2 -2
- package/dist/components/ui/slider.d.ts.map +1 -1
- package/dist/components/ui/sonner.d.ts +1 -1
- package/dist/components/ui/sonner.d.ts.map +1 -1
- package/dist/components/ui/spinner.d.ts +1 -1
- package/dist/components/ui/spinner.d.ts.map +1 -1
- package/dist/components/ui/switch.d.ts +1 -1
- package/dist/components/ui/switch.d.ts.map +1 -1
- package/dist/components/ui/table.d.ts +8 -8
- package/dist/components/ui/table.d.ts.map +1 -1
- package/dist/components/ui/tabs.d.ts +1 -1
- package/dist/components/ui/tabs.d.ts.map +1 -1
- package/dist/components/ui/textarea.d.ts +1 -1
- package/dist/components/ui/textarea.d.ts.map +1 -1
- package/dist/components/ui/toggle-group.d.ts +2 -2
- package/dist/components/ui/toggle-group.d.ts.map +1 -1
- package/dist/components/ui/toggle.d.ts +1 -1
- package/dist/components/ui/toggle.d.ts.map +1 -1
- package/dist/components/ui/tooltip.d.ts +1 -1
- package/dist/components/ui/tooltip.d.ts.map +1 -1
- package/dist/core.js +2 -2
- package/dist/{date-fns-BNhPf8zY.js → date-fns-DTKqTajJ.js} +2 -2
- package/dist/date-fns-locale.js +49 -50
- package/dist/date-fns.js +2 -2
- package/dist/{es6-DckNYvTU.js → es6-CLjPx7Zx.js} +6647 -6696
- package/dist/extended.js +2 -2
- package/dist/icons.js +2 -2
- package/dist/index.js +1178 -490
- package/dist/{input-group-Cw_lNmMp.js → input-group-Cs_7xSjN.js} +1460 -1258
- package/dist/{input-otp-oZKFMiS3.js → input-otp-CGTrl2aj.js} +3707 -3622
- package/dist/lib/opsfuse-portal-theme.d.ts +2 -2
- package/dist/lib/opsfuse-portal-theme.d.ts.map +1 -1
- package/dist/{lucide-react-BST2iBrS.js → lucide-react-Dil0H3iN.js} +11864 -11499
- package/dist/recharts.js +1 -1
- package/dist/style.css +232 -3
- package/dist/{toggle-group-DVYOAykn.js → toggle-group-BBYrK3NA.js} +3941 -3102
- package/package.json +1 -2
- package/theme.css +82 -21
- package/dist/style.layered.css +0 -3
- /package/dist/{clsx-BD2qMUU1.js → clsx-BWCAbrjV.js} +0 -0
- /package/dist/{isSameWeek-BUR9Q_Qt.js → isSameWeek-B6PEe-M_.js} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opsfuse-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -44,7 +44,6 @@
|
|
|
44
44
|
"default": "./dist/date-fns-locale.js"
|
|
45
45
|
},
|
|
46
46
|
"./styles.css": "./dist/style.css",
|
|
47
|
-
"./styles.layered.css": "./dist/style.layered.css",
|
|
48
47
|
"./theme.css": "./theme.css",
|
|
49
48
|
"./package.json": "./package.json"
|
|
50
49
|
},
|
package/theme.css
CHANGED
|
@@ -1,30 +1,85 @@
|
|
|
1
1
|
/* ════════════════════════════════════════════════════════════════
|
|
2
|
-
OPSFUSE — Tailwind v4
|
|
3
|
-
|
|
4
|
-
The SINGLE source of truth that maps every opsfuse design token to a
|
|
5
|
-
Tailwind v4 theme variable, so utilities like `bg-card`, `text-foreground`,
|
|
6
|
-
`border-success`, `bg-success-muted`, `text-ai-muted-foreground`, etc. are
|
|
7
|
-
generated for both the library and any consuming app.
|
|
8
|
-
|
|
9
|
-
── WHY `@theme inline` (NOT plain `@theme`) ───────────────────────────
|
|
10
|
-
The runtime token VALUES (`--success`, `--card`, …) are scoped to
|
|
11
|
-
`.opsfuse-ui` (see brands.css), NOT to `:root`. A plain `@theme` emits
|
|
12
|
-
`--color-success: var(--success)` onto `:root`, where `--success` is
|
|
13
|
-
undefined → the variable collapses to guaranteed-invalid and every utility
|
|
14
|
-
that depends on it renders with no color. `inline` makes Tailwind substitute
|
|
15
|
-
`var(--success)` DIRECTLY into each utility, so it is resolved per-element
|
|
16
|
-
against the nearest `.opsfuse-ui` ancestor — correct under every brand and in
|
|
17
|
-
dark mode, with zero `:root` leakage.
|
|
18
|
-
|
|
19
|
-
── HOW TO CONSUME ─────────────────────────────────────────────────────
|
|
20
|
-
In your Tailwind v4 entry CSS, AFTER `@import "tailwindcss"`:
|
|
2
|
+
OPSFUSE — Tailwind v4 host preamble + theme map
|
|
21
3
|
|
|
4
|
+
Prepended to `dist/style.css` when the library is built. Maps design tokens to
|
|
5
|
+
Tailwind utilities and registers shadcn custom variants for hosts that
|
|
6
|
+
re-process the bundle.
|
|
7
|
+
|
|
8
|
+
── CONSUME ────────────────────────────────────────────────────────────
|
|
22
9
|
@import "tailwindcss";
|
|
23
|
-
@import "opsfuse-ui/
|
|
10
|
+
@import "opsfuse-ui/styles.css";
|
|
24
11
|
|
|
25
|
-
|
|
12
|
+
Import `opsfuse-ui/theme.css` only when you need the map without components.
|
|
26
13
|
════════════════════════════════════════════════════════════════ */
|
|
27
14
|
|
|
15
|
+
/* Do not register package JS as @source on the host — breaks data-active:* */
|
|
16
|
+
@source not "./**/*.js";
|
|
17
|
+
|
|
18
|
+
@custom-variant data-open {
|
|
19
|
+
&:where([data-state="open"]),
|
|
20
|
+
&:where([data-open]:not([data-open="false"])) {
|
|
21
|
+
@slot;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@custom-variant data-closed {
|
|
26
|
+
&:where([data-state="closed"]),
|
|
27
|
+
&:where([data-closed]:not([data-closed="false"])) {
|
|
28
|
+
@slot;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@custom-variant data-checked {
|
|
33
|
+
&:where([data-state="checked"]),
|
|
34
|
+
&:where([data-checked]:not([data-checked="false"])) {
|
|
35
|
+
@slot;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@custom-variant data-unchecked {
|
|
40
|
+
&:where([data-state="unchecked"]),
|
|
41
|
+
&:where([data-unchecked]:not([data-unchecked="false"])) {
|
|
42
|
+
@slot;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@custom-variant data-selected {
|
|
47
|
+
&:where([data-selected="true"]) {
|
|
48
|
+
@slot;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@custom-variant data-disabled {
|
|
53
|
+
&:where([data-disabled="true"]),
|
|
54
|
+
&:where([data-disabled]:not([data-disabled="false"])) {
|
|
55
|
+
@slot;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@custom-variant data-active {
|
|
60
|
+
&:where([data-state="active"]),
|
|
61
|
+
&:where([data-active]:not([data-active="false"])) {
|
|
62
|
+
@slot;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@custom-variant data-horizontal {
|
|
67
|
+
&:where([data-orientation="horizontal"]) {
|
|
68
|
+
@slot;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@custom-variant data-vertical {
|
|
73
|
+
&:where([data-orientation="vertical"]) {
|
|
74
|
+
@slot;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@source inline("border-border-subtle");
|
|
79
|
+
@source inline("border-border-strong");
|
|
80
|
+
@source inline("border-(--border-subtle)");
|
|
81
|
+
@source inline("border-(--border-strong)");
|
|
82
|
+
|
|
28
83
|
@theme inline {
|
|
29
84
|
/* ── Surfaces ───────────────────────────────────────────── */
|
|
30
85
|
--color-background: var(--background);
|
|
@@ -127,6 +182,12 @@
|
|
|
127
182
|
--color-chart-grid: var(--chart-grid);
|
|
128
183
|
--color-chart-axis: var(--chart-axis);
|
|
129
184
|
|
|
185
|
+
/* ── Shadows (elevation; use var(--shadow-*) or shadow-sm/md/lg utilities) ─ */
|
|
186
|
+
--shadow-focus: var(--shadow-focus);
|
|
187
|
+
--shadow-sm: var(--shadow-sm);
|
|
188
|
+
--shadow-md: var(--shadow-md);
|
|
189
|
+
--shadow-lg: var(--shadow-lg);
|
|
190
|
+
|
|
130
191
|
/* ── Typography ─────────────────────────────────────────── */
|
|
131
192
|
--font-heading: "Noto Serif", ui-serif, Georgia, serif;
|
|
132
193
|
--text-caption: 0.75rem;
|