@sybilion/uilib 1.4.7 → 1.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-glossary/content-prompt.generated.ts +5 -31
- package/dist/agent-glossary/content.generated.ts +5 -31
- package/dist/agent-glossary/content.index.md +1 -1
- package/dist/agent-glossary/content.md +5 -31
- package/dist/agent-glossary/content.prompt.md +5 -31
- package/dist/agent-glossary/workspace.generated.ts +24 -25
- package/dist/agent-glossary/workspace.index.md +23 -24
- package/dist/agent-glossary/workspace.md +23 -24
- package/dist/esm/components/ui/Sidebar/Sidebar.styl.js +1 -1
- package/package.json +1 -1
- package/src/components/ui/Gap/AGENT.md +11 -0
- package/src/components/ui/Page/AGENT.md +5 -31
- package/src/{docs/agent-guidance/sidebar.md → components/ui/Sidebar/AGENT.md} +1 -1
- package/src/components/ui/Sidebar/Sidebar.styl +13 -1
- package/src/{docs/agent-guidance/table.md → components/ui/Table/AGENT.md} +1 -2
- package/src/{docs/agent-guidance/tabs.md → components/ui/Tabs/AGENT.md} +1 -1
- package/src/{docs/agent-guidance/text-shimmer.md → components/ui/TextShimmer/AGENT.md} +1 -1
- package/src/docs/pages/LegacyPlatformLinkPage.tsx +0 -3
- package/src/docs/pages/LightweightChartPage.tsx +1 -1
- package/src/docs/pages/ProgressPage.tsx +1 -1
- package/src/docs/pages/PullQuotePage.tsx +1 -1
- package/src/docs/pages/RegionCoordsPage.tsx +1 -1
- package/src/docs/pages/RenamerPage.tsx +1 -1
- package/src/docs/pages/SelectPage.tsx +1 -1
- package/src/docs/pages/SeparatorPage.tsx +1 -1
- package/src/docs/pages/SidebarDatasetsItemsGroupedPage.tsx +1 -1
- package/src/docs/pages/SidebarPage.tsx +1 -1
- package/src/docs/pages/SkeletonPage.tsx +1 -1
- package/src/docs/pages/SliderPage.tsx +1 -1
- package/src/docs/pages/SmartTextTruncatePage.tsx +1 -1
- package/src/docs/pages/SparklinePage.tsx +1 -1
- package/src/docs/pages/TablePage.tsx +1 -1
- package/src/docs/pages/TabsPage.tsx +1 -1
- package/src/docs/pages/TextShimmerPage.tsx +1 -1
- package/src/docs/pages/TextWithDeferTooltipPage.tsx +1 -1
- package/src/docs/pages/TimeRangeControlsPage.tsx +1 -1
- package/src/docs/pages/ToggleGroupPage.tsx +1 -1
- package/src/docs/pages/TogglePage.tsx +1 -1
- package/src/docs/pages/VimeoEmbedPage.tsx +1 -1
- package/src/docs/pages/WorldMapPage.tsx +1 -1
- package/src/components/ui/LegacyPlatformLink/AGENT.md +0 -15
- package/src/docs/agent-guidance/sidebar-datasets-items-grouped.md +0 -11
- /package/src/{docs/agent-guidance/lightweight-forecast-chart.md → components/ui/Chart/lightweight/AGENT.md} +0 -0
- /package/src/{docs/agent-guidance/progress.md → components/ui/Progress/AGENT.md} +0 -0
- /package/src/{docs/agent-guidance/pull-quote.md → components/ui/PullQuote/AGENT.md} +0 -0
- /package/src/{docs/agent-guidance/region-coords.md → components/ui/RegionCoords/AGENT.md} +0 -0
- /package/src/{docs/agent-guidance/renamer.md → components/ui/Renamer/AGENT.md} +0 -0
- /package/src/{docs/agent-guidance/select.md → components/ui/Select/AGENT.md} +0 -0
- /package/src/{docs/agent-guidance/separator.md → components/ui/Separator/AGENT.md} +0 -0
- /package/src/{docs/agent-guidance/skeleton.md → components/ui/Skeleton/AGENT.md} +0 -0
- /package/src/{docs/agent-guidance/slider.md → components/ui/Slider/AGENT.md} +0 -0
- /package/src/{docs/agent-guidance/smart-text-truncate.md → components/ui/SmartTextTruncate/AGENT.md} +0 -0
- /package/src/{docs/agent-guidance/sparkline.md → components/ui/Sparkline/AGENT.md} +0 -0
- /package/src/{docs/agent-guidance/text-with-defer-tooltip.md → components/ui/TextWithDeferTooltip/AGENT.md} +0 -0
- /package/src/{docs/agent-guidance/time-range-controls.md → components/ui/TimeRangeControls/AGENT.md} +0 -0
- /package/src/{docs/agent-guidance/toggle.md → components/ui/Toggle/AGENT.md} +0 -0
- /package/src/{docs/agent-guidance/toggle-group.md → components/ui/ToggleGroup/AGENT.md} +0 -0
- /package/src/{docs/agent-guidance/vimeo-embed.md → components/ui/VimeoEmbed/AGENT.md} +0 -0
- /package/src/{docs/agent-guidance/world-map.md → components/ui/WorldMap/AGENT.md} +0 -0
|
@@ -89,18 +89,9 @@ DriversComparisonChart plots a normalized target line against the normalized ser
|
|
|
89
89
|
|
|
90
90
|
# Page layout system
|
|
91
91
|
|
|
92
|
-
Sybilion workspace
|
|
92
|
+
Sybilion workspace surfaces use a small set of **Page** primitives from \`@sybilion/uilib\`. Agents must compose these instead of inventing layout with inline styles, Tailwind structure classes, or ad-hoc wrappers.
|
|
93
93
|
|
|
94
|
-
##
|
|
95
|
-
|
|
96
|
-
| Mode | When | Shell |
|
|
97
|
-
| ------------------ | ------------------------------------------------ | ------------------------------------------------------------------------------------- |
|
|
98
|
-
| **workspace-page** | Route inside \`AppShell\` / scrolled main column | \`PageHeader\` → \`PageContent\` → \`PageContentSection\`(s). Optional \`PageTabs\`. |
|
|
99
|
-
| **content** | Report tiles, json-dashboard, embedded body only | No \`PageHeader\` / \`AppShell\` chrome. Map React blocks to dashboard tiles (see below). |
|
|
100
|
-
|
|
101
|
-
Do not nest workspace shell components inside **content** mode output.
|
|
102
|
-
|
|
103
|
-
## Mandatory workspace-page skeleton
|
|
94
|
+
## Mandatory page skeleton
|
|
104
95
|
|
|
105
96
|
\`\`\`tsx
|
|
106
97
|
<PageHeader title="…" subheader="…" breadcrumbs={[…]} actions={…} />
|
|
@@ -220,32 +211,15 @@ Centered empty state: \`title\`, \`hint\`, optional \`children\` (e.g. CTA butto
|
|
|
220
211
|
|
|
221
212
|
### GridLayout
|
|
222
213
|
|
|
223
|
-
Responsive CSS grid (\`repeat(auto-fit, minmax(colWidth, 1fr))\`). Use for card/tile dashboards inside a section.
|
|
214
|
+
Responsive CSS grid (\`repeat(auto-fit, minmax(colWidth, 1fr))\`). Use for card/tile dashboards inside a section.
|
|
224
215
|
|
|
225
216
|
### Card / Foldable
|
|
226
217
|
|
|
227
218
|
Use inside sections for grouped content; see package \`AGENT.md\` on those components when present. Do not wrap the whole page in Card.
|
|
228
219
|
|
|
229
|
-
##
|
|
230
|
-
|
|
231
|
-
When generating **report** / dashboard specs (not workspace routes), map UI blocks to tiles:
|
|
232
|
-
|
|
233
|
-
| React / intent | Dashboard tile / markdown |
|
|
234
|
-
| ------------------------------- | ----------------------------------------------------------------- |
|
|
235
|
-
| \`PageHeader\` title text | First \`markdown\` tile \`# Title\` or report title field |
|
|
236
|
-
| \`SectionHeader\` \`title\` | \`markdown\` with \`## …\` |
|
|
237
|
-
| \`SectionHeader\` \`description\` | markdown paragraph under that heading |
|
|
238
|
-
| \`PageContentSection\` block | group of tiles or one markdown section |
|
|
239
|
-
| \`PageColumns\` (N equal columns) | group of N sibling tiles in one dashboard row |
|
|
240
|
-
| \`GridLayout\` children | grid row of widget tiles |
|
|
241
|
-
| \`ChartAreaInteractive\` / charts | \`dataset_card\`, \`performance_chart\`, etc. (see widget \`AGENT.md\`) |
|
|
242
|
-
| \`PageEmptyCanvas\` copy | \`markdown\` explanatory tile |
|
|
243
|
-
|
|
244
|
-
See \`AGENT.report-only-tiles.md\` in the app repo for tiles without a uilib widget.
|
|
245
|
-
|
|
246
|
-
## Shell components (workspace only)
|
|
220
|
+
## Shell components
|
|
247
221
|
|
|
248
|
-
Not part of the per-route skeleton but part of
|
|
222
|
+
Not part of the per-route skeleton but part of host app wiring:
|
|
249
223
|
|
|
250
224
|
- **AppShell** / **AppShellMainContent** — sidebar + main column + header slot + footer.
|
|
251
225
|
- **PageScroll** — scroll root for the main column.
|
|
@@ -89,18 +89,9 @@ DriversComparisonChart plots a normalized target line against the normalized ser
|
|
|
89
89
|
|
|
90
90
|
# Page layout system
|
|
91
91
|
|
|
92
|
-
Sybilion workspace
|
|
92
|
+
Sybilion workspace surfaces use a small set of **Page** primitives from \`@sybilion/uilib\`. Agents must compose these instead of inventing layout with inline styles, Tailwind structure classes, or ad-hoc wrappers.
|
|
93
93
|
|
|
94
|
-
##
|
|
95
|
-
|
|
96
|
-
| Mode | When | Shell |
|
|
97
|
-
| ------------------ | ------------------------------------------------ | ------------------------------------------------------------------------------------- |
|
|
98
|
-
| **workspace-page** | Route inside \`AppShell\` / scrolled main column | \`PageHeader\` → \`PageContent\` → \`PageContentSection\`(s). Optional \`PageTabs\`. |
|
|
99
|
-
| **content** | Report tiles, json-dashboard, embedded body only | No \`PageHeader\` / \`AppShell\` chrome. Map React blocks to dashboard tiles (see below). |
|
|
100
|
-
|
|
101
|
-
Do not nest workspace shell components inside **content** mode output.
|
|
102
|
-
|
|
103
|
-
## Mandatory workspace-page skeleton
|
|
94
|
+
## Mandatory page skeleton
|
|
104
95
|
|
|
105
96
|
\`\`\`tsx
|
|
106
97
|
<PageHeader title="…" subheader="…" breadcrumbs={[…]} actions={…} />
|
|
@@ -220,32 +211,15 @@ Centered empty state: \`title\`, \`hint\`, optional \`children\` (e.g. CTA butto
|
|
|
220
211
|
|
|
221
212
|
### GridLayout
|
|
222
213
|
|
|
223
|
-
Responsive CSS grid (\`repeat(auto-fit, minmax(colWidth, 1fr))\`). Use for card/tile dashboards inside a section.
|
|
214
|
+
Responsive CSS grid (\`repeat(auto-fit, minmax(colWidth, 1fr))\`). Use for card/tile dashboards inside a section.
|
|
224
215
|
|
|
225
216
|
### Card / Foldable
|
|
226
217
|
|
|
227
218
|
Use inside sections for grouped content; see package \`AGENT.md\` on those components when present. Do not wrap the whole page in Card.
|
|
228
219
|
|
|
229
|
-
##
|
|
230
|
-
|
|
231
|
-
When generating **report** / dashboard specs (not workspace routes), map UI blocks to tiles:
|
|
232
|
-
|
|
233
|
-
| React / intent | Dashboard tile / markdown |
|
|
234
|
-
| ------------------------------- | ----------------------------------------------------------------- |
|
|
235
|
-
| \`PageHeader\` title text | First \`markdown\` tile \`# Title\` or report title field |
|
|
236
|
-
| \`SectionHeader\` \`title\` | \`markdown\` with \`## …\` |
|
|
237
|
-
| \`SectionHeader\` \`description\` | markdown paragraph under that heading |
|
|
238
|
-
| \`PageContentSection\` block | group of tiles or one markdown section |
|
|
239
|
-
| \`PageColumns\` (N equal columns) | group of N sibling tiles in one dashboard row |
|
|
240
|
-
| \`GridLayout\` children | grid row of widget tiles |
|
|
241
|
-
| \`ChartAreaInteractive\` / charts | \`dataset_card\`, \`performance_chart\`, etc. (see widget \`AGENT.md\`) |
|
|
242
|
-
| \`PageEmptyCanvas\` copy | \`markdown\` explanatory tile |
|
|
243
|
-
|
|
244
|
-
See \`AGENT.report-only-tiles.md\` in the app repo for tiles without a uilib widget.
|
|
245
|
-
|
|
246
|
-
## Shell components (workspace only)
|
|
220
|
+
## Shell components
|
|
247
221
|
|
|
248
|
-
Not part of the per-route skeleton but part of
|
|
222
|
+
Not part of the per-route skeleton but part of host app wiring:
|
|
249
223
|
|
|
250
224
|
- **AppShell** / **AppShellMainContent** — sidebar + main column + header slot + footer.
|
|
251
225
|
- **PageScroll** — scroll root for the main column.
|
|
@@ -4,7 +4,7 @@ Entry point for report/dashboard agents using `@sybilion/uilib`. Open linked AGE
|
|
|
4
4
|
|
|
5
5
|
## Layout
|
|
6
6
|
|
|
7
|
-
- [Page](src/components/ui/Page/AGENT.md) — Sybilion workspace
|
|
7
|
+
- [Page](src/components/ui/Page/AGENT.md) — Sybilion workspace surfaces use a small set of **Page** primitives from `@sybilion/uilib`. Agents must compose these …
|
|
8
8
|
|
|
9
9
|
## Widgets
|
|
10
10
|
|
|
@@ -88,18 +88,9 @@ DriversComparisonChart plots a normalized target line against the normalized ser
|
|
|
88
88
|
|
|
89
89
|
# Page layout system
|
|
90
90
|
|
|
91
|
-
Sybilion workspace
|
|
91
|
+
Sybilion workspace surfaces use a small set of **Page** primitives from `@sybilion/uilib`. Agents must compose these instead of inventing layout with inline styles, Tailwind structure classes, or ad-hoc wrappers.
|
|
92
92
|
|
|
93
|
-
##
|
|
94
|
-
|
|
95
|
-
| Mode | When | Shell |
|
|
96
|
-
| ------------------ | ------------------------------------------------ | ------------------------------------------------------------------------------------- |
|
|
97
|
-
| **workspace-page** | Route inside `AppShell` / scrolled main column | `PageHeader` → `PageContent` → `PageContentSection`(s). Optional `PageTabs`. |
|
|
98
|
-
| **content** | Report tiles, json-dashboard, embedded body only | No `PageHeader` / `AppShell` chrome. Map React blocks to dashboard tiles (see below). |
|
|
99
|
-
|
|
100
|
-
Do not nest workspace shell components inside **content** mode output.
|
|
101
|
-
|
|
102
|
-
## Mandatory workspace-page skeleton
|
|
93
|
+
## Mandatory page skeleton
|
|
103
94
|
|
|
104
95
|
```tsx
|
|
105
96
|
<PageHeader title="…" subheader="…" breadcrumbs={[…]} actions={…} />
|
|
@@ -219,32 +210,15 @@ Centered empty state: `title`, `hint`, optional `children` (e.g. CTA button). Us
|
|
|
219
210
|
|
|
220
211
|
### GridLayout
|
|
221
212
|
|
|
222
|
-
Responsive CSS grid (`repeat(auto-fit, minmax(colWidth, 1fr))`). Use for card/tile dashboards inside a section.
|
|
213
|
+
Responsive CSS grid (`repeat(auto-fit, minmax(colWidth, 1fr))`). Use for card/tile dashboards inside a section.
|
|
223
214
|
|
|
224
215
|
### Card / Foldable
|
|
225
216
|
|
|
226
217
|
Use inside sections for grouped content; see package `AGENT.md` on those components when present. Do not wrap the whole page in Card.
|
|
227
218
|
|
|
228
|
-
##
|
|
229
|
-
|
|
230
|
-
When generating **report** / dashboard specs (not workspace routes), map UI blocks to tiles:
|
|
231
|
-
|
|
232
|
-
| React / intent | Dashboard tile / markdown |
|
|
233
|
-
| ------------------------------- | ----------------------------------------------------------------- |
|
|
234
|
-
| `PageHeader` title text | First `markdown` tile `# Title` or report title field |
|
|
235
|
-
| `SectionHeader` `title` | `markdown` with `## …` |
|
|
236
|
-
| `SectionHeader` `description` | markdown paragraph under that heading |
|
|
237
|
-
| `PageContentSection` block | group of tiles or one markdown section |
|
|
238
|
-
| `PageColumns` (N equal columns) | group of N sibling tiles in one dashboard row |
|
|
239
|
-
| `GridLayout` children | grid row of widget tiles |
|
|
240
|
-
| `ChartAreaInteractive` / charts | `dataset_card`, `performance_chart`, etc. (see widget `AGENT.md`) |
|
|
241
|
-
| `PageEmptyCanvas` copy | `markdown` explanatory tile |
|
|
242
|
-
|
|
243
|
-
See `AGENT.report-only-tiles.md` in the app repo for tiles without a uilib widget.
|
|
244
|
-
|
|
245
|
-
## Shell components (workspace only)
|
|
219
|
+
## Shell components
|
|
246
220
|
|
|
247
|
-
Not part of the per-route skeleton but part of
|
|
221
|
+
Not part of the per-route skeleton but part of host app wiring:
|
|
248
222
|
|
|
249
223
|
- **AppShell** / **AppShellMainContent** — sidebar + main column + header slot + footer.
|
|
250
224
|
- **PageScroll** — scroll root for the main column.
|
|
@@ -88,18 +88,9 @@ DriversComparisonChart plots a normalized target line against the normalized ser
|
|
|
88
88
|
|
|
89
89
|
# Page layout system
|
|
90
90
|
|
|
91
|
-
Sybilion workspace
|
|
91
|
+
Sybilion workspace surfaces use a small set of **Page** primitives from `@sybilion/uilib`. Agents must compose these instead of inventing layout with inline styles, Tailwind structure classes, or ad-hoc wrappers.
|
|
92
92
|
|
|
93
|
-
##
|
|
94
|
-
|
|
95
|
-
| Mode | When | Shell |
|
|
96
|
-
| ------------------ | ------------------------------------------------ | ------------------------------------------------------------------------------------- |
|
|
97
|
-
| **workspace-page** | Route inside `AppShell` / scrolled main column | `PageHeader` → `PageContent` → `PageContentSection`(s). Optional `PageTabs`. |
|
|
98
|
-
| **content** | Report tiles, json-dashboard, embedded body only | No `PageHeader` / `AppShell` chrome. Map React blocks to dashboard tiles (see below). |
|
|
99
|
-
|
|
100
|
-
Do not nest workspace shell components inside **content** mode output.
|
|
101
|
-
|
|
102
|
-
## Mandatory workspace-page skeleton
|
|
93
|
+
## Mandatory page skeleton
|
|
103
94
|
|
|
104
95
|
```tsx
|
|
105
96
|
<PageHeader title="…" subheader="…" breadcrumbs={[…]} actions={…} />
|
|
@@ -219,32 +210,15 @@ Centered empty state: `title`, `hint`, optional `children` (e.g. CTA button). Us
|
|
|
219
210
|
|
|
220
211
|
### GridLayout
|
|
221
212
|
|
|
222
|
-
Responsive CSS grid (`repeat(auto-fit, minmax(colWidth, 1fr))`). Use for card/tile dashboards inside a section.
|
|
213
|
+
Responsive CSS grid (`repeat(auto-fit, minmax(colWidth, 1fr))`). Use for card/tile dashboards inside a section.
|
|
223
214
|
|
|
224
215
|
### Card / Foldable
|
|
225
216
|
|
|
226
217
|
Use inside sections for grouped content; see package `AGENT.md` on those components when present. Do not wrap the whole page in Card.
|
|
227
218
|
|
|
228
|
-
##
|
|
229
|
-
|
|
230
|
-
When generating **report** / dashboard specs (not workspace routes), map UI blocks to tiles:
|
|
231
|
-
|
|
232
|
-
| React / intent | Dashboard tile / markdown |
|
|
233
|
-
| ------------------------------- | ----------------------------------------------------------------- |
|
|
234
|
-
| `PageHeader` title text | First `markdown` tile `# Title` or report title field |
|
|
235
|
-
| `SectionHeader` `title` | `markdown` with `## …` |
|
|
236
|
-
| `SectionHeader` `description` | markdown paragraph under that heading |
|
|
237
|
-
| `PageContentSection` block | group of tiles or one markdown section |
|
|
238
|
-
| `PageColumns` (N equal columns) | group of N sibling tiles in one dashboard row |
|
|
239
|
-
| `GridLayout` children | grid row of widget tiles |
|
|
240
|
-
| `ChartAreaInteractive` / charts | `dataset_card`, `performance_chart`, etc. (see widget `AGENT.md`) |
|
|
241
|
-
| `PageEmptyCanvas` copy | `markdown` explanatory tile |
|
|
242
|
-
|
|
243
|
-
See `AGENT.report-only-tiles.md` in the app repo for tiles without a uilib widget.
|
|
244
|
-
|
|
245
|
-
## Shell components (workspace only)
|
|
219
|
+
## Shell components
|
|
246
220
|
|
|
247
|
-
Not part of the per-route skeleton but part of
|
|
221
|
+
Not part of the per-route skeleton but part of host app wiring:
|
|
248
222
|
|
|
249
223
|
- **AppShell** / **AppShellMainContent** — sidebar + main column + header slot + footer.
|
|
250
224
|
- **PageScroll** — scroll root for the main column.
|
|
@@ -5,7 +5,7 @@ Entry point for \`@sybilion/uilib\`. Open linked AGENT.md before using a compone
|
|
|
5
5
|
|
|
6
6
|
## Layout
|
|
7
7
|
|
|
8
|
-
- [Page](src/components/ui/Page/AGENT.md) — Sybilion workspace
|
|
8
|
+
- [Page](src/components/ui/Page/AGENT.md) — Sybilion workspace surfaces use a small set of **Page** primitives from \`@sybilion/uilib\`. Agents must compose these …
|
|
9
9
|
|
|
10
10
|
## UI
|
|
11
11
|
|
|
@@ -32,6 +32,7 @@ Entry point for \`@sybilion/uilib\`. Open linked AGENT.md before using a compone
|
|
|
32
32
|
- [FileChip](src/components/ui/FileChip/AGENT.md) — FileChip is a compact row that represents a file with a format icon, name, and hint text. It supports an onClick hand…
|
|
33
33
|
- [FlickeringGrid](src/components/ui/FlickeringGrid/AGENT.md) — FlickeringGrid is a purely decorative animated grid of squares that flicker at random. Place it behind content in a p…
|
|
34
34
|
- [Foldable](src/components/ui/Foldable/AGENT.md) — Foldable is a collapsible section with a clickable header that shows or hides its content. Pass the header and conten…
|
|
35
|
+
- [Gap](src/components/ui/Gap/AGENT.md) — Gap is a flex-grow spacer that absorbs remaining horizontal or vertical space inside a flex container. Render it betw…
|
|
35
36
|
- [GridLayout](src/components/ui/GridLayout/AGENT.md) — GridLayout is a responsive CSS grid that fits as many columns as the container allows, with each cell keeping at leas…
|
|
36
37
|
- [Image](src/components/ui/Image/AGENT.md) — Image is a thin wrapper around the native img element that loads a remote URL and accepts a fallback for when the req…
|
|
37
38
|
- [ImageWithFallback](src/components/ui/ImageWithFallback/AGENT.md) — ImageWithFallback renders an image from a URL and swaps in the provided fallback content when the image fails to load…
|
|
@@ -42,15 +43,35 @@ Entry point for \`@sybilion/uilib\`. Open linked AGENT.md before using a compone
|
|
|
42
43
|
- [Label](src/components/ui/Label/AGENT.md) — Label is the styled form label used across the library. Link it to its control with htmlFor so clicking the label foc…
|
|
43
44
|
- [LabeledInput](src/components/ui/LabeledInput/AGENT.md) — LabeledInput combines a Label and an Input into a single row, wiring the label to the field automatically via the id …
|
|
44
45
|
- [LabelWithId](src/components/ui/LabelWithId/AGENT.md) — LabelWithId always renders the user-facing label. The label span carries \`data-analysis-id\` so PostHog session replay…
|
|
45
|
-
- [
|
|
46
|
+
- [lightweight](src/components/ui/Chart/lightweight/AGENT.md) — LightweightForecastChart renders historical and forecast time series using TradingView Lightweight Charts, with optio…
|
|
46
47
|
- [Logo](src/components/ui/Logo/AGENT.md) — Logo renders the brand mark with an optional wordmark. Choose a size that fits the surrounding chrome and hide the te…
|
|
47
48
|
- [MobileAdaptiveSelector](src/components/ui/MobileAdaptiveSelector/AGENT.md) — MobileAdaptiveSelector presents a single-choice control that renders as a toggle group on desktop and switches to a s…
|
|
48
49
|
- [NavUserHeader](src/components/ui/NavUserHeader/AGENT.md) — NavUserHeader shows the signed-in user with their name, email, and avatar, and opens a dropdown menu containing custo…
|
|
49
50
|
- [NumberControl](src/components/ui/NumberControl/AGENT.md) — NumberControl is a numeric stepper with minus and plus buttons for adjusting a value within a bounded range. Configur…
|
|
51
|
+
- [Progress](src/components/ui/Progress/AGENT.md) — Progress is a horizontal bar that communicates how much of a process has completed. Pass a value between 0 and 100 to…
|
|
52
|
+
- [PullQuote](src/components/ui/PullQuote/AGENT.md) — PullQuote presents an editorial quote with a 2px accent rule on the left, display-face body text, and a small Manrope…
|
|
53
|
+
- [RegionCoords](src/components/ui/RegionCoords/AGENT.md) — RegionSelector lets the user pick a named region from a map of geographic coordinates. Pass a record of region names …
|
|
54
|
+
- [Renamer](src/components/ui/Renamer/AGENT.md) — Renamer wraps a displayed name with an inline rename affordance: a pencil control switches the text into an editable …
|
|
55
|
+
- [Select](src/components/ui/Select/AGENT.md) — Select is a Radix-based dropdown for choosing a single option from a list. Compose it from Select, SelectTrigger, Sel…
|
|
56
|
+
- [Separator](src/components/ui/Separator/AGENT.md) — Separator draws a thin horizontal rule that visually divides adjacent content. It is purely presentational and carrie…
|
|
50
57
|
- [Sheet](src/components/ui/Sheet/AGENT.md) — Sheet is a slide-over panel built on the Radix dialog primitive. It opens from a screen edge over the current page an…
|
|
58
|
+
- [Sidebar](src/components/ui/Sidebar/AGENT.md) — Sidebar provides the primitives for building application navigation rails: SidebarGroup, SidebarMenu, SidebarMenuItem…
|
|
51
59
|
- [SignalCard](src/components/ui/SignalCard/AGENT.md) — SignalCard is the product primitive for a single metric: an optional kicker and icon header, a large Manrope figure w…
|
|
60
|
+
- [Skeleton](src/components/ui/Skeleton/AGENT.md) — Skeleton is a loading placeholder that reserves space for content while it loads. Compose simple shapes — lines and b…
|
|
61
|
+
- [Slider](src/components/ui/Slider/AGENT.md) — Slider lets users select a numeric value from a continuous or stepped range by dragging a thumb along a track. Contro…
|
|
62
|
+
- [SmartTextTruncate](src/components/ui/SmartTextTruncate/AGENT.md) — SmartTextTruncate shortens a long string in the middle so it fits its container, keeping the end of the string visibl…
|
|
63
|
+
- [Sparkline](src/components/ui/Sparkline/AGENT.md) — Sparkline renders a compact line chart from an array of numbers, sized to fit inline alongside text or inside table c…
|
|
52
64
|
- [Switch](src/components/ui/Switch/AGENT.md) — Switch is a binary control for turning a setting on or off. Unlike a checkbox, a switch implies the change takes effe…
|
|
65
|
+
- [Table](src/components/ui/Table/AGENT.md) — Table is a set of semantic primitives — Table, TableHeader, TableBody, TableRow, TableHead, and TableCell — for prese…
|
|
66
|
+
- [Tabs](src/components/ui/Tabs/AGENT.md) — Tabs organise related content into panels that share the same space, with only one panel visible at a time. Three var…
|
|
67
|
+
- [TextShimmer](src/components/ui/TextShimmer/AGENT.md) — TextShimmer animates a shimmer effect across its text content to signal that an operation is in progress. It keeps th…
|
|
68
|
+
- [TextWithDeferTooltip](src/components/ui/TextWithDeferTooltip/AGENT.md) — TextWithDeferTooltip truncates its text with an ellipsis and shows the full value in a tooltip, but only when the tex…
|
|
69
|
+
- [TimeRangeControls](src/components/ui/TimeRangeControls/AGENT.md) — TimeRangeControls renders a row of preset time range toggles, such as one month or one year, for switching the window…
|
|
70
|
+
- [Toggle](src/components/ui/Toggle/AGENT.md) — Toggle is a two-state button that can be pressed or unpressed, typically showing an icon. It suits tool-style options…
|
|
71
|
+
- [ToggleGroup](src/components/ui/ToggleGroup/AGENT.md) — ToggleGroup presents a set of related toggle buttons where, in single mode, exactly one option is active at a time. I…
|
|
53
72
|
- [Tooltip](src/components/ui/Tooltip/AGENT.md) — Tooltip shows brief, supplementary text when users hover or focus a trigger element. Compose Tooltip, TooltipTrigger,…
|
|
73
|
+
- [VimeoEmbed](src/components/ui/VimeoEmbed/AGENT.md) — VimeoEmbed renders a responsive Vimeo player from a video ID, handling the iframe markup and aspect ratio for you. Co…
|
|
74
|
+
- [WorldMap](src/components/ui/WorldMap/AGENT.md) — WorldMap renders a bundled SVG map of the world, intended as a backdrop for geographic visualisations such as DriverM…
|
|
54
75
|
|
|
55
76
|
## Widgets
|
|
56
77
|
|
|
@@ -68,35 +89,13 @@ Entry point for \`@sybilion/uilib\`. Open linked AGENT.md before using a compone
|
|
|
68
89
|
- [Chat User Csv Attachment](src/docs/agent-guidance/chat-user-csv-attachment.md) — User messages can carry downloadable text file attachments via userTextFileAttachments: the bubble shows the message …
|
|
69
90
|
- [Colors](src/docs/agent-guidance/colors.md) — Colour is defined as a set of core ramps (--sb-cyan/purple/red/green/yellow/gray/slate) plus semantic tokens that map…
|
|
70
91
|
- [Icons](src/docs/agent-guidance/icons.md) — Icons come from the lucide-react package and are drawn at a 1.5px stroke (--icon-stroke). Use the --icon-size-\\* toke…
|
|
71
|
-
- [Lightweight Forecast Chart](src/docs/agent-guidance/lightweight-forecast-chart.md) — LightweightForecastChart renders historical and forecast time series using TradingView Lightweight Charts, with optio…
|
|
72
92
|
- [Motion](src/docs/agent-guidance/motion.md) — Motion is quick and purposeful. Use --ease-standard for elements entering or changing state, --ease-exit for elements…
|
|
73
93
|
- [Page](src/docs/agent-guidance/page.md) — PageContent and PageContentSection are the structural building blocks of a page body. PageContent wraps the whole bod…
|
|
74
94
|
- [Page Columns](src/docs/agent-guidance/page-columns.md) — PageColumns lays out a responsive row of columns inside a page section. Omit fill for equal columns; use left or righ…
|
|
75
95
|
- [Page Footer](src/docs/agent-guidance/page-footer.md) — PageFooter renders the page-level footer with copyright, a version label, and an optional row of links that wrap on n…
|
|
76
96
|
- [Page Tabs](src/docs/agent-guidance/page-tabs.md) — PageTabs renders a page-scoped tab bar with optional panels. The tab strip scrolls horizontally when triggers overflo…
|
|
77
|
-
- [Progress](src/docs/agent-guidance/progress.md) — Progress is a horizontal bar that communicates how much of a process has completed. Pass a value between 0 and 100 to…
|
|
78
|
-
- [Pull Quote](src/docs/agent-guidance/pull-quote.md) — PullQuote presents an editorial quote with a 2px accent rule on the left, display-face body text, and a small Manrope…
|
|
79
97
|
- [Radii Shadows](src/docs/agent-guidance/radii-shadows.md) — Corners are small and square-biased: the scale runs from 0 to 12px, with semantic aliases for buttons, cards, and inp…
|
|
80
|
-
- [Region Coords](src/docs/agent-guidance/region-coords.md) — RegionSelector lets the user pick a named region from a map of geographic coordinates. Pass a record of region names …
|
|
81
|
-
- [Renamer](src/docs/agent-guidance/renamer.md) — Renamer wraps a displayed name with an inline rename affordance: a pencil control switches the text into an editable …
|
|
82
|
-
- [Select](src/docs/agent-guidance/select.md) — Select is a Radix-based dropdown for choosing a single option from a list. Compose it from Select, SelectTrigger, Sel…
|
|
83
|
-
- [Separator](src/docs/agent-guidance/separator.md) — Separator draws a thin horizontal rule that visually divides adjacent content. It is purely presentational and carrie…
|
|
84
|
-
- [Sidebar](src/docs/agent-guidance/sidebar.md) — Sidebar provides the primitives for building application navigation rails: SidebarGroup, SidebarMenu, SidebarMenuItem…
|
|
85
|
-
- [Sidebar Datasets Items Grouped](src/docs/agent-guidance/sidebar-datasets-items-grouped.md) — SidebarDatasetsItemsGrouped renders a dataset list for the application sidebar, organised into collapsible groups wit…
|
|
86
|
-
- [Skeleton](src/docs/agent-guidance/skeleton.md) — Skeleton is a loading placeholder that reserves space for content while it loads. Compose simple shapes — lines and b…
|
|
87
|
-
- [Slider](src/docs/agent-guidance/slider.md) — Slider lets users select a numeric value from a continuous or stepped range by dragging a thumb along a track. Contro…
|
|
88
|
-
- [Smart Text Truncate](src/docs/agent-guidance/smart-text-truncate.md) — SmartTextTruncate shortens a long string in the middle so it fits its container, keeping the end of the string visibl…
|
|
89
98
|
- [Spacing](src/docs/agent-guidance/spacing.md) — The --p-\\* tokens are the canonical spacing scale: each step is a multiple of 4px, from --p-1 (4px) up to --p-24 (96p…
|
|
90
|
-
- [Sparkline](src/docs/agent-guidance/sparkline.md) — Sparkline renders a compact line chart from an array of numbers, sized to fit inline alongside text or inside table c…
|
|
91
99
|
- [Standalone App Layout](src/docs/agent-guidance/standalone-app-layout.md) — The standalone app layout composes AppShell, Sidebar, and AppShellMainContent into the full chrome for a Sybilion sta…
|
|
92
100
|
- [Sybilion Auth Layout](src/docs/agent-guidance/sybilion-auth-layout.md) — SybilionAuthLayout provides the split-view chrome for authentication routes: a branded hero column beside a form colu…
|
|
93
|
-
- [
|
|
94
|
-
- [Tabs](src/docs/agent-guidance/tabs.md) — Tabs organise related content into panels that share the same space, with only one panel visible at a time. Three var…
|
|
95
|
-
- [Text Shimmer](src/docs/agent-guidance/text-shimmer.md) — TextShimmer animates a shimmer effect across its text content to signal that an operation is in progress. It keeps th…
|
|
96
|
-
- [Text With Defer Tooltip](src/docs/agent-guidance/text-with-defer-tooltip.md) — TextWithDeferTooltip truncates its text with an ellipsis and shows the full value in a tooltip, but only when the tex…
|
|
97
|
-
- [Time Range Controls](src/docs/agent-guidance/time-range-controls.md) — TimeRangeControls renders a row of preset time range toggles, such as one month or one year, for switching the window…
|
|
98
|
-
- [Toggle](src/docs/agent-guidance/toggle.md) — Toggle is a two-state button that can be pressed or unpressed, typically showing an icon. It suits tool-style options…
|
|
99
|
-
- [Toggle Group](src/docs/agent-guidance/toggle-group.md) — ToggleGroup presents a set of related toggle buttons where, in single mode, exactly one option is active at a time. I…
|
|
100
|
-
- [Typography](src/docs/agent-guidance/typography.md) — The system pairs KMR Apparat for display and headings with Manrope for body copy. Sizes come from the --text-_ scale,…
|
|
101
|
-
- [Vimeo Embed](src/docs/agent-guidance/vimeo-embed.md) — VimeoEmbed renders a responsive Vimeo player from a video ID, handling the iframe markup and aspect ratio for you. Co…
|
|
102
|
-
- [World Map](src/docs/agent-guidance/world-map.md) — WorldMap renders a bundled SVG map of the world, intended as a backdrop for geographic visualisations such as DriverM…`;
|
|
101
|
+
- [Typography](src/docs/agent-guidance/typography.md) — The system pairs KMR Apparat for display and headings with Manrope for body copy. Sizes come from the --text-_ scale,…`;
|
|
@@ -4,7 +4,7 @@ Entry point for `@sybilion/uilib`. Open linked AGENT.md before using a component
|
|
|
4
4
|
|
|
5
5
|
## Layout
|
|
6
6
|
|
|
7
|
-
- [Page](src/components/ui/Page/AGENT.md) — Sybilion workspace
|
|
7
|
+
- [Page](src/components/ui/Page/AGENT.md) — Sybilion workspace surfaces use a small set of **Page** primitives from `@sybilion/uilib`. Agents must compose these …
|
|
8
8
|
|
|
9
9
|
## UI
|
|
10
10
|
|
|
@@ -31,6 +31,7 @@ Entry point for `@sybilion/uilib`. Open linked AGENT.md before using a component
|
|
|
31
31
|
- [FileChip](src/components/ui/FileChip/AGENT.md) — FileChip is a compact row that represents a file with a format icon, name, and hint text. It supports an onClick hand…
|
|
32
32
|
- [FlickeringGrid](src/components/ui/FlickeringGrid/AGENT.md) — FlickeringGrid is a purely decorative animated grid of squares that flicker at random. Place it behind content in a p…
|
|
33
33
|
- [Foldable](src/components/ui/Foldable/AGENT.md) — Foldable is a collapsible section with a clickable header that shows or hides its content. Pass the header and conten…
|
|
34
|
+
- [Gap](src/components/ui/Gap/AGENT.md) — Gap is a flex-grow spacer that absorbs remaining horizontal or vertical space inside a flex container. Render it betw…
|
|
34
35
|
- [GridLayout](src/components/ui/GridLayout/AGENT.md) — GridLayout is a responsive CSS grid that fits as many columns as the container allows, with each cell keeping at leas…
|
|
35
36
|
- [Image](src/components/ui/Image/AGENT.md) — Image is a thin wrapper around the native img element that loads a remote URL and accepts a fallback for when the req…
|
|
36
37
|
- [ImageWithFallback](src/components/ui/ImageWithFallback/AGENT.md) — ImageWithFallback renders an image from a URL and swaps in the provided fallback content when the image fails to load…
|
|
@@ -41,15 +42,35 @@ Entry point for `@sybilion/uilib`. Open linked AGENT.md before using a component
|
|
|
41
42
|
- [Label](src/components/ui/Label/AGENT.md) — Label is the styled form label used across the library. Link it to its control with htmlFor so clicking the label foc…
|
|
42
43
|
- [LabeledInput](src/components/ui/LabeledInput/AGENT.md) — LabeledInput combines a Label and an Input into a single row, wiring the label to the field automatically via the id …
|
|
43
44
|
- [LabelWithId](src/components/ui/LabelWithId/AGENT.md) — LabelWithId always renders the user-facing label. The label span carries `data-analysis-id` so PostHog session replay…
|
|
44
|
-
- [
|
|
45
|
+
- [lightweight](src/components/ui/Chart/lightweight/AGENT.md) — LightweightForecastChart renders historical and forecast time series using TradingView Lightweight Charts, with optio…
|
|
45
46
|
- [Logo](src/components/ui/Logo/AGENT.md) — Logo renders the brand mark with an optional wordmark. Choose a size that fits the surrounding chrome and hide the te…
|
|
46
47
|
- [MobileAdaptiveSelector](src/components/ui/MobileAdaptiveSelector/AGENT.md) — MobileAdaptiveSelector presents a single-choice control that renders as a toggle group on desktop and switches to a s…
|
|
47
48
|
- [NavUserHeader](src/components/ui/NavUserHeader/AGENT.md) — NavUserHeader shows the signed-in user with their name, email, and avatar, and opens a dropdown menu containing custo…
|
|
48
49
|
- [NumberControl](src/components/ui/NumberControl/AGENT.md) — NumberControl is a numeric stepper with minus and plus buttons for adjusting a value within a bounded range. Configur…
|
|
50
|
+
- [Progress](src/components/ui/Progress/AGENT.md) — Progress is a horizontal bar that communicates how much of a process has completed. Pass a value between 0 and 100 to…
|
|
51
|
+
- [PullQuote](src/components/ui/PullQuote/AGENT.md) — PullQuote presents an editorial quote with a 2px accent rule on the left, display-face body text, and a small Manrope…
|
|
52
|
+
- [RegionCoords](src/components/ui/RegionCoords/AGENT.md) — RegionSelector lets the user pick a named region from a map of geographic coordinates. Pass a record of region names …
|
|
53
|
+
- [Renamer](src/components/ui/Renamer/AGENT.md) — Renamer wraps a displayed name with an inline rename affordance: a pencil control switches the text into an editable …
|
|
54
|
+
- [Select](src/components/ui/Select/AGENT.md) — Select is a Radix-based dropdown for choosing a single option from a list. Compose it from Select, SelectTrigger, Sel…
|
|
55
|
+
- [Separator](src/components/ui/Separator/AGENT.md) — Separator draws a thin horizontal rule that visually divides adjacent content. It is purely presentational and carrie…
|
|
49
56
|
- [Sheet](src/components/ui/Sheet/AGENT.md) — Sheet is a slide-over panel built on the Radix dialog primitive. It opens from a screen edge over the current page an…
|
|
57
|
+
- [Sidebar](src/components/ui/Sidebar/AGENT.md) — Sidebar provides the primitives for building application navigation rails: SidebarGroup, SidebarMenu, SidebarMenuItem…
|
|
50
58
|
- [SignalCard](src/components/ui/SignalCard/AGENT.md) — SignalCard is the product primitive for a single metric: an optional kicker and icon header, a large Manrope figure w…
|
|
59
|
+
- [Skeleton](src/components/ui/Skeleton/AGENT.md) — Skeleton is a loading placeholder that reserves space for content while it loads. Compose simple shapes — lines and b…
|
|
60
|
+
- [Slider](src/components/ui/Slider/AGENT.md) — Slider lets users select a numeric value from a continuous or stepped range by dragging a thumb along a track. Contro…
|
|
61
|
+
- [SmartTextTruncate](src/components/ui/SmartTextTruncate/AGENT.md) — SmartTextTruncate shortens a long string in the middle so it fits its container, keeping the end of the string visibl…
|
|
62
|
+
- [Sparkline](src/components/ui/Sparkline/AGENT.md) — Sparkline renders a compact line chart from an array of numbers, sized to fit inline alongside text or inside table c…
|
|
51
63
|
- [Switch](src/components/ui/Switch/AGENT.md) — Switch is a binary control for turning a setting on or off. Unlike a checkbox, a switch implies the change takes effe…
|
|
64
|
+
- [Table](src/components/ui/Table/AGENT.md) — Table is a set of semantic primitives — Table, TableHeader, TableBody, TableRow, TableHead, and TableCell — for prese…
|
|
65
|
+
- [Tabs](src/components/ui/Tabs/AGENT.md) — Tabs organise related content into panels that share the same space, with only one panel visible at a time. Three var…
|
|
66
|
+
- [TextShimmer](src/components/ui/TextShimmer/AGENT.md) — TextShimmer animates a shimmer effect across its text content to signal that an operation is in progress. It keeps th…
|
|
67
|
+
- [TextWithDeferTooltip](src/components/ui/TextWithDeferTooltip/AGENT.md) — TextWithDeferTooltip truncates its text with an ellipsis and shows the full value in a tooltip, but only when the tex…
|
|
68
|
+
- [TimeRangeControls](src/components/ui/TimeRangeControls/AGENT.md) — TimeRangeControls renders a row of preset time range toggles, such as one month or one year, for switching the window…
|
|
69
|
+
- [Toggle](src/components/ui/Toggle/AGENT.md) — Toggle is a two-state button that can be pressed or unpressed, typically showing an icon. It suits tool-style options…
|
|
70
|
+
- [ToggleGroup](src/components/ui/ToggleGroup/AGENT.md) — ToggleGroup presents a set of related toggle buttons where, in single mode, exactly one option is active at a time. I…
|
|
52
71
|
- [Tooltip](src/components/ui/Tooltip/AGENT.md) — Tooltip shows brief, supplementary text when users hover or focus a trigger element. Compose Tooltip, TooltipTrigger,…
|
|
72
|
+
- [VimeoEmbed](src/components/ui/VimeoEmbed/AGENT.md) — VimeoEmbed renders a responsive Vimeo player from a video ID, handling the iframe markup and aspect ratio for you. Co…
|
|
73
|
+
- [WorldMap](src/components/ui/WorldMap/AGENT.md) — WorldMap renders a bundled SVG map of the world, intended as a backdrop for geographic visualisations such as DriverM…
|
|
53
74
|
|
|
54
75
|
## Widgets
|
|
55
76
|
|
|
@@ -67,35 +88,13 @@ Entry point for `@sybilion/uilib`. Open linked AGENT.md before using a component
|
|
|
67
88
|
- [Chat User Csv Attachment](src/docs/agent-guidance/chat-user-csv-attachment.md) — User messages can carry downloadable text file attachments via userTextFileAttachments: the bubble shows the message …
|
|
68
89
|
- [Colors](src/docs/agent-guidance/colors.md) — Colour is defined as a set of core ramps (--sb-cyan/purple/red/green/yellow/gray/slate) plus semantic tokens that map…
|
|
69
90
|
- [Icons](src/docs/agent-guidance/icons.md) — Icons come from the lucide-react package and are drawn at a 1.5px stroke (--icon-stroke). Use the --icon-size-\* toke…
|
|
70
|
-
- [Lightweight Forecast Chart](src/docs/agent-guidance/lightweight-forecast-chart.md) — LightweightForecastChart renders historical and forecast time series using TradingView Lightweight Charts, with optio…
|
|
71
91
|
- [Motion](src/docs/agent-guidance/motion.md) — Motion is quick and purposeful. Use --ease-standard for elements entering or changing state, --ease-exit for elements…
|
|
72
92
|
- [Page](src/docs/agent-guidance/page.md) — PageContent and PageContentSection are the structural building blocks of a page body. PageContent wraps the whole bod…
|
|
73
93
|
- [Page Columns](src/docs/agent-guidance/page-columns.md) — PageColumns lays out a responsive row of columns inside a page section. Omit fill for equal columns; use left or righ…
|
|
74
94
|
- [Page Footer](src/docs/agent-guidance/page-footer.md) — PageFooter renders the page-level footer with copyright, a version label, and an optional row of links that wrap on n…
|
|
75
95
|
- [Page Tabs](src/docs/agent-guidance/page-tabs.md) — PageTabs renders a page-scoped tab bar with optional panels. The tab strip scrolls horizontally when triggers overflo…
|
|
76
|
-
- [Progress](src/docs/agent-guidance/progress.md) — Progress is a horizontal bar that communicates how much of a process has completed. Pass a value between 0 and 100 to…
|
|
77
|
-
- [Pull Quote](src/docs/agent-guidance/pull-quote.md) — PullQuote presents an editorial quote with a 2px accent rule on the left, display-face body text, and a small Manrope…
|
|
78
96
|
- [Radii Shadows](src/docs/agent-guidance/radii-shadows.md) — Corners are small and square-biased: the scale runs from 0 to 12px, with semantic aliases for buttons, cards, and inp…
|
|
79
|
-
- [Region Coords](src/docs/agent-guidance/region-coords.md) — RegionSelector lets the user pick a named region from a map of geographic coordinates. Pass a record of region names …
|
|
80
|
-
- [Renamer](src/docs/agent-guidance/renamer.md) — Renamer wraps a displayed name with an inline rename affordance: a pencil control switches the text into an editable …
|
|
81
|
-
- [Select](src/docs/agent-guidance/select.md) — Select is a Radix-based dropdown for choosing a single option from a list. Compose it from Select, SelectTrigger, Sel…
|
|
82
|
-
- [Separator](src/docs/agent-guidance/separator.md) — Separator draws a thin horizontal rule that visually divides adjacent content. It is purely presentational and carrie…
|
|
83
|
-
- [Sidebar](src/docs/agent-guidance/sidebar.md) — Sidebar provides the primitives for building application navigation rails: SidebarGroup, SidebarMenu, SidebarMenuItem…
|
|
84
|
-
- [Sidebar Datasets Items Grouped](src/docs/agent-guidance/sidebar-datasets-items-grouped.md) — SidebarDatasetsItemsGrouped renders a dataset list for the application sidebar, organised into collapsible groups wit…
|
|
85
|
-
- [Skeleton](src/docs/agent-guidance/skeleton.md) — Skeleton is a loading placeholder that reserves space for content while it loads. Compose simple shapes — lines and b…
|
|
86
|
-
- [Slider](src/docs/agent-guidance/slider.md) — Slider lets users select a numeric value from a continuous or stepped range by dragging a thumb along a track. Contro…
|
|
87
|
-
- [Smart Text Truncate](src/docs/agent-guidance/smart-text-truncate.md) — SmartTextTruncate shortens a long string in the middle so it fits its container, keeping the end of the string visibl…
|
|
88
97
|
- [Spacing](src/docs/agent-guidance/spacing.md) — The --p-\* tokens are the canonical spacing scale: each step is a multiple of 4px, from --p-1 (4px) up to --p-24 (96p…
|
|
89
|
-
- [Sparkline](src/docs/agent-guidance/sparkline.md) — Sparkline renders a compact line chart from an array of numbers, sized to fit inline alongside text or inside table c…
|
|
90
98
|
- [Standalone App Layout](src/docs/agent-guidance/standalone-app-layout.md) — The standalone app layout composes AppShell, Sidebar, and AppShellMainContent into the full chrome for a Sybilion sta…
|
|
91
99
|
- [Sybilion Auth Layout](src/docs/agent-guidance/sybilion-auth-layout.md) — SybilionAuthLayout provides the split-view chrome for authentication routes: a branded hero column beside a form colu…
|
|
92
|
-
- [Table](src/docs/agent-guidance/table.md) — Table is a set of semantic primitives — Table, TableHeader, TableBody, TableRow, TableHead, and TableCell — for prese…
|
|
93
|
-
- [Tabs](src/docs/agent-guidance/tabs.md) — Tabs organise related content into panels that share the same space, with only one panel visible at a time. Three var…
|
|
94
|
-
- [Text Shimmer](src/docs/agent-guidance/text-shimmer.md) — TextShimmer animates a shimmer effect across its text content to signal that an operation is in progress. It keeps th…
|
|
95
|
-
- [Text With Defer Tooltip](src/docs/agent-guidance/text-with-defer-tooltip.md) — TextWithDeferTooltip truncates its text with an ellipsis and shows the full value in a tooltip, but only when the tex…
|
|
96
|
-
- [Time Range Controls](src/docs/agent-guidance/time-range-controls.md) — TimeRangeControls renders a row of preset time range toggles, such as one month or one year, for switching the window…
|
|
97
|
-
- [Toggle](src/docs/agent-guidance/toggle.md) — Toggle is a two-state button that can be pressed or unpressed, typically showing an icon. It suits tool-style options…
|
|
98
|
-
- [Toggle Group](src/docs/agent-guidance/toggle-group.md) — ToggleGroup presents a set of related toggle buttons where, in single mode, exactly one option is active at a time. I…
|
|
99
100
|
- [Typography](src/docs/agent-guidance/typography.md) — The system pairs KMR Apparat for display and headings with Manrope for body copy. Sizes come from the --text-_ scale,…
|
|
100
|
-
- [Vimeo Embed](src/docs/agent-guidance/vimeo-embed.md) — VimeoEmbed renders a responsive Vimeo player from a video ID, handling the iframe markup and aspect ratio for you. Co…
|
|
101
|
-
- [World Map](src/docs/agent-guidance/world-map.md) — WorldMap renders a bundled SVG map of the world, intended as a backdrop for geographic visualisations such as DriverM…
|
|
@@ -4,7 +4,7 @@ Entry point for `@sybilion/uilib`. Open linked AGENT.md before using a component
|
|
|
4
4
|
|
|
5
5
|
## Layout
|
|
6
6
|
|
|
7
|
-
- [Page](src/components/ui/Page/AGENT.md) — Sybilion workspace
|
|
7
|
+
- [Page](src/components/ui/Page/AGENT.md) — Sybilion workspace surfaces use a small set of **Page** primitives from `@sybilion/uilib`. Agents must compose these …
|
|
8
8
|
|
|
9
9
|
## UI
|
|
10
10
|
|
|
@@ -31,6 +31,7 @@ Entry point for `@sybilion/uilib`. Open linked AGENT.md before using a component
|
|
|
31
31
|
- [FileChip](src/components/ui/FileChip/AGENT.md) — FileChip is a compact row that represents a file with a format icon, name, and hint text. It supports an onClick hand…
|
|
32
32
|
- [FlickeringGrid](src/components/ui/FlickeringGrid/AGENT.md) — FlickeringGrid is a purely decorative animated grid of squares that flicker at random. Place it behind content in a p…
|
|
33
33
|
- [Foldable](src/components/ui/Foldable/AGENT.md) — Foldable is a collapsible section with a clickable header that shows or hides its content. Pass the header and conten…
|
|
34
|
+
- [Gap](src/components/ui/Gap/AGENT.md) — Gap is a flex-grow spacer that absorbs remaining horizontal or vertical space inside a flex container. Render it betw…
|
|
34
35
|
- [GridLayout](src/components/ui/GridLayout/AGENT.md) — GridLayout is a responsive CSS grid that fits as many columns as the container allows, with each cell keeping at leas…
|
|
35
36
|
- [Image](src/components/ui/Image/AGENT.md) — Image is a thin wrapper around the native img element that loads a remote URL and accepts a fallback for when the req…
|
|
36
37
|
- [ImageWithFallback](src/components/ui/ImageWithFallback/AGENT.md) — ImageWithFallback renders an image from a URL and swaps in the provided fallback content when the image fails to load…
|
|
@@ -41,15 +42,35 @@ Entry point for `@sybilion/uilib`. Open linked AGENT.md before using a component
|
|
|
41
42
|
- [Label](src/components/ui/Label/AGENT.md) — Label is the styled form label used across the library. Link it to its control with htmlFor so clicking the label foc…
|
|
42
43
|
- [LabeledInput](src/components/ui/LabeledInput/AGENT.md) — LabeledInput combines a Label and an Input into a single row, wiring the label to the field automatically via the id …
|
|
43
44
|
- [LabelWithId](src/components/ui/LabelWithId/AGENT.md) — LabelWithId always renders the user-facing label. The label span carries `data-analysis-id` so PostHog session replay…
|
|
44
|
-
- [
|
|
45
|
+
- [lightweight](src/components/ui/Chart/lightweight/AGENT.md) — LightweightForecastChart renders historical and forecast time series using TradingView Lightweight Charts, with optio…
|
|
45
46
|
- [Logo](src/components/ui/Logo/AGENT.md) — Logo renders the brand mark with an optional wordmark. Choose a size that fits the surrounding chrome and hide the te…
|
|
46
47
|
- [MobileAdaptiveSelector](src/components/ui/MobileAdaptiveSelector/AGENT.md) — MobileAdaptiveSelector presents a single-choice control that renders as a toggle group on desktop and switches to a s…
|
|
47
48
|
- [NavUserHeader](src/components/ui/NavUserHeader/AGENT.md) — NavUserHeader shows the signed-in user with their name, email, and avatar, and opens a dropdown menu containing custo…
|
|
48
49
|
- [NumberControl](src/components/ui/NumberControl/AGENT.md) — NumberControl is a numeric stepper with minus and plus buttons for adjusting a value within a bounded range. Configur…
|
|
50
|
+
- [Progress](src/components/ui/Progress/AGENT.md) — Progress is a horizontal bar that communicates how much of a process has completed. Pass a value between 0 and 100 to…
|
|
51
|
+
- [PullQuote](src/components/ui/PullQuote/AGENT.md) — PullQuote presents an editorial quote with a 2px accent rule on the left, display-face body text, and a small Manrope…
|
|
52
|
+
- [RegionCoords](src/components/ui/RegionCoords/AGENT.md) — RegionSelector lets the user pick a named region from a map of geographic coordinates. Pass a record of region names …
|
|
53
|
+
- [Renamer](src/components/ui/Renamer/AGENT.md) — Renamer wraps a displayed name with an inline rename affordance: a pencil control switches the text into an editable …
|
|
54
|
+
- [Select](src/components/ui/Select/AGENT.md) — Select is a Radix-based dropdown for choosing a single option from a list. Compose it from Select, SelectTrigger, Sel…
|
|
55
|
+
- [Separator](src/components/ui/Separator/AGENT.md) — Separator draws a thin horizontal rule that visually divides adjacent content. It is purely presentational and carrie…
|
|
49
56
|
- [Sheet](src/components/ui/Sheet/AGENT.md) — Sheet is a slide-over panel built on the Radix dialog primitive. It opens from a screen edge over the current page an…
|
|
57
|
+
- [Sidebar](src/components/ui/Sidebar/AGENT.md) — Sidebar provides the primitives for building application navigation rails: SidebarGroup, SidebarMenu, SidebarMenuItem…
|
|
50
58
|
- [SignalCard](src/components/ui/SignalCard/AGENT.md) — SignalCard is the product primitive for a single metric: an optional kicker and icon header, a large Manrope figure w…
|
|
59
|
+
- [Skeleton](src/components/ui/Skeleton/AGENT.md) — Skeleton is a loading placeholder that reserves space for content while it loads. Compose simple shapes — lines and b…
|
|
60
|
+
- [Slider](src/components/ui/Slider/AGENT.md) — Slider lets users select a numeric value from a continuous or stepped range by dragging a thumb along a track. Contro…
|
|
61
|
+
- [SmartTextTruncate](src/components/ui/SmartTextTruncate/AGENT.md) — SmartTextTruncate shortens a long string in the middle so it fits its container, keeping the end of the string visibl…
|
|
62
|
+
- [Sparkline](src/components/ui/Sparkline/AGENT.md) — Sparkline renders a compact line chart from an array of numbers, sized to fit inline alongside text or inside table c…
|
|
51
63
|
- [Switch](src/components/ui/Switch/AGENT.md) — Switch is a binary control for turning a setting on or off. Unlike a checkbox, a switch implies the change takes effe…
|
|
64
|
+
- [Table](src/components/ui/Table/AGENT.md) — Table is a set of semantic primitives — Table, TableHeader, TableBody, TableRow, TableHead, and TableCell — for prese…
|
|
65
|
+
- [Tabs](src/components/ui/Tabs/AGENT.md) — Tabs organise related content into panels that share the same space, with only one panel visible at a time. Three var…
|
|
66
|
+
- [TextShimmer](src/components/ui/TextShimmer/AGENT.md) — TextShimmer animates a shimmer effect across its text content to signal that an operation is in progress. It keeps th…
|
|
67
|
+
- [TextWithDeferTooltip](src/components/ui/TextWithDeferTooltip/AGENT.md) — TextWithDeferTooltip truncates its text with an ellipsis and shows the full value in a tooltip, but only when the tex…
|
|
68
|
+
- [TimeRangeControls](src/components/ui/TimeRangeControls/AGENT.md) — TimeRangeControls renders a row of preset time range toggles, such as one month or one year, for switching the window…
|
|
69
|
+
- [Toggle](src/components/ui/Toggle/AGENT.md) — Toggle is a two-state button that can be pressed or unpressed, typically showing an icon. It suits tool-style options…
|
|
70
|
+
- [ToggleGroup](src/components/ui/ToggleGroup/AGENT.md) — ToggleGroup presents a set of related toggle buttons where, in single mode, exactly one option is active at a time. I…
|
|
52
71
|
- [Tooltip](src/components/ui/Tooltip/AGENT.md) — Tooltip shows brief, supplementary text when users hover or focus a trigger element. Compose Tooltip, TooltipTrigger,…
|
|
72
|
+
- [VimeoEmbed](src/components/ui/VimeoEmbed/AGENT.md) — VimeoEmbed renders a responsive Vimeo player from a video ID, handling the iframe markup and aspect ratio for you. Co…
|
|
73
|
+
- [WorldMap](src/components/ui/WorldMap/AGENT.md) — WorldMap renders a bundled SVG map of the world, intended as a backdrop for geographic visualisations such as DriverM…
|
|
53
74
|
|
|
54
75
|
## Widgets
|
|
55
76
|
|
|
@@ -67,35 +88,13 @@ Entry point for `@sybilion/uilib`. Open linked AGENT.md before using a component
|
|
|
67
88
|
- [Chat User Csv Attachment](src/docs/agent-guidance/chat-user-csv-attachment.md) — User messages can carry downloadable text file attachments via userTextFileAttachments: the bubble shows the message …
|
|
68
89
|
- [Colors](src/docs/agent-guidance/colors.md) — Colour is defined as a set of core ramps (--sb-cyan/purple/red/green/yellow/gray/slate) plus semantic tokens that map…
|
|
69
90
|
- [Icons](src/docs/agent-guidance/icons.md) — Icons come from the lucide-react package and are drawn at a 1.5px stroke (--icon-stroke). Use the --icon-size-\* toke…
|
|
70
|
-
- [Lightweight Forecast Chart](src/docs/agent-guidance/lightweight-forecast-chart.md) — LightweightForecastChart renders historical and forecast time series using TradingView Lightweight Charts, with optio…
|
|
71
91
|
- [Motion](src/docs/agent-guidance/motion.md) — Motion is quick and purposeful. Use --ease-standard for elements entering or changing state, --ease-exit for elements…
|
|
72
92
|
- [Page](src/docs/agent-guidance/page.md) — PageContent and PageContentSection are the structural building blocks of a page body. PageContent wraps the whole bod…
|
|
73
93
|
- [Page Columns](src/docs/agent-guidance/page-columns.md) — PageColumns lays out a responsive row of columns inside a page section. Omit fill for equal columns; use left or righ…
|
|
74
94
|
- [Page Footer](src/docs/agent-guidance/page-footer.md) — PageFooter renders the page-level footer with copyright, a version label, and an optional row of links that wrap on n…
|
|
75
95
|
- [Page Tabs](src/docs/agent-guidance/page-tabs.md) — PageTabs renders a page-scoped tab bar with optional panels. The tab strip scrolls horizontally when triggers overflo…
|
|
76
|
-
- [Progress](src/docs/agent-guidance/progress.md) — Progress is a horizontal bar that communicates how much of a process has completed. Pass a value between 0 and 100 to…
|
|
77
|
-
- [Pull Quote](src/docs/agent-guidance/pull-quote.md) — PullQuote presents an editorial quote with a 2px accent rule on the left, display-face body text, and a small Manrope…
|
|
78
96
|
- [Radii Shadows](src/docs/agent-guidance/radii-shadows.md) — Corners are small and square-biased: the scale runs from 0 to 12px, with semantic aliases for buttons, cards, and inp…
|
|
79
|
-
- [Region Coords](src/docs/agent-guidance/region-coords.md) — RegionSelector lets the user pick a named region from a map of geographic coordinates. Pass a record of region names …
|
|
80
|
-
- [Renamer](src/docs/agent-guidance/renamer.md) — Renamer wraps a displayed name with an inline rename affordance: a pencil control switches the text into an editable …
|
|
81
|
-
- [Select](src/docs/agent-guidance/select.md) — Select is a Radix-based dropdown for choosing a single option from a list. Compose it from Select, SelectTrigger, Sel…
|
|
82
|
-
- [Separator](src/docs/agent-guidance/separator.md) — Separator draws a thin horizontal rule that visually divides adjacent content. It is purely presentational and carrie…
|
|
83
|
-
- [Sidebar](src/docs/agent-guidance/sidebar.md) — Sidebar provides the primitives for building application navigation rails: SidebarGroup, SidebarMenu, SidebarMenuItem…
|
|
84
|
-
- [Sidebar Datasets Items Grouped](src/docs/agent-guidance/sidebar-datasets-items-grouped.md) — SidebarDatasetsItemsGrouped renders a dataset list for the application sidebar, organised into collapsible groups wit…
|
|
85
|
-
- [Skeleton](src/docs/agent-guidance/skeleton.md) — Skeleton is a loading placeholder that reserves space for content while it loads. Compose simple shapes — lines and b…
|
|
86
|
-
- [Slider](src/docs/agent-guidance/slider.md) — Slider lets users select a numeric value from a continuous or stepped range by dragging a thumb along a track. Contro…
|
|
87
|
-
- [Smart Text Truncate](src/docs/agent-guidance/smart-text-truncate.md) — SmartTextTruncate shortens a long string in the middle so it fits its container, keeping the end of the string visibl…
|
|
88
97
|
- [Spacing](src/docs/agent-guidance/spacing.md) — The --p-\* tokens are the canonical spacing scale: each step is a multiple of 4px, from --p-1 (4px) up to --p-24 (96p…
|
|
89
|
-
- [Sparkline](src/docs/agent-guidance/sparkline.md) — Sparkline renders a compact line chart from an array of numbers, sized to fit inline alongside text or inside table c…
|
|
90
98
|
- [Standalone App Layout](src/docs/agent-guidance/standalone-app-layout.md) — The standalone app layout composes AppShell, Sidebar, and AppShellMainContent into the full chrome for a Sybilion sta…
|
|
91
99
|
- [Sybilion Auth Layout](src/docs/agent-guidance/sybilion-auth-layout.md) — SybilionAuthLayout provides the split-view chrome for authentication routes: a branded hero column beside a form colu…
|
|
92
|
-
- [Table](src/docs/agent-guidance/table.md) — Table is a set of semantic primitives — Table, TableHeader, TableBody, TableRow, TableHead, and TableCell — for prese…
|
|
93
|
-
- [Tabs](src/docs/agent-guidance/tabs.md) — Tabs organise related content into panels that share the same space, with only one panel visible at a time. Three var…
|
|
94
|
-
- [Text Shimmer](src/docs/agent-guidance/text-shimmer.md) — TextShimmer animates a shimmer effect across its text content to signal that an operation is in progress. It keeps th…
|
|
95
|
-
- [Text With Defer Tooltip](src/docs/agent-guidance/text-with-defer-tooltip.md) — TextWithDeferTooltip truncates its text with an ellipsis and shows the full value in a tooltip, but only when the tex…
|
|
96
|
-
- [Time Range Controls](src/docs/agent-guidance/time-range-controls.md) — TimeRangeControls renders a row of preset time range toggles, such as one month or one year, for switching the window…
|
|
97
|
-
- [Toggle](src/docs/agent-guidance/toggle.md) — Toggle is a two-state button that can be pressed or unpressed, typically showing an icon. It suits tool-style options…
|
|
98
|
-
- [Toggle Group](src/docs/agent-guidance/toggle-group.md) — ToggleGroup presents a set of related toggle buttons where, in single mode, exactly one option is active at a time. I…
|
|
99
100
|
- [Typography](src/docs/agent-guidance/typography.md) — The system pairs KMR Apparat for display and headings with Manrope for body copy. Sizes come from the --text-_ scale,…
|
|
100
|
-
- [Vimeo Embed](src/docs/agent-guidance/vimeo-embed.md) — VimeoEmbed renders a responsive Vimeo player from a video ID, handling the iframe markup and aspect ratio for you. Co…
|
|
101
|
-
- [World Map](src/docs/agent-guidance/world-map.md) — WorldMap renders a bundled SVG map of the world, intended as a backdrop for geographic visualisations such as DriverM…
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styleInject from 'style-inject';
|
|
2
2
|
|
|
3
|
-
var css_248z = "@media (max-width:768px){:root{--page-x-padding:var(--p-6);--page-y-padding:var(--p-6)}}.Sidebar_sidebarWrapper__DGm4P{align-items:stretch;display:flex;flex-direction:row;height:100%;min-height:0;width:100%}.Sidebar_sidebarWrapper__DGm4P #page-sidebar-actions{min-height:100%}@media (max-width:768px){.Sidebar_sidebarWrapper__DGm4P{flex-direction:column;height:100dvh;max-height:100dvh}}.Sidebar_sidebarMainShell__pSWDC{display:flex;flex:1;flex-direction:column;min-height:0;min-width:0}.Sidebar_chatPanelMount__1Zctx{background:var(--background);border-left:1px solid var(--border);flex:0 0 0px;flex:0 0 var(--chat-panel-width,0px);min-height:0;min-width:0;overflow:hidden;width:0;width:var(--chat-panel-width,0)}@media (max-width:768px){.Sidebar_chatPanelMount__1Zctx{border-left:none;border-top:1px solid var(--border);flex:0 0 0px;flex:0 0 var(--chat-panel-height,0px);height:0;height:var(--chat-panel-height,0);transition:flex-basis .2s ease,height .2s ease;width:100%}}.Sidebar_sidebar__0vqNZ{height:0;position:fixed;--top-offset:-10px;--gap-top:calc(var(--header-height) + var(--top-offset));align-self:flex-start;color:var(--sidebar-foreground);display:none;flex-direction:column;top:calc(var(--gap-top));top:calc(var(--gap-top) + var(--app-banner-height, 0px));width:var(--sidebar-width)}@media (min-width:768px){.Sidebar_sidebar__0vqNZ[data-state=expanded]{display:flex;height:calc(100vh - var(--gap-top));height:calc(100vh - var(--gap-top) - var(--app-banner-height, 0px));min-height:0}}.Sidebar_sidebar__0vqNZ[data-collapsible=offcanvas]{overflow:hidden;padding:0;width:0}.Sidebar_sidebarTrigger__ipx2C{cursor:pointer;height:var(--p-5);margin-left:calc(var(--p-4)*-1);width:var(--p-5)}.Sidebar_sidebarTrigger__ipx2C svg{height:20px;width:20px}.Sidebar_sidebarRail__uvSpl{position:absolute;inset-y:0;display:hidden;transition:all ease-out;width:1rem;z-index:20}.Sidebar_sidebarRail__uvSpl:hover:after{background-color:var(--sidebar-border)}.Sidebar_sidebarRail__uvSpl[data-side=left]{right:-1rem}.Sidebar_sidebarRail__uvSpl[data-side=right]{left:0}.Sidebar_sidebarRail__uvSpl:after{content:\"\";position:absolute;inset-y:0;left:50%;width:2px}@media (min-width:640px){.Sidebar_sidebarRail__uvSpl{display:flex}}.Sidebar_sidebarRail__uvSpl[data-side=left]{cursor:w-resize}.Sidebar_sidebarRail__uvSpl[data-side=left][data-state=collapsed],.Sidebar_sidebarRail__uvSpl[data-side=right]{cursor:e-resize}.Sidebar_sidebarRail__uvSpl[data-side=right][data-state=collapsed]{cursor:w-resize}.Sidebar_sidebarRail__uvSpl[data-collapsible=offcanvas]{transform:translateX(0)}.Sidebar_sidebarRail__uvSpl[data-collapsible=offcanvas]:hover{background-color:var(--sidebar)}.Sidebar_sidebarRail__uvSpl[data-collapsible=offcanvas]:after{left:100%}.Sidebar_sidebarRail__uvSpl[data-side=left][data-collapsible=offcanvas]{right:-.5rem}.Sidebar_sidebarRail__uvSpl[data-side=right][data-collapsible=offcanvas]{left:-.5rem}.Sidebar_sidebarResizeHandle__kuD6t{background-color:transparent;background-color:var(--page-color);border-radius:2.5px;height:calc(100vh + 200px);height:calc(100vh + 200px - var(--app-banner-height, 0px));opacity:0;position:absolute;top:-200px;touch-action:none;transition:opacity .15s ease-out;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:5px;z-index:30}.Sidebar_sidebarResizeHandle__kuD6t:before{content:\"\";cursor:col-resize;height:100%;position:absolute;right:0;width:30px}.Sidebar_sidebarResizeHandle__kuD6t[data-side=left]{right:2px}.Sidebar_sidebarResizeHandle__kuD6t[data-side=right]{left:0}.Sidebar_sidebarResizeHandle__kuD6t:hover{opacity:1}.Sidebar_sidebarResizeHandle__kuD6t:active{opacity:0}.Sidebar_fullHeightResizer__jZXnw .Sidebar_sidebarResizeHandle__kuD6t{height:calc(100vh - var(--gap-top)*-1);height:calc(100vh - var(--gap-top)*-1 - var(--app-banner-height, 0px));top:-80px}.Sidebar_sidebarInput__ujQLX{background-color:var(--background);box-shadow:none;height:2rem;width:100%}.Sidebar_sidebarFooter__V3O-l,.Sidebar_sidebarHeader__X33ii{display:flex;flex-direction:column;gap:0;padding:0}.Sidebar_sidebarSeparator__oUkYG{background-color:var(--sidebar-border);margin-left:0;margin-right:0;width:auto}.Sidebar_sidebarContent__Ywe1o{display:flex;flex:1;flex-direction:column;gap:var(--p-16);height:100vh;max-height:100%;min-height:0;overflow:auto;position:absolute;width:100%}@media (min-width:768px){.Sidebar_sidebarContent__Ywe1o{height:calc(100vh - var(--gap-top));height:calc(100vh - var(--gap-top) - var(--app-banner-height, 0px))}}.Sidebar_sidebarContent__Ywe1o[data-collapsible=icon]{overflow:hidden}.Sidebar_sidebarGroup__7Mhg2{display:flex;flex-direction:column;min-width:0;padding:40px 0 0;position:relative;width:100%}.Sidebar_sidebarGroupAction__OhVZq{align-items:center;aspect-ratio:1;border-radius:.375rem;color:var(--sidebar-foreground);display:flex;justify-content:center;outline:none;padding:0;position:absolute;right:.75rem;top:.875rem;transition:transform;width:1.25rem}.Sidebar_sidebarGroupAction__OhVZq:hover{background-color:var(--sidebar-accent);color:var(--sidebar-accent-foreground)}.Sidebar_sidebarGroupAction__OhVZq:focus-visible{box-shadow:0 0 0 2px var(--sidebar-ring)}.Sidebar_sidebarGroupAction__OhVZq>svg{flex-shrink:0;height:1rem;width:1rem}.Sidebar_sidebarGroupAction__OhVZq:after{content:\"\";inset:-.5rem;position:absolute}@media (min-width:768px){.Sidebar_sidebarGroupAction__OhVZq:after{display:none}}.Sidebar_sidebarGroupAction__OhVZq[data-collapsible=icon]{display:none}.Sidebar_sidebarMenu__hYXIo{display:flex;flex-direction:column;gap:var(--p-4);list-style:none;min-width:0;padding:0 var(--p-11) var(--p-10) var(--p-8);width:100%}@media (max-width:768px){.Sidebar_sidebarMenu__hYXIo{padding-right:var(--p-8)}}.Sidebar_sidebarMenuItem__CRhM8{cursor:pointer;position:relative}.Sidebar_sidebarMenuBadge__ttvCR{align-items:center;border-radius:.375rem;color:var(--sidebar-foreground);display:flex;font-size:.75rem;font-weight:500;height:1.25rem;justify-content:center;min-width:1.25rem;padding-left:.25rem;padding-right:.25rem;pointer-events:none;position:absolute;right:.25rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.Sidebar_sidebarMenuBadge__ttvCR[data-size=sm]{top:.25rem}.Sidebar_sidebarMenuBadge__ttvCR[data-size=md]{top:.375rem}.Sidebar_sidebarMenuBadge__ttvCR[data-size=lg]{top:.625rem}.Sidebar_sidebarMenuBadge__ttvCR[data-collapsible=icon]{display:none}.Sidebar_sidebarMenuSkeleton__u2KoI{align-items:center;border-radius:.375rem;display:flex;gap:.5rem;height:2rem;padding-left:.5rem;padding-right:.5rem}.Sidebar_sidebarMenuSkeletonIcon__-1tvv{border-radius:.375rem;height:1rem;width:1rem}.Sidebar_sidebarMenuSkeletonText__dWzWo{flex:1;height:1rem;max-width:var(--skeleton-width)}.Sidebar_sidebarMenuSub__gh8Rn{border-color:var(--sidebar-border);border-left:none;display:flex;flex-direction:column;gap:var(--p-2);list-style:none;margin-left:0;margin-right:0;min-width:0;padding:0;padding-top:var(--p-1);position:relative;transform:translateX(1px)}.Sidebar_sidebarMenuSub__gh8Rn:before{background:var(--sidebar-border);bottom:26px;content:\"\";left:var(--p-5);pointer-events:none;position:absolute;top:0;width:1px}.Sidebar_sidebarMenuSub__gh8Rn[data-collapsible=icon]{display:none}.Sidebar_sidebarMenuSubItem__fTHJa{margin-left:var(--p-6);position:relative}.Sidebar_sidebarMenuSubItem__fTHJa:before{border-bottom:1px solid var(--sidebar-border);border-bottom-left-radius:var(--p-2);border-left:1px solid var(--sidebar-border);bottom:0;content:\"\";height:var(--p-3);left:calc(var(--p-1)*-1);position:absolute;top:var(--p-2);width:var(--p-3)}.Sidebar_sidebarMenuSubItem__fTHJa a:hover{text-decoration:none}.Sidebar_sheetContentSidebar__cM2h2{color:var(--sidebar-foreground);padding:0;width:var(--sidebar-width)}.Sidebar_sheetContentSidebar__cM2h2>button{display:none}@media (max-width:768px){.Sidebar_sheetContentSidebar__cM2h2{z-index:100}}.Sidebar_sheetSidebarLogo__eGVDC{flex-shrink:0;padding:var(--p-6) var(--p-8) var(--p-2);position:relative}.Sidebar_sheetSidebarInner__U-SMQ{background-color:var(--sidebar);display:flex;flex-direction:column;height:100%;width:100%}.Sidebar_sheetSidebarInner__U-SMQ .Sidebar_sidebarContent__Ywe1o{flex:1;height:auto;max-height:none;min-height:0;position:relative}.Sidebar_sidebarNone__crRsF{color:var(--sidebar-foreground);display:flex;flex-direction:column;height:100%;width:var(--sidebar-width)}.Sidebar_variant-floating__-qvkJ{padding:.5rem}.Sidebar_variant-floating__-qvkJ[data-collapsible=icon],.Sidebar_variant-inset__oTfrV[data-collapsible=icon]{width:calc(var(--sidebar-width-icon) + 1rem + 2px)}.Sidebar_variant-sidebar__fAe77[data-collapsible=icon]{width:var(--sidebar-width-icon)}.Sidebar_variant-sidebar__fAe77[data-side=left]{border-right:1px solid #e5e7eb}.Sidebar_variant-sidebar__fAe77[data-side=right]{border-left:1px solid #e5e7eb}.Sidebar_sidebarMenuButton__vIEh->span,.Sidebar_sidebarMenuSubButton__c9flh>span{min-width:0;text-transform:capitalize}.Sidebar_sidebarMenuButton__vIEh->span:first-child,.Sidebar_sidebarMenuSubButton__c9flh>span:first-child{flex-grow:1}.Sidebar_sidebarMenuButton__vIEh-{align-items:center;border-radius:var(--p-3);color:var(--sidebar-foreground);cursor:pointer;display:flex;font-size:.875rem;gap:var(--p-2);justify-content:flex-start;outline:none;overflow:hidden;padding:var(--p-6) var(--p-3);text-align:left;text-decoration:none;transition:all;width:100%}.Sidebar_sidebarMenuButton__vIEh-:visited{color:var(--sidebar-foreground)}.Sidebar_sidebarMenuButton__vIEh-:hover{text-decoration:none}.Sidebar_sidebarMenuSubItem__fTHJa:active .Sidebar_sidebarMenuButton__vIEh-,.Sidebar_sidebarMenuSubItem__fTHJa:hover .Sidebar_sidebarMenuButton__vIEh-,.Sidebar_sidebarMenuSubItem__fTHJa[data-state=open] .Sidebar_sidebarMenuButton__vIEh-{background-color:var(--sidebar-accent);color:var(--sidebar-accent-foreground)}.Sidebar_sidebarMenuButton__vIEh-:focus-visible{box-shadow:0 0 0 2px var(--sidebar-ring)}.Sidebar_sidebarMenuButton__vIEh-:disabled,.Sidebar_sidebarMenuButton__vIEh-[aria-disabled=true]{opacity:.5;pointer-events:none}.Sidebar_sidebarMenuButton__vIEh-[data-active=true]{background-color:var(--sidebar-accent);color:var(--sidebar-accent-foreground);font-weight:500}.Sidebar_sidebarMenuButton__vIEh-[data-collapsible=icon]{height:2rem!important;padding:.5rem!important;width:2rem!important}.Sidebar_sidebarMenuButton__vIEh->span{flex-grow:1;line-height:20px;overflow:hidden;white-space:nowrap}.Sidebar_sidebarMenuButton__vIEh->svg{flex-shrink:0;height:var(--p-5);width:var(--p-5)}.Sidebar_sidebarMenuButton__vIEh-.Sidebar_size-sm__7aIbu{font-size:.75rem;height:1.75rem}.Sidebar_sidebarMenuButton__vIEh-.Sidebar_size-md__rcjmO{font-size:.875rem;height:var(--p-12)}.Sidebar_sidebarMenuButton__vIEh-.Sidebar_size-lg__1k76S{font-size:.875rem;height:3rem}.Sidebar_sidebarMenuButton__vIEh-.Sidebar_size-lg__1k76S[data-collapsible=icon]{padding:0!important}.Sidebar_sidebarMenuButton__vIEh-.Sidebar_variant-outline__UmtAz{background-color:var(--background);box-shadow:0 0 0 1px var(--sidebar-border)}.Sidebar_sidebarMenuButton__vIEh-.Sidebar_variant-outline__UmtAz:hover{background-color:var(--sidebar-accent);box-shadow:0 0 0 1px var(--sidebar-accent);color:var(--sidebar-accent-foreground)}.Sidebar_sidebarMenuButtonCta__dQAhv{display:flex;justify-content:flex-start;text-align:left;width:100%}.Sidebar_sidebarMenuButtonCta__dQAhv>svg{flex-shrink:0;height:var(--p-5);width:var(--p-5)}.Sidebar_sidebarMenuAction__mFZa1{align-items:center;aspect-ratio:1;border-radius:.375rem;color:var(--sidebar-foreground);cursor:pointer;display:flex;justify-content:center;opacity:0;outline:none;padding:0;position:absolute;right:var(--p-2);top:var(--p-2);transition:transform;width:1.25rem}.Sidebar_sidebarMenuAction__mFZa1:before{background-image:linear-gradient(to left,var(--sidebar-accent) 70%,transparent 100%);content:\"\";height:100%;pointer-events:none;position:absolute;right:0;transition:opacity .2s ease-in-out;width:calc(100% + var(--p-4))}.Sidebar_sidebarMenuSubItem__fTHJa:hover .Sidebar_sidebarMenuAction__mFZa1{opacity:1}.Sidebar_sidebarMenuAction__mFZa1:focus-visible{box-shadow:0 0 0 2px var(--sidebar-ring)}.Sidebar_sidebarMenuAction__mFZa1>svg{flex-shrink:0;height:1rem;opacity:.5;pointer-events:none;transition:opacity .2s ease-in-out;width:1rem;z-index:1}.Sidebar_sidebarMenuAction__mFZa1:hover>svg{opacity:1}.Sidebar_sidebarMenuAction__mFZa1:after{content:\"\";inset:-.5rem;position:absolute}@media (min-width:768px){.Sidebar_sidebarMenuAction__mFZa1:after{display:none}}.Sidebar_sidebarMenuAction__mFZa1[data-size=sm]{top:.25rem}.Sidebar_sidebarMenuAction__mFZa1[data-size=md]{top:.375rem}.Sidebar_sidebarMenuAction__mFZa1[data-size=lg]{top:.625rem}.Sidebar_sidebarMenuAction__mFZa1[data-collapsible=icon]{display:none}.Sidebar_sidebarMenuAction__mFZa1.Sidebar_showOnHover__itXsA[data-active=true]{color:var(--sidebar-accent-foreground)}.Sidebar_sidebarMenuAction__mFZa1.Sidebar_showOnHover__itXsA[data-state=open]{opacity:1}@media (min-width:768px){.Sidebar_sidebarMenuAction__mFZa1.Sidebar_showOnHover__itXsA{opacity:0}.Sidebar_sidebarMenuAction__mFZa1.Sidebar_showOnHover__itXsA:focus-within,.Sidebar_sidebarMenuAction__mFZa1.Sidebar_showOnHover__itXsA:hover{opacity:1}}.Sidebar_sidebarMenuSubButton__c9flh{align-items:center;border-radius:var(--p-3);color:var(--sidebar-foreground);cursor:pointer;display:flex;gap:var(--p-1);height:var(--p-9);margin-left:var(--p-3);min-width:0;outline:none;overflow:hidden;padding:var(--p-1) var(--p-2);text-decoration:none;transform:translateX(-1px)}.Sidebar_sidebarMenuSubButton__c9flh:visited{color:var(--sidebar-foreground)}.Sidebar_sidebarMenuSubButton__c9flh:hover{text-decoration:none}.Sidebar_sidebarMenuSubItem__fTHJa:active .Sidebar_sidebarMenuSubButton__c9flh,.Sidebar_sidebarMenuSubItem__fTHJa:hover .Sidebar_sidebarMenuSubButton__c9flh{background-color:var(--sidebar-accent);color:var(--sidebar-accent-foreground)}.Sidebar_sidebarMenuSubButton__c9flh:focus-visible{box-shadow:0 0 0 2px var(--sidebar-ring)}.Sidebar_sidebarMenuSubButton__c9flh:disabled,.Sidebar_sidebarMenuSubButton__c9flh[aria-disabled=true]{opacity:.5;pointer-events:none}.Sidebar_sidebarMenuSubButton__c9flh[data-active=true]{background-color:var(--sidebar-accent);color:var(--sidebar-accent-foreground)}.Sidebar_sidebarMenuSubButton__c9flh[data-active=true]:visited{color:var(--sidebar-accent-foreground)}.Sidebar_sidebarMenuSubButton__c9flh[data-collapsible=icon]{display:none}.Sidebar_sidebarMenuSubButton__c9flh>span:first-child{overflow:hidden;white-space:nowrap}.Sidebar_sidebarMenuSubButton__c9flh>svg{color:var(--sidebar-accent-foreground);flex-shrink:0;height:1rem;width:1rem}.Sidebar_sidebarMenuSubButton__c9flh.Sidebar_size-sm__7aIbu{font-size:.75rem}.Sidebar_sidebarMenuSubButton__c9flh.Sidebar_size-md__rcjmO{font-size:.875rem}.Sidebar_sidebarMenuSubButton__c9flh.Sidebar_size-lg__1k76S{font-size:1rem}::view-transition-old(sidebar-container),::view-transition-old(sidebar-gap){animation-duration:.2s;animation-name:Sidebar_sidebarVtOld__hlKqn;animation-timing-function:ease-out;transform:translateZ(0)}::view-transition-new(sidebar-container),::view-transition-new(sidebar-gap){animation-duration:.2s;animation-name:Sidebar_sidebarVtNew__FFhYU;animation-timing-function:ease-out;transform:translateZ(0)}@keyframes Sidebar_sidebarVtOld__hlKqn{0%{opacity:1}to{opacity:0}}@keyframes Sidebar_sidebarVtNew__FFhYU{0%{opacity:0}to{opacity:1}}";
|
|
3
|
+
var css_248z = "@media (max-width:768px){:root{--page-x-padding:var(--p-6);--page-y-padding:var(--p-6)}}.Sidebar_sidebarWrapper__DGm4P{align-items:stretch;display:flex;flex-direction:row;height:100%;min-height:0;width:100%}.Sidebar_sidebarWrapper__DGm4P #page-sidebar-actions{min-height:100%}@media (max-width:768px){.Sidebar_sidebarWrapper__DGm4P{flex-direction:column;height:100dvh;max-height:100dvh}}.Sidebar_sidebarMainShell__pSWDC{display:flex;flex:1;flex-direction:column;min-height:0;min-width:0}.Sidebar_chatPanelMount__1Zctx{background:var(--background);border-left:1px solid var(--border);flex:0 0 0px;flex:0 0 var(--chat-panel-width,0px);min-height:0;min-width:0;overflow:hidden;width:0;width:var(--chat-panel-width,0)}@media (max-width:768px){.Sidebar_chatPanelMount__1Zctx{border-left:none;border-top:1px solid var(--border);flex:0 0 0px;flex:0 0 var(--chat-panel-height,0px);height:0;height:var(--chat-panel-height,0);transition:flex-basis .2s ease,height .2s ease;width:100%}}.Sidebar_sidebar__0vqNZ{height:0;position:fixed;--top-offset:-10px;--gap-top:calc(var(--header-height) + var(--top-offset));align-self:flex-start;color:var(--sidebar-foreground);display:none;flex-direction:column;top:calc(var(--gap-top));top:calc(var(--gap-top) + var(--app-banner-height, 0px));width:var(--sidebar-width)}@media (min-width:768px){.Sidebar_sidebar__0vqNZ[data-state=expanded]{display:flex;height:calc(100vh - var(--gap-top));height:calc(100vh - var(--gap-top) - var(--app-banner-height, 0px));min-height:0}}.Sidebar_sidebar__0vqNZ[data-collapsible=offcanvas]{overflow:hidden;padding:0;width:0}.Sidebar_sidebarTrigger__ipx2C{cursor:pointer;height:var(--p-5);margin-left:calc(var(--p-4)*-1);width:var(--p-5)}.Sidebar_sidebarTrigger__ipx2C svg{height:20px;width:20px}.Sidebar_sidebarRail__uvSpl{position:absolute;inset-y:0;display:hidden;transition:all ease-out;width:1rem;z-index:20}.Sidebar_sidebarRail__uvSpl:hover:after{background-color:var(--sidebar-border)}.Sidebar_sidebarRail__uvSpl[data-side=left]{right:-1rem}.Sidebar_sidebarRail__uvSpl[data-side=right]{left:0}.Sidebar_sidebarRail__uvSpl:after{content:\"\";position:absolute;inset-y:0;left:50%;width:2px}@media (min-width:640px){.Sidebar_sidebarRail__uvSpl{display:flex}}.Sidebar_sidebarRail__uvSpl[data-side=left]{cursor:w-resize}.Sidebar_sidebarRail__uvSpl[data-side=left][data-state=collapsed],.Sidebar_sidebarRail__uvSpl[data-side=right]{cursor:e-resize}.Sidebar_sidebarRail__uvSpl[data-side=right][data-state=collapsed]{cursor:w-resize}.Sidebar_sidebarRail__uvSpl[data-collapsible=offcanvas]{transform:translateX(0)}.Sidebar_sidebarRail__uvSpl[data-collapsible=offcanvas]:hover{background-color:var(--sidebar)}.Sidebar_sidebarRail__uvSpl[data-collapsible=offcanvas]:after{left:100%}.Sidebar_sidebarRail__uvSpl[data-side=left][data-collapsible=offcanvas]{right:-.5rem}.Sidebar_sidebarRail__uvSpl[data-side=right][data-collapsible=offcanvas]{left:-.5rem}.Sidebar_sidebarResizeHandle__kuD6t{background-color:transparent;background-color:var(--page-color);border-radius:2.5px;height:calc(100vh + 200px);height:calc(100vh + 200px - var(--app-banner-height, 0px));opacity:0;position:absolute;top:-200px;touch-action:none;transition:opacity .15s ease-out;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:5px;z-index:30}.Sidebar_sidebarResizeHandle__kuD6t:before{content:\"\";cursor:col-resize;height:100%;position:absolute;right:0;width:30px}.Sidebar_sidebarResizeHandle__kuD6t[data-side=left]{right:2px}.Sidebar_sidebarResizeHandle__kuD6t[data-side=right]{left:0}.Sidebar_sidebarResizeHandle__kuD6t:hover{opacity:1}.Sidebar_sidebarResizeHandle__kuD6t:active{opacity:0}.Sidebar_fullHeightResizer__jZXnw .Sidebar_sidebarResizeHandle__kuD6t{height:calc(100vh - var(--gap-top)*-1);height:calc(100vh - var(--gap-top)*-1 - var(--app-banner-height, 0px));top:-80px}.Sidebar_sidebarInput__ujQLX{background-color:var(--background);box-shadow:none;height:2rem;width:100%}.Sidebar_sidebarFooter__V3O-l,.Sidebar_sidebarHeader__X33ii{display:flex;flex-direction:column;gap:0;padding:0}.Sidebar_sidebarSeparator__oUkYG{background-color:var(--sidebar-border);margin-left:0;margin-right:0;width:auto}.Sidebar_sidebarContent__Ywe1o{display:flex;flex:1;flex-direction:column;gap:var(--p-16);height:100vh;max-height:100%;min-height:0;overflow:auto;position:absolute;width:100%}@media (min-width:768px){.Sidebar_sidebarContent__Ywe1o{height:calc(100vh - var(--gap-top));height:calc(100vh - var(--gap-top) - var(--app-banner-height, 0px))}}.Sidebar_sidebarContent__Ywe1o[data-collapsible=icon]{overflow:hidden}.Sidebar_sidebarGroup__7Mhg2{display:flex;flex-direction:column;min-width:0;padding:40px 0 0;position:relative;width:100%}.Sidebar_sidebarGroupAction__OhVZq{align-items:center;aspect-ratio:1;border-radius:.375rem;color:var(--sidebar-foreground);display:flex;justify-content:center;outline:none;padding:0;position:absolute;right:.75rem;top:.875rem;transition:transform;width:1.25rem}.Sidebar_sidebarGroupAction__OhVZq:hover{background-color:var(--sidebar-accent);color:var(--sidebar-accent-foreground)}.Sidebar_sidebarGroupAction__OhVZq:focus-visible{box-shadow:0 0 0 2px var(--sidebar-ring)}.Sidebar_sidebarGroupAction__OhVZq>svg{flex-shrink:0;height:1rem;width:1rem}.Sidebar_sidebarGroupAction__OhVZq:after{content:\"\";inset:-.5rem;position:absolute}@media (min-width:768px){.Sidebar_sidebarGroupAction__OhVZq:after{display:none}}.Sidebar_sidebarGroupAction__OhVZq[data-collapsible=icon]{display:none}.Sidebar_sidebarMenu__hYXIo{display:flex;flex-direction:column;gap:var(--p-4);list-style:none;min-width:0;padding:0 var(--p-11) var(--p-10) var(--p-8);width:100%}@media (max-width:768px){.Sidebar_sidebarMenu__hYXIo{padding-right:var(--p-8)}}.Sidebar_sidebarMenuItem__CRhM8{cursor:pointer;position:relative}.Sidebar_sidebarMenuBadge__ttvCR{align-items:center;border-radius:.375rem;color:var(--sidebar-foreground);display:flex;font-size:.75rem;font-weight:500;height:1.25rem;justify-content:center;min-width:1.25rem;padding-left:.25rem;padding-right:.25rem;pointer-events:none;position:absolute;right:.25rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.Sidebar_sidebarMenuBadge__ttvCR[data-size=sm]{top:.25rem}.Sidebar_sidebarMenuBadge__ttvCR[data-size=md]{top:.375rem}.Sidebar_sidebarMenuBadge__ttvCR[data-size=lg]{top:.625rem}.Sidebar_sidebarMenuBadge__ttvCR[data-collapsible=icon]{display:none}.Sidebar_sidebarMenuSkeleton__u2KoI{align-items:center;border-radius:.375rem;display:flex;gap:.5rem;height:2rem;padding-left:.5rem;padding-right:.5rem}.Sidebar_sidebarMenuSkeletonIcon__-1tvv{border-radius:.375rem;height:1rem;width:1rem}.Sidebar_sidebarMenuSkeletonText__dWzWo{flex:1;height:1rem;max-width:var(--skeleton-width)}.Sidebar_sidebarMenuSub__gh8Rn{border-color:var(--sidebar-border);border-left:none;display:flex;flex-direction:column;gap:var(--p-2);list-style:none;margin-left:0;margin-right:0;min-width:0;padding:0;padding-top:var(--p-1);position:relative;transform:translateX(1px)}.Sidebar_sidebarMenuSub__gh8Rn:before{background:var(--sidebar-border);bottom:26px;content:\"\";left:var(--p-5);pointer-events:none;position:absolute;top:0;width:1px}.Sidebar_sidebarMenuSub__gh8Rn[data-collapsible=icon]{display:none}.Sidebar_sidebarMenuSubItem__fTHJa{margin-left:var(--p-6);min-width:0;position:relative}.Sidebar_sidebarMenuSubItem__fTHJa:before{border-bottom:1px solid var(--sidebar-border);border-bottom-left-radius:var(--p-2);border-left:1px solid var(--sidebar-border);bottom:0;content:\"\";height:var(--p-3);left:calc(var(--p-1)*-1);position:absolute;top:var(--p-2);width:var(--p-3)}.Sidebar_sidebarMenuSubItem__fTHJa a:hover{text-decoration:none}.Sidebar_sheetContentSidebar__cM2h2{color:var(--sidebar-foreground);padding:0;width:var(--sidebar-width)}.Sidebar_sheetContentSidebar__cM2h2>button{display:none}@media (max-width:768px){.Sidebar_sheetContentSidebar__cM2h2{z-index:100}}.Sidebar_sheetSidebarLogo__eGVDC{flex-shrink:0;padding:var(--p-6) var(--p-8) var(--p-2);position:relative}.Sidebar_sheetSidebarInner__U-SMQ{background-color:var(--sidebar);display:flex;flex-direction:column;height:100%;width:100%}.Sidebar_sheetSidebarInner__U-SMQ .Sidebar_sidebarContent__Ywe1o{flex:1;height:auto;max-height:none;min-height:0;position:relative}.Sidebar_sidebarNone__crRsF{color:var(--sidebar-foreground);display:flex;flex-direction:column;height:100%;width:var(--sidebar-width)}.Sidebar_variant-floating__-qvkJ{padding:.5rem}.Sidebar_variant-floating__-qvkJ[data-collapsible=icon],.Sidebar_variant-inset__oTfrV[data-collapsible=icon]{width:calc(var(--sidebar-width-icon) + 1rem + 2px)}.Sidebar_variant-sidebar__fAe77[data-collapsible=icon]{width:var(--sidebar-width-icon)}.Sidebar_variant-sidebar__fAe77[data-side=left]{border-right:1px solid #e5e7eb}.Sidebar_variant-sidebar__fAe77[data-side=right]{border-left:1px solid #e5e7eb}.Sidebar_sidebarMenuButton__vIEh->span,.Sidebar_sidebarMenuSubButton__c9flh>span{min-width:0;text-transform:capitalize}.Sidebar_sidebarMenuButton__vIEh->span:first-child,.Sidebar_sidebarMenuSubButton__c9flh>span:first-child{flex-grow:1}.Sidebar_sidebarMenuButton__vIEh-{align-items:center;border-radius:var(--p-3);color:var(--sidebar-foreground);cursor:pointer;display:flex;font-size:.875rem;gap:var(--p-2);justify-content:flex-start;outline:none;overflow:hidden;padding:var(--p-6) var(--p-3);text-align:left;text-decoration:none;transition:all;width:100%}.Sidebar_sidebarMenuButton__vIEh-:visited{color:var(--sidebar-foreground)}.Sidebar_sidebarMenuButton__vIEh-:hover{text-decoration:none}.Sidebar_sidebarMenuSubItem__fTHJa:active .Sidebar_sidebarMenuButton__vIEh-,.Sidebar_sidebarMenuSubItem__fTHJa:hover .Sidebar_sidebarMenuButton__vIEh-,.Sidebar_sidebarMenuSubItem__fTHJa[data-state=open] .Sidebar_sidebarMenuButton__vIEh-{background-color:var(--sidebar-accent);color:var(--sidebar-accent-foreground)}.Sidebar_sidebarMenuButton__vIEh-:focus-visible{box-shadow:0 0 0 2px var(--sidebar-ring)}.Sidebar_sidebarMenuButton__vIEh-:disabled,.Sidebar_sidebarMenuButton__vIEh-[aria-disabled=true]{opacity:.5;pointer-events:none}.Sidebar_sidebarMenuButton__vIEh-[data-active=true]{background-color:var(--sidebar-accent);color:var(--sidebar-accent-foreground);font-weight:500}.Sidebar_sidebarMenuButton__vIEh-[data-collapsible=icon]{height:2rem!important;padding:.5rem!important;width:2rem!important}.Sidebar_sidebarMenuButton__vIEh->span{flex-grow:1;line-height:20px;overflow:hidden;white-space:nowrap}.Sidebar_sidebarMenuButton__vIEh->svg{flex-shrink:0;height:var(--p-5);width:var(--p-5)}.Sidebar_sidebarMenuButton__vIEh-.Sidebar_size-sm__7aIbu{font-size:.75rem;height:1.75rem}.Sidebar_sidebarMenuButton__vIEh-.Sidebar_size-md__rcjmO{font-size:.875rem;height:var(--p-12)}.Sidebar_sidebarMenuButton__vIEh-.Sidebar_size-lg__1k76S{font-size:.875rem;height:3rem}.Sidebar_sidebarMenuButton__vIEh-.Sidebar_size-lg__1k76S[data-collapsible=icon]{padding:0!important}.Sidebar_sidebarMenuButton__vIEh-.Sidebar_variant-outline__UmtAz{background-color:var(--background);box-shadow:0 0 0 1px var(--sidebar-border)}.Sidebar_sidebarMenuButton__vIEh-.Sidebar_variant-outline__UmtAz:hover{background-color:var(--sidebar-accent);box-shadow:0 0 0 1px var(--sidebar-accent);color:var(--sidebar-accent-foreground)}.Sidebar_sidebarMenuButtonCta__dQAhv{display:flex;justify-content:flex-start;text-align:left;width:100%}.Sidebar_sidebarMenuButtonCta__dQAhv>svg{flex-shrink:0;height:var(--p-5);width:var(--p-5)}.Sidebar_sidebarMenuAction__mFZa1{align-items:center;aspect-ratio:1;border-radius:.375rem;color:var(--sidebar-foreground);cursor:pointer;display:flex;justify-content:center;opacity:0;outline:none;padding:0;position:absolute;right:var(--p-2);top:var(--p-2);transition:transform;width:1.25rem}.Sidebar_sidebarMenuAction__mFZa1:before{background-image:linear-gradient(to left,var(--sidebar-accent) 70%,transparent 100%);content:\"\";height:100%;pointer-events:none;position:absolute;right:0;transition:opacity .2s ease-in-out;width:calc(100% + var(--p-4))}.Sidebar_sidebarMenuSubItem__fTHJa:hover .Sidebar_sidebarMenuAction__mFZa1{opacity:1}.Sidebar_sidebarMenuAction__mFZa1:focus-visible{box-shadow:0 0 0 2px var(--sidebar-ring)}.Sidebar_sidebarMenuAction__mFZa1>svg{flex-shrink:0;height:1rem;opacity:.5;pointer-events:none;transition:opacity .2s ease-in-out;width:1rem;z-index:1}.Sidebar_sidebarMenuAction__mFZa1:hover>svg{opacity:1}.Sidebar_sidebarMenuAction__mFZa1:after{content:\"\";inset:-.5rem;position:absolute}@media (min-width:768px){.Sidebar_sidebarMenuAction__mFZa1:after{display:none}}.Sidebar_sidebarMenuAction__mFZa1[data-size=sm]{top:.25rem}.Sidebar_sidebarMenuAction__mFZa1[data-size=md]{top:.375rem}.Sidebar_sidebarMenuAction__mFZa1[data-size=lg]{top:.625rem}.Sidebar_sidebarMenuAction__mFZa1[data-collapsible=icon]{display:none}.Sidebar_sidebarMenuAction__mFZa1.Sidebar_showOnHover__itXsA[data-active=true]{color:var(--sidebar-accent-foreground)}.Sidebar_sidebarMenuAction__mFZa1.Sidebar_showOnHover__itXsA[data-state=open]{opacity:1}@media (min-width:768px){.Sidebar_sidebarMenuAction__mFZa1.Sidebar_showOnHover__itXsA{opacity:0}.Sidebar_sidebarMenuAction__mFZa1.Sidebar_showOnHover__itXsA:focus-within,.Sidebar_sidebarMenuAction__mFZa1.Sidebar_showOnHover__itXsA:hover{opacity:1}}.Sidebar_sidebarMenuSubButton__c9flh{align-items:center;border-radius:var(--p-3);color:var(--sidebar-foreground);cursor:pointer;display:flex;gap:var(--p-1);height:var(--p-9);margin-left:var(--p-3);min-width:0;outline:none;overflow:hidden;padding:var(--p-1) var(--p-2);text-decoration:none;transform:translateX(-1px);width:calc(100% - var(--p-3))}.Sidebar_sidebarMenuSubButton__c9flh:visited{color:var(--sidebar-foreground)}.Sidebar_sidebarMenuSubButton__c9flh:hover{text-decoration:none}.Sidebar_sidebarMenuSubItem__fTHJa:active .Sidebar_sidebarMenuSubButton__c9flh,.Sidebar_sidebarMenuSubItem__fTHJa:hover .Sidebar_sidebarMenuSubButton__c9flh{background-color:var(--sidebar-accent);color:var(--sidebar-accent-foreground)}.Sidebar_sidebarMenuSubButton__c9flh:focus-visible{box-shadow:0 0 0 2px var(--sidebar-ring)}.Sidebar_sidebarMenuSubButton__c9flh:disabled,.Sidebar_sidebarMenuSubButton__c9flh[aria-disabled=true]{opacity:.5;pointer-events:none}.Sidebar_sidebarMenuSubButton__c9flh[data-active=true]{background-color:var(--sidebar-accent);color:var(--sidebar-accent-foreground)}.Sidebar_sidebarMenuSubButton__c9flh[data-active=true]:visited{color:var(--sidebar-accent-foreground)}.Sidebar_sidebarMenuSubButton__c9flh[data-collapsible=icon]{display:none}.Sidebar_sidebarMenuSubButton__c9flh>span{flex-grow:1;flex-shrink:1;line-height:20px;min-width:0;overflow:hidden;white-space:nowrap}.Sidebar_sidebarMenuSubButton__c9flh>span>span{display:block;min-width:0;width:100%}.Sidebar_sidebarMenuSubButton__c9flh>svg{color:var(--sidebar-accent-foreground);flex-shrink:0;height:1rem;width:1rem}.Sidebar_sidebarMenuSubButton__c9flh.Sidebar_size-sm__7aIbu{font-size:.75rem}.Sidebar_sidebarMenuSubButton__c9flh.Sidebar_size-md__rcjmO{font-size:.875rem}.Sidebar_sidebarMenuSubButton__c9flh.Sidebar_size-lg__1k76S{font-size:1rem}::view-transition-old(sidebar-container),::view-transition-old(sidebar-gap){animation-duration:.2s;animation-name:Sidebar_sidebarVtOld__hlKqn;animation-timing-function:ease-out;transform:translateZ(0)}::view-transition-new(sidebar-container),::view-transition-new(sidebar-gap){animation-duration:.2s;animation-name:Sidebar_sidebarVtNew__FFhYU;animation-timing-function:ease-out;transform:translateZ(0)}@keyframes Sidebar_sidebarVtOld__hlKqn{0%{opacity:1}to{opacity:0}}@keyframes Sidebar_sidebarVtNew__FFhYU{0%{opacity:0}to{opacity:1}}";
|
|
4
4
|
var SidebarStem = {"sidebarWrapper":"Sidebar_sidebarWrapper__DGm4P","sidebarMainShell":"Sidebar_sidebarMainShell__pSWDC","chatPanelMount":"Sidebar_chatPanelMount__1Zctx","sidebar":"Sidebar_sidebar__0vqNZ","sidebarTrigger":"Sidebar_sidebarTrigger__ipx2C","sidebarRail":"Sidebar_sidebarRail__uvSpl","sidebarResizeHandle":"Sidebar_sidebarResizeHandle__kuD6t","fullHeightResizer":"Sidebar_fullHeightResizer__jZXnw","sidebarInput":"Sidebar_sidebarInput__ujQLX","sidebarHeader":"Sidebar_sidebarHeader__X33ii","sidebarFooter":"Sidebar_sidebarFooter__V3O-l","sidebarSeparator":"Sidebar_sidebarSeparator__oUkYG","sidebarContent":"Sidebar_sidebarContent__Ywe1o","sidebarGroup":"Sidebar_sidebarGroup__7Mhg2","sidebarGroupAction":"Sidebar_sidebarGroupAction__OhVZq","sidebarMenu":"Sidebar_sidebarMenu__hYXIo","sidebarMenuItem":"Sidebar_sidebarMenuItem__CRhM8","sidebarMenuBadge":"Sidebar_sidebarMenuBadge__ttvCR","sidebarMenuSkeleton":"Sidebar_sidebarMenuSkeleton__u2KoI","sidebarMenuSkeletonIcon":"Sidebar_sidebarMenuSkeletonIcon__-1tvv","sidebarMenuSkeletonText":"Sidebar_sidebarMenuSkeletonText__dWzWo","sidebarMenuSub":"Sidebar_sidebarMenuSub__gh8Rn","sidebarMenuSubItem":"Sidebar_sidebarMenuSubItem__fTHJa","sheetContentSidebar":"Sidebar_sheetContentSidebar__cM2h2","sheetSidebarLogo":"Sidebar_sheetSidebarLogo__eGVDC","sheetSidebarInner":"Sidebar_sheetSidebarInner__U-SMQ","sidebarNone":"Sidebar_sidebarNone__crRsF","variant-floating":"Sidebar_variant-floating__-qvkJ","variant-inset":"Sidebar_variant-inset__oTfrV","variant-sidebar":"Sidebar_variant-sidebar__fAe77","sidebarMenuButton":"Sidebar_sidebarMenuButton__vIEh-","sidebarMenuSubButton":"Sidebar_sidebarMenuSubButton__c9flh","size-sm":"Sidebar_size-sm__7aIbu","size-md":"Sidebar_size-md__rcjmO","size-lg":"Sidebar_size-lg__1k76S","variant-outline":"Sidebar_variant-outline__UmtAz","sidebarMenuButtonCta":"Sidebar_sidebarMenuButtonCta__dQAhv","sidebarMenuAction":"Sidebar_sidebarMenuAction__mFZa1","showOnHover":"Sidebar_showOnHover__itXsA","sidebarVtOld":"Sidebar_sidebarVtOld__hlKqn","sidebarVtNew":"Sidebar_sidebarVtNew__FFhYU"};
|
|
5
5
|
styleInject(css_248z);
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Gap is a flex-grow spacer that absorbs remaining horizontal or vertical space inside a flex container. Render it between siblings when one element should stay pinned and another should push to the far edge.
|
|
2
|
+
|
|
3
|
+
## When to use
|
|
4
|
+
|
|
5
|
+
- To push toolbar actions or labels to opposite ends of a flex row.
|
|
6
|
+
- When a layout needs flexible empty space without hard-coded margins.
|
|
7
|
+
|
|
8
|
+
## When not to use
|
|
9
|
+
|
|
10
|
+
- For page-level section spacing; use PageContentSection or design tokens instead.
|
|
11
|
+
- When fixed gaps between items are enough; use CSS gap on the flex parent.
|
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
# Page layout system
|
|
2
2
|
|
|
3
|
-
Sybilion workspace
|
|
3
|
+
Sybilion workspace surfaces use a small set of **Page** primitives from `@sybilion/uilib`. Agents must compose these instead of inventing layout with inline styles, Tailwind structure classes, or ad-hoc wrappers.
|
|
4
4
|
|
|
5
|
-
##
|
|
6
|
-
|
|
7
|
-
| Mode | When | Shell |
|
|
8
|
-
| ------------------ | ------------------------------------------------ | ------------------------------------------------------------------------------------- |
|
|
9
|
-
| **workspace-page** | Route inside `AppShell` / scrolled main column | `PageHeader` → `PageContent` → `PageContentSection`(s). Optional `PageTabs`. |
|
|
10
|
-
| **content** | Report tiles, json-dashboard, embedded body only | No `PageHeader` / `AppShell` chrome. Map React blocks to dashboard tiles (see below). |
|
|
11
|
-
|
|
12
|
-
Do not nest workspace shell components inside **content** mode output.
|
|
13
|
-
|
|
14
|
-
## Mandatory workspace-page skeleton
|
|
5
|
+
## Mandatory page skeleton
|
|
15
6
|
|
|
16
7
|
```tsx
|
|
17
8
|
<PageHeader title="…" subheader="…" breadcrumbs={[…]} actions={…} />
|
|
@@ -131,32 +122,15 @@ Centered empty state: `title`, `hint`, optional `children` (e.g. CTA button). Us
|
|
|
131
122
|
|
|
132
123
|
### GridLayout
|
|
133
124
|
|
|
134
|
-
Responsive CSS grid (`repeat(auto-fit, minmax(colWidth, 1fr))`). Use for card/tile dashboards inside a section.
|
|
125
|
+
Responsive CSS grid (`repeat(auto-fit, minmax(colWidth, 1fr))`). Use for card/tile dashboards inside a section.
|
|
135
126
|
|
|
136
127
|
### Card / Foldable
|
|
137
128
|
|
|
138
129
|
Use inside sections for grouped content; see package `AGENT.md` on those components when present. Do not wrap the whole page in Card.
|
|
139
130
|
|
|
140
|
-
##
|
|
141
|
-
|
|
142
|
-
When generating **report** / dashboard specs (not workspace routes), map UI blocks to tiles:
|
|
143
|
-
|
|
144
|
-
| React / intent | Dashboard tile / markdown |
|
|
145
|
-
| ------------------------------- | ----------------------------------------------------------------- |
|
|
146
|
-
| `PageHeader` title text | First `markdown` tile `# Title` or report title field |
|
|
147
|
-
| `SectionHeader` `title` | `markdown` with `## …` |
|
|
148
|
-
| `SectionHeader` `description` | markdown paragraph under that heading |
|
|
149
|
-
| `PageContentSection` block | group of tiles or one markdown section |
|
|
150
|
-
| `PageColumns` (N equal columns) | group of N sibling tiles in one dashboard row |
|
|
151
|
-
| `GridLayout` children | grid row of widget tiles |
|
|
152
|
-
| `ChartAreaInteractive` / charts | `dataset_card`, `performance_chart`, etc. (see widget `AGENT.md`) |
|
|
153
|
-
| `PageEmptyCanvas` copy | `markdown` explanatory tile |
|
|
154
|
-
|
|
155
|
-
See `AGENT.report-only-tiles.md` in the app repo for tiles without a uilib widget.
|
|
156
|
-
|
|
157
|
-
## Shell components (workspace only)
|
|
131
|
+
## Shell components
|
|
158
132
|
|
|
159
|
-
Not part of the per-route skeleton but part of
|
|
133
|
+
Not part of the per-route skeleton but part of host app wiring:
|
|
160
134
|
|
|
161
135
|
- **AppShell** / **AppShellMainContent** — sidebar + main column + header slot + footer.
|
|
162
136
|
- **PageScroll** — scroll root for the main column.
|
|
@@ -352,6 +352,7 @@
|
|
|
352
352
|
// Sidebar menu sub item
|
|
353
353
|
.sidebarMenuSubItem
|
|
354
354
|
position relative
|
|
355
|
+
min-width 0
|
|
355
356
|
margin-left var(--p-6)
|
|
356
357
|
|
|
357
358
|
&::before
|
|
@@ -605,6 +606,7 @@
|
|
|
605
606
|
.sidebarMenuSubButton
|
|
606
607
|
color var(--sidebar-foreground)
|
|
607
608
|
display flex
|
|
609
|
+
width calc(100% - var(--p-3))
|
|
608
610
|
height var(--p-9)
|
|
609
611
|
min-width 0
|
|
610
612
|
transform translateX(-1px)
|
|
@@ -645,10 +647,20 @@
|
|
|
645
647
|
&[data-collapsible="icon"]
|
|
646
648
|
display none
|
|
647
649
|
|
|
648
|
-
& > span
|
|
650
|
+
& > span
|
|
651
|
+
flex-grow 1
|
|
652
|
+
flex-shrink 1
|
|
653
|
+
min-width 0
|
|
654
|
+
line-height 20px
|
|
649
655
|
white-space nowrap
|
|
650
656
|
overflow hidden
|
|
651
657
|
|
|
658
|
+
// Nested SmartTextTruncate (e.g. title pre-wrapped in app nav items)
|
|
659
|
+
& > span
|
|
660
|
+
display block
|
|
661
|
+
width 100%
|
|
662
|
+
min-width 0
|
|
663
|
+
|
|
652
664
|
& > svg
|
|
653
665
|
width 1rem
|
|
654
666
|
height 1rem
|
|
@@ -13,5 +13,4 @@ Table is a set of semantic primitives — Table, TableHeader, TableBody, TableRo
|
|
|
13
13
|
## Do
|
|
14
14
|
|
|
15
15
|
- Keep column headers short and use TableHead cells so the markup stays accessible.
|
|
16
|
-
- Use size
|
|
17
|
-
- on Table when you need tighter row density.
|
|
16
|
+
- Use size on Table when you need tighter row density.
|
|
@@ -2,7 +2,7 @@ TextShimmer animates a shimmer effect across its text content to signal that an
|
|
|
2
2
|
|
|
3
3
|
## When to use
|
|
4
4
|
|
|
5
|
-
- To indicate an in-progress operation with a descriptive label, such as
|
|
5
|
+
- To indicate an in-progress operation with a descriptive label, such as "Generating…".
|
|
6
6
|
- For streaming or AI-generated content where text appears gradually.
|
|
7
7
|
|
|
8
8
|
## When not to use
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { LegacyPlatformLink } from '#uilib/components/ui/LegacyPlatformLink';
|
|
2
|
-
import LegacyPlatformLinkGuidance from '#uilib/components/ui/LegacyPlatformLink/AGENT.md';
|
|
3
2
|
import { PageContentSection } from '#uilib/components/ui/Page';
|
|
4
3
|
|
|
5
4
|
import { AppPageHeader } from '../components/AppPageHeader/AppPageHeader';
|
|
6
|
-
import { DocsGuidance } from '../components/DocsGuidance/DocsGuidance';
|
|
7
5
|
import { DocsHeaderActions } from '../docsHeaderActions';
|
|
8
6
|
|
|
9
7
|
export default function LegacyPlatformLinkPage() {
|
|
@@ -15,7 +13,6 @@ export default function LegacyPlatformLinkPage() {
|
|
|
15
13
|
subheader="Link styled for legacy platform navigation."
|
|
16
14
|
actions={<DocsHeaderActions />}
|
|
17
15
|
/>
|
|
18
|
-
<DocsGuidance source={LegacyPlatformLinkGuidance} />
|
|
19
16
|
<PageContentSection>
|
|
20
17
|
<LegacyPlatformLink redirectPath="/v1/dashboard">
|
|
21
18
|
Legacy platform link
|
|
@@ -2,11 +2,11 @@ import { useMemo } from 'react';
|
|
|
2
2
|
|
|
3
3
|
import { LightweightForecastChart } from '#uilib/components/ui/Chart';
|
|
4
4
|
import type { QuantileBandConfig } from '#uilib/components/ui/Chart/chartForecastVisualization.types';
|
|
5
|
+
import lightweightForecastChartGuidance from '#uilib/components/ui/Chart/lightweight/AGENT.md';
|
|
5
6
|
import type { ChartDataPoint } from '#uilib/components/ui/ChartAreaInteractive/ChartAreaInteractive.types';
|
|
6
7
|
import type { ForecastItemData } from '#uilib/components/ui/ChartAreaInteractive/ChartLines';
|
|
7
8
|
import { PageContentSection } from '#uilib/components/ui/Page';
|
|
8
9
|
import { useTheme } from '#uilib/contexts/theme-context';
|
|
9
|
-
import lightweightForecastChartGuidance from '#uilib/docs/agent-guidance/lightweight-forecast-chart.md';
|
|
10
10
|
|
|
11
11
|
import { AppPageHeader } from '../components/AppPageHeader/AppPageHeader';
|
|
12
12
|
import { DocsGuidance } from '../components/DocsGuidance/DocsGuidance';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PageContentSection } from '#uilib/components/ui/Page';
|
|
2
2
|
import { Progress } from '#uilib/components/ui/Progress';
|
|
3
|
-
import progressGuidance from '#uilib/
|
|
3
|
+
import progressGuidance from '#uilib/components/ui/Progress/AGENT.md';
|
|
4
4
|
|
|
5
5
|
import { AppPageHeader } from '../components/AppPageHeader/AppPageHeader';
|
|
6
6
|
import { DocsGuidance } from '../components/DocsGuidance/DocsGuidance';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PageContentSection } from '#uilib/components/ui/Page';
|
|
2
2
|
import { PullQuote } from '#uilib/components/ui/PullQuote';
|
|
3
|
-
import pullQuoteGuidance from '#uilib/
|
|
3
|
+
import pullQuoteGuidance from '#uilib/components/ui/PullQuote/AGENT.md';
|
|
4
4
|
|
|
5
5
|
import { AppPageHeader } from '../components/AppPageHeader/AppPageHeader';
|
|
6
6
|
import { DocsGuidance } from '../components/DocsGuidance/DocsGuidance';
|
|
@@ -2,7 +2,7 @@ import { useState } from 'react';
|
|
|
2
2
|
|
|
3
3
|
import { PageContentSection } from '#uilib/components/ui/Page';
|
|
4
4
|
import { RegionSelector } from '#uilib/components/ui/RegionCoords';
|
|
5
|
-
import regionCoordsGuidance from '#uilib/
|
|
5
|
+
import regionCoordsGuidance from '#uilib/components/ui/RegionCoords/AGENT.md';
|
|
6
6
|
|
|
7
7
|
import { AppPageHeader } from '../components/AppPageHeader/AppPageHeader';
|
|
8
8
|
import { DocsGuidance } from '../components/DocsGuidance/DocsGuidance';
|
|
@@ -2,7 +2,7 @@ import { useState } from 'react';
|
|
|
2
2
|
|
|
3
3
|
import { PageContentSection } from '#uilib/components/ui/Page';
|
|
4
4
|
import { Renamer } from '#uilib/components/ui/Renamer';
|
|
5
|
-
import renamerGuidance from '#uilib/
|
|
5
|
+
import renamerGuidance from '#uilib/components/ui/Renamer/AGENT.md';
|
|
6
6
|
|
|
7
7
|
import { AppPageHeader } from '../components/AppPageHeader/AppPageHeader';
|
|
8
8
|
import { DocsGuidance } from '../components/DocsGuidance/DocsGuidance';
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
SelectTrigger,
|
|
7
7
|
SelectValue,
|
|
8
8
|
} from '#uilib/components/ui/Select';
|
|
9
|
-
import selectGuidance from '#uilib/
|
|
9
|
+
import selectGuidance from '#uilib/components/ui/Select/AGENT.md';
|
|
10
10
|
|
|
11
11
|
import { AppPageHeader } from '../components/AppPageHeader/AppPageHeader';
|
|
12
12
|
import { DocsGuidance } from '../components/DocsGuidance/DocsGuidance';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PageContentSection } from '#uilib/components/ui/Page';
|
|
2
2
|
import { Separator } from '#uilib/components/ui/Separator';
|
|
3
|
-
import separatorGuidance from '#uilib/
|
|
3
|
+
import separatorGuidance from '#uilib/components/ui/Separator/AGENT.md';
|
|
4
4
|
|
|
5
5
|
import { AppPageHeader } from '../components/AppPageHeader/AppPageHeader';
|
|
6
6
|
import { DocsGuidance } from '../components/DocsGuidance/DocsGuidance';
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
SidebarDatasetsItemsGrouped,
|
|
8
8
|
type SidebarDatasetsItemsGroupedDataset,
|
|
9
9
|
} from '#uilib/components/widgets/SidebarDatasetsItemsGrouped';
|
|
10
|
-
import sidebarDatasetsItemsGroupedGuidance from '#uilib/
|
|
10
|
+
import sidebarDatasetsItemsGroupedGuidance from '#uilib/components/widgets/SidebarDatasetsItemsGrouped/AGENT.md';
|
|
11
11
|
|
|
12
12
|
import { AppPageHeader } from '../components/AppPageHeader/AppPageHeader';
|
|
13
13
|
import { DocsGuidance } from '../components/DocsGuidance/DocsGuidance';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { PageContentSection } from '#uilib/components/ui/Page';
|
|
2
|
+
import sidebarGuidance from '#uilib/components/ui/Sidebar/AGENT.md';
|
|
2
3
|
import {
|
|
3
4
|
SidebarGroup,
|
|
4
5
|
SidebarMenu,
|
|
5
6
|
SidebarMenuButton,
|
|
6
7
|
SidebarMenuItem,
|
|
7
8
|
} from '#uilib/components/ui/Sidebar/Sidebar';
|
|
8
|
-
import sidebarGuidance from '#uilib/docs/agent-guidance/sidebar.md';
|
|
9
9
|
|
|
10
10
|
import { AppPageHeader } from '../components/AppPageHeader/AppPageHeader';
|
|
11
11
|
import { DocsGuidance } from '../components/DocsGuidance/DocsGuidance';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PageContentSection } from '#uilib/components/ui/Page';
|
|
2
2
|
import { Skeleton } from '#uilib/components/ui/Skeleton';
|
|
3
|
-
import skeletonGuidance from '#uilib/
|
|
3
|
+
import skeletonGuidance from '#uilib/components/ui/Skeleton/AGENT.md';
|
|
4
4
|
|
|
5
5
|
import { AppPageHeader } from '../components/AppPageHeader/AppPageHeader';
|
|
6
6
|
import { DocsGuidance } from '../components/DocsGuidance/DocsGuidance';
|
|
@@ -2,7 +2,7 @@ import { useState } from 'react';
|
|
|
2
2
|
|
|
3
3
|
import { PageContentSection } from '#uilib/components/ui/Page';
|
|
4
4
|
import { Slider } from '#uilib/components/ui/Slider';
|
|
5
|
-
import sliderGuidance from '#uilib/
|
|
5
|
+
import sliderGuidance from '#uilib/components/ui/Slider/AGENT.md';
|
|
6
6
|
|
|
7
7
|
import { AppPageHeader } from '../components/AppPageHeader/AppPageHeader';
|
|
8
8
|
import { DocsGuidance } from '../components/DocsGuidance/DocsGuidance';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PageContentSection } from '#uilib/components/ui/Page';
|
|
2
2
|
import { SmartTextTruncate } from '#uilib/components/ui/SmartTextTruncate';
|
|
3
|
-
import smartTextTruncateGuidance from '#uilib/
|
|
3
|
+
import smartTextTruncateGuidance from '#uilib/components/ui/SmartTextTruncate/AGENT.md';
|
|
4
4
|
|
|
5
5
|
import { AppPageHeader } from '../components/AppPageHeader/AppPageHeader';
|
|
6
6
|
import { DocsGuidance } from '../components/DocsGuidance/DocsGuidance';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PageContentSection } from '#uilib/components/ui/Page';
|
|
2
2
|
import { Sparkline } from '#uilib/components/ui/Sparkline';
|
|
3
|
-
import sparklineGuidance from '#uilib/
|
|
3
|
+
import sparklineGuidance from '#uilib/components/ui/Sparkline/AGENT.md';
|
|
4
4
|
|
|
5
5
|
import { AppPageHeader } from '../components/AppPageHeader/AppPageHeader';
|
|
6
6
|
import { DocsGuidance } from '../components/DocsGuidance/DocsGuidance';
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
TableRow,
|
|
9
9
|
} from '#uilib/components/ui/Table';
|
|
10
10
|
import type { TableSize } from '#uilib/components/ui/Table';
|
|
11
|
-
import tableGuidance from '#uilib/
|
|
11
|
+
import tableGuidance from '#uilib/components/ui/Table/AGENT.md';
|
|
12
12
|
|
|
13
13
|
import { AppPageHeader } from '../components/AppPageHeader/AppPageHeader';
|
|
14
14
|
import { DocsGuidance } from '../components/DocsGuidance/DocsGuidance';
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
TabsTrigger,
|
|
9
9
|
type TabsVariant,
|
|
10
10
|
} from '#uilib/components/ui/Tabs';
|
|
11
|
-
import tabsGuidance from '#uilib/
|
|
11
|
+
import tabsGuidance from '#uilib/components/ui/Tabs/AGENT.md';
|
|
12
12
|
|
|
13
13
|
import { AppPageHeader } from '../components/AppPageHeader/AppPageHeader';
|
|
14
14
|
import { DocsGuidance } from '../components/DocsGuidance/DocsGuidance';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PageContentSection } from '#uilib/components/ui/Page';
|
|
2
2
|
import { TextShimmer } from '#uilib/components/ui/TextShimmer';
|
|
3
|
-
import textShimmerGuidance from '#uilib/
|
|
3
|
+
import textShimmerGuidance from '#uilib/components/ui/TextShimmer/AGENT.md';
|
|
4
4
|
|
|
5
5
|
import { AppPageHeader } from '../components/AppPageHeader/AppPageHeader';
|
|
6
6
|
import { DocsGuidance } from '../components/DocsGuidance/DocsGuidance';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PageContentSection } from '#uilib/components/ui/Page';
|
|
2
2
|
import { TextWithDeferTooltip } from '#uilib/components/ui/TextWithDeferTooltip';
|
|
3
|
-
import textWithDeferTooltipGuidance from '#uilib/
|
|
3
|
+
import textWithDeferTooltipGuidance from '#uilib/components/ui/TextWithDeferTooltip/AGENT.md';
|
|
4
4
|
|
|
5
5
|
import { AppPageHeader } from '../components/AppPageHeader/AppPageHeader';
|
|
6
6
|
import { DocsGuidance } from '../components/DocsGuidance/DocsGuidance';
|
|
@@ -2,7 +2,7 @@ import { useState } from 'react';
|
|
|
2
2
|
|
|
3
3
|
import { PageContentSection } from '#uilib/components/ui/Page';
|
|
4
4
|
import { TimeRangeControls } from '#uilib/components/ui/TimeRangeControls';
|
|
5
|
-
import timeRangeControlsGuidance from '#uilib/
|
|
5
|
+
import timeRangeControlsGuidance from '#uilib/components/ui/TimeRangeControls/AGENT.md';
|
|
6
6
|
|
|
7
7
|
import { AppPageHeader } from '../components/AppPageHeader/AppPageHeader';
|
|
8
8
|
import { DocsGuidance } from '../components/DocsGuidance/DocsGuidance';
|
|
@@ -2,7 +2,7 @@ import { useState } from 'react';
|
|
|
2
2
|
|
|
3
3
|
import { PageContentSection } from '#uilib/components/ui/Page';
|
|
4
4
|
import { ToggleGroup, ToggleGroupItem } from '#uilib/components/ui/ToggleGroup';
|
|
5
|
-
import toggleGroupGuidance from '#uilib/
|
|
5
|
+
import toggleGroupGuidance from '#uilib/components/ui/ToggleGroup/AGENT.md';
|
|
6
6
|
|
|
7
7
|
import { AppPageHeader } from '../components/AppPageHeader/AppPageHeader';
|
|
8
8
|
import { DocsGuidance } from '../components/DocsGuidance/DocsGuidance';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PageContentSection } from '#uilib/components/ui/Page';
|
|
2
2
|
import { Toggle } from '#uilib/components/ui/Toggle';
|
|
3
|
-
import toggleGuidance from '#uilib/
|
|
3
|
+
import toggleGuidance from '#uilib/components/ui/Toggle/AGENT.md';
|
|
4
4
|
import { Bold } from 'lucide-react';
|
|
5
5
|
|
|
6
6
|
import { AppPageHeader } from '../components/AppPageHeader/AppPageHeader';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PageContentSection } from '#uilib/components/ui/Page';
|
|
2
2
|
import { VimeoEmbed } from '#uilib/components/ui/VimeoEmbed';
|
|
3
|
-
import vimeoEmbedGuidance from '#uilib/
|
|
3
|
+
import vimeoEmbedGuidance from '#uilib/components/ui/VimeoEmbed/AGENT.md';
|
|
4
4
|
|
|
5
5
|
import { AppPageHeader } from '../components/AppPageHeader/AppPageHeader';
|
|
6
6
|
import { DocsGuidance } from '../components/DocsGuidance/DocsGuidance';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PageContentSection } from '#uilib/components/ui/Page';
|
|
2
2
|
import { WorldMap } from '#uilib/components/ui/WorldMap';
|
|
3
|
-
import worldMapGuidance from '#uilib/
|
|
3
|
+
import worldMapGuidance from '#uilib/components/ui/WorldMap/AGENT.md';
|
|
4
4
|
|
|
5
5
|
import { AppPageHeader } from '../components/AppPageHeader/AppPageHeader';
|
|
6
6
|
import { DocsGuidance } from '../components/DocsGuidance/DocsGuidance';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
LegacyPlatformLink is an anchor that points at the legacy platform, building the destination from the API domain plus the redirectPath you supply. It renders as a styled link and accepts standard anchor props.
|
|
2
|
-
|
|
3
|
-
## When to use
|
|
4
|
-
|
|
5
|
-
- To send users to a screen that still lives on the legacy platform, such as older dashboards.
|
|
6
|
-
- During migration, where some destinations exist only in the legacy product.
|
|
7
|
-
|
|
8
|
-
## When not to use
|
|
9
|
-
|
|
10
|
-
- For navigation within the current app; use the router link components instead.
|
|
11
|
-
- Once the destination has been migrated; replace the legacy link with an in-app route.
|
|
12
|
-
|
|
13
|
-
## Do
|
|
14
|
-
|
|
15
|
-
- Pass only the path portion in redirectPath, such as /v1/dashboard; the domain is added for you.
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
SidebarDatasetsItemsGrouped renders a dataset list for the application sidebar, organised into collapsible groups with nested rows. The groupBy prop switches grouping between target type, regions, and categories, and selection is controlled through selectedDatasetId and onDatasetClick.
|
|
2
|
-
|
|
3
|
-
## When to use
|
|
4
|
-
|
|
5
|
-
- In a sidebar that lists many datasets which benefit from grouping by a shared attribute.
|
|
6
|
-
- When the user needs to switch between grouping dimensions without losing their selection.
|
|
7
|
-
|
|
8
|
-
## When not to use
|
|
9
|
-
|
|
10
|
-
- For short, flat lists; plain Sidebar menu items are simpler.
|
|
11
|
-
- Outside a sidebar surface; the widget assumes sidebar colours and spacing.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/src/{docs/agent-guidance/smart-text-truncate.md → components/ui/SmartTextTruncate/AGENT.md}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/src/{docs/agent-guidance/time-range-controls.md → components/ui/TimeRangeControls/AGENT.md}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|