@hubspot/ui-extensions 0.8.9 → 0.8.10
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 +5 -0
- package/dist/coreComponents.js +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/logger.d.ts +8 -0
- package/dist/logger.js +2 -0
- package/dist/types.d.ts +23 -2
- package/package.json +2 -2
package/dist/coreComponents.d.ts
CHANGED
|
@@ -251,3 +251,8 @@ export declare const PanelSection: "PanelSection" & {
|
|
|
251
251
|
readonly props?: types.PanelSectionProps | undefined;
|
|
252
252
|
readonly children?: true | undefined;
|
|
253
253
|
} & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"PanelSection", types.PanelSectionProps, true>>;
|
|
254
|
+
export declare const StepperInput: "StepperInput" & {
|
|
255
|
+
readonly type?: "StepperInput" | undefined;
|
|
256
|
+
readonly props?: types.StepperInputProps | undefined;
|
|
257
|
+
readonly children?: true | undefined;
|
|
258
|
+
} & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"StepperInput", types.StepperInputProps, true>>;
|
package/dist/coreComponents.js
CHANGED
|
@@ -53,3 +53,4 @@ export const Panel = createRemoteReactComponent('Panel');
|
|
|
53
53
|
export const PanelFooter = createRemoteReactComponent('PanelFooter');
|
|
54
54
|
export const PanelBody = createRemoteReactComponent('PanelBody');
|
|
55
55
|
export const PanelSection = createRemoteReactComponent('PanelSection');
|
|
56
|
+
export const StepperInput = createRemoteReactComponent('StepperInput');
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/dist/logger.d.ts
ADDED
package/dist/logger.js
ADDED
package/dist/types.d.ts
CHANGED
|
@@ -460,6 +460,27 @@ export interface NumberInputProps extends BaseInputForNumber {
|
|
|
460
460
|
/** @deprecated use onChange instead. It doesn't guarantee valid format */
|
|
461
461
|
onInput?: (value: number) => void;
|
|
462
462
|
}
|
|
463
|
+
/**
|
|
464
|
+
* The props type for {@link !components.StepperInput}.
|
|
465
|
+
*
|
|
466
|
+
* @category Component Props
|
|
467
|
+
*/
|
|
468
|
+
export interface StepperInputProps extends Omit<NumberInputProps, 'onInput'> {
|
|
469
|
+
/** The amount that the current value will increase or decrease on each step button click.
|
|
470
|
+
* @defaultValue `1`
|
|
471
|
+
*/
|
|
472
|
+
stepSize?: number;
|
|
473
|
+
/**
|
|
474
|
+
* Text that will appear in a tooltip next to the step up button when users
|
|
475
|
+
* can't increase the current value.
|
|
476
|
+
*/
|
|
477
|
+
maxValueReachedTooltip?: string;
|
|
478
|
+
/**
|
|
479
|
+
* Text that will appear in a tooltip next to the step down button when users
|
|
480
|
+
* can't decrease the current value.
|
|
481
|
+
*/
|
|
482
|
+
minValueReachedTooltip?: string;
|
|
483
|
+
}
|
|
463
484
|
/** Object that represents dates. */
|
|
464
485
|
export interface BaseDate {
|
|
465
486
|
/** the four-digit year (e.g., 2023). */
|
|
@@ -1280,8 +1301,8 @@ export interface CrmMiddleExtensionPoint extends ExtensionPointContract {
|
|
|
1280
1301
|
reloadPage: ReloadPageAction;
|
|
1281
1302
|
fetchCrmObjectProperties: FetchCrmObjectPropertiesAction;
|
|
1282
1303
|
openIframeModal: OpenIframeModalAction;
|
|
1283
|
-
refreshObjectProperties
|
|
1284
|
-
onCrmPropertiesUpdate
|
|
1304
|
+
refreshObjectProperties: refreshObjectPropertiesAction;
|
|
1305
|
+
onCrmPropertiesUpdate: onCrmPropertiesUpdateAction;
|
|
1285
1306
|
};
|
|
1286
1307
|
context: CrmContext;
|
|
1287
1308
|
customComponents: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hubspot/ui-extensions",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.10",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"typescript": "5.0.4"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "304f163621e00aac8339440fac02a09b57e078d8"
|
|
55
55
|
}
|