esoftplay-event 0.0.1-w → 0.0.1-x

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/config.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "fonts": {
3
- "mono": "mono.ttf",
4
3
  "Arial": "Arial.ttf",
5
4
  "ArialBold": "ArialBold.ttf",
6
5
  "SFProText": "SFProText.ttf",
6
+ "mono": "mono.ttf",
7
7
  "MonoSpace": "MonoSpace.ttf",
8
8
  "DecoNumbers": "DecoNumbers.ttf",
9
9
  "digital": "digital.ttf"
@@ -15,6 +15,7 @@ import esp from 'esoftplay/esp';
15
15
  import useSafeState from 'esoftplay/state';
16
16
  import { useEffect } from 'react';
17
17
 
18
+ import { EventHtmltext } from 'esoftplay/cache/event/htmltext/import';
18
19
  import { LibProgress } from 'esoftplay/cache/lib/progress/import';
19
20
  import React from 'react';
20
21
  import { Pressable, ScrollView, Text, TouchableOpacity, View } from 'react-native';
@@ -97,7 +98,7 @@ export default function m(props: EventOrder_lotteryProps): any {
97
98
  <Pressable onPress={() => { }} style={{ flex: 1, flexDirection: 'row', alignContent: 'center', alignItems: 'center', justifyContent: 'center', paddingLeft: 50, marginLeft: 35, borderRadius: 5, padding: 10, backgroundColor: '#fff' }}>
98
99
  <View style={{ flex: 1, marginRight: 5, }}>
99
100
  <Text allowFontScaling={false} numberOfLines={1} ellipsizeMode='tail' style={{ fontWeight: 'bold', fontSize: 16 }} >{item.title}</Text>
100
- <Text allowFontScaling={false} numberOfLines={2} ellipsizeMode='tail' style={{ fontSize: 12, color: 'grey' }}>{item.description}</Text>
101
+ <EventHtmltext allowFontScaling={false} style={{ fontSize: 12, color: 'grey' }}>{item.description}</EventHtmltext>
101
102
 
102
103
  <View style={applyStyle({ marginTop: 10, alignSelf: 'flex-end', flexDirection: 'row', alignContent: 'center', alignItems: 'center' })}>
103
104
  <TouchableOpacity onPressIn={() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esoftplay-event",
3
- "version": "0.0.1-w",
3
+ "version": "0.0.1-x",
4
4
  "description": "event module on esoftplay framework",
5
5
  "main": "index.js",
6
6
  "scripts": {