@hubspot/ui-extensions 0.7.1 → 0.7.2
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/README.md +12 -5
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -23,7 +23,7 @@ React components and utilities for extending HubSpot's UI.
|
|
|
23
23
|
- [Input](#input)
|
|
24
24
|
- [Link](#link)
|
|
25
25
|
- [LoadingSpinner](#loadingspinner)
|
|
26
|
-
- [
|
|
26
|
+
- [MultiSelect](#multiselect)
|
|
27
27
|
- [NumberInput](#numberInput)
|
|
28
28
|
- [ProgressBar](#progressbar)
|
|
29
29
|
- [Select](#select)
|
|
@@ -391,7 +391,15 @@ interface DateInputProps {
|
|
|
391
391
|
max?: { year: number; month: number; date: number };
|
|
392
392
|
minValidationMessage?: string;
|
|
393
393
|
maxValidationMessage?: string;
|
|
394
|
-
format?:
|
|
394
|
+
format?:
|
|
395
|
+
| 'YYYY-MM-DD'
|
|
396
|
+
| 'L'
|
|
397
|
+
| 'LL'
|
|
398
|
+
| 'll'
|
|
399
|
+
| 'short'
|
|
400
|
+
| 'long'
|
|
401
|
+
| 'medium'
|
|
402
|
+
| 'standard';
|
|
395
403
|
timezone?: 'userTz' | 'portalTz';
|
|
396
404
|
clearButtonLabel?: string;
|
|
397
405
|
todayButtonLabel?: string;
|
|
@@ -430,7 +438,6 @@ interface DateInputProps {
|
|
|
430
438
|
- standard: `1986-09-04`
|
|
431
439
|
- L: `09/04/1986`
|
|
432
440
|
- LL: `September 4, 1986`
|
|
433
|
-
- l: `9/4/1986`
|
|
434
441
|
- ll : `Sep 4, 1986`
|
|
435
442
|
- YYYY-MM-DD: `1986-09-04`
|
|
436
443
|
|
|
@@ -999,10 +1006,10 @@ const Extension = () => {
|
|
|
999
1006
|
return <LoadingSpinner label="Loading..." />;
|
|
1000
1007
|
};
|
|
1001
1008
|
```
|
|
1002
|
-
###
|
|
1009
|
+
### MultiSelect
|
|
1003
1010
|
|
|
1004
1011
|
```javascript
|
|
1005
|
-
import {
|
|
1012
|
+
import { MultiSelect } from '@hubspot/ui-extensions';
|
|
1006
1013
|
```
|
|
1007
1014
|
|
|
1008
1015
|
### Props
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hubspot/ui-extensions",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
"clean": "rm -rf dist/",
|
|
10
10
|
"build": "npm run clean && tsc",
|
|
11
11
|
"watch": "npm run clean && tsc --watch",
|
|
12
|
-
"prepare": "npm run build"
|
|
12
|
+
"prepare": "npm run build",
|
|
13
|
+
"test": "echo 'No tests configured for @hubspot/ui-extensions'"
|
|
13
14
|
},
|
|
14
15
|
"files": [
|
|
15
16
|
"dist/**/*"
|
|
@@ -48,5 +49,5 @@
|
|
|
48
49
|
"devDependencies": {
|
|
49
50
|
"typescript": "5.0.4"
|
|
50
51
|
},
|
|
51
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "291eae6851c5dc9be36952059ab8a7506e08b93b"
|
|
52
53
|
}
|