buildgrid-ui 1.11.5 → 1.12.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.
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  export interface Option {
2
3
  label: string;
3
4
  value: string;
@@ -10,5 +11,7 @@ interface AutocompleteProps {
10
11
  defaultSelectedOption?: Option;
11
12
  className?: string;
12
13
  }
13
- export declare function Autocomplete(props: AutocompleteProps): import("react/jsx-runtime").JSX.Element;
14
+ export declare const Autocomplete: React.ForwardRefExoticComponent<AutocompleteProps & React.RefAttributes<{
15
+ clearSelection: () => void;
16
+ }>>;
14
17
  export {};
@@ -43,4 +43,5 @@ export declare const toast: {
43
43
  dismiss: (id?: number | string) => string | number;
44
44
  loading: (message: (React.ReactNode | (() => React.ReactNode)) | React.ReactNode, data?: ExternalToast) => string | number;
45
45
  getHistory: () => (import("sonner").ToastT | import("sonner").ToastToDismiss)[];
46
+ getToasts: () => (import("sonner").ToastT | import("sonner").ToastToDismiss)[];
46
47
  };
@@ -1,5 +1,6 @@
1
1
  export declare const normalizeString: (text: string) => string;
2
2
  export declare const normalizeStringToCompare: (text: string) => string;
3
+ export declare const containSearchStrings: (stringA: string, stringB: string) => boolean;
3
4
  export declare const sortNormalize: (a: string, b: string) => 0 | 1 | -1;
4
5
  export declare const sortByName: (a: any, b: any) => 0 | 1 | -1;
5
6
  export declare const sortByField: (a: any, b: any, field: string) => 0 | 1 | -1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "buildgrid-ui",
3
- "version": "1.11.5",
3
+ "version": "1.12.0",
4
4
  "homepage": "http://adrianomaringolo.github.io/buildgrid-ui",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -39,55 +39,55 @@
39
39
  "license": "ISC",
40
40
  "description": "",
41
41
  "dependencies": {
42
- "@radix-ui/react-accordion": "^1.2.2",
43
- "@radix-ui/react-alert-dialog": "^1.1.4",
44
- "@radix-ui/react-avatar": "^1.1.2",
45
- "@radix-ui/react-checkbox": "^1.1.3",
46
- "@radix-ui/react-dialog": "^1.1.5",
47
- "@radix-ui/react-dropdown-menu": "^2.1.4",
48
- "@radix-ui/react-label": "^2.1.1",
49
- "@radix-ui/react-navigation-menu": "^1.2.3",
50
- "@radix-ui/react-popover": "^1.1.4",
51
- "@radix-ui/react-progress": "^1.1.1",
52
- "@radix-ui/react-radio-group": "^1.2.2",
53
- "@radix-ui/react-select": "^2.1.4",
54
- "@radix-ui/react-separator": "^1.1.1",
55
- "@radix-ui/react-slot": "^1.1.1",
56
- "@radix-ui/react-switch": "^1.1.2",
57
- "@radix-ui/react-tabs": "^1.1.2",
58
- "@radix-ui/react-toggle": "^1.1.1",
59
- "@radix-ui/react-toggle-group": "^1.1.1",
60
- "@radix-ui/react-tooltip": "^1.1.6",
42
+ "@radix-ui/react-accordion": "^1.2.4",
43
+ "@radix-ui/react-alert-dialog": "^1.1.7",
44
+ "@radix-ui/react-avatar": "^1.1.4",
45
+ "@radix-ui/react-checkbox": "^1.1.5",
46
+ "@radix-ui/react-dialog": "^1.1.7",
47
+ "@radix-ui/react-dropdown-menu": "^2.1.7",
48
+ "@radix-ui/react-label": "^2.1.3",
49
+ "@radix-ui/react-navigation-menu": "^1.2.6",
50
+ "@radix-ui/react-popover": "^1.1.7",
51
+ "@radix-ui/react-progress": "^1.1.3",
52
+ "@radix-ui/react-radio-group": "^1.2.4",
53
+ "@radix-ui/react-select": "^2.1.7",
54
+ "@radix-ui/react-separator": "^1.1.3",
55
+ "@radix-ui/react-slot": "^1.2.0",
56
+ "@radix-ui/react-switch": "^1.1.4",
57
+ "@radix-ui/react-tabs": "^1.1.4",
58
+ "@radix-ui/react-toggle": "^1.1.3",
59
+ "@radix-ui/react-toggle-group": "^1.1.3",
60
+ "@radix-ui/react-tooltip": "^1.2.0",
61
61
  "@shadcn/ui": "^0.0.4",
62
62
  "class-variance-authority": "^0.7.1",
63
63
  "clsx": "^2.1.1",
64
- "cmdk": "^1.0.4",
64
+ "cmdk": "^1.1.1",
65
65
  "compressorjs": "^1.2.1",
66
66
  "cva-extended": "^2.0.0",
67
67
  "date-fns": "^4.1.0",
68
68
  "date-fns-tz": "^3.2.0",
69
69
  "highlight.js": "^11.11.1",
70
- "lucide-react": "^0.469.0",
71
- "react-day-picker": "^9.5.0",
70
+ "lucide-react": "^0.488.0",
71
+ "react-day-picker": "^9.6.7",
72
72
  "sonner": "^1.7.1",
73
- "tailwind-merge": "^2.6.0",
73
+ "tailwind-merge": "^3.2.0",
74
74
  "tailwindcss-animate": "^1.0.7",
75
- "vite": "^6.0.7"
75
+ "vite": "^6.3.0"
76
76
  },
77
77
  "peerDependencies": {
78
78
  "react": "^19.0.0",
79
79
  "react-dom": "^19.0.0"
80
80
  },
81
81
  "devDependencies": {
82
- "@chromatic-com/storybook": "^3.2.3",
83
- "@commitlint/cli": "^19.6.1",
84
- "@commitlint/config-conventional": "^19.6.0",
82
+ "@chromatic-com/storybook": "^3.2.6",
83
+ "@commitlint/cli": "^19.8.0",
84
+ "@commitlint/config-conventional": "^19.8.0",
85
85
  "@etchteam/storybook-addon-status": "^5.0.0",
86
86
  "@semantic-release/changelog": "^6.0.3",
87
- "@semantic-release/commit-analyzer": "^13.0.0",
87
+ "@semantic-release/commit-analyzer": "^13.0.1",
88
88
  "@semantic-release/git": "^10.0.1",
89
89
  "@semantic-release/npm": "^12.0.1",
90
- "@semantic-release/release-notes-generator": "^14.0.2",
90
+ "@semantic-release/release-notes-generator": "^14.0.3",
91
91
  "@storybook/addon-essentials": "^8.4.7",
92
92
  "@storybook/addon-interactions": "^8.4.7",
93
93
  "@storybook/addon-onboarding": "^8.4.7",
@@ -96,35 +96,35 @@
96
96
  "@storybook/react-vite": "^8.4.7",
97
97
  "@storybook/test": "^8.4.7",
98
98
  "@testing-library/jest-dom": "^6.6.3",
99
- "@testing-library/react": "^16.1.0",
99
+ "@testing-library/react": "^16.3.0",
100
100
  "@types/jest": "^29.5.14",
101
- "@types/node": "^22.10.3",
102
- "@types/react": "^19.0.2",
103
- "@types/react-dom": "^19.0.2",
104
- "@vitejs/plugin-react": "^4.3.4",
105
- "@vitest/ui": "^2.1.8",
106
- "autoprefixer": "^10.4.20",
107
- "eslint": "^9.17.0",
108
- "eslint-config-next": "^15.1.3",
109
- "eslint-config-prettier": "^9.1.0",
110
- "eslint-plugin-prettier": "^5.2.1",
101
+ "@types/node": "^22.14.1",
102
+ "@types/react": "^19.1.2",
103
+ "@types/react-dom": "^19.1.2",
104
+ "@vitejs/plugin-react": "^4.4.0",
105
+ "@vitest/ui": "^3.1.1",
106
+ "autoprefixer": "^10.4.21",
107
+ "eslint": "^9.24.0",
108
+ "eslint-config-next": "^15.3.0",
109
+ "eslint-config-prettier": "^10.1.2",
110
+ "eslint-plugin-prettier": "^5.2.6",
111
111
  "gh-pages": "^6.3.0",
112
112
  "husky": "^9.1.7",
113
- "jsdom": "^26.0.0",
114
- "postcss": "^8.4.49",
115
- "prettier": "^3.4.2",
113
+ "jsdom": "^26.1.0",
114
+ "postcss": "^8.5.3",
115
+ "prettier": "^3.5.3",
116
116
  "prettier-plugin-organize-imports": "^4.1.0",
117
- "prettier-plugin-tailwindcss": "^0.6.9",
118
- "pretty-quick": "^4.0.0",
119
- "react": "^19.0.0",
120
- "react-dom": "^19.0.0",
121
- "semantic-release": "^24.2.0",
122
- "storybook": "^8.4.7",
117
+ "prettier-plugin-tailwindcss": "^0.6.11",
118
+ "pretty-quick": "^4.1.1",
119
+ "react": "^19.1.0",
120
+ "react-dom": "^19.1.0",
121
+ "semantic-release": "^24.2.3",
122
+ "storybook": "^8.6.12",
123
123
  "storybook-deployer": "^2.8.12",
124
124
  "tailwindcss": "^3.4.17",
125
125
  "tailwindcss-animated": "^2.0.0",
126
- "typescript": "^5.7.2",
127
- "vite-plugin-dts": "^4.5.0",
128
- "vitest": "^2.1.8"
126
+ "typescript": "^5.8.3",
127
+ "vite-plugin-dts": "^4.5.3",
128
+ "vitest": "^3.1.1"
129
129
  }
130
130
  }