@sakaniui/react 0.16.0 → 0.17.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/AGENTS.md +6 -1
- package/CHANGELOG.md +24 -0
- package/dist/{TopBar-PpauzgVl.js → TopBar-BGg5THg1.js} +2234 -1812
- package/dist/TopBar-CXA2RJsK.cjs +1 -0
- package/dist/blocks.cjs +2 -2
- package/dist/blocks.mjs +1671 -1671
- package/dist/components/AreaChart/AreaChart.d.ts +5 -0
- package/dist/components/BarChart/BarChart.d.ts +5 -0
- package/dist/components/BarChart/index.d.ts +1 -1
- package/dist/components/DonutChart/DonutChart.d.ts +5 -0
- package/dist/components/FunnelChart/FunnelChart.d.ts +9 -0
- package/dist/components/HeatmapChart/HeatmapChart.d.ts +5 -0
- package/dist/components/LineChart/LineChart.d.ts +5 -0
- package/dist/components/PieChart/PieChart.d.ts +5 -0
- package/dist/components/RadarChart/RadarChart.d.ts +11 -0
- package/dist/components/RadialChart/RadialChart.d.ts +5 -0
- package/dist/emoji-index.json +1 -1
- package/dist/icon-index.json +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +2923 -2399
- package/dist/lib/ChartLoading.d.ts +15 -0
- package/dist/lib/ChartTooltip.d.ts +18 -0
- package/dist/lib/useChartEntrance.d.ts +9 -0
- package/dist/lib/useReducedMotion.d.ts +6 -0
- package/dist/manifest.json +212 -10
- package/dist/style.css +1 -1
- package/package.json +3 -2
- package/dist/TopBar-BgW6DlPo.cjs +0 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export type ChartSkeletonKind = 'radar' | 'funnel' | 'bars' | 'bars-horizontal' | 'line' | 'area' | 'ring' | 'pie' | 'heatmap';
|
|
3
|
+
export interface ChartSkeletonProps {
|
|
4
|
+
kind: ChartSkeletonKind;
|
|
5
|
+
height: number | string;
|
|
6
|
+
/** Heatmap only: its shape. */
|
|
7
|
+
rows?: number;
|
|
8
|
+
cols?: number;
|
|
9
|
+
/** Funnel only: how many stages. */
|
|
10
|
+
stages?: number;
|
|
11
|
+
label?: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const ChartSkeleton: React.FC<ChartSkeletonProps>;
|
|
15
|
+
export default ChartSkeleton;
|
|
@@ -17,4 +17,22 @@ export interface ChartTooltipProps {
|
|
|
17
17
|
formatter?: (value: ChartTooltipPayloadEntry['value'], name: ChartTooltipPayloadEntry['name']) => React.ReactNode;
|
|
18
18
|
}
|
|
19
19
|
export declare const ChartTooltip: React.FC<ChartTooltipProps>;
|
|
20
|
+
/** One row of a hand-placed tooltip card. */
|
|
21
|
+
export interface ChartTooltipRow {
|
|
22
|
+
color?: string;
|
|
23
|
+
label: React.ReactNode;
|
|
24
|
+
value: React.ReactNode;
|
|
25
|
+
/** A change against another row, e.g. "-20". Coloured by its sign. */
|
|
26
|
+
delta?: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* The same card as `ChartTooltip`, for the charts that place their own hover card (radar, funnel, heatmap) instead of
|
|
30
|
+
* handing it to Recharts. `style` positions it; it does not shift itself.
|
|
31
|
+
*/
|
|
32
|
+
export declare const ChartTooltipCard: React.FC<{
|
|
33
|
+
title?: React.ReactNode;
|
|
34
|
+
rows: ChartTooltipRow[];
|
|
35
|
+
style?: React.CSSProperties;
|
|
36
|
+
className?: string;
|
|
37
|
+
}>;
|
|
20
38
|
export default ChartTooltip;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* True for the first moments after a chart appears (on mount, or when `loading` ends), then false for good. The
|
|
3
|
+
* rich charts key their entrance animations on it (`data-entering`), so an entrance plays once and never again:
|
|
4
|
+
* Recharts re-renders and can remount a bar or a slice on hover, and an animation that is still in the stylesheet
|
|
5
|
+
* would replay every time it did.
|
|
6
|
+
*
|
|
7
|
+
* A layout effect, so the attribute is in place before the first paint and the shapes never flash at full size.
|
|
8
|
+
*/
|
|
9
|
+
export declare function useChartEntrance(on: boolean, ms?: number): boolean;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* True while the visitor has asked their system for less motion. The charts use it to skip their entrance and flow
|
|
3
|
+
* animations (and the morph between data sets); the server snapshot is `false`, so a server-rendered chart is the
|
|
4
|
+
* normal one until the client reads the real preference.
|
|
5
|
+
*/
|
|
6
|
+
export declare function useReducedMotion(): boolean;
|
package/dist/manifest.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 6,
|
|
3
3
|
"name": "@sakaniui/react",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.17.0",
|
|
5
5
|
"description": "Machine-readable contract of the SakaniUI React library, generated from its TypeScript source.",
|
|
6
6
|
"docs": "https://www.sakaniui.com",
|
|
7
7
|
"guide": "https://www.sakaniui.com/llms-full.txt",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@sakaniui/react/emoji": "Fluent Emoji (full colour): EmojiName, one module each (1594 emoji, 311 with skin tones)."
|
|
25
25
|
},
|
|
26
26
|
"conventions": {
|
|
27
|
-
"version": "This manifest describes @sakaniui/react@0.
|
|
27
|
+
"version": "This manifest describes @sakaniui/react@0.17.0. Each component has `since`, the first release that contained it; a prop added later has its own `since`, and a value added later is listed in the prop's `valuesSince`. If the project has an older version installed, anything newer than that does not exist there.",
|
|
28
28
|
"acceptsNativeProps": "Components forward native HTML attributes (className, style, aria-*, event handlers) to their root element unless a prop says otherwise; only the props that are specific to SakaniUI are listed here.",
|
|
29
29
|
"accessibleName": "When `contract.requiresAccessibleName` is true, a required prop (aria-label, aria-labelledby or an alt text) is the only thing that names the control or image. Do not omit it.",
|
|
30
30
|
"tokens": "Use only the token names listed under `tokens`. Colour tokens follow the theme (the `.dark` class flips them); do not hard-code colours.",
|
|
@@ -908,6 +908,26 @@
|
|
|
908
908
|
"type": "number",
|
|
909
909
|
"required": false
|
|
910
910
|
},
|
|
911
|
+
{
|
|
912
|
+
"name": "loading",
|
|
913
|
+
"type": "boolean",
|
|
914
|
+
"required": false,
|
|
915
|
+
"default": false,
|
|
916
|
+
"description": "Draw the loading state (the chart's own silhouette, breathing) instead of the chart.",
|
|
917
|
+
"since": "0.17.0"
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
"name": "appearance",
|
|
921
|
+
"type": "\"default\" | \"rich\"",
|
|
922
|
+
"required": false,
|
|
923
|
+
"values": [
|
|
924
|
+
"default",
|
|
925
|
+
"rich"
|
|
926
|
+
],
|
|
927
|
+
"default": "default",
|
|
928
|
+
"description": "`rich`: the livelier look (an entrance on mount, a soft glow and lift on hover, a frosted card).",
|
|
929
|
+
"since": "0.17.0"
|
|
930
|
+
},
|
|
911
931
|
{
|
|
912
932
|
"name": "className",
|
|
913
933
|
"type": "string",
|
|
@@ -1404,6 +1424,26 @@
|
|
|
1404
1424
|
"default": "['Value', 'Value 2']",
|
|
1405
1425
|
"description": "Legend labels for `value` / `value2`, shown for \"multiple\" and \"stacked\"."
|
|
1406
1426
|
},
|
|
1427
|
+
{
|
|
1428
|
+
"name": "loading",
|
|
1429
|
+
"type": "boolean",
|
|
1430
|
+
"required": false,
|
|
1431
|
+
"default": false,
|
|
1432
|
+
"description": "Draw the loading state (the chart's own silhouette, breathing) instead of the chart.",
|
|
1433
|
+
"since": "0.17.0"
|
|
1434
|
+
},
|
|
1435
|
+
{
|
|
1436
|
+
"name": "appearance",
|
|
1437
|
+
"type": "\"default\" | \"rich\"",
|
|
1438
|
+
"required": false,
|
|
1439
|
+
"values": [
|
|
1440
|
+
"default",
|
|
1441
|
+
"rich"
|
|
1442
|
+
],
|
|
1443
|
+
"default": "default",
|
|
1444
|
+
"description": "`rich`: the livelier look (an entrance on mount, a soft glow and lift on hover, a frosted card).",
|
|
1445
|
+
"since": "0.17.0"
|
|
1446
|
+
},
|
|
1407
1447
|
{
|
|
1408
1448
|
"name": "className",
|
|
1409
1449
|
"type": "string",
|
|
@@ -3732,6 +3772,26 @@
|
|
|
3732
3772
|
"required": false,
|
|
3733
3773
|
"description": "Pixel height override, takes precedence over `size`'s preset."
|
|
3734
3774
|
},
|
|
3775
|
+
{
|
|
3776
|
+
"name": "loading",
|
|
3777
|
+
"type": "boolean",
|
|
3778
|
+
"required": false,
|
|
3779
|
+
"default": false,
|
|
3780
|
+
"description": "Draw the loading state (the chart's own silhouette, breathing) instead of the chart.",
|
|
3781
|
+
"since": "0.17.0"
|
|
3782
|
+
},
|
|
3783
|
+
{
|
|
3784
|
+
"name": "appearance",
|
|
3785
|
+
"type": "\"default\" | \"rich\"",
|
|
3786
|
+
"required": false,
|
|
3787
|
+
"values": [
|
|
3788
|
+
"default",
|
|
3789
|
+
"rich"
|
|
3790
|
+
],
|
|
3791
|
+
"default": "default",
|
|
3792
|
+
"description": "`rich`: the livelier look (turns into place on mount, the hovered slice lifts, a frosted card).",
|
|
3793
|
+
"since": "0.17.0"
|
|
3794
|
+
},
|
|
3735
3795
|
{
|
|
3736
3796
|
"name": "className",
|
|
3737
3797
|
"type": "string",
|
|
@@ -4212,6 +4272,40 @@
|
|
|
4212
4272
|
],
|
|
4213
4273
|
"default": "md"
|
|
4214
4274
|
},
|
|
4275
|
+
{
|
|
4276
|
+
"name": "flow",
|
|
4277
|
+
"type": "boolean",
|
|
4278
|
+
"required": false,
|
|
4279
|
+
"default": true,
|
|
4280
|
+
"description": "Dots streaming through the band, thinning where the funnel does. Default true; off for reduced motion.",
|
|
4281
|
+
"since": "0.17.0"
|
|
4282
|
+
},
|
|
4283
|
+
{
|
|
4284
|
+
"name": "loading",
|
|
4285
|
+
"type": "boolean",
|
|
4286
|
+
"required": false,
|
|
4287
|
+
"default": false,
|
|
4288
|
+
"description": "Draw the loading state (the funnel's silhouette, a light gliding through it) instead of the chart.",
|
|
4289
|
+
"since": "0.17.0"
|
|
4290
|
+
},
|
|
4291
|
+
{
|
|
4292
|
+
"name": "formatValue",
|
|
4293
|
+
"type": "((value: number) => string)",
|
|
4294
|
+
"required": false,
|
|
4295
|
+
"description": "How a stage's value is written in the header and the card. Defaults to a compact number (61.2K).",
|
|
4296
|
+
"since": "0.17.0"
|
|
4297
|
+
},
|
|
4298
|
+
{
|
|
4299
|
+
"name": "appearance",
|
|
4300
|
+
"type": "\"default\" | \"rich\"",
|
|
4301
|
+
"required": false,
|
|
4302
|
+
"values": [
|
|
4303
|
+
"default",
|
|
4304
|
+
"rich"
|
|
4305
|
+
],
|
|
4306
|
+
"description": "`rich`: the header, the drop-off chips, the stream of dots, the wipe-in and a frosted card. `flow` and `formatValue` apply to `rich` only.",
|
|
4307
|
+
"since": "0.17.0"
|
|
4308
|
+
},
|
|
4215
4309
|
{
|
|
4216
4310
|
"name": "className",
|
|
4217
4311
|
"type": "string",
|
|
@@ -4289,6 +4383,26 @@
|
|
|
4289
4383
|
],
|
|
4290
4384
|
"default": "md"
|
|
4291
4385
|
},
|
|
4386
|
+
{
|
|
4387
|
+
"name": "loading",
|
|
4388
|
+
"type": "boolean",
|
|
4389
|
+
"required": false,
|
|
4390
|
+
"default": false,
|
|
4391
|
+
"description": "Draw the loading state (the chart's own silhouette, breathing) instead of the chart.",
|
|
4392
|
+
"since": "0.17.0"
|
|
4393
|
+
},
|
|
4394
|
+
{
|
|
4395
|
+
"name": "appearance",
|
|
4396
|
+
"type": "\"default\" | \"rich\"",
|
|
4397
|
+
"required": false,
|
|
4398
|
+
"values": [
|
|
4399
|
+
"default",
|
|
4400
|
+
"rich"
|
|
4401
|
+
],
|
|
4402
|
+
"default": "default",
|
|
4403
|
+
"description": "`rich`: the livelier look (the cells arrive as a wave on mount, the hovered one lifts).",
|
|
4404
|
+
"since": "0.17.0"
|
|
4405
|
+
},
|
|
4292
4406
|
{
|
|
4293
4407
|
"name": "className",
|
|
4294
4408
|
"type": "string",
|
|
@@ -4746,6 +4860,26 @@
|
|
|
4746
4860
|
"type": "boolean",
|
|
4747
4861
|
"required": false
|
|
4748
4862
|
},
|
|
4863
|
+
{
|
|
4864
|
+
"name": "loading",
|
|
4865
|
+
"type": "boolean",
|
|
4866
|
+
"required": false,
|
|
4867
|
+
"default": false,
|
|
4868
|
+
"description": "Draw the loading state (the chart's own silhouette, breathing) instead of the chart.",
|
|
4869
|
+
"since": "0.17.0"
|
|
4870
|
+
},
|
|
4871
|
+
{
|
|
4872
|
+
"name": "appearance",
|
|
4873
|
+
"type": "\"default\" | \"rich\"",
|
|
4874
|
+
"required": false,
|
|
4875
|
+
"values": [
|
|
4876
|
+
"default",
|
|
4877
|
+
"rich"
|
|
4878
|
+
],
|
|
4879
|
+
"default": "default",
|
|
4880
|
+
"description": "`rich`: the livelier look (an entrance on mount, a soft glow and lift on hover, a frosted card).",
|
|
4881
|
+
"since": "0.17.0"
|
|
4882
|
+
},
|
|
4749
4883
|
{
|
|
4750
4884
|
"name": "className",
|
|
4751
4885
|
"type": "string",
|
|
@@ -5309,13 +5443,13 @@
|
|
|
5309
5443
|
"description": "Returns the item located at the specified index."
|
|
5310
5444
|
},
|
|
5311
5445
|
{
|
|
5312
|
-
"name": "__@iterator@
|
|
5446
|
+
"name": "__@iterator@16418",
|
|
5313
5447
|
"type": "() => ArrayIterator<number>",
|
|
5314
5448
|
"required": true,
|
|
5315
5449
|
"description": "Iterator"
|
|
5316
5450
|
},
|
|
5317
5451
|
{
|
|
5318
|
-
"name": "__@unscopables@
|
|
5452
|
+
"name": "__@unscopables@16448",
|
|
5319
5453
|
"type": "{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; concat?: boolean | undefined; join?: boolean | undefined; reverse?: boolean | undefined; shift?: boolean | undefined; slice?: boolean | undefined; sort?: boolean | undefined; splice?: boolean | undefined; unshift?: boolean | undefined; indexOf?: boolean | undefined; lastIndexOf?: boolean | undefined; every?: boolean | undefined; some?: boolean | undefined; forEach?: boolean | undefined; map?: boolean | undefined; filter?: boolean | undefined; reduce?: boolean | undefined; reduceRight?: boolean | undefined; find?: boolean | undefined; findIndex?: boolean | undefined; fill?: boolean | undefined; copyWithin?: boolean | undefined; entries?: boolean | undefined; keys?: boolean | undefined; values?: boolean | undefined; includes?: boolean | undefined; flatMap?: boolean | undefined; flat?: boolean | undefined; at?: boolean | undefined; [Symbol.iterator]?: boolean | undefined; readonly [Symbol.unscopables]?: boolean | undefined; }",
|
|
5320
5454
|
"required": true,
|
|
5321
5455
|
"description": "Is an object whose properties have the value 'true' when they will be absent when used in a 'with' statement."
|
|
@@ -5891,13 +6025,13 @@
|
|
|
5891
6025
|
"description": "Returns the item located at the specified index."
|
|
5892
6026
|
},
|
|
5893
6027
|
{
|
|
5894
|
-
"name": "__@iterator@
|
|
6028
|
+
"name": "__@iterator@16418",
|
|
5895
6029
|
"type": "() => ArrayIterator<number>",
|
|
5896
6030
|
"required": true,
|
|
5897
6031
|
"description": "Iterator"
|
|
5898
6032
|
},
|
|
5899
6033
|
{
|
|
5900
|
-
"name": "__@unscopables@
|
|
6034
|
+
"name": "__@unscopables@16448",
|
|
5901
6035
|
"type": "{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; concat?: boolean | undefined; join?: boolean | undefined; reverse?: boolean | undefined; shift?: boolean | undefined; slice?: boolean | undefined; sort?: boolean | undefined; splice?: boolean | undefined; unshift?: boolean | undefined; indexOf?: boolean | undefined; lastIndexOf?: boolean | undefined; every?: boolean | undefined; some?: boolean | undefined; forEach?: boolean | undefined; map?: boolean | undefined; filter?: boolean | undefined; reduce?: boolean | undefined; reduceRight?: boolean | undefined; find?: boolean | undefined; findIndex?: boolean | undefined; fill?: boolean | undefined; copyWithin?: boolean | undefined; entries?: boolean | undefined; keys?: boolean | undefined; values?: boolean | undefined; includes?: boolean | undefined; flatMap?: boolean | undefined; flat?: boolean | undefined; at?: boolean | undefined; [Symbol.iterator]?: boolean | undefined; readonly [Symbol.unscopables]?: boolean | undefined; }",
|
|
5902
6036
|
"required": true,
|
|
5903
6037
|
"description": "Is an object whose properties have the value 'true' when they will be absent when used in a 'with' statement."
|
|
@@ -6281,13 +6415,13 @@
|
|
|
6281
6415
|
"description": "Returns the item located at the specified index."
|
|
6282
6416
|
},
|
|
6283
6417
|
{
|
|
6284
|
-
"name": "__@iterator@
|
|
6418
|
+
"name": "__@iterator@16418",
|
|
6285
6419
|
"type": "() => ArrayIterator<number>",
|
|
6286
6420
|
"required": true,
|
|
6287
6421
|
"description": "Iterator"
|
|
6288
6422
|
},
|
|
6289
6423
|
{
|
|
6290
|
-
"name": "__@unscopables@
|
|
6424
|
+
"name": "__@unscopables@16448",
|
|
6291
6425
|
"type": "{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; concat?: boolean | undefined; join?: boolean | undefined; reverse?: boolean | undefined; shift?: boolean | undefined; slice?: boolean | undefined; sort?: boolean | undefined; splice?: boolean | undefined; unshift?: boolean | undefined; indexOf?: boolean | undefined; lastIndexOf?: boolean | undefined; every?: boolean | undefined; some?: boolean | undefined; forEach?: boolean | undefined; map?: boolean | undefined; filter?: boolean | undefined; reduce?: boolean | undefined; reduceRight?: boolean | undefined; find?: boolean | undefined; findIndex?: boolean | undefined; fill?: boolean | undefined; copyWithin?: boolean | undefined; entries?: boolean | undefined; keys?: boolean | undefined; values?: boolean | undefined; includes?: boolean | undefined; flatMap?: boolean | undefined; flat?: boolean | undefined; at?: boolean | undefined; [Symbol.iterator]?: boolean | undefined; readonly [Symbol.unscopables]?: boolean | undefined; }",
|
|
6292
6426
|
"required": true,
|
|
6293
6427
|
"description": "Is an object whose properties have the value 'true' when they will be absent when used in a 'with' statement."
|
|
@@ -6588,13 +6722,13 @@
|
|
|
6588
6722
|
"description": "Returns the item located at the specified index."
|
|
6589
6723
|
},
|
|
6590
6724
|
{
|
|
6591
|
-
"name": "__@iterator@
|
|
6725
|
+
"name": "__@iterator@16418",
|
|
6592
6726
|
"type": "() => ArrayIterator<number>",
|
|
6593
6727
|
"required": true,
|
|
6594
6728
|
"description": "Iterator"
|
|
6595
6729
|
},
|
|
6596
6730
|
{
|
|
6597
|
-
"name": "__@unscopables@
|
|
6731
|
+
"name": "__@unscopables@16448",
|
|
6598
6732
|
"type": "{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; concat?: boolean | undefined; join?: boolean | undefined; reverse?: boolean | undefined; shift?: boolean | undefined; slice?: boolean | undefined; sort?: boolean | undefined; splice?: boolean | undefined; unshift?: boolean | undefined; indexOf?: boolean | undefined; lastIndexOf?: boolean | undefined; every?: boolean | undefined; some?: boolean | undefined; forEach?: boolean | undefined; map?: boolean | undefined; filter?: boolean | undefined; reduce?: boolean | undefined; reduceRight?: boolean | undefined; find?: boolean | undefined; findIndex?: boolean | undefined; fill?: boolean | undefined; copyWithin?: boolean | undefined; entries?: boolean | undefined; keys?: boolean | undefined; values?: boolean | undefined; includes?: boolean | undefined; flatMap?: boolean | undefined; flat?: boolean | undefined; at?: boolean | undefined; [Symbol.iterator]?: boolean | undefined; readonly [Symbol.unscopables]?: boolean | undefined; }",
|
|
6599
6733
|
"required": true,
|
|
6600
6734
|
"description": "Is an object whose properties have the value 'true' when they will be absent when used in a 'with' statement."
|
|
@@ -7367,6 +7501,26 @@
|
|
|
7367
7501
|
"type": "string",
|
|
7368
7502
|
"required": false
|
|
7369
7503
|
},
|
|
7504
|
+
{
|
|
7505
|
+
"name": "loading",
|
|
7506
|
+
"type": "boolean",
|
|
7507
|
+
"required": false,
|
|
7508
|
+
"default": false,
|
|
7509
|
+
"description": "Draw the loading state (the chart's own silhouette, breathing) instead of the chart.",
|
|
7510
|
+
"since": "0.17.0"
|
|
7511
|
+
},
|
|
7512
|
+
{
|
|
7513
|
+
"name": "appearance",
|
|
7514
|
+
"type": "\"default\" | \"rich\"",
|
|
7515
|
+
"required": false,
|
|
7516
|
+
"values": [
|
|
7517
|
+
"default",
|
|
7518
|
+
"rich"
|
|
7519
|
+
],
|
|
7520
|
+
"default": "default",
|
|
7521
|
+
"description": "`rich`: the livelier look (turns into place on mount, the hovered slice lifts, a frosted card).",
|
|
7522
|
+
"since": "0.17.0"
|
|
7523
|
+
},
|
|
7370
7524
|
{
|
|
7371
7525
|
"name": "className",
|
|
7372
7526
|
"type": "string",
|
|
@@ -8245,6 +8399,34 @@
|
|
|
8245
8399
|
"default": "['Value', 'Value 2']",
|
|
8246
8400
|
"description": "Legend labels for `value` / `value2`, shown for \"multiple\"."
|
|
8247
8401
|
},
|
|
8402
|
+
{
|
|
8403
|
+
"name": "loading",
|
|
8404
|
+
"type": "boolean",
|
|
8405
|
+
"required": false,
|
|
8406
|
+
"default": false,
|
|
8407
|
+
"description": "Draw the loading state (the radar's own silhouette, breathing) instead of the chart.",
|
|
8408
|
+
"since": "0.17.0"
|
|
8409
|
+
},
|
|
8410
|
+
{
|
|
8411
|
+
"name": "appearance",
|
|
8412
|
+
"type": "\"default\" | \"rich\"",
|
|
8413
|
+
"required": false,
|
|
8414
|
+
"values": [
|
|
8415
|
+
"default",
|
|
8416
|
+
"rich"
|
|
8417
|
+
],
|
|
8418
|
+
"default": "default",
|
|
8419
|
+
"description": "`rich`: the livelier look. Shapes get a soft gradient fill, a crisp edge and a glow, grow out of the centre on mount and morph when the data changes, and hovering a spoke draws a crosshair, a dot on each series and a card with the values and the gap between two series.",
|
|
8420
|
+
"since": "0.17.0"
|
|
8421
|
+
},
|
|
8422
|
+
{
|
|
8423
|
+
"name": "interactive",
|
|
8424
|
+
"type": "boolean",
|
|
8425
|
+
"required": false,
|
|
8426
|
+
"default": true,
|
|
8427
|
+
"description": "appearance=\"rich\" only: the spoke crosshair and its card. Default true.",
|
|
8428
|
+
"since": "0.17.0"
|
|
8429
|
+
},
|
|
8248
8430
|
{
|
|
8249
8431
|
"name": "className",
|
|
8250
8432
|
"type": "string",
|
|
@@ -8331,6 +8513,26 @@
|
|
|
8331
8513
|
"type": "string",
|
|
8332
8514
|
"required": false
|
|
8333
8515
|
},
|
|
8516
|
+
{
|
|
8517
|
+
"name": "loading",
|
|
8518
|
+
"type": "boolean",
|
|
8519
|
+
"required": false,
|
|
8520
|
+
"default": false,
|
|
8521
|
+
"description": "Draw the loading state (the chart's own silhouette, breathing) instead of the chart.",
|
|
8522
|
+
"since": "0.17.0"
|
|
8523
|
+
},
|
|
8524
|
+
{
|
|
8525
|
+
"name": "appearance",
|
|
8526
|
+
"type": "\"default\" | \"rich\"",
|
|
8527
|
+
"required": false,
|
|
8528
|
+
"values": [
|
|
8529
|
+
"default",
|
|
8530
|
+
"rich"
|
|
8531
|
+
],
|
|
8532
|
+
"default": "default",
|
|
8533
|
+
"description": "`rich`: the livelier look (turns into place on mount, the rings and gauges rise in).",
|
|
8534
|
+
"since": "0.17.0"
|
|
8535
|
+
},
|
|
8334
8536
|
{
|
|
8335
8537
|
"name": "className",
|
|
8336
8538
|
"type": "string",
|