react-native-terra-ui 0.4.0 → 0.4.1

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 (30) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/lib/module/components/screen/Screen.js +4 -1
  3. package/lib/module/components/screen/Screen.js.map +1 -1
  4. package/lib/module/components/screen/ScreenFlashList.js +48 -35
  5. package/lib/module/components/screen/ScreenFlashList.js.map +1 -1
  6. package/lib/module/components/screen/ScreenFlatList.js +40 -31
  7. package/lib/module/components/screen/ScreenFlatList.js.map +1 -1
  8. package/lib/module/components/screen/ScreenList.js +160 -0
  9. package/lib/module/components/screen/ScreenList.js.map +1 -0
  10. package/lib/module/components/screen/ScreenScrollView.js +26 -14
  11. package/lib/module/components/screen/ScreenScrollView.js.map +1 -1
  12. package/lib/module/components/screen/index.js +1 -0
  13. package/lib/module/components/screen/index.js.map +1 -1
  14. package/lib/module/theme/tokens/primitives.js +3 -3
  15. package/lib/typescript/src/components/screen/Screen.d.ts +2 -0
  16. package/lib/typescript/src/components/screen/Screen.d.ts.map +1 -1
  17. package/lib/typescript/src/components/screen/ScreenFlashList.d.ts.map +1 -1
  18. package/lib/typescript/src/components/screen/ScreenFlatList.d.ts.map +1 -1
  19. package/lib/typescript/src/components/screen/ScreenList.d.ts +64 -0
  20. package/lib/typescript/src/components/screen/ScreenList.d.ts.map +1 -0
  21. package/lib/typescript/src/components/screen/index.d.ts +2 -0
  22. package/lib/typescript/src/components/screen/index.d.ts.map +1 -1
  23. package/package.json +1 -1
  24. package/src/components/screen/Screen.tsx +5 -1
  25. package/src/components/screen/ScreenFlashList.tsx +51 -38
  26. package/src/components/screen/ScreenFlatList.tsx +41 -30
  27. package/src/components/screen/ScreenList.tsx +269 -0
  28. package/src/components/screen/ScreenScrollView.tsx +19 -10
  29. package/src/components/screen/index.ts +2 -0
  30. package/src/theme/tokens/primitives.ts +3 -3
@@ -6,6 +6,8 @@ export type { ScreenFlashListProps } from './ScreenFlashList';
6
6
  export { ScreenFlashList } from './ScreenFlashList';
7
7
  export type { ScreenFlatListProps } from './ScreenFlatList';
8
8
  export { ScreenFlatList } from './ScreenFlatList';
9
+ export type { ScreenListProps } from './ScreenList';
10
+ export { ScreenList } from './ScreenList';
9
11
  export type { ScreenScrollViewProps } from './ScreenScrollView';
10
12
  export { ScreenScrollView } from './ScreenScrollView';
11
13
  export type { ScreenMargins, ScreenScrollableProps } from './types';
@@ -460,11 +460,11 @@ export const primitives = {
460
460
  'layout.screen.margin.y.xs': 16,
461
461
  'layout.screen.margin.y.sm': 16,
462
462
  'layout.screen.margin.y.md': 24,
463
- 'layout.screen.margin.y.lg': 32,
464
- 'layout.screen.margin.y.xl': 48,
463
+ 'layout.screen.margin.y.lg': 24,
464
+ 'layout.screen.margin.y.xl': 24,
465
465
 
466
466
  // ── header layout ─────────────────────────────────────────────────────────
467
467
  // Header bar height (compact nav bar / collapsed large-title bar). 56dp aligns
468
468
  // to the 4dp spacing grid (= spacing.14) and a standard app-bar height.
469
- 'layout.header.height': 56,
469
+ 'layout.header.height': 54,
470
470
  };