@hero-design/rn 8.99.0 → 8.99.2

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.
Files changed (26) hide show
  1. package/.turbo/turbo-build.log +3 -3
  2. package/CHANGELOG.md +12 -0
  3. package/es/index.js +14 -5
  4. package/lib/index.js +14 -5
  5. package/package.json +1 -1
  6. package/src/components/Select/MultiSelect/OptionList.tsx +6 -4
  7. package/src/components/Select/MultiSelect/__tests__/OptionList.spec.tsx +45 -0
  8. package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +40 -0
  9. package/src/components/Select/MultiSelect/__tests__/utils.spec.ts +31 -0
  10. package/src/components/Select/MultiSelect/index.tsx +3 -2
  11. package/src/components/Select/MultiSelect/utils.ts +12 -0
  12. package/src/components/StatusScreens/Empty/__tests__/__snapshots__/index.spec.tsx.snap +120 -0
  13. package/src/components/StatusScreens/Empty/__tests__/index.spec.tsx +21 -1
  14. package/src/components/StatusScreens/Empty/index.tsx +1 -1
  15. package/src/components/StatusScreens/Error/__tests__/__snapshots__/index.spec.tsx.snap +134 -0
  16. package/src/components/StatusScreens/Error/__tests__/index.spec.tsx +14 -0
  17. package/src/components/StatusScreens/Error/index.tsx +1 -1
  18. package/src/components/StatusScreens/Success/__tests__/__snapshots__/index.spec.tsx.snap +134 -0
  19. package/src/components/StatusScreens/Success/__tests__/index.spec.tsx +13 -0
  20. package/src/components/StatusScreens/Success/index.tsx +1 -1
  21. package/stats/8.99.1/rn-stats.html +4842 -0
  22. package/stats/8.99.2/rn-stats.html +4842 -0
  23. package/types/components/Select/MultiSelect/utils.d.ts +2 -0
  24. package/types/components/StatusScreens/Empty/index.d.ts +1 -1
  25. package/types/components/StatusScreens/Error/index.d.ts +1 -1
  26. package/types/components/StatusScreens/Success/index.d.ts +1 -1
@@ -0,0 +1,2 @@
1
+ import { OptionType } from '../types';
2
+ export declare const isOptionSelected: <V, T extends OptionType<V>>(value: V[], option: T) => boolean;
@@ -10,7 +10,7 @@ interface EmptyProps {
10
10
  /**
11
11
  * Empty's title.
12
12
  */
13
- title: string;
13
+ title: string | ReactElement;
14
14
  /**
15
15
  * Empty's description.
16
16
  */
@@ -17,7 +17,7 @@ interface ErrorProps extends ViewProps {
17
17
  /**
18
18
  * Title of the error
19
19
  */
20
- title: string;
20
+ title: string | ReactElement;
21
21
  /**
22
22
  * Description of the error
23
23
  */
@@ -11,7 +11,7 @@ export interface SuccessProps extends ViewProps {
11
11
  /**
12
12
  * Success's title.
13
13
  */
14
- title: string;
14
+ title: string | ReactElement;
15
15
  /**
16
16
  * Success's description.
17
17
  */