@surreal-ui/catalog 0.11.0 → 0.12.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.
@@ -237,18 +237,18 @@ var CATALOG = {
237
237
  "source": {
238
238
  "provider": "editor",
239
239
  "itemId": "bar-chart",
240
- "version": "0.334.1",
241
- "contentHash": "h1-bc3ada602d46f641"
240
+ "version": "0.336.0",
241
+ "contentHash": "h1-76ee0998eaac0913"
242
242
  },
243
+ "runtime": "engine",
243
244
  "implements": "bar-chart",
244
245
  "category": "data-visual",
245
- "runtime": "code",
246
246
  "platforms": [
247
247
  "react"
248
248
  ],
249
249
  "entry": "@surreal-ui/catalog/react/editor",
250
250
  "export": "BarChart",
251
- "contentHash": "1267c230f4a8b4b0cf51c74406165ee4c161c68ab509b2513315406fc1b1c2c7",
251
+ "contentHash": "891c1fc309014e6d3fd8aaa7c4f8efae7a81fca7f8d27590eeb2525b3d324417",
252
252
  "path": "components/bar-chart",
253
253
  "alternatives": []
254
254
  },
@@ -398,18 +398,18 @@ var CATALOG = {
398
398
  "source": {
399
399
  "provider": "editor",
400
400
  "itemId": "braid",
401
- "version": "0.334.1",
401
+ "version": "0.336.0",
402
402
  "contentHash": "h1-32ab36e8632bd353"
403
403
  },
404
+ "runtime": "engine",
404
405
  "implements": "braid",
405
406
  "category": "data-visual",
406
- "runtime": "code",
407
407
  "platforms": [
408
408
  "react"
409
409
  ],
410
410
  "entry": "@surreal-ui/catalog/react/editor",
411
411
  "export": "Braid",
412
- "contentHash": "04184020d2108461cf79e229394805ad414b571048bf36efd15b7f969f3ed749",
412
+ "contentHash": "d0302d8764b3adaf61fca077103d82389919fb89ec6805bc1be523ba12c5b36c",
413
413
  "path": "components/braid",
414
414
  "alternatives": []
415
415
  },
@@ -882,18 +882,18 @@ var CATALOG = {
882
882
  "source": {
883
883
  "provider": "editor",
884
884
  "itemId": "donut-chart",
885
- "version": "0.334.1",
886
- "contentHash": "h1-0e889e53ac068f38"
885
+ "version": "0.336.0",
886
+ "contentHash": "h1-50feaa770e686a53"
887
887
  },
888
+ "runtime": "engine",
888
889
  "implements": "donut-chart",
889
890
  "category": "data-visual",
890
- "runtime": "code",
891
891
  "platforms": [
892
892
  "react"
893
893
  ],
894
894
  "entry": "@surreal-ui/catalog/react/editor",
895
895
  "export": "DonutChart",
896
- "contentHash": "cc8bbea8891d8c6c7837e144996fbad5c6c4cb68c0b59d172c9565dc0c484743",
896
+ "contentHash": "98d4d2922a808ca8bf515047a8db39e9123e797a69645c4953555ad21b2910e6",
897
897
  "path": "components/donut-chart",
898
898
  "alternatives": []
899
899
  },
@@ -1025,18 +1025,18 @@ var CATALOG = {
1025
1025
  "source": {
1026
1026
  "provider": "editor",
1027
1027
  "itemId": "flow",
1028
- "version": "0.334.1",
1028
+ "version": "0.336.0",
1029
1029
  "contentHash": "h1-610ee378b54394ed"
1030
1030
  },
1031
+ "runtime": "engine",
1031
1032
  "implements": "flow",
1032
1033
  "category": "data-visual",
1033
- "runtime": "code",
1034
1034
  "platforms": [
1035
1035
  "react"
1036
1036
  ],
1037
1037
  "entry": "@surreal-ui/catalog/react/editor",
1038
1038
  "export": "Flow",
1039
- "contentHash": "1f338547de88b93a799481e86ae9962347dd2b0a6936ea067c352f5fbe14520e",
1039
+ "contentHash": "b661f616251347d38e0293d74a0ab00bce0a507c525c9fb3a1719d3a6776f7e1",
1040
1040
  "path": "components/flow",
1041
1041
  "alternatives": []
1042
1042
  },
@@ -1116,15 +1116,15 @@ var CATALOG = {
1116
1116
  "version": "0.121.0",
1117
1117
  "contentHash": "75633984bd4ab14c"
1118
1118
  },
1119
+ "runtime": "engine",
1119
1120
  "implements": "gauge",
1120
1121
  "category": "data-visual",
1121
- "runtime": "code",
1122
1122
  "platforms": [
1123
1123
  "react"
1124
1124
  ],
1125
1125
  "entry": "@surreal-ui/catalog/react/flair",
1126
1126
  "export": "Gauge",
1127
- "contentHash": "0945a2bef7d6ab6025121ca7702e19ddcc2cebc2ce8ba04d0729ad46de4141c4",
1127
+ "contentHash": "ee32b859c602654237041df6afa651b862aa7fa20e1a8523861d98444ef911b5",
1128
1128
  "path": "components/gauge",
1129
1129
  "alternatives": []
1130
1130
  },
@@ -1496,18 +1496,18 @@ var CATALOG = {
1496
1496
  "source": {
1497
1497
  "provider": "editor",
1498
1498
  "itemId": "line-chart",
1499
- "version": "0.334.1",
1500
- "contentHash": "h1-996e92fc381f9c29"
1499
+ "version": "0.336.0",
1500
+ "contentHash": "h1-7a9211007a63771b"
1501
1501
  },
1502
+ "runtime": "engine",
1502
1503
  "implements": "line-chart",
1503
1504
  "category": "data-visual",
1504
- "runtime": "code",
1505
1505
  "platforms": [
1506
1506
  "react"
1507
1507
  ],
1508
1508
  "entry": "@surreal-ui/catalog/react/editor",
1509
1509
  "export": "LineChart",
1510
- "contentHash": "f347ec5c14a3a69f4f40eb883fa4843f5c5fb7c00da8012460b9a8f64a635ec2",
1510
+ "contentHash": "61e6f1f5b4868c71a501e8c06b0fd8f5165622184fee9c1c0fe17906e43a2806",
1511
1511
  "path": "components/line-chart",
1512
1512
  "alternatives": []
1513
1513
  },
@@ -1650,18 +1650,18 @@ var CATALOG = {
1650
1650
  "source": {
1651
1651
  "provider": "editor",
1652
1652
  "itemId": "lineage",
1653
- "version": "0.334.1",
1653
+ "version": "0.336.0",
1654
1654
  "contentHash": "h1-80fbdcdee156c4aa"
1655
1655
  },
1656
+ "runtime": "engine",
1656
1657
  "implements": "lineage",
1657
1658
  "category": "data-visual",
1658
- "runtime": "code",
1659
1659
  "platforms": [
1660
1660
  "react"
1661
1661
  ],
1662
1662
  "entry": "@surreal-ui/catalog/react/editor",
1663
1663
  "export": "Lineage",
1664
- "contentHash": "fce13c1bfd6418944f246f48aa395a8e0cbb966c1316e2bc9b17bfc6c5b483c7",
1664
+ "contentHash": "3bdf12a81d25f518d492c57347596864993268dd040ae81a92ca8c83ed91996f",
1665
1665
  "path": "components/lineage",
1666
1666
  "alternatives": []
1667
1667
  },
@@ -1811,18 +1811,18 @@ var CATALOG = {
1811
1811
  "source": {
1812
1812
  "provider": "editor",
1813
1813
  "itemId": "mindmap",
1814
- "version": "0.334.1",
1814
+ "version": "0.336.0",
1815
1815
  "contentHash": "h1-8de425038a9756ec"
1816
1816
  },
1817
+ "runtime": "engine",
1817
1818
  "implements": "mindmap",
1818
1819
  "category": "data-visual",
1819
- "runtime": "code",
1820
1820
  "platforms": [
1821
1821
  "react"
1822
1822
  ],
1823
1823
  "entry": "@surreal-ui/catalog/react/editor",
1824
1824
  "export": "Mindmap",
1825
- "contentHash": "538c8952e438280f4e2fa69dd7e2f13655b51065347e67f433ba88ab0b2b7685",
1825
+ "contentHash": "3ffa0c55478a14d63d682aa2a5cad4748edff776880db8295c681f4cfc0f2d39",
1826
1826
  "path": "components/mindmap",
1827
1827
  "alternatives": []
1828
1828
  },
@@ -1964,15 +1964,15 @@ var CATALOG = {
1964
1964
  "version": "0.121.0",
1965
1965
  "contentHash": "123abfb771b8b266"
1966
1966
  },
1967
+ "runtime": "engine",
1967
1968
  "implements": "progress",
1968
1969
  "category": "feedback",
1969
- "runtime": "code",
1970
1970
  "platforms": [
1971
1971
  "react"
1972
1972
  ],
1973
1973
  "entry": "@surreal-ui/catalog/react/flair",
1974
1974
  "export": "FlairProgressBar",
1975
- "contentHash": "3152918c8d243ee21e386412db91d2e4ca7c0739791e2fd0f99a2d11d71392d2",
1975
+ "contentHash": "c50b25960bdadff092a001b229af2fc07e9620445eb5393ab42dedcc126555a2",
1976
1976
  "path": "components/progress/alternatives/flair-progress-bar"
1977
1977
  }
1978
1978
  ]
@@ -2216,18 +2216,18 @@ var CATALOG = {
2216
2216
  "source": {
2217
2217
  "provider": "editor",
2218
2218
  "itemId": "sparkline",
2219
- "version": "0.334.1",
2220
- "contentHash": "h1-30ef47f4426f81fe"
2219
+ "version": "0.336.0",
2220
+ "contentHash": "h1-f5415ff4a27028bf"
2221
2221
  },
2222
+ "runtime": "engine",
2222
2223
  "implements": "sparkline",
2223
2224
  "category": "data-visual",
2224
- "runtime": "code",
2225
2225
  "platforms": [
2226
2226
  "react"
2227
2227
  ],
2228
2228
  "entry": "@surreal-ui/catalog/react/editor",
2229
2229
  "export": "Sparkline",
2230
- "contentHash": "b48f05ae55a5e6fce92bf493fcb55a3098de0426be304924fd01944e88614804",
2230
+ "contentHash": "a2518ab4bd7e82f887f28a066991a2447d8cc483328fa6e667396d7c376b1485",
2231
2231
  "path": "components/sparkline",
2232
2232
  "alternatives": []
2233
2233
  },
@@ -2505,15 +2505,15 @@ var CATALOG = {
2505
2505
  "version": "0.121.0",
2506
2506
  "contentHash": "f543742e308ca500"
2507
2507
  },
2508
+ "runtime": "engine",
2508
2509
  "implements": "switch",
2509
2510
  "category": "form",
2510
- "runtime": "code",
2511
2511
  "platforms": [
2512
2512
  "react"
2513
2513
  ],
2514
2514
  "entry": "@surreal-ui/catalog/react/flair",
2515
2515
  "export": "FlairToggleSwitch",
2516
- "contentHash": "59bd794fabb832af5477733be4b09cc8f1908c18d4d1ab581a40fcac29ef1e56",
2516
+ "contentHash": "e069f8a2e6a2ae4f9d3b95d39b12dd1e5e5c2916a15d9bd493bac5cf4485ad5b",
2517
2517
  "path": "components/switch/alternatives/flair-toggle-switch"
2518
2518
  }
2519
2519
  ]
@@ -2730,18 +2730,18 @@ var CATALOG = {
2730
2730
  "source": {
2731
2731
  "provider": "editor",
2732
2732
  "itemId": "timeline",
2733
- "version": "0.334.1",
2733
+ "version": "0.336.0",
2734
2734
  "contentHash": "h1-4d6bef2670bfda04"
2735
2735
  },
2736
+ "runtime": "engine",
2736
2737
  "implements": "timeline",
2737
2738
  "category": "data-visual",
2738
- "runtime": "code",
2739
2739
  "platforms": [
2740
2740
  "react"
2741
2741
  ],
2742
2742
  "entry": "@surreal-ui/catalog/react/editor",
2743
2743
  "export": "Timeline",
2744
- "contentHash": "03db318aac1112136c868ecd39bb572dc55154deb9a18d323dcacfdcac083e1a",
2744
+ "contentHash": "4d4b49ed6803f7a1ae19397a71e65c0d7a1daebe6055372021554a617651d640",
2745
2745
  "path": "components/timeline",
2746
2746
  "alternatives": []
2747
2747
  },
@@ -2910,18 +2910,18 @@ var CATALOG = {
2910
2910
  "source": {
2911
2911
  "provider": "editor",
2912
2912
  "itemId": "weave",
2913
- "version": "0.334.1",
2913
+ "version": "0.336.0",
2914
2914
  "contentHash": "h1-6a819cc804a71672"
2915
2915
  },
2916
+ "runtime": "engine",
2916
2917
  "implements": "weave",
2917
2918
  "category": "data-visual",
2918
- "runtime": "code",
2919
2919
  "platforms": [
2920
2920
  "react"
2921
2921
  ],
2922
2922
  "entry": "@surreal-ui/catalog/react/editor",
2923
2923
  "export": "Weave",
2924
- "contentHash": "460409c5ddb06a6d71aad1d5eb6eeb8455e2d20e73619505ab2f959b9dd5db86",
2924
+ "contentHash": "a84fc810ed28459abcd6e1ea4232a2ff82de5bcfcf19cf80000ec430794ce943",
2925
2925
  "path": "components/weave",
2926
2926
  "alternatives": []
2927
2927
  }
package/dist/index.js CHANGED
@@ -16,7 +16,7 @@ import {
16
16
  getComponent,
17
17
  replacementFor,
18
18
  resolveRole
19
- } from "./chunk-XDW4TY7U.js";
19
+ } from "./chunk-BV22DQWK.js";
20
20
  import {
21
21
  mapDeprecatedProps,
22
22
  resolveStructure
package/dist/lazy.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  getAesthetic,
12
12
  getComponent,
13
13
  replacementFor
14
- } from "./chunk-XDW4TY7U.js";
14
+ } from "./chunk-BV22DQWK.js";
15
15
  import "./chunk-HMNTTISG.js";
16
16
 
17
17
  // src/lazy.generated.ts
@@ -1,4 +1,4 @@
1
- // Generated by packages/catalog/scripts/sync-providers.ts from @pixerate/editor 0.334.1 (bar-chart). Do not edit.
1
+ // Generated by packages/catalog/scripts/sync-providers.ts from @pixerate/editor 0.336.0 (bar-chart). Do not edit.
2
2
  import * as React from 'react';
3
3
  import { uiComponents } from '@pixerate/editor/chart';
4
4
  import { useRoleColors } from '../../packages/catalog/src/runtime/role-colors';
@@ -1,4 +1,4 @@
1
- // Generated by packages/catalog/scripts/sync-providers.ts from @pixerate/editor 0.334.1 (braid). Do not edit.
1
+ // Generated by packages/catalog/scripts/sync-providers.ts from @pixerate/editor 0.336.0 (braid). Do not edit.
2
2
  import * as React from 'react';
3
3
  import { uiComponents } from '@pixerate/editor/chart';
4
4
  import { createLinkFocus } from '@pixerate/editor/tools';
@@ -1,4 +1,4 @@
1
- // Generated by packages/catalog/scripts/sync-providers.ts from @pixerate/editor 0.334.1 (donut-chart). Do not edit.
1
+ // Generated by packages/catalog/scripts/sync-providers.ts from @pixerate/editor 0.336.0 (donut-chart). Do not edit.
2
2
  import * as React from 'react';
3
3
  import { uiComponents } from '@pixerate/editor/chart';
4
4
  import { useRoleColors } from '../../packages/catalog/src/runtime/role-colors';
@@ -1,4 +1,4 @@
1
- // Generated by packages/catalog/scripts/sync-providers.ts from @pixerate/editor 0.334.1 (flow). Do not edit.
1
+ // Generated by packages/catalog/scripts/sync-providers.ts from @pixerate/editor 0.336.0 (flow). Do not edit.
2
2
  import * as React from 'react';
3
3
  import { diagramUiComponents } from '@pixerate/editor/canvas';
4
4
  import { useRoleColors } from '../../packages/catalog/src/runtime/role-colors';
@@ -1,4 +1,4 @@
1
- // Generated by packages/catalog/scripts/sync-providers.ts from @pixerate/editor 0.334.1 (line-chart). Do not edit.
1
+ // Generated by packages/catalog/scripts/sync-providers.ts from @pixerate/editor 0.336.0 (line-chart). Do not edit.
2
2
  import * as React from 'react';
3
3
  import { uiComponents } from '@pixerate/editor/chart';
4
4
  import { useRoleColors } from '../../packages/catalog/src/runtime/role-colors';
@@ -1,4 +1,4 @@
1
- // Generated by packages/catalog/scripts/sync-providers.ts from @pixerate/editor 0.334.1 (lineage). Do not edit.
1
+ // Generated by packages/catalog/scripts/sync-providers.ts from @pixerate/editor 0.336.0 (lineage). Do not edit.
2
2
  import * as React from 'react';
3
3
  import { uiComponents } from '@pixerate/editor/chart';
4
4
  import { createLinkFocus } from '@pixerate/editor/tools';
@@ -1,4 +1,4 @@
1
- // Generated by packages/catalog/scripts/sync-providers.ts from @pixerate/editor 0.334.1 (mindmap). Do not edit.
1
+ // Generated by packages/catalog/scripts/sync-providers.ts from @pixerate/editor 0.336.0 (mindmap). Do not edit.
2
2
  import * as React from 'react';
3
3
  import { diagramUiComponents } from '@pixerate/editor/canvas';
4
4
  import { useRoleColors } from '../../packages/catalog/src/runtime/role-colors';
@@ -1,4 +1,4 @@
1
- // Generated by packages/catalog/scripts/sync-providers.ts from @pixerate/editor 0.334.1 (sparkline). Do not edit.
1
+ // Generated by packages/catalog/scripts/sync-providers.ts from @pixerate/editor 0.336.0 (sparkline). Do not edit.
2
2
  import * as React from 'react';
3
3
  import { uiComponents } from '@pixerate/editor/chart';
4
4
  import { useRoleColors } from '../../packages/catalog/src/runtime/role-colors';
@@ -1,4 +1,4 @@
1
- // Generated by packages/catalog/scripts/sync-providers.ts from @pixerate/editor 0.334.1 (timeline). Do not edit.
1
+ // Generated by packages/catalog/scripts/sync-providers.ts from @pixerate/editor 0.336.0 (timeline). Do not edit.
2
2
  import * as React from 'react';
3
3
  import { diagramUiComponents } from '@pixerate/editor/canvas';
4
4
  import { useRoleColors } from '../../packages/catalog/src/runtime/role-colors';
@@ -1,4 +1,4 @@
1
- // Generated by packages/catalog/scripts/sync-providers.ts from @pixerate/editor 0.334.1 (weave). Do not edit.
1
+ // Generated by packages/catalog/scripts/sync-providers.ts from @pixerate/editor 0.336.0 (weave). Do not edit.
2
2
  import * as React from 'react';
3
3
  import { uiComponents } from '@pixerate/editor/chart';
4
4
  import { createLinkFocus } from '@pixerate/editor/tools';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@surreal-ui/catalog",
3
- "version": "0.11.0",
3
+ "version": "0.12.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",
@@ -128,7 +128,7 @@
128
128
  },
129
129
  "devDependencies": {
130
130
  "@dagrejs/dagre": "^1.1.8",
131
- "@pixerate/editor": "^0.334.1",
131
+ "@pixerate/editor": "^0.336.0",
132
132
  "@pixerate/flair": "^0.121.0",
133
133
  "@playwright/test": "^1.64.1",
134
134
  "@types/node": "^22.20.1",
@@ -16,7 +16,7 @@ Controls that hold a value: inputs, switches, checkboxes, selects, sliders.
16
16
  - `input` **Input**: Displays a form input field or a component that looks like an input field; React `Input` from `@surreal-ui/catalog/react`; Svelte `Input` from `@surreal-ui/catalog/svelte`; element `<surreal-input>` from `@surreal-ui/catalog/web`; props `label`, `placeholder`, `type`, `disabled`; state value (event change); examples `default`; replaces `MinimalistInput`, `ShadcnInput`; tags form.
17
17
  - `label` **Label**: Accessible labeling for form controls; React `Label` from `@surreal-ui/catalog/react`; Svelte `Label` from `@surreal-ui/catalog/svelte`; element `<surreal-label>` from `@surreal-ui/catalog/web`; props `children`, `htmlFor`, `required`; examples `required`; replaces `MinimalistLabel`, `ShadcnLabel`; tags form, typography.
18
18
  - `switch` **Switch**: A control that allows the user to toggle between checked and not checked; React `Switch` from `@surreal-ui/catalog/react`; Svelte `Switch` from `@surreal-ui/catalog/svelte`; element `<surreal-switch>` from `@surreal-ui/catalog/web`; props `label`, `disabled`; state checked (event change); examples `on`, `off`; replaces `MinimalistSwitch`, `ShadcnSwitch`; tags form.
19
- - alternative `flair-toggle-switch` **Toggle 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; React `FlairToggleSwitch` from `@surreal-ui/catalog/react/flair` (needs @pixerate/flair); state checked (event change); examples `example`; tags flair, baseline.
19
+ - alternative `flair-toggle-switch` **Toggle 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; React `FlairToggleSwitch` from `@surreal-ui/catalog/react/flair` (needs @pixerate/flair); state checked (event change); examples `example`; runtime engine; tags flair, baseline.
20
20
  - `textarea` **Textarea**: A multi-line text input control; React `Textarea` from `@surreal-ui/catalog/react`; Svelte `Textarea` from `@surreal-ui/catalog/svelte`; element `<surreal-textarea>` from `@surreal-ui/catalog/web`; props `label`, `placeholder`, `disabled`, `rows`; state value (event input); examples `labelled`; replaces `MinimalistTextarea`, `ShadcnTextarea`; tags form, input.
21
21
 
22
22
  ## Display (`display`)
@@ -31,7 +31,7 @@ Show content or status without taking input: badges, avatars, typography.
31
31
  Report progress or the result of an action: progress, alerts, toasts, skeletons.
32
32
 
33
33
  - `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.
34
- - 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`; tags flair, baseline.
34
+ - 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.
35
35
  - `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.
36
36
  - `spinner` **Spinner**: A visual loading/spinner indicator; React `Spinner` from `@surreal-ui/catalog/react`; Svelte `Spinner` from `@surreal-ui/catalog/svelte`; element `<surreal-spinner>` from `@surreal-ui/catalog/web`; props `label`, `size`; examples `default`, `large`; replaces `MinimalistSpinner`, `ShadcnSpinner`; tags feedback, loading.
37
37
 
@@ -46,14 +46,14 @@ Hold and arrange other content: cards, separators, scroll areas, panels.
46
46
 
47
47
  Draw numbers: charts, gauges, sparklines.
48
48
 
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.
52
- - `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; tags editor, data-visual.
53
- - `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.
54
- - `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.
55
- - `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.
56
- - `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; tags editor, data-visual.
57
- - `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.
58
- - `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; tags editor, data-visual.
59
- - `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.
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; runtime engine; 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; runtime engine; 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; runtime engine; tags editor, data-visual.
52
+ - `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.
53
+ - `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.
54
+ - `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.
55
+ - `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.
56
+ - `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.
57
+ - `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.
58
+ - `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.
59
+ - `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.