gbs-add-block 1.0.9 → 1.0.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/README.md +2 -2
- package/package.json +1 -1
- package/source/components/select/index.tsx +5 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# GBS Building Blocks 2.0 (v1.0.
|
|
1
|
+
# GBS Building Blocks 2.0 (v1.0.10)
|
|
2
2
|
|
|
3
3
|
Latest and upgraded version of GBS building blocks with headless UI and removed dependencies.
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@ Latest and upgraded version of GBS building blocks with headless UI and removed
|
|
|
6
6
|
|
|
7
7
|
For detailed documentation on usage and props, Please visit: [Building Block Documentation v2.0](https://blackmax-designs.gitbook.io/building-block-v2.0)
|
|
8
8
|
|
|
9
|
-
## What's New 🎉 (Ver 1.0.
|
|
9
|
+
## What's New 🎉 (Ver 1.0.10)
|
|
10
10
|
|
|
11
11
|
- Uploader Enhancement
|
|
12
12
|
- Select Bug Fix
|
package/package.json
CHANGED
|
@@ -194,7 +194,11 @@ const Select = forwardRef<SelectHandle, SelectProps>((props, ref) => {
|
|
|
194
194
|
filteredItems.map(({ value, label }, index: number) => (
|
|
195
195
|
<button
|
|
196
196
|
key={value}
|
|
197
|
-
ref={(el: any) =>
|
|
197
|
+
ref={(el: any) => {
|
|
198
|
+
if (itemRefs.current) {
|
|
199
|
+
itemRefs.current[index] = el;
|
|
200
|
+
}
|
|
201
|
+
}}
|
|
198
202
|
className={`${selectStyle["filter-button"]} ${
|
|
199
203
|
focusedIndex === index ? "bg-gray-100 dark:bg-gray-700" : ""
|
|
200
204
|
}`}
|