@onehat/ui 0.3.90 → 0.3.92

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onehat/ui",
3
- "version": "0.3.90",
3
+ "version": "0.3.92",
4
4
  "description": "Base UI for OneHat apps",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -0,0 +1,14 @@
1
+ // Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.
2
+ import * as React from "react"
3
+ import Svg, { Path } from "react-native-svg"
4
+ import { Icon } from 'native-base';
5
+
6
+ function SvgComponent(props) {
7
+ return (
8
+ <Icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" {...props}>
9
+ <Path d="M256 448c141.4 0 256-93.1 256-208S397.4 32 256 32 0 125.1 0 240c0 45.1 17.7 86.8 47.7 120.9-1.9 24.5-11.4 46.3-21.4 62.9-5.5 9.2-11.1 16.6-15.2 21.6-2.1 2.5-3.7 4.4-4.9 5.7-.6.6-1 1.1-1.3 1.4l-.3.3c-4.6 4.6-5.9 11.4-3.4 17.4 2.5 6 8.3 9.9 14.8 9.9 28.7 0 57.6-8.9 81.6-19.3 22.9-10 42.4-21.9 54.3-30.6 31.8 11.5 67 17.9 104.1 17.9zM128 208a32 32 0 110 64 32 32 0 110-64zm128 0a32 32 0 110 64 32 32 0 110-64zm96 32a32 32 0 1164 0 32 32 0 11-64 0z" />
10
+ </Icon>
11
+ )
12
+ }
13
+
14
+ export default SvgComponent
@@ -4,6 +4,7 @@ import {
4
4
  Column,
5
5
  Icon,
6
6
  Row,
7
+ ScrollView,
7
8
  Text,
8
9
  } from 'native-base';
9
10
  import {
@@ -433,7 +434,12 @@ function TabBar(props) {
433
434
  bg={styles.TAB_BAR_BG}
434
435
  h={isCollapsed ? '30px' : tabHeight}
435
436
  >
436
- {renderedTabs}
437
+ <ScrollView
438
+ horizontal={true}
439
+ h={isCollapsed ? '30px' : tabHeight}
440
+ >
441
+ {renderedTabs}
442
+ </ScrollView>
437
443
  <Row flex={1} h="100%" justifyContent="flex-end">
438
444
  <Row h="100%">
439
445
  {renderedToggleButton}
@@ -52,6 +52,7 @@ import ClockRotateLeft from '../Components/Icons/ClockRotateLeft.js';
52
52
  import Clone from '../Components/Icons/Clone.js';
53
53
  import Collapse from '../Components/Icons/Collapse.js';
54
54
  import Comment from '../Components/Icons/Comment.js';
55
+ import CommentDots from '../Components/Icons/CommentDots.js';
55
56
  import CommentRegular from '../Components/Icons/CommentRegular.js';
56
57
  import Comments from '../Components/Icons/Comments.js';
57
58
  import CommentsRegular from '../Components/Icons/CommentsRegular.js';
@@ -276,6 +277,7 @@ const components = {
276
277
  Clone,
277
278
  Collapse,
278
279
  Comment,
280
+ CommentDots,
279
281
  CommentRegular,
280
282
  Comments,
281
283
  CommentsRegular,