@terreno/ui 57.2.0 → 57.4.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/.ai/guidelines/core.md +1 -1
- package/README.md +17 -8
- package/dist/ActionSheet.d.ts +3 -3
- package/dist/ActionSheet.js +2 -2
- package/dist/ActionSheet.js.map +1 -1
- package/dist/AnnouncementBanner.d.ts +12 -0
- package/dist/AnnouncementBanner.js +61 -0
- package/dist/AnnouncementBanner.js.map +1 -0
- package/dist/AnnouncementNavigator.d.ts +11 -0
- package/dist/AnnouncementNavigator.js +189 -0
- package/dist/AnnouncementNavigator.js.map +1 -0
- package/dist/AnnouncementScreen.d.ts +12 -0
- package/dist/AnnouncementScreen.js +28 -0
- package/dist/AnnouncementScreen.js.map +1 -0
- package/dist/AreaChart.d.ts +5 -0
- package/dist/AreaChart.js +69 -0
- package/dist/AreaChart.js.map +1 -0
- package/dist/BarChart.d.ts +5 -0
- package/dist/BarChart.js +89 -0
- package/dist/BarChart.js.map +1 -0
- package/dist/Box.d.ts +1 -1
- package/dist/Box.js +219 -177
- package/dist/Box.js.map +1 -1
- package/dist/Button.js +116 -35
- package/dist/Button.js.map +1 -1
- package/dist/Common.d.ts +215 -9
- package/dist/Common.js.map +1 -1
- package/dist/ConsentFormScreen.js +46 -12
- package/dist/ConsentFormScreen.js.map +1 -1
- package/dist/ConsentNavigator.d.ts +5 -1
- package/dist/ConsentNavigator.js.map +1 -1
- package/dist/DashboardGrid.d.ts +4 -0
- package/dist/DashboardGrid.js +38 -0
- package/dist/DashboardGrid.js.map +1 -0
- package/dist/DataTable.d.ts +2 -2
- package/dist/DataTable.js +278 -47
- package/dist/DataTable.js.map +1 -1
- package/dist/DataTableHeaderInfoMarkdown.d.ts +6 -0
- package/dist/DataTableHeaderInfoMarkdown.js +7 -0
- package/dist/DataTableHeaderInfoMarkdown.js.map +1 -0
- package/dist/DonutChart.d.ts +5 -0
- package/dist/DonutChart.js +84 -0
- package/dist/DonutChart.js.map +1 -0
- package/dist/EmojiSelector.d.ts +2 -46
- package/dist/EmojiSelector.js +46 -56
- package/dist/EmojiSelector.js.map +1 -1
- package/dist/Filter.js +12 -2
- package/dist/Filter.js.map +1 -1
- package/dist/GPTChat.d.ts +7 -1
- package/dist/GPTChat.js +28 -15
- package/dist/GPTChat.js.map +1 -1
- package/dist/Heading.d.ts +5 -2
- package/dist/Heading.js +6 -8
- package/dist/Heading.js.map +1 -1
- package/dist/Hyperlink.js.map +1 -1
- package/dist/Icon.d.ts +1 -2
- package/dist/Icon.js +4 -1
- package/dist/Icon.js.map +1 -1
- package/dist/LineChart.d.ts +5 -0
- package/dist/LineChart.js +68 -0
- package/dist/LineChart.js.map +1 -0
- package/dist/MarkdownEmbed.d.ts +6 -0
- package/dist/MarkdownEmbed.js +17 -0
- package/dist/MarkdownEmbed.js.map +1 -0
- package/dist/MarkdownView.d.ts +6 -3
- package/dist/MarkdownView.js +81 -44
- package/dist/MarkdownView.js.map +1 -1
- package/dist/MediaQuery.d.ts +5 -3
- package/dist/MediaQuery.js +9 -40
- package/dist/MediaQuery.js.map +1 -1
- package/dist/Modal.js +12 -10
- package/dist/Modal.js.map +1 -1
- package/dist/ModalSheet.d.ts +5 -1
- package/dist/ModalSheet.js +31 -13
- package/dist/ModalSheet.js.map +1 -1
- package/dist/MultiselectField.js +4 -9
- package/dist/MultiselectField.js.map +1 -1
- package/dist/NotificationBell.d.ts +16 -0
- package/dist/NotificationBell.js +15 -0
- package/dist/NotificationBell.js.map +1 -0
- package/dist/NotificationInbox.d.ts +21 -0
- package/dist/NotificationInbox.js +41 -0
- package/dist/NotificationInbox.js.map +1 -0
- package/dist/NotificationPreferences.d.ts +14 -0
- package/dist/NotificationPreferences.js +32 -0
- package/dist/NotificationPreferences.js.map +1 -0
- package/dist/OpenAPIContext.js +7 -6
- package/dist/OpenAPIContext.js.map +1 -1
- package/dist/Page.js +7 -1
- package/dist/Page.js.map +1 -1
- package/dist/PickerSelect.js +8 -1
- package/dist/PickerSelect.js.map +1 -1
- package/dist/Popover.d.ts +12 -0
- package/dist/Popover.js +37 -0
- package/dist/Popover.js.map +1 -0
- package/dist/PortalHost.js +10 -1
- package/dist/PortalHost.js.map +1 -1
- package/dist/ResponsiveBreakpoint.d.ts +65 -0
- package/dist/ResponsiveBreakpoint.js +111 -0
- package/dist/ResponsiveBreakpoint.js.map +1 -0
- package/dist/SplitPage.d.ts +2 -2
- package/dist/SplitPage.js +7 -12
- package/dist/SplitPage.js.map +1 -1
- package/dist/SplitPage.native.d.ts +2 -2
- package/dist/SplitPage.native.js +1 -6
- package/dist/SplitPage.native.js.map +1 -1
- package/dist/TapToEdit.js +12 -10
- package/dist/TapToEdit.js.map +1 -1
- package/dist/TerrenoFontProvider.d.ts +7 -0
- package/dist/TerrenoFontProvider.js +27 -0
- package/dist/TerrenoFontProvider.js.map +1 -0
- package/dist/TerrenoProvider.js +4 -2
- package/dist/TerrenoProvider.js.map +1 -1
- package/dist/Text.d.ts +5 -2
- package/dist/Text.js +6 -11
- package/dist/Text.js.map +1 -1
- package/dist/TextField.js +83 -6
- package/dist/TextField.js.map +1 -1
- package/dist/TextFieldNumberActionSheet.js +9 -2
- package/dist/TextFieldNumberActionSheet.js.map +1 -1
- package/dist/Theme.js +10 -8
- package/dist/Theme.js.map +1 -1
- package/dist/ToastNotifications.d.ts +4 -2
- package/dist/ToastNotifications.js.map +1 -1
- package/dist/Tooltip.d.ts +4 -3
- package/dist/Tooltip.js +14 -3
- package/dist/Tooltip.js.map +1 -1
- package/dist/Unifier.d.ts +26 -1
- package/dist/Unifier.js.map +1 -1
- package/dist/WebAddressAutocomplete.js +6 -1
- package/dist/WebAddressAutocomplete.js.map +1 -1
- package/dist/announcementBuildVersion.d.ts +6 -0
- package/dist/announcementBuildVersion.js +21 -0
- package/dist/announcementBuildVersion.js.map +1 -0
- package/dist/announcementFrequency.d.ts +42 -0
- package/dist/announcementFrequency.js +163 -0
- package/dist/announcementFrequency.js.map +1 -0
- package/dist/announcementPlatform.d.ts +2 -0
- package/dist/announcementPlatform.js +11 -0
- package/dist/announcementPlatform.js.map +1 -0
- package/dist/charts/ChartFrame.d.ts +12 -0
- package/dist/charts/ChartFrame.js +13 -0
- package/dist/charts/ChartFrame.js.map +1 -0
- package/dist/charts/bars.d.ts +18 -0
- package/dist/charts/bars.js +29 -0
- package/dist/charts/bars.js.map +1 -0
- package/dist/charts/layout.d.ts +47 -0
- package/dist/charts/layout.js +56 -0
- package/dist/charts/layout.js.map +1 -0
- package/dist/charts/paths.d.ts +31 -0
- package/dist/charts/paths.js +52 -0
- package/dist/charts/paths.js.map +1 -0
- package/dist/charts/scales.d.ts +6 -0
- package/dist/charts/scales.js +43 -0
- package/dist/charts/scales.js.map +1 -0
- package/dist/charts/theme.d.ts +9 -0
- package/dist/charts/theme.js +15 -0
- package/dist/charts/theme.js.map +1 -0
- package/dist/charts/types/chartTypes.d.ts +17 -0
- package/dist/charts/types/chartTypes.js +2 -0
- package/dist/charts/types/chartTypes.js.map +1 -0
- package/dist/dashboardGridLayout.d.ts +22 -0
- package/dist/dashboardGridLayout.js +33 -0
- package/dist/dashboardGridLayout.js.map +1 -0
- package/dist/dataTableFilters.d.ts +33 -0
- package/dist/dataTableFilters.js +221 -0
- package/dist/dataTableFilters.js.map +1 -0
- package/dist/dataTableListQuery.d.ts +42 -0
- package/dist/dataTableListQuery.js +161 -0
- package/dist/dataTableListQuery.js.map +1 -0
- package/dist/emojiCategories.d.ts +46 -0
- package/dist/emojiCategories.js +47 -0
- package/dist/emojiCategories.js.map +1 -0
- package/dist/index.d.ts +30 -13
- package/dist/index.js +12 -13
- package/dist/index.js.map +1 -1
- package/dist/lazyBoundaries/createLazyComponentExport.d.ts +6 -0
- package/dist/lazyBoundaries/createLazyComponentExport.js +35 -0
- package/dist/lazyBoundaries/createLazyComponentExport.js.map +1 -0
- package/dist/lazyBoundaries/heavyOptionalExports.d.ts +53 -0
- package/dist/lazyBoundaries/heavyOptionalExports.js +51 -0
- package/dist/lazyBoundaries/heavyOptionalExports.js.map +1 -0
- package/dist/login/LoginScreen.d.ts +1 -0
- package/dist/login/LoginScreen.js +4 -2
- package/dist/login/LoginScreen.js.map +1 -1
- package/dist/login/loginTypes.d.ts +2 -0
- package/dist/markdownEmbeds.d.ts +6 -0
- package/dist/markdownEmbeds.js +59 -0
- package/dist/markdownEmbeds.js.map +1 -0
- package/dist/testing/resolveTestId.js +2 -1
- package/dist/testing/resolveTestId.js.map +1 -1
- package/dist/testing/types.d.ts +3 -0
- package/dist/textFieldOscillationGuard.d.ts +25 -0
- package/dist/textFieldOscillationGuard.js +41 -0
- package/dist/textFieldOscillationGuard.js.map +1 -0
- package/dist/useAcknowledgeAnnouncement.d.ts +71 -0
- package/dist/useAcknowledgeAnnouncement.js +94 -0
- package/dist/useAcknowledgeAnnouncement.js.map +1 -0
- package/dist/useAnnouncements.d.ts +73 -0
- package/dist/useAnnouncements.js +66 -0
- package/dist/useAnnouncements.js.map +1 -0
- package/package.json +46 -18
- package/src/AIRequestExplorer.test.tsx +141 -0
- package/src/ActionSheet.tsx +9 -7
- package/src/AnnouncementBanner.test.tsx +267 -0
- package/src/AnnouncementBanner.tsx +128 -0
- package/src/AnnouncementNavigator.test.tsx +759 -0
- package/src/AnnouncementNavigator.tsx +287 -0
- package/src/AnnouncementScreen.test.tsx +97 -0
- package/src/AnnouncementScreen.tsx +70 -0
- package/src/AreaChart.test.tsx +68 -0
- package/src/AreaChart.tsx +194 -0
- package/src/AttachmentPreview.test.tsx +80 -0
- package/src/BarChart.test.tsx +96 -0
- package/src/BarChart.tsx +208 -0
- package/src/Box.test.tsx +97 -10
- package/src/Box.tsx +263 -200
- package/src/Button.test.tsx +273 -0
- package/src/Button.tsx +163 -50
- package/src/Common.ts +219 -25
- package/src/ConsentFormScreen.markdownGate.test.tsx +129 -0
- package/src/ConsentFormScreen.test.tsx +145 -8
- package/src/ConsentFormScreen.tsx +74 -25
- package/src/ConsentNavigator.test.tsx +55 -0
- package/src/ConsentNavigator.tsx +13 -5
- package/src/DashboardGrid.test.tsx +75 -0
- package/src/DashboardGrid.tsx +69 -0
- package/src/DataTable.test.tsx +296 -1
- package/src/DataTable.tsx +623 -160
- package/src/DataTableHeaderInfoMarkdown.test.tsx +21 -0
- package/src/DataTableHeaderInfoMarkdown.tsx +17 -0
- package/src/DataTableVirtualizationRegression.test.tsx +266 -0
- package/src/DateTimeField.test.tsx +54 -0
- package/src/DonutChart.test.tsx +121 -0
- package/src/DonutChart.tsx +160 -0
- package/src/EmojiSelector.test.tsx +84 -42
- package/src/EmojiSelector.tsx +60 -57
- package/src/Field.test.tsx +18 -0
- package/src/FilePickerButton.test.tsx +167 -0
- package/src/Filter.test.tsx +25 -0
- package/src/Filter.tsx +38 -7
- package/src/FilterAccordion.test.tsx +37 -0
- package/src/FilterBoolean.test.tsx +96 -0
- package/src/FilterSelectMenu.test.tsx +23 -0
- package/src/GPTChat.test.tsx +803 -0
- package/src/GPTChat.tsx +177 -87
- package/src/GPTMemoryModal.test.tsx +67 -0
- package/src/Heading.tsx +8 -14
- package/src/HeightActionSheet.test.tsx +6 -9
- package/src/Hyperlink.tsx +5 -18
- package/src/Icon.tsx +6 -2
- package/src/LineChart.test.tsx +166 -0
- package/src/LineChart.tsx +190 -0
- package/src/MarkdownEditor.test.tsx +134 -0
- package/src/MarkdownEditorField.test.tsx +124 -0
- package/src/MarkdownEmbed.test.tsx +34 -0
- package/src/MarkdownEmbed.tsx +43 -0
- package/src/MarkdownView.test.tsx +112 -11
- package/src/MarkdownView.tsx +197 -150
- package/src/MediaQuery.ts +30 -34
- package/src/Modal.test.tsx +107 -14
- package/src/Modal.tsx +20 -8
- package/src/ModalSheet.test.tsx +121 -9
- package/src/ModalSheet.tsx +46 -11
- package/src/MultiselectField.test.tsx +21 -0
- package/src/MultiselectField.tsx +11 -13
- package/src/NotificationBell.test.tsx +91 -0
- package/src/NotificationBell.tsx +77 -0
- package/src/NotificationInbox.test.tsx +130 -0
- package/src/NotificationInbox.tsx +144 -0
- package/src/NotificationPreferences.test.tsx +25 -0
- package/src/NotificationPreferences.tsx +75 -0
- package/src/OpenAPIContext.tsx +36 -29
- package/src/OpenAPIRenderRegression.test.tsx +200 -0
- package/src/P0RenderRegression.test.tsx +214 -0
- package/src/P1RenderRegression.test.tsx +141 -0
- package/src/P2ButtonRenderRegression.test.tsx +158 -0
- package/src/Page.test.tsx +13 -0
- package/src/Page.tsx +25 -5
- package/src/PickerSelect.test.tsx +38 -0
- package/src/PickerSelect.tsx +7 -0
- package/src/Popover.test.tsx +151 -0
- package/src/Popover.tsx +211 -0
- package/src/PortalHost.tsx +12 -6
- package/src/ResponsiveBreakpoint.test.tsx +184 -0
- package/src/ResponsiveBreakpoint.tsx +195 -0
- package/src/RootImportRegression.test.tsx +82 -0
- package/src/SplitPage.native.tsx +5 -9
- package/src/SplitPage.tsx +16 -19
- package/src/TapToEdit.test.tsx +45 -0
- package/src/TapToEdit.tsx +23 -18
- package/src/TerrenoFontProvider.test.tsx +38 -0
- package/src/TerrenoFontProvider.tsx +50 -0
- package/src/TerrenoProvider.tsx +6 -1
- package/src/Text.tsx +8 -21
- package/src/TextField.test.tsx +421 -0
- package/src/TextField.tsx +121 -4
- package/src/TextFieldNumberActionSheet.test.tsx +100 -0
- package/src/TextFieldNumberActionSheet.tsx +11 -2
- package/src/Theme.test.tsx +27 -0
- package/src/Theme.tsx +15 -10
- package/src/Toast.tsx +1 -1
- package/src/ToastNotifications.tsx +4 -4
- package/src/Tooltip.test.tsx +64 -0
- package/src/Tooltip.tsx +18 -4
- package/src/Unifier.ts +26 -3
- package/src/WebAddressAutocomplete.tsx +6 -2
- package/src/__snapshots__/ActionSheet.test.tsx.snap +0 -36
- package/src/__snapshots__/AddressField.test.tsx.snap +1 -0
- package/src/__snapshots__/AttachmentPreview.test.tsx.snap +225 -0
- package/src/__snapshots__/CustomSelectField.test.tsx.snap +7 -0
- package/src/__snapshots__/DataTable.test.tsx.snap +793 -250
- package/src/__snapshots__/DecimalRangeActionSheet.test.tsx.snap +0 -8
- package/src/__snapshots__/EmojiSelector.test.tsx.snap +35555 -30
- package/src/__snapshots__/Field.test.tsx.snap +29 -0
- package/src/__snapshots__/FilterSelectMenu.test.tsx.snap +1 -0
- package/src/__snapshots__/HeightActionSheet.test.tsx.snap +0 -8
- package/src/__snapshots__/HeightField.test.tsx.snap +0 -20
- package/src/__snapshots__/ModalSheet.test.tsx.snap +4 -1
- package/src/__snapshots__/NumberPickerActionSheet.test.tsx.snap +0 -8
- package/src/__snapshots__/Page.test.tsx.snap +13 -1
- package/src/__snapshots__/PickerSelect.test.tsx.snap +7 -0
- package/src/__snapshots__/SelectField.test.tsx.snap +6 -0
- package/src/__snapshots__/TextArea.test.tsx.snap +5 -5
- package/src/__snapshots__/TextField.test.tsx.snap +5 -5
- package/src/__snapshots__/TimezonePicker.test.tsx.snap +6 -0
- package/src/announcementBuildVersion.test.ts +43 -0
- package/src/announcementBuildVersion.ts +21 -0
- package/src/announcementFrequency.test.ts +245 -0
- package/src/announcementFrequency.ts +246 -0
- package/src/announcementPlatform.test.ts +27 -0
- package/src/announcementPlatform.ts +13 -0
- package/src/benchmarks/importGraph.test.ts +71 -0
- package/src/benchmarks/importGraph.ts +136 -0
- package/src/benchmarks/importTiming.test.ts +42 -0
- package/src/benchmarks/importTiming.ts +86 -0
- package/src/bunSetup.ts +174 -32
- package/src/charts/ChartFrame.tsx +67 -0
- package/src/charts/bars.test.ts +56 -0
- package/src/charts/bars.ts +53 -0
- package/src/charts/layout.test.ts +80 -0
- package/src/charts/layout.ts +99 -0
- package/src/charts/paths.test.ts +79 -0
- package/src/charts/paths.ts +100 -0
- package/src/charts/scales.test.ts +59 -0
- package/src/charts/scales.ts +60 -0
- package/src/charts/theme.test.ts +22 -0
- package/src/charts/theme.ts +24 -0
- package/src/charts/types/chartTypes.ts +19 -0
- package/src/dashboardGridLayout.test.ts +90 -0
- package/src/dashboardGridLayout.ts +60 -0
- package/src/dataTableFilters.test.tsx +552 -0
- package/src/dataTableFilters.tsx +441 -0
- package/src/dataTableListQuery.test.ts +220 -0
- package/src/dataTableListQuery.ts +201 -0
- package/src/emojiCategories.test.ts +23 -0
- package/src/emojiCategories.ts +46 -0
- package/src/index.tsx +48 -14
- package/src/lazyBoundaries/createLazyComponentExport.test.tsx +104 -0
- package/src/lazyBoundaries/createLazyComponentExport.tsx +63 -0
- package/src/lazyBoundaries/heavyOptionalExports.test.tsx +33 -0
- package/src/lazyBoundaries/heavyOptionalExports.tsx +134 -0
- package/src/login/LoginScreen.test.tsx +9 -2
- package/src/login/LoginScreen.tsx +6 -2
- package/src/login/__snapshots__/LoginScreen.test.tsx.snap +22 -0
- package/src/login/loginTypes.ts +2 -0
- package/src/markdownEmbeds.test.ts +53 -0
- package/src/markdownEmbeds.ts +62 -0
- package/src/pdfHtmlTemplate.test.ts +119 -0
- package/src/signUp/__snapshots__/SignUpScreen.test.tsx.snap +22 -0
- package/src/table/TableDate.test.tsx +35 -1
- package/src/table/__snapshots__/TableBadge.test.tsx.snap +1 -0
- package/src/testing/resolveTestId.test.ts +3 -0
- package/src/testing/resolveTestId.ts +1 -0
- package/src/testing/types.ts +3 -0
- package/src/textFieldOscillationGuard.test.ts +63 -0
- package/src/textFieldOscillationGuard.ts +89 -0
- package/src/types/react-native-markdown-display.d.ts +6 -0
- package/src/types/react-native-swiper-flatlist.d.ts +5 -5
- package/src/useAcknowledgeAnnouncement.test.ts +223 -0
- package/src/useAcknowledgeAnnouncement.ts +166 -0
- package/src/useAnnouncements.test.ts +226 -0
- package/src/useAnnouncements.ts +150 -0
|
@@ -212,12 +212,8 @@ exports[`ActionSheet renders correctly 1`] = `
|
|
|
212
212
|
"keyboardShouldPersistTaps": undefined,
|
|
213
213
|
"onMomentumScrollBegin": [Function: AsyncFunction],
|
|
214
214
|
"onMomentumScrollEnd": [Function: AsyncFunction],
|
|
215
|
-
"onScroll": [Function],
|
|
216
215
|
"onScrollBeginDrag": [Function: AsyncFunction],
|
|
217
216
|
"onTouchEnd": [Function],
|
|
218
|
-
"ref": {
|
|
219
|
-
"current": null,
|
|
220
|
-
},
|
|
221
217
|
"scrollEnabled": false,
|
|
222
218
|
"scrollEventThrottle": 5,
|
|
223
219
|
"scrollsToTop": false,
|
|
@@ -501,12 +497,8 @@ exports[`ActionSheet renders with custom overlay color 1`] = `
|
|
|
501
497
|
"keyboardShouldPersistTaps": undefined,
|
|
502
498
|
"onMomentumScrollBegin": [Function: AsyncFunction],
|
|
503
499
|
"onMomentumScrollEnd": [Function: AsyncFunction],
|
|
504
|
-
"onScroll": [Function],
|
|
505
500
|
"onScrollBeginDrag": [Function: AsyncFunction],
|
|
506
501
|
"onTouchEnd": [Function],
|
|
507
|
-
"ref": {
|
|
508
|
-
"current": null,
|
|
509
|
-
},
|
|
510
502
|
"scrollEnabled": false,
|
|
511
503
|
"scrollEventThrottle": 5,
|
|
512
504
|
"scrollsToTop": false,
|
|
@@ -811,12 +803,8 @@ exports[`ActionSheet renders with gesture enabled 1`] = `
|
|
|
811
803
|
"keyboardShouldPersistTaps": undefined,
|
|
812
804
|
"onMomentumScrollBegin": [Function: AsyncFunction],
|
|
813
805
|
"onMomentumScrollEnd": [Function: AsyncFunction],
|
|
814
|
-
"onScroll": [Function],
|
|
815
806
|
"onScrollBeginDrag": [Function: AsyncFunction],
|
|
816
807
|
"onTouchEnd": [Function],
|
|
817
|
-
"ref": {
|
|
818
|
-
"current": null,
|
|
819
|
-
},
|
|
820
808
|
"scrollEnabled": false,
|
|
821
809
|
"scrollEventThrottle": 5,
|
|
822
810
|
"scrollsToTop": false,
|
|
@@ -1100,12 +1088,8 @@ exports[`ActionSheet renders with elevation prop 1`] = `
|
|
|
1100
1088
|
"keyboardShouldPersistTaps": undefined,
|
|
1101
1089
|
"onMomentumScrollBegin": [Function: AsyncFunction],
|
|
1102
1090
|
"onMomentumScrollEnd": [Function: AsyncFunction],
|
|
1103
|
-
"onScroll": [Function],
|
|
1104
1091
|
"onScrollBeginDrag": [Function: AsyncFunction],
|
|
1105
1092
|
"onTouchEnd": [Function],
|
|
1106
|
-
"ref": {
|
|
1107
|
-
"current": null,
|
|
1108
|
-
},
|
|
1109
1093
|
"scrollEnabled": false,
|
|
1110
1094
|
"scrollEventThrottle": 5,
|
|
1111
1095
|
"scrollsToTop": false,
|
|
@@ -1389,12 +1373,8 @@ exports[`ActionSheet renders with indicator color 1`] = `
|
|
|
1389
1373
|
"keyboardShouldPersistTaps": undefined,
|
|
1390
1374
|
"onMomentumScrollBegin": [Function: AsyncFunction],
|
|
1391
1375
|
"onMomentumScrollEnd": [Function: AsyncFunction],
|
|
1392
|
-
"onScroll": [Function],
|
|
1393
1376
|
"onScrollBeginDrag": [Function: AsyncFunction],
|
|
1394
1377
|
"onTouchEnd": [Function],
|
|
1395
|
-
"ref": {
|
|
1396
|
-
"current": null,
|
|
1397
|
-
},
|
|
1398
1378
|
"scrollEnabled": false,
|
|
1399
1379
|
"scrollEventThrottle": 5,
|
|
1400
1380
|
"scrollsToTop": false,
|
|
@@ -1678,12 +1658,8 @@ exports[`ActionSheet renders with initialOffsetFromBottom 1`] = `
|
|
|
1678
1658
|
"keyboardShouldPersistTaps": undefined,
|
|
1679
1659
|
"onMomentumScrollBegin": [Function: AsyncFunction],
|
|
1680
1660
|
"onMomentumScrollEnd": [Function: AsyncFunction],
|
|
1681
|
-
"onScroll": [Function],
|
|
1682
1661
|
"onScrollBeginDrag": [Function: AsyncFunction],
|
|
1683
1662
|
"onTouchEnd": [Function],
|
|
1684
|
-
"ref": {
|
|
1685
|
-
"current": null,
|
|
1686
|
-
},
|
|
1687
1663
|
"scrollEnabled": false,
|
|
1688
1664
|
"scrollEventThrottle": 5,
|
|
1689
1665
|
"scrollsToTop": false,
|
|
@@ -1967,12 +1943,8 @@ exports[`ActionSheet renders with bottomOffset 1`] = `
|
|
|
1967
1943
|
"keyboardShouldPersistTaps": undefined,
|
|
1968
1944
|
"onMomentumScrollBegin": [Function: AsyncFunction],
|
|
1969
1945
|
"onMomentumScrollEnd": [Function: AsyncFunction],
|
|
1970
|
-
"onScroll": [Function],
|
|
1971
1946
|
"onScrollBeginDrag": [Function: AsyncFunction],
|
|
1972
1947
|
"onTouchEnd": [Function],
|
|
1973
|
-
"ref": {
|
|
1974
|
-
"current": null,
|
|
1975
|
-
},
|
|
1976
1948
|
"scrollEnabled": false,
|
|
1977
1949
|
"scrollEventThrottle": 5,
|
|
1978
1950
|
"scrollsToTop": false,
|
|
@@ -2256,12 +2228,8 @@ exports[`ActionSheet renders with closable=false and persistent 1`] = `
|
|
|
2256
2228
|
"keyboardShouldPersistTaps": undefined,
|
|
2257
2229
|
"onMomentumScrollBegin": [Function: AsyncFunction],
|
|
2258
2230
|
"onMomentumScrollEnd": [Function: AsyncFunction],
|
|
2259
|
-
"onScroll": [Function],
|
|
2260
2231
|
"onScrollBeginDrag": [Function: AsyncFunction],
|
|
2261
2232
|
"onTouchEnd": [Function],
|
|
2262
|
-
"ref": {
|
|
2263
|
-
"current": null,
|
|
2264
|
-
},
|
|
2265
2233
|
"scrollEnabled": false,
|
|
2266
2234
|
"scrollEventThrottle": 5,
|
|
2267
2235
|
"scrollsToTop": false,
|
|
@@ -2547,12 +2515,8 @@ exports[`ActionSheet renders with custom containerStyle 1`] = `
|
|
|
2547
2515
|
"keyboardShouldPersistTaps": undefined,
|
|
2548
2516
|
"onMomentumScrollBegin": [Function: AsyncFunction],
|
|
2549
2517
|
"onMomentumScrollEnd": [Function: AsyncFunction],
|
|
2550
|
-
"onScroll": [Function],
|
|
2551
2518
|
"onScrollBeginDrag": [Function: AsyncFunction],
|
|
2552
2519
|
"onTouchEnd": [Function],
|
|
2553
|
-
"ref": {
|
|
2554
|
-
"current": null,
|
|
2555
|
-
},
|
|
2556
2520
|
"scrollEnabled": false,
|
|
2557
2521
|
"scrollEventThrottle": 5,
|
|
2558
2522
|
"scrollsToTop": false,
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
// Bun Snapshot v1, https://bun.sh/docs/test/snapshots
|
|
2
|
+
|
|
3
|
+
exports[`AttachmentPreview renders an image preview for image mime types 1`] = `
|
|
4
|
+
{
|
|
5
|
+
"$$typeof": Symbol(react.test.json),
|
|
6
|
+
"children": [
|
|
7
|
+
{
|
|
8
|
+
"$$typeof": Symbol(react.test.json),
|
|
9
|
+
"children": [
|
|
10
|
+
{
|
|
11
|
+
"$$typeof": Symbol(react.test.json),
|
|
12
|
+
"children": null,
|
|
13
|
+
"props": {
|
|
14
|
+
"source": {
|
|
15
|
+
"uri": "file:///tmp/photo.png",
|
|
16
|
+
},
|
|
17
|
+
"style": {
|
|
18
|
+
"borderRadius": 4,
|
|
19
|
+
"height": 40,
|
|
20
|
+
"width": 40,
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
"type": "Image",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"$$typeof": Symbol(react.test.json),
|
|
27
|
+
"children": [
|
|
28
|
+
{
|
|
29
|
+
"$$typeof": Symbol(react.test.json),
|
|
30
|
+
"children": [
|
|
31
|
+
"photo.png",
|
|
32
|
+
],
|
|
33
|
+
"props": {
|
|
34
|
+
"numberOfLines": 1,
|
|
35
|
+
"selectable": undefined,
|
|
36
|
+
"style": {
|
|
37
|
+
"color": "#1C1C1C",
|
|
38
|
+
"fontFamily": "text-regular",
|
|
39
|
+
"fontSize": 10,
|
|
40
|
+
"textAlign": "left",
|
|
41
|
+
},
|
|
42
|
+
"testID": undefined,
|
|
43
|
+
},
|
|
44
|
+
"type": "Text",
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
"props": {},
|
|
48
|
+
"type": "View",
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"$$typeof": Symbol(react.test.json),
|
|
52
|
+
"children": [
|
|
53
|
+
{
|
|
54
|
+
"$$typeof": Symbol(react.test.json),
|
|
55
|
+
"children": null,
|
|
56
|
+
"props": {
|
|
57
|
+
"onPointerEnter": [Function: AsyncFunction],
|
|
58
|
+
"onPointerLeave": [Function: AsyncFunction],
|
|
59
|
+
"style": {},
|
|
60
|
+
"testID": undefined,
|
|
61
|
+
},
|
|
62
|
+
"type": "View",
|
|
63
|
+
},
|
|
64
|
+
],
|
|
65
|
+
"props": {
|
|
66
|
+
"accessibilityHint": "Removes this attachment",
|
|
67
|
+
"aria-label": "Remove photo.png",
|
|
68
|
+
"aria-role": "button",
|
|
69
|
+
"onPress": [Function],
|
|
70
|
+
"style": {
|
|
71
|
+
"alignItems": "center",
|
|
72
|
+
"height": 24.5,
|
|
73
|
+
"justifyContent": "center",
|
|
74
|
+
"width": 24.5,
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
"type": "Pressable",
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
"props": {
|
|
81
|
+
"onPointerEnter": [Function: AsyncFunction],
|
|
82
|
+
"onPointerLeave": [Function: AsyncFunction],
|
|
83
|
+
"style": {
|
|
84
|
+
"alignItems": "center",
|
|
85
|
+
"borderColor": "#CDCDCD",
|
|
86
|
+
"borderRadius": 4,
|
|
87
|
+
"borderWidth": 1,
|
|
88
|
+
"display": "flex",
|
|
89
|
+
"flexDirection": "row",
|
|
90
|
+
"gap": 4,
|
|
91
|
+
"padding": 4,
|
|
92
|
+
},
|
|
93
|
+
"testID": undefined,
|
|
94
|
+
},
|
|
95
|
+
"type": "View",
|
|
96
|
+
},
|
|
97
|
+
],
|
|
98
|
+
"props": {
|
|
99
|
+
"onPointerEnter": [Function: AsyncFunction],
|
|
100
|
+
"onPointerLeave": [Function: AsyncFunction],
|
|
101
|
+
"style": {
|
|
102
|
+
"alignItems": "flex-start",
|
|
103
|
+
"display": "flex",
|
|
104
|
+
"flexDirection": "row",
|
|
105
|
+
"flexWrap": "wrap",
|
|
106
|
+
"gap": 8,
|
|
107
|
+
"padding": 8,
|
|
108
|
+
},
|
|
109
|
+
"testID": "attachment-preview",
|
|
110
|
+
},
|
|
111
|
+
"type": "View",
|
|
112
|
+
}
|
|
113
|
+
`;
|
|
114
|
+
|
|
115
|
+
exports[`AttachmentPreview renders a file icon for non-image mime types 1`] = `
|
|
116
|
+
{
|
|
117
|
+
"$$typeof": Symbol(react.test.json),
|
|
118
|
+
"children": [
|
|
119
|
+
{
|
|
120
|
+
"$$typeof": Symbol(react.test.json),
|
|
121
|
+
"children": [
|
|
122
|
+
{
|
|
123
|
+
"$$typeof": Symbol(react.test.json),
|
|
124
|
+
"children": null,
|
|
125
|
+
"props": {
|
|
126
|
+
"onPointerEnter": [Function: AsyncFunction],
|
|
127
|
+
"onPointerLeave": [Function: AsyncFunction],
|
|
128
|
+
"style": {
|
|
129
|
+
"alignItems": "center",
|
|
130
|
+
"justifyContent": "center",
|
|
131
|
+
"padding": 4,
|
|
132
|
+
},
|
|
133
|
+
"testID": undefined,
|
|
134
|
+
},
|
|
135
|
+
"type": "View",
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"$$typeof": Symbol(react.test.json),
|
|
139
|
+
"children": [
|
|
140
|
+
{
|
|
141
|
+
"$$typeof": Symbol(react.test.json),
|
|
142
|
+
"children": [
|
|
143
|
+
"report.pdf",
|
|
144
|
+
],
|
|
145
|
+
"props": {
|
|
146
|
+
"numberOfLines": 1,
|
|
147
|
+
"selectable": undefined,
|
|
148
|
+
"style": {
|
|
149
|
+
"color": "#1C1C1C",
|
|
150
|
+
"fontFamily": "text-regular",
|
|
151
|
+
"fontSize": 10,
|
|
152
|
+
"textAlign": "left",
|
|
153
|
+
},
|
|
154
|
+
"testID": undefined,
|
|
155
|
+
},
|
|
156
|
+
"type": "Text",
|
|
157
|
+
},
|
|
158
|
+
],
|
|
159
|
+
"props": {},
|
|
160
|
+
"type": "View",
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"$$typeof": Symbol(react.test.json),
|
|
164
|
+
"children": [
|
|
165
|
+
{
|
|
166
|
+
"$$typeof": Symbol(react.test.json),
|
|
167
|
+
"children": null,
|
|
168
|
+
"props": {
|
|
169
|
+
"onPointerEnter": [Function: AsyncFunction],
|
|
170
|
+
"onPointerLeave": [Function: AsyncFunction],
|
|
171
|
+
"style": {},
|
|
172
|
+
"testID": undefined,
|
|
173
|
+
},
|
|
174
|
+
"type": "View",
|
|
175
|
+
},
|
|
176
|
+
],
|
|
177
|
+
"props": {
|
|
178
|
+
"accessibilityHint": "Removes this attachment",
|
|
179
|
+
"aria-label": "Remove report.pdf",
|
|
180
|
+
"aria-role": "button",
|
|
181
|
+
"onPress": [Function],
|
|
182
|
+
"style": {
|
|
183
|
+
"alignItems": "center",
|
|
184
|
+
"height": 24.5,
|
|
185
|
+
"justifyContent": "center",
|
|
186
|
+
"width": 24.5,
|
|
187
|
+
},
|
|
188
|
+
},
|
|
189
|
+
"type": "Pressable",
|
|
190
|
+
},
|
|
191
|
+
],
|
|
192
|
+
"props": {
|
|
193
|
+
"onPointerEnter": [Function: AsyncFunction],
|
|
194
|
+
"onPointerLeave": [Function: AsyncFunction],
|
|
195
|
+
"style": {
|
|
196
|
+
"alignItems": "center",
|
|
197
|
+
"borderColor": "#CDCDCD",
|
|
198
|
+
"borderRadius": 4,
|
|
199
|
+
"borderWidth": 1,
|
|
200
|
+
"display": "flex",
|
|
201
|
+
"flexDirection": "row",
|
|
202
|
+
"gap": 4,
|
|
203
|
+
"padding": 4,
|
|
204
|
+
},
|
|
205
|
+
"testID": undefined,
|
|
206
|
+
},
|
|
207
|
+
"type": "View",
|
|
208
|
+
},
|
|
209
|
+
],
|
|
210
|
+
"props": {
|
|
211
|
+
"onPointerEnter": [Function: AsyncFunction],
|
|
212
|
+
"onPointerLeave": [Function: AsyncFunction],
|
|
213
|
+
"style": {
|
|
214
|
+
"alignItems": "flex-start",
|
|
215
|
+
"display": "flex",
|
|
216
|
+
"flexDirection": "row",
|
|
217
|
+
"flexWrap": "wrap",
|
|
218
|
+
"gap": 8,
|
|
219
|
+
"padding": 8,
|
|
220
|
+
},
|
|
221
|
+
"testID": "attachment-preview",
|
|
222
|
+
},
|
|
223
|
+
"type": "View",
|
|
224
|
+
}
|
|
225
|
+
`;
|
|
@@ -31,6 +31,7 @@ exports[`CustomSelectField renders correctly with default props 1`] = `
|
|
|
31
31
|
"flex": 1,
|
|
32
32
|
"fontFamily": "text",
|
|
33
33
|
"fontSize": 16,
|
|
34
|
+
"minWidth": 0,
|
|
34
35
|
"paddingRight": 8,
|
|
35
36
|
},
|
|
36
37
|
"testID": "text_input",
|
|
@@ -465,6 +466,7 @@ exports[`CustomSelectField renders with title 1`] = `
|
|
|
465
466
|
"flex": 1,
|
|
466
467
|
"fontFamily": "text",
|
|
467
468
|
"fontSize": 16,
|
|
469
|
+
"minWidth": 0,
|
|
468
470
|
"paddingRight": 8,
|
|
469
471
|
},
|
|
470
472
|
"testID": "text_input",
|
|
@@ -884,6 +886,7 @@ exports[`CustomSelectField renders with placeholder 1`] = `
|
|
|
884
886
|
"flex": 1,
|
|
885
887
|
"fontFamily": "text",
|
|
886
888
|
"fontSize": 16,
|
|
889
|
+
"minWidth": 0,
|
|
887
890
|
"paddingRight": 8,
|
|
888
891
|
},
|
|
889
892
|
"testID": "text_input",
|
|
@@ -1303,6 +1306,7 @@ exports[`CustomSelectField renders with selected value 1`] = `
|
|
|
1303
1306
|
"flex": 1,
|
|
1304
1307
|
"fontFamily": "text",
|
|
1305
1308
|
"fontSize": 16,
|
|
1309
|
+
"minWidth": 0,
|
|
1306
1310
|
"paddingRight": 8,
|
|
1307
1311
|
},
|
|
1308
1312
|
"testID": "text_input",
|
|
@@ -1722,6 +1726,7 @@ exports[`CustomSelectField renders with custom value (not in options) 1`] = `
|
|
|
1722
1726
|
"flex": 1,
|
|
1723
1727
|
"fontFamily": "text",
|
|
1724
1728
|
"fontSize": 16,
|
|
1729
|
+
"minWidth": 0,
|
|
1725
1730
|
"paddingRight": 8,
|
|
1726
1731
|
},
|
|
1727
1732
|
"testID": "text_input",
|
|
@@ -2245,6 +2250,7 @@ exports[`CustomSelectField renders disabled state 1`] = `
|
|
|
2245
2250
|
"flex": 1,
|
|
2246
2251
|
"fontFamily": "text",
|
|
2247
2252
|
"fontSize": 16,
|
|
2253
|
+
"minWidth": 0,
|
|
2248
2254
|
"paddingRight": 8,
|
|
2249
2255
|
},
|
|
2250
2256
|
"testID": "text_input",
|
|
@@ -2666,6 +2672,7 @@ exports[`CustomSelectField includes custom option in dropdown 1`] = `
|
|
|
2666
2672
|
"flex": 1,
|
|
2667
2673
|
"fontFamily": "text",
|
|
2668
2674
|
"fontSize": 16,
|
|
2675
|
+
"minWidth": 0,
|
|
2669
2676
|
"paddingRight": 8,
|
|
2670
2677
|
},
|
|
2671
2678
|
"testID": "text_input",
|