@wonderflow/react-components 13.0.0 → 14.0.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/components/circular-progress/circular-progress.module.css +1 -1
- package/dist/components/expander/expander.module.css +1 -1
- package/dist/examples/charts/storybook/bar-chart.stories.d.ts.map +1 -1
- package/dist/examples/charts/storybook/bar-chart.stories.js +5 -7
- package/dist/examples/charts/storybook/line-chart.stories.d.ts +18 -18
- package/dist/examples/charts/storybook/line-chart.stories.d.ts.map +1 -1
- package/dist/examples/charts/storybook/line-chart.stories.js +4 -6
- package/dist/examples/charts/storybook/stack-bar-chart.stories.d.ts +22 -0
- package/dist/examples/charts/storybook/stack-bar-chart.stories.d.ts.map +1 -0
- package/dist/examples/charts/storybook/stack-bar-chart.stories.js +324 -0
- package/package.json +11 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer components{.CircularProgress{--hue:220;--track-size:4px;--track-bg:var(--dimmed-1);aspect-ratio:1/1;display:grid;font-size:1rem;font-weight:token(--wds-wds-font-weight-bold);inline-size:4rem;min-inline-size:64px;place-items:center;position:relative}.CircularProgress[data-circular-progress-show-progress=true]:after{content:attr(data-circular-progress);display:block}.CircularProgress[data-circular-progress-dimension=regular]{--track-size:8px;font-size:1.75rem;inline-size:8.5rem}.CircularProgress[data-circular-progress-dimension=big]{--track-size:16px;font-size:2.5rem;inline-size:11.5rem}.CircularProgress:before{background:conic-gradient(var(--progress-color,var(--cta-default)),var(--progress-color,var(--cta-default)) var(--progress,0),var(--track-bg) var(--progress,0) 100%);border-radius:50%;bottom:0;content:"";left:0
|
|
1
|
+
@layer components{.CircularProgress{--hue:220;--track-size:4px;--track-bg:var(--dimmed-1);aspect-ratio:1/1;display:grid;font-size:1rem;font-weight:token(--wds-wds-font-weight-bold);inline-size:4rem;min-inline-size:64px;place-items:center;position:relative}.CircularProgress[data-circular-progress-show-progress=true]:after{content:attr(data-circular-progress);display:block}.CircularProgress[data-circular-progress-dimension=regular]{--track-size:8px;font-size:1.75rem;inline-size:8.5rem}.CircularProgress[data-circular-progress-dimension=big]{--track-size:16px;font-size:2.5rem;inline-size:11.5rem}.CircularProgress:before{background:conic-gradient(var(--progress-color,var(--cta-default)),var(--progress-color,var(--cta-default)) var(--progress,0),var(--track-bg) var(--progress,0) 100%);border-radius:50%;bottom:0;content:"";left:0;mask-image:radial-gradient(transparent calc(71% - var(--track-size)),#000 calc(71% - var(--track-size) + .5px));position:absolute;right:0;top:0;z-index:0}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer components{.Expander{--threshold:3rem;position:relative}.Content{
|
|
1
|
+
@layer components{.Expander{--threshold:3rem;position:relative}.Content{mask-image:linear-gradient(to bottom,red calc(100% - var(--threshold)*1.5),transparent 80%);overflow:hidden}.Expander[data-expander-collapsed=false] .Content{height:auto;mask-image:none}.Action{margin-top:calc(var(--threshold)*-1)}.Expander[data-expander-collapsed=false] .Action{margin-top:1rem}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bar-chart.stories.d.ts","sourceRoot":"","sources":["../../../../src/examples/charts/storybook/bar-chart.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAwB,MAAM,oBAAoB,CAAC;AAcnF,QAAA,MAAM,KAAK,EAAE,aAAa,CAAC,OAAO,QAAQ,CAiDzC,CAAC;AAEF,eAAe,KAAK,CAAC;AAIrB,eAAO,MAAM,OAAO,mDAAoB,CAAC;AAGzC,eAAO,MAAM,WAAW,mDAAoB,CAAC;AAS7C,eAAO,MAAM,mBAAmB,mDAAoB,CAAC;AAiBrD,eAAO,MAAM,kBAAkB,mDAAoB,CAAC;AAiBpD,eAAO,MAAM,WAAW,mDAAoB,CAAC;AAM7C,eAAO,MAAM,aAAa,mDAAoB,CAAC;AAW/C,eAAO,MAAM,qBAAqB,mDAAoB,CAAC;AAevD,eAAO,MAAM,cAAc,mDAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"bar-chart.stories.d.ts","sourceRoot":"","sources":["../../../../src/examples/charts/storybook/bar-chart.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAwB,MAAM,oBAAoB,CAAC;AAcnF,QAAA,MAAM,KAAK,EAAE,aAAa,CAAC,OAAO,QAAQ,CAiDzC,CAAC;AAEF,eAAe,KAAK,CAAC;AAIrB,eAAO,MAAM,OAAO,mDAAoB,CAAC;AAGzC,eAAO,MAAM,WAAW,mDAAoB,CAAC;AAS7C,eAAO,MAAM,mBAAmB,mDAAoB,CAAC;AAiBrD,eAAO,MAAM,kBAAkB,mDAAoB,CAAC;AAiBpD,eAAO,MAAM,WAAW,mDAAoB,CAAC;AAM7C,eAAO,MAAM,aAAa,mDAAoB,CAAC;AAW/C,eAAO,MAAM,qBAAqB,mDAAoB,CAAC;AAevD,eAAO,MAAM,cAAc,mDAAoB,CAAC;AAyBhD,eAAO,MAAM,cAAc,mDAAoB,CAAC;AAehD,eAAO,MAAM,mBAAmB,mDAAoB,CAAC;AAerD,eAAO,MAAM,qBAAqB,mDAAoB,CAAC;AAYvD,eAAO,MAAM,eAAe,mDAAoB,CAAC;AAUjD,eAAO,MAAM,kBAAkB,mDAAoB,CAAC;AA0BpD,eAAO,MAAM,SAAS,mDAAoB,CAAC;AAiC3C,eAAO,MAAM,QAAQ,mDAAoB,CAAC;AAkB1C,eAAO,MAAM,UAAU,mDAA8B,CAAC"}
|
|
@@ -13,8 +13,8 @@ const story = {
|
|
|
13
13
|
title: 'Bar Chart',
|
|
14
14
|
subtitle: 'A simple bar chart',
|
|
15
15
|
sortBy: 'as-is',
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
isStacked: false,
|
|
17
|
+
showLabel: false,
|
|
18
18
|
isLoading: false,
|
|
19
19
|
showAverage: false,
|
|
20
20
|
showTrendline: false,
|
|
@@ -140,20 +140,18 @@ withNestedData.args = {
|
|
|
140
140
|
},
|
|
141
141
|
series: {
|
|
142
142
|
dataKey: ['1 star.value', '2 stars.value', '3 stars.value', '4 stars.value', '5 stars.value'],
|
|
143
|
+
extraData: (datum) => `${datum.percentage}%`,
|
|
143
144
|
label: 'Feedback count',
|
|
144
145
|
domain: [0, 4000],
|
|
145
146
|
},
|
|
146
147
|
overlay: {
|
|
147
148
|
dataKey: ['overlay.value'],
|
|
149
|
+
extraData: (datum) => `${datum.percentage}%`,
|
|
148
150
|
rename: _ => 'Some KPI',
|
|
149
151
|
label: 'Some KPI',
|
|
150
152
|
domain: [0, 5],
|
|
151
153
|
},
|
|
152
|
-
|
|
153
|
-
extraSeriesData: (series) => `${series.percentage}%`,
|
|
154
|
-
extraOverlayData: (overlay) => `${overlay.percentage}%`,
|
|
155
|
-
extraContent: _jsx("div", { children: "some extra content" }),
|
|
156
|
-
},
|
|
154
|
+
tooltipExtraContent: _jsx("div", { children: "some extra content" }),
|
|
157
155
|
};
|
|
158
156
|
export const withBackground = Template.bind({});
|
|
159
157
|
withBackground.args = {
|
|
@@ -14,7 +14,7 @@ export declare const Default: ComponentStory<import("react").ForwardRefExoticCom
|
|
|
14
14
|
overlay?: import("@wonderflow/charts").LineChartSeries | undefined;
|
|
15
15
|
showAverage?: boolean | undefined;
|
|
16
16
|
showTrendline?: boolean | undefined;
|
|
17
|
-
|
|
17
|
+
tooltipExtraContent?: import("react").ReactNode;
|
|
18
18
|
preventTooltipDisplay?: boolean | undefined;
|
|
19
19
|
hideMissingDataConnection?: boolean | undefined;
|
|
20
20
|
showMarker?: boolean | undefined;
|
|
@@ -31,7 +31,7 @@ export declare const withOverlay: ComponentStory<import("react").ForwardRefExoti
|
|
|
31
31
|
overlay?: import("@wonderflow/charts").LineChartSeries | undefined;
|
|
32
32
|
showAverage?: boolean | undefined;
|
|
33
33
|
showTrendline?: boolean | undefined;
|
|
34
|
-
|
|
34
|
+
tooltipExtraContent?: import("react").ReactNode;
|
|
35
35
|
preventTooltipDisplay?: boolean | undefined;
|
|
36
36
|
hideMissingDataConnection?: boolean | undefined;
|
|
37
37
|
showMarker?: boolean | undefined;
|
|
@@ -48,7 +48,7 @@ export declare const withMultipleOverlay: ComponentStory<import("react").Forward
|
|
|
48
48
|
overlay?: import("@wonderflow/charts").LineChartSeries | undefined;
|
|
49
49
|
showAverage?: boolean | undefined;
|
|
50
50
|
showTrendline?: boolean | undefined;
|
|
51
|
-
|
|
51
|
+
tooltipExtraContent?: import("react").ReactNode;
|
|
52
52
|
preventTooltipDisplay?: boolean | undefined;
|
|
53
53
|
hideMissingDataConnection?: boolean | undefined;
|
|
54
54
|
showMarker?: boolean | undefined;
|
|
@@ -65,7 +65,7 @@ export declare const withAverage: ComponentStory<import("react").ForwardRefExoti
|
|
|
65
65
|
overlay?: import("@wonderflow/charts").LineChartSeries | undefined;
|
|
66
66
|
showAverage?: boolean | undefined;
|
|
67
67
|
showTrendline?: boolean | undefined;
|
|
68
|
-
|
|
68
|
+
tooltipExtraContent?: import("react").ReactNode;
|
|
69
69
|
preventTooltipDisplay?: boolean | undefined;
|
|
70
70
|
hideMissingDataConnection?: boolean | undefined;
|
|
71
71
|
showMarker?: boolean | undefined;
|
|
@@ -82,7 +82,7 @@ export declare const withTrendline: ComponentStory<import("react").ForwardRefExo
|
|
|
82
82
|
overlay?: import("@wonderflow/charts").LineChartSeries | undefined;
|
|
83
83
|
showAverage?: boolean | undefined;
|
|
84
84
|
showTrendline?: boolean | undefined;
|
|
85
|
-
|
|
85
|
+
tooltipExtraContent?: import("react").ReactNode;
|
|
86
86
|
preventTooltipDisplay?: boolean | undefined;
|
|
87
87
|
hideMissingDataConnection?: boolean | undefined;
|
|
88
88
|
showMarker?: boolean | undefined;
|
|
@@ -99,7 +99,7 @@ export declare const withMissingData: ComponentStory<import("react").ForwardRefE
|
|
|
99
99
|
overlay?: import("@wonderflow/charts").LineChartSeries | undefined;
|
|
100
100
|
showAverage?: boolean | undefined;
|
|
101
101
|
showTrendline?: boolean | undefined;
|
|
102
|
-
|
|
102
|
+
tooltipExtraContent?: import("react").ReactNode;
|
|
103
103
|
preventTooltipDisplay?: boolean | undefined;
|
|
104
104
|
hideMissingDataConnection?: boolean | undefined;
|
|
105
105
|
showMarker?: boolean | undefined;
|
|
@@ -116,7 +116,7 @@ export declare const withMultipleSeries: ComponentStory<import("react").ForwardR
|
|
|
116
116
|
overlay?: import("@wonderflow/charts").LineChartSeries | undefined;
|
|
117
117
|
showAverage?: boolean | undefined;
|
|
118
118
|
showTrendline?: boolean | undefined;
|
|
119
|
-
|
|
119
|
+
tooltipExtraContent?: import("react").ReactNode;
|
|
120
120
|
preventTooltipDisplay?: boolean | undefined;
|
|
121
121
|
hideMissingDataConnection?: boolean | undefined;
|
|
122
122
|
showMarker?: boolean | undefined;
|
|
@@ -133,7 +133,7 @@ export declare const withCategoriesOnIndex: ComponentStory<import("react").Forwa
|
|
|
133
133
|
overlay?: import("@wonderflow/charts").LineChartSeries | undefined;
|
|
134
134
|
showAverage?: boolean | undefined;
|
|
135
135
|
showTrendline?: boolean | undefined;
|
|
136
|
-
|
|
136
|
+
tooltipExtraContent?: import("react").ReactNode;
|
|
137
137
|
preventTooltipDisplay?: boolean | undefined;
|
|
138
138
|
hideMissingDataConnection?: boolean | undefined;
|
|
139
139
|
showMarker?: boolean | undefined;
|
|
@@ -150,7 +150,7 @@ export declare const withNestedData: ComponentStory<import("react").ForwardRefEx
|
|
|
150
150
|
overlay?: import("@wonderflow/charts").LineChartSeries | undefined;
|
|
151
151
|
showAverage?: boolean | undefined;
|
|
152
152
|
showTrendline?: boolean | undefined;
|
|
153
|
-
|
|
153
|
+
tooltipExtraContent?: import("react").ReactNode;
|
|
154
154
|
preventTooltipDisplay?: boolean | undefined;
|
|
155
155
|
hideMissingDataConnection?: boolean | undefined;
|
|
156
156
|
showMarker?: boolean | undefined;
|
|
@@ -167,7 +167,7 @@ export declare const withCustomLineStyle: ComponentStory<import("react").Forward
|
|
|
167
167
|
overlay?: import("@wonderflow/charts").LineChartSeries | undefined;
|
|
168
168
|
showAverage?: boolean | undefined;
|
|
169
169
|
showTrendline?: boolean | undefined;
|
|
170
|
-
|
|
170
|
+
tooltipExtraContent?: import("react").ReactNode;
|
|
171
171
|
preventTooltipDisplay?: boolean | undefined;
|
|
172
172
|
hideMissingDataConnection?: boolean | undefined;
|
|
173
173
|
showMarker?: boolean | undefined;
|
|
@@ -184,7 +184,7 @@ export declare const withBrush: ComponentStory<import("react").ForwardRefExoticC
|
|
|
184
184
|
overlay?: import("@wonderflow/charts").LineChartSeries | undefined;
|
|
185
185
|
showAverage?: boolean | undefined;
|
|
186
186
|
showTrendline?: boolean | undefined;
|
|
187
|
-
|
|
187
|
+
tooltipExtraContent?: import("react").ReactNode;
|
|
188
188
|
preventTooltipDisplay?: boolean | undefined;
|
|
189
189
|
hideMissingDataConnection?: boolean | undefined;
|
|
190
190
|
showMarker?: boolean | undefined;
|
|
@@ -201,7 +201,7 @@ export declare const withCustomDomain: ComponentStory<import("react").ForwardRef
|
|
|
201
201
|
overlay?: import("@wonderflow/charts").LineChartSeries | undefined;
|
|
202
202
|
showAverage?: boolean | undefined;
|
|
203
203
|
showTrendline?: boolean | undefined;
|
|
204
|
-
|
|
204
|
+
tooltipExtraContent?: import("react").ReactNode;
|
|
205
205
|
preventTooltipDisplay?: boolean | undefined;
|
|
206
206
|
hideMissingDataConnection?: boolean | undefined;
|
|
207
207
|
showMarker?: boolean | undefined;
|
|
@@ -218,7 +218,7 @@ export declare const withVerticalLayout: ComponentStory<import("react").ForwardR
|
|
|
218
218
|
overlay?: import("@wonderflow/charts").LineChartSeries | undefined;
|
|
219
219
|
showAverage?: boolean | undefined;
|
|
220
220
|
showTrendline?: boolean | undefined;
|
|
221
|
-
|
|
221
|
+
tooltipExtraContent?: import("react").ReactNode;
|
|
222
222
|
preventTooltipDisplay?: boolean | undefined;
|
|
223
223
|
hideMissingDataConnection?: boolean | undefined;
|
|
224
224
|
showMarker?: boolean | undefined;
|
|
@@ -235,7 +235,7 @@ export declare const withNoData: ComponentStory<import("react").ForwardRefExotic
|
|
|
235
235
|
overlay?: import("@wonderflow/charts").LineChartSeries | undefined;
|
|
236
236
|
showAverage?: boolean | undefined;
|
|
237
237
|
showTrendline?: boolean | undefined;
|
|
238
|
-
|
|
238
|
+
tooltipExtraContent?: import("react").ReactNode;
|
|
239
239
|
preventTooltipDisplay?: boolean | undefined;
|
|
240
240
|
hideMissingDataConnection?: boolean | undefined;
|
|
241
241
|
showMarker?: boolean | undefined;
|
|
@@ -252,7 +252,7 @@ export declare const WithMenu: ComponentStory<import("react").ForwardRefExoticCo
|
|
|
252
252
|
overlay?: import("@wonderflow/charts").LineChartSeries | undefined;
|
|
253
253
|
showAverage?: boolean | undefined;
|
|
254
254
|
showTrendline?: boolean | undefined;
|
|
255
|
-
|
|
255
|
+
tooltipExtraContent?: import("react").ReactNode;
|
|
256
256
|
preventTooltipDisplay?: boolean | undefined;
|
|
257
257
|
hideMissingDataConnection?: boolean | undefined;
|
|
258
258
|
showMarker?: boolean | undefined;
|
|
@@ -269,7 +269,7 @@ export declare const renderAsLines: ComponentStory<import("react").ForwardRefExo
|
|
|
269
269
|
overlay?: import("@wonderflow/charts").LineChartSeries | undefined;
|
|
270
270
|
showAverage?: boolean | undefined;
|
|
271
271
|
showTrendline?: boolean | undefined;
|
|
272
|
-
|
|
272
|
+
tooltipExtraContent?: import("react").ReactNode;
|
|
273
273
|
preventTooltipDisplay?: boolean | undefined;
|
|
274
274
|
hideMissingDataConnection?: boolean | undefined;
|
|
275
275
|
showMarker?: boolean | undefined;
|
|
@@ -286,7 +286,7 @@ export declare const renderAsSteps: ComponentStory<import("react").ForwardRefExo
|
|
|
286
286
|
overlay?: import("@wonderflow/charts").LineChartSeries | undefined;
|
|
287
287
|
showAverage?: boolean | undefined;
|
|
288
288
|
showTrendline?: boolean | undefined;
|
|
289
|
-
|
|
289
|
+
tooltipExtraContent?: import("react").ReactNode;
|
|
290
290
|
preventTooltipDisplay?: boolean | undefined;
|
|
291
291
|
hideMissingDataConnection?: boolean | undefined;
|
|
292
292
|
showMarker?: boolean | undefined;
|
|
@@ -303,7 +303,7 @@ export declare const WithinCard: ComponentStory<import("react").ForwardRefExotic
|
|
|
303
303
|
overlay?: import("@wonderflow/charts").LineChartSeries | undefined;
|
|
304
304
|
showAverage?: boolean | undefined;
|
|
305
305
|
showTrendline?: boolean | undefined;
|
|
306
|
-
|
|
306
|
+
tooltipExtraContent?: import("react").ReactNode;
|
|
307
307
|
preventTooltipDisplay?: boolean | undefined;
|
|
308
308
|
hideMissingDataConnection?: boolean | undefined;
|
|
309
309
|
showMarker?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"line-chart.stories.d.ts","sourceRoot":"","sources":["../../../../src/examples/charts/storybook/line-chart.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,SAAS,EAAkB,MAAM,oBAAoB,CAAC;AAUrF,eAAO,MAAM,QAAQ,aAyBpB,CAAC;AAEF,QAAA,MAAM,KAAK,EAAE,aAAa,CAAC,OAAO,SAAS,CAgD1C,CAAC;AAEF,eAAe,KAAK,CAAC;AAIrB,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;uLAAoB,CAAC;AAGzC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;uLAAoB,CAAC;AAS7C,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;uLAAoB,CAAC;AASrD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;uLAAoB,CAAC;AAM7C,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;uLAAoB,CAAC;AAU/C,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;uLAAoB,CAAC;AAUjD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;uLAAoB,CAAC;AAiBpD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;uLAAoB,CAAC;AAevD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;uLAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"line-chart.stories.d.ts","sourceRoot":"","sources":["../../../../src/examples/charts/storybook/line-chart.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,SAAS,EAAkB,MAAM,oBAAoB,CAAC;AAUrF,eAAO,MAAM,QAAQ,aAyBpB,CAAC;AAEF,QAAA,MAAM,KAAK,EAAE,aAAa,CAAC,OAAO,SAAS,CAgD1C,CAAC;AAEF,eAAe,KAAK,CAAC;AAIrB,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;uLAAoB,CAAC;AAGzC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;uLAAoB,CAAC;AAS7C,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;uLAAoB,CAAC;AASrD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;uLAAoB,CAAC;AAM7C,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;uLAAoB,CAAC;AAU/C,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;uLAAoB,CAAC;AAUjD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;uLAAoB,CAAC;AAiBpD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;uLAAoB,CAAC;AAevD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;uLAAoB,CAAC;AA8BhD,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;uLAAoB,CAAC;AA8BrD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;uLAAoB,CAAC;AAiC3C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;uLAAoB,CAAC;AAclD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;uLAAoB,CAAC;AAiBpD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;uLAAoB,CAAC;AAQ5C,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;uLAAoB,CAAC;AAK1C,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;uLAAoB,CAAC;AAiB/C,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;uLAAoB,CAAC;AA8B/C,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;uLAA8B,CAAC"}
|
|
@@ -138,22 +138,20 @@ withNestedData.args = {
|
|
|
138
138
|
},
|
|
139
139
|
series: {
|
|
140
140
|
dataKey: ['1 star.value', '2 stars.value', '3 stars.value', '4 stars.value', '5 stars.value'],
|
|
141
|
+
extraData: (datum) => `${datum.percentage}%`,
|
|
141
142
|
label: 'Feedback count',
|
|
142
|
-
rename: (_, i) => Array(i + 1).fill('⭐').join(),
|
|
143
|
+
rename: (_, i) => Array((i ?? 0) + 1).fill('⭐').join(),
|
|
143
144
|
},
|
|
144
145
|
overlay: {
|
|
145
146
|
dataKey: ['overlay.value'],
|
|
147
|
+
extraData: (datum) => `${datum.percentage}%`,
|
|
146
148
|
label: 'TGW',
|
|
147
149
|
domain: [0, 5],
|
|
148
150
|
style: [{
|
|
149
151
|
strokeDasharray: '2 4',
|
|
150
152
|
}],
|
|
151
153
|
},
|
|
152
|
-
|
|
153
|
-
extraSeriesData: (series) => `${series.percentage}%`,
|
|
154
|
-
extraOverlayData: (overlay) => `${overlay.percentage}%`,
|
|
155
|
-
extraContent: _jsx("div", { children: "some extra content" }),
|
|
156
|
-
},
|
|
154
|
+
tooltipExtraContent: _jsx("div", { children: "some extra content" }),
|
|
157
155
|
renderAs: 'lines',
|
|
158
156
|
layout: CartesianChartLayout.VERTICAL,
|
|
159
157
|
showMarker: true,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
3
|
+
import { BarChart, BarChartProps } from '@wonderflow/charts';
|
|
4
|
+
declare const story: ComponentMeta<typeof BarChart>;
|
|
5
|
+
export default story;
|
|
6
|
+
export declare const Default: ComponentStory<import("react").FC<BarChartProps>>;
|
|
7
|
+
export declare const withOverlay: ComponentStory<import("react").FC<BarChartProps>>;
|
|
8
|
+
export declare const withMultipleOverlay: ComponentStory<import("react").FC<BarChartProps>>;
|
|
9
|
+
export declare const withMultipleSeries: ComponentStory<import("react").FC<BarChartProps>>;
|
|
10
|
+
export declare const withCategoriesOnIndex: ComponentStory<import("react").FC<BarChartProps>>;
|
|
11
|
+
export declare const withNestedData: ComponentStory<import("react").FC<BarChartProps>>;
|
|
12
|
+
export declare const withBackground: ComponentStory<import("react").FC<BarChartProps>>;
|
|
13
|
+
export declare const withAscendingOrder: ComponentStory<import("react").FC<BarChartProps>>;
|
|
14
|
+
export declare const withDescendingOrder: ComponentStory<import("react").FC<BarChartProps>>;
|
|
15
|
+
export declare const PositiveAndNegative: ComponentStory<import("react").FC<BarChartProps>>;
|
|
16
|
+
export declare const withVerticalFixedBars: ComponentStory<import("react").FC<BarChartProps>>;
|
|
17
|
+
export declare const withMissingData: ComponentStory<import("react").FC<BarChartProps>>;
|
|
18
|
+
export declare const withCustomBarStyle: ComponentStory<import("react").FC<BarChartProps>>;
|
|
19
|
+
export declare const withBrush: ComponentStory<import("react").FC<BarChartProps>>;
|
|
20
|
+
export declare const WithMenu: ComponentStory<import("react").FC<BarChartProps>>;
|
|
21
|
+
export declare const WithinCard: ComponentStory<import("react").FC<BarChartProps>>;
|
|
22
|
+
//# sourceMappingURL=stack-bar-chart.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stack-bar-chart.stories.d.ts","sourceRoot":"","sources":["../../../../src/examples/charts/storybook/stack-bar-chart.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAwB,MAAM,oBAAoB,CAAC;AAcnF,QAAA,MAAM,KAAK,EAAE,aAAa,CAAC,OAAO,QAAQ,CAiDzC,CAAC;AAEF,eAAe,KAAK,CAAC;AAIrB,eAAO,MAAM,OAAO,mDAAoB,CAAC;AAGzC,eAAO,MAAM,WAAW,mDAAoB,CAAC;AAS7C,eAAO,MAAM,mBAAmB,mDAAoB,CAAC;AAiBrD,eAAO,MAAM,kBAAkB,mDAAoB,CAAC;AAiBpD,eAAO,MAAM,qBAAqB,mDAAoB,CAAC;AAcvD,eAAO,MAAM,cAAc,mDAAoB,CAAC;AAyBhD,eAAO,MAAM,cAAc,mDAAoB,CAAC;AAiBhD,eAAO,MAAM,kBAAkB,mDAAoB,CAAC;AAiBpD,eAAO,MAAM,mBAAmB,mDAAoB,CAAC;AAiBrD,eAAO,MAAM,mBAAmB,mDAAoB,CAAC;AAerD,eAAO,MAAM,qBAAqB,mDAAoB,CAAC;AAYvD,eAAO,MAAM,eAAe,mDAAoB,CAAC;AAUjD,eAAO,MAAM,kBAAkB,mDAAoB,CAAC;AAyBpD,eAAO,MAAM,SAAS,mDAAoB,CAAC;AAiC3C,eAAO,MAAM,QAAQ,mDAAoB,CAAC;AAuC1C,eAAO,MAAM,UAAU,mDAA8B,CAAC"}
|
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { BarChart, CartesianChartLayout } from '@wonderflow/charts';
|
|
3
|
+
import { Card } from '../../..';
|
|
4
|
+
// import { BarChart, BarChartProps, CartesianChartLayout } from '../../../../../charts/src';
|
|
5
|
+
import { channels, channelsB, feedbackCount, feedbackCountGaps, proCons, products, } from '../mock-data';
|
|
6
|
+
import { positiveNegative } from '../mock-data/positiveNegative';
|
|
7
|
+
import { FakeMenu } from './line-chart.stories';
|
|
8
|
+
import styles from './sb-charts.module.css';
|
|
9
|
+
const story = {
|
|
10
|
+
title: 'Charts/Stacked Bar Chart',
|
|
11
|
+
component: BarChart,
|
|
12
|
+
args: {
|
|
13
|
+
title: 'Stacked Bar Chart',
|
|
14
|
+
subtitle: 'with a single series od data',
|
|
15
|
+
sortBy: 'as-is',
|
|
16
|
+
isStacked: true,
|
|
17
|
+
showLabel: false,
|
|
18
|
+
isLoading: false,
|
|
19
|
+
showAverage: false,
|
|
20
|
+
showTrendline: false,
|
|
21
|
+
showBrush: false,
|
|
22
|
+
showBackground: false,
|
|
23
|
+
hideLegend: false,
|
|
24
|
+
hidePadding: false,
|
|
25
|
+
preventTooltipDisplay: false,
|
|
26
|
+
preventResponsive: false,
|
|
27
|
+
layout: CartesianChartLayout.HORIZONTAL,
|
|
28
|
+
theme: 'light',
|
|
29
|
+
reverseIndex: false,
|
|
30
|
+
mirrorDomains: false,
|
|
31
|
+
fixedBarSize: false,
|
|
32
|
+
data: feedbackCount,
|
|
33
|
+
index: {
|
|
34
|
+
dataKey: 'date',
|
|
35
|
+
label: 'Year',
|
|
36
|
+
},
|
|
37
|
+
series: {
|
|
38
|
+
dataKey: ['feedback count'],
|
|
39
|
+
label: 'Feedback Count',
|
|
40
|
+
},
|
|
41
|
+
overlay: undefined,
|
|
42
|
+
menu: undefined,
|
|
43
|
+
},
|
|
44
|
+
argTypes: {
|
|
45
|
+
layout: {
|
|
46
|
+
options: ['horizontal', 'vertical'],
|
|
47
|
+
control: { type: 'radio' },
|
|
48
|
+
},
|
|
49
|
+
sortBy: {
|
|
50
|
+
options: ['descending-key', 'ascending-key', 'descending-value', 'ascending-value', 'as-is'],
|
|
51
|
+
control: { type: 'select' },
|
|
52
|
+
},
|
|
53
|
+
theme: {
|
|
54
|
+
options: ['light', 'dark'],
|
|
55
|
+
control: { type: 'radio' },
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
export default story;
|
|
60
|
+
const Template = (args) => _jsx(BarChart, { ...args });
|
|
61
|
+
export const Default = Template.bind({});
|
|
62
|
+
Default.args = {};
|
|
63
|
+
export const withOverlay = Template.bind({});
|
|
64
|
+
withOverlay.args = {
|
|
65
|
+
subtitle: 'with a series and one overlay',
|
|
66
|
+
overlay: {
|
|
67
|
+
dataKey: ['overlay'],
|
|
68
|
+
label: 'Overlay',
|
|
69
|
+
},
|
|
70
|
+
};
|
|
71
|
+
export const withMultipleOverlay = Template.bind({});
|
|
72
|
+
withMultipleOverlay.args = {
|
|
73
|
+
subtitle: 'with one series and two overlay',
|
|
74
|
+
series: {
|
|
75
|
+
dataKey: ['feedback count'],
|
|
76
|
+
label: 'Feedback Count',
|
|
77
|
+
domain: [0, 12000],
|
|
78
|
+
},
|
|
79
|
+
overlay: {
|
|
80
|
+
dataKey: ['overlay', 'overlayB'],
|
|
81
|
+
rename: ((o, i) => (i === 0 ? 'OverlayA' : o)),
|
|
82
|
+
label: 'Overlay',
|
|
83
|
+
domain: [0, 1],
|
|
84
|
+
},
|
|
85
|
+
data: feedbackCount.slice(11),
|
|
86
|
+
};
|
|
87
|
+
export const withMultipleSeries = Template.bind({});
|
|
88
|
+
withMultipleSeries.args = {
|
|
89
|
+
subtitle: 'with multiple series and trendlines',
|
|
90
|
+
data: proCons,
|
|
91
|
+
showTrendline: true,
|
|
92
|
+
index: {
|
|
93
|
+
dataKey: 'date',
|
|
94
|
+
label: 'Time',
|
|
95
|
+
},
|
|
96
|
+
series: {
|
|
97
|
+
domain: [0, 140],
|
|
98
|
+
dataKey: ['positive', 'negative', 'neutral'],
|
|
99
|
+
label: 'Pros & cons',
|
|
100
|
+
style: [undefined, undefined, { fill: 'gray' }],
|
|
101
|
+
},
|
|
102
|
+
};
|
|
103
|
+
export const withCategoriesOnIndex = Template.bind({});
|
|
104
|
+
withCategoriesOnIndex.args = {
|
|
105
|
+
subtitle: 'with categories on index axis',
|
|
106
|
+
data: channels,
|
|
107
|
+
index: {
|
|
108
|
+
dataKey: 'channel',
|
|
109
|
+
label: 'Channels',
|
|
110
|
+
},
|
|
111
|
+
series: {
|
|
112
|
+
dataKey: ['1 star', '2 stars', '3 stars', '4 stars', '5 stars'],
|
|
113
|
+
label: 'Stars count',
|
|
114
|
+
},
|
|
115
|
+
};
|
|
116
|
+
export const withNestedData = Template.bind({});
|
|
117
|
+
withNestedData.args = {
|
|
118
|
+
subtitle: 'rendered from nested data, showing average lines and values',
|
|
119
|
+
data: channelsB,
|
|
120
|
+
showAverage: true,
|
|
121
|
+
index: {
|
|
122
|
+
dataKey: 'channel',
|
|
123
|
+
label: 'Channels',
|
|
124
|
+
},
|
|
125
|
+
series: {
|
|
126
|
+
dataKey: ['1 star.value', '2 stars.value', '3 stars.value', '4 stars.value', '5 stars.value'],
|
|
127
|
+
extraData: (datum) => `${datum.percentage}%`,
|
|
128
|
+
label: 'Stars count',
|
|
129
|
+
domain: [0, 4000],
|
|
130
|
+
},
|
|
131
|
+
overlay: {
|
|
132
|
+
dataKey: ['overlay.value'],
|
|
133
|
+
extraData: (datum) => `${datum.percentage}%`,
|
|
134
|
+
rename: _ => 'Fanta KPI',
|
|
135
|
+
label: 'Fanta KPI',
|
|
136
|
+
domain: [0, 5],
|
|
137
|
+
},
|
|
138
|
+
tooltipExtraContent: _jsx("div", { children: "some extra content" }),
|
|
139
|
+
};
|
|
140
|
+
export const withBackground = Template.bind({});
|
|
141
|
+
withBackground.args = {
|
|
142
|
+
subtitle: 'with a background',
|
|
143
|
+
data: proCons,
|
|
144
|
+
showBackground: true,
|
|
145
|
+
index: {
|
|
146
|
+
dataKey: 'date',
|
|
147
|
+
label: 'Time',
|
|
148
|
+
},
|
|
149
|
+
series: {
|
|
150
|
+
domain: [0, 140],
|
|
151
|
+
dataKey: ['positive', 'negative', 'neutral'],
|
|
152
|
+
label: 'Pros & cons',
|
|
153
|
+
style: [undefined, undefined, { fill: 'gray' }],
|
|
154
|
+
},
|
|
155
|
+
};
|
|
156
|
+
export const withAscendingOrder = Template.bind({});
|
|
157
|
+
withAscendingOrder.args = {
|
|
158
|
+
subtitle: 'with values sorted in ascending order',
|
|
159
|
+
data: proCons,
|
|
160
|
+
sortBy: 'ascending-value',
|
|
161
|
+
index: {
|
|
162
|
+
dataKey: 'date',
|
|
163
|
+
label: 'Time',
|
|
164
|
+
},
|
|
165
|
+
series: {
|
|
166
|
+
domain: [0, 140],
|
|
167
|
+
dataKey: ['positive', 'negative', 'neutral'],
|
|
168
|
+
label: 'Pros & cons',
|
|
169
|
+
style: [undefined, undefined, { fill: 'gray' }],
|
|
170
|
+
},
|
|
171
|
+
};
|
|
172
|
+
export const withDescendingOrder = Template.bind({});
|
|
173
|
+
withDescendingOrder.args = {
|
|
174
|
+
subtitle: 'with values sorted in descending order',
|
|
175
|
+
data: proCons,
|
|
176
|
+
sortBy: 'descending-value',
|
|
177
|
+
index: {
|
|
178
|
+
dataKey: 'date',
|
|
179
|
+
label: 'Time',
|
|
180
|
+
},
|
|
181
|
+
series: {
|
|
182
|
+
domain: [0, 140],
|
|
183
|
+
dataKey: ['positive', 'negative', 'neutral'],
|
|
184
|
+
label: 'Pros & cons',
|
|
185
|
+
style: [undefined, undefined, { fill: 'gray' }],
|
|
186
|
+
},
|
|
187
|
+
};
|
|
188
|
+
export const PositiveAndNegative = Template.bind({});
|
|
189
|
+
PositiveAndNegative.args = {
|
|
190
|
+
subtitle: 'with positive and negative values and mirrored domains',
|
|
191
|
+
data: positiveNegative,
|
|
192
|
+
series: {
|
|
193
|
+
dataKey: ['feedback count'],
|
|
194
|
+
label: 'Feedback Count',
|
|
195
|
+
},
|
|
196
|
+
overlay: {
|
|
197
|
+
dataKey: ['overlay'],
|
|
198
|
+
label: 'Overlay',
|
|
199
|
+
},
|
|
200
|
+
mirrorDomains: true,
|
|
201
|
+
};
|
|
202
|
+
export const withVerticalFixedBars = Template.bind({});
|
|
203
|
+
withVerticalFixedBars.args = {
|
|
204
|
+
subtitle: 'with vertical layout and fixed thickness bars',
|
|
205
|
+
overlay: {
|
|
206
|
+
dataKey: ['overlay'],
|
|
207
|
+
label: 'Overlay',
|
|
208
|
+
domain: [0, 1],
|
|
209
|
+
},
|
|
210
|
+
fixedBarSize: true,
|
|
211
|
+
layout: CartesianChartLayout.VERTICAL,
|
|
212
|
+
};
|
|
213
|
+
export const withMissingData = Template.bind({});
|
|
214
|
+
withMissingData.args = {
|
|
215
|
+
data: feedbackCountGaps,
|
|
216
|
+
subtitle: 'with missing values',
|
|
217
|
+
overlay: {
|
|
218
|
+
dataKey: ['overlay'],
|
|
219
|
+
label: 'Overlay',
|
|
220
|
+
},
|
|
221
|
+
};
|
|
222
|
+
export const withCustomBarStyle = Template.bind({});
|
|
223
|
+
withCustomBarStyle.args = {
|
|
224
|
+
subtitle: 'with multiple series and custom colors',
|
|
225
|
+
data: proCons,
|
|
226
|
+
index: {
|
|
227
|
+
dataKey: 'date',
|
|
228
|
+
label: 'Time',
|
|
229
|
+
},
|
|
230
|
+
series: {
|
|
231
|
+
dataKey: ['positive', 'negative', 'neutral'],
|
|
232
|
+
label: 'Pros & cons',
|
|
233
|
+
style: [
|
|
234
|
+
{
|
|
235
|
+
fill: 'slateGray',
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
fill: 'salmon',
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
fill: 'lightBlue',
|
|
242
|
+
},
|
|
243
|
+
],
|
|
244
|
+
},
|
|
245
|
+
};
|
|
246
|
+
export const withBrush = Template.bind({});
|
|
247
|
+
withBrush.args = {
|
|
248
|
+
data: products,
|
|
249
|
+
subtitle: 'with brush and twelve series, one for each color of the default theme',
|
|
250
|
+
sortBy: 'descending-value',
|
|
251
|
+
showBackground: true,
|
|
252
|
+
showBrush: true,
|
|
253
|
+
index: {
|
|
254
|
+
dataKey: 'date',
|
|
255
|
+
label: 'Year',
|
|
256
|
+
},
|
|
257
|
+
series: {
|
|
258
|
+
dataKey: [
|
|
259
|
+
'QN95B Neo QLED 4K TV',
|
|
260
|
+
'Q800A Neo QLED 4K TV',
|
|
261
|
+
'Q60A QLED 4K TV',
|
|
262
|
+
'C2 OLED 4K TV',
|
|
263
|
+
'G2 OLED Evo 4K TV',
|
|
264
|
+
'B2 OLED 4K TV',
|
|
265
|
+
'A95K QD-OLED 4K TV',
|
|
266
|
+
'X95J LED 4K TV',
|
|
267
|
+
'X85J LED 4K TV',
|
|
268
|
+
'R6485Q Mini-LED QLED 4K TV',
|
|
269
|
+
'S546Q 4K QLED TV',
|
|
270
|
+
'S435 4K Roku TV',
|
|
271
|
+
],
|
|
272
|
+
label: 'Product Units',
|
|
273
|
+
tickFormat: (l) => `${l}K`,
|
|
274
|
+
domain: [0, 1000],
|
|
275
|
+
hideZero: true,
|
|
276
|
+
},
|
|
277
|
+
};
|
|
278
|
+
export const WithMenu = Template.bind({});
|
|
279
|
+
WithMenu.args = {
|
|
280
|
+
subtitle: 'with custom style and menu',
|
|
281
|
+
data: proCons,
|
|
282
|
+
index: {
|
|
283
|
+
dataKey: 'date',
|
|
284
|
+
label: 'Time',
|
|
285
|
+
},
|
|
286
|
+
series: {
|
|
287
|
+
dataKey: ['positive', 'negative', 'neutral'],
|
|
288
|
+
label: 'Pros & cons',
|
|
289
|
+
style: [
|
|
290
|
+
{
|
|
291
|
+
fill: 'slateGray',
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
fill: 'salmon',
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
fill: 'lightBlue',
|
|
298
|
+
},
|
|
299
|
+
],
|
|
300
|
+
},
|
|
301
|
+
menu: FakeMenu,
|
|
302
|
+
};
|
|
303
|
+
const WithinCardTemplate = (args) => {
|
|
304
|
+
const { theme } = args;
|
|
305
|
+
return (_jsx(Card, { bordered: true, className: styles.Card, style: { backgroundColor: theme === 'dark' ? '#202227' : undefined }, children: _jsx(BarChart, { ...args }) }));
|
|
306
|
+
};
|
|
307
|
+
export const WithinCard = WithinCardTemplate.bind({});
|
|
308
|
+
WithinCard.args = {
|
|
309
|
+
subtitle: 'within a card 75vh and width 100%',
|
|
310
|
+
series: {
|
|
311
|
+
dataKey: ['feedback count'],
|
|
312
|
+
label: 'Feedback Count',
|
|
313
|
+
domain: [0, 12000],
|
|
314
|
+
},
|
|
315
|
+
overlay: {
|
|
316
|
+
dataKey: ['overlay', 'overlayB'],
|
|
317
|
+
rename: ((o, i) => (i === 0 ? 'OverlayA' : o)),
|
|
318
|
+
label: 'Overlay',
|
|
319
|
+
domain: [0, 1],
|
|
320
|
+
},
|
|
321
|
+
data: feedbackCount.slice(10, 15),
|
|
322
|
+
hidePadding: true,
|
|
323
|
+
theme: 'dark',
|
|
324
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wonderflow/react-components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.1",
|
|
4
4
|
"description": "UI components from Wonderflow's Wanda design system",
|
|
5
5
|
"author": "Wonderflow",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"react-dom": ">=17.0"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@babel/core": "7.
|
|
67
|
-
"@babel/preset-typescript": "7.
|
|
66
|
+
"@babel/core": "7.24.3",
|
|
67
|
+
"@babel/preset-typescript": "7.24.1",
|
|
68
68
|
"@storybook/addon-a11y": "6.5.16",
|
|
69
69
|
"@storybook/addon-actions": "6.5.16",
|
|
70
70
|
"@storybook/addon-coverage": "0.0.7",
|
|
@@ -80,15 +80,15 @@
|
|
|
80
80
|
"@storybook/theming": "6.5.16",
|
|
81
81
|
"@types/react": "17.0.43",
|
|
82
82
|
"@types/react-dom": "17.0.14",
|
|
83
|
-
"@types/react-table": "7.7.
|
|
83
|
+
"@types/react-table": "7.7.20",
|
|
84
84
|
"@types/react-test-renderer": "18.0.7",
|
|
85
|
-
"@wonderflow/config": "
|
|
86
|
-
"@wonderflow/tokens": "
|
|
87
|
-
"@wonderflow/charts": "
|
|
88
|
-
"@types/uuid": "9.0.
|
|
85
|
+
"@wonderflow/config": "14.0.1",
|
|
86
|
+
"@wonderflow/tokens": "14.0.1",
|
|
87
|
+
"@wonderflow/charts": "14.0.1",
|
|
88
|
+
"@types/uuid": "9.0.8",
|
|
89
89
|
"babel-loader": "8.2.5",
|
|
90
90
|
"cpy-cli": "3.1.1",
|
|
91
|
-
"postcss": "8.4.
|
|
91
|
+
"postcss": "8.4.38",
|
|
92
92
|
"postcss-cli": "10.0.0",
|
|
93
93
|
"react": "17.0.2",
|
|
94
94
|
"react-dom": "17.0.2",
|
|
@@ -102,12 +102,12 @@
|
|
|
102
102
|
},
|
|
103
103
|
"dependencies": {
|
|
104
104
|
"@radix-ui/react-tabs": "1.0.4",
|
|
105
|
-
"ahooks": "3.7.
|
|
105
|
+
"ahooks": "3.7.11",
|
|
106
106
|
"clsx": "1.2.1",
|
|
107
107
|
"constate": "3.3.2",
|
|
108
108
|
"framer-motion": "6.5.1",
|
|
109
109
|
"lodash": "4.17.21",
|
|
110
|
-
"react-focus-on": "3.9.
|
|
110
|
+
"react-focus-on": "3.9.2",
|
|
111
111
|
"react-masonry-css": "1.0.16",
|
|
112
112
|
"react-merge-refs": "2.1.1",
|
|
113
113
|
"react-paginate": "8.2.0",
|