@terreno/ui 0.26.0 → 0.28.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.
Files changed (83) hide show
  1. package/dist/ActionSheet.js.map +1 -1
  2. package/dist/Box.js +2 -0
  3. package/dist/Box.js.map +1 -1
  4. package/dist/Common.d.ts +8 -7
  5. package/dist/Common.js.map +1 -1
  6. package/dist/ConsentNavigator.js.map +1 -1
  7. package/dist/CustomSelectField.js +2 -2
  8. package/dist/CustomSelectField.js.map +1 -1
  9. package/dist/DateTimeField.js +1 -0
  10. package/dist/DateTimeField.js.map +1 -1
  11. package/dist/EmailField.js +1 -1
  12. package/dist/EmailField.js.map +1 -1
  13. package/dist/Modal.js +7 -2
  14. package/dist/Modal.js.map +1 -1
  15. package/dist/Page.js +1 -0
  16. package/dist/Page.js.map +1 -1
  17. package/dist/PickerSelect.d.ts +4 -5
  18. package/dist/PickerSelect.js +4 -3
  19. package/dist/PickerSelect.js.map +1 -1
  20. package/dist/SelectBadge.js +1 -1
  21. package/dist/SelectBadge.js.map +1 -1
  22. package/dist/SelectField.js +3 -3
  23. package/dist/SelectField.js.map +1 -1
  24. package/dist/SplitPage.js +3 -0
  25. package/dist/SplitPage.js.map +1 -1
  26. package/dist/SplitPage.native.js +2 -0
  27. package/dist/SplitPage.native.js.map +1 -1
  28. package/dist/TapToEdit.js +1 -0
  29. package/dist/TapToEdit.js.map +1 -1
  30. package/dist/ToastNotifications.js.map +1 -1
  31. package/dist/Unifier.js.map +1 -1
  32. package/dist/WebDropdownMenu.d.ts +7 -8
  33. package/dist/WebDropdownMenu.js +4 -3
  34. package/dist/WebDropdownMenu.js.map +1 -1
  35. package/dist/useSubmitConsent.d.ts +1 -1
  36. package/dist/useSubmitConsent.js +1 -1
  37. package/dist/useSubmitConsent.js.map +1 -1
  38. package/package.json +2 -2
  39. package/src/ActionSheet.test.tsx +1 -0
  40. package/src/ActionSheet.tsx +2 -0
  41. package/src/Box.test.tsx +56 -0
  42. package/src/Box.tsx +4 -0
  43. package/src/Button.test.tsx +34 -0
  44. package/src/Common.ts +31 -7
  45. package/src/ConsentNavigator.test.tsx +1 -0
  46. package/src/ConsentNavigator.tsx +1 -0
  47. package/src/CustomSelectField.test.tsx +3 -8
  48. package/src/CustomSelectField.tsx +2 -2
  49. package/src/DataTable.test.tsx +1 -0
  50. package/src/DateTimeField.test.tsx +1 -0
  51. package/src/DateTimeField.tsx +1 -0
  52. package/src/EmailField.tsx +1 -1
  53. package/src/Modal.test.tsx +261 -66
  54. package/src/Modal.tsx +7 -2
  55. package/src/ModalSheet.test.tsx +7 -6
  56. package/src/Page.tsx +1 -0
  57. package/src/PickerSelect.test.tsx +23 -18
  58. package/src/PickerSelect.tsx +6 -6
  59. package/src/SelectBadge.test.tsx +1 -2
  60. package/src/SelectBadge.tsx +1 -1
  61. package/src/SelectField.tsx +2 -2
  62. package/src/SplitPage.native.tsx +2 -0
  63. package/src/SplitPage.test.tsx +6 -4
  64. package/src/SplitPage.tsx +3 -0
  65. package/src/TapToEdit.test.tsx +1 -0
  66. package/src/TapToEdit.tsx +2 -0
  67. package/src/Text.test.tsx +29 -0
  68. package/src/TextField.test.tsx +57 -1
  69. package/src/ToastNotifications.test.tsx +1 -0
  70. package/src/ToastNotifications.tsx +1 -0
  71. package/src/Tooltip.test.tsx +1 -1
  72. package/src/Unifier.ts +1 -0
  73. package/src/UpgradeRequiredScreen.test.tsx +40 -0
  74. package/src/UserInactivity.test.tsx +44 -1
  75. package/src/WebDropdownMenu.test.tsx +14 -19
  76. package/src/WebDropdownMenu.tsx +8 -8
  77. package/src/__snapshots__/DataTable.test.tsx.snap +0 -148
  78. package/src/__snapshots__/InfoModalIcon.test.tsx.snap +255 -1088
  79. package/src/__snapshots__/Modal.test.tsx.snap +950 -1108
  80. package/src/bunSetup.ts +24 -0
  81. package/src/types/react-native-swiper-flatlist.d.ts +1 -0
  82. package/src/useSubmitConsent.test.ts +2 -1
  83. package/src/useSubmitConsent.ts +2 -2
@@ -8726,154 +8726,6 @@ exports[`DataTable renders with more content component 1`] = `
8726
8726
  },
8727
8727
  "type": "ScrollView",
8728
8728
  },
8729
- {
8730
- "$$typeof": Symbol(react.test.json),
8731
- "children": [
8732
- {
8733
- "$$typeof": Symbol(react.test.json),
8734
- "children": [
8735
- {
8736
- "$$typeof": Symbol(react.test.json),
8737
- "children": [
8738
- {
8739
- "$$typeof": Symbol(react.test.json),
8740
- "children": [
8741
- {
8742
- "$$typeof": Symbol(react.test.json),
8743
- "children": [
8744
- {
8745
- "$$typeof": Symbol(react.test.json),
8746
- "children": null,
8747
- "props": {
8748
- "accessibilityHint": "Closes the modal",
8749
- "aria-label": "Close modal",
8750
- "aria-role": "button",
8751
- "onPress": [Function],
8752
- "style": {
8753
- "alignItems": "center",
8754
- "bottom": -8,
8755
- "flex": 1,
8756
- "justifyContent": "center",
8757
- "left": -8,
8758
- "position": "absolute",
8759
- "right": -8,
8760
- "top": -8,
8761
- },
8762
- },
8763
- "type": "Pressable",
8764
- },
8765
- ],
8766
- "props": {
8767
- "style": {
8768
- "alignSelf": "flex-end",
8769
- "position": "relative",
8770
- },
8771
- "testID": undefined,
8772
- },
8773
- "type": "View",
8774
- },
8775
- {
8776
- "$$typeof": Symbol(react.test.json),
8777
- "children": [
8778
- {
8779
- "$$typeof": Symbol(react.test.json),
8780
- "children": [
8781
- {
8782
- "$$typeof": Symbol(react.test.json),
8783
- "children": [
8784
- "Row ",
8785
- " details",
8786
- ],
8787
- "props": {
8788
- "numberOfLines": 0,
8789
- "selectable": undefined,
8790
- "style": {
8791
- "color": "#1C1C1C",
8792
- "fontFamily": "text-regular",
8793
- "fontSize": 14,
8794
- "textAlign": "left",
8795
- },
8796
- "testID": undefined,
8797
- },
8798
- "type": "Text",
8799
- },
8800
- ],
8801
- "props": {},
8802
- "type": "View",
8803
- },
8804
- ],
8805
- "props": {
8806
- "style": {
8807
- "flex": 1,
8808
- "marginTop": 12,
8809
- "width": "100%",
8810
- },
8811
- "testID": undefined,
8812
- },
8813
- "type": "View",
8814
- },
8815
- {
8816
- "$$typeof": Symbol(react.test.json),
8817
- "children": null,
8818
- "props": {
8819
- "style": {
8820
- "alignSelf": "flex-end",
8821
- "flexDirection": "row",
8822
- "marginTop": 32,
8823
- },
8824
- "testID": undefined,
8825
- },
8826
- "type": "View",
8827
- },
8828
- ],
8829
- "props": {
8830
- "style": {
8831
- "alignItems": "center",
8832
- "alignSelf": "center",
8833
- "backgroundColor": "#FFFFFF",
8834
- "borderRadius": 4,
8835
- "boxShadow": "0px 4px 24px rgba(0, 0, 0, 0.5)",
8836
- "elevation": 24,
8837
- "margin": "auto",
8838
- "maxHeight": "100%",
8839
- "padding": 32,
8840
- "width": "90%",
8841
- "zIndex": 1,
8842
- },
8843
- "testID": undefined,
8844
- },
8845
- "type": "View",
8846
- },
8847
- ],
8848
- "props": {
8849
- "onPress": [Function],
8850
- "style": {
8851
- "cursor": "auto",
8852
- },
8853
- },
8854
- "type": "Pressable",
8855
- },
8856
- ],
8857
- "props": {
8858
- "onPress": [Function],
8859
- "style": {
8860
- "alignItems": "center",
8861
- "backgroundColor": "rgba(0, 0, 0, 0.5)",
8862
- "flex": 1,
8863
- "justifyContent": "center",
8864
- },
8865
- },
8866
- "type": "Pressable",
8867
- },
8868
- ],
8869
- "props": {
8870
- "animationType": "none",
8871
- "onRequestClose": [Function],
8872
- "transparent": true,
8873
- "visible": false,
8874
- },
8875
- "type": "Modal",
8876
- },
8877
8729
  ],
8878
8730
  "props": {
8879
8731
  "style": {