@surreal-ui/catalog 0.9.0 → 0.10.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/llms.txt CHANGED
@@ -32,13 +32,17 @@
32
32
 
33
33
  - badge: Badge (display). Displays a badge or a component that looks like a badge. Import `Badge` from `@surreal-ui/catalog/react`; element `<surreal-badge>`.
34
34
  - bar-chart: Bar chart (data-visual). Vertical bars comparing values across categories, one colour per series, with a value axis and a legend for several series. Import `BarChart` from `@surreal-ui/catalog/react/editor`.
35
+ - braid: Braid (data-visual). 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. Import `Braid` from `@surreal-ui/catalog/react/editor`.
35
36
  - button: Button (action). Displays a button or a component that looks like a button. Import `Button` from `@surreal-ui/catalog/react`; element `<surreal-button>`.
36
37
  - card: Card (layout). Displays a card with header, content, and footer. Import `Card` from `@surreal-ui/catalog/react`; element `<surreal-card>`.
37
38
  - checkbox: Checkbox (form). A control that allows the user to toggle between checked and not checked. Import `Checkbox` from `@surreal-ui/catalog/react`; element `<surreal-checkbox>`.
39
+ - donut-chart: Donut chart (data-visual). Parts of a whole as slices of a ring, one colour per slice, with a legend. Import `DonutChart` from `@surreal-ui/catalog/react/editor`.
38
40
  - gauge: Gauge (data-visual). A speedometer gauge: its coloured band draws on, the needle sweeps past the value and settles, and the reading counts up beneath. Import `Gauge` from `@surreal-ui/catalog/react/flair`.
39
41
  - input: Input (form). Displays a form input field or a component that looks like an input field. Import `Input` from `@surreal-ui/catalog/react`; element `<surreal-input>`.
40
42
  - kbd: Kbd (display). Represents keyboard input or a hotkey combination. Import `Kbd` from `@surreal-ui/catalog/react`; element `<surreal-kbd>`.
41
43
  - label: Label (form). Accessible labeling for form controls. Import `Label` from `@surreal-ui/catalog/react`; element `<surreal-label>`.
44
+ - line-chart: Line chart (data-visual). Lines showing how values change across ordered categories (time), one colour per series, with a value axis and a legend for several series. Import `LineChart` from `@surreal-ui/catalog/react/editor`.
45
+ - lineage: Lineage (data-visual). 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. Import `Lineage` from `@surreal-ui/catalog/react/editor`.
42
46
  - progress: Progress (feedback). Displays an indicator showing the completion progress of a task. Import `Progress` from `@surreal-ui/catalog/react`; element `<surreal-progress>`.
43
47
  - flair-progress-bar: Progress bar (feedback, implements progress). A striped progress bar filling to a value while its percentage counts up, the stripes marching all the while. Import `FlairProgressBar` from `@surreal-ui/catalog/react/flair`.
44
48
  - separator: Separator (layout). Visually or semantically separates content. Import `Separator` from `@surreal-ui/catalog/react`; element `<surreal-separator>`.
@@ -48,6 +52,7 @@
48
52
  - switch: Switch (form). A control that allows the user to toggle between checked and not checked. Import `Switch` from `@surreal-ui/catalog/react`; element `<surreal-switch>`.
49
53
  - flair-toggle-switch: Toggle switch (form, implements switch). A switch whose knob slides across, squashing a little mid-slide, as the track blends to its on colour; the next click slides it back. Import `FlairToggleSwitch` from `@surreal-ui/catalog/react/flair`.
50
54
  - textarea: Textarea (form). A multi-line text input control. Import `Textarea` from `@surreal-ui/catalog/react`; element `<surreal-textarea>`.
55
+ - weave: Weave (data-visual). 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. Import `Weave` from `@surreal-ui/catalog/react/editor`.
51
56
 
52
57
  ## Aesthetics
53
58
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@surreal-ui/catalog",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "description": "Drop-in UI components with a catalog API and aesthetic packs: one implementation per component type, restyled by aesthetics defined as skills.",
5
5
  "license": "MIT",
6
6
  "author": "Pixerate",
@@ -103,7 +103,7 @@
103
103
  "@pixerate/schemas": "^1.52.0"
104
104
  },
105
105
  "peerDependencies": {
106
- "@pixerate/editor": ">=0.314.0",
106
+ "@pixerate/editor": ">=0.322.0",
107
107
  "@pixerate/flair": ">=0.121.0",
108
108
  "react": ">=18.0.0",
109
109
  "svelte": ">=5.20.0"
@@ -123,7 +123,7 @@
123
123
  }
124
124
  },
125
125
  "devDependencies": {
126
- "@pixerate/editor": "^0.314.0",
126
+ "@pixerate/editor": "^0.322.0",
127
127
  "@pixerate/flair": "^0.121.0",
128
128
  "@playwright/test": "^1.64.1",
129
129
  "@types/node": "^22.20.1",
@@ -47,5 +47,10 @@ Hold and arrange other content: cards, separators, scroll areas, panels.
47
47
  Draw numbers: charts, gauges, sparklines.
48
48
 
49
49
  - `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; tags editor, data-visual.
50
+ - `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; tags editor, data-visual.
51
+ - `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; tags editor, data-visual.
50
52
  - `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; tags flair, data-visual.
53
+ - `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; tags editor, data-visual.
54
+ - `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; tags editor, data-visual.
51
55
  - `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; tags editor, data-visual.
56
+ - `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; tags editor, data-visual.