@sybilion/uilib 1.3.105 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-glossary/content-prompt.generated.ts +323 -0
- package/dist/agent-glossary/content.generated.ts +136 -63
- package/dist/agent-glossary/content.index.md +14 -0
- package/dist/agent-glossary/content.md +135 -63
- package/dist/agent-glossary/content.prompt.md +322 -0
- package/dist/agent-glossary/workspace.generated.ts +100 -269
- package/dist/agent-glossary/workspace.index.md +100 -0
- package/dist/agent-glossary/workspace.md +100 -269
- package/dist/esm/components/ui/Page/PageColumns/PageColumns.js +2 -2
- package/dist/esm/components/ui/Page/PageColumns/PageColumns.styl.js +2 -2
- package/dist/esm/types/src/components/ui/Chart/Chart.example.d.ts +1 -0
- package/dist/esm/types/src/components/ui/Page/PageColumns/PageColumns.d.ts +10 -3
- package/dist/esm/types/src/docs/agent-guidance/agent-md-utils.d.ts +10 -0
- package/dist/esm/types/src/docs/components/DocsGuidance/DocsGuidance.d.ts +3 -12
- package/package.json +1 -1
- package/src/components/ui/AnalysesSelector/AGENT.md +16 -0
- package/src/components/ui/AnalysisLineIcon/AGENT.md +11 -0
- package/src/components/ui/AppHeader/AGENT.md +16 -0
- package/src/components/ui/Avatar/AGENT.md +15 -0
- package/src/components/ui/Badge/AGENT.md +16 -0
- package/src/components/ui/BarChart/AGENT.md +16 -0
- package/src/components/ui/Breadcrumb/AGENT.md +15 -0
- package/src/components/ui/Button/AGENT.md +17 -0
- package/src/components/ui/Card/AGENT.md +16 -0
- package/src/components/ui/Chart/AGENT.md +18 -0
- package/src/components/ui/Chart/Chart.example.tsx +37 -0
- package/src/components/ui/ChartAreaInteractive/AGENT.md +24 -8
- package/src/components/ui/Chat/AGENT.md +15 -0
- package/src/components/ui/Checkbox/AGENT.md +16 -0
- package/src/components/ui/Chip/AGENT.md +18 -0
- package/src/components/ui/Confirm/AGENT.md +15 -0
- package/src/components/ui/Dialog/AGENT.md +15 -0
- package/src/components/ui/DonutChart/AGENT.md +15 -0
- package/src/components/ui/Drawer/AGENT.md +17 -0
- package/src/components/ui/DropZone/AGENT.md +16 -0
- package/src/components/ui/DropdownMenu/AGENT.md +16 -0
- package/src/components/ui/FileChip/AGENT.md +17 -0
- package/src/components/ui/FlickeringGrid/AGENT.md +15 -0
- package/src/components/ui/Foldable/AGENT.md +16 -0
- package/src/components/ui/GridLayout/AGENT.md +17 -0
- package/src/components/ui/Image/AGENT.md +16 -0
- package/src/components/ui/ImageWithFallback/AGENT.md +15 -0
- package/src/components/ui/Input/AGENT.md +16 -0
- package/src/components/ui/InteractiveContent/AGENT.md +21 -0
- package/src/components/ui/Kicker/AGENT.md +16 -0
- package/src/components/ui/Label/AGENT.md +15 -0
- package/src/components/ui/LabelWithId/AGENT.md +10 -0
- package/src/components/ui/LabeledInput/AGENT.md +11 -0
- package/src/components/ui/LegacyPlatformLink/AGENT.md +15 -0
- package/src/components/ui/Logo/AGENT.md +15 -0
- package/src/components/ui/MobileAdaptiveSelector/AGENT.md +15 -0
- package/src/components/ui/NavUserHeader/AGENT.md +15 -0
- package/src/components/ui/NumberControl/AGENT.md +15 -0
- package/src/components/ui/Page/AGENT.md +20 -7
- package/src/components/ui/Page/PageColumns/PageColumns.styl +5 -5
- package/src/components/ui/Page/PageColumns/PageColumns.styl.d.ts +3 -3
- package/src/components/ui/Page/PageColumns/PageColumns.tsx +11 -16
- package/src/components/ui/Sheet/AGENT.md +15 -0
- package/src/components/ui/SignalCard/AGENT.md +16 -0
- package/src/components/ui/Switch/AGENT.md +15 -0
- package/src/components/ui/Tooltip/AGENT.md +17 -0
- package/src/components/widgets/DriverMap/AGENT.md +27 -8
- package/src/components/widgets/DriversComparisonChart/AGENT.md +27 -13
- package/src/components/widgets/PerformanceChart/AGENT.md +23 -8
- package/src/declarations.d.ts +5 -0
- package/src/docs/agent-guidance/agent-md-utils.ts +48 -0
- package/src/docs/agent-guidance/chat-attachments-dropzone.md +15 -0
- package/src/docs/agent-guidance/chat-composer-prefill.md +15 -0
- package/src/docs/agent-guidance/chat-sheet.md +14 -0
- package/src/docs/agent-guidance/chat-slash-commands.md +15 -0
- package/src/docs/agent-guidance/chat-user-csv-attachment.md +14 -0
- package/src/docs/agent-guidance/colors.md +10 -0
- package/src/docs/agent-guidance/icons.md +11 -0
- package/src/docs/agent-guidance/lightweight-forecast-chart.md +17 -0
- package/src/docs/agent-guidance/motion.md +10 -0
- package/src/docs/agent-guidance/page-columns.md +19 -0
- package/src/docs/agent-guidance/page-footer.md +15 -0
- package/src/docs/agent-guidance/page-tabs.md +19 -0
- package/src/docs/agent-guidance/page.md +15 -0
- package/src/docs/agent-guidance/progress.md +11 -0
- package/src/docs/agent-guidance/pull-quote.md +15 -0
- package/src/docs/agent-guidance/radii-shadows.md +10 -0
- package/src/docs/agent-guidance/region-coords.md +11 -0
- package/src/docs/agent-guidance/renamer.md +15 -0
- package/src/docs/agent-guidance/select.md +15 -0
- package/src/docs/agent-guidance/separator.md +11 -0
- package/src/docs/agent-guidance/sidebar-datasets-items-grouped.md +11 -0
- package/src/docs/agent-guidance/sidebar.md +15 -0
- package/src/docs/agent-guidance/skeleton.md +16 -0
- package/src/docs/agent-guidance/slider.md +16 -0
- package/src/docs/agent-guidance/smart-text-truncate.md +11 -0
- package/src/docs/agent-guidance/spacing.md +10 -0
- package/src/docs/agent-guidance/sparkline.md +15 -0
- package/src/docs/agent-guidance/standalone-app-layout.md +16 -0
- package/src/docs/agent-guidance/sybilion-auth-layout.md +15 -0
- package/src/docs/agent-guidance/table.md +17 -0
- package/src/docs/agent-guidance/tabs.md +21 -0
- package/src/docs/agent-guidance/text-shimmer.md +11 -0
- package/src/docs/agent-guidance/text-with-defer-tooltip.md +15 -0
- package/src/docs/agent-guidance/time-range-controls.md +15 -0
- package/src/docs/agent-guidance/toggle-group.md +15 -0
- package/src/docs/agent-guidance/toggle.md +15 -0
- package/src/docs/agent-guidance/typography.md +10 -0
- package/src/docs/agent-guidance/vimeo-embed.md +11 -0
- package/src/docs/agent-guidance/world-map.md +11 -0
- package/src/docs/components/DocsGuidance/DocsGuidance.styl +26 -25
- package/src/docs/components/DocsGuidance/DocsGuidance.styl.d.ts +1 -4
- package/src/docs/components/DocsGuidance/DocsGuidance.tsx +9 -44
- package/src/docs/config/webpack.config.js +6 -1
- package/src/docs/pages/AnalysesSelectorPage.tsx +6 -17
- package/src/docs/pages/AnalysisLineIconPage.tsx +2 -11
- package/src/docs/pages/AvatarPage.tsx +2 -14
- package/src/docs/pages/BadgePage.tsx +2 -15
- package/src/docs/pages/BarChartPage.tsx +2 -15
- package/src/docs/pages/BreadcrumbPage.tsx +2 -14
- package/src/docs/pages/ButtonPage.tsx +2 -16
- package/src/docs/pages/CardPage.tsx +5 -18
- package/src/docs/pages/ChartAreaInteractivePage.tsx +2 -15
- package/src/docs/pages/ChartPage.tsx +4 -47
- package/src/docs/pages/ChatAttachmentsDropzonePage.tsx +2 -14
- package/src/docs/pages/ChatComposerPrefillPage.tsx +2 -14
- package/src/docs/pages/ChatPage.tsx +2 -14
- package/src/docs/pages/ChatSheetPage.tsx +2 -13
- package/src/docs/pages/ChatSlashCommandsPage.tsx +2 -14
- package/src/docs/pages/ChatUserCsvAttachmentPage.tsx +2 -13
- package/src/docs/pages/CheckboxPage.tsx +2 -15
- package/src/docs/pages/ChipPage.tsx +2 -17
- package/src/docs/pages/ColorsPage.tsx +2 -10
- package/src/docs/pages/ConfirmPage.tsx +2 -14
- package/src/docs/pages/DialogPage.tsx +2 -14
- package/src/docs/pages/DonutChartPage.tsx +2 -14
- package/src/docs/pages/DrawerPage.tsx +2 -16
- package/src/docs/pages/DriverMapPage.tsx +2 -16
- package/src/docs/pages/DriversComparisonChartPage.tsx +2 -16
- package/src/docs/pages/DropZonePage.tsx +2 -15
- package/src/docs/pages/DropdownMenuPage.tsx +2 -15
- package/src/docs/pages/FileChipPage.tsx +2 -16
- package/src/docs/pages/FlickeringGridPage.tsx +2 -14
- package/src/docs/pages/FoldablePage.tsx +2 -15
- package/src/docs/pages/GridLayoutPage.tsx +2 -15
- package/src/docs/pages/IconsPage.tsx +2 -11
- package/src/docs/pages/ImagePage.tsx +2 -15
- package/src/docs/pages/ImageWithFallbackPage.tsx +2 -14
- package/src/docs/pages/IncludeHiddenInYScalePage.tsx +2 -13
- package/src/docs/pages/InputPage.tsx +2 -15
- package/src/docs/pages/InteractiveContentPage.tsx +2 -17
- package/src/docs/pages/KickerPage.tsx +2 -15
- package/src/docs/pages/LabelPage.tsx +2 -14
- package/src/docs/pages/LabelWithIdPage.tsx +2 -10
- package/src/docs/pages/LabeledInputPage.tsx +2 -11
- package/src/docs/pages/LegacyPlatformLinkPage.tsx +2 -14
- package/src/docs/pages/LightweightChartPage.tsx +2 -16
- package/src/docs/pages/LogoPage.tsx +2 -14
- package/src/docs/pages/MobileAdaptiveSelectorPage.tsx +2 -14
- package/src/docs/pages/MotionPage.tsx +2 -10
- package/src/docs/pages/NavUserHeaderPage.tsx +2 -14
- package/src/docs/pages/NumberControlPage.tsx +2 -14
- package/src/docs/pages/PageColumnsPage.tsx +40 -17
- package/src/docs/pages/PageFooterPage.tsx +2 -14
- package/src/docs/pages/PagePage.tsx +2 -14
- package/src/docs/pages/PageTabsPage.tsx +2 -17
- package/src/docs/pages/PerformanceChartPage.tsx +2 -14
- package/src/docs/pages/ProgressPage.tsx +2 -11
- package/src/docs/pages/PullQuotePage.tsx +2 -14
- package/src/docs/pages/RadiiShadowsPage.tsx +2 -10
- package/src/docs/pages/RegionCoordsPage.tsx +2 -11
- package/src/docs/pages/RenamerPage.tsx +2 -14
- package/src/docs/pages/SelectPage.tsx +2 -14
- package/src/docs/pages/SeparatorPage.tsx +2 -11
- package/src/docs/pages/SheetPage.tsx +2 -14
- package/src/docs/pages/SidebarDatasetsItemsGroupedPage.tsx +2 -11
- package/src/docs/pages/SidebarPage.tsx +2 -14
- package/src/docs/pages/SignalCardPage.tsx +2 -15
- package/src/docs/pages/SkeletonPage.tsx +2 -15
- package/src/docs/pages/SliderPage.tsx +2 -15
- package/src/docs/pages/SmartTextTruncatePage.tsx +2 -11
- package/src/docs/pages/SpacingPage.tsx +2 -10
- package/src/docs/pages/SparklinePage.tsx +2 -14
- package/src/docs/pages/StandaloneAppLayoutPage/StandaloneAppLayoutPage.tsx +2 -15
- package/src/docs/pages/SwitchPage.tsx +2 -14
- package/src/docs/pages/SybilionAuthLayoutPage.tsx +2 -14
- package/src/docs/pages/TablePage.tsx +2 -15
- package/src/docs/pages/TabsPage.tsx +2 -19
- package/src/docs/pages/TextShimmerPage.tsx +2 -11
- package/src/docs/pages/TextWithDeferTooltipPage.tsx +2 -14
- package/src/docs/pages/TimeRangeControlsPage.tsx +2 -14
- package/src/docs/pages/ToggleGroupPage.tsx +2 -14
- package/src/docs/pages/TogglePage.tsx +2 -12
- package/src/docs/pages/TooltipPage.tsx +2 -16
- package/src/docs/pages/TypographyPage.tsx +2 -10
- package/src/docs/pages/VimeoEmbedPage.tsx +2 -11
- package/src/docs/pages/WorldMapPage.tsx +2 -11
- package/src/components/widgets/AGENT.md +0 -21
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
Card groups related content and actions into a single bounded container with optional header, content, and footer slots. The header supports an icon, title, and description; the footer typically holds actions.
|
|
2
|
+
|
|
3
|
+
## When to use
|
|
4
|
+
|
|
5
|
+
- To group a self-contained piece of content, such as a summary, setting, or entity.
|
|
6
|
+
- In grid dashboards where each tile presents one unit of information.
|
|
7
|
+
- When content needs a clear visual boundary from its surroundings.
|
|
8
|
+
|
|
9
|
+
## When not to use
|
|
10
|
+
|
|
11
|
+
- To wrap an entire page; use the page layout primitives instead.
|
|
12
|
+
- For long, flowing text that does not need a boundary.
|
|
13
|
+
|
|
14
|
+
## Do
|
|
15
|
+
|
|
16
|
+
- Keep one primary action per card and place it in the footer.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
ChartContainer wraps Recharts charts with the library’s theming, mapping a ChartConfig of labels and colours onto CSS variables. Compose any Recharts chart inside it and reference series colours via var(--color-<key>).
|
|
2
|
+
|
|
3
|
+
## When to use
|
|
4
|
+
|
|
5
|
+
- To build bespoke line, bar, or area charts that follow the design system palette.
|
|
6
|
+
- When you need full control over Recharts composition but consistent theming.
|
|
7
|
+
|
|
8
|
+
## When not to use
|
|
9
|
+
|
|
10
|
+
- For the standard time series experience with range controls and overlays; use ChartAreaInteractive.
|
|
11
|
+
|
|
12
|
+
## Do
|
|
13
|
+
|
|
14
|
+
- Define every series in the ChartConfig so labels and colours stay consistent across tooltips and legends.
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
- [Chart.example.tsx](src/components/ui/Chart/Chart.example.tsx) — line chart demo with ChartContainer and Recharts.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { PageContentSection } from '#uilib/components/ui/Page';
|
|
2
|
+
import { CartesianGrid, Line, LineChart, XAxis, YAxis } from 'recharts';
|
|
3
|
+
|
|
4
|
+
import { ChartContainer } from './Chart';
|
|
5
|
+
import type { ChartConfig } from './Chart.types';
|
|
6
|
+
|
|
7
|
+
const DATA = [
|
|
8
|
+
{ month: 'Jan', v: 12 },
|
|
9
|
+
{ month: 'Feb', v: 18 },
|
|
10
|
+
{ month: 'Mar', v: 15 },
|
|
11
|
+
{ month: 'Apr', v: 22 },
|
|
12
|
+
];
|
|
13
|
+
|
|
14
|
+
const config = {
|
|
15
|
+
v: { label: 'Value', color: 'hsl(var(--chart-1))' },
|
|
16
|
+
} satisfies ChartConfig;
|
|
17
|
+
|
|
18
|
+
export function ChartExample() {
|
|
19
|
+
return (
|
|
20
|
+
<PageContentSection>
|
|
21
|
+
<ChartContainer config={config} style={{ minHeight: 240, width: '100%' }}>
|
|
22
|
+
<LineChart data={DATA} accessibilityLayer>
|
|
23
|
+
<CartesianGrid vertical={false} />
|
|
24
|
+
<XAxis dataKey="month" tickLine={false} axisLine={false} />
|
|
25
|
+
<YAxis tickLine={false} axisLine={false} width={32} />
|
|
26
|
+
<Line
|
|
27
|
+
dataKey="v"
|
|
28
|
+
type="natural"
|
|
29
|
+
stroke="var(--color-chart-1)"
|
|
30
|
+
strokeWidth={2}
|
|
31
|
+
dot={false}
|
|
32
|
+
/>
|
|
33
|
+
</LineChart>
|
|
34
|
+
</ChartContainer>
|
|
35
|
+
</PageContentSection>
|
|
36
|
+
);
|
|
37
|
+
}
|
|
@@ -1,18 +1,34 @@
|
|
|
1
|
-
|
|
1
|
+
ChartAreaInteractive is the full chart shell for time series data, combining an area chart with a time range selector, a legend with series toggles, and optional forecast overlays. Overlay modes add month pinning, quantile interval bands, or threshold controls on top of the base chart.
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## When to use
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
- To present historical and forecast series together with built-in time range filtering.
|
|
6
|
+
- When users need to toggle series visibility, pin a month, or inspect quantile intervals and thresholds.
|
|
7
|
+
- As the main visualisation on an analysis or dataset page.
|
|
7
8
|
|
|
8
|
-
|
|
9
|
+
## When not to use
|
|
10
|
+
|
|
11
|
+
- For a simple static chart without controls; compose ChartContainer with Recharts directly.
|
|
12
|
+
- For non-temporal data such as categorical comparisons.
|
|
13
|
+
|
|
14
|
+
## Do
|
|
15
|
+
|
|
16
|
+
- Pass loading while data is being fetched so the chart shows its skeleton state.
|
|
17
|
+
|
|
18
|
+
## Report tile
|
|
19
|
+
|
|
20
|
+
- `dataset_card` — host loads dataset + analysis; chart inside dashboard card.
|
|
21
|
+
|
|
22
|
+
## Host provides
|
|
9
23
|
|
|
10
24
|
- `chartData`, `forecastData` built from API
|
|
11
25
|
- `timeRange` / `onTimeRangeChange` or brush-only range
|
|
12
26
|
- Optional `mode`: pin | intervals | thresholds + overlay state
|
|
13
27
|
|
|
14
|
-
|
|
28
|
+
## Requires
|
|
29
|
+
|
|
30
|
+
- `chartData`; `forecastData`; `loading`; `toggleLegendSeries` / `ensureAnalysisSeriesVisible` when legend is external.
|
|
15
31
|
|
|
16
|
-
|
|
32
|
+
## Empty/loading
|
|
17
33
|
|
|
18
|
-
|
|
34
|
+
- `loading`, `error`; empty data shows chart empty state via host message props.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
ChatChrome is the complete chat shell: message list, prompt composer, empty state, and optional preset bubbles. Drive it with useChatPanelChromeModel for a self-contained session, or wire the props manually for full control.
|
|
2
|
+
|
|
3
|
+
## When to use
|
|
4
|
+
|
|
5
|
+
- To embed an assistant conversation inline on a page or in a side panel.
|
|
6
|
+
- When you want preset prompt chips scoped to the current dataset or context.
|
|
7
|
+
|
|
8
|
+
## When not to use
|
|
9
|
+
|
|
10
|
+
- For a single one-off prompt without conversation history; a simple form may suffice.
|
|
11
|
+
- For notification or activity feeds; the shell is designed for two-way conversation.
|
|
12
|
+
|
|
13
|
+
## Do
|
|
14
|
+
|
|
15
|
+
- Provide a meaningful emptyState title and description so the first-run view explains what the assistant can do.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
Checkbox is a binary control for selecting or deselecting an option. Pair it with a Label linked via htmlFor so the text is clickable and announced by assistive technology.
|
|
2
|
+
|
|
3
|
+
## When to use
|
|
4
|
+
|
|
5
|
+
- For independent on or off options in forms and settings.
|
|
6
|
+
- To select multiple items from a list.
|
|
7
|
+
- To record agreement, such as accepting terms.
|
|
8
|
+
|
|
9
|
+
## When not to use
|
|
10
|
+
|
|
11
|
+
- For an action that takes effect immediately; use Switch instead.
|
|
12
|
+
- For mutually exclusive choices; use RadioGroup.
|
|
13
|
+
|
|
14
|
+
## Do
|
|
15
|
+
|
|
16
|
+
- Write labels positively, such as “Send notifications” rather than “Do not send notifications”.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
Chips are compact pill-shaped capsules for filters, status pills, version tags, and quantitative delta indicators. Unlike Badge, which stays general purpose, Chip carries status and delta semantics: the positive and negative variants sit outside the primary palette and are reserved for quantitative impact signals.
|
|
2
|
+
|
|
3
|
+
## When to use
|
|
4
|
+
|
|
5
|
+
- To present a row of filter options, with the active variant marking the current selection.
|
|
6
|
+
- To flag live status, version tags, or deadlines with the neutral, accent, and filled variants.
|
|
7
|
+
- To show a quantitative delta or impact direction with the positive or negative variant, optionally with a trend arrow.
|
|
8
|
+
|
|
9
|
+
## When not to use
|
|
10
|
+
|
|
11
|
+
- For general-purpose labels without status or delta semantics; use Badge instead.
|
|
12
|
+
- For file attachments; use FileChip.
|
|
13
|
+
- As decoration; the status variants are reserved for quantitative signals only.
|
|
14
|
+
|
|
15
|
+
## Do
|
|
16
|
+
|
|
17
|
+
- Keep chip labels short and in sentence case.
|
|
18
|
+
- Pair the positive and negative variants with a trend arrow or delta value so the direction reads at a glance.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
Confirm is a focused confirmation dialog built on Dialog, with a title, body, and paired confirm and cancel actions. Set confirmVariant to destructive for irreversible operations such as deletion.
|
|
2
|
+
|
|
3
|
+
## When to use
|
|
4
|
+
|
|
5
|
+
- Before destructive or irreversible actions, such as deleting an item.
|
|
6
|
+
- When proceeding would discard unsaved work.
|
|
7
|
+
|
|
8
|
+
## When not to use
|
|
9
|
+
|
|
10
|
+
- For routine, easily reversible actions; frequent confirmations train users to click through.
|
|
11
|
+
- When the task needs input or several fields; use Dialog instead.
|
|
12
|
+
|
|
13
|
+
## Do
|
|
14
|
+
|
|
15
|
+
- Label the confirm button with the action it performs, such as “Delete”, rather than “OK”.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
Dialog presents content in a modal layer above the page, with a trigger, title, optional subtitle, body content, and a footer for actions. It blocks interaction with the page until dismissed.
|
|
2
|
+
|
|
3
|
+
## When to use
|
|
4
|
+
|
|
5
|
+
- For focused tasks that must be completed before returning to the page, such as editing details.
|
|
6
|
+
- To present important information that must not be missed.
|
|
7
|
+
|
|
8
|
+
## When not to use
|
|
9
|
+
|
|
10
|
+
- For simple yes or no confirmations; use Confirm instead.
|
|
11
|
+
- For lengthy or complex flows; consider a dedicated page or drawer.
|
|
12
|
+
|
|
13
|
+
## Do
|
|
14
|
+
|
|
15
|
+
- Keep dialog content short and provide a clear primary action in the footer.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
DonutChart shows how a small number of categories make up a whole. Each datum carries a key, value, and optional label and colour; the centre of the donut can display a headline figure with a caption. Tooltip and legend reuse the shared chart infrastructure.
|
|
2
|
+
|
|
3
|
+
## When to use
|
|
4
|
+
|
|
5
|
+
- To show composition of a total across roughly two to six categories, such as portfolio allocation or sentiment share.
|
|
6
|
+
- When a single headline figure (the total) deserves prominence in the centre.
|
|
7
|
+
|
|
8
|
+
## When not to use
|
|
9
|
+
|
|
10
|
+
- For more than about six categories; slices become unreadable — use BarChart instead.
|
|
11
|
+
- For comparing values across groups or over time; a donut only conveys part-to-whole.
|
|
12
|
+
|
|
13
|
+
## Do
|
|
14
|
+
|
|
15
|
+
- Order slices from largest to smallest so the chart reads clockwise.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
Drawer is a panel that slides in from the edge of the screen, built on Vaul for touch-friendly drag-to-dismiss behaviour. Compose it from DrawerTrigger, DrawerContent, DrawerHeader, and DrawerFooter, and give every drawer a DrawerTitle and DrawerDescription.
|
|
2
|
+
|
|
3
|
+
## When to use
|
|
4
|
+
|
|
5
|
+
- For supplementary content or actions on mobile, where a bottom sheet feels more natural than a dialog.
|
|
6
|
+
- For short, focused tasks that the user completes and dismisses, such as confirming a choice or adjusting a setting.
|
|
7
|
+
- When the user should be able to swipe or drag the surface away to dismiss it.
|
|
8
|
+
|
|
9
|
+
## When not to use
|
|
10
|
+
|
|
11
|
+
- For critical confirmations that must block interaction; use AlertDialog instead.
|
|
12
|
+
- For long forms or dense content; use a dedicated page or a Dialog with more room.
|
|
13
|
+
|
|
14
|
+
## Do
|
|
15
|
+
|
|
16
|
+
- Always provide a DrawerTitle and DrawerDescription so screen readers can announce the surface.
|
|
17
|
+
- Place dismiss actions in DrawerFooter using DrawerClose so they close the drawer consistently.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
DropZone is a file upload target that accepts a dragged file or opens the system file picker on click. Restrict accepted types with the accept prop and receive the chosen file in the onFile callback.
|
|
2
|
+
|
|
3
|
+
## When to use
|
|
4
|
+
|
|
5
|
+
- When uploading a file is a primary step in a flow, such as importing a dataset.
|
|
6
|
+
- When drag and drop is a natural interaction, for example on desktop-focused screens.
|
|
7
|
+
|
|
8
|
+
## When not to use
|
|
9
|
+
|
|
10
|
+
- In compact layouts where a large drop target wastes space; use a simple file input or button instead.
|
|
11
|
+
- When users need to manage multiple attachments inline; pair an upload control with FileChip rows.
|
|
12
|
+
|
|
13
|
+
## Do
|
|
14
|
+
|
|
15
|
+
- Set accept to the formats you can actually process, and repeat them in the label so expectations are clear.
|
|
16
|
+
- Show the selected file name after a drop so users get immediate confirmation.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
DropdownMenu displays a list of actions or options in a floating panel opened from a trigger, typically a button. Group related items with DropdownMenuLabel and DropdownMenuSeparator, and handle each action in onSelect.
|
|
2
|
+
|
|
3
|
+
## When to use
|
|
4
|
+
|
|
5
|
+
- To collect secondary actions behind a single trigger, such as an overflow or kebab menu.
|
|
6
|
+
- When a row, card, or toolbar offers several contextual actions that would crowd the layout as buttons.
|
|
7
|
+
|
|
8
|
+
## When not to use
|
|
9
|
+
|
|
10
|
+
- To choose a value for a form field; use Select or Combobox instead.
|
|
11
|
+
- When there are only one or two actions; show them as buttons directly.
|
|
12
|
+
|
|
13
|
+
## Do
|
|
14
|
+
|
|
15
|
+
- Order items by expected frequency of use and separate destructive actions from the rest.
|
|
16
|
+
- Keep item labels short and verb-led, such as “Rename” or “Delete”.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
FileChip is a compact row that represents a file with a format icon, name, and hint text. It supports an onClick handler for downloadable files and an onRemove handler for detachable attachments, and truncates long file names gracefully.
|
|
2
|
+
|
|
3
|
+
## When to use
|
|
4
|
+
|
|
5
|
+
- To show attachments in a chat composer or message, with a remove control.
|
|
6
|
+
- To offer downloadable files, such as CSV presets, where clicking the chip starts the download.
|
|
7
|
+
- Anywhere a full file card would be too heavy and only the name and format matter.
|
|
8
|
+
|
|
9
|
+
## When not to use
|
|
10
|
+
|
|
11
|
+
- As the upload control itself; use DropZone or a file input to collect the file first.
|
|
12
|
+
- For rich file previews with thumbnails or metadata; use a card layout instead.
|
|
13
|
+
|
|
14
|
+
## Do
|
|
15
|
+
|
|
16
|
+
- Set the hint to describe the action, such as “Download CSV file”, so the affordance is clear.
|
|
17
|
+
- Pass the correct format so the chip shows the right icon for the file type.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
FlickeringGrid is a purely decorative animated grid of squares that flicker at random. Place it behind content in a positioned container to add subtle visual texture to hero areas or empty states.
|
|
2
|
+
|
|
3
|
+
## When to use
|
|
4
|
+
|
|
5
|
+
- As a background flourish on landing, sign-in, or marketing-style surfaces.
|
|
6
|
+
- To add ambient motion to an otherwise static empty state.
|
|
7
|
+
|
|
8
|
+
## When not to use
|
|
9
|
+
|
|
10
|
+
- Behind dense data displays such as charts or tables, where motion competes with the content.
|
|
11
|
+
- When users may prefer reduced motion; avoid relying on it to convey any meaning.
|
|
12
|
+
|
|
13
|
+
## Don't
|
|
14
|
+
|
|
15
|
+
- Do not attach interactive behaviour to the grid; it is decoration only.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
Foldable is a collapsible section with a clickable header that shows or hides its content. Pass the header and content as props, and use defaultUnfolded to open the section initially.
|
|
2
|
+
|
|
3
|
+
## When to use
|
|
4
|
+
|
|
5
|
+
- To tuck away secondary or advanced detail that most users do not need immediately.
|
|
6
|
+
- To shorten long pages by letting users expand only the sections they care about.
|
|
7
|
+
|
|
8
|
+
## When not to use
|
|
9
|
+
|
|
10
|
+
- For content users must always see, such as warnings or required form fields.
|
|
11
|
+
- For switching between parallel views of the same content; use Tabs instead.
|
|
12
|
+
|
|
13
|
+
## Do
|
|
14
|
+
|
|
15
|
+
- Write headers that describe the hidden content, so users can decide whether to expand.
|
|
16
|
+
- Set defaultUnfolded when the content is important enough to show on first view.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
GridLayout is a responsive CSS grid that fits as many columns as the container allows, with each cell keeping at least colWidth before wrapping to a new row. Adjust spacing with the gap prop and change the root element with the polymorphic as prop.
|
|
2
|
+
|
|
3
|
+
## When to use
|
|
4
|
+
|
|
5
|
+
- To lay out cards, tiles, or widgets in a dashboard-style grid inside a page section.
|
|
6
|
+
- When the number of items varies and the grid should adapt to the viewport without media queries.
|
|
7
|
+
|
|
8
|
+
## When not to use
|
|
9
|
+
|
|
10
|
+
- For two fixed page columns such as main content plus an aside; use PageColumns.
|
|
11
|
+
- For a fixed 3–4 column content row with equal peers; use PageColumns without fill.
|
|
12
|
+
- For items of very different sizes that need manual placement; use custom CSS grid instead.
|
|
13
|
+
|
|
14
|
+
## Do
|
|
15
|
+
|
|
16
|
+
- Tune colWidth to the smallest width at which a tile still reads comfortably.
|
|
17
|
+
- Use spacing tokens such as var(--p-4) for the gap to stay consistent with the rest of the page.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
Image is a thin wrapper around the native img element that loads a remote URL and accepts a fallback for when the request fails. Use it as the standard way to render external images in the library.
|
|
2
|
+
|
|
3
|
+
## When to use
|
|
4
|
+
|
|
5
|
+
- To display remote images such as article thumbnails or user-provided media.
|
|
6
|
+
- When you want a consistent image element with built-in fallback support.
|
|
7
|
+
|
|
8
|
+
## When not to use
|
|
9
|
+
|
|
10
|
+
- When you need visible error handling with custom fallback content; use ImageWithFallback.
|
|
11
|
+
- For purely decorative backgrounds; prefer CSS backgrounds so they stay out of the accessibility tree.
|
|
12
|
+
|
|
13
|
+
## Do
|
|
14
|
+
|
|
15
|
+
- Always provide meaningful alt text, or an empty alt for decorative images.
|
|
16
|
+
- Constrain the image with max-width or explicit dimensions to avoid layout shift.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
ImageWithFallback renders an image from a URL and swaps in the provided fallback content when the image fails to load. The fallback can be any node, such as a placeholder icon or a short message.
|
|
2
|
+
|
|
3
|
+
## When to use
|
|
4
|
+
|
|
5
|
+
- When image URLs come from external or user-supplied sources and may be broken.
|
|
6
|
+
- When the layout must stay intact even if an image never loads, such as in cards or lists.
|
|
7
|
+
|
|
8
|
+
## When not to use
|
|
9
|
+
|
|
10
|
+
- When the image is bundled with the app and guaranteed to exist; plain Image is enough.
|
|
11
|
+
|
|
12
|
+
## Do
|
|
13
|
+
|
|
14
|
+
- Give the fallback the same footprint as the image so the layout does not jump on error.
|
|
15
|
+
- Keep fallback content simple, such as an icon or short label, rather than a detailed error message.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
Input is the standard single-line text field. Pair it with a Label linked via htmlFor and id, and control the value through the onChange handler.
|
|
2
|
+
|
|
3
|
+
## When to use
|
|
4
|
+
|
|
5
|
+
- To collect short, free-form text such as names, titles, or search terms.
|
|
6
|
+
- In forms alongside Label, or use LabeledInput for the common label-plus-input row.
|
|
7
|
+
|
|
8
|
+
## When not to use
|
|
9
|
+
|
|
10
|
+
- For multi-line text; use Textarea instead.
|
|
11
|
+
- When the value must come from a fixed set of options; use Select or Combobox.
|
|
12
|
+
|
|
13
|
+
## Do
|
|
14
|
+
|
|
15
|
+
- Always associate a visible Label so the field is announced correctly by assistive technology.
|
|
16
|
+
- Use placeholder text as a hint, not as a substitute for the label.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
InteractiveContent renders assistant-style plain text with inline formatting: bold and italic emphasis, inline code via <code> tags or backticks, markdown and HTML links, and bare URLs converted into clickable links. The inline variant omits block-level features such as headings and markdown bullets.
|
|
2
|
+
|
|
3
|
+
## When to use
|
|
4
|
+
|
|
5
|
+
- To display assistant or model-generated text that may contain markdown emphasis and raw URLs.
|
|
6
|
+
- For release note bullets and other compact labels that need lightweight inline formatting.
|
|
7
|
+
- When plain text needs lightweight formatting without a full markdown renderer.
|
|
8
|
+
|
|
9
|
+
## When not to use
|
|
10
|
+
|
|
11
|
+
- For trusted, authored content with rich structure such as headings, lists, or code blocks; use a full markdown component.
|
|
12
|
+
- For static UI copy that needs no formatting; render the text directly.
|
|
13
|
+
|
|
14
|
+
## Do
|
|
15
|
+
|
|
16
|
+
- Use the inline variant when the text sits inside a sentence, list item, or compact label.
|
|
17
|
+
- In release notes markdown, write list bullets as
|
|
18
|
+
- in the source file; the parser strips the leading
|
|
19
|
+
- and renders each item inside a list — do not repeat
|
|
20
|
+
- inside the item string.
|
|
21
|
+
- Wrap inline code with <code>…</code> or backticks (`…`); both render as monospace code.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
Kicker is a small eyebrow label rendered above a heading, card, or section. It uses the 12px Manrope label style in sentence case with zero tracking; emphasis comes from weight, never from uppercase.
|
|
2
|
+
|
|
3
|
+
## When to use
|
|
4
|
+
|
|
5
|
+
- Above a heading or card to name the topic or category at a glance.
|
|
6
|
+
- As the eyebrow line of a SignalCard or editorial block.
|
|
7
|
+
|
|
8
|
+
## When not to use
|
|
9
|
+
|
|
10
|
+
- As a heading in its own right; pair it with a real heading element.
|
|
11
|
+
- For interactive labels such as filters or status pills; use Chip instead.
|
|
12
|
+
|
|
13
|
+
## Don't
|
|
14
|
+
|
|
15
|
+
- Do not set kicker text in uppercase or small caps; keep sentence case.
|
|
16
|
+
- Do not add letter-spacing; small text keeps zero tracking.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
Label is the styled form label used across the library. Link it to its control with htmlFor so clicking the label focuses the field and assistive technology announces it.
|
|
2
|
+
|
|
3
|
+
## When to use
|
|
4
|
+
|
|
5
|
+
- To caption any form control, including Input, Textarea, Select, Switch, and Checkbox.
|
|
6
|
+
- Whenever a control needs an accessible name that is also visible on screen.
|
|
7
|
+
|
|
8
|
+
## When not to use
|
|
9
|
+
|
|
10
|
+
- For section headings or general text; use heading elements or SectionHeader.
|
|
11
|
+
- As inline helper or error text; labels name the field, they do not explain it.
|
|
12
|
+
|
|
13
|
+
## Do
|
|
14
|
+
|
|
15
|
+
- Keep labels short and descriptive, such as “Email address” rather than full sentences.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
LabelWithId renders a text label preceded by a small numeric id badge, giving entities such as analyses a stable, scannable reference. Passing an id of -1 hides the badge and shows the label alone.
|
|
2
|
+
|
|
3
|
+
## When to use
|
|
4
|
+
|
|
5
|
+
- To display entities that users reference by number, such as analyses or saved items.
|
|
6
|
+
- In lists, selectors, or breadcrumbs where the id helps users match items across views.
|
|
7
|
+
|
|
8
|
+
## When not to use
|
|
9
|
+
|
|
10
|
+
- For plain text that has no meaningful numeric identifier; use ordinary text or Label.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
LabeledInput combines a Label and an Input into a single row, wiring the label to the field automatically via the id you provide. It accepts the usual input props such as name, value, onChange, and placeholder.
|
|
2
|
+
|
|
3
|
+
## When to use
|
|
4
|
+
|
|
5
|
+
- For standard form fields where every input needs a visible, associated label.
|
|
6
|
+
- To keep label and input markup consistent across forms without repeating the wiring.
|
|
7
|
+
|
|
8
|
+
## When not to use
|
|
9
|
+
|
|
10
|
+
- When the field needs a custom layout, helper text, or validation message; compose Label and Input directly.
|
|
11
|
+
- For non-text controls such as switches or selects, which have their own labelling patterns.
|
|
@@ -0,0 +1,15 @@
|
|
|
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.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
Logo renders the brand mark with an optional wordmark. Choose a size that fits the surrounding chrome and hide the text with showText={false} where space is tight.
|
|
2
|
+
|
|
3
|
+
## When to use
|
|
4
|
+
|
|
5
|
+
- In application chrome such as the sidebar header, top navigation, or sign-in screens.
|
|
6
|
+
- Anywhere the product brand needs consistent, pre-sized rendering.
|
|
7
|
+
|
|
8
|
+
## When not to use
|
|
9
|
+
|
|
10
|
+
- For decorative imagery or illustrations; the logo is reserved for brand identity.
|
|
11
|
+
- When you need arbitrary sizing; stick to the provided size presets for consistency.
|
|
12
|
+
|
|
13
|
+
## Do
|
|
14
|
+
|
|
15
|
+
- Use showText={false} in collapsed or icon-only contexts such as a rail sidebar.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
MobileAdaptiveSelector presents a single-choice control that renders as a toggle group on desktop and switches to a select dropdown on mobile, or whenever the item list is too long for a row of toggles. It keeps one value and onChange contract across both presentations.
|
|
2
|
+
|
|
3
|
+
## When to use
|
|
4
|
+
|
|
5
|
+
- To switch between a small set of mutually exclusive options that must stay usable on narrow viewports.
|
|
6
|
+
- For view or mode switchers, such as grouping or time-range pickers, that appear in responsive layouts.
|
|
7
|
+
|
|
8
|
+
## When not to use
|
|
9
|
+
|
|
10
|
+
- For multi-select choices; use a checkbox group or multi-select instead.
|
|
11
|
+
- When the presentation must stay fixed across breakpoints; use ToggleGroup or Select directly.
|
|
12
|
+
|
|
13
|
+
## Do
|
|
14
|
+
|
|
15
|
+
- Keep labels short so the desktop toggle row does not overflow.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
NavUserHeader shows the signed-in user with their name, email, and avatar, and opens a dropdown menu containing custom rows, a theme toggle, and a logout action. Use the compact variant where horizontal space is limited.
|
|
2
|
+
|
|
3
|
+
## When to use
|
|
4
|
+
|
|
5
|
+
- In application chrome, such as a sidebar footer or top bar, to expose account-level actions.
|
|
6
|
+
- When the user needs quick access to profile, settings, theme, and logout from one place.
|
|
7
|
+
|
|
8
|
+
## When not to use
|
|
9
|
+
|
|
10
|
+
- For general-purpose menus not tied to the signed-in user; use DropdownMenu directly.
|
|
11
|
+
- On unauthenticated screens where there is no user to display.
|
|
12
|
+
|
|
13
|
+
## Do
|
|
14
|
+
|
|
15
|
+
- Pass bespoke rows through menuItems rather than recreating the trigger and menu yourself.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
NumberControl is a numeric stepper with minus and plus buttons for adjusting a value within a bounded range. Configure min, max, and step to control the allowed values.
|
|
2
|
+
|
|
3
|
+
## When to use
|
|
4
|
+
|
|
5
|
+
- To adjust a numeric value in small, predictable increments, such as a quantity or threshold.
|
|
6
|
+
- When the valid range is narrow and stepping is faster than typing.
|
|
7
|
+
|
|
8
|
+
## When not to use
|
|
9
|
+
|
|
10
|
+
- For values with a wide range or many decimal places; use a plain number input instead.
|
|
11
|
+
- For picking one of a few discrete options; use Select or ToggleGroup.
|
|
12
|
+
|
|
13
|
+
## Do
|
|
14
|
+
|
|
15
|
+
- Always set min and max so the control cannot step out of the valid range.
|
|
@@ -93,17 +93,29 @@ Sticky-style page title row: breadcrumbs (optional sidebar trigger in full app),
|
|
|
93
93
|
`PageContent`: column flex child, `max-width: var(--page-width)`.
|
|
94
94
|
`PageContentSection`: `grow` (default `true`) lets the section absorb remaining height in flex layouts.
|
|
95
95
|
|
|
96
|
+
## Column layout recipes
|
|
97
|
+
|
|
98
|
+
| Columns | When | Recipe |
|
|
99
|
+
| -------------- | ----------------------------- | ---------------------------------------------------------------------------------- |
|
|
100
|
+
| 1 | Single full-width body | `PageHeader` → `PageContent` → `PageContentSection` — **do not** use `PageColumns` |
|
|
101
|
+
| 2 equal | Two peers | `PageColumns columns={[a, b]}` inside one `PageContentSection` |
|
|
102
|
+
| 2 main + aside | Content + fixed sidebar | `PageColumns fill="left"` or `fill="right"` — **2 columns only** |
|
|
103
|
+
| 3 equal | Three peers (metrics, panels) | `PageColumns columns={[a, b, c]}` |
|
|
104
|
+
| 4 equal | Four peers | `PageColumns columns={[a, b, c, d]}` |
|
|
105
|
+
|
|
106
|
+
Use **PageColumns** for a fixed column count content row. Use **GridLayout** for auto-wrapping card/tile grids (variable tile count, `minmax` columns).
|
|
107
|
+
|
|
96
108
|
### PageColumns
|
|
97
109
|
|
|
98
|
-
Side-by-side columns with gap
|
|
110
|
+
Side-by-side columns with gap inside one `PageContentSection`. **`fill`** controls which column(s) grow:
|
|
99
111
|
|
|
100
|
-
| `fill`
|
|
101
|
-
|
|
|
102
|
-
|
|
|
103
|
-
| `left`
|
|
104
|
-
| `right`
|
|
112
|
+
| `fill` | Behavior |
|
|
113
|
+
| -------- | ---------------------------------------------------------------------------- |
|
|
114
|
+
| _(omit)_ | Equal flex columns (`flex: 1 1 0`) — default for **2, 3, or 4** equal peers. |
|
|
115
|
+
| `left` | **2-column only:** first column grows; second stays at fixed 360px width. |
|
|
116
|
+
| `right` | **2-column only:** last column grows; first stays at fixed 360px width. |
|
|
105
117
|
|
|
106
|
-
Pass `columns={[node1, node2, …]}`.
|
|
118
|
+
Pass `columns={[node1, node2, …]}`. For 3–4 equal columns, omit `fill`; do not use `left`/`right`. On mobile, stacks vertically.
|
|
107
119
|
|
|
108
120
|
### PageXScroll
|
|
109
121
|
|
|
@@ -135,6 +147,7 @@ When generating **report** / dashboard specs (not workspace routes), map UI bloc
|
|
|
135
147
|
| `SectionHeader` `title` | `markdown` with `## …` |
|
|
136
148
|
| `SectionHeader` `description` | markdown paragraph under that heading |
|
|
137
149
|
| `PageContentSection` block | group of tiles or one markdown section |
|
|
150
|
+
| `PageColumns` (N equal columns) | group of N sibling tiles in one dashboard row |
|
|
138
151
|
| `GridLayout` children | grid row of widget tiles |
|
|
139
152
|
| `ChartAreaInteractive` / charts | `dataset_card`, `performance_chart`, etc. (see widget `AGENT.md`) |
|
|
140
153
|
| `PageEmptyCanvas` copy | `markdown` explanatory tile |
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
min-width 100%
|
|
21
21
|
max-width 100%
|
|
22
22
|
|
|
23
|
-
.
|
|
24
|
-
.
|
|
25
|
-
.
|
|
26
|
-
flex
|
|
23
|
+
.fill-left .column:first-child
|
|
24
|
+
.fill-right .column:last-child
|
|
25
|
+
.fill-all .column
|
|
26
|
+
flex 1 1 0
|
|
27
|
+
min-width 0
|
|
27
28
|
max-width unset
|
|
28
|
-
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
// Please do not change this file!
|
|
3
3
|
interface CssExports {
|
|
4
4
|
'column': string;
|
|
5
|
-
'
|
|
6
|
-
'
|
|
7
|
-
'
|
|
5
|
+
'fill-all': string;
|
|
6
|
+
'fill-left': string;
|
|
7
|
+
'fill-right': string;
|
|
8
8
|
'root': string;
|
|
9
9
|
}
|
|
10
10
|
export const cssExports: CssExports;
|