react-native-resource-calendar 1.0.1 → 1.0.3
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/dist/index.d.mts +2 -3
- package/dist/index.d.ts +2 -3
- package/dist/index.js +25 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +25 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -363,14 +363,24 @@ var TimeLabels = React18.forwardRef(({
|
|
|
363
363
|
Text,
|
|
364
364
|
{
|
|
365
365
|
allowFontScaling: false,
|
|
366
|
-
style: {
|
|
366
|
+
style: {
|
|
367
|
+
textAlign: "center",
|
|
368
|
+
fontFamily: titleFace,
|
|
369
|
+
fontSize: getTextSize(hourHeight),
|
|
370
|
+
fontWeight: "700"
|
|
371
|
+
}
|
|
367
372
|
},
|
|
368
373
|
indexToDate(index).split(" ")[0]
|
|
369
374
|
), /* @__PURE__ */ React18.createElement(
|
|
370
375
|
Text,
|
|
371
376
|
{
|
|
372
377
|
allowFontScaling: false,
|
|
373
|
-
style: {
|
|
378
|
+
style: {
|
|
379
|
+
textAlign: "center",
|
|
380
|
+
fontFamily: titleFace,
|
|
381
|
+
fontSize: getTextSize(hourHeight),
|
|
382
|
+
fontWeight: "700"
|
|
383
|
+
}
|
|
374
384
|
},
|
|
375
385
|
indexToDate(index).split(" ")[1]
|
|
376
386
|
))), isToday && /* @__PURE__ */ React18.createElement(View, { style: [styles.currentTime, {
|
|
@@ -383,6 +393,7 @@ var TimeLabels = React18.forwardRef(({
|
|
|
383
393
|
style: {
|
|
384
394
|
textAlign: "center",
|
|
385
395
|
fontFamily: titleFace,
|
|
396
|
+
fontWeight: "700",
|
|
386
397
|
fontSize: getTextSize(hourHeight),
|
|
387
398
|
color: "red"
|
|
388
399
|
}
|
|
@@ -456,7 +467,8 @@ var Badge = ({
|
|
|
456
467
|
style: {
|
|
457
468
|
color: textColor,
|
|
458
469
|
fontSize,
|
|
459
|
-
fontFamily: titleFace
|
|
470
|
+
fontFamily: titleFace,
|
|
471
|
+
fontWeight: "600"
|
|
460
472
|
}
|
|
461
473
|
},
|
|
462
474
|
value
|
|
@@ -578,7 +590,8 @@ var ResourceComponent = ({ id, onResourcePress, APPOINTMENT_BLOCK_WIDTH }) => {
|
|
|
578
590
|
{
|
|
579
591
|
style: {
|
|
580
592
|
fontSize: 14,
|
|
581
|
-
fontFamily: titleFace
|
|
593
|
+
fontFamily: titleFace,
|
|
594
|
+
fontWeight: "700"
|
|
582
595
|
},
|
|
583
596
|
numberOfLines: 1,
|
|
584
597
|
allowFontScaling: false
|
|
@@ -846,7 +859,8 @@ var DisabledBlockComponent = ({
|
|
|
846
859
|
allowFontScaling: false,
|
|
847
860
|
style: {
|
|
848
861
|
fontFamily: titleFace,
|
|
849
|
-
fontSize: getTextSize(hourHeight)
|
|
862
|
+
fontSize: getTextSize(hourHeight),
|
|
863
|
+
fontWeight: "600"
|
|
850
864
|
}
|
|
851
865
|
},
|
|
852
866
|
minutesToTime(disabledBlock?.from),
|
|
@@ -858,7 +872,8 @@ var DisabledBlockComponent = ({
|
|
|
858
872
|
allowFontScaling: false,
|
|
859
873
|
style: {
|
|
860
874
|
fontFamily: titleFace,
|
|
861
|
-
fontSize: getTextSize(hourHeight)
|
|
875
|
+
fontSize: getTextSize(hourHeight),
|
|
876
|
+
fontWeight: "600"
|
|
862
877
|
}
|
|
863
878
|
},
|
|
864
879
|
disabledBlock?.title
|
|
@@ -1101,7 +1116,8 @@ var DraggableEvent = ({
|
|
|
1101
1116
|
allowFontScaling: false,
|
|
1102
1117
|
style: [{
|
|
1103
1118
|
fontFamily: titleFace,
|
|
1104
|
-
fontSize: getTextSize(hourHeight)
|
|
1119
|
+
fontSize: getTextSize(hourHeight),
|
|
1120
|
+
fontWeight: "700"
|
|
1105
1121
|
}, resolved?.title]
|
|
1106
1122
|
},
|
|
1107
1123
|
selectedEvent?.title
|
|
@@ -1111,7 +1127,8 @@ var DraggableEvent = ({
|
|
|
1111
1127
|
allowFontScaling: false,
|
|
1112
1128
|
style: [{
|
|
1113
1129
|
fontFamily: timeFace,
|
|
1114
|
-
fontSize: getTextSize(hourHeight)
|
|
1130
|
+
fontSize: getTextSize(hourHeight),
|
|
1131
|
+
fontWeight: "600"
|
|
1115
1132
|
}, resolved?.desc]
|
|
1116
1133
|
},
|
|
1117
1134
|
selectedEvent?.description
|