@hubspot/ui-extensions 0.8.56 → 0.9.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/coreComponents.d.ts +23 -0
- package/dist/coreComponents.js +15 -0
- package/dist/types.d.ts +20 -0
- package/package.json +2 -2
package/dist/coreComponents.d.ts
CHANGED
|
@@ -771,3 +771,26 @@ export declare const Illustration: "Illustration" & {
|
|
|
771
771
|
readonly props?: types.IllustrationProps | undefined;
|
|
772
772
|
readonly children?: true | undefined;
|
|
773
773
|
} & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"Illustration", types.IllustrationProps, true>>;
|
|
774
|
+
/**
|
|
775
|
+
* The `Tooltip` component renders a tooltip for a component.
|
|
776
|
+
*
|
|
777
|
+
* **Links:**
|
|
778
|
+
* - {@link https://developers.hubspot.com/docs/reference/ui-components/standard-components/tooltip Documentation}
|
|
779
|
+
*/
|
|
780
|
+
export declare const Tooltip: "Tooltip" & {
|
|
781
|
+
readonly type?: "Tooltip" | undefined;
|
|
782
|
+
readonly props?: types.TooltipProps | undefined;
|
|
783
|
+
readonly children?: true | undefined;
|
|
784
|
+
} & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"Tooltip", types.TooltipProps, true>>;
|
|
785
|
+
/**
|
|
786
|
+
* The `SearchInput` component renders a search input field.
|
|
787
|
+
*
|
|
788
|
+
* **Links:**
|
|
789
|
+
*
|
|
790
|
+
* - {@link https://developers.hubspot.com/docs/reference/ui-components/standard-components/search-input SearchInput Docs}
|
|
791
|
+
*/
|
|
792
|
+
export declare const SearchInput: "SearchInput" & {
|
|
793
|
+
readonly type?: "SearchInput" | undefined;
|
|
794
|
+
readonly props?: types.SearchInputProps | undefined;
|
|
795
|
+
readonly children?: true | undefined;
|
|
796
|
+
} & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"SearchInput", types.SearchInputProps, true>>;
|
package/dist/coreComponents.js
CHANGED
|
@@ -519,3 +519,18 @@ export const Tab = createRemoteReactComponent('Tab');
|
|
|
519
519
|
* - {@link https://developers.hubspot.com/docs/reference/ui-components/standard-components/illustration Illustration Docs}
|
|
520
520
|
*/
|
|
521
521
|
export const Illustration = createRemoteReactComponent('Illustration');
|
|
522
|
+
/**
|
|
523
|
+
* The `Tooltip` component renders a tooltip for a component.
|
|
524
|
+
*
|
|
525
|
+
* **Links:**
|
|
526
|
+
* - {@link https://developers.hubspot.com/docs/reference/ui-components/standard-components/tooltip Documentation}
|
|
527
|
+
*/
|
|
528
|
+
export const Tooltip = createRemoteReactComponent('Tooltip');
|
|
529
|
+
/**
|
|
530
|
+
* The `SearchInput` component renders a search input field.
|
|
531
|
+
*
|
|
532
|
+
* **Links:**
|
|
533
|
+
*
|
|
534
|
+
* - {@link https://developers.hubspot.com/docs/reference/ui-components/standard-components/search-input SearchInput Docs}
|
|
535
|
+
*/
|
|
536
|
+
export const SearchInput = createRemoteReactComponent('SearchInput');
|
package/dist/types.d.ts
CHANGED
|
@@ -1182,6 +1182,15 @@ export interface DateInputProps extends BaseDateInputForDate {
|
|
|
1182
1182
|
*/
|
|
1183
1183
|
todayButtonLabel?: string;
|
|
1184
1184
|
}
|
|
1185
|
+
/**
|
|
1186
|
+
* The props type for {@link !components.SearchInput}.
|
|
1187
|
+
*
|
|
1188
|
+
* @category Component Props
|
|
1189
|
+
*/
|
|
1190
|
+
export interface SearchInputProps extends BaseInputProps {
|
|
1191
|
+
/** Shows a clear button to clear the input. Default is true. */
|
|
1192
|
+
clearable?: boolean;
|
|
1193
|
+
}
|
|
1185
1194
|
/**
|
|
1186
1195
|
* The props type for {@link !components.Stack}.
|
|
1187
1196
|
*
|
|
@@ -2391,6 +2400,17 @@ type DefaultToggleTypeProps = {
|
|
|
2391
2400
|
* @category Component Props
|
|
2392
2401
|
*/
|
|
2393
2402
|
export type ToggleGroupProps = CheckboxGroupProps | RadioButtonGroupProps | DefaultToggleTypeProps;
|
|
2403
|
+
export interface TooltipProps {
|
|
2404
|
+
/**
|
|
2405
|
+
* Sets the content to render on the screen, and serves as the trigger for the tooltip. This prop is passed implicitly by providing sub-components.
|
|
2406
|
+
*/
|
|
2407
|
+
children: ReactNode;
|
|
2408
|
+
/**
|
|
2409
|
+
* Sets the position of the tooltip relative to its trigger element.
|
|
2410
|
+
* @default 'top'
|
|
2411
|
+
*/
|
|
2412
|
+
placement?: 'top' | 'bottom' | 'left' | 'right';
|
|
2413
|
+
}
|
|
2394
2414
|
/** @ignore */
|
|
2395
2415
|
interface Team {
|
|
2396
2416
|
id: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hubspot/ui-extensions",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"ts-jest": "^29.1.1",
|
|
67
67
|
"typescript": "5.0.4"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "c26a19d3df9eaef76a109947dfda71a9cc72451c"
|
|
70
70
|
}
|