@harnessio/ui 0.5.43 → 0.5.45
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/components.d.ts +14 -0
- package/dist/components.js +141 -140
- package/dist/{index-409jPsoO.js → index-COyN11Zp.js} +7579 -7552
- package/dist/{index-409jPsoO.js.map → index-COyN11Zp.js.map} +1 -1
- package/dist/index.d.ts +16 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1238,6 +1238,8 @@ declare namespace components {
|
|
|
1238
1238
|
Command,
|
|
1239
1239
|
FileItem_2 as FileItem,
|
|
1240
1240
|
SearchFiles,
|
|
1241
|
+
HighlightTextProps,
|
|
1242
|
+
HighlightText,
|
|
1241
1243
|
linkVariants,
|
|
1242
1244
|
Link,
|
|
1243
1245
|
LinkProps,
|
|
@@ -3002,10 +3004,23 @@ declare interface HeaderV2TabItem {
|
|
|
3002
3004
|
icon?: IconV2NamesType;
|
|
3003
3005
|
counter?: number;
|
|
3004
3006
|
disabled?: boolean;
|
|
3007
|
+
exact?: boolean;
|
|
3005
3008
|
}
|
|
3006
3009
|
|
|
3007
3010
|
declare type HighlighterType = Omit<DiffHighlighter, 'getHighlighterEngine'>;
|
|
3008
3011
|
|
|
3012
|
+
/**
|
|
3013
|
+
* Renders `text` with the characters matching `match` highlighted in <mark>,
|
|
3014
|
+
* using the same fuzzysort-based matching as the file search (see search-files.tsx).
|
|
3015
|
+
*/
|
|
3016
|
+
declare const HighlightText: ({ text, match, className }: HighlightTextProps) => JSX_2.Element;
|
|
3017
|
+
|
|
3018
|
+
declare interface HighlightTextProps {
|
|
3019
|
+
text: string;
|
|
3020
|
+
match?: string | null;
|
|
3021
|
+
className?: string;
|
|
3022
|
+
}
|
|
3023
|
+
|
|
3009
3024
|
declare namespace hooks {
|
|
3010
3025
|
export {
|
|
3011
3026
|
useDragAndDrop,
|
|
@@ -7015,6 +7030,7 @@ declare type TabsTriggerExtendedProps = (TabsTriggerBasePropsWithIcon | TabsTrig
|
|
|
7015
7030
|
declare type TabsTriggerLinkProps = TabsTriggerExtendedProps & Omit<ComponentPropsWithoutRef<'a'>, keyof TabsTriggerExtendedProps | 'href'> & {
|
|
7016
7031
|
linkProps?: Omit<NavLinkProps, 'to'>;
|
|
7017
7032
|
disabled?: boolean;
|
|
7033
|
+
exact?: boolean;
|
|
7018
7034
|
};
|
|
7019
7035
|
|
|
7020
7036
|
declare type TabsTriggerProps = TabsTriggerButtonProps | TabsTriggerLinkProps;
|
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-COyN11Zp.js";
|
|
3
3
|
import { i as a } from "./index-Bozws46U.js";
|
|
4
4
|
import { i as m } from "./index-CnTWfvOd.js";
|
|
5
5
|
import { i as f } from "./index-yGuTXfMI.js";
|