@surreal-ui/catalog 0.14.1 → 0.16.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/README.md +27 -1
- package/dist/{chunk-K6AAK2NB.js → chunk-VEFEZH7Q.js} +631 -39
- package/dist/components.css +4 -0
- package/dist/index.d.ts +7 -2
- package/dist/index.js +1 -1
- package/dist/lazy.js +1 -1
- package/dist/node.d.ts +13 -2
- package/dist/node.js +21 -1
- package/dist/react/flair.d.ts +45 -1
- package/dist/react/flair.js +171 -18
- package/dist/sources/bar-chart/react.tsx +1 -1
- package/dist/sources/braid/react.tsx +1 -1
- package/dist/sources/donut-chart/react.tsx +1 -1
- package/dist/sources/flow/react.tsx +1 -1
- package/dist/sources/gauge/react.tsx +1 -1
- package/dist/sources/line-chart/react.tsx +1 -1
- package/dist/sources/lineage/react.tsx +1 -1
- package/dist/sources/loader/react.tsx +52 -0
- package/dist/sources/mindmap/react.tsx +1 -1
- package/dist/sources/sparkline/react.tsx +1 -1
- package/dist/sources/table/svelte.svelte +9 -0
- package/dist/sources/timeline/react.tsx +1 -1
- package/dist/sources/weave/react.tsx +1 -1
- package/dist/svelte/Table.svelte +9 -0
- package/llms.txt +4 -0
- package/package.json +7 -7
- package/skills/surreal-use/references/components.md +15 -11
|
@@ -31,6 +31,10 @@ Show content or status without taking input: badges, avatars, typography.
|
|
|
31
31
|
|
|
32
32
|
Report progress or the result of an action: progress, alerts, toasts, skeletons.
|
|
33
33
|
|
|
34
|
+
- `loader` **Liquid loader**: A glass circle filling with sloshing liquid, two waves rolling across its surface and bubbles rising, then draining to fill again; React `Loader` from `@surreal-ui/catalog/react/flair` (needs @pixerate/flair); props `value`; examples `example`; group paradigm; runtime engine; fallback `progress`; tags flair, paradigm.
|
|
35
|
+
- alternative `flair-flame-loader` **Flame loader**: A progress bar that burns along its length: the filled part glows like embers under flames, tallest at the leading edge, sparks flying off it; React `FlairFlameLoader` from `@surreal-ui/catalog/react/flair` (needs @pixerate/flair); props `value`; examples `example`; group paradigm; runtime engine; fallback `progress`; tags flair, paradigm.
|
|
36
|
+
- alternative `flair-generating-field` **Generating field**: A soft field brewing over a card while a job runs, its motion set by what is being made, with a glowing front that sweeps across as the job gets further along; React `FlairGeneratingField` from `@surreal-ui/catalog/react/flair` (needs @pixerate/flair); props `value`; examples `example`; group paradigm; runtime engine; fallback `progress`; tags flair, paradigm.
|
|
37
|
+
- alternative `flair-slop-vat` **Slop vat**: A stroked machine vat filling with bubbling slop to how far a job has got, gooey lobes bobbing on the surface and a nozzle dripping into a puddle below; React `FlairSlopVat` from `@surreal-ui/catalog/react/flair` (needs @pixerate/flair); props `value`; examples `example`; group paradigm; runtime engine; fallback `progress`; tags flair, paradigm.
|
|
34
38
|
- `progress` **Progress**: Displays an indicator showing the completion progress of a task; React `Progress` from `@surreal-ui/catalog/react`; Svelte `Progress` from `@surreal-ui/catalog/svelte`; element `<surreal-progress>` from `@surreal-ui/catalog/web`; props `value`, `label`, `max`; examples `partway`; replaces `MinimalistProgress`, `ShadcnProgress`; tags feedback.
|
|
35
39
|
- alternative `flair-progress-bar` **Progress bar**: A striped progress bar filling to a value while its percentage counts up, the stripes marching all the while; React `FlairProgressBar` from `@surreal-ui/catalog/react/flair` (needs @pixerate/flair); props `value`, `label`; examples `example`; runtime engine; tags flair, baseline.
|
|
36
40
|
- `skeleton` **Skeleton**: Used to placeholder load states while content is fetching; React `Skeleton` from `@surreal-ui/catalog/react`; Svelte `Skeleton` from `@surreal-ui/catalog/svelte`; element `<surreal-skeleton>` from `@surreal-ui/catalog/web`; props `width`, `height`, `shape`; examples `text`, `avatar`; replaces `MinimalistSkeleton`, `ShadcnSkeleton`; tags feedback, loading.
|
|
@@ -47,14 +51,14 @@ Hold and arrange other content: cards, separators, scroll areas, panels.
|
|
|
47
51
|
|
|
48
52
|
Draw numbers: charts, gauges, sparklines.
|
|
49
53
|
|
|
50
|
-
- `bar-chart` **Bar chart**: Vertical bars comparing values across categories, one colour per series, with a value axis and a legend for several series; React `BarChart` from `@surreal-ui/catalog/react/editor` (needs @pixerate/editor); props `categories`, `series`, `title`, `unit`; examples `example`; group data-visual; runtime engine; tags editor, data-visual.
|
|
51
|
-
- `braid` **Braid**: Strands twisted into one root, passing over and under, weighted by value and labelled at the open end; draws on along the braid, and focusing a strand lights it; React `Braid` from `@surreal-ui/catalog/react/editor` (needs @pixerate/editor); props `root`, `strands`, `turns`, `title`; state focus (event focus); examples `example`; group data-visual; runtime engine; tags editor, data-visual.
|
|
52
|
-
- `donut-chart` **Donut chart**: Parts of a whole as slices of a ring, one colour per slice, with a legend; React `DonutChart` from `@surreal-ui/catalog/react/editor` (needs @pixerate/editor); props `slices`, `title`, `unit`; examples `example`; group data-visual; runtime engine; tags editor, data-visual.
|
|
53
|
-
- `flow` **Flow**: A process as boxes joined by arrows, left to right or top down, in the diagram editor's layout; React `Flow` from `@surreal-ui/catalog/react/editor` (needs @pixerate/editor); props `steps`, `links`, `direction`, `title`; examples `example`; group data-visual; runtime engine; tags editor, data-visual.
|
|
54
|
-
- `gauge` **Gauge**: A speedometer gauge: its coloured band draws on, the needle sweeps past the value and settles, and the reading counts up beneath; React `Gauge` from `@surreal-ui/catalog/react/flair` (needs @pixerate/flair); props `value`, `max`, `unit`, `label`; examples `example`; group data-visual; runtime engine; tags flair, data-visual.
|
|
55
|
-
- `line-chart` **Line chart**: Lines showing how values change across ordered categories (time), one colour per series, with a value axis and a legend for several series; React `LineChart` from `@surreal-ui/catalog/react/editor` (needs @pixerate/editor); props `categories`, `series`, `title`, `unit`; examples `example`; group data-visual; runtime engine; tags editor, data-visual.
|
|
56
|
-
- `lineage` **Lineage**: One root fanned out to a row of items with rounded connectors that never cross, labels sized to fit their columns; draws on from the root, and focusing an item lights its branch; React `Lineage` from `@surreal-ui/catalog/react/editor` (needs @pixerate/editor); props `root`, `items`, `title`; state focus (event focus); examples `example`; group data-visual; runtime engine; tags editor, data-visual.
|
|
57
|
-
- `mindmap` **Mind map**: A central idea with branches and sub-branches spread round it, one colour per branch; React `Mindmap` from `@surreal-ui/catalog/react/editor` (needs @pixerate/editor); props `root`, `branches`, `title`; examples `example`; group data-visual; runtime engine; tags editor, data-visual.
|
|
58
|
-
- `sparkline` **Sparkline**: A word-sized line chart of one run of values, without axes or labels; React `Sparkline` from `@surreal-ui/catalog/react/editor` (needs @pixerate/editor); props `values`, `label`; examples `example`; group data-visual; runtime engine; tags editor, data-visual.
|
|
59
|
-
- `timeline` **Timeline**: Periods along an axis, each with its events stacked under it, one colour per period; React `Timeline` from `@surreal-ui/catalog/react/editor` (needs @pixerate/editor); props `periods`, `title`; examples `example`; group data-visual; runtime engine; tags editor, data-visual.
|
|
60
|
-
- `weave` **Weave**: Items along the top joined to the tags they share along the bottom, many to many; focusing an item lights its tags, and focusing a tag lights its items; React `Weave` from `@surreal-ui/catalog/react/editor` (needs @pixerate/editor); props `items`, `title`; state focus (event focus); examples `example`; group data-visual; runtime engine; tags editor, data-visual.
|
|
54
|
+
- `bar-chart` **Bar chart**: Vertical bars comparing values across categories, one colour per series, with a value axis and a legend for several series; React `BarChart` from `@surreal-ui/catalog/react/editor` (needs @pixerate/editor); props `categories`, `series`, `title`, `unit`; examples `example`; group data-visual; runtime engine; fallback `table`; tags editor, data-visual.
|
|
55
|
+
- `braid` **Braid**: Strands twisted into one root, passing over and under, weighted by value and labelled at the open end; draws on along the braid, and focusing a strand lights it; React `Braid` from `@surreal-ui/catalog/react/editor` (needs @pixerate/editor); props `root`, `strands`, `turns`, `title`; state focus (event focus); examples `example`; group data-visual; runtime engine; fallback `table`; tags editor, data-visual.
|
|
56
|
+
- `donut-chart` **Donut chart**: Parts of a whole as slices of a ring, one colour per slice, with a legend; React `DonutChart` from `@surreal-ui/catalog/react/editor` (needs @pixerate/editor); props `slices`, `title`, `unit`; examples `example`; group data-visual; runtime engine; fallback `table`; tags editor, data-visual.
|
|
57
|
+
- `flow` **Flow**: A process as boxes joined by arrows, left to right or top down, in the diagram editor's layout; React `Flow` from `@surreal-ui/catalog/react/editor` (needs @pixerate/editor); props `steps`, `links`, `direction`, `title`; examples `example`; group data-visual; runtime engine; fallback `table`; tags editor, data-visual.
|
|
58
|
+
- `gauge` **Gauge**: A speedometer gauge: its coloured band draws on, the needle sweeps past the value and settles, and the reading counts up beneath; React `Gauge` from `@surreal-ui/catalog/react/flair` (needs @pixerate/flair); props `value`, `max`, `unit`, `label`; examples `example`; group data-visual; runtime engine; fallback `progress`; tags flair, data-visual.
|
|
59
|
+
- `line-chart` **Line chart**: Lines showing how values change across ordered categories (time), one colour per series, with a value axis and a legend for several series; React `LineChart` from `@surreal-ui/catalog/react/editor` (needs @pixerate/editor); props `categories`, `series`, `title`, `unit`; examples `example`; group data-visual; runtime engine; fallback `table`; tags editor, data-visual.
|
|
60
|
+
- `lineage` **Lineage**: One root fanned out to a row of items with rounded connectors that never cross, labels sized to fit their columns; draws on from the root, and focusing an item lights its branch; React `Lineage` from `@surreal-ui/catalog/react/editor` (needs @pixerate/editor); props `root`, `items`, `title`; state focus (event focus); examples `example`; group data-visual; runtime engine; fallback `table`; tags editor, data-visual.
|
|
61
|
+
- `mindmap` **Mind map**: A central idea with branches and sub-branches spread round it, one colour per branch; React `Mindmap` from `@surreal-ui/catalog/react/editor` (needs @pixerate/editor); props `root`, `branches`, `title`; examples `example`; group data-visual; runtime engine; fallback `table`; tags editor, data-visual.
|
|
62
|
+
- `sparkline` **Sparkline**: A word-sized line chart of one run of values, without axes or labels; React `Sparkline` from `@surreal-ui/catalog/react/editor` (needs @pixerate/editor); props `values`, `label`; examples `example`; group data-visual; runtime engine; fallback `table`; tags editor, data-visual.
|
|
63
|
+
- `timeline` **Timeline**: Periods along an axis, each with its events stacked under it, one colour per period; React `Timeline` from `@surreal-ui/catalog/react/editor` (needs @pixerate/editor); props `periods`, `title`; examples `example`; group data-visual; runtime engine; fallback `table`; tags editor, data-visual.
|
|
64
|
+
- `weave` **Weave**: Items along the top joined to the tags they share along the bottom, many to many; focusing an item lights its tags, and focusing a tag lights its items; React `Weave` from `@surreal-ui/catalog/react/editor` (needs @pixerate/editor); props `items`, `title`; state focus (event focus); examples `example`; group data-visual; runtime engine; fallback `table`; tags editor, data-visual.
|