hs-uix 1.0.0

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/form.d.ts ADDED
@@ -0,0 +1,17 @@
1
+ export {
2
+ FormBuilder,
3
+ useFormPrefill,
4
+ FormBuilderProps,
5
+ FormBuilderField,
6
+ FormBuilderFieldType,
7
+ FormBuilderOption,
8
+ FormBuilderDateValue,
9
+ FormBuilderTimeValue,
10
+ FormBuilderDateTimeValue,
11
+ FormBuilderLayout,
12
+ FormBuilderLayoutEntry,
13
+ FormBuilderSection,
14
+ FormBuilderStep,
15
+ FormBuilderRef,
16
+ FieldTypePlugin,
17
+ } from "./packages/form/index";
package/index.d.ts ADDED
@@ -0,0 +1,38 @@
1
+ export { DataTable } from "./packages/datatable/index";
2
+ export type {
3
+ DataTableProps,
4
+ DataTableColumn,
5
+ DataTableFilterConfig,
6
+ DataTableGroupBy,
7
+ DataTableSortDirection,
8
+ DataTableSortObject,
9
+ DataTableParams,
10
+ DataTableOption,
11
+ DataTableDateValue,
12
+ DataTableTimeValue,
13
+ DataTableDateRangeValue,
14
+ DataTableWidth,
15
+ DataTableColumnWidth,
16
+ DataTableEditMode,
17
+ DataTableEditType,
18
+ DataTableSelectionAction,
19
+ DataTableRowAction,
20
+ DataTableSelectAllRequestPayload,
21
+ } from "./packages/datatable/index";
22
+
23
+ export { FormBuilder, useFormPrefill } from "./packages/form/index";
24
+ export type {
25
+ FormBuilderProps,
26
+ FormBuilderField,
27
+ FormBuilderFieldType,
28
+ FormBuilderOption,
29
+ FormBuilderDateValue,
30
+ FormBuilderTimeValue,
31
+ FormBuilderDateTimeValue,
32
+ FormBuilderLayout,
33
+ FormBuilderLayoutEntry,
34
+ FormBuilderSection,
35
+ FormBuilderStep,
36
+ FormBuilderRef,
37
+ FieldTypePlugin,
38
+ } from "./packages/form/index";
package/package.json ADDED
@@ -0,0 +1,69 @@
1
+ {
2
+ "name": "hs-uix",
3
+ "version": "1.0.0",
4
+ "description": "Production-ready UI components for HubSpot UI Extensions — DataTable, FormBuilder, and more",
5
+ "license": "MIT",
6
+ "main": "./dist/index.js",
7
+ "module": "./dist/index.mjs",
8
+ "types": "./index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./index.d.ts",
12
+ "import": "./dist/index.mjs",
13
+ "require": "./dist/index.js"
14
+ },
15
+ "./datatable": {
16
+ "types": "./datatable.d.ts",
17
+ "import": "./dist/datatable.mjs",
18
+ "require": "./dist/datatable.js"
19
+ },
20
+ "./form": {
21
+ "types": "./form.d.ts",
22
+ "import": "./dist/form.mjs",
23
+ "require": "./dist/form.js"
24
+ }
25
+ },
26
+ "files": [
27
+ "dist",
28
+ "index.d.ts",
29
+ "datatable.d.ts",
30
+ "form.d.ts",
31
+ "README.md"
32
+ ],
33
+ "workspaces": [
34
+ "packages/*"
35
+ ],
36
+ "scripts": {
37
+ "build": "tsup",
38
+ "dev": "tsup --watch",
39
+ "prepublishOnly": "tsup",
40
+ "release:patch": "npm version patch && npm publish && git push origin main --tags",
41
+ "release:minor": "npm version minor && npm publish && git push origin main --tags",
42
+ "release:major": "npm version major && npm publish && git push origin main --tags"
43
+ },
44
+ "peerDependencies": {
45
+ "@hubspot/ui-extensions": ">=0.12.0",
46
+ "react": ">=18.0.0"
47
+ },
48
+ "devDependencies": {
49
+ "@hubspot/ui-extensions": "latest",
50
+ "react": "^18.0.0",
51
+ "tsup": "^8.0.0"
52
+ },
53
+ "dependencies": {
54
+ "fuse.js": "^7.1.0"
55
+ },
56
+ "repository": {
57
+ "type": "git",
58
+ "url": "git+https://github.com/05bmckay/hs-uix.git"
59
+ },
60
+ "homepage": "https://github.com/05bmckay/hs-uix#readme",
61
+ "keywords": [
62
+ "hubspot",
63
+ "ui-extensions",
64
+ "datatable",
65
+ "formbuilder",
66
+ "crm",
67
+ "hs-uix"
68
+ ]
69
+ }