@ousi-ui/vue 0.7.0 → 0.7.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/index.d.ts CHANGED
@@ -508,6 +508,8 @@ levels: number;
508
508
  emptyColor: string;
509
509
  columnLabelsPosition: "top" | "bottom";
510
510
  columnLabelAlign: "center" | "start";
511
+ minCellWidth: number;
512
+ scrollTo: "start" | "end";
511
513
  cellHeight: number;
512
514
  cellRadius: number;
513
515
  showRowLabels: boolean;
@@ -515,6 +517,7 @@ showColumnLabels: boolean;
515
517
  legendLabels: [string, string];
516
518
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
517
519
  root: HTMLDivElement;
520
+ scroller: HTMLDivElement;
518
521
  }, HTMLDivElement>;
519
522
 
520
523
  declare const __VLS_component_47: DefineComponent<AreaChartProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -1593,6 +1596,7 @@ declare function __VLS_template_46(): {
1593
1596
  slots: Readonly<HeatmapSlots> & HeatmapSlots;
1594
1597
  refs: {
1595
1598
  root: HTMLDivElement;
1599
+ scroller: HTMLDivElement;
1596
1600
  };
1597
1601
  rootEl: HTMLDivElement;
1598
1602
  };
@@ -5082,6 +5086,11 @@ export declare interface HeatmapProps {
5082
5086
  tooltip?: boolean;
5083
5087
  /** Text of the built-in tooltip and aria label. Defaults to "row · column: value". */
5084
5088
  cellLabel?: (cell: HeatmapCell) => string;
5089
+ /** Narrowest a cell is drawn, in px. When the columns would need less, the grid scrolls sideways
5090
+ * (with an edge fade) instead of shrinking the cells to dust. 0 means the grid always fits. */
5091
+ minCellWidth?: number;
5092
+ /** Where a scrolling grid starts. `end` shows the latest columns first (a calendar). */
5093
+ scrollTo?: 'start' | 'end';
5085
5094
  /** Space between cells in px. */
5086
5095
  gap?: number;
5087
5096
  /** Cell height in px. Width is fluid. */
@@ -6168,11 +6177,13 @@ export declare const OSankey: DefineComponent<SankeyProps, {}, {}, {}, {}, Compo
6168
6177
  }>, {
6169
6178
  height: number;
6170
6179
  animated: boolean;
6180
+ minWidth: number;
6171
6181
  interactive: boolean;
6172
6182
  showLabels: boolean;
6173
6183
  nodeWidth: number;
6174
6184
  nodePadding: number;
6175
6185
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
6186
+ scroller: HTMLDivElement;
6176
6187
  root: HTMLDivElement;
6177
6188
  }, HTMLDivElement>;
6178
6189
 
@@ -6933,6 +6944,9 @@ export declare interface SankeyProps {
6933
6944
  /** Highlighted element: `node:<index>` or `link:<index>`. Supports v-model:focused. */
6934
6945
  focused?: SankeyFocus | null;
6935
6946
  animated?: boolean;
6947
+ /** Narrowest the diagram is drawn (default 400). In a narrower container it scrolls sideways instead of
6948
+ * squeezing the flows, with an edge fade. Set 0 to always fit the container. */
6949
+ minWidth?: number;
6936
6950
  /** Space for the labels on the sides, in px. */
6937
6951
  padding?: {
6938
6952
  left?: number;