@planningcenter/chat-react-native 4.4.1-qa-staging.13 → 4.4.1-qa-staging.15

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 (108) hide show
  1. package/build/components/conversation/message.d.ts +2 -1
  2. package/build/components/conversation/message.d.ts.map +1 -1
  3. package/build/components/conversation/message.js +190 -161
  4. package/build/components/conversation/message.js.map +1 -1
  5. package/build/components/conversation/message_list.d.ts.map +1 -1
  6. package/build/components/conversation/message_list.js +35 -31
  7. package/build/components/conversation/message_list.js.map +1 -1
  8. package/build/components/conversation/message_reaction.d.ts +2 -1
  9. package/build/components/conversation/message_reaction.d.ts.map +1 -1
  10. package/build/components/conversation/message_reaction.js +67 -60
  11. package/build/components/conversation/message_reaction.js.map +1 -1
  12. package/build/components/conversation/messages_disabled_banners.d.ts +7 -5
  13. package/build/components/conversation/messages_disabled_banners.d.ts.map +1 -1
  14. package/build/components/conversation/messages_disabled_banners.js +15 -14
  15. package/build/components/conversation/messages_disabled_banners.js.map +1 -1
  16. package/build/components/conversation/reply_shadow_message.d.ts.map +1 -1
  17. package/build/components/conversation/reply_shadow_message.js +84 -83
  18. package/build/components/conversation/reply_shadow_message.js.map +1 -1
  19. package/build/components/conversation/system_message.d.ts +2 -1
  20. package/build/components/conversation/system_message.d.ts.map +1 -1
  21. package/build/components/conversation/system_message.js +87 -65
  22. package/build/components/conversation/system_message.js.map +1 -1
  23. package/build/components/display/filter_dropdown.d.ts +13 -0
  24. package/build/components/display/filter_dropdown.d.ts.map +1 -0
  25. package/build/components/display/filter_dropdown.js +188 -0
  26. package/build/components/display/filter_dropdown.js.map +1 -0
  27. package/build/components/display/index.d.ts +1 -0
  28. package/build/components/display/index.d.ts.map +1 -1
  29. package/build/components/display/index.js +1 -0
  30. package/build/components/display/index.js.map +1 -1
  31. package/build/hooks/use_conversation.d.ts +73 -1
  32. package/build/hooks/use_conversation.d.ts.map +1 -1
  33. package/build/hooks/use_conversation.js +122 -3
  34. package/build/hooks/use_conversation.js.map +1 -1
  35. package/build/hooks/use_unarchive_conversation_action.d.ts +7 -0
  36. package/build/hooks/use_unarchive_conversation_action.d.ts.map +1 -0
  37. package/build/hooks/use_unarchive_conversation_action.js +52 -0
  38. package/build/hooks/use_unarchive_conversation_action.js.map +1 -0
  39. package/build/screens/attachment_actions/attachment_actions_screen.d.ts.map +1 -1
  40. package/build/screens/attachment_actions/attachment_actions_screen.js +84 -61
  41. package/build/screens/attachment_actions/attachment_actions_screen.js.map +1 -1
  42. package/build/screens/conversation_details_screen.d.ts.map +1 -1
  43. package/build/screens/conversation_details_screen.js +487 -393
  44. package/build/screens/conversation_details_screen.js.map +1 -1
  45. package/build/screens/conversation_screen.d.ts.map +1 -1
  46. package/build/screens/conversation_screen.js +12 -9
  47. package/build/screens/conversation_screen.js.map +1 -1
  48. package/build/screens/design_system_screen.d.ts.map +1 -1
  49. package/build/screens/design_system_screen.js +275 -215
  50. package/build/screens/design_system_screen.js.map +1 -1
  51. package/build/screens/message_actions_screen.d.ts.map +1 -1
  52. package/build/screens/message_actions_screen.js +112 -92
  53. package/build/screens/message_actions_screen.js.map +1 -1
  54. package/build/types/resources/member_ability.d.ts +2 -0
  55. package/build/types/resources/member_ability.d.ts.map +1 -1
  56. package/build/types/resources/member_ability.js.map +1 -1
  57. package/build/utils/archived_conversation.d.ts +5 -0
  58. package/build/utils/archived_conversation.d.ts.map +1 -0
  59. package/build/utils/archived_conversation.js +5 -0
  60. package/build/utils/archived_conversation.js.map +1 -0
  61. package/build/utils/index.d.ts +1 -0
  62. package/build/utils/index.d.ts.map +1 -1
  63. package/build/utils/index.js +1 -0
  64. package/build/utils/index.js.map +1 -1
  65. package/build/utils/native_adapters/configuration.d.ts +3 -0
  66. package/build/utils/native_adapters/configuration.d.ts.map +1 -1
  67. package/build/utils/native_adapters/configuration.js +3 -0
  68. package/build/utils/native_adapters/configuration.js.map +1 -1
  69. package/build/utils/native_adapters/index.d.ts +1 -0
  70. package/build/utils/native_adapters/index.d.ts.map +1 -1
  71. package/build/utils/native_adapters/index.js +1 -0
  72. package/build/utils/native_adapters/index.js.map +1 -1
  73. package/build/utils/native_adapters/menu.d.ts +40 -0
  74. package/build/utils/native_adapters/menu.d.ts.map +1 -0
  75. package/build/utils/native_adapters/menu.js +55 -0
  76. package/build/utils/native_adapters/menu.js.map +1 -0
  77. package/package.json +3 -3
  78. package/src/__tests__/screens/message_actions_screen.test.tsx +65 -2
  79. package/src/components/conversation/__tests__/message_list.test.tsx +68 -2
  80. package/src/components/conversation/__tests__/system_message.test.tsx +3 -1
  81. package/src/components/conversation/message.tsx +11 -14
  82. package/src/components/conversation/message_list.tsx +9 -1
  83. package/src/components/conversation/message_reaction.tsx +7 -2
  84. package/src/components/conversation/messages_disabled_banners.tsx +17 -18
  85. package/src/components/conversation/reply_shadow_message.tsx +9 -8
  86. package/src/components/conversation/system_message.tsx +24 -10
  87. package/src/components/display/__tests__/filter_dropdown.test.tsx +106 -0
  88. package/src/components/display/filter_dropdown.tsx +123 -0
  89. package/src/components/display/index.ts +1 -0
  90. package/src/hooks/__tests__/use_conversation_archive.test.tsx +130 -0
  91. package/src/hooks/__tests__/use_conversation_jolt_events.test.tsx +74 -0
  92. package/src/hooks/__tests__/use_unarchive_conversation_action.test.tsx +67 -0
  93. package/src/hooks/use_conversation.ts +41 -3
  94. package/src/hooks/use_unarchive_conversation_action.ts +24 -0
  95. package/src/screens/__tests__/conversation_details_screen.test.tsx +289 -0
  96. package/src/screens/attachment_actions/__tests__/attachment_actions_screen.test.tsx +72 -0
  97. package/src/screens/attachment_actions/attachment_actions_screen.tsx +3 -1
  98. package/src/screens/conversation_details_screen.tsx +78 -14
  99. package/src/screens/conversation_screen.tsx +3 -1
  100. package/src/screens/design_system_screen.tsx +26 -0
  101. package/src/screens/message_actions_screen.tsx +29 -20
  102. package/src/types/resources/member_ability.ts +2 -0
  103. package/src/utils/archived_conversation.ts +13 -0
  104. package/src/utils/index.ts +1 -0
  105. package/src/utils/native_adapters/__tests__/menu.test.tsx +42 -0
  106. package/src/utils/native_adapters/configuration.ts +5 -0
  107. package/src/utils/native_adapters/index.ts +1 -0
  108. package/src/utils/native_adapters/menu.tsx +68 -0
@@ -2,7 +2,7 @@ import { c as _c } from "react/compiler-runtime";
2
2
  import { FontAwesomeIcon } from '@fortawesome/react-native-fontawesome';
3
3
  import React, { useState } from 'react';
4
4
  import { Alert, Pressable, ScrollView, StyleSheet, View } from 'react-native';
5
- import { Avatar, AvatarGroup, Badge, Banner, BannerCollapsible, Button, ConversationAvatar, EmojiAvatar, IconAvatar, ToggleButton, Heading, Icon, IconButton, Image, Person, Spinner, Switch, Text, TextButton, TextInlineButton, ImageAttachmentPreview } from '../components/display';
5
+ import { Avatar, AvatarGroup, Badge, Banner, BannerCollapsible, Button, ConversationAvatar, EmojiAvatar, FilterDropdown, IconAvatar, ToggleButton, Heading, Icon, IconButton, Image, Person, Spinner, Switch, Text, TextButton, TextInlineButton, ImageAttachmentPreview } from '../components/display';
6
6
  import { VideoAttachmentPreview } from '../components/display/video_attachment_preview';
7
7
  import BannerPrimitive from '../components/primitive/banner_primitive';
8
8
  import BlankState from '../components/primitive/blank_state_primitive';
@@ -45,6 +45,22 @@ const personChild = {
45
45
  gender: null
46
46
  };
47
47
  const buttonPress = () => Alert.alert('Button clicked');
48
+ const filterDropdownOptions = [{
49
+ id: 'all',
50
+ label: 'All conversations'
51
+ }, {
52
+ id: 'groups',
53
+ label: 'Groups'
54
+ }, {
55
+ id: 'teams',
56
+ label: 'Teams'
57
+ }, {
58
+ id: 'dms',
59
+ label: 'DMs'
60
+ }, {
61
+ id: 'unread',
62
+ label: 'Unread'
63
+ }];
48
64
 
49
65
  // =================================
50
66
  // ====== Component ================
@@ -367,12 +383,13 @@ function HeadingTextSection(t0) {
367
383
  return t11;
368
384
  }
369
385
  function PressablesSection(t0) {
370
- const $ = _c(71);
386
+ const $ = _c(80);
371
387
  const {
372
388
  isLast
373
389
  } = t0;
374
390
  const styles = useStyles();
375
391
  const [filterSelected, setFilterSelected] = useState("Groups");
392
+ const [dropdownSelected, setDropdownSelected] = useState("all");
376
393
  let t1;
377
394
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
378
395
  t1 = /*#__PURE__*/_jsxs(Row, {
@@ -686,17 +703,56 @@ function PressablesSection(t0) {
686
703
  t18 = $[20];
687
704
  }
688
705
  let t19;
706
+ if ($[21] !== dropdownSelected) {
707
+ t19 = filterDropdownOptions.find(option => option.id === dropdownSelected)?.label ?? "";
708
+ $[21] = dropdownSelected;
709
+ $[22] = t19;
710
+ } else {
711
+ t19 = $[22];
712
+ }
689
713
  let t20;
714
+ if ($[23] !== dropdownSelected || $[24] !== t19) {
715
+ t20 = /*#__PURE__*/_jsx(FilterDropdown, {
716
+ options: filterDropdownOptions,
717
+ selectedId: dropdownSelected,
718
+ onSelect: setDropdownSelected,
719
+ onMoreFilters: _temp,
720
+ triggerLabel: t19
721
+ });
722
+ $[23] = dropdownSelected;
723
+ $[24] = t19;
724
+ $[25] = t20;
725
+ } else {
726
+ t20 = $[25];
727
+ }
690
728
  let t21;
691
- if ($[21] === Symbol.for("react.memo_cache_sentinel")) {
692
- t19 = /*#__PURE__*/_jsx(IconButton, {
729
+ if ($[26] !== styles.alignRowLeft || $[27] !== t20) {
730
+ t21 = /*#__PURE__*/_jsx(Group, {
731
+ title: "FilterDropdown",
732
+ description: "Trigger that opens the host's native menu of filter options plus a More filters action. Needs a menu adapter.",
733
+ children: /*#__PURE__*/_jsx(Row, {
734
+ style: styles.alignRowLeft,
735
+ children: t20
736
+ })
737
+ });
738
+ $[26] = styles.alignRowLeft;
739
+ $[27] = t20;
740
+ $[28] = t21;
741
+ } else {
742
+ t21 = $[28];
743
+ }
744
+ let t22;
745
+ let t23;
746
+ let t24;
747
+ if ($[29] === Symbol.for("react.memo_cache_sentinel")) {
748
+ t22 = /*#__PURE__*/_jsx(IconButton, {
693
749
  onPress: buttonPress,
694
750
  name: "general.paperclip",
695
751
  accessibilityLabel: "Add attachment",
696
752
  accessibilityHint: "Opens your device's image gallary",
697
753
  size: "md"
698
754
  });
699
- t20 = /*#__PURE__*/_jsx(IconButton, {
755
+ t23 = /*#__PURE__*/_jsx(IconButton, {
700
756
  onPress: buttonPress,
701
757
  name: "general.paperclip",
702
758
  accessibilityLabel: "Add attachment",
@@ -704,7 +760,7 @@ function PressablesSection(t0) {
704
760
  appearance: "danger",
705
761
  size: "lg"
706
762
  });
707
- t21 = /*#__PURE__*/_jsx(IconButton, {
763
+ t24 = /*#__PURE__*/_jsx(IconButton, {
708
764
  onPress: buttonPress,
709
765
  name: "general.paperclip",
710
766
  accessibilityLabel: "Add attachment",
@@ -712,17 +768,17 @@ function PressablesSection(t0) {
712
768
  appearance: "interaction",
713
769
  size: "xl"
714
770
  });
715
- $[21] = t19;
716
- $[22] = t20;
717
- $[23] = t21;
771
+ $[29] = t22;
772
+ $[30] = t23;
773
+ $[31] = t24;
718
774
  } else {
719
- t19 = $[21];
720
- t20 = $[22];
721
- t21 = $[23];
775
+ t22 = $[29];
776
+ t23 = $[30];
777
+ t24 = $[31];
722
778
  }
723
- let t22;
724
- if ($[24] !== styles.customIconButtonColor) {
725
- t22 = /*#__PURE__*/_jsx(IconButton, {
779
+ let t25;
780
+ if ($[32] !== styles.customIconButtonColor) {
781
+ t25 = /*#__PURE__*/_jsx(IconButton, {
726
782
  onPress: buttonPress,
727
783
  name: "general.paperclip",
728
784
  accessibilityLabel: "Add attachment",
@@ -730,39 +786,39 @@ function PressablesSection(t0) {
730
786
  iconStyle: styles.customIconButtonColor,
731
787
  size: "xxl"
732
788
  });
733
- $[24] = styles.customIconButtonColor;
734
- $[25] = t22;
789
+ $[32] = styles.customIconButtonColor;
790
+ $[33] = t25;
735
791
  } else {
736
- t22 = $[25];
792
+ t25 = $[33];
737
793
  }
738
- let t23;
739
- if ($[26] === Symbol.for("react.memo_cache_sentinel")) {
740
- t23 = /*#__PURE__*/_jsx(IconButton, {
794
+ let t26;
795
+ if ($[34] === Symbol.for("react.memo_cache_sentinel")) {
796
+ t26 = /*#__PURE__*/_jsx(IconButton, {
741
797
  onPress: buttonPress,
742
798
  name: "general.paperclip",
743
799
  accessibilityLabel: "Add attachment",
744
800
  accessibilityHint: "Opens your device's image gallary",
745
801
  size: "xxxl"
746
802
  });
747
- $[26] = t23;
803
+ $[34] = t26;
748
804
  } else {
749
- t23 = $[26];
805
+ t26 = $[34];
750
806
  }
751
- let t24;
752
- if ($[27] !== t22) {
753
- t24 = /*#__PURE__*/_jsxs(Row, {
754
- children: [t19, t20, t21, t22, t23]
807
+ let t27;
808
+ if ($[35] !== t25) {
809
+ t27 = /*#__PURE__*/_jsxs(Row, {
810
+ children: [t22, t23, t24, t25, t26]
755
811
  });
756
- $[27] = t22;
757
- $[28] = t24;
812
+ $[35] = t25;
813
+ $[36] = t27;
758
814
  } else {
759
- t24 = $[28];
815
+ t27 = $[36];
760
816
  }
761
- let t25;
762
- let t26;
763
- let t27;
764
- if ($[29] === Symbol.for("react.memo_cache_sentinel")) {
765
- t25 = /*#__PURE__*/_jsx(IconButton, {
817
+ let t28;
818
+ let t29;
819
+ let t30;
820
+ if ($[37] === Symbol.for("react.memo_cache_sentinel")) {
821
+ t28 = /*#__PURE__*/_jsx(IconButton, {
766
822
  onPress: buttonPress,
767
823
  name: "general.paperclip",
768
824
  accessibilityLabel: "Add attachment",
@@ -770,7 +826,7 @@ function PressablesSection(t0) {
770
826
  size: "md",
771
827
  disabled: true
772
828
  });
773
- t26 = /*#__PURE__*/_jsx(IconButton, {
829
+ t29 = /*#__PURE__*/_jsx(IconButton, {
774
830
  onPress: buttonPress,
775
831
  name: "general.paperclip",
776
832
  accessibilityLabel: "Add attachment",
@@ -779,7 +835,7 @@ function PressablesSection(t0) {
779
835
  size: "lg",
780
836
  disabled: true
781
837
  });
782
- t27 = /*#__PURE__*/_jsx(IconButton, {
838
+ t30 = /*#__PURE__*/_jsx(IconButton, {
783
839
  onPress: buttonPress,
784
840
  name: "general.paperclip",
785
841
  accessibilityLabel: "Add attachment",
@@ -788,17 +844,17 @@ function PressablesSection(t0) {
788
844
  size: "xl",
789
845
  disabled: true
790
846
  });
791
- $[29] = t25;
792
- $[30] = t26;
793
- $[31] = t27;
847
+ $[37] = t28;
848
+ $[38] = t29;
849
+ $[39] = t30;
794
850
  } else {
795
- t25 = $[29];
796
- t26 = $[30];
797
- t27 = $[31];
851
+ t28 = $[37];
852
+ t29 = $[38];
853
+ t30 = $[39];
798
854
  }
799
- let t28;
800
- if ($[32] !== styles.customIconButtonColor) {
801
- t28 = /*#__PURE__*/_jsx(IconButton, {
855
+ let t31;
856
+ if ($[40] !== styles.customIconButtonColor) {
857
+ t31 = /*#__PURE__*/_jsx(IconButton, {
802
858
  onPress: buttonPress,
803
859
  name: "general.paperclip",
804
860
  accessibilityLabel: "Add attachment",
@@ -807,14 +863,14 @@ function PressablesSection(t0) {
807
863
  size: "xxl",
808
864
  disabled: true
809
865
  });
810
- $[32] = styles.customIconButtonColor;
811
- $[33] = t28;
866
+ $[40] = styles.customIconButtonColor;
867
+ $[41] = t31;
812
868
  } else {
813
- t28 = $[33];
869
+ t31 = $[41];
814
870
  }
815
- let t29;
816
- if ($[34] === Symbol.for("react.memo_cache_sentinel")) {
817
- t29 = /*#__PURE__*/_jsx(IconButton, {
871
+ let t32;
872
+ if ($[42] === Symbol.for("react.memo_cache_sentinel")) {
873
+ t32 = /*#__PURE__*/_jsx(IconButton, {
818
874
  onPress: buttonPress,
819
875
  name: "general.paperclip",
820
876
  accessibilityLabel: "Add attachment",
@@ -822,25 +878,25 @@ function PressablesSection(t0) {
822
878
  size: "xxxl",
823
879
  disabled: true
824
880
  });
825
- $[34] = t29;
881
+ $[42] = t32;
826
882
  } else {
827
- t29 = $[34];
883
+ t32 = $[42];
828
884
  }
829
- let t30;
830
- if ($[35] !== t28) {
831
- t30 = /*#__PURE__*/_jsxs(Row, {
832
- children: [t25, t26, t27, t28, t29]
885
+ let t33;
886
+ if ($[43] !== t31) {
887
+ t33 = /*#__PURE__*/_jsxs(Row, {
888
+ children: [t28, t29, t30, t31, t32]
833
889
  });
834
- $[35] = t28;
835
- $[36] = t30;
890
+ $[43] = t31;
891
+ $[44] = t33;
836
892
  } else {
837
- t30 = $[36];
893
+ t33 = $[44];
838
894
  }
839
- let t31;
840
- let t32;
841
- let t33;
842
- if ($[37] === Symbol.for("react.memo_cache_sentinel")) {
843
- t31 = /*#__PURE__*/_jsx(IconButton, {
895
+ let t34;
896
+ let t35;
897
+ let t36;
898
+ if ($[45] === Symbol.for("react.memo_cache_sentinel")) {
899
+ t34 = /*#__PURE__*/_jsx(IconButton, {
844
900
  onPress: buttonPress,
845
901
  name: "general.paperclip",
846
902
  accessibilityLabel: "Add attachment",
@@ -848,7 +904,7 @@ function PressablesSection(t0) {
848
904
  size: "md",
849
905
  loading: true
850
906
  });
851
- t32 = /*#__PURE__*/_jsx(IconButton, {
907
+ t35 = /*#__PURE__*/_jsx(IconButton, {
852
908
  onPress: buttonPress,
853
909
  name: "general.paperclip",
854
910
  accessibilityLabel: "Add attachment",
@@ -857,7 +913,7 @@ function PressablesSection(t0) {
857
913
  size: "lg",
858
914
  loading: true
859
915
  });
860
- t33 = /*#__PURE__*/_jsx(IconButton, {
916
+ t36 = /*#__PURE__*/_jsx(IconButton, {
861
917
  onPress: buttonPress,
862
918
  name: "general.paperclip",
863
919
  accessibilityLabel: "Add attachment",
@@ -866,17 +922,17 @@ function PressablesSection(t0) {
866
922
  size: "xl",
867
923
  loading: true
868
924
  });
869
- $[37] = t31;
870
- $[38] = t32;
871
- $[39] = t33;
925
+ $[45] = t34;
926
+ $[46] = t35;
927
+ $[47] = t36;
872
928
  } else {
873
- t31 = $[37];
874
- t32 = $[38];
875
- t33 = $[39];
929
+ t34 = $[45];
930
+ t35 = $[46];
931
+ t36 = $[47];
876
932
  }
877
- let t34;
878
- if ($[40] !== styles.customIconButtonColor) {
879
- t34 = /*#__PURE__*/_jsx(IconButton, {
933
+ let t37;
934
+ if ($[48] !== styles.customIconButtonColor) {
935
+ t37 = /*#__PURE__*/_jsx(IconButton, {
880
936
  onPress: buttonPress,
881
937
  name: "general.paperclip",
882
938
  accessibilityLabel: "Add attachment",
@@ -885,14 +941,14 @@ function PressablesSection(t0) {
885
941
  size: "xxl",
886
942
  loading: true
887
943
  });
888
- $[40] = styles.customIconButtonColor;
889
- $[41] = t34;
944
+ $[48] = styles.customIconButtonColor;
945
+ $[49] = t37;
890
946
  } else {
891
- t34 = $[41];
947
+ t37 = $[49];
892
948
  }
893
- let t35;
894
- if ($[42] === Symbol.for("react.memo_cache_sentinel")) {
895
- t35 = /*#__PURE__*/_jsx(IconButton, {
949
+ let t38;
950
+ if ($[50] === Symbol.for("react.memo_cache_sentinel")) {
951
+ t38 = /*#__PURE__*/_jsx(IconButton, {
896
952
  onPress: buttonPress,
897
953
  name: "general.paperclip",
898
954
  accessibilityLabel: "Add attachment",
@@ -900,37 +956,37 @@ function PressablesSection(t0) {
900
956
  size: "xxxl",
901
957
  loading: true
902
958
  });
903
- $[42] = t35;
959
+ $[50] = t38;
904
960
  } else {
905
- t35 = $[42];
961
+ t38 = $[50];
906
962
  }
907
- let t36;
908
- if ($[43] !== t34) {
909
- t36 = /*#__PURE__*/_jsxs(Row, {
910
- children: [t31, t32, t33, t34, t35]
963
+ let t39;
964
+ if ($[51] !== t37) {
965
+ t39 = /*#__PURE__*/_jsxs(Row, {
966
+ children: [t34, t35, t36, t37, t38]
911
967
  });
912
- $[43] = t34;
913
- $[44] = t36;
968
+ $[51] = t37;
969
+ $[52] = t39;
914
970
  } else {
915
- t36 = $[44];
971
+ t39 = $[52];
916
972
  }
917
- let t37;
918
- if ($[45] !== t24 || $[46] !== t30 || $[47] !== t36) {
919
- t37 = /*#__PURE__*/_jsxs(Group, {
973
+ let t40;
974
+ if ($[53] !== t27 || $[54] !== t33 || $[55] !== t39) {
975
+ t40 = /*#__PURE__*/_jsxs(Group, {
920
976
  title: "IconButton",
921
977
  description: "Supports different appearances, sizes, along with loading & disabled states. Use `iconStyle` for custom colors and font sizes. Requires `accessibilityLabel` as icon's don't provide context to screen readers.",
922
- children: [t24, t30, t36]
978
+ children: [t27, t33, t39]
923
979
  });
924
- $[45] = t24;
925
- $[46] = t30;
926
- $[47] = t36;
927
- $[48] = t37;
980
+ $[53] = t27;
981
+ $[54] = t33;
982
+ $[55] = t39;
983
+ $[56] = t40;
928
984
  } else {
929
- t37 = $[48];
985
+ t40 = $[56];
930
986
  }
931
- let t38;
932
- if ($[49] === Symbol.for("react.memo_cache_sentinel")) {
933
- t38 = /*#__PURE__*/_jsxs(Row, {
987
+ let t41;
988
+ if ($[57] === Symbol.for("react.memo_cache_sentinel")) {
989
+ t41 = /*#__PURE__*/_jsxs(Row, {
934
990
  children: [/*#__PURE__*/_jsx(TextButton, {
935
991
  onPress: buttonPress,
936
992
  children: "Default"
@@ -948,13 +1004,13 @@ function PressablesSection(t0) {
948
1004
  children: "Default"
949
1005
  })]
950
1006
  });
951
- $[49] = t38;
1007
+ $[57] = t41;
952
1008
  } else {
953
- t38 = $[49];
1009
+ t41 = $[57];
954
1010
  }
955
- let t39;
956
- if ($[50] === Symbol.for("react.memo_cache_sentinel")) {
957
- t39 = /*#__PURE__*/_jsxs(Row, {
1011
+ let t42;
1012
+ if ($[58] === Symbol.for("react.memo_cache_sentinel")) {
1013
+ t42 = /*#__PURE__*/_jsxs(Row, {
958
1014
  children: [/*#__PURE__*/_jsx(TextButton, {
959
1015
  onPress: buttonPress,
960
1016
  appearance: "danger",
@@ -976,16 +1032,16 @@ function PressablesSection(t0) {
976
1032
  children: "Danger"
977
1033
  })]
978
1034
  });
979
- $[50] = t39;
1035
+ $[58] = t42;
980
1036
  } else {
981
- t39 = $[50];
1037
+ t42 = $[58];
982
1038
  }
983
- let t40;
984
- if ($[51] === Symbol.for("react.memo_cache_sentinel")) {
985
- t40 = /*#__PURE__*/_jsxs(Group, {
1039
+ let t43;
1040
+ if ($[59] === Symbol.for("react.memo_cache_sentinel")) {
1041
+ t43 = /*#__PURE__*/_jsxs(Group, {
986
1042
  title: "TextButton",
987
1043
  description: "Pressable text with default & danger appearance options. Can be disabled and accept `Text` variance props.",
988
- children: [t38, t39, /*#__PURE__*/_jsxs(Row, {
1044
+ children: [t41, t42, /*#__PURE__*/_jsxs(Row, {
989
1045
  children: [/*#__PURE__*/_jsx(TextButton, {
990
1046
  onPress: buttonPress,
991
1047
  disabled: true,
@@ -1008,189 +1064,193 @@ function PressablesSection(t0) {
1008
1064
  })]
1009
1065
  })]
1010
1066
  });
1011
- $[51] = t40;
1067
+ $[59] = t43;
1012
1068
  } else {
1013
- t40 = $[51];
1069
+ t43 = $[59];
1014
1070
  }
1015
- let t41;
1016
- if ($[52] === Symbol.for("react.memo_cache_sentinel")) {
1017
- t41 = /*#__PURE__*/_jsx(TextInlineButton, {
1071
+ let t44;
1072
+ if ($[60] === Symbol.for("react.memo_cache_sentinel")) {
1073
+ t44 = /*#__PURE__*/_jsx(TextInlineButton, {
1018
1074
  onPress: buttonPress,
1019
1075
  children: "default button text"
1020
1076
  });
1021
- $[52] = t41;
1077
+ $[60] = t44;
1022
1078
  } else {
1023
- t41 = $[52];
1079
+ t44 = $[60];
1024
1080
  }
1025
- let t42;
1026
- if ($[53] === Symbol.for("react.memo_cache_sentinel")) {
1027
- t42 = /*#__PURE__*/_jsx(TextInlineButton, {
1081
+ let t45;
1082
+ if ($[61] === Symbol.for("react.memo_cache_sentinel")) {
1083
+ t45 = /*#__PURE__*/_jsx(TextInlineButton, {
1028
1084
  onPress: buttonPress,
1029
1085
  appearance: "danger",
1030
1086
  children: "danger button text"
1031
1087
  });
1032
- $[53] = t42;
1088
+ $[61] = t45;
1033
1089
  } else {
1034
- t42 = $[53];
1090
+ t45 = $[61];
1035
1091
  }
1036
- let t43;
1037
- if ($[54] === Symbol.for("react.memo_cache_sentinel")) {
1038
- t43 = /*#__PURE__*/_jsxs(Text, {
1039
- children: ["This text is next to", " ", t41, " Lorem ipsum dolor", " ", t42, " ", "consectetur", " ", /*#__PURE__*/_jsx(TextInlineButton, {
1092
+ let t46;
1093
+ if ($[62] === Symbol.for("react.memo_cache_sentinel")) {
1094
+ t46 = /*#__PURE__*/_jsxs(Text, {
1095
+ children: ["This text is next to", " ", t44, " Lorem ipsum dolor", " ", t45, " ", "consectetur", " ", /*#__PURE__*/_jsx(TextInlineButton, {
1040
1096
  onPress: buttonPress,
1041
1097
  disabled: true,
1042
1098
  children: "disabled button text"
1043
1099
  }), " ", "elit."]
1044
1100
  });
1045
- $[54] = t43;
1101
+ $[62] = t46;
1046
1102
  } else {
1047
- t43 = $[54];
1103
+ t46 = $[62];
1048
1104
  }
1049
- let t44;
1050
- if ($[55] === Symbol.for("react.memo_cache_sentinel")) {
1051
- t44 = /*#__PURE__*/_jsx(TextInlineButton, {
1105
+ let t47;
1106
+ if ($[63] === Symbol.for("react.memo_cache_sentinel")) {
1107
+ t47 = /*#__PURE__*/_jsx(TextInlineButton, {
1052
1108
  variant: "secondary",
1053
1109
  onPress: buttonPress,
1054
1110
  children: "default button text"
1055
1111
  });
1056
- $[55] = t44;
1112
+ $[63] = t47;
1057
1113
  } else {
1058
- t44 = $[55];
1114
+ t47 = $[63];
1059
1115
  }
1060
- let t45;
1061
- if ($[56] === Symbol.for("react.memo_cache_sentinel")) {
1062
- t45 = /*#__PURE__*/_jsx(TextInlineButton, {
1116
+ let t48;
1117
+ if ($[64] === Symbol.for("react.memo_cache_sentinel")) {
1118
+ t48 = /*#__PURE__*/_jsx(TextInlineButton, {
1063
1119
  variant: "secondary",
1064
1120
  onPress: buttonPress,
1065
1121
  appearance: "danger",
1066
1122
  children: "danger button text"
1067
1123
  });
1068
- $[56] = t45;
1124
+ $[64] = t48;
1069
1125
  } else {
1070
- t45 = $[56];
1126
+ t48 = $[64];
1071
1127
  }
1072
- let t46;
1073
- if ($[57] === Symbol.for("react.memo_cache_sentinel")) {
1074
- t46 = /*#__PURE__*/_jsxs(Text, {
1128
+ let t49;
1129
+ if ($[65] === Symbol.for("react.memo_cache_sentinel")) {
1130
+ t49 = /*#__PURE__*/_jsxs(Text, {
1075
1131
  variant: "secondary",
1076
- children: ["This text is next to", " ", t44, " ", "Lorem ipsum dolor", " ", t45, " ", "consectetur", " ", /*#__PURE__*/_jsx(TextInlineButton, {
1132
+ children: ["This text is next to", " ", t47, " ", "Lorem ipsum dolor", " ", t48, " ", "consectetur", " ", /*#__PURE__*/_jsx(TextInlineButton, {
1077
1133
  variant: "secondary",
1078
1134
  onPress: buttonPress,
1079
1135
  disabled: true,
1080
1136
  children: "disabled button text"
1081
1137
  }), " ", "elit."]
1082
1138
  });
1083
- $[57] = t46;
1139
+ $[65] = t49;
1084
1140
  } else {
1085
- t46 = $[57];
1141
+ t49 = $[65];
1086
1142
  }
1087
- let t47;
1088
- if ($[58] === Symbol.for("react.memo_cache_sentinel")) {
1089
- t47 = /*#__PURE__*/_jsx(TextInlineButton, {
1143
+ let t50;
1144
+ if ($[66] === Symbol.for("react.memo_cache_sentinel")) {
1145
+ t50 = /*#__PURE__*/_jsx(TextInlineButton, {
1090
1146
  variant: "tertiary",
1091
1147
  onPress: buttonPress,
1092
1148
  children: "default button text"
1093
1149
  });
1094
- $[58] = t47;
1150
+ $[66] = t50;
1095
1151
  } else {
1096
- t47 = $[58];
1152
+ t50 = $[66];
1097
1153
  }
1098
- let t48;
1099
- if ($[59] === Symbol.for("react.memo_cache_sentinel")) {
1100
- t48 = /*#__PURE__*/_jsx(TextInlineButton, {
1154
+ let t51;
1155
+ if ($[67] === Symbol.for("react.memo_cache_sentinel")) {
1156
+ t51 = /*#__PURE__*/_jsx(TextInlineButton, {
1101
1157
  variant: "tertiary",
1102
1158
  onPress: buttonPress,
1103
1159
  appearance: "danger",
1104
1160
  children: "danger button text"
1105
1161
  });
1106
- $[59] = t48;
1162
+ $[67] = t51;
1107
1163
  } else {
1108
- t48 = $[59];
1164
+ t51 = $[67];
1109
1165
  }
1110
- let t49;
1111
- if ($[60] === Symbol.for("react.memo_cache_sentinel")) {
1112
- t49 = /*#__PURE__*/_jsxs(Text, {
1166
+ let t52;
1167
+ if ($[68] === Symbol.for("react.memo_cache_sentinel")) {
1168
+ t52 = /*#__PURE__*/_jsxs(Text, {
1113
1169
  variant: "tertiary",
1114
- children: ["This text is next to", " ", t47, " ", "Lorem ipsum dolor", " ", t48, " ", "consectetur", " ", /*#__PURE__*/_jsx(TextInlineButton, {
1170
+ children: ["This text is next to", " ", t50, " ", "Lorem ipsum dolor", " ", t51, " ", "consectetur", " ", /*#__PURE__*/_jsx(TextInlineButton, {
1115
1171
  variant: "tertiary",
1116
1172
  onPress: buttonPress,
1117
1173
  disabled: true,
1118
1174
  children: "disabled button text"
1119
1175
  }), " ", "elit."]
1120
1176
  });
1121
- $[60] = t49;
1177
+ $[68] = t52;
1122
1178
  } else {
1123
- t49 = $[60];
1179
+ t52 = $[68];
1124
1180
  }
1125
- let t50;
1126
- if ($[61] === Symbol.for("react.memo_cache_sentinel")) {
1127
- t50 = /*#__PURE__*/_jsx(TextInlineButton, {
1181
+ let t53;
1182
+ if ($[69] === Symbol.for("react.memo_cache_sentinel")) {
1183
+ t53 = /*#__PURE__*/_jsx(TextInlineButton, {
1128
1184
  variant: "footnote",
1129
1185
  onPress: buttonPress,
1130
1186
  children: "default button text"
1131
1187
  });
1132
- $[61] = t50;
1188
+ $[69] = t53;
1133
1189
  } else {
1134
- t50 = $[61];
1190
+ t53 = $[69];
1135
1191
  }
1136
- let t51;
1137
- if ($[62] === Symbol.for("react.memo_cache_sentinel")) {
1138
- t51 = /*#__PURE__*/_jsx(TextInlineButton, {
1192
+ let t54;
1193
+ if ($[70] === Symbol.for("react.memo_cache_sentinel")) {
1194
+ t54 = /*#__PURE__*/_jsx(TextInlineButton, {
1139
1195
  variant: "footnote",
1140
1196
  onPress: buttonPress,
1141
1197
  appearance: "danger",
1142
1198
  children: "danger button text"
1143
1199
  });
1144
- $[62] = t51;
1200
+ $[70] = t54;
1145
1201
  } else {
1146
- t51 = $[62];
1202
+ t54 = $[70];
1147
1203
  }
1148
- let t52;
1149
- if ($[63] === Symbol.for("react.memo_cache_sentinel")) {
1150
- t52 = /*#__PURE__*/_jsxs(Text, {
1204
+ let t55;
1205
+ if ($[71] === Symbol.for("react.memo_cache_sentinel")) {
1206
+ t55 = /*#__PURE__*/_jsxs(Text, {
1151
1207
  variant: "footnote",
1152
- children: ["This text is next to", " ", t50, " ", "Lorem ipsum dolor", " ", t51, " ", "consectetur", " ", /*#__PURE__*/_jsx(TextInlineButton, {
1208
+ children: ["This text is next to", " ", t53, " ", "Lorem ipsum dolor", " ", t54, " ", "consectetur", " ", /*#__PURE__*/_jsx(TextInlineButton, {
1153
1209
  variant: "footnote",
1154
1210
  onPress: buttonPress,
1155
1211
  disabled: true,
1156
1212
  children: "disabled button text"
1157
1213
  }), " ", "elit."]
1158
1214
  });
1159
- $[63] = t52;
1215
+ $[71] = t55;
1160
1216
  } else {
1161
- t52 = $[63];
1217
+ t55 = $[71];
1162
1218
  }
1163
- let t53;
1164
- if ($[64] !== styles.alignRowLeft) {
1165
- t53 = /*#__PURE__*/_jsx(Group, {
1219
+ let t56;
1220
+ if ($[72] !== styles.alignRowLeft) {
1221
+ t56 = /*#__PURE__*/_jsx(Group, {
1166
1222
  title: "TextInlineButton",
1167
1223
  description: "Supports nesting within `Text`. Temporary component until React Native fixes a layout bug in `Pressable` which used in `TextButton`.",
1168
1224
  children: /*#__PURE__*/_jsxs(Row, {
1169
1225
  style: styles.alignRowLeft,
1170
- children: [t43, t46, t49, t52]
1226
+ children: [t46, t49, t52, t55]
1171
1227
  })
1172
1228
  });
1173
- $[64] = styles.alignRowLeft;
1174
- $[65] = t53;
1229
+ $[72] = styles.alignRowLeft;
1230
+ $[73] = t56;
1175
1231
  } else {
1176
- t53 = $[65];
1232
+ t56 = $[73];
1177
1233
  }
1178
- let t54;
1179
- if ($[66] !== isLast || $[67] !== t18 || $[68] !== t37 || $[69] !== t53) {
1180
- t54 = /*#__PURE__*/_jsxs(CollapsableSection, {
1234
+ let t57;
1235
+ if ($[74] !== isLast || $[75] !== t18 || $[76] !== t21 || $[77] !== t40 || $[78] !== t56) {
1236
+ t57 = /*#__PURE__*/_jsxs(CollapsableSection, {
1181
1237
  title: "Pressables",
1182
1238
  isLast: isLast,
1183
- children: [t8, t18, t37, t40, t53]
1239
+ children: [t8, t18, t21, t40, t43, t56]
1184
1240
  });
1185
- $[66] = isLast;
1186
- $[67] = t18;
1187
- $[68] = t37;
1188
- $[69] = t53;
1189
- $[70] = t54;
1241
+ $[74] = isLast;
1242
+ $[75] = t18;
1243
+ $[76] = t21;
1244
+ $[77] = t40;
1245
+ $[78] = t56;
1246
+ $[79] = t57;
1190
1247
  } else {
1191
- t54 = $[70];
1248
+ t57 = $[79];
1192
1249
  }
1193
- return t54;
1250
+ return t57;
1251
+ }
1252
+ function _temp() {
1253
+ return Alert.alert("More filters");
1194
1254
  }
1195
1255
  function HapticsSection(t0) {
1196
1256
  const $ = _c(5);
@@ -1216,19 +1276,19 @@ function HapticsSection(t0) {
1216
1276
  children: /*#__PURE__*/_jsxs(Row, {
1217
1277
  children: [/*#__PURE__*/_jsx(HapticButton, {
1218
1278
  title: "Impact Light",
1219
- onPress: _temp
1279
+ onPress: _temp2
1220
1280
  }), /*#__PURE__*/_jsx(HapticButton, {
1221
1281
  title: "Impact Medium",
1222
- onPress: _temp2
1282
+ onPress: _temp3
1223
1283
  }), /*#__PURE__*/_jsx(HapticButton, {
1224
1284
  title: "Impact Heavy",
1225
- onPress: _temp3
1285
+ onPress: _temp4
1226
1286
  }), /*#__PURE__*/_jsx(HapticButton, {
1227
1287
  title: "Rigid",
1228
- onPress: _temp4
1288
+ onPress: _temp5
1229
1289
  }), /*#__PURE__*/_jsx(HapticButton, {
1230
1290
  title: "Soft",
1231
- onPress: _temp5
1291
+ onPress: _temp6
1232
1292
  })]
1233
1293
  })
1234
1294
  });
@@ -1244,13 +1304,13 @@ function HapticsSection(t0) {
1244
1304
  children: /*#__PURE__*/_jsxs(Row, {
1245
1305
  children: [/*#__PURE__*/_jsx(HapticButton, {
1246
1306
  title: "Notification Success",
1247
- onPress: _temp6
1307
+ onPress: _temp7
1248
1308
  }), /*#__PURE__*/_jsx(HapticButton, {
1249
1309
  title: "Notification Warning",
1250
- onPress: _temp7
1310
+ onPress: _temp8
1251
1311
  }), /*#__PURE__*/_jsx(HapticButton, {
1252
1312
  title: "Notification Error",
1253
- onPress: _temp8
1313
+ onPress: _temp9
1254
1314
  })]
1255
1315
  })
1256
1316
  });
@@ -1272,28 +1332,28 @@ function HapticsSection(t0) {
1272
1332
  }
1273
1333
  return t4;
1274
1334
  }
1275
- function _temp8() {
1335
+ function _temp9() {
1276
1336
  return Haptic.notificationError();
1277
1337
  }
1278
- function _temp7() {
1338
+ function _temp8() {
1279
1339
  return Haptic.notificationWarning();
1280
1340
  }
1281
- function _temp6() {
1341
+ function _temp7() {
1282
1342
  return Haptic.notificationSuccess();
1283
1343
  }
1284
- function _temp5() {
1344
+ function _temp6() {
1285
1345
  return Haptic.soft();
1286
1346
  }
1287
- function _temp4() {
1347
+ function _temp5() {
1288
1348
  return Haptic.rigid();
1289
1349
  }
1290
- function _temp3() {
1350
+ function _temp4() {
1291
1351
  return Haptic.impactHeavy();
1292
1352
  }
1293
- function _temp2() {
1353
+ function _temp3() {
1294
1354
  return Haptic.impactMedium();
1295
1355
  }
1296
- function _temp() {
1356
+ function _temp2() {
1297
1357
  return Haptic.impactLight();
1298
1358
  }
1299
1359
  function ImageIconsSection(t0) {