@reopt-ai/opt-ui 1.5.0 → 1.6.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 (87) hide show
  1. package/COMPONENT_CATALOG.md +83 -38
  2. package/README.md +28 -7
  3. package/dist/app.css +146 -0
  4. package/dist/core/index.cjs +164 -324
  5. package/dist/core/index.d.cts +3 -6
  6. package/dist/core/index.d.ts +3 -6
  7. package/dist/core/index.js +3 -323
  8. package/dist/docs/01-getting-started.md +25 -5
  9. package/dist/docs/02-components/01-core.md +36 -28
  10. package/dist/docs/02-components/02-visuals.md +1 -1
  11. package/dist/docs/02-components/03-shells.md +40 -12
  12. package/dist/docs/02-components/04-surfaces.md +1 -1
  13. package/dist/docs/02-components/index.md +1 -1
  14. package/dist/docs/03-recipes/03-layouts.md +16 -12
  15. package/dist/docs/05-migration/01-breaking-changes.md +28 -0
  16. package/dist/id-registry.cjs +1899 -1872
  17. package/dist/id-registry.d.cts +13 -10
  18. package/dist/id-registry.d.cts.map +1 -0
  19. package/dist/id-registry.d.ts +13 -10
  20. package/dist/id-registry.d.ts.map +1 -0
  21. package/dist/id-registry.js +1897 -1871
  22. package/dist/id-registry.js.map +1 -0
  23. package/dist/id-registry.json +28 -28
  24. package/dist/index.cjs +8294 -9790
  25. package/dist/index.d.cts +1486 -1442
  26. package/dist/index.d.cts.map +1 -0
  27. package/dist/index.d.ts +1486 -1442
  28. package/dist/index.d.ts.map +1 -0
  29. package/dist/index.js +7933 -9777
  30. package/dist/index.js.map +1 -0
  31. package/dist/meta.cjs +7461 -6875
  32. package/dist/meta.d.cts.map +1 -0
  33. package/dist/meta.d.ts.map +1 -0
  34. package/dist/meta.js +7460 -6846
  35. package/dist/meta.js.map +1 -0
  36. package/dist/pagination-By7Ozv3U.js +3788 -0
  37. package/dist/pagination-By7Ozv3U.js.map +1 -0
  38. package/dist/pagination-Uv3CnGJz.cjs +4677 -0
  39. package/dist/shader-surface-BK1GMt5_.d.cts +1788 -0
  40. package/dist/shader-surface-BK1GMt5_.d.cts.map +1 -0
  41. package/dist/shader-surface-BWhO2xkk.js +3715 -0
  42. package/dist/shader-surface-BWhO2xkk.js.map +1 -0
  43. package/dist/shader-surface-DIVWtpFl.d.ts +1788 -0
  44. package/dist/shader-surface-DIVWtpFl.d.ts.map +1 -0
  45. package/dist/shader-surface-DxLLfrE6.cjs +4108 -0
  46. package/dist/shells/index.cjs +51 -65
  47. package/dist/shells/index.d.cts +4 -5
  48. package/dist/shells/index.d.ts +4 -5
  49. package/dist/shells/index.js +3 -64
  50. package/dist/tailwind.css +49 -0
  51. package/dist/theme/server.cjs +257 -228
  52. package/dist/theme/server.d.cts +48 -60
  53. package/dist/theme/server.d.cts.map +1 -0
  54. package/dist/theme/server.d.ts +48 -60
  55. package/dist/theme/server.d.ts.map +1 -0
  56. package/dist/theme/server.js +234 -189
  57. package/dist/theme/server.js.map +1 -0
  58. package/dist/types-D0FlcYnM.d.cts +301 -0
  59. package/dist/types-D0FlcYnM.d.cts.map +1 -0
  60. package/dist/types-D0FlcYnM.d.ts +301 -0
  61. package/dist/types-D0FlcYnM.d.ts.map +1 -0
  62. package/dist/visuals/index.cjs +10 -4
  63. package/dist/visuals/index.d.cts +2 -1
  64. package/dist/visuals/index.d.ts +2 -1
  65. package/dist/visuals/index.js +1 -2
  66. package/dist/workflow-canvas-3Jeevkgy.cjs +2599 -0
  67. package/dist/workflow-canvas-BGBAcjf-.js +2403 -0
  68. package/dist/workflow-canvas-BGBAcjf-.js.map +1 -0
  69. package/dist/workflow-canvas-Bar_O2SQ.d.ts +494 -0
  70. package/dist/workflow-canvas-Bar_O2SQ.d.ts.map +1 -0
  71. package/dist/workflow-canvas-DghDRtHn.d.cts +494 -0
  72. package/dist/workflow-canvas-DghDRtHn.d.cts.map +1 -0
  73. package/package.json +11 -6
  74. package/dist/chunk-3GWWZKX7.js +0 -38
  75. package/dist/chunk-3QFYBBL6.cjs +0 -4759
  76. package/dist/chunk-3XD4HIFL.js +0 -3241
  77. package/dist/chunk-AFF2HPE5.cjs +0 -5008
  78. package/dist/chunk-NXZJIHEZ.cjs +0 -3241
  79. package/dist/chunk-ONE3C5RV.cjs +0 -38
  80. package/dist/chunk-RBM2RNC2.js +0 -5008
  81. package/dist/chunk-VBGPEW45.js +0 -4759
  82. package/dist/index-BZ_lBlO1.d.ts +0 -474
  83. package/dist/index-BuvxoWHf.d.cts +0 -474
  84. package/dist/index-DWyqDIkH.d.cts +0 -1689
  85. package/dist/index-Uyijm14M.d.ts +0 -1689
  86. package/dist/types-D4-0lwaE.d.cts +0 -298
  87. package/dist/types-D4-0lwaE.d.ts +0 -298
@@ -1,65 +1,51 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
-
13
-
14
-
15
-
16
-
17
-
18
-
19
-
20
-
21
-
22
-
23
-
24
-
25
-
26
- var _chunkNXZJIHEZcjs = require('../chunk-NXZJIHEZ.cjs');
27
- require('../chunk-AFF2HPE5.cjs');
28
- require('../chunk-ONE3C5RV.cjs');
29
-
30
- // src/shells/index.ts
31
-
32
-
33
-
34
-
35
-
36
- var _optcharts = require('@reopt-ai/opt-charts');
37
-
38
-
39
-
40
-
41
-
42
-
43
-
44
-
45
-
46
-
47
-
48
-
49
-
50
-
51
-
52
-
53
-
54
-
55
-
56
-
57
-
58
-
59
-
60
-
61
-
62
-
63
-
64
-
65
- exports.AppMenubar = _chunkNXZJIHEZcjs.AppMenubar; exports.BranchSelect = _chunkNXZJIHEZcjs.BranchSelect; exports.CommandPalette = _chunkNXZJIHEZcjs.CommandPalette; exports.CommandPaletteTrigger = _chunkNXZJIHEZcjs.CommandPaletteTrigger; exports.ContentTabs = _chunkNXZJIHEZcjs.ContentTabs; exports.DashboardGrid = _chunkNXZJIHEZcjs.DashboardGrid; exports.DataTable = _chunkNXZJIHEZcjs.DataTable; exports.DeploymentTimeline = _chunkNXZJIHEZcjs.DeploymentTimeline; exports.DomainTable = _chunkNXZJIHEZcjs.DomainTable; exports.EditorToolbar = _chunkNXZJIHEZcjs.EditorToolbar; exports.EnvPanel = _chunkNXZJIHEZcjs.EnvPanel; exports.EventSparkline = _optcharts.EventSparkline; exports.FailureList = _chunkNXZJIHEZcjs.FailureList; exports.FaqAccordion = _chunkNXZJIHEZcjs.FaqAccordion; exports.KeyValueEditor = _chunkNXZJIHEZcjs.KeyValueEditor; exports.MetricsCard = _optcharts.MetricsCard; exports.NotificationToast = _chunkNXZJIHEZcjs.NotificationToast; exports.ProjectSwitcher = _chunkNXZJIHEZcjs.ProjectSwitcher; exports.ReportWidget = _optcharts.ReportWidget; exports.SearchCombobox = _chunkNXZJIHEZcjs.SearchCombobox; exports.SettingsForm = _chunkNXZJIHEZcjs.SettingsForm; exports.SidebarNav = _chunkNXZJIHEZcjs.SidebarNav; exports.StatusSelect = _chunkNXZJIHEZcjs.StatusSelect; exports.ToastProvider = _chunkNXZJIHEZcjs.ToastProvider; exports.TrendChart = _optcharts.TrendChart; exports.WorkflowCanvas = _chunkNXZJIHEZcjs.WorkflowCanvas; exports.useToast = _chunkNXZJIHEZcjs.useToast;
1
+ "use client";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const require_workflow_canvas = require("../workflow-canvas-3Jeevkgy.cjs");
4
+ let _reopt_ai_opt_charts = require("@reopt-ai/opt-charts");
5
+ exports.AppMenubar = require_workflow_canvas.AppMenubar;
6
+ exports.BranchSelect = require_workflow_canvas.BranchSelect;
7
+ exports.CommandPalette = require_workflow_canvas.CommandPalette;
8
+ exports.CommandPaletteTrigger = require_workflow_canvas.CommandPaletteTrigger;
9
+ exports.ContentTabs = require_workflow_canvas.ContentTabs;
10
+ exports.DashboardGrid = require_workflow_canvas.DashboardGrid;
11
+ exports.DataTable = require_workflow_canvas.DataTable;
12
+ exports.DeploymentTimeline = require_workflow_canvas.DeploymentTimeline;
13
+ exports.DomainTable = require_workflow_canvas.DomainTable;
14
+ exports.EditorToolbar = require_workflow_canvas.EditorToolbar;
15
+ exports.EnvPanel = require_workflow_canvas.EnvPanel;
16
+ Object.defineProperty(exports, "EventSparkline", {
17
+ enumerable: true,
18
+ get: function() {
19
+ return _reopt_ai_opt_charts.EventSparkline;
20
+ }
21
+ });
22
+ exports.FailureList = require_workflow_canvas.FailureList;
23
+ exports.FaqAccordion = require_workflow_canvas.FaqAccordion;
24
+ exports.KeyValueEditor = require_workflow_canvas.KeyValueEditor;
25
+ Object.defineProperty(exports, "MetricsCard", {
26
+ enumerable: true,
27
+ get: function() {
28
+ return _reopt_ai_opt_charts.MetricsCard;
29
+ }
30
+ });
31
+ exports.NotificationToast = require_workflow_canvas.NotificationToast;
32
+ exports.ProjectSwitcher = require_workflow_canvas.ProjectSwitcher;
33
+ Object.defineProperty(exports, "ReportWidget", {
34
+ enumerable: true,
35
+ get: function() {
36
+ return _reopt_ai_opt_charts.ReportWidget;
37
+ }
38
+ });
39
+ exports.SearchCombobox = require_workflow_canvas.SearchCombobox;
40
+ exports.SettingsForm = require_workflow_canvas.SettingsForm;
41
+ exports.SidebarNav = require_workflow_canvas.SidebarNav;
42
+ exports.StatusSelect = require_workflow_canvas.StatusSelect;
43
+ exports.ToastProvider = require_workflow_canvas.ToastProvider;
44
+ Object.defineProperty(exports, "TrendChart", {
45
+ enumerable: true,
46
+ get: function() {
47
+ return _reopt_ai_opt_charts.TrendChart;
48
+ }
49
+ });
50
+ exports.WorkflowCanvas = require_workflow_canvas.WorkflowCanvas;
51
+ exports.useToast = require_workflow_canvas.useToast;
@@ -1,5 +1,4 @@
1
- export { A as AppMenubar, a as AppMenubarProps, B as BranchSelect, b as BranchSelectProps, C as ColumnDef, c as CommandPalette, d as CommandPaletteProps, e as CommandPaletteTrigger, f as CommandPaletteTriggerProps, g as ContentTabs, h as ContentTabsProps, D as DashboardGrid, i as DashboardGridProps, j as DataTable, k as DataTableProps, l as DeploymentTimeline, m as DeploymentTimelineProps, n as DomainTable, o as DomainTableProps, E as EditorToolbar, p as EditorToolbarProps, q as EnvPanel, r as EnvPanelProps, F as FailureList, s as FailureListLabels, t as FailureListProps, u as FaqAccordion, v as FaqAccordionProps, K as KeyValueEditor, w as KeyValueEditorLabels, x as KeyValueEditorProps, y as KeyValueEntry, N as NotificationToast, P as ProjectSwitcher, z as ProjectSwitcherProps, S as SearchCombobox, G as SearchComboboxProps, H as SettingsForm, I as SettingsFormProps, J as SidebarNav, L as SidebarNavProps, M as StatusSelect, O as StatusSelectProps, Q as ToastContextValue, R as ToastMessage, U as ToastProvider, V as ToastProviderProps, X as WorkflowCanvas, Y as WorkflowCanvasConnection, Z as WorkflowCanvasProps, _ as WorkflowCanvasStep, a0 as useToast } from '../index-BuvxoWHf.cjs';
2
- export { EventSparkline, EventSparklineLabels, EventSparklineProps, MetricsCard, MetricsCardProps, ReportWidget, ReportWidgetConfig, ReportWidgetLabels, ReportWidgetProps, ReportWidgetType, TrendChart, TrendChartProps } from '@reopt-ai/opt-charts';
3
- import 'react/jsx-runtime';
4
- import 'react';
5
- import '../types-D4-0lwaE.cjs';
1
+
2
+ import { $ as CommandPaletteTriggerProps, A as ProjectSwitcher, B as EditorToolbar, C as DataTableProps, D as BranchSelectProps, E as BranchSelect, F as SettingsFormProps, G as AppMenubarProps, H as SidebarNav, I as FaqAccordion, J as SearchCombobox, K as StatusSelect, L as FaqAccordionProps, M as DeploymentTimeline, N as DeploymentTimelineProps, O as EnvPanel, P as SettingsForm, Q as CommandPaletteTrigger, R as ContentTabs, S as DataTable, T as DomainTableProps, U as SidebarNavProps, V as EditorToolbarProps, W as AppMenubar, X as DashboardGrid, Y as SearchComboboxProps, Z as DashboardGridProps, _ as ToastProviderProps, a as KeyValueEditor, b as useToast, c as KeyValueEntry, d as FailureListProps, et as CommandPalette, f as NotificationToast, g as ToastProvider, h as ToastMessage, i as WorkflowCanvasStep, j as ProjectSwitcherProps, k as EnvPanelProps, l as FailureList, m as ToastContextValue, n as WorkflowCanvasConnection, o as KeyValueEditorLabels, q as StatusSelectProps, r as WorkflowCanvasProps, s as KeyValueEditorProps, t as WorkflowCanvas, tt as CommandPaletteProps, u as FailureListLabels, w as DomainTable, x as ColumnDef, z as ContentTabsProps } from "../workflow-canvas-DghDRtHn.cjs";
3
+ import { EventSparkline, EventSparklineLabels, EventSparklineProps, MetricsCard, MetricsCardProps, ReportWidget, ReportWidgetConfig, ReportWidgetLabels, ReportWidgetProps, ReportWidgetType, TrendChart, TrendChartProps } from "@reopt-ai/opt-charts";
4
+ export { AppMenubar, type AppMenubarProps, BranchSelect, type BranchSelectProps, type ColumnDef, CommandPalette, type CommandPaletteProps, CommandPaletteTrigger, type CommandPaletteTriggerProps, ContentTabs, type ContentTabsProps, DashboardGrid, type DashboardGridProps, DataTable, type DataTableProps, DeploymentTimeline, type DeploymentTimelineProps, DomainTable, type DomainTableProps, EditorToolbar, type EditorToolbarProps, EnvPanel, type EnvPanelProps, EventSparkline, type EventSparklineLabels, type EventSparklineProps, FailureList, type FailureListLabels, type FailureListProps, FaqAccordion, type FaqAccordionProps, KeyValueEditor, type KeyValueEditorLabels, type KeyValueEditorProps, type KeyValueEntry, MetricsCard, type MetricsCardProps, NotificationToast, ProjectSwitcher, type ProjectSwitcherProps, ReportWidget, type ReportWidgetConfig, type ReportWidgetLabels, type ReportWidgetProps, type ReportWidgetType, SearchCombobox, type SearchComboboxProps, SettingsForm, type SettingsFormProps, SidebarNav, type SidebarNavProps, StatusSelect, type StatusSelectProps, type ToastContextValue, type ToastMessage, ToastProvider, type ToastProviderProps, TrendChart, type TrendChartProps, WorkflowCanvas, type WorkflowCanvasConnection, type WorkflowCanvasProps, type WorkflowCanvasStep, useToast };
@@ -1,5 +1,4 @@
1
- export { A as AppMenubar, a as AppMenubarProps, B as BranchSelect, b as BranchSelectProps, C as ColumnDef, c as CommandPalette, d as CommandPaletteProps, e as CommandPaletteTrigger, f as CommandPaletteTriggerProps, g as ContentTabs, h as ContentTabsProps, D as DashboardGrid, i as DashboardGridProps, j as DataTable, k as DataTableProps, l as DeploymentTimeline, m as DeploymentTimelineProps, n as DomainTable, o as DomainTableProps, E as EditorToolbar, p as EditorToolbarProps, q as EnvPanel, r as EnvPanelProps, F as FailureList, s as FailureListLabels, t as FailureListProps, u as FaqAccordion, v as FaqAccordionProps, K as KeyValueEditor, w as KeyValueEditorLabels, x as KeyValueEditorProps, y as KeyValueEntry, N as NotificationToast, P as ProjectSwitcher, z as ProjectSwitcherProps, S as SearchCombobox, G as SearchComboboxProps, H as SettingsForm, I as SettingsFormProps, J as SidebarNav, L as SidebarNavProps, M as StatusSelect, O as StatusSelectProps, Q as ToastContextValue, R as ToastMessage, U as ToastProvider, V as ToastProviderProps, X as WorkflowCanvas, Y as WorkflowCanvasConnection, Z as WorkflowCanvasProps, _ as WorkflowCanvasStep, a0 as useToast } from '../index-BZ_lBlO1.js';
2
- export { EventSparkline, EventSparklineLabels, EventSparklineProps, MetricsCard, MetricsCardProps, ReportWidget, ReportWidgetConfig, ReportWidgetLabels, ReportWidgetProps, ReportWidgetType, TrendChart, TrendChartProps } from '@reopt-ai/opt-charts';
3
- import 'react/jsx-runtime';
4
- import 'react';
5
- import '../types-D4-0lwaE.js';
1
+
2
+ import { $ as CommandPaletteTriggerProps, A as ProjectSwitcher, B as EditorToolbar, C as DataTableProps, D as BranchSelectProps, E as BranchSelect, F as SettingsFormProps, G as AppMenubarProps, H as SidebarNav, I as FaqAccordion, J as SearchCombobox, K as StatusSelect, L as FaqAccordionProps, M as DeploymentTimeline, N as DeploymentTimelineProps, O as EnvPanel, P as SettingsForm, Q as CommandPaletteTrigger, R as ContentTabs, S as DataTable, T as DomainTableProps, U as SidebarNavProps, V as EditorToolbarProps, W as AppMenubar, X as DashboardGrid, Y as SearchComboboxProps, Z as DashboardGridProps, _ as ToastProviderProps, a as KeyValueEditor, b as useToast, c as KeyValueEntry, d as FailureListProps, et as CommandPalette, f as NotificationToast, g as ToastProvider, h as ToastMessage, i as WorkflowCanvasStep, j as ProjectSwitcherProps, k as EnvPanelProps, l as FailureList, m as ToastContextValue, n as WorkflowCanvasConnection, o as KeyValueEditorLabels, q as StatusSelectProps, r as WorkflowCanvasProps, s as KeyValueEditorProps, t as WorkflowCanvas, tt as CommandPaletteProps, u as FailureListLabels, w as DomainTable, x as ColumnDef, z as ContentTabsProps } from "../workflow-canvas-Bar_O2SQ.js";
3
+ import { EventSparkline, EventSparklineLabels, EventSparklineProps, MetricsCard, MetricsCardProps, ReportWidget, ReportWidgetConfig, ReportWidgetLabels, ReportWidgetProps, ReportWidgetType, TrendChart, TrendChartProps } from "@reopt-ai/opt-charts";
4
+ export { AppMenubar, type AppMenubarProps, BranchSelect, type BranchSelectProps, type ColumnDef, CommandPalette, type CommandPaletteProps, CommandPaletteTrigger, type CommandPaletteTriggerProps, ContentTabs, type ContentTabsProps, DashboardGrid, type DashboardGridProps, DataTable, type DataTableProps, DeploymentTimeline, type DeploymentTimelineProps, DomainTable, type DomainTableProps, EditorToolbar, type EditorToolbarProps, EnvPanel, type EnvPanelProps, EventSparkline, type EventSparklineLabels, type EventSparklineProps, FailureList, type FailureListLabels, type FailureListProps, FaqAccordion, type FaqAccordionProps, KeyValueEditor, type KeyValueEditorLabels, type KeyValueEditorProps, type KeyValueEntry, MetricsCard, type MetricsCardProps, NotificationToast, ProjectSwitcher, type ProjectSwitcherProps, ReportWidget, type ReportWidgetConfig, type ReportWidgetLabels, type ReportWidgetProps, type ReportWidgetType, SearchCombobox, type SearchComboboxProps, SettingsForm, type SettingsFormProps, SidebarNav, type SidebarNavProps, StatusSelect, type StatusSelectProps, type ToastContextValue, type ToastMessage, ToastProvider, type ToastProviderProps, TrendChart, type TrendChartProps, WorkflowCanvas, type WorkflowCanvasConnection, type WorkflowCanvasProps, type WorkflowCanvasStep, useToast };
@@ -1,65 +1,4 @@
1
1
  "use client";
2
- import {
3
- AppMenubar,
4
- BranchSelect,
5
- CommandPalette,
6
- CommandPaletteTrigger,
7
- ContentTabs,
8
- DashboardGrid,
9
- DataTable,
10
- DeploymentTimeline,
11
- DomainTable,
12
- EditorToolbar,
13
- EnvPanel,
14
- FailureList,
15
- FaqAccordion,
16
- KeyValueEditor,
17
- NotificationToast,
18
- ProjectSwitcher,
19
- SearchCombobox,
20
- SettingsForm,
21
- SidebarNav,
22
- StatusSelect,
23
- ToastProvider,
24
- WorkflowCanvas,
25
- useToast
26
- } from "../chunk-3XD4HIFL.js";
27
- import "../chunk-RBM2RNC2.js";
28
- import "../chunk-3GWWZKX7.js";
29
-
30
- // src/shells/index.ts
31
- import {
32
- MetricsCard,
33
- TrendChart,
34
- EventSparkline,
35
- ReportWidget
36
- } from "@reopt-ai/opt-charts";
37
- export {
38
- AppMenubar,
39
- BranchSelect,
40
- CommandPalette,
41
- CommandPaletteTrigger,
42
- ContentTabs,
43
- DashboardGrid,
44
- DataTable,
45
- DeploymentTimeline,
46
- DomainTable,
47
- EditorToolbar,
48
- EnvPanel,
49
- EventSparkline,
50
- FailureList,
51
- FaqAccordion,
52
- KeyValueEditor,
53
- MetricsCard,
54
- NotificationToast,
55
- ProjectSwitcher,
56
- ReportWidget,
57
- SearchCombobox,
58
- SettingsForm,
59
- SidebarNav,
60
- StatusSelect,
61
- ToastProvider,
62
- TrendChart,
63
- WorkflowCanvas,
64
- useToast
65
- };
2
+ import { C as CommandPaletteTrigger, S as DashboardGrid, _ as EditorToolbar, a as ToastProvider, b as StatusSelect, c as DataTable, d as EnvPanel, f as ProjectSwitcher, g as ContentTabs, h as FaqAccordion, i as NotificationToast, l as DomainTable, m as SettingsForm, n as KeyValueEditor, p as DeploymentTimeline, r as FailureList, s as useToast, t as WorkflowCanvas, u as BranchSelect, v as SidebarNav, w as CommandPalette, x as SearchCombobox, y as AppMenubar } from "../workflow-canvas-BGBAcjf-.js";
3
+ import { EventSparkline, MetricsCard, ReportWidget, TrendChart } from "@reopt-ai/opt-charts";
4
+ export { AppMenubar, BranchSelect, CommandPalette, CommandPaletteTrigger, ContentTabs, DashboardGrid, DataTable, DeploymentTimeline, DomainTable, EditorToolbar, EnvPanel, EventSparkline, FailureList, FaqAccordion, KeyValueEditor, MetricsCard, NotificationToast, ProjectSwitcher, ReportWidget, SearchCombobox, SettingsForm, SidebarNav, StatusSelect, ToastProvider, TrendChart, WorkflowCanvas, useToast };
package/dist/tailwind.css CHANGED
@@ -116,6 +116,55 @@
116
116
  --weight-heading: var(--opt-weight-heading, 600);
117
117
  }
118
118
 
119
+ /* ── Short semantic utility aliases ──
120
+ *
121
+ * `@theme inline`의 토큰 이름은 스코프를 접두사로 갖기 때문에(`--color-bg-subtle`,
122
+ * `--color-text-secondary`) 생성되는 유틸이 `bg-bg-subtle` / `text-text-secondary`
123
+ * 처럼 접두사가 두 번 반복된다. 소비자는 자연스럽게 짧은 쪽(`bg-subtle`,
124
+ * `text-secondary`)을 쓰고, 그 클래스는 존재하지 않아 스타일이 조용히 사라진다.
125
+ * 실제 소비 프로젝트에서 이 무음 실패가 반복 관측됐고(죽은 클래스 20회), 결국
126
+ * Tailwind를 우회해 CSS Module에서 `var(--opt-*)`를 직접 참조하는 경로로 이어졌다.
127
+ *
128
+ * 아래 alias는 그 짧은 이름을 정확한 시맨틱으로 1급 유틸로 만든다. 기존 이중어
129
+ * 이름(`bg-bg-subtle` 등)은 그대로 유효하다 — 제거가 아니라 추가다.
130
+ *
131
+ * 제약: static utility에는 alpha modifier가 붙지 않는다(`bg-subtle/40`은 생성되지
132
+ * 않음 — Tailwind의 `--modifier()`는 functional utility 전용). 투명도가 필요하면
133
+ * 정식 토큰 이름을 쓴다: `text-text-secondary/60`, `bg-accent-subtle` 등. */
134
+ @utility bg-subtle {
135
+ background-color: var(--opt-bg-subtle);
136
+ }
137
+ @utility bg-muted {
138
+ background-color: var(--opt-bg-muted);
139
+ }
140
+ @utility bg-raised {
141
+ background-color: var(--opt-surface-raised);
142
+ }
143
+ @utility bg-overlay {
144
+ background-color: var(--opt-surface-overlay);
145
+ }
146
+ @utility bg-inset {
147
+ background-color: var(--opt-surface-inset);
148
+ }
149
+ @utility bg-input {
150
+ background-color: var(--opt-surface-input);
151
+ }
152
+ @utility text-primary {
153
+ color: var(--opt-text);
154
+ }
155
+ @utility text-secondary {
156
+ color: var(--opt-text-secondary);
157
+ }
158
+ @utility text-tertiary {
159
+ color: var(--opt-text-tertiary);
160
+ }
161
+ @utility border-subtle {
162
+ border-color: var(--opt-border-subtle);
163
+ }
164
+ @utility border-strong {
165
+ border-color: var(--opt-border-hover);
166
+ }
167
+
119
168
  /* ── Density ── */
120
169
  [data-density="compact"],
121
170
  [data-harness-density="compact"] {