@harnessio/ui 0.5.56 → 0.5.57
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: {
|
|
@@ -5768,12 +5769,15 @@ declare type ScrollAreaProps = {
|
|
|
5768
5769
|
storageKey?: string;
|
|
5769
5770
|
} & ScrollAreaIntersectionProps_2 & HTMLAttributes<HTMLDivElement>;
|
|
5770
5771
|
|
|
5771
|
-
declare const SearchableDropdown: <T extends {
|
|
5772
|
+
declare const SearchableDropdown: <T extends SearchableDropdownOption>({ displayLabel, dropdownAlign, onChange, onReset, isSearchable, options, inputPlaceholder, buttonLabel }: SearchableDropdownProps<T>) => JSX_2.Element;
|
|
5773
|
+
|
|
5774
|
+
declare interface SearchableDropdownOption {
|
|
5772
5775
|
label: string;
|
|
5773
5776
|
value: string;
|
|
5774
|
-
|
|
5777
|
+
group?: string;
|
|
5778
|
+
}
|
|
5775
5779
|
|
|
5776
|
-
declare interface SearchableDropdownProps<T> {
|
|
5780
|
+
declare interface SearchableDropdownProps<T extends SearchableDropdownOption> {
|
|
5777
5781
|
options: T[];
|
|
5778
5782
|
displayLabel?: React.ReactNode | string;
|
|
5779
5783
|
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-
|
|
2
|
+
import { i as e } from "./index-CW6piLSJ.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";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harnessio/ui",
|
|
3
3
|
"description": "Harness Canary UI component library",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.57",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -121,9 +121,9 @@
|
|
|
121
121
|
"vaul": "^1.1.2",
|
|
122
122
|
"yaml": "^2.7.0",
|
|
123
123
|
"zod": "^3.23.8",
|
|
124
|
+
"@harnessio/core-design-system": "0.0.1",
|
|
124
125
|
"@harnessio/pipeline-graph": "1.9.6",
|
|
125
|
-
"@harnessio/yaml-editor": "0.26.0"
|
|
126
|
-
"@harnessio/core-design-system": "0.0.1"
|
|
126
|
+
"@harnessio/yaml-editor": "0.26.0"
|
|
127
127
|
},
|
|
128
128
|
"peerDependencies": {
|
|
129
129
|
"react": "^17.0.2",
|