@planningcenter/chat-react-native 4.5.0-rc.2 → 4.5.0-rc.4

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 (38) hide show
  1. package/build/components/display/filter_dropdown.d.ts +16 -0
  2. package/build/components/display/filter_dropdown.d.ts.map +1 -1
  3. package/build/components/display/filter_dropdown.js +105 -57
  4. package/build/components/display/filter_dropdown.js.map +1 -1
  5. package/build/components/display/index.d.ts +1 -0
  6. package/build/components/display/index.d.ts.map +1 -1
  7. package/build/components/display/index.js +1 -0
  8. package/build/components/display/index.js.map +1 -1
  9. package/build/components/display/popover_menu_view.d.ts +8 -0
  10. package/build/components/display/popover_menu_view.d.ts.map +1 -0
  11. package/build/components/display/popover_menu_view.js +482 -0
  12. package/build/components/display/popover_menu_view.js.map +1 -0
  13. package/build/screens/conversations/components/filter_dropdown_list_header_component.d.ts.map +1 -1
  14. package/build/screens/conversations/components/filter_dropdown_list_header_component.js +159 -124
  15. package/build/screens/conversations/components/filter_dropdown_list_header_component.js.map +1 -1
  16. package/build/screens/conversations/conversations_screen.d.ts.map +1 -1
  17. package/build/screens/conversations/conversations_screen.js +1 -2
  18. package/build/screens/conversations/conversations_screen.js.map +1 -1
  19. package/build/screens/design_system_screen.d.ts.map +1 -1
  20. package/build/screens/design_system_screen.js +289 -201
  21. package/build/screens/design_system_screen.js.map +1 -1
  22. package/build/utils/native_adapters/menu.d.ts +1 -2
  23. package/build/utils/native_adapters/menu.d.ts.map +1 -1
  24. package/build/utils/native_adapters/menu.js +2 -41
  25. package/build/utils/native_adapters/menu.js.map +1 -1
  26. package/package.json +2 -2
  27. package/src/components/display/__tests__/filter_dropdown.test.tsx +18 -2
  28. package/src/components/display/__tests__/popover_menu_view.test.tsx +63 -0
  29. package/src/components/display/filter_dropdown.tsx +53 -19
  30. package/src/components/display/index.ts +1 -0
  31. package/src/components/display/popover_menu_view.tsx +239 -0
  32. package/src/screens/conversations/__tests__/conversations_screen.test.tsx +2 -12
  33. package/src/screens/conversations/components/__tests__/filter_dropdown_list_header_component.test.tsx +0 -54
  34. package/src/screens/conversations/components/filter_dropdown_list_header_component.tsx +41 -27
  35. package/src/screens/conversations/conversations_screen.tsx +1 -2
  36. package/src/screens/design_system_screen.tsx +34 -1
  37. package/src/utils/native_adapters/menu.tsx +4 -18
  38. package/src/utils/native_adapters/__tests__/menu.test.tsx +0 -46
@@ -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, FilterDropdown, 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, PopoverMenuView, 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';
@@ -383,13 +383,14 @@ function HeadingTextSection(t0) {
383
383
  return t11;
384
384
  }
385
385
  function PressablesSection(t0) {
386
- const $ = _c(80);
386
+ const $ = _c(95);
387
387
  const {
388
388
  isLast
389
389
  } = t0;
390
390
  const styles = useStyles();
391
391
  const [filterSelected, setFilterSelected] = useState("Groups");
392
392
  const [dropdownSelected, setDropdownSelected] = useState("all");
393
+ const [popoverSelected, setPopoverSelected] = useState("all");
393
394
  let t1;
394
395
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
395
396
  t1 = /*#__PURE__*/_jsxs(Row, {
@@ -729,7 +730,7 @@ function PressablesSection(t0) {
729
730
  if ($[26] !== styles.alignRowLeft || $[27] !== t20) {
730
731
  t21 = /*#__PURE__*/_jsx(Group, {
731
732
  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
+ description: "Trigger that opens the host's native menu of filter options plus a More filters action. Falls back to PopoverMenuView when the host configures no menu adapter.",
733
734
  children: /*#__PURE__*/_jsx(Row, {
734
735
  style: styles.alignRowLeft,
735
736
  children: t20
@@ -742,17 +743,103 @@ function PressablesSection(t0) {
742
743
  t21 = $[28];
743
744
  }
744
745
  let t22;
746
+ if ($[29] !== popoverSelected) {
747
+ let t23;
748
+ if ($[31] === Symbol.for("react.memo_cache_sentinel")) {
749
+ t23 = {
750
+ id: "more",
751
+ title: "",
752
+ displayInline: true,
753
+ subactions: [{
754
+ id: "more_filters",
755
+ title: "More filters"
756
+ }]
757
+ };
758
+ $[31] = t23;
759
+ } else {
760
+ t23 = $[31];
761
+ }
762
+ t22 = [...filterDropdownOptions.map(option_0 => ({
763
+ id: option_0.id,
764
+ title: option_0.label,
765
+ state: option_0.id === popoverSelected ? "on" : "off"
766
+ })), t23];
767
+ $[29] = popoverSelected;
768
+ $[30] = t22;
769
+ } else {
770
+ t22 = $[30];
771
+ }
745
772
  let t23;
773
+ if ($[32] === Symbol.for("react.memo_cache_sentinel")) {
774
+ t23 = t24 => {
775
+ const {
776
+ nativeEvent
777
+ } = t24;
778
+ return nativeEvent.event === "more_filters" ? Alert.alert("More filters") : setPopoverSelected(nativeEvent.event);
779
+ };
780
+ $[32] = t23;
781
+ } else {
782
+ t23 = $[32];
783
+ }
746
784
  let t24;
747
- if ($[29] === Symbol.for("react.memo_cache_sentinel")) {
748
- t22 = /*#__PURE__*/_jsx(IconButton, {
785
+ if ($[33] !== popoverSelected) {
786
+ t24 = filterDropdownOptions.find(option_1 => option_1.id === popoverSelected)?.label;
787
+ $[33] = popoverSelected;
788
+ $[34] = t24;
789
+ } else {
790
+ t24 = $[34];
791
+ }
792
+ let t25;
793
+ if ($[35] !== t24) {
794
+ t25 = /*#__PURE__*/_jsxs(Text, {
795
+ children: [t24, " \u25BE"]
796
+ });
797
+ $[35] = t24;
798
+ $[36] = t25;
799
+ } else {
800
+ t25 = $[36];
801
+ }
802
+ let t26;
803
+ if ($[37] !== t22 || $[38] !== t25) {
804
+ t26 = /*#__PURE__*/_jsx(PopoverMenuView, {
805
+ actions: t22,
806
+ onPressAction: t23,
807
+ children: t25
808
+ });
809
+ $[37] = t22;
810
+ $[38] = t25;
811
+ $[39] = t26;
812
+ } else {
813
+ t26 = $[39];
814
+ }
815
+ let t27;
816
+ if ($[40] !== styles.alignRowLeft || $[41] !== t26) {
817
+ t27 = /*#__PURE__*/_jsx(Group, {
818
+ title: "PopoverMenuView",
819
+ description: "The JS-only menu FilterDropdown falls back to when the host configures no menu adapter. Opens under the trigger, or above it when the trigger is in the lower half of the screen.",
820
+ children: /*#__PURE__*/_jsx(Row, {
821
+ style: styles.alignRowLeft,
822
+ children: t26
823
+ })
824
+ });
825
+ $[40] = styles.alignRowLeft;
826
+ $[41] = t26;
827
+ $[42] = t27;
828
+ } else {
829
+ t27 = $[42];
830
+ }
831
+ let t28;
832
+ let t29;
833
+ let t30;
834
+ if ($[43] === Symbol.for("react.memo_cache_sentinel")) {
835
+ t28 = /*#__PURE__*/_jsx(IconButton, {
749
836
  onPress: buttonPress,
750
837
  name: "general.paperclip",
751
838
  accessibilityLabel: "Add attachment",
752
839
  accessibilityHint: "Opens your device's image gallary",
753
840
  size: "md"
754
841
  });
755
- t23 = /*#__PURE__*/_jsx(IconButton, {
842
+ t29 = /*#__PURE__*/_jsx(IconButton, {
756
843
  onPress: buttonPress,
757
844
  name: "general.paperclip",
758
845
  accessibilityLabel: "Add attachment",
@@ -760,7 +847,7 @@ function PressablesSection(t0) {
760
847
  appearance: "danger",
761
848
  size: "lg"
762
849
  });
763
- t24 = /*#__PURE__*/_jsx(IconButton, {
850
+ t30 = /*#__PURE__*/_jsx(IconButton, {
764
851
  onPress: buttonPress,
765
852
  name: "general.paperclip",
766
853
  accessibilityLabel: "Add attachment",
@@ -768,17 +855,17 @@ function PressablesSection(t0) {
768
855
  appearance: "interaction",
769
856
  size: "xl"
770
857
  });
771
- $[29] = t22;
772
- $[30] = t23;
773
- $[31] = t24;
858
+ $[43] = t28;
859
+ $[44] = t29;
860
+ $[45] = t30;
774
861
  } else {
775
- t22 = $[29];
776
- t23 = $[30];
777
- t24 = $[31];
862
+ t28 = $[43];
863
+ t29 = $[44];
864
+ t30 = $[45];
778
865
  }
779
- let t25;
780
- if ($[32] !== styles.customIconButtonColor) {
781
- t25 = /*#__PURE__*/_jsx(IconButton, {
866
+ let t31;
867
+ if ($[46] !== styles.customIconButtonColor) {
868
+ t31 = /*#__PURE__*/_jsx(IconButton, {
782
869
  onPress: buttonPress,
783
870
  name: "general.paperclip",
784
871
  accessibilityLabel: "Add attachment",
@@ -786,39 +873,39 @@ function PressablesSection(t0) {
786
873
  iconStyle: styles.customIconButtonColor,
787
874
  size: "xxl"
788
875
  });
789
- $[32] = styles.customIconButtonColor;
790
- $[33] = t25;
876
+ $[46] = styles.customIconButtonColor;
877
+ $[47] = t31;
791
878
  } else {
792
- t25 = $[33];
879
+ t31 = $[47];
793
880
  }
794
- let t26;
795
- if ($[34] === Symbol.for("react.memo_cache_sentinel")) {
796
- t26 = /*#__PURE__*/_jsx(IconButton, {
881
+ let t32;
882
+ if ($[48] === Symbol.for("react.memo_cache_sentinel")) {
883
+ t32 = /*#__PURE__*/_jsx(IconButton, {
797
884
  onPress: buttonPress,
798
885
  name: "general.paperclip",
799
886
  accessibilityLabel: "Add attachment",
800
887
  accessibilityHint: "Opens your device's image gallary",
801
888
  size: "xxxl"
802
889
  });
803
- $[34] = t26;
890
+ $[48] = t32;
804
891
  } else {
805
- t26 = $[34];
892
+ t32 = $[48];
806
893
  }
807
- let t27;
808
- if ($[35] !== t25) {
809
- t27 = /*#__PURE__*/_jsxs(Row, {
810
- children: [t22, t23, t24, t25, t26]
894
+ let t33;
895
+ if ($[49] !== t31) {
896
+ t33 = /*#__PURE__*/_jsxs(Row, {
897
+ children: [t28, t29, t30, t31, t32]
811
898
  });
812
- $[35] = t25;
813
- $[36] = t27;
899
+ $[49] = t31;
900
+ $[50] = t33;
814
901
  } else {
815
- t27 = $[36];
902
+ t33 = $[50];
816
903
  }
817
- let t28;
818
- let t29;
819
- let t30;
820
- if ($[37] === Symbol.for("react.memo_cache_sentinel")) {
821
- t28 = /*#__PURE__*/_jsx(IconButton, {
904
+ let t34;
905
+ let t35;
906
+ let t36;
907
+ if ($[51] === Symbol.for("react.memo_cache_sentinel")) {
908
+ t34 = /*#__PURE__*/_jsx(IconButton, {
822
909
  onPress: buttonPress,
823
910
  name: "general.paperclip",
824
911
  accessibilityLabel: "Add attachment",
@@ -826,7 +913,7 @@ function PressablesSection(t0) {
826
913
  size: "md",
827
914
  disabled: true
828
915
  });
829
- t29 = /*#__PURE__*/_jsx(IconButton, {
916
+ t35 = /*#__PURE__*/_jsx(IconButton, {
830
917
  onPress: buttonPress,
831
918
  name: "general.paperclip",
832
919
  accessibilityLabel: "Add attachment",
@@ -835,7 +922,7 @@ function PressablesSection(t0) {
835
922
  size: "lg",
836
923
  disabled: true
837
924
  });
838
- t30 = /*#__PURE__*/_jsx(IconButton, {
925
+ t36 = /*#__PURE__*/_jsx(IconButton, {
839
926
  onPress: buttonPress,
840
927
  name: "general.paperclip",
841
928
  accessibilityLabel: "Add attachment",
@@ -844,17 +931,17 @@ function PressablesSection(t0) {
844
931
  size: "xl",
845
932
  disabled: true
846
933
  });
847
- $[37] = t28;
848
- $[38] = t29;
849
- $[39] = t30;
934
+ $[51] = t34;
935
+ $[52] = t35;
936
+ $[53] = t36;
850
937
  } else {
851
- t28 = $[37];
852
- t29 = $[38];
853
- t30 = $[39];
938
+ t34 = $[51];
939
+ t35 = $[52];
940
+ t36 = $[53];
854
941
  }
855
- let t31;
856
- if ($[40] !== styles.customIconButtonColor) {
857
- t31 = /*#__PURE__*/_jsx(IconButton, {
942
+ let t37;
943
+ if ($[54] !== styles.customIconButtonColor) {
944
+ t37 = /*#__PURE__*/_jsx(IconButton, {
858
945
  onPress: buttonPress,
859
946
  name: "general.paperclip",
860
947
  accessibilityLabel: "Add attachment",
@@ -863,14 +950,14 @@ function PressablesSection(t0) {
863
950
  size: "xxl",
864
951
  disabled: true
865
952
  });
866
- $[40] = styles.customIconButtonColor;
867
- $[41] = t31;
953
+ $[54] = styles.customIconButtonColor;
954
+ $[55] = t37;
868
955
  } else {
869
- t31 = $[41];
956
+ t37 = $[55];
870
957
  }
871
- let t32;
872
- if ($[42] === Symbol.for("react.memo_cache_sentinel")) {
873
- t32 = /*#__PURE__*/_jsx(IconButton, {
958
+ let t38;
959
+ if ($[56] === Symbol.for("react.memo_cache_sentinel")) {
960
+ t38 = /*#__PURE__*/_jsx(IconButton, {
874
961
  onPress: buttonPress,
875
962
  name: "general.paperclip",
876
963
  accessibilityLabel: "Add attachment",
@@ -878,25 +965,25 @@ function PressablesSection(t0) {
878
965
  size: "xxxl",
879
966
  disabled: true
880
967
  });
881
- $[42] = t32;
968
+ $[56] = t38;
882
969
  } else {
883
- t32 = $[42];
970
+ t38 = $[56];
884
971
  }
885
- let t33;
886
- if ($[43] !== t31) {
887
- t33 = /*#__PURE__*/_jsxs(Row, {
888
- children: [t28, t29, t30, t31, t32]
972
+ let t39;
973
+ if ($[57] !== t37) {
974
+ t39 = /*#__PURE__*/_jsxs(Row, {
975
+ children: [t34, t35, t36, t37, t38]
889
976
  });
890
- $[43] = t31;
891
- $[44] = t33;
977
+ $[57] = t37;
978
+ $[58] = t39;
892
979
  } else {
893
- t33 = $[44];
980
+ t39 = $[58];
894
981
  }
895
- let t34;
896
- let t35;
897
- let t36;
898
- if ($[45] === Symbol.for("react.memo_cache_sentinel")) {
899
- t34 = /*#__PURE__*/_jsx(IconButton, {
982
+ let t40;
983
+ let t41;
984
+ let t42;
985
+ if ($[59] === Symbol.for("react.memo_cache_sentinel")) {
986
+ t40 = /*#__PURE__*/_jsx(IconButton, {
900
987
  onPress: buttonPress,
901
988
  name: "general.paperclip",
902
989
  accessibilityLabel: "Add attachment",
@@ -904,7 +991,7 @@ function PressablesSection(t0) {
904
991
  size: "md",
905
992
  loading: true
906
993
  });
907
- t35 = /*#__PURE__*/_jsx(IconButton, {
994
+ t41 = /*#__PURE__*/_jsx(IconButton, {
908
995
  onPress: buttonPress,
909
996
  name: "general.paperclip",
910
997
  accessibilityLabel: "Add attachment",
@@ -913,7 +1000,7 @@ function PressablesSection(t0) {
913
1000
  size: "lg",
914
1001
  loading: true
915
1002
  });
916
- t36 = /*#__PURE__*/_jsx(IconButton, {
1003
+ t42 = /*#__PURE__*/_jsx(IconButton, {
917
1004
  onPress: buttonPress,
918
1005
  name: "general.paperclip",
919
1006
  accessibilityLabel: "Add attachment",
@@ -922,17 +1009,17 @@ function PressablesSection(t0) {
922
1009
  size: "xl",
923
1010
  loading: true
924
1011
  });
925
- $[45] = t34;
926
- $[46] = t35;
927
- $[47] = t36;
1012
+ $[59] = t40;
1013
+ $[60] = t41;
1014
+ $[61] = t42;
928
1015
  } else {
929
- t34 = $[45];
930
- t35 = $[46];
931
- t36 = $[47];
1016
+ t40 = $[59];
1017
+ t41 = $[60];
1018
+ t42 = $[61];
932
1019
  }
933
- let t37;
934
- if ($[48] !== styles.customIconButtonColor) {
935
- t37 = /*#__PURE__*/_jsx(IconButton, {
1020
+ let t43;
1021
+ if ($[62] !== styles.customIconButtonColor) {
1022
+ t43 = /*#__PURE__*/_jsx(IconButton, {
936
1023
  onPress: buttonPress,
937
1024
  name: "general.paperclip",
938
1025
  accessibilityLabel: "Add attachment",
@@ -941,14 +1028,14 @@ function PressablesSection(t0) {
941
1028
  size: "xxl",
942
1029
  loading: true
943
1030
  });
944
- $[48] = styles.customIconButtonColor;
945
- $[49] = t37;
1031
+ $[62] = styles.customIconButtonColor;
1032
+ $[63] = t43;
946
1033
  } else {
947
- t37 = $[49];
1034
+ t43 = $[63];
948
1035
  }
949
- let t38;
950
- if ($[50] === Symbol.for("react.memo_cache_sentinel")) {
951
- t38 = /*#__PURE__*/_jsx(IconButton, {
1036
+ let t44;
1037
+ if ($[64] === Symbol.for("react.memo_cache_sentinel")) {
1038
+ t44 = /*#__PURE__*/_jsx(IconButton, {
952
1039
  onPress: buttonPress,
953
1040
  name: "general.paperclip",
954
1041
  accessibilityLabel: "Add attachment",
@@ -956,37 +1043,37 @@ function PressablesSection(t0) {
956
1043
  size: "xxxl",
957
1044
  loading: true
958
1045
  });
959
- $[50] = t38;
1046
+ $[64] = t44;
960
1047
  } else {
961
- t38 = $[50];
1048
+ t44 = $[64];
962
1049
  }
963
- let t39;
964
- if ($[51] !== t37) {
965
- t39 = /*#__PURE__*/_jsxs(Row, {
966
- children: [t34, t35, t36, t37, t38]
1050
+ let t45;
1051
+ if ($[65] !== t43) {
1052
+ t45 = /*#__PURE__*/_jsxs(Row, {
1053
+ children: [t40, t41, t42, t43, t44]
967
1054
  });
968
- $[51] = t37;
969
- $[52] = t39;
1055
+ $[65] = t43;
1056
+ $[66] = t45;
970
1057
  } else {
971
- t39 = $[52];
1058
+ t45 = $[66];
972
1059
  }
973
- let t40;
974
- if ($[53] !== t27 || $[54] !== t33 || $[55] !== t39) {
975
- t40 = /*#__PURE__*/_jsxs(Group, {
1060
+ let t46;
1061
+ if ($[67] !== t33 || $[68] !== t39 || $[69] !== t45) {
1062
+ t46 = /*#__PURE__*/_jsxs(Group, {
976
1063
  title: "IconButton",
977
1064
  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.",
978
- children: [t27, t33, t39]
1065
+ children: [t33, t39, t45]
979
1066
  });
980
- $[53] = t27;
981
- $[54] = t33;
982
- $[55] = t39;
983
- $[56] = t40;
1067
+ $[67] = t33;
1068
+ $[68] = t39;
1069
+ $[69] = t45;
1070
+ $[70] = t46;
984
1071
  } else {
985
- t40 = $[56];
1072
+ t46 = $[70];
986
1073
  }
987
- let t41;
988
- if ($[57] === Symbol.for("react.memo_cache_sentinel")) {
989
- t41 = /*#__PURE__*/_jsxs(Row, {
1074
+ let t47;
1075
+ if ($[71] === Symbol.for("react.memo_cache_sentinel")) {
1076
+ t47 = /*#__PURE__*/_jsxs(Row, {
990
1077
  children: [/*#__PURE__*/_jsx(TextButton, {
991
1078
  onPress: buttonPress,
992
1079
  children: "Default"
@@ -1004,13 +1091,13 @@ function PressablesSection(t0) {
1004
1091
  children: "Default"
1005
1092
  })]
1006
1093
  });
1007
- $[57] = t41;
1094
+ $[71] = t47;
1008
1095
  } else {
1009
- t41 = $[57];
1096
+ t47 = $[71];
1010
1097
  }
1011
- let t42;
1012
- if ($[58] === Symbol.for("react.memo_cache_sentinel")) {
1013
- t42 = /*#__PURE__*/_jsxs(Row, {
1098
+ let t48;
1099
+ if ($[72] === Symbol.for("react.memo_cache_sentinel")) {
1100
+ t48 = /*#__PURE__*/_jsxs(Row, {
1014
1101
  children: [/*#__PURE__*/_jsx(TextButton, {
1015
1102
  onPress: buttonPress,
1016
1103
  appearance: "danger",
@@ -1032,16 +1119,16 @@ function PressablesSection(t0) {
1032
1119
  children: "Danger"
1033
1120
  })]
1034
1121
  });
1035
- $[58] = t42;
1122
+ $[72] = t48;
1036
1123
  } else {
1037
- t42 = $[58];
1124
+ t48 = $[72];
1038
1125
  }
1039
- let t43;
1040
- if ($[59] === Symbol.for("react.memo_cache_sentinel")) {
1041
- t43 = /*#__PURE__*/_jsxs(Group, {
1126
+ let t49;
1127
+ if ($[73] === Symbol.for("react.memo_cache_sentinel")) {
1128
+ t49 = /*#__PURE__*/_jsxs(Group, {
1042
1129
  title: "TextButton",
1043
1130
  description: "Pressable text with default & danger appearance options. Can be disabled and accept `Text` variance props.",
1044
- children: [t41, t42, /*#__PURE__*/_jsxs(Row, {
1131
+ children: [t47, t48, /*#__PURE__*/_jsxs(Row, {
1045
1132
  children: [/*#__PURE__*/_jsx(TextButton, {
1046
1133
  onPress: buttonPress,
1047
1134
  disabled: true,
@@ -1064,190 +1151,191 @@ function PressablesSection(t0) {
1064
1151
  })]
1065
1152
  })]
1066
1153
  });
1067
- $[59] = t43;
1154
+ $[73] = t49;
1068
1155
  } else {
1069
- t43 = $[59];
1156
+ t49 = $[73];
1070
1157
  }
1071
- let t44;
1072
- if ($[60] === Symbol.for("react.memo_cache_sentinel")) {
1073
- t44 = /*#__PURE__*/_jsx(TextInlineButton, {
1158
+ let t50;
1159
+ if ($[74] === Symbol.for("react.memo_cache_sentinel")) {
1160
+ t50 = /*#__PURE__*/_jsx(TextInlineButton, {
1074
1161
  onPress: buttonPress,
1075
1162
  children: "default button text"
1076
1163
  });
1077
- $[60] = t44;
1164
+ $[74] = t50;
1078
1165
  } else {
1079
- t44 = $[60];
1166
+ t50 = $[74];
1080
1167
  }
1081
- let t45;
1082
- if ($[61] === Symbol.for("react.memo_cache_sentinel")) {
1083
- t45 = /*#__PURE__*/_jsx(TextInlineButton, {
1168
+ let t51;
1169
+ if ($[75] === Symbol.for("react.memo_cache_sentinel")) {
1170
+ t51 = /*#__PURE__*/_jsx(TextInlineButton, {
1084
1171
  onPress: buttonPress,
1085
1172
  appearance: "danger",
1086
1173
  children: "danger button text"
1087
1174
  });
1088
- $[61] = t45;
1175
+ $[75] = t51;
1089
1176
  } else {
1090
- t45 = $[61];
1177
+ t51 = $[75];
1091
1178
  }
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, {
1179
+ let t52;
1180
+ if ($[76] === Symbol.for("react.memo_cache_sentinel")) {
1181
+ t52 = /*#__PURE__*/_jsxs(Text, {
1182
+ children: ["This text is next to", " ", t50, " Lorem ipsum dolor", " ", t51, " ", "consectetur", " ", /*#__PURE__*/_jsx(TextInlineButton, {
1096
1183
  onPress: buttonPress,
1097
1184
  disabled: true,
1098
1185
  children: "disabled button text"
1099
1186
  }), " ", "elit."]
1100
1187
  });
1101
- $[62] = t46;
1188
+ $[76] = t52;
1102
1189
  } else {
1103
- t46 = $[62];
1190
+ t52 = $[76];
1104
1191
  }
1105
- let t47;
1106
- if ($[63] === Symbol.for("react.memo_cache_sentinel")) {
1107
- t47 = /*#__PURE__*/_jsx(TextInlineButton, {
1192
+ let t53;
1193
+ if ($[77] === Symbol.for("react.memo_cache_sentinel")) {
1194
+ t53 = /*#__PURE__*/_jsx(TextInlineButton, {
1108
1195
  variant: "secondary",
1109
1196
  onPress: buttonPress,
1110
1197
  children: "default button text"
1111
1198
  });
1112
- $[63] = t47;
1199
+ $[77] = t53;
1113
1200
  } else {
1114
- t47 = $[63];
1201
+ t53 = $[77];
1115
1202
  }
1116
- let t48;
1117
- if ($[64] === Symbol.for("react.memo_cache_sentinel")) {
1118
- t48 = /*#__PURE__*/_jsx(TextInlineButton, {
1203
+ let t54;
1204
+ if ($[78] === Symbol.for("react.memo_cache_sentinel")) {
1205
+ t54 = /*#__PURE__*/_jsx(TextInlineButton, {
1119
1206
  variant: "secondary",
1120
1207
  onPress: buttonPress,
1121
1208
  appearance: "danger",
1122
1209
  children: "danger button text"
1123
1210
  });
1124
- $[64] = t48;
1211
+ $[78] = t54;
1125
1212
  } else {
1126
- t48 = $[64];
1213
+ t54 = $[78];
1127
1214
  }
1128
- let t49;
1129
- if ($[65] === Symbol.for("react.memo_cache_sentinel")) {
1130
- t49 = /*#__PURE__*/_jsxs(Text, {
1215
+ let t55;
1216
+ if ($[79] === Symbol.for("react.memo_cache_sentinel")) {
1217
+ t55 = /*#__PURE__*/_jsxs(Text, {
1131
1218
  variant: "secondary",
1132
- children: ["This text is next to", " ", t47, " ", "Lorem ipsum dolor", " ", t48, " ", "consectetur", " ", /*#__PURE__*/_jsx(TextInlineButton, {
1219
+ children: ["This text is next to", " ", t53, " ", "Lorem ipsum dolor", " ", t54, " ", "consectetur", " ", /*#__PURE__*/_jsx(TextInlineButton, {
1133
1220
  variant: "secondary",
1134
1221
  onPress: buttonPress,
1135
1222
  disabled: true,
1136
1223
  children: "disabled button text"
1137
1224
  }), " ", "elit."]
1138
1225
  });
1139
- $[65] = t49;
1226
+ $[79] = t55;
1140
1227
  } else {
1141
- t49 = $[65];
1228
+ t55 = $[79];
1142
1229
  }
1143
- let t50;
1144
- if ($[66] === Symbol.for("react.memo_cache_sentinel")) {
1145
- t50 = /*#__PURE__*/_jsx(TextInlineButton, {
1230
+ let t56;
1231
+ if ($[80] === Symbol.for("react.memo_cache_sentinel")) {
1232
+ t56 = /*#__PURE__*/_jsx(TextInlineButton, {
1146
1233
  variant: "tertiary",
1147
1234
  onPress: buttonPress,
1148
1235
  children: "default button text"
1149
1236
  });
1150
- $[66] = t50;
1237
+ $[80] = t56;
1151
1238
  } else {
1152
- t50 = $[66];
1239
+ t56 = $[80];
1153
1240
  }
1154
- let t51;
1155
- if ($[67] === Symbol.for("react.memo_cache_sentinel")) {
1156
- t51 = /*#__PURE__*/_jsx(TextInlineButton, {
1241
+ let t57;
1242
+ if ($[81] === Symbol.for("react.memo_cache_sentinel")) {
1243
+ t57 = /*#__PURE__*/_jsx(TextInlineButton, {
1157
1244
  variant: "tertiary",
1158
1245
  onPress: buttonPress,
1159
1246
  appearance: "danger",
1160
1247
  children: "danger button text"
1161
1248
  });
1162
- $[67] = t51;
1249
+ $[81] = t57;
1163
1250
  } else {
1164
- t51 = $[67];
1251
+ t57 = $[81];
1165
1252
  }
1166
- let t52;
1167
- if ($[68] === Symbol.for("react.memo_cache_sentinel")) {
1168
- t52 = /*#__PURE__*/_jsxs(Text, {
1253
+ let t58;
1254
+ if ($[82] === Symbol.for("react.memo_cache_sentinel")) {
1255
+ t58 = /*#__PURE__*/_jsxs(Text, {
1169
1256
  variant: "tertiary",
1170
- children: ["This text is next to", " ", t50, " ", "Lorem ipsum dolor", " ", t51, " ", "consectetur", " ", /*#__PURE__*/_jsx(TextInlineButton, {
1257
+ children: ["This text is next to", " ", t56, " ", "Lorem ipsum dolor", " ", t57, " ", "consectetur", " ", /*#__PURE__*/_jsx(TextInlineButton, {
1171
1258
  variant: "tertiary",
1172
1259
  onPress: buttonPress,
1173
1260
  disabled: true,
1174
1261
  children: "disabled button text"
1175
1262
  }), " ", "elit."]
1176
1263
  });
1177
- $[68] = t52;
1264
+ $[82] = t58;
1178
1265
  } else {
1179
- t52 = $[68];
1266
+ t58 = $[82];
1180
1267
  }
1181
- let t53;
1182
- if ($[69] === Symbol.for("react.memo_cache_sentinel")) {
1183
- t53 = /*#__PURE__*/_jsx(TextInlineButton, {
1268
+ let t59;
1269
+ if ($[83] === Symbol.for("react.memo_cache_sentinel")) {
1270
+ t59 = /*#__PURE__*/_jsx(TextInlineButton, {
1184
1271
  variant: "footnote",
1185
1272
  onPress: buttonPress,
1186
1273
  children: "default button text"
1187
1274
  });
1188
- $[69] = t53;
1275
+ $[83] = t59;
1189
1276
  } else {
1190
- t53 = $[69];
1277
+ t59 = $[83];
1191
1278
  }
1192
- let t54;
1193
- if ($[70] === Symbol.for("react.memo_cache_sentinel")) {
1194
- t54 = /*#__PURE__*/_jsx(TextInlineButton, {
1279
+ let t60;
1280
+ if ($[84] === Symbol.for("react.memo_cache_sentinel")) {
1281
+ t60 = /*#__PURE__*/_jsx(TextInlineButton, {
1195
1282
  variant: "footnote",
1196
1283
  onPress: buttonPress,
1197
1284
  appearance: "danger",
1198
1285
  children: "danger button text"
1199
1286
  });
1200
- $[70] = t54;
1287
+ $[84] = t60;
1201
1288
  } else {
1202
- t54 = $[70];
1289
+ t60 = $[84];
1203
1290
  }
1204
- let t55;
1205
- if ($[71] === Symbol.for("react.memo_cache_sentinel")) {
1206
- t55 = /*#__PURE__*/_jsxs(Text, {
1291
+ let t61;
1292
+ if ($[85] === Symbol.for("react.memo_cache_sentinel")) {
1293
+ t61 = /*#__PURE__*/_jsxs(Text, {
1207
1294
  variant: "footnote",
1208
- children: ["This text is next to", " ", t53, " ", "Lorem ipsum dolor", " ", t54, " ", "consectetur", " ", /*#__PURE__*/_jsx(TextInlineButton, {
1295
+ children: ["This text is next to", " ", t59, " ", "Lorem ipsum dolor", " ", t60, " ", "consectetur", " ", /*#__PURE__*/_jsx(TextInlineButton, {
1209
1296
  variant: "footnote",
1210
1297
  onPress: buttonPress,
1211
1298
  disabled: true,
1212
1299
  children: "disabled button text"
1213
1300
  }), " ", "elit."]
1214
1301
  });
1215
- $[71] = t55;
1302
+ $[85] = t61;
1216
1303
  } else {
1217
- t55 = $[71];
1304
+ t61 = $[85];
1218
1305
  }
1219
- let t56;
1220
- if ($[72] !== styles.alignRowLeft) {
1221
- t56 = /*#__PURE__*/_jsx(Group, {
1306
+ let t62;
1307
+ if ($[86] !== styles.alignRowLeft) {
1308
+ t62 = /*#__PURE__*/_jsx(Group, {
1222
1309
  title: "TextInlineButton",
1223
1310
  description: "Supports nesting within `Text`. Temporary component until React Native fixes a layout bug in `Pressable` which used in `TextButton`.",
1224
1311
  children: /*#__PURE__*/_jsxs(Row, {
1225
1312
  style: styles.alignRowLeft,
1226
- children: [t46, t49, t52, t55]
1313
+ children: [t52, t55, t58, t61]
1227
1314
  })
1228
1315
  });
1229
- $[72] = styles.alignRowLeft;
1230
- $[73] = t56;
1316
+ $[86] = styles.alignRowLeft;
1317
+ $[87] = t62;
1231
1318
  } else {
1232
- t56 = $[73];
1319
+ t62 = $[87];
1233
1320
  }
1234
- let t57;
1235
- if ($[74] !== isLast || $[75] !== t18 || $[76] !== t21 || $[77] !== t40 || $[78] !== t56) {
1236
- t57 = /*#__PURE__*/_jsxs(CollapsableSection, {
1321
+ let t63;
1322
+ if ($[88] !== isLast || $[89] !== t18 || $[90] !== t21 || $[91] !== t27 || $[92] !== t46 || $[93] !== t62) {
1323
+ t63 = /*#__PURE__*/_jsxs(CollapsableSection, {
1237
1324
  title: "Pressables",
1238
1325
  isLast: isLast,
1239
- children: [t8, t18, t21, t40, t43, t56]
1326
+ children: [t8, t18, t21, t27, t46, t49, t62]
1240
1327
  });
1241
- $[74] = isLast;
1242
- $[75] = t18;
1243
- $[76] = t21;
1244
- $[77] = t40;
1245
- $[78] = t56;
1246
- $[79] = t57;
1328
+ $[88] = isLast;
1329
+ $[89] = t18;
1330
+ $[90] = t21;
1331
+ $[91] = t27;
1332
+ $[92] = t46;
1333
+ $[93] = t62;
1334
+ $[94] = t63;
1247
1335
  } else {
1248
- t57 = $[79];
1336
+ t63 = $[94];
1249
1337
  }
1250
- return t57;
1338
+ return t63;
1251
1339
  }
1252
1340
  function _temp() {
1253
1341
  return Alert.alert("More filters");