buildgrid-ui 1.3.2 → 1.3.4

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.
@@ -1,15 +1,12 @@
1
- interface Option {
2
- value: string;
1
+ export interface Option {
3
2
  label: string;
3
+ value: string;
4
4
  }
5
- interface AutoCompleteProps {
6
- value?: string;
7
- onChange?: (value: string) => void;
5
+ interface AutocompleteProps {
8
6
  options: Option[];
9
- className?: string;
10
7
  placeholder?: string;
11
- emptyMessage?: string;
12
- defaultOption?: Option;
8
+ onSelect: (option: Option) => void;
9
+ defaultSelectedOption?: Option;
13
10
  }
14
- export declare function Autocomplete(props: AutoCompleteProps): import("react/jsx-runtime").JSX.Element;
11
+ export declare function Autocomplete({ options, placeholder, onSelect, defaultSelectedOption, }: AutocompleteProps): import("react/jsx-runtime").JSX.Element;
15
12
  export {};
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "buildgrid-ui",
3
- "version": "1.3.2",
3
+ "version": "1.3.4",
4
+ "homepage": "http://adrianomaringolo.github.io/buildgrid-ui",
4
5
  "publishConfig": {
5
6
  "access": "public"
6
7
  },
@@ -19,7 +20,9 @@
19
20
  "build:link": "npm run build && npm link",
20
21
  "storybook": "storybook dev -p 6006",
21
22
  "sb": "storybook dev -p 6006",
22
- "build-storybook": "storybook build",
23
+ "build:storybook": "storybook build",
24
+ "predeploy": "npm run build:storybook",
25
+ "deploy-storybook": "gh-pages -d storybook-static",
23
26
  "release": "semantic-release",
24
27
  "prepublishOnly": "npm run build",
25
28
  "build:publish": "npm run build && npm publish"
@@ -90,6 +93,7 @@
90
93
  "eslint-config-next": "^15.1.3",
91
94
  "eslint-config-prettier": "^9.1.0",
92
95
  "eslint-plugin-prettier": "^5.2.1",
96
+ "gh-pages": "^6.3.0",
93
97
  "husky": "^9.1.7",
94
98
  "jsdom": "^26.0.0",
95
99
  "postcss": "^8.4.49",
@@ -101,6 +105,7 @@
101
105
  "react-dom": "^19.0.0",
102
106
  "semantic-release": "^24.2.0",
103
107
  "storybook": "^8.4.7",
108
+ "storybook-deployer": "^2.8.12",
104
109
  "tailwindcss": "^3.4.17",
105
110
  "typescript": "^5.7.2",
106
111
  "vitest": "^2.1.8"