@harnessio/ui 0.5.56 → 0.5.58

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
@@ -2600,6 +2600,7 @@ declare interface FilterOptionConfigBase<Key extends string, V = undefined> {
2600
2600
  defaultValue?: V;
2601
2601
  isDefaultValue?: boolean;
2602
2602
  sticky?: boolean;
2603
+ group?: string;
2603
2604
  }
2604
2605
 
2605
2606
  declare const FilterSelect: {
@@ -3071,6 +3072,8 @@ declare interface HeaderV2TabItem {
3071
3072
  exact?: boolean;
3072
3073
  }
3073
3074
 
3075
+ declare type HeaderV2TabsVariant = 'underlined' | 'ghost';
3076
+
3074
3077
  declare type HighlighterType = Omit<DiffHighlighter, 'getHighlighterEngine'>;
3075
3078
 
3076
3079
  /**
@@ -4728,6 +4731,8 @@ declare interface PageHeaderV2Props_2 {
4728
4731
  description?: string;
4729
4732
  actions?: ReactNode;
4730
4733
  tabs?: HeaderV2TabItem[];
4734
+ /** `ghost` renders tabs inline in the title row; `underlined` (default) renders below. */
4735
+ tabsVariant?: HeaderV2TabsVariant;
4731
4736
  contentTabs?: boolean;
4732
4737
  children?: ReactNode;
4733
4738
  className?: string;
@@ -5768,12 +5773,15 @@ declare type ScrollAreaProps = {
5768
5773
  storageKey?: string;
5769
5774
  } & ScrollAreaIntersectionProps_2 & HTMLAttributes<HTMLDivElement>;
5770
5775
 
5771
- declare const SearchableDropdown: <T extends {
5776
+ declare const SearchableDropdown: <T extends SearchableDropdownOption>({ displayLabel, dropdownAlign, onChange, onReset, isSearchable, options, inputPlaceholder, buttonLabel }: SearchableDropdownProps<T>) => JSX_2.Element;
5777
+
5778
+ declare interface SearchableDropdownOption {
5772
5779
  label: string;
5773
5780
  value: string;
5774
- }>({ displayLabel, dropdownAlign, onChange, onReset, isSearchable, options, inputPlaceholder, buttonLabel }: SearchableDropdownProps<T>) => JSX_2.Element;
5781
+ group?: string;
5782
+ }
5775
5783
 
5776
- declare interface SearchableDropdownProps<T> {
5784
+ declare interface SearchableDropdownProps<T extends SearchableDropdownOption> {
5777
5785
  options: T[];
5778
5786
  displayLabel?: React.ReactNode | string;
5779
5787
  dropdownAlign?: 'start' | 'end';
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { i as s } from "./index-Bvr23CG5.js";
2
- import { i as e } from "./index-BY1ZuVPB.js";
2
+ import { i as e } from "./index-BXUQwsBw.js";
3
3
  import { i as a } from "./index-DV7K3UFV.js";
4
4
  import { i as m } from "./index-67A3D1N1.js";
5
5
  import { i as f } from "./index-yGuTXfMI.js";