@bitrise/bitkit 13.268.0 → 13.269.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bitrise/bitkit",
3
3
  "description": "Bitrise React component library",
4
- "version": "13.268.0",
4
+ "version": "13.269.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+ssh://git@github.com/bitrise-io/bitkit.git"
@@ -29,7 +29,7 @@ const DropdownOption = <T = string,>({
29
29
  const ctx = useDropdownContext<T | null>();
30
30
  const { index } = rest as { index?: number };
31
31
  const isSelected = !!(
32
- ctx.formValue && (Array.isArray(ctx.formValue) ? ctx.formValue.includes(value) : ctx.formValue === value)
32
+ ctx.formValue !== null && (Array.isArray(ctx.formValue) ? ctx.formValue.includes(value) : ctx.formValue === value)
33
33
  );
34
34
 
35
35
  return (
@@ -252,9 +252,8 @@ const FilterForm = (props: FilterFormProps) => {
252
252
  ))
253
253
  : getEmptyText()}
254
254
  {items.length > MAX_ITEMS && (
255
- <Text textStyle="body/md/regular">
256
- We show only {MAX_ITEMS} items, use the search
257
- <br /> to find more.
255
+ <Text textStyle="body/sm/regular" color="text.secondary" marginBlockStart="4">
256
+ Showing first {MAX_ITEMS} items. Use search to find more.
258
257
  </Text>
259
258
  )}
260
259
  </CheckboxGroup>
@@ -287,9 +286,8 @@ const FilterForm = (props: FilterFormProps) => {
287
286
  })
288
287
  : getEmptyText()}
289
288
  {items.length > MAX_ITEMS && (
290
- <Text textStyle="body/md/regular">
291
- We show only {MAX_ITEMS} items, use the search
292
- <br /> to find more.
289
+ <Text textStyle="body/sm/regular" color="text.secondary" marginBlockStart="4">
290
+ Showing first {MAX_ITEMS} items. Use search to find more.
293
291
  </Text>
294
292
  )}
295
293
  </RadioGroup>