gbs-add-block 1.0.11 → 1.0.12

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 CHANGED
@@ -1,4 +1,4 @@
1
- # GBS Building Blocks 2.0 (v1.0.11)
1
+ # GBS Building Blocks 2.0 (v1.0.12)
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.11)
9
+ ## What's New 🎉 (Ver 1.0.12)
10
10
 
11
11
  - Uploader Enhancement
12
12
  - Select & MultiSelect Bug Fix
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gbs-add-block",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "React Component Library",
5
5
  "type": "module",
6
6
  "files": [
@@ -153,7 +153,7 @@ const MultiSelect = forwardRef<MultiSelectHandle, MultiSelectProps>(
153
153
  selected.includes(value) ? "stroke-gray-500" : ""
154
154
  }`}
155
155
  />
156
- {label}
156
+ {label.length > 20 ? `${label.substring(0, 20)}...` : label}
157
157
  </button>
158
158
  ))
159
159
  ) : (
@@ -170,7 +170,7 @@ const Select = forwardRef<SelectHandle, SelectProps>((props, ref) => {
170
170
  selectedItem === value ? "stroke-gray-500" : ""
171
171
  }`}
172
172
  />
173
- {label}
173
+ {label.length > 20 ? `${label.substring(0, 20)}...` : label}
174
174
  </button>
175
175
  ))
176
176
  ) : (