cognite-create 0.2.25 → 0.2.26
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/package.json
CHANGED
|
@@ -64,3 +64,13 @@ Granularity/Aggregates Fix: Ensured aggregates are always provided when granular
|
|
|
64
64
|
Aggregated Data Display: Updated chart component to handle both regular datapoints (value) and aggregated datapoints (average, max, min, etc.) since granularity returns aggregated data.
|
|
65
65
|
|
|
66
66
|
UI Enhancement: Replaced search dialog with dropdown interface for time series selection, providing better UX with automatic loading and filtering of available time series.
|
|
67
|
+
|
|
68
|
+
WATCH OUT FOR THIS BUG WITH SHADCN SELECTS:
|
|
69
|
+
A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.
|
|
70
|
+
|
|
71
|
+
src/components/ui/cognite/select.tsx (107:5) @ SelectItem
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
105 | }: React.ComponentProps<typeof SelectPrimitive.Item>) {
|
|
75
|
+
106 | return (
|
|
76
|
+
> 107 | <SelectPrimitive.Item
|