@milaboratories/miplots4 1.0.60 → 1.0.62

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/index.d.ts CHANGED
@@ -557,10 +557,28 @@ declare const ScatterplotSettingsSchema: z.ZodObject<{
557
557
  } | undefined;
558
558
  }>>;
559
559
  trend: z.ZodOptional<z.ZodObject<{
560
+ color: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
561
+ type: z.ZodLiteral<"grouping">;
562
+ value: z.ZodString;
563
+ }, "strip", z.ZodTypeAny, {
564
+ type: "grouping";
565
+ value: string;
566
+ }, {
567
+ type: "grouping";
568
+ value: string;
569
+ }>]>>>;
560
570
  bounded: z.ZodOptional<z.ZodBoolean>;
561
571
  }, "strip", z.ZodTypeAny, {
572
+ color?: string | {
573
+ type: "grouping";
574
+ value: string;
575
+ } | undefined;
562
576
  bounded?: boolean | undefined;
563
577
  }, {
578
+ color?: string | {
579
+ type: "grouping";
580
+ value: string;
581
+ } | undefined;
564
582
  bounded?: boolean | undefined;
565
583
  }>>;
566
584
  layers: z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -954,6 +972,10 @@ declare const ScatterplotSettingsSchema: z.ZodObject<{
954
972
  fillColor?: string | undefined;
955
973
  }>> | undefined;
956
974
  trend?: {
975
+ color?: string | {
976
+ type: "grouping";
977
+ value: string;
978
+ } | undefined;
957
979
  bounded?: boolean | undefined;
958
980
  } | undefined;
959
981
  }, {
@@ -1144,6 +1166,10 @@ declare const ScatterplotSettingsSchema: z.ZodObject<{
1144
1166
  fillColor?: string | undefined;
1145
1167
  }>> | undefined;
1146
1168
  trend?: {
1169
+ color?: string | {
1170
+ type: "grouping";
1171
+ value: string;
1172
+ } | undefined;
1147
1173
  bounded?: boolean | undefined;
1148
1174
  } | undefined;
1149
1175
  }>;
@@ -4255,6 +4281,19 @@ declare const HeatmapSettingsSchema: z.ZodObject<{
4255
4281
  label?: string | undefined;
4256
4282
  valueLabels?: string | undefined;
4257
4283
  }>, "many">>;
4284
+ normalization: z.ZodOptional<z.ZodObject<{
4285
+ direction: z.ZodEnum<["row", "column"]>;
4286
+ method: z.ZodEnum<["standardScaling", "meanNormalization"]>;
4287
+ colorRange: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
4288
+ }, "strip", z.ZodTypeAny, {
4289
+ method: "standardScaling" | "meanNormalization";
4290
+ direction: "column" | "row";
4291
+ colorRange?: number[] | undefined;
4292
+ }, {
4293
+ method: "standardScaling" | "meanNormalization";
4294
+ direction: "column" | "row";
4295
+ colorRange?: number[] | undefined;
4296
+ }>>;
4258
4297
  annotations: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
4259
4298
  valueColumn: z.ZodObject<{
4260
4299
  type: z.ZodLiteral<"column">;
@@ -5065,6 +5104,11 @@ declare const HeatmapSettingsSchema: z.ZodObject<{
5065
5104
  label?: string | undefined;
5066
5105
  valueLabels?: string | undefined;
5067
5106
  }[] | undefined;
5107
+ normalization?: {
5108
+ method: "standardScaling" | "meanNormalization";
5109
+ direction: "column" | "row";
5110
+ colorRange?: number[] | undefined;
5111
+ } | undefined;
5068
5112
  annotations?: ({
5069
5113
  type: "discrete" | "continuous";
5070
5114
  valueColumn: {
@@ -5299,6 +5343,11 @@ declare const HeatmapSettingsSchema: z.ZodObject<{
5299
5343
  label?: string | undefined;
5300
5344
  valueLabels?: string | undefined;
5301
5345
  }[] | undefined;
5346
+ normalization?: {
5347
+ method: "standardScaling" | "meanNormalization";
5348
+ direction: "column" | "row";
5349
+ colorRange?: number[] | undefined;
5350
+ } | undefined;
5302
5351
  annotations?: ({
5303
5352
  type: "discrete" | "continuous";
5304
5353
  valueColumn: {