@terreno/ui 0.24.0 → 0.25.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 (64) hide show
  1. package/dist/AIRequestExplorer.js +6 -1
  2. package/dist/AIRequestExplorer.js.map +1 -1
  3. package/dist/ActionSheet.d.ts +1 -0
  4. package/dist/ActionSheet.js +3 -0
  5. package/dist/ActionSheet.js.map +1 -1
  6. package/dist/Common.d.ts +16 -0
  7. package/dist/Common.js.map +1 -1
  8. package/dist/CustomSelectField.js +2 -2
  9. package/dist/CustomSelectField.js.map +1 -1
  10. package/dist/FilePickerButton.js +2 -1
  11. package/dist/FilePickerButton.js.map +1 -1
  12. package/dist/PickerSelect.d.ts +10 -2
  13. package/dist/PickerSelect.js +91 -17
  14. package/dist/PickerSelect.js.map +1 -1
  15. package/dist/SelectBadge.js +1 -1
  16. package/dist/SelectBadge.js.map +1 -1
  17. package/dist/SelectField.js +9 -9
  18. package/dist/SelectField.js.map +1 -1
  19. package/dist/WebDropdownMenu.d.ts +36 -5
  20. package/dist/WebDropdownMenu.js +211 -29
  21. package/dist/WebDropdownMenu.js.map +1 -1
  22. package/dist/createWebPortal.d.ts +7 -0
  23. package/dist/createWebPortal.js +3 -0
  24. package/dist/createWebPortal.js.map +1 -0
  25. package/dist/createWebPortal.native.d.ts +7 -0
  26. package/dist/createWebPortal.native.js +2 -0
  27. package/dist/createWebPortal.native.js.map +1 -0
  28. package/dist/fieldElements/FieldHelperText.js +1 -1
  29. package/dist/fieldElements/FieldHelperText.js.map +1 -1
  30. package/package.json +2 -2
  31. package/src/AIRequestExplorer.tsx +6 -1
  32. package/src/ActionSheet.test.tsx +103 -3
  33. package/src/ActionSheet.tsx +4 -0
  34. package/src/Common.ts +19 -0
  35. package/src/CustomSelectField.test.tsx +13 -3
  36. package/src/CustomSelectField.tsx +2 -0
  37. package/src/EmojiSelector.test.tsx +153 -0
  38. package/src/FilePickerButton.tsx +2 -1
  39. package/src/Modal.test.tsx +47 -0
  40. package/src/PickerSelect.test.tsx +253 -14
  41. package/src/PickerSelect.tsx +206 -49
  42. package/src/SelectBadge.tsx +1 -0
  43. package/src/SelectBadge.web.test.tsx +10 -0
  44. package/src/SelectField.tsx +19 -15
  45. package/src/WebDropdownMenu.test.tsx +449 -0
  46. package/src/WebDropdownMenu.tsx +405 -60
  47. package/src/__snapshots__/AddressField.test.tsx.snap +2088 -665
  48. package/src/__snapshots__/CustomSelectField.test.tsx.snap +2118 -1369
  49. package/src/__snapshots__/Field.test.tsx.snap +3787 -1806
  50. package/src/__snapshots__/HeightField.test.tsx.snap +3 -0
  51. package/src/__snapshots__/PickerSelect.test.tsx.snap +7 -7
  52. package/src/__snapshots__/SelectField.test.tsx.snap +1548 -1102
  53. package/src/__snapshots__/Slider.test.tsx.snap +3 -0
  54. package/src/__snapshots__/TextArea.test.tsx.snap +3 -0
  55. package/src/__snapshots__/TextField.test.tsx.snap +3 -0
  56. package/src/__snapshots__/TimezonePicker.test.tsx.snap +2499 -1353
  57. package/src/createWebPortal.native.ts +8 -0
  58. package/src/createWebPortal.test.tsx +13 -0
  59. package/src/createWebPortal.ts +10 -0
  60. package/src/fieldElements/FieldHelperText.tsx +4 -2
  61. package/src/fieldElements/__snapshots__/FieldHelperText.test.tsx.snap +3 -0
  62. package/src/table/TableBadge.test.tsx +19 -11
  63. package/src/table/__snapshots__/TableBadge.test.tsx.snap +226 -175
  64. package/src/types/react-dom.d.ts +5 -0
@@ -1659,6 +1659,7 @@ exports[`HeightField snapshots should match snapshot with all props 1`] = `
1659
1659
  "props": {
1660
1660
  "style": {
1661
1661
  "color": "#1C1C1C",
1662
+ "flexShrink": 1,
1662
1663
  "fontSize": 12,
1663
1664
  "lineHeight": 16,
1664
1665
  },
@@ -1668,7 +1669,9 @@ exports[`HeightField snapshots should match snapshot with all props 1`] = `
1668
1669
  ],
1669
1670
  "props": {
1670
1671
  "style": {
1672
+ "alignSelf": "stretch",
1671
1673
  "marginTop": 2,
1674
+ "maxWidth": "100%",
1672
1675
  },
1673
1676
  "testID": undefined,
1674
1677
  },
@@ -252,7 +252,7 @@ exports[`PickerSelect renders correctly with default props 1`] = `
252
252
  "borderRadius": 4,
253
253
  "borderWidth": 1,
254
254
  "flexDirection": "row",
255
- "justifyContent": "center",
255
+ "justifyContent": "flex-start",
256
256
  "minHeight": 40,
257
257
  "width": "100%",
258
258
  },
@@ -520,7 +520,7 @@ exports[`PickerSelect renders with selected value 1`] = `
520
520
  "borderRadius": 4,
521
521
  "borderWidth": 1,
522
522
  "flexDirection": "row",
523
- "justifyContent": "center",
523
+ "justifyContent": "flex-start",
524
524
  "minHeight": 40,
525
525
  "width": "100%",
526
526
  },
@@ -788,7 +788,7 @@ exports[`PickerSelect renders disabled state 1`] = `
788
788
  "borderRadius": 4,
789
789
  "borderWidth": 1,
790
790
  "flexDirection": "row",
791
- "justifyContent": "center",
791
+ "justifyContent": "flex-start",
792
792
  "minHeight": 40,
793
793
  "width": "100%",
794
794
  },
@@ -1048,7 +1048,7 @@ exports[`PickerSelect renders without placeholder when placeholder is empty obje
1048
1048
  "borderRadius": 4,
1049
1049
  "borderWidth": 1,
1050
1050
  "flexDirection": "row",
1051
- "justifyContent": "center",
1051
+ "justifyContent": "flex-start",
1052
1052
  "minHeight": 40,
1053
1053
  "width": "100%",
1054
1054
  },
@@ -1306,7 +1306,7 @@ exports[`PickerSelect matches items by itemKey 1`] = `
1306
1306
  "borderRadius": 4,
1307
1307
  "borderWidth": 1,
1308
1308
  "flexDirection": "row",
1309
- "justifyContent": "center",
1309
+ "justifyContent": "flex-start",
1310
1310
  "minHeight": 40,
1311
1311
  "width": "100%",
1312
1312
  },
@@ -1494,7 +1494,7 @@ exports[`PickerSelect renders custom InputAccessoryView 1`] = `
1494
1494
  "borderRadius": 4,
1495
1495
  "borderWidth": 1,
1496
1496
  "flexDirection": "row",
1497
- "justifyContent": "center",
1497
+ "justifyContent": "flex-start",
1498
1498
  "minHeight": 40,
1499
1499
  "width": "100%",
1500
1500
  },
@@ -1763,7 +1763,7 @@ exports[`PickerSelect passes textInputProps to TextInput 1`] = `
1763
1763
  "borderRadius": 4,
1764
1764
  "borderWidth": 1,
1765
1765
  "flexDirection": "row",
1766
- "justifyContent": "center",
1766
+ "justifyContent": "flex-start",
1767
1767
  "minHeight": 40,
1768
1768
  "width": "100%",
1769
1769
  },