@misoto22/design 0.10.0 → 0.10.1
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/Accordion.md +1 -1
- package/dist/agent/Alert.md +1 -1
- package/dist/agent/AppShell.md +1 -1
- package/dist/agent/ArchitectureFigure.md +1 -1
- package/dist/agent/AreaChart.md +1 -1
- package/dist/agent/Article.md +1 -1
- package/dist/agent/AspectRatio.md +1 -1
- package/dist/agent/Avatar.md +1 -1
- package/dist/agent/Badge.md +1 -1
- package/dist/agent/BarChart.md +1 -1
- package/dist/agent/BarList.md +1 -1
- package/dist/agent/BigNumber.md +1 -1
- package/dist/agent/BoxPlot.md +1 -1
- package/dist/agent/Breadcrumb.md +1 -1
- package/dist/agent/BulletChart.md +1 -1
- package/dist/agent/Button.md +1 -1
- package/dist/agent/Calendar.md +1 -1
- package/dist/agent/Card.md +1 -1
- package/dist/agent/Checkbox.md +1 -1
- package/dist/agent/Code.md +1 -1
- package/dist/agent/CodeBlock.md +1 -1
- package/dist/agent/Collapsible.md +1 -1
- package/dist/agent/ColorPicker.md +1 -1
- package/dist/agent/Combobox.md +1 -1
- package/dist/agent/Command.md +1 -1
- package/dist/agent/ComposedChart.md +1 -1
- package/dist/agent/ContextMenu.md +1 -1
- package/dist/agent/DataflowFigure.md +1 -1
- package/dist/agent/DatePicker.md +1 -1
- package/dist/agent/DescriptionList.md +1 -1
- package/dist/agent/Diagram.md +1 -1
- package/dist/agent/DiagramCanvas.md +1 -1
- package/dist/agent/DiagramExportMenu.md +1 -1
- package/dist/agent/DiagramInspector.md +1 -1
- package/dist/agent/DiagramLegend.md +1 -1
- package/dist/agent/DiagramMinimap.md +1 -1
- package/dist/agent/DiagramToolbar.md +1 -1
- package/dist/agent/Dialog.md +1 -1
- package/dist/agent/DropdownMenu.md +1 -1
- package/dist/agent/EmptyState.md +1 -1
- package/dist/agent/ErrorState.md +1 -1
- package/dist/agent/Facet.md +1 -1
- package/dist/agent/Field.md +1 -1
- package/dist/agent/FigureBand.md +1 -1
- package/dist/agent/FloatingIconButton.md +1 -1
- package/dist/agent/FunnelChart.md +1 -1
- package/dist/agent/Heading.md +1 -1
- package/dist/agent/Heatmap.md +1 -1
- package/dist/agent/Histogram.md +1 -1
- package/dist/agent/Input.md +1 -1
- package/dist/agent/Kbd.md +1 -1
- package/dist/agent/LifecycleFigure.md +1 -1
- package/dist/agent/LineChart.md +1 -1
- package/dist/agent/LinkArrow.md +1 -1
- package/dist/agent/Markdown.md +1 -1
- package/dist/agent/NativeSelect.md +1 -1
- package/dist/agent/NavItem.md +1 -1
- package/dist/agent/NumberField.md +1 -1
- package/dist/agent/Pagination.md +1 -1
- package/dist/agent/PieChart.md +1 -1
- package/dist/agent/Popover.md +1 -1
- package/dist/agent/Progress.md +1 -1
- package/dist/agent/RadarChart.md +1 -1
- package/dist/agent/RadialChart.md +1 -1
- package/dist/agent/RadioGroup.md +1 -1
- package/dist/agent/SankeyChart.md +1 -1
- package/dist/agent/ScatterChart.md +1 -1
- package/dist/agent/ScrollArea.md +1 -1
- package/dist/agent/SearchableMenu.md +1 -1
- package/dist/agent/Select.md +1 -1
- package/dist/agent/Separator.md +1 -1
- package/dist/agent/SequenceFigure.md +1 -1
- package/dist/agent/Sheet.md +1 -1
- package/dist/agent/Sidebar.md +1 -1
- package/dist/agent/Skeleton.md +1 -1
- package/dist/agent/Slider.md +1 -1
- package/dist/agent/Sparkline.md +1 -1
- package/dist/agent/Spinner.md +1 -1
- package/dist/agent/StatusDot.md +1 -1
- package/dist/agent/StatusPill.md +1 -1
- package/dist/agent/Steps.md +1 -1
- package/dist/agent/Switch.md +1 -1
- package/dist/agent/Table.md +1 -1
- package/dist/agent/Tabs.md +1 -1
- package/dist/agent/Tag.md +1 -1
- package/dist/agent/Text.md +1 -1
- package/dist/agent/Textarea.md +1 -1
- package/dist/agent/Timestamp.md +1 -1
- package/dist/agent/Toast.md +1 -1
- package/dist/agent/ToggleGroup.md +1 -1
- package/dist/agent/Toolbar.md +1 -1
- package/dist/agent/Tooltip.md +1 -1
- package/dist/agent/TreemapChart.md +1 -1
- package/dist/agent/WaterfallChart.md +1 -1
- package/dist/agent/WorkflowFigure.md +1 -1
- package/dist/agent/catalog.json +1 -1
- package/dist/agent/index.md +1 -1
- package/dist/charts/lib/empty.js +12 -1
- package/dist/charts/lib/empty.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/agent/RadarChart.md
CHANGED
|
@@ -4,7 +4,7 @@ Values on an arc — a gauge, or a few totals against one scale.
|
|
|
4
4
|
|
|
5
5
|
- Group: Charts
|
|
6
6
|
- Import: `import { RadialChart } from '@misoto22/design/charts'`
|
|
7
|
-
- Version: 0.10.
|
|
7
|
+
- Version: 0.10.1
|
|
8
8
|
- Docs: https://ui.misoto22.com/components/radial-chart/
|
|
9
9
|
- Related: pie-chart, bar-chart
|
|
10
10
|
|
package/dist/agent/RadioGroup.md
CHANGED
|
@@ -4,7 +4,7 @@ Two measures against each other, one mark per observation.
|
|
|
4
4
|
|
|
5
5
|
- Group: Charts
|
|
6
6
|
- Import: `import { ScatterChart } from '@misoto22/design/charts'`
|
|
7
|
-
- Version: 0.10.
|
|
7
|
+
- Version: 0.10.1
|
|
8
8
|
- Docs: https://ui.misoto22.com/components/scatter-chart/
|
|
9
9
|
- Related: line-chart, heatmap
|
|
10
10
|
|
package/dist/agent/ScrollArea.md
CHANGED
|
@@ -4,7 +4,7 @@ A box that scrolls, with a scrollbar that looks the same everywhere.
|
|
|
4
4
|
|
|
5
5
|
- Group: Surfaces
|
|
6
6
|
- Import: `import { ScrollArea } from '@misoto22/design'`
|
|
7
|
-
- Version: 0.10.
|
|
7
|
+
- Version: 0.10.1
|
|
8
8
|
- Docs: https://ui.misoto22.com/components/scroll-area/
|
|
9
9
|
- Related: table
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@ A menu of actions you can type into.
|
|
|
4
4
|
|
|
5
5
|
- Group: Overlays
|
|
6
6
|
- Import: `import { SearchableMenu } from '@misoto22/design'`
|
|
7
|
-
- Version: 0.10.
|
|
7
|
+
- Version: 0.10.1
|
|
8
8
|
- Docs: https://ui.misoto22.com/components/searchable-menu/
|
|
9
9
|
- Related: dropdown-menu, command, combobox
|
|
10
10
|
|
package/dist/agent/Select.md
CHANGED
package/dist/agent/Separator.md
CHANGED
|
@@ -4,7 +4,7 @@ A rule, in the three weights a monochrome page needs — with words in it when t
|
|
|
4
4
|
|
|
5
5
|
- Group: Display
|
|
6
6
|
- Import: `import { Separator } from '@misoto22/design'`
|
|
7
|
-
- Version: 0.10.
|
|
7
|
+
- Version: 0.10.1
|
|
8
8
|
- Docs: https://ui.misoto22.com/components/separator/
|
|
9
9
|
|
|
10
10
|
## When to reach for it
|
|
@@ -4,7 +4,7 @@ A call chain over time: who asks whom, in what order, and what comes back.
|
|
|
4
4
|
|
|
5
5
|
- Group: Diagrams
|
|
6
6
|
- Import: `import { SequenceFigure } from '@misoto22/design/diagrams'`
|
|
7
|
-
- Version: 0.10.
|
|
7
|
+
- Version: 0.10.1
|
|
8
8
|
- Docs: https://ui.misoto22.com/components/sequence-figure/
|
|
9
9
|
- Related: workflow-figure, architecture-figure
|
|
10
10
|
|
package/dist/agent/Sheet.md
CHANGED
package/dist/agent/Sidebar.md
CHANGED
|
@@ -4,7 +4,7 @@ A navigation rail down the side of an application.
|
|
|
4
4
|
|
|
5
5
|
- Group: Navigation
|
|
6
6
|
- Import: `import { Sidebar } from '@misoto22/design'`
|
|
7
|
-
- Version: 0.10.
|
|
7
|
+
- Version: 0.10.1
|
|
8
8
|
- Docs: https://ui.misoto22.com/components/sidebar/
|
|
9
9
|
- Related: nav-item, collapsible, app-shell
|
|
10
10
|
|
package/dist/agent/Skeleton.md
CHANGED
package/dist/agent/Slider.md
CHANGED
package/dist/agent/Sparkline.md
CHANGED
package/dist/agent/Spinner.md
CHANGED
package/dist/agent/StatusDot.md
CHANGED
package/dist/agent/StatusPill.md
CHANGED
|
@@ -4,7 +4,7 @@ A live state, named: a dot plus an uppercase mono label.
|
|
|
4
4
|
|
|
5
5
|
- Group: Display
|
|
6
6
|
- Import: `import { StatusPill } from '@misoto22/design'`
|
|
7
|
-
- Version: 0.10.
|
|
7
|
+
- Version: 0.10.1
|
|
8
8
|
- Docs: https://ui.misoto22.com/components/status-pill/
|
|
9
9
|
- Related: status-dot, badge
|
|
10
10
|
|
package/dist/agent/Steps.md
CHANGED
|
@@ -4,7 +4,7 @@ A numbered sequence, as a rail — one thing after another, with a rule through
|
|
|
4
4
|
|
|
5
5
|
- Group: Display
|
|
6
6
|
- Import: `import { Steps } from '@misoto22/design'`
|
|
7
|
-
- Version: 0.10.
|
|
7
|
+
- Version: 0.10.1
|
|
8
8
|
- Docs: https://ui.misoto22.com/components/steps/
|
|
9
9
|
- Related: diagram, article
|
|
10
10
|
|
package/dist/agent/Switch.md
CHANGED
package/dist/agent/Table.md
CHANGED
package/dist/agent/Tabs.md
CHANGED
package/dist/agent/Tag.md
CHANGED
|
@@ -4,7 +4,7 @@ A subject label — a topic, a technology, a filter facet — that filters with
|
|
|
4
4
|
|
|
5
5
|
- Group: Display
|
|
6
6
|
- Import: `import { Tag } from '@misoto22/design'`
|
|
7
|
-
- Version: 0.10.
|
|
7
|
+
- Version: 0.10.1
|
|
8
8
|
- Docs: https://ui.misoto22.com/components/tag/
|
|
9
9
|
- Related: badge, status-pill
|
|
10
10
|
|
package/dist/agent/Text.md
CHANGED
|
@@ -4,7 +4,7 @@ The system’s paragraph, on the second rung of the ink ladder.
|
|
|
4
4
|
|
|
5
5
|
- Group: Display
|
|
6
6
|
- Import: `import { Text } from '@misoto22/design'`
|
|
7
|
-
- Version: 0.10.
|
|
7
|
+
- Version: 0.10.1
|
|
8
8
|
- Docs: https://ui.misoto22.com/components/text/
|
|
9
9
|
- Related: heading, article, markdown
|
|
10
10
|
|
package/dist/agent/Textarea.md
CHANGED
package/dist/agent/Timestamp.md
CHANGED
|
@@ -4,7 +4,7 @@ A date or a time, rendered the one way the system renders them.
|
|
|
4
4
|
|
|
5
5
|
- Group: Display
|
|
6
6
|
- Import: `import { Timestamp } from '@misoto22/design'`
|
|
7
|
-
- Version: 0.10.
|
|
7
|
+
- Version: 0.10.1
|
|
8
8
|
- Docs: https://ui.misoto22.com/components/timestamp/
|
|
9
9
|
- Related: text, badge, description-list
|
|
10
10
|
|
package/dist/agent/Toast.md
CHANGED
package/dist/agent/Toolbar.md
CHANGED
package/dist/agent/Tooltip.md
CHANGED
|
@@ -4,7 +4,7 @@ Part of a whole, when the whole has too many parts for a pie — and the parts n
|
|
|
4
4
|
|
|
5
5
|
- Group: Charts
|
|
6
6
|
- Import: `import { TreemapChart } from '@misoto22/design/charts'`
|
|
7
|
-
- Version: 0.10.
|
|
7
|
+
- Version: 0.10.1
|
|
8
8
|
- Docs: https://ui.misoto22.com/components/treemap-chart/
|
|
9
9
|
- Related: pie-chart, bar-chart
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@ How a total got from one figure to another.
|
|
|
4
4
|
|
|
5
5
|
- Group: Charts
|
|
6
6
|
- Import: `import { WaterfallChart } from '@misoto22/design/charts'`
|
|
7
|
-
- Version: 0.10.
|
|
7
|
+
- Version: 0.10.1
|
|
8
8
|
- Docs: https://ui.misoto22.com/components/waterfall-chart/
|
|
9
9
|
- Related: bar-chart, funnel-chart
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@ A process in lanes and phases, with the main path drawn heavier than its branche
|
|
|
4
4
|
|
|
5
5
|
- Group: Diagrams
|
|
6
6
|
- Import: `import { WorkflowFigure } from '@misoto22/design/diagrams'`
|
|
7
|
-
- Version: 0.10.
|
|
7
|
+
- Version: 0.10.1
|
|
8
8
|
- Docs: https://ui.misoto22.com/components/workflow-figure/
|
|
9
9
|
- Related: lifecycle-figure, sequence-figure, steps
|
|
10
10
|
|
package/dist/agent/catalog.json
CHANGED
package/dist/agent/index.md
CHANGED
package/dist/charts/lib/empty.js
CHANGED
|
@@ -5,7 +5,18 @@ function ChartEmpty({
|
|
|
5
5
|
description = "Nothing matched the current filters. Widen the range, or clear a filter.",
|
|
6
6
|
action
|
|
7
7
|
}) {
|
|
8
|
-
return
|
|
8
|
+
return (
|
|
9
|
+
// `my-auto` is what keeps this where the plot was. The box sizes itself
|
|
10
|
+
// 16:9 up to 26rem, which is right for a card that grows to its content and
|
|
11
|
+
// short of a figure given a fixed height by the page around it — a
|
|
12
|
+
// dashboard tile, a panel in a grid. Without the auto margin the state pins
|
|
13
|
+
// to the top of that figure while the plot it stands in for filled the
|
|
14
|
+
// whole cell, so the same chart reads at two different heights depending on
|
|
15
|
+
// whether it has data. The margin absorbs the free space when there is any
|
|
16
|
+
// and does nothing when there is none, so the content-sized case is
|
|
17
|
+
// untouched.
|
|
18
|
+
/* @__PURE__ */ jsx("div", { className: "my-auto flex aspect-video max-h-[26rem] min-h-[13rem] w-full items-center justify-center", children: /* @__PURE__ */ jsx(EmptyState, { title, description, action, className: "py-0" }) })
|
|
19
|
+
);
|
|
9
20
|
}
|
|
10
21
|
export {
|
|
11
22
|
ChartEmpty
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/charts/lib/empty.tsx"],"sourcesContent":["import type { ReactNode } from 'react'\nimport { EmptyState } from '../../components/EmptyState/EmptyState'\n\nexport interface ChartEmptyProps {\n /** What is missing. Says what happened, not \"no data\". */\n title?: ReactNode\n /** Why, or what to change — a filter to widen, a range to move. */\n description?: ReactNode\n /** The one thing to do next. */\n action?: ReactNode\n}\n\n/**\n * What a chart shows when it has nothing to draw.\n *\n * The state almost every chart library forgets, and the one a real dashboard\n * hits within a week: a filter that matches nothing, a new account, a range\n * before the data starts. Without it a chart hands the reader an empty pair of\n * axes, which is indistinguishable from a chart that failed to load — so the\n * reader reloads the page, and it is still empty.\n *\n * Distinct from the loading skeleton, which says \"not yet\". This says \"there\n * is nothing here\", which is a different sentence and usually has an action\n * attached to it.\n *\n * Reuses the system's own `EmptyState` rather than inventing a chart-shaped\n * one: an empty chart and an empty table are the same event, and a reader\n * should not have to learn two vocabularies for it.\n */\nexport function ChartEmpty({\n title = 'No data in this range',\n description = 'Nothing matched the current filters. Widen the range, or clear a filter.',\n action,\n}: ChartEmptyProps) {\n return (\n <div className=\"flex aspect-video max-h-[26rem] min-h-[13rem] w-full items-center justify-center\">\n <EmptyState title={title} description={description} action={action} className=\"py-0\" />\n </div>\n )\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../src/charts/lib/empty.tsx"],"sourcesContent":["import type { ReactNode } from 'react'\nimport { EmptyState } from '../../components/EmptyState/EmptyState'\n\nexport interface ChartEmptyProps {\n /** What is missing. Says what happened, not \"no data\". */\n title?: ReactNode\n /** Why, or what to change — a filter to widen, a range to move. */\n description?: ReactNode\n /** The one thing to do next. */\n action?: ReactNode\n}\n\n/**\n * What a chart shows when it has nothing to draw.\n *\n * The state almost every chart library forgets, and the one a real dashboard\n * hits within a week: a filter that matches nothing, a new account, a range\n * before the data starts. Without it a chart hands the reader an empty pair of\n * axes, which is indistinguishable from a chart that failed to load — so the\n * reader reloads the page, and it is still empty.\n *\n * Distinct from the loading skeleton, which says \"not yet\". This says \"there\n * is nothing here\", which is a different sentence and usually has an action\n * attached to it.\n *\n * Reuses the system's own `EmptyState` rather than inventing a chart-shaped\n * one: an empty chart and an empty table are the same event, and a reader\n * should not have to learn two vocabularies for it.\n */\nexport function ChartEmpty({\n title = 'No data in this range',\n description = 'Nothing matched the current filters. Widen the range, or clear a filter.',\n action,\n}: ChartEmptyProps) {\n return (\n // `my-auto` is what keeps this where the plot was. The box sizes itself\n // 16:9 up to 26rem, which is right for a card that grows to its content and\n // short of a figure given a fixed height by the page around it — a\n // dashboard tile, a panel in a grid. Without the auto margin the state pins\n // to the top of that figure while the plot it stands in for filled the\n // whole cell, so the same chart reads at two different heights depending on\n // whether it has data. The margin absorbs the free space when there is any\n // and does nothing when there is none, so the content-sized case is\n // untouched.\n <div className=\"my-auto flex aspect-video max-h-[26rem] min-h-[13rem] w-full items-center justify-center\">\n <EmptyState title={title} description={description} action={action} className=\"py-0\" />\n </div>\n )\n}\n"],"mappings":"AA6CM;AA5CN,SAAS,kBAAkB;AA4BpB,SAAS,WAAW;AAAA,EACzB,QAAQ;AAAA,EACR,cAAc;AAAA,EACd;AACF,GAAoB;AAClB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAUE,oBAAC,SAAI,WAAU,4FACb,8BAAC,cAAW,OAAc,aAA0B,QAAgB,WAAU,QAAO,GACvF;AAAA;AAEJ;","names":[]}
|