@ousi-ui/vue 0.7.3 → 0.7.4

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
@@ -176,6 +176,7 @@ overflow: "scroll" | "menu";
176
176
  contained: boolean;
177
177
  hideBorder: boolean;
178
178
  scrollFade: boolean;
179
+ scrollArrows: boolean;
179
180
  showSeparator: boolean;
180
181
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
181
182
  rootRef: HTMLDivElement;
@@ -822,6 +823,7 @@ showFooter: boolean;
822
823
  allowsResizing: boolean;
823
824
  expandable: boolean;
824
825
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
826
+ scrollRef: HTMLDivElement;
825
827
  tableRef: HTMLTableElement;
826
828
  }, HTMLDivElement>;
827
829
 
@@ -1742,6 +1744,7 @@ declare function __VLS_template_59(): {
1742
1744
  footer?(_: {}): any;
1743
1745
  };
1744
1746
  refs: {
1747
+ scrollRef: HTMLDivElement;
1745
1748
  tableRef: HTMLTableElement;
1746
1749
  };
1747
1750
  rootEl: HTMLDivElement;
@@ -3405,7 +3408,7 @@ export declare const calendarHeaderCellTheme: string;
3405
3408
 
3406
3409
  export declare const calendarHeaderTheme = "flex items-center gap-1 pb-3";
3407
3410
 
3408
- export declare const calendarHeadingTheme = "flex-1 text-center text-sm font-semibold text-ousi-foreground";
3411
+ export declare const calendarHeadingTheme = "flex-1 whitespace-nowrap text-center text-sm font-semibold text-ousi-foreground";
3409
3412
 
3410
3413
  export declare const calendarNavButtonTheme: string;
3411
3414
 
@@ -3894,6 +3897,9 @@ export declare interface ColorPickerProps {
3894
3897
  defaultValue?: ColorPickerValue;
3895
3898
  /** Label shown next to the trigger swatch. */
3896
3899
  label?: string;
3900
+ /** Without a label, show the hex value next to the trigger swatch. Turn it off when the hex
3901
+ * is already shown elsewhere (an editable hex field beside the picker). Defaults to `true`. */
3902
+ showValue?: boolean;
3897
3903
  /** Show alpha slider. */
3898
3904
  showAlpha?: boolean;
3899
3905
  /** Show hex input field. */
@@ -4467,7 +4473,7 @@ export declare interface DialogEmits {
4467
4473
  'close': [];
4468
4474
  }
4469
4475
 
4470
- export declare const dialogFooterTheme = "mt-6 flex flex-row items-center justify-end gap-2 first:mt-0";
4476
+ export declare const dialogFooterTheme = "mt-6 flex flex-row flex-wrap items-center justify-end gap-2 first:mt-0";
4471
4477
 
4472
4478
  export declare const dialogHeaderTheme = "flex flex-col gap-1";
4473
4479
 
@@ -5677,6 +5683,7 @@ grid: boolean;
5677
5683
  pulse: boolean;
5678
5684
  formatValue: (v: number) => string;
5679
5685
  series: ChartSeries[];
5686
+ showValue: boolean;
5680
5687
  theme: "light" | "dark";
5681
5688
  badge: boolean;
5682
5689
  badgeVariant: "default" | "minimal";
@@ -5684,7 +5691,6 @@ badgeTail: boolean;
5684
5691
  momentum: boolean | ChartMomentum;
5685
5692
  scrub: boolean;
5686
5693
  exaggerate: boolean;
5687
- showValue: boolean;
5688
5694
  valueMomentumColor: boolean;
5689
5695
  degen: boolean | ChartDegenOptions;
5690
5696
  window: number;
@@ -5871,6 +5877,7 @@ onChange?: ((value: ColorPickerValue) => any) | undefined;
5871
5877
  }>, {
5872
5878
  disabled: boolean;
5873
5879
  placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end";
5880
+ showValue: boolean;
5874
5881
  showAlpha: boolean;
5875
5882
  showHexInput: boolean;
5876
5883
  showSwatches: boolean;
@@ -6454,6 +6461,8 @@ export declare interface OusiMessages {
6454
6461
  monthPlaceholder: string;
6455
6462
  dayPlaceholder: string;
6456
6463
  dateRangePicker: string;
6464
+ rangeStartPart: string;
6465
+ rangeEndPart: string;
6457
6466
  dateRangeCalendar: string;
6458
6467
  timePicker: string;
6459
6468
  timeField: string;
@@ -6624,6 +6633,9 @@ export declare interface PopoverProps {
6624
6633
  shadow?: PopoverShadow;
6625
6634
  /** Additional CSS classes on the panel. */
6626
6635
  class?: string;
6636
+ /** Classes on the element that wraps the trigger, an `inline-flex` box by default. Pass
6637
+ * `flex min-w-0 flex-1` to let a full-width trigger fill and shrink inside a flex row. */
6638
+ triggerClass?: string;
6627
6639
  }
6628
6640
 
6629
6641
  declare type PopoverShadow = 'sm' | 'md' | 'lg' | 'xl';
@@ -7641,6 +7653,11 @@ export declare const tableScrollContainerTheme: (props?: ({
7641
7653
  stickyHeader?: boolean | null | undefined;
7642
7654
  } & ClassProp) | undefined) => string;
7643
7655
 
7656
+ /** Shadow over the side of the scroll area that still hides columns. */
7657
+ export declare const tableScrollEdgeTheme: (props?: ({
7658
+ side?: "start" | "end" | null | undefined;
7659
+ } & ClassProp) | undefined) => string;
7660
+
7644
7661
  export declare type TableShadow = 'none' | 'xs' | 'sm' | 'md';
7645
7662
 
7646
7663
  export declare type TableVariant = 'primary' | 'secondary';
@@ -7681,16 +7698,20 @@ export declare interface TabsProps {
7681
7698
  /** Stretch horizontal tabs to share the full width. Defaults to `false`: each tab is as wide
7682
7699
  * as its label, and a secondary list scrolls when the tabs overflow. */
7683
7700
  fullWidth?: boolean;
7684
- /** What horizontal tabs do when they don't fit: 'scroll' sideways (default) or collect the
7685
- * ones that don't fit under a "More" menu. 'menu' has no effect with `fullWidth`. */
7701
+ /** What horizontal tabs do when they don't fit: 'scroll' sideways (default), with an arrow on
7702
+ * each side that still has tabs, or collect the ones that don't fit under a "More" menu.
7703
+ * 'menu' has no effect with `fullWidth`. */
7686
7704
  overflow?: 'scroll' | 'menu';
7687
7705
  /** Fill the width of the parent without making the parent wider. Use it inside grid cells, cards
7688
7706
  * in a flex row and other flex/grid children, where a long list of tabs would otherwise stretch
7689
7707
  * its column. Needs a parent with a defined width. Defaults to `false`. */
7690
7708
  contained?: boolean;
7691
7709
  /** Fade the edge(s) of a horizontal list that still has tabs beyond it, like OScrollShadow.
7692
- * Only applies while the tabs scroll. Defaults to `true`. */
7710
+ * Only applies while the tabs scroll and `scrollArrows` is off. Defaults to `true`. */
7693
7711
  scrollFade?: boolean;
7712
+ /** Show an arrow on each edge of a scrolling horizontal list that still has tabs beyond it;
7713
+ * a click scrolls that way. Defaults to `true`. */
7714
+ scrollArrows?: boolean;
7694
7715
  /** Hide the secondary variant's track border (the long underline / left rail).
7695
7716
  * Has no effect on `primary`. The active-tab indicator is unaffected. Defaults to `false`. */
7696
7717
  hideBorder?: boolean;
@@ -8395,6 +8416,8 @@ export declare function useOusiMessages(): ComputedRef<OusiMessages>;
8395
8416
  export declare function useScrollFade(el: Ref<HTMLElement | null>, opts: ScrollFadeOptions): {
8396
8417
  maskStyle: ComputedRef<Record<string, string>>;
8397
8418
  update: () => void;
8419
+ start: Ref<boolean, boolean>;
8420
+ end: Ref<boolean, boolean>;
8398
8421
  };
8399
8422
 
8400
8423
  /**